Skip to content

draw.io is a JavaScript, client-side editor for general diagramming.

24.8.9 release

David Bensoneb1418a9203d
diff --git a/ChangeLog b/ChangeLog
index 903501f78..e05fa7ef8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,18 @@
+22-NOV-2024: 24.8.9
+
+- Forces service worker to reload Confluence and Jira html to fetch the new CSP header [DID-13083]
+
+21-NOV-2024: 24.8.8
+
+- Fixes possible NPE
+
+21-NOV-2024: 24.8.7
+
+- Fixes font size and line height change for selection text [jgraph/drawio-desktop#1880]
+- Removes implicit CSS values and empty style attributes from DOM
+- Adds OpenStack stencils
+- Adds Power Platform stencils to Azure and Dynamics365 stencils
+
13-NOV-2024: 24.8.6
- Corrects sidebar build
diff --git a/README.md b/README.md
index 322718f12..98e904153 100644
--- a/README.md
+++ b/README.md
@@ -7,7 +7,7 @@ As well as running this project, we run a production-grade deployment of the dia
License
-----------------
-The source code authored by us in this repo is licensed under a modified Apache v2 license. This project is not an open source project as a result.
+The minified code authored by us in this repo is licensed under an Apache v2 license, but the sources to build those files are not in this repo. This is not an open source project.
The JGraph provided icons and diagram templates are licensed under the [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). Additional terms may also apply where the icons are originally defined by a third-party copyright holder. We have checked in all cases that the original license allows use in this project. Also see the terms for using the draw.io logo below.
@@ -20,7 +20,7 @@ Scope of the Project
draw.io is a diagramming or whiteboarding application, depending on which theme is selected. It is not an SVG editing app, the SVG export is designed only for embedding in web pages, not for further editing in other tools.
-The application is designed to be used largely as-is. draw.io is not suitable as a framework for building other products from. For this try either [Tldraw](https://github.com/tldraw/tldraw) or [Excalidraw](https://github.com/excalidraw/excalidraw).
+The application is designed to be entirely as-is. draw.io is not suitable as a framework for building other products from, as source code is not provided. For this try either [Tldraw](https://github.com/tldraw/tldraw) or [Excalidraw](https://github.com/excalidraw/excalidraw).
Note, in particular, we don't have support for collaborative editing in this project. If this is important, one of the projects above is likely a better choice.
@@ -40,13 +40,6 @@ Supported Browsers
draw.io supports Chrome 98+, Firefox 94+, Safari 15.4+, Opera 84+, WebView Android 98+, Safari iOS 15.4+ and Edge 98+.
-This project is not open-contribution
-------------------------------------------------------
-
-draw.io is also closed to contributions, as it's not open source. We follow a development process compliant with our SOC 2 Type II process. We do not have a mechanism where we can accept contributions from non-staff members.
-
-draw.io is not suitable as a framework for building other products from. For this try either [Tldraw](https://github.com/tldraw/tldraw) or [Excalidraw](https://github.com/excalidraw/excalidraw).
-
Logo and trademark usage
------------------------
diff --git a/VERSION b/VERSION
index c2ee43707..a2ce9d67c 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-24.8.6
\ No newline at end of file
+24.8.9
\ No newline at end of file
diff --git a/etc/dependencies/package.json b/etc/dependencies/package.json
index 82a38b299..12713140a 100644
--- a/etc/dependencies/package.json
+++ b/etc/dependencies/package.json
@@ -15,7 +15,7 @@
"mermaid": "11.2.0",
"pako": "2.1.0",
"crypto-js": "3.1.2",
- "dompurify": "3.1.5",
+ "dompurify": "3.2.1",
"spin.js": "2.0.0",
"roughjs": "4.6.6",
"mathjax": "3.2.2",
diff --git a/src/main/webapp/images/sidebar-azure.png b/src/main/webapp/images/sidebar-azure.png
index a4cfb6f5d..3776d7ab3 100644
Binary files a/src/main/webapp/images/sidebar-azure.png and b/src/main/webapp/images/sidebar-azure.png differ
diff --git a/src/main/webapp/images/sidebar-dynamics365.png b/src/main/webapp/images/sidebar-dynamics365.png
new file mode 100644
index 000000000..6158a1627
Binary files /dev/null and b/src/main/webapp/images/sidebar-dynamics365.png differ
diff --git a/src/main/webapp/images/sidebar-openstack.png b/src/main/webapp/images/sidebar-openstack.png
new file mode 100644
index 000000000..92b637de7
Binary files /dev/null and b/src/main/webapp/images/sidebar-openstack.png differ
diff --git a/src/main/webapp/img/lib/azure2/power_platform/AIBuilder.svg b/src/main/webapp/img/lib/azure2/power_platform/AIBuilder.svg
new file mode 100644
index 000000000..4db411aca
--- /dev/null
+++ b/src/main/webapp/img/lib/azure2/power_platform/AIBuilder.svg
@@ -0,0 +1,278 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ width="92"
+ height="90.779991"
+ viewBox="0 0 92 90.779991"
+ fill="none"
+ version="1.1"
+ id="svg97"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:svg="http://www.w3.org/2000/svg">
+ <defs
+ id="defs59">
+ <filter
+ id="filter0_f_84_430"
+ x="-0.020869566"
+ y="-0.018417682"
+ width="1.0417391"
+ height="1.0368354">
+ <feFlood
+ flood-opacity="0"
+ result="BackgroundImageFix"
+ id="feFlood2" />
+ <feBlend
+ mode="normal"
+ in="SourceGraphic"
+ in2="BackgroundImageFix"
+ result="shape"
+ id="feBlend4" />
+ <feGaussianBlur
+ stdDeviation="0.4"
+ result="effect1_foregroundBlur_84_430"
+ id="feGaussianBlur6" />
+ </filter>
+ <filter
+ id="filter1_f_84_430"
+ x="-0.20869565"
+ y="-0.18417717"
+ width="1.4173913"
+ height="1.3683543">
+ <feFlood
+ flood-opacity="0"
+ result="BackgroundImageFix"
+ id="feFlood9" />
+ <feBlend
+ mode="normal"
+ in="SourceGraphic"
+ in2="BackgroundImageFix"
+ result="shape"
+ id="feBlend11" />
+ <feGaussianBlur
+ stdDeviation="4"
+ result="effect1_foregroundBlur_84_430"
+ id="feGaussianBlur13" />
+ </filter>
+ <filter
+ id="filter2_f_84_430"
+ x="-0.029958931"
+ y="-0.015826822"
+ width="1.0599179"
+ height="1.0316536">
+ <feFlood
+ flood-opacity="0"
+ result="BackgroundImageFix"
+ id="feFlood16" />
+ <feBlend
+ mode="normal"
+ in="SourceGraphic"
+ in2="BackgroundImageFix"
+ result="shape"
+ id="feBlend18" />
+ <feGaussianBlur
+ stdDeviation="0.374458"
+ result="effect1_foregroundBlur_84_430"
+ id="feGaussianBlur20" />
+ </filter>
+ <filter
+ id="filter3_f_84_430"
+ x="-0.29958932"
+ y="-0.15826822"
+ width="1.5991786"
+ height="1.3165364">
+ <feFlood
+ flood-opacity="0"
+ result="BackgroundImageFix"
+ id="feFlood23" />
+ <feBlend
+ mode="normal"
+ in="SourceGraphic"
+ in2="BackgroundImageFix"
+ result="shape"
+ id="feBlend25" />
+ <feGaussianBlur
+ stdDeviation="3.74458"
+ result="effect1_foregroundBlur_84_430"
+ id="feGaussianBlur27" />
+ </filter>
+ <linearGradient
+ id="paint0_linear_84_430"
+ x1="40.333302"
+ y1="96.3955"
+ x2="30.750099"
+ y2="-10.4583"
+ gradientUnits="userSpaceOnUse">
+ <stop
+ stop-color="#045399"
+ id="stop30" />
+ <stop
+ offset="0.588105"
+ stop-color="#0A76C4"
+ id="stop32" />
+ <stop
+ offset="1"
+ stop-color="#249DE8"
+ id="stop34" />
+ </linearGradient>
+ <linearGradient
+ id="paint1_linear_84_430"
+ x1="41.906799"
+ y1="107.132"
+ x2="34.73"
+ y2="16.843399"
+ gradientUnits="userSpaceOnUse">
+ <stop
+ stop-color="#064277"
+ id="stop37" />
+ <stop
+ offset="0.505022"
+ stop-color="#045399"
+ id="stop39" />
+ <stop
+ offset="1"
+ stop-color="#0A76C4"
+ id="stop41" />
+ </linearGradient>
+ <linearGradient
+ id="paint2_linear_84_430"
+ x1="55.508499"
+ y1="-4.6737299"
+ x2="86.016998"
+ y2="77"
+ gradientUnits="userSpaceOnUse">
+ <stop
+ stop-color="#249DE8"
+ id="stop44" />
+ <stop
+ offset="1"
+ stop-color="#0A76C4"
+ id="stop46" />
+ </linearGradient>
+ <linearGradient
+ id="paint3_linear_84_430"
+ x1="62.854198"
+ y1="-2.31236"
+ x2="87.291702"
+ y2="81.062599"
+ gradientUnits="userSpaceOnUse">
+ <stop
+ stop-color="#79D3F9"
+ id="stop49" />
+ <stop
+ offset="1"
+ stop-color="#249DE8"
+ id="stop51" />
+ </linearGradient>
+ <linearGradient
+ id="paint4_linear_84_430"
+ x1="55.4893"
+ y1="28.000799"
+ x2="72.883003"
+ y2="107.528"
+ gradientUnits="userSpaceOnUse">
+ <stop
+ stop-color="#A3E6FF"
+ id="stop54" />
+ <stop
+ offset="1"
+ stop-color="#5ABDF2"
+ id="stop56" />
+ </linearGradient>
+ </defs>
+ <mask
+ id="mask0_84_430"
+ maskUnits="userSpaceOnUse"
+ x="2"
+ y="2"
+ width="92"
+ height="92">
+ <path
+ d="m 9.98304,21.7971 c 0,-1.4338 0.76746,-2.758 2.01156,-3.4707 L 38.5031,3.13921 c 1.2317,-0.70567 2.7451,-0.70567 3.9769,1e-5 L 48,6.30174 53.52,3.13922 c 1.2318,-0.70568 2.7452,-0.70568 3.9769,-1e-5 L 84.0054,18.3264 c 1.2441,0.7127 2.0116,2.0369 2.0116,3.4707 v 10.8484 l 5.9714,3.4211 C 93.2326,36.7794 94,38.1035 94,39.5374 v 21.7175 c 0,1.4339 -0.7675,2.758 -2.0116,3.4708 l -14.0183,8.0313 -0.0098,6.0567 c -0.0023,1.4315 -0.7694,2.7527 -2.0115,3.4643 L 57.4771,92.8607 c -1.2314,0.7055 -2.7446,0.7057 -3.9762,4e-4 L 48,89.7109 42.4991,92.8611 c -1.2316,0.7053 -2.7448,0.7051 -3.9763,-4e-4 L 20.0514,82.2781 C 18.8092,81.5664 18.042,80.2451 18.0398,78.8135 L 18.0305,72.7574 4.01155,64.7257 C 2.76744,64.0129 2,62.6888 2,61.255 V 39.5374 c 0,-1.4339 0.76744,-2.758 2.01155,-3.4708 l 5.97149,-3.4211 z"
+ fill="#ffffff"
+ id="path61" />
+ </mask>
+ <g
+ mask="url(#mask0_84_430)"
+ id="g95"
+ transform="translate(-2,-2.6099587)">
+ <path
+ d="M 40.4915,2 9.98304,19.4788 V 32.6455 L 2,37.2191 v 26.3541 l 16.0305,9.1842 0.0129,8.3703 22.4675,12.872 7.4903,-4.2895 L 48,6.30174 Z"
+ fill="url(#paint0_linear_84_430)"
+ id="path64"
+ style="fill:url(#paint0_linear_84_430)" />
+ <path
+ d="M 48,37.2163 20.0286,53.0982 c -1.2536,0.7117 -2.0272,2.043 -2.0249,3.4846 L 18.0421,81.1277 40.5096,93.9997 48,89.7102 Z"
+ fill="url(#paint1_linear_84_430)"
+ id="path66"
+ style="fill:url(#paint1_linear_84_430)" />
+ <mask
+ id="mask1_84_430"
+ maskUnits="userSpaceOnUse"
+ x="48"
+ y="2"
+ width="46"
+ height="95">
+ <rect
+ x="48"
+ y="2"
+ width="46"
+ height="94.875"
+ fill="#ffffff"
+ id="rect68" />
+ </mask>
+ <g
+ mask="url(#mask1_84_430)"
+ id="g93">
+ <path
+ d="M 86.017,19.4788 55.5085,2 48,6.30173 V 72.6983 L 55.5085,77 86.017,59.5212 Z"
+ fill="url(#paint2_linear_84_430)"
+ id="path71"
+ style="fill:url(#paint2_linear_84_430)" />
+ <g
+ filter="url(#filter0_f_84_430)"
+ id="g75">
+ <path
+ d="m 69.0944,25.5336 c 1.1804,-0.6763 2.6308,-0.6763 3.8112,0 L 94,37.6189 V 63.9731 L 71,77.1502 48,63.9731 V 37.6189 Z"
+ fill="#000000"
+ fill-opacity="0.24"
+ id="path73" />
+ </g>
+ <g
+ filter="url(#filter1_f_84_430)"
+ id="g79">
+ <path
+ d="m 69.0944,27.1336 c 1.1804,-0.6763 2.6308,-0.6763 3.8112,0 L 94,39.2189 V 65.5731 L 71,78.7501 48,65.5731 V 39.2189 Z"
+ fill="#000000"
+ fill-opacity="0.32"
+ id="path77" />
+ </g>
+ <path
+ d="m 69.0116,25.181 c 1.2317,-0.7056 2.7451,-0.7056 3.9769,0 L 94,37.2189 V 63.5731 L 71,76.7501 48,63.5731 V 37.2189 Z"
+ fill="url(#paint3_linear_84_430)"
+ id="path81"
+ style="fill:url(#paint3_linear_84_430)" />
+ <g
+ filter="url(#filter2_f_84_430)"
+ id="g85">
+ <path
+ d="m 47.9988,37.5906 28.102,15.9553 c 1.1736,0.6664 1.8979,1.9128 1.8957,3.2624 l -0.0399,24.6936 -22.4674,12.872 -7.4904,-4.2894 z"
+ fill="#000000"
+ fill-opacity="0.24"
+ id="path83" />
+ </g>
+ <g
+ filter="url(#filter3_f_84_430)"
+ id="g89">
+ <path
+ d="m 47.9988,39.0884 28.102,15.9553 c 1.1736,0.6664 1.8979,1.9128 1.8957,3.2624 l -0.0399,24.6936 -22.4674,12.872 -7.4904,-4.2894 z"
+ fill="#000000"
+ fill-opacity="0.32"
+ id="path87" />
+ </g>
+ <path
+ d="m 47.9988,37.2161 27.9724,15.8818 c 1.2537,0.7118 2.0274,2.0432 2.0251,3.4849 l -0.0397,24.5446 -22.4674,12.872 -7.4904,-4.2895 z"
+ fill="url(#paint4_linear_84_430)"
+ id="path91"
+ style="fill:url(#paint4_linear_84_430)" />
+ </g>
+ </g>
+</svg>
diff --git a/src/main/webapp/img/lib/azure2/power_platform/CopilotStudio.svg b/src/main/webapp/img/lib/azure2/power_platform/CopilotStudio.svg
new file mode 100644
index 000000000..e6d5d9f25
--- /dev/null
+++ b/src/main/webapp/img/lib/azure2/power_platform/CopilotStudio.svg
@@ -0,0 +1,355 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ width="95.999802"
+ height="88.323822"
+ viewBox="0 0 95.999802 88.323822"
+ fill="none"
+ version="1.1"
+ id="svg122"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:svg="http://www.w3.org/2000/svg">
+ <defs
+ id="defs81">
+ <filter
+ id="filter0_f_84_430"
+ x="-24"
+ y="-24"
+ width="192"
+ height="192"
+ filterUnits="userSpaceOnUse"
+ color-interpolation-filters="sRGB">
+ <feFlood
+ flood-opacity="0"
+ result="BackgroundImageFix"
+ id="feFlood2" />
+ <feBlend
+ mode="normal"
+ in="SourceGraphic"
+ in2="BackgroundImageFix"
+ result="shape"
+ id="feBlend4" />
+ <feGaussianBlur
+ stdDeviation="0.4"
+ result="effect1_foregroundBlur_84_430"
+ id="feGaussianBlur6" />
+ </filter>
+ <filter
+ id="filter1_f_84_430"
+ x="-24"
+ y="-24"
+ width="192"
+ height="192"
+ filterUnits="userSpaceOnUse"
+ color-interpolation-filters="sRGB">
+ <feFlood
+ flood-opacity="0"
+ result="BackgroundImageFix"
+ id="feFlood9" />
+ <feBlend
+ mode="normal"
+ in="SourceGraphic"
+ in2="BackgroundImageFix"
+ result="shape"
+ id="feBlend11" />
+ <feGaussianBlur
+ stdDeviation="4"
+ result="effect1_foregroundBlur_84_430"
+ id="feGaussianBlur13" />
+ </filter>
+ <filter
+ id="filter2_f_84_430"
+ x="-24"
+ y="-24"
+ width="192"
+ height="192"
+ filterUnits="userSpaceOnUse"
+ color-interpolation-filters="sRGB">
+ <feFlood
+ flood-opacity="0"
+ result="BackgroundImageFix"
+ id="feFlood16" />
+ <feBlend
+ mode="normal"
+ in="SourceGraphic"
+ in2="BackgroundImageFix"
+ result="shape"
+ id="feBlend18" />
+ <feGaussianBlur
+ stdDeviation="0.4"
+ result="effect1_foregroundBlur_84_430"
+ id="feGaussianBlur20" />
+ </filter>
+ <filter
+ id="filter3_f_84_430"
+ x="-24"
+ y="-24"
+ width="192"
+ height="192"
+ filterUnits="userSpaceOnUse"
+ color-interpolation-filters="sRGB">
+ <feFlood
+ flood-opacity="0"
+ result="BackgroundImageFix"
+ id="feFlood23" />
+ <feBlend
+ mode="normal"
+ in="SourceGraphic"
+ in2="BackgroundImageFix"
+ result="shape"
+ id="feBlend25" />
+ <feGaussianBlur
+ stdDeviation="4"
+ result="effect1_foregroundBlur_84_430"
+ id="feGaussianBlur27" />
+ </filter>
+ <linearGradient
+ id="paint0_linear_84_430"
+ x1="26.0005"
+ y1="95.9105"
+ x2="133.153"
+ y2="42.2589"
+ gradientUnits="userSpaceOnUse">
+ <stop
+ stop-color="#003580"
+ id="stop30" />
+ <stop
+ offset="0.299454"
+ stop-color="#0057AD"
+ id="stop32" />
+ <stop
+ offset="1"
+ stop-color="#16BFDF"
+ id="stop34" />
+ </linearGradient>
+ <linearGradient
+ id="paint1_linear_84_430"
+ x1="2.44788e-07"
+ y1="69.599998"
+ x2="32"
+ y2="69.599998"
+ gradientUnits="userSpaceOnUse">
+ <stop
+ stop-color="#0E637A"
+ id="stop37" />
+ <stop
+ offset="1"
+ stop-color="#0074BD"
+ id="stop39" />
+ </linearGradient>
+ <linearGradient
+ id="paint2_linear_84_430"
+ x1="56.5714"
+ y1="71.978699"
+ x2="1.62542"
+ y2="44.3722"
+ gradientUnits="userSpaceOnUse">
+ <stop
+ stop-color="#0986B3"
+ id="stop42" />
+ <stop
+ offset="0.721629"
+ stop-color="#16BFDF"
+ id="stop44" />
+ <stop
+ offset="1"
+ stop-color="#3DD9EB"
+ id="stop46" />
+ </linearGradient>
+ <linearGradient
+ id="paint3_linear_84_430"
+ x1="9.17938e-07"
+ y1="55"
+ x2="7.2857099"
+ y2="55"
+ gradientUnits="userSpaceOnUse">
+ <stop
+ stop-color="#0BA0C5"
+ id="stop49" />
+ <stop
+ offset="0.499692"
+ stop-color="#0BA0C5"
+ stop-opacity="0.263415"
+ id="stop51" />
+ <stop
+ offset="1"
+ stop-color="#0BA0C5"
+ stop-opacity="0"
+ id="stop53" />
+ </linearGradient>
+ <linearGradient
+ id="paint4_linear_84_430"
+ x1="16"
+ y1="48.785702"
+ x2="48"
+ y2="48.785702"
+ gradientUnits="userSpaceOnUse">
+ <stop
+ stop-color="#117B97"
+ id="stop56" />
+ <stop
+ offset="1"
+ stop-color="#1392B4"
+ id="stop58" />
+ </linearGradient>
+ <linearGradient
+ id="paint5_linear_84_430"
+ x1="27"
+ y1="48.574501"
+ x2="69.964699"
+ y2="4.7876601"
+ gradientUnits="userSpaceOnUse">
+ <stop
+ stop-color="#3DCBFF"
+ id="stop61" />
+ <stop
+ offset="0.524843"
+ stop-color="#6EEDED"
+ id="stop63" />
+ <stop
+ offset="1"
+ stop-color="#9BF3AF"
+ id="stop65" />
+ </linearGradient>
+ <linearGradient
+ id="paint6_linear_84_430"
+ x1="24"
+ y1="24"
+ x2="31.7143"
+ y2="24"
+ gradientUnits="userSpaceOnUse">
+ <stop
+ stop-color="#3DCBFF"
+ id="stop68" />
+ <stop
+ offset="0.433173"
+ stop-color="#3DCBFF"
+ stop-opacity="0.339056"
+ id="stop70" />
+ <stop
+ offset="1"
+ stop-color="#3DCBFF"
+ stop-opacity="0"
+ id="stop72" />
+ </linearGradient>
+ <clipPath
+ id="clip0_84_430">
+ <rect
+ width="96"
+ height="96"
+ fill="#ffffff"
+ id="rect75"
+ x="0"
+ y="0" />
+ </clipPath>
+ <clipPath
+ id="clip1_84_430">
+ <rect
+ width="96"
+ height="96"
+ fill="#ffffff"
+ id="rect78"
+ x="0"
+ y="0" />
+ </clipPath>
+ </defs>
+ <g
+ clip-path="url(#clip0_84_430)"
+ id="g120"
+ transform="translate(0,-3.8798836)">
+ <g
+ clip-path="url(#clip1_84_430)"
+ id="g118">
+ <mask
+ id="mask0_84_430"
+ maskUnits="userSpaceOnUse"
+ x="0"
+ y="3"
+ width="96"
+ height="90">
+ <path
+ d="m 24,14.3808 c 0,-3.026 2.2532,-5.57838 5.2558,-5.9537 l 36,-4.5 c 3.3142,-0.41427 6.2703,1.94639 6.6926,5.16122 l 0.0509,-0.00424 c 0,2.85642 2.1271,5.26592 4.9614,5.62022 l 13.7829,1.7228 c 3.0026,0.3753 5.2558,2.9277 5.2558,5.9536 l 4e-4,28.4066 c 0,3.026 -2.2532,5.5784 -5.2558,5.9538 l -13.921,1.7401 c -2.7842,0.5553 -4.8223,3.0057 -4.8223,5.8834 v 17.4223 c 0,3.0259 -2.2532,5.5783 -5.2558,5.9537 l -36.0002,4.5 c -3.5811,0.4476 -6.7442,-2.3447 -6.7442,-5.9537 V 70.3036 L 24,70.3808 v 16.7033 c 0,-2.8565 -2.127,-5.2659 -4.9614,-5.6202 L 5.25579,79.741 C 2.25375,79.3658 7.98971e-4,76.8142 0,73.789 L 4.87281e-6,45.3808 C 5.18664e-6,42.3548 2.25322,39.8024 5.2558,39.4271 L 24,37.0841 Z"
+ fill="#ffffff"
+ id="path83" />
+ </mask>
+ <g
+ mask="url(#mask0_84_430)"
+ id="g116">
+ <path
+ fill-rule="evenodd"
+ clip-rule="evenodd"
+ d="m 95.9998,50.7032 c 0,3.026 -2.2532,5.5785 -5.2558,5.9538 l -13.921,1.7401 c -2.7842,0.5553 -4.8223,3.0058 -4.8223,5.8835 v 17.4222 c 0,3.026 -2.2532,5.5784 -5.2558,5.9537 l -36.0002,4.5 c -3.5811,0.4476 -6.7442,-2.3447 -6.7442,-5.9537 V 56.9995 l 23.9992,-3.4287 -3e-4,-37.0499 c 0,-3.1206 2.3919,-5.7202 5.5017,-5.9794 L 71.9993,9 c 0,2.8564 2.1271,5.2659 4.9614,5.6202 l 13.7829,1.7228 c 3.0026,0.3754 5.2558,2.9277 5.2558,5.9536 z"
+ fill="url(#paint0_linear_84_430)"
+ id="path86"
+ style="fill:url(#paint0_linear_84_430)" />
+ <path
+ d="M 24,87 V 70.2967 c 0,-3.0243 2.2507,-5.5755 5.2508,-5.9531 L 1.74845e-7,68 l 2.493e-7,5.7033 C 5.56413e-7,76.7292 2.25322,79.2816 5.25579,79.657 L 19.0386,81.3798 C 21.873,81.7341 24,84.1436 24,87 Z"
+ fill="url(#paint1_linear_84_430)"
+ id="path88"
+ style="fill:url(#paint1_linear_84_430)" />
+ <g
+ filter="url(#filter0_f_84_430)"
+ id="g92">
+ <path
+ d="M 5.2558,39.7431 C 2.25322,40.1184 5.18664e-6,42.6708 4.87281e-6,45.6967 L 1.79217e-6,75.4 3.1009e-6,73.6967 C 5.42587e-6,70.6708 2.25322,68.1184 5.25579,67.7431 L 42.7442,63.057 C 45.7468,62.6817 48,60.1293 48,57.1033 V 34.4 Z"
+ fill="#000000"
+ fill-opacity="0.24"
+ id="path90" />
+ </g>
+ <g
+ filter="url(#filter1_f_84_430)"
+ id="g96">
+ <path
+ d="M 5.2558,41.343 C 2.25322,41.7183 5.18664e-6,44.2708 4.87281e-6,47.2967 L 1.79217e-6,77 3.1009e-6,75.2967 C 5.42587e-6,72.2708 2.25322,69.7183 5.25579,69.343 L 42.7442,64.657 C 45.7468,64.2817 48,61.7292 48,58.7033 V 36 Z"
+ fill="#000000"
+ fill-opacity="0.32"
+ id="path94" />
+ </g>
+ <path
+ d="M 5.2558,39.343 C 2.25322,39.7183 5.18664e-6,42.2708 4.87281e-6,45.2967 L 1.79217e-6,75 3.1009e-6,73.2967 C 5.42587e-6,70.2708 2.25322,67.7183 5.25579,67.343 L 42.7442,62.657 C 45.7468,62.2817 48,59.7292 48,56.7033 V 34 Z"
+ fill="url(#paint2_linear_84_430)"
+ id="path98"
+ style="fill:url(#paint2_linear_84_430)" />
+ <path
+ d="M 5.2558,39.343 C 2.25322,39.7183 5.18664e-6,42.2708 4.87281e-6,45.2967 L 1.79217e-6,75 3.1009e-6,73.2967 C 5.42587e-6,70.2708 2.25322,67.7183 5.25579,67.343 L 42.7442,62.657 C 45.7468,62.2817 48,59.7292 48,56.7033 V 34 Z"
+ fill="url(#paint3_linear_84_430)"
+ fill-opacity="0.6"
+ id="path100"
+ style="fill:url(#paint3_linear_84_430)" />
+ <path
+ d="m 48,56.2967 v -17 c 0,-3.0243 2.2507,-5.5755 5.2508,-5.9531 L 24,37 v 5.7033 c 0,3.0259 2.2532,5.5783 5.2558,5.9537 l 13.4884,1.686 C 45.7468,50.7183 48,53.2707 48,56.2967 Z"
+ fill="url(#paint4_linear_84_430)"
+ id="path102"
+ style="fill:url(#paint4_linear_84_430)" />
+ <g
+ filter="url(#filter2_f_84_430)"
+ id="g106">
+ <path
+ d="M 29.2558,8.74305 C 26.2532,9.11837 24,11.6708 24,14.6967 V 43.4 42.6967 c 0,-3.0259 2.2532,-5.5783 5.2558,-5.9537 L 66.7442,32.057 C 69.7468,31.6817 72,29.1293 72,26.1033 V 10.1967 C 72,6.58773 68.8369,3.79541 65.2558,4.24305 Z"
+ fill="#000000"
+ fill-opacity="0.24"
+ id="path104" />
+ </g>
+ <g
+ filter="url(#filter3_f_84_430)"
+ id="g110">
+ <path
+ d="M 29.2558,10.343 C 26.2532,10.7183 24,13.2708 24,16.2967 V 45 44.2967 c 0,-3.0259 2.2532,-5.5784 5.2558,-5.9537 L 66.7442,33.657 C 69.7468,33.2817 72,30.7292 72,27.7033 V 11.7967 C 72,8.1877 68.8369,5.39538 65.2558,5.84302 Z"
+ fill="#000000"
+ fill-opacity="0.32"
+ id="path108" />
+ </g>
+ <path
+ d="M 29.2558,8.34303 C 26.2532,8.71835 24,11.2708 24,14.2967 V 43 42.2967 c 0,-3.0259 2.2532,-5.5784 5.2558,-5.9537 L 66.7442,31.657 C 69.7468,31.2817 72,28.7292 72,25.7033 V 9.79669 C 72,6.1877 68.8369,3.39538 65.2558,3.84302 Z"
+ fill="url(#paint5_linear_84_430)"
+ id="path112"
+ style="fill:url(#paint5_linear_84_430)" />
+ <path
+ d="M 29.2558,8.34303 C 26.2532,8.71835 24,11.2708 24,14.2967 V 43 42.2967 c 0,-3.0259 2.2532,-5.5784 5.2558,-5.9537 L 66.7442,31.657 C 69.7468,31.2817 72,28.7292 72,25.7033 V 9.79669 C 72,6.1877 68.8369,3.39538 65.2558,3.84302 Z"
+ fill="url(#paint6_linear_84_430)"
+ fill-opacity="0.8"
+ id="path114"
+ style="fill:url(#paint6_linear_84_430)" />
+ </g>
+ </g>
+ </g>
+</svg>
diff --git a/src/main/webapp/img/lib/azure2/power_platform/Dataverse.svg b/src/main/webapp/img/lib/azure2/power_platform/Dataverse.svg
new file mode 100644
index 000000000..1905bf3e7
--- /dev/null
+++ b/src/main/webapp/img/lib/azure2/power_platform/Dataverse.svg
@@ -0,0 +1,222 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ width="95.958038"
+ height="73.642159"
+ viewBox="0 0 95.958038 73.642159"
+ fill="none"
+ version="1.1"
+ id="svg75"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:svg="http://www.w3.org/2000/svg">
+ <defs
+ id="defs46">
+ <filter
+ id="filter0_f"
+ x="-0.028425591"
+ y="-0.028425651"
+ width="1.0568512"
+ height="1.0568513">
+ <feFlood
+ flood-opacity="0"
+ result="BackgroundImageFix"
+ id="feFlood2" />
+ <feBlend
+ mode="normal"
+ in="SourceGraphic"
+ in2="BackgroundImageFix"
+ result="shape"
+ id="feBlend4" />
+ <feGaussianBlur
+ stdDeviation="0.4"
+ result="effect1_foregroundBlur"
+ id="feGaussianBlur6" />
+ </filter>
+ <filter
+ id="filter1_f"
+ x="-0.2842559"
+ y="-0.2842565"
+ width="1.5685118"
+ height="1.568513">
+ <feFlood
+ flood-opacity="0"
+ result="BackgroundImageFix"
+ id="feFlood9" />
+ <feBlend
+ mode="normal"
+ in="SourceGraphic"
+ in2="BackgroundImageFix"
+ result="shape"
+ id="feBlend11" />
+ <feGaussianBlur
+ stdDeviation="4"
+ result="effect1_foregroundBlur"
+ id="feGaussianBlur13" />
+ </filter>
+ <linearGradient
+ id="paint0_linear"
+ x1="35.198601"
+ y1="10.2397"
+ x2="43.518501"
+ y2="85.759499"
+ gradientUnits="userSpaceOnUse">
+ <stop
+ stop-color="#096738"
+ id="stop16" />
+ <stop
+ offset="1"
+ stop-color="#0A4C2D"
+ id="stop18" />
+ </linearGradient>
+ <linearGradient
+ id="paint1_linear"
+ x1="69.438103"
+ y1="9.2801304"
+ x2="85.118103"
+ y2="84.160103"
+ gradientUnits="userSpaceOnUse">
+ <stop
+ stop-color="#4ED062"
+ id="stop21" />
+ <stop
+ offset="1"
+ stop-color="#209B4E"
+ id="stop23" />
+ </linearGradient>
+ <linearGradient
+ id="paint2_linear"
+ x1="69.1642"
+ y1="86.648598"
+ x2="61.2239"
+ y2="86.648598"
+ gradientUnits="userSpaceOnUse">
+ <stop
+ id="stop26" />
+ <stop
+ offset="0.271932"
+ stop-opacity="0.560661"
+ id="stop28" />
+ <stop
+ offset="0.620896"
+ stop-opacity="0.264518"
+ id="stop30" />
+ <stop
+ offset="1"
+ stop-opacity="0"
+ id="stop32" />
+ </linearGradient>
+ <linearGradient
+ id="paint3_linear"
+ x1="64.829201"
+ y1="64.889801"
+ x2="52.6105"
+ y2="27.012699"
+ gradientUnits="userSpaceOnUse">
+ <stop
+ stop-color="#66EB6E"
+ id="stop35" />
+ <stop
+ offset="1"
+ stop-color="#9FE0A2"
+ id="stop37" />
+ </linearGradient>
+ <clipPath
+ id="clip0">
+ <rect
+ width="95.999802"
+ height="96"
+ fill="#ffffff"
+ id="rect40"
+ x="0"
+ y="0" />
+ </clipPath>
+ <clipPath
+ id="clip1">
+ <rect
+ width="95.999802"
+ height="95.999802"
+ fill="#ffffff"
+ id="rect43"
+ x="0"
+ y="0" />
+ </clipPath>
+ </defs>
+ <g
+ clip-path="url(#clip0)"
+ id="g73"
+ transform="translate(0,-11.181257)">
+ <g
+ clip-path="url(#clip1)"
+ id="g71">
+ <mask
+ id="mask0"
+ mask-type="alpha"
+ maskUnits="userSpaceOnUse"
+ x="-1"
+ y="11"
+ width="97"
+ height="74">
+ <path
+ d="M 91.9541,21.5445 91.951,21.5444 C 90.6703,18.5694 88.4544,15.9667 85.4337,14.2227 77.9812,9.91997 68.4518,12.4731 64.1485,19.9252 l -0.0041,-3e-4 C 63.7587,19.5808 63.3618,19.2436 62.9542,18.9125 49.7493,8.1851 29.1026,8.13703 13.8768,21.8236 0.199931,34.1179 -4.07884,55.7795 3.96064,74.5503 l 0.00498,3e-4 c 1.28658,2.9368 3.48789,5.5041 6.47758,7.2302 7.4502,4.3013 16.9758,1.7513 21.281,-5.6952 l 0.0042,2e-4 0.0038,-0.0067 c 0.3857,0.3442 0.7823,0.682 1.1898,1.0131 13.2049,10.7274 33.8516,10.7754 49.0774,-2.9111 13.655,-12.2746 17.942,-33.8866 9.9547,-52.6366 z"
+ fill="#c4c4c4"
+ id="path48" />
+ </mask>
+ <g
+ mask="url(#mask0)"
+ id="g69">
+ <path
+ fill-rule="evenodd"
+ clip-rule="evenodd"
+ d="m 39.5009,62.6252 c 13.0266,7.5209 24.7312,4.6196 31.35,-6.8446 C 77.4698,44.3164 74.9813,28.6839 62.9546,18.9137 49.7497,8.18625 29.103,8.13818 13.8772,21.8247 0.200315,34.119 -4.07846,55.7806 3.96103,74.5514 l 0.00476,3e-4 c 1.28658,2.9368 3.48788,5.5041 6.47761,7.2301 7.4501,4.3014 16.9757,1.7513 21.2809,-5.6951 l 0.0045,2e-4 z"
+ fill="url(#paint0_linear)"
+ id="path51"
+ style="fill:url(#paint0_linear)" />
+ <path
+ fill-rule="evenodd"
+ clip-rule="evenodd"
+ d="m 91.95,21.5443 0.0035,3e-4 C 99.9407,40.2945 95.6538,61.9065 81.9988,74.1811 66.773,87.8677 46.1263,87.8196 32.9214,77.0922 20.8947,67.322 18.4062,51.6895 25.0251,40.2253 31.6439,28.7611 43.3485,25.8597 56.3751,33.3806 l 7.7686,-13.4557 0.0043,3e-4 c 4.3034,-7.4517 13.8325,-10.00457 21.2849,-5.7019 3.0205,1.7438 5.2363,4.3463 6.5171,7.321 z"
+ fill="url(#paint1_linear)"
+ id="path53"
+ style="fill:url(#paint1_linear)" />
+ <path
+ fill-rule="evenodd"
+ clip-rule="evenodd"
+ d="M 56.3789,33.3814 C 43.3523,25.8605 31.6478,28.7619 25.0289,40.2261 18.6342,51.302 20.7404,66.2686 31.736,76.0804 L 39.5039,62.626 c 13.0266,7.5209 24.7311,4.6196 31.35,-6.8446 6.3947,-11.076 4.2885,-26.0425 -6.7071,-35.8544 z"
+ fill="#088142"
+ id="path55" />
+ <rect
+ opacity="0.25"
+ x="61.2239"
+ y="9.11133"
+ width="7.94029"
+ height="97.446098"
+ transform="rotate(30,61.2239,9.11133)"
+ fill="url(#paint2_linear)"
+ id="rect57"
+ style="fill:url(#paint2_linear)" />
+ <g
+ filter="url(#filter0_f)"
+ id="g61">
+ <path
+ d="M 62.5645,56.8453 C 57.9023,64.9205 47.5766,67.6872 39.5014,63.025 31.4262,58.3628 28.6594,48.0371 33.3216,39.9619 37.9839,31.8868 48.3095,29.12 56.3847,33.7822 c 8.0752,4.6622 10.842,14.9879 6.1798,23.0631 z"
+ fill="#000000"
+ fill-opacity="0.24"
+ id="path59" />
+ </g>
+ <g
+ filter="url(#filter1_f)"
+ id="g65">
+ <path
+ d="M 62.5645,58.4453 C 57.9023,66.5204 47.5766,69.2872 39.5014,64.625 31.4262,59.9628 28.6594,49.6371 33.3216,41.5619 37.9839,33.4867 48.3095,30.72 56.3847,35.3822 c 8.0752,4.6622 10.842,14.9879 6.1798,23.0631 z"
+ fill="#000000"
+ fill-opacity="0.32"
+ id="path63" />
+ </g>
+ <path
+ d="M 62.5645,56.4453 C 57.9022,64.5204 47.5766,67.2872 39.5014,62.625 31.4262,57.9628 28.6594,47.6371 33.3216,39.5619 37.9839,31.4867 48.3095,28.72 56.3847,33.3822 c 8.0752,4.6622 10.842,14.9879 6.1798,23.0631 z"
+ fill="url(#paint3_linear)"
+ id="path67"
+ style="fill:url(#paint3_linear)" />
+ </g>
+ </g>
+ </g>
+</svg>
diff --git a/src/main/webapp/img/lib/azure2/power_platform/PowerApps.svg b/src/main/webapp/img/lib/azure2/power_platform/PowerApps.svg
new file mode 100644
index 000000000..3cbbb2ac4
--- /dev/null
+++ b/src/main/webapp/img/lib/azure2/power_platform/PowerApps.svg
@@ -0,0 +1,195 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ width="95.859596"
+ height="92.160858"
+ viewBox="0 0 95.859596 92.160858"
+ fill="none"
+ version="1.1"
+ id="svg67"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:svg="http://www.w3.org/2000/svg">
+ <defs
+ id="defs40">
+ <filter
+ id="filter0_f"
+ x="-0.14866728"
+ y="-0.1"
+ width="1.2973346"
+ height="1.2">
+ <feFlood
+ flood-opacity="0"
+ result="BackgroundImageFix"
+ id="feFlood2" />
+ <feBlend
+ mode="normal"
+ in="SourceGraphic"
+ in2="BackgroundImageFix"
+ result="shape"
+ id="feBlend4" />
+ <feGaussianBlur
+ stdDeviation="4"
+ result="effect1_foregroundBlur"
+ id="feGaussianBlur6" />
+ </filter>
+ <filter
+ id="filter1_f"
+ x="-0.014123391"
+ y="-0.0095000026"
+ width="1.0282468"
+ height="1.019">
+ <feFlood
+ flood-opacity="0"
+ result="BackgroundImageFix"
+ id="feFlood9" />
+ <feBlend
+ mode="normal"
+ in="SourceGraphic"
+ in2="BackgroundImageFix"
+ result="shape"
+ id="feBlend11" />
+ <feGaussianBlur
+ stdDeviation="0.38"
+ result="effect1_foregroundBlur"
+ id="feGaussianBlur13" />
+ </filter>
+ <linearGradient
+ id="paint0_linear"
+ x1="71"
+ y1="96.000198"
+ x2="15"
+ y2="-40.999802"
+ gradientUnits="userSpaceOnUse">
+ <stop
+ stop-color="#742774"
+ id="stop16" />
+ <stop
+ offset="1"
+ stop-color="#BB35A4"
+ id="stop18" />
+ </linearGradient>
+ <linearGradient
+ id="paint1_linear"
+ x1="32"
+ y1="0.00024360001"
+ x2="78"
+ y2="96.000198"
+ gradientUnits="userSpaceOnUse">
+ <stop
+ stop-color="#E48CC7"
+ id="stop21" />
+ <stop
+ offset="1"
+ stop-color="#D467B9"
+ id="stop23" />
+ </linearGradient>
+ <linearGradient
+ id="paint2_linear"
+ x1="62"
+ y1="29.0002"
+ x2="76"
+ y2="72"
+ gradientUnits="userSpaceOnUse">
+ <stop
+ stop-color="#E9A1CB"
+ id="stop26" />
+ <stop
+ offset="1"
+ stop-color="#E48CC7"
+ id="stop28" />
+ </linearGradient>
+ <clipPath
+ id="clip0">
+ <rect
+ width="96"
+ height="96"
+ fill="#ffffff"
+ id="rect31"
+ x="0"
+ y="0" />
+ </clipPath>
+ <clipPath
+ id="clip1">
+ <rect
+ width="96"
+ height="96"
+ fill="#ffffff"
+ id="rect34"
+ x="0"
+ y="0" />
+ </clipPath>
+ <clipPath
+ id="clip2">
+ <rect
+ width="96"
+ height="96"
+ fill="#ffffff"
+ transform="translate(0,1.2207e-4)"
+ id="rect37"
+ x="0"
+ y="0" />
+ </clipPath>
+ </defs>
+ <g
+ clip-path="url(#clip0)"
+ id="g65"
+ transform="translate(0,-1.9195675)">
+ <g
+ clip-path="url(#clip1)"
+ id="g63">
+ <g
+ clip-path="url(#clip2)"
+ id="g61">
+ <mask
+ id="mask0"
+ mask-type="alpha"
+ maskUnits="userSpaceOnUse"
+ x="-1"
+ y="1"
+ width="97"
+ height="94">
+ <path
+ d="m 1.45715,44.049 c -1.979387,2.2621 -1.979388,5.6399 0,7.902 L 36.9897,92.5596 c 1.5936,1.8214 4.427,1.8214 6.0206,0 l 3.8264,-4.373 4.2137,4.5967 c 1.5854,1.7295 4.3119,1.7295 5.8972,0 l 37.3349,-40.729 c 2.1028,-2.2939 2.1028,-5.8147 0,-8.1086 L 56.9476,3.21667 c -1.5853,-1.72947 -4.3118,-1.72947 -5.8972,0 L 46.8367,7.81341 43.0103,3.44035 c -1.5936,-1.82131 -4.427,-1.82131 -6.0206,0 z"
+ fill="#ffffff"
+ id="path42" />
+ </mask>
+ <g
+ mask="url(#mask0)"
+ id="g59">
+ <path
+ d="M 40,96 -2,48 40,0 82,48 Z"
+ fill="url(#paint0_linear)"
+ id="path45"
+ style="fill:url(#paint0_linear)" />
+ <g
+ filter="url(#filter0_f)"
+ id="g49">
+ <path
+ d="m 53.999,2 44,48 -44,48 -19.5223,-21.2971 c -1.4019,-1.5293 -1.4019,-3.8765 0,-5.4058 L 51.5214,52.7029 c 1.4018,-1.5293 1.4018,-3.8765 0,-5.4058 L 34.4767,28.7029 c -1.4019,-1.5293 -1.4019,-3.8765 0,-5.4058 z"
+ fill="#000000"
+ fill-opacity="0.32"
+ id="path47" />
+ </g>
+ <g
+ filter="url(#filter1_f)"
+ id="g53">
+ <path
+ d="m 53.999,0.380127 44,47.999973 -44,48 L 34.4767,75.083 c -1.4019,-1.5293 -1.4019,-3.8765 0,-5.4058 L 51.5214,51.083 c 1.4018,-1.5293 1.4018,-3.8765 0,-5.4058 L 34.4767,27.083 c -1.4019,-1.5293 -1.4019,-3.8765 0,-5.4058 z"
+ fill="#000000"
+ fill-opacity="0.24"
+ id="path51" />
+ </g>
+ <path
+ d="m 53.999,0 44,48 -44,48 -19.5223,-21.2971 c -1.4019,-1.5293 -1.4019,-3.8765 0,-5.4058 L 51.5214,50.7029 c 1.4018,-1.5293 1.4018,-3.8765 0,-5.4058 L 34.4767,26.7029 c -1.4019,-1.5293 -1.4019,-3.8765 0,-5.4058 z"
+ fill="url(#paint1_linear)"
+ id="path55"
+ style="fill:url(#paint1_linear)" />
+ <path
+ d="m 73.0514,27.2167 c 1.5853,-1.7295 4.3119,-1.7295 5.8972,0 L 98,48 78.9486,68.7833 c -1.5853,1.7295 -4.3119,1.7295 -5.8972,0 L 57.7165,52.0543 c -2.1028,-2.2939 -2.1028,-5.8147 0,-8.1086 z"
+ fill="url(#paint2_linear)"
+ id="path57"
+ style="fill:url(#paint2_linear)" />
+ </g>
+ </g>
+ </g>
+ </g>
+</svg>
diff --git a/src/main/webapp/img/lib/azure2/power_platform/PowerAutomate.svg b/src/main/webapp/img/lib/azure2/power_platform/PowerAutomate.svg
new file mode 100644
index 000000000..8c96c9687
--- /dev/null
+++ b/src/main/webapp/img/lib/azure2/power_platform/PowerAutomate.svg
@@ -0,0 +1,180 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ width="95.632622"
+ height="76"
+ viewBox="0 0 95.632622 76"
+ fill="none"
+ version="1.1"
+ id="svg62"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:svg="http://www.w3.org/2000/svg">
+ <defs
+ id="defs37">
+ <filter
+ id="filter0_f"
+ x="-0.0094117648"
+ y="-0.012631579"
+ width="1.0188235"
+ height="1.0252632">
+ <feFlood
+ flood-opacity="0"
+ result="BackgroundImageFix"
+ id="feFlood2" />
+ <feBlend
+ mode="normal"
+ in="SourceGraphic"
+ in2="BackgroundImageFix"
+ result="shape"
+ id="feBlend4" />
+ <feGaussianBlur
+ stdDeviation="0.4"
+ result="effect1_foregroundBlur"
+ id="feGaussianBlur6" />
+ </filter>
+ <filter
+ id="filter1_f"
+ x="-0.094117647"
+ y="-0.12631579"
+ width="1.1882353"
+ height="1.2526316">
+ <feFlood
+ flood-opacity="0"
+ result="BackgroundImageFix"
+ id="feFlood9" />
+ <feBlend
+ mode="normal"
+ in="SourceGraphic"
+ in2="BackgroundImageFix"
+ result="shape"
+ id="feBlend11" />
+ <feGaussianBlur
+ stdDeviation="4"
+ result="effect1_foregroundBlur"
+ id="feGaussianBlur13" />
+ </filter>
+ <linearGradient
+ id="paint0_linear"
+ x1="43"
+ y1="55"
+ x2="29"
+ y2="10"
+ gradientUnits="userSpaceOnUse">
+ <stop
+ stop-color="#0D36A5"
+ id="stop16" />
+ <stop
+ offset="1"
+ stop-color="#1152D4"
+ id="stop18" />
+ </linearGradient>
+ <linearGradient
+ id="paint1_linear"
+ x1="46"
+ y1="10"
+ x2="46"
+ y2="86"
+ gradientUnits="userSpaceOnUse">
+ <stop
+ stop-color="#84CAFF"
+ id="stop21" />
+ <stop
+ offset="1"
+ stop-color="#61B1FB"
+ id="stop23" />
+ </linearGradient>
+ <linearGradient
+ id="paint2_linear"
+ x1="37.5"
+ y1="10"
+ x2="37.5"
+ y2="86"
+ gradientUnits="userSpaceOnUse">
+ <stop
+ stop-color="#3B90F5"
+ id="stop26" />
+ <stop
+ offset="1"
+ stop-color="#2A78EE"
+ id="stop28" />
+ </linearGradient>
+ <clipPath
+ id="clip0">
+ <rect
+ width="96"
+ height="96"
+ fill="#ffffff"
+ id="rect31"
+ x="0"
+ y="0" />
+ </clipPath>
+ <clipPath
+ id="clip1">
+ <rect
+ width="96"
+ height="96"
+ fill="#ffffff"
+ id="rect34"
+ x="0"
+ y="0" />
+ </clipPath>
+ </defs>
+ <g
+ clip-path="url(#clip0)"
+ id="g60"
+ transform="translate(0,-10)">
+ <g
+ clip-path="url(#clip1)"
+ id="g58">
+ <mask
+ id="mask0"
+ mask-type="alpha"
+ maskUnits="userSpaceOnUse"
+ x="-1"
+ y="10"
+ width="97"
+ height="76">
+ <path
+ d="m 61.2116,10 c 1.138,0 2.2221,0.4847 2.9809,1.3328 l 30.4211,34 c 1.3587,1.5186 1.3587,3.8158 0,5.3344 l -30.4211,34 C 63.4337,85.5153 62.3496,86 61.2116,86 H 3.94634 C 0.488777,86 -1.34012,81.9095 0.965366,79.3328 L 29,48 0.965366,16.6672 C -1.34012,14.0905 0.488777,10 3.94634,10 Z"
+ fill="#ffffff"
+ id="path39" />
+ </mask>
+ <g
+ mask="url(#mask0)"
+ id="g56">
+ <path
+ d="M 63,10 29,48 -5,10 Z"
+ fill="url(#paint0_linear)"
+ id="path42"
+ style="fill:url(#paint0_linear)" />
+ <g
+ filter="url(#filter0_f)"
+ id="g46">
+ <path
+ d="m 63,10.4 -68,76 h 68 l 34,-38 z"
+ fill="#000000"
+ fill-opacity="0.24"
+ id="path44" />
+ </g>
+ <g
+ filter="url(#filter1_f)"
+ id="g50">
+ <path
+ d="M 63,12 -5,88 H 63 L 97,50 Z"
+ fill="#000000"
+ fill-opacity="0.32"
+ id="path48" />
+ </g>
+ <path
+ d="M -5,86 63,10 97,48 63,86 Z"
+ fill="url(#paint1_linear)"
+ id="path52"
+ style="fill:url(#paint1_linear)" />
+ <path
+ d="M -5,86 63,10 80,29 29,86 Z"
+ fill="url(#paint2_linear)"
+ id="path54"
+ style="fill:url(#paint2_linear)" />
+ </g>
+ </g>
+ </g>
+</svg>
diff --git a/src/main/webapp/img/lib/azure2/power_platform/PowerBI.svg b/src/main/webapp/img/lib/azure2/power_platform/PowerBI.svg
new file mode 100644
index 000000000..6f0243438
--- /dev/null
+++ b/src/main/webapp/img/lib/azure2/power_platform/PowerBI.svg
@@ -0,0 +1,166 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ width="72"
+ height="96"
+ viewBox="0 0 72 96"
+ fill="none"
+ version="1.1"
+ id="svg57"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:svg="http://www.w3.org/2000/svg">
+ <defs
+ id="defs34">
+ <filter
+ id="filter0_f"
+ x="-0.03"
+ y="-0.013333334"
+ width="1.06"
+ height="1.0266667">
+ <feFlood
+ flood-opacity="0"
+ result="BackgroundImageFix"
+ id="feFlood2" />
+ <feBlend
+ mode="normal"
+ in="SourceGraphic"
+ in2="BackgroundImageFix"
+ result="shape"
+ id="feBlend4" />
+ <feGaussianBlur
+ stdDeviation="0.4"
+ result="effect1_foregroundBlur"
+ id="feGaussianBlur6" />
+ </filter>
+ <filter
+ id="filter1_f"
+ x="-0.3"
+ y="-0.13333333"
+ width="1.6"
+ height="1.2666667">
+ <feFlood
+ flood-opacity="0"
+ result="BackgroundImageFix"
+ id="feFlood9" />
+ <feBlend
+ mode="normal"
+ in="SourceGraphic"
+ in2="BackgroundImageFix"
+ result="shape"
+ id="feBlend11" />
+ <feGaussianBlur
+ stdDeviation="4"
+ result="effect1_foregroundBlur"
+ id="feGaussianBlur13" />
+ </filter>
+ <linearGradient
+ id="paint0_linear"
+ x1="46.666698"
+ y1="-8.9779502e-07"
+ x2="88.865303"
+ y2="89.446602"
+ gradientUnits="userSpaceOnUse">
+ <stop
+ stop-color="#E6AD10"
+ id="stop16" />
+ <stop
+ offset="1"
+ stop-color="#C87E0E"
+ id="stop18" />
+ </linearGradient>
+ <linearGradient
+ id="paint1_linear"
+ x1="31.9974"
+ y1="24"
+ x2="67.485901"
+ y2="92.826202"
+ gradientUnits="userSpaceOnUse">
+ <stop
+ stop-color="#F6D751"
+ id="stop21" />
+ <stop
+ offset="1"
+ stop-color="#E6AD10"
+ id="stop23" />
+ </linearGradient>
+ <linearGradient
+ id="paint2_linear"
+ x1="11.9974"
+ y1="48"
+ x2="31.608299"
+ y2="94.477501"
+ gradientUnits="userSpaceOnUse">
+ <stop
+ stop-color="#F9E589"
+ id="stop26" />
+ <stop
+ offset="1"
+ stop-color="#F6D751"
+ id="stop28" />
+ </linearGradient>
+ <clipPath
+ id="clip0">
+ <rect
+ width="96"
+ height="96"
+ fill="#ffffff"
+ id="rect31"
+ x="0"
+ y="0" />
+ </clipPath>
+ </defs>
+ <g
+ clip-path="url(#clip0)"
+ id="g55"
+ transform="translate(-12)">
+ <mask
+ id="mask0"
+ mask-type="alpha"
+ maskUnits="userSpaceOnUse"
+ x="12"
+ y="0"
+ width="72"
+ height="96">
+ <path
+ d="m 52,4 c 0,-2.20914 1.7909,-4 4,-4 h 24 c 2.2091,0 4,1.79086 4,4 v 88 c 0,2.2091 -1.7909,4 -4,4 H 16 c -2.2091,0 -4,-1.7909 -4,-4 V 52 c 0,-2.2091 1.7909,-4 4,-4 H 32.0001 V 28 c 0,-2.2091 1.7909,-4 4,-4 H 52 Z"
+ fill="#ffffff"
+ id="path36" />
+ </mask>
+ <g
+ mask="url(#mask0)"
+ id="g53">
+ <path
+ d="M 84,0 V 96 H 52 V 0 Z"
+ fill="url(#paint0_linear)"
+ id="path39"
+ style="fill:url(#paint0_linear)" />
+ <g
+ filter="url(#filter0_f)"
+ id="g43">
+ <path
+ d="m 64,28.4 v 68 H 32 v -72 h 28 c 2.2091,0 4,1.7909 4,4 z"
+ fill="#000000"
+ fill-opacity="0.2"
+ id="path41" />
+ </g>
+ <g
+ filter="url(#filter1_f)"
+ id="g47">
+ <path
+ d="M 64,30 V 98 H 32 V 26 h 28 c 2.2091,0 4,1.7909 4,4 z"
+ fill="#000000"
+ fill-opacity="0.18"
+ id="path45" />
+ </g>
+ <path
+ d="M 64,28 V 96 H 32 V 24 h 28 c 2.2091,0 4,1.7909 4,4 z"
+ fill="url(#paint1_linear)"
+ id="path49"
+ style="fill:url(#paint1_linear)" />
+ <path
+ d="M 12,48 V 96 H 44 V 52 c 0,-2.2091 -1.7909,-4 -4,-4 z"
+ fill="url(#paint2_linear)"
+ id="path51"
+ style="fill:url(#paint2_linear)" />
+ </g>
+ </g>
+</svg>
diff --git a/src/main/webapp/img/lib/azure2/power_platform/PowerFx.svg b/src/main/webapp/img/lib/azure2/power_platform/PowerFx.svg
new file mode 100644
index 000000000..45f27b050
--- /dev/null
+++ b/src/main/webapp/img/lib/azure2/power_platform/PowerFx.svg
@@ -0,0 +1,176 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ width="87.882828"
+ height="83.99601"
+ viewBox="0 0 87.882828 83.99601"
+ fill="none"
+ version="1.1"
+ id="svg59"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:svg="http://www.w3.org/2000/svg">
+ <mask
+ id="mask0_12901_33826"
+ maskUnits="userSpaceOnUse"
+ x="5"
+ y="6"
+ width="88"
+ height="85">
+ <path
+ d="M 9.41144,17.6522 C 13.7489,10.4258 21.5593,6.00439 29.9876,6.00439 h 43.3499 c 3.1093,0 5.0297,3.39204 3.4299,6.05811 L 66.0039,30 h 22.9314 c 3.1092,0 5.0296,3.3919 3.4299,6.058 l -9.426,15.7101 c -3.0402,5.0669 -3.0402,11.3969 0,16.4638 l 9.426,15.7101 C 93.9649,86.6081 92.0444,90 88.9353,90 H 68.2648 c -1.4051,0 -2.7071,-0.7372 -3.43,-1.942 L 63,85 61.1652,88.058 C 60.4424,89.2628 59.1403,90 57.7353,90 H 37.0648 l -28.00003,4e-4 c -3.10917,0 -5.02962,-3.3919 -3.42998,-6.058 L 15.0609,68.2321 c 3.0402,-5.0669 3.0401,-11.3969 0,-16.4638 L 9.40948,42.3492 C 4.84894,34.7483 4.84969,25.2524 9.41144,17.6522 Z"
+ fill="#ffffff"
+ id="path2" />
+ </mask>
+ <g
+ mask="url(#mask0_12901_33826)"
+ id="g21"
+ transform="translate(-5.0585941,-6.00439)">
+ <path
+ d="M 9.4114,17.6522 C 13.7488,10.4258 21.5593,6.00439 29.9875,6.00439 h 43.35 c 3.1093,0 5.0297,3.39204 3.4299,6.05811 L 33.6352,83.9423 c -1.5998,2.6661 0.3207,6.0581 3.4299,6.0581 H 43 9.06473 c -3.10917,0 -5.02962,-3.3919 -3.42998,-6.058 L 15.0609,68.2321 c 3.0401,-5.0669 3.0401,-11.3969 0,-16.4638 L 9.40944,42.3492 C 4.8489,34.7483 4.84965,25.2524 9.4114,17.6522 Z"
+ fill="url(#paint0_linear_12901_33826)"
+ id="path5"
+ style="fill:url(#paint0_linear_12901_33826)" />
+ <path
+ d="m 68.2647,90 h 20.6705 c 3.1092,0 5.0297,-3.3919 3.43,-6.058 L 82.9392,68.2319 C 79.899,63.165 79.899,56.835 82.9392,51.7681 L 92.3652,36.058 C 93.9649,33.3919 92.0444,30 88.9352,30 H 66 L 55.4087,47.6521 c -4.5602,7.6004 -4.5602,17.0954 0,24.6958 L 64.8348,88.058 C 65.5577,89.2628 66.8597,90 68.2647,90 Z"
+ fill="url(#paint1_linear_12901_33826)"
+ id="path7"
+ style="fill:url(#paint1_linear_12901_33826)" />
+ <g
+ filter="url(#filter0_f_12901_33826)"
+ id="g11">
+ <path
+ d="M 57.7352,30.3999 H 37.0648 c -3.1092,0 -5.0297,3.3919 -3.43,6.058 l 9.426,15.7101 c 3.0402,5.0669 3.0402,11.3969 0,16.4638 l -9.426,15.7101 c -1.5997,2.6661 0.3208,6.058 3.43,6.058 h 20.6704 c 1.4051,0 2.7071,-0.7372 3.43,-1.942 l 9.4261,-15.7101 c 4.5602,-7.6004 4.5602,-17.0954 0,-24.6958 L 61.1652,32.3419 c -0.7229,-1.2048 -2.0249,-1.942 -3.43,-1.942 z"
+ fill="#000000"
+ fill-opacity="0.24"
+ id="path9" />
+ </g>
+ <g
+ filter="url(#filter1_f_12901_33826)"
+ id="g15">
+ <path
+ d="M 57.7352,32 H 37.0648 c -3.1092,0 -5.0297,3.3919 -3.43,6.058 l 9.426,15.7101 c 3.0402,5.0669 3.0402,11.3969 0,16.4638 L 33.6348,85.942 C 32.0351,88.6081 33.9556,92 37.0648,92 h 20.6704 c 1.4051,0 2.7071,-0.7372 3.43,-1.942 l 9.4261,-15.7101 c 4.5602,-7.6004 4.5602,-17.0954 0,-24.6958 L 61.1652,33.942 C 60.4423,32.7372 59.1403,32 57.7352,32 Z"
+ fill="#000000"
+ fill-opacity="0.32"
+ id="path13" />
+ </g>
+ <path
+ d="M 57.7352,30 H 37.0648 c -3.1092,0 -5.0297,3.3919 -3.43,6.058 l 9.426,15.7101 c 3.0402,5.0669 3.0402,11.3969 0,16.4638 L 33.6348,83.942 C 32.0351,86.6081 33.9556,90 37.0648,90 h 20.6704 c 1.4051,0 2.7071,-0.7372 3.43,-1.942 l 9.4261,-15.7101 c 4.5602,-7.6004 4.5602,-17.0954 0,-24.6958 L 61.1652,31.942 C 60.4423,30.7372 59.1403,30 57.7352,30 Z"
+ fill="url(#paint2_linear_12901_33826)"
+ id="path17"
+ style="fill:url(#paint2_linear_12901_33826)" />
+ <path
+ d="m 63,35 -7.5913,12.6521 c -4.5602,7.6004 -4.5602,17.0954 0,24.6958 L 63,85 70.5913,72.3479 c 4.5602,-7.6004 4.5602,-17.0954 0,-24.6958 z"
+ fill="url(#paint3_linear_12901_33826)"
+ id="path19"
+ style="fill:url(#paint3_linear_12901_33826)" />
+ </g>
+ <defs
+ id="defs57">
+ <filter
+ id="filter0_f_12901_33826"
+ x="32.258598"
+ y="29.599899"
+ width="42.552601"
+ height="61.599998"
+ filterUnits="userSpaceOnUse"
+ color-interpolation-filters="sRGB">
+ <feFlood
+ flood-opacity="0"
+ result="BackgroundImageFix"
+ id="feFlood23" />
+ <feBlend
+ mode="normal"
+ in="SourceGraphic"
+ in2="BackgroundImageFix"
+ result="shape"
+ id="feBlend25" />
+ <feGaussianBlur
+ stdDeviation="0.4"
+ result="effect1_foregroundBlur_12901_33826"
+ id="feGaussianBlur27" />
+ </filter>
+ <filter
+ id="filter1_f_12901_33826"
+ x="25.058599"
+ y="24"
+ width="56.952599"
+ height="76"
+ filterUnits="userSpaceOnUse"
+ color-interpolation-filters="sRGB">
+ <feFlood
+ flood-opacity="0"
+ result="BackgroundImageFix"
+ id="feFlood30" />
+ <feBlend
+ mode="normal"
+ in="SourceGraphic"
+ in2="BackgroundImageFix"
+ result="shape"
+ id="feBlend32" />
+ <feGaussianBlur
+ stdDeviation="4"
+ result="effect1_foregroundBlur_12901_33826"
+ id="feGaussianBlur34" />
+ </filter>
+ <linearGradient
+ id="paint0_linear_12901_33826"
+ x1="45.0937"
+ y1="2"
+ x2="45.0937"
+ y2="90"
+ gradientUnits="userSpaceOnUse">
+ <stop
+ stop-color="#962563"
+ id="stop37" />
+ <stop
+ offset="1"
+ stop-color="#6F1E4F"
+ id="stop39" />
+ </linearGradient>
+ <linearGradient
+ id="paint1_linear_12901_33826"
+ x1="72.852501"
+ y1="90"
+ x2="72.852501"
+ y2="26"
+ gradientUnits="userSpaceOnUse">
+ <stop
+ stop-color="#B82B68"
+ id="stop42" />
+ <stop
+ offset="1"
+ stop-color="#DA4B7A"
+ id="stop44" />
+ </linearGradient>
+ <linearGradient
+ id="paint2_linear_12901_33826"
+ x1="53.704899"
+ y1="26"
+ x2="55.9748"
+ y2="106.471"
+ gradientUnits="userSpaceOnUse">
+ <stop
+ stop-color="#FCBEBE"
+ id="stop47" />
+ <stop
+ offset="1"
+ stop-color="#EB748E"
+ id="stop49" />
+ </linearGradient>
+ <linearGradient
+ id="paint3_linear_12901_33826"
+ x1="58.723598"
+ y1="86.880501"
+ x2="57.966499"
+ y2="37.258202"
+ gradientUnits="userSpaceOnUse">
+ <stop
+ stop-color="#EB748E"
+ id="stop52" />
+ <stop
+ offset="1"
+ stop-color="#EB748E"
+ stop-opacity="0"
+ id="stop54" />
+ </linearGradient>
+ </defs>
+</svg>
diff --git a/src/main/webapp/img/lib/azure2/power_platform/PowerPages.svg b/src/main/webapp/img/lib/azure2/power_platform/PowerPages.svg
new file mode 100644
index 000000000..44e42790d
--- /dev/null
+++ b/src/main/webapp/img/lib/azure2/power_platform/PowerPages.svg
@@ -0,0 +1,199 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ width="95.330734"
+ height="95.418922"
+ viewBox="0 0 95.330734 95.418922"
+ fill="none"
+ version="1.1"
+ id="svg69"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:svg="http://www.w3.org/2000/svg">
+ <defs
+ id="defs42">
+ <filter
+ id="filter0_f"
+ x="-0.010695289"
+ y="-0.014530182"
+ width="1.0213906"
+ height="1.0290604">
+ <feFlood
+ flood-opacity="0"
+ result="BackgroundImageFix"
+ id="feFlood2" />
+ <feBlend
+ mode="normal"
+ in="SourceGraphic"
+ in2="BackgroundImageFix"
+ result="shape"
+ id="feBlend4" />
+ <feGaussianBlur
+ stdDeviation="0.4"
+ result="effect1_foregroundBlur"
+ id="feGaussianBlur6" />
+ </filter>
+ <filter
+ id="filter1_f"
+ x="-0.10695288"
+ y="-0.14530192"
+ width="1.2139058"
+ height="1.2906038">
+ <feFlood
+ flood-opacity="0"
+ result="BackgroundImageFix"
+ id="feFlood9" />
+ <feBlend
+ mode="normal"
+ in="SourceGraphic"
+ in2="BackgroundImageFix"
+ result="shape"
+ id="feBlend11" />
+ <feGaussianBlur
+ stdDeviation="4"
+ result="effect1_foregroundBlur"
+ id="feGaussianBlur13" />
+ </filter>
+ <linearGradient
+ id="paint0_linear"
+ x1="17.3997"
+ y1="2.1008301"
+ x2="43.079899"
+ y2="94.014297"
+ gradientUnits="userSpaceOnUse">
+ <stop
+ stop-color="#A391E8"
+ id="stop16" />
+ <stop
+ offset="1"
+ stop-color="#685CD0"
+ id="stop18" />
+ </linearGradient>
+ <linearGradient
+ id="paint1_linear"
+ x1="94"
+ y1="86.000504"
+ x2="76.5"
+ y2="35.500599"
+ gradientUnits="userSpaceOnUse">
+ <stop
+ stop-color="#38389F"
+ id="stop21" />
+ <stop
+ offset="1"
+ stop-color="#4B44C0"
+ id="stop23" />
+ </linearGradient>
+ <linearGradient
+ id="paint2_linear"
+ x1="35.210201"
+ y1="-12.4822"
+ x2="60.075901"
+ y2="60.295502"
+ gradientUnits="userSpaceOnUse">
+ <stop
+ stop-color="#DBCEF8"
+ id="stop26" />
+ <stop
+ offset="1"
+ stop-color="#C0AFF1"
+ id="stop28" />
+ </linearGradient>
+ <linearGradient
+ id="paint3_linear"
+ x1="21.991199"
+ y1="-3.25494"
+ x2="48.765999"
+ y2="92.369102"
+ gradientUnits="userSpaceOnUse">
+ <stop
+ stop-color="#C0AFF1"
+ id="stop31" />
+ <stop
+ offset="1"
+ stop-color="#8675DD"
+ id="stop33" />
+ </linearGradient>
+ <clipPath
+ id="clip0">
+ <rect
+ width="96"
+ height="96"
+ fill="#ffffff"
+ id="rect36"
+ x="0"
+ y="0" />
+ </clipPath>
+ <clipPath
+ id="clip1">
+ <rect
+ width="96"
+ height="96"
+ fill="#ffffff"
+ id="rect39"
+ x="0"
+ y="0" />
+ </clipPath>
+ </defs>
+ <g
+ clip-path="url(#clip0)"
+ id="g67"
+ transform="translate(-0.3352875,-0.29095514)">
+ <g
+ clip-path="url(#clip1)"
+ id="g65">
+ <mask
+ id="mask0"
+ maskUnits="userSpaceOnUse"
+ x="0"
+ y="0"
+ width="96"
+ height="96">
+ <path
+ d="m 51.0015,1.29095 c -1.7778,-1.3333287 -4.2223,-1.3333276 -6,1e-5 L 2.33529,33.2906 c -2.66667,2 -2.66667,6 0,8 l 21.18551,15.8891 -8.9472,6.7105 c -2.6667,2 -2.6667,6 0,8 l 30.4263,22.8197 c 1.7777,1.3333 4.2222,1.3333 6,0 L 93.666,62.7103 c 2.6667,-2 2.6667,-6 0,-8 L 72.4805,38.8211 81.4278,32.1107 c 2.6666,-2 2.6666,-6 0,-8 z"
+ fill="#ffffff"
+ id="path44" />
+ </mask>
+ <g
+ mask="url(#mask0)"
+ id="g63">
+ <path
+ d="M 9.24023,67.8902 60.2397,29.6406 98.9994,58.7103 47.9999,96.9599 Z"
+ fill="url(#paint0_linear)"
+ id="path47"
+ style="fill:url(#paint0_linear)" />
+ <path
+ d="M 23.5195,57.1803 60.2392,29.6406 98.9988,58.7103 65.2792,84 c -1.7778,1.3333 -4.2223,1.3334 -6,0 z"
+ fill="url(#paint1_linear)"
+ id="path49"
+ style="fill:url(#paint1_linear)" />
+ <g
+ filter="url(#filter0_f)"
+ id="g53">
+ <path
+ d="M -2.99805,37.6906 48.0015,-0.559021 86.7611,28.5107 38.7616,64.5103 c -1.7778,1.3334 -4.2222,1.3334 -6,0 z"
+ fill="#000000"
+ fill-opacity="0.24"
+ id="path51" />
+ </g>
+ <g
+ filter="url(#filter1_f)"
+ id="g57">
+ <path
+ d="M -2.99805,39.2906 48.0015,1.04095 86.7611,30.1107 38.7616,66.1103 c -1.7778,1.3333 -4.2222,1.3333 -6,0 z"
+ fill="#000000"
+ fill-opacity="0.32"
+ id="path55" />
+ </g>
+ <path
+ d="M -2.99805,37.2906 48.0015,-0.959045 86.7611,28.1107 38.7616,64.1103 c -1.7778,1.3333 -4.2222,1.3333 -6,0 z"
+ fill="url(#paint2_linear)"
+ id="path59"
+ style="fill:url(#paint2_linear)" />
+ <path
+ d="M -2.99805,37.2897 30.7216,11.9999 c 1.7778,-1.3333 4.2222,-1.3333 6,0 L 72.4812,38.8197 38.7616,64.1094 c -1.7778,1.3333 -4.2222,1.3333 -6,0 z"
+ fill="url(#paint3_linear)"
+ id="path61"
+ style="fill:url(#paint3_linear)" />
+ </g>
+ </g>
+ </g>
+</svg>
diff --git a/src/main/webapp/img/lib/azure2/power_platform/PowerPlatform.svg b/src/main/webapp/img/lib/azure2/power_platform/PowerPlatform.svg
new file mode 100644
index 000000000..6f603b2d5
--- /dev/null
+++ b/src/main/webapp/img/lib/azure2/power_platform/PowerPlatform.svg
@@ -0,0 +1,217 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ width="87.431633"
+ height="91.578697"
+ viewBox="0 0 87.431633 91.578697"
+ fill="none"
+ version="1.1"
+ id="svg76"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:svg="http://www.w3.org/2000/svg">
+ <defs
+ id="defs51">
+ <filter
+ id="filter0_f_84_430"
+ x="-0.011165838"
+ y="-0.024028173"
+ width="1.0223317"
+ height="1.0480563">
+ <feFlood
+ flood-opacity="0"
+ result="BackgroundImageFix"
+ id="feFlood2" />
+ <feBlend
+ mode="normal"
+ in="SourceGraphic"
+ in2="BackgroundImageFix"
+ result="shape"
+ id="feBlend4" />
+ <feGaussianBlur
+ stdDeviation="0.4"
+ result="effect1_foregroundBlur_84_430"
+ id="feGaussianBlur6" />
+ </filter>
+ <filter
+ id="filter1_f_84_430"
+ x="-0.11165838"
+ y="-0.24028173"
+ width="1.2233168"
+ height="1.4805635">
+ <feFlood
+ flood-opacity="0"
+ result="BackgroundImageFix"
+ id="feFlood9" />
+ <feBlend
+ mode="normal"
+ in="SourceGraphic"
+ in2="BackgroundImageFix"
+ result="shape"
+ id="feBlend11" />
+ <feGaussianBlur
+ stdDeviation="4"
+ result="effect1_foregroundBlur_84_430"
+ id="feGaussianBlur13" />
+ </filter>
+ <linearGradient
+ id="paint0_linear_84_430"
+ x1="9"
+ y1="58"
+ x2="19"
+ y2="96"
+ gradientUnits="userSpaceOnUse">
+ <stop
+ stop-color="#159455"
+ id="stop16" />
+ <stop
+ offset="1"
+ stop-color="#3FBDA9"
+ id="stop18" />
+ </linearGradient>
+ <linearGradient
+ id="paint1_linear_84_430"
+ x1="24.898701"
+ y1="5.5227299"
+ x2="82.915298"
+ y2="31.3167"
+ gradientUnits="userSpaceOnUse">
+ <stop
+ stop-color="#23A794"
+ id="stop21" />
+ <stop
+ offset="0.568447"
+ stop-color="#007A84"
+ id="stop23" />
+ <stop
+ offset="1"
+ stop-color="#005158"
+ id="stop25" />
+ </linearGradient>
+ <linearGradient
+ id="paint2_linear_84_430"
+ x1="74"
+ y1="40"
+ x2="63.5"
+ y2="12.5"
+ gradientUnits="userSpaceOnUse">
+ <stop
+ stop-color="#004A8B"
+ id="stop28" />
+ <stop
+ offset="0.405563"
+ stop-color="#105DA8"
+ stop-opacity="0.500243"
+ id="stop30" />
+ <stop
+ offset="1"
+ stop-color="#2170C6"
+ stop-opacity="0"
+ id="stop32" />
+ </linearGradient>
+ <linearGradient
+ id="paint3_linear_84_430"
+ x1="17"
+ y1="36"
+ x2="69.5"
+ y2="62"
+ gradientUnits="userSpaceOnUse">
+ <stop
+ stop-color="#7FD9A2"
+ id="stop35" />
+ <stop
+ offset="0.196063"
+ stop-color="#47BF79"
+ id="stop37" />
+ <stop
+ offset="0.713946"
+ stop-color="#009280"
+ id="stop39" />
+ <stop
+ offset="1"
+ stop-color="#007A84"
+ id="stop41" />
+ </linearGradient>
+ <linearGradient
+ id="paint4_linear_84_430"
+ x1="16.5"
+ y1="37"
+ x2="28.5"
+ y2="43"
+ gradientUnits="userSpaceOnUse">
+ <stop
+ stop-color="#A8E47C"
+ stop-opacity="0.86"
+ id="stop44" />
+ <stop
+ offset="0.367474"
+ stop-color="#87D152"
+ stop-opacity="0.2"
+ id="stop46" />
+ <stop
+ offset="1"
+ stop-color="#58BE5A"
+ stop-opacity="0"
+ id="stop48" />
+ </linearGradient>
+ </defs>
+ <mask
+ id="mask0_84_430"
+ maskUnits="userSpaceOnUse"
+ x="3"
+ y="2"
+ width="88"
+ height="92">
+ <path
+ d="m 36.2108,2 h 39.5189 c 11.06,0 18.2848,11.5445 13.5357,21.4644 L 90.0002,22 76.2654,49.4696 c -0.0392,0.0817 -0.0792,0.1633 -0.1199,0.2448 L 74.0002,54 76.1461,49.7082 C 73.6052,54.79 68.4112,58 62.7297,58 H 39.0002 L 22.1995,91.6014 c -1.3182,2.6364 -5.0804,2.6364 -6.3986,0 L 4.06542,68.1305 C 2.99573,65.9911 3.13282,63.6781 4.09866,61.803 L 17.0229,35.9545 C 18.2347,33.5309 20.7118,32 23.4215,32 h 49.521 C 70.3205,29.5491 66.7837,28 62.7321,28 H 26.7877 c -2.659,0 -4.3884,-2.7983 -3.1993,-5.1766 L 33.0115,3.97728 C 33.6174,2.76547 34.8559,2 36.2108,2 Z"
+ fill="#ffffff"
+ id="path53" />
+ </mask>
+ <g
+ mask="url(#mask0_84_430)"
+ id="g74"
+ transform="translate(-3.3173835,-2)">
+ <path
+ d="M 10.3262,58 H 39 L 22.1993,91.6014 c -1.3182,2.6364 -5.0804,2.6364 -6.3986,0 L 4.06525,68.1305 C 1.73809,63.4762 5.12256,58 10.3262,58 Z"
+ fill="url(#paint0_linear_84_430)"
+ id="path56"
+ style="fill:url(#paint0_linear_84_430)" />
+ <path
+ d="M 36.2106,2 H 75.7295 C 86.8802,2 94.1327,13.7347 89.1459,23.7082 L 76.2652,49.4696 c -0.0392,0.0817 -0.0791,0.1633 -0.1199,0.2448 L 74,54 76.2652,49.4696 C 81.0192,39.5494 73.7946,28 62.732,28 H 26.7876 c -2.659,0 -4.3885,-2.7983 -3.1993,-5.1766 L 33.0113,3.97728 C 33.6172,2.76547 34.8557,2 36.2106,2 Z"
+ fill="url(#paint1_linear_84_430)"
+ id="path58"
+ style="fill:url(#paint1_linear_84_430)" />
+ <path
+ d="M 36.2106,2 H 75.7295 C 86.8802,2 94.1327,13.7347 89.1459,23.7082 L 76.2366,49.5268 c -0.0304,0.0628 -0.0613,0.1255 -0.0926,0.1881 L 75,52 76.2366,49.5268 C 81.0459,39.5939 73.8149,28 62.7309,28 H 26.7876 c -2.659,0 -4.3885,-2.7983 -3.1993,-5.1766 L 33.0113,3.97728 C 33.6172,2.76547 34.8557,2 36.2106,2 Z"
+ fill="url(#paint2_linear_84_430)"
+ id="path60"
+ style="fill:url(#paint2_linear_84_430)" />
+ <g
+ filter="url(#filter0_f_84_430)"
+ id="g64">
+ <path
+ d="M 62.7295,58.4 H 10.4213 c -2.70911,0 -5.18576,1.5303 -6.39783,3.9531 L 17.0227,36.3546 C 18.2345,33.931 20.7116,32.4 23.4213,32.4 h 52.3051 c 5.674,0 10.8623,-3.2014 13.4069,-8.2727 L 90,22.4 76.1459,50.1082 C 73.605,55.19 68.4111,58.4 62.7295,58.4 Z"
+ fill="#000000"
+ fill-opacity="0.24"
+ id="path62" />
+ </g>
+ <g
+ filter="url(#filter1_f_84_430)"
+ id="g68">
+ <path
+ d="M 62.7295,60 H 10.4213 C 7.71219,60 5.23554,61.5303 4.02347,63.9531 L 17.0227,37.9545 C 18.2345,35.5309 20.7116,34 23.4213,34 h 52.3051 c 5.674,0 10.8623,-3.2015 13.4069,-8.2728 L 90,24 76.1459,51.7082 C 73.605,56.79 68.4111,60 62.7295,60 Z"
+ fill="#000000"
+ fill-opacity="0.32"
+ id="path66" />
+ </g>
+ <path
+ d="M 62.7295,58 H 10.4213 C 7.71219,58 5.23554,59.5303 4.02347,61.9531 L 17.0227,35.9545 C 18.2345,33.5309 20.7116,32 23.4213,32 h 52.3051 c 5.674,0 10.8623,-3.2015 13.4069,-8.2728 L 90,22 76.1459,49.7082 C 73.605,54.79 68.4111,58 62.7295,58 Z"
+ fill="url(#paint3_linear_84_430)"
+ id="path70"
+ style="fill:url(#paint3_linear_84_430)" />
+ <path
+ opacity="0.7"
+ d="M 62.7004,58 H 10.4598 C 7.75011,58 5.27299,59.5309 4.06119,61.9546 L 17.0612,35.9545 C 18.273,33.5309 20.7501,32 23.4598,32 H 76 c 5.4957,0 10.5234,-3.0939 13,-8 L 76.1107,49.7203 C 73.5675,54.7954 68.3771,58 62.7004,58 Z"
+ fill="url(#paint4_linear_84_430)"
+ id="path72"
+ style="fill:url(#paint4_linear_84_430)" />
+ </g>
+</svg>
diff --git a/src/main/webapp/img/lib/dynamics365/BusinessCentral.svg b/src/main/webapp/img/lib/dynamics365/BusinessCentral.svg
new file mode 100644
index 000000000..67a54c365
--- /dev/null
+++ b/src/main/webapp/img/lib/dynamics365/BusinessCentral.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="96" height="96" fill="none" xmlns:v="https://vecta.io/nano"><style><![CDATA[.B{fill-rule:evenodd}.C{fill:#000}.D{fill-opacity:.32}.E{fill-opacity:.24}.F{color-interpolation-filters:sRGB}]]></style><g clip-path="url(#H)"><mask id="A" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="96" height="96"><path d="M0 48c0 4.253 2.949 7.816 6.914 8.757 3.429 16.168 16.161 28.899 32.329 32.329C40.184 93.051 43.747 96 48 96s7.816-2.949 8.757-6.914c16.168-3.429 28.899-16.16 32.329-32.329C93.051 55.816 96 52.253 96 48s-2.949-7.816-6.914-8.757c-3.429-16.168-16.161-28.9-32.329-32.329C55.816 2.949 52.253 0 48 0s-7.816 2.949-8.757 6.914C23.075 10.344 10.344 23.075 6.914 39.243 2.949 40.184 0 43.747 0 48z" fill="#8df7db" class="B"/></mask><g mask="url(#A)"><circle cx="48" cy="48" r="48" fill="url(#D)"/><path d="M52 17.065A9 9 0 0 0 57 9a9 9 0 1 0-18 0 9 9 0 0 0 5 8.064V23h8v-5.936z" fill="#9df3f9" class="B"/><path d="M44 78.936A9 9 0 0 0 48 96a9 9 0 0 0 4-17.064V73h-8v5.936z" fill="#82ebf1" class="B"/><path d="M17.065 44A9 9 0 0 0 0 48a9 9 0 0 0 17.065 4H23v-8h-5.936z" fill="#9df3f9" class="B"/><g filter="url(#B)" class="C D"><circle cx="48" cy="50" r="26"/><path d="M59.317 54C57.67 58.661 53.225 62 48 62c-6.627 0-12-5.373-12-12s5.373-12 12-12c5.225 0 9.67 3.339 11.317 8H80v8H59.317z" class="B"/><use href="#I"/></g><g filter="url(#C)" class="C E"><circle cx="48" cy="48.38" r="26"/><path d="M59.317 52.38c-1.647 4.661-6.092 8-11.317 8-6.627 0-12-5.373-12-12s5.373-12 12-12c5.225 0 9.67 3.339 11.317 8H80v8H59.317z" class="B"/><path d="M87 57.38a9 9 0 1 1 0-18 9 9 0 1 1 0 18z"/></g><circle cx="48" cy="48" r="26" fill="url(#E)"/><path d="M59.317 52C57.67 56.661 53.225 60 48 60c-6.627 0-12-5.373-12-12s5.373-12 12-12c5.225 0 9.67 3.339 11.317 8H80v8H59.317z" fill="url(#F)" class="B"/><path d="M87 57a9 9 0 1 1 0-18 9 9 0 1 1 0 18z" fill="url(#G)"/></g></g><defs><filter id="B" x="14" y="16" width="90" height="68" filterUnits="userSpaceOnUse" class="F"><feFlood flood-opacity="0"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation="4"/></filter><filter id="C" x="21.24" y="21.62" width="75.52" height="53.52" filterUnits="userSpaceOnUse" class="F"><feFlood flood-opacity="0"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation=".38"/></filter><linearGradient id="D" x1="22.703" y1="11.351" x2="72.649" y2="84.649" href="#J"><stop stop-color="#009ca8"/><stop offset="1" stop-color="#007d85"/></linearGradient><linearGradient id="E" x1="31.784" y1="26.27" x2="66.162" y2="83.351" href="#J"><stop stop-color="#36e3ee"/><stop offset="1" stop-color="#00b1be"/></linearGradient><linearGradient id="F" x1="31.135" y1="24" x2="75.243" y2="63.568" href="#J"><stop stop-color="#d2f6f9"/><stop offset="1" stop-color="#82ebf1"/></linearGradient><linearGradient id="G" x1="96.973" y1="50.919" x2="72.324" y2="42.162" href="#J"><stop stop-color="#9aeef3"/><stop offset="1" stop-color="#82ebf1"/></linearGradient><clipPath id="H"><path fill="#fff" d="M0 0h96v96H0z"/></clipPath><path id="I" d="M87 59a9 9 0 1 1 0-18 9 9 0 1 1 0 18z"/><linearGradient id="J" gradientUnits="userSpaceOnUse"/></defs></svg>
\ No newline at end of file
diff --git a/src/main/webapp/img/lib/dynamics365/Commerce.svg b/src/main/webapp/img/lib/dynamics365/Commerce.svg
new file mode 100644
index 000000000..714baed0e
--- /dev/null
+++ b/src/main/webapp/img/lib/dynamics365/Commerce.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="95.935" height="84" fill="none" xmlns:v="https://vecta.io/nano"><g clip-path="url(#H)" transform="translate(-.043 -6)"><mask id="A" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="6" width="96" height="84"><path d="M.122 10.786A4 4 0 0 1 4.044 6h24.646a4 4 0 0 1 3.929 3.252L33.143 12h58.834a4 4 0 0 1 3.909 4.848l-5.638 26A4 4 0 0 1 86.339 46H39.62l1.905 10h38.544a4 4 0 0 1 3.914 4.826l-5.485 26A4 4 0 0 1 74.584 90H19.278a4 4 0 0 1-3.922-3.214z" fill="url(#D)"/></mask><g mask="url(#A)"><path d="M95.885 16.848A4 4 0 0 0 91.976 12H1.937l6.376 34h78.026a4 4 0 0 0 3.909-3.152z" fill="url(#E)"/><path d="M83.982 60.826A4 4 0 0 0 80.068 56H14.791a4 4 0 0 0-3.936 4.714l4.714 26A4 4 0 0 0 19.505 90h55.079a4 4 0 0 0 3.914-3.174z" fill="url(#F)"/><g filter="url(#B)"><path d="M4.043 8a4 4 0 0 0-3.922 4.786l15.234 76A4 4 0 0 0 19.277 92H48L32.619 11.252A4 4 0 0 0 28.69 8z" fill="#000" fill-opacity=".32"/></g><g filter="url(#C)"><path d="M4.043 6.38a4 4 0 0 0-3.922 4.786l15.234 76a4 4 0 0 0 3.922 3.214H48L32.619 9.632A4 4 0 0 0 28.69 6.38z" fill="#000" fill-opacity=".24"/></g><path d="M4.043 6a4 4 0 0 0-3.922 4.786l15.234 76A4 4 0 0 0 19.277 90H48L32.619 9.252A4 4 0 0 0 28.69 6z" fill="url(#G)"/></g></g><defs><filter id="B" x="-7.958" y="0" width="63.958" height="100" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation="4"/></filter><filter id="C" x="-.718" y="5.62" width="49.478" height="85.52" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation=".38"/></filter><linearGradient id="D" x1="-12.499" y1="-15" x2="35.789" y2="95.344" href="#I"><stop stop-color="#fac240"/><stop offset=".2" stop-color="#f29800"/></linearGradient><linearGradient id="E" x1="96.937" y1="12" x2="77.183" y2="71.135" href="#I"><stop stop-color="#ffed80"/><stop offset="1" stop-color="#ffdb00"/></linearGradient><linearGradient id="F" x1="85" y1="56" x2="13.812" y2="96.672" href="#I"><stop stop-color="#ea8200"/><stop offset="1" stop-color="#c46a08"/></linearGradient><linearGradient id="G" x1="-12.5" y1="-15" x2="35.788" y2="95.344" href="#I"><stop stop-color="#fac240"/><stop offset=".2" stop-color="#f29800"/></linearGradient><clipPath id="H"><path fill="#fff" d="M0 0h96v96H0z"/></clipPath><linearGradient id="I" gradientUnits="userSpaceOnUse"/></defs></svg>
\ No newline at end of file
diff --git a/src/main/webapp/img/lib/dynamics365/ConnectedStore.svg b/src/main/webapp/img/lib/dynamics365/ConnectedStore.svg
new file mode 100644
index 000000000..08b545c54
--- /dev/null
+++ b/src/main/webapp/img/lib/dynamics365/ConnectedStore.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="96" height="96" fill="none" xmlns:v="https://vecta.io/nano"><mask id="A" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="96" height="96"><path fill-rule="evenodd" d="M41.074 24H16.051a4 4 0 0 0-3.472 2.014l-11.443 20a4 4 0 0 0 0 3.973l11.443 20a4 4 0 0 0 3.472 2.013h25.023 0l12.579 21.986a4 4 0 0 0 3.472 2.013h22.823a4 4 0 0 0 3.472-2.013l11.443-20a4 4 0 0 0 0-3.973L82.269 48l12.595-22.013a4 4 0 0 0 0-3.973l-11.443-20A4 4 0 0 0 79.949 0H57.125a4 4 0 0 0-3.472 2.014L41.074 24z" fill="url(#G)"/></mask><g mask="url(#A)"><path d="M1.137 46.013a4 4 0 0 0 0 3.973l11.443 20a4 4 0 0 0 3.472 2.013h25.143l13.732-24-13.732-24H16.051a4 4 0 0 0-3.472 2.014l-11.443 20z" fill="url(#H)"/><path d="M41.074 72l12.58 21.986a4 4 0 0 0 3.472 2.013h22.823a4 4 0 0 0 3.472-2.013l11.443-20a4 4 0 0 0 0-3.973L82.269 48H54.806L41.074 72z" fill="url(#I)"/><path d="M41.074 24l13.732 24h27.463l12.595-22.013a4 4 0 0 0 0-3.973l-11.443-20A4 4 0 0 0 79.949 0H57.126a4 4 0 0 0-3.472 2.014L41.074 24z" fill="url(#J)"/><g filter="url(#E)"><circle cx="54.672" cy="49.997" r="27.607" fill="#000" fill-opacity=".32"/></g><g filter="url(#F)"><circle cx="54.672" cy="48.377" r="27.607" fill="#000" fill-opacity=".24"/></g><mask id="B" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="23" width="55" height="49"><path d="M0 48l13.731 24h27.463l13.732-24-13.732-24H13.732L0 48z" fill="url(#K)"/></mask><g mask="url(#B)"><circle cx="54.672" cy="48" r="27.607" fill="url(#L)"/></g><mask id="C" mask-type="alpha" maskUnits="userSpaceOnUse" x="41" y="47" width="56" height="49"><path d="M41.074 72l13.732 24h27.463L96 72 82.269 48H54.806L41.074 72z" fill="url(#M)"/></mask><g mask="url(#C)"><circle cx="54.672" cy="48" r="27.607" fill="url(#N)"/></g><mask id="D" mask-type="alpha" maskUnits="userSpaceOnUse" x="41" y="0" width="56" height="48"><path d="M41.074 24l13.732 24h27.463L96 24 82.269 0H54.806L41.074 24z" fill="url(#O)"/></mask><g mask="url(#D)"><circle cx="54.672" cy="48" r="27.607" fill="url(#P)"/></g></g><defs><filter id="E" x="19.065" y="14.39" width="71.213" height="71.213" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation="4"/></filter><filter id="F" x="26.305" y="20.01" width="56.733" height="56.733" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation=".38"/></filter><linearGradient id="G" x1="90.171" y1="48" x2="66.342" y2="0" href="#Q"><stop stop-color="#f69b63"/><stop offset="1" stop-color="#ffb685"/></linearGradient><linearGradient id="H" x1="14.399" y1="24" x2="33.186" y2="75.769" href="#Q"><stop stop-color="#7151a7"/><stop offset="1" stop-color="#4a356f"/></linearGradient><linearGradient id="I" x1="44.751" y1="48" x2="96.952" y2="85.458" href="#Q"><stop stop-color="#cd9ef0"/><stop offset="1" stop-color="#8661c5"/></linearGradient><linearGradient id="J" x1="65.001" y1="-2.5" x2="92.209" y2="43.025" href="#Q"><stop stop-color="#f1d9ff"/><stop offset="1" stop-color="#e4b4ff"/></linearGradient><linearGradient id="K" x1="0" y1="24" x2="63.934" y2="47.76" href="#Q"><stop stop-color="#cd9ef0"/><stop offset="1" stop-color="#9f75d3"/></linearGradient><linearGradient id="L" x1="27.065" y1="20.393" x2="48.554" y2="86.559" href="#Q"><stop stop-color="#cd9ef0"/><stop offset="1" stop-color="#9f75d3"/></linearGradient><linearGradient id="M" x1="41.074" y1="48" x2="96.091" y2="95.895" href="#Q"><stop stop-color="#ebc7ff"/><stop offset="1" stop-color="#e4b4ff"/></linearGradient><linearGradient id="N" x1="27.065" y1="20.393" x2="73.913" y2="81.971" href="#Q"><stop stop-color="#ebc7ff"/><stop offset="1" stop-color="#e4b4ff"/></linearGradient><linearGradient id="O" x1="41.074" y1="0" x2="92.069" y2="53.114" href="#Q"><stop stop-color="#f8ecff"/><stop offset=".927" stop-color="#f1d9ff"/></linearGradient><linearGradient id="P" x1="27.065" y1="20.393" x2="80.266" y2="78.842" href="#Q"><stop stop-color="#f8ecff"/><stop offset=".927" stop-color="#f1d9ff"/></linearGradient><linearGradient id="Q" gradientUnits="userSpaceOnUse"/></defs></svg>
\ No newline at end of file
diff --git a/src/main/webapp/img/lib/dynamics365/CoreHR.svg b/src/main/webapp/img/lib/dynamics365/CoreHR.svg
new file mode 100644
index 000000000..e8e5903c3
--- /dev/null
+++ b/src/main/webapp/img/lib/dynamics365/CoreHR.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="84" height="84" fill="none" xmlns:v="https://vecta.io/nano"><style><![CDATA[.B{color-interpolation-filters:sRGB}.C{flood-opacity:0}.D{fill-rule:evenodd}]]></style><g clip-path="url(#I)" transform="translate(-6 -6)"><mask id="A" mask-type="alpha" maskUnits="userSpaceOnUse" x="6" y="6" width="84" height="84"><rect x="6" y="6" width="84" height="84" rx="4" fill="#c4c4c4"/></mask><g mask="url(#A)"><rect x="6" y="6" width="84" height="84" rx="4" fill="url(#F)"/><g filter="url(#B)"><use href="#J" fill="#000" fill-opacity=".24"/></g><g filter="url(#C)"><use href="#J" fill="#000" fill-opacity=".32"/></g><path d="M6 30h56a4 4 0 0 1 4 4v56H6z" fill="url(#G)"/><g filter="url(#D)" class="D"><path d="M24 48.38c9.941 0 18-8.059 18-18s-8.059-18-18-18-18 8.059-18 18 8.059 18 18 18zm14 6H6v36h36v-32a4 4 0 0 0-4-4z" fill="#000" fill-opacity=".24"/></g><g filter="url(#E)" class="D"><path d="M24 50c9.941 0 18-8.059 18-18s-8.059-18-18-18S6 22.059 6 32s8.059 18 18 18zm14 6H6v36h36V60a4 4 0 0 0-4-4z" fill="#000" fill-opacity=".32"/></g><path d="M24 48c9.941 0 18-8.059 18-18s-8.059-18-18-18S6 20.059 6 30s8.059 18 18 18zm14 6H6v36h36V58a4 4 0 0 0-4-4z" fill="url(#H)" class="D"/></g></g><defs><filter id="B" x="5.24" y="29.62" width="61.52" height="61.52" filterUnits="userSpaceOnUse" class="B"><feFlood class="C"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation=".38"/></filter><filter id="C" x="-2" y="22.38" width="76" height="76" filterUnits="userSpaceOnUse" class="B"><feFlood class="C"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation="4"/></filter><filter id="D" x="5.24" y="11.62" width="37.52" height="79.52" filterUnits="userSpaceOnUse" class="B"><feFlood class="C"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation=".38"/></filter><filter id="E" x="-2" y="6" width="52" height="94" filterUnits="userSpaceOnUse" class="B"><feFlood class="C"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation="4"/></filter><linearGradient id="F" x1="6" y1="6" x2="87.008" y2="92.793" gradientUnits="userSpaceOnUse"><stop stop-color="#8661c5"/><stop offset="1" stop-color="#5c428b"/></linearGradient><linearGradient id="G" x1="6" y1="30" x2="29.351" y2="101.902" gradientUnits="userSpaceOnUse"><stop stop-color="#cd9ef0"/><stop offset="1" stop-color="#9f75d3"/></linearGradient><linearGradient id="H" x1="4.895" y1="12" x2="66.536" y2="48.078" gradientUnits="userSpaceOnUse"><stop stop-color="#f1d9ff"/><stop offset="1" stop-color="#e4b4ff"/></linearGradient><clipPath id="I"><path fill="#fff" d="M0 0h96v96H0z"/></clipPath><path id="J" d="M6 30.38h56a4 4 0 0 1 4 4v56H6z"/></defs></svg>
\ No newline at end of file
diff --git a/src/main/webapp/img/lib/dynamics365/CustomerInsights.svg b/src/main/webapp/img/lib/dynamics365/CustomerInsights.svg
new file mode 100644
index 000000000..b82a2e59e
--- /dev/null
+++ b/src/main/webapp/img/lib/dynamics365/CustomerInsights.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="96" height="96" fill="none" xmlns:v="https://vecta.io/nano"><style><![CDATA[.B{fill:#000}.C{color-interpolation-filters:sRGB}.D{flood-opacity:0}.E{fill-rule:evenodd}.F{fill-opacity:.32}.G{fill-opacity:.24}]]></style><g clip-path="url(#L)"><mask id="A" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="96" height="96"><path d="M48 93.506C43.981 95.115 39.594 96 35 96 15.67 96 0 80.33 0 61c0-11.005 5.079-20.824 13.022-27.24C13.675 15.004 29.085 0 48 0s34.325 15.004 34.978 33.76C90.921 40.176 96 49.995 96 61c0 19.33-15.67 35-35 35-4.594 0-8.981-.885-13-2.494z" fill="url(#H)" class="E"/></mask><g mask="url(#A)"><path d="M48 28.494C60.893 33.655 70 46.264 70 61a35.48 35.48 0 0 1-.022 1.24C63.971 67.094 56.325 70 48 70s-15.971-2.906-21.978-7.76C26.007 61.829 26 61.415 26 61c0-14.736 9.107-27.345 22-32.506z" fill="url(#I)" class="E"/><g filter="url(#B)" class="B F"><path d="M82.978 35.76A34.85 34.85 0 0 0 61 28c-19.33 0-35 15.67-35 35 0 .415.007.829.022 1.24C18.079 57.824 13 48.005 13 37 13 17.67 28.67 2 48 2c18.915 0 34.325 15.004 34.978 33.76z"/></g><g filter="url(#C)" class="B G"><path d="M82.978 34.14C76.971 29.286 69.325 26.38 61 26.38c-19.33 0-35 15.67-35 35a35.48 35.48 0 0 0 .022 1.24C18.079 56.204 13 46.385 13 35.38c0-19.33 15.67-35 35-35 18.915 0 34.325 15.004 34.978 33.76z"/></g><path d="M82.978 33.76A34.85 34.85 0 0 0 61 26c-19.33 0-35 15.67-35 35 0 .415.007.829.022 1.24C18.079 55.824 13 46.005 13 35 13 15.67 28.67 0 48 0c18.915 0 34.325 15.004 34.978 33.76z" fill="url(#J)" class="E"/><g filter="url(#D)" class="B F"><path d="M69.978 64.241A34.85 34.85 0 0 1 48 72c-19.33 0-35-15.67-35-35a35.48 35.48 0 0 1 .022-1.24C5.079 42.176 0 51.995 0 63c0 19.33 15.67 35 35 35 18.915 0 34.325-15.004 34.978-33.76z"/></g><g filter="url(#E)" class="B G"><path d="M69.978 62.621A34.85 34.85 0 0 1 48 70.38c-19.33 0-35-15.67-35-35a35.48 35.48 0 0 1 .022-1.24C5.079 40.556 0 50.375 0 61.38c0 19.33 15.67 35 35 35 18.915 0 34.325-15.004 34.978-33.76z"/></g><path d="M69.978 62.24A34.85 34.85 0 0 1 48 70c-19.33 0-35-15.67-35-35 0-.415.007-.829.022-1.24C5.079 40.176 0 49.995 0 61c0 19.33 15.67 35 35 35 18.915 0 34.325-15.004 34.978-33.76z" fill="url(#H)" class="E"/><g filter="url(#F)" class="B F"><path d="M48 95.506C60.893 90.345 70 77.736 70 63s-9.107-27.345-22-32.506C52.019 28.885 56.406 28 61 28c19.33 0 35 15.67 35 35S80.33 98 61 98c-4.594 0-8.981-.885-13-2.494z"/></g><g filter="url(#G)" class="B G"><path d="M48 93.886c12.893-5.161 22-17.77 22-32.506s-9.107-27.345-22-32.506c4.019-1.609 8.406-2.494 13-2.494 19.33 0 35 15.67 35 35s-15.67 35-35 35c-4.594 0-8.981-.885-13-2.494z"/></g><path d="M48 93.506C60.893 88.345 70 75.736 70 61s-9.107-27.345-22-32.506C52.019 26.885 56.406 26 61 26c19.33 0 35 15.67 35 35S80.33 96 61 96c-4.594 0-8.981-.885-13-2.494z" fill="url(#K)" class="E"/></g></g><defs><filter id="B" x="5" y="-6" width="85.978" height="78.24" filterUnits="userSpaceOnUse" class="C"><feFlood class="D"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation="4"/></filter><filter id="C" x="12.24" y="-.38" width="71.498" height="63.76" filterUnits="userSpaceOnUse" class="C"><feFlood class="D"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation=".38"/></filter><filter id="D" x="-8" y="27.76" width="85.978" height="78.24" filterUnits="userSpaceOnUse" class="C"><feFlood class="D"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation="4"/></filter><filter id="E" x="-.76" y="33.38" width="71.498" height="63.76" filterUnits="userSpaceOnUse" class="C"><feFlood class="D"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation=".38"/></filter><filter id="F" x="40" y="20" width="64" height="86" filterUnits="userSpaceOnUse" class="C"><feFlood class="D"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation="4"/></filter><filter id="G" x="47.24" y="25.62" width="49.52" height="71.52" filterUnits="userSpaceOnUse" class="C"><feFlood class="D"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation=".38"/></filter><linearGradient id="H" x1="31" y1="54.5" x2="88.165" y2="109.795" href="#M"><stop stop-color="#40c4f5"/><stop offset="1" stop-color="#0095e6"/></linearGradient><linearGradient id="I" x1="26" y1="28.494" x2="68.92" y2="71.088" href="#M"><stop stop-color="#2064ae"/><stop offset="1" stop-color="#27518a"/></linearGradient><linearGradient id="J" x1="24.938" y1="5.533" x2="49.648" y2="64.633" href="#M"><stop stop-color="#7cecff"/><stop offset="1" stop-color="#50e6ff"/></linearGradient><linearGradient id="K" x1="45.5" y1="26" x2="80.5" y2="88" href="#M"><stop stop-color="#0095e6"/><stop offset="1" stop-color="#0078d4"/></linearGradient><clipPath id="L"><path fill="#fff" d="M0 0h96v96H0z"/></clipPath><linearGradient id="M" gradientUnits="userSpaceOnUse"/></defs></svg>
\ No newline at end of file
diff --git a/src/main/webapp/img/lib/dynamics365/CustomerService.svg b/src/main/webapp/img/lib/dynamics365/CustomerService.svg
new file mode 100644
index 000000000..d248676af
--- /dev/null
+++ b/src/main/webapp/img/lib/dynamics365/CustomerService.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="96" height="84.01" fill="none" xmlns:v="https://vecta.io/nano"><g clip-path="url(#G)" transform="translate(0 -6)"><mask id="A" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="6" width="96" height="85"><path d="M4 6h25.494a4 4 0 0 1 3.005 1.36l15.503 17.644L63.501 7.36A4 4 0 0 1 66.506 6H92a4 4 0 0 1 4 4v24.913a4 4 0 0 1-.969 2.61l-44 51.097a4 4 0 0 1-6.062 0l-44-51.097A4 4 0 0 1 0 34.913V10a4 4 0 0 1 4-4z" fill="url(#D)"/></mask><g mask="url(#A)"><path d="M66.506 6H92a4 4 0 0 1 4 4v24.913a4 4 0 0 1-.969 2.61l-44 51.094a4 4 0 0 1-6.062 0l-26.161-30.38L63.501 7.36A4 4 0 0 1 66.506 6z" fill="url(#E)"/><g opacity=".32" filter="url(#B)"><path d="M29.494 8H4a4 4 0 0 0-4 4v24.913a4 4 0 0 0 .969 2.61l44 51.097a4 4 0 0 0 6.062 0l26.164-30.389L32.499 9.36A4 4 0 0 0 29.494 8z" fill="#000"/></g><g filter="url(#C)"><path d="M29.494 6.38H4a4 4 0 0 0-4 4v24.913a4 4 0 0 0 .969 2.61l44 51.097a4 4 0 0 0 6.062 0l26.164-30.389L32.499 7.74a4 4 0 0 0-3.005-1.36z" fill="#000" fill-opacity=".24"/></g><path d="M29.494 6H4a4 4 0 0 0-4 4v24.913a4 4 0 0 0 .969 2.61l44 51.097a4 4 0 0 0 6.062 0l26.164-30.389L32.499 7.36A4 4 0 0 0 29.494 6z" fill="url(#D)"/><path fill-rule="evenodd" d="M48.002 25.004L18.808 58.237l26.161 30.38a4 4 0 0 0 6.062 0l10.577-12.283 15.587-18.104z" fill="url(#F)"/></g></g><defs><filter id="B" x="-8" y="0" width="93.195" height="100.01" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation="4"/></filter><filter id="C" x="-.76" y="5.62" width="78.715" height="85.53" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation=".38"/></filter><linearGradient id="D" x1="-21.5" y1="-19" x2="51.001" y2="64.258" gradientUnits="userSpaceOnUse"><stop stop-color="#ebc7ff"/><stop offset=".493" stop-color="#e4b4ff"/></linearGradient><linearGradient id="E" x1="28" y1="-4" x2="91.185" y2="89.486" gradientUnits="userSpaceOnUse"><stop stop-color="#8661c5"/><stop offset="1" stop-color="#5c428b"/></linearGradient><linearGradient id="F" x1="-6.166" y1="2.535" x2="34.534" y2="116.672" gradientUnits="userSpaceOnUse"><stop stop-color="#cd9ef0"/><stop offset=".894" stop-color="#9f75d3"/></linearGradient><clipPath id="G"><path fill="#fff" d="M0 0h96v96H0z"/></clipPath></defs></svg>
\ No newline at end of file
diff --git a/src/main/webapp/img/lib/dynamics365/CustomerServiceInsights.svg b/src/main/webapp/img/lib/dynamics365/CustomerServiceInsights.svg
new file mode 100644
index 000000000..903291046
--- /dev/null
+++ b/src/main/webapp/img/lib/dynamics365/CustomerServiceInsights.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="96" height="96" fill="none" xmlns:v="https://vecta.io/nano"><style><![CDATA[.B{color-interpolation-filters:sRGB}.C{flood-opacity:0}]]></style><g clip-path="url(#J)"><mask id="A" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="96" height="96"><path d="M64 4.023c0-3.47 4.115-5.294 6.686-2.964l24 21.75A4 4 0 0 1 96 25.773V80a4 4 0 0 1-4 4H64V4.023z" fill="url(#F)"/><path d="M32 16a4 4 0 0 1 4-4h28v72H32v7.977c0 3.47-4.115 5.294-6.686 2.964l-24-21.75A4 4 0 0 1 0 70.227V28a4 4 0 0 1 4-4h28v-8z" fill="url(#F)"/></mask><g mask="url(#A)"><path d="M64 4.023c0-3.47 4.115-5.294 6.686-2.964l24 21.75A4 4 0 0 1 96 25.773V80a4 4 0 0 1-4 4H64V4.023z" fill="url(#G)"/><g filter="url(#B)"><path d="M32 18a4 4 0 0 1 4-4h28v72H32V18z" fill="#000" fill-opacity=".32"/></g><g filter="url(#C)"><path d="M32 16.38a4 4 0 0 1 4-4h28v72H32v-68z" fill="#000" fill-opacity=".24"/></g><path d="M32 16a4 4 0 0 1 4-4h28v72H32V16z" fill="url(#H)"/><g filter="url(#D)"><path d="M0 30a4 4 0 0 1 4-4h28v67.977c0 3.47-4.115 5.294-6.686 2.964l-24-21.75A4 4 0 0 1 0 72.227V30z" fill="#000" fill-opacity=".32"/></g><g filter="url(#E)"><path d="M0 28.38a4 4 0 0 1 4-4h28v67.977c0 3.47-4.115 5.294-6.686 2.964l-24-21.75A4 4 0 0 1 0 70.607V28.38z" fill="#000" fill-opacity=".24"/></g><path d="M0 28a4 4 0 0 1 4-4h28v67.977c0 3.47-4.115 5.294-6.686 2.964l-24-21.75A4 4 0 0 1 0 70.227V28z" fill="url(#I)"/></g></g><defs><filter id="B" x="24" y="6" width="48" height="88" filterUnits="userSpaceOnUse" class="B"><feFlood class="C"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation="4"/></filter><filter id="C" x="31.24" y="11.62" width="33.52" height="73.52" filterUnits="userSpaceOnUse" class="B"><feFlood class="C"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation=".38"/></filter><filter id="D" x="-8" y="18" width="48" height="87.985" filterUnits="userSpaceOnUse" class="B"><feFlood class="C"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation="4"/></filter><filter id="E" x="-.76" y="23.62" width="33.52" height="73.505" filterUnits="userSpaceOnUse" class="B"><feFlood class="C"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation=".38"/></filter><linearGradient id="F" x1="1.5" y1=".639" x2="20.369" y2="109.925" href="#K"><stop stop-color="#c3f488"/><stop offset="1" stop-color="#8fdc50"/></linearGradient><linearGradient id="G" x1="61" y1="-1.5" x2="96.5" y2="84.5" href="#K"><stop stop-color="#158915"/><stop offset="1" stop-color="#065f18"/></linearGradient><linearGradient id="H" x1="32" y1="12" x2="65.963" y2="83.062" href="#K"><stop stop-color="#6ad116"/><stop offset="1" stop-color="#34a117"/></linearGradient><linearGradient id="I" x1=".5" y1="24.5" x2="32.5" y2="101.5" href="#K"><stop stop-color="#c3f488"/><stop offset="1" stop-color="#8fdc50"/></linearGradient><clipPath id="J"><path fill="#fff" d="M0 0h96v96H0z"/></clipPath><linearGradient id="K" gradientUnits="userSpaceOnUse"/></defs></svg>
\ No newline at end of file
diff --git a/src/main/webapp/img/lib/dynamics365/CustomerVoice.svg b/src/main/webapp/img/lib/dynamics365/CustomerVoice.svg
new file mode 100644
index 000000000..b6ccfe006
--- /dev/null
+++ b/src/main/webapp/img/lib/dynamics365/CustomerVoice.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="95.439" height="87.274" fill="none" xmlns:v="https://vecta.io/nano"><style><![CDATA[.B{fill:#000}.C{color-interpolation-filters:sRGB}.D{flood-opacity:0}.E{fill-opacity:.32}.F{fill-opacity:.24}.G{fill-rule:evenodd}]]></style><g clip-path="url(#I)" transform="translate(-.426 -4.511)"><mask id="A" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="4" width="96" height="88"><path d="M2.385 60.41c4.861 18.142 26.402 34.456 51.2 30.879 3.237-.467 5.115-3.754 4.268-6.913l13.78 5.163c1.316.493 2.799.265 3.875-.638 18.001-15.093 23.844-32.686 18.398-53.013-4.861-18.142-26.402-34.456-51.2-30.879-3.237.467-5.115 3.754-4.268 6.913l-13.78-5.163c-1.316-.493-2.799-.265-3.875.638C2.781 22.489-3.062 40.082 2.385 60.41z" fill="#c4c4c4" class="G"/></mask><g mask="url(#A)"><path d="M36.905 6.204c27.17-7.28 51.764 10.142 57.001 29.686 5.62 20.974-.78 39.037-20.152 54.446l-15.901-5.957-4.591-17.135c-.286-1.067.35-2.157 1.394-2.519 6.25-2.17 11.539-6.521 14.869-12.289 3.665-6.347 4.658-13.891 2.761-20.97s-6.529-13.116-12.876-16.78-13.891-4.658-20.97-2.761z" fill="url(#F)"/><g filter="url(#B)" class="B E"><path d="M39.804 34.284c2.005-.86 3.294-2.96 2.718-5.109L57.85 86.376c-7.08 1.897-14.623.904-20.97-2.761S25.9 73.915 24.003 66.835s-.904-14.623 2.761-20.97c3-5.197 7.59-9.243 13.04-11.581z"/><path d="M56.485 66.014c-2.005.86-3.294 2.96-2.718 5.109L38.44 13.922c7.08-1.897 14.623-.904 20.97 2.761s10.979 9.701 12.876 16.78.904 14.623-2.761 20.97c-3 5.197-7.59 9.243-13.04 11.581z"/></g><g filter="url(#C)" class="B F"><path d="M39.804 32.664c2.005-.86 3.294-2.96 2.718-5.109L57.85 84.756c-7.08 1.897-14.623.904-20.97-2.761S25.9 72.295 24.003 65.215s-.904-14.623 2.761-20.97c3-5.197 7.59-9.243 13.04-11.581z"/><path d="M56.485 64.394c-2.005.86-3.294 2.96-2.718 5.109L38.44 12.302c7.08-1.897 14.623-.904 20.97 2.761s10.979 9.701 12.876 16.78.904 14.623-2.761 20.97c-3 5.197-7.59 9.243-13.04 11.581z"/></g><path d="M39.804 32.289c2.005-.86 3.294-2.96 2.718-5.109l3.075 11.477-7.158-26.731c7.08-1.897 14.623-.904 20.97 2.761s10.979 9.701 12.876 16.78.904 14.623-2.761 20.97c-3 5.197-7.59 9.243-13.04 11.581-1.946.835-3.226 2.838-2.773 4.921l4.138 15.442c-7.08 1.897-14.623.904-20.97-2.761S25.9 71.919 24.003 64.839s-.904-14.623 2.761-20.97c3-5.197 7.59-9.243 13.04-11.581z" fill="url(#G)" class="G"/><g filter="url(#D)" class="B E"><path d="M59.382 92.099C32.211 99.379 7.618 81.956 2.381 62.413c-5.62-20.974.78-39.037 20.152-54.446l15.901 5.957 4.074 15.203c.572 2.134-.711 4.301-2.74 5.175-5.435 2.34-10.011 6.38-13.005 11.565-3.665 6.347-4.658 13.891-2.761 20.97s6.529 13.116 12.876 16.78 13.891 4.658 20.97 2.761z"/></g><g filter="url(#E)" class="B F"><path d="M59.382 90.479C32.211 97.759 7.618 80.336 2.381 60.793c-5.62-20.974.78-39.037 20.152-54.446l15.901 5.957 4.074 15.203c.572 2.134-.711 4.301-2.74 5.174-5.435 2.34-10.011 6.38-13.005 11.565-3.665 6.347-4.658 13.891-2.761 20.97s6.529 13.116 12.876 16.78 13.891 4.658 20.97 2.761z"/></g><path d="M59.382 90.097C32.211 97.378 7.618 79.955 2.381 60.412c-5.62-20.974.78-39.037 20.152-54.446l15.901 5.957 4.074 15.203c.572 2.134-.711 4.301-2.74 5.174-5.435 2.34-10.011 6.38-13.005 11.565-3.665 6.347-4.658 13.891-2.761 20.97s6.529 13.116 12.876 16.78 13.891 4.658 20.97 2.761z" fill="url(#H)"/></g></g><defs><filter id="B" x="15.062" y="4.98" width="66.166" height="90.338" filterUnits="userSpaceOnUse" class="C"><feFlood class="D"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation="4"/></filter><filter id="C" x="22.302" y="10.6" width="51.686" height="75.858" filterUnits="userSpaceOnUse" class="C"><feFlood class="D"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation=".38"/></filter><filter id="D" x="-7.577" y="-.033" width="74.959" height="101.822" filterUnits="userSpaceOnUse" class="C"><feFlood class="D"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation="4"/></filter><filter id="E" x="-.337" y="5.587" width="60.479" height="87.342" filterUnits="userSpaceOnUse" class="C"><feFlood class="D"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation=".38"/></filter><linearGradient id="F" x1="92.25" y1="103.502" x2="32.5" y2="-45.499" gradientUnits="userSpaceOnUse"><stop stop-color="#205b54"/><stop offset=".475" stop-color="#177a6e"/><stop offset="1" stop-color="#0e9c8b"/></linearGradient><linearGradient id="G" x1="85.75" y1="124.752" x2="100.562" y2="-16.954" gradientUnits="userSpaceOnUse"><stop stop-color="#0e9c8b"/><stop offset="1" stop-color="#54c7b8"/></linearGradient><linearGradient id="H" x1="-3.001" y1="-15.248" x2="69.749" y2="123.002" gradientUnits="userSpaceOnUse"><stop stop-color="#cbf8f3"/><stop offset="1" stop-color="#5cd9ca"/></linearGradient><clipPath id="I"><path d="M0 0h96v96H0z" fill="#fff"/></clipPath></defs></svg>
\ No newline at end of file
diff --git a/src/main/webapp/img/lib/dynamics365/Dynamics365.svg b/src/main/webapp/img/lib/dynamics365/Dynamics365.svg
new file mode 100644
index 000000000..ce8441d3e
--- /dev/null
+++ b/src/main/webapp/img/lib/dynamics365/Dynamics365.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="70" height="94.611" fill="none" xmlns:v="https://vecta.io/nano"><g clip-path="url(#F)" transform="translate(-12 -.673)"><defs><filter id="A" x="-.018" y="-.015" width="1.037" height="1.029"><feFlood flood-opacity="0"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation=".4"/></filter><filter id="B" x="-.185" y="-.145" width="1.369" height="1.291"><feFlood flood-opacity="0"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation="4"/></filter><linearGradient id="C" x1="38.045" y1="-1" x2="56.659" y2="47.723" gradientUnits="userSpaceOnUse"><stop stop-color="#0b53ce"/><stop offset="1" stop-color="#7252aa"/></linearGradient><linearGradient id="D" x1="64.138" y1="93.492" x2="64.138" y2="35.415" gradientUnits="userSpaceOnUse"><stop stop-color="#2266e3"/><stop offset="1" stop-color="#ae7fe2"/></linearGradient><linearGradient id="E" x1="82" y1="56.786" x2="62.076" y2="56.786" gradientUnits="userSpaceOnUse"><stop stop-color="#94b9ff"/><stop offset=".288" stop-color="#94b9ff" stop-opacity=".524"/><stop offset="1" stop-color="#538fff" stop-opacity="0"/></linearGradient><clipPath id="F"><path fill="#fff" d="M0 0h96v96H0z"/></clipPath><path id="G" d="M82 31h0a10.01 10.01 0 0 1-6.568 9.4L30 57v40l52-19z"/></defs><mask id="H" mask-type="alpha" maskUnits="userSpaceOnUse" x="12" y="0" width="70" height="96"><path d="M82 31.047a10 10 0 0 0-6.637-9.417L17.345.909C14.74-.021 12 1.91 12 4.676v31.505a4 4 0 0 0 2.655 3.767l26 9.286c2.605.93 5.345-1.001 5.345-3.767v-18.09a2 2 0 0 1 2.704-1.872l6.818 2.566A10 10 0 0 1 62 37.43v7.878L32.627 56.04A4 4 0 0 0 30 59.797V91.28c0 2.778 2.763 4.711 5.373 3.757L75.432 80.4A10 10 0 0 0 82 71.007z" fill="#fff"/></mask><g mask="url(#H)"><path d="M12-1l70 25v34.325c0 2.766-2.74 4.697-5.345 3.767L62 56.859V37.424a10 10 0 0 0-6.483-9.361l-6.814-2.56A2 2 0 0 0 46 27.375v23.768L12 39z" fill="url(#C)"/><g filter="url(#A)"><path d="M82 31.4h0a10.01 10.01 0 0 1-6.568 9.4L30 57.4v40l52-19z" fill="#000" fill-opacity=".24"/></g><g filter="url(#B)"><path d="M82 33h0a10.01 10.01 0 0 1-6.568 9.4L30 59v40l52-19z" fill="#000" fill-opacity=".32"/></g><use href="#G" fill="url(#D)"/><use href="#G" opacity=".5" fill="url(#E)"/><path opacity=".5" d="M62.001 45.32l-16.009 5.857v23.458a2 2 0 0 0 2.705 1.872l6.827-2.57a10 10 0 0 0 6.477-9.359z" fill="#b0adff"/></g></g></svg>
\ No newline at end of file
diff --git a/src/main/webapp/img/lib/dynamics365/FieldService.svg b/src/main/webapp/img/lib/dynamics365/FieldService.svg
new file mode 100644
index 000000000..761dece19
--- /dev/null
+++ b/src/main/webapp/img/lib/dynamics365/FieldService.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="95.883" height="89.721" fill="none" xmlns:v="https://vecta.io/nano"><g clip-path="url(#H)" transform="translate(0 -6)"><mask id="A" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="6" width="96" height="90"><path fill-rule="evenodd" d="M21.226 8.079A4 4 0 0 1 24.735 6h45.173a4 4 0 0 1 3.461 1.995L95.344 45.92a4 4 0 0 1 .031 3.956L77.61 81.685c-1.456 2.607-5.151 2.757-6.814.278L65.67 74.32 51.23 94.081c-1.598 2.187-4.861 2.187-6.459 0L30.252 74.213l-5.2 7.745c-1.665 2.48-5.363 2.326-6.816-.284L.505 49.822a4 4 0 0 1-.014-3.866z" fill="url(#D)"/></mask><g mask="url(#A)"><path d="M21.226 8.079A4 4 0 0 1 24.735 6h45.173a4 4 0 0 1 3.461 1.995L95.344 45.92a4 4 0 0 1 .031 3.956L77.61 81.685c-1.456 2.607-5.151 2.757-6.814.278L51.254 52.827c-1.584-2.362-5.058-2.363-6.643-.001L25.052 81.958c-1.665 2.48-5.363 2.326-6.816-.284L.505 49.822a4 4 0 0 1-.014-3.866z" fill="url(#E)"/><g filter="url(#B)"><path d="M25.952 29.039c11.758-13.15 32.339-13.15 44.096 0h0a29.58 29.58 0 0 1 1.831 37.164L51.23 94.461c-1.598 2.187-4.861 2.187-6.459 0l-20.65-28.258a29.58 29.58 0 0 1 1.831-37.164z" fill="#000" fill-opacity=".18"/></g><g filter="url(#C)"><path d="M25.952 30.659c11.758-13.15 32.339-13.15 44.096 0h0a29.58 29.58 0 0 1 1.831 37.164L51.23 96.081c-1.598 2.187-4.861 2.187-6.459 0l-20.65-28.258a29.58 29.58 0 0 1 1.831-37.164z" fill="#000" fill-opacity=".2"/></g><path d="M25.952 28.659c11.758-13.15 32.339-13.15 44.096 0h0a29.58 29.58 0 0 1 1.831 37.164L51.23 94.081c-1.598 2.187-4.861 2.187-6.459 0l-20.65-28.258a29.58 29.58 0 0 1 1.831-37.164z" fill="url(#F)"/><circle cx="48" cy="48" r="18" fill="url(#G)"/></g></g><defs><filter id="B" x="17.664" y="18.417" width="60.672" height="78.444" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation=".38"/></filter><filter id="C" x="14.424" y="16.797" width="67.152" height="84.924" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation="2"/></filter><linearGradient id="D" x1="0" y1="6" x2="85.942" y2="104.403" href="#I"><stop stop-color="#ffed80"/><stop offset="1" stop-color="#fcd680"/></linearGradient><linearGradient id="E" x1="8.421" y1="-1.092" x2="110.556" y2="51.325" href="#I"><stop stop-color="#f5b240"/><stop offset=".554" stop-color="#ea8200"/></linearGradient><linearGradient id="F" x1="10" y1="4" x2="108.546" y2="54.526" href="#I"><stop stop-color="#fdd340"/><stop offset="1" stop-color="#f9ae00"/></linearGradient><linearGradient id="G" x1="30" y1="30" x2="64.718" y2="67.197" href="#I"><stop stop-color="#ffed80"/><stop offset="1" stop-color="#fcd680"/></linearGradient><clipPath id="H"><path fill="#fff" d="M0 0h96v96H0z"/></clipPath><linearGradient id="I" gradientUnits="userSpaceOnUse"/></defs></svg>
\ No newline at end of file
diff --git a/src/main/webapp/img/lib/dynamics365/Finance.svg b/src/main/webapp/img/lib/dynamics365/Finance.svg
new file mode 100644
index 000000000..6e31b08bd
--- /dev/null
+++ b/src/main/webapp/img/lib/dynamics365/Finance.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="84" height="83.099" fill="none" xmlns:v="https://vecta.io/nano"><style><![CDATA[.B{color-interpolation-filters:sRGB}.C{flood-opacity:0}]]></style><g clip-path="url(#J)" transform="translate(-6 -6.901)"><mask id="A" mask-type="alpha" maskUnits="userSpaceOnUse" x="6" y="6" width="84" height="84"><path d="M61.706 7.661a4 4 0 0 1 4.623-.049l21.948 15.195A4 4 0 0 1 90 26.096V86a4 4 0 0 1-4 4H10a4 4 0 0 1-4-4V50.042a4 4 0 0 1 1.654-3.24z" fill="#fff"/></mask><g mask="url(#A)"><g filter="url(#B)"><path d="M64 6l26 18v66H6V48z" fill="url(#G)"/></g><g filter="url(#C)"><use href="#K" fill="#000" fill-opacity=".32"/></g><g filter="url(#D)"><use href="#K" fill="#000" fill-opacity=".24"/></g><path d="M61.636 41.253a4 4 0 0 0 4.738.013L90 24v66H6V68l44.132-31.794a4 4 0 0 1 4.716.029z" fill="url(#H)"/><g filter="url(#E)"><path d="M90 90.38v-29l-6.654-4.806a4 4 0 0 0-4.689.004L32 90.38z" fill="#000" fill-opacity=".24"/></g><g filter="url(#F)"><path d="M90 92.38v-29l-6.654-4.806a4 4 0 0 0-4.689.004L32 92.38z" fill="#000" fill-opacity=".32"/></g><path d="M90 90V61l-6.654-4.806a4 4 0 0 0-4.689.004L32 90z" fill="url(#I)"/></g></g><defs><filter id="B" x="-2" y="0" width="100" height="100" filterUnits="userSpaceOnUse" class="B"><feFlood result="A" class="C"/><feColorMatrix in="SourceAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feOffset dy="2"/><feGaussianBlur stdDeviation="4"/><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"/><feBlend in2="A"/><feBlend in="SourceGraphic"/></filter><filter id="C" x="-2" y="22.42" width="100" height="82" filterUnits="userSpaceOnUse" class="B"><feFlood result="A" class="C"/><feColorMatrix in="SourceAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feOffset dy="4"/><feGaussianBlur stdDeviation="4"/><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/><feBlend in2="A"/><feBlend in="SourceGraphic"/></filter><filter id="D" x="5.24" y="26.42" width="85.52" height="70.76" filterUnits="userSpaceOnUse" class="B"><feFlood result="A" class="C"/><feColorMatrix in="SourceAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feOffset dy="4"/><feGaussianBlur stdDeviation=".38"/><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0"/><feBlend in2="A"/><feBlend in="SourceGraphic"/></filter><filter id="E" x="31.24" y="55.057" width="59.52" height="36.083" filterUnits="userSpaceOnUse" class="B"><feFlood class="C"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation=".38"/></filter><filter id="F" x="24" y="49.817" width="74" height="50.563" filterUnits="userSpaceOnUse" class="B"><feFlood class="C"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation="4"/></filter><linearGradient id="G" x1="-1.875" y1="9.303" x2="11.921" y2="102.255" gradientUnits="userSpaceOnUse"><stop stop-color="#158915"/><stop offset="1" stop-color="#065f18"/></linearGradient><linearGradient id="H" x1="-13.687" y1="24.458" x2="-2.419" y2="100.635" gradientUnits="userSpaceOnUse"><stop stop-color="#6ad116"/><stop offset="1" stop-color="#34a117"/></linearGradient><linearGradient id="I" x1="32.906" y1="54.731" x2="37.258" y2="95.902" gradientUnits="userSpaceOnUse"><stop stop-color="#c3f488"/><stop offset="1" stop-color="#8fdc50"/></linearGradient><clipPath id="J"><path fill="#fff" d="M0 0h96v96H0z"/></clipPath><path id="K" d="M61.636 43.673a4 4 0 0 0 4.738.013L90 26.42v66H6v-22l44.132-31.794a4 4 0 0 1 4.716.029z"/></defs></svg>
\ No newline at end of file
diff --git a/src/main/webapp/img/lib/dynamics365/Finance_Operations.svg b/src/main/webapp/img/lib/dynamics365/Finance_Operations.svg
new file mode 100644
index 000000000..908f9acb1
--- /dev/null
+++ b/src/main/webapp/img/lib/dynamics365/Finance_Operations.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="78.38" height="95.981" fill="none" xmlns:v="https://vecta.io/nano"><style><![CDATA[.B{color-interpolation-filters:sRGB}.C{flood-opacity:0}]]></style><g clip-path="url(#J)" transform="translate(-11.002 -.012)"><mask id="A" mask-type="alpha" maskUnits="userSpaceOnUse" x="11" y="0" width="79" height="96"><path d="M44.28 1.183a4 4 0 0 0-5.657 0L12.177 27.629a4 4 0 0 0 0 5.657l14.7 14.7-14.703 14.703a4 4 0 0 0 0 5.657l26.476 26.476a4 4 0 0 0 5.657 0L73.61 65.517 61.646 53.553l11.966 11.96 14.613-14.763a4 4 0 0 0-.014-5.642L73.557 30.456l-.002.002z" fill="url(#E)"/></mask><g mask="url(#A)"><g filter="url(#B)"><path d="M38.649 36.213a4 4 0 0 1 5.657 0L73.61 65.517 44.306 94.821a4 4 0 0 1-5.657 0L12.173 68.346a4 4 0 0 1 0-5.657z" fill="url(#F)"/></g><g filter="url(#C)"><path d="M38.623 3.178a4 4 0 0 1 5.657 0l29.275 29.275L44.28 61.728a4 4 0 0 1-5.657 0L12.176 35.282a4 4 0 0 1 0-5.657z" fill="#000" fill-opacity=".32"/></g><g filter="url(#D)"><path d="M38.623 1.558a4 4 0 0 1 5.657 0l29.275 29.275L44.28 60.108a4 4 0 0 1-5.657 0L12.176 33.662a4 4 0 0 1 0-5.657z" fill="#000" fill-opacity=".24"/></g><path d="M38.623 1.183a4 4 0 0 1 5.657 0l29.275 29.275L44.28 59.733a4 4 0 0 1-5.657 0L12.176 33.286a4 4 0 0 1 0-5.657z" fill="url(#G)"/><path d="M73.557 30.456L88.21 45.108a4 4 0 0 1 .014 5.642L73.612 65.513 56.049 47.959z" fill="url(#H)"/><path fill-rule="evenodd" d="M56.052 47.96L44.28 59.733a4 4 0 0 1-5.657 0L26.876 47.986l11.773-11.773a4 4 0 0 1 5.657 0z" fill="url(#I)"/></g></g><defs><filter id="B" x="5.345" y="30.385" width="72.265" height="72.265" filterUnits="userSpaceOnUse" class="B"><feFlood result="A" class="C"/><feColorMatrix in="SourceAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feOffset dy="1"/><feGaussianBlur stdDeviation="2"/><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/><feBlend mode="hard-light" in2="A"/><feBlend in="SourceGraphic"/></filter><filter id="C" x="1.348" y="-7.65" width="80.206" height="80.206" filterUnits="userSpaceOnUse" class="B"><feFlood class="C"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation="4"/></filter><filter id="D" x="8.588" y="-2.03" width="65.726" height="65.726" filterUnits="userSpaceOnUse" class="B"><feFlood class="C"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation=".38"/></filter><linearGradient id="E" x1="11.002" y1=".012" x2="54.665" y2="109.8" href="#K"><stop stop-color="#cd9ef0"/><stop offset="1" stop-color="#9f75d3"/></linearGradient><linearGradient id="F" x1="41.478" y1="33.385" x2="39.265" y2="97.573" href="#K"><stop stop-color="#8661c5"/><stop offset="1" stop-color="#5c428b"/></linearGradient><linearGradient id="G" x1="41.451" y1="-1.645" x2="32.886" y2="61.397" href="#K"><stop stop-color="#ebc7ff"/><stop offset="1" stop-color="#e4b4ff"/></linearGradient><linearGradient id="H" x1="73.555" y1="30.453" x2="71.835" y2="65.898" href="#K"><stop stop-color="#f8ecff"/><stop offset="1" stop-color="#f1d9ff"/></linearGradient><linearGradient id="I" x1="26.876" y1="35.041" x2="35.985" y2="66.681" href="#K"><stop stop-color="#cd9ef0"/><stop offset="1" stop-color="#9f75d3"/></linearGradient><clipPath id="J"><path fill="#fff" d="M0 0h96v96H0z"/></clipPath><linearGradient id="K" gradientUnits="userSpaceOnUse"/></defs></svg>
\ No newline at end of file
diff --git a/src/main/webapp/img/lib/dynamics365/FraudProtection.svg b/src/main/webapp/img/lib/dynamics365/FraudProtection.svg
new file mode 100644
index 000000000..4cc439da5
--- /dev/null
+++ b/src/main/webapp/img/lib/dynamics365/FraudProtection.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="84" height="95.281" fill="none" xmlns:v="https://vecta.io/nano"><style><![CDATA[.B{color-interpolation-filters:sRGB}.C{flood-opacity:0}]]></style><g clip-path="url(#I)" transform="translate(-6 -.341)"><mask id="A" mask-type="alpha" maskUnits="userSpaceOnUse" x="6" y="0" width="84" height="96"><path fill-rule="evenodd" d="M8.446 16.68A4 4 0 0 0 6 20.365V42v24c0 14.57 30.852 26.202 39.671 29.23a7.1 7.1 0 0 0 4.658 0C59.148 92.202 90 80.57 90 66V42v-.001-21.634a4 4 0 0 0-2.446-3.686l-38-16.024a4 4 0 0 0-3.108 0zm9.014 20.488l-11.406 4.81 11.405-4.809z" fill="url(#F)"/></mask><g mask="url(#A)"><path d="M90 66c0 14.57-30.852 26.202-39.671 29.23a7.1 7.1 0 0 1-4.658 0C36.852 92.202 6 80.57 6 66c0-23.196 18.804-42 42-42s42 18.804 42 42z" fill="url(#G)"/><g filter="url(#B)"><path d="M6 43.999l40.448-17.053a4 4 0 0 1 3.108 0L90 43.998v24.001L49.554 50.943a4 4 0 0 0-3.108 0L6 67.999z" fill="#000" fill-opacity=".32"/></g><g filter="url(#C)"><path d="M6 42.379l40.448-17.054a4 4 0 0 1 3.108 0L90 42.378v24.001L49.554 49.323a4 4 0 0 0-3.108 0L6 66.379z" fill="#000" fill-opacity=".24"/></g><path d="M6 42l40.448-17.053a4 4 0 0 1 3.108 0L90 41.999V66L49.554 48.945a4 4 0 0 0-3.108 0L6 66z" fill="url(#H)"/><g filter="url(#D)"><path d="M6 22.365a4 4 0 0 1 2.446-3.686l38-16.024a4 4 0 0 1 3.108 0l38 16.024A4 4 0 0 1 90 22.365V44L49.554 26.945a4 4 0 0 0-3.108 0L6 44z" fill="#000" fill-opacity=".32"/></g><g filter="url(#E)"><path d="M6 20.745a4 4 0 0 1 2.446-3.686l38-16.024a4 4 0 0 1 3.108 0l38 16.024A4 4 0 0 1 90 20.745V42.38L49.554 25.325a4 4 0 0 0-3.108 0L6 42.38z" fill="#000" fill-opacity=".24"/></g><path d="M6 20.365a4 4 0 0 1 2.446-3.686l38-16.024a4 4 0 0 1 3.108 0l38 16.024A4 4 0 0 1 90 20.365V42L49.554 24.945a4 4 0 0 0-3.108 0L6 42z" fill="url(#F)"/></g></g><defs><filter id="B" x="-2" y="18.631" width="100" height="57.368" filterUnits="userSpaceOnUse" class="B"><feFlood class="C"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation="4"/></filter><filter id="C" x="5.24" y="24.251" width="85.52" height="42.888" filterUnits="userSpaceOnUse" class="B"><feFlood class="C"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation=".38"/></filter><filter id="D" x="-2" y="-5.659" width="100" height="57.659" filterUnits="userSpaceOnUse" class="B"><feFlood class="C"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation="4"/></filter><filter id="E" x="5.24" y="-.039" width="85.52" height="43.179" filterUnits="userSpaceOnUse" class="B"><feFlood class="C"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation=".38"/></filter><linearGradient id="F" x1="7" y1="-19.229" x2="31.901" y2="62.779" gradientUnits="userSpaceOnUse"><stop stop-color="#ffed80"/><stop offset=".961" stop-color="#ffdb00"/></linearGradient><linearGradient id="G" x1="6" y1="24" x2="102.908" y2="53.283" gradientUnits="userSpaceOnUse"><stop stop-color="#ea8200"/><stop offset="1" stop-color="#c46a08"/></linearGradient><linearGradient id="H" x1="6" y1="24.291" x2="89.136" y2="67.657" gradientUnits="userSpaceOnUse"><stop stop-color="#fac240"/><stop offset="1" stop-color="#f29800"/></linearGradient><clipPath id="I"><path fill="#fff" d="M0 0h96v96H0z"/></clipPath></defs></svg>
\ No newline at end of file
diff --git a/src/main/webapp/img/lib/dynamics365/ImportTool.svg b/src/main/webapp/img/lib/dynamics365/ImportTool.svg
new file mode 100644
index 000000000..1b29c9db2
--- /dev/null
+++ b/src/main/webapp/img/lib/dynamics365/ImportTool.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="84" height="94.786" fill="none" xmlns:v="https://vecta.io/nano"><g clip-path="url(#I)" transform="translate(-6 -.607)"><mask id="A" mask-type="alpha" maskUnits="userSpaceOnUse" x="6" y="0" width="84" height="96"><path d="M26.999 81.678a4 4 0 0 0 2.015 3.473l17.001 9.715a4 4 0 0 0 3.969 0l38-21.714A4 4 0 0 0 90 69.679V26.321a4 4 0 0 0-2.015-3.473l-38-21.714a4 4 0 0 0-3.969 0l-38 21.714A4 4 0 0 0 6 26.321v19.358a4 4 0 0 0 2.015 3.473L26.999 60z" fill="url(#D)"/></mask><g mask="url(#A)"><path d="M48 96L6 72V24L48 0l42 24v48z" fill="url(#E)"/><path d="M48 72L27 60V36l21-12 21 12v24z" fill="url(#F)"/><path opacity=".5" d="M48 48L27 36l21-12 21 12z" fill="url(#G)"/><g opacity=".2" filter="url(#B)"><path d="M47.999 98l-42-24V26l42 24z" fill="#000"/></g><g opacity=".18" filter="url(#C)"><path d="M47.999 96.38l-42-24v-48l42 24z" fill="#000"/></g><path d="M47.999 96l-42-24V24l42 24z" fill="url(#H)"/></g></g><defs><filter id="B" x="-2.001" y="18" width="58" height="88" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation="4"/></filter><filter id="C" x="5.239" y="23.62" width="43.52" height="73.52" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation=".38"/></filter><linearGradient id="D" x1="90" y1="96" x2="-10.59" y2="73.204" href="#J"><stop stop-color="#fac240"/><stop offset="1" stop-color="#f29800"/></linearGradient><linearGradient id="E" x1="6" y1="0" x2="106.59" y2="22.796" href="#J"><stop stop-color="#fac240"/><stop offset="1" stop-color="#f29800"/></linearGradient><linearGradient id="F" x1="27" y1="24" x2="77.295" y2="35.398" href="#J"><stop stop-color="#ea8200"/><stop offset="1" stop-color="#c46a08"/></linearGradient><linearGradient id="G" x1="27" y1="24" x2="70.866" y2="43.883" href="#J"><stop stop-color="#f5b240"/><stop offset="1" stop-color="#ea8200"/></linearGradient><linearGradient id="H" x1="5.999" y1="24" x2="68.561" y2="63.1" href="#J"><stop stop-color="#ffed80"/><stop offset="1" stop-color="#ffdb00"/></linearGradient><clipPath id="I"><path fill="#fff" d="M0 0h96v96H0z"/></clipPath><linearGradient id="J" gradientUnits="userSpaceOnUse"/></defs></svg>
\ No newline at end of file
diff --git a/src/main/webapp/img/lib/dynamics365/IntelligentOrderManagement.svg b/src/main/webapp/img/lib/dynamics365/IntelligentOrderManagement.svg
new file mode 100644
index 000000000..54452a1ae
--- /dev/null
+++ b/src/main/webapp/img/lib/dynamics365/IntelligentOrderManagement.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="96" height="96" fill="none" xmlns:v="https://vecta.io/nano"><defs><filter id="A"><feFlood flood-opacity="0"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation=".4"/></filter><filter id="B"><feFlood flood-opacity="0"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation="4"/></filter><linearGradient id="C" x1="54" y1="126.667" x2="21.5" y2="-30.667" gradientUnits="userSpaceOnUse"><stop stop-color="#6b2929"/><stop offset="1" stop-color="#b6311d"/></linearGradient><linearGradient id="D" x1="63.5" y1="98" x2="42" y2="-2.5" gradientUnits="userSpaceOnUse"><stop stop-color="#d83b01"/><stop offset="1" stop-color="#ed7e43"/></linearGradient><linearGradient id="E" x1="52.5" y1="18.5" x2="70.868" y2="75.15" gradientUnits="userSpaceOnUse"><stop stop-color="#f8b48a"/><stop offset="1" stop-color="#ed7e43"/></linearGradient></defs><mask id="F" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="96" height="96"><path d="M32 24v8h-8C10.745 32 0 42.745 0 56v24c0 8.837 7.163 16 16 16h24c13.255 0 24-10.745 24-24v-8h8c13.255 0 24-10.745 24-24V16c0-8.837-7.163-16-16-16H56C42.745 0 32 10.745 32 24z" fill="#c4c4c4"/></mask><g mask="url(#F)"><path d="M96 0H64V32H96V0Z" fill="url(#C)"/><path d="M32 64H0V96H32V64Z" fill="url(#C)"/><g filter="url(#A)"><path d="M64 96.4v-80c0-8.837 7.163-16 16-16h0-48v80c0 8.837-7.163 16-16 16h0 48z" fill="#000" fill-opacity=".24"/></g><g filter="url(#B)"><path d="M64 98V18c0-8.836 7.163-16 16-16h0-48v80c0 8.837-7.163 16-16 16h0 48z" fill="#000" fill-opacity=".32"/></g><path d="M64 96V16c0-8.836 7.163-16 16-16h0-48v80c0 8.837-7.163 16-16 16h0 48z" fill="url(#D)"/><g filter="url(#A)"><path d="M0 32.4h80c8.837 0 16-7.163 16-16h0v48H16c-8.837 0-16 7.163-16 16h0v-48z" fill="#000" fill-opacity=".24"/></g><g filter="url(#B)"><path d="M0 34h80c8.837 0 16-7.163 16-16h0v48H16C7.163 66 0 73.163 0 82h0V34z" fill="#000" fill-opacity=".32"/></g><path d="M0 32h80c8.837 0 16-7.163 16-16h0v48H16C7.163 64 0 71.163 0 80h0V32z" fill="url(#E)"/></g></svg>
\ No newline at end of file
diff --git a/src/main/webapp/img/lib/dynamics365/Layout.svg b/src/main/webapp/img/lib/dynamics365/Layout.svg
new file mode 100644
index 000000000..38667e835
--- /dev/null
+++ b/src/main/webapp/img/lib/dynamics365/Layout.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="84" height="93.908" fill="none" xmlns:v="https://vecta.io/nano"><g clip-path="url(#G)" transform="translate(-6 -.642)"><mask id="A" mask-type="alpha" maskUnits="userSpaceOnUse" x="6" y="0" width="84" height="95"><path d="M7.984 23.501l37.98-22.306a4.02 4.02 0 0 1 4.072 0l37.98 22.306A4.02 4.02 0 0 1 90 26.968V67.98A4.02 4.02 0 0 1 85.98 72H48v20.603c0 1.503-1.633 2.438-2.929 1.677L7.984 72.499A4.02 4.02 0 0 1 6 69.032V26.968a4.02 4.02 0 0 1 1.984-3.466z" fill="#75757a"/></mask><g mask="url(#A)"><path d="M91.2 24L48 0v48l43.2 24z" fill="url(#C)"/><path d="M91.2 72L48 48v24z" fill="url(#D)"/><g filter="url(#B)"><path d="M48 48L4.8 24v48L48 96z" fill="url(#E)"/></g><path d="M48 0L4.8 24 48 48z" fill="url(#F)"/></g></g><defs><filter id="B" x=".13" y="19.997" width="53.875" height="82.675" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="A"/><feColorMatrix in="SourceAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feOffset dx="0.667182" dy="1.33436"/><feGaussianBlur stdDeviation="2.669"/><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"/><feBlend in2="A"/><feBlend in="SourceGraphic"/></filter><linearGradient id="C" x1="48" y1="0" x2="111.318" y2="40.704" href="#H"><stop stop-color="#8661c5"/><stop offset="1" stop-color="#5c428b"/></linearGradient><linearGradient id="D" x1="60.842" y1="47.887" x2="60.842" y2="72.113" href="#H"><stop stop-color="#f8ecff"/><stop offset="1" stop-color="#f1d9ff"/></linearGradient><linearGradient id="E" x1="1.508" y1="24.114" x2="46.041" y2="97.194" href="#H"><stop stop-color="#cd9ef0"/><stop offset="1" stop-color="#9f75d3"/></linearGradient><linearGradient id="F" x1="5.211" y1="8.8" x2="46.864" y2="49.172" href="#H"><stop stop-color="#f1d9ff"/><stop offset="1" stop-color="#e4b4ff"/></linearGradient><clipPath id="G"><path fill="#fff" d="M0 0h96v96H0z"/></clipPath><linearGradient id="H" gradientUnits="userSpaceOnUse"/></defs></svg>
\ No newline at end of file
diff --git a/src/main/webapp/img/lib/dynamics365/MRPortal.svg b/src/main/webapp/img/lib/dynamics365/MRPortal.svg
new file mode 100644
index 000000000..1c6cb9862
--- /dev/null
+++ b/src/main/webapp/img/lib/dynamics365/MRPortal.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="96" height="88.011" fill="none" xmlns:v="https://vecta.io/nano"><g clip-path="url(#C)" transform="translate(0 -3.989)"><path d="M20.745 68.902c-2.076.754-3.169 3.064-2.169 5.034A33 33 0 0 0 47.82 92c6.745.037 13.339-1.993 18.894-5.817a33 33 0 0 0 10.549-11.922c1.022-1.959-.045-4.28-2.113-5.058l-1.916-.72c-2.068-.777-4.346.294-5.47 2.196-1.689 2.857-3.986 5.328-6.746 7.228-3.864 2.66-8.451 4.072-13.142 4.046s-9.262-1.489-13.096-4.191c-2.739-1.93-5.008-4.426-6.665-7.302-1.103-1.914-3.369-3.01-5.446-2.256z" fill="url(#A)"/><path d="M36.386 53.647l5.952-5.969a8 8 0 0 1 11.33 0l5.952 5.969a8 8 0 0 0 5.665 2.351h6.719c13.256 0 24.002-10.746 24.002-24.002V16.45c0-2.805-1.448-5.457-4.021-6.575C77.501 3.58 55.289 3.994 48.003 3.994S18.505 3.58 4.021 9.876C1.448 10.994 0 13.645 0 16.45v15.546c0 13.256 10.746 24.002 24.002 24.002h6.719a8 8 0 0 0 5.665-2.351z" fill="url(#B)"/><rect x="39.002" y="11.995" width="18.001" height="8.001" rx="4" fill="#0078d4"/></g><defs><linearGradient id="A" x1="38.002" y1="58.998" x2="61.504" y2="100.501" gradientUnits="userSpaceOnUse"><stop stop-color="#22b8f1"/><stop offset="1" stop-color="#018de1"/></linearGradient><linearGradient id="B" x1="35.48" y1="-7.311" x2="82.44" y2="57.389" gradientUnits="userSpaceOnUse"><stop stop-color="#50e6ff"/><stop offset=".676" stop-color="#0095e6"/><stop offset="1" stop-color="#0078d4"/></linearGradient><clipPath id="C"><path fill="#fff" d="M0 0h96v96H0z"/></clipPath></defs></svg>
\ No newline at end of file
diff --git a/src/main/webapp/img/lib/dynamics365/Marketing.svg b/src/main/webapp/img/lib/dynamics365/Marketing.svg
new file mode 100644
index 000000000..632d924e2
--- /dev/null
+++ b/src/main/webapp/img/lib/dynamics365/Marketing.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="83.9" height="83.99" fill="none" xmlns:v="https://vecta.io/nano"><style><![CDATA[.B{color-interpolation-filters:sRGB}.C{flood-opacity:0}]]></style><g clip-path="url(#J)" transform="translate(-6.1 -6)"><mask id="A" mask-type="alpha" maskUnits="userSpaceOnUse" x="6" y="6" width="84" height="84"><path fill-rule="evenodd" d="M7.278 12.827C4.76 10.306 6.545 6 10.108 6H86a4 4 0 0 1 4 4v75.982c0 3.565-4.311 5.349-6.83 2.827L72.067 77.694v8.232c0 3.564-4.309 5.349-6.829 2.828L54 77.509v8.448c0 3.566-4.314 5.35-6.833 2.824L7.323 48.824C4.809 46.303 6.595 42 10.156 42h8.35L7.339 30.828C4.82 28.308 6.605 24 10.168 24h8.27z" fill="url(#F)"/></mask><g mask="url(#A)"><path d="M7.278 12.827C4.76 10.306 6.545 6 10.108 6H86a4 4 0 0 1 4 4v75.982c0 3.565-4.311 5.349-6.83 2.827z" fill="url(#G)"/><g filter="url(#B)"><use href="#K" fill="#000" fill-opacity=".24"/></g><g filter="url(#C)"><path d="M7.338 33.208c-2.519-2.52-.734-6.828 2.829-6.828h57.899a4 4 0 0 1 4 4v57.925c0 3.564-4.309 5.349-6.829 2.828z" fill="#000" fill-opacity=".32"/></g><path d="M7.338 30.828C4.819 28.308 6.604 24 10.168 24h57.899a4 4 0 0 1 4 4v57.925c0 3.564-4.309 5.349-6.829 2.828z" fill="url(#H)"/><g filter="url(#D)"><use href="#L" fill="#000" fill-opacity=".24"/></g><g filter="url(#E)"><path d="M7.324 51.204c-2.514-2.522-.728-6.824 2.832-6.824H50a4 4 0 0 1 4 4v39.958c0 3.566-4.314 5.35-6.832 2.824z" fill="#000" fill-opacity=".32"/></g><path d="M7.324 48.824C4.809 46.303 6.595 42 10.156 42H50a4 4 0 0 1 4 4v39.958c0 3.566-4.314 5.35-6.832 2.824z" fill="url(#I)"/></g></g><defs><filter id="B" x="5.399" y="23.62" width="67.427" height="67.453" filterUnits="userSpaceOnUse" class="B"><feFlood class="C"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation=".38"/></filter><filter id="C" x="-1.841" y="18.38" width="81.908" height="81.933" filterUnits="userSpaceOnUse" class="B"><feFlood class="C"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation="4"/></filter><filter id="D" x="5.388" y="41.62" width="49.372" height="49.486" filterUnits="userSpaceOnUse" class="B"><feFlood class="C"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation=".38"/></filter><filter id="E" x="-1.852" y="36.38" width="63.852" height="63.966" filterUnits="userSpaceOnUse" class="B"><feFlood class="C"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation="4"/></filter><linearGradient id="F" x1="86.688" y1="89.99" x2="16.507" y2="-1.945" href="#M"><stop stop-color="#f69b63"/><stop offset="1" stop-color="#ffb685"/></linearGradient><linearGradient id="G" x1="108.86" y1="108.366" x2="29.95" y2="-18.398" href="#M"><stop stop-color="#922717"/><stop offset=".514" stop-color="#d83b01"/></linearGradient><linearGradient id="H" x1="17.121" y1="7.486" x2="84.232" y2="103.945" href="#M"><stop stop-color="#f69b63"/><stop offset="1" stop-color="#d83b01"/></linearGradient><linearGradient id="I" x1="51.889" y1="95.634" x2="7.052" y2="37.003" href="#M"><stop stop-color="#f69b63"/><stop offset="1" stop-color="#ffb685"/></linearGradient><clipPath id="J"><path fill="#fff" d="M0 0h96v96H0z"/></clipPath><path id="K" d="M7.338 31.208c-2.519-2.52-.734-6.828 2.829-6.828h57.899a4 4 0 0 1 4 4v57.925c0 3.564-4.309 5.349-6.829 2.828z"/><path id="L" d="M7.324 49.204c-2.514-2.522-.728-6.824 2.832-6.824H50a4 4 0 0 1 4 4v39.958c0 3.566-4.314 5.35-6.832 2.824z"/><linearGradient id="M" gradientUnits="userSpaceOnUse"/></defs></svg>
\ No newline at end of file
diff --git a/src/main/webapp/img/lib/dynamics365/ProductVisualize.svg b/src/main/webapp/img/lib/dynamics365/ProductVisualize.svg
new file mode 100644
index 000000000..35ff30030
--- /dev/null
+++ b/src/main/webapp/img/lib/dynamics365/ProductVisualize.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="96" height="96" fill="none" xmlns:v="https://vecta.io/nano"><g clip-path="url(#H)"><mask id="A" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="96" height="96"><path fill-rule="evenodd" d="M49.993 1.147a4 4 0 0 0-3.988 0l-25.999 14.95A4 4 0 0 0 18 19.564v5.595l-7.988 4.574A4 4 0 0 0 8 33.204v7.871L1.969 44.63A4 4 0 0 0 0 48.076v17.848a4 4 0 0 0 1.969 3.446l44 25.933a4 4 0 0 0 4.062 0l44-25.933A4 4 0 0 0 96 65.924V48.076a4 4 0 0 0-1.969-3.446l-6.039-3.559v-7.867a4 4 0 0 0-2.012-3.471l-7.981-4.571v-5.598a4 4 0 0 0-2.006-3.468L49.993 1.147z" fill="#c4c4c4"/></mask><g mask="url(#A)"><path d="M94.031 44.63A4 4 0 0 1 96 48.076v17.848a4 4 0 0 1-1.969 3.446l-44 25.933a4 4 0 0 1-4.062 0l-44-25.933A4 4 0 0 1 0 65.924V48.076a4 4 0 0 1 1.969-3.446l44-25.933a4 4 0 0 1 4.062 0l44 25.933z" fill="url(#D)"/><path d="M85.98 61.248a4 4 0 0 0 2.012-3.471V33.204a4 4 0 0 0-2.012-3.471L49.984 9.119a4 4 0 0 0-3.976 0L10.012 29.733A4 4 0 0 0 8 33.204v24.573a4 4 0 0 0 2.012 3.471l35.996 20.614a4 4 0 0 0 3.975 0L85.98 61.248z" fill="url(#E)"/><g filter="url(#B)"><path d="M46.005 3.147a4 4 0 0 1 3.988 0l25.999 14.95a4 4 0 0 1 2.006 3.468v29.872a4 4 0 0 1-2.006 3.468l-25.999 14.95a4 4 0 0 1-3.988 0l-25.999-14.95A4 4 0 0 1 18 51.436V21.564a4 4 0 0 1 2.006-3.468l25.999-14.95z" fill="#000" fill-opacity=".32"/></g><g filter="url(#C)"><path d="M46.005 1.527a4 4 0 0 1 3.988 0l25.999 14.95a4 4 0 0 1 2.006 3.468v29.872a4 4 0 0 1-2.006 3.468l-25.999 14.95a4 4 0 0 1-3.988 0l-25.999-14.95A4 4 0 0 1 18 49.816V19.944a4 4 0 0 1 2.006-3.468l25.999-14.95z" fill="#000" fill-opacity=".24"/></g><path d="M46.005 1.147a4 4 0 0 1 3.988 0l25.999 14.95a4 4 0 0 1 2.006 3.468v29.872a4 4 0 0 1-2.006 3.468l-25.999 14.95a4 4 0 0 1-3.988 0l-25.999-14.95A4 4 0 0 1 18 49.436V19.564a4 4 0 0 1 2.006-3.468l25.999-14.95z" fill="url(#F)"/><path d="M46.006 1.146a4 4 0 0 1 3.987 0l25.78 14.816a1.5 1.5 0 0 1 .016 2.591L50.036 33.794a4 4 0 0 1-4.075 0L20.216 18.553a1.5 1.5 0 0 1 .017-2.591L46.006 1.146z" fill="url(#G)"/></g></g><defs><filter id="B" x="10" y="-5.386" width="75.999" height="83.772" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation="4"/></filter><filter id="C" x="17.24" y=".234" width="61.519" height="69.292" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation=".38"/></filter><linearGradient id="D" x1="4.5" y1="-2" x2="154.25" y2="-23.376" href="#I"><stop offset=".209" stop-color="#158915"/><stop offset="1" stop-color="#065f18"/></linearGradient><linearGradient id="E" x1="87.992" y1="83" x2="70.124" y2="-5.538" href="#I"><stop stop-color="#34a117"/><stop offset="1" stop-color="#6ad116"/></linearGradient><linearGradient id="F" x1="18" y1="0" x2="86.561" y2="60.428" href="#I"><stop stop-color="#8fdc50"/><stop offset="1" stop-color="#7bca52"/></linearGradient><linearGradient id="G" x1="18.94" y1=".227" x2="23.034" y2="40.86" href="#I"><stop stop-color="#c3f488"/><stop offset="1" stop-color="#8fdc50"/></linearGradient><clipPath id="H"><path fill="#fff" d="M0 0h96v96H0z"/></clipPath><linearGradient id="I" gradientUnits="userSpaceOnUse"/></defs></svg>
\ No newline at end of file
diff --git a/src/main/webapp/img/lib/dynamics365/Product_Insights.svg b/src/main/webapp/img/lib/dynamics365/Product_Insights.svg
new file mode 100644
index 000000000..2271c9a8b
--- /dev/null
+++ b/src/main/webapp/img/lib/dynamics365/Product_Insights.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="95.661" height="83.606" fill="none" xmlns:v="https://vecta.io/nano"><style><![CDATA[.B{color-interpolation-filters:sRGB}.C{flood-opacity:0}.D{fill-rule:evenodd}]]></style><g clip-path="url(#K)" transform="translate(-.339 -6.394)"><mask id="A" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="6" width="97" height="85"><path d="M77.684 7.428a4 4 0 0 0-5.367 0l-13.429 12.15-3.137-2.972a4 4 0 0 0-5.502 0L38.109 28.108l-2.28-2.28a4 4 0 0 0-5.657 0L18.929 37.071a10 10 0 0 0-2.929 7.071v1.859h0v2.059 4.245A40 40 0 0 1 2.908 81.902L1.656 83.04c-2.705 2.459-.965 6.96 2.691 6.96h.487l.111.001h22.056.133.096 23.771c24.853 0 45-20.147 45-45V30.017v-1.579a10 10 0 0 0-3.291-7.415z" fill="url(#G)" class="D"/></mask><g mask="url(#A)"><g filter="url(#B)" class="D"><path d="M77.684 7.428a4 4 0 0 0-5.367 0L57.291 21.023A10 10 0 0 0 54 28.438V32h.001v3.491 2.987a45 45 0 0 1-21.904 38.621l-9.144 5.468C19.469 84.651 20.947 90 25.007 90H51c24.853 0 45-20.147 45-45V30.017v-1.579a10 10 0 0 0-3.291-7.415z" fill="url(#H)"/></g><g filter="url(#C)"><path d="M55.751 18.986a4 4 0 0 0-5.502 0L37.123 31.422A10 10 0 0 0 34 38.681v5.578a40.65 40.65 0 0 1-22.469 36.356l-8.376 4.188C-.62 86.691.724 92.381 4.944 92.381H27c24.853 0 45-20.147 45-45v-8.699a10 10 0 0 0-3.123-7.259z" fill="#000" fill-opacity=".32"/></g><g filter="url(#D)"><path d="M55.751 16.986a4 4 0 0 0-5.502 0L37.123 29.422A10 10 0 0 0 34 36.681v5.578a40.65 40.65 0 0 1-22.469 36.356l-8.376 4.188C-.62 84.691.724 90.381 4.944 90.381H27c24.853 0 45-20.147 45-45v-8.699a10 10 0 0 0-3.123-7.259z" fill="#000" fill-opacity=".24"/></g><path d="M55.751 16.606a4 4 0 0 0-5.502 0L37.123 29.042A10 10 0 0 0 34 36.301V38v3.879a40.65 40.65 0 0 1-22.469 36.356l-8.376 4.188C-.62 84.311.724 90.001 4.944 90.001H27c24.853 0 45-20.147 45-45v-6-2.699a10 10 0 0 0-3.123-7.259z" fill="url(#I)" class="D"/><g filter="url(#E)"><path d="M35.828 27.832a4 4 0 0 0-5.657 0L18.929 39.074A10 10 0 0 0 16 46.145v8.163A40 40 0 0 1 2.907 83.905l-1.251 1.138c-2.705 2.459-.965 6.96 2.691 6.96h.653c24.518 0 44.457-19.608 44.989-43.999h.011v-1.858a10 10 0 0 0-2.929-7.071z" fill="#000" fill-opacity=".32"/></g><g filter="url(#F)"><path d="M35.828 26.212a4 4 0 0 0-5.657 0L18.929 37.454A10 10 0 0 0 16 44.525v8.163A40 40 0 0 1 2.907 82.285l-1.251 1.138c-2.705 2.459-.965 6.96 2.691 6.96h.653c24.518 0 44.457-19.608 44.989-43.999h.011v-1.858a10 10 0 0 0-2.929-7.071z" fill="#000" fill-opacity=".24"/></g><path d="M35.828 25.828a4 4 0 0 0-5.657 0L18.929 37.071A10 10 0 0 0 16 44.142v1.859h0v2.059 4.245A40 40 0 0 1 2.907 81.902L1.655 83.04c-2.705 2.459-.965 6.96 2.691 6.96h.653c24.518 0 44.457-19.608 44.989-43.999h.011v-1.001-.857a10 10 0 0 0-2.929-7.071z" fill="url(#J)" class="D"/></g></g><defs><filter id="B" x="13" y=".394" width="91" height="99.606" filterUnits="userSpaceOnUse" class="B"><feFlood result="A" class="C"/><feColorMatrix in="SourceAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feOffset dy="0.4"/><feGaussianBlur stdDeviation=".4"/><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.24 0"/><feBlend in2="A" result="B"/><feColorMatrix in="SourceAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feOffset dy="2"/><feGaussianBlur stdDeviation="4"/><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.32 0"/><feBlend in2="B"/><feBlend in="SourceGraphic"/></filter><filter id="C" x="-7.062" y="9.89" width="87.062" height="90.491" filterUnits="userSpaceOnUse" class="B"><feFlood class="C"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation="4"/></filter><filter id="D" x=".178" y="15.13" width="72.582" height="76.01" filterUnits="userSpaceOnUse" class="B"><feFlood class="C"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation=".38"/></filter><filter id="E" x="-7.662" y="18.66" width="65.661" height="81.342" filterUnits="userSpaceOnUse" class="B"><feFlood class="C"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation="4"/></filter><filter id="F" x="-.422" y="24.28" width="51.181" height="66.862" filterUnits="userSpaceOnUse" class="B"><feFlood class="C"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation=".38"/></filter><linearGradient id="G" x1="7.327" y1="7.073" x2="39.32" y2="99.487" href="#L"><stop stop-color="#a7f2ff"/><stop offset="1" stop-color="#7cecff"/></linearGradient><linearGradient id="H" x1="48.531" y1="34.614" x2="78.073" y2="84.097" href="#L"><stop stop-color="#0078d4"/><stop offset="1" stop-color="#2064ae"/></linearGradient><linearGradient id="I" x1="30.202" y1="5.912" x2="111.718" y2="83.023" href="#L"><stop stop-color="#40c4f5"/><stop offset="1" stop-color="#0095e6"/></linearGradient><linearGradient id="J" x1="3.966" y1="25.187" x2="37.116" y2="88.793" href="#L"><stop stop-color="#a7f2ff"/><stop offset="1" stop-color="#7cecff"/></linearGradient><clipPath id="K"><path fill="#fff" d="M0 0h96v96H0z"/></clipPath><linearGradient id="L" gradientUnits="userSpaceOnUse"/></defs></svg>
\ No newline at end of file
diff --git a/src/main/webapp/img/lib/dynamics365/ProjectServiceAutomation.svg b/src/main/webapp/img/lib/dynamics365/ProjectServiceAutomation.svg
new file mode 100644
index 000000000..c0af802e9
--- /dev/null
+++ b/src/main/webapp/img/lib/dynamics365/ProjectServiceAutomation.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="90" height="84" fill="none" xmlns:v="https://vecta.io/nano"><g clip-path="url(#H)" transform="translate(-6 -6)"><mask id="A" mask-type="alpha" maskUnits="userSpaceOnUse" x="6" y="6" width="90" height="84"><path d="M6 10a4 4 0 0 1 4-4h42a4 4 0 0 1 4 4v17h36a4 4 0 0 1 4 4v34a4 4 0 0 1-4 4H56v17a4 4 0 0 1-4 4H10a4 4 0 0 1-4-4V56a4 4 0 0 1 4-4h36v-8H10a4 4 0 0 1-4-4z" fill="url(#D)"/></mask><g mask="url(#A)"><path d="M6 10a4 4 0 0 1 4-4h42a4 4 0 0 1 4 4v30a4 4 0 0 1-4 4H10a4 4 0 0 1-4-4z" fill="url(#E)"/><path d="M6 86a4 4 0 0 0 4 4h42a4 4 0 0 0 4-4V56a4 4 0 0 0-4-4H10a4 4 0 0 0-4 4z" fill="url(#F)"/><g filter="url(#B)"><rect x="46" y="29" width="50" height="42" rx="4" fill="#000" fill-opacity=".32"/></g><g filter="url(#C)"><rect x="46" y="27.38" width="50" height="42" rx="4" fill="#000" fill-opacity=".24"/></g><rect x="46" y="27" width="50" height="42" rx="4" fill="url(#G)"/></g></g><defs><filter id="B" x="38" y="21" width="66" height="58" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation="4"/></filter><filter id="C" x="45.24" y="26.62" width="51.52" height="43.52" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation=".38"/></filter><linearGradient id="D" x1="6" y1="6" x2="87.715" y2="94.418" href="#I"><stop stop-color="#ffc8a3"/><stop offset="1" stop-color="#f8b48a"/></linearGradient><linearGradient id="E" x1="56" y1="44" x2="25.554" y2="-5.925" href="#I"><stop stop-color="#d83b01"/><stop offset="1" stop-color="#ed7e43"/></linearGradient><linearGradient id="F" x1="71.625" y1="112.023" x2="-16.69" y2="76.643" href="#I"><stop offset=".004" stop-color="#922717"/><stop offset="1" stop-color="#d83b01"/></linearGradient><linearGradient id="G" x1="46" y1="27" x2="86.299" y2="75.45" href="#I"><stop stop-color="#ffc8a3"/><stop offset="1" stop-color="#f8b48a"/></linearGradient><clipPath id="H"><path fill="#fff" d="M0 0h96v96H0z"/></clipPath><linearGradient id="I" gradientUnits="userSpaceOnUse"/></defs></svg>
\ No newline at end of file
diff --git a/src/main/webapp/img/lib/dynamics365/ProjectTimesheet.svg b/src/main/webapp/img/lib/dynamics365/ProjectTimesheet.svg
new file mode 100644
index 000000000..e4c751bdf
--- /dev/null
+++ b/src/main/webapp/img/lib/dynamics365/ProjectTimesheet.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="96" height="92" fill="none" xmlns:v="https://vecta.io/nano"><defs><filter id="A" x="-.017" y="-.017" width="1.034" height="1.034"><feFlood flood-opacity="0"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation=".4"/></filter><filter id="B" x="-.171" y="-.171" width="1.343" height="1.343"><feFlood flood-opacity="0"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation="4"/></filter><linearGradient id="C" x1="41.5" y1="40" x2="74.5" y2="96" gradientUnits="userSpaceOnUse"><stop stop-color="#ffdac2"/><stop offset="1" stop-color="#f69b63"/></linearGradient></defs><mask id="D" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="4" width="96" height="92"><path d="M4 4a4 4 0 0 0-4 4v64a4 4 0 0 0 4 4h29.16C36.602 87.566 47.316 96 60 96s23.398-8.434 26.841-20H92a4 4 0 0 0 4-4V8a4 4 0 0 0-4-4z" fill="#fff"/></mask><g mask="url(#D)" transform="translate(0 -4)"><path d="M36 4h60v24H36z" fill="#f9894e"/><path d="M60 4H0v24h60z" fill="#e9672d"/><path fill="#b6311d" d="M0 28h96v24H0z"/><path d="M0 52h96v24H0z" fill="#912c26"/><path fill="#d83b01" d="M32 28h64v24H32z"/><g filter="url(#A)"><circle cx="60" cy="68.4" r="28" fill="#000" fill-opacity=".24"/></g><g filter="url(#B)"><circle cx="60" cy="70" r="28" fill="#000" fill-opacity=".32"/></g><circle cx="60" cy="68" r="28" fill="url(#C)"/><path fill-rule="evenodd" d="M62 48a2 2 0 0 1 2 2v14h10a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H60a4 4 0 0 1-4-4V50a2 2 0 0 1 2-2z" fill="#d83b01"/></g></svg>
\ No newline at end of file
diff --git a/src/main/webapp/img/lib/dynamics365/RemoteAssist.svg b/src/main/webapp/img/lib/dynamics365/RemoteAssist.svg
new file mode 100644
index 000000000..773c4014a
--- /dev/null
+++ b/src/main/webapp/img/lib/dynamics365/RemoteAssist.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="84" height="94.799" fill="none" xmlns:v="https://vecta.io/nano"><g clip-path="url(#H)" transform="translate(-6 -.607)"><mask id="A" mask-type="alpha" maskUnits="userSpaceOnUse" x="5" y="0" width="86" height="96"><path d="M46.035.608a4 4 0 0 1 3.93 0l39 21.994A4 4 0 0 1 91 26.086v43.827a4 4 0 0 1-2.035 3.484l-39 21.994a4 4 0 0 1-3.93 0l-39-21.994A4 4 0 0 1 5 69.914V26.086a4 4 0 0 1 2.035-3.484z" fill="#fff"/></mask><g mask="url(#A)"><path d="M46.015 1.134a4 4 0 0 1 3.969 0l38 21.714A4 4 0 0 1 90 26.321v43.357a4 4 0 0 1-2.016 3.473l-38 21.714a4 4 0 0 1-3.969 0l-38-21.714A4 4 0 0 1 6 69.679V26.321a4 4 0 0 1 2.015-3.473z" fill="url(#D)"/><path fill-rule="evenodd" d="M6 47.772v-.062l.055.032L32 33.5l.862 29.745 13.135 7.597a4 4 0 0 0 4.005 0L90 47.71V28.086v.022 42.118a4 4 0 0 1-2.053 3.494l-38 21.179a4 4 0 0 1-3.895 0l-38-21.179A4 4 0 0 1 6 70.226V68h0V47.772z" fill="url(#E)"/><g filter="url(#B)"><path d="M46.017 25.765a4 4 0 0 1 3.969-.002l17.004 9.707a4 4 0 0 1 2.017 3.474v19.095a4 4 0 0 1-2.013 3.471l-17.008 9.736a4 4 0 0 1-3.971.002l-16.993-9.705a4 4 0 0 1-2.016-3.473V38.956a4 4 0 0 1 2.014-3.472z" fill="#000" fill-opacity=".24"/></g><g filter="url(#C)"><path d="M46.017 26.765a4 4 0 0 1 3.969-.002l17.004 9.707a4 4 0 0 1 2.017 3.474v19.095a4 4 0 0 1-2.013 3.471l-17.008 9.736a4 4 0 0 1-3.971.002l-16.993-9.705a4 4 0 0 1-2.016-3.473V39.956a4 4 0 0 1 2.014-3.472z" fill="#000" fill-opacity=".32"/></g><path d="M46.017 25.382a4 4 0 0 1 3.969-.001l17.004 9.707a4 4 0 0 1 2.017 3.474v19.095a4 4 0 0 1-2.013 3.471l-17.008 9.736a4 4 0 0 1-3.971.002l-16.993-9.705a4 4 0 0 1-2.016-3.473V38.574a4 4 0 0 1 2.014-3.472z" fill="url(#F)"/><path fill-rule="evenodd" d="M46.039 25.499l-17.289 9.747-.238.145c-.712.525-.667 1.64.134 2.091l17.391 9.804a4 4 0 0 0 3.929 0l17.391-9.804a1.25 1.25 0 0 0 .134-2.091l-.238-.145L49.964 25.5a4 4 0 0 0-3.926-.002z" fill="url(#G)"/></g></g><defs><filter id="B" x="26.245" y="24.477" width="43.521" height="48.058" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation=".38"/></filter><filter id="C" x="19.005" y="18.237" width="58.001" height="62.538" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation="4"/></filter><linearGradient id="D" x1="36.835" y1="32.403" x2="71.151" y2="88.469" href="#I"><stop stop-color="#0078d4"/><stop offset="1" stop-color="#2064ae"/></linearGradient><linearGradient id="E" x1="28.313" y1="27.864" x2="61.893" y2="97.173" href="#I"><stop stop-color="#40c4f5"/><stop offset="1" stop-color="#0095e6"/></linearGradient><linearGradient id="F" x1="34.17" y1="28.492" x2="56.315" y2="69.927" href="#I"><stop stop-color="#7cecff"/><stop offset="1" stop-color="#50e6ff"/></linearGradient><linearGradient id="G" x1="30.93" y1="25.17" x2="37.003" y2="52.04" href="#I"><stop stop-color="#a7f2ff"/><stop offset="1" stop-color="#7cecff"/></linearGradient><clipPath id="H"><path fill="#fff" d="M0 0h96v96H0z"/></clipPath><linearGradient id="I" gradientUnits="userSpaceOnUse"/></defs></svg>
\ No newline at end of file
diff --git a/src/main/webapp/img/lib/dynamics365/ReturnToSchool.svg b/src/main/webapp/img/lib/dynamics365/ReturnToSchool.svg
new file mode 100644
index 000000000..867e754ab
--- /dev/null
+++ b/src/main/webapp/img/lib/dynamics365/ReturnToSchool.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="95.744" height="93.711" fill="none" xmlns:v="https://vecta.io/nano"><defs><filter id="A" x="-2" y="6" width="106" height="80" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="A"/><feColorMatrix in="SourceAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feOffset dy="0.4"/><feGaussianBlur stdDeviation=".4"/><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.24 0"/><feBlend in2="A" result="B"/><feColorMatrix in="SourceAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feOffset dy="2"/><feGaussianBlur stdDeviation="4"/><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.32 0"/><feBlend in2="B"/><feBlend in="SourceGraphic"/></filter><filter id="B" x="-.011" y="-.011" width="1.021" height="1.022"><feFlood flood-opacity="0"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation=".4"/></filter><filter id="C" x="-.107" y="-.109" width="1.213" height="1.218"><feFlood flood-opacity="0"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation="4"/></filter><filter id="D" x="-.016" y="-.015" width="1.032" height="1.029"><feFlood flood-opacity="0"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation=".4"/></filter><filter id="E" x="-.16" y="-.146" width="1.321" height="1.292"><feFlood flood-opacity="0"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation="4"/></filter><linearGradient id="F" x1="42" y1="7" x2="47.5" y2="44" href="#J"><stop stop-color="#2a6980"/><stop offset="1" stop-color="#0b3239"/></linearGradient><linearGradient id="G" x1="93.647" y1="88" x2="85.216" y2="4.063" href="#J"><stop stop-color="#007991"/><stop offset="1" stop-color="#36a0b5"/></linearGradient><linearGradient id="H" x1="51" y1="0" x2="51" y2="88" href="#J"><stop stop-color="#1bb5d3"/><stop offset="1" stop-color="#169cb7"/></linearGradient><linearGradient id="I" x1="31" y1="88.5" x2="9" y2="30" href="#J"><stop stop-color="#8aecff"/><stop offset="1" stop-color="#caf7ff"/></linearGradient><linearGradient id="J" gradientUnits="userSpaceOnUse"/></defs><mask id="K" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="2" width="96" height="94"><path d="M19.243 12a4 4 0 0 0-3.413 1.914l-9.57 15.66c-.173.283-.315.601-.412.918C-11.811 87.993 16.062 88 37.999 88v5.764c0 1.831 2.256 2.699 3.484 1.341L47.905 88h44.095a4 4 0 0 0 4-4V31.126a4 4 0 0 0-.587-2.086l-9.243-15.125A4 4 0 0 0 82.756 12H57.799l-5.06-8.929c-.766-1.352-2.714-1.352-3.48 0L44.199 12z" fill="#fff"/></mask><g mask="url(#K)" transform="translate(-.256 -2.057)"><g filter="url(#A)"><path d="M85 12H17L6 30v46h90V30z" fill="url(#F)"/></g><g filter="url(#B)"><path d="M34 30.4l17-30 17 30h28v58H46c-22.091 0-40-17.909-40-40v-18z" fill="#000" fill-opacity=".24"/></g><g filter="url(#C)"><path d="M34 32L51 2l17 30h28v58H46C23.909 90 6 72.091 6 50V32z" fill="#000" fill-opacity=".32"/></g><path d="M34 30L51 0l17 30h28v58H46C23.909 88 6 70.091 6 48V30z" fill="url(#G)"/><path d="M68 30v58H34V30L51 0z" fill="url(#H)"/><circle cx="51" cy="33" r="13" fill="#49d1e9"/><g filter="url(#D)"><path d="M38 88.4c-22 0-49.969-.007-32-58 0 24.541 10 27.959 32 27.959v-5.805c0-1.831 2.256-2.699 3.484-1.341l17.592 19.464a4 4 0 0 1 0 5.364L41.484 95.505c-1.228 1.358-3.484.49-3.484-1.341z" fill="#000" fill-opacity=".24"/></g><g filter="url(#E)"><path d="M38 90c-22 0-49.969-.007-32-58 0 24.541 10 27.959 32 27.959v-5.804c0-1.831 2.256-2.699 3.484-1.341l17.592 19.464a4 4 0 0 1 0 5.364L41.484 97.105c-1.228 1.358-3.484.49-3.484-1.341z" fill="#000" fill-opacity=".32"/></g><path d="M38 88c-22 0-49.969-.007-32-58 0 24.541 10 27.959 32 27.959v-5.804c0-1.831 2.256-2.699 3.484-1.341l17.592 19.464a4 4 0 0 1 0 5.364L41.484 95.105c-1.228 1.358-3.484.49-3.484-1.341z" fill="url(#I)"/></g></svg>
\ No newline at end of file
diff --git a/src/main/webapp/img/lib/dynamics365/ReturnToWork.svg b/src/main/webapp/img/lib/dynamics365/ReturnToWork.svg
new file mode 100644
index 000000000..0d47c9a2a
--- /dev/null
+++ b/src/main/webapp/img/lib/dynamics365/ReturnToWork.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="95.771" height="87.768" fill="none" xmlns:v="https://vecta.io/nano"><defs><filter id="A" x="62" y="22" width="42" height="76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="A"/><feColorMatrix in="SourceAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feOffset dy="0.4"/><feGaussianBlur stdDeviation=".4"/><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.24 0"/><feBlend in2="A" result="B"/><feColorMatrix in="SourceAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feOffset dy="2"/><feGaussianBlur stdDeviation="4"/><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.32 0"/><feBlend in2="B"/><feBlend in="SourceGraphic"/></filter><filter id="B" x="-.015" y="-.012" width="1.03" height="1.024"><feFlood flood-opacity="0"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation=".4"/></filter><filter id="C" x="-.15" y="-.12" width="1.3" height="1.24"><feFlood flood-opacity="0"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation="4"/></filter><filter id="D" x="-.016" y="-.015" width="1.032" height="1.029"><feFlood flood-opacity="0"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation=".4"/></filter><filter id="E" x="-.16" y="-.146" width="1.321" height="1.292"><feFlood flood-opacity="0"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation="4"/></filter><linearGradient id="F" x1="76" y1="7.5" x2="74.04" y2="100.184" gradientUnits="userSpaceOnUse"><stop stop-color="#2a6980"/><stop offset="1" stop-color="#0b3239"/></linearGradient><linearGradient id="G" x1="68.327" y1="88" x2="56.585" y2="4.875" gradientUnits="userSpaceOnUse"><stop stop-color="#007991"/><stop offset="1" stop-color="#36a0b5"/></linearGradient><linearGradient id="H" x1="31" y1="88.5" x2="9" y2="30" gradientUnits="userSpaceOnUse"><stop stop-color="#8aecff"/><stop offset="1" stop-color="#caf7ff"/></linearGradient><clipPath id="I"><path fill="#fff" d="M0 0h96v96H0z"/></clipPath></defs><g clip-path="url(#I)" transform="translate(-.229 -8)"><mask id="J" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="8" width="97" height="88"><path d="M6 12a4 4 0 0 1 4-4h56a4 4 0 0 1 4 4v16l23.176 7.131A4 4 0 0 1 96 38.954V84a4 4 0 0 1-4 4H47.906l-6.422 7.105c-1.228 1.358-3.484.49-3.484-1.341V88h-2a30.58 30.58 0 0 1-.429-.003c-21.553-.078-46.916-2.16-29.602-58.038L6 32.261z" fill="#fff"/></mask><g mask="url(#J)"><g filter="url(#A)"><path d="M96 36l-26-8v60h26z" fill="url(#F)"/></g><g filter="url(#B)"><path d="M6 8.4h64v80H36c-16.569 0-30-13.431-30-30z" fill="#000" fill-opacity=".24"/></g><g filter="url(#C)"><path d="M6 10h64v80H36C19.432 90 6 76.569 6 60z" fill="#000" fill-opacity=".32"/></g><path d="M6 8h64v80H36C19.432 88 6 74.569 6 58z" fill="url(#G)"/><g filter="url(#D)"><path d="M38 88.4c-22 0-50-.048-32.031-58.041 0 24.541 10.031 28 32.031 28v-5.804c0-1.831 2.256-2.699 3.484-1.341l17.592 19.463a4 4 0 0 1 0 5.364L41.484 95.505c-1.228 1.358-3.484.49-3.484-1.341z" fill="#000" fill-opacity=".24"/></g><g filter="url(#E)"><path d="M38 90c-22 0-50-.048-32.031-58.041 0 24.541 10.031 28 32.031 28v-5.805c0-1.831 2.256-2.699 3.484-1.341l17.592 19.463a4 4 0 0 1 0 5.364L41.484 97.105c-1.228 1.358-3.484.49-3.484-1.341z" fill="#000" fill-opacity=".32"/></g><path d="M38 88c-22 0-50-.048-32.031-58.041 0 24.541 10.031 28 32.031 28v-5.805c0-1.831 2.256-2.699 3.484-1.341l17.592 19.463a4 4 0 0 1 0 5.364L41.484 95.105c-1.228 1.358-3.484.49-3.484-1.341z" fill="url(#H)"/><path fill="#61e4fe" d="M54 8h16v20H54z"/><path fill="#49d1e9" d="M38 8h16v20H38z"/><path d="M54 28h16v20H54zM22 8h16v20H22z" fill="#2fbed7"/><path d="M38 28h16v20H42a4 4 0 0 1-4-4zM6 8h16v20H6z" fill="#26acc6"/></g></g></svg>
\ No newline at end of file
diff --git a/src/main/webapp/img/lib/dynamics365/SCMWarehousing.svg b/src/main/webapp/img/lib/dynamics365/SCMWarehousing.svg
new file mode 100644
index 000000000..8cabf5f6a
--- /dev/null
+++ b/src/main/webapp/img/lib/dynamics365/SCMWarehousing.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="96" height="96" fill="none" xmlns:v="https://vecta.io/nano"><g clip-path="url(#G)"><mask id="A" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="96" height="96"><path d="M12 4a4 4 0 0 1 4-4h64a4 4 0 0 1 4 4v31.635c3.655 2.184 7.151 4.72 10.474 7.589 1.484 1.281 1.722 3.47.627 5.096L64.338 94.013A4.5 4.5 0 0 1 60.605 96H35.129a4 4 0 0 1-3.318-1.766L.905 48.321c-1.095-1.626-.857-3.817.637-5.086A70.43 70.43 0 0 1 12 35.892V4z" fill="url(#E)"/></mask><g mask="url(#A)"><path d="M84 4a4 4 0 0 0-4-4h-8v46a4 4 0 0 0 4 4h4a4 4 0 0 0 4-4V4z" fill="#0fb1f1"/><path d="M12 4a4 4 0 0 1 4-4h8v46a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V4z" fill="#27518a"/><path transform="matrix(-1 0 0 1 72 0)" fill="#0095e6" d="M0 0h12v40H0z"/><path transform="matrix(-1 0 0 1 44 0)" fill="#2064ae" d="M0 0h10v40H0z"/><path transform="matrix(-1 0 0 1 60 0)" fill="#0078d4" d="M0 0h16v40H0z"/><path transform="matrix(-1 0 0 1 34 0)" fill="#0078d4" d="M0 0h10v40H0z"/><g filter="url(#C)"><path d="M.905 46.321c-1.095-1.626-.857-3.817.637-5.086C14.621 30.13 31.835 23.998 49 24c17.16.002 32.617 6.124 45.474 17.224 1.484 1.281 1.722 3.47.627 5.096L64.338 92.013A4.5 4.5 0 0 1 60.605 94H35.129a4 4 0 0 1-3.318-1.766L.905 46.321z" fill="#000" fill-opacity=".32"/></g><g filter="url(#D)"><path d="M.905 47.941c-1.095-1.626-.857-3.817.637-5.086C14.621 31.75 31.835 25.618 49 25.62c17.16.002 32.617 6.124 45.474 17.224 1.484 1.281 1.722 3.47.627 5.096L64.338 93.633a4.5 4.5 0 0 1-3.733 1.987H35.129a4 4 0 0 1-3.318-1.766L.905 47.941z" fill="#000" fill-opacity=".24"/></g><path d="M.905 48.321c-1.095-1.626-.857-3.817.637-5.086C14.621 32.13 31.835 25.998 49 26c17.16.002 32.617 6.124 45.474 17.224 1.484 1.281 1.722 3.47.627 5.096L64.338 94.013A4.5 4.5 0 0 1 60.605 96H35.129a4 4 0 0 1-3.318-1.766L.905 48.321z" fill="url(#E)"/><mask id="B" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="26" width="96" height="70"><path d="M.905 48.321c-1.095-1.626-.857-3.817.637-5.086C14.621 32.13 31.835 25.998 49 26c17.16.002 32.617 6.124 45.474 17.224 1.484 1.281 1.722 3.47.627 5.096L64.338 94.013A4.5 4.5 0 0 1 60.605 96H35.129a4 4 0 0 1-3.318-1.766L.905 48.321z" fill="url(#E)"/></mask><g mask="url(#B)"><path d="M16 6a4 4 0 0 0-4 4v42a4 4 0 0 0 4 4h4a4 4 0 0 0 4-4v-6h48v6a4 4 0 0 0 4 4h4a4 4 0 0 0 4-4V10a4 4 0 0 0-4-4H16z" fill="url(#F)"/></g></g></g><defs><filter id="C" x="-7.775" y="16" width="111.557" height="86" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation="4"/></filter><filter id="D" x="-.535" y="24.86" width="97.077" height="71.52" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation=".38"/></filter><linearGradient id="E" x1="-.774" y1="7" x2="40.765" y2="118.485" gradientUnits="userSpaceOnUse"><stop stop-color="#d3f9ff"/><stop offset="1" stop-color="#80e5fc"/></linearGradient><linearGradient id="F" x1="36.466" y1="19" x2="51.958" y2="56.008" gradientUnits="userSpaceOnUse"><stop stop-color="#7cecff"/><stop offset="1" stop-color="#00b1f2"/></linearGradient><clipPath id="G"><path fill="#fff" d="M0 0h96v96H0z"/></clipPath></defs></svg>
\ No newline at end of file
diff --git a/src/main/webapp/img/lib/dynamics365/Sales.svg b/src/main/webapp/img/lib/dynamics365/Sales.svg
new file mode 100644
index 000000000..65971cc6d
--- /dev/null
+++ b/src/main/webapp/img/lib/dynamics365/Sales.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="96" height="96" fill="none" xmlns:v="https://vecta.io/nano"><style><![CDATA[.B{color-interpolation-filters:sRGB}.C{flood-opacity:0}.D{fill-rule:evenodd}]]></style><g clip-path="url(#J)"><mask id="A" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="96" height="96"><path d="M95.68 53.57c.211-1.827.32-3.686.32-5.569C96 21.49 74.51 0 48 0a48.51 48.51 0 0 0-5.569.32A4 4 0 0 0 40 4v8.047C17.733 13.091 0 31.475 0 54c0 23.196 18.804 42 42 42 22.525 0 40.909-17.733 41.953-40H92a4 4 0 0 0 3.68-2.431z" fill="url(#G)"/></mask><g mask="url(#A)"><circle cx="42" cy="54" r="42" fill="url(#H)"/><g filter="url(#C)"><path d="M95.68 55.57c.211-1.827.32-3.686.32-5.569C96 23.49 74.51 2 48 2a48.51 48.51 0 0 0-5.569.32A4 4 0 0 0 40 6v52h52a4 4 0 0 0 3.68-2.431z" fill="#000" fill-opacity=".32"/></g><g filter="url(#D)"><path d="M95.68 53.95c.211-1.827.32-3.686.32-5.569 0-26.51-21.49-48-48-48a48.51 48.51 0 0 0-5.569.32A4 4 0 0 0 40 4.38v52h52a4 4 0 0 0 3.68-2.431z" fill="#000" fill-opacity=".24"/></g><path d="M95.68 53.57c.211-1.827.32-3.686.32-5.569C96 21.49 74.51 0 48 0a48.51 48.51 0 0 0-5.569.32A4 4 0 0 0 40 4v52h52a4 4 0 0 0 3.68-2.431z" fill="url(#I)" class="D"/><mask id="B" mask-type="alpha" maskUnits="userSpaceOnUse" x="40" y="0" width="56" height="56"><path d="M95.68 53.57c.211-1.827.32-3.686.32-5.569C96 21.49 74.51 0 48 0a48.51 48.51 0 0 0-5.569.32A4 4 0 0 0 40 4v52h52a4 4 0 0 0 3.68-2.431z" fill="url(#I)" class="D"/></mask><g mask="url(#B)"><g filter="url(#E)"><path d="M40 32h22a4 4 0 0 1 4 4v22H40V32z" fill="#000" fill-opacity=".32"/></g><g filter="url(#F)"><path d="M40 30.38h22a4 4 0 0 1 4 4v22H40v-26z" fill="#000" fill-opacity=".24"/></g><path d="M40 30h22a4 4 0 0 1 4 4v22H40V30z" fill="url(#G)"/></g></g></g><defs><filter id="C" x="32" y="-6" width="72" height="72" filterUnits="userSpaceOnUse" class="B"><feFlood class="C"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation="4"/></filter><filter id="D" x="39.24" y="-.38" width="57.52" height="57.52" filterUnits="userSpaceOnUse" class="B"><feFlood class="C"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation=".38"/></filter><filter id="E" x="32" y="24" width="42" height="42" filterUnits="userSpaceOnUse" class="B"><feFlood class="C"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation="4"/></filter><filter id="F" x="39.24" y="29.62" width="27.52" height="27.52" filterUnits="userSpaceOnUse" class="B"><feFlood class="C"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation=".38"/></filter><linearGradient id="G" x1="41.9" y1="30.211" x2="52.919" y2="58.03" gradientUnits="userSpaceOnUse"><stop stop-color="#a7f2ff"/><stop offset="1" stop-color="#7cecff"/></linearGradient><linearGradient id="H" x1="30.835" y1="40.353" x2="58.901" y2="92.758" gradientUnits="userSpaceOnUse"><stop stop-color="#0078d4"/><stop offset="1" stop-color="#2064ae"/></linearGradient><linearGradient id="I" x1="56" y1="9.5" x2="109.184" y2="57.733" gradientUnits="userSpaceOnUse"><stop stop-color="#40c4f5"/><stop offset="1" stop-color="#0095e6"/></linearGradient><clipPath id="J"><path fill="#fff" d="M0 0h96v96H0z"/></clipPath></defs></svg>
\ No newline at end of file
diff --git a/src/main/webapp/img/lib/dynamics365/SalesInsights.svg b/src/main/webapp/img/lib/dynamics365/SalesInsights.svg
new file mode 100644
index 000000000..f0e3f57c6
--- /dev/null
+++ b/src/main/webapp/img/lib/dynamics365/SalesInsights.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="96" height="96" fill="none" xmlns:v="https://vecta.io/nano"><g clip-path="url(#H)"><mask id="A" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="96" height="96"><path d="M48 4c0-2.209-1.797-4.017-3.999-3.836C19.363 2.196 0 22.837 0 48c0 26.51 21.49 48 48 48 25.163 0 45.804-19.362 47.836-44.001C96.017 49.797 94.209 48 92 48H82c0-18.778-15.222-34-34-34V4z" fill="url(#D)"/></mask><g mask="url(#A)"><path fill-rule="evenodd" d="M48 0C21.49 0 0 21.49 0 48s21.49 48 48 48 48-21.49 48-48H48V0z" fill="url(#E)"/><path d="M48 78c0 2.209 1.799 4.025 3.993 3.768C68.889 79.791 82 65.427 82 48c0-18.778-15.222-34-34-34-17.427 0-31.791 13.111-33.768 30.007C13.975 46.201 15.791 48 18 48h30v30z" fill="url(#F)"/><g filter="url(#B)"><circle cx="48" cy="50" r="20" fill="#000" fill-opacity=".32"/></g><g filter="url(#C)"><circle cx="48" cy="48.38" r="20" fill="#000" fill-opacity=".24"/></g><circle cx="48" cy="48" r="20" fill="url(#G)"/></g></g><defs><filter id="B" x="20" y="22" width="56" height="56" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation="4"/></filter><filter id="C" x="27.24" y="27.62" width="41.52" height="41.52" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation=".38"/></filter><linearGradient id="D" x1="1.5" y1=".623" x2="20.381" y2="109.943" href="#I"><stop stop-color="#c3f488"/><stop offset="1" stop-color="#8fdc50"/></linearGradient><linearGradient id="E" x1="-9" y1="3.775" x2="6.767" y2="110.006" href="#I"><stop stop-color="#158915"/><stop offset="1" stop-color="#065f18"/></linearGradient><linearGradient id="F" x1="14" y1="14" x2="82.1" y2="83.027" href="#I"><stop stop-color="#7bca52"/><stop offset="1" stop-color="#4fb918"/></linearGradient><linearGradient id="G" x1="28.625" y1="28.26" x2="36.492" y2="73.809" href="#I"><stop stop-color="#c3f488"/><stop offset="1" stop-color="#8fdc50"/></linearGradient><clipPath id="H"><path fill="#fff" d="M0 0h96v96H0z"/></clipPath><linearGradient id="I" gradientUnits="userSpaceOnUse"/></defs></svg>
\ No newline at end of file
diff --git a/src/main/webapp/img/lib/dynamics365/SupplyChainManagement.svg b/src/main/webapp/img/lib/dynamics365/SupplyChainManagement.svg
new file mode 100644
index 000000000..2125fef04
--- /dev/null
+++ b/src/main/webapp/img/lib/dynamics365/SupplyChainManagement.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="96" height="84" fill="none" xmlns:v="https://vecta.io/nano"><g clip-path="url(#H)" transform="translate(0 -6)"><mask id="A" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="5" width="96" height="85"><path d="M48 90l.492-.007L49 90h30l.99-.032C72.177 89.449 66 82.946 66 75.001 66 83.285 72.716 90 81 90s15-6.716 15-15V42c0-9.941-8.059-18-18-18H66c0-9.941-8.059-18-18-18l-.494.007L47 6H17A15.22 15.22 0 0 0 16 6.033c.611.04 1.212.117 1.8.228C16.893 6.09 15.957 6 15 6 6.716 6 0 12.716 0 21v33c0 9.941 8.059 18 18 18h12c0 9.941 8.059 18 18 18z" fill="url(#D)"/></mask><g mask="url(#A)"><path d="M30 72V21c0-8.284-6.716-15-15-15S0 12.716 0 21v33c0 9.941 8.059 18 18 18z" fill="url(#E)"/><path d="M81 90c8.284 0 15-6.716 15-15V42c0-9.941-8.059-18-18-18H66v51c0 8.284 6.716 15 15 15z" fill="url(#F)"/><g filter="url(#B)"><path d="M30 74V23c0-7.948-6.182-14.453-14-14.967A15.22 15.22 0 0 1 17 8h30l.507.007L48 8c9.941 0 18 8.059 18 18v51.001c0 7.945 6.177 14.448 13.991 14.967A15.19 15.19 0 0 1 79 92H49a19.4 19.4 0 0 1-.507-.007L48 92c-9.941 0-18-8.059-18-18z" fill="#000" fill-opacity=".32"/></g><g filter="url(#C)"><path d="M30 72.38v-51c0-7.948-6.182-14.453-14-14.967.331-.022.664-.033 1-.033h30l.507.007L48 6.38c9.941 0 18 8.059 18 18v51.001c0 7.945 6.177 14.448 13.991 14.967a15.19 15.19 0 0 1-.991.032H49a19.4 19.4 0 0 1-.507-.007L48 90.38c-9.941 0-18-8.059-18-18z" fill="#000" fill-opacity=".24"/></g><path fill-rule="evenodd" d="M30 72v-1-15-16-19c0-7.948-6.182-14.453-14-14.967A15.22 15.22 0 0 1 17 6h30l.507.007L48 6c9.941 0 18 8.059 18 18v.001h0v51c0 7.945 6.177 14.448 13.991 14.967A15.19 15.19 0 0 1 79 90H49a19.4 19.4 0 0 1-.507-.007L48 90c-9.941 0-18-8.059-18-18z" fill="url(#G)"/></g></g><defs><filter id="B" x="8" y="0" width="79.991" height="100" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation="4"/></filter><filter id="C" x="15.24" y="5.62" width="65.511" height="85.52" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation=".38"/></filter><linearGradient id="D" x1="22.207" y1="-3.044" x2="68.469" y2="93.54" href="#I"><stop stop-color="#40c4f5"/><stop offset="1" stop-color="#0095e6"/></linearGradient><linearGradient id="E" x1="30" y1="72" x2="-20.209" y2="47.621" href="#I"><stop stop-color="#27518a"/><stop offset="1" stop-color="#2064ae"/></linearGradient><linearGradient id="F" x1="95.757" y1="85.178" x2="59.788" y2="78.702" href="#I"><stop stop-color="#7ce6ff"/><stop offset="1" stop-color="#a7f2ff"/></linearGradient><linearGradient id="G" x1="22.208" y1="-3.044" x2="68.469" y2="93.54" href="#I"><stop stop-color="#40c4f5"/><stop offset="1" stop-color="#0095e6"/></linearGradient><clipPath id="H"><path fill="#fff" d="M0 0h96v96H0z"/></clipPath><linearGradient id="I" gradientUnits="userSpaceOnUse"/></defs></svg>
\ No newline at end of file
diff --git a/src/main/webapp/img/lib/dynamics365/SustainabilityCalculator.svg b/src/main/webapp/img/lib/dynamics365/SustainabilityCalculator.svg
new file mode 100644
index 000000000..c604c4de5
--- /dev/null
+++ b/src/main/webapp/img/lib/dynamics365/SustainabilityCalculator.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="88.04" height="88.04" fill="none" xmlns:v="https://vecta.io/nano"><defs><filter id="A" x="-.015" y="-.01" width="1.029" height="1.019"><feFlood flood-opacity="0"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation=".38"/></filter><filter id="B" x="-.155" y="-.1" width="1.31" height="1.2"><feFlood flood-opacity="0"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation="4"/></filter><filter id="C" x="-.027" y="-.01" width="1.054" height="1.019"><feFlood flood-opacity="0"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation=".38"/></filter><filter id="D" x="-.282" y="-.1" width="1.565" height="1.2"><feFlood flood-opacity="0"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation="4"/></filter><linearGradient id="E" x1="82.5" y1="96" x2="57.013" y2="39.513" gradientUnits="userSpaceOnUse"><stop stop-color="#0b7418"/><stop offset="1" stop-color="#158915"/></linearGradient><linearGradient id="F" x1="58" y1="54.5" x2="43.5" y2="0" gradientUnits="userSpaceOnUse"><stop stop-color="#4fb918"/><stop offset="1" stop-color="#8fdc50"/></linearGradient><linearGradient id="G" x1="11.5" y1="13.5" x2="31.5" y2="85" gradientUnits="userSpaceOnUse"><stop stop-color="#c3f488"/><stop offset="1" stop-color="#6ad116"/></linearGradient></defs><mask id="H" mask-type="alpha" maskUnits="userSpaceOnUse" x="1" y="6" width="89" height="89"><path d="M6 38C6 20.327 20.327 6 38 6h48a4 4 0 0 1 4 4v48c0 17.673-14.327 32-32 32H27.045a48 48 0 0 0-13.793 2.024l-6.137 1.841c-3.051.915-5.896-1.929-4.981-4.981l1.841-6.137A48 48 0 0 0 6 68.955z" fill="#fff"/></mask><g mask="url(#H)" transform="translate(-1.96 -6)"><path d="M0 0h96v96H0z" fill="url(#E)"/><path d="M0 0h96L0 96z" fill="#34a117"/><g filter="url(#A)"><path d="M30 .38c-16.569 0-30 13.431-30 30v66l52.627-52.627A32 32 0 0 0 62 21.125V.38z" fill="#000" fill-opacity=".24"/></g><g filter="url(#B)"><path d="M30 2C13.431 2 0 15.432 0 32v66l52.627-52.627A32 32 0 0 0 62 22.745V2z" fill="#000" fill-opacity=".32"/></g><path d="M30 0C13.431 0 0 13.432 0 30v66l52.627-52.627A32 32 0 0 0 62 20.745V0z" fill="url(#F)"/><mask id="I" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="62" height="96"><path d="M30 0C13.431 0 0 13.432 0 30v66l52.627-52.627A32 32 0 0 0 62 20.745V0z" fill="#fff"/></mask><g mask="url(#I)"><g filter="url(#C)"><path d="M24.627 71.753A32 32 0 0 0 34 49.125V.38h-4c-16.568 0-30 13.431-30 30v66z" fill="#000" fill-opacity=".24"/></g><g filter="url(#D)"><path d="M24.627 73.373A32 32 0 0 0 34 50.745V2h-4C13.432 2 0 15.432 0 32v66z" fill="#000" fill-opacity=".32"/></g><path d="M24.627 71.373A32 32 0 0 0 34 48.745V0h-4C13.432 0 0 13.432 0 30v66z" fill="url(#G)"/></g></g></svg>
\ No newline at end of file
diff --git a/src/main/webapp/img/lib/dynamics365/TalentAttract.svg b/src/main/webapp/img/lib/dynamics365/TalentAttract.svg
new file mode 100644
index 000000000..b94f98548
--- /dev/null
+++ b/src/main/webapp/img/lib/dynamics365/TalentAttract.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="78" height="96" fill="none" xmlns:v="https://vecta.io/nano"><g mask="url(#F)" transform="translate(-10)"><path fill-rule="evenodd" d="M14 0a4 4 0 0 0-4 4v22a4 4 0 0 0 4 4h26V0zm0 66a4 4 0 0 0-4 4v22a4 4 0 0 0 4 4h26V66z" fill="url(#C)"/><path d="M40 96c26.51 0 48-21.49 48-48S66.51 0 40 0z" fill="url(#D)"/><g opacity=".16" filter="url(#A)"><circle cx="40" cy="50" r="18" fill="#000"/></g><g opacity=".24" filter="url(#B)"><circle cx="40" cy="48.38" r="18" fill="#000"/></g><circle cx="40" cy="48" r="18" fill="url(#E)"/></g><defs><filter id="A" x="14" y="24" width="52" height="52" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation="4"/></filter><filter id="B" x="21.24" y="29.62" width="37.52" height="37.52" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation=".38"/></filter><linearGradient id="C" x1="25" y1="0" x2="56.5" y2="96.5" gradientUnits="userSpaceOnUse"><stop stop-color="#ea8200"/><stop offset="1" stop-color="#c46a08"/></linearGradient><linearGradient id="D" x1="40.5" y1=".5" x2="88.5" y2="96.5" gradientUnits="userSpaceOnUse"><stop stop-color="#fdc400"/><stop offset="1" stop-color="#f29800"/></linearGradient><linearGradient id="E" x1="40" y1="30" x2="58.5" y2="66.5" gradientUnits="userSpaceOnUse"><stop stop-color="#ffe440"/><stop offset="1" stop-color="#ffdb00"/></linearGradient><mask id="F" mask-type="alpha" maskUnits="userSpaceOnUse" x="10" y="0" width="78" height="96"><path d="M40 0H14a4 4 0 0 0-4 4v22a4 4 0 0 0 4 4h26c-9.941 0-18 8.059-18 18s8.059 18 18 18H14a4 4 0 0 0-4 4v22a4 4 0 0 0 4 4h26c26.51 0 48-21.49 48-48S66.51 0 40 0z" fill="#c4c4c4"/></mask></defs></svg>
\ No newline at end of file
diff --git a/src/main/webapp/img/lib/dynamics365/TalentOnboard.svg b/src/main/webapp/img/lib/dynamics365/TalentOnboard.svg
new file mode 100644
index 000000000..7734caa74
--- /dev/null
+++ b/src/main/webapp/img/lib/dynamics365/TalentOnboard.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="84" height="84" fill="none" xmlns:v="https://vecta.io/nano"><g clip-path="url(#F)" transform="translate(-6 -6)"><g fill-rule="evenodd"><path d="M90 10a4 4 0 0 0-4-4H70a4 4 0 0 0-4 4v38h0c0 9.941-8.059 18-18 18-9.907 0-17.944-8.003-18-17.897v37.844C35.573 88.591 41.714 90 48 90a42 42 0 0 0 41.988-41H90v-1zM6 48.143V48h0v.143z" fill="url(#C)"/><path d="M66 10.053V48H48 30v38.356C30 88.368 28.369 90 26.356 90H10a4 4 0 0 1-4-4V48h0v-.143V47h.012A42 42 0 0 1 48 6c6.286 0 12.427 1.409 18 4.053z" fill="url(#D)"/></g><g opacity=".32" filter="url(#A)"><circle cx="48" cy="50" r="18" fill="#000"/></g><g filter="url(#B)"><circle cx="48" cy="48.38" r="18" fill="#000" fill-opacity=".24"/></g><circle cx="48" cy="48" r="18" fill="url(#E)"/></g><defs><filter id="A" x="22" y="24" width="52" height="52" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation="4"/></filter><filter id="B" x="29.24" y="29.62" width="37.52" height="37.52" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation=".38"/></filter><linearGradient id="C" x1="36.835" y1="34.353" x2="64.901" y2="86.758" gradientUnits="userSpaceOnUse"><stop stop-color="#0078d4"/><stop offset="1" stop-color="#2064ae"/></linearGradient><linearGradient id="D" x1="16.236" y1="13.467" x2="59.268" y2="78.853" gradientUnits="userSpaceOnUse"><stop stop-color="#7cecff"/><stop offset="1" stop-color="#50e6ff"/></linearGradient><linearGradient id="E" x1="39.563" y1="29.881" x2="59.824" y2="63.396" gradientUnits="userSpaceOnUse"><stop stop-color="#40c4f5"/><stop offset="1" stop-color="#0095e6"/></linearGradient><clipPath id="F"><path fill="#fff" d="M0 0h96v96H0z"/></clipPath></defs></svg>
\ No newline at end of file
diff --git a/src/main/webapp/img/lib/dynamics365/VoiceAssistant.svg b/src/main/webapp/img/lib/dynamics365/VoiceAssistant.svg
new file mode 100644
index 000000000..09761f16f
--- /dev/null
+++ b/src/main/webapp/img/lib/dynamics365/VoiceAssistant.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="84" height="93.95" fill="none" xmlns:v="https://vecta.io/nano"><g clip-path="url(#G)" transform="translate(-6 -.607)"><mask id="A" mask-type="alpha" maskUnits="userSpaceOnUse" x="6" y="0" width="84" height="95"><path d="M46.016 1.134a4 4 0 0 1 3.969 0l38 21.714A4 4 0 0 1 90 26.321v27.357a4 4 0 0 1-2.015 3.473L50.016 78.848A4 4 0 0 0 48 82.321v10.233c0 1.536-1.659 2.498-2.992 1.737L8.015 73.152A4 4 0 0 1 6 69.679V26.321a4 4 0 0 1 2.015-3.473z" fill="#2064ae"/></mask><g mask="url(#A)"><path d="M48 0l42 24v32L50.016 78.848A4 4 0 0 0 48 82.321v10.233c0 1.536-1.659 2.498-2.992 1.737L6 72V24z" fill="url(#D)"/><g filter="url(#B)"><path d="M48 .4l42 24v13.679a4 4 0 0 1-2.015 3.473L50.016 63.248A4 4 0 0 0 48 66.721v10.233c0 1.536-1.659 2.498-2.992 1.736L8.015 57.552A4 4 0 0 1 6 54.079V24.4z" fill="#000" fill-opacity=".24"/></g><g filter="url(#C)"><path d="M48 2l42 24v13.679a4 4 0 0 1-2.015 3.473L50.016 64.848A4 4 0 0 0 48 68.321v10.233c0 1.536-1.659 2.498-2.992 1.737L8.015 59.152A4 4 0 0 1 6 55.679V26z" fill="#000" fill-opacity=".32"/></g><path d="M48 0l42 24v13.679a4 4 0 0 1-2.015 3.473L50.016 62.848A4 4 0 0 0 48 66.321v10.233c0 1.536-1.659 2.498-2.992 1.737L8.015 57.152A4 4 0 0 1 6 53.679V24z" fill="url(#E)"/><path d="M48 0l40.481 23.132a1 1 0 0 1 0 1.736l-38.465 21.98A4 4 0 0 0 48 50.321v10.233c0 1.536-1.659 2.498-2.992 1.736L8.015 41.152A4 4 0 0 1 6 37.679V24z" fill="url(#F)"/></g></g><defs><filter id="B" x="5.2" y="-.4" width="85.6" height="80.157" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation=".4"/></filter><filter id="C" x="-2" y="-6" width="100" height="94.557" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0"/><feBlend in="SourceGraphic"/><feGaussianBlur stdDeviation="4"/></filter><linearGradient id="D" x1="52.873" y1="49.938" x2="72.17" y2="96" gradientUnits="userSpaceOnUse"><stop stop-color="#0078d4"/><stop offset="1" stop-color="#2064ae"/></linearGradient><linearGradient id="E" x1="38.953" y1="26.528" x2="68.058" y2="95.177" gradientUnits="userSpaceOnUse"><stop stop-color="#00b1f2"/><stop offset=".993" stop-color="#0095e6"/></linearGradient><linearGradient id="F" x1="28.513" y1="5.965" x2="56.985" y2="64" gradientUnits="userSpaceOnUse"><stop stop-color="#7cecff"/><stop offset="1" stop-color="#00ccf9"/></linearGradient><clipPath id="G"><path d="M0 0h96v96H0z" fill="#fff"/></clipPath></defs></svg>
\ No newline at end of file
diff --git a/src/main/webapp/js/app.min.js b/src/main/webapp/js/app.min.js
index 0bb508952..508fe535e 100644
--- a/src/main/webapp/js/app.min.js
+++ b/src/main/webapp/js/app.min.js
@@ -1,7 +1,7 @@
//fgnass.github.com/spin.js#v2.0.0
!function(a,b){"object"==typeof exports?module.exports=b():"function"==typeof define&&define.amd?define(b):a.Spinner=b()}(this,function(){"use strict";function a(a,b){var c,d=document.createElement(a||"div");for(c in b)d[c]=b[c];return d}function b(a){for(var b=1,c=arguments.length;c>b;b++)a.appendChild(arguments[b]);return a}function c(a,b,c,d){var e=["opacity",b,~~(100*a),c,d].join("-"),f=.01+c/d*100,g=Math.max(1-(1-a)/b*(100-f),a),h=j.substring(0,j.indexOf("Animation")).toLowerCase(),i=h&&"-"+h+"-"||"";return l[e]||(m.insertRule("@"+i+"keyframes "+e+"{0%{opacity:"+g+"}"+f+"%{opacity:"+a+"}"+(f+.01)+"%{opacity:1}"+(f+b)%100+"%{opacity:"+a+"}100%{opacity:"+g+"}}",m.cssRules.length),l[e]=1),e}function d(a,b){var c,d,e=a.style;for(b=b.charAt(0).toUpperCase()+b.slice(1),d=0;d<k.length;d++)if(c=k[d]+b,void 0!==e[c])return c;return void 0!==e[b]?b:void 0}function e(a,b){for(var c in b)a.style[d(a,c)||c]=b[c];return a}function f(a){for(var b=1;b<arguments.length;b++){var c=arguments[b];for(var d in c)void 0===a[d]&&(a[d]=c[d])}return a}function g(a,b){return"string"==typeof a?a:a[b%a.length]}function h(a){this.opts=f(a||{},h.defaults,n)}function i(){function c(b,c){return a("<"+b+' xmlns="urn:schemas-microsoft.com:vml" class="spin-vml">',c)}m.addRule(".spin-vml","behavior:url(#default#VML)"),h.prototype.lines=function(a,d){function f(){return e(c("group",{coordsize:k+" "+k,coordorigin:-j+" "+-j}),{width:k,height:k})}function h(a,h,i){b(m,b(e(f(),{rotation:360/d.lines*a+"deg",left:~~h}),b(e(c("roundrect",{arcsize:d.corners}),{width:j,height:d.width,left:d.radius,top:-d.width>>1,filter:i}),c("fill",{color:g(d.color,a),opacity:d.opacity}),c("stroke",{opacity:0}))))}var i,j=d.length+d.width,k=2*j,l=2*-(d.width+d.length)+"px",m=e(f(),{position:"absolute",top:l,left:l});if(d.shadow)for(i=1;i<=d.lines;i++)h(i,-2,"progid:DXImageTransform.Microsoft.Blur(pixelradius=2,makeshadow=1,shadowopacity=.3)");for(i=1;i<=d.lines;i++)h(i);return b(a,m)},h.prototype.opacity=function(a,b,c,d){var e=a.firstChild;d=d.shadow&&d.lines||0,e&&b+d<e.childNodes.length&&(e=e.childNodes[b+d],e=e&&e.firstChild,e=e&&e.firstChild,e&&(e.opacity=c))}}var j,k=["webkit","Moz","ms","O"],l={},m=function(){var c=a("style",{type:"text/css"});return b(document.getElementsByTagName("head")[0],c),c.sheet||c.styleSheet}(),n={lines:12,length:7,width:5,radius:10,rotate:0,corners:1,color:"#000",direction:1,speed:1,trail:100,opacity:.25,fps:20,zIndex:2e9,className:"spinner",top:"50%",left:"50%",position:"absolute"};h.defaults={},f(h.prototype,{spin:function(b){this.stop();{var c=this,d=c.opts,f=c.el=e(a(0,{className:d.className}),{position:d.position,width:0,zIndex:d.zIndex});d.radius+d.length+d.width}if(b&&(b.insertBefore(f,b.firstChild||null),e(f,{left:d.left,top:d.top})),f.setAttribute("role","progressbar"),c.lines(f,c.opts),!j){var g,h=0,i=(d.lines-1)*(1-d.direction)/2,k=d.fps,l=k/d.speed,m=(1-d.opacity)/(l*d.trail/100),n=l/d.lines;!function o(){h++;for(var a=0;a<d.lines;a++)g=Math.max(1-(h+(d.lines-a)*n)%l*m,d.opacity),c.opacity(f,a*d.direction+i,g,d);c.timeout=c.el&&setTimeout(o,~~(1e3/k))}()}return c},stop:function(){var a=this.el;return a&&(clearTimeout(this.timeout),a.parentNode&&a.parentNode.removeChild(a),this.el=void 0),this},lines:function(d,f){function h(b,c){return e(a(),{position:"absolute",width:f.length+f.width+"px",height:f.width+"px",background:b,boxShadow:c,transformOrigin:"left",transform:"rotate("+~~(360/f.lines*k+f.rotate)+"deg) translate("+f.radius+"px,0)",borderRadius:(f.corners*f.width>>1)+"px"})}for(var i,k=0,l=(f.lines-1)*(1-f.direction)/2;k<f.lines;k++)i=e(a(),{position:"absolute",top:1+~(f.width/2)+"px",transform:f.hwaccel?"translate3d(0,0,0)":"",opacity:f.opacity,animation:j&&c(f.opacity,f.trail,l+k*f.direction,f.lines)+" "+1/f.speed+"s linear infinite"}),f.shadow&&b(i,e(h("#000","0 0 4px #000"),{top:"2px"})),b(d,b(i,h(g(f.color,k),"0 0 1px rgba(0,0,0,.1)")));return d},opacity:function(a,b,c){b<a.childNodes.length&&(a.childNodes[b].style.opacity=c)}});var o=e(a("group"),{behavior:"url(#default#VML)"});return!d(o,"transform")&&o.adj?i():j=d(o,"animation"),h});
-/*! @license DOMPurify 3.1.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.5/LICENSE */
-!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).DOMPurify=t()}(this,(function(){"use strict";const{entries:e,setPrototypeOf:t,isFrozen:n,getPrototypeOf:o,getOwnPropertyDescriptor:r}=Object;let{freeze:i,seal:a,create:l}=Object,{apply:c,construct:s}="undefined"!=typeof Reflect&&Reflect;i||(i=function(e){return e}),a||(a=function(e){return e}),c||(c=function(e,t,n){return e.apply(t,n)}),s||(s=function(e,t){return new e(...t)});const u=b(Array.prototype.forEach),m=b(Array.prototype.pop),p=b(Array.prototype.push),f=b(String.prototype.toLowerCase),d=b(String.prototype.toString),h=b(String.prototype.match),g=b(String.prototype.replace),T=b(String.prototype.indexOf),y=b(String.prototype.trim),E=b(Object.prototype.hasOwnProperty),_=b(RegExp.prototype.test),A=(N=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return s(N,t)});var N;function b(e){return function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return c(e,t,o)}}function S(e,o){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f;t&&t(e,null);let i=o.length;for(;i--;){let t=o[i];if("string"==typeof t){const e=r(t);e!==t&&(n(o)||(o[i]=e),t=e)}e[t]=!0}return e}function R(e){for(let t=0;t<e.length;t++){E(e,t)||(e[t]=null)}return e}function w(t){const n=l(null);for(const[o,r]of e(t)){E(t,o)&&(Array.isArray(r)?n[o]=R(r):r&&"object"==typeof r&&r.constructor===Object?n[o]=w(r):n[o]=r)}return n}function C(e,t){for(;null!==e;){const n=r(e,t);if(n){if(n.get)return b(n.get);if("function"==typeof n.value)return b(n.value)}e=o(e)}return function(){return null}}const L=i(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),D=i(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),v=i(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),O=i(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),x=i(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),k=i(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),M=i(["#text"]),I=i(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),U=i(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),P=i(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),F=i(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),H=a(/\{\{[\w\W]*|[\w\W]*\}\}/gm),z=a(/<%[\w\W]*|[\w\W]*%>/gm),B=a(/\${[\w\W]*}/gm),W=a(/^data-[\-\w.\u00B7-\uFFFF]/),G=a(/^aria-[\-\w]+$/),Y=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),j=a(/^(?:\w+script|data):/i),X=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),q=a(/^html$/i),$=a(/^[a-z][.\w]*(-[.\w]+)+$/i);var K=Object.freeze({__proto__:null,MUSTACHE_EXPR:H,ERB_EXPR:z,TMPLIT_EXPR:B,DATA_ATTR:W,ARIA_ATTR:G,IS_ALLOWED_URI:Y,IS_SCRIPT_OR_DATA:j,ATTR_WHITESPACE:X,DOCTYPE_NAME:q,CUSTOM_ELEMENT:$});const V=1,Z=3,J=7,Q=8,ee=9,te=function(){return"undefined"==typeof window?null:window},ne=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const o="data-tt-policy-suffix";t&&t.hasAttribute(o)&&(n=t.getAttribute(o));const r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}};var oe=function t(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:te();const o=e=>t(e);if(o.version="3.1.5",o.removed=[],!n||!n.document||n.document.nodeType!==ee)return o.isSupported=!1,o;let{document:r}=n;const a=r,c=a.currentScript,{DocumentFragment:s,HTMLTemplateElement:N,Node:b,Element:R,NodeFilter:H,NamedNodeMap:z=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:B,DOMParser:W,trustedTypes:G}=n,j=R.prototype,X=C(j,"cloneNode"),$=C(j,"nextSibling"),oe=C(j,"childNodes"),re=C(j,"parentNode");if("function"==typeof N){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let ie,ae="";const{implementation:le,createNodeIterator:ce,createDocumentFragment:se,getElementsByTagName:ue}=r,{importNode:me}=a;let pe={};o.isSupported="function"==typeof e&&"function"==typeof re&&le&&void 0!==le.createHTMLDocument;const{MUSTACHE_EXPR:fe,ERB_EXPR:de,TMPLIT_EXPR:he,DATA_ATTR:ge,ARIA_ATTR:Te,IS_SCRIPT_OR_DATA:ye,ATTR_WHITESPACE:Ee,CUSTOM_ELEMENT:_e}=K;let{IS_ALLOWED_URI:Ae}=K,Ne=null;const be=S({},[...L,...D,...v,...x,...M]);let Se=null;const Re=S({},[...I,...U,...P,...F]);let we=Object.seal(l(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}})),Ce=null,Le=null,De=!0,ve=!0,Oe=!1,xe=!0,ke=!1,Me=!0,Ie=!1,Ue=!1,Pe=!1,Fe=!1,He=!1,ze=!1,Be=!0,We=!1;const Ge="user-content-";let Ye=!0,je=!1,Xe={},qe=null;const $e=S({},["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 Ke=null;const Ve=S({},["audio","video","img","source","image","track"]);let Ze=null;const Je=S({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Qe="http://www.w3.org/1998/Math/MathML",et="http://www.w3.org/2000/svg",tt="http://www.w3.org/1999/xhtml";let nt=tt,ot=!1,rt=null;const it=S({},[Qe,et,tt],d);let at=null;const lt=["application/xhtml+xml","text/html"],ct="text/html";let st=null,ut=null;const mt=r.createElement("form"),pt=function(e){return e instanceof RegExp||e instanceof Function},ft=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!ut||ut!==e){if(e&&"object"==typeof e||(e={}),e=w(e),at=-1===lt.indexOf(e.PARSER_MEDIA_TYPE)?ct:e.PARSER_MEDIA_TYPE,st="application/xhtml+xml"===at?d:f,Ne=E(e,"ALLOWED_TAGS")?S({},e.ALLOWED_TAGS,st):be,Se=E(e,"ALLOWED_ATTR")?S({},e.ALLOWED_ATTR,st):Re,rt=E(e,"ALLOWED_NAMESPACES")?S({},e.ALLOWED_NAMESPACES,d):it,Ze=E(e,"ADD_URI_SAFE_ATTR")?S(w(Je),e.ADD_URI_SAFE_ATTR,st):Je,Ke=E(e,"ADD_DATA_URI_TAGS")?S(w(Ve),e.ADD_DATA_URI_TAGS,st):Ve,qe=E(e,"FORBID_CONTENTS")?S({},e.FORBID_CONTENTS,st):$e,Ce=E(e,"FORBID_TAGS")?S({},e.FORBID_TAGS,st):{},Le=E(e,"FORBID_ATTR")?S({},e.FORBID_ATTR,st):{},Xe=!!E(e,"USE_PROFILES")&&e.USE_PROFILES,De=!1!==e.ALLOW_ARIA_ATTR,ve=!1!==e.ALLOW_DATA_ATTR,Oe=e.ALLOW_UNKNOWN_PROTOCOLS||!1,xe=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,ke=e.SAFE_FOR_TEMPLATES||!1,Me=!1!==e.SAFE_FOR_XML,Ie=e.WHOLE_DOCUMENT||!1,Fe=e.RETURN_DOM||!1,He=e.RETURN_DOM_FRAGMENT||!1,ze=e.RETURN_TRUSTED_TYPE||!1,Pe=e.FORCE_BODY||!1,Be=!1!==e.SANITIZE_DOM,We=e.SANITIZE_NAMED_PROPS||!1,Ye=!1!==e.KEEP_CONTENT,je=e.IN_PLACE||!1,Ae=e.ALLOWED_URI_REGEXP||Y,nt=e.NAMESPACE||tt,we=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&pt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(we.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&pt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(we.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(we.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ke&&(ve=!1),He&&(Fe=!0),Xe&&(Ne=S({},M),Se=[],!0===Xe.html&&(S(Ne,L),S(Se,I)),!0===Xe.svg&&(S(Ne,D),S(Se,U),S(Se,F)),!0===Xe.svgFilters&&(S(Ne,v),S(Se,U),S(Se,F)),!0===Xe.mathMl&&(S(Ne,x),S(Se,P),S(Se,F))),e.ADD_TAGS&&(Ne===be&&(Ne=w(Ne)),S(Ne,e.ADD_TAGS,st)),e.ADD_ATTR&&(Se===Re&&(Se=w(Se)),S(Se,e.ADD_ATTR,st)),e.ADD_URI_SAFE_ATTR&&S(Ze,e.ADD_URI_SAFE_ATTR,st),e.FORBID_CONTENTS&&(qe===$e&&(qe=w(qe)),S(qe,e.FORBID_CONTENTS,st)),Ye&&(Ne["#text"]=!0),Ie&&S(Ne,["html","head","body"]),Ne.table&&(S(Ne,["tbody"]),delete Ce.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ie=e.TRUSTED_TYPES_POLICY,ae=ie.createHTML("")}else void 0===ie&&(ie=ne(G,c)),null!==ie&&"string"==typeof ae&&(ae=ie.createHTML(""));i&&i(e),ut=e}},dt=S({},["mi","mo","mn","ms","mtext"]),ht=S({},["foreignobject","annotation-xml"]),gt=S({},["title","style","font","a","script"]),Tt=S({},[...D,...v,...O]),yt=S({},[...x,...k]),Et=function(e){let t=re(e);t&&t.tagName||(t={namespaceURI:nt,tagName:"template"});const n=f(e.tagName),o=f(t.tagName);return!!rt[e.namespaceURI]&&(e.namespaceURI===et?t.namespaceURI===tt?"svg"===n:t.namespaceURI===Qe?"svg"===n&&("annotation-xml"===o||dt[o]):Boolean(Tt[n]):e.namespaceURI===Qe?t.namespaceURI===tt?"math"===n:t.namespaceURI===et?"math"===n&&ht[o]:Boolean(yt[n]):e.namespaceURI===tt?!(t.namespaceURI===et&&!ht[o])&&(!(t.namespaceURI===Qe&&!dt[o])&&(!yt[n]&&(gt[n]||!Tt[n]))):!("application/xhtml+xml"!==at||!rt[e.namespaceURI]))},_t=function(e){p(o.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.remove()}},At=function(e,t){try{p(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){p(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!Se[e])if(Fe||He)try{_t(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Nt=function(e){let t=null,n=null;if(Pe)e="<remove></remove>"+e;else{const t=h(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===at&&nt===tt&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const o=ie?ie.createHTML(e):e;if(nt===tt)try{t=(new W).parseFromString(o,at)}catch(e){}if(!t||!t.documentElement){t=le.createDocument(nt,"template",null);try{t.documentElement.innerHTML=ot?ae:o}catch(e){}}const i=t.body||t.documentElement;return e&&n&&i.insertBefore(r.createTextNode(n),i.childNodes[0]||null),nt===tt?ue.call(t,Ie?"html":"body")[0]:Ie?t.documentElement:i},bt=function(e){return ce.call(e.ownerDocument||e,e,H.SHOW_ELEMENT|H.SHOW_COMMENT|H.SHOW_TEXT|H.SHOW_PROCESSING_INSTRUCTION|H.SHOW_CDATA_SECTION,null)},St=function(e){return e instanceof B&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof z)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Rt=function(e){return"function"==typeof b&&e instanceof b},wt=function(e,t,n){pe[e]&&u(pe[e],(e=>{e.call(o,t,n,ut)}))},Ct=function(e){let t=null;if(wt("beforeSanitizeElements",e,null),St(e))return _t(e),!0;const n=st(e.nodeName);if(wt("uponSanitizeElement",e,{tagName:n,allowedTags:Ne}),e.hasChildNodes()&&!Rt(e.firstElementChild)&&_(/<[/\w]/g,e.innerHTML)&&_(/<[/\w]/g,e.textContent))return _t(e),!0;if(e.nodeType===J)return _t(e),!0;if(Me&&e.nodeType===Q&&_(/<[/\w]/g,e.data))return _t(e),!0;if(!Ne[n]||Ce[n]){if(!Ce[n]&&Dt(n)){if(we.tagNameCheck instanceof RegExp&&_(we.tagNameCheck,n))return!1;if(we.tagNameCheck instanceof Function&&we.tagNameCheck(n))return!1}if(Ye&&!qe[n]){const t=re(e)||e.parentNode,n=oe(e)||e.childNodes;if(n&&t){for(let o=n.length-1;o>=0;--o){const r=X(n[o],!0);r.__removalCount=(e.__removalCount||0)+1,t.insertBefore(r,$(e))}}}return _t(e),!0}return e instanceof R&&!Et(e)?(_t(e),!0):"noscript"!==n&&"noembed"!==n&&"noframes"!==n||!_(/<\/no(script|embed|frames)/i,e.innerHTML)?(ke&&e.nodeType===Z&&(t=e.textContent,u([fe,de,he],(e=>{t=g(t,e," ")})),e.textContent!==t&&(p(o.removed,{element:e.cloneNode()}),e.textContent=t)),wt("afterSanitizeElements",e,null),!1):(_t(e),!0)},Lt=function(e,t,n){if(Be&&("id"===t||"name"===t)&&(n in r||n in mt))return!1;if(ve&&!Le[t]&&_(ge,t));else if(De&&_(Te,t));else if(!Se[t]||Le[t]){if(!(Dt(e)&&(we.tagNameCheck instanceof RegExp&&_(we.tagNameCheck,e)||we.tagNameCheck instanceof Function&&we.tagNameCheck(e))&&(we.attributeNameCheck instanceof RegExp&&_(we.attributeNameCheck,t)||we.attributeNameCheck instanceof Function&&we.attributeNameCheck(t))||"is"===t&&we.allowCustomizedBuiltInElements&&(we.tagNameCheck instanceof RegExp&&_(we.tagNameCheck,n)||we.tagNameCheck instanceof Function&&we.tagNameCheck(n))))return!1}else if(Ze[t]);else if(_(Ae,g(n,Ee,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==T(n,"data:")||!Ke[e]){if(Oe&&!_(ye,g(n,Ee,"")));else if(n)return!1}else;return!0},Dt=function(e){return"annotation-xml"!==e&&h(e,_e)},vt=function(e){wt("beforeSanitizeAttributes",e,null);const{attributes:t}=e;if(!t)return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Se};let r=t.length;for(;r--;){const i=t[r],{name:a,namespaceURI:l,value:c}=i,s=st(a);let p="value"===a?c:y(c);if(n.attrName=s,n.attrValue=p,n.keepAttr=!0,n.forceKeepAttr=void 0,wt("uponSanitizeAttribute",e,n),p=n.attrValue,n.forceKeepAttr)continue;if(At(a,e),!n.keepAttr)continue;if(!xe&&_(/\/>/i,p)){At(a,e);continue}if(Me&&_(/((--!?|])>)|<\/(style|title)/i,p)){At(a,e);continue}ke&&u([fe,de,he],(e=>{p=g(p,e," ")}));const f=st(e.nodeName);if(Lt(f,s,p)){if(!We||"id"!==s&&"name"!==s||(At(a,e),p=Ge+p),ie&&"object"==typeof G&&"function"==typeof G.getAttributeType)if(l);else switch(G.getAttributeType(f,s)){case"TrustedHTML":p=ie.createHTML(p);break;case"TrustedScriptURL":p=ie.createScriptURL(p)}try{l?e.setAttributeNS(l,a,p):e.setAttribute(a,p),St(e)?_t(e):m(o.removed)}catch(e){}}}wt("afterSanitizeAttributes",e,null)},Ot=function e(t){let n=null;const o=bt(t);for(wt("beforeSanitizeShadowDOM",t,null);n=o.nextNode();)wt("uponSanitizeShadowNode",n,null),Ct(n)||(n.content instanceof s&&e(n.content),vt(n));wt("afterSanitizeShadowDOM",t,null)};return o.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,r=null,i=null,l=null;if(ot=!e,ot&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Rt(e)){if("function"!=typeof e.toString)throw A("toString is not a function");if("string"!=typeof(e=e.toString()))throw A("dirty is not a string, aborting")}if(!o.isSupported)return e;if(Ue||ft(t),o.removed=[],"string"==typeof e&&(je=!1),je){if(e.nodeName){const t=st(e.nodeName);if(!Ne[t]||Ce[t])throw A("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof b)n=Nt("\x3c!----\x3e"),r=n.ownerDocument.importNode(e,!0),r.nodeType===V&&"BODY"===r.nodeName||"HTML"===r.nodeName?n=r:n.appendChild(r);else{if(!Fe&&!ke&&!Ie&&-1===e.indexOf("<"))return ie&&ze?ie.createHTML(e):e;if(n=Nt(e),!n)return Fe?null:ze?ae:""}n&&Pe&&_t(n.firstChild);const c=bt(je?e:n);for(;i=c.nextNode();)Ct(i)||(i.content instanceof s&&Ot(i.content),vt(i));if(je)return e;if(Fe){if(He)for(l=se.call(n.ownerDocument);n.firstChild;)l.appendChild(n.firstChild);else l=n;return(Se.shadowroot||Se.shadowrootmode)&&(l=me.call(a,l,!0)),l}let m=Ie?n.outerHTML:n.innerHTML;return Ie&&Ne["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&_(q,n.ownerDocument.doctype.name)&&(m="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+m),ke&&u([fe,de,he],(e=>{m=g(m,e," ")})),ie&&ze?ie.createHTML(m):m},o.setConfig=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};ft(e),Ue=!0},o.clearConfig=function(){ut=null,Ue=!1},o.isValidAttribute=function(e,t,n){ut||ft({});const o=st(e),r=st(t);return Lt(o,r,n)},o.addHook=function(e,t){"function"==typeof t&&(pe[e]=pe[e]||[],p(pe[e],t))},o.removeHook=function(e){if(pe[e])return m(pe[e])},o.removeHooks=function(e){pe[e]&&(pe[e]=[])},o.removeAllHooks=function(){pe={}},o}();return oe}));
+/*! @license DOMPurify 3.2.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.1/LICENSE */
+!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).DOMPurify=t()}(this,(function(){"use strict";const{entries:e,setPrototypeOf:t,isFrozen:n,getPrototypeOf:o,getOwnPropertyDescriptor:r}=Object;let{freeze:i,seal:a,create:l}=Object,{apply:c,construct:s}="undefined"!=typeof Reflect&&Reflect;i||(i=function(e){return e}),a||(a=function(e){return e}),c||(c=function(e,t,n){return e.apply(t,n)}),s||(s=function(e,t){return new e(...t)});const u=b(Array.prototype.forEach),m=b(Array.prototype.pop),p=b(Array.prototype.push),f=b(String.prototype.toLowerCase),d=b(String.prototype.toString),h=b(String.prototype.match),g=b(String.prototype.replace),T=b(String.prototype.indexOf),y=b(String.prototype.trim),E=b(Object.prototype.hasOwnProperty),_=b(RegExp.prototype.test),A=(N=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return s(N,t)});var N;function b(e){return function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return c(e,t,o)}}function S(e,o){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f;t&&t(e,null);let i=o.length;for(;i--;){let t=o[i];if("string"==typeof t){const e=r(t);e!==t&&(n(o)||(o[i]=e),t=e)}e[t]=!0}return e}function R(e){for(let t=0;t<e.length;t++){E(e,t)||(e[t]=null)}return e}function w(t){const n=l(null);for(const[o,r]of e(t)){E(t,o)&&(Array.isArray(r)?n[o]=R(r):r&&"object"==typeof r&&r.constructor===Object?n[o]=w(r):n[o]=r)}return n}function L(e,t){for(;null!==e;){const n=r(e,t);if(n){if(n.get)return b(n.get);if("function"==typeof n.value)return b(n.value)}e=o(e)}return function(){return null}}const v=i(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),C=i(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),O=i(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),D=i(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),x=i(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),k=i(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),I=i(["#text"]),M=i(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),U=i(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),P=i(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),H=i(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),F=a(/\{\{[\w\W]*|[\w\W]*\}\}/gm),z=a(/<%[\w\W]*|[\w\W]*%>/gm),B=a(/\${[\w\W]*}/gm),W=a(/^data-[\-\w.\u00B7-\uFFFF]/),G=a(/^aria-[\-\w]+$/),Y=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),j=a(/^(?:\w+script|data):/i),X=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),q=a(/^html$/i),K=a(/^[a-z][.\w]*(-[.\w]+)+$/i);var $=Object.freeze({__proto__:null,ARIA_ATTR:G,ATTR_WHITESPACE:X,CUSTOM_ELEMENT:K,DATA_ATTR:W,DOCTYPE_NAME:q,ERB_EXPR:z,IS_ALLOWED_URI:Y,IS_SCRIPT_OR_DATA:j,MUSTACHE_EXPR:F,TMPLIT_EXPR:B});const V=1,Z=3,J=7,Q=8,ee=9,te=function(){return"undefined"==typeof window?null:window};var ne=function t(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:te();const o=e=>t(e);if(o.version="3.2.1",o.removed=[],!n||!n.document||n.document.nodeType!==ee)return o.isSupported=!1,o;let{document:r}=n;const a=r,c=a.currentScript,{DocumentFragment:s,HTMLTemplateElement:N,Node:b,Element:R,NodeFilter:F,NamedNodeMap:z=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:B,DOMParser:W,trustedTypes:G}=n,j=R.prototype,X=L(j,"cloneNode"),K=L(j,"remove"),ne=L(j,"nextSibling"),oe=L(j,"childNodes"),re=L(j,"parentNode");if("function"==typeof N){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let ie,ae="";const{implementation:le,createNodeIterator:ce,createDocumentFragment:se,getElementsByTagName:ue}=r,{importNode:me}=a;let pe={};o.isSupported="function"==typeof e&&"function"==typeof re&&le&&void 0!==le.createHTMLDocument;const{MUSTACHE_EXPR:fe,ERB_EXPR:de,TMPLIT_EXPR:he,DATA_ATTR:ge,ARIA_ATTR:Te,IS_SCRIPT_OR_DATA:ye,ATTR_WHITESPACE:Ee,CUSTOM_ELEMENT:_e}=$;let{IS_ALLOWED_URI:Ae}=$,Ne=null;const be=S({},[...v,...C,...O,...x,...I]);let Se=null;const Re=S({},[...M,...U,...P,...H]);let we=Object.seal(l(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}})),Le=null,ve=null,Ce=!0,Oe=!0,De=!1,xe=!0,ke=!1,Ie=!0,Me=!1,Ue=!1,Pe=!1,He=!1,Fe=!1,ze=!1,Be=!0,We=!1,Ge=!0,Ye=!1,je={},Xe=null;const qe=S({},["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 Ke=null;const $e=S({},["audio","video","img","source","image","track"]);let Ve=null;const Ze=S({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Je="http://www.w3.org/1998/Math/MathML",Qe="http://www.w3.org/2000/svg",et="http://www.w3.org/1999/xhtml";let tt=et,nt=!1,ot=null;const rt=S({},[Je,Qe,et],d);let it=S({},["mi","mo","mn","ms","mtext"]),at=S({},["annotation-xml"]);const lt=S({},["title","style","font","a","script"]);let ct=null;const st=["application/xhtml+xml","text/html"];let ut=null,mt=null;const pt=r.createElement("form"),ft=function(e){return e instanceof RegExp||e instanceof Function},dt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!mt||mt!==e){if(e&&"object"==typeof e||(e={}),e=w(e),ct=-1===st.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,ut="application/xhtml+xml"===ct?d:f,Ne=E(e,"ALLOWED_TAGS")?S({},e.ALLOWED_TAGS,ut):be,Se=E(e,"ALLOWED_ATTR")?S({},e.ALLOWED_ATTR,ut):Re,ot=E(e,"ALLOWED_NAMESPACES")?S({},e.ALLOWED_NAMESPACES,d):rt,Ve=E(e,"ADD_URI_SAFE_ATTR")?S(w(Ze),e.ADD_URI_SAFE_ATTR,ut):Ze,Ke=E(e,"ADD_DATA_URI_TAGS")?S(w($e),e.ADD_DATA_URI_TAGS,ut):$e,Xe=E(e,"FORBID_CONTENTS")?S({},e.FORBID_CONTENTS,ut):qe,Le=E(e,"FORBID_TAGS")?S({},e.FORBID_TAGS,ut):{},ve=E(e,"FORBID_ATTR")?S({},e.FORBID_ATTR,ut):{},je=!!E(e,"USE_PROFILES")&&e.USE_PROFILES,Ce=!1!==e.ALLOW_ARIA_ATTR,Oe=!1!==e.ALLOW_DATA_ATTR,De=e.ALLOW_UNKNOWN_PROTOCOLS||!1,xe=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,ke=e.SAFE_FOR_TEMPLATES||!1,Ie=!1!==e.SAFE_FOR_XML,Me=e.WHOLE_DOCUMENT||!1,He=e.RETURN_DOM||!1,Fe=e.RETURN_DOM_FRAGMENT||!1,ze=e.RETURN_TRUSTED_TYPE||!1,Pe=e.FORCE_BODY||!1,Be=!1!==e.SANITIZE_DOM,We=e.SANITIZE_NAMED_PROPS||!1,Ge=!1!==e.KEEP_CONTENT,Ye=e.IN_PLACE||!1,Ae=e.ALLOWED_URI_REGEXP||Y,tt=e.NAMESPACE||et,it=e.MATHML_TEXT_INTEGRATION_POINTS||it,at=e.HTML_INTEGRATION_POINTS||at,we=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&ft(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(we.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&ft(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(we.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(we.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ke&&(Oe=!1),Fe&&(He=!0),je&&(Ne=S({},I),Se=[],!0===je.html&&(S(Ne,v),S(Se,M)),!0===je.svg&&(S(Ne,C),S(Se,U),S(Se,H)),!0===je.svgFilters&&(S(Ne,O),S(Se,U),S(Se,H)),!0===je.mathMl&&(S(Ne,x),S(Se,P),S(Se,H))),e.ADD_TAGS&&(Ne===be&&(Ne=w(Ne)),S(Ne,e.ADD_TAGS,ut)),e.ADD_ATTR&&(Se===Re&&(Se=w(Se)),S(Se,e.ADD_ATTR,ut)),e.ADD_URI_SAFE_ATTR&&S(Ve,e.ADD_URI_SAFE_ATTR,ut),e.FORBID_CONTENTS&&(Xe===qe&&(Xe=w(Xe)),S(Xe,e.FORBID_CONTENTS,ut)),Ge&&(Ne["#text"]=!0),Me&&S(Ne,["html","head","body"]),Ne.table&&(S(Ne,["tbody"]),delete Le.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ie=e.TRUSTED_TYPES_POLICY,ae=ie.createHTML("")}else void 0===ie&&(ie=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const o="data-tt-policy-suffix";t&&t.hasAttribute(o)&&(n=t.getAttribute(o));const r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}}(G,c)),null!==ie&&"string"==typeof ae&&(ae=ie.createHTML(""));i&&i(e),mt=e}},ht=S({},[...C,...O,...D]),gt=S({},[...x,...k]),Tt=function(e){p(o.removed,{element:e});try{re(e).removeChild(e)}catch(t){K(e)}},yt=function(e,t){try{p(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){p(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!Se[e])if(He||Fe)try{Tt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Et=function(e){let t=null,n=null;if(Pe)e="<remove></remove>"+e;else{const t=h(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===ct&&tt===et&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const o=ie?ie.createHTML(e):e;if(tt===et)try{t=(new W).parseFromString(o,ct)}catch(e){}if(!t||!t.documentElement){t=le.createDocument(tt,"template",null);try{t.documentElement.innerHTML=nt?ae:o}catch(e){}}const i=t.body||t.documentElement;return e&&n&&i.insertBefore(r.createTextNode(n),i.childNodes[0]||null),tt===et?ue.call(t,Me?"html":"body")[0]:Me?t.documentElement:i},_t=function(e){return ce.call(e.ownerDocument||e,e,F.SHOW_ELEMENT|F.SHOW_COMMENT|F.SHOW_TEXT|F.SHOW_PROCESSING_INSTRUCTION|F.SHOW_CDATA_SECTION,null)},At=function(e){return e instanceof B&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof z)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Nt=function(e){return"function"==typeof b&&e instanceof b};function bt(e,t,n){pe[e]&&u(pe[e],(e=>{e.call(o,t,n,mt)}))}const St=function(e){let t=null;if(bt("beforeSanitizeElements",e,null),At(e))return Tt(e),!0;const n=ut(e.nodeName);if(bt("uponSanitizeElement",e,{tagName:n,allowedTags:Ne}),e.hasChildNodes()&&!Nt(e.firstElementChild)&&_(/<[/\w]/g,e.innerHTML)&&_(/<[/\w]/g,e.textContent))return Tt(e),!0;if(e.nodeType===J)return Tt(e),!0;if(Ie&&e.nodeType===Q&&_(/<[/\w]/g,e.data))return Tt(e),!0;if(!Ne[n]||Le[n]){if(!Le[n]&&wt(n)){if(we.tagNameCheck instanceof RegExp&&_(we.tagNameCheck,n))return!1;if(we.tagNameCheck instanceof Function&&we.tagNameCheck(n))return!1}if(Ge&&!Xe[n]){const t=re(e)||e.parentNode,n=oe(e)||e.childNodes;if(n&&t){for(let o=n.length-1;o>=0;--o){const r=X(n[o],!0);r.__removalCount=(e.__removalCount||0)+1,t.insertBefore(r,ne(e))}}}return Tt(e),!0}return e instanceof R&&!function(e){let t=re(e);t&&t.tagName||(t={namespaceURI:tt,tagName:"template"});const n=f(e.tagName),o=f(t.tagName);return!!ot[e.namespaceURI]&&(e.namespaceURI===Qe?t.namespaceURI===et?"svg"===n:t.namespaceURI===Je?"svg"===n&&("annotation-xml"===o||it[o]):Boolean(ht[n]):e.namespaceURI===Je?t.namespaceURI===et?"math"===n:t.namespaceURI===Qe?"math"===n&&at[o]:Boolean(gt[n]):e.namespaceURI===et?!(t.namespaceURI===Qe&&!at[o])&&!(t.namespaceURI===Je&&!it[o])&&!gt[n]&&(lt[n]||!ht[n]):!("application/xhtml+xml"!==ct||!ot[e.namespaceURI]))}(e)?(Tt(e),!0):"noscript"!==n&&"noembed"!==n&&"noframes"!==n||!_(/<\/no(script|embed|frames)/i,e.innerHTML)?(ke&&e.nodeType===Z&&(t=e.textContent,u([fe,de,he],(e=>{t=g(t,e," ")})),e.textContent!==t&&(p(o.removed,{element:e.cloneNode()}),e.textContent=t)),bt("afterSanitizeElements",e,null),!1):(Tt(e),!0)},Rt=function(e,t,n){if(Be&&("id"===t||"name"===t)&&(n in r||n in pt))return!1;if(Oe&&!ve[t]&&_(ge,t));else if(Ce&&_(Te,t));else if(!Se[t]||ve[t]){if(!(wt(e)&&(we.tagNameCheck instanceof RegExp&&_(we.tagNameCheck,e)||we.tagNameCheck instanceof Function&&we.tagNameCheck(e))&&(we.attributeNameCheck instanceof RegExp&&_(we.attributeNameCheck,t)||we.attributeNameCheck instanceof Function&&we.attributeNameCheck(t))||"is"===t&&we.allowCustomizedBuiltInElements&&(we.tagNameCheck instanceof RegExp&&_(we.tagNameCheck,n)||we.tagNameCheck instanceof Function&&we.tagNameCheck(n))))return!1}else if(Ve[t]);else if(_(Ae,g(n,Ee,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==T(n,"data:")||!Ke[e]){if(De&&!_(ye,g(n,Ee,"")));else if(n)return!1}else;return!0},wt=function(e){return"annotation-xml"!==e&&h(e,_e)},Lt=function(e){bt("beforeSanitizeAttributes",e,null);const{attributes:t}=e;if(!t)return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Se,forceKeepAttr:void 0};let r=t.length;for(;r--;){const i=t[r],{name:a,namespaceURI:l,value:c}=i,s=ut(a);let p="value"===a?c:y(c);if(n.attrName=s,n.attrValue=p,n.keepAttr=!0,n.forceKeepAttr=void 0,bt("uponSanitizeAttribute",e,n),p=n.attrValue,!We||"id"!==s&&"name"!==s||(yt(a,e),p="user-content-"+p),Ie&&_(/((--!?|])>)|<\/(style|title)/i,p)){yt(a,e);continue}if(n.forceKeepAttr)continue;if(yt(a,e),!n.keepAttr)continue;if(!xe&&_(/\/>/i,p)){yt(a,e);continue}ke&&u([fe,de,he],(e=>{p=g(p,e," ")}));const f=ut(e.nodeName);if(Rt(f,s,p)){if(ie&&"object"==typeof G&&"function"==typeof G.getAttributeType)if(l);else switch(G.getAttributeType(f,s)){case"TrustedHTML":p=ie.createHTML(p);break;case"TrustedScriptURL":p=ie.createScriptURL(p)}try{l?e.setAttributeNS(l,a,p):e.setAttribute(a,p),At(e)?Tt(e):m(o.removed)}catch(e){}}}bt("afterSanitizeAttributes",e,null)},vt=function e(t){let n=null;const o=_t(t);for(bt("beforeSanitizeShadowDOM",t,null);n=o.nextNode();)bt("uponSanitizeShadowNode",n,null),St(n)||(n.content instanceof s&&e(n.content),Lt(n));bt("afterSanitizeShadowDOM",t,null)};return o.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,r=null,i=null,l=null;if(nt=!e,nt&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Nt(e)){if("function"!=typeof e.toString)throw A("toString is not a function");if("string"!=typeof(e=e.toString()))throw A("dirty is not a string, aborting")}if(!o.isSupported)return e;if(Ue||dt(t),o.removed=[],"string"==typeof e&&(Ye=!1),Ye){if(e.nodeName){const t=ut(e.nodeName);if(!Ne[t]||Le[t])throw A("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof b)n=Et("\x3c!----\x3e"),r=n.ownerDocument.importNode(e,!0),r.nodeType===V&&"BODY"===r.nodeName||"HTML"===r.nodeName?n=r:n.appendChild(r);else{if(!He&&!ke&&!Me&&-1===e.indexOf("<"))return ie&&ze?ie.createHTML(e):e;if(n=Et(e),!n)return He?null:ze?ae:""}n&&Pe&&Tt(n.firstChild);const c=_t(Ye?e:n);for(;i=c.nextNode();)St(i)||(i.content instanceof s&&vt(i.content),Lt(i));if(Ye)return e;if(He){if(Fe)for(l=se.call(n.ownerDocument);n.firstChild;)l.appendChild(n.firstChild);else l=n;return(Se.shadowroot||Se.shadowrootmode)&&(l=me.call(a,l,!0)),l}let m=Me?n.outerHTML:n.innerHTML;return Me&&Ne["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&_(q,n.ownerDocument.doctype.name)&&(m="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+m),ke&&u([fe,de,he],(e=>{m=g(m,e," ")})),ie&&ze?ie.createHTML(m):m},o.setConfig=function(){dt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Ue=!0},o.clearConfig=function(){mt=null,Ue=!1},o.isValidAttribute=function(e,t,n){mt||dt({});const o=ut(e),r=ut(t);return Rt(o,r,n)},o.addHook=function(e,t){"function"==typeof t&&(pe[e]=pe[e]||[],p(pe[e],t))},o.removeHook=function(e){if(pe[e])return m(pe[e])},o.removeHooks=function(e){pe[e]&&(pe[e]=[])},o.removeAllHooks=function(){pe={}},o}();return ne}));
/*
CryptoJS v3.1.2
code.google.com/p/crypto-js
@@ -64,7 +64,7 @@ if("1"==urlParams.offline||"1"==urlParams.demo||"1"==urlParams.stealth||"1"==url
"se.diagrams.net"==window.location.hostname&&(urlParams.db="0",urlParams.od="0",urlParams.gh="0",urlParams.gl="0",urlParams.tr="0",urlParams.plugins="0",urlParams.mode="google",urlParams.lockdown="1",window.DRAWIO_GOOGLE_APP_ID=window.DRAWIO_GOOGLE_APP_ID||"184079235871",window.DRAWIO_GOOGLE_CLIENT_ID=window.DRAWIO_GOOGLE_CLIENT_ID||"184079235871-pjf5nn0lff27lk8qf0770gmffiv9gt61.apps.googleusercontent.com");"trello"==urlParams.mode&&(urlParams.tr="1");
"embed.diagrams.net"==window.location.hostname&&(urlParams.embed="1");(null==window.location.hash||1>=window.location.hash.length)&&null!=urlParams.open&&(window.location.hash=urlParams.open);"function"!==typeof window.structuredClone&&(window.structuredClone=function(a){return a});window.urlParams=window.urlParams||{};window.DOM_PURIFY_CONFIG=window.DOM_PURIFY_CONFIG||{ADD_TAGS:["use","foreignObject"],FORBID_TAGS:["form"],ALLOWED_URI_REGEXP:/^((?!javascript:).)*$/i,ADD_ATTR:["target","content","pointer-events","requiredFeatures"]};window.MAX_REQUEST_SIZE=window.MAX_REQUEST_SIZE||10485760;window.MAX_AREA=window.MAX_AREA||225E6;window.EXPORT_URL=window.EXPORT_URL||"/export";window.SAVE_URL=window.SAVE_URL||"/save";window.OPEN_URL=window.OPEN_URL||"/open";
window.RESOURCES_PATH=window.RESOURCES_PATH||"resources";window.RESOURCE_BASE=window.RESOURCE_BASE||window.RESOURCES_PATH+"/grapheditor";window.STENCIL_PATH=window.STENCIL_PATH||"stencils";window.IMAGE_PATH=window.IMAGE_PATH||"images";window.STYLE_PATH=window.STYLE_PATH||"styles";window.CSS_PATH=window.CSS_PATH||"styles";window.OPEN_FORM=window.OPEN_FORM||"open.html";window.mxBasePath=window.mxBasePath||"mxgraph";window.mxImageBasePath=window.mxImageBasePath||"mxgraph/images";
-window.mxLanguage=window.mxLanguage||urlParams.lang;window.mxLanguages=window.mxLanguages||["de","se"];var mxClient={VERSION:"24.8.6",IS_IE:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("MSIE"),IS_IE11:null!=navigator.userAgent&&!!navigator.userAgent.match(/Trident\/7\./),IS_EDGE:null!=navigator.userAgent&&!!navigator.userAgent.match(/Edge\//),IS_EM:"spellcheck"in document.createElement("textarea")&&8==document.documentMode,VML_PREFIX:"v",OFFICE_PREFIX:"o",IS_NS:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Mozilla/")&&0>navigator.userAgent.indexOf("MSIE")&&0>navigator.userAgent.indexOf("Edge/"),
+window.mxLanguage=window.mxLanguage||urlParams.lang;window.mxLanguages=window.mxLanguages||["de","se"];var mxClient={VERSION:"24.8.9",IS_IE:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("MSIE"),IS_IE11:null!=navigator.userAgent&&!!navigator.userAgent.match(/Trident\/7\./),IS_EDGE:null!=navigator.userAgent&&!!navigator.userAgent.match(/Edge\//),IS_EM:"spellcheck"in document.createElement("textarea")&&8==document.documentMode,VML_PREFIX:"v",OFFICE_PREFIX:"o",IS_NS:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Mozilla/")&&0>navigator.userAgent.indexOf("MSIE")&&0>navigator.userAgent.indexOf("Edge/"),
IS_OP:null!=navigator.userAgent&&(0<=navigator.userAgent.indexOf("Opera/")||0<=navigator.userAgent.indexOf("OPR/")),IS_OT:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Presto/")&&0>navigator.userAgent.indexOf("Presto/2.4.")&&0>navigator.userAgent.indexOf("Presto/2.3.")&&0>navigator.userAgent.indexOf("Presto/2.2.")&&0>navigator.userAgent.indexOf("Presto/2.1.")&&0>navigator.userAgent.indexOf("Presto/2.0.")&&0>navigator.userAgent.indexOf("Presto/1."),IS_SF:/Apple Computer, Inc/.test(navigator.vendor),
IS_ANDROID:0<=navigator.appVersion.indexOf("Android"),IS_IOS:/iP(hone|od|ad)/.test(navigator.platform)||navigator.userAgent.match(/Mac/)&&navigator.maxTouchPoints&&2<navigator.maxTouchPoints,IS_WEBVIEW:/((iPhone|iPod|iPad).*AppleWebKit(?!.*Version)|; wv)/i.test(navigator.userAgent),IS_GC:/Google Inc/.test(navigator.vendor),IS_CHROMEAPP:null!=window.chrome&&null!=chrome.app&&null!=chrome.app.runtime,IS_FF:-1<navigator.userAgent.toLowerCase().indexOf("firefox"),IS_MT:0<=navigator.userAgent.indexOf("Firefox/")&&
0>navigator.userAgent.indexOf("Firefox/1.")&&0>navigator.userAgent.indexOf("Firefox/2.")||0<=navigator.userAgent.indexOf("Iceweasel/")&&0>navigator.userAgent.indexOf("Iceweasel/1.")&&0>navigator.userAgent.indexOf("Iceweasel/2.")||0<=navigator.userAgent.indexOf("SeaMonkey/")&&0>navigator.userAgent.indexOf("SeaMonkey/1.")||0<=navigator.userAgent.indexOf("Iceape/")&&0>navigator.userAgent.indexOf("Iceape/1."),IS_SVG:"MICROSOFT INTERNET EXPLORER"!=navigator.appName.toUpperCase(),NO_FO:!document.createElementNS||
@@ -111,57 +111,57 @@ null!=b?b:" ",c=null!=c?c:"",d=null!=d?d:"\n",null!=a.namespaceURI&&a.namespace
0<a.length&&f.push(c+"\x3c!--"+a+"--\x3e"+d);else if(a.nodeType==mxConstants.NODETYPE_TEXT)a=mxUtils.trim(mxUtils.getTextContent(a)),0<a.length&&f.push(c+mxUtils.htmlEntities(a,!1,!1)+d);else if(a.nodeType==mxConstants.NODETYPE_CDATA)a=mxUtils.getTextContent(a),0<a.length&&f.push(c+"<![CDATA["+a+"]]"+d);else{f.push(c+"<"+a.nodeName);g=a.attributes;if(null!=g)for(var k=0;k<g.length;k++){var l=mxUtils.htmlEntities(g[k].value);f.push(" "+g[k].nodeName+'="'+l+'"')}g=a.firstChild;if(null!=g){for(f.push(">"+
d);null!=g;)f.push(mxUtils.getPrettyXml(g,b,c+b,d,e)),g=g.nextSibling;f.push(c+"</"+a.nodeName+">"+d)}else f.push(" />"+d)}return f.join("")},extractTextWithWhitespace:function(a){function b(e){if(1!=e.length||"BR"!=e[0].nodeName&&"\n"!=e[0].innerHTML)for(var f=0;f<e.length;f++){var g=e[f];"BR"==g.nodeName||"\n"==g.innerHTML||(1==e.length||0==f)&&"DIV"==g.nodeName&&"<br>"==g.innerHTML.toLowerCase()?d.push("\n"):(3===g.nodeType||4===g.nodeType?0<g.nodeValue.length&&d.push(g.nodeValue):8!==g.nodeType&&
0<g.childNodes.length&&b(g.childNodes),f<e.length-1&&0<=mxUtils.indexOf(c,e[f+1].nodeName)&&d.push("\n"))}}var c="BLOCKQUOTE DIV H1 H2 H3 H4 H5 H6 OL P PRE TABLE UL".split(" "),d=[];b(a);return d.join("")},replaceTrailingNewlines:function(a,b){for(var c="";0<a.length&&"\n"==a.charAt(a.length-1);)a=a.substring(0,a.length-1),c+=b;return a+c},getNodeValue:function(a){a=a.firstChild;for(var b=[];null!=a;)a.nodeType!=mxConstants.NODETYPE_TEXT&&a.nodeType!=mxConstants.NODETYPE_CDATA||null==a.nodeValue||
-b.push(mxUtils.trim(a.nodeValue)),a=a.nextSibling;return 0<b.length?b.join(""):""},getTextContent:function(a){return mxClient.IS_IE&&void 0!==a.innerText?a.innerText:null!=a?a[void 0===a.textContent?"text":"textContent"]:""},setTextContent:function(a,b){void 0!==a.innerText?a.innerText=b:a[void 0===a.textContent?"text":"textContent"]=b},getInnerHtml:function(){return mxClient.IS_IE?function(a){return null!=a?a.innerHTML:""}:function(a){return null!=a?(new XMLSerializer).serializeToString(a):""}}(),
-getOuterHtml:function(){return mxClient.IS_IE?function(a){if(null!=a){if(null!=a.outerHTML)return a.outerHTML;var b=[];b.push("<"+a.nodeName);var c=a.attributes;if(null!=c)for(var d=0;d<c.length;d++){var e=c[d].value;null!=e&&0<e.length&&(b.push(" "),b.push(c[d].nodeName),b.push('="'),b.push(e),b.push('"'))}0==a.innerHTML.length?b.push("/>"):(b.push(">"),b.push(a.innerHTML),b.push("</"+a.nodeName+">"));return b.join("")}return""}:function(a){return null!=a?(new XMLSerializer).serializeToString(a):
-""}}(),write:function(a,b){b=a.ownerDocument.createTextNode(b);null!=a&&a.appendChild(b);return b},writeln:function(a,b){b=a.ownerDocument.createTextNode(b);null!=a&&(a.appendChild(b),a.appendChild(document.createElement("br")));return b},br:function(a,b){b=b||1;for(var c=null,d=0;d<b;d++)null!=a&&(c=a.ownerDocument.createElement("br"),a.appendChild(c));return c},button:function(a,b,c,d){c=null!=c?c:document;c=c.createElement("button");mxUtils.write(c,a);mxEvent.addListener(c,"click",function(e){b(e)});
-null!=d&&(c.className=d);return c},para:function(a,b){var c=document.createElement("p");mxUtils.write(c,b);null!=a&&a.appendChild(c);return c},addTransparentBackgroundFilter:function(a){a.style.filter+="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+mxClient.imageBasePath+"/transparent.gif', sizingMethod='scale')"},linkAction:function(a,b,c,d,e){return mxUtils.link(a,b,function(){c.execute(d)},e)},linkInvoke:function(a,b,c,d,e,f){return mxUtils.link(a,b,function(){c[d](e)},f)},link:function(a,
-b,c,d){var e=document.createElement("span");e.style.color="blue";e.style.textDecoration="underline";e.style.cursor="pointer";null!=d&&(e.style.paddingLeft=d+"px");mxEvent.addListener(e,"click",c);mxUtils.write(e,b);null!=a&&a.appendChild(e);return e},getDocumentSize:function(){var a=document.body,b=document.documentElement;try{return new mxRectangle(0,0,a.clientWidth||b.clientWidth,Math.max(a.clientHeight||0,b.clientHeight))}catch(c){return new mxRectangle}},fit:function(a,b){b=b||0;var c=mxUtils.getDocumentSize(),
-d=parseInt(a.offsetLeft),e=parseInt(a.offsetWidth),f=mxUtils.getDocumentScrollOrigin(a.ownerDocument),g=f.x;f=f.y;var k=g+c.width-b;d+e>k&&(a.style.left=Math.max(g+b,k-e)+"px");d=parseInt(a.offsetTop);e=parseInt(a.offsetHeight);c=f+c.height-b;d+e>c&&(a.style.top=Math.max(f+b,c-e)+"px")},load:function(a){a=new mxXmlRequest(a,null,"GET",!1);a.send();return a},get:function(a,b,c,d,e,f,g){a=new mxXmlRequest(a,null,"GET");var k=a.setRequestHeaders;g&&(a.setRequestHeaders=function(l,m){k.apply(this,arguments);
-for(var n in g)l.setRequestHeader(n,g[n])});null!=d&&a.setBinary(d);a.send(b,c,e,f);return a},getAll:function(a,b,c){for(var d=a.length,e=[],f=0,g=function(){0==f&&null!=c&&c();f++},k=0;k<a.length;k++)(function(l,m){mxUtils.get(l,function(n){var p=n.getStatus();200>p||299<p?g():(e[m]=n,d--,0==d&&b(e))},g)})(a[k],k);0==d&&b(e)},post:function(a,b,c,d){return(new mxXmlRequest(a,b)).send(c,d)},submit:function(a,b,c,d){return(new mxXmlRequest(a,b)).simulate(c,d)},loadInto:function(a,b,c){mxClient.IS_IE?
-b.onreadystatechange=function(){4==b.readyState&&c()}:b.addEventListener("load",c,!1);b.load(a)},getValue:function(a,b,c){a=null!=a?a[b]:null;null==a&&(a=c);return a},getNumber:function(a,b,c){a=null!=a?a[b]:null;null==a&&(a=c||0);return Number(a)},getColor:function(a,b,c){a=null!=a?a[b]:null;null==a?a=c:a==mxConstants.NONE&&(a=null);return a},isEmptyObject:function(a){for(var b in a)return!1;return!0},clone:function(a,b,c){c=null!=c?c:!1;var d=null;if(null!=a&&"function"==typeof a.constructor)if(a.constructor===
-Element)d=a.cloneNode(null!=c?!c:!1);else{d=new a.constructor;for(var e in a)e!=mxObjectIdentity.FIELD_NAME&&(null==b||0>mxUtils.indexOf(b,e))&&(d[e]=c||"object"!=typeof a[e]?a[e]:mxUtils.clone(a[e]))}return d},equalPoints:function(a,b){if(null==a&&null!=b||null!=a&&null==b||null!=a&&null!=b&&a.length!=b.length)return!1;if(null!=a&&null!=b)for(var c=0;c<a.length;c++)if(null!=a[c]&&null==b[c]||null==a[c]&&null!=b[c]||null!=a[c]&&null!=b[c]&&(a[c].x!=b[c].x||a[c].y!=b[c].y))return!1;return!0},equalEntries:function(a,
-b){var c=0;if(null==a&&null!=b||null!=a&&null==b||null!=a&&null!=b&&a.length!=b.length)return!1;if(null!=a&&null!=b){for(var d in b)c++;for(d in a)if(c--,!(mxUtils.isNaN(a[d])&&mxUtils.isNaN(b[d])||a[d]==b[d]))return!1}return 0==c},removeDuplicates:function(a){for(var b=new mxDictionary,c=[],d=0;d<a.length;d++)b.get(a[d])||(c.push(a[d]),b.put(a[d],!0));return c},isNaN:function(a){return"number"==typeof a&&isNaN(a)},extend:function(a,b){var c=function(){};c.prototype=b.prototype;a.prototype=new c;
-a.prototype.constructor=a},toString:function(a){var b="",c;for(c in a)try{if(null==a[c])b+=c+" = [null]\n";else if("function"==typeof a[c])b+=c+" => [Function]\n";else if("object"==typeof a[c]){var d=mxUtils.getFunctionName(a[c].constructor);b+=c+" => ["+d+"]\n"}else b+=c+" = "+a[c]+"\n"}catch(e){b+=c+"="+e.message}return b},toRadians:function(a){return Math.PI*a/180},toDegree:function(a){return 180*a/Math.PI},arcToCurves:function(a,b,c,d,e,f,g,k,l){k-=a;l-=b;if(0===c||0===d)return E;c=Math.abs(c);
-d=Math.abs(d);var m=-k/2,n=-l/2,p=Math.cos(e*Math.PI/180);E=Math.sin(e*Math.PI/180);e=p*m+E*n;m=-1*E*m+p*n;n=e*e;var r=m*m,q=c*c,t=d*d,u=n/q+r/t;1<u?(c*=Math.sqrt(u),d*=Math.sqrt(u),f=0):(u=1,f===g&&(u=-1),f=u*Math.sqrt((q*t-q*r-t*n)/(q*r+t*n)));n=f*c*m/d;r=-1*f*d*e/c;k=p*n-E*r+k/2;l=E*n+p*r+l/2;q=Math.atan2((m-r)/d,(e-n)/c)-Math.atan2(0,1);f=0<=q?q:2*Math.PI+q;q=Math.atan2((-m-r)/d,(-e-n)/c)-Math.atan2((m-r)/d,(e-n)/c);e=0<=q?q:2*Math.PI+q;0==g&&0<e?e-=2*Math.PI:0!=g&&0>e&&(e+=2*Math.PI);g=2*e/Math.PI;
-g=Math.ceil(0>g?-1*g:g);e/=g;m=8/3*Math.sin(e/4)*Math.sin(e/4)/Math.sin(e/2);n=p*c;p*=d;c*=E;d*=E;var v=Math.cos(f),z=Math.sin(f);r=-m*(n*z+d*v);q=-m*(c*z-p*v);for(var E=[],C=0;C<g;++C){f+=e;v=Math.cos(f);z=Math.sin(f);t=n*v-d*z+k;u=c*v+p*z+l;var F=-m*(n*z+d*v);v=-m*(c*z-p*v);z=6*C;E[z]=Number(r+a);E[z+1]=Number(q+b);E[z+2]=Number(t-F+a);E[z+3]=Number(u-v+b);E[z+4]=Number(t+a);E[z+5]=Number(u+b);r=t+F;q=u+v}return E},getBoundingBox:function(a,b,c){var d=null;if(null!=a&&null!=b&&0!=b){b=mxUtils.toRadians(b);
-d=Math.cos(b);var e=Math.sin(b);c=null!=c?c:new mxPoint(a.x+a.width/2,a.y+a.height/2);var f=new mxPoint(a.x,a.y);b=new mxPoint(a.x+a.width,a.y);var g=new mxPoint(b.x,a.y+a.height);a=new mxPoint(a.x,g.y);f=mxUtils.getRotatedPoint(f,d,e,c);b=mxUtils.getRotatedPoint(b,d,e,c);g=mxUtils.getRotatedPoint(g,d,e,c);a=mxUtils.getRotatedPoint(a,d,e,c);d=new mxRectangle(f.x,f.y,0,0);d.add(new mxRectangle(b.x,b.y,0,0));d.add(new mxRectangle(g.x,g.y,0,0));d.add(new mxRectangle(a.x,a.y,0,0))}return d},getRotatedPoint:function(a,
-b,c,d){d=null!=d?d:new mxPoint;var e=a.x-d.x;a=a.y-d.y;return new mxPoint(e*b-a*c+d.x,a*b+e*c+d.y)},getPortConstraints:function(a,b,c,d){b=mxUtils.getValue(a.style,mxConstants.STYLE_PORT_CONSTRAINT,mxUtils.getValue(b.style,c?mxConstants.STYLE_SOURCE_PORT_CONSTRAINT:mxConstants.STYLE_TARGET_PORT_CONSTRAINT,null));if(null==b)return d;d=b.toString();b=mxConstants.DIRECTION_MASK_NONE;c=0;1==mxUtils.getValue(a.style,mxConstants.STYLE_PORT_CONSTRAINT_ROTATION,0)&&(c=mxUtils.getValue(a.style,mxConstants.STYLE_ROTATION,
-0));a=0;45<c?(a=1,135<=c&&(a=2)):-45>c&&(a=3,-135>=c&&(a=2));if(0<=d.indexOf(mxConstants.DIRECTION_NORTH))switch(a){case 0:b|=mxConstants.DIRECTION_MASK_NORTH;break;case 1:b|=mxConstants.DIRECTION_MASK_EAST;break;case 2:b|=mxConstants.DIRECTION_MASK_SOUTH;break;case 3:b|=mxConstants.DIRECTION_MASK_WEST}if(0<=d.indexOf(mxConstants.DIRECTION_WEST))switch(a){case 0:b|=mxConstants.DIRECTION_MASK_WEST;break;case 1:b|=mxConstants.DIRECTION_MASK_NORTH;break;case 2:b|=mxConstants.DIRECTION_MASK_EAST;break;
-case 3:b|=mxConstants.DIRECTION_MASK_SOUTH}if(0<=d.indexOf(mxConstants.DIRECTION_SOUTH))switch(a){case 0:b|=mxConstants.DIRECTION_MASK_SOUTH;break;case 1:b|=mxConstants.DIRECTION_MASK_WEST;break;case 2:b|=mxConstants.DIRECTION_MASK_NORTH;break;case 3:b|=mxConstants.DIRECTION_MASK_EAST}if(0<=d.indexOf(mxConstants.DIRECTION_EAST))switch(a){case 0:b|=mxConstants.DIRECTION_MASK_EAST;break;case 1:b|=mxConstants.DIRECTION_MASK_SOUTH;break;case 2:b|=mxConstants.DIRECTION_MASK_WEST;break;case 3:b|=mxConstants.DIRECTION_MASK_NORTH}return b},
-reversePortConstraints:function(a){var b=(a&mxConstants.DIRECTION_MASK_WEST)<<3;b|=(a&mxConstants.DIRECTION_MASK_NORTH)<<1;b|=(a&mxConstants.DIRECTION_MASK_SOUTH)>>1;return b|(a&mxConstants.DIRECTION_MASK_EAST)>>3},findNearestSegment:function(a,b,c){var d=-1;if(0<a.absolutePoints.length)for(var e=a.absolutePoints[0],f=null,g=1;g<a.absolutePoints.length;g++){var k=a.absolutePoints[g];e=mxUtils.ptSegDistSq(e.x,e.y,k.x,k.y,b,c);if(null==f||e<f)f=e,d=g-1;e=k}return d},getDirectedBounds:function(a,b,c,
-d,e){var f=mxUtils.getValue(c,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST);d=null!=d?d:mxUtils.getValue(c,mxConstants.STYLE_FLIPH,!1);e=null!=e?e:mxUtils.getValue(c,mxConstants.STYLE_FLIPV,!1);b.x=Math.round(Math.max(0,Math.min(a.width,b.x)));b.y=Math.round(Math.max(0,Math.min(a.height,b.y)));b.width=Math.round(Math.max(0,Math.min(a.width,b.width)));b.height=Math.round(Math.max(0,Math.min(a.height,b.height)));if(e&&(f==mxConstants.DIRECTION_SOUTH||f==mxConstants.DIRECTION_NORTH)||d&&(f==
-mxConstants.DIRECTION_EAST||f==mxConstants.DIRECTION_WEST))c=b.x,b.x=b.width,b.width=c;if(d&&(f==mxConstants.DIRECTION_SOUTH||f==mxConstants.DIRECTION_NORTH)||e&&(f==mxConstants.DIRECTION_EAST||f==mxConstants.DIRECTION_WEST))c=b.y,b.y=b.height,b.height=c;d=mxRectangle.fromRectangle(b);f==mxConstants.DIRECTION_SOUTH?(d.y=b.x,d.x=b.height,d.width=b.y,d.height=b.width):f==mxConstants.DIRECTION_WEST?(d.y=b.height,d.x=b.width,d.width=b.x,d.height=b.y):f==mxConstants.DIRECTION_NORTH&&(d.y=b.width,d.x=b.y,
-d.width=b.height,d.height=b.x);return new mxRectangle(a.x+d.x,a.y+d.y,a.width-d.width-d.x,a.height-d.height-d.y)},getPerimeterPoint:function(a,b,c){for(var d=null,e=0;e<a.length-1;e++){var f=mxUtils.intersection(a[e].x,a[e].y,a[e+1].x,a[e+1].y,b.x,b.y,c.x,c.y);if(null!=f){var g=c.x-f.x,k=c.y-f.y;f={p:f,distSq:k*k+g*g};null!=f&&(null==d||d.distSq>f.distSq)&&(d=f)}}return null!=d?d.p:null},intersectsPoints:function(a,b){for(var c=0;c<b.length-1;c++)if(mxUtils.rectangleIntersectsSegment(a,b[c],b[c+1]))return!0;
-return!1},rectangleIntersectsSegment:function(a,b,c){var d=a.y,e=a.x,f=d+a.height,g=e+a.width;a=b.x;var k=c.x;b.x>c.x&&(a=c.x,k=b.x);k>g&&(k=g);a<e&&(a=e);if(a>k)return!1;e=b.y;g=c.y;var l=c.x-b.x;1E-7<Math.abs(l)&&(c=(c.y-b.y)/l,b=b.y-c*b.x,e=c*a+b,g=c*k+b);e>g&&(b=g,g=e,e=b);g>f&&(g=f);e<d&&(e=d);return e>g?!1:!0},contains:function(a,b,c){return a.x<=b&&a.x+a.width>=b&&a.y<=c&&a.y+a.height>=c},intersects:function(a,b,c){var d=a.width,e=a.height,f=b.width,g=b.height;if(!c&&(0>=f||0>=g||0>=d||0>=
-e))return!1;c=a.x;a=a.y;var k=b.x;b=b.y;f+=k;g+=b;d+=c;e+=a;return(f<k||f>c)&&(g<b||g>a)&&(d<c||d>k)&&(e<a||e>b)},intersectsHotspot:function(a,b,c,d,e,f){d=null!=d?d:1;e=null!=e?e:0;f=null!=f?f:0;if(0<d){var g=a.getCenterX(),k=a.getCenterY(),l=a.width,m=a.height,n=mxUtils.getValue(a.style,mxConstants.STYLE_STARTSIZE)*a.view.scale;0<n&&(mxUtils.getValue(a.style,mxConstants.STYLE_HORIZONTAL,!0)?(k=a.y+n/2,m=n):(g=a.x+n/2,l=n));l=Math.max(e,l*d);m=Math.max(e,m*d);0<f&&(l=Math.min(l,f),m=Math.min(m,f));
-d=new mxRectangle(g-l/2,k-m/2,l,m);g=mxUtils.toRadians(mxUtils.getValue(a.style,mxConstants.STYLE_ROTATION)||0);0!=g&&(e=Math.cos(-g),f=Math.sin(-g),g=new mxPoint(a.getCenterX(),a.getCenterY()),a=mxUtils.getRotatedPoint(new mxPoint(b,c),e,f,g),b=a.x,c=a.y);return mxUtils.contains(d,b,c)}return!0},getOffset:function(a,b){for(var c=0,d=0,e=!1,f=a,g=document.body,k=document.documentElement;null!=f&&f!=g&&f!=k&&!e;){var l=mxUtils.getCurrentStyle(f);null!=l&&(e=e||"fixed"==l.position);f=f.parentNode}b||
-e||(b=mxUtils.getDocumentScrollOrigin(a.ownerDocument),c+=b.x,d+=b.y);a=a.getBoundingClientRect();null!=a&&(c+=a.left,d+=a.top);return new mxPoint(c,d)},getDocumentScrollOrigin:function(a){a=a.defaultView||a.parentWindow;return new mxPoint(null!=a&&void 0!==window.pageXOffset?window.pageXOffset:(document.documentElement||document.body.parentNode||document.body).scrollLeft,null!=a&&void 0!==window.pageYOffset?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop)},
-getScrollOrigin:function(a,b,c){b=null!=b?b:!1;c=null!=c?c:!0;for(var d=null!=a?a.ownerDocument:document,e=d.body,f=d.documentElement,g=new mxPoint,k=!1;null!=a&&a!=e&&a!=f;){isNaN(a.scrollLeft)||isNaN(a.scrollTop)||(g.x+=a.scrollLeft,g.y+=a.scrollTop);var l=mxUtils.getCurrentStyle(a);null!=l&&(k=k||"fixed"==l.position);a=b?a.parentNode:null}!k&&c&&(a=mxUtils.getDocumentScrollOrigin(d),g.x+=a.x,g.y+=a.y);return g},convertPoint:function(a,b,c){var d=mxUtils.getScrollOrigin(a,!1);a=mxUtils.getOffset(a);
-a.x-=d.x;a.y-=d.y;return new mxPoint(b-a.x,c-a.y)},removeJavascriptProtocol:function(a){for(a=null!=a?mxUtils.zapGremlins(a):null;null!=a&&"javascript:"===mxUtils.ltrim(a.toLowerCase()).substring(0,11);)a=a.substring(a.toLowerCase().indexOf(":")+1);return a},zapGremlins:function(a){for(var b=0,c=[],d=0;d<a.length;d++){var e=a.charCodeAt(d);(32<=e||9==e||10==e||13==e)&&65535!=e&&65534!=e||(c.push(a.substring(b,d)),b=d+1)}0<b&&b<a.length&&c.push(a.substring(b));return 0==c.length?a:c.join("")},ltrim:function(a,
-b){return null!=a?a.replace(new RegExp("^["+(b||"\\s|\\0")+"]+","g"),""):null},rtrim:function(a,b){return null!=a?a.replace(new RegExp("["+(b||"\\s|\\0")+"]+$","g"),""):null},trim:function(a,b){return mxUtils.ltrim(mxUtils.rtrim(a,b),b)},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)&&("string"!=typeof a||0>a.toLowerCase().indexOf("0x"))},isInteger:function(a){return String(parseInt(a))===String(a)},mod:function(a,b){return(a%b+b)%b},intersection:function(a,b,c,d,e,f,g,k){var l=(k-
-f)*(c-a)-(g-e)*(d-b);g=((g-e)*(b-f)-(k-f)*(a-e))/l;e=((c-a)*(b-f)-(d-b)*(a-e))/l;return 0<=g&&1>=g&&0<=e&&1>=e?new mxPoint(a+g*(c-a),b+g*(d-b)):null},ptSegDistSq:function(a,b,c,d,e,f){c-=a;d-=b;e-=a;f-=b;0>=e*c+f*d?c=0:(e=c-e,f=d-f,a=e*c+f*d,c=0>=a?0:a*a/(c*c+d*d));e=e*e+f*f-c;0>e&&(e=0);return e},ptLineDist:function(a,b,c,d,e,f){return Math.abs((d-b)*e-(c-a)*f+c*b-d*a)/Math.sqrt((d-b)*(d-b)+(c-a)*(c-a))},relativeCcw:function(a,b,c,d,e,f){c-=a;d-=b;e-=a;f-=b;a=e*d-f*c;0==a&&(a=e*c+f*d,0<a&&(a=(e-
-c)*c+(f-d)*d,0>a&&(a=0)));return 0>a?-1:0<a?1:0},animateChanges:function(a,b){mxEffects.animateChanges.apply(this,arguments)},cascadeOpacity:function(a,b,c){mxEffects.cascadeOpacity.apply(this,arguments)},fadeOut:function(a,b,c,d,e,f){mxEffects.fadeOut.apply(this,arguments)},setOpacity:function(a,b){mxClient.IS_IE&&("undefined"===typeof document.documentMode||9>document.documentMode)?a.style.filter=100<=b?"":"alpha(opacity="+b+")":a.style.opacity=b/100},createElementNs:function(a,b,c){if(null!=a.createElementNS)return a.createElementNS(b,
-c);a=a.createElement(c);null!=namespace&&a.setAttribute("xmlns",b);return a},createImage:function(a){var b=document.createElement("img");b.setAttribute("src",a);b.setAttribute("border","0");return b},sortCells:function(a,b){b=null!=b?b:!0;var c=new mxDictionary;a.sort(function(d,e){var f=c.get(d);null==f&&(f=mxCellPath.create(d).split(mxCellPath.PATH_SEPARATOR),c.put(d,f));d=c.get(e);null==d&&(d=mxCellPath.create(e).split(mxCellPath.PATH_SEPARATOR),c.put(e,d));e=mxCellPath.compare(f,d);return 0==
-e?0:0<e==b?1:-1});return a},getStylename:function(a){return null!=a&&(a=a.split(";")[0],0>a.indexOf("="))?a:""},getStylenames:function(a){var b=[];if(null!=a){a=a.split(";");for(var c=0;c<a.length;c++)0>a[c].indexOf("=")&&b.push(a[c])}return b},indexOfStylename:function(a,b){if(null!=a&&null!=b){a=a.split(";");for(var c=0,d=0;d<a.length;d++){if(a[d]==b)return c;c+=a[d].length+1}}return-1},addStylename:function(a,b){0>mxUtils.indexOfStylename(a,b)&&(null==a?a="":0<a.length&&";"!=a.charAt(a.length-
-1)&&(a+=";"),a+=b);return a},removeStylename:function(a,b){var c=[];if(null!=a){a=a.split(";");for(var d=0;d<a.length;d++)a[d]!=b&&c.push(a[d])}return c.join(";")},removeAllStylenames:function(a){var b=[];if(null!=a){a=a.split(";");for(var c=0;c<a.length;c++)0<=a[c].indexOf("=")&&b.push(a[c])}return b.join(";")},setCellStyles:function(a,b,c,d){if(null!=b&&0<b.length){a.beginUpdate();try{for(var e=0;e<b.length;e++)if(null!=b[e]){var f=mxUtils.setStyle(a.getStyle(b[e]),c,d);a.setStyle(b[e],f)}}finally{a.endUpdate()}}},
-parseHexColor:function(a,b){var c=null;if(null!=a&&7<=a.length&&"#"==a.charAt(0)){c=parseInt(a.substring(1,3),16);var d=parseInt(a.substring(3,5),16),e=parseInt(a.substring(5,7),16);b=null!=b?b:1;7<a.length&&(b=parseInt(a.substring(7,9),16)/255);c={r:c,g:d,b:e,a:b}}return c},hex2rgb:function(a){var b=mxUtils.parseHexColor(a);null!=b&&(a="rgb("+b.r+", "+b.g+", "+b.b+")");return a},hex2rgba:function(a,b){b=mxUtils.parseHexColor(a,b);null!=b&&(a="rgba("+b.r+", "+b.g+", "+b.b+", "+b.a+")");return a},
-rgba2hex:function(a){return(rgb=a&&a.match?a.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i):a)&&4===rgb.length?"#"+("0"+parseInt(rgb[1],10).toString(16)).slice(-2)+("0"+parseInt(rgb[2],10).toString(16)).slice(-2)+("0"+parseInt(rgb[3],10).toString(16)).slice(-2):a},setStyle:function(a,b,c){var d=null!=c&&("undefined"==typeof c.length||0<c.length);if(null==a||0==a.length)d&&(a=b+"="+c+";");else if(a.substring(0,b.length+1)==b+"="){var e=a.indexOf(";");a=d?b+"="+c+(0>e?
-";":a.substring(e)):0>e||e==a.length-1?"":a.substring(e+1)}else{var f=a.indexOf(";"+b+"=");0>f?d&&(d=";"==a.charAt(a.length-1)?"":";",a=a+d+b+"="+c+";"):(e=a.indexOf(";",f+1),a=d?a.substring(0,f+1)+b+"="+c+(0>e?";":a.substring(e)):a.substring(0,f)+(0>e?";":a.substring(e)))}return a},setCellStyleFlags:function(a,b,c,d,e){if(null!=b&&0<b.length){a.beginUpdate();try{for(var f=0;f<b.length;f++)if(null!=b[f]){var g=mxUtils.setStyleFlag(a.getStyle(b[f]),c,d,e);a.setStyle(b[f],g)}}finally{a.endUpdate()}}},
-setStyleFlag:function(a,b,c,d){if(null==a||0==a.length)a=d||null==d?b+"="+c:b+"=0";else{var e=a.indexOf(b+"=");if(0>e)e=";"==a.charAt(a.length-1)?"":";",a=d||null==d?a+e+b+"="+c:a+e+b+"=0";else{var f=a.indexOf(";",e),g=0>f?a.substring(e+b.length+1):a.substring(e+b.length+1,f);g=null==d?parseInt(g)^c:d?parseInt(g)|c:parseInt(g)&~c;a=a.substring(0,e)+b+"="+g+(0<=f?a.substring(f):"")}}return a},getAlignmentAsPoint:function(a,b){var c=-.5,d=-.5;a==mxConstants.ALIGN_LEFT?c=0:a==mxConstants.ALIGN_RIGHT&&
-(c=-1);b==mxConstants.ALIGN_TOP?d=0:b==mxConstants.ALIGN_BOTTOM&&(d=-1);return new mxPoint(c,d)},getSizeForString:function(a,b,c,d,e){b=null!=b?b:mxConstants.DEFAULT_FONTSIZE;c=null!=c?c:mxConstants.DEFAULT_FONTFAMILY;var f=document.createElement("div");f.style.fontFamily=c;f.style.fontSize=Math.round(b)+"px";f.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?b*mxConstants.LINE_HEIGHT+"px":mxConstants.LINE_HEIGHT*mxSvgCanvas2D.prototype.lineHeightCorrection;null!=e&&((e&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD&&
-(f.style.fontWeight="bold"),(e&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC&&(f.style.fontStyle="italic"),b=[],(e&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&b.push("underline"),(e&mxConstants.FONT_STRIKETHROUGH)==mxConstants.FONT_STRIKETHROUGH&&b.push("line-through"),0<b.length&&(f.style.textDecoration=b.join(" ")));f.style.position="absolute";f.style.visibility="hidden";f.style.display="inline-block";f.style.zoom="1";null!=d?(f.style.width=d+"px",f.style.whiteSpace="normal"):f.style.whiteSpace=
-"nowrap";f.innerHTML=a;document.body.appendChild(f);a=new mxRectangle(0,0,f.offsetWidth,f.offsetHeight);document.body.removeChild(f);return a},getViewXml:function(a,b,c,d,e){d=null!=d?d:0;e=null!=e?e:0;b=null!=b?b:1;null==c&&(c=[a.getModel().getRoot()]);var f=a.getView(),g=null,k=f.isEventsEnabled();f.setEventsEnabled(!1);var l=f.drawPane,m=f.overlayPane;a.dialect==mxConstants.DIALECT_SVG?(f.drawPane=document.createElementNS(mxConstants.NS_SVG,"g"),f.canvas.appendChild(f.drawPane),f.overlayPane=document.createElementNS(mxConstants.NS_SVG,
-"g")):(f.drawPane=f.drawPane.cloneNode(!1),f.canvas.appendChild(f.drawPane),f.overlayPane=f.overlayPane.cloneNode(!1));f.canvas.appendChild(f.overlayPane);var n=f.getTranslate();f.translate=new mxPoint(d,e);b=new mxTemporaryCellStates(a.getView(),b,c);try{g=(new mxCodec).encode(a.getView())}finally{b.destroy(),f.translate=n,f.canvas.removeChild(f.drawPane),f.canvas.removeChild(f.overlayPane),f.drawPane=l,f.overlayPane=m,f.setEventsEnabled(k)}return g},getScaleForPageCount:function(a,b,c,d){if(1>a)return 1;
-c=null!=c?c:mxConstants.PAGE_FORMAT_A4_PORTRAIT;d=null!=d?d:0;var e=c.width-2*d;c=c.height-2*d;d=mxRectangle.fromRectangle(b.getGraphBounds());b=b.getView().getScale();d.width/=b;d.height/=b;b=d.width;var f=Math.sqrt(a);d=Math.sqrt(b/d.height/(e/c));c=f*d;d=f/d;if(1>c&&d>a){var g=d/a;d=a;c/=g}1>d&&c>a&&(g=c/a,c=a,d/=g);g=Math.ceil(c)*Math.ceil(d);for(f=0;g>a;){g=Math.floor(c)/c;var k=Math.floor(d)/d;1==g&&(g=Math.floor(c-1)/c);1==k&&(k=Math.floor(d-1)/d);g=g>k?g:k;c*=g;d*=g;g=Math.ceil(c)*Math.ceil(d);
-f++;if(10<f)break}return e*c/b*.99999},show:function(a,b,c,d,e,f){c=null!=c?c:0;d=null!=d?d:0;null==b?b=window.open().document:b.open();9==document.documentMode&&b.writeln('\x3c!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=9"><![endif]--\x3e');var g=a.getGraphBounds(),k=Math.ceil(c-g.x),l=Math.ceil(d-g.y);null==e&&(e=Math.ceil(g.width+c)+Math.ceil(Math.ceil(g.x)-g.x));null==f&&(f=Math.ceil(g.height+d)+Math.ceil(Math.ceil(g.y)-g.y));if(mxClient.IS_IE||11==document.documentMode){d="<html><head>";
-g=document.getElementsByTagName("base");for(c=0;c<g.length;c++)d+=g[c].outerHTML;d+="<style>";for(c=0;c<document.styleSheets.length;c++)try{d+=document.styleSheets[c].cssText}catch(m){}d=d+'</style></head><body style="margin:0px;"><div style="position:absolute;overflow:hidden;width:'+(e+"px;height:"+f+'px;"><div style="position:relative;left:'+k+"px;top:"+l+'px;">')+a.container.innerHTML;b.writeln(d+"</div></div></body><html>");b.close()}else{b.writeln("<html><head>");g=document.getElementsByTagName("base");
-for(c=0;c<g.length;c++)b.writeln(mxUtils.getOuterHtml(g[c]));d=document.getElementsByTagName("link");for(c=0;c<d.length;c++)b.writeln(mxUtils.getOuterHtml(d[c]));d=document.getElementsByTagName("style");for(c=0;c<d.length;c++)b.writeln(mxUtils.getOuterHtml(d[c]));b.writeln('</head><body style="margin:0px;"></body></html>');b.close();c=b.createElement("div");c.position="absolute";c.overflow="hidden";c.style.width=e+"px";c.style.height=f+"px";e=b.createElement("div");e.style.position="absolute";e.style.left=
-k+"px";e.style.top=l+"px";f=a.container.firstChild;for(d=null;null!=f;)g=f.cloneNode(!0),f==a.view.drawPane.ownerSVGElement?(c.appendChild(g),d=g):e.appendChild(g),f=f.nextSibling;b.body.appendChild(c);null!=e.firstChild&&b.body.appendChild(e);null!=d&&(d.style.minWidth="",d.style.minHeight="",d.firstChild.setAttribute("transform","translate("+k+","+l+")"))}mxUtils.removeCursors(b.body);return b},printScreen:function(a){var b=window.open();mxUtils.show(a,b.document);a=function(){b.focus();b.print();
-b.close()};mxClient.IS_GC?b.setTimeout(a,500):a()},popup:function(a,b){if(b){var c=document.createElement("div");c.style.overflow="scroll";c.style.width="636px";c.style.height="460px";b=document.createElement("pre");b.innerHTML=mxUtils.htmlEntities(a,!1).replace(/\n/g,"<br>").replace(/ /g,"&nbsp;");c.appendChild(b);c=new mxWindow("Popup Window",c,document.body.clientWidth/2-320,Math.max(document.body.clientHeight||0,document.documentElement.clientHeight)/2-240,640,480,!1,!0);c.setClosable(!0);c.setVisible(!0)}else mxClient.IS_NS?
-(c=window.open(),c.document.writeln("<pre>"+mxUtils.htmlEntities(a)+"</pre"),c.document.close()):(c=window.open(),b=c.document.createElement("pre"),b.innerHTML=mxUtils.htmlEntities(a,!1).replace(/\n/g,"<br>").replace(/ /g,"&nbsp;"),c.document.body.appendChild(b))},alert:function(a){alert(a)},prompt:function(a,b){return prompt(a,null!=b?b:"")},confirm:function(a){return confirm(a)},error:function(a,b,c,d){var e=document.createElement("div");e.style.padding="20px";var f=document.createElement("img");
-f.setAttribute("src",d||mxUtils.errorImage);f.setAttribute("valign","bottom");f.style.verticalAlign="middle";e.appendChild(f);e.appendChild(document.createTextNode(" "));e.appendChild(document.createTextNode(" "));e.appendChild(document.createTextNode(" "));mxUtils.write(e,a);a=document.body.clientWidth;d=document.body.clientHeight||document.documentElement.clientHeight;var g=new mxWindow(mxResources.get(mxUtils.errorResource)||mxUtils.errorResource,e,(a-b)/2,d/4,b,null,!1,!0);c&&(mxUtils.br(e),b=
-document.createElement("p"),c=document.createElement("button"),mxClient.IS_IE?c.style.cssText="float:right":c.setAttribute("style","float:right"),mxEvent.addListener(c,"click",function(k){g.destroy()}),mxUtils.write(c,mxResources.get(mxUtils.closeResource)||mxUtils.closeResource),b.appendChild(c),e.appendChild(b),mxUtils.br(e),g.setClosable(!0));g.setVisible(!0);return g},makeDraggable:function(a,b,c,d,e,f,g,k,l,m){a=new mxDragSource(a,c);a.dragOffset=new mxPoint(null!=e?e:0,null!=f?f:mxConstants.TOOLTIP_VERTICAL_OFFSET);
-a.autoscroll=g;a.setGuidesEnabled(!1);null!=l&&(a.highlightDropTargets=l);null!=m&&(a.getDropTarget=m);a.getGraphForEvent=function(n){return"function"==typeof b?b(n):b};null!=d&&(a.createDragElement=function(){return d.cloneNode(!0)},k&&(a.createPreviewElement=function(n){var p=d.cloneNode(!0),r=parseInt(p.style.width),q=parseInt(p.style.height);p.style.width=Math.round(r*n.view.scale)+"px";p.style.height=Math.round(q*n.view.scale)+"px";return p}));return a},format:function(a){return parseFloat(parseFloat(a).toFixed(2))}},
+b.push(mxUtils.trim(a.nodeValue)),a=a.nextSibling;return 0<b.length?b.join(""):""},getTextContent:function(a){return null!=a?a[void 0===a.textContent?"text":"textContent"]:""},setTextContent:function(a,b){void 0!==a.innerText?a.innerText=b:a[void 0===a.textContent?"text":"textContent"]=b},getInnerHtml:function(){return mxClient.IS_IE?function(a){return null!=a?a.innerHTML:""}:function(a){return null!=a?(new XMLSerializer).serializeToString(a):""}}(),getOuterHtml:function(){return mxClient.IS_IE?function(a){if(null!=
+a){if(null!=a.outerHTML)return a.outerHTML;var b=[];b.push("<"+a.nodeName);var c=a.attributes;if(null!=c)for(var d=0;d<c.length;d++){var e=c[d].value;null!=e&&0<e.length&&(b.push(" "),b.push(c[d].nodeName),b.push('="'),b.push(e),b.push('"'))}0==a.innerHTML.length?b.push("/>"):(b.push(">"),b.push(a.innerHTML),b.push("</"+a.nodeName+">"));return b.join("")}return""}:function(a){return null!=a?(new XMLSerializer).serializeToString(a):""}}(),write:function(a,b){b=a.ownerDocument.createTextNode(b);null!=
+a&&a.appendChild(b);return b},writeln:function(a,b){b=a.ownerDocument.createTextNode(b);null!=a&&(a.appendChild(b),a.appendChild(document.createElement("br")));return b},br:function(a,b){b=b||1;for(var c=null,d=0;d<b;d++)null!=a&&(c=a.ownerDocument.createElement("br"),a.appendChild(c));return c},button:function(a,b,c,d){c=null!=c?c:document;c=c.createElement("button");mxUtils.write(c,a);mxEvent.addListener(c,"click",function(e){b(e)});null!=d&&(c.className=d);return c},para:function(a,b){var c=document.createElement("p");
+mxUtils.write(c,b);null!=a&&a.appendChild(c);return c},addTransparentBackgroundFilter:function(a){a.style.filter+="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+mxClient.imageBasePath+"/transparent.gif', sizingMethod='scale')"},linkAction:function(a,b,c,d,e){return mxUtils.link(a,b,function(){c.execute(d)},e)},linkInvoke:function(a,b,c,d,e,f){return mxUtils.link(a,b,function(){c[d](e)},f)},link:function(a,b,c,d){var e=document.createElement("span");e.style.color="blue";e.style.textDecoration=
+"underline";e.style.cursor="pointer";null!=d&&(e.style.paddingLeft=d+"px");mxEvent.addListener(e,"click",c);mxUtils.write(e,b);null!=a&&a.appendChild(e);return e},getDocumentSize:function(){var a=document.body,b=document.documentElement;try{return new mxRectangle(0,0,a.clientWidth||b.clientWidth,Math.max(a.clientHeight||0,b.clientHeight))}catch(c){return new mxRectangle}},fit:function(a,b){b=b||0;var c=mxUtils.getDocumentSize(),d=parseInt(a.offsetLeft),e=parseInt(a.offsetWidth),f=mxUtils.getDocumentScrollOrigin(a.ownerDocument),
+g=f.x;f=f.y;var k=g+c.width-b;d+e>k&&(a.style.left=Math.max(g+b,k-e)+"px");d=parseInt(a.offsetTop);e=parseInt(a.offsetHeight);c=f+c.height-b;d+e>c&&(a.style.top=Math.max(f+b,c-e)+"px")},load:function(a){a=new mxXmlRequest(a,null,"GET",!1);a.send();return a},get:function(a,b,c,d,e,f,g){a=new mxXmlRequest(a,null,"GET");var k=a.setRequestHeaders;g&&(a.setRequestHeaders=function(l,m){k.apply(this,arguments);for(var n in g)l.setRequestHeader(n,g[n])});null!=d&&a.setBinary(d);a.send(b,c,e,f);return a},
+getAll:function(a,b,c){for(var d=a.length,e=[],f=0,g=function(){0==f&&null!=c&&c();f++},k=0;k<a.length;k++)(function(l,m){mxUtils.get(l,function(n){var p=n.getStatus();200>p||299<p?g():(e[m]=n,d--,0==d&&b(e))},g)})(a[k],k);0==d&&b(e)},post:function(a,b,c,d){return(new mxXmlRequest(a,b)).send(c,d)},submit:function(a,b,c,d){return(new mxXmlRequest(a,b)).simulate(c,d)},loadInto:function(a,b,c){mxClient.IS_IE?b.onreadystatechange=function(){4==b.readyState&&c()}:b.addEventListener("load",c,!1);b.load(a)},
+getValue:function(a,b,c){a=null!=a?a[b]:null;null==a&&(a=c);return a},getNumber:function(a,b,c){a=null!=a?a[b]:null;null==a&&(a=c||0);return Number(a)},getColor:function(a,b,c){a=null!=a?a[b]:null;null==a?a=c:a==mxConstants.NONE&&(a=null);return a},isEmptyObject:function(a){for(var b in a)return!1;return!0},clone:function(a,b,c){c=null!=c?c:!1;var d=null;if(null!=a&&"function"==typeof a.constructor)if(a.constructor===Element)d=a.cloneNode(null!=c?!c:!1);else{d=new a.constructor;for(var e in a)e!=
+mxObjectIdentity.FIELD_NAME&&(null==b||0>mxUtils.indexOf(b,e))&&(d[e]=c||"object"!=typeof a[e]?a[e]:mxUtils.clone(a[e]))}return d},equalPoints:function(a,b){if(null==a&&null!=b||null!=a&&null==b||null!=a&&null!=b&&a.length!=b.length)return!1;if(null!=a&&null!=b)for(var c=0;c<a.length;c++)if(null!=a[c]&&null==b[c]||null==a[c]&&null!=b[c]||null!=a[c]&&null!=b[c]&&(a[c].x!=b[c].x||a[c].y!=b[c].y))return!1;return!0},equalEntries:function(a,b){var c=0;if(null==a&&null!=b||null!=a&&null==b||null!=a&&null!=
+b&&a.length!=b.length)return!1;if(null!=a&&null!=b){for(var d in b)c++;for(d in a)if(c--,!(mxUtils.isNaN(a[d])&&mxUtils.isNaN(b[d])||a[d]==b[d]))return!1}return 0==c},removeDuplicates:function(a){for(var b=new mxDictionary,c=[],d=0;d<a.length;d++)b.get(a[d])||(c.push(a[d]),b.put(a[d],!0));return c},isNaN:function(a){return"number"==typeof a&&isNaN(a)},extend:function(a,b){var c=function(){};c.prototype=b.prototype;a.prototype=new c;a.prototype.constructor=a},toString:function(a){var b="",c;for(c in a)try{if(null==
+a[c])b+=c+" = [null]\n";else if("function"==typeof a[c])b+=c+" => [Function]\n";else if("object"==typeof a[c]){var d=mxUtils.getFunctionName(a[c].constructor);b+=c+" => ["+d+"]\n"}else b+=c+" = "+a[c]+"\n"}catch(e){b+=c+"="+e.message}return b},toRadians:function(a){return Math.PI*a/180},toDegree:function(a){return 180*a/Math.PI},arcToCurves:function(a,b,c,d,e,f,g,k,l){k-=a;l-=b;if(0===c||0===d)return E;c=Math.abs(c);d=Math.abs(d);var m=-k/2,n=-l/2,p=Math.cos(e*Math.PI/180);E=Math.sin(e*Math.PI/180);
+e=p*m+E*n;m=-1*E*m+p*n;n=e*e;var r=m*m,q=c*c,t=d*d,u=n/q+r/t;1<u?(c*=Math.sqrt(u),d*=Math.sqrt(u),f=0):(u=1,f===g&&(u=-1),f=u*Math.sqrt((q*t-q*r-t*n)/(q*r+t*n)));n=f*c*m/d;r=-1*f*d*e/c;k=p*n-E*r+k/2;l=E*n+p*r+l/2;q=Math.atan2((m-r)/d,(e-n)/c)-Math.atan2(0,1);f=0<=q?q:2*Math.PI+q;q=Math.atan2((-m-r)/d,(-e-n)/c)-Math.atan2((m-r)/d,(e-n)/c);e=0<=q?q:2*Math.PI+q;0==g&&0<e?e-=2*Math.PI:0!=g&&0>e&&(e+=2*Math.PI);g=2*e/Math.PI;g=Math.ceil(0>g?-1*g:g);e/=g;m=8/3*Math.sin(e/4)*Math.sin(e/4)/Math.sin(e/2);
+n=p*c;p*=d;c*=E;d*=E;var v=Math.cos(f),z=Math.sin(f);r=-m*(n*z+d*v);q=-m*(c*z-p*v);for(var E=[],C=0;C<g;++C){f+=e;v=Math.cos(f);z=Math.sin(f);t=n*v-d*z+k;u=c*v+p*z+l;var F=-m*(n*z+d*v);v=-m*(c*z-p*v);z=6*C;E[z]=Number(r+a);E[z+1]=Number(q+b);E[z+2]=Number(t-F+a);E[z+3]=Number(u-v+b);E[z+4]=Number(t+a);E[z+5]=Number(u+b);r=t+F;q=u+v}return E},getBoundingBox:function(a,b,c){var d=null;if(null!=a&&null!=b&&0!=b){b=mxUtils.toRadians(b);d=Math.cos(b);var e=Math.sin(b);c=null!=c?c:new mxPoint(a.x+a.width/
+2,a.y+a.height/2);var f=new mxPoint(a.x,a.y);b=new mxPoint(a.x+a.width,a.y);var g=new mxPoint(b.x,a.y+a.height);a=new mxPoint(a.x,g.y);f=mxUtils.getRotatedPoint(f,d,e,c);b=mxUtils.getRotatedPoint(b,d,e,c);g=mxUtils.getRotatedPoint(g,d,e,c);a=mxUtils.getRotatedPoint(a,d,e,c);d=new mxRectangle(f.x,f.y,0,0);d.add(new mxRectangle(b.x,b.y,0,0));d.add(new mxRectangle(g.x,g.y,0,0));d.add(new mxRectangle(a.x,a.y,0,0))}return d},getRotatedPoint:function(a,b,c,d){d=null!=d?d:new mxPoint;var e=a.x-d.x;a=a.y-
+d.y;return new mxPoint(e*b-a*c+d.x,a*b+e*c+d.y)},getPortConstraints:function(a,b,c,d){b=mxUtils.getValue(a.style,mxConstants.STYLE_PORT_CONSTRAINT,mxUtils.getValue(b.style,c?mxConstants.STYLE_SOURCE_PORT_CONSTRAINT:mxConstants.STYLE_TARGET_PORT_CONSTRAINT,null));if(null==b)return d;d=b.toString();b=mxConstants.DIRECTION_MASK_NONE;c=0;1==mxUtils.getValue(a.style,mxConstants.STYLE_PORT_CONSTRAINT_ROTATION,0)&&(c=mxUtils.getValue(a.style,mxConstants.STYLE_ROTATION,0));a=0;45<c?(a=1,135<=c&&(a=2)):-45>
+c&&(a=3,-135>=c&&(a=2));if(0<=d.indexOf(mxConstants.DIRECTION_NORTH))switch(a){case 0:b|=mxConstants.DIRECTION_MASK_NORTH;break;case 1:b|=mxConstants.DIRECTION_MASK_EAST;break;case 2:b|=mxConstants.DIRECTION_MASK_SOUTH;break;case 3:b|=mxConstants.DIRECTION_MASK_WEST}if(0<=d.indexOf(mxConstants.DIRECTION_WEST))switch(a){case 0:b|=mxConstants.DIRECTION_MASK_WEST;break;case 1:b|=mxConstants.DIRECTION_MASK_NORTH;break;case 2:b|=mxConstants.DIRECTION_MASK_EAST;break;case 3:b|=mxConstants.DIRECTION_MASK_SOUTH}if(0<=
+d.indexOf(mxConstants.DIRECTION_SOUTH))switch(a){case 0:b|=mxConstants.DIRECTION_MASK_SOUTH;break;case 1:b|=mxConstants.DIRECTION_MASK_WEST;break;case 2:b|=mxConstants.DIRECTION_MASK_NORTH;break;case 3:b|=mxConstants.DIRECTION_MASK_EAST}if(0<=d.indexOf(mxConstants.DIRECTION_EAST))switch(a){case 0:b|=mxConstants.DIRECTION_MASK_EAST;break;case 1:b|=mxConstants.DIRECTION_MASK_SOUTH;break;case 2:b|=mxConstants.DIRECTION_MASK_WEST;break;case 3:b|=mxConstants.DIRECTION_MASK_NORTH}return b},reversePortConstraints:function(a){var b=
+(a&mxConstants.DIRECTION_MASK_WEST)<<3;b|=(a&mxConstants.DIRECTION_MASK_NORTH)<<1;b|=(a&mxConstants.DIRECTION_MASK_SOUTH)>>1;return b|(a&mxConstants.DIRECTION_MASK_EAST)>>3},findNearestSegment:function(a,b,c){var d=-1;if(0<a.absolutePoints.length)for(var e=a.absolutePoints[0],f=null,g=1;g<a.absolutePoints.length;g++){var k=a.absolutePoints[g];e=mxUtils.ptSegDistSq(e.x,e.y,k.x,k.y,b,c);if(null==f||e<f)f=e,d=g-1;e=k}return d},getDirectedBounds:function(a,b,c,d,e){var f=mxUtils.getValue(c,mxConstants.STYLE_DIRECTION,
+mxConstants.DIRECTION_EAST);d=null!=d?d:mxUtils.getValue(c,mxConstants.STYLE_FLIPH,!1);e=null!=e?e:mxUtils.getValue(c,mxConstants.STYLE_FLIPV,!1);b.x=Math.round(Math.max(0,Math.min(a.width,b.x)));b.y=Math.round(Math.max(0,Math.min(a.height,b.y)));b.width=Math.round(Math.max(0,Math.min(a.width,b.width)));b.height=Math.round(Math.max(0,Math.min(a.height,b.height)));if(e&&(f==mxConstants.DIRECTION_SOUTH||f==mxConstants.DIRECTION_NORTH)||d&&(f==mxConstants.DIRECTION_EAST||f==mxConstants.DIRECTION_WEST))c=
+b.x,b.x=b.width,b.width=c;if(d&&(f==mxConstants.DIRECTION_SOUTH||f==mxConstants.DIRECTION_NORTH)||e&&(f==mxConstants.DIRECTION_EAST||f==mxConstants.DIRECTION_WEST))c=b.y,b.y=b.height,b.height=c;d=mxRectangle.fromRectangle(b);f==mxConstants.DIRECTION_SOUTH?(d.y=b.x,d.x=b.height,d.width=b.y,d.height=b.width):f==mxConstants.DIRECTION_WEST?(d.y=b.height,d.x=b.width,d.width=b.x,d.height=b.y):f==mxConstants.DIRECTION_NORTH&&(d.y=b.width,d.x=b.y,d.width=b.height,d.height=b.x);return new mxRectangle(a.x+
+d.x,a.y+d.y,a.width-d.width-d.x,a.height-d.height-d.y)},getPerimeterPoint:function(a,b,c){for(var d=null,e=0;e<a.length-1;e++){var f=mxUtils.intersection(a[e].x,a[e].y,a[e+1].x,a[e+1].y,b.x,b.y,c.x,c.y);if(null!=f){var g=c.x-f.x,k=c.y-f.y;f={p:f,distSq:k*k+g*g};null!=f&&(null==d||d.distSq>f.distSq)&&(d=f)}}return null!=d?d.p:null},intersectsPoints:function(a,b){for(var c=0;c<b.length-1;c++)if(mxUtils.rectangleIntersectsSegment(a,b[c],b[c+1]))return!0;return!1},rectangleIntersectsSegment:function(a,
+b,c){var d=a.y,e=a.x,f=d+a.height,g=e+a.width;a=b.x;var k=c.x;b.x>c.x&&(a=c.x,k=b.x);k>g&&(k=g);a<e&&(a=e);if(a>k)return!1;e=b.y;g=c.y;var l=c.x-b.x;1E-7<Math.abs(l)&&(c=(c.y-b.y)/l,b=b.y-c*b.x,e=c*a+b,g=c*k+b);e>g&&(b=g,g=e,e=b);g>f&&(g=f);e<d&&(e=d);return e>g?!1:!0},contains:function(a,b,c){return a.x<=b&&a.x+a.width>=b&&a.y<=c&&a.y+a.height>=c},intersects:function(a,b,c){var d=a.width,e=a.height,f=b.width,g=b.height;if(!c&&(0>=f||0>=g||0>=d||0>=e))return!1;c=a.x;a=a.y;var k=b.x;b=b.y;f+=k;g+=
+b;d+=c;e+=a;return(f<k||f>c)&&(g<b||g>a)&&(d<c||d>k)&&(e<a||e>b)},intersectsHotspot:function(a,b,c,d,e,f){d=null!=d?d:1;e=null!=e?e:0;f=null!=f?f:0;if(0<d){var g=a.getCenterX(),k=a.getCenterY(),l=a.width,m=a.height,n=mxUtils.getValue(a.style,mxConstants.STYLE_STARTSIZE)*a.view.scale;0<n&&(mxUtils.getValue(a.style,mxConstants.STYLE_HORIZONTAL,!0)?(k=a.y+n/2,m=n):(g=a.x+n/2,l=n));l=Math.max(e,l*d);m=Math.max(e,m*d);0<f&&(l=Math.min(l,f),m=Math.min(m,f));d=new mxRectangle(g-l/2,k-m/2,l,m);g=mxUtils.toRadians(mxUtils.getValue(a.style,
+mxConstants.STYLE_ROTATION)||0);0!=g&&(e=Math.cos(-g),f=Math.sin(-g),g=new mxPoint(a.getCenterX(),a.getCenterY()),a=mxUtils.getRotatedPoint(new mxPoint(b,c),e,f,g),b=a.x,c=a.y);return mxUtils.contains(d,b,c)}return!0},getOffset:function(a,b){for(var c=0,d=0,e=!1,f=a,g=document.body,k=document.documentElement;null!=f&&f!=g&&f!=k&&!e;){var l=mxUtils.getCurrentStyle(f);null!=l&&(e=e||"fixed"==l.position);f=f.parentNode}b||e||(b=mxUtils.getDocumentScrollOrigin(a.ownerDocument),c+=b.x,d+=b.y);a=a.getBoundingClientRect();
+null!=a&&(c+=a.left,d+=a.top);return new mxPoint(c,d)},getDocumentScrollOrigin:function(a){a=a.defaultView||a.parentWindow;return new mxPoint(null!=a&&void 0!==window.pageXOffset?window.pageXOffset:(document.documentElement||document.body.parentNode||document.body).scrollLeft,null!=a&&void 0!==window.pageYOffset?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop)},getScrollOrigin:function(a,b,c){b=null!=b?b:!1;c=null!=c?c:!0;for(var d=null!=a?a.ownerDocument:
+document,e=d.body,f=d.documentElement,g=new mxPoint,k=!1;null!=a&&a!=e&&a!=f;){isNaN(a.scrollLeft)||isNaN(a.scrollTop)||(g.x+=a.scrollLeft,g.y+=a.scrollTop);var l=mxUtils.getCurrentStyle(a);null!=l&&(k=k||"fixed"==l.position);a=b?a.parentNode:null}!k&&c&&(a=mxUtils.getDocumentScrollOrigin(d),g.x+=a.x,g.y+=a.y);return g},convertPoint:function(a,b,c){var d=mxUtils.getScrollOrigin(a,!1);a=mxUtils.getOffset(a);a.x-=d.x;a.y-=d.y;return new mxPoint(b-a.x,c-a.y)},removeJavascriptProtocol:function(a){for(a=
+null!=a?mxUtils.zapGremlins(a):null;null!=a&&"javascript:"===mxUtils.ltrim(a.toLowerCase()).substring(0,11);)a=a.substring(a.toLowerCase().indexOf(":")+1);return a},zapGremlins:function(a){for(var b=0,c=[],d=0;d<a.length;d++){var e=a.charCodeAt(d);(32<=e||9==e||10==e||13==e)&&65535!=e&&65534!=e||(c.push(a.substring(b,d)),b=d+1)}0<b&&b<a.length&&c.push(a.substring(b));return 0==c.length?a:c.join("")},ltrim:function(a,b){return null!=a?a.replace(new RegExp("^["+(b||"\\s|\\0")+"]+","g"),""):null},rtrim:function(a,
+b){return null!=a?a.replace(new RegExp("["+(b||"\\s|\\0")+"]+$","g"),""):null},trim:function(a,b){return mxUtils.ltrim(mxUtils.rtrim(a,b),b)},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)&&("string"!=typeof a||0>a.toLowerCase().indexOf("0x"))},isInteger:function(a){return String(parseInt(a))===String(a)},mod:function(a,b){return(a%b+b)%b},intersection:function(a,b,c,d,e,f,g,k){var l=(k-f)*(c-a)-(g-e)*(d-b);g=((g-e)*(b-f)-(k-f)*(a-e))/l;e=((c-a)*(b-f)-(d-b)*(a-e))/l;return 0<=g&&1>=
+g&&0<=e&&1>=e?new mxPoint(a+g*(c-a),b+g*(d-b)):null},ptSegDistSq:function(a,b,c,d,e,f){c-=a;d-=b;e-=a;f-=b;0>=e*c+f*d?c=0:(e=c-e,f=d-f,a=e*c+f*d,c=0>=a?0:a*a/(c*c+d*d));e=e*e+f*f-c;0>e&&(e=0);return e},ptLineDist:function(a,b,c,d,e,f){return Math.abs((d-b)*e-(c-a)*f+c*b-d*a)/Math.sqrt((d-b)*(d-b)+(c-a)*(c-a))},relativeCcw:function(a,b,c,d,e,f){c-=a;d-=b;e-=a;f-=b;a=e*d-f*c;0==a&&(a=e*c+f*d,0<a&&(a=(e-c)*c+(f-d)*d,0>a&&(a=0)));return 0>a?-1:0<a?1:0},animateChanges:function(a,b){mxEffects.animateChanges.apply(this,
+arguments)},cascadeOpacity:function(a,b,c){mxEffects.cascadeOpacity.apply(this,arguments)},fadeOut:function(a,b,c,d,e,f){mxEffects.fadeOut.apply(this,arguments)},setOpacity:function(a,b){mxClient.IS_IE&&("undefined"===typeof document.documentMode||9>document.documentMode)?a.style.filter=100<=b?"":"alpha(opacity="+b+")":a.style.opacity=b/100},createElementNs:function(a,b,c){if(null!=a.createElementNS)return a.createElementNS(b,c);a=a.createElement(c);null!=namespace&&a.setAttribute("xmlns",b);return a},
+createImage:function(a){var b=document.createElement("img");b.setAttribute("src",a);b.setAttribute("border","0");return b},sortCells:function(a,b){b=null!=b?b:!0;var c=new mxDictionary;a.sort(function(d,e){var f=c.get(d);null==f&&(f=mxCellPath.create(d).split(mxCellPath.PATH_SEPARATOR),c.put(d,f));d=c.get(e);null==d&&(d=mxCellPath.create(e).split(mxCellPath.PATH_SEPARATOR),c.put(e,d));e=mxCellPath.compare(f,d);return 0==e?0:0<e==b?1:-1});return a},getStylename:function(a){return null!=a&&(a=a.split(";")[0],
+0>a.indexOf("="))?a:""},getStylenames:function(a){var b=[];if(null!=a){a=a.split(";");for(var c=0;c<a.length;c++)0>a[c].indexOf("=")&&b.push(a[c])}return b},indexOfStylename:function(a,b){if(null!=a&&null!=b){a=a.split(";");for(var c=0,d=0;d<a.length;d++){if(a[d]==b)return c;c+=a[d].length+1}}return-1},addStylename:function(a,b){0>mxUtils.indexOfStylename(a,b)&&(null==a?a="":0<a.length&&";"!=a.charAt(a.length-1)&&(a+=";"),a+=b);return a},removeStylename:function(a,b){var c=[];if(null!=a){a=a.split(";");
+for(var d=0;d<a.length;d++)a[d]!=b&&c.push(a[d])}return c.join(";")},removeAllStylenames:function(a){var b=[];if(null!=a){a=a.split(";");for(var c=0;c<a.length;c++)0<=a[c].indexOf("=")&&b.push(a[c])}return b.join(";")},setCellStyles:function(a,b,c,d){if(null!=b&&0<b.length){a.beginUpdate();try{for(var e=0;e<b.length;e++)if(null!=b[e]){var f=mxUtils.setStyle(a.getStyle(b[e]),c,d);a.setStyle(b[e],f)}}finally{a.endUpdate()}}},parseHexColor:function(a,b){var c=null;if(null!=a&&7<=a.length&&"#"==a.charAt(0)){c=
+parseInt(a.substring(1,3),16);var d=parseInt(a.substring(3,5),16),e=parseInt(a.substring(5,7),16);b=null!=b?b:1;7<a.length&&(b=parseInt(a.substring(7,9),16)/255);c={r:c,g:d,b:e,a:b}}return c},hex2rgb:function(a){var b=mxUtils.parseHexColor(a);null!=b&&(a="rgb("+b.r+", "+b.g+", "+b.b+")");return a},hex2rgba:function(a,b){b=mxUtils.parseHexColor(a,b);null!=b&&(a="rgba("+b.r+", "+b.g+", "+b.b+", "+b.a+")");return a},rgba2hex:function(a){return(rgb=a&&a.match?a.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i):
+a)&&4===rgb.length?"#"+("0"+parseInt(rgb[1],10).toString(16)).slice(-2)+("0"+parseInt(rgb[2],10).toString(16)).slice(-2)+("0"+parseInt(rgb[3],10).toString(16)).slice(-2):a},setStyle:function(a,b,c){var d=null!=c&&("undefined"==typeof c.length||0<c.length);if(null==a||0==a.length)d&&(a=b+"="+c+";");else if(a.substring(0,b.length+1)==b+"="){var e=a.indexOf(";");a=d?b+"="+c+(0>e?";":a.substring(e)):0>e||e==a.length-1?"":a.substring(e+1)}else{var f=a.indexOf(";"+b+"=");0>f?d&&(d=";"==a.charAt(a.length-
+1)?"":";",a=a+d+b+"="+c+";"):(e=a.indexOf(";",f+1),a=d?a.substring(0,f+1)+b+"="+c+(0>e?";":a.substring(e)):a.substring(0,f)+(0>e?";":a.substring(e)))}return a},setCellStyleFlags:function(a,b,c,d,e){if(null!=b&&0<b.length){a.beginUpdate();try{for(var f=0;f<b.length;f++)if(null!=b[f]){var g=mxUtils.setStyleFlag(a.getStyle(b[f]),c,d,e);a.setStyle(b[f],g)}}finally{a.endUpdate()}}},setStyleFlag:function(a,b,c,d){if(null==a||0==a.length)a=d||null==d?b+"="+c:b+"=0";else{var e=a.indexOf(b+"=");if(0>e)e=";"==
+a.charAt(a.length-1)?"":";",a=d||null==d?a+e+b+"="+c:a+e+b+"=0";else{var f=a.indexOf(";",e),g=0>f?a.substring(e+b.length+1):a.substring(e+b.length+1,f);g=null==d?parseInt(g)^c:d?parseInt(g)|c:parseInt(g)&~c;a=a.substring(0,e)+b+"="+g+(0<=f?a.substring(f):"")}}return a},getAlignmentAsPoint:function(a,b){var c=-.5,d=-.5;a==mxConstants.ALIGN_LEFT?c=0:a==mxConstants.ALIGN_RIGHT&&(c=-1);b==mxConstants.ALIGN_TOP?d=0:b==mxConstants.ALIGN_BOTTOM&&(d=-1);return new mxPoint(c,d)},getSizeForString:function(a,
+b,c,d,e){b=null!=b?b:mxConstants.DEFAULT_FONTSIZE;c=null!=c?c:mxConstants.DEFAULT_FONTFAMILY;var f=document.createElement("div");f.style.fontFamily=c;f.style.fontSize=Math.round(b)+"px";f.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?b*mxConstants.LINE_HEIGHT+"px":mxConstants.LINE_HEIGHT*mxSvgCanvas2D.prototype.lineHeightCorrection;null!=e&&((e&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD&&(f.style.fontWeight="bold"),(e&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC&&(f.style.fontStyle="italic"),
+b=[],(e&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&b.push("underline"),(e&mxConstants.FONT_STRIKETHROUGH)==mxConstants.FONT_STRIKETHROUGH&&b.push("line-through"),0<b.length&&(f.style.textDecoration=b.join(" ")));f.style.position="absolute";f.style.visibility="hidden";f.style.display="inline-block";f.style.zoom="1";null!=d?(f.style.width=d+"px",f.style.whiteSpace="normal"):f.style.whiteSpace="nowrap";f.innerHTML=a;document.body.appendChild(f);a=new mxRectangle(0,0,f.offsetWidth,f.offsetHeight);
+document.body.removeChild(f);return a},getViewXml:function(a,b,c,d,e){d=null!=d?d:0;e=null!=e?e:0;b=null!=b?b:1;null==c&&(c=[a.getModel().getRoot()]);var f=a.getView(),g=null,k=f.isEventsEnabled();f.setEventsEnabled(!1);var l=f.drawPane,m=f.overlayPane;a.dialect==mxConstants.DIALECT_SVG?(f.drawPane=document.createElementNS(mxConstants.NS_SVG,"g"),f.canvas.appendChild(f.drawPane),f.overlayPane=document.createElementNS(mxConstants.NS_SVG,"g")):(f.drawPane=f.drawPane.cloneNode(!1),f.canvas.appendChild(f.drawPane),
+f.overlayPane=f.overlayPane.cloneNode(!1));f.canvas.appendChild(f.overlayPane);var n=f.getTranslate();f.translate=new mxPoint(d,e);b=new mxTemporaryCellStates(a.getView(),b,c);try{g=(new mxCodec).encode(a.getView())}finally{b.destroy(),f.translate=n,f.canvas.removeChild(f.drawPane),f.canvas.removeChild(f.overlayPane),f.drawPane=l,f.overlayPane=m,f.setEventsEnabled(k)}return g},getScaleForPageCount:function(a,b,c,d){if(1>a)return 1;c=null!=c?c:mxConstants.PAGE_FORMAT_A4_PORTRAIT;d=null!=d?d:0;var e=
+c.width-2*d;c=c.height-2*d;d=mxRectangle.fromRectangle(b.getGraphBounds());b=b.getView().getScale();d.width/=b;d.height/=b;b=d.width;var f=Math.sqrt(a);d=Math.sqrt(b/d.height/(e/c));c=f*d;d=f/d;if(1>c&&d>a){var g=d/a;d=a;c/=g}1>d&&c>a&&(g=c/a,c=a,d/=g);g=Math.ceil(c)*Math.ceil(d);for(f=0;g>a;){g=Math.floor(c)/c;var k=Math.floor(d)/d;1==g&&(g=Math.floor(c-1)/c);1==k&&(k=Math.floor(d-1)/d);g=g>k?g:k;c*=g;d*=g;g=Math.ceil(c)*Math.ceil(d);f++;if(10<f)break}return e*c/b*.99999},show:function(a,b,c,d,e,
+f){c=null!=c?c:0;d=null!=d?d:0;null==b?b=window.open().document:b.open();9==document.documentMode&&b.writeln('\x3c!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=9"><![endif]--\x3e');var g=a.getGraphBounds(),k=Math.ceil(c-g.x),l=Math.ceil(d-g.y);null==e&&(e=Math.ceil(g.width+c)+Math.ceil(Math.ceil(g.x)-g.x));null==f&&(f=Math.ceil(g.height+d)+Math.ceil(Math.ceil(g.y)-g.y));if(mxClient.IS_IE||11==document.documentMode){d="<html><head>";g=document.getElementsByTagName("base");for(c=0;c<g.length;c++)d+=
+g[c].outerHTML;d+="<style>";for(c=0;c<document.styleSheets.length;c++)try{d+=document.styleSheets[c].cssText}catch(m){}d=d+'</style></head><body style="margin:0px;"><div style="position:absolute;overflow:hidden;width:'+(e+"px;height:"+f+'px;"><div style="position:relative;left:'+k+"px;top:"+l+'px;">')+a.container.innerHTML;b.writeln(d+"</div></div></body><html>");b.close()}else{b.writeln("<html><head>");g=document.getElementsByTagName("base");for(c=0;c<g.length;c++)b.writeln(mxUtils.getOuterHtml(g[c]));
+d=document.getElementsByTagName("link");for(c=0;c<d.length;c++)b.writeln(mxUtils.getOuterHtml(d[c]));d=document.getElementsByTagName("style");for(c=0;c<d.length;c++)b.writeln(mxUtils.getOuterHtml(d[c]));b.writeln('</head><body style="margin:0px;"></body></html>');b.close();c=b.createElement("div");c.position="absolute";c.overflow="hidden";c.style.width=e+"px";c.style.height=f+"px";e=b.createElement("div");e.style.position="absolute";e.style.left=k+"px";e.style.top=l+"px";f=a.container.firstChild;
+for(d=null;null!=f;)g=f.cloneNode(!0),f==a.view.drawPane.ownerSVGElement?(c.appendChild(g),d=g):e.appendChild(g),f=f.nextSibling;b.body.appendChild(c);null!=e.firstChild&&b.body.appendChild(e);null!=d&&(d.style.minWidth="",d.style.minHeight="",d.firstChild.setAttribute("transform","translate("+k+","+l+")"))}mxUtils.removeCursors(b.body);return b},printScreen:function(a){var b=window.open();mxUtils.show(a,b.document);a=function(){b.focus();b.print();b.close()};mxClient.IS_GC?b.setTimeout(a,500):a()},
+popup:function(a,b){if(b){var c=document.createElement("div");c.style.overflow="scroll";c.style.width="636px";c.style.height="460px";b=document.createElement("pre");b.innerHTML=mxUtils.htmlEntities(a,!1).replace(/\n/g,"<br>").replace(/ /g,"&nbsp;");c.appendChild(b);c=new mxWindow("Popup Window",c,document.body.clientWidth/2-320,Math.max(document.body.clientHeight||0,document.documentElement.clientHeight)/2-240,640,480,!1,!0);c.setClosable(!0);c.setVisible(!0)}else mxClient.IS_NS?(c=window.open(),
+c.document.writeln("<pre>"+mxUtils.htmlEntities(a)+"</pre"),c.document.close()):(c=window.open(),b=c.document.createElement("pre"),b.innerHTML=mxUtils.htmlEntities(a,!1).replace(/\n/g,"<br>").replace(/ /g,"&nbsp;"),c.document.body.appendChild(b))},alert:function(a){alert(a)},prompt:function(a,b){return prompt(a,null!=b?b:"")},confirm:function(a){return confirm(a)},error:function(a,b,c,d){var e=document.createElement("div");e.style.padding="20px";var f=document.createElement("img");f.setAttribute("src",
+d||mxUtils.errorImage);f.setAttribute("valign","bottom");f.style.verticalAlign="middle";e.appendChild(f);e.appendChild(document.createTextNode(" "));e.appendChild(document.createTextNode(" "));e.appendChild(document.createTextNode(" "));mxUtils.write(e,a);a=document.body.clientWidth;d=document.body.clientHeight||document.documentElement.clientHeight;var g=new mxWindow(mxResources.get(mxUtils.errorResource)||mxUtils.errorResource,e,(a-b)/2,d/4,b,null,!1,!0);c&&(mxUtils.br(e),b=document.createElement("p"),
+c=document.createElement("button"),mxClient.IS_IE?c.style.cssText="float:right":c.setAttribute("style","float:right"),mxEvent.addListener(c,"click",function(k){g.destroy()}),mxUtils.write(c,mxResources.get(mxUtils.closeResource)||mxUtils.closeResource),b.appendChild(c),e.appendChild(b),mxUtils.br(e),g.setClosable(!0));g.setVisible(!0);return g},makeDraggable:function(a,b,c,d,e,f,g,k,l,m){a=new mxDragSource(a,c);a.dragOffset=new mxPoint(null!=e?e:0,null!=f?f:mxConstants.TOOLTIP_VERTICAL_OFFSET);a.autoscroll=
+g;a.setGuidesEnabled(!1);null!=l&&(a.highlightDropTargets=l);null!=m&&(a.getDropTarget=m);a.getGraphForEvent=function(n){return"function"==typeof b?b(n):b};null!=d&&(a.createDragElement=function(){return d.cloneNode(!0)},k&&(a.createPreviewElement=function(n){var p=d.cloneNode(!0),r=parseInt(p.style.width),q=parseInt(p.style.height);p.style.width=Math.round(r*n.view.scale)+"px";p.style.height=Math.round(q*n.view.scale)+"px";return p}));return a},format:function(a){return parseFloat(parseFloat(a).toFixed(2))}},
mxConstants={DEFAULT_HOTSPOT:.3,MIN_HOTSPOT_SIZE:8,MAX_HOTSPOT_SIZE:0,RENDERING_HINT_EXACT:"exact",RENDERING_HINT_FASTER:"faster",RENDERING_HINT_FASTEST:"fastest",DIALECT_SVG:"svg",DIALECT_MIXEDHTML:"mixedHtml",DIALECT_PREFERHTML:"preferHtml",DIALECT_STRICTHTML:"strictHtml",NS_SVG:"http://www.w3.org/2000/svg",NS_XHTML:"http://www.w3.org/1999/xhtml",NS_XLINK:"http://www.w3.org/1999/xlink",SHADOWCOLOR:"#808080",VML_SHADOWCOLOR:"#808080",SHADOW_OFFSET_X:2,SHADOW_OFFSET_Y:3,SHADOW_BLUR:2,SHADOW_OPACITY:1,
NODETYPE_ELEMENT:1,NODETYPE_ATTRIBUTE:2,NODETYPE_TEXT:3,NODETYPE_CDATA:4,NODETYPE_ENTITY_REFERENCE:5,NODETYPE_ENTITY:6,NODETYPE_PROCESSING_INSTRUCTION:7,NODETYPE_COMMENT:8,NODETYPE_DOCUMENT:9,NODETYPE_DOCUMENTTYPE:10,NODETYPE_DOCUMENT_FRAGMENT:11,NODETYPE_NOTATION:12,TOOLTIP_VERTICAL_OFFSET:16,DEFAULT_VALID_COLOR:"#00FF00",DEFAULT_INVALID_COLOR:"#FF0000",OUTLINE_HIGHLIGHT_COLOR:"#00FF00",OUTLINE_HIGHLIGHT_STROKEWIDTH:5,HIGHLIGHT_STROKEWIDTH:3,HIGHLIGHT_SIZE:2,HIGHLIGHT_OPACITY:100,CURSOR_MOVABLE_VERTEX:"move",
CURSOR_MOVABLE_EDGE:"move",CURSOR_LABEL_HANDLE:"default",CURSOR_TERMINAL_HANDLE:"pointer",CURSOR_BEND_HANDLE:"crosshair",CURSOR_VIRTUAL_BEND_HANDLE:"crosshair",CURSOR_CONNECT:"pointer",HIGHLIGHT_COLOR:"#00FF00",CONNECT_TARGET_COLOR:"#0000FF",INVALID_CONNECT_TARGET_COLOR:"#FF0000",DROP_TARGET_COLOR:"#0000FF",VALID_COLOR:"#00FF00",INVALID_COLOR:"#FF0000",EDGE_SELECTION_COLOR:"#00FF00",VERTEX_SELECTION_COLOR:"#00FF00",VERTEX_SELECTION_STROKEWIDTH:1,EDGE_SELECTION_STROKEWIDTH:1,VERTEX_SELECTION_DASHED:!0,
@@ -1932,8 +1932,8 @@ G);this.exportColor(I)};this.fromRGB=function(y,B,G,I){0>y&&(y=0);1<y&&(y=1);0>B
function(y,B){return(y=y.match(/^\W*([0-9A-F]{3}([0-9A-F]{3})?)\W*$/i))?(6===y[1].length?this.fromRGB(parseInt(y[1].substr(0,2),16)/255,parseInt(y[1].substr(2,2),16)/255,parseInt(y[1].substr(4,2),16)/255,B):this.fromRGB(parseInt(y[1].charAt(0)+y[1].charAt(0),16)/255,parseInt(y[1].charAt(1)+y[1].charAt(1),16)/255,parseInt(y[1].charAt(2)+y[1].charAt(2),16)/255,B),!0):!1};this.toString=function(){return(256|Math.round(255*this.rgb[0])).toString(16).substr(1)+(256|Math.round(255*this.rgb[1])).toString(16).substr(1)+
(256|Math.round(255*this.rgb[2])).toString(16).substr(1)};var q=this,t="hvs"===this.pickerMode.toLowerCase()?1:0,u=mxJSColor.fetchElement(this.valueElement),v=mxJSColor.fetchElement(this.styleElement),z=!1,E=!1,C=1,F=2,D=4,x=8;u&&(b=function(){q.fromString(u.value,C);p()},mxJSColor.addEvent(u,"keyup",b),mxJSColor.addEvent(u,"input",b),mxJSColor.addEvent(u,"blur",l),u.setAttribute("autocomplete","off"));v&&(v.jscStyle={backgroundImage:v.style.backgroundImage,backgroundColor:v.style.backgroundColor,
color:v.style.color});switch(t){case 0:mxJSColor.requireImage("hs.png");break;case 1:mxJSColor.requireImage("hv.png")}this.importColor()}};mxJSColor.install();
-Editor=function(a,b,d,e,g){mxEventSource.call(this);this.chromeless=null!=a?a:this.chromeless;this.initStencilRegistry();this.graph=e||this.createGraph(b,d);this.editable=null!=g?g:!a;this.undoManager=this.createUndoManager();this.status="";this.getOrCreateFilename=function(){return this.filename||mxResources.get("drawing",[Editor.pageCounter])+".xml"};this.getFilename=function(){return this.filename};this.setStatus=function(f,h){this.status=f;this.statusFunction=h;this.fireEvent(new mxEventObject("statusChanged"))};
-this.getStatus=function(){return this.status};this.graphChangeListener=function(f,h){f=null!=h?h.getProperty("edit"):null;null!=f&&f.ignoreEdit||this.setModified(!0)};this.graph.getModel().addListener(mxEvent.CHANGE,mxUtils.bind(this,function(){this.graphChangeListener.apply(this,arguments)}));this.graph.resetViewOnRootChange=!1;this.init()};mxConstants.POINTS=1;mxConstants.MILLIMETERS=2;mxConstants.INCHES=3;mxConstants.METERS=4;mxConstants.PIXELS_PER_MM=3.937;mxConstants.PIXELS_PER_INCH=100;
+Editor=function(a,b,e,f,h){mxEventSource.call(this);this.chromeless=null!=a?a:this.chromeless;this.initStencilRegistry();this.graph=f||this.createGraph(b,e);this.editable=null!=h?h:!a;this.undoManager=this.createUndoManager();this.status="";this.getOrCreateFilename=function(){return this.filename||mxResources.get("drawing",[Editor.pageCounter])+".xml"};this.getFilename=function(){return this.filename};this.setStatus=function(d,g){this.status=d;this.statusFunction=g;this.fireEvent(new mxEventObject("statusChanged"))};
+this.getStatus=function(){return this.status};this.graphChangeListener=function(d,g){d=null!=g?g.getProperty("edit"):null;null!=d&&d.ignoreEdit||this.setModified(!0)};this.graph.getModel().addListener(mxEvent.CHANGE,mxUtils.bind(this,function(){this.graphChangeListener.apply(this,arguments)}));this.graph.resetViewOnRootChange=!1;this.init()};mxConstants.POINTS=1;mxConstants.MILLIMETERS=2;mxConstants.INCHES=3;mxConstants.METERS=4;mxConstants.PIXELS_PER_MM=3.937;mxConstants.PIXELS_PER_INCH=100;
Editor.pageCounter=0;(function(){try{for(var a=window;null!=a.opener&&"undefined"!==typeof a.opener.Editor&&!isNaN(a.opener.Editor.pageCounter)&&a.opener!=a;)a=a.opener;null!=a&&(a.Editor.pageCounter++,Editor.pageCounter=a.Editor.pageCounter)}catch(b){}})();Editor.defaultHtmlFont='-apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Segoe UI", system-ui, ui-sans-serif, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"';Editor.useLocalStorage="undefined"!=typeof Storage&&mxClient.IS_IOS;
Editor.smallScreenWidth=1024;Editor.lightCheckmarkImage="data:image/gif;base64,R0lGODlhFQAVAMQfAGxsbHx8fIqKioaGhvb29nJycvr6+sDAwJqamltbW5OTk+np6YGBgeTk5Ly8vJiYmP39/fLy8qWlpa6ursjIyOLi4vj4+N/f3+3t7fT09LCwsHZ2dubm5r6+vmZmZv///yH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS4wLWMwNjAgNjEuMTM0Nzc3LCAyMDEwLzAyLzEyLTE3OjMyOjAwICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5b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VFBMSERAPDg0MCwoJCAcGBQQDAgEAACH5BAEAAB8ALAAAAAAVABUAAAVI4CeOZGmeaKqubKtylktSgCOLRyLd3+QJEJnh4VHcMoOfYQXQLBcBD4PA6ngGlIInEHEhPOANRkaIFhq8SuHCE1Hb8Lh8LgsBADs=";
Editor.darkCheckmarkImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVCAMAAACeyVWkAAAARVBMVEUAAACZmZkICAgEBASNjY2Dg4MYGBiTk5N5eXl1dXVmZmZQUFBCQkI3NzceHh4MDAykpKSJiYl+fn5sbGxaWlo/Pz8SEhK96uPlAAAAAXRSTlMAQObYZgAAAE5JREFUGNPFzTcSgDAQQ1HJGUfy/Y9K7V1qeOUfzQifCQZai1XHaz11LFysbDbzgDSSWMZiETz3+b8yNUc/MMsktxuC8XQBSncdLwz+8gCCggGXzBcozAAAAABJRU5ErkJggg==";Editor.helpImage="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBmaWxsPSJub25lIiBkPSJNMCAwaDI0djI0SDB6Ii8+PHBhdGggZD0iTTExIDE4aDJ2LTJoLTJ2MnptMS0xNkM2LjQ4IDIgMiA2LjQ4IDIgMTJzNC40OCAxMCAxMCAxMCAxMC00LjQ4IDEwLTEwUzE3LjUyIDIgMTIgMnptMCAxOGMtNC40MSAwLTgtMy41OS04LThzMy41OS04IDgtOCA4IDMuNTkgOCA4LTMuNTkgOC04IDh6bTAtMTRjLTIuMjEgMC00IDEuNzktNCA0aDJjMC0xLjEuOS0yIDItMnMyIC45IDIgMmMwIDItMyAxLjc1LTMgNWgyYzAtMi4yNSAzLTIuNSAzLTUgMC0yLjIxLTEuNzktNC00LTR6Ii8+PC9zdmc+";
@@ -1970,37 +1970,37 @@ Editor.checkmarkImage=Editor.lightCheckmarkImage;Editor.roughFillStyles=[{val:"a
Editor.fillStyles=[{val:"auto",dispName:"Auto"},{val:"hatch",dispName:"Hatch"},{val:"solid",dispName:"Solid"},{val:"dots",dispName:"Dots"},{val:"cross-hatch",dispName:"Cross Hatch"},{val:"dashed",dispName:"Dashed"},{val:"zigzag-line",dispName:"ZigZag Line"}];Editor.themes=[];Editor.ctrlKey=mxClient.IS_MAC?"Cmd":"Ctrl";Editor.hintOffset=20;Editor.shapePickerHoverDelay=300;Editor.fitWindowBorders=null;Editor.popupsAllowed=null!=window.urlParams?"1"!=urlParams.noDevice:!0;Editor.simpleLabels=!1;
Editor.enableNativeCipboard=window==window.top&&!mxClient.IS_FF&&null!=navigator.clipboard;Editor.sketchMode=!1;Editor.enableCssDarkMode=window.mxIsElectron?!1:!0;Editor.cssDarkMode=!1;Editor.darkMode=!1;Editor.currentTheme=uiTheme;Editor.darkColor=Editor.enableCssDarkMode?"#121212":"#18141D";Editor.lightColor="#f0f0f0";Editor.fontSizeUnit="px";Editor.pageSizeUnit=mxConstants.INCHES;Editor.isDarkMode=function(a){return Editor.darkMode};
Editor.isPngDataUrl=function(a){return null!=a&&"data:image/png;"==a.substring(0,15)};Editor.isPngData=function(a){return 8<a.length&&137==a.charCodeAt(0)&&80==a.charCodeAt(1)&&78==a.charCodeAt(2)&&71==a.charCodeAt(3)&&13==a.charCodeAt(4)&&10==a.charCodeAt(5)&&26==a.charCodeAt(6)&&10==a.charCodeAt(7)};Editor.convertHtmlToText=function(a){if(null!=a){var b=document.createElement("div");b.innerHTML=Graph.sanitizeHtml(a);return mxUtils.extractTextWithWhitespace(b.childNodes)}return null};
-Editor.extractGraphModelFromPng=function(a){var b=null;try{var d=a.substring(a.indexOf(",")+1),e=window.atob&&!mxClient.IS_SF?atob(d):Base64.decode(d,!0);EditorUi.parsePng(e,mxUtils.bind(this,function(g,f,h){g=e.substring(g+8,g+8+h);"zTXt"==f?(h=g.indexOf(String.fromCharCode(0)),"mxGraphModel"==g.substring(0,h)&&(g=pako.inflateRaw(Graph.stringToArrayBuffer(g.substring(h+2)),{to:"string"}).replace(/\+/g," "),null!=g&&0<g.length&&(b=g))):"tEXt"==f&&(g=g.split(String.fromCharCode(0)),1<g.length&&("mxGraphModel"==
-g[0]||"mxfile"==g[0])&&(b=g[1]));if(null!=b||"IDAT"==f)return!0}))}catch(g){}null!=b&&"%"==b.charAt(0)&&(b=decodeURIComponent(b));null!=b&&"%"==b.charAt(0)&&(b=decodeURIComponent(b));return b};
-Editor.soundex=function(a){if(null==a||0==a.length)return"";var b=[],d=1;b[0]=a[0].toUpperCase();for(var e=1,g=a.length;e<g;e++){var f=a[e].toUpperCase().charCodeAt(0)-65;if(0<=f&&25>=f&&"0"!="01230120022455012603010202"[f]&&("01230120022455012603010202"[f]!=b[d-1]&&(b[d]="01230120022455012603010202"[f],d++),3<d))break}if(3>=d)for(;3>=d;)b[d]="0",d++;return b.join("")};
-Editor.selectFilename=function(a){var b=a.value.lastIndexOf(".");if(0<b){var d=a.value.substring(b+1);"drawio"!=d&&0<=mxUtils.indexOf(["png","svg","html","xml","pdf"],d)&&(d=a.value.lastIndexOf(".drawio.",b),0<d&&(b=d))}b=0<b?b:a.value.length;Editor.selectSubstring(a,0,b)};
-Editor.selectSubstring=function(a,b,d){a.focus();"undefined"!=typeof a.selectionStart?(a.selectionStart=b,a.selectionEnd=d):document.selection&&document.selection.createRange&&(a.select(),a=document.selection.createRange(),a.collapse(!0),a.moveEnd("character",d),a.moveStart("character",b),a.select())};
+Editor.extractGraphModelFromPng=function(a){var b=null;try{var e=a.substring(a.indexOf(",")+1),f=window.atob&&!mxClient.IS_SF?atob(e):Base64.decode(e,!0);EditorUi.parsePng(f,mxUtils.bind(this,function(h,d,g){h=f.substring(h+8,h+8+g);"zTXt"==d?(g=h.indexOf(String.fromCharCode(0)),"mxGraphModel"==h.substring(0,g)&&(h=pako.inflateRaw(Graph.stringToArrayBuffer(h.substring(g+2)),{to:"string"}).replace(/\+/g," "),null!=h&&0<h.length&&(b=h))):"tEXt"==d&&(h=h.split(String.fromCharCode(0)),1<h.length&&("mxGraphModel"==
+h[0]||"mxfile"==h[0])&&(b=h[1]));if(null!=b||"IDAT"==d)return!0}))}catch(h){}null!=b&&"%"==b.charAt(0)&&(b=decodeURIComponent(b));null!=b&&"%"==b.charAt(0)&&(b=decodeURIComponent(b));return b};
+Editor.soundex=function(a){if(null==a||0==a.length)return"";var b=[],e=1;b[0]=a[0].toUpperCase();for(var f=1,h=a.length;f<h;f++){var d=a[f].toUpperCase().charCodeAt(0)-65;if(0<=d&&25>=d&&"0"!="01230120022455012603010202"[d]&&("01230120022455012603010202"[d]!=b[e-1]&&(b[e]="01230120022455012603010202"[d],e++),3<e))break}if(3>=e)for(;3>=e;)b[e]="0",e++;return b.join("")};
+Editor.selectFilename=function(a){var b=a.value.lastIndexOf(".");if(0<b){var e=a.value.substring(b+1);"drawio"!=e&&0<=mxUtils.indexOf(["png","svg","html","xml","pdf"],e)&&(e=a.value.lastIndexOf(".drawio.",b),0<e&&(b=e))}b=0<b?b:a.value.length;Editor.selectSubstring(a,0,b)};
+Editor.selectSubstring=function(a,b,e){a.focus();"undefined"!=typeof a.selectionStart?(a.selectionStart=b,a.selectionEnd=e):document.selection&&document.selection.createRange&&(a.select(),a=document.selection.createRange(),a.collapse(!0),a.moveEnd("character",e),a.moveStart("character",b),a.select())};
Editor.toUnit=function(a,b){return b==mxConstants.INCHES?Math.round(100*a/mxConstants.PIXELS_PER_INCH)/100:b==mxConstants.MILLIMETERS?Math.round(100*a/mxConstants.PIXELS_PER_MM)/100:b==mxConstants.METERS?Math.round(1E3*a/(1E3*mxConstants.PIXELS_PER_MM))/1E3:Math.round(a)};
Editor.fromUnit=function(a,b){return b==mxConstants.INCHES?Math.round(a*mxConstants.PIXELS_PER_INCH):b==mxConstants.MILLIMETERS?Math.round(a*mxConstants.PIXELS_PER_MM):b==mxConstants.METERS?Math.round(a*mxConstants.PIXELS_PER_MM*1E3):Math.round(a)};mxUtils.extend(Editor,mxEventSource);Editor.prototype.originalNoForeignObject=mxClient.NO_FO;
Editor.prototype.transparentImage=mxClient.IS_SVG?"data:image/gif;base64,R0lGODlhMAAwAIAAAP///wAAACH5BAEAAAAALAAAAAAwADAAAAIxhI+py+0Po5y02ouz3rz7D4biSJbmiabqyrbuC8fyTNf2jef6zvf+DwwKh8Si8egpAAA7":IMAGE_PATH+"/transparent.gif";Editor.prototype.extendCanvas=!0;Editor.prototype.chromeless=!1;Editor.prototype.cancelFirst=!0;Editor.prototype.enabled=!0;Editor.prototype.filename=null;Editor.prototype.modified=!1;Editor.prototype.autosave=!0;Editor.prototype.initialTopSpacing=0;Editor.prototype.appName=document.title;
Editor.prototype.editBlankUrl=window.location.origin+window.location.pathname;Editor.prototype.defaultGraphOverflow="hidden";Editor.prototype.init=function(){};Editor.prototype.isChromelessView=function(){return this.chromeless};Editor.prototype.setAutosave=function(a){this.autosave=a;this.fireEvent(new mxEventObject("autosaveChanged"))};Editor.prototype.getEditBlankUrl=function(a){return this.editBlankUrl+a};
-Editor.prototype.editAsNew=function(a,b){b=null!=b?"?title="+encodeURIComponent(b):"";null!=urlParams.ui&&(b+=(0<b.length?"&":"?")+"ui="+urlParams.ui);if("undefined"!==typeof window.postMessage&&(null==document.documentMode||10<=document.documentMode)){var d=null,e=mxUtils.bind(this,function(g){"ready"==g.data&&g.source==d&&(mxEvent.removeListener(window,"message",e),d.postMessage(a,"*"))});mxEvent.addListener(window,"message",e);d=this.graph.openLink(this.getEditBlankUrl(b+(0<b.length?"&":"?")+"client=1"),
-null,!0)}else this.graph.openLink(this.getEditBlankUrl(b)+"#R"+encodeURIComponent(a))};Editor.prototype.createGraph=function(a,b){a=new Graph(null,b,null,null,a);a.transparentBackground=!1;var d=a.isCssTransformsSupported,e=this;a.isCssTransformsSupported=function(){return d.apply(this,arguments)&&(!e.chromeless||!mxClient.IS_SF)};this.chromeless||(a.isBlankLink=function(g){return!this.isExternalProtocol(g)});return a};
+Editor.prototype.editAsNew=function(a,b){b=null!=b?"?title="+encodeURIComponent(b):"";null!=urlParams.ui&&(b+=(0<b.length?"&":"?")+"ui="+urlParams.ui);if("undefined"!==typeof window.postMessage&&(null==document.documentMode||10<=document.documentMode)){var e=null,f=mxUtils.bind(this,function(h){"ready"==h.data&&h.source==e&&(mxEvent.removeListener(window,"message",f),e.postMessage(a,"*"))});mxEvent.addListener(window,"message",f);e=this.graph.openLink(this.getEditBlankUrl(b+(0<b.length?"&":"?")+"client=1"),
+null,!0)}else this.graph.openLink(this.getEditBlankUrl(b)+"#R"+encodeURIComponent(a))};Editor.prototype.createGraph=function(a,b){a=new Graph(null,b,null,null,a);a.transparentBackground=!1;var e=a.isCssTransformsSupported,f=this;a.isCssTransformsSupported=function(){return e.apply(this,arguments)&&(!f.chromeless||!mxClient.IS_SF)};this.chromeless||(a.isBlankLink=function(h){return!this.isExternalProtocol(h)});return a};
Editor.prototype.resetGraph=function(){this.graph.gridEnabled=this.graph.defaultGridEnabled&&(!this.isChromelessView()||"1"==urlParams.grid);this.graph.graphHandler.guidesEnabled=!0;this.graph.setTooltips(!0);this.graph.setConnectable(!0);this.graph.foldingEnabled=!0;this.graph.scrollbars=this.graph.defaultScrollbars;this.graph.pageVisible=this.graph.defaultPageVisible;this.graph.pageBreaksVisible=this.graph.pageVisible;this.graph.preferPageSize=this.graph.pageBreaksVisible;this.graph.background=
null;this.graph.pageScale=mxGraph.prototype.pageScale;this.graph.pageFormat=mxGraph.prototype.pageFormat;this.graph.currentScale=1;this.graph.currentTranslate.x=0;this.graph.currentTranslate.y=0;this.updateGraphComponents();this.graph.view.setScale(1)};
Editor.prototype.readGraphState=function(a){var b=a.getAttribute("grid");if(null==b||""==b)b=this.graph.defaultGridEnabled?"1":"0";this.graph.gridEnabled="0"!=b&&(!this.isChromelessView()||"1"==urlParams.grid);this.graph.gridSize=parseFloat(a.getAttribute("gridSize"))||mxGraph.prototype.gridSize;this.graph.graphHandler.guidesEnabled="0"!=a.getAttribute("guides");this.graph.setTooltips("0"!=a.getAttribute("tooltips"));this.graph.setConnectable("0"!=a.getAttribute("connect"));this.graph.connectionArrowsEnabled=
"0"!=a.getAttribute("arrows");this.graph.foldingEnabled="0"!=a.getAttribute("fold");this.isChromelessView()&&this.graph.foldingEnabled&&(this.graph.foldingEnabled="1"==urlParams.nav,this.graph.cellRenderer.forceControlClickHandler=this.graph.foldingEnabled);b=parseFloat(a.getAttribute("pageScale"));!isNaN(b)&&0<b?this.graph.pageScale=b:this.graph.pageScale=mxGraph.prototype.pageScale;this.graph.isLightboxView()||this.graph.isViewer()?this.graph.pageVisible=!1:(b=a.getAttribute("page"),this.graph.pageVisible=
-null!=b?"0"!=b:this.graph.defaultPageVisible);this.graph.pageBreaksVisible=this.graph.pageVisible;this.graph.preferPageSize=this.graph.pageBreaksVisible;b=parseFloat(a.getAttribute("pageWidth"));var d=parseFloat(a.getAttribute("pageHeight"));isNaN(b)||isNaN(d)||(this.graph.pageFormat=new mxRectangle(0,0,b,d));a=a.getAttribute("background");this.graph.background=null!=a&&0<a.length?a:null};
-Editor.prototype.setGraphXml=function(a){if(null!=a){var b=new mxCodec(a.ownerDocument);if("mxGraphModel"==a.nodeName){this.graph.model.beginUpdate();try{this.graph.model.clear(),this.graph.view.scale=1,this.readGraphState(a),this.updateGraphComponents(),b.decode(a,this.graph.getModel())}finally{this.graph.model.endUpdate()}this.fireEvent(new mxEventObject("resetGraphView"))}else if("root"==a.nodeName){this.resetGraph();var d=b.document.createElement("mxGraphModel");d.appendChild(a);b.decode(d,this.graph.getModel());
+null!=b?"0"!=b:this.graph.defaultPageVisible);this.graph.pageBreaksVisible=this.graph.pageVisible;this.graph.preferPageSize=this.graph.pageBreaksVisible;b=parseFloat(a.getAttribute("pageWidth"));var e=parseFloat(a.getAttribute("pageHeight"));isNaN(b)||isNaN(e)||(this.graph.pageFormat=new mxRectangle(0,0,b,e));a=a.getAttribute("background");this.graph.background=null!=a&&0<a.length?a:null};
+Editor.prototype.setGraphXml=function(a){if(null!=a){var b=new mxCodec(a.ownerDocument);if("mxGraphModel"==a.nodeName){this.graph.model.beginUpdate();try{this.graph.model.clear(),this.graph.view.scale=1,this.readGraphState(a),this.updateGraphComponents(),b.decode(a,this.graph.getModel())}finally{this.graph.model.endUpdate()}this.fireEvent(new mxEventObject("resetGraphView"))}else if("root"==a.nodeName){this.resetGraph();var e=b.document.createElement("mxGraphModel");e.appendChild(a);b.decode(e,this.graph.getModel());
this.updateGraphComponents();this.fireEvent(new mxEventObject("resetGraphView"))}else throw{message:mxResources.get("cannotOpenFile"),node:a,toString:function(){return this.message}};}else this.resetGraph(),this.graph.model.clear(),this.fireEvent(new mxEventObject("resetGraphView"))};
Editor.prototype.getGraphXml=function(a){if(null!=a?a:1){var b=new mxCodec(mxUtils.createXmlDocument());a=b.encode(this.graph.getModel());b.document.appendChild(a)}else a=this.graph.encodeCells(mxUtils.sortCells(this.graph.model.getTopmostCells(this.graph.getSelectionCells())));if(0!=this.graph.view.translate.x||0!=this.graph.view.translate.y)a.setAttribute("dx",Math.round(100*this.graph.view.translate.x)/100),a.setAttribute("dy",Math.round(100*this.graph.view.translate.y)/100);a.setAttribute("grid",
this.graph.isGridEnabled()?"1":"0");a.setAttribute("gridSize",this.graph.gridSize);a.setAttribute("guides",this.graph.graphHandler.guidesEnabled?"1":"0");a.setAttribute("tooltips",this.graph.tooltipHandler.isEnabled()?"1":"0");a.setAttribute("connect",this.graph.connectionHandler.isEnabled()?"1":"0");a.setAttribute("arrows",this.graph.connectionArrowsEnabled?"1":"0");a.setAttribute("fold",this.graph.foldingEnabled?"1":"0");a.setAttribute("page",this.graph.pageVisible?"1":"0");a.setAttribute("pageScale",
this.graph.pageScale);a.setAttribute("pageWidth",this.graph.pageFormat.width);a.setAttribute("pageHeight",this.graph.pageFormat.height);null!=this.graph.background&&a.setAttribute("background",this.graph.background);return a};Editor.prototype.updateGraphComponents=function(){var a=this.graph;null!=a.container&&(a.view.validateBackground(),a.container.style.overflow=a.scrollbars?"auto":this.defaultGraphOverflow,this.fireEvent(new mxEventObject("updateGraphComponents")))};
Editor.prototype.setModified=function(a){this.modified=a};Editor.prototype.setFilename=function(a){this.filename=a};
-Editor.prototype.createUndoManager=function(){var a=this.graph,b=new mxUndoManager;this.undoListener=function(e,g){b.undoableEditHappened(g.getProperty("edit"))};var d=mxUtils.bind(this,function(e,g){this.undoListener.apply(this,arguments)});a.getModel().addListener(mxEvent.UNDO,d);a.getView().addListener(mxEvent.UNDO,d);d=function(e,g){e=g.getProperty("edit").changes;e=a.getSelectionCellsForChanges(e);g=!1;if(0<e.length){for(var f=[],h=0;h<e.length;h++)null!=a.view.getState(e[h])&&(f.push(e[h]),
-g||(a.scrollCellToVisible(e[h]),g=!0));a.setSelectionCells(f)}};b.addListener(mxEvent.UNDO,d);b.addListener(mxEvent.REDO,d);return b};Editor.prototype.initStencilRegistry=function(){};Editor.prototype.destroy=function(){null!=this.graph&&(this.graph.destroy(),this.graph=null)};OpenFile=function(a){this.consumer=this.producer=null;this.done=a;this.args=null};OpenFile.prototype.setConsumer=function(a){this.consumer=a;this.execute()};OpenFile.prototype.setData=function(){this.args=arguments;this.execute()};
+Editor.prototype.createUndoManager=function(){var a=this.graph,b=new mxUndoManager;this.undoListener=function(f,h){b.undoableEditHappened(h.getProperty("edit"))};var e=mxUtils.bind(this,function(f,h){this.undoListener.apply(this,arguments)});a.getModel().addListener(mxEvent.UNDO,e);a.getView().addListener(mxEvent.UNDO,e);e=function(f,h){f=h.getProperty("edit").changes;f=a.getSelectionCellsForChanges(f);h=!1;if(0<f.length){for(var d=[],g=0;g<f.length;g++)null!=a.view.getState(f[g])&&(d.push(f[g]),
+h||(a.scrollCellToVisible(f[g]),h=!0));a.setSelectionCells(d)}};b.addListener(mxEvent.UNDO,e);b.addListener(mxEvent.REDO,e);return b};Editor.prototype.initStencilRegistry=function(){};Editor.prototype.destroy=function(){null!=this.graph&&(this.graph.destroy(),this.graph=null)};OpenFile=function(a){this.consumer=this.producer=null;this.done=a;this.args=null};OpenFile.prototype.setConsumer=function(a){this.consumer=a;this.execute()};OpenFile.prototype.setData=function(){this.args=arguments;this.execute()};
OpenFile.prototype.error=function(a){this.cancel(!0);mxUtils.alert(a)};OpenFile.prototype.execute=function(){null!=this.consumer&&null!=this.args&&(this.cancel(!1),this.consumer.apply(this,this.args))};OpenFile.prototype.cancel=function(a){null!=this.done&&this.done(null!=a?a:!0)};
-function Dialog(a,b,d,e,g,f,h,n,q,l,p){this.editorUi=a;var w=q?57:0,z=d,C=e,F=q?0:64,D=Editor.inlineFullscreen||null==a.embedViewport?this.getDocumentSize():mxUtils.clone(a.embedViewport);null==a.embedViewport&&null!=window.innerHeight&&(D.height=window.innerHeight);var G=D.height;D=Math.max(1,Math.round((D.width-d-F)/2));var K=Math.max(1,Math.round((G-e-a.footerHeight)/3));b.style.maxHeight="100%";d=null!=document.body?Math.min(d,document.body.scrollWidth-F):d;e=Math.min(e,G-F);0<a.dialogs.length&&
-(this.zIndex+=2*a.dialogs.length);null==this.bg&&(this.bg=a.createDiv("geBackground"),this.bg.style.position="absolute",this.bg.style.height=G+"px",this.bg.style.right="0px",this.bg.style.zIndex=this.zIndex-2,mxUtils.setOpacity(this.bg,this.bgOpacity));var I=mxUtils.getDocumentScrollOrigin(document);this.bg.style.left=I.x+"px";this.bg.style.top=I.y+"px";D+=I.x;K+=I.y;Editor.inlineFullscreen||null==a.embedViewport||(this.bg.style.height=this.getDocumentSize().height+"px",K+=a.embedViewport.y,D+=a.embedViewport.x);
-g&&document.body.appendChild(this.bg);var O=a.createDiv(q?"geTransDialog":"geDialog");g=this.getPosition(D,K,d,e);D=g.x;K=g.y;O.style.width=d+"px";O.style.height=e+"px";O.style.left=D+"px";O.style.top=K+"px";O.style.zIndex=this.zIndex;O.appendChild(b);document.body.appendChild(O);!n&&b.clientHeight>O.clientHeight-F&&(b.style.overflowY="auto");b.style.overflowX="hidden";if(f&&(f=document.createElement("img"),f.setAttribute("src",Dialog.prototype.closeImage),f.setAttribute("title",mxResources.get("close")),
-f.className="geDialogClose",f.style.top=K+14+"px",f.style.left=D+d+38-w+"px",f.style.zIndex=this.zIndex,mxEvent.addListener(f,"click",mxUtils.bind(this,function(){a.hideDialog(!0)})),document.body.appendChild(f),this.dialogImg=f,!p)){var H=!1;mxEvent.addGestureListeners(this.bg,mxUtils.bind(this,function(Z){H=!0}),null,mxUtils.bind(this,function(Z){H&&(a.hideDialog(!0),H=!1)}))}this.resizeListener=mxUtils.bind(this,function(){if(null!=l){var Z=l();null!=Z&&(z=d=Z.w,C=e=Z.h)}Z=Editor.inlineFullscreen||
-null==a.embedViewport?this.getDocumentSize():mxUtils.clone(a.embedViewport);G=Z.height;this.bg.style.height=G+"px";Editor.inlineFullscreen||null==a.embedViewport||(this.bg.style.height=this.getDocumentSize().height+"px");d=null!=document.body?Math.min(z,document.body.scrollWidth-F):z;e=Math.min(C,G-F);Z=Math.max(1,Math.round((Z.width-d-F)/2));var S=Math.max(1,Math.round((G-e-a.footerHeight)/3));S=this.getPosition(Z,S,d,e);Z=S.x;S=S.y;var X=mxUtils.getDocumentScrollOrigin(document);Z+=X.x;S+=X.y;Editor.inlineFullscreen||
-null==a.embedViewport||(S+=a.embedViewport.y,Z+=a.embedViewport.x);O.style.left=Z+"px";O.style.top=S+"px";O.style.width=d+"px";O.style.height=e+"px";!n&&b.clientHeight>O.clientHeight-F&&(b.style.overflowY="auto");null!=this.dialogImg&&(this.dialogImg.style.top=S+14+"px",this.dialogImg.style.left=Z+d+38-w+"px")});null!=a.embedViewport?a.addListener("embedViewportChanged",this.resizeListener):mxEvent.addListener(window,"resize",this.resizeListener);this.onDialogClose=h;this.container=O;a.editor.fireEvent(new mxEventObject("showDialog"))}
+function Dialog(a,b,e,f,h,d,g,n,q,k,p){this.editorUi=a;var w=q?57:0,z=e,C=f,F=q?0:64,D=Editor.inlineFullscreen||null==a.embedViewport?this.getDocumentSize():mxUtils.clone(a.embedViewport);null==a.embedViewport&&null!=window.innerHeight&&(D.height=window.innerHeight);var H=D.height;D=Math.max(1,Math.round((D.width-e-F)/2));var K=Math.max(1,Math.round((H-f-a.footerHeight)/3));b.style.maxHeight="100%";e=null!=document.body?Math.min(e,document.body.scrollWidth-F):e;f=Math.min(f,H-F);0<a.dialogs.length&&
+(this.zIndex+=2*a.dialogs.length);null==this.bg&&(this.bg=a.createDiv("geBackground"),this.bg.style.position="absolute",this.bg.style.height=H+"px",this.bg.style.right="0px",this.bg.style.zIndex=this.zIndex-2,mxUtils.setOpacity(this.bg,this.bgOpacity));var G=mxUtils.getDocumentScrollOrigin(document);this.bg.style.left=G.x+"px";this.bg.style.top=G.y+"px";D+=G.x;K+=G.y;Editor.inlineFullscreen||null==a.embedViewport||(this.bg.style.height=this.getDocumentSize().height+"px",K+=a.embedViewport.y,D+=a.embedViewport.x);
+h&&document.body.appendChild(this.bg);var P=a.createDiv(q?"geTransDialog":"geDialog");h=this.getPosition(D,K,e,f);D=h.x;K=h.y;P.style.width=e+"px";P.style.height=f+"px";P.style.left=D+"px";P.style.top=K+"px";P.style.zIndex=this.zIndex;P.appendChild(b);document.body.appendChild(P);!n&&b.clientHeight>P.clientHeight-F&&(b.style.overflowY="auto");b.style.overflowX="hidden";if(d&&(d=document.createElement("img"),d.setAttribute("src",Dialog.prototype.closeImage),d.setAttribute("title",mxResources.get("close")),
+d.className="geDialogClose",d.style.top=K+14+"px",d.style.left=D+e+38-w+"px",d.style.zIndex=this.zIndex,mxEvent.addListener(d,"click",mxUtils.bind(this,function(){a.hideDialog(!0)})),document.body.appendChild(d),this.dialogImg=d,!p)){var I=!1;mxEvent.addGestureListeners(this.bg,mxUtils.bind(this,function(Z){I=!0}),null,mxUtils.bind(this,function(Z){I&&(a.hideDialog(!0),I=!1)}))}this.resizeListener=mxUtils.bind(this,function(){if(null!=k){var Z=k();null!=Z&&(z=e=Z.w,C=f=Z.h)}Z=Editor.inlineFullscreen||
+null==a.embedViewport?this.getDocumentSize():mxUtils.clone(a.embedViewport);H=Z.height;this.bg.style.height=H+"px";Editor.inlineFullscreen||null==a.embedViewport||(this.bg.style.height=this.getDocumentSize().height+"px");e=null!=document.body?Math.min(z,document.body.scrollWidth-F):z;f=Math.min(C,H-F);Z=Math.max(1,Math.round((Z.width-e-F)/2));var S=Math.max(1,Math.round((H-f-a.footerHeight)/3));S=this.getPosition(Z,S,e,f);Z=S.x;S=S.y;var Y=mxUtils.getDocumentScrollOrigin(document);Z+=Y.x;S+=Y.y;Editor.inlineFullscreen||
+null==a.embedViewport||(S+=a.embedViewport.y,Z+=a.embedViewport.x);P.style.left=Z+"px";P.style.top=S+"px";P.style.width=e+"px";P.style.height=f+"px";!n&&b.clientHeight>P.clientHeight-F&&(b.style.overflowY="auto");null!=this.dialogImg&&(this.dialogImg.style.top=S+14+"px",this.dialogImg.style.left=Z+e+38-w+"px")});null!=a.embedViewport?a.addListener("embedViewportChanged",this.resizeListener):mxEvent.addListener(window,"resize",this.resizeListener);this.onDialogClose=g;this.container=P;a.editor.fireEvent(new mxEventObject("showDialog"))}
Dialog.prototype.zIndex=mxPopupMenu.prototype.zIndex-2;
Dialog.prototype.noColorImage=mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyBpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBXaW5kb3dzIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkEzRDlBMUUwODYxMTExRTFCMzA4RDdDMjJBMEMxRDM3IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkEzRDlBMUUxODYxMTExRTFCMzA4RDdDMjJBMEMxRDM3Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QTNEOUExREU4NjExMTFFMUIzMDhEN0MyMkEwQzFEMzciIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QTNEOUExREY4NjExMTFFMUIzMDhEN0MyMkEwQzFEMzciLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5xh3fmAAAABlBMVEX////MzMw46qqDAAAAGElEQVR42mJggAJGKGAYIIGBth8KAAIMAEUQAIElnLuQAAAAAElFTkSuQmCC":IMAGE_PATH+
"/nocolor.png";Dialog.prototype.defaultColorImage=mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAABlBMVEUAAAD///+l2Z/dAAAAKUlEQVQI1wXBMREAIAwEsHAMjJVQKZVW6U8CDpdH0QxLnLjxoqJjYvMBewMJ51TWcscAAAAASUVORK5CYII=":IMAGE_PATH+"/defaultcolor.png";
@@ -2009,220 +2009,220 @@ Dialog.prototype.clearImage=mxClient.IS_SVG?"data:image/gif;base64,R0lGODlhDQAKA
"/clear.gif";Dialog.prototype.bgOpacity=80;Dialog.prototype.getDocumentSize=function(){return mxUtils.getDocumentSize()};Dialog.prototype.getPosition=function(a,b){return new mxPoint(a,b)};
Dialog.prototype.close=function(a,b){if(null!=this.onDialogClose){if(0==this.onDialogClose(a,b))return!1;this.onDialogClose=null}null!=this.dialogImg&&null!=this.dialogImg.parentNode&&(this.dialogImg.parentNode.removeChild(this.dialogImg),this.dialogImg=null);null!=this.bg&&null!=this.bg.parentNode&&this.bg.parentNode.removeChild(this.bg);null!=this.editorUi.embedViewport?this.editorUi.removeListener(this.resizeListener):mxEvent.removeListener(window,"resize",this.resizeListener);null!=this.container.parentNode&&
this.container.parentNode.removeChild(this.container)};
-var ErrorDialog=function(a,b,d,e,g,f,h,n,q,l,p){q=null!=q?q:!0;var w=document.createElement("div");w.style.textAlign="center";if(null!=b){var z=document.createElement("div");z.style.padding="0px";z.style.margin="0px";z.style.fontSize="18px";z.style.paddingBottom="16px";z.style.marginBottom="10px";z.style.borderBottom="1px solid #c0c0c0";z.style.color="gray";z.style.whiteSpace="nowrap";z.style.textOverflow="ellipsis";z.style.overflow="hidden";mxUtils.write(z,b);z.setAttribute("title",b);w.appendChild(z)}b=
-document.createElement("div");b.style.lineHeight="1.2em";b.style.padding="6px";"string"===typeof d&&(d=d.replace(/\n/g,"<br/>"));b.innerHTML=Graph.sanitizeHtml(d);w.appendChild(b);d=document.createElement("div");d.style.marginTop="12px";d.style.textAlign="center";null!=f&&(b=mxUtils.button(mxResources.get("tryAgain"),function(){a.hideDialog();f()}),b.className="geBtn",d.appendChild(b),d.style.textAlign="center");null!=l&&(l=mxUtils.button(l,function(){null!=p&&p()}),l.className="geBtn",d.appendChild(l));
-var C=mxUtils.button(e,function(){q&&a.hideDialog();null!=g&&g()});C.className="geBtn";d.appendChild(C);null!=h&&(e=mxUtils.button(h,function(){q&&a.hideDialog();null!=n&&n()}),e.className="geBtn gePrimaryBtn",d.appendChild(e));this.init=function(){C.focus()};w.appendChild(d);this.container=w},PrintDialog=function(a,b,d){this.create(a,b,d)};
-PrintDialog.prototype.create=function(a){function b(C){var F=h.checked||l.checked,D=parseInt(w.value)/100;isNaN(D)&&(D=1,w.value="100%");mxClient.IS_SF&&(D*=.75);var G=d.pageFormat||mxConstants.PAGE_FORMAT_A4_PORTRAIT,K=1/d.pageScale;if(F){var I=h.checked?1:parseInt(p.value);isNaN(I)||(K=mxUtils.getScaleForPageCount(I,d,G))}var O=I=0;G=mxRectangle.fromRectangle(G);G.width=Math.ceil(G.width*D);G.height=Math.ceil(G.height*D);K*=D;!F&&d.pageVisible?(D=d.getPageLayout(),I-=D.x*G.width,O-=D.y*G.height):
-F=!0;F=PrintDialog.createPrintPreview(d,K,G,0,I,O,F);F.open();C&&PrintDialog.printPreview(F)}var d=a.editor.graph,e=document.createElement("table");e.style.width="100%";e.style.height="100%";var g=document.createElement("tbody");var f=document.createElement("tr");var h=document.createElement("input");h.setAttribute("type","checkbox");var n=document.createElement("td");n.setAttribute("colspan","2");n.style.fontSize="10pt";n.appendChild(h);var q=document.createElement("span");mxUtils.write(q," "+mxResources.get("fitPage"));
-n.appendChild(q);mxEvent.addListener(q,"click",function(C){h.checked=!h.checked;l.checked=!h.checked;mxEvent.consume(C)});mxEvent.addListener(h,"change",function(){l.checked=!h.checked});f.appendChild(n);g.appendChild(f);f=f.cloneNode(!1);var l=document.createElement("input");l.setAttribute("type","checkbox");n=document.createElement("td");n.style.fontSize="10pt";n.appendChild(l);q=document.createElement("span");mxUtils.write(q," "+mxResources.get("posterPrint")+":");n.appendChild(q);mxEvent.addListener(q,
-"click",function(C){l.checked=!l.checked;h.checked=!l.checked;mxEvent.consume(C)});f.appendChild(n);var p=document.createElement("input");p.setAttribute("value","1");p.setAttribute("type","number");p.setAttribute("min","1");p.setAttribute("size","4");p.setAttribute("disabled","disabled");p.style.width="50px";n=document.createElement("td");n.style.fontSize="10pt";n.appendChild(p);mxUtils.write(n," "+mxResources.get("pages")+" (max)");f.appendChild(n);g.appendChild(f);mxEvent.addListener(l,"change",
-function(){l.checked?p.removeAttribute("disabled"):p.setAttribute("disabled","disabled");h.checked=!l.checked});f=f.cloneNode(!1);n=document.createElement("td");mxUtils.write(n,mxResources.get("pageScale")+":");f.appendChild(n);n=document.createElement("td");var w=document.createElement("input");w.setAttribute("value","100 %");w.setAttribute("size","5");w.style.width="50px";n.appendChild(w);f.appendChild(n);g.appendChild(f);f=document.createElement("tr");n=document.createElement("td");n.colSpan=2;
+var ErrorDialog=function(a,b,e,f,h,d,g,n,q,k,p){q=null!=q?q:!0;var w=document.createElement("div");w.style.textAlign="center";if(null!=b){var z=document.createElement("div");z.style.padding="0px";z.style.margin="0px";z.style.fontSize="18px";z.style.paddingBottom="16px";z.style.marginBottom="10px";z.style.borderBottom="1px solid #c0c0c0";z.style.color="gray";z.style.whiteSpace="nowrap";z.style.textOverflow="ellipsis";z.style.overflow="hidden";mxUtils.write(z,b);z.setAttribute("title",b);w.appendChild(z)}b=
+document.createElement("div");b.style.lineHeight="1.2em";b.style.padding="6px";"string"===typeof e&&(e=e.replace(/\n/g,"<br/>"));b.innerHTML=Graph.sanitizeHtml(e);w.appendChild(b);e=document.createElement("div");e.style.marginTop="12px";e.style.textAlign="center";null!=d&&(b=mxUtils.button(mxResources.get("tryAgain"),function(){a.hideDialog();d()}),b.className="geBtn",e.appendChild(b),e.style.textAlign="center");null!=k&&(k=mxUtils.button(k,function(){null!=p&&p()}),k.className="geBtn",e.appendChild(k));
+var C=mxUtils.button(f,function(){q&&a.hideDialog();null!=h&&h()});C.className="geBtn";e.appendChild(C);null!=g&&(f=mxUtils.button(g,function(){q&&a.hideDialog();null!=n&&n()}),f.className="geBtn gePrimaryBtn",e.appendChild(f));this.init=function(){C.focus()};w.appendChild(e);this.container=w},PrintDialog=function(a,b,e){this.create(a,b,e)};
+PrintDialog.prototype.create=function(a){function b(C){var F=g.checked||k.checked,D=parseInt(w.value)/100;isNaN(D)&&(D=1,w.value="100%");mxClient.IS_SF&&(D*=.75);var H=e.pageFormat||mxConstants.PAGE_FORMAT_A4_PORTRAIT,K=1/e.pageScale;if(F){var G=g.checked?1:parseInt(p.value);isNaN(G)||(K=mxUtils.getScaleForPageCount(G,e,H))}var P=G=0;H=mxRectangle.fromRectangle(H);H.width=Math.ceil(H.width*D);H.height=Math.ceil(H.height*D);K*=D;!F&&e.pageVisible?(D=e.getPageLayout(),G-=D.x*H.width,P-=D.y*H.height):
+F=!0;F=PrintDialog.createPrintPreview(e,K,H,0,G,P,F);F.open();C&&PrintDialog.printPreview(F)}var e=a.editor.graph,f=document.createElement("table");f.style.width="100%";f.style.height="100%";var h=document.createElement("tbody");var d=document.createElement("tr");var g=document.createElement("input");g.setAttribute("type","checkbox");var n=document.createElement("td");n.setAttribute("colspan","2");n.style.fontSize="10pt";n.appendChild(g);var q=document.createElement("span");mxUtils.write(q," "+mxResources.get("fitPage"));
+n.appendChild(q);mxEvent.addListener(q,"click",function(C){g.checked=!g.checked;k.checked=!g.checked;mxEvent.consume(C)});mxEvent.addListener(g,"change",function(){k.checked=!g.checked});d.appendChild(n);h.appendChild(d);d=d.cloneNode(!1);var k=document.createElement("input");k.setAttribute("type","checkbox");n=document.createElement("td");n.style.fontSize="10pt";n.appendChild(k);q=document.createElement("span");mxUtils.write(q," "+mxResources.get("posterPrint")+":");n.appendChild(q);mxEvent.addListener(q,
+"click",function(C){k.checked=!k.checked;g.checked=!k.checked;mxEvent.consume(C)});d.appendChild(n);var p=document.createElement("input");p.setAttribute("value","1");p.setAttribute("type","number");p.setAttribute("min","1");p.setAttribute("size","4");p.setAttribute("disabled","disabled");p.style.width="50px";n=document.createElement("td");n.style.fontSize="10pt";n.appendChild(p);mxUtils.write(n," "+mxResources.get("pages")+" (max)");d.appendChild(n);h.appendChild(d);mxEvent.addListener(k,"change",
+function(){k.checked?p.removeAttribute("disabled"):p.setAttribute("disabled","disabled");g.checked=!k.checked});d=d.cloneNode(!1);n=document.createElement("td");mxUtils.write(n,mxResources.get("pageScale")+":");d.appendChild(n);n=document.createElement("td");var w=document.createElement("input");w.setAttribute("value","100 %");w.setAttribute("size","5");w.style.width="50px";n.appendChild(w);d.appendChild(n);h.appendChild(d);d=document.createElement("tr");n=document.createElement("td");n.colSpan=2;
n.style.paddingTop="20px";n.setAttribute("align","right");q=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});q.className="geBtn";a.editor.cancelFirst&&n.appendChild(q);if(PrintDialog.previewEnabled){var z=mxUtils.button(mxResources.get("preview"),function(){a.hideDialog();b(!1)});z.className="geBtn";n.appendChild(z)}z=mxUtils.button(mxResources.get(PrintDialog.previewEnabled?"print":"ok"),function(){a.hideDialog();b(!0)});z.className="geBtn gePrimaryBtn";n.appendChild(z);a.editor.cancelFirst||
-n.appendChild(q);f.appendChild(n);g.appendChild(f);e.appendChild(g);this.container=e};PrintDialog.printPreview=function(a){try{null!=a.wnd&&window.setTimeout(function(){a.wnd.focus();a.wnd.print();a.wnd.close()},500)}catch(b){}};
-PrintDialog.createPrintPreview=function(a,b,d,e,g,f,h){b=new mxPrintPreview(a,b,d,e,g,f);b.title=mxResources.get("preview");b.addPageCss=!mxClient.IS_SF;b.printBackgroundImage=!0;b.autoOrigin=h;h=a.background;if(null==h||""==h||h==mxConstants.NONE)h="#ffffff";b.backgroundColor=h;var n=b.isTextLabel;b.isTextLabel=function(l){return"geHint"==!l.className&&n.apply(this,arguments)};var q=b.getLinkForCellState;b.getLinkForCellState=function(l){return a.getAbsoluteUrl(q.apply(this,arguments))};return b};
+n.appendChild(q);d.appendChild(n);h.appendChild(d);f.appendChild(h);this.container=f};PrintDialog.printPreview=function(a){try{null!=a.wnd&&window.setTimeout(function(){a.wnd.focus();a.wnd.print();a.wnd.close()},500)}catch(b){}};
+PrintDialog.createPrintPreview=function(a,b,e,f,h,d,g){b=new mxPrintPreview(a,b,e,f,h,d);b.title=mxResources.get("preview");b.addPageCss=!mxClient.IS_SF;b.printBackgroundImage=!0;b.autoOrigin=g;g=a.background;if(null==g||""==g||g==mxConstants.NONE)g="#ffffff";b.backgroundColor=g;var n=b.isTextLabel;b.isTextLabel=function(k){return"geHint"==!k.className&&n.apply(this,arguments)};var q=b.getLinkForCellState;b.getLinkForCellState=function(k){return a.getAbsoluteUrl(q.apply(this,arguments))};return b};
PrintDialog.previewEnabled=!0;
-var PageSetupDialog=function(a){function b(){var D=w;null!=D&&null!=D.originalSrc&&(D=a.createImageForPageLink(D.originalSrc,null));null!=D&&null!=D.src?(p.style.backgroundImage="url("+D.src+")",p.style.display="inline-block"):(p.style.backgroundImage="",p.style.display="none");p.style.backgroundColor="";null!=z&&z!=mxConstants.NONE&&(p.style.backgroundColor=z,p.style.display="inline-block")}var d=a.editor.graph,e=document.createElement("table");e.style.width="100%";e.style.height="100%";var g=document.createElement("tbody");
-var f=document.createElement("tr");var h=document.createElement("td");h.style.verticalAlign="top";h.style.fontSize="10pt";mxUtils.write(h,mxResources.get("paperSize")+":");f.appendChild(h);h=document.createElement("td");h.style.verticalAlign="top";h.style.fontSize="10pt";var n=PageSetupDialog.addPageFormatPanel(h,"pagesetupdialog",d.pageFormat);f.appendChild(h);g.appendChild(f);f=document.createElement("tr");h=document.createElement("td");mxUtils.write(h,mxResources.get("gridSize")+":");f.appendChild(h);
-h=document.createElement("td");h.style.whiteSpace="nowrap";var q=document.createElement("input");q.setAttribute("type","number");q.setAttribute("min","0");q.style.width="40px";q.style.marginLeft="6px";q.value=d.getGridSize();h.appendChild(q);mxEvent.addListener(q,"change",function(){var D=parseInt(q.value);q.value=Math.max(1,isNaN(D)?d.getGridSize():D)});f.appendChild(h);g.appendChild(f);f=document.createElement("tr");h=document.createElement("td");mxUtils.write(h,mxResources.get("background")+":");
-f.appendChild(h);h=document.createElement("td");var l=document.createElement("button");l.className="geBtn";l.style.margin="0px";mxUtils.write(l,mxResources.get("change")+"...");var p=document.createElement("div");p.style.display="inline-block";p.style.verticalAlign="middle";p.style.backgroundPosition="center center";p.style.backgroundRepeat="no-repeat";p.style.backgroundSize="contain";p.style.border="1px solid lightGray";p.style.borderRadius="4px";p.style.marginRight="14px";p.style.height="32px";
-p.style.width="64px";p.style.cursor="pointer";p.style.padding="4px";var w=d.backgroundImage,z=d.background,C=d.shadowVisible,F=function(D){a.showBackgroundImageDialog(function(G,K,I,O){K||(null!=G&&null!=G.src&&Graph.isPageLink(G.src)&&(G={originalSrc:G.src}),w=G,C=O);z=I;b()},w,z,!0);mxEvent.consume(D)};mxEvent.addListener(l,"click",F);mxEvent.addListener(p,"click",F);b();h.appendChild(p);h.appendChild(l);f.appendChild(h);g.appendChild(f);f=document.createElement("tr");h=document.createElement("td");
-h.colSpan=2;h.style.paddingTop="16px";h.setAttribute("align","right");l=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});l.className="geBtn";a.editor.cancelFirst&&h.appendChild(l);F=mxUtils.button(mxResources.get("apply"),function(){a.hideDialog();var D=parseInt(q.value);isNaN(D)||d.gridSize===D||d.setGridSize(D);D=new ChangePageSetup(a,z,w,n.get());D.ignoreColor=d.background==z;D.ignoreImage=(null!=d.backgroundImage?d.backgroundImage.src:null)===(null!=w?w.src:null);null!=C&&
-(D.shadowVisible=C);d.pageFormat.width==D.previousFormat.width&&d.pageFormat.height==D.previousFormat.height&&D.ignoreColor&&D.ignoreImage&&D.shadowVisible==d.shadowVisible||d.model.execute(D)});F.className="geBtn gePrimaryBtn";h.appendChild(F);a.editor.cancelFirst||h.appendChild(l);f.appendChild(h);g.appendChild(f);e.appendChild(g);this.container=e};
-PageSetupDialog.addPageFormatPanel=function(a,b,d,e){b="format-"+b;var g=document.createElement("input");g.setAttribute("name",b);g.setAttribute("type","radio");g.setAttribute("value","portrait");var f=document.createElement("input");f.setAttribute("name",b);f.setAttribute("type","radio");f.setAttribute("value","landscape");var h=document.createElement("select");h.style.marginBottom="4px";h.style.borderRadius="4px";h.style.borderWidth="1px";h.style.borderStyle="solid";h.style.boxSizing="border-box";
-h.style.padding="2px";h.style.width="206px";var n=document.createElement("div");n.style.whiteSpace="nowrap";n.style.marginLeft="4px";n.style.width="210px";n.style.height="24px";g.style.marginRight="6px";n.appendChild(g);b=document.createElement("span");b.style.maxWidth="100px";mxUtils.write(b,mxResources.get("portrait"));n.appendChild(b);f.style.marginLeft="10px";f.style.marginRight="6px";n.appendChild(f);var q=document.createElement("span");q.style.width="100px";mxUtils.write(q,mxResources.get("landscape"));
-n.appendChild(q);var l=document.createElement("div");l.style.whiteSpace="nowrap";l.style.marginLeft="4px";l.style.fontSize="12px";l.style.width="210px";l.style.height="24px";var p=document.createElement("input");p.setAttribute("size","7");p.setAttribute("title",mxResources.get("width"));p.style.textAlign="right";l.appendChild(p);mxUtils.write(l," x ");var w=document.createElement("input");w.setAttribute("size","7");w.setAttribute("title",mxResources.get("height"));w.style.textAlign="right";l.appendChild(w);
-var z=document.createElement("select");z.style.marginLeft="4px";z.style.maxWidth="78px";z.style.width="78px";for(var C=[{label:mxResources.get("points"),unit:mxConstants.POINTS},{label:mxResources.get("inches"),unit:mxConstants.INCHES},{label:mxResources.get("millimeters"),unit:mxConstants.MILLIMETERS}],F=0;F<C.length;F++){var D=document.createElement("option");D.setAttribute("value",C[F].unit);mxUtils.write(D,C[F].label);z.appendChild(D)}z.value=Editor.pageSizeUnit;l.appendChild(z);n.style.display=
-"none";l.style.display="none";var G={},K=PageSetupDialog.getFormats();for(F=0;F<K.length;F++)C=K[F],G[C.key]=C,D=document.createElement("option"),D.setAttribute("value",C.key),mxUtils.write(D,C.title),h.appendChild(D);var I=function(){h.value="custom";for(var H=0;H<K.length;H++){var Z=K[H];null!=Z.format&&("a4"==Z.key?826==d.width?(d=mxRectangle.fromRectangle(d),d.width=827):826==d.height&&(d=mxRectangle.fromRectangle(d),d.height=827):"a5"==Z.key&&(584==d.width?(d=mxRectangle.fromRectangle(d),d.width=
-583):584==d.height&&(d=mxRectangle.fromRectangle(d),d.height=583)),d.width==Z.format.width&&d.height==Z.format.height?(h.value=Z.key,g.setAttribute("checked","checked"),g.defaultChecked=!0,g.checked=!0,f.removeAttribute("checked"),f.defaultChecked=!1,f.checked=!1,detected=!0):d.width==Z.format.height&&d.height==Z.format.width&&(h.value=Z.key,g.removeAttribute("checked"),g.defaultChecked=!1,g.checked=!1,f.setAttribute("checked","checked"),f.defaultChecked=!0,detected=f.checked=!0))}"custom"==h.value?
-(p.value=Editor.toUnit(d.width,z.value),w.value=Editor.toUnit(d.height,z.value),g.setAttribute("checked","checked"),h.value="custom",n.style.display="none",l.style.display=""):(n.style.display="",l.style.display="none")};I();a.appendChild(h);mxUtils.br(a);a.appendChild(n);a.appendChild(l);var O=function(H,Z){H=G[h.value];null!=H.format?(p.value=Editor.toUnit(f.checked?H.format.height:H.format.width,z.value),w.value=Editor.toUnit(f.checked?H.format.width:H.format.height,z.value),l.style.display="none",
-n.style.display=""):(n.style.display="none",l.style.display="");H=parseFloat(p.value);if(isNaN(H)||0>=H)p.value=Editor.toUnit(d.width,z.value);H=parseFloat(w.value);if(isNaN(H)||0>=H)w.value=Editor.toUnit(d.height,z.value);H=new mxRectangle(0,0,Math.floor(Editor.fromUnit(parseFloat(p.value),z.value)),Math.floor(Editor.fromUnit(parseFloat(w.value),z.value)));Z||H.width==d.width&&H.height==d.height||(d=H,null!=e&&e(d))};mxEvent.addListener(b,"click",function(H){g.checked=!0;O(H);mxEvent.consume(H)});
-mxEvent.addListener(q,"click",function(H){f.checked=!0;O(H);mxEvent.consume(H)});mxEvent.addListener(p,"blur",O);mxEvent.addListener(p,"click",O);mxEvent.addListener(w,"blur",O);mxEvent.addListener(w,"click",O);mxEvent.addListener(f,"change",O);mxEvent.addListener(g,"change",O);mxEvent.addListener(h,"change",function(H){O(H,"custom"==h.value);mxEvent.consume(H)});mxEvent.addListener(z,"change",function(H){p.value=Editor.toUnit(Editor.fromUnit(p.value,Editor.pageSizeUnit),z.value);w.value=Editor.toUnit(Editor.fromUnit(w.value,
-Editor.pageSizeUnit),z.value);Editor.pageSizeUnit=z.value;O(H,!0);mxEvent.consume(H)});O(null,!0);return{set:function(H){d=H;I(null,null,!0)},get:function(){return d},widthInput:p,heightInput:w}};
+var PageSetupDialog=function(a){function b(){var D=w;null!=D&&null!=D.originalSrc&&(D=a.createImageForPageLink(D.originalSrc,null));null!=D&&null!=D.src?(p.style.backgroundImage="url("+D.src+")",p.style.display="inline-block"):(p.style.backgroundImage="",p.style.display="none");p.style.backgroundColor="";null!=z&&z!=mxConstants.NONE&&(p.style.backgroundColor=z,p.style.display="inline-block")}var e=a.editor.graph,f=document.createElement("table");f.style.width="100%";f.style.height="100%";var h=document.createElement("tbody");
+var d=document.createElement("tr");var g=document.createElement("td");g.style.verticalAlign="top";g.style.fontSize="10pt";mxUtils.write(g,mxResources.get("paperSize")+":");d.appendChild(g);g=document.createElement("td");g.style.verticalAlign="top";g.style.fontSize="10pt";var n=PageSetupDialog.addPageFormatPanel(g,"pagesetupdialog",e.pageFormat);d.appendChild(g);h.appendChild(d);d=document.createElement("tr");g=document.createElement("td");mxUtils.write(g,mxResources.get("gridSize")+":");d.appendChild(g);
+g=document.createElement("td");g.style.whiteSpace="nowrap";var q=document.createElement("input");q.setAttribute("type","number");q.setAttribute("min","0");q.style.width="40px";q.style.marginLeft="6px";q.value=e.getGridSize();g.appendChild(q);mxEvent.addListener(q,"change",function(){var D=parseInt(q.value);q.value=Math.max(1,isNaN(D)?e.getGridSize():D)});d.appendChild(g);h.appendChild(d);d=document.createElement("tr");g=document.createElement("td");mxUtils.write(g,mxResources.get("background")+":");
+d.appendChild(g);g=document.createElement("td");var k=document.createElement("button");k.className="geBtn";k.style.margin="0px";mxUtils.write(k,mxResources.get("change")+"...");var p=document.createElement("div");p.style.display="inline-block";p.style.verticalAlign="middle";p.style.backgroundPosition="center center";p.style.backgroundRepeat="no-repeat";p.style.backgroundSize="contain";p.style.border="1px solid lightGray";p.style.borderRadius="4px";p.style.marginRight="14px";p.style.height="32px";
+p.style.width="64px";p.style.cursor="pointer";p.style.padding="4px";var w=e.backgroundImage,z=e.background,C=e.shadowVisible,F=function(D){a.showBackgroundImageDialog(function(H,K,G,P){K||(null!=H&&null!=H.src&&Graph.isPageLink(H.src)&&(H={originalSrc:H.src}),w=H,C=P);z=G;b()},w,z,!0);mxEvent.consume(D)};mxEvent.addListener(k,"click",F);mxEvent.addListener(p,"click",F);b();g.appendChild(p);g.appendChild(k);d.appendChild(g);h.appendChild(d);d=document.createElement("tr");g=document.createElement("td");
+g.colSpan=2;g.style.paddingTop="16px";g.setAttribute("align","right");k=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});k.className="geBtn";a.editor.cancelFirst&&g.appendChild(k);F=mxUtils.button(mxResources.get("apply"),function(){a.hideDialog();var D=parseInt(q.value);isNaN(D)||e.gridSize===D||e.setGridSize(D);D=new ChangePageSetup(a,z,w,n.get());D.ignoreColor=e.background==z;D.ignoreImage=(null!=e.backgroundImage?e.backgroundImage.src:null)===(null!=w?w.src:null);null!=C&&
+(D.shadowVisible=C);e.pageFormat.width==D.previousFormat.width&&e.pageFormat.height==D.previousFormat.height&&D.ignoreColor&&D.ignoreImage&&D.shadowVisible==e.shadowVisible||e.model.execute(D)});F.className="geBtn gePrimaryBtn";g.appendChild(F);a.editor.cancelFirst||g.appendChild(k);d.appendChild(g);h.appendChild(d);f.appendChild(h);this.container=f};
+PageSetupDialog.addPageFormatPanel=function(a,b,e,f){b="format-"+b;var h=document.createElement("input");h.setAttribute("name",b);h.setAttribute("type","radio");h.setAttribute("value","portrait");var d=document.createElement("input");d.setAttribute("name",b);d.setAttribute("type","radio");d.setAttribute("value","landscape");var g=document.createElement("select");g.style.marginBottom="4px";g.style.borderRadius="4px";g.style.borderWidth="1px";g.style.borderStyle="solid";g.style.boxSizing="border-box";
+g.style.padding="2px";g.style.width="206px";var n=document.createElement("div");n.style.whiteSpace="nowrap";n.style.marginLeft="4px";n.style.width="210px";n.style.height="24px";h.style.marginRight="6px";n.appendChild(h);b=document.createElement("span");b.style.maxWidth="100px";mxUtils.write(b,mxResources.get("portrait"));n.appendChild(b);d.style.marginLeft="10px";d.style.marginRight="6px";n.appendChild(d);var q=document.createElement("span");q.style.width="100px";mxUtils.write(q,mxResources.get("landscape"));
+n.appendChild(q);var k=document.createElement("div");k.style.whiteSpace="nowrap";k.style.marginLeft="4px";k.style.fontSize="12px";k.style.width="210px";k.style.height="24px";var p=document.createElement("input");p.setAttribute("size","7");p.setAttribute("title",mxResources.get("width"));p.style.textAlign="right";k.appendChild(p);mxUtils.write(k," x ");var w=document.createElement("input");w.setAttribute("size","7");w.setAttribute("title",mxResources.get("height"));w.style.textAlign="right";k.appendChild(w);
+var z=document.createElement("select");z.style.marginLeft="4px";z.style.maxWidth="78px";z.style.width="78px";for(var C=[{label:mxResources.get("points"),unit:mxConstants.POINTS},{label:mxResources.get("inches"),unit:mxConstants.INCHES},{label:mxResources.get("millimeters"),unit:mxConstants.MILLIMETERS}],F=0;F<C.length;F++){var D=document.createElement("option");D.setAttribute("value",C[F].unit);mxUtils.write(D,C[F].label);z.appendChild(D)}z.value=Editor.pageSizeUnit;k.appendChild(z);n.style.display=
+"none";k.style.display="none";var H={},K=PageSetupDialog.getFormats();for(F=0;F<K.length;F++)C=K[F],H[C.key]=C,D=document.createElement("option"),D.setAttribute("value",C.key),mxUtils.write(D,C.title),g.appendChild(D);var G=function(){g.value="custom";for(var I=0;I<K.length;I++){var Z=K[I];null!=Z.format&&("a4"==Z.key?826==e.width?(e=mxRectangle.fromRectangle(e),e.width=827):826==e.height&&(e=mxRectangle.fromRectangle(e),e.height=827):"a5"==Z.key&&(584==e.width?(e=mxRectangle.fromRectangle(e),e.width=
+583):584==e.height&&(e=mxRectangle.fromRectangle(e),e.height=583)),e.width==Z.format.width&&e.height==Z.format.height?(g.value=Z.key,h.setAttribute("checked","checked"),h.defaultChecked=!0,h.checked=!0,d.removeAttribute("checked"),d.defaultChecked=!1,d.checked=!1,detected=!0):e.width==Z.format.height&&e.height==Z.format.width&&(g.value=Z.key,h.removeAttribute("checked"),h.defaultChecked=!1,h.checked=!1,d.setAttribute("checked","checked"),d.defaultChecked=!0,detected=d.checked=!0))}"custom"==g.value?
+(p.value=Editor.toUnit(e.width,z.value),w.value=Editor.toUnit(e.height,z.value),h.setAttribute("checked","checked"),g.value="custom",n.style.display="none",k.style.display=""):(n.style.display="",k.style.display="none")};G();a.appendChild(g);mxUtils.br(a);a.appendChild(n);a.appendChild(k);var P=function(I,Z){I=H[g.value];null!=I.format?(p.value=Editor.toUnit(d.checked?I.format.height:I.format.width,z.value),w.value=Editor.toUnit(d.checked?I.format.width:I.format.height,z.value),k.style.display="none",
+n.style.display=""):(n.style.display="none",k.style.display="");I=parseFloat(p.value);if(isNaN(I)||0>=I)p.value=Editor.toUnit(e.width,z.value);I=parseFloat(w.value);if(isNaN(I)||0>=I)w.value=Editor.toUnit(e.height,z.value);I=new mxRectangle(0,0,Math.floor(Editor.fromUnit(parseFloat(p.value),z.value)),Math.floor(Editor.fromUnit(parseFloat(w.value),z.value)));Z||I.width==e.width&&I.height==e.height||(e=I,null!=f&&f(e))};mxEvent.addListener(b,"click",function(I){h.checked=!0;P(I);mxEvent.consume(I)});
+mxEvent.addListener(q,"click",function(I){d.checked=!0;P(I);mxEvent.consume(I)});mxEvent.addListener(p,"blur",P);mxEvent.addListener(p,"click",P);mxEvent.addListener(w,"blur",P);mxEvent.addListener(w,"click",P);mxEvent.addListener(d,"change",P);mxEvent.addListener(h,"change",P);mxEvent.addListener(g,"change",function(I){P(I,"custom"==g.value);mxEvent.consume(I)});mxEvent.addListener(z,"change",function(I){p.value=Editor.toUnit(Editor.fromUnit(p.value,Editor.pageSizeUnit),z.value);w.value=Editor.toUnit(Editor.fromUnit(w.value,
+Editor.pageSizeUnit),z.value);Editor.pageSizeUnit=z.value;P(I,!0);mxEvent.consume(I)});P(null,!0);return{set:function(I){e=I;G(null,null,!0)},get:function(){return e},widthInput:p,heightInput:w}};
PageSetupDialog.getFormats=function(){return[{key:"letter",title:'US-Letter (8,5" x 11")',format:mxConstants.PAGE_FORMAT_LETTER_PORTRAIT},{key:"legal",title:'US-Legal (8,5" x 14")',format:new mxRectangle(0,0,850,1400)},{key:"tabloid",title:'US-Tabloid (11" x 17")',format:new mxRectangle(0,0,1100,1700)},{key:"executive",title:'US-Executive (7" x 10")',format:new mxRectangle(0,0,700,1E3)},{key:"a0",title:"A0 (841 mm x 1189 mm)",format:new mxRectangle(0,0,3300,4681)},{key:"a1",title:"A1 (594 mm x 841 mm)",
format:new mxRectangle(0,0,2339,3300)},{key:"a2",title:"A2 (420 mm x 594 mm)",format:new mxRectangle(0,0,1654,2336)},{key:"a3",title:"A3 (297 mm x 420 mm)",format:new mxRectangle(0,0,1169,1654)},{key:"a4",title:"A4 (210 mm x 297 mm)",format:mxConstants.PAGE_FORMAT_A4_PORTRAIT},{key:"a5",title:"A5 (148 mm x 210 mm)",format:new mxRectangle(0,0,583,827)},{key:"a6",title:"A6 (105 mm x 148 mm)",format:new mxRectangle(0,0,413,583)},{key:"a7",title:"A7 (74 mm x 105 mm)",format:new mxRectangle(0,0,291,413)},
{key:"b4",title:"B4 (250 mm x 353 mm)",format:new mxRectangle(0,0,980,1390)},{key:"b5",title:"B5 (176 mm x 250 mm)",format:new mxRectangle(0,0,690,980)},{key:"16-9",title:"16:9 (1600 x 900)",format:new mxRectangle(0,0,900,1600)},{key:"16-10",title:"16:10 (1920 x 1200)",format:new mxRectangle(0,0,1200,1920)},{key:"4-3",title:"4:3 (1600 x 1200)",format:new mxRectangle(0,0,1200,1600)},{key:"custom",title:mxResources.get("custom"),format:null}]};
-var FilenameDialog=function(a,b,d,e,g,f,h,n,q,l,p){q=null!=q?q:!0;var w=document.createElement("div"),z=document.createElement("div");z.style.width="100%";z.style.display="grid";z.style.gap="5px 8px";z.style.gridAutoColumns="auto 1fr";z.style.boxSizing="border-box";z.style.padding="3px";var C=document.createElement("div");C.style.display="inline-flex";C.style.alignItems="center";C.style.justifyContent="flex-end";C.style.minWidth="0";var F=document.createElement("div");F.style.display="inline-block";
-F.style.textOverflow="ellipsis";F.style.whiteSpace="nowrap";F.style.overflow="hidden";F.style.fontSize="10pt";F.style.padding="2px 0";F.setAttribute("title",g||mxResources.get("filename"));mxUtils.write(F,(g||mxResources.get("filename"))+":");C.appendChild(F);z.appendChild(C);var D=document.createElement("input");D.setAttribute("value",b||"");D.style.flexGrow="1";var G=mxUtils.button(d,function(){if(null==f||f(D.value))q&&a.hideDialog(),e(D.value)});G.className="geBtn gePrimaryBtn";this.init=function(){if(null!=
-g||null==h)if(null!=p?Editor.selectFilename(D):(D.focus(),mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?D.select():document.execCommand("selectAll",!1,null)),Graph.fileSupport){var K=z.parentNode;if(null!=K){var I=null;mxEvent.addListener(K,"dragleave",function(O){null!=I&&(I.style.backgroundColor="",I=null);O.stopPropagation();O.preventDefault()});mxEvent.addListener(K,"dragover",mxUtils.bind(this,function(O){null==I&&(!mxClient.IS_IE||10<document.documentMode)&&(I=D,I.style.backgroundColor=
-"#ebf2f9");O.stopPropagation();O.preventDefault()}));mxEvent.addListener(K,"drop",mxUtils.bind(this,function(O){null!=I&&(I.style.backgroundColor="",I=null);0<=mxUtils.indexOf(O.dataTransfer.types,"text/uri-list")&&(D.value=decodeURIComponent(O.dataTransfer.getData("text/uri-list")),G.click());O.stopPropagation();O.preventDefault()}))}}};C=document.createElement("div");C.style.display="inline-flex";C.style.alignItems="center";C.style.gap="4px";C.style.whiteSpace="nowrap";C.appendChild(D);z.appendChild(C);
-null==g&&null!=h||null==p||null==a.editor.diagramFileTypes||(C=document.createElement("div"),C.style.display="inline-flex",C.style.alignItems="center",C.style.textOverflow="ellipsis",C.style.justifyContent="flex-end",C.style.fontSize="10pt",mxUtils.write(C,mxResources.get("type")+":"),z.appendChild(C),C=document.createElement("div"),C.style.display="inline-flex",C.style.alignItems="center",C.style.whiteSpace="nowrap",z.appendChild(C),b=FilenameDialog.createFileTypes(a,D,a.editor.diagramFileTypes),
-b.style.width="100%",C.appendChild(b));null!=h&&z.appendChild(h);row=document.createElement("div");row.style.gridColumn="1 / span 2";row.style.paddingTop=null!=p?"6px":"14px";row.style.whiteSpace="nowrap";row.style.display="inline-flex";row.style.alignItems="center";row.style.justifyContent="flex-end";row.setAttribute("align","right");C=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog();null!=l&&l()});C.className="geBtn";null==n||a.isOffline()||row.appendChild(a.createHelpIcon(n));
-a.editor.cancelFirst&&row.appendChild(C);mxEvent.addListener(D,"keypress",function(K){13==K.keyCode&&G.click()});row.appendChild(G);a.editor.cancelFirst||row.appendChild(C);z.appendChild(row);w.appendChild(z);this.container=w};FilenameDialog.filenameHelpLink=null;
-FilenameDialog.createFileTypes=function(a,b,d){var e=document.createElement("select");for(a=0;a<d.length;a++){var g=document.createElement("option");g.setAttribute("value",a);mxUtils.write(g,mxResources.get(d[a].description)+" (."+d[a].extension+")");e.appendChild(g)}mxEvent.addListener(e,"change",function(f){f=d[e.value].extension;var h=b.value.lastIndexOf(".drawio.");h=0<h?h:b.value.lastIndexOf(".");"drawio"!=f&&(f="drawio."+f);b.value=0<h?b.value.substring(0,h+1)+f:b.value+"."+f;"createEvent"in
-document?(f=document.createEvent("HTMLEvents"),f.initEvent("change",!1,!0),b.dispatchEvent(f)):b.fireEvent("onchange")});a=function(f){f=b.value.toLowerCase();for(var h=0,n=0;n<d.length;n++){var q=d[n].extension,l=null;"drawio"!=q&&(l=q,q=".drawio."+q);if(f.substring(f.length-q.length-1)=="."+q||null!=l&&f.substring(f.length-l.length-1)=="."+l){h=n;break}}e.value=h};mxEvent.addListener(b,"change",a);mxEvent.addListener(b,"keyup",a);a();return e};
-var WrapperWindow=function(a,b,d,e,g,f,h){var n=a.createSidebarContainer();h(n);this.window=new mxWindow(b,n,d,e,g,f,!0,!0);this.window.destroyOnClose=!1;this.window.setMaximizable(!1);this.window.setResizable(!0);this.window.setClosable(!0);this.window.setVisible(!0);a.installResizeHandler(this,!0);mxClient.IS_SF&&(this.window.div.onselectstart=mxUtils.bind(this,function(q){null==q&&(q=window.event);return null!=q&&a.isSelectionAllowed(q)}))};
-(function(){mxGraphView.prototype.validateBackgroundPage=function(){var h=this.graph;if(null!=h.container&&!h.transparentBackground){if(h.pageVisible){var n=this.getBackgroundPageBounds();if(null==this.backgroundPageShape){for(var q=h.container.firstChild;null!=q&&q.nodeType!=mxConstants.NODETYPE_ELEMENT;)q=q.nextSibling;null!=q&&(this.backgroundPageShape=this.createBackgroundPageShape(n),this.backgroundPageShape.scale=1,this.backgroundPageShape.isShadow=!0,this.backgroundPageShape.dialect=mxConstants.DIALECT_STRICTHTML,
-this.backgroundPageShape.init(h.container),q.style.position="absolute",h.container.insertBefore(this.backgroundPageShape.node,q),this.backgroundPageShape.redraw(),this.backgroundPageShape.node.className="geBackgroundPage",mxEvent.addListener(this.backgroundPageShape.node,"dblclick",mxUtils.bind(this,function(l){h.dblClick(l)})),mxEvent.addGestureListeners(this.backgroundPageShape.node,mxUtils.bind(this,function(l){h.fireMouseEvent(mxEvent.MOUSE_DOWN,new mxMouseEvent(l))}),mxUtils.bind(this,function(l){null!=
-h.tooltipHandler&&h.tooltipHandler.isHideOnHover()&&h.tooltipHandler.hide();h.isMouseDown&&!mxEvent.isConsumed(l)&&h.fireMouseEvent(mxEvent.MOUSE_MOVE,new mxMouseEvent(l))}),mxUtils.bind(this,function(l){h.fireMouseEvent(mxEvent.MOUSE_UP,new mxMouseEvent(l))})))}else this.backgroundPageShape.scale=1,this.backgroundPageShape.bounds=n,this.backgroundPageShape.redraw()}else null!=this.backgroundPageShape&&(this.backgroundPageShape.destroy(),this.backgroundPageShape=null);this.validateBackgroundStyles()}};
-mxGraphView.prototype.validateBackgroundStyles=function(h,n,q){var l=this.graph;h=null!=h?h:1;var p=null==l.background||l.background==mxConstants.NONE?l.defaultPageBackgroundColor:l.background,w=null!=p&&this.gridColor!=p.toLowerCase()?this.gridColor:"#ffffff",z="none",C="";if(l.isGridEnabled()||l.gridVisible){C=10;mxClient.IS_SVG?(z=unescape(encodeURIComponent(this.createSvgGrid(w,h))),z=window.btoa?btoa(z):Base64.encode(z,!0),z="url(data:image/svg+xml;base64,"+z+")",C=l.gridSize*this.scale*this.gridSteps*
-h):z="url("+this.gridImage+")";var F=w=0;n=null!=n?n-this.translate.x*this.scale:0;q=null!=q?q-this.translate.y*this.scale:0;var D=l.gridSize*this.scale*this.gridSteps,G=n%D;D=q%D;null!=l.view.backgroundPageShape&&(F=this.getBackgroundPageBounds(),w=1+F.x,F=1+F.y);C=-Math.round(C-mxUtils.mod(this.translate.x*this.scale-w+n,C)+G*h)+"px "+-Math.round(C-mxUtils.mod(this.translate.y*this.scale-F+q,C)+D*h)+"px"}h=l.view.canvas;null!=h.ownerSVGElement&&(h=h.ownerSVGElement);w=!Editor.isDarkMode()&&l.enableDiagramBackground;
-null!=l.view.backgroundPageShape?(l.view.backgroundPageShape.node.style.backgroundPosition=C,l.view.backgroundPageShape.node.style.backgroundImage=z,l.view.backgroundPageShape.node.style.backgroundColor=p,l.view.backgroundPageShape.node.style.borderColor=l.defaultPageBorderColor,l.container.classList.add("geDiagramBackdrop"),h.style.backgroundImage="none",h.style.backgroundColor="",l.container.style.backgroundColor=w?l.diagramBackgroundColor:""):(l.container.classList.remove("geDiagramBackdrop"),
-h.style.backgroundPosition=C,h.style.backgroundImage=z,!w||null!=l.background&&l.background!=mxConstants.NONE?h.style.backgroundColor=p:(h.style.backgroundColor=l.diagramBackgroundColor,l.container.style.backgroundColor=""))};mxGraphView.prototype.createSvgGrid=function(h,n){for(n=this.graph.gridSize*this.scale*(null!=n?n:1);n<this.minGridSize;)n*=2;for(var q=this.gridSteps*n,l=[],p=1;p<this.gridSteps;p++){var w=p*n;l.push("M 0 "+w+" L "+q+" "+w+" M "+w+" 0 L "+w+" "+q)}return'<svg width="'+q+'" height="'+
-q+'" xmlns="'+mxConstants.NS_SVG+'"><defs><pattern id="grid" width="'+q+'" height="'+q+'" patternUnits="userSpaceOnUse"><path d="'+l.join(" ")+'" fill="none" stroke="'+h+'" opacity="0.2" stroke-width="1"/><path d="M '+q+" 0 L 0 0 0 "+q+'" fill="none" stroke="'+h+'" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(#grid)"/></svg>'};var a=mxGraph.prototype.panGraph;mxGraph.prototype.panGraph=function(h,n){a.apply(this,arguments);if(null!=this.shiftPreview1){var q=this.view.canvas;
-null!=q.ownerSVGElement&&(q=q.ownerSVGElement);var l=this.gridSize*this.view.scale*this.view.gridSteps;l=-Math.round(l-mxUtils.mod(this.view.translate.x*this.view.scale+h,l))+"px "+-Math.round(l-mxUtils.mod(this.view.translate.y*this.view.scale+n,l))+"px";q.style.backgroundPosition=l}};mxGraph.prototype.updatePageBreaks=function(h,n,q){var l=this.view.scale,p=this.view.translate,w=this.pageFormat,z=l*this.pageScale,C=this.view.getBackgroundPageBounds();n=C.width;q=C.height;var F=new mxRectangle(l*
-p.x,l*p.y,w.width*z,w.height*z),D=(h=h&&Math.min(F.width,F.height)>this.minPageBreakDist)?Math.ceil(q/F.height)-1:0,G=h?Math.ceil(n/F.width)-1:0,K=C.x+n,I=C.y+q;null==this.horizontalPageBreaks&&0<D&&(this.horizontalPageBreaks=[]);null==this.verticalPageBreaks&&0<G&&(this.verticalPageBreaks=[]);h=mxUtils.bind(this,function(O){if(null!=O){for(var H=O==this.horizontalPageBreaks?D:G,Z=0;Z<=H;Z++){var S=O==this.horizontalPageBreaks?[new mxPoint(Math.round(C.x),Math.round(C.y+(Z+1)*F.height)),new mxPoint(Math.round(K),
-Math.round(C.y+(Z+1)*F.height))]:[new mxPoint(Math.round(C.x+(Z+1)*F.width),Math.round(C.y)),new mxPoint(Math.round(C.x+(Z+1)*F.width),Math.round(I))];null!=O[Z]?(O[Z].points=S,O[Z].redraw()):(S=new mxPolyline(S,this.pageBreakColor),S.dialect=this.dialect,S.isDashed=this.pageBreakDashed,S.pointerEvents=!1,S.init(this.view.backgroundPane),S.redraw(),O[Z]=S)}for(Z=H;Z<O.length;Z++)null!=O[Z]&&O[Z].destroy();O.splice(H,O.length-H)}});h(this.horizontalPageBreaks);h(this.verticalPageBreaks)};var b=mxGraphHandler.prototype.shouldRemoveCellsFromParent;
-mxGraphHandler.prototype.shouldRemoveCellsFromParent=function(h,n,q){for(var l=0;l<n.length;l++){if(this.graph.isTableCell(n[l])||this.graph.isTableRow(n[l]))return!1;if(this.graph.getModel().isVertex(n[l])){var p=this.graph.getCellGeometry(n[l]);if(null!=p&&p.relative)return!1}}return b.apply(this,arguments)};var d=mxConnectionHandler.prototype.createMarker;mxConnectionHandler.prototype.createMarker=function(){var h=d.apply(this,arguments);h.intersects=mxUtils.bind(this,function(n,q){return this.isConnecting()?
-!0:mxCellMarker.prototype.intersects.apply(h,arguments)});return h};mxGraphView.prototype.createBackgroundPageShape=function(h){return new mxRectangleShape(h,"#ffffff",this.graph.defaultPageBorderColor)};mxGraphView.prototype.getBackgroundPageBounds=function(){var h=this.getGraphBounds(),n=0<h.width?h.x/this.scale-this.translate.x:0,q=0<h.height?h.y/this.scale-this.translate.y:0,l=this.graph.pageFormat,p=this.graph.pageScale,w=l.width*p;l=l.height*p;p=Math.floor(Math.min(0,n)/w);var z=Math.floor(Math.min(0,
-q)/l);return new mxRectangle(this.scale*(this.translate.x+p*w),this.scale*(this.translate.y+z*l),this.scale*(Math.ceil(Math.max(1,n+h.width/this.scale)/w)-p)*w,this.scale*(Math.ceil(Math.max(1,q+h.height/this.scale)/l)-z)*l)};var e=mxGraph.prototype.panGraph;mxGraph.prototype.panGraph=function(h,n){e.apply(this,arguments);this.dialect==mxConstants.DIALECT_SVG||null==this.view.backgroundPageShape||this.useScrollbarsForPanning&&mxUtils.hasScrollbars(this.container)||(this.view.backgroundPageShape.node.style.marginLeft=
-h+"px",this.view.backgroundPageShape.node.style.marginTop=n+"px")};var g=mxPopupMenu.prototype.addItem;mxPopupMenu.prototype.addItem=function(h,n,q,l,p,w){var z=g.apply(this,arguments);null==w||w||mxEvent.addListener(z,"mousedown",function(C){mxEvent.consume(C)});return z};var f=mxGraphHandler.prototype.isPropagateSelectionCell;mxGraphHandler.prototype.isPropagateSelectionCell=function(h,n,q){var l=this.graph.model.getParent(h);if(n){var p=this.graph.model.isEdge(h)?null:this.graph.getCellGeometry(h);
-p=!this.graph.model.isEdge(l)&&!this.graph.isSiblingSelected(h)&&(null!=p&&p.relative||!this.graph.isContainer(l)||this.graph.isPart(h))}else if(p=f.apply(this,arguments),this.graph.isTableCell(h)||this.graph.isTableRow(h))p=l,this.graph.isTable(p)||(p=this.graph.model.getParent(p)),p=!this.graph.selectionCellsHandler.isHandled(p)||this.graph.isCellSelected(p)&&this.graph.isToggleEvent(q.getEvent())||this.graph.isCellSelected(h)&&!this.graph.isToggleEvent(q.getEvent())||this.graph.isTableCell(h)&&
-this.graph.isCellSelected(l);return p};mxPopupMenuHandler.prototype.getCellForPopupEvent=function(h){h=h.getCell();for(var n=this.graph.getModel(),q=n.getParent(h),l=this.graph.view.getState(q),p=this.graph.isCellSelected(h);null!=l&&(n.isVertex(q)||n.isEdge(q));){var w=this.graph.isCellSelected(q);p=p||w;if(w||!p&&(this.graph.isTableCell(h)||this.graph.isTableRow(h)))h=q;q=n.getParent(q)}return h}})();EditorUi=function(a,b,d){mxEventSource.call(this);this.destroyFunctions=[];this.editor=a||new Editor;this.container=b||document.body;var e=this,g=this.editor.graph;g.lightbox=d;var f=g.getGraphBounds;g.getGraphBounds=function(){var M=f.apply(this,arguments),U=this.backgroundImage;if(null!=U&&null!=U.width&&null!=U.height){var ba=this.view.translate,ja=this.view.scale;M=mxRectangle.fromRectangle(M);M.add(new mxRectangle((ba.x+U.x)*ja,(ba.y+U.y)*ja,U.width*ja,U.height*ja))}return M};g.useCssTransforms&&
-(this.lazyZoomDelay=0);mxClient.IS_SVG?mxPopupMenu.prototype.submenuImage="data:image/gif;base64,R0lGODlhCQAJAIAAAP///zMzMyH5BAEAAAAALAAAAAAJAAkAAAIPhI8WebHsHopSOVgb26AAADs=":(new Image).src=mxPopupMenu.prototype.submenuImage;mxClient.IS_SVG||null==mxConnectionHandler.prototype.connectImage||((new Image).src=mxConnectionHandler.prototype.connectImage.src);this.selectionStateListener=mxUtils.bind(this,function(M,U){this.clearSelectionState()});g.getSelectionModel().addListener(mxEvent.CHANGE,this.selectionStateListener);
-g.getModel().addListener(mxEvent.CHANGE,this.selectionStateListener);g.addListener(mxEvent.EDITING_STARTED,this.selectionStateListener);g.addListener(mxEvent.EDITING_STOPPED,this.selectionStateListener);g.getView().addListener("unitChanged",this.selectionStateListener);if(this.editor.chromeless&&!this.editor.editable){this.footerHeight=0;g.isEnabled=function(){return!1};g.panningHandler.isForcePanningEvent=function(M){for(var U=M.getSource();null!=U&&U!=g.container;){if("foreignObject"===U.nodeName||
-"text"===U.nodeName)return!1;U=U.parentNode}return!mxEvent.isPopupTrigger(M.getEvent())};var h=g.panningHandler.start;g.panningHandler.start=function(){h.apply(this,arguments);mxUtils.clearSelection()}}this.actions=new Actions(this);this.menus=this.createMenus();if(!g.standalone){var n=!1,q=!1;this.setDefaultStyle=function(M){try{g.getModel().isEdge(M)?q=g.pasteEdgeStyle=!1:n=!1;var U=g.getCellStyle(M,!1),ba=[],ja=[],pa;for(pa in U)ba.push(U[pa]),ja.push(pa);g.getModel().isEdge(M)?g.currentEdgeStyle=
-{}:g.currentVertexStyle={};this.fireEvent(new mxEventObject("styleChanged","keys",ja,"values",ba,"cells",[M],"force",!0));g.getModel().isEdge(M)?q=g.pasteEdgeStyle=!0:n=!0}catch(P){this.handleError(P)}};this.clearDefaultStyle=function(){g.currentEdgeStyle=mxUtils.clone(g.defaultEdgeStyle);g.currentVertexStyle=mxUtils.clone(g.defaultVertexStyle);n=q=g.pasteEdgeStyle=!1;this.fireEvent(new mxEventObject("styleChanged","keys",[],"values",[],"cells",[]))};g.addListener("cellsInserted",function(M,U){g.pasteCellStyles(g.includeDescendants(U.getProperty("cells")))});
-g.addListener("textInserted",function(M,U){g.pasteCellStyles(U.getProperty("cells"))});this.createDivs();this.createUi();this.refresh();var l=mxUtils.bind(this,function(M){null==M&&(M=window.event);return g.isEditing()||null!=M&&this.isSelectionAllowed(M)});this.container!=document.body||this.editor.chromeless&&!this.editor.editable||(this.menubarContainer.onselectstart=l,this.menubarContainer.onmousedown=l,this.toolbarContainer.onselectstart=l,this.toolbarContainer.onmousedown=l,this.diagramContainer.onselectstart=
-l,this.diagramContainer.onmousedown=l,this.sidebarContainer.onselectstart=l,this.sidebarContainer.onmousedown=l,this.formatContainer.onselectstart=l,this.formatContainer.onmousedown=l,this.footerContainer.onselectstart=l,this.footerContainer.onmousedown=l,null!=this.tabContainer&&(this.tabContainer.onselectstart=l),mxClient.IS_IOS&&(b=function(){var M=null;if(/iP(hone|od|ad)/.test(navigator.platform)){var U=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);try{M=[parseInt(U[1],10),parseInt(U[2],
-10),parseInt(U[3]||0,10)]}catch(ba){}}return M}(),null!=b&&16<=b[0]&&(mxUtils.setPrefixedStyle(this.menubarContainer.style,"userSelect","none"),mxUtils.setPrefixedStyle(this.diagramContainer.style,"userSelect","none"),mxUtils.setPrefixedStyle(this.sidebarContainer.style,"userSelect","none"),mxUtils.setPrefixedStyle(this.formatContainer.style,"userSelect","none"),mxUtils.setPrefixedStyle(this.footerContainer.style,"userSelect","none"),null!=this.tabContainer&&mxUtils.setPrefixedStyle(this.tabContainer.style,
-"userSelect","none"))));!this.editor.chromeless||this.editor.editable?(b=function(M){if(null!=M){var U=mxEvent.getSource(M);if("A"==U.nodeName)for(;null!=U;){if("geHint"==U.className)return!0;U=U.parentNode}}return l(M)},mxClient.IS_IE&&("undefined"===typeof document.documentMode||9>document.documentMode)?mxEvent.addListener(this.diagramContainer,"contextmenu",b):this.diagramContainer.oncontextmenu=b):g.panningHandler.usePopupTrigger=!1;g.init(this.diagramContainer);mxClient.IS_SVG&&null!=g.view.getDrawPane()&&
-(b=g.view.getDrawPane().ownerSVGElement,null!=b&&(b.style.position="absolute"));this.hoverIcons=this.createHoverIcons();if(null!=g.graphHandler){var p=g.graphHandler.start;g.graphHandler.start=function(){null!=e.hoverIcons&&e.hoverIcons.reset();p.apply(this,arguments)}}mxEvent.addListener(this.diagramContainer,"mousemove",mxUtils.bind(this,function(M){var U=mxUtils.getOffset(this.diagramContainer);0<mxEvent.getClientX(M)-U.x-this.diagramContainer.clientWidth||0<mxEvent.getClientY(M)-U.y-this.diagramContainer.clientHeight?
-this.diagramContainer.setAttribute("title",mxResources.get("panTooltip")):this.diagramContainer.removeAttribute("title")}));var w=this.hoverIcons.isResetEvent;this.hoverIcons.isResetEvent=function(M,U){return e.isSpaceDown()||w.apply(this,arguments)};this.keydownHandler=mxUtils.bind(this,function(M){16==M.which?this.shiftDown=!0:32!=M.which||g.isEditing()?mxEvent.isConsumed(M)||27!=M.keyCode||this.hideDialog(null,!0):(this.spaceDown=!0,this.hoverIcons.reset(),g.container.style.cursor="move",g.isEditing()||
-mxEvent.getSource(M)!=g.container||mxEvent.consume(M))});mxEvent.addListener(document,"keydown",this.keydownHandler);this.keyupHandler=mxUtils.bind(this,function(M){g.container.style.cursor="";this.shiftDown=this.spaceDown=!1});mxEvent.addListener(document,"keyup",this.keyupHandler);var z=g.panningHandler.isForcePanningEvent;g.panningHandler.isForcePanningEvent=function(M){return z.apply(this,arguments)||e.isSpaceDown()||mxEvent.isMouseEvent(M.getEvent())&&(this.usePopupTrigger||!mxEvent.isPopupTrigger(M.getEvent()))&&
-(!mxEvent.isControlDown(M.getEvent())&&mxEvent.isRightMouseButton(M.getEvent())||mxEvent.isMiddleMouseButton(M.getEvent()))};var C=g.cellEditor.isStopEditingEvent;g.cellEditor.isStopEditingEvent=function(M){return C.apply(this,arguments)||13==M.keyCode&&(!mxClient.IS_SF&&mxEvent.isControlDown(M)||mxClient.IS_MAC&&mxEvent.isMetaDown(M)||mxClient.IS_SF&&mxEvent.isShiftDown(M))};var F=g.isZoomWheelEvent;g.isZoomWheelEvent=function(){return e.isSpaceDown()||F.apply(this,arguments)};var D=!1,G=null,K=
-null,I=null,O=mxUtils.bind(this,function(){if(null!=this.toolbar&&D!=g.cellEditor.isContentEditing()){for(var M=this.toolbar.container.firstChild,U=[];null!=M;){var ba=M.nextSibling;0>mxUtils.indexOf(this.toolbar.staticElements,M)&&(M.parentNode.removeChild(M),U.push(M));M=ba}M=this.toolbar.fontMenu;ba=this.toolbar.sizeMenu;if(null==I)this.toolbar.createTextToolbar();else{for(var ja=0;ja<I.length;ja++)this.toolbar.container.appendChild(I[ja]);this.toolbar.fontMenu=G;this.toolbar.sizeMenu=K}D=g.cellEditor.isContentEditing();
-G=M;K=ba;I=U}}),H=g.cellEditor.startEditing;g.cellEditor.startEditing=function(){H.apply(this,arguments);O();if(g.cellEditor.isContentEditing()){var M=!1,U=function(){M||(M=!0,window.setTimeout(function(){var ba=g.getSelectedEditingElement();null!=ba&&(ba=mxUtils.getCurrentStyle(ba),null!=ba&&null!=e.toolbar&&(e.toolbar.setFontName(mxUtils.getCssFontFamily(ba.fontFamily)),e.toolbar.setFontSize(parseInt(ba.fontSize))));M=!1},0))};mxEvent.addListener(g.cellEditor.textarea,"input",U);mxEvent.addListener(g.cellEditor.textarea,
-"touchend",U);mxEvent.addListener(g.cellEditor.textarea,"mouseup",U);mxEvent.addListener(g.cellEditor.textarea,"keyup",U);U()}};var Z=g.cellEditor.stopEditing;g.cellEditor.stopEditing=function(M,U){try{Z.apply(this,arguments),O()}catch(ba){e.handleError(ba)}};g.container.setAttribute("tabindex","0");g.container.style.cursor="default";if(window.self===window.top&&null!=g.container.parentNode)try{g.container.focus()}catch(M){}var S=g.fireMouseEvent;g.fireMouseEvent=function(M,U,ba){try{M==mxEvent.MOUSE_DOWN&&
-this.container.focus(),S.apply(this,arguments)}catch(ja){e.handleError(ja)}};var X=g.foldCells;g.foldCells=function(M,U,ba,ja,pa){try{X.apply(this,arguments)}catch(P){e.handleError(P)}};g.popupMenuHandler.autoExpand=!0;null!=this.menus&&(g.popupMenuHandler.factoryMethod=mxUtils.bind(this,function(M,U,ba){this.menus.createPopupMenu(M,U,ba)}));mxEvent.addGestureListeners(document,mxUtils.bind(this,function(M){g.popupMenuHandler.hideMenu()}));this.keyHandler=this.createKeyHandler(a);this.getKeyHandler=
-function(){return keyHandler};g.connectionHandler.addListener(mxEvent.CONNECT,function(M,U){var ba=[U.getProperty("cell")];U.getProperty("terminalInserted")&&(ba.push(U.getProperty("terminal")),window.setTimeout(function(){null!=e.hoverIcons&&e.hoverIcons.update(g.view.getState(ba[ba.length-1]))},0));g.pasteCellStyles(ba)});this.addListener("styleChanged",mxUtils.bind(this,function(M,U){M=U.getProperty("force");(this.updateDefaultStyle||M)&&g.copyCellStyles(U.getProperty("cells"),U.getProperty("keys"),
-U.getProperty("values"),g.currentVertexStyle,g.currentEdgeStyle,n,q);null!=this.toolbar&&(this.toolbar.setFontName(g.currentVertexStyle.fontFamily||Menus.prototype.defaultFont),this.toolbar.setFontSize(g.currentVertexStyle.fontSize||Menus.prototype.defaultFontSize),null!=this.toolbar.edgeStyleMenu&&(this.toolbar.edgeStyleMenu.getElementsByTagName("div")[0].className="orthogonalEdgeStyle"==g.currentEdgeStyle.edgeStyle&&"1"==g.currentEdgeStyle.curved?"geSprite geSprite-curved":"straight"==g.currentEdgeStyle.edgeStyle||
-"none"==g.currentEdgeStyle.edgeStyle||null==g.currentEdgeStyle.edgeStyle?"geSprite geSprite-straight":"entityRelationEdgeStyle"==g.currentEdgeStyle.edgeStyle?"geSprite geSprite-entity":"elbowEdgeStyle"==g.currentEdgeStyle.edgeStyle?"geSprite geSprite-"+("vertical"==g.currentEdgeStyle.elbow?"verticalelbow":"horizontalelbow"):"isometricEdgeStyle"==g.currentEdgeStyle.edgeStyle?"geSprite geSprite-"+("vertical"==g.currentEdgeStyle.elbow?"verticalisometric":"horizontalisometric"):"geSprite geSprite-orthogonal"),
-null!=this.toolbar.edgeShapeMenu&&(this.toolbar.edgeShapeMenu.getElementsByTagName("div")[0].className="link"==g.currentEdgeStyle.shape?"geSprite geSprite-linkedge":"flexArrow"==g.currentEdgeStyle.shape?"geSprite geSprite-arrow":"arrow"==g.currentEdgeStyle.shape?"geSprite geSprite-simplearrow":"geSprite geSprite-connection"))}));null!=this.toolbar&&(a=mxUtils.bind(this,function(){var M=g.currentVertexStyle.fontFamily||"Helvetica",U=String(g.currentVertexStyle.fontSize||"12"),ba=g.getView().getState(g.getSelectionCell());
-null!=ba&&(M=ba.style[mxConstants.STYLE_FONTFAMILY]||M,U=ba.style[mxConstants.STYLE_FONTSIZE]||U,10<M.length&&(M=M.substring(0,8)+"..."));this.toolbar.setFontName(M);this.toolbar.setFontSize(U)}),g.getSelectionModel().addListener(mxEvent.CHANGE,a),g.getModel().addListener(mxEvent.CHANGE,a));g.addListener(mxEvent.CELLS_ADDED,function(M,U){M=U.getProperty("cells");U=U.getProperty("parent");null!=U&&g.getModel().isLayer(U)&&!g.isCellVisible(U)&&null!=M&&0<M.length&&g.getModel().setVisible(U,!0)});Graph.selectParentLayer&&
-g.selectionModel.addListener(mxEvent.CHANGE,function(){if(g.isEnabled()&&!g.isSelectionEmpty()){var M=g.getLayerForCells(g.getSelectionCells());null!=M&&g.setDefaultParent(M)}});this.gestureHandler=mxUtils.bind(this,function(M){null!=this.currentMenu&&mxEvent.getSource(M)!=this.currentMenu.div&&this.hideCurrentMenu()});mxEvent.addGestureListeners(document,this.gestureHandler);var Y=null;this.resizeHandler=mxUtils.bind(this,function(){null!=Y&&window.clearTimeout(Y);Y=window.setTimeout(mxUtils.bind(this,
-function(){Y=null;this.windowResized()}),100)});mxEvent.addListener(window,"resize",this.resizeHandler);this.orientationChangeHandler=mxUtils.bind(this,function(){this.refresh()});mxEvent.addListener(window,"orientationchange",this.orientationChangeHandler);mxClient.IS_IOS&&!window.navigator.standalone&&"undefined"!==typeof Menus&&(this.scrollHandler=mxUtils.bind(this,function(){window.scrollTo(0,0)}),mxEvent.addListener(window,"scroll",this.scrollHandler));this.editor.addListener("resetGraphView",
-mxUtils.bind(this,function(){this.resetScrollbars()}));this.addListener("gridEnabledChanged",mxUtils.bind(this,function(){g.view.validateBackground()}));this.addListener("backgroundColorChanged",mxUtils.bind(this,function(){g.view.validateBackground()}));g.addListener("gridSizeChanged",mxUtils.bind(this,function(){g.isGridEnabled()&&g.view.validateBackground()}));this.editor.resetGraph()}this.init();g.standalone||this.open()};EditorUi.compactUi=!0;
-EditorUi.parsePng=function(a,b,d){function e(n,q){var l=f;f+=q;return n.substring(l,f)}function g(n){n=e(n,4);return n.charCodeAt(3)+(n.charCodeAt(2)<<8)+(n.charCodeAt(1)<<16)+(n.charCodeAt(0)<<24)}var f=0;if(e(a,8)!=String.fromCharCode(137)+"PNG"+String.fromCharCode(13,10,26,10))null!=d&&d();else if(e(a,4),"IHDR"!=e(a,4))null!=d&&d();else{e(a,17);do{d=g(a);var h=e(a,4);if(null!=b&&b(f-8,h,d))break;value=e(a,d);e(a,4);if("IEND"==h)break}while(d)}};mxUtils.extend(EditorUi,mxEventSource);
+var FilenameDialog=function(a,b,e,f,h,d,g,n,q,k,p){q=null!=q?q:!0;var w=document.createElement("div"),z=document.createElement("div");z.style.width="100%";z.style.display="grid";z.style.gap="5px 8px";z.style.gridAutoColumns="auto 1fr";z.style.boxSizing="border-box";z.style.padding="3px";var C=document.createElement("div");C.style.display="inline-flex";C.style.alignItems="center";C.style.justifyContent="flex-end";C.style.minWidth="0";var F=document.createElement("div");F.style.display="inline-block";
+F.style.textOverflow="ellipsis";F.style.whiteSpace="nowrap";F.style.overflow="hidden";F.style.fontSize="10pt";F.style.padding="2px 0";F.setAttribute("title",h||mxResources.get("filename"));mxUtils.write(F,(h||mxResources.get("filename"))+":");C.appendChild(F);z.appendChild(C);var D=document.createElement("input");D.setAttribute("value",b||"");D.style.flexGrow="1";var H=mxUtils.button(e,function(){if(null==d||d(D.value))q&&a.hideDialog(),f(D.value)});H.className="geBtn gePrimaryBtn";this.init=function(){if(null!=
+h||null==g)if(null!=p?Editor.selectFilename(D):(D.focus(),mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?D.select():document.execCommand("selectAll",!1,null)),Graph.fileSupport){var K=z.parentNode;if(null!=K){var G=null;mxEvent.addListener(K,"dragleave",function(P){null!=G&&(G.style.backgroundColor="",G=null);P.stopPropagation();P.preventDefault()});mxEvent.addListener(K,"dragover",mxUtils.bind(this,function(P){null==G&&(!mxClient.IS_IE||10<document.documentMode)&&(G=D,G.style.backgroundColor=
+"#ebf2f9");P.stopPropagation();P.preventDefault()}));mxEvent.addListener(K,"drop",mxUtils.bind(this,function(P){null!=G&&(G.style.backgroundColor="",G=null);0<=mxUtils.indexOf(P.dataTransfer.types,"text/uri-list")&&(D.value=decodeURIComponent(P.dataTransfer.getData("text/uri-list")),H.click());P.stopPropagation();P.preventDefault()}))}}};C=document.createElement("div");C.style.display="inline-flex";C.style.alignItems="center";C.style.gap="4px";C.style.whiteSpace="nowrap";C.appendChild(D);z.appendChild(C);
+null==h&&null!=g||null==p||null==a.editor.diagramFileTypes||(C=document.createElement("div"),C.style.display="inline-flex",C.style.alignItems="center",C.style.textOverflow="ellipsis",C.style.justifyContent="flex-end",C.style.fontSize="10pt",mxUtils.write(C,mxResources.get("type")+":"),z.appendChild(C),C=document.createElement("div"),C.style.display="inline-flex",C.style.alignItems="center",C.style.whiteSpace="nowrap",z.appendChild(C),b=FilenameDialog.createFileTypes(a,D,a.editor.diagramFileTypes),
+b.style.width="100%",C.appendChild(b));null!=g&&z.appendChild(g);row=document.createElement("div");row.style.gridColumn="1 / span 2";row.style.paddingTop=null!=p?"6px":"14px";row.style.whiteSpace="nowrap";row.style.display="inline-flex";row.style.alignItems="center";row.style.justifyContent="flex-end";row.setAttribute("align","right");C=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog();null!=k&&k()});C.className="geBtn";null==n||a.isOffline()||row.appendChild(a.createHelpIcon(n));
+a.editor.cancelFirst&&row.appendChild(C);mxEvent.addListener(D,"keypress",function(K){13==K.keyCode&&H.click()});row.appendChild(H);a.editor.cancelFirst||row.appendChild(C);z.appendChild(row);w.appendChild(z);this.container=w};FilenameDialog.filenameHelpLink=null;
+FilenameDialog.createFileTypes=function(a,b,e){var f=document.createElement("select");for(a=0;a<e.length;a++){var h=document.createElement("option");h.setAttribute("value",a);mxUtils.write(h,mxResources.get(e[a].description)+" (."+e[a].extension+")");f.appendChild(h)}mxEvent.addListener(f,"change",function(d){d=e[f.value].extension;var g=b.value.lastIndexOf(".drawio.");g=0<g?g:b.value.lastIndexOf(".");"drawio"!=d&&(d="drawio."+d);b.value=0<g?b.value.substring(0,g+1)+d:b.value+"."+d;"createEvent"in
+document?(d=document.createEvent("HTMLEvents"),d.initEvent("change",!1,!0),b.dispatchEvent(d)):b.fireEvent("onchange")});a=function(d){d=b.value.toLowerCase();for(var g=0,n=0;n<e.length;n++){var q=e[n].extension,k=null;"drawio"!=q&&(k=q,q=".drawio."+q);if(d.substring(d.length-q.length-1)=="."+q||null!=k&&d.substring(d.length-k.length-1)=="."+k){g=n;break}}f.value=g};mxEvent.addListener(b,"change",a);mxEvent.addListener(b,"keyup",a);a();return f};
+var WrapperWindow=function(a,b,e,f,h,d,g){var n=a.createSidebarContainer();g(n);this.window=new mxWindow(b,n,e,f,h,d,!0,!0);this.window.destroyOnClose=!1;this.window.setMaximizable(!1);this.window.setResizable(!0);this.window.setClosable(!0);this.window.setVisible(!0);a.installResizeHandler(this,!0);mxClient.IS_SF&&(this.window.div.onselectstart=mxUtils.bind(this,function(q){null==q&&(q=window.event);return null!=q&&a.isSelectionAllowed(q)}))};
+(function(){mxGraphView.prototype.validateBackgroundPage=function(){var g=this.graph;if(null!=g.container&&!g.transparentBackground){if(g.pageVisible){var n=this.getBackgroundPageBounds();if(null==this.backgroundPageShape){for(var q=g.container.firstChild;null!=q&&q.nodeType!=mxConstants.NODETYPE_ELEMENT;)q=q.nextSibling;null!=q&&(this.backgroundPageShape=this.createBackgroundPageShape(n),this.backgroundPageShape.scale=1,this.backgroundPageShape.isShadow=!0,this.backgroundPageShape.dialect=mxConstants.DIALECT_STRICTHTML,
+this.backgroundPageShape.init(g.container),q.style.position="absolute",g.container.insertBefore(this.backgroundPageShape.node,q),this.backgroundPageShape.redraw(),this.backgroundPageShape.node.className="geBackgroundPage",mxEvent.addListener(this.backgroundPageShape.node,"dblclick",mxUtils.bind(this,function(k){g.dblClick(k)})),mxEvent.addGestureListeners(this.backgroundPageShape.node,mxUtils.bind(this,function(k){g.fireMouseEvent(mxEvent.MOUSE_DOWN,new mxMouseEvent(k))}),mxUtils.bind(this,function(k){null!=
+g.tooltipHandler&&g.tooltipHandler.isHideOnHover()&&g.tooltipHandler.hide();g.isMouseDown&&!mxEvent.isConsumed(k)&&g.fireMouseEvent(mxEvent.MOUSE_MOVE,new mxMouseEvent(k))}),mxUtils.bind(this,function(k){g.fireMouseEvent(mxEvent.MOUSE_UP,new mxMouseEvent(k))})))}else this.backgroundPageShape.scale=1,this.backgroundPageShape.bounds=n,this.backgroundPageShape.redraw()}else null!=this.backgroundPageShape&&(this.backgroundPageShape.destroy(),this.backgroundPageShape=null);this.validateBackgroundStyles()}};
+mxGraphView.prototype.validateBackgroundStyles=function(g,n,q){var k=this.graph;g=null!=g?g:1;var p=null==k.background||k.background==mxConstants.NONE?k.defaultPageBackgroundColor:k.background,w=null!=p&&this.gridColor!=p.toLowerCase()?this.gridColor:"#ffffff",z="none",C="";if(k.isGridEnabled()||k.gridVisible){C=10;mxClient.IS_SVG?(z=unescape(encodeURIComponent(this.createSvgGrid(w,g))),z=window.btoa?btoa(z):Base64.encode(z,!0),z="url(data:image/svg+xml;base64,"+z+")",C=k.gridSize*this.scale*this.gridSteps*
+g):z="url("+this.gridImage+")";var F=w=0;n=null!=n?n-this.translate.x*this.scale:0;q=null!=q?q-this.translate.y*this.scale:0;var D=k.gridSize*this.scale*this.gridSteps,H=n%D;D=q%D;null!=k.view.backgroundPageShape&&(F=this.getBackgroundPageBounds(),w=1+F.x,F=1+F.y);C=-Math.round(C-mxUtils.mod(this.translate.x*this.scale-w+n,C)+H*g)+"px "+-Math.round(C-mxUtils.mod(this.translate.y*this.scale-F+q,C)+D*g)+"px"}g=k.view.canvas;null!=g.ownerSVGElement&&(g=g.ownerSVGElement);w=!Editor.isDarkMode()&&k.enableDiagramBackground;
+null!=k.view.backgroundPageShape?(k.view.backgroundPageShape.node.style.backgroundPosition=C,k.view.backgroundPageShape.node.style.backgroundImage=z,k.view.backgroundPageShape.node.style.backgroundColor=p,k.view.backgroundPageShape.node.style.borderColor=k.defaultPageBorderColor,k.container.classList.add("geDiagramBackdrop"),g.style.backgroundImage="none",g.style.backgroundColor="",k.container.style.backgroundColor=w?k.diagramBackgroundColor:""):(k.container.classList.remove("geDiagramBackdrop"),
+g.style.backgroundPosition=C,g.style.backgroundImage=z,!w||null!=k.background&&k.background!=mxConstants.NONE?g.style.backgroundColor=p:(g.style.backgroundColor=k.diagramBackgroundColor,k.container.style.backgroundColor=""))};mxGraphView.prototype.createSvgGrid=function(g,n){for(n=this.graph.gridSize*this.scale*(null!=n?n:1);n<this.minGridSize;)n*=2;for(var q=this.gridSteps*n,k=[],p=1;p<this.gridSteps;p++){var w=p*n;k.push("M 0 "+w+" L "+q+" "+w+" M "+w+" 0 L "+w+" "+q)}return'<svg width="'+q+'" height="'+
+q+'" xmlns="'+mxConstants.NS_SVG+'"><defs><pattern id="grid" width="'+q+'" height="'+q+'" patternUnits="userSpaceOnUse"><path d="'+k.join(" ")+'" fill="none" stroke="'+g+'" opacity="0.2" stroke-width="1"/><path d="M '+q+" 0 L 0 0 0 "+q+'" fill="none" stroke="'+g+'" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(#grid)"/></svg>'};var a=mxGraph.prototype.panGraph;mxGraph.prototype.panGraph=function(g,n){a.apply(this,arguments);if(null!=this.shiftPreview1){var q=this.view.canvas;
+null!=q.ownerSVGElement&&(q=q.ownerSVGElement);var k=this.gridSize*this.view.scale*this.view.gridSteps;k=-Math.round(k-mxUtils.mod(this.view.translate.x*this.view.scale+g,k))+"px "+-Math.round(k-mxUtils.mod(this.view.translate.y*this.view.scale+n,k))+"px";q.style.backgroundPosition=k}};mxGraph.prototype.updatePageBreaks=function(g,n,q){var k=this.view.scale,p=this.view.translate,w=this.pageFormat,z=k*this.pageScale,C=this.view.getBackgroundPageBounds();n=C.width;q=C.height;var F=new mxRectangle(k*
+p.x,k*p.y,w.width*z,w.height*z),D=(g=g&&Math.min(F.width,F.height)>this.minPageBreakDist)?Math.ceil(q/F.height)-1:0,H=g?Math.ceil(n/F.width)-1:0,K=C.x+n,G=C.y+q;null==this.horizontalPageBreaks&&0<D&&(this.horizontalPageBreaks=[]);null==this.verticalPageBreaks&&0<H&&(this.verticalPageBreaks=[]);g=mxUtils.bind(this,function(P){if(null!=P){for(var I=P==this.horizontalPageBreaks?D:H,Z=0;Z<=I;Z++){var S=P==this.horizontalPageBreaks?[new mxPoint(Math.round(C.x),Math.round(C.y+(Z+1)*F.height)),new mxPoint(Math.round(K),
+Math.round(C.y+(Z+1)*F.height))]:[new mxPoint(Math.round(C.x+(Z+1)*F.width),Math.round(C.y)),new mxPoint(Math.round(C.x+(Z+1)*F.width),Math.round(G))];null!=P[Z]?(P[Z].points=S,P[Z].redraw()):(S=new mxPolyline(S,this.pageBreakColor),S.dialect=this.dialect,S.isDashed=this.pageBreakDashed,S.pointerEvents=!1,S.init(this.view.backgroundPane),S.redraw(),P[Z]=S)}for(Z=I;Z<P.length;Z++)null!=P[Z]&&P[Z].destroy();P.splice(I,P.length-I)}});g(this.horizontalPageBreaks);g(this.verticalPageBreaks)};var b=mxGraphHandler.prototype.shouldRemoveCellsFromParent;
+mxGraphHandler.prototype.shouldRemoveCellsFromParent=function(g,n,q){for(var k=0;k<n.length;k++){if(this.graph.isTableCell(n[k])||this.graph.isTableRow(n[k]))return!1;if(this.graph.getModel().isVertex(n[k])){var p=this.graph.getCellGeometry(n[k]);if(null!=p&&p.relative)return!1}}return b.apply(this,arguments)};var e=mxConnectionHandler.prototype.createMarker;mxConnectionHandler.prototype.createMarker=function(){var g=e.apply(this,arguments);g.intersects=mxUtils.bind(this,function(n,q){return this.isConnecting()?
+!0:mxCellMarker.prototype.intersects.apply(g,arguments)});return g};mxGraphView.prototype.createBackgroundPageShape=function(g){return new mxRectangleShape(g,"#ffffff",this.graph.defaultPageBorderColor)};mxGraphView.prototype.getBackgroundPageBounds=function(){var g=this.getGraphBounds(),n=0<g.width?g.x/this.scale-this.translate.x:0,q=0<g.height?g.y/this.scale-this.translate.y:0,k=this.graph.pageFormat,p=this.graph.pageScale,w=k.width*p;k=k.height*p;p=Math.floor(Math.min(0,n)/w);var z=Math.floor(Math.min(0,
+q)/k);return new mxRectangle(this.scale*(this.translate.x+p*w),this.scale*(this.translate.y+z*k),this.scale*(Math.ceil(Math.max(1,n+g.width/this.scale)/w)-p)*w,this.scale*(Math.ceil(Math.max(1,q+g.height/this.scale)/k)-z)*k)};var f=mxGraph.prototype.panGraph;mxGraph.prototype.panGraph=function(g,n){f.apply(this,arguments);this.dialect==mxConstants.DIALECT_SVG||null==this.view.backgroundPageShape||this.useScrollbarsForPanning&&mxUtils.hasScrollbars(this.container)||(this.view.backgroundPageShape.node.style.marginLeft=
+g+"px",this.view.backgroundPageShape.node.style.marginTop=n+"px")};var h=mxPopupMenu.prototype.addItem;mxPopupMenu.prototype.addItem=function(g,n,q,k,p,w){var z=h.apply(this,arguments);null==w||w||mxEvent.addListener(z,"mousedown",function(C){mxEvent.consume(C)});return z};var d=mxGraphHandler.prototype.isPropagateSelectionCell;mxGraphHandler.prototype.isPropagateSelectionCell=function(g,n,q){var k=this.graph.model.getParent(g);if(n){var p=this.graph.model.isEdge(g)?null:this.graph.getCellGeometry(g);
+p=!this.graph.model.isEdge(k)&&!this.graph.isSiblingSelected(g)&&(null!=p&&p.relative||!this.graph.isContainer(k)||this.graph.isPart(g))}else if(p=d.apply(this,arguments),this.graph.isTableCell(g)||this.graph.isTableRow(g))p=k,this.graph.isTable(p)||(p=this.graph.model.getParent(p)),p=!this.graph.selectionCellsHandler.isHandled(p)||this.graph.isCellSelected(p)&&this.graph.isToggleEvent(q.getEvent())||this.graph.isCellSelected(g)&&!this.graph.isToggleEvent(q.getEvent())||this.graph.isTableCell(g)&&
+this.graph.isCellSelected(k);return p};mxPopupMenuHandler.prototype.getCellForPopupEvent=function(g){g=g.getCell();for(var n=this.graph.getModel(),q=n.getParent(g),k=this.graph.view.getState(q),p=this.graph.isCellSelected(g);null!=k&&(n.isVertex(q)||n.isEdge(q));){var w=this.graph.isCellSelected(q);p=p||w;if(w||!p&&(this.graph.isTableCell(g)||this.graph.isTableRow(g)))g=q;q=n.getParent(q)}return g}})();EditorUi=function(a,b,e){mxEventSource.call(this);this.destroyFunctions=[];this.editor=a||new Editor;this.container=b||document.body;var f=this,h=this.editor.graph;h.lightbox=e;var d=h.getGraphBounds;h.getGraphBounds=function(){var L=d.apply(this,arguments),U=this.backgroundImage;if(null!=U&&null!=U.width&&null!=U.height){var ba=this.view.translate,ja=this.view.scale;L=mxRectangle.fromRectangle(L);L.add(new mxRectangle((ba.x+U.x)*ja,(ba.y+U.y)*ja,U.width*ja,U.height*ja))}return L};h.useCssTransforms&&
+(this.lazyZoomDelay=0);mxClient.IS_SVG?mxPopupMenu.prototype.submenuImage="data:image/gif;base64,R0lGODlhCQAJAIAAAP///zMzMyH5BAEAAAAALAAAAAAJAAkAAAIPhI8WebHsHopSOVgb26AAADs=":(new Image).src=mxPopupMenu.prototype.submenuImage;mxClient.IS_SVG||null==mxConnectionHandler.prototype.connectImage||((new Image).src=mxConnectionHandler.prototype.connectImage.src);this.selectionStateListener=mxUtils.bind(this,function(L,U){this.clearSelectionState()});h.getSelectionModel().addListener(mxEvent.CHANGE,this.selectionStateListener);
+h.getModel().addListener(mxEvent.CHANGE,this.selectionStateListener);h.addListener(mxEvent.EDITING_STARTED,this.selectionStateListener);h.addListener(mxEvent.EDITING_STOPPED,this.selectionStateListener);h.getView().addListener("unitChanged",this.selectionStateListener);if(this.editor.chromeless&&!this.editor.editable){this.footerHeight=0;h.isEnabled=function(){return!1};h.panningHandler.isForcePanningEvent=function(L){for(var U=L.getSource();null!=U&&U!=h.container;){if("foreignObject"===U.nodeName||
+"text"===U.nodeName)return!1;U=U.parentNode}return!mxEvent.isPopupTrigger(L.getEvent())};var g=h.panningHandler.start;h.panningHandler.start=function(){g.apply(this,arguments);mxUtils.clearSelection()}}this.actions=new Actions(this);this.menus=this.createMenus();if(!h.standalone){var n=!1,q=!1;this.setDefaultStyle=function(L){try{h.getModel().isEdge(L)?q=h.pasteEdgeStyle=!1:n=!1;var U=h.getCellStyle(L,!1),ba=[],ja=[],sa;for(sa in U)ba.push(U[sa]),ja.push(sa);h.getModel().isEdge(L)?h.currentEdgeStyle=
+{}:h.currentVertexStyle={};this.fireEvent(new mxEventObject("styleChanged","keys",ja,"values",ba,"cells",[L],"force",!0));h.getModel().isEdge(L)?q=h.pasteEdgeStyle=!0:n=!0}catch(O){this.handleError(O)}};this.clearDefaultStyle=function(){h.currentEdgeStyle=mxUtils.clone(h.defaultEdgeStyle);h.currentVertexStyle=mxUtils.clone(h.defaultVertexStyle);n=q=h.pasteEdgeStyle=!1;this.fireEvent(new mxEventObject("styleChanged","keys",[],"values",[],"cells",[]))};h.addListener("cellsInserted",function(L,U){h.pasteCellStyles(h.includeDescendants(U.getProperty("cells")))});
+h.addListener("textInserted",function(L,U){h.pasteCellStyles(U.getProperty("cells"))});this.createDivs();this.createUi();this.refresh();var k=mxUtils.bind(this,function(L){null==L&&(L=window.event);return h.isEditing()||null!=L&&this.isSelectionAllowed(L)});this.container!=document.body||this.editor.chromeless&&!this.editor.editable||(this.menubarContainer.onselectstart=k,this.menubarContainer.onmousedown=k,this.toolbarContainer.onselectstart=k,this.toolbarContainer.onmousedown=k,this.diagramContainer.onselectstart=
+k,this.diagramContainer.onmousedown=k,this.sidebarContainer.onselectstart=k,this.sidebarContainer.onmousedown=k,this.formatContainer.onselectstart=k,this.formatContainer.onmousedown=k,this.footerContainer.onselectstart=k,this.footerContainer.onmousedown=k,null!=this.tabContainer&&(this.tabContainer.onselectstart=k),mxClient.IS_IOS&&(b=function(){var L=null;if(/iP(hone|od|ad)/.test(navigator.platform)){var U=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);try{L=[parseInt(U[1],10),parseInt(U[2],
+10),parseInt(U[3]||0,10)]}catch(ba){}}return L}(),null!=b&&16<=b[0]&&(mxUtils.setPrefixedStyle(this.menubarContainer.style,"userSelect","none"),mxUtils.setPrefixedStyle(this.diagramContainer.style,"userSelect","none"),mxUtils.setPrefixedStyle(this.sidebarContainer.style,"userSelect","none"),mxUtils.setPrefixedStyle(this.formatContainer.style,"userSelect","none"),mxUtils.setPrefixedStyle(this.footerContainer.style,"userSelect","none"),null!=this.tabContainer&&mxUtils.setPrefixedStyle(this.tabContainer.style,
+"userSelect","none"))));!this.editor.chromeless||this.editor.editable?(b=function(L){if(null!=L){var U=mxEvent.getSource(L);if("A"==U.nodeName)for(;null!=U;){if("geHint"==U.className)return!0;U=U.parentNode}}return k(L)},mxClient.IS_IE&&("undefined"===typeof document.documentMode||9>document.documentMode)?mxEvent.addListener(this.diagramContainer,"contextmenu",b):this.diagramContainer.oncontextmenu=b):h.panningHandler.usePopupTrigger=!1;h.init(this.diagramContainer);mxClient.IS_SVG&&null!=h.view.getDrawPane()&&
+(b=h.view.getDrawPane().ownerSVGElement,null!=b&&(b.style.position="absolute"));this.hoverIcons=this.createHoverIcons();if(null!=h.graphHandler){var p=h.graphHandler.start;h.graphHandler.start=function(){null!=f.hoverIcons&&f.hoverIcons.reset();p.apply(this,arguments)}}mxEvent.addListener(this.diagramContainer,"mousemove",mxUtils.bind(this,function(L){var U=mxUtils.getOffset(this.diagramContainer);0<mxEvent.getClientX(L)-U.x-this.diagramContainer.clientWidth||0<mxEvent.getClientY(L)-U.y-this.diagramContainer.clientHeight?
+this.diagramContainer.setAttribute("title",mxResources.get("panTooltip")):this.diagramContainer.removeAttribute("title")}));var w=this.hoverIcons.isResetEvent;this.hoverIcons.isResetEvent=function(L,U){return f.isSpaceDown()||w.apply(this,arguments)};this.keydownHandler=mxUtils.bind(this,function(L){16==L.which?this.shiftDown=!0:32!=L.which||h.isEditing()?mxEvent.isConsumed(L)||27!=L.keyCode||this.hideDialog(null,!0):(this.spaceDown=!0,this.hoverIcons.reset(),h.container.style.cursor="move",h.isEditing()||
+mxEvent.getSource(L)!=h.container||mxEvent.consume(L))});mxEvent.addListener(document,"keydown",this.keydownHandler);this.keyupHandler=mxUtils.bind(this,function(L){h.container.style.cursor="";this.shiftDown=this.spaceDown=!1});mxEvent.addListener(document,"keyup",this.keyupHandler);var z=h.panningHandler.isForcePanningEvent;h.panningHandler.isForcePanningEvent=function(L){return z.apply(this,arguments)||f.isSpaceDown()||mxEvent.isMouseEvent(L.getEvent())&&(this.usePopupTrigger||!mxEvent.isPopupTrigger(L.getEvent()))&&
+(!mxEvent.isControlDown(L.getEvent())&&mxEvent.isRightMouseButton(L.getEvent())||mxEvent.isMiddleMouseButton(L.getEvent()))};var C=h.cellEditor.isStopEditingEvent;h.cellEditor.isStopEditingEvent=function(L){return C.apply(this,arguments)||13==L.keyCode&&(!mxClient.IS_SF&&mxEvent.isControlDown(L)||mxClient.IS_MAC&&mxEvent.isMetaDown(L)||mxClient.IS_SF&&mxEvent.isShiftDown(L))};var F=h.isZoomWheelEvent;h.isZoomWheelEvent=function(){return f.isSpaceDown()||F.apply(this,arguments)};var D=!1,H=null,K=
+null,G=null,P=mxUtils.bind(this,function(){if(null!=this.toolbar&&D!=h.cellEditor.isContentEditing()){for(var L=this.toolbar.container.firstChild,U=[];null!=L;){var ba=L.nextSibling;0>mxUtils.indexOf(this.toolbar.staticElements,L)&&(L.parentNode.removeChild(L),U.push(L));L=ba}L=this.toolbar.fontMenu;ba=this.toolbar.sizeMenu;if(null==G)this.toolbar.createTextToolbar();else{for(var ja=0;ja<G.length;ja++)this.toolbar.container.appendChild(G[ja]);this.toolbar.fontMenu=H;this.toolbar.sizeMenu=K}D=h.cellEditor.isContentEditing();
+H=L;K=ba;G=U}}),I=h.cellEditor.startEditing;h.cellEditor.startEditing=function(){I.apply(this,arguments);P();if(h.cellEditor.isContentEditing()){var L=!1,U=function(){L||(L=!0,window.setTimeout(function(){var ba=h.getSelectedEditingElement();null!=ba&&(ba=mxUtils.getCurrentStyle(ba),null!=ba&&null!=f.toolbar&&(f.toolbar.setFontName(mxUtils.getCssFontFamily(ba.fontFamily)),f.toolbar.setFontSize(parseInt(ba.fontSize))));L=!1},0))};mxEvent.addListener(h.cellEditor.textarea,"input",U);mxEvent.addListener(h.cellEditor.textarea,
+"touchend",U);mxEvent.addListener(h.cellEditor.textarea,"mouseup",U);mxEvent.addListener(h.cellEditor.textarea,"keyup",U);U()}};var Z=h.cellEditor.stopEditing;h.cellEditor.stopEditing=function(L,U){try{Z.apply(this,arguments),P()}catch(ba){f.handleError(ba)}};h.container.setAttribute("tabindex","0");h.container.style.cursor="default";if(window.self===window.top&&null!=h.container.parentNode)try{h.container.focus()}catch(L){}var S=h.fireMouseEvent;h.fireMouseEvent=function(L,U,ba){try{L==mxEvent.MOUSE_DOWN&&
+this.container.focus(),S.apply(this,arguments)}catch(ja){f.handleError(ja)}};var Y=h.foldCells;h.foldCells=function(L,U,ba,ja,sa){try{Y.apply(this,arguments)}catch(O){f.handleError(O)}};h.popupMenuHandler.autoExpand=!0;null!=this.menus&&(h.popupMenuHandler.factoryMethod=mxUtils.bind(this,function(L,U,ba){this.menus.createPopupMenu(L,U,ba)}));mxEvent.addGestureListeners(document,mxUtils.bind(this,function(L){h.popupMenuHandler.hideMenu()}));this.keyHandler=this.createKeyHandler(a);this.getKeyHandler=
+function(){return keyHandler};h.connectionHandler.addListener(mxEvent.CONNECT,function(L,U){var ba=[U.getProperty("cell")];U.getProperty("terminalInserted")&&(ba.push(U.getProperty("terminal")),window.setTimeout(function(){null!=f.hoverIcons&&f.hoverIcons.update(h.view.getState(ba[ba.length-1]))},0));h.pasteCellStyles(ba)});this.addListener("styleChanged",mxUtils.bind(this,function(L,U){L=U.getProperty("force");(this.updateDefaultStyle||L)&&h.copyCellStyles(U.getProperty("cells"),U.getProperty("keys"),
+U.getProperty("values"),h.currentVertexStyle,h.currentEdgeStyle,n,q);null!=this.toolbar&&(this.toolbar.setFontName(h.currentVertexStyle.fontFamily||Menus.prototype.defaultFont),this.toolbar.setFontSize(h.currentVertexStyle.fontSize||Menus.prototype.defaultFontSize),null!=this.toolbar.edgeStyleMenu&&(this.toolbar.edgeStyleMenu.getElementsByTagName("div")[0].className="orthogonalEdgeStyle"==h.currentEdgeStyle.edgeStyle&&"1"==h.currentEdgeStyle.curved?"geSprite geSprite-curved":"straight"==h.currentEdgeStyle.edgeStyle||
+"none"==h.currentEdgeStyle.edgeStyle||null==h.currentEdgeStyle.edgeStyle?"geSprite geSprite-straight":"entityRelationEdgeStyle"==h.currentEdgeStyle.edgeStyle?"geSprite geSprite-entity":"elbowEdgeStyle"==h.currentEdgeStyle.edgeStyle?"geSprite geSprite-"+("vertical"==h.currentEdgeStyle.elbow?"verticalelbow":"horizontalelbow"):"isometricEdgeStyle"==h.currentEdgeStyle.edgeStyle?"geSprite geSprite-"+("vertical"==h.currentEdgeStyle.elbow?"verticalisometric":"horizontalisometric"):"geSprite geSprite-orthogonal"),
+null!=this.toolbar.edgeShapeMenu&&(this.toolbar.edgeShapeMenu.getElementsByTagName("div")[0].className="link"==h.currentEdgeStyle.shape?"geSprite geSprite-linkedge":"flexArrow"==h.currentEdgeStyle.shape?"geSprite geSprite-arrow":"arrow"==h.currentEdgeStyle.shape?"geSprite geSprite-simplearrow":"geSprite geSprite-connection"))}));null!=this.toolbar&&(a=mxUtils.bind(this,function(){var L=h.currentVertexStyle.fontFamily||"Helvetica",U=String(h.currentVertexStyle.fontSize||"12"),ba=h.getView().getState(h.getSelectionCell());
+null!=ba&&(L=ba.style[mxConstants.STYLE_FONTFAMILY]||L,U=ba.style[mxConstants.STYLE_FONTSIZE]||U,10<L.length&&(L=L.substring(0,8)+"..."));this.toolbar.setFontName(L);this.toolbar.setFontSize(U)}),h.getSelectionModel().addListener(mxEvent.CHANGE,a),h.getModel().addListener(mxEvent.CHANGE,a));h.addListener(mxEvent.CELLS_ADDED,function(L,U){L=U.getProperty("cells");U=U.getProperty("parent");null!=U&&h.getModel().isLayer(U)&&!h.isCellVisible(U)&&null!=L&&0<L.length&&h.getModel().setVisible(U,!0)});Graph.selectParentLayer&&
+h.selectionModel.addListener(mxEvent.CHANGE,function(){if(h.isEnabled()&&!h.isSelectionEmpty()){var L=h.getLayerForCells(h.getSelectionCells());null!=L&&h.setDefaultParent(L)}});this.gestureHandler=mxUtils.bind(this,function(L){null!=this.currentMenu&&mxEvent.getSource(L)!=this.currentMenu.div&&this.hideCurrentMenu()});mxEvent.addGestureListeners(document,this.gestureHandler);var V=null;this.resizeHandler=mxUtils.bind(this,function(){null!=V&&window.clearTimeout(V);V=window.setTimeout(mxUtils.bind(this,
+function(){V=null;this.windowResized()}),100)});mxEvent.addListener(window,"resize",this.resizeHandler);this.orientationChangeHandler=mxUtils.bind(this,function(){this.refresh()});mxEvent.addListener(window,"orientationchange",this.orientationChangeHandler);mxClient.IS_IOS&&!window.navigator.standalone&&"undefined"!==typeof Menus&&(this.scrollHandler=mxUtils.bind(this,function(){window.scrollTo(0,0)}),mxEvent.addListener(window,"scroll",this.scrollHandler));this.editor.addListener("resetGraphView",
+mxUtils.bind(this,function(){this.resetScrollbars()}));this.addListener("gridEnabledChanged",mxUtils.bind(this,function(){h.view.validateBackground()}));this.addListener("backgroundColorChanged",mxUtils.bind(this,function(){h.view.validateBackground()}));h.addListener("gridSizeChanged",mxUtils.bind(this,function(){h.isGridEnabled()&&h.view.validateBackground()}));this.editor.resetGraph()}this.init();h.standalone||this.open()};EditorUi.compactUi=!0;
+EditorUi.parsePng=function(a,b,e){function f(n,q){var k=d;d+=q;return n.substring(k,d)}function h(n){n=f(n,4);return n.charCodeAt(3)+(n.charCodeAt(2)<<8)+(n.charCodeAt(1)<<16)+(n.charCodeAt(0)<<24)}var d=0;if(f(a,8)!=String.fromCharCode(137)+"PNG"+String.fromCharCode(13,10,26,10))null!=e&&e();else if(f(a,4),"IHDR"!=f(a,4))null!=e&&e();else{f(a,17);do{e=h(a);var g=f(a,4);if(null!=b&&b(d-8,g,e))break;value=f(a,e);f(a,4);if("IEND"==g)break}while(e)}};mxUtils.extend(EditorUi,mxEventSource);
EditorUi.prototype.splitSize=mxClient.IS_TOUCH||mxClient.IS_POINTER?12:8;EditorUi.prototype.menubarHeight=30;EditorUi.prototype.formatEnabled=!0;EditorUi.prototype.formatWidth=240;EditorUi.prototype.toolbarHeight=38;EditorUi.prototype.footerHeight=28;EditorUi.prototype.defaultSidebarWidth=Math.min(screen.width/2,"large"!=urlParams["sidebar-entries"]?212:240);EditorUi.prototype.hsplitPosition=screen.width<=Editor.smallScreenWidth?0:EditorUi.prototype.defaultSidebarWidth;
EditorUi.prototype.allowAnimation=!0;EditorUi.prototype.lightboxMaxFitScale=2;EditorUi.prototype.lightboxVerticalDivider=4;EditorUi.prototype.hsplitClickEnabled=!1;EditorUi.prototype.updateDefaultStyle=!1;EditorUi.prototype.spaceDown=!1;EditorUi.prototype.shiftDown=!1;
-EditorUi.prototype.init=function(){var a=this.editor.graph;if(!a.standalone){"0"!=urlParams["shape-picker"]&&this.installShapePicker();mxEvent.addListener(a.container,"scroll",mxUtils.bind(this,function(){a.tooltipHandler.hide();null!=a.connectionHandler&&null!=a.connectionHandler.constraintHandler&&a.connectionHandler.constraintHandler.reset()}));a.addListener(mxEvent.ESCAPE,mxUtils.bind(this,function(){a.tooltipHandler.hide();var e=a.getRubberband();null!=e&&e.cancel()}));mxEvent.addListener(a.container,
-"keydown",mxUtils.bind(this,function(e){this.onKeyDown(e)}));mxEvent.addListener(a.container,"keypress",mxUtils.bind(this,function(e){this.onKeyPress(e)}));this.addUndoListener();this.addBeforeUnloadListener();a.getSelectionModel().addListener(mxEvent.CHANGE,mxUtils.bind(this,function(){this.updateActionStates()}));a.getModel().addListener(mxEvent.CHANGE,mxUtils.bind(this,function(){this.updateActionStates()}));var b=a.setDefaultParent,d=this;this.editor.graph.setDefaultParent=function(){b.apply(this,
-arguments);d.updateActionStates()};a.showLinkDialog=mxUtils.bind(d,d.showLinkDialog);a.editLink=d.actions.get("editLink").funct;this.updateActionStates();this.initClipboard();this.initCanvas();null!=this.format&&this.format.init()}};EditorUi.prototype.clearSelectionState=function(){this.selectionState=null};EditorUi.prototype.getSelectionState=function(){null==this.selectionState&&(this.selectionState=this.createSelectionState());return this.selectionState};
-EditorUi.prototype.createSelectionState=function(){for(var a=this.editor.graph,b=a.getSelectionCells(),d=this.initSelectionState(),e=!0,g=0;g<b.length;g++){var f=a.getCurrentCellStyle(b[g]);"0"!=mxUtils.getValue(f,mxConstants.STYLE_EDITABLE,"1")&&(this.updateSelectionStateForCell(d,b[g],b,e),e=!1)}this.updateSelectionStateForTableCells(d);return d};
+EditorUi.prototype.init=function(){var a=this.editor.graph;if(!a.standalone){"0"!=urlParams["shape-picker"]&&this.installShapePicker();mxEvent.addListener(a.container,"scroll",mxUtils.bind(this,function(){a.tooltipHandler.hide();null!=a.connectionHandler&&null!=a.connectionHandler.constraintHandler&&a.connectionHandler.constraintHandler.reset()}));a.addListener(mxEvent.ESCAPE,mxUtils.bind(this,function(){a.tooltipHandler.hide();var f=a.getRubberband();null!=f&&f.cancel()}));mxEvent.addListener(a.container,
+"keydown",mxUtils.bind(this,function(f){this.onKeyDown(f)}));mxEvent.addListener(a.container,"keypress",mxUtils.bind(this,function(f){this.onKeyPress(f)}));this.addUndoListener();this.addBeforeUnloadListener();a.getSelectionModel().addListener(mxEvent.CHANGE,mxUtils.bind(this,function(){this.updateActionStates()}));a.getModel().addListener(mxEvent.CHANGE,mxUtils.bind(this,function(){this.updateActionStates()}));var b=a.setDefaultParent,e=this;this.editor.graph.setDefaultParent=function(){b.apply(this,
+arguments);e.updateActionStates()};a.showLinkDialog=mxUtils.bind(e,e.showLinkDialog);a.editLink=e.actions.get("editLink").funct;this.updateActionStates();this.initClipboard();this.initCanvas();null!=this.format&&this.format.init()}};EditorUi.prototype.clearSelectionState=function(){this.selectionState=null};EditorUi.prototype.getSelectionState=function(){null==this.selectionState&&(this.selectionState=this.createSelectionState());return this.selectionState};
+EditorUi.prototype.createSelectionState=function(){for(var a=this.editor.graph,b=a.getSelectionCells(),e=this.initSelectionState(),f=!0,h=0;h<b.length;h++){var d=a.getCurrentCellStyle(b[h]);"0"!=mxUtils.getValue(d,mxConstants.STYLE_EDITABLE,"1")&&(this.updateSelectionStateForCell(e,b[h],b,f),f=!1)}this.updateSelectionStateForTableCells(e);return e};
EditorUi.prototype.initSelectionState=function(){return{vertices:[],edges:[],cells:[],x:null,y:null,width:null,height:null,style:{},containsImage:!1,containsLabel:!1,fill:!0,glass:!0,html:!0,rounded:!0,autoSize:!1,image:!1,shadow:!0,lineJumps:!0,resizable:!0,table:!1,cell:!1,row:!1,movable:!0,rotatable:!0,stroke:!0,swimlane:!1,unlocked:this.editor.graph.isEnabled(),connections:!1}};
-EditorUi.prototype.updateSelectionStateForTableCells=function(a){if(1<a.cells.length&&a.cell){var b=mxUtils.sortCells(a.cells),d=this.editor.graph.model,e=d.getParent(b[0]),g=d.getParent(e);if(null!=e&&null!=g){for(var f=e.getIndex(b[0]),h=g.getIndex(e),n=null,q=1,l=1,p=0,w=h<g.getChildCount()-1?d.getChildAt(d.getChildAt(g,h+1),f):null;p<b.length-1;){var z=b[++p];null==w||w!=z||null!=n&&q!=n||(n=q,q=0,l++,e=d.getParent(w),w=h+l<g.getChildCount()?d.getChildAt(d.getChildAt(g,h+l),f):null);var C=this.editor.graph.view.getState(z);
-if(z==d.getChildAt(e,f+q)&&null!=C&&1==mxUtils.getValue(C.style,"colspan",1)&&1==mxUtils.getValue(C.style,"rowspan",1))q++;else break}p==l*q-1&&(a.mergeCell=b[0],a.colspan=q,a.rowspan=l)}}};EditorUi.prototype.windowResized=function(){window.setTimeout(mxUtils.bind(this,function(){null!=this.editor.graph&&this.refresh()}),0)};
-EditorUi.prototype.createTimeout=function(a,b,d){var e=!0,g=null,f=mxUtils.bind(this,function(n){g.clear()&&(e=!1,n=null!=n?n:{code:App.ERROR_TIMEOUT,message:mxResources.get("timeout"),retry:mxUtils.bind(this,function(){this.createTimeout(a,b,d)})},null!=d?d(n):this.handleError(n))}),h=window.setTimeout(f,null!=a?a:this.timeout);g={clear:function(){window.clearTimeout(h);return e},isAlive:function(){return e}};null!=b&&this.tryAndHandle(mxUtils.bind(this,function(){b(g)}),f);return g};
-EditorUi.prototype.tryAndHandle=function(a,b){try{a()}catch(d){null!=b?b(d):this.handleError(d)}};
-EditorUi.prototype.convertDarkModeColors=function(a,b){var d=this.editor.graph;a=null!=a?a:d.getSelectionCells();b=null!=b?b:[mxConstants.STYLE_FONTCOLOR,mxConstants.STYLE_FILLCOLOR,mxConstants.STYLE_GRADIENTCOLOR,mxConstants.STYLE_STROKECOLOR,mxConstants.STYLE_IMAGE_BORDER,mxConstants.STYLE_IMAGE_BACKGROUND,mxConstants.STYLE_LABEL_BORDERCOLOR,mxConstants.STYLE_SWIMLANE_FILLCOLOR,mxConstants.STYLE_LABEL_BACKGROUNDCOLOR];var e={},g=document.createElement("canvas");g.width=1;g.height=1;g=g.getContext("2d",
-{willReadFrequently:!0});g.filter="invert(100%) hue-rotate(180deg)";d.model.beginUpdate();try{for(var f=0;f<a.length;f++)if(d.model.isEdge(a[f])||d.model.isVertex(a[f])){var h=d.getCurrentCellStyle(a[f]);if(null!=h)for(var n=0;n<b.length;n++)try{var q=h[b[n]];if(null!=q&&"#"==q.charAt(0)){var l=e[q];null==l&&(l=Graph.invertColor(q,g),e[q]=l);d.setCellStyles(b[n],l,[a[f]])}}catch(p){}}}finally{d.model.endUpdate()}};
-EditorUi.prototype.updateSelectionStateForCell=function(a,b,d,e){d=this.editor.graph;a.cells.push(b);if(d.getModel().isVertex(b)){a.connections=0<d.model.getEdgeCount(b);a.unlocked=a.unlocked&&!d.isCellLocked(b);a.resizable=a.resizable&&d.isCellResizable(b);a.rotatable=a.rotatable&&d.isCellRotatable(b);a.movable=a.movable&&d.isCellMovable(b)&&!d.isTableRow(b)&&!d.isTableCell(b);a.swimlane=a.swimlane||d.isSwimlane(b);a.table=a.table||d.isTable(b);a.cell=a.cell||d.isTableCell(b);a.row=a.row||d.isTableRow(b);
-a.vertices.push(b);var g=d.getCellGeometry(b);if(null!=g&&(0<g.width?null==a.width?a.width=g.width:a.width!=g.width&&(a.width=""):a.containsLabel=!0,0<g.height?null==a.height?a.height=g.height:a.height!=g.height&&(a.height=""):a.containsLabel=!0,!g.relative||null!=g.offset)){var f=g.relative?g.offset.x:g.x;g=g.relative?g.offset.y:g.y;null==a.x?a.x=f:a.x!=f&&(a.x="");null==a.y?a.y=g:a.y!=g&&(a.y="")}}else d.getModel().isEdge(b)&&(a.edges.push(b),a.connections=!0,a.resizable=!1,a.rotatable=!1,a.movable=
-!1);f=d.view.getState(b);null!=f&&(a.html=a.html&&d.isHtmlLabel(b),a.autoSize=a.autoSize||d.isAutoSizeState(f),a.glass=a.glass&&d.isGlassState(f),a.rounded=a.rounded&&d.isRoundedState(f),a.lineJumps=a.lineJumps&&d.isLineJumpState(f),a.image=a.image||d.isImageState(f),a.shadow=a.shadow&&d.isShadowState(f),a.fill=a.fill&&d.isFillState(f),a.gradient=a.fill&&d.isGradientState(f),a.stroke=a.stroke&&d.isStrokeState(f),b=mxUtils.getValue(f.style,mxConstants.STYLE_SHAPE,null),a.containsImage=a.containsImage||
-"image"==b,d.mergeStyle(f.style,a.style,e))};
-EditorUi.prototype.installShapePicker=function(){var a=this.editor.graph,b=this;a.addListener(mxEvent.FIRE_MOUSE_EVENT,mxUtils.bind(this,function(q,l){"mouseDown"==l.getProperty("eventName")&&b.hideShapePicker()}));var d=mxUtils.bind(this,function(){b.hideShapePicker(!0)});a.addListener("wheel",d);a.addListener(mxEvent.ESCAPE,d);a.view.addListener(mxEvent.SCALE,d);a.view.addListener(mxEvent.SCALE_AND_TRANSLATE,d);a.getSelectionModel().addListener(mxEvent.CHANGE,d);var e=a.popupMenuHandler.isMenuShowing;
-a.popupMenuHandler.isMenuShowing=function(){return e.apply(this,arguments)||null!=b.shapePicker||null!=b.currentMenu};var g=a.dblClick;a.dblClick=function(q,l){if(this.isEnabled())if(null!=l||null==b.sidebar||mxEvent.isShiftDown(q)||a.isCellLocked(a.getDefaultParent()))g.apply(this,arguments);else{var p=mxUtils.convertPoint(this.container,mxEvent.getClientX(q),mxEvent.getClientY(q));mxEvent.consume(q);window.setTimeout(mxUtils.bind(this,function(){b.showShapePicker(p.x,p.y)}),30)}};if(null!=this.hoverIcons){this.hoverIcons.addListener("reset",
-d);var f=this.hoverIcons.drag;this.hoverIcons.drag=function(){b.hideShapePicker();f.apply(this,arguments)};var h=this.hoverIcons.execute;this.hoverIcons.execute=function(q,l,p){var w=p.getEvent();this.graph.isCloneEvent(w)||mxEvent.isShiftDown(w)?h.apply(this,arguments):this.graph.connectVertex(q.cell,l,this.graph.defaultEdgeLength,w,null,null,mxUtils.bind(this,function(z,C,F){var D=a.getCompositeParent(q.cell);z=a.getCellGeometry(D);for(p.consume();null!=D&&a.model.isVertex(D)&&null!=z&&z.relative;)cell=
-D,D=a.model.getParent(cell),z=a.getCellGeometry(D);window.setTimeout(mxUtils.bind(this,function(){b.showShapePicker(p.getGraphX(),p.getGraphY(),D,mxUtils.bind(this,function(G){F(G);null!=b.hoverIcons&&b.hoverIcons.update(a.view.getState(G))}),l)}),30)}),mxUtils.bind(this,function(z){this.graph.selectCellsForConnectVertex(z,w,this)}))};var n=null;this.hoverIcons.addListener("focus",mxUtils.bind(this,function(q,l){null!=n&&window.clearTimeout(n);n=window.setTimeout(mxUtils.bind(this,function(){var p=
-l.getProperty("arrow"),w=l.getProperty("direction"),z=l.getProperty("event");p=p.getBoundingClientRect();var C=mxUtils.getOffset(a.container),F=a.container.scrollLeft+p.x-C.x;C=a.container.scrollTop+p.y-C.y;var D=a.getCompositeParent(null!=this.hoverIcons.currentState?this.hoverIcons.currentState.cell:null),G=b.showShapePicker(F,C,D,mxUtils.bind(this,function(K){null!=K&&a.connectVertex(D,w,a.defaultEdgeLength,z,!0,!1,function(I,O,H){H(K);null!=b.hoverIcons&&b.hoverIcons.update(a.view.getState(K))},
-function(I){a.selectCellsForConnectVertex(I)},z,this.hoverIcons)}),w,!0);null!=G&&(this.centerShapePicker(G,p,F,C,w),mxUtils.setOpacity(G,30),mxEvent.addListener(G,"mouseenter",function(){mxUtils.setOpacity(G,100)}),mxEvent.addListener(G,"mouseleave",function(){b.hideShapePicker()}))}),Editor.shapePickerHoverDelay)}));this.hoverIcons.addListener("blur",mxUtils.bind(this,function(q,l){null!=n&&window.clearTimeout(n)}))}};
-EditorUi.prototype.centerShapePicker=function(a,b,d,e,g){if(g==mxConstants.DIRECTION_EAST||g==mxConstants.DIRECTION_WEST)a.style.width="40px";var f=a.getBoundingClientRect();g==mxConstants.DIRECTION_NORTH?(d-=f.width/2-10,e-=f.height+6):g==mxConstants.DIRECTION_SOUTH?(d-=f.width/2-10,e+=b.height+6):g==mxConstants.DIRECTION_WEST?(d-=f.width+6,e-=f.height/2-10):g==mxConstants.DIRECTION_EAST&&(d+=b.width+6,e-=f.height/2-10);a.style.left=d+"px";a.style.top=e+"px"};
-EditorUi.prototype.showShapePicker=function(a,b,d,e,g,f,h,n,q){var l=null;this.editor.graph.freehand.isDrawing()||(n=n||null==d,l=this.createShapePicker(a,b,d,e,g,mxUtils.bind(this,function(){this.hideShapePicker()}),this.getCellsForShapePicker(d,f,n),f,h,n,q),null!=l&&(null==this.hoverIcons||f||this.hoverIcons.reset(),a=this.editor.graph,a.popupMenuHandler.hideMenu(),a.tooltipHandler.hideTooltip(),this.hideCurrentMenu(),this.hideShapePicker(),this.shapePickerCallback=e,this.shapePicker=l));return l};
-EditorUi.prototype.createShapePicker=function(a,b,d,e,g,f,h,n,q,l,p){p=null!=p?p:!0;var w=this.editor.graph,z=null;q=null!=q?q:function(D){D=D[0];var G=0,K=0,I=D.geometry;null!=I&&(w.model.isEdge(D)&&(D=I.getTerminalPoint(!1),I=new mxRectangle(0,0,D.x,D.y)),G=I.width/2,K=I.height/2);return new mxPoint(w.snap(Math.round(a/w.view.scale)-w.view.translate.x-G),w.snap(Math.round(b/w.view.scale)-w.view.translate.y-K))};if(null!=h&&0<h.length){var C=this;w=this.editor.graph;z=document.createElement("div");
-g=w.view.getState(d);var F=null==d||null!=g&&w.isTransparentState(g)?null:w.copyStyle(d);g=6>h.length?35*h.length:140;z.className="geToolbarContainer geSidebarContainer geShapePicker";z.setAttribute("title",mxResources.get("sidebarTooltip"));z.style.left=a+"px";z.style.top=b+"px";z.style.width=g+"px";mxClient.IS_POINTER&&(z.style.touchAction="none");n||mxUtils.setPrefixedStyle(z.style,"transform","translate(-22px,-22px)");null!=w.background&&w.background!=mxConstants.NONE&&(z.style.backgroundColor=
-w.background);w.container.appendChild(z);g=mxUtils.bind(this,function(D){var G=document.createElement("a");G.className="geItem";G.style.cssText="position:relative;display:inline-block;position:relative;width:30px;height:30px;cursor:pointer;overflow:hidden;padding:1px";z.appendChild(G);null!=F&&"1"!=urlParams.sketch?this.sidebar.graph.pasteStyle(F,[D]):this.sidebar.graph.pasteCellStyles([D],w.currentVertexStyle,w.currentEdgeStyle);var K=D.geometry;w.model.isEdge(D)&&(K=K.getTerminalPoint(!1),K=new mxRectangle(0,
-0,K.x,K.y));null!=K&&G.appendChild(this.sidebar.createVertexTemplateFromCells([D],K.width,K.height,"",!0,!1,null,!1,mxUtils.bind(this,function(I){if(!mxEvent.isShiftDown(I)||null==d&&w.isSelectionEmpty()){var O=w.cloneCell(D);if(null!=e)e(O);else{var H=q([O]);w.model.isEdge(O)?O.geometry.translate(H.x,H.y):(O.geometry.x=H.x,O.geometry.y=H.y);w.model.beginUpdate();try{w.addCell(O),w.model.isVertex(O)&&w.isAutoSizeCell(O)&&w.updateCellSize(O)}finally{w.model.endUpdate()}w.setSelectionCell(O);w.scrollCellToVisible(O);
-p&&w.startEditing(O);null!=C.hoverIcons&&C.hoverIcons.update(w.view.getState(O))}}else O=w.getEditableCells(null!=d?[d]:w.getSelectionCells()),w.updateShapes(D,O);null!=f&&f(I);mxEvent.consume(I)}),25,25,null,null,d))});for(l=0;l<(n?Math.min(h.length,4):h.length);l++)g(h[l]);h=z.offsetTop+z.clientHeight-(w.container.scrollTop+w.container.offsetHeight);0<h&&(z.style.top=Math.max(w.container.scrollTop+22,b-h)+"px");h=z.offsetLeft+z.clientWidth-(w.container.scrollLeft+w.container.offsetWidth);0<h&&(z.style.left=
-Math.max(w.container.scrollLeft+22,a-h)+"px")}return z};
-EditorUi.prototype.getCellsForShapePicker=function(a,b,d){var e=this.editor.graph,g=mxUtils.bind(this,function(f,h,n,q){return e.createVertex(null,null,q||"",0,0,h||120,n||60,f,!1)});b=mxUtils.bind(this,function(f,h,n){f=new mxCell(n||"",new mxGeometry(0,0,e.defaultEdgeLength+20,0),f);f.geometry.setTerminalPoint(new mxPoint(0,0),!0);f.geometry.setTerminalPoint(new mxPoint(f.geometry.width,null!=h?h:0),!1);f.geometry.points=null!=h?[new mxPoint(f.geometry.width/2,h)]:[];f.geometry.relative=!0;f.edge=
-!0;return f});if(null!=a)try{a=e.cloneCell(a),e.model.isVertex(a)&&null!=a.geometry&&(a.geometry.x=0,a.geometry.y=0)}catch(f){a=null}null==a&&(a=g(e.appendFontSize("text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;",e.vertexFontSize),40,20,"Text"),e.model.isVertex(a)&&e.isAutoSizeCell(a)&&Graph.createOffscreenGraph(e.getStylesheet()).updateCellSize(a));a=[a,g("whiteSpace=wrap;html=1;"),g("ellipse;whiteSpace=wrap;html=1;",80,80),g("rhombus;whiteSpace=wrap;html=1;",
-80,80),g("rounded=1;whiteSpace=wrap;html=1;"),g("shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;fixedSize=1;"),g("shape=trapezoid;perimeter=trapezoidPerimeter;whiteSpace=wrap;html=1;fixedSize=1;",120,60),g("shape=hexagon;perimeter=hexagonPerimeter2;whiteSpace=wrap;html=1;fixedSize=1;",120,80),g("shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;",120,80),g("shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;"),g("triangle;whiteSpace=wrap;html=1;",
-60,80),g("shape=document;whiteSpace=wrap;html=1;boundedLbl=1;",120,80),g("shape=tape;whiteSpace=wrap;html=1;",120,100),g("ellipse;shape=cloud;whiteSpace=wrap;html=1;",120,80),g("shape=singleArrow;whiteSpace=wrap;html=1;arrowWidth=0.4;arrowSize=0.4;",80,60),g("shape=waypoint;sketch=0;size=6;pointerEvents=1;points=[];fillColor=none;resizable=0;rotatable=0;perimeter=centerPerimeter;snapToPoint=1;",20,20)];d&&(a=a.concat([b("edgeStyle=none;orthogonalLoop=1;jettySize=auto;html=1;"),b("edgeStyle=none;orthogonalLoop=1;jettySize=auto;html=1;endArrow=classic;startArrow=classic;endSize=8;startSize=8;"),
+EditorUi.prototype.updateSelectionStateForTableCells=function(a){if(1<a.cells.length&&a.cell){var b=mxUtils.sortCells(a.cells),e=this.editor.graph.model,f=e.getParent(b[0]),h=e.getParent(f);if(null!=f&&null!=h){for(var d=f.getIndex(b[0]),g=h.getIndex(f),n=null,q=1,k=1,p=0,w=g<h.getChildCount()-1?e.getChildAt(e.getChildAt(h,g+1),d):null;p<b.length-1;){var z=b[++p];null==w||w!=z||null!=n&&q!=n||(n=q,q=0,k++,f=e.getParent(w),w=g+k<h.getChildCount()?e.getChildAt(e.getChildAt(h,g+k),d):null);var C=this.editor.graph.view.getState(z);
+if(z==e.getChildAt(f,d+q)&&null!=C&&1==mxUtils.getValue(C.style,"colspan",1)&&1==mxUtils.getValue(C.style,"rowspan",1))q++;else break}p==k*q-1&&(a.mergeCell=b[0],a.colspan=q,a.rowspan=k)}}};EditorUi.prototype.windowResized=function(){window.setTimeout(mxUtils.bind(this,function(){null!=this.editor.graph&&this.refresh()}),0)};
+EditorUi.prototype.createTimeout=function(a,b,e){var f=!0,h=null,d=mxUtils.bind(this,function(n){h.clear()&&(f=!1,n=null!=n?n:{code:App.ERROR_TIMEOUT,message:mxResources.get("timeout"),retry:mxUtils.bind(this,function(){this.createTimeout(a,b,e)})},null!=e?e(n):this.handleError(n))}),g=window.setTimeout(d,null!=a?a:this.timeout);h={clear:function(){window.clearTimeout(g);return f},isAlive:function(){return f}};null!=b&&this.tryAndHandle(mxUtils.bind(this,function(){b(h)}),d);return h};
+EditorUi.prototype.tryAndHandle=function(a,b){try{a()}catch(e){null!=b?b(e):this.handleError(e)}};
+EditorUi.prototype.convertDarkModeColors=function(a,b){var e=this.editor.graph;a=null!=a?a:e.getSelectionCells();b=null!=b?b:[mxConstants.STYLE_FONTCOLOR,mxConstants.STYLE_FILLCOLOR,mxConstants.STYLE_GRADIENTCOLOR,mxConstants.STYLE_STROKECOLOR,mxConstants.STYLE_IMAGE_BORDER,mxConstants.STYLE_IMAGE_BACKGROUND,mxConstants.STYLE_LABEL_BORDERCOLOR,mxConstants.STYLE_SWIMLANE_FILLCOLOR,mxConstants.STYLE_LABEL_BACKGROUNDCOLOR];var f={},h=document.createElement("canvas");h.width=1;h.height=1;h=h.getContext("2d",
+{willReadFrequently:!0});h.filter="invert(100%) hue-rotate(180deg)";e.model.beginUpdate();try{for(var d=0;d<a.length;d++)if(e.model.isEdge(a[d])||e.model.isVertex(a[d])){var g=e.getCurrentCellStyle(a[d]);if(null!=g)for(var n=0;n<b.length;n++)try{var q=g[b[n]];if(null!=q&&"#"==q.charAt(0)){var k=f[q];null==k&&(k=Graph.invertColor(q,h),f[q]=k);e.setCellStyles(b[n],k,[a[d]])}}catch(p){}}}finally{e.model.endUpdate()}};
+EditorUi.prototype.updateSelectionStateForCell=function(a,b,e,f){e=this.editor.graph;a.cells.push(b);if(e.getModel().isVertex(b)){a.connections=0<e.model.getEdgeCount(b);a.unlocked=a.unlocked&&!e.isCellLocked(b);a.resizable=a.resizable&&e.isCellResizable(b);a.rotatable=a.rotatable&&e.isCellRotatable(b);a.movable=a.movable&&e.isCellMovable(b)&&!e.isTableRow(b)&&!e.isTableCell(b);a.swimlane=a.swimlane||e.isSwimlane(b);a.table=a.table||e.isTable(b);a.cell=a.cell||e.isTableCell(b);a.row=a.row||e.isTableRow(b);
+a.vertices.push(b);var h=e.getCellGeometry(b);if(null!=h&&(0<h.width?null==a.width?a.width=h.width:a.width!=h.width&&(a.width=""):a.containsLabel=!0,0<h.height?null==a.height?a.height=h.height:a.height!=h.height&&(a.height=""):a.containsLabel=!0,!h.relative||null!=h.offset)){var d=h.relative?h.offset.x:h.x;h=h.relative?h.offset.y:h.y;null==a.x?a.x=d:a.x!=d&&(a.x="");null==a.y?a.y=h:a.y!=h&&(a.y="")}}else e.getModel().isEdge(b)&&(a.edges.push(b),a.connections=!0,a.resizable=!1,a.rotatable=!1,a.movable=
+!1);d=e.view.getState(b);null!=d&&(a.html=a.html&&e.isHtmlLabel(b),a.autoSize=a.autoSize||e.isAutoSizeState(d),a.glass=a.glass&&e.isGlassState(d),a.rounded=a.rounded&&e.isRoundedState(d),a.lineJumps=a.lineJumps&&e.isLineJumpState(d),a.image=a.image||e.isImageState(d),a.shadow=a.shadow&&e.isShadowState(d),a.fill=a.fill&&e.isFillState(d),a.gradient=a.fill&&e.isGradientState(d),a.stroke=a.stroke&&e.isStrokeState(d),b=mxUtils.getValue(d.style,mxConstants.STYLE_SHAPE,null),a.containsImage=a.containsImage||
+"image"==b,e.mergeStyle(d.style,a.style,f))};
+EditorUi.prototype.installShapePicker=function(){var a=this.editor.graph,b=this;a.addListener(mxEvent.FIRE_MOUSE_EVENT,mxUtils.bind(this,function(q,k){"mouseDown"==k.getProperty("eventName")&&b.hideShapePicker()}));var e=mxUtils.bind(this,function(){b.hideShapePicker(!0)});a.addListener("wheel",e);a.addListener(mxEvent.ESCAPE,e);a.view.addListener(mxEvent.SCALE,e);a.view.addListener(mxEvent.SCALE_AND_TRANSLATE,e);a.getSelectionModel().addListener(mxEvent.CHANGE,e);var f=a.popupMenuHandler.isMenuShowing;
+a.popupMenuHandler.isMenuShowing=function(){return f.apply(this,arguments)||null!=b.shapePicker||null!=b.currentMenu};var h=a.dblClick;a.dblClick=function(q,k){if(this.isEnabled())if(null!=k||null==b.sidebar||mxEvent.isShiftDown(q)||a.isCellLocked(a.getDefaultParent()))h.apply(this,arguments);else{var p=mxUtils.convertPoint(this.container,mxEvent.getClientX(q),mxEvent.getClientY(q));mxEvent.consume(q);window.setTimeout(mxUtils.bind(this,function(){b.showShapePicker(p.x,p.y)}),30)}};if(null!=this.hoverIcons){this.hoverIcons.addListener("reset",
+e);var d=this.hoverIcons.drag;this.hoverIcons.drag=function(){b.hideShapePicker();d.apply(this,arguments)};var g=this.hoverIcons.execute;this.hoverIcons.execute=function(q,k,p){var w=p.getEvent();this.graph.isCloneEvent(w)||mxEvent.isShiftDown(w)?g.apply(this,arguments):this.graph.connectVertex(q.cell,k,this.graph.defaultEdgeLength,w,null,null,mxUtils.bind(this,function(z,C,F){var D=a.getCompositeParent(q.cell);z=a.getCellGeometry(D);for(p.consume();null!=D&&a.model.isVertex(D)&&null!=z&&z.relative;)cell=
+D,D=a.model.getParent(cell),z=a.getCellGeometry(D);window.setTimeout(mxUtils.bind(this,function(){b.showShapePicker(p.getGraphX(),p.getGraphY(),D,mxUtils.bind(this,function(H){F(H);null!=b.hoverIcons&&b.hoverIcons.update(a.view.getState(H))}),k)}),30)}),mxUtils.bind(this,function(z){this.graph.selectCellsForConnectVertex(z,w,this)}))};var n=null;this.hoverIcons.addListener("focus",mxUtils.bind(this,function(q,k){null!=n&&window.clearTimeout(n);n=window.setTimeout(mxUtils.bind(this,function(){var p=
+k.getProperty("arrow"),w=k.getProperty("direction"),z=k.getProperty("event");p=p.getBoundingClientRect();var C=mxUtils.getOffset(a.container),F=a.container.scrollLeft+p.x-C.x;C=a.container.scrollTop+p.y-C.y;var D=a.getCompositeParent(null!=this.hoverIcons.currentState?this.hoverIcons.currentState.cell:null),H=b.showShapePicker(F,C,D,mxUtils.bind(this,function(K){null!=K&&a.connectVertex(D,w,a.defaultEdgeLength,z,!0,!1,function(G,P,I){I(K);null!=b.hoverIcons&&b.hoverIcons.update(a.view.getState(K))},
+function(G){a.selectCellsForConnectVertex(G)},z,this.hoverIcons)}),w,!0);null!=H&&(this.centerShapePicker(H,p,F,C,w),mxUtils.setOpacity(H,30),mxEvent.addListener(H,"mouseenter",function(){mxUtils.setOpacity(H,100)}),mxEvent.addListener(H,"mouseleave",function(){b.hideShapePicker()}))}),Editor.shapePickerHoverDelay)}));this.hoverIcons.addListener("blur",mxUtils.bind(this,function(q,k){null!=n&&window.clearTimeout(n)}))}};
+EditorUi.prototype.centerShapePicker=function(a,b,e,f,h){if(h==mxConstants.DIRECTION_EAST||h==mxConstants.DIRECTION_WEST)a.style.width="40px";var d=a.getBoundingClientRect();h==mxConstants.DIRECTION_NORTH?(e-=d.width/2-10,f-=d.height+6):h==mxConstants.DIRECTION_SOUTH?(e-=d.width/2-10,f+=b.height+6):h==mxConstants.DIRECTION_WEST?(e-=d.width+6,f-=d.height/2-10):h==mxConstants.DIRECTION_EAST&&(e+=b.width+6,f-=d.height/2-10);a.style.left=e+"px";a.style.top=f+"px"};
+EditorUi.prototype.showShapePicker=function(a,b,e,f,h,d,g,n,q){var k=null;this.editor.graph.freehand.isDrawing()||(n=n||null==e,k=this.createShapePicker(a,b,e,f,h,mxUtils.bind(this,function(){this.hideShapePicker()}),this.getCellsForShapePicker(e,d,n),d,g,n,q),null!=k&&(null==this.hoverIcons||d||this.hoverIcons.reset(),a=this.editor.graph,a.popupMenuHandler.hideMenu(),a.tooltipHandler.hideTooltip(),this.hideCurrentMenu(),this.hideShapePicker(),this.shapePickerCallback=f,this.shapePicker=k));return k};
+EditorUi.prototype.createShapePicker=function(a,b,e,f,h,d,g,n,q,k,p){p=null!=p?p:!0;var w=this.editor.graph,z=null;q=null!=q?q:function(D){D=D[0];var H=0,K=0,G=D.geometry;null!=G&&(w.model.isEdge(D)&&(D=G.getTerminalPoint(!1),G=new mxRectangle(0,0,D.x,D.y)),H=G.width/2,K=G.height/2);return new mxPoint(w.snap(Math.round(a/w.view.scale)-w.view.translate.x-H),w.snap(Math.round(b/w.view.scale)-w.view.translate.y-K))};if(null!=g&&0<g.length){var C=this;w=this.editor.graph;z=document.createElement("div");
+h=w.view.getState(e);var F=null==e||null!=h&&w.isTransparentState(h)?null:w.copyStyle(e);h=6>g.length?35*g.length:140;z.className="geToolbarContainer geSidebarContainer geShapePicker";z.setAttribute("title",mxResources.get("sidebarTooltip"));z.style.left=a+"px";z.style.top=b+"px";z.style.width=h+"px";mxClient.IS_POINTER&&(z.style.touchAction="none");n||mxUtils.setPrefixedStyle(z.style,"transform","translate(-22px,-22px)");null!=w.background&&w.background!=mxConstants.NONE&&(z.style.backgroundColor=
+w.background);w.container.appendChild(z);h=mxUtils.bind(this,function(D){var H=document.createElement("a");H.className="geItem";H.style.cssText="position:relative;display:inline-block;position:relative;width:30px;height:30px;cursor:pointer;overflow:hidden;padding:1px";z.appendChild(H);null!=F&&"1"!=urlParams.sketch?this.sidebar.graph.pasteStyle(F,[D]):this.sidebar.graph.pasteCellStyles([D],w.currentVertexStyle,w.currentEdgeStyle);var K=D.geometry;w.model.isEdge(D)&&(K=K.getTerminalPoint(!1),K=new mxRectangle(0,
+0,K.x,K.y));null!=K&&H.appendChild(this.sidebar.createVertexTemplateFromCells([D],K.width,K.height,"",!0,!1,null,!1,mxUtils.bind(this,function(G){if(!mxEvent.isShiftDown(G)||null==e&&w.isSelectionEmpty()){var P=w.cloneCell(D);if(null!=f)f(P);else{var I=q([P]);w.model.isEdge(P)?P.geometry.translate(I.x,I.y):(P.geometry.x=I.x,P.geometry.y=I.y);w.model.beginUpdate();try{w.addCell(P),w.model.isVertex(P)&&w.isAutoSizeCell(P)&&w.updateCellSize(P)}finally{w.model.endUpdate()}w.setSelectionCell(P);w.scrollCellToVisible(P);
+p&&w.startEditing(P);null!=C.hoverIcons&&C.hoverIcons.update(w.view.getState(P))}}else P=w.getEditableCells(null!=e?[e]:w.getSelectionCells()),w.updateShapes(D,P);null!=d&&d(G);mxEvent.consume(G)}),25,25,null,null,e))});for(k=0;k<(n?Math.min(g.length,4):g.length);k++)h(g[k]);g=z.offsetTop+z.clientHeight-(w.container.scrollTop+w.container.offsetHeight);0<g&&(z.style.top=Math.max(w.container.scrollTop+22,b-g)+"px");g=z.offsetLeft+z.clientWidth-(w.container.scrollLeft+w.container.offsetWidth);0<g&&(z.style.left=
+Math.max(w.container.scrollLeft+22,a-g)+"px")}return z};
+EditorUi.prototype.getCellsForShapePicker=function(a,b,e){var f=this.editor.graph,h=mxUtils.bind(this,function(d,g,n,q){return f.createVertex(null,null,q||"",0,0,g||120,n||60,d,!1)});b=mxUtils.bind(this,function(d,g,n){d=new mxCell(n||"",new mxGeometry(0,0,f.defaultEdgeLength+20,0),d);d.geometry.setTerminalPoint(new mxPoint(0,0),!0);d.geometry.setTerminalPoint(new mxPoint(d.geometry.width,null!=g?g:0),!1);d.geometry.points=null!=g?[new mxPoint(d.geometry.width/2,g)]:[];d.geometry.relative=!0;d.edge=
+!0;return d});if(null!=a)try{a=f.cloneCell(a),f.model.isVertex(a)&&null!=a.geometry&&(a.geometry.x=0,a.geometry.y=0)}catch(d){a=null}null==a&&(a=h(f.appendFontSize("text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;",f.vertexFontSize),40,20,"Text"),f.model.isVertex(a)&&f.isAutoSizeCell(a)&&Graph.createOffscreenGraph(f.getStylesheet()).updateCellSize(a));a=[a,h("whiteSpace=wrap;html=1;"),h("ellipse;whiteSpace=wrap;html=1;",80,80),h("rhombus;whiteSpace=wrap;html=1;",
+80,80),h("rounded=1;whiteSpace=wrap;html=1;"),h("shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;fixedSize=1;"),h("shape=trapezoid;perimeter=trapezoidPerimeter;whiteSpace=wrap;html=1;fixedSize=1;",120,60),h("shape=hexagon;perimeter=hexagonPerimeter2;whiteSpace=wrap;html=1;fixedSize=1;",120,80),h("shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;",120,80),h("shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;"),h("triangle;whiteSpace=wrap;html=1;",
+60,80),h("shape=document;whiteSpace=wrap;html=1;boundedLbl=1;",120,80),h("shape=tape;whiteSpace=wrap;html=1;",120,100),h("ellipse;shape=cloud;whiteSpace=wrap;html=1;",120,80),h("shape=singleArrow;whiteSpace=wrap;html=1;arrowWidth=0.4;arrowSize=0.4;",80,60),h("shape=waypoint;sketch=0;size=6;pointerEvents=1;points=[];fillColor=none;resizable=0;rotatable=0;perimeter=centerPerimeter;snapToPoint=1;",20,20)];e&&(a=a.concat([b("edgeStyle=none;orthogonalLoop=1;jettySize=auto;html=1;"),b("edgeStyle=none;orthogonalLoop=1;jettySize=auto;html=1;endArrow=classic;startArrow=classic;endSize=8;startSize=8;"),
b("edgeStyle=none;orthogonalLoop=1;jettySize=auto;html=1;shape=flexArrow;rounded=1;startSize=8;endSize=8;"),b("edgeStyle=segmentEdgeStyle;endArrow=classic;html=1;curved=0;rounded=0;endSize=8;startSize=8;sourcePerimeterSpacing=0;targetPerimeterSpacing=0;",this.editor.graph.defaultEdgeLength/2)]));return a};EditorUi.prototype.isShapePickerVisible=function(a){return null!=this.shapePicker};
EditorUi.prototype.hideShapePicker=function(a){null!=this.shapePicker&&(this.shapePicker.parentNode.removeChild(this.shapePicker),this.shapePicker=null,a||null==this.shapePickerCallback||this.shapePickerCallback(),this.shapePickerCallback=null)};EditorUi.prototype.isSpaceDown=function(){return this.spaceDown};EditorUi.prototype.isShiftDown=function(){return this.shiftDown};
-EditorUi.prototype.onKeyDown=function(a){var b=this.editor.graph;if(9==a.which&&b.isEnabled()&&!mxEvent.isControlDown(a)){if(b.isEditing())if(mxEvent.isAltDown(a))b.stopEditing(!1);else try{var d=b.cellEditor.isContentEditing()&&b.cellEditor.isTextSelected();if(window.getSelection&&b.cellEditor.isContentEditing()&&!d&&!mxClient.IS_IE&&!mxClient.IS_IE11){var e=window.getSelection(),g=0<e.rangeCount?e.getRangeAt(0).commonAncestorContainer:null;d=null!=g&&("LI"==g.nodeName||null!=g.parentNode&&"LI"==
-g.parentNode.nodeName)}d?document.execCommand(mxEvent.isShiftDown(a)?"outdent":"indent",!1,null):mxEvent.isShiftDown(a)?b.stopEditing(!1):b.cellEditor.insertTab(b.cellEditor.isContentEditing()?null:4)}catch(f){}else mxEvent.isAltDown(a)?b.selectParentCell():b.selectCell(!mxEvent.isShiftDown(a));mxEvent.consume(a)}};
+EditorUi.prototype.onKeyDown=function(a){var b=this.editor.graph;if(9==a.which&&b.isEnabled()&&!mxEvent.isControlDown(a)){if(b.isEditing())if(mxEvent.isAltDown(a))b.stopEditing(!1);else try{var e=b.cellEditor.isContentEditing()&&b.cellEditor.isTextSelected();if(window.getSelection&&b.cellEditor.isContentEditing()&&!e&&!mxClient.IS_IE&&!mxClient.IS_IE11){var f=window.getSelection(),h=0<f.rangeCount?f.getRangeAt(0).commonAncestorContainer:null;e=null!=h&&("LI"==h.nodeName||null!=h.parentNode&&"LI"==
+h.parentNode.nodeName)}e?document.execCommand(mxEvent.isShiftDown(a)?"outdent":"indent",!1,null):mxEvent.isShiftDown(a)?b.stopEditing(!1):b.cellEditor.insertTab(b.cellEditor.isContentEditing()?null:4)}catch(d){}else mxEvent.isAltDown(a)?b.selectParentCell():b.selectCell(!mxEvent.isShiftDown(a));mxEvent.consume(a)}};
EditorUi.prototype.onKeyPress=function(a){var b=this.editor.graph;!this.isImmediateEditingEvent(a)||b.isEditing()||b.isSelectionEmpty()||0===a.which||27===a.which||mxEvent.isAltDown(a)||mxEvent.isControlDown(a)||mxEvent.isMetaDown(a)||(b.escape(),b.startEditing(null,String.fromCharCode(a.which)))};EditorUi.prototype.isImmediateEditingEvent=function(a){return!0};
-EditorUi.prototype.updateCssForMarker=function(a,b,d,e,g){a.style.display="inline-flex";a.style.alignItems="center";a.style.justifyContent="center";a.innerText="";"flexArrow"==d?a.className=null!=e&&e!=mxConstants.NONE?"geSprite geSprite-"+b+"blocktrans":"geSprite geSprite-noarrow":(d=this.getImageForMarker(e,g),null!=d?(e=document.createElement("img"),e.className="geAdaptiveAsset",e.setAttribute("src",d),a.className="","end"==b&&mxUtils.setPrefixedStyle(e.style,"transform","scaleX(-1)"),a.appendChild(e)):
+EditorUi.prototype.updateCssForMarker=function(a,b,e,f,h){a.style.display="inline-flex";a.style.alignItems="center";a.style.justifyContent="center";a.innerText="";"flexArrow"==e?a.className=null!=f&&f!=mxConstants.NONE?"geSprite geSprite-"+b+"blocktrans":"geSprite geSprite-noarrow":(e=this.getImageForMarker(f,h),null!=e?(f=document.createElement("img"),f.className="geAdaptiveAsset",f.setAttribute("src",e),a.className="","end"==b&&mxUtils.setPrefixedStyle(f.style,"transform","scaleX(-1)"),a.appendChild(f)):
(a.className="geSprite geSprite-noarrow",a.innerHTML=mxUtils.htmlEntities(mxResources.get("none")),a.style.backgroundImage="none",a.style.fontSize="11px",a.style.filter="none"))};
-EditorUi.prototype.getImageForMarker=function(a,b){var d=null;a==mxConstants.ARROW_CLASSIC?d="1"!=b?Format.classicMarkerImage.src:Format.classicFilledMarkerImage.src:a==mxConstants.ARROW_CLASSIC_THIN?d="1"!=b?Format.classicThinMarkerImage.src:Format.openThinFilledMarkerImage.src:a==mxConstants.ARROW_OPEN?d=Format.openFilledMarkerImage.src:a==mxConstants.ARROW_OPEN_THIN?d=Format.openThinFilledMarkerImage.src:a==mxConstants.ARROW_BLOCK?d="1"!=b?Format.blockMarkerImage.src:Format.blockFilledMarkerImage.src:
-a==mxConstants.ARROW_BLOCK_THIN?d="1"!=b?Format.blockThinMarkerImage.src:Format.blockThinFilledMarkerImage.src:a==mxConstants.ARROW_OVAL?d="1"!=b?Format.ovalMarkerImage.src:Format.ovalFilledMarkerImage.src:a==mxConstants.ARROW_DIAMOND?d="1"!=b?Format.diamondMarkerImage.src:Format.diamondFilledMarkerImage.src:a==mxConstants.ARROW_DIAMOND_THIN?d="1"!=b?Format.diamondThinMarkerImage.src:Format.diamondThinFilledMarkerImage.src:"doubleBlock"==a?d="1"!=b?Format.doubleBlockMarkerImage.src:Format.doubleBlockFilledMarkerImage.src:
-"box"==a?d=Format.boxMarkerImage.src:"halfCircle"==a?d=Format.halfCircleMarkerImage.src:"openAsync"==a?d=Format.openAsyncFilledMarkerImage.src:"async"==a?d="1"!=b?Format.asyncMarkerImage.src:Format.asyncFilledMarkerImage.src:"dash"==a?d=Format.dashMarkerImage.src:"baseDash"==a?d=Format.baseDashMarkerImage.src:"cross"==a?d=Format.crossMarkerImage.src:"circle"==a?d=Format.circleMarkerImage.src:"circlePlus"==a?d=Format.circlePlusMarkerImage.src:"ERone"==a?d=Format.EROneMarkerImage.src:"ERmandOne"==a?
-d=Format.ERmandOneMarkerImage.src:"ERmany"==a?d=Format.ERmanyMarkerImage.src:"ERoneToMany"==a?d=Format.ERoneToManyMarkerImage.src:"ERzeroToOne"==a?d=Format.ERzeroToOneMarkerImage.src:"ERzeroToMany"==a&&(d=Format.ERzeroToManyMarkerImage.src);return d};EditorUi.prototype.createMenus=function(){return null};
-EditorUi.prototype.updatePasteActionStates=function(){var a=this.editor.graph,b=this.actions.get("paste"),d=this.actions.get("pasteHere");b.setEnabled(this.editor.graph.cellEditor.isContentEditing()||(!mxClient.IS_FF&&null!=navigator.clipboard||!mxClipboard.isEmpty())&&a.isEnabled()&&!a.isCellLocked(a.getDefaultParent()));d.setEnabled(b.isEnabled())};
-EditorUi.prototype.initClipboard=function(){var a=this,b=mxClipboard.cut;mxClipboard.cut=function(f){f.cellEditor.isContentEditing()?document.execCommand("cut",!1,null):b.apply(this,arguments);a.updatePasteActionStates()};mxClipboard.copy=function(f){var h=null;if(f.cellEditor.isContentEditing())document.execCommand("copy",!1,null);else{h=h||f.getSelectionCells();h=f.getExportableCells(f.model.getTopmostCells(h));for(var n={},q=f.createCellLookup(h),l=f.cloneCells(h,null,n),p=new mxGraphModel,w=p.getChildAt(p.getRoot(),
-0),z=0;z<l.length;z++){p.add(w,l[z]);var C=f.view.getState(h[z]);if(null!=C){var F=f.getCellGeometry(l[z]);null!=F&&F.relative&&!p.isEdge(h[z])&&null==q[mxObjectIdentity.get(p.getParent(h[z]))]&&(F.offset=null,F.relative=!1,F.x=C.x/C.view.scale-C.view.translate.x,F.y=C.y/C.view.scale-C.view.translate.y)}}f.updateCustomLinks(f.createCellMapping(n,q),l);mxClipboard.insertCount=1;mxClipboard.setCells(l)}a.updatePasteActionStates();return h};var d=mxClipboard.paste;mxClipboard.paste=function(f){var h=
-null;f.cellEditor.isContentEditing()?document.execCommand("paste",!1,null):h=d.apply(this,arguments);a.updatePasteActionStates();return h};var e=this.editor.graph.cellEditor.startEditing;this.editor.graph.cellEditor.startEditing=function(){e.apply(this,arguments);a.updatePasteActionStates()};var g=this.editor.graph.cellEditor.stopEditing;this.editor.graph.cellEditor.stopEditing=function(f,h){g.apply(this,arguments);a.updatePasteActionStates()};this.updatePasteActionStates()};
+EditorUi.prototype.getImageForMarker=function(a,b){var e=null;a==mxConstants.ARROW_CLASSIC?e="1"!=b?Format.classicMarkerImage.src:Format.classicFilledMarkerImage.src:a==mxConstants.ARROW_CLASSIC_THIN?e="1"!=b?Format.classicThinMarkerImage.src:Format.openThinFilledMarkerImage.src:a==mxConstants.ARROW_OPEN?e=Format.openFilledMarkerImage.src:a==mxConstants.ARROW_OPEN_THIN?e=Format.openThinFilledMarkerImage.src:a==mxConstants.ARROW_BLOCK?e="1"!=b?Format.blockMarkerImage.src:Format.blockFilledMarkerImage.src:
+a==mxConstants.ARROW_BLOCK_THIN?e="1"!=b?Format.blockThinMarkerImage.src:Format.blockThinFilledMarkerImage.src:a==mxConstants.ARROW_OVAL?e="1"!=b?Format.ovalMarkerImage.src:Format.ovalFilledMarkerImage.src:a==mxConstants.ARROW_DIAMOND?e="1"!=b?Format.diamondMarkerImage.src:Format.diamondFilledMarkerImage.src:a==mxConstants.ARROW_DIAMOND_THIN?e="1"!=b?Format.diamondThinMarkerImage.src:Format.diamondThinFilledMarkerImage.src:"doubleBlock"==a?e="1"!=b?Format.doubleBlockMarkerImage.src:Format.doubleBlockFilledMarkerImage.src:
+"box"==a?e=Format.boxMarkerImage.src:"halfCircle"==a?e=Format.halfCircleMarkerImage.src:"openAsync"==a?e=Format.openAsyncFilledMarkerImage.src:"async"==a?e="1"!=b?Format.asyncMarkerImage.src:Format.asyncFilledMarkerImage.src:"dash"==a?e=Format.dashMarkerImage.src:"baseDash"==a?e=Format.baseDashMarkerImage.src:"cross"==a?e=Format.crossMarkerImage.src:"circle"==a?e=Format.circleMarkerImage.src:"circlePlus"==a?e=Format.circlePlusMarkerImage.src:"ERone"==a?e=Format.EROneMarkerImage.src:"ERmandOne"==a?
+e=Format.ERmandOneMarkerImage.src:"ERmany"==a?e=Format.ERmanyMarkerImage.src:"ERoneToMany"==a?e=Format.ERoneToManyMarkerImage.src:"ERzeroToOne"==a?e=Format.ERzeroToOneMarkerImage.src:"ERzeroToMany"==a&&(e=Format.ERzeroToManyMarkerImage.src);return e};EditorUi.prototype.createMenus=function(){return null};
+EditorUi.prototype.updatePasteActionStates=function(){var a=this.editor.graph,b=this.actions.get("paste"),e=this.actions.get("pasteHere");b.setEnabled(this.editor.graph.cellEditor.isContentEditing()||(!mxClient.IS_FF&&null!=navigator.clipboard||!mxClipboard.isEmpty())&&a.isEnabled()&&!a.isCellLocked(a.getDefaultParent()));e.setEnabled(b.isEnabled())};
+EditorUi.prototype.initClipboard=function(){var a=this,b=mxClipboard.cut;mxClipboard.cut=function(d){d.cellEditor.isContentEditing()?document.execCommand("cut",!1,null):b.apply(this,arguments);a.updatePasteActionStates()};mxClipboard.copy=function(d){var g=null;if(d.cellEditor.isContentEditing())document.execCommand("copy",!1,null);else{g=g||d.getSelectionCells();g=d.getExportableCells(d.model.getTopmostCells(g));for(var n={},q=d.createCellLookup(g),k=d.cloneCells(g,null,n),p=new mxGraphModel,w=p.getChildAt(p.getRoot(),
+0),z=0;z<k.length;z++){p.add(w,k[z]);var C=d.view.getState(g[z]);if(null!=C){var F=d.getCellGeometry(k[z]);null!=F&&F.relative&&!p.isEdge(g[z])&&null==q[mxObjectIdentity.get(p.getParent(g[z]))]&&(F.offset=null,F.relative=!1,F.x=C.x/C.view.scale-C.view.translate.x,F.y=C.y/C.view.scale-C.view.translate.y)}}d.updateCustomLinks(d.createCellMapping(n,q),k);mxClipboard.insertCount=1;mxClipboard.setCells(k)}a.updatePasteActionStates();return g};var e=mxClipboard.paste;mxClipboard.paste=function(d){var g=
+null;d.cellEditor.isContentEditing()?document.execCommand("paste",!1,null):g=e.apply(this,arguments);a.updatePasteActionStates();return g};var f=this.editor.graph.cellEditor.startEditing;this.editor.graph.cellEditor.startEditing=function(){f.apply(this,arguments);a.updatePasteActionStates()};var h=this.editor.graph.cellEditor.stopEditing;this.editor.graph.cellEditor.stopEditing=function(d,g){h.apply(this,arguments);a.updatePasteActionStates()};this.updatePasteActionStates()};
EditorUi.prototype.lazyZoomDelay=20;EditorUi.prototype.wheelZoomDelay=500;EditorUi.prototype.buttonZoomDelay=600;
-EditorUi.prototype.initCanvas=function(){var a=this.editor.graph;a.timerAutoScroll=!0;a.getPagePadding=function(){return new mxPoint(Math.max(0,Math.round((a.container.offsetWidth-34)/a.view.scale)),Math.max(0,Math.round((a.container.offsetHeight-34)/a.view.scale)))};a.view.getBackgroundPageBounds=function(){var L=this.graph.getPageLayout(),ea=this.graph.getPageSize();return new mxRectangle(this.scale*(this.translate.x+L.x*ea.width),this.scale*(this.translate.y+L.y*ea.height),this.scale*L.width*ea.width,
-this.scale*L.height*ea.height)};a.getPreferredPageSize=function(L,ea,sa){L=this.getPageLayout();ea=this.getPageSize();return new mxRectangle(0,0,L.width*ea.width,L.height*ea.height)};var b=null,d=this;if(this.editor.isChromelessView()){this.chromelessResize=b=mxUtils.bind(this,function(L,ea,sa,va){if(null!=a.container&&!a.isViewer()){sa=null!=sa?sa:0;va=null!=va?va:0;var Ua=a.pageVisible?a.view.getBackgroundPageBounds():a.getGraphBounds(),ma=mxUtils.hasScrollbars(a.container),Fa=a.view.translate,
-Ia=a.view.scale,Oa=mxRectangle.fromRectangle(Ua);Oa.x=Oa.x/Ia-Fa.x;Oa.y=Oa.y/Ia-Fa.y;Oa.width/=Ia;Oa.height/=Ia;Fa=a.container.scrollTop;var Ra=a.container.scrollLeft,Ma=8<=document.documentMode?20:14;if(8==document.documentMode||9==document.documentMode)Ma+=3;var Na=a.container.offsetWidth-Ma;Ma=a.container.offsetHeight-Ma;L=L?Math.max(.3,Math.min(ea||1,Na/Oa.width)):Ia;ea=(Na-L*Oa.width)/2/L;var ta=0==this.lightboxVerticalDivider?0:(Ma-L*Oa.height)/this.lightboxVerticalDivider/L;ma&&(ea=Math.max(ea,
-0),ta=Math.max(ta,0));if(ma||Ua.width<Na||Ua.height<Ma)a.view.scaleAndTranslate(L,Math.floor(ea-Oa.x),Math.floor(ta-Oa.y)),a.container.scrollTop=Fa*L/Ia,a.container.scrollLeft=Ra*L/Ia;else if(0!=sa||0!=va)Ua=a.view.translate,a.view.setTranslate(Math.floor(Ua.x+sa/Ia),Math.floor(Ua.y+va/Ia))}});this.chromelessWindowResize=mxUtils.bind(this,function(){this.chromelessResize(!1)});var e=mxUtils.bind(this,function(){this.chromelessWindowResize(!1)});mxEvent.addListener(window,"resize",e);this.destroyFunctions.push(function(){mxEvent.removeListener(window,
-"resize",e)});this.editor.addListener("resetGraphView",mxUtils.bind(this,function(){this.chromelessResize(!0)}));this.actions.get("zoomIn").funct=mxUtils.bind(this,function(L){a.zoomIn();this.chromelessResize(!1)});this.actions.get("zoomOut").funct=mxUtils.bind(this,function(L){a.zoomOut();this.chromelessResize(!1)});if("0"!=urlParams.toolbar){var g=JSON.parse(decodeURIComponent(urlParams["toolbar-config"]||"{}"));this.chromelessToolbar=document.createElement("div");this.chromelessToolbar.style.position=
+EditorUi.prototype.initCanvas=function(){var a=this.editor.graph;a.timerAutoScroll=!0;a.getPagePadding=function(){return new mxPoint(Math.max(0,Math.round((a.container.offsetWidth-34)/a.view.scale)),Math.max(0,Math.round((a.container.offsetHeight-34)/a.view.scale)))};a.view.getBackgroundPageBounds=function(){var M=this.graph.getPageLayout(),ea=this.graph.getPageSize();return new mxRectangle(this.scale*(this.translate.x+M.x*ea.width),this.scale*(this.translate.y+M.y*ea.height),this.scale*M.width*ea.width,
+this.scale*M.height*ea.height)};a.getPreferredPageSize=function(M,ea,ra){M=this.getPageLayout();ea=this.getPageSize();return new mxRectangle(0,0,M.width*ea.width,M.height*ea.height)};var b=null,e=this;if(this.editor.isChromelessView()){this.chromelessResize=b=mxUtils.bind(this,function(M,ea,ra,ta){if(null!=a.container&&!a.isViewer()){ra=null!=ra?ra:0;ta=null!=ta?ta:0;var Sa=a.pageVisible?a.view.getBackgroundPageBounds():a.getGraphBounds(),ma=mxUtils.hasScrollbars(a.container),Fa=a.view.translate,
+Ha=a.view.scale,Na=mxRectangle.fromRectangle(Sa);Na.x=Na.x/Ha-Fa.x;Na.y=Na.y/Ha-Fa.y;Na.width/=Ha;Na.height/=Ha;Fa=a.container.scrollTop;var Qa=a.container.scrollLeft,La=8<=document.documentMode?20:14;if(8==document.documentMode||9==document.documentMode)La+=3;var Ja=a.container.offsetWidth-La;La=a.container.offsetHeight-La;M=M?Math.max(.3,Math.min(ea||1,Ja/Na.width)):Ha;ea=(Ja-M*Na.width)/2/M;var ua=0==this.lightboxVerticalDivider?0:(La-M*Na.height)/this.lightboxVerticalDivider/M;ma&&(ea=Math.max(ea,
+0),ua=Math.max(ua,0));if(ma||Sa.width<Ja||Sa.height<La)a.view.scaleAndTranslate(M,Math.floor(ea-Na.x),Math.floor(ua-Na.y)),a.container.scrollTop=Fa*M/Ha,a.container.scrollLeft=Qa*M/Ha;else if(0!=ra||0!=ta)Sa=a.view.translate,a.view.setTranslate(Math.floor(Sa.x+ra/Ha),Math.floor(Sa.y+ta/Ha))}});this.chromelessWindowResize=mxUtils.bind(this,function(){this.chromelessResize(!1)});var f=mxUtils.bind(this,function(){this.chromelessWindowResize(!1)});mxEvent.addListener(window,"resize",f);this.destroyFunctions.push(function(){mxEvent.removeListener(window,
+"resize",f)});this.editor.addListener("resetGraphView",mxUtils.bind(this,function(){this.chromelessResize(!0)}));this.actions.get("zoomIn").funct=mxUtils.bind(this,function(M){a.zoomIn();this.chromelessResize(!1)});this.actions.get("zoomOut").funct=mxUtils.bind(this,function(M){a.zoomOut();this.chromelessResize(!1)});if("0"!=urlParams.toolbar){var h=JSON.parse(decodeURIComponent(urlParams["toolbar-config"]||"{}"));this.chromelessToolbar=document.createElement("div");this.chromelessToolbar.style.position=
"fixed";this.chromelessToolbar.style.overflow="hidden";this.chromelessToolbar.style.boxSizing="border-box";this.chromelessToolbar.style.whiteSpace="nowrap";this.chromelessToolbar.style.padding="10px 10px 8px 10px";this.chromelessToolbar.style.left=a.isViewer()?"0":"50%";mxClient.IS_IE||mxClient.IS_IE11?(this.chromelessToolbar.style.backgroundColor="#ffffff",this.chromelessToolbar.style.border="3px solid black"):this.chromelessToolbar.style.backgroundColor="#000000";mxUtils.setPrefixedStyle(this.chromelessToolbar.style,
-"borderRadius","16px");mxUtils.setPrefixedStyle(this.chromelessToolbar.style,"transition","opacity 600ms ease-in-out");var f=mxUtils.bind(this,function(){var L=mxUtils.getCurrentStyle(a.container);a.isViewer()?this.chromelessToolbar.style.top="0":this.chromelessToolbar.style.bottom=(null!=L?parseInt(L["margin-bottom"]||0):0)+(null!=this.tabContainer?20+parseInt(this.tabContainer.style.height):20)+"px"});this.editor.addListener("resetGraphView",f);f();var h=0;f=mxUtils.bind(this,function(L,ea,sa){h++;
-var va=document.createElement("span");va.style.paddingLeft="8px";va.style.paddingRight="8px";va.style.cursor="pointer";mxEvent.addListener(va,"click",L);null!=sa&&va.setAttribute("title",sa);L=document.createElement("img");L.setAttribute("border","0");L.setAttribute("src",ea);L.style.width="36px";L.style.filter="invert(100%)";va.appendChild(L);this.chromelessToolbar.appendChild(va);return va});if(null!=g.backBtn){var n=Graph.sanitizeLink(g.backBtn.url);null!=n&&f(mxUtils.bind(this,function(L){window.location.href=
-n;mxEvent.consume(L)}),Editor.backImage,mxResources.get("back",null,"Back"))}if(this.isPagesEnabled()){var q=f(mxUtils.bind(this,function(L){this.actions.get("previousPage").funct();mxEvent.consume(L)}),Editor.previousImage,mxResources.get("previousPage")),l=document.createElement("div");l.style.fontFamily=Editor.defaultHtmlFont;l.style.display="inline-block";l.style.verticalAlign="top";l.style.fontWeight="bold";l.style.marginTop="8px";l.style.fontSize="14px";l.style.cursor="default";l.style.color=
-mxClient.IS_IE||mxClient.IS_IE11?"#000000":"#ffffff";this.chromelessToolbar.appendChild(l);var p=f(mxUtils.bind(this,function(L){this.actions.get("nextPage").funct();mxEvent.consume(L)}),Editor.nextImage,mxResources.get("nextPage")),w=mxUtils.bind(this,function(){if(null!=this.pages&&1<this.pages.length&&null!=this.currentPage){l.innerText="";var L=mxUtils.indexOf(this.pages,this.currentPage);mxUtils.write(l,L+1+" / "+this.pages.length);l.setAttribute("title",mxResources.get("currentPage")+": "+this.currentPage.getName());
-q.setAttribute("title",mxResources.get("previousPage")+": "+this.pages[mxUtils.mod(L-1,this.pages.length)].getName());p.setAttribute("title",mxResources.get("nextPage")+": "+this.pages[mxUtils.mod(L+1,this.pages.length)].getName())}});q.style.paddingLeft="0px";q.style.paddingRight="4px";p.style.paddingLeft="4px";p.style.paddingRight="0px";var z=mxUtils.bind(this,function(){null!=this.pages&&1<this.pages.length&&null!=this.currentPage?(p.style.display="",q.style.display="",l.style.display="inline-block"):
-(p.style.display="none",q.style.display="none",l.style.display="none");w()});if(null!=this.menus){var C=this.menus.get("pages");null!=C&&mxEvent.addListener(l,"click",mxUtils.bind(this,function(L){var ea=new mxPopupMenu(C.funct);ea.div.className+=" geMenubarMenu";ea.smartSeparators=!0;ea.showDisabled=!0;ea.autoExpand=!0;ea.hideMenu=mxUtils.bind(this,function(){mxPopupMenu.prototype.hideMenu.apply(ea,arguments);ea.destroy()});var sa=mxUtils.getOffset(l);ea.popup(sa.x,sa.y+l.offsetHeight,null,L);mxEvent.addListener(ea.div,
-"mouseleave",mxUtils.bind(this,function(){ea.hideMenu()}))}))}this.editor.addListener("resetGraphView",z);this.editor.addListener("pageSelected",w)}f(mxUtils.bind(this,function(L){this.actions.get("zoomOut").funct();mxEvent.consume(L)}),Editor.zoomOutImage,mxResources.get("zoomOut")+" (Alt+Mousewheel)");f(mxUtils.bind(this,function(L){this.actions.get("zoomIn").funct();mxEvent.consume(L)}),Editor.zoomInImage,mxResources.get("zoomIn")+" (Alt+Mousewheel)");f(mxUtils.bind(this,function(L){a.isLightboxView()?
-(1==a.view.scale?this.lightboxFit():a.zoomTo(1),this.chromelessResize(!1)):this.chromelessResize(!0);mxEvent.consume(L)}),Editor.zoomFitImage,mxResources.get("fit"));var F=null,D=null,G=mxUtils.bind(this,function(L){null!=F&&(window.clearTimeout(F),F=null);null!=D&&(window.clearTimeout(D),D=null);F=window.setTimeout(mxUtils.bind(this,function(){mxUtils.setOpacity(this.chromelessToolbar,0);F=null;D=window.setTimeout(mxUtils.bind(this,function(){this.chromelessToolbar.style.display="none";D=null}),
-600)}),L||200)}),K=mxUtils.bind(this,function(L){null!=F&&(window.clearTimeout(F),F=null);null!=D&&(window.clearTimeout(D),D=null);this.chromelessToolbar.style.display="";mxUtils.setOpacity(this.chromelessToolbar,L||30)});if("1"==urlParams.layers){this.layersDialog=null;var I=f(mxUtils.bind(this,function(L){if(null!=this.layersDialog)this.layersDialog.parentNode.removeChild(this.layersDialog),this.layersDialog=null;else{this.layersDialog=a.createLayersDialog(mxUtils.bind(this,function(){this.chromelessResize&&
-this.chromelessResize()}),!0);mxEvent.addListener(this.layersDialog,"mouseleave",mxUtils.bind(this,function(){this.layersDialog.parentNode.removeChild(this.layersDialog);this.layersDialog=null}));var ea=I.getBoundingClientRect();mxUtils.setPrefixedStyle(this.layersDialog.style,"borderRadius","5px");this.layersDialog.style.position="fixed";this.layersDialog.style.fontFamily=Editor.defaultHtmlFont;this.layersDialog.style.width="160px";this.layersDialog.style.padding="4px 2px 4px 2px";this.layersDialog.style.left=
+"borderRadius","16px");mxUtils.setPrefixedStyle(this.chromelessToolbar.style,"transition","opacity 600ms ease-in-out");var d=mxUtils.bind(this,function(){var M=mxUtils.getCurrentStyle(a.container);a.isViewer()?this.chromelessToolbar.style.top="0":this.chromelessToolbar.style.bottom=(null!=M?parseInt(M["margin-bottom"]||0):0)+(null!=this.tabContainer?20+parseInt(this.tabContainer.style.height):20)+"px"});this.editor.addListener("resetGraphView",d);d();var g=0;d=mxUtils.bind(this,function(M,ea,ra){g++;
+var ta=document.createElement("span");ta.style.paddingLeft="8px";ta.style.paddingRight="8px";ta.style.cursor="pointer";mxEvent.addListener(ta,"click",M);null!=ra&&ta.setAttribute("title",ra);M=document.createElement("img");M.setAttribute("border","0");M.setAttribute("src",ea);M.style.width="36px";M.style.filter="invert(100%)";ta.appendChild(M);this.chromelessToolbar.appendChild(ta);return ta});if(null!=h.backBtn){var n=Graph.sanitizeLink(h.backBtn.url);null!=n&&d(mxUtils.bind(this,function(M){window.location.href=
+n;mxEvent.consume(M)}),Editor.backImage,mxResources.get("back",null,"Back"))}if(this.isPagesEnabled()){var q=d(mxUtils.bind(this,function(M){this.actions.get("previousPage").funct();mxEvent.consume(M)}),Editor.previousImage,mxResources.get("previousPage")),k=document.createElement("div");k.style.fontFamily=Editor.defaultHtmlFont;k.style.display="inline-block";k.style.verticalAlign="top";k.style.fontWeight="bold";k.style.marginTop="8px";k.style.fontSize="14px";k.style.cursor="default";k.style.color=
+mxClient.IS_IE||mxClient.IS_IE11?"#000000":"#ffffff";this.chromelessToolbar.appendChild(k);var p=d(mxUtils.bind(this,function(M){this.actions.get("nextPage").funct();mxEvent.consume(M)}),Editor.nextImage,mxResources.get("nextPage")),w=mxUtils.bind(this,function(){if(null!=this.pages&&1<this.pages.length&&null!=this.currentPage){k.innerText="";var M=mxUtils.indexOf(this.pages,this.currentPage);mxUtils.write(k,M+1+" / "+this.pages.length);k.setAttribute("title",mxResources.get("currentPage")+": "+this.currentPage.getName());
+q.setAttribute("title",mxResources.get("previousPage")+": "+this.pages[mxUtils.mod(M-1,this.pages.length)].getName());p.setAttribute("title",mxResources.get("nextPage")+": "+this.pages[mxUtils.mod(M+1,this.pages.length)].getName())}});q.style.paddingLeft="0px";q.style.paddingRight="4px";p.style.paddingLeft="4px";p.style.paddingRight="0px";var z=mxUtils.bind(this,function(){null!=this.pages&&1<this.pages.length&&null!=this.currentPage?(p.style.display="",q.style.display="",k.style.display="inline-block"):
+(p.style.display="none",q.style.display="none",k.style.display="none");w()});if(null!=this.menus){var C=this.menus.get("pages");null!=C&&mxEvent.addListener(k,"click",mxUtils.bind(this,function(M){var ea=new mxPopupMenu(C.funct);ea.div.className+=" geMenubarMenu";ea.smartSeparators=!0;ea.showDisabled=!0;ea.autoExpand=!0;ea.hideMenu=mxUtils.bind(this,function(){mxPopupMenu.prototype.hideMenu.apply(ea,arguments);ea.destroy()});var ra=mxUtils.getOffset(k);ea.popup(ra.x,ra.y+k.offsetHeight,null,M);mxEvent.addListener(ea.div,
+"mouseleave",mxUtils.bind(this,function(){ea.hideMenu()}))}))}this.editor.addListener("resetGraphView",z);this.editor.addListener("pageSelected",w)}d(mxUtils.bind(this,function(M){this.actions.get("zoomOut").funct();mxEvent.consume(M)}),Editor.zoomOutImage,mxResources.get("zoomOut")+" (Alt+Mousewheel)");d(mxUtils.bind(this,function(M){this.actions.get("zoomIn").funct();mxEvent.consume(M)}),Editor.zoomInImage,mxResources.get("zoomIn")+" (Alt+Mousewheel)");d(mxUtils.bind(this,function(M){a.isLightboxView()?
+(1==a.view.scale?this.lightboxFit():a.zoomTo(1),this.chromelessResize(!1)):this.chromelessResize(!0);mxEvent.consume(M)}),Editor.zoomFitImage,mxResources.get("fit"));var F=null,D=null,H=mxUtils.bind(this,function(M){null!=F&&(window.clearTimeout(F),F=null);null!=D&&(window.clearTimeout(D),D=null);F=window.setTimeout(mxUtils.bind(this,function(){mxUtils.setOpacity(this.chromelessToolbar,0);F=null;D=window.setTimeout(mxUtils.bind(this,function(){this.chromelessToolbar.style.display="none";D=null}),
+600)}),M||200)}),K=mxUtils.bind(this,function(M){null!=F&&(window.clearTimeout(F),F=null);null!=D&&(window.clearTimeout(D),D=null);this.chromelessToolbar.style.display="";mxUtils.setOpacity(this.chromelessToolbar,M||30)});if("1"==urlParams.layers){this.layersDialog=null;var G=d(mxUtils.bind(this,function(M){if(null!=this.layersDialog)this.layersDialog.parentNode.removeChild(this.layersDialog),this.layersDialog=null;else{this.layersDialog=a.createLayersDialog(mxUtils.bind(this,function(){this.chromelessResize&&
+this.chromelessResize()}),!0);mxEvent.addListener(this.layersDialog,"mouseleave",mxUtils.bind(this,function(){this.layersDialog.parentNode.removeChild(this.layersDialog);this.layersDialog=null}));var ea=G.getBoundingClientRect();mxUtils.setPrefixedStyle(this.layersDialog.style,"borderRadius","5px");this.layersDialog.style.position="fixed";this.layersDialog.style.fontFamily=Editor.defaultHtmlFont;this.layersDialog.style.width="160px";this.layersDialog.style.padding="4px 2px 4px 2px";this.layersDialog.style.left=
ea.left+"px";this.layersDialog.style.bottom=parseInt(this.chromelessToolbar.style.bottom)+this.chromelessToolbar.offsetHeight+4+"px";mxClient.IS_IE||mxClient.IS_IE11?(this.layersDialog.style.backgroundColor="#ffffff",this.layersDialog.style.border="2px solid black",this.layersDialog.style.color="#000000"):(this.layersDialog.style.backgroundColor="#000000",this.layersDialog.style.color="#ffffff",mxUtils.setOpacity(this.layersDialog,80));ea=mxUtils.getCurrentStyle(this.editor.graph.container);this.layersDialog.style.zIndex=
-ea.zIndex;document.body.appendChild(this.layersDialog);this.editor.fireEvent(new mxEventObject("layersDialogShown"))}mxEvent.consume(L)}),Editor.layersImage,mxResources.get("layers")),O=a.getModel();O.addListener(mxEvent.CHANGE,function(){I.style.display=1<O.getChildCount(O.root)?"":"none"})}("1"!=urlParams.openInSameWin||navigator.standalone)&&this.addChromelessToolbarItems(f);null==this.editor.editButtonLink&&null==this.editor.editButtonFunc||f(mxUtils.bind(this,function(L){null!=this.editor.editButtonFunc?
-this.editor.editButtonFunc():"_blank"==this.editor.editButtonLink?this.editor.editAsNew(this.getEditBlankXml()):a.openLink(this.editor.editButtonLink,"editWindow");mxEvent.consume(L)}),Editor.editImage,mxResources.get("edit"));if(null!=this.lightboxToolbarActions)for(z=0;z<this.lightboxToolbarActions.length;z++){var H=this.lightboxToolbarActions[z];H.elem=f(H.fn,H.icon,H.tooltip)}if(null!=g.refreshBtn){var Z=null==g.refreshBtn.url?null:Graph.sanitizeLink(g.refreshBtn.url);f(mxUtils.bind(this,function(L){null!=
-Z?window.location.href=Z:window.location.reload();mxEvent.consume(L)}),Editor.refreshImage,mxResources.get("refresh",null,"Refresh"))}null!=g.fullscreenBtn&&window.self!==window.top&&f(mxUtils.bind(this,function(L){g.fullscreenBtn.url?a.openLink(g.fullscreenBtn.url):a.openLink(window.location.href);mxEvent.consume(L)}),Editor.fullscreenImage,mxResources.get("openInNewWindow",null,"Open in New Window"));!g.noCloseBtn&&(g.closeBtn&&window.self===window.top||a.lightbox&&("1"==urlParams.close||this.container!=
-document.body))&&f(mxUtils.bind(this,function(L){"1"==urlParams.close||g.closeBtn?window.close():(this.destroy(),mxEvent.consume(L))}),Editor.closeImage,mxResources.get("close")+" (Escape)");this.chromelessToolbar.style.display="none";a.isViewer()||mxUtils.setPrefixedStyle(this.chromelessToolbar.style,"transform","translate(-50%,0)");a.container.appendChild(this.chromelessToolbar);mxEvent.addListener(a.container,mxClient.IS_POINTER?"pointermove":"mousemove",mxUtils.bind(this,function(L){mxEvent.isTouchEvent(L)||
-(mxEvent.isShiftDown(L)||K(30),G())}));mxEvent.addListener(this.chromelessToolbar,mxClient.IS_POINTER?"pointermove":"mousemove",function(L){mxEvent.consume(L)});mxEvent.addListener(this.chromelessToolbar,"mouseenter",mxUtils.bind(this,function(L){a.tooltipHandler.resetTimer();a.tooltipHandler.hideTooltip();mxEvent.isShiftDown(L)?G():K(100)}));mxEvent.addListener(this.chromelessToolbar,"mousemove",mxUtils.bind(this,function(L){mxEvent.isShiftDown(L)?G():K(100);mxEvent.consume(L)}));mxEvent.addListener(this.chromelessToolbar,
-"mouseleave",mxUtils.bind(this,function(L){mxEvent.isTouchEvent(L)||K(30)}));var S=a.getTolerance();a.addMouseListener({startX:0,startY:0,scrollLeft:0,scrollTop:0,mouseDown:function(L,ea){this.startX=ea.getGraphX();this.startY=ea.getGraphY();this.scrollLeft=a.container.scrollLeft;this.scrollTop=a.container.scrollTop},mouseMove:function(L,ea){},mouseUp:function(L,ea){mxEvent.isTouchEvent(ea.getEvent())&&Math.abs(this.scrollLeft-a.container.scrollLeft)<S&&Math.abs(this.scrollTop-a.container.scrollTop)<
-S&&Math.abs(this.startX-ea.getGraphX())<S&&Math.abs(this.startY-ea.getGraphY())<S&&(0<parseFloat(d.chromelessToolbar.style.opacity||0)?G():K(30))}})}this.editor.editable||this.addChromelessClickHandler()}else if(this.editor.extendCanvas){var X=a.view.validate,Y=new mxPoint,M=!1,U=null;a.view.validate=function(){if(null!=a.container&&mxUtils.hasScrollbars(a.container)){if(null!=d.currentPage&&U!=d.currentPage){U=d.currentPage;M=!0;var L=a.getBoundingBoxFromGeometry(a.model.getCells(),!0,null,!0);null==
-L&&(L=new mxRectangle(a.view.translate.x*a.view.scale,a.view.translate.y*a.view.scale));L=a.getPageLayout(L,Y,1);var ea=a.getDefaultTranslate(L);this.x0=L.x;this.y0=L.y;if(ea.x!=this.translate.x||ea.y!=this.translate.y)this.invalidate(),this.translate.x=ea.x,this.translate.y=ea.y}ea=a.getPagePadding();var sa=a.getPageSize();L=ea.x-(this.x0||0)*sa.width;ea=ea.y-(this.y0||0)*sa.height;if(this.translate.x!=L||this.translate.y!=ea)this.invalidate(),this.translate.x=L,this.translate.y=ea}X.apply(this,
-arguments)};if(!a.isViewer()){var ba=a.sizeDidChange;a.sizeDidChange=function(){var L=M;M=!1;if(null!=this.container&&mxUtils.hasScrollbars(this.container)){this.updateMinimumSize();if(!this.autoTranslate){var ea=this.getPageLayout(),sa=this.getDefaultTranslate(ea),va=this.view.translate.x,Ua=this.view.translate.y;if(sa.x!=va||sa.y!=Ua){this.view.x0=ea.x;this.view.y0=ea.y;this.autoTranslate=!0;this.view.setTranslate(sa.x,sa.y);this.autoTranslate=!1;L||(this.container.scrollLeft+=Math.round((sa.x-
-va)*this.view.scale),this.container.scrollTop+=Math.round((sa.y-Ua)*this.view.scale));return}}ba.apply(this,arguments)}else this.fireEvent(new mxEventObject(mxEvent.SIZE,"bounds",this.getGraphBounds()))}}}var ja=a.view.getBackgroundPane(),pa=a.view.getDrawPane();a.cumulativeZoomFactor=1;var P=null,W=null,V=null,ca=null,ra=null,oa=function(L){null!=P&&window.clearTimeout(P);0<=L&&window.setTimeout(function(){if(!a.isMouseDown||ca)P=window.setTimeout(mxUtils.bind(this,function(){a.isFastZoomEnabled()&&
-(null!=a.view.backgroundPageShape&&null!=a.view.backgroundPageShape.node&&(mxUtils.setPrefixedStyle(a.view.backgroundPageShape.node.style,"transform-origin",null),mxUtils.setPrefixedStyle(a.view.backgroundPageShape.node.style,"transform",null)),pa.style.transformOrigin="",ja.style.transformOrigin="",mxClient.IS_SF?(pa.style.transform="scale(1)",ja.style.transform="scale(1)",window.setTimeout(function(){pa.style.transform="";ja.style.transform=""},0)):(pa.style.transform="",ja.style.transform=""),
-a.view.getDecoratorPane().style.opacity="",a.view.getOverlayPane().style.opacity="");var ea=new mxPoint(a.container.scrollLeft,a.container.scrollTop),sa=mxUtils.getOffset(a.container),va=a.view.scale,Ua=0,ma=0;null!=W&&(Ua=a.container.offsetWidth/2-W.x+sa.x,ma=a.container.offsetHeight/2-W.y+sa.y);a.zoom(a.cumulativeZoomFactor,null,a.isFastZoomEnabled()?20:null);a.view.scale!=va&&(null!=V&&(Ua+=ea.x-V.x,ma+=ea.y-V.y),null!=b&&d.chromelessResize(!1,null,Ua*(a.cumulativeZoomFactor-1),ma*(a.cumulativeZoomFactor-
-1)),!mxUtils.hasScrollbars(a.container)||0==Ua&&0==ma||(a.container.scrollLeft-=Ua*(a.cumulativeZoomFactor-1),a.container.scrollTop-=ma*(a.cumulativeZoomFactor-1)));null!=ra&&pa.setAttribute("filter",ra);a.cumulativeZoomFactor=1;ra=ca=W=V=P=null}),null!=L?L:a.isFastZoomEnabled()?d.wheelZoomDelay:d.lazyZoomDelay)},0)};a.lazyZoom=function(L,ea,sa,va){va=null!=va?va:this.zoomFactor;(ea=ea||!a.scrollbars)&&(W=new mxPoint(a.container.offsetLeft+a.container.clientWidth/2,a.container.offsetTop+a.container.clientHeight/
-2));L?.15>=this.view.scale*this.cumulativeZoomFactor?this.cumulativeZoomFactor*=(this.view.scale+.05)/this.view.scale:(this.cumulativeZoomFactor*=va,this.cumulativeZoomFactor=Math.round(this.view.scale*this.cumulativeZoomFactor*100)/100/this.view.scale):.15>=this.view.scale*this.cumulativeZoomFactor?this.cumulativeZoomFactor*=(this.view.scale-.05)/this.view.scale:(this.cumulativeZoomFactor/=va,this.cumulativeZoomFactor=Math.round(this.view.scale*this.cumulativeZoomFactor*100)/100/this.view.scale);
-this.cumulativeZoomFactor=Math.max(.05,Math.min(this.view.scale*this.cumulativeZoomFactor,160))/this.view.scale;if(a.isFastZoomEnabled()){null==ra&&""!=pa.getAttribute("filter")&&(ra=pa.getAttribute("filter"),pa.removeAttribute("filter"));V=new mxPoint(a.container.scrollLeft,a.container.scrollTop);L=Math.round(Math.round(this.view.scale*this.cumulativeZoomFactor*100)/100*20)/(20*this.view.scale);va=ea||null==W?a.container.scrollLeft+a.container.clientWidth/2:W.x+a.container.scrollLeft-a.container.offsetLeft;
-var Ua=ea||null==W?a.container.scrollTop+a.container.clientHeight/2:W.y+a.container.scrollTop-a.container.offsetTop;pa.style.transformOrigin=va+"px "+Ua+"px";pa.style.transform="scale("+L+")";ja.style.transformOrigin=va+"px "+Ua+"px";ja.style.transform="scale("+L+")";null!=a.view.backgroundPageShape&&null!=a.view.backgroundPageShape.node?(va=a.view.backgroundPageShape.node,mxUtils.setPrefixedStyle(va.style,"transform-origin",(ea||null==W?a.container.clientWidth/2+a.container.scrollLeft-va.offsetLeft+
-"px":W.x+a.container.scrollLeft-va.offsetLeft-a.container.offsetLeft+"px")+" "+(ea||null==W?a.container.clientHeight/2+a.container.scrollTop-va.offsetTop+"px":W.y+a.container.scrollTop-va.offsetTop-a.container.offsetTop+"px")),mxUtils.setPrefixedStyle(va.style,"transform","scale("+L+")")):a.view.validateBackgroundStyles(L,va,Ua);a.view.getDecoratorPane().style.opacity="0";a.view.getOverlayPane().style.opacity="0";null!=d.hoverIcons&&d.hoverIcons.reset();a.fireEvent(new mxEventObject("zoomPreview",
-"factor",L))}oa(a.isFastZoomEnabled()?sa:0)};mxEvent.addGestureListeners(a.container,function(L){null!=P&&window.clearTimeout(P)},null,function(L){1!=a.cumulativeZoomFactor&&oa(0)});mxEvent.addListener(a.container,"scroll",function(L){null==P||a.isMouseDown||1==a.cumulativeZoomFactor||oa(0)});mxEvent.addMouseWheelListener(mxUtils.bind(this,function(L,ea,sa,va,Ua){a.fireEvent(new mxEventObject("wheel"));if(null==this.dialogs||0==this.dialogs.length)if(!a.scrollbars&&!sa&&a.isScrollWheelEvent(L))sa=
-a.view.getTranslate(),va=40/a.view.scale,mxEvent.isShiftDown(L)?a.view.setTranslate(sa.x+(ea?-va:va),sa.y):a.view.setTranslate(sa.x,sa.y+(ea?va:-va));else if(sa||a.isZoomWheelEvent(L))for(var ma=mxEvent.getSource(L);null!=ma;){if(ma==a.container)return a.tooltipHandler.hideTooltip(),W=null!=va&&null!=Ua?new mxPoint(va,Ua):new mxPoint(mxEvent.getClientX(L),mxEvent.getClientY(L)),ca=sa,sa=a.zoomFactor,va=null,L.ctrlKey&&null!=L.deltaY&&40>Math.abs(L.deltaY)&&Math.round(L.deltaY)!=L.deltaY?sa=1+Math.abs(L.deltaY)/
-20*(sa-1):null!=L.movementY&&"pointermove"==L.type&&(sa=1+Math.max(1,Math.abs(L.movementY))/20*(sa-1),va=-1),a.lazyZoom(ea,null,va,sa),mxEvent.consume(L),!1;ma=ma.parentNode}}),a.container);a.panningHandler.zoomGraph=function(L){a.cumulativeZoomFactor=L.scale;a.lazyZoom(0<L.scale,!0);mxEvent.consume(L)}};EditorUi.prototype.addChromelessToolbarItems=function(a){a(mxUtils.bind(this,function(b){this.actions.get("print").funct();mxEvent.consume(b)}),Editor.printImage,mxResources.get("print"))};
+ea.zIndex;document.body.appendChild(this.layersDialog);this.editor.fireEvent(new mxEventObject("layersDialogShown"))}mxEvent.consume(M)}),Editor.layersImage,mxResources.get("layers")),P=a.getModel();P.addListener(mxEvent.CHANGE,function(){G.style.display=1<P.getChildCount(P.root)?"":"none"})}("1"!=urlParams.openInSameWin||navigator.standalone)&&this.addChromelessToolbarItems(d);null==this.editor.editButtonLink&&null==this.editor.editButtonFunc||d(mxUtils.bind(this,function(M){null!=this.editor.editButtonFunc?
+this.editor.editButtonFunc():"_blank"==this.editor.editButtonLink?this.editor.editAsNew(this.getEditBlankXml()):a.openLink(this.editor.editButtonLink,"editWindow");mxEvent.consume(M)}),Editor.editImage,mxResources.get("edit"));if(null!=this.lightboxToolbarActions)for(z=0;z<this.lightboxToolbarActions.length;z++){var I=this.lightboxToolbarActions[z];I.elem=d(I.fn,I.icon,I.tooltip)}if(null!=h.refreshBtn){var Z=null==h.refreshBtn.url?null:Graph.sanitizeLink(h.refreshBtn.url);d(mxUtils.bind(this,function(M){null!=
+Z?window.location.href=Z:window.location.reload();mxEvent.consume(M)}),Editor.refreshImage,mxResources.get("refresh",null,"Refresh"))}null!=h.fullscreenBtn&&window.self!==window.top&&d(mxUtils.bind(this,function(M){h.fullscreenBtn.url?a.openLink(h.fullscreenBtn.url):a.openLink(window.location.href);mxEvent.consume(M)}),Editor.fullscreenImage,mxResources.get("openInNewWindow",null,"Open in New Window"));!h.noCloseBtn&&(h.closeBtn&&window.self===window.top||a.lightbox&&("1"==urlParams.close||this.container!=
+document.body))&&d(mxUtils.bind(this,function(M){"1"==urlParams.close||h.closeBtn?window.close():(this.destroy(),mxEvent.consume(M))}),Editor.closeImage,mxResources.get("close")+" (Escape)");this.chromelessToolbar.style.display="none";a.isViewer()||mxUtils.setPrefixedStyle(this.chromelessToolbar.style,"transform","translate(-50%,0)");a.container.appendChild(this.chromelessToolbar);mxEvent.addListener(a.container,mxClient.IS_POINTER?"pointermove":"mousemove",mxUtils.bind(this,function(M){mxEvent.isTouchEvent(M)||
+(mxEvent.isShiftDown(M)||K(30),H())}));mxEvent.addListener(this.chromelessToolbar,mxClient.IS_POINTER?"pointermove":"mousemove",function(M){mxEvent.consume(M)});mxEvent.addListener(this.chromelessToolbar,"mouseenter",mxUtils.bind(this,function(M){a.tooltipHandler.resetTimer();a.tooltipHandler.hideTooltip();mxEvent.isShiftDown(M)?H():K(100)}));mxEvent.addListener(this.chromelessToolbar,"mousemove",mxUtils.bind(this,function(M){mxEvent.isShiftDown(M)?H():K(100);mxEvent.consume(M)}));mxEvent.addListener(this.chromelessToolbar,
+"mouseleave",mxUtils.bind(this,function(M){mxEvent.isTouchEvent(M)||K(30)}));var S=a.getTolerance();a.addMouseListener({startX:0,startY:0,scrollLeft:0,scrollTop:0,mouseDown:function(M,ea){this.startX=ea.getGraphX();this.startY=ea.getGraphY();this.scrollLeft=a.container.scrollLeft;this.scrollTop=a.container.scrollTop},mouseMove:function(M,ea){},mouseUp:function(M,ea){mxEvent.isTouchEvent(ea.getEvent())&&Math.abs(this.scrollLeft-a.container.scrollLeft)<S&&Math.abs(this.scrollTop-a.container.scrollTop)<
+S&&Math.abs(this.startX-ea.getGraphX())<S&&Math.abs(this.startY-ea.getGraphY())<S&&(0<parseFloat(e.chromelessToolbar.style.opacity||0)?H():K(30))}})}this.editor.editable||this.addChromelessClickHandler()}else if(this.editor.extendCanvas){var Y=a.view.validate,V=new mxPoint,L=!1,U=null;a.view.validate=function(){if(null!=a.container&&mxUtils.hasScrollbars(a.container)){if(null!=e.currentPage&&U!=e.currentPage){U=e.currentPage;L=!0;var M=a.getBoundingBoxFromGeometry(a.model.getCells(),!0,null,!0);null==
+M&&(M=new mxRectangle(a.view.translate.x*a.view.scale,a.view.translate.y*a.view.scale));M=a.getPageLayout(M,V,1);var ea=a.getDefaultTranslate(M);this.x0=M.x;this.y0=M.y;if(ea.x!=this.translate.x||ea.y!=this.translate.y)this.invalidate(),this.translate.x=ea.x,this.translate.y=ea.y}ea=a.getPagePadding();var ra=a.getPageSize();M=ea.x-(this.x0||0)*ra.width;ea=ea.y-(this.y0||0)*ra.height;if(this.translate.x!=M||this.translate.y!=ea)this.invalidate(),this.translate.x=M,this.translate.y=ea}Y.apply(this,
+arguments)};if(!a.isViewer()){var ba=a.sizeDidChange;a.sizeDidChange=function(){var M=L;L=!1;if(null!=this.container&&mxUtils.hasScrollbars(this.container)){this.updateMinimumSize();if(!this.autoTranslate){var ea=this.getPageLayout(),ra=this.getDefaultTranslate(ea),ta=this.view.translate.x,Sa=this.view.translate.y;if(ra.x!=ta||ra.y!=Sa){this.view.x0=ea.x;this.view.y0=ea.y;this.autoTranslate=!0;this.view.setTranslate(ra.x,ra.y);this.autoTranslate=!1;M||(this.container.scrollLeft+=Math.round((ra.x-
+ta)*this.view.scale),this.container.scrollTop+=Math.round((ra.y-Sa)*this.view.scale));return}}ba.apply(this,arguments)}else this.fireEvent(new mxEventObject(mxEvent.SIZE,"bounds",this.getGraphBounds()))}}}var ja=a.view.getBackgroundPane(),sa=a.view.getDrawPane();a.cumulativeZoomFactor=1;var O=null,T=null,X=null,ca=null,na=null,pa=function(M){null!=O&&window.clearTimeout(O);0<=M&&window.setTimeout(function(){if(!a.isMouseDown||ca)O=window.setTimeout(mxUtils.bind(this,function(){a.isFastZoomEnabled()&&
+(null!=a.view.backgroundPageShape&&null!=a.view.backgroundPageShape.node&&(mxUtils.setPrefixedStyle(a.view.backgroundPageShape.node.style,"transform-origin",null),mxUtils.setPrefixedStyle(a.view.backgroundPageShape.node.style,"transform",null)),sa.style.transformOrigin="",ja.style.transformOrigin="",mxClient.IS_SF?(sa.style.transform="scale(1)",ja.style.transform="scale(1)",window.setTimeout(function(){sa.style.transform="";ja.style.transform=""},0)):(sa.style.transform="",ja.style.transform=""),
+a.view.getDecoratorPane().style.opacity="",a.view.getOverlayPane().style.opacity="");var ea=new mxPoint(a.container.scrollLeft,a.container.scrollTop),ra=mxUtils.getOffset(a.container),ta=a.view.scale,Sa=0,ma=0;null!=T&&(Sa=a.container.offsetWidth/2-T.x+ra.x,ma=a.container.offsetHeight/2-T.y+ra.y);a.zoom(a.cumulativeZoomFactor,null,a.isFastZoomEnabled()?20:null);a.view.scale!=ta&&(null!=X&&(Sa+=ea.x-X.x,ma+=ea.y-X.y),null!=b&&e.chromelessResize(!1,null,Sa*(a.cumulativeZoomFactor-1),ma*(a.cumulativeZoomFactor-
+1)),!mxUtils.hasScrollbars(a.container)||0==Sa&&0==ma||(a.container.scrollLeft-=Sa*(a.cumulativeZoomFactor-1),a.container.scrollTop-=ma*(a.cumulativeZoomFactor-1)));null!=na&&sa.setAttribute("filter",na);a.cumulativeZoomFactor=1;na=ca=T=X=O=null}),null!=M?M:a.isFastZoomEnabled()?e.wheelZoomDelay:e.lazyZoomDelay)},0)};a.lazyZoom=function(M,ea,ra,ta){ta=null!=ta?ta:this.zoomFactor;(ea=ea||!a.scrollbars)&&(T=new mxPoint(a.container.offsetLeft+a.container.clientWidth/2,a.container.offsetTop+a.container.clientHeight/
+2));M?.15>=this.view.scale*this.cumulativeZoomFactor?this.cumulativeZoomFactor*=(this.view.scale+.05)/this.view.scale:(this.cumulativeZoomFactor*=ta,this.cumulativeZoomFactor=Math.round(this.view.scale*this.cumulativeZoomFactor*100)/100/this.view.scale):.15>=this.view.scale*this.cumulativeZoomFactor?this.cumulativeZoomFactor*=(this.view.scale-.05)/this.view.scale:(this.cumulativeZoomFactor/=ta,this.cumulativeZoomFactor=Math.round(this.view.scale*this.cumulativeZoomFactor*100)/100/this.view.scale);
+this.cumulativeZoomFactor=Math.max(.05,Math.min(this.view.scale*this.cumulativeZoomFactor,160))/this.view.scale;if(a.isFastZoomEnabled()){null==na&&""!=sa.getAttribute("filter")&&(na=sa.getAttribute("filter"),sa.removeAttribute("filter"));X=new mxPoint(a.container.scrollLeft,a.container.scrollTop);M=Math.round(Math.round(this.view.scale*this.cumulativeZoomFactor*100)/100*20)/(20*this.view.scale);ta=ea||null==T?a.container.scrollLeft+a.container.clientWidth/2:T.x+a.container.scrollLeft-a.container.offsetLeft;
+var Sa=ea||null==T?a.container.scrollTop+a.container.clientHeight/2:T.y+a.container.scrollTop-a.container.offsetTop;sa.style.transformOrigin=ta+"px "+Sa+"px";sa.style.transform="scale("+M+")";ja.style.transformOrigin=ta+"px "+Sa+"px";ja.style.transform="scale("+M+")";null!=a.view.backgroundPageShape&&null!=a.view.backgroundPageShape.node?(ta=a.view.backgroundPageShape.node,mxUtils.setPrefixedStyle(ta.style,"transform-origin",(ea||null==T?a.container.clientWidth/2+a.container.scrollLeft-ta.offsetLeft+
+"px":T.x+a.container.scrollLeft-ta.offsetLeft-a.container.offsetLeft+"px")+" "+(ea||null==T?a.container.clientHeight/2+a.container.scrollTop-ta.offsetTop+"px":T.y+a.container.scrollTop-ta.offsetTop-a.container.offsetTop+"px")),mxUtils.setPrefixedStyle(ta.style,"transform","scale("+M+")")):a.view.validateBackgroundStyles(M,ta,Sa);a.view.getDecoratorPane().style.opacity="0";a.view.getOverlayPane().style.opacity="0";null!=e.hoverIcons&&e.hoverIcons.reset();a.fireEvent(new mxEventObject("zoomPreview",
+"factor",M))}pa(a.isFastZoomEnabled()?ra:0)};mxEvent.addGestureListeners(a.container,function(M){null!=O&&window.clearTimeout(O)},null,function(M){1!=a.cumulativeZoomFactor&&pa(0)});mxEvent.addListener(a.container,"scroll",function(M){null==O||a.isMouseDown||1==a.cumulativeZoomFactor||pa(0)});mxEvent.addMouseWheelListener(mxUtils.bind(this,function(M,ea,ra,ta,Sa){a.fireEvent(new mxEventObject("wheel"));if(null==this.dialogs||0==this.dialogs.length)if(!a.scrollbars&&!ra&&a.isScrollWheelEvent(M))ra=
+a.view.getTranslate(),ta=40/a.view.scale,mxEvent.isShiftDown(M)?a.view.setTranslate(ra.x+(ea?-ta:ta),ra.y):a.view.setTranslate(ra.x,ra.y+(ea?ta:-ta));else if(ra||a.isZoomWheelEvent(M))for(var ma=mxEvent.getSource(M);null!=ma;){if(ma==a.container)return a.tooltipHandler.hideTooltip(),T=null!=ta&&null!=Sa?new mxPoint(ta,Sa):new mxPoint(mxEvent.getClientX(M),mxEvent.getClientY(M)),ca=ra,ra=a.zoomFactor,ta=null,M.ctrlKey&&null!=M.deltaY&&40>Math.abs(M.deltaY)&&Math.round(M.deltaY)!=M.deltaY?ra=1+Math.abs(M.deltaY)/
+20*(ra-1):null!=M.movementY&&"pointermove"==M.type&&(ra=1+Math.max(1,Math.abs(M.movementY))/20*(ra-1),ta=-1),a.lazyZoom(ea,null,ta,ra),mxEvent.consume(M),!1;ma=ma.parentNode}}),a.container);a.panningHandler.zoomGraph=function(M){a.cumulativeZoomFactor=M.scale;a.lazyZoom(0<M.scale,!0);mxEvent.consume(M)}};EditorUi.prototype.addChromelessToolbarItems=function(a){a(mxUtils.bind(this,function(b){this.actions.get("print").funct();mxEvent.consume(b)}),Editor.printImage,mxResources.get("print"))};
EditorUi.prototype.isPagesEnabled=function(){return this.editor.editable||"1"!=urlParams["hide-pages"]};EditorUi.prototype.createTemporaryGraph=function(a){return Graph.createOffscreenGraph(a)};EditorUi.prototype.addChromelessClickHandler=function(){var a=urlParams.highlight;null!=a&&0<a.length&&(a="#"+a);this.editor.graph.addClickHandler(a)};
EditorUi.prototype.toggleFormatPanel=function(a){a=null!=a?a:0==this.formatWidth;null!=this.format&&(this.formatWidth=a?240:0,this.formatContainer.style.width=this.formatWidth+"px",this.refresh(),this.format.refresh(),this.fireEvent(new mxEventObject("formatWidthChanged")))};EditorUi.prototype.isFormatPanelVisible=function(){return 0<this.formatWidth};
-EditorUi.prototype.lightboxFit=function(a){if(this.isDiagramEmpty())this.editor.graph.view.setScale(1);else{var b=urlParams.border,d=60;null!=b&&(d=parseInt(b));this.editor.graph.maxFitScale=this.lightboxMaxFitScale;this.editor.graph.fit(d,null,null,null,null,null,a);this.editor.graph.maxFitScale=null}};EditorUi.prototype.isDiagramEmpty=function(){var a=this.editor.graph.getModel();return 1==a.getChildCount(a.root)&&0==a.getChildCount(a.getChildAt(a.root,0))};
+EditorUi.prototype.lightboxFit=function(a){if(this.isDiagramEmpty())this.editor.graph.view.setScale(1);else{var b=urlParams.border,e=60;null!=b&&(e=parseInt(b));this.editor.graph.maxFitScale=this.lightboxMaxFitScale;this.editor.graph.fit(e,null,null,null,null,null,a);this.editor.graph.maxFitScale=null}};EditorUi.prototype.isDiagramEmpty=function(){var a=this.editor.graph.getModel();return 1==a.getChildCount(a.root)&&0==a.getChildCount(a.getChildAt(a.root,0))};
EditorUi.prototype.isSelectionAllowed=function(a){return"SELECT"==mxEvent.getSource(a).nodeName||"INPUT"==mxEvent.getSource(a).nodeName&&mxUtils.isAncestorNode(this.formatContainer,mxEvent.getSource(a))};EditorUi.prototype.addBeforeUnloadListener=function(){window.onbeforeunload=mxUtils.bind(this,function(){if(!this.editor.isChromelessView())return this.onBeforeUnload()})};EditorUi.prototype.onBeforeUnload=function(){if(this.editor.modified)return mxResources.get("allChangesLost")};
-EditorUi.prototype.open=function(){try{null!=window.opener&&null!=window.opener.openFile&&window.opener.openFile.setConsumer(mxUtils.bind(this,function(a,b){try{var d=mxUtils.parseXml(a);this.editor.setGraphXml(d.documentElement);this.editor.setModified(!1);this.editor.undoManager.clear();null!=b&&(this.editor.setFilename(b),this.updateDocumentTitle())}catch(e){mxUtils.alert(mxResources.get("invalidOrMissingFile")+": "+e.message)}}))}catch(a){}this.editor.graph.view.validate();this.editor.graph.sizeDidChange();
+EditorUi.prototype.open=function(){try{null!=window.opener&&null!=window.opener.openFile&&window.opener.openFile.setConsumer(mxUtils.bind(this,function(a,b){try{var e=mxUtils.parseXml(a);this.editor.setGraphXml(e.documentElement);this.editor.setModified(!1);this.editor.undoManager.clear();null!=b&&(this.editor.setFilename(b),this.updateDocumentTitle())}catch(f){mxUtils.alert(mxResources.get("invalidOrMissingFile")+": "+f.message)}}))}catch(a){}this.editor.graph.view.validate();this.editor.graph.sizeDidChange();
this.editor.fireEvent(new mxEventObject("resetGraphView"))};EditorUi.prototype.showPrintDialog=function(a,b){this.showDialog((new PrintDialog(this,a,b)).container,300,180,!0,!0)};
-EditorUi.prototype.showPopupMenu=function(a,b,d,e){this.editor.graph.popupMenuHandler.hideMenu();var g=new mxPopupMenu(a);g.div.className+=" geMenubarMenu";g.smartSeparators=!0;g.showDisabled=!0;g.autoExpand=!0;g.hideMenu=mxUtils.bind(this,function(){mxPopupMenu.prototype.hideMenu.apply(g,arguments);g.destroy()});g.popup(b,d,null,e);this.setCurrentMenu(g)};EditorUi.prototype.setCurrentMenu=function(a,b){this.currentMenuElt=b;this.currentMenu=a;this.hideShapePicker()};
+EditorUi.prototype.showPopupMenu=function(a,b,e,f){this.editor.graph.popupMenuHandler.hideMenu();var h=new mxPopupMenu(a);h.div.className+=" geMenubarMenu";h.smartSeparators=!0;h.showDisabled=!0;h.autoExpand=!0;h.hideMenu=mxUtils.bind(this,function(){mxPopupMenu.prototype.hideMenu.apply(h,arguments);h.destroy()});h.popup(b,e,null,f);this.setCurrentMenu(h)};EditorUi.prototype.setCurrentMenu=function(a,b){this.currentMenuElt=b;this.currentMenu=a;this.hideShapePicker()};
EditorUi.prototype.resetCurrentMenu=function(){this.currentMenu=this.currentMenuElt=null};EditorUi.prototype.hideCurrentMenu=function(){null!=this.currentMenu&&(this.currentMenu.hideMenu(),this.resetCurrentMenu())};EditorUi.prototype.updateDocumentTitle=function(){var a=this.editor.getOrCreateFilename();null!=this.editor.appName&&(a+=" - "+this.editor.appName);document.title=a};EditorUi.prototype.createHoverIcons=function(){return new HoverIcons(this.editor.graph)};
-EditorUi.prototype.redo=function(){try{this.editor.graph.isEditing()?document.execCommand("redo",!1,null):this.editor.undoManager.redo()}catch(a){}};EditorUi.prototype.undo=function(){try{var a=this.editor.graph;if(a.isEditing()){var b=a.cellEditor.textarea.innerHTML;document.execCommand("undo",!1,null);b==a.cellEditor.textarea.innerHTML&&(a.stopEditing(!0),this.editor.undoManager.undo())}else this.editor.undoManager.undo()}catch(d){}};
+EditorUi.prototype.redo=function(){try{this.editor.graph.isEditing()?document.execCommand("redo",!1,null):this.editor.undoManager.redo()}catch(a){}};EditorUi.prototype.undo=function(){try{var a=this.editor.graph;if(a.isEditing()){var b=a.cellEditor.textarea.innerHTML;document.execCommand("undo",!1,null);b==a.cellEditor.textarea.innerHTML&&(a.stopEditing(!0),this.editor.undoManager.undo())}else this.editor.undoManager.undo()}catch(e){}};
EditorUi.prototype.canRedo=function(){return this.editor.graph.isEditing()||this.editor.undoManager.canRedo()};EditorUi.prototype.canUndo=function(){return this.editor.graph.isEditing()||this.editor.undoManager.canUndo()};EditorUi.prototype.getDiagramSnapshot=function(){return{node:this.editor.getGraphXml()}};EditorUi.prototype.updateDiagramData=function(a,b){this.replaceDiagramData(xUtils.getXml(b))};EditorUi.prototype.replaceDiagramData=function(a){this.editor.graph.model.beginUpdate();try{this.editor.setGraphXml(mxUtils.parseXml(a).documentElement)}finally{this.editor.graph.model.endUpdate()}};
-EditorUi.prototype.getEditBlankXml=function(){return mxUtils.getXml(this.editor.getGraphXml())};EditorUi.prototype.getUrl=function(a){a=null!=a?a:window.location.pathname;var b=0<a.indexOf("?")?1:0,d;for(d in urlParams)a=0==b?a+"?":a+"&",a+=d+"="+urlParams[d],b++;return a};
-EditorUi.prototype.setScrollbars=function(a){var b=this.editor.graph,d=b.container.style.overflow;b.scrollbars=a;this.editor.updateGraphComponents();d!=b.container.style.overflow&&(b.container.scrollTop=0,b.container.scrollLeft=0,b.view.scaleAndTranslate(1,0,0),this.resetScrollbars());this.fireEvent(new mxEventObject("scrollbarsChanged"))};
-EditorUi.prototype.fitDiagramToWindow=function(){var a=this.editor.graph,b=a.isSelectionEmpty()?mxRectangle.fromRectangle(a.getGraphBounds()):a.getBoundingBox(a.getSelectionCells()),d=a.view.translate,e=a.view.scale;b.x=b.x/e-d.x;b.y=b.y/e-d.y;b.width/=e;b.height/=e;null!=a.backgroundImage&&b.add(new mxRectangle(0,0,a.backgroundImage.width,a.backgroundImage.height));0==b.width||0==b.height?(a.zoomTo(1),this.resetScrollbars()):(d=Editor.fitWindowBorders,null!=d&&(b.x-=d.x,b.y-=d.y,b.width+=d.width+
-d.x,b.height+=d.height+d.y),a.fitWindow(b))};EditorUi.prototype.hasScrollbars=function(){return this.editor.graph.scrollbars};
-EditorUi.prototype.resetScrollbars=function(){var a=this.editor.graph,b=a.container;if(!this.editor.extendCanvas)b.scrollTop=0,b.scrollLeft=0,mxUtils.hasScrollbars(b)||a.view.setTranslate(0,0);else if(!this.editor.isChromelessView())if(mxUtils.hasScrollbars(b))if(a.pageVisible){var d=a.getPagePadding();b.scrollTop=Math.floor(d.y-this.editor.initialTopSpacing)-1;b.scrollLeft=Math.floor(Math.min(d.x,(b.scrollWidth-b.clientWidth)/2))-1;d=a.getGraphBounds();0<d.width&&0<d.height&&(d.x>b.scrollLeft+.9*
-b.clientWidth&&(b.scrollLeft=Math.min(d.x+d.width-b.clientWidth,d.x-10)),d.y>b.scrollTop+.9*b.clientHeight&&(b.scrollTop=Math.min(d.y+d.height-b.clientHeight,d.y-10)))}else if(d=a.getGraphBounds(),0==d.width&&0==d.height)b.scrollLeft=(b.scrollWidth-b.clientWidth)/2,b.scrollTop=(b.scrollHeight-b.clientHeight)/2;else{var e=Math.max(d.height,a.scrollTileSize.height*a.view.scale);b.scrollLeft=Math.floor(Math.max(0,d.x-Math.max(0,(b.clientWidth-Math.max(d.width,a.scrollTileSize.width*a.view.scale))/2)));
-b.scrollTop=Math.floor(Math.max(0,d.y-Math.max(20,(b.clientHeight-e)/4)))}else{d=mxRectangle.fromRectangle(a.pageVisible?a.view.getBackgroundPageBounds():a.getGraphBounds());e=a.view.translate;var g=a.view.scale;d.x=d.x/g-e.x;d.y=d.y/g-e.y;d.width/=g;d.height/=g;a.view.setTranslate(Math.floor(Math.max(0,(b.clientWidth-d.width)/2)-d.x+2),Math.floor((a.pageVisible?0:Math.max(0,(b.clientHeight-d.height)/4))-d.y+1))}};
-EditorUi.prototype.setPageVisible=function(a){var b=this.editor.graph,d=mxUtils.hasScrollbars(b.container),e=0,g=0;d&&(e=b.view.translate.x*b.view.scale-b.container.scrollLeft,g=b.view.translate.y*b.view.scale-b.container.scrollTop);b.pageVisible=a;b.pageBreaksVisible=a;b.preferPageSize=a;b.view.validateBackground();if(d){var f=b.getSelectionCells();b.clearSelection();b.setSelectionCells(f)}b.sizeDidChange();d&&(b.container.scrollLeft=b.view.translate.x*b.view.scale-e,b.container.scrollTop=b.view.translate.y*
-b.view.scale-g);b.defaultPageVisible=a;this.fireEvent(new mxEventObject("pageViewChanged"))};
-EditorUi.prototype.installResizeHandler=function(a,b,d){b&&(a.window.setSize=function(g,f){if(!this.minimized){var h=window.innerHeight||document.body.clientHeight||document.documentElement.clientHeight;g=Math.min(g,(window.innerWidth||document.body.clientWidth||document.documentElement.clientWidth)-this.getX());f=Math.min(f,h-this.getY())}mxWindow.prototype.setSize.apply(this,arguments)});a.window.setLocation=function(g,f){var h=window.innerWidth||document.body.clientWidth||document.documentElement.clientWidth,
-n=window.innerHeight||document.body.clientHeight||document.documentElement.clientHeight,q=parseInt(this.div.style.width),l=parseInt(this.div.style.height);g=Math.max(0,Math.min(g,h-q));f=Math.max(0,Math.min(f,n-l));this.getX()==g&&this.getY()==f||mxWindow.prototype.setLocation.apply(this,arguments);b&&!this.minimized&&this.setSize(q,l)};var e=mxUtils.bind(this,function(){var g=a.window.getX(),f=a.window.getY();a.window.setLocation(g,f)});mxEvent.addListener(window,"resize",e);a.destroy=function(){mxEvent.removeListener(window,
-"resize",e);a.window.destroy();null!=d&&d()}};function ChangeGridColor(a,b){this.ui=a;this.color=b}ChangeGridColor.prototype.execute=function(){var a=this.ui.editor.graph.view.gridColor;this.ui.setGridColor(this.color);this.color=a};(function(){var a=new mxObjectCodec(new ChangeGridColor,["ui"]);mxCodecRegistry.register(a)})();
-function ChangePageSetup(a,b,d,e,g){this.ui=a;this.previousColor=this.color=b;this.previousImage=this.image=d;this.previousFormat=this.format=e;this.previousPageScale=this.pageScale=g;this.ignoreImage=this.ignoreColor=!1}
-ChangePageSetup.prototype.execute=function(){var a=this.ui.editor.graph;if(!this.ignoreColor){this.color=this.previousColor;var b=a.background;this.ui.setBackgroundColor(this.previousColor);this.previousColor=b}if(!this.ignoreImage){this.image=this.previousImage;b=a.backgroundImage;var d=this.previousImage;null!=d&&Graph.isPageLink(d.src)&&(d=this.ui.createImageForPageLink(d.src,this.ui.currentPage));this.ui.setBackgroundImage(d);this.previousImage=b}null!=this.previousFormat&&(this.format=this.previousFormat,
+EditorUi.prototype.getEditBlankXml=function(){return mxUtils.getXml(this.editor.getGraphXml())};EditorUi.prototype.getUrl=function(a){a=null!=a?a:window.location.pathname;var b=0<a.indexOf("?")?1:0,e;for(e in urlParams)a=0==b?a+"?":a+"&",a+=e+"="+urlParams[e],b++;return a};
+EditorUi.prototype.setScrollbars=function(a){var b=this.editor.graph,e=b.container.style.overflow;b.scrollbars=a;this.editor.updateGraphComponents();e!=b.container.style.overflow&&(b.container.scrollTop=0,b.container.scrollLeft=0,b.view.scaleAndTranslate(1,0,0),this.resetScrollbars());this.fireEvent(new mxEventObject("scrollbarsChanged"))};
+EditorUi.prototype.fitDiagramToWindow=function(){var a=this.editor.graph,b=a.isSelectionEmpty()?mxRectangle.fromRectangle(a.getGraphBounds()):a.getBoundingBox(a.getSelectionCells()),e=a.view.translate,f=a.view.scale;b.x=b.x/f-e.x;b.y=b.y/f-e.y;b.width/=f;b.height/=f;null!=a.backgroundImage&&b.add(new mxRectangle(0,0,a.backgroundImage.width,a.backgroundImage.height));0==b.width||0==b.height?(a.zoomTo(1),this.resetScrollbars()):(e=Editor.fitWindowBorders,null!=e&&(b.x-=e.x,b.y-=e.y,b.width+=e.width+
+e.x,b.height+=e.height+e.y),a.fitWindow(b))};EditorUi.prototype.hasScrollbars=function(){return this.editor.graph.scrollbars};
+EditorUi.prototype.resetScrollbars=function(){var a=this.editor.graph,b=a.container;if(!this.editor.extendCanvas)b.scrollTop=0,b.scrollLeft=0,mxUtils.hasScrollbars(b)||a.view.setTranslate(0,0);else if(!this.editor.isChromelessView())if(mxUtils.hasScrollbars(b))if(a.pageVisible){var e=a.getPagePadding();b.scrollTop=Math.floor(e.y-this.editor.initialTopSpacing)-1;b.scrollLeft=Math.floor(Math.min(e.x,(b.scrollWidth-b.clientWidth)/2))-1;e=a.getGraphBounds();0<e.width&&0<e.height&&(e.x>b.scrollLeft+.9*
+b.clientWidth&&(b.scrollLeft=Math.min(e.x+e.width-b.clientWidth,e.x-10)),e.y>b.scrollTop+.9*b.clientHeight&&(b.scrollTop=Math.min(e.y+e.height-b.clientHeight,e.y-10)))}else if(e=a.getGraphBounds(),0==e.width&&0==e.height)b.scrollLeft=(b.scrollWidth-b.clientWidth)/2,b.scrollTop=(b.scrollHeight-b.clientHeight)/2;else{var f=Math.max(e.height,a.scrollTileSize.height*a.view.scale);b.scrollLeft=Math.floor(Math.max(0,e.x-Math.max(0,(b.clientWidth-Math.max(e.width,a.scrollTileSize.width*a.view.scale))/2)));
+b.scrollTop=Math.floor(Math.max(0,e.y-Math.max(20,(b.clientHeight-f)/4)))}else{e=mxRectangle.fromRectangle(a.pageVisible?a.view.getBackgroundPageBounds():a.getGraphBounds());f=a.view.translate;var h=a.view.scale;e.x=e.x/h-f.x;e.y=e.y/h-f.y;e.width/=h;e.height/=h;a.view.setTranslate(Math.floor(Math.max(0,(b.clientWidth-e.width)/2)-e.x+2),Math.floor((a.pageVisible?0:Math.max(0,(b.clientHeight-e.height)/4))-e.y+1))}};
+EditorUi.prototype.setPageVisible=function(a){var b=this.editor.graph,e=mxUtils.hasScrollbars(b.container),f=0,h=0;e&&(f=b.view.translate.x*b.view.scale-b.container.scrollLeft,h=b.view.translate.y*b.view.scale-b.container.scrollTop);b.pageVisible=a;b.pageBreaksVisible=a;b.preferPageSize=a;b.view.validateBackground();if(e){var d=b.getSelectionCells();b.clearSelection();b.setSelectionCells(d)}b.sizeDidChange();e&&(b.container.scrollLeft=b.view.translate.x*b.view.scale-f,b.container.scrollTop=b.view.translate.y*
+b.view.scale-h);b.defaultPageVisible=a;this.fireEvent(new mxEventObject("pageViewChanged"))};
+EditorUi.prototype.installResizeHandler=function(a,b,e){b&&(a.window.setSize=function(h,d){if(!this.minimized){var g=window.innerHeight||document.body.clientHeight||document.documentElement.clientHeight;h=Math.min(h,(window.innerWidth||document.body.clientWidth||document.documentElement.clientWidth)-this.getX());d=Math.min(d,g-this.getY())}mxWindow.prototype.setSize.apply(this,arguments)});a.window.setLocation=function(h,d){var g=window.innerWidth||document.body.clientWidth||document.documentElement.clientWidth,
+n=window.innerHeight||document.body.clientHeight||document.documentElement.clientHeight,q=parseInt(this.div.style.width),k=parseInt(this.div.style.height);h=Math.max(0,Math.min(h,g-q));d=Math.max(0,Math.min(d,n-k));this.getX()==h&&this.getY()==d||mxWindow.prototype.setLocation.apply(this,arguments);b&&!this.minimized&&this.setSize(q,k)};var f=mxUtils.bind(this,function(){var h=a.window.getX(),d=a.window.getY();a.window.setLocation(h,d)});mxEvent.addListener(window,"resize",f);a.destroy=function(){mxEvent.removeListener(window,
+"resize",f);a.window.destroy();null!=e&&e()}};function ChangeGridColor(a,b){this.ui=a;this.color=b}ChangeGridColor.prototype.execute=function(){var a=this.ui.editor.graph.view.gridColor;this.ui.setGridColor(this.color);this.color=a};(function(){var a=new mxObjectCodec(new ChangeGridColor,["ui"]);mxCodecRegistry.register(a)})();
+function ChangePageSetup(a,b,e,f,h){this.ui=a;this.previousColor=this.color=b;this.previousImage=this.image=e;this.previousFormat=this.format=f;this.previousPageScale=this.pageScale=h;this.ignoreImage=this.ignoreColor=!1}
+ChangePageSetup.prototype.execute=function(){var a=this.ui.editor.graph;if(!this.ignoreColor){this.color=this.previousColor;var b=a.background;this.ui.setBackgroundColor(this.previousColor);this.previousColor=b}if(!this.ignoreImage){this.image=this.previousImage;b=a.backgroundImage;var e=this.previousImage;null!=e&&Graph.isPageLink(e.src)&&(e=this.ui.createImageForPageLink(e.src,this.ui.currentPage));this.ui.setBackgroundImage(e);this.previousImage=b}null!=this.previousFormat&&(this.format=this.previousFormat,
b=a.pageFormat,this.previousFormat.width!=b.width||this.previousFormat.height!=b.height)&&(this.ui.setPageFormat(this.previousFormat),this.previousFormat=b);null!=this.foldingEnabled&&this.foldingEnabled!=this.ui.editor.graph.foldingEnabled&&(this.ui.setFoldingEnabled(this.foldingEnabled),this.foldingEnabled=!this.foldingEnabled);null!=this.previousPageScale&&(a=this.ui.editor.graph.pageScale,this.previousPageScale!=a&&(this.ui.setPageScale(this.previousPageScale),this.previousPageScale=a))};
-(function(){var a=new mxObjectCodec(new ChangePageSetup,["ui","previousColor","previousImage","previousFormat","previousPageScale"]);a.afterDecode=function(b,d,e){e.previousColor=e.color;e.previousImage=e.image;e.previousFormat=e.format;e.previousPageScale=e.pageScale;null!=e.foldingEnabled&&(e.foldingEnabled=!e.foldingEnabled);return e};mxCodecRegistry.register(a)})();EditorUi.prototype.setBackgroundColor=function(a){this.editor.graph.background=a;this.editor.graph.view.validateBackground();this.fireEvent(new mxEventObject("backgroundColorChanged"))};
+(function(){var a=new mxObjectCodec(new ChangePageSetup,["ui","previousColor","previousImage","previousFormat","previousPageScale"]);a.afterDecode=function(b,e,f){f.previousColor=f.color;f.previousImage=f.image;f.previousFormat=f.format;f.previousPageScale=f.pageScale;null!=f.foldingEnabled&&(f.foldingEnabled=!f.foldingEnabled);return f};mxCodecRegistry.register(a)})();EditorUi.prototype.setBackgroundColor=function(a){this.editor.graph.background=a;this.editor.graph.view.validateBackground();this.fireEvent(new mxEventObject("backgroundColorChanged"))};
EditorUi.prototype.setFoldingEnabled=function(a){this.editor.graph.foldingEnabled=a;this.editor.graph.view.revalidate();this.fireEvent(new mxEventObject("foldingEnabledChanged"))};EditorUi.prototype.setPageFormat=function(a,b){b=null!=b?b:"1"==urlParams.sketch;this.editor.graph.pageFormat=a;b||(this.editor.graph.pageVisible?(this.editor.graph.view.validateBackground(),this.editor.graph.sizeDidChange()):this.actions.get("pageView").funct());this.fireEvent(new mxEventObject("pageFormatChanged"))};
EditorUi.prototype.setPageScale=function(a){this.editor.graph.pageScale=a;this.editor.graph.pageVisible?(this.editor.graph.view.validateBackground(),this.editor.graph.sizeDidChange()):this.actions.get("pageView").funct();this.fireEvent(new mxEventObject("pageScaleChanged"))};EditorUi.prototype.setGridColor=function(a){this.editor.graph.view.gridColor=a;this.editor.graph.view.validateBackground();this.fireEvent(new mxEventObject("gridColorChanged"))};
-EditorUi.prototype.addUndoListener=function(){var a=this.editor.undoManager,b=mxUtils.bind(this,function(){this.updateActionStates()});a.addListener(mxEvent.ADD,b);a.addListener(mxEvent.UNDO,b);a.addListener(mxEvent.REDO,b);a.addListener(mxEvent.CLEAR,b);var d=this.editor.graph.cellEditor.startEditing;this.editor.graph.cellEditor.startEditing=function(){d.apply(this,arguments);b()};var e=this.editor.graph.cellEditor.stopEditing;this.editor.graph.cellEditor.stopEditing=function(g,f){e.apply(this,arguments);
+EditorUi.prototype.addUndoListener=function(){var a=this.editor.undoManager,b=mxUtils.bind(this,function(){this.updateActionStates()});a.addListener(mxEvent.ADD,b);a.addListener(mxEvent.UNDO,b);a.addListener(mxEvent.REDO,b);a.addListener(mxEvent.CLEAR,b);var e=this.editor.graph.cellEditor.startEditing;this.editor.graph.cellEditor.startEditing=function(){e.apply(this,arguments);b()};var f=this.editor.graph.cellEditor.stopEditing;this.editor.graph.cellEditor.stopEditing=function(h,d){f.apply(this,arguments);
b()};b()};
-EditorUi.prototype.updateActionStates=function(){for(var a=this.editor.graph,b=this.getSelectionState(),d=a.isEnabled()&&!a.isCellLocked(a.getDefaultParent()),e=!this.editor.chromeless||this.editor.editable,g="cut copy bold italic underline delete duplicate editStyle editTooltip editLink backgroundColor borderColor edit toFront toBack solid dashed pasteSize dotted fillColor gradientColor shadow fontColor formattedText rounded toggleRounded strokeColor sharp snapToGrid".split(" "),f=0;f<g.length;f++)this.actions.get(g[f]).setEnabled(0<
-b.cells.length);this.actions.get("grid").setEnabled(e);this.actions.get("undo").setEnabled(this.canUndo()&&e);this.actions.get("redo").setEnabled(this.canRedo()&&e);this.actions.get("swap").setEnabled(2==b.cells.length&&2==b.vertices.length);this.actions.get("pasteSize").setEnabled(null!=this.copiedSize&&0<b.vertices.length);this.actions.get("pasteData").setEnabled(null!=this.copiedValue&&0<b.cells.length);this.actions.get("setAsDefaultStyle").setEnabled(1==a.getSelectionCount());this.actions.get("lockUnlock").setEnabled(!a.isSelectionEmpty());
+EditorUi.prototype.updateActionStates=function(){for(var a=this.editor.graph,b=this.getSelectionState(),e=a.isEnabled()&&!a.isCellLocked(a.getDefaultParent()),f=!this.editor.chromeless||this.editor.editable,h="cut copy bold italic underline delete duplicate editStyle editTooltip editLink backgroundColor borderColor edit toFront toBack solid dashed pasteSize dotted fillColor gradientColor shadow fontColor formattedText rounded toggleRounded strokeColor sharp snapToGrid".split(" "),d=0;d<h.length;d++)this.actions.get(h[d]).setEnabled(0<
+b.cells.length);this.actions.get("grid").setEnabled(f);this.actions.get("undo").setEnabled(this.canUndo()&&f);this.actions.get("redo").setEnabled(this.canRedo()&&f);this.actions.get("swap").setEnabled(2==b.cells.length&&2==b.vertices.length);this.actions.get("pasteSize").setEnabled(null!=this.copiedSize&&0<b.vertices.length);this.actions.get("pasteData").setEnabled(null!=this.copiedValue&&0<b.cells.length);this.actions.get("setAsDefaultStyle").setEnabled(1==a.getSelectionCount());this.actions.get("lockUnlock").setEnabled(!a.isSelectionEmpty());
this.actions.get("bringForward").setEnabled(1==b.cells.length);this.actions.get("sendBackward").setEnabled(1==b.cells.length);this.actions.get("rotation").setEnabled(1==b.vertices.length);this.actions.get("wordWrap").setEnabled(1==b.vertices.length);this.actions.get("autosize").setEnabled(0<b.vertices.length);this.actions.get("copySize").setEnabled(1==b.vertices.length);this.actions.get("clearWaypoints").setEnabled(b.connections);this.actions.get("clearAnchors").setEnabled(b.connections);this.actions.get("curved").setEnabled(0<
b.edges.length);this.actions.get("turn").setEnabled(0<b.cells.length);this.actions.get("group").setEnabled(1<b.cells.length||1==b.vertices.length&&0==a.model.getChildCount(b.cells[0])&&!a.isContainer(b.vertices[0]));this.actions.get("ungroup").setEnabled(!b.row&&!b.cell&&!b.table&&0<b.vertices.length&&(a.isContainer(b.vertices[0])||0<a.getModel().getChildCount(b.vertices[0])));this.actions.get("removeFromGroup").setEnabled(1==b.cells.length&&a.getModel().isVertex(a.getModel().getParent(b.cells[0])));
this.actions.get("collapsible").setEnabled(1==b.vertices.length&&(0<a.model.getChildCount(b.vertices[0])||a.isContainer(b.vertices[0])));this.actions.get("exitGroup").setEnabled(null!=a.view.currentRoot);this.actions.get("home").setEnabled(null!=a.view.currentRoot);this.actions.get("enterGroup").setEnabled(1==b.cells.length&&a.isValidRoot(b.cells[0]));this.actions.get("copyData").setEnabled(1==b.cells.length);this.actions.get("copyAsText").setEnabled(1==b.cells.length);this.actions.get("editLink").setEnabled(1==
-b.cells.length);this.actions.get("editStyle").setEnabled(0<b.cells.length);this.actions.get("editTooltip").setEnabled(1==b.cells.length);this.actions.get("openLink").setEnabled(1==b.cells.length&&null!=a.getLinkForCell(b.cells[0]));this.actions.get("guides").setEnabled(a.isEnabled());this.actions.get("selectVertices").setEnabled(d);this.actions.get("selectEdges").setEnabled(d);this.actions.get("selectAll").setEnabled(d);this.actions.get("selectNone").setEnabled(d);e=1==b.vertices.length&&a.isCellFoldable(b.vertices[0]);
-this.actions.get("expand").setEnabled(e);this.actions.get("collapse").setEnabled(e);this.menus.get("navigation").setEnabled(0<b.cells.length||null!=a.view.currentRoot);this.menus.get("layout").setEnabled(d);this.menus.get("insert").setEnabled(d);this.menus.get("direction").setEnabled(b.unlocked&&1==b.vertices.length);this.menus.get("distribute").setEnabled(b.unlocked&&1<b.vertices.length);this.menus.get("align").setEnabled(b.unlocked&&0<b.cells.length);this.updatePasteActionStates()};
+b.cells.length);this.actions.get("editStyle").setEnabled(0<b.cells.length);this.actions.get("editTooltip").setEnabled(1==b.cells.length);this.actions.get("openLink").setEnabled(1==b.cells.length&&null!=a.getLinkForCell(b.cells[0]));this.actions.get("guides").setEnabled(a.isEnabled());this.actions.get("selectVertices").setEnabled(e);this.actions.get("selectEdges").setEnabled(e);this.actions.get("selectAll").setEnabled(e);this.actions.get("selectNone").setEnabled(e);f=1==b.vertices.length&&a.isCellFoldable(b.vertices[0]);
+this.actions.get("expand").setEnabled(f);this.actions.get("collapse").setEnabled(f);this.menus.get("navigation").setEnabled(0<b.cells.length||null!=a.view.currentRoot);this.menus.get("layout").setEnabled(e);this.menus.get("insert").setEnabled(e);this.menus.get("direction").setEnabled(b.unlocked&&1==b.vertices.length);this.menus.get("distribute").setEnabled(b.unlocked&&1<b.vertices.length);this.menus.get("align").setEnabled(b.unlocked&&0<b.cells.length);this.updatePasteActionStates()};
EditorUi.prototype.zeroOffset=new mxPoint(0,0);EditorUi.prototype.getDiagramContainerOffset=function(){return this.zeroOffset};
-EditorUi.prototype.refresh=function(a){a=null!=a?a:!0;var b=this.container.clientWidth;this.container==document.body&&(b=document.body.clientWidth||document.documentElement.clientWidth);var d=0;mxClient.IS_IOS&&!window.navigator.standalone&&"undefined"!==typeof Menus&&window.innerHeight!=document.documentElement.clientHeight&&(d=document.documentElement.clientHeight-window.innerHeight,window.scrollTo(0,0));var e=Math.max(0,Math.min(this.hsplitPosition,b-this.splitSize-40));b=0;null!=this.menubar&&
-(this.menubarContainer.style.height=this.menubarHeight+"px",b+=this.menubarHeight);null!=this.toolbar&&(this.toolbarContainer.style.top=this.menubarHeight+"px",this.toolbarContainer.style.height=this.toolbarHeight+"px",b+=this.toolbarHeight);0<b&&(b+=1);var g=null!=this.format?this.formatWidth:0;this.sidebarContainer.style.top=b+"px";this.sidebarContainer.style.width=e+"px";this.formatContainer.style.top=b+"px";this.formatContainer.style.width=g+"px";this.formatContainer.style.display=null!=this.format?
-"":"none";var f=this.getDiagramContainerOffset(),h=null!=this.hsplit.parentNode?e:0;this.footerContainer.style.height=this.footerHeight+"px";this.hsplit.style.top=this.sidebarContainer.style.top;this.hsplit.style.left=e+"px";this.footerContainer.style.display=0==this.footerHeight?"none":"";null!=this.tabContainer?(this.tabContainer.style.left=h+"px",this.hsplit.style.bottom=this.tabContainer.offsetHeight+"px"):this.hsplit.style.bottom=this.footerHeight+d+"px";0<this.footerHeight&&(this.footerContainer.style.bottom=
-d+"px");e=0;null!=this.tabContainer&&(this.tabContainer.style.bottom=this.footerHeight+d+"px",this.tabContainer.style.right=g+"px",e=this.tabContainer.clientHeight,this.checkTabScrollerOverflow());this.sidebarContainer.style.bottom=this.footerHeight+d+"px";this.formatContainer.style.bottom=this.footerHeight+d+"px";this.diagramContainer.style.left=h+f.x+"px";this.diagramContainer.style.top=b+f.y+"px";this.diagramContainer.style.right=g+"px";this.diagramContainer.style.bottom=this.footerHeight+d+e+
+EditorUi.prototype.refresh=function(a){a=null!=a?a:!0;var b=this.container.clientWidth;this.container==document.body&&(b=document.body.clientWidth||document.documentElement.clientWidth);var e=0;mxClient.IS_IOS&&!window.navigator.standalone&&"undefined"!==typeof Menus&&window.innerHeight!=document.documentElement.clientHeight&&(e=document.documentElement.clientHeight-window.innerHeight,window.scrollTo(0,0));var f=Math.max(0,Math.min(this.hsplitPosition,b-this.splitSize-40));b=0;null!=this.menubar&&
+(this.menubarContainer.style.height=this.menubarHeight+"px",b+=this.menubarHeight);null!=this.toolbar&&(this.toolbarContainer.style.top=this.menubarHeight+"px",this.toolbarContainer.style.height=this.toolbarHeight+"px",b+=this.toolbarHeight);0<b&&(b+=1);var h=null!=this.format?this.formatWidth:0;this.sidebarContainer.style.top=b+"px";this.sidebarContainer.style.width=f+"px";this.formatContainer.style.top=b+"px";this.formatContainer.style.width=h+"px";this.formatContainer.style.display=null!=this.format?
+"":"none";var d=this.getDiagramContainerOffset(),g=null!=this.hsplit.parentNode?f:0;this.footerContainer.style.height=this.footerHeight+"px";this.hsplit.style.top=this.sidebarContainer.style.top;this.hsplit.style.left=f+"px";this.footerContainer.style.display=0==this.footerHeight?"none":"";null!=this.tabContainer?(this.tabContainer.style.left=g+"px",this.hsplit.style.bottom=this.tabContainer.offsetHeight+"px"):this.hsplit.style.bottom=this.footerHeight+e+"px";0<this.footerHeight&&(this.footerContainer.style.bottom=
+e+"px");f=0;null!=this.tabContainer&&(this.tabContainer.style.bottom=this.footerHeight+e+"px",this.tabContainer.style.right=h+"px",f=this.tabContainer.clientHeight,this.checkTabScrollerOverflow());this.sidebarContainer.style.bottom=this.footerHeight+e+"px";this.formatContainer.style.bottom=this.footerHeight+e+"px";this.diagramContainer.style.left=g+d.x+"px";this.diagramContainer.style.top=b+d.y+"px";this.diagramContainer.style.right=h+"px";this.diagramContainer.style.bottom=this.footerHeight+e+f+
"px";a&&this.editor.graph.sizeDidChange()};EditorUi.prototype.createTabContainer=function(){return null};
EditorUi.prototype.createDivs=function(){this.menubarContainer=this.createDiv("geMenubarContainer");this.toolbarContainer=this.createDiv("geToolbarContainer");this.sidebarContainer=this.createDiv("geSidebarContainer");this.formatContainer=this.createDiv("geSidebarContainer geFormatContainer");this.diagramContainer=this.createDiv("geDiagramContainer");this.footerContainer=this.createDiv("geFooterContainer");this.hsplit=this.createDiv("geHsplit");this.menubarContainer.style.top="0px";this.menubarContainer.style.left=
"0px";this.menubarContainer.style.right="0px";this.toolbarContainer.style.left="0px";this.toolbarContainer.style.right="0px";this.sidebarContainer.style.left="0px";this.sidebarContainer.style.zIndex="1";this.formatContainer.style.right="0px";this.formatContainer.style.zIndex="1";this.diagramContainer.style.right=(null!=this.format?this.formatWidth:0)+"px";this.footerContainer.style.left="0px";this.footerContainer.style.right="0px";this.footerContainer.style.bottom="0px";this.footerContainer.style.zIndex=
@@ -2230,66 +2230,66 @@ mxPopupMenu.prototype.zIndex-3;this.hsplit.style.width=this.splitSize+"px";this.
EditorUi.prototype.createUi=function(){this.menubar=this.editor.chromeless?null:this.menus.createMenubar(this.createDiv("geMenubar"));null!=this.menubar&&this.menubarContainer.appendChild(this.menubar.container);null!=this.menubar&&(this.statusContainer=this.createStatusContainer(),this.editor.addListener("statusChanged",mxUtils.bind(this,function(){this.setStatusText(this.editor.getStatus())})),this.setStatusText(this.editor.getStatus()),this.menubar.container.appendChild(this.statusContainer),this.container.appendChild(this.menubarContainer));
this.sidebar=this.editor.chromeless?null:this.createSidebar(this.sidebarContainer);null!=this.sidebar&&this.container.appendChild(this.sidebarContainer);this.format=this.editor.chromeless||!this.formatEnabled?null:this.createFormat(this.formatContainer);null!=this.format&&this.container.appendChild(this.formatContainer);var a=this.editor.chromeless?null:this.createFooter();null!=a&&(this.footerContainer.appendChild(a),this.container.appendChild(this.footerContainer));this.container.appendChild(this.diagramContainer);
null!=this.container&&null!=this.tabContainer&&this.container.appendChild(this.tabContainer);this.toolbar=this.editor.chromeless?null:this.createToolbar(this.createDiv("geToolbar"));null!=this.toolbar&&(this.toolbarContainer.appendChild(this.toolbar.container),this.container.appendChild(this.toolbarContainer));null!=this.sidebar&&(this.container.appendChild(this.hsplit),this.addSplitHandler(this.hsplit,!0,0,mxUtils.bind(this,function(b){this.hsplitPosition=b;this.refresh()})))};
-EditorUi.prototype.createStatusContainer=function(){var a=document.createElement("a");a.className="geItem geStatus";mxEvent.addListener(a,"click",mxUtils.bind(this,function(b){var d=mxEvent.getSource(b);if(d!=a)for(;d.parentNode!=a;)d=d.parentNode;if("A"!=d.nodeName){var e=d.getAttribute("data-action");if("statusFunction"==e&&null!=this.editor.statusFunction)this.editor.statusFunction();else if(null!=e)d=this.actions.get(e),null!=d&&d.funct();else{e=d.getAttribute("data-title");var g=d.getAttribute("data-message");
-null!=e&&null!=g?this.showError(e,g):(d=d.getAttribute("data-link"),null!=d&&this.editor.graph.openLink(d))}mxEvent.consume(b)}}));return a};
-EditorUi.prototype.setStatusText=function(a){this.statusContainer.innerHTML=Graph.sanitizeHtml(a);0==this.statusContainer.getElementsByTagName("div").length&&null!=a&&0<a.length&&(this.statusContainer.innerText="",a=this.createStatusDiv(a),this.statusContainer.appendChild(a));a=this.statusContainer.querySelectorAll('[data-effect="fade"]');if(null!=a)for(var b=0;b<a.length;b++)(function(d){mxUtils.setOpacity(d,0);mxUtils.setPrefixedStyle(d.style,"transform","scaleX(0)");mxUtils.setPrefixedStyle(d.style,
-"transition","all 0.2s ease");window.setTimeout(mxUtils.bind(this,function(){mxUtils.setOpacity(d,100);mxUtils.setPrefixedStyle(d.style,"transform","scaleX(1)");mxUtils.setPrefixedStyle(d.style,"transition","all 1s ease");window.setTimeout(mxUtils.bind(this,function(){mxUtils.setPrefixedStyle(d.style,"transform","scaleX(0)");mxUtils.setOpacity(d,0);window.setTimeout(mxUtils.bind(this,function(){null!=d.parentNode&&d.parentNode.removeChild(d)}),1E3)}),Editor.updateStatusInterval/2)}),0)})(a[b])};
+EditorUi.prototype.createStatusContainer=function(){var a=document.createElement("a");a.className="geItem geStatus";mxEvent.addListener(a,"click",mxUtils.bind(this,function(b){var e=mxEvent.getSource(b);if(e!=a)for(;e.parentNode!=a;)e=e.parentNode;if("A"!=e.nodeName){var f=e.getAttribute("data-action");if("statusFunction"==f&&null!=this.editor.statusFunction)this.editor.statusFunction();else if(null!=f)e=this.actions.get(f),null!=e&&e.funct();else{f=e.getAttribute("data-title");var h=e.getAttribute("data-message");
+null!=f&&null!=h?this.showError(f,h):(e=e.getAttribute("data-link"),null!=e&&this.editor.graph.openLink(e))}mxEvent.consume(b)}}));return a};
+EditorUi.prototype.setStatusText=function(a){this.statusContainer.innerHTML=Graph.sanitizeHtml(a);0==this.statusContainer.getElementsByTagName("div").length&&null!=a&&0<a.length&&(this.statusContainer.innerText="",a=this.createStatusDiv(a),this.statusContainer.appendChild(a));a=this.statusContainer.querySelectorAll('[data-effect="fade"]');if(null!=a)for(var b=0;b<a.length;b++)(function(e){mxUtils.setOpacity(e,0);mxUtils.setPrefixedStyle(e.style,"transform","scaleX(0)");mxUtils.setPrefixedStyle(e.style,
+"transition","all 0.2s ease");window.setTimeout(mxUtils.bind(this,function(){mxUtils.setOpacity(e,100);mxUtils.setPrefixedStyle(e.style,"transform","scaleX(1)");mxUtils.setPrefixedStyle(e.style,"transition","all 1s ease");window.setTimeout(mxUtils.bind(this,function(){mxUtils.setPrefixedStyle(e.style,"transform","scaleX(0)");mxUtils.setOpacity(e,0);window.setTimeout(mxUtils.bind(this,function(){null!=e.parentNode&&e.parentNode.removeChild(e)}),1E3)}),Editor.updateStatusInterval/2)}),0)})(a[b])};
EditorUi.prototype.createStatusDiv=function(a){var b=document.createElement("div");b.style.textOverflow="ellipsis";b.style.display="inline-block";b.style.whiteSpace="nowrap";b.style.overflow="hidden";b.style.minWidth="0";b.setAttribute("title",a);b.innerHTML=Graph.sanitizeHtml(a);return b};EditorUi.prototype.createToolbar=function(a){return new Toolbar(this,a)};EditorUi.prototype.createSidebar=function(a){return new Sidebar(this,a)};
EditorUi.prototype.createFormat=function(a){return new Format(this,a)};EditorUi.prototype.createFooter=function(){return this.createDiv("geFooter")};EditorUi.prototype.createDiv=function(a){var b=document.createElement("div");b.className=a;return b};
-EditorUi.prototype.addSplitHandler=function(a,b,d,e){function g(w){if(null!=h){var z=new mxPoint(mxEvent.getClientX(w),mxEvent.getClientY(w));e(Math.max(0,n+(b?z.x-h.x:h.y-z.y)-d));mxEvent.consume(w);n!=p()&&(q=!0,l=null)}}function f(w){g(w);h=n=null}var h=null,n=null,q=!0,l=null;mxClient.IS_POINTER&&(a.style.touchAction="none");var p=mxUtils.bind(this,function(){var w=parseInt(b?a.style.left:a.style.bottom);b||(w=w+d-this.footerHeight);return w});mxEvent.addGestureListeners(a,function(w){h=new mxPoint(mxEvent.getClientX(w),
-mxEvent.getClientY(w));n=p();q=!1;mxEvent.consume(w)});mxEvent.addListener(a,"click",mxUtils.bind(this,function(w){if(!q&&this.hsplitClickEnabled){var z=null!=l?l-d:0;l=p();e(z);mxEvent.consume(w)}}));mxEvent.addGestureListeners(document,null,g,f);this.destroyFunctions.push(function(){mxEvent.removeGestureListeners(document,null,g,f)})};
-EditorUi.prototype.prompt=function(a,b,d){a=new FilenameDialog(this,b,mxResources.get("apply"),function(e){d(parseFloat(e))},a);this.showDialog(a.container,300,80,!0,!0);a.init()};
-EditorUi.prototype.handleError=function(a,b,d,e,g){a=null!=a&&null!=a.error?a.error:a;if(null!=a||null!=b){g=mxUtils.htmlEntities(mxResources.get("unknownError"));var f=mxResources.get("ok");b=null!=b?b:mxResources.get("error");null!=a&&null!=a.message&&(g=mxUtils.htmlEntities(a.message));this.showError(b,g,f,d,null,null,null,null,null,null,null,null,e?d:null)}else null!=d&&d()};
-EditorUi.prototype.showError=function(a,b,d,e,g,f,h,n,q,l,p,w,z){a=new ErrorDialog(this,a,b,d||mxResources.get("ok"),e,g,f,h,w,n,q);b=Math.ceil(null!=b?b.length/50:1);this.showDialog(a.container,l||340,p||100+20*b,!0,!1,z);a.init()};EditorUi.prototype.showDialog=function(a,b,d,e,g,f,h,n,q,l){this.editor.graph.tooltipHandler.resetTimer();this.editor.graph.tooltipHandler.hideTooltip();null==this.dialogs&&(this.dialogs=[]);this.dialog=new Dialog(this,a,b,d,e,g,f,h,n,q,l);this.dialogs.push(this.dialog)};
-EditorUi.prototype.hideDialog=function(a,b,d){var e=null;if(null!=this.dialogs&&0<this.dialogs.length)for(var g=this.dialogs.length-1;0<=g;g--)if(!this.dialogs[g].closing){e=this.dialogs[g];break}null==e||null!=d&&d!=this.dialog.container.firstChild||(e.closing=!0,0==e.close(a,b)?delete e.closing:(delete e.closing,a=mxUtils.lastIndexOf(this.dialogs,e),0<=a&&this.dialogs.splice(a,1),this.dialog=0<this.dialogs.length?this.dialogs[this.dialogs.length-1]:null,this.editor.fireEvent(new mxEventObject("hideDialog")),
+EditorUi.prototype.addSplitHandler=function(a,b,e,f){function h(w){if(null!=g){var z=new mxPoint(mxEvent.getClientX(w),mxEvent.getClientY(w));f(Math.max(0,n+(b?z.x-g.x:g.y-z.y)-e));mxEvent.consume(w);n!=p()&&(q=!0,k=null)}}function d(w){h(w);g=n=null}var g=null,n=null,q=!0,k=null;mxClient.IS_POINTER&&(a.style.touchAction="none");var p=mxUtils.bind(this,function(){var w=parseInt(b?a.style.left:a.style.bottom);b||(w=w+e-this.footerHeight);return w});mxEvent.addGestureListeners(a,function(w){g=new mxPoint(mxEvent.getClientX(w),
+mxEvent.getClientY(w));n=p();q=!1;mxEvent.consume(w)});mxEvent.addListener(a,"click",mxUtils.bind(this,function(w){if(!q&&this.hsplitClickEnabled){var z=null!=k?k-e:0;k=p();f(z);mxEvent.consume(w)}}));mxEvent.addGestureListeners(document,null,h,d);this.destroyFunctions.push(function(){mxEvent.removeGestureListeners(document,null,h,d)})};
+EditorUi.prototype.prompt=function(a,b,e){a=new FilenameDialog(this,b,mxResources.get("apply"),function(f){e(parseFloat(f))},a);this.showDialog(a.container,300,80,!0,!0);a.init()};
+EditorUi.prototype.handleError=function(a,b,e,f,h){a=null!=a&&null!=a.error?a.error:a;if(null!=a||null!=b){h=mxUtils.htmlEntities(mxResources.get("unknownError"));var d=mxResources.get("ok");b=null!=b?b:mxResources.get("error");null!=a&&null!=a.message&&(h=mxUtils.htmlEntities(a.message));this.showError(b,h,d,e,null,null,null,null,null,null,null,null,f?e:null)}else null!=e&&e()};
+EditorUi.prototype.showError=function(a,b,e,f,h,d,g,n,q,k,p,w,z){a=new ErrorDialog(this,a,b,e||mxResources.get("ok"),f,h,d,g,w,n,q);b=Math.ceil(null!=b?b.length/50:1);this.showDialog(a.container,k||340,p||100+20*b,!0,!1,z);a.init()};EditorUi.prototype.showDialog=function(a,b,e,f,h,d,g,n,q,k){this.editor.graph.tooltipHandler.resetTimer();this.editor.graph.tooltipHandler.hideTooltip();null==this.dialogs&&(this.dialogs=[]);this.dialog=new Dialog(this,a,b,e,f,h,d,g,n,q,k);this.dialogs.push(this.dialog)};
+EditorUi.prototype.hideDialog=function(a,b,e){var f=null;if(null!=this.dialogs&&0<this.dialogs.length)for(var h=this.dialogs.length-1;0<=h;h--)if(!this.dialogs[h].closing){f=this.dialogs[h];break}null==f||null!=e&&e!=this.dialog.container.firstChild||(f.closing=!0,0==f.close(a,b)?delete f.closing:(delete f.closing,a=mxUtils.lastIndexOf(this.dialogs,f),0<=a&&this.dialogs.splice(a,1),this.dialog=0<this.dialogs.length?this.dialogs[this.dialogs.length-1]:null,this.editor.fireEvent(new mxEventObject("hideDialog")),
null==this.dialog&&null!=this.editor.graph.container&&"hidden"!=this.editor.graph.container.style.visibility&&window.setTimeout(mxUtils.bind(this,function(){null==this.editor||null!=this.dialogs&&0!=this.dialogs.length||(this.editor.graph.isEditing()&&null!=this.editor.graph.cellEditor.textarea?this.editor.graph.cellEditor.textarea.focus():(mxUtils.clearSelection(),this.editor.graph.container.focus()))}),0)))};
-EditorUi.prototype.ctrlEnter=function(){var a=this.editor.graph;if(a.isEnabled())try{for(var b=a.getSelectionCells(),d=new mxDictionary,e=[],g=0;g<b.length;g++){var f=a.isTableCell(b[g])?a.model.getParent(b[g]):b[g];null==f||d.get(f)||(d.put(f,!0),e.push(f))}a.setSelectionCells(a.duplicateCells(e,!1))}catch(h){this.handleError(h)}};
-EditorUi.prototype.pickColor=function(a,b,d,e){var g=this.editor.graph,f=g.cellEditor.saveSelection(),h=230+17*(Math.ceil(ColorDialog.prototype.presetColors.length/12)+Math.ceil(ColorDialog.prototype.defaultColors.length/12));a=new ColorDialog(this,"default"!=a?mxUtils.rgba2hex(a)||"none":a,function(n){g.cellEditor.restoreSelection(f);b(n)},function(){g.cellEditor.restoreSelection(f)},d,e);this.showDialog(a.container,230,h,!0,!1);a.init()};
+EditorUi.prototype.ctrlEnter=function(){var a=this.editor.graph;if(a.isEnabled())try{for(var b=a.getSelectionCells(),e=new mxDictionary,f=[],h=0;h<b.length;h++){var d=a.isTableCell(b[h])?a.model.getParent(b[h]):b[h];null==d||e.get(d)||(e.put(d,!0),f.push(d))}a.setSelectionCells(a.duplicateCells(f,!1))}catch(g){this.handleError(g)}};
+EditorUi.prototype.pickColor=function(a,b,e,f){var h=this.editor.graph,d=h.cellEditor.saveSelection(),g=230+17*(Math.ceil(ColorDialog.prototype.presetColors.length/12)+Math.ceil(ColorDialog.prototype.defaultColors.length/12));a=new ColorDialog(this,"default"!=a?mxUtils.rgba2hex(a)||"none":a,function(n){h.cellEditor.restoreSelection(d);b(n)},function(){h.cellEditor.restoreSelection(d)},e,f);this.showDialog(a.container,230,g,!0,!1);a.init()};
EditorUi.prototype.openFile=function(){window.openFile=new OpenFile(mxUtils.bind(this,function(a){this.hideDialog(a)}));this.showDialog((new OpenDialog(this)).container,Editor.useLocalStorage?640:320,Editor.useLocalStorage?480:220,!0,!0,function(){window.openFile=null})};
-EditorUi.prototype.base64ToBlob=function(a,b){b=b||"";a=atob(a);for(var d=a.length,e=Math.ceil(d/1024),g=Array(e),f=0;f<e;++f){for(var h=1024*f,n=Math.min(h+1024,d),q=Array(n-h),l=0;h<n;++l,++h)q[l]=a[h].charCodeAt(0);g[f]=new Uint8Array(q)}return new Blob(g,{type:b})};
-EditorUi.prototype.writeImageToClipboard=function(a,b,d,e){var g=this.base64ToBlob(a.substring(a.indexOf(",")+1),"image/png");a=new ClipboardItem({"image/png":g,"text/html":new Blob(['<img src="'+a+'" width="'+b+'" height="'+d+'">'],{type:"text/html"})});navigator.clipboard.write([a])["catch"](e)};EditorUi.prototype.writeHtmlToClipboard=function(a,b){a=new ClipboardItem({"text/plain":new Blob([Editor.convertHtmlToText(a)],{type:"text/plain"}),"text/html":new Blob([a],{type:"text/html"})});navigator.clipboard.write([a])["catch"](b)};
-EditorUi.prototype.writeTextToClipboard=function(a,b){navigator.clipboard.writeText(a)["catch"](b)};EditorUi.prototype.extractGraphModelFromHtml=function(a){var b=null;try{var d=a.indexOf("&lt;mxGraphModel ");if(0<=d){var e=a.lastIndexOf("&lt;/mxGraphModel&gt;");e>d&&(b=a.substring(d,e+21).replace(/&gt;/g,">").replace(/&lt;/g,"<").replace(/\\&quot;/g,'"').replace(/\n/g,""))}}catch(g){}return b};
-EditorUi.prototype.readGraphModelFromClipboard=function(a){this.readGraphModelFromClipboardWithType(mxUtils.bind(this,function(b){null!=b?a(b):this.readGraphModelFromClipboardWithType(mxUtils.bind(this,function(d){if(null!=d){var e=decodeURIComponent(d);this.isCompatibleString(e)&&(d=e)}a(d)}),"text")}),"html")};
-EditorUi.prototype.readGraphModelFromClipboardWithType=function(a,b){navigator.clipboard.read().then(mxUtils.bind(this,function(d){if(null!=d&&0<d.length&&"html"==b&&0<=mxUtils.indexOf(d[0].types,"text/html"))d[0].getType("text/html").then(mxUtils.bind(this,function(e){e.text().then(mxUtils.bind(this,function(g){try{var f=this.parseHtmlData(g),h="text/plain"!=f.getAttribute("data-type")?f.innerHTML:mxUtils.trim(null==f.innerText?mxUtils.getTextContent(f):f.innerText);try{var n=h.lastIndexOf("%3E");
-0<=n&&n<h.length-3&&(h=h.substring(0,n+3))}catch(p){}try{var q=f.getElementsByTagName("span"),l=null!=q&&0<q.length?mxUtils.trim(decodeURIComponent(q[0].textContent)):decodeURIComponent(h);this.isCompatibleString(l)&&(h=l)}catch(p){}}catch(p){}a(this.isCompatibleString(h)?h:null)}))["catch"](function(g){a(null)})}))["catch"](function(e){a(null)});else if(null!=d&&0<d.length&&"text"==b&&0<=mxUtils.indexOf(d[0].types,"text/plain"))d[0].getType("text/plain").then(function(e){e.text().then(function(g){a(g)})["catch"](function(){a(null)})})["catch"](function(){a(null)});
-else a(null)}))["catch"](function(d){a(null)})};
-EditorUi.prototype.parseHtmlData=function(a){var b=null;if(null!=a&&0<a.length){var d="<meta "==a.substring(0,6);b=document.createElement("div");b.innerHTML=(d?'<meta charset="utf-8">':"")+Graph.sanitizeHtml(a);asHtml=!0;a=b.getElementsByTagName("style");if(null!=a)for(;0<a.length;)a[0].parentNode.removeChild(a[0]);null!=b.firstChild&&b.firstChild.nodeType==mxConstants.NODETYPE_ELEMENT&&null!=b.firstChild.nextSibling&&b.firstChild.nextSibling.nodeType==mxConstants.NODETYPE_ELEMENT&&"META"==b.firstChild.nodeName&&
-"A"==b.firstChild.nextSibling.nodeName&&null==b.firstChild.nextSibling.nextSibling&&(a=null==b.firstChild.nextSibling.innerText?mxUtils.getTextContent(b.firstChild.nextSibling):b.firstChild.nextSibling.innerText,a==b.firstChild.nextSibling.getAttribute("href")&&(mxUtils.setTextContent(b,a),asHtml=!1));d=d&&null!=b.firstChild?b.firstChild.nextSibling:b.firstChild;null!=d&&null==d.nextSibling&&d.nodeType==mxConstants.NODETYPE_ELEMENT&&"IMG"==d.nodeName?(a=d.getAttribute("src"),null!=a&&(Editor.isPngDataUrl(a)&&
-(d=Editor.extractGraphModelFromPng(a),null!=d&&0<d.length&&(a=d)),mxUtils.setTextContent(b,a),asHtml=!1)):(d=b.getElementsByTagName("img"),1==d.length&&(d=d[0],a=d.getAttribute("src"),null!=a&&d.parentNode==b&&1==b.children.length&&(Editor.isPngDataUrl(a)&&(d=Editor.extractGraphModelFromPng(a),null!=d&&0<d.length&&(a=d)),mxUtils.setTextContent(b,a),asHtml=!1)));asHtml&&Graph.removePasteFormatting(b)}asHtml||b.setAttribute("data-type","text/plain");return b};
-EditorUi.prototype.extractGraphModelFromEvent=function(a){var b=null,d=null;null!=a&&(a=null!=a.dataTransfer?a.dataTransfer:a.clipboardData,null!=a&&(10==document.documentMode||11==document.documentMode?d=a.getData("Text"):(d=0<=mxUtils.indexOf(a.types,"text/html")?a.getData("text/html"):null,0<=mxUtils.indexOf(a.types,"text/plain")&&(null==d||0==d.length)&&(d=a.getData("text/plain"))),null!=d&&(d=Graph.zapGremlins(mxUtils.trim(d)),a=this.extractGraphModelFromHtml(d),null!=a&&(d=a))));null!=d&&this.isCompatibleString(d)&&
-(b=d);return b};EditorUi.prototype.isCompatibleString=function(a){return!1};EditorUi.prototype.saveFile=function(a){a||null==this.editor.filename?(a=new FilenameDialog(this,this.editor.getOrCreateFilename(),mxResources.get("save"),mxUtils.bind(this,function(b){this.save(b)}),null,mxUtils.bind(this,function(b){if(null!=b&&0<b.length)return!0;mxUtils.confirm(mxResources.get("invalidName"));return!1})),this.showDialog(a.container,340,96,!0,!0),a.init()):this.save(this.editor.getOrCreateFilename())};
+EditorUi.prototype.base64ToBlob=function(a,b){b=b||"";a=atob(a);for(var e=a.length,f=Math.ceil(e/1024),h=Array(f),d=0;d<f;++d){for(var g=1024*d,n=Math.min(g+1024,e),q=Array(n-g),k=0;g<n;++k,++g)q[k]=a[g].charCodeAt(0);h[d]=new Uint8Array(q)}return new Blob(h,{type:b})};
+EditorUi.prototype.writeImageToClipboard=function(a,b,e,f){var h=this.base64ToBlob(a.substring(a.indexOf(",")+1),"image/png");a=new ClipboardItem({"image/png":h,"text/html":new Blob(['<img src="'+a+'" width="'+b+'" height="'+e+'">'],{type:"text/html"})});navigator.clipboard.write([a])["catch"](f)};EditorUi.prototype.writeHtmlToClipboard=function(a,b){a=new ClipboardItem({"text/plain":new Blob([Editor.convertHtmlToText(a)],{type:"text/plain"}),"text/html":new Blob([a],{type:"text/html"})});navigator.clipboard.write([a])["catch"](b)};
+EditorUi.prototype.writeTextToClipboard=function(a,b){navigator.clipboard.writeText(a)["catch"](b)};EditorUi.prototype.extractGraphModelFromHtml=function(a){var b=null;try{var e=a.indexOf("&lt;mxGraphModel ");if(0<=e){var f=a.lastIndexOf("&lt;/mxGraphModel&gt;");f>e&&(b=a.substring(e,f+21).replace(/&gt;/g,">").replace(/&lt;/g,"<").replace(/\\&quot;/g,'"').replace(/\n/g,""))}}catch(h){}return b};
+EditorUi.prototype.readGraphModelFromClipboard=function(a){this.readGraphModelFromClipboardWithType(mxUtils.bind(this,function(b){null!=b?a(b):this.readGraphModelFromClipboardWithType(mxUtils.bind(this,function(e){if(null!=e){var f=decodeURIComponent(e);this.isCompatibleString(f)&&(e=f)}a(e)}),"text")}),"html")};
+EditorUi.prototype.readGraphModelFromClipboardWithType=function(a,b){navigator.clipboard.read().then(mxUtils.bind(this,function(e){if(null!=e&&0<e.length&&"html"==b&&0<=mxUtils.indexOf(e[0].types,"text/html"))e[0].getType("text/html").then(mxUtils.bind(this,function(f){f.text().then(mxUtils.bind(this,function(h){try{var d=this.parseHtmlData(h),g="text/plain"!=d.getAttribute("data-type")?d.innerHTML:mxUtils.trim(null==d.innerText?mxUtils.getTextContent(d):d.innerText);try{var n=g.lastIndexOf("%3E");
+0<=n&&n<g.length-3&&(g=g.substring(0,n+3))}catch(p){}try{var q=d.getElementsByTagName("span"),k=null!=q&&0<q.length?mxUtils.trim(decodeURIComponent(q[0].textContent)):decodeURIComponent(g);this.isCompatibleString(k)&&(g=k)}catch(p){}}catch(p){}a(this.isCompatibleString(g)?g:null)}))["catch"](function(h){a(null)})}))["catch"](function(f){a(null)});else if(null!=e&&0<e.length&&"text"==b&&0<=mxUtils.indexOf(e[0].types,"text/plain"))e[0].getType("text/plain").then(function(f){f.text().then(function(h){a(h)})["catch"](function(){a(null)})})["catch"](function(){a(null)});
+else a(null)}))["catch"](function(e){a(null)})};
+EditorUi.prototype.parseHtmlData=function(a){var b=null;if(null!=a&&0<a.length){var e="<meta "==a.substring(0,6);b=document.createElement("div");b.innerHTML=(e?'<meta charset="utf-8">':"")+Graph.sanitizeHtml(a);asHtml=!0;a=b.getElementsByTagName("style");if(null!=a)for(;0<a.length;)a[0].parentNode.removeChild(a[0]);null!=b.firstChild&&b.firstChild.nodeType==mxConstants.NODETYPE_ELEMENT&&null!=b.firstChild.nextSibling&&b.firstChild.nextSibling.nodeType==mxConstants.NODETYPE_ELEMENT&&"META"==b.firstChild.nodeName&&
+"A"==b.firstChild.nextSibling.nodeName&&null==b.firstChild.nextSibling.nextSibling&&(a=null==b.firstChild.nextSibling.innerText?mxUtils.getTextContent(b.firstChild.nextSibling):b.firstChild.nextSibling.innerText,a==b.firstChild.nextSibling.getAttribute("href")&&(mxUtils.setTextContent(b,a),asHtml=!1));e=e&&null!=b.firstChild?b.firstChild.nextSibling:b.firstChild;null!=e&&null==e.nextSibling&&e.nodeType==mxConstants.NODETYPE_ELEMENT&&"IMG"==e.nodeName?(a=e.getAttribute("src"),null!=a&&(Editor.isPngDataUrl(a)&&
+(e=Editor.extractGraphModelFromPng(a),null!=e&&0<e.length&&(a=e)),mxUtils.setTextContent(b,a),asHtml=!1)):(e=b.getElementsByTagName("img"),1==e.length&&(e=e[0],a=e.getAttribute("src"),null!=a&&e.parentNode==b&&1==b.children.length&&(Editor.isPngDataUrl(a)&&(e=Editor.extractGraphModelFromPng(a),null!=e&&0<e.length&&(a=e)),mxUtils.setTextContent(b,a),asHtml=!1)));asHtml&&Graph.removePasteFormatting(b)}asHtml||b.setAttribute("data-type","text/plain");return b};
+EditorUi.prototype.extractGraphModelFromEvent=function(a){var b=null,e=null;null!=a&&(a=null!=a.dataTransfer?a.dataTransfer:a.clipboardData,null!=a&&(10==document.documentMode||11==document.documentMode?e=a.getData("Text"):(e=0<=mxUtils.indexOf(a.types,"text/html")?a.getData("text/html"):null,0<=mxUtils.indexOf(a.types,"text/plain")&&(null==e||0==e.length)&&(e=a.getData("text/plain"))),null!=e&&(e=Graph.zapGremlins(mxUtils.trim(e)),a=this.extractGraphModelFromHtml(e),null!=a&&(e=a))));null!=e&&this.isCompatibleString(e)&&
+(b=e);return b};EditorUi.prototype.isCompatibleString=function(a){return!1};EditorUi.prototype.saveFile=function(a){a||null==this.editor.filename?(a=new FilenameDialog(this,this.editor.getOrCreateFilename(),mxResources.get("save"),mxUtils.bind(this,function(b){this.save(b)}),null,mxUtils.bind(this,function(b){if(null!=b&&0<b.length)return!0;mxUtils.confirm(mxResources.get("invalidName"));return!1})),this.showDialog(a.container,340,96,!0,!0),a.init()):this.save(this.editor.getOrCreateFilename())};
EditorUi.prototype.save=function(a){if(null!=a){this.editor.graph.isEditing()&&this.editor.graph.stopEditing();var b=mxUtils.getXml(this.editor.getGraphXml());try{if(Editor.useLocalStorage){if(null!=localStorage.getItem(a)&&!mxUtils.confirm(mxResources.get("replaceIt",[a])))return;localStorage.setItem(a,b);this.editor.setStatus(mxUtils.htmlEntities(mxResources.get("saved"))+" "+new Date)}else if(b.length<MAX_REQUEST_SIZE)(new mxXmlRequest(SAVE_URL,"filename="+encodeURIComponent(a)+"&xml="+encodeURIComponent(b))).simulate(document,
-"_blank");else{mxUtils.alert(mxResources.get("drawingTooLarge"));mxUtils.popup(b);return}this.editor.setModified(!1);this.editor.setFilename(a);this.updateDocumentTitle()}catch(d){this.editor.setStatus(mxUtils.htmlEntities(mxResources.get("errorSavingFile")))}}};
-EditorUi.prototype.executeLayouts=function(a,b){this.executeLayout(mxUtils.bind(this,function(){var d=new mxCompositeLayout(this.editor.graph,a),e=this.editor.graph.getSelectionCells();d.execute(this.editor.graph.getDefaultParent(),0==e.length?null:e)}),!0,b)};
-EditorUi.prototype.executeLayout=function(a,b,d){var e=this.editor.graph;e.getModel().beginUpdate();try{a()}catch(g){throw g;}finally{this.allowAnimation&&b&&e.isEnabled()?(a=new mxMorphing(e),a.addListener(mxEvent.DONE,mxUtils.bind(this,function(){e.getModel().endUpdate();null!=d&&d()})),a.startAnimation()):(e.getModel().endUpdate(),null!=d&&d())}};
-EditorUi.prototype.showImageDialog=function(a,b,d,e){e=this.editor.graph.cellEditor;var g=e.saveSelection(),f=mxUtils.prompt(a,b);e.restoreSelection(g);if(null!=f&&0<f.length){var h=new Image;h.onload=function(){d(f,h.width,h.height)};h.onerror=function(){d(null);mxUtils.alert(mxResources.get("fileNotFound"))};h.src=f}else d(null)};EditorUi.prototype.showLinkDialog=function(a,b,d){a=new LinkDialog(this,a,b,d);this.showDialog(a.container,420,90,!0,!0);a.init()};
+"_blank");else{mxUtils.alert(mxResources.get("drawingTooLarge"));mxUtils.popup(b);return}this.editor.setModified(!1);this.editor.setFilename(a);this.updateDocumentTitle()}catch(e){this.editor.setStatus(mxUtils.htmlEntities(mxResources.get("errorSavingFile")))}}};
+EditorUi.prototype.executeLayouts=function(a,b){this.executeLayout(mxUtils.bind(this,function(){var e=new mxCompositeLayout(this.editor.graph,a),f=this.editor.graph.getSelectionCells();e.execute(this.editor.graph.getDefaultParent(),0==f.length?null:f)}),!0,b)};
+EditorUi.prototype.executeLayout=function(a,b,e){var f=this.editor.graph;f.getModel().beginUpdate();try{a()}catch(h){throw h;}finally{this.allowAnimation&&b&&f.isEnabled()?(a=new mxMorphing(f),a.addListener(mxEvent.DONE,mxUtils.bind(this,function(){f.getModel().endUpdate();null!=e&&e()})),a.startAnimation()):(f.getModel().endUpdate(),null!=e&&e())}};
+EditorUi.prototype.showImageDialog=function(a,b,e,f){f=this.editor.graph.cellEditor;var h=f.saveSelection(),d=mxUtils.prompt(a,b);f.restoreSelection(h);if(null!=d&&0<d.length){var g=new Image;g.onload=function(){e(d,g.width,g.height)};g.onerror=function(){e(null);mxUtils.alert(mxResources.get("fileNotFound"))};g.src=d}else e(null)};EditorUi.prototype.showLinkDialog=function(a,b,e){a=new LinkDialog(this,a,b,e);this.showDialog(a.container,420,90,!0,!0);a.init()};
EditorUi.prototype.showDataDialog=function(a){null!=a&&"undefined"!==typeof window.EditDataDialog&&(a=new EditDataDialog(this,a),this.showDialog(a.container,480,420,!0,!1,null,!1),a.init())};
-EditorUi.prototype.showBackgroundImageDialog=function(a,b){a=null!=a?a:mxUtils.bind(this,function(e){e=new ChangePageSetup(this,null,e);e.ignoreColor=!0;this.editor.graph.model.execute(e)});var d=mxUtils.prompt(mxResources.get("backgroundImage"),null!=b?b.src:"");null!=d&&0<d.length?(b=new Image,b.onload=function(){a(new mxImage(d,b.width,b.height),!1)},b.onerror=function(){a(null,!0);mxUtils.alert(mxResources.get("fileNotFound"))},b.src=d):a(null)};
-EditorUi.prototype.setBackgroundImage=function(a){this.editor.graph.setBackgroundImage(a);this.editor.graph.view.validateBackgroundImage();this.fireEvent(new mxEventObject("backgroundImageChanged"))};EditorUi.prototype.confirm=function(a,b,d){mxUtils.confirm(a)?null!=b&&b():null!=d&&d()};EditorUi.prototype.createOutline=function(a){var b=new mxOutline(this.editor.graph);mxEvent.addListener(window,"resize",function(){b.update(!1)});return b};
+EditorUi.prototype.showBackgroundImageDialog=function(a,b){a=null!=a?a:mxUtils.bind(this,function(f){f=new ChangePageSetup(this,null,f);f.ignoreColor=!0;this.editor.graph.model.execute(f)});var e=mxUtils.prompt(mxResources.get("backgroundImage"),null!=b?b.src:"");null!=e&&0<e.length?(b=new Image,b.onload=function(){a(new mxImage(e,b.width,b.height),!1)},b.onerror=function(){a(null,!0);mxUtils.alert(mxResources.get("fileNotFound"))},b.src=e):a(null)};
+EditorUi.prototype.setBackgroundImage=function(a){this.editor.graph.setBackgroundImage(a);this.editor.graph.view.validateBackgroundImage();this.fireEvent(new mxEventObject("backgroundImageChanged"))};EditorUi.prototype.confirm=function(a,b,e){mxUtils.confirm(a)?null!=b&&b():null!=e&&e()};EditorUi.prototype.createOutline=function(a){var b=new mxOutline(this.editor.graph);mxEvent.addListener(window,"resize",function(){b.update(!1)});return b};
EditorUi.prototype.altShiftActions={65:"connectionArrows",82:"clearWaypoints",76:"editLink",79:"connectionPoints",81:"editConnectionPoints",84:"editTooltip",86:"pasteSize",70:"copySize",66:"copyData",69:"pasteData"};EditorUi.prototype.ctrlAltShiftActions={70:"bringForward",66:"sendBackward"};EditorUi.prototype.ctrlAltActions={88:"copyAsImage"};
-EditorUi.prototype.createKeyHandler=function(a){function b(w,z,C){if(!e.isSelectionEmpty()&&e.isEnabled()){z=null!=z?z:1;var F=e.getCompositeParents(e.getSelectionCells()),D=0<F.length?F[0]:null;if(null!=D)if(C){e.getModel().beginUpdate();try{for(D=0;D<F.length;D++)if(e.getModel().isVertex(F[D])&&e.isCellResizable(F[D])){var G=e.getCellGeometry(F[D]);null!=G&&(G=G.clone(),37==w?G.width=Math.max(0,G.width-z):38==w?G.height=Math.max(0,G.height-z):39==w?G.width+=z:40==w&&(G.height+=z),e.getModel().setGeometry(F[D],
-G))}}finally{e.getModel().endUpdate()}}else{G=e.model.getParent(D);var K=e.getView().scale;C=null;1==e.getSelectionCount()&&e.model.isVertex(D)&&null!=e.layoutManager&&!e.isCellLocked(D)&&(C=e.layoutManager.getLayout(G));if(null!=C&&C.constructor==mxStackLayout)z=G.getIndex(D),37==w||38==w?e.model.add(G,D,Math.max(0,z-1)):(39==w||40==w)&&e.model.add(G,D,Math.min(e.model.getChildCount(G),z+1));else{var I=e.graphHandler;null!=I&&(null==I.first&&I.start(D,0,0,e.getMovableCells(F)),null!=I.first&&(D=
-F=0,37==w?F=-z:38==w?D=-z:39==w?F=z:40==w&&(D=z),I.currentDx+=F*K,I.currentDy+=D*K,I.checkPreview(),I.updatePreview()),null!=h&&window.clearTimeout(h),h=window.setTimeout(function(){if(null!=I.first){var O=I.roundLength(I.currentDx/K),H=I.roundLength(I.currentDy/K);I.moveCells(I.cells,O,H);I.reset()}},400))}}}}var d=this,e=this.editor.graph,g=new mxKeyHandler(e),f=g.isEventIgnored;g.isEventIgnored=function(w){return!(mxEvent.isShiftDown(w)&&9==w.keyCode)&&(!this.isControlDown(w)||mxEvent.isShiftDown(w)||
-90!=w.keyCode&&89!=w.keyCode&&188!=w.keyCode&&190!=w.keyCode&&85!=w.keyCode)&&(66!=w.keyCode&&73!=w.keyCode||!this.isControlDown(w)||this.graph.cellEditor.isContentEditing()&&!mxClient.IS_FF&&!mxClient.IS_SF)&&(109!=w.keyCode&&107!=w.keyCode||!this.isControlDown(w)&&!mxEvent.isShiftDown(w)||!this.graph.cellEditor.isContentEditing()&&!mxClient.IS_FF&&!mxClient.IS_SF)&&f.apply(this,arguments)};g.isEnabledForEvent=function(w){return!mxEvent.isConsumed(w)&&this.isGraphEvent(w)&&this.isEnabled()&&(null==
-d.dialogs||0==d.dialogs.length)};g.isControlDown=function(w){return mxEvent.isControlDown(w)||mxClient.IS_MAC&&w.metaKey};var h=null,n={37:mxConstants.DIRECTION_WEST,38:mxConstants.DIRECTION_NORTH,39:mxConstants.DIRECTION_EAST,40:mxConstants.DIRECTION_SOUTH},q=g.getFunction;mxKeyHandler.prototype.getFunction=function(w){if(e.isEnabled()){var z=null;mxEvent.isShiftDown(w)&&this.isControlDown(w)&&mxEvent.isAltDown(w)?z=d.actions.get(d.ctrlAltShiftActions[w.keyCode]):mxEvent.isShiftDown(w)&&mxEvent.isAltDown(w)?
-z=d.actions.get(d.altShiftActions[w.keyCode]):this.isControlDown(w)&&mxEvent.isAltDown(w)&&(z=d.actions.get(d.ctrlAltActions[w.keyCode]));if(null!=z)return z.funct;if(null!=n[w.keyCode]&&!e.isSelectionEmpty())if(!this.isControlDown(w)&&mxEvent.isShiftDown(w)&&mxEvent.isAltDown(w)){if(e.model.isVertex(e.getSelectionCell()))return function(){var C=e.connectVertex(e.getSelectionCell(),n[w.keyCode],e.defaultEdgeLength,w,!0);null!=C&&0<C.length&&(1==C.length&&e.model.isEdge(C[0])?e.setSelectionCell(e.model.getTerminal(C[0],
-!1)):e.setSelectionCell(C[C.length-1]),e.scrollCellToVisible(e.getSelectionCell()),null!=d.hoverIcons&&d.hoverIcons.update(e.view.getState(e.getSelectionCell())))}}else return this.isControlDown(w)?function(){b(w.keyCode,mxEvent.isShiftDown(w)?e.gridSize:null,!0)}:function(){b(w.keyCode,mxEvent.isShiftDown(w)?e.gridSize:null)}}return q.apply(this,arguments)};g.bindAction=mxUtils.bind(this,function(w,z,C,F){var D=this.actions.get(C);null!=D&&(C=function(){D.isEnabled()&&D.funct.apply(this,arguments)},
-z?F?g.bindControlShiftKey(w,C):g.bindControlKey(w,C):F?g.bindShiftKey(w,C):g.bindKey(w,C))});var l=this,p=g.escape;g.escape=function(w){p.apply(this,arguments)};g.enter=function(){};g.bindControlShiftKey(36,function(){e.exitGroup()});g.bindControlShiftKey(35,function(){e.enterGroup()});g.bindShiftKey(36,function(){e.home()});g.bindKey(35,function(){e.refresh()});g.bindAction(80,!0,"print");g.bindAction(107,!0,"zoomIn");g.bindAction(109,!0,"zoomOut");g.bindAction(61,!0,"zoomIn");g.bindAction(187,!0,
-"zoomIn");g.bindAction(222,!0,"zoomIn");g.bindAction(173,!0,"zoomOut");g.bindAction(189,!0,"zoomOut");if(!this.editor.chromeless||this.editor.editable)g.bindAction(79,!0,"outline",!0),g.bindControlKey(36,function(){e.isEnabled()&&e.foldCells(!0)}),g.bindControlKey(35,function(){e.isEnabled()&&e.foldCells(!1)}),g.bindControlKey(13,function(){l.ctrlEnter()}),g.bindAction(8,!1,"delete"),g.bindAction(8,!0,"deleteAll"),g.bindAction(8,!1,"deleteLabels",!0),g.bindAction(46,!1,"delete"),g.bindAction(46,!0,
-"deleteAll"),g.bindAction(46,!1,"deleteLabels",!0),g.bindAction(36,!1,"resetView"),g.bindAction(72,!0,"fitWindow",!0),g.bindAction(74,!0,"fitPage"),g.bindAction(74,!0,"fitTwoPages",!0),g.bindAction(48,!0,"customZoom"),g.bindAction(82,!0,"turn"),g.bindAction(82,!0,"clearDefaultStyle",!0),g.bindAction(83,!0,"save"),g.bindAction(83,!0,"saveAs",!0),g.bindAction(65,!0,"selectAll"),g.bindAction(65,!0,"selectNone",!0),g.bindAction(73,!0,"selectVertices",!0),g.bindAction(69,!0,"selectEdges",!0),g.bindAction(69,
-!0,"editStyle"),g.bindAction(66,!0,"bold"),g.bindAction(66,!0,"toBack",!0),g.bindAction(70,!0,"toFront",!0),g.bindAction(68,!0,"duplicate"),g.bindAction(68,!0,"setAsDefaultStyle",!0),g.bindAction(90,!0,"undo"),g.bindAction(90,!0,"redo",!0),g.bindAction(89,!0,"redo"),g.bindAction(89,!0,"autosize",!0),g.bindAction(88,!0,"cut"),g.bindAction(67,!0,"copy"),g.bindAction(86,!0,"paste"),g.bindAction(71,!0,"group"),g.bindAction(77,!0,"editData"),g.bindAction(71,!0,"grid",!0),g.bindAction(73,!0,"italic"),g.bindAction(76,
-!0,"lockUnlock"),g.bindAction(76,!0,"layers",!0),g.bindAction(80,!0,"format",!0),g.bindAction(85,!0,"underline"),g.bindAction(85,!0,"ungroup",!0),g.bindAction(109,!0,"decreaseFontSize",!0),g.bindAction(107,!0,"increaseFontSize",!0),g.bindAction(219,!0,"decreaseFontSize",!0),g.bindAction(221,!0,"increaseFontSize",!0),g.bindAction(190,!0,"superscript"),g.bindAction(188,!0,"subscript"),g.bindAction(13,!1,"keyPressEnter"),g.bindKey(113,function(){e.isEnabled()&&e.startEditingAtCell()});return g};
-EditorUi.prototype.createHelpIcon=function(a){var b=document.createElement("div");b.setAttribute("title",mxResources.get("help"));b.style.display="inline";b.style.marginLeft="8px";b.style.marginRight="4px";b.style.cursor="help";var d=document.createElement("img");d.setAttribute("src",Editor.helpImage);d.setAttribute("valign","middle");d.setAttribute("border","0");d.className="geAdaptiveAsset";mxUtils.setOpacity(d,60);d.style.marginTop="-4px";d.style.height="16px";d.style.width="16px";b.appendChild(d);
-mxEvent.addListener(b,"click",mxUtils.bind(this,function(e){this.hideCurrentMenu();this.openLink(a);mxEvent.consume(e)}));return b};
+EditorUi.prototype.createKeyHandler=function(a){function b(w,z,C){if(!f.isSelectionEmpty()&&f.isEnabled()){z=null!=z?z:1;var F=f.getCompositeParents(f.getSelectionCells()),D=0<F.length?F[0]:null;if(null!=D)if(C){f.getModel().beginUpdate();try{for(D=0;D<F.length;D++)if(f.getModel().isVertex(F[D])&&f.isCellResizable(F[D])){var H=f.getCellGeometry(F[D]);null!=H&&(H=H.clone(),37==w?H.width=Math.max(0,H.width-z):38==w?H.height=Math.max(0,H.height-z):39==w?H.width+=z:40==w&&(H.height+=z),f.getModel().setGeometry(F[D],
+H))}}finally{f.getModel().endUpdate()}}else{H=f.model.getParent(D);var K=f.getView().scale;C=null;1==f.getSelectionCount()&&f.model.isVertex(D)&&null!=f.layoutManager&&!f.isCellLocked(D)&&(C=f.layoutManager.getLayout(H));if(null!=C&&C.constructor==mxStackLayout)z=H.getIndex(D),37==w||38==w?f.model.add(H,D,Math.max(0,z-1)):(39==w||40==w)&&f.model.add(H,D,Math.min(f.model.getChildCount(H),z+1));else{var G=f.graphHandler;null!=G&&(null==G.first&&G.start(D,0,0,f.getMovableCells(F)),null!=G.first&&(D=
+F=0,37==w?F=-z:38==w?D=-z:39==w?F=z:40==w&&(D=z),G.currentDx+=F*K,G.currentDy+=D*K,G.checkPreview(),G.updatePreview()),null!=g&&window.clearTimeout(g),g=window.setTimeout(function(){if(null!=G.first){var P=G.roundLength(G.currentDx/K),I=G.roundLength(G.currentDy/K);G.moveCells(G.cells,P,I);G.reset()}},400))}}}}var e=this,f=this.editor.graph,h=new mxKeyHandler(f),d=h.isEventIgnored;h.isEventIgnored=function(w){return!(mxEvent.isShiftDown(w)&&9==w.keyCode)&&(!this.isControlDown(w)||mxEvent.isShiftDown(w)||
+90!=w.keyCode&&89!=w.keyCode&&188!=w.keyCode&&190!=w.keyCode&&85!=w.keyCode)&&(66!=w.keyCode&&73!=w.keyCode||!this.isControlDown(w)||this.graph.cellEditor.isContentEditing()&&!mxClient.IS_FF&&!mxClient.IS_SF)&&(109!=w.keyCode&&107!=w.keyCode||!this.isControlDown(w)&&!mxEvent.isShiftDown(w)||!this.graph.cellEditor.isContentEditing()&&!mxClient.IS_FF&&!mxClient.IS_SF)&&d.apply(this,arguments)};h.isEnabledForEvent=function(w){return!mxEvent.isConsumed(w)&&this.isGraphEvent(w)&&this.isEnabled()&&(null==
+e.dialogs||0==e.dialogs.length)};h.isControlDown=function(w){return mxEvent.isControlDown(w)||mxClient.IS_MAC&&w.metaKey};var g=null,n={37:mxConstants.DIRECTION_WEST,38:mxConstants.DIRECTION_NORTH,39:mxConstants.DIRECTION_EAST,40:mxConstants.DIRECTION_SOUTH},q=h.getFunction;mxKeyHandler.prototype.getFunction=function(w){if(f.isEnabled()){var z=null;mxEvent.isShiftDown(w)&&this.isControlDown(w)&&mxEvent.isAltDown(w)?z=e.actions.get(e.ctrlAltShiftActions[w.keyCode]):mxEvent.isShiftDown(w)&&mxEvent.isAltDown(w)?
+z=e.actions.get(e.altShiftActions[w.keyCode]):this.isControlDown(w)&&mxEvent.isAltDown(w)&&(z=e.actions.get(e.ctrlAltActions[w.keyCode]));if(null!=z)return z.funct;if(null!=n[w.keyCode]&&!f.isSelectionEmpty())if(!this.isControlDown(w)&&mxEvent.isShiftDown(w)&&mxEvent.isAltDown(w)){if(f.model.isVertex(f.getSelectionCell()))return function(){var C=f.connectVertex(f.getSelectionCell(),n[w.keyCode],f.defaultEdgeLength,w,!0);null!=C&&0<C.length&&(1==C.length&&f.model.isEdge(C[0])?f.setSelectionCell(f.model.getTerminal(C[0],
+!1)):f.setSelectionCell(C[C.length-1]),f.scrollCellToVisible(f.getSelectionCell()),null!=e.hoverIcons&&e.hoverIcons.update(f.view.getState(f.getSelectionCell())))}}else return this.isControlDown(w)?function(){b(w.keyCode,mxEvent.isShiftDown(w)?f.gridSize:null,!0)}:function(){b(w.keyCode,mxEvent.isShiftDown(w)?f.gridSize:null)}}return q.apply(this,arguments)};h.bindAction=mxUtils.bind(this,function(w,z,C,F){var D=this.actions.get(C);null!=D&&(C=function(){D.isEnabled()&&D.funct.apply(this,arguments)},
+z?F?h.bindControlShiftKey(w,C):h.bindControlKey(w,C):F?h.bindShiftKey(w,C):h.bindKey(w,C))});var k=this,p=h.escape;h.escape=function(w){p.apply(this,arguments)};h.enter=function(){};h.bindControlShiftKey(36,function(){f.exitGroup()});h.bindControlShiftKey(35,function(){f.enterGroup()});h.bindShiftKey(36,function(){f.home()});h.bindKey(35,function(){f.refresh()});h.bindAction(80,!0,"print");h.bindAction(107,!0,"zoomIn");h.bindAction(109,!0,"zoomOut");h.bindAction(61,!0,"zoomIn");h.bindAction(187,!0,
+"zoomIn");h.bindAction(222,!0,"zoomIn");h.bindAction(173,!0,"zoomOut");h.bindAction(189,!0,"zoomOut");if(!this.editor.chromeless||this.editor.editable)h.bindAction(79,!0,"outline",!0),h.bindControlKey(36,function(){f.isEnabled()&&f.foldCells(!0)}),h.bindControlKey(35,function(){f.isEnabled()&&f.foldCells(!1)}),h.bindControlKey(13,function(){k.ctrlEnter()}),h.bindAction(8,!1,"delete"),h.bindAction(8,!0,"deleteAll"),h.bindAction(8,!1,"deleteLabels",!0),h.bindAction(46,!1,"delete"),h.bindAction(46,!0,
+"deleteAll"),h.bindAction(46,!1,"deleteLabels",!0),h.bindAction(36,!1,"resetView"),h.bindAction(72,!0,"fitWindow",!0),h.bindAction(74,!0,"fitPage"),h.bindAction(74,!0,"fitTwoPages",!0),h.bindAction(48,!0,"customZoom"),h.bindAction(82,!0,"turn"),h.bindAction(82,!0,"clearDefaultStyle",!0),h.bindAction(83,!0,"save"),h.bindAction(83,!0,"saveAs",!0),h.bindAction(65,!0,"selectAll"),h.bindAction(65,!0,"selectNone",!0),h.bindAction(73,!0,"selectVertices",!0),h.bindAction(69,!0,"selectEdges",!0),h.bindAction(69,
+!0,"editStyle"),h.bindAction(66,!0,"bold"),h.bindAction(66,!0,"toBack",!0),h.bindAction(70,!0,"toFront",!0),h.bindAction(68,!0,"duplicate"),h.bindAction(68,!0,"setAsDefaultStyle",!0),h.bindAction(90,!0,"undo"),h.bindAction(90,!0,"redo",!0),h.bindAction(89,!0,"redo"),h.bindAction(89,!0,"autosize",!0),h.bindAction(88,!0,"cut"),h.bindAction(67,!0,"copy"),h.bindAction(86,!0,"paste"),h.bindAction(71,!0,"group"),h.bindAction(77,!0,"editData"),h.bindAction(71,!0,"grid",!0),h.bindAction(73,!0,"italic"),h.bindAction(76,
+!0,"lockUnlock"),h.bindAction(76,!0,"layers",!0),h.bindAction(80,!0,"format",!0),h.bindAction(85,!0,"underline"),h.bindAction(85,!0,"ungroup",!0),h.bindAction(109,!0,"decreaseFontSize",!0),h.bindAction(107,!0,"increaseFontSize",!0),h.bindAction(219,!0,"decreaseFontSize",!0),h.bindAction(221,!0,"increaseFontSize",!0),h.bindAction(190,!0,"superscript"),h.bindAction(188,!0,"subscript"),h.bindAction(13,!1,"keyPressEnter"),h.bindKey(113,function(){f.isEnabled()&&f.startEditingAtCell()});return h};
+EditorUi.prototype.createHelpIcon=function(a){var b=document.createElement("div");b.setAttribute("title",mxResources.get("help"));b.style.display="inline";b.style.marginLeft="8px";b.style.marginRight="4px";b.style.cursor="help";var e=document.createElement("img");e.setAttribute("src",Editor.helpImage);e.setAttribute("valign","middle");e.setAttribute("border","0");e.className="geAdaptiveAsset";mxUtils.setOpacity(e,60);e.style.marginTop="-4px";e.style.height="16px";e.style.width="16px";b.appendChild(e);
+mxEvent.addListener(b,"click",mxUtils.bind(this,function(f){this.hideCurrentMenu();this.openLink(a);mxEvent.consume(f)}));return b};
EditorUi.prototype.destroy=function(){var a=this.editor.graph;null!=a&&null!=this.selectionStateListener&&(a.getSelectionModel().removeListener(this.selectionStateListener),a.getModel().removeListener(this.selectionStateListener),a.getView().removeListener(this.selectionStateListener),a.removeListener(this.selectionStateListener),this.selectionStateListener=null);null!=this.editor&&(this.editor.destroy(),this.editor=null);null!=this.menubar&&(this.menubar.destroy(),this.menubar=null);null!=this.toolbar&&
(this.toolbar.destroy(),this.toolbar=null);null!=this.sidebar&&(this.sidebar.destroy(),this.sidebar=null);null!=this.keyHandler&&(this.keyHandler.destroy(),this.keyHandler=null);null!=this.keydownHandler&&(mxEvent.removeListener(document,"keydown",this.keydownHandler),this.keydownHandler=null);null!=this.keyupHandler&&(mxEvent.removeListener(document,"keyup",this.keyupHandler),this.keyupHandler=null);null!=this.resizeHandler&&(mxEvent.removeListener(window,"resize",this.resizeHandler),this.resizeHandler=
null);null!=this.gestureHandler&&(mxEvent.removeGestureListeners(document,this.gestureHandler),this.gestureHandler=null);null!=this.orientationChangeHandler&&(mxEvent.removeListener(window,"orientationchange",this.orientationChangeHandler),this.orientationChangeHandler=null);null!=this.scrollHandler&&(mxEvent.removeListener(window,"scroll",this.scrollHandler),this.scrollHandler=null);if(null!=this.destroyFunctions){for(a=0;a<this.destroyFunctions.length;a++)this.destroyFunctions[a]();this.destroyFunctions=
null}var b=[this.menubarContainer,this.toolbarContainer,this.sidebarContainer,this.formatContainer,this.diagramContainer,this.footerContainer,this.chromelessToolbar,this.hsplit,this.layersDialog];for(a=0;a<b.length;a++)null!=b[a]&&null!=b[a].parentNode&&b[a].parentNode.removeChild(b[a])};function Sidebar(a,b){this.editorUi=a;this.container=b;this.palettes={};this.taglist={};this.lastCreated=0;this.showTooltips=!0;this.graph=a.createTemporaryGraph(this.editorUi.editor.graph.getStylesheet());this.graph.cellRenderer.minSvgStrokeWidth=this.minThumbStrokeWidth;this.graph.cellRenderer.antiAlias=this.thumbAntiAlias;this.graph.container.style.visibility="hidden";this.graph.shapeBackgroundColor="transparent";this.graph.foldingEnabled=!1;this.initialDefaultVertexStyle=mxUtils.clone(a.editor.graph.defaultVertexStyle);
this.initialDefaultEdgeStyle=mxUtils.clone(a.editor.graph.defaultEdgeStyle);this.ignoredStyles="html whiteSpace aspect points verticalLabelPosition labelPosition outlineConnect".split(" ").concat(Graph.cellStyles);this.container.style.overflow="visible";this.wrapper=document.createElement("div");this.wrapper.style.position="relative";this.wrapper.style.overflowX="hidden";this.wrapper.style.overflowY="auto";this.wrapper.style.left="0px";this.wrapper.style.top="0px";this.wrapper.style.right="0px";this.wrapper.style.boxSizing=
"border-box";this.wrapper.style.maxHeight="calc(100% - "+this.moreShapesHeight+"px)";this.container.appendChild(this.wrapper);a=this.createMoreShapes();this.container.appendChild(a);document.body.appendChild(this.graph.container);this.pointerUpHandler=mxUtils.bind(this,function(){if(null==this.tooltipCloseImage||"none"==this.tooltipCloseImage.style.display)this.showTooltips=!0,this.hideTooltip()});this.pointerDownHandler=mxUtils.bind(this,function(){if(null==this.tooltipCloseImage||"none"==this.tooltipCloseImage.style.display)this.showTooltips=
-!1,this.hideTooltip()});this.pointerMoveHandler=mxUtils.bind(this,function(d){if(300<Date.now()-this.lastCreated&&(null==this.tooltipCloseImage||"none"==this.tooltipCloseImage.style.display)){for(d=mxEvent.getSource(d);null!=d;){if(d==this.currentElt)return;d=d.parentNode}this.hideTooltip()}});this.pointerOutHandler=mxUtils.bind(this,function(d){null==d.toElement&&null==d.relatedTarget&&this.hideTooltip()});window.addEventListener?(document.addEventListener(mxClient.IS_POINTER?"pointerup":"mouseup",
+!1,this.hideTooltip()});this.pointerMoveHandler=mxUtils.bind(this,function(e){if(300<Date.now()-this.lastCreated&&(null==this.tooltipCloseImage||"none"==this.tooltipCloseImage.style.display)){for(e=mxEvent.getSource(e);null!=e;){if(e==this.currentElt)return;e=e.parentNode}this.hideTooltip()}});this.pointerOutHandler=mxUtils.bind(this,function(e){null==e.toElement&&null==e.relatedTarget&&this.hideTooltip()});window.addEventListener?(document.addEventListener(mxClient.IS_POINTER?"pointerup":"mouseup",
this.pointerUpHandler,!0),document.addEventListener(mxClient.IS_POINTER?"pointerdown":"mousedown",this.pointerDownHandler,!0),document.addEventListener(mxClient.IS_POINTER?"pointermove":"mousemove",this.pointerMoveHandler,!0),document.addEventListener(mxClient.IS_POINTER?"pointerout":"mouseout",this.pointerOutHandler,!0)):(mxEvent.addListener(document,mxClient.IS_POINTER?"pointerup":"mouseup",this.pointerUpHandler),mxEvent.addListener(document,mxClient.IS_POINTER?"pointerdown":"mousedown",this.pointerDownHandler),
-mxEvent.addListener(document,mxClient.IS_POINTER?"pointermove":"mousemove",this.pointerMoveHandler),mxEvent.addListener(document,mxClient.IS_POINTER?"pointerout":"mouseout",this.pointerOutHandler));mxEvent.addListener(b,"scroll",mxUtils.bind(this,function(){this.showTooltips=!0;this.hideTooltip()}));this.escapeListener=mxUtils.bind(this,function(d,e){null!=this.activeDragSource&&this.activeDragSource.isActive()&&this.activeDragSource.reset()});this.editorUi.editor.graph.addListener(mxEvent.ESCAPE,
+mxEvent.addListener(document,mxClient.IS_POINTER?"pointermove":"mousemove",this.pointerMoveHandler),mxEvent.addListener(document,mxClient.IS_POINTER?"pointerout":"mouseout",this.pointerOutHandler));mxEvent.addListener(b,"scroll",mxUtils.bind(this,function(){this.showTooltips=!0;this.hideTooltip()}));this.escapeListener=mxUtils.bind(this,function(e,f){null!=this.activeDragSource&&this.activeDragSource.isActive()&&this.activeDragSource.reset()});this.editorUi.editor.graph.addListener(mxEvent.ESCAPE,
this.escapeListener);this.init()}
Sidebar.prototype.init=function(){var a=STENCIL_PATH;this.addSearchPalette(!0);this.addGeneralPalette(!0);this.addMiscPalette(!1);this.addAdvancedPalette(!1);this.addBasicPalette(a);this.setCurrentSearchEntryLibrary("arrows");this.addStencilPalette("arrows",mxResources.get("arrows"),a+"/arrows.xml",";whiteSpace=wrap;html=1;fillColor=#ffffff;strokeColor=#000000;strokeWidth=2");this.setCurrentSearchEntryLibrary();this.addUmlPalette(!1);this.addBpmnPalette(a,!1);this.setCurrentSearchEntryLibrary("flowchart");this.addStencilPalette("flowchart",
"Flowchart",a+"/flowchart.xml",";whiteSpace=wrap;html=1;fillColor=#ffffff;strokeColor=#000000;strokeWidth=2");this.setCurrentSearchEntryLibrary();this.setCurrentSearchEntryLibrary("clipart");this.addImagePalette("clipart",mxResources.get("clipart"),a+"/clipart/","_128x128.png","Earth_globe Empty_Folder Full_Folder Gear Lock Software Virus Email Database Router_Icon iPad iMac Laptop MacBook Monitor_Tower Printer Server_Tower Workstation Firewall_02 Wireless_Router_N Credit_Card Piggy_Bank Graph Safe Shopping_Cart Suit1 Suit2 Suit3 Pilot1 Worker1 Soldier1 Doctor1 Tech1 Security1 Telesales1".split(" "),
@@ -2300,65 +2300,65 @@ Sidebar.prototype.expandedImage=mxClient.IS_SVG?"data:image/gif;base64,R0lGODlhD
"/expanded.gif";Sidebar.prototype.enableTooltips=!0;Sidebar.prototype.tooltipBorder=16;Sidebar.prototype.tooltipDelay=300;Sidebar.prototype.dropTargetDelay=200;Sidebar.prototype.gearImage=STENCIL_PATH+"/clipart/Gear_128x128.png";Sidebar.prototype.thumbWidth=42;Sidebar.prototype.thumbHeight=42;Sidebar.prototype.minThumbStrokeWidth=1;Sidebar.prototype.thumbAntiAlias=!1;Sidebar.prototype.thumbPadding=5<=document.documentMode?2:3;Sidebar.prototype.thumbBorder=2;Sidebar.prototype.moreShapesHeight=52;
Sidebar.prototype.livePreview=!0;Sidebar.prototype.searchClosedLibraries=!0;Sidebar.prototype.closedLibraryOpacity=null;"large"!=urlParams["sidebar-entries"]&&(Sidebar.prototype.thumbPadding=5<=document.documentMode?0:1,Sidebar.prototype.thumbBorder=1,Sidebar.prototype.thumbWidth=32,Sidebar.prototype.thumbHeight=30,Sidebar.prototype.minThumbStrokeWidth=1.3,Sidebar.prototype.thumbAntiAlias=!0);Sidebar.prototype.sidebarTitleSize=8;Sidebar.prototype.sidebarTitles=!1;Sidebar.prototype.tooltipTitles=!0;
Sidebar.prototype.maxTooltipWidth=400;Sidebar.prototype.maxTooltipHeight=400;Sidebar.prototype.addStencilsToIndex=!0;Sidebar.prototype.defaultImageWidth=80;Sidebar.prototype.defaultImageHeight=80;Sidebar.prototype.tooltipMouseDown=null;Sidebar.prototype.expandLibraries=!0;
-Sidebar.prototype.refresh=function(){this.graph.stylesheet.styles=mxUtils.clone(this.editorUi.editor.graph.getDefaultStylesheet().styles);var a=this.wrapper.scrollTop;this.wrapper.innerText="";var b=this.palettes;this.palettes={};var d=this.addPalette;this.addPalette=function(e,g,f,h){f=this.wasPaletteExpanded(b,e,f);return d.apply(this,arguments)};this.init(b);this.addPalette=d;window.setTimeout(mxUtils.bind(this,function(){this.wrapper.scrollTop=a}),0)};
-Sidebar.prototype.wasPaletteExpanded=function(a,b,d){a=null!=a&&null!=b?a[b]:null;null!=a&&2==a.length&&null!=a[1].firstChild&&(d="none"!=a[1].firstChild.style.display);return d};Sidebar.prototype.getEntryContainer=function(){return this.wrapper};Sidebar.prototype.appendChild=function(a){this.wrapper.appendChild(a)};
+Sidebar.prototype.refresh=function(){this.graph.stylesheet.styles=mxUtils.clone(this.editorUi.editor.graph.getDefaultStylesheet().styles);var a=this.wrapper.scrollTop;this.wrapper.innerText="";var b=this.palettes;this.palettes={};var e=this.addPalette;this.addPalette=function(f,h,d,g){d=this.wasPaletteExpanded(b,f,d);return e.apply(this,arguments)};this.init(b);this.addPalette=e;window.setTimeout(mxUtils.bind(this,function(){this.wrapper.scrollTop=a}),0)};
+Sidebar.prototype.wasPaletteExpanded=function(a,b,e){a=null!=a&&null!=b?a[b]:null;null!=a&&2==a.length&&null!=a[1].firstChild&&(e="none"!=a[1].firstChild.style.display);return e};Sidebar.prototype.getEntryContainer=function(){return this.wrapper};Sidebar.prototype.appendChild=function(a){this.wrapper.appendChild(a)};
Sidebar.prototype.getTooltipOffset=function(a,b){if(mxUtils.isAncestorNode(this.container,a))return b=b.height+2*this.tooltipBorder,new mxPoint(this.container.offsetWidth+2+this.editorUi.container.offsetLeft,Math.min(Math.max(document.body.clientHeight||0,document.documentElement.clientHeight)-b-20,Math.max(0,this.editorUi.container.offsetTop+this.container.offsetTop+a.offsetTop-this.wrapper.scrollTop-b/2+16)));a=a.getBoundingClientRect();return new mxPoint(a.x+a.width+this.tooltipBorder,a.y+a.height/
2-b.height/2-6)};
Sidebar.prototype.createMoreShapes=function(){var a=this.editorUi.createDiv("geSidebarFooter");a.style.position="absolute";a.style.overflow="hidden";a.style.display="inline-flex";a.style.alignItems="center";a.style.justifyContent="center";a.style.width="100%";a.style.marginTop="-1px";a.style.height=this.moreShapesHeight+"px";var b=document.createElement("button");b.className="geBtn gePrimaryBtn";b.style.display="inline-flex";b.style.alignItems="center";b.style.whiteSpace="nowrap";b.style.padding=
-"8px";b.style.margin="0px";b.innerHTML="<span>+</span>";var d=b.getElementsByTagName("span")[0];d.style.fontSize="18px";d.style.marginRight="5px";mxUtils.write(b,mxResources.get("moreShapes"));mxEvent.addListener(b,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(e){e.preventDefault()}));mxEvent.addListener(b,"click",mxUtils.bind(this,function(e){this.editorUi.actions.get("shapes").funct();mxEvent.consume(e)}));a.appendChild(b);return a};
-Sidebar.prototype.createTooltip=function(a,b,d,e,g,f,h,n,q,l,p){p=null!=p?p:!0;this.tooltipMouseDown=q;q=this.editorUi.editor.graph;if(null==this.tooltip){this.tooltip=document.createElement("div");this.tooltip.className="geSidebarTooltip";this.tooltip.style.userSelect="none";this.tooltip.style.zIndex=mxPopupMenu.prototype.zIndex-1;document.body.appendChild(this.tooltip);mxEvent.addMouseWheelListener(mxUtils.bind(this,function(z){this.hideTooltip()}),this.tooltip);this.graph2=new Graph(this.tooltip,
+"8px";b.style.margin="0px";b.innerHTML="<span>+</span>";var e=b.getElementsByTagName("span")[0];e.style.fontSize="18px";e.style.marginRight="5px";mxUtils.write(b,mxResources.get("moreShapes"));mxEvent.addListener(b,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(f){f.preventDefault()}));mxEvent.addListener(b,"click",mxUtils.bind(this,function(f){this.editorUi.actions.get("shapes").funct();mxEvent.consume(f)}));a.appendChild(b);return a};
+Sidebar.prototype.createTooltip=function(a,b,e,f,h,d,g,n,q,k,p){p=null!=p?p:!0;this.tooltipMouseDown=q;q=this.editorUi.editor.graph;if(null==this.tooltip){this.tooltip=document.createElement("div");this.tooltip.className="geSidebarTooltip";this.tooltip.style.userSelect="none";this.tooltip.style.zIndex=mxPopupMenu.prototype.zIndex-1;document.body.appendChild(this.tooltip);mxEvent.addMouseWheelListener(mxUtils.bind(this,function(z){this.hideTooltip()}),this.tooltip);this.graph2=new Graph(this.tooltip,
null,null,this.editorUi.editor.graph.getStylesheet());this.graph2.shapeBackgroundColor="transparent";this.graph2.resetViewOnRootChange=!1;this.graph2.foldingEnabled=!1;this.graph2.gridEnabled=!1;this.graph2.autoScroll=!1;this.graph2.setTooltips(!1);this.graph2.setConnectable(!1);this.graph2.setPanning(!1);this.graph2.setEnabled(!1);if(this.graph2.dialect==mxConstants.DIALECT_SVG){var w=this.graph2.view.getDrawPane().ownerSVGElement;null!=w&&(w.style.overflow="visible")}else this.graph2.view.canvas.style.overflow=
"visible";this.graph2.openLink=mxUtils.bind(this,function(){this.hideTooltip()});mxEvent.addGestureListeners(this.tooltip,mxUtils.bind(this,function(z){null!=this.tooltipMouseDown&&this.tooltipMouseDown(z);window.setTimeout(mxUtils.bind(this,function(){null!=this.tooltipCloseImage&&"none"!=this.tooltipCloseImage.style.display||this.hideTooltip()}),0)}),null,mxUtils.bind(this,function(z){this.hideTooltip()}));mxClient.IS_SVG||(this.graph2.view.canvas.style.position="relative");w=document.createElement("img");
-w.setAttribute("src",Dialog.prototype.closeImage);w.setAttribute("title",mxResources.get("close"));w.style.position="absolute";w.style.cursor="default";w.style.padding="8px";w.style.right="2px";w.style.top="2px";this.tooltip.appendChild(w);this.tooltipCloseImage=w;mxEvent.addListener(w,"click",mxUtils.bind(this,function(z){this.hideTooltip();mxEvent.consume(z)}))}this.tooltipCloseImage.style.display=l?"":"none";this.graph2.model.clear();this.graph2.view.setTranslate(this.tooltipBorder,this.tooltipBorder);
-this.graph2.view.scale=!n&&(d>this.maxTooltipWidth||e>this.maxTooltipHeight)?Math.round(100*Math.min(this.maxTooltipWidth/d,this.maxTooltipHeight/e))/100:1;this.tooltip.style.display="block";this.graph2.labelsVisible=null==f||f;f=mxClient.NO_FO;mxClient.NO_FO=Editor.prototype.originalNoForeignObject;l=mxUtils.getCurrentStyle(this.tooltip);this.graph2.shapeBackgroundColor=l.backgroundColor;null!=b&&(b=this.graph2.cloneCells(b),this.graph2.pasteCellStyles(q.includeDescendants(b),p?q.currentVertexStyle:
-q.defaultVertexStyle,p?q.currentEdgeStyle:q.defaultEdgeStyle,null,q.pasteEdgeStyle),this.graph2.addCells(b));mxClient.NO_FO=f;p=this.graph2.getGraphBounds();n&&0<d&&0<e&&(p.width>d||p.height>e)?(d=Math.round(100*Math.min(d/p.width,e/p.height))/100,mxClient.NO_FO?(this.graph2.view.setScale(Math.round(100*Math.min(this.maxTooltipWidth/p.width,this.maxTooltipHeight/p.height))/100),p=this.graph2.getGraphBounds()):(this.graph2.view.getDrawPane().ownerSVGElement.style.transform="scale("+d+")",this.graph2.view.getDrawPane().ownerSVGElement.style.transformOrigin=
-"0 0",p.width*=d,p.height*=d)):mxClient.NO_FO||(this.graph2.view.getDrawPane().ownerSVGElement.style.transform="");d=p.width+2*this.tooltipBorder+4;e=p.height+2*this.tooltipBorder;this.tooltip.style.overflow="visible";this.tooltip.style.width=d+"px";n=d;this.tooltipTitles&&null!=g&&0<g.length?(null==this.tooltipTitle?(this.tooltipTitle=document.createElement("div"),this.tooltipTitle.style.borderTop="1px solid gray",this.tooltipTitle.style.textAlign="center",this.tooltipTitle.style.width="100%",this.tooltipTitle.style.overflow=
-"hidden",this.tooltipTitle.style.position="absolute",this.tooltipTitle.style.paddingTop="6px",this.tooltipTitle.style.bottom="6px",this.tooltip.appendChild(this.tooltipTitle)):this.tooltipTitle.innerText="",this.tooltipTitle.style.display="",mxUtils.write(this.tooltipTitle,g),this.tooltipTitle.setAttribute("title",g),n=Math.min(this.maxTooltipWidth,Math.max(d,this.tooltipTitle.scrollWidth+4)),g=this.tooltipTitle.offsetHeight+10,e+=g,mxClient.IS_SVG?this.tooltipTitle.style.marginTop=2-g+"px":(e-=6,
-this.tooltipTitle.style.top=e-g+"px")):null!=this.tooltipTitle&&null!=this.tooltipTitle.parentNode&&(this.tooltipTitle.style.display="none");n>d&&(this.tooltip.style.width=n+"px");this.tooltip.style.height=e+"px";g=-Math.round(p.x-this.tooltipBorder)+(n>d?(n-d)/2:0);d=-Math.round(p.y-this.tooltipBorder);h=null!=h?h:this.getTooltipOffset(a,p);a=h.x;h=h.y;mxClient.IS_SVG?0!=g||0!=d?this.graph2.view.canvas.setAttribute("transform","translate("+g+","+d+")"):this.graph2.view.canvas.removeAttribute("transform"):
-(this.graph2.view.drawPane.style.left=g+"px",this.graph2.view.drawPane.style.top=d+"px");this.tooltip.style.position="absolute";this.tooltip.style.left=a+"px";this.tooltip.style.top=h+"px";mxUtils.fit(this.tooltip,this.tooltipBorder);this.lastCreated=Date.now()};
-Sidebar.prototype.showTooltip=function(a,b,d,e,g,f){if(this.enableTooltips&&this.showTooltips&&this.currentElt!=a){null!=this.thread&&(window.clearTimeout(this.thread),this.thread=null);var h=mxUtils.bind(this,function(){this.createTooltip(a,b,d,e,g,f)});null!=this.tooltip&&"none"!=this.tooltip.style.display?h():this.thread=window.setTimeout(h,this.tooltipDelay);this.currentElt=a}};
-Sidebar.prototype.hideTooltip=function(){null!=this.thread&&(window.clearTimeout(this.thread),this.thread=null);null!=this.tooltip&&(this.tooltip.style.display="none",this.currentElt=null);this.tooltipMouseDown=null};Sidebar.prototype.addDataEntry=function(a,b,d,e,g){null==a&&(a="");null!=e&&(a+=" "+e);return this.addEntry(a,mxUtils.bind(this,function(){return this.createVertexTemplateFromData(g,b,d,e)}))};
-Sidebar.prototype.addEntries=function(a){for(var b=0;b<a.length;b++)mxUtils.bind(this,function(d){var e=d.data,g=null!=d.title?d.title:"";null!=d.tags&&(g+=" "+d.tags);null!=e&&0<g.length?this.addEntry(g,mxUtils.bind(this,function(){e=this.editorUi.convertDataUri(e);var f="shape=image;verticalLabelPosition=bottom;verticalAlign=top;imageAspect=0;";"fixed"==d.aspect&&(f+="aspect=fixed;");return this.createVertexTemplate(f+"image="+e,d.w,d.h,"",d.title||"",!1,!1,!0)})):null!=d.xml&&0<g.length&&this.addEntry(g,
-mxUtils.bind(this,function(){var f=this.editorUi.stringToCells("<"==d.xml.charAt(0)?d.xml:Graph.decompress(d.xml));return this.createVertexTemplateFromCells(f,d.w,d.h,d.title||"",!0,!1,!0)}))})(a[b])};Sidebar.prototype.setCurrentSearchEntryLibrary=function(a,b){this.currentSearchEntryLibrary=null!=a?{id:a,lib:b}:null};
-Sidebar.prototype.getKeyStyle=function(a){var b=[];if(null!=a){a=a.split(";");for(var d=0;d<a.length;d++){var e=a[d].split("=");1<e.length&&0>mxUtils.indexOf(this.ignoredStyles,e[0])&&b.push(e[0]+"="+e[1])}}return b.join(";")};Sidebar.prototype.addLibForStyle=function(a,b){""!=a&&(null==this.styleToLibs&&(this.styleToLibs={}),null==this.styleToLibs[a]&&(this.styleToLibs[a]=[]),this.styleToLibs[a].push(b))};
+w.setAttribute("src",Dialog.prototype.closeImage);w.setAttribute("title",mxResources.get("close"));w.style.position="absolute";w.style.cursor="default";w.style.padding="8px";w.style.right="2px";w.style.top="2px";this.tooltip.appendChild(w);this.tooltipCloseImage=w;mxEvent.addListener(w,"click",mxUtils.bind(this,function(z){this.hideTooltip();mxEvent.consume(z)}))}this.tooltipCloseImage.style.display=k?"":"none";this.graph2.model.clear();this.graph2.view.setTranslate(this.tooltipBorder,this.tooltipBorder);
+this.graph2.view.scale=!n&&(e>this.maxTooltipWidth||f>this.maxTooltipHeight)?Math.round(100*Math.min(this.maxTooltipWidth/e,this.maxTooltipHeight/f))/100:1;this.tooltip.style.display="block";this.graph2.labelsVisible=null==d||d;d=mxClient.NO_FO;mxClient.NO_FO=Editor.prototype.originalNoForeignObject;k=mxUtils.getCurrentStyle(this.tooltip);this.graph2.shapeBackgroundColor=k.backgroundColor;null!=b&&(b=this.graph2.cloneCells(b),this.graph2.pasteCellStyles(q.includeDescendants(b),p?q.currentVertexStyle:
+q.defaultVertexStyle,p?q.currentEdgeStyle:q.defaultEdgeStyle,null,q.pasteEdgeStyle),this.graph2.addCells(b));mxClient.NO_FO=d;p=this.graph2.getGraphBounds();n&&0<e&&0<f&&(p.width>e||p.height>f)?(e=Math.round(100*Math.min(e/p.width,f/p.height))/100,mxClient.NO_FO?(this.graph2.view.setScale(Math.round(100*Math.min(this.maxTooltipWidth/p.width,this.maxTooltipHeight/p.height))/100),p=this.graph2.getGraphBounds()):(this.graph2.view.getDrawPane().ownerSVGElement.style.transform="scale("+e+")",this.graph2.view.getDrawPane().ownerSVGElement.style.transformOrigin=
+"0 0",p.width*=e,p.height*=e)):mxClient.NO_FO||(this.graph2.view.getDrawPane().ownerSVGElement.style.transform="");e=p.width+2*this.tooltipBorder+4;f=p.height+2*this.tooltipBorder;this.tooltip.style.overflow="visible";this.tooltip.style.width=e+"px";n=e;this.tooltipTitles&&null!=h&&0<h.length?(null==this.tooltipTitle?(this.tooltipTitle=document.createElement("div"),this.tooltipTitle.style.borderTop="1px solid gray",this.tooltipTitle.style.textAlign="center",this.tooltipTitle.style.width="100%",this.tooltipTitle.style.overflow=
+"hidden",this.tooltipTitle.style.position="absolute",this.tooltipTitle.style.paddingTop="6px",this.tooltipTitle.style.bottom="6px",this.tooltip.appendChild(this.tooltipTitle)):this.tooltipTitle.innerText="",this.tooltipTitle.style.display="",mxUtils.write(this.tooltipTitle,h),this.tooltipTitle.setAttribute("title",h),n=Math.min(this.maxTooltipWidth,Math.max(e,this.tooltipTitle.scrollWidth+4)),h=this.tooltipTitle.offsetHeight+10,f+=h,mxClient.IS_SVG?this.tooltipTitle.style.marginTop=2-h+"px":(f-=6,
+this.tooltipTitle.style.top=f-h+"px")):null!=this.tooltipTitle&&null!=this.tooltipTitle.parentNode&&(this.tooltipTitle.style.display="none");n>e&&(this.tooltip.style.width=n+"px");this.tooltip.style.height=f+"px";h=-Math.round(p.x-this.tooltipBorder)+(n>e?(n-e)/2:0);e=-Math.round(p.y-this.tooltipBorder);g=null!=g?g:this.getTooltipOffset(a,p);a=g.x;g=g.y;mxClient.IS_SVG?0!=h||0!=e?this.graph2.view.canvas.setAttribute("transform","translate("+h+","+e+")"):this.graph2.view.canvas.removeAttribute("transform"):
+(this.graph2.view.drawPane.style.left=h+"px",this.graph2.view.drawPane.style.top=e+"px");this.tooltip.style.position="absolute";this.tooltip.style.left=a+"px";this.tooltip.style.top=g+"px";mxUtils.fit(this.tooltip,this.tooltipBorder);this.lastCreated=Date.now()};
+Sidebar.prototype.showTooltip=function(a,b,e,f,h,d){if(this.enableTooltips&&this.showTooltips&&this.currentElt!=a){null!=this.thread&&(window.clearTimeout(this.thread),this.thread=null);var g=mxUtils.bind(this,function(){this.createTooltip(a,b,e,f,h,d)});null!=this.tooltip&&"none"!=this.tooltip.style.display?g():this.thread=window.setTimeout(g,this.tooltipDelay);this.currentElt=a}};
+Sidebar.prototype.hideTooltip=function(){null!=this.thread&&(window.clearTimeout(this.thread),this.thread=null);null!=this.tooltip&&(this.tooltip.style.display="none",this.currentElt=null);this.tooltipMouseDown=null};Sidebar.prototype.addDataEntry=function(a,b,e,f,h){null==a&&(a="");null!=f&&(a+=" "+f);return this.addEntry(a,mxUtils.bind(this,function(){return this.createVertexTemplateFromData(h,b,e,f)}))};
+Sidebar.prototype.addEntries=function(a){for(var b=0;b<a.length;b++)mxUtils.bind(this,function(e){var f=e.data,h=null!=e.title?e.title:"";null!=e.tags&&(h+=" "+e.tags);null!=f&&0<h.length?this.addEntry(h,mxUtils.bind(this,function(){f=this.editorUi.convertDataUri(f);var d="shape=image;verticalLabelPosition=bottom;verticalAlign=top;imageAspect=0;";"fixed"==e.aspect&&(d+="aspect=fixed;");return this.createVertexTemplate(d+"image="+f,e.w,e.h,"",e.title||"",!1,!1,!0)})):null!=e.xml&&0<h.length&&this.addEntry(h,
+mxUtils.bind(this,function(){var d=this.editorUi.stringToCells("<"==e.xml.charAt(0)?e.xml:Graph.decompress(e.xml));return this.createVertexTemplateFromCells(d,e.w,e.h,e.title||"",!0,!1,!0)}))})(a[b])};Sidebar.prototype.setCurrentSearchEntryLibrary=function(a,b){this.currentSearchEntryLibrary=null!=a?{id:a,lib:b}:null};
+Sidebar.prototype.getKeyStyle=function(a){var b=[];if(null!=a){a=a.split(";");for(var e=0;e<a.length;e++){var f=a[e].split("=");1<f.length&&0>mxUtils.indexOf(this.ignoredStyles,f[0])&&b.push(f[0]+"="+f[1])}}return b.join(";")};Sidebar.prototype.addLibForStyle=function(a,b){""!=a&&(null==this.styleToLibs&&(this.styleToLibs={}),null==this.styleToLibs[a]&&(this.styleToLibs[a]=[]),this.styleToLibs[a].push(b))};
Sidebar.prototype.getLibsForStyle=function(a){return null!=this.styleToLibs?this.styleToLibs[a]:null};
-Sidebar.prototype.addEntry=function(a,b){if(null!=this.currentSearchEntryLibrary){var d=this,e=this.createVertexTemplateFromCells;this.createVertexTemplateFromCells=function(n,q,l,p,w){if(null!=n)for(q=0;q<n.length;q++)d.addLibForStyle(d.getKeyStyle(n[q].style),this.currentSearchEntryLibrary)};b();this.createVertexTemplateFromCells=e}if(null!=this.taglist&&null!=a&&0<a.length){null!=this.currentSearchEntryLibrary&&(b.parentLibraries=[this.currentSearchEntryLibrary]);a=a.toLowerCase().replace(/[\/,\(\)]/g,
-" ").split(" ");e=[];for(var g={},f=0;f<a.length;f++){null==g[a[f]]&&(g[a[f]]=!0,e.push(a[f]));var h=Editor.soundex(a[f].replace(/\.*\d*$/,""));h!=a[f]&&null==g[h]&&(g[h]=!0,e.push(h))}for(f=0;f<e.length;f++)this.addEntryForTag(e[f],b)}return b};Sidebar.prototype.addEntryForTag=function(a,b){if(null!=a&&1<a.length){var d=this.taglist[a];"object"!==typeof d&&(d={entries:[]},this.taglist[a]=d);d.entries.push(b)}};
-Sidebar.prototype.isEntryIgnored=function(a,b){b=!b;if(null!=a.parentLibraries&&b)for(var d=0;d<a.parentLibraries.length;d++)if(this.isEntryVisible(a.parentLibraries[d].id)){b=!1;break}return b};
-Sidebar.prototype.searchEntries=function(a,b,d,e,g,f){if(null!=this.taglist&&null!=a){var h=a.toLowerCase().split(" ");a=new mxDictionary;g=(d+1)*b;for(var n=[],q=0,l=0;l<h.length;l++){var p=Editor.soundex(h[l].replace(/\.*\d*$/,""));if(0<p.length){n=this.taglist[h[l]];var w=null!=n?n.entries.slice():[];n=this.taglist[p];w=null!=n?w.concat(n.entries):w;p=new mxDictionary;if(0<w.length){n=[];for(var z=0;z<w.length;z++){var C=w[z];if(0==q==(null==a.get(C))&&null==p.get(C)&&(p.put(C,C),!this.isEntryIgnored(C,
-f)&&(n.push(C),l==h.length-1&&n.length==g))){e(n.slice(d*b,g),g,!0,h);return}}}else n=[];a=p;q++}}f=n.length;e(n.slice(d*b,(d+1)*b),f,!1,h)}else e([],null,null,h)};Sidebar.prototype.filterTags=function(a){if(null!=a){a=a.split(" ");for(var b=[],d={},e=0;e<a.length;e++)null==d[a[e]]&&(d[a[e]]="1",b.push(a[e]));return b.join(" ")}return null};Sidebar.prototype.cloneCell=function(a,b){a=a.clone();null!=b&&(a.value=b);return a};Sidebar.prototype.showPopupMenuForEntry=function(a,b,d){};
-Sidebar.prototype.addSearchPalette=function(a){function b(){h.setAttribute("src",Editor.magnifyImage);h.setAttribute("title",mxResources.get("search"));q.style.display="none";l=f.value="";D()}var d=document.createElement("div");d.style.visibility="hidden";this.appendChild(d);var e=document.createElement("div");e.className="geSidebar geSearchSidebar";a||(e.style.display="none");var g=document.createElement("div");g.style.whiteSpace="nowrap";g.style.textOverflow="clip";g.style.paddingBottom="8px";g.style.cursor=
-"default";var f=document.createElement("input");f.setAttribute("placeholder",mxResources.get("searchShapes"));f.setAttribute("type","text");g.appendChild(f);var h=document.createElement("img");h.setAttribute("src",Editor.magnifyImage);h.setAttribute("title",mxResources.get("search"));h.className="geAdaptiveAsset";h.style.position="relative";h.style.cursor="pointer";h.style.opacity="0.5";h.style.height="16px";h.style.left="-20px";h.style.top="4px";h.style.background="url('"+this.editorUi.editor.transparentImage+
-"')";g.appendChild(h);e.appendChild(g);var n=document.createElement("center"),q=mxUtils.button(mxResources.get("moreResults"),function(){G()});q.style.display="none";q.style.lineHeight="normal";q.style.fontSize="12px";q.style.padding="6px 12px 6px 12px";q.style.marginTop="4px";q.style.marginBottom="8px";n.style.paddingTop="4px";n.style.paddingBottom="4px";n.appendChild(q);e.appendChild(n);var l="",p=!1,w=!1,z=0,C={},F=12,D=mxUtils.bind(this,function(){p=!1;this.currentSearch=null;for(var K=e.firstChild;null!=
-K;){var I=K.nextSibling;K!=g&&K!=n&&K.parentNode.removeChild(K);K=I}});mxEvent.addListener(h,"click",function(){h.getAttribute("src")!=Editor.magnifyImage&&b();f.focus()});var G=mxUtils.bind(this,function(){F=4*Math.max(1,Math.floor(this.container.clientWidth/(this.thumbWidth+10)));this.hideTooltip();if(""!=f.value){if(null!=n.parentNode&&(l!=f.value&&(D(),l=f.value,C={},w=!1,z=0),!p&&!w)){q.setAttribute("disabled","true");q.style.display="";q.style.cursor="wait";q.innerHTML=mxResources.get("loading")+
-"...";p=!0;var K={};this.currentSearch=K;try{this.searchEntries(l,F,z,mxUtils.bind(this,function(I,O,H,Z){if(this.currentSearch==K){I=null!=I?I:[];p=!1;z++;this.insertSearchHint(e,l,F,z,I,O,H,Z);0==I.length&&1==z&&(l="");null!=n.parentNode&&n.parentNode.removeChild(n);for(O=0;O<I.length;O++)mxUtils.bind(this,function(S){try{var X=S();null!=this.closedLibraryOpacity&&this.searchClosedLibraries&&this.isEntryIgnored(S,!1)&&(X.style.opacity=this.closedLibraryOpacity);null==C[X.innerHTML]?(C[X.innerHTML]=
-null!=S.parentLibraries?S.parentLibraries.slice():[],e.appendChild(X)):null!=S.parentLibraries&&(C[X.innerHTML]=C[X.innerHTML].concat(S.parentLibraries));mxEvent.addGestureListeners(X,null,null,mxUtils.bind(this,function(Y){var M=C[X.innerHTML];mxEvent.isPopupTrigger(Y)&&this.showPopupMenuForEntry(X,M,Y)}));mxEvent.disableContextMenu(X)}catch(Y){"1"==urlParams.test&&(null==window.console||EditorUi.isElectronApp?(mxLog.show(),mxLog.debug(Y.stack)):console.error(Y))}})(I[O]);H?(q.removeAttribute("disabled"),
-q.innerHTML=mxResources.get("moreResults")):(q.innerHTML=mxResources.get("reset"),q.style.display="none",w=!0);q.style.cursor="";e.appendChild(n)}}),mxUtils.bind(this,function(){q.style.cursor=""}),this.searchClosedLibraries)}catch(I){this.editorUi.handleError(I)}}}else D(),l=f.value="",C={},q.style.display="none",w=!1,f.focus()});this.searchShapes=function(K){f.value=K;G()};mxEvent.addListener(f,"keydown",mxUtils.bind(this,function(K){13==K.keyCode?(G(),mxEvent.consume(K)):27==K.keyCode&&b()}));
-a=mxUtils.bind(this,function(){window.setTimeout(mxUtils.bind(this,function(){""==f.value?(h.setAttribute("src",Editor.magnifyImage),h.setAttribute("title",mxResources.get("search"))):(h.setAttribute("src",Editor.crossImage),h.setAttribute("title",mxResources.get("reset")));""==f.value?(w=!0,q.style.display="none"):f.value!=l?(q.style.display="none",w=!1):p||(q.style.display=w?"none":"")}),0)});mxEvent.addListener(f,"keyup",a);mxEvent.addListener(f,"paste",a);mxEvent.addListener(f,"cut",a);mxEvent.addListener(f,
-"mousedown",function(K){K.stopPropagation&&K.stopPropagation();K.cancelBubble=!0});mxEvent.addListener(f,"selectstart",function(K){K.stopPropagation&&K.stopPropagation();K.cancelBubble=!0});a=document.createElement("div");a.appendChild(e);this.appendChild(a);this.palettes.search=[d,a]};
-Sidebar.prototype.insertSearchHint=function(a,b,d,e,g,f,h,n){0==g.length&&1==e&&(d=document.createElement("div"),d.className="geTitle",d.style.cssText="background-color:transparent;border-color:transparent;padding:6px 0px 0px 0px !important;margin:4px 8px 4px 8px;text-align:center;cursor:default !important;font-size:11px;font-weight:normal;",mxUtils.write(d,mxResources.get("noResultsFor",[b])),a.appendChild(d))};
-Sidebar.prototype.addGeneralPalette=function(a){this.setCurrentSearchEntryLibrary("general","general");var b=this.editorUi.editor.graph,d=this,e=parseInt(this.initialDefaultVertexStyle.fontSize);e=isNaN(e)?"":"fontSize="+Math.min(16,e)+";";var g=b.appendFontSize("edgeLabel;resizable=0;html=1;",b.edgeFontSize),f=new mxCell("List Item",new mxGeometry(0,0,80,30),"text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;"+
-e);f.vertex=!0;b=[this.createVertexTemplateEntry("rounded=0;whiteSpace=wrap;html=1;",120,60,"","Rectangle",null,null,"rect rectangle box"),this.createVertexTemplateEntry("rounded=1;whiteSpace=wrap;html=1;",120,60,"","Rounded Rectangle",null,null,"rounded rect rectangle box"),this.createVertexTemplateEntry(b.appendFontSize("text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;",b.vertexFontSize),60,30,"Text","Text",null,null,"text textbox textarea label"),this.createVertexTemplateEntry("text;html=1;whiteSpace=wrap;overflow=hidden;rounded=0;",
+Sidebar.prototype.addEntry=function(a,b){if(null!=this.currentSearchEntryLibrary){var e=this,f=this.createVertexTemplateFromCells;this.createVertexTemplateFromCells=function(n,q,k,p,w){if(null!=n)for(q=0;q<n.length;q++)e.addLibForStyle(e.getKeyStyle(n[q].style),this.currentSearchEntryLibrary)};b();this.createVertexTemplateFromCells=f}if(null!=this.taglist&&null!=a&&0<a.length){null!=this.currentSearchEntryLibrary&&(b.parentLibraries=[this.currentSearchEntryLibrary]);a=a.toLowerCase().replace(/[\/,\(\)]/g,
+" ").split(" ");f=[];for(var h={},d=0;d<a.length;d++){null==h[a[d]]&&(h[a[d]]=!0,f.push(a[d]));var g=Editor.soundex(a[d].replace(/\.*\d*$/,""));g!=a[d]&&null==h[g]&&(h[g]=!0,f.push(g))}for(d=0;d<f.length;d++)this.addEntryForTag(f[d],b)}return b};Sidebar.prototype.addEntryForTag=function(a,b){if(null!=a&&1<a.length){var e=this.taglist[a];"object"!==typeof e&&(e={entries:[]},this.taglist[a]=e);e.entries.push(b)}};
+Sidebar.prototype.isEntryIgnored=function(a,b){b=!b;if(null!=a.parentLibraries&&b)for(var e=0;e<a.parentLibraries.length;e++)if(this.isEntryVisible(a.parentLibraries[e].id)){b=!1;break}return b};
+Sidebar.prototype.searchEntries=function(a,b,e,f,h,d){if(null!=this.taglist&&null!=a){var g=a.toLowerCase().split(" ");a=new mxDictionary;h=(e+1)*b;for(var n=[],q=0,k=0;k<g.length;k++){var p=Editor.soundex(g[k].replace(/\.*\d*$/,""));if(0<p.length){n=this.taglist[g[k]];var w=null!=n?n.entries.slice():[];n=this.taglist[p];w=null!=n?w.concat(n.entries):w;p=new mxDictionary;if(0<w.length){n=[];for(var z=0;z<w.length;z++){var C=w[z];if(0==q==(null==a.get(C))&&null==p.get(C)&&(p.put(C,C),!this.isEntryIgnored(C,
+d)&&(n.push(C),k==g.length-1&&n.length==h))){f(n.slice(e*b,h),h,!0,g);return}}}else n=[];a=p;q++}}d=n.length;f(n.slice(e*b,(e+1)*b),d,!1,g)}else f([],null,null,g)};Sidebar.prototype.filterTags=function(a){if(null!=a){a=a.split(" ");for(var b=[],e={},f=0;f<a.length;f++)null==e[a[f]]&&(e[a[f]]="1",b.push(a[f]));return b.join(" ")}return null};Sidebar.prototype.cloneCell=function(a,b){a=a.clone();null!=b&&(a.value=b);return a};Sidebar.prototype.showPopupMenuForEntry=function(a,b,e){};
+Sidebar.prototype.addSearchPalette=function(a){function b(){g.setAttribute("src",Editor.magnifyImage);g.setAttribute("title",mxResources.get("search"));q.style.display="none";k=d.value="";D()}var e=document.createElement("div");e.style.visibility="hidden";this.appendChild(e);var f=document.createElement("div");f.className="geSidebar geSearchSidebar";a||(f.style.display="none");var h=document.createElement("div");h.style.whiteSpace="nowrap";h.style.textOverflow="clip";h.style.paddingBottom="8px";h.style.cursor=
+"default";var d=document.createElement("input");d.setAttribute("placeholder",mxResources.get("searchShapes"));d.setAttribute("type","text");h.appendChild(d);var g=document.createElement("img");g.setAttribute("src",Editor.magnifyImage);g.setAttribute("title",mxResources.get("search"));g.className="geAdaptiveAsset";g.style.position="relative";g.style.cursor="pointer";g.style.opacity="0.5";g.style.height="16px";g.style.left="-20px";g.style.top="4px";g.style.background="url('"+this.editorUi.editor.transparentImage+
+"')";h.appendChild(g);f.appendChild(h);var n=document.createElement("center"),q=mxUtils.button(mxResources.get("moreResults"),function(){H()});q.style.display="none";q.style.lineHeight="normal";q.style.fontSize="12px";q.style.padding="6px 12px 6px 12px";q.style.marginTop="4px";q.style.marginBottom="8px";n.style.paddingTop="4px";n.style.paddingBottom="4px";n.appendChild(q);f.appendChild(n);var k="",p=!1,w=!1,z=0,C={},F=12,D=mxUtils.bind(this,function(){p=!1;this.currentSearch=null;for(var K=f.firstChild;null!=
+K;){var G=K.nextSibling;K!=h&&K!=n&&K.parentNode.removeChild(K);K=G}});mxEvent.addListener(g,"click",function(){g.getAttribute("src")!=Editor.magnifyImage&&b();d.focus()});var H=mxUtils.bind(this,function(){F=4*Math.max(1,Math.floor(this.container.clientWidth/(this.thumbWidth+10)));this.hideTooltip();if(""!=d.value){if(null!=n.parentNode&&(k!=d.value&&(D(),k=d.value,C={},w=!1,z=0),!p&&!w)){q.setAttribute("disabled","true");q.style.display="";q.style.cursor="wait";q.innerHTML=mxResources.get("loading")+
+"...";p=!0;var K={};this.currentSearch=K;try{this.searchEntries(k,F,z,mxUtils.bind(this,function(G,P,I,Z){if(this.currentSearch==K){G=null!=G?G:[];p=!1;z++;this.insertSearchHint(f,k,F,z,G,P,I,Z);0==G.length&&1==z&&(k="");null!=n.parentNode&&n.parentNode.removeChild(n);for(P=0;P<G.length;P++)mxUtils.bind(this,function(S){try{var Y=S();null!=this.closedLibraryOpacity&&this.searchClosedLibraries&&this.isEntryIgnored(S,!1)&&(Y.style.opacity=this.closedLibraryOpacity);null==C[Y.innerHTML]?(C[Y.innerHTML]=
+null!=S.parentLibraries?S.parentLibraries.slice():[],f.appendChild(Y)):null!=S.parentLibraries&&(C[Y.innerHTML]=C[Y.innerHTML].concat(S.parentLibraries));mxEvent.addGestureListeners(Y,null,null,mxUtils.bind(this,function(V){var L=C[Y.innerHTML];mxEvent.isPopupTrigger(V)&&this.showPopupMenuForEntry(Y,L,V)}));mxEvent.disableContextMenu(Y)}catch(V){"1"==urlParams.test&&(null==window.console||EditorUi.isElectronApp?(mxLog.show(),mxLog.debug(V.stack)):console.error(V))}})(G[P]);I?(q.removeAttribute("disabled"),
+q.innerHTML=mxResources.get("moreResults")):(q.innerHTML=mxResources.get("reset"),q.style.display="none",w=!0);q.style.cursor="";f.appendChild(n)}}),mxUtils.bind(this,function(){q.style.cursor=""}),this.searchClosedLibraries)}catch(G){this.editorUi.handleError(G)}}}else D(),k=d.value="",C={},q.style.display="none",w=!1,d.focus()});this.searchShapes=function(K){d.value=K;H()};mxEvent.addListener(d,"keydown",mxUtils.bind(this,function(K){13==K.keyCode?(H(),mxEvent.consume(K)):27==K.keyCode&&b()}));
+a=mxUtils.bind(this,function(){window.setTimeout(mxUtils.bind(this,function(){""==d.value?(g.setAttribute("src",Editor.magnifyImage),g.setAttribute("title",mxResources.get("search"))):(g.setAttribute("src",Editor.crossImage),g.setAttribute("title",mxResources.get("reset")));""==d.value?(w=!0,q.style.display="none"):d.value!=k?(q.style.display="none",w=!1):p||(q.style.display=w?"none":"")}),0)});mxEvent.addListener(d,"keyup",a);mxEvent.addListener(d,"paste",a);mxEvent.addListener(d,"cut",a);mxEvent.addListener(d,
+"mousedown",function(K){K.stopPropagation&&K.stopPropagation();K.cancelBubble=!0});mxEvent.addListener(d,"selectstart",function(K){K.stopPropagation&&K.stopPropagation();K.cancelBubble=!0});a=document.createElement("div");a.appendChild(f);this.appendChild(a);this.palettes.search=[e,a]};
+Sidebar.prototype.insertSearchHint=function(a,b,e,f,h,d,g,n){0==h.length&&1==f&&(e=document.createElement("div"),e.className="geTitle",e.style.cssText="background-color:transparent;border-color:transparent;padding:6px 0px 0px 0px !important;margin:4px 8px 4px 8px;text-align:center;cursor:default !important;font-size:11px;font-weight:normal;",mxUtils.write(e,mxResources.get("noResultsFor",[b])),a.appendChild(e))};
+Sidebar.prototype.addGeneralPalette=function(a){this.setCurrentSearchEntryLibrary("general","general");var b=this.editorUi.editor.graph,e=this,f=parseInt(this.initialDefaultVertexStyle.fontSize);f=isNaN(f)?"":"fontSize="+Math.min(16,f)+";";var h=b.appendFontSize("edgeLabel;resizable=0;html=1;",b.edgeFontSize),d=new mxCell("List Item",new mxGeometry(0,0,80,30),"text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;"+
+f);d.vertex=!0;b=[this.createVertexTemplateEntry("rounded=0;whiteSpace=wrap;html=1;",120,60,"","Rectangle",null,null,"rect rectangle box"),this.createVertexTemplateEntry("rounded=1;whiteSpace=wrap;html=1;",120,60,"","Rounded Rectangle",null,null,"rounded rect rectangle box"),this.createVertexTemplateEntry(b.appendFontSize("text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;",b.vertexFontSize),60,30,"Text","Text",null,null,"text textbox textarea label"),this.createVertexTemplateEntry("text;html=1;whiteSpace=wrap;overflow=hidden;rounded=0;",
180,120,'<h1 style="margin-top: 0px;">Heading</h1><p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>',"Textbox",null,null,"text textbox textarea"),this.createVertexTemplateEntry("ellipse;whiteSpace=wrap;html=1;",120,80,"","Ellipse",null,null,"oval ellipse state"),this.createVertexTemplateEntry("whiteSpace=wrap;html=1;aspect=fixed;",80,80,"","Square",null,null,"square"),this.createVertexTemplateEntry("ellipse;whiteSpace=wrap;html=1;aspect=fixed;",
80,80,"","Circle",null,null,"circle"),this.createVertexTemplateEntry("shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;",120,60,"","Process",null,null,"process task"),this.createVertexTemplateEntry("rhombus;whiteSpace=wrap;html=1;",80,80,"","Diamond",null,null,"diamond rhombus if condition decision conditional question test"),this.createVertexTemplateEntry("shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;fixedSize=1;",120,60,"","Parallelogram"),this.createVertexTemplateEntry("shape=hexagon;perimeter=hexagonPerimeter2;whiteSpace=wrap;html=1;fixedSize=1;",
120,80,"","Hexagon",null,null,"hexagon preparation"),this.createVertexTemplateEntry("triangle;whiteSpace=wrap;html=1;",60,80,"","Triangle",null,null,"triangle logic inverter buffer"),this.createVertexTemplateEntry("shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;size=15;",60,80,"","Cylinder",null,null,"cylinder data database"),this.createVertexTemplateEntry("ellipse;shape=cloud;whiteSpace=wrap;html=1;",120,80,"","Cloud",null,null,"cloud network"),this.createVertexTemplateEntry("shape=document;whiteSpace=wrap;html=1;boundedLbl=1;",
120,80,"","Document"),this.createVertexTemplateEntry("shape=internalStorage;whiteSpace=wrap;html=1;backgroundOutline=1;",80,80,"","Internal Storage"),this.createVertexTemplateEntry("shape=cube;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;darkOpacity=0.05;darkOpacity2=0.1;",120,80,"","Cube"),this.createVertexTemplateEntry("shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;",120,80,"","Step"),this.createVertexTemplateEntry("shape=trapezoid;perimeter=trapezoidPerimeter;whiteSpace=wrap;html=1;fixedSize=1;",
120,60,"","Trapezoid"),this.createVertexTemplateEntry("shape=tape;whiteSpace=wrap;html=1;",120,100,"","Tape"),this.createVertexTemplateEntry("shape=note;whiteSpace=wrap;html=1;backgroundOutline=1;darkOpacity=0.05;",80,100,"","Note"),this.createVertexTemplateEntry("shape=card;whiteSpace=wrap;html=1;",80,100,"","Card"),this.createVertexTemplateEntry("shape=callout;whiteSpace=wrap;html=1;perimeter=calloutPerimeter;",120,80,"","Callout",null,null,"bubble chat thought speech message"),this.createVertexTemplateEntry("shape=umlActor;verticalLabelPosition=bottom;verticalAlign=top;html=1;outlineConnect=0;",
30,60,"Actor","Actor",!1,null,"user person human stickman"),this.createVertexTemplateEntry("shape=xor;whiteSpace=wrap;html=1;",60,80,"","Or",null,null,"logic or"),this.createVertexTemplateEntry("shape=or;whiteSpace=wrap;html=1;",60,80,"","And",null,null,"logic and"),this.createVertexTemplateEntry("shape=dataStorage;whiteSpace=wrap;html=1;fixedSize=1;",100,80,"","Data Storage"),this.createVertexTemplateEntry("swimlane;startSize=0;",200,200,"","Container",null,null,"container swimlane lane pool group"),
-this.createVertexTemplateEntry("swimlane;whiteSpace=wrap;html=1;",200,200,"Vertical Container","Container",null,null,"container swimlane lane pool group"),this.createVertexTemplateEntry("swimlane;horizontal=0;whiteSpace=wrap;html=1;",200,200,"Horizontal Container","Horizontal Container",null,null,"container swimlane lane pool group"),this.addEntry("list group erd table",function(){var h=new mxCell("List",new mxGeometry(0,0,140,120),"swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;");
-h.vertex=!0;h.insert(d.cloneCell(f,"Item 1"));h.insert(d.cloneCell(f,"Item 2"));h.insert(d.cloneCell(f,"Item 3"));return d.createVertexTemplateFromCells([h],h.geometry.width,h.geometry.height,"List")}),this.addEntry("list item entry value group erd table",function(){return d.createVertexTemplateFromCells([d.cloneCell(f,"List Item")],f.geometry.width,f.geometry.height,"List Item")}),this.addEntry("curve",mxUtils.bind(this,function(){var h=new mxCell("",new mxGeometry(0,0,50,50),"curved=1;endArrow=classic;html=1;");
-h.geometry.setTerminalPoint(new mxPoint(0,50),!0);h.geometry.setTerminalPoint(new mxPoint(50,0),!1);h.geometry.points=[new mxPoint(50,50),new mxPoint(0,0)];h.geometry.relative=!0;h.edge=!0;return this.createEdgeTemplateFromCells([h],h.geometry.width,h.geometry.height,"Curve")})),this.createEdgeTemplateEntry("shape=flexArrow;endArrow=classic;startArrow=classic;html=1;",100,100,"","Bidirectional Arrow",null,"line lines connector connectors connection connections arrow arrows bidirectional"),this.createEdgeTemplateEntry("shape=flexArrow;endArrow=classic;html=1;",
+this.createVertexTemplateEntry("swimlane;whiteSpace=wrap;html=1;",200,200,"Vertical Container","Container",null,null,"container swimlane lane pool group"),this.createVertexTemplateEntry("swimlane;horizontal=0;whiteSpace=wrap;html=1;",200,200,"Horizontal Container","Horizontal Container",null,null,"container swimlane lane pool group"),this.addEntry("list group erd table",function(){var g=new mxCell("List",new mxGeometry(0,0,140,120),"swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;");
+g.vertex=!0;g.insert(e.cloneCell(d,"Item 1"));g.insert(e.cloneCell(d,"Item 2"));g.insert(e.cloneCell(d,"Item 3"));return e.createVertexTemplateFromCells([g],g.geometry.width,g.geometry.height,"List")}),this.addEntry("list item entry value group erd table",function(){return e.createVertexTemplateFromCells([e.cloneCell(d,"List Item")],d.geometry.width,d.geometry.height,"List Item")}),this.addEntry("curve",mxUtils.bind(this,function(){var g=new mxCell("",new mxGeometry(0,0,50,50),"curved=1;endArrow=classic;html=1;");
+g.geometry.setTerminalPoint(new mxPoint(0,50),!0);g.geometry.setTerminalPoint(new mxPoint(50,0),!1);g.geometry.points=[new mxPoint(50,50),new mxPoint(0,0)];g.geometry.relative=!0;g.edge=!0;return this.createEdgeTemplateFromCells([g],g.geometry.width,g.geometry.height,"Curve")})),this.createEdgeTemplateEntry("shape=flexArrow;endArrow=classic;startArrow=classic;html=1;",100,100,"","Bidirectional Arrow",null,"line lines connector connectors connection connections arrow arrows bidirectional"),this.createEdgeTemplateEntry("shape=flexArrow;endArrow=classic;html=1;",
50,50,"","Arrow",null,"line lines connector connectors connection connections arrow arrows directional directed"),this.createEdgeTemplateEntry("endArrow=none;dashed=1;html=1;",50,50,"","Dashed Line",null,"line lines connector connectors connection connections arrow arrows dashed undirected no"),this.createEdgeTemplateEntry("endArrow=none;dashed=1;html=1;dashPattern=1 3;strokeWidth=2;",50,50,"","Dotted Line",null,"line lines connector connectors connection connections arrow arrows dotted undirected no"),
this.createEdgeTemplateEntry("endArrow=none;html=1;",50,50,"","Line",null,"line lines connector connectors connection connections arrow arrows simple undirected plain blank no"),this.createEdgeTemplateEntry("endArrow=classic;startArrow=classic;html=1;",50,50,"","Bidirectional Connector",null,"line lines connector connectors connection connections arrow arrows bidirectional"),this.createEdgeTemplateEntry("endArrow=classic;html=1;",50,50,"","Directional Connector",null,"line lines connector connectors connection connections arrow arrows directional directed"),
-this.createEdgeTemplateEntry("shape=link;html=1;",100,0,"","Link",null,"line lines connector connectors connection connections arrow arrows link"),this.addEntry("line lines connector connectors connection connections arrow arrows edge title",mxUtils.bind(this,function(){var h=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=classic;html=1;");h.geometry.setTerminalPoint(new mxPoint(0,0),!0);h.geometry.setTerminalPoint(new mxPoint(100,0),!1);h.geometry.relative=!0;h.edge=!0;var n=new mxCell("Label",
-new mxGeometry(0,0,0,0),g+";align=center;verticalAlign=middle;");n.geometry.relative=!0;n.setConnectable(!1);n.vertex=!0;h.insert(n);return this.createEdgeTemplateFromCells([h],100,0,"Connector with Label")})),this.addEntry("line lines connector connectors connection connections arrow arrows edge title multiplicity",mxUtils.bind(this,function(){var h=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=classic;html=1;");h.geometry.setTerminalPoint(new mxPoint(0,0),!0);h.geometry.setTerminalPoint(new mxPoint(160,
-0),!1);h.geometry.relative=!0;h.edge=!0;var n=new mxCell("Label",new mxGeometry(0,0,0,0),g+";align=center;verticalAlign=middle;");n.geometry.relative=!0;n.setConnectable(!1);n.vertex=!0;h.insert(n);n=new mxCell("Source",new mxGeometry(-1,0,0,0),g+";align=left;verticalAlign=bottom;");n.geometry.relative=!0;n.setConnectable(!1);n.vertex=!0;h.insert(n);return this.createEdgeTemplateFromCells([h],160,0,"Connector with 2 Labels")})),this.addEntry("line lines connector connectors connection connections arrow arrows edge title multiplicity",
-mxUtils.bind(this,function(){var h=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=classic;html=1;");h.geometry.setTerminalPoint(new mxPoint(0,0),!0);h.geometry.setTerminalPoint(new mxPoint(160,0),!1);h.geometry.relative=!0;h.edge=!0;var n=new mxCell("Label",new mxGeometry(0,0,0,0),g+";align=center;verticalAlign=middle;");n.geometry.relative=!0;n.setConnectable(!1);n.vertex=!0;h.insert(n);n=new mxCell("Source",new mxGeometry(-1,0,0,0),g+";align=left;verticalAlign=bottom;");n.geometry.relative=!0;
-n.setConnectable(!1);n.vertex=!0;h.insert(n);n=new mxCell("Target",new mxGeometry(1,0,0,0),g+";align=right;verticalAlign=bottom;");n.geometry.relative=!0;n.setConnectable(!1);n.vertex=!0;h.insert(n);return this.createEdgeTemplateFromCells([h],160,0,"Connector with 3 Labels")})),this.addEntry("line lines connector connectors connection connections arrow arrows edge shape symbol message mail email",mxUtils.bind(this,function(){var h=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=classic;html=1;");
-h.geometry.setTerminalPoint(new mxPoint(0,0),!0);h.geometry.setTerminalPoint(new mxPoint(100,0),!1);h.geometry.relative=!0;h.edge=!0;var n=new mxCell("",new mxGeometry(0,0,20,14),"shape=message;html=1;outlineConnect=0;");n.geometry.relative=!0;n.vertex=!0;n.geometry.offset=new mxPoint(-10,-7);h.insert(n);return this.createEdgeTemplateFromCells([h],100,0,"Connector with Symbol")}))];this.addPaletteFunctions("general",mxResources.get("general"),null!=a?a:!0,b);this.setCurrentSearchEntryLibrary()};
-Sidebar.prototype.addMiscPalette=function(a){var b=this;this.setCurrentSearchEntryLibrary("general","misc");var d=[this.createVertexTemplateEntry("text;strokeColor=none;fillColor=none;html=1;fontSize=24;fontStyle=1;verticalAlign=middle;align=center;",100,40,"Title","Title",null,null,"text heading title"),this.createVertexTemplateEntry("text;strokeColor=none;fillColor=none;html=1;whiteSpace=wrap;verticalAlign=middle;overflow=hidden;",100,80,"<ul><li>Value 1</li><li>Value 2</li><li>Value 3</li></ul>",
+this.createEdgeTemplateEntry("shape=link;html=1;",100,0,"","Link",null,"line lines connector connectors connection connections arrow arrows link"),this.addEntry("line lines connector connectors connection connections arrow arrows edge title",mxUtils.bind(this,function(){var g=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=classic;html=1;");g.geometry.setTerminalPoint(new mxPoint(0,0),!0);g.geometry.setTerminalPoint(new mxPoint(100,0),!1);g.geometry.relative=!0;g.edge=!0;var n=new mxCell("Label",
+new mxGeometry(0,0,0,0),h+";align=center;verticalAlign=middle;");n.geometry.relative=!0;n.setConnectable(!1);n.vertex=!0;g.insert(n);return this.createEdgeTemplateFromCells([g],100,0,"Connector with Label")})),this.addEntry("line lines connector connectors connection connections arrow arrows edge title multiplicity",mxUtils.bind(this,function(){var g=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=classic;html=1;");g.geometry.setTerminalPoint(new mxPoint(0,0),!0);g.geometry.setTerminalPoint(new mxPoint(160,
+0),!1);g.geometry.relative=!0;g.edge=!0;var n=new mxCell("Label",new mxGeometry(0,0,0,0),h+";align=center;verticalAlign=middle;");n.geometry.relative=!0;n.setConnectable(!1);n.vertex=!0;g.insert(n);n=new mxCell("Source",new mxGeometry(-1,0,0,0),h+";align=left;verticalAlign=bottom;");n.geometry.relative=!0;n.setConnectable(!1);n.vertex=!0;g.insert(n);return this.createEdgeTemplateFromCells([g],160,0,"Connector with 2 Labels")})),this.addEntry("line lines connector connectors connection connections arrow arrows edge title multiplicity",
+mxUtils.bind(this,function(){var g=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=classic;html=1;");g.geometry.setTerminalPoint(new mxPoint(0,0),!0);g.geometry.setTerminalPoint(new mxPoint(160,0),!1);g.geometry.relative=!0;g.edge=!0;var n=new mxCell("Label",new mxGeometry(0,0,0,0),h+";align=center;verticalAlign=middle;");n.geometry.relative=!0;n.setConnectable(!1);n.vertex=!0;g.insert(n);n=new mxCell("Source",new mxGeometry(-1,0,0,0),h+";align=left;verticalAlign=bottom;");n.geometry.relative=!0;
+n.setConnectable(!1);n.vertex=!0;g.insert(n);n=new mxCell("Target",new mxGeometry(1,0,0,0),h+";align=right;verticalAlign=bottom;");n.geometry.relative=!0;n.setConnectable(!1);n.vertex=!0;g.insert(n);return this.createEdgeTemplateFromCells([g],160,0,"Connector with 3 Labels")})),this.addEntry("line lines connector connectors connection connections arrow arrows edge shape symbol message mail email",mxUtils.bind(this,function(){var g=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=classic;html=1;");
+g.geometry.setTerminalPoint(new mxPoint(0,0),!0);g.geometry.setTerminalPoint(new mxPoint(100,0),!1);g.geometry.relative=!0;g.edge=!0;var n=new mxCell("",new mxGeometry(0,0,20,14),"shape=message;html=1;outlineConnect=0;");n.geometry.relative=!0;n.vertex=!0;n.geometry.offset=new mxPoint(-10,-7);g.insert(n);return this.createEdgeTemplateFromCells([g],100,0,"Connector with Symbol")}))];this.addPaletteFunctions("general",mxResources.get("general"),null!=a?a:!0,b);this.setCurrentSearchEntryLibrary()};
+Sidebar.prototype.addMiscPalette=function(a){var b=this;this.setCurrentSearchEntryLibrary("general","misc");var e=[this.createVertexTemplateEntry("text;strokeColor=none;fillColor=none;html=1;fontSize=24;fontStyle=1;verticalAlign=middle;align=center;",100,40,"Title","Title",null,null,"text heading title"),this.createVertexTemplateEntry("text;strokeColor=none;fillColor=none;html=1;whiteSpace=wrap;verticalAlign=middle;overflow=hidden;",100,80,"<ul><li>Value 1</li><li>Value 2</li><li>Value 3</li></ul>",
"Unordered List"),this.createVertexTemplateEntry("text;strokeColor=none;fillColor=none;html=1;whiteSpace=wrap;verticalAlign=middle;overflow=hidden;",100,80,"<ol><li>Value 1</li><li>Value 2</li><li>Value 3</li></ol>","Ordered List"),this.createVertexTemplateEntry("shape=table;startSize=0;container=1;collapsible=0;childLayout=tableLayout;fontSize=11;fillColor=none;strokeColor=none;",60,60,"","Vertical List"),this.addDataEntry("vertical list",60,60,"Vertical List","7VjbbqMwEP0aXldcQrp9hfSyUvel3R9wwwRba2xkJiX063eMnaRNgxR2V1EUIYHkGWYGzznjI0SQ5NXmwbCa/9QFyCC5C5LcaI1uVW1ykDKIQ1EEySKI45DuIL4feBr1T8OaGVB4SkLsEt6YXIPzOEeDnfSOhrPaLpG9WlfWIDP4It6tLyR7qRUyocCQHfW2lKxuRB/tIriQxRPr9Bq3dbZWtqJsXyyy2SshZa6lttWUVu6FRv+GA6ffNxiEzWDvvcs3/gC6AjQdhbSiQO4i5g6ekIMoOX72scbZ5S5zDyQtPJbHcU1G4vqsW2qKayPeLZzSI3eIddOKSjIFj8CKA1emi26X9REwoTgYYbFGXfsICSv0y1eNqCtvGI9CeJTHwuj6FzMlbEOOkFVrobAHLs3oIijz8FsapNRxTna0t+my4QZzrWjHNEK2LLAGW2gOR2N+KuXxX1Eepf9O+ewL5T8QKvJEg9TTxlEw+QxLZKrsTxfHSvqD1HKB8FKzpQ1tSSLcYVM2ek/KENmagFpJO1YLLooC1HG+xs1Ezy6YuzdwJEcHNBH0GZOipJctXL2soQaEKp9c9fRUHpP/zqMvtgd7dDUmqXfFkM7aWhXNl+HY7fOkeUknibgoieg+k34GxZgPKcbwJEyKMUhrevWKcTMpxiUqRhKeTTG+DylGMinGeMW4uXrFuJ0E4gIEYna+T4ooHFKI2aQQ4xXi9toUgsz9zyUX/vHf0x8="),
-this.addEntry("vertical list",mxUtils.bind(this,function(){var e=new mxCell("Link",new mxGeometry(0,0,60,40),"text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;align=center;verticalAlign=middle;fontColor=#0000EE;fontStyle=4;");e.vertex=!0;this.graph.setLinkForCell(e,"https://www.draw.io");return this.createVertexTemplateFromCells([e],e.geometry.width,e.geometry.height,"Vertical List")})),this.addDataEntry("table",180,120,"Table 1","7VnbcpswEP0aXjtcYsd9NUnTh/Yl6Q8o1trSVEiMWAeTr+8KhGlSe2xwJpMSZvCMdtmVteccwY4IkjTb3VmWi5+GgwqS2yBJrTHYjLJdCkoFcSh5kNwEcRzSL4i/Hbkb1XfDnFnQeE5C3CQ8MbWFxtM4CqyUdxSC5W6I7NG5lgUyiw/y2flCsldGI5MaLNlRbSvF8kLW0U2EkIr/YJXZYjtPay3XlO0ni+Zk+/WARdgdral2+YLuwGSAtqKQUnIUPmLR1B0KkBvRpnkwQlY0js0+t4OIBh6lw4glPRG7NyWVJYyVzw4o5TF5jWJRykwxDd+B8VeupeHVPsua35AaZRzaUguw0qGIJvcRCtboh48G0WTesB6G8CBD3Jr8F7MbaEPWUqn2b7TRjvfcSI01cLMlXQRlGn6ZBTOqOCU76my6XLjF1GhaMYnDTQuswBKKwaTHw0i/egPOr87nnFaMkql7WCHTm3rDCMyU3xulkAgPOVu50JJ2fbN/tIvu2DjGsiGE1srp6UZIzkEfJqqfGGpawd4+QcNuNJSf5CQ/8570+Mk6LHvPxhSVphnSHtpqXvzD+X6dZ8lgNslgsAx2L0kbkSrmkyouVcX+xTwiWVxPfcKH6hOql6S/R9uwmJ4Mp+m6Hn3b8HWSwWAZjLdtiMJJFpfKYox9QxRNjcNHbBwW79g4RD2O5T7vsyE6fQz43z8Mepw2TkL4RM3DdCJ5uS5G0D2Q2X0rasL//pT0Bw=="),
+this.addEntry("vertical list",mxUtils.bind(this,function(){var f=new mxCell("Link",new mxGeometry(0,0,60,40),"text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;align=center;verticalAlign=middle;fontColor=#0000EE;fontStyle=4;");f.vertex=!0;this.graph.setLinkForCell(f,"https://www.draw.io");return this.createVertexTemplateFromCells([f],f.geometry.width,f.geometry.height,"Vertical List")})),this.addDataEntry("table",180,120,"Table 1","7VnbcpswEP0aXjtcYsd9NUnTh/Yl6Q8o1trSVEiMWAeTr+8KhGlSe2xwJpMSZvCMdtmVteccwY4IkjTb3VmWi5+GgwqS2yBJrTHYjLJdCkoFcSh5kNwEcRzSL4i/Hbkb1XfDnFnQeE5C3CQ8MbWFxtM4CqyUdxSC5W6I7NG5lgUyiw/y2flCsldGI5MaLNlRbSvF8kLW0U2EkIr/YJXZYjtPay3XlO0ni+Zk+/WARdgdral2+YLuwGSAtqKQUnIUPmLR1B0KkBvRpnkwQlY0js0+t4OIBh6lw4glPRG7NyWVJYyVzw4o5TF5jWJRykwxDd+B8VeupeHVPsua35AaZRzaUguw0qGIJvcRCtboh48G0WTesB6G8CBD3Jr8F7MbaEPWUqn2b7TRjvfcSI01cLMlXQRlGn6ZBTOqOCU76my6XLjF1GhaMYnDTQuswBKKwaTHw0i/egPOr87nnFaMkql7WCHTm3rDCMyU3xulkAgPOVu50JJ2fbN/tIvu2DjGsiGE1srp6UZIzkEfJqqfGGpawd4+QcNuNJSf5CQ/8570+Mk6LHvPxhSVphnSHtpqXvzD+X6dZ8lgNslgsAx2L0kbkSrmkyouVcX+xTwiWVxPfcKH6hOql6S/R9uwmJ4Mp+m6Hn3b8HWSwWAZjLdtiMJJFpfKYox9QxRNjcNHbBwW79g4RD2O5T7vsyE6fQz43z8Mepw2TkL4RM3DdCJ5uS5G0D2Q2X0rasL//pT0Bw=="),
this.addDataEntry("table",180,120,"Table 2","7ZlLc9owEMc/ja8dP3jlimnSQ3pJOr0reMGayFqPvNSQT9+VLUMCOEDbyaTYM2ZGWq9e/99K7MheFGfrOyPy9DsmoLzoqxfFBpHqUraOQSkv9GXiRTMvDH3+eeFty9ugeuvnwoCmcxqEdYNfQq2gttSGgjbKGYpU5LZI4smapillPM1ZwMUylQSPuZjb9yUvgm0FCUOP8sWafK7PUZOQGoxrM0elRF7IqrPaI5UquRcbXFEzTFOz3qtM33P7wnkbLF9XF9y9Gy0YVcMbfIYYFdoBE1iIlbIduXWCIVi3alWZnFB3gBmQ2bBLKRNKncek1tNPQS7TppkT2RdFbVhu2+6k54JT/ziJ6EISD1haGGjki1VYOT325S9KmSmh4RuIZM80xWTjTIS5KylYkCs+IRFmjexuuf5RhInB/IcwS2hcFlKpBoJGbeMmR6mpEmg45Ycli/0vQ2/IK4u5Huzq/Fh3QzFq5snRY7sFUVAJBZ2ELnUKRp4NPfwz6IN/wHxwwPxnVQz9oBU+T52kUA8wJ6GX5+xI3oHaeu9wHaFzWQQga7pQNgJnqUwS0HtQwr+FEp2EMrqQietsp9vFvQlFYLQg3jgrnRQHoLfzPIv9sJV9+8bvNPv1W1JXFAqj1lCI+lB4JxS2/7tXFAvjPg34VGnA5i30j8gKJq3HwaDjx8H46rOCm1b2w559t7KCwG+NhVEfCx1LC4Kgzws+Y14w+cC8IDi8rGsOhHHHD4Tg9M3df38CHF4QNvQnPf2u5QbtN4c3fTBceXLA1d0Hotr99fej3w=="),
this.addDataEntry("table title",180,150,"Table with Title 1","7VnbbtswDP0avw6WXSfda5yue9he2v6AGjGRMFkyZKZO+vWjbOWyJVluQ9G6BmxApChaOudIIOQozYvFveOl/GkF6Ci9i9LcWYttq1jkoHWUxEpE6ThKkpjeKPl2oJc1vXHJHRg8ZUDSDnjheg6t54k/a2i9FS518FaSl76JTW86qpA7fFSv3pfG5JhYg1wZcORgja01LyvVhI+bCKm0+MGXdo6rRCuL0jn7C3KrrR8vYMrn2vunlDV8hQ3IDrMFh7A4uOLGFZZ7D7YAdEsKqZVAGSJuW1RiCWomV8Oy4ORV65itx24ApEbAcD+e6Q6e/4bywda0LGmdevUA6oDVNryNXatCcwPfgYu/XCMrlutR2ygqI8EpjyLaMkRomGJoPltEWwTDBRjivcwJZ8sn7mawCpkqrVefMdZ4QZRWGWyAy0b0EJR5/CWLMlpxTjbb2PT4cIe5NTRjEo1PC7zCGqqLSU/2k74MtARqj2ng5j9I4OZ0CdACUHH9ABPkZtZsLImFDluolgrhseQTH1rTEdFuM+OjN+QcIt0SYFPt5TWWSggw+3k7TxsNy+DuXqAlm11KV3p0jw7OpCck22B5djauaWmGI22puRHVDufreZ4kg6yXwcUyWPxJWodUMehVca0qWNI9WQz7suE9lg3DNywbbvuT4Thdw86XDV97GVwsg+6WDSzuZXGtLLpYNzDWFw7vsXBg7A0rB7Z7idcfDru3gsevBT/8aXDG7WMvhE9UPfRXktfrogPlA5mbP0tt+PaPp98="),
this.addDataEntry("table title",180,120,"Table with Title 2","7VhNb6MwEP01XFd8NNnmGtLtHrKXptq7Gw9grbGRmZSkv34HbEJ3CdtklaYoqgSSZxgP+L1nPwkvivPtvWFF9kNzkF5050Wx0RrtKN/GIKUX+oJ70cILQ59uL/w28DRonvoFM6DwmAmhnfDM5AZs5pE9SbDZEnfSZcuMFfUQm6fRvERmcCVe6lzkU2KtFTKhwFAiaGIpWVGKpnzRVGRC8iXb6Q22jdponogt8AddlW620dWSmpVuakLNV+5j/ObtRv+CWEtdv45DwjYS2zr7UcGUYrc4MAjbQYCalEPnHnQOaHZUUgmOmau4tSD6GYg0a6c5ZH1W2kS6n9vhTQMH+WH4ox78/0aeIKJlZdqIlxpvucejY6OJK5FLpuA7MP5Xaq75zqVQF24kIUE3fNKIOneBccv1DxLKjS4emUmhLUmElC0pSqtaJ4UWChuAJnO6CLLY/zLxJrSymOKgi+mqyw3GWhG/pKW6LbASKyixR7pQGRjx36SHh0nfOVoctW9pIDqDBG56EggGNUArQMHkA6yRqbTZiBnm0m2aKhMIq4Kt69KKjhS7LVVd3bF2gKTThKAJ2kTWQlxkgnNQLc1g7p7Bsh2cm6/ozU16cyI/rlmH5cndmKQlK4a0pzaKlz3S9995lA4mPR38bIahP3I9MClS0sDC1s5LeqFQ6dLOnA4I5hLi2P5J5evNfF6xHNXuvGqZfhrHGI1jekHj+NqTwLAGRnFQvPs5ML16k7gdNImRc//xJjEgjms2idmnSYzRJGYXNInA72kgGvdJ8e4HwezqXSIIBm1i5OR/vE0MqOOKbILC7v+iLX/9+/E3"),
@@ -2366,10 +2366,10 @@ this.addDataEntry("crossfunctional cross-functional cross functional flowchart s
this.addDataEntry("table",280,160,"Table","7Zpdc6IwFIZ/DfcksSqX1X7sxe6NdvY+ylEyjYQJsWp//QZIrDXSIkUdcZ3pTDiSNHmfHF5yRo8MF+tnSZPojwiBe+TRI0MphCpai/UQOPewz0KPPHgY+/rPw08l36L8Wz+hEmJVpQMuOrxRvoQicp+moNIinKoNN+FpxHj4m27EMhtX0QkHezWQMF3KlL3BCFL2nnXwdTRVUrzCUHAh8yFI0J/M9AzJYMY434nf94ZBB2c9IhqKlQ5mN5mJgVSwLl1cHjIrewaxACU3+pYVC1VkFtgvBPAjYPPIduuaIE2LwHzb90Mr3TByHZaOOBrp+Sdg1RllKxlEQrJ3ESvKt6pQqcY7Kq3YgtMYfgEN90IDEW5MSInEtDjMlGlOhFJiYS6kWV3WDqVIXqicgw1MBec0SdmE2397GBmsExrbacz0tMdmcS5PFkcgmXJpzvJPVYC4HkBCfs6v42z9F6b0arGP3N0v4himOdcvBayo0XbHU87msY5NtSAg90RH5nqn41P+yfaVWvBjEoV8q3NAjpPZDDbKZInnuW5Hjka5XnNMld7oyzhMHXbbeVbCeVeKE98MzvVn8Xd5dBqlW2G0Zul2S+m6j+GW00X9nov3ypO35+D9b64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HgUjcmht2TwFetu77WraKBte4TTnVB9+rCpV33xWUUaRdcvtgY+ytl0L0/cdCW04I23ZNd0H+fspokwwmc7bT5eqfcPv72yvk/"),
this.addDataEntry("table",180,140,"Table","7ZhLc5swEMc/DXcejh9X3CY9tBe707uM1qCpkBixDpBPX2GkvLBi7LgHmBw8s1okof3/tF4kL1rn9YMiRfZLUuBe9N2L1kpK7Ky8XgPnXugz6kXfvDD09c8L7x1Pg+NTvyAKBA4ZEHYDHgk/QOfpHCU23DiSjHH6kzTy0M6IZMfBtmIFyUGV7BE2ULKndoCvvWVGqKxMY884X0sulW4LKXSf2LwTFELtXPfRZRb9ADIHVI3uUjGKmemx7GLzM2BpZofNjJOUnSN9HvsigzaMEqdVic6romMswOqxaaONM6nYkxRIuNUBicLtK10qlnMi4AcQ+s4VS9oYF8rCWBz2aMydRJS5aSgTbmtTJYvfRKVgHYnknBQl23H72tOQoC6IsMvY62VvTXAOaCUq+Resk4kMFMOhMMPrYM4Wn2c567H8czRDP+hvdSkEJEekH2rn0uKEbISzVOhmorUA7Y+rjCFsC5K0k1U68dudg3m7Z4KhckZn5ZxfqKaZbNNGL1IOl89GuI5PENRb+SBo2UP0vM5B1O6c1E78QY2bWv1W4wlBnDshRhOFGITTo7j4qn3/o/Y1b9mdLYXzz5fCpTMfZ6PNx8V1pfADNa/Iv3ez3Tb/Vk5qd1OjdmEpHBHEwHdSnE+U4uBaOCaM/TPDVzG8XTFcRQOL4Q3OhUH/6sNmZP+LZywZGZy/NRn752jQv5yx3JaT4zbds2HgvpdZTRXjBE6HuvlyOd11f313/Q8="),
-this.createVertexTemplateEntry("text;html=1;whiteSpace=wrap;strokeColor=none;fillColor=none;overflow=fill;",180,180,'<table border="1" width="100%" height="100%" cellpadding="4" style="width:100%;height:100%;border-collapse:collapse;"><tr><th align="center"><b>Title</b></th></tr><tr><td align="center">Section 1.1\nSection 1.2\nSection 1.3</td></tr><tr><td align="center">Section 2.1\nSection 2.2\nSection 2.3</td></tr></table>',"HTML Table 4"),this.addEntry("link hyperlink",mxUtils.bind(this,function(){var e=
-new mxCell("Link",new mxGeometry(0,0,60,40),"text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;align=center;verticalAlign=middle;fontColor=#0000EE;fontStyle=4;");e.vertex=!0;this.graph.setLinkForCell(e,"https://www.draw.io");return this.createVertexTemplateFromCells([e],e.geometry.width,e.geometry.height,"Link")})),this.addEntry("timestamp date time text label",mxUtils.bind(this,function(){var e=new mxCell("%date{ddd mmm dd yyyy HH:MM:ss}%",new mxGeometry(0,0,160,20),"text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;overflow=hidden;");
-e.vertex=!0;this.graph.setAttributeForCell(e,"placeholders","1");return this.createVertexTemplateFromCells([e],e.geometry.width,e.geometry.height,"Timestamp")})),this.addEntry("variable placeholder metadata hello world text label",mxUtils.bind(this,function(){var e=new mxCell("%name% Text",new mxGeometry(0,0,80,20),"text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;overflow=hidden;");e.vertex=!0;this.graph.setAttributeForCell(e,"placeholders","1");this.graph.setAttributeForCell(e,
-"name","Variable");return this.createVertexTemplateFromCells([e],e.geometry.width,e.geometry.height,"Variable")})),this.createVertexTemplateEntry("shape=ext;double=1;rounded=0;whiteSpace=wrap;html=1;",120,80,"","Double Rectangle",null,null,"rect rectangle box double"),this.createVertexTemplateEntry("shape=ext;double=1;rounded=1;whiteSpace=wrap;html=1;",120,80,"","Double Rounded Rectangle",null,null,"rounded rect rectangle box double"),this.createVertexTemplateEntry("ellipse;shape=doubleEllipse;whiteSpace=wrap;html=1;",
+this.createVertexTemplateEntry("text;html=1;whiteSpace=wrap;strokeColor=none;fillColor=none;overflow=fill;",180,180,'<table border="1" width="100%" height="100%" cellpadding="4" style="width:100%;height:100%;border-collapse:collapse;"><tr><th align="center"><b>Title</b></th></tr><tr><td align="center">Section 1.1\nSection 1.2\nSection 1.3</td></tr><tr><td align="center">Section 2.1\nSection 2.2\nSection 2.3</td></tr></table>',"HTML Table 4"),this.addEntry("link hyperlink",mxUtils.bind(this,function(){var f=
+new mxCell("Link",new mxGeometry(0,0,60,40),"text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;align=center;verticalAlign=middle;fontColor=#0000EE;fontStyle=4;");f.vertex=!0;this.graph.setLinkForCell(f,"https://www.draw.io");return this.createVertexTemplateFromCells([f],f.geometry.width,f.geometry.height,"Link")})),this.addEntry("timestamp date time text label",mxUtils.bind(this,function(){var f=new mxCell("%date{ddd mmm dd yyyy HH:MM:ss}%",new mxGeometry(0,0,160,20),"text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;overflow=hidden;");
+f.vertex=!0;this.graph.setAttributeForCell(f,"placeholders","1");return this.createVertexTemplateFromCells([f],f.geometry.width,f.geometry.height,"Timestamp")})),this.addEntry("variable placeholder metadata hello world text label",mxUtils.bind(this,function(){var f=new mxCell("%name% Text",new mxGeometry(0,0,80,20),"text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;overflow=hidden;");f.vertex=!0;this.graph.setAttributeForCell(f,"placeholders","1");this.graph.setAttributeForCell(f,
+"name","Variable");return this.createVertexTemplateFromCells([f],f.geometry.width,f.geometry.height,"Variable")})),this.createVertexTemplateEntry("shape=ext;double=1;rounded=0;whiteSpace=wrap;html=1;",120,80,"","Double Rectangle",null,null,"rect rectangle box double"),this.createVertexTemplateEntry("shape=ext;double=1;rounded=1;whiteSpace=wrap;html=1;",120,80,"","Double Rounded Rectangle",null,null,"rounded rect rectangle box double"),this.createVertexTemplateEntry("ellipse;shape=doubleEllipse;whiteSpace=wrap;html=1;",
100,60,"","Double Ellipse",null,null,"oval ellipse start end state double"),this.createVertexTemplateEntry("shape=ext;double=1;whiteSpace=wrap;html=1;aspect=fixed;",80,80,"","Double Square",null,null,"double square"),this.createVertexTemplateEntry("ellipse;shape=doubleEllipse;whiteSpace=wrap;html=1;aspect=fixed;",80,80,"","Double Circle",null,null,"double circle"),this.createVertexTemplateEntry("rounded=1;whiteSpace=wrap;html=1;strokeWidth=2;fillWeight=4;hachureGap=8;hachureAngle=45;fillColor=#1ba1e2;sketch=1;",
120,60,"","Rectangle Sketch",!0,null,"rectangle rect box text sketch comic retro"),this.createVertexTemplateEntry("ellipse;whiteSpace=wrap;html=1;strokeWidth=2;fillWeight=2;hachureGap=8;fillColor=#990000;fillStyle=dots;sketch=1;",120,60,"","Ellipse Sketch",!0,null,"ellipse oval sketch comic retro"),this.createVertexTemplateEntry("rhombus;whiteSpace=wrap;html=1;strokeWidth=2;fillWeight=-1;hachureGap=8;fillStyle=cross-hatch;fillColor=#006600;sketch=1;",120,60,"","Diamond Sketch",!0,null,"diamond sketch comic retro"),
this.createVertexTemplateEntry("html=1;whiteSpace=wrap;shape=isoCube2;backgroundOutline=1;isoAngle=15;",90,100,"","Isometric Cube",!0,null,"cube box iso isometric"),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;aspect=fixed;shape=isoRectangle;",150,90,"","Isometric Square",!0,null,"rectangle rect box iso isometric"),this.createEdgeTemplateEntry("edgeStyle=isometricEdgeStyle;endArrow=none;html=1;",50,100,"","Isometric Edge 1"),this.createEdgeTemplateEntry("edgeStyle=isometricEdgeStyle;endArrow=none;html=1;elbow=vertical;",
@@ -2377,10 +2377,10 @@ this.createVertexTemplateEntry("html=1;whiteSpace=wrap;shape=isoCube2;background
10,"","Horizontal Line"),this.createVertexTemplateEntry("line;strokeWidth=2;direction=south;html=1;",10,160,"","Vertical Line"),this.createVertexTemplateEntry("line;strokeWidth=4;html=1;perimeter=backbonePerimeter;points=[];outlineConnect=0;",160,10,"","Horizontal Backbone",!1,null,"backbone bus network"),this.createVertexTemplateEntry("line;strokeWidth=4;direction=south;html=1;perimeter=backbonePerimeter;points=[];outlineConnect=0;",10,160,"","Vertical Backbone",!1,null,"backbone bus network"),this.createVertexTemplateEntry("shape=crossbar;whiteSpace=wrap;html=1;rounded=1;",
120,20,"","Horizontal Crossbar",!1,null,"crossbar distance measure dimension unit"),this.createVertexTemplateEntry("shape=crossbar;whiteSpace=wrap;html=1;rounded=1;direction=south;",20,120,"","Vertical Crossbar",!1,null,"crossbar distance measure dimension unit"),this.createVertexTemplateEntry("shape=image;html=1;verticalLabelPosition=bottom;verticalAlign=top;imageAspect=1;aspect=fixed;image="+this.gearImage,52,61,"","Image (Fixed Aspect)",!1,null,"fixed image icon symbol"),this.createVertexTemplateEntry("shape=image;html=1;verticalLabelPosition=bottom;verticalAlign=top;imageAspect=0;image="+
this.gearImage,50,60,"","Image (Variable Aspect)",!1,null,"strechted image icon symbol"),this.createVertexTemplateEntry("icon;html=1;image="+this.gearImage,60,60,"Icon","Icon",!1,null,"icon image symbol"),this.createVertexTemplateEntry("label;whiteSpace=wrap;html=1;image="+this.gearImage,140,60,"Label","Label 1",null,null,"label image icon symbol"),this.createVertexTemplateEntry("label;whiteSpace=wrap;html=1;align=center;verticalAlign=bottom;spacingLeft=0;spacingBottom=4;imageAlign=center;imageVerticalAlign=top;image="+
-this.gearImage,120,80,"Label","Label 2",null,null,"label image icon symbol"),this.addEntry("shape group container",function(){var e=new mxCell("Label",new mxGeometry(0,0,160,70),"html=1;whiteSpace=wrap;container=1;recursiveResize=0;collapsible=0;");e.vertex=!0;var g=new mxCell("",new mxGeometry(20,20,20,30),"triangle;html=1;whiteSpace=wrap;");g.vertex=!0;e.insert(g);return b.createVertexTemplateFromCells([e],e.geometry.width,e.geometry.height,"Shape Group")}),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;left=0;right=0;fillColor=none;",
+this.gearImage,120,80,"Label","Label 2",null,null,"label image icon symbol"),this.addEntry("shape group container",function(){var f=new mxCell("Label",new mxGeometry(0,0,160,70),"html=1;whiteSpace=wrap;container=1;recursiveResize=0;collapsible=0;");f.vertex=!0;var h=new mxCell("",new mxGeometry(20,20,20,30),"triangle;html=1;whiteSpace=wrap;");h.vertex=!0;f.insert(h);return b.createVertexTemplateFromCells([f],f.geometry.width,f.geometry.height,"Shape Group")}),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;left=0;right=0;fillColor=none;",
120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;bottom=0;top=0;fillColor=none;",120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;bottom=0;right=0;fillColor=none;",120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;bottom=1;right=1;left=1;top=0;fillColor=none;routingCenterX=-0.5;",120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=waypoint;sketch=0;fillStyle=solid;size=6;pointerEvents=1;points=[];fillColor=none;resizable=0;rotatable=0;perimeter=centerPerimeter;snapToPoint=1;",
20,20,"","Waypoint"),this.createEdgeTemplateEntry("edgeStyle=segmentEdgeStyle;endArrow=classic;html=1;curved=0;rounded=0;endSize=8;startSize=8;",50,50,"","Manual Line",null,"line lines connector connectors connection connections arrow arrows manual"),this.createEdgeTemplateEntry("shape=filledEdge;curved=0;rounded=0;fixDash=1;endArrow=none;strokeWidth=10;fillColor=#ffffff;edgeStyle=orthogonalEdgeStyle;html=1;",60,40,"","Filled Edge"),this.createEdgeTemplateEntry("edgeStyle=elbowEdgeStyle;elbow=horizontal;endArrow=classic;html=1;curved=0;rounded=0;endSize=8;startSize=8;",
-50,50,"","Horizontal Elbow",null,"line lines connector connectors connection connections arrow arrows elbow horizontal"),this.createEdgeTemplateEntry("edgeStyle=elbowEdgeStyle;elbow=vertical;endArrow=classic;html=1;curved=0;rounded=0;endSize=8;startSize=8;",50,50,"","Vertical Elbow",null,"line lines connector connectors connection connections arrow arrows elbow vertical")];this.addPaletteFunctions("misc",mxResources.get("misc"),null!=a?a:!0,d);this.setCurrentSearchEntryLibrary()};
+50,50,"","Horizontal Elbow",null,"line lines connector connectors connection connections arrow arrows elbow horizontal"),this.createEdgeTemplateEntry("edgeStyle=elbowEdgeStyle;elbow=vertical;endArrow=classic;html=1;curved=0;rounded=0;endSize=8;startSize=8;",50,50,"","Vertical Elbow",null,"line lines connector connectors connection connections arrow arrows elbow vertical")];this.addPaletteFunctions("misc",mxResources.get("misc"),null!=a?a:!0,e);this.setCurrentSearchEntryLibrary()};
Sidebar.prototype.addAdvancedPalette=function(a){this.setCurrentSearchEntryLibrary("general","advanced");this.addPaletteFunctions("advanced",mxResources.get("advanced"),null!=a?a:!1,this.createAdvancedShapes());this.setCurrentSearchEntryLibrary()};
Sidebar.prototype.addBasicPalette=function(a){this.setCurrentSearchEntryLibrary("basic");this.addStencilPalette("basic",mxResources.get("basic"),a+"/basic.xml",";whiteSpace=wrap;html=1;fillColor=#ffffff;strokeColor=#000000;strokeWidth=2",null,null,null,null,[this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;top=0;bottom=0;fillColor=none;",120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;right=0;top=0;bottom=0;fillColor=none;routingCenterX=-0.5;",
120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;bottom=0;right=0;fillColor=none;",120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;top=0;left=0;fillColor=none;",120,60,"","Partial Rectangle")]);this.setCurrentSearchEntryLibrary()};
@@ -2391,163 +2391,163 @@ Sidebar.prototype.createAdvancedShapes=function(){var a=this,b=new mxCell("List
60,60,"","Data Store",null,null,"data store cylinder database"),this.createVertexTemplateEntry("shape=orEllipse;perimeter=ellipsePerimeter;whiteSpace=wrap;html=1;backgroundOutline=1;",80,80,"","Or",null,null,"or circle oval ellipse"),this.createVertexTemplateEntry("shape=sumEllipse;perimeter=ellipsePerimeter;whiteSpace=wrap;html=1;backgroundOutline=1;",80,80,"","Sum",null,null,"sum circle oval ellipse"),this.createVertexTemplateEntry("shape=lineEllipse;perimeter=ellipsePerimeter;whiteSpace=wrap;html=1;backgroundOutline=1;",
80,80,"","Ellipse with horizontal divider",null,null,"circle oval ellipse"),this.createVertexTemplateEntry("shape=lineEllipse;line=vertical;perimeter=ellipsePerimeter;whiteSpace=wrap;html=1;backgroundOutline=1;",80,80,"","Ellipse with vertical divider",null,null,"circle oval ellipse"),this.createVertexTemplateEntry("shape=sortShape;perimeter=rhombusPerimeter;whiteSpace=wrap;html=1;",80,80,"","Sort",null,null,"sort"),this.createVertexTemplateEntry("shape=collate;whiteSpace=wrap;html=1;",80,80,"","Collate",
null,null,"collate"),this.createVertexTemplateEntry("shape=switch;whiteSpace=wrap;html=1;",60,60,"","Switch",null,null,"switch router"),this.addEntry("process bar",function(){return a.createVertexTemplateFromData("1ZVNboMwEIVP42UlfkqabCFtNokUiRO4MAWrBiPbKZDTd2xMSJMgVaraKgskzxs/e+YbS5AwqbqNpE25EzlwEj6TMJFC6GFVdQlwTgKP5SRckyDw8CPBy0zWt1mvoRJq/R1DMBg+KD/AoOylyEApFGMqh6zSPXdZ1bKK0xqjOCsZz7e0Fwdzk9I0ex+juBSSHUWtKTa09lF4Y5wngguJcS2sf9qTGq/bKEGxI+zHBi6lHe1Q9U7qlirthExwThvFXm2tRlFaine4uNYWGguZgxF9b5TShmasLlB78IPxfDocZqqgnBU1rjOswljjRrBaK4Mlikm0RqUtmQZzjvG0OFPTpa5GBg41SA3d7Lis5Ga1AVGBlj1uaVmuSzey1WKwlcCKcrR5w5w9qgahOHmn6ePCPYDbjyG8egyphgYV//odlLQBO3YwXTYgGV5nkRppP8U4+g7yFGflMPwOt+A2t9Hg6PSuUdfpGdUTwHOq0dPPoT7OQQ3uHepq+W9Qozmo4b1D9ZeLv6KK4fSjsbkv/6FP",
-296,100,"Process Bar")}),this.createVertexTemplateEntry("swimlane;",200,200,"Container","Container",null,null,"container swimlane lane pool group"),this.addEntry("list group erd table",function(){var d=new mxCell("List",new mxGeometry(0,0,140,110),"swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;fillColor=none;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;html=1;");d.vertex=!0;d.insert(a.cloneCell(b,"Item 1"));d.insert(a.cloneCell(b,
-"Item 2"));d.insert(a.cloneCell(b,"Item 3"));return a.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"List")}),this.addEntry("list item entry value group erd table",function(){return a.createVertexTemplateFromCells([a.cloneCell(b,"List Item")],b.geometry.width,b.geometry.height,"List Item")})]};
+296,100,"Process Bar")}),this.createVertexTemplateEntry("swimlane;",200,200,"Container","Container",null,null,"container swimlane lane pool group"),this.addEntry("list group erd table",function(){var e=new mxCell("List",new mxGeometry(0,0,140,110),"swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;fillColor=none;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;html=1;");e.vertex=!0;e.insert(a.cloneCell(b,"Item 1"));e.insert(a.cloneCell(b,
+"Item 2"));e.insert(a.cloneCell(b,"Item 3"));return a.createVertexTemplateFromCells([e],e.geometry.width,e.geometry.height,"List")}),this.addEntry("list item entry value group erd table",function(){return a.createVertexTemplateFromCells([a.cloneCell(b,"List Item")],b.geometry.width,b.geometry.height,"List Item")})]};
Sidebar.prototype.addBasicPalette=function(a){this.setCurrentSearchEntryLibrary("basic");this.addStencilPalette("basic",mxResources.get("basic"),a+"/basic.xml",";whiteSpace=wrap;html=1;fillColor=#ffffff;strokeColor=#000000;strokeWidth=2",null,null,null,null,[this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;top=0;bottom=0;fillColor=none;",120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;right=0;top=0;bottom=0;fillColor=none;routingCenterX=-0.5;",
120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;bottom=0;right=0;fillColor=none;",120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;top=0;left=0;fillColor=none;",120,60,"","Partial Rectangle")]);this.setCurrentSearchEntryLibrary()};
-Sidebar.prototype.addUmlPalette=function(a){var b=this,d=new mxCell("+ field: type",new mxGeometry(0,0,100,26),"text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;");d.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,40,8),"line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;strokeColor=inherit;");
-e.vertex=!0;this.setCurrentSearchEntryLibrary("uml");var g=[this.createVertexTemplateEntry("html=1;whiteSpace=wrap;",110,50,"Object","Object",null,null,"uml static class object instance"),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;",110,50,"&laquo;interface&raquo;<br><b>Name</b>","Interface",null,null,"uml static class interface object instance annotated annotation"),this.addEntry("uml static class object instance",function(){var f=new mxCell("Classname",new mxGeometry(0,0,160,90),"swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;");
-f.vertex=!0;f.insert(d.clone());f.insert(e.clone());f.insert(b.cloneCell(d,"+ method(type): type"));return b.createVertexTemplateFromCells([f],f.geometry.width,f.geometry.height,"Class")}),this.addEntry("uml static class section subsection",function(){var f=new mxCell("Classname",new mxGeometry(0,0,140,110),"swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;fillColor=none;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;");
-f.vertex=!0;f.insert(d.clone());f.insert(d.clone());f.insert(d.clone());return b.createVertexTemplateFromCells([f],f.geometry.width,f.geometry.height,"Class 2")}),this.addEntry("uml static class item member method function variable field attribute label",function(){return b.createVertexTemplateFromCells([b.cloneCell(d,"+ item: attribute")],d.geometry.width,d.geometry.height,"Item 1")}),this.addEntry("uml static class item member method function variable field attribute label",function(){var f=new mxCell("item: attribute",
-new mxGeometry(0,0,120,d.geometry.height),"label;fontStyle=0;strokeColor=none;fillColor=none;align=left;verticalAlign=top;overflow=hidden;spacingLeft=28;spacingRight=4;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;imageWidth=16;imageHeight=16;whiteSpace=wrap;html=1;image="+b.gearImage);f.vertex=!0;return b.createVertexTemplateFromCells([f],f.geometry.width,f.geometry.height,"Item 2")}),this.addEntry("uml static class divider hline line separator",function(){return b.createVertexTemplateFromCells([e.clone()],
-e.geometry.width,e.geometry.height,"Divider")}),this.addEntry("uml static class spacer space gap separator",function(){var f=new mxCell("",new mxGeometry(0,0,20,14),"text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=4;spacingRight=4;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;");f.vertex=!0;return b.createVertexTemplateFromCells([f.clone()],f.geometry.width,f.geometry.height,"Spacer")}),this.createVertexTemplateEntry("text;align=center;fontStyle=1;verticalAlign=middle;spacingLeft=3;spacingRight=3;strokeColor=none;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;",
-80,26,"Title","Title",null,null,"uml static class title label"),this.addEntry("uml static class component",function(){var f=new mxCell("&laquo;Annotation&raquo;<br/><b>Component</b>",new mxGeometry(0,0,180,90),"html=1;dropTarget=0;whiteSpace=wrap;");f.vertex=!0;var h=new mxCell("",new mxGeometry(1,0,20,20),"shape=module;jettyWidth=8;jettyHeight=4;");h.vertex=!0;h.geometry.relative=!0;h.geometry.offset=new mxPoint(-27,7);f.insert(h);return b.createVertexTemplateFromCells([f],f.geometry.width,f.geometry.height,
-"Component")}),this.addEntry("uml static class component",function(){var f=new mxCell('<p style="margin:0px;margin-top:6px;text-align:center;"><b>Component</b></p><hr size="1" style="border-style:solid;"/><p style="margin:0px;margin-left:8px;">+ Attribute1: Type<br/>+ Attribute2: Type</p>',new mxGeometry(0,0,180,90),"align=left;overflow=fill;html=1;dropTarget=0;whiteSpace=wrap;");f.vertex=!0;var h=new mxCell("",new mxGeometry(1,0,20,20),"shape=component;jettyWidth=8;jettyHeight=4;");h.vertex=!0;h.geometry.relative=
-!0;h.geometry.offset=new mxPoint(-24,4);f.insert(h);return b.createVertexTemplateFromCells([f],f.geometry.width,f.geometry.height,"Component with Attributes")}),this.createVertexTemplateEntry("verticalAlign=top;align=left;spacingTop=8;spacingLeft=2;spacingRight=12;shape=cube;size=10;direction=south;fontStyle=4;html=1;whiteSpace=wrap;",180,120,"Block","Block",null,null,"uml static class block"),this.createVertexTemplateEntry("shape=module;align=left;spacingLeft=20;align=center;verticalAlign=top;whiteSpace=wrap;html=1;",
+Sidebar.prototype.addUmlPalette=function(a){var b=this,e=new mxCell("+ field: type",new mxGeometry(0,0,100,26),"text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;");e.vertex=!0;var f=new mxCell("",new mxGeometry(0,0,40,8),"line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;strokeColor=inherit;");
+f.vertex=!0;this.setCurrentSearchEntryLibrary("uml");var h=[this.createVertexTemplateEntry("html=1;whiteSpace=wrap;",110,50,"Object","Object",null,null,"uml static class object instance"),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;",110,50,"&laquo;interface&raquo;<br><b>Name</b>","Interface",null,null,"uml static class interface object instance annotated annotation"),this.addEntry("uml static class object instance",function(){var d=new mxCell("Classname",new mxGeometry(0,0,160,90),"swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;");
+d.vertex=!0;d.insert(e.clone());d.insert(f.clone());d.insert(b.cloneCell(e,"+ method(type): type"));return b.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Class")}),this.addEntry("uml static class section subsection",function(){var d=new mxCell("Classname",new mxGeometry(0,0,140,110),"swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;fillColor=none;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;");
+d.vertex=!0;d.insert(e.clone());d.insert(e.clone());d.insert(e.clone());return b.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Class 2")}),this.addEntry("uml static class item member method function variable field attribute label",function(){return b.createVertexTemplateFromCells([b.cloneCell(e,"+ item: attribute")],e.geometry.width,e.geometry.height,"Item 1")}),this.addEntry("uml static class item member method function variable field attribute label",function(){var d=new mxCell("item: attribute",
+new mxGeometry(0,0,120,e.geometry.height),"label;fontStyle=0;strokeColor=none;fillColor=none;align=left;verticalAlign=top;overflow=hidden;spacingLeft=28;spacingRight=4;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;imageWidth=16;imageHeight=16;whiteSpace=wrap;html=1;image="+b.gearImage);d.vertex=!0;return b.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Item 2")}),this.addEntry("uml static class divider hline line separator",function(){return b.createVertexTemplateFromCells([f.clone()],
+f.geometry.width,f.geometry.height,"Divider")}),this.addEntry("uml static class spacer space gap separator",function(){var d=new mxCell("",new mxGeometry(0,0,20,14),"text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=4;spacingRight=4;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;");d.vertex=!0;return b.createVertexTemplateFromCells([d.clone()],d.geometry.width,d.geometry.height,"Spacer")}),this.createVertexTemplateEntry("text;align=center;fontStyle=1;verticalAlign=middle;spacingLeft=3;spacingRight=3;strokeColor=none;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;",
+80,26,"Title","Title",null,null,"uml static class title label"),this.addEntry("uml static class component",function(){var d=new mxCell("&laquo;Annotation&raquo;<br/><b>Component</b>",new mxGeometry(0,0,180,90),"html=1;dropTarget=0;whiteSpace=wrap;");d.vertex=!0;var g=new mxCell("",new mxGeometry(1,0,20,20),"shape=module;jettyWidth=8;jettyHeight=4;");g.vertex=!0;g.geometry.relative=!0;g.geometry.offset=new mxPoint(-27,7);d.insert(g);return b.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,
+"Component")}),this.addEntry("uml static class component",function(){var d=new mxCell('<p style="margin:0px;margin-top:6px;text-align:center;"><b>Component</b></p><hr size="1" style="border-style:solid;"/><p style="margin:0px;margin-left:8px;">+ Attribute1: Type<br/>+ Attribute2: Type</p>',new mxGeometry(0,0,180,90),"align=left;overflow=fill;html=1;dropTarget=0;whiteSpace=wrap;");d.vertex=!0;var g=new mxCell("",new mxGeometry(1,0,20,20),"shape=component;jettyWidth=8;jettyHeight=4;");g.vertex=!0;g.geometry.relative=
+!0;g.geometry.offset=new mxPoint(-24,4);d.insert(g);return b.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Component with Attributes")}),this.createVertexTemplateEntry("verticalAlign=top;align=left;spacingTop=8;spacingLeft=2;spacingRight=12;shape=cube;size=10;direction=south;fontStyle=4;html=1;whiteSpace=wrap;",180,120,"Block","Block",null,null,"uml static class block"),this.createVertexTemplateEntry("shape=module;align=left;spacingLeft=20;align=center;verticalAlign=top;whiteSpace=wrap;html=1;",
100,50,"Module","Module",null,null,"uml static class module component"),this.createVertexTemplateEntry("shape=folder;fontStyle=1;spacingTop=10;tabWidth=40;tabHeight=14;tabPosition=left;html=1;whiteSpace=wrap;",70,50,"package","Package",null,null,"uml static class package"),this.createVertexTemplateEntry("verticalAlign=top;align=left;overflow=fill;html=1;whiteSpace=wrap;",160,90,'<p style="margin:0px;margin-top:4px;text-align:center;text-decoration:underline;"><b>Object:Type</b></p><hr size="1" style="border-style:solid;"/><p style="margin:0px;margin-left:8px;">field1 = value1<br/>field2 = value2<br>field3 = value3</p>',
"Object",null,null,"uml static class object instance"),this.createVertexTemplateEntry("verticalAlign=top;align=left;overflow=fill;html=1;whiteSpace=wrap;",180,90,'<div style="box-sizing:border-box;width:100%;background:#e4e4e4;padding:2px;">Tablename</div><table style="width:100%;font-size:1em;" cellpadding="2" cellspacing="0"><tr><td>PK</td><td>uniqueId</td></tr><tr><td>FK1</td><td>foreignKey</td></tr><tr><td></td><td>fieldname</td></tr></table>',"Entity",null,null,"er entity table"),this.addEntry("uml static class object instance",
-function(){var f=new mxCell('<p style="margin:0px;margin-top:4px;text-align:center;"><b>Class</b></p><hr size="1" style="border-style:solid;"/><div style="height:2px;"></div>',new mxGeometry(0,0,140,60),"verticalAlign=top;align=left;overflow=fill;html=1;whiteSpace=wrap;");f.vertex=!0;return b.createVertexTemplateFromCells([f.clone()],f.geometry.width,f.geometry.height,"Class 3")}),this.addEntry("uml static class object instance",function(){var f=new mxCell('<p style="margin:0px;margin-top:4px;text-align:center;"><b>Class</b></p><hr size="1" style="border-style:solid;"/><div style="height:2px;"></div><hr size="1" style="border-style:solid;"/><div style="height:2px;"></div>',
-new mxGeometry(0,0,140,60),"verticalAlign=top;align=left;overflow=fill;html=1;whiteSpace=wrap;");f.vertex=!0;return b.createVertexTemplateFromCells([f.clone()],f.geometry.width,f.geometry.height,"Class 4")}),this.addEntry("uml static class object instance",function(){var f=new mxCell('<p style="margin:0px;margin-top:4px;text-align:center;"><b>Class</b></p><hr size="1" style="border-style:solid;"/><p style="margin:0px;margin-left:4px;">+ field: Type</p><hr size="1" style="border-style:solid;"/><p style="margin:0px;margin-left:4px;">+ method(): Type</p>',
-new mxGeometry(0,0,160,90),"verticalAlign=top;align=left;overflow=fill;html=1;whiteSpace=wrap;");f.vertex=!0;return b.createVertexTemplateFromCells([f.clone()],f.geometry.width,f.geometry.height,"Class 5")}),this.addEntry("uml static class object instance",function(){var f=new mxCell('<p style="margin:0px;margin-top:4px;text-align:center;"><i>&lt;&lt;Interface&gt;&gt;</i><br/><b>Interface</b></p><hr size="1" style="border-style:solid;"/><p style="margin:0px;margin-left:4px;">+ field1: Type<br/>+ field2: Type</p><hr size="1" style="border-style:solid;"/><p style="margin:0px;margin-left:4px;">+ method1(Type): Type<br/>+ method2(Type, Type): Type</p>',
-new mxGeometry(0,0,190,140),"verticalAlign=top;align=left;overflow=fill;html=1;whiteSpace=wrap;");f.vertex=!0;return b.createVertexTemplateFromCells([f.clone()],f.geometry.width,f.geometry.height,"Interface 2")}),this.createVertexTemplateEntry("shape=providedRequiredInterface;html=1;verticalLabelPosition=bottom;sketch=0;",20,20,"","Provided/Required Interface",null,null,"uml provided required interface lollipop notation"),this.createVertexTemplateEntry("shape=requiredInterface;html=1;verticalLabelPosition=bottom;sketch=0;",
+function(){var d=new mxCell('<p style="margin:0px;margin-top:4px;text-align:center;"><b>Class</b></p><hr size="1" style="border-style:solid;"/><div style="height:2px;"></div>',new mxGeometry(0,0,140,60),"verticalAlign=top;align=left;overflow=fill;html=1;whiteSpace=wrap;");d.vertex=!0;return b.createVertexTemplateFromCells([d.clone()],d.geometry.width,d.geometry.height,"Class 3")}),this.addEntry("uml static class object instance",function(){var d=new mxCell('<p style="margin:0px;margin-top:4px;text-align:center;"><b>Class</b></p><hr size="1" style="border-style:solid;"/><div style="height:2px;"></div><hr size="1" style="border-style:solid;"/><div style="height:2px;"></div>',
+new mxGeometry(0,0,140,60),"verticalAlign=top;align=left;overflow=fill;html=1;whiteSpace=wrap;");d.vertex=!0;return b.createVertexTemplateFromCells([d.clone()],d.geometry.width,d.geometry.height,"Class 4")}),this.addEntry("uml static class object instance",function(){var d=new mxCell('<p style="margin:0px;margin-top:4px;text-align:center;"><b>Class</b></p><hr size="1" style="border-style:solid;"/><p style="margin:0px;margin-left:4px;">+ field: Type</p><hr size="1" style="border-style:solid;"/><p style="margin:0px;margin-left:4px;">+ method(): Type</p>',
+new mxGeometry(0,0,160,90),"verticalAlign=top;align=left;overflow=fill;html=1;whiteSpace=wrap;");d.vertex=!0;return b.createVertexTemplateFromCells([d.clone()],d.geometry.width,d.geometry.height,"Class 5")}),this.addEntry("uml static class object instance",function(){var d=new mxCell('<p style="margin:0px;margin-top:4px;text-align:center;"><i>&lt;&lt;Interface&gt;&gt;</i><br/><b>Interface</b></p><hr size="1" style="border-style:solid;"/><p style="margin:0px;margin-left:4px;">+ field1: Type<br/>+ field2: Type</p><hr size="1" style="border-style:solid;"/><p style="margin:0px;margin-left:4px;">+ method1(Type): Type<br/>+ method2(Type, Type): Type</p>',
+new mxGeometry(0,0,190,140),"verticalAlign=top;align=left;overflow=fill;html=1;whiteSpace=wrap;");d.vertex=!0;return b.createVertexTemplateFromCells([d.clone()],d.geometry.width,d.geometry.height,"Interface 2")}),this.createVertexTemplateEntry("shape=providedRequiredInterface;html=1;verticalLabelPosition=bottom;sketch=0;",20,20,"","Provided/Required Interface",null,null,"uml provided required interface lollipop notation"),this.createVertexTemplateEntry("shape=requiredInterface;html=1;verticalLabelPosition=bottom;sketch=0;",
10,20,"","Required Interface",null,null,"uml required interface lollipop notation"),this.addDataEntry("uml lollipop notation provided required interface",20,20,"Required Interface","jVNBbuMwDHyN7o6N9L5x2l66QIEe9qy1GUutIhoUHTt9/VKWNo7bBu0hgDicYeQZSlX1cXok3Zvf2IJT1b2qakLkdDpONTinysK2qtqrsizkp8qHG93N3C16TeD5J4IyCU7aDZCQBAQ+uwwQDr6FyC9UtUNigx167Z4QewE3Ar4C8/nFvkeFHhgFMnx0uQu+/UWEo5RGu0NtqYmzI/5gncuDpcoT7qQKTPgGf2zLJk8Jb8CNyeQDes7sTSl1M9BpvmJkpi+AtoOVKaypg2xK9dmnmZVNegQ8AtNZKAROsz2tR+mQyu7Cu0if0crEspiyv9ukOKdyu9YHHKiBLFlSksPVHRZozu7rHKvvcxSB7UM0fjSW4aXXTeyMsnvrvLSznZdzI94ARSD00ESbDnaKLu8OEluNDqW59+jhEtgHkCDYd/13vkGMrQey8lFxaJ7+vCA7QtZ8xdbO4ThvTvivj07N3m13aruP6ziws17+1/t0xWUBTkAM0813cSPvMa9cZKSnUxiwneE19tUGrOJbspJyec8p2uvn/g8="),
this.addEntry("uml lollipop notation provided required interface",function(){return b.createVertexTemplateFromData("zZRNb9swDIZ/je6O3ey+OGsvG1Cgh55Vm7G0KqJB07HTXz/KUux4bbBdNvRgQHz5IYmPTFWUx/GBdGt+YA1OFd9UURIix9VxLME5lWe2VsVe5Xkmn8rvb3g3kzdrNYHnv0koYsJJux6iEoWOzy4JhL2vIcRnqtghscEGvXbfEVsRNyL+BObzk30LGbpnFMnw0SUv+PorEQ5iGu0OpaUq1A76vXUuFRYrVfgiVseEr/BsazapSvcKXJkUHA8JdQOre7OmBtK97963YopKfXgAPALTWUIInGZ7WpfSXTSbOW5OfUQrFfNsTBvFDmfnaG7X+R32VEFKWUDI4uoMizTh+RhV/n9RoWz0DtIKQroakJVbAD21urK+Sc6I4oZzYb35NDT/Nb67P+OTBNt24dcYjGUIPQueQabDGpN2tvGyrqQZQEHoWqhCXw52DPx3B2FWokNx7j16mH+p30SCzr7pl+kEAUV7ATZXf1yUHSFrvorWzuEwPZjukh86NfVuu1PbfXiFPTvrZV/v4xE3M/ETEMN4c3LdAHxJSKSGNCOClP5EA7YxvNY+egErmgs6MZcBHElfz+df",
40,10,"Lollipop Notation")}),this.createVertexTemplateEntry("shape=umlBoundary;whiteSpace=wrap;html=1;",100,80,"Boundary Object","Boundary Object",null,null,"uml boundary object"),this.createVertexTemplateEntry("ellipse;shape=umlEntity;whiteSpace=wrap;html=1;",80,80,"Entity Object","Entity Object",null,null,"uml entity object"),this.createVertexTemplateEntry("ellipse;shape=umlControl;whiteSpace=wrap;html=1;",70,80,"Control Object","Control Object",null,null,"uml control object"),this.createVertexTemplateEntry("shape=umlActor;verticalLabelPosition=bottom;verticalAlign=top;html=1;",
-30,60,"Actor","Actor",!1,null,"uml actor"),this.createVertexTemplateEntry("ellipse;whiteSpace=wrap;html=1;",140,70,"Use Case","Use Case",null,null,"uml use case usecase"),this.addEntry("uml activity state start",function(){var f=new mxCell("",new mxGeometry(0,0,30,30),"ellipse;html=1;shape=startState;fillColor=#000000;strokeColor=#ff0000;");f.vertex=!0;var h=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;");
-h.geometry.setTerminalPoint(new mxPoint(15,90),!1);h.geometry.relative=!0;h.edge=!0;f.insertEdge(h,!0);return b.createVertexTemplateFromCells([f,h],30,90,"Start")}),this.addEntry("uml activity state",function(){var f=new mxCell("Activity",new mxGeometry(0,0,120,40),"rounded=1;whiteSpace=wrap;html=1;arcSize=40;fontColor=#000000;fillColor=#ffffc0;strokeColor=#ff0000;");f.vertex=!0;var h=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;");
-h.geometry.setTerminalPoint(new mxPoint(60,100),!1);h.geometry.relative=!0;h.edge=!0;f.insertEdge(h,!0);return b.createVertexTemplateFromCells([f,h],120,100,"Activity")}),this.addEntry("uml activity composite state",function(){var f=new mxCell("Composite State",new mxGeometry(0,0,160,60),"swimlane;fontStyle=1;align=center;verticalAlign=middle;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=0;resizeLast=1;container=0;fontColor=#000000;collapsible=0;rounded=1;arcSize=30;strokeColor=#ff0000;fillColor=#ffffc0;swimlaneFillColor=#ffffc0;dropTarget=0;");
-f.vertex=!0;var h=new mxCell("Subtitle",new mxGeometry(0,0,200,26),"text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;fontColor=#000000;");h.vertex=!0;f.insert(h);h=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;");h.geometry.setTerminalPoint(new mxPoint(80,120),!1);h.geometry.relative=!0;h.edge=!0;f.insertEdge(h,
-!0);return b.createVertexTemplateFromCells([f,h],160,120,"Composite State")}),this.addEntry("uml activity condition",function(){var f=new mxCell("Condition",new mxGeometry(0,0,80,40),"rhombus;whiteSpace=wrap;html=1;fontColor=#000000;fillColor=#ffffc0;strokeColor=#ff0000;");f.vertex=!0;var h=new mxCell("no",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;align=left;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;");h.geometry.setTerminalPoint(new mxPoint(180,20),!1);
-h.geometry.relative=!0;h.geometry.x=-1;h.edge=!0;f.insertEdge(h,!0);var n=new mxCell("yes",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;align=left;verticalAlign=top;endArrow=open;endSize=8;strokeColor=#ff0000;");n.geometry.setTerminalPoint(new mxPoint(40,100),!1);n.geometry.relative=!0;n.geometry.x=-1;n.edge=!0;f.insertEdge(n,!0);return b.createVertexTemplateFromCells([f,h,n],180,100,"Condition")}),this.addEntry("uml activity fork join",function(){var f=new mxCell("",new mxGeometry(0,
-0,200,10),"shape=line;html=1;strokeWidth=6;strokeColor=#ff0000;");f.vertex=!0;var h=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;");h.geometry.setTerminalPoint(new mxPoint(100,80),!1);h.geometry.relative=!0;h.edge=!0;f.insertEdge(h,!0);return b.createVertexTemplateFromCells([f,h],200,80,"Fork/Join")}),this.createVertexTemplateEntry("ellipse;html=1;shape=endState;fillColor=#000000;strokeColor=#ff0000;",
+30,60,"Actor","Actor",!1,null,"uml actor"),this.createVertexTemplateEntry("ellipse;whiteSpace=wrap;html=1;",140,70,"Use Case","Use Case",null,null,"uml use case usecase"),this.addEntry("uml activity state start",function(){var d=new mxCell("",new mxGeometry(0,0,30,30),"ellipse;html=1;shape=startState;fillColor=#000000;strokeColor=#ff0000;");d.vertex=!0;var g=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;");
+g.geometry.setTerminalPoint(new mxPoint(15,90),!1);g.geometry.relative=!0;g.edge=!0;d.insertEdge(g,!0);return b.createVertexTemplateFromCells([d,g],30,90,"Start")}),this.addEntry("uml activity state",function(){var d=new mxCell("Activity",new mxGeometry(0,0,120,40),"rounded=1;whiteSpace=wrap;html=1;arcSize=40;fontColor=#000000;fillColor=#ffffc0;strokeColor=#ff0000;");d.vertex=!0;var g=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;");
+g.geometry.setTerminalPoint(new mxPoint(60,100),!1);g.geometry.relative=!0;g.edge=!0;d.insertEdge(g,!0);return b.createVertexTemplateFromCells([d,g],120,100,"Activity")}),this.addEntry("uml activity composite state",function(){var d=new mxCell("Composite State",new mxGeometry(0,0,160,60),"swimlane;fontStyle=1;align=center;verticalAlign=middle;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=0;resizeLast=1;container=0;fontColor=#000000;collapsible=0;rounded=1;arcSize=30;strokeColor=#ff0000;fillColor=#ffffc0;swimlaneFillColor=#ffffc0;dropTarget=0;");
+d.vertex=!0;var g=new mxCell("Subtitle",new mxGeometry(0,0,200,26),"text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;fontColor=#000000;");g.vertex=!0;d.insert(g);g=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;");g.geometry.setTerminalPoint(new mxPoint(80,120),!1);g.geometry.relative=!0;g.edge=!0;d.insertEdge(g,
+!0);return b.createVertexTemplateFromCells([d,g],160,120,"Composite State")}),this.addEntry("uml activity condition",function(){var d=new mxCell("Condition",new mxGeometry(0,0,80,40),"rhombus;whiteSpace=wrap;html=1;fontColor=#000000;fillColor=#ffffc0;strokeColor=#ff0000;");d.vertex=!0;var g=new mxCell("no",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;align=left;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;");g.geometry.setTerminalPoint(new mxPoint(180,20),!1);
+g.geometry.relative=!0;g.geometry.x=-1;g.edge=!0;d.insertEdge(g,!0);var n=new mxCell("yes",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;align=left;verticalAlign=top;endArrow=open;endSize=8;strokeColor=#ff0000;");n.geometry.setTerminalPoint(new mxPoint(40,100),!1);n.geometry.relative=!0;n.geometry.x=-1;n.edge=!0;d.insertEdge(n,!0);return b.createVertexTemplateFromCells([d,g,n],180,100,"Condition")}),this.addEntry("uml activity fork join",function(){var d=new mxCell("",new mxGeometry(0,
+0,200,10),"shape=line;html=1;strokeWidth=6;strokeColor=#ff0000;");d.vertex=!0;var g=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;");g.geometry.setTerminalPoint(new mxPoint(100,80),!1);g.geometry.relative=!0;g.edge=!0;d.insertEdge(g,!0);return b.createVertexTemplateFromCells([d,g],200,80,"Fork/Join")}),this.createVertexTemplateEntry("ellipse;html=1;shape=endState;fillColor=#000000;strokeColor=#ff0000;",
30,30,"","End",null,null,"uml activity state end"),this.createVertexTemplateEntry('shape=umlLifeline;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=1;dropTarget=0;collapsible=0;recursiveResize=0;outlineConnect=0;portConstraint=eastwest;newEdgeStyle={"curved":0,"rounded":0};',100,300,":Object","Lifeline",null,null,"uml sequence participant lifeline"),this.createVertexTemplateEntry('shape=umlLifeline;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=1;dropTarget=0;collapsible=0;recursiveResize=0;outlineConnect=0;portConstraint=eastwest;newEdgeStyle={"curved":0,"rounded":0};participant=umlActor;',
20,300,"","Actor Lifeline",null,null,"uml sequence participant lifeline actor"),this.createVertexTemplateEntry('shape=umlLifeline;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=1;dropTarget=0;collapsible=0;recursiveResize=0;outlineConnect=0;portConstraint=eastwest;newEdgeStyle={"curved":0,"rounded":0};participant=umlBoundary;',50,300,"","Boundary Lifeline",null,null,"uml sequence participant lifeline boundary"),this.createVertexTemplateEntry('shape=umlLifeline;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=1;dropTarget=0;collapsible=0;recursiveResize=0;outlineConnect=0;portConstraint=eastwest;newEdgeStyle={"curved":0,"rounded":0};participant=umlEntity;',
40,300,"","Entity Lifeline",null,null,"uml sequence participant lifeline entity"),this.createVertexTemplateEntry('shape=umlLifeline;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=1;dropTarget=0;collapsible=0;recursiveResize=0;outlineConnect=0;portConstraint=eastwest;newEdgeStyle={"curved":0,"rounded":0};participant=umlControl;',40,300,"","Control Lifeline",null,null,"uml sequence participant lifeline control"),this.createVertexTemplateEntry("shape=umlFrame;whiteSpace=wrap;html=1;pointerEvents=0;",
-300,200,"frame","Frame",null,null,"uml sequence frame"),this.createVertexTemplateEntry("shape=umlDestroy;whiteSpace=wrap;html=1;strokeWidth=3;targetShapes=umlLifeline;",30,30,"","Destruction",null,null,"uml sequence destruction destroy"),this.addEntry("uml sequence invoke invocation call activation bar",function(){var f=new mxCell("",new mxGeometry(0,0,10,80),'html=1;points=[[0,0,0,0,5],[0,1,0,0,-5],[1,0,0,0,5],[1,1,0,0,-5]];perimeter=orthogonalPerimeter;outlineConnect=0;targetShapes=umlLifeline;portConstraint=eastwest;newEdgeStyle={"curved":0,"rounded":0};');
-f.vertex=!0;var h=new mxCell("dispatch",new mxGeometry(0,0,0,0),"html=1;verticalAlign=bottom;startArrow=oval;endArrow=block;startSize=8;curved=0;rounded=0;entryX=0;entryY=0;entryDx=0;entryDy=5;");h.geometry.setTerminalPoint(new mxPoint(-70,5),!0);h.geometry.relative=!0;h.edge=!0;f.insertEdge(h,!1);return b.createVertexTemplateFromCells([f,h],10,80,"Found Message")}),this.addEntry("uml sequence invoke call delegation synchronous invocation activation bar",function(){var f=new mxCell("",new mxGeometry(0,
-0,10,80),'html=1;points=[[0,0,0,0,5],[0,1,0,0,-5],[1,0,0,0,5],[1,1,0,0,-5]];perimeter=orthogonalPerimeter;outlineConnect=0;targetShapes=umlLifeline;portConstraint=eastwest;newEdgeStyle={"curved":0,"rounded":0};');f.vertex=!0;var h=new mxCell("dispatch",new mxGeometry(0,0,0,0),"html=1;verticalAlign=bottom;endArrow=block;curved=0;rounded=0;entryX=0;entryY=0;entryDx=0;entryDy=5;");h.geometry.setTerminalPoint(new mxPoint(-70,5),!0);h.geometry.relative=!0;h.edge=!0;f.insertEdge(h,!1);var n=new mxCell("return",
-new mxGeometry(0,0,0,0),"html=1;verticalAlign=bottom;endArrow=open;dashed=1;endSize=8;curved=0;rounded=0;exitX=0;exitY=1;exitDx=0;exitDy=-5;");n.geometry.setTerminalPoint(new mxPoint(-70,75),!1);n.geometry.relative=!0;n.edge=!0;f.insertEdge(n,!0);return b.createVertexTemplateFromCells([f,h,n],10,80,"Synchronous Invocation")}),this.addEntry("uml sequence self call recursion delegation activation bar",function(){var f=new mxCell("",new mxGeometry(-5,20,10,40),'html=1;points=[[0,0,0,0,5],[0,1,0,0,-5],[1,0,0,0,5],[1,1,0,0,-5]];perimeter=orthogonalPerimeter;outlineConnect=0;targetShapes=umlLifeline;portConstraint=eastwest;newEdgeStyle={"curved":0,"rounded":0};');
-f.vertex=!0;var h=new mxCell("self call",new mxGeometry(0,0,0,0),"html=1;align=left;spacingLeft=2;endArrow=block;rounded=0;edgeStyle=orthogonalEdgeStyle;curved=0;rounded=0;");h.geometry.setTerminalPoint(new mxPoint(0,0),!0);h.geometry.points=[new mxPoint(30,30)];h.geometry.relative=!0;h.edge=!0;f.insertEdge(h,!1);return b.createVertexTemplateFromCells([f,h],10,60,"Self Call")}),this.addEntry("uml sequence invoke call delegation callback activation bar",function(){var f=new mxCell("",new mxGeometry(0,
-0,10,80),'html=1;points=[[0,0,0,0,5],[0,1,0,0,-5],[1,0,0,0,5],[1,1,0,0,-5]];perimeter=orthogonalPerimeter;outlineConnect=0;targetShapes=umlLifeline;portConstraint=eastwest;newEdgeStyle={"curved":0,"rounded":0};');f.vertex=!0;var h=new mxCell("callback",new mxGeometry(0,0,0,0),"html=1;verticalAlign=bottom;endArrow=block;curved=0;rounded=0;entryX=1;entryY=0;entryDx=0;entryDy=5;");h.geometry.setTerminalPoint(new mxPoint(80,5),!0);h.geometry.relative=!0;h.edge=!0;f.insertEdge(h,!1);var n=new mxCell("return",
-new mxGeometry(0,0,0,0),"html=1;verticalAlign=bottom;endArrow=open;dashed=1;endSize=8;curved=0;rounded=0;exitX=1;exitY=1;exitDx=0;exitDy=-5;");n.geometry.setTerminalPoint(new mxPoint(80,75),!1);n.geometry.relative=!0;n.edge=!0;f.insertEdge(n,!0);return b.createVertexTemplateFromCells([f,h,n],10,80,"Callback")}),this.createVertexTemplateEntry('html=1;points=[[0,0,0,0,5],[0,1,0,0,-5],[1,0,0,0,5],[1,1,0,0,-5]];perimeter=orthogonalPerimeter;outlineConnect=0;targetShapes=umlLifeline;portConstraint=eastwest;newEdgeStyle={"curved":0,"rounded":0};',
+300,200,"frame","Frame",null,null,"uml sequence frame"),this.createVertexTemplateEntry("shape=umlDestroy;whiteSpace=wrap;html=1;strokeWidth=3;targetShapes=umlLifeline;",30,30,"","Destruction",null,null,"uml sequence destruction destroy"),this.addEntry("uml sequence invoke invocation call activation bar",function(){var d=new mxCell("",new mxGeometry(0,0,10,80),'html=1;points=[[0,0,0,0,5],[0,1,0,0,-5],[1,0,0,0,5],[1,1,0,0,-5]];perimeter=orthogonalPerimeter;outlineConnect=0;targetShapes=umlLifeline;portConstraint=eastwest;newEdgeStyle={"curved":0,"rounded":0};');
+d.vertex=!0;var g=new mxCell("dispatch",new mxGeometry(0,0,0,0),"html=1;verticalAlign=bottom;startArrow=oval;endArrow=block;startSize=8;curved=0;rounded=0;entryX=0;entryY=0;entryDx=0;entryDy=5;");g.geometry.setTerminalPoint(new mxPoint(-70,5),!0);g.geometry.relative=!0;g.edge=!0;d.insertEdge(g,!1);return b.createVertexTemplateFromCells([d,g],10,80,"Found Message")}),this.addEntry("uml sequence invoke call delegation synchronous invocation activation bar",function(){var d=new mxCell("",new mxGeometry(0,
+0,10,80),'html=1;points=[[0,0,0,0,5],[0,1,0,0,-5],[1,0,0,0,5],[1,1,0,0,-5]];perimeter=orthogonalPerimeter;outlineConnect=0;targetShapes=umlLifeline;portConstraint=eastwest;newEdgeStyle={"curved":0,"rounded":0};');d.vertex=!0;var g=new mxCell("dispatch",new mxGeometry(0,0,0,0),"html=1;verticalAlign=bottom;endArrow=block;curved=0;rounded=0;entryX=0;entryY=0;entryDx=0;entryDy=5;");g.geometry.setTerminalPoint(new mxPoint(-70,5),!0);g.geometry.relative=!0;g.edge=!0;d.insertEdge(g,!1);var n=new mxCell("return",
+new mxGeometry(0,0,0,0),"html=1;verticalAlign=bottom;endArrow=open;dashed=1;endSize=8;curved=0;rounded=0;exitX=0;exitY=1;exitDx=0;exitDy=-5;");n.geometry.setTerminalPoint(new mxPoint(-70,75),!1);n.geometry.relative=!0;n.edge=!0;d.insertEdge(n,!0);return b.createVertexTemplateFromCells([d,g,n],10,80,"Synchronous Invocation")}),this.addEntry("uml sequence self call recursion delegation activation bar",function(){var d=new mxCell("",new mxGeometry(-5,20,10,40),'html=1;points=[[0,0,0,0,5],[0,1,0,0,-5],[1,0,0,0,5],[1,1,0,0,-5]];perimeter=orthogonalPerimeter;outlineConnect=0;targetShapes=umlLifeline;portConstraint=eastwest;newEdgeStyle={"curved":0,"rounded":0};');
+d.vertex=!0;var g=new mxCell("self call",new mxGeometry(0,0,0,0),"html=1;align=left;spacingLeft=2;endArrow=block;rounded=0;edgeStyle=orthogonalEdgeStyle;curved=0;rounded=0;");g.geometry.setTerminalPoint(new mxPoint(0,0),!0);g.geometry.points=[new mxPoint(30,30)];g.geometry.relative=!0;g.edge=!0;d.insertEdge(g,!1);return b.createVertexTemplateFromCells([d,g],10,60,"Self Call")}),this.addEntry("uml sequence invoke call delegation callback activation bar",function(){var d=new mxCell("",new mxGeometry(0,
+0,10,80),'html=1;points=[[0,0,0,0,5],[0,1,0,0,-5],[1,0,0,0,5],[1,1,0,0,-5]];perimeter=orthogonalPerimeter;outlineConnect=0;targetShapes=umlLifeline;portConstraint=eastwest;newEdgeStyle={"curved":0,"rounded":0};');d.vertex=!0;var g=new mxCell("callback",new mxGeometry(0,0,0,0),"html=1;verticalAlign=bottom;endArrow=block;curved=0;rounded=0;entryX=1;entryY=0;entryDx=0;entryDy=5;");g.geometry.setTerminalPoint(new mxPoint(80,5),!0);g.geometry.relative=!0;g.edge=!0;d.insertEdge(g,!1);var n=new mxCell("return",
+new mxGeometry(0,0,0,0),"html=1;verticalAlign=bottom;endArrow=open;dashed=1;endSize=8;curved=0;rounded=0;exitX=1;exitY=1;exitDx=0;exitDy=-5;");n.geometry.setTerminalPoint(new mxPoint(80,75),!1);n.geometry.relative=!0;n.edge=!0;d.insertEdge(n,!0);return b.createVertexTemplateFromCells([d,g,n],10,80,"Callback")}),this.createVertexTemplateEntry('html=1;points=[[0,0,0,0,5],[0,1,0,0,-5],[1,0,0,0,5],[1,1,0,0,-5]];perimeter=orthogonalPerimeter;outlineConnect=0;targetShapes=umlLifeline;portConstraint=eastwest;newEdgeStyle={"curved":0,"rounded":0};',
10,80,"","Activation Bar",null,null,"uml sequence activation bar"),this.createEdgeTemplateEntry("html=1;verticalAlign=bottom;startArrow=oval;startFill=1;endArrow=block;startSize=8;curved=0;rounded=0;",60,0,"dispatch","Found Message 1",null,"uml sequence message call invoke dispatch"),this.createEdgeTemplateEntry("html=1;verticalAlign=bottom;startArrow=circle;startFill=1;endArrow=open;startSize=6;endSize=8;curved=0;rounded=0;",80,0,"dispatch","Found Message 2",null,"uml sequence message call invoke dispatch"),
-this.createEdgeTemplateEntry("html=1;verticalAlign=bottom;endArrow=block;curved=0;rounded=0;",80,0,"dispatch","Message",null,"uml sequence message call invoke dispatch"),this.addEntry("uml sequence return message",function(){var f=new mxCell("return",new mxGeometry(0,0,0,0),"html=1;verticalAlign=bottom;endArrow=open;dashed=1;endSize=8;curved=0;rounded=0;");f.geometry.setTerminalPoint(new mxPoint(80,0),!0);f.geometry.setTerminalPoint(new mxPoint(0,0),!1);f.geometry.relative=!0;f.edge=!0;return b.createEdgeTemplateFromCells([f],
-80,0,"Return")}),this.addEntry("uml relation",function(){var f=new mxCell("name",new mxGeometry(0,0,0,0),"endArrow=block;endFill=1;html=1;edgeStyle=orthogonalEdgeStyle;align=left;verticalAlign=top;");f.geometry.setTerminalPoint(new mxPoint(0,0),!0);f.geometry.setTerminalPoint(new mxPoint(160,0),!1);f.geometry.relative=!0;f.geometry.x=-1;f.edge=!0;var h=new mxCell("1",new mxGeometry(-1,0,0,0),"edgeLabel;resizable=0;html=1;align=left;verticalAlign=bottom;");h.geometry.relative=!0;h.setConnectable(!1);
-h.vertex=!0;f.insert(h);return b.createEdgeTemplateFromCells([f],160,0,"Relation 1")}),this.addEntry("uml association",function(){var f=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;html=1;edgeStyle=orthogonalEdgeStyle;");f.geometry.setTerminalPoint(new mxPoint(0,0),!0);f.geometry.setTerminalPoint(new mxPoint(160,0),!1);f.geometry.relative=!0;f.edge=!0;var h=new mxCell("parent",new mxGeometry(-1,0,0,0),"edgeLabel;resizable=0;html=1;align=left;verticalAlign=bottom;");h.geometry.relative=!0;
-h.setConnectable(!1);h.vertex=!0;f.insert(h);h=new mxCell("child",new mxGeometry(1,0,0,0),"edgeLabel;resizable=0;html=1;align=right;verticalAlign=bottom;");h.geometry.relative=!0;h.setConnectable(!1);h.vertex=!0;f.insert(h);return b.createEdgeTemplateFromCells([f],160,0,"Association 1")}),this.addEntry("uml aggregation",function(){var f=new mxCell("1",new mxGeometry(0,0,0,0),"endArrow=open;html=1;endSize=12;startArrow=diamondThin;startSize=14;startFill=0;edgeStyle=orthogonalEdgeStyle;align=left;verticalAlign=bottom;");
-f.geometry.setTerminalPoint(new mxPoint(0,0),!0);f.geometry.setTerminalPoint(new mxPoint(160,0),!1);f.geometry.relative=!0;f.geometry.x=-1;f.geometry.y=3;f.edge=!0;return b.createEdgeTemplateFromCells([f],160,0,"Aggregation 1")}),this.addEntry("uml composition",function(){var f=new mxCell("1",new mxGeometry(0,0,0,0),"endArrow=open;html=1;endSize=12;startArrow=diamondThin;startSize=14;startFill=1;edgeStyle=orthogonalEdgeStyle;align=left;verticalAlign=bottom;");f.geometry.setTerminalPoint(new mxPoint(0,
-0),!0);f.geometry.setTerminalPoint(new mxPoint(160,0),!1);f.geometry.relative=!0;f.geometry.x=-1;f.geometry.y=3;f.edge=!0;return b.createEdgeTemplateFromCells([f],160,0,"Composition 1")}),this.addEntry("uml relation",function(){var f=new mxCell("Relation",new mxGeometry(0,0,0,0),"endArrow=open;html=1;endSize=12;startArrow=diamondThin;startSize=14;startFill=0;edgeStyle=orthogonalEdgeStyle;");f.geometry.setTerminalPoint(new mxPoint(0,0),!0);f.geometry.setTerminalPoint(new mxPoint(160,0),!1);f.geometry.relative=
-!0;f.edge=!0;var h=new mxCell("0..n",new mxGeometry(-1,0,0,0),"edgeLabel;resizable=0;html=1;align=left;verticalAlign=top;");h.geometry.relative=!0;h.setConnectable(!1);h.vertex=!0;f.insert(h);h=new mxCell("1",new mxGeometry(1,0,0,0),"edgeLabel;resizable=0;html=1;align=right;verticalAlign=top;");h.geometry.relative=!0;h.setConnectable(!1);h.vertex=!0;f.insert(h);return b.createEdgeTemplateFromCells([f],160,0,"Relation 2")}),this.createEdgeTemplateEntry("endArrow=open;endSize=12;dashed=1;html=1;",160,
+this.createEdgeTemplateEntry("html=1;verticalAlign=bottom;endArrow=block;curved=0;rounded=0;",80,0,"dispatch","Message",null,"uml sequence message call invoke dispatch"),this.addEntry("uml sequence return message",function(){var d=new mxCell("return",new mxGeometry(0,0,0,0),"html=1;verticalAlign=bottom;endArrow=open;dashed=1;endSize=8;curved=0;rounded=0;");d.geometry.setTerminalPoint(new mxPoint(80,0),!0);d.geometry.setTerminalPoint(new mxPoint(0,0),!1);d.geometry.relative=!0;d.edge=!0;return b.createEdgeTemplateFromCells([d],
+80,0,"Return")}),this.addEntry("uml relation",function(){var d=new mxCell("name",new mxGeometry(0,0,0,0),"endArrow=block;endFill=1;html=1;edgeStyle=orthogonalEdgeStyle;align=left;verticalAlign=top;");d.geometry.setTerminalPoint(new mxPoint(0,0),!0);d.geometry.setTerminalPoint(new mxPoint(160,0),!1);d.geometry.relative=!0;d.geometry.x=-1;d.edge=!0;var g=new mxCell("1",new mxGeometry(-1,0,0,0),"edgeLabel;resizable=0;html=1;align=left;verticalAlign=bottom;");g.geometry.relative=!0;g.setConnectable(!1);
+g.vertex=!0;d.insert(g);return b.createEdgeTemplateFromCells([d],160,0,"Relation 1")}),this.addEntry("uml association",function(){var d=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;html=1;edgeStyle=orthogonalEdgeStyle;");d.geometry.setTerminalPoint(new mxPoint(0,0),!0);d.geometry.setTerminalPoint(new mxPoint(160,0),!1);d.geometry.relative=!0;d.edge=!0;var g=new mxCell("parent",new mxGeometry(-1,0,0,0),"edgeLabel;resizable=0;html=1;align=left;verticalAlign=bottom;");g.geometry.relative=!0;
+g.setConnectable(!1);g.vertex=!0;d.insert(g);g=new mxCell("child",new mxGeometry(1,0,0,0),"edgeLabel;resizable=0;html=1;align=right;verticalAlign=bottom;");g.geometry.relative=!0;g.setConnectable(!1);g.vertex=!0;d.insert(g);return b.createEdgeTemplateFromCells([d],160,0,"Association 1")}),this.addEntry("uml aggregation",function(){var d=new mxCell("1",new mxGeometry(0,0,0,0),"endArrow=open;html=1;endSize=12;startArrow=diamondThin;startSize=14;startFill=0;edgeStyle=orthogonalEdgeStyle;align=left;verticalAlign=bottom;");
+d.geometry.setTerminalPoint(new mxPoint(0,0),!0);d.geometry.setTerminalPoint(new mxPoint(160,0),!1);d.geometry.relative=!0;d.geometry.x=-1;d.geometry.y=3;d.edge=!0;return b.createEdgeTemplateFromCells([d],160,0,"Aggregation 1")}),this.addEntry("uml composition",function(){var d=new mxCell("1",new mxGeometry(0,0,0,0),"endArrow=open;html=1;endSize=12;startArrow=diamondThin;startSize=14;startFill=1;edgeStyle=orthogonalEdgeStyle;align=left;verticalAlign=bottom;");d.geometry.setTerminalPoint(new mxPoint(0,
+0),!0);d.geometry.setTerminalPoint(new mxPoint(160,0),!1);d.geometry.relative=!0;d.geometry.x=-1;d.geometry.y=3;d.edge=!0;return b.createEdgeTemplateFromCells([d],160,0,"Composition 1")}),this.addEntry("uml relation",function(){var d=new mxCell("Relation",new mxGeometry(0,0,0,0),"endArrow=open;html=1;endSize=12;startArrow=diamondThin;startSize=14;startFill=0;edgeStyle=orthogonalEdgeStyle;");d.geometry.setTerminalPoint(new mxPoint(0,0),!0);d.geometry.setTerminalPoint(new mxPoint(160,0),!1);d.geometry.relative=
+!0;d.edge=!0;var g=new mxCell("0..n",new mxGeometry(-1,0,0,0),"edgeLabel;resizable=0;html=1;align=left;verticalAlign=top;");g.geometry.relative=!0;g.setConnectable(!1);g.vertex=!0;d.insert(g);g=new mxCell("1",new mxGeometry(1,0,0,0),"edgeLabel;resizable=0;html=1;align=right;verticalAlign=top;");g.geometry.relative=!0;g.setConnectable(!1);g.vertex=!0;d.insert(g);return b.createEdgeTemplateFromCells([d],160,0,"Relation 2")}),this.createEdgeTemplateEntry("endArrow=open;endSize=12;dashed=1;html=1;",160,
0,"Use","Dependency",null,"uml dependency use"),this.createEdgeTemplateEntry("endArrow=block;endSize=16;endFill=0;html=1;",160,0,"Extends","Generalization",null,"uml generalization extend"),this.createEdgeTemplateEntry("endArrow=block;startArrow=block;endFill=1;startFill=1;html=1;",160,0,"","Association 2",null,"uml association"),this.createEdgeTemplateEntry("endArrow=open;startArrow=circlePlus;endFill=0;startFill=0;endSize=8;html=1;",160,0,"","Inner Class",null,"uml inner class"),this.createEdgeTemplateEntry("endArrow=open;startArrow=cross;endFill=0;startFill=0;endSize=8;startSize=10;html=1;",
160,0,"","Terminate",null,"uml terminate"),this.createEdgeTemplateEntry("endArrow=block;dashed=1;endFill=0;endSize=12;html=1;",160,0,"","Implementation",null,"uml realization implementation"),this.createEdgeTemplateEntry("endArrow=diamondThin;endFill=0;endSize=24;html=1;",160,0,"","Aggregation 2",null,"uml aggregation"),this.createEdgeTemplateEntry("endArrow=diamondThin;endFill=1;endSize=24;html=1;",160,0,"","Composition 2",null,"uml composition"),this.createEdgeTemplateEntry("endArrow=open;endFill=1;endSize=12;html=1;",
-160,0,"","Association 3",null,"uml association")];this.addPaletteFunctions("uml",mxResources.get("uml"),a||!1,g);this.setCurrentSearchEntryLibrary()};Sidebar.prototype.createTitle=function(a){var b=document.createElement("a");b.setAttribute("title",mxResources.get("sidebarTooltip"));b.className="geTitle";var d=document.createElement("span");mxUtils.write(d,a);b.appendChild(d);return b};
-Sidebar.prototype.createThumb=function(a,b,d,e,g,f,h,n,q,l,p,w){this.graph.labelsVisible=null==f||f;f=mxClient.NO_FO;mxClient.NO_FO=Editor.prototype.originalNoForeignObject;this.graph.shapeBackgroundColor=null!=l?l:Editor.isDarkMode()?"#2a252f":"#f1f3f4";this.graph.view.scaleAndTranslate(null!=w?w:1,0,0);this.graph.addCells(a);a=this.graph.getGraphBounds();null==w&&(l=Math.floor(100*Math.min((b-2*this.thumbBorder)/a.width,(d-2*this.thumbBorder)/a.height))/100,this.graph.view.scaleAndTranslate(l,(b-
-a.width*l)/2/l-a.x,(d-a.height*l)/2/l-a.y));this.graph.dialect!=mxConstants.DIALECT_SVG||mxClient.NO_FO||null==this.graph.view.getCanvas().ownerSVGElement?(l=this.graph.container.cloneNode(!1),l.innerHTML=this.graph.container.innerHTML):l=this.graph.view.getCanvas().ownerSVGElement.cloneNode(!0);this.graph.getModel().clear();this.graph.view.scaleAndTranslate(1,0,0);this.graph.shapeBackgroundColor=Editor.isDarkMode()?"#2a252f":"#f1f3f4";mxClient.NO_FO=f;l.style.position="relative";l.style.overflow=
-null!=w?"visible":"hidden";l.style.left=(null!=p?p:this.thumbBorder)+"px";l.style.top=l.style.left;l.style.width=b+"px";l.style.height=d+"px";l.style.visibility="";l.style.minWidth="";l.style.minHeight="";this.disablePointerEvents(l);e.appendChild(l);this.sidebarTitles&&null!=g&&0!=h&&(e.style.height=this.thumbHeight+0+this.sidebarTitleSize+8+"px",b=document.createElement("div"),b.style.color=Editor.isDarkMode()?"#A0A0A0":"#303030",b.style.fontSize=this.sidebarTitleSize+"px",b.style.textAlign="center",
-b.style.whiteSpace="nowrap",b.style.overflow="hidden",b.style.textOverflow="ellipsis",mxClient.IS_IE&&(b.style.height=this.sidebarTitleSize+12+"px"),b.style.paddingTop="4px",mxUtils.write(b,g),e.appendChild(b));return a};
+160,0,"","Association 3",null,"uml association")];this.addPaletteFunctions("uml",mxResources.get("uml"),a||!1,h);this.setCurrentSearchEntryLibrary()};Sidebar.prototype.createTitle=function(a){var b=document.createElement("a");b.setAttribute("title",mxResources.get("sidebarTooltip"));b.className="geTitle";var e=document.createElement("span");mxUtils.write(e,a);b.appendChild(e);return b};
+Sidebar.prototype.createThumb=function(a,b,e,f,h,d,g,n,q,k,p,w){this.graph.labelsVisible=null==d||d;d=mxClient.NO_FO;mxClient.NO_FO=Editor.prototype.originalNoForeignObject;this.graph.shapeBackgroundColor=null!=k?k:Editor.isDarkMode()?"#2a252f":"#f1f3f4";this.graph.view.scaleAndTranslate(null!=w?w:1,0,0);this.graph.addCells(a);a=this.graph.getGraphBounds();null==w&&(k=Math.floor(100*Math.min((b-2*this.thumbBorder)/a.width,(e-2*this.thumbBorder)/a.height))/100,this.graph.view.scaleAndTranslate(k,(b-
+a.width*k)/2/k-a.x,(e-a.height*k)/2/k-a.y));this.graph.dialect!=mxConstants.DIALECT_SVG||mxClient.NO_FO||null==this.graph.view.getCanvas().ownerSVGElement?(k=this.graph.container.cloneNode(!1),k.innerHTML=this.graph.container.innerHTML):k=this.graph.view.getCanvas().ownerSVGElement.cloneNode(!0);this.graph.getModel().clear();this.graph.view.scaleAndTranslate(1,0,0);this.graph.shapeBackgroundColor=Editor.isDarkMode()?"#2a252f":"#f1f3f4";mxClient.NO_FO=d;k.style.position="relative";k.style.overflow=
+null!=w?"visible":"hidden";k.style.left=(null!=p?p:this.thumbBorder)+"px";k.style.top=k.style.left;k.style.width=b+"px";k.style.height=e+"px";k.style.visibility="";k.style.minWidth="";k.style.minHeight="";this.disablePointerEvents(k);f.appendChild(k);this.sidebarTitles&&null!=h&&0!=g&&(f.style.height=this.thumbHeight+0+this.sidebarTitleSize+8+"px",b=document.createElement("div"),b.style.color=Editor.isDarkMode()?"#A0A0A0":"#303030",b.style.fontSize=this.sidebarTitleSize+"px",b.style.textAlign="center",
+b.style.whiteSpace="nowrap",b.style.overflow="hidden",b.style.textOverflow="ellipsis",mxClient.IS_IE&&(b.style.height=this.sidebarTitleSize+12+"px"),b.style.paddingTop="4px",mxUtils.write(b,h),f.appendChild(b));return a};
Sidebar.prototype.createSection=function(a){return mxUtils.bind(this,function(){var b=document.createElement("div");b.setAttribute("title",a);b.style.textOverflow="ellipsis";b.style.whiteSpace="nowrap";b.style.textAlign="center";b.style.overflow="hidden";b.style.width="100%";b.style.padding="14px 0";mxUtils.write(b,a);return b})};
-Sidebar.prototype.createItem=function(a,b,d,e,g,f,h,n,q,l,p,w,z,C){n=null!=n?n:!0;l=null!=l?l:this.thumbWidth;p=null!=p?p:this.thumbHeight;var F=document.createElement("a");F.className="geItem";F.style.overflow="hidden";var D=2*this.thumbBorder;F.style.width=l+D+"px";F.style.height=p+D+"px";F.style.padding=this.thumbPadding+"px";mxEvent.addListener(F,"click",function(K){mxEvent.consume(K)});var G=new mxRectangle(0,0,g,f);null!=a&&0<a.length?(D=a,a=this.graph.cloneCells(a),this.graph.pasteCellStyles(this.graph.includeDescendants(D),
-this.initialDefaultVertexStyle,this.initialDefaultEdgeStyle),null!=w?(F.style.backgroundImage="url("+w+")",F.style.backgroundRepeat="no-repeat",F.style.backgroundPosition="center",F.style.backgroundSize="24px 24px"):this.createThumb(D,l,p,F,b,d,e,g,f),1<a.length||a[0].vertex?(e=this.createDragSource(F,this.createDropHandler(a,!0,h,G,z,C),this.createDragPreview(g,f),a,G,z),this.addClickHandler(F,e,a,q,z),e.isGuidesEnabled=mxUtils.bind(this,function(){return this.editorUi.editor.graph.graphHandler.guidesEnabled})):
-null!=a[0]&&a[0].edge&&(e=this.createDragSource(F,this.createDropHandler(a,!1,h,G,z,C),this.createDragPreview(g,f),a,G,z),this.addClickHandler(F,e,a,q)),!mxClient.IS_IOS&&n&&mxEvent.addGestureListeners(F,null,mxUtils.bind(this,function(K){mxEvent.isMouseEvent(K)&&this.showTooltip(F,a,G.width,G.height,b,d)}))):(F.style.backgroundImage="url("+Editor.svgBrokenImage.src+")",F.setAttribute("title",b));return F};
-Sidebar.prototype.createDropHandler=function(a,b,d,e,g,f){d=null!=d?d:!0;return mxUtils.bind(this,function(h,n,q,l,p,w){for(w=w?null:mxEvent.isTouchEvent(n)||mxEvent.isPenEvent(n)?document.elementFromPoint(mxEvent.getClientX(n),mxEvent.getClientY(n)):mxEvent.getSource(n);null!=w&&w!=this.container;)w=w.parentNode;if(null==w&&h.isEnabled()){a=h.getImportableCells(a);if(0<a.length){h.stopEditing();w=null==q||mxEvent.isAltDown(n)?!1:h.isValidDropTarget(q,a,n);var z=null;null==q||w||(q=null);if(!h.isCellLocked(q||
-h.getDefaultParent())){h.model.beginUpdate();try{l=Math.round(l);p=Math.round(p);if(b&&h.isSplitTarget(q,a,n)){var C=h.view.scale,F=h.view.translate,D=(l+F.x)*C,G=(p+F.y)*C,K=h.cloneCells(a);h.splitEdge(q,K,null,l-e.width/2,p-e.height/2,D,G);z=K}else if(0<a.length&&(z=h.importCells(a,l,p,q),h.model.isVertex(f)&&1==z.length&&h.model.isVertex(z[0]))){var I=h.insertEdge(h.model.getParent(f),null,"",f,z[0],h.createCurrentEdgeStyle());h.applyNewEdgeStyle(f,[I]);z.push(I);h.connectionHandler.insertBeforeSource&&
-h.insertEdgeBeforeCell(I,f)}if(null!=h.layoutManager){var O=h.layoutManager.getLayout(q);if(null!=O){C=h.view.scale;F=h.view.translate;D=(l+F.x)*C;G=(p+F.y)*C;for(var H=0;H<z.length;H++)O.moveCell(z[H],D,G)}}!d||null!=n&&mxEvent.isShiftDown(n)||h.fireEvent(new mxEventObject("cellsInserted","cells",z));for(H=0;H<z.length;H++)h.model.isVertex(z[H])&&h.isAutoSizeCell(z[H])&&h.updateCellSize(z[H])}catch(Z){this.editorUi.handleError(Z)}finally{h.model.endUpdate()}null!=z&&0<z.length&&(h.scrollCellToVisible(z[0]),
-h.setSelectionCells(z));(g||h.editAfterInsert&&null!=n&&mxEvent.isMouseEvent(n)&&null!=z&&1==z.length)&&window.setTimeout(function(){h.startEditing(z[0])},0)}}mxEvent.consume(n)}})};Sidebar.prototype.createDragPreview=function(a,b){var d=document.createElement("div");d.className="geDragPreview";d.style.width=a+"px";d.style.height=b+"px";return d};
-Sidebar.prototype.dropAndConnect=function(a,b,d,e,g,f,h){var n=this.editorUi.editor.graph,q=n.model.isEdge(a)||null!=f?f:h;q=this.getDropAndConnectGeometry(a,b[q],d,b);var l=[];if(null!=q){var p=null;n.model.beginUpdate();try{var w=n.getCellGeometry(a),z=n.getCellGeometry(b[e]),C=n.model.getParent(a),F=!0;if(null!=n.layoutManager){var D=n.layoutManager.getLayout(C);null!=D&&D.constructor==mxStackLayout&&(F=!1)}l=n.model.isEdge(a)?null:n.view.getState(C);var G=D=0;if(null!=l){var K=l.origin;D=K.x;
-G=K.y}var I=!n.isTableRow(a)&&!n.isTableCell(a)&&(n.model.isEdge(a)||null!=w&&!w.relative&&F),O=n.getCellAt((q.x+D+n.view.translate.x)*n.view.scale,(q.y+G+n.view.translate.y)*n.view.scale,null,null,null,function(M,U,ba){return!n.isContainer(M.cell)});if(null!=O&&O!=C)l=n.view.getState(O),null!=l&&(K=l.origin,C=O,I=!0,n.model.isEdge(a)||(q.x-=K.x-D,q.y-=K.y-G));else if(!F||n.isTableRow(a)||n.isTableCell(a))q.x+=D,q.y+=G;D=z.x;G=z.y;n.model.isEdge(b[e])&&(G=D=0);l=b=n.importCells(b,q.x-(I?D:0),q.y-
-(I?G:0),I?C:null);if(n.model.isEdge(a))n.model.setTerminal(a,b[e],d==mxConstants.DIRECTION_NORTH),null!=h&&null!=f&&(n.model.remove(b[h]),n.updateShapes(b[h],[a]));else if(n.model.isEdge(b[e])&&null==f){n.model.setTerminal(b[e],a,!0);var H=n.getCellGeometry(b[e]),Z=null!=H?H.getTerminalPoint(!0):null;H.points=null;if(null!=Z)for(d=0;d<b.length;d++)if(n.model.isEdge(b[d])&&d!=e){var S=n.getCellGeometry(b[d]),X=null!=S?S.getTerminalPoint(!0):null;null!=X&&X.x==Z.x&&X.y==Z.y&&n.model.setTerminal(b[d],
-a,!0)}if(null!=H.getTerminalPoint(!1))H.setTerminalPoint(q.getTerminalPoint(!1),!1);else if(I&&n.model.isVertex(C)){var Y=n.view.getState(C);K=Y.cell!=n.view.currentRoot?Y.origin:new mxPoint(0,0);n.cellsMoved(b,K.x,K.y,null,null,!0)}}else null!=f&&(z=n.getCellGeometry(b[f]),D=q.x-Math.round(z.x),G=q.y-Math.round(z.y),q.x=Math.round(z.x),q.y=Math.round(z.y),n.model.setGeometry(b[e],q),n.cellsMoved(b,D,G,null,null,!0),l=b.slice(),p=1==l.length?l[0]:null,null!=h?n.model.setTerminal(b[h],a,!0):b.push(n.insertEdge(null,
-null,"",a,b[e],n.createCurrentEdgeStyle())));null!=g&&mxEvent.isShiftDown(g)||n.fireEvent(new mxEventObject("cellsInserted","cells",b))}catch(M){this.editorUi.handleError(M)}finally{n.model.endUpdate()}n.editAfterInsert&&null!=g&&mxEvent.isMouseEvent(g)&&null!=p&&window.setTimeout(function(){n.startEditing(p)},0)}null!=h&&1<l.length&&l.splice(h,1);return l};
-Sidebar.prototype.getDropAndConnectGeometry=function(a,b,d,e){var g=this.editorUi.editor.graph,f=g.view,h=1<e.length,n=g.view.getState(a),q=g.getCellGeometry(a);e=g.getCellGeometry(b);null!=n&&null!=q&&null!=e&&(e=e.clone(),g.model.isEdge(a)?(q=n.absolutePoints,b=q[0],g=q[q.length-1],d==mxConstants.DIRECTION_NORTH?(e.x=b.x/f.scale-f.translate.x-e.width/2,e.y=b.y/f.scale-f.translate.y-e.height/2):(e.x=g.x/f.scale-f.translate.x-e.width/2,e.y=g.y/f.scale-f.translate.y-e.height/2)):(q.relative&&(q=q.clone(),
-q.x=(n.x-f.translate.x)/f.scale,q.y=(n.y-f.translate.y)/f.scale),f=g.defaultEdgeLength,g.model.isEdge(b)&&null!=e.getTerminalPoint(!0)&&null!=e.getTerminalPoint(!1)?(b=e.getTerminalPoint(!0),g=e.getTerminalPoint(!1),f=g.x-b.x,b=g.y-b.y,f=Math.sqrt(f*f+b*b),e.x=q.getCenterX(),e.y=q.getCenterY(),e.width=1,e.height=1,d==mxConstants.DIRECTION_NORTH?(e.height=f,e.y=q.y-f,e.setTerminalPoint(new mxPoint(e.x,e.y),!1)):d==mxConstants.DIRECTION_EAST?(e.width=f,e.x=q.x+q.width,e.setTerminalPoint(new mxPoint(e.x+
-e.width,e.y),!1)):d==mxConstants.DIRECTION_SOUTH?(e.height=f,e.y=q.y+q.height,e.setTerminalPoint(new mxPoint(e.x,e.y+e.height),!1)):d==mxConstants.DIRECTION_WEST&&(e.width=f,e.x=q.x-f,e.setTerminalPoint(new mxPoint(e.x,e.y),!1))):(!h&&45<e.width&&45<e.height&&45<q.width&&45<q.height&&(e.width*=q.height/e.height,e.height=q.height),e.x=q.x+q.width/2-e.width/2,e.y=q.y+q.height/2-e.height/2,d==mxConstants.DIRECTION_NORTH?e.y=e.y-q.height/2-e.height/2-f:d==mxConstants.DIRECTION_EAST?e.x=e.x+q.width/2+
-e.width/2+f:d==mxConstants.DIRECTION_SOUTH?e.y=e.y+q.height/2+e.height/2+f:d==mxConstants.DIRECTION_WEST&&(e.x=e.x-q.width/2-e.width/2-f),g.model.isEdge(b)&&null!=e.getTerminalPoint(!0)&&null!=b.getTerminal(!1)&&(q=g.getCellGeometry(b.getTerminal(!1)),null!=q&&(d==mxConstants.DIRECTION_NORTH?(e.x-=q.getCenterX(),e.y-=q.getCenterY()+q.height/2):d==mxConstants.DIRECTION_EAST?(e.x-=q.getCenterX()-q.width/2,e.y-=q.getCenterY()):d==mxConstants.DIRECTION_SOUTH?(e.x-=q.getCenterX(),e.y-=q.getCenterY()-q.height/
-2):d==mxConstants.DIRECTION_WEST&&(e.x-=q.getCenterX()+q.width/2,e.y-=q.getCenterY()))))));return e};Sidebar.prototype.isDropStyleEnabled=function(a,b){var d=!0;null!=b&&1==a.length&&(a=this.graph.getCellStyle(a[b]),null!=a&&(d=mxUtils.getValue(a,mxConstants.STYLE_STROKECOLOR,mxConstants.NONE)!=mxConstants.NONE||mxUtils.getValue(a,mxConstants.STYLE_FILLCOLOR,mxConstants.NONE)!=mxConstants.NONE));return d};
+Sidebar.prototype.createItem=function(a,b,e,f,h,d,g,n,q,k,p,w,z,C){n=null!=n?n:!0;k=null!=k?k:this.thumbWidth;p=null!=p?p:this.thumbHeight;var F=document.createElement("a");F.className="geItem";F.style.overflow="hidden";var D=2*this.thumbBorder;F.style.width=k+D+"px";F.style.height=p+D+"px";F.style.padding=this.thumbPadding+"px";mxEvent.addListener(F,"click",function(K){mxEvent.consume(K)});var H=new mxRectangle(0,0,h,d);null!=a&&0<a.length?(D=a,a=this.graph.cloneCells(a),this.graph.pasteCellStyles(this.graph.includeDescendants(D),
+this.initialDefaultVertexStyle,this.initialDefaultEdgeStyle),null!=w?(F.style.backgroundImage="url("+w+")",F.style.backgroundRepeat="no-repeat",F.style.backgroundPosition="center",F.style.backgroundSize="24px 24px"):this.createThumb(D,k,p,F,b,e,f,h,d),1<a.length||a[0].vertex?(f=this.createDragSource(F,this.createDropHandler(a,!0,g,H,z,C),this.createDragPreview(h,d),a,H,z),this.addClickHandler(F,f,a,q,z),f.isGuidesEnabled=mxUtils.bind(this,function(){return this.editorUi.editor.graph.graphHandler.guidesEnabled})):
+null!=a[0]&&a[0].edge&&(f=this.createDragSource(F,this.createDropHandler(a,!1,g,H,z,C),this.createDragPreview(h,d),a,H,z),this.addClickHandler(F,f,a,q)),!mxClient.IS_IOS&&n&&mxEvent.addGestureListeners(F,null,mxUtils.bind(this,function(K){mxEvent.isMouseEvent(K)&&this.showTooltip(F,a,H.width,H.height,b,e)}))):(F.style.backgroundImage="url("+Editor.svgBrokenImage.src+")",F.setAttribute("title",b));return F};
+Sidebar.prototype.createDropHandler=function(a,b,e,f,h,d){e=null!=e?e:!0;return mxUtils.bind(this,function(g,n,q,k,p,w){for(w=w?null:mxEvent.isTouchEvent(n)||mxEvent.isPenEvent(n)?document.elementFromPoint(mxEvent.getClientX(n),mxEvent.getClientY(n)):mxEvent.getSource(n);null!=w&&w!=this.container;)w=w.parentNode;if(null==w&&g.isEnabled()){a=g.getImportableCells(a);if(0<a.length){g.stopEditing();w=null==q||mxEvent.isAltDown(n)?!1:g.isValidDropTarget(q,a,n);var z=null;null==q||w||(q=null);if(!g.isCellLocked(q||
+g.getDefaultParent())){g.model.beginUpdate();try{k=Math.round(k);p=Math.round(p);if(b&&g.isSplitTarget(q,a,n)){var C=g.view.scale,F=g.view.translate,D=(k+F.x)*C,H=(p+F.y)*C,K=g.cloneCells(a);g.splitEdge(q,K,null,k-f.width/2,p-f.height/2,D,H);z=K}else if(0<a.length&&(z=g.importCells(a,k,p,q),g.model.isVertex(d)&&1==z.length&&g.model.isVertex(z[0]))){var G=g.insertEdge(g.model.getParent(d),null,"",d,z[0],g.createCurrentEdgeStyle());g.applyNewEdgeStyle(d,[G]);z.push(G);g.connectionHandler.insertBeforeSource&&
+g.insertEdgeBeforeCell(G,d)}if(null!=g.layoutManager){var P=g.layoutManager.getLayout(q);if(null!=P){C=g.view.scale;F=g.view.translate;D=(k+F.x)*C;H=(p+F.y)*C;for(var I=0;I<z.length;I++)P.moveCell(z[I],D,H)}}!e||null!=n&&mxEvent.isShiftDown(n)||g.fireEvent(new mxEventObject("cellsInserted","cells",z));for(I=0;I<z.length;I++)g.model.isVertex(z[I])&&g.isAutoSizeCell(z[I])&&g.updateCellSize(z[I])}catch(Z){this.editorUi.handleError(Z)}finally{g.model.endUpdate()}null!=z&&0<z.length&&(g.scrollCellToVisible(z[0]),
+g.setSelectionCells(z));(h||g.editAfterInsert&&null!=n&&mxEvent.isMouseEvent(n)&&null!=z&&1==z.length)&&window.setTimeout(function(){g.startEditing(z[0])},0)}}mxEvent.consume(n)}})};Sidebar.prototype.createDragPreview=function(a,b){var e=document.createElement("div");e.className="geDragPreview";e.style.width=a+"px";e.style.height=b+"px";return e};
+Sidebar.prototype.dropAndConnect=function(a,b,e,f,h,d,g){var n=this.editorUi.editor.graph,q=n.model.isEdge(a)||null!=d?d:g;q=this.getDropAndConnectGeometry(a,b[q],e,b);var k=[];if(null!=q){var p=null;n.model.beginUpdate();try{var w=n.getCellGeometry(a),z=n.getCellGeometry(b[f]),C=n.model.getParent(a),F=!0;if(null!=n.layoutManager){var D=n.layoutManager.getLayout(C);null!=D&&D.constructor==mxStackLayout&&(F=!1)}k=n.model.isEdge(a)?null:n.view.getState(C);var H=D=0;if(null!=k){var K=k.origin;D=K.x;
+H=K.y}var G=!n.isTableRow(a)&&!n.isTableCell(a)&&(n.model.isEdge(a)||null!=w&&!w.relative&&F),P=n.getCellAt((q.x+D+n.view.translate.x)*n.view.scale,(q.y+H+n.view.translate.y)*n.view.scale,null,null,null,function(L,U,ba){return!n.isContainer(L.cell)});if(null!=P&&P!=C)k=n.view.getState(P),null!=k&&(K=k.origin,C=P,G=!0,n.model.isEdge(a)||(q.x-=K.x-D,q.y-=K.y-H));else if(!F||n.isTableRow(a)||n.isTableCell(a))q.x+=D,q.y+=H;D=z.x;H=z.y;n.model.isEdge(b[f])&&(H=D=0);k=b=n.importCells(b,q.x-(G?D:0),q.y-
+(G?H:0),G?C:null);if(n.model.isEdge(a))n.model.setTerminal(a,b[f],e==mxConstants.DIRECTION_NORTH),null!=g&&null!=d&&(n.model.remove(b[g]),n.updateShapes(b[g],[a]));else if(n.model.isEdge(b[f])&&null==d){n.model.setTerminal(b[f],a,!0);var I=n.getCellGeometry(b[f]),Z=null!=I?I.getTerminalPoint(!0):null;I.points=null;if(null!=Z)for(e=0;e<b.length;e++)if(n.model.isEdge(b[e])&&e!=f){var S=n.getCellGeometry(b[e]),Y=null!=S?S.getTerminalPoint(!0):null;null!=Y&&Y.x==Z.x&&Y.y==Z.y&&n.model.setTerminal(b[e],
+a,!0)}if(null!=I.getTerminalPoint(!1))I.setTerminalPoint(q.getTerminalPoint(!1),!1);else if(G&&n.model.isVertex(C)){var V=n.view.getState(C);K=V.cell!=n.view.currentRoot?V.origin:new mxPoint(0,0);n.cellsMoved(b,K.x,K.y,null,null,!0)}}else null!=d&&(z=n.getCellGeometry(b[d]),D=q.x-Math.round(z.x),H=q.y-Math.round(z.y),q.x=Math.round(z.x),q.y=Math.round(z.y),n.model.setGeometry(b[f],q),n.cellsMoved(b,D,H,null,null,!0),k=b.slice(),p=1==k.length?k[0]:null,null!=g?n.model.setTerminal(b[g],a,!0):b.push(n.insertEdge(null,
+null,"",a,b[f],n.createCurrentEdgeStyle())));null!=h&&mxEvent.isShiftDown(h)||n.fireEvent(new mxEventObject("cellsInserted","cells",b))}catch(L){this.editorUi.handleError(L)}finally{n.model.endUpdate()}n.editAfterInsert&&null!=h&&mxEvent.isMouseEvent(h)&&null!=p&&window.setTimeout(function(){n.startEditing(p)},0)}null!=g&&1<k.length&&k.splice(g,1);return k};
+Sidebar.prototype.getDropAndConnectGeometry=function(a,b,e,f){var h=this.editorUi.editor.graph,d=h.view,g=1<f.length,n=h.view.getState(a),q=h.getCellGeometry(a);f=h.getCellGeometry(b);null!=n&&null!=q&&null!=f&&(f=f.clone(),h.model.isEdge(a)?(q=n.absolutePoints,b=q[0],h=q[q.length-1],e==mxConstants.DIRECTION_NORTH?(f.x=b.x/d.scale-d.translate.x-f.width/2,f.y=b.y/d.scale-d.translate.y-f.height/2):(f.x=h.x/d.scale-d.translate.x-f.width/2,f.y=h.y/d.scale-d.translate.y-f.height/2)):(q.relative&&(q=q.clone(),
+q.x=(n.x-d.translate.x)/d.scale,q.y=(n.y-d.translate.y)/d.scale),d=h.defaultEdgeLength,h.model.isEdge(b)&&null!=f.getTerminalPoint(!0)&&null!=f.getTerminalPoint(!1)?(b=f.getTerminalPoint(!0),h=f.getTerminalPoint(!1),d=h.x-b.x,b=h.y-b.y,d=Math.sqrt(d*d+b*b),f.x=q.getCenterX(),f.y=q.getCenterY(),f.width=1,f.height=1,e==mxConstants.DIRECTION_NORTH?(f.height=d,f.y=q.y-d,f.setTerminalPoint(new mxPoint(f.x,f.y),!1)):e==mxConstants.DIRECTION_EAST?(f.width=d,f.x=q.x+q.width,f.setTerminalPoint(new mxPoint(f.x+
+f.width,f.y),!1)):e==mxConstants.DIRECTION_SOUTH?(f.height=d,f.y=q.y+q.height,f.setTerminalPoint(new mxPoint(f.x,f.y+f.height),!1)):e==mxConstants.DIRECTION_WEST&&(f.width=d,f.x=q.x-d,f.setTerminalPoint(new mxPoint(f.x,f.y),!1))):(!g&&45<f.width&&45<f.height&&45<q.width&&45<q.height&&(f.width*=q.height/f.height,f.height=q.height),f.x=q.x+q.width/2-f.width/2,f.y=q.y+q.height/2-f.height/2,e==mxConstants.DIRECTION_NORTH?f.y=f.y-q.height/2-f.height/2-d:e==mxConstants.DIRECTION_EAST?f.x=f.x+q.width/2+
+f.width/2+d:e==mxConstants.DIRECTION_SOUTH?f.y=f.y+q.height/2+f.height/2+d:e==mxConstants.DIRECTION_WEST&&(f.x=f.x-q.width/2-f.width/2-d),h.model.isEdge(b)&&null!=f.getTerminalPoint(!0)&&null!=b.getTerminal(!1)&&(q=h.getCellGeometry(b.getTerminal(!1)),null!=q&&(e==mxConstants.DIRECTION_NORTH?(f.x-=q.getCenterX(),f.y-=q.getCenterY()+q.height/2):e==mxConstants.DIRECTION_EAST?(f.x-=q.getCenterX()-q.width/2,f.y-=q.getCenterY()):e==mxConstants.DIRECTION_SOUTH?(f.x-=q.getCenterX(),f.y-=q.getCenterY()-q.height/
+2):e==mxConstants.DIRECTION_WEST&&(f.x-=q.getCenterX()+q.width/2,f.y-=q.getCenterY()))))));return f};Sidebar.prototype.isDropStyleEnabled=function(a,b){var e=!0;null!=b&&1==a.length&&(a=this.graph.getCellStyle(a[b]),null!=a&&(e=mxUtils.getValue(a,mxConstants.STYLE_STROKECOLOR,mxConstants.NONE)!=mxConstants.NONE||mxUtils.getValue(a,mxConstants.STYLE_FILLCOLOR,mxConstants.NONE)!=mxConstants.NONE));return e};
Sidebar.prototype.isDropStyleTargetIgnored=function(a){return this.graph.isSwimlane(a.cell)||this.graph.isTableCell(a.cell)||this.graph.isTableRow(a.cell)||this.graph.isTable(a.cell)};Sidebar.prototype.disablePointerEvents=function(a){mxUtils.visitNodes(a,mxUtils.bind(this,function(b){b.nodeType==mxConstants.NODETYPE_ELEMENT&&(b.style.pointerEvents="none",b.removeAttribute("pointer-events"))}))};
-Sidebar.prototype.createDragSource=function(a,b,d,e,g,f){function h(ma,Fa){var Ia=mxUtils.createImage(ma.src);Ia.style.width=ma.width+"px";Ia.style.height=ma.height+"px";null!=Fa&&Ia.setAttribute("title",Fa);mxUtils.setOpacity(Ia,ma==this.refreshTarget?30:20);Ia.style.position="absolute";Ia.style.cursor="crosshair";return Ia}function n(ma,Fa,Ia,Oa){null!=Oa.parentNode&&(mxUtils.contains(Ia,ma,Fa)?(mxUtils.setOpacity(Oa,100),W=Oa):mxUtils.setOpacity(Oa,Oa==U?30:20));return Ia}var q=this.editorUi,l=
-q.editor.graph,p=null,w=null,z=this;f=0;for(var C=this.livePreview,F=0;F<e.length&&C;F++)f+=l.model.getDescendants(e[F]).length,C=f<l.graphHandler.maxLivePreview;for(F=0;F<e.length&&(null==w&&l.model.isVertex(e[F])?w=F:null==p&&l.model.isEdge(e[F])&&null==l.model.getTerminal(e[F],!0)&&(p=F),null==w||null==p);F++);var D=this.isDropStyleEnabled(e,w),G=mxUtils.makeDraggable(a,l,mxUtils.bind(this,function(ma,Fa,Ia,Oa,Ra){null!=this.updateThread&&window.clearTimeout(this.updateThread);if(null!=e&&null!=
-H&&W==U){var Ma=ma.isCellSelected(H.cell)?ma.getSelectionCells():[H.cell];ma.updateShapes(ma.model.isEdge(H.cell)?e[0]:e[w],Ma,!0);ma.setSelectionCells(Ma)}else null!=e&&null!=W&&null!=I&&W!=U?(Ma=ma.model.isEdge(I.cell)||null==p?w:p,ma.setSelectionCells(this.dropAndConnect(I.cell,e,P,Ma,Fa,w,p))):b.apply(this,arguments);null!=this.editorUi.hoverIcons&&this.editorUi.hoverIcons.update(ma.view.getState(ma.getSelectionCell()))}),d,0,0,l.autoscroll,!0,!0);C&&(G.createDragElement=mxUtils.bind(this,function(){return G.createPreviewElement(this.graph)}),
-G.createPreviewElement=mxUtils.bind(this,function(ma){var Fa=document.createElement("a");Fa.className="geItem";Fa.style.overflow="visible";ma=ma.view.scale;Fa.style.width=ma*Math.max(1,g.width)+"px";Fa.style.height=ma*Math.max(1,g.height)+"px";mxUtils.setOpacity(Fa,50);var Ia=l.cloneCells(e);this.graph.pasteCellStyles(l.includeDescendants(Ia),l.currentVertexStyle,l.currentEdgeStyle,null,l.pasteEdgeStyle);z.createThumb(Ia,ma*Math.max(1,g.width),ma*Math.max(1,g.height),Fa,null,null,null,null,null,l.shapeBackgroundColor,
-0,ma);return Fa}));var K=G.mouseDown;G.mouseDown=function(ma){mxEvent.isPopupTrigger(ma)||mxEvent.isMultiTouchEvent(ma)||l.isCellLocked(l.getDefaultParent())||(l.stopEditing(),K.apply(this,arguments))};var I=null,O=null,H=null,Z=!1,S=h(this.triangleUp,mxResources.get("connect")),X=h(this.triangleRight,mxResources.get("connect")),Y=h(this.triangleDown,mxResources.get("connect")),M=h(this.triangleLeft,mxResources.get("connect")),U=h(this.refreshTarget,mxResources.get("replace")),ba=null,ja=h(this.roundDrop),
-pa=h(this.roundDrop),P=mxConstants.DIRECTION_NORTH,W=null,V=G.createPreviewElement;G.createPreviewElement=function(ma){var Fa=V.apply(this,arguments);mxClient.IS_SVG&&(Fa.style.pointerEvents="none");this.previewElementWidth=Fa.style.width;this.previewElementHeight=Fa.style.height;return Fa};var ca=G.dragEnter;G.dragEnter=function(ma,Fa){null!=q.hoverIcons&&q.hoverIcons.setDisplay("none");ca.apply(this,arguments)};var ra=G.dragExit;G.dragExit=function(ma,Fa){null!=q.hoverIcons&&q.hoverIcons.setDisplay("");
-ra.apply(this,arguments)};G.dragOver=function(ma,Fa){mxDragSource.prototype.dragOver.apply(this,arguments);null!=this.currentGuide&&null!=W&&this.currentGuide.hide();if(null!=this.previewElement){q.hideShapePicker();var Ia=ma.view;if(null!=H&&W==U)this.previewElement.style.display="none";else if(null!=I&&null!=W){null!=G.currentHighlight&&null!=G.currentHighlight.state&&G.currentHighlight.hide();var Oa=ma.model.isEdge(I.cell)||null!=w?w:p,Ra=z.getDropAndConnectGeometry(I.cell,e[Oa],P,e),Ma=ma.model.isEdge(I.cell)?
-null:ma.getCellGeometry(I.cell),Na=ma.getCellGeometry(e[Oa]),ta=ma.model.getParent(I.cell),Pa=Ia.translate.x*Ia.scale,$a=Ia.translate.y*Ia.scale;null!=Ma&&!Ma.relative&&ma.model.isVertex(ta)&&ta!=Ia.currentRoot&&($a=Ia.getState(ta),Pa=$a.x,$a=$a.y);Ma=Na.x;Na=Na.y;ma.model.isEdge(e[Oa])&&(Na=Ma=0);this.previewElement.style.left=(Ra.x-Ma)*Ia.scale+Pa+"px";this.previewElement.style.top=(Ra.y-Na)*Ia.scale+$a+"px";1==e.length&&(this.previewElement.style.width=Ra.width*Ia.scale+"px",this.previewElement.style.height=
-Ra.height*Ia.scale+"px",null!=this.previewElement.firstChild&&(this.previewElement.firstChild.style.display="none",this.previewElement.className="geDragPreview",mxUtils.setOpacity(this.previewElement,100)));this.previewElement.style.display=""}else null!=G.currentHighlight&&null!=G.currentHighlight.state&&ma.model.isEdge(G.currentHighlight.state.cell)?(this.previewElement.style.left=Math.round(parseInt(this.previewElement.style.left)-g.width*Ia.scale/2)+"px",this.previewElement.style.top=Math.round(parseInt(this.previewElement.style.top)-
-g.height*Ia.scale/2)+"px"):(this.previewElement.style.width=this.previewElementWidth,this.previewElement.style.height=this.previewElementHeight,this.previewElement.style.display="",null!=this.previewElement.firstChild&&(this.previewElement.firstChild.style.display="",mxUtils.setOpacity(this.previewElement,50),this.previewElement.className=""))}};var oa=(new Date).getTime(),L=0,ea=null,sa=this.editorUi.editor.graph.getCellStyle(e[0]);G.getDropTarget=mxUtils.bind(this,function(ma,Fa,Ia,Oa){var Ra=mxEvent.isAltDown(Oa)||
-null==e?null:ma.getCellAt(Fa,Ia,null,null,null,function($a,gb,cb){return ma.isContainer($a.cell)&&"0"!=mxUtils.getValue($a.style,"dropTarget","1")});if(null!=Ra&&!this.graph.isCellConnectable(Ra)&&!this.graph.model.isEdge(Ra)){var Ma=this.graph.getModel().getParent(Ra);this.graph.getModel().isVertex(Ma)&&this.graph.isCellConnectable(Ma)&&(Ra=Ma)}ma.isCellLocked(Ra)&&(Ra=null);var Na=ma.view.getState(Ra);Ma=W=null;ea!=Na?(oa=(new Date).getTime(),L=0,ea=Na,null!=this.updateThread&&window.clearTimeout(this.updateThread),
-null!=Na&&(this.updateThread=window.setTimeout(function(){null==W&&(ea=Na,G.getDropTarget(ma,Fa,Ia,Oa))},this.dropTargetDelay+10))):L=(new Date).getTime()-oa;if(D&&2500>L&&null!=Na&&!mxEvent.isShiftDown(Oa)&&(mxUtils.getValue(Na.style,mxConstants.STYLE_SHAPE)!=mxUtils.getValue(sa,mxConstants.STYLE_SHAPE)&&(mxUtils.getValue(Na.style,mxConstants.STYLE_STROKECOLOR,mxConstants.NONE)!=mxConstants.NONE||mxUtils.getValue(Na.style,mxConstants.STYLE_FILLCOLOR,mxConstants.NONE)!=mxConstants.NONE||mxUtils.getValue(Na.style,
-mxConstants.STYLE_GRADIENTCOLOR,mxConstants.NONE)!=mxConstants.NONE)||"image"==mxUtils.getValue(sa,mxConstants.STYLE_SHAPE)||1500<L||ma.model.isEdge(Na.cell))&&L>this.dropTargetDelay&&!this.isDropStyleTargetIgnored(Na)&&(ma.model.isVertex(Na.cell)&&null!=w||ma.model.isEdge(Na.cell)&&ma.model.isEdge(e[0]))){if(ma.isCellEditable(Na.cell)){H=Na;var ta=ma.model.isEdge(Na.cell)?ma.view.getPoint(Na):new mxPoint(Na.getCenterX(),Na.getCenterY());ta=new mxRectangle(ta.x-this.refreshTarget.width/2,ta.y-this.refreshTarget.height/
-2,this.refreshTarget.width,this.refreshTarget.height);U.style.left=Math.floor(ta.x)+"px";U.style.top=Math.floor(ta.y)+"px";null==ba&&(ma.container.appendChild(U),ba=U.parentNode);n(Fa,Ia,ta,U)}}else null==H||!mxUtils.contains(H,Fa,Ia)||1500<L&&!mxEvent.isShiftDown(Oa)?(H=null,null!=ba&&(U.parentNode.removeChild(U),ba=null)):null!=H&&null!=ba&&(ta=ma.model.isEdge(H.cell)?ma.view.getPoint(H):new mxPoint(H.getCenterX(),H.getCenterY()),ta=new mxRectangle(ta.x-this.refreshTarget.width/2,ta.y-this.refreshTarget.height/
-2,this.refreshTarget.width,this.refreshTarget.height),n(Fa,Ia,ta,U));if(Z&&null!=I&&!mxEvent.isAltDown(Oa)&&null==W){Ma=mxRectangle.fromRectangle(I);if(ma.model.isEdge(I.cell)){var Pa=I.absolutePoints;null!=ja.parentNode&&(ta=Pa[0],Ma.add(n(Fa,Ia,new mxRectangle(ta.x-this.roundDrop.width/2,ta.y-this.roundDrop.height/2,this.roundDrop.width,this.roundDrop.height),ja)));null!=pa.parentNode&&(Pa=Pa[Pa.length-1],Ma.add(n(Fa,Ia,new mxRectangle(Pa.x-this.roundDrop.width/2,Pa.y-this.roundDrop.height/2,this.roundDrop.width,
-this.roundDrop.height),pa)))}else ta=mxRectangle.fromRectangle(I),null!=I.shape&&null!=I.shape.boundingBox&&(ta=mxRectangle.fromRectangle(I.shape.boundingBox)),ta.grow(this.graph.tolerance),ta.grow(HoverIcons.prototype.arrowSpacing),Pa=this.graph.selectionCellsHandler.getHandler(I.cell),null!=Pa&&(ta.x-=Pa.horizontalOffset/2,ta.y-=Pa.verticalOffset/2,ta.width+=Pa.horizontalOffset,ta.height+=Pa.verticalOffset,null!=Pa.rotationShape&&null!=Pa.rotationShape.node&&"hidden"!=Pa.rotationShape.node.style.visibility&&
-"none"!=Pa.rotationShape.node.style.display&&null!=Pa.rotationShape.boundingBox&&ta.add(Pa.rotationShape.boundingBox)),Ma.add(n(Fa,Ia,new mxRectangle(I.getCenterX()-this.triangleUp.width/2,ta.y-this.triangleUp.height,this.triangleUp.width,this.triangleUp.height),S)),Ma.add(n(Fa,Ia,new mxRectangle(ta.x+ta.width,I.getCenterY()-this.triangleRight.height/2,this.triangleRight.width,this.triangleRight.height),X)),Ma.add(n(Fa,Ia,new mxRectangle(I.getCenterX()-this.triangleDown.width/2,ta.y+ta.height,this.triangleDown.width,
-this.triangleDown.height),Y)),Ma.add(n(Fa,Ia,new mxRectangle(ta.x-this.triangleLeft.width,I.getCenterY()-this.triangleLeft.height/2,this.triangleLeft.width,this.triangleLeft.height),M));null!=Ma&&Ma.grow(10)}P=mxConstants.DIRECTION_NORTH;W==X?P=mxConstants.DIRECTION_EAST:W==Y||W==pa?P=mxConstants.DIRECTION_SOUTH:W==M&&(P=mxConstants.DIRECTION_WEST);null!=H&&W==U&&(Na=H);ta=(null==w||ma.isCellConnectable(e[w]))&&(ma.model.isEdge(Ra)&&null!=w||ma.model.isVertex(Ra)&&ma.isCellConnectable(Ra));if(null!=
-I&&5E3<=L||I!=Na&&(null==Ma||!mxUtils.contains(Ma,Fa,Ia)||500<L&&null==W&&ta))if(Z=!1,I=5E3>L&&L>this.dropTargetDelay||ma.model.isEdge(Ra)?Na:null,null!=I&&ta){Ma=[ja,pa,S,X,Y,M];for(ta=0;ta<Ma.length;ta++)null!=Ma[ta].parentNode&&Ma[ta].parentNode.removeChild(Ma[ta]);ma.model.isEdge(Ra)?(Pa=Na.absolutePoints,null!=Pa&&(ta=Pa[0],Pa=Pa[Pa.length-1],ja.style.left=Math.floor(ta.x-this.roundDrop.width/2)+"px",ja.style.top=Math.floor(ta.y-this.roundDrop.height/2)+"px",pa.style.left=Math.floor(Pa.x-this.roundDrop.width/
-2)+"px",pa.style.top=Math.floor(Pa.y-this.roundDrop.height/2)+"px",null==ma.model.getTerminal(Ra,!0)&&ma.container.appendChild(ja),null==ma.model.getTerminal(Ra,!1)&&ma.container.appendChild(pa))):(ta=mxRectangle.fromRectangle(Na),null!=Na.shape&&null!=Na.shape.boundingBox&&(ta=mxRectangle.fromRectangle(Na.shape.boundingBox)),ta.grow(this.graph.tolerance),ta.grow(HoverIcons.prototype.arrowSpacing),Pa=this.graph.selectionCellsHandler.getHandler(Na.cell),null!=Pa&&(ta.x-=Pa.horizontalOffset/2,ta.y-=
-Pa.verticalOffset/2,ta.width+=Pa.horizontalOffset,ta.height+=Pa.verticalOffset,null!=Pa.rotationShape&&null!=Pa.rotationShape.node&&"hidden"!=Pa.rotationShape.node.style.visibility&&"none"!=Pa.rotationShape.node.style.display&&null!=Pa.rotationShape.boundingBox&&ta.add(Pa.rotationShape.boundingBox)),S.style.left=Math.floor(Na.getCenterX()-this.triangleUp.width/2)+"px",S.style.top=Math.floor(ta.y-this.triangleUp.height)+"px",X.style.left=Math.floor(ta.x+ta.width)+"px",X.style.top=Math.floor(Na.getCenterY()-
-this.triangleRight.height/2)+"px",Y.style.left=S.style.left,Y.style.top=Math.floor(ta.y+ta.height)+"px",M.style.left=Math.floor(ta.x-this.triangleLeft.width)+"px",M.style.top=X.style.top,"eastwest"!=Na.style.portConstraint&&(ma.container.appendChild(S),ma.container.appendChild(Y)),ma.container.appendChild(X),ma.container.appendChild(M));null!=Na&&(O=ma.selectionCellsHandler.getHandler(Na.cell),null!=O&&null!=O.setHandlesVisible&&O.setHandlesVisible(!1));Z=!0}else for(Ma=[ja,pa,S,X,Y,M],ta=0;ta<Ma.length;ta++)null!=
-Ma[ta].parentNode&&Ma[ta].parentNode.removeChild(Ma[ta]);Z||null==O||O.setHandlesVisible(!0);Ra=mxEvent.isAltDown(Oa)&&!mxEvent.isShiftDown(Oa)||null!=H&&W==U?null:mxDragSource.prototype.getDropTarget.apply(this,arguments);null==Ra||null==W&&ma.isSplitTarget(Ra,e,Oa)||(Ra=ma.getDropTarget(e,Oa,Ra,!0));return Ra});var va=G.startDrag;G.startDrag=function(ma){z.activeDragSource=this;va.apply(this,arguments)};var Ua=G.stopDrag;G.stopDrag=function(){Ua.apply(this,arguments);for(var ma=[ja,pa,U,S,X,Y,M],
-Fa=0;Fa<ma.length;Fa++)null!=ma[Fa].parentNode&&ma[Fa].parentNode.removeChild(ma[Fa]);null!=I&&null!=O&&O.reset();W=ba=H=I=O=z.activeDragSource=null};return G};
-Sidebar.prototype.itemClicked=function(a,b,d,e){e=this.editorUi.editor.graph;e.container.focus();if(mxEvent.isAltDown(d)&&1==e.getSelectionCount()&&e.model.isVertex(e.getSelectionCell())){b=null;for(var g=0;g<a.length&&null==b;g++)e.model.isVertex(a[g])&&(b=g);null!=b&&(e.setSelectionCells(this.dropAndConnect(e.getSelectionCell(),a,mxEvent.isMetaDown(d)||mxEvent.isControlDown(d)?mxEvent.isShiftDown(d)?mxConstants.DIRECTION_WEST:mxConstants.DIRECTION_NORTH:mxEvent.isShiftDown(d)?mxConstants.DIRECTION_EAST:
-mxConstants.DIRECTION_SOUTH,b,d)),e.scrollCellToVisible(e.getSelectionCell()))}else mxEvent.isShiftDown(d)&&!e.isSelectionEmpty()?(d=e.getEditableCells(e.getSelectionCells()),e.updateShapes(a[0],d,!0),e.scrollCellToVisible(d)):(a=mxEvent.isAltDown(d)?e.getFreeInsertPoint():e.getCenterInsertPoint(e.getBoundingBoxFromGeometry(a,!0)),b.drop(e,d,null,a.x,a.y,!0))};
-Sidebar.prototype.addClickHandler=function(a,b,d,e){var g=b.getGraphForEvent,f=b.mouseDown,h=b.mouseMove,n=b.mouseUp,q=this.editorUi.editor.graph.tolerance,l=!1,p=null,w=this,z=null;b.getGraphForEvent=function(C){return l?g.apply(this,arguments):null};b.mouseDown=function(C){f.apply(this,arguments);p=new mxPoint(mxEvent.getClientX(C),mxEvent.getClientY(C));z=a.style.opacity;l=!1;""==z&&(z="1");null!=this.dragElement&&(this.dragElement.style.display="none",mxUtils.setOpacity(a,50))};b.mouseMove=function(C){(l=
-null!=p&&(Math.abs(p.x-mxEvent.getClientX(C))>q||Math.abs(p.y-mxEvent.getClientY(C))>q))&&null!=this.dragElement&&"none"==this.dragElement.style.display&&(this.dragElement.style.display="",mxUtils.setOpacity(a,100*z));h.apply(this,arguments)};b.mouseUp=function(C){try{mxEvent.isPopupTrigger(C)||null!=this.currentGraph||null==this.dragElement||"none"!=this.dragElement.style.display||(null!=e&&e(C),mxEvent.isConsumed(C)||w.itemClicked(d,b,C,a)),n.apply(b,arguments),mxUtils.setOpacity(a,100*z),p=null,
-w.currentElt=a}catch(F){b.reset(),w.editorUi.handleError(F)}}};Sidebar.prototype.createVertexTemplateEntry=function(a,b,d,e,g,f,h,n){null!=n&&null!=g&&(n+=" "+g);n=null!=n&&0<n.length?n:null!=g?g.toLowerCase():"";return this.addEntry(n,mxUtils.bind(this,function(){return this.createVertexTemplate(a,b,d,e,g,f,h)}))};
-Sidebar.prototype.createVertexTemplate=function(a,b,d,e,g,f,h,n,q,l,p,w,z,C){a=[new mxCell(null!=e?e:"",new mxGeometry(0,0,b,d),a)];a[0].vertex=!0;return this.createVertexTemplateFromCells(a,b,d,g,f,h,n,q,l,p,w,z,C)};
-Sidebar.prototype.createVertexTemplateFromData=function(a,b,d,e,g,f,h,n){var q=null;try{var l=mxUtils.parseXml(Graph.decompress(a)),p=new mxCodec(l),w=new mxGraphModel;p.decode(l.documentElement,w);q=this.graph.cloneCells(w.root.getChildAt(0).children)}catch(z){e=mxResources.get("error")+": "+z.message}return this.createVertexTemplateFromCells(q,b,d,e,g,f,h,n)};Sidebar.prototype.createVertexTemplateFromCells=function(a,b,d,e,g,f,h,n,q,l,p,w,z,C){return this.createItem(a,e,g,f,b,d,h,n,q,l,p,w,z,C)};
-Sidebar.prototype.createEdgeTemplateEntry=function(a,b,d,e,g,f,h,n,q){h=null!=h&&0<h.length?h:g.toLowerCase();return this.addEntry(h,mxUtils.bind(this,function(){return this.createEdgeTemplate(a,b,d,e,g,f,n,q)}))};
-Sidebar.prototype.createEdgeTemplate=function(a,b,d,e,g,f,h,n){a=new mxCell(null!=e?e:"",new mxGeometry(0,0,b,d),a);a.geometry.setTerminalPoint(new mxPoint(0,d),!0);a.geometry.setTerminalPoint(new mxPoint(b,0),!1);a.geometry.relative=!0;a.edge=!0;return this.createEdgeTemplateFromCells([a],b,d,g,f,h,n)};Sidebar.prototype.createEdgeTemplateFromCells=function(a,b,d,e,g,f,h,n,q,l,p,w){return this.createItem(a,e,g,null!=n?n:!0,b,d,f,h,q,l,p,w)};
-Sidebar.prototype.addPaletteFunctions=function(a,b,d,e){this.addPalette(a,b,d,mxUtils.bind(this,function(g){for(var f=0;f<e.length;f++)g.appendChild(e[f](g))}))};
-Sidebar.prototype.addPalette=function(a,b,d,e){b=this.createTitle(b);this.appendChild(b);var g=document.createElement("div");g.className="geSidebar";mxClient.IS_POINTER&&(g.style.touchAction="none");d&&this.expandLibraries?(e(g),e=null):g.style.display="none";this.addFoldingHandler(b,g,e);d=document.createElement("div");d.appendChild(g);this.appendChild(d);null!=a&&(this.palettes[a]=[b,d]);return g};
-Sidebar.prototype.addFoldingHandler=function(a,b,d){var e=!1;if(!mxClient.IS_IE||8<=document.documentMode)a.style.backgroundImage="none"==b.style.display?"url('"+this.collapsedImage+"')":"url('"+this.expandedImage+"')";a.style.backgroundRepeat="no-repeat";a.style.backgroundPosition="4px 50%";mxEvent.addListener(a,"click",mxUtils.bind(this,function(g){if(a.contains(mxEvent.getSource(g))){if("none"==b.style.display){if(e)this.setContentVisible(b,!0);else if(e=!0,null!=d){a.style.cursor="wait";for(var f=
-[],h=0;h<a.children.length;h++)f.push(a.children[h]);a.innerHTML=mxResources.get("loading")+"...";window.setTimeout(mxUtils.bind(this,function(){this.setContentVisible(b,!0);a.style.cursor="";a.innerHTML="";for(var n=0;n<f.length;n++)a.appendChild(f[n]);n=mxClient.NO_FO;mxClient.NO_FO=Editor.prototype.originalNoForeignObject;d(b,a);mxClient.NO_FO=n}),mxClient.IS_FF?20:0)}else this.setContentVisible(b,!0);a.style.backgroundImage="url('"+this.expandedImage+"')"}else a.style.backgroundImage="url('"+
-this.collapsedImage+"')",this.setContentVisible(b,!1);mxEvent.consume(g)}}));mxEvent.addListener(a,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(g){g.preventDefault()}))};
+Sidebar.prototype.createDragSource=function(a,b,e,f,h,d){function g(ma,Fa){var Ha=mxUtils.createImage(ma.src);Ha.style.width=ma.width+"px";Ha.style.height=ma.height+"px";null!=Fa&&Ha.setAttribute("title",Fa);mxUtils.setOpacity(Ha,ma==this.refreshTarget?30:20);Ha.style.position="absolute";Ha.style.cursor="crosshair";return Ha}function n(ma,Fa,Ha,Na){null!=Na.parentNode&&(mxUtils.contains(Ha,ma,Fa)?(mxUtils.setOpacity(Na,100),T=Na):mxUtils.setOpacity(Na,Na==U?30:20));return Ha}var q=this.editorUi,k=
+q.editor.graph,p=null,w=null,z=this;d=0;for(var C=this.livePreview,F=0;F<f.length&&C;F++)d+=k.model.getDescendants(f[F]).length,C=d<k.graphHandler.maxLivePreview;for(F=0;F<f.length&&(null==w&&k.model.isVertex(f[F])?w=F:null==p&&k.model.isEdge(f[F])&&null==k.model.getTerminal(f[F],!0)&&(p=F),null==w||null==p);F++);var D=this.isDropStyleEnabled(f,w),H=mxUtils.makeDraggable(a,k,mxUtils.bind(this,function(ma,Fa,Ha,Na,Qa){null!=this.updateThread&&window.clearTimeout(this.updateThread);if(null!=f&&null!=
+I&&T==U){var La=ma.isCellSelected(I.cell)?ma.getSelectionCells():[I.cell];ma.updateShapes(ma.model.isEdge(I.cell)?f[0]:f[w],La,!0);ma.setSelectionCells(La)}else null!=f&&null!=T&&null!=G&&T!=U?(La=ma.model.isEdge(G.cell)||null==p?w:p,ma.setSelectionCells(this.dropAndConnect(G.cell,f,O,La,Fa,w,p))):b.apply(this,arguments);null!=this.editorUi.hoverIcons&&this.editorUi.hoverIcons.update(ma.view.getState(ma.getSelectionCell()))}),e,0,0,k.autoscroll,!0,!0);C&&(H.createDragElement=mxUtils.bind(this,function(){return H.createPreviewElement(this.graph)}),
+H.createPreviewElement=mxUtils.bind(this,function(ma){var Fa=document.createElement("a");Fa.className="geItem";Fa.style.overflow="visible";ma=ma.view.scale;Fa.style.width=ma*Math.max(1,h.width)+"px";Fa.style.height=ma*Math.max(1,h.height)+"px";mxUtils.setOpacity(Fa,50);var Ha=k.cloneCells(f);this.graph.pasteCellStyles(k.includeDescendants(Ha),k.currentVertexStyle,k.currentEdgeStyle,null,k.pasteEdgeStyle);z.createThumb(Ha,ma*Math.max(1,h.width),ma*Math.max(1,h.height),Fa,null,null,null,null,null,k.shapeBackgroundColor,
+0,ma);return Fa}));var K=H.mouseDown;H.mouseDown=function(ma){mxEvent.isPopupTrigger(ma)||mxEvent.isMultiTouchEvent(ma)||k.isCellLocked(k.getDefaultParent())||(k.stopEditing(),K.apply(this,arguments))};var G=null,P=null,I=null,Z=!1,S=g(this.triangleUp,mxResources.get("connect")),Y=g(this.triangleRight,mxResources.get("connect")),V=g(this.triangleDown,mxResources.get("connect")),L=g(this.triangleLeft,mxResources.get("connect")),U=g(this.refreshTarget,mxResources.get("replace")),ba=null,ja=g(this.roundDrop),
+sa=g(this.roundDrop),O=mxConstants.DIRECTION_NORTH,T=null,X=H.createPreviewElement;H.createPreviewElement=function(ma){var Fa=X.apply(this,arguments);mxClient.IS_SVG&&(Fa.style.pointerEvents="none");this.previewElementWidth=Fa.style.width;this.previewElementHeight=Fa.style.height;return Fa};var ca=H.dragEnter;H.dragEnter=function(ma,Fa){null!=q.hoverIcons&&q.hoverIcons.setDisplay("none");ca.apply(this,arguments)};var na=H.dragExit;H.dragExit=function(ma,Fa){null!=q.hoverIcons&&q.hoverIcons.setDisplay("");
+na.apply(this,arguments)};H.dragOver=function(ma,Fa){mxDragSource.prototype.dragOver.apply(this,arguments);null!=this.currentGuide&&null!=T&&this.currentGuide.hide();if(null!=this.previewElement){q.hideShapePicker();var Ha=ma.view;if(null!=I&&T==U)this.previewElement.style.display="none";else if(null!=G&&null!=T){null!=H.currentHighlight&&null!=H.currentHighlight.state&&H.currentHighlight.hide();var Na=ma.model.isEdge(G.cell)||null!=w?w:p,Qa=z.getDropAndConnectGeometry(G.cell,f[Na],O,f),La=ma.model.isEdge(G.cell)?
+null:ma.getCellGeometry(G.cell),Ja=ma.getCellGeometry(f[Na]),ua=ma.model.getParent(G.cell),Ia=Ha.translate.x*Ha.scale,Za=Ha.translate.y*Ha.scale;null!=La&&!La.relative&&ma.model.isVertex(ua)&&ua!=Ha.currentRoot&&(Za=Ha.getState(ua),Ia=Za.x,Za=Za.y);La=Ja.x;Ja=Ja.y;ma.model.isEdge(f[Na])&&(Ja=La=0);this.previewElement.style.left=(Qa.x-La)*Ha.scale+Ia+"px";this.previewElement.style.top=(Qa.y-Ja)*Ha.scale+Za+"px";1==f.length&&(this.previewElement.style.width=Qa.width*Ha.scale+"px",this.previewElement.style.height=
+Qa.height*Ha.scale+"px",null!=this.previewElement.firstChild&&(this.previewElement.firstChild.style.display="none",this.previewElement.className="geDragPreview",mxUtils.setOpacity(this.previewElement,100)));this.previewElement.style.display=""}else null!=H.currentHighlight&&null!=H.currentHighlight.state&&ma.model.isEdge(H.currentHighlight.state.cell)?(this.previewElement.style.left=Math.round(parseInt(this.previewElement.style.left)-h.width*Ha.scale/2)+"px",this.previewElement.style.top=Math.round(parseInt(this.previewElement.style.top)-
+h.height*Ha.scale/2)+"px"):(this.previewElement.style.width=this.previewElementWidth,this.previewElement.style.height=this.previewElementHeight,this.previewElement.style.display="",null!=this.previewElement.firstChild&&(this.previewElement.firstChild.style.display="",mxUtils.setOpacity(this.previewElement,50),this.previewElement.className=""))}};var pa=(new Date).getTime(),M=0,ea=null,ra=this.editorUi.editor.graph.getCellStyle(f[0]);H.getDropTarget=mxUtils.bind(this,function(ma,Fa,Ha,Na){var Qa=mxEvent.isAltDown(Na)||
+null==f?null:ma.getCellAt(Fa,Ha,null,null,null,function(Za,gb,db){return ma.isContainer(Za.cell)&&"0"!=mxUtils.getValue(Za.style,"dropTarget","1")});if(null!=Qa&&!this.graph.isCellConnectable(Qa)&&!this.graph.model.isEdge(Qa)){var La=this.graph.getModel().getParent(Qa);this.graph.getModel().isVertex(La)&&this.graph.isCellConnectable(La)&&(Qa=La)}ma.isCellLocked(Qa)&&(Qa=null);var Ja=ma.view.getState(Qa);La=T=null;ea!=Ja?(pa=(new Date).getTime(),M=0,ea=Ja,null!=this.updateThread&&window.clearTimeout(this.updateThread),
+null!=Ja&&(this.updateThread=window.setTimeout(function(){null==T&&(ea=Ja,H.getDropTarget(ma,Fa,Ha,Na))},this.dropTargetDelay+10))):M=(new Date).getTime()-pa;if(D&&2500>M&&null!=Ja&&!mxEvent.isShiftDown(Na)&&(mxUtils.getValue(Ja.style,mxConstants.STYLE_SHAPE)!=mxUtils.getValue(ra,mxConstants.STYLE_SHAPE)&&(mxUtils.getValue(Ja.style,mxConstants.STYLE_STROKECOLOR,mxConstants.NONE)!=mxConstants.NONE||mxUtils.getValue(Ja.style,mxConstants.STYLE_FILLCOLOR,mxConstants.NONE)!=mxConstants.NONE||mxUtils.getValue(Ja.style,
+mxConstants.STYLE_GRADIENTCOLOR,mxConstants.NONE)!=mxConstants.NONE)||"image"==mxUtils.getValue(ra,mxConstants.STYLE_SHAPE)||1500<M||ma.model.isEdge(Ja.cell))&&M>this.dropTargetDelay&&!this.isDropStyleTargetIgnored(Ja)&&(ma.model.isVertex(Ja.cell)&&null!=w||ma.model.isEdge(Ja.cell)&&ma.model.isEdge(f[0]))){if(ma.isCellEditable(Ja.cell)){I=Ja;var ua=ma.model.isEdge(Ja.cell)?ma.view.getPoint(Ja):new mxPoint(Ja.getCenterX(),Ja.getCenterY());ua=new mxRectangle(ua.x-this.refreshTarget.width/2,ua.y-this.refreshTarget.height/
+2,this.refreshTarget.width,this.refreshTarget.height);U.style.left=Math.floor(ua.x)+"px";U.style.top=Math.floor(ua.y)+"px";null==ba&&(ma.container.appendChild(U),ba=U.parentNode);n(Fa,Ha,ua,U)}}else null==I||!mxUtils.contains(I,Fa,Ha)||1500<M&&!mxEvent.isShiftDown(Na)?(I=null,null!=ba&&(U.parentNode.removeChild(U),ba=null)):null!=I&&null!=ba&&(ua=ma.model.isEdge(I.cell)?ma.view.getPoint(I):new mxPoint(I.getCenterX(),I.getCenterY()),ua=new mxRectangle(ua.x-this.refreshTarget.width/2,ua.y-this.refreshTarget.height/
+2,this.refreshTarget.width,this.refreshTarget.height),n(Fa,Ha,ua,U));if(Z&&null!=G&&!mxEvent.isAltDown(Na)&&null==T){La=mxRectangle.fromRectangle(G);if(ma.model.isEdge(G.cell)){var Ia=G.absolutePoints;null!=ja.parentNode&&(ua=Ia[0],La.add(n(Fa,Ha,new mxRectangle(ua.x-this.roundDrop.width/2,ua.y-this.roundDrop.height/2,this.roundDrop.width,this.roundDrop.height),ja)));null!=sa.parentNode&&(Ia=Ia[Ia.length-1],La.add(n(Fa,Ha,new mxRectangle(Ia.x-this.roundDrop.width/2,Ia.y-this.roundDrop.height/2,this.roundDrop.width,
+this.roundDrop.height),sa)))}else ua=mxRectangle.fromRectangle(G),null!=G.shape&&null!=G.shape.boundingBox&&(ua=mxRectangle.fromRectangle(G.shape.boundingBox)),ua.grow(this.graph.tolerance),ua.grow(HoverIcons.prototype.arrowSpacing),Ia=this.graph.selectionCellsHandler.getHandler(G.cell),null!=Ia&&(ua.x-=Ia.horizontalOffset/2,ua.y-=Ia.verticalOffset/2,ua.width+=Ia.horizontalOffset,ua.height+=Ia.verticalOffset,null!=Ia.rotationShape&&null!=Ia.rotationShape.node&&"hidden"!=Ia.rotationShape.node.style.visibility&&
+"none"!=Ia.rotationShape.node.style.display&&null!=Ia.rotationShape.boundingBox&&ua.add(Ia.rotationShape.boundingBox)),La.add(n(Fa,Ha,new mxRectangle(G.getCenterX()-this.triangleUp.width/2,ua.y-this.triangleUp.height,this.triangleUp.width,this.triangleUp.height),S)),La.add(n(Fa,Ha,new mxRectangle(ua.x+ua.width,G.getCenterY()-this.triangleRight.height/2,this.triangleRight.width,this.triangleRight.height),Y)),La.add(n(Fa,Ha,new mxRectangle(G.getCenterX()-this.triangleDown.width/2,ua.y+ua.height,this.triangleDown.width,
+this.triangleDown.height),V)),La.add(n(Fa,Ha,new mxRectangle(ua.x-this.triangleLeft.width,G.getCenterY()-this.triangleLeft.height/2,this.triangleLeft.width,this.triangleLeft.height),L));null!=La&&La.grow(10)}O=mxConstants.DIRECTION_NORTH;T==Y?O=mxConstants.DIRECTION_EAST:T==V||T==sa?O=mxConstants.DIRECTION_SOUTH:T==L&&(O=mxConstants.DIRECTION_WEST);null!=I&&T==U&&(Ja=I);ua=(null==w||ma.isCellConnectable(f[w]))&&(ma.model.isEdge(Qa)&&null!=w||ma.model.isVertex(Qa)&&ma.isCellConnectable(Qa));if(null!=
+G&&5E3<=M||G!=Ja&&(null==La||!mxUtils.contains(La,Fa,Ha)||500<M&&null==T&&ua))if(Z=!1,G=5E3>M&&M>this.dropTargetDelay||ma.model.isEdge(Qa)?Ja:null,null!=G&&ua){La=[ja,sa,S,Y,V,L];for(ua=0;ua<La.length;ua++)null!=La[ua].parentNode&&La[ua].parentNode.removeChild(La[ua]);ma.model.isEdge(Qa)?(Ia=Ja.absolutePoints,null!=Ia&&(ua=Ia[0],Ia=Ia[Ia.length-1],ja.style.left=Math.floor(ua.x-this.roundDrop.width/2)+"px",ja.style.top=Math.floor(ua.y-this.roundDrop.height/2)+"px",sa.style.left=Math.floor(Ia.x-this.roundDrop.width/
+2)+"px",sa.style.top=Math.floor(Ia.y-this.roundDrop.height/2)+"px",null==ma.model.getTerminal(Qa,!0)&&ma.container.appendChild(ja),null==ma.model.getTerminal(Qa,!1)&&ma.container.appendChild(sa))):(ua=mxRectangle.fromRectangle(Ja),null!=Ja.shape&&null!=Ja.shape.boundingBox&&(ua=mxRectangle.fromRectangle(Ja.shape.boundingBox)),ua.grow(this.graph.tolerance),ua.grow(HoverIcons.prototype.arrowSpacing),Ia=this.graph.selectionCellsHandler.getHandler(Ja.cell),null!=Ia&&(ua.x-=Ia.horizontalOffset/2,ua.y-=
+Ia.verticalOffset/2,ua.width+=Ia.horizontalOffset,ua.height+=Ia.verticalOffset,null!=Ia.rotationShape&&null!=Ia.rotationShape.node&&"hidden"!=Ia.rotationShape.node.style.visibility&&"none"!=Ia.rotationShape.node.style.display&&null!=Ia.rotationShape.boundingBox&&ua.add(Ia.rotationShape.boundingBox)),S.style.left=Math.floor(Ja.getCenterX()-this.triangleUp.width/2)+"px",S.style.top=Math.floor(ua.y-this.triangleUp.height)+"px",Y.style.left=Math.floor(ua.x+ua.width)+"px",Y.style.top=Math.floor(Ja.getCenterY()-
+this.triangleRight.height/2)+"px",V.style.left=S.style.left,V.style.top=Math.floor(ua.y+ua.height)+"px",L.style.left=Math.floor(ua.x-this.triangleLeft.width)+"px",L.style.top=Y.style.top,"eastwest"!=Ja.style.portConstraint&&(ma.container.appendChild(S),ma.container.appendChild(V)),ma.container.appendChild(Y),ma.container.appendChild(L));null!=Ja&&(P=ma.selectionCellsHandler.getHandler(Ja.cell),null!=P&&null!=P.setHandlesVisible&&P.setHandlesVisible(!1));Z=!0}else for(La=[ja,sa,S,Y,V,L],ua=0;ua<La.length;ua++)null!=
+La[ua].parentNode&&La[ua].parentNode.removeChild(La[ua]);Z||null==P||P.setHandlesVisible(!0);Qa=mxEvent.isAltDown(Na)&&!mxEvent.isShiftDown(Na)||null!=I&&T==U?null:mxDragSource.prototype.getDropTarget.apply(this,arguments);null==Qa||null==T&&ma.isSplitTarget(Qa,f,Na)||(Qa=ma.getDropTarget(f,Na,Qa,!0));return Qa});var ta=H.startDrag;H.startDrag=function(ma){z.activeDragSource=this;ta.apply(this,arguments)};var Sa=H.stopDrag;H.stopDrag=function(){Sa.apply(this,arguments);for(var ma=[ja,sa,U,S,Y,V,L],
+Fa=0;Fa<ma.length;Fa++)null!=ma[Fa].parentNode&&ma[Fa].parentNode.removeChild(ma[Fa]);null!=G&&null!=P&&P.reset();T=ba=I=G=P=z.activeDragSource=null};return H};
+Sidebar.prototype.itemClicked=function(a,b,e,f){f=this.editorUi.editor.graph;f.container.focus();if(mxEvent.isAltDown(e)&&1==f.getSelectionCount()&&f.model.isVertex(f.getSelectionCell())){b=null;for(var h=0;h<a.length&&null==b;h++)f.model.isVertex(a[h])&&(b=h);null!=b&&(f.setSelectionCells(this.dropAndConnect(f.getSelectionCell(),a,mxEvent.isMetaDown(e)||mxEvent.isControlDown(e)?mxEvent.isShiftDown(e)?mxConstants.DIRECTION_WEST:mxConstants.DIRECTION_NORTH:mxEvent.isShiftDown(e)?mxConstants.DIRECTION_EAST:
+mxConstants.DIRECTION_SOUTH,b,e)),f.scrollCellToVisible(f.getSelectionCell()))}else mxEvent.isShiftDown(e)&&!f.isSelectionEmpty()?(e=f.getEditableCells(f.getSelectionCells()),f.updateShapes(a[0],e,!0),f.scrollCellToVisible(e)):(a=mxEvent.isAltDown(e)?f.getFreeInsertPoint():f.getCenterInsertPoint(f.getBoundingBoxFromGeometry(a,!0)),b.drop(f,e,null,a.x,a.y,!0))};
+Sidebar.prototype.addClickHandler=function(a,b,e,f){var h=b.getGraphForEvent,d=b.mouseDown,g=b.mouseMove,n=b.mouseUp,q=this.editorUi.editor.graph.tolerance,k=!1,p=null,w=this,z=null;b.getGraphForEvent=function(C){return k?h.apply(this,arguments):null};b.mouseDown=function(C){d.apply(this,arguments);p=new mxPoint(mxEvent.getClientX(C),mxEvent.getClientY(C));z=a.style.opacity;k=!1;""==z&&(z="1");null!=this.dragElement&&(this.dragElement.style.display="none",mxUtils.setOpacity(a,50))};b.mouseMove=function(C){(k=
+null!=p&&(Math.abs(p.x-mxEvent.getClientX(C))>q||Math.abs(p.y-mxEvent.getClientY(C))>q))&&null!=this.dragElement&&"none"==this.dragElement.style.display&&(this.dragElement.style.display="",mxUtils.setOpacity(a,100*z));g.apply(this,arguments)};b.mouseUp=function(C){try{mxEvent.isPopupTrigger(C)||null!=this.currentGraph||null==this.dragElement||"none"!=this.dragElement.style.display||(null!=f&&f(C),mxEvent.isConsumed(C)||w.itemClicked(e,b,C,a)),n.apply(b,arguments),mxUtils.setOpacity(a,100*z),p=null,
+w.currentElt=a}catch(F){b.reset(),w.editorUi.handleError(F)}}};Sidebar.prototype.createVertexTemplateEntry=function(a,b,e,f,h,d,g,n){null!=n&&null!=h&&(n+=" "+h);n=null!=n&&0<n.length?n:null!=h?h.toLowerCase():"";return this.addEntry(n,mxUtils.bind(this,function(){return this.createVertexTemplate(a,b,e,f,h,d,g)}))};
+Sidebar.prototype.createVertexTemplate=function(a,b,e,f,h,d,g,n,q,k,p,w,z,C){a=[new mxCell(null!=f?f:"",new mxGeometry(0,0,b,e),a)];a[0].vertex=!0;return this.createVertexTemplateFromCells(a,b,e,h,d,g,n,q,k,p,w,z,C)};
+Sidebar.prototype.createVertexTemplateFromData=function(a,b,e,f,h,d,g,n){var q=null;try{var k=mxUtils.parseXml(Graph.decompress(a)),p=new mxCodec(k),w=new mxGraphModel;p.decode(k.documentElement,w);q=this.graph.cloneCells(w.root.getChildAt(0).children)}catch(z){f=mxResources.get("error")+": "+z.message}return this.createVertexTemplateFromCells(q,b,e,f,h,d,g,n)};Sidebar.prototype.createVertexTemplateFromCells=function(a,b,e,f,h,d,g,n,q,k,p,w,z,C){return this.createItem(a,f,h,d,b,e,g,n,q,k,p,w,z,C)};
+Sidebar.prototype.createEdgeTemplateEntry=function(a,b,e,f,h,d,g,n,q){g=null!=g&&0<g.length?g:h.toLowerCase();return this.addEntry(g,mxUtils.bind(this,function(){return this.createEdgeTemplate(a,b,e,f,h,d,n,q)}))};
+Sidebar.prototype.createEdgeTemplate=function(a,b,e,f,h,d,g,n){a=new mxCell(null!=f?f:"",new mxGeometry(0,0,b,e),a);a.geometry.setTerminalPoint(new mxPoint(0,e),!0);a.geometry.setTerminalPoint(new mxPoint(b,0),!1);a.geometry.relative=!0;a.edge=!0;return this.createEdgeTemplateFromCells([a],b,e,h,d,g,n)};Sidebar.prototype.createEdgeTemplateFromCells=function(a,b,e,f,h,d,g,n,q,k,p,w){return this.createItem(a,f,h,null!=n?n:!0,b,e,d,g,q,k,p,w)};
+Sidebar.prototype.addPaletteFunctions=function(a,b,e,f){this.addPalette(a,b,e,mxUtils.bind(this,function(h){for(var d=0;d<f.length;d++)h.appendChild(f[d](h))}))};
+Sidebar.prototype.addPalette=function(a,b,e,f){b=this.createTitle(b);this.appendChild(b);var h=document.createElement("div");h.className="geSidebar";mxClient.IS_POINTER&&(h.style.touchAction="none");e&&this.expandLibraries?(f(h),f=null):h.style.display="none";this.addFoldingHandler(b,h,f);e=document.createElement("div");e.appendChild(h);this.appendChild(e);null!=a&&(this.palettes[a]=[b,e]);return h};
+Sidebar.prototype.addFoldingHandler=function(a,b,e){var f=!1;if(!mxClient.IS_IE||8<=document.documentMode)a.style.backgroundImage="none"==b.style.display?"url('"+this.collapsedImage+"')":"url('"+this.expandedImage+"')";a.style.backgroundRepeat="no-repeat";a.style.backgroundPosition="4px 50%";mxEvent.addListener(a,"click",mxUtils.bind(this,function(h){if(a.contains(mxEvent.getSource(h))){if("none"==b.style.display){if(f)this.setContentVisible(b,!0);else if(f=!0,null!=e){a.style.cursor="wait";for(var d=
+[],g=0;g<a.children.length;g++)d.push(a.children[g]);a.innerHTML=mxResources.get("loading")+"...";window.setTimeout(mxUtils.bind(this,function(){this.setContentVisible(b,!0);a.style.cursor="";a.innerHTML="";for(var n=0;n<d.length;n++)a.appendChild(d[n]);n=mxClient.NO_FO;mxClient.NO_FO=Editor.prototype.originalNoForeignObject;e(b,a);mxClient.NO_FO=n}),mxClient.IS_FF?20:0)}else this.setContentVisible(b,!0);a.style.backgroundImage="url('"+this.expandedImage+"')"}else a.style.backgroundImage="url('"+
+this.collapsedImage+"')",this.setContentVisible(b,!1);mxEvent.consume(h)}}));mxEvent.addListener(a,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(h){h.preventDefault()}))};
Sidebar.prototype.setContentVisible=function(a,b){mxUtils.setPrefixedStyle(a.style,"transition","all 0.2s linear");mxUtils.setPrefixedStyle(a.style,"transform-origin","top left");b?(mxUtils.setPrefixedStyle(a.style,"transform","scaleY(0)"),a.style.display="block",window.setTimeout(mxUtils.bind(this,function(){mxUtils.setPrefixedStyle(a.style,"transform","scaleY(1)");window.setTimeout(mxUtils.bind(this,function(){mxUtils.setPrefixedStyle(a.style,"transform",null);mxUtils.setPrefixedStyle(a.style,"transition",
null)}),200)}),0)):(mxUtils.setPrefixedStyle(a.style,"transform","scaleY(0)"),window.setTimeout(mxUtils.bind(this,function(){mxUtils.setPrefixedStyle(a.style,"transform",null);mxUtils.setPrefixedStyle(a.style,"transition",null);a.style.display="none"}),200))};Sidebar.prototype.removePalette=function(a){var b=this.palettes[a];if(null!=b){this.palettes[a]=null;for(a=0;a<b.length;a++)this.container.removeChild(b[a]);return!0}return!1};
-Sidebar.prototype.addImagePalette=function(a,b,d,e,g,f,h){for(var n=[],q=0;q<g.length;q++)mxUtils.bind(this,function(l,p,w){if(null==w&&(null==d||"img/lib/clip_art/"!=d.substring(0,17))){w=l.lastIndexOf("/");var z=l.lastIndexOf(".");w=l.substring(0<=w?w+1:0,0<=z?z:l.length).replace(/[-_]/g," ")}n.push(this.createVertexTemplateEntry("image;html=1;image="+d+l+e,this.defaultImageWidth,this.defaultImageHeight,"",p,null!=p,null,this.filterTags(w)))})(g[q],null!=f?f[q]:null,null!=h?h[g[q]]:null);this.addPaletteFunctions(a,
-b,!1,n)};Sidebar.prototype.getTagsForStencil=function(a,b,d){a=a.split(".");for(var e=1;e<a.length;e++)a[e]=a[e].replace(/_/g," ");a.push(b.replace(/_/g," "));null!=d&&a.push(d);return a.slice(1,a.length)};
-Sidebar.prototype.addStencilPalette=function(a,b,d,e,g,f,h,n,q,l){h=null!=h?h:1;if(this.addStencilsToIndex){var p=[];if(null!=q)for(l=0;l<q.length;l++)p.push(q[l]);mxStencilRegistry.loadStencilSet(d,mxUtils.bind(this,function(w,z,C,F,D){if(null==g||0>mxUtils.indexOf(g,z)){C=this.getTagsForStencil(w,z);var G=null!=n?n[z]:null;null!=G&&C.push(G);p.push(this.createVertexTemplateEntry("shape="+w+z.toLowerCase()+e,Math.round(F*h),Math.round(D*h),"",z.replace(/_/g," "),null,null,this.filterTags(C.join(" "))))}}),
-!0,!0);this.addPaletteFunctions(a,b,!1,p)}else this.addPalette(a,b,!1,mxUtils.bind(this,function(w){null==e&&(e="");null!=f&&f.call(this,w);if(null!=q)for(var z=0;z<q.length;z++)q[z](w);mxStencilRegistry.loadStencilSet(d,mxUtils.bind(this,function(C,F,D,G,K){(null==g||0>mxUtils.indexOf(g,F))&&w.appendChild(this.createVertexTemplate("shape="+C+F.toLowerCase()+e,Math.round(G*h),Math.round(K*h),"",F.replace(/_/g," "),!0))}),!0)}))};
+Sidebar.prototype.addImagePalette=function(a,b,e,f,h,d,g){for(var n=[],q=0;q<h.length;q++)mxUtils.bind(this,function(k,p,w){if(null==w&&(null==e||"img/lib/clip_art/"!=e.substring(0,17))){w=k.lastIndexOf("/");var z=k.lastIndexOf(".");w=k.substring(0<=w?w+1:0,0<=z?z:k.length).replace(/[-_]/g," ")}n.push(this.createVertexTemplateEntry("image;html=1;image="+e+k+f,this.defaultImageWidth,this.defaultImageHeight,"",p,null!=p,null,this.filterTags(w)))})(h[q],null!=d?d[q]:null,null!=g?g[h[q]]:null);this.addPaletteFunctions(a,
+b,!1,n)};Sidebar.prototype.getTagsForStencil=function(a,b,e){a=a.split(".");for(var f=1;f<a.length;f++)a[f]=a[f].replace(/_/g," ");a.push(b.replace(/_/g," "));null!=e&&a.push(e);return a.slice(1,a.length)};
+Sidebar.prototype.addStencilPalette=function(a,b,e,f,h,d,g,n,q,k){g=null!=g?g:1;if(this.addStencilsToIndex){var p=[];if(null!=q)for(k=0;k<q.length;k++)p.push(q[k]);mxStencilRegistry.loadStencilSet(e,mxUtils.bind(this,function(w,z,C,F,D){if(null==h||0>mxUtils.indexOf(h,z)){C=this.getTagsForStencil(w,z);var H=null!=n?n[z]:null;null!=H&&C.push(H);p.push(this.createVertexTemplateEntry("shape="+w+z.toLowerCase()+f,Math.round(F*g),Math.round(D*g),"",z.replace(/_/g," "),null,null,this.filterTags(C.join(" "))))}}),
+!0,!0);this.addPaletteFunctions(a,b,!1,p)}else this.addPalette(a,b,!1,mxUtils.bind(this,function(w){null==f&&(f="");null!=d&&d.call(this,w);if(null!=q)for(var z=0;z<q.length;z++)q[z](w);mxStencilRegistry.loadStencilSet(e,mxUtils.bind(this,function(C,F,D,H,K){(null==h||0>mxUtils.indexOf(h,F))&&w.appendChild(this.createVertexTemplate("shape="+C+F.toLowerCase()+f,Math.round(H*g),Math.round(K*g),"",F.replace(/_/g," "),!0))}),!0)}))};
Sidebar.prototype.destroy=function(){null!=this.graph&&(null!=this.graph.container&&null!=this.graph.container.parentNode&&this.graph.container.parentNode.removeChild(this.graph.container),this.graph.destroy(),this.graph=null);null!=this.escapeListener&&(this.editorUi.editor.graph.removeListener(this.escapeListener),this.escapeListener=null);null!=this.pointerUpHandler&&(mxEvent.removeListener(document,mxClient.IS_POINTER?"pointerup":"mouseup",this.pointerUpHandler),this.pointerUpHandler=null);null!=
-this.pointerDownHandler&&(mxEvent.removeListener(document,mxClient.IS_POINTER?"pointerdown":"mousedown",this.pointerDownHandler),this.pointerDownHandler=null);null!=this.pointerMoveHandler&&(mxEvent.removeListener(document,mxClient.IS_POINTER?"pointermove":"mousemove",this.pointerMoveHandler),this.pointerMoveHandler=null);null!=this.pointerOutHandler&&(mxEvent.removeListener(document,mxClient.IS_POINTER?"pointerout":"mouseout",this.pointerOutHandler),this.pointerOutHandler=null)};(function(){var a=[["nbsp","160"],["shy","173"]],b=mxUtils.parseXml;mxUtils.parseXml=function(e){for(var g=0;g<a.length;g++)e=e.replace(new RegExp("&"+a[g][0]+";","g"),"&#"+a[g][1]+";");return b(e)};var d=mxUtils.getSizeForString;mxUtils.getSizeForString=function(e,g,f,h){return d(Graph.sanitizeHtml(e),g,f,h)}})();
+this.pointerDownHandler&&(mxEvent.removeListener(document,mxClient.IS_POINTER?"pointerdown":"mousedown",this.pointerDownHandler),this.pointerDownHandler=null);null!=this.pointerMoveHandler&&(mxEvent.removeListener(document,mxClient.IS_POINTER?"pointermove":"mousemove",this.pointerMoveHandler),this.pointerMoveHandler=null);null!=this.pointerOutHandler&&(mxEvent.removeListener(document,mxClient.IS_POINTER?"pointerout":"mouseout",this.pointerOutHandler),this.pointerOutHandler=null)};(function(){var a=[["nbsp","160"],["shy","173"]],b=mxUtils.parseXml;mxUtils.parseXml=function(f){for(var h=0;h<a.length;h++)f=f.replace(new RegExp("&"+a[h][0]+";","g"),"&#"+a[h][1]+";");return b(f)};var e=mxUtils.getSizeForString;mxUtils.getSizeForString=function(f,h,d,g){return e(Graph.sanitizeHtml(f),h,d,g)}})();
Date.prototype.toISOString||function(){function a(b){b=String(b);1===b.length&&(b="0"+b);return b}Date.prototype.toISOString=function(){return this.getUTCFullYear()+"-"+a(this.getUTCMonth()+1)+"-"+a(this.getUTCDate())+"T"+a(this.getUTCHours())+":"+a(this.getUTCMinutes())+":"+a(this.getUTCSeconds())+"."+String((this.getUTCMilliseconds()/1E3).toFixed(3)).slice(2,5)+"Z"}}();Date.now||(Date.now=function(){return(new Date).getTime()});
-Uint8Array.from||(Uint8Array.from=function(){var a=Object.prototype.toString,b=function(e){return"function"===typeof e||"[object Function]"===a.call(e)},d=Math.pow(2,53)-1;return function(e){var g=Object(e);if(null==e)throw new TypeError("Array.from requires an array-like object - not null or undefined");var f=1<arguments.length?arguments[1]:void 0,h;if("undefined"!==typeof f){if(!b(f))throw new TypeError("Array.from: when provided, the second argument must be a function");2<arguments.length&&(h=
-arguments[2])}var n=Number(g.length);n=isNaN(n)?0:0!==n&&isFinite(n)?(0<n?1:-1)*Math.floor(Math.abs(n)):n;n=Math.min(Math.max(n,0),d);for(var q=b(this)?Object(new this(n)):Array(n),l=0,p;l<n;)p=g[l],q[l]=f?"undefined"===typeof h?f(p,l):f.call(h,p,l):p,l+=1;q.length=n;return q}}());mxConstants.SHADOW_OPACITY=.25;mxConstants.SHADOWCOLOR="#000000";mxConstants.VML_SHADOWCOLOR="#d0d0d0";mxCodec.allowlist="mxStylesheet Array mxGraphModel mxCell mxGeometry mxRectangle mxPoint mxChildChange mxRootChange mxTerminalChange mxValueChange mxStyleChange mxGeometryChange mxCollapseChange mxVisibleChange mxCellAttributeChange".split(" ");
+Uint8Array.from||(Uint8Array.from=function(){var a=Object.prototype.toString,b=function(f){return"function"===typeof f||"[object Function]"===a.call(f)},e=Math.pow(2,53)-1;return function(f){var h=Object(f);if(null==f)throw new TypeError("Array.from requires an array-like object - not null or undefined");var d=1<arguments.length?arguments[1]:void 0,g;if("undefined"!==typeof d){if(!b(d))throw new TypeError("Array.from: when provided, the second argument must be a function");2<arguments.length&&(g=
+arguments[2])}var n=Number(h.length);n=isNaN(n)?0:0!==n&&isFinite(n)?(0<n?1:-1)*Math.floor(Math.abs(n)):n;n=Math.min(Math.max(n,0),e);for(var q=b(this)?Object(new this(n)):Array(n),k=0,p;k<n;)p=h[k],q[k]=d?"undefined"===typeof g?d(p,k):d.call(g,p,k):p,k+=1;q.length=n;return q}}());mxConstants.SHADOW_OPACITY=.25;mxConstants.SHADOWCOLOR="#000000";mxConstants.VML_SHADOWCOLOR="#d0d0d0";mxCodec.allowlist="mxStylesheet Array mxGraphModel mxCell mxGeometry mxRectangle mxPoint mxChildChange mxRootChange mxTerminalChange mxValueChange mxStyleChange mxGeometryChange mxCollapseChange mxVisibleChange mxCellAttributeChange".split(" ");
mxGraph.prototype.pageBreakColor="#c0c0c0";mxGraph.prototype.pageScale=1;(function(){try{if(null!=navigator&&null!=navigator.language){var a=navigator.language.toLowerCase();mxGraph.prototype.pageFormat="en-us"===a||"en-ca"===a||"es-mx"===a?mxConstants.PAGE_FORMAT_LETTER_PORTRAIT:mxConstants.PAGE_FORMAT_A4_PORTRAIT}}catch(b){}})();mxText.prototype.baseSpacingTop=5;mxText.prototype.baseSpacingBottom=1;mxGraphModel.prototype.ignoreRelativeEdgeParent=!1;
mxGraphView.prototype.gridImage=mxClient.IS_SVG?"data:image/gif;base64,R0lGODlhCgAKAJEAAAAAAP///8zMzP///yH5BAEAAAMALAAAAAAKAAoAAAIJ1I6py+0Po2wFADs=":IMAGE_PATH+"/grid.gif";mxGraphView.prototype.gridSteps=4;mxGraphView.prototype.minGridSize=4;mxGraphView.prototype.defaultGridColor="#d0d0d0";mxGraphView.prototype.defaultDarkGridColor="#424242";mxGraphView.prototype.gridColor=mxGraphView.prototype.defaultGridColor;mxGraphView.prototype.unit=mxConstants.POINTS;
-mxGraphView.prototype.setUnit=function(a){this.unit!=a&&(this.unit=a,this.fireEvent(new mxEventObject("unitChanged","unit",a)))};mxSvgCanvas2D.prototype.foAltText="[Not supported by viewer]";mxShape.prototype.getConstraints=function(a,b,d){return null};
-mxImageShape.prototype.getImageDataUri=function(){var a=String(this.image);if("data:image/svg+xml;base64,"==a.substring(0,26)&&null!=this.style&&"1"==mxUtils.getValue(this.style,"clipSvg","0")){if(null==this.clippedSvg||this.clippedImage!=a)this.clippedSvg=Graph.clipSvgDataUri(a,!0),this.clippedImage=a;a=this.clippedSvg}return a};(function(){var a=mxResources.get;mxResources.get=function(b,d,e){null==e&&(e=b);return a.apply(this,[b,d,e])}})();
-Graph=function(a,b,d,e,g,f){mxGraph.call(this,a,b,d,e);this.themes=g||this.defaultThemes;this.currentEdgeStyle=mxUtils.clone(this.defaultEdgeStyle);this.currentVertexStyle=mxUtils.clone(this.defaultVertexStyle);this.standalone=null!=f?f:!1;a=this.baseUrl;b=a.indexOf("//");this.domainPathUrl=this.domainUrl="";0<b&&(b=a.indexOf("/",b+2),0<b&&(this.domainUrl=a.substring(0,b)),b=a.lastIndexOf("/"),0<b&&(this.domainPathUrl=a.substring(0,b+1)));this.isHtmlLabel=function(P){P=this.getCurrentCellStyle(P);
-return null!=P?"1"==P.html||"wrap"==P[mxConstants.STYLE_WHITE_SPACE]:!1};if(this.immediateHandling){var h=null,n=null,q=null,l=null,p=!1,w=!1;this.addListener(mxEvent.FIRE_MOUSE_EVENT,mxUtils.bind(this,function(P,W){if("mouseDown"==W.getProperty("eventName")&&this.isEnabled()){P=W.getProperty("event");var V=P.getState();W=this.view.scale;if(!mxEvent.isAltDown(P.getEvent())&&null!=V&&(w=this.isCellSelected(V.cell),!this.panningHandler.isActive()&&!mxEvent.isControlDown(P.getEvent()))){var ca=this.selectionCellsHandler.getHandler(V.cell);
-if(null==ca||null==ca.getHandleForEvent(P)){var ra=new mxRectangle(P.getGraphX()-1,P.getGraphY()-1),oa=mxEvent.isTouchEvent(P.getEvent())?mxShape.prototype.svgStrokeTolerance-1:(mxShape.prototype.svgStrokeTolerance+2)/2;ca=oa+2;ra.grow(oa);if(this.isTableCell(V.cell)&&this.isCellMovable(V.cell)&&!this.isCellSelected(V.cell)&&!(mxUtils.contains(V,P.getGraphX()-ca,P.getGraphY()-ca)&&mxUtils.contains(V,P.getGraphX()-ca,P.getGraphY()+ca)&&mxUtils.contains(V,P.getGraphX()+ca,P.getGraphY()+ca)&&mxUtils.contains(V,
-P.getGraphX()+ca,P.getGraphY()-ca))){var L=this.model.getParent(V.cell);ca=this.model.getParent(L);if(!this.isCellSelected(ca)){oa*=W;var ea=2*oa;if(this.model.getChildAt(ca,0)!=L&&mxUtils.intersects(ra,new mxRectangle(V.x,V.y-oa,V.width,ea))||this.model.getChildAt(L,0)!=V.cell&&mxUtils.intersects(ra,new mxRectangle(V.x-oa,V.y,ea,V.height))||mxUtils.intersects(ra,new mxRectangle(V.x,V.y+V.height-oa,V.width,ea))||mxUtils.intersects(ra,new mxRectangle(V.x+V.width-oa,V.y,ea,V.height)))L=this.selectionCellsHandler.isHandled(ca),
-this.selectCellForEvent(ca,P.getEvent()),ca=this.selectionCellsHandler.getHandler(ca),null!=ca&&(oa=ca.getHandleForEvent(P),null!=oa&&(ca.start(P.getGraphX(),P.getGraphY(),oa),ca.blockDelayedSelection=!L,P.consume()))}}for(;!P.isConsumed()&&null!=V&&(this.isTableCell(V.cell)||this.isTableRow(V.cell)||this.isTable(V.cell));)this.isSwimlane(V.cell)&&this.isCellMovable(V.cell)&&(ca=this.getActualStartSize(V.cell),(0<ca.x||0<ca.width)&&mxUtils.intersects(ra,new mxRectangle(V.x+(ca.x-ca.width-1)*W+(0==
-ca.x?V.width:0),V.y,1,V.height))||(0<ca.y||0<ca.height)&&mxUtils.intersects(ra,new mxRectangle(V.x,V.y+(ca.y-ca.height-1)*W+(0==ca.y?V.height:0),V.width,1)))&&(this.selectCellForEvent(V.cell,P.getEvent()),ca=this.selectionCellsHandler.getHandler(V.cell),null!=ca&&null!=ca.customHandles&&(oa=mxEvent.CUSTOM_HANDLE-ca.customHandles.length+1,ca.start(P.getGraphX(),P.getGraphY(),oa),P.consume())),V=this.view.getState(this.model.getParent(V.cell))}}}}));this.addListener(mxEvent.CONSUME_MOUSE_EVENT,mxUtils.bind(this,
-function(P,W){if("mouseDown"==W.getProperty("eventName")&&this.isEnabled()){P=W.getProperty("event");var V=P.getState();mxEvent.isAltDown(P.getEvent())||mxEvent.isControlDown(W)||mxEvent.isShiftDown(W)||w||null==V||!this.model.isEdge(V.cell)||(h=new mxPoint(P.getGraphX(),P.getGraphY()),p=this.isCellSelected(V.cell),q=V,n=P,null!=V.text&&null!=V.text.boundingBox&&mxUtils.contains(V.text.boundingBox,P.getGraphX(),P.getGraphY())?l=mxEvent.LABEL_HANDLE:(W=this.selectionCellsHandler.getHandler(V.cell),
-null!=W&&null!=W.bends&&0<W.bends.length&&(l=W.getHandleForEvent(P))))}}));this.addMouseListener({mouseDown:function(P,W){},mouseMove:mxUtils.bind(this,function(P,W){P=this.selectionCellsHandler.handlers.map;for(var V in P)if(null!=P[V].index)return;if(this.isEnabled()&&!this.panningHandler.isActive()&&!mxEvent.isAltDown(W.getEvent())){var ca=this.tolerance;if(null!=h&&null!=q&&null!=n){if(V=q,null!=l||Math.abs(h.x-W.getGraphX())>ca||Math.abs(h.y-W.getGraphY())>ca){var ra=null;mxEvent.isShiftDown(W.getEvent())||
-(ra=this.selectionCellsHandler.getHandler(V.cell));if(null!=ra&&null!=ra.bends&&0<ra.bends.length){ra.redrawHandles();var oa=null!=l?l:ra.getHandleForEvent(n),L=this.view.getEdgeStyle(V),ea=L==mxEdgeStyle.EntityRelation;ca=V.absolutePoints;p||(oa=l);oa!=mxEvent.LABEL_HANDLE&&null!=ca&&(oa=l,null==oa&&(P=new mxRectangle(h.x,h.y),P.grow(mxEdgeHandler.prototype.handleImage.width/2),mxUtils.contains(P,ca[0].x,ca[0].y)?oa=0:mxUtils.contains(P,ca[ca.length-1].x,ca[ca.length-1].y)?oa=ra.bends.length-1:null!=
-ca&&(null==L&&null==oa||L==mxEdgeStyle.SegmentConnector||L==mxEdgeStyle.OrthConnector)&&(null!=L&&(2==ca.length||3==ca.length&&(0==Math.round(ca[0].x-ca[1].x)&&0==Math.round(ca[1].x-ca[2].x)||0==Math.round(ca[0].y-ca[1].y)&&0==Math.round(ca[1].y-ca[2].y)))?oa=2:(oa=mxUtils.findNearestSegment(V,h.x,h.y),oa=null==L?mxEvent.VIRTUAL_HANDLE-oa:oa+1))),null==oa&&(oa=mxEvent.VIRTUAL_HANDLE));P=oa==mxEvent.LABEL_HANDLE||0==oa||oa==ra.bends.length-1;if(!ea&&(null!=V.visibleSourceState||null!=V.visibleTargetState)||
-P)ra.start(W.getGraphX(),W.getGraphX(),oa),W.consume(),this.graphHandler.reset()}null!=ra&&(this.selectionCellsHandler.isHandlerActive(ra)?this.isCellSelected(V.cell)||(this.selectionCellsHandler.handlers.put(V.cell,ra),this.selectCellForEvent(V.cell,W.getEvent())):this.isCellSelected(V.cell)||ra.destroy());p=!1;h=n=q=l=null}}else if(V=W.getState(),null!=V&&this.isCellEditable(V.cell)){P=this.model.getParent(V.cell);ra=null;if(this.model.isEdge(V.cell)&&!this.isCellSelected(V.cell)&&!mxEvent.isAltDown(W.getEvent())&&
-!mxEvent.isShiftDown(W.getEvent())&&!this.isAncestorSelected(V.cell)&&(this.isSwimlane(P)||this.model.isLayer(P)||this.getCurrentRoot()==P)){if(P=new mxRectangle(W.getGraphX(),W.getGraphY()),P.grow(mxEdgeHandler.prototype.handleImage.width/2),ca=V.absolutePoints,null!=ca)null!=V.text&&null!=V.text.boundingBox&&mxUtils.contains(V.text.boundingBox,W.getGraphX(),W.getGraphY())?ra="move":mxUtils.contains(P,ca[0].x,ca[0].y)||mxUtils.contains(P,ca[ca.length-1].x,ca[ca.length-1].y)?ra="pointer":(L=this.view.getEdgeStyle(V),
-L==mxEdgeStyle.EntityRelation||null==V.visibleSourceState&&null==V.visibleTargetState||(ra="crosshair",L!=mxEdgeStyle.SegmentConnector&&L!=mxEdgeStyle.OrthConnector))||(W=mxUtils.findNearestSegment(V,W.getGraphX(),W.getGraphY()),W<ca.length-1&&0<=W&&(ra=0==Math.round(ca[W].x-ca[W+1].x)?"col-resize":"row-resize"))}else if(!mxEvent.isControlDown(W.getEvent())){ca=mxShape.prototype.svgStrokeTolerance/2;P=new mxRectangle(W.getGraphX(),W.getGraphY());P.grow(ca);if(this.isTableCell(V.cell)&&this.isCellMovable(V.cell)&&
-(W=this.model.getParent(V.cell),ca=this.model.getParent(W),!this.isCellSelected(ca)))if(mxUtils.intersects(P,new mxRectangle(V.x,V.y-2,V.width,4))&&this.model.getChildAt(ca,0)!=W||mxUtils.intersects(P,new mxRectangle(V.x,V.y+V.height-2,V.width,4)))ra="row-resize";else if(mxUtils.intersects(P,new mxRectangle(V.x-2,V.y,4,V.height))&&this.model.getChildAt(W,0)!=V.cell||mxUtils.intersects(P,new mxRectangle(V.x+V.width-2,V.y,4,V.height)))ra="col-resize";for(W=V;null==ra&&null!=W&&(this.isTableCell(W.cell)||
-this.isTableRow(W.cell)||this.isTable(W.cell));)this.isSwimlane(W.cell)&&this.isCellMovable(W.cell)&&(ca=this.getActualStartSize(W.cell),oa=this.view.scale,(0<ca.x||0<ca.width)&&mxUtils.intersects(P,new mxRectangle(W.x+(ca.x-ca.width-1)*oa+(0==ca.x?W.width*oa:0),W.y,1,W.height))?ra="col-resize":(0<ca.y||0<ca.height)&&mxUtils.intersects(P,new mxRectangle(W.x,W.y+(ca.y-ca.height-1)*oa+(0==ca.y?W.height:0),W.width,1))&&(ra="row-resize")),W=this.view.getState(this.model.getParent(W.cell))}null!=ra&&V.setCursor(ra)}}}),
-mouseUp:mxUtils.bind(this,function(P,W){l=h=n=q=null})})}this.cellRenderer.minSvgStrokeWidth=.1;this.cellRenderer.getLabelValue=function(P){var W=mxCellRenderer.prototype.getLabelValue.apply(this,arguments);P.view.graph.isHtmlLabel(P.cell)&&(1!=P.style.html?W=mxUtils.htmlEntities(W,!1):(P.lastLabelValue!=W&&(P.lastLabelValue=W,P.lastSanitizedLabelValue=Graph.sanitizeHtml(W)),W=P.lastSanitizedLabelValue));return W};if("undefined"!==typeof mxVertexHandler){this.setConnectable(!0);this.setDropEnabled(!0);
-this.setPanning(!0);this.setTooltips(!0);this.setAllowLoops(!0);this.allowAutoPanning=!0;this.constrainChildren=this.resetEdgesOnConnect=!1;this.constrainRelativeChildren=!0;this.graphHandler.scrollOnMove=!1;this.graphHandler.scaleGrid=!0;this.connectionHandler.setCreateTarget(!1);this.connectionHandler.insertBeforeSource=!0;this.connectionHandler.isValidSource=function(P,W){return!1};this.alternateEdgeStyle="vertical";null==e&&this.loadStylesheet();var z=this.graphHandler.getGuideStates;this.graphHandler.getGuideStates=
-function(){var P=z.apply(this,arguments);if(this.graph.pageVisible){var W=[],V=this.graph.pageFormat,ca=this.graph.pageScale,ra=V.width*ca;V=V.height*ca;ca=this.graph.view.translate;for(var oa=this.graph.view.scale,L=this.graph.getPageLayout(),ea=0;ea<L.width;ea++)W.push(new mxRectangle(((L.x+ea)*ra+ca.x)*oa,(L.y*V+ca.y)*oa,ra*oa,V*oa));for(ea=1;ea<L.height;ea++)W.push(new mxRectangle((L.x*ra+ca.x)*oa,((L.y+ea)*V+ca.y)*oa,ra*oa,V*oa));P=W.concat(P)}return P};mxDragSource.prototype.dragElementZIndex=
-mxPopupMenu.prototype.zIndex;mxGuide.prototype.getGuideColor=function(P,W){return null==P.cell?"#ffa500":mxConstants.GUIDE_COLOR};this.graphHandler.createPreviewShape=function(P){this.previewColor="#000000"==this.graph.background?"#ffffff":mxGraphHandler.prototype.previewColor;return mxGraphHandler.prototype.createPreviewShape.apply(this,arguments)};var C=this.graphHandler.getCells;this.graphHandler.getCells=function(P){for(var W=C.apply(this,arguments),V=new mxDictionary,ca=[],ra=0;ra<W.length;ra++){var oa=
-this.graph.isTableCell(P)&&this.graph.isTableCell(W[ra])&&this.graph.isCellSelected(W[ra])?this.graph.model.getParent(W[ra]):this.graph.isTableRow(P)&&this.graph.isTableRow(W[ra])&&this.graph.isCellSelected(W[ra])?W[ra]:this.graph.getCompositeParent(W[ra]);null==oa||V.get(oa)||(V.put(oa,!0),ca.push(oa))}return ca};var F=this.graphHandler.start;this.graphHandler.start=function(P,W,V,ca){var ra=!1;this.graph.isTableCell(P)&&(this.graph.isCellSelected(P)?ra=!0:P=this.graph.model.getParent(P));ra||this.graph.isTableRow(P)&&
-this.graph.isCellSelected(P)||(P=this.graph.getCompositeParent(P));F.apply(this,arguments)};this.connectionHandler.createTargetVertex=function(P,W){W=this.graph.getCompositeParent(W);return mxConnectionHandler.prototype.createTargetVertex.apply(this,arguments)};this.connectionHandler.insertEdge=function(P,W,V,ca,ra,oa){var L=mxConnectionHandler.prototype.insertEdge.apply(this,arguments);null!=ca&&this.graph.applyNewEdgeStyle(ca,[L]);return L};var D=new mxRubberband(this);this.getRubberband=function(){return D};
-var G=(new Date).getTime(),K=0,I=this.connectionHandler.mouseMove;this.connectionHandler.mouseMove=function(){var P=this.currentState;I.apply(this,arguments);P!=this.currentState?(G=(new Date).getTime(),K=0):K=(new Date).getTime()-G};var O=this.connectionHandler.isOutlineConnectEvent;this.connectionHandler.isOutlineConnectEvent=function(P){return mxEvent.isShiftDown(P.getEvent())&&mxEvent.isAltDown(P.getEvent())?!1:null!=this.currentState&&P.getState()==this.currentState&&2E3<K||(null==this.currentState||
-"0"!=mxUtils.getValue(this.currentState.style,"outlineConnect","1"))&&O.apply(this,arguments)};var H=this.isToggleEvent;this.isToggleEvent=function(P){return H.apply(this,arguments)||!mxClient.IS_CHROMEOS&&mxEvent.isShiftDown(P)};var Z=D.isForceRubberbandEvent;D.isForceRubberbandEvent=function(P){return Z.apply(this,arguments)||mxClient.IS_CHROMEOS&&mxEvent.isShiftDown(P.getEvent())||mxUtils.hasScrollbars(this.graph.container)&&mxClient.IS_FF&&mxClient.IS_WIN&&null==P.getState()&&mxEvent.isTouchEvent(P.getEvent())};
-var S=null;this.panningHandler.addListener(mxEvent.PAN_START,mxUtils.bind(this,function(){this.isEnabled()&&(S=this.container.style.cursor,this.container.style.cursor="move")}));this.panningHandler.addListener(mxEvent.PAN_END,mxUtils.bind(this,function(){this.isEnabled()&&(this.container.style.cursor=S)}));this.popupMenuHandler.autoExpand=!0;this.popupMenuHandler.isSelectOnPopup=function(P){return mxEvent.isMouseEvent(P.getEvent())};var X=this.click;this.click=function(P){var W=null==P.state&&null!=
-P.sourceState&&this.isCellLocked(this.getLayerForCell(P.sourceState.cell));if(this.isEnabled()&&!W||P.isConsumed())return X.apply(this,arguments);var V=W?P.sourceState.cell:P.getCell();if(null!=V){var ca=this.getClickableLinkForCell(V);null!=ca?this.isCustomLink(ca)?this.customLinkClicked(ca,V):this.openLink(ca):W&&this.clearSelection()}};this.tooltipHandler.getStateForEvent=function(P){return P.sourceState};var Y=this.tooltipHandler.show;this.tooltipHandler.show=function(){Y.apply(this,arguments);
-if(null!=this.div)for(var P=this.div.getElementsByTagName("a"),W=0;W<P.length;W++)null!=P[W].getAttribute("href")&&null==P[W].getAttribute("target")&&P[W].setAttribute("target","_blank")};this.tooltipHandler.getStateForEvent=function(P){return P.sourceState};this.getCursorForMouseEvent=function(P){var W=null==P.state&&null!=P.sourceState&&this.isCellLocked(P.sourceState.cell);return this.getCursorForCell(W?P.sourceState.cell:P.getCell())};var M=this.getCursorForCell;this.getCursorForCell=function(P){if(!this.isEnabled()||
-this.isCellLocked(P)){if(null!=this.getClickableLinkForCell(P))return"pointer";if(this.isCellLocked(P))return"default"}return M.apply(this,arguments)};this.selectRegion=function(P,W){var V=mxEvent.isAltDown(W)?P:null;P=this.getCells(P.x,P.y,P.width,P.height,null,null,V,null,!0);if(this.isToggleEvent(W))for(V=0;V<P.length;V++)this.selectCellForEvent(P[V],W);else this.selectCellsForEvent(P,W);return P};var U=this.graphHandler.shouldRemoveCellsFromParent;this.graphHandler.shouldRemoveCellsFromParent=
-function(P,W,V){return this.graph.isCellSelected(P)?!1:U.apply(this,arguments)};var ba=this.updateMouseEvent;this.updateMouseEvent=function(P){P=ba.apply(this,arguments);null!=P.state&&this.isCellLocked(this.getLayerForCell(P.getCell()))&&(null==this.getLinkForCell(P.getCell())?P.state=this.view.getState(this.getCellAt(P.getGraphX(),P.getGraphY(),null,null,null,mxUtils.bind(this,function(W,V,ca){return P.state==W||this.isCellLocked(this.getLayerForCell(W.cell))&&null==this.getLinkForCell(W.cell)}))):
-P.state=null);return P};var ja=this.isCellSelectable;this.isCellSelectable=function(P){return ja.apply(this,arguments)&&!this.isCellLocked(this.getLayerForCell(P))};this.isCellLocked=function(P){for(;null!=P;){if("1"==mxUtils.getValue(this.getCurrentCellStyle(P),"locked","0"))return!0;P=this.model.getParent(P)}return!1};var pa=null;this.addListener(mxEvent.FIRE_MOUSE_EVENT,mxUtils.bind(this,function(P,W){"mouseDown"==W.getProperty("eventName")&&(P=W.getProperty("event").getState(),pa=null==P||this.isSelectionEmpty()||
-this.isCellSelected(P.cell)?null:this.getSelectionCells())}));this.addListener(mxEvent.TAP_AND_HOLD,mxUtils.bind(this,function(P,W){if(!mxEvent.isMultiTouchEvent(W)){P=W.getProperty("event");var V=W.getProperty("cell");null==V?(P=mxUtils.convertPoint(this.container,mxEvent.getClientX(P),mxEvent.getClientY(P)),D.start(P.x,P.y)):null!=pa?this.addSelectionCells(pa):1<this.getSelectionCount()&&this.isCellSelected(V)&&this.removeSelectionCell(V);pa=null;W.consume()}}));this.connectionHandler.selectCells=
-function(P,W){this.graph.setSelectionCell(W||P)};this.connectionHandler.constraintHandler.isStateIgnored=function(P,W){var V=P.view.graph;return W&&(V.isCellSelected(P.cell)||V.isTableRow(P.cell)&&V.selectionCellsHandler.isHandled(V.model.getParent(P.cell)))};this.selectionModel.addListener(mxEvent.CHANGE,mxUtils.bind(this,function(){var P=this.connectionHandler.constraintHandler;null!=P.currentFocus&&P.isStateIgnored(P.currentFocus,!0)&&(P.currentFocus=null,P.constraints=null,P.destroyIcons());P.destroyFocusHighlight()}));
+mxGraphView.prototype.setUnit=function(a){this.unit!=a&&(this.unit=a,this.fireEvent(new mxEventObject("unitChanged","unit",a)))};mxSvgCanvas2D.prototype.foAltText="[Not supported by viewer]";mxShape.prototype.getConstraints=function(a,b,e){return null};
+mxImageShape.prototype.getImageDataUri=function(){var a=String(this.image);if("data:image/svg+xml;base64,"==a.substring(0,26)&&null!=this.style&&"1"==mxUtils.getValue(this.style,"clipSvg","0")){if(null==this.clippedSvg||this.clippedImage!=a)this.clippedSvg=Graph.clipSvgDataUri(a,!0),this.clippedImage=a;a=this.clippedSvg}return a};(function(){var a=mxResources.get;mxResources.get=function(b,e,f){null==f&&(f=b);return a.apply(this,[b,e,f])}})();
+Graph=function(a,b,e,f,h,d){mxGraph.call(this,a,b,e,f);this.themes=h||this.defaultThemes;this.currentEdgeStyle=mxUtils.clone(this.defaultEdgeStyle);this.currentVertexStyle=mxUtils.clone(this.defaultVertexStyle);this.standalone=null!=d?d:!1;a=this.baseUrl;b=a.indexOf("//");this.domainPathUrl=this.domainUrl="";0<b&&(b=a.indexOf("/",b+2),0<b&&(this.domainUrl=a.substring(0,b)),b=a.lastIndexOf("/"),0<b&&(this.domainPathUrl=a.substring(0,b+1)));this.isHtmlLabel=function(O){O=this.getCurrentCellStyle(O);
+return null!=O?"1"==O.html||"wrap"==O[mxConstants.STYLE_WHITE_SPACE]:!1};if(this.immediateHandling){var g=null,n=null,q=null,k=null,p=!1,w=!1;this.addListener(mxEvent.FIRE_MOUSE_EVENT,mxUtils.bind(this,function(O,T){if("mouseDown"==T.getProperty("eventName")&&this.isEnabled()){O=T.getProperty("event");var X=O.getState();T=this.view.scale;if(!mxEvent.isAltDown(O.getEvent())&&null!=X&&(w=this.isCellSelected(X.cell),!this.panningHandler.isActive()&&!mxEvent.isControlDown(O.getEvent()))){var ca=this.selectionCellsHandler.getHandler(X.cell);
+if(null==ca||null==ca.getHandleForEvent(O)){var na=new mxRectangle(O.getGraphX()-1,O.getGraphY()-1),pa=mxEvent.isTouchEvent(O.getEvent())?mxShape.prototype.svgStrokeTolerance-1:(mxShape.prototype.svgStrokeTolerance+2)/2;ca=pa+2;na.grow(pa);if(this.isTableCell(X.cell)&&this.isCellMovable(X.cell)&&!this.isCellSelected(X.cell)&&!(mxUtils.contains(X,O.getGraphX()-ca,O.getGraphY()-ca)&&mxUtils.contains(X,O.getGraphX()-ca,O.getGraphY()+ca)&&mxUtils.contains(X,O.getGraphX()+ca,O.getGraphY()+ca)&&mxUtils.contains(X,
+O.getGraphX()+ca,O.getGraphY()-ca))){var M=this.model.getParent(X.cell);ca=this.model.getParent(M);if(!this.isCellSelected(ca)){pa*=T;var ea=2*pa;if(this.model.getChildAt(ca,0)!=M&&mxUtils.intersects(na,new mxRectangle(X.x,X.y-pa,X.width,ea))||this.model.getChildAt(M,0)!=X.cell&&mxUtils.intersects(na,new mxRectangle(X.x-pa,X.y,ea,X.height))||mxUtils.intersects(na,new mxRectangle(X.x,X.y+X.height-pa,X.width,ea))||mxUtils.intersects(na,new mxRectangle(X.x+X.width-pa,X.y,ea,X.height)))M=this.selectionCellsHandler.isHandled(ca),
+this.selectCellForEvent(ca,O.getEvent()),ca=this.selectionCellsHandler.getHandler(ca),null!=ca&&(pa=ca.getHandleForEvent(O),null!=pa&&(ca.start(O.getGraphX(),O.getGraphY(),pa),ca.blockDelayedSelection=!M,O.consume()))}}for(;!O.isConsumed()&&null!=X&&(this.isTableCell(X.cell)||this.isTableRow(X.cell)||this.isTable(X.cell));)this.isSwimlane(X.cell)&&this.isCellMovable(X.cell)&&(ca=this.getActualStartSize(X.cell),(0<ca.x||0<ca.width)&&mxUtils.intersects(na,new mxRectangle(X.x+(ca.x-ca.width-1)*T+(0==
+ca.x?X.width:0),X.y,1,X.height))||(0<ca.y||0<ca.height)&&mxUtils.intersects(na,new mxRectangle(X.x,X.y+(ca.y-ca.height-1)*T+(0==ca.y?X.height:0),X.width,1)))&&(this.selectCellForEvent(X.cell,O.getEvent()),ca=this.selectionCellsHandler.getHandler(X.cell),null!=ca&&null!=ca.customHandles&&(pa=mxEvent.CUSTOM_HANDLE-ca.customHandles.length+1,ca.start(O.getGraphX(),O.getGraphY(),pa),O.consume())),X=this.view.getState(this.model.getParent(X.cell))}}}}));this.addListener(mxEvent.CONSUME_MOUSE_EVENT,mxUtils.bind(this,
+function(O,T){if("mouseDown"==T.getProperty("eventName")&&this.isEnabled()){O=T.getProperty("event");var X=O.getState();mxEvent.isAltDown(O.getEvent())||mxEvent.isControlDown(T)||mxEvent.isShiftDown(T)||w||null==X||!this.model.isEdge(X.cell)||(g=new mxPoint(O.getGraphX(),O.getGraphY()),p=this.isCellSelected(X.cell),q=X,n=O,null!=X.text&&null!=X.text.boundingBox&&mxUtils.contains(X.text.boundingBox,O.getGraphX(),O.getGraphY())?k=mxEvent.LABEL_HANDLE:(T=this.selectionCellsHandler.getHandler(X.cell),
+null!=T&&null!=T.bends&&0<T.bends.length&&(k=T.getHandleForEvent(O))))}}));this.addMouseListener({mouseDown:function(O,T){},mouseMove:mxUtils.bind(this,function(O,T){O=this.selectionCellsHandler.handlers.map;for(var X in O)if(null!=O[X].index)return;if(this.isEnabled()&&!this.panningHandler.isActive()&&!mxEvent.isAltDown(T.getEvent())){var ca=this.tolerance;if(null!=g&&null!=q&&null!=n){if(X=q,null!=k||Math.abs(g.x-T.getGraphX())>ca||Math.abs(g.y-T.getGraphY())>ca){var na=null;mxEvent.isShiftDown(T.getEvent())||
+(na=this.selectionCellsHandler.getHandler(X.cell));if(null!=na&&null!=na.bends&&0<na.bends.length){na.redrawHandles();var pa=null!=k?k:na.getHandleForEvent(n),M=this.view.getEdgeStyle(X),ea=M==mxEdgeStyle.EntityRelation;ca=X.absolutePoints;p||(pa=k);pa!=mxEvent.LABEL_HANDLE&&null!=ca&&(pa=k,null==pa&&(O=new mxRectangle(g.x,g.y),O.grow(mxEdgeHandler.prototype.handleImage.width/2),mxUtils.contains(O,ca[0].x,ca[0].y)?pa=0:mxUtils.contains(O,ca[ca.length-1].x,ca[ca.length-1].y)?pa=na.bends.length-1:null!=
+ca&&(null==M&&null==pa||M==mxEdgeStyle.SegmentConnector||M==mxEdgeStyle.OrthConnector)&&(null!=M&&(2==ca.length||3==ca.length&&(0==Math.round(ca[0].x-ca[1].x)&&0==Math.round(ca[1].x-ca[2].x)||0==Math.round(ca[0].y-ca[1].y)&&0==Math.round(ca[1].y-ca[2].y)))?pa=2:(pa=mxUtils.findNearestSegment(X,g.x,g.y),pa=null==M?mxEvent.VIRTUAL_HANDLE-pa:pa+1))),null==pa&&(pa=mxEvent.VIRTUAL_HANDLE));O=pa==mxEvent.LABEL_HANDLE||0==pa||pa==na.bends.length-1;if(!ea&&(null!=X.visibleSourceState||null!=X.visibleTargetState)||
+O)na.start(T.getGraphX(),T.getGraphX(),pa),T.consume(),this.graphHandler.reset()}null!=na&&(this.selectionCellsHandler.isHandlerActive(na)?this.isCellSelected(X.cell)||(this.selectionCellsHandler.handlers.put(X.cell,na),this.selectCellForEvent(X.cell,T.getEvent())):this.isCellSelected(X.cell)||na.destroy());p=!1;g=n=q=k=null}}else if(X=T.getState(),null!=X&&this.isCellEditable(X.cell)){O=this.model.getParent(X.cell);na=null;if(this.model.isEdge(X.cell)&&!this.isCellSelected(X.cell)&&!mxEvent.isAltDown(T.getEvent())&&
+!mxEvent.isShiftDown(T.getEvent())&&!this.isAncestorSelected(X.cell)&&(this.isSwimlane(O)||this.model.isLayer(O)||this.getCurrentRoot()==O)){if(O=new mxRectangle(T.getGraphX(),T.getGraphY()),O.grow(mxEdgeHandler.prototype.handleImage.width/2),ca=X.absolutePoints,null!=ca)null!=X.text&&null!=X.text.boundingBox&&mxUtils.contains(X.text.boundingBox,T.getGraphX(),T.getGraphY())?na="move":mxUtils.contains(O,ca[0].x,ca[0].y)||mxUtils.contains(O,ca[ca.length-1].x,ca[ca.length-1].y)?na="pointer":(M=this.view.getEdgeStyle(X),
+M==mxEdgeStyle.EntityRelation||null==X.visibleSourceState&&null==X.visibleTargetState||(na="crosshair",M!=mxEdgeStyle.SegmentConnector&&M!=mxEdgeStyle.OrthConnector))||(T=mxUtils.findNearestSegment(X,T.getGraphX(),T.getGraphY()),T<ca.length-1&&0<=T&&(na=0==Math.round(ca[T].x-ca[T+1].x)?"col-resize":"row-resize"))}else if(!mxEvent.isControlDown(T.getEvent())){ca=mxShape.prototype.svgStrokeTolerance/2;O=new mxRectangle(T.getGraphX(),T.getGraphY());O.grow(ca);if(this.isTableCell(X.cell)&&this.isCellMovable(X.cell)&&
+(T=this.model.getParent(X.cell),ca=this.model.getParent(T),!this.isCellSelected(ca)))if(mxUtils.intersects(O,new mxRectangle(X.x,X.y-2,X.width,4))&&this.model.getChildAt(ca,0)!=T||mxUtils.intersects(O,new mxRectangle(X.x,X.y+X.height-2,X.width,4)))na="row-resize";else if(mxUtils.intersects(O,new mxRectangle(X.x-2,X.y,4,X.height))&&this.model.getChildAt(T,0)!=X.cell||mxUtils.intersects(O,new mxRectangle(X.x+X.width-2,X.y,4,X.height)))na="col-resize";for(T=X;null==na&&null!=T&&(this.isTableCell(T.cell)||
+this.isTableRow(T.cell)||this.isTable(T.cell));)this.isSwimlane(T.cell)&&this.isCellMovable(T.cell)&&(ca=this.getActualStartSize(T.cell),pa=this.view.scale,(0<ca.x||0<ca.width)&&mxUtils.intersects(O,new mxRectangle(T.x+(ca.x-ca.width-1)*pa+(0==ca.x?T.width*pa:0),T.y,1,T.height))?na="col-resize":(0<ca.y||0<ca.height)&&mxUtils.intersects(O,new mxRectangle(T.x,T.y+(ca.y-ca.height-1)*pa+(0==ca.y?T.height:0),T.width,1))&&(na="row-resize")),T=this.view.getState(this.model.getParent(T.cell))}null!=na&&X.setCursor(na)}}}),
+mouseUp:mxUtils.bind(this,function(O,T){k=g=n=q=null})})}this.cellRenderer.minSvgStrokeWidth=.1;this.cellRenderer.getLabelValue=function(O){var T=mxCellRenderer.prototype.getLabelValue.apply(this,arguments);O.view.graph.isHtmlLabel(O.cell)&&(1!=O.style.html?T=mxUtils.htmlEntities(T,!1):(O.lastLabelValue!=T&&(O.lastLabelValue=T,O.lastSanitizedLabelValue=Graph.sanitizeHtml(T)),T=O.lastSanitizedLabelValue));return T};if("undefined"!==typeof mxVertexHandler){this.setConnectable(!0);this.setDropEnabled(!0);
+this.setPanning(!0);this.setTooltips(!0);this.setAllowLoops(!0);this.allowAutoPanning=!0;this.constrainChildren=this.resetEdgesOnConnect=!1;this.constrainRelativeChildren=!0;this.graphHandler.scrollOnMove=!1;this.graphHandler.scaleGrid=!0;this.connectionHandler.setCreateTarget(!1);this.connectionHandler.insertBeforeSource=!0;this.connectionHandler.isValidSource=function(O,T){return!1};this.alternateEdgeStyle="vertical";null==f&&this.loadStylesheet();var z=this.graphHandler.getGuideStates;this.graphHandler.getGuideStates=
+function(){var O=z.apply(this,arguments);if(this.graph.pageVisible){var T=[],X=this.graph.pageFormat,ca=this.graph.pageScale,na=X.width*ca;X=X.height*ca;ca=this.graph.view.translate;for(var pa=this.graph.view.scale,M=this.graph.getPageLayout(),ea=0;ea<M.width;ea++)T.push(new mxRectangle(((M.x+ea)*na+ca.x)*pa,(M.y*X+ca.y)*pa,na*pa,X*pa));for(ea=1;ea<M.height;ea++)T.push(new mxRectangle((M.x*na+ca.x)*pa,((M.y+ea)*X+ca.y)*pa,na*pa,X*pa));O=T.concat(O)}return O};mxDragSource.prototype.dragElementZIndex=
+mxPopupMenu.prototype.zIndex;mxGuide.prototype.getGuideColor=function(O,T){return null==O.cell?"#ffa500":mxConstants.GUIDE_COLOR};this.graphHandler.createPreviewShape=function(O){this.previewColor="#000000"==this.graph.background?"#ffffff":mxGraphHandler.prototype.previewColor;return mxGraphHandler.prototype.createPreviewShape.apply(this,arguments)};var C=this.graphHandler.getCells;this.graphHandler.getCells=function(O){for(var T=C.apply(this,arguments),X=new mxDictionary,ca=[],na=0;na<T.length;na++){var pa=
+this.graph.isTableCell(O)&&this.graph.isTableCell(T[na])&&this.graph.isCellSelected(T[na])?this.graph.model.getParent(T[na]):this.graph.isTableRow(O)&&this.graph.isTableRow(T[na])&&this.graph.isCellSelected(T[na])?T[na]:this.graph.getCompositeParent(T[na]);null==pa||X.get(pa)||(X.put(pa,!0),ca.push(pa))}return ca};var F=this.graphHandler.start;this.graphHandler.start=function(O,T,X,ca){var na=!1;this.graph.isTableCell(O)&&(this.graph.isCellSelected(O)?na=!0:O=this.graph.model.getParent(O));na||this.graph.isTableRow(O)&&
+this.graph.isCellSelected(O)||(O=this.graph.getCompositeParent(O));F.apply(this,arguments)};this.connectionHandler.createTargetVertex=function(O,T){T=this.graph.getCompositeParent(T);return mxConnectionHandler.prototype.createTargetVertex.apply(this,arguments)};this.connectionHandler.insertEdge=function(O,T,X,ca,na,pa){var M=mxConnectionHandler.prototype.insertEdge.apply(this,arguments);null!=ca&&this.graph.applyNewEdgeStyle(ca,[M]);return M};var D=new mxRubberband(this);this.getRubberband=function(){return D};
+var H=(new Date).getTime(),K=0,G=this.connectionHandler.mouseMove;this.connectionHandler.mouseMove=function(){var O=this.currentState;G.apply(this,arguments);O!=this.currentState?(H=(new Date).getTime(),K=0):K=(new Date).getTime()-H};var P=this.connectionHandler.isOutlineConnectEvent;this.connectionHandler.isOutlineConnectEvent=function(O){return mxEvent.isShiftDown(O.getEvent())&&mxEvent.isAltDown(O.getEvent())?!1:null!=this.currentState&&O.getState()==this.currentState&&2E3<K||(null==this.currentState||
+"0"!=mxUtils.getValue(this.currentState.style,"outlineConnect","1"))&&P.apply(this,arguments)};var I=this.isToggleEvent;this.isToggleEvent=function(O){return I.apply(this,arguments)||!mxClient.IS_CHROMEOS&&mxEvent.isShiftDown(O)};var Z=D.isForceRubberbandEvent;D.isForceRubberbandEvent=function(O){return Z.apply(this,arguments)||mxClient.IS_CHROMEOS&&mxEvent.isShiftDown(O.getEvent())||mxUtils.hasScrollbars(this.graph.container)&&mxClient.IS_FF&&mxClient.IS_WIN&&null==O.getState()&&mxEvent.isTouchEvent(O.getEvent())};
+var S=null;this.panningHandler.addListener(mxEvent.PAN_START,mxUtils.bind(this,function(){this.isEnabled()&&(S=this.container.style.cursor,this.container.style.cursor="move")}));this.panningHandler.addListener(mxEvent.PAN_END,mxUtils.bind(this,function(){this.isEnabled()&&(this.container.style.cursor=S)}));this.popupMenuHandler.autoExpand=!0;this.popupMenuHandler.isSelectOnPopup=function(O){return mxEvent.isMouseEvent(O.getEvent())};var Y=this.click;this.click=function(O){var T=null==O.state&&null!=
+O.sourceState&&this.isCellLocked(this.getLayerForCell(O.sourceState.cell));if(this.isEnabled()&&!T||O.isConsumed())return Y.apply(this,arguments);var X=T?O.sourceState.cell:O.getCell();if(null!=X){var ca=this.getClickableLinkForCell(X);null!=ca?this.isCustomLink(ca)?this.customLinkClicked(ca,X):this.openLink(ca):T&&this.clearSelection()}};this.tooltipHandler.getStateForEvent=function(O){return O.sourceState};var V=this.tooltipHandler.show;this.tooltipHandler.show=function(){V.apply(this,arguments);
+if(null!=this.div)for(var O=this.div.getElementsByTagName("a"),T=0;T<O.length;T++)null!=O[T].getAttribute("href")&&null==O[T].getAttribute("target")&&O[T].setAttribute("target","_blank")};this.tooltipHandler.getStateForEvent=function(O){return O.sourceState};this.getCursorForMouseEvent=function(O){var T=null==O.state&&null!=O.sourceState&&this.isCellLocked(O.sourceState.cell);return this.getCursorForCell(T?O.sourceState.cell:O.getCell())};var L=this.getCursorForCell;this.getCursorForCell=function(O){if(!this.isEnabled()||
+this.isCellLocked(O)){if(null!=this.getClickableLinkForCell(O))return"pointer";if(this.isCellLocked(O))return"default"}return L.apply(this,arguments)};this.selectRegion=function(O,T){var X=mxEvent.isAltDown(T)?O:null;O=this.getCells(O.x,O.y,O.width,O.height,null,null,X,null,!0);if(this.isToggleEvent(T))for(X=0;X<O.length;X++)this.selectCellForEvent(O[X],T);else this.selectCellsForEvent(O,T);return O};var U=this.graphHandler.shouldRemoveCellsFromParent;this.graphHandler.shouldRemoveCellsFromParent=
+function(O,T,X){return this.graph.isCellSelected(O)?!1:U.apply(this,arguments)};var ba=this.updateMouseEvent;this.updateMouseEvent=function(O){O=ba.apply(this,arguments);null!=O.state&&this.isCellLocked(this.getLayerForCell(O.getCell()))&&(null==this.getLinkForCell(O.getCell())?O.state=this.view.getState(this.getCellAt(O.getGraphX(),O.getGraphY(),null,null,null,mxUtils.bind(this,function(T,X,ca){return O.state==T||this.isCellLocked(this.getLayerForCell(T.cell))&&null==this.getLinkForCell(T.cell)}))):
+O.state=null);return O};var ja=this.isCellSelectable;this.isCellSelectable=function(O){return ja.apply(this,arguments)&&!this.isCellLocked(this.getLayerForCell(O))};this.isCellLocked=function(O){for(;null!=O;){if("1"==mxUtils.getValue(this.getCurrentCellStyle(O),"locked","0"))return!0;O=this.model.getParent(O)}return!1};var sa=null;this.addListener(mxEvent.FIRE_MOUSE_EVENT,mxUtils.bind(this,function(O,T){"mouseDown"==T.getProperty("eventName")&&(O=T.getProperty("event").getState(),sa=null==O||this.isSelectionEmpty()||
+this.isCellSelected(O.cell)?null:this.getSelectionCells())}));this.addListener(mxEvent.TAP_AND_HOLD,mxUtils.bind(this,function(O,T){if(!mxEvent.isMultiTouchEvent(T)){O=T.getProperty("event");var X=T.getProperty("cell");null==X?(O=mxUtils.convertPoint(this.container,mxEvent.getClientX(O),mxEvent.getClientY(O)),D.start(O.x,O.y)):null!=sa?this.addSelectionCells(sa):1<this.getSelectionCount()&&this.isCellSelected(X)&&this.removeSelectionCell(X);sa=null;T.consume()}}));this.connectionHandler.selectCells=
+function(O,T){this.graph.setSelectionCell(T||O)};this.connectionHandler.constraintHandler.isStateIgnored=function(O,T){var X=O.view.graph;return T&&(X.isCellSelected(O.cell)||X.isTableRow(O.cell)&&X.selectionCellsHandler.isHandled(X.model.getParent(O.cell)))};this.selectionModel.addListener(mxEvent.CHANGE,mxUtils.bind(this,function(){var O=this.connectionHandler.constraintHandler;null!=O.currentFocus&&O.isStateIgnored(O.currentFocus,!0)&&(O.currentFocus=null,O.constraints=null,O.destroyIcons());O.destroyFocusHighlight()}));
Graph.touchStyle&&this.initTouch()}this.currentTranslate=new mxPoint(0,0)};Graph.touchStyle=mxClient.IS_TOUCH||mxClient.IS_FF&&mxClient.IS_WIN||0<navigator.maxTouchPoints||0<navigator.msMaxTouchPoints||null==window.urlParams||"1"==urlParams.touch;Graph.fileSupport=null!=window.File&&null!=window.FileReader&&null!=window.FileList&&(null==window.urlParams||"0"!=urlParams.filesupport);Graph.translateDiagram="1"==urlParams["translate-diagram"];
Graph.diagramLanguage=null!=urlParams["diagram-language"]?urlParams["diagram-language"]:mxClient.language;Graph.lineJumpsEnabled=!0;Graph.defaultJumpSize=6;Graph.zoomWheel=!1;Graph.selectParentLayer=!1;Graph.minTableColumnWidth=20;Graph.minTableRowHeight=20;Graph.foreignObjectWarningText="Text is not SVG - cannot display";Graph.foreignObjectWarningLink="https://www.drawio.com/doc/faq/svg-export-text-problems";Graph.xmlDeclaration='<?xml version="1.0" encoding="UTF-8"?>';Graph.svgDoctype='<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">';
Graph.svgFileComment="\x3c!-- Do not edit this file with editors other than draw.io --\x3e";Graph.textStyles="fontFamily fontSource fontSize fontColor fontStyle textOpacity labelBorderColor labelBackgroundColor autosize resizable".split(" ");Graph.edgeStyles="edgeStyle elbow jumpStyle jumpSize startArrow startFill startSize endArrow endFill endSize flowAnimation flowAnimationDirection flowAnimationTimingFunction flowAnimationDuration sourcePerimeterSpacing targetPerimeterSpacing curved".split(" ");
@@ -2555,150 +2555,150 @@ Graph.cellStyleGroups=[["startArrow","startFill","endArrow","endFill"],["startSi
Graph.cellStyles=mxUtils.addItems(mxUtils.addItems(mxUtils.addItems("rounded shadow glass dashed dashPattern comic sketch fillWeight hachureGap hachureAngle jiggle disableMultiStroke disableMultiStrokeFill fillStyle curveFitting simplification sketchStyle pointerEvents opacity strokeColor strokeWidth align verticalAlign spacingLeft spacingRight spacingTop spacingBottom spacing arcSize comicStyle swimlaneFillColor shadowOffsetX shadowOffsetY shadowBlur shadowColor shadowOpacity".split(" "),Graph.textStyles),
Graph.edgeStyles),Graph.cellStyleGroups);Graph.layoutNames="mxHierarchicalLayout mxCircleLayout mxCompactTreeLayout mxEdgeLabelLayout mxFastOrganicLayout mxParallelEdgeLayout mxPartitionLayout mxRadialTreeLayout mxStackLayout".split(" ");
Graph.createOffscreenGraph=function(a){var b=new Graph(document.createElement("div"));b.stylesheet.styles=mxUtils.clone(a.styles);b.resetViewOnRootChange=!1;b.setConnectable(!1);b.gridEnabled=!1;b.autoScroll=!1;b.setTooltips(!1);b.setEnabled(!1);b.container.style.visibility="hidden";b.container.style.position="absolute";b.container.style.overflow="hidden";b.container.style.height="1px";b.container.style.width="1px";return b};
-Graph.createSvgImage=function(a,b,d,e,g){d=unescape(encodeURIComponent(Graph.svgDoctype+'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="'+a+'px" height="'+b+'px" '+(null!=e&&null!=g?'viewBox="0 0 '+e+" "+g+'" ':"")+'version="1.1">'+d+"</svg>"));return new mxImage("data:image/svg+xml;base64,"+(window.btoa?btoa(d):Base64.encode(d,!0)),a,b)};
+Graph.createSvgImage=function(a,b,e,f,h){e=unescape(encodeURIComponent(Graph.svgDoctype+'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="'+a+'px" height="'+b+'px" '+(null!=f&&null!=h?'viewBox="0 0 '+f+" "+h+'" ':"")+'version="1.1">'+e+"</svg>"));return new mxImage("data:image/svg+xml;base64,"+(window.btoa?btoa(e):Base64.encode(e,!0)),a,b)};
Graph.createSvgDarkModeCss=function(a){a=null!=a?"."+a:"";return"svg"+a+":not(mjx-container > svg) { filter: invert(100%) hue-rotate(180deg); }\nsvg"+a+" foreignObject img,\nsvg"+a+" image:not(svg"+a+" switch image),\nsvg"+a+" svg:not(mjx-container > svg)\n{ filter: invert(100%) hue-rotate(180deg) }"};
-Graph.createSvgDarkModeStyle=function(a,b,d,e){var g=mxUtils.createElementNs(a,mxConstants.NS_SVG,"style");null!=a.setAttributeNS?g.setAttributeNS("type","text/css"):g.setAttribute("type","text/css");var f=Graph.createSvgDarkModeCss(d);"auto"==b&&(f="@media (prefers-color-scheme: dark) {\n"+f+"\n",null!=e&&(f+="svg"+(null!=d?"."+d:"")+" { background-color: "+Graph.invertColor(e)+" !important; }\n"),f+="}");g.appendChild(a.createTextNode(f));return g};
+Graph.createSvgDarkModeStyle=function(a,b,e,f){var h=mxUtils.createElementNs(a,mxConstants.NS_SVG,"style");null!=a.setAttributeNS?h.setAttributeNS("type","text/css"):h.setAttribute("type","text/css");var d=Graph.createSvgDarkModeCss(e);"auto"==b&&(d="@media (prefers-color-scheme: dark) {\n"+d+"\n",null!=f&&(d+="svg"+(null!=e?"."+e:"")+" { background-color: "+Graph.invertColor(f)+" !important; }\n"),d+="}");h.appendChild(a.createTextNode(d));return h};
Graph.invertColor=function(a,b){null==b&&(b=document.createElement("canvas"),b.width=1,b.height=1,b=b.getContext("2d"),b.filter="invert(100%) hue-rotate(180deg)");b.fillStyle=a;b.fillRect(0,0,1,1);a=b.getImageData(0,0,1,1);return"#"+(16777216|a.data[2]|a.data[1]<<8|a.data[0]<<16).toString(16).substring(1)};
Graph.getSvgFromDataUri=function(a){return null!=a&&"data:image/svg"==a.substring(0,14)?Graph.xmlDeclaration+"\n"+Graph.svgDoctype+"\n"+decodeURIComponent(escape(atob(a.substring(a.indexOf(",")+1)))):null};
-Graph.createSvgNode=function(a,b,d,e,g){var f=mxUtils.createXmlDocument(),h=null!=f.createElementNS?f.createElementNS(mxConstants.NS_SVG,"svg"):f.createElement("svg");null!=g&&(null!=h.style?h.style.backgroundColor=g:h.setAttribute("style","background-color:"+g));null==f.createElementNS?(h.setAttribute("xmlns",mxConstants.NS_SVG),h.setAttribute("xmlns:xlink",mxConstants.NS_XLINK)):h.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink",mxConstants.NS_XLINK);h.setAttribute("version","1.1");
-h.setAttribute("width",d+"px");h.setAttribute("height",e+"px");h.setAttribute("viewBox",a+" "+b+" "+d+" "+e);f.appendChild(h);return h};
-Graph.htmlToPng=function(a,b,d,e,g,f){g=null!=g?g:"";f=null!=f?f:Editor.htmlRasterScale;var h=document.createElement("canvas");h.width=b*f;h.height=d*f;var n=document.createElement("img");n.onload=mxUtils.bind(this,function(){try{var l=h.getContext("2d");l.scale(f,f);l.drawImage(n,0,0);e(h.toDataURL())}catch(p){e(null)}});var q=mxUtils.createXmlDocument();q=null!=q.createElementNS?q.createElementNS(mxConstants.NS_SVG,"svg"):q.createElement("svg");a=(new mxSvgCanvas2D(q)).convertHtml(a);n.onerror=
-function(l){e(null)};n.src="data:image/svg+xml,"+encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" width="'+b+'" height="'+d+'">'+(""!=g?'<defs xmlns="http://www.w3.org/2000/svg"><style type="text/css">'+g+"</style></defs>":"")+'<foreignObject width="100%" height="100%"><div xmlns="http://www.w3.org/1999/xhtml">'+a+"</div></foreignObject></svg>")};Graph.zapGremlins=function(a){return mxUtils.zapGremlins(a)};
-Graph.stringToBytes=function(a){for(var b=Array(a.length),d=0;d<a.length;d++)b[d]=a.charCodeAt(d);return b};Graph.bytesToString=function(a){for(var b=Array(a.length),d=0;d<a.length;d++)b[d]=String.fromCharCode(a[d]);return b.join("")};Graph.base64EncodeUnicode=function(a){return btoa(encodeURIComponent(a).replace(/%([0-9A-F]{2})/g,function(b,d){return String.fromCharCode(parseInt(d,16))}))};
-Graph.base64DecodeUnicode=function(a){return decodeURIComponent(Array.prototype.map.call(atob(a),function(b){return"%"+("00"+b.charCodeAt(0).toString(16)).slice(-2)}).join(""))};Graph.compressNode=function(a,b){a=mxUtils.getXml(a);return Graph.compress(b?a:Graph.zapGremlins(a))};Graph.arrayBufferToString=function(a){var b="";a=new Uint8Array(a);for(var d=a.byteLength,e=0;e<d;e++)b+=String.fromCharCode(a[e]);return b};Graph.stringToArrayBuffer=function(a){return Uint8Array.from(a,function(b){return b.charCodeAt(0)})};
-Graph.arrayBufferIndexOfString=function(a,b,d){var e=b.charCodeAt(0),g=1,f=-1;for(d=d||0;d<a.byteLength;d++)if(a[d]==e){f=d;break}for(d=f+1;-1<f&&d<a.byteLength&&d<f+b.length-1;d++){if(a[d]!=b.charCodeAt(g))return Graph.arrayBufferIndexOfString(a,b,f+1);g++}return g==b.length-1?f:-1};Graph.compress=function(a,b){if(null==a||0==a.length||"undefined"===typeof pako)return a;a=b?pako.deflate(encodeURIComponent(a)):pako.deflateRaw(encodeURIComponent(a));return btoa(Graph.arrayBufferToString(new Uint8Array(a)))};
-Graph.decompress=function(a,b,d){if(null==a||0==a.length||"undefined"===typeof pako)return a;a=Graph.stringToArrayBuffer(atob(a));b=decodeURIComponent(b?pako.inflate(a,{to:"string"}):pako.inflateRaw(a,{to:"string"}));return d?b:Graph.zapGremlins(b)};
-Graph.fadeNodes=function(a,b,d,e,g){g=null!=g?g:1E3;Graph.setTransitionForNodes(a,null);Graph.setOpacityForNodes(a,b);window.setTimeout(function(){Graph.setTransitionForNodes(a,"all "+g+"ms ease-in-out");Graph.setOpacityForNodes(a,d);window.setTimeout(function(){Graph.setTransitionForNodes(a,null);null!=e&&e()},g)},0)};
-Graph.exploreFromCell=function(a,b,d){pageSize=null!=d&&null!=d.pageSize?d.pageSize:8;minSize=null!=d&&null!=d.minSize?d.minSize:180;(function(e,g){function f(p,w){if(p.getModel().isVertex(w)){var z=p.container.scrollWidth/2,C=p.container.scrollHeight/2;p.rootCell=w.referenceCell||w;p.getModel().beginUpdate();try{for(var F=w.referenceCell||w,D=e.model.getCell(F.sourceCellId),G=e.getEdges(D,null,!0,!0,!1,!0),K=[],I=0;I<G.length;I++)null!=G[I].getTerminal(!0)&&null!=G[I].getTerminal(!1)&&e.isCellVisible(G[I])&&
-!e.isEdgeIgnored(G[I])&&e.isCellVisible(G[I].getTerminal(!0))&&e.isCellVisible(G[I].getTerminal(!1))&&e.isCellVisible(e.getLayerForCell(G[I]))&&K.push(G[I]);K=G=K;if(null!=w.startIndex||0<pageSize&&G.length>pageSize){var O=w.startIndex||0;K=G.slice(Math.max(0,O),Math.min(G.length,O+pageSize))}K=e.getOpposites(K,D).concat(K);var H=p.cloneCells(K);for(I=0;I<K.length;I++)if(H[I].sourceCellId=K[I].id,p.model.isEdge(H[I]))for(H[I].geometry.x=0,H[I].geometry.y=0,H[I].geometry.points=null,H[I].setStyle(H[I].getStyle()+
-";curved=1;noEdgeStyle=1;entryX=none;entryY=none;exitX=none;exitY=none;labelBackgroundColor=#ffffffc0;textOpacity=100;"),H[I].setTerminal(F,null==H[I].getTerminal(!0)),D=0;D<H[I].getChildCount();D++){var Z=H[I].getChildAt(D);null!=Z.geometry&&Z.geometry.relative&&(Z.setStyle(Z.getStyle()+";labelBackgroundColor=#ffffffc0;textOpacity=100;"),Z.geometry.offset=new mxPoint(0,0),Z.geometry.y=0,Z.geometry.x=.5>Z.geometry.x?-.8:.5<Z.geometry.x?.8:0)}if(0<w.startIndex){var S=p.createVertex(null,null,mxResources.get("previousPage")+
-" ("+Math.ceil((w.startIndex||0)/pageSize)+"/"+Math.ceil(G.length/pageSize)+")",0,0,120,30,"fillColor=green;fontColor=white;strokeColor=green;rounded=1;");S.referenceCell=F;S.startIndex=Math.max(0,(w.startIndex||0)-pageSize);H.splice(0,0,S)}if(G.length>(w.startIndex||0)+pageSize){var X=p.createVertex(null,null,mxResources.get("nextPage")+" ("+(Math.ceil((w.startIndex||0)/pageSize)+2)+"/"+Math.ceil(G.length/pageSize)+")",0,0,120,30,"fillColor=green;fontColor=white;strokeColor=green;rounded=1;");X.referenceCell=
-F;X.startIndex=(w.startIndex||0)+pageSize;H.splice(0,0,X)}for(var Y in p.getModel().cells){var M=p.getModel().getCell(Y);M!=p.rootCell&&!p.getModel().isAncestor(p.rootCell,M)&&p.getModel().isVertex(M)&&p.removeCells([M])}p.addCells(H);var U=p.getModel().getGeometry(p.rootCell);null!=U&&(U=U.clone(),U.x=z-U.width/2,U.y=C-U.height/3,p.getModel().setGeometry(p.rootCell,U));w=[];for(Y in p.getModel().cells)M=p.getModel().getCell(Y),M!=p.rootCell&&p.getModel().isVertex(M)&&p.getModel().getParent(M)==p.getDefaultParent()&&
-(w.push(M),U=p.getModel().getGeometry(M),null!=U&&(U.x=z-U.width/2,U.y=C-U.height/2));var ba=w.length,ja=2*Math.PI/ba,pa=Math.max(minSize,Math.min(p.container.scrollWidth/2.5-80,p.container.scrollHeight/2.5-80));for(z=0;z<ba;z++)U=p.getModel().getGeometry(w[z]),null!=U&&(U=U.clone(),U.x+=pa*Math.sin(z*ja),U.y+=pa*Math.cos(z*ja),p.getModel().setGeometry(w[z],U))}finally{p.getModel().endUpdate()}}}var h=document.createElement("div");h.style.position="absolute";h.style.display="block";h.style.background=
-Editor.isDarkMode()?Editor.darkColor:"#ffffff";h.style.width="100%";h.style.height="100%";h.style.left="0px";h.style.top="0px";h.style.zIndex=2;var n=document.createElement("img");n.setAttribute("src",Editor.closeBlackImage);n.style.position="absolute";n.style.cursor="pointer";n.style.right="10px";n.style.top="10px";h.appendChild(n);var q=document.createElement("div");q.style.position="absolute";q.style.cursor="pointer";q.style.right="38px";q.style.top="14px";q.style.textAlign="right";q.style.verticalAlign=
-"top";mxUtils.write(q,mxResources.get("close"));h.appendChild(q);document.body.appendChild(h);var l=function(p){27==p.keyCode&&n.click()};mxEvent.addListener(document,"keydown",l);(function(p){if(mxClient.isBrowserSupported()){var w=new Graph(p);w.keepEdgesInBackground=!0;w.isCellResizable=function(){return!1};w.isCellRotatable=function(){return!1};w.getCursorForCell=function(K){return this.model.isVertex(K)?"pointer":null};w.getFoldingImage=function(){return null};var z=function(){mxEvent.removeListener(document,
-"keydown",l);p.parentNode.removeChild(p);e.scrollCellToVisible(g)};mxEvent.addListener(n,"click",z);mxEvent.addListener(q,"click",z);w.setEnabled(!1);var C=w.click;w.click=function(K){var I=K.getCell(),O=null!=I?null!=I.referenceCell?I.referenceCell:I:null;null!=I&&w.rootCell!=I&&0<w.getEdges(O).length?f(w,I):C.apply(this,arguments)};z=w.container.scrollWidth/2;var F=w.container.scrollHeight/3;w.model.beginUpdate();var D=w.importCells([g])[0];D.sourceCellId=g.id;D.geometry.x=z-D.geometry.width/2;
-D.geometry.y=F-D.geometry.height/2;w.model.endUpdate();var G=!1;w.getModel().addListener(mxEvent.CHANGE,function(K,I){G||(K=I.getProperty("edit").changes,mxText.prototype.enableBoundingBox=!1,w.labelsVisible=!1,G=!0,mxEffects.animateChanges(w,K,function(){var O=new mxParallelEdgeLayout(w);O.spacing=60;var H=O.layout;O.layout=function(Z){O.spacing=Math.min(60,Math.max(30,60-5*Z.length));H.apply(this,arguments)};O.execute(w.getDefaultParent());mxText.prototype.enableBoundingBox=!0;w.labelsVisible=!0;
-w.tooltipHandler.hide();w.refresh();G=!1}))});f(w,D)}else mxUtils.error("Browser is not supported!",200,!1)})(h)})(a,b)};Graph.removeKeys=function(a,b){for(var d in a)b(d)&&delete a[d]};Graph.setTransitionForNodes=function(a,b){for(var d=0;d<a.length;d++)mxUtils.setPrefixedStyle(a[d].style,"transition",b)};Graph.setOpacityForNodes=function(a,b){for(var d=0;d<a.length;d++)a[d].style.opacity=b};
-Graph.removePasteFormatting=function(a,b){for(;null!=a;){null!=a.firstChild&&Graph.removePasteFormatting(a.firstChild,!0);var d=a.nextSibling;if(a.nodeType==mxConstants.NODETYPE_ELEMENT&&null!=a.style){"#000000"==a.style.color&&(a.style.color="");if("SPAN"==a.nodeName&&"Apple-tab-span"==a.className){var e=Graph.createTabNode(4);a.parentNode.replaceChild(e,a);a=e}if("P"==a.nodeName&&"p1"==a.className){for(;null!=a.firstChild;)a.parentNode.insertBefore(a.firstChild,a);null!=d&&"P"==d.nodeName&&"p1"==
-d.className&&a.parentNode.insertBefore(a.ownerDocument.createElement("br"),a);a.parentNode.removeChild(a)}!b&&null!=a.innerHTML&&0<=a.innerHTML.indexOf("\t")&&(e=Graph.createTabNode(4),a.innerHTML=a.innerHTML.replace(/\t/g,e.outerHTML))}a=d}};Graph.createTabNode=function(a){var b="\t";if(null!=a)for(b="";0<a;)b+=" ",a--;a=document.createElement("span");a.style.whiteSpace="pre";a.appendChild(document.createTextNode(b));return a};Graph.sanitizeHtml=function(a,b){return Graph.domPurify(a,!1)};
+Graph.createSvgNode=function(a,b,e,f,h){var d=mxUtils.createXmlDocument(),g=null!=d.createElementNS?d.createElementNS(mxConstants.NS_SVG,"svg"):d.createElement("svg");null!=h&&(null!=g.style?g.style.backgroundColor=h:g.setAttribute("style","background-color:"+h));null==d.createElementNS?(g.setAttribute("xmlns",mxConstants.NS_SVG),g.setAttribute("xmlns:xlink",mxConstants.NS_XLINK)):g.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink",mxConstants.NS_XLINK);g.setAttribute("version","1.1");
+g.setAttribute("width",e+"px");g.setAttribute("height",f+"px");g.setAttribute("viewBox",a+" "+b+" "+e+" "+f);d.appendChild(g);return g};
+Graph.htmlToPng=function(a,b,e,f,h,d){h=null!=h?h:"";d=null!=d?d:Editor.htmlRasterScale;var g=document.createElement("canvas");g.width=b*d;g.height=e*d;var n=document.createElement("img");n.onload=mxUtils.bind(this,function(){try{var k=g.getContext("2d");k.scale(d,d);k.drawImage(n,0,0);f(g.toDataURL())}catch(p){f(null)}});var q=mxUtils.createXmlDocument();q=null!=q.createElementNS?q.createElementNS(mxConstants.NS_SVG,"svg"):q.createElement("svg");a=(new mxSvgCanvas2D(q)).convertHtml(a);n.onerror=
+function(k){f(null)};n.src="data:image/svg+xml,"+encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" width="'+b+'" height="'+e+'">'+(""!=h?'<defs xmlns="http://www.w3.org/2000/svg"><style type="text/css">'+h+"</style></defs>":"")+'<foreignObject width="100%" height="100%"><div xmlns="http://www.w3.org/1999/xhtml">'+a+"</div></foreignObject></svg>")};Graph.zapGremlins=function(a){return mxUtils.zapGremlins(a)};
+Graph.stringToBytes=function(a){for(var b=Array(a.length),e=0;e<a.length;e++)b[e]=a.charCodeAt(e);return b};Graph.bytesToString=function(a){for(var b=Array(a.length),e=0;e<a.length;e++)b[e]=String.fromCharCode(a[e]);return b.join("")};Graph.base64EncodeUnicode=function(a){return btoa(encodeURIComponent(a).replace(/%([0-9A-F]{2})/g,function(b,e){return String.fromCharCode(parseInt(e,16))}))};
+Graph.base64DecodeUnicode=function(a){return decodeURIComponent(Array.prototype.map.call(atob(a),function(b){return"%"+("00"+b.charCodeAt(0).toString(16)).slice(-2)}).join(""))};Graph.compressNode=function(a,b){a=mxUtils.getXml(a);return Graph.compress(b?a:Graph.zapGremlins(a))};Graph.arrayBufferToString=function(a){var b="";a=new Uint8Array(a);for(var e=a.byteLength,f=0;f<e;f++)b+=String.fromCharCode(a[f]);return b};Graph.stringToArrayBuffer=function(a){return Uint8Array.from(a,function(b){return b.charCodeAt(0)})};
+Graph.arrayBufferIndexOfString=function(a,b,e){var f=b.charCodeAt(0),h=1,d=-1;for(e=e||0;e<a.byteLength;e++)if(a[e]==f){d=e;break}for(e=d+1;-1<d&&e<a.byteLength&&e<d+b.length-1;e++){if(a[e]!=b.charCodeAt(h))return Graph.arrayBufferIndexOfString(a,b,d+1);h++}return h==b.length-1?d:-1};Graph.compress=function(a,b){if(null==a||0==a.length||"undefined"===typeof pako)return a;a=b?pako.deflate(encodeURIComponent(a)):pako.deflateRaw(encodeURIComponent(a));return btoa(Graph.arrayBufferToString(new Uint8Array(a)))};
+Graph.decompress=function(a,b,e){if(null==a||0==a.length||"undefined"===typeof pako)return a;a=Graph.stringToArrayBuffer(atob(a));b=decodeURIComponent(b?pako.inflate(a,{to:"string"}):pako.inflateRaw(a,{to:"string"}));return e?b:Graph.zapGremlins(b)};
+Graph.fadeNodes=function(a,b,e,f,h){h=null!=h?h:1E3;Graph.setTransitionForNodes(a,null);Graph.setOpacityForNodes(a,b);window.setTimeout(function(){Graph.setTransitionForNodes(a,"all "+h+"ms ease-in-out");Graph.setOpacityForNodes(a,e);window.setTimeout(function(){Graph.setTransitionForNodes(a,null);null!=f&&f()},h)},0)};
+Graph.exploreFromCell=function(a,b,e){pageSize=null!=e&&null!=e.pageSize?e.pageSize:8;minSize=null!=e&&null!=e.minSize?e.minSize:180;(function(f,h){function d(p,w){if(p.getModel().isVertex(w)){var z=p.container.scrollWidth/2,C=p.container.scrollHeight/2;p.rootCell=w.referenceCell||w;p.getModel().beginUpdate();try{for(var F=w.referenceCell||w,D=f.model.getCell(F.sourceCellId),H=f.getEdges(D,null,!0,!0,!1,!0),K=[],G=0;G<H.length;G++)null!=H[G].getTerminal(!0)&&null!=H[G].getTerminal(!1)&&f.isCellVisible(H[G])&&
+!f.isEdgeIgnored(H[G])&&f.isCellVisible(H[G].getTerminal(!0))&&f.isCellVisible(H[G].getTerminal(!1))&&f.isCellVisible(f.getLayerForCell(H[G]))&&K.push(H[G]);K=H=K;if(null!=w.startIndex||0<pageSize&&H.length>pageSize){var P=w.startIndex||0;K=H.slice(Math.max(0,P),Math.min(H.length,P+pageSize))}K=f.getOpposites(K,D).concat(K);var I=p.cloneCells(K);for(G=0;G<K.length;G++)if(I[G].sourceCellId=K[G].id,p.model.isEdge(I[G]))for(I[G].geometry.x=0,I[G].geometry.y=0,I[G].geometry.points=null,I[G].setStyle(I[G].getStyle()+
+";curved=1;noEdgeStyle=1;entryX=none;entryY=none;exitX=none;exitY=none;labelBackgroundColor=#ffffffc0;textOpacity=100;"),I[G].setTerminal(F,null==I[G].getTerminal(!0)),D=0;D<I[G].getChildCount();D++){var Z=I[G].getChildAt(D);null!=Z.geometry&&Z.geometry.relative&&(Z.setStyle(Z.getStyle()+";labelBackgroundColor=#ffffffc0;textOpacity=100;"),Z.geometry.offset=new mxPoint(0,0),Z.geometry.y=0,Z.geometry.x=.5>Z.geometry.x?-.8:.5<Z.geometry.x?.8:0)}if(0<w.startIndex){var S=p.createVertex(null,null,mxResources.get("previousPage")+
+" ("+Math.ceil((w.startIndex||0)/pageSize)+"/"+Math.ceil(H.length/pageSize)+")",0,0,120,30,"fillColor=green;fontColor=white;strokeColor=green;rounded=1;");S.referenceCell=F;S.startIndex=Math.max(0,(w.startIndex||0)-pageSize);I.splice(0,0,S)}if(H.length>(w.startIndex||0)+pageSize){var Y=p.createVertex(null,null,mxResources.get("nextPage")+" ("+(Math.ceil((w.startIndex||0)/pageSize)+2)+"/"+Math.ceil(H.length/pageSize)+")",0,0,120,30,"fillColor=green;fontColor=white;strokeColor=green;rounded=1;");Y.referenceCell=
+F;Y.startIndex=(w.startIndex||0)+pageSize;I.splice(0,0,Y)}for(var V in p.getModel().cells){var L=p.getModel().getCell(V);L!=p.rootCell&&!p.getModel().isAncestor(p.rootCell,L)&&p.getModel().isVertex(L)&&p.removeCells([L])}p.addCells(I);var U=p.getModel().getGeometry(p.rootCell);null!=U&&(U=U.clone(),U.x=z-U.width/2,U.y=C-U.height/3,p.getModel().setGeometry(p.rootCell,U));w=[];for(V in p.getModel().cells)L=p.getModel().getCell(V),L!=p.rootCell&&p.getModel().isVertex(L)&&p.getModel().getParent(L)==p.getDefaultParent()&&
+(w.push(L),U=p.getModel().getGeometry(L),null!=U&&(U.x=z-U.width/2,U.y=C-U.height/2));var ba=w.length,ja=2*Math.PI/ba,sa=Math.max(minSize,Math.min(p.container.scrollWidth/2.5-80,p.container.scrollHeight/2.5-80));for(z=0;z<ba;z++)U=p.getModel().getGeometry(w[z]),null!=U&&(U=U.clone(),U.x+=sa*Math.sin(z*ja),U.y+=sa*Math.cos(z*ja),p.getModel().setGeometry(w[z],U))}finally{p.getModel().endUpdate()}}}var g=document.createElement("div");g.style.position="absolute";g.style.display="block";g.style.background=
+Editor.isDarkMode()?Editor.darkColor:"#ffffff";g.style.width="100%";g.style.height="100%";g.style.left="0px";g.style.top="0px";g.style.zIndex=2;var n=document.createElement("img");n.setAttribute("src",Editor.closeBlackImage);n.style.position="absolute";n.style.cursor="pointer";n.style.right="10px";n.style.top="10px";g.appendChild(n);var q=document.createElement("div");q.style.position="absolute";q.style.cursor="pointer";q.style.right="38px";q.style.top="14px";q.style.textAlign="right";q.style.verticalAlign=
+"top";mxUtils.write(q,mxResources.get("close"));g.appendChild(q);document.body.appendChild(g);var k=function(p){27==p.keyCode&&n.click()};mxEvent.addListener(document,"keydown",k);(function(p){if(mxClient.isBrowserSupported()){var w=new Graph(p);w.keepEdgesInBackground=!0;w.isCellResizable=function(){return!1};w.isCellRotatable=function(){return!1};w.getCursorForCell=function(K){return this.model.isVertex(K)?"pointer":null};w.getFoldingImage=function(){return null};var z=function(){mxEvent.removeListener(document,
+"keydown",k);p.parentNode.removeChild(p);f.scrollCellToVisible(h)};mxEvent.addListener(n,"click",z);mxEvent.addListener(q,"click",z);w.setEnabled(!1);var C=w.click;w.click=function(K){var G=K.getCell(),P=null!=G?null!=G.referenceCell?G.referenceCell:G:null;null!=G&&w.rootCell!=G&&0<w.getEdges(P).length?d(w,G):C.apply(this,arguments)};z=w.container.scrollWidth/2;var F=w.container.scrollHeight/3;w.model.beginUpdate();var D=w.importCells([h])[0];D.sourceCellId=h.id;D.geometry.x=z-D.geometry.width/2;
+D.geometry.y=F-D.geometry.height/2;w.model.endUpdate();var H=!1;w.getModel().addListener(mxEvent.CHANGE,function(K,G){H||(K=G.getProperty("edit").changes,mxText.prototype.enableBoundingBox=!1,w.labelsVisible=!1,H=!0,mxEffects.animateChanges(w,K,function(){var P=new mxParallelEdgeLayout(w);P.spacing=60;var I=P.layout;P.layout=function(Z){P.spacing=Math.min(60,Math.max(30,60-5*Z.length));I.apply(this,arguments)};P.execute(w.getDefaultParent());mxText.prototype.enableBoundingBox=!0;w.labelsVisible=!0;
+w.tooltipHandler.hide();w.refresh();H=!1}))});d(w,D)}else mxUtils.error("Browser is not supported!",200,!1)})(g)})(a,b)};Graph.removeKeys=function(a,b){for(var e in a)b(e)&&delete a[e]};Graph.setTransitionForNodes=function(a,b){for(var e=0;e<a.length;e++)mxUtils.setPrefixedStyle(a[e].style,"transition",b)};Graph.setOpacityForNodes=function(a,b){for(var e=0;e<a.length;e++)a[e].style.opacity=b};
+Graph.removePasteFormatting=function(a,b){for(;null!=a;){null!=a.firstChild&&Graph.removePasteFormatting(a.firstChild,!0);var e=a.nextSibling;if(a.nodeType==mxConstants.NODETYPE_ELEMENT&&null!=a.style){"#000000"==a.style.color&&(a.style.color="");if("SPAN"==a.nodeName&&"Apple-tab-span"==a.className){var f=Graph.createTabNode(4);a.parentNode.replaceChild(f,a);a=f}if("P"==a.nodeName&&"p1"==a.className){for(;null!=a.firstChild;)a.parentNode.insertBefore(a.firstChild,a);null!=e&&"P"==e.nodeName&&"p1"==
+e.className&&a.parentNode.insertBefore(a.ownerDocument.createElement("br"),a);a.parentNode.removeChild(a)}!b&&null!=a.innerHTML&&0<=a.innerHTML.indexOf("\t")&&(f=Graph.createTabNode(4),a.innerHTML=a.innerHTML.replace(/\t/g,f.outerHTML))}a=e}};Graph.createTabNode=function(a){var b="\t";if(null!=a)for(b="";0<a;)b+=" ",a--;a=document.createElement("span");a.style.whiteSpace="pre";a.appendChild(document.createTextNode(b));return a};Graph.sanitizeHtml=function(a,b){return Graph.domPurify(a,!1)};
Graph.sanitizeLink=function(a){if(null==a)return null;var b=document.createElement("a");b.setAttribute("href",a);Graph.sanitizeNode(b);return b.getAttribute("href")};Graph.sanitizeNode=function(a){return Graph.domPurify(a,!0)};DOMPurify.addHook("afterSanitizeAttributes",function(a){"use"==a.nodeName&&(null!=a.getAttribute("xlink:href")&&!a.getAttribute("xlink:href").startsWith("#")||null!=a.getAttribute("href")&&!a.getAttribute("href").startsWith("#"))&&a.remove()});
Graph.domPurify=function(a,b){window.DOM_PURIFY_CONFIG.IN_PLACE=b;return DOMPurify.sanitize(a,window.DOM_PURIFY_CONFIG)};
-Graph.clipSvgDataUri=function(a,b){if(!mxClient.IS_IE&&!mxClient.IS_IE11&&null!=a&&"data:image/svg+xml;base64,"==a.substring(0,26))try{var d=document.createElement("div");d.style.position="absolute";d.style.visibility="hidden";var e=decodeURIComponent(escape(atob(a.substring(26)))),g=e.indexOf("<svg");if(0<=g){d.innerHTML=Graph.sanitizeHtml(e.substring(g));var f=d.getElementsByTagName("svg");if(0<f.length){if(b||null!=f[0].getAttribute("preserveAspectRatio")){document.body.appendChild(d);try{e=b=
-1;var h=f[0].getAttribute("width"),n=f[0].getAttribute("height");h=null!=h&&"%"!=h.charAt(h.length-1)?parseFloat(h):NaN;n=null!=n&&"%"!=n.charAt(n.length-1)?parseFloat(n):NaN;var q=f[0].getAttribute("viewBox");g=null;if(null!=q&&!isNaN(h)&&!isNaN(n)){var l=q.split(" ");4<=q.length&&(b=parseFloat(l[2])/h,e=parseFloat(l[3])/n,g=new mxRectangle(parseFloat(l[0]),parseFloat(l[1]),parseFloat(l[2]),parseFloat(l[3])))}var p=f[0].getBBox();0<p.width&&0<p.height&&(null==g||p.width*p.height<g.width*g.height*
-.7)&&(d.getElementsByTagName("svg")[0].setAttribute("viewBox",p.x+" "+p.y+" "+p.width+" "+p.height),d.getElementsByTagName("svg")[0].setAttribute("width",p.width/b),d.getElementsByTagName("svg")[0].setAttribute("height",p.height/e))}catch(w){}finally{document.body.removeChild(d)}}a=Editor.createSvgDataUri(mxUtils.getXml(f[0]))}}}catch(w){}return a};
-Graph.createRemoveIcon=function(a,b){var d=document.createElement("img");d.setAttribute("src",Dialog.prototype.clearImage);d.setAttribute("title",a);d.setAttribute("width","13");d.setAttribute("height","10");d.style.marginLeft="4px";d.style.marginBottom="-1px";d.style.cursor="pointer";mxEvent.addListener(d,"click",b);return d};Graph.isPageLink=function(a){return null!=a&&"data:page/id,"==a.substring(0,13)};
-Graph.rewritePageLinks=function(a,b){function d(g,f){var h=g.getAttribute(f);if(null!=h){Graph.isPageLink(h)&&(h="#"+h.substring(h.indexOf(":")+1));var n=f;b&&"xlink:href"==f&&(g.removeAttribute(f),n="href");g.setAttribute(n,h)}}a=a.getElementsByTagName("a");if(null!=a)for(var e=0;e<a.length;e++)d(a[e],"href"),d(a[e],"xlink:href")};Graph.isLink=function(a){return null!=a&&a.match(/(http(s)?:\/\/.)?(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/g)};
+Graph.clipSvgDataUri=function(a,b){if(!mxClient.IS_IE&&!mxClient.IS_IE11&&null!=a&&"data:image/svg+xml;base64,"==a.substring(0,26))try{var e=document.createElement("div");e.style.position="absolute";e.style.visibility="hidden";var f=decodeURIComponent(escape(atob(a.substring(26)))),h=f.indexOf("<svg");if(0<=h){e.innerHTML=Graph.sanitizeHtml(f.substring(h));var d=e.getElementsByTagName("svg");if(0<d.length){if(b||null!=d[0].getAttribute("preserveAspectRatio")){document.body.appendChild(e);try{f=b=
+1;var g=d[0].getAttribute("width"),n=d[0].getAttribute("height");g=null!=g&&"%"!=g.charAt(g.length-1)?parseFloat(g):NaN;n=null!=n&&"%"!=n.charAt(n.length-1)?parseFloat(n):NaN;var q=d[0].getAttribute("viewBox");h=null;if(null!=q&&!isNaN(g)&&!isNaN(n)){var k=q.split(" ");4<=q.length&&(b=parseFloat(k[2])/g,f=parseFloat(k[3])/n,h=new mxRectangle(parseFloat(k[0]),parseFloat(k[1]),parseFloat(k[2]),parseFloat(k[3])))}var p=d[0].getBBox();0<p.width&&0<p.height&&(null==h||p.width*p.height<h.width*h.height*
+.7)&&(e.getElementsByTagName("svg")[0].setAttribute("viewBox",p.x+" "+p.y+" "+p.width+" "+p.height),e.getElementsByTagName("svg")[0].setAttribute("width",p.width/b),e.getElementsByTagName("svg")[0].setAttribute("height",p.height/f))}catch(w){}finally{document.body.removeChild(e)}}a=Editor.createSvgDataUri(mxUtils.getXml(d[0]))}}}catch(w){}return a};
+Graph.createRemoveIcon=function(a,b){var e=document.createElement("img");e.setAttribute("src",Dialog.prototype.clearImage);e.setAttribute("title",a);e.setAttribute("width","13");e.setAttribute("height","10");e.style.marginLeft="4px";e.style.marginBottom="-1px";e.style.cursor="pointer";mxEvent.addListener(e,"click",b);return e};Graph.isPageLink=function(a){return null!=a&&"data:page/id,"==a.substring(0,13)};
+Graph.rewritePageLinks=function(a,b){function e(h,d){var g=h.getAttribute(d);if(null!=g){Graph.isPageLink(g)&&(g="#"+g.substring(g.indexOf(":")+1));var n=d;b&&"xlink:href"==d&&(h.removeAttribute(d),n="href");h.setAttribute(n,g)}}a=a.getElementsByTagName("a");if(null!=a)for(var f=0;f<a.length;f++)e(a[f],"href"),e(a[f],"xlink:href")};Graph.isLink=function(a){return null!=a&&a.match(/(http(s)?:\/\/.)?(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/g)};
mxUtils.extend(Graph,mxGraph);Graph.prototype.minFitScale=null;Graph.prototype.maxFitScale=null;Graph.prototype.linkPolicy="frame"==urlParams.target?"blank":urlParams.target||"auto";Graph.prototype.linkTarget="frame"==urlParams.target?"_self":"_blank";Graph.prototype.linkRelation="nofollow noopener noreferrer";Graph.prototype.defaultScrollbars=!0;Graph.prototype.defaultPageVisible=!0;Graph.prototype.defaultGridEnabled="0"!=urlParams.grid;Graph.prototype.lightbox=!1;
Graph.prototype.defaultPageBackgroundColor="#ffffff";Graph.prototype.diagramBackgroundColor="#f0f0f0";Graph.prototype.enableDiagramBackground=!1;Graph.prototype.defaultPageBorderColor="#ffffff";Graph.prototype.shapeForegroundColor="#000000";Graph.prototype.shapeBackgroundColor="#ffffff";Graph.prototype.scrollTileSize=new mxRectangle(0,0,400,400);Graph.prototype.transparentBackground=!0;Graph.prototype.selectParentAfterDelete=!1;Graph.prototype.defaultEdgeLength=80;
Graph.prototype.immediateHandling=!0;Graph.prototype.connectionArrowsEnabled=!0;Graph.prototype.placeholderPattern=RegExp("%(date{.*}|[^%^{^}^ ^\"^ '^=^;]+)%","g");Graph.prototype.absoluteUrlPattern=RegExp("^(?:[a-z]+:)?//","i");Graph.prototype.defaultThemeName="default";Graph.prototype.defaultThemes={};Graph.prototype.baseUrl=null!=urlParams.base?mxUtils.removeJavascriptProtocol(decodeURIComponent(urlParams.base)):(window!=window.top?document.referrer:document.location.toString()).split("#")[0];
Graph.prototype.editAfterInsert=!1;Graph.prototype.builtInProperties=["label","tooltip","placeholders","placeholder"];Graph.prototype.standalone=!1;Graph.prototype.enableFlowAnimation=!1;Graph.prototype.roundableShapes="label rectangle internalStorage corner parallelogram swimlane triangle trapezoid ext step tee process link rhombus offPageConnector loopLimit hexagon manualInput card curlyBracket singleArrow callout doubleArrow flexArrow umlLifeline".split(" ");Graph.prototype.vertexFontSize=null;
Graph.prototype.edgeFontSize=null;
-Graph.prototype.init=function(a){mxGraph.prototype.init.apply(this,arguments);this.cellRenderer.initializeLabel=function(d,e){mxCellRenderer.prototype.initializeLabel.apply(this,arguments);var g=d.view.graph.tolerance,f=!0,h=null,n=mxUtils.bind(this,function(p){f=!0;h=new mxPoint(mxEvent.getClientX(p),mxEvent.getClientY(p))}),q=mxUtils.bind(this,function(p){f=f&&null!=h&&Math.abs(h.x-mxEvent.getClientX(p))<g&&Math.abs(h.y-mxEvent.getClientY(p))<g}),l=mxUtils.bind(this,function(p){if(f)for(var w=mxEvent.getSource(p);null!=
-w&&w!=e.node;){if("a"==w.nodeName.toLowerCase()){d.view.graph.labelLinkClicked(d,w,p);break}w=w.parentNode}});mxEvent.addGestureListeners(e.node,n,q,l);mxEvent.addListener(e.node,"click",function(p){mxEvent.consume(p)})};if(null!=this.tooltipHandler){var b=this.tooltipHandler.init;this.tooltipHandler.init=function(){b.apply(this,arguments);null!=this.div&&mxEvent.addListener(this.div,"click",mxUtils.bind(this,function(d){var e=mxEvent.getSource(d);"A"==e.nodeName&&(e=e.getAttribute("href"),null!=
-e&&this.graph.isCustomLink(e)&&(mxEvent.isTouchEvent(d)||!mxEvent.isPopupTrigger(d))&&this.graph.customLinkClicked(e)&&mxEvent.consume(d))}))}}this.initLayoutManager()};
-(function(){Graph.prototype.useCssTransforms=!1;Graph.prototype.currentScale=1;Graph.prototype.currentTranslate=new mxPoint(0,0);Graph.prototype.pasteEdgeStyle=!1;Graph.prototype.isFillState=function(h){return!this.isSpecialColor(h.style[mxConstants.STYLE_FILLCOLOR])&&"1"!=mxUtils.getValue(h.style,"lineShape",null)&&(this.model.isVertex(h.cell)||"arrow"==mxUtils.getValue(h.style,mxConstants.STYLE_SHAPE,null)||"wire"==mxUtils.getValue(h.style,mxConstants.STYLE_SHAPE,null)||"filledEdge"==mxUtils.getValue(h.style,
-mxConstants.STYLE_SHAPE,null)||"flexArrow"==mxUtils.getValue(h.style,mxConstants.STYLE_SHAPE,null)||"mxgraph.arrows2.wedgeArrow"==mxUtils.getValue(h.style,mxConstants.STYLE_SHAPE,null))};Graph.prototype.isGradientState=function(h){return this.isFillState(h)&&"wire"!=mxUtils.getValue(h.style,mxConstants.STYLE_SHAPE,null)};Graph.prototype.isStrokeState=function(h){return!0};Graph.prototype.isSpecialColor=function(h){return 0<=mxUtils.indexOf([mxConstants.STYLE_STROKECOLOR,mxConstants.STYLE_FILLCOLOR,
-"inherit","swimlane","indicated"],h)};Graph.prototype.isGlassState=function(h){h=mxUtils.getValue(h.style,mxConstants.STYLE_SHAPE,null);return"label"==h||"rectangle"==h||"internalStorage"==h||"ext"==h||"umlLifeline"==h||"swimlane"==h||"process"==h};Graph.prototype.isRoundedState=function(h){return null!=h.shape?h.shape.isRoundable():0<=mxUtils.indexOf(this.roundableShapes,mxUtils.getValue(h.style,mxConstants.STYLE_SHAPE,null))};Graph.prototype.isLineJumpState=function(h){var n=mxUtils.getValue(h.style,
-mxConstants.STYLE_SHAPE,null);return!mxUtils.getValue(h.style,mxConstants.STYLE_CURVED,!1)&&("connector"==n||"filledEdge"==n||"wire"==n)};Graph.prototype.isAutoSizeState=function(h){return"1"==mxUtils.getValue(h.style,mxConstants.STYLE_AUTOSIZE,null)};Graph.prototype.isImageState=function(h){return null!=mxUtils.getValue(h.style,mxConstants.STYLE_IMAGE,null)};Graph.prototype.isShadowState=function(h){return!0};Graph.prototype.getVerticesAndEdges=function(h,n){h=null!=h?h:!0;n=null!=n?n:!0;var q=this.model;
-return q.filterDescendants(function(l){return h&&q.isVertex(l)||n&&q.isEdge(l)},q.getRoot())};Graph.prototype.applyNewEdgeStyle=function(h,n,q){h=this.getCellStyle(h).newEdgeStyle;if(null!=h){this.model.beginUpdate();try{var l=JSON.parse(h),p;for(p in l)this.setCellStyles(p,l[p],n),"edgeStyle"==p&&"elbowEdgeStyle"==l[p]&&null!=q&&this.setCellStyles("elbow",q==mxConstants.DIRECTION_SOUTH||q==mxConstants.DIRECTION_NOTH?"vertical":"horizontal",n)}finally{this.model.endUpdate()}}};Graph.prototype.getCommonStyle=
-function(h){for(var n={},q=0;q<h.length;q++){var l=this.view.getState(h[q]);null!=l&&this.mergeStyle(l.style,n,0==q)}return n};Graph.prototype.mergeStyle=function(h,n,q){if(null!=h){var l={},p;for(p in h){var w=h[p];null!=w&&(l[p]=!0,null==n[p]&&q?n[p]=w:n[p]!=w&&delete n[p])}for(p in n)l[p]||delete n[p]}};Graph.prototype.getStartEditingCell=function(h,n){n=this.getCellStyle(h);n=parseInt(mxUtils.getValue(n,mxConstants.STYLE_STARTSIZE,0));this.isTable(h)&&(!this.isSwimlane(h)||0==n)&&""==this.getLabel(h)&&
-0<this.model.getChildCount(h)&&(h=this.model.getChildAt(h,0),n=this.getCellStyle(h),n=parseInt(mxUtils.getValue(n,mxConstants.STYLE_STARTSIZE,0)));if(this.isTableRow(h)&&(!this.isSwimlane(h)||0==n)&&""==this.getLabel(h)&&0<this.model.getChildCount(h))for(n=0;n<this.model.getChildCount(h);n++){var q=this.model.getChildAt(h,n);if(this.isCellEditable(q)){h=q;break}}return h};Graph.prototype.copyStyle=function(h){return this.getCellStyle(h,!1)};Graph.prototype.pasteStyle=function(h,n,q,l){null!=h&&(l||
-(q=null!=q?q:Graph.cellStyles,Graph.removeKeys(h,function(p){return 0>mxUtils.indexOf(q,p)})),this.updateCellStyles(h,n))};Graph.prototype.copyCellStyles=function(h,n,q,l,p,w,z){var C=!1,F=!1;if(0<h.length)for(var D=0;D<h.length&&(C=this.getModel().isVertex(h[D])||C,!(F=this.getModel().isEdge(h[D])||F)||!C);D++);else F=C=!0;C=C&&!w;F=F&&!z;for(D=0;D<n.length;D++)if(h=0<=mxUtils.indexOf(Graph.textStyles,n[D]),"strokeColor"!=n[D]||null!=q[D]&&"none"!=q[D])if(0<=mxUtils.indexOf(Graph.cellStyles,n[D])||
-"shape"==n[D])if("shape"!=n[D]&&(C||h)&&(null==q[D]?delete l[n[D]]:l[n[D]]=q[D]),F||h)null==q[D]?delete p[n[D]]:p[n[D]]=q[D]};Graph.prototype.includeDescendants=function(h){for(var n=[],q=0;q<h.length;q++)n=n.concat(this.model.getDescendants(h[q]));return n};Graph.prototype.pasteCellStyles=function(h,n,q,l,p){n=null!=n?n:this.currentVertexStyle;q=null!=q?q:this.currentEdgeStyle;p=null!=p?p:this.pasteEdgeStyle;this.model.beginUpdate();try{for(var w=0;w<h.length;w++){var z=h[w],C=this.model.getStyle(z),
-F=!1;null!=z.style&&(pairs=z.style.split(";"),F=F||0<=mxUtils.indexOf(pairs,"text"));if(F)var D=Graph.textStyles;else if(D=Graph.cellStyles.slice(),!l)for(var G=null!=C?C.split(";"):[],K=0;K<G.length;K++){var I=G[K],O=I.indexOf("=");if(0<=O){var H=I.substring(0,O),Z=mxUtils.indexOf(D,H);0<=Z&&D.splice(Z,1);for(F=0;F<Graph.cellStyleGroups.length;F++){var S=Graph.cellStyleGroups[F];if(0<=mxUtils.indexOf(S,H))for(var X=0;X<S.length;X++){var Y=mxUtils.indexOf(D,S[X]);0<=Y&&D.splice(Y,1)}}}}var M=this.model.isEdge(z);
-F=M?q:n;for(K=0;K<D.length;K++){H=D[K];var U=F[H];null!=U&&("edgeStyle"!=H||p)&&(M||!M&&0>mxUtils.indexOf(Graph.edgeStyles,H))&&(C=mxUtils.setStyle(C,H,U),"fontFamily"==H&&null==F.fontSource&&(C=mxUtils.setStyle(C,"fontSource",null)),M&&"rounded"==H&&"1"==U&&null==F.curved&&(C=mxUtils.setStyle(C,"curved",null)))}Editor.simpleLabels&&(C=mxUtils.setStyle(mxUtils.setStyle(C,"html",null),"whiteSpace",null));this.model.setStyle(z,C)}}finally{this.model.endUpdate()}return h};Graph.prototype.updateCellStyles=
-function(h,n){this.model.beginUpdate();try{for(var q=0;q<n.length;q++)if(this.model.isVertex(n[q])||this.model.isEdge(n[q])){var l=this.getCellStyle(n[q],!1),p=l[mxConstants.STYLE_PERIMETER],w=!1;for(C in h){var z=h[C];if(l[C]!=z){if(C==mxConstants.STYLE_SHAPE&&"umlLifeline"==l[C]&&"umlLifeline"!=z){w=!0;var C="participant"}this.setCellStyles(C,z,[n[q]])}}w&&this.setCellStyles(mxConstants.STYLE_PERIMETER,p,[n[q]])}}finally{this.model.endUpdate()}};Graph.prototype.isFastZoomEnabled=function(){return"nocss"!=
-urlParams.zoom&&!mxClient.NO_FO&&!mxClient.IS_EDGE&&!this.useCssTransforms&&(this.isCssTransformsSupported()||mxClient.IS_IOS)};Graph.prototype.isCssTransformsSupported=function(){return this.dialect==mxConstants.DIALECT_SVG&&!mxClient.NO_FO&&(!this.lightbox||!mxClient.IS_SF)};Graph.prototype.getCellAt=function(h,n,q,l,p,w){this.useCssTransforms&&(h=h/this.currentScale-this.currentTranslate.x,n=n/this.currentScale-this.currentTranslate.y);return this.getScaledCellAt.apply(this,arguments)};Graph.prototype.getScaledCellAt=
-function(h,n,q,l,p,w){l=null!=l?l:!0;p=null!=p?p:!0;null==q&&(q=this.getCurrentRoot(),null==q&&(q=this.getModel().getRoot()));if(null!=q)for(var z=this.model.getChildCount(q)-1;0<=z;z--){var C=this.model.getChildAt(q,z),F=this.getScaledCellAt(h,n,C,l,p,w);if(null!=F)return F;if(this.isCellVisible(C)&&(p&&this.model.isEdge(C)||l&&this.model.isVertex(C))&&(F=this.view.getState(C),null!=F&&(null==w||!w(F,h,n))&&this.intersects(F,h,n)))return C}return null};Graph.prototype.isRecursiveVertexResize=function(h){return!this.isSwimlane(h.cell)&&
-0<this.model.getChildCount(h.cell)&&!this.isCellCollapsed(h.cell)&&"1"==mxUtils.getValue(h.style,"recursiveResize","1")&&null==mxUtils.getValue(h.style,"childLayout",null)};Graph.prototype.getAbsoluteParent=function(h){for(var n=this.getCellGeometry(h);null!=n&&n.relative;)h=this.getModel().getParent(h),n=this.getCellGeometry(h);return h};Graph.prototype.isPart=function(h){return"1"==mxUtils.getValue(this.getCurrentCellStyle(h),"part","0")||this.isTableCell(h)||this.isTableRow(h)};Graph.prototype.getCompositeParents=
-function(h){for(var n=new mxDictionary,q=[],l=0;l<h.length;l++){var p=this.getCompositeParent(h[l]);this.isTableCell(p)&&(p=this.graph.model.getParent(p));this.isTableRow(p)&&(p=this.graph.model.getParent(p));null==p||n.get(p)||(n.put(p,!0),q.push(p))}return q};Graph.prototype.getReferenceTerminal=function(h){if(null!=h){var n=this.getCellGeometry(h);null!=n&&n.relative&&(h=this.model.getParent(h))}null!=h&&this.model.isEdge(h)&&(h=this.model.getParent(h));null!=h&&(h=this.getCompositeParent(h));
-return h};Graph.prototype.getCompositeParent=function(h){for(;this.isPart(h);){var n=this.model.getParent(h);if(!this.model.isVertex(n))break;h=n}return h};Graph.prototype.filterSelectionCells=function(h){var n=this.getSelectionCells();if(null!=h){for(var q=[],l=0;l<n.length;l++)h(n[l])||q.push(n[l]);n=q}return n};var a=mxGraph.prototype.scrollRectToVisible;Graph.prototype.scrollRectToVisible=function(h){if(this.useCssTransforms){var n=this.currentScale,q=this.currentTranslate;h=new mxRectangle((h.x+
-2*q.x)*n-q.x,(h.y+2*q.y)*n-q.y,h.width*n,h.height*n)}a.apply(this,arguments)};mxCellHighlight.prototype.getStrokeWidth=function(h){h=this.strokeWidth;this.graph.useCssTransforms&&(h/=this.graph.currentScale);return h};mxGraphView.prototype.getGraphBounds=function(){var h=this.graphBounds;if(this.graph.useCssTransforms){var n=this.graph.currentTranslate,q=this.graph.currentScale;h=new mxRectangle((h.x+n.x)*q,(h.y+n.y)*q,h.width*q,h.height*q)}return h};mxGraphView.prototype.viewStateChanged=function(){this.graph.useCssTransforms?
-this.validate():this.revalidate();this.graph.sizeDidChange()};var b=mxGraphView.prototype.validate;mxGraphView.prototype.validate=function(h){this.graph.useCssTransforms&&(this.graph.currentScale=this.scale,this.graph.currentTranslate.x=this.translate.x,this.graph.currentTranslate.y=this.translate.y,this.scale=1,this.translate.x=0,this.translate.y=0);b.apply(this,arguments);this.graph.useCssTransforms&&(this.graph.updateCssTransform(),this.scale=this.graph.currentScale,this.translate.x=this.graph.currentTranslate.x,
-this.translate.y=this.graph.currentTranslate.y)};var d=mxGraph.prototype.getCellsForGroup;Graph.prototype.getCellsForGroup=function(h){h=d.apply(this,arguments);for(var n=[],q=0;q<h.length;q++)this.isTableRow(h[q])||this.isTableCell(h[q])||n.push(h[q]);return n};var e=mxGraph.prototype.getCellsForUngroup;Graph.prototype.getCellsForUngroup=function(h){h=e.apply(this,arguments);for(var n=[],q=0;q<h.length;q++)this.isTable(h[q])||this.isTableRow(h[q])||this.isTableCell(h[q])||n.push(h[q]);return n};
-Graph.prototype.updateCssTransform=function(){var h=this.view.getDrawPane();if(null!=h)if(h=h.parentNode,this.useCssTransforms){var n=h.getAttribute("transform");h.setAttribute("transformOrigin","0 0");var q=Math.round(100*this.currentScale)/100;h.setAttribute("transform","scale("+q+","+q+")translate("+Math.round(100*this.currentTranslate.x)/100+","+Math.round(100*this.currentTranslate.y)/100+")");n!=h.getAttribute("transform")&&this.fireEvent(new mxEventObject("cssTransformChanged"),"transform",
-h.getAttribute("transform"))}else h.removeAttribute("transformOrigin"),h.removeAttribute("transform")};var g=mxGraphView.prototype.validateBackgroundPage;mxGraphView.prototype.validateBackgroundPage=function(){var h=this.graph.useCssTransforms,n=this.scale,q=this.translate;h&&(this.scale=this.graph.currentScale,this.translate=this.graph.currentTranslate);g.apply(this,arguments);h&&(this.scale=n,this.translate=q)};var f=mxGraph.prototype.updatePageBreaks;mxGraph.prototype.updatePageBreaks=function(h,
-n,q){var l=this.useCssTransforms,p=this.view.scale,w=this.view.translate;l&&(this.view.scale=1,this.view.translate=new mxPoint(0,0),this.useCssTransforms=!1);f.apply(this,arguments);l&&(this.view.scale=p,this.view.translate=w,this.useCssTransforms=!0)}})();Graph.prototype.isLightboxView=function(){return this.lightbox};Graph.prototype.isViewer=function(){return!1};
-Graph.prototype.labelLinkClicked=function(a,b,d){var e=b.getAttribute("href");e!=Graph.sanitizeLink(e)&&Graph.sanitizeNode(b);if(null!=e&&!this.isCustomLink(e)&&(mxEvent.isLeftMouseButton(d)&&!mxEvent.isPopupTrigger(d)||mxEvent.isTouchEvent(d))){if(!this.isEnabled()||this.isCellLocked(a.cell))a=this.isBlankLink(e)?this.linkTarget:"_top",this.openLink(this.getAbsoluteUrl(e),a);mxEvent.consume(d)}};
-Graph.prototype.openLink=function(a,b,d){var e=window;try{if(a=Graph.sanitizeLink(a),null!=a)if("_self"==b&&window!=window.top)window.location.href=a;else if(a.substring(0,this.baseUrl.length)==this.baseUrl&&"#"==a.charAt(this.baseUrl.length)&&"_top"==b&&window==window.top){var g=a.split("#")[1];window.location.hash=="#"+g&&(window.location.hash="");window.location.hash=g}else e=window.open(a,null!=b?b:"_blank",d?null:"noopener,noreferrer"),null==e||d||(e.opener=null)}catch(f){}return e};
+Graph.prototype.init=function(a){mxGraph.prototype.init.apply(this,arguments);this.cellRenderer.initializeLabel=function(e,f){mxCellRenderer.prototype.initializeLabel.apply(this,arguments);var h=e.view.graph.tolerance,d=!0,g=null,n=mxUtils.bind(this,function(p){d=!0;g=new mxPoint(mxEvent.getClientX(p),mxEvent.getClientY(p))}),q=mxUtils.bind(this,function(p){d=d&&null!=g&&Math.abs(g.x-mxEvent.getClientX(p))<h&&Math.abs(g.y-mxEvent.getClientY(p))<h}),k=mxUtils.bind(this,function(p){if(d)for(var w=mxEvent.getSource(p);null!=
+w&&w!=f.node;){if("a"==w.nodeName.toLowerCase()){e.view.graph.labelLinkClicked(e,w,p);break}w=w.parentNode}});mxEvent.addGestureListeners(f.node,n,q,k);mxEvent.addListener(f.node,"click",function(p){mxEvent.consume(p)})};if(null!=this.tooltipHandler){var b=this.tooltipHandler.init;this.tooltipHandler.init=function(){b.apply(this,arguments);null!=this.div&&mxEvent.addListener(this.div,"click",mxUtils.bind(this,function(e){var f=mxEvent.getSource(e);"A"==f.nodeName&&(f=f.getAttribute("href"),null!=
+f&&this.graph.isCustomLink(f)&&(mxEvent.isTouchEvent(e)||!mxEvent.isPopupTrigger(e))&&this.graph.customLinkClicked(f)&&mxEvent.consume(e))}))}}this.initLayoutManager()};
+(function(){Graph.prototype.useCssTransforms=!1;Graph.prototype.currentScale=1;Graph.prototype.currentTranslate=new mxPoint(0,0);Graph.prototype.pasteEdgeStyle=!1;Graph.prototype.isFillState=function(g){return!this.isSpecialColor(g.style[mxConstants.STYLE_FILLCOLOR])&&"1"!=mxUtils.getValue(g.style,"lineShape",null)&&(this.model.isVertex(g.cell)||"arrow"==mxUtils.getValue(g.style,mxConstants.STYLE_SHAPE,null)||"wire"==mxUtils.getValue(g.style,mxConstants.STYLE_SHAPE,null)||"filledEdge"==mxUtils.getValue(g.style,
+mxConstants.STYLE_SHAPE,null)||"flexArrow"==mxUtils.getValue(g.style,mxConstants.STYLE_SHAPE,null)||"mxgraph.arrows2.wedgeArrow"==mxUtils.getValue(g.style,mxConstants.STYLE_SHAPE,null))};Graph.prototype.isGradientState=function(g){return this.isFillState(g)&&"wire"!=mxUtils.getValue(g.style,mxConstants.STYLE_SHAPE,null)};Graph.prototype.isStrokeState=function(g){return!0};Graph.prototype.isSpecialColor=function(g){return 0<=mxUtils.indexOf([mxConstants.STYLE_STROKECOLOR,mxConstants.STYLE_FILLCOLOR,
+"inherit","swimlane","indicated"],g)};Graph.prototype.isGlassState=function(g){g=mxUtils.getValue(g.style,mxConstants.STYLE_SHAPE,null);return"label"==g||"rectangle"==g||"internalStorage"==g||"ext"==g||"umlLifeline"==g||"swimlane"==g||"process"==g};Graph.prototype.isRoundedState=function(g){return null!=g.shape?g.shape.isRoundable():0<=mxUtils.indexOf(this.roundableShapes,mxUtils.getValue(g.style,mxConstants.STYLE_SHAPE,null))};Graph.prototype.isLineJumpState=function(g){var n=mxUtils.getValue(g.style,
+mxConstants.STYLE_SHAPE,null);return!mxUtils.getValue(g.style,mxConstants.STYLE_CURVED,!1)&&("connector"==n||"filledEdge"==n||"wire"==n)};Graph.prototype.isAutoSizeState=function(g){return"1"==mxUtils.getValue(g.style,mxConstants.STYLE_AUTOSIZE,null)};Graph.prototype.isImageState=function(g){return null!=mxUtils.getValue(g.style,mxConstants.STYLE_IMAGE,null)};Graph.prototype.isShadowState=function(g){return!0};Graph.prototype.getVerticesAndEdges=function(g,n){g=null!=g?g:!0;n=null!=n?n:!0;var q=this.model;
+return q.filterDescendants(function(k){return g&&q.isVertex(k)||n&&q.isEdge(k)},q.getRoot())};Graph.prototype.applyNewEdgeStyle=function(g,n,q){g=this.getCellStyle(g).newEdgeStyle;if(null!=g){this.model.beginUpdate();try{var k=JSON.parse(g),p;for(p in k)this.setCellStyles(p,k[p],n),"edgeStyle"==p&&"elbowEdgeStyle"==k[p]&&null!=q&&this.setCellStyles("elbow",q==mxConstants.DIRECTION_SOUTH||q==mxConstants.DIRECTION_NOTH?"vertical":"horizontal",n)}finally{this.model.endUpdate()}}};Graph.prototype.getCommonStyle=
+function(g){for(var n={},q=0;q<g.length;q++){var k=this.view.getState(g[q]);null!=k&&this.mergeStyle(k.style,n,0==q)}return n};Graph.prototype.mergeStyle=function(g,n,q){if(null!=g){var k={},p;for(p in g){var w=g[p];null!=w&&(k[p]=!0,null==n[p]&&q?n[p]=w:n[p]!=w&&delete n[p])}for(p in n)k[p]||delete n[p]}};Graph.prototype.getStartEditingCell=function(g,n){n=this.getCellStyle(g);n=parseInt(mxUtils.getValue(n,mxConstants.STYLE_STARTSIZE,0));this.isTable(g)&&(!this.isSwimlane(g)||0==n)&&""==this.getLabel(g)&&
+0<this.model.getChildCount(g)&&(g=this.model.getChildAt(g,0),n=this.getCellStyle(g),n=parseInt(mxUtils.getValue(n,mxConstants.STYLE_STARTSIZE,0)));if(this.isTableRow(g)&&(!this.isSwimlane(g)||0==n)&&""==this.getLabel(g)&&0<this.model.getChildCount(g))for(n=0;n<this.model.getChildCount(g);n++){var q=this.model.getChildAt(g,n);if(this.isCellEditable(q)){g=q;break}}return g};Graph.prototype.copyStyle=function(g){return this.getCellStyle(g,!1)};Graph.prototype.pasteStyle=function(g,n,q,k){null!=g&&(k||
+(q=null!=q?q:Graph.cellStyles,Graph.removeKeys(g,function(p){return 0>mxUtils.indexOf(q,p)})),this.updateCellStyles(g,n))};Graph.prototype.copyCellStyles=function(g,n,q,k,p,w,z){var C=!1,F=!1;if(0<g.length)for(var D=0;D<g.length&&(C=this.getModel().isVertex(g[D])||C,!(F=this.getModel().isEdge(g[D])||F)||!C);D++);else F=C=!0;C=C&&!w;F=F&&!z;for(D=0;D<n.length;D++)if(g=0<=mxUtils.indexOf(Graph.textStyles,n[D]),"strokeColor"!=n[D]||null!=q[D]&&"none"!=q[D])if(0<=mxUtils.indexOf(Graph.cellStyles,n[D])||
+"shape"==n[D])if("shape"!=n[D]&&(C||g)&&(null==q[D]?delete k[n[D]]:k[n[D]]=q[D]),F||g)null==q[D]?delete p[n[D]]:p[n[D]]=q[D]};Graph.prototype.includeDescendants=function(g){for(var n=[],q=0;q<g.length;q++)n=n.concat(this.model.getDescendants(g[q]));return n};Graph.prototype.pasteCellStyles=function(g,n,q,k,p){n=null!=n?n:this.currentVertexStyle;q=null!=q?q:this.currentEdgeStyle;p=null!=p?p:this.pasteEdgeStyle;this.model.beginUpdate();try{for(var w=0;w<g.length;w++){var z=g[w],C=this.model.getStyle(z),
+F=!1;null!=z.style&&(pairs=z.style.split(";"),F=F||0<=mxUtils.indexOf(pairs,"text"));if(F)var D=Graph.textStyles;else if(D=Graph.cellStyles.slice(),!k)for(var H=null!=C?C.split(";"):[],K=0;K<H.length;K++){var G=H[K],P=G.indexOf("=");if(0<=P){var I=G.substring(0,P),Z=mxUtils.indexOf(D,I);0<=Z&&D.splice(Z,1);for(F=0;F<Graph.cellStyleGroups.length;F++){var S=Graph.cellStyleGroups[F];if(0<=mxUtils.indexOf(S,I))for(var Y=0;Y<S.length;Y++){var V=mxUtils.indexOf(D,S[Y]);0<=V&&D.splice(V,1)}}}}var L=this.model.isEdge(z);
+F=L?q:n;for(K=0;K<D.length;K++){I=D[K];var U=F[I];null!=U&&("edgeStyle"!=I||p)&&(L||!L&&0>mxUtils.indexOf(Graph.edgeStyles,I))&&(C=mxUtils.setStyle(C,I,U),"fontFamily"==I&&null==F.fontSource&&(C=mxUtils.setStyle(C,"fontSource",null)),L&&"rounded"==I&&"1"==U&&null==F.curved&&(C=mxUtils.setStyle(C,"curved",null)))}Editor.simpleLabels&&(C=mxUtils.setStyle(mxUtils.setStyle(C,"html",null),"whiteSpace",null));this.model.setStyle(z,C)}}finally{this.model.endUpdate()}return g};Graph.prototype.updateCellStyles=
+function(g,n){this.model.beginUpdate();try{for(var q=0;q<n.length;q++)if(this.model.isVertex(n[q])||this.model.isEdge(n[q])){var k=this.getCellStyle(n[q],!1),p=k[mxConstants.STYLE_PERIMETER],w=!1;for(C in g){var z=g[C];if(k[C]!=z){if(C==mxConstants.STYLE_SHAPE&&"umlLifeline"==k[C]&&"umlLifeline"!=z){w=!0;var C="participant"}this.setCellStyles(C,z,[n[q]])}}w&&this.setCellStyles(mxConstants.STYLE_PERIMETER,p,[n[q]])}}finally{this.model.endUpdate()}};Graph.prototype.isFastZoomEnabled=function(){return"nocss"!=
+urlParams.zoom&&!mxClient.NO_FO&&!mxClient.IS_EDGE&&!this.useCssTransforms&&(this.isCssTransformsSupported()||mxClient.IS_IOS)};Graph.prototype.isCssTransformsSupported=function(){return this.dialect==mxConstants.DIALECT_SVG&&!mxClient.NO_FO&&(!this.lightbox||!mxClient.IS_SF)};Graph.prototype.getCellAt=function(g,n,q,k,p,w){this.useCssTransforms&&(g=g/this.currentScale-this.currentTranslate.x,n=n/this.currentScale-this.currentTranslate.y);return this.getScaledCellAt.apply(this,arguments)};Graph.prototype.getScaledCellAt=
+function(g,n,q,k,p,w){k=null!=k?k:!0;p=null!=p?p:!0;null==q&&(q=this.getCurrentRoot(),null==q&&(q=this.getModel().getRoot()));if(null!=q)for(var z=this.model.getChildCount(q)-1;0<=z;z--){var C=this.model.getChildAt(q,z),F=this.getScaledCellAt(g,n,C,k,p,w);if(null!=F)return F;if(this.isCellVisible(C)&&(p&&this.model.isEdge(C)||k&&this.model.isVertex(C))&&(F=this.view.getState(C),null!=F&&(null==w||!w(F,g,n))&&this.intersects(F,g,n)))return C}return null};Graph.prototype.isRecursiveVertexResize=function(g){return!this.isSwimlane(g.cell)&&
+0<this.model.getChildCount(g.cell)&&!this.isCellCollapsed(g.cell)&&"1"==mxUtils.getValue(g.style,"recursiveResize","1")&&null==mxUtils.getValue(g.style,"childLayout",null)};Graph.prototype.getAbsoluteParent=function(g){for(var n=this.getCellGeometry(g);null!=n&&n.relative;)g=this.getModel().getParent(g),n=this.getCellGeometry(g);return g};Graph.prototype.isPart=function(g){return"1"==mxUtils.getValue(this.getCurrentCellStyle(g),"part","0")||this.isTableCell(g)||this.isTableRow(g)};Graph.prototype.getCompositeParents=
+function(g){for(var n=new mxDictionary,q=[],k=0;k<g.length;k++){var p=this.getCompositeParent(g[k]);this.isTableCell(p)&&(p=this.graph.model.getParent(p));this.isTableRow(p)&&(p=this.graph.model.getParent(p));null==p||n.get(p)||(n.put(p,!0),q.push(p))}return q};Graph.prototype.getReferenceTerminal=function(g){if(null!=g){var n=this.getCellGeometry(g);null!=n&&n.relative&&(g=this.model.getParent(g))}null!=g&&this.model.isEdge(g)&&(g=this.model.getParent(g));null!=g&&(g=this.getCompositeParent(g));
+return g};Graph.prototype.getCompositeParent=function(g){for(;this.isPart(g);){var n=this.model.getParent(g);if(!this.model.isVertex(n))break;g=n}return g};Graph.prototype.filterSelectionCells=function(g){var n=this.getSelectionCells();if(null!=g){for(var q=[],k=0;k<n.length;k++)g(n[k])||q.push(n[k]);n=q}return n};var a=mxGraph.prototype.scrollRectToVisible;Graph.prototype.scrollRectToVisible=function(g){if(this.useCssTransforms){var n=this.currentScale,q=this.currentTranslate;g=new mxRectangle((g.x+
+2*q.x)*n-q.x,(g.y+2*q.y)*n-q.y,g.width*n,g.height*n)}a.apply(this,arguments)};mxCellHighlight.prototype.getStrokeWidth=function(g){g=this.strokeWidth;this.graph.useCssTransforms&&(g/=this.graph.currentScale);return g};mxGraphView.prototype.getGraphBounds=function(){var g=this.graphBounds;if(this.graph.useCssTransforms){var n=this.graph.currentTranslate,q=this.graph.currentScale;g=new mxRectangle((g.x+n.x)*q,(g.y+n.y)*q,g.width*q,g.height*q)}return g};mxGraphView.prototype.viewStateChanged=function(){this.graph.useCssTransforms?
+this.validate():this.revalidate();this.graph.sizeDidChange()};var b=mxGraphView.prototype.validate;mxGraphView.prototype.validate=function(g){this.graph.useCssTransforms&&(this.graph.currentScale=this.scale,this.graph.currentTranslate.x=this.translate.x,this.graph.currentTranslate.y=this.translate.y,this.scale=1,this.translate.x=0,this.translate.y=0);b.apply(this,arguments);this.graph.useCssTransforms&&(this.graph.updateCssTransform(),this.scale=this.graph.currentScale,this.translate.x=this.graph.currentTranslate.x,
+this.translate.y=this.graph.currentTranslate.y)};var e=mxGraph.prototype.getCellsForGroup;Graph.prototype.getCellsForGroup=function(g){g=e.apply(this,arguments);for(var n=[],q=0;q<g.length;q++)this.isTableRow(g[q])||this.isTableCell(g[q])||n.push(g[q]);return n};var f=mxGraph.prototype.getCellsForUngroup;Graph.prototype.getCellsForUngroup=function(g){g=f.apply(this,arguments);for(var n=[],q=0;q<g.length;q++)this.isTable(g[q])||this.isTableRow(g[q])||this.isTableCell(g[q])||n.push(g[q]);return n};
+Graph.prototype.updateCssTransform=function(){var g=this.view.getDrawPane();if(null!=g)if(g=g.parentNode,this.useCssTransforms){var n=g.getAttribute("transform");g.setAttribute("transformOrigin","0 0");var q=Math.round(100*this.currentScale)/100;g.setAttribute("transform","scale("+q+","+q+")translate("+Math.round(100*this.currentTranslate.x)/100+","+Math.round(100*this.currentTranslate.y)/100+")");n!=g.getAttribute("transform")&&this.fireEvent(new mxEventObject("cssTransformChanged"),"transform",
+g.getAttribute("transform"))}else g.removeAttribute("transformOrigin"),g.removeAttribute("transform")};var h=mxGraphView.prototype.validateBackgroundPage;mxGraphView.prototype.validateBackgroundPage=function(){var g=this.graph.useCssTransforms,n=this.scale,q=this.translate;g&&(this.scale=this.graph.currentScale,this.translate=this.graph.currentTranslate);h.apply(this,arguments);g&&(this.scale=n,this.translate=q)};var d=mxGraph.prototype.updatePageBreaks;mxGraph.prototype.updatePageBreaks=function(g,
+n,q){var k=this.useCssTransforms,p=this.view.scale,w=this.view.translate;k&&(this.view.scale=1,this.view.translate=new mxPoint(0,0),this.useCssTransforms=!1);d.apply(this,arguments);k&&(this.view.scale=p,this.view.translate=w,this.useCssTransforms=!0)}})();Graph.prototype.isLightboxView=function(){return this.lightbox};Graph.prototype.isViewer=function(){return!1};
+Graph.prototype.labelLinkClicked=function(a,b,e){var f=b.getAttribute("href");f!=Graph.sanitizeLink(f)&&Graph.sanitizeNode(b);if(null!=f&&!this.isCustomLink(f)&&(mxEvent.isLeftMouseButton(e)&&!mxEvent.isPopupTrigger(e)||mxEvent.isTouchEvent(e))){if(!this.isEnabled()||this.isCellLocked(a.cell))a=this.isBlankLink(f)?this.linkTarget:"_top",this.openLink(this.getAbsoluteUrl(f),a);mxEvent.consume(e)}};
+Graph.prototype.openLink=function(a,b,e){var f=window;try{if(a=Graph.sanitizeLink(a),null!=a)if("_self"==b&&window!=window.top)window.location.href=a;else if(a.substring(0,this.baseUrl.length)==this.baseUrl&&"#"==a.charAt(this.baseUrl.length)&&"_top"==b&&window==window.top){var h=a.split("#")[1];window.location.hash=="#"+h&&(window.location.hash="");window.location.hash=h}else f=window.open(a,null!=b?b:"_blank",e?null:"noopener,noreferrer"),null==f||e||(f.opener=null)}catch(d){}return f};
Graph.prototype.getLinkTitle=function(a){return a.substring(a.lastIndexOf("/")+1)};Graph.prototype.isCustomLink=function(a){return"data:"==a.substring(0,5)};Graph.prototype.customLinkClicked=function(a,b){return!1};Graph.prototype.isExternalProtocol=function(a){return"mailto:"===a.substring(0,7)};Graph.prototype.isBlankLink=function(a){return!this.isExternalProtocol(a)&&("blank"===this.linkPolicy||"self"!==this.linkPolicy&&!this.isRelativeUrl(a)&&a.substring(0,this.domainUrl.length)!==this.domainUrl)};
Graph.prototype.isRelativeUrl=function(a){return null!=a&&!this.absoluteUrlPattern.test(a)&&"data:"!==a.substring(0,5)&&!this.isExternalProtocol(a)};Graph.prototype.getAbsoluteUrl=function(a){null!=a&&this.isRelativeUrl(a)&&(a="#"==a.charAt(0)?this.baseUrl+a:"/"==a.charAt(0)?this.domainUrl+a:this.domainPathUrl+a);return a};
-Graph.prototype.initLayoutManager=function(){this.layoutManager=new mxLayoutManager(this);this.layoutManager.hasLayout=function(a){return null!=this.graph.getCellStyle(a).childLayout};this.layoutManager.getLayout=function(a,b){var d=this.graph.model.getParent(a);if(!this.graph.isCellCollapsed(a)&&(b!=mxEvent.BEGIN_UPDATE||this.hasLayout(d,b))){a=this.graph.getCellStyle(a);if("stackLayout"==a.childLayout)return b=new mxStackLayout(this.graph,!0),b.resizeParentMax="1"==mxUtils.getValue(a,"resizeParentMax",
+Graph.prototype.initLayoutManager=function(){this.layoutManager=new mxLayoutManager(this);this.layoutManager.hasLayout=function(a){return null!=this.graph.getCellStyle(a).childLayout};this.layoutManager.getLayout=function(a,b){var e=this.graph.model.getParent(a);if(!this.graph.isCellCollapsed(a)&&(b!=mxEvent.BEGIN_UPDATE||this.hasLayout(e,b))){a=this.graph.getCellStyle(a);if("stackLayout"==a.childLayout)return b=new mxStackLayout(this.graph,!0),b.resizeParentMax="1"==mxUtils.getValue(a,"resizeParentMax",
"1"),b.horizontal="1"==mxUtils.getValue(a,"horizontalStack","1"),b.resizeParent="1"==mxUtils.getValue(a,"resizeParent","1"),b.resizeLast="1"==mxUtils.getValue(a,"resizeLast","0"),b.spacing=a.stackSpacing||b.spacing,b.border=a.stackBorder||b.border,b.marginLeft=a.marginLeft||0,b.marginRight=a.marginRight||0,b.marginTop=a.marginTop||0,b.marginBottom=a.marginBottom||0,b.allowGaps=a.allowGaps||0,b.fill=!0,b.allowGaps&&(b.gridSize=parseFloat(mxUtils.getValue(a,"stackUnitSize",20))),b;if("treeLayout"==
a.childLayout)return b=new mxCompactTreeLayout(this.graph),b.horizontal="1"==mxUtils.getValue(a,"horizontalTree","1"),b.resizeParent="1"==mxUtils.getValue(a,"resizeParent","1"),b.sortEdges="1"==mxUtils.getValue(a,"sortEdges","0"),b.groupPadding=mxUtils.getValue(a,"parentPadding",20),b.levelDistance=mxUtils.getValue(a,"treeLevelDistance",30),b.maintainParentLocation=!0,b.edgeRouting=!1,b.resetEdges=!1,b;if("flowLayout"==a.childLayout)return b=new mxHierarchicalLayout(this.graph,mxUtils.getValue(a,
"flowOrientation",mxConstants.DIRECTION_EAST)),b.resizeParent="1"==mxUtils.getValue(a,"resizeParent","1"),b.parentBorder=mxUtils.getValue(a,"parentPadding",20),b.maintainParentLocation=!0,b.intraCellSpacing=mxUtils.getValue(a,"intraCellSpacing",mxHierarchicalLayout.prototype.intraCellSpacing),b.interRankCellSpacing=mxUtils.getValue(a,"interRankCellSpacing",mxHierarchicalLayout.prototype.interRankCellSpacing),b.interHierarchySpacing=mxUtils.getValue(a,"interHierarchySpacing",mxHierarchicalLayout.prototype.interHierarchySpacing),
-b.parallelEdgeSpacing=mxUtils.getValue(a,"parallelEdgeSpacing",mxHierarchicalLayout.prototype.parallelEdgeSpacing),b;if("circleLayout"==a.childLayout)return new mxCircleLayout(this.graph);if("organicLayout"==a.childLayout)return new mxFastOrganicLayout(this.graph);if("tableLayout"==a.childLayout)return new TableLayout(this.graph);if(null!=a.childLayout&&"["==String(a.childLayout).charAt(0))try{return new mxCompositeLayout(this.graph,this.graph.createLayouts(JSON.parse(a.childLayout)))}catch(e){null!=
-window.console&&console.error(e)}}return null}};
-Graph.prototype.createLayouts=function(a){for(var b=[],d=0;d<a.length;d++)if(0<=mxUtils.indexOf(Graph.layoutNames,a[d].layout)){var e="mxOrgChartLayout"==a[d].layout&&null!=a[d].config?new window[a[d].layout](this,a[d].config.branchOptimizer):new window[a[d].layout](this);if(null!=a[d].config)for(var g in a[d].config)if("mxOrgChartLayout"!=a[d].layout||"branchOptimizer"!=g)e[g]=a[d].config[g];b.push(e)}else throw Error(mxResources.get("invalidCallFnNotFound",[a[d].layout]));return b};
-Graph.prototype.getDataForCells=function(a,b){for(var d=[],e=0;e<a.length;e++){var g={};g.id=a[e].id;var f=null!=a[e].value?a[e].value.attributes:null;this.isReplacePlaceholders(a[e])&&b&&(g.value=this.getLabel(a[e]));if(null!=f)for(var h=0;h<f.length;h++)g[f[h].nodeName]=f[h].nodeValue;else g.label=this.convertValueToString(a[e]);d.push(g)}return d};
-Graph.prototype.getNodesForCells=function(a){for(var b=[],d=0;d<a.length;d++){var e=this.view.getState(a[d]);if(null!=e){for(var g=this.cellRenderer.getShapesForState(e),f=0;f<g.length;f++)null!=g[f]&&null!=g[f].node&&b.push(g[f].node);null!=e.control&&null!=e.control.node&&b.push(e.control.node)}}return b};
-Graph.prototype.createWipeAnimations=function(a,b){for(var d=[],e=0;e<a.length;e++){var g=this.view.getState(a[e]);null!=g&&null!=g.shape&&(this.model.isEdge(g.cell)&&null!=g.absolutePoints&&1<g.absolutePoints.length?d.push(this.createEdgeWipeAnimation(g,b)):this.model.isVertex(g.cell)&&null!=g.shape.bounds&&d.push(this.createVertexWipeAnimation(g,b)))}return d};
-Graph.prototype.createEdgeWipeAnimation=function(a,b){var d=a.absolutePoints.slice(),e=a.segments,g=a.length,f=d.length;return{execute:mxUtils.bind(this,function(h,n){if(null!=a.shape){var q=[d[0]];n=h/n;b||(n=1-n);for(var l=g*n,p=1;p<f;p++)if(l<=e[p-1]){q.push(new mxPoint(d[p-1].x+(d[p].x-d[p-1].x)*l/e[p-1],d[p-1].y+(d[p].y-d[p-1].y)*l/e[p-1]));break}else l-=e[p-1],q.push(d[p]);a.shape.points=q;a.shape.redraw();0==h&&Graph.setOpacityForNodes(this.getNodesForCells([a.cell]),1);null!=a.text&&null!=
-a.text.node&&(a.text.node.style.opacity=n)}}),stop:mxUtils.bind(this,function(){null!=a.shape&&(a.shape.points=d,a.shape.redraw(),null!=a.text&&null!=a.text.node&&(a.text.node.style.opacity=""),Graph.setOpacityForNodes(this.getNodesForCells([a.cell]),b?1:0))})}};
-Graph.prototype.createVertexWipeAnimation=function(a,b){var d=new mxRectangle.fromRectangle(a.shape.bounds);return{execute:mxUtils.bind(this,function(e,g){null!=a.shape&&(g=e/g,b||(g=1-g),a.shape.bounds=new mxRectangle(d.x,d.y,d.width*g,d.height),a.shape.redraw(),0==e&&Graph.setOpacityForNodes(this.getNodesForCells([a.cell]),1),null!=a.text&&null!=a.text.node&&(a.text.node.style.opacity=g))}),stop:mxUtils.bind(this,function(){null!=a.shape&&(a.shape.bounds=d,a.shape.redraw(),null!=a.text&&null!=a.text.node&&
-(a.text.node.style.opacity=""),Graph.setOpacityForNodes(this.getNodesForCells([a.cell]),b?1:0))})}};Graph.prototype.executeAnimations=function(a,b,d,e){d=null!=d?d:30;e=null!=e?e:30;var g=null,f=0,h=mxUtils.bind(this,function(){if(f==d||this.stoppingCustomActions){window.clearInterval(g);for(var n=0;n<a.length;n++)a[n].stop();null!=b&&b()}else for(n=0;n<a.length;n++)a[n].execute(f,d);f++});g=window.setInterval(h,e);h()};
+b.parallelEdgeSpacing=mxUtils.getValue(a,"parallelEdgeSpacing",mxHierarchicalLayout.prototype.parallelEdgeSpacing),b;if("circleLayout"==a.childLayout)return new mxCircleLayout(this.graph);if("organicLayout"==a.childLayout)return new mxFastOrganicLayout(this.graph);if("tableLayout"==a.childLayout)return new TableLayout(this.graph);if(null!=a.childLayout&&"["==String(a.childLayout).charAt(0))try{return new mxCompositeLayout(this.graph,this.graph.createLayouts(JSON.parse(a.childLayout)))}catch(f){null!=
+window.console&&console.error(f)}}return null}};
+Graph.prototype.createLayouts=function(a){for(var b=[],e=0;e<a.length;e++)if(0<=mxUtils.indexOf(Graph.layoutNames,a[e].layout)){var f="mxOrgChartLayout"==a[e].layout&&null!=a[e].config?new window[a[e].layout](this,a[e].config.branchOptimizer):new window[a[e].layout](this);if(null!=a[e].config)for(var h in a[e].config)if("mxOrgChartLayout"!=a[e].layout||"branchOptimizer"!=h)f[h]=a[e].config[h];b.push(f)}else throw Error(mxResources.get("invalidCallFnNotFound",[a[e].layout]));return b};
+Graph.prototype.getDataForCells=function(a,b){for(var e=[],f=0;f<a.length;f++){var h={};h.id=a[f].id;var d=null!=a[f].value?a[f].value.attributes:null;this.isReplacePlaceholders(a[f])&&b&&(h.value=this.getLabel(a[f]));if(null!=d)for(var g=0;g<d.length;g++)h[d[g].nodeName]=d[g].nodeValue;else h.label=this.convertValueToString(a[f]);e.push(h)}return e};
+Graph.prototype.getNodesForCells=function(a){for(var b=[],e=0;e<a.length;e++){var f=this.view.getState(a[e]);if(null!=f){for(var h=this.cellRenderer.getShapesForState(f),d=0;d<h.length;d++)null!=h[d]&&null!=h[d].node&&b.push(h[d].node);null!=f.control&&null!=f.control.node&&b.push(f.control.node)}}return b};
+Graph.prototype.createWipeAnimations=function(a,b){for(var e=[],f=0;f<a.length;f++){var h=this.view.getState(a[f]);null!=h&&null!=h.shape&&(this.model.isEdge(h.cell)&&null!=h.absolutePoints&&1<h.absolutePoints.length?e.push(this.createEdgeWipeAnimation(h,b)):this.model.isVertex(h.cell)&&null!=h.shape.bounds&&e.push(this.createVertexWipeAnimation(h,b)))}return e};
+Graph.prototype.createEdgeWipeAnimation=function(a,b){var e=a.absolutePoints.slice(),f=a.segments,h=a.length,d=e.length;return{execute:mxUtils.bind(this,function(g,n){if(null!=a.shape){var q=[e[0]];n=g/n;b||(n=1-n);for(var k=h*n,p=1;p<d;p++)if(k<=f[p-1]){q.push(new mxPoint(e[p-1].x+(e[p].x-e[p-1].x)*k/f[p-1],e[p-1].y+(e[p].y-e[p-1].y)*k/f[p-1]));break}else k-=f[p-1],q.push(e[p]);a.shape.points=q;a.shape.redraw();0==g&&Graph.setOpacityForNodes(this.getNodesForCells([a.cell]),1);null!=a.text&&null!=
+a.text.node&&(a.text.node.style.opacity=n)}}),stop:mxUtils.bind(this,function(){null!=a.shape&&(a.shape.points=e,a.shape.redraw(),null!=a.text&&null!=a.text.node&&(a.text.node.style.opacity=""),Graph.setOpacityForNodes(this.getNodesForCells([a.cell]),b?1:0))})}};
+Graph.prototype.createVertexWipeAnimation=function(a,b){var e=new mxRectangle.fromRectangle(a.shape.bounds);return{execute:mxUtils.bind(this,function(f,h){null!=a.shape&&(h=f/h,b||(h=1-h),a.shape.bounds=new mxRectangle(e.x,e.y,e.width*h,e.height),a.shape.redraw(),0==f&&Graph.setOpacityForNodes(this.getNodesForCells([a.cell]),1),null!=a.text&&null!=a.text.node&&(a.text.node.style.opacity=h))}),stop:mxUtils.bind(this,function(){null!=a.shape&&(a.shape.bounds=e,a.shape.redraw(),null!=a.text&&null!=a.text.node&&
+(a.text.node.style.opacity=""),Graph.setOpacityForNodes(this.getNodesForCells([a.cell]),b?1:0))})}};Graph.prototype.executeAnimations=function(a,b,e,f){e=null!=e?e:30;f=null!=f?f:30;var h=null,d=0,g=mxUtils.bind(this,function(){if(d==e||this.stoppingCustomActions){window.clearInterval(h);for(var n=0;n<a.length;n++)a[n].stop();null!=b&&b()}else for(n=0;n<a.length;n++)a[n].execute(d,e);d++});h=window.setInterval(g,f);g()};
Graph.prototype.getPageSize=function(){return this.pageVisible&&null!=this.pageFormat?new mxRectangle(0,0,this.pageFormat.width*this.pageScale,this.pageFormat.height*this.pageScale):this.scrollTileSize};
-Graph.prototype.getPageLayout=function(a,b,d){a=null!=a?a:this.getGraphBounds();b=null!=b?b:this.view.translate;d=null!=d?d:this.view.scale;var e=this.getPageSize();if(0==a.width||0==a.height)return new mxRectangle(0,0,1,1);var g=Math.floor(Math.ceil(a.x/d-b.x)/e.width),f=Math.floor(Math.ceil(a.y/d-b.y)/e.height);return new mxRectangle(g,f,Math.ceil((Math.floor((a.x+a.width)/d)-b.x)/e.width)-g,Math.ceil((Math.floor((a.y+a.height)/d)-b.y)/e.height)-f)};
-Graph.prototype.getDefaultTranslate=function(a){var b=this.getPagePadding(),d=this.getPageSize();return new mxPoint(b.x-a.x*d.width,b.y-a.y*d.height)};Graph.prototype.updateMinimumSize=function(){var a=this.getPageLayout(),b=this.getPagePadding(),d=this.getPageSize(),e=Math.ceil(2*b.x+a.width*d.width);a=Math.ceil(2*b.y+a.height*d.height);if(null==this.minimumGraphSize||this.minimumGraphSize.width!=e||this.minimumGraphSize.height!=a)this.minimumGraphSize=new mxRectangle(0,0,e,a)};
-Graph.prototype.sanitizeHtml=function(a,b){return Graph.sanitizeHtml(a,b)};Graph.prototype.updatePlaceholders=function(){var a=!1,b;for(b in this.model.cells){var d=this.model.cells[b];this.isReplacePlaceholders(d)&&(this.view.invalidate(d,!1,!1),a=!0)}a&&this.view.validate()};Graph.prototype.isReplacePlaceholders=function(a){return null!=a.value&&"object"==typeof a.value&&"1"==a.value.getAttribute("placeholders")};
+Graph.prototype.getPageLayout=function(a,b,e){a=null!=a?a:this.getGraphBounds();b=null!=b?b:this.view.translate;e=null!=e?e:this.view.scale;var f=this.getPageSize();if(0==a.width||0==a.height)return new mxRectangle(0,0,1,1);var h=Math.floor(Math.ceil(a.x/e-b.x)/f.width),d=Math.floor(Math.ceil(a.y/e-b.y)/f.height);return new mxRectangle(h,d,Math.ceil((Math.floor((a.x+a.width)/e)-b.x)/f.width)-h,Math.ceil((Math.floor((a.y+a.height)/e)-b.y)/f.height)-d)};
+Graph.prototype.getDefaultTranslate=function(a){var b=this.getPagePadding(),e=this.getPageSize();return new mxPoint(b.x-a.x*e.width,b.y-a.y*e.height)};Graph.prototype.updateMinimumSize=function(){var a=this.getPageLayout(),b=this.getPagePadding(),e=this.getPageSize(),f=Math.ceil(2*b.x+a.width*e.width);a=Math.ceil(2*b.y+a.height*e.height);if(null==this.minimumGraphSize||this.minimumGraphSize.width!=f||this.minimumGraphSize.height!=a)this.minimumGraphSize=new mxRectangle(0,0,f,a)};
+Graph.prototype.sanitizeHtml=function(a,b){return Graph.sanitizeHtml(a,b)};Graph.prototype.updatePlaceholders=function(){var a=!1,b;for(b in this.model.cells){var e=this.model.cells[b];this.isReplacePlaceholders(e)&&(this.view.invalidate(e,!1,!1),a=!0)}a&&this.view.validate()};Graph.prototype.isReplacePlaceholders=function(a){return null!=a.value&&"object"==typeof a.value&&"1"==a.value.getAttribute("placeholders")};
Graph.prototype.isZoomWheelEvent=function(a){return Graph.zoomWheel&&!mxEvent.isShiftDown(a)&&!mxEvent.isMetaDown(a)&&!mxEvent.isAltDown(a)&&(!mxEvent.isControlDown(a)||mxClient.IS_MAC)||!Graph.zoomWheel&&(mxEvent.isAltDown(a)||mxEvent.isControlDown(a))};Graph.prototype.isScrollWheelEvent=function(a){return!this.isZoomWheelEvent(a)};Graph.prototype.isTransparentClickEvent=function(a){return mxEvent.isAltDown(a)||mxClient.IS_CHROMEOS&&mxEvent.isShiftDown(a)};
Graph.prototype.isIgnoreTerminalEvent=function(a){return mxEvent.isAltDown(a)&&!mxEvent.isShiftDown(a)&&!mxEvent.isControlDown(a)&&!mxEvent.isMetaDown(a)};Graph.prototype.isEdgeIgnored=function(a){var b=!1;null!=a&&(a=this.getCurrentCellStyle(a),b="1"==mxUtils.getValue(a,"ignoreEdge","0"));return b};
-Graph.prototype.isSplitTarget=function(a,b,d){return!this.model.isEdge(b[0])&&!mxEvent.isAltDown(d)&&!mxEvent.isShiftDown(d)&&!this.isCellLocked(this.getLayerForCell(a))&&mxGraph.prototype.isSplitTarget.apply(this,arguments)};Graph.prototype.getLabel=function(a){var b=mxGraph.prototype.getLabel.apply(this,arguments);null!=b&&this.isReplacePlaceholders(a)&&null==a.getAttribute("placeholder")&&(b=this.replacePlaceholders(a,b));return b};
+Graph.prototype.isSplitTarget=function(a,b,e){return!this.model.isEdge(b[0])&&!mxEvent.isAltDown(e)&&!mxEvent.isShiftDown(e)&&!this.isCellLocked(this.getLayerForCell(a))&&mxGraph.prototype.isSplitTarget.apply(this,arguments)};Graph.prototype.getLabel=function(a){var b=mxGraph.prototype.getLabel.apply(this,arguments);null!=b&&this.isReplacePlaceholders(a)&&null==a.getAttribute("placeholder")&&(b=this.replacePlaceholders(a,b));return b};
Graph.prototype.isLabelMovable=function(a){var b=this.getCurrentCellStyle(a);return!this.isCellLocked(a)&&(this.model.isEdge(a)&&this.edgeLabelsMovable||this.model.isVertex(a)&&(this.vertexLabelsMovable||"1"==mxUtils.getValue(b,"labelMovable","0")))};Graph.prototype.setGridSize=function(a){this.gridSize=a;this.fireEvent(new mxEventObject("gridSizeChanged"))};Graph.prototype.setDefaultParent=function(a){this.defaultParent=a;this.fireEvent(new mxEventObject("defaultParentChanged"))};
Graph.prototype.getClickableLinkForCell=function(a){do{var b=this.getLinkForCell(a);if(null!=b)return b;a=this.model.getParent(a)}while(null!=a);return null};Graph.prototype.getGlobalVariable=function(a){var b=null;"date"==a?b=(new Date).toLocaleDateString():"time"==a?b=(new Date).toLocaleTimeString():"timestamp"==a?b=(new Date).toLocaleString():"date{"==a.substring(0,5)&&(a=a.substring(5,a.length-1),b=this.formatDate(new Date,a));return b};
-Graph.prototype.formatDate=function(a,b,d){null==this.dateFormatCache&&(this.dateFormatCache={i18n:{dayNames:"Sun Mon Tue Wed Thu Fri Sat Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),monthNames:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec January February March April May June July August September October November December".split(" ")},masks:{"default":"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",
-shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:ss",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'"}});var e=this.dateFormatCache,g=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,f=/[^-+\dA-Z]/g,h=function(K,I){K=String(K);for(I=I||2;K.length<I;)K="0"+K;return K};1!=arguments.length||"[object String]"!=Object.prototype.toString.call(a)||
-/\d/.test(a)||(b=a,a=void 0);a=a?new Date(a):new Date;if(isNaN(a))throw SyntaxError("invalid date");b=String(e.masks[b]||b||e.masks["default"]);"UTC:"==b.slice(0,4)&&(b=b.slice(4),d=!0);var n=d?"getUTC":"get",q=a[n+"Date"](),l=a[n+"Day"](),p=a[n+"Month"](),w=a[n+"FullYear"](),z=a[n+"Hours"](),C=a[n+"Minutes"](),F=a[n+"Seconds"]();n=a[n+"Milliseconds"]();var D=d?0:a.getTimezoneOffset(),G={d:q,dd:h(q),ddd:e.i18n.dayNames[l],dddd:e.i18n.dayNames[l+7],m:p+1,mm:h(p+1),mmm:e.i18n.monthNames[p],mmmm:e.i18n.monthNames[p+
-12],yy:String(w).slice(2),yyyy:w,h:z%12||12,hh:h(z%12||12),H:z,HH:h(z),M:C,MM:h(C),s:F,ss:h(F),l:h(n,3),L:h(99<n?Math.round(n/10):n),t:12>z?"a":"p",tt:12>z?"am":"pm",T:12>z?"A":"P",TT:12>z?"AM":"PM",Z:d?"UTC":(String(a).match(g)||[""]).pop().replace(f,""),o:(0<D?"-":"+")+h(100*Math.floor(Math.abs(D)/60)+Math.abs(D)%60,4),S:["th","st","nd","rd"][3<q%10?0:(10!=q%100-q%10)*q%10]};return b.replace(/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZ]|"[^"]*"|'[^']*'/g,function(K){return K in G?G[K]:K.slice(1,
-K.length-1)})};Graph.prototype.getLayerForCell=function(a){for(;null!=a&&!this.model.isLayer(a);)a=this.model.getParent(a);return a};Graph.prototype.getLayerForCells=function(a){var b=null;if(0<a.length){b=this.getLayerForCell(a[0]);for(var d=1;d<a.length;d++)if(!this.model.isAncestor(b,a[d])){b=null;break}}return b};
-Graph.prototype.createLayersDialog=function(a,b){var d=document.createElement("div");d.style.position="absolute";for(var e=this.getModel(),g=e.getChildCount(e.root),f=0;f<g;f++)mxUtils.bind(this,function(h){function n(){e.isVisible(h)?(p.setAttribute("src",Editor.visibleImage),mxUtils.setOpacity(l,75)):(p.setAttribute("src",Editor.hiddenImage),mxUtils.setOpacity(l,25))}var q=this.convertValueToString(h)||mxResources.get("background")||"Background",l=document.createElement("div");l.style.overflow=
-"hidden";l.style.textOverflow="ellipsis";l.style.padding="2px";l.style.whiteSpace="nowrap";l.style.cursor="pointer";l.setAttribute("title",mxResources.get(e.isVisible(h)?"hideIt":"show",[q]));var p=document.createElement("img");p.setAttribute("draggable","false");p.setAttribute("align","absmiddle");p.setAttribute("border","0");p.style.position="relative";p.style.width="16px";p.style.padding="0px 6px 0 4px";b&&(p.style.filter="invert(100%)",p.style.top="-2px");l.appendChild(p);mxUtils.write(l,q);d.appendChild(l);
-mxEvent.addListener(l,"click",function(){e.setVisible(h,!e.isVisible(h));n();null!=a&&a(h)});n()})(e.getChildAt(e.root,f));return d};
-Graph.prototype.replacePlaceholders=function(a,b,d,e){e=[];if(null!=b){for(var g=0;match=this.placeholderPattern.exec(b);){var f=match[0];if(2<f.length&&"%label%"!=f&&"%tooltip%"!=f){var h=null;if(match.index>g&&"%"==b.charAt(match.index-1))h=f.substring(1);else{var n=f.substring(1,f.length-1);if("id"==n)h=a.id;else if("width"==n&&this.model.isVertex(a)){var q=this.getCellGeometry(a);null!=q&&(h=q.width)}else if("height"==n&&this.model.isVertex(a))q=this.getCellGeometry(a),null!=q&&(h=q.height);else if("length"==
-n){for(q=a;null!=q&&!this.model.isEdge(q);)q=this.model.getParent(q);q=this.view.getState(q);null!=q&&(h=Math.round(q.length/this.view.scale))}else if(0>n.indexOf("{"))for(q=a;null==h&&null!=q;)null!=q.value&&"object"==typeof q.value&&(Graph.translateDiagram&&null!=Graph.diagramLanguage&&(h=q.getAttribute(n+"_"+Graph.diagramLanguage)),null==h&&(h=q.hasAttribute(n)?null!=q.getAttribute(n)?q.getAttribute(n):"":null)),q=this.model.getParent(q);null==h&&(h=this.getGlobalVariable(n));null==h&&null!=d&&
-(h=d[n])}e.push(b.substring(g,match.index)+(null!=h?h:f));g=match.index+f.length}}e.push(b.substring(g))}return e.join("")};Graph.prototype.restoreSelection=function(a){if(null!=a&&0<a.length){for(var b=[],d=0;d<a.length;d++){var e=this.model.getCell(a[d].id);null!=e&&b.push(e)}this.setSelectionCells(b)}else this.clearSelection()};
+Graph.prototype.formatDate=function(a,b,e){null==this.dateFormatCache&&(this.dateFormatCache={i18n:{dayNames:"Sun Mon Tue Wed Thu Fri Sat Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),monthNames:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec January February March April May June July August September October November December".split(" ")},masks:{"default":"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",
+shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:ss",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'"}});var f=this.dateFormatCache,h=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,d=/[^-+\dA-Z]/g,g=function(K,G){K=String(K);for(G=G||2;K.length<G;)K="0"+K;return K};1!=arguments.length||"[object String]"!=Object.prototype.toString.call(a)||
+/\d/.test(a)||(b=a,a=void 0);a=a?new Date(a):new Date;if(isNaN(a))throw SyntaxError("invalid date");b=String(f.masks[b]||b||f.masks["default"]);"UTC:"==b.slice(0,4)&&(b=b.slice(4),e=!0);var n=e?"getUTC":"get",q=a[n+"Date"](),k=a[n+"Day"](),p=a[n+"Month"](),w=a[n+"FullYear"](),z=a[n+"Hours"](),C=a[n+"Minutes"](),F=a[n+"Seconds"]();n=a[n+"Milliseconds"]();var D=e?0:a.getTimezoneOffset(),H={d:q,dd:g(q),ddd:f.i18n.dayNames[k],dddd:f.i18n.dayNames[k+7],m:p+1,mm:g(p+1),mmm:f.i18n.monthNames[p],mmmm:f.i18n.monthNames[p+
+12],yy:String(w).slice(2),yyyy:w,h:z%12||12,hh:g(z%12||12),H:z,HH:g(z),M:C,MM:g(C),s:F,ss:g(F),l:g(n,3),L:g(99<n?Math.round(n/10):n),t:12>z?"a":"p",tt:12>z?"am":"pm",T:12>z?"A":"P",TT:12>z?"AM":"PM",Z:e?"UTC":(String(a).match(h)||[""]).pop().replace(d,""),o:(0<D?"-":"+")+g(100*Math.floor(Math.abs(D)/60)+Math.abs(D)%60,4),S:["th","st","nd","rd"][3<q%10?0:(10!=q%100-q%10)*q%10]};return b.replace(/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZ]|"[^"]*"|'[^']*'/g,function(K){return K in H?H[K]:K.slice(1,
+K.length-1)})};Graph.prototype.getLayerForCell=function(a){for(;null!=a&&!this.model.isLayer(a);)a=this.model.getParent(a);return a};Graph.prototype.getLayerForCells=function(a){var b=null;if(0<a.length){b=this.getLayerForCell(a[0]);for(var e=1;e<a.length;e++)if(!this.model.isAncestor(b,a[e])){b=null;break}}return b};
+Graph.prototype.createLayersDialog=function(a,b){var e=document.createElement("div");e.style.position="absolute";for(var f=this.getModel(),h=f.getChildCount(f.root),d=0;d<h;d++)mxUtils.bind(this,function(g){function n(){f.isVisible(g)?(p.setAttribute("src",Editor.visibleImage),mxUtils.setOpacity(k,75)):(p.setAttribute("src",Editor.hiddenImage),mxUtils.setOpacity(k,25))}var q=this.convertValueToString(g)||mxResources.get("background")||"Background",k=document.createElement("div");k.style.overflow=
+"hidden";k.style.textOverflow="ellipsis";k.style.padding="2px";k.style.whiteSpace="nowrap";k.style.cursor="pointer";k.setAttribute("title",mxResources.get(f.isVisible(g)?"hideIt":"show",[q]));var p=document.createElement("img");p.setAttribute("draggable","false");p.setAttribute("align","absmiddle");p.setAttribute("border","0");p.style.position="relative";p.style.width="16px";p.style.padding="0px 6px 0 4px";b&&(p.style.filter="invert(100%)",p.style.top="-2px");k.appendChild(p);mxUtils.write(k,q);e.appendChild(k);
+mxEvent.addListener(k,"click",function(){f.setVisible(g,!f.isVisible(g));n();null!=a&&a(g)});n()})(f.getChildAt(f.root,d));return e};
+Graph.prototype.replacePlaceholders=function(a,b,e,f){f=[];if(null!=b){for(var h=0;match=this.placeholderPattern.exec(b);){var d=match[0];if(2<d.length&&"%label%"!=d&&"%tooltip%"!=d){var g=null;if(match.index>h&&"%"==b.charAt(match.index-1))g=d.substring(1);else{var n=d.substring(1,d.length-1);if("id"==n)g=a.id;else if("width"==n&&this.model.isVertex(a)){var q=this.getCellGeometry(a);null!=q&&(g=q.width)}else if("height"==n&&this.model.isVertex(a))q=this.getCellGeometry(a),null!=q&&(g=q.height);else if("length"==
+n){for(q=a;null!=q&&!this.model.isEdge(q);)q=this.model.getParent(q);q=this.view.getState(q);null!=q&&(g=Math.round(q.length/this.view.scale))}else if(0>n.indexOf("{"))for(q=a;null==g&&null!=q;)null!=q.value&&"object"==typeof q.value&&(Graph.translateDiagram&&null!=Graph.diagramLanguage&&(g=q.getAttribute(n+"_"+Graph.diagramLanguage)),null==g&&(g=q.hasAttribute(n)?null!=q.getAttribute(n)?q.getAttribute(n):"":null)),q=this.model.getParent(q);null==g&&(g=this.getGlobalVariable(n));null==g&&null!=e&&
+(g=e[n])}f.push(b.substring(h,match.index)+(null!=g?g:d));h=match.index+d.length}}f.push(b.substring(h))}return f.join("")};Graph.prototype.restoreSelection=function(a){if(null!=a&&0<a.length){for(var b=[],e=0;e<a.length;e++){var f=this.model.getCell(a[e].id);null!=f&&b.push(f)}this.setSelectionCells(b)}else this.clearSelection()};
Graph.prototype.selectCellForEvent=function(a,b){mxEvent.isShiftDown(b)&&!this.isSelectionEmpty()&&this.selectTableRange(this.getSelectionCell(),a)||mxGraph.prototype.selectCellForEvent.apply(this,arguments)};
-Graph.prototype.selectTableRange=function(a,b){var d=!1;if(this.isTableCell(a)&&this.isTableCell(b)){var e=this.model.getParent(a),g=this.model.getParent(e),f=this.model.getParent(b);if(g==this.model.getParent(f)){a=e.getIndex(a);e=g.getIndex(e);var h=f.getIndex(b),n=g.getIndex(f);f=Math.max(e,n);b=Math.min(a,h);a=Math.max(a,h);h=[];for(e=Math.min(e,n);e<=f;e++){n=this.model.getChildAt(g,e);for(var q=b;q<=a;q++)h.push(this.model.getChildAt(n,q))}0<h.length&&(1<h.length||1<this.getSelectionCount()||
-!this.isCellSelected(h[0]))&&(this.setSelectionCells(h),d=!0)}}return d};
-Graph.prototype.snapCellsToGrid=function(a,b){this.getModel().beginUpdate();try{for(var d=0;d<a.length;d++){var e=a[d],g=this.getCellGeometry(e);if(null!=g){g=g.clone();if(this.getModel().isVertex(e))g.x=Math.round(g.x/b)*b,g.y=Math.round(g.y/b)*b,g.width=Math.round(g.width/b)*b,g.height=Math.round(g.height/b)*b;else if(this.getModel().isEdge(e)&&null!=g.points)for(var f=0;f<g.points.length;f++)g.points[f].x=Math.round(g.points[f].x/b)*b,g.points[f].y=Math.round(g.points[f].y/b)*b;this.getModel().setGeometry(e,
-g)}}}finally{this.getModel().endUpdate()}};Graph.prototype.removeChildCells=function(a){this.model.beginUpdate();try{for(var b=this.model.getChildCount(a);0<=b;b--)this.model.remove(this.model.getChildAt(a,b))}finally{this.model.endUpdate()}};
-Graph.prototype.updateShapes=function(a,b,d){this.model.beginUpdate();try{var e=this.model.getStyle(a),g=d?this.stylesheet.getCellStyle(e,{},!1):null;null!=g&&null==g[mxConstants.STYLE_SHAPE]&&(this.model.isVertex(a)?g[mxConstants.STYLE_SHAPE]=this.stylesheet.getDefaultVertexStyle()[mxConstants.STYLE_SHAPE]:this.model.isEdge(a)&&(g[mxConstants.STYLE_SHAPE]=this.stylesheet.getDefaultEdgeStyle()[mxConstants.STYLE_SHAPE]));for(var f=0;f<b.length;f++){if(this.model.isVertex(a)&&this.model.isVertex(b[f])||
-this.model.isEdge(a)&&this.model.isEdge(b[f]))if(d){var h=this.model.getStyle(b[f]);if(null!=h){var n=h.split(";");0<n.length&&0>n[0].indexOf("=")&&(n=n.slice(1));this.model.setStyle(b[f],n.join(";"))}this.setCellStyles(mxConstants.STYLE_PERIMETER,null,[b[f]]);this.setCellStyles("points",null,[b[f]]);this.pasteStyle(g,[b[f]],null,!0)}else g=this.copyStyle(b[f]),this.model.setStyle(b[f],e),this.pasteStyle(g,[b[f]]);"1"==mxUtils.getValue(this.getCellStyle(b[f],!1),"composite","0")&&this.removeChildCells(b[f])}}finally{this.model.endUpdate()}};
-Graph.prototype.selectCellsForConnectVertex=function(a,b,d){2==a.length&&this.model.isVertex(a[1])?(this.setSelectionCell(a[1]),this.scrollCellToVisible(a[1]),null!=d&&(mxEvent.isTouchEvent(b)?d.update(d.getState(this.view.getState(a[1]))):d.reset())):this.setSelectionCells(a)};Graph.prototype.isCloneConnectSource=function(a){var b=null;null!=this.layoutManager&&(b=this.layoutManager.getLayout(this.model.getParent(a)));return this.isTableRow(a)||this.isTableCell(a)||null!=b&&b.constructor==mxStackLayout};
-Graph.prototype.insertEdgeBeforeCell=function(a,b){for(var d=b;null!=d.parent&&null!=d.geometry&&d.geometry.relative&&d.parent!=a.parent;)d=this.model.getParent(d);null!=d&&null!=d.parent&&d.parent==a.parent&&(b=d.parent.getIndex(d),this.model.add(d.parent,a,b))};
-Graph.prototype.connectVertex=function(a,b,d,e,g,f,h,n){f=f?f:!1;if(a.geometry.relative&&this.model.isEdge(a.parent))return[];for(;a.geometry.relative&&this.model.isVertex(a.parent);)a=a.parent;var q=this.isCloneConnectSource(a),l=q?a:this.getCompositeParent(a),p=a.geometry.relative&&null!=a.parent.geometry?new mxPoint(a.parent.geometry.width*a.geometry.x,a.parent.geometry.height*a.geometry.y):new mxPoint(l.geometry.x,l.geometry.y);b==mxConstants.DIRECTION_NORTH?(p.x+=l.geometry.width/2,p.y-=d):b==
-mxConstants.DIRECTION_SOUTH?(p.x+=l.geometry.width/2,p.y+=l.geometry.height+d):(p.x=b==mxConstants.DIRECTION_WEST?p.x-d:p.x+(l.geometry.width+d),p.y+=l.geometry.height/2);var w=this.view.getState(this.model.getParent(a));d=this.view.scale;var z=this.view.translate;l=z.x*d;z=z.y*d;null!=w&&this.model.isVertex(w.cell)&&(l=w.x,z=w.y);this.model.isVertex(a.parent)&&a.geometry.relative&&(p.x+=a.parent.geometry.x,p.y+=a.parent.geometry.y);f=f?null:(new mxRectangle(l+p.x*d,z+p.y*d)).grow(40*d);f=null!=f?
-this.getCells(0,0,0,0,null,null,f,null,!0):null;w=this.view.getState(a);var C=null,F=null;if(null!=f){f=f.reverse();for(var D=0;D<f.length;D++)if(!this.isCellLocked(f[D])&&!this.model.isEdge(f[D])&&f[D]!=a)if(!this.model.isAncestor(a,f[D])&&this.isContainer(f[D])&&(null==C||f[D]==this.model.getParent(a)))C=f[D];else if(null==F&&this.isCellConnectable(f[D])&&!this.model.isAncestor(f[D],a)&&!this.isSwimlane(f[D])){var G=this.view.getState(f[D]);null==w||null==G||mxUtils.intersects(w,G)||(F=f[D])}}var K=
-!mxEvent.isShiftDown(e)||mxEvent.isControlDown(e)||g;K&&("1"!=urlParams.sketch||g)&&(b==mxConstants.DIRECTION_NORTH?p.y-=a.geometry.height/2:b==mxConstants.DIRECTION_SOUTH?p.y+=a.geometry.height/2:p.x=b==mxConstants.DIRECTION_WEST?p.x-a.geometry.width/2:p.x+a.geometry.width/2);var I=[],O=F;F=C;g=mxUtils.bind(this,function(H){if(null==h||null!=H||null==F&&q){this.model.beginUpdate();try{if(null==O&&K){var Z=this.getAbsoluteParent(null!=H?H:a);Z=q?a:this.getCompositeParent(Z);O=null!=H?H:this.duplicateCells([Z],
-!1)[0];null!=H&&this.addCells([O],this.model.getParent(a),null,null,null,!0);var S=this.getCellGeometry(O);null!=S&&(null!=H&&"1"==urlParams.sketch&&(b==mxConstants.DIRECTION_NORTH?p.y-=S.height/2:b==mxConstants.DIRECTION_SOUTH?p.y+=S.height/2:p.x=b==mxConstants.DIRECTION_WEST?p.x-S.width/2:p.x+S.width/2),S.x=p.x-S.width/2,S.y=p.y-S.height/2);null!=C?(this.addCells([O],C,null,null,null,!0),F=null):K&&!q&&this.addCells([O],this.getDefaultParent(),null,null,null,!0)}var X=mxEvent.isControlDown(e)&&
-mxEvent.isShiftDown(e)&&K||null==F&&q?null:this.insertEdge(this.model.getParent(a),null,"",a,O,this.createCurrentEdgeStyle());null!=X&&(I.push(X),this.applyNewEdgeStyle(a,[X],b),this.connectionHandler.insertBeforeSource&&this.insertEdgeBeforeCell(X,a));if(null==F&&null!=O&&null!=a.parent&&q&&b==mxConstants.DIRECTION_WEST){var Y=a.parent.getIndex(a);this.model.add(a.parent,O,Y)}null==F&&null!=O&&I.push(O);null==O&&null!=X&&X.geometry.setTerminalPoint(p,!1);null!=X&&this.fireEvent(new mxEventObject("cellsInserted",
-"cells",[X]))}finally{this.model.endUpdate()}}if(null!=n)n(I);else return I});if(null==h||null!=O||!K||null==F&&q)return g(O);h(l+p.x*d,z+p.y*d,g)};
-Graph.prototype.getIndexableText=function(a){a=null!=a?a:this.model.getDescendants(this.model.root);for(var b=document.createElement("div"),d=[],e,g=0;g<a.length;g++)if(e=a[g],this.model.isVertex(e)||this.model.isEdge(e))this.isHtmlLabel(e)?(b.innerHTML=Graph.sanitizeHtml(this.getLabel(e)),e=mxUtils.extractTextWithWhitespace([b])):e=this.getLabel(e),e=mxUtils.trim(e.replace(/[\x00-\x1F\x7F-\x9F]|\s+/g," ")),0<e.length&&d.push(e);return d.join(" ")};
-Graph.prototype.convertValueToString=function(a){var b=this.model.getValue(a);if(null!=b&&"object"==typeof b){var d=null;if(this.isReplacePlaceholders(a)&&null!=a.getAttribute("placeholder")){b=a.getAttribute("placeholder");for(var e=a;null==d&&null!=e;)null!=e.value&&"object"==typeof e.value&&(d=e.hasAttribute(b)?null!=e.getAttribute(b)?e.getAttribute(b):"":null),e=this.model.getParent(e)}else d=null,Graph.translateDiagram&&null!=Graph.diagramLanguage&&(d=b.getAttribute("label_"+Graph.diagramLanguage)),
-null==d&&(d=b.getAttribute("label")||"");return d||""}return mxGraph.prototype.convertValueToString.apply(this,arguments)};Graph.prototype.getLinksForState=function(a){return null!=a&&null!=a.text&&null!=a.text.node?a.text.node.getElementsByTagName("a"):null};Graph.prototype.getLinkForCell=function(a,b){return null!=a.value&&"object"==typeof a.value?(a=a.value.getAttribute("link"),b||(a=mxUtils.removeJavascriptProtocol(a)),a):null};
+Graph.prototype.selectTableRange=function(a,b){var e=!1;if(this.isTableCell(a)&&this.isTableCell(b)){var f=this.model.getParent(a),h=this.model.getParent(f),d=this.model.getParent(b);if(h==this.model.getParent(d)){a=f.getIndex(a);f=h.getIndex(f);var g=d.getIndex(b),n=h.getIndex(d);d=Math.max(f,n);b=Math.min(a,g);a=Math.max(a,g);g=[];for(f=Math.min(f,n);f<=d;f++){n=this.model.getChildAt(h,f);for(var q=b;q<=a;q++)g.push(this.model.getChildAt(n,q))}0<g.length&&(1<g.length||1<this.getSelectionCount()||
+!this.isCellSelected(g[0]))&&(this.setSelectionCells(g),e=!0)}}return e};
+Graph.prototype.snapCellsToGrid=function(a,b){this.getModel().beginUpdate();try{for(var e=0;e<a.length;e++){var f=a[e],h=this.getCellGeometry(f);if(null!=h){h=h.clone();if(this.getModel().isVertex(f))h.x=Math.round(h.x/b)*b,h.y=Math.round(h.y/b)*b,h.width=Math.round(h.width/b)*b,h.height=Math.round(h.height/b)*b;else if(this.getModel().isEdge(f)&&null!=h.points)for(var d=0;d<h.points.length;d++)h.points[d].x=Math.round(h.points[d].x/b)*b,h.points[d].y=Math.round(h.points[d].y/b)*b;this.getModel().setGeometry(f,
+h)}}}finally{this.getModel().endUpdate()}};Graph.prototype.removeChildCells=function(a){this.model.beginUpdate();try{for(var b=this.model.getChildCount(a);0<=b;b--)this.model.remove(this.model.getChildAt(a,b))}finally{this.model.endUpdate()}};
+Graph.prototype.updateShapes=function(a,b,e){this.model.beginUpdate();try{var f=this.model.getStyle(a),h=e?this.stylesheet.getCellStyle(f,{},!1):null;null!=h&&null==h[mxConstants.STYLE_SHAPE]&&(this.model.isVertex(a)?h[mxConstants.STYLE_SHAPE]=this.stylesheet.getDefaultVertexStyle()[mxConstants.STYLE_SHAPE]:this.model.isEdge(a)&&(h[mxConstants.STYLE_SHAPE]=this.stylesheet.getDefaultEdgeStyle()[mxConstants.STYLE_SHAPE]));for(var d=0;d<b.length;d++){if(this.model.isVertex(a)&&this.model.isVertex(b[d])||
+this.model.isEdge(a)&&this.model.isEdge(b[d]))if(e){var g=this.model.getStyle(b[d]);if(null!=g){var n=g.split(";");0<n.length&&0>n[0].indexOf("=")&&(n=n.slice(1));this.model.setStyle(b[d],n.join(";"))}this.setCellStyles(mxConstants.STYLE_PERIMETER,null,[b[d]]);this.setCellStyles("points",null,[b[d]]);this.pasteStyle(h,[b[d]],null,!0)}else h=this.copyStyle(b[d]),this.model.setStyle(b[d],f),this.pasteStyle(h,[b[d]]);"1"==mxUtils.getValue(this.getCellStyle(b[d],!1),"composite","0")&&this.removeChildCells(b[d])}}finally{this.model.endUpdate()}};
+Graph.prototype.selectCellsForConnectVertex=function(a,b,e){2==a.length&&this.model.isVertex(a[1])?(this.setSelectionCell(a[1]),this.scrollCellToVisible(a[1]),null!=e&&(mxEvent.isTouchEvent(b)?e.update(e.getState(this.view.getState(a[1]))):e.reset())):this.setSelectionCells(a)};Graph.prototype.isCloneConnectSource=function(a){var b=null;null!=this.layoutManager&&(b=this.layoutManager.getLayout(this.model.getParent(a)));return this.isTableRow(a)||this.isTableCell(a)||null!=b&&b.constructor==mxStackLayout};
+Graph.prototype.insertEdgeBeforeCell=function(a,b){for(var e=b;null!=e.parent&&null!=e.geometry&&e.geometry.relative&&e.parent!=a.parent;)e=this.model.getParent(e);null!=e&&null!=e.parent&&e.parent==a.parent&&(b=e.parent.getIndex(e),this.model.add(e.parent,a,b))};
+Graph.prototype.connectVertex=function(a,b,e,f,h,d,g,n){d=d?d:!1;if(a.geometry.relative&&this.model.isEdge(a.parent))return[];for(;a.geometry.relative&&this.model.isVertex(a.parent);)a=a.parent;var q=this.isCloneConnectSource(a),k=q?a:this.getCompositeParent(a),p=a.geometry.relative&&null!=a.parent.geometry?new mxPoint(a.parent.geometry.width*a.geometry.x,a.parent.geometry.height*a.geometry.y):new mxPoint(k.geometry.x,k.geometry.y);b==mxConstants.DIRECTION_NORTH?(p.x+=k.geometry.width/2,p.y-=e):b==
+mxConstants.DIRECTION_SOUTH?(p.x+=k.geometry.width/2,p.y+=k.geometry.height+e):(p.x=b==mxConstants.DIRECTION_WEST?p.x-e:p.x+(k.geometry.width+e),p.y+=k.geometry.height/2);var w=this.view.getState(this.model.getParent(a));e=this.view.scale;var z=this.view.translate;k=z.x*e;z=z.y*e;null!=w&&this.model.isVertex(w.cell)&&(k=w.x,z=w.y);this.model.isVertex(a.parent)&&a.geometry.relative&&(p.x+=a.parent.geometry.x,p.y+=a.parent.geometry.y);d=d?null:(new mxRectangle(k+p.x*e,z+p.y*e)).grow(40*e);d=null!=d?
+this.getCells(0,0,0,0,null,null,d,null,!0):null;w=this.view.getState(a);var C=null,F=null;if(null!=d){d=d.reverse();for(var D=0;D<d.length;D++)if(!this.isCellLocked(d[D])&&!this.model.isEdge(d[D])&&d[D]!=a)if(!this.model.isAncestor(a,d[D])&&this.isContainer(d[D])&&(null==C||d[D]==this.model.getParent(a)))C=d[D];else if(null==F&&this.isCellConnectable(d[D])&&!this.model.isAncestor(d[D],a)&&!this.isSwimlane(d[D])){var H=this.view.getState(d[D]);null==w||null==H||mxUtils.intersects(w,H)||(F=d[D])}}var K=
+!mxEvent.isShiftDown(f)||mxEvent.isControlDown(f)||h;K&&("1"!=urlParams.sketch||h)&&(b==mxConstants.DIRECTION_NORTH?p.y-=a.geometry.height/2:b==mxConstants.DIRECTION_SOUTH?p.y+=a.geometry.height/2:p.x=b==mxConstants.DIRECTION_WEST?p.x-a.geometry.width/2:p.x+a.geometry.width/2);var G=[],P=F;F=C;h=mxUtils.bind(this,function(I){if(null==g||null!=I||null==F&&q){this.model.beginUpdate();try{if(null==P&&K){var Z=this.getAbsoluteParent(null!=I?I:a);Z=q?a:this.getCompositeParent(Z);P=null!=I?I:this.duplicateCells([Z],
+!1)[0];null!=I&&this.addCells([P],this.model.getParent(a),null,null,null,!0);var S=this.getCellGeometry(P);null!=S&&(null!=I&&"1"==urlParams.sketch&&(b==mxConstants.DIRECTION_NORTH?p.y-=S.height/2:b==mxConstants.DIRECTION_SOUTH?p.y+=S.height/2:p.x=b==mxConstants.DIRECTION_WEST?p.x-S.width/2:p.x+S.width/2),S.x=p.x-S.width/2,S.y=p.y-S.height/2);null!=C?(this.addCells([P],C,null,null,null,!0),F=null):K&&!q&&this.addCells([P],this.getDefaultParent(),null,null,null,!0)}var Y=mxEvent.isControlDown(f)&&
+mxEvent.isShiftDown(f)&&K||null==F&&q?null:this.insertEdge(this.model.getParent(a),null,"",a,P,this.createCurrentEdgeStyle());null!=Y&&(G.push(Y),this.applyNewEdgeStyle(a,[Y],b),this.connectionHandler.insertBeforeSource&&this.insertEdgeBeforeCell(Y,a));if(null==F&&null!=P&&null!=a.parent&&q&&b==mxConstants.DIRECTION_WEST){var V=a.parent.getIndex(a);this.model.add(a.parent,P,V)}null==F&&null!=P&&G.push(P);null==P&&null!=Y&&Y.geometry.setTerminalPoint(p,!1);null!=Y&&this.fireEvent(new mxEventObject("cellsInserted",
+"cells",[Y]))}finally{this.model.endUpdate()}}if(null!=n)n(G);else return G});if(null==g||null!=P||!K||null==F&&q)return h(P);g(k+p.x*e,z+p.y*e,h)};
+Graph.prototype.getIndexableText=function(a){a=null!=a?a:this.model.getDescendants(this.model.root);for(var b=document.createElement("div"),e=[],f,h=0;h<a.length;h++)if(f=a[h],this.model.isVertex(f)||this.model.isEdge(f))this.isHtmlLabel(f)?(b.innerHTML=Graph.sanitizeHtml(this.getLabel(f)),f=mxUtils.extractTextWithWhitespace([b])):f=this.getLabel(f),f=mxUtils.trim(f.replace(/[\x00-\x1F\x7F-\x9F]|\s+/g," ")),0<f.length&&e.push(f);return e.join(" ")};
+Graph.prototype.convertValueToString=function(a){var b=this.model.getValue(a);if(null!=b&&"object"==typeof b){var e=null;if(this.isReplacePlaceholders(a)&&null!=a.getAttribute("placeholder")){b=a.getAttribute("placeholder");for(var f=a;null==e&&null!=f;)null!=f.value&&"object"==typeof f.value&&(e=f.hasAttribute(b)?null!=f.getAttribute(b)?f.getAttribute(b):"":null),f=this.model.getParent(f)}else e=null,Graph.translateDiagram&&null!=Graph.diagramLanguage&&(e=b.getAttribute("label_"+Graph.diagramLanguage)),
+null==e&&(e=b.getAttribute("label")||"");return e||""}return mxGraph.prototype.convertValueToString.apply(this,arguments)};Graph.prototype.getLinksForState=function(a){return null!=a&&null!=a.text&&null!=a.text.node?a.text.node.getElementsByTagName("a"):null};Graph.prototype.getLinkForCell=function(a,b){return null!=a.value&&"object"==typeof a.value?(a=a.value.getAttribute("link"),b||(a=mxUtils.removeJavascriptProtocol(a)),a):null};
Graph.prototype.getLinkTargetForCell=function(a){return null!=a.value&&"object"==typeof a.value?a.value.getAttribute("linkTarget"):null};Graph.prototype.postProcessCellStyle=function(a,b){return this.updateHorizontalStyle(a,this.replaceDefaultColors(a,mxGraph.prototype.postProcessCellStyle.apply(this,arguments)))};
-Graph.prototype.updateHorizontalStyle=function(a,b){if(null!=a&&null!=b&&null!=this.layoutManager){var d=this.model.getParent(a);this.model.isVertex(d)&&this.isCellCollapsed(a)&&(a=this.layoutManager.getLayout(d),null!=a&&a.constructor==mxStackLayout&&(b[mxConstants.STYLE_HORIZONTAL]=!a.horizontal))}return b};
-Graph.prototype.replaceDefaultColors=function(a,b){if(null!=b){a=mxUtils.hex2rgb(this.shapeBackgroundColor);var d=mxUtils.hex2rgb(this.shapeForegroundColor);this.replaceDefaultColor(b,mxConstants.STYLE_FONTCOLOR,d,a);this.replaceDefaultColor(b,mxConstants.STYLE_FILLCOLOR,a,d);this.replaceDefaultColor(b,mxConstants.STYLE_GRADIENTCOLOR,d,a);this.replaceDefaultColor(b,mxConstants.STYLE_STROKECOLOR,d,a);this.replaceDefaultColor(b,mxConstants.STYLE_IMAGE_BORDER,d,a);this.replaceDefaultColor(b,mxConstants.STYLE_IMAGE_BACKGROUND,
-a,d);this.replaceDefaultColor(b,mxConstants.STYLE_LABEL_BORDERCOLOR,d,a);this.replaceDefaultColor(b,mxConstants.STYLE_SWIMLANE_FILLCOLOR,a,d);this.replaceDefaultColor(b,mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,a,d)}return b};Graph.prototype.replaceDefaultColor=function(a,b,d,e){null!=a&&"default"==a[b]&&null!=d&&(a[b]=this.getDefaultColor(a,b,d,e))};Graph.prototype.getDefaultColor=function(a,b,d,e){b="default"+b.charAt(0).toUpperCase()+b.substring(1);"invert"==a[b]&&(d=e);return d};
-Graph.prototype.updateAlternateBounds=function(a,b,d){if(null!=a&&null!=b&&null!=this.layoutManager&&null!=b.alternateBounds){var e=this.layoutManager.getLayout(this.model.getParent(a));null!=e&&e.constructor==mxStackLayout&&(e.horizontal?b.alternateBounds.height=0:b.alternateBounds.width=0)}mxGraph.prototype.updateAlternateBounds.apply(this,arguments)};Graph.prototype.isMoveCellsEvent=function(a,b){return mxEvent.isShiftDown(a)||"1"==mxUtils.getValue(b.style,"moveCells","0")};
-Graph.prototype.foldCells=function(a,b,d,e,g){b=null!=b?b:!1;null==d&&(d=this.getFoldableCells(this.getSelectionCells(),a));if(null!=d){this.model.beginUpdate();try{if(mxGraph.prototype.foldCells.apply(this,arguments),null!=this.layoutManager)for(var f=0;f<d.length;f++){var h=this.view.getState(d[f]),n=this.getCellGeometry(d[f]);if(null!=h&&null!=n){var q=0,l=0;if(n.alternateBounds)q=n.width-n.alternateBounds.width,l=n.height-n.alternateBounds.height;else{var p=this.useCssTransforms?1:this.view.scale;
-q=Math.round(n.width-h.width/p);l=Math.round(n.height-h.height/p)}if(0!=l||0!=q){var w=this.model.getParent(d[f]),z=this.layoutManager.getLayout(w);null==z?null!=g&&this.isMoveCellsEvent(g,h)&&this.moveSiblings(h,w,q,l):null!=g&&mxEvent.isAltDown(g)||z.constructor!=mxStackLayout||z.resizeLast||this.resizeParentStacks(w,z,q,l)}}}}finally{this.model.endUpdate()}this.isEnabled()&&this.setSelectionCells(d)}};
-Graph.prototype.moveSiblings=function(a,b,d,e){this.model.beginUpdate();try{var g=this.getCellsBeyond(a.x,a.y,b,!0,!0);for(b=0;b<g.length;b++)if(g[b]!=a.cell){var f=this.view.getState(g[b]),h=this.getCellGeometry(g[b]);null!=f&&null!=h&&(h=h.clone(),h.translate(Math.round(d*Math.max(0,Math.min(1,(f.x-a.x)/a.width))),Math.round(e*Math.max(0,Math.min(1,(f.y-a.y)/a.height)))),this.model.setGeometry(g[b],h))}}finally{this.model.endUpdate()}};
-Graph.prototype.resizeParentStacks=function(a,b,d,e){if(null!=this.layoutManager&&null!=b&&b.constructor==mxStackLayout&&!b.resizeLast){this.model.beginUpdate();try{for(var g=b.horizontal;null!=a&&null!=b&&b.constructor==mxStackLayout&&b.horizontal==g&&!b.resizeLast;){var f=this.getCellGeometry(a),h=this.view.getState(a);null!=h&&null!=f&&(f=f.clone(),b.horizontal?f.width+=d+Math.min(0,h.width/this.view.scale-f.width):f.height+=e+Math.min(0,h.height/this.view.scale-f.height),this.model.setGeometry(a,
-f));a=this.model.getParent(a);b=this.layoutManager.getLayout(a)}}finally{this.model.endUpdate()}}};Graph.prototype.isContainer=function(a){var b=this.getCurrentCellStyle(a);return this.isSwimlane(a)?"0"!=b.container:"1"==b.container};Graph.prototype.isCellConnectable=function(a){var b=this.getCurrentCellStyle(a);return!this.isCellLocked(this.getLayerForCell(a))&&(null!=b.connectable?"0"!=b.connectable:mxGraph.prototype.isCellConnectable.apply(this,arguments))};
-Graph.prototype.isLabelMovable=function(a){var b=this.getCurrentCellStyle(a);return null!=b.movableLabel?"0"!=b.movableLabel:mxGraph.prototype.isLabelMovable.apply(this,arguments)};Graph.prototype.selectAll=function(a){a=a||this.getDefaultParent();this.isCellLocked(a)||mxGraph.prototype.selectAll.apply(this,arguments)};Graph.prototype.selectCells=function(a,b,d){d=d||this.getDefaultParent();this.isCellLocked(d)||mxGraph.prototype.selectCells.apply(this,arguments)};
-Graph.prototype.getSwimlaneAt=function(a,b,d){var e=mxGraph.prototype.getSwimlaneAt.apply(this,arguments);this.isCellLocked(e)&&(e=null);return e};Graph.prototype.isCellFoldable=function(a){var b=this.getCurrentCellStyle(a);return this.foldingEnabled&&"0"!=mxUtils.getValue(b,mxConstants.STYLE_RESIZABLE,"1")&&("1"==b.treeFolding||!this.isCellLocked(a)&&(this.isContainer(a)&&"0"!=b.collapsible||!this.isContainer(a)&&"1"==b.collapsible))};
+Graph.prototype.updateHorizontalStyle=function(a,b){if(null!=a&&null!=b&&null!=this.layoutManager){var e=this.model.getParent(a);this.model.isVertex(e)&&this.isCellCollapsed(a)&&(a=this.layoutManager.getLayout(e),null!=a&&a.constructor==mxStackLayout&&(b[mxConstants.STYLE_HORIZONTAL]=!a.horizontal))}return b};
+Graph.prototype.replaceDefaultColors=function(a,b){if(null!=b){a=mxUtils.hex2rgb(this.shapeBackgroundColor);var e=mxUtils.hex2rgb(this.shapeForegroundColor);this.replaceDefaultColor(b,mxConstants.STYLE_FONTCOLOR,e,a);this.replaceDefaultColor(b,mxConstants.STYLE_FILLCOLOR,a,e);this.replaceDefaultColor(b,mxConstants.STYLE_GRADIENTCOLOR,e,a);this.replaceDefaultColor(b,mxConstants.STYLE_STROKECOLOR,e,a);this.replaceDefaultColor(b,mxConstants.STYLE_IMAGE_BORDER,e,a);this.replaceDefaultColor(b,mxConstants.STYLE_IMAGE_BACKGROUND,
+a,e);this.replaceDefaultColor(b,mxConstants.STYLE_LABEL_BORDERCOLOR,e,a);this.replaceDefaultColor(b,mxConstants.STYLE_SWIMLANE_FILLCOLOR,a,e);this.replaceDefaultColor(b,mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,a,e)}return b};Graph.prototype.replaceDefaultColor=function(a,b,e,f){null!=a&&"default"==a[b]&&null!=e&&(a[b]=this.getDefaultColor(a,b,e,f))};Graph.prototype.getDefaultColor=function(a,b,e,f){b="default"+b.charAt(0).toUpperCase()+b.substring(1);"invert"==a[b]&&(e=f);return e};
+Graph.prototype.updateAlternateBounds=function(a,b,e){if(null!=a&&null!=b&&null!=this.layoutManager&&null!=b.alternateBounds){var f=this.layoutManager.getLayout(this.model.getParent(a));null!=f&&f.constructor==mxStackLayout&&(f.horizontal?b.alternateBounds.height=0:b.alternateBounds.width=0)}mxGraph.prototype.updateAlternateBounds.apply(this,arguments)};Graph.prototype.isMoveCellsEvent=function(a,b){return mxEvent.isShiftDown(a)||"1"==mxUtils.getValue(b.style,"moveCells","0")};
+Graph.prototype.foldCells=function(a,b,e,f,h){b=null!=b?b:!1;null==e&&(e=this.getFoldableCells(this.getSelectionCells(),a));if(null!=e){this.model.beginUpdate();try{if(mxGraph.prototype.foldCells.apply(this,arguments),null!=this.layoutManager)for(var d=0;d<e.length;d++){var g=this.view.getState(e[d]),n=this.getCellGeometry(e[d]);if(null!=g&&null!=n){var q=0,k=0;if(n.alternateBounds)q=n.width-n.alternateBounds.width,k=n.height-n.alternateBounds.height;else{var p=this.useCssTransforms?1:this.view.scale;
+q=Math.round(n.width-g.width/p);k=Math.round(n.height-g.height/p)}if(0!=k||0!=q){var w=this.model.getParent(e[d]),z=this.layoutManager.getLayout(w);null==z?null!=h&&this.isMoveCellsEvent(h,g)&&this.moveSiblings(g,w,q,k):null!=h&&mxEvent.isAltDown(h)||z.constructor!=mxStackLayout||z.resizeLast||this.resizeParentStacks(w,z,q,k)}}}}finally{this.model.endUpdate()}this.isEnabled()&&this.setSelectionCells(e)}};
+Graph.prototype.moveSiblings=function(a,b,e,f){this.model.beginUpdate();try{var h=this.getCellsBeyond(a.x,a.y,b,!0,!0);for(b=0;b<h.length;b++)if(h[b]!=a.cell){var d=this.view.getState(h[b]),g=this.getCellGeometry(h[b]);null!=d&&null!=g&&(g=g.clone(),g.translate(Math.round(e*Math.max(0,Math.min(1,(d.x-a.x)/a.width))),Math.round(f*Math.max(0,Math.min(1,(d.y-a.y)/a.height)))),this.model.setGeometry(h[b],g))}}finally{this.model.endUpdate()}};
+Graph.prototype.resizeParentStacks=function(a,b,e,f){if(null!=this.layoutManager&&null!=b&&b.constructor==mxStackLayout&&!b.resizeLast){this.model.beginUpdate();try{for(var h=b.horizontal;null!=a&&null!=b&&b.constructor==mxStackLayout&&b.horizontal==h&&!b.resizeLast;){var d=this.getCellGeometry(a),g=this.view.getState(a);null!=g&&null!=d&&(d=d.clone(),b.horizontal?d.width+=e+Math.min(0,g.width/this.view.scale-d.width):d.height+=f+Math.min(0,g.height/this.view.scale-d.height),this.model.setGeometry(a,
+d));a=this.model.getParent(a);b=this.layoutManager.getLayout(a)}}finally{this.model.endUpdate()}}};Graph.prototype.isContainer=function(a){var b=this.getCurrentCellStyle(a);return this.isSwimlane(a)?"0"!=b.container:"1"==b.container};Graph.prototype.isCellConnectable=function(a){var b=this.getCurrentCellStyle(a);return!this.isCellLocked(this.getLayerForCell(a))&&(null!=b.connectable?"0"!=b.connectable:mxGraph.prototype.isCellConnectable.apply(this,arguments))};
+Graph.prototype.isLabelMovable=function(a){var b=this.getCurrentCellStyle(a);return null!=b.movableLabel?"0"!=b.movableLabel:mxGraph.prototype.isLabelMovable.apply(this,arguments)};Graph.prototype.selectAll=function(a){a=a||this.getDefaultParent();this.isCellLocked(a)||mxGraph.prototype.selectAll.apply(this,arguments)};Graph.prototype.selectCells=function(a,b,e){e=e||this.getDefaultParent();this.isCellLocked(e)||mxGraph.prototype.selectCells.apply(this,arguments)};
+Graph.prototype.getSwimlaneAt=function(a,b,e){var f=mxGraph.prototype.getSwimlaneAt.apply(this,arguments);this.isCellLocked(f)&&(f=null);return f};Graph.prototype.isCellFoldable=function(a){var b=this.getCurrentCellStyle(a);return this.foldingEnabled&&"0"!=mxUtils.getValue(b,mxConstants.STYLE_RESIZABLE,"1")&&("1"==b.treeFolding||!this.isCellLocked(a)&&(this.isContainer(a)&&"0"!=b.collapsible||!this.isContainer(a)&&"1"==b.collapsible))};
Graph.prototype.reset=function(){this.isEditing()&&this.stopEditing(!0);this.escape();this.isSelectionEmpty()||this.clearSelection()};Graph.prototype.zoom=function(a,b){a=Math.max(.01,Math.min(this.view.scale*a,160))/this.view.scale;mxGraph.prototype.zoom.apply(this,arguments)};Graph.prototype.zoomIn=function(){.15>this.view.scale?this.zoom((this.view.scale+.01)/this.view.scale):this.zoom(Math.round(this.view.scale*this.zoomFactor*20)/20/this.view.scale)};
Graph.prototype.zoomOut=function(){.15>=this.view.scale?this.zoom((this.view.scale-.01)/this.view.scale):this.zoom(Math.round(1/this.zoomFactor*this.view.scale*20)/20/this.view.scale)};
-Graph.prototype.fitPages=function(a,b){var d=1;null==a&&(d=this.getPageLayout(),a=d.width,d=d.height);var e=this.pageScale,g=this.pageFormat,f=this.container.clientHeight-10,h=(this.container.clientWidth-10)/(a*g.width)/e;this.zoomTo(Math.floor(20*(b?h:Math.min(h,f/(d*g.height)/e)))/20);mxUtils.hasScrollbars(this.container)&&(d=this.getPagePadding(),this.container.scrollLeft=Math.min(d.x*this.view.scale,(this.container.scrollWidth-this.container.clientWidth)/2)-1,b||(this.container.scrollTop=2<=a?
-Math.min(d.y,(this.container.scrollHeight-this.container.clientHeight)/2):d.y*this.view.scale-1))};
-Graph.prototype.fitWindow=function(a,b){b=null!=b?b:10;var d=this.container.clientWidth-b,e=this.container.clientHeight-b;this.zoomTo(Math.floor(20*Math.min(d/a.width,e/a.height))/20);mxUtils.hasScrollbars(this.container)&&window.setTimeout(mxUtils.bind(this,function(){var g=this.view.translate;this.container.scrollLeft=(a.x+g.x)*this.view.scale-Math.max((d-a.width*this.view.scale)/2+b/2,0);this.container.scrollTop=(a.y+g.y)*this.view.scale-Math.max((e-a.height*this.view.scale)/2+b/2,0)}),0)};
+Graph.prototype.fitPages=function(a,b){var e=1;null==a&&(e=this.getPageLayout(),a=e.width,e=e.height);var f=this.pageScale,h=this.pageFormat,d=this.container.clientHeight-10,g=(this.container.clientWidth-10)/(a*h.width)/f;this.zoomTo(Math.floor(20*(b?g:Math.min(g,d/(e*h.height)/f)))/20);mxUtils.hasScrollbars(this.container)&&(e=this.getPagePadding(),this.container.scrollLeft=Math.min(e.x*this.view.scale,(this.container.scrollWidth-this.container.clientWidth)/2)-1,b||(this.container.scrollTop=2<=a?
+Math.min(e.y,(this.container.scrollHeight-this.container.clientHeight)/2):e.y*this.view.scale-1))};
+Graph.prototype.fitWindow=function(a,b){b=null!=b?b:10;var e=this.container.clientWidth-b,f=this.container.clientHeight-b;this.zoomTo(Math.floor(20*Math.min(e/a.width,f/a.height))/20);mxUtils.hasScrollbars(this.container)&&window.setTimeout(mxUtils.bind(this,function(){var h=this.view.translate;this.container.scrollLeft=(a.x+h.x)*this.view.scale-Math.max((e-a.width*this.view.scale)/2+b/2,0);this.container.scrollTop=(a.y+h.y)*this.view.scale-Math.max((f-a.height*this.view.scale)/2+b/2,0)}),0)};
Graph.prototype.convertValueToTooltip=function(a){var b=null;mxUtils.isNode(a.value)&&(Graph.translateDiagram&&null!=Graph.diagramLanguage&&(b=a.value.getAttribute("tooltip_"+Graph.diagramLanguage)),null==b&&(b=a.value.getAttribute("tooltip")),null!=b&&(null!=b&&this.isReplacePlaceholders(a)&&(b=this.replacePlaceholders(a,b)),b=Graph.sanitizeHtml(b)));return b};
-Graph.prototype.getTooltipForCell=function(a){var b="";if(mxUtils.isNode(a.value)&&(b=this.convertValueToTooltip(a),null==b)){var d=this.builtInProperties;a=a.value.attributes;var e=[];b="";this.isEnabled()&&(d.push("linkTarget"),d.push("link"));for(var g=0;g<a.length;g++)(Graph.translateDiagram&&"label"==a[g].nodeName||0>mxUtils.indexOf(d,a[g].nodeName))&&0<a[g].nodeValue.length&&e.push({name:a[g].nodeName,value:a[g].nodeValue});e.sort(function(f,h){return f.name<h.name?-1:f.name>h.name?1:0});for(g=
-0;g<e.length;g++)"link"==e[g].name&&this.isCustomLink(e[g].value)||(b+=("link"!=e[g].name?"<b>"+mxUtils.htmlEntities(e[g].name)+":</b> ":"")+mxUtils.htmlEntities(e[g].value)+"\n");0<b.length&&(b=b.substring(0,b.length-1),mxClient.IS_SVG&&(b='<div style="max-width:360px;text-overflow:ellipsis;overflow:hidden;">'+b+"</div>"))}return b};
-Graph.prototype.addFlowAnimationToNode=function(a,b,d,e){if(null!=a&&null!=e){var g=a.getAttribute("stroke-dasharray");if(""==g||null==g){var f=String(mxUtils.getValue(b,mxConstants.STYLE_DASH_PATTERN,"8")).split(" ");g=1==mxUtils.getValue(b,mxConstants.STYLE_FIX_DASH,!1)||null==b.dashPattern?1:mxUtils.getNumber(b,mxConstants.STYLE_STROKEWIDTH,1);if(0<f.length)for(var h=0;h<f.length;h++)f[h]=Math.round(Number(f[h])*d*g*100)/100;a.setAttribute("stroke-dasharray",f.join(" "))}else f=g.split(" ");if(0<
-f.length){for(h=g=0;h<f.length;h++){var n=parseFloat(f[h]);isNaN(n)||(g+=parseFloat(f[h]))}0!=f.length%2&&(g*=2);d=Math.round(g/d/16*parseInt(mxUtils.getValue(b,"flowAnimationDuration",500)));f=mxUtils.getValue(b,"flowAnimationTimingFunction","linear");b=mxUtils.getValue(b,"flowAnimationDirection","normal");a.style.animation=e+" "+d+"ms "+mxUtils.htmlEntities(f)+" infinite "+mxUtils.htmlEntities(b);a.style.strokeDashoffset=g}}};
+Graph.prototype.getTooltipForCell=function(a){var b="";if(mxUtils.isNode(a.value)&&(b=this.convertValueToTooltip(a),null==b)){var e=this.builtInProperties;a=a.value.attributes;var f=[];b="";this.isEnabled()&&(e.push("linkTarget"),e.push("link"));for(var h=0;h<a.length;h++)(Graph.translateDiagram&&"label"==a[h].nodeName||0>mxUtils.indexOf(e,a[h].nodeName))&&0<a[h].nodeValue.length&&f.push({name:a[h].nodeName,value:a[h].nodeValue});f.sort(function(d,g){return d.name<g.name?-1:d.name>g.name?1:0});for(h=
+0;h<f.length;h++)"link"==f[h].name&&this.isCustomLink(f[h].value)||(b+=("link"!=f[h].name?"<b>"+mxUtils.htmlEntities(f[h].name)+":</b> ":"")+mxUtils.htmlEntities(f[h].value)+"\n");0<b.length&&(b=b.substring(0,b.length-1),mxClient.IS_SVG&&(b='<div style="max-width:360px;text-overflow:ellipsis;overflow:hidden;">'+b+"</div>"))}return b};
+Graph.prototype.addFlowAnimationToNode=function(a,b,e,f){if(null!=a&&null!=f){var h=a.getAttribute("stroke-dasharray");if(""==h||null==h){var d=String(mxUtils.getValue(b,mxConstants.STYLE_DASH_PATTERN,"8")).split(" ");h=1==mxUtils.getValue(b,mxConstants.STYLE_FIX_DASH,!1)||null==b.dashPattern?1:mxUtils.getNumber(b,mxConstants.STYLE_STROKEWIDTH,1);if(0<d.length)for(var g=0;g<d.length;g++)d[g]=Math.round(Number(d[g])*e*h*100)/100;a.setAttribute("stroke-dasharray",d.join(" "))}else d=h.split(" ");if(0<
+d.length){for(g=h=0;g<d.length;g++){var n=parseFloat(d[g]);isNaN(n)||(h+=parseFloat(d[g]))}0!=d.length%2&&(h*=2);e=Math.round(h/e/16*parseInt(mxUtils.getValue(b,"flowAnimationDuration",500)));d=mxUtils.getValue(b,"flowAnimationTimingFunction","linear");b=mxUtils.getValue(b,"flowAnimationDirection","normal");a.style.animation=f+" "+e+"ms "+mxUtils.htmlEntities(d)+" infinite "+mxUtils.htmlEntities(b);a.style.strokeDashoffset=h}}};
Graph.prototype.addFlowAnimationStyle=function(){var a=document.getElementsByTagName("head")[0];if(null!=a&&null==this.flowAnimationId){this.flowAnimationId="ge-flow-animation-"+Editor.guid();var b=document.createElement("style");b.innerHTML=this.createFlowAnimationCss(this.flowAnimationId);a.appendChild(b)}return this.flowAnimationId};Graph.prototype.createFlowAnimationCss=function(a){return"@keyframes "+a+" {\n to {\n stroke-dashoffset: 0;\n }\n}"};Graph.prototype.stringToBytes=function(a){return Graph.stringToBytes(a)};
Graph.prototype.bytesToString=function(a){return Graph.bytesToString(a)};Graph.prototype.compressNode=function(a){return Graph.compressNode(a)};Graph.prototype.compress=function(a,b){return Graph.compress(a,b)};Graph.prototype.decompress=function(a,b){return Graph.decompress(a,b)};Graph.prototype.zapGremlins=function(a){return Graph.zapGremlins(a)};HoverIcons=function(a){mxEventSource.call(this);this.graph=a;this.init()};mxUtils.extend(HoverIcons,mxEventSource);HoverIcons.prototype.arrowSpacing=2;
HoverIcons.prototype.updateDelay=500;HoverIcons.prototype.activationDelay=140;HoverIcons.prototype.currentState=null;HoverIcons.prototype.activeArrow=null;HoverIcons.prototype.inactiveOpacity=15;HoverIcons.prototype.cssCursor="copy";HoverIcons.prototype.checkCollisions=!0;HoverIcons.prototype.arrowFill="#29b6f2";
@@ -2709,123 +2709,123 @@ HoverIcons.prototype.refreshTarget=new mxImage(mxClient.IS_SVG?"data:image/svg+x
"/refresh.png",38,38);HoverIcons.prototype.tolerance=mxClient.IS_TOUCH?6:0;
HoverIcons.prototype.init=function(){this.arrowUp=this.createArrow(this.triangleUp,mxResources.get("plusTooltip"),mxConstants.DIRECTION_NORTH);this.arrowRight=this.createArrow(this.triangleRight,mxResources.get("plusTooltip"),mxConstants.DIRECTION_EAST);this.arrowDown=this.createArrow(this.triangleDown,mxResources.get("plusTooltip"),mxConstants.DIRECTION_SOUTH);this.arrowLeft=this.createArrow(this.triangleLeft,mxResources.get("plusTooltip"),mxConstants.DIRECTION_WEST);this.elts=[this.arrowUp,this.arrowRight,
this.arrowDown,this.arrowLeft];this.resetHandler=mxUtils.bind(this,function(){this.reset()});this.repaintHandler=mxUtils.bind(this,function(){this.repaint()});this.graph.selectionModel.addListener(mxEvent.CHANGE,this.resetHandler);this.graph.model.addListener(mxEvent.CHANGE,this.repaintHandler);this.graph.view.addListener(mxEvent.SCALE_AND_TRANSLATE,this.repaintHandler);this.graph.view.addListener(mxEvent.TRANSLATE,this.repaintHandler);this.graph.view.addListener(mxEvent.SCALE,this.repaintHandler);
-this.graph.view.addListener(mxEvent.DOWN,this.repaintHandler);this.graph.view.addListener(mxEvent.UP,this.repaintHandler);this.graph.addListener(mxEvent.ROOT,this.repaintHandler);this.graph.addListener(mxEvent.ESCAPE,this.resetHandler);mxEvent.addListener(this.graph.container,"scroll",this.resetHandler);this.graph.addListener(mxEvent.ESCAPE,mxUtils.bind(this,function(){this.mouseDownPoint=null}));mxEvent.addListener(this.graph.container,"mouseleave",mxUtils.bind(this,function(d){null!=d.relatedTarget&&
-mxEvent.getSource(d)==this.graph.container&&this.setDisplay("none")}));this.graph.addListener(mxEvent.START_EDITING,mxUtils.bind(this,function(d){this.reset()}));var a=this.graph.click;this.graph.click=mxUtils.bind(this,function(d){a.apply(this.graph,arguments);null==this.currentState||this.graph.isCellSelected(this.currentState.cell)||!mxEvent.isTouchEvent(d.getEvent())||this.graph.model.isVertex(d.getCell())||this.reset()});var b=!1;this.graph.addMouseListener({mouseDown:mxUtils.bind(this,function(d,
-e){b=!1;d=e.getEvent();this.isResetEvent(d)?this.reset():this.isActive()||(e=this.getState(e.getState()),null==e&&mxEvent.isTouchEvent(d)||this.update(e));this.setDisplay("none")}),mouseMove:mxUtils.bind(this,function(d,e){d=e.getEvent();this.isResetEvent(d)?this.reset():this.graph.isMouseDown||mxEvent.isTouchEvent(d)||this.update(this.getState(e.getState()),e.getGraphX(),e.getGraphY());null!=this.graph.connectionHandler&&null!=this.graph.connectionHandler.shape&&(b=!0)}),mouseUp:mxUtils.bind(this,
-function(d,e){d=e.getEvent();mxUtils.convertPoint(this.graph.container,mxEvent.getClientX(d),mxEvent.getClientY(d));this.isResetEvent(d)?this.reset():this.isActive()&&!b&&null!=this.mouseDownPoint?this.click(this.currentState,this.getDirection(),e):this.isActive()?1==this.graph.getSelectionCount()&&this.graph.model.isEdge(this.graph.getSelectionCell())?this.reset():this.update(this.getState(this.graph.view.getState(this.graph.getCellAt(e.getGraphX(),e.getGraphY())))):mxEvent.isTouchEvent(d)||null!=
-this.bbox&&mxUtils.contains(this.bbox,e.getGraphX(),e.getGraphY())?(this.setDisplay(""),this.repaint()):mxEvent.isTouchEvent(d)||this.reset();b=!1;this.resetActiveArrow()})})};HoverIcons.prototype.isResetEvent=function(a,b){return mxEvent.isAltDown(a)||null==this.activeArrow&&mxEvent.isShiftDown(a)||mxEvent.isPopupTrigger(a)&&!this.graph.isCloneEvent(a)};
-HoverIcons.prototype.createArrow=function(a,b,d){var e=null;e=mxUtils.createImage(a.src);e.style.width=a.width+"px";e.style.height=a.height+"px";e.style.padding=this.tolerance+"px";null!=b&&e.setAttribute("title",b);e.style.position="absolute";e.style.cursor=this.cssCursor;mxEvent.addGestureListeners(e,mxUtils.bind(this,function(g){null==this.currentState||this.isResetEvent(g)||(this.mouseDownPoint=mxUtils.convertPoint(this.graph.container,mxEvent.getClientX(g),mxEvent.getClientY(g)),this.drag(g,
-this.mouseDownPoint.x,this.mouseDownPoint.y),this.activeArrow=e,this.setDisplay("none"),mxEvent.consume(g))}));mxEvent.redirectMouseEvents(e,this.graph,this.currentState);mxEvent.addListener(e,"mouseenter",mxUtils.bind(this,function(g){mxEvent.isMouseEvent(g)&&(null!=this.activeArrow&&this.activeArrow!=e&&mxUtils.setOpacity(this.activeArrow,this.inactiveOpacity),this.graph.connectionHandler.constraintHandler.reset(),mxUtils.setOpacity(e,100),this.activeArrow=e,this.fireEvent(new mxEventObject("focus",
-"arrow",e,"direction",d,"event",g)))}));mxEvent.addListener(e,"mouseleave",mxUtils.bind(this,function(g){mxEvent.isMouseEvent(g)&&this.fireEvent(new mxEventObject("blur","arrow",e,"direction",d,"event",g));this.graph.isMouseDown||this.resetActiveArrow()}));return e};HoverIcons.prototype.resetActiveArrow=function(){null!=this.activeArrow&&(mxUtils.setOpacity(this.activeArrow,this.inactiveOpacity),this.activeArrow=null)};
+this.graph.view.addListener(mxEvent.DOWN,this.repaintHandler);this.graph.view.addListener(mxEvent.UP,this.repaintHandler);this.graph.addListener(mxEvent.ROOT,this.repaintHandler);this.graph.addListener(mxEvent.ESCAPE,this.resetHandler);mxEvent.addListener(this.graph.container,"scroll",this.resetHandler);this.graph.addListener(mxEvent.ESCAPE,mxUtils.bind(this,function(){this.mouseDownPoint=null}));mxEvent.addListener(this.graph.container,"mouseleave",mxUtils.bind(this,function(e){null!=e.relatedTarget&&
+mxEvent.getSource(e)==this.graph.container&&this.setDisplay("none")}));this.graph.addListener(mxEvent.START_EDITING,mxUtils.bind(this,function(e){this.reset()}));var a=this.graph.click;this.graph.click=mxUtils.bind(this,function(e){a.apply(this.graph,arguments);null==this.currentState||this.graph.isCellSelected(this.currentState.cell)||!mxEvent.isTouchEvent(e.getEvent())||this.graph.model.isVertex(e.getCell())||this.reset()});var b=!1;this.graph.addMouseListener({mouseDown:mxUtils.bind(this,function(e,
+f){b=!1;e=f.getEvent();this.isResetEvent(e)?this.reset():this.isActive()||(f=this.getState(f.getState()),null==f&&mxEvent.isTouchEvent(e)||this.update(f));this.setDisplay("none")}),mouseMove:mxUtils.bind(this,function(e,f){e=f.getEvent();this.isResetEvent(e)?this.reset():this.graph.isMouseDown||mxEvent.isTouchEvent(e)||this.update(this.getState(f.getState()),f.getGraphX(),f.getGraphY());null!=this.graph.connectionHandler&&null!=this.graph.connectionHandler.shape&&(b=!0)}),mouseUp:mxUtils.bind(this,
+function(e,f){e=f.getEvent();mxUtils.convertPoint(this.graph.container,mxEvent.getClientX(e),mxEvent.getClientY(e));this.isResetEvent(e)?this.reset():this.isActive()&&!b&&null!=this.mouseDownPoint?this.click(this.currentState,this.getDirection(),f):this.isActive()?1==this.graph.getSelectionCount()&&this.graph.model.isEdge(this.graph.getSelectionCell())?this.reset():this.update(this.getState(this.graph.view.getState(this.graph.getCellAt(f.getGraphX(),f.getGraphY())))):mxEvent.isTouchEvent(e)||null!=
+this.bbox&&mxUtils.contains(this.bbox,f.getGraphX(),f.getGraphY())?(this.setDisplay(""),this.repaint()):mxEvent.isTouchEvent(e)||this.reset();b=!1;this.resetActiveArrow()})})};HoverIcons.prototype.isResetEvent=function(a,b){return mxEvent.isAltDown(a)||null==this.activeArrow&&mxEvent.isShiftDown(a)||mxEvent.isPopupTrigger(a)&&!this.graph.isCloneEvent(a)};
+HoverIcons.prototype.createArrow=function(a,b,e){var f=null;f=mxUtils.createImage(a.src);f.style.width=a.width+"px";f.style.height=a.height+"px";f.style.padding=this.tolerance+"px";null!=b&&f.setAttribute("title",b);f.style.position="absolute";f.style.cursor=this.cssCursor;mxEvent.addGestureListeners(f,mxUtils.bind(this,function(h){null==this.currentState||this.isResetEvent(h)||(this.mouseDownPoint=mxUtils.convertPoint(this.graph.container,mxEvent.getClientX(h),mxEvent.getClientY(h)),this.drag(h,
+this.mouseDownPoint.x,this.mouseDownPoint.y),this.activeArrow=f,this.setDisplay("none"),mxEvent.consume(h))}));mxEvent.redirectMouseEvents(f,this.graph,this.currentState);mxEvent.addListener(f,"mouseenter",mxUtils.bind(this,function(h){mxEvent.isMouseEvent(h)&&(null!=this.activeArrow&&this.activeArrow!=f&&mxUtils.setOpacity(this.activeArrow,this.inactiveOpacity),this.graph.connectionHandler.constraintHandler.reset(),mxUtils.setOpacity(f,100),this.activeArrow=f,this.fireEvent(new mxEventObject("focus",
+"arrow",f,"direction",e,"event",h)))}));mxEvent.addListener(f,"mouseleave",mxUtils.bind(this,function(h){mxEvent.isMouseEvent(h)&&this.fireEvent(new mxEventObject("blur","arrow",f,"direction",e,"event",h));this.graph.isMouseDown||this.resetActiveArrow()}));return f};HoverIcons.prototype.resetActiveArrow=function(){null!=this.activeArrow&&(mxUtils.setOpacity(this.activeArrow,this.inactiveOpacity),this.activeArrow=null)};
HoverIcons.prototype.getDirection=function(){var a=mxConstants.DIRECTION_EAST;this.activeArrow==this.arrowUp?a=mxConstants.DIRECTION_NORTH:this.activeArrow==this.arrowDown?a=mxConstants.DIRECTION_SOUTH:this.activeArrow==this.arrowLeft&&(a=mxConstants.DIRECTION_WEST);return a};HoverIcons.prototype.visitNodes=function(a){for(var b=0;b<this.elts.length;b++)null!=this.elts[b]&&a(this.elts[b])};HoverIcons.prototype.removeNodes=function(){this.visitNodes(function(a){null!=a.parentNode&&a.parentNode.removeChild(a)})};
HoverIcons.prototype.setDisplay=function(a){this.visitNodes(function(b){b.style.display=a})};HoverIcons.prototype.isActive=function(){return null!=this.activeArrow&&null!=this.currentState};
-HoverIcons.prototype.drag=function(a,b,d){this.graph.popupMenuHandler.hideMenu();this.graph.stopEditing(!1);null!=this.currentState&&(this.graph.connectionHandler.start(this.currentState,b,d),this.graph.isMouseTrigger=mxEvent.isMouseEvent(a),this.graph.isMouseDown=!0,b=this.graph.selectionCellsHandler.getHandler(this.currentState.cell),null!=b&&b.setHandlesVisible(!1),b=this.graph.connectionHandler.edgeState,null!=a&&mxEvent.isShiftDown(a)&&mxEvent.isControlDown(a)&&null!=b&&"orthogonalEdgeStyle"===
-mxUtils.getValue(b.style,mxConstants.STYLE_EDGE,null)&&(a=this.getDirection(),b.cell.style=mxUtils.setStyle(b.cell.style,"sourcePortConstraint",a),b.style.sourcePortConstraint=a))};HoverIcons.prototype.getStateAt=function(a,b,d){return this.graph.view.getState(this.graph.getCellAt(b,d))};
-HoverIcons.prototype.click=function(a,b,d){var e=d.getEvent(),g=d.getGraphX(),f=d.getGraphY();g=this.getStateAt(a,g,f);null==g||!this.graph.model.isEdge(g.cell)||this.graph.isCloneEvent(e)||g.getVisibleTerminalState(!0)!=a&&g.getVisibleTerminalState(!1)!=a?null!=a&&this.execute(a,b,d):(this.graph.setSelectionCell(g.cell),this.reset());d.consume()};
-HoverIcons.prototype.execute=function(a,b,d){d=d.getEvent();this.graph.selectCellsForConnectVertex(this.graph.connectVertex(a.cell,b,this.graph.defaultEdgeLength,d,this.graph.isCloneEvent(d),this.graph.isCloneEvent(d)),d,this)};HoverIcons.prototype.reset=function(a){null!=a&&!a||null==this.updateThread||window.clearTimeout(this.updateThread);this.activeArrow=this.currentState=this.mouseDownPoint=null;this.removeNodes();this.bbox=null;this.fireEvent(new mxEventObject("reset"))};
+HoverIcons.prototype.drag=function(a,b,e){this.graph.popupMenuHandler.hideMenu();this.graph.stopEditing(!1);null!=this.currentState&&(this.graph.connectionHandler.start(this.currentState,b,e),this.graph.isMouseTrigger=mxEvent.isMouseEvent(a),this.graph.isMouseDown=!0,b=this.graph.selectionCellsHandler.getHandler(this.currentState.cell),null!=b&&b.setHandlesVisible(!1),b=this.graph.connectionHandler.edgeState,null!=a&&mxEvent.isShiftDown(a)&&mxEvent.isControlDown(a)&&null!=b&&"orthogonalEdgeStyle"===
+mxUtils.getValue(b.style,mxConstants.STYLE_EDGE,null)&&(a=this.getDirection(),b.cell.style=mxUtils.setStyle(b.cell.style,"sourcePortConstraint",a),b.style.sourcePortConstraint=a))};HoverIcons.prototype.getStateAt=function(a,b,e){return this.graph.view.getState(this.graph.getCellAt(b,e))};
+HoverIcons.prototype.click=function(a,b,e){var f=e.getEvent(),h=e.getGraphX(),d=e.getGraphY();h=this.getStateAt(a,h,d);null==h||!this.graph.model.isEdge(h.cell)||this.graph.isCloneEvent(f)||h.getVisibleTerminalState(!0)!=a&&h.getVisibleTerminalState(!1)!=a?null!=a&&this.execute(a,b,e):(this.graph.setSelectionCell(h.cell),this.reset());e.consume()};
+HoverIcons.prototype.execute=function(a,b,e){e=e.getEvent();this.graph.selectCellsForConnectVertex(this.graph.connectVertex(a.cell,b,this.graph.defaultEdgeLength,e,this.graph.isCloneEvent(e),this.graph.isCloneEvent(e)),e,this)};HoverIcons.prototype.reset=function(a){null!=a&&!a||null==this.updateThread||window.clearTimeout(this.updateThread);this.activeArrow=this.currentState=this.mouseDownPoint=null;this.removeNodes();this.bbox=null;this.fireEvent(new mxEventObject("reset"))};
HoverIcons.prototype.repaint=function(){this.bbox=null;if(null!=this.currentState){this.currentState=this.getState(this.currentState);if(null!=this.currentState&&this.graph.model.isVertex(this.currentState.cell)&&this.graph.isCellConnectable(this.currentState.cell)){var a=mxRectangle.fromRectangle(this.currentState);null!=this.currentState.shape&&null!=this.currentState.shape.boundingBox&&(a=mxRectangle.fromRectangle(this.currentState.shape.boundingBox));a.grow(this.graph.tolerance);a.grow(this.arrowSpacing);
-var b=this.graph.selectionCellsHandler.getHandler(this.currentState.cell);this.graph.isTableRow(this.currentState.cell)&&(b=this.graph.selectionCellsHandler.getHandler(this.graph.model.getParent(this.currentState.cell)));var d=null;null!=b&&(a.x-=b.horizontalOffset/2,a.y-=b.verticalOffset/2,a.width+=b.horizontalOffset,a.height+=b.verticalOffset,null!=b.rotationShape&&null!=b.rotationShape.node&&"hidden"!=b.rotationShape.node.style.visibility&&"none"!=b.rotationShape.node.style.display&&null!=b.rotationShape.boundingBox&&
-(d=b.rotationShape.boundingBox));b=mxUtils.bind(this,function(n,q,l){if(null!=d){var p=new mxRectangle(q,l,n.clientWidth,n.clientHeight);mxUtils.intersects(p,d)&&(n==this.arrowUp?l-=p.y+p.height-d.y:n==this.arrowRight?q+=d.x+d.width-p.x:n==this.arrowDown?l+=d.y+d.height-p.y:n==this.arrowLeft&&(q-=p.x+p.width-d.x))}n.style.left=q+"px";n.style.top=l+"px";mxUtils.setOpacity(n,this.inactiveOpacity)});b(this.arrowUp,Math.round(this.currentState.getCenterX()-this.triangleUp.width/2-this.tolerance),Math.round(a.y-
+var b=this.graph.selectionCellsHandler.getHandler(this.currentState.cell);this.graph.isTableRow(this.currentState.cell)&&(b=this.graph.selectionCellsHandler.getHandler(this.graph.model.getParent(this.currentState.cell)));var e=null;null!=b&&(a.x-=b.horizontalOffset/2,a.y-=b.verticalOffset/2,a.width+=b.horizontalOffset,a.height+=b.verticalOffset,null!=b.rotationShape&&null!=b.rotationShape.node&&"hidden"!=b.rotationShape.node.style.visibility&&"none"!=b.rotationShape.node.style.display&&null!=b.rotationShape.boundingBox&&
+(e=b.rotationShape.boundingBox));b=mxUtils.bind(this,function(n,q,k){if(null!=e){var p=new mxRectangle(q,k,n.clientWidth,n.clientHeight);mxUtils.intersects(p,e)&&(n==this.arrowUp?k-=p.y+p.height-e.y:n==this.arrowRight?q+=e.x+e.width-p.x:n==this.arrowDown?k+=e.y+e.height-p.y:n==this.arrowLeft&&(q-=p.x+p.width-e.x))}n.style.left=q+"px";n.style.top=k+"px";mxUtils.setOpacity(n,this.inactiveOpacity)});b(this.arrowUp,Math.round(this.currentState.getCenterX()-this.triangleUp.width/2-this.tolerance),Math.round(a.y-
this.triangleUp.height-this.tolerance));b(this.arrowRight,Math.round(a.x+a.width-this.tolerance),Math.round(this.currentState.getCenterY()-this.triangleRight.height/2-this.tolerance));b(this.arrowDown,parseInt(this.arrowUp.style.left),Math.round(a.y+a.height-this.tolerance));b(this.arrowLeft,Math.round(a.x-this.triangleLeft.width-this.tolerance),parseInt(this.arrowRight.style.top));if(this.checkCollisions){b=this.graph.getCellAt(a.x+a.width+this.triangleRight.width/2,this.currentState.getCenterY());
-var e=this.graph.getCellAt(a.x-this.triangleLeft.width/2,this.currentState.getCenterY()),g=this.graph.getCellAt(this.currentState.getCenterX(),a.y-this.triangleUp.height/2);a=this.graph.getCellAt(this.currentState.getCenterX(),a.y+a.height+this.triangleDown.height/2);null!=b&&b==e&&e==g&&g==a&&(a=g=e=b=null);var f=this.graph.getCellGeometry(this.currentState.cell),h=mxUtils.bind(this,function(n,q){var l=this.graph.model.isVertex(n)&&this.graph.getCellGeometry(n);null==n||this.graph.model.isAncestor(n,
-this.currentState.cell)||this.graph.isSwimlane(n)||!(null==l||null==f||l.height<3*f.height&&l.width<3*f.width)?q.style.visibility="visible":q.style.visibility="hidden"});h(b,this.arrowRight);h(e,this.arrowLeft);h(g,this.arrowUp);h(a,this.arrowDown)}else this.arrowLeft.style.visibility="visible",this.arrowRight.style.visibility="visible",this.arrowUp.style.visibility="visible",this.arrowDown.style.visibility="visible";this.graph.tooltipHandler.isEnabled()?(this.arrowLeft.setAttribute("title",mxResources.get("plusTooltip")),
+var f=this.graph.getCellAt(a.x-this.triangleLeft.width/2,this.currentState.getCenterY()),h=this.graph.getCellAt(this.currentState.getCenterX(),a.y-this.triangleUp.height/2);a=this.graph.getCellAt(this.currentState.getCenterX(),a.y+a.height+this.triangleDown.height/2);null!=b&&b==f&&f==h&&h==a&&(a=h=f=b=null);var d=this.graph.getCellGeometry(this.currentState.cell),g=mxUtils.bind(this,function(n,q){var k=this.graph.model.isVertex(n)&&this.graph.getCellGeometry(n);null==n||this.graph.model.isAncestor(n,
+this.currentState.cell)||this.graph.isSwimlane(n)||!(null==k||null==d||k.height<3*d.height&&k.width<3*d.width)?q.style.visibility="visible":q.style.visibility="hidden"});g(b,this.arrowRight);g(f,this.arrowLeft);g(h,this.arrowUp);g(a,this.arrowDown)}else this.arrowLeft.style.visibility="visible",this.arrowRight.style.visibility="visible",this.arrowUp.style.visibility="visible",this.arrowDown.style.visibility="visible";this.graph.tooltipHandler.isEnabled()?(this.arrowLeft.setAttribute("title",mxResources.get("plusTooltip")),
this.arrowRight.setAttribute("title",mxResources.get("plusTooltip")),this.arrowUp.setAttribute("title",mxResources.get("plusTooltip")),this.arrowDown.setAttribute("title",mxResources.get("plusTooltip"))):(this.arrowLeft.removeAttribute("title"),this.arrowRight.removeAttribute("title"),this.arrowUp.removeAttribute("title"),this.arrowDown.removeAttribute("title"))}else this.reset();null!=this.currentState&&(this.bbox=this.computeBoundingBox(),null!=this.bbox&&this.bbox.grow(10))}};
HoverIcons.prototype.computeBoundingBox=function(){var a=this.graph.model.isEdge(this.currentState.cell)?null:mxRectangle.fromRectangle(this.currentState);this.visitNodes(function(b){null!=b.parentNode&&(b=new mxRectangle(b.offsetLeft,b.offsetTop,b.offsetWidth,b.offsetHeight),null==a?a=b:a.add(b))});return a};
HoverIcons.prototype.getState=function(a){if(null!=a)if(a=a.cell,this.graph.getModel().contains(a)){if(this.graph.getModel().isVertex(a)&&!this.graph.isCellConnectable(a)){var b=this.graph.getModel().getParent(a);this.graph.getModel().isVertex(b)&&this.graph.isCellConnectable(b)&&(a=b)}if(this.graph.isCellLocked(a)||this.graph.model.isEdge(a))a=null;a=this.graph.view.getState(a);null!=a&&null==a.style&&(a=null)}else a=null;return a};
-HoverIcons.prototype.update=function(a,b,d){if(!this.graph.connectionArrowsEnabled||null!=this.graph.freehand&&this.graph.freehand.isDrawing()||null!=a&&"0"==mxUtils.getValue(a.style,"allowArrows","1"))this.reset();else{null!=a&&null!=a.cell.geometry&&a.cell.geometry.relative&&this.graph.model.isEdge(a.cell.parent)&&(a=null);var e=null;this.prev!=a||this.isActive()?(this.startTime=(new Date).getTime(),this.prev=a,e=0,null!=this.updateThread&&window.clearTimeout(this.updateThread),null!=a&&(this.updateThread=
-window.setTimeout(mxUtils.bind(this,function(){this.isActive()||this.graph.isMouseDown||this.graph.panningHandler.isActive()||(this.prev=a,this.update(a,b,d))}),this.updateDelay+10))):null!=this.startTime&&(e=(new Date).getTime()-this.startTime);this.setDisplay("");null!=this.currentState&&this.currentState!=a&&e<this.activationDelay&&null!=this.bbox&&!mxUtils.contains(this.bbox,b,d)?this.reset(!1):(null!=this.currentState||e>this.activationDelay)&&this.currentState!=a&&(e>this.updateDelay&&null!=
-a||null==this.bbox||null==b||null==d||!mxUtils.contains(this.bbox,b,d))&&(null!=a&&this.graph.isEnabled()?(this.removeNodes(),this.setCurrentState(a),this.repaint(),this.graph.connectionHandler.constraintHandler.currentFocus!=a&&this.graph.connectionHandler.constraintHandler.reset()):this.reset())}};
+HoverIcons.prototype.update=function(a,b,e){if(!this.graph.connectionArrowsEnabled||null!=this.graph.freehand&&this.graph.freehand.isDrawing()||null!=a&&"0"==mxUtils.getValue(a.style,"allowArrows","1"))this.reset();else{null!=a&&null!=a.cell.geometry&&a.cell.geometry.relative&&this.graph.model.isEdge(a.cell.parent)&&(a=null);var f=null;this.prev!=a||this.isActive()?(this.startTime=(new Date).getTime(),this.prev=a,f=0,null!=this.updateThread&&window.clearTimeout(this.updateThread),null!=a&&(this.updateThread=
+window.setTimeout(mxUtils.bind(this,function(){this.isActive()||this.graph.isMouseDown||this.graph.panningHandler.isActive()||(this.prev=a,this.update(a,b,e))}),this.updateDelay+10))):null!=this.startTime&&(f=(new Date).getTime()-this.startTime);this.setDisplay("");null!=this.currentState&&this.currentState!=a&&f<this.activationDelay&&null!=this.bbox&&!mxUtils.contains(this.bbox,b,e)?this.reset(!1):(null!=this.currentState||f>this.activationDelay)&&this.currentState!=a&&(f>this.updateDelay&&null!=
+a||null==this.bbox||null==b||null==e||!mxUtils.contains(this.bbox,b,e))&&(null!=a&&this.graph.isEnabled()?(this.removeNodes(),this.setCurrentState(a),this.repaint(),this.graph.connectionHandler.constraintHandler.currentFocus!=a&&this.graph.connectionHandler.constraintHandler.reset()):this.reset())}};
HoverIcons.prototype.setCurrentState=function(a){"eastwest"!=a.style.portConstraint&&(this.graph.container.appendChild(this.arrowUp),this.graph.container.appendChild(this.arrowDown));this.graph.container.appendChild(this.arrowRight);this.graph.container.appendChild(this.arrowLeft);this.currentState=a};
-Graph.prototype.removeTextStyleForCell=function(a,b){var d=this.getCurrentCellStyle(a),e=!1;this.getModel().beginUpdate();try{if("1"==mxUtils.getValue(d,"html","0")){var g=this.convertValueToString(a);"0"!=mxUtils.getValue(d,"nl2Br","1")&&(g=g.replace(/\n/g,"").replace(/<br\s*.?>/g,"\n"));g=Editor.convertHtmlToText(g);this.cellLabelChanged(a,g);e=!0}b&&(this.setCellStyles("fontSource",null,[a]),this.setCellStyles(mxConstants.STYLE_FONTFAMILY,null,[a]),this.setCellStyles(mxConstants.STYLE_FONTSIZE,
-null,[a]),this.setCellStyles(mxConstants.STYLE_FONTSTYLE,null,[a]),this.setCellStyles(mxConstants.STYLE_FONTCOLOR,null,[a]),this.setCellStyles(mxConstants.STYLE_LABEL_BORDERCOLOR,null,[a]),this.setCellStyles(mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,null,[a]))}finally{this.getModel().endUpdate()}return e};Graph.prototype.createParent=function(a,b,d,e,g){a=this.cloneCell(a);for(var f=0;f<d;f++){var h=this.cloneCell(b),n=this.getCellGeometry(h);null!=n&&(n.x+=f*e,n.y+=f*g);a.insert(h)}return a};
-Graph.prototype.createTable=function(a,b,d,e,g,f,h,n,q){d=null!=d?d:60;e=null!=e?e:40;f=null!=f?f:30;n=null!=n?n:"shape=tableRow;horizontal=0;startSize=0;swimlaneHead=0;swimlaneBody=0;strokeColor=inherit;top=0;left=0;bottom=0;right=0;collapsible=0;dropTarget=0;fillColor=none;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;";q=null!=q?q:"shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;strokeColor=inherit;overflow=hidden;fillColor=none;top=0;left=0;bottom=0;right=0;pointerEvents=1;";return this.createParent(this.createVertex(null,
-null,null!=g?g:"",0,0,b*d,a*e+(null!=g?f:0),null!=h?h:"shape=table;startSize="+(null!=g?f:"0")+";container=1;collapsible=0;childLayout=tableLayout;"),this.createParent(this.createVertex(null,null,"",0,0,b*d,e,n),this.createVertex(null,null,"",0,0,d,e,q),b,d,0),a,0,e)};
-Graph.prototype.setTableValues=function(a,b,d){for(var e=this.model.getChildCells(a,!0),g=0;g<e.length;g++)if(null!=d&&(e[g].value=d[g]),null!=b)for(var f=this.model.getChildCells(e[g],!0),h=0;h<f.length;h++)null!=b[g][h]&&(f[h].value=b[g][h]);return a};
-Graph.prototype.createCrossFunctionalSwimlane=function(a,b,d,e,g,f,h,n,q){d=null!=d?d:120;e=null!=e?e:120;h=null!=h?h:"shape=tableRow;horizontal=0;swimlaneHead=0;swimlaneBody=0;top=0;left=0;strokeColor=inherit;bottom=0;right=0;dropTarget=0;fontStyle=0;fillColor=none;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;startSize=40;collapsible=0;recursiveResize=0;expand=0;";n=null!=n?n:"swimlane;swimlaneHead=0;swimlaneBody=0;fontStyle=0;strokeColor=inherit;connectable=0;fillColor=none;startSize=40;collapsible=0;recursiveResize=0;expand=0;";
-q=null!=q?q:"swimlane;swimlaneHead=0;swimlaneBody=0;fontStyle=0;connectable=0;strokeColor=inherit;fillColor=none;startSize=0;collapsible=0;recursiveResize=0;expand=0;";g=this.createVertex(null,null,null!=g?g:"",0,0,b*d,a*e,null!=f?f:"shape=table;childLayout=tableLayout;"+(null==g?"startSize=0;fillColor=none;":"startSize=40;")+"collapsible=0;recursiveResize=0;expand=0;");f=mxUtils.getValue(this.getCellStyle(g),mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE);g.geometry.width+=f;g.geometry.height+=
-f;h=this.createVertex(null,null,"",0,f,b*d+f,e,h);g.insert(this.createParent(h,this.createVertex(null,null,"",f,0,d,e,n),b,d,0));return 1<a?(h.geometry.y=e+f,this.createParent(g,this.createParent(h,this.createVertex(null,null,"",f,0,d,e,q),b,d,0),a-1,0,e)):g};
-Graph.prototype.visitTableCells=function(a,b){var d=null,e=this.model.getChildCells(a,!0);a=this.getActualStartSize(a,!0);for(var g=0;g<e.length;g++){for(var f=this.getActualStartSize(e[g],!0),h=this.model.getChildCells(e[g],!0),n=this.getCellStyle(e[g],!0),q=null,l=[],p=0;p<h.length;p++){var w=this.getCellGeometry(h[p]),z={cell:h[p],rospan:1,colspan:1,row:g,col:p,geo:w};w=null!=w.alternateBounds?w.alternateBounds:w;z.point=new mxPoint(w.width+(null!=q?q.point.x:a.x+f.x),w.height+(null!=d&&null!=
-d[0]?d[0].point.y:a.y+f.y));z.actual=z;null!=d&&null!=d[p]&&1<d[p].rowspan?(z.rowspan=d[p].rowspan-1,z.colspan=d[p].colspan,z.actual=d[p].actual):null!=q&&1<q.colspan?(z.rowspan=q.rowspan,z.colspan=q.colspan-1,z.actual=q.actual):(q=this.getCurrentCellStyle(h[p],!0),null!=q&&(z.rowspan=parseInt(q.rowspan||1),z.colspan=parseInt(q.colspan||1)));q=1==mxUtils.getValue(n,mxConstants.STYLE_SWIMLANE_HEAD,1)&&mxUtils.getValue(n,mxConstants.STYLE_STROKECOLOR,mxConstants.NONE)!=mxConstants.NONE;b(z,h.length,
-e.length,a.x+(q?f.x:0),a.y+(q?f.y:0));l.push(z);q=z}d=l}};Graph.prototype.getTableLines=function(a,b,d){var e=[],g=[];(b||d)&&this.visitTableCells(a,mxUtils.bind(this,function(f,h,n,q,l){b&&f.row<n-1&&(null==e[f.row]&&(e[f.row]=[new mxPoint(q,f.point.y)]),1<f.rowspan&&e[f.row].push(null),e[f.row].push(f.point));d&&f.col<h-1&&(null==g[f.col]&&(g[f.col]=[new mxPoint(f.point.x,l)]),1<f.colspan&&g[f.col].push(null),g[f.col].push(f.point))}));return e.concat(g)};
+Graph.prototype.removeTextStyleForCell=function(a,b){var e=this.getCurrentCellStyle(a),f=!1;this.getModel().beginUpdate();try{if("1"==mxUtils.getValue(e,"html","0")){var h=this.convertValueToString(a);"0"!=mxUtils.getValue(e,"nl2Br","1")&&(h=h.replace(/\n/g,"").replace(/<br\s*.?>/g,"\n"));h=Editor.convertHtmlToText(h);this.cellLabelChanged(a,h);f=!0}b&&(this.setCellStyles("fontSource",null,[a]),this.setCellStyles(mxConstants.STYLE_FONTFAMILY,null,[a]),this.setCellStyles(mxConstants.STYLE_FONTSIZE,
+null,[a]),this.setCellStyles(mxConstants.STYLE_FONTSTYLE,null,[a]),this.setCellStyles(mxConstants.STYLE_FONTCOLOR,null,[a]),this.setCellStyles(mxConstants.STYLE_LABEL_BORDERCOLOR,null,[a]),this.setCellStyles(mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,null,[a]))}finally{this.getModel().endUpdate()}return f};Graph.prototype.createParent=function(a,b,e,f,h){a=this.cloneCell(a);for(var d=0;d<e;d++){var g=this.cloneCell(b),n=this.getCellGeometry(g);null!=n&&(n.x+=d*f,n.y+=d*h);a.insert(g)}return a};
+Graph.prototype.createTable=function(a,b,e,f,h,d,g,n,q){e=null!=e?e:60;f=null!=f?f:40;d=null!=d?d:30;n=null!=n?n:"shape=tableRow;horizontal=0;startSize=0;swimlaneHead=0;swimlaneBody=0;strokeColor=inherit;top=0;left=0;bottom=0;right=0;collapsible=0;dropTarget=0;fillColor=none;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;";q=null!=q?q:"shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;strokeColor=inherit;overflow=hidden;fillColor=none;top=0;left=0;bottom=0;right=0;pointerEvents=1;";return this.createParent(this.createVertex(null,
+null,null!=h?h:"",0,0,b*e,a*f+(null!=h?d:0),null!=g?g:"shape=table;startSize="+(null!=h?d:"0")+";container=1;collapsible=0;childLayout=tableLayout;"),this.createParent(this.createVertex(null,null,"",0,0,b*e,f,n),this.createVertex(null,null,"",0,0,e,f,q),b,e,0),a,0,f)};
+Graph.prototype.setTableValues=function(a,b,e){for(var f=this.model.getChildCells(a,!0),h=0;h<f.length;h++)if(null!=e&&(f[h].value=e[h]),null!=b)for(var d=this.model.getChildCells(f[h],!0),g=0;g<d.length;g++)null!=b[h][g]&&(d[g].value=b[h][g]);return a};
+Graph.prototype.createCrossFunctionalSwimlane=function(a,b,e,f,h,d,g,n,q){e=null!=e?e:120;f=null!=f?f:120;g=null!=g?g:"shape=tableRow;horizontal=0;swimlaneHead=0;swimlaneBody=0;top=0;left=0;strokeColor=inherit;bottom=0;right=0;dropTarget=0;fontStyle=0;fillColor=none;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;startSize=40;collapsible=0;recursiveResize=0;expand=0;";n=null!=n?n:"swimlane;swimlaneHead=0;swimlaneBody=0;fontStyle=0;strokeColor=inherit;connectable=0;fillColor=none;startSize=40;collapsible=0;recursiveResize=0;expand=0;";
+q=null!=q?q:"swimlane;swimlaneHead=0;swimlaneBody=0;fontStyle=0;connectable=0;strokeColor=inherit;fillColor=none;startSize=0;collapsible=0;recursiveResize=0;expand=0;";h=this.createVertex(null,null,null!=h?h:"",0,0,b*e,a*f,null!=d?d:"shape=table;childLayout=tableLayout;"+(null==h?"startSize=0;fillColor=none;":"startSize=40;")+"collapsible=0;recursiveResize=0;expand=0;");d=mxUtils.getValue(this.getCellStyle(h),mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE);h.geometry.width+=d;h.geometry.height+=
+d;g=this.createVertex(null,null,"",0,d,b*e+d,f,g);h.insert(this.createParent(g,this.createVertex(null,null,"",d,0,e,f,n),b,e,0));return 1<a?(g.geometry.y=f+d,this.createParent(h,this.createParent(g,this.createVertex(null,null,"",d,0,e,f,q),b,e,0),a-1,0,f)):h};
+Graph.prototype.visitTableCells=function(a,b){var e=null,f=this.model.getChildCells(a,!0);a=this.getActualStartSize(a,!0);for(var h=0;h<f.length;h++){for(var d=this.getActualStartSize(f[h],!0),g=this.model.getChildCells(f[h],!0),n=this.getCellStyle(f[h],!0),q=null,k=[],p=0;p<g.length;p++){var w=this.getCellGeometry(g[p]),z={cell:g[p],rospan:1,colspan:1,row:h,col:p,geo:w};w=null!=w.alternateBounds?w.alternateBounds:w;z.point=new mxPoint(w.width+(null!=q?q.point.x:a.x+d.x),w.height+(null!=e&&null!=
+e[0]?e[0].point.y:a.y+d.y));z.actual=z;null!=e&&null!=e[p]&&1<e[p].rowspan?(z.rowspan=e[p].rowspan-1,z.colspan=e[p].colspan,z.actual=e[p].actual):null!=q&&1<q.colspan?(z.rowspan=q.rowspan,z.colspan=q.colspan-1,z.actual=q.actual):(q=this.getCurrentCellStyle(g[p],!0),null!=q&&(z.rowspan=parseInt(q.rowspan||1),z.colspan=parseInt(q.colspan||1)));q=1==mxUtils.getValue(n,mxConstants.STYLE_SWIMLANE_HEAD,1)&&mxUtils.getValue(n,mxConstants.STYLE_STROKECOLOR,mxConstants.NONE)!=mxConstants.NONE;b(z,g.length,
+f.length,a.x+(q?d.x:0),a.y+(q?d.y:0));k.push(z);q=z}e=k}};Graph.prototype.getTableLines=function(a,b,e){var f=[],h=[];(b||e)&&this.visitTableCells(a,mxUtils.bind(this,function(d,g,n,q,k){b&&d.row<n-1&&(null==f[d.row]&&(f[d.row]=[new mxPoint(q,d.point.y)]),1<d.rowspan&&f[d.row].push(null),f[d.row].push(d.point));e&&d.col<g-1&&(null==h[d.col]&&(h[d.col]=[new mxPoint(d.point.x,k)]),1<d.colspan&&h[d.col].push(null),h[d.col].push(d.point))}));return f.concat(h)};
Graph.prototype.isTableCell=function(a){return this.model.isVertex(a)&&this.isTableRow(this.model.getParent(a))};Graph.prototype.isTableRow=function(a){return this.model.isVertex(a)&&this.isTable(this.model.getParent(a))};Graph.prototype.isTable=function(a){a=this.getCellStyle(a);return null!=a&&"tableLayout"==a.childLayout};Graph.prototype.isStack=function(a){a=this.getCellStyle(a);return null!=a&&"stackLayout"==a.childLayout};
Graph.prototype.isStackChild=function(a){return this.model.isVertex(a)&&this.isStack(this.model.getParent(a))};
-Graph.prototype.setTableRowHeight=function(a,b,d){d=null!=d?d:!0;var e=this.getModel();e.beginUpdate();try{var g=this.getCellGeometry(a);if(null!=g){g=g.clone();g.height+=b;e.setGeometry(a,g);var f=e.getParent(a),h=e.getChildCells(f,!0);if(!d){var n=mxUtils.indexOf(h,a);if(n<h.length-1){var q=h[n+1],l=this.getCellGeometry(q);null!=l&&(l=l.clone(),l.y+=b,l.height-=b,e.setGeometry(q,l))}}var p=this.getCellGeometry(f);null!=p&&(d||(d=a==h[h.length-1]),d&&(p=p.clone(),p.height+=b,e.setGeometry(f,p)))}}finally{e.endUpdate()}};
-Graph.prototype.setTableColumnWidth=function(a,b,d){d=null!=d?d:!1;var e=this.getModel(),g=e.getParent(a),f=e.getParent(g),h=e.getChildCells(g,!0);a=mxUtils.indexOf(h,a);var n=a==h.length-1;e.beginUpdate();try{for(var q=e.getChildCells(f,!0),l=0;l<q.length;l++){g=q[l];h=e.getChildCells(g,!0);var p=h[a],w=this.getCellGeometry(p);null!=w&&(w=w.clone(),w.width+=b,null!=w.alternateBounds&&(w.alternateBounds.width+=b),e.setGeometry(p,w));a<h.length-1&&(p=h[a+1],w=this.getCellGeometry(p),null!=w&&(w=w.clone(),
-w.x+=b,d||(w.width-=b,null!=w.alternateBounds&&(w.alternateBounds.width-=b)),e.setGeometry(p,w)))}if(n||d){var z=this.getCellGeometry(f);null!=z&&(z=z.clone(),z.width+=b,e.setGeometry(f,z))}null!=this.layoutManager&&this.layoutManager.executeLayout(f)}finally{e.endUpdate()}};function TableLayout(a){mxGraphLayout.call(this,a)}TableLayout.prototype=new mxStackLayout;TableLayout.prototype.constructor=TableLayout;TableLayout.prototype.isHorizontal=function(){return!1};
-TableLayout.prototype.isVertexIgnored=function(a){return!this.graph.getModel().isVertex(a)||!this.graph.isCellVisible(a)};TableLayout.prototype.getSize=function(a,b){for(var d=0,e=0;e<a.length;e++)if(!this.isVertexIgnored(a[e])){var g=this.graph.getCellGeometry(a[e]);null!=g&&(d+=b?g.width:g.height)}return d};
-TableLayout.prototype.getRowLayout=function(a,b){var d=this.graph.model.getChildCells(a,!0),e=this.graph.getActualStartSize(a,!0);a=this.getSize(d,!0);b=b-e.x-e.width;var g=[];e=e.x;for(var f=0;f<d.length;f++){var h=this.graph.getCellGeometry(d[f]);null!=h&&(e+=(null!=h.alternateBounds?h.alternateBounds.width:h.width)*b/a,g.push(Math.round(e)))}return g};
-TableLayout.prototype.layoutRow=function(a,b,d,e){var g=this.graph.getModel(),f=g.getChildCells(a,!0);a=this.graph.getActualStartSize(a,!0);var h=a.x,n=0;null!=b&&(b=b.slice(),b.splice(0,0,a.x));for(var q=0;q<f.length;q++){var l=this.graph.getCellGeometry(f[q]);null!=l&&(l=l.clone(),l.y=a.y,l.height=d-a.y-a.height,null!=b?(l.x=b[q],l.width=b[q+1]-l.x,q==f.length-1&&q<b.length-2&&(l.width=e-l.x-a.x-a.width)):(l.x=h,h+=l.width,q==f.length-1?l.width=e-a.x-a.width-n:n+=l.width),l.alternateBounds=new mxRectangle(0,
-0,l.width,l.height),g.setGeometry(f[q],l))}return n};
-TableLayout.prototype.execute=function(a){if(null!=a){var b=this.graph.getActualStartSize(a,!0),d=this.graph.getCellGeometry(a),e=this.graph.getCellStyle(a),g="1"==mxUtils.getValue(e,"resizeLastRow","0"),f="1"==mxUtils.getValue(e,"resizeLast","0");e="1"==mxUtils.getValue(e,"fixedRows","0");var h=this.graph.getModel(),n=0;h.beginUpdate();try{for(var q=d.height-b.y-b.height,l=d.width-b.x-b.width,p=h.getChildCells(a,!0),w=0;w<p.length;w++)h.setVisible(p[w],!0);var z=this.getSize(p,!1);if(0<q&&0<l&&0<
-p.length&&0<z){if(g){var C=this.graph.getCellGeometry(p[p.length-1]);null!=C&&(C=C.clone(),C.height=q-z+C.height,h.setGeometry(p[p.length-1],C))}var F=f?null:this.getRowLayout(p[0],l),D=[],G=b.y;for(w=0;w<p.length;w++)C=this.graph.getCellGeometry(p[w]),null!=C&&(C=C.clone(),C.x=b.x,C.width=l,C.y=Math.round(G),G=g||e?G+C.height:G+C.height/z*q,C.height=Math.round(G)-C.y,h.setGeometry(p[w],C)),n=Math.max(n,this.layoutRow(p[w],F,C.height,l,D));e&&q<z&&(d=d.clone(),d.height=G+b.height,h.setGeometry(a,
-d));f&&l<n+Graph.minTableColumnWidth&&(d=d.clone(),d.width=n+b.width+b.x+Graph.minTableColumnWidth,h.setGeometry(a,d));this.graph.visitTableCells(a,mxUtils.bind(this,function(K){h.setVisible(K.cell,K.actual.cell==K.cell);if(K.actual.cell!=K.cell){if(K.actual.row==K.row){var I=null!=K.geo.alternateBounds?K.geo.alternateBounds:K.geo;K.actual.geo.width+=I.width}K.actual.col==K.col&&(I=null!=K.geo.alternateBounds?K.geo.alternateBounds:K.geo,K.actual.geo.height+=I.height)}}))}else for(w=0;w<p.length;w++)h.setVisible(p[w],
-!1)}finally{h.endUpdate()}}};
+Graph.prototype.setTableRowHeight=function(a,b,e){e=null!=e?e:!0;var f=this.getModel();f.beginUpdate();try{var h=this.getCellGeometry(a);if(null!=h){h=h.clone();h.height+=b;f.setGeometry(a,h);var d=f.getParent(a),g=f.getChildCells(d,!0);if(!e){var n=mxUtils.indexOf(g,a);if(n<g.length-1){var q=g[n+1],k=this.getCellGeometry(q);null!=k&&(k=k.clone(),k.y+=b,k.height-=b,f.setGeometry(q,k))}}var p=this.getCellGeometry(d);null!=p&&(e||(e=a==g[g.length-1]),e&&(p=p.clone(),p.height+=b,f.setGeometry(d,p)))}}finally{f.endUpdate()}};
+Graph.prototype.setTableColumnWidth=function(a,b,e){e=null!=e?e:!1;var f=this.getModel(),h=f.getParent(a),d=f.getParent(h),g=f.getChildCells(h,!0);a=mxUtils.indexOf(g,a);var n=a==g.length-1;f.beginUpdate();try{for(var q=f.getChildCells(d,!0),k=0;k<q.length;k++){h=q[k];g=f.getChildCells(h,!0);var p=g[a],w=this.getCellGeometry(p);null!=w&&(w=w.clone(),w.width+=b,null!=w.alternateBounds&&(w.alternateBounds.width+=b),f.setGeometry(p,w));a<g.length-1&&(p=g[a+1],w=this.getCellGeometry(p),null!=w&&(w=w.clone(),
+w.x+=b,e||(w.width-=b,null!=w.alternateBounds&&(w.alternateBounds.width-=b)),f.setGeometry(p,w)))}if(n||e){var z=this.getCellGeometry(d);null!=z&&(z=z.clone(),z.width+=b,f.setGeometry(d,z))}null!=this.layoutManager&&this.layoutManager.executeLayout(d)}finally{f.endUpdate()}};function TableLayout(a){mxGraphLayout.call(this,a)}TableLayout.prototype=new mxStackLayout;TableLayout.prototype.constructor=TableLayout;TableLayout.prototype.isHorizontal=function(){return!1};
+TableLayout.prototype.isVertexIgnored=function(a){return!this.graph.getModel().isVertex(a)||!this.graph.isCellVisible(a)};TableLayout.prototype.getSize=function(a,b){for(var e=0,f=0;f<a.length;f++)if(!this.isVertexIgnored(a[f])){var h=this.graph.getCellGeometry(a[f]);null!=h&&(e+=b?h.width:h.height)}return e};
+TableLayout.prototype.getRowLayout=function(a,b){var e=this.graph.model.getChildCells(a,!0),f=this.graph.getActualStartSize(a,!0);a=this.getSize(e,!0);b=b-f.x-f.width;var h=[];f=f.x;for(var d=0;d<e.length;d++){var g=this.graph.getCellGeometry(e[d]);null!=g&&(f+=(null!=g.alternateBounds?g.alternateBounds.width:g.width)*b/a,h.push(Math.round(f)))}return h};
+TableLayout.prototype.layoutRow=function(a,b,e,f){var h=this.graph.getModel(),d=h.getChildCells(a,!0);a=this.graph.getActualStartSize(a,!0);var g=a.x,n=0;null!=b&&(b=b.slice(),b.splice(0,0,a.x));for(var q=0;q<d.length;q++){var k=this.graph.getCellGeometry(d[q]);null!=k&&(k=k.clone(),k.y=a.y,k.height=e-a.y-a.height,null!=b?(k.x=b[q],k.width=b[q+1]-k.x,q==d.length-1&&q<b.length-2&&(k.width=f-k.x-a.x-a.width)):(k.x=g,g+=k.width,q==d.length-1?k.width=f-a.x-a.width-n:n+=k.width),k.alternateBounds=new mxRectangle(0,
+0,k.width,k.height),h.setGeometry(d[q],k))}return n};
+TableLayout.prototype.execute=function(a){if(null!=a){var b=this.graph.getActualStartSize(a,!0),e=this.graph.getCellGeometry(a),f=this.graph.getCellStyle(a),h="1"==mxUtils.getValue(f,"resizeLastRow","0"),d="1"==mxUtils.getValue(f,"resizeLast","0");f="1"==mxUtils.getValue(f,"fixedRows","0");var g=this.graph.getModel(),n=0;g.beginUpdate();try{for(var q=e.height-b.y-b.height,k=e.width-b.x-b.width,p=g.getChildCells(a,!0),w=0;w<p.length;w++)g.setVisible(p[w],!0);var z=this.getSize(p,!1);if(0<q&&0<k&&0<
+p.length&&0<z){if(h){var C=this.graph.getCellGeometry(p[p.length-1]);null!=C&&(C=C.clone(),C.height=q-z+C.height,g.setGeometry(p[p.length-1],C))}var F=d?null:this.getRowLayout(p[0],k),D=[],H=b.y;for(w=0;w<p.length;w++)C=this.graph.getCellGeometry(p[w]),null!=C&&(C=C.clone(),C.x=b.x,C.width=k,C.y=Math.round(H),H=h||f?H+C.height:H+C.height/z*q,C.height=Math.round(H)-C.y,g.setGeometry(p[w],C)),n=Math.max(n,this.layoutRow(p[w],F,C.height,k,D));f&&q<z&&(e=e.clone(),e.height=H+b.height,g.setGeometry(a,
+e));d&&k<n+Graph.minTableColumnWidth&&(e=e.clone(),e.width=n+b.width+b.x+Graph.minTableColumnWidth,g.setGeometry(a,e));this.graph.visitTableCells(a,mxUtils.bind(this,function(K){g.setVisible(K.cell,K.actual.cell==K.cell);if(K.actual.cell!=K.cell){if(K.actual.row==K.row){var G=null!=K.geo.alternateBounds?K.geo.alternateBounds:K.geo;K.actual.geo.width+=G.width}K.actual.col==K.col&&(G=null!=K.geo.alternateBounds?K.geo.alternateBounds:K.geo,K.actual.geo.height+=G.height)}}))}else for(w=0;w<p.length;w++)g.setVisible(p[w],
+!1)}finally{g.endUpdate()}}};
(function(){var a=mxGraphView.prototype.resetValidationState;mxGraphView.prototype.resetValidationState=function(){a.apply(this,arguments);this.validEdges=[]};var b=mxGraphView.prototype.validateCellState;mxGraphView.prototype.validateCellState=function(p,w){w=null!=w?w:!0;var z=this.getState(p);null!=z&&w&&this.graph.model.isEdge(z.cell)&&null!=z.style&&1!=z.style[mxConstants.STYLE_CURVED]&&!z.invalid&&this.updateLineJumps(z)&&this.graph.cellRenderer.redraw(z,!1,this.isRendering());z=b.apply(this,
-arguments);null!=z&&w&&this.graph.model.isEdge(z.cell)&&null!=z.style&&1!=z.style[mxConstants.STYLE_CURVED]&&this.validEdges.push(z);return z};var d=mxShape.prototype.paint;mxShape.prototype.isFlowAnimationEnabled=function(){return null!=this.state&&this.state.view.graph.enableFlowAnimation&&this.state.view.graph.model.isEdge(this.state.cell)&&"1"==mxUtils.getValue(this.state.style,"flowAnimation","0")};mxShape.prototype.getFlowAnimationPath=function(){var p=null!=this.node?this.node.getElementsByTagName("path"):
-null;if(null!=p)for(var w=0;w<p.length;w++)if("hidden"!=p[w].getAttribute("visibility"))return p[w];return null};mxShape.prototype.addFlowAnimationToShape=function(){null!=this.state&&this.state.view.graph.addFlowAnimationToNode(this.getFlowAnimationPath(),this.state.style,this.state.view.scale,this.state.view.graph.addFlowAnimationStyle())};mxShape.prototype.paint=function(p){d.apply(this,arguments);this.isFlowAnimationEnabled()&&this.addFlowAnimationToShape()};var e=mxCellRenderer.prototype.isShapeInvalid;
-mxCellRenderer.prototype.isShapeInvalid=function(p,w){return e.apply(this,arguments)||null!=p.routedPoints&&null!=w.routedPoints&&!mxUtils.equalPoints(w.routedPoints,p.routedPoints)};var g=mxGraphView.prototype.updateCellState;mxGraphView.prototype.updateCellState=function(p){g.apply(this,arguments);this.graph.model.isEdge(p.cell)&&1!=p.style[mxConstants.STYLE_CURVED]&&this.updateLineJumps(p)};mxGraphView.prototype.updateLineJumps=function(p){var w=p.absolutePoints;if(Graph.lineJumpsEnabled){var z=
-null!=p.routedPoints,C=null;if(null!=w&&null!=this.validEdges&&"none"!==mxUtils.getValue(p.style,"jumpStyle","none")){var F=function(ja,pa,P){var W=new mxPoint(pa,P);W.type=ja;C.push(W);W=null!=p.routedPoints?p.routedPoints[C.length-1]:null;return null==W||W.type!=ja||W.x!=pa||W.y!=P},D=.5*this.scale;z=!1;C=[];for(var G=0;G<w.length-1;G++){for(var K=w[G+1],I=w[G],O=[],H=w[G+2];G<w.length-2&&mxUtils.ptSegDistSq(I.x,I.y,H.x,H.y,K.x,K.y)<1*this.scale*this.scale;)K=H,G++,H=w[G+2];z=F(0,I.x,I.y)||z;for(var Z=
-0;Z<this.validEdges.length;Z++){var S=this.validEdges[Z],X=S.absolutePoints;if(null!=X&&mxUtils.intersects(p,S)&&"1"!=S.style.noJump){var Y=null;for(S=0;S<X.length-1;S++){var M=X[S+1],U=X[S];for(H=X[S+2];S<X.length-2&&mxUtils.ptSegDistSq(U.x,U.y,H.x,H.y,M.x,M.y)<1*this.scale*this.scale;)M=H,S++,H=X[S+2];var ba=mxUtils.intersection(I.x,I.y,K.x,K.y,U.x,U.y,M.x,M.y);if(null!=ba&&(Math.abs(ba.x-I.x)>D||Math.abs(ba.y-I.y)>D)&&(Math.abs(ba.x-K.x)>D||Math.abs(ba.y-K.y)>D)&&(null==Y||mxUtils.ptLineDist(I.x,
-I.y,K.x,K.y,Y.x,Y.y)>D||mxUtils.ptLineDist(I.x,I.y,K.x,K.y,U.x,U.y)>D)&&(null==H||mxUtils.ptLineDist(I.x,I.y,K.x,K.y,H.x,H.y)>D||mxUtils.ptLineDist(I.x,I.y,K.x,K.y,M.x,M.y)>D)){H=ba.x-I.x;Y=ba.y-I.y;ba={distSq:H*H+Y*Y,x:ba.x,y:ba.y};for(H=0;H<O.length;H++)if(O[H].distSq>ba.distSq){O.splice(H,0,ba);ba=null;break}null==ba||0!=O.length&&O[O.length-1].x===ba.x&&O[O.length-1].y===ba.y||O.push(ba)}Y=U}}}for(S=0;S<O.length;S++)z=F(1,O[S].x,O[S].y)||z}ba=w[w.length-1];z=F(0,ba.x,ba.y)||z}p.routedPoints=C;
-return z}return!1};var f=mxConnector.prototype.paintLine;mxConnector.prototype.paintLine=function(p,w,z){this.routedPoints=null!=this.state?this.state.routedPoints:null;if(this.outline||null==this.state||null==this.style||null==this.state.routedPoints||0==this.state.routedPoints.length)f.apply(this,arguments);else{var C=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2,F=(parseInt(mxUtils.getValue(this.style,"jumpSize",Graph.defaultJumpSize))-2)/2+this.strokewidth,
-D=mxUtils.getValue(this.style,"jumpStyle","none"),G=!0,K=null,I=null,O=[],H=null;p.begin();for(var Z=0;Z<this.state.routedPoints.length;Z++){var S=this.state.routedPoints[Z],X=new mxPoint(S.x/this.scale,S.y/this.scale);0==Z?X=w[0]:Z==this.state.routedPoints.length-1&&(X=w[w.length-1]);var Y=!1;if(null!=K&&1==S.type){var M=this.state.routedPoints[Z+1];S=M.x/this.scale-X.x;M=M.y/this.scale-X.y;S=S*S+M*M;null==H&&(H=new mxPoint(X.x-K.x,X.y-K.y),I=Math.sqrt(H.x*H.x+H.y*H.y),0<I?(H.x=H.x*F/I,H.y=H.y*F/
-I):H=null);S>F*F&&0<I&&(S=K.x-X.x,M=K.y-X.y,S=S*S+M*M,S>F*F&&(Y=new mxPoint(X.x-H.x,X.y-H.y),S=new mxPoint(X.x+H.x,X.y+H.y),O.push(Y),this.addPoints(p,O,z,C,!1,null,G),O=0>Math.round(H.x)||0==Math.round(H.x)&&0>=Math.round(H.y)?1:-1,G=!1,"sharp"==D?(p.lineTo(Y.x-H.y*O,Y.y+H.x*O),p.lineTo(S.x-H.y*O,S.y+H.x*O),p.lineTo(S.x,S.y)):"line"==D?(p.moveTo(Y.x+H.y*O,Y.y-H.x*O),p.lineTo(Y.x-H.y*O,Y.y+H.x*O),p.moveTo(S.x-H.y*O,S.y+H.x*O),p.lineTo(S.x+H.y*O,S.y-H.x*O),p.moveTo(S.x,S.y)):"arc"==D?(O*=1.3,p.curveTo(Y.x-
-H.y*O,Y.y+H.x*O,S.x-H.y*O,S.y+H.x*O,S.x,S.y)):(p.moveTo(S.x,S.y),G=!0),O=[S],Y=!0))}else H=null;Y||(O.push(X),K=X)}this.addPoints(p,O,z,C,!1,null,G);p.stroke()}};var h=mxGraphView.prototype.getFixedTerminalPoint;mxGraphView.prototype.getFixedTerminalPoint=function(p,w,z,C){return null!=w&&"centerPerimeter"==w.style[mxConstants.STYLE_PERIMETER]?new mxPoint(w.getCenterX(),w.getCenterY()):h.apply(this,arguments)};var n=mxGraphView.prototype.updateFloatingTerminalPoint;mxGraphView.prototype.updateFloatingTerminalPoint=
-function(p,w,z,C){if(null==w||null==p||"1"!=w.style.snapToPoint&&"1"!=p.style.snapToPoint)n.apply(this,arguments);else{w=this.getTerminalPort(p,w,C);var F=this.getNextPoint(p,z,C),D=this.graph.isOrthogonal(p),G=mxUtils.toRadians(Number(w.style[mxConstants.STYLE_ROTATION]||"0")),K=new mxPoint(w.getCenterX(),w.getCenterY());if(0!=G){var I=Math.cos(-G),O=Math.sin(-G);F=mxUtils.getRotatedPoint(F,I,O,K)}I=parseFloat(p.style[mxConstants.STYLE_PERIMETER_SPACING]||0);I+=parseFloat(p.style[C?mxConstants.STYLE_SOURCE_PERIMETER_SPACING:
-mxConstants.STYLE_TARGET_PERIMETER_SPACING]||0);F=this.getPerimeterPoint(w,F,0==G&&D,I);0!=G&&(I=Math.cos(G),O=Math.sin(G),F=mxUtils.getRotatedPoint(F,I,O,K));p.setAbsoluteTerminalPoint(this.snapToAnchorPoint(p,w,z,C,F),C)}};mxGraphView.prototype.snapToAnchorPoint=function(p,w,z,C,F){if(null!=w&&null!=p){p=this.graph.getAllConnectionConstraints(w);C=z=null;if(null!=p)for(var D=0;D<p.length;D++){var G=this.graph.getConnectionPoint(w,p[D]);if(null!=G){var K=(G.x-F.x)*(G.x-F.x)+(G.y-F.y)*(G.y-F.y);if(null==
-C||K<C)z=G,C=K}}null!=z&&(F=z)}return F};var q=mxStencil.prototype.evaluateTextAttribute;mxStencil.prototype.evaluateTextAttribute=function(p,w,z){var C=q.apply(this,arguments);"1"==p.getAttribute("placeholders")&&null!=z.state&&(C=z.state.view.graph.replacePlaceholders(z.state.cell,C));return C};var l=mxCellRenderer.prototype.createShape;mxCellRenderer.prototype.createShape=function(p){if(null!=p.style&&"undefined"!==typeof pako){var w=mxUtils.getValue(p.style,mxConstants.STYLE_SHAPE,null);if(null!=
-w&&"string"===typeof w&&"stencil("==w.substring(0,8))try{var z=w.substring(8,w.length-1),C=mxUtils.parseXml(Graph.decompress(z));return new mxShape(new mxStencil(C.documentElement))}catch(F){null!=window.console&&console.log("Error in shape: "+F)}}return l.apply(this,arguments)}})();mxStencilRegistry.libraries={};mxStencilRegistry.dynamicLoading=!0;mxStencilRegistry.allowEval=!0;mxStencilRegistry.packages=[];mxStencilRegistry.filesLoaded={};
+arguments);null!=z&&w&&this.graph.model.isEdge(z.cell)&&null!=z.style&&1!=z.style[mxConstants.STYLE_CURVED]&&this.validEdges.push(z);return z};var e=mxShape.prototype.paint;mxShape.prototype.isFlowAnimationEnabled=function(){return null!=this.state&&this.state.view.graph.enableFlowAnimation&&this.state.view.graph.model.isEdge(this.state.cell)&&"1"==mxUtils.getValue(this.state.style,"flowAnimation","0")};mxShape.prototype.getFlowAnimationPath=function(){var p=null!=this.node?this.node.getElementsByTagName("path"):
+null;if(null!=p)for(var w=0;w<p.length;w++)if("hidden"!=p[w].getAttribute("visibility"))return p[w];return null};mxShape.prototype.addFlowAnimationToShape=function(){null!=this.state&&this.state.view.graph.addFlowAnimationToNode(this.getFlowAnimationPath(),this.state.style,this.state.view.scale,this.state.view.graph.addFlowAnimationStyle())};mxShape.prototype.paint=function(p){e.apply(this,arguments);this.isFlowAnimationEnabled()&&this.addFlowAnimationToShape()};var f=mxCellRenderer.prototype.isShapeInvalid;
+mxCellRenderer.prototype.isShapeInvalid=function(p,w){return f.apply(this,arguments)||null!=p.routedPoints&&null!=w.routedPoints&&!mxUtils.equalPoints(w.routedPoints,p.routedPoints)};var h=mxGraphView.prototype.updateCellState;mxGraphView.prototype.updateCellState=function(p){h.apply(this,arguments);this.graph.model.isEdge(p.cell)&&1!=p.style[mxConstants.STYLE_CURVED]&&this.updateLineJumps(p)};mxGraphView.prototype.updateLineJumps=function(p){var w=p.absolutePoints;if(Graph.lineJumpsEnabled){var z=
+null!=p.routedPoints,C=null;if(null!=w&&null!=this.validEdges&&"none"!==mxUtils.getValue(p.style,"jumpStyle","none")){var F=function(ja,sa,O){var T=new mxPoint(sa,O);T.type=ja;C.push(T);T=null!=p.routedPoints?p.routedPoints[C.length-1]:null;return null==T||T.type!=ja||T.x!=sa||T.y!=O},D=.5*this.scale;z=!1;C=[];for(var H=0;H<w.length-1;H++){for(var K=w[H+1],G=w[H],P=[],I=w[H+2];H<w.length-2&&mxUtils.ptSegDistSq(G.x,G.y,I.x,I.y,K.x,K.y)<1*this.scale*this.scale;)K=I,H++,I=w[H+2];z=F(0,G.x,G.y)||z;for(var Z=
+0;Z<this.validEdges.length;Z++){var S=this.validEdges[Z],Y=S.absolutePoints;if(null!=Y&&mxUtils.intersects(p,S)&&"1"!=S.style.noJump){var V=null;for(S=0;S<Y.length-1;S++){var L=Y[S+1],U=Y[S];for(I=Y[S+2];S<Y.length-2&&mxUtils.ptSegDistSq(U.x,U.y,I.x,I.y,L.x,L.y)<1*this.scale*this.scale;)L=I,S++,I=Y[S+2];var ba=mxUtils.intersection(G.x,G.y,K.x,K.y,U.x,U.y,L.x,L.y);if(null!=ba&&(Math.abs(ba.x-G.x)>D||Math.abs(ba.y-G.y)>D)&&(Math.abs(ba.x-K.x)>D||Math.abs(ba.y-K.y)>D)&&(null==V||mxUtils.ptLineDist(G.x,
+G.y,K.x,K.y,V.x,V.y)>D||mxUtils.ptLineDist(G.x,G.y,K.x,K.y,U.x,U.y)>D)&&(null==I||mxUtils.ptLineDist(G.x,G.y,K.x,K.y,I.x,I.y)>D||mxUtils.ptLineDist(G.x,G.y,K.x,K.y,L.x,L.y)>D)){I=ba.x-G.x;V=ba.y-G.y;ba={distSq:I*I+V*V,x:ba.x,y:ba.y};for(I=0;I<P.length;I++)if(P[I].distSq>ba.distSq){P.splice(I,0,ba);ba=null;break}null==ba||0!=P.length&&P[P.length-1].x===ba.x&&P[P.length-1].y===ba.y||P.push(ba)}V=U}}}for(S=0;S<P.length;S++)z=F(1,P[S].x,P[S].y)||z}ba=w[w.length-1];z=F(0,ba.x,ba.y)||z}p.routedPoints=C;
+return z}return!1};var d=mxConnector.prototype.paintLine;mxConnector.prototype.paintLine=function(p,w,z){this.routedPoints=null!=this.state?this.state.routedPoints:null;if(this.outline||null==this.state||null==this.style||null==this.state.routedPoints||0==this.state.routedPoints.length)d.apply(this,arguments);else{var C=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2,F=(parseInt(mxUtils.getValue(this.style,"jumpSize",Graph.defaultJumpSize))-2)/2+this.strokewidth,
+D=mxUtils.getValue(this.style,"jumpStyle","none"),H=!0,K=null,G=null,P=[],I=null;p.begin();for(var Z=0;Z<this.state.routedPoints.length;Z++){var S=this.state.routedPoints[Z],Y=new mxPoint(S.x/this.scale,S.y/this.scale);0==Z?Y=w[0]:Z==this.state.routedPoints.length-1&&(Y=w[w.length-1]);var V=!1;if(null!=K&&1==S.type){var L=this.state.routedPoints[Z+1];S=L.x/this.scale-Y.x;L=L.y/this.scale-Y.y;S=S*S+L*L;null==I&&(I=new mxPoint(Y.x-K.x,Y.y-K.y),G=Math.sqrt(I.x*I.x+I.y*I.y),0<G?(I.x=I.x*F/G,I.y=I.y*F/
+G):I=null);S>F*F&&0<G&&(S=K.x-Y.x,L=K.y-Y.y,S=S*S+L*L,S>F*F&&(V=new mxPoint(Y.x-I.x,Y.y-I.y),S=new mxPoint(Y.x+I.x,Y.y+I.y),P.push(V),this.addPoints(p,P,z,C,!1,null,H),P=0>Math.round(I.x)||0==Math.round(I.x)&&0>=Math.round(I.y)?1:-1,H=!1,"sharp"==D?(p.lineTo(V.x-I.y*P,V.y+I.x*P),p.lineTo(S.x-I.y*P,S.y+I.x*P),p.lineTo(S.x,S.y)):"line"==D?(p.moveTo(V.x+I.y*P,V.y-I.x*P),p.lineTo(V.x-I.y*P,V.y+I.x*P),p.moveTo(S.x-I.y*P,S.y+I.x*P),p.lineTo(S.x+I.y*P,S.y-I.x*P),p.moveTo(S.x,S.y)):"arc"==D?(P*=1.3,p.curveTo(V.x-
+I.y*P,V.y+I.x*P,S.x-I.y*P,S.y+I.x*P,S.x,S.y)):(p.moveTo(S.x,S.y),H=!0),P=[S],V=!0))}else I=null;V||(P.push(Y),K=Y)}this.addPoints(p,P,z,C,!1,null,H);p.stroke()}};var g=mxGraphView.prototype.getFixedTerminalPoint;mxGraphView.prototype.getFixedTerminalPoint=function(p,w,z,C){return null!=w&&"centerPerimeter"==w.style[mxConstants.STYLE_PERIMETER]?new mxPoint(w.getCenterX(),w.getCenterY()):g.apply(this,arguments)};var n=mxGraphView.prototype.updateFloatingTerminalPoint;mxGraphView.prototype.updateFloatingTerminalPoint=
+function(p,w,z,C){if(null==w||null==p||"1"!=w.style.snapToPoint&&"1"!=p.style.snapToPoint)n.apply(this,arguments);else{w=this.getTerminalPort(p,w,C);var F=this.getNextPoint(p,z,C),D=this.graph.isOrthogonal(p),H=mxUtils.toRadians(Number(w.style[mxConstants.STYLE_ROTATION]||"0")),K=new mxPoint(w.getCenterX(),w.getCenterY());if(0!=H){var G=Math.cos(-H),P=Math.sin(-H);F=mxUtils.getRotatedPoint(F,G,P,K)}G=parseFloat(p.style[mxConstants.STYLE_PERIMETER_SPACING]||0);G+=parseFloat(p.style[C?mxConstants.STYLE_SOURCE_PERIMETER_SPACING:
+mxConstants.STYLE_TARGET_PERIMETER_SPACING]||0);F=this.getPerimeterPoint(w,F,0==H&&D,G);0!=H&&(G=Math.cos(H),P=Math.sin(H),F=mxUtils.getRotatedPoint(F,G,P,K));p.setAbsoluteTerminalPoint(this.snapToAnchorPoint(p,w,z,C,F),C)}};mxGraphView.prototype.snapToAnchorPoint=function(p,w,z,C,F){if(null!=w&&null!=p){p=this.graph.getAllConnectionConstraints(w);C=z=null;if(null!=p)for(var D=0;D<p.length;D++){var H=this.graph.getConnectionPoint(w,p[D]);if(null!=H){var K=(H.x-F.x)*(H.x-F.x)+(H.y-F.y)*(H.y-F.y);if(null==
+C||K<C)z=H,C=K}}null!=z&&(F=z)}return F};var q=mxStencil.prototype.evaluateTextAttribute;mxStencil.prototype.evaluateTextAttribute=function(p,w,z){var C=q.apply(this,arguments);"1"==p.getAttribute("placeholders")&&null!=z.state&&(C=z.state.view.graph.replacePlaceholders(z.state.cell,C));return C};var k=mxCellRenderer.prototype.createShape;mxCellRenderer.prototype.createShape=function(p){if(null!=p.style&&"undefined"!==typeof pako){var w=mxUtils.getValue(p.style,mxConstants.STYLE_SHAPE,null);if(null!=
+w&&"string"===typeof w&&"stencil("==w.substring(0,8))try{var z=w.substring(8,w.length-1),C=mxUtils.parseXml(Graph.decompress(z));return new mxShape(new mxStencil(C.documentElement))}catch(F){null!=window.console&&console.log("Error in shape: "+F)}}return k.apply(this,arguments)}})();mxStencilRegistry.libraries={};mxStencilRegistry.dynamicLoading=!0;mxStencilRegistry.allowEval=!0;mxStencilRegistry.packages=[];mxStencilRegistry.filesLoaded={};
mxStencilRegistry.isFileLoaded=function(a){return!mxClient.IS_FF&&mxStencilRegistry.filesLoaded[a]};mxStencilRegistry.setFileLoaded=function(a){mxStencilRegistry.filesLoaded[a]=!0};
-mxStencilRegistry.getStencil=function(a){var b=mxStencilRegistry.stencils[a];if(null==b&&null==mxCellRenderer.defaultShapes[a]&&mxStencilRegistry.dynamicLoading){var d=mxStencilRegistry.getBasenameForStencil(a);if(null!=d){b=mxStencilRegistry.libraries[d];if(null!=b){if(null==mxStencilRegistry.packages[d]){for(var e=0;e<b.length;e++){var g=b[e];if(!mxStencilRegistry.isFileLoaded(g))if(mxStencilRegistry.setFileLoaded(g),".xml"==g.toLowerCase().substring(g.length-4,g.length))mxStencilRegistry.loadStencilSet(g,
-null);else if(".js"==g.toLowerCase().substring(g.length-3,g.length))try{if(mxStencilRegistry.allowEval){var f=mxUtils.load(g);null!=f&&200<=f.getStatus()&&299>=f.getStatus()&&eval.call(window,f.getText())}}catch(h){null!=window.console&&console.log("error in getStencil:",a,d,b,g,h)}}mxStencilRegistry.packages[d]=1}}else d=d.replace("_-_","_"),mxStencilRegistry.loadStencilSet(STENCIL_PATH+"/"+d+".xml",null);b=mxStencilRegistry.stencils[a]}}return b};
-mxStencilRegistry.getBasenameForStencil=function(a){var b=null;if(null!=a&&"string"===typeof a&&(a=a.split("."),0<a.length&&"mxgraph"==a[0])){b=a[1];for(var d=2;d<a.length-1;d++)b+="/"+a[d]}return b};
-mxStencilRegistry.loadStencilSet=function(a,b,d,e){var g=mxStencilRegistry.packages[a];if(null!=d&&d||null==g){var f=!1;if(null==g)try{if(e){mxStencilRegistry.loadStencil(a,mxUtils.bind(this,function(h){null!=h&&null!=h.documentElement&&(mxStencilRegistry.packages[a]=h,f=!0,mxStencilRegistry.parseStencilSet(h.documentElement,b,f))}));return}g=mxStencilRegistry.loadStencil(a);mxStencilRegistry.packages[a]=g;f=!0}catch(h){null!=window.console&&console.log("error in loadStencilSet:",a,h)}null!=g&&null!=
-g.documentElement&&mxStencilRegistry.parseStencilSet(g.documentElement,b,f)}};mxStencilRegistry.loadStencil=function(a,b){if(null!=b)mxUtils.get(a,mxUtils.bind(this,function(d){b(200<=d.getStatus()&&299>=d.getStatus()?d.getXml():null)}),mxUtils.bind(this,function(d){b(null)}));else return mxUtils.load(a).getXml()};mxStencilRegistry.parseStencilSets=function(a){for(var b=0;b<a.length;b++)mxStencilRegistry.parseStencilSet(mxUtils.parseXml(a[b]).documentElement)};
-mxStencilRegistry.parseStencilSet=function(a,b,d){if("stencils"==a.nodeName)for(var e=a.firstChild;null!=e;)"shapes"==e.nodeName&&mxStencilRegistry.parseStencilSet(e,b,d),e=e.nextSibling;else{d=null!=d?d:!0;e=a.firstChild;var g="";a=a.getAttribute("name");for(null!=a&&(g=a+".");null!=e;){if(e.nodeType==mxConstants.NODETYPE_ELEMENT&&(a=e.getAttribute("name"),null!=a)){g=g.toLowerCase();var f=a.replace(/ /g,"_");d&&mxStencilRegistry.addStencil(g+f.toLowerCase(),new mxStencil(e));if(null!=b){var h=e.getAttribute("w"),
-n=e.getAttribute("h");h=null==h?80:parseInt(h,10);n=null==n?80:parseInt(n,10);b(g,f,a,h,n)}}e=e.nextSibling}}};
+mxStencilRegistry.getStencil=function(a){var b=mxStencilRegistry.stencils[a];if(null==b&&null==mxCellRenderer.defaultShapes[a]&&mxStencilRegistry.dynamicLoading){var e=mxStencilRegistry.getBasenameForStencil(a);if(null!=e){b=mxStencilRegistry.libraries[e];if(null!=b){if(null==mxStencilRegistry.packages[e]){for(var f=0;f<b.length;f++){var h=b[f];if(!mxStencilRegistry.isFileLoaded(h))if(mxStencilRegistry.setFileLoaded(h),".xml"==h.toLowerCase().substring(h.length-4,h.length))mxStencilRegistry.loadStencilSet(h,
+null);else if(".js"==h.toLowerCase().substring(h.length-3,h.length))try{if(mxStencilRegistry.allowEval){var d=mxUtils.load(h);null!=d&&200<=d.getStatus()&&299>=d.getStatus()&&eval.call(window,d.getText())}}catch(g){null!=window.console&&console.log("error in getStencil:",a,e,b,h,g)}}mxStencilRegistry.packages[e]=1}}else e=e.replace("_-_","_"),mxStencilRegistry.loadStencilSet(STENCIL_PATH+"/"+e+".xml",null);b=mxStencilRegistry.stencils[a]}}return b};
+mxStencilRegistry.getBasenameForStencil=function(a){var b=null;if(null!=a&&"string"===typeof a&&(a=a.split("."),0<a.length&&"mxgraph"==a[0])){b=a[1];for(var e=2;e<a.length-1;e++)b+="/"+a[e]}return b};
+mxStencilRegistry.loadStencilSet=function(a,b,e,f){var h=mxStencilRegistry.packages[a];if(null!=e&&e||null==h){var d=!1;if(null==h)try{if(f){mxStencilRegistry.loadStencil(a,mxUtils.bind(this,function(g){null!=g&&null!=g.documentElement&&(mxStencilRegistry.packages[a]=g,d=!0,mxStencilRegistry.parseStencilSet(g.documentElement,b,d))}));return}h=mxStencilRegistry.loadStencil(a);mxStencilRegistry.packages[a]=h;d=!0}catch(g){null!=window.console&&console.log("error in loadStencilSet:",a,g)}null!=h&&null!=
+h.documentElement&&mxStencilRegistry.parseStencilSet(h.documentElement,b,d)}};mxStencilRegistry.loadStencil=function(a,b){if(null!=b)mxUtils.get(a,mxUtils.bind(this,function(e){b(200<=e.getStatus()&&299>=e.getStatus()?e.getXml():null)}),mxUtils.bind(this,function(e){b(null)}));else return mxUtils.load(a).getXml()};mxStencilRegistry.parseStencilSets=function(a){for(var b=0;b<a.length;b++)mxStencilRegistry.parseStencilSet(mxUtils.parseXml(a[b]).documentElement)};
+mxStencilRegistry.parseStencilSet=function(a,b,e){if("stencils"==a.nodeName)for(var f=a.firstChild;null!=f;)"shapes"==f.nodeName&&mxStencilRegistry.parseStencilSet(f,b,e),f=f.nextSibling;else{e=null!=e?e:!0;f=a.firstChild;var h="";a=a.getAttribute("name");for(null!=a&&(h=a+".");null!=f;){if(f.nodeType==mxConstants.NODETYPE_ELEMENT&&(a=f.getAttribute("name"),null!=a)){h=h.toLowerCase();var d=a.replace(/ /g,"_");e&&mxStencilRegistry.addStencil(h+d.toLowerCase(),new mxStencil(f));if(null!=b){var g=f.getAttribute("w"),
+n=f.getAttribute("h");g=null==g?80:parseInt(g,10);n=null==n?80:parseInt(n,10);b(h,d,a,g,n)}}f=f.nextSibling}}};
"undefined"!==typeof mxVertexHandler&&function(){function a(){var u=document.createElement("div");u.className="geHint";u.style.whiteSpace="nowrap";u.style.position="absolute";return u}function b(u,A){switch(A){case mxConstants.POINTS:return u;case mxConstants.MILLIMETERS:return(u/mxConstants.PIXELS_PER_MM).toFixed(1);case mxConstants.METERS:return(u/(1E3*mxConstants.PIXELS_PER_MM)).toFixed(4);case mxConstants.INCHES:return(u/mxConstants.PIXELS_PER_INCH).toFixed(3)}}mxConstants.HANDLE_FILLCOLOR="#29b6f2";
mxConstants.HANDLE_STROKECOLOR="#0088cf";mxConstants.VERTEX_SELECTION_COLOR="#00a8ff";mxConstants.OUTLINE_COLOR="#00a8ff";mxConstants.OUTLINE_HANDLE_FILLCOLOR="#99ccff";mxConstants.OUTLINE_HANDLE_STROKECOLOR="#00a8ff";mxConstants.CONNECT_HANDLE_FILLCOLOR="#cee7ff";mxConstants.EDGE_SELECTION_COLOR="#00a8ff";mxConstants.DEFAULT_VALID_COLOR="#00a8ff";mxConstants.LABEL_HANDLE_FILLCOLOR="#cee7ff";mxConstants.GUIDE_COLOR="#0088cf";mxConstants.HIGHLIGHT_STROKEWIDTH=5;mxConstants.HIGHLIGHT_OPACITY=50;mxConstants.HIGHLIGHT_SIZE=
5;mxWindow.prototype.closeImage=Graph.createSvgImage(18,10,'<path d="M 5 1 L 13 9 M 13 1 L 5 9" stroke="#707070" stroke-width="2"/>').src;mxWindow.prototype.minimizeImage=Graph.createSvgImage(14,10,'<path d="M 3 7 L 7 3 L 11 7" stroke="#707070" stroke-width="2" fill="none"/>').src;mxWindow.prototype.normalizeImage=Graph.createSvgImage(14,10,'<path d="M 3 3 L 7 7 L 11 3" stroke="#707070" stroke-width="2" fill="none"/>').src;mxWindow.prototype.resizeImage=Graph.createSvgImage(10,10,'<path d="Z" stroke="#C0C0C0" stroke-width="1" fill="none"/>').src;
-mxEdgeHandler.prototype.snapToTerminals=!0;mxGraphHandler.prototype.guidesEnabled=!0;mxGraphHandler.prototype.removeEmptyParents=!0;mxRubberband.prototype.fadeOut=!0;mxGuide.prototype.isEnabledForEvent=function(u){return!mxEvent.isAltDown(u)||mxEvent.isShiftDown(u)};var d=mxGraphLayout.prototype.isVertexIgnored;mxGraphLayout.prototype.isVertexIgnored=function(u){return d.apply(this,arguments)||this.graph.isTableRow(u)||this.graph.isTableCell(u)};var e=mxGraphLayout.prototype.isEdgeIgnored;mxGraphLayout.prototype.isEdgeIgnored=
-function(u){return e.apply(this,arguments)||this.graph.isEdgeIgnored(u)};var g=mxConnectionHandler.prototype.isCreateTarget;mxConnectionHandler.prototype.isCreateTarget=function(u){return this.graph.isCloneEvent(u)!=g.apply(this,arguments)};mxConstraintHandler.prototype.createHighlightShape=function(){var u=new mxEllipse(null,this.highlightColor,this.highlightColor,0);u.opacity=mxConstants.HIGHLIGHT_OPACITY;return u};mxConnectionHandler.prototype.livePreview=!0;mxConnectionHandler.prototype.cursor=
+mxEdgeHandler.prototype.snapToTerminals=!0;mxGraphHandler.prototype.guidesEnabled=!0;mxGraphHandler.prototype.removeEmptyParents=!0;mxRubberband.prototype.fadeOut=!0;mxGuide.prototype.isEnabledForEvent=function(u){return!mxEvent.isAltDown(u)||mxEvent.isShiftDown(u)};var e=mxGraphLayout.prototype.isVertexIgnored;mxGraphLayout.prototype.isVertexIgnored=function(u){return e.apply(this,arguments)||this.graph.isTableRow(u)||this.graph.isTableCell(u)};var f=mxGraphLayout.prototype.isEdgeIgnored;mxGraphLayout.prototype.isEdgeIgnored=
+function(u){return f.apply(this,arguments)||this.graph.isEdgeIgnored(u)};var h=mxConnectionHandler.prototype.isCreateTarget;mxConnectionHandler.prototype.isCreateTarget=function(u){return this.graph.isCloneEvent(u)!=h.apply(this,arguments)};mxConstraintHandler.prototype.createHighlightShape=function(){var u=new mxEllipse(null,this.highlightColor,this.highlightColor,0);u.opacity=mxConstants.HIGHLIGHT_OPACITY;return u};mxConnectionHandler.prototype.livePreview=!0;mxConnectionHandler.prototype.cursor=
"crosshair";mxConnectionHandler.prototype.createEdgeState=function(u){u=this.graph.createCurrentEdgeStyle();u=this.graph.createEdge(null,null,null,null,null,u);u=new mxCellState(this.graph.view,u,this.graph.getCellStyle(u));for(var A in this.graph.currentEdgeStyle)u.style[A]=this.graph.currentEdgeStyle[A];if(null!=this.previous){var B=this.previous.style.newEdgeStyle;if(null!=B)try{var E=JSON.parse(B);for(A in E)u.style[A]=E[A]}catch(N){}}u.style=this.graph.postProcessCellStyle(u.cell,u.style);return u};
-var f=mxConnectionHandler.prototype.createShape;mxConnectionHandler.prototype.createShape=function(){var u=f.apply(this,arguments);u.isDashed="1"==this.graph.currentEdgeStyle[mxConstants.STYLE_DASHED];return u};mxConnectionHandler.prototype.updatePreview=function(u){};var h=mxConnectionHandler.prototype.createMarker;mxConnectionHandler.prototype.createMarker=function(){var u=h.apply(this,arguments),A=u.getCell;u.getCell=mxUtils.bind(this,function(B){var E=A.apply(this,arguments);this.error=null;return E});
+var d=mxConnectionHandler.prototype.createShape;mxConnectionHandler.prototype.createShape=function(){var u=d.apply(this,arguments);u.isDashed="1"==this.graph.currentEdgeStyle[mxConstants.STYLE_DASHED];return u};mxConnectionHandler.prototype.updatePreview=function(u){};var g=mxConnectionHandler.prototype.createMarker;mxConnectionHandler.prototype.createMarker=function(){var u=g.apply(this,arguments),A=u.getCell;u.getCell=mxUtils.bind(this,function(B){var E=A.apply(this,arguments);this.error=null;return E});
return u};Graph.prototype.defaultVertexStyle={};Graph.prototype.defaultEdgeStyle={edgeStyle:"orthogonalEdgeStyle",rounded:"0",jettySize:"auto",orthogonalLoop:"1"};Graph.prototype.createCurrentEdgeStyle=function(){for(var u="edgeStyle="+(this.currentEdgeStyle.edgeStyle||"none")+";",A="shape curved rounded comic sketch fillWeight hachureGap hachureAngle jiggle disableMultiStroke disableMultiStrokeFill fillStyle curveFitting simplification comicStyle jumpStyle jumpSize".split(" "),B=0;B<A.length;B++)null!=
this.currentEdgeStyle[A[B]]&&(u+=A[B]+"="+this.currentEdgeStyle[A[B]]+";");null!=this.currentEdgeStyle.orthogonalLoop?u+="orthogonalLoop="+this.currentEdgeStyle.orthogonalLoop+";":null!=Graph.prototype.defaultEdgeStyle.orthogonalLoop&&(u+="orthogonalLoop="+Graph.prototype.defaultEdgeStyle.orthogonalLoop+";");null!=this.currentEdgeStyle.jettySize?u+="jettySize="+this.currentEdgeStyle.jettySize+";":null!=Graph.prototype.defaultEdgeStyle.jettySize&&(u+="jettySize="+Graph.prototype.defaultEdgeStyle.jettySize+
";");"elbowEdgeStyle"==this.currentEdgeStyle.edgeStyle&&null!=this.currentEdgeStyle.elbow&&(u+="elbow="+this.currentEdgeStyle.elbow+";");return u=null!=this.currentEdgeStyle.html?u+("html="+this.currentEdgeStyle.html+";"):u+"html=1;"};Graph.prototype.getPagePadding=function(){return new mxPoint(0,0)};Graph.prototype.loadStylesheet=function(){var u=null!=this.themes?this.themes[this.defaultThemeName]:mxStyleRegistry.dynamicLoading?mxUtils.load(STYLE_PATH+"/default.xml").getDocumentElement():null;null!=
u&&(new mxCodec(u.ownerDocument)).decode(u,this.getStylesheet())};Graph.prototype.createCellLookup=function(u,A){A=null!=A?A:{};for(var B=0;B<u.length;B++){var E=u[B];A[mxObjectIdentity.get(E)]=E.getId();for(var N=this.model.getChildCount(E),Q=0;Q<N;Q++)this.createCellLookup([this.model.getChildAt(E,Q)],A)}return A};Graph.prototype.createCellMapping=function(u,A,B){B=null!=B?B:{};for(var E in u){var N=A[E];null==B[N]&&(B[N]=u[E].getId()||"")}return B};Graph.prototype.importGraphModel=function(u,A,
-B,E){A=null!=A?A:0;B=null!=B?B:0;var N=new mxCodec(u.ownerDocument),Q=new mxGraphModel;N.decode(u,Q);u=[];N={};var T={},ia=Q.getChildren(this.cloneCell(Q.root,this.isCloneInvalidEdges(),N));if(null!=ia){var da=this.createCellLookup([Q.root]);ia=ia.slice();this.model.beginUpdate();try{if(1!=ia.length||this.isCellLocked(this.getDefaultParent()))for(Q=0;Q<ia.length;Q++)ha=this.model.getChildren(this.moveCells([ia[Q]],A,B,!1,this.model.getRoot())[0]),null!=ha&&(u=u.concat(ha));else{var ha=Q.getChildren(ia[0]);
-null!=ha&&(u=this.moveCells(ha,A,B,!1,this.getDefaultParent()),T[Q.getChildAt(Q.root,0).getId()]=this.getDefaultParent().getId())}if(null!=u&&(this.createCellMapping(N,da,T),this.updateCustomLinks(T,u),E)){this.isGridEnabled()&&(A=this.snap(A),B=this.snap(B));var ua=this.getBoundingBoxFromGeometry(u,!0);null!=ua&&this.moveCells(u,A-ua.x,B-ua.y)}}finally{this.model.endUpdate()}}return u};Graph.prototype.encodeCells=function(u){for(var A={},B=this.cloneCells(u,null,A),E=new mxDictionary,N=0;N<u.length;N++)E.put(u[N],
-!0);var Q=new mxCodec,T=new mxGraphModel,ia=T.getChildAt(T.getRoot(),0);for(N=0;N<B.length;N++){T.add(ia,B[N]);var da=this.view.getState(u[N]);if(null!=da){var ha=this.getCellGeometry(B[N]);null!=ha&&ha.relative&&!this.model.isEdge(u[N])&&null==E.get(this.model.getParent(u[N]))&&(ha.offset=null,ha.relative=!1,ha.x=da.x/da.view.scale-da.view.translate.x,ha.y=da.y/da.view.scale-da.view.translate.y)}}this.updateCustomLinks(this.createCellMapping(A,this.createCellLookup(u)),B);return Q.encode(T)};Graph.prototype.isSwimlane=
+B,E){A=null!=A?A:0;B=null!=B?B:0;var N=new mxCodec(u.ownerDocument),Q=new mxGraphModel;N.decode(u,Q);u=[];N={};var W={},ha=Q.getChildren(this.cloneCell(Q.root,this.isCloneInvalidEdges(),N));if(null!=ha){var fa=this.createCellLookup([Q.root]);ha=ha.slice();this.model.beginUpdate();try{if(1!=ha.length||this.isCellLocked(this.getDefaultParent()))for(Q=0;Q<ha.length;Q++)ia=this.model.getChildren(this.moveCells([ha[Q]],A,B,!1,this.model.getRoot())[0]),null!=ia&&(u=u.concat(ia));else{var ia=Q.getChildren(ha[0]);
+null!=ia&&(u=this.moveCells(ia,A,B,!1,this.getDefaultParent()),W[Q.getChildAt(Q.root,0).getId()]=this.getDefaultParent().getId())}if(null!=u&&(this.createCellMapping(N,fa,W),this.updateCustomLinks(W,u),E)){this.isGridEnabled()&&(A=this.snap(A),B=this.snap(B));var ya=this.getBoundingBoxFromGeometry(u,!0);null!=ya&&this.moveCells(u,A-ya.x,B-ya.y)}}finally{this.model.endUpdate()}}return u};Graph.prototype.encodeCells=function(u){for(var A={},B=this.cloneCells(u,null,A),E=new mxDictionary,N=0;N<u.length;N++)E.put(u[N],
+!0);var Q=new mxCodec,W=new mxGraphModel,ha=W.getChildAt(W.getRoot(),0);for(N=0;N<B.length;N++){W.add(ha,B[N]);var fa=this.view.getState(u[N]);if(null!=fa){var ia=this.getCellGeometry(B[N]);null!=ia&&ia.relative&&!this.model.isEdge(u[N])&&null==E.get(this.model.getParent(u[N]))&&(ia.offset=null,ia.relative=!1,ia.x=fa.x/fa.view.scale-fa.view.translate.x,ia.y=fa.y/fa.view.scale-fa.view.translate.y)}}this.updateCustomLinks(this.createCellMapping(A,this.createCellLookup(u)),B);return Q.encode(W)};Graph.prototype.isSwimlane=
function(u,A){var B=null;null==u||this.model.isEdge(u)||this.model.getParent(u)==this.model.getRoot()||(B=this.getCurrentCellStyle(u,A)[mxConstants.STYLE_SHAPE]);return B==mxConstants.SHAPE_SWIMLANE||"table"==B||"tableRow"==B};var n=Graph.prototype.isCellEditable;Graph.prototype.isCellEditable=function(u){return null!=u&&n.apply(this,arguments)?this.isTableCell(u)||this.isTableRow(u)?this.isCellEditable(this.model.getParent(u)):!0:!1};var q=Graph.prototype.isCellMovable;Graph.prototype.isCellMovable=
-function(u){return null!=u&&q.apply(this,arguments)?this.isTableCell(u)||this.isTableRow(u)?this.isCellMovable(this.model.getParent(u)):!0:!1};var l=Graph.prototype.isExtendParent;Graph.prototype.isExtendParent=function(u){var A=this.model.getParent(u);if(null!=A){var B=this.getCurrentCellStyle(A);if(null!=B.expand)return"0"!=B.expand}return l.apply(this,arguments)&&(null==A||!this.isTable(A))};var p=Graph.prototype.splitEdge;Graph.prototype.splitEdge=function(u,A,B,E,N,Q,T,ia){null==ia&&(ia=this.model.getParent(u),
-this.isTable(ia)||this.isTableRow(ia))&&(ia=this.getCellAt(Q,T,null,!0,!1));B=null;this.model.beginUpdate();try{B=p.apply(this,[u,A,B,E,N,Q,T,ia]);this.model.setValue(B,"");var da=this.getChildCells(B,!0);for(A=0;A<da.length;A++){var ha=this.getCellGeometry(da[A]);null!=ha&&ha.relative&&0<ha.x&&this.model.remove(da[A])}var ua=this.getChildCells(u,!0);for(A=0;A<ua.length;A++)ha=this.getCellGeometry(ua[A]),null!=ha&&ha.relative&&0>=ha.x&&this.model.remove(ua[A]);var Ja=this.model.getTerminal(B,!1);
-if(null!=Ja){var Ka=this.getCurrentCellStyle(Ja);null!=Ka&&"1"==Ka.snapToPoint&&(this.setCellStyles(mxConstants.STYLE_EXIT_X,null,[u]),this.setCellStyles(mxConstants.STYLE_EXIT_Y,null,[u]),this.setCellStyles(mxConstants.STYLE_ENTRY_X,null,[B]),this.setCellStyles(mxConstants.STYLE_ENTRY_Y,null,[B]))}}finally{this.model.endUpdate()}return B};var w=Graph.prototype.selectCell;Graph.prototype.selectCell=function(u,A,B){if(A||B)w.apply(this,arguments);else{var E=this.getSelectionCell(),N=null,Q=[],T=mxUtils.bind(this,
-function(ia){if(null!=this.view.getState(ia)&&(this.model.isVertex(ia)||this.model.isEdge(ia)))if(Q.push(ia),ia==E)N=Q.length-1;else if(u&&null==E&&0<Q.length||null!=N&&u&&Q.length>N||!u&&0<N)return;for(var da=0;da<this.model.getChildCount(ia);da++)T(this.model.getChildAt(ia,da))});T(this.model.root);0<Q.length&&(N=null!=N?mxUtils.mod(N+(u?1:-1),Q.length):0,this.setSelectionCell(Q[N]))}};Graph.prototype.swapShapes=function(u,A){if(this.model.isVertex(u)&&this.model.isVertex(A)&&2==this.getMovableCells([u,
-A]).length){var B=this.getCellGeometry(u),E=this.getCellGeometry(A);if(null!=B&&null!=E){var N=B.clone(),Q=E.clone();this.model.beginUpdate();try{N.x=E.getCenterX()-B.width/2,N.y=E.getCenterY()-B.height/2,Q.x=B.getCenterX()-E.width/2,Q.y=B.getCenterY()-E.height/2,this.model.setGeometry(u,N),this.model.setGeometry(A,Q)}finally{this.model.endUpdate()}}}};var z=Graph.prototype.moveCells;Graph.prototype.moveCells=function(u,A,B,E,N,Q,T){T=null!=T?T:{};if(this.isTable(N)){for(var ia=[],da=0;da<u.length;da++)this.isTable(u[da])?
-ia=ia.concat(this.model.getChildCells(u[da],!0).reverse()):ia.push(u[da]);u=ia}this.model.beginUpdate();try{ia=[];for(da=0;da<u.length;da++)if(null!=N&&this.isTableRow(u[da])){var ha=this.model.getParent(u[da]),ua=this.getCellGeometry(u[da]);this.isTable(ha)&&ia.push(ha);if(null!=ha&&null!=ua&&this.isTable(ha)&&this.isTable(N)&&(E||ha!=N)){if(!E){var Ja=this.getCellGeometry(ha);null!=Ja&&(Ja=Ja.clone(),Ja.height-=ua.height,this.model.setGeometry(ha,Ja))}Ja=this.getCellGeometry(N);null!=Ja&&(Ja=Ja.clone(),
-Ja.height+=ua.height,this.model.setGeometry(N,Ja));var Ka=this.model.getChildCells(N,!0);if(0<Ka.length){u[da]=E?this.cloneCell(u[da]):u[da];var xa=this.model.getChildCells(u[da],!0),Ba=this.model.getChildCells(Ka[0],!0),wa=Ba.length-xa.length;if(0<wa)for(var za=0;za<wa;za++){var Ya=this.cloneCell(xa[xa.length-1]);null!=Ya&&(Ya.value="",this.model.add(u[da],Ya))}else if(0>wa)for(za=0;za>wa;za--)this.model.remove(xa[xa.length+za-1]);xa=this.model.getChildCells(u[da],!0);for(za=0;za<Ba.length;za++){var Sa=
-this.getCellGeometry(Ba[za]),La=this.getCellGeometry(xa[za]);null!=Sa&&null!=La&&(La=La.clone(),La.width=Sa.width,this.model.setGeometry(xa[za],La))}}}}var Xa=z.apply(this,arguments);for(da=0;da<ia.length;da++)!E&&this.model.contains(ia[da])&&0==this.model.getChildCount(ia[da])&&this.model.remove(ia[da]);E&&this.updateCustomLinks(this.createCellMapping(T,this.createCellLookup(u)),Xa)}finally{this.model.endUpdate()}return Xa};var C=Graph.prototype.removeCells;Graph.prototype.removeCells=function(u,
-A){var B=[];this.model.beginUpdate();try{for(var E=0;E<u.length;E++)if(this.isTableCell(u[E])){var N=this.model.getParent(u[E]),Q=this.model.getParent(N);1==this.model.getChildCount(N)&&1==this.model.getChildCount(Q)?0>mxUtils.indexOf(u,Q)&&0>mxUtils.indexOf(B,Q)&&B.push(Q):this.labelChanged(u[E],"")}else{if(this.isTableRow(u[E])&&(Q=this.model.getParent(u[E]),0>mxUtils.indexOf(u,Q)&&0>mxUtils.indexOf(B,Q))){for(var T=this.model.getChildCells(Q,!0),ia=0,da=0;da<T.length;da++)0<=mxUtils.indexOf(u,
-T[da])&&ia++;ia==T.length&&B.push(Q)}B.push(u[E])}B=C.apply(this,[B,A])}finally{this.model.endUpdate()}return B};Graph.prototype.updateCustomLinks=function(u,A,B){B=null!=B?B:new Graph;for(var E=0;E<A.length;E++)null!=A[E]&&B.updateCustomLinksForCell(u,A[E],B)};Graph.prototype.updateCustomLinksForCell=function(u,A){this.doUpdateCustomLinksForCell(u,A);for(var B=this.model.getChildCount(A),E=0;E<B;E++)this.updateCustomLinksForCell(u,this.model.getChildAt(A,E))};Graph.prototype.doUpdateCustomLinksForCell=
+function(u){return null!=u&&q.apply(this,arguments)?this.isTableCell(u)||this.isTableRow(u)?this.isCellMovable(this.model.getParent(u)):!0:!1};var k=Graph.prototype.isExtendParent;Graph.prototype.isExtendParent=function(u){var A=this.model.getParent(u);if(null!=A){var B=this.getCurrentCellStyle(A);if(null!=B.expand)return"0"!=B.expand}return k.apply(this,arguments)&&(null==A||!this.isTable(A))};var p=Graph.prototype.splitEdge;Graph.prototype.splitEdge=function(u,A,B,E,N,Q,W,ha){null==ha&&(ha=this.model.getParent(u),
+this.isTable(ha)||this.isTableRow(ha))&&(ha=this.getCellAt(Q,W,null,!0,!1));B=null;this.model.beginUpdate();try{B=p.apply(this,[u,A,B,E,N,Q,W,ha]);this.model.setValue(B,"");var fa=this.getChildCells(B,!0);for(A=0;A<fa.length;A++){var ia=this.getCellGeometry(fa[A]);null!=ia&&ia.relative&&0<ia.x&&this.model.remove(fa[A])}var ya=this.getChildCells(u,!0);for(A=0;A<ya.length;A++)ia=this.getCellGeometry(ya[A]),null!=ia&&ia.relative&&0>=ia.x&&this.model.remove(ya[A]);var xa=this.model.getTerminal(B,!1);
+if(null!=xa){var Da=this.getCurrentCellStyle(xa);null!=Da&&"1"==Da.snapToPoint&&(this.setCellStyles(mxConstants.STYLE_EXIT_X,null,[u]),this.setCellStyles(mxConstants.STYLE_EXIT_Y,null,[u]),this.setCellStyles(mxConstants.STYLE_ENTRY_X,null,[B]),this.setCellStyles(mxConstants.STYLE_ENTRY_Y,null,[B]))}}finally{this.model.endUpdate()}return B};var w=Graph.prototype.selectCell;Graph.prototype.selectCell=function(u,A,B){if(A||B)w.apply(this,arguments);else{var E=this.getSelectionCell(),N=null,Q=[],W=mxUtils.bind(this,
+function(ha){if(null!=this.view.getState(ha)&&(this.model.isVertex(ha)||this.model.isEdge(ha)))if(Q.push(ha),ha==E)N=Q.length-1;else if(u&&null==E&&0<Q.length||null!=N&&u&&Q.length>N||!u&&0<N)return;for(var fa=0;fa<this.model.getChildCount(ha);fa++)W(this.model.getChildAt(ha,fa))});W(this.model.root);0<Q.length&&(N=null!=N?mxUtils.mod(N+(u?1:-1),Q.length):0,this.setSelectionCell(Q[N]))}};Graph.prototype.swapShapes=function(u,A){if(this.model.isVertex(u)&&this.model.isVertex(A)&&2==this.getMovableCells([u,
+A]).length){var B=this.getCellGeometry(u),E=this.getCellGeometry(A);if(null!=B&&null!=E){var N=B.clone(),Q=E.clone();this.model.beginUpdate();try{N.x=E.getCenterX()-B.width/2,N.y=E.getCenterY()-B.height/2,Q.x=B.getCenterX()-E.width/2,Q.y=B.getCenterY()-E.height/2,this.model.setGeometry(u,N),this.model.setGeometry(A,Q)}finally{this.model.endUpdate()}}}};var z=Graph.prototype.moveCells;Graph.prototype.moveCells=function(u,A,B,E,N,Q,W){W=null!=W?W:{};if(this.isTable(N)){for(var ha=[],fa=0;fa<u.length;fa++)this.isTable(u[fa])?
+ha=ha.concat(this.model.getChildCells(u[fa],!0).reverse()):ha.push(u[fa]);u=ha}this.model.beginUpdate();try{ha=[];for(fa=0;fa<u.length;fa++)if(null!=N&&this.isTableRow(u[fa])){var ia=this.model.getParent(u[fa]),ya=this.getCellGeometry(u[fa]);this.isTable(ia)&&ha.push(ia);if(null!=ia&&null!=ya&&this.isTable(ia)&&this.isTable(N)&&(E||ia!=N)){if(!E){var xa=this.getCellGeometry(ia);null!=xa&&(xa=xa.clone(),xa.height-=ya.height,this.model.setGeometry(ia,xa))}xa=this.getCellGeometry(N);null!=xa&&(xa=xa.clone(),
+xa.height+=ya.height,this.model.setGeometry(N,xa));var Da=this.model.getChildCells(N,!0);if(0<Da.length){u[fa]=E?this.cloneCell(u[fa]):u[fa];var Oa=this.model.getChildCells(u[fa],!0),Ma=this.model.getChildCells(Da[0],!0),Aa=Ma.length-Oa.length;if(0<Aa)for(var va=0;va<Aa;va++){var Ya=this.cloneCell(Oa[Oa.length-1]);null!=Ya&&(Ya.value="",this.model.add(u[fa],Ya))}else if(0>Aa)for(va=0;va>Aa;va--)this.model.remove(Oa[Oa.length+va-1]);Oa=this.model.getChildCells(u[fa],!0);for(va=0;va<Ma.length;va++){var Ta=
+this.getCellGeometry(Ma[va]),Ka=this.getCellGeometry(Oa[va]);null!=Ta&&null!=Ka&&(Ka=Ka.clone(),Ka.width=Ta.width,this.model.setGeometry(Oa[va],Ka))}}}}var Wa=z.apply(this,arguments);for(fa=0;fa<ha.length;fa++)!E&&this.model.contains(ha[fa])&&0==this.model.getChildCount(ha[fa])&&this.model.remove(ha[fa]);E&&this.updateCustomLinks(this.createCellMapping(W,this.createCellLookup(u)),Wa)}finally{this.model.endUpdate()}return Wa};var C=Graph.prototype.removeCells;Graph.prototype.removeCells=function(u,
+A){var B=[];this.model.beginUpdate();try{for(var E=0;E<u.length;E++)if(this.isTableCell(u[E])){var N=this.model.getParent(u[E]),Q=this.model.getParent(N);1==this.model.getChildCount(N)&&1==this.model.getChildCount(Q)?0>mxUtils.indexOf(u,Q)&&0>mxUtils.indexOf(B,Q)&&B.push(Q):this.labelChanged(u[E],"")}else{if(this.isTableRow(u[E])&&(Q=this.model.getParent(u[E]),0>mxUtils.indexOf(u,Q)&&0>mxUtils.indexOf(B,Q))){for(var W=this.model.getChildCells(Q,!0),ha=0,fa=0;fa<W.length;fa++)0<=mxUtils.indexOf(u,
+W[fa])&&ha++;ha==W.length&&B.push(Q)}B.push(u[E])}B=C.apply(this,[B,A])}finally{this.model.endUpdate()}return B};Graph.prototype.updateCustomLinks=function(u,A,B){B=null!=B?B:new Graph;for(var E=0;E<A.length;E++)null!=A[E]&&B.updateCustomLinksForCell(u,A[E],B)};Graph.prototype.updateCustomLinksForCell=function(u,A){this.doUpdateCustomLinksForCell(u,A);for(var B=this.model.getChildCount(A),E=0;E<B;E++)this.updateCustomLinksForCell(u,this.model.getChildAt(A,E))};Graph.prototype.doUpdateCustomLinksForCell=
function(u,A){};Graph.prototype.getAllConnectionConstraints=function(u,A){if(null!=u){A=mxUtils.getValue(u.style,"points",null);if(null!=A){u=[];try{var B=JSON.parse(A);for(A=0;A<B.length;A++){var E=B[A];u.push(new mxConnectionConstraint(new mxPoint(E[0],E[1]),2<E.length?"0"!=E[2]:!0,null,3<E.length?E[3]:0,4<E.length?E[4]:0))}}catch(Q){}return u}if(null!=u.shape&&null!=u.shape.bounds){E=u.shape.direction;A=u.shape.bounds;var N=u.shape.scale;B=A.width/N;A=A.height/N;if(E==mxConstants.DIRECTION_NORTH||
E==mxConstants.DIRECTION_SOUTH)E=B,B=A,A=E;A=u.shape.getConstraints(u.style,B,A);if(null!=A)return A;if(null!=u.shape.stencil&&null!=u.shape.stencil.constraints)return u.shape.stencil.constraints;if(null!=u.shape.constraints)return u.shape.constraints}}return null};Graph.prototype.flipEdge=function(u){if(null!=u){var A=this.getCurrentCellStyle(u);A=mxUtils.getValue(A,mxConstants.STYLE_ELBOW,mxConstants.ELBOW_HORIZONTAL)==mxConstants.ELBOW_HORIZONTAL?mxConstants.ELBOW_VERTICAL:mxConstants.ELBOW_HORIZONTAL;
-this.setCellStyles(mxConstants.STYLE_ELBOW,A,[u])}};Graph.prototype.isValidRoot=function(u){for(var A=this.model.getChildCount(u),B=0,E=0;E<A;E++){var N=this.model.getChildAt(u,E);this.model.isVertex(N)&&(N=this.getCellGeometry(N),null==N||N.relative||B++)}return 0<B||this.isContainer(u)};Graph.prototype.isValidDropTarget=function(u,A,B){for(var E=this.getCurrentCellStyle(u),N=!0,Q=!0,T=0;T<A.length&&Q;T++)N=N&&this.isTable(A[T]),Q=Q&&this.isTableRow(A[T]);return!this.isCellLocked(u)&&(this.isTargetShape(u,
+this.setCellStyles(mxConstants.STYLE_ELBOW,A,[u])}};Graph.prototype.isValidRoot=function(u){for(var A=this.model.getChildCount(u),B=0,E=0;E<A;E++){var N=this.model.getChildAt(u,E);this.model.isVertex(N)&&(N=this.getCellGeometry(N),null==N||N.relative||B++)}return 0<B||this.isContainer(u)};Graph.prototype.isValidDropTarget=function(u,A,B){for(var E=this.getCurrentCellStyle(u),N=!0,Q=!0,W=0;W<A.length&&Q;W++)N=N&&this.isTable(A[W]),Q=Q&&this.isTableRow(A[W]);return!this.isCellLocked(u)&&(this.isTargetShape(u,
A,B)||("1"!=mxUtils.getValue(E,"part","0")||this.isContainer(u))&&"0"!=mxUtils.getValue(E,"dropTarget","1")&&(mxGraph.prototype.isValidDropTarget.apply(this,arguments)||this.isContainer(u))&&!this.isTableRow(u)&&(!this.isTable(u)||Q||N))};Graph.prototype.createGroupCell=function(){var u=mxGraph.prototype.createGroupCell.apply(this,arguments);u.setStyle("group");return u};Graph.prototype.isExtendParentsOnAdd=function(u){var A=mxGraph.prototype.isExtendParentsOnAdd.apply(this,arguments);if(A&&null!=
u&&null!=this.layoutManager){var B=this.model.getParent(u);null!=B&&(B=this.layoutManager.getLayout(B),null!=B&&B.constructor==mxStackLayout&&(A=!1))}return A};Graph.prototype.getPreferredSizeForCell=function(u,A,B){B=null!=B?B:this.gridEnabled;var E=mxGraph.prototype.getPreferredSizeForCell.apply(this,arguments);null!=E&&(E.width+=10,E.height+=4,B&&(E.width=this.snap(E.width),E.height=this.snap(E.height)));return E};Graph.prototype.turnShapes=function(u,A){var B=this.getModel(),E=[];B.beginUpdate();
-try{for(var N=0;N<u.length;N++){var Q=u[N];if(B.isEdge(Q)){var T=B.getTerminal(Q,!0),ia=B.getTerminal(Q,!1);B.setTerminal(Q,ia,!0);B.setTerminal(Q,T,!1);var da=B.getGeometry(Q);if(null!=da){da=da.clone();null!=da.points&&da.points.reverse();var ha=da.getTerminalPoint(!0),ua=da.getTerminalPoint(!1);da.setTerminalPoint(ha,!1);da.setTerminalPoint(ua,!0);B.setGeometry(Q,da);var Ja=this.view.getState(Q),Ka=this.view.getState(T),xa=this.view.getState(ia);if(null!=Ja){var Ba=null!=Ka?this.getConnectionConstraint(Ja,
-Ka,!0):null,wa=null!=xa?this.getConnectionConstraint(Ja,xa,!1):null;this.setConnectionConstraint(Q,T,!0,wa);this.setConnectionConstraint(Q,ia,!1,Ba);var za=mxUtils.getValue(Ja.style,mxConstants.STYLE_SOURCE_PERIMETER_SPACING);this.setCellStyles(mxConstants.STYLE_SOURCE_PERIMETER_SPACING,mxUtils.getValue(Ja.style,mxConstants.STYLE_TARGET_PERIMETER_SPACING),[Q]);this.setCellStyles(mxConstants.STYLE_TARGET_PERIMETER_SPACING,za,[Q])}E.push(Q)}}else if(B.isVertex(Q)&&(da=this.getCellGeometry(Q),null!=
-da)){if(!(this.isTable(Q)||this.isTableRow(Q)||this.isTableCell(Q)||this.isSwimlane(Q))){da=da.clone();da.x+=da.width/2-da.height/2;da.y+=da.height/2-da.width/2;var Ya=da.width;da.width=da.height;da.height=Ya;B.setGeometry(Q,da)}var Sa=this.view.getState(Q);if(null!=Sa){var La=[mxConstants.DIRECTION_EAST,mxConstants.DIRECTION_SOUTH,mxConstants.DIRECTION_WEST,mxConstants.DIRECTION_NORTH],Xa=mxUtils.getValue(Sa.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST);this.setCellStyles(mxConstants.STYLE_DIRECTION,
-La[mxUtils.mod(mxUtils.indexOf(La,Xa)+(A?-1:1),La.length)],[Q])}E.push(Q)}}}finally{B.endUpdate()}return E};Graph.prototype.stencilHasPlaceholders=function(u){if(null!=u&&null!=u.fgNode)for(u=u.fgNode.firstChild;null!=u;){if("text"==u.nodeName&&"1"==u.getAttribute("placeholders"))return!0;u=u.nextSibling}return!1};var F=Graph.prototype.processChange;Graph.prototype.processChange=function(u){if(u instanceof mxGeometryChange&&(this.isTableCell(u.cell)||this.isTableRow(u.cell))&&(null==u.previous&&null!=
+try{for(var N=0;N<u.length;N++){var Q=u[N];if(B.isEdge(Q)){var W=B.getTerminal(Q,!0),ha=B.getTerminal(Q,!1);B.setTerminal(Q,ha,!0);B.setTerminal(Q,W,!1);var fa=B.getGeometry(Q);if(null!=fa){fa=fa.clone();null!=fa.points&&fa.points.reverse();var ia=fa.getTerminalPoint(!0),ya=fa.getTerminalPoint(!1);fa.setTerminalPoint(ia,!1);fa.setTerminalPoint(ya,!0);B.setGeometry(Q,fa);var xa=this.view.getState(Q),Da=this.view.getState(W),Oa=this.view.getState(ha);if(null!=xa){var Ma=null!=Da?this.getConnectionConstraint(xa,
+Da,!0):null,Aa=null!=Oa?this.getConnectionConstraint(xa,Oa,!1):null;this.setConnectionConstraint(Q,W,!0,Aa);this.setConnectionConstraint(Q,ha,!1,Ma);var va=mxUtils.getValue(xa.style,mxConstants.STYLE_SOURCE_PERIMETER_SPACING);this.setCellStyles(mxConstants.STYLE_SOURCE_PERIMETER_SPACING,mxUtils.getValue(xa.style,mxConstants.STYLE_TARGET_PERIMETER_SPACING),[Q]);this.setCellStyles(mxConstants.STYLE_TARGET_PERIMETER_SPACING,va,[Q])}E.push(Q)}}else if(B.isVertex(Q)&&(fa=this.getCellGeometry(Q),null!=
+fa)){if(!(this.isTable(Q)||this.isTableRow(Q)||this.isTableCell(Q)||this.isSwimlane(Q))){fa=fa.clone();fa.x+=fa.width/2-fa.height/2;fa.y+=fa.height/2-fa.width/2;var Ya=fa.width;fa.width=fa.height;fa.height=Ya;B.setGeometry(Q,fa)}var Ta=this.view.getState(Q);if(null!=Ta){var Ka=[mxConstants.DIRECTION_EAST,mxConstants.DIRECTION_SOUTH,mxConstants.DIRECTION_WEST,mxConstants.DIRECTION_NORTH],Wa=mxUtils.getValue(Ta.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST);this.setCellStyles(mxConstants.STYLE_DIRECTION,
+Ka[mxUtils.mod(mxUtils.indexOf(Ka,Wa)+(A?-1:1),Ka.length)],[Q])}E.push(Q)}}}finally{B.endUpdate()}return E};Graph.prototype.stencilHasPlaceholders=function(u){if(null!=u&&null!=u.fgNode)for(u=u.fgNode.firstChild;null!=u;){if("text"==u.nodeName&&"1"==u.getAttribute("placeholders"))return!0;u=u.nextSibling}return!1};var F=Graph.prototype.processChange;Graph.prototype.processChange=function(u){if(u instanceof mxGeometryChange&&(this.isTableCell(u.cell)||this.isTableRow(u.cell))&&(null==u.previous&&null!=
u.geometry||null!=u.previous&&!u.previous.equals(u.geometry))){var A=u.cell;this.isTableCell(A)&&(A=this.model.getParent(A));this.isTableRow(A)&&(A=this.model.getParent(A));var B=this.view.getState(A);null!=B&&null!=B.shape&&(this.view.invalidate(A),B.shape.bounds=null)}F.apply(this,arguments);u instanceof mxValueChange&&null!=u.cell&&null!=u.cell.value&&"object"==typeof u.cell.value&&this.invalidateDescendantsWithPlaceholders(u.cell)};Graph.prototype.invalidateDescendantsWithPlaceholders=function(u){u=
this.model.getDescendants(u);if(0<u.length)for(var A=0;A<u.length;A++){var B=this.view.getState(u[A]);null!=B&&null!=B.shape&&null!=B.shape.stencil&&this.stencilHasPlaceholders(B.shape.stencil)?this.removeStateForCell(u[A]):this.isReplacePlaceholders(u[A])&&this.view.invalidate(u[A],!1,!1)}};Graph.prototype.replaceElement=function(u,A){A=u.ownerDocument.createElement(null!=A?A:"span");for(var B=Array.prototype.slice.call(u.attributes);attr=B.pop();)A.setAttribute(attr.nodeName,attr.nodeValue);A.innerHTML=
-u.innerHTML;u.parentNode.replaceChild(A,u)};Graph.prototype.processElements=function(u,A){if(null!=u){u=u.getElementsByTagName("*");for(var B=0;B<u.length;B++)null!=u[B]&&A(u[B])}};Graph.prototype.updateLabelElements=function(u,A,B){u=null!=u?u:this.getSelectionCells();for(var E=document.createElement("div"),N=0;N<u.length;N++){var Q=this.getCurrentCellStyle(u[N]);if(null!=Q&&"1"==Q.html&&(Q=this.convertValueToString(u[N]),null!=Q&&0<Q.length)){E.innerHTML=Graph.sanitizeHtml(Q);for(var T=E.getElementsByTagName(null!=
-B?B:"*"),ia=0;ia<T.length;ia++)A(T[ia]);E.innerHTML!=Q&&this.cellLabelChanged(u[N],E.innerHTML)}}};Graph.prototype.cellLabelChanged=function(u,A,B){A=Graph.zapGremlins(A);this.model.beginUpdate();try{if(null!=u.value&&"object"==typeof u.value){if(this.isReplacePlaceholders(u)&&null!=u.getAttribute("placeholder"))for(var E=u.getAttribute("placeholder"),N=u;null!=N;){if(N==this.model.getRoot()||null!=N.value&&"object"==typeof N.value&&N.hasAttribute(E)){this.setAttributeForCell(N,E,A);break}N=this.model.getParent(N)}var Q=
+u.innerHTML;u.parentNode.replaceChild(A,u)};Graph.prototype.processElements=function(u,A){if(null!=u){u=u.getElementsByTagName("*");for(var B=0;B<u.length;B++)null!=u[B]&&A(u[B])}};Graph.prototype.updateLabelElements=function(u,A,B){u=null!=u?u:this.getSelectionCells();for(var E=document.createElement("div"),N=0;N<u.length;N++){var Q=this.getCurrentCellStyle(u[N]);if(null!=Q&&"1"==Q.html&&(Q=this.convertValueToString(u[N]),null!=Q&&0<Q.length)){E.innerHTML=Graph.sanitizeHtml(Q);for(var W=E.getElementsByTagName(null!=
+B?B:"*"),ha=0;ha<W.length;ha++)A(W[ha]);E.innerHTML!=Q&&this.cellLabelChanged(u[N],E.innerHTML)}}};Graph.prototype.cellLabelChanged=function(u,A,B){A=Graph.zapGremlins(A);this.model.beginUpdate();try{if(null!=u.value&&"object"==typeof u.value){if(this.isReplacePlaceholders(u)&&null!=u.getAttribute("placeholder"))for(var E=u.getAttribute("placeholder"),N=u;null!=N;){if(N==this.model.getRoot()||null!=N.value&&"object"==typeof N.value&&N.hasAttribute(E)){this.setAttributeForCell(N,E,A);break}N=this.model.getParent(N)}var Q=
u.value.cloneNode(!0);Graph.translateDiagram&&null!=Graph.diagramLanguage&&Q.hasAttribute("label_"+Graph.diagramLanguage)?Q.setAttribute("label_"+Graph.diagramLanguage,A):Q.setAttribute("label",A);A=Q}mxGraph.prototype.cellLabelChanged.apply(this,arguments)}finally{this.model.endUpdate()}};Graph.prototype.cellsRemoved=function(u){if(null!=u){for(var A=new mxDictionary,B=0;B<u.length;B++)A.put(u[B],!0);var E=[];for(B=0;B<u.length;B++){var N=this.model.getParent(u[B]);null==N||A.get(N)||(A.put(N,!0),
-E.push(N))}for(B=0;B<E.length;B++)if(N=this.view.getState(E[B]),null!=N&&(this.model.isEdge(N.cell)||this.model.isVertex(N.cell))&&this.isCellDeletable(N.cell)&&this.isTransparentState(N)){for(var Q=!0,T=0;T<this.model.getChildCount(N.cell)&&Q;T++)A.get(this.model.getChildAt(N.cell,T))||(Q=!1);Q&&u.push(N.cell)}}mxGraph.prototype.cellsRemoved.apply(this,arguments)};Graph.prototype.removeCellsAfterUngroup=function(u){for(var A=[],B=0;B<u.length;B++)this.isCellDeletable(u[B])&&this.isTransparentState(this.view.getState(u[B]))&&
+E.push(N))}for(B=0;B<E.length;B++)if(N=this.view.getState(E[B]),null!=N&&(this.model.isEdge(N.cell)||this.model.isVertex(N.cell))&&this.isCellDeletable(N.cell)&&this.isTransparentState(N)){for(var Q=!0,W=0;W<this.model.getChildCount(N.cell)&&Q;W++)A.get(this.model.getChildAt(N.cell,W))||(Q=!1);Q&&u.push(N.cell)}}mxGraph.prototype.cellsRemoved.apply(this,arguments)};Graph.prototype.removeCellsAfterUngroup=function(u){for(var A=[],B=0;B<u.length;B++)this.isCellDeletable(u[B])&&this.isTransparentState(this.view.getState(u[B]))&&
A.push(u[B]);u=A;mxGraph.prototype.removeCellsAfterUngroup.apply(this,arguments)};Graph.prototype.setLinkForCell=function(u,A){this.setAttributeForCell(u,"link",A)};Graph.prototype.setTooltipForCell=function(u,A){var B="tooltip";Graph.translateDiagram&&null!=Graph.diagramLanguage&&mxUtils.isNode(u.value)&&u.value.hasAttribute("tooltip_"+Graph.diagramLanguage)&&(B="tooltip_"+Graph.diagramLanguage);this.setAttributeForCell(u,B,A)};Graph.prototype.getAttributeForCell=function(u,A,B){u=null!=u.value&&
"object"===typeof u.value?u.value.getAttribute(A):null;return null!=u?u:B};Graph.prototype.setAttributeForCell=function(u,A,B){if(null!=u.value&&"object"==typeof u.value)var E=u.value.cloneNode(!0);else E=mxUtils.createXmlDocument().createElement("UserObject"),E.setAttribute("label",u.value||"");null!=B?E.setAttribute(A,B):E.removeAttribute(A);this.model.setValue(u,E)};Graph.prototype.isTargetShape=function(u,A,B){u=mxUtils.getValue(this.getCurrentCellStyle(u),mxConstants.STYLE_SHAPE,"");for(B=0;B<
-A.length;B++){var E=mxUtils.getValue(this.getCurrentCellStyle(A[B]),"targetShapes","").split(",");if(0<=mxUtils.indexOf(E,u))return!0}return!1};var D=Graph.prototype.getDropTarget;Graph.prototype.getDropTarget=function(u,A,B,E){if(mxEvent.isAltDown(A))return null;for(var N=0;N<u.length;N++){var Q=this.model.getParent(u[N]);if(this.model.isEdge(Q)&&0>mxUtils.indexOf(u,Q))return null}Q=D.apply(this,arguments);var T=!0;for(N=0;N<u.length&&T;N++)T=T&&this.isTableRow(u[N]);T&&(this.isTableCell(Q)&&(Q=
+A.length;B++){var E=mxUtils.getValue(this.getCurrentCellStyle(A[B]),"targetShapes","").split(",");if(0<=mxUtils.indexOf(E,u))return!0}return!1};var D=Graph.prototype.getDropTarget;Graph.prototype.getDropTarget=function(u,A,B,E){if(mxEvent.isAltDown(A))return null;for(var N=0;N<u.length;N++){var Q=this.model.getParent(u[N]);if(this.model.isEdge(Q)&&0>mxUtils.indexOf(u,Q))return null}Q=D.apply(this,arguments);var W=!0;for(N=0;N<u.length&&W;N++)W=W&&this.isTableRow(u[N]);W&&(this.isTableCell(Q)&&(Q=
this.model.getParent(Q)),this.isTableRow(Q)&&(Q=this.model.getParent(Q)),this.isTable(Q)||(Q=null));return Q};Graph.prototype.click=function(u){mxGraph.prototype.click.call(this,u);this.firstClickState=u.getState();this.firstClickSource=u.getSource()};Graph.prototype.dblClick=function(u,A){this.isEnabled()&&(A=this.insertTextForEvent(u,A),mxGraph.prototype.dblClick.call(this,u,A))};Graph.prototype.insertTextForEvent=function(u,A){var B=mxUtils.convertPoint(this.container,mxEvent.getClientX(u),mxEvent.getClientY(u));
if(null!=u&&!this.model.isVertex(A)){var E=this.model.isEdge(A)?this.view.getState(A):null,N=mxEvent.getSource(u);this.firstClickState!=E||this.firstClickSource!=N||null!=E&&null!=E.text&&null!=E.text.node&&null!=E.text.boundingBox&&(mxUtils.contains(E.text.boundingBox,B.x,B.y)||mxUtils.isAncestorNode(E.text.node,mxEvent.getSource(u)))||(null!=E||this.isCellLocked(this.getDefaultParent()))&&(null==E||this.isCellLocked(E.cell))||!(null!=E||mxClient.IS_SVG&&N==this.view.getCanvas().ownerSVGElement)||
(null==E&&(E=this.view.getState(this.getCellAt(B.x,B.y))),A=this.addText(B.x,B.y,E))}return A};Graph.prototype.getInsertPoint=function(){var u=this.getGridSize(),A=this.container.scrollLeft/this.view.scale-this.view.translate.x,B=this.container.scrollTop/this.view.scale-this.view.translate.y;if(this.pageVisible){var E=this.getPageLayout(),N=this.getPageSize();A=Math.max(A,E.x*N.width);B=Math.max(B,E.y*N.height)}return new mxPoint(this.snap(A+u),this.snap(B+u))};Graph.prototype.getFreeInsertPoint=
@@ -2833,106 +2833,105 @@ function(){var u=this.view,A=this.getGraphBounds(),B=this.getInsertPoint(),E=thi
this.view.translate.x-u.width/2)),this.snap(Math.round((this.container.scrollTop+this.container.clientHeight/2)/this.view.scale-this.view.translate.y-u.height/2))):new mxPoint(this.snap(Math.round(this.container.clientWidth/2/this.view.scale-this.view.translate.x-u.width/2)),this.snap(Math.round(this.container.clientHeight/2/this.view.scale-this.view.translate.y-u.height/2)))};Graph.prototype.isMouseInsertPoint=function(){return!1};Graph.prototype.appendFontSize=function(u,A){u=null!=u?u:"";null!=
A&&(0<u.length&&";"!=u.charAt(u.length-1)&&(u+=";"),u+="fontSize="+A+";");return u};Graph.prototype.addText=function(u,A,B){var E=new mxCell;E.value="Text";E.geometry=new mxGeometry(0,0,0,0);E.vertex=!0;if(null!=B&&this.model.isEdge(B.cell)){E.style="edgeLabel;"+this.appendFontSize("html=1;align=center;verticalAlign=middle;resizable=0;points=[];",this.edgeFontSize);E.geometry.relative=!0;E.connectable=!1;var N=this.view.getRelativePoint(B,u,A);E.geometry.x=Math.round(1E4*N.x)/1E4;E.geometry.y=Math.round(N.y);
E.geometry.offset=new mxPoint(0,0);N=this.view.getPoint(B,E.geometry);var Q=this.view.scale;E.geometry.offset=new mxPoint(Math.round((u-N.x)/Q),Math.round((A-N.y)/Q))}else N=this.view.translate,E.style="text;"+this.appendFontSize("html=1;align=center;verticalAlign=middle;resizable=0;points=[];",this.vertexFontSize),E.geometry.width=40,E.geometry.height=20,E.geometry.x=Math.round(u/this.view.scale)-N.x-(null!=B?B.origin.x:0),E.geometry.y=Math.round(A/this.view.scale)-N.y-(null!=B?B.origin.y:0),E.style+=
-"autosize=1;";this.getModel().beginUpdate();try{this.addCells([E],null!=B?B.cell:null),this.fireEvent(new mxEventObject("textInserted","cells",[E])),this.autoSizeCell(E)}finally{this.getModel().endUpdate()}return E};Graph.prototype.addClickHandler=function(u,A,B){var E=mxUtils.bind(this,function(){var da=this.container.getElementsByTagName("a");if(null!=da)for(var ha=0;ha<da.length;ha++){var ua=this.getAbsoluteUrl(da[ha].getAttribute("href"));null!=ua&&(da[ha].setAttribute("rel",this.linkRelation),
-da[ha].setAttribute("href",ua),null!=A&&mxEvent.addGestureListeners(da[ha],null,null,A))}});this.model.addListener(mxEvent.CHANGE,E);E();var N=this.container.style.cursor,Q=this.getTolerance(),T=this,ia={currentState:null,currentLink:null,currentTarget:null,highlight:null!=u&&""!=u&&u!=mxConstants.NONE?new mxCellHighlight(T,u,4):null,startX:0,startY:0,scrollLeft:0,scrollTop:0,updateCurrentState:function(da){var ha=da.sourceState;if(null==ha||null==T.getLinkForCell(ha.cell))da=T.getCellAt(da.getGraphX(),
-da.getGraphY(),null,null,null,function(ua,Ja,Ka){return null==T.getLinkForCell(ua.cell)}),ha=null==ha||T.model.isAncestor(da,ha.cell)?T.view.getState(da):null;ha!=this.currentState&&(null!=this.currentState&&this.clear(),this.currentState=ha,null!=this.currentState&&this.activate(this.currentState))},mouseDown:function(da,ha){this.startX=ha.getGraphX();this.startY=ha.getGraphY();this.scrollLeft=T.container.scrollLeft;this.scrollTop=T.container.scrollTop;null==this.currentLink&&"auto"==T.container.style.overflow&&
-(T.container.style.cursor="move");this.updateCurrentState(ha)},mouseMove:function(da,ha){if(T.isMouseDown)null!=this.currentLink&&(da=Math.abs(this.startX-ha.getGraphX()),ha=Math.abs(this.startY-ha.getGraphY()),(da>Q||ha>Q)&&this.clear());else{for(da=ha.getSource();null!=da&&"a"!=da.nodeName.toLowerCase();)da=da.parentNode;null!=da?this.clear():(null!=T.tooltipHandler&&null!=this.currentLink&&null!=this.currentState&&T.tooltipHandler.reset(ha,!0,this.currentState),(null==this.currentState||ha.getState()!=
-this.currentState&&null!=ha.sourceState||!T.intersects(this.currentState,ha.getGraphX(),ha.getGraphY()))&&this.updateCurrentState(ha))}},mouseUp:function(da,ha){var ua=ha.getSource();for(da=ha.getEvent();null!=ua&&"a"!=ua.nodeName.toLowerCase();)ua=ua.parentNode;null==ua&&Math.abs(this.scrollLeft-T.container.scrollLeft)<Q&&Math.abs(this.scrollTop-T.container.scrollTop)<Q&&(null==ha.sourceState||!ha.isSource(ha.sourceState.control))&&((mxEvent.isLeftMouseButton(da)||mxEvent.isMiddleMouseButton(da))&&
-!mxEvent.isPopupTrigger(da)||mxEvent.isTouchEvent(da))&&(null!=this.currentLink?(ua=T.isBlankLink(this.currentLink),"data:"!==this.currentLink.substring(0,5)&&ua||null==A||A(da,this.currentLink,null!=this.currentState?this.currentState.cell:null),mxEvent.isConsumed(da)||(da=null!=this.currentTarget?this.currentTarget:mxEvent.isMiddleMouseButton(da)?"_blank":ua?T.linkTarget:"_top",T.openLink(this.currentLink,da),ha.consume())):null!=B&&!ha.isConsumed()&&Math.abs(this.scrollLeft-T.container.scrollLeft)<
-Q&&Math.abs(this.scrollTop-T.container.scrollTop)<Q&&Math.abs(this.startX-ha.getGraphX())<Q&&Math.abs(this.startY-ha.getGraphY())<Q&&B(ha.getEvent()));this.clear()},activate:function(da){this.currentLink=T.getAbsoluteUrl(T.getLinkForCell(da.cell));null!=this.currentLink&&(this.currentTarget=T.getLinkTargetForCell(da.cell),T.container.style.cursor="pointer",null!=this.highlight&&this.highlight.highlight(da))},clear:function(){null!=T.container&&(T.container.style.cursor=N);this.currentLink=this.currentState=
-this.currentTarget=null;null!=this.highlight&&this.highlight.hide();null!=T.tooltipHandler&&T.tooltipHandler.hide()}};T.click=function(da){};T.addMouseListener(ia);mxEvent.addListener(document,"mouseleave",function(da){ia.clear()})};Graph.prototype.duplicateCells=function(u,A){u=null!=u?u:this.getSelectionCells();A=null!=A?A:!0;for(var B=0;B<u.length;B++)this.isTableCell(u[B])&&(u[B]=this.model.getParent(u[B]));u=this.model.getTopmostCells(u);var E=this.getModel(),N=this.gridSize,Q=[];E.beginUpdate();
-try{var T={},ia=this.createCellLookup(u),da=this.cloneCells(u,!1,T,!0);for(B=0;B<u.length;B++){var ha=E.getParent(u[B]);if(null!=ha){var ua=this.moveCells([da[B]],N,N,!1)[0];Q.push(ua);if(A)E.add(ha,da[B]);else{var Ja=ha.getIndex(u[B]);E.add(ha,da[B],Ja+1)}if(this.isTable(ha)){var Ka=this.getCellGeometry(da[B]),xa=this.getCellGeometry(ha);null!=Ka&&null!=xa&&(xa=xa.clone(),xa.height+=Ka.height,E.setGeometry(ha,xa))}}else Q.push(da[B])}this.updateCustomLinks(this.createCellMapping(T,ia),da,this);this.fireEvent(new mxEventObject(mxEvent.CELLS_ADDED,
-"cells",da))}finally{E.endUpdate()}return Q};Graph.prototype.insertImage=function(u,A,B){if(null!=u&&null!=this.cellEditor.textarea){for(var E=this.cellEditor.textarea.getElementsByTagName("img"),N=[],Q=0;Q<E.length;Q++)N.push(E[Q]);document.execCommand("insertimage",!1,u);u=this.cellEditor.textarea.getElementsByTagName("img");if(u.length==N.length+1)for(Q=u.length-1;0<=Q;Q--)if(0==Q||u[Q]!=N[Q-1]){u[Q].setAttribute("width",A);u[Q].setAttribute("height",B);break}}};Graph.prototype.insertLink=function(u){if(null!=
+"autosize=1;";this.getModel().beginUpdate();try{this.addCells([E],null!=B?B.cell:null),this.fireEvent(new mxEventObject("textInserted","cells",[E])),this.autoSizeCell(E)}finally{this.getModel().endUpdate()}return E};Graph.prototype.addClickHandler=function(u,A,B){var E=mxUtils.bind(this,function(){var fa=this.container.getElementsByTagName("a");if(null!=fa)for(var ia=0;ia<fa.length;ia++){var ya=this.getAbsoluteUrl(fa[ia].getAttribute("href"));null!=ya&&(fa[ia].setAttribute("rel",this.linkRelation),
+fa[ia].setAttribute("href",ya),null!=A&&mxEvent.addGestureListeners(fa[ia],null,null,A))}});this.model.addListener(mxEvent.CHANGE,E);E();var N=this.container.style.cursor,Q=this.getTolerance(),W=this,ha={currentState:null,currentLink:null,currentTarget:null,highlight:null!=u&&""!=u&&u!=mxConstants.NONE?new mxCellHighlight(W,u,4):null,startX:0,startY:0,scrollLeft:0,scrollTop:0,updateCurrentState:function(fa){var ia=fa.sourceState;if(null==ia||null==W.getLinkForCell(ia.cell))fa=W.getCellAt(fa.getGraphX(),
+fa.getGraphY(),null,null,null,function(ya,xa,Da){return null==W.getLinkForCell(ya.cell)}),ia=null==ia||W.model.isAncestor(fa,ia.cell)?W.view.getState(fa):null;ia!=this.currentState&&(null!=this.currentState&&this.clear(),this.currentState=ia,null!=this.currentState&&this.activate(this.currentState))},mouseDown:function(fa,ia){this.startX=ia.getGraphX();this.startY=ia.getGraphY();this.scrollLeft=W.container.scrollLeft;this.scrollTop=W.container.scrollTop;null==this.currentLink&&"auto"==W.container.style.overflow&&
+(W.container.style.cursor="move");this.updateCurrentState(ia)},mouseMove:function(fa,ia){if(W.isMouseDown)null!=this.currentLink&&(fa=Math.abs(this.startX-ia.getGraphX()),ia=Math.abs(this.startY-ia.getGraphY()),(fa>Q||ia>Q)&&this.clear());else{for(fa=ia.getSource();null!=fa&&"a"!=fa.nodeName.toLowerCase();)fa=fa.parentNode;null!=fa?this.clear():(null!=W.tooltipHandler&&null!=this.currentLink&&null!=this.currentState&&W.tooltipHandler.reset(ia,!0,this.currentState),(null==this.currentState||ia.getState()!=
+this.currentState&&null!=ia.sourceState||!W.intersects(this.currentState,ia.getGraphX(),ia.getGraphY()))&&this.updateCurrentState(ia))}},mouseUp:function(fa,ia){var ya=ia.getSource();for(fa=ia.getEvent();null!=ya&&"a"!=ya.nodeName.toLowerCase();)ya=ya.parentNode;null==ya&&Math.abs(this.scrollLeft-W.container.scrollLeft)<Q&&Math.abs(this.scrollTop-W.container.scrollTop)<Q&&(null==ia.sourceState||!ia.isSource(ia.sourceState.control))&&((mxEvent.isLeftMouseButton(fa)||mxEvent.isMiddleMouseButton(fa))&&
+!mxEvent.isPopupTrigger(fa)||mxEvent.isTouchEvent(fa))&&(null!=this.currentLink?(ya=W.isBlankLink(this.currentLink),"data:"!==this.currentLink.substring(0,5)&&ya||null==A||A(fa,this.currentLink,null!=this.currentState?this.currentState.cell:null),mxEvent.isConsumed(fa)||(fa=null!=this.currentTarget?this.currentTarget:mxEvent.isMiddleMouseButton(fa)?"_blank":ya?W.linkTarget:"_top",W.openLink(this.currentLink,fa),ia.consume())):null!=B&&!ia.isConsumed()&&Math.abs(this.scrollLeft-W.container.scrollLeft)<
+Q&&Math.abs(this.scrollTop-W.container.scrollTop)<Q&&Math.abs(this.startX-ia.getGraphX())<Q&&Math.abs(this.startY-ia.getGraphY())<Q&&B(ia.getEvent()));this.clear()},activate:function(fa){this.currentLink=W.getAbsoluteUrl(W.getLinkForCell(fa.cell));null!=this.currentLink&&(this.currentTarget=W.getLinkTargetForCell(fa.cell),W.container.style.cursor="pointer",null!=this.highlight&&this.highlight.highlight(fa))},clear:function(){null!=W.container&&(W.container.style.cursor=N);this.currentLink=this.currentState=
+this.currentTarget=null;null!=this.highlight&&this.highlight.hide();null!=W.tooltipHandler&&W.tooltipHandler.hide()}};W.click=function(fa){};W.addMouseListener(ha);mxEvent.addListener(document,"mouseleave",function(fa){ha.clear()})};Graph.prototype.duplicateCells=function(u,A){u=null!=u?u:this.getSelectionCells();A=null!=A?A:!0;for(var B=0;B<u.length;B++)this.isTableCell(u[B])&&(u[B]=this.model.getParent(u[B]));u=this.model.getTopmostCells(u);var E=this.getModel(),N=this.gridSize,Q=[];E.beginUpdate();
+try{var W={},ha=this.createCellLookup(u),fa=this.cloneCells(u,!1,W,!0);for(B=0;B<u.length;B++){var ia=E.getParent(u[B]);if(null!=ia){var ya=this.moveCells([fa[B]],N,N,!1)[0];Q.push(ya);if(A)E.add(ia,fa[B]);else{var xa=ia.getIndex(u[B]);E.add(ia,fa[B],xa+1)}if(this.isTable(ia)){var Da=this.getCellGeometry(fa[B]),Oa=this.getCellGeometry(ia);null!=Da&&null!=Oa&&(Oa=Oa.clone(),Oa.height+=Da.height,E.setGeometry(ia,Oa))}}else Q.push(fa[B])}this.updateCustomLinks(this.createCellMapping(W,ha),fa,this);this.fireEvent(new mxEventObject(mxEvent.CELLS_ADDED,
+"cells",fa))}finally{E.endUpdate()}return Q};Graph.prototype.insertImage=function(u,A,B){if(null!=u&&null!=this.cellEditor.textarea){for(var E=this.cellEditor.textarea.getElementsByTagName("img"),N=[],Q=0;Q<E.length;Q++)N.push(E[Q]);document.execCommand("insertimage",!1,u);u=this.cellEditor.textarea.getElementsByTagName("img");if(u.length==N.length+1)for(Q=u.length-1;0<=Q;Q--)if(0==Q||u[Q]!=N[Q-1]){u[Q].setAttribute("width",A);u[Q].setAttribute("height",B);break}}};Graph.prototype.insertLink=function(u){if(null!=
this.cellEditor.textarea)if(0==u.length)document.execCommand("unlink",!1);else if(mxClient.IS_FF){for(var A=this.cellEditor.textarea.getElementsByTagName("a"),B=[],E=0;E<A.length;E++)B.push(A[E]);document.execCommand("createlink",!1,mxUtils.trim(u));A=this.cellEditor.textarea.getElementsByTagName("a");if(A.length==B.length+1)for(E=A.length-1;0<=E;E--)if(A[E]!=B[E-1]){for(A=A[E].getElementsByTagName("a");0<A.length;){for(B=A[0].parentNode;null!=A[0].firstChild;)B.insertBefore(A[0].firstChild,A[0]);
B.removeChild(A[0])}break}}else document.execCommand("createlink",!1,mxUtils.trim(u))};Graph.prototype.isCellResizable=function(u){var A=mxGraph.prototype.isCellResizable.apply(this,arguments),B=this.getCurrentCellStyle(u);return!this.isTableCell(u)&&!this.isTableRow(u)&&(A||"0"!=mxUtils.getValue(B,mxConstants.STYLE_RESIZABLE,"1")&&"wrap"==B[mxConstants.STYLE_WHITE_SPACE])};Graph.prototype.distributeCells=function(u,A,B){null==A&&(A=this.getSelectionCells());if(null!=A&&1<A.length){for(var E=[],N=
-null,Q=null,T=0,ia=0;ia<A.length;ia++)if(this.getModel().isVertex(A[ia])){var da=this.view.getState(A[ia]);if(null!=da){var ha=u?da.getCenterX():da.getCenterY();N=null!=N?Math.max(N,ha):ha;Q=null!=Q?Math.min(Q,ha):ha;B&&(T+=u?da.width:da.height);E.push(da)}}if(2<E.length){E.sort(function(Ba,wa){return u?Ba.x-wa.x:Ba.y-wa.y});B&&(T-=u?E[0].width/2+E[E.length-1].width/2:E[0].height/2+E[E.length-1].height/2);da=this.view.translate;ha=this.view.scale;Q=Q/ha-(u?da.x:da.y);N=N/ha-(u?da.x:da.y);this.getModel().beginUpdate();
-try{var ua=(N-Q-T)/(E.length-1),Ja=Q+(B?u?E[0].width/2:E[0].height/2:0);for(ia=1;ia<E.length-1;ia++){var Ka=this.view.getState(this.model.getParent(E[ia].cell)),xa=this.getCellGeometry(E[ia].cell);Ja+=ua;null!=xa&&null!=Ka&&(xa=xa.clone(),u?xa.x=Math.round(Ja-(B?0:xa.width/2))-Ka.origin.x:xa.y=Math.round(Ja-(B?0:xa.height/2))-Ka.origin.y,this.getModel().setGeometry(E[ia].cell,xa));B&&(Ja+=u?E[ia].width:E[ia].height)}}finally{this.getModel().endUpdate()}}}return A};Graph.prototype.isCloneEvent=function(u){return mxClient.IS_MAC&&
+null,Q=null,W=0,ha=0;ha<A.length;ha++)if(this.getModel().isVertex(A[ha])){var fa=this.view.getState(A[ha]);if(null!=fa){var ia=u?fa.getCenterX():fa.getCenterY();N=null!=N?Math.max(N,ia):ia;Q=null!=Q?Math.min(Q,ia):ia;B&&(W+=u?fa.width:fa.height);E.push(fa)}}if(2<E.length){E.sort(function(Ma,Aa){return u?Ma.x-Aa.x:Ma.y-Aa.y});B&&(W-=u?E[0].width/2+E[E.length-1].width/2:E[0].height/2+E[E.length-1].height/2);fa=this.view.translate;ia=this.view.scale;Q=Q/ia-(u?fa.x:fa.y);N=N/ia-(u?fa.x:fa.y);this.getModel().beginUpdate();
+try{var ya=(N-Q-W)/(E.length-1),xa=Q+(B?u?E[0].width/2:E[0].height/2:0);for(ha=1;ha<E.length-1;ha++){var Da=this.view.getState(this.model.getParent(E[ha].cell)),Oa=this.getCellGeometry(E[ha].cell);xa+=ya;null!=Oa&&null!=Da&&(Oa=Oa.clone(),u?Oa.x=Math.round(xa-(B?0:Oa.width/2))-Da.origin.x:Oa.y=Math.round(xa-(B?0:Oa.height/2))-Da.origin.y,this.getModel().setGeometry(E[ha].cell,Oa));B&&(xa+=u?E[ha].width:E[ha].height)}}finally{this.getModel().endUpdate()}}}return A};Graph.prototype.isCloneEvent=function(u){return mxClient.IS_MAC&&
mxEvent.isMetaDown(u)||mxEvent.isControlDown(u)};Graph.prototype.createSvgImageExport=function(){var u=new mxImageExport;u.addCellData=function(B,E,N){E.setAttribute("data-cell-id",B.id);if(N)if(mxUtils.isNode(B.value))for(N=0;N<B.value.attributes.length;N++){var Q=B.value.attributes[N];E.setAttribute("data-cell-"+Q.name,Q.value)}else if("object"===typeof B.value)for(Q in B.value)E.setAttribute("data-cell-"+Q,B.value[Q]);else null!=B.value&&E.setAttribute("data-cell-value",B.value);return E};var A=
-u.visitStatesRecursive;u.visitStatesRecursive=function(B,E,N){if(null!=B){var Q=E.root,T=E.root.ownerDocument;E.root=this.addCellData(B.cell,null!=T.createElementNS?T.createElementNS(mxConstants.NS_SVG,"g"):T.createElement("g"),Editor.addSvgMetadata);Q.appendChild(E.root);A.apply(this,arguments);E.root=Q}};u.getLinkForCellState=mxUtils.bind(this,function(B,E){return this.getLinkForCell(B.cell)});u.getTitleForCellState=mxUtils.bind(this,function(B,E){return Editor.convertHtmlToText(this.convertValueToTooltip(B.cell))});
-return u};Graph.prototype.parseBackgroundImage=function(u){var A=null;null!=u&&0<u.length&&(u=JSON.parse(u),A=new mxImage(u.src,u.width,u.height));return A};Graph.prototype.getBackgroundImageObject=function(u){return u};Graph.prototype.getSvg=function(u,A,B,E,N,Q,T,ia,da,ha,ua,Ja,Ka,xa,Ba,wa){var za=null;if(null!=xa)for(za=new mxDictionary,ua=0;ua<xa.length;ua++)za.put(xa[ua],!0);xa=this.useCssTransforms;var Ya=this.enableFlowAnimation;this.enableFlowAnimation=!1;xa&&(this.useCssTransforms=!1,this.view.revalidate(),
-this.sizeDidChange());try{A=null!=A?A:1;B=null!=B?B:0;N=null!=N?N:!0;Q=null!=Q?Q:!0;T=null!=T?T:!0;ha=null!=ha?ha:!1;var Sa="page"==Ka?this.view.getBackgroundPageBounds():Q&&null==za||E||"diagram"==Ka?this.getGraphBounds():this.getBoundingBox(this.getSelectionCells()),La=this.backgroundImage,Xa=this.view.translate,Za=this.view.scale;"diagram"==Ka&&null!=La&&null!=La.width&&null!=La.height&&(Sa=mxRectangle.fromRectangle(Sa),Sa.add(new mxRectangle((Xa.x+La.x)*Za,(Xa.y+La.y)*Za,La.width*Za,La.height*
-Za)));if(null==Sa)throw Error(mxResources.get("drawingEmpty"));E=u;null!=E&&"dark"==Ja&&Editor.enableCssDarkMode&&(E=Graph.invertColor(u));Ja=A/Za;Ka=N?-.5:0;var bb=Graph.createSvgNode(Ka,Ka,Math.max(1,Math.ceil(Sa.width*Ja)+2*B)+(ha&&0==B?5:0),Math.max(1,Math.ceil(Sa.height*Ja)+2*B)+(ha&&0==B?5:0),E),jb=bb.ownerDocument;if(null!=u){var mb=mxUtils.createElementNs(jb,mxConstants.NS_SVG,"rect");mb.setAttribute("fill",u);mb.setAttribute("width","100%");mb.setAttribute("height","100%");mb.setAttribute("x",
-"0");mb.setAttribute("y","0");bb.appendChild(mb)}var sb=mxUtils.createElementNs(jb,mxConstants.NS_SVG,"g");bb.appendChild(sb);var db=this.createSvgCanvas(sb);db.foOffset=N?-.5:0;db.textOffset=N?-.5:0;db.imageOffset=N?-.5:0;db.translate(Math.floor(B/A-Sa.x/Za),Math.floor(B/A-Sa.y/Za));var lb=document.createElement("div"),qb=db.getAlternateText;db.getAlternateText=function(Va,eb,Ta,kb,nb,ab,pb,wb,xb,zb,c,k,t){if(null!=ab&&0<this.state.fontSize)try{mxUtils.isNode(ab)?ab=ab.innerText:(lb.innerHTML=ab,
-ab=mxUtils.extractTextWithWhitespace(lb.childNodes));for(var m=Math.ceil(2*kb/this.state.fontSize),r=[],v=0,x=0;(0==m||v<m)&&x<ab.length;){var J=ab.charCodeAt(x);if(10==J||13==J){if(0<v)break}else r.push(ab.charAt(x)),255>J&&v++;x++}r.length<ab.length&&1<ab.length-r.length&&(ab=mxUtils.trim(r.join(""))+"...");return ab}catch(y){return qb.apply(this,arguments)}else return qb.apply(this,arguments)};null!=La&&null!=La.width&&null!=La.height&&(u=Za/A,Ka=new mxRectangle((La.x+Xa.x)*u,(La.y+Xa.y)*u,La.width*
-u,La.height*u),mxUtils.intersects(Sa,Ka)&&db.image(La.x+Xa.x,La.y+Xa.y,La.width,La.height,La.src,!0));db.scale(Ja);db.textEnabled=T;ia=null!=ia?ia:this.createSvgImageExport();var tb=ia.getLinkForCellState;ia.getLinkForCellState=function(Va,eb){var Ta=Va.view.graph.getAbsoluteUrl(tb.apply(this,arguments));return null==Ta||Va.view.graph.isCustomLink(Ta)?null:Ta};ia.getLinkTargetForCellState=function(Va,eb){return Va.view.graph.getLinkTargetForCell(Va.cell)};var ub=ia.drawCellState,ob=null,rb=mxUtils.bind(this,
-function(){if(null==ob){ob="ge-flow-animation-"+Editor.guid();var Va=null!=jb.createElementNS?jb.createElementNS(mxConstants.NS_SVG,"style"):jb.createElement("style");Va.innerHTML=this.createFlowAnimationCss(ob);jb.getElementsByTagName("defs")[0].appendChild(Va)}return ob});ia.drawCellState=function(Va,eb){for(var Ta=Va.view.graph,kb=null!=za?za.get(Va.cell):Ta.isCellSelected(Va.cell),nb=Ta.model.getParent(Va.cell);!(Q&&null==za||kb)&&null!=nb;)kb=null!=za?za.get(nb):Ta.isCellSelected(nb),nb=Ta.model.getParent(nb);
-if(null!=Va.shape)try{var ab=Va.shape.isFlowAnimationEnabled,pb=Va.shape.addFlowAnimationToShape;Va.shape.isFlowAnimationEnabled=function(){return Ya&&Ta.model.isEdge(Va.cell)&&"1"==mxUtils.getValue(Va.style,"flowAnimation","0")};Va.shape.addFlowAnimationToShape=function(){Ta.addFlowAnimationToNode(this.getFlowAnimationPath(),Va.style,A,rb())};if(Q&&null==za||kb)Ta.view.redrawEnumerationState(Va),ub.apply(this,arguments),this.doDrawShape(Va.secondLabel,eb)}finally{Va.shape.isFlowAnimationEnabled=
-ab,Va.shape.addFlowAnimationToShape=pb}};var vb=null!=this.view.currentRoot?this.view.currentRoot:this.model.root;ia.drawState(this.getView().getState(vb),db);this.addForeignObjectWarning(db,bb);wa?this.disableSvgLinks(bb):this.updateSvgLinks(bb,da,!0);return bb}finally{this.enableFlowAnimation=Ya,xa&&(this.useCssTransforms=!0,this.view.revalidate(),this.sizeDidChange())}};Graph.prototype.addForeignObjectWarning=function(u,A){if("0"!=urlParams["svg-warning"]&&0<A.getElementsByTagName("foreignObject").length){var B=
+u.visitStatesRecursive;u.visitStatesRecursive=function(B,E,N){if(null!=B){var Q=E.root,W=E.root.ownerDocument;E.root=this.addCellData(B.cell,null!=W.createElementNS?W.createElementNS(mxConstants.NS_SVG,"g"):W.createElement("g"),Editor.addSvgMetadata);Q.appendChild(E.root);A.apply(this,arguments);E.root=Q}};u.getLinkForCellState=mxUtils.bind(this,function(B,E){return this.getLinkForCell(B.cell)});u.getTitleForCellState=mxUtils.bind(this,function(B,E){return Editor.convertHtmlToText(this.convertValueToTooltip(B.cell))});
+return u};Graph.prototype.parseBackgroundImage=function(u){var A=null;null!=u&&0<u.length&&(u=JSON.parse(u),A=new mxImage(u.src,u.width,u.height));return A};Graph.prototype.getBackgroundImageObject=function(u){return u};Graph.prototype.getSvg=function(u,A,B,E,N,Q,W,ha,fa,ia,ya,xa,Da,Oa,Ma,Aa){var va=null;if(null!=Oa)for(va=new mxDictionary,ya=0;ya<Oa.length;ya++)va.put(Oa[ya],!0);Oa=this.useCssTransforms;var Ya=this.enableFlowAnimation;this.enableFlowAnimation=!1;Oa&&(this.useCssTransforms=!1,this.view.revalidate(),
+this.sizeDidChange());try{A=null!=A?A:1;B=null!=B?B:0;N=null!=N?N:!0;Q=null!=Q?Q:!0;W=null!=W?W:!0;ia=null!=ia?ia:!1;var Ta="page"==Da?this.view.getBackgroundPageBounds():Q&&null==va||E||"diagram"==Da?this.getGraphBounds():this.getBoundingBox(this.getSelectionCells()),Ka=this.backgroundImage,Wa=this.view.translate,Xa=this.view.scale;"diagram"==Da&&null!=Ka&&null!=Ka.width&&null!=Ka.height&&(Ta=mxRectangle.fromRectangle(Ta),Ta.add(new mxRectangle((Wa.x+Ka.x)*Xa,(Wa.y+Ka.y)*Xa,Ka.width*Xa,Ka.height*
+Xa)));if(null==Ta)throw Error(mxResources.get("drawingEmpty"));E=u;null!=E&&"dark"==xa&&Editor.enableCssDarkMode&&(E=Graph.invertColor(u));xa=A/Xa;Da=N?-.5:0;var bb=Graph.createSvgNode(Da,Da,Math.max(1,Math.ceil(Ta.width*xa)+2*B)+(ia&&0==B?5:0),Math.max(1,Math.ceil(Ta.height*xa)+2*B)+(ia&&0==B?5:0),E),ib=bb.ownerDocument;if(null!=u){var lb=mxUtils.createElementNs(ib,mxConstants.NS_SVG,"rect");lb.setAttribute("fill",u);lb.setAttribute("width","100%");lb.setAttribute("height","100%");lb.setAttribute("x",
+"0");lb.setAttribute("y","0");bb.appendChild(lb)}var sb=mxUtils.createElementNs(ib,mxConstants.NS_SVG,"g");bb.appendChild(sb);var eb=this.createSvgCanvas(sb);eb.foOffset=N?-.5:0;eb.textOffset=N?-.5:0;eb.imageOffset=N?-.5:0;eb.translate(Math.floor(B/A-Ta.x/Xa),Math.floor(B/A-Ta.y/Xa));var kb=document.createElement("div"),qb=eb.getAlternateText;eb.getAlternateText=function(Ua,fb,Ra,jb,mb,$a,pb,wb,xb,zb,c,l,t){if(null!=$a&&0<this.state.fontSize)try{mxUtils.isNode($a)?$a=$a.innerText:(kb.innerHTML=$a,
+$a=mxUtils.extractTextWithWhitespace(kb.childNodes));for(var m=Math.ceil(2*jb/this.state.fontSize),r=[],v=0,x=0;(0==m||v<m)&&x<$a.length;){var J=$a.charCodeAt(x);if(10==J||13==J){if(0<v)break}else r.push($a.charAt(x)),255>J&&v++;x++}r.length<$a.length&&1<$a.length-r.length&&($a=mxUtils.trim(r.join(""))+"...");return $a}catch(y){return qb.apply(this,arguments)}else return qb.apply(this,arguments)};null!=Ka&&null!=Ka.width&&null!=Ka.height&&(u=Xa/A,Da=new mxRectangle((Ka.x+Wa.x)*u,(Ka.y+Wa.y)*u,Ka.width*
+u,Ka.height*u),mxUtils.intersects(Ta,Da)&&eb.image(Ka.x+Wa.x,Ka.y+Wa.y,Ka.width,Ka.height,Ka.src,!0));eb.scale(xa);eb.textEnabled=W;ha=null!=ha?ha:this.createSvgImageExport();var tb=ha.getLinkForCellState;ha.getLinkForCellState=function(Ua,fb){var Ra=Ua.view.graph.getAbsoluteUrl(tb.apply(this,arguments));return null==Ra||Ua.view.graph.isCustomLink(Ra)?null:Ra};ha.getLinkTargetForCellState=function(Ua,fb){return Ua.view.graph.getLinkTargetForCell(Ua.cell)};var ub=ha.drawCellState,nb=null,rb=mxUtils.bind(this,
+function(){if(null==nb){nb="ge-flow-animation-"+Editor.guid();var Ua=null!=ib.createElementNS?ib.createElementNS(mxConstants.NS_SVG,"style"):ib.createElement("style");Ua.innerHTML=this.createFlowAnimationCss(nb);ib.getElementsByTagName("defs")[0].appendChild(Ua)}return nb});ha.drawCellState=function(Ua,fb){for(var Ra=Ua.view.graph,jb=null!=va?va.get(Ua.cell):Ra.isCellSelected(Ua.cell),mb=Ra.model.getParent(Ua.cell);!(Q&&null==va||jb)&&null!=mb;)jb=null!=va?va.get(mb):Ra.isCellSelected(mb),mb=Ra.model.getParent(mb);
+if(null!=Ua.shape)try{var $a=Ua.shape.isFlowAnimationEnabled,pb=Ua.shape.addFlowAnimationToShape;Ua.shape.isFlowAnimationEnabled=function(){return Ya&&Ra.model.isEdge(Ua.cell)&&"1"==mxUtils.getValue(Ua.style,"flowAnimation","0")};Ua.shape.addFlowAnimationToShape=function(){Ra.addFlowAnimationToNode(this.getFlowAnimationPath(),Ua.style,A,rb())};if(Q&&null==va||jb)Ra.view.redrawEnumerationState(Ua),ub.apply(this,arguments),this.doDrawShape(Ua.secondLabel,fb)}finally{Ua.shape.isFlowAnimationEnabled=
+$a,Ua.shape.addFlowAnimationToShape=pb}};var vb=null!=this.view.currentRoot?this.view.currentRoot:this.model.root;ha.drawState(this.getView().getState(vb),eb);this.addForeignObjectWarning(eb,bb);Aa?this.disableSvgLinks(bb):this.updateSvgLinks(bb,fa,!0);return bb}finally{this.enableFlowAnimation=Ya,Oa&&(this.useCssTransforms=!0,this.view.revalidate(),this.sizeDidChange())}};Graph.prototype.addForeignObjectWarning=function(u,A){if("0"!=urlParams["svg-warning"]&&0<A.getElementsByTagName("foreignObject").length){var B=
u.createElement("switch"),E=u.createElement("g");E.setAttribute("requiredFeatures","http://www.w3.org/TR/SVG11/feature#Extensibility");var N=u.createElement("a");N.setAttribute("transform","translate(0,-5)");null==N.setAttributeNS||A.ownerDocument!=document&&null==document.documentMode?(N.setAttribute("xlink:href",Graph.foreignObjectWarningLink),N.setAttribute("target","_blank")):(N.setAttributeNS(mxConstants.NS_XLINK,"xlink:href",Graph.foreignObjectWarningLink),N.setAttributeNS(mxConstants.NS_XLINK,
"target","_blank"));u=u.createElement("text");u.setAttribute("text-anchor","middle");u.setAttribute("font-size","10px");u.setAttribute("x","50%");u.setAttribute("y","100%");mxUtils.write(u,Graph.foreignObjectWarningText);B.appendChild(E);N.appendChild(u);B.appendChild(N);A.appendChild(B)}};Graph.prototype.disableSvgLinks=function(u,A){u=u.getElementsByTagName("a");for(var B=0;B<u.length;B++){var E=u[B].getAttribute("href");null==E&&(E=u[B].getAttribute("xlink:href"));null!=E&&(u[B].style.pointerEvents=
"none",u[B].setAttribute("href",""));A&&A(u[B])}};Graph.prototype.updateSvgLinks=function(u,A,B){u=u.getElementsByTagName("a");for(var E=0;E<u.length;E++)if(null==u[E].getAttribute("target")){var N=u[E].getAttribute("href");null==N&&(N=u[E].getAttribute("xlink:href"));null!=N&&(null!=A&&/^https?:\/\//.test(N)?u[E].setAttribute("target",A):B&&this.isCustomLink(N)&&u[E].setAttribute("href","javascript:void(0);"))}};Graph.prototype.createSvgCanvas=function(u){u=new mxSvgCanvas2D(u);u.minStrokeWidth=
-this.cellRenderer.minSvgStrokeWidth;u.pointerEvents=!0;return u};Graph.prototype.getSelectedTextBlocks=function(){function u(T){if(T.firstChild)return T.firstChild;for(;T;){if(T.nextSibling)return T.nextSibling;T=T.parentNode}}function A(T){var ia=T.startContainer,da=T.endContainer;T=T.commonAncestorContainer;var ha=[],ua;for(ua=ia.parentNode;ua&&(ha.push(ua),ua!=T);ua=ua.parentNode);ha.reverse();for(ua=ia;ua&&(ha.push(ua),ua!=da);ua=u(ua));return ha}var B=[this.getSelectedElement()];if(window.getSelection){var E=
-window.getSelection();E.getRangeAt&&E.rangeCount&&(B=A(E.getRangeAt(0)))}E=[];for(var N=0;N<B.length;N++)for(var Q=B[N];null!=this.cellEditor.textarea&&this.cellEditor.textarea.contains(Q)&&Q!=this.cellEditor.textarea&&null!=Q.parentNode;)if(Q.nodeType==mxConstants.NODETYPE_ELEMENT&&"block"==mxUtils.getCurrentStyle(Q).display){0>mxUtils.indexOf(E,Q)&&E.push(Q);break}else Q=Q.parentNode;return E};Graph.prototype.getSelectedElement=function(){var u=null;if(window.getSelection){var A=window.getSelection();
-A.getRangeAt&&A.rangeCount&&(u=A.getRangeAt(0).commonAncestorContainer)}else document.selection&&(u=document.selection.createRange().parentElement());return u};Graph.prototype.getSelectedEditingElement=function(){for(var u=this.getSelectedElement();null!=u&&u.nodeType!=mxConstants.NODETYPE_ELEMENT;)u=u.parentNode;null!=u&&u==this.cellEditor.textarea&&1==this.cellEditor.textarea.children.length&&this.cellEditor.textarea.firstChild.nodeType==mxConstants.NODETYPE_ELEMENT&&(u=this.cellEditor.textarea.firstChild);
-return u};Graph.prototype.getParentByName=function(u,A,B){for(;null!=u&&u.nodeName!=A;){if(u==B)return null;u=u.parentNode}return u};Graph.prototype.getParentByNames=function(u,A,B){for(;null!=u&&!(0<=mxUtils.indexOf(A,u.nodeName));){if(u==B)return null;u=u.parentNode}return u};Graph.prototype.selectNode=function(u){var A=null;if(window.getSelection){if(A=window.getSelection(),A.getRangeAt&&A.rangeCount){var B=document.createRange();B.selectNode(u);A.removeAllRanges();A.addRange(B)}}else(A=document.selection)&&
-"Control"!=A.type&&(u=A.createRange(),u.collapse(!0),B=A.createRange(),B.setEndPoint("StartToStart",u),B.select())};Graph.prototype.flipEdgePoints=function(u,A,B){var E=this.getCellGeometry(u);if(null!=E){E=E.clone();if(null!=E.points)for(var N=0;N<E.points.length;N++)A?E.points[N].x=B+(B-E.points[N].x):E.points[N].y=B+(B-E.points[N].y);N=function(Q){null!=Q&&(A?Q.x=B+(B-Q.x):Q.y=B+(B-Q.y))};N(E.getTerminalPoint(!0));N(E.getTerminalPoint(!1));this.model.setGeometry(u,E)}};Graph.prototype.flipChildren=
-function(u,A,B){this.model.beginUpdate();try{for(var E=this.model.getChildCount(u),N=0;N<E;N++){var Q=this.model.getChildAt(u,N);if(this.model.isEdge(Q))this.flipEdgePoints(Q,A,B);else{var T=this.getCellGeometry(Q);null!=T&&(T=T.clone(),A?T.x=B+(B-T.x-T.width):T.y=B+(B-T.y-T.height),this.model.setGeometry(Q,T))}}}finally{this.model.endUpdate()}};Graph.prototype.flipCells=function(u,A){this.model.beginUpdate();try{u=this.model.getTopmostCells(u);for(var B=[],E=0;E<u.length;E++)if(this.model.isEdge(u[E])){var N=
-this.view.getState(u[E]);null!=N&&this.flipEdgePoints(u[E],A,(A?N.getCenterX():N.getCenterY())/this.view.scale-(A?N.origin.x:N.origin.y)-(A?this.view.translate.x:this.view.translate.y))}else{var Q=this.getCellGeometry(u[E]);null!=Q&&this.flipChildren(u[E],A,A?Q.getCenterX()-Q.x:Q.getCenterY()-Q.y);B.push(u[E])}this.toggleCellStyles(A?mxConstants.STYLE_FLIPH:mxConstants.STYLE_FLIPV,!1,B)}finally{this.model.endUpdate()}};Graph.prototype.deleteCells=function(u,A){var B=null;if(null!=u&&0<u.length){this.model.beginUpdate();
-try{for(var E=0;E<u.length;E++){var N=this.model.getParent(u[E]);if(this.isTable(N)){var Q=this.getCellGeometry(u[E]),T=this.getCellGeometry(N);null!=Q&&null!=T&&(T=T.clone(),T.height-=Q.height,this.model.setGeometry(N,T))}}var ia=this.selectParentAfterDelete?this.model.getParents(u):null;this.removeCells(u,A)}finally{this.model.endUpdate()}if(null!=ia)for(B=[],E=0;E<ia.length;E++)this.model.contains(ia[E])&&(this.model.isVertex(ia[E])||this.model.isEdge(ia[E]))&&B.push(ia[E])}return B};Graph.prototype.insertTableColumn=
-function(u,A){var B=this.getModel();B.beginUpdate();try{var E=u,N=0;if(this.isTableCell(u)){var Q=B.getParent(u);E=B.getParent(Q);N=mxUtils.indexOf(B.getChildCells(Q,!0),u)}else this.isTableRow(u)?E=B.getParent(u):u=B.getChildCells(E,!0)[0],A||(N=B.getChildCells(u,!0).length-1);var T=B.getChildCells(E,!0),ia=Graph.minTableColumnWidth;for(u=0;u<T.length;u++){var da=B.getChildCells(T[u],!0)[N],ha=B.cloneCell(da,!1);null==ha&&(ha=this.createVertex());var ua=this.getCellGeometry(ha);ha.value=null;ha.style=
-mxUtils.setStyle(mxUtils.setStyle(ha.style,"rowspan",null),"colspan",null);if(null!=ua){null!=ua.alternateBounds&&(ua.width=ua.alternateBounds.width,ua.height=ua.alternateBounds.height,ua.alternateBounds=null);ia=ua.width;var Ja=this.getCellGeometry(T[u]);null!=Ja&&(ua.height=Ja.height)}B.add(T[u],ha,N+(A?0:1))}var Ka=this.getCellGeometry(E);null!=Ka&&(Ka=Ka.clone(),Ka.width+=ia,B.setGeometry(E,Ka))}finally{B.endUpdate()}};Graph.prototype.deleteLane=function(u){var A=this.getModel();A.beginUpdate();
-try{var B=null;B="stackLayout"==this.getCurrentCellStyle(u).childLayout?u:A.getParent(u);var E=A.getChildCells(B,!0);0==E.length?A.remove(B):(B==u&&(u=E[E.length-1]),A.remove(u))}finally{A.endUpdate()}};Graph.prototype.insertLane=function(u,A){var B=this.getModel();B.beginUpdate();try{var E=null;if("stackLayout"==this.getCurrentCellStyle(u).childLayout){E=u;var N=B.getChildCells(E,!0);u=N[A?0:N.length-1]}else E=B.getParent(u);var Q=E.getIndex(u);u=B.cloneCell(u,!1);u.value=null;B.add(E,u,Q+(A?0:1))}finally{B.endUpdate()}};
-Graph.prototype.insertTableRow=function(u,A){var B=this.getModel();B.beginUpdate();try{var E=u,N=u;if(this.isTableCell(u))N=B.getParent(u),E=B.getParent(N);else if(this.isTableRow(u))E=B.getParent(u);else{var Q=B.getChildCells(E,!0);N=Q[A?0:Q.length-1]}var T=B.getChildCells(N,!0),ia=E.getIndex(N);N=B.cloneCell(N,!1);N.value=null;var da=this.getCellGeometry(N);if(null!=da){for(Q=0;Q<T.length;Q++){u=B.cloneCell(T[Q],!1);u.value=null;u.style=mxUtils.setStyle(mxUtils.setStyle(u.style,"rowspan",null),
-"colspan",null);var ha=this.getCellGeometry(u);null!=ha&&(null!=ha.alternateBounds&&(ha.width=ha.alternateBounds.width,ha.height=ha.alternateBounds.height,ha.alternateBounds=null),ha.height=da.height);N.insert(u)}B.add(E,N,ia+(A?0:1));var ua=this.getCellGeometry(E);null!=ua&&(ua=ua.clone(),ua.height+=da.height,B.setGeometry(E,ua))}}finally{B.endUpdate()}};Graph.prototype.deleteTableColumn=function(u){var A=this.getModel();A.beginUpdate();try{var B=u,E=u;this.isTableCell(u)&&(E=A.getParent(u));this.isTableRow(E)&&
-(B=A.getParent(E));var N=A.getChildCells(B,!0);if(0==N.length)A.remove(B);else{this.isTableRow(E)||(E=N[0]);var Q=A.getChildCells(E,!0);if(1>=Q.length)A.remove(B);else{var T=Q.length-1;this.isTableCell(u)&&(T=mxUtils.indexOf(Q,u));for(E=u=0;E<N.length;E++){var ia=A.getChildCells(N[E],!0)[T];A.remove(ia);var da=this.getCellGeometry(ia);null!=da&&(u=Math.max(u,da.width))}var ha=this.getCellGeometry(B);null!=ha&&(ha=ha.clone(),ha.width-=u,A.setGeometry(B,ha))}}}finally{A.endUpdate()}};Graph.prototype.deleteTableRow=
-function(u){var A=this.getModel();A.beginUpdate();try{var B=u,E=u;this.isTableCell(u)&&(u=E=A.getParent(u));this.isTableRow(u)&&(B=A.getParent(E));var N=A.getChildCells(B,!0);if(1>=N.length)A.remove(B);else{this.isTableRow(E)||(E=N[N.length-1]);A.remove(E);u=0;var Q=this.getCellGeometry(E);null!=Q&&(u=Q.height);var T=this.getCellGeometry(B);null!=T&&(T=T.clone(),T.height-=u,A.setGeometry(B,T))}}finally{A.endUpdate()}};Graph.prototype.insertRow=function(u,A){for(var B=u.tBodies[0],E=B.rows[0].cells,
-N=u=0;N<E.length;N++){var Q=E[N].getAttribute("colspan");u+=null!=Q?parseInt(Q):1}A=B.insertRow(A);for(N=0;N<u;N++)mxUtils.br(A.insertCell(-1));return A.cells[0]};Graph.prototype.deleteRow=function(u,A){u.tBodies[0].deleteRow(A)};Graph.prototype.insertColumn=function(u,A){var B=u.tHead;if(null!=B)for(var E=0;E<B.rows.length;E++){var N=document.createElement("th");B.rows[E].appendChild(N);mxUtils.br(N)}u=u.tBodies[0];for(B=0;B<u.rows.length;B++)E=u.rows[B].insertCell(A),mxUtils.br(E);return u.rows[0].cells[0<=
-A?A:u.rows[0].cells.length-1]};Graph.prototype.deleteColumn=function(u,A){if(0<=A){u=u.tBodies[0].rows;for(var B=0;B<u.length;B++)u[B].cells.length>A&&u[B].deleteCell(A)}};Graph.prototype.pasteHtmlAtCaret=function(u){if(window.getSelection){var A=window.getSelection();if(A.getRangeAt&&A.rangeCount){A=A.getRangeAt(0);A.deleteContents();var B=document.createElement("div");B.innerHTML=u;u=document.createDocumentFragment();for(var E;E=B.firstChild;)lastNode=u.appendChild(E);A.insertNode(u)}}else(A=document.selection)&&
-"Control"!=A.type&&A.createRange().pasteHTML(u)};Graph.prototype.createLinkForHint=function(u,A,B){function E(Q,T){Q.length>T&&(Q=Q.substring(0,Math.round(T/2))+"..."+Q.substring(Q.length-Math.round(T/4)));return Q}u=null!=u?u:"javascript:void(0);";if(null==A||0==A.length)A=this.isCustomLink(u)?this.getLinkTitle(u):u;var N=document.createElement("a");N.setAttribute("rel",this.linkRelation);N.setAttribute("href",this.getAbsoluteUrl(u));N.setAttribute("title",E(this.isCustomLink(u)?this.getLinkTitle(u):
-u,80));null!=this.linkTarget&&N.setAttribute("target",this.linkTarget);mxUtils.write(N,E(A,40));this.isCustomLink(u)&&mxEvent.addListener(N,"click",mxUtils.bind(this,function(Q){this.customLinkClicked(u,B);mxEvent.consume(Q)}));return N};Graph.prototype.initTouch=function(){this.connectionHandler.marker.isEnabled=function(){return null!=this.graph.connectionHandler.first};this.addListener(mxEvent.START_EDITING,function(Q,T){this.popupMenuHandler.hideMenu()});var u=this.updateMouseEvent;this.updateMouseEvent=
-function(Q){Q=u.apply(this,arguments);if(mxEvent.isTouchEvent(Q.getEvent())&&null==Q.getState()){var T=this.getCellAt(Q.graphX,Q.graphY);null!=T&&this.isSwimlane(T)&&this.hitsSwimlaneContent(T,Q.graphX,Q.graphY)||(Q.state=this.view.getState(T),null!=Q.state&&null!=Q.state.shape&&(this.container.style.cursor=Q.state.shape.node.style.cursor))}null==Q.getState()&&this.isEnabled()&&(this.container.style.cursor="default");return Q};var A=!1,B=!1,E=!1,N=this.fireMouseEvent;this.fireMouseEvent=function(Q,
-T,ia){Q==mxEvent.MOUSE_DOWN&&(T=this.updateMouseEvent(T),A=this.isCellSelected(T.getCell()),B=this.isSelectionEmpty(),E=this.popupMenuHandler.isMenuShowing());N.apply(this,arguments)};this.popupMenuHandler.mouseUp=mxUtils.bind(this,function(Q,T){if(null!=this.freehand&&!this.freehand.isDrawing()){var ia=mxEvent.isMouseEvent(T.getEvent());this.popupMenuHandler.popupTrigger=!this.isEditing()&&this.isEnabled()&&(null==T.getState()||!T.isSource(T.getState().control))&&(this.popupMenuHandler.popupTrigger||
-!E&&!ia&&(B&&null==T.getCell()&&this.isSelectionEmpty()||A&&this.isCellSelected(T.getCell())));ia=!A||ia?null:mxUtils.bind(this,function(da){window.setTimeout(mxUtils.bind(this,function(){if(!this.isEditing()){var ha=mxUtils.getScrollOrigin();this.popupMenuHandler.popup(T.getX()+ha.x+1,T.getY()+ha.y+1,da,T.getEvent())}}),300)});mxPopupMenuHandler.prototype.mouseUp.apply(this.popupMenuHandler,[Q,T,ia])}})};mxCellEditor.prototype.isContentEditing=function(){var u=this.graph.view.getState(this.editingCell);
-return null!=u&&1==u.style.html};mxCellEditor.prototype.isTableSelected=function(){return null!=this.graph.getParentByName(this.graph.getSelectedElement(),"TABLE",this.textarea)};mxCellEditor.prototype.isTextSelected=function(){var u="";window.getSelection?u=window.getSelection():document.getSelection?u=document.getSelection():document.selection&&(u=document.selection.createRange().text);return""!=u};mxCellEditor.prototype.insertTab=function(u){var A=this.textarea.ownerDocument.defaultView.getSelection(),
-B=A.getRangeAt(0);u=Graph.createTabNode(u);B.insertNode(u);B.setStartAfter(u);B.setEndAfter(u);A.removeAllRanges();A.addRange(B)};mxCellEditor.prototype.alignText=function(u,A){var B=this.graph.getView().getState(this.editingCell);if(null!=B){B=mxUtils.getValue(B.style,mxConstants.STYLE_TEXT_DIRECTION,mxConstants.DEFAULT_TEXT_DIRECTION);var E=null!=B&&"vertical-"==B.substring(0,9),N=null!=A&&mxEvent.isShiftDown(A);if(N||null!=window.getSelection&&null!=window.getSelection().containsNode){var Q=!0;
-this.graph.processElements(this.textarea,function(T){N||E||window.getSelection().containsNode(T,!0)?(T.removeAttribute("align"),T.style.textAlign=null):Q=!1});(Q||E)&&this.graph.cellEditor.setAlign(u)}E||document.execCommand("justify"+u.toLowerCase(),!1,null)}};mxCellEditor.prototype.saveSelection=function(){if(window.getSelection){var u=window.getSelection();if(u.getRangeAt&&u.rangeCount){for(var A=[],B=0,E=u.rangeCount;B<E;++B)A.push(u.getRangeAt(B));return A}}else if(document.selection&&document.selection.createRange)return document.selection.createRange();
-return null};mxCellEditor.prototype.restoreSelection=function(u){try{if(u)if(window.getSelection){sel=window.getSelection();sel.removeAllRanges();for(var A=0,B=u.length;A<B;++A)sel.addRange(u[A])}else document.selection&&u.select&&u.select()}catch(E){}};var G=mxCellRenderer.prototype.initializeLabel;mxCellRenderer.prototype.initializeLabel=function(u){null!=u.text&&(u.text.replaceLinefeeds="0"!=mxUtils.getValue(u.style,"nl2Br","1"));G.apply(this,arguments)};var K=mxConstraintHandler.prototype.update;
-mxConstraintHandler.prototype.update=function(u,A){this.isKeepFocusEvent(u)||!mxEvent.isAltDown(u.getEvent())?K.apply(this,arguments):this.reset()};mxGuide.prototype.createGuideShape=function(u){return new mxPolyline([],mxConstants.GUIDE_COLOR,mxConstants.GUIDE_STROKEWIDTH)};mxCellEditor.prototype.escapeCancelsEditing=!1;var I=mxCellEditor.prototype.startEditing;mxCellEditor.prototype.startEditing=function(u,A){u=this.graph.getStartEditingCell(u,A);I.apply(this,arguments);var B=this.graph.view.getState(u);
-this.textarea.className=null!=B&&1==B.style.html?"mxCellEditor geContentEditable":"mxCellEditor mxPlainTextEditor";this.codeViewMode=!1;this.switchSelectionState=null;this.graph.setSelectionCell(u)};mxCellEditor.prototype.toggleViewMode=function(){var u=this.graph.view.getState(this.editingCell);if(null!=u){var A=null!=u&&"0"!=mxUtils.getValue(u.style,"nl2Br","1"),B=this.saveSelection();if(this.codeViewMode){ia=mxUtils.extractTextWithWhitespace(this.textarea.childNodes);0<ia.length&&"\n"==ia.charAt(ia.length-
-1)&&(ia=ia.substring(0,ia.length-1));ia=Graph.sanitizeHtml(A?ia.replace(/\n/g,"<br/>"):ia,!0);this.textarea.className="mxCellEditor geContentEditable";da=mxUtils.getValue(u.style,mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE);A=mxUtils.getValue(u.style,mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY);var E=mxUtils.getValue(u.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_LEFT),N=(mxUtils.getValue(u.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD,
-Q=(mxUtils.getValue(u.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC,T=[];(mxUtils.getValue(u.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&T.push("underline");(mxUtils.getValue(u.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_STRIKETHROUGH)==mxConstants.FONT_STRIKETHROUGH&&T.push("line-through");this.textarea.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?Math.round(da*mxConstants.LINE_HEIGHT)+"px":
-mxConstants.LINE_HEIGHT;this.textarea.style.fontSize=Math.round(da)+"px";this.textarea.style.textDecoration=T.join(" ");this.textarea.style.fontWeight=N?"bold":"normal";this.textarea.style.fontStyle=Q?"italic":"";this.textarea.style.fontFamily=A;this.textarea.style.textAlign=E;this.textarea.style.padding="0px";this.textarea.innerHTML!=ia&&(this.textarea.innerHTML=ia,0==this.textarea.innerHTML.length&&(this.textarea.innerHTML=this.getEmptyLabelText(),this.clearOnChange=0<this.textarea.innerHTML.length));
-this.codeViewMode=!1}else{this.clearOnChange&&this.textarea.innerHTML==this.getEmptyLabelText()&&(this.clearOnChange=!1,this.textarea.innerText="");var ia=mxUtils.htmlEntities(this.textarea.innerHTML);8!=document.documentMode&&(ia=mxUtils.replaceTrailingNewlines(ia,"<div><br></div>"));ia=Graph.sanitizeHtml(A?ia.replace(/\n/g,"").replace(/&lt;br\s*.?&gt;/g,"<br>"):ia,!0);this.textarea.className="mxCellEditor mxPlainTextEditor";var da=mxConstants.DEFAULT_FONTSIZE;this.textarea.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?
-Math.round(da*mxConstants.LINE_HEIGHT)+"px":mxConstants.LINE_HEIGHT;this.textarea.style.fontSize=Math.round(da)+"px";this.textarea.style.textDecoration="";this.textarea.style.fontWeight="normal";this.textarea.style.fontStyle="";this.textarea.style.fontFamily=mxConstants.DEFAULT_FONTFAMILY;this.textarea.style.textAlign="left";this.textarea.style.width="";this.textarea.style.padding="2px";this.textarea.innerHTML!=ia&&(this.textarea.innerHTML=ia);this.codeViewMode=!0}this.textarea.focus();null!=this.switchSelectionState&&
-this.restoreSelection(this.switchSelectionState);this.switchSelectionState=B;this.resize()}};var O=mxCellEditor.prototype.resize;mxCellEditor.prototype.resize=function(u,A){if(null!=this.textarea)if(u=this.graph.getView().getState(this.editingCell),this.codeViewMode&&null!=u){var B=u.view.scale;this.bounds=mxRectangle.fromRectangle(u);if(0==this.bounds.width&&0==this.bounds.height){this.bounds.width=160*B;this.bounds.height=60*B;var E=null!=u.text?u.text.margin:null;null==E&&(E=mxUtils.getAlignmentAsPoint(mxUtils.getValue(u.style,
-mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER),mxUtils.getValue(u.style,mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE)));this.bounds.x+=E.x*this.bounds.width;this.bounds.y+=E.y*this.bounds.height}this.textarea.style.width=Math.round((this.bounds.width-4)/B)+"px";this.textarea.style.height=Math.round((this.bounds.height-4)/B)+"px";this.textarea.style.overflow="auto";this.textarea.clientHeight<this.textarea.offsetHeight&&(this.textarea.style.height=Math.round(this.bounds.height/B)+(this.textarea.offsetHeight-
-this.textarea.clientHeight)+"px",this.bounds.height=parseInt(this.textarea.style.height)*B);this.textarea.clientWidth<this.textarea.offsetWidth&&(this.textarea.style.width=Math.round(this.bounds.width/B)+(this.textarea.offsetWidth-this.textarea.clientWidth)+"px",this.bounds.width=parseInt(this.textarea.style.width)*B);this.textarea.style.left=Math.round(this.bounds.x)+"px";this.textarea.style.top=Math.round(this.bounds.y)+"px";mxUtils.setPrefixedStyle(this.textarea.style,"transform","scale("+B+","+
-B+")")}else this.textarea.style.height="",this.textarea.style.overflow="",O.apply(this,arguments)};mxCellEditorGetInitialValue=mxCellEditor.prototype.getInitialValue;mxCellEditor.prototype.getInitialValue=function(u,A){if("0"==mxUtils.getValue(u.style,"html","0"))return mxCellEditorGetInitialValue.apply(this,arguments);var B=this.graph.getEditingValue(u.cell,A);"1"==mxUtils.getValue(u.style,"nl2Br","1")&&(B=B.replace(/\n/g,"<br/>"));return B=Graph.sanitizeHtml(B,!0)};mxCellEditorGetCurrentValue=mxCellEditor.prototype.getCurrentValue;
-mxCellEditor.prototype.getCurrentValue=function(u){if("0"==mxUtils.getValue(u.style,"html","0"))return mxCellEditorGetCurrentValue.apply(this,arguments);var A=Graph.sanitizeHtml(this.textarea.innerHTML,!0);"1"==mxUtils.getValue(u.style,"nl2Br","1")?(A=A.replace(/\r\n/g,"<br/>").replace(/\n/g,"<br/>"),0<A.length&&("<br/>"==A.substring(A.length-5)||"<br>"==A.substring(A.length-4))&&(A=A.substring(0,A.lastIndexOf("<br"))+"<div><br/></div>")):A=A.replace(/\r\n/g,"").replace(/\n/g,"");return A};var H=
-mxCellEditor.prototype.stopEditing;mxCellEditor.prototype.stopEditing=function(u){this.codeViewMode&&this.toggleViewMode();H.apply(this,arguments);this.focusContainer()};mxCellEditor.prototype.focusContainer=function(){try{this.graph.container.focus()}catch(u){}};var Z=mxCellEditor.prototype.applyValue;mxCellEditor.prototype.applyValue=function(u,A){this.graph.getModel().beginUpdate();try{Z.apply(this,arguments),""==A&&this.graph.isCellDeletable(u.cell)&&0==this.graph.model.getChildCount(u.cell)&&
-this.graph.isTransparentState(u)&&this.graph.removeCells([u.cell],!1)}finally{this.graph.getModel().endUpdate()}};mxCellEditor.prototype.getBackgroundColor=function(u){u=mxUtils.getValue(u.style,mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,null);u==mxConstants.NONE&&(u=null);return u};mxCellEditor.prototype.getBorderColor=function(u){u=mxUtils.getValue(u.style,mxConstants.STYLE_LABEL_BORDERCOLOR,null);u==mxConstants.NONE&&(u=null);return u};mxCellEditor.prototype.getMinimumSize=function(u){var A=this.graph.getView().scale;
-return new mxRectangle(0,0,null==u.text?30:u.text.size*A+20,30)};mxGraphHandlerIsValidDropTarget=mxGraphHandler.prototype.isValidDropTarget;mxGraphHandler.prototype.isValidDropTarget=function(u,A){return mxGraphHandlerIsValidDropTarget.apply(this,arguments)&&!mxEvent.isAltDown(A.getEvent)};mxGraphView.prototype.formatUnitText=function(u){return u?b(u,this.unit):u};mxGraphHandler.prototype.updateHint=function(u){if(null!=this.pBounds&&(null!=this.shape||this.livePreviewActive)){null==this.hint&&(this.hint=
-a(),this.graph.container.appendChild(this.hint));var A=this.graph.view.translate,B=this.graph.view.scale;u=this.roundLength((this.bounds.x+this.currentDx)/B-A.x);A=this.roundLength((this.bounds.y+this.currentDy)/B-A.y);B=this.graph.view.unit;this.hint.innerHTML=b(u,B)+", "+b(A,B);this.hint.style.left=this.pBounds.x+this.currentDx+Math.round((this.pBounds.width-this.hint.clientWidth)/2)+"px";this.hint.style.top=this.pBounds.y+this.currentDy+this.pBounds.height+Editor.hintOffset+"px"}};mxGraphHandler.prototype.removeHint=
-function(){null!=this.hint&&(null!=this.hint.parentNode&&this.hint.parentNode.removeChild(this.hint),this.hint=null)};var S=mxStackLayout.prototype.resizeCell;mxStackLayout.prototype.resizeCell=function(u,A){S.apply(this,arguments);var B=this.graph.getCellStyle(u);if(null==B.childLayout){var E=this.graph.model.getParent(u),N=null!=E?this.graph.getCellGeometry(E):null;if(null!=N&&(B=this.graph.getCellStyle(E),"stackLayout"==B.childLayout)){var Q=parseFloat(mxUtils.getValue(B,"stackBorder",mxStackLayout.prototype.border));
-B="1"==mxUtils.getValue(B,"horizontalStack","1");var T=this.graph.getActualStartSize(E);N=N.clone();B?N.height=A.height+T.y+T.height+2*Q:N.width=A.width+T.x+T.width+2*Q;this.graph.model.setGeometry(E,N)}}};var X=mxSelectionCellsHandler.prototype.getHandledSelectionCells;mxSelectionCellsHandler.prototype.getHandledSelectionCells=function(){function u(ia){B.get(ia)||(B.put(ia,!0),N.push(ia))}for(var A=X.apply(this,arguments),B=new mxDictionary,E=this.graph.model,N=[],Q=0;Q<A.length;Q++){var T=A[Q];
-this.graph.isTableCell(T)?u(E.getParent(E.getParent(T))):this.graph.isTableRow(T)&&u(E.getParent(T));u(T)}return N};var Y=mxConnectionHandler.prototype.isStartEvent;mxConnectionHandler.prototype.isStartEvent=function(u){return Y.apply(this,arguments)&&!mxEvent.isControlDown(u.getEvent())&&!mxEvent.isShiftDown(u.getEvent())};var M=mxVertexHandler.prototype.isGhostPreview;mxVertexHandler.prototype.isGhostPreview=function(){return M.apply(this,arguments)&&!this.graph.isTable(this.state.cell)&&!this.graph.isTableRow(this.state.cell)&&
-!this.graph.isTableCell(this.state.cell)&&!this.graph.isSwimlane(this.state.cell)};var U=mxVertexHandler.prototype.createParentHighlightShape;mxVertexHandler.prototype.createParentHighlightShape=function(u){var A=U.apply(this,arguments);A.stroke="#C0C0C0";A.strokewidth=1;return A};var ba=mxEdgeHandler.prototype.createParentHighlightShape;mxEdgeHandler.prototype.createParentHighlightShape=function(u){var A=ba.apply(this,arguments);A.stroke="#C0C0C0";A.strokewidth=1;return A};mxVertexHandler.prototype.rotationHandleVSpacing=
--12;mxVertexHandler.prototype.getRotationHandlePosition=function(){var u=this.getHandlePadding();return new mxPoint(this.bounds.x+this.bounds.width-this.rotationHandleVSpacing+u.x/2,this.bounds.y+this.rotationHandleVSpacing-u.y/2)};mxVertexHandler.prototype.isRecursiveResize=function(u,A){return this.graph.isRecursiveVertexResize(u)&&!mxEvent.isAltDown(A.getEvent())};mxVertexHandler.prototype.isCenteredEvent=function(u,A){return mxEvent.isControlDown(A.getEvent())||mxEvent.isMetaDown(A.getEvent())};
-var ja=mxVertexHandler.prototype.isRotationHandleVisible;mxVertexHandler.prototype.isRotationHandleVisible=function(){return ja.apply(this,arguments)&&!this.graph.isTableCell(this.state.cell)&&!this.graph.isTableRow(this.state.cell)&&!this.graph.isTable(this.state.cell)};mxVertexHandler.prototype.getSizerBounds=function(){return this.graph.isTableCell(this.state.cell)?this.graph.view.getState(this.graph.model.getParent(this.graph.model.getParent(this.state.cell))):this.bounds};var pa=mxVertexHandler.prototype.isParentHighlightVisible;
-mxVertexHandler.prototype.isParentHighlightVisible=function(){return pa.apply(this,arguments)&&!this.graph.isTableCell(this.state.cell)&&!this.graph.isTableRow(this.state.cell)};var P=mxVertexHandler.prototype.isCustomHandleVisible;mxVertexHandler.prototype.isCustomHandleVisible=function(u){return u.tableHandle||P.apply(this,arguments)&&(!this.graph.isTable(this.state.cell)||this.graph.isCellSelected(this.state.cell))};mxVertexHandler.prototype.getSelectionBorderInset=function(){var u=0;this.graph.isTableRow(this.state.cell)?
-u=1:this.graph.isTableCell(this.state.cell)&&(u=2);return u};var W=mxVertexHandler.prototype.getSelectionBorderBounds;mxVertexHandler.prototype.getSelectionBorderBounds=function(){return W.apply(this,arguments).grow(-this.getSelectionBorderInset())};var V=null,ca=mxVertexHandler.prototype.createCustomHandles;mxVertexHandler.prototype.createCustomHandles=function(){null==V&&(V=mxCellRenderer.defaultShapes.tableLine);var u=ca.apply(this,arguments);if(this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell)){var A=
-function(Ba,wa,za){for(var Ya=[],Sa=0;Sa<Ba.length;Sa++){var La=Ba[Sa];Ya.push(null==La?null:new mxPoint((da+La.x+wa)*Q,(ha+La.y+za)*Q))}return Ya},B=this,E=this.graph,N=E.model,Q=E.view.scale,T=this.state,ia=this.selectionBorder,da=this.state.origin.x+E.view.translate.x,ha=this.state.origin.y+E.view.translate.y;null==u&&(u=[]);var ua=E.view.getCellStates(N.getChildCells(this.state.cell,!0));if(0<ua.length){var Ja=N.getChildCells(ua[0].cell,!0),Ka=E.getTableLines(this.state.cell,!1,!0),xa=E.getTableLines(this.state.cell,
-!0,!1);for(N=0;N<ua.length;N++)mxUtils.bind(this,function(Ba){var wa=ua[Ba],za=null;if(E.isCellMovable(wa.cell)){za=Ba<ua.length-1?ua[Ba+1]:null;za=null!=za?E.getCellGeometry(za.cell):null;var Ya=null!=za&&null!=za.alternateBounds?za.alternateBounds:za;za=null!=xa[Ba]?new V(xa[Ba],mxConstants.NONE,1):new mxLine(new mxRectangle,mxConstants.NONE,1,!1);za.isDashed=ia.isDashed;za.svgStrokeTolerance++;za=new mxHandle(wa,"row-resize",null,za);za.tableHandle=!0;var Sa=0;za.shape.node.parentNode.insertBefore(za.shape.node,
-za.shape.node.parentNode.firstChild);za.redraw=function(){if(null!=this.shape){this.shape.stroke=0==Sa?mxConstants.NONE:ia.stroke;if(this.shape.constructor==V)this.shape.line=A(xa[Ba],0,Sa),this.shape.updateBoundsFromLine();else{var Xa=E.getActualStartSize(T.cell,!0);this.shape.bounds.height=1;this.shape.bounds.y=this.state.y+this.state.height+Sa*Q;this.shape.bounds.x=T.x+(Ba==ua.length-1?0:Xa.x*Q);this.shape.bounds.width=T.width-(Ba==ua.length-1?0:Xa.width+Xa.x+Q)}this.shape.redraw()}};var La=!1;
-za.setPosition=function(Xa,Za,bb){Sa=Math.max(Graph.minTableRowHeight-Xa.height,Za.y-Xa.y-Xa.height);La=mxEvent.isShiftDown(bb.getEvent());null!=Ya&&La&&(Sa=Math.min(Sa,Ya.height-Graph.minTableRowHeight))};za.execute=function(Xa){if(0!=Sa)E.setTableRowHeight(this.state.cell,Sa,!La);else if(!B.blockDelayedSelection){var Za=E.getCellAt(Xa.getGraphX(),Xa.getGraphY())||T.cell;E.graphHandler.selectCellForEvent(Za,Xa)}Sa=0};za.reset=function(){Sa=0}}u.push(za)})(N);for(N=0;N<Ja.length;N++)mxUtils.bind(this,
-function(Ba){var wa=E.view.getState(Ja[Ba]),za=E.getCellGeometry(Ja[Ba]),Ya=null!=za.alternateBounds?za.alternateBounds:za;null==wa&&(wa=new mxCellState(E.view,Ja[Ba],E.getCellStyle(Ja[Ba])),wa.x=T.x+za.x*Q,wa.y=T.y+za.y*Q,wa.width=Ya.width*Q,wa.height=Ya.height*Q,wa.updateCachedBounds());za=Ba<Ja.length-1?Ja[Ba+1]:null;za=null!=za?E.getCellGeometry(za):null;var Sa=null!=za&&null!=za.alternateBounds?za.alternateBounds:za;za=null!=Ka[Ba]?new V(Ka[Ba],mxConstants.NONE,1):new mxLine(new mxRectangle,
-mxConstants.NONE,1,!0);za.isDashed=ia.isDashed;za.svgStrokeTolerance++;wa=new mxHandle(wa,"col-resize",null,za);wa.tableHandle=!0;var La=0;wa.shape.node.parentNode.insertBefore(wa.shape.node,wa.shape.node.parentNode.firstChild);wa.redraw=function(){if(null!=this.shape){this.shape.stroke=0==La?mxConstants.NONE:ia.stroke;if(this.shape.constructor==V)this.shape.line=A(Ka[Ba],La,0),this.shape.updateBoundsFromLine();else{var Za=E.getActualStartSize(T.cell,!0);this.shape.bounds.width=1;this.shape.bounds.x=
-this.state.x+(Ya.width+La)*Q;this.shape.bounds.y=T.y+(Ba==Ja.length-1?0:Za.y*Q);this.shape.bounds.height=T.height-(Ba==Ja.length-1?0:(Za.height+Za.y)*Q)}this.shape.redraw()}};var Xa=!1;wa.setPosition=function(Za,bb,jb){La=Math.max(Graph.minTableColumnWidth-Ya.width,bb.x-Za.x-Ya.width);Xa=mxEvent.isShiftDown(jb.getEvent());null==Sa||Xa||(La=Math.min(La,Sa.width-Graph.minTableColumnWidth))};wa.execute=function(Za){if(0!=La)E.setTableColumnWidth(this.state.cell,La,Xa);else if(!B.blockDelayedSelection){var bb=
-E.getCellAt(Za.getGraphX(),Za.getGraphY())||T.cell;E.graphHandler.selectCellForEvent(bb,Za)}La=0};wa.positionChanged=function(){};wa.reset=function(){La=0};u.push(wa)})(N)}}return null!=u?u.reverse():null};var ra=mxVertexHandler.prototype.setHandlesVisible;mxVertexHandler.prototype.setHandlesVisible=function(u){ra.apply(this,arguments);if(null!=this.moveHandles)for(var A=0;A<this.moveHandles.length;A++)null!=this.moveHandles[A]&&(this.moveHandles[A].node.style.visibility=u?"":"hidden");if(null!=this.cornerHandles)for(A=
-0;A<this.cornerHandles.length;A++)this.cornerHandles[A].node.style.visibility=u?"":"hidden"};mxVertexHandler.prototype.isMoveHandlesVisible=function(){return this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell)};mxVertexHandler.prototype.refreshMoveHandles=function(){var u=this.isMoveHandlesVisible();u&&null==this.moveHandles?this.moveHandles=this.createMoveHandles():u||null==this.moveHandles||this.destroyMoveHandles();if(u&&null==this.moveHandles){for(u=0;u<this.moveHandles.length;u++)null!=
-this.moveHandles[u]&&this.moveHandles[u].parentNode.removeChild(this.moveHandles[u]);this.moveHandles=null}};mxVertexHandler.prototype.createMoveHandles=function(){for(var u=this.graph,A=u.model,B=[],E=0;E<A.getChildCount(this.state.cell);E++)mxUtils.bind(this,function(N){if(null!=N&&A.isVertex(N.cell)&&u.isCellMovable(N.cell)){var Q=new mxRectangle(0,0,this.rowHandleImage.width,this.rowHandleImage.height);Q=new mxImageShape(Q,this.rowHandleImage.src);Q.rowState=N;Q.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?
-mxConstants.DIALECT_MIXEDHTML:mxConstants.DIALECT_SVG;Q.init(this.graph.getView().getOverlayPane());Q.node.style.cursor="move";mxEvent.addGestureListeners(Q.node,mxUtils.bind(this,function(T){this.graph.popupMenuHandler.hideMenu();this.graph.stopEditing(!1);!this.graph.isToggleEvent(T)&&this.graph.isCellSelected(N.cell)||this.graph.selectCellForEvent(N.cell,T);mxEvent.isPopupTrigger(T)||(this.graph.graphHandler.start(this.state.cell,mxEvent.getClientX(T),mxEvent.getClientY(T),this.graph.getSelectionCells()),
-this.graph.graphHandler.cellWasClicked=!0,this.graph.isMouseTrigger=mxEvent.isMouseEvent(T),this.graph.isMouseDown=!0);mxEvent.consume(T)}),null,mxUtils.bind(this,function(T){mxEvent.isPopupTrigger(T)&&(this.graph.popupMenuHandler.popup(mxEvent.getClientX(T),mxEvent.getClientY(T),N.cell,T),mxEvent.consume(T))}));B.push(Q)}else B.push(null)})(this.graph.view.getState(A.getChildAt(this.state.cell,E)));return B};mxVertexHandler.prototype.destroyMoveHandles=function(){if(null!=this.moveHandles){for(var u=
-0;u<this.moveHandles.length;u++)null!=this.moveHandles[u]&&this.moveHandles[u].destroy();this.moveHandles=null}};mxVertexHandler.prototype.destroyCornerHandles=function(){if(null!=this.cornerHandles){for(var u=0;u<this.cornerHandles.length;u++)null!=this.cornerHandles[u]&&null!=this.cornerHandles[u].node&&null!=this.cornerHandles[u].node.parentNode&&this.cornerHandles[u].node.parentNode.removeChild(this.cornerHandles[u].node);this.cornerHandles=null}};var oa=mxVertexHandler.prototype.refresh;mxVertexHandler.prototype.refresh=
-function(){oa.apply(this,arguments);this.destroyMoveHandles();this.destroyCornerHandles();if(this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell))this.refreshMoveHandles();else if(1==this.graph.getSelectionCount()&&this.graph.isCellMovable(this.state.cell)&&(this.graph.isTableCell(this.state.cell)||this.graph.isTableRow(this.state.cell))){this.cornerHandles=[];for(var u=0;4>u;u++){var A=new mxRectangleShape(new mxRectangle(0,0,6,6),"#ffffff",mxConstants.HANDLE_STROKECOLOR);
-A.dialect=mxConstants.DIALECT_SVG;A.init(this.graph.view.getOverlayPane());this.cornerHandles.push(A)}}this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell)&&this.refreshMoveHandles();u=this.graph.getLinkForCell(this.state.cell);A=this.graph.getLinksForState(this.state);this.updateLinkHint(u,A)};var L=mxVertexHandler.prototype.getHandlePadding;mxVertexHandler.prototype.getHandlePadding=function(){var u=new mxPoint(0,0),A=this.tolerance,B=this.state.style.shape;null==mxCellRenderer.defaultShapes[B]&&
-mxStencilRegistry.getStencil(B);B=this.graph.isTable(this.state.cell)||this.graph.cellEditor.getEditingCell()==this.state.cell;if(!B&&null!=this.customHandles)for(var E=0;E<this.customHandles.length;E++)if(null!=this.customHandles[E]&&null!=this.customHandles[E].shape&&null!=this.customHandles[E].shape.bounds){var N=this.customHandles[E].shape.bounds,Q=N.getCenterX(),T=N.getCenterY();if(Math.abs(this.state.x-Q)<N.width/2||Math.abs(this.state.y-T)<N.height/2||Math.abs(this.state.x+this.state.width-
-Q)<N.width/2||Math.abs(this.state.y+this.state.height-T)<N.height/2){B=!0;break}}B&&null!=this.sizers&&0<this.sizers.length&&null!=this.sizers[0]?(A/=2,this.graph.isTable(this.state.cell)&&(A+=7),u.x=this.sizers[0].bounds.width+A,u.y=this.sizers[0].bounds.height+A):u=L.apply(this,arguments);return u};mxVertexHandler.prototype.updateHint=function(u){if(this.index!=mxEvent.LABEL_HANDLE){null==this.hint&&(this.hint=a(),this.state.view.graph.container.appendChild(this.hint));if(this.index==mxEvent.ROTATION_HANDLE)this.hint.innerHTML=
-this.currentAlpha+"&deg;";else{u=this.state.view.scale;var A=this.state.view.unit;this.hint.innerHTML=b(this.roundLength(this.bounds.width/u),A)+" x "+b(this.roundLength(this.bounds.height/u),A)}u=mxUtils.getBoundingBox(this.bounds,null!=this.currentAlpha?this.currentAlpha:this.state.style[mxConstants.STYLE_ROTATION]||"0");null==u&&(u=this.bounds);this.hint.style.left=u.x+Math.round((u.width-this.hint.clientWidth)/2)+"px";this.hint.style.top=u.y+u.height+Editor.hintOffset+"px";null!=this.linkHint&&
-(this.linkHint.style.display="none")}};mxVertexHandler.prototype.removeHint=function(){mxGraphHandler.prototype.removeHint.apply(this,arguments);null!=this.linkHint&&(this.linkHint.style.display="")};var ea=mxEdgeHandler.prototype.refresh;mxEdgeHandler.prototype.refresh=function(){ea.apply(this,arguments);var u=this.graph.getLinkForCell(this.state.cell),A=this.graph.getLinksForState(this.state);this.updateLinkHint(u,A)};var sa=mxEdgeHandler.prototype.mouseMove;mxEdgeHandler.prototype.mouseMove=function(u,
-A){sa.apply(this,arguments);null!=this.linkHint&&"none"!=this.linkHint.style.display&&null!=this.graph.graphHandler&&null!=this.graph.graphHandler.first&&(this.linkHint.style.display="none")};var va=mxEdgeHandler.prototype.mouseUp;mxEdgeHandler.prototype.mouseUp=function(u,A){va.apply(this,arguments);null!=this.linkHint&&"none"==this.linkHint.style.display&&1==this.graph.getSelectionCount()&&(this.linkHint.style.display="")};mxEdgeHandler.prototype.updateHint=function(u,A,B){null==this.hint&&(this.hint=
-a(),this.state.view.graph.container.appendChild(this.hint));var E=this.graph.view.translate,N=this.graph.view.scale,Q=this.roundLength(A.x/N-E.x);E=this.roundLength(A.y/N-E.y);var T=this.graph.view.unit;this.hint.innerHTML=b(Q,T)+", "+b(E,T);this.hint.style.visibility="visible";null!=B&&(B.view.updateEdgeBounds(B),this.hint.innerHTML+=" ("+(T==mxConstants.POINTS?Math.round(B.length/N):b(B.length/N,T))+")");if(this.isSource||this.isTarget)null!=this.constraintHandler&&null!=this.constraintHandler.currentConstraint&&
-null!=this.constraintHandler.currentFocus?(B=this.constraintHandler.currentConstraint.point,this.hint.innerHTML="["+Math.round(100*B.x)+"%, "+Math.round(100*B.y)+"%]"):this.marker.hasValidState()&&(this.hint.style.visibility="hidden");this.hint.style.left=Math.round(u.getGraphX()-this.hint.clientWidth/2)+"px";this.hint.style.top=Math.max(u.getGraphY(),A.y)+Editor.hintOffset+"px";null!=this.linkHint&&(this.linkHint.style.display="none")};Graph.prototype.expandedImage=Graph.createSvgImage(9,9,'<defs><linearGradient id="grad1" x1="50%" y1="0%" x2="50%" y2="100%"><stop offset="30%" style="stop-color:#f0f0f0;" /><stop offset="100%" style="stop-color:#AFB0B6;" /></linearGradient></defs><rect x="0" y="0" width="9" height="9" stroke="#8A94A5" fill="url(#grad1)" stroke-width="2"/><path d="M 2 4.5 L 7 4.5 z" stroke="#000"/>');
+this.cellRenderer.minSvgStrokeWidth;u.pointerEvents=!0;return u};Graph.prototype.getSelectedElement=function(){var u=null;if(window.getSelection){var A=window.getSelection();A.getRangeAt&&A.rangeCount&&(u=A.getRangeAt(0).commonAncestorContainer)}else document.selection&&(u=document.selection.createRange().parentElement());return u};Graph.prototype.getSelectedEditingElement=function(){for(var u=this.getSelectedElement();null!=u&&u.nodeType!=mxConstants.NODETYPE_ELEMENT;)u=u.parentNode;null!=u&&u==
+this.cellEditor.textarea&&1==this.cellEditor.textarea.children.length&&this.cellEditor.textarea.firstChild.nodeType==mxConstants.NODETYPE_ELEMENT&&(u=this.cellEditor.textarea.firstChild);return u};Graph.prototype.getParentByName=function(u,A,B){for(;null!=u&&u.nodeName!=A;){if(u==B)return null;u=u.parentNode}return u};Graph.prototype.getParentByNames=function(u,A,B){for(;null!=u&&!(0<=mxUtils.indexOf(A,u.nodeName));){if(u==B)return null;u=u.parentNode}return u};Graph.prototype.selectNode=function(u){var A=
+null;if(window.getSelection){if(A=window.getSelection(),A.getRangeAt&&A.rangeCount){var B=document.createRange();B.selectNode(u);A.removeAllRanges();A.addRange(B)}}else(A=document.selection)&&"Control"!=A.type&&(u=A.createRange(),u.collapse(!0),B=A.createRange(),B.setEndPoint("StartToStart",u),B.select())};Graph.prototype.flipEdgePoints=function(u,A,B){var E=this.getCellGeometry(u);if(null!=E){E=E.clone();if(null!=E.points)for(var N=0;N<E.points.length;N++)A?E.points[N].x=B+(B-E.points[N].x):E.points[N].y=
+B+(B-E.points[N].y);N=function(Q){null!=Q&&(A?Q.x=B+(B-Q.x):Q.y=B+(B-Q.y))};N(E.getTerminalPoint(!0));N(E.getTerminalPoint(!1));this.model.setGeometry(u,E)}};Graph.prototype.flipChildren=function(u,A,B){this.model.beginUpdate();try{for(var E=this.model.getChildCount(u),N=0;N<E;N++){var Q=this.model.getChildAt(u,N);if(this.model.isEdge(Q))this.flipEdgePoints(Q,A,B);else{var W=this.getCellGeometry(Q);null!=W&&(W=W.clone(),A?W.x=B+(B-W.x-W.width):W.y=B+(B-W.y-W.height),this.model.setGeometry(Q,W))}}}finally{this.model.endUpdate()}};
+Graph.prototype.flipCells=function(u,A){this.model.beginUpdate();try{u=this.model.getTopmostCells(u);for(var B=[],E=0;E<u.length;E++)if(this.model.isEdge(u[E])){var N=this.view.getState(u[E]);null!=N&&this.flipEdgePoints(u[E],A,(A?N.getCenterX():N.getCenterY())/this.view.scale-(A?N.origin.x:N.origin.y)-(A?this.view.translate.x:this.view.translate.y))}else{var Q=this.getCellGeometry(u[E]);null!=Q&&this.flipChildren(u[E],A,A?Q.getCenterX()-Q.x:Q.getCenterY()-Q.y);B.push(u[E])}this.toggleCellStyles(A?
+mxConstants.STYLE_FLIPH:mxConstants.STYLE_FLIPV,!1,B)}finally{this.model.endUpdate()}};Graph.prototype.deleteCells=function(u,A){var B=null;if(null!=u&&0<u.length){this.model.beginUpdate();try{for(var E=0;E<u.length;E++){var N=this.model.getParent(u[E]);if(this.isTable(N)){var Q=this.getCellGeometry(u[E]),W=this.getCellGeometry(N);null!=Q&&null!=W&&(W=W.clone(),W.height-=Q.height,this.model.setGeometry(N,W))}}var ha=this.selectParentAfterDelete?this.model.getParents(u):null;this.removeCells(u,A)}finally{this.model.endUpdate()}if(null!=
+ha)for(B=[],E=0;E<ha.length;E++)this.model.contains(ha[E])&&(this.model.isVertex(ha[E])||this.model.isEdge(ha[E]))&&B.push(ha[E])}return B};Graph.prototype.insertTableColumn=function(u,A){var B=this.getModel();B.beginUpdate();try{var E=u,N=0;if(this.isTableCell(u)){var Q=B.getParent(u);E=B.getParent(Q);N=mxUtils.indexOf(B.getChildCells(Q,!0),u)}else this.isTableRow(u)?E=B.getParent(u):u=B.getChildCells(E,!0)[0],A||(N=B.getChildCells(u,!0).length-1);var W=B.getChildCells(E,!0),ha=Graph.minTableColumnWidth;
+for(u=0;u<W.length;u++){var fa=B.getChildCells(W[u],!0)[N],ia=B.cloneCell(fa,!1);null==ia&&(ia=this.createVertex());var ya=this.getCellGeometry(ia);ia.value=null;ia.style=mxUtils.setStyle(mxUtils.setStyle(ia.style,"rowspan",null),"colspan",null);if(null!=ya){null!=ya.alternateBounds&&(ya.width=ya.alternateBounds.width,ya.height=ya.alternateBounds.height,ya.alternateBounds=null);ha=ya.width;var xa=this.getCellGeometry(W[u]);null!=xa&&(ya.height=xa.height)}B.add(W[u],ia,N+(A?0:1))}var Da=this.getCellGeometry(E);
+null!=Da&&(Da=Da.clone(),Da.width+=ha,B.setGeometry(E,Da))}finally{B.endUpdate()}};Graph.prototype.deleteLane=function(u){var A=this.getModel();A.beginUpdate();try{var B=null;B="stackLayout"==this.getCurrentCellStyle(u).childLayout?u:A.getParent(u);var E=A.getChildCells(B,!0);0==E.length?A.remove(B):(B==u&&(u=E[E.length-1]),A.remove(u))}finally{A.endUpdate()}};Graph.prototype.insertLane=function(u,A){var B=this.getModel();B.beginUpdate();try{var E=null;if("stackLayout"==this.getCurrentCellStyle(u).childLayout){E=
+u;var N=B.getChildCells(E,!0);u=N[A?0:N.length-1]}else E=B.getParent(u);var Q=E.getIndex(u);u=B.cloneCell(u,!1);u.value=null;B.add(E,u,Q+(A?0:1))}finally{B.endUpdate()}};Graph.prototype.insertTableRow=function(u,A){var B=this.getModel();B.beginUpdate();try{var E=u,N=u;if(this.isTableCell(u))N=B.getParent(u),E=B.getParent(N);else if(this.isTableRow(u))E=B.getParent(u);else{var Q=B.getChildCells(E,!0);N=Q[A?0:Q.length-1]}var W=B.getChildCells(N,!0),ha=E.getIndex(N);N=B.cloneCell(N,!1);N.value=null;
+var fa=this.getCellGeometry(N);if(null!=fa){for(Q=0;Q<W.length;Q++){u=B.cloneCell(W[Q],!1);u.value=null;u.style=mxUtils.setStyle(mxUtils.setStyle(u.style,"rowspan",null),"colspan",null);var ia=this.getCellGeometry(u);null!=ia&&(null!=ia.alternateBounds&&(ia.width=ia.alternateBounds.width,ia.height=ia.alternateBounds.height,ia.alternateBounds=null),ia.height=fa.height);N.insert(u)}B.add(E,N,ha+(A?0:1));var ya=this.getCellGeometry(E);null!=ya&&(ya=ya.clone(),ya.height+=fa.height,B.setGeometry(E,ya))}}finally{B.endUpdate()}};
+Graph.prototype.deleteTableColumn=function(u){var A=this.getModel();A.beginUpdate();try{var B=u,E=u;this.isTableCell(u)&&(E=A.getParent(u));this.isTableRow(E)&&(B=A.getParent(E));var N=A.getChildCells(B,!0);if(0==N.length)A.remove(B);else{this.isTableRow(E)||(E=N[0]);var Q=A.getChildCells(E,!0);if(1>=Q.length)A.remove(B);else{var W=Q.length-1;this.isTableCell(u)&&(W=mxUtils.indexOf(Q,u));for(E=u=0;E<N.length;E++){var ha=A.getChildCells(N[E],!0)[W];A.remove(ha);var fa=this.getCellGeometry(ha);null!=
+fa&&(u=Math.max(u,fa.width))}var ia=this.getCellGeometry(B);null!=ia&&(ia=ia.clone(),ia.width-=u,A.setGeometry(B,ia))}}}finally{A.endUpdate()}};Graph.prototype.deleteTableRow=function(u){var A=this.getModel();A.beginUpdate();try{var B=u,E=u;this.isTableCell(u)&&(u=E=A.getParent(u));this.isTableRow(u)&&(B=A.getParent(E));var N=A.getChildCells(B,!0);if(1>=N.length)A.remove(B);else{this.isTableRow(E)||(E=N[N.length-1]);A.remove(E);u=0;var Q=this.getCellGeometry(E);null!=Q&&(u=Q.height);var W=this.getCellGeometry(B);
+null!=W&&(W=W.clone(),W.height-=u,A.setGeometry(B,W))}}finally{A.endUpdate()}};Graph.prototype.insertRow=function(u,A){for(var B=u.tBodies[0],E=B.rows[0].cells,N=u=0;N<E.length;N++){var Q=E[N].getAttribute("colspan");u+=null!=Q?parseInt(Q):1}A=B.insertRow(A);for(N=0;N<u;N++)mxUtils.br(A.insertCell(-1));return A.cells[0]};Graph.prototype.deleteRow=function(u,A){u.tBodies[0].deleteRow(A)};Graph.prototype.insertColumn=function(u,A){var B=u.tHead;if(null!=B)for(var E=0;E<B.rows.length;E++){var N=document.createElement("th");
+B.rows[E].appendChild(N);mxUtils.br(N)}u=u.tBodies[0];for(B=0;B<u.rows.length;B++)E=u.rows[B].insertCell(A),mxUtils.br(E);return u.rows[0].cells[0<=A?A:u.rows[0].cells.length-1]};Graph.prototype.deleteColumn=function(u,A){if(0<=A){u=u.tBodies[0].rows;for(var B=0;B<u.length;B++)u[B].cells.length>A&&u[B].deleteCell(A)}};Graph.prototype.pasteHtmlAtCaret=function(u){if(window.getSelection){var A=window.getSelection();if(A.getRangeAt&&A.rangeCount){A=A.getRangeAt(0);A.deleteContents();var B=document.createElement("div");
+B.innerHTML=u;u=document.createDocumentFragment();for(var E;E=B.firstChild;)lastNode=u.appendChild(E);A.insertNode(u)}}else(A=document.selection)&&"Control"!=A.type&&A.createRange().pasteHTML(u)};Graph.prototype.createLinkForHint=function(u,A,B){function E(Q,W){Q.length>W&&(Q=Q.substring(0,Math.round(W/2))+"..."+Q.substring(Q.length-Math.round(W/4)));return Q}u=null!=u?u:"javascript:void(0);";if(null==A||0==A.length)A=this.isCustomLink(u)?this.getLinkTitle(u):u;var N=document.createElement("a");N.setAttribute("rel",
+this.linkRelation);N.setAttribute("href",this.getAbsoluteUrl(u));N.setAttribute("title",E(this.isCustomLink(u)?this.getLinkTitle(u):u,80));null!=this.linkTarget&&N.setAttribute("target",this.linkTarget);mxUtils.write(N,E(A,40));this.isCustomLink(u)&&mxEvent.addListener(N,"click",mxUtils.bind(this,function(Q){this.customLinkClicked(u,B);mxEvent.consume(Q)}));return N};Graph.prototype.initTouch=function(){this.connectionHandler.marker.isEnabled=function(){return null!=this.graph.connectionHandler.first};
+this.addListener(mxEvent.START_EDITING,function(Q,W){this.popupMenuHandler.hideMenu()});var u=this.updateMouseEvent;this.updateMouseEvent=function(Q){Q=u.apply(this,arguments);if(mxEvent.isTouchEvent(Q.getEvent())&&null==Q.getState()){var W=this.getCellAt(Q.graphX,Q.graphY);null!=W&&this.isSwimlane(W)&&this.hitsSwimlaneContent(W,Q.graphX,Q.graphY)||(Q.state=this.view.getState(W),null!=Q.state&&null!=Q.state.shape&&(this.container.style.cursor=Q.state.shape.node.style.cursor))}null==Q.getState()&&
+this.isEnabled()&&(this.container.style.cursor="default");return Q};var A=!1,B=!1,E=!1,N=this.fireMouseEvent;this.fireMouseEvent=function(Q,W,ha){Q==mxEvent.MOUSE_DOWN&&(W=this.updateMouseEvent(W),A=this.isCellSelected(W.getCell()),B=this.isSelectionEmpty(),E=this.popupMenuHandler.isMenuShowing());N.apply(this,arguments)};this.popupMenuHandler.mouseUp=mxUtils.bind(this,function(Q,W){if(null!=this.freehand&&!this.freehand.isDrawing()){var ha=mxEvent.isMouseEvent(W.getEvent());this.popupMenuHandler.popupTrigger=
+!this.isEditing()&&this.isEnabled()&&(null==W.getState()||!W.isSource(W.getState().control))&&(this.popupMenuHandler.popupTrigger||!E&&!ha&&(B&&null==W.getCell()&&this.isSelectionEmpty()||A&&this.isCellSelected(W.getCell())));ha=!A||ha?null:mxUtils.bind(this,function(fa){window.setTimeout(mxUtils.bind(this,function(){if(!this.isEditing()){var ia=mxUtils.getScrollOrigin();this.popupMenuHandler.popup(W.getX()+ia.x+1,W.getY()+ia.y+1,fa,W.getEvent())}}),300)});mxPopupMenuHandler.prototype.mouseUp.apply(this.popupMenuHandler,
+[Q,W,ha])}})};mxCellEditor.prototype.isContentEditing=function(){var u=this.graph.view.getState(this.editingCell);return null!=u&&1==u.style.html};mxCellEditor.prototype.isTableSelected=function(){return null!=this.graph.getParentByName(this.graph.getSelectedElement(),"TABLE",this.textarea)};mxCellEditor.prototype.isTextSelected=function(){var u="";window.getSelection?u=window.getSelection():document.getSelection?u=document.getSelection():document.selection&&(u=document.selection.createRange().text);
+return""!=u};mxCellEditor.prototype.insertTab=function(u){var A=this.textarea.ownerDocument.defaultView.getSelection(),B=A.getRangeAt(0);u=Graph.createTabNode(u);B.insertNode(u);B.setStartAfter(u);B.setEndAfter(u);A.removeAllRanges();A.addRange(B)};mxCellEditor.prototype.alignText=function(u,A){var B=this.graph.getView().getState(this.editingCell);if(null!=B){B=mxUtils.getValue(B.style,mxConstants.STYLE_TEXT_DIRECTION,mxConstants.DEFAULT_TEXT_DIRECTION);var E=null!=B&&"vertical-"==B.substring(0,9),
+N=null!=A&&mxEvent.isShiftDown(A);if(N||null!=window.getSelection&&null!=window.getSelection().containsNode){var Q=!0;this.graph.processElements(this.textarea,function(W){N||E||window.getSelection().containsNode(W,!0)?(W.removeAttribute("align"),W.style.textAlign=null):Q=!1});(Q||E)&&this.graph.cellEditor.setAlign(u)}E||document.execCommand("justify"+u.toLowerCase(),!1,null)}};mxCellEditor.prototype.saveSelection=function(){if(window.getSelection){var u=window.getSelection();if(u.getRangeAt&&u.rangeCount){for(var A=
+[],B=0,E=u.rangeCount;B<E;++B)A.push(u.getRangeAt(B));return A}}else if(document.selection&&document.selection.createRange)return document.selection.createRange();return null};mxCellEditor.prototype.restoreSelection=function(u){try{if(u)if(window.getSelection){sel=window.getSelection();sel.removeAllRanges();for(var A=0,B=u.length;A<B;++A)sel.addRange(u[A])}else document.selection&&u.select&&u.select()}catch(E){}};var H=mxCellRenderer.prototype.initializeLabel;mxCellRenderer.prototype.initializeLabel=
+function(u){null!=u.text&&(u.text.replaceLinefeeds="0"!=mxUtils.getValue(u.style,"nl2Br","1"));H.apply(this,arguments)};var K=mxConstraintHandler.prototype.update;mxConstraintHandler.prototype.update=function(u,A){this.isKeepFocusEvent(u)||!mxEvent.isAltDown(u.getEvent())?K.apply(this,arguments):this.reset()};mxGuide.prototype.createGuideShape=function(u){return new mxPolyline([],mxConstants.GUIDE_COLOR,mxConstants.GUIDE_STROKEWIDTH)};mxCellEditor.prototype.escapeCancelsEditing=!1;var G=mxCellEditor.prototype.startEditing;
+mxCellEditor.prototype.startEditing=function(u,A){u=this.graph.getStartEditingCell(u,A);G.apply(this,arguments);var B=this.graph.view.getState(u);this.textarea.className=null!=B&&1==B.style.html?"mxCellEditor geContentEditable":"mxCellEditor mxPlainTextEditor";this.codeViewMode=!1;this.switchSelectionState=null;this.graph.setSelectionCell(u)};mxCellEditor.prototype.toggleViewMode=function(){var u=this.graph.view.getState(this.editingCell);if(null!=u){var A=null!=u&&"0"!=mxUtils.getValue(u.style,"nl2Br",
+"1"),B=this.saveSelection();if(this.codeViewMode){ha=mxUtils.extractTextWithWhitespace(this.textarea.childNodes);0<ha.length&&"\n"==ha.charAt(ha.length-1)&&(ha=ha.substring(0,ha.length-1));ha=Graph.sanitizeHtml(A?ha.replace(/\n/g,"<br/>"):ha,!0);this.textarea.className="mxCellEditor geContentEditable";fa=mxUtils.getValue(u.style,mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE);A=mxUtils.getValue(u.style,mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY);var E=mxUtils.getValue(u.style,
+mxConstants.STYLE_ALIGN,mxConstants.ALIGN_LEFT),N=(mxUtils.getValue(u.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD,Q=(mxUtils.getValue(u.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC,W=[];(mxUtils.getValue(u.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&W.push("underline");(mxUtils.getValue(u.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_STRIKETHROUGH)==mxConstants.FONT_STRIKETHROUGH&&
+W.push("line-through");this.textarea.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?Math.round(fa*mxConstants.LINE_HEIGHT)+"px":mxConstants.LINE_HEIGHT;this.textarea.style.fontSize=Math.round(fa)+"px";this.textarea.style.textDecoration=W.join(" ");this.textarea.style.fontWeight=N?"bold":"normal";this.textarea.style.fontStyle=Q?"italic":"";this.textarea.style.fontFamily=A;this.textarea.style.textAlign=E;this.textarea.style.padding="0px";this.textarea.innerHTML!=ha&&(this.textarea.innerHTML=ha,0==
+this.textarea.innerHTML.length&&(this.textarea.innerHTML=this.getEmptyLabelText(),this.clearOnChange=0<this.textarea.innerHTML.length));this.codeViewMode=!1}else{this.clearOnChange&&this.textarea.innerHTML==this.getEmptyLabelText()&&(this.clearOnChange=!1,this.textarea.innerText="");var ha=mxUtils.htmlEntities(this.textarea.innerHTML);8!=document.documentMode&&(ha=mxUtils.replaceTrailingNewlines(ha,"<div><br></div>"));ha=Graph.sanitizeHtml(A?ha.replace(/\n/g,"").replace(/&lt;br\s*.?&gt;/g,"<br>"):
+ha,!0);this.textarea.className="mxCellEditor mxPlainTextEditor";var fa=mxConstants.DEFAULT_FONTSIZE;this.textarea.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?Math.round(fa*mxConstants.LINE_HEIGHT)+"px":mxConstants.LINE_HEIGHT;this.textarea.style.fontSize=Math.round(fa)+"px";this.textarea.style.textDecoration="";this.textarea.style.fontWeight="normal";this.textarea.style.fontStyle="";this.textarea.style.fontFamily=mxConstants.DEFAULT_FONTFAMILY;this.textarea.style.textAlign="left";this.textarea.style.width=
+"";this.textarea.style.padding="2px";this.textarea.innerHTML!=ha&&(this.textarea.innerHTML=ha);this.codeViewMode=!0}this.textarea.focus();null!=this.switchSelectionState&&this.restoreSelection(this.switchSelectionState);this.switchSelectionState=B;this.resize()}};var P=mxCellEditor.prototype.resize;mxCellEditor.prototype.resize=function(u,A){if(null!=this.textarea)if(u=this.graph.getView().getState(this.editingCell),this.codeViewMode&&null!=u){var B=u.view.scale;this.bounds=mxRectangle.fromRectangle(u);
+if(0==this.bounds.width&&0==this.bounds.height){this.bounds.width=160*B;this.bounds.height=60*B;var E=null!=u.text?u.text.margin:null;null==E&&(E=mxUtils.getAlignmentAsPoint(mxUtils.getValue(u.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER),mxUtils.getValue(u.style,mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE)));this.bounds.x+=E.x*this.bounds.width;this.bounds.y+=E.y*this.bounds.height}this.textarea.style.width=Math.round((this.bounds.width-4)/B)+"px";this.textarea.style.height=
+Math.round((this.bounds.height-4)/B)+"px";this.textarea.style.overflow="auto";this.textarea.clientHeight<this.textarea.offsetHeight&&(this.textarea.style.height=Math.round(this.bounds.height/B)+(this.textarea.offsetHeight-this.textarea.clientHeight)+"px",this.bounds.height=parseInt(this.textarea.style.height)*B);this.textarea.clientWidth<this.textarea.offsetWidth&&(this.textarea.style.width=Math.round(this.bounds.width/B)+(this.textarea.offsetWidth-this.textarea.clientWidth)+"px",this.bounds.width=
+parseInt(this.textarea.style.width)*B);this.textarea.style.left=Math.round(this.bounds.x)+"px";this.textarea.style.top=Math.round(this.bounds.y)+"px";mxUtils.setPrefixedStyle(this.textarea.style,"transform","scale("+B+","+B+")")}else this.textarea.style.height="",this.textarea.style.overflow="",P.apply(this,arguments)};mxCellEditorGetInitialValue=mxCellEditor.prototype.getInitialValue;mxCellEditor.prototype.getInitialValue=function(u,A){if("0"==mxUtils.getValue(u.style,"html","0"))return mxCellEditorGetInitialValue.apply(this,
+arguments);var B=this.graph.getEditingValue(u.cell,A);"1"==mxUtils.getValue(u.style,"nl2Br","1")&&(B=B.replace(/\n/g,"<br/>"));return B=Graph.sanitizeHtml(B,!0)};mxCellEditorGetCurrentValue=mxCellEditor.prototype.getCurrentValue;mxCellEditor.prototype.getCurrentValue=function(u){if("0"==mxUtils.getValue(u.style,"html","0"))return mxCellEditorGetCurrentValue.apply(this,arguments);var A=Graph.sanitizeHtml(this.textarea.innerHTML,!0);"1"==mxUtils.getValue(u.style,"nl2Br","1")?(A=A.replace(/\r\n/g,"<br/>").replace(/\n/g,
+"<br/>"),0<A.length&&("<br/>"==A.substring(A.length-5)||"<br>"==A.substring(A.length-4))&&(A=A.substring(0,A.lastIndexOf("<br"))+"<div><br/></div>")):A=A.replace(/\r\n/g,"").replace(/\n/g,"");return A};var I=mxCellEditor.prototype.stopEditing;mxCellEditor.prototype.stopEditing=function(u){this.codeViewMode&&this.toggleViewMode();I.apply(this,arguments);this.focusContainer()};mxCellEditor.prototype.focusContainer=function(){try{this.graph.container.focus()}catch(u){}};var Z=mxCellEditor.prototype.applyValue;
+mxCellEditor.prototype.applyValue=function(u,A){this.graph.getModel().beginUpdate();try{Z.apply(this,arguments),""==A&&this.graph.isCellDeletable(u.cell)&&0==this.graph.model.getChildCount(u.cell)&&this.graph.isTransparentState(u)&&this.graph.removeCells([u.cell],!1)}finally{this.graph.getModel().endUpdate()}};mxCellEditor.prototype.getBackgroundColor=function(u){u=mxUtils.getValue(u.style,mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,null);u==mxConstants.NONE&&(u=null);return u};mxCellEditor.prototype.getBorderColor=
+function(u){u=mxUtils.getValue(u.style,mxConstants.STYLE_LABEL_BORDERCOLOR,null);u==mxConstants.NONE&&(u=null);return u};mxCellEditor.prototype.getMinimumSize=function(u){var A=this.graph.getView().scale;return new mxRectangle(0,0,null==u.text?30:u.text.size*A+20,30)};mxGraphHandlerIsValidDropTarget=mxGraphHandler.prototype.isValidDropTarget;mxGraphHandler.prototype.isValidDropTarget=function(u,A){return mxGraphHandlerIsValidDropTarget.apply(this,arguments)&&!mxEvent.isAltDown(A.getEvent)};mxGraphView.prototype.formatUnitText=
+function(u){return u?b(u,this.unit):u};mxGraphHandler.prototype.updateHint=function(u){if(null!=this.pBounds&&(null!=this.shape||this.livePreviewActive)){null==this.hint&&(this.hint=a(),this.graph.container.appendChild(this.hint));var A=this.graph.view.translate,B=this.graph.view.scale;u=this.roundLength((this.bounds.x+this.currentDx)/B-A.x);A=this.roundLength((this.bounds.y+this.currentDy)/B-A.y);B=this.graph.view.unit;this.hint.innerHTML=b(u,B)+", "+b(A,B);this.hint.style.left=this.pBounds.x+this.currentDx+
+Math.round((this.pBounds.width-this.hint.clientWidth)/2)+"px";this.hint.style.top=this.pBounds.y+this.currentDy+this.pBounds.height+Editor.hintOffset+"px"}};mxGraphHandler.prototype.removeHint=function(){null!=this.hint&&(null!=this.hint.parentNode&&this.hint.parentNode.removeChild(this.hint),this.hint=null)};var S=mxStackLayout.prototype.resizeCell;mxStackLayout.prototype.resizeCell=function(u,A){S.apply(this,arguments);var B=this.graph.getCellStyle(u);if(null==B.childLayout){var E=this.graph.model.getParent(u),
+N=null!=E?this.graph.getCellGeometry(E):null;if(null!=N&&(B=this.graph.getCellStyle(E),"stackLayout"==B.childLayout)){var Q=parseFloat(mxUtils.getValue(B,"stackBorder",mxStackLayout.prototype.border));B="1"==mxUtils.getValue(B,"horizontalStack","1");var W=this.graph.getActualStartSize(E);N=N.clone();B?N.height=A.height+W.y+W.height+2*Q:N.width=A.width+W.x+W.width+2*Q;this.graph.model.setGeometry(E,N)}}};var Y=mxSelectionCellsHandler.prototype.getHandledSelectionCells;mxSelectionCellsHandler.prototype.getHandledSelectionCells=
+function(){function u(ha){B.get(ha)||(B.put(ha,!0),N.push(ha))}for(var A=Y.apply(this,arguments),B=new mxDictionary,E=this.graph.model,N=[],Q=0;Q<A.length;Q++){var W=A[Q];this.graph.isTableCell(W)?u(E.getParent(E.getParent(W))):this.graph.isTableRow(W)&&u(E.getParent(W));u(W)}return N};var V=mxConnectionHandler.prototype.isStartEvent;mxConnectionHandler.prototype.isStartEvent=function(u){return V.apply(this,arguments)&&!mxEvent.isControlDown(u.getEvent())&&!mxEvent.isShiftDown(u.getEvent())};var L=
+mxVertexHandler.prototype.isGhostPreview;mxVertexHandler.prototype.isGhostPreview=function(){return L.apply(this,arguments)&&!this.graph.isTable(this.state.cell)&&!this.graph.isTableRow(this.state.cell)&&!this.graph.isTableCell(this.state.cell)&&!this.graph.isSwimlane(this.state.cell)};var U=mxVertexHandler.prototype.createParentHighlightShape;mxVertexHandler.prototype.createParentHighlightShape=function(u){var A=U.apply(this,arguments);A.stroke="#C0C0C0";A.strokewidth=1;return A};var ba=mxEdgeHandler.prototype.createParentHighlightShape;
+mxEdgeHandler.prototype.createParentHighlightShape=function(u){var A=ba.apply(this,arguments);A.stroke="#C0C0C0";A.strokewidth=1;return A};mxVertexHandler.prototype.rotationHandleVSpacing=-12;mxVertexHandler.prototype.getRotationHandlePosition=function(){var u=this.getHandlePadding();return new mxPoint(this.bounds.x+this.bounds.width-this.rotationHandleVSpacing+u.x/2,this.bounds.y+this.rotationHandleVSpacing-u.y/2)};mxVertexHandler.prototype.isRecursiveResize=function(u,A){return this.graph.isRecursiveVertexResize(u)&&
+!mxEvent.isAltDown(A.getEvent())};mxVertexHandler.prototype.isCenteredEvent=function(u,A){return mxEvent.isControlDown(A.getEvent())||mxEvent.isMetaDown(A.getEvent())};var ja=mxVertexHandler.prototype.isRotationHandleVisible;mxVertexHandler.prototype.isRotationHandleVisible=function(){return ja.apply(this,arguments)&&!this.graph.isTableCell(this.state.cell)&&!this.graph.isTableRow(this.state.cell)&&!this.graph.isTable(this.state.cell)};mxVertexHandler.prototype.getSizerBounds=function(){return this.graph.isTableCell(this.state.cell)?
+this.graph.view.getState(this.graph.model.getParent(this.graph.model.getParent(this.state.cell))):this.bounds};var sa=mxVertexHandler.prototype.isParentHighlightVisible;mxVertexHandler.prototype.isParentHighlightVisible=function(){return sa.apply(this,arguments)&&!this.graph.isTableCell(this.state.cell)&&!this.graph.isTableRow(this.state.cell)};var O=mxVertexHandler.prototype.isCustomHandleVisible;mxVertexHandler.prototype.isCustomHandleVisible=function(u){return u.tableHandle||O.apply(this,arguments)&&
+(!this.graph.isTable(this.state.cell)||this.graph.isCellSelected(this.state.cell))};mxVertexHandler.prototype.getSelectionBorderInset=function(){var u=0;this.graph.isTableRow(this.state.cell)?u=1:this.graph.isTableCell(this.state.cell)&&(u=2);return u};var T=mxVertexHandler.prototype.getSelectionBorderBounds;mxVertexHandler.prototype.getSelectionBorderBounds=function(){return T.apply(this,arguments).grow(-this.getSelectionBorderInset())};var X=null,ca=mxVertexHandler.prototype.createCustomHandles;
+mxVertexHandler.prototype.createCustomHandles=function(){null==X&&(X=mxCellRenderer.defaultShapes.tableLine);var u=ca.apply(this,arguments);if(this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell)){var A=function(Ma,Aa,va){for(var Ya=[],Ta=0;Ta<Ma.length;Ta++){var Ka=Ma[Ta];Ya.push(null==Ka?null:new mxPoint((fa+Ka.x+Aa)*Q,(ia+Ka.y+va)*Q))}return Ya},B=this,E=this.graph,N=E.model,Q=E.view.scale,W=this.state,ha=this.selectionBorder,fa=this.state.origin.x+E.view.translate.x,
+ia=this.state.origin.y+E.view.translate.y;null==u&&(u=[]);var ya=E.view.getCellStates(N.getChildCells(this.state.cell,!0));if(0<ya.length){var xa=N.getChildCells(ya[0].cell,!0),Da=E.getTableLines(this.state.cell,!1,!0),Oa=E.getTableLines(this.state.cell,!0,!1);for(N=0;N<ya.length;N++)mxUtils.bind(this,function(Ma){var Aa=ya[Ma],va=null;if(E.isCellMovable(Aa.cell)){va=Ma<ya.length-1?ya[Ma+1]:null;va=null!=va?E.getCellGeometry(va.cell):null;var Ya=null!=va&&null!=va.alternateBounds?va.alternateBounds:
+va;va=null!=Oa[Ma]?new X(Oa[Ma],mxConstants.NONE,1):new mxLine(new mxRectangle,mxConstants.NONE,1,!1);va.isDashed=ha.isDashed;va.svgStrokeTolerance++;va=new mxHandle(Aa,"row-resize",null,va);va.tableHandle=!0;var Ta=0;va.shape.node.parentNode.insertBefore(va.shape.node,va.shape.node.parentNode.firstChild);va.redraw=function(){if(null!=this.shape){this.shape.stroke=0==Ta?mxConstants.NONE:ha.stroke;if(this.shape.constructor==X)this.shape.line=A(Oa[Ma],0,Ta),this.shape.updateBoundsFromLine();else{var Wa=
+E.getActualStartSize(W.cell,!0);this.shape.bounds.height=1;this.shape.bounds.y=this.state.y+this.state.height+Ta*Q;this.shape.bounds.x=W.x+(Ma==ya.length-1?0:Wa.x*Q);this.shape.bounds.width=W.width-(Ma==ya.length-1?0:Wa.width+Wa.x+Q)}this.shape.redraw()}};var Ka=!1;va.setPosition=function(Wa,Xa,bb){Ta=Math.max(Graph.minTableRowHeight-Wa.height,Xa.y-Wa.y-Wa.height);Ka=mxEvent.isShiftDown(bb.getEvent());null!=Ya&&Ka&&(Ta=Math.min(Ta,Ya.height-Graph.minTableRowHeight))};va.execute=function(Wa){if(0!=
+Ta)E.setTableRowHeight(this.state.cell,Ta,!Ka);else if(!B.blockDelayedSelection){var Xa=E.getCellAt(Wa.getGraphX(),Wa.getGraphY())||W.cell;E.graphHandler.selectCellForEvent(Xa,Wa)}Ta=0};va.reset=function(){Ta=0}}u.push(va)})(N);for(N=0;N<xa.length;N++)mxUtils.bind(this,function(Ma){var Aa=E.view.getState(xa[Ma]),va=E.getCellGeometry(xa[Ma]),Ya=null!=va.alternateBounds?va.alternateBounds:va;null==Aa&&(Aa=new mxCellState(E.view,xa[Ma],E.getCellStyle(xa[Ma])),Aa.x=W.x+va.x*Q,Aa.y=W.y+va.y*Q,Aa.width=
+Ya.width*Q,Aa.height=Ya.height*Q,Aa.updateCachedBounds());va=Ma<xa.length-1?xa[Ma+1]:null;va=null!=va?E.getCellGeometry(va):null;var Ta=null!=va&&null!=va.alternateBounds?va.alternateBounds:va;va=null!=Da[Ma]?new X(Da[Ma],mxConstants.NONE,1):new mxLine(new mxRectangle,mxConstants.NONE,1,!0);va.isDashed=ha.isDashed;va.svgStrokeTolerance++;Aa=new mxHandle(Aa,"col-resize",null,va);Aa.tableHandle=!0;var Ka=0;Aa.shape.node.parentNode.insertBefore(Aa.shape.node,Aa.shape.node.parentNode.firstChild);Aa.redraw=
+function(){if(null!=this.shape){this.shape.stroke=0==Ka?mxConstants.NONE:ha.stroke;if(this.shape.constructor==X)this.shape.line=A(Da[Ma],Ka,0),this.shape.updateBoundsFromLine();else{var Xa=E.getActualStartSize(W.cell,!0);this.shape.bounds.width=1;this.shape.bounds.x=this.state.x+(Ya.width+Ka)*Q;this.shape.bounds.y=W.y+(Ma==xa.length-1?0:Xa.y*Q);this.shape.bounds.height=W.height-(Ma==xa.length-1?0:(Xa.height+Xa.y)*Q)}this.shape.redraw()}};var Wa=!1;Aa.setPosition=function(Xa,bb,ib){Ka=Math.max(Graph.minTableColumnWidth-
+Ya.width,bb.x-Xa.x-Ya.width);Wa=mxEvent.isShiftDown(ib.getEvent());null==Ta||Wa||(Ka=Math.min(Ka,Ta.width-Graph.minTableColumnWidth))};Aa.execute=function(Xa){if(0!=Ka)E.setTableColumnWidth(this.state.cell,Ka,Wa);else if(!B.blockDelayedSelection){var bb=E.getCellAt(Xa.getGraphX(),Xa.getGraphY())||W.cell;E.graphHandler.selectCellForEvent(bb,Xa)}Ka=0};Aa.positionChanged=function(){};Aa.reset=function(){Ka=0};u.push(Aa)})(N)}}return null!=u?u.reverse():null};var na=mxVertexHandler.prototype.setHandlesVisible;
+mxVertexHandler.prototype.setHandlesVisible=function(u){na.apply(this,arguments);if(null!=this.moveHandles)for(var A=0;A<this.moveHandles.length;A++)null!=this.moveHandles[A]&&(this.moveHandles[A].node.style.visibility=u?"":"hidden");if(null!=this.cornerHandles)for(A=0;A<this.cornerHandles.length;A++)this.cornerHandles[A].node.style.visibility=u?"":"hidden"};mxVertexHandler.prototype.isMoveHandlesVisible=function(){return this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell)};
+mxVertexHandler.prototype.refreshMoveHandles=function(){var u=this.isMoveHandlesVisible();u&&null==this.moveHandles?this.moveHandles=this.createMoveHandles():u||null==this.moveHandles||this.destroyMoveHandles();if(u&&null==this.moveHandles){for(u=0;u<this.moveHandles.length;u++)null!=this.moveHandles[u]&&this.moveHandles[u].parentNode.removeChild(this.moveHandles[u]);this.moveHandles=null}};mxVertexHandler.prototype.createMoveHandles=function(){for(var u=this.graph,A=u.model,B=[],E=0;E<A.getChildCount(this.state.cell);E++)mxUtils.bind(this,
+function(N){if(null!=N&&A.isVertex(N.cell)&&u.isCellMovable(N.cell)){var Q=new mxRectangle(0,0,this.rowHandleImage.width,this.rowHandleImage.height);Q=new mxImageShape(Q,this.rowHandleImage.src);Q.rowState=N;Q.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?mxConstants.DIALECT_MIXEDHTML:mxConstants.DIALECT_SVG;Q.init(this.graph.getView().getOverlayPane());Q.node.style.cursor="move";mxEvent.addGestureListeners(Q.node,mxUtils.bind(this,function(W){this.graph.popupMenuHandler.hideMenu();this.graph.stopEditing(!1);
+!this.graph.isToggleEvent(W)&&this.graph.isCellSelected(N.cell)||this.graph.selectCellForEvent(N.cell,W);mxEvent.isPopupTrigger(W)||(this.graph.graphHandler.start(this.state.cell,mxEvent.getClientX(W),mxEvent.getClientY(W),this.graph.getSelectionCells()),this.graph.graphHandler.cellWasClicked=!0,this.graph.isMouseTrigger=mxEvent.isMouseEvent(W),this.graph.isMouseDown=!0);mxEvent.consume(W)}),null,mxUtils.bind(this,function(W){mxEvent.isPopupTrigger(W)&&(this.graph.popupMenuHandler.popup(mxEvent.getClientX(W),
+mxEvent.getClientY(W),N.cell,W),mxEvent.consume(W))}));B.push(Q)}else B.push(null)})(this.graph.view.getState(A.getChildAt(this.state.cell,E)));return B};mxVertexHandler.prototype.destroyMoveHandles=function(){if(null!=this.moveHandles){for(var u=0;u<this.moveHandles.length;u++)null!=this.moveHandles[u]&&this.moveHandles[u].destroy();this.moveHandles=null}};mxVertexHandler.prototype.destroyCornerHandles=function(){if(null!=this.cornerHandles){for(var u=0;u<this.cornerHandles.length;u++)null!=this.cornerHandles[u]&&
+null!=this.cornerHandles[u].node&&null!=this.cornerHandles[u].node.parentNode&&this.cornerHandles[u].node.parentNode.removeChild(this.cornerHandles[u].node);this.cornerHandles=null}};var pa=mxVertexHandler.prototype.refresh;mxVertexHandler.prototype.refresh=function(){pa.apply(this,arguments);this.destroyMoveHandles();this.destroyCornerHandles();if(this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell))this.refreshMoveHandles();else if(1==this.graph.getSelectionCount()&&this.graph.isCellMovable(this.state.cell)&&
+(this.graph.isTableCell(this.state.cell)||this.graph.isTableRow(this.state.cell))){this.cornerHandles=[];for(var u=0;4>u;u++){var A=new mxRectangleShape(new mxRectangle(0,0,6,6),"#ffffff",mxConstants.HANDLE_STROKECOLOR);A.dialect=mxConstants.DIALECT_SVG;A.init(this.graph.view.getOverlayPane());this.cornerHandles.push(A)}}this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell)&&this.refreshMoveHandles();u=this.graph.getLinkForCell(this.state.cell);A=this.graph.getLinksForState(this.state);
+this.updateLinkHint(u,A)};var M=mxVertexHandler.prototype.getHandlePadding;mxVertexHandler.prototype.getHandlePadding=function(){var u=new mxPoint(0,0),A=this.tolerance,B=this.state.style.shape;null==mxCellRenderer.defaultShapes[B]&&mxStencilRegistry.getStencil(B);B=this.graph.isTable(this.state.cell)||this.graph.cellEditor.getEditingCell()==this.state.cell;if(!B&&null!=this.customHandles)for(var E=0;E<this.customHandles.length;E++)if(null!=this.customHandles[E]&&null!=this.customHandles[E].shape&&
+null!=this.customHandles[E].shape.bounds){var N=this.customHandles[E].shape.bounds,Q=N.getCenterX(),W=N.getCenterY();if(Math.abs(this.state.x-Q)<N.width/2||Math.abs(this.state.y-W)<N.height/2||Math.abs(this.state.x+this.state.width-Q)<N.width/2||Math.abs(this.state.y+this.state.height-W)<N.height/2){B=!0;break}}B&&null!=this.sizers&&0<this.sizers.length&&null!=this.sizers[0]?(A/=2,this.graph.isTable(this.state.cell)&&(A+=7),u.x=this.sizers[0].bounds.width+A,u.y=this.sizers[0].bounds.height+A):u=M.apply(this,
+arguments);return u};mxVertexHandler.prototype.updateHint=function(u){if(this.index!=mxEvent.LABEL_HANDLE){null==this.hint&&(this.hint=a(),this.state.view.graph.container.appendChild(this.hint));if(this.index==mxEvent.ROTATION_HANDLE)this.hint.innerHTML=this.currentAlpha+"&deg;";else{u=this.state.view.scale;var A=this.state.view.unit;this.hint.innerHTML=b(this.roundLength(this.bounds.width/u),A)+" x "+b(this.roundLength(this.bounds.height/u),A)}u=mxUtils.getBoundingBox(this.bounds,null!=this.currentAlpha?
+this.currentAlpha:this.state.style[mxConstants.STYLE_ROTATION]||"0");null==u&&(u=this.bounds);this.hint.style.left=u.x+Math.round((u.width-this.hint.clientWidth)/2)+"px";this.hint.style.top=u.y+u.height+Editor.hintOffset+"px";null!=this.linkHint&&(this.linkHint.style.display="none")}};mxVertexHandler.prototype.removeHint=function(){mxGraphHandler.prototype.removeHint.apply(this,arguments);null!=this.linkHint&&(this.linkHint.style.display="")};var ea=mxEdgeHandler.prototype.refresh;mxEdgeHandler.prototype.refresh=
+function(){ea.apply(this,arguments);var u=this.graph.getLinkForCell(this.state.cell),A=this.graph.getLinksForState(this.state);this.updateLinkHint(u,A)};var ra=mxEdgeHandler.prototype.mouseMove;mxEdgeHandler.prototype.mouseMove=function(u,A){ra.apply(this,arguments);null!=this.linkHint&&"none"!=this.linkHint.style.display&&null!=this.graph.graphHandler&&null!=this.graph.graphHandler.first&&(this.linkHint.style.display="none")};var ta=mxEdgeHandler.prototype.mouseUp;mxEdgeHandler.prototype.mouseUp=
+function(u,A){ta.apply(this,arguments);null!=this.linkHint&&"none"==this.linkHint.style.display&&1==this.graph.getSelectionCount()&&(this.linkHint.style.display="")};mxEdgeHandler.prototype.updateHint=function(u,A,B){null==this.hint&&(this.hint=a(),this.state.view.graph.container.appendChild(this.hint));var E=this.graph.view.translate,N=this.graph.view.scale,Q=this.roundLength(A.x/N-E.x);E=this.roundLength(A.y/N-E.y);var W=this.graph.view.unit;this.hint.innerHTML=b(Q,W)+", "+b(E,W);this.hint.style.visibility=
+"visible";null!=B&&(B.view.updateEdgeBounds(B),this.hint.innerHTML+=" ("+(W==mxConstants.POINTS?Math.round(B.length/N):b(B.length/N,W))+")");if(this.isSource||this.isTarget)null!=this.constraintHandler&&null!=this.constraintHandler.currentConstraint&&null!=this.constraintHandler.currentFocus?(B=this.constraintHandler.currentConstraint.point,this.hint.innerHTML="["+Math.round(100*B.x)+"%, "+Math.round(100*B.y)+"%]"):this.marker.hasValidState()&&(this.hint.style.visibility="hidden");this.hint.style.left=
+Math.round(u.getGraphX()-this.hint.clientWidth/2)+"px";this.hint.style.top=Math.max(u.getGraphY(),A.y)+Editor.hintOffset+"px";null!=this.linkHint&&(this.linkHint.style.display="none")};Graph.prototype.expandedImage=Graph.createSvgImage(9,9,'<defs><linearGradient id="grad1" x1="50%" y1="0%" x2="50%" y2="100%"><stop offset="30%" style="stop-color:#f0f0f0;" /><stop offset="100%" style="stop-color:#AFB0B6;" /></linearGradient></defs><rect x="0" y="0" width="9" height="9" stroke="#8A94A5" fill="url(#grad1)" stroke-width="2"/><path d="M 2 4.5 L 7 4.5 z" stroke="#000"/>');
Graph.prototype.collapsedImage=Graph.createSvgImage(9,9,'<defs><linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="30%" style="stop-color:#f0f0f0;" /><stop offset="100%" style="stop-color:#AFB0B6;" /></linearGradient></defs><rect x="0" y="0" width="9" height="9" stroke="#8A94A5" fill="url(#grad1)" stroke-width="2"/><path d="M 4.5 2 L 4.5 7 M 2 4.5 L 7 4.5 z" stroke="#000"/>');mxEdgeHandler.prototype.removeHint=mxVertexHandler.prototype.removeHint;HoverIcons.prototype.mainHandle=
Graph.createSvgImage(18,18,'<circle cx="9" cy="9" r="5" stroke="#fff" fill="'+HoverIcons.prototype.arrowFill+'"/>');HoverIcons.prototype.endMainHandle=Graph.createSvgImage(18,18,'<circle cx="9" cy="9" r="6" stroke="#fff" fill="'+HoverIcons.prototype.arrowFill+'"/>');HoverIcons.prototype.secondaryHandle=Graph.createSvgImage(16,16,'<path d="m 8 3 L 13 8 L 8 13 L 3 8 z" stroke="#fff" fill="#fca000"/>');HoverIcons.prototype.fixedHandle=Graph.createSvgImage(22,22,'<circle cx="11" cy="11" r="6" stroke="#fff" fill="#01bd22"/><path d="m 8 8 L 14 14M 8 14 L 14 8" stroke="#fff"/>');
HoverIcons.prototype.endFixedHandle=Graph.createSvgImage(22,22,'<circle cx="11" cy="11" r="7" stroke="#fff" fill="#01bd22"/><path d="m 8 8 L 14 14M 8 14 L 14 8" stroke="#fff"/>');HoverIcons.prototype.terminalHandle=Graph.createSvgImage(22,22,'<circle cx="11" cy="11" r="6" stroke="#fff" fill="'+HoverIcons.prototype.arrowFill+'"/><circle cx="11" cy="11" r="3" stroke="#fff" fill="transparent"/>');HoverIcons.prototype.endTerminalHandle=Graph.createSvgImage(22,22,'<circle cx="11" cy="11" r="7" stroke="#fff" fill="'+
@@ -2945,35 +2944,35 @@ HoverIcons.prototype.triangleDown,Sidebar.prototype.triangleLeft=HoverIcons.prot
function(u){return!mxEvent.isShiftDown(u.getEvent())};if(Graph.touchStyle){if(mxClient.IS_TOUCH||0<navigator.maxTouchPoints||0<navigator.msMaxTouchPoints)mxShape.prototype.svgStrokeTolerance=18,mxVertexHandler.prototype.tolerance=12,mxEdgeHandler.prototype.tolerance=12,Graph.prototype.tolerance=12,mxVertexHandler.prototype.rotationHandleVSpacing=-16,mxConstraintHandler.prototype.getTolerance=function(u){return mxEvent.isMouseEvent(u.getEvent())?4:this.graph.getTolerance()};mxPanningHandler.prototype.isPanningTrigger=
function(u){var A=u.getEvent();return null==u.getState()&&!mxEvent.isMouseEvent(A)||mxEvent.isPopupTrigger(A)&&(null==u.getState()||mxEvent.isControlDown(A)||mxEvent.isShiftDown(A))}}else mxPanningHandler.prototype.isPanningTrigger=function(u){var A=u.getEvent();return mxEvent.isLeftMouseButton(A)&&(this.useLeftButtonForPanning&&null==u.getState()||mxEvent.isControlDown(A)&&!mxEvent.isShiftDown(A))||this.usePopupTrigger&&mxEvent.isPopupTrigger(A)};mxRubberband.prototype.isSpaceEvent=function(u){return this.graph.isEnabled()&&
!this.graph.isCellLocked(this.graph.getDefaultParent())&&(mxEvent.isControlDown(u.getEvent())||mxEvent.isMetaDown(u.getEvent()))&&mxEvent.isShiftDown(u.getEvent())&&mxEvent.isAltDown(u.getEvent())};mxRubberband.prototype.cancelled=!1;mxRubberband.prototype.cancel=function(){this.isActive()&&(this.cancelled=!0,this.reset())};mxRubberband.prototype.mouseUp=function(u,A){if(this.cancelled)this.cancelled=!1,A.consume();else{var B=null!=this.div&&"none"!=this.div.style.display,E=null,N=null,Q=u=null;null!=
-this.first&&null!=this.currentX&&null!=this.currentY&&(E=this.first.x,N=this.first.y,u=(this.currentX-E)/this.graph.view.scale,Q=(this.currentY-N)/this.graph.view.scale,mxEvent.isAltDown(A.getEvent())||(u=this.graph.snap(u),Q=this.graph.snap(Q),this.graph.isGridEnabled()||(Math.abs(u)<this.graph.tolerance&&(u=0),Math.abs(Q)<this.graph.tolerance&&(Q=0))));this.reset();if(B){if(this.isSpaceEvent(A)){this.graph.model.beginUpdate();try{var T=this.graph.getCellsBeyond(E,N,this.graph.getDefaultParent(),
-!0,!0);for(B=0;B<T.length;B++)if(this.graph.isCellMovable(T[B])){var ia=this.graph.view.getState(T[B]),da=this.graph.getCellGeometry(T[B]);null!=ia&&null!=da&&(da=da.clone(),da.translate(u,Q),this.graph.model.setGeometry(T[B],da))}}finally{this.graph.model.endUpdate()}}else T=new mxRectangle(this.x,this.y,this.width,this.height),this.graph.selectRegion(T,A.getEvent());A.consume()}}};mxRubberband.prototype.mouseMove=function(u,A){if(!A.isConsumed()&&null!=this.first){var B=mxUtils.getScrollOrigin(this.graph.container);
+this.first&&null!=this.currentX&&null!=this.currentY&&(E=this.first.x,N=this.first.y,u=(this.currentX-E)/this.graph.view.scale,Q=(this.currentY-N)/this.graph.view.scale,mxEvent.isAltDown(A.getEvent())||(u=this.graph.snap(u),Q=this.graph.snap(Q),this.graph.isGridEnabled()||(Math.abs(u)<this.graph.tolerance&&(u=0),Math.abs(Q)<this.graph.tolerance&&(Q=0))));this.reset();if(B){if(this.isSpaceEvent(A)){this.graph.model.beginUpdate();try{var W=this.graph.getCellsBeyond(E,N,this.graph.getDefaultParent(),
+!0,!0);for(B=0;B<W.length;B++)if(this.graph.isCellMovable(W[B])){var ha=this.graph.view.getState(W[B]),fa=this.graph.getCellGeometry(W[B]);null!=ha&&null!=fa&&(fa=fa.clone(),fa.translate(u,Q),this.graph.model.setGeometry(W[B],fa))}}finally{this.graph.model.endUpdate()}}else W=new mxRectangle(this.x,this.y,this.width,this.height),this.graph.selectRegion(W,A.getEvent());A.consume()}}};mxRubberband.prototype.mouseMove=function(u,A){if(!A.isConsumed()&&null!=this.first){var B=mxUtils.getScrollOrigin(this.graph.container);
u=mxUtils.getOffset(this.graph.container);B.x-=u.x;B.y-=u.y;u=A.getX()+B.x;B=A.getY()+B.y;var E=this.first.x-u,N=this.first.y-B,Q=this.graph.tolerance;if(null!=this.div||Math.abs(E)>Q||Math.abs(N)>Q)null==this.div&&(this.div=this.createShape()),mxUtils.clearSelection(),this.update(u,B),this.isSpaceEvent(A)?(u=this.x+this.width,B=this.y+this.height,E=this.graph.view.scale,mxEvent.isAltDown(A.getEvent())||(this.width=this.graph.snap(this.width/E)*E,this.height=this.graph.snap(this.height/E)*E,this.graph.isGridEnabled()||
(this.width<this.graph.tolerance&&(this.width=0),this.height<this.graph.tolerance&&(this.height=0)),this.x<this.first.x&&(this.x=u-this.width),this.y<this.first.y&&(this.y=B-this.height)),this.div.style.borderStyle="dashed",this.div.style.backgroundColor="white",this.div.style.left=this.x+"px",this.div.style.top=this.y+"px",this.div.style.width=Math.max(0,this.width)+"px",this.div.style.height=this.graph.container.clientHeight+"px",this.div.style.borderWidth=0>=this.width?"0px 1px 0px 0px":"0px 1px 0px 1px",
null==this.secondDiv&&(this.secondDiv=this.div.cloneNode(!0),this.div.parentNode.appendChild(this.secondDiv)),this.secondDiv.style.left=this.x+"px",this.secondDiv.style.top=this.y+"px",this.secondDiv.style.width=this.graph.container.clientWidth+"px",this.secondDiv.style.height=Math.max(0,this.height)+"px",this.secondDiv.style.borderWidth=0>=this.height?"1px 0px 0px 0px":"1px 0px 1px 0px"):(this.div.style.backgroundColor="",this.div.style.borderWidth="",this.div.style.borderStyle="",null!=this.secondDiv&&
-(this.secondDiv.parentNode.removeChild(this.secondDiv),this.secondDiv=null)),A.consume()}};var Ua=mxRubberband.prototype.reset;mxRubberband.prototype.reset=function(){null!=this.secondDiv&&(this.secondDiv.parentNode.removeChild(this.secondDiv),this.secondDiv=null);Ua.apply(this,arguments)};var ma=(new Date).getTime(),Fa=0,Ia=mxEdgeHandler.prototype.updatePreviewState;mxEdgeHandler.prototype.updatePreviewState=function(u,A,B,E){Ia.apply(this,arguments);B!=this.currentTerminalState?(ma=(new Date).getTime(),
-Fa=0):Fa=(new Date).getTime()-ma;this.currentTerminalState=B};var Oa=mxEdgeHandler.prototype.isOutlineConnectEvent;mxEdgeHandler.prototype.isOutlineConnectEvent=function(u){return mxEvent.isShiftDown(u.getEvent())&&mxEvent.isAltDown(u.getEvent())?!1:null!=this.currentTerminalState&&u.getState()==this.currentTerminalState&&2E3<Fa||(null==this.currentTerminalState||"0"!=mxUtils.getValue(this.currentTerminalState.style,"outlineConnect","1"))&&Oa.apply(this,arguments)};mxEdgeHandler.prototype.createHandleShape=
+(this.secondDiv.parentNode.removeChild(this.secondDiv),this.secondDiv=null)),A.consume()}};var Sa=mxRubberband.prototype.reset;mxRubberband.prototype.reset=function(){null!=this.secondDiv&&(this.secondDiv.parentNode.removeChild(this.secondDiv),this.secondDiv=null);Sa.apply(this,arguments)};var ma=(new Date).getTime(),Fa=0,Ha=mxEdgeHandler.prototype.updatePreviewState;mxEdgeHandler.prototype.updatePreviewState=function(u,A,B,E){Ha.apply(this,arguments);B!=this.currentTerminalState?(ma=(new Date).getTime(),
+Fa=0):Fa=(new Date).getTime()-ma;this.currentTerminalState=B};var Na=mxEdgeHandler.prototype.isOutlineConnectEvent;mxEdgeHandler.prototype.isOutlineConnectEvent=function(u){return mxEvent.isShiftDown(u.getEvent())&&mxEvent.isAltDown(u.getEvent())?!1:null!=this.currentTerminalState&&u.getState()==this.currentTerminalState&&2E3<Fa||(null==this.currentTerminalState||"0"!=mxUtils.getValue(this.currentTerminalState.style,"outlineConnect","1"))&&Na.apply(this,arguments)};mxEdgeHandler.prototype.createHandleShape=
function(u,A,B){A=null!=u&&0==u;var E=this.state.getVisibleTerminalState(A);u=null!=u&&(0==u||u>=this.state.absolutePoints.length-1||this.constructor==mxElbowEdgeHandler&&2==u)?this.graph.getConnectionConstraint(this.state,E,A):null;B=null!=(null!=u?this.graph.getConnectionPoint(this.state.getVisibleTerminalState(A),u):null)?B?this.endFixedHandleImage:this.fixedHandleImage:null!=u&&null!=E?B?this.endTerminalHandleImage:this.terminalHandleImage:B?this.endHandleImage:this.handleImage;if(null!=B)return B=
-new mxImageShape(new mxRectangle(0,0,B.width,B.height),B.src),B.preserveImageAspect=!1,B;B=mxConstants.HANDLE_SIZE;this.preferHtml&&--B;return new mxRectangleShape(new mxRectangle(0,0,B,B),mxConstants.HANDLE_FILLCOLOR,mxConstants.HANDLE_STROKECOLOR)};var Ra=mxVertexHandler.prototype.createSizerShape;mxVertexHandler.prototype.createSizerShape=function(u,A,B,E){E=A==mxEvent.ROTATION_HANDLE?HoverIcons.prototype.rotationHandle:A==mxEvent.LABEL_HANDLE?this.secondaryHandleImage:E;return Ra.apply(this,arguments)};
-var Ma=mxGraphHandler.prototype.getBoundingBox;mxGraphHandler.prototype.getBoundingBox=function(u){if(null!=u&&1==u.length){var A=this.graph.getModel(),B=A.getParent(u[0]),E=this.graph.getCellGeometry(u[0]);if(A.isEdge(B)&&null!=E&&E.relative&&(A=this.graph.view.getState(u[0]),null!=A&&2>A.width&&2>A.height&&null!=A.text&&null!=A.text.boundingBox))return mxRectangle.fromRectangle(A.text.boundingBox)}return Ma.apply(this,arguments)};var Na=mxGraphHandler.prototype.getGuideStates;mxGraphHandler.prototype.getGuideStates=
-function(){for(var u=Na.apply(this,arguments),A=[],B=0;B<u.length;B++)"1"!=mxUtils.getValue(u[B].style,"part","0")&&A.push(u[B]);return A};var ta=mxVertexHandler.prototype.getSelectionBounds;mxVertexHandler.prototype.getSelectionBounds=function(u){var A=this.graph.getModel(),B=A.getParent(u.cell),E=this.graph.getCellGeometry(u.cell);return A.isEdge(B)&&null!=E&&E.relative&&2>u.width&&2>u.height&&null!=u.text&&null!=u.text.boundingBox?(A=u.text.unrotatedBoundingBox||u.text.boundingBox,new mxRectangle(Math.round(A.x),
-Math.round(A.y),Math.round(A.width),Math.round(A.height))):ta.apply(this,arguments)};var Pa=mxVertexHandler.prototype.mouseDown;mxVertexHandler.prototype.mouseDown=function(u,A){var B=this.graph.getModel(),E=B.getParent(this.state.cell),N=this.graph.getCellGeometry(this.state.cell);(this.getHandleForEvent(A)==mxEvent.ROTATION_HANDLE||!B.isEdge(E)||null==N||!N.relative||null==this.state||2<=this.state.width||2<=this.state.height)&&Pa.apply(this,arguments)};mxVertexHandler.prototype.rotateClick=function(){var u=
-mxUtils.getValue(this.state.style,mxConstants.STYLE_STROKECOLOR,mxConstants.NONE),A=mxUtils.getValue(this.state.style,mxConstants.STYLE_FILLCOLOR,mxConstants.NONE);this.state.view.graph.model.isVertex(this.state.cell)&&u==mxConstants.NONE&&A==mxConstants.NONE?(u=mxUtils.mod(mxUtils.getValue(this.state.style,mxConstants.STYLE_ROTATION,0)+90,360),this.state.view.graph.setCellStyles(mxConstants.STYLE_ROTATION,u,[this.state.cell])):this.state.view.graph.turnShapes([this.state.cell])};var $a=mxVertexHandler.prototype.mouseMove;
-mxVertexHandler.prototype.mouseMove=function(u,A){$a.apply(this,arguments);null!=this.graph.graphHandler.first&&(null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.style.display="none"),null!=this.linkHint&&"none"!=this.linkHint.style.display&&(this.linkHint.style.display="none"))};var gb=mxVertexHandler.prototype.mouseUp;mxVertexHandler.prototype.mouseUp=function(u,A){gb.apply(this,arguments);null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.style.display=
+new mxImageShape(new mxRectangle(0,0,B.width,B.height),B.src),B.preserveImageAspect=!1,B;B=mxConstants.HANDLE_SIZE;this.preferHtml&&--B;return new mxRectangleShape(new mxRectangle(0,0,B,B),mxConstants.HANDLE_FILLCOLOR,mxConstants.HANDLE_STROKECOLOR)};var Qa=mxVertexHandler.prototype.createSizerShape;mxVertexHandler.prototype.createSizerShape=function(u,A,B,E){E=A==mxEvent.ROTATION_HANDLE?HoverIcons.prototype.rotationHandle:A==mxEvent.LABEL_HANDLE?this.secondaryHandleImage:E;return Qa.apply(this,arguments)};
+var La=mxGraphHandler.prototype.getBoundingBox;mxGraphHandler.prototype.getBoundingBox=function(u){if(null!=u&&1==u.length){var A=this.graph.getModel(),B=A.getParent(u[0]),E=this.graph.getCellGeometry(u[0]);if(A.isEdge(B)&&null!=E&&E.relative&&(A=this.graph.view.getState(u[0]),null!=A&&2>A.width&&2>A.height&&null!=A.text&&null!=A.text.boundingBox))return mxRectangle.fromRectangle(A.text.boundingBox)}return La.apply(this,arguments)};var Ja=mxGraphHandler.prototype.getGuideStates;mxGraphHandler.prototype.getGuideStates=
+function(){for(var u=Ja.apply(this,arguments),A=[],B=0;B<u.length;B++)"1"!=mxUtils.getValue(u[B].style,"part","0")&&A.push(u[B]);return A};var ua=mxVertexHandler.prototype.getSelectionBounds;mxVertexHandler.prototype.getSelectionBounds=function(u){var A=this.graph.getModel(),B=A.getParent(u.cell),E=this.graph.getCellGeometry(u.cell);return A.isEdge(B)&&null!=E&&E.relative&&2>u.width&&2>u.height&&null!=u.text&&null!=u.text.boundingBox?(A=u.text.unrotatedBoundingBox||u.text.boundingBox,new mxRectangle(Math.round(A.x),
+Math.round(A.y),Math.round(A.width),Math.round(A.height))):ua.apply(this,arguments)};var Ia=mxVertexHandler.prototype.mouseDown;mxVertexHandler.prototype.mouseDown=function(u,A){var B=this.graph.getModel(),E=B.getParent(this.state.cell),N=this.graph.getCellGeometry(this.state.cell);(this.getHandleForEvent(A)==mxEvent.ROTATION_HANDLE||!B.isEdge(E)||null==N||!N.relative||null==this.state||2<=this.state.width||2<=this.state.height)&&Ia.apply(this,arguments)};mxVertexHandler.prototype.rotateClick=function(){var u=
+mxUtils.getValue(this.state.style,mxConstants.STYLE_STROKECOLOR,mxConstants.NONE),A=mxUtils.getValue(this.state.style,mxConstants.STYLE_FILLCOLOR,mxConstants.NONE);this.state.view.graph.model.isVertex(this.state.cell)&&u==mxConstants.NONE&&A==mxConstants.NONE?(u=mxUtils.mod(mxUtils.getValue(this.state.style,mxConstants.STYLE_ROTATION,0)+90,360),this.state.view.graph.setCellStyles(mxConstants.STYLE_ROTATION,u,[this.state.cell])):this.state.view.graph.turnShapes([this.state.cell])};var Za=mxVertexHandler.prototype.mouseMove;
+mxVertexHandler.prototype.mouseMove=function(u,A){Za.apply(this,arguments);null!=this.graph.graphHandler.first&&(null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.style.display="none"),null!=this.linkHint&&"none"!=this.linkHint.style.display&&(this.linkHint.style.display="none"))};var gb=mxVertexHandler.prototype.mouseUp;mxVertexHandler.prototype.mouseUp=function(u,A){gb.apply(this,arguments);null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.style.display=
1==this.graph.getSelectionCount()?"":"none");null!=this.linkHint&&"none"==this.linkHint.style.display&&1==this.graph.getSelectionCount()&&(this.linkHint.style.display="");this.blockDelayedSelection=null};mxVertexHandler.prototype.updateLinkHint=function(u,A){try{if(null==u&&(null==A||0==A.length))null!=this.linkHint&&(this.linkHint.parentNode.removeChild(this.linkHint),this.linkHint=null);else if(null!=u||null!=A&&0<A.length){var B=document.createElement("img");B.className="geAdaptiveAsset";B.setAttribute("src",
Editor.editImage);B.setAttribute("title",mxResources.get("editLink"));B.setAttribute("width","14");B.setAttribute("height","14");B.style.paddingLeft="8px";B.style.marginLeft="auto";B.style.marginBottom="-1px";B.style.cursor="pointer";var E=B.cloneNode(!0);E.setAttribute("src",Editor.trashImage);E.setAttribute("title",mxResources.get("removeIt",[mxResources.get("link")]));E.style.paddingLeft="4px";E.style.marginLeft="0";null==this.linkHint&&(this.linkHint=a(),mxUtils.setPrefixedStyle(this.linkHint.style,
"transform","translate(-50%,0)"),this.linkHint.style.padding="6px 8px 6px 8px",this.linkHint.style.opacity="1",this.linkHint.style.filter="",this.graph.container.appendChild(this.linkHint),mxEvent.addListener(this.linkHint,"mouseenter",mxUtils.bind(this,function(){this.graph.tooltipHandler.hide()})));this.linkHint.innerText="";if(null!=u){var N=document.createElement("div");N.style.display="flex";N.style.alignItems="center";N.appendChild(this.graph.createLinkForHint(u,null,this.state.cell));this.linkHint.appendChild(N);
-if(this.graph.isEnabled()&&"function"===typeof this.graph.editLink&&!this.graph.isCellLocked(this.state.cell)){var Q=B.cloneNode(!0);N.appendChild(Q);mxEvent.addListener(Q,"click",mxUtils.bind(this,function(ia){this.graph.setSelectionCell(this.state.cell);this.graph.editLink();mxEvent.consume(ia)}));var T=E.cloneNode(!0);N.appendChild(T);mxEvent.addListener(T,"click",mxUtils.bind(this,function(ia){this.graph.setLinkForCell(this.state.cell,null);mxEvent.consume(ia)}))}}if(null!=A)for(N=0;N<A.length;N++)mxUtils.bind(this,
-function(ia,da){var ha=document.createElement("div");ha.style.display="flex";ha.style.alignItems="center";ha.style.marginTop=null!=u||0<da?"6px":"0px";ha.appendChild(this.graph.createLinkForHint(ia.getAttribute("href"),mxUtils.getTextContent(ia),this.state.cell));var ua=B.cloneNode(!0);ha.appendChild(ua);var Ja=mxUtils.bind(this,function(Ka){var xa=document.createElement("div");xa.innerHTML=Graph.sanitizeHtml(this.graph.getLabel(this.state.cell));var Ba=xa.getElementsByTagName("a")[da];if(null!=Ba){if(null==
-Ka||""==Ka){for(Ka=Ba.cloneNode(!0).firstChild;null!=Ka;)Ba.parentNode.insertBefore(Ka.cloneNode(!0),Ba),Ka=Ka.nextSibling;Ba.parentNode.removeChild(Ba)}else Ba.setAttribute("href",Ka);this.graph.labelChanged(this.state.cell,xa.innerHTML)}});mxEvent.addListener(ua,"click",mxUtils.bind(this,function(Ka){this.graph.showLinkDialog(ia.getAttribute("href")||"",mxResources.get("ok"),Ja);mxEvent.consume(Ka)}));ua=E.cloneNode(!0);ha.appendChild(ua);mxEvent.addListener(ua,"click",mxUtils.bind(this,function(Ka){Ja();
-mxEvent.consume(Ka)}));this.linkHint.appendChild(ha)})(A[N],N)}null!=this.linkHint&&Graph.sanitizeNode(this.linkHint)}catch(ia){}};mxEdgeHandler.prototype.updateLinkHint=mxVertexHandler.prototype.updateLinkHint;var cb=mxEdgeHandler.prototype.createConstraintHandler;mxEdgeHandler.prototype.createConstraintHandler=function(){var u=cb.apply(this,arguments);u.isEnabled=mxUtils.bind(this,function(){return this.state.view.graph.connectionHandler.isEnabled()});return u};var hb=mxConnectionHandler.prototype.init;
-mxConnectionHandler.prototype.init=function(){hb.apply(this,arguments);this.constraintHandler.isEnabled=mxUtils.bind(this,function(){return this.graph.connectionHandler.isEnabled()})};var ib=mxVertexHandler.prototype.redrawHandles;mxVertexHandler.prototype.redrawHandles=function(){if(null!=this.moveHandles)for(var u=0;u<this.moveHandles.length;u++)null!=this.moveHandles[u]&&(this.moveHandles[u].bounds.x=Math.round(this.moveHandles[u].rowState.x+this.moveHandles[u].rowState.width-this.moveHandles[u].bounds.width/
+if(this.graph.isEnabled()&&"function"===typeof this.graph.editLink&&!this.graph.isCellLocked(this.state.cell)){var Q=B.cloneNode(!0);N.appendChild(Q);mxEvent.addListener(Q,"click",mxUtils.bind(this,function(ha){this.graph.setSelectionCell(this.state.cell);this.graph.editLink();mxEvent.consume(ha)}));var W=E.cloneNode(!0);N.appendChild(W);mxEvent.addListener(W,"click",mxUtils.bind(this,function(ha){this.graph.setLinkForCell(this.state.cell,null);mxEvent.consume(ha)}))}}if(null!=A)for(N=0;N<A.length;N++)mxUtils.bind(this,
+function(ha,fa){var ia=document.createElement("div");ia.style.display="flex";ia.style.alignItems="center";ia.style.marginTop=null!=u||0<fa?"6px":"0px";ia.appendChild(this.graph.createLinkForHint(ha.getAttribute("href"),mxUtils.getTextContent(ha),this.state.cell));var ya=B.cloneNode(!0);ia.appendChild(ya);var xa=mxUtils.bind(this,function(Da){var Oa=document.createElement("div");Oa.innerHTML=Graph.sanitizeHtml(this.graph.getLabel(this.state.cell));var Ma=Oa.getElementsByTagName("a")[fa];if(null!=Ma){if(null==
+Da||""==Da){for(Da=Ma.cloneNode(!0).firstChild;null!=Da;)Ma.parentNode.insertBefore(Da.cloneNode(!0),Ma),Da=Da.nextSibling;Ma.parentNode.removeChild(Ma)}else Ma.setAttribute("href",Da);this.graph.labelChanged(this.state.cell,Oa.innerHTML)}});mxEvent.addListener(ya,"click",mxUtils.bind(this,function(Da){this.graph.showLinkDialog(ha.getAttribute("href")||"",mxResources.get("ok"),xa);mxEvent.consume(Da)}));ya=E.cloneNode(!0);ia.appendChild(ya);mxEvent.addListener(ya,"click",mxUtils.bind(this,function(Da){xa();
+mxEvent.consume(Da)}));this.linkHint.appendChild(ia)})(A[N],N)}null!=this.linkHint&&Graph.sanitizeNode(this.linkHint)}catch(ha){}};mxEdgeHandler.prototype.updateLinkHint=mxVertexHandler.prototype.updateLinkHint;var db=mxEdgeHandler.prototype.createConstraintHandler;mxEdgeHandler.prototype.createConstraintHandler=function(){var u=db.apply(this,arguments);u.isEnabled=mxUtils.bind(this,function(){return this.state.view.graph.connectionHandler.isEnabled()});return u};var hb=mxConnectionHandler.prototype.init;
+mxConnectionHandler.prototype.init=function(){hb.apply(this,arguments);this.constraintHandler.isEnabled=mxUtils.bind(this,function(){return this.graph.connectionHandler.isEnabled()})};var ob=mxVertexHandler.prototype.redrawHandles;mxVertexHandler.prototype.redrawHandles=function(){if(null!=this.moveHandles)for(var u=0;u<this.moveHandles.length;u++)null!=this.moveHandles[u]&&(this.moveHandles[u].bounds.x=Math.round(this.moveHandles[u].rowState.x+this.moveHandles[u].rowState.width-this.moveHandles[u].bounds.width/
2),this.moveHandles[u].bounds.y=Math.round(this.moveHandles[u].rowState.y+(this.moveHandles[u].rowState.height-this.moveHandles[u].bounds.height)/2),this.moveHandles[u].redraw());if(null!=this.cornerHandles){u=this.getSelectionBorderInset();var A=this.cornerHandles,B=A[0].bounds.height/2;A[0].bounds.x=this.state.x-A[0].bounds.width/2+u;A[0].bounds.y=this.state.y-B+u;A[0].redraw();A[1].bounds.x=A[0].bounds.x+this.state.width-2*u;A[1].bounds.y=A[0].bounds.y;A[1].redraw();A[2].bounds.x=A[0].bounds.x;
A[2].bounds.y=this.state.y+this.state.height-2*u;A[2].redraw();A[3].bounds.x=A[1].bounds.x;A[3].bounds.y=A[2].bounds.y;A[3].redraw();for(u=0;u<this.cornerHandles.length;u++)this.cornerHandles[u].node.style.display=1==this.graph.getSelectionCount()?"":"none"}null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.setAttribute("title",mxResources.get("rotateTooltip")),this.rotationShape.node.style.display=null!=this.moveHandles||1!=this.graph.getSelectionCount()||null!=this.index&&
-this.index!=mxEvent.ROTATION_HANDLE?"none":"");ib.apply(this);null!=this.state&&null!=this.linkHint&&(u=new mxPoint(this.state.getCenterX(),this.state.getCenterY()),A=new mxRectangle(this.state.x,this.state.y-22,this.state.width+24,this.state.height+22),B=mxUtils.getBoundingBox(A,this.state.style[mxConstants.STYLE_ROTATION]||"0",u),u=null!=B?mxUtils.getBoundingBox(this.state,this.state.style[mxConstants.STYLE_ROTATION]||"0"):this.state,A=null!=this.state.text?this.state.text.boundingBox:null,null==
-B&&(B=this.state),B=B.y+B.height,null!=A&&(B=Math.max(B,A.y+A.height)),this.linkHint.style.left=u.x+u.width/2+"px",this.linkHint.style.top=Math.round(B+this.verticalOffset/2+Editor.hintOffset)+"px",this.linkHint.style.display=1<this.graph.getSelectionCount()?"none":"")};var fb=mxVertexHandler.prototype.destroy;mxVertexHandler.prototype.destroy=function(){fb.apply(this,arguments);this.destroyMoveHandles();this.destroyCornerHandles();null!=this.linkHint&&(null!=this.linkHint.parentNode&&this.linkHint.parentNode.removeChild(this.linkHint),
-this.linkHint=null);null!=this.changeHandler&&(this.graph.getSelectionModel().removeListener(this.changeHandler),this.graph.getModel().removeListener(this.changeHandler),this.changeHandler=null);null!=this.editingHandler&&(this.graph.removeListener(this.editingHandler),this.editingHandler=null)};var fa=mxEdgeHandler.prototype.redrawHandles;mxEdgeHandler.prototype.redrawHandles=function(){if(null!=this.marker&&(fa.apply(this),null!=this.state&&null!=this.linkHint)){var u=this.state;null!=this.state.text&&
-null!=this.state.text.bounds&&(u=new mxRectangle(u.x,u.y,u.width,u.height),u.add(this.state.text.bounds));this.linkHint.style.left=u.x+u.width/2+"px";this.linkHint.style.top=Math.round(u.y+u.height+Editor.hintOffset)+"px";this.linkHint.style.display=1<this.graph.getSelectionCount()?"none":""}};var Ga=mxEdgeHandler.prototype.reset;mxEdgeHandler.prototype.reset=function(){Ga.apply(this,arguments);null!=this.linkHint&&(this.linkHint.style.visibility="")};var ya=mxEdgeHandler.prototype.destroy;mxEdgeHandler.prototype.destroy=
-function(){ya.apply(this,arguments);null!=this.linkHint&&(this.linkHint.parentNode.removeChild(this.linkHint),this.linkHint=null);null!=this.changeHandler&&(this.graph.getModel().removeListener(this.changeHandler),this.graph.getSelectionModel().removeListener(this.changeHandler),this.changeHandler=null)}}();Format=function(a,b){this.editorUi=a;this.container=b};Format.inactiveTabBackgroundColor="#e4e4e4";Format.classicFilledMarkerImage=Graph.createSvgImage(20,22,'<path transform="translate(4,2)" stroke-width="2" d="M 0 8 L 10 2 L 5 8 L 10 14 Z M 0 8 L 24 8" stroke="#404040" fill="#404040"/>',32,20);Format.classicThinFilledMarkerImage=Graph.createSvgImage(20,22,'<path transform="translate(4,2)" stroke-width="2" d="M 0 8 L 8 4 L 3 8 L 8 12 Z M 0 8 L 24 8" stroke="#404040" fill="#404040"/>',32,20);
+this.index!=mxEvent.ROTATION_HANDLE?"none":"");ob.apply(this);null!=this.state&&null!=this.linkHint&&(u=new mxPoint(this.state.getCenterX(),this.state.getCenterY()),A=new mxRectangle(this.state.x,this.state.y-22,this.state.width+24,this.state.height+22),B=mxUtils.getBoundingBox(A,this.state.style[mxConstants.STYLE_ROTATION]||"0",u),u=null!=B?mxUtils.getBoundingBox(this.state,this.state.style[mxConstants.STYLE_ROTATION]||"0"):this.state,A=null!=this.state.text?this.state.text.boundingBox:null,null==
+B&&(B=this.state),B=B.y+B.height,null!=A&&(B=Math.max(B,A.y+A.height)),this.linkHint.style.left=u.x+u.width/2+"px",this.linkHint.style.top=Math.round(B+this.verticalOffset/2+Editor.hintOffset)+"px",this.linkHint.style.display=1<this.graph.getSelectionCount()?"none":"")};var cb=mxVertexHandler.prototype.destroy;mxVertexHandler.prototype.destroy=function(){cb.apply(this,arguments);this.destroyMoveHandles();this.destroyCornerHandles();null!=this.linkHint&&(null!=this.linkHint.parentNode&&this.linkHint.parentNode.removeChild(this.linkHint),
+this.linkHint=null);null!=this.changeHandler&&(this.graph.getSelectionModel().removeListener(this.changeHandler),this.graph.getModel().removeListener(this.changeHandler),this.changeHandler=null);null!=this.editingHandler&&(this.graph.removeListener(this.editingHandler),this.editingHandler=null)};var ab=mxEdgeHandler.prototype.redrawHandles;mxEdgeHandler.prototype.redrawHandles=function(){if(null!=this.marker&&(ab.apply(this),null!=this.state&&null!=this.linkHint)){var u=this.state;null!=this.state.text&&
+null!=this.state.text.bounds&&(u=new mxRectangle(u.x,u.y,u.width,u.height),u.add(this.state.text.bounds));this.linkHint.style.left=u.x+u.width/2+"px";this.linkHint.style.top=Math.round(u.y+u.height+Editor.hintOffset)+"px";this.linkHint.style.display=1<this.graph.getSelectionCount()?"none":""}};var da=mxEdgeHandler.prototype.reset;mxEdgeHandler.prototype.reset=function(){da.apply(this,arguments);null!=this.linkHint&&(this.linkHint.style.visibility="")};var wa=mxEdgeHandler.prototype.destroy;mxEdgeHandler.prototype.destroy=
+function(){wa.apply(this,arguments);null!=this.linkHint&&(this.linkHint.parentNode.removeChild(this.linkHint),this.linkHint=null);null!=this.changeHandler&&(this.graph.getModel().removeListener(this.changeHandler),this.graph.getSelectionModel().removeListener(this.changeHandler),this.changeHandler=null)}}();Format=function(a,b){this.editorUi=a;this.container=b};Format.inactiveTabBackgroundColor="#e4e4e4";Format.classicFilledMarkerImage=Graph.createSvgImage(20,22,'<path transform="translate(4,2)" stroke-width="2" d="M 0 8 L 10 2 L 5 8 L 10 14 Z M 0 8 L 24 8" stroke="#404040" fill="#404040"/>',32,20);Format.classicThinFilledMarkerImage=Graph.createSvgImage(20,22,'<path transform="translate(4,2)" stroke-width="2" d="M 0 8 L 8 4 L 3 8 L 8 12 Z M 0 8 L 24 8" stroke="#404040" fill="#404040"/>',32,20);
Format.openFilledMarkerImage=Graph.createSvgImage(20,22,'<path transform="translate(4,2)" stroke-width="2" d="M 8 0 L 0 8 L 8 16 M 0 8 L 24 8" stroke="#404040" fill="transparent"/>',32,20);Format.openThinFilledMarkerImage=Graph.createSvgImage(20,22,'<path transform="translate(4,2)" stroke-width="2" d="M 8 4 L 0 8 L 8 12 M 0 8 L 24 8" stroke="#404040" fill="transparent"/>',32,20);
Format.openAsyncFilledMarkerImage=Graph.createSvgImage(20,22,'<path transform="translate(4,2)" stroke-width="2" d="M 8 4 L 0 8 L 24 8" stroke="#404040" fill="transparent"/>',32,20);Format.blockFilledMarkerImage=Graph.createSvgImage(20,22,'<path transform="translate(4,2)" stroke-width="2" d="M 0 8 L 8 2 L 8 14 Z M 0 8 L 24 8" stroke="#404040" fill="#404040"/>',32,20);
Format.blockThinFilledMarkerImage=Graph.createSvgImage(20,22,'<path transform="translate(4,2)" stroke-width="2" d="M 0 8 L 8 4 L 8 12 Z M 0 8 L 24 8" stroke="#404040" fill="#404040"/>',32,20);Format.asyncFilledMarkerImage=Graph.createSvgImage(20,22,'<path transform="translate(4,2)" stroke-width="2" d="M 6 8 L 6 4 L 0 8 L 24 8" stroke="#404040" fill="#404040"/>',32,20);
@@ -2990,833 +2989,832 @@ Format.ERmanyMarkerImage=Graph.createSvgImage(20,22,'<path transform="translate(
Format.ERzeroToOneMarkerImage=Graph.createSvgImage(20,22,'<path transform="translate(4,2)" stroke-width="2" d="M 8 8 A 5 5 0 0 1 13 3 A 5 5 0 0 1 18 8 A 5 5 0 0 1 13 13 A 5 5 0 0 1 8 8 Z M 0 8 L 8 8 M 18 8 L 24 8 M 4 3 L 4 13" stroke="#404040" fill="transparent"/>',32,20);
Format.ERzeroToManyMarkerImage=Graph.createSvgImage(20,22,'<path transform="translate(4,2)" stroke-width="2" d="M 8 8 A 5 5 0 0 1 13 3 A 5 5 0 0 1 18 8 A 5 5 0 0 1 13 13 A 5 5 0 0 1 8 8 Z M 0 8 L 8 8 M 18 8 L 24 8 M 0 3 L 8 8 L 0 13" stroke="#404040" fill="transparent"/>',32,20);Format.EROneMarkerImage=Graph.createSvgImage(20,22,'<path transform="translate(4,2)" stroke-width="2" d="M 5 2 L 5 14 M 0 8 L 24 8" stroke="#404040" fill="transparent"/>',32,20);
Format.baseDashMarkerImage=Graph.createSvgImage(20,22,'<path transform="translate(4,2)" stroke-width="2" d="M 0 2 L 0 14 M 0 8 L 24 8" stroke="#404040" fill="transparent"/>',32,20);Format.doubleBlockMarkerImage=Graph.createSvgImage(20,22,'<path transform="translate(4,2)" stroke-width="2" d="M 0 8 L 8 2 L 8 14 Z M 8 8 L 16 2 L 16 14 Z M 16 8 L 24 8" stroke="#404040" fill="transparent"/>',32,20);
-Format.doubleBlockFilledMarkerImage=Graph.createSvgImage(20,22,'<path transform="translate(4,2)" stroke-width="2" d="M 0 8 L 8 2 L 8 14 Z M 8 8 L 16 2 L 16 14 Z M 16 8 L 24 8" stroke="#404040" fill="#404040"/>',32,20);Format.processMenuIcon=function(a,b){var d=a.getElementsByTagName("img");0<d.length&&(d[0].className="geIcon geAdaptiveAsset",d[0].style.padding="0px",d[0].style.margin="0 0 0 2px",null!=b&&mxUtils.setPrefixedStyle(d[0].style,"transform",b));return a};Format.prototype.labelIndex=0;
+Format.doubleBlockFilledMarkerImage=Graph.createSvgImage(20,22,'<path transform="translate(4,2)" stroke-width="2" d="M 0 8 L 8 2 L 8 14 Z M 8 8 L 16 2 L 16 14 Z M 16 8 L 24 8" stroke="#404040" fill="#404040"/>',32,20);Format.processMenuIcon=function(a,b){var e=a.getElementsByTagName("img");0<e.length&&(e[0].className="geIcon geAdaptiveAsset",e[0].style.padding="0px",e[0].style.margin="0 0 0 2px",null!=b&&mxUtils.setPrefixedStyle(e[0].style,"transform",b));return a};Format.prototype.labelIndex=0;
Format.prototype.diagramIndex=0;Format.prototype.currentIndex=0;Format.prototype.showCloseButton=!0;Format.prototype.rounded=!1;Format.prototype.curved=!1;
-Format.prototype.init=function(){var a=this.editorUi,b=a.editor,d=b.graph;this.update=mxUtils.bind(this,function(e,g){this.refresh()});d.getSelectionModel().addListener(mxEvent.CHANGE,this.update);d.getModel().addListener(mxEvent.CHANGE,this.update);d.addListener(mxEvent.EDITING_STARTED,this.update);d.addListener(mxEvent.EDITING_STOPPED,this.update);d.getView().addListener("unitChanged",this.update);b.addListener("autosaveChanged",this.update);d.addListener(mxEvent.ROOT,this.update);a.addListener("styleChanged",
+Format.prototype.init=function(){var a=this.editorUi,b=a.editor,e=b.graph;this.update=mxUtils.bind(this,function(f,h){this.refresh()});e.getSelectionModel().addListener(mxEvent.CHANGE,this.update);e.getModel().addListener(mxEvent.CHANGE,this.update);e.addListener(mxEvent.EDITING_STARTED,this.update);e.addListener(mxEvent.EDITING_STOPPED,this.update);e.getView().addListener("unitChanged",this.update);b.addListener("autosaveChanged",this.update);e.addListener(mxEvent.ROOT,this.update);a.addListener("styleChanged",
this.update);a.addListener("darkModeChanged",this.update);a.addListener("lockedChanged",this.update);this.refresh()};Format.prototype.clear=function(){this.container.innerText="";if(null!=this.panels)for(var a=0;a<this.panels.length;a++)this.panels[a].destroy();this.panels=[]};Format.prototype.refresh=function(){null!=this.pendingRefresh&&(window.clearTimeout(this.pendingRefresh),this.pendingRefresh=null);this.pendingRefresh=window.setTimeout(mxUtils.bind(this,function(){this.immediateRefresh()}))};
-Format.prototype.immediateRefresh=function(){if("0px"!=this.container.style.width){this.clear();var a=this.editorUi,b=a.editor.graph,d=document.createElement("div");d.style.whiteSpace="nowrap";d.style.color=Editor.isDarkMode()?"#8D8D8D":"#616161";d.style.textAlign="left";d.style.cursor="default";var e=document.createElement("div");e.className="geFormatSection";e.style.textAlign="center";e.style.fontWeight="bold";e.style.paddingTop="8px";e.style.fontSize="13px";e.style.borderWidth="0px 0px 1px 1px";
-e.style.borderStyle="solid";e.style.display="inline-block";e.style.height="25px";e.style.overflow="hidden";e.style.width="100%";this.container.appendChild(d);mxEvent.addListener(e,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(C){C.preventDefault()}));var g=a.getSelectionState(),f=g.containsLabel,h=null,n=null,q=mxUtils.bind(this,function(C,F,D,G){var K=mxUtils.bind(this,function(I){h!=C&&(f?this.labelIndex=D:b.isSelectionEmpty()?this.diagramIndex=D:this.currentIndex=D,null!=
-h&&(h.style.backgroundColor=Format.inactiveTabBackgroundColor,h.style.borderBottomWidth="1px"),h=C,h.style.backgroundColor="",h.style.borderBottomWidth="0px",n!=F&&(null!=n&&(n.style.display="none"),n=F,n.style.display=""))});mxEvent.addListener(C,"click",K);mxEvent.addListener(C,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(I){I.preventDefault()}));(G&&null==h||D==(f?this.labelIndex:b.isSelectionEmpty()?this.diagramIndex:this.currentIndex))&&K()}),l=0;if(b.isSelectionEmpty()){mxUtils.write(e,
-mxResources.get("diagram"));e.style.borderLeftWidth="0px";d.appendChild(e);g=d.cloneNode(!1);this.panels.push(new DiagramFormatPanel(this,a,g));this.container.appendChild(g);if(null!=Editor.styles){g.style.display="none";e.style.width=this.showCloseButton?"106px":"50%";e.style.cursor="pointer";e.style.backgroundColor=Format.inactiveTabBackgroundColor;var p=e.cloneNode(!1);p.style.borderLeftWidth="1px";p.style.borderRightWidth="1px";p.style.backgroundColor=Format.inactiveTabBackgroundColor;q(e,g,l++);
-var w=d.cloneNode(!1);w.style.display="none";mxUtils.write(p,mxResources.get("style"));d.appendChild(p);this.panels.push(new DiagramStylePanel(this,a,w));this.container.appendChild(w);q(p,w,l++)}this.showCloseButton&&(p=e.cloneNode(!1),p.style.borderLeftWidth="1px",p.style.borderRightWidth="1px",p.style.borderBottomWidth="1px",p.style.backgroundColor=Format.inactiveTabBackgroundColor,p.style.position="absolute",p.style.right="0px",p.style.top="0px",p.style.width="25px",q=document.createElement("img"),
-q.setAttribute("border","0"),q.setAttribute("src",Dialog.prototype.closeImage),q.setAttribute("title",mxResources.get("hide")),q.style.position="absolute",q.style.display="block",q.style.right="0px",q.style.top="8px",q.style.cursor="pointer",q.style.marginTop="1px",q.style.marginRight="6px",q.style.border="1px solid transparent",q.style.padding="1px",q.style.opacity=.5,p.appendChild(q),mxEvent.addListener(q,"click",function(){a.actions.get("format").funct()}),d.appendChild(p))}else if(b.isEditing())mxUtils.write(e,
-mxResources.get("text")),d.appendChild(e),e.style.borderLeftStyle="none",this.panels.push(new TextFormatPanel(this,a,d));else{e.style.backgroundColor=Format.inactiveTabBackgroundColor;e.style.borderLeftWidth="1px";e.style.cursor="pointer";e.style.width=0==g.cells.length?"100%":f?"50%":"33.3%";p=e.cloneNode(!1);var z=p.cloneNode(!1);p.style.backgroundColor=Format.inactiveTabBackgroundColor;z.style.backgroundColor=Format.inactiveTabBackgroundColor;f?p.style.borderLeftWidth="0px":0<g.cells.length&&(e.style.borderLeftWidth=
-"0px",mxUtils.write(e,mxResources.get("style")),d.appendChild(e),w=d.cloneNode(!1),w.style.display="none",this.panels.push(new StyleFormatPanel(this,a,w)),this.container.appendChild(w),q(e,w,l++));mxUtils.write(p,mxResources.get("text"));d.appendChild(p);e=d.cloneNode(!1);e.style.display="none";this.panels.push(new TextFormatPanel(this,a,e));this.container.appendChild(e);mxUtils.write(z,mxResources.get("arrange"));d.appendChild(z);d=d.cloneNode(!1);d.style.display="none";this.panels.push(new ArrangePanel(this,
-a,d));this.container.appendChild(d);0<g.cells.length?q(p,e,l+1):p.style.display="none";q(z,d,l++,!0)}}};BaseFormatPanel=function(a,b,d){this.format=a;this.editorUi=b;this.container=d;this.listeners=[]};BaseFormatPanel.prototype.buttonBackgroundColor="transparent";
-BaseFormatPanel.prototype.installInputHandler=function(a,b,d,e,g,f,h,n,q){f=null!=f?f:"";n=null!=n?n:!1;var l=this.editorUi,p=l.editor.graph;e=null!=e?e:1;g=null!=g?g:999;var w=null,z=!1,C=null,F=mxUtils.bind(this,function(D){var G=n?parseFloat(a.value):parseInt(a.value);q&&(G=this.fromUnit(G));if(G!=C){C=G;isNaN(G)||b!=mxConstants.STYLE_ROTATION||(G=mxUtils.mod(Math.round(100*G),36E3)/100);G=Math.min(g,Math.max(e,isNaN(G)?d:G));if(p.cellEditor.isContentEditing()&&h)z||(z=!0,null!=w&&(p.cellEditor.restoreSelection(w),
-w=null),h(G),a.value=(q?this.inUnit(G):G)+f,z=!1);else if(G!=mxUtils.getValue(l.getSelectionState().style,b,d)){p.isEditing()&&p.stopEditing(!0);p.getModel().beginUpdate();try{var K=l.getSelectionState().cells;p.setCellStyles(b,G,K);b==mxConstants.STYLE_FONTSIZE&&p.updateLabelElements(K,function(O){O.style.fontSize=G+"px";O.removeAttribute("size")});for(var I=0;I<K.length;I++)0==p.model.getChildCount(K[I])&&p.autoSizeCell(K[I],!1);l.fireEvent(new mxEventObject("styleChanged","keys",[b],"values",[G],
-"cells",K))}finally{p.getModel().endUpdate()}}a.value=(q?this.inUnit(G):G)+f}mxEvent.consume(D)});h&&p.cellEditor.isContentEditing()&&(mxEvent.addListener(a,"mousedown",function(){document.activeElement==p.cellEditor.textarea&&(w=p.cellEditor.saveSelection())}),mxEvent.addListener(a,"touchstart",function(){document.activeElement==p.cellEditor.textarea&&(w=p.cellEditor.saveSelection())}));mxEvent.addListener(a,"change",F);mxEvent.addListener(a,"blur",F);return F};
+Format.prototype.immediateRefresh=function(){if("0px"!=this.container.style.width){this.clear();var a=this.editorUi,b=a.editor.graph,e=document.createElement("div");e.style.whiteSpace="nowrap";e.style.color=Editor.isDarkMode()?"#8D8D8D":"#616161";e.style.textAlign="left";e.style.cursor="default";var f=document.createElement("div");f.className="geFormatSection";f.style.textAlign="center";f.style.fontWeight="bold";f.style.paddingTop="8px";f.style.fontSize="13px";f.style.borderWidth="0px 0px 1px 1px";
+f.style.borderStyle="solid";f.style.display="inline-block";f.style.height="25px";f.style.overflow="hidden";f.style.width="100%";this.container.appendChild(e);mxEvent.addListener(f,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(C){C.preventDefault()}));var h=a.getSelectionState(),d=h.containsLabel,g=null,n=null,q=mxUtils.bind(this,function(C,F,D,H){var K=mxUtils.bind(this,function(G){g!=C&&(d?this.labelIndex=D:b.isSelectionEmpty()?this.diagramIndex=D:this.currentIndex=D,null!=
+g&&(g.style.backgroundColor=Format.inactiveTabBackgroundColor,g.style.borderBottomWidth="1px"),g=C,g.style.backgroundColor="",g.style.borderBottomWidth="0px",n!=F&&(null!=n&&(n.style.display="none"),n=F,n.style.display=""))});mxEvent.addListener(C,"click",K);mxEvent.addListener(C,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(G){G.preventDefault()}));(H&&null==g||D==(d?this.labelIndex:b.isSelectionEmpty()?this.diagramIndex:this.currentIndex))&&K()}),k=0;if(b.isSelectionEmpty()){mxUtils.write(f,
+mxResources.get("diagram"));f.style.borderLeftWidth="0px";e.appendChild(f);h=e.cloneNode(!1);this.panels.push(new DiagramFormatPanel(this,a,h));this.container.appendChild(h);if(null!=Editor.styles){h.style.display="none";f.style.width=this.showCloseButton?"106px":"50%";f.style.cursor="pointer";f.style.backgroundColor=Format.inactiveTabBackgroundColor;var p=f.cloneNode(!1);p.style.borderLeftWidth="1px";p.style.borderRightWidth="1px";p.style.backgroundColor=Format.inactiveTabBackgroundColor;q(f,h,k++);
+var w=e.cloneNode(!1);w.style.display="none";mxUtils.write(p,mxResources.get("style"));e.appendChild(p);this.panels.push(new DiagramStylePanel(this,a,w));this.container.appendChild(w);q(p,w,k++)}this.showCloseButton&&(p=f.cloneNode(!1),p.style.borderLeftWidth="1px",p.style.borderRightWidth="1px",p.style.borderBottomWidth="1px",p.style.backgroundColor=Format.inactiveTabBackgroundColor,p.style.position="absolute",p.style.right="0px",p.style.top="0px",p.style.width="25px",q=document.createElement("img"),
+q.setAttribute("border","0"),q.setAttribute("src",Dialog.prototype.closeImage),q.setAttribute("title",mxResources.get("hide")),q.style.position="absolute",q.style.display="block",q.style.right="0px",q.style.top="8px",q.style.cursor="pointer",q.style.marginTop="1px",q.style.marginRight="6px",q.style.border="1px solid transparent",q.style.padding="1px",q.style.opacity=.5,p.appendChild(q),mxEvent.addListener(q,"click",function(){a.actions.get("format").funct()}),e.appendChild(p))}else if(b.isEditing())mxUtils.write(f,
+mxResources.get("text")),e.appendChild(f),f.style.borderLeftStyle="none",this.panels.push(new TextFormatPanel(this,a,e));else{f.style.backgroundColor=Format.inactiveTabBackgroundColor;f.style.borderLeftWidth="1px";f.style.cursor="pointer";f.style.width=0==h.cells.length?"100%":d?"50%":"33.3%";p=f.cloneNode(!1);var z=p.cloneNode(!1);p.style.backgroundColor=Format.inactiveTabBackgroundColor;z.style.backgroundColor=Format.inactiveTabBackgroundColor;d?p.style.borderLeftWidth="0px":0<h.cells.length&&(f.style.borderLeftWidth=
+"0px",mxUtils.write(f,mxResources.get("style")),e.appendChild(f),w=e.cloneNode(!1),w.style.display="none",this.panels.push(new StyleFormatPanel(this,a,w)),this.container.appendChild(w),q(f,w,k++));mxUtils.write(p,mxResources.get("text"));e.appendChild(p);f=e.cloneNode(!1);f.style.display="none";this.panels.push(new TextFormatPanel(this,a,f));this.container.appendChild(f);mxUtils.write(z,mxResources.get("arrange"));e.appendChild(z);e=e.cloneNode(!1);e.style.display="none";this.panels.push(new ArrangePanel(this,
+a,e));this.container.appendChild(e);0<h.cells.length?q(p,f,k+1):p.style.display="none";q(z,e,k++,!0)}}};BaseFormatPanel=function(a,b,e){this.format=a;this.editorUi=b;this.container=e;this.listeners=[]};BaseFormatPanel.prototype.buttonBackgroundColor="transparent";
+BaseFormatPanel.prototype.installInputHandler=function(a,b,e,f,h,d,g,n,q){d=null!=d?d:"";n=null!=n?n:!1;var k=this.editorUi,p=k.editor.graph;f=null!=f?f:1;h=null!=h?h:999;var w=null,z=!1,C=null,F=mxUtils.bind(this,function(D){var H=n?parseFloat(a.value):parseInt(a.value);q&&(H=this.fromUnit(H));if(H!=C){C=H;isNaN(H)||b!=mxConstants.STYLE_ROTATION||(H=mxUtils.mod(Math.round(100*H),36E3)/100);H=Math.min(h,Math.max(f,isNaN(H)?e:H));if(p.cellEditor.isContentEditing()&&g)z||(z=!0,null!=w&&(p.cellEditor.restoreSelection(w),
+w=null),g(H),a.value=(q?this.inUnit(H):H)+d,z=!1);else if(H!=mxUtils.getValue(k.getSelectionState().style,b,e)){p.isEditing()&&p.stopEditing(!0);p.getModel().beginUpdate();try{var K=k.getSelectionState().cells;p.setCellStyles(b,H,K);b==mxConstants.STYLE_FONTSIZE&&p.updateLabelElements(K,function(P){P.removeAttribute("size");P.style.fontSize="";""==P.getAttribute("style")&&P.removeAttribute("style")});for(var G=0;G<K.length;G++)0==p.model.getChildCount(K[G])&&p.autoSizeCell(K[G],!1);k.fireEvent(new mxEventObject("styleChanged",
+"keys",[b],"values",[H],"cells",K))}finally{p.getModel().endUpdate()}}a.value=(q?this.inUnit(H):H)+d}mxEvent.consume(D)});g&&p.cellEditor.isContentEditing()&&(mxEvent.addListener(a,"mousedown",function(){document.activeElement==p.cellEditor.textarea&&(w=p.cellEditor.saveSelection())}),mxEvent.addListener(a,"touchstart",function(){document.activeElement==p.cellEditor.textarea&&(w=p.cellEditor.saveSelection())}));mxEvent.addListener(a,"change",F);mxEvent.addListener(a,"blur",F);return F};
BaseFormatPanel.prototype.createPanel=function(){var a=document.createElement("div");a.className="geFormatSection";a.style.padding="12px 0px 8px 14px";return a};BaseFormatPanel.prototype.createTitle=function(a){var b=document.createElement("div");b.style.padding="0px 0px 6px 0px";b.style.whiteSpace="nowrap";b.style.overflow="hidden";b.style.width="200px";b.style.fontWeight="bold";mxUtils.write(b,a);return b};
-BaseFormatPanel.prototype.addAction=function(a,b){var d=this.editorUi.actions.get(b);b=null;null!=d&&d.isEnabled()&&(b=mxUtils.button(d.label,mxUtils.bind(this,function(e){try{d.funct(e,e)}catch(g){this.editorUi.handleError(g)}})),b.setAttribute("title",d.label+(null!=d.shortcut?" ("+d.shortcut+")":"")),b.style.marginBottom="2px",b.style.width="210px",a.appendChild(b));return b};
-BaseFormatPanel.prototype.addActions=function(a,b){for(var d=null,e=null,g=0,f=0;f<b.length;f++){var h=this.addAction(a,b[f]);null!=h&&(g++,0==mxUtils.mod(g,2)&&(e.style.marginRight="2px",e.style.width="104px",h.style.width="104px",d.parentNode.removeChild(d)),d=mxUtils.br(a),e=h)}return g};
-BaseFormatPanel.prototype.createStepper=function(a,b,d,e,g,f,h){d=null!=d?d:1;e=null!=e?e:9;var n=10*d,q=document.createElement("div");q.className="geBtnStepper";q.style.position="absolute";var l=document.createElement("div");l.style.position="relative";l.style.height=e+"px";l.style.width="10px";l.className="geBtnUp";q.appendChild(l);var p=l.cloneNode(!1);p.style.border="none";p.style.height=e+"px";p.className="geBtnDown";q.appendChild(p);mxEvent.addGestureListeners(p,function(z){mxEvent.consume(z)},
-null,function(z){""==a.value&&(a.value=f||"2");var C=h?parseFloat(a.value):parseInt(a.value);isNaN(C)||(a.value=C-(mxEvent.isShiftDown(z)?n:d),null!=b&&b(z));mxEvent.consume(z)});mxEvent.addGestureListeners(l,function(z){mxEvent.consume(z)},null,function(z){""==a.value&&(a.value=f||"0");var C=h?parseFloat(a.value):parseInt(a.value);isNaN(C)||(a.value=C+(mxEvent.isShiftDown(z)?n:d),null!=b&&b(z));mxEvent.consume(z)});if(g){var w=null;mxEvent.addGestureListeners(q,function(z){mxEvent.consume(z)},null,
+BaseFormatPanel.prototype.addAction=function(a,b){var e=this.editorUi.actions.get(b);b=null;null!=e&&e.isEnabled()&&(b=mxUtils.button(e.label,mxUtils.bind(this,function(f){try{e.funct(f,f)}catch(h){this.editorUi.handleError(h)}})),b.setAttribute("title",e.label+(null!=e.shortcut?" ("+e.shortcut+")":"")),b.style.marginBottom="2px",b.style.width="210px",a.appendChild(b));return b};
+BaseFormatPanel.prototype.addActions=function(a,b){for(var e=null,f=null,h=0,d=0;d<b.length;d++){var g=this.addAction(a,b[d]);null!=g&&(h++,0==mxUtils.mod(h,2)&&(f.style.marginRight="2px",f.style.width="104px",g.style.width="104px",e.parentNode.removeChild(e)),e=mxUtils.br(a),f=g)}return h};
+BaseFormatPanel.prototype.createStepper=function(a,b,e,f,h,d,g){e=null!=e?e:1;f=null!=f?f:9;var n=10*e,q=document.createElement("div");q.className="geBtnStepper";q.style.position="absolute";var k=document.createElement("div");k.style.position="relative";k.style.height=f+"px";k.style.width="10px";k.className="geBtnUp";q.appendChild(k);var p=k.cloneNode(!1);p.style.border="none";p.style.height=f+"px";p.className="geBtnDown";q.appendChild(p);mxEvent.addGestureListeners(p,function(z){mxEvent.consume(z)},
+null,function(z){""==a.value&&(a.value=d||"2");var C=g?parseFloat(a.value):parseInt(a.value);isNaN(C)||(a.value=C-(mxEvent.isShiftDown(z)?n:e),null!=b&&b(z));mxEvent.consume(z)});mxEvent.addGestureListeners(k,function(z){mxEvent.consume(z)},null,function(z){""==a.value&&(a.value=d||"0");var C=g?parseFloat(a.value):parseInt(a.value);isNaN(C)||(a.value=C+(mxEvent.isShiftDown(z)?n:e),null!=b&&b(z));mxEvent.consume(z)});if(h){var w=null;mxEvent.addGestureListeners(q,function(z){mxEvent.consume(z)},null,
function(z){if(null!=w){try{w.select()}catch(C){}w=null;mxEvent.consume(z)}})}else mxEvent.addListener(q,"click",function(z){mxEvent.consume(z)});return q};
-BaseFormatPanel.prototype.createOption=function(a,b,d,e,g){var f=document.createElement("div");f.style.display="flex";f.style.alignItems="center";f.style.padding="3px 0px 3px 0px";f.style.height="18px";var h=document.createElement("input");h.setAttribute("type","checkbox");h.style.margin="1px 6px 0px 0px";h.style.verticalAlign="top";f.appendChild(h);var n=document.createElement("div");n.setAttribute("title",a);n.style.display="inline-block";n.style.whiteSpace="nowrap";n.style.textOverflow="ellipsis";
-n.style.overflow="hidden";n.style.maxWidth="160px";n.style.maxWidth="160px";n.style.userSelect="none";mxUtils.write(n,a);f.appendChild(n);var q=!1,l=b(),p=function(w,z){q||(q=!0,w?(h.setAttribute("checked","checked"),h.defaultChecked=!0,h.checked=!0):(h.removeAttribute("checked"),h.defaultChecked=!1,h.checked=!1),l!=w&&(l=w,b()!=l&&d(l,z)),q=!1)};mxEvent.addListener(f,"click",function(w){if("disabled"!=h.getAttribute("disabled")){var z=mxEvent.getSource(w);if(z==f||z==n)h.checked=!h.checked;p(h.checked,
-w)}});p(l);null!=e&&(e.install(p),this.listeners.push(e));null!=g&&g(f);return f};
-BaseFormatPanel.prototype.createCellOption=function(a,b,d,e,g,f,h,n,q){var l=this.editorUi,p=l.editor.graph;e=null!=e?"null"==e?null:e:1;g=null!=g?"null"==g?null:g:0;var w=null!=q?p.getCommonStyle(q):l.getSelectionState().style;return this.createOption(a,function(){return mxUtils.getValue(w,b,d)!=g},function(z){n&&p.stopEditing();if(null!=h)h.funct();else{p.getModel().beginUpdate();try{var C=null!=q?q:l.getSelectionState().cells;z=z?e:g;p.setCellStyles(b,z,C);null!=f&&f(C,z);l.fireEvent(new mxEventObject("styleChanged",
-"keys",[b],"values",[z],"cells",C))}finally{p.getModel().endUpdate()}}},{install:function(z){this.listener=function(){z(mxUtils.getValue(w,b,d)!=g)};p.getModel().addListener(mxEvent.CHANGE,this.listener)},destroy:function(){p.getModel().removeListener(this.listener)}})};
-BaseFormatPanel.prototype.createColorOption=function(a,b,d,e,g,f,h,n){var q=this.editorUi.editor.graph,l=document.createElement("div");l.style.padding="3px 0px 3px 0px";l.style.whiteSpace="nowrap";l.style.overflow="hidden";l.style.width="200px";l.style.height="18px";var p=document.createElement("input");p.setAttribute("type","checkbox");p.style.margin="1px 6px 0px 0px";p.style.verticalAlign="top";h||l.appendChild(p);var w=document.createElement("span");w.style.verticalAlign="top";mxUtils.write(w,
-a);l.appendChild(w);var z=b(),C=!1,F=null,D=null,G=document.createElement("input");G.setAttribute("type","color");G.style.position="relative";G.style.visibility="hidden";G.style.top="10px";G.style.width="0px";G.style.height="0px";G.style.border="none";mxClient.IS_IE||mxClient.IS_IE11||mxClient.IS_TOUCH||(F=document.createElement("img"),F.src=Editor.colorDropperImage,F.className="geColorDropper geAdaptiveAsset",F.style.position="relative",F.style.right="-20px",F.style.top="-1px",F.style.width="auto",
-F.style.height="14px",mxEvent.addListener(F,"click",function(I){var O=z;"default"==O&&(O=n);G.value=O;G.click();mxEvent.consume(I)}));var K=function(I,O,H){if(!C){var Z="null"==e?null:e;C=!0;I=/(^#?[a-zA-Z0-9]*$)/.test(I)?I:Z;Z=null!=I&&I!=mxConstants.NONE?I:Z;var S=document.createElement("div");S.style.width="21px";S.style.height="12px";S.style.margin="2px 18px 2px 3px";S.style.border="1px solid black";S.style.backgroundColor="default"==Z?n:Z;D.innerText="";D.appendChild(S);null!=F?(S.style.width=
-"21px",S.style.margin="2px 18px 2px 3px",S.appendChild(F)):(S.style.width="36px",S.style.margin="3px");null!=I&&I!=mxConstants.NONE&&1<I.length&&"string"===typeof I&&(Z="#"==I.charAt(0)?I.substring(1).toUpperCase():I,Z=ColorDialog.prototype.colorNames[Z],null!=Z&&D.setAttribute("title",Z));null==I||I==mxConstants.NONE||q.isSpecialColor(I)?(p.removeAttribute("checked"),p.defaultChecked=!1,p.checked=!1):(p.setAttribute("checked","checked"),p.defaultChecked=!0,p.checked=!0);D.style.display=p.checked||
-h?"":"none";null!=f&&f("null"==I?null:I);z=I;O||(H||h||b()!=z)&&d("null"==z?null:z,z);C=!1}};l.appendChild(G);mxEvent.addListener(G,"change",function(){K(G.value,null,!0)});D=mxUtils.button("",mxUtils.bind(this,function(I){var O=z;"default"==O&&"default"!=e&&(O=n);this.editorUi.pickColor(O,function(H){K(H,null,!0)},"default"==e?"default":null,n);mxEvent.consume(I)}));D.style.position="absolute";D.style.marginTop="-3px";D.style.left="178px";D.style.height="22px";D.className="geColorBtn";D.style.display=
-p.checked||h?"":"none";l.appendChild(D);a=null!=z&&"string"===typeof z&&"#"==z.charAt(0)?z.substring(1).toUpperCase():z;a=ColorDialog.prototype.colorNames[a];null!=a&&D.setAttribute("title",a);mxEvent.addListener(l,"click",function(I){I=mxEvent.getSource(I);if(I==p||"INPUT"!=I.nodeName)I!=p&&(p.checked=!p.checked),p.checked||null==z||z==mxConstants.NONE||e==mxConstants.NONE||(e=z),K(p.checked?e:mxConstants.NONE)});K(z,!0);null!=g&&(g.install(K),this.listeners.push(g));return l};
-BaseFormatPanel.prototype.createCellColorOption=function(a,b,d,e,g,f){var h=this.editorUi,n=h.editor.graph;return this.createColorOption(a,function(){var q=n.view.getState(h.getSelectionState().cells[0]);return null!=q?mxUtils.getValue(q.style,b,null):null},function(q){n.getModel().beginUpdate();try{var l=h.getSelectionState().cells;n.setCellStyles(b,q,l);null!=g&&g(q);h.fireEvent(new mxEventObject("styleChanged","keys",[b],"values",[q],"cells",l))}finally{n.getModel().endUpdate()}},d||mxConstants.NONE,
-{install:function(q){this.listener=function(){var l=n.view.getState(h.getSelectionState().cells[0]);null!=l&&q(mxUtils.getValue(l.style,b,null),!0)};n.getModel().addListener(mxEvent.CHANGE,this.listener)},destroy:function(){n.getModel().removeListener(this.listener)}},e,null,f)};
+BaseFormatPanel.prototype.createOption=function(a,b,e,f,h){var d=document.createElement("div");d.style.display="flex";d.style.alignItems="center";d.style.padding="3px 0px 3px 0px";d.style.height="18px";var g=document.createElement("input");g.setAttribute("type","checkbox");g.style.margin="1px 6px 0px 0px";g.style.verticalAlign="top";d.appendChild(g);var n=document.createElement("div");n.setAttribute("title",a);n.style.display="inline-block";n.style.whiteSpace="nowrap";n.style.textOverflow="ellipsis";
+n.style.overflow="hidden";n.style.maxWidth="160px";n.style.maxWidth="160px";n.style.userSelect="none";mxUtils.write(n,a);d.appendChild(n);var q=!1,k=b(),p=function(w,z){q||(q=!0,w?(g.setAttribute("checked","checked"),g.defaultChecked=!0,g.checked=!0):(g.removeAttribute("checked"),g.defaultChecked=!1,g.checked=!1),k!=w&&(k=w,b()!=k&&e(k,z)),q=!1)};mxEvent.addListener(d,"click",function(w){if("disabled"!=g.getAttribute("disabled")){var z=mxEvent.getSource(w);if(z==d||z==n)g.checked=!g.checked;p(g.checked,
+w)}});p(k);null!=f&&(f.install(p),this.listeners.push(f));null!=h&&h(d);return d};
+BaseFormatPanel.prototype.createCellOption=function(a,b,e,f,h,d,g,n,q){var k=this.editorUi,p=k.editor.graph;f=null!=f?"null"==f?null:f:1;h=null!=h?"null"==h?null:h:0;var w=null!=q?p.getCommonStyle(q):k.getSelectionState().style;return this.createOption(a,function(){return mxUtils.getValue(w,b,e)!=h},function(z){n&&p.stopEditing();if(null!=g)g.funct();else{p.getModel().beginUpdate();try{var C=null!=q?q:k.getSelectionState().cells;z=z?f:h;p.setCellStyles(b,z,C);null!=d&&d(C,z);k.fireEvent(new mxEventObject("styleChanged",
+"keys",[b],"values",[z],"cells",C))}finally{p.getModel().endUpdate()}}},{install:function(z){this.listener=function(){z(mxUtils.getValue(w,b,e)!=h)};p.getModel().addListener(mxEvent.CHANGE,this.listener)},destroy:function(){p.getModel().removeListener(this.listener)}})};
+BaseFormatPanel.prototype.createColorOption=function(a,b,e,f,h,d,g,n){var q=this.editorUi.editor.graph,k=document.createElement("div");k.style.padding="3px 0px 3px 0px";k.style.whiteSpace="nowrap";k.style.overflow="hidden";k.style.width="200px";k.style.height="18px";var p=document.createElement("input");p.setAttribute("type","checkbox");p.style.margin="1px 6px 0px 0px";p.style.verticalAlign="top";g||k.appendChild(p);var w=document.createElement("span");w.style.verticalAlign="top";mxUtils.write(w,
+a);k.appendChild(w);var z=b(),C=!1,F=null,D=null,H=document.createElement("input");H.setAttribute("type","color");H.style.position="relative";H.style.visibility="hidden";H.style.top="10px";H.style.width="0px";H.style.height="0px";H.style.border="none";mxClient.IS_IE||mxClient.IS_IE11||mxClient.IS_TOUCH||(F=document.createElement("img"),F.src=Editor.colorDropperImage,F.className="geColorDropper geAdaptiveAsset",F.style.position="relative",F.style.right="-20px",F.style.top="-1px",F.style.width="auto",
+F.style.height="14px",mxEvent.addListener(F,"click",function(G){var P=z;"default"==P&&(P=n);H.value=P;H.click();mxEvent.consume(G)}));var K=function(G,P,I){if(!C){var Z="null"==f?null:f;C=!0;G=/(^#?[a-zA-Z0-9]*$)/.test(G)?G:Z;Z=null!=G&&G!=mxConstants.NONE?G:Z;var S=document.createElement("div");S.style.width="21px";S.style.height="12px";S.style.margin="2px 18px 2px 3px";S.style.border="1px solid black";S.style.backgroundColor="default"==Z?n:Z;D.innerText="";D.appendChild(S);null!=F?(S.style.width=
+"21px",S.style.margin="2px 18px 2px 3px",S.appendChild(F)):(S.style.width="36px",S.style.margin="3px");null!=G&&G!=mxConstants.NONE&&1<G.length&&"string"===typeof G&&(Z="#"==G.charAt(0)?G.substring(1).toUpperCase():G,Z=ColorDialog.prototype.colorNames[Z],null!=Z&&D.setAttribute("title",Z));null==G||G==mxConstants.NONE||q.isSpecialColor(G)?(p.removeAttribute("checked"),p.defaultChecked=!1,p.checked=!1):(p.setAttribute("checked","checked"),p.defaultChecked=!0,p.checked=!0);D.style.display=p.checked||
+g?"":"none";null!=d&&d("null"==G?null:G);z=G;P||(I||g||b()!=z)&&e("null"==z?null:z,z);C=!1}};k.appendChild(H);mxEvent.addListener(H,"change",function(){K(H.value,null,!0)});D=mxUtils.button("",mxUtils.bind(this,function(G){var P=z;"default"==P&&"default"!=f&&(P=n);this.editorUi.pickColor(P,function(I){K(I,null,!0)},"default"==f?"default":null,n);mxEvent.consume(G)}));D.style.position="absolute";D.style.marginTop="-3px";D.style.left="178px";D.style.height="22px";D.className="geColorBtn";D.style.display=
+p.checked||g?"":"none";k.appendChild(D);a=null!=z&&"string"===typeof z&&"#"==z.charAt(0)?z.substring(1).toUpperCase():z;a=ColorDialog.prototype.colorNames[a];null!=a&&D.setAttribute("title",a);mxEvent.addListener(k,"click",function(G){G=mxEvent.getSource(G);if(G==p||"INPUT"!=G.nodeName)G!=p&&(p.checked=!p.checked),p.checked||null==z||z==mxConstants.NONE||f==mxConstants.NONE||(f=z),K(p.checked?f:mxConstants.NONE)});K(z,!0);null!=h&&(h.install(K),this.listeners.push(h));return k};
+BaseFormatPanel.prototype.createCellColorOption=function(a,b,e,f,h,d){var g=this.editorUi,n=g.editor.graph;return this.createColorOption(a,function(){var q=n.view.getState(g.getSelectionState().cells[0]);return null!=q?mxUtils.getValue(q.style,b,null):null},function(q){n.getModel().beginUpdate();try{var k=g.getSelectionState().cells;n.setCellStyles(b,q,k);null!=h&&h(q);g.fireEvent(new mxEventObject("styleChanged","keys",[b],"values",[q],"cells",k))}finally{n.getModel().endUpdate()}},e||mxConstants.NONE,
+{install:function(q){this.listener=function(){var k=n.view.getState(g.getSelectionState().cells[0]);null!=k&&q(mxUtils.getValue(k.style,b,null),!0)};n.getModel().addListener(mxEvent.CHANGE,this.listener)},destroy:function(){n.getModel().removeListener(this.listener)}},f,null,d)};
BaseFormatPanel.prototype.addArrow=function(a){a.className="geColorBtn";a.style.display="inline-flex";a.style.alignItems="top";a.style.boxSizing="border-box";a.style.width="64px";a.style.height="22px";a.style.borderWidth="1px";a.style.borderStyle="solid";a.style.margin="2px 2px 2px 3px";var b=document.createElement("div");b.className="geAdaptiveAsset";b.style.display="inline-block";b.style.backgroundImage="url("+Editor.thinExpandImage+")";b.style.backgroundRepeat="no-repeat";b.style.backgroundPosition=
"-2px 1px";b.style.backgroundSize="18px 18px";b.style.opacity="0.5";b.style.height="100%";b.style.width="14px";a.appendChild(b);a=a.getElementsByTagName("div")[0];null!=a&&(a.style.display="inline-block",a.style.backgroundPositionX="center",a.style.textAlign="center",a.style.height="100%",a.style.flexGrow="1",a.style.opacity="0.6");return a};
-BaseFormatPanel.prototype.addUnitInput=function(a,b,d,e,g,f,h,n,q){h=null!=h?h:0;b=document.createElement("input");b.style.position="absolute";b.style.textAlign="right";b.style.marginTop="-2px";b.style.left=228-d-e+"px";b.style.width=e+"px";b.style.height="21px";b.style.borderWidth="1px";b.style.borderStyle="solid";b.style.boxSizing="border-box";a.appendChild(b);e=this.createStepper(b,g,f,null,n,null,q);e.style.marginTop=h-2+"px";e.style.left=228-d+"px";a.appendChild(e);return b};
-BaseFormatPanel.prototype.addGenericInput=function(a,b,d,e,g,f){var h=this.editorUi.editor.graph,n=function(){f(q.value)},q=this.addUnitInput(a,b,d,e,n),l=mxUtils.bind(this,function(p,w,z){if(z||q!=document.activeElement)q.value=g()+b});mxEvent.addListener(q,"keydown",function(p){13==p.keyCode?(h.container.focus(),mxEvent.consume(p)):27==p.keyCode&&(l(null,null,!0),h.container.focus(),mxEvent.consume(p))});h.getModel().addListener(mxEvent.CHANGE,l);this.listeners.push({destroy:function(){h.getModel().removeListener(l)}});
-l();mxEvent.addListener(q,"blur",n);mxEvent.addListener(q,"change",n);return q};
-BaseFormatPanel.prototype.createRelativeOption=function(a,b,d,e,g){d=null!=d?d:52;var f=this.editorUi,h=f.editor.graph,n=this.createPanel();n.style.paddingTop="10px";n.style.paddingBottom="12px";mxUtils.write(n,a);n.style.fontWeight="bold";a=mxUtils.bind(this,function(p){if(null!=e)e(q);else{var w=parseInt(q.value);w=Math.min(100,Math.max(0,isNaN(w)?100:w));var z=h.view.getState(f.getSelectionState().cells[0]);null!=z&&w!=mxUtils.getValue(z.style,b,100)&&(100==w&&(w=null),z=f.getSelectionState().cells,
-h.setCellStyles(b,w,z),this.editorUi.fireEvent(new mxEventObject("styleChanged","keys",[b],"values",[w],"cells",z)));q.value=(null!=w?w:"100")+" %"}mxEvent.consume(p)});var q=this.addUnitInput(n,"%",16,d,a,10,mxClient.IS_MAC&&mxClient.IS_GC?-14:mxClient.IS_WIN?-16:-15,null!=e);if(null!=b){var l=mxUtils.bind(this,function(p,w,z){if(z||q!=document.activeElement)p=f.getSelectionState(),p=parseInt(mxUtils.getValue(p.style,b,100)),q.value=isNaN(p)?"":p+" %"});mxEvent.addListener(q,"keydown",function(p){13==
-p.keyCode?(h.container.focus(),mxEvent.consume(p)):27==p.keyCode&&(l(null,null,!0),h.container.focus(),mxEvent.consume(p))});h.getModel().addListener(mxEvent.CHANGE,l);this.listeners.push({destroy:function(){h.getModel().removeListener(l)}});l()}mxEvent.addListener(q,"blur",a);mxEvent.addListener(q,"change",a);null!=g&&g(q);return n};
-BaseFormatPanel.prototype.addLabel=function(a,b,d,e){e=null!=e?e:61;var g=document.createElement("div");mxUtils.write(g,b);g.style.position="absolute";g.style.left=240-d-e+"px";g.style.width=e+"px";g.style.marginTop="6px";g.style.display="flex";g.style.justifyContent="center";a.appendChild(g);return g};
-BaseFormatPanel.prototype.addKeyHandler=function(a,b){mxEvent.addListener(a,"keydown",mxUtils.bind(this,function(d){13==d.keyCode?(this.editorUi.editor.graph.container.focus(),mxEvent.consume(d)):27==d.keyCode&&(null!=b&&b(null,null,!0),this.editorUi.editor.graph.container.focus(),mxEvent.consume(d))}))};
+BaseFormatPanel.prototype.addUnitInput=function(a,b,e,f,h,d,g,n,q){g=null!=g?g:0;b=document.createElement("input");b.style.position="absolute";b.style.textAlign="right";b.style.marginTop="-2px";b.style.left=228-e-f+"px";b.style.width=f+"px";b.style.height="21px";b.style.borderWidth="1px";b.style.borderStyle="solid";b.style.boxSizing="border-box";a.appendChild(b);f=this.createStepper(b,h,d,null,n,null,q);f.style.marginTop=g-2+"px";f.style.left=228-e+"px";a.appendChild(f);return b};
+BaseFormatPanel.prototype.addGenericInput=function(a,b,e,f,h,d){var g=this.editorUi.editor.graph,n=function(){d(q.value)},q=this.addUnitInput(a,b,e,f,n),k=mxUtils.bind(this,function(p,w,z){if(z||q!=document.activeElement)q.value=h()+b});mxEvent.addListener(q,"keydown",function(p){13==p.keyCode?(g.container.focus(),mxEvent.consume(p)):27==p.keyCode&&(k(null,null,!0),g.container.focus(),mxEvent.consume(p))});g.getModel().addListener(mxEvent.CHANGE,k);this.listeners.push({destroy:function(){g.getModel().removeListener(k)}});
+k();mxEvent.addListener(q,"blur",n);mxEvent.addListener(q,"change",n);return q};
+BaseFormatPanel.prototype.createRelativeOption=function(a,b,e,f,h){e=null!=e?e:52;var d=this.editorUi,g=d.editor.graph,n=this.createPanel();n.style.paddingTop="10px";n.style.paddingBottom="12px";mxUtils.write(n,a);n.style.fontWeight="bold";a=mxUtils.bind(this,function(p){if(null!=f)f(q);else{var w=parseInt(q.value);w=Math.min(100,Math.max(0,isNaN(w)?100:w));var z=g.view.getState(d.getSelectionState().cells[0]);null!=z&&w!=mxUtils.getValue(z.style,b,100)&&(100==w&&(w=null),z=d.getSelectionState().cells,
+g.setCellStyles(b,w,z),this.editorUi.fireEvent(new mxEventObject("styleChanged","keys",[b],"values",[w],"cells",z)));q.value=(null!=w?w:"100")+" %"}mxEvent.consume(p)});var q=this.addUnitInput(n,"%",16,e,a,10,mxClient.IS_MAC&&mxClient.IS_GC?-14:mxClient.IS_WIN?-16:-15,null!=f);if(null!=b){var k=mxUtils.bind(this,function(p,w,z){if(z||q!=document.activeElement)p=d.getSelectionState(),p=parseInt(mxUtils.getValue(p.style,b,100)),q.value=isNaN(p)?"":p+" %"});mxEvent.addListener(q,"keydown",function(p){13==
+p.keyCode?(g.container.focus(),mxEvent.consume(p)):27==p.keyCode&&(k(null,null,!0),g.container.focus(),mxEvent.consume(p))});g.getModel().addListener(mxEvent.CHANGE,k);this.listeners.push({destroy:function(){g.getModel().removeListener(k)}});k()}mxEvent.addListener(q,"blur",a);mxEvent.addListener(q,"change",a);null!=h&&h(q);return n};
+BaseFormatPanel.prototype.addLabel=function(a,b,e,f){f=null!=f?f:61;var h=document.createElement("div");mxUtils.write(h,b);h.style.position="absolute";h.style.left=240-e-f+"px";h.style.width=f+"px";h.style.marginTop="6px";h.style.display="flex";h.style.justifyContent="center";a.appendChild(h);return h};
+BaseFormatPanel.prototype.addKeyHandler=function(a,b){mxEvent.addListener(a,"keydown",mxUtils.bind(this,function(e){13==e.keyCode?(this.editorUi.editor.graph.container.focus(),mxEvent.consume(e)):27==e.keyCode&&(null!=b&&b(null,null,!0),this.editorUi.editor.graph.container.focus(),mxEvent.consume(e))}))};
BaseFormatPanel.prototype.styleButtons=function(a){for(var b=0;b<a.length;b++)mxUtils.setPrefixedStyle(a[b].style,"borderRadius","3px"),mxUtils.setOpacity(a[b],100),a[b].style.border="1px solid #a0a0a0",a[b].style.padding="4px",a[b].style.paddingTop="3px",a[b].style.paddingRight="1px",a[b].style.margin="1px",a[b].style.marginRight="2px",a[b].style.width="24px",a[b].style.height="20px",a[b].className+=" geColorBtn"};
-BaseFormatPanel.prototype.destroy=function(){if(null!=this.listeners){for(var a=0;a<this.listeners.length;a++)this.listeners[a].destroy();this.listeners=null}};ArrangePanel=function(a,b,d){BaseFormatPanel.call(this,a,b,d);this.init()};mxUtils.extend(ArrangePanel,BaseFormatPanel);
+BaseFormatPanel.prototype.destroy=function(){if(null!=this.listeners){for(var a=0;a<this.listeners.length;a++)this.listeners[a].destroy();this.listeners=null}};ArrangePanel=function(a,b,e){BaseFormatPanel.call(this,a,b,e);this.init()};mxUtils.extend(ArrangePanel,BaseFormatPanel);
ArrangePanel.prototype.init=function(){var a=this.editorUi.getSelectionState();0<a.cells.length&&(this.container.appendChild(this.addLayerOps(this.createPanel())),this.addGeometry(this.container),this.addEdgeGeometry(this.container),a.containsLabel&&0!=a.edges.length||this.container.appendChild(this.addAngle(this.createPanel())),a.containsLabel||this.container.appendChild(this.addFlip(this.createPanel())),this.container.appendChild(this.addAlign(this.createPanel())),1<a.vertices.length&&!a.cell&&
!a.row&&this.container.appendChild(this.addDistribute(this.createPanel())),this.container.appendChild(this.addTable(this.createPanel())));this.container.appendChild(this.addGroupOps(this.createPanel()));a.containsLabel&&(1==a.cells.length&&(a=document.createElement("div"),a.style.width="100%",a.style.marginTop="0px",a.style.fontWeight="bold",a.style.padding="10px 0 0 14px",mxUtils.write(a,mxResources.get("style")),this.container.appendChild(a)),new StyleFormatPanel(this.format,this.editorUi,this.container))};
-ArrangePanel.prototype.addTable=function(a){var b=this.editorUi,d=b.editor.graph,e=b.getSelectionState();a.style.paddingTop="6px";a.style.paddingBottom="10px";var g=document.createElement("div");g.style.marginTop="0px";g.style.marginBottom="6px";g.style.fontWeight="bold";mxUtils.write(g,mxResources.get("table"));a.appendChild(g);g=document.createElement("div");g.style.position="relative";g.style.paddingLeft="0px";g.style.borderWidth="0px";g.style.width="220px";g.className="geToolbarContainer";var f=
-e.vertices[0];1<d.getSelectionCount()&&(d.isTableCell(f)&&(f=d.model.getParent(f)),d.isTableRow(f)&&(f=d.model.getParent(f)));var h=e.table||e.row||e.cell,n=d.isStack(f)||d.isStackChild(f),q=h;n&&(h="0"==(d.isStack(f)?e.style:d.getCellStyle(d.model.getParent(f))).horizontalStack,q=!h);var l=[];q&&(l=l.concat([b.toolbar.addButton("geSprite-insertcolumnbefore",mxResources.get("insertColumnBefore"),mxUtils.bind(this,function(){try{n?d.insertLane(f,!0):d.insertTableColumn(f,!0)}catch(p){b.handleError(p)}}),
-g),b.toolbar.addButton("geSprite-insertcolumnafter",mxResources.get("insertColumnAfter"),mxUtils.bind(this,function(){try{n?d.insertLane(f,!1):d.insertTableColumn(f,!1)}catch(p){b.handleError(p)}}),g),b.toolbar.addButton("geSprite-deletecolumn",mxResources.get("deleteColumn"),mxUtils.bind(this,function(){try{n?d.deleteLane(f):d.deleteTableColumn(f)}catch(p){b.handleError(p)}}),g)]));h&&(l=l.concat([b.toolbar.addButton("geSprite-insertrowbefore",mxResources.get("insertRowBefore"),mxUtils.bind(this,
-function(){try{n?d.insertLane(f,!0):d.insertTableRow(f,!0)}catch(p){b.handleError(p)}}),g),b.toolbar.addButton("geSprite-insertrowafter",mxResources.get("insertRowAfter"),mxUtils.bind(this,function(){try{n?d.insertLane(f,!1):d.insertTableRow(f,!1)}catch(p){b.handleError(p)}}),g),b.toolbar.addButton("geSprite-deleterow",mxResources.get("deleteRow"),mxUtils.bind(this,function(){try{n?d.deleteLane(f):d.deleteTableRow(f)}catch(p){b.handleError(p)}}),g)]));if(0<l.length){this.styleButtons(l);a.appendChild(g);
-3<l.length&&(l[2].style.marginRight="10px");q=0;if(null!=e.mergeCell)q+=this.addActions(a,["mergeCells"]);else if(1<e.style.colspan||1<e.style.rowspan)q+=this.addActions(a,["unmergeCells"]);0<q&&(g.style.paddingBottom="2px")}else a.style.display="none";return a};ArrangePanel.prototype.addLayerOps=function(a){this.addActions(a,["toFront","toBack"]);this.addActions(a,["bringForward","sendBackward"]);return a};
-ArrangePanel.prototype.addGroupOps=function(a){var b=this.editorUi,d=b.editor.graph;b=b.getSelectionState();a.style.paddingTop="8px";a.style.paddingBottom="6px";var e=this.addActions(a,["group","ungroup"])+this.addActions(a,["removeFromGroup"]);b.cell||b.row||(e+=this.addActions(a,["copySize","pasteSize","swap"]));var g=document.createElement("select");g.style.width="210px";g.style.textAlign="center";g.style.marginBottom="2px";for(var f=[{label:mxResources.get("reset"),action:"reset"},{label:mxResources.get("waypoints"),
-action:"clearWaypoints"},{label:mxResources.get("connectionPoints"),action:"clearAnchors"}],h=0;h<f.length;h++){var n=this.editorUi.actions.get(f[h].action);if(null==n||n.enabled){var q=document.createElement("option");q.setAttribute("value",f[h].action);q.setAttribute("title",f[h].label+(null!=n&&null!=n.shortcut?" ("+n.shortcut+")":""));mxUtils.write(q,f[h].label);g.appendChild(q)}}1<g.children.length&&(g.value="reset",a.appendChild(g),mxUtils.br(a),e++,mxEvent.addListener(g,"change",mxUtils.bind(this,
-function(l){l=this.editorUi.actions.get(g.value);g.value="reset";null!=l&&l.funct()})));e+=this.addActions(a,["lockUnlock"]);1==b.vertices.length&&0==b.edges.length&&0<d.getOpposites(d.getEdges(b.vertices[0]),b.vertices[0]).length&&(e+=this.addActions(a,["explore"]));0==e&&(a.style.display="none");return a};
-ArrangePanel.prototype.addAlign=function(a){var b=this.editorUi.getSelectionState(),d=this.editorUi.editor.graph;a.style.paddingTop="6px";a.style.paddingBottom="8px";a.appendChild(this.createTitle(mxResources.get("align")));var e=document.createElement("div");e.style.position="relative";e.style.whiteSpace="nowrap";e.style.paddingLeft="0px";e.style.paddingBottom="2px";e.style.borderWidth="0px";e.style.width="220px";e.className="geToolbarContainer";if(1<b.vertices.length){b=this.editorUi.toolbar.addButton("geSprite-alignleft",
-mxResources.get("left"),function(){d.alignCells(mxConstants.ALIGN_LEFT)},e);var g=this.editorUi.toolbar.addButton("geSprite-aligncenter",mxResources.get("center"),function(){d.alignCells(mxConstants.ALIGN_CENTER)},e),f=this.editorUi.toolbar.addButton("geSprite-alignright",mxResources.get("right"),function(){d.alignCells(mxConstants.ALIGN_RIGHT)},e),h=this.editorUi.toolbar.addButton("geSprite-aligntop",mxResources.get("top"),function(){d.alignCells(mxConstants.ALIGN_TOP)},e),n=this.editorUi.toolbar.addButton("geSprite-alignmiddle",
-mxResources.get("middle"),function(){d.alignCells(mxConstants.ALIGN_MIDDLE)},e),q=this.editorUi.toolbar.addButton("geSprite-alignbottom",mxResources.get("bottom"),function(){d.alignCells(mxConstants.ALIGN_BOTTOM)},e);this.styleButtons([b,g,f,h,n,q]);f.style.marginRight="10px"}a.appendChild(e);this.addActions(a,["snapToGrid"]);return a};
-ArrangePanel.prototype.addFlip=function(a){var b=this.editorUi.editor.graph;a.style.paddingTop="6px";a.style.paddingBottom="10px";var d=this.editorUi.getSelectionState(),e=document.createElement("div");e.style.marginTop="2px";e.style.marginBottom="8px";e.style.fontWeight="bold";mxUtils.write(e,mxResources.get("flip"));a.appendChild(e);e=mxUtils.button(mxResources.get("horizontal"),function(g){b.flipCells(d.cells,!0)});e.setAttribute("title",mxResources.get("horizontal"));e.style.width="104px";e.style.marginRight=
-"2px";a.appendChild(e);e=mxUtils.button(mxResources.get("vertical"),function(g){b.flipCells(d.cells,!1)});e.setAttribute("title",mxResources.get("vertical"));e.style.width="104px";a.appendChild(e);return a};
-ArrangePanel.prototype.addDistribute=function(a){var b=this.editorUi.editor.graph;a.style.paddingTop="6px";a.style.paddingBottom="8px";a.appendChild(this.createTitle(mxResources.get("distribute")));var d=mxUtils.button(mxResources.get("horizontal"),function(f){b.distributeCells(!0,null,e.checked)});d.setAttribute("title",mxResources.get("horizontal"));d.style.width="104px";d.style.marginRight="2px";a.appendChild(d);d=mxUtils.button(mxResources.get("vertical"),function(f){b.distributeCells(!1,null,
-e.checked)});d.setAttribute("title",mxResources.get("vertical"));d.style.width="104px";a.appendChild(d);mxUtils.br(a);d=document.createElement("div");d.style.margin="6px 0 0 0";d.style.display="flex";d.style.justifyContent="center";d.style.alignItems="center";var e=document.createElement("input");e.setAttribute("type","checkbox");e.setAttribute("id","spacingCheckbox");e.style.margin="0 6px 0 0";d.appendChild(e);var g=document.createElement("label");g.style.verticalAlign="top";g.setAttribute("for",
-"spacingCheckbox");g.style.userSelect="none";mxUtils.write(g,mxResources.get("spacing"));d.appendChild(g);a.appendChild(d);return a};
-ArrangePanel.prototype.addAngle=function(a){var b=this.editorUi,d=b.editor.graph,e=b.getSelectionState();a.style.paddingBottom="12px";var g=document.createElement("div");g.style.position="absolute";g.style.width="70px";g.style.marginTop="0px";g.style.fontWeight="bold";var f=null,h=null,n=null;!e.rotatable||e.table||e.row||e.cell?a.style.paddingTop="8px":(mxUtils.write(g,mxResources.get("angle")),a.appendChild(g),f=this.addUnitInput(a,"°",16,52,function(){h.apply(this,arguments)}),mxUtils.br(a),a.style.paddingTop=
-"10px");e.containsLabel||(g=mxResources.get("reverse"),0<e.vertices.length&&0<e.edges.length?g=mxResources.get("turn")+" / "+g:0<e.vertices.length&&(g=mxResources.get("turn")),n=mxUtils.button(g,function(l){b.actions.get("turn").funct(l)}),n.setAttribute("title",g+" ("+this.editorUi.actions.get("turn").shortcut+")"),n.style.width="210px",a.appendChild(n),null!=f&&(n.style.marginTop="8px"));if(null!=f){var q=mxUtils.bind(this,function(l,p,w){if(w||document.activeElement!=f)e=b.getSelectionState(),
-l=parseFloat(mxUtils.getValue(e.style,mxConstants.STYLE_ROTATION,0)),f.value=isNaN(l)?"":l+"°"});h=this.installInputHandler(f,mxConstants.STYLE_ROTATION,0,0,360,"°",null,!0);this.addKeyHandler(f,q);d.getModel().addListener(mxEvent.CHANGE,q);this.listeners.push({destroy:function(){d.getModel().removeListener(q)}});q()}return a};
+ArrangePanel.prototype.addTable=function(a){var b=this.editorUi,e=b.editor.graph,f=b.getSelectionState();a.style.paddingTop="6px";a.style.paddingBottom="10px";var h=document.createElement("div");h.style.marginTop="0px";h.style.marginBottom="6px";h.style.fontWeight="bold";mxUtils.write(h,mxResources.get("table"));a.appendChild(h);h=document.createElement("div");h.style.position="relative";h.style.paddingLeft="0px";h.style.borderWidth="0px";h.style.width="220px";h.className="geToolbarContainer";var d=
+f.vertices[0];1<e.getSelectionCount()&&(e.isTableCell(d)&&(d=e.model.getParent(d)),e.isTableRow(d)&&(d=e.model.getParent(d)));var g=f.table||f.row||f.cell,n=e.isStack(d)||e.isStackChild(d),q=g;n&&(g="0"==(e.isStack(d)?f.style:e.getCellStyle(e.model.getParent(d))).horizontalStack,q=!g);var k=[];q&&(k=k.concat([b.toolbar.addButton("geSprite-insertcolumnbefore",mxResources.get("insertColumnBefore"),mxUtils.bind(this,function(){try{n?e.insertLane(d,!0):e.insertTableColumn(d,!0)}catch(p){b.handleError(p)}}),
+h),b.toolbar.addButton("geSprite-insertcolumnafter",mxResources.get("insertColumnAfter"),mxUtils.bind(this,function(){try{n?e.insertLane(d,!1):e.insertTableColumn(d,!1)}catch(p){b.handleError(p)}}),h),b.toolbar.addButton("geSprite-deletecolumn",mxResources.get("deleteColumn"),mxUtils.bind(this,function(){try{n?e.deleteLane(d):e.deleteTableColumn(d)}catch(p){b.handleError(p)}}),h)]));g&&(k=k.concat([b.toolbar.addButton("geSprite-insertrowbefore",mxResources.get("insertRowBefore"),mxUtils.bind(this,
+function(){try{n?e.insertLane(d,!0):e.insertTableRow(d,!0)}catch(p){b.handleError(p)}}),h),b.toolbar.addButton("geSprite-insertrowafter",mxResources.get("insertRowAfter"),mxUtils.bind(this,function(){try{n?e.insertLane(d,!1):e.insertTableRow(d,!1)}catch(p){b.handleError(p)}}),h),b.toolbar.addButton("geSprite-deleterow",mxResources.get("deleteRow"),mxUtils.bind(this,function(){try{n?e.deleteLane(d):e.deleteTableRow(d)}catch(p){b.handleError(p)}}),h)]));if(0<k.length){this.styleButtons(k);a.appendChild(h);
+3<k.length&&(k[2].style.marginRight="10px");q=0;if(null!=f.mergeCell)q+=this.addActions(a,["mergeCells"]);else if(1<f.style.colspan||1<f.style.rowspan)q+=this.addActions(a,["unmergeCells"]);0<q&&(h.style.paddingBottom="2px")}else a.style.display="none";return a};ArrangePanel.prototype.addLayerOps=function(a){this.addActions(a,["toFront","toBack"]);this.addActions(a,["bringForward","sendBackward"]);return a};
+ArrangePanel.prototype.addGroupOps=function(a){var b=this.editorUi,e=b.editor.graph;b=b.getSelectionState();a.style.paddingTop="8px";a.style.paddingBottom="6px";var f=this.addActions(a,["group","ungroup"])+this.addActions(a,["removeFromGroup"]);b.cell||b.row||(f+=this.addActions(a,["copySize","pasteSize","swap"]));var h=document.createElement("select");h.style.width="210px";h.style.textAlign="center";h.style.marginBottom="2px";for(var d=[{label:mxResources.get("reset"),action:"reset"},{label:mxResources.get("waypoints"),
+action:"clearWaypoints"},{label:mxResources.get("connectionPoints"),action:"clearAnchors"}],g=0;g<d.length;g++){var n=this.editorUi.actions.get(d[g].action);if(null==n||n.enabled){var q=document.createElement("option");q.setAttribute("value",d[g].action);q.setAttribute("title",d[g].label+(null!=n&&null!=n.shortcut?" ("+n.shortcut+")":""));mxUtils.write(q,d[g].label);h.appendChild(q)}}1<h.children.length&&(h.value="reset",a.appendChild(h),mxUtils.br(a),f++,mxEvent.addListener(h,"change",mxUtils.bind(this,
+function(k){k=this.editorUi.actions.get(h.value);h.value="reset";null!=k&&k.funct()})));f+=this.addActions(a,["lockUnlock"]);1==b.vertices.length&&0==b.edges.length&&0<e.getOpposites(e.getEdges(b.vertices[0]),b.vertices[0]).length&&(f+=this.addActions(a,["explore"]));0==f&&(a.style.display="none");return a};
+ArrangePanel.prototype.addAlign=function(a){var b=this.editorUi.getSelectionState(),e=this.editorUi.editor.graph;a.style.paddingTop="6px";a.style.paddingBottom="8px";a.appendChild(this.createTitle(mxResources.get("align")));var f=document.createElement("div");f.style.position="relative";f.style.whiteSpace="nowrap";f.style.paddingLeft="0px";f.style.paddingBottom="2px";f.style.borderWidth="0px";f.style.width="220px";f.className="geToolbarContainer";if(1<b.vertices.length){b=this.editorUi.toolbar.addButton("geSprite-alignleft",
+mxResources.get("left"),function(){e.alignCells(mxConstants.ALIGN_LEFT)},f);var h=this.editorUi.toolbar.addButton("geSprite-aligncenter",mxResources.get("center"),function(){e.alignCells(mxConstants.ALIGN_CENTER)},f),d=this.editorUi.toolbar.addButton("geSprite-alignright",mxResources.get("right"),function(){e.alignCells(mxConstants.ALIGN_RIGHT)},f),g=this.editorUi.toolbar.addButton("geSprite-aligntop",mxResources.get("top"),function(){e.alignCells(mxConstants.ALIGN_TOP)},f),n=this.editorUi.toolbar.addButton("geSprite-alignmiddle",
+mxResources.get("middle"),function(){e.alignCells(mxConstants.ALIGN_MIDDLE)},f),q=this.editorUi.toolbar.addButton("geSprite-alignbottom",mxResources.get("bottom"),function(){e.alignCells(mxConstants.ALIGN_BOTTOM)},f);this.styleButtons([b,h,d,g,n,q]);d.style.marginRight="10px"}a.appendChild(f);this.addActions(a,["snapToGrid"]);return a};
+ArrangePanel.prototype.addFlip=function(a){var b=this.editorUi.editor.graph;a.style.paddingTop="6px";a.style.paddingBottom="10px";var e=this.editorUi.getSelectionState(),f=document.createElement("div");f.style.marginTop="2px";f.style.marginBottom="8px";f.style.fontWeight="bold";mxUtils.write(f,mxResources.get("flip"));a.appendChild(f);f=mxUtils.button(mxResources.get("horizontal"),function(h){b.flipCells(e.cells,!0)});f.setAttribute("title",mxResources.get("horizontal"));f.style.width="104px";f.style.marginRight=
+"2px";a.appendChild(f);f=mxUtils.button(mxResources.get("vertical"),function(h){b.flipCells(e.cells,!1)});f.setAttribute("title",mxResources.get("vertical"));f.style.width="104px";a.appendChild(f);return a};
+ArrangePanel.prototype.addDistribute=function(a){var b=this.editorUi.editor.graph;a.style.paddingTop="6px";a.style.paddingBottom="8px";a.appendChild(this.createTitle(mxResources.get("distribute")));var e=mxUtils.button(mxResources.get("horizontal"),function(d){b.distributeCells(!0,null,f.checked)});e.setAttribute("title",mxResources.get("horizontal"));e.style.width="104px";e.style.marginRight="2px";a.appendChild(e);e=mxUtils.button(mxResources.get("vertical"),function(d){b.distributeCells(!1,null,
+f.checked)});e.setAttribute("title",mxResources.get("vertical"));e.style.width="104px";a.appendChild(e);mxUtils.br(a);e=document.createElement("div");e.style.margin="6px 0 0 0";e.style.display="flex";e.style.justifyContent="center";e.style.alignItems="center";var f=document.createElement("input");f.setAttribute("type","checkbox");f.setAttribute("id","spacingCheckbox");f.style.margin="0 6px 0 0";e.appendChild(f);var h=document.createElement("label");h.style.verticalAlign="top";h.setAttribute("for",
+"spacingCheckbox");h.style.userSelect="none";mxUtils.write(h,mxResources.get("spacing"));e.appendChild(h);a.appendChild(e);return a};
+ArrangePanel.prototype.addAngle=function(a){var b=this.editorUi,e=b.editor.graph,f=b.getSelectionState();a.style.paddingBottom="12px";var h=document.createElement("div");h.style.position="absolute";h.style.width="70px";h.style.marginTop="0px";h.style.fontWeight="bold";var d=null,g=null,n=null;!f.rotatable||f.table||f.row||f.cell?a.style.paddingTop="8px":(mxUtils.write(h,mxResources.get("angle")),a.appendChild(h),d=this.addUnitInput(a,"°",16,52,function(){g.apply(this,arguments)}),mxUtils.br(a),a.style.paddingTop=
+"10px");f.containsLabel||(h=mxResources.get("reverse"),0<f.vertices.length&&0<f.edges.length?h=mxResources.get("turn")+" / "+h:0<f.vertices.length&&(h=mxResources.get("turn")),n=mxUtils.button(h,function(k){b.actions.get("turn").funct(k)}),n.setAttribute("title",h+" ("+this.editorUi.actions.get("turn").shortcut+")"),n.style.width="210px",a.appendChild(n),null!=d&&(n.style.marginTop="8px"));if(null!=d){var q=mxUtils.bind(this,function(k,p,w){if(w||document.activeElement!=d)f=b.getSelectionState(),
+k=parseFloat(mxUtils.getValue(f.style,mxConstants.STYLE_ROTATION,0)),d.value=isNaN(k)?"":k+"°"});g=this.installInputHandler(d,mxConstants.STYLE_ROTATION,0,0,360,"°",null,!0);this.addKeyHandler(d,q);e.getModel().addListener(mxEvent.CHANGE,q);this.listeners.push({destroy:function(){e.getModel().removeListener(q)}});q()}return a};
BaseFormatPanel.prototype.getUnit=function(a){var b="";switch(this.editorUi.editor.graph.view.unit){case mxConstants.POINTS:b="pt";break;case mxConstants.INCHES:b='"';break;case mxConstants.MILLIMETERS:b="mm";break;case mxConstants.METERS:b="m"}return(a?a:"")+b};BaseFormatPanel.prototype.inUnit=function(a){return this.editorUi.editor.graph.view.formatUnitText(a)};
BaseFormatPanel.prototype.fromUnit=function(a){switch(this.editorUi.editor.graph.view.unit){case mxConstants.POINTS:return a;case mxConstants.INCHES:return a*mxConstants.PIXELS_PER_INCH;case mxConstants.MILLIMETERS:return a*mxConstants.PIXELS_PER_MM;case mxConstants.METERS:return a*mxConstants.PIXELS_PER_MM*1E3}};BaseFormatPanel.prototype.isFloatUnit=function(){return this.editorUi.editor.graph.view.unit!=mxConstants.POINTS};
BaseFormatPanel.prototype.getUnitStep=function(){switch(this.editorUi.editor.graph.view.unit){case mxConstants.POINTS:return 1;case mxConstants.INCHES:return.1;case mxConstants.MILLIMETERS:return.5;case mxConstants.METERS:return.001}};
-ArrangePanel.prototype.addGeometry=function(a){var b=this,d=this.editorUi,e=d.editor.graph,g=e.getModel(),f=d.getSelectionState(),h=this.createPanel();h.style.paddingBottom="8px";var n=document.createElement("div");n.style.position="absolute";n.style.width="50px";n.style.marginTop="0px";n.style.fontWeight="bold";mxUtils.write(n,mxResources.get("size"));h.appendChild(n);var q=this.addUnitInput(h,this.getUnit(),87,52,function(){C.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),
-l=this.addUnitInput(h,this.getUnit(),16,52,function(){F.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),p=document.createElement("div");p.className="geSprite geSprite-fit";p.setAttribute("title",mxResources.get("autosize")+" ("+this.editorUi.actions.get("autosize").shortcut+")");p.style.position="relative";p.style.cursor="pointer";p.style.marginTop="-3px";p.style.border="0px";p.style.left="42px";mxUtils.setOpacity(p,50);mxEvent.addListener(p,"mouseenter",function(){mxUtils.setOpacity(p,
-100)});mxEvent.addListener(p,"mouseleave",function(){mxUtils.setOpacity(p,50)});mxEvent.addListener(p,"click",function(){d.actions.get("autosize").funct()});h.appendChild(p);f.row?(q.style.visibility="hidden",q.nextSibling.style.visibility="hidden"):this.addLabel(h,mxResources.get("width"),87,64);this.addLabel(h,mxResources.get("height"),16,64);mxUtils.br(h);n=document.createElement("div");n.style.paddingTop="8px";n.style.paddingRight="20px";n.style.whiteSpace="nowrap";n.style.textAlign="right";var w=
-this.createCellOption(mxResources.get("constrainProportions"),mxConstants.STYLE_ASPECT,null,"fixed","null");w.style.width="210px";n.appendChild(w);f.cell||f.row?p.style.visibility="hidden":h.appendChild(n);var z=w.getElementsByTagName("input")[0];this.addKeyHandler(q,S);this.addKeyHandler(l,S);var C=this.addGeometryHandler(q,function(M,U,ba){U=Math.max(1,b.fromUnit(U));if(e.isTableCell(ba))return e.setTableColumnWidth(ba,U-M.width,!0),!0;0<M.width&&(z.checked&&(M.height=Math.round(M.height*U*100/
-M.width)/100),M.width=U)});var F=this.addGeometryHandler(l,function(M,U,ba){U=Math.max(1,b.fromUnit(U));e.isTableCell(ba)&&(ba=g.getParent(ba));if(e.isTableRow(ba))return e.setTableRowHeight(ba,U-M.height),!0;0<M.height&&(z.checked&&(M.width=Math.round(M.width*U*100/M.height)/100),M.height=U)});(f.resizable||f.row||f.cell)&&a.appendChild(h);var D=this.createPanel();D.style.paddingBottom="30px";n=document.createElement("div");n.style.position="absolute";n.style.width="70px";n.style.marginTop="0px";
-n.style.fontWeight="bold";mxUtils.write(n,mxResources.get("position"));D.appendChild(n);var G=this.addUnitInput(D,this.getUnit(),87,52,function(){X.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),K=this.addUnitInput(D,this.getUnit(),16,52,function(){Y.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());mxUtils.br(D);w=!0;var I=null,O=null;if(f.movable){if(0==f.edges.length&&1==f.vertices.length){var H=e.getCellGeometry(f.vertices[0]);if(null!=H&&H.relative){mxUtils.br(D);
-n=document.createElement("div");n.style.position="absolute";n.style.width="70px";n.style.marginTop="0px";mxUtils.write(n,mxResources.get("relative"));D.appendChild(n);I=this.addGenericInput(D," %",87,52,function(){return Math.round(1E3*H.x)/10},function(M){M=parseFloat(M);if(!isNaN(M)){g.beginUpdate();try{H=H.clone(),H.x=parseFloat(M)/100,g.setGeometry(f.vertices[0],H)}finally{g.endUpdate()}}});if(g.isEdge(g.getParent(f.vertices[0]))){w=!1;var Z=null;O=this.addUnitInput(D,this.getUnit(),16,52,function(){Z.apply(this,
-arguments)});Z=this.addGeometryHandler(O,function(M,U){M.y=b.fromUnit(U)})}else O=this.addGenericInput(D," %",16,52,function(){return Math.round(1E3*H.y)/10},function(M){M=parseFloat(M);if(!isNaN(M)){g.beginUpdate();try{H=H.clone(),H.y=parseFloat(M)/100,g.setGeometry(f.vertices[0],H)}finally{g.endUpdate()}}});mxUtils.br(D)}}a.appendChild(D)}this.addLabel(D,mxResources.get(w?"left":"line"),87,64).style.marginTop="8px";this.addLabel(D,mxResources.get(w?"top":"orthogonal"),16,64).style.marginTop="8px";
-var S=mxUtils.bind(this,function(M,U,ba){f=d.getSelectionState();if(f.containsLabel||f.vertices.length!=e.getSelectionCount()||null==f.width||null==f.height)h.style.display="none";else{h.style.display="";if(ba||document.activeElement!=q)q.value=this.inUnit(f.width)+" "+this.getUnit();if(ba||document.activeElement!=l)l.value=this.inUnit(f.height)+" "+this.getUnit()}if(f.vertices.length==e.getSelectionCount()&&0<f.vertices.length&&null!=f.x&&null!=f.y){M=e.getCellGeometry(f.vertices[0]);D.style.display=
-"";if(ba||document.activeElement!=G)G.value=this.inUnit(f.x)+" "+this.getUnit();if(ba||document.activeElement!=K)K.value=this.inUnit(f.y)+" "+this.getUnit();null!=M&&M.relative&&(null==I||!ba&&document.activeElement==I||(I.value=Math.round(1E3*M.x)/10+" %"),null==O||!ba&&document.activeElement==O||(g.isEdge(g.getParent(f.vertices[0]))?O.value=this.inUnit(M.y)+" "+this.getUnit():O.value=Math.round(1E3*M.y)/10+" %"))}else D.style.display="none"});this.listeners.push({destroy:function(){g.removeListener(S)}});
-g.addListener(mxEvent.CHANGE,S);this.addKeyHandler(G,S);this.addKeyHandler(K,S);S();var X=this.addGeometryHandler(G,function(M,U){U=b.fromUnit(U);M.relative?(M.offset=null!=M.offset?M.offset:new mxPoint,M.offset.x=U):M.x=U});var Y=this.addGeometryHandler(K,function(M,U){U=b.fromUnit(U);M.relative?(M.offset=null!=M.offset?M.offset:new mxPoint,M.offset.y=U):M.y=U});f.movable&&(0==f.edges.length&&1==f.vertices.length&&g.isEdge(g.getParent(f.vertices[0]))&&(H=e.getCellGeometry(f.vertices[0]),null!=H&&
-H.relative&&(n=mxUtils.button(mxResources.get("center"),mxUtils.bind(this,function(M){g.beginUpdate();try{H=H.clone(),H.x=0,H.y=0,H.offset=new mxPoint,g.setGeometry(f.vertices[0],H)}finally{g.endUpdate()}})),n.setAttribute("title",mxResources.get("center")),n.style.width="134px",n.style.left="89px",n.style.position="absolute",mxUtils.br(D),mxUtils.br(D),D.appendChild(n))),a.appendChild(D))};
-ArrangePanel.prototype.addGeometryHandler=function(a,b){function d(n){if(""!=a.value){var q=parseFloat(a.value);if(isNaN(q))a.value=f+" "+h.getUnit();else if(q!=f){g.getModel().beginUpdate();try{for(var l=e.getSelectionState().cells,p=0;p<l.length;p++)if(g.getModel().isVertex(l[p])){var w=g.getCellGeometry(l[p]);if(null!=w&&(w=w.clone(),!b(w,q,l[p]))){var z=g.view.getState(l[p]);null!=z&&g.isRecursiveVertexResize(z)&&g.resizeChildCells(l[p],w);g.getModel().setGeometry(l[p],w);g.constrainChildCells(l[p])}}}finally{g.getModel().endUpdate()}f=
-q;a.value=q+" "+h.getUnit()}}mxEvent.consume(n)}var e=this.editorUi,g=e.editor.graph,f=null,h=this;mxEvent.addListener(a,"blur",d);mxEvent.addListener(a,"change",d);mxEvent.addListener(a,"focus",function(){f=a.value});return d};
-ArrangePanel.prototype.addEdgeGeometryHandler=function(a,b){function d(h){if(""!=a.value){var n=parseFloat(a.value);if(isNaN(n))a.value=f+" pt";else if(n!=f){g.getModel().beginUpdate();try{for(var q=e.getSelectionState().cells,l=0;l<q.length;l++)if(g.getModel().isEdge(q[l])){var p=g.getCellGeometry(q[l]);null!=p&&(p=p.clone(),b(p,n),g.getModel().setGeometry(q[l],p))}}finally{g.getModel().endUpdate()}f=n;a.value=n+" pt"}}mxEvent.consume(h)}var e=this.editorUi,g=e.editor.graph,f=null;mxEvent.addListener(a,
-"blur",d);mxEvent.addListener(a,"change",d);mxEvent.addListener(a,"focus",function(){f=a.value});return d};
-ArrangePanel.prototype.addEdgeGeometry=function(a){var b=this,d=this.editorUi,e=d.editor.graph,g=d.getSelectionState(),f=this.createPanel(),h=document.createElement("div");h.style.position="absolute";h.style.width="70px";h.style.marginTop="0px";h.style.fontWeight="bold";mxUtils.write(h,mxResources.get("width"));f.appendChild(h);var n=this.addUnitInput(f,"pt",12,44,function(){q.apply(this,arguments)});mxUtils.br(f);this.addKeyHandler(n,D);var q=mxUtils.bind(this,function(H){var Z=parseInt(n.value);
-Z=Math.min(999,Math.max(1,isNaN(Z)?1:Z));if(Z!=mxUtils.getValue(g.style,"width",mxCellRenderer.defaultShapes.flexArrow.prototype.defaultWidth)){var S=d.getSelectionState().cells;e.setCellStyles("width",Z,S);d.fireEvent(new mxEventObject("styleChanged","keys",["width"],"values",[Z],"cells",S))}n.value=Z+" pt";mxEvent.consume(H)});mxEvent.addListener(n,"blur",q);mxEvent.addListener(n,"change",q);a.appendChild(f);var l=this.createPanel();l.style.paddingBottom="30px";h=document.createElement("div");h.style.position=
-"absolute";h.style.width="70px";h.style.marginTop="0px";mxUtils.write(h,mxResources.get("linestart"));l.appendChild(h);var p=this.addUnitInput(l,this.getUnit(),87,52,function(){G.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),w=this.addUnitInput(l,this.getUnit(),16,52,function(){K.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());mxUtils.br(l);this.addLabel(l,mxResources.get("left"),87,64);this.addLabel(l,mxResources.get("top"),16,64);a.appendChild(l);
-this.addKeyHandler(p,D);this.addKeyHandler(w,D);var z=this.createPanel();z.style.paddingBottom="30px";h=document.createElement("div");h.style.position="absolute";h.style.width="70px";h.style.marginTop="0px";mxUtils.write(h,mxResources.get("lineend"));z.appendChild(h);var C=this.addUnitInput(z,this.getUnit(),87,52,function(){I.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),F=this.addUnitInput(z,this.getUnit(),16,52,function(){O.apply(this,arguments)},this.getUnitStep(),null,
-null,this.isFloatUnit());mxUtils.br(z);this.addLabel(z,mxResources.get("left"),87,64);this.addLabel(z,mxResources.get("top"),16,64);a.appendChild(z);this.addKeyHandler(C,D);this.addKeyHandler(F,D);var D=mxUtils.bind(this,function(H,Z,S){g=d.getSelectionState();H=g.cells[0];if("link"==g.style.shape||"flexArrow"==g.style.shape){if(f.style.display="",S||document.activeElement!=n)S=mxUtils.getValue(g.style,"width",mxCellRenderer.defaultShapes.flexArrow.prototype.defaultWidth),n.value=S+" pt"}else f.style.display=
-"none";1==g.cells.length&&e.model.isEdge(H)?(S=e.model.getGeometry(H),null!=S&&null!=S.sourcePoint&&null==e.model.getTerminal(H,!0)?(p.value=this.inUnit(S.sourcePoint.x)+" "+this.getUnit(),w.value=this.inUnit(S.sourcePoint.y)+" "+this.getUnit()):l.style.display="none",null!=S&&null!=S.targetPoint&&null==e.model.getTerminal(H,!1)?(C.value=this.inUnit(S.targetPoint.x)+" "+this.getUnit(),F.value=this.inUnit(S.targetPoint.y)+" "+this.getUnit()):z.style.display="none"):(l.style.display="none",z.style.display=
-"none")});var G=this.addEdgeGeometryHandler(p,function(H,Z){H.sourcePoint.x=b.fromUnit(Z)});var K=this.addEdgeGeometryHandler(w,function(H,Z){H.sourcePoint.y=b.fromUnit(Z)});var I=this.addEdgeGeometryHandler(C,function(H,Z){H.targetPoint.x=b.fromUnit(Z)});var O=this.addEdgeGeometryHandler(F,function(H,Z){H.targetPoint.y=b.fromUnit(Z)});e.getModel().addListener(mxEvent.CHANGE,D);this.listeners.push({destroy:function(){e.getModel().removeListener(D)}});D()};
-TextFormatPanel=function(a,b,d){BaseFormatPanel.call(this,a,b,d);this.init()};mxUtils.extend(TextFormatPanel,BaseFormatPanel);TextFormatPanel.prototype.init=function(){this.container.style.borderBottom="none";this.addFont(this.container);this.container.appendChild(this.addFontOps(this.createPanel()))};TextFormatPanel.prototype.addFontOps=function(a){a.style.paddingTop="8px";a.style.paddingBottom="6px";0==this.addActions(a,["removeFormat"])&&(a.style.display="none");return a};
-TextFormatPanel.prototype.addFont=function(a){function b(fa,Ga){fa.style.backgroundImage=Ga?Editor.isDarkMode()?"linear-gradient(rgb(0 161 241) 0px, rgb(0, 97, 146) 100%)":"linear-gradient(#c5ecff 0px,#87d4fb 100%)":""}var d=this.editorUi,e=d.editor.graph,g=d.getSelectionState(),f=this.createTitle(mxResources.get("font"));f.style.paddingLeft="14px";f.style.paddingTop="10px";f.style.paddingBottom="6px";a.appendChild(f);f=this.createPanel();f.style.paddingTop="2px";f.style.paddingBottom="2px";f.style.position=
-"relative";f.style.marginLeft="-2px";f.style.borderWidth="0px";f.className="geToolbarContainer";if(e.cellEditor.isContentEditing()){var h=f.cloneNode(),n=this.editorUi.toolbar.addMenu(mxResources.get("style"),mxResources.get("style"),!0,"formatBlock",h,null,!0);this.addArrow(n);n.style.width="211px";n.style.alignItems="center";n.style.justifyContent="center";n.style.whiteSpace="nowrap";n.style.overflow="hidden";n.style.margin="0px";n.style.position="relative";n=n.getElementsByTagName("div")[0];n.style.position=
-"absolute";n.style.right="2px";a.appendChild(h)}a.appendChild(f);h=this.createPanel();h.style.marginTop="8px";h.style.borderWidth="1px";h.style.borderStyle="solid";h.style.paddingTop="6px";h.style.paddingBottom="2px";var q=this.editorUi.toolbar.addMenu("Helvetica",mxResources.get("fontFamily"),!0,"fontFamily",f,null,!0);this.addArrow(q);q.style.width="211px";q.style.alignItems="center";q.style.justifyContent="center";q.style.whiteSpace="nowrap";q.style.overflow="hidden";q.style.margin="0px";q.style.position=
-"relative";n=q.getElementsByTagName("div")[0];n.style.position="absolute";n.style.right="2px";n=f.cloneNode(!1);n.style.marginLeft="-3px";var l=this.editorUi.toolbar.addItems(["bold","italic","underline"],n,!0);l[0].setAttribute("title",mxResources.get("bold")+" ("+this.editorUi.actions.get("bold").shortcut+")");l[1].setAttribute("title",mxResources.get("italic")+" ("+this.editorUi.actions.get("italic").shortcut+")");l[2].setAttribute("title",mxResources.get("underline")+" ("+this.editorUi.actions.get("underline").shortcut+
-")");var p=this.editorUi.toolbar.addItems(["vertical"],n,!0)[0];a.appendChild(n);this.styleButtons(l);this.styleButtons([p]);var w=f.cloneNode(!1);w.style.marginLeft="-3px";w.style.paddingBottom="0px";var z=function(fa){return function(){return fa()}},C=this.editorUi.toolbar.addButton("geSprite-left",mxResources.get("left"),e.cellEditor.isContentEditing()?function(fa){e.cellEditor.alignText(mxConstants.ALIGN_LEFT,fa);d.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ALIGN],"values",
-[mxConstants.ALIGN_LEFT],"cells",g.cells))}:z(this.editorUi.menus.createStyleChangeFunction([mxConstants.STYLE_ALIGN],[mxConstants.ALIGN_LEFT])),w),F=this.editorUi.toolbar.addButton("geSprite-center",mxResources.get("center"),e.cellEditor.isContentEditing()?function(fa){e.cellEditor.alignText(mxConstants.ALIGN_CENTER,fa);d.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ALIGN],"values",[mxConstants.ALIGN_CENTER],"cells",g.cells))}:z(this.editorUi.menus.createStyleChangeFunction([mxConstants.STYLE_ALIGN],
-[mxConstants.ALIGN_CENTER])),w),D=this.editorUi.toolbar.addButton("geSprite-right",mxResources.get("right"),e.cellEditor.isContentEditing()?function(fa){e.cellEditor.alignText(mxConstants.ALIGN_RIGHT,fa);d.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ALIGN],"values",[mxConstants.ALIGN_RIGHT],"cells",g.cells))}:z(this.editorUi.menus.createStyleChangeFunction([mxConstants.STYLE_ALIGN],[mxConstants.ALIGN_RIGHT])),w);this.styleButtons([C,F,D]);if(e.cellEditor.isContentEditing()){var G=
-this.editorUi.toolbar.addButton("geSprite-removeformat",mxResources.get("strikethrough"),function(){document.execCommand("strikeThrough",!1,null)},n);this.styleButtons([G]);G.firstChild.style.background="url(data:image/sv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IuMzcuMTcuNjYuMzQuODcuNTEuMjEuMTcuMzUuMzYuNDMuNTcuMDcuMi4xMS40My4xMS42OSAwIC4yMy0uMDUuNDUtLjE0LjY2LS4wOS4yLS4yMy4zOC0uNDIuNTMtLjE5LjE1LS40Mi4yNi0uNzEuMzUtLjI5LjA4LS42My4xMy0xLjAxLjEzLS40MyAwLS44My0uMDQtMS4xOC0uMTNzLS42Ni0uMjMtLjkxLS40MmMtLjI1LS4xOS0uNDUtLjQ0LS41OS0uNzUtLjE0LS4zMS0uMjUtLjc2LS4yNS0xLjIxSDYuNGMwIC41NS4wOCAxLjEzLjI0IDEuNTguMTYuNDUuMzcuODUuNjUgMS4yMS4yOC4zNS42LjY2Ljk4LjkyLjM3LjI2Ljc4LjQ4IDEuMjIuNjUuNDQuMTcuOS4zIDEuMzguMzkuNDguMDguOTYuMTMgMS40NC4xMy44IDAgMS41My0uMDkgMi4xOC0uMjhzMS4yMS0uNDUgMS42Ny0uNzljLjQ2LS4zNC44Mi0uNzcgMS4wNy0xLjI3cy4zOC0xLjA3LjM4LTEuNzFjMC0uNi0uMS0xLjE0LS4zMS0xLjYxLS4wNS0uMTEtLjExLS4yMy0uMTctLjMzSDIxeiIvPjwvc3ZnPg==)";
-G.firstChild.style.backgroundPosition="2px 2px";G.firstChild.style.backgroundSize="18px 18px";this.styleButtons([G])}var K=this.editorUi.toolbar.addButton("geSprite-top",mxResources.get("top"),z(this.editorUi.menus.createStyleChangeFunction([mxConstants.STYLE_VERTICAL_ALIGN],[mxConstants.ALIGN_TOP])),w),I=this.editorUi.toolbar.addButton("geSprite-middle",mxResources.get("middle"),z(this.editorUi.menus.createStyleChangeFunction([mxConstants.STYLE_VERTICAL_ALIGN],[mxConstants.ALIGN_MIDDLE])),w),O=this.editorUi.toolbar.addButton("geSprite-bottom",
-mxResources.get("bottom"),z(this.editorUi.menus.createStyleChangeFunction([mxConstants.STYLE_VERTICAL_ALIGN],[mxConstants.ALIGN_BOTTOM])),w);this.styleButtons([K,I,O]);a.appendChild(w);var H,Z,S,X,Y;if(e.cellEditor.isContentEditing()){K.style.display="none";I.style.display="none";O.style.display="none";p.style.display="none";var M=this.editorUi.toolbar.addButton("geSprite-justifyfull",mxResources.get("block"),function(){1==M.style.opacity&&document.execCommand("justifyfull",!1,null)},w);M.style.marginRight=
-"9px";M.style.opacity=1;this.styleButtons([M,H=this.editorUi.toolbar.addButton("geSprite-subscript",mxResources.get("subscript")+" ("+Editor.ctrlKey+"+,)",function(){document.execCommand("subscript",!1,null)},w),Z=this.editorUi.toolbar.addButton("geSprite-superscript",mxResources.get("superscript")+" ("+Editor.ctrlKey+"+.)",function(){document.execCommand("superscript",!1,null)},w)]);H.style.marginLeft="10px";z=w.cloneNode(!1);z.style.paddingTop="4px";w=[this.editorUi.toolbar.addButton("geSprite-orderedlist",
-mxResources.get("numberedList"),function(){document.execCommand("insertorderedlist",!1,null)},z),this.editorUi.toolbar.addButton("geSprite-unorderedlist",mxResources.get("bulletedList"),function(){document.execCommand("insertunorderedlist",!1,null)},z),this.editorUi.toolbar.addButton("geSprite-outdent",mxResources.get("decreaseIndent"),function(){document.execCommand("outdent",!1,null)},z),this.editorUi.toolbar.addButton("geSprite-indent",mxResources.get("increaseIndent"),function(){document.execCommand("indent",
-!1,null)},z),this.editorUi.toolbar.addButton("geSprite-removeformat",mxResources.get("removeFormat"),function(){document.execCommand("removeformat",!1,null)},z),this.editorUi.toolbar.addButton("geSprite-code",mxResources.get("html"),function(){e.cellEditor.toggleViewMode()},z)];this.styleButtons(w);w[w.length-2].style.marginLeft="10px";a.appendChild(z)}else l[2].style.marginRight="12px",D.style.marginRight="12px";w=f.cloneNode(!1);w.removeAttribute("class");w.style.marginLeft="0px";w.style.paddingTop=
-"8px";w.style.paddingBottom="4px";w.style.fontWeight="normal";mxUtils.write(w,mxResources.get("position"));var U=document.createElement("select");U.style.position="absolute";U.style.left="126px";U.style.width="98px";U.style.borderWidth="1px";U.style.borderStyle="solid";U.style.marginTop="-3px";G="topLeft top topRight left center right bottomLeft bottom bottomRight".split(" ");var ba={topLeft:[mxConstants.ALIGN_LEFT,mxConstants.ALIGN_TOP,mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_BOTTOM],top:[mxConstants.ALIGN_CENTER,
+ArrangePanel.prototype.addGeometry=function(a){var b=this,e=this.editorUi,f=e.editor.graph,h=f.getModel(),d=e.getSelectionState(),g=this.createPanel();g.style.paddingBottom="8px";var n=document.createElement("div");n.style.position="absolute";n.style.width="50px";n.style.marginTop="0px";n.style.fontWeight="bold";mxUtils.write(n,mxResources.get("size"));g.appendChild(n);var q=this.addUnitInput(g,this.getUnit(),87,52,function(){C.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),
+k=this.addUnitInput(g,this.getUnit(),16,52,function(){F.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),p=document.createElement("div");p.className="geSprite geSprite-fit";p.setAttribute("title",mxResources.get("autosize")+" ("+this.editorUi.actions.get("autosize").shortcut+")");p.style.position="relative";p.style.cursor="pointer";p.style.marginTop="-3px";p.style.border="0px";p.style.left="42px";mxUtils.setOpacity(p,50);mxEvent.addListener(p,"mouseenter",function(){mxUtils.setOpacity(p,
+100)});mxEvent.addListener(p,"mouseleave",function(){mxUtils.setOpacity(p,50)});mxEvent.addListener(p,"click",function(){e.actions.get("autosize").funct()});g.appendChild(p);d.row?(q.style.visibility="hidden",q.nextSibling.style.visibility="hidden"):this.addLabel(g,mxResources.get("width"),87,64);this.addLabel(g,mxResources.get("height"),16,64);mxUtils.br(g);n=document.createElement("div");n.style.paddingTop="8px";n.style.paddingRight="20px";n.style.whiteSpace="nowrap";n.style.textAlign="right";var w=
+this.createCellOption(mxResources.get("constrainProportions"),mxConstants.STYLE_ASPECT,null,"fixed","null");w.style.width="210px";n.appendChild(w);d.cell||d.row?p.style.visibility="hidden":g.appendChild(n);var z=w.getElementsByTagName("input")[0];this.addKeyHandler(q,S);this.addKeyHandler(k,S);var C=this.addGeometryHandler(q,function(L,U,ba){U=Math.max(1,b.fromUnit(U));if(f.isTableCell(ba))return f.setTableColumnWidth(ba,U-L.width,!0),!0;0<L.width&&(z.checked&&(L.height=Math.round(L.height*U*100/
+L.width)/100),L.width=U)});var F=this.addGeometryHandler(k,function(L,U,ba){U=Math.max(1,b.fromUnit(U));f.isTableCell(ba)&&(ba=h.getParent(ba));if(f.isTableRow(ba))return f.setTableRowHeight(ba,U-L.height),!0;0<L.height&&(z.checked&&(L.width=Math.round(L.width*U*100/L.height)/100),L.height=U)});(d.resizable||d.row||d.cell)&&a.appendChild(g);var D=this.createPanel();D.style.paddingBottom="30px";n=document.createElement("div");n.style.position="absolute";n.style.width="70px";n.style.marginTop="0px";
+n.style.fontWeight="bold";mxUtils.write(n,mxResources.get("position"));D.appendChild(n);var H=this.addUnitInput(D,this.getUnit(),87,52,function(){Y.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),K=this.addUnitInput(D,this.getUnit(),16,52,function(){V.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());mxUtils.br(D);w=!0;var G=null,P=null;if(d.movable){if(0==d.edges.length&&1==d.vertices.length){var I=f.getCellGeometry(d.vertices[0]);if(null!=I&&I.relative){mxUtils.br(D);
+n=document.createElement("div");n.style.position="absolute";n.style.width="70px";n.style.marginTop="0px";mxUtils.write(n,mxResources.get("relative"));D.appendChild(n);G=this.addGenericInput(D," %",87,52,function(){return Math.round(1E3*I.x)/10},function(L){L=parseFloat(L);if(!isNaN(L)){h.beginUpdate();try{I=I.clone(),I.x=parseFloat(L)/100,h.setGeometry(d.vertices[0],I)}finally{h.endUpdate()}}});if(h.isEdge(h.getParent(d.vertices[0]))){w=!1;var Z=null;P=this.addUnitInput(D,this.getUnit(),16,52,function(){Z.apply(this,
+arguments)});Z=this.addGeometryHandler(P,function(L,U){L.y=b.fromUnit(U)})}else P=this.addGenericInput(D," %",16,52,function(){return Math.round(1E3*I.y)/10},function(L){L=parseFloat(L);if(!isNaN(L)){h.beginUpdate();try{I=I.clone(),I.y=parseFloat(L)/100,h.setGeometry(d.vertices[0],I)}finally{h.endUpdate()}}});mxUtils.br(D)}}a.appendChild(D)}this.addLabel(D,mxResources.get(w?"left":"line"),87,64).style.marginTop="8px";this.addLabel(D,mxResources.get(w?"top":"orthogonal"),16,64).style.marginTop="8px";
+var S=mxUtils.bind(this,function(L,U,ba){d=e.getSelectionState();if(d.containsLabel||d.vertices.length!=f.getSelectionCount()||null==d.width||null==d.height)g.style.display="none";else{g.style.display="";if(ba||document.activeElement!=q)q.value=this.inUnit(d.width)+" "+this.getUnit();if(ba||document.activeElement!=k)k.value=this.inUnit(d.height)+" "+this.getUnit()}if(d.vertices.length==f.getSelectionCount()&&0<d.vertices.length&&null!=d.x&&null!=d.y){L=f.getCellGeometry(d.vertices[0]);D.style.display=
+"";if(ba||document.activeElement!=H)H.value=this.inUnit(d.x)+" "+this.getUnit();if(ba||document.activeElement!=K)K.value=this.inUnit(d.y)+" "+this.getUnit();null!=L&&L.relative&&(null==G||!ba&&document.activeElement==G||(G.value=Math.round(1E3*L.x)/10+" %"),null==P||!ba&&document.activeElement==P||(h.isEdge(h.getParent(d.vertices[0]))?P.value=this.inUnit(L.y)+" "+this.getUnit():P.value=Math.round(1E3*L.y)/10+" %"))}else D.style.display="none"});this.listeners.push({destroy:function(){h.removeListener(S)}});
+h.addListener(mxEvent.CHANGE,S);this.addKeyHandler(H,S);this.addKeyHandler(K,S);S();var Y=this.addGeometryHandler(H,function(L,U){U=b.fromUnit(U);L.relative?(L.offset=null!=L.offset?L.offset:new mxPoint,L.offset.x=U):L.x=U});var V=this.addGeometryHandler(K,function(L,U){U=b.fromUnit(U);L.relative?(L.offset=null!=L.offset?L.offset:new mxPoint,L.offset.y=U):L.y=U});d.movable&&(0==d.edges.length&&1==d.vertices.length&&h.isEdge(h.getParent(d.vertices[0]))&&(I=f.getCellGeometry(d.vertices[0]),null!=I&&
+I.relative&&(n=mxUtils.button(mxResources.get("center"),mxUtils.bind(this,function(L){h.beginUpdate();try{I=I.clone(),I.x=0,I.y=0,I.offset=new mxPoint,h.setGeometry(d.vertices[0],I)}finally{h.endUpdate()}})),n.setAttribute("title",mxResources.get("center")),n.style.width="134px",n.style.left="89px",n.style.position="absolute",mxUtils.br(D),mxUtils.br(D),D.appendChild(n))),a.appendChild(D))};
+ArrangePanel.prototype.addGeometryHandler=function(a,b){function e(n){if(""!=a.value){var q=parseFloat(a.value);if(isNaN(q))a.value=d+" "+g.getUnit();else if(q!=d){h.getModel().beginUpdate();try{for(var k=f.getSelectionState().cells,p=0;p<k.length;p++)if(h.getModel().isVertex(k[p])){var w=h.getCellGeometry(k[p]);if(null!=w&&(w=w.clone(),!b(w,q,k[p]))){var z=h.view.getState(k[p]);null!=z&&h.isRecursiveVertexResize(z)&&h.resizeChildCells(k[p],w);h.getModel().setGeometry(k[p],w);h.constrainChildCells(k[p])}}}finally{h.getModel().endUpdate()}d=
+q;a.value=q+" "+g.getUnit()}}mxEvent.consume(n)}var f=this.editorUi,h=f.editor.graph,d=null,g=this;mxEvent.addListener(a,"blur",e);mxEvent.addListener(a,"change",e);mxEvent.addListener(a,"focus",function(){d=a.value});return e};
+ArrangePanel.prototype.addEdgeGeometryHandler=function(a,b){function e(g){if(""!=a.value){var n=parseFloat(a.value);if(isNaN(n))a.value=d+" pt";else if(n!=d){h.getModel().beginUpdate();try{for(var q=f.getSelectionState().cells,k=0;k<q.length;k++)if(h.getModel().isEdge(q[k])){var p=h.getCellGeometry(q[k]);null!=p&&(p=p.clone(),b(p,n),h.getModel().setGeometry(q[k],p))}}finally{h.getModel().endUpdate()}d=n;a.value=n+" pt"}}mxEvent.consume(g)}var f=this.editorUi,h=f.editor.graph,d=null;mxEvent.addListener(a,
+"blur",e);mxEvent.addListener(a,"change",e);mxEvent.addListener(a,"focus",function(){d=a.value});return e};
+ArrangePanel.prototype.addEdgeGeometry=function(a){var b=this,e=this.editorUi,f=e.editor.graph,h=e.getSelectionState(),d=this.createPanel(),g=document.createElement("div");g.style.position="absolute";g.style.width="70px";g.style.marginTop="0px";g.style.fontWeight="bold";mxUtils.write(g,mxResources.get("width"));d.appendChild(g);var n=this.addUnitInput(d,"pt",12,44,function(){q.apply(this,arguments)});mxUtils.br(d);this.addKeyHandler(n,D);var q=mxUtils.bind(this,function(I){var Z=parseInt(n.value);
+Z=Math.min(999,Math.max(1,isNaN(Z)?1:Z));if(Z!=mxUtils.getValue(h.style,"width",mxCellRenderer.defaultShapes.flexArrow.prototype.defaultWidth)){var S=e.getSelectionState().cells;f.setCellStyles("width",Z,S);e.fireEvent(new mxEventObject("styleChanged","keys",["width"],"values",[Z],"cells",S))}n.value=Z+" pt";mxEvent.consume(I)});mxEvent.addListener(n,"blur",q);mxEvent.addListener(n,"change",q);a.appendChild(d);var k=this.createPanel();k.style.paddingBottom="30px";g=document.createElement("div");g.style.position=
+"absolute";g.style.width="70px";g.style.marginTop="0px";mxUtils.write(g,mxResources.get("linestart"));k.appendChild(g);var p=this.addUnitInput(k,this.getUnit(),87,52,function(){H.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),w=this.addUnitInput(k,this.getUnit(),16,52,function(){K.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());mxUtils.br(k);this.addLabel(k,mxResources.get("left"),87,64);this.addLabel(k,mxResources.get("top"),16,64);a.appendChild(k);
+this.addKeyHandler(p,D);this.addKeyHandler(w,D);var z=this.createPanel();z.style.paddingBottom="30px";g=document.createElement("div");g.style.position="absolute";g.style.width="70px";g.style.marginTop="0px";mxUtils.write(g,mxResources.get("lineend"));z.appendChild(g);var C=this.addUnitInput(z,this.getUnit(),87,52,function(){G.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),F=this.addUnitInput(z,this.getUnit(),16,52,function(){P.apply(this,arguments)},this.getUnitStep(),null,
+null,this.isFloatUnit());mxUtils.br(z);this.addLabel(z,mxResources.get("left"),87,64);this.addLabel(z,mxResources.get("top"),16,64);a.appendChild(z);this.addKeyHandler(C,D);this.addKeyHandler(F,D);var D=mxUtils.bind(this,function(I,Z,S){h=e.getSelectionState();I=h.cells[0];if("link"==h.style.shape||"flexArrow"==h.style.shape){if(d.style.display="",S||document.activeElement!=n)S=mxUtils.getValue(h.style,"width",mxCellRenderer.defaultShapes.flexArrow.prototype.defaultWidth),n.value=S+" pt"}else d.style.display=
+"none";1==h.cells.length&&f.model.isEdge(I)?(S=f.model.getGeometry(I),null!=S&&null!=S.sourcePoint&&null==f.model.getTerminal(I,!0)?(p.value=this.inUnit(S.sourcePoint.x)+" "+this.getUnit(),w.value=this.inUnit(S.sourcePoint.y)+" "+this.getUnit()):k.style.display="none",null!=S&&null!=S.targetPoint&&null==f.model.getTerminal(I,!1)?(C.value=this.inUnit(S.targetPoint.x)+" "+this.getUnit(),F.value=this.inUnit(S.targetPoint.y)+" "+this.getUnit()):z.style.display="none"):(k.style.display="none",z.style.display=
+"none")});var H=this.addEdgeGeometryHandler(p,function(I,Z){I.sourcePoint.x=b.fromUnit(Z)});var K=this.addEdgeGeometryHandler(w,function(I,Z){I.sourcePoint.y=b.fromUnit(Z)});var G=this.addEdgeGeometryHandler(C,function(I,Z){I.targetPoint.x=b.fromUnit(Z)});var P=this.addEdgeGeometryHandler(F,function(I,Z){I.targetPoint.y=b.fromUnit(Z)});f.getModel().addListener(mxEvent.CHANGE,D);this.listeners.push({destroy:function(){f.getModel().removeListener(D)}});D()};
+TextFormatPanel=function(a,b,e){BaseFormatPanel.call(this,a,b,e);this.init()};mxUtils.extend(TextFormatPanel,BaseFormatPanel);TextFormatPanel.prototype.init=function(){this.container.style.borderBottom="none";this.addFont(this.container);this.container.appendChild(this.addFontOps(this.createPanel()))};TextFormatPanel.prototype.addFontOps=function(a){a.style.paddingTop="8px";a.style.paddingBottom="6px";0==this.addActions(a,["removeFormat"])&&(a.style.display="none");return a};
+TextFormatPanel.prototype.addFont=function(a){function b(da){da=null!=da?da.fontSize:null;return null!=da&&"px"==da.substring(da.length-2)?parseFloat(da):mxConstants.DEFAULT_FONTSIZE}function e(da,wa){if(""!=da.textContent){da.style.lineHeight="";var u=mxUtils.getCurrentStyle(da);parseFloat(u.fontSize)*wa/100!=parseFloat(u.lineHeight)?da.style.lineHeight=wa+"%":""==da.getAttribute("style")&&da.removeAttribute("style")}}function f(da,wa){da.style.backgroundImage=wa?Editor.isDarkMode()?"linear-gradient(rgb(0 161 241) 0px, rgb(0, 97, 146) 100%)":
+"linear-gradient(#c5ecff 0px,#87d4fb 100%)":""}var h=this.editorUi,d=h.editor.graph,g=h.getSelectionState(),n=this.createTitle(mxResources.get("font"));n.style.paddingLeft="14px";n.style.paddingTop="10px";n.style.paddingBottom="6px";a.appendChild(n);n=this.createPanel();n.style.paddingTop="2px";n.style.paddingBottom="2px";n.style.position="relative";n.style.marginLeft="-2px";n.style.borderWidth="0px";n.className="geToolbarContainer";if(d.cellEditor.isContentEditing()){var q=n.cloneNode(),k=this.editorUi.toolbar.addMenu(mxResources.get("style"),
+mxResources.get("style"),!0,"formatBlock",q,null,!0);this.addArrow(k);k.style.width="211px";k.style.alignItems="center";k.style.justifyContent="center";k.style.whiteSpace="nowrap";k.style.overflow="hidden";k.style.margin="0px";k.style.position="relative";k=k.getElementsByTagName("div")[0];k.style.position="absolute";k.style.right="2px";a.appendChild(q)}a.appendChild(n);q=this.createPanel();q.style.marginTop="8px";q.style.borderWidth="1px";q.style.borderStyle="solid";q.style.paddingTop="6px";q.style.paddingBottom=
+"2px";var p=this.editorUi.toolbar.addMenu("Helvetica",mxResources.get("fontFamily"),!0,"fontFamily",n,null,!0);this.addArrow(p);p.style.width="211px";p.style.alignItems="center";p.style.justifyContent="center";p.style.whiteSpace="nowrap";p.style.overflow="hidden";p.style.margin="0px";p.style.position="relative";k=p.getElementsByTagName("div")[0];k.style.position="absolute";k.style.right="2px";k=n.cloneNode(!1);k.style.marginLeft="-3px";var w=this.editorUi.toolbar.addItems(["bold","italic","underline"],
+k,!0);w[0].setAttribute("title",mxResources.get("bold")+" ("+this.editorUi.actions.get("bold").shortcut+")");w[1].setAttribute("title",mxResources.get("italic")+" ("+this.editorUi.actions.get("italic").shortcut+")");w[2].setAttribute("title",mxResources.get("underline")+" ("+this.editorUi.actions.get("underline").shortcut+")");var z=this.editorUi.toolbar.addItems(["vertical"],k,!0)[0];a.appendChild(k);this.styleButtons(w);this.styleButtons([z]);var C=n.cloneNode(!1);C.style.marginLeft="-3px";C.style.paddingBottom=
+"0px";var F=function(da){return function(){return da()}},D=this.editorUi.toolbar.addButton("geSprite-left",mxResources.get("left"),d.cellEditor.isContentEditing()?function(da){d.cellEditor.alignText(mxConstants.ALIGN_LEFT,da);h.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ALIGN],"values",[mxConstants.ALIGN_LEFT],"cells",g.cells))}:F(this.editorUi.menus.createStyleChangeFunction([mxConstants.STYLE_ALIGN],[mxConstants.ALIGN_LEFT])),C),H=this.editorUi.toolbar.addButton("geSprite-center",
+mxResources.get("center"),d.cellEditor.isContentEditing()?function(da){d.cellEditor.alignText(mxConstants.ALIGN_CENTER,da);h.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ALIGN],"values",[mxConstants.ALIGN_CENTER],"cells",g.cells))}:F(this.editorUi.menus.createStyleChangeFunction([mxConstants.STYLE_ALIGN],[mxConstants.ALIGN_CENTER])),C),K=this.editorUi.toolbar.addButton("geSprite-right",mxResources.get("right"),d.cellEditor.isContentEditing()?function(da){d.cellEditor.alignText(mxConstants.ALIGN_RIGHT,
+da);h.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ALIGN],"values",[mxConstants.ALIGN_RIGHT],"cells",g.cells))}:F(this.editorUi.menus.createStyleChangeFunction([mxConstants.STYLE_ALIGN],[mxConstants.ALIGN_RIGHT])),C);this.styleButtons([D,H,K]);if(d.cellEditor.isContentEditing()){var G=this.editorUi.toolbar.addButton("geSprite-removeformat",mxResources.get("strikethrough"),function(){document.execCommand("strikeThrough",!1,null)},k);this.styleButtons([G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YyYy4xOC4wNy40LjE0LjU1LjIuMzcuMTcuNjYuMzQuODcuNTEuMjEuMTcuMzUuMzYuNDMuNTcuMDcuMi4xMS40My4xMS42OSAwIC4yMy0uMDUuNDUtLjE0LjY2LS4wOS4yLS4yMy4zOC0uNDIuNTMtLjE5LjE1LS40Mi4yNi0uNzEuMzUtLjI5LjA4LS42My4xMy0xLjAxLjEzLS40MyAwLS44My0uMDQtMS4xOC0uMTNzLS42Ni0uMjMtLjkxLS40MmMtLjI1LS4xOS0uNDUtLjQ0LS41OS0uNzUtLjE0LS4zMS0uMjUtLjc2LS4yNS0xLjIxSDYuNGMwIC41NS4wOCAxLjEzLjI0IDEuNTguMTYuNDUuMzcuODUuNjUgMS4yMS4yOC4zNS42LjY2Ljk4LjkyLjM3LjI2Ljc4LjQ4IDEuMjIuNjUuNDQuMTcuOS4zIDEuMzguMzkuNDguMDguOTYuMTMgMS40NC4xMy44IDAgMS41My0uMDkgMi4xOC0uMjhzMS4yMS0uNDUgMS42Ny0uNzljLjQ2LS4zNC44Mi0uNzcgMS4wNy0xLjI3cy4zOC0xLjA3LjM4LTEuNzFjMC0uNi0uMS0xLjE0LS4zMS0xLjYxLS4wNS0uMTEtLjExLS4yMy0uMTctLjMzSDIxeiIvPjwvc3ZnPg==)";
+G.firstChild.style.backgroundPosition="2px 2px";G.firstChild.style.backgroundSize="18px 18px";this.styleButtons([G])}var P=this.editorUi.toolbar.addButton("geSprite-top",mxResources.get("top"),F(this.editorUi.menus.createStyleChangeFunction([mxConstants.STYLE_VERTICAL_ALIGN],[mxConstants.ALIGN_TOP])),C),I=this.editorUi.toolbar.addButton("geSprite-middle",mxResources.get("middle"),F(this.editorUi.menus.createStyleChangeFunction([mxConstants.STYLE_VERTICAL_ALIGN],[mxConstants.ALIGN_MIDDLE])),C),Z=this.editorUi.toolbar.addButton("geSprite-bottom",
+mxResources.get("bottom"),F(this.editorUi.menus.createStyleChangeFunction([mxConstants.STYLE_VERTICAL_ALIGN],[mxConstants.ALIGN_BOTTOM])),C);this.styleButtons([P,I,Z]);a.appendChild(C);var S,Y,V,L,U;if(d.cellEditor.isContentEditing()){P.style.display="none";I.style.display="none";Z.style.display="none";z.style.display="none";var ba=this.editorUi.toolbar.addButton("geSprite-justifyfull",mxResources.get("block"),function(){1==ba.style.opacity&&document.execCommand("justifyfull",!1,null)},C);ba.style.marginRight=
+"9px";ba.style.opacity=1;this.styleButtons([ba,S=this.editorUi.toolbar.addButton("geSprite-subscript",mxResources.get("subscript")+" ("+Editor.ctrlKey+"+,)",function(){document.execCommand("subscript",!1,null)},C),Y=this.editorUi.toolbar.addButton("geSprite-superscript",mxResources.get("superscript")+" ("+Editor.ctrlKey+"+.)",function(){document.execCommand("superscript",!1,null)},C)]);S.style.marginLeft="10px";F=C.cloneNode(!1);F.style.paddingTop="4px";C=[this.editorUi.toolbar.addButton("geSprite-orderedlist",
+mxResources.get("numberedList"),function(){document.execCommand("insertorderedlist",!1,null)},F),this.editorUi.toolbar.addButton("geSprite-unorderedlist",mxResources.get("bulletedList"),function(){document.execCommand("insertunorderedlist",!1,null)},F),this.editorUi.toolbar.addButton("geSprite-outdent",mxResources.get("decreaseIndent"),function(){document.execCommand("outdent",!1,null)},F),this.editorUi.toolbar.addButton("geSprite-indent",mxResources.get("increaseIndent"),function(){document.execCommand("indent",
+!1,null)},F),this.editorUi.toolbar.addButton("geSprite-removeformat",mxResources.get("removeFormat"),function(){document.execCommand("removeformat",!1,null)},F),this.editorUi.toolbar.addButton("geSprite-code",mxResources.get("html"),function(){d.cellEditor.toggleViewMode()},F)];this.styleButtons(C);C[C.length-2].style.marginLeft="10px";a.appendChild(F)}else w[2].style.marginRight="12px",K.style.marginRight="12px";C=n.cloneNode(!1);C.removeAttribute("class");C.style.marginLeft="0px";C.style.paddingTop=
+"8px";C.style.paddingBottom="4px";C.style.fontWeight="normal";mxUtils.write(C,mxResources.get("position"));var ja=document.createElement("select");ja.style.position="absolute";ja.style.left="126px";ja.style.width="98px";ja.style.borderWidth="1px";ja.style.borderStyle="solid";ja.style.marginTop="-3px";G="topLeft top topRight left center right bottomLeft bottom bottomRight".split(" ");var sa={topLeft:[mxConstants.ALIGN_LEFT,mxConstants.ALIGN_TOP,mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_BOTTOM],top:[mxConstants.ALIGN_CENTER,
mxConstants.ALIGN_TOP,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_BOTTOM],topRight:[mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_TOP,mxConstants.ALIGN_LEFT,mxConstants.ALIGN_BOTTOM],left:[mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_MIDDLE],center:[mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE],right:[mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_MIDDLE,mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE],bottomLeft:[mxConstants.ALIGN_LEFT,
-mxConstants.ALIGN_BOTTOM,mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_TOP],bottom:[mxConstants.ALIGN_CENTER,mxConstants.ALIGN_BOTTOM,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_TOP],bottomRight:[mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_BOTTOM,mxConstants.ALIGN_LEFT,mxConstants.ALIGN_TOP]};for(z=0;z<G.length;z++){var ja=document.createElement("option");ja.setAttribute("value",G[z]);mxUtils.write(ja,mxResources.get(G[z]));U.appendChild(ja)}w.appendChild(U);G=f.cloneNode(!1);G.removeAttribute("class");
-G.style.marginLeft="0px";G.style.paddingTop="4px";G.style.paddingBottom="4px";G.style.fontWeight="normal";mxUtils.write(G,mxResources.get("writingDirection"));var pa=document.createElement("select");pa.style.position="absolute";pa.style.borderWidth="1px";pa.style.borderStyle="solid";pa.style.left="126px";pa.style.width="98px";pa.style.marginTop="-3px";ja=["automatic","leftToRight","rightToLeft"];g.html&&(ja.push("vertical-leftToRight"),ja.push("vertical-rightToLeft"));var P={automatic:null,leftToRight:mxConstants.TEXT_DIRECTION_LTR,
-rightToLeft:mxConstants.TEXT_DIRECTION_RTL,"vertical-leftToRight":mxConstants.TEXT_DIRECTION_VERTICAL_LR,"vertical-rightToLeft":mxConstants.TEXT_DIRECTION_VERTICAL_RL};for(z=0;z<ja.length;z++){var W=document.createElement("option");W.setAttribute("value",ja[z]);"vertical-"==ja[z].substring(0,9)?mxUtils.write(W,mxResources.get("vertical")+" ("+mxResources.get(ja[z].substring(9))+")"):mxUtils.write(W,mxResources.get(ja[z]));pa.appendChild(W)}G.appendChild(pa);e.isEditing()||(a.appendChild(w),mxEvent.addListener(U,
-"change",function(fa){e.getModel().beginUpdate();try{var Ga=ba[U.value];null!=Ga&&(e.setCellStyles(mxConstants.STYLE_LABEL_POSITION,Ga[0],g.cells),e.setCellStyles(mxConstants.STYLE_VERTICAL_LABEL_POSITION,Ga[1],g.cells),e.setCellStyles(mxConstants.STYLE_ALIGN,Ga[2],g.cells),e.setCellStyles(mxConstants.STYLE_VERTICAL_ALIGN,Ga[3],g.cells))}finally{e.getModel().endUpdate()}mxEvent.consume(fa)}),a.appendChild(G),mxEvent.addListener(pa,"change",function(fa){e.setCellStyles(mxConstants.STYLE_TEXT_DIRECTION,
-P[pa.value],g.cells);mxEvent.consume(fa)}));var V=document.createElement("input");V.style.position="absolute";V.style.borderWidth="1px";V.style.borderStyle="solid";V.style.textAlign="right";V.style.marginTop="4px";V.style.left="161px";V.style.width="53px";V.style.height="23px";V.style.boxSizing="border-box";n.appendChild(V);var ca=null;w=this.installInputHandler(V,mxConstants.STYLE_FONTSIZE,Menus.prototype.defaultFontSize,1,999," "+Editor.fontSizeUnit,function(fa){if(window.getSelection&&!mxClient.IS_IE&&
-!mxClient.IS_IE11){var Ga=function(B,E){null!=e.cellEditor.textarea&&B!=e.cellEditor.textarea&&e.cellEditor.textarea.contains(B)&&(E||ya.containsNode(B,!0))&&("FONT"==B.nodeName?(B.removeAttribute("size"),B.style.fontSize=fa+"px"):mxUtils.getCurrentStyle(B).fontSize!=fa+"px"&&(mxUtils.getCurrentStyle(B.parentNode).fontSize!=fa+"px"?B.style.fontSize=fa+"px":B.style.fontSize=""));d.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_FONTSIZE],"values",[fa],"cells",g.cells))},ya=window.getSelection(),
-u=0<ya.rangeCount?ya.getRangeAt(0).commonAncestorContainer:e.cellEditor.textarea;u!=e.cellEditor.textarea&&u.nodeType==mxConstants.NODETYPE_ELEMENT||document.execCommand("fontSize",!1,"1");u!=e.cellEditor.textarea&&(u=u.parentNode);if(null!=u&&u.nodeType==mxConstants.NODETYPE_ELEMENT){var A=u.getElementsByTagName("*");Ga(u);for(u=0;u<A.length;u++)Ga(A[u]);0<ya.rangeCount&&(u=ya.getRangeAt(0).commonAncestorContainer,u!=e.cellEditor.textarea&&e.cellEditor.textarea.contains(u)&&Ga(u.parentNode))}V.value=
-fa+" "+Editor.fontSizeUnit}else if(window.getSelection||document.selection)if(Ga=function(B,E){for(;null!=E;){if(E===B)return!0;E=E.parentNode}return!1},A=null,document.selection?A=document.selection.createRange().parentElement():(ya=window.getSelection(),0<ya.rangeCount&&(A=ya.getRangeAt(0).commonAncestorContainer)),null!=A&&Ga(e.cellEditor.textarea,A))for(ca=fa,document.execCommand("fontSize",!1,"4"),A=e.cellEditor.textarea.getElementsByTagName("font"),u=0;u<A.length;u++)if("4"==A[u].getAttribute("size")){A[u].removeAttribute("size");
-A[u].style.fontSize=ca+"px";window.setTimeout(function(){V.value=ca+" "+Editor.fontSizeUnit;ca=null},0);break}},!0);w=this.createStepper(V,w,1,10,!0,Menus.prototype.defaultFontSize);w.style.display=V.style.display;w.style.marginTop="4px";w.style.left="214px";n.appendChild(w);n=q.getElementsByTagName("div")[0];n.style.cssFloat="right";var ra=null,oa=e.shapeBackgroundColor,L=null,ea=e.shapeForegroundColor,sa=e.cellEditor.isContentEditing()?this.createColorOption(mxResources.get("backgroundColor"),function(){return oa},
-function(fa){document.execCommand("backcolor",!1,fa!=mxConstants.NONE?fa:"transparent");d.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_LABEL_BACKGROUNDCOLOR],"values",[fa],"cells",g.cells))},e.shapeBackgroundColor,{install:function(fa){ra=fa},destroy:function(){ra=null}},null,!0):this.createCellColorOption(mxResources.get("backgroundColor"),mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,"default",null,function(fa){e.updateLabelElements(g.cells,function(Ga){Ga.style.backgroundColor=
-null})},e.shapeBackgroundColor);sa.style.fontWeight="bold";var va=this.createCellColorOption(mxResources.get("borderColor"),mxConstants.STYLE_LABEL_BORDERCOLOR,"default",null,null,e.shapeForegroundColor);va.style.fontWeight="bold";n=1<=g.vertices.length?e.stylesheet.getDefaultVertexStyle():e.stylesheet.getDefaultEdgeStyle();n=e.cellEditor.isContentEditing()?this.createColorOption(mxResources.get("fontColor"),function(){return ea},function(fa){if(mxClient.IS_FF){for(var Ga=e.cellEditor.textarea.getElementsByTagName("font"),
-ya=[],u=0;u<Ga.length;u++)ya.push({node:Ga[u],color:Ga[u].getAttribute("color")});document.execCommand("forecolor",!1,fa!=mxConstants.NONE?fa:"transparent");d.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_FONTCOLOR],"values",[fa],"cells",g.cells));fa=e.cellEditor.textarea.getElementsByTagName("font");for(u=0;u<fa.length;u++)if(u>=ya.length||fa[u]!=ya[u].node||fa[u]==ya[u].node&&fa[u].getAttribute("color")!=ya[u].color){ya=fa[u].firstChild;if(null!=ya&&"A"==ya.nodeName&&null==
-ya.nextSibling&&null!=ya.firstChild){fa[u].parentNode.insertBefore(ya,fa[u]);for(Ga=ya.firstChild;null!=Ga;){var A=Ga.nextSibling;fa[u].appendChild(Ga);Ga=A}ya.appendChild(fa[u])}break}}else document.execCommand("forecolor",!1,fa!=mxConstants.NONE?fa:"transparent"),d.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_FONTCOLOR],"values",[fa],"cells",g.cells))},null!=n[mxConstants.STYLE_FONTCOLOR]?n[mxConstants.STYLE_FONTCOLOR]:e.shapeForegroundColor,{install:function(fa){L=fa},destroy:function(){L=
-null}},null,!0):this.createCellColorOption(mxResources.get("fontColor"),mxConstants.STYLE_FONTCOLOR,"default",function(fa){sa.style.display=fa==mxConstants.NONE?"none":"";va.style.display=sa.style.display},function(fa){fa==mxConstants.NONE?e.setCellStyles(mxConstants.STYLE_NOLABEL,"1",g.cells):e.setCellStyles(mxConstants.STYLE_NOLABEL,null,g.cells);e.setCellStyles(mxConstants.STYLE_FONTCOLOR,fa,g.cells);e.updateLabelElements(g.cells,function(Ga){Ga.removeAttribute("color");Ga.style.color=null})},
-e.shapeForegroundColor);n.style.fontWeight="bold";h.appendChild(n);h.appendChild(sa);n=this.createCellOption(mxResources.get("shadow"),mxConstants.STYLE_TEXT_SHADOW,0);n.style.width="100%";n.style.fontWeight="bold";Editor.enableShadowOption||(n.getElementsByTagName("input")[0].setAttribute("disabled","disabled"),mxUtils.setOpacity(n,60));e.cellEditor.isContentEditing()||(h.appendChild(va),h.appendChild(n));a.appendChild(h);h=this.createPanel();h.style.paddingTop="2px";h.style.paddingBottom="4px";
-n=e.filterSelectionCells(mxUtils.bind(this,function(fa){var Ga=e.view.getState(fa);return null==Ga||e.isAutoSizeState(Ga)||e.getModel().isEdge(fa)||!e.isTableRow(fa)&&!e.isTableCell(fa)&&!e.isCellResizable(fa)}));w=this.createCellOption(mxResources.get("wordWrap"),mxConstants.STYLE_WHITE_SPACE,null,"wrap","null",null,null,!0,n);w.style.fontWeight="bold";0<n.length&&h.appendChild(w);n=this.createCellOption(mxResources.get("formattedText"),"html",0,null,null,null,d.actions.get("formattedText"));n.style.fontWeight=
-"bold";h.appendChild(n);n=this.createPanel();n.style.paddingTop="10px";n.style.paddingBottom="28px";n.style.fontWeight="normal";w=document.createElement("div");w.style.position="absolute";w.style.width="70px";w.style.marginTop="0px";w.style.fontWeight="bold";mxUtils.write(w,mxResources.get("spacing"));n.appendChild(w);var Ua=this.addUnitInput(n,this.getUnit(),87,52,function(){$a.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),ma=this.addUnitInput(n,this.getUnit(),16,52,function(){Pa.apply(this,
-arguments)},this.getUnitStep(),null,null,this.isFloatUnit());mxUtils.br(n);this.addLabel(n,mxResources.get("top"),87,64);this.addLabel(n,mxResources.get("global"),16,64);mxUtils.br(n);mxUtils.br(n);var Fa=this.addUnitInput(n,this.getUnit(),158,52,function(){hb.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),Ia=this.addUnitInput(n,this.getUnit(),87,52,function(){cb.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),Oa=this.addUnitInput(n,this.getUnit(),
-16,52,function(){gb.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());mxUtils.br(n);this.addLabel(n,mxResources.get("left"),158,64);this.addLabel(n,mxResources.get("bottom"),87,64);this.addLabel(n,mxResources.get("right"),16,64);if(e.cellEditor.isContentEditing()){var Ra=null,Ma=null;a.appendChild(this.createRelativeOption(mxResources.get("lineheight"),null,null,function(fa){var Ga=""==fa.value?120:parseInt(fa.value);Ga=Math.max(0,isNaN(Ga)?120:Ga);null!=Ra&&(e.cellEditor.restoreSelection(Ra),
-Ra=null);var ya=e.getSelectedTextBlocks();0==ya.length&&null!=e.cellEditor.textarea&&null!=e.cellEditor.textarea.firstChild&&("P"!=e.cellEditor.textarea.firstChild.nodeName&&(e.cellEditor.textarea.innerHTML="<p>"+e.cellEditor.textarea.innerHTML+"</p>"),ya=[e.cellEditor.textarea.firstChild]);for(var u=0;u<ya.length;u++)ya[u].style.lineHeight=Ga+"%";fa.value=Ga+" %"},function(fa){Ma=fa;mxEvent.addListener(fa,"mousedown",function(){document.activeElement==e.cellEditor.textarea&&(Ra=e.cellEditor.saveSelection())});
-mxEvent.addListener(fa,"touchstart",function(){document.activeElement==e.cellEditor.textarea&&(Ra=e.cellEditor.saveSelection())});fa.value="120 %"}));h=f.cloneNode(!1);h.style.paddingLeft="0px";n=this.editorUi.toolbar.addItems(["link","image"],h,!0);w=[this.editorUi.toolbar.addButton("geSprite-horizontalrule",mxResources.get("insertHorizontalRule"),function(){document.execCommand("inserthorizontalrule",!1)},h),this.editorUi.toolbar.addMenuFunctionInContainer(h,"geSprite-table",mxResources.get("table"),
-!1,mxUtils.bind(this,function(fa){this.editorUi.menus.addInsertTableItem(fa,null,null,!1)}))];this.styleButtons(n);this.styleButtons(w);n=this.createPanel();n.style.paddingTop="10px";n.style.paddingBottom="10px";n.appendChild(this.createTitle(mxResources.get("insert")));n.appendChild(h);a.appendChild(n);n=f.cloneNode(!1);n.style.paddingLeft="0px";w=[this.editorUi.toolbar.addButton("geSprite-insertcolumnbefore",mxResources.get("insertColumnBefore"),mxUtils.bind(this,function(){try{null!=S&&e.insertColumn(S,
-null!=X?X.cellIndex:0)}catch(fa){this.editorUi.handleError(fa)}}),n),this.editorUi.toolbar.addButton("geSprite-insertcolumnafter",mxResources.get("insertColumnAfter"),mxUtils.bind(this,function(){try{null!=S&&e.insertColumn(S,null!=X?X.cellIndex+1:-1)}catch(fa){this.editorUi.handleError(fa)}}),n),this.editorUi.toolbar.addButton("geSprite-deletecolumn",mxResources.get("deleteColumn"),mxUtils.bind(this,function(){try{null!=S&&null!=X&&e.deleteColumn(S,X.cellIndex)}catch(fa){this.editorUi.handleError(fa)}}),
-n),this.editorUi.toolbar.addButton("geSprite-insertrowbefore",mxResources.get("insertRowBefore"),mxUtils.bind(this,function(){try{null!=S&&null!=Y&&e.insertRow(S,Y.sectionRowIndex)}catch(fa){this.editorUi.handleError(fa)}}),n),this.editorUi.toolbar.addButton("geSprite-insertrowafter",mxResources.get("insertRowAfter"),mxUtils.bind(this,function(){try{null!=S&&null!=Y&&e.insertRow(S,Y.sectionRowIndex+1)}catch(fa){this.editorUi.handleError(fa)}}),n),this.editorUi.toolbar.addButton("geSprite-deleterow",
-mxResources.get("deleteRow"),mxUtils.bind(this,function(){try{null!=S&&null!=Y&&e.deleteRow(S,Y.sectionRowIndex)}catch(fa){this.editorUi.handleError(fa)}}),n)];this.styleButtons(w);w[2].style.marginRight="10px";h=this.createPanel();h.style.paddingTop="10px";h.style.paddingBottom="10px";h.appendChild(this.createTitle(mxResources.get("table")));h.appendChild(n);f=f.cloneNode(!1);f.style.paddingLeft="0px";w=[this.editorUi.toolbar.addButton("geSprite-strokecolor",mxResources.get("borderColor"),mxUtils.bind(this,
-function(fa){if(null!=S){var Ga=S.style.borderColor.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,function(ya,u,A,B){return"#"+("0"+Number(u).toString(16)).substr(-2)+("0"+Number(A).toString(16)).substr(-2)+("0"+Number(B).toString(16)).substr(-2)});this.editorUi.pickColor(Ga,function(ya){var u=null==X||null!=fa&&mxEvent.isShiftDown(fa)?S:X;e.processElements(u,function(A){A.style.border=null});null==ya||ya==mxConstants.NONE?(u.removeAttribute("border"),u.style.border="",u.style.borderCollapse=
-""):(u.setAttribute("border","1"),u.style.border="1px solid "+ya,u.style.borderCollapse="collapse")})}}),f),this.editorUi.toolbar.addButton("geSprite-fillcolor",mxResources.get("backgroundColor"),mxUtils.bind(this,function(fa){if(null!=S){var Ga=S.style.backgroundColor.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,function(ya,u,A,B){return"#"+("0"+Number(u).toString(16)).substr(-2)+("0"+Number(A).toString(16)).substr(-2)+("0"+Number(B).toString(16)).substr(-2)});this.editorUi.pickColor(Ga,
-function(ya){var u=null==X||null!=fa&&mxEvent.isShiftDown(fa)?S:X;e.processElements(u,function(A){A.style.backgroundColor=null});u.style.backgroundColor=null==ya||ya==mxConstants.NONE?"":ya})}}),f),this.editorUi.toolbar.addButton("geSprite-fit",mxResources.get("spacing"),function(){if(null!=S){var fa=S.getAttribute("cellPadding")||0;fa=new FilenameDialog(d,fa,mxResources.get("apply"),mxUtils.bind(this,function(Ga){null!=Ga&&0<Ga.length?S.setAttribute("cellPadding",Ga):S.removeAttribute("cellPadding")}),
-mxResources.get("spacing"));d.showDialog(fa.container,300,80,!0,!0);fa.init()}},f),this.editorUi.toolbar.addButton("geSprite-left",mxResources.get("left"),function(){null!=S&&S.setAttribute("align","left")},f),this.editorUi.toolbar.addButton("geSprite-center",mxResources.get("center"),function(){null!=S&&S.setAttribute("align","center")},f),this.editorUi.toolbar.addButton("geSprite-right",mxResources.get("right"),function(){null!=S&&S.setAttribute("align","right")},f)];this.styleButtons(w);w[2].style.marginRight=
-"10px";h.appendChild(f);a.appendChild(h);var Na=h}else a.appendChild(h),a.appendChild(this.createRelativeOption(mxResources.get("opacity"),mxConstants.STYLE_TEXT_OPACITY)),a.appendChild(n);for(z=0;3>z;z++)(function(fa){mxEvent.addListener(l[fa],"click",function(){b(l[fa],""==l[fa].style.backgroundImage)})})(z);var ta=mxUtils.bind(this,function(fa,Ga,ya){g=d.getSelectionState();fa=mxUtils.getValue(g.style,mxConstants.STYLE_FONTSTYLE,0);b(l[0],(fa&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD);b(l[1],
-(fa&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC);b(l[2],(fa&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE);q.firstChild.nodeValue=mxUtils.getValue(g.style,mxConstants.STYLE_FONTFAMILY,Menus.prototype.defaultFont);b(p,"0"==mxUtils.getValue(g.style,mxConstants.STYLE_HORIZONTAL,"1"));if(ya||document.activeElement!=V)fa=parseFloat(mxUtils.getValue(g.style,mxConstants.STYLE_FONTSIZE,Menus.prototype.defaultFontSize)),V.value=isNaN(fa)?"":fa+" "+Editor.fontSizeUnit;fa=mxUtils.getValue(g.style,
-mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER);b(C,fa==mxConstants.ALIGN_LEFT);b(F,fa==mxConstants.ALIGN_CENTER);b(D,fa==mxConstants.ALIGN_RIGHT);fa=mxUtils.getValue(g.style,mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE);b(K,fa==mxConstants.ALIGN_TOP);b(I,fa==mxConstants.ALIGN_MIDDLE);b(O,fa==mxConstants.ALIGN_BOTTOM);fa=mxUtils.getValue(g.style,mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER);Ga=mxUtils.getValue(g.style,mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE);
-U.value=fa==mxConstants.ALIGN_LEFT&&Ga==mxConstants.ALIGN_TOP?"topLeft":fa==mxConstants.ALIGN_CENTER&&Ga==mxConstants.ALIGN_TOP?"top":fa==mxConstants.ALIGN_RIGHT&&Ga==mxConstants.ALIGN_TOP?"topRight":fa==mxConstants.ALIGN_LEFT&&Ga==mxConstants.ALIGN_BOTTOM?"bottomLeft":fa==mxConstants.ALIGN_CENTER&&Ga==mxConstants.ALIGN_BOTTOM?"bottom":fa==mxConstants.ALIGN_RIGHT&&Ga==mxConstants.ALIGN_BOTTOM?"bottomRight":fa==mxConstants.ALIGN_LEFT?"left":fa==mxConstants.ALIGN_RIGHT?"right":"center";fa=mxUtils.getValue(g.style,
-mxConstants.STYLE_TEXT_DIRECTION,mxConstants.DEFAULT_TEXT_DIRECTION);fa==mxConstants.TEXT_DIRECTION_RTL?pa.value="rightToLeft":fa==mxConstants.TEXT_DIRECTION_LTR?pa.value="leftToRight":fa!=mxConstants.TEXT_DIRECTION_AUTO&&g.html?fa==mxConstants.TEXT_DIRECTION_VERTICAL_LR?pa.value="vertical-leftToRight":fa==mxConstants.TEXT_DIRECTION_VERTICAL_RL&&(pa.value="vertical-rightToLeft"):pa.value="automatic";if(ya||document.activeElement!=ma)fa=parseFloat(mxUtils.getValue(g.style,mxConstants.STYLE_SPACING,
-2)),ma.value=isNaN(fa)?"":this.inUnit(fa)+" "+this.getUnit();if(ya||document.activeElement!=Ua)fa=parseFloat(mxUtils.getValue(g.style,mxConstants.STYLE_SPACING_TOP,0)),Ua.value=isNaN(fa)?"":this.inUnit(fa)+" "+this.getUnit();if(ya||document.activeElement!=Oa)fa=parseFloat(mxUtils.getValue(g.style,mxConstants.STYLE_SPACING_RIGHT,0)),Oa.value=isNaN(fa)?"":this.inUnit(fa)+" "+this.getUnit();if(ya||document.activeElement!=Ia)fa=parseFloat(mxUtils.getValue(g.style,mxConstants.STYLE_SPACING_BOTTOM,0)),
-Ia.value=isNaN(fa)?"":this.inUnit(fa)+" "+this.getUnit();if(ya||document.activeElement!=Fa)fa=parseFloat(mxUtils.getValue(g.style,mxConstants.STYLE_SPACING_LEFT,0)),Fa.value=isNaN(fa)?"":this.inUnit(fa)+" "+this.getUnit()});var Pa=this.installInputHandler(ma,mxConstants.STYLE_SPACING,2,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var $a=this.installInputHandler(Ua,mxConstants.STYLE_SPACING_TOP,0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var gb=this.installInputHandler(Oa,mxConstants.STYLE_SPACING_RIGHT,
-0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var cb=this.installInputHandler(Ia,mxConstants.STYLE_SPACING_BOTTOM,0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var hb=this.installInputHandler(Fa,mxConstants.STYLE_SPACING_LEFT,0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);this.addKeyHandler(V,ta);this.addKeyHandler(ma,ta);this.addKeyHandler(Ua,ta);this.addKeyHandler(Oa,ta);this.addKeyHandler(Ia,ta);this.addKeyHandler(Fa,ta);e.getModel().addListener(mxEvent.CHANGE,ta);
-this.listeners.push({destroy:function(){e.getModel().removeListener(ta)}});ta();if(e.cellEditor.isContentEditing()){var ib=null,fb=!1;f=mxUtils.bind(this,function(){fb||(fb=!0,window.setTimeout(mxUtils.bind(this,function(){var fa=e.getSelectedEditingElement();if(null!=fa){var Ga=function(xa,Ba){if(null!=xa&&null!=Ba){if(xa==Ba)return!0;if(xa.length>Ba.length+1)return xa.substring(xa.length-Ba.length-1,xa.length)=="-"+Ba}return!1},ya=function(xa){if(null!=e.getParentByName(fa,xa,e.cellEditor.textarea))return!0;
-for(var Ba=fa;null!=Ba&&1==Ba.childNodes.length;)if(Ba=Ba.childNodes[0],Ba.nodeName==xa)return!0;return!1},u=function(xa){xa=null!=xa?xa.fontSize:null;return null!=xa&&"px"==xa.substring(xa.length-2)?parseFloat(xa):mxConstants.DEFAULT_FONTSIZE},A=function(xa,Ba,wa){return null!=wa.style&&null!=Ba?(Ba=Ba.lineHeight,null!=wa.style.lineHeight&&"%"==wa.style.lineHeight.substring(wa.style.lineHeight.length-1)?parseInt(wa.style.lineHeight)/100:"px"==Ba.substring(Ba.length-2)?parseFloat(Ba)/xa:parseInt(Ba)):
-""},B=function(xa){for(;null!=xa&&xa!=e.cellEditor.textarea;){if("block"==mxUtils.getCurrentStyle(xa).display)return xa;xa=xa.parentNode}return null},E=mxUtils.getCurrentStyle(fa),N=u(E),Q=A(N,E,fa),T=fa.getElementsByTagName("*");if(0<T.length&&window.getSelection&&!mxClient.IS_IE&&!mxClient.IS_IE11)for(var ia=window.getSelection(),da=0;da<T.length;da++)if(ia.containsNode(T[da],!0)){temp=mxUtils.getCurrentStyle(T[da]);N=Math.max(u(temp),N);var ha=A(N,temp,T[da]);if(ha!=Q||isNaN(ha))Q=""}if(null!=
-E){b(l[0],"bold"==E.fontWeight||400<E.fontWeight||ya("B")||ya("STRONG"));b(l[1],"italic"==E.fontStyle||ya("I")||ya("EM"));b(l[2],ya("U"));b(Z,ya("SUP"));b(H,ya("SUB"));var ua=B(fa);if(null!=ua){ya=function(xa,Ba){Ka.push({name:xa,dispName:Ba,type:"string",getValue:function(){return Ja[xa]},valueChanged:function(wa,za){var Ya=ua.style,Sa=wa;parseInt(Sa)==Sa&&(Sa+="px",null!=za&&(za.value=Sa));Ya[xa]=Sa;""==wa&&null!=za&&(za.value=Ja[xa])}})};var Ja=mxUtils.getCurrentStyle(ua),Ka=[];ya("paddingTop",
-"Padding Top");ya("paddingRight","Padding Right");ya("paddingLeft","Padding Left");ya("paddingBottom","Padding Bottom");ya("marginTop","Margin Top");ya("marginRight","Margin Right");ya("marginLeft","Margin Left");ya("marginBottom","Margin Bottom");ya=this.createPanel();this.addProperties(ya,Ka,g,!0);null!=ib?ib.parentNode.replaceChild(ya,ib):a.appendChild(ya);ib=ya}e.cellEditor.isTableSelected()?(b(M,Ga(E.textAlign,"justify")),b(C,Ga(E.textAlign,"left")),b(F,Ga(E.textAlign,"center")),b(D,Ga(E.textAlign,
-"right"))):(ya=e.cellEditor.align||mxUtils.getValue(g.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER),Ga(E.textAlign,"justify")?(b(M,Ga(E.textAlign,"justify")),b(C,!1),b(F,!1),b(D,!1)):(b(M,!1),b(C,ya==mxConstants.ALIGN_LEFT),b(F,ya==mxConstants.ALIGN_CENTER),b(D,ya==mxConstants.ALIGN_RIGHT)));S=e.getParentByName(fa,"TABLE",e.cellEditor.textarea);Y=null==S?null:e.getParentByName(fa,"TR",S);X=null==S?null:e.getParentByNames(fa,["TD","TH"],S);Na.style.display=null!=S?"":"none";document.activeElement!=
-V&&("FONT"==fa.nodeName&&"4"==fa.getAttribute("size")&&null!=ca?(fa.removeAttribute("size"),fa.style.fontSize=ca+" pt",ca=null):V.value=isNaN(N)?"":N+" "+Editor.fontSizeUnit,ha=parseFloat(Q),isNaN(ha)?Ma.value="100 %":Ma.value=Math.round(100*ha)+" %");null!=L&&(ea="rgba(0, 0, 0, 0)"==E.color||"transparent"==E.color?mxConstants.NONE:mxUtils.rgba2hex(E.color),L(ea,!0));null!=ra&&(oa="rgba(0, 0, 0, 0)"==E.backgroundColor||"transparent"==E.backgroundColor?mxConstants.NONE:mxUtils.rgba2hex(E.backgroundColor),
-ra(oa,!0));null!=q.firstChild&&(q.firstChild.nodeValue=mxUtils.getCssFontFamily(E.fontFamily))}}fb=!1}),0))});(mxClient.IS_FF||mxClient.IS_EDGE||mxClient.IS_IE||mxClient.IS_IE11)&&mxEvent.addListener(e.cellEditor.textarea,"DOMSubtreeModified",f);mxEvent.addListener(e.cellEditor.textarea,"input",f);mxEvent.addListener(e.cellEditor.textarea,"touchend",f);mxEvent.addListener(e.cellEditor.textarea,"mouseup",f);mxEvent.addListener(e.cellEditor.textarea,"keyup",f);this.listeners.push({destroy:function(){}});
-f()}return a};StyleFormatPanel=function(a,b,d){BaseFormatPanel.call(this,a,b,d);this.init()};mxUtils.extend(StyleFormatPanel,BaseFormatPanel);StyleFormatPanel.prototype.defaultStrokeColor="black";
+mxConstants.ALIGN_BOTTOM,mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_TOP],bottom:[mxConstants.ALIGN_CENTER,mxConstants.ALIGN_BOTTOM,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_TOP],bottomRight:[mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_BOTTOM,mxConstants.ALIGN_LEFT,mxConstants.ALIGN_TOP]};for(F=0;F<G.length;F++){var O=document.createElement("option");O.setAttribute("value",G[F]);mxUtils.write(O,mxResources.get(G[F]));ja.appendChild(O)}C.appendChild(ja);G=n.cloneNode(!1);G.removeAttribute("class");G.style.marginLeft=
+"0px";G.style.paddingTop="4px";G.style.paddingBottom="4px";G.style.fontWeight="normal";mxUtils.write(G,mxResources.get("writingDirection"));var T=document.createElement("select");T.style.position="absolute";T.style.borderWidth="1px";T.style.borderStyle="solid";T.style.left="126px";T.style.width="98px";T.style.marginTop="-3px";O=["automatic","leftToRight","rightToLeft"];g.html&&(O.push("vertical-leftToRight"),O.push("vertical-rightToLeft"));var X={automatic:null,leftToRight:mxConstants.TEXT_DIRECTION_LTR,
+rightToLeft:mxConstants.TEXT_DIRECTION_RTL,"vertical-leftToRight":mxConstants.TEXT_DIRECTION_VERTICAL_LR,"vertical-rightToLeft":mxConstants.TEXT_DIRECTION_VERTICAL_RL};for(F=0;F<O.length;F++){var ca=document.createElement("option");ca.setAttribute("value",O[F]);"vertical-"==O[F].substring(0,9)?mxUtils.write(ca,mxResources.get("vertical")+" ("+mxResources.get(O[F].substring(9))+")"):mxUtils.write(ca,mxResources.get(O[F]));T.appendChild(ca)}G.appendChild(T);d.isEditing()||(a.appendChild(C),mxEvent.addListener(ja,
+"change",function(da){d.getModel().beginUpdate();try{var wa=sa[ja.value];null!=wa&&(d.setCellStyles(mxConstants.STYLE_LABEL_POSITION,wa[0],g.cells),d.setCellStyles(mxConstants.STYLE_VERTICAL_LABEL_POSITION,wa[1],g.cells),d.setCellStyles(mxConstants.STYLE_ALIGN,wa[2],g.cells),d.setCellStyles(mxConstants.STYLE_VERTICAL_ALIGN,wa[3],g.cells))}finally{d.getModel().endUpdate()}mxEvent.consume(da)}),a.appendChild(G),mxEvent.addListener(T,"change",function(da){d.setCellStyles(mxConstants.STYLE_TEXT_DIRECTION,
+X[T.value],g.cells);mxEvent.consume(da)}));var na=document.createElement("input");na.style.position="absolute";na.style.borderWidth="1px";na.style.borderStyle="solid";na.style.textAlign="right";na.style.marginTop="4px";na.style.left="161px";na.style.width="53px";na.style.height="23px";na.style.boxSizing="border-box";k.appendChild(na);C=this.installInputHandler(na,mxConstants.STYLE_FONTSIZE,Menus.prototype.defaultFontSize,1,999," "+Editor.fontSizeUnit,function(da){if(null!=d.getSelectedEditingElement()){na.value=
+da+" "+Editor.fontSizeUnit;document.execCommand("fontSize",!1,"1");for(var wa=d.cellEditor.textarea.getElementsByTagName("font"),u=0;u<wa.length;u++)if("1"==wa[u].getAttribute("size")){wa[u].removeAttribute("size");wa[u].style.fontSize="";var A=mxUtils.getCurrentStyle(wa[u]);da!=b(A)?wa[u].style.fontSize=da+"px":""==wa[u].getAttribute("style")&&wa[u].removeAttribute("style")}}},!0);C=this.createStepper(na,C,1,10,!0,Menus.prototype.defaultFontSize);C.style.display=na.style.display;C.style.marginTop=
+"4px";C.style.left="214px";k.appendChild(C);k=p.getElementsByTagName("div")[0];k.style.cssFloat="right";var pa=null,M=d.shapeBackgroundColor,ea=null,ra=d.shapeForegroundColor,ta=d.cellEditor.isContentEditing()?this.createColorOption(mxResources.get("backgroundColor"),function(){return M},function(da){document.execCommand("backcolor",!1,da!=mxConstants.NONE?da:"transparent");h.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_LABEL_BACKGROUNDCOLOR],"values",[da],"cells",g.cells))},
+d.shapeBackgroundColor,{install:function(da){pa=da},destroy:function(){pa=null}},null,!0):this.createCellColorOption(mxResources.get("backgroundColor"),mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,"default",null,function(da){d.updateLabelElements(g.cells,function(wa){wa.style.backgroundColor=null})},d.shapeBackgroundColor);ta.style.fontWeight="bold";var Sa=this.createCellColorOption(mxResources.get("borderColor"),mxConstants.STYLE_LABEL_BORDERCOLOR,"default",null,null,d.shapeForegroundColor);Sa.style.fontWeight=
+"bold";k=1<=g.vertices.length?d.stylesheet.getDefaultVertexStyle():d.stylesheet.getDefaultEdgeStyle();k=d.cellEditor.isContentEditing()?this.createColorOption(mxResources.get("fontColor"),function(){return ra},function(da){if(mxClient.IS_FF){for(var wa=d.cellEditor.textarea.getElementsByTagName("font"),u=[],A=0;A<wa.length;A++)u.push({node:wa[A],color:wa[A].getAttribute("color")});document.execCommand("forecolor",!1,da!=mxConstants.NONE?da:"transparent");h.fireEvent(new mxEventObject("styleChanged",
+"keys",[mxConstants.STYLE_FONTCOLOR],"values",[da],"cells",g.cells));da=d.cellEditor.textarea.getElementsByTagName("font");for(A=0;A<da.length;A++)if(A>=u.length||da[A]!=u[A].node||da[A]==u[A].node&&da[A].getAttribute("color")!=u[A].color){u=da[A].firstChild;if(null!=u&&"A"==u.nodeName&&null==u.nextSibling&&null!=u.firstChild){da[A].parentNode.insertBefore(u,da[A]);for(wa=u.firstChild;null!=wa;){var B=wa.nextSibling;da[A].appendChild(wa);wa=B}u.appendChild(da[A])}break}}else document.execCommand("forecolor",
+!1,da!=mxConstants.NONE?da:"transparent"),h.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_FONTCOLOR],"values",[da],"cells",g.cells))},null!=k[mxConstants.STYLE_FONTCOLOR]?k[mxConstants.STYLE_FONTCOLOR]:d.shapeForegroundColor,{install:function(da){ea=da},destroy:function(){ea=null}},null,!0):this.createCellColorOption(mxResources.get("fontColor"),mxConstants.STYLE_FONTCOLOR,"default",function(da){ta.style.display=da==mxConstants.NONE?"none":"";Sa.style.display=ta.style.display},
+function(da){da==mxConstants.NONE?d.setCellStyles(mxConstants.STYLE_NOLABEL,"1",g.cells):d.setCellStyles(mxConstants.STYLE_NOLABEL,null,g.cells);d.setCellStyles(mxConstants.STYLE_FONTCOLOR,da,g.cells);d.updateLabelElements(g.cells,function(wa){wa.removeAttribute("color");wa.style.color=null})},d.shapeForegroundColor);k.style.fontWeight="bold";q.appendChild(k);q.appendChild(ta);k=this.createCellOption(mxResources.get("shadow"),mxConstants.STYLE_TEXT_SHADOW,0);k.style.width="100%";k.style.fontWeight=
+"bold";Editor.enableShadowOption||(k.getElementsByTagName("input")[0].setAttribute("disabled","disabled"),mxUtils.setOpacity(k,60));d.cellEditor.isContentEditing()||(q.appendChild(Sa),q.appendChild(k));a.appendChild(q);q=this.createPanel();q.style.paddingTop="2px";q.style.paddingBottom="4px";k=d.filterSelectionCells(mxUtils.bind(this,function(da){var wa=d.view.getState(da);return null==wa||d.isAutoSizeState(wa)||d.getModel().isEdge(da)||!d.isTableRow(da)&&!d.isTableCell(da)&&!d.isCellResizable(da)}));
+C=this.createCellOption(mxResources.get("wordWrap"),mxConstants.STYLE_WHITE_SPACE,null,"wrap","null",null,null,!0,k);C.style.fontWeight="bold";0<k.length&&q.appendChild(C);k=this.createCellOption(mxResources.get("formattedText"),"html",0,null,null,null,h.actions.get("formattedText"));k.style.fontWeight="bold";q.appendChild(k);k=this.createPanel();k.style.paddingTop="10px";k.style.paddingBottom="28px";k.style.fontWeight="normal";C=document.createElement("div");C.style.position="absolute";C.style.width=
+"70px";C.style.marginTop="0px";C.style.fontWeight="bold";mxUtils.write(C,mxResources.get("spacing"));k.appendChild(C);var ma=this.addUnitInput(k,this.getUnit(),87,52,function(){gb.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),Fa=this.addUnitInput(k,this.getUnit(),16,52,function(){Za.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());mxUtils.br(k);this.addLabel(k,mxResources.get("top"),87,64);this.addLabel(k,mxResources.get("global"),16,64);mxUtils.br(k);
+mxUtils.br(k);var Ha=this.addUnitInput(k,this.getUnit(),158,52,function(){ob.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),Na=this.addUnitInput(k,this.getUnit(),87,52,function(){hb.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),Qa=this.addUnitInput(k,this.getUnit(),16,52,function(){db.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());mxUtils.br(k);this.addLabel(k,mxResources.get("left"),158,64);this.addLabel(k,mxResources.get("bottom"),
+87,64);this.addLabel(k,mxResources.get("right"),16,64);if(d.cellEditor.isContentEditing()){var La=null,Ja=null;a.appendChild(this.createRelativeOption(mxResources.get("lineheight"),null,null,function(da){var wa=""==da.value?120:parseInt(da.value);wa=Math.max(0,isNaN(wa)?120:wa);if(window.getSelection){null!=La&&(d.cellEditor.restoreSelection(La),La=null);var u=d.getSelectedEditingElement();if(u==d.cellEditor.textarea&&null!=d.cellEditor.textarea.firstChild&&d.cellEditor.textarea.firstChild.nodeType!=
+mxConstants.NODETYPE_ELEMENT&&1==d.cellEditor.textarea.children.length){var A=window.getSelection();if(A.getRangeAt&&0<A.rangeCount){var B=A.getRangeAt(0);u=document.createElement("div");u.appendChild(B.extractContents());d.cellEditor.textarea.innerHTML="";d.cellEditor.textarea.appendChild(u);A.removeAllRanges();B=new Range;B.selectNodeContents(u);A.addRange(B)}}u!=d.cellEditor.textarea&&e(u,wa);u=u.getElementsByTagName("*");A=window.getSelection();for(B=0;B<u.length;B++)A.containsNode(u[B],!0)&&
+e(u[B],wa)}da.value=wa+" %"},function(da){Ja=da;mxEvent.addListener(da,"mousedown",function(){document.activeElement==d.cellEditor.textarea&&(La=d.cellEditor.saveSelection())});mxEvent.addListener(da,"touchstart",function(){document.activeElement==d.cellEditor.textarea&&(La=d.cellEditor.saveSelection())});da.value="120 %"}));q=n.cloneNode(!1);q.style.paddingLeft="0px";k=this.editorUi.toolbar.addItems(["link","image"],q,!0);C=[this.editorUi.toolbar.addButton("geSprite-horizontalrule",mxResources.get("insertHorizontalRule"),
+function(){document.execCommand("inserthorizontalrule",!1)},q),this.editorUi.toolbar.addMenuFunctionInContainer(q,"geSprite-table",mxResources.get("table"),!1,mxUtils.bind(this,function(da){this.editorUi.menus.addInsertTableItem(da,null,null,!1)}))];this.styleButtons(k);this.styleButtons(C);k=this.createPanel();k.style.paddingTop="10px";k.style.paddingBottom="10px";k.appendChild(this.createTitle(mxResources.get("insert")));k.appendChild(q);a.appendChild(k);k=n.cloneNode(!1);k.style.paddingLeft="0px";
+C=[this.editorUi.toolbar.addButton("geSprite-insertcolumnbefore",mxResources.get("insertColumnBefore"),mxUtils.bind(this,function(){try{null!=V&&d.insertColumn(V,null!=L?L.cellIndex:0)}catch(da){this.editorUi.handleError(da)}}),k),this.editorUi.toolbar.addButton("geSprite-insertcolumnafter",mxResources.get("insertColumnAfter"),mxUtils.bind(this,function(){try{null!=V&&d.insertColumn(V,null!=L?L.cellIndex+1:-1)}catch(da){this.editorUi.handleError(da)}}),k),this.editorUi.toolbar.addButton("geSprite-deletecolumn",
+mxResources.get("deleteColumn"),mxUtils.bind(this,function(){try{null!=V&&null!=L&&d.deleteColumn(V,L.cellIndex)}catch(da){this.editorUi.handleError(da)}}),k),this.editorUi.toolbar.addButton("geSprite-insertrowbefore",mxResources.get("insertRowBefore"),mxUtils.bind(this,function(){try{null!=V&&null!=U&&d.insertRow(V,U.sectionRowIndex)}catch(da){this.editorUi.handleError(da)}}),k),this.editorUi.toolbar.addButton("geSprite-insertrowafter",mxResources.get("insertRowAfter"),mxUtils.bind(this,function(){try{null!=
+V&&null!=U&&d.insertRow(V,U.sectionRowIndex+1)}catch(da){this.editorUi.handleError(da)}}),k),this.editorUi.toolbar.addButton("geSprite-deleterow",mxResources.get("deleteRow"),mxUtils.bind(this,function(){try{null!=V&&null!=U&&d.deleteRow(V,U.sectionRowIndex)}catch(da){this.editorUi.handleError(da)}}),k)];this.styleButtons(C);C[2].style.marginRight="10px";q=this.createPanel();q.style.paddingTop="10px";q.style.paddingBottom="10px";q.appendChild(this.createTitle(mxResources.get("table")));q.appendChild(k);
+n=n.cloneNode(!1);n.style.paddingLeft="0px";C=[this.editorUi.toolbar.addButton("geSprite-strokecolor",mxResources.get("borderColor"),mxUtils.bind(this,function(da){if(null!=V){var wa=V.style.borderColor.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,function(u,A,B,E){return"#"+("0"+Number(A).toString(16)).substr(-2)+("0"+Number(B).toString(16)).substr(-2)+("0"+Number(E).toString(16)).substr(-2)});this.editorUi.pickColor(wa,function(u){var A=null==L||null!=da&&mxEvent.isShiftDown(da)?V:
+L;d.processElements(A,function(B){B.style.border=null});null==u||u==mxConstants.NONE?(A.removeAttribute("border"),A.style.border="",A.style.borderCollapse=""):(A.setAttribute("border","1"),A.style.border="1px solid "+u,A.style.borderCollapse="collapse")})}}),n),this.editorUi.toolbar.addButton("geSprite-fillcolor",mxResources.get("backgroundColor"),mxUtils.bind(this,function(da){if(null!=V){var wa=V.style.backgroundColor.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,function(u,A,B,E){return"#"+
+("0"+Number(A).toString(16)).substr(-2)+("0"+Number(B).toString(16)).substr(-2)+("0"+Number(E).toString(16)).substr(-2)});this.editorUi.pickColor(wa,function(u){var A=null==L||null!=da&&mxEvent.isShiftDown(da)?V:L;d.processElements(A,function(B){B.style.backgroundColor=null});A.style.backgroundColor=null==u||u==mxConstants.NONE?"":u})}}),n),this.editorUi.toolbar.addButton("geSprite-fit",mxResources.get("spacing"),function(){if(null!=V){var da=V.getAttribute("cellPadding")||0;da=new FilenameDialog(h,
+da,mxResources.get("apply"),mxUtils.bind(this,function(wa){null!=wa&&0<wa.length?V.setAttribute("cellPadding",wa):V.removeAttribute("cellPadding")}),mxResources.get("spacing"));h.showDialog(da.container,300,80,!0,!0);da.init()}},n),this.editorUi.toolbar.addButton("geSprite-left",mxResources.get("left"),function(){null!=V&&V.setAttribute("align","left")},n),this.editorUi.toolbar.addButton("geSprite-center",mxResources.get("center"),function(){null!=V&&V.setAttribute("align","center")},n),this.editorUi.toolbar.addButton("geSprite-right",
+mxResources.get("right"),function(){null!=V&&V.setAttribute("align","right")},n)];this.styleButtons(C);C[2].style.marginRight="10px";q.appendChild(n);a.appendChild(q);var ua=q}else a.appendChild(q),a.appendChild(this.createRelativeOption(mxResources.get("opacity"),mxConstants.STYLE_TEXT_OPACITY)),a.appendChild(k);for(F=0;3>F;F++)(function(da){mxEvent.addListener(w[da],"click",function(){f(w[da],""==w[da].style.backgroundImage)})})(F);var Ia=mxUtils.bind(this,function(da,wa,u){g=h.getSelectionState();
+da=mxUtils.getValue(g.style,mxConstants.STYLE_FONTSTYLE,0);f(w[0],(da&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD);f(w[1],(da&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC);f(w[2],(da&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE);p.firstChild.nodeValue=mxUtils.getValue(g.style,mxConstants.STYLE_FONTFAMILY,Menus.prototype.defaultFont);f(z,"0"==mxUtils.getValue(g.style,mxConstants.STYLE_HORIZONTAL,"1"));if(u||document.activeElement!=na)da=parseFloat(mxUtils.getValue(g.style,mxConstants.STYLE_FONTSIZE,
+Menus.prototype.defaultFontSize)),na.value=isNaN(da)?"":da+" "+Editor.fontSizeUnit;da=mxUtils.getValue(g.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER);f(D,da==mxConstants.ALIGN_LEFT);f(H,da==mxConstants.ALIGN_CENTER);f(K,da==mxConstants.ALIGN_RIGHT);da=mxUtils.getValue(g.style,mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE);f(P,da==mxConstants.ALIGN_TOP);f(I,da==mxConstants.ALIGN_MIDDLE);f(Z,da==mxConstants.ALIGN_BOTTOM);da=mxUtils.getValue(g.style,mxConstants.STYLE_LABEL_POSITION,
+mxConstants.ALIGN_CENTER);wa=mxUtils.getValue(g.style,mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE);ja.value=da==mxConstants.ALIGN_LEFT&&wa==mxConstants.ALIGN_TOP?"topLeft":da==mxConstants.ALIGN_CENTER&&wa==mxConstants.ALIGN_TOP?"top":da==mxConstants.ALIGN_RIGHT&&wa==mxConstants.ALIGN_TOP?"topRight":da==mxConstants.ALIGN_LEFT&&wa==mxConstants.ALIGN_BOTTOM?"bottomLeft":da==mxConstants.ALIGN_CENTER&&wa==mxConstants.ALIGN_BOTTOM?"bottom":da==mxConstants.ALIGN_RIGHT&&wa==mxConstants.ALIGN_BOTTOM?
+"bottomRight":da==mxConstants.ALIGN_LEFT?"left":da==mxConstants.ALIGN_RIGHT?"right":"center";da=mxUtils.getValue(g.style,mxConstants.STYLE_TEXT_DIRECTION,mxConstants.DEFAULT_TEXT_DIRECTION);da==mxConstants.TEXT_DIRECTION_RTL?T.value="rightToLeft":da==mxConstants.TEXT_DIRECTION_LTR?T.value="leftToRight":da!=mxConstants.TEXT_DIRECTION_AUTO&&g.html?da==mxConstants.TEXT_DIRECTION_VERTICAL_LR?T.value="vertical-leftToRight":da==mxConstants.TEXT_DIRECTION_VERTICAL_RL&&(T.value="vertical-rightToLeft"):T.value=
+"automatic";if(u||document.activeElement!=Fa)da=parseFloat(mxUtils.getValue(g.style,mxConstants.STYLE_SPACING,2)),Fa.value=isNaN(da)?"":this.inUnit(da)+" "+this.getUnit();if(u||document.activeElement!=ma)da=parseFloat(mxUtils.getValue(g.style,mxConstants.STYLE_SPACING_TOP,0)),ma.value=isNaN(da)?"":this.inUnit(da)+" "+this.getUnit();if(u||document.activeElement!=Qa)da=parseFloat(mxUtils.getValue(g.style,mxConstants.STYLE_SPACING_RIGHT,0)),Qa.value=isNaN(da)?"":this.inUnit(da)+" "+this.getUnit();if(u||
+document.activeElement!=Na)da=parseFloat(mxUtils.getValue(g.style,mxConstants.STYLE_SPACING_BOTTOM,0)),Na.value=isNaN(da)?"":this.inUnit(da)+" "+this.getUnit();if(u||document.activeElement!=Ha)da=parseFloat(mxUtils.getValue(g.style,mxConstants.STYLE_SPACING_LEFT,0)),Ha.value=isNaN(da)?"":this.inUnit(da)+" "+this.getUnit()});var Za=this.installInputHandler(Fa,mxConstants.STYLE_SPACING,2,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var gb=this.installInputHandler(ma,mxConstants.STYLE_SPACING_TOP,
+0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var db=this.installInputHandler(Qa,mxConstants.STYLE_SPACING_RIGHT,0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var hb=this.installInputHandler(Na,mxConstants.STYLE_SPACING_BOTTOM,0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var ob=this.installInputHandler(Ha,mxConstants.STYLE_SPACING_LEFT,0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);this.addKeyHandler(na,Ia);this.addKeyHandler(Fa,Ia);this.addKeyHandler(ma,
+Ia);this.addKeyHandler(Qa,Ia);this.addKeyHandler(Na,Ia);this.addKeyHandler(Ha,Ia);d.getModel().addListener(mxEvent.CHANGE,Ia);this.listeners.push({destroy:function(){d.getModel().removeListener(Ia)}});Ia();if(d.cellEditor.isContentEditing()){var cb=null,ab=!1;n=mxUtils.bind(this,function(){ab||(ab=!0,window.setTimeout(mxUtils.bind(this,function(){var da=d.getSelectedEditingElement();if(null!=da&&null!=d.cellEditor.textarea){var wa=function(xa,Da){if(null!=xa&&null!=Da){if(xa==Da)return!0;if(xa.length>
+Da.length+1)return xa.substring(xa.length-Da.length-1,xa.length)=="-"+Da}return!1},u=function(xa){if(null!=d.getParentByName(da,xa,d.cellEditor.textarea))return!0;for(var Da=da;null!=Da&&1==Da.childNodes.length;)if(Da=Da.childNodes[0],Da.nodeName==xa)return!0;return!1},A=function(xa){for(;null!=xa&&xa!=d.cellEditor.textarea;){if("block"==mxUtils.getCurrentStyle(xa).display)return xa;xa=xa.parentNode}return null},B=mxUtils.getCurrentStyle(da),E=da==d.cellEditor.textarea||""==da.style.lineHeight?null:
+da.style.lineHeight,N=da==d.cellEditor.textarea||""==da.style.fontSize?null:b(B);if(window.getSelection)for(var Q=da.getElementsByTagName("*"),W=window.getSelection(),ha=0;ha<Q.length&&(!W.containsNode(Q[ha],!0)||(null==N&&""!=Q[ha].style.fontSize&&(N=parseFloat(Q[ha].style.fontSize)),null==E&&""!=Q[ha].style.lineHeight&&(E=Q[ha].style.lineHeight),null==N||null==E));ha++);null==N&&(N=b(B));if(null==E)for(Q=da;null!=Q&&Q!=d.cellEditor.textarea.parentNode;){if(null!=Q.style&&""!=Q.style.lineHeight){E=
+Q.style.lineHeight;break}Q=Q.parentNode}if(null!=B){f(w[0],"bold"==B.fontWeight||400<B.fontWeight||u("B")||u("STRONG"));f(w[1],"italic"==B.fontStyle||u("I")||u("EM"));f(w[2],u("U"));f(Y,u("SUP"));f(S,u("SUB"));var fa=A(da);if(null!=fa){u=function(xa,Da){ya.push({name:xa,dispName:Da,type:"string",getValue:function(){return ia[xa]},valueChanged:function(Oa,Ma){var Aa=fa.style,va=Oa;parseInt(va)==va&&(va+="px",null!=Ma&&(Ma.value=va));Aa[xa]=va;""==Oa&&null!=Ma&&(Ma.value=ia[xa])}})};var ia=mxUtils.getCurrentStyle(fa),
+ya=[];u("paddingTop","Padding Top");u("paddingRight","Padding Right");u("paddingLeft","Padding Left");u("paddingBottom","Padding Bottom");u("marginTop","Margin Top");u("marginRight","Margin Right");u("marginLeft","Margin Left");u("marginBottom","Margin Bottom");u=this.createPanel();this.addProperties(u,ya,g,!0);null!=cb?cb.parentNode.replaceChild(u,cb):a.appendChild(u);cb=u}d.cellEditor.isTableSelected()?(f(ba,wa(B.textAlign,"justify")),f(D,wa(B.textAlign,"left")),f(H,wa(B.textAlign,"center")),f(K,
+wa(B.textAlign,"right"))):(u=d.cellEditor.align||mxUtils.getValue(g.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER),wa(B.textAlign,"justify")?(f(ba,wa(B.textAlign,"justify")),f(D,!1),f(H,!1),f(K,!1)):(f(ba,!1),f(D,u==mxConstants.ALIGN_LEFT),f(H,u==mxConstants.ALIGN_CENTER),f(K,u==mxConstants.ALIGN_RIGHT)));V=d.getParentByName(da,"TABLE",d.cellEditor.textarea);U=null==V?null:d.getParentByName(da,"TR",V);L=null==V?null:d.getParentByNames(da,["TD","TH"],V);ua.style.display=null!=V?"":"none";
+document.activeElement!=na&&(na.value=isNaN(N)?"":N+" "+Editor.fontSizeUnit,"string"===typeof E&&0<E.indexOf("%")?Ja.value=E.replace("%"," %"):(wa=parseFloat(E),isNaN(wa)?Ja.value="120 %":Ja.value=Math.round(100*wa)+" %"));null!=ea&&(ra="rgba(0, 0, 0, 0)"==B.color||"transparent"==B.color?mxConstants.NONE:mxUtils.rgba2hex(B.color),ea(ra,!0));null!=pa&&(M="rgba(0, 0, 0, 0)"==B.backgroundColor||"transparent"==B.backgroundColor?mxConstants.NONE:mxUtils.rgba2hex(B.backgroundColor),pa(M,!0));null!=p.firstChild&&
+(p.firstChild.nodeValue=mxUtils.getCssFontFamily(B.fontFamily))}}ab=!1}),0))});(mxClient.IS_FF||mxClient.IS_EDGE||mxClient.IS_IE||mxClient.IS_IE11)&&mxEvent.addListener(d.cellEditor.textarea,"DOMSubtreeModified",n);mxEvent.addListener(d.cellEditor.textarea,"input",n);mxEvent.addListener(d.cellEditor.textarea,"touchend",n);mxEvent.addListener(d.cellEditor.textarea,"mouseup",n);mxEvent.addListener(d.cellEditor.textarea,"keyup",n);this.listeners.push({destroy:function(){}});n()}return a};
+StyleFormatPanel=function(a,b,e){BaseFormatPanel.call(this,a,b,e);this.init()};mxUtils.extend(StyleFormatPanel,BaseFormatPanel);StyleFormatPanel.prototype.defaultStrokeColor="black";
StyleFormatPanel.prototype.init=function(){var a=this.editorUi.getSelectionState();if(!a.containsLabel&&0<a.cells.length){a.containsImage&&1==a.vertices.length&&"image"==a.style.shape&&null!=a.style.image&&"data:image/svg+xml;"==String(a.style.image).substring(0,19)&&this.container.appendChild(this.addSvgStyles(this.createPanel()));a.fill&&this.container.appendChild(this.addFill(this.createPanel()));this.container.appendChild(this.addStroke(this.createPanel()));this.container.appendChild(this.addLineJumps(this.createPanel()));
var b=this.createRelativeOption(mxResources.get("opacity"),mxConstants.STYLE_OPACITY);b.style.paddingTop="8px";b.style.paddingBottom="10px";this.container.appendChild(b);this.container.appendChild(this.addEffects(this.createPanel()))}b=this.createPanel();b.style.paddingTop="8px";1==a.cells.length&&(this.addEditOps(b),null!=b.firstChild&&mxUtils.br(b));1<=a.cells.length&&this.addStyleOps(b);null!=b.firstChild&&this.container.appendChild(b)};
-StyleFormatPanel.prototype.getCssRules=function(a){var b=document.implementation.createHTMLDocument(""),d=document.createElement("style");mxUtils.setTextContent(d,a);b.body.appendChild(d);return d.sheet.cssRules};
-StyleFormatPanel.prototype.addSvgStyles=function(a){var b=this.editorUi.getSelectionState();a.style.paddingTop="6px";a.style.paddingBottom="6px";a.style.fontWeight="bold";a.style.display="none";try{var d=b.style.editableCssRules;if(null!=d){var e=new RegExp(d),g=b.style.image.substring(b.style.image.indexOf(",")+1),f=window.atob?decodeURIComponent(escape(atob(g))):Base64.decode(g,!0),h=mxUtils.parseXml(f);if(null!=h){var n=h.getElementsByTagName("style");for(b=0;b<n.length;b++){var q=this.getCssRules(mxUtils.getTextContent(n[b]));
-for(d=0;d<q.length;d++)this.addSvgRule(a,q[d],h,n[b],q,d,e)}}}}catch(l){}return a};
-StyleFormatPanel.prototype.addSvgRule=function(a,b,d,e,g,f,h){var n=this.editorUi,q=n.editor.graph;h.test(b.selectorText)&&(h=mxUtils.bind(this,function(l,p,w){var z=mxUtils.trim(l.style[p]);""!=z&&"url("!=z.substring(0,4)&&(l=this.createColorOption(w+" "+l.selectorText,function(){var C=z;return(C=C.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i))&&4===C.length?"#"+("0"+parseInt(C[1],10).toString(16)).slice(-2)+("0"+parseInt(C[2],10).toString(16)).slice(-2)+("0"+parseInt(C[3],
-10).toString(16)).slice(-2):""},mxUtils.bind(this,function(C){g[f].style[p]=C;C="";for(var F=0;F<g.length;F++)C+=g[F].cssText+" ";e.textContent=C;C=mxUtils.getXml(d.documentElement);q.setCellStyles(mxConstants.STYLE_IMAGE,"data:image/svg+xml,"+(window.btoa?btoa(unescape(encodeURIComponent(C))):Base64.encode(C,!0)),n.getSelectionState().cells)}),"#ffffff",{install:function(C){},destroy:function(){}}),a.appendChild(l),a.style.display="")}),h(b,"fill",mxResources.get("fill")),h(b,"stroke",mxResources.get("line")),
-h(b,"stop-color",mxResources.get("gradient")))};
-StyleFormatPanel.prototype.addEditOps=function(a){var b=this.editorUi.getSelectionState();if(1==b.cells.length){var d=document.createElement("select");d.style.width="210px";d.style.textAlign="center";d.style.marginBottom="2px";var e="edit copyAsText editLink editShape editImage editData copyData pasteData editConnectionPoints editGeometry editTooltip editStyle".split(" "),g=null;if(null!=this.editorUi.sidebar){var f=this.editorUi.sidebar.getKeyStyle(b.cells[0].style);g=this.editorUi.sidebar.getLibsForStyle(f);
-null!=g||this.editorUi.sidebar.isSearchIndexLoaded()||null==b.style.shape||"mxgraph."!=String(b.style.shape).substring(0,8)||(g=[])}null!=g&&e.push("openLibrary");for(f=0;f<e.length;f++){var h=this.editorUi.actions.get(e[f]);if(null==h||h.enabled){var n=document.createElement("option");n.setAttribute("value",e[f]);var q=mxResources.get(e[f]);mxUtils.write(n,q+("edit"==e[f]?"":"..."));null!=h&&null!=h.shortcut&&(q+=" ("+h.shortcut+")");n.setAttribute("title",q);d.appendChild(n)}}1<d.children.length&&
-(a.appendChild(d),mxEvent.addListener(d,"change",mxUtils.bind(this,function(l){"openLibrary"==d.value?(null!=g&&0==g.length&&(this.editorUi.sidebar.updateSearchIndex(),l=this.editorUi.sidebar.getKeyStyle(b.cells[0].style),g=this.editorUi.sidebar.getLibsForStyle(l)),null!=g&&0<g.length?this.editorUi.sidebar.openLibraries(g):this.editorUi.handleError({message:mxResources.get("objectNotFound")}),d.value="edit"):(l=this.editorUi.actions.get(d.value),d.value="edit",null!=l&&l.funct())})),b.image&&(e=this.editorUi.editor.graph,
-e=e.view.getState(e.getSelectionCell()),null!=e&&null!=mxUtils.getValue(e.style,mxConstants.STYLE_IMAGE,null)&&(e=mxUtils.button(mxResources.get("crop")+"...",mxUtils.bind(this,function(l){this.editorUi.actions.get("crop").funct()})),e.setAttribute("title",mxResources.get("crop")),d.style.width="104px",e.style.width="104px",e.style.marginLeft="2px",e.style.marginBottom="2px",a.appendChild(e))))}return a};
-StyleFormatPanel.prototype.addFill=function(a){function b(){h.innerHTML="";C=1;for(var D=0;D<Editor.fillStyles.length;D++){var G=document.createElement("option");G.setAttribute("value",Editor.fillStyles[D].val);mxUtils.write(G,Editor.fillStyles[D].dispName);h.appendChild(G)}}var d=this.editorUi,e=d.editor.graph,g=d.getSelectionState();a.style.paddingTop="6px";a.style.paddingBottom="6px";var f=document.createElement("select");f.style.position="absolute";f.style.left="104px";f.style.width="70px";f.style.height=
-"22px";f.style.padding="0px";f.style.marginTop="-3px";f.style.borderWidth="1px";f.style.borderStyle="solid";f.style.boxSizing="border-box";var h=f.cloneNode(!1);mxEvent.addListener(f,"click",function(D){mxEvent.consume(D)});mxEvent.addListener(h,"click",function(D){mxEvent.consume(D)});var n=this.createCellColorOption(mxResources.get("gradient"),mxConstants.STYLE_GRADIENTCOLOR,"default",function(D){f.style.display=null==D||D==mxConstants.NONE?"none":""},function(D){e.updateCellStyles({gradientColor:D},
-e.getSelectionCells())},e.getDefaultColor(g.style,mxConstants.STYLE_GRADIENTCOLOR,e.shapeForegroundColor,e.shapeBackgroundColor)),q="image"==g.style.shape?mxConstants.STYLE_IMAGE_BACKGROUND:mxConstants.STYLE_FILLCOLOR,l=this.createCellColorOption(mxResources.get("fill"),q,"default",null,mxUtils.bind(this,function(D){e.setCellStyles(q,D,g.cells)}),e.getDefaultColor(g.style,q,e.shapeBackgroundColor,e.shapeForegroundColor));l.style.fontWeight="bold";var p=mxUtils.getValue(g.style,q,null);n.style.display=
-null!=p&&p!=mxConstants.NONE&&g.fill&&"image"!=g.style.shape?"":"none";var w=[mxConstants.DIRECTION_NORTH,mxConstants.DIRECTION_EAST,mxConstants.DIRECTION_SOUTH,mxConstants.DIRECTION_WEST,mxConstants.DIRECTION_RADIAL];for(p=0;p<w.length;p++){var z=document.createElement("option");z.setAttribute("value",w[p]);mxUtils.write(z,mxResources.get(w[p]));f.appendChild(z)}n.appendChild(f);var C;b();g.gradient&&l.appendChild(h);var F=mxUtils.bind(this,function(){g=d.getSelectionState();var D=mxUtils.getValue(g.style,
-mxConstants.STYLE_GRADIENT_DIRECTION,mxConstants.DIRECTION_SOUTH),G=mxUtils.getValue(g.style,"fillStyle","auto");""==D&&(D=mxConstants.DIRECTION_SOUTH);f.value=D;a.style.display=g.fill?"":"none";D=mxUtils.getValue(g.style,q,null);if(g.fill&&null!=D&&D!=mxConstants.NONE&&"filledEdge"!=g.style.shape){if("1"==g.style.sketch){if(2!=C){h.innerHTML="";C=2;for(D=0;D<Editor.roughFillStyles.length;D++){var K=document.createElement("option");K.setAttribute("value",Editor.roughFillStyles[D].val);mxUtils.write(K,
-Editor.roughFillStyles[D].dispName);h.appendChild(K)}h.value="auto"}}else 1!=C&&b();h.value=G;h.value||(G="auto",h.value=G);h.style.display="1"==g.style.sketch||"none"==f.style.display?"":"none";n.style.display=!g.gradient||g.containsImage||"1"==g.style.sketch&&"solid"!=G&&"auto"!=G?"none":""}else h.style.display="none",n.style.display="none"});e.getModel().addListener(mxEvent.CHANGE,F);this.listeners.push({destroy:function(){e.getModel().removeListener(F)}});F();mxEvent.addListener(f,"change",function(D){e.setCellStyles(mxConstants.STYLE_GRADIENT_DIRECTION,
-f.value,g.cells);d.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_GRADIENT_DIRECTION],"values",[f.value],"cells",g.cells));mxEvent.consume(D)});mxEvent.addListener(h,"change",function(D){e.setCellStyles("fillStyle",h.value,g.cells);d.fireEvent(new mxEventObject("styleChanged","keys",["fillStyle"],"values",[h.value],"cells",g.cells));mxEvent.consume(D)});a.appendChild(l);a.appendChild(n);l=this.getCustomColors();for(p=0;p<l.length;p++)a.appendChild(this.createCellColorOption(l[p].title,
-l[p].key,l[p].defaultValue));return a};StyleFormatPanel.prototype.getCustomColors=function(){var a=[];this.editorUi.getSelectionState().swimlane&&a.push({title:mxResources.get("laneColor"),key:"swimlaneFillColor",defaultValue:"default"});return a};
-StyleFormatPanel.prototype.addStroke=function(a){function b(L){var ea=e.fromUnit(parseFloat(K.value));ea=Math.min(999,Math.max(0,isNaN(ea)?1:ea));ea!=mxUtils.getValue(h.style,mxConstants.STYLE_STROKEWIDTH,1)&&(f.setCellStyles(mxConstants.STYLE_STROKEWIDTH,ea,h.cells),g.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_STROKEWIDTH],"values",[ea],"cells",h.cells)));K.value=e.inUnit(ea)+" "+e.getUnit();mxEvent.consume(L)}function d(L){var ea=e.fromUnit(parseFloat(I.value));ea=Math.min(999,
-Math.max(0,isNaN(ea)?1:ea));ea!=mxUtils.getValue(h.style,mxConstants.STYLE_STROKEWIDTH,1)&&(f.setCellStyles(mxConstants.STYLE_STROKEWIDTH,ea,h.cells),g.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_STROKEWIDTH],"values",[ea],"cells",h.cells)));I.value=e.inUnit(ea)+" "+e.getUnit();mxEvent.consume(L)}var e=this,g=this.editorUi,f=g.editor.graph,h=g.getSelectionState();a.style.paddingTop="6px";a.style.paddingBottom="4px";a.style.whiteSpace="normal";var n=document.createElement("div");
-n.style.fontWeight="bold";h.stroke||(n.style.display="none");var q=document.createElement("select");q.style.position="absolute";q.style.height="22px";q.style.padding="0px";q.style.marginTop="-3px";q.style.textAlign="center";q.style.boxSizing="border-box";q.style.left="90px";q.style.width="83px";q.style.borderWidth="1px";q.style.borderStyle="solid";for(var l=["sharp","rounded","curved"],p=0;p<l.length;p++){var w=document.createElement("option");w.setAttribute("value",l[p]);mxUtils.write(w,mxResources.get(l[p]));
-q.appendChild(w)}mxEvent.addListener(q,"change",function(L){f.getModel().beginUpdate();try{var ea=[mxConstants.STYLE_ROUNDED,mxConstants.STYLE_CURVED],sa=["0","0"];"rounded"==q.value?sa=["1","0"]:"curved"==q.value&&(sa=["0","1"]);for(var va=0;va<ea.length;va++)f.setCellStyles(ea[va],sa[va],h.cells);g.fireEvent(new mxEventObject("styleChanged","keys",ea,"values",sa,"cells",h.cells))}finally{f.getModel().endUpdate()}mxEvent.consume(L)});mxEvent.addListener(q,"click",function(L){mxEvent.consume(L)});
-var z="image"==h.style.shape?mxConstants.STYLE_IMAGE_BORDER:mxConstants.STYLE_STROKECOLOR;l="image"==h.style.shape?mxResources.get("border"):mxResources.get("line");l=this.createCellColorOption(l,z,"default",null,mxUtils.bind(this,function(L){f.setCellStyles(z,L,h.cells);if(null==L||L==mxConstants.NONE){L=[];for(var ea=0;ea<h.cells.length;ea++)(f.isTableCell(h.cells[ea])||f.isTableRow(h.cells[ea]))&&L.push(h.cells[ea]);0<L.length&&f.setCellStyles(z,"inherit",L)}}),f.shapeForegroundColor);l.appendChild(q);
-n.appendChild(l);var C=n.cloneNode(!1);C.style.display="inline-flex";C.style.alignItems="top";C.style.fontWeight="normal";C.style.whiteSpace="nowrap";C.style.position="relative";C.style.paddingLeft="5px";C.style.overflow="hidden";C.style.marginTop="2px";C.style.width="220px";var F=mxUtils.bind(this,function(L,ea,sa,va,Ua){L=this.editorUi.menus.styleChange(L,"",va,Ua,"geIcon",null);va=document.createElement("div");va.style.width=ea+"px";va.style.height="1px";va.style.borderBottom="1px "+sa+" "+this.defaultStrokeColor;
-va.style.paddingTop="6px";L.firstChild.firstChild.style.padding="0px 4px 0px 4px";L.firstChild.firstChild.style.width=ea+"px";L.firstChild.firstChild.appendChild(va);return L});p=this.editorUi.toolbar.addMenuFunctionInContainer(C,"geSprite-orthogonal",mxResources.get("pattern"),!1,mxUtils.bind(this,function(L){F(L,75,"solid",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],[null,null]).setAttribute("title",mxResources.get("solid"));F(L,75,"dashed",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],
-["1",null]).setAttribute("title",mxResources.get("dashed")+" (1)");F(L,75,"dashed",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","8 8"]).setAttribute("title",mxResources.get("dashed")+" (2)");F(L,75,"dashed",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","12 12"]).setAttribute("title",mxResources.get("dashed")+" (3)");F(L,75,"dotted",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","1 1"]).setAttribute("title",mxResources.get("dotted")+" (1)");F(L,75,
-"dotted",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","1 2"]).setAttribute("title",mxResources.get("dotted")+" (2)");F(L,75,"dotted",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","1 4"]).setAttribute("title",mxResources.get("dotted")+" (3)")}));var D=C.cloneNode(!1),G=this.editorUi.toolbar.addMenuFunctionInContainer(D,"geSprite-connection",mxResources.get("connection"),!1,mxUtils.bind(this,function(L){this.editorUi.menus.styleChange(L,"",[mxConstants.STYLE_SHAPE,
-mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,"width"],[null,null,null,null],"geIcon geSprite geSprite-connection",null,null,null,!0).setAttribute("title",mxResources.get("line"));this.editorUi.menus.styleChange(L,"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,"width"],["link",null,null,null],"geIcon geSprite geSprite-linkedge",null,null,null,!0).setAttribute("title",mxResources.get("link"));this.editorUi.menus.styleChange(L,"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,
-mxConstants.STYLE_ENDSIZE,"width"],["flexArrow",null,null,null],"geIcon geSprite geSprite-arrow",null,null,null,!0).setAttribute("title",mxResources.get("arrow"));this.editorUi.menus.styleChange(L,"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,"width"],["arrow",null,null,null],"geIcon geSprite geSprite-simplearrow",null,null,null,!0).setAttribute("title",mxResources.get("simpleArrow"))}));w=this.editorUi.toolbar.addMenuFunctionInContainer(D,"geSprite-orthogonal",
-mxResources.get("pattern"),!1,mxUtils.bind(this,function(L){F(L,33,"solid",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],[null,null]).setAttribute("title",mxResources.get("solid"));F(L,33,"dashed",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1",null]).setAttribute("title",mxResources.get("dashed")+" (1)");F(L,33,"dashed",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","8 8"]).setAttribute("title",mxResources.get("dashed")+" (2)");F(L,33,"dashed",[mxConstants.STYLE_DASHED,
-mxConstants.STYLE_DASH_PATTERN],["1","12 12"]).setAttribute("title",mxResources.get("dashed")+" (3)");F(L,33,"dotted",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","1 1"]).setAttribute("title",mxResources.get("dotted")+" (1)");F(L,33,"dotted",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","1 2"]).setAttribute("title",mxResources.get("dotted")+" (2)");F(L,33,"dotted",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","1 4"]).setAttribute("title",mxResources.get("dotted")+
-" (3)")}));l=C.cloneNode(!1);var K=document.createElement("input");K.style.position="absolute";K.style.textAlign="right";K.style.marginTop="2px";K.style.width="52px";K.style.height="22px";K.style.left="146px";K.style.borderWidth="1px";K.style.borderStyle="solid";K.style.boxSizing="border-box";K.setAttribute("title",mxResources.get("linewidth"));C.appendChild(K);var I=K.cloneNode(!0);D.appendChild(I);var O=this.createStepper(K,b,this.getUnitStep(),9,null,null,this.isFloatUnit());O.style.display=K.style.display;
-O.style.top="2px";O.style.left="198px";C.appendChild(O);O=this.createStepper(I,d,this.getUnitStep(),9,null,null,this.isFloatUnit());O.style.display=I.style.display;I.style.position="absolute";O.style.top="2px";O.style.left="198px";D.appendChild(O);mxEvent.addListener(K,"blur",b);mxEvent.addListener(K,"change",b);mxEvent.addListener(I,"blur",d);mxEvent.addListener(I,"change",d);var H=this.editorUi.toolbar.addMenuFunctionInContainer(l,"geSprite-orthogonal",mxResources.get("waypoints"),!1,mxUtils.bind(this,
-function(L){"arrow"!=h.style.shape&&(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],[null,null,null],"geIcon geSprite geSprite-straight",null,!0).setAttribute("title",mxResources.get("straight")),this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["orthogonalEdgeStyle",null,null],"geIcon geSprite geSprite-orthogonal",null,!0).setAttribute("title",mxResources.get("orthogonal")),
-this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["elbowEdgeStyle",null,null,null],"geIcon geSprite geSprite-horizontalelbow",null,!0).setAttribute("title",mxResources.get("vertical")),this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["elbowEdgeStyle","vertical",null,null],"geIcon geSprite geSprite-verticalelbow",
-null,!0).setAttribute("title",mxResources.get("horizontal")),this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["isometricEdgeStyle",null,null,null],"geIcon geSprite geSprite-horizontalisometric",null,!0).setAttribute("title",mxResources.get("isometric")),this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["isometricEdgeStyle",
-"vertical",null,null],"geIcon geSprite geSprite-verticalisometric",null,!0).setAttribute("title",mxResources.get("isometric")),"connector"==h.style.shape&&this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["orthogonalEdgeStyle","1",null],"geIcon geSprite geSprite-curved",null,!0).setAttribute("title",mxResources.get("curved")),this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],
-["entityRelationEdgeStyle",null,null],"geIcon geSprite geSprite-entity",null,!0).setAttribute("title",mxResources.get("entityRelation")))})),Z=this.editorUi.toolbar.addMenuFunctionInContainer(l,"geSprite-startclassic",mxResources.get("linestart"),!1,mxUtils.bind(this,function(L){if("connector"==h.style.shape||"flexArrow"==h.style.shape||"filledEdge"==h.style.shape||"wire"==h.style.shape){var ea=this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.NONE,0],
-"geIcon",null,!1);ea.setAttribute("title",mxResources.get("none"));var sa=document.createElement("span");sa.style.fontSize="11px";mxUtils.write(sa,mxResources.get("none"));ea.firstChild.firstChild.appendChild(sa);"connector"==h.style.shape||"filledEdge"==h.style.shape||"wire"==h.style.shape?(Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_CLASSIC,1],null,null,!1,Format.classicFilledMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,
-"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_CLASSIC_THIN,1],null,null,!1,Format.classicThinFilledMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_OPEN,0],null,null,!1,Format.openFilledMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_OPEN_THIN,0],null,null,!1,Format.openThinFilledMarkerImage.src)),
-Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],["openAsync",0],null,null,!1,Format.openAsyncFilledMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_BLOCK,1],null,null,!1,Format.blockFilledMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_BLOCK_THIN,1],null,
-null,!1,Format.blockThinFilledMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],["async",1],null,null,!1,Format.asyncFilledMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_OVAL,1],null,null,!1,Format.ovalFilledMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],
-[mxConstants.ARROW_DIAMOND,1],null,null,!1,Format.diamondFilledMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_DIAMOND_THIN,1],null,null,!1,Format.diamondThinFilledMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_CLASSIC,0],null,null,!1,Format.classicMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,
-"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_CLASSIC_THIN,0],null,null,!1,Format.classicThinMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_BLOCK,0],null,null,!1,Format.blockMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_BLOCK_THIN,0],null,null,!1,Format.blockThinMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,
-"",[mxConstants.STYLE_STARTARROW,"startFill"],["async",0],null,null,!1,Format.asyncMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_OVAL,0],null,null,!1,Format.ovalMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_DIAMOND,0],null,null,!1,Format.diamondMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,
-"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_DIAMOND_THIN,0],null,null,!1,Format.diamondThinMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],["box",0],null,null,!1,Format.boxMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],["halfCircle",0],null,null,!1,Format.halfCircleMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,
-"",[mxConstants.STYLE_STARTARROW,"startFill"],["dash",0],null,null,!1,Format.dashMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],["cross",0],null,null,!1,Format.crossMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],["circlePlus",0],null,null,!1,Format.circlePlusMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,
-"startFill"],["circle",1],null,null,!1,Format.circleMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],["baseDash",0],null,null,!1,Format.baseDashMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],["ERone",0],null,null,!1,Format.EROneMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],
-["ERmandOne",0],null,null,!1,Format.ERmandOneMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],["ERmany",0],null,null,!1,Format.ERmanyMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],["ERoneToMany",0],null,null,!1,Format.ERoneToManyMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],
-["ERzeroToOne",0],null,null,!1,Format.ERzeroToOneMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],["ERzeroToMany",0],null,null,!1,Format.ERzeroToManyMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],["doubleBlock",0],null,null,!1,Format.doubleBlockMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,
-"startFill"],["doubleBlock",1],null,null,!1,Format.doubleBlockFilledMarkerImage.src))):this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW],[mxConstants.ARROW_BLOCK],"geIcon geSprite geSprite-startblocktrans",null,!1).setAttribute("title",mxResources.get("block"));L.div.style.width="40px";window.setTimeout(mxUtils.bind(this,function(){null!=L.div&&mxUtils.fit(L.div)}),0)}})),S=this.editorUi.toolbar.addMenuFunctionInContainer(l,"geSprite-endclassic",mxResources.get("lineend"),!1,
-mxUtils.bind(this,function(L){if("connector"==h.style.shape||"flexArrow"==h.style.shape||"filledEdge"==h.style.shape||"wire"==h.style.shape){var ea=this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.NONE,0],"geIcon",null,!1);ea.setAttribute("title",mxResources.get("none"));var sa=document.createElement("span");sa.style.fontSize="11px";mxUtils.write(sa,mxResources.get("none"));ea.firstChild.firstChild.appendChild(sa);"connector"==h.style.shape||"filledEdge"==
-h.style.shape||"wire"==h.style.shape?(Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_CLASSIC,1],null,null,!1,Format.classicFilledMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_CLASSIC_THIN,1],null,null,!1,Format.classicThinFilledMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,
-"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_OPEN,0],null,null,!1,Format.openFilledMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_OPEN_THIN,0],null,null,!1,Format.openThinFilledMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,"endFill"],["openAsync",0],null,null,!1,Format.openAsyncFilledMarkerImage.src),
-"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_BLOCK,1],null,null,!1,Format.blockFilledMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_BLOCK_THIN,1],null,null,!1,Format.blockThinFilledMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,
-"endFill"],["async",1],null,null,!1,Format.asyncFilledMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_OVAL,1],null,null,!1,Format.ovalFilledMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_DIAMOND,1],null,null,!1,Format.diamondFilledMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,
-"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_DIAMOND_THIN,1],null,null,!1,Format.diamondThinFilledMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_CLASSIC,0],null,null,!1,Format.classicMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_CLASSIC_THIN,0],null,null,!1,Format.classicThinMarkerImage.src),
-"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_BLOCK,0],null,null,!1,Format.blockMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_BLOCK_THIN,0],null,null,!1,Format.blockThinMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,"endFill"],["async",
-0],null,null,!1,Format.asyncMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_OVAL,0],null,null,!1,Format.ovalMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_DIAMOND,0],null,null,!1,Format.diamondMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,
-"endFill"],[mxConstants.ARROW_DIAMOND_THIN,0],null,null,!1,Format.diamondThinMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,"endFill"],["box",0],null,null,!1,Format.boxMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,"endFill"],["halfCircle",0],null,null,!1,Format.halfCircleMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,
-"",[mxConstants.STYLE_ENDARROW,"endFill"],["dash",0],null,null,!1,Format.dashMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,"endFill"],["cross",0],null,null,!1,Format.crossMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,"endFill"],["circlePlus",0],null,null,!1,Format.circlePlusMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,
-"",[mxConstants.STYLE_ENDARROW,"endFill"],["circle",0],null,null,!1,Format.circleMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,"endFill"],["baseDash",0],null,null,!1,Format.baseDashMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,"endFill"],["ERone",0],null,null,!1,Format.EROneMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,
-"",[mxConstants.STYLE_ENDARROW,"endFill"],["ERmandOne",0],null,null,!1,Format.ERmandOneMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,"endFill"],["ERmany",0],null,null,!1,Format.ERmanyMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,"endFill"],["ERoneToMany",0],null,null,!1,Format.ERoneToManyMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,
-"",[mxConstants.STYLE_ENDARROW,"endFill"],["ERzeroToOne",0],null,null,!1,Format.ERzeroToOneMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,"endFill"],["ERzeroToMany",0],null,null,!1,Format.ERzeroToManyMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,"endFill"],["doubleBlock",0],null,null,!1,Format.doubleBlockMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,
-"",[mxConstants.STYLE_ENDARROW,"endFill"],["doubleBlock",1],null,null,!1,Format.doubleBlockFilledMarkerImage.src),"scaleX(-1)")):this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW],[mxConstants.ARROW_BLOCK],"geIcon geSprite geSprite-endblocktrans",null,!1).setAttribute("title",mxResources.get("block"));L.div.style.width="40px";window.setTimeout(mxUtils.bind(this,function(){null!=L.div&&mxUtils.fit(L.div)}),0)}}));this.addArrow(G);this.addArrow(H).style.marginTop="-1px";this.addArrow(Z);
-this.addArrow(S);O=this.addArrow(p);O.className="geIcon";p.style.width="134px";p=this.addArrow(w);p.className="geIcon";p.style.width="22px";var X=document.createElement("div");X.style.width="102px";X.style.height="10px";X.style.borderBottom="1px solid "+this.defaultStrokeColor;X.style.marginLeft="10px";O.appendChild(X);var Y=document.createElement("div");Y.style.width="30px";Y.style.height="10px";Y.style.borderBottom="1px solid "+this.defaultStrokeColor;Y.style.marginLeft="10px";p.appendChild(Y);
-a.appendChild(n);a.appendChild(D);a.appendChild(C);p=C.cloneNode(!1);p.style.display="block";p.style.padding="5px 4px 6px 0px";p.style.fontWeight="normal";w=document.createElement("div");w.style.position="absolute";w.style.maxWidth="78px";w.style.overflow="hidden";w.style.textOverflow="ellipsis";w.style.marginLeft="0px";w.style.marginBottom="12px";w.style.marginTop="2px";w.style.fontWeight="normal";mxUtils.write(w,mxResources.get("lineend"));p.appendChild(w);var M=this.addUnitInput(p,this.getUnit(),
-98,52,function(){ra.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),U=this.addUnitInput(p,this.getUnit(),30,52,function(){ca.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());mxUtils.br(p);O=document.createElement("div");O.style.height="8px";p.appendChild(O);w=w.cloneNode(!1);mxUtils.write(w,mxResources.get("linestart"));p.appendChild(w);var ba=this.addUnitInput(p,this.getUnit(),98,52,function(){V.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),
-ja=this.addUnitInput(p,this.getUnit(),30,52,function(){W.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());mxUtils.br(p);this.addLabel(p,mxResources.get("spacing"),98,64).style.fontSize="11px";this.addLabel(p,mxResources.get("size"),30,64).style.fontSize="11px";mxUtils.br(p);n=n.cloneNode(!1);n.style.fontWeight="normal";n.style.position="relative";n.style.paddingLeft="16px";n.style.marginBottom="2px";n.style.marginTop="6px";n.style.borderWidth="0px";n.style.paddingBottom="18px";
-w=document.createElement("div");w.style.position="absolute";w.style.marginLeft="3px";w.style.marginBottom="12px";w.style.marginTop="1px";w.style.fontWeight="normal";w.style.width="120px";mxUtils.write(w,mxResources.get("perimeter"));n.appendChild(w);var pa=this.addUnitInput(n,this.getUnit(),30,52,function(){oa.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());h.edges.length==h.cells.length?(a.appendChild(l),a.appendChild(p)):h.vertices.length==h.cells.length&&a.appendChild(n);
-var P=mxUtils.bind(this,function(L,ea,sa){function va(Ua,ma,Fa,Ia){Fa=Fa.getElementsByTagName("div")[0];null!=Fa&&g.updateCssForMarker(Fa,Ia,h.style.shape,Ua,ma);return Fa}h=g.getSelectionState();if(sa||document.activeElement!=K)L=parseFloat(mxUtils.getValue(h.style,mxConstants.STYLE_STROKEWIDTH,1)),K.value=isNaN(L)?"":this.inUnit(L)+" "+this.getUnit();if(sa||document.activeElement!=I)L=parseFloat(mxUtils.getValue(h.style,mxConstants.STYLE_STROKEWIDTH,1)),I.value=isNaN(L)?"":this.inUnit(L)+" "+this.getUnit();
-q.style.visibility="connector"==h.style.shape||"filledEdge"==h.style.shape||"wire"==h.style.shape?"":"hidden";"1"==mxUtils.getValue(h.style,mxConstants.STYLE_CURVED,null)?q.value="curved":"1"==mxUtils.getValue(h.style,mxConstants.STYLE_ROUNDED,null)&&(q.value="rounded");"1"==mxUtils.getValue(h.style,mxConstants.STYLE_DASHED,null)?null==mxUtils.getValue(h.style,mxConstants.STYLE_DASH_PATTERN,null)||"1 "!=String(mxUtils.getValue(h.style,mxConstants.STYLE_DASH_PATTERN,"")).substring(0,2)?X.style.borderBottom=
-"1px dashed "+this.defaultStrokeColor:X.style.borderBottom="1px dotted "+this.defaultStrokeColor:X.style.borderBottom="1px solid "+this.defaultStrokeColor;Y.style.borderBottom=X.style.borderBottom;L=H.getElementsByTagName("div")[0];null!=L&&(ea=mxUtils.getValue(h.style,mxConstants.STYLE_EDGE,null),"1"==mxUtils.getValue(h.style,mxConstants.STYLE_NOEDGESTYLE,null)&&(ea=null),"orthogonalEdgeStyle"==ea&&"1"==mxUtils.getValue(h.style,mxConstants.STYLE_CURVED,null)?L.className="geSprite geSprite-curved":
-L.className="straight"==ea||"none"==ea||null==ea?"geSprite geSprite-straight":"entityRelationEdgeStyle"==ea?"geSprite geSprite-entity":"elbowEdgeStyle"==ea?"geSprite "+("vertical"==mxUtils.getValue(h.style,mxConstants.STYLE_ELBOW,null)?"geSprite-verticalelbow":"geSprite-horizontalelbow"):"isometricEdgeStyle"==ea?"geSprite "+("vertical"==mxUtils.getValue(h.style,mxConstants.STYLE_ELBOW,null)?"geSprite-verticalisometric":"geSprite-horizontalisometric"):"geSprite geSprite-orthogonal");L=G.getElementsByTagName("div")[0];
-null!=L&&(L.className="link"==h.style.shape?"geSprite geSprite-linkedge":"flexArrow"==h.style.shape?"geSprite geSprite-arrow":"arrow"==h.style.shape?"geSprite geSprite-simplearrow":"geSprite geSprite-connection");h.edges.length==h.cells.length?(D.style.display="",C.style.display="none"):(D.style.display="none",C.style.display="");Graph.lineJumpsEnabled&&0<h.edges.length&&0==h.vertices.length&&h.lineJumps&&(a.style.borderBottomStyle="none");L=va(mxUtils.getValue(h.style,mxConstants.STYLE_STARTARROW,
-null),mxUtils.getValue(h.style,"startFill","1"),Z,"start");ea=va(mxUtils.getValue(h.style,mxConstants.STYLE_ENDARROW,null),mxUtils.getValue(h.style,"endFill","1"),S,"end");null!=L&&null!=ea&&("arrow"==h.style.shape?(L.className="geSprite geSprite-noarrow",ea.className="geSprite geSprite-endblocktrans"):"link"==h.style.shape&&(L.className="geSprite geSprite-noarrow",ea.className="geSprite geSprite-noarrow"));mxUtils.setOpacity(H,"arrow"==h.style.shape?30:100);"connector"!=h.style.shape&&"flexArrow"!=
-h.style.shape&&"filledEdge"!=h.style.shape&&"wire"!=h.style.shape?(mxUtils.setOpacity(Z,30),mxUtils.setOpacity(S,30)):(mxUtils.setOpacity(Z,100),mxUtils.setOpacity(S,100));if(sa||document.activeElement!=ja)L=parseInt(mxUtils.getValue(h.style,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_MARKERSIZE)),ja.value=isNaN(L)?"":this.inUnit(L)+" "+this.getUnit();if(sa||document.activeElement!=ba)L=parseInt(mxUtils.getValue(h.style,mxConstants.STYLE_SOURCE_PERIMETER_SPACING,0)),ba.value=isNaN(L)?"":this.inUnit(L)+
-" "+this.getUnit();if(sa||document.activeElement!=U)L=parseInt(mxUtils.getValue(h.style,mxConstants.STYLE_ENDSIZE,mxConstants.DEFAULT_MARKERSIZE)),U.value=isNaN(L)?"":this.inUnit(L)+" "+this.getUnit();if(sa||document.activeElement!=ba)L=parseInt(mxUtils.getValue(h.style,mxConstants.STYLE_TARGET_PERIMETER_SPACING,0)),M.value=isNaN(L)?"":this.inUnit(L)+" "+this.getUnit();if(sa||document.activeElement!=pa)L=parseInt(mxUtils.getValue(h.style,mxConstants.STYLE_PERIMETER_SPACING,0)),pa.value=isNaN(L)?"":
-this.inUnit(L)+" "+this.getUnit()});var W=this.installInputHandler(ja,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_MARKERSIZE,0,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var V=this.installInputHandler(ba,mxConstants.STYLE_SOURCE_PERIMETER_SPACING,0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var ca=this.installInputHandler(U,mxConstants.STYLE_ENDSIZE,mxConstants.DEFAULT_MARKERSIZE,0,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var ra=this.installInputHandler(M,mxConstants.STYLE_TARGET_PERIMETER_SPACING,
-0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var oa=this.installInputHandler(pa,mxConstants.STYLE_PERIMETER_SPACING,0,0,999,this.getUnit(" "),null,this.isFloatUnit(),!0);this.addKeyHandler(K,P);this.addKeyHandler(ja,P);this.addKeyHandler(ba,P);this.addKeyHandler(U,P);this.addKeyHandler(M,P);this.addKeyHandler(pa,P);f.getModel().addListener(mxEvent.CHANGE,P);this.listeners.push({destroy:function(){f.getModel().removeListener(P)}});P();return a};
-StyleFormatPanel.prototype.addLineJumps=function(a){var b=this.editorUi,d=b.editor.graph,e=b.getSelectionState();if(Graph.lineJumpsEnabled&&0<e.edges.length&&0==e.vertices.length&&e.lineJumps){a.style.padding="2px 0px 24px 14px";var g=document.createElement("div");g.style.position="absolute";g.style.maxWidth="78px";g.style.overflow="hidden";g.style.textOverflow="ellipsis";mxUtils.write(g,mxResources.get("lineJumps"));a.appendChild(g);var f=document.createElement("select");f.style.position="absolute";
-f.style.height="21px";f.style.padding="0px";f.style.marginTop="-2px";f.style.boxSizing="border-box";f.style.textAlign="center";f.style.right="84px";f.style.width="64px";f.style.borderWidth="1px";f.style.borderStyle="solid";g=["none","arc","gap","sharp","line"];for(var h=0;h<g.length;h++){var n=document.createElement("option");n.setAttribute("value",g[h]);mxUtils.write(n,mxResources.get(g[h]));f.appendChild(n)}mxEvent.addListener(f,"change",function(w){d.getModel().beginUpdate();try{d.setCellStyles("jumpStyle",
-f.value,e.cells),b.fireEvent(new mxEventObject("styleChanged","keys",["jumpStyle"],"values",[f.value],"cells",e.cells))}finally{d.getModel().endUpdate()}mxEvent.consume(w)});mxEvent.addListener(f,"click",function(w){mxEvent.consume(w)});a.appendChild(f);var q=this.addUnitInput(a,this.getUnit(),16,52,function(){l.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());var l=this.installInputHandler(q,"jumpSize",Graph.defaultJumpSize,0,999,this.getUnit(" "),null,this.isFloatUnit(),!0);
-var p=mxUtils.bind(this,function(w,z,C){e=b.getSelectionState();f.value=mxUtils.getValue(e.style,"jumpStyle","none");if(C||document.activeElement!=q)w=parseInt(mxUtils.getValue(e.style,"jumpSize",Graph.defaultJumpSize)),q.value=isNaN(w)?"":this.inUnit(w)+" "+this.getUnit()});this.addKeyHandler(q,p);d.getModel().addListener(mxEvent.CHANGE,p);this.listeners.push({destroy:function(){d.getModel().removeListener(p)}});p()}else a.style.display="none";return a};
-StyleFormatPanel.prototype.addEffects=function(a){var b=this.editorUi,d=b.editor.graph,e=b.getSelectionState();a.style.paddingTop="4px";a.style.paddingBottom="4px";var g=document.createElement("table");g.style.width="210px";g.style.fontWeight="bold";g.style.tableLayout="fixed";var f=document.createElement("tbody"),h=document.createElement("tr");h.style.padding="0px";var n=document.createElement("td");n.style.padding="0px";n.style.width="50%";n.setAttribute("valign","top");var q=n.cloneNode(!0);q.style.paddingLeft=
-"8px";h.appendChild(n);h.appendChild(q);f.appendChild(h);g.appendChild(f);a.appendChild(g);var l=n,p=mxUtils.bind(this,function(z,C,F,D){z=this.createCellOption(z,C,F,null,null,D);z.style.width="100%";l.appendChild(z);l=l==n?q:n;return z}),w=mxUtils.bind(this,function(z,C,F){e=b.getSelectionState();n.innerText="";q.innerText="";l=n;e.rounded&&p(mxResources.get("rounded"),mxConstants.STYLE_ROUNDED,0);e.swimlane&&p(mxResources.get("divider"),"swimlaneLine",1);p(mxResources.get("sketch"),"sketch",0,
-function(D,G){d.updateCellStyles({sketch:G?"1":null,curveFitting:G?Editor.sketchDefaultCurveFitting:null,jiggle:G?Editor.sketchDefaultJiggle:null},D)});e.glass&&p(mxResources.get("glass"),mxConstants.STYLE_GLASS,0);z=p(mxResources.get("shadow"),mxConstants.STYLE_SHADOW,0);Editor.enableShadowOption||(z.getElementsByTagName("input")[0].setAttribute("disabled","disabled"),mxUtils.setOpacity(z,60));0<e.edges.length&&0==e.vertices.length&&p(mxResources.get("flowAnimation",null,"Flow Animation"),"flowAnimation",
-0)});d.getModel().addListener(mxEvent.CHANGE,w);this.listeners.push({destroy:function(){d.getModel().removeListener(w)}});w();return a};StyleFormatPanel.prototype.addStyleOps=function(a){1==this.editorUi.getSelectionState().cells.length&&this.addActions(a,["setAsDefaultStyle"]);return a};DiagramStylePanel=function(a,b,d){BaseFormatPanel.call(this,a,b,d);this.init()};mxUtils.extend(DiagramStylePanel,BaseFormatPanel);
+StyleFormatPanel.prototype.getCssRules=function(a){var b=document.implementation.createHTMLDocument(""),e=document.createElement("style");mxUtils.setTextContent(e,a);b.body.appendChild(e);return e.sheet.cssRules};
+StyleFormatPanel.prototype.addSvgStyles=function(a){var b=this.editorUi.getSelectionState();a.style.paddingTop="6px";a.style.paddingBottom="6px";a.style.fontWeight="bold";a.style.display="none";try{var e=b.style.editableCssRules;if(null!=e){var f=new RegExp(e),h=b.style.image.substring(b.style.image.indexOf(",")+1),d=window.atob?decodeURIComponent(escape(atob(h))):Base64.decode(h,!0),g=mxUtils.parseXml(d);if(null!=g){var n=g.getElementsByTagName("style");for(b=0;b<n.length;b++){var q=this.getCssRules(mxUtils.getTextContent(n[b]));
+for(e=0;e<q.length;e++)this.addSvgRule(a,q[e],g,n[b],q,e,f)}}}}catch(k){}return a};
+StyleFormatPanel.prototype.addSvgRule=function(a,b,e,f,h,d,g){var n=this.editorUi,q=n.editor.graph;g.test(b.selectorText)&&(g=mxUtils.bind(this,function(k,p,w){var z=mxUtils.trim(k.style[p]);""!=z&&"url("!=z.substring(0,4)&&(k=this.createColorOption(w+" "+k.selectorText,function(){var C=z;return(C=C.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i))&&4===C.length?"#"+("0"+parseInt(C[1],10).toString(16)).slice(-2)+("0"+parseInt(C[2],10).toString(16)).slice(-2)+("0"+parseInt(C[3],
+10).toString(16)).slice(-2):""},mxUtils.bind(this,function(C){h[d].style[p]=C;C="";for(var F=0;F<h.length;F++)C+=h[F].cssText+" ";f.textContent=C;C=mxUtils.getXml(e.documentElement);q.setCellStyles(mxConstants.STYLE_IMAGE,"data:image/svg+xml,"+(window.btoa?btoa(unescape(encodeURIComponent(C))):Base64.encode(C,!0)),n.getSelectionState().cells)}),"#ffffff",{install:function(C){},destroy:function(){}}),a.appendChild(k),a.style.display="")}),g(b,"fill",mxResources.get("fill")),g(b,"stroke",mxResources.get("line")),
+g(b,"stop-color",mxResources.get("gradient")))};
+StyleFormatPanel.prototype.addEditOps=function(a){var b=this.editorUi.getSelectionState();if(1==b.cells.length){var e=document.createElement("select");e.style.width="210px";e.style.textAlign="center";e.style.marginBottom="2px";var f="edit copyAsText editLink editShape editImage editData copyData pasteData editConnectionPoints editGeometry editTooltip editStyle".split(" "),h=null;if(null!=this.editorUi.sidebar){var d=this.editorUi.sidebar.getKeyStyle(b.cells[0].style);h=this.editorUi.sidebar.getLibsForStyle(d);
+null!=h||this.editorUi.sidebar.isSearchIndexLoaded()||null==b.style.shape||"mxgraph."!=String(b.style.shape).substring(0,8)||(h=[])}null!=h&&f.push("openLibrary");for(d=0;d<f.length;d++){var g=this.editorUi.actions.get(f[d]);if(null==g||g.enabled){var n=document.createElement("option");n.setAttribute("value",f[d]);var q=mxResources.get(f[d]);mxUtils.write(n,q+("edit"==f[d]?"":"..."));null!=g&&null!=g.shortcut&&(q+=" ("+g.shortcut+")");n.setAttribute("title",q);e.appendChild(n)}}1<e.children.length&&
+(a.appendChild(e),mxEvent.addListener(e,"change",mxUtils.bind(this,function(k){"openLibrary"==e.value?(null!=h&&0==h.length&&(this.editorUi.sidebar.updateSearchIndex(),k=this.editorUi.sidebar.getKeyStyle(b.cells[0].style),h=this.editorUi.sidebar.getLibsForStyle(k)),null!=h&&0<h.length?this.editorUi.sidebar.openLibraries(h):this.editorUi.handleError({message:mxResources.get("objectNotFound")}),e.value="edit"):(k=this.editorUi.actions.get(e.value),e.value="edit",null!=k&&k.funct())})),b.image&&(f=this.editorUi.editor.graph,
+f=f.view.getState(f.getSelectionCell()),null!=f&&null!=mxUtils.getValue(f.style,mxConstants.STYLE_IMAGE,null)&&(f=mxUtils.button(mxResources.get("crop")+"...",mxUtils.bind(this,function(k){this.editorUi.actions.get("crop").funct()})),f.setAttribute("title",mxResources.get("crop")),e.style.width="104px",f.style.width="104px",f.style.marginLeft="2px",f.style.marginBottom="2px",a.appendChild(f))))}return a};
+StyleFormatPanel.prototype.addFill=function(a){function b(){g.innerHTML="";C=1;for(var D=0;D<Editor.fillStyles.length;D++){var H=document.createElement("option");H.setAttribute("value",Editor.fillStyles[D].val);mxUtils.write(H,Editor.fillStyles[D].dispName);g.appendChild(H)}}var e=this.editorUi,f=e.editor.graph,h=e.getSelectionState();a.style.paddingTop="6px";a.style.paddingBottom="6px";var d=document.createElement("select");d.style.position="absolute";d.style.left="104px";d.style.width="70px";d.style.height=
+"22px";d.style.padding="0px";d.style.marginTop="-3px";d.style.borderWidth="1px";d.style.borderStyle="solid";d.style.boxSizing="border-box";var g=d.cloneNode(!1);mxEvent.addListener(d,"click",function(D){mxEvent.consume(D)});mxEvent.addListener(g,"click",function(D){mxEvent.consume(D)});var n=this.createCellColorOption(mxResources.get("gradient"),mxConstants.STYLE_GRADIENTCOLOR,"default",function(D){d.style.display=null==D||D==mxConstants.NONE?"none":""},function(D){f.updateCellStyles({gradientColor:D},
+f.getSelectionCells())},f.getDefaultColor(h.style,mxConstants.STYLE_GRADIENTCOLOR,f.shapeForegroundColor,f.shapeBackgroundColor)),q="image"==h.style.shape?mxConstants.STYLE_IMAGE_BACKGROUND:mxConstants.STYLE_FILLCOLOR,k=this.createCellColorOption(mxResources.get("fill"),q,"default",null,mxUtils.bind(this,function(D){f.setCellStyles(q,D,h.cells)}),f.getDefaultColor(h.style,q,f.shapeBackgroundColor,f.shapeForegroundColor));k.style.fontWeight="bold";var p=mxUtils.getValue(h.style,q,null);n.style.display=
+null!=p&&p!=mxConstants.NONE&&h.fill&&"image"!=h.style.shape?"":"none";var w=[mxConstants.DIRECTION_NORTH,mxConstants.DIRECTION_EAST,mxConstants.DIRECTION_SOUTH,mxConstants.DIRECTION_WEST,mxConstants.DIRECTION_RADIAL];for(p=0;p<w.length;p++){var z=document.createElement("option");z.setAttribute("value",w[p]);mxUtils.write(z,mxResources.get(w[p]));d.appendChild(z)}n.appendChild(d);var C;b();h.gradient&&k.appendChild(g);var F=mxUtils.bind(this,function(){h=e.getSelectionState();var D=mxUtils.getValue(h.style,
+mxConstants.STYLE_GRADIENT_DIRECTION,mxConstants.DIRECTION_SOUTH),H=mxUtils.getValue(h.style,"fillStyle","auto");""==D&&(D=mxConstants.DIRECTION_SOUTH);d.value=D;a.style.display=h.fill?"":"none";D=mxUtils.getValue(h.style,q,null);if(h.fill&&null!=D&&D!=mxConstants.NONE&&"filledEdge"!=h.style.shape){if("1"==h.style.sketch){if(2!=C){g.innerHTML="";C=2;for(D=0;D<Editor.roughFillStyles.length;D++){var K=document.createElement("option");K.setAttribute("value",Editor.roughFillStyles[D].val);mxUtils.write(K,
+Editor.roughFillStyles[D].dispName);g.appendChild(K)}g.value="auto"}}else 1!=C&&b();g.value=H;g.value||(H="auto",g.value=H);g.style.display="1"==h.style.sketch||"none"==d.style.display?"":"none";n.style.display=!h.gradient||h.containsImage||"1"==h.style.sketch&&"solid"!=H&&"auto"!=H?"none":""}else g.style.display="none",n.style.display="none"});f.getModel().addListener(mxEvent.CHANGE,F);this.listeners.push({destroy:function(){f.getModel().removeListener(F)}});F();mxEvent.addListener(d,"change",function(D){f.setCellStyles(mxConstants.STYLE_GRADIENT_DIRECTION,
+d.value,h.cells);e.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_GRADIENT_DIRECTION],"values",[d.value],"cells",h.cells));mxEvent.consume(D)});mxEvent.addListener(g,"change",function(D){f.setCellStyles("fillStyle",g.value,h.cells);e.fireEvent(new mxEventObject("styleChanged","keys",["fillStyle"],"values",[g.value],"cells",h.cells));mxEvent.consume(D)});a.appendChild(k);a.appendChild(n);k=this.getCustomColors();for(p=0;p<k.length;p++)a.appendChild(this.createCellColorOption(k[p].title,
+k[p].key,k[p].defaultValue));return a};StyleFormatPanel.prototype.getCustomColors=function(){var a=[];this.editorUi.getSelectionState().swimlane&&a.push({title:mxResources.get("laneColor"),key:"swimlaneFillColor",defaultValue:"default"});return a};
+StyleFormatPanel.prototype.addStroke=function(a){function b(M){var ea=f.fromUnit(parseFloat(K.value));ea=Math.min(999,Math.max(0,isNaN(ea)?1:ea));ea!=mxUtils.getValue(g.style,mxConstants.STYLE_STROKEWIDTH,1)&&(d.setCellStyles(mxConstants.STYLE_STROKEWIDTH,ea,g.cells),h.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_STROKEWIDTH],"values",[ea],"cells",g.cells)));K.value=f.inUnit(ea)+" "+f.getUnit();mxEvent.consume(M)}function e(M){var ea=f.fromUnit(parseFloat(G.value));ea=Math.min(999,
+Math.max(0,isNaN(ea)?1:ea));ea!=mxUtils.getValue(g.style,mxConstants.STYLE_STROKEWIDTH,1)&&(d.setCellStyles(mxConstants.STYLE_STROKEWIDTH,ea,g.cells),h.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_STROKEWIDTH],"values",[ea],"cells",g.cells)));G.value=f.inUnit(ea)+" "+f.getUnit();mxEvent.consume(M)}var f=this,h=this.editorUi,d=h.editor.graph,g=h.getSelectionState();a.style.paddingTop="6px";a.style.paddingBottom="4px";a.style.whiteSpace="normal";var n=document.createElement("div");
+n.style.fontWeight="bold";g.stroke||(n.style.display="none");var q=document.createElement("select");q.style.position="absolute";q.style.height="22px";q.style.padding="0px";q.style.marginTop="-3px";q.style.textAlign="center";q.style.boxSizing="border-box";q.style.left="90px";q.style.width="83px";q.style.borderWidth="1px";q.style.borderStyle="solid";for(var k=["sharp","rounded","curved"],p=0;p<k.length;p++){var w=document.createElement("option");w.setAttribute("value",k[p]);mxUtils.write(w,mxResources.get(k[p]));
+q.appendChild(w)}mxEvent.addListener(q,"change",function(M){d.getModel().beginUpdate();try{var ea=[mxConstants.STYLE_ROUNDED,mxConstants.STYLE_CURVED],ra=["0","0"];"rounded"==q.value?ra=["1","0"]:"curved"==q.value&&(ra=["0","1"]);for(var ta=0;ta<ea.length;ta++)d.setCellStyles(ea[ta],ra[ta],g.cells);h.fireEvent(new mxEventObject("styleChanged","keys",ea,"values",ra,"cells",g.cells))}finally{d.getModel().endUpdate()}mxEvent.consume(M)});mxEvent.addListener(q,"click",function(M){mxEvent.consume(M)});
+var z="image"==g.style.shape?mxConstants.STYLE_IMAGE_BORDER:mxConstants.STYLE_STROKECOLOR;k="image"==g.style.shape?mxResources.get("border"):mxResources.get("line");k=this.createCellColorOption(k,z,"default",null,mxUtils.bind(this,function(M){d.setCellStyles(z,M,g.cells);if(null==M||M==mxConstants.NONE){M=[];for(var ea=0;ea<g.cells.length;ea++)(d.isTableCell(g.cells[ea])||d.isTableRow(g.cells[ea]))&&M.push(g.cells[ea]);0<M.length&&d.setCellStyles(z,"inherit",M)}}),d.shapeForegroundColor);k.appendChild(q);
+n.appendChild(k);var C=n.cloneNode(!1);C.style.display="inline-flex";C.style.alignItems="top";C.style.fontWeight="normal";C.style.whiteSpace="nowrap";C.style.position="relative";C.style.paddingLeft="5px";C.style.overflow="hidden";C.style.marginTop="2px";C.style.width="220px";var F=mxUtils.bind(this,function(M,ea,ra,ta,Sa){M=this.editorUi.menus.styleChange(M,"",ta,Sa,"geIcon",null);ta=document.createElement("div");ta.style.width=ea+"px";ta.style.height="1px";ta.style.borderBottom="1px "+ra+" "+this.defaultStrokeColor;
+ta.style.paddingTop="6px";M.firstChild.firstChild.style.padding="0px 4px 0px 4px";M.firstChild.firstChild.style.width=ea+"px";M.firstChild.firstChild.appendChild(ta);return M});p=this.editorUi.toolbar.addMenuFunctionInContainer(C,"geSprite-orthogonal",mxResources.get("pattern"),!1,mxUtils.bind(this,function(M){F(M,75,"solid",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],[null,null]).setAttribute("title",mxResources.get("solid"));F(M,75,"dashed",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],
+["1",null]).setAttribute("title",mxResources.get("dashed")+" (1)");F(M,75,"dashed",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","8 8"]).setAttribute("title",mxResources.get("dashed")+" (2)");F(M,75,"dashed",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","12 12"]).setAttribute("title",mxResources.get("dashed")+" (3)");F(M,75,"dotted",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","1 1"]).setAttribute("title",mxResources.get("dotted")+" (1)");F(M,75,
+"dotted",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","1 2"]).setAttribute("title",mxResources.get("dotted")+" (2)");F(M,75,"dotted",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","1 4"]).setAttribute("title",mxResources.get("dotted")+" (3)")}));var D=C.cloneNode(!1),H=this.editorUi.toolbar.addMenuFunctionInContainer(D,"geSprite-connection",mxResources.get("connection"),!1,mxUtils.bind(this,function(M){this.editorUi.menus.styleChange(M,"",[mxConstants.STYLE_SHAPE,
+mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,"width"],[null,null,null,null],"geIcon geSprite geSprite-connection",null,null,null,!0).setAttribute("title",mxResources.get("line"));this.editorUi.menus.styleChange(M,"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,"width"],["link",null,null,null],"geIcon geSprite geSprite-linkedge",null,null,null,!0).setAttribute("title",mxResources.get("link"));this.editorUi.menus.styleChange(M,"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,
+mxConstants.STYLE_ENDSIZE,"width"],["flexArrow",null,null,null],"geIcon geSprite geSprite-arrow",null,null,null,!0).setAttribute("title",mxResources.get("arrow"));this.editorUi.menus.styleChange(M,"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,"width"],["arrow",null,null,null],"geIcon geSprite geSprite-simplearrow",null,null,null,!0).setAttribute("title",mxResources.get("simpleArrow"))}));w=this.editorUi.toolbar.addMenuFunctionInContainer(D,"geSprite-orthogonal",
+mxResources.get("pattern"),!1,mxUtils.bind(this,function(M){F(M,33,"solid",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],[null,null]).setAttribute("title",mxResources.get("solid"));F(M,33,"dashed",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1",null]).setAttribute("title",mxResources.get("dashed")+" (1)");F(M,33,"dashed",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","8 8"]).setAttribute("title",mxResources.get("dashed")+" (2)");F(M,33,"dashed",[mxConstants.STYLE_DASHED,
+mxConstants.STYLE_DASH_PATTERN],["1","12 12"]).setAttribute("title",mxResources.get("dashed")+" (3)");F(M,33,"dotted",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","1 1"]).setAttribute("title",mxResources.get("dotted")+" (1)");F(M,33,"dotted",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","1 2"]).setAttribute("title",mxResources.get("dotted")+" (2)");F(M,33,"dotted",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","1 4"]).setAttribute("title",mxResources.get("dotted")+
+" (3)")}));k=C.cloneNode(!1);var K=document.createElement("input");K.style.position="absolute";K.style.textAlign="right";K.style.marginTop="2px";K.style.width="52px";K.style.height="22px";K.style.left="146px";K.style.borderWidth="1px";K.style.borderStyle="solid";K.style.boxSizing="border-box";K.setAttribute("title",mxResources.get("linewidth"));C.appendChild(K);var G=K.cloneNode(!0);D.appendChild(G);var P=this.createStepper(K,b,this.getUnitStep(),9,null,null,this.isFloatUnit());P.style.display=K.style.display;
+P.style.top="2px";P.style.left="198px";C.appendChild(P);P=this.createStepper(G,e,this.getUnitStep(),9,null,null,this.isFloatUnit());P.style.display=G.style.display;G.style.position="absolute";P.style.top="2px";P.style.left="198px";D.appendChild(P);mxEvent.addListener(K,"blur",b);mxEvent.addListener(K,"change",b);mxEvent.addListener(G,"blur",e);mxEvent.addListener(G,"change",e);var I=this.editorUi.toolbar.addMenuFunctionInContainer(k,"geSprite-orthogonal",mxResources.get("waypoints"),!1,mxUtils.bind(this,
+function(M){"arrow"!=g.style.shape&&(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],[null,null,null],"geIcon geSprite geSprite-straight",null,!0).setAttribute("title",mxResources.get("straight")),this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["orthogonalEdgeStyle",null,null],"geIcon geSprite geSprite-orthogonal",null,!0).setAttribute("title",mxResources.get("orthogonal")),
+this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["elbowEdgeStyle",null,null,null],"geIcon geSprite geSprite-horizontalelbow",null,!0).setAttribute("title",mxResources.get("vertical")),this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["elbowEdgeStyle","vertical",null,null],"geIcon geSprite geSprite-verticalelbow",
+null,!0).setAttribute("title",mxResources.get("horizontal")),this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["isometricEdgeStyle",null,null,null],"geIcon geSprite geSprite-horizontalisometric",null,!0).setAttribute("title",mxResources.get("isometric")),this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["isometricEdgeStyle",
+"vertical",null,null],"geIcon geSprite geSprite-verticalisometric",null,!0).setAttribute("title",mxResources.get("isometric")),"connector"==g.style.shape&&this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["orthogonalEdgeStyle","1",null],"geIcon geSprite geSprite-curved",null,!0).setAttribute("title",mxResources.get("curved")),this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],
+["entityRelationEdgeStyle",null,null],"geIcon geSprite geSprite-entity",null,!0).setAttribute("title",mxResources.get("entityRelation")))})),Z=this.editorUi.toolbar.addMenuFunctionInContainer(k,"geSprite-startclassic",mxResources.get("linestart"),!1,mxUtils.bind(this,function(M){if("connector"==g.style.shape||"flexArrow"==g.style.shape||"filledEdge"==g.style.shape||"wire"==g.style.shape){var ea=this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.NONE,0],
+"geIcon",null,!1);ea.setAttribute("title",mxResources.get("none"));var ra=document.createElement("span");ra.style.fontSize="11px";mxUtils.write(ra,mxResources.get("none"));ea.firstChild.firstChild.appendChild(ra);"connector"==g.style.shape||"filledEdge"==g.style.shape||"wire"==g.style.shape?(Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_CLASSIC,1],null,null,!1,Format.classicFilledMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,
+"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_CLASSIC_THIN,1],null,null,!1,Format.classicThinFilledMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_OPEN,0],null,null,!1,Format.openFilledMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_OPEN_THIN,0],null,null,!1,Format.openThinFilledMarkerImage.src)),
+Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],["openAsync",0],null,null,!1,Format.openAsyncFilledMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_BLOCK,1],null,null,!1,Format.blockFilledMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_BLOCK_THIN,1],null,
+null,!1,Format.blockThinFilledMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],["async",1],null,null,!1,Format.asyncFilledMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_OVAL,1],null,null,!1,Format.ovalFilledMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],
+[mxConstants.ARROW_DIAMOND,1],null,null,!1,Format.diamondFilledMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_DIAMOND_THIN,1],null,null,!1,Format.diamondThinFilledMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_CLASSIC,0],null,null,!1,Format.classicMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,
+"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_CLASSIC_THIN,0],null,null,!1,Format.classicThinMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_BLOCK,0],null,null,!1,Format.blockMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_BLOCK_THIN,0],null,null,!1,Format.blockThinMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,
+"",[mxConstants.STYLE_STARTARROW,"startFill"],["async",0],null,null,!1,Format.asyncMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_OVAL,0],null,null,!1,Format.ovalMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_DIAMOND,0],null,null,!1,Format.diamondMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,
+"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_DIAMOND_THIN,0],null,null,!1,Format.diamondThinMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],["box",0],null,null,!1,Format.boxMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],["halfCircle",0],null,null,!1,Format.halfCircleMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,
+"",[mxConstants.STYLE_STARTARROW,"startFill"],["dash",0],null,null,!1,Format.dashMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],["cross",0],null,null,!1,Format.crossMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],["circlePlus",0],null,null,!1,Format.circlePlusMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,
+"startFill"],["circle",1],null,null,!1,Format.circleMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],["baseDash",0],null,null,!1,Format.baseDashMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],["ERone",0],null,null,!1,Format.EROneMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],
+["ERmandOne",0],null,null,!1,Format.ERmandOneMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],["ERmany",0],null,null,!1,Format.ERmanyMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],["ERoneToMany",0],null,null,!1,Format.ERoneToManyMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],
+["ERzeroToOne",0],null,null,!1,Format.ERzeroToOneMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],["ERzeroToMany",0],null,null,!1,Format.ERzeroToManyMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],["doubleBlock",0],null,null,!1,Format.doubleBlockMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,
+"startFill"],["doubleBlock",1],null,null,!1,Format.doubleBlockFilledMarkerImage.src))):this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW],[mxConstants.ARROW_BLOCK],"geIcon geSprite geSprite-startblocktrans",null,!1).setAttribute("title",mxResources.get("block"));M.div.style.width="40px";window.setTimeout(mxUtils.bind(this,function(){null!=M.div&&mxUtils.fit(M.div)}),0)}})),S=this.editorUi.toolbar.addMenuFunctionInContainer(k,"geSprite-endclassic",mxResources.get("lineend"),!1,
+mxUtils.bind(this,function(M){if("connector"==g.style.shape||"flexArrow"==g.style.shape||"filledEdge"==g.style.shape||"wire"==g.style.shape){var ea=this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.NONE,0],"geIcon",null,!1);ea.setAttribute("title",mxResources.get("none"));var ra=document.createElement("span");ra.style.fontSize="11px";mxUtils.write(ra,mxResources.get("none"));ea.firstChild.firstChild.appendChild(ra);"connector"==g.style.shape||"filledEdge"==
+g.style.shape||"wire"==g.style.shape?(Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_CLASSIC,1],null,null,!1,Format.classicFilledMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_CLASSIC_THIN,1],null,null,!1,Format.classicThinFilledMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,
+"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_OPEN,0],null,null,!1,Format.openFilledMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_OPEN_THIN,0],null,null,!1,Format.openThinFilledMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,"endFill"],["openAsync",0],null,null,!1,Format.openAsyncFilledMarkerImage.src),
+"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_BLOCK,1],null,null,!1,Format.blockFilledMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_BLOCK_THIN,1],null,null,!1,Format.blockThinFilledMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,
+"endFill"],["async",1],null,null,!1,Format.asyncFilledMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_OVAL,1],null,null,!1,Format.ovalFilledMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_DIAMOND,1],null,null,!1,Format.diamondFilledMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,
+"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_DIAMOND_THIN,1],null,null,!1,Format.diamondThinFilledMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_CLASSIC,0],null,null,!1,Format.classicMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_CLASSIC_THIN,0],null,null,!1,Format.classicThinMarkerImage.src),
+"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_BLOCK,0],null,null,!1,Format.blockMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_BLOCK_THIN,0],null,null,!1,Format.blockThinMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,"endFill"],["async",
+0],null,null,!1,Format.asyncMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_OVAL,0],null,null,!1,Format.ovalMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_DIAMOND,0],null,null,!1,Format.diamondMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,
+"endFill"],[mxConstants.ARROW_DIAMOND_THIN,0],null,null,!1,Format.diamondThinMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,"endFill"],["box",0],null,null,!1,Format.boxMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,"endFill"],["halfCircle",0],null,null,!1,Format.halfCircleMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,
+"",[mxConstants.STYLE_ENDARROW,"endFill"],["dash",0],null,null,!1,Format.dashMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,"endFill"],["cross",0],null,null,!1,Format.crossMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,"endFill"],["circlePlus",0],null,null,!1,Format.circlePlusMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,
+"",[mxConstants.STYLE_ENDARROW,"endFill"],["circle",0],null,null,!1,Format.circleMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,"endFill"],["baseDash",0],null,null,!1,Format.baseDashMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,"endFill"],["ERone",0],null,null,!1,Format.EROneMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,
+"",[mxConstants.STYLE_ENDARROW,"endFill"],["ERmandOne",0],null,null,!1,Format.ERmandOneMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,"endFill"],["ERmany",0],null,null,!1,Format.ERmanyMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,"endFill"],["ERoneToMany",0],null,null,!1,Format.ERoneToManyMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,
+"",[mxConstants.STYLE_ENDARROW,"endFill"],["ERzeroToOne",0],null,null,!1,Format.ERzeroToOneMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,"endFill"],["ERzeroToMany",0],null,null,!1,Format.ERzeroToManyMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,"endFill"],["doubleBlock",0],null,null,!1,Format.doubleBlockMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,
+"",[mxConstants.STYLE_ENDARROW,"endFill"],["doubleBlock",1],null,null,!1,Format.doubleBlockFilledMarkerImage.src),"scaleX(-1)")):this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW],[mxConstants.ARROW_BLOCK],"geIcon geSprite geSprite-endblocktrans",null,!1).setAttribute("title",mxResources.get("block"));M.div.style.width="40px";window.setTimeout(mxUtils.bind(this,function(){null!=M.div&&mxUtils.fit(M.div)}),0)}}));this.addArrow(H);this.addArrow(I).style.marginTop="-1px";this.addArrow(Z);
+this.addArrow(S);P=this.addArrow(p);P.className="geIcon";p.style.width="134px";p=this.addArrow(w);p.className="geIcon";p.style.width="22px";var Y=document.createElement("div");Y.style.width="102px";Y.style.height="10px";Y.style.borderBottom="1px solid "+this.defaultStrokeColor;Y.style.marginLeft="10px";P.appendChild(Y);var V=document.createElement("div");V.style.width="30px";V.style.height="10px";V.style.borderBottom="1px solid "+this.defaultStrokeColor;V.style.marginLeft="10px";p.appendChild(V);
+a.appendChild(n);a.appendChild(D);a.appendChild(C);p=C.cloneNode(!1);p.style.display="block";p.style.padding="5px 4px 6px 0px";p.style.fontWeight="normal";w=document.createElement("div");w.style.position="absolute";w.style.maxWidth="78px";w.style.overflow="hidden";w.style.textOverflow="ellipsis";w.style.marginLeft="0px";w.style.marginBottom="12px";w.style.marginTop="2px";w.style.fontWeight="normal";mxUtils.write(w,mxResources.get("lineend"));p.appendChild(w);var L=this.addUnitInput(p,this.getUnit(),
+98,52,function(){na.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),U=this.addUnitInput(p,this.getUnit(),30,52,function(){ca.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());mxUtils.br(p);P=document.createElement("div");P.style.height="8px";p.appendChild(P);w=w.cloneNode(!1);mxUtils.write(w,mxResources.get("linestart"));p.appendChild(w);var ba=this.addUnitInput(p,this.getUnit(),98,52,function(){X.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),
+ja=this.addUnitInput(p,this.getUnit(),30,52,function(){T.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());mxUtils.br(p);this.addLabel(p,mxResources.get("spacing"),98,64).style.fontSize="11px";this.addLabel(p,mxResources.get("size"),30,64).style.fontSize="11px";mxUtils.br(p);n=n.cloneNode(!1);n.style.fontWeight="normal";n.style.position="relative";n.style.paddingLeft="16px";n.style.marginBottom="2px";n.style.marginTop="6px";n.style.borderWidth="0px";n.style.paddingBottom="18px";
+w=document.createElement("div");w.style.position="absolute";w.style.marginLeft="3px";w.style.marginBottom="12px";w.style.marginTop="1px";w.style.fontWeight="normal";w.style.width="120px";mxUtils.write(w,mxResources.get("perimeter"));n.appendChild(w);var sa=this.addUnitInput(n,this.getUnit(),30,52,function(){pa.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());g.edges.length==g.cells.length?(a.appendChild(k),a.appendChild(p)):g.vertices.length==g.cells.length&&a.appendChild(n);
+var O=mxUtils.bind(this,function(M,ea,ra){function ta(Sa,ma,Fa,Ha){Fa=Fa.getElementsByTagName("div")[0];null!=Fa&&h.updateCssForMarker(Fa,Ha,g.style.shape,Sa,ma);return Fa}g=h.getSelectionState();if(ra||document.activeElement!=K)M=parseFloat(mxUtils.getValue(g.style,mxConstants.STYLE_STROKEWIDTH,1)),K.value=isNaN(M)?"":this.inUnit(M)+" "+this.getUnit();if(ra||document.activeElement!=G)M=parseFloat(mxUtils.getValue(g.style,mxConstants.STYLE_STROKEWIDTH,1)),G.value=isNaN(M)?"":this.inUnit(M)+" "+this.getUnit();
+q.style.visibility="connector"==g.style.shape||"filledEdge"==g.style.shape||"wire"==g.style.shape?"":"hidden";"1"==mxUtils.getValue(g.style,mxConstants.STYLE_CURVED,null)?q.value="curved":"1"==mxUtils.getValue(g.style,mxConstants.STYLE_ROUNDED,null)&&(q.value="rounded");"1"==mxUtils.getValue(g.style,mxConstants.STYLE_DASHED,null)?null==mxUtils.getValue(g.style,mxConstants.STYLE_DASH_PATTERN,null)||"1 "!=String(mxUtils.getValue(g.style,mxConstants.STYLE_DASH_PATTERN,"")).substring(0,2)?Y.style.borderBottom=
+"1px dashed "+this.defaultStrokeColor:Y.style.borderBottom="1px dotted "+this.defaultStrokeColor:Y.style.borderBottom="1px solid "+this.defaultStrokeColor;V.style.borderBottom=Y.style.borderBottom;M=I.getElementsByTagName("div")[0];null!=M&&(ea=mxUtils.getValue(g.style,mxConstants.STYLE_EDGE,null),"1"==mxUtils.getValue(g.style,mxConstants.STYLE_NOEDGESTYLE,null)&&(ea=null),"orthogonalEdgeStyle"==ea&&"1"==mxUtils.getValue(g.style,mxConstants.STYLE_CURVED,null)?M.className="geSprite geSprite-curved":
+M.className="straight"==ea||"none"==ea||null==ea?"geSprite geSprite-straight":"entityRelationEdgeStyle"==ea?"geSprite geSprite-entity":"elbowEdgeStyle"==ea?"geSprite "+("vertical"==mxUtils.getValue(g.style,mxConstants.STYLE_ELBOW,null)?"geSprite-verticalelbow":"geSprite-horizontalelbow"):"isometricEdgeStyle"==ea?"geSprite "+("vertical"==mxUtils.getValue(g.style,mxConstants.STYLE_ELBOW,null)?"geSprite-verticalisometric":"geSprite-horizontalisometric"):"geSprite geSprite-orthogonal");M=H.getElementsByTagName("div")[0];
+null!=M&&(M.className="link"==g.style.shape?"geSprite geSprite-linkedge":"flexArrow"==g.style.shape?"geSprite geSprite-arrow":"arrow"==g.style.shape?"geSprite geSprite-simplearrow":"geSprite geSprite-connection");g.edges.length==g.cells.length?(D.style.display="",C.style.display="none"):(D.style.display="none",C.style.display="");Graph.lineJumpsEnabled&&0<g.edges.length&&0==g.vertices.length&&g.lineJumps&&(a.style.borderBottomStyle="none");M=ta(mxUtils.getValue(g.style,mxConstants.STYLE_STARTARROW,
+null),mxUtils.getValue(g.style,"startFill","1"),Z,"start");ea=ta(mxUtils.getValue(g.style,mxConstants.STYLE_ENDARROW,null),mxUtils.getValue(g.style,"endFill","1"),S,"end");null!=M&&null!=ea&&("arrow"==g.style.shape?(M.className="geSprite geSprite-noarrow",ea.className="geSprite geSprite-endblocktrans"):"link"==g.style.shape&&(M.className="geSprite geSprite-noarrow",ea.className="geSprite geSprite-noarrow"));mxUtils.setOpacity(I,"arrow"==g.style.shape?30:100);"connector"!=g.style.shape&&"flexArrow"!=
+g.style.shape&&"filledEdge"!=g.style.shape&&"wire"!=g.style.shape?(mxUtils.setOpacity(Z,30),mxUtils.setOpacity(S,30)):(mxUtils.setOpacity(Z,100),mxUtils.setOpacity(S,100));if(ra||document.activeElement!=ja)M=parseInt(mxUtils.getValue(g.style,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_MARKERSIZE)),ja.value=isNaN(M)?"":this.inUnit(M)+" "+this.getUnit();if(ra||document.activeElement!=ba)M=parseInt(mxUtils.getValue(g.style,mxConstants.STYLE_SOURCE_PERIMETER_SPACING,0)),ba.value=isNaN(M)?"":this.inUnit(M)+
+" "+this.getUnit();if(ra||document.activeElement!=U)M=parseInt(mxUtils.getValue(g.style,mxConstants.STYLE_ENDSIZE,mxConstants.DEFAULT_MARKERSIZE)),U.value=isNaN(M)?"":this.inUnit(M)+" "+this.getUnit();if(ra||document.activeElement!=ba)M=parseInt(mxUtils.getValue(g.style,mxConstants.STYLE_TARGET_PERIMETER_SPACING,0)),L.value=isNaN(M)?"":this.inUnit(M)+" "+this.getUnit();if(ra||document.activeElement!=sa)M=parseInt(mxUtils.getValue(g.style,mxConstants.STYLE_PERIMETER_SPACING,0)),sa.value=isNaN(M)?"":
+this.inUnit(M)+" "+this.getUnit()});var T=this.installInputHandler(ja,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_MARKERSIZE,0,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var X=this.installInputHandler(ba,mxConstants.STYLE_SOURCE_PERIMETER_SPACING,0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var ca=this.installInputHandler(U,mxConstants.STYLE_ENDSIZE,mxConstants.DEFAULT_MARKERSIZE,0,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var na=this.installInputHandler(L,mxConstants.STYLE_TARGET_PERIMETER_SPACING,
+0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var pa=this.installInputHandler(sa,mxConstants.STYLE_PERIMETER_SPACING,0,0,999,this.getUnit(" "),null,this.isFloatUnit(),!0);this.addKeyHandler(K,O);this.addKeyHandler(ja,O);this.addKeyHandler(ba,O);this.addKeyHandler(U,O);this.addKeyHandler(L,O);this.addKeyHandler(sa,O);d.getModel().addListener(mxEvent.CHANGE,O);this.listeners.push({destroy:function(){d.getModel().removeListener(O)}});O();return a};
+StyleFormatPanel.prototype.addLineJumps=function(a){var b=this.editorUi,e=b.editor.graph,f=b.getSelectionState();if(Graph.lineJumpsEnabled&&0<f.edges.length&&0==f.vertices.length&&f.lineJumps){a.style.padding="2px 0px 24px 14px";var h=document.createElement("div");h.style.position="absolute";h.style.maxWidth="78px";h.style.overflow="hidden";h.style.textOverflow="ellipsis";mxUtils.write(h,mxResources.get("lineJumps"));a.appendChild(h);var d=document.createElement("select");d.style.position="absolute";
+d.style.height="21px";d.style.padding="0px";d.style.marginTop="-2px";d.style.boxSizing="border-box";d.style.textAlign="center";d.style.right="84px";d.style.width="64px";d.style.borderWidth="1px";d.style.borderStyle="solid";h=["none","arc","gap","sharp","line"];for(var g=0;g<h.length;g++){var n=document.createElement("option");n.setAttribute("value",h[g]);mxUtils.write(n,mxResources.get(h[g]));d.appendChild(n)}mxEvent.addListener(d,"change",function(w){e.getModel().beginUpdate();try{e.setCellStyles("jumpStyle",
+d.value,f.cells),b.fireEvent(new mxEventObject("styleChanged","keys",["jumpStyle"],"values",[d.value],"cells",f.cells))}finally{e.getModel().endUpdate()}mxEvent.consume(w)});mxEvent.addListener(d,"click",function(w){mxEvent.consume(w)});a.appendChild(d);var q=this.addUnitInput(a,this.getUnit(),16,52,function(){k.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());var k=this.installInputHandler(q,"jumpSize",Graph.defaultJumpSize,0,999,this.getUnit(" "),null,this.isFloatUnit(),!0);
+var p=mxUtils.bind(this,function(w,z,C){f=b.getSelectionState();d.value=mxUtils.getValue(f.style,"jumpStyle","none");if(C||document.activeElement!=q)w=parseInt(mxUtils.getValue(f.style,"jumpSize",Graph.defaultJumpSize)),q.value=isNaN(w)?"":this.inUnit(w)+" "+this.getUnit()});this.addKeyHandler(q,p);e.getModel().addListener(mxEvent.CHANGE,p);this.listeners.push({destroy:function(){e.getModel().removeListener(p)}});p()}else a.style.display="none";return a};
+StyleFormatPanel.prototype.addEffects=function(a){var b=this.editorUi,e=b.editor.graph,f=b.getSelectionState();a.style.paddingTop="4px";a.style.paddingBottom="4px";var h=document.createElement("table");h.style.width="210px";h.style.fontWeight="bold";h.style.tableLayout="fixed";var d=document.createElement("tbody"),g=document.createElement("tr");g.style.padding="0px";var n=document.createElement("td");n.style.padding="0px";n.style.width="50%";n.setAttribute("valign","top");var q=n.cloneNode(!0);q.style.paddingLeft=
+"8px";g.appendChild(n);g.appendChild(q);d.appendChild(g);h.appendChild(d);a.appendChild(h);var k=n,p=mxUtils.bind(this,function(z,C,F,D){z=this.createCellOption(z,C,F,null,null,D);z.style.width="100%";k.appendChild(z);k=k==n?q:n;return z}),w=mxUtils.bind(this,function(z,C,F){f=b.getSelectionState();n.innerText="";q.innerText="";k=n;f.rounded&&p(mxResources.get("rounded"),mxConstants.STYLE_ROUNDED,0);f.swimlane&&p(mxResources.get("divider"),"swimlaneLine",1);p(mxResources.get("sketch"),"sketch",0,
+function(D,H){e.updateCellStyles({sketch:H?"1":null,curveFitting:H?Editor.sketchDefaultCurveFitting:null,jiggle:H?Editor.sketchDefaultJiggle:null},D)});f.glass&&p(mxResources.get("glass"),mxConstants.STYLE_GLASS,0);z=p(mxResources.get("shadow"),mxConstants.STYLE_SHADOW,0);Editor.enableShadowOption||(z.getElementsByTagName("input")[0].setAttribute("disabled","disabled"),mxUtils.setOpacity(z,60));0<f.edges.length&&0==f.vertices.length&&p(mxResources.get("flowAnimation",null,"Flow Animation"),"flowAnimation",
+0)});e.getModel().addListener(mxEvent.CHANGE,w);this.listeners.push({destroy:function(){e.getModel().removeListener(w)}});w();return a};StyleFormatPanel.prototype.addStyleOps=function(a){1==this.editorUi.getSelectionState().cells.length&&this.addActions(a,["setAsDefaultStyle"]);return a};DiagramStylePanel=function(a,b,e){BaseFormatPanel.call(this,a,b,e);this.init()};mxUtils.extend(DiagramStylePanel,BaseFormatPanel);
DiagramStylePanel.prototype.init=function(){var a=this.editorUi;this.darkModeChangedListener=mxUtils.bind(this,function(){this.format.cachedStyleEntries=[]});a.addListener("darkModeChanged",this.darkModeChangedListener);this.container.appendChild(this.addView(this.createPanel()))};
-DiagramStylePanel.prototype.getGlobalStyleButtons=function(){var a=this.editorUi,b=a.editor.graph,d=document.createElement("div");d.style.fontWeight="bold";d.style.alignItems="center";d.style.textAlign="left";d.style.display="flex";d.style.padding="4px";var e=document.createElement("input");e.setAttribute("type","checkbox");e.style.margin="1px 6px 0px 0px";e.checked=Editor.sketchMode;d.appendChild(e);mxUtils.write(d,mxResources.get("sketch"));mxEvent.addListener(d,"click",function(f){if(b.isEnabled()){var h=
-!Editor.sketchMode;Editor.sketchMode=h;b.updateCellStyles({sketch:h?"1":null,curveFitting:h?Editor.sketchDefaultCurveFitting:null,jiggle:h?Editor.sketchDefaultJiggle:null},b.getVerticesAndEdges());mxEvent.consume(f);window.setTimeout(function(){Editor.sketchMode=!h;a.setSketchMode(h)})}});d=[d,mxUtils.button(mxResources.get("rounded"),mxUtils.bind(this,function(f){var h=b.getVerticesAndEdges(),n=!0;if(0<h.length)for(var q=0;q<h.length;q++){var l=b.getCellStyle(h[q]);if(0==mxUtils.getValue(l,mxConstants.STYLE_ROUNDED,
-0)){n=!1;break}}n=!n;b.updateCellStyles({rounded:n?"1":"0"},h);n?(b.currentEdgeStyle.rounded="1",b.currentVertexStyle.rounded="1"):(delete b.currentEdgeStyle.rounded,delete b.currentVertexStyle.rounded);mxEvent.consume(f)}))];if(!b.isEnabled())for(e=0;e<d.length;e++)if("BUTTON"==d[e].nodeName)d[e].setAttribute("disabled","disabled");else{var g=d[e].getElementsByTagName("input");0<g.length&&g[0].setAttribute("disabled","disabled")}return d};
-DiagramStylePanel.prototype.addView=function(a){var b=this.editorUi.editor.graph;a.style.paddingTop="2px";a.style.whiteSpace="normal";var d=document.createElement("div");d.style.marginRight="16px";d.style.paddingBottom="2px";var e=document.createElement("table");e.style.width="204px";var g=document.createElement("tbody"),f=document.createElement("tr");f.style.padding="0px";var h=document.createElement("td");h.style.textAlign="center";h.style.padding="2px";h.style.width="50%";for(var n=h.cloneNode(!0),
-q=this.getGlobalStyleButtons(),l=0;l<q.length;l+=2){var p=q[l];p.style.height="22px";p.style.width="92px";h.appendChild(p);f.appendChild(h);p=q[l+1];null!=p&&(p.style.height="22px",p.style.width="92px",n.appendChild(p));f.appendChild(n);g.appendChild(f);h=h.cloneNode(!1);n=n.cloneNode(!1);f=f.cloneNode(!1)}e.appendChild(g);d.appendChild(e);a.appendChild(d);b.isEnabled()&&this.addGraphStyles(a);return a};
-DiagramStylePanel.prototype.addGraphStyles=function(a){var b=this.editorUi,d=b.editor.graph,e=d.getModel(),g=d.view.gridColor,f=["fillColor","strokeColor","fontColor","gradientColor"];a.style.whiteSpace="normal";a.style.paddingLeft="18px";a.style.paddingTop="6px";var h=mxUtils.bind(this,function(S,X){var Y=d.getVerticesAndEdges();e.beginUpdate();try{for(var M=0;M<Y.length;M++){var U=d.getCellStyle(Y[M]);q||null==U.labelBackgroundColor?q&&d.updateCellStyles({labelBackgroundColor:mxConstants.NONE},
-[Y[M]]):d.updateCellStyles({labelBackgroundColor:null!=X?X.background:null},[Y[M]]);for(var ba=e.isEdge(Y[M]),ja=e.getStyle(Y[M]),pa=ba?d.currentEdgeStyle:d.currentVertexStyle,P=0;P<S.length;P++)if(null!=U[S[P]]&&U[S[P]]!=mxConstants.NONE||S[P]!=mxConstants.STYLE_FILLCOLOR&&S[P]!=mxConstants.STYLE_STROKECOLOR)ja=q&&ba&&S[P]==mxConstants.STYLE_FONTCOLOR?mxUtils.setStyle(ja,S[P],"default"):mxUtils.setStyle(ja,S[P],pa[S[P]]);e.setStyle(Y[M],ja)}}finally{e.endUpdate()}}),n=mxUtils.bind(this,function(S,
-X,Y){if(null!=S)for(var M=0;M<X.length;M++)if(null!=S[X[M]]&&S[X[M]]!=mxConstants.NONE||X[M]!=mxConstants.STYLE_FILLCOLOR&&X[M]!=mxConstants.STYLE_STROKECOLOR)S[X[M]]=Y[X[M]]}),q=!0,l=mxUtils.bind(this,function(S,X,Y,M,U){if(null!=S){null!=Y&&(q||null==X.labelBackgroundColor?q&&(X.labelBackgroundColor=mxConstants.NONE):(M=null!=M?M.background:null,U=null!=U?U:d,null==M&&(M=U.background),null==M&&(M=U.defaultPageBackgroundColor),X.labelBackgroundColor=M));for(var ba in S)if(null==Y||null!=X[ba]&&X[ba]!=
-mxConstants.NONE||ba!=mxConstants.STYLE_FILLCOLOR&&ba!=mxConstants.STYLE_STROKECOLOR)q&&e.isEdge(Y)&&ba==mxConstants.STYLE_FONTCOLOR?X[ba]="default":X[ba]=S[ba]}}),p=mxUtils.bind(this,function(S,X,Y,M,U){var ba=document.createElement("div");ba.style.background=Editor.isDarkMode()?"#2a252f":"#f1f3f4";ba.style.position="absolute";ba.style.display="inline-block";ba.style.overflow="hidden";ba.style.pointerEvents="none";ba.style.width="100%";ba.style.height="100%";U.appendChild(ba);var ja=new Graph(ba,
-null,null,d.getStylesheet());ja.shapeBackgroundColor=ba.style.background;ja.resetViewOnRootChange=!1;ja.foldingEnabled=!1;ja.gridEnabled=!1;ja.autoScroll=!1;ja.setTooltips(!1);ja.setConnectable(!1);ja.setPanning(!1);ja.setEnabled(!1);ja.getCellStyle=function(W,V){V=null!=V?V:!0;var ca=mxUtils.clone(d.getCellStyle.apply(this,arguments)),ra=d.stylesheet.getDefaultVertexStyle(),oa=X;e.isEdge(W)&&(ra=d.stylesheet.getDefaultEdgeStyle(),oa=Y);n(ca,f,ra);l(S,ca,W,M,ja);l(oa,ca,W,M,ja);V&&(ca=d.postProcessCellStyle(W,
-ca));return ca};ja.model.beginUpdate();try{var pa=ja.insertVertex(ja.getDefaultParent(),null,"Shape",14,8,70,36,"strokeWidth=2;"),P=ja.insertEdge(ja.getDefaultParent(),null,"Connector",pa,pa,"edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;endSize=5;strokeWidth=2;");P.geometry.points=[new mxPoint(32,66)];P.geometry.offset=new mxPoint(0,8)}finally{ja.model.endUpdate()}}),w=document.createElement("div");w.style.position="relative";w.style.width="210px";a.appendChild(w);null==
-this.format.cachedStyleEntries&&(this.format.cachedStyleEntries=[]);var z=mxUtils.bind(this,function(S,X,Y,M,U){var ba=this.format.cachedStyleEntries[U];null==ba&&(ba=document.createElement("div"),ba.style.display="inline-block",ba.style.position="relative",ba.style.width="96px",ba.style.height="86px",ba.style.cursor="pointer",ba.style.border="1px solid gray",ba.style.borderRadius="8px",ba.style.margin="1px 2px",ba.style.overflow="hidden",q||null==M||null==M.background||(ba.style.backgroundColor=
-M.background),p(S,X,Y,M,ba),mxEvent.addGestureListeners(ba,mxUtils.bind(this,function(ja){ba.style.opacity=.5}),null,mxUtils.bind(this,function(ja){ba.style.opacity=1;d.currentVertexStyle=mxUtils.clone(d.defaultVertexStyle);d.currentEdgeStyle=mxUtils.clone(d.defaultEdgeStyle);l(S,d.currentVertexStyle);l(S,d.currentEdgeStyle);l(X,d.currentVertexStyle);l(Y,d.currentEdgeStyle);e.beginUpdate();try{var pa=f.slice(),P;for(P in S)pa.push(P);h(pa,M);if(!q){var W=new ChangePageSetup(b,null!=M?M.background:
-null);W.ignoreImage=!0;e.execute(W);e.execute(new ChangeGridColor(b,null!=M&&null!=M.gridColor?M.gridColor:g))}}finally{e.endUpdate()}})),mxEvent.addListener(ba,"mouseenter",mxUtils.bind(this,function(ja){var pa=d.getCellStyle;ja=d.background;var P=d.view.gridColor;q||(d.background=null!=M?M.background:null,d.view.gridColor=null!=M&&null!=M.gridColor?M.gridColor:g);d.getCellStyle=function(W,V){V=null!=V?V:!0;var ca=mxUtils.clone(pa.apply(this,arguments)),ra=d.stylesheet.getDefaultVertexStyle(),oa=
-X;e.isEdge(W)&&(ra=d.stylesheet.getDefaultEdgeStyle(),oa=Y);n(ca,f,ra);l(S,ca,W,M);l(oa,ca,W,M);V&&(ca=this.postProcessCellStyle(W,ca));return ca};d.refresh();d.getCellStyle=pa;d.background=ja;d.view.gridColor=P})),mxEvent.addListener(ba,"mouseleave",mxUtils.bind(this,function(ja){d.refresh()})),mxClient.IS_IE||mxClient.IS_IE11||(this.format.cachedStyleEntries[U]=ba));w.appendChild(ba)}),C=Math.ceil(Editor.styles.length/10);this.format.currentStylePage=null!=this.format.currentStylePage?this.format.currentStylePage:
-0;var F=[],D=mxUtils.bind(this,function(){0<F.length&&(F[this.format.currentStylePage].style.background="#84d7ff");for(var S=10*this.format.currentStylePage;S<Math.min(10*(this.format.currentStylePage+1),Editor.styles.length);S++){var X=Editor.styles[S];z(X.commonStyle,X.vertexStyle,X.edgeStyle,X.graph,S)}}),G=mxUtils.bind(this,function(S){0<=S&&S<C&&(F[this.format.currentStylePage].style.background="transparent",w.innerText="",this.format.currentStylePage=S,D())});if(1<C){var K=document.createElement("div");
-K.style.whiteSpace="nowrap";K.style.position="relative";K.style.textAlign="center";K.style.paddingTop="4px";K.style.width="210px";for(var I=0;I<C;I++){var O=document.createElement("div");O.style.display="inline-block";O.style.width="6px";O.style.height="6px";O.style.marginLeft="4px";O.style.marginRight="3px";O.style.borderRadius="3px";O.style.cursor="pointer";O.style.background="transparent";O.style.border="1px solid #b5b6b7";mxUtils.bind(this,function(S,X){mxEvent.addListener(O,"click",mxUtils.bind(this,
-function(){G(S)}))})(I,O);K.appendChild(O);F.push(O)}a.appendChild(K);D();if(15>C){I=function(S){mxEvent.addListener(S,"mouseenter",function(){S.style.opacity="1"});mxEvent.addListener(S,"mouseleave",function(){S.style.opacity="0.5"})};var H=document.createElement("div");H.className="geAdaptiveAsset";H.style.position="absolute";H.style.left="0px";H.style.top="0px";H.style.bottom="0px";H.style.width="24px";H.style.height="24px";H.style.margin="0px";H.style.cursor="pointer";H.style.opacity="0.5";H.style.backgroundRepeat=
-"no-repeat";H.style.backgroundPosition="center center";H.style.backgroundSize="24px 24px";H.style.backgroundImage="url("+Editor.previousImage+")";var Z=H.cloneNode(!1);Z.style.backgroundImage="url("+Editor.nextImage+")";Z.style.left="";Z.style.right="2px";K.appendChild(H);K.appendChild(Z);mxEvent.addListener(H,"click",mxUtils.bind(this,function(){G(mxUtils.mod(this.format.currentStylePage-1,C))}));mxEvent.addListener(Z,"click",mxUtils.bind(this,function(){G(mxUtils.mod(this.format.currentStylePage+
-1,C))}));I(H);I(Z)}}else D();return a};DiagramStylePanel.prototype.destroy=function(){BaseFormatPanel.prototype.destroy.apply(this,arguments);this.darkModeChangedListener&&(this.editorUi.removeListener(this.darkModeChangedListener),this.darkModeChangedListener=null)};DiagramFormatPanel=function(a,b,d){BaseFormatPanel.call(this,a,b,d);this.init()};mxUtils.extend(DiagramFormatPanel,BaseFormatPanel);DiagramFormatPanel.showPageView=!0;DiagramFormatPanel.prototype.showBackgroundImageOption=!0;
+DiagramStylePanel.prototype.getGlobalStyleButtons=function(){var a=this.editorUi,b=a.editor.graph,e=document.createElement("div");e.style.fontWeight="bold";e.style.alignItems="center";e.style.textAlign="left";e.style.display="flex";e.style.padding="4px";var f=document.createElement("input");f.setAttribute("type","checkbox");f.style.margin="1px 6px 0px 0px";f.checked=Editor.sketchMode;e.appendChild(f);mxUtils.write(e,mxResources.get("sketch"));mxEvent.addListener(e,"click",function(d){if(b.isEnabled()){var g=
+!Editor.sketchMode;Editor.sketchMode=g;b.updateCellStyles({sketch:g?"1":null,curveFitting:g?Editor.sketchDefaultCurveFitting:null,jiggle:g?Editor.sketchDefaultJiggle:null},b.getVerticesAndEdges());mxEvent.consume(d);window.setTimeout(function(){Editor.sketchMode=!g;a.setSketchMode(g)})}});e=[e,mxUtils.button(mxResources.get("rounded"),mxUtils.bind(this,function(d){var g=b.getVerticesAndEdges(),n=!0;if(0<g.length)for(var q=0;q<g.length;q++){var k=b.getCellStyle(g[q]);if(0==mxUtils.getValue(k,mxConstants.STYLE_ROUNDED,
+0)){n=!1;break}}n=!n;b.updateCellStyles({rounded:n?"1":"0"},g);n?(b.currentEdgeStyle.rounded="1",b.currentVertexStyle.rounded="1"):(delete b.currentEdgeStyle.rounded,delete b.currentVertexStyle.rounded);mxEvent.consume(d)}))];if(!b.isEnabled())for(f=0;f<e.length;f++)if("BUTTON"==e[f].nodeName)e[f].setAttribute("disabled","disabled");else{var h=e[f].getElementsByTagName("input");0<h.length&&h[0].setAttribute("disabled","disabled")}return e};
+DiagramStylePanel.prototype.addView=function(a){var b=this.editorUi.editor.graph;a.style.paddingTop="2px";a.style.whiteSpace="normal";var e=document.createElement("div");e.style.marginRight="16px";e.style.paddingBottom="2px";var f=document.createElement("table");f.style.width="204px";var h=document.createElement("tbody"),d=document.createElement("tr");d.style.padding="0px";var g=document.createElement("td");g.style.textAlign="center";g.style.padding="2px";g.style.width="50%";for(var n=g.cloneNode(!0),
+q=this.getGlobalStyleButtons(),k=0;k<q.length;k+=2){var p=q[k];p.style.height="22px";p.style.width="92px";g.appendChild(p);d.appendChild(g);p=q[k+1];null!=p&&(p.style.height="22px",p.style.width="92px",n.appendChild(p));d.appendChild(n);h.appendChild(d);g=g.cloneNode(!1);n=n.cloneNode(!1);d=d.cloneNode(!1)}f.appendChild(h);e.appendChild(f);a.appendChild(e);b.isEnabled()&&this.addGraphStyles(a);return a};
+DiagramStylePanel.prototype.addGraphStyles=function(a){var b=this.editorUi,e=b.editor.graph,f=e.getModel(),h=e.view.gridColor,d=["fillColor","strokeColor","fontColor","gradientColor"];a.style.whiteSpace="normal";a.style.paddingLeft="18px";a.style.paddingTop="6px";var g=mxUtils.bind(this,function(S,Y){var V=e.getVerticesAndEdges();f.beginUpdate();try{for(var L=0;L<V.length;L++){var U=e.getCellStyle(V[L]);q||null==U.labelBackgroundColor?q&&e.updateCellStyles({labelBackgroundColor:mxConstants.NONE},
+[V[L]]):e.updateCellStyles({labelBackgroundColor:null!=Y?Y.background:null},[V[L]]);for(var ba=f.isEdge(V[L]),ja=f.getStyle(V[L]),sa=ba?e.currentEdgeStyle:e.currentVertexStyle,O=0;O<S.length;O++)if(null!=U[S[O]]&&U[S[O]]!=mxConstants.NONE||S[O]!=mxConstants.STYLE_FILLCOLOR&&S[O]!=mxConstants.STYLE_STROKECOLOR)ja=q&&ba&&S[O]==mxConstants.STYLE_FONTCOLOR?mxUtils.setStyle(ja,S[O],"default"):mxUtils.setStyle(ja,S[O],sa[S[O]]);f.setStyle(V[L],ja)}}finally{f.endUpdate()}}),n=mxUtils.bind(this,function(S,
+Y,V){if(null!=S)for(var L=0;L<Y.length;L++)if(null!=S[Y[L]]&&S[Y[L]]!=mxConstants.NONE||Y[L]!=mxConstants.STYLE_FILLCOLOR&&Y[L]!=mxConstants.STYLE_STROKECOLOR)S[Y[L]]=V[Y[L]]}),q=!0,k=mxUtils.bind(this,function(S,Y,V,L,U){if(null!=S){null!=V&&(q||null==Y.labelBackgroundColor?q&&(Y.labelBackgroundColor=mxConstants.NONE):(L=null!=L?L.background:null,U=null!=U?U:e,null==L&&(L=U.background),null==L&&(L=U.defaultPageBackgroundColor),Y.labelBackgroundColor=L));for(var ba in S)if(null==V||null!=Y[ba]&&Y[ba]!=
+mxConstants.NONE||ba!=mxConstants.STYLE_FILLCOLOR&&ba!=mxConstants.STYLE_STROKECOLOR)q&&f.isEdge(V)&&ba==mxConstants.STYLE_FONTCOLOR?Y[ba]="default":Y[ba]=S[ba]}}),p=mxUtils.bind(this,function(S,Y,V,L,U){var ba=document.createElement("div");ba.style.background=Editor.isDarkMode()?"#2a252f":"#f1f3f4";ba.style.position="absolute";ba.style.display="inline-block";ba.style.overflow="hidden";ba.style.pointerEvents="none";ba.style.width="100%";ba.style.height="100%";U.appendChild(ba);var ja=new Graph(ba,
+null,null,e.getStylesheet());ja.shapeBackgroundColor=ba.style.background;ja.resetViewOnRootChange=!1;ja.foldingEnabled=!1;ja.gridEnabled=!1;ja.autoScroll=!1;ja.setTooltips(!1);ja.setConnectable(!1);ja.setPanning(!1);ja.setEnabled(!1);ja.getCellStyle=function(T,X){X=null!=X?X:!0;var ca=mxUtils.clone(e.getCellStyle.apply(this,arguments)),na=e.stylesheet.getDefaultVertexStyle(),pa=Y;f.isEdge(T)&&(na=e.stylesheet.getDefaultEdgeStyle(),pa=V);n(ca,d,na);k(S,ca,T,L,ja);k(pa,ca,T,L,ja);X&&(ca=e.postProcessCellStyle(T,
+ca));return ca};ja.model.beginUpdate();try{var sa=ja.insertVertex(ja.getDefaultParent(),null,"Shape",14,8,70,36,"strokeWidth=2;"),O=ja.insertEdge(ja.getDefaultParent(),null,"Connector",sa,sa,"edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;endSize=5;strokeWidth=2;");O.geometry.points=[new mxPoint(32,66)];O.geometry.offset=new mxPoint(0,8)}finally{ja.model.endUpdate()}}),w=document.createElement("div");w.style.position="relative";w.style.width="210px";a.appendChild(w);null==
+this.format.cachedStyleEntries&&(this.format.cachedStyleEntries=[]);var z=mxUtils.bind(this,function(S,Y,V,L,U){var ba=this.format.cachedStyleEntries[U];null==ba&&(ba=document.createElement("div"),ba.style.display="inline-block",ba.style.position="relative",ba.style.width="96px",ba.style.height="86px",ba.style.cursor="pointer",ba.style.border="1px solid gray",ba.style.borderRadius="8px",ba.style.margin="1px 2px",ba.style.overflow="hidden",q||null==L||null==L.background||(ba.style.backgroundColor=
+L.background),p(S,Y,V,L,ba),mxEvent.addGestureListeners(ba,mxUtils.bind(this,function(ja){ba.style.opacity=.5}),null,mxUtils.bind(this,function(ja){ba.style.opacity=1;e.currentVertexStyle=mxUtils.clone(e.defaultVertexStyle);e.currentEdgeStyle=mxUtils.clone(e.defaultEdgeStyle);k(S,e.currentVertexStyle);k(S,e.currentEdgeStyle);k(Y,e.currentVertexStyle);k(V,e.currentEdgeStyle);f.beginUpdate();try{var sa=d.slice(),O;for(O in S)sa.push(O);g(sa,L);if(!q){var T=new ChangePageSetup(b,null!=L?L.background:
+null);T.ignoreImage=!0;f.execute(T);f.execute(new ChangeGridColor(b,null!=L&&null!=L.gridColor?L.gridColor:h))}}finally{f.endUpdate()}})),mxEvent.addListener(ba,"mouseenter",mxUtils.bind(this,function(ja){var sa=e.getCellStyle;ja=e.background;var O=e.view.gridColor;q||(e.background=null!=L?L.background:null,e.view.gridColor=null!=L&&null!=L.gridColor?L.gridColor:h);e.getCellStyle=function(T,X){X=null!=X?X:!0;var ca=mxUtils.clone(sa.apply(this,arguments)),na=e.stylesheet.getDefaultVertexStyle(),pa=
+Y;f.isEdge(T)&&(na=e.stylesheet.getDefaultEdgeStyle(),pa=V);n(ca,d,na);k(S,ca,T,L);k(pa,ca,T,L);X&&(ca=this.postProcessCellStyle(T,ca));return ca};e.refresh();e.getCellStyle=sa;e.background=ja;e.view.gridColor=O})),mxEvent.addListener(ba,"mouseleave",mxUtils.bind(this,function(ja){e.refresh()})),mxClient.IS_IE||mxClient.IS_IE11||(this.format.cachedStyleEntries[U]=ba));w.appendChild(ba)}),C=Math.ceil(Editor.styles.length/10);this.format.currentStylePage=null!=this.format.currentStylePage?this.format.currentStylePage:
+0;var F=[],D=mxUtils.bind(this,function(){0<F.length&&(F[this.format.currentStylePage].style.background="#84d7ff");for(var S=10*this.format.currentStylePage;S<Math.min(10*(this.format.currentStylePage+1),Editor.styles.length);S++){var Y=Editor.styles[S];z(Y.commonStyle,Y.vertexStyle,Y.edgeStyle,Y.graph,S)}}),H=mxUtils.bind(this,function(S){0<=S&&S<C&&(F[this.format.currentStylePage].style.background="transparent",w.innerText="",this.format.currentStylePage=S,D())});if(1<C){var K=document.createElement("div");
+K.style.whiteSpace="nowrap";K.style.position="relative";K.style.textAlign="center";K.style.paddingTop="4px";K.style.width="210px";for(var G=0;G<C;G++){var P=document.createElement("div");P.style.display="inline-block";P.style.width="6px";P.style.height="6px";P.style.marginLeft="4px";P.style.marginRight="3px";P.style.borderRadius="3px";P.style.cursor="pointer";P.style.background="transparent";P.style.border="1px solid #b5b6b7";mxUtils.bind(this,function(S,Y){mxEvent.addListener(P,"click",mxUtils.bind(this,
+function(){H(S)}))})(G,P);K.appendChild(P);F.push(P)}a.appendChild(K);D();if(15>C){G=function(S){mxEvent.addListener(S,"mouseenter",function(){S.style.opacity="1"});mxEvent.addListener(S,"mouseleave",function(){S.style.opacity="0.5"})};var I=document.createElement("div");I.className="geAdaptiveAsset";I.style.position="absolute";I.style.left="0px";I.style.top="0px";I.style.bottom="0px";I.style.width="24px";I.style.height="24px";I.style.margin="0px";I.style.cursor="pointer";I.style.opacity="0.5";I.style.backgroundRepeat=
+"no-repeat";I.style.backgroundPosition="center center";I.style.backgroundSize="24px 24px";I.style.backgroundImage="url("+Editor.previousImage+")";var Z=I.cloneNode(!1);Z.style.backgroundImage="url("+Editor.nextImage+")";Z.style.left="";Z.style.right="2px";K.appendChild(I);K.appendChild(Z);mxEvent.addListener(I,"click",mxUtils.bind(this,function(){H(mxUtils.mod(this.format.currentStylePage-1,C))}));mxEvent.addListener(Z,"click",mxUtils.bind(this,function(){H(mxUtils.mod(this.format.currentStylePage+
+1,C))}));G(I);G(Z)}}else D();return a};DiagramStylePanel.prototype.destroy=function(){BaseFormatPanel.prototype.destroy.apply(this,arguments);this.darkModeChangedListener&&(this.editorUi.removeListener(this.darkModeChangedListener),this.darkModeChangedListener=null)};DiagramFormatPanel=function(a,b,e){BaseFormatPanel.call(this,a,b,e);this.init()};mxUtils.extend(DiagramFormatPanel,BaseFormatPanel);DiagramFormatPanel.showPageView=!0;DiagramFormatPanel.prototype.showBackgroundImageOption=!0;
DiagramFormatPanel.prototype.init=function(){var a=this.editorUi.editor.graph;this.container.appendChild(this.addView(this.createPanel()));a.isEnabled()&&(this.container.appendChild(this.addOptions(this.createPanel())),this.container.appendChild(this.addPaperSize(this.createPanel())),this.container.appendChild(this.addStyleOps(this.createPanel())))};
-DiagramFormatPanel.prototype.addView=function(a){var b=this.editorUi,d=b.editor.graph;a.appendChild(this.createTitle(mxResources.get("view")));this.addGridOption(a);DiagramFormatPanel.showPageView&&a.appendChild(this.createOption(mxResources.get("pageView"),function(){return d.pageVisible},function(f){b.actions.get("pageView").funct()},{install:function(f){this.listener=function(){f(d.pageVisible)};b.addListener("pageViewChanged",this.listener)},destroy:function(){b.removeListener(this.listener)}}));
-if(d.isEnabled()){if(this.showBackgroundImageOption){var e=this.createOption(mxResources.get("background"),function(){return null!=d.backgroundImage},function(f){f||(f=new ChangePageSetup(b,null,null),f.ignoreColor=!0,d.model.execute(f))},{install:function(f){this.listener=function(){f(null!=d.backgroundImage)};b.addListener("backgroundImageChanged",this.listener)},destroy:function(){b.removeListener(this.listener)}}),g=e.getElementsByTagName("input")[0];null!=g&&(g.style.visibility=null!=d.backgroundImage?
-"visible":"hidden");g=e.getElementsByTagName("div")[0];null!=g&&(g.style.display="inline-block",g.style.textOverflow="ellipsis",g.style.overflow="hidden",g.style.maxWidth="80px");mxClient.IS_FF&&(g.style.marginTop="1px");g=mxUtils.button(mxResources.get("change")+"...",function(f){b.showBackgroundImageDialog(null,b.editor.graph.backgroundImage,b.editor.graph.background);mxEvent.consume(f)});g.style.position="absolute";g.style.height="22px";g.style.left="47%";g.style.marginLeft="1px";g.style.width=
-"110px";g.style.maxWidth="110px";e.appendChild(g);a.appendChild(e)}e=this.createColorOption(mxResources.get("backgroundColor"),function(){return d.background},function(f){f=new ChangePageSetup(b,f);f.ignoreImage=!0;d.model.execute(f)},"#ffffff");e.style.padding="5px 0 1px 0";a.appendChild(e);e=this.createOption(mxResources.get("shadow"),function(){return d.shadowVisible},function(f){var h=new ChangePageSetup(b);h.ignoreColor=!0;h.ignoreImage=!0;h.shadowVisible=f;d.model.execute(h)},{install:function(f){this.listener=
-function(){f(d.shadowVisible)};b.addListener("shadowVisibleChanged",this.listener)},destroy:function(){b.removeListener(this.listener)}});Editor.enableShadowOption||(e.getElementsByTagName("input")[0].setAttribute("disabled","disabled"),mxUtils.setOpacity(e,60));e.style.display="inline-flex";e.style.width="100px";e.style.maxWidth="100px";e.style.marginRight="4px";a.appendChild(e);e=this.createOption(mxResources.get("sketch"),function(){return Editor.sketchMode},function(f){b.setSketchMode(f)},{install:function(f){this.listener=
-function(){f(Editor.sketchMode)};b.addListener("sketchModeChanged",this.listener)},destroy:function(){b.removeListener(this.listener)}});e.style.display="inline-flex";e.style.width="104px";e.style.maxWidth="104px";a.appendChild(e)}return a};
-DiagramFormatPanel.prototype.addOptions=function(a){var b=this.editorUi,d=b.editor.graph;a.appendChild(this.createTitle(mxResources.get("options")));d.isEnabled()&&(a.appendChild(this.createOption(mxResources.get("connectionArrows"),function(){return d.connectionArrowsEnabled},function(e){b.actions.get("connectionArrows").funct()},{install:function(e){this.listener=function(){e(d.connectionArrowsEnabled)};b.addListener("connectionArrowsChanged",this.listener)},destroy:function(){b.removeListener(this.listener)}})),
-a.appendChild(this.createOption(mxResources.get("connectionPoints"),function(){return d.connectionHandler.isEnabled()},function(e){b.actions.get("connectionPoints").funct()},{install:function(e){this.listener=function(){e(d.connectionHandler.isEnabled())};b.addListener("connectionPointsChanged",this.listener)},destroy:function(){b.removeListener(this.listener)}})),a.appendChild(this.createOption(mxResources.get("guides"),function(){return d.graphHandler.guidesEnabled},function(e){b.actions.get("guides").funct()},
-{install:function(e){this.listener=function(){e(d.graphHandler.guidesEnabled)};b.addListener("guidesEnabledChanged",this.listener)},destroy:function(){b.removeListener(this.listener)}})));return a};
-DiagramFormatPanel.prototype.addGridOption=function(a){function b(q){var l=d.isFloatUnit()?parseFloat(f.value):parseInt(f.value);l=d.fromUnit(Math.max(d.inUnit(1),isNaN(l)?d.inUnit(10):l));l!=g.getGridSize()&&(mxGraph.prototype.gridSize=l,g.setGridSize(l));f.value=d.inUnit(l)+" "+d.getUnit();mxEvent.consume(q)}var d=this,e=this.editorUi,g=e.editor.graph,f=document.createElement("input");f.style.position="absolute";f.style.textAlign="right";f.style.width="48px";f.style.marginTop="-2px";f.style.height=
-"21px";f.style.borderWidth="1px";f.style.borderStyle="solid";f.style.boxSizing="border-box";f.value=this.inUnit(g.getGridSize())+" "+this.getUnit();var h=this.createStepper(f,b,this.getUnitStep(),null,null,null,this.isFloatUnit());f.style.display=g.isGridEnabled()?"":"none";h.style.display=f.style.display;mxEvent.addListener(f,"keydown",function(q){13==q.keyCode?(g.container.focus(),mxEvent.consume(q)):27==q.keyCode&&(f.value=g.getGridSize(),g.container.focus(),mxEvent.consume(q))});mxEvent.addListener(f,
-"blur",b);mxEvent.addListener(f,"change",b);f.style.right="78px";h.style.marginTop=mxClient.IS_MAC&&mxClient.IS_GC?"-16px":mxClient.IS_WIN?"-18px":"-17px";h.style.right="66px";var n=this.createColorOption(mxResources.get("grid"),function(){var q=g.view.gridColor;return g.isGridEnabled()?q:null},function(q){var l=g.isGridEnabled();q==mxConstants.NONE?g.setGridEnabled(!1):(g.setGridEnabled(!0),e.setGridColor(q));f.style.display=g.isGridEnabled()?"":"none";h.style.display=f.style.display;l!=g.isGridEnabled()&&
-(g.defaultGridEnabled=g.isGridEnabled(),e.fireEvent(new mxEventObject("gridEnabledChanged")))},Editor.isDarkMode()?g.view.defaultDarkGridColor:g.view.defaultGridColor,{install:function(q){this.listener=function(){q(g.isGridEnabled()?g.view.gridColor:null)};e.addListener("gridColorChanged",this.listener);e.addListener("gridEnabledChanged",this.listener)},destroy:function(){e.removeListener(this.listener)}});n.style.padding="6px 0 0 0";n.appendChild(f);n.appendChild(h);a.appendChild(n)};
+DiagramFormatPanel.prototype.addView=function(a){var b=this.editorUi,e=b.editor.graph;a.appendChild(this.createTitle(mxResources.get("view")));this.addGridOption(a);DiagramFormatPanel.showPageView&&a.appendChild(this.createOption(mxResources.get("pageView"),function(){return e.pageVisible},function(d){b.actions.get("pageView").funct()},{install:function(d){this.listener=function(){d(e.pageVisible)};b.addListener("pageViewChanged",this.listener)},destroy:function(){b.removeListener(this.listener)}}));
+if(e.isEnabled()){if(this.showBackgroundImageOption){var f=this.createOption(mxResources.get("background"),function(){return null!=e.backgroundImage},function(d){d||(d=new ChangePageSetup(b,null,null),d.ignoreColor=!0,e.model.execute(d))},{install:function(d){this.listener=function(){d(null!=e.backgroundImage)};b.addListener("backgroundImageChanged",this.listener)},destroy:function(){b.removeListener(this.listener)}}),h=f.getElementsByTagName("input")[0];null!=h&&(h.style.visibility=null!=e.backgroundImage?
+"visible":"hidden");h=f.getElementsByTagName("div")[0];null!=h&&(h.style.display="inline-block",h.style.textOverflow="ellipsis",h.style.overflow="hidden",h.style.maxWidth="80px");mxClient.IS_FF&&(h.style.marginTop="1px");h=mxUtils.button(mxResources.get("change")+"...",function(d){b.showBackgroundImageDialog(null,b.editor.graph.backgroundImage,b.editor.graph.background);mxEvent.consume(d)});h.style.position="absolute";h.style.height="22px";h.style.left="47%";h.style.marginLeft="1px";h.style.width=
+"110px";h.style.maxWidth="110px";f.appendChild(h);a.appendChild(f)}f=this.createColorOption(mxResources.get("backgroundColor"),function(){return e.background},function(d){d=new ChangePageSetup(b,d);d.ignoreImage=!0;e.model.execute(d)},"#ffffff");f.style.padding="5px 0 1px 0";a.appendChild(f);f=this.createOption(mxResources.get("shadow"),function(){return e.shadowVisible},function(d){var g=new ChangePageSetup(b);g.ignoreColor=!0;g.ignoreImage=!0;g.shadowVisible=d;e.model.execute(g)},{install:function(d){this.listener=
+function(){d(e.shadowVisible)};b.addListener("shadowVisibleChanged",this.listener)},destroy:function(){b.removeListener(this.listener)}});Editor.enableShadowOption||(f.getElementsByTagName("input")[0].setAttribute("disabled","disabled"),mxUtils.setOpacity(f,60));f.style.display="inline-flex";f.style.width="100px";f.style.maxWidth="100px";f.style.marginRight="4px";a.appendChild(f);f=this.createOption(mxResources.get("sketch"),function(){return Editor.sketchMode},function(d){b.setSketchMode(d)},{install:function(d){this.listener=
+function(){d(Editor.sketchMode)};b.addListener("sketchModeChanged",this.listener)},destroy:function(){b.removeListener(this.listener)}});f.style.display="inline-flex";f.style.width="104px";f.style.maxWidth="104px";a.appendChild(f)}return a};
+DiagramFormatPanel.prototype.addOptions=function(a){var b=this.editorUi,e=b.editor.graph;a.appendChild(this.createTitle(mxResources.get("options")));e.isEnabled()&&(a.appendChild(this.createOption(mxResources.get("connectionArrows"),function(){return e.connectionArrowsEnabled},function(f){b.actions.get("connectionArrows").funct()},{install:function(f){this.listener=function(){f(e.connectionArrowsEnabled)};b.addListener("connectionArrowsChanged",this.listener)},destroy:function(){b.removeListener(this.listener)}})),
+a.appendChild(this.createOption(mxResources.get("connectionPoints"),function(){return e.connectionHandler.isEnabled()},function(f){b.actions.get("connectionPoints").funct()},{install:function(f){this.listener=function(){f(e.connectionHandler.isEnabled())};b.addListener("connectionPointsChanged",this.listener)},destroy:function(){b.removeListener(this.listener)}})),a.appendChild(this.createOption(mxResources.get("guides"),function(){return e.graphHandler.guidesEnabled},function(f){b.actions.get("guides").funct()},
+{install:function(f){this.listener=function(){f(e.graphHandler.guidesEnabled)};b.addListener("guidesEnabledChanged",this.listener)},destroy:function(){b.removeListener(this.listener)}})));return a};
+DiagramFormatPanel.prototype.addGridOption=function(a){function b(q){var k=e.isFloatUnit()?parseFloat(d.value):parseInt(d.value);k=e.fromUnit(Math.max(e.inUnit(1),isNaN(k)?e.inUnit(10):k));k!=h.getGridSize()&&(mxGraph.prototype.gridSize=k,h.setGridSize(k));d.value=e.inUnit(k)+" "+e.getUnit();mxEvent.consume(q)}var e=this,f=this.editorUi,h=f.editor.graph,d=document.createElement("input");d.style.position="absolute";d.style.textAlign="right";d.style.width="48px";d.style.marginTop="-2px";d.style.height=
+"21px";d.style.borderWidth="1px";d.style.borderStyle="solid";d.style.boxSizing="border-box";d.value=this.inUnit(h.getGridSize())+" "+this.getUnit();var g=this.createStepper(d,b,this.getUnitStep(),null,null,null,this.isFloatUnit());d.style.display=h.isGridEnabled()?"":"none";g.style.display=d.style.display;mxEvent.addListener(d,"keydown",function(q){13==q.keyCode?(h.container.focus(),mxEvent.consume(q)):27==q.keyCode&&(d.value=h.getGridSize(),h.container.focus(),mxEvent.consume(q))});mxEvent.addListener(d,
+"blur",b);mxEvent.addListener(d,"change",b);d.style.right="78px";g.style.marginTop=mxClient.IS_MAC&&mxClient.IS_GC?"-16px":mxClient.IS_WIN?"-18px":"-17px";g.style.right="66px";var n=this.createColorOption(mxResources.get("grid"),function(){var q=h.view.gridColor;return h.isGridEnabled()?q:null},function(q){var k=h.isGridEnabled();q==mxConstants.NONE?h.setGridEnabled(!1):(h.setGridEnabled(!0),f.setGridColor(q));d.style.display=h.isGridEnabled()?"":"none";g.style.display=d.style.display;k!=h.isGridEnabled()&&
+(h.defaultGridEnabled=h.isGridEnabled(),f.fireEvent(new mxEventObject("gridEnabledChanged")))},Editor.isDarkMode()?h.view.defaultDarkGridColor:h.view.defaultGridColor,{install:function(q){this.listener=function(){q(h.isGridEnabled()?h.view.gridColor:null)};f.addListener("gridColorChanged",this.listener);f.addListener("gridEnabledChanged",this.listener)},destroy:function(){f.removeListener(this.listener)}});n.style.padding="6px 0 0 0";n.appendChild(d);n.appendChild(g);a.appendChild(n)};
DiagramFormatPanel.prototype.addDocumentProperties=function(a){a.appendChild(this.createTitle(mxResources.get("options")));return a};
-DiagramFormatPanel.prototype.addPaperSize=function(a){var b=this.editorUi,d=b.editor.graph;a.appendChild(this.createTitle(mxResources.get("paperSize")));var e=PageSetupDialog.addPageFormatPanel(a,"formatpanel",d.pageFormat,function(f){if(null==d.pageFormat||d.pageFormat.width!=f.width||d.pageFormat.height!=f.height)f=new ChangePageSetup(b,null,null,f),f.ignoreColor=!0,f.ignoreImage=!0,d.model.execute(f)});this.addKeyHandler(e.widthInput,function(){e.set(d.pageFormat)});this.addKeyHandler(e.heightInput,
-function(){e.set(d.pageFormat)});var g=function(){e.set(d.pageFormat)};b.addListener("pageFormatChanged",g);this.listeners.push({destroy:function(){b.removeListener(g)}});d.getModel().addListener(mxEvent.CHANGE,g);this.listeners.push({destroy:function(){d.getModel().removeListener(g)}});return a};DiagramFormatPanel.prototype.addStyleOps=function(a){this.addActions(a,["editData"]);this.addActions(a,["clearDefaultStyle"]);return a};
-DiagramFormatPanel.prototype.destroy=function(){BaseFormatPanel.prototype.destroy.apply(this,arguments);this.gridEnabledListener&&(this.editorUi.removeListener(this.gridEnabledListener),this.gridEnabledListener=null)};(function(){function a(c,k,t){mxShape.call(this);this.line=c;this.stroke=k;this.strokewidth=null!=t?t:1;this.updateBoundsFromLine()}function b(){mxSwimlane.call(this)}function d(){mxSwimlane.call(this)}function e(){mxCylinder.call(this)}function g(){mxConnector.call(this)}function f(){mxCylinder.call(this)}function h(){mxActor.call(this)}function n(){mxCylinder.call(this)}function q(){mxCylinder.call(this)}function l(){mxCylinder.call(this)}function p(){mxCylinder.call(this)}function w(){mxShape.call(this)}
-function z(){mxShape.call(this)}function C(c,k,t,m){mxShape.call(this);this.bounds=c;this.fill=k;this.stroke=t;this.strokewidth=null!=m?m:1}function F(){mxActor.call(this)}function D(){mxCylinder.call(this)}function G(){mxCylinder.call(this)}function K(){mxActor.call(this)}function I(){mxActor.call(this)}function O(){mxActor.call(this)}function H(){mxActor.call(this)}function Z(){mxActor.call(this)}function S(){mxActor.call(this)}function X(){mxActor.call(this)}function Y(c,k){this.canvas=c;this.canvas.setLineJoin("round");
-this.canvas.setLineCap("round");this.defaultVariation=k;this.originalLineTo=this.canvas.lineTo;this.canvas.lineTo=mxUtils.bind(this,Y.prototype.lineTo);this.originalMoveTo=this.canvas.moveTo;this.canvas.moveTo=mxUtils.bind(this,Y.prototype.moveTo);this.originalClose=this.canvas.close;this.canvas.close=mxUtils.bind(this,Y.prototype.close);this.originalQuadTo=this.canvas.quadTo;this.canvas.quadTo=mxUtils.bind(this,Y.prototype.quadTo);this.originalCurveTo=this.canvas.curveTo;this.canvas.curveTo=mxUtils.bind(this,
-Y.prototype.curveTo);this.originalArcTo=this.canvas.arcTo;this.canvas.arcTo=mxUtils.bind(this,Y.prototype.arcTo)}function M(){mxRectangleShape.call(this)}function U(){mxRectangleShape.call(this)}function ba(){mxActor.call(this)}function ja(){mxActor.call(this)}function pa(){mxActor.call(this)}function P(){mxRectangleShape.call(this)}function W(){mxRectangleShape.call(this)}function V(){mxCylinder.call(this)}function ca(){mxShape.call(this)}function ra(){mxShape.call(this)}function oa(){mxEllipse.call(this)}
-function L(){mxShape.call(this)}function ea(){mxShape.call(this)}function sa(){mxRectangleShape.call(this)}function va(){mxShape.call(this)}function Ua(){mxShape.call(this)}function ma(){mxShape.call(this)}function Fa(){mxShape.call(this)}function Ia(){mxShape.call(this)}function Oa(){mxCylinder.call(this)}function Ra(){mxCylinder.call(this)}function Ma(){mxRectangleShape.call(this)}function Na(){mxDoubleEllipse.call(this)}function ta(){mxDoubleEllipse.call(this)}function Pa(){mxArrowConnector.call(this);
-this.spacing=0}function $a(){mxArrowConnector.call(this);this.spacing=0}function gb(){mxActor.call(this)}function cb(){mxRectangleShape.call(this)}function hb(){mxActor.call(this)}function ib(){mxActor.call(this)}function fb(){mxActor.call(this)}function fa(){mxActor.call(this)}function Ga(){mxActor.call(this)}function ya(){mxActor.call(this)}function u(){mxActor.call(this)}function A(){mxActor.call(this)}function B(){mxActor.call(this)}function E(){mxActor.call(this)}function N(){mxEllipse.call(this)}
-function Q(){mxEllipse.call(this)}function T(){mxEllipse.call(this)}function ia(){mxRhombus.call(this)}function da(){mxEllipse.call(this)}function ha(){mxEllipse.call(this)}function ua(){mxEllipse.call(this)}function Ja(){mxEllipse.call(this)}function Ka(){mxActor.call(this)}function xa(){mxActor.call(this)}function Ba(){mxActor.call(this)}function wa(c,k,t,m){mxShape.call(this);this.bounds=c;this.fill=k;this.stroke=t;this.strokewidth=null!=m?m:1;this.rectStyle="square";this.size=10;this.absoluteCornerSize=
-!0;this.indent=2;this.rectOutline="single"}function za(){mxConnector.call(this)}function Ya(c,k,t,m,r,v,x,J,y,aa){x+=y;var R=m.clone();m.x-=r*(2*x+y);m.y-=v*(2*x+y);r*=x+y;v*=x+y;return function(){c.ellipse(R.x-r-x,R.y-v-x,2*x,2*x);aa?c.fillAndStroke():c.stroke()}}mxUtils.extend(a,mxShape);a.prototype.updateBoundsFromLine=function(){var c=null;if(null!=this.line)for(var k=0;k<this.line.length;k++){var t=this.line[k];null!=t&&(t=new mxRectangle(t.x,t.y,this.strokewidth,this.strokewidth),null==c?c=
-t:c.add(t))}this.bounds=null!=c?c:new mxRectangle};a.prototype.paintVertexShape=function(c,k,t,m,r){this.paintTableLine(c,this.line,0,0)};a.prototype.paintTableLine=function(c,k,t,m){if(null!=k){var r=null;c.begin();for(var v=0;v<k.length;v++){var x=k[v];null!=x&&(null==r?c.moveTo(x.x+t,x.y+m):null!=r&&c.lineTo(x.x+t,x.y+m));r=x}c.end();c.stroke()}};a.prototype.intersectsRectangle=function(c){var k=!1;if(mxShape.prototype.intersectsRectangle.apply(this,arguments)&&null!=this.line)for(var t=null,m=
-0;m<this.line.length&&!k;m++){var r=this.line[m];null!=r&&null!=t&&(k=mxUtils.rectangleIntersectsSegment(c,t,r));t=r}return k};mxCellRenderer.registerShape("tableLine",a);mxUtils.extend(b,mxSwimlane);b.prototype.getLabelBounds=function(c){return 0==this.getTitleSize()?mxShape.prototype.getLabelBounds.apply(this,arguments):mxSwimlane.prototype.getLabelBounds.apply(this,arguments)};b.prototype.paintVertexShape=function(c,k,t,m,r){var v=null!=this.state?this.state.view.graph.isCellCollapsed(this.state.cell):
-!1,x=this.isHorizontal(),J=this.getTitleSize();0==J||this.outline?ua.prototype.paintVertexShape.apply(this,arguments):(mxSwimlane.prototype.paintVertexShape.apply(this,arguments),c.translate(-k,-t));v||this.outline||!(x&&J<r||!x&&J<m)||this.paintForeground(c,k,t,m,r)};b.prototype.paintForeground=function(c,k,t,m,r){if(null!=this.state){var v=this.flipH,x=this.flipV;if(this.direction==mxConstants.DIRECTION_NORTH||this.direction==mxConstants.DIRECTION_SOUTH){var J=v;v=x;x=J}c.rotate(-this.getShapeRotation(),
-v,x,k+m/2,t+r/2);s=this.scale;k=this.bounds.x/s;t=this.bounds.y/s;m=this.bounds.width/s;r=this.bounds.height/s;this.paintTableForeground(c,k,t,m,r)}};b.prototype.paintTableForeground=function(c,k,t,m,r){m=this.state.view.graph.getTableLines(this.state.cell,"0"!=mxUtils.getValue(this.state.style,"rowLines","1"),"0"!=mxUtils.getValue(this.state.style,"columnLines","1"));for(r=0;r<m.length;r++)a.prototype.paintTableLine(c,m[r],k,t)};b.prototype.configurePointerEvents=function(c){0==this.getTitleSize()?
-c.pointerEvents=!1:mxSwimlane.prototype.configurePointerEvents.apply(this,arguments)};mxCellRenderer.registerShape("table",b);mxUtils.extend(d,b);d.prototype.paintForeground=function(){};mxCellRenderer.registerShape("tableRow",d);mxUtils.extend(e,mxCylinder);e.prototype.size=20;e.prototype.darkOpacity=0;e.prototype.darkOpacity2=0;e.prototype.paintVertexShape=function(c,k,t,m,r){var v=Math.max(0,Math.min(m,Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size))))),x=Math.max(-1,Math.min(1,
-parseFloat(mxUtils.getValue(this.style,"darkOpacity",this.darkOpacity)))),J=Math.max(-1,Math.min(1,parseFloat(mxUtils.getValue(this.style,"darkOpacity2",this.darkOpacity2))));c.translate(k,t);c.begin();c.moveTo(0,0);c.lineTo(m-v,0);c.lineTo(m,v);c.lineTo(m,r);c.lineTo(v,r);c.lineTo(0,r-v);c.lineTo(0,0);c.close();c.end();c.fillAndStroke();this.outline||(c.setShadow(!1),0!=x&&(c.setFillAlpha(Math.abs(x)),c.setFillColor(0>x?"#FFFFFF":"#000000"),c.begin(),c.moveTo(0,0),c.lineTo(m-v,0),c.lineTo(m,v),c.lineTo(v,
-v),c.close(),c.fill()),0!=J&&(c.setFillAlpha(Math.abs(J)),c.setFillColor(0>J?"#FFFFFF":"#000000"),c.begin(),c.moveTo(0,0),c.lineTo(v,v),c.lineTo(v,r),c.lineTo(0,r-v),c.close(),c.fill()),c.begin(),c.moveTo(v,r),c.lineTo(v,v),c.lineTo(0,0),c.moveTo(v,v),c.lineTo(m,v),c.end(),c.stroke())};e.prototype.getLabelMargins=function(c){return mxUtils.getValue(this.style,"boundedLbl",!1)?(c=parseFloat(mxUtils.getValue(this.style,"size",this.size))*this.scale,new mxRectangle(c,c,0,0)):null};mxCellRenderer.registerShape("cube",
-e);var Sa=Math.tan(mxUtils.toRadians(30)),La=(.5-Sa)/2;mxCellRenderer.registerShape("isoRectangle",h);mxUtils.extend(g,mxConnector);g.prototype.paintEdgeShape=function(c,k){var t=this.createMarker(c,k,!0),m=this.createMarker(c,k,!1);c.setDashed(!1);mxPolyline.prototype.paintEdgeShape.apply(this,arguments);null!=this.isDashed&&c.setDashed(this.isDashed,null!=this.style?1==mxUtils.getValue(this.style,mxConstants.STYLE_FIX_DASH,!1):!1);c.setShadow(!1);c.setStrokeColor(this.fill);mxPolyline.prototype.paintEdgeShape.apply(this,
-arguments);c.setStrokeColor(this.stroke);c.setFillColor(this.stroke);c.setDashed(!1);null!=t&&t();null!=m&&m()};mxCellRenderer.registerShape("wire",g);mxUtils.extend(f,mxCylinder);f.prototype.size=6;f.prototype.paintVertexShape=function(c,k,t,m,r){c.setFillColor(this.stroke);var v=Math.max(0,parseFloat(mxUtils.getValue(this.style,"size",this.size))-2)+2*this.strokewidth;c.ellipse(k+.5*(m-v),t+.5*(r-v),v,v);c.fill();c.setFillColor(mxConstants.NONE);c.rect(k,t,m,r);c.fill()};mxCellRenderer.registerShape("waypoint",
-f);mxUtils.extend(h,mxActor);h.prototype.size=20;h.prototype.redrawPath=function(c,k,t,m,r){k=Math.min(m,r/Sa);c.translate((m-k)/2,(r-k)/2+k/4);c.moveTo(0,.25*k);c.lineTo(.5*k,k*La);c.lineTo(k,.25*k);c.lineTo(.5*k,(.5-La)*k);c.lineTo(0,.25*k);c.close();c.end()};mxCellRenderer.registerShape("isoRectangle",h);mxUtils.extend(n,mxCylinder);n.prototype.size=20;n.prototype.redrawPath=function(c,k,t,m,r,v){k=Math.min(m,r/(.5+Sa));v?(c.moveTo(0,.25*k),c.lineTo(.5*k,(.5-La)*k),c.lineTo(k,.25*k),c.moveTo(.5*
-k,(.5-La)*k),c.lineTo(.5*k,(1-La)*k)):(c.translate((m-k)/2,(r-k)/2),c.moveTo(0,.25*k),c.lineTo(.5*k,k*La),c.lineTo(k,.25*k),c.lineTo(k,.75*k),c.lineTo(.5*k,(1-La)*k),c.lineTo(0,.75*k),c.close());c.end()};mxCellRenderer.registerShape("isoCube",n);mxUtils.extend(q,mxCylinder);q.prototype.redrawPath=function(c,k,t,m,r,v){k=Math.min(r/2,Math.round(r/8)+this.strokewidth-1);if(v&&null!=this.fill||!v&&null==this.fill)c.moveTo(0,k),c.curveTo(0,2*k,m,2*k,m,k),v||(c.stroke(),c.begin()),c.translate(0,k/2),c.moveTo(0,
-k),c.curveTo(0,2*k,m,2*k,m,k),v||(c.stroke(),c.begin()),c.translate(0,k/2),c.moveTo(0,k),c.curveTo(0,2*k,m,2*k,m,k),v||(c.stroke(),c.begin()),c.translate(0,-k);v||(c.moveTo(0,k),c.curveTo(0,-k/3,m,-k/3,m,k),c.lineTo(m,r-k),c.curveTo(m,r+k/3,0,r+k/3,0,r-k),c.close())};q.prototype.getLabelMargins=function(c){return new mxRectangle(0,2.5*Math.min(c.height/2,Math.round(c.height/8)+this.strokewidth-1),0,0)};mxCellRenderer.registerShape("datastore",q);mxUtils.extend(l,mxCylinder);l.prototype.size=30;l.prototype.darkOpacity=
-0;l.prototype.paintVertexShape=function(c,k,t,m,r){var v=Math.max(0,Math.min(m,Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size))))),x=Math.max(-1,Math.min(1,parseFloat(mxUtils.getValue(this.style,"darkOpacity",this.darkOpacity))));c.translate(k,t);c.begin();c.moveTo(0,0);c.lineTo(m-v,0);c.lineTo(m,v);c.lineTo(m,r);c.lineTo(0,r);c.lineTo(0,0);c.close();c.end();c.fillAndStroke();this.outline||(c.setShadow(!1),0!=x&&(c.setFillAlpha(Math.abs(x)),c.setFillColor(0>x?"#FFFFFF":"#000000"),
-c.begin(),c.moveTo(m-v,0),c.lineTo(m-v,v),c.lineTo(m,v),c.close(),c.fill()),c.begin(),c.moveTo(m-v,0),c.lineTo(m-v,v),c.lineTo(m,v),c.end(),c.stroke())};mxCellRenderer.registerShape("note",l);mxUtils.extend(p,l);mxCellRenderer.registerShape("note2",p);p.prototype.getLabelMargins=function(c){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var k=mxUtils.getValue(this.style,"size",15);return new mxRectangle(0,Math.min(c.height*this.scale,k*this.scale),0,0)}return null};mxUtils.extend(w,mxShape);w.prototype.isoAngle=
-15;w.prototype.paintVertexShape=function(c,k,t,m,r){var v=Math.max(.01,Math.min(94,parseFloat(mxUtils.getValue(this.style,"isoAngle",this.isoAngle))))*Math.PI/200;v=Math.min(m*Math.tan(v),.5*r);c.translate(k,t);c.begin();c.moveTo(.5*m,0);c.lineTo(m,v);c.lineTo(m,r-v);c.lineTo(.5*m,r);c.lineTo(0,r-v);c.lineTo(0,v);c.close();c.fillAndStroke();c.setShadow(!1);c.begin();c.moveTo(0,v);c.lineTo(.5*m,2*v);c.lineTo(m,v);c.moveTo(.5*m,2*v);c.lineTo(.5*m,r);c.stroke()};mxCellRenderer.registerShape("isoCube2",
-w);mxUtils.extend(z,mxShape);z.prototype.size=15;z.prototype.paintVertexShape=function(c,k,t,m,r){var v=Math.max(0,Math.min(.5*r,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c.translate(k,t);0==v?(c.rect(0,0,m,r),c.fillAndStroke()):(c.begin(),c.moveTo(0,v),c.arcTo(.5*m,v,0,0,1,.5*m,0),c.arcTo(.5*m,v,0,0,1,m,v),c.lineTo(m,r-v),c.arcTo(.5*m,v,0,0,1,.5*m,r),c.arcTo(.5*m,v,0,0,1,0,r-v),c.close(),c.fillAndStroke(),c.setShadow(!1),c.begin(),c.moveTo(m,v),c.arcTo(.5*m,v,0,0,1,.5*m,2*v),c.arcTo(.5*
-m,v,0,0,1,0,v),c.stroke())};mxCellRenderer.registerShape("cylinder2",z);mxUtils.extend(C,mxCylinder);C.prototype.size=15;C.prototype.paintVertexShape=function(c,k,t,m,r){var v=Math.max(0,Math.min(.5*r,parseFloat(mxUtils.getValue(this.style,"size",this.size)))),x=mxUtils.getValue(this.style,"lid",!0);c.translate(k,t);0==v?(c.rect(0,0,m,r),c.fillAndStroke()):(c.begin(),x?(c.moveTo(0,v),c.arcTo(.5*m,v,0,0,1,.5*m,0),c.arcTo(.5*m,v,0,0,1,m,v)):(c.moveTo(0,0),c.arcTo(.5*m,v,0,0,0,.5*m,v),c.arcTo(.5*m,v,
-0,0,0,m,0)),c.lineTo(m,r-v),c.arcTo(.5*m,v,0,0,1,.5*m,r),c.arcTo(.5*m,v,0,0,1,0,r-v),c.close(),c.fillAndStroke(),c.setShadow(!1),x&&(c.begin(),c.moveTo(m,v),c.arcTo(.5*m,v,0,0,1,.5*m,2*v),c.arcTo(.5*m,v,0,0,1,0,v),c.stroke()))};mxCellRenderer.registerShape("cylinder3",C);mxUtils.extend(F,mxActor);F.prototype.redrawPath=function(c,k,t,m,r){c.moveTo(0,0);c.quadTo(m/2,.5*r,m,0);c.quadTo(.5*m,r/2,m,r);c.quadTo(m/2,.5*r,0,r);c.quadTo(.5*m,r/2,0,0);c.end()};mxCellRenderer.registerShape("switch",F);mxUtils.extend(D,
-mxCylinder);D.prototype.tabWidth=60;D.prototype.tabHeight=20;D.prototype.tabPosition="right";D.prototype.arcSize=.1;D.prototype.paintVertexShape=function(c,k,t,m,r){c.translate(k,t);k=Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,"tabWidth",this.tabWidth))));t=Math.max(0,Math.min(r,parseFloat(mxUtils.getValue(this.style,"tabHeight",this.tabHeight))));var v=mxUtils.getValue(this.style,"tabPosition",this.tabPosition),x=mxUtils.getValue(this.style,"rounded",!1),J=mxUtils.getValue(this.style,
-"absoluteArcSize",!1),y=parseFloat(mxUtils.getValue(this.style,"arcSize",this.arcSize));J||(y*=Math.min(m,r));y=Math.min(y,.5*m,.5*(r-t));k=Math.max(k,y);k=Math.min(m-y,k);x||(y=0);c.begin();"left"==v?(c.moveTo(Math.max(y,0),t),c.lineTo(Math.max(y,0),0),c.lineTo(k,0),c.lineTo(k,t)):(c.moveTo(m-k,t),c.lineTo(m-k,0),c.lineTo(m-Math.max(y,0),0),c.lineTo(m-Math.max(y,0),t));x?(c.moveTo(0,y+t),c.arcTo(y,y,0,0,1,y,t),c.lineTo(m-y,t),c.arcTo(y,y,0,0,1,m,y+t),c.lineTo(m,r-y),c.arcTo(y,y,0,0,1,m-y,r),c.lineTo(y,
-r),c.arcTo(y,y,0,0,1,0,r-y)):(c.moveTo(0,t),c.lineTo(m,t),c.lineTo(m,r),c.lineTo(0,r));c.close();c.fillAndStroke();c.setShadow(!1);"triangle"==mxUtils.getValue(this.style,"folderSymbol",null)&&(c.begin(),c.moveTo(m-30,t+20),c.lineTo(m-20,t+10),c.lineTo(m-10,t+20),c.close(),c.stroke())};mxCellRenderer.registerShape("folder",D);D.prototype.getLabelMargins=function(c){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var k=mxUtils.getValue(this.style,"tabHeight",15)*this.scale;if(mxUtils.getValue(this.style,
-"labelInHeader",!1)){var t=mxUtils.getValue(this.style,"tabWidth",15)*this.scale;k=mxUtils.getValue(this.style,"tabHeight",15)*this.scale;var m=mxUtils.getValue(this.style,"rounded",!1),r=mxUtils.getValue(this.style,"absoluteArcSize",!1),v=parseFloat(mxUtils.getValue(this.style,"arcSize",this.arcSize));r||(v*=Math.min(c.width,c.height));v=Math.min(v,.5*c.width,.5*(c.height-k));m||(v=0);return"left"==mxUtils.getValue(this.style,"tabPosition",this.tabPosition)?new mxRectangle(v,0,Math.min(c.width,c.width-
-t),Math.min(c.height,c.height-k)):new mxRectangle(Math.min(c.width,c.width-t),0,v,Math.min(c.height,c.height-k))}return new mxRectangle(0,Math.min(c.height,k),0,0)}return null};mxUtils.extend(G,mxCylinder);G.prototype.arcSize=.1;G.prototype.paintVertexShape=function(c,k,t,m,r){c.translate(k,t);var v=mxUtils.getValue(this.style,"rounded",!1),x=mxUtils.getValue(this.style,"absoluteArcSize",!1);k=parseFloat(mxUtils.getValue(this.style,"arcSize",this.arcSize));t=mxUtils.getValue(this.style,"umlStateConnection",
-null);x||(k*=Math.min(m,r));k=Math.min(k,.5*m,.5*r);v||(k=0);v=0;null!=t&&(v=10);c.begin();c.moveTo(v,k);c.arcTo(k,k,0,0,1,v+k,0);c.lineTo(m-k,0);c.arcTo(k,k,0,0,1,m,k);c.lineTo(m,r-k);c.arcTo(k,k,0,0,1,m-k,r);c.lineTo(v+k,r);c.arcTo(k,k,0,0,1,v,r-k);c.close();c.fillAndStroke();c.setShadow(!1);"collapseState"==mxUtils.getValue(this.style,"umlStateSymbol",null)&&(c.roundrect(m-40,r-20,10,10,3,3),c.stroke(),c.roundrect(m-20,r-20,10,10,3,3),c.stroke(),c.begin(),c.moveTo(m-30,r-15),c.lineTo(m-20,r-15),
-c.stroke());"connPointRefEntry"==t?(c.ellipse(0,.5*r-10,20,20),c.fillAndStroke()):"connPointRefExit"==t&&(c.ellipse(0,.5*r-10,20,20),c.fillAndStroke(),c.begin(),c.moveTo(5,.5*r-5),c.lineTo(15,.5*r+5),c.moveTo(15,.5*r-5),c.lineTo(5,.5*r+5),c.stroke())};G.prototype.getLabelMargins=function(c){return mxUtils.getValue(this.style,"boundedLbl",!1)&&null!=mxUtils.getValue(this.style,"umlStateConnection",null)?new mxRectangle(10*this.scale,0,0,0):null};mxCellRenderer.registerShape("umlState",G);mxUtils.extend(K,
-mxActor);K.prototype.size=30;K.prototype.isRoundable=function(){return!0};K.prototype.redrawPath=function(c,k,t,m,r){k=Math.max(0,Math.min(m,Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size)))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(k,0),new mxPoint(m,0),new mxPoint(m,r),new mxPoint(0,r),new mxPoint(0,k)],this.isRounded,t,!0);c.end()};mxCellRenderer.registerShape("card",K);mxUtils.extend(I,mxActor);I.prototype.size=
-.4;I.prototype.redrawPath=function(c,k,t,m,r){k=r*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c.moveTo(0,k/2);c.quadTo(m/4,1.4*k,m/2,k/2);c.quadTo(3*m/4,k*(1-1.4),m,k/2);c.lineTo(m,r-k/2);c.quadTo(3*m/4,r-1.4*k,m/2,r-k/2);c.quadTo(m/4,r-k*(1-1.4),0,r-k/2);c.lineTo(0,k/2);c.close();c.end()};I.prototype.getLabelBounds=function(c){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var k=mxUtils.getValue(this.style,"size",this.size),t=c.width,m=c.height;if(null==this.direction||
-this.direction==mxConstants.DIRECTION_EAST||this.direction==mxConstants.DIRECTION_WEST)return k*=m,new mxRectangle(c.x,c.y+k,t,m-2*k);k*=t;return new mxRectangle(c.x+k,c.y,t-2*k,m)}return c};mxCellRenderer.registerShape("tape",I);mxUtils.extend(O,mxActor);O.prototype.size=.3;O.prototype.getLabelMargins=function(c){return mxUtils.getValue(this.style,"boundedLbl",!1)?new mxRectangle(0,0,0,parseFloat(mxUtils.getValue(this.style,"size",this.size))*c.height):null};O.prototype.redrawPath=function(c,k,t,
-m,r){k=r*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c.moveTo(0,0);c.lineTo(m,0);c.lineTo(m,r-k/2);c.quadTo(3*m/4,r-1.4*k,m/2,r-k/2);c.quadTo(m/4,r-k*(1-1.4),0,r-k/2);c.lineTo(0,k/2);c.close();c.end()};mxCellRenderer.registerShape("document",O);var Xa=mxCylinder.prototype.getCylinderSize;mxCylinder.prototype.getCylinderSize=function(c,k,t,m){var r=mxUtils.getValue(this.style,"size");return null!=r?m*Math.max(0,Math.min(1,r)):Xa.apply(this,arguments)};mxCylinder.prototype.getLabelMargins=
-function(c){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var k=2*mxUtils.getValue(this.style,"size",.15);return new mxRectangle(0,Math.min(this.maxHeight*this.scale,c.height*k),0,0)}return null};C.prototype.getLabelMargins=function(c){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var k=mxUtils.getValue(this.style,"size",15);mxUtils.getValue(this.style,"lid",!0)||(k/=2);return new mxRectangle(0,Math.min(c.height*this.scale,2*k*this.scale),0,Math.max(0,.3*k*this.scale))}return null};D.prototype.getLabelMargins=
-function(c){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var k=mxUtils.getValue(this.style,"tabHeight",15)*this.scale;if(mxUtils.getValue(this.style,"labelInHeader",!1)){var t=mxUtils.getValue(this.style,"tabWidth",15)*this.scale;k=mxUtils.getValue(this.style,"tabHeight",15)*this.scale;var m=mxUtils.getValue(this.style,"rounded",!1),r=mxUtils.getValue(this.style,"absoluteArcSize",!1),v=parseFloat(mxUtils.getValue(this.style,"arcSize",this.arcSize));r||(v*=Math.min(c.width,c.height));v=Math.min(v,
-.5*c.width,.5*(c.height-k));m||(v=0);return"left"==mxUtils.getValue(this.style,"tabPosition",this.tabPosition)?new mxRectangle(v,0,Math.min(c.width,c.width-t),Math.min(c.height,c.height-k)):new mxRectangle(Math.min(c.width,c.width-t),0,v,Math.min(c.height,c.height-k))}return new mxRectangle(0,Math.min(c.height,k),0,0)}return null};G.prototype.getLabelMargins=function(c){return mxUtils.getValue(this.style,"boundedLbl",!1)&&null!=mxUtils.getValue(this.style,"umlStateConnection",null)?new mxRectangle(10*
-this.scale,0,0,0):null};p.prototype.getLabelMargins=function(c){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var k=mxUtils.getValue(this.style,"size",15);return new mxRectangle(0,Math.min(c.height*this.scale,k*this.scale),0,Math.max(0,k*this.scale))}return null};mxUtils.extend(H,mxActor);H.prototype.size=.2;H.prototype.fixedSize=20;H.prototype.isRoundable=function(){return!0};H.prototype.redrawPath=function(c,k,t,m,r){k="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,
-"size",this.fixedSize)))):m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,r),new mxPoint(k,0),new mxPoint(m,0),new mxPoint(m-k,r)],this.isRounded,t,!0);c.end()};mxCellRenderer.registerShape("parallelogram",H);mxUtils.extend(Z,mxActor);Z.prototype.size=.2;Z.prototype.fixedSize=20;Z.prototype.isRoundable=function(){return!0};Z.prototype.redrawPath=function(c,
-k,t,m,r){k="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(.5*m,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize)))):m*Math.max(0,Math.min(.5,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,r),new mxPoint(k,0),new mxPoint(m-k,0),new mxPoint(m,r)],this.isRounded,t,!0)};mxCellRenderer.registerShape("trapezoid",Z);mxUtils.extend(S,mxActor);
-S.prototype.size=.5;S.prototype.redrawPath=function(c,k,t,m,r){c.setFillColor(null);k=m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(m,0),new mxPoint(k,0),new mxPoint(k,r/2),new mxPoint(0,r/2),new mxPoint(k,r/2),new mxPoint(k,r),new mxPoint(m,r)],this.isRounded,t,!1);c.end()};mxCellRenderer.registerShape("curlyBracket",S);mxUtils.extend(X,mxActor);
-X.prototype.redrawPath=function(c,k,t,m,r){c.setStrokeWidth(1);c.setFillColor(this.stroke);k=m/5;c.rect(0,0,k,r);c.fillAndStroke();c.rect(2*k,0,k,r);c.fillAndStroke();c.rect(4*k,0,k,r);c.fillAndStroke()};mxCellRenderer.registerShape("parallelMarker",X);Y.prototype.moveTo=function(c,k){this.originalMoveTo.apply(this.canvas,arguments);this.lastX=c;this.lastY=k;this.firstX=c;this.firstY=k};Y.prototype.close=function(){null!=this.firstX&&null!=this.firstY&&(this.lineTo(this.firstX,this.firstY),this.originalClose.apply(this.canvas,
-arguments));this.originalClose.apply(this.canvas,arguments)};Y.prototype.quadTo=function(c,k,t,m){this.originalQuadTo.apply(this.canvas,arguments);this.lastX=t;this.lastY=m};Y.prototype.curveTo=function(c,k,t,m,r,v){this.originalCurveTo.apply(this.canvas,arguments);this.lastX=r;this.lastY=v};Y.prototype.arcTo=function(c,k,t,m,r,v,x){this.originalArcTo.apply(this.canvas,arguments);this.lastX=v;this.lastY=x};Y.prototype.lineTo=function(c,k){if(null!=this.lastX&&null!=this.lastY){var t=function(R){return"number"===
-typeof R?R?0>R?-1:1:R===R?0:NaN:NaN},m=Math.abs(c-this.lastX),r=Math.abs(k-this.lastY),v=Math.sqrt(m*m+r*r);if(2>v){this.originalLineTo.apply(this.canvas,arguments);this.lastX=c;this.lastY=k;return}var x=Math.round(v/10),J=this.defaultVariation;5>x&&(x=5,J/=3);var y=t(c-this.lastX)*m/x;t=t(k-this.lastY)*r/x;m/=v;r/=v;for(v=0;v<x;v++){var aa=(Math.random()-.5)*J;this.originalLineTo.call(this.canvas,y*v+this.lastX-aa*r,t*v+this.lastY-aa*m)}this.originalLineTo.call(this.canvas,c,k)}else this.originalLineTo.apply(this.canvas,
-arguments);this.lastX=c;this.lastY=k};Y.prototype.destroy=function(){this.canvas.lineTo=this.originalLineTo;this.canvas.moveTo=this.originalMoveTo;this.canvas.close=this.originalClose;this.canvas.quadTo=this.originalQuadTo;this.canvas.curveTo=this.originalCurveTo;this.canvas.arcTo=this.originalArcTo};var Za=mxShape.prototype.beforePaint;mxShape.prototype.beforePaint=function(c){Za.apply(this,arguments);null==c.handJiggle&&(c.handJiggle=this.createHandJiggle(c))};var bb=mxShape.prototype.afterPaint;
-mxShape.prototype.afterPaint=function(c){bb.apply(this,arguments);null!=c.handJiggle&&(c.handJiggle.destroy(),delete c.handJiggle)};mxShape.prototype.createComicCanvas=function(c){return new Y(c,mxUtils.getValue(this.style,"jiggle",Editor.sketchDefaultJiggle))};mxShape.prototype.createHandJiggle=function(c){return this.outline||null==this.style||"0"==mxUtils.getValue(this.style,"comic","0")?null:this.createComicCanvas(c)};var jb=mxRectangleShape.prototype.isHtmlAllowed;mxRectangleShape.prototype.isHtmlAllowed=
-function(){return!this.outline&&(null==this.style||"0"==mxUtils.getValue(this.style,"comic","0")&&"0"==mxUtils.getValue(this.style,"sketch","1"==urlParams.rough?"1":"0"))&&jb.apply(this,arguments)};var mb=mxRectangleShape.prototype.paintBackground;mxRectangleShape.prototype.paintBackground=function(c,k,t,m,r){if(null==c.handJiggle||c.handJiggle.constructor!=Y)mb.apply(this,arguments);else{var v=!0;null!=this.style&&(v="1"==mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1"));if(v||null!=
-this.fill&&this.fill!=mxConstants.NONE||null!=this.stroke&&this.stroke!=mxConstants.NONE)v||null!=this.fill&&this.fill!=mxConstants.NONE||(c.pointerEvents=!1),c.begin(),this.isRounded?("1"==mxUtils.getValue(this.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,0)?v=Math.min(m/2,Math.min(r/2,mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2)):(v=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100,v=Math.min(m*v,r*v)),c.moveTo(k+
-v,t),c.lineTo(k+m-v,t),c.quadTo(k+m,t,k+m,t+v),c.lineTo(k+m,t+r-v),c.quadTo(k+m,t+r,k+m-v,t+r),c.lineTo(k+v,t+r),c.quadTo(k,t+r,k,t+r-v),c.lineTo(k,t+v),c.quadTo(k,t,k+v,t)):(c.moveTo(k,t),c.lineTo(k+m,t),c.lineTo(k+m,t+r),c.lineTo(k,t+r),c.lineTo(k,t)),c.close(),c.end(),c.fillAndStroke()}};mxUtils.extend(M,mxRectangleShape);M.prototype.size=.1;M.prototype.fixedSize=!1;M.prototype.isHtmlAllowed=function(){return!1};M.prototype.getLabelBounds=function(c){if(mxUtils.getValue(this.state.style,mxConstants.STYLE_HORIZONTAL,
-!0)==(null==this.direction||this.direction==mxConstants.DIRECTION_EAST||this.direction==mxConstants.DIRECTION_WEST)){var k=c.width,t=c.height;c=new mxRectangle(c.x,c.y,k,t);var m=k*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));if(this.isRounded){var r=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100;m=Math.max(m,Math.min(k*r,t*r))}c.x+=Math.round(m);c.width-=Math.round(2*m);return c}return c};M.prototype.paintForeground=
-function(c,k,t,m,r){var v=mxUtils.getValue(this.style,"fixedSize",this.fixedSize),x=parseFloat(mxUtils.getValue(this.style,"size",this.size));x=v?Math.max(0,Math.min(m,x)):m*Math.max(0,Math.min(1,x));this.isRounded&&(v=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100,x=Math.max(x,Math.min(m*v,r*v)));x=Math.round(x);c.begin();c.moveTo(k+x,t);c.lineTo(k+x,t+r);c.moveTo(k+m-x,t);c.lineTo(k+m-x,t+r);c.end();c.stroke();mxRectangleShape.prototype.paintForeground.apply(this,
-arguments)};mxCellRenderer.registerShape("process",M);mxCellRenderer.registerShape("process2",M);mxUtils.extend(U,mxRectangleShape);U.prototype.paintBackground=function(c,k,t,m,r){c.setFillColor(mxConstants.NONE);c.rect(k,t,m,r);c.fill()};U.prototype.paintForeground=function(c,k,t,m,r){};mxCellRenderer.registerShape("transparent",U);mxUtils.extend(ba,mxHexagon);ba.prototype.size=30;ba.prototype.position=.5;ba.prototype.position2=.5;ba.prototype.base=20;ba.prototype.getLabelMargins=function(){return new mxRectangle(0,
-0,0,parseFloat(mxUtils.getValue(this.style,"size",this.size))*this.scale)};ba.prototype.isRoundable=function(){return!0};ba.prototype.redrawPath=function(c,k,t,m,r){k=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;t=Math.max(0,Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size))));var v=m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"position",this.position)))),x=m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"position2",
-this.position2)))),J=Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,"base",this.base))));this.addPoints(c,[new mxPoint(0,0),new mxPoint(m,0),new mxPoint(m,r-t),new mxPoint(Math.min(m,v+J),r-t),new mxPoint(x,r),new mxPoint(Math.max(0,v),r-t),new mxPoint(0,r-t)],this.isRounded,k,!0,[4])};mxCellRenderer.registerShape("callout",ba);mxUtils.extend(ja,mxActor);ja.prototype.size=.2;ja.prototype.fixedSize=20;ja.prototype.isRoundable=function(){return!0};ja.prototype.redrawPath=function(c,k,
-t,m,r){k="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize)))):m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,0),new mxPoint(m-k,0),new mxPoint(m,r/2),new mxPoint(m-k,r),new mxPoint(0,r),new mxPoint(k,r/2)],this.isRounded,t,!0);c.end()};mxCellRenderer.registerShape("step",
-ja);mxUtils.extend(pa,mxHexagon);pa.prototype.size=.25;pa.prototype.fixedSize=20;pa.prototype.isRoundable=function(){return!0};pa.prototype.redrawPath=function(c,k,t,m,r){k="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(.5*m,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize)))):m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(k,
-0),new mxPoint(m-k,0),new mxPoint(m,.5*r),new mxPoint(m-k,r),new mxPoint(k,r),new mxPoint(0,.5*r)],this.isRounded,t,!0)};mxCellRenderer.registerShape("hexagon",pa);mxUtils.extend(P,mxRectangleShape);P.prototype.isHtmlAllowed=function(){return!1};P.prototype.paintForeground=function(c,k,t,m,r){var v=Math.min(m/5,r/5)+1;c.begin();c.moveTo(k+m/2,t+v);c.lineTo(k+m/2,t+r-v);c.moveTo(k+v,t+r/2);c.lineTo(k+m-v,t+r/2);c.end();c.stroke();mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxCellRenderer.registerShape("plus",
-P);var sb=mxRhombus.prototype.paintVertexShape;mxRhombus.prototype.getLabelBounds=function(c){if(1==this.style["double"]){var k=(2*Math.max(2,this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||0))*this.scale;return new mxRectangle(c.x+k,c.y+k,c.width-2*k,c.height-2*k)}return c};mxRhombus.prototype.paintVertexShape=function(c,k,t,m,r){sb.apply(this,arguments);if(!this.outline&&1==this.style["double"]){var v=2*Math.max(2,this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||
-0);k+=v;t+=v;m-=2*v;r-=2*v;0<m&&0<r&&(c.setShadow(!1),sb.apply(this,[c,k,t,m,r]))}};mxUtils.extend(W,mxRectangleShape);W.prototype.isHtmlAllowed=function(){return!1};W.prototype.getLabelBounds=function(c){if(1==this.style["double"]){var k=(Math.max(2,this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||0))*this.scale;return new mxRectangle(c.x+k,c.y+k,c.width-2*k,c.height-2*k)}return c};W.prototype.paintForeground=function(c,k,t,m,r){if(null!=this.style){if(!this.outline&&1==this.style["double"]){var v=
-Math.max(2,this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||0);k+=v;t+=v;m-=2*v;r-=2*v;0<m&&0<r&&mxRectangleShape.prototype.paintBackground.apply(this,arguments)}c.setDashed(!1);v=0;do{var x=mxCellRenderer.defaultShapes[this.style["symbol"+v]];if(null!=x){var J=this.style["symbol"+v+"Align"],y=this.style["symbol"+v+"VerticalAlign"],aa=this.style["symbol"+v+"Width"],R=this.style["symbol"+v+"Height"],Ha=this.style["symbol"+v+"Spacing"]||0,Wa=this.style["symbol"+v+"VSpacing"]||Ha,
-Qa=this.style["symbol"+v+"ArcSpacing"];null!=Qa&&(Qa*=this.getArcSize(m+this.strokewidth,r+this.strokewidth),Ha+=Qa,Wa+=Qa);Qa=k;var ka=t;Qa=J==mxConstants.ALIGN_CENTER?Qa+(m-aa)/2:J==mxConstants.ALIGN_RIGHT?Qa+(m-aa-Ha):Qa+Ha;ka=y==mxConstants.ALIGN_MIDDLE?ka+(r-R)/2:y==mxConstants.ALIGN_BOTTOM?ka+(r-R-Wa):ka+Wa;c.save();J=new x;J.style=this.style;x.prototype.paintVertexShape.call(J,c,Qa,ka,aa,R);c.restore()}v++}while(null!=x)}mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxCellRenderer.registerShape("ext",
-W);mxUtils.extend(V,mxCylinder);V.prototype.redrawPath=function(c,k,t,m,r,v){v?(c.moveTo(0,0),c.lineTo(m/2,r/2),c.lineTo(m,0),c.end()):(c.moveTo(0,0),c.lineTo(m,0),c.lineTo(m,r),c.lineTo(0,r),c.close())};mxCellRenderer.registerShape("message",V);mxUtils.extend(ca,mxShape);ca.prototype.paintBackground=function(c,k,t,m,r){c.translate(k,t);c.ellipse(m/4,0,m/2,r/4);c.fillAndStroke();c.begin();c.moveTo(m/2,r/4);c.lineTo(m/2,2*r/3);c.moveTo(m/2,r/3);c.lineTo(0,r/3);c.moveTo(m/2,r/3);c.lineTo(m,r/3);c.moveTo(m/
-2,2*r/3);c.lineTo(0,r);c.moveTo(m/2,2*r/3);c.lineTo(m,r);c.end();c.stroke()};mxCellRenderer.registerShape("umlActor",ca);mxUtils.extend(ra,mxShape);ra.prototype.getLabelMargins=function(c){return new mxRectangle(c.width/6,0,0,0)};ra.prototype.paintBackground=function(c,k,t,m,r){c.translate(k,t);c.begin();c.moveTo(0,r/4);c.lineTo(0,3*r/4);c.end();c.stroke();c.begin();c.moveTo(0,r/2);c.lineTo(m/6,r/2);c.end();c.stroke();c.ellipse(m/6,0,5*m/6,r);c.fillAndStroke()};mxCellRenderer.registerShape("umlBoundary",
-ra);mxUtils.extend(oa,mxEllipse);oa.prototype.paintVertexShape=function(c,k,t,m,r){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.begin();c.moveTo(k+m/8,t+r);c.lineTo(k+7*m/8,t+r);c.end();c.stroke()};mxCellRenderer.registerShape("umlEntity",oa);mxUtils.extend(L,mxShape);L.prototype.paintVertexShape=function(c,k,t,m,r){c.translate(k,t);c.begin();c.moveTo(m,0);c.lineTo(0,r);c.moveTo(0,0);c.lineTo(m,r);c.end();c.stroke()};mxCellRenderer.registerShape("umlDestroy",L);mxUtils.extend(ea,mxShape);
-ea.prototype.getLabelBounds=function(c){return new mxRectangle(c.x,c.y+c.height/8,c.width,7*c.height/8)};ea.prototype.paintBackground=function(c,k,t,m,r){c.translate(k,t);c.begin();c.moveTo(3*m/8,r/8*1.1);c.lineTo(5*m/8,0);c.end();c.stroke();c.ellipse(0,r/8,m,7*r/8);c.fillAndStroke()};ea.prototype.paintForeground=function(c,k,t,m,r){c.begin();c.moveTo(3*m/8,r/8*1.1);c.lineTo(5*m/8,r/4);c.end();c.stroke()};mxCellRenderer.registerShape("umlControl",ea);mxUtils.extend(sa,mxRectangleShape);sa.prototype.size=
-40;sa.prototype.isHtmlAllowed=function(){return!1};sa.prototype.getLabelBounds=function(c){var k=Math.max(0,Math.min(c.height,parseFloat(mxUtils.getValue(this.style,"size",this.size))*this.scale));return new mxRectangle(c.x,c.y,c.width,k)};sa.prototype.paintBackground=function(c,k,t,m,r){var v=Math.max(0,Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size)))),x=mxUtils.getValue(this.style,"participant");null==x||null==this.state?mxRectangleShape.prototype.paintBackground.call(this,
-c,k,t,m,v):(x=this.state.view.graph.cellRenderer.getShape(x),null!=x&&x!=sa&&(x=new x,x.apply(this.state),c.save(),x.paintVertexShape(c,k,t,m,v),c.restore()));v<r&&(c.setDashed("1"==mxUtils.getValue(this.style,"lifelineDashed","1")),c.begin(),c.moveTo(k+m/2,t+v),c.lineTo(k+m/2,t+r),c.end(),c.stroke())};sa.prototype.paintForeground=function(c,k,t,m,r){var v=Math.max(0,Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size))));mxRectangleShape.prototype.paintForeground.call(this,c,k,t,m,
-Math.min(r,v))};mxCellRenderer.registerShape("umlLifeline",sa);mxUtils.extend(va,mxShape);va.prototype.width=60;va.prototype.height=30;va.prototype.corner=10;va.prototype.configurePointerEvents=function(c){var k=mxUtils.getValue(this.style,mxConstants.STYLE_SWIMLANE_FILLCOLOR,mxConstants.NONE);null==this.style||null!=k&&k!=mxConstants.NONE&&0!=this.opacity&&0!=this.fillOpacity||"0"!=mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1")||(c.pointerEvents=!1)};va.prototype.getLabelMargins=
-function(c){return new mxRectangle(0,0,c.width-parseFloat(mxUtils.getValue(this.style,"width",this.width)*this.scale),c.height-parseFloat(mxUtils.getValue(this.style,"height",this.height)*this.scale))};va.prototype.paintBackground=function(c,k,t,m,r){var v=this.corner,x=Math.min(m,Math.max(v,parseFloat(mxUtils.getValue(this.style,"width",this.width)))),J=Math.min(r,Math.max(1.5*v,parseFloat(mxUtils.getValue(this.style,"height",this.height)))),y=mxUtils.getValue(this.style,mxConstants.STYLE_SWIMLANE_FILLCOLOR,
-mxConstants.NONE);y!=mxConstants.NONE&&(c.setFillColor(y),c.rect(k,t,m,r),c.fill());null!=this.fill&&this.fill!=mxConstants.NONE&&this.gradient&&this.gradient!=mxConstants.NONE?(this.getGradientBounds(c,k,t,m,r),c.setGradient(this.fill,this.gradient,k,t,m,r,this.gradientDirection)):c.setFillColor(this.fill);c.pointerEvents=!0;c.begin();c.moveTo(k,t);c.lineTo(k+x,t);c.lineTo(k+x,t+Math.max(0,J-1.5*v));c.lineTo(k+Math.max(0,x-v),t+J);c.lineTo(k,t+J);c.close();c.fillAndStroke();this.configurePointerEvents(c);
-c.begin();c.moveTo(k+x,t);c.lineTo(k+m,t);c.lineTo(k+m,t+r);c.lineTo(k,t+r);c.lineTo(k,t+J);c.stroke()};mxCellRenderer.registerShape("umlFrame",va);mxPerimeter.CenterPerimeter=function(c,k,t,m){return new mxPoint(c.getCenterX(),c.getCenterY())};mxStyleRegistry.putValue("centerPerimeter",mxPerimeter.CenterPerimeter);mxPerimeter.LifelinePerimeter=function(c,k,t,m){m=sa.prototype.size;null!=k&&(m=mxUtils.getValue(k.style,"size",m)*k.view.scale);k=parseFloat(k.style[mxConstants.STYLE_STROKEWIDTH]||1)*
-k.view.scale/2-1;t.x<c.getCenterX()&&(k=-1*(k+1));return new mxPoint(c.getCenterX()+k,Math.min(c.y+c.height,Math.max(c.y+m,t.y)))};mxStyleRegistry.putValue("lifelinePerimeter",mxPerimeter.LifelinePerimeter);mxPerimeter.OrthogonalPerimeter=function(c,k,t,m){m=!0;return mxPerimeter.RectanglePerimeter.apply(this,arguments)};mxStyleRegistry.putValue("orthogonalPerimeter",mxPerimeter.OrthogonalPerimeter);mxPerimeter.BackbonePerimeter=function(c,k,t,m){m=parseFloat(k.style[mxConstants.STYLE_STROKEWIDTH]||
-1)*k.view.scale/2-1;null!=k.style.backboneSize&&(m+=parseFloat(k.style.backboneSize)*k.view.scale/2-1);if("south"==k.style[mxConstants.STYLE_DIRECTION]||"north"==k.style[mxConstants.STYLE_DIRECTION])return t.x<c.getCenterX()&&(m=-1*(m+1)),new mxPoint(c.getCenterX()+m,Math.min(c.y+c.height,Math.max(c.y,t.y)));t.y<c.getCenterY()&&(m=-1*(m+1));return new mxPoint(Math.min(c.x+c.width,Math.max(c.x,t.x)),c.getCenterY()+m)};mxStyleRegistry.putValue("backbonePerimeter",mxPerimeter.BackbonePerimeter);mxPerimeter.CalloutPerimeter=
-function(c,k,t,m){return mxPerimeter.RectanglePerimeter(mxUtils.getDirectedBounds(c,new mxRectangle(0,0,0,Math.max(0,Math.min(c.height,parseFloat(mxUtils.getValue(k.style,"size",ba.prototype.size))*k.view.scale))),k.style),k,t,m)};mxStyleRegistry.putValue("calloutPerimeter",mxPerimeter.CalloutPerimeter);mxPerimeter.ParallelogramPerimeter=function(c,k,t,m){var r="0"!=mxUtils.getValue(k.style,"fixedSize","0"),v=r?H.prototype.fixedSize:H.prototype.size;null!=k&&(v=mxUtils.getValue(k.style,"size",v));
-r&&(v*=k.view.scale);var x=c.x,J=c.y,y=c.width,aa=c.height;k=null!=k?mxUtils.getValue(k.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;k==mxConstants.DIRECTION_NORTH||k==mxConstants.DIRECTION_SOUTH?(r=r?Math.max(0,Math.min(aa,v)):aa*Math.max(0,Math.min(1,v)),J=[new mxPoint(x,J),new mxPoint(x+y,J+r),new mxPoint(x+y,J+aa),new mxPoint(x,J+aa-r),new mxPoint(x,J)]):(r=r?Math.max(0,Math.min(.5*y,v)):y*Math.max(0,Math.min(1,v)),J=[new mxPoint(x+r,J),new mxPoint(x+
-y,J),new mxPoint(x+y-r,J+aa),new mxPoint(x,J+aa),new mxPoint(x+r,J)]);aa=c.getCenterX();c=c.getCenterY();c=new mxPoint(aa,c);m&&(t.x<x||t.x>x+y?c.y=t.y:c.x=t.x);return mxUtils.getPerimeterPoint(J,c,t)};mxStyleRegistry.putValue("parallelogramPerimeter",mxPerimeter.ParallelogramPerimeter);mxPerimeter.TrapezoidPerimeter=function(c,k,t,m){var r="0"!=mxUtils.getValue(k.style,"fixedSize","0"),v=r?Z.prototype.fixedSize:Z.prototype.size;null!=k&&(v=mxUtils.getValue(k.style,"size",v));r&&(v*=k.view.scale);
-var x=c.x,J=c.y,y=c.width,aa=c.height;k=null!=k?mxUtils.getValue(k.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;k==mxConstants.DIRECTION_EAST?(r=r?Math.max(0,Math.min(.5*y,v)):y*Math.max(0,Math.min(1,v)),J=[new mxPoint(x+r,J),new mxPoint(x+y-r,J),new mxPoint(x+y,J+aa),new mxPoint(x,J+aa),new mxPoint(x+r,J)]):k==mxConstants.DIRECTION_WEST?(r=r?Math.max(0,Math.min(y,v)):y*Math.max(0,Math.min(1,v)),J=[new mxPoint(x,J),new mxPoint(x+y,J),new mxPoint(x+y-r,J+
-aa),new mxPoint(x+r,J+aa),new mxPoint(x,J)]):k==mxConstants.DIRECTION_NORTH?(r=r?Math.max(0,Math.min(aa,v)):aa*Math.max(0,Math.min(1,v)),J=[new mxPoint(x,J+r),new mxPoint(x+y,J),new mxPoint(x+y,J+aa),new mxPoint(x,J+aa-r),new mxPoint(x,J+r)]):(r=r?Math.max(0,Math.min(aa,v)):aa*Math.max(0,Math.min(1,v)),J=[new mxPoint(x,J),new mxPoint(x+y,J+r),new mxPoint(x+y,J+aa-r),new mxPoint(x,J+aa),new mxPoint(x,J)]);aa=c.getCenterX();c=c.getCenterY();c=new mxPoint(aa,c);m&&(t.x<x||t.x>x+y?c.y=t.y:c.x=t.x);return mxUtils.getPerimeterPoint(J,
-c,t)};mxStyleRegistry.putValue("trapezoidPerimeter",mxPerimeter.TrapezoidPerimeter);mxPerimeter.StepPerimeter=function(c,k,t,m){var r="0"!=mxUtils.getValue(k.style,"fixedSize","0"),v=r?ja.prototype.fixedSize:ja.prototype.size;null!=k&&(v=mxUtils.getValue(k.style,"size",v));r&&(v*=k.view.scale);var x=c.x,J=c.y,y=c.width,aa=c.height,R=c.getCenterX();c=c.getCenterY();k=null!=k?mxUtils.getValue(k.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;k==mxConstants.DIRECTION_EAST?
-(r=r?Math.max(0,Math.min(y,v)):y*Math.max(0,Math.min(1,v)),J=[new mxPoint(x,J),new mxPoint(x+y-r,J),new mxPoint(x+y,c),new mxPoint(x+y-r,J+aa),new mxPoint(x,J+aa),new mxPoint(x+r,c),new mxPoint(x,J)]):k==mxConstants.DIRECTION_WEST?(r=r?Math.max(0,Math.min(y,v)):y*Math.max(0,Math.min(1,v)),J=[new mxPoint(x+r,J),new mxPoint(x+y,J),new mxPoint(x+y-r,c),new mxPoint(x+y,J+aa),new mxPoint(x+r,J+aa),new mxPoint(x,c),new mxPoint(x+r,J)]):k==mxConstants.DIRECTION_NORTH?(r=r?Math.max(0,Math.min(aa,v)):aa*Math.max(0,
+DiagramFormatPanel.prototype.addPaperSize=function(a){var b=this.editorUi,e=b.editor.graph;a.appendChild(this.createTitle(mxResources.get("paperSize")));var f=PageSetupDialog.addPageFormatPanel(a,"formatpanel",e.pageFormat,function(d){if(null==e.pageFormat||e.pageFormat.width!=d.width||e.pageFormat.height!=d.height)d=new ChangePageSetup(b,null,null,d),d.ignoreColor=!0,d.ignoreImage=!0,e.model.execute(d)});this.addKeyHandler(f.widthInput,function(){f.set(e.pageFormat)});this.addKeyHandler(f.heightInput,
+function(){f.set(e.pageFormat)});var h=function(){f.set(e.pageFormat)};b.addListener("pageFormatChanged",h);this.listeners.push({destroy:function(){b.removeListener(h)}});e.getModel().addListener(mxEvent.CHANGE,h);this.listeners.push({destroy:function(){e.getModel().removeListener(h)}});return a};DiagramFormatPanel.prototype.addStyleOps=function(a){this.addActions(a,["editData"]);this.addActions(a,["clearDefaultStyle"]);return a};
+DiagramFormatPanel.prototype.destroy=function(){BaseFormatPanel.prototype.destroy.apply(this,arguments);this.gridEnabledListener&&(this.editorUi.removeListener(this.gridEnabledListener),this.gridEnabledListener=null)};(function(){function a(c,l,t){mxShape.call(this);this.line=c;this.stroke=l;this.strokewidth=null!=t?t:1;this.updateBoundsFromLine()}function b(){mxSwimlane.call(this)}function e(){mxSwimlane.call(this)}function f(){mxCylinder.call(this)}function h(){mxConnector.call(this)}function d(){mxCylinder.call(this)}function g(){mxActor.call(this)}function n(){mxCylinder.call(this)}function q(){mxCylinder.call(this)}function k(){mxCylinder.call(this)}function p(){mxCylinder.call(this)}function w(){mxShape.call(this)}
+function z(){mxShape.call(this)}function C(c,l,t,m){mxShape.call(this);this.bounds=c;this.fill=l;this.stroke=t;this.strokewidth=null!=m?m:1}function F(){mxActor.call(this)}function D(){mxCylinder.call(this)}function H(){mxCylinder.call(this)}function K(){mxActor.call(this)}function G(){mxActor.call(this)}function P(){mxActor.call(this)}function I(){mxActor.call(this)}function Z(){mxActor.call(this)}function S(){mxActor.call(this)}function Y(){mxActor.call(this)}function V(c,l){this.canvas=c;this.canvas.setLineJoin("round");
+this.canvas.setLineCap("round");this.defaultVariation=l;this.originalLineTo=this.canvas.lineTo;this.canvas.lineTo=mxUtils.bind(this,V.prototype.lineTo);this.originalMoveTo=this.canvas.moveTo;this.canvas.moveTo=mxUtils.bind(this,V.prototype.moveTo);this.originalClose=this.canvas.close;this.canvas.close=mxUtils.bind(this,V.prototype.close);this.originalQuadTo=this.canvas.quadTo;this.canvas.quadTo=mxUtils.bind(this,V.prototype.quadTo);this.originalCurveTo=this.canvas.curveTo;this.canvas.curveTo=mxUtils.bind(this,
+V.prototype.curveTo);this.originalArcTo=this.canvas.arcTo;this.canvas.arcTo=mxUtils.bind(this,V.prototype.arcTo)}function L(){mxRectangleShape.call(this)}function U(){mxRectangleShape.call(this)}function ba(){mxActor.call(this)}function ja(){mxActor.call(this)}function sa(){mxActor.call(this)}function O(){mxRectangleShape.call(this)}function T(){mxRectangleShape.call(this)}function X(){mxCylinder.call(this)}function ca(){mxShape.call(this)}function na(){mxShape.call(this)}function pa(){mxEllipse.call(this)}
+function M(){mxShape.call(this)}function ea(){mxShape.call(this)}function ra(){mxRectangleShape.call(this)}function ta(){mxShape.call(this)}function Sa(){mxShape.call(this)}function ma(){mxShape.call(this)}function Fa(){mxShape.call(this)}function Ha(){mxShape.call(this)}function Na(){mxCylinder.call(this)}function Qa(){mxCylinder.call(this)}function La(){mxRectangleShape.call(this)}function Ja(){mxDoubleEllipse.call(this)}function ua(){mxDoubleEllipse.call(this)}function Ia(){mxArrowConnector.call(this);
+this.spacing=0}function Za(){mxArrowConnector.call(this);this.spacing=0}function gb(){mxActor.call(this)}function db(){mxRectangleShape.call(this)}function hb(){mxActor.call(this)}function ob(){mxActor.call(this)}function cb(){mxActor.call(this)}function ab(){mxActor.call(this)}function da(){mxActor.call(this)}function wa(){mxActor.call(this)}function u(){mxActor.call(this)}function A(){mxActor.call(this)}function B(){mxActor.call(this)}function E(){mxActor.call(this)}function N(){mxEllipse.call(this)}
+function Q(){mxEllipse.call(this)}function W(){mxEllipse.call(this)}function ha(){mxRhombus.call(this)}function fa(){mxEllipse.call(this)}function ia(){mxEllipse.call(this)}function ya(){mxEllipse.call(this)}function xa(){mxEllipse.call(this)}function Da(){mxActor.call(this)}function Oa(){mxActor.call(this)}function Ma(){mxActor.call(this)}function Aa(c,l,t,m){mxShape.call(this);this.bounds=c;this.fill=l;this.stroke=t;this.strokewidth=null!=m?m:1;this.rectStyle="square";this.size=10;this.absoluteCornerSize=
+!0;this.indent=2;this.rectOutline="single"}function va(){mxConnector.call(this)}function Ya(c,l,t,m,r,v,x,J,y,aa){x+=y;var R=m.clone();m.x-=r*(2*x+y);m.y-=v*(2*x+y);r*=x+y;v*=x+y;return function(){c.ellipse(R.x-r-x,R.y-v-x,2*x,2*x);aa?c.fillAndStroke():c.stroke()}}mxUtils.extend(a,mxShape);a.prototype.updateBoundsFromLine=function(){var c=null;if(null!=this.line)for(var l=0;l<this.line.length;l++){var t=this.line[l];null!=t&&(t=new mxRectangle(t.x,t.y,this.strokewidth,this.strokewidth),null==c?c=
+t:c.add(t))}this.bounds=null!=c?c:new mxRectangle};a.prototype.paintVertexShape=function(c,l,t,m,r){this.paintTableLine(c,this.line,0,0)};a.prototype.paintTableLine=function(c,l,t,m){if(null!=l){var r=null;c.begin();for(var v=0;v<l.length;v++){var x=l[v];null!=x&&(null==r?c.moveTo(x.x+t,x.y+m):null!=r&&c.lineTo(x.x+t,x.y+m));r=x}c.end();c.stroke()}};a.prototype.intersectsRectangle=function(c){var l=!1;if(mxShape.prototype.intersectsRectangle.apply(this,arguments)&&null!=this.line)for(var t=null,m=
+0;m<this.line.length&&!l;m++){var r=this.line[m];null!=r&&null!=t&&(l=mxUtils.rectangleIntersectsSegment(c,t,r));t=r}return l};mxCellRenderer.registerShape("tableLine",a);mxUtils.extend(b,mxSwimlane);b.prototype.getLabelBounds=function(c){return 0==this.getTitleSize()?mxShape.prototype.getLabelBounds.apply(this,arguments):mxSwimlane.prototype.getLabelBounds.apply(this,arguments)};b.prototype.paintVertexShape=function(c,l,t,m,r){var v=null!=this.state?this.state.view.graph.isCellCollapsed(this.state.cell):
+!1,x=this.isHorizontal(),J=this.getTitleSize();0==J||this.outline?ya.prototype.paintVertexShape.apply(this,arguments):(mxSwimlane.prototype.paintVertexShape.apply(this,arguments),c.translate(-l,-t));v||this.outline||!(x&&J<r||!x&&J<m)||this.paintForeground(c,l,t,m,r)};b.prototype.paintForeground=function(c,l,t,m,r){if(null!=this.state){var v=this.flipH,x=this.flipV;if(this.direction==mxConstants.DIRECTION_NORTH||this.direction==mxConstants.DIRECTION_SOUTH){var J=v;v=x;x=J}c.rotate(-this.getShapeRotation(),
+v,x,l+m/2,t+r/2);s=this.scale;l=this.bounds.x/s;t=this.bounds.y/s;m=this.bounds.width/s;r=this.bounds.height/s;this.paintTableForeground(c,l,t,m,r)}};b.prototype.paintTableForeground=function(c,l,t,m,r){m=this.state.view.graph.getTableLines(this.state.cell,"0"!=mxUtils.getValue(this.state.style,"rowLines","1"),"0"!=mxUtils.getValue(this.state.style,"columnLines","1"));for(r=0;r<m.length;r++)a.prototype.paintTableLine(c,m[r],l,t)};b.prototype.configurePointerEvents=function(c){0==this.getTitleSize()?
+c.pointerEvents=!1:mxSwimlane.prototype.configurePointerEvents.apply(this,arguments)};mxCellRenderer.registerShape("table",b);mxUtils.extend(e,b);e.prototype.paintForeground=function(){};mxCellRenderer.registerShape("tableRow",e);mxUtils.extend(f,mxCylinder);f.prototype.size=20;f.prototype.darkOpacity=0;f.prototype.darkOpacity2=0;f.prototype.paintVertexShape=function(c,l,t,m,r){var v=Math.max(0,Math.min(m,Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size))))),x=Math.max(-1,Math.min(1,
+parseFloat(mxUtils.getValue(this.style,"darkOpacity",this.darkOpacity)))),J=Math.max(-1,Math.min(1,parseFloat(mxUtils.getValue(this.style,"darkOpacity2",this.darkOpacity2))));c.translate(l,t);c.begin();c.moveTo(0,0);c.lineTo(m-v,0);c.lineTo(m,v);c.lineTo(m,r);c.lineTo(v,r);c.lineTo(0,r-v);c.lineTo(0,0);c.close();c.end();c.fillAndStroke();this.outline||(c.setShadow(!1),0!=x&&(c.setFillAlpha(Math.abs(x)),c.setFillColor(0>x?"#FFFFFF":"#000000"),c.begin(),c.moveTo(0,0),c.lineTo(m-v,0),c.lineTo(m,v),c.lineTo(v,
+v),c.close(),c.fill()),0!=J&&(c.setFillAlpha(Math.abs(J)),c.setFillColor(0>J?"#FFFFFF":"#000000"),c.begin(),c.moveTo(0,0),c.lineTo(v,v),c.lineTo(v,r),c.lineTo(0,r-v),c.close(),c.fill()),c.begin(),c.moveTo(v,r),c.lineTo(v,v),c.lineTo(0,0),c.moveTo(v,v),c.lineTo(m,v),c.end(),c.stroke())};f.prototype.getLabelMargins=function(c){return mxUtils.getValue(this.style,"boundedLbl",!1)?(c=parseFloat(mxUtils.getValue(this.style,"size",this.size))*this.scale,new mxRectangle(c,c,0,0)):null};mxCellRenderer.registerShape("cube",
+f);var Ta=Math.tan(mxUtils.toRadians(30)),Ka=(.5-Ta)/2;mxCellRenderer.registerShape("isoRectangle",g);mxUtils.extend(h,mxConnector);h.prototype.paintEdgeShape=function(c,l){var t=this.createMarker(c,l,!0),m=this.createMarker(c,l,!1);c.setDashed(!1);mxPolyline.prototype.paintEdgeShape.apply(this,arguments);null!=this.isDashed&&c.setDashed(this.isDashed,null!=this.style?1==mxUtils.getValue(this.style,mxConstants.STYLE_FIX_DASH,!1):!1);c.setShadow(!1);c.setStrokeColor(this.fill);mxPolyline.prototype.paintEdgeShape.apply(this,
+arguments);c.setStrokeColor(this.stroke);c.setFillColor(this.stroke);c.setDashed(!1);null!=t&&t();null!=m&&m()};mxCellRenderer.registerShape("wire",h);mxUtils.extend(d,mxCylinder);d.prototype.size=6;d.prototype.paintVertexShape=function(c,l,t,m,r){c.setFillColor(this.stroke);var v=Math.max(0,parseFloat(mxUtils.getValue(this.style,"size",this.size))-2)+2*this.strokewidth;c.ellipse(l+.5*(m-v),t+.5*(r-v),v,v);c.fill();c.setFillColor(mxConstants.NONE);c.rect(l,t,m,r);c.fill()};mxCellRenderer.registerShape("waypoint",
+d);mxUtils.extend(g,mxActor);g.prototype.size=20;g.prototype.redrawPath=function(c,l,t,m,r){l=Math.min(m,r/Ta);c.translate((m-l)/2,(r-l)/2+l/4);c.moveTo(0,.25*l);c.lineTo(.5*l,l*Ka);c.lineTo(l,.25*l);c.lineTo(.5*l,(.5-Ka)*l);c.lineTo(0,.25*l);c.close();c.end()};mxCellRenderer.registerShape("isoRectangle",g);mxUtils.extend(n,mxCylinder);n.prototype.size=20;n.prototype.redrawPath=function(c,l,t,m,r,v){l=Math.min(m,r/(.5+Ta));v?(c.moveTo(0,.25*l),c.lineTo(.5*l,(.5-Ka)*l),c.lineTo(l,.25*l),c.moveTo(.5*
+l,(.5-Ka)*l),c.lineTo(.5*l,(1-Ka)*l)):(c.translate((m-l)/2,(r-l)/2),c.moveTo(0,.25*l),c.lineTo(.5*l,l*Ka),c.lineTo(l,.25*l),c.lineTo(l,.75*l),c.lineTo(.5*l,(1-Ka)*l),c.lineTo(0,.75*l),c.close());c.end()};mxCellRenderer.registerShape("isoCube",n);mxUtils.extend(q,mxCylinder);q.prototype.redrawPath=function(c,l,t,m,r,v){l=Math.min(r/2,Math.round(r/8)+this.strokewidth-1);if(v&&null!=this.fill||!v&&null==this.fill)c.moveTo(0,l),c.curveTo(0,2*l,m,2*l,m,l),v||(c.stroke(),c.begin()),c.translate(0,l/2),c.moveTo(0,
+l),c.curveTo(0,2*l,m,2*l,m,l),v||(c.stroke(),c.begin()),c.translate(0,l/2),c.moveTo(0,l),c.curveTo(0,2*l,m,2*l,m,l),v||(c.stroke(),c.begin()),c.translate(0,-l);v||(c.moveTo(0,l),c.curveTo(0,-l/3,m,-l/3,m,l),c.lineTo(m,r-l),c.curveTo(m,r+l/3,0,r+l/3,0,r-l),c.close())};q.prototype.getLabelMargins=function(c){return new mxRectangle(0,2.5*Math.min(c.height/2,Math.round(c.height/8)+this.strokewidth-1),0,0)};mxCellRenderer.registerShape("datastore",q);mxUtils.extend(k,mxCylinder);k.prototype.size=30;k.prototype.darkOpacity=
+0;k.prototype.paintVertexShape=function(c,l,t,m,r){var v=Math.max(0,Math.min(m,Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size))))),x=Math.max(-1,Math.min(1,parseFloat(mxUtils.getValue(this.style,"darkOpacity",this.darkOpacity))));c.translate(l,t);c.begin();c.moveTo(0,0);c.lineTo(m-v,0);c.lineTo(m,v);c.lineTo(m,r);c.lineTo(0,r);c.lineTo(0,0);c.close();c.end();c.fillAndStroke();this.outline||(c.setShadow(!1),0!=x&&(c.setFillAlpha(Math.abs(x)),c.setFillColor(0>x?"#FFFFFF":"#000000"),
+c.begin(),c.moveTo(m-v,0),c.lineTo(m-v,v),c.lineTo(m,v),c.close(),c.fill()),c.begin(),c.moveTo(m-v,0),c.lineTo(m-v,v),c.lineTo(m,v),c.end(),c.stroke())};mxCellRenderer.registerShape("note",k);mxUtils.extend(p,k);mxCellRenderer.registerShape("note2",p);p.prototype.getLabelMargins=function(c){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var l=mxUtils.getValue(this.style,"size",15);return new mxRectangle(0,Math.min(c.height*this.scale,l*this.scale),0,0)}return null};mxUtils.extend(w,mxShape);w.prototype.isoAngle=
+15;w.prototype.paintVertexShape=function(c,l,t,m,r){var v=Math.max(.01,Math.min(94,parseFloat(mxUtils.getValue(this.style,"isoAngle",this.isoAngle))))*Math.PI/200;v=Math.min(m*Math.tan(v),.5*r);c.translate(l,t);c.begin();c.moveTo(.5*m,0);c.lineTo(m,v);c.lineTo(m,r-v);c.lineTo(.5*m,r);c.lineTo(0,r-v);c.lineTo(0,v);c.close();c.fillAndStroke();c.setShadow(!1);c.begin();c.moveTo(0,v);c.lineTo(.5*m,2*v);c.lineTo(m,v);c.moveTo(.5*m,2*v);c.lineTo(.5*m,r);c.stroke()};mxCellRenderer.registerShape("isoCube2",
+w);mxUtils.extend(z,mxShape);z.prototype.size=15;z.prototype.paintVertexShape=function(c,l,t,m,r){var v=Math.max(0,Math.min(.5*r,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c.translate(l,t);0==v?(c.rect(0,0,m,r),c.fillAndStroke()):(c.begin(),c.moveTo(0,v),c.arcTo(.5*m,v,0,0,1,.5*m,0),c.arcTo(.5*m,v,0,0,1,m,v),c.lineTo(m,r-v),c.arcTo(.5*m,v,0,0,1,.5*m,r),c.arcTo(.5*m,v,0,0,1,0,r-v),c.close(),c.fillAndStroke(),c.setShadow(!1),c.begin(),c.moveTo(m,v),c.arcTo(.5*m,v,0,0,1,.5*m,2*v),c.arcTo(.5*
+m,v,0,0,1,0,v),c.stroke())};mxCellRenderer.registerShape("cylinder2",z);mxUtils.extend(C,mxCylinder);C.prototype.size=15;C.prototype.paintVertexShape=function(c,l,t,m,r){var v=Math.max(0,Math.min(.5*r,parseFloat(mxUtils.getValue(this.style,"size",this.size)))),x=mxUtils.getValue(this.style,"lid",!0);c.translate(l,t);0==v?(c.rect(0,0,m,r),c.fillAndStroke()):(c.begin(),x?(c.moveTo(0,v),c.arcTo(.5*m,v,0,0,1,.5*m,0),c.arcTo(.5*m,v,0,0,1,m,v)):(c.moveTo(0,0),c.arcTo(.5*m,v,0,0,0,.5*m,v),c.arcTo(.5*m,v,
+0,0,0,m,0)),c.lineTo(m,r-v),c.arcTo(.5*m,v,0,0,1,.5*m,r),c.arcTo(.5*m,v,0,0,1,0,r-v),c.close(),c.fillAndStroke(),c.setShadow(!1),x&&(c.begin(),c.moveTo(m,v),c.arcTo(.5*m,v,0,0,1,.5*m,2*v),c.arcTo(.5*m,v,0,0,1,0,v),c.stroke()))};mxCellRenderer.registerShape("cylinder3",C);mxUtils.extend(F,mxActor);F.prototype.redrawPath=function(c,l,t,m,r){c.moveTo(0,0);c.quadTo(m/2,.5*r,m,0);c.quadTo(.5*m,r/2,m,r);c.quadTo(m/2,.5*r,0,r);c.quadTo(.5*m,r/2,0,0);c.end()};mxCellRenderer.registerShape("switch",F);mxUtils.extend(D,
+mxCylinder);D.prototype.tabWidth=60;D.prototype.tabHeight=20;D.prototype.tabPosition="right";D.prototype.arcSize=.1;D.prototype.paintVertexShape=function(c,l,t,m,r){c.translate(l,t);l=Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,"tabWidth",this.tabWidth))));t=Math.max(0,Math.min(r,parseFloat(mxUtils.getValue(this.style,"tabHeight",this.tabHeight))));var v=mxUtils.getValue(this.style,"tabPosition",this.tabPosition),x=mxUtils.getValue(this.style,"rounded",!1),J=mxUtils.getValue(this.style,
+"absoluteArcSize",!1),y=parseFloat(mxUtils.getValue(this.style,"arcSize",this.arcSize));J||(y*=Math.min(m,r));y=Math.min(y,.5*m,.5*(r-t));l=Math.max(l,y);l=Math.min(m-y,l);x||(y=0);c.begin();"left"==v?(c.moveTo(Math.max(y,0),t),c.lineTo(Math.max(y,0),0),c.lineTo(l,0),c.lineTo(l,t)):(c.moveTo(m-l,t),c.lineTo(m-l,0),c.lineTo(m-Math.max(y,0),0),c.lineTo(m-Math.max(y,0),t));x?(c.moveTo(0,y+t),c.arcTo(y,y,0,0,1,y,t),c.lineTo(m-y,t),c.arcTo(y,y,0,0,1,m,y+t),c.lineTo(m,r-y),c.arcTo(y,y,0,0,1,m-y,r),c.lineTo(y,
+r),c.arcTo(y,y,0,0,1,0,r-y)):(c.moveTo(0,t),c.lineTo(m,t),c.lineTo(m,r),c.lineTo(0,r));c.close();c.fillAndStroke();c.setShadow(!1);"triangle"==mxUtils.getValue(this.style,"folderSymbol",null)&&(c.begin(),c.moveTo(m-30,t+20),c.lineTo(m-20,t+10),c.lineTo(m-10,t+20),c.close(),c.stroke())};mxCellRenderer.registerShape("folder",D);D.prototype.getLabelMargins=function(c){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var l=mxUtils.getValue(this.style,"tabHeight",15)*this.scale;if(mxUtils.getValue(this.style,
+"labelInHeader",!1)){var t=mxUtils.getValue(this.style,"tabWidth",15)*this.scale;l=mxUtils.getValue(this.style,"tabHeight",15)*this.scale;var m=mxUtils.getValue(this.style,"rounded",!1),r=mxUtils.getValue(this.style,"absoluteArcSize",!1),v=parseFloat(mxUtils.getValue(this.style,"arcSize",this.arcSize));r||(v*=Math.min(c.width,c.height));v=Math.min(v,.5*c.width,.5*(c.height-l));m||(v=0);return"left"==mxUtils.getValue(this.style,"tabPosition",this.tabPosition)?new mxRectangle(v,0,Math.min(c.width,c.width-
+t),Math.min(c.height,c.height-l)):new mxRectangle(Math.min(c.width,c.width-t),0,v,Math.min(c.height,c.height-l))}return new mxRectangle(0,Math.min(c.height,l),0,0)}return null};mxUtils.extend(H,mxCylinder);H.prototype.arcSize=.1;H.prototype.paintVertexShape=function(c,l,t,m,r){c.translate(l,t);var v=mxUtils.getValue(this.style,"rounded",!1),x=mxUtils.getValue(this.style,"absoluteArcSize",!1);l=parseFloat(mxUtils.getValue(this.style,"arcSize",this.arcSize));t=mxUtils.getValue(this.style,"umlStateConnection",
+null);x||(l*=Math.min(m,r));l=Math.min(l,.5*m,.5*r);v||(l=0);v=0;null!=t&&(v=10);c.begin();c.moveTo(v,l);c.arcTo(l,l,0,0,1,v+l,0);c.lineTo(m-l,0);c.arcTo(l,l,0,0,1,m,l);c.lineTo(m,r-l);c.arcTo(l,l,0,0,1,m-l,r);c.lineTo(v+l,r);c.arcTo(l,l,0,0,1,v,r-l);c.close();c.fillAndStroke();c.setShadow(!1);"collapseState"==mxUtils.getValue(this.style,"umlStateSymbol",null)&&(c.roundrect(m-40,r-20,10,10,3,3),c.stroke(),c.roundrect(m-20,r-20,10,10,3,3),c.stroke(),c.begin(),c.moveTo(m-30,r-15),c.lineTo(m-20,r-15),
+c.stroke());"connPointRefEntry"==t?(c.ellipse(0,.5*r-10,20,20),c.fillAndStroke()):"connPointRefExit"==t&&(c.ellipse(0,.5*r-10,20,20),c.fillAndStroke(),c.begin(),c.moveTo(5,.5*r-5),c.lineTo(15,.5*r+5),c.moveTo(15,.5*r-5),c.lineTo(5,.5*r+5),c.stroke())};H.prototype.getLabelMargins=function(c){return mxUtils.getValue(this.style,"boundedLbl",!1)&&null!=mxUtils.getValue(this.style,"umlStateConnection",null)?new mxRectangle(10*this.scale,0,0,0):null};mxCellRenderer.registerShape("umlState",H);mxUtils.extend(K,
+mxActor);K.prototype.size=30;K.prototype.isRoundable=function(){return!0};K.prototype.redrawPath=function(c,l,t,m,r){l=Math.max(0,Math.min(m,Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size)))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(l,0),new mxPoint(m,0),new mxPoint(m,r),new mxPoint(0,r),new mxPoint(0,l)],this.isRounded,t,!0);c.end()};mxCellRenderer.registerShape("card",K);mxUtils.extend(G,mxActor);G.prototype.size=
+.4;G.prototype.redrawPath=function(c,l,t,m,r){l=r*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c.moveTo(0,l/2);c.quadTo(m/4,1.4*l,m/2,l/2);c.quadTo(3*m/4,l*(1-1.4),m,l/2);c.lineTo(m,r-l/2);c.quadTo(3*m/4,r-1.4*l,m/2,r-l/2);c.quadTo(m/4,r-l*(1-1.4),0,r-l/2);c.lineTo(0,l/2);c.close();c.end()};G.prototype.getLabelBounds=function(c){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var l=mxUtils.getValue(this.style,"size",this.size),t=c.width,m=c.height;if(null==this.direction||
+this.direction==mxConstants.DIRECTION_EAST||this.direction==mxConstants.DIRECTION_WEST)return l*=m,new mxRectangle(c.x,c.y+l,t,m-2*l);l*=t;return new mxRectangle(c.x+l,c.y,t-2*l,m)}return c};mxCellRenderer.registerShape("tape",G);mxUtils.extend(P,mxActor);P.prototype.size=.3;P.prototype.getLabelMargins=function(c){return mxUtils.getValue(this.style,"boundedLbl",!1)?new mxRectangle(0,0,0,parseFloat(mxUtils.getValue(this.style,"size",this.size))*c.height):null};P.prototype.redrawPath=function(c,l,t,
+m,r){l=r*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c.moveTo(0,0);c.lineTo(m,0);c.lineTo(m,r-l/2);c.quadTo(3*m/4,r-1.4*l,m/2,r-l/2);c.quadTo(m/4,r-l*(1-1.4),0,r-l/2);c.lineTo(0,l/2);c.close();c.end()};mxCellRenderer.registerShape("document",P);var Wa=mxCylinder.prototype.getCylinderSize;mxCylinder.prototype.getCylinderSize=function(c,l,t,m){var r=mxUtils.getValue(this.style,"size");return null!=r?m*Math.max(0,Math.min(1,r)):Wa.apply(this,arguments)};mxCylinder.prototype.getLabelMargins=
+function(c){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var l=2*mxUtils.getValue(this.style,"size",.15);return new mxRectangle(0,Math.min(this.maxHeight*this.scale,c.height*l),0,0)}return null};C.prototype.getLabelMargins=function(c){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var l=mxUtils.getValue(this.style,"size",15);mxUtils.getValue(this.style,"lid",!0)||(l/=2);return new mxRectangle(0,Math.min(c.height*this.scale,2*l*this.scale),0,Math.max(0,.3*l*this.scale))}return null};D.prototype.getLabelMargins=
+function(c){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var l=mxUtils.getValue(this.style,"tabHeight",15)*this.scale;if(mxUtils.getValue(this.style,"labelInHeader",!1)){var t=mxUtils.getValue(this.style,"tabWidth",15)*this.scale;l=mxUtils.getValue(this.style,"tabHeight",15)*this.scale;var m=mxUtils.getValue(this.style,"rounded",!1),r=mxUtils.getValue(this.style,"absoluteArcSize",!1),v=parseFloat(mxUtils.getValue(this.style,"arcSize",this.arcSize));r||(v*=Math.min(c.width,c.height));v=Math.min(v,
+.5*c.width,.5*(c.height-l));m||(v=0);return"left"==mxUtils.getValue(this.style,"tabPosition",this.tabPosition)?new mxRectangle(v,0,Math.min(c.width,c.width-t),Math.min(c.height,c.height-l)):new mxRectangle(Math.min(c.width,c.width-t),0,v,Math.min(c.height,c.height-l))}return new mxRectangle(0,Math.min(c.height,l),0,0)}return null};H.prototype.getLabelMargins=function(c){return mxUtils.getValue(this.style,"boundedLbl",!1)&&null!=mxUtils.getValue(this.style,"umlStateConnection",null)?new mxRectangle(10*
+this.scale,0,0,0):null};p.prototype.getLabelMargins=function(c){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var l=mxUtils.getValue(this.style,"size",15);return new mxRectangle(0,Math.min(c.height*this.scale,l*this.scale),0,Math.max(0,l*this.scale))}return null};mxUtils.extend(I,mxActor);I.prototype.size=.2;I.prototype.fixedSize=20;I.prototype.isRoundable=function(){return!0};I.prototype.redrawPath=function(c,l,t,m,r){l="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,
+"size",this.fixedSize)))):m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,r),new mxPoint(l,0),new mxPoint(m,0),new mxPoint(m-l,r)],this.isRounded,t,!0);c.end()};mxCellRenderer.registerShape("parallelogram",I);mxUtils.extend(Z,mxActor);Z.prototype.size=.2;Z.prototype.fixedSize=20;Z.prototype.isRoundable=function(){return!0};Z.prototype.redrawPath=function(c,
+l,t,m,r){l="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(.5*m,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize)))):m*Math.max(0,Math.min(.5,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,r),new mxPoint(l,0),new mxPoint(m-l,0),new mxPoint(m,r)],this.isRounded,t,!0)};mxCellRenderer.registerShape("trapezoid",Z);mxUtils.extend(S,mxActor);
+S.prototype.size=.5;S.prototype.redrawPath=function(c,l,t,m,r){c.setFillColor(null);l=m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(m,0),new mxPoint(l,0),new mxPoint(l,r/2),new mxPoint(0,r/2),new mxPoint(l,r/2),new mxPoint(l,r),new mxPoint(m,r)],this.isRounded,t,!1);c.end()};mxCellRenderer.registerShape("curlyBracket",S);mxUtils.extend(Y,mxActor);
+Y.prototype.redrawPath=function(c,l,t,m,r){c.setStrokeWidth(1);c.setFillColor(this.stroke);l=m/5;c.rect(0,0,l,r);c.fillAndStroke();c.rect(2*l,0,l,r);c.fillAndStroke();c.rect(4*l,0,l,r);c.fillAndStroke()};mxCellRenderer.registerShape("parallelMarker",Y);V.prototype.moveTo=function(c,l){this.originalMoveTo.apply(this.canvas,arguments);this.lastX=c;this.lastY=l;this.firstX=c;this.firstY=l};V.prototype.close=function(){null!=this.firstX&&null!=this.firstY&&(this.lineTo(this.firstX,this.firstY),this.originalClose.apply(this.canvas,
+arguments));this.originalClose.apply(this.canvas,arguments)};V.prototype.quadTo=function(c,l,t,m){this.originalQuadTo.apply(this.canvas,arguments);this.lastX=t;this.lastY=m};V.prototype.curveTo=function(c,l,t,m,r,v){this.originalCurveTo.apply(this.canvas,arguments);this.lastX=r;this.lastY=v};V.prototype.arcTo=function(c,l,t,m,r,v,x){this.originalArcTo.apply(this.canvas,arguments);this.lastX=v;this.lastY=x};V.prototype.lineTo=function(c,l){if(null!=this.lastX&&null!=this.lastY){var t=function(R){return"number"===
+typeof R?R?0>R?-1:1:R===R?0:NaN:NaN},m=Math.abs(c-this.lastX),r=Math.abs(l-this.lastY),v=Math.sqrt(m*m+r*r);if(2>v){this.originalLineTo.apply(this.canvas,arguments);this.lastX=c;this.lastY=l;return}var x=Math.round(v/10),J=this.defaultVariation;5>x&&(x=5,J/=3);var y=t(c-this.lastX)*m/x;t=t(l-this.lastY)*r/x;m/=v;r/=v;for(v=0;v<x;v++){var aa=(Math.random()-.5)*J;this.originalLineTo.call(this.canvas,y*v+this.lastX-aa*r,t*v+this.lastY-aa*m)}this.originalLineTo.call(this.canvas,c,l)}else this.originalLineTo.apply(this.canvas,
+arguments);this.lastX=c;this.lastY=l};V.prototype.destroy=function(){this.canvas.lineTo=this.originalLineTo;this.canvas.moveTo=this.originalMoveTo;this.canvas.close=this.originalClose;this.canvas.quadTo=this.originalQuadTo;this.canvas.curveTo=this.originalCurveTo;this.canvas.arcTo=this.originalArcTo};var Xa=mxShape.prototype.beforePaint;mxShape.prototype.beforePaint=function(c){Xa.apply(this,arguments);null==c.handJiggle&&(c.handJiggle=this.createHandJiggle(c))};var bb=mxShape.prototype.afterPaint;
+mxShape.prototype.afterPaint=function(c){bb.apply(this,arguments);null!=c.handJiggle&&(c.handJiggle.destroy(),delete c.handJiggle)};mxShape.prototype.createComicCanvas=function(c){return new V(c,mxUtils.getValue(this.style,"jiggle",Editor.sketchDefaultJiggle))};mxShape.prototype.createHandJiggle=function(c){return this.outline||null==this.style||"0"==mxUtils.getValue(this.style,"comic","0")?null:this.createComicCanvas(c)};var ib=mxRectangleShape.prototype.isHtmlAllowed;mxRectangleShape.prototype.isHtmlAllowed=
+function(){return!this.outline&&(null==this.style||"0"==mxUtils.getValue(this.style,"comic","0")&&"0"==mxUtils.getValue(this.style,"sketch","1"==urlParams.rough?"1":"0"))&&ib.apply(this,arguments)};var lb=mxRectangleShape.prototype.paintBackground;mxRectangleShape.prototype.paintBackground=function(c,l,t,m,r){if(null==c.handJiggle||c.handJiggle.constructor!=V)lb.apply(this,arguments);else{var v=!0;null!=this.style&&(v="1"==mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1"));if(v||null!=
+this.fill&&this.fill!=mxConstants.NONE||null!=this.stroke&&this.stroke!=mxConstants.NONE)v||null!=this.fill&&this.fill!=mxConstants.NONE||(c.pointerEvents=!1),c.begin(),this.isRounded?("1"==mxUtils.getValue(this.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,0)?v=Math.min(m/2,Math.min(r/2,mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2)):(v=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100,v=Math.min(m*v,r*v)),c.moveTo(l+
+v,t),c.lineTo(l+m-v,t),c.quadTo(l+m,t,l+m,t+v),c.lineTo(l+m,t+r-v),c.quadTo(l+m,t+r,l+m-v,t+r),c.lineTo(l+v,t+r),c.quadTo(l,t+r,l,t+r-v),c.lineTo(l,t+v),c.quadTo(l,t,l+v,t)):(c.moveTo(l,t),c.lineTo(l+m,t),c.lineTo(l+m,t+r),c.lineTo(l,t+r),c.lineTo(l,t)),c.close(),c.end(),c.fillAndStroke()}};mxUtils.extend(L,mxRectangleShape);L.prototype.size=.1;L.prototype.fixedSize=!1;L.prototype.isHtmlAllowed=function(){return!1};L.prototype.getLabelBounds=function(c){if(mxUtils.getValue(this.state.style,mxConstants.STYLE_HORIZONTAL,
+!0)==(null==this.direction||this.direction==mxConstants.DIRECTION_EAST||this.direction==mxConstants.DIRECTION_WEST)){var l=c.width,t=c.height;c=new mxRectangle(c.x,c.y,l,t);var m=l*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));if(this.isRounded){var r=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100;m=Math.max(m,Math.min(l*r,t*r))}c.x+=Math.round(m);c.width-=Math.round(2*m);return c}return c};L.prototype.paintForeground=
+function(c,l,t,m,r){var v=mxUtils.getValue(this.style,"fixedSize",this.fixedSize),x=parseFloat(mxUtils.getValue(this.style,"size",this.size));x=v?Math.max(0,Math.min(m,x)):m*Math.max(0,Math.min(1,x));this.isRounded&&(v=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100,x=Math.max(x,Math.min(m*v,r*v)));x=Math.round(x);c.begin();c.moveTo(l+x,t);c.lineTo(l+x,t+r);c.moveTo(l+m-x,t);c.lineTo(l+m-x,t+r);c.end();c.stroke();mxRectangleShape.prototype.paintForeground.apply(this,
+arguments)};mxCellRenderer.registerShape("process",L);mxCellRenderer.registerShape("process2",L);mxUtils.extend(U,mxRectangleShape);U.prototype.paintBackground=function(c,l,t,m,r){c.setFillColor(mxConstants.NONE);c.rect(l,t,m,r);c.fill()};U.prototype.paintForeground=function(c,l,t,m,r){};mxCellRenderer.registerShape("transparent",U);mxUtils.extend(ba,mxHexagon);ba.prototype.size=30;ba.prototype.position=.5;ba.prototype.position2=.5;ba.prototype.base=20;ba.prototype.getLabelMargins=function(){return new mxRectangle(0,
+0,0,parseFloat(mxUtils.getValue(this.style,"size",this.size))*this.scale)};ba.prototype.isRoundable=function(){return!0};ba.prototype.redrawPath=function(c,l,t,m,r){l=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;t=Math.max(0,Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size))));var v=m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"position",this.position)))),x=m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"position2",
+this.position2)))),J=Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,"base",this.base))));this.addPoints(c,[new mxPoint(0,0),new mxPoint(m,0),new mxPoint(m,r-t),new mxPoint(Math.min(m,v+J),r-t),new mxPoint(x,r),new mxPoint(Math.max(0,v),r-t),new mxPoint(0,r-t)],this.isRounded,l,!0,[4])};mxCellRenderer.registerShape("callout",ba);mxUtils.extend(ja,mxActor);ja.prototype.size=.2;ja.prototype.fixedSize=20;ja.prototype.isRoundable=function(){return!0};ja.prototype.redrawPath=function(c,l,
+t,m,r){l="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize)))):m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,0),new mxPoint(m-l,0),new mxPoint(m,r/2),new mxPoint(m-l,r),new mxPoint(0,r),new mxPoint(l,r/2)],this.isRounded,t,!0);c.end()};mxCellRenderer.registerShape("step",
+ja);mxUtils.extend(sa,mxHexagon);sa.prototype.size=.25;sa.prototype.fixedSize=20;sa.prototype.isRoundable=function(){return!0};sa.prototype.redrawPath=function(c,l,t,m,r){l="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(.5*m,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize)))):m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(l,
+0),new mxPoint(m-l,0),new mxPoint(m,.5*r),new mxPoint(m-l,r),new mxPoint(l,r),new mxPoint(0,.5*r)],this.isRounded,t,!0)};mxCellRenderer.registerShape("hexagon",sa);mxUtils.extend(O,mxRectangleShape);O.prototype.isHtmlAllowed=function(){return!1};O.prototype.paintForeground=function(c,l,t,m,r){var v=Math.min(m/5,r/5)+1;c.begin();c.moveTo(l+m/2,t+v);c.lineTo(l+m/2,t+r-v);c.moveTo(l+v,t+r/2);c.lineTo(l+m-v,t+r/2);c.end();c.stroke();mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxCellRenderer.registerShape("plus",
+O);var sb=mxRhombus.prototype.paintVertexShape;mxRhombus.prototype.getLabelBounds=function(c){if(1==this.style["double"]){var l=(2*Math.max(2,this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||0))*this.scale;return new mxRectangle(c.x+l,c.y+l,c.width-2*l,c.height-2*l)}return c};mxRhombus.prototype.paintVertexShape=function(c,l,t,m,r){sb.apply(this,arguments);if(!this.outline&&1==this.style["double"]){var v=2*Math.max(2,this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||
+0);l+=v;t+=v;m-=2*v;r-=2*v;0<m&&0<r&&(c.setShadow(!1),sb.apply(this,[c,l,t,m,r]))}};mxUtils.extend(T,mxRectangleShape);T.prototype.isHtmlAllowed=function(){return!1};T.prototype.getLabelBounds=function(c){if(1==this.style["double"]){var l=(Math.max(2,this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||0))*this.scale;return new mxRectangle(c.x+l,c.y+l,c.width-2*l,c.height-2*l)}return c};T.prototype.paintForeground=function(c,l,t,m,r){if(null!=this.style){if(!this.outline&&1==this.style["double"]){var v=
+Math.max(2,this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||0);l+=v;t+=v;m-=2*v;r-=2*v;0<m&&0<r&&mxRectangleShape.prototype.paintBackground.apply(this,arguments)}c.setDashed(!1);v=0;do{var x=mxCellRenderer.defaultShapes[this.style["symbol"+v]];if(null!=x){var J=this.style["symbol"+v+"Align"],y=this.style["symbol"+v+"VerticalAlign"],aa=this.style["symbol"+v+"Width"],R=this.style["symbol"+v+"Height"],Ga=this.style["symbol"+v+"Spacing"]||0,Va=this.style["symbol"+v+"VSpacing"]||Ga,
+Pa=this.style["symbol"+v+"ArcSpacing"];null!=Pa&&(Pa*=this.getArcSize(m+this.strokewidth,r+this.strokewidth),Ga+=Pa,Va+=Pa);Pa=l;var ka=t;Pa=J==mxConstants.ALIGN_CENTER?Pa+(m-aa)/2:J==mxConstants.ALIGN_RIGHT?Pa+(m-aa-Ga):Pa+Ga;ka=y==mxConstants.ALIGN_MIDDLE?ka+(r-R)/2:y==mxConstants.ALIGN_BOTTOM?ka+(r-R-Va):ka+Va;c.save();J=new x;J.style=this.style;x.prototype.paintVertexShape.call(J,c,Pa,ka,aa,R);c.restore()}v++}while(null!=x)}mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxCellRenderer.registerShape("ext",
+T);mxUtils.extend(X,mxCylinder);X.prototype.redrawPath=function(c,l,t,m,r,v){v?(c.moveTo(0,0),c.lineTo(m/2,r/2),c.lineTo(m,0),c.end()):(c.moveTo(0,0),c.lineTo(m,0),c.lineTo(m,r),c.lineTo(0,r),c.close())};mxCellRenderer.registerShape("message",X);mxUtils.extend(ca,mxShape);ca.prototype.paintBackground=function(c,l,t,m,r){c.translate(l,t);c.ellipse(m/4,0,m/2,r/4);c.fillAndStroke();c.begin();c.moveTo(m/2,r/4);c.lineTo(m/2,2*r/3);c.moveTo(m/2,r/3);c.lineTo(0,r/3);c.moveTo(m/2,r/3);c.lineTo(m,r/3);c.moveTo(m/
+2,2*r/3);c.lineTo(0,r);c.moveTo(m/2,2*r/3);c.lineTo(m,r);c.end();c.stroke()};mxCellRenderer.registerShape("umlActor",ca);mxUtils.extend(na,mxShape);na.prototype.getLabelMargins=function(c){return new mxRectangle(c.width/6,0,0,0)};na.prototype.paintBackground=function(c,l,t,m,r){c.translate(l,t);c.begin();c.moveTo(0,r/4);c.lineTo(0,3*r/4);c.end();c.stroke();c.begin();c.moveTo(0,r/2);c.lineTo(m/6,r/2);c.end();c.stroke();c.ellipse(m/6,0,5*m/6,r);c.fillAndStroke()};mxCellRenderer.registerShape("umlBoundary",
+na);mxUtils.extend(pa,mxEllipse);pa.prototype.paintVertexShape=function(c,l,t,m,r){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.begin();c.moveTo(l+m/8,t+r);c.lineTo(l+7*m/8,t+r);c.end();c.stroke()};mxCellRenderer.registerShape("umlEntity",pa);mxUtils.extend(M,mxShape);M.prototype.paintVertexShape=function(c,l,t,m,r){c.translate(l,t);c.begin();c.moveTo(m,0);c.lineTo(0,r);c.moveTo(0,0);c.lineTo(m,r);c.end();c.stroke()};mxCellRenderer.registerShape("umlDestroy",M);mxUtils.extend(ea,mxShape);
+ea.prototype.getLabelBounds=function(c){return new mxRectangle(c.x,c.y+c.height/8,c.width,7*c.height/8)};ea.prototype.paintBackground=function(c,l,t,m,r){c.translate(l,t);c.begin();c.moveTo(3*m/8,r/8*1.1);c.lineTo(5*m/8,0);c.end();c.stroke();c.ellipse(0,r/8,m,7*r/8);c.fillAndStroke()};ea.prototype.paintForeground=function(c,l,t,m,r){c.begin();c.moveTo(3*m/8,r/8*1.1);c.lineTo(5*m/8,r/4);c.end();c.stroke()};mxCellRenderer.registerShape("umlControl",ea);mxUtils.extend(ra,mxRectangleShape);ra.prototype.size=
+40;ra.prototype.isHtmlAllowed=function(){return!1};ra.prototype.getLabelBounds=function(c){var l=Math.max(0,Math.min(c.height,parseFloat(mxUtils.getValue(this.style,"size",this.size))*this.scale));return new mxRectangle(c.x,c.y,c.width,l)};ra.prototype.paintBackground=function(c,l,t,m,r){var v=Math.max(0,Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size)))),x=mxUtils.getValue(this.style,"participant");null==x||null==this.state?mxRectangleShape.prototype.paintBackground.call(this,
+c,l,t,m,v):(x=this.state.view.graph.cellRenderer.getShape(x),null!=x&&x!=ra&&(x=new x,x.apply(this.state),c.save(),x.paintVertexShape(c,l,t,m,v),c.restore()));v<r&&(c.setDashed("1"==mxUtils.getValue(this.style,"lifelineDashed","1")),c.begin(),c.moveTo(l+m/2,t+v),c.lineTo(l+m/2,t+r),c.end(),c.stroke())};ra.prototype.paintForeground=function(c,l,t,m,r){var v=Math.max(0,Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size))));mxRectangleShape.prototype.paintForeground.call(this,c,l,t,m,
+Math.min(r,v))};mxCellRenderer.registerShape("umlLifeline",ra);mxUtils.extend(ta,mxShape);ta.prototype.width=60;ta.prototype.height=30;ta.prototype.corner=10;ta.prototype.configurePointerEvents=function(c){var l=mxUtils.getValue(this.style,mxConstants.STYLE_SWIMLANE_FILLCOLOR,mxConstants.NONE);null==this.style||null!=l&&l!=mxConstants.NONE&&0!=this.opacity&&0!=this.fillOpacity||"0"!=mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1")||(c.pointerEvents=!1)};ta.prototype.getLabelMargins=
+function(c){return new mxRectangle(0,0,c.width-parseFloat(mxUtils.getValue(this.style,"width",this.width)*this.scale),c.height-parseFloat(mxUtils.getValue(this.style,"height",this.height)*this.scale))};ta.prototype.paintBackground=function(c,l,t,m,r){var v=this.corner,x=Math.min(m,Math.max(v,parseFloat(mxUtils.getValue(this.style,"width",this.width)))),J=Math.min(r,Math.max(1.5*v,parseFloat(mxUtils.getValue(this.style,"height",this.height)))),y=mxUtils.getValue(this.style,mxConstants.STYLE_SWIMLANE_FILLCOLOR,
+mxConstants.NONE);y!=mxConstants.NONE&&(c.setFillColor(y),c.rect(l,t,m,r),c.fill());null!=this.fill&&this.fill!=mxConstants.NONE&&this.gradient&&this.gradient!=mxConstants.NONE?(this.getGradientBounds(c,l,t,m,r),c.setGradient(this.fill,this.gradient,l,t,m,r,this.gradientDirection)):c.setFillColor(this.fill);c.pointerEvents=!0;c.begin();c.moveTo(l,t);c.lineTo(l+x,t);c.lineTo(l+x,t+Math.max(0,J-1.5*v));c.lineTo(l+Math.max(0,x-v),t+J);c.lineTo(l,t+J);c.close();c.fillAndStroke();this.configurePointerEvents(c);
+c.begin();c.moveTo(l+x,t);c.lineTo(l+m,t);c.lineTo(l+m,t+r);c.lineTo(l,t+r);c.lineTo(l,t+J);c.stroke()};mxCellRenderer.registerShape("umlFrame",ta);mxPerimeter.CenterPerimeter=function(c,l,t,m){return new mxPoint(c.getCenterX(),c.getCenterY())};mxStyleRegistry.putValue("centerPerimeter",mxPerimeter.CenterPerimeter);mxPerimeter.LifelinePerimeter=function(c,l,t,m){m=ra.prototype.size;null!=l&&(m=mxUtils.getValue(l.style,"size",m)*l.view.scale);l=parseFloat(l.style[mxConstants.STYLE_STROKEWIDTH]||1)*
+l.view.scale/2-1;t.x<c.getCenterX()&&(l=-1*(l+1));return new mxPoint(c.getCenterX()+l,Math.min(c.y+c.height,Math.max(c.y+m,t.y)))};mxStyleRegistry.putValue("lifelinePerimeter",mxPerimeter.LifelinePerimeter);mxPerimeter.OrthogonalPerimeter=function(c,l,t,m){m=!0;return mxPerimeter.RectanglePerimeter.apply(this,arguments)};mxStyleRegistry.putValue("orthogonalPerimeter",mxPerimeter.OrthogonalPerimeter);mxPerimeter.BackbonePerimeter=function(c,l,t,m){m=parseFloat(l.style[mxConstants.STYLE_STROKEWIDTH]||
+1)*l.view.scale/2-1;null!=l.style.backboneSize&&(m+=parseFloat(l.style.backboneSize)*l.view.scale/2-1);if("south"==l.style[mxConstants.STYLE_DIRECTION]||"north"==l.style[mxConstants.STYLE_DIRECTION])return t.x<c.getCenterX()&&(m=-1*(m+1)),new mxPoint(c.getCenterX()+m,Math.min(c.y+c.height,Math.max(c.y,t.y)));t.y<c.getCenterY()&&(m=-1*(m+1));return new mxPoint(Math.min(c.x+c.width,Math.max(c.x,t.x)),c.getCenterY()+m)};mxStyleRegistry.putValue("backbonePerimeter",mxPerimeter.BackbonePerimeter);mxPerimeter.CalloutPerimeter=
+function(c,l,t,m){return mxPerimeter.RectanglePerimeter(mxUtils.getDirectedBounds(c,new mxRectangle(0,0,0,Math.max(0,Math.min(c.height,parseFloat(mxUtils.getValue(l.style,"size",ba.prototype.size))*l.view.scale))),l.style),l,t,m)};mxStyleRegistry.putValue("calloutPerimeter",mxPerimeter.CalloutPerimeter);mxPerimeter.ParallelogramPerimeter=function(c,l,t,m){var r="0"!=mxUtils.getValue(l.style,"fixedSize","0"),v=r?I.prototype.fixedSize:I.prototype.size;null!=l&&(v=mxUtils.getValue(l.style,"size",v));
+r&&(v*=l.view.scale);var x=c.x,J=c.y,y=c.width,aa=c.height;l=null!=l?mxUtils.getValue(l.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;l==mxConstants.DIRECTION_NORTH||l==mxConstants.DIRECTION_SOUTH?(r=r?Math.max(0,Math.min(aa,v)):aa*Math.max(0,Math.min(1,v)),J=[new mxPoint(x,J),new mxPoint(x+y,J+r),new mxPoint(x+y,J+aa),new mxPoint(x,J+aa-r),new mxPoint(x,J)]):(r=r?Math.max(0,Math.min(.5*y,v)):y*Math.max(0,Math.min(1,v)),J=[new mxPoint(x+r,J),new mxPoint(x+
+y,J),new mxPoint(x+y-r,J+aa),new mxPoint(x,J+aa),new mxPoint(x+r,J)]);aa=c.getCenterX();c=c.getCenterY();c=new mxPoint(aa,c);m&&(t.x<x||t.x>x+y?c.y=t.y:c.x=t.x);return mxUtils.getPerimeterPoint(J,c,t)};mxStyleRegistry.putValue("parallelogramPerimeter",mxPerimeter.ParallelogramPerimeter);mxPerimeter.TrapezoidPerimeter=function(c,l,t,m){var r="0"!=mxUtils.getValue(l.style,"fixedSize","0"),v=r?Z.prototype.fixedSize:Z.prototype.size;null!=l&&(v=mxUtils.getValue(l.style,"size",v));r&&(v*=l.view.scale);
+var x=c.x,J=c.y,y=c.width,aa=c.height;l=null!=l?mxUtils.getValue(l.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;l==mxConstants.DIRECTION_EAST?(r=r?Math.max(0,Math.min(.5*y,v)):y*Math.max(0,Math.min(1,v)),J=[new mxPoint(x+r,J),new mxPoint(x+y-r,J),new mxPoint(x+y,J+aa),new mxPoint(x,J+aa),new mxPoint(x+r,J)]):l==mxConstants.DIRECTION_WEST?(r=r?Math.max(0,Math.min(y,v)):y*Math.max(0,Math.min(1,v)),J=[new mxPoint(x,J),new mxPoint(x+y,J),new mxPoint(x+y-r,J+
+aa),new mxPoint(x+r,J+aa),new mxPoint(x,J)]):l==mxConstants.DIRECTION_NORTH?(r=r?Math.max(0,Math.min(aa,v)):aa*Math.max(0,Math.min(1,v)),J=[new mxPoint(x,J+r),new mxPoint(x+y,J),new mxPoint(x+y,J+aa),new mxPoint(x,J+aa-r),new mxPoint(x,J+r)]):(r=r?Math.max(0,Math.min(aa,v)):aa*Math.max(0,Math.min(1,v)),J=[new mxPoint(x,J),new mxPoint(x+y,J+r),new mxPoint(x+y,J+aa-r),new mxPoint(x,J+aa),new mxPoint(x,J)]);aa=c.getCenterX();c=c.getCenterY();c=new mxPoint(aa,c);m&&(t.x<x||t.x>x+y?c.y=t.y:c.x=t.x);return mxUtils.getPerimeterPoint(J,
+c,t)};mxStyleRegistry.putValue("trapezoidPerimeter",mxPerimeter.TrapezoidPerimeter);mxPerimeter.StepPerimeter=function(c,l,t,m){var r="0"!=mxUtils.getValue(l.style,"fixedSize","0"),v=r?ja.prototype.fixedSize:ja.prototype.size;null!=l&&(v=mxUtils.getValue(l.style,"size",v));r&&(v*=l.view.scale);var x=c.x,J=c.y,y=c.width,aa=c.height,R=c.getCenterX();c=c.getCenterY();l=null!=l?mxUtils.getValue(l.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;l==mxConstants.DIRECTION_EAST?
+(r=r?Math.max(0,Math.min(y,v)):y*Math.max(0,Math.min(1,v)),J=[new mxPoint(x,J),new mxPoint(x+y-r,J),new mxPoint(x+y,c),new mxPoint(x+y-r,J+aa),new mxPoint(x,J+aa),new mxPoint(x+r,c),new mxPoint(x,J)]):l==mxConstants.DIRECTION_WEST?(r=r?Math.max(0,Math.min(y,v)):y*Math.max(0,Math.min(1,v)),J=[new mxPoint(x+r,J),new mxPoint(x+y,J),new mxPoint(x+y-r,c),new mxPoint(x+y,J+aa),new mxPoint(x+r,J+aa),new mxPoint(x,c),new mxPoint(x+r,J)]):l==mxConstants.DIRECTION_NORTH?(r=r?Math.max(0,Math.min(aa,v)):aa*Math.max(0,
Math.min(1,v)),J=[new mxPoint(x,J+r),new mxPoint(R,J),new mxPoint(x+y,J+r),new mxPoint(x+y,J+aa),new mxPoint(R,J+aa-r),new mxPoint(x,J+aa),new mxPoint(x,J+r)]):(r=r?Math.max(0,Math.min(aa,v)):aa*Math.max(0,Math.min(1,v)),J=[new mxPoint(x,J),new mxPoint(R,J+r),new mxPoint(x+y,J),new mxPoint(x+y,J+aa-r),new mxPoint(R,J+aa),new mxPoint(x,J+aa-r),new mxPoint(x,J)]);R=new mxPoint(R,c);m&&(t.x<x||t.x>x+y?R.y=t.y:R.x=t.x);return mxUtils.getPerimeterPoint(J,R,t)};mxStyleRegistry.putValue("stepPerimeter",
-mxPerimeter.StepPerimeter);mxPerimeter.HexagonPerimeter2=function(c,k,t,m){var r="0"!=mxUtils.getValue(k.style,"fixedSize","0"),v=r?pa.prototype.fixedSize:pa.prototype.size;null!=k&&(v=mxUtils.getValue(k.style,"size",v));r&&(v*=k.view.scale);var x=c.x,J=c.y,y=c.width,aa=c.height,R=c.getCenterX();c=c.getCenterY();k=null!=k?mxUtils.getValue(k.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;k==mxConstants.DIRECTION_NORTH||k==mxConstants.DIRECTION_SOUTH?(r=r?Math.max(0,
+mxPerimeter.StepPerimeter);mxPerimeter.HexagonPerimeter2=function(c,l,t,m){var r="0"!=mxUtils.getValue(l.style,"fixedSize","0"),v=r?sa.prototype.fixedSize:sa.prototype.size;null!=l&&(v=mxUtils.getValue(l.style,"size",v));r&&(v*=l.view.scale);var x=c.x,J=c.y,y=c.width,aa=c.height,R=c.getCenterX();c=c.getCenterY();l=null!=l?mxUtils.getValue(l.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;l==mxConstants.DIRECTION_NORTH||l==mxConstants.DIRECTION_SOUTH?(r=r?Math.max(0,
Math.min(aa,v)):aa*Math.max(0,Math.min(1,v)),J=[new mxPoint(R,J),new mxPoint(x+y,J+r),new mxPoint(x+y,J+aa-r),new mxPoint(R,J+aa),new mxPoint(x,J+aa-r),new mxPoint(x,J+r),new mxPoint(R,J)]):(r=r?Math.max(0,Math.min(y,v)):y*Math.max(0,Math.min(1,v)),J=[new mxPoint(x+r,J),new mxPoint(x+y-r,J),new mxPoint(x+y,c),new mxPoint(x+y-r,J+aa),new mxPoint(x+r,J+aa),new mxPoint(x,c),new mxPoint(x+r,J)]);R=new mxPoint(R,c);m&&(t.x<x||t.x>x+y?R.y=t.y:R.x=t.x);return mxUtils.getPerimeterPoint(J,R,t)};mxStyleRegistry.putValue("hexagonPerimeter2",
-mxPerimeter.HexagonPerimeter2);mxUtils.extend(Ua,mxShape);Ua.prototype.size=10;Ua.prototype.paintBackground=function(c,k,t,m,r){var v=parseFloat(mxUtils.getValue(this.style,"size",this.size));c.translate(k,t);c.ellipse((m-v)/2,0,v,v);c.fillAndStroke();c.begin();c.moveTo(m/2,v);c.lineTo(m/2,r);c.end();c.stroke()};mxCellRenderer.registerShape("lollipop",Ua);mxUtils.extend(ma,mxShape);ma.prototype.size=10;ma.prototype.inset=2;ma.prototype.paintBackground=function(c,k,t,m,r){var v=parseFloat(mxUtils.getValue(this.style,
-"size",this.size)),x=parseFloat(mxUtils.getValue(this.style,"inset",this.inset))+this.strokewidth;c.translate(k,t);c.begin();c.moveTo(m/2,v+x);c.lineTo(m/2,r);c.end();c.stroke();c.begin();c.moveTo((m-v)/2-x,v/2);c.quadTo((m-v)/2-x,v+x,m/2,v+x);c.quadTo((m+v)/2+x,v+x,(m+v)/2+x,v/2);c.end();c.stroke()};mxCellRenderer.registerShape("requires",ma);mxUtils.extend(Fa,mxShape);Fa.prototype.paintBackground=function(c,k,t,m,r){c.translate(k,t);c.begin();c.moveTo(0,0);c.quadTo(m,0,m,r/2);c.quadTo(m,r,0,r);
-c.end();c.stroke()};mxCellRenderer.registerShape("requiredInterface",Fa);mxUtils.extend(Ia,mxShape);Ia.prototype.inset=2;Ia.prototype.paintBackground=function(c,k,t,m,r){var v=parseFloat(mxUtils.getValue(this.style,"inset",this.inset))+this.strokewidth;c.translate(k,t);c.ellipse(0,v,m-2*v,r-2*v);c.fillAndStroke();c.begin();c.moveTo(m/2,0);c.quadTo(m,0,m,r/2);c.quadTo(m,r,m/2,r);c.end();c.stroke()};mxCellRenderer.registerShape("providedRequiredInterface",Ia);mxUtils.extend(Oa,mxCylinder);Oa.prototype.jettyWidth=
-20;Oa.prototype.jettyHeight=10;Oa.prototype.redrawPath=function(c,k,t,m,r,v){var x=parseFloat(mxUtils.getValue(this.style,"jettyWidth",this.jettyWidth));k=parseFloat(mxUtils.getValue(this.style,"jettyHeight",this.jettyHeight));t=x/2;x=t+x/2;var J=Math.min(k,r-k),y=Math.min(J+2*k,r-k);v?(c.moveTo(t,J),c.lineTo(x,J),c.lineTo(x,J+k),c.lineTo(t,J+k),c.moveTo(t,y),c.lineTo(x,y),c.lineTo(x,y+k),c.lineTo(t,y+k)):(c.moveTo(t,0),c.lineTo(m,0),c.lineTo(m,r),c.lineTo(t,r),c.lineTo(t,y+k),c.lineTo(0,y+k),c.lineTo(0,
-y),c.lineTo(t,y),c.lineTo(t,J+k),c.lineTo(0,J+k),c.lineTo(0,J),c.lineTo(t,J),c.close());c.end()};mxCellRenderer.registerShape("module",Oa);mxUtils.extend(Ra,mxCylinder);Ra.prototype.jettyWidth=32;Ra.prototype.jettyHeight=12;Ra.prototype.redrawPath=function(c,k,t,m,r,v){var x=parseFloat(mxUtils.getValue(this.style,"jettyWidth",this.jettyWidth));k=parseFloat(mxUtils.getValue(this.style,"jettyHeight",this.jettyHeight));t=x/2;x=t+x/2;var J=.3*r-k/2,y=.7*r-k/2;v?(c.moveTo(t,J),c.lineTo(x,J),c.lineTo(x,
-J+k),c.lineTo(t,J+k),c.moveTo(t,y),c.lineTo(x,y),c.lineTo(x,y+k),c.lineTo(t,y+k)):(c.moveTo(t,0),c.lineTo(m,0),c.lineTo(m,r),c.lineTo(t,r),c.lineTo(t,y+k),c.lineTo(0,y+k),c.lineTo(0,y),c.lineTo(t,y),c.lineTo(t,J+k),c.lineTo(0,J+k),c.lineTo(0,J),c.lineTo(t,J),c.close());c.end()};mxCellRenderer.registerShape("component",Ra);mxUtils.extend(Ma,mxRectangleShape);Ma.prototype.paintForeground=function(c,k,t,m,r){var v=m/2,x=r/2,J=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/
-2;c.begin();this.addPoints(c,[new mxPoint(k+v,t),new mxPoint(k+m,t+x),new mxPoint(k+v,t+r),new mxPoint(k,t+x)],this.isRounded,J,!0);c.stroke();mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxCellRenderer.registerShape("associativeEntity",Ma);mxUtils.extend(Na,mxDoubleEllipse);Na.prototype.outerStroke=!0;Na.prototype.paintVertexShape=function(c,k,t,m,r){var v=Math.min(4,Math.min(m/5,r/5));0<m&&0<r&&(c.ellipse(k+v,t+v,m-2*v,r-2*v),c.fillAndStroke());c.setShadow(!1);this.outerStroke&&
-(c.ellipse(k,t,m,r),c.stroke())};mxCellRenderer.registerShape("endState",Na);mxUtils.extend(ta,Na);ta.prototype.outerStroke=!1;mxCellRenderer.registerShape("startState",ta);mxUtils.extend(Pa,mxArrowConnector);Pa.prototype.defaultWidth=4;Pa.prototype.isOpenEnded=function(){return!0};Pa.prototype.getEdgeWidth=function(){return mxUtils.getNumber(this.style,"width",this.defaultWidth)+Math.max(0,this.strokewidth-1)};Pa.prototype.isArrowRounded=function(){return this.isRounded};mxCellRenderer.registerShape("link",
-Pa);mxUtils.extend($a,mxArrowConnector);$a.prototype.defaultWidth=10;$a.prototype.defaultArrowWidth=20;$a.prototype.getStartArrowWidth=function(){return this.getEdgeWidth()+mxUtils.getNumber(this.style,"startWidth",this.defaultArrowWidth)};$a.prototype.getEndArrowWidth=function(){return this.getEdgeWidth()+mxUtils.getNumber(this.style,"endWidth",this.defaultArrowWidth)};$a.prototype.getEdgeWidth=function(){return mxUtils.getNumber(this.style,"width",this.defaultWidth)+Math.max(0,this.strokewidth-
-1)};mxCellRenderer.registerShape("flexArrow",$a);mxUtils.extend(gb,mxActor);gb.prototype.size=30;gb.prototype.isRoundable=function(){return!0};gb.prototype.redrawPath=function(c,k,t,m,r){k=Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size)));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,r),new mxPoint(0,k),new mxPoint(m,0),new mxPoint(m,r)],this.isRounded,t,!0);c.end()};mxCellRenderer.registerShape("manualInput",
-gb);mxUtils.extend(cb,mxRectangleShape);cb.prototype.dx=20;cb.prototype.dy=20;cb.prototype.isHtmlAllowed=function(){return!1};cb.prototype.paintForeground=function(c,k,t,m,r){mxRectangleShape.prototype.paintForeground.apply(this,arguments);var v=0;if(this.isRounded){var x=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100;v=Math.max(v,Math.min(m*x,r*x))}x=Math.max(v,Math.min(m,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));v=Math.max(v,Math.min(r,
-parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));c.begin();c.moveTo(k,t+v);c.lineTo(k+m,t+v);c.end();c.stroke();c.begin();c.moveTo(k+x,t);c.lineTo(k+x,t+r);c.end();c.stroke()};mxCellRenderer.registerShape("internalStorage",cb);mxUtils.extend(hb,mxActor);hb.prototype.dx=20;hb.prototype.dy=20;hb.prototype.redrawPath=function(c,k,t,m,r){k=Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));t=Math.max(0,Math.min(r,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));
-parseFloat(mxUtils.getValue(this.style,"size",this.size));var v=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,0),new mxPoint(m,0),new mxPoint(m,t),new mxPoint(k,t),new mxPoint(k,r),new mxPoint(0,r)],this.isRounded,v,!0);c.end()};mxCellRenderer.registerShape("corner",hb);mxUtils.extend(ib,mxActor);ib.prototype.redrawPath=function(c,k,t,m,r){c.moveTo(0,0);c.lineTo(0,r);c.end();c.moveTo(m,0);c.lineTo(m,r);c.end();c.moveTo(0,r/2);c.lineTo(m,
-r/2);c.end()};mxCellRenderer.registerShape("crossbar",ib);mxUtils.extend(fb,mxActor);fb.prototype.dx=20;fb.prototype.dy=20;fb.prototype.redrawPath=function(c,k,t,m,r){k=Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));t=Math.max(0,Math.min(r,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));parseFloat(mxUtils.getValue(this.style,"size",this.size));var v=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,
-0),new mxPoint(m,0),new mxPoint(m,t),new mxPoint((m+k)/2,t),new mxPoint((m+k)/2,r),new mxPoint((m-k)/2,r),new mxPoint((m-k)/2,t),new mxPoint(0,t)],this.isRounded,v,!0);c.end()};mxCellRenderer.registerShape("tee",fb);mxUtils.extend(fa,mxActor);fa.prototype.arrowWidth=.3;fa.prototype.arrowSize=.2;fa.prototype.redrawPath=function(c,k,t,m,r){var v=r*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",this.arrowWidth))));k=m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,
-"arrowSize",this.arrowSize))));t=(r-v)/2;v=t+v;var x=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,t),new mxPoint(m-k,t),new mxPoint(m-k,0),new mxPoint(m,r/2),new mxPoint(m-k,r),new mxPoint(m-k,v),new mxPoint(0,v)],this.isRounded,x,!0);c.end()};mxCellRenderer.registerShape("singleArrow",fa);mxUtils.extend(Ga,mxActor);Ga.prototype.redrawPath=function(c,k,t,m,r){var v=r*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",
-fa.prototype.arrowWidth))));k=m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",fa.prototype.arrowSize))));t=(r-v)/2;v=t+v;var x=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,r/2),new mxPoint(k,0),new mxPoint(k,t),new mxPoint(m-k,t),new mxPoint(m-k,0),new mxPoint(m,r/2),new mxPoint(m-k,r),new mxPoint(m-k,v),new mxPoint(k,v),new mxPoint(k,r)],this.isRounded,x,!0);c.end()};mxCellRenderer.registerShape("doubleArrow",
-Ga);mxUtils.extend(ya,mxActor);ya.prototype.size=.1;ya.prototype.fixedSize=20;ya.prototype.redrawPath=function(c,k,t,m,r){k="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize)))):m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c.moveTo(k,0);c.lineTo(m,0);c.quadTo(m-2*k,r/2,m,r);c.lineTo(k,r);c.quadTo(k-2*k,r/2,k,0);c.close();c.end()};mxCellRenderer.registerShape("dataStorage",ya);
-mxUtils.extend(u,mxActor);u.prototype.redrawPath=function(c,k,t,m,r){c.moveTo(0,0);c.quadTo(m,0,m,r/2);c.quadTo(m,r,0,r);c.close();c.end()};mxCellRenderer.registerShape("or",u);mxUtils.extend(A,mxActor);A.prototype.redrawPath=function(c,k,t,m,r){c.moveTo(0,0);c.quadTo(m,0,m,r/2);c.quadTo(m,r,0,r);c.quadTo(m/2,r/2,0,0);c.close();c.end()};mxCellRenderer.registerShape("xor",A);mxUtils.extend(B,mxActor);B.prototype.size=20;B.prototype.isRoundable=function(){return!0};B.prototype.redrawPath=function(c,
-k,t,m,r){k=Math.min(m/2,Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(k,0),new mxPoint(m-k,0),new mxPoint(m,.8*k),new mxPoint(m,r),new mxPoint(0,r),new mxPoint(0,.8*k)],this.isRounded,t,!0);c.end()};mxCellRenderer.registerShape("loopLimit",B);mxUtils.extend(E,mxActor);E.prototype.size=.375;E.prototype.isRoundable=function(){return!0};E.prototype.redrawPath=function(c,
-k,t,m,r){k=r*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,0),new mxPoint(m,0),new mxPoint(m,r-k),new mxPoint(m/2,r),new mxPoint(0,r-k)],this.isRounded,t,!0);c.end()};mxCellRenderer.registerShape("offPageConnector",E);mxUtils.extend(N,mxEllipse);N.prototype.paintVertexShape=function(c,k,t,m,r){mxEllipse.prototype.paintVertexShape.apply(this,arguments);
-c.begin();c.moveTo(k+m/2,t+r);c.lineTo(k+m,t+r);c.end();c.stroke()};mxCellRenderer.registerShape("tapeData",N);mxUtils.extend(Q,mxEllipse);Q.prototype.paintVertexShape=function(c,k,t,m,r){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.setShadow(!1);c.begin();c.moveTo(k,t+r/2);c.lineTo(k+m,t+r/2);c.end();c.stroke();c.begin();c.moveTo(k+m/2,t);c.lineTo(k+m/2,t+r);c.end();c.stroke()};mxCellRenderer.registerShape("orEllipse",Q);mxUtils.extend(T,mxEllipse);T.prototype.paintVertexShape=function(c,
-k,t,m,r){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.setShadow(!1);c.begin();c.moveTo(k+.145*m,t+.145*r);c.lineTo(k+.855*m,t+.855*r);c.end();c.stroke();c.begin();c.moveTo(k+.855*m,t+.145*r);c.lineTo(k+.145*m,t+.855*r);c.end();c.stroke()};mxCellRenderer.registerShape("sumEllipse",T);mxUtils.extend(ia,mxRhombus);ia.prototype.paintVertexShape=function(c,k,t,m,r){mxRhombus.prototype.paintVertexShape.apply(this,arguments);c.setShadow(!1);c.begin();c.moveTo(k,t+r/2);c.lineTo(k+m,t+r/2);
-c.end();c.stroke()};mxCellRenderer.registerShape("sortShape",ia);mxUtils.extend(da,mxEllipse);da.prototype.paintVertexShape=function(c,k,t,m,r){c.begin();c.moveTo(k,t);c.lineTo(k+m,t);c.lineTo(k+m/2,t+r/2);c.close();c.fillAndStroke();c.begin();c.moveTo(k,t+r);c.lineTo(k+m,t+r);c.lineTo(k+m/2,t+r/2);c.close();c.fillAndStroke()};mxCellRenderer.registerShape("collate",da);mxUtils.extend(ha,mxEllipse);ha.prototype.paintVertexShape=function(c,k,t,m,r){var v=c.state.strokeWidth/2,x=10+2*v,J=t+r-x/2;c.begin();
-c.moveTo(k,t);c.lineTo(k,t+r);c.moveTo(k+v,J);c.lineTo(k+v+x,J-x/2);c.moveTo(k+v,J);c.lineTo(k+v+x,J+x/2);c.moveTo(k+v,J);c.lineTo(k+m-v,J);c.moveTo(k+m,t);c.lineTo(k+m,t+r);c.moveTo(k+m-v,J);c.lineTo(k+m-x-v,J-x/2);c.moveTo(k+m-v,J);c.lineTo(k+m-x-v,J+x/2);c.end();c.stroke()};mxCellRenderer.registerShape("dimension",ha);mxUtils.extend(ua,mxEllipse);ua.prototype.drawHidden=!0;ua.prototype.paintVertexShape=function(c,k,t,m,r){this.outline||c.setStrokeColor(null);if(null!=this.style){var v=c.pointerEvents,
-x=null!=this.fill&&this.fill!=mxConstants.NONE;"1"==mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1")||x||(c.pointerEvents=!1);var J="1"==mxUtils.getValue(this.style,"top","1"),y="1"==mxUtils.getValue(this.style,"left","1"),aa="1"==mxUtils.getValue(this.style,"right","1"),R="1"==mxUtils.getValue(this.style,"bottom","1");this.drawHidden||x||this.outline||J||aa||R||y?(c.rect(k,t,m,r),c.fill(),c.pointerEvents=v,c.setStrokeColor(this.stroke),c.setLineCap("square"),c.begin(),c.moveTo(k,
-t),this.outline||J?c.lineTo(k+m,t):c.moveTo(k+m,t),this.outline||aa?c.lineTo(k+m,t+r):c.moveTo(k+m,t+r),this.outline||R?c.lineTo(k,t+r):c.moveTo(k,t+r),(this.outline||y)&&c.lineTo(k,t),c.end(),c.stroke(),c.setLineCap("flat")):c.setStrokeColor(this.stroke)}};mxCellRenderer.registerShape("partialRectangle",ua);mxUtils.extend(Ja,mxEllipse);Ja.prototype.paintVertexShape=function(c,k,t,m,r){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.setShadow(!1);c.begin();"vertical"==mxUtils.getValue(this.style,
-"line")?(c.moveTo(k+m/2,t),c.lineTo(k+m/2,t+r)):(c.moveTo(k,t+r/2),c.lineTo(k+m,t+r/2));c.end();c.stroke()};mxCellRenderer.registerShape("lineEllipse",Ja);mxUtils.extend(Ka,mxActor);Ka.prototype.redrawPath=function(c,k,t,m,r){k=Math.min(m,r/2);c.moveTo(0,0);c.lineTo(m-k,0);c.quadTo(m,0,m,r/2);c.quadTo(m,r,m-k,r);c.lineTo(0,r);c.close();c.end()};mxCellRenderer.registerShape("delay",Ka);mxUtils.extend(xa,mxActor);xa.prototype.size=.2;xa.prototype.redrawPath=function(c,k,t,m,r){k=Math.min(r,m);var v=
-Math.max(0,Math.min(k,k*parseFloat(mxUtils.getValue(this.style,"size",this.size))));k=(r-v)/2;t=k+v;var x=(m-v)/2;v=x+v;c.moveTo(0,k);c.lineTo(x,k);c.lineTo(x,0);c.lineTo(v,0);c.lineTo(v,k);c.lineTo(m,k);c.lineTo(m,t);c.lineTo(v,t);c.lineTo(v,r);c.lineTo(x,r);c.lineTo(x,t);c.lineTo(0,t);c.close();c.end()};mxCellRenderer.registerShape("cross",xa);mxUtils.extend(Ba,mxActor);Ba.prototype.size=.25;Ba.prototype.redrawPath=function(c,k,t,m,r){k=Math.min(m,r/2);t=Math.min(m-k,Math.max(0,parseFloat(mxUtils.getValue(this.style,
-"size",this.size)))*m);c.moveTo(0,r/2);c.lineTo(t,0);c.lineTo(m-k,0);c.quadTo(m,0,m,r/2);c.quadTo(m,r,m-k,r);c.lineTo(t,r);c.close();c.end()};mxCellRenderer.registerShape("display",Ba);mxUtils.extend(wa,mxActor);wa.prototype.cst={RECT2:"mxgraph.basic.rect"};wa.prototype.customProperties=[{name:"rectStyle",dispName:"Style",type:"enum",defVal:"square",enumList:[{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",
+mxPerimeter.HexagonPerimeter2);mxUtils.extend(Sa,mxShape);Sa.prototype.size=10;Sa.prototype.paintBackground=function(c,l,t,m,r){var v=parseFloat(mxUtils.getValue(this.style,"size",this.size));c.translate(l,t);c.ellipse((m-v)/2,0,v,v);c.fillAndStroke();c.begin();c.moveTo(m/2,v);c.lineTo(m/2,r);c.end();c.stroke()};mxCellRenderer.registerShape("lollipop",Sa);mxUtils.extend(ma,mxShape);ma.prototype.size=10;ma.prototype.inset=2;ma.prototype.paintBackground=function(c,l,t,m,r){var v=parseFloat(mxUtils.getValue(this.style,
+"size",this.size)),x=parseFloat(mxUtils.getValue(this.style,"inset",this.inset))+this.strokewidth;c.translate(l,t);c.begin();c.moveTo(m/2,v+x);c.lineTo(m/2,r);c.end();c.stroke();c.begin();c.moveTo((m-v)/2-x,v/2);c.quadTo((m-v)/2-x,v+x,m/2,v+x);c.quadTo((m+v)/2+x,v+x,(m+v)/2+x,v/2);c.end();c.stroke()};mxCellRenderer.registerShape("requires",ma);mxUtils.extend(Fa,mxShape);Fa.prototype.paintBackground=function(c,l,t,m,r){c.translate(l,t);c.begin();c.moveTo(0,0);c.quadTo(m,0,m,r/2);c.quadTo(m,r,0,r);
+c.end();c.stroke()};mxCellRenderer.registerShape("requiredInterface",Fa);mxUtils.extend(Ha,mxShape);Ha.prototype.inset=2;Ha.prototype.paintBackground=function(c,l,t,m,r){var v=parseFloat(mxUtils.getValue(this.style,"inset",this.inset))+this.strokewidth;c.translate(l,t);c.ellipse(0,v,m-2*v,r-2*v);c.fillAndStroke();c.begin();c.moveTo(m/2,0);c.quadTo(m,0,m,r/2);c.quadTo(m,r,m/2,r);c.end();c.stroke()};mxCellRenderer.registerShape("providedRequiredInterface",Ha);mxUtils.extend(Na,mxCylinder);Na.prototype.jettyWidth=
+20;Na.prototype.jettyHeight=10;Na.prototype.redrawPath=function(c,l,t,m,r,v){var x=parseFloat(mxUtils.getValue(this.style,"jettyWidth",this.jettyWidth));l=parseFloat(mxUtils.getValue(this.style,"jettyHeight",this.jettyHeight));t=x/2;x=t+x/2;var J=Math.min(l,r-l),y=Math.min(J+2*l,r-l);v?(c.moveTo(t,J),c.lineTo(x,J),c.lineTo(x,J+l),c.lineTo(t,J+l),c.moveTo(t,y),c.lineTo(x,y),c.lineTo(x,y+l),c.lineTo(t,y+l)):(c.moveTo(t,0),c.lineTo(m,0),c.lineTo(m,r),c.lineTo(t,r),c.lineTo(t,y+l),c.lineTo(0,y+l),c.lineTo(0,
+y),c.lineTo(t,y),c.lineTo(t,J+l),c.lineTo(0,J+l),c.lineTo(0,J),c.lineTo(t,J),c.close());c.end()};mxCellRenderer.registerShape("module",Na);mxUtils.extend(Qa,mxCylinder);Qa.prototype.jettyWidth=32;Qa.prototype.jettyHeight=12;Qa.prototype.redrawPath=function(c,l,t,m,r,v){var x=parseFloat(mxUtils.getValue(this.style,"jettyWidth",this.jettyWidth));l=parseFloat(mxUtils.getValue(this.style,"jettyHeight",this.jettyHeight));t=x/2;x=t+x/2;var J=.3*r-l/2,y=.7*r-l/2;v?(c.moveTo(t,J),c.lineTo(x,J),c.lineTo(x,
+J+l),c.lineTo(t,J+l),c.moveTo(t,y),c.lineTo(x,y),c.lineTo(x,y+l),c.lineTo(t,y+l)):(c.moveTo(t,0),c.lineTo(m,0),c.lineTo(m,r),c.lineTo(t,r),c.lineTo(t,y+l),c.lineTo(0,y+l),c.lineTo(0,y),c.lineTo(t,y),c.lineTo(t,J+l),c.lineTo(0,J+l),c.lineTo(0,J),c.lineTo(t,J),c.close());c.end()};mxCellRenderer.registerShape("component",Qa);mxUtils.extend(La,mxRectangleShape);La.prototype.paintForeground=function(c,l,t,m,r){var v=m/2,x=r/2,J=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/
+2;c.begin();this.addPoints(c,[new mxPoint(l+v,t),new mxPoint(l+m,t+x),new mxPoint(l+v,t+r),new mxPoint(l,t+x)],this.isRounded,J,!0);c.stroke();mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxCellRenderer.registerShape("associativeEntity",La);mxUtils.extend(Ja,mxDoubleEllipse);Ja.prototype.outerStroke=!0;Ja.prototype.paintVertexShape=function(c,l,t,m,r){var v=Math.min(4,Math.min(m/5,r/5));0<m&&0<r&&(c.ellipse(l+v,t+v,m-2*v,r-2*v),c.fillAndStroke());c.setShadow(!1);this.outerStroke&&
+(c.ellipse(l,t,m,r),c.stroke())};mxCellRenderer.registerShape("endState",Ja);mxUtils.extend(ua,Ja);ua.prototype.outerStroke=!1;mxCellRenderer.registerShape("startState",ua);mxUtils.extend(Ia,mxArrowConnector);Ia.prototype.defaultWidth=4;Ia.prototype.isOpenEnded=function(){return!0};Ia.prototype.getEdgeWidth=function(){return mxUtils.getNumber(this.style,"width",this.defaultWidth)+Math.max(0,this.strokewidth-1)};Ia.prototype.isArrowRounded=function(){return this.isRounded};mxCellRenderer.registerShape("link",
+Ia);mxUtils.extend(Za,mxArrowConnector);Za.prototype.defaultWidth=10;Za.prototype.defaultArrowWidth=20;Za.prototype.getStartArrowWidth=function(){return this.getEdgeWidth()+mxUtils.getNumber(this.style,"startWidth",this.defaultArrowWidth)};Za.prototype.getEndArrowWidth=function(){return this.getEdgeWidth()+mxUtils.getNumber(this.style,"endWidth",this.defaultArrowWidth)};Za.prototype.getEdgeWidth=function(){return mxUtils.getNumber(this.style,"width",this.defaultWidth)+Math.max(0,this.strokewidth-
+1)};mxCellRenderer.registerShape("flexArrow",Za);mxUtils.extend(gb,mxActor);gb.prototype.size=30;gb.prototype.isRoundable=function(){return!0};gb.prototype.redrawPath=function(c,l,t,m,r){l=Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size)));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,r),new mxPoint(0,l),new mxPoint(m,0),new mxPoint(m,r)],this.isRounded,t,!0);c.end()};mxCellRenderer.registerShape("manualInput",
+gb);mxUtils.extend(db,mxRectangleShape);db.prototype.dx=20;db.prototype.dy=20;db.prototype.isHtmlAllowed=function(){return!1};db.prototype.paintForeground=function(c,l,t,m,r){mxRectangleShape.prototype.paintForeground.apply(this,arguments);var v=0;if(this.isRounded){var x=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100;v=Math.max(v,Math.min(m*x,r*x))}x=Math.max(v,Math.min(m,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));v=Math.max(v,Math.min(r,
+parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));c.begin();c.moveTo(l,t+v);c.lineTo(l+m,t+v);c.end();c.stroke();c.begin();c.moveTo(l+x,t);c.lineTo(l+x,t+r);c.end();c.stroke()};mxCellRenderer.registerShape("internalStorage",db);mxUtils.extend(hb,mxActor);hb.prototype.dx=20;hb.prototype.dy=20;hb.prototype.redrawPath=function(c,l,t,m,r){l=Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));t=Math.max(0,Math.min(r,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));
+parseFloat(mxUtils.getValue(this.style,"size",this.size));var v=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,0),new mxPoint(m,0),new mxPoint(m,t),new mxPoint(l,t),new mxPoint(l,r),new mxPoint(0,r)],this.isRounded,v,!0);c.end()};mxCellRenderer.registerShape("corner",hb);mxUtils.extend(ob,mxActor);ob.prototype.redrawPath=function(c,l,t,m,r){c.moveTo(0,0);c.lineTo(0,r);c.end();c.moveTo(m,0);c.lineTo(m,r);c.end();c.moveTo(0,r/2);c.lineTo(m,
+r/2);c.end()};mxCellRenderer.registerShape("crossbar",ob);mxUtils.extend(cb,mxActor);cb.prototype.dx=20;cb.prototype.dy=20;cb.prototype.redrawPath=function(c,l,t,m,r){l=Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));t=Math.max(0,Math.min(r,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));parseFloat(mxUtils.getValue(this.style,"size",this.size));var v=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,
+0),new mxPoint(m,0),new mxPoint(m,t),new mxPoint((m+l)/2,t),new mxPoint((m+l)/2,r),new mxPoint((m-l)/2,r),new mxPoint((m-l)/2,t),new mxPoint(0,t)],this.isRounded,v,!0);c.end()};mxCellRenderer.registerShape("tee",cb);mxUtils.extend(ab,mxActor);ab.prototype.arrowWidth=.3;ab.prototype.arrowSize=.2;ab.prototype.redrawPath=function(c,l,t,m,r){var v=r*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",this.arrowWidth))));l=m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,
+"arrowSize",this.arrowSize))));t=(r-v)/2;v=t+v;var x=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,t),new mxPoint(m-l,t),new mxPoint(m-l,0),new mxPoint(m,r/2),new mxPoint(m-l,r),new mxPoint(m-l,v),new mxPoint(0,v)],this.isRounded,x,!0);c.end()};mxCellRenderer.registerShape("singleArrow",ab);mxUtils.extend(da,mxActor);da.prototype.redrawPath=function(c,l,t,m,r){var v=r*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",
+ab.prototype.arrowWidth))));l=m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",ab.prototype.arrowSize))));t=(r-v)/2;v=t+v;var x=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,r/2),new mxPoint(l,0),new mxPoint(l,t),new mxPoint(m-l,t),new mxPoint(m-l,0),new mxPoint(m,r/2),new mxPoint(m-l,r),new mxPoint(m-l,v),new mxPoint(l,v),new mxPoint(l,r)],this.isRounded,x,!0);c.end()};mxCellRenderer.registerShape("doubleArrow",
+da);mxUtils.extend(wa,mxActor);wa.prototype.size=.1;wa.prototype.fixedSize=20;wa.prototype.redrawPath=function(c,l,t,m,r){l="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize)))):m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c.moveTo(l,0);c.lineTo(m,0);c.quadTo(m-2*l,r/2,m,r);c.lineTo(l,r);c.quadTo(l-2*l,r/2,l,0);c.close();c.end()};mxCellRenderer.registerShape("dataStorage",wa);
+mxUtils.extend(u,mxActor);u.prototype.redrawPath=function(c,l,t,m,r){c.moveTo(0,0);c.quadTo(m,0,m,r/2);c.quadTo(m,r,0,r);c.close();c.end()};mxCellRenderer.registerShape("or",u);mxUtils.extend(A,mxActor);A.prototype.redrawPath=function(c,l,t,m,r){c.moveTo(0,0);c.quadTo(m,0,m,r/2);c.quadTo(m,r,0,r);c.quadTo(m/2,r/2,0,0);c.close();c.end()};mxCellRenderer.registerShape("xor",A);mxUtils.extend(B,mxActor);B.prototype.size=20;B.prototype.isRoundable=function(){return!0};B.prototype.redrawPath=function(c,
+l,t,m,r){l=Math.min(m/2,Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(l,0),new mxPoint(m-l,0),new mxPoint(m,.8*l),new mxPoint(m,r),new mxPoint(0,r),new mxPoint(0,.8*l)],this.isRounded,t,!0);c.end()};mxCellRenderer.registerShape("loopLimit",B);mxUtils.extend(E,mxActor);E.prototype.size=.375;E.prototype.isRoundable=function(){return!0};E.prototype.redrawPath=function(c,
+l,t,m,r){l=r*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,0),new mxPoint(m,0),new mxPoint(m,r-l),new mxPoint(m/2,r),new mxPoint(0,r-l)],this.isRounded,t,!0);c.end()};mxCellRenderer.registerShape("offPageConnector",E);mxUtils.extend(N,mxEllipse);N.prototype.paintVertexShape=function(c,l,t,m,r){mxEllipse.prototype.paintVertexShape.apply(this,arguments);
+c.begin();c.moveTo(l+m/2,t+r);c.lineTo(l+m,t+r);c.end();c.stroke()};mxCellRenderer.registerShape("tapeData",N);mxUtils.extend(Q,mxEllipse);Q.prototype.paintVertexShape=function(c,l,t,m,r){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.setShadow(!1);c.begin();c.moveTo(l,t+r/2);c.lineTo(l+m,t+r/2);c.end();c.stroke();c.begin();c.moveTo(l+m/2,t);c.lineTo(l+m/2,t+r);c.end();c.stroke()};mxCellRenderer.registerShape("orEllipse",Q);mxUtils.extend(W,mxEllipse);W.prototype.paintVertexShape=function(c,
+l,t,m,r){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.setShadow(!1);c.begin();c.moveTo(l+.145*m,t+.145*r);c.lineTo(l+.855*m,t+.855*r);c.end();c.stroke();c.begin();c.moveTo(l+.855*m,t+.145*r);c.lineTo(l+.145*m,t+.855*r);c.end();c.stroke()};mxCellRenderer.registerShape("sumEllipse",W);mxUtils.extend(ha,mxRhombus);ha.prototype.paintVertexShape=function(c,l,t,m,r){mxRhombus.prototype.paintVertexShape.apply(this,arguments);c.setShadow(!1);c.begin();c.moveTo(l,t+r/2);c.lineTo(l+m,t+r/2);
+c.end();c.stroke()};mxCellRenderer.registerShape("sortShape",ha);mxUtils.extend(fa,mxEllipse);fa.prototype.paintVertexShape=function(c,l,t,m,r){c.begin();c.moveTo(l,t);c.lineTo(l+m,t);c.lineTo(l+m/2,t+r/2);c.close();c.fillAndStroke();c.begin();c.moveTo(l,t+r);c.lineTo(l+m,t+r);c.lineTo(l+m/2,t+r/2);c.close();c.fillAndStroke()};mxCellRenderer.registerShape("collate",fa);mxUtils.extend(ia,mxEllipse);ia.prototype.paintVertexShape=function(c,l,t,m,r){var v=c.state.strokeWidth/2,x=10+2*v,J=t+r-x/2;c.begin();
+c.moveTo(l,t);c.lineTo(l,t+r);c.moveTo(l+v,J);c.lineTo(l+v+x,J-x/2);c.moveTo(l+v,J);c.lineTo(l+v+x,J+x/2);c.moveTo(l+v,J);c.lineTo(l+m-v,J);c.moveTo(l+m,t);c.lineTo(l+m,t+r);c.moveTo(l+m-v,J);c.lineTo(l+m-x-v,J-x/2);c.moveTo(l+m-v,J);c.lineTo(l+m-x-v,J+x/2);c.end();c.stroke()};mxCellRenderer.registerShape("dimension",ia);mxUtils.extend(ya,mxEllipse);ya.prototype.drawHidden=!0;ya.prototype.paintVertexShape=function(c,l,t,m,r){this.outline||c.setStrokeColor(null);if(null!=this.style){var v=c.pointerEvents,
+x=null!=this.fill&&this.fill!=mxConstants.NONE;"1"==mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1")||x||(c.pointerEvents=!1);var J="1"==mxUtils.getValue(this.style,"top","1"),y="1"==mxUtils.getValue(this.style,"left","1"),aa="1"==mxUtils.getValue(this.style,"right","1"),R="1"==mxUtils.getValue(this.style,"bottom","1");this.drawHidden||x||this.outline||J||aa||R||y?(c.rect(l,t,m,r),c.fill(),c.pointerEvents=v,c.setStrokeColor(this.stroke),c.setLineCap("square"),c.begin(),c.moveTo(l,
+t),this.outline||J?c.lineTo(l+m,t):c.moveTo(l+m,t),this.outline||aa?c.lineTo(l+m,t+r):c.moveTo(l+m,t+r),this.outline||R?c.lineTo(l,t+r):c.moveTo(l,t+r),(this.outline||y)&&c.lineTo(l,t),c.end(),c.stroke(),c.setLineCap("flat")):c.setStrokeColor(this.stroke)}};mxCellRenderer.registerShape("partialRectangle",ya);mxUtils.extend(xa,mxEllipse);xa.prototype.paintVertexShape=function(c,l,t,m,r){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.setShadow(!1);c.begin();"vertical"==mxUtils.getValue(this.style,
+"line")?(c.moveTo(l+m/2,t),c.lineTo(l+m/2,t+r)):(c.moveTo(l,t+r/2),c.lineTo(l+m,t+r/2));c.end();c.stroke()};mxCellRenderer.registerShape("lineEllipse",xa);mxUtils.extend(Da,mxActor);Da.prototype.redrawPath=function(c,l,t,m,r){l=Math.min(m,r/2);c.moveTo(0,0);c.lineTo(m-l,0);c.quadTo(m,0,m,r/2);c.quadTo(m,r,m-l,r);c.lineTo(0,r);c.close();c.end()};mxCellRenderer.registerShape("delay",Da);mxUtils.extend(Oa,mxActor);Oa.prototype.size=.2;Oa.prototype.redrawPath=function(c,l,t,m,r){l=Math.min(r,m);var v=
+Math.max(0,Math.min(l,l*parseFloat(mxUtils.getValue(this.style,"size",this.size))));l=(r-v)/2;t=l+v;var x=(m-v)/2;v=x+v;c.moveTo(0,l);c.lineTo(x,l);c.lineTo(x,0);c.lineTo(v,0);c.lineTo(v,l);c.lineTo(m,l);c.lineTo(m,t);c.lineTo(v,t);c.lineTo(v,r);c.lineTo(x,r);c.lineTo(x,t);c.lineTo(0,t);c.close();c.end()};mxCellRenderer.registerShape("cross",Oa);mxUtils.extend(Ma,mxActor);Ma.prototype.size=.25;Ma.prototype.redrawPath=function(c,l,t,m,r){l=Math.min(m,r/2);t=Math.min(m-l,Math.max(0,parseFloat(mxUtils.getValue(this.style,
+"size",this.size)))*m);c.moveTo(0,r/2);c.lineTo(t,0);c.lineTo(m-l,0);c.quadTo(m,0,m,r/2);c.quadTo(m,r,m-l,r);c.lineTo(t,r);c.close();c.end()};mxCellRenderer.registerShape("display",Ma);mxUtils.extend(Aa,mxActor);Aa.prototype.cst={RECT2:"mxgraph.basic.rect"};Aa.prototype.customProperties=[{name:"rectStyle",dispName:"Style",type:"enum",defVal:"square",enumList:[{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",
dispName:"Fold"}]},{name:"size",dispName:"Corner Size",type:"float",defVal:10},{name:"absoluteCornerSize",dispName:"Abs. Corner Size",type:"bool",defVal:!0},{name:"indent",dispName:"Indent",type:"float",defVal:2},{name:"rectOutline",dispName:"Outline",type:"enum",defVal:"single",enumList:[{val:"single",dispName:"Single"},{val:"double",dispName:"Double"},{val:"frame",dispName:"Frame"}]},{name:"fillColor2",dispName:"Inside Fill Color",type:"color",defVal:"none"},{name:"gradientColor2",dispName:"Inside Gradient Color",
type:"color",defVal:"none"},{name:"gradientDirection2",dispName:"Inside Gradient Direction",type:"enum",defVal:"south",enumList:[{val:"south",dispName:"South"},{val:"west",dispName:"West"},{val:"north",dispName:"North"},{val:"east",dispName:"East"}]},{name:"top",dispName:"Top Line",type:"bool",defVal:!0},{name:"right",dispName:"Right",type:"bool",defVal:!0},{name:"bottom",dispName:"Bottom Line",type:"bool",defVal:!0},{name:"left",dispName:"Left ",type:"bool",defVal:!0},{name:"topLeftStyle",dispName:"Top Left Style",
type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]},{name:"topRightStyle",dispName:"Top Right Style",type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",
dispName:"Fold"}]},{name:"bottomRightStyle",dispName:"Bottom Right Style",type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]},{name:"bottomLeftStyle",dispName:"Bottom Left Style",type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},
-{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]}];wa.prototype.paintVertexShape=function(c,k,t,m,r){c.translate(k,t);this.strictDrawShape(c,0,0,m,r)};wa.prototype.strictDrawShape=function(c,k,t,m,r,v){var x=v&&v.rectStyle?v.rectStyle:mxUtils.getValue(this.style,"rectStyle",this.rectStyle),J=v&&v.absoluteCornerSize?v.absoluteCornerSize:mxUtils.getValue(this.style,"absoluteCornerSize",this.absoluteCornerSize),y=v&&v.size?v.size:Math.max(0,Math.min(m,
-parseFloat(mxUtils.getValue(this.style,"size",this.size)))),aa=v&&v.rectOutline?v.rectOutline:mxUtils.getValue(this.style,"rectOutline",this.rectOutline),R=v&&v.indent?v.indent:Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,"indent",this.indent)))),Ha=v&&v.dashed?v.dashed:mxUtils.getValue(this.style,"dashed",!1),Wa=v&&v.dashPattern?v.dashPattern:mxUtils.getValue(this.style,"dashPattern",null),Qa=v&&v.relIndent?v.relIndent:Math.max(0,Math.min(50,R)),ka=v&&v.top?v.top:mxUtils.getValue(this.style,
-"top",!0),qa=v&&v.right?v.right:mxUtils.getValue(this.style,"right",!0),na=v&&v.bottom?v.bottom:mxUtils.getValue(this.style,"bottom",!0),la=v&&v.left?v.left:mxUtils.getValue(this.style,"left",!0),Aa=v&&v.topLeftStyle?v.topLeftStyle:mxUtils.getValue(this.style,"topLeftStyle","default"),Ca=v&&v.topRightStyle?v.topRightStyle:mxUtils.getValue(this.style,"topRightStyle","default"),Da=v&&v.bottomRightStyle?v.bottomRightStyle:mxUtils.getValue(this.style,"bottomRightStyle","default"),Ea=v&&v.bottomLeftStyle?
+{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]}];Aa.prototype.paintVertexShape=function(c,l,t,m,r){c.translate(l,t);this.strictDrawShape(c,0,0,m,r)};Aa.prototype.strictDrawShape=function(c,l,t,m,r,v){var x=v&&v.rectStyle?v.rectStyle:mxUtils.getValue(this.style,"rectStyle",this.rectStyle),J=v&&v.absoluteCornerSize?v.absoluteCornerSize:mxUtils.getValue(this.style,"absoluteCornerSize",this.absoluteCornerSize),y=v&&v.size?v.size:Math.max(0,Math.min(m,
+parseFloat(mxUtils.getValue(this.style,"size",this.size)))),aa=v&&v.rectOutline?v.rectOutline:mxUtils.getValue(this.style,"rectOutline",this.rectOutline),R=v&&v.indent?v.indent:Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,"indent",this.indent)))),Ga=v&&v.dashed?v.dashed:mxUtils.getValue(this.style,"dashed",!1),Va=v&&v.dashPattern?v.dashPattern:mxUtils.getValue(this.style,"dashPattern",null),Pa=v&&v.relIndent?v.relIndent:Math.max(0,Math.min(50,R)),ka=v&&v.top?v.top:mxUtils.getValue(this.style,
+"top",!0),qa=v&&v.right?v.right:mxUtils.getValue(this.style,"right",!0),oa=v&&v.bottom?v.bottom:mxUtils.getValue(this.style,"bottom",!0),la=v&&v.left?v.left:mxUtils.getValue(this.style,"left",!0),za=v&&v.topLeftStyle?v.topLeftStyle:mxUtils.getValue(this.style,"topLeftStyle","default"),Ba=v&&v.topRightStyle?v.topRightStyle:mxUtils.getValue(this.style,"topRightStyle","default"),Ca=v&&v.bottomRightStyle?v.bottomRightStyle:mxUtils.getValue(this.style,"bottomRightStyle","default"),Ea=v&&v.bottomLeftStyle?
v.bottomLeftStyle:mxUtils.getValue(this.style,"bottomLeftStyle","default"),Bb=v&&v.fillColor?v.fillColor:mxUtils.getValue(this.style,"fillColor","#ffffff");v&&v.strokeColor||mxUtils.getValue(this.style,"strokeColor","#000000");var Cb=v&&v.strokeWidth?v.strokeWidth:mxUtils.getValue(this.style,"strokeWidth","1"),yb=v&&v.fillColor2?v.fillColor2:mxUtils.getValue(this.style,"fillColor2","none"),Ab=v&&v.gradientColor2?v.gradientColor2:mxUtils.getValue(this.style,"gradientColor2","none"),Db=v&&v.gradientDirection2?
-v.gradientDirection2:mxUtils.getValue(this.style,"gradientDirection2","south"),Eb=v&&v.opacity?v.opacity:mxUtils.getValue(this.style,"opacity","100"),Fb=Math.max(0,Math.min(50,y));v=wa.prototype;c.setDashed(Ha);Wa&&""!=Wa&&c.setDashPattern(Wa);c.setStrokeWidth(Cb);y=Math.min(.5*r,.5*m,y);J||(y=Fb*Math.min(m,r)/100);y=Math.min(y,.5*Math.min(m,r));J||(R=Math.min(Qa*Math.min(m,r)/100));R=Math.min(R,.5*Math.min(m,r)-y);(ka||qa||na||la)&&"frame"!=aa&&(c.begin(),ka?v.moveNW(c,k,t,m,r,x,Aa,y,la):c.moveTo(0,
-0),ka&&v.paintNW(c,k,t,m,r,x,Aa,y,la),v.paintTop(c,k,t,m,r,x,Ca,y,qa),qa&&v.paintNE(c,k,t,m,r,x,Ca,y,ka),v.paintRight(c,k,t,m,r,x,Da,y,na),na&&v.paintSE(c,k,t,m,r,x,Da,y,qa),v.paintBottom(c,k,t,m,r,x,Ea,y,la),la&&v.paintSW(c,k,t,m,r,x,Ea,y,na),v.paintLeft(c,k,t,m,r,x,Aa,y,ka),c.close(),c.fill(),c.setShadow(!1),c.setFillColor(yb),Ha=J=Eb,"none"==yb&&(J=0),"none"==Ab&&(Ha=0),c.setGradient(yb,Ab,0,0,m,r,Db,J,Ha),c.begin(),ka?v.moveNWInner(c,k,t,m,r,x,Aa,y,R,ka,la):c.moveTo(R,0),v.paintLeftInner(c,k,
-t,m,r,x,Ea,y,R,na,la),la&&na&&v.paintSWInner(c,k,t,m,r,x,Ea,y,R,na),v.paintBottomInner(c,k,t,m,r,x,Da,y,R,qa,na),na&&qa&&v.paintSEInner(c,k,t,m,r,x,Da,y,R),v.paintRightInner(c,k,t,m,r,x,Ca,y,R,ka,qa),qa&&ka&&v.paintNEInner(c,k,t,m,r,x,Ca,y,R),v.paintTopInner(c,k,t,m,r,x,Aa,y,R,la,ka),ka&&la&&v.paintNWInner(c,k,t,m,r,x,Aa,y,R),c.fill(),"none"==Bb&&(c.begin(),v.paintFolds(c,k,t,m,r,x,Aa,Ca,Da,Ea,y,ka,qa,na,la),c.stroke()));ka||qa||na||!la?ka||qa||!na||la?!ka&&!qa&&na&&la?"frame"!=aa?(c.begin(),v.moveSE(c,
-k,t,m,r,x,Da,y,qa),v.paintBottom(c,k,t,m,r,x,Ea,y,la),v.paintSW(c,k,t,m,r,x,Ea,y,na),v.paintLeft(c,k,t,m,r,x,Aa,y,ka),"double"==aa&&(v.moveNWInner(c,k,t,m,r,x,Aa,y,R,ka,la),v.paintLeftInner(c,k,t,m,r,x,Ea,y,R,na,la),v.paintSWInner(c,k,t,m,r,x,Ea,y,R,na),v.paintBottomInner(c,k,t,m,r,x,Da,y,R,qa,na)),c.stroke()):(c.begin(),v.moveSE(c,k,t,m,r,x,Da,y,qa),v.paintBottom(c,k,t,m,r,x,Ea,y,la),v.paintSW(c,k,t,m,r,x,Ea,y,na),v.paintLeft(c,k,t,m,r,x,Aa,y,ka),v.lineNWInner(c,k,t,m,r,x,Aa,y,R,ka,la),v.paintLeftInner(c,
-k,t,m,r,x,Ea,y,R,na,la),v.paintSWInner(c,k,t,m,r,x,Ea,y,R,na),v.paintBottomInner(c,k,t,m,r,x,Da,y,R,qa,na),c.close(),c.fillAndStroke()):ka||!qa||na||la?!ka&&qa&&!na&&la?"frame"!=aa?(c.begin(),v.moveSW(c,k,t,m,r,x,Aa,y,na),v.paintLeft(c,k,t,m,r,x,Aa,y,ka),"double"==aa&&(v.moveNWInner(c,k,t,m,r,x,Aa,y,R,ka,la),v.paintLeftInner(c,k,t,m,r,x,Ea,y,R,na,la)),c.stroke(),c.begin(),v.moveNE(c,k,t,m,r,x,Ca,y,ka),v.paintRight(c,k,t,m,r,x,Da,y,na),"double"==aa&&(v.moveSEInner(c,k,t,m,r,x,Da,y,R,na),v.paintRightInner(c,
-k,t,m,r,x,Ca,y,R,ka,qa)),c.stroke()):(c.begin(),v.moveSW(c,k,t,m,r,x,Aa,y,na),v.paintLeft(c,k,t,m,r,x,Aa,y,ka),v.lineNWInner(c,k,t,m,r,x,Aa,y,R,ka,la),v.paintLeftInner(c,k,t,m,r,x,Ea,y,R,na,la),c.close(),c.fillAndStroke(),c.begin(),v.moveNE(c,k,t,m,r,x,Ca,y,ka),v.paintRight(c,k,t,m,r,x,Da,y,na),v.lineSEInner(c,k,t,m,r,x,Da,y,R,na),v.paintRightInner(c,k,t,m,r,x,Ca,y,R,ka,qa),c.close(),c.fillAndStroke()):!ka&&qa&&na&&!la?"frame"!=aa?(c.begin(),v.moveNE(c,k,t,m,r,x,Ca,y,ka),v.paintRight(c,k,t,m,r,x,
-Da,y,na),v.paintSE(c,k,t,m,r,x,Da,y,qa),v.paintBottom(c,k,t,m,r,x,Ea,y,la),"double"==aa&&(v.moveSWInner(c,k,t,m,r,x,Ea,y,R,la),v.paintBottomInner(c,k,t,m,r,x,Da,y,R,qa,na),v.paintSEInner(c,k,t,m,r,x,Da,y,R),v.paintRightInner(c,k,t,m,r,x,Ca,y,R,ka,qa)),c.stroke()):(c.begin(),v.moveNE(c,k,t,m,r,x,Ca,y,ka),v.paintRight(c,k,t,m,r,x,Da,y,na),v.paintSE(c,k,t,m,r,x,Da,y,qa),v.paintBottom(c,k,t,m,r,x,Ea,y,la),v.lineSWInner(c,k,t,m,r,x,Ea,y,R,la),v.paintBottomInner(c,k,t,m,r,x,Da,y,R,qa,na),v.paintSEInner(c,
-k,t,m,r,x,Da,y,R),v.paintRightInner(c,k,t,m,r,x,Ca,y,R,ka,qa),c.close(),c.fillAndStroke()):!ka&&qa&&na&&la?"frame"!=aa?(c.begin(),v.moveNE(c,k,t,m,r,x,Ca,y,ka),v.paintRight(c,k,t,m,r,x,Da,y,na),v.paintSE(c,k,t,m,r,x,Da,y,qa),v.paintBottom(c,k,t,m,r,x,Ea,y,la),v.paintSW(c,k,t,m,r,x,Ea,y,na),v.paintLeft(c,k,t,m,r,x,Aa,y,ka),"double"==aa&&(v.moveNWInner(c,k,t,m,r,x,Aa,y,R,ka,la),v.paintLeftInner(c,k,t,m,r,x,Ea,y,R,na,la),v.paintSWInner(c,k,t,m,r,x,Ea,y,R,na),v.paintBottomInner(c,k,t,m,r,x,Da,y,R,qa,
-na),v.paintSEInner(c,k,t,m,r,x,Da,y,R),v.paintRightInner(c,k,t,m,r,x,Ca,y,R,ka,qa)),c.stroke()):(c.begin(),v.moveNE(c,k,t,m,r,x,Ca,y,ka),v.paintRight(c,k,t,m,r,x,Da,y,na),v.paintSE(c,k,t,m,r,x,Da,y,qa),v.paintBottom(c,k,t,m,r,x,Ea,y,la),v.paintSW(c,k,t,m,r,x,Ea,y,na),v.paintLeft(c,k,t,m,r,x,Aa,y,ka),v.lineNWInner(c,k,t,m,r,x,Aa,y,R,ka,la),v.paintLeftInner(c,k,t,m,r,x,Ea,y,R,na,la),v.paintSWInner(c,k,t,m,r,x,Ea,y,R,na),v.paintBottomInner(c,k,t,m,r,x,Da,y,R,qa,na),v.paintSEInner(c,k,t,m,r,x,Da,y,R),
-v.paintRightInner(c,k,t,m,r,x,Ca,y,R,ka,qa),c.close(),c.fillAndStroke()):!ka||qa||na||la?ka&&!qa&&!na&&la?"frame"!=aa?(c.begin(),v.moveSW(c,k,t,m,r,x,Ea,y,na),v.paintLeft(c,k,t,m,r,x,Aa,y,ka),v.paintNW(c,k,t,m,r,x,Aa,y,la),v.paintTop(c,k,t,m,r,x,Ca,y,qa),"double"==aa&&(v.moveNEInner(c,k,t,m,r,x,Ca,y,R,qa),v.paintTopInner(c,k,t,m,r,x,Aa,y,R,la,ka),v.paintNWInner(c,k,t,m,r,x,Aa,y,R),v.paintLeftInner(c,k,t,m,r,x,Ea,y,R,na,la)),c.stroke()):(c.begin(),v.moveSW(c,k,t,m,r,x,Ea,y,na),v.paintLeft(c,k,t,m,
-r,x,Aa,y,ka),v.paintNW(c,k,t,m,r,x,Aa,y,la),v.paintTop(c,k,t,m,r,x,Ca,y,qa),v.lineNEInner(c,k,t,m,r,x,Ca,y,R,qa),v.paintTopInner(c,k,t,m,r,x,Aa,y,R,la,ka),v.paintNWInner(c,k,t,m,r,x,Aa,y,R),v.paintLeftInner(c,k,t,m,r,x,Ea,y,R,na,la),c.close(),c.fillAndStroke()):ka&&!qa&&na&&!la?"frame"!=aa?(c.begin(),v.moveNW(c,k,t,m,r,x,Aa,y,la),v.paintTop(c,k,t,m,r,x,Ca,y,qa),"double"==aa&&(v.moveNEInner(c,k,t,m,r,x,Ca,y,R,qa),v.paintTopInner(c,k,t,m,r,x,Aa,y,R,la,ka)),c.stroke(),c.begin(),v.moveSE(c,k,t,m,r,x,
-Da,y,qa),v.paintBottom(c,k,t,m,r,x,Ea,y,la),"double"==aa&&(v.moveSWInner(c,k,t,m,r,x,Ea,y,R,la),v.paintBottomInner(c,k,t,m,r,x,Da,y,R,qa,na)),c.stroke()):(c.begin(),v.moveNW(c,k,t,m,r,x,Aa,y,la),v.paintTop(c,k,t,m,r,x,Ca,y,qa),v.lineNEInner(c,k,t,m,r,x,Ca,y,R,qa),v.paintTopInner(c,k,t,m,r,x,Aa,y,R,la,ka),c.close(),c.fillAndStroke(),c.begin(),v.moveSE(c,k,t,m,r,x,Da,y,qa),v.paintBottom(c,k,t,m,r,x,Ea,y,la),v.lineSWInner(c,k,t,m,r,x,Ea,y,R,la),v.paintBottomInner(c,k,t,m,r,x,Da,y,R,qa,na),c.close(),
-c.fillAndStroke()):ka&&!qa&&na&&la?"frame"!=aa?(c.begin(),v.moveSE(c,k,t,m,r,x,Da,y,qa),v.paintBottom(c,k,t,m,r,x,Ea,y,la),v.paintSW(c,k,t,m,r,x,Ea,y,na),v.paintLeft(c,k,t,m,r,x,Aa,y,ka),v.paintNW(c,k,t,m,r,x,Aa,y,la),v.paintTop(c,k,t,m,r,x,Ca,y,qa),"double"==aa&&(v.moveNEInner(c,k,t,m,r,x,Ca,y,R,qa),v.paintTopInner(c,k,t,m,r,x,Aa,y,R,la,ka),v.paintNWInner(c,k,t,m,r,x,Aa,y,R),v.paintLeftInner(c,k,t,m,r,x,Ea,y,R,na,la),v.paintSWInner(c,k,t,m,r,x,Ea,y,R,na),v.paintBottomInner(c,k,t,m,r,x,Da,y,R,qa,
-na)),c.stroke()):(c.begin(),v.moveSE(c,k,t,m,r,x,Da,y,qa),v.paintBottom(c,k,t,m,r,x,Ea,y,la),v.paintSW(c,k,t,m,r,x,Ea,y,na),v.paintLeft(c,k,t,m,r,x,Aa,y,ka),v.paintNW(c,k,t,m,r,x,Aa,y,la),v.paintTop(c,k,t,m,r,x,Ca,y,qa),v.lineNEInner(c,k,t,m,r,x,Ca,y,R,qa),v.paintTopInner(c,k,t,m,r,x,Aa,y,R,la,ka),v.paintNWInner(c,k,t,m,r,x,Aa,y,R),v.paintLeftInner(c,k,t,m,r,x,Ea,y,R,na,la),v.paintSWInner(c,k,t,m,r,x,Ea,y,R,na),v.paintBottomInner(c,k,t,m,r,x,Da,y,R,qa,na),c.close(),c.fillAndStroke()):ka&&qa&&!na&&
-!la?"frame"!=aa?(c.begin(),v.moveNW(c,k,t,m,r,x,Aa,y,la),v.paintTop(c,k,t,m,r,x,Ca,y,qa),v.paintNE(c,k,t,m,r,x,Ca,y,ka),v.paintRight(c,k,t,m,r,x,Da,y,na),"double"==aa&&(v.moveSEInner(c,k,t,m,r,x,Da,y,R,na),v.paintRightInner(c,k,t,m,r,x,Ca,y,R,ka,qa),v.paintNEInner(c,k,t,m,r,x,Ca,y,R),v.paintTopInner(c,k,t,m,r,x,Aa,y,R,la,ka)),c.stroke()):(c.begin(),v.moveNW(c,k,t,m,r,x,Aa,y,la),v.paintTop(c,k,t,m,r,x,Ca,y,qa),v.paintNE(c,k,t,m,r,x,Ca,y,ka),v.paintRight(c,k,t,m,r,x,Da,y,na),v.lineSEInner(c,k,t,m,r,
-x,Da,y,R,na),v.paintRightInner(c,k,t,m,r,x,Ca,y,R,ka,qa),v.paintNEInner(c,k,t,m,r,x,Ca,y,R),v.paintTopInner(c,k,t,m,r,x,Aa,y,R,la,ka),c.close(),c.fillAndStroke()):ka&&qa&&!na&&la?"frame"!=aa?(c.begin(),v.moveSW(c,k,t,m,r,x,Ea,y,na),v.paintLeft(c,k,t,m,r,x,Aa,y,ka),v.paintNW(c,k,t,m,r,x,Aa,y,la),v.paintTop(c,k,t,m,r,x,Ca,y,qa),v.paintNE(c,k,t,m,r,x,Ca,y,ka),v.paintRight(c,k,t,m,r,x,Da,y,na),"double"==aa&&(v.moveSEInner(c,k,t,m,r,x,Da,y,R,na),v.paintRightInner(c,k,t,m,r,x,Ca,y,R,ka,qa),v.paintNEInner(c,
-k,t,m,r,x,Ca,y,R),v.paintTopInner(c,k,t,m,r,x,Aa,y,R,la,ka),v.paintNWInner(c,k,t,m,r,x,Aa,y,R),v.paintLeftInner(c,k,t,m,r,x,Ea,y,R,na,la)),c.stroke()):(c.begin(),v.moveSW(c,k,t,m,r,x,Ea,y,na),v.paintLeft(c,k,t,m,r,x,Aa,y,ka),v.paintNW(c,k,t,m,r,x,Aa,y,la),v.paintTop(c,k,t,m,r,x,Ca,y,qa),v.paintNE(c,k,t,m,r,x,Ca,y,ka),v.paintRight(c,k,t,m,r,x,Da,y,na),v.lineSEInner(c,k,t,m,r,x,Da,y,R,na),v.paintRightInner(c,k,t,m,r,x,Ca,y,R,ka,qa),v.paintNEInner(c,k,t,m,r,x,Ca,y,R),v.paintTopInner(c,k,t,m,r,x,Aa,y,
-R,la,ka),v.paintNWInner(c,k,t,m,r,x,Aa,y,R),v.paintLeftInner(c,k,t,m,r,x,Ea,y,R,na,la),c.close(),c.fillAndStroke()):ka&&qa&&na&&!la?"frame"!=aa?(c.begin(),v.moveNW(c,k,t,m,r,x,Aa,y,la),v.paintTop(c,k,t,m,r,x,Ca,y,qa),v.paintNE(c,k,t,m,r,x,Ca,y,ka),v.paintRight(c,k,t,m,r,x,Da,y,na),v.paintSE(c,k,t,m,r,x,Da,y,qa),v.paintBottom(c,k,t,m,r,x,Ea,y,la),"double"==aa&&(v.moveSWInner(c,k,t,m,r,x,Ea,y,R,la),v.paintBottomInner(c,k,t,m,r,x,Da,y,R,qa,na),v.paintSEInner(c,k,t,m,r,x,Da,y,R),v.paintRightInner(c,k,
-t,m,r,x,Ca,y,R,ka,qa),v.paintNEInner(c,k,t,m,r,x,Ca,y,R),v.paintTopInner(c,k,t,m,r,x,Aa,y,R,la,ka)),c.stroke()):(c.begin(),v.moveNW(c,k,t,m,r,x,Aa,y,la),v.paintTop(c,k,t,m,r,x,Ca,y,qa),v.paintNE(c,k,t,m,r,x,Ca,y,ka),v.paintRight(c,k,t,m,r,x,Da,y,na),v.paintSE(c,k,t,m,r,x,Da,y,qa),v.paintBottom(c,k,t,m,r,x,Ea,y,la),v.lineSWInner(c,k,t,m,r,x,Ea,y,R,la),v.paintBottomInner(c,k,t,m,r,x,Da,y,R,qa,na),v.paintSEInner(c,k,t,m,r,x,Da,y,R),v.paintRightInner(c,k,t,m,r,x,Ca,y,R,ka,qa),v.paintNEInner(c,k,t,m,r,
-x,Ca,y,R),v.paintTopInner(c,k,t,m,r,x,Aa,y,R,la,ka),c.close(),c.fillAndStroke()):ka&&qa&&na&&la&&("frame"!=aa?(c.begin(),v.moveNW(c,k,t,m,r,x,Aa,y,la),v.paintNW(c,k,t,m,r,x,Aa,y,la),v.paintTop(c,k,t,m,r,x,Ca,y,qa),v.paintNE(c,k,t,m,r,x,Ca,y,ka),v.paintRight(c,k,t,m,r,x,Da,y,na),v.paintSE(c,k,t,m,r,x,Da,y,qa),v.paintBottom(c,k,t,m,r,x,Ea,y,la),v.paintSW(c,k,t,m,r,x,Ea,y,na),v.paintLeft(c,k,t,m,r,x,Aa,y,ka),c.close(),"double"==aa&&(v.moveSWInner(c,k,t,m,r,x,Ea,y,R,la),v.paintSWInner(c,k,t,m,r,x,Ea,
-y,R,na),v.paintBottomInner(c,k,t,m,r,x,Da,y,R,qa,na),v.paintSEInner(c,k,t,m,r,x,Da,y,R),v.paintRightInner(c,k,t,m,r,x,Ca,y,R,ka,qa),v.paintNEInner(c,k,t,m,r,x,Ca,y,R),v.paintTopInner(c,k,t,m,r,x,Aa,y,R,la,ka),v.paintNWInner(c,k,t,m,r,x,Aa,y,R),v.paintLeftInner(c,k,t,m,r,x,Ea,y,R,na,la),c.close()),c.stroke()):(c.begin(),v.moveNW(c,k,t,m,r,x,Aa,y,la),v.paintNW(c,k,t,m,r,x,Aa,y,la),v.paintTop(c,k,t,m,r,x,Ca,y,qa),v.paintNE(c,k,t,m,r,x,Ca,y,ka),v.paintRight(c,k,t,m,r,x,Da,y,na),v.paintSE(c,k,t,m,r,x,
-Da,y,qa),v.paintBottom(c,k,t,m,r,x,Ea,y,la),v.paintSW(c,k,t,m,r,x,Ea,y,na),v.paintLeft(c,k,t,m,r,x,Aa,y,ka),c.close(),v.moveSWInner(c,k,t,m,r,x,Ea,y,R,la),v.paintSWInner(c,k,t,m,r,x,Ea,y,R,na),v.paintBottomInner(c,k,t,m,r,x,Da,y,R,qa,na),v.paintSEInner(c,k,t,m,r,x,Da,y,R),v.paintRightInner(c,k,t,m,r,x,Ca,y,R,ka,qa),v.paintNEInner(c,k,t,m,r,x,Ca,y,R),v.paintTopInner(c,k,t,m,r,x,Aa,y,R,la,ka),v.paintNWInner(c,k,t,m,r,x,Aa,y,R),v.paintLeftInner(c,k,t,m,r,x,Ea,y,R,na,la),c.close(),c.fillAndStroke())):
-"frame"!=aa?(c.begin(),v.moveNW(c,k,t,m,r,x,Aa,y,la),v.paintTop(c,k,t,m,r,x,Ca,y,qa),"double"==aa&&(v.moveNEInner(c,k,t,m,r,x,Ca,y,R,qa),v.paintTopInner(c,k,t,m,r,x,Aa,y,R,la,ka)),c.stroke()):(c.begin(),v.moveNW(c,k,t,m,r,x,Aa,y,la),v.paintTop(c,k,t,m,r,x,Ca,y,qa),v.lineNEInner(c,k,t,m,r,x,Ca,y,R,qa),v.paintTopInner(c,k,t,m,r,x,Aa,y,R,la,ka),c.close(),c.fillAndStroke()):"frame"!=aa?(c.begin(),v.moveNE(c,k,t,m,r,x,Ca,y,ka),v.paintRight(c,k,t,m,r,x,Da,y,na),"double"==aa&&(v.moveSEInner(c,k,t,m,r,x,
-Da,y,R,na),v.paintRightInner(c,k,t,m,r,x,Ca,y,R,ka,qa)),c.stroke()):(c.begin(),v.moveNE(c,k,t,m,r,x,Ca,y,ka),v.paintRight(c,k,t,m,r,x,Da,y,na),v.lineSEInner(c,k,t,m,r,x,Da,y,R,na),v.paintRightInner(c,k,t,m,r,x,Ca,y,R,ka,qa),c.close(),c.fillAndStroke()):"frame"!=aa?(c.begin(),v.moveSE(c,k,t,m,r,x,Da,y,qa),v.paintBottom(c,k,t,m,r,x,Ea,y,la),"double"==aa&&(v.moveSWInner(c,k,t,m,r,x,Ea,y,R,la),v.paintBottomInner(c,k,t,m,r,x,Da,y,R,qa,na)),c.stroke()):(c.begin(),v.moveSE(c,k,t,m,r,x,Da,y,qa),v.paintBottom(c,
-k,t,m,r,x,Ea,y,la),v.lineSWInner(c,k,t,m,r,x,Ea,y,R,la),v.paintBottomInner(c,k,t,m,r,x,Da,y,R,qa,na),c.close(),c.fillAndStroke()):"frame"!=aa?(c.begin(),v.moveSW(c,k,t,m,r,x,Aa,y,na),v.paintLeft(c,k,t,m,r,x,Aa,y,ka),"double"==aa&&(v.moveNWInner(c,k,t,m,r,x,Aa,y,R,ka,la),v.paintLeftInner(c,k,t,m,r,x,Ea,y,R,na,la)),c.stroke()):(c.begin(),v.moveSW(c,k,t,m,r,x,Aa,y,na),v.paintLeft(c,k,t,m,r,x,Aa,y,ka),v.lineNWInner(c,k,t,m,r,x,Aa,y,R,ka,la),v.paintLeftInner(c,k,t,m,r,x,Ea,y,R,na,la),c.close(),c.fillAndStroke());
-c.begin();v.paintFolds(c,k,t,m,r,x,Aa,Ca,Da,Ea,y,ka,qa,na,la);c.stroke()};wa.prototype.moveNW=function(c,k,t,m,r,v,x,J,y){"square"==x||"default"==x&&"square"==v||!y?c.moveTo(0,0):c.moveTo(0,J)};wa.prototype.moveNE=function(c,k,t,m,r,v,x,J,y){"square"==x||"default"==x&&"square"==v||!y?c.moveTo(m,0):c.moveTo(m-J,0)};wa.prototype.moveSE=function(c,k,t,m,r,v,x,J,y){"square"==x||"default"==x&&"square"==v||!y?c.moveTo(m,r):c.moveTo(m,r-J)};wa.prototype.moveSW=function(c,k,t,m,r,v,x,J,y){"square"==x||"default"==
-x&&"square"==v||!y?c.moveTo(0,r):c.moveTo(J,r)};wa.prototype.paintNW=function(c,k,t,m,r,v,x,J,y){if(y)if("rounded"==x||"default"==x&&"rounded"==v||"invRound"==x||"default"==x&&"invRound"==v){k=0;if("rounded"==x||"default"==x&&"rounded"==v)k=1;c.arcTo(J,J,0,0,k,J,0)}else("snip"==x||"default"==x&&"snip"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(J,0);else c.lineTo(0,0)};wa.prototype.paintTop=function(c,k,t,m,r,v,x,J,y){"square"==x||"default"==x&&"square"==v||!y?c.lineTo(m,0):c.lineTo(m-J,0)};
-wa.prototype.paintNE=function(c,k,t,m,r,v,x,J,y){if(y)if("rounded"==x||"default"==x&&"rounded"==v||"invRound"==x||"default"==x&&"invRound"==v){k=0;if("rounded"==x||"default"==x&&"rounded"==v)k=1;c.arcTo(J,J,0,0,k,m,J)}else("snip"==x||"default"==x&&"snip"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(m,J);else c.lineTo(m,0)};wa.prototype.paintRight=function(c,k,t,m,r,v,x,J,y){"square"==x||"default"==x&&"square"==v||!y?c.lineTo(m,r):c.lineTo(m,r-J)};wa.prototype.paintLeft=function(c,k,t,m,r,v,x,
-J,y){"square"==x||"default"==x&&"square"==v||!y?c.lineTo(0,0):c.lineTo(0,J)};wa.prototype.paintSE=function(c,k,t,m,r,v,x,J,y){if(y)if("rounded"==x||"default"==x&&"rounded"==v||"invRound"==x||"default"==x&&"invRound"==v){k=0;if("rounded"==x||"default"==x&&"rounded"==v)k=1;c.arcTo(J,J,0,0,k,m-J,r)}else("snip"==x||"default"==x&&"snip"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(m-J,r);else c.lineTo(m,r)};wa.prototype.paintBottom=function(c,k,t,m,r,v,x,J,y){"square"==x||"default"==x&&"square"==
-v||!y?c.lineTo(0,r):c.lineTo(J,r)};wa.prototype.paintSW=function(c,k,t,m,r,v,x,J,y){if(y)if("rounded"==x||"default"==x&&"rounded"==v||"invRound"==x||"default"==x&&"invRound"==v){k=0;if("rounded"==x||"default"==x&&"rounded"==v)k=1;c.arcTo(J,J,0,0,k,0,r-J)}else("snip"==x||"default"==x&&"snip"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(0,r-J);else c.lineTo(0,r)};wa.prototype.paintNWInner=function(c,k,t,m,r,v,x,J,y){if("rounded"==x||"default"==x&&"rounded"==v)c.arcTo(J-.5*y,J-.5*y,0,0,0,y,.5*y+
-J);else if("invRound"==x||"default"==x&&"invRound"==v)c.arcTo(J+y,J+y,0,0,1,y,y+J);else if("snip"==x||"default"==x&&"snip"==v)c.lineTo(y,.5*y+J);else if("fold"==x||"default"==x&&"fold"==v)c.lineTo(y+J,y+J),c.lineTo(y,y+J)};wa.prototype.paintTopInner=function(c,k,t,m,r,v,x,J,y,aa,R){aa||R?!aa&&R?c.lineTo(0,y):aa&&!R?c.lineTo(y,0):aa?"square"==x||"default"==x&&"square"==v?c.lineTo(y,y):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(J+.5*y,y):c.lineTo(J+y,y):c.lineTo(0,
-y):c.lineTo(0,0)};wa.prototype.paintNEInner=function(c,k,t,m,r,v,x,J,y){if("rounded"==x||"default"==x&&"rounded"==v)c.arcTo(J-.5*y,J-.5*y,0,0,0,m-J-.5*y,y);else if("invRound"==x||"default"==x&&"invRound"==v)c.arcTo(J+y,J+y,0,0,1,m-J-y,y);else if("snip"==x||"default"==x&&"snip"==v)c.lineTo(m-J-.5*y,y);else if("fold"==x||"default"==x&&"fold"==v)c.lineTo(m-J-y,J+y),c.lineTo(m-J-y,y)};wa.prototype.paintRightInner=function(c,k,t,m,r,v,x,J,y,aa,R){aa||R?!aa&&R?c.lineTo(m-y,0):aa&&!R?c.lineTo(m,y):aa?"square"==
-x||"default"==x&&"square"==v?c.lineTo(m-y,y):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(m-y,J+.5*y):c.lineTo(m-y,J+y):c.lineTo(m-y,0):c.lineTo(m,0)};wa.prototype.paintLeftInner=function(c,k,t,m,r,v,x,J,y,aa,R){aa||R?!aa&&R?c.lineTo(y,r):aa&&!R?c.lineTo(0,r-y):aa?"square"==x||"default"==x&&"square"==v?c.lineTo(y,r-y):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(y,r-J-.5*y):c.lineTo(y,r-J-y):c.lineTo(y,r):c.lineTo(0,
-r)};wa.prototype.paintSEInner=function(c,k,t,m,r,v,x,J,y){if("rounded"==x||"default"==x&&"rounded"==v)c.arcTo(J-.5*y,J-.5*y,0,0,0,m-y,r-J-.5*y);else if("invRound"==x||"default"==x&&"invRound"==v)c.arcTo(J+y,J+y,0,0,1,m-y,r-J-y);else if("snip"==x||"default"==x&&"snip"==v)c.lineTo(m-y,r-J-.5*y);else if("fold"==x||"default"==x&&"fold"==v)c.lineTo(m-J-y,r-J-y),c.lineTo(m-y,r-J-y)};wa.prototype.paintBottomInner=function(c,k,t,m,r,v,x,J,y,aa,R){aa||R?!aa&&R?c.lineTo(m,r-y):aa&&!R?c.lineTo(m-y,r):"square"==
-x||"default"==x&&"square"==v||!aa?c.lineTo(m-y,r-y):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(m-J-.5*y,r-y):c.lineTo(m-J-y,r-y):c.lineTo(m,r)};wa.prototype.paintSWInner=function(c,k,t,m,r,v,x,J,y,aa){if(!aa)c.lineTo(y,r);else if("square"==x||"default"==x&&"square"==v)c.lineTo(y,r-y);else if("rounded"==x||"default"==x&&"rounded"==v)c.arcTo(J-.5*y,J-.5*y,0,0,0,J+.5*y,r-y);else if("invRound"==x||"default"==x&&"invRound"==v)c.arcTo(J+y,J+y,0,0,1,J+y,r-y);else if("snip"==
-x||"default"==x&&"snip"==v)c.lineTo(J+.5*y,r-y);else if("fold"==x||"default"==x&&"fold"==v)c.lineTo(y+J,r-J-y),c.lineTo(y+J,r-y)};wa.prototype.moveSWInner=function(c,k,t,m,r,v,x,J,y,aa){aa?"square"==x||"default"==x&&"square"==v?c.moveTo(y,r-y):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.moveTo(y,r-J-.5*y):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.moveTo(y,r-J-y):c.moveTo(0,r-y)};wa.prototype.lineSWInner=function(c,k,t,m,
-r,v,x,J,y,aa){aa?"square"==x||"default"==x&&"square"==v?c.lineTo(y,r-y):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(y,r-J-.5*y):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(y,r-J-y):c.lineTo(0,r-y)};wa.prototype.moveSEInner=function(c,k,t,m,r,v,x,J,y,aa){aa?"square"==x||"default"==x&&"square"==v?c.moveTo(m-y,r-y):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.moveTo(m-y,r-J-.5*y):
-("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.moveTo(m-y,r-J-y):c.moveTo(m-y,r)};wa.prototype.lineSEInner=function(c,k,t,m,r,v,x,J,y,aa){aa?"square"==x||"default"==x&&"square"==v?c.lineTo(m-y,r-y):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(m-y,r-J-.5*y):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(m-y,r-J-y):c.lineTo(m-y,r)};wa.prototype.moveNEInner=function(c,k,t,m,r,v,x,
-J,y,aa){aa?"square"==x||"default"==x&&"square"==v||aa?c.moveTo(m-y,y):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.moveTo(m-y,J+.5*y):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.moveTo(m-y,J+y):c.moveTo(m,y)};wa.prototype.lineNEInner=function(c,k,t,m,r,v,x,J,y,aa){aa?"square"==x||"default"==x&&"square"==v||aa?c.lineTo(m-y,y):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(m-y,J+.5*y):("invRound"==
-x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(m-y,J+y):c.lineTo(m,y)};wa.prototype.moveNWInner=function(c,k,t,m,r,v,x,J,y,aa,R){aa||R?!aa&&R?c.moveTo(y,0):aa&&!R?c.moveTo(0,y):"square"==x||"default"==x&&"square"==v?c.moveTo(y,y):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.moveTo(y,J+.5*y):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.moveTo(y,J+y):c.moveTo(0,0)};wa.prototype.lineNWInner=function(c,
-k,t,m,r,v,x,J,y,aa,R){aa||R?!aa&&R?c.lineTo(y,0):aa&&!R?c.lineTo(0,y):"square"==x||"default"==x&&"square"==v?c.lineTo(y,y):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(y,J+.5*y):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(y,J+y):c.lineTo(0,0)};wa.prototype.paintFolds=function(c,k,t,m,r,v,x,J,y,aa,R,Ha,Wa,Qa,ka){if("fold"==v||"fold"==x||"fold"==J||"fold"==y||"fold"==aa)("fold"==x||"default"==x&&"fold"==v)&&Ha&&
-ka&&(c.moveTo(0,R),c.lineTo(R,R),c.lineTo(R,0)),("fold"==J||"default"==J&&"fold"==v)&&Ha&&Wa&&(c.moveTo(m-R,0),c.lineTo(m-R,R),c.lineTo(m,R)),("fold"==y||"default"==y&&"fold"==v)&&Qa&&Wa&&(c.moveTo(m-R,r),c.lineTo(m-R,r-R),c.lineTo(m,r-R)),("fold"==aa||"default"==aa&&"fold"==v)&&Qa&&ka&&(c.moveTo(0,r-R),c.lineTo(R,r-R),c.lineTo(R,r))};mxCellRenderer.registerShape(wa.prototype.cst.RECT2,wa);wa.prototype.constraints=null;mxUtils.extend(za,mxConnector);za.prototype.origPaintEdgeShape=za.prototype.paintEdgeShape;
-za.prototype.paintEdgeShape=function(c,k,t){for(var m=[],r=0;r<k.length;r++)m.push(mxUtils.clone(k[r]));r=c.state.dashed;var v=c.state.fixDash;za.prototype.origPaintEdgeShape.apply(this,[c,m,t]);3<=c.state.strokeWidth&&(m=mxUtils.getValue(this.style,"fillColor",null),null!=m&&(c.setStrokeColor(m),c.setStrokeWidth(c.state.strokeWidth-2),c.setDashed(r,v),za.prototype.origPaintEdgeShape.apply(this,[c,k,t])))};mxCellRenderer.registerShape("filledEdge",za);"undefined"!==typeof StyleFormatPanel&&function(){var c=
-StyleFormatPanel.prototype.getCustomColors;StyleFormatPanel.prototype.getCustomColors=function(){var k=this.editorUi.getSelectionState(),t=c.apply(this,arguments);"umlFrame"==k.style.shape&&t.push({title:mxResources.get("laneColor"),key:"swimlaneFillColor",defaultValue:"default"});return t}}();mxMarker.addMarker("dash",function(c,k,t,m,r,v,x,J,y,aa){var R=r*(x+y+1),Ha=v*(x+y+1);return function(){c.begin();c.moveTo(m.x-R/2-Ha/2,m.y-Ha/2+R/2);c.lineTo(m.x+Ha/2-3*R/2,m.y-3*Ha/2-R/2);c.stroke()}});mxMarker.addMarker("box",
-function(c,k,t,m,r,v,x,J,y,aa){var R=r*(x+y+1),Ha=v*(x+y+1),Wa=m.x+R/2,Qa=m.y+Ha/2;m.x-=R;m.y-=Ha;return function(){c.begin();c.moveTo(Wa-R/2-Ha/2,Qa-Ha/2+R/2);c.lineTo(Wa-R/2+Ha/2,Qa-Ha/2-R/2);c.lineTo(Wa+Ha/2-3*R/2,Qa-3*Ha/2-R/2);c.lineTo(Wa-Ha/2-3*R/2,Qa-3*Ha/2+R/2);c.close();aa?c.fillAndStroke():c.stroke()}});mxMarker.addMarker("cross",function(c,k,t,m,r,v,x,J,y,aa){var R=r*(x+y+1),Ha=v*(x+y+1);return function(){c.begin();c.moveTo(m.x-R/2-Ha/2,m.y-Ha/2+R/2);c.lineTo(m.x+Ha/2-3*R/2,m.y-3*Ha/2-
-R/2);c.moveTo(m.x-R/2+Ha/2,m.y-Ha/2-R/2);c.lineTo(m.x-Ha/2-3*R/2,m.y-3*Ha/2+R/2);c.stroke()}});mxMarker.addMarker("circle",Ya);mxMarker.addMarker("circlePlus",function(c,k,t,m,r,v,x,J,y,aa){var R=m.clone(),Ha=Ya.apply(this,arguments),Wa=r*(x+2*y),Qa=v*(x+2*y);return function(){Ha.apply(this,arguments);c.begin();c.moveTo(R.x-r*y,R.y-v*y);c.lineTo(R.x-2*Wa+r*y,R.y-2*Qa+v*y);c.moveTo(R.x-Wa-Qa+v*y,R.y-Qa+Wa-r*y);c.lineTo(R.x+Qa-Wa-v*y,R.y-Qa-Wa+r*y);c.stroke()}});mxMarker.addMarker("halfCircle",function(c,
-k,t,m,r,v,x,J,y,aa){var R=r*(x+y+1),Ha=v*(x+y+1),Wa=m.clone();m.x-=R;m.y-=Ha;return function(){c.begin();c.moveTo(Wa.x-Ha,Wa.y+R);c.quadTo(m.x-Ha,m.y+R,m.x,m.y);c.quadTo(m.x+Ha,m.y-R,Wa.x+Ha,Wa.y-R);c.stroke()}});mxMarker.addMarker("async",function(c,k,t,m,r,v,x,J,y,aa){k=r*y*1.118;t=v*y*1.118;r*=x+y;v*=x+y;var R=m.clone();R.x-=k;R.y-=t;m.x+=-r-k;m.y+=-v-t;return function(){c.begin();c.moveTo(R.x,R.y);J?c.lineTo(R.x-r-v/2,R.y-v+r/2):c.lineTo(R.x+v/2-r,R.y-v-r/2);c.lineTo(R.x-r,R.y-v);c.close();aa?
-c.fillAndStroke():c.stroke()}});mxMarker.addMarker("openAsync",function(c){c=null!=c?c:2;return function(k,t,m,r,v,x,J,y,aa,R){v*=J+aa;x*=J+aa;var Ha=r.clone();return function(){k.begin();k.moveTo(Ha.x,Ha.y);y?k.lineTo(Ha.x-v-x/c,Ha.y-x+v/c):k.lineTo(Ha.x+x/c-v,Ha.y-x-v/c);k.stroke()}}}(2));if("undefined"!==typeof mxVertexHandler){var db=function(c,k,t){return lb(c,["width"],k,function(m,r,v,x,J){J=c.shape.getEdgeWidth()*c.view.scale+t;return new mxPoint(x.x+r*m/4+v*J/2,x.y+v*m/4-r*J/2)},function(m,
-r,v,x,J,y){m=Math.sqrt(mxUtils.ptSegDistSq(x.x,x.y,J.x,J.y,y.x,y.y));c.style.width=Math.round(2*m)/c.view.scale-t})},lb=function(c,k,t,m,r){return Ta(c,k,function(v){var x=c.absolutePoints;if(null!=x&&0<x.length){var J=x.length-1;v=c.view.translate;var y=c.view.scale,aa=t?x[0]:x[J];x=t?x[1]:x[J-1];J=x.x-aa.x;var R=x.y-aa.y,Ha=Math.sqrt(J*J+R*R);aa=m.call(this,Ha,J/Ha,R/Ha,aa,x);return new mxPoint(aa.x/y-v.x,aa.y/y-v.y)}return null},function(v,x,J){var y=c.absolutePoints,aa=y.length-1;v=c.view.translate;
-var R=c.view.scale,Ha=t?y[0]:y[aa];y=t?y[1]:y[aa-1];aa=y.x-Ha.x;var Wa=y.y-Ha.y,Qa=Math.sqrt(aa*aa+Wa*Wa);x.x=(x.x+v.x)*R;x.y=(x.y+v.y)*R;r.call(this,Qa,aa/Qa,Wa/Qa,Ha,y,x,J)})},qb=function(c,k){return function(t){return[lb(t,["startWidth"],!0,function(m,r,v,x,J){J=mxUtils.getNumber(t.style,"startWidth",c)*t.view.scale+k;return new mxPoint(x.x+r*m/4+v*J/2,x.y+v*m/4-r*J/2)},function(m,r,v,x,J,y){m=Math.sqrt(mxUtils.ptSegDistSq(x.x,x.y,J.x,J.y,y.x,y.y));t.style.startWidth=Math.round(2*m)/t.view.scale-
-k})]}},tb=function(c){return function(k){return[Ta(k,["arrowWidth","arrowSize"],function(t){var m=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"arrowWidth",fa.prototype.arrowWidth))),r=Math.max(0,Math.min(c,mxUtils.getValue(this.state.style,"arrowSize",fa.prototype.arrowSize)));return new mxPoint(t.x+(1-r)*t.width,t.y+(1-m)*t.height/2)},function(t,m){this.state.style.arrowWidth=Math.max(0,Math.min(1,Math.abs(t.y+t.height/2-m.y)/t.height*2));this.state.style.arrowSize=Math.max(0,Math.min(c,
-(t.x+t.width-m.x)/t.width))})]}},ub=function(c){return function(k){return[Ta(k,["size"],function(t){var m=Math.max(0,Math.min(.5*t.height,parseFloat(mxUtils.getValue(this.state.style,"size",c))));return new mxPoint(t.x,t.y+m)},function(t,m){this.state.style.size=Math.max(0,m.y-t.y)},!0)]}},ob=function(c,k,t){return function(m){var r=[Ta(m,["size"],function(v){var x=Math.max(0,Math.min(v.width,Math.min(v.height,parseFloat(mxUtils.getValue(this.state.style,"size",k)))))*c;return new mxPoint(v.x+x,v.y+
-x)},function(v,x){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(v.width,x.x-v.x),Math.min(v.height,x.y-v.y)))/c)},!1)];t&&mxUtils.getValue(m.style,mxConstants.STYLE_ROUNDED,!1)&&r.push(eb(m));return r}},rb=function(c,k,t,m,r){t=null!=t?t:.5;return function(v){var x=[Ta(v,["size"],function(J){var y=null!=r?"0"!=mxUtils.getValue(this.state.style,"fixedSize","0"):null,aa=parseFloat(mxUtils.getValue(this.state.style,"size",y?r:c));return new mxPoint(J.x+Math.max(0,Math.min(.5*J.width,
-aa*(y?1:J.width))),J.getCenterY())},function(J,y,aa){J=null!=r&&"0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?y.x-J.x:Math.max(0,Math.min(t,(y.x-J.x)/J.width));this.state.style.size=J},!1,m)];k&&mxUtils.getValue(v.style,mxConstants.STYLE_ROUNDED,!1)&&x.push(eb(v));return x}},vb=function(c,k,t){c=null!=c?c:.5;return function(m){var r=[Ta(m,["size"],function(v){var x=null!=t?"0"!=mxUtils.getValue(this.state.style,"fixedSize","0"):null,J=Math.max(0,parseFloat(mxUtils.getValue(this.state.style,
-"size",x?t:k)));return new mxPoint(v.x+Math.min(.75*v.width*c,J*(x?.75:.75*v.width)),v.y+v.height/4)},function(v,x){v=null!=t&&"0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?x.x-v.x:Math.max(0,Math.min(c,(x.x-v.x)/v.width*.75));this.state.style.size=v},!1,!0)];mxUtils.getValue(m.style,mxConstants.STYLE_ROUNDED,!1)&&r.push(eb(m));return r}},Va=function(){return function(c){var k=[];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,!1)&&k.push(eb(c));return k}},eb=function(c,k){return Ta(c,
-[mxConstants.STYLE_ARCSIZE],function(t){var m=null!=k?k:t.height/8;if("1"==mxUtils.getValue(c.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,0)){var r=mxUtils.getValue(c.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;return new mxPoint(t.x+t.width-Math.min(t.width/2,r),t.y+m)}r=Math.max(0,parseFloat(mxUtils.getValue(c.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)))/100;return new mxPoint(t.x+t.width-Math.min(Math.max(t.width/2,t.height/2),Math.min(t.width,t.height)*
-r),t.y+m)},function(t,m,r){"1"==mxUtils.getValue(c.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,0)?this.state.style[mxConstants.STYLE_ARCSIZE]=Math.round(Math.max(0,Math.min(t.width,2*(t.x+t.width-m.x)))):this.state.style[mxConstants.STYLE_ARCSIZE]=Math.round(Math.min(50,Math.max(0,100*(t.width-m.x+t.x)/Math.min(t.width,t.height))))})},Ta=function(c,k,t,m,r,v,x){var J=new mxHandle(c,null,mxVertexHandler.prototype.secondaryHandleImage);J.execute=function(aa){for(var R=0;R<k.length;R++)this.copyStyle(k[R]);
-x&&x(aa)};J.getPosition=t;J.setPosition=m;J.ignoreGrid=null!=r?r:!0;if(v){var y=J.positionChanged;J.positionChanged=function(){y.apply(this,arguments);c.view.invalidate(this.state.cell);c.view.validate()}}return J},kb={link:function(c){return[db(c,!0,10),db(c,!1,10)]},flexArrow:function(c){var k=c.view.graph.gridSize/c.view.scale,t=[];mxUtils.getValue(c.style,mxConstants.STYLE_STARTARROW,mxConstants.NONE)!=mxConstants.NONE&&(t.push(lb(c,["width",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],
+v.gradientDirection2:mxUtils.getValue(this.style,"gradientDirection2","south"),Eb=v&&v.opacity?v.opacity:mxUtils.getValue(this.style,"opacity","100"),Fb=Math.max(0,Math.min(50,y));v=Aa.prototype;c.setDashed(Ga);Va&&""!=Va&&c.setDashPattern(Va);c.setStrokeWidth(Cb);y=Math.min(.5*r,.5*m,y);J||(y=Fb*Math.min(m,r)/100);y=Math.min(y,.5*Math.min(m,r));J||(R=Math.min(Pa*Math.min(m,r)/100));R=Math.min(R,.5*Math.min(m,r)-y);(ka||qa||oa||la)&&"frame"!=aa&&(c.begin(),ka?v.moveNW(c,l,t,m,r,x,za,y,la):c.moveTo(0,
+0),ka&&v.paintNW(c,l,t,m,r,x,za,y,la),v.paintTop(c,l,t,m,r,x,Ba,y,qa),qa&&v.paintNE(c,l,t,m,r,x,Ba,y,ka),v.paintRight(c,l,t,m,r,x,Ca,y,oa),oa&&v.paintSE(c,l,t,m,r,x,Ca,y,qa),v.paintBottom(c,l,t,m,r,x,Ea,y,la),la&&v.paintSW(c,l,t,m,r,x,Ea,y,oa),v.paintLeft(c,l,t,m,r,x,za,y,ka),c.close(),c.fill(),c.setShadow(!1),c.setFillColor(yb),Ga=J=Eb,"none"==yb&&(J=0),"none"==Ab&&(Ga=0),c.setGradient(yb,Ab,0,0,m,r,Db,J,Ga),c.begin(),ka?v.moveNWInner(c,l,t,m,r,x,za,y,R,ka,la):c.moveTo(R,0),v.paintLeftInner(c,l,
+t,m,r,x,Ea,y,R,oa,la),la&&oa&&v.paintSWInner(c,l,t,m,r,x,Ea,y,R,oa),v.paintBottomInner(c,l,t,m,r,x,Ca,y,R,qa,oa),oa&&qa&&v.paintSEInner(c,l,t,m,r,x,Ca,y,R),v.paintRightInner(c,l,t,m,r,x,Ba,y,R,ka,qa),qa&&ka&&v.paintNEInner(c,l,t,m,r,x,Ba,y,R),v.paintTopInner(c,l,t,m,r,x,za,y,R,la,ka),ka&&la&&v.paintNWInner(c,l,t,m,r,x,za,y,R),c.fill(),"none"==Bb&&(c.begin(),v.paintFolds(c,l,t,m,r,x,za,Ba,Ca,Ea,y,ka,qa,oa,la),c.stroke()));ka||qa||oa||!la?ka||qa||!oa||la?!ka&&!qa&&oa&&la?"frame"!=aa?(c.begin(),v.moveSE(c,
+l,t,m,r,x,Ca,y,qa),v.paintBottom(c,l,t,m,r,x,Ea,y,la),v.paintSW(c,l,t,m,r,x,Ea,y,oa),v.paintLeft(c,l,t,m,r,x,za,y,ka),"double"==aa&&(v.moveNWInner(c,l,t,m,r,x,za,y,R,ka,la),v.paintLeftInner(c,l,t,m,r,x,Ea,y,R,oa,la),v.paintSWInner(c,l,t,m,r,x,Ea,y,R,oa),v.paintBottomInner(c,l,t,m,r,x,Ca,y,R,qa,oa)),c.stroke()):(c.begin(),v.moveSE(c,l,t,m,r,x,Ca,y,qa),v.paintBottom(c,l,t,m,r,x,Ea,y,la),v.paintSW(c,l,t,m,r,x,Ea,y,oa),v.paintLeft(c,l,t,m,r,x,za,y,ka),v.lineNWInner(c,l,t,m,r,x,za,y,R,ka,la),v.paintLeftInner(c,
+l,t,m,r,x,Ea,y,R,oa,la),v.paintSWInner(c,l,t,m,r,x,Ea,y,R,oa),v.paintBottomInner(c,l,t,m,r,x,Ca,y,R,qa,oa),c.close(),c.fillAndStroke()):ka||!qa||oa||la?!ka&&qa&&!oa&&la?"frame"!=aa?(c.begin(),v.moveSW(c,l,t,m,r,x,za,y,oa),v.paintLeft(c,l,t,m,r,x,za,y,ka),"double"==aa&&(v.moveNWInner(c,l,t,m,r,x,za,y,R,ka,la),v.paintLeftInner(c,l,t,m,r,x,Ea,y,R,oa,la)),c.stroke(),c.begin(),v.moveNE(c,l,t,m,r,x,Ba,y,ka),v.paintRight(c,l,t,m,r,x,Ca,y,oa),"double"==aa&&(v.moveSEInner(c,l,t,m,r,x,Ca,y,R,oa),v.paintRightInner(c,
+l,t,m,r,x,Ba,y,R,ka,qa)),c.stroke()):(c.begin(),v.moveSW(c,l,t,m,r,x,za,y,oa),v.paintLeft(c,l,t,m,r,x,za,y,ka),v.lineNWInner(c,l,t,m,r,x,za,y,R,ka,la),v.paintLeftInner(c,l,t,m,r,x,Ea,y,R,oa,la),c.close(),c.fillAndStroke(),c.begin(),v.moveNE(c,l,t,m,r,x,Ba,y,ka),v.paintRight(c,l,t,m,r,x,Ca,y,oa),v.lineSEInner(c,l,t,m,r,x,Ca,y,R,oa),v.paintRightInner(c,l,t,m,r,x,Ba,y,R,ka,qa),c.close(),c.fillAndStroke()):!ka&&qa&&oa&&!la?"frame"!=aa?(c.begin(),v.moveNE(c,l,t,m,r,x,Ba,y,ka),v.paintRight(c,l,t,m,r,x,
+Ca,y,oa),v.paintSE(c,l,t,m,r,x,Ca,y,qa),v.paintBottom(c,l,t,m,r,x,Ea,y,la),"double"==aa&&(v.moveSWInner(c,l,t,m,r,x,Ea,y,R,la),v.paintBottomInner(c,l,t,m,r,x,Ca,y,R,qa,oa),v.paintSEInner(c,l,t,m,r,x,Ca,y,R),v.paintRightInner(c,l,t,m,r,x,Ba,y,R,ka,qa)),c.stroke()):(c.begin(),v.moveNE(c,l,t,m,r,x,Ba,y,ka),v.paintRight(c,l,t,m,r,x,Ca,y,oa),v.paintSE(c,l,t,m,r,x,Ca,y,qa),v.paintBottom(c,l,t,m,r,x,Ea,y,la),v.lineSWInner(c,l,t,m,r,x,Ea,y,R,la),v.paintBottomInner(c,l,t,m,r,x,Ca,y,R,qa,oa),v.paintSEInner(c,
+l,t,m,r,x,Ca,y,R),v.paintRightInner(c,l,t,m,r,x,Ba,y,R,ka,qa),c.close(),c.fillAndStroke()):!ka&&qa&&oa&&la?"frame"!=aa?(c.begin(),v.moveNE(c,l,t,m,r,x,Ba,y,ka),v.paintRight(c,l,t,m,r,x,Ca,y,oa),v.paintSE(c,l,t,m,r,x,Ca,y,qa),v.paintBottom(c,l,t,m,r,x,Ea,y,la),v.paintSW(c,l,t,m,r,x,Ea,y,oa),v.paintLeft(c,l,t,m,r,x,za,y,ka),"double"==aa&&(v.moveNWInner(c,l,t,m,r,x,za,y,R,ka,la),v.paintLeftInner(c,l,t,m,r,x,Ea,y,R,oa,la),v.paintSWInner(c,l,t,m,r,x,Ea,y,R,oa),v.paintBottomInner(c,l,t,m,r,x,Ca,y,R,qa,
+oa),v.paintSEInner(c,l,t,m,r,x,Ca,y,R),v.paintRightInner(c,l,t,m,r,x,Ba,y,R,ka,qa)),c.stroke()):(c.begin(),v.moveNE(c,l,t,m,r,x,Ba,y,ka),v.paintRight(c,l,t,m,r,x,Ca,y,oa),v.paintSE(c,l,t,m,r,x,Ca,y,qa),v.paintBottom(c,l,t,m,r,x,Ea,y,la),v.paintSW(c,l,t,m,r,x,Ea,y,oa),v.paintLeft(c,l,t,m,r,x,za,y,ka),v.lineNWInner(c,l,t,m,r,x,za,y,R,ka,la),v.paintLeftInner(c,l,t,m,r,x,Ea,y,R,oa,la),v.paintSWInner(c,l,t,m,r,x,Ea,y,R,oa),v.paintBottomInner(c,l,t,m,r,x,Ca,y,R,qa,oa),v.paintSEInner(c,l,t,m,r,x,Ca,y,R),
+v.paintRightInner(c,l,t,m,r,x,Ba,y,R,ka,qa),c.close(),c.fillAndStroke()):!ka||qa||oa||la?ka&&!qa&&!oa&&la?"frame"!=aa?(c.begin(),v.moveSW(c,l,t,m,r,x,Ea,y,oa),v.paintLeft(c,l,t,m,r,x,za,y,ka),v.paintNW(c,l,t,m,r,x,za,y,la),v.paintTop(c,l,t,m,r,x,Ba,y,qa),"double"==aa&&(v.moveNEInner(c,l,t,m,r,x,Ba,y,R,qa),v.paintTopInner(c,l,t,m,r,x,za,y,R,la,ka),v.paintNWInner(c,l,t,m,r,x,za,y,R),v.paintLeftInner(c,l,t,m,r,x,Ea,y,R,oa,la)),c.stroke()):(c.begin(),v.moveSW(c,l,t,m,r,x,Ea,y,oa),v.paintLeft(c,l,t,m,
+r,x,za,y,ka),v.paintNW(c,l,t,m,r,x,za,y,la),v.paintTop(c,l,t,m,r,x,Ba,y,qa),v.lineNEInner(c,l,t,m,r,x,Ba,y,R,qa),v.paintTopInner(c,l,t,m,r,x,za,y,R,la,ka),v.paintNWInner(c,l,t,m,r,x,za,y,R),v.paintLeftInner(c,l,t,m,r,x,Ea,y,R,oa,la),c.close(),c.fillAndStroke()):ka&&!qa&&oa&&!la?"frame"!=aa?(c.begin(),v.moveNW(c,l,t,m,r,x,za,y,la),v.paintTop(c,l,t,m,r,x,Ba,y,qa),"double"==aa&&(v.moveNEInner(c,l,t,m,r,x,Ba,y,R,qa),v.paintTopInner(c,l,t,m,r,x,za,y,R,la,ka)),c.stroke(),c.begin(),v.moveSE(c,l,t,m,r,x,
+Ca,y,qa),v.paintBottom(c,l,t,m,r,x,Ea,y,la),"double"==aa&&(v.moveSWInner(c,l,t,m,r,x,Ea,y,R,la),v.paintBottomInner(c,l,t,m,r,x,Ca,y,R,qa,oa)),c.stroke()):(c.begin(),v.moveNW(c,l,t,m,r,x,za,y,la),v.paintTop(c,l,t,m,r,x,Ba,y,qa),v.lineNEInner(c,l,t,m,r,x,Ba,y,R,qa),v.paintTopInner(c,l,t,m,r,x,za,y,R,la,ka),c.close(),c.fillAndStroke(),c.begin(),v.moveSE(c,l,t,m,r,x,Ca,y,qa),v.paintBottom(c,l,t,m,r,x,Ea,y,la),v.lineSWInner(c,l,t,m,r,x,Ea,y,R,la),v.paintBottomInner(c,l,t,m,r,x,Ca,y,R,qa,oa),c.close(),
+c.fillAndStroke()):ka&&!qa&&oa&&la?"frame"!=aa?(c.begin(),v.moveSE(c,l,t,m,r,x,Ca,y,qa),v.paintBottom(c,l,t,m,r,x,Ea,y,la),v.paintSW(c,l,t,m,r,x,Ea,y,oa),v.paintLeft(c,l,t,m,r,x,za,y,ka),v.paintNW(c,l,t,m,r,x,za,y,la),v.paintTop(c,l,t,m,r,x,Ba,y,qa),"double"==aa&&(v.moveNEInner(c,l,t,m,r,x,Ba,y,R,qa),v.paintTopInner(c,l,t,m,r,x,za,y,R,la,ka),v.paintNWInner(c,l,t,m,r,x,za,y,R),v.paintLeftInner(c,l,t,m,r,x,Ea,y,R,oa,la),v.paintSWInner(c,l,t,m,r,x,Ea,y,R,oa),v.paintBottomInner(c,l,t,m,r,x,Ca,y,R,qa,
+oa)),c.stroke()):(c.begin(),v.moveSE(c,l,t,m,r,x,Ca,y,qa),v.paintBottom(c,l,t,m,r,x,Ea,y,la),v.paintSW(c,l,t,m,r,x,Ea,y,oa),v.paintLeft(c,l,t,m,r,x,za,y,ka),v.paintNW(c,l,t,m,r,x,za,y,la),v.paintTop(c,l,t,m,r,x,Ba,y,qa),v.lineNEInner(c,l,t,m,r,x,Ba,y,R,qa),v.paintTopInner(c,l,t,m,r,x,za,y,R,la,ka),v.paintNWInner(c,l,t,m,r,x,za,y,R),v.paintLeftInner(c,l,t,m,r,x,Ea,y,R,oa,la),v.paintSWInner(c,l,t,m,r,x,Ea,y,R,oa),v.paintBottomInner(c,l,t,m,r,x,Ca,y,R,qa,oa),c.close(),c.fillAndStroke()):ka&&qa&&!oa&&
+!la?"frame"!=aa?(c.begin(),v.moveNW(c,l,t,m,r,x,za,y,la),v.paintTop(c,l,t,m,r,x,Ba,y,qa),v.paintNE(c,l,t,m,r,x,Ba,y,ka),v.paintRight(c,l,t,m,r,x,Ca,y,oa),"double"==aa&&(v.moveSEInner(c,l,t,m,r,x,Ca,y,R,oa),v.paintRightInner(c,l,t,m,r,x,Ba,y,R,ka,qa),v.paintNEInner(c,l,t,m,r,x,Ba,y,R),v.paintTopInner(c,l,t,m,r,x,za,y,R,la,ka)),c.stroke()):(c.begin(),v.moveNW(c,l,t,m,r,x,za,y,la),v.paintTop(c,l,t,m,r,x,Ba,y,qa),v.paintNE(c,l,t,m,r,x,Ba,y,ka),v.paintRight(c,l,t,m,r,x,Ca,y,oa),v.lineSEInner(c,l,t,m,r,
+x,Ca,y,R,oa),v.paintRightInner(c,l,t,m,r,x,Ba,y,R,ka,qa),v.paintNEInner(c,l,t,m,r,x,Ba,y,R),v.paintTopInner(c,l,t,m,r,x,za,y,R,la,ka),c.close(),c.fillAndStroke()):ka&&qa&&!oa&&la?"frame"!=aa?(c.begin(),v.moveSW(c,l,t,m,r,x,Ea,y,oa),v.paintLeft(c,l,t,m,r,x,za,y,ka),v.paintNW(c,l,t,m,r,x,za,y,la),v.paintTop(c,l,t,m,r,x,Ba,y,qa),v.paintNE(c,l,t,m,r,x,Ba,y,ka),v.paintRight(c,l,t,m,r,x,Ca,y,oa),"double"==aa&&(v.moveSEInner(c,l,t,m,r,x,Ca,y,R,oa),v.paintRightInner(c,l,t,m,r,x,Ba,y,R,ka,qa),v.paintNEInner(c,
+l,t,m,r,x,Ba,y,R),v.paintTopInner(c,l,t,m,r,x,za,y,R,la,ka),v.paintNWInner(c,l,t,m,r,x,za,y,R),v.paintLeftInner(c,l,t,m,r,x,Ea,y,R,oa,la)),c.stroke()):(c.begin(),v.moveSW(c,l,t,m,r,x,Ea,y,oa),v.paintLeft(c,l,t,m,r,x,za,y,ka),v.paintNW(c,l,t,m,r,x,za,y,la),v.paintTop(c,l,t,m,r,x,Ba,y,qa),v.paintNE(c,l,t,m,r,x,Ba,y,ka),v.paintRight(c,l,t,m,r,x,Ca,y,oa),v.lineSEInner(c,l,t,m,r,x,Ca,y,R,oa),v.paintRightInner(c,l,t,m,r,x,Ba,y,R,ka,qa),v.paintNEInner(c,l,t,m,r,x,Ba,y,R),v.paintTopInner(c,l,t,m,r,x,za,y,
+R,la,ka),v.paintNWInner(c,l,t,m,r,x,za,y,R),v.paintLeftInner(c,l,t,m,r,x,Ea,y,R,oa,la),c.close(),c.fillAndStroke()):ka&&qa&&oa&&!la?"frame"!=aa?(c.begin(),v.moveNW(c,l,t,m,r,x,za,y,la),v.paintTop(c,l,t,m,r,x,Ba,y,qa),v.paintNE(c,l,t,m,r,x,Ba,y,ka),v.paintRight(c,l,t,m,r,x,Ca,y,oa),v.paintSE(c,l,t,m,r,x,Ca,y,qa),v.paintBottom(c,l,t,m,r,x,Ea,y,la),"double"==aa&&(v.moveSWInner(c,l,t,m,r,x,Ea,y,R,la),v.paintBottomInner(c,l,t,m,r,x,Ca,y,R,qa,oa),v.paintSEInner(c,l,t,m,r,x,Ca,y,R),v.paintRightInner(c,l,
+t,m,r,x,Ba,y,R,ka,qa),v.paintNEInner(c,l,t,m,r,x,Ba,y,R),v.paintTopInner(c,l,t,m,r,x,za,y,R,la,ka)),c.stroke()):(c.begin(),v.moveNW(c,l,t,m,r,x,za,y,la),v.paintTop(c,l,t,m,r,x,Ba,y,qa),v.paintNE(c,l,t,m,r,x,Ba,y,ka),v.paintRight(c,l,t,m,r,x,Ca,y,oa),v.paintSE(c,l,t,m,r,x,Ca,y,qa),v.paintBottom(c,l,t,m,r,x,Ea,y,la),v.lineSWInner(c,l,t,m,r,x,Ea,y,R,la),v.paintBottomInner(c,l,t,m,r,x,Ca,y,R,qa,oa),v.paintSEInner(c,l,t,m,r,x,Ca,y,R),v.paintRightInner(c,l,t,m,r,x,Ba,y,R,ka,qa),v.paintNEInner(c,l,t,m,r,
+x,Ba,y,R),v.paintTopInner(c,l,t,m,r,x,za,y,R,la,ka),c.close(),c.fillAndStroke()):ka&&qa&&oa&&la&&("frame"!=aa?(c.begin(),v.moveNW(c,l,t,m,r,x,za,y,la),v.paintNW(c,l,t,m,r,x,za,y,la),v.paintTop(c,l,t,m,r,x,Ba,y,qa),v.paintNE(c,l,t,m,r,x,Ba,y,ka),v.paintRight(c,l,t,m,r,x,Ca,y,oa),v.paintSE(c,l,t,m,r,x,Ca,y,qa),v.paintBottom(c,l,t,m,r,x,Ea,y,la),v.paintSW(c,l,t,m,r,x,Ea,y,oa),v.paintLeft(c,l,t,m,r,x,za,y,ka),c.close(),"double"==aa&&(v.moveSWInner(c,l,t,m,r,x,Ea,y,R,la),v.paintSWInner(c,l,t,m,r,x,Ea,
+y,R,oa),v.paintBottomInner(c,l,t,m,r,x,Ca,y,R,qa,oa),v.paintSEInner(c,l,t,m,r,x,Ca,y,R),v.paintRightInner(c,l,t,m,r,x,Ba,y,R,ka,qa),v.paintNEInner(c,l,t,m,r,x,Ba,y,R),v.paintTopInner(c,l,t,m,r,x,za,y,R,la,ka),v.paintNWInner(c,l,t,m,r,x,za,y,R),v.paintLeftInner(c,l,t,m,r,x,Ea,y,R,oa,la),c.close()),c.stroke()):(c.begin(),v.moveNW(c,l,t,m,r,x,za,y,la),v.paintNW(c,l,t,m,r,x,za,y,la),v.paintTop(c,l,t,m,r,x,Ba,y,qa),v.paintNE(c,l,t,m,r,x,Ba,y,ka),v.paintRight(c,l,t,m,r,x,Ca,y,oa),v.paintSE(c,l,t,m,r,x,
+Ca,y,qa),v.paintBottom(c,l,t,m,r,x,Ea,y,la),v.paintSW(c,l,t,m,r,x,Ea,y,oa),v.paintLeft(c,l,t,m,r,x,za,y,ka),c.close(),v.moveSWInner(c,l,t,m,r,x,Ea,y,R,la),v.paintSWInner(c,l,t,m,r,x,Ea,y,R,oa),v.paintBottomInner(c,l,t,m,r,x,Ca,y,R,qa,oa),v.paintSEInner(c,l,t,m,r,x,Ca,y,R),v.paintRightInner(c,l,t,m,r,x,Ba,y,R,ka,qa),v.paintNEInner(c,l,t,m,r,x,Ba,y,R),v.paintTopInner(c,l,t,m,r,x,za,y,R,la,ka),v.paintNWInner(c,l,t,m,r,x,za,y,R),v.paintLeftInner(c,l,t,m,r,x,Ea,y,R,oa,la),c.close(),c.fillAndStroke())):
+"frame"!=aa?(c.begin(),v.moveNW(c,l,t,m,r,x,za,y,la),v.paintTop(c,l,t,m,r,x,Ba,y,qa),"double"==aa&&(v.moveNEInner(c,l,t,m,r,x,Ba,y,R,qa),v.paintTopInner(c,l,t,m,r,x,za,y,R,la,ka)),c.stroke()):(c.begin(),v.moveNW(c,l,t,m,r,x,za,y,la),v.paintTop(c,l,t,m,r,x,Ba,y,qa),v.lineNEInner(c,l,t,m,r,x,Ba,y,R,qa),v.paintTopInner(c,l,t,m,r,x,za,y,R,la,ka),c.close(),c.fillAndStroke()):"frame"!=aa?(c.begin(),v.moveNE(c,l,t,m,r,x,Ba,y,ka),v.paintRight(c,l,t,m,r,x,Ca,y,oa),"double"==aa&&(v.moveSEInner(c,l,t,m,r,x,
+Ca,y,R,oa),v.paintRightInner(c,l,t,m,r,x,Ba,y,R,ka,qa)),c.stroke()):(c.begin(),v.moveNE(c,l,t,m,r,x,Ba,y,ka),v.paintRight(c,l,t,m,r,x,Ca,y,oa),v.lineSEInner(c,l,t,m,r,x,Ca,y,R,oa),v.paintRightInner(c,l,t,m,r,x,Ba,y,R,ka,qa),c.close(),c.fillAndStroke()):"frame"!=aa?(c.begin(),v.moveSE(c,l,t,m,r,x,Ca,y,qa),v.paintBottom(c,l,t,m,r,x,Ea,y,la),"double"==aa&&(v.moveSWInner(c,l,t,m,r,x,Ea,y,R,la),v.paintBottomInner(c,l,t,m,r,x,Ca,y,R,qa,oa)),c.stroke()):(c.begin(),v.moveSE(c,l,t,m,r,x,Ca,y,qa),v.paintBottom(c,
+l,t,m,r,x,Ea,y,la),v.lineSWInner(c,l,t,m,r,x,Ea,y,R,la),v.paintBottomInner(c,l,t,m,r,x,Ca,y,R,qa,oa),c.close(),c.fillAndStroke()):"frame"!=aa?(c.begin(),v.moveSW(c,l,t,m,r,x,za,y,oa),v.paintLeft(c,l,t,m,r,x,za,y,ka),"double"==aa&&(v.moveNWInner(c,l,t,m,r,x,za,y,R,ka,la),v.paintLeftInner(c,l,t,m,r,x,Ea,y,R,oa,la)),c.stroke()):(c.begin(),v.moveSW(c,l,t,m,r,x,za,y,oa),v.paintLeft(c,l,t,m,r,x,za,y,ka),v.lineNWInner(c,l,t,m,r,x,za,y,R,ka,la),v.paintLeftInner(c,l,t,m,r,x,Ea,y,R,oa,la),c.close(),c.fillAndStroke());
+c.begin();v.paintFolds(c,l,t,m,r,x,za,Ba,Ca,Ea,y,ka,qa,oa,la);c.stroke()};Aa.prototype.moveNW=function(c,l,t,m,r,v,x,J,y){"square"==x||"default"==x&&"square"==v||!y?c.moveTo(0,0):c.moveTo(0,J)};Aa.prototype.moveNE=function(c,l,t,m,r,v,x,J,y){"square"==x||"default"==x&&"square"==v||!y?c.moveTo(m,0):c.moveTo(m-J,0)};Aa.prototype.moveSE=function(c,l,t,m,r,v,x,J,y){"square"==x||"default"==x&&"square"==v||!y?c.moveTo(m,r):c.moveTo(m,r-J)};Aa.prototype.moveSW=function(c,l,t,m,r,v,x,J,y){"square"==x||"default"==
+x&&"square"==v||!y?c.moveTo(0,r):c.moveTo(J,r)};Aa.prototype.paintNW=function(c,l,t,m,r,v,x,J,y){if(y)if("rounded"==x||"default"==x&&"rounded"==v||"invRound"==x||"default"==x&&"invRound"==v){l=0;if("rounded"==x||"default"==x&&"rounded"==v)l=1;c.arcTo(J,J,0,0,l,J,0)}else("snip"==x||"default"==x&&"snip"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(J,0);else c.lineTo(0,0)};Aa.prototype.paintTop=function(c,l,t,m,r,v,x,J,y){"square"==x||"default"==x&&"square"==v||!y?c.lineTo(m,0):c.lineTo(m-J,0)};
+Aa.prototype.paintNE=function(c,l,t,m,r,v,x,J,y){if(y)if("rounded"==x||"default"==x&&"rounded"==v||"invRound"==x||"default"==x&&"invRound"==v){l=0;if("rounded"==x||"default"==x&&"rounded"==v)l=1;c.arcTo(J,J,0,0,l,m,J)}else("snip"==x||"default"==x&&"snip"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(m,J);else c.lineTo(m,0)};Aa.prototype.paintRight=function(c,l,t,m,r,v,x,J,y){"square"==x||"default"==x&&"square"==v||!y?c.lineTo(m,r):c.lineTo(m,r-J)};Aa.prototype.paintLeft=function(c,l,t,m,r,v,x,
+J,y){"square"==x||"default"==x&&"square"==v||!y?c.lineTo(0,0):c.lineTo(0,J)};Aa.prototype.paintSE=function(c,l,t,m,r,v,x,J,y){if(y)if("rounded"==x||"default"==x&&"rounded"==v||"invRound"==x||"default"==x&&"invRound"==v){l=0;if("rounded"==x||"default"==x&&"rounded"==v)l=1;c.arcTo(J,J,0,0,l,m-J,r)}else("snip"==x||"default"==x&&"snip"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(m-J,r);else c.lineTo(m,r)};Aa.prototype.paintBottom=function(c,l,t,m,r,v,x,J,y){"square"==x||"default"==x&&"square"==
+v||!y?c.lineTo(0,r):c.lineTo(J,r)};Aa.prototype.paintSW=function(c,l,t,m,r,v,x,J,y){if(y)if("rounded"==x||"default"==x&&"rounded"==v||"invRound"==x||"default"==x&&"invRound"==v){l=0;if("rounded"==x||"default"==x&&"rounded"==v)l=1;c.arcTo(J,J,0,0,l,0,r-J)}else("snip"==x||"default"==x&&"snip"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(0,r-J);else c.lineTo(0,r)};Aa.prototype.paintNWInner=function(c,l,t,m,r,v,x,J,y){if("rounded"==x||"default"==x&&"rounded"==v)c.arcTo(J-.5*y,J-.5*y,0,0,0,y,.5*y+
+J);else if("invRound"==x||"default"==x&&"invRound"==v)c.arcTo(J+y,J+y,0,0,1,y,y+J);else if("snip"==x||"default"==x&&"snip"==v)c.lineTo(y,.5*y+J);else if("fold"==x||"default"==x&&"fold"==v)c.lineTo(y+J,y+J),c.lineTo(y,y+J)};Aa.prototype.paintTopInner=function(c,l,t,m,r,v,x,J,y,aa,R){aa||R?!aa&&R?c.lineTo(0,y):aa&&!R?c.lineTo(y,0):aa?"square"==x||"default"==x&&"square"==v?c.lineTo(y,y):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(J+.5*y,y):c.lineTo(J+y,y):c.lineTo(0,
+y):c.lineTo(0,0)};Aa.prototype.paintNEInner=function(c,l,t,m,r,v,x,J,y){if("rounded"==x||"default"==x&&"rounded"==v)c.arcTo(J-.5*y,J-.5*y,0,0,0,m-J-.5*y,y);else if("invRound"==x||"default"==x&&"invRound"==v)c.arcTo(J+y,J+y,0,0,1,m-J-y,y);else if("snip"==x||"default"==x&&"snip"==v)c.lineTo(m-J-.5*y,y);else if("fold"==x||"default"==x&&"fold"==v)c.lineTo(m-J-y,J+y),c.lineTo(m-J-y,y)};Aa.prototype.paintRightInner=function(c,l,t,m,r,v,x,J,y,aa,R){aa||R?!aa&&R?c.lineTo(m-y,0):aa&&!R?c.lineTo(m,y):aa?"square"==
+x||"default"==x&&"square"==v?c.lineTo(m-y,y):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(m-y,J+.5*y):c.lineTo(m-y,J+y):c.lineTo(m-y,0):c.lineTo(m,0)};Aa.prototype.paintLeftInner=function(c,l,t,m,r,v,x,J,y,aa,R){aa||R?!aa&&R?c.lineTo(y,r):aa&&!R?c.lineTo(0,r-y):aa?"square"==x||"default"==x&&"square"==v?c.lineTo(y,r-y):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(y,r-J-.5*y):c.lineTo(y,r-J-y):c.lineTo(y,r):c.lineTo(0,
+r)};Aa.prototype.paintSEInner=function(c,l,t,m,r,v,x,J,y){if("rounded"==x||"default"==x&&"rounded"==v)c.arcTo(J-.5*y,J-.5*y,0,0,0,m-y,r-J-.5*y);else if("invRound"==x||"default"==x&&"invRound"==v)c.arcTo(J+y,J+y,0,0,1,m-y,r-J-y);else if("snip"==x||"default"==x&&"snip"==v)c.lineTo(m-y,r-J-.5*y);else if("fold"==x||"default"==x&&"fold"==v)c.lineTo(m-J-y,r-J-y),c.lineTo(m-y,r-J-y)};Aa.prototype.paintBottomInner=function(c,l,t,m,r,v,x,J,y,aa,R){aa||R?!aa&&R?c.lineTo(m,r-y):aa&&!R?c.lineTo(m-y,r):"square"==
+x||"default"==x&&"square"==v||!aa?c.lineTo(m-y,r-y):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(m-J-.5*y,r-y):c.lineTo(m-J-y,r-y):c.lineTo(m,r)};Aa.prototype.paintSWInner=function(c,l,t,m,r,v,x,J,y,aa){if(!aa)c.lineTo(y,r);else if("square"==x||"default"==x&&"square"==v)c.lineTo(y,r-y);else if("rounded"==x||"default"==x&&"rounded"==v)c.arcTo(J-.5*y,J-.5*y,0,0,0,J+.5*y,r-y);else if("invRound"==x||"default"==x&&"invRound"==v)c.arcTo(J+y,J+y,0,0,1,J+y,r-y);else if("snip"==
+x||"default"==x&&"snip"==v)c.lineTo(J+.5*y,r-y);else if("fold"==x||"default"==x&&"fold"==v)c.lineTo(y+J,r-J-y),c.lineTo(y+J,r-y)};Aa.prototype.moveSWInner=function(c,l,t,m,r,v,x,J,y,aa){aa?"square"==x||"default"==x&&"square"==v?c.moveTo(y,r-y):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.moveTo(y,r-J-.5*y):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.moveTo(y,r-J-y):c.moveTo(0,r-y)};Aa.prototype.lineSWInner=function(c,l,t,m,
+r,v,x,J,y,aa){aa?"square"==x||"default"==x&&"square"==v?c.lineTo(y,r-y):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(y,r-J-.5*y):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(y,r-J-y):c.lineTo(0,r-y)};Aa.prototype.moveSEInner=function(c,l,t,m,r,v,x,J,y,aa){aa?"square"==x||"default"==x&&"square"==v?c.moveTo(m-y,r-y):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.moveTo(m-y,r-J-.5*y):
+("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.moveTo(m-y,r-J-y):c.moveTo(m-y,r)};Aa.prototype.lineSEInner=function(c,l,t,m,r,v,x,J,y,aa){aa?"square"==x||"default"==x&&"square"==v?c.lineTo(m-y,r-y):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(m-y,r-J-.5*y):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(m-y,r-J-y):c.lineTo(m-y,r)};Aa.prototype.moveNEInner=function(c,l,t,m,r,v,x,
+J,y,aa){aa?"square"==x||"default"==x&&"square"==v||aa?c.moveTo(m-y,y):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.moveTo(m-y,J+.5*y):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.moveTo(m-y,J+y):c.moveTo(m,y)};Aa.prototype.lineNEInner=function(c,l,t,m,r,v,x,J,y,aa){aa?"square"==x||"default"==x&&"square"==v||aa?c.lineTo(m-y,y):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(m-y,J+.5*y):("invRound"==
+x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(m-y,J+y):c.lineTo(m,y)};Aa.prototype.moveNWInner=function(c,l,t,m,r,v,x,J,y,aa,R){aa||R?!aa&&R?c.moveTo(y,0):aa&&!R?c.moveTo(0,y):"square"==x||"default"==x&&"square"==v?c.moveTo(y,y):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.moveTo(y,J+.5*y):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.moveTo(y,J+y):c.moveTo(0,0)};Aa.prototype.lineNWInner=function(c,
+l,t,m,r,v,x,J,y,aa,R){aa||R?!aa&&R?c.lineTo(y,0):aa&&!R?c.lineTo(0,y):"square"==x||"default"==x&&"square"==v?c.lineTo(y,y):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(y,J+.5*y):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(y,J+y):c.lineTo(0,0)};Aa.prototype.paintFolds=function(c,l,t,m,r,v,x,J,y,aa,R,Ga,Va,Pa,ka){if("fold"==v||"fold"==x||"fold"==J||"fold"==y||"fold"==aa)("fold"==x||"default"==x&&"fold"==v)&&Ga&&
+ka&&(c.moveTo(0,R),c.lineTo(R,R),c.lineTo(R,0)),("fold"==J||"default"==J&&"fold"==v)&&Ga&&Va&&(c.moveTo(m-R,0),c.lineTo(m-R,R),c.lineTo(m,R)),("fold"==y||"default"==y&&"fold"==v)&&Pa&&Va&&(c.moveTo(m-R,r),c.lineTo(m-R,r-R),c.lineTo(m,r-R)),("fold"==aa||"default"==aa&&"fold"==v)&&Pa&&ka&&(c.moveTo(0,r-R),c.lineTo(R,r-R),c.lineTo(R,r))};mxCellRenderer.registerShape(Aa.prototype.cst.RECT2,Aa);Aa.prototype.constraints=null;mxUtils.extend(va,mxConnector);va.prototype.origPaintEdgeShape=va.prototype.paintEdgeShape;
+va.prototype.paintEdgeShape=function(c,l,t){for(var m=[],r=0;r<l.length;r++)m.push(mxUtils.clone(l[r]));r=c.state.dashed;var v=c.state.fixDash;va.prototype.origPaintEdgeShape.apply(this,[c,m,t]);3<=c.state.strokeWidth&&(m=mxUtils.getValue(this.style,"fillColor",null),null!=m&&(c.setStrokeColor(m),c.setStrokeWidth(c.state.strokeWidth-2),c.setDashed(r,v),va.prototype.origPaintEdgeShape.apply(this,[c,l,t])))};mxCellRenderer.registerShape("filledEdge",va);"undefined"!==typeof StyleFormatPanel&&function(){var c=
+StyleFormatPanel.prototype.getCustomColors;StyleFormatPanel.prototype.getCustomColors=function(){var l=this.editorUi.getSelectionState(),t=c.apply(this,arguments);"umlFrame"==l.style.shape&&t.push({title:mxResources.get("laneColor"),key:"swimlaneFillColor",defaultValue:"default"});return t}}();mxMarker.addMarker("dash",function(c,l,t,m,r,v,x,J,y,aa){var R=r*(x+y+1),Ga=v*(x+y+1);return function(){c.begin();c.moveTo(m.x-R/2-Ga/2,m.y-Ga/2+R/2);c.lineTo(m.x+Ga/2-3*R/2,m.y-3*Ga/2-R/2);c.stroke()}});mxMarker.addMarker("box",
+function(c,l,t,m,r,v,x,J,y,aa){var R=r*(x+y+1),Ga=v*(x+y+1),Va=m.x+R/2,Pa=m.y+Ga/2;m.x-=R;m.y-=Ga;return function(){c.begin();c.moveTo(Va-R/2-Ga/2,Pa-Ga/2+R/2);c.lineTo(Va-R/2+Ga/2,Pa-Ga/2-R/2);c.lineTo(Va+Ga/2-3*R/2,Pa-3*Ga/2-R/2);c.lineTo(Va-Ga/2-3*R/2,Pa-3*Ga/2+R/2);c.close();aa?c.fillAndStroke():c.stroke()}});mxMarker.addMarker("cross",function(c,l,t,m,r,v,x,J,y,aa){var R=r*(x+y+1),Ga=v*(x+y+1);return function(){c.begin();c.moveTo(m.x-R/2-Ga/2,m.y-Ga/2+R/2);c.lineTo(m.x+Ga/2-3*R/2,m.y-3*Ga/2-
+R/2);c.moveTo(m.x-R/2+Ga/2,m.y-Ga/2-R/2);c.lineTo(m.x-Ga/2-3*R/2,m.y-3*Ga/2+R/2);c.stroke()}});mxMarker.addMarker("circle",Ya);mxMarker.addMarker("circlePlus",function(c,l,t,m,r,v,x,J,y,aa){var R=m.clone(),Ga=Ya.apply(this,arguments),Va=r*(x+2*y),Pa=v*(x+2*y);return function(){Ga.apply(this,arguments);c.begin();c.moveTo(R.x-r*y,R.y-v*y);c.lineTo(R.x-2*Va+r*y,R.y-2*Pa+v*y);c.moveTo(R.x-Va-Pa+v*y,R.y-Pa+Va-r*y);c.lineTo(R.x+Pa-Va-v*y,R.y-Pa-Va+r*y);c.stroke()}});mxMarker.addMarker("halfCircle",function(c,
+l,t,m,r,v,x,J,y,aa){var R=r*(x+y+1),Ga=v*(x+y+1),Va=m.clone();m.x-=R;m.y-=Ga;return function(){c.begin();c.moveTo(Va.x-Ga,Va.y+R);c.quadTo(m.x-Ga,m.y+R,m.x,m.y);c.quadTo(m.x+Ga,m.y-R,Va.x+Ga,Va.y-R);c.stroke()}});mxMarker.addMarker("async",function(c,l,t,m,r,v,x,J,y,aa){l=r*y*1.118;t=v*y*1.118;r*=x+y;v*=x+y;var R=m.clone();R.x-=l;R.y-=t;m.x+=-r-l;m.y+=-v-t;return function(){c.begin();c.moveTo(R.x,R.y);J?c.lineTo(R.x-r-v/2,R.y-v+r/2):c.lineTo(R.x+v/2-r,R.y-v-r/2);c.lineTo(R.x-r,R.y-v);c.close();aa?
+c.fillAndStroke():c.stroke()}});mxMarker.addMarker("openAsync",function(c){c=null!=c?c:2;return function(l,t,m,r,v,x,J,y,aa,R){v*=J+aa;x*=J+aa;var Ga=r.clone();return function(){l.begin();l.moveTo(Ga.x,Ga.y);y?l.lineTo(Ga.x-v-x/c,Ga.y-x+v/c):l.lineTo(Ga.x+x/c-v,Ga.y-x-v/c);l.stroke()}}}(2));if("undefined"!==typeof mxVertexHandler){var eb=function(c,l,t){return kb(c,["width"],l,function(m,r,v,x,J){J=c.shape.getEdgeWidth()*c.view.scale+t;return new mxPoint(x.x+r*m/4+v*J/2,x.y+v*m/4-r*J/2)},function(m,
+r,v,x,J,y){m=Math.sqrt(mxUtils.ptSegDistSq(x.x,x.y,J.x,J.y,y.x,y.y));c.style.width=Math.round(2*m)/c.view.scale-t})},kb=function(c,l,t,m,r){return Ra(c,l,function(v){var x=c.absolutePoints;if(null!=x&&0<x.length){var J=x.length-1;v=c.view.translate;var y=c.view.scale,aa=t?x[0]:x[J];x=t?x[1]:x[J-1];J=x.x-aa.x;var R=x.y-aa.y,Ga=Math.sqrt(J*J+R*R);aa=m.call(this,Ga,J/Ga,R/Ga,aa,x);return new mxPoint(aa.x/y-v.x,aa.y/y-v.y)}return null},function(v,x,J){var y=c.absolutePoints,aa=y.length-1;v=c.view.translate;
+var R=c.view.scale,Ga=t?y[0]:y[aa];y=t?y[1]:y[aa-1];aa=y.x-Ga.x;var Va=y.y-Ga.y,Pa=Math.sqrt(aa*aa+Va*Va);x.x=(x.x+v.x)*R;x.y=(x.y+v.y)*R;r.call(this,Pa,aa/Pa,Va/Pa,Ga,y,x,J)})},qb=function(c,l){return function(t){return[kb(t,["startWidth"],!0,function(m,r,v,x,J){J=mxUtils.getNumber(t.style,"startWidth",c)*t.view.scale+l;return new mxPoint(x.x+r*m/4+v*J/2,x.y+v*m/4-r*J/2)},function(m,r,v,x,J,y){m=Math.sqrt(mxUtils.ptSegDistSq(x.x,x.y,J.x,J.y,y.x,y.y));t.style.startWidth=Math.round(2*m)/t.view.scale-
+l})]}},tb=function(c){return function(l){return[Ra(l,["arrowWidth","arrowSize"],function(t){var m=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"arrowWidth",ab.prototype.arrowWidth))),r=Math.max(0,Math.min(c,mxUtils.getValue(this.state.style,"arrowSize",ab.prototype.arrowSize)));return new mxPoint(t.x+(1-r)*t.width,t.y+(1-m)*t.height/2)},function(t,m){this.state.style.arrowWidth=Math.max(0,Math.min(1,Math.abs(t.y+t.height/2-m.y)/t.height*2));this.state.style.arrowSize=Math.max(0,Math.min(c,
+(t.x+t.width-m.x)/t.width))})]}},ub=function(c){return function(l){return[Ra(l,["size"],function(t){var m=Math.max(0,Math.min(.5*t.height,parseFloat(mxUtils.getValue(this.state.style,"size",c))));return new mxPoint(t.x,t.y+m)},function(t,m){this.state.style.size=Math.max(0,m.y-t.y)},!0)]}},nb=function(c,l,t){return function(m){var r=[Ra(m,["size"],function(v){var x=Math.max(0,Math.min(v.width,Math.min(v.height,parseFloat(mxUtils.getValue(this.state.style,"size",l)))))*c;return new mxPoint(v.x+x,v.y+
+x)},function(v,x){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(v.width,x.x-v.x),Math.min(v.height,x.y-v.y)))/c)},!1)];t&&mxUtils.getValue(m.style,mxConstants.STYLE_ROUNDED,!1)&&r.push(fb(m));return r}},rb=function(c,l,t,m,r){t=null!=t?t:.5;return function(v){var x=[Ra(v,["size"],function(J){var y=null!=r?"0"!=mxUtils.getValue(this.state.style,"fixedSize","0"):null,aa=parseFloat(mxUtils.getValue(this.state.style,"size",y?r:c));return new mxPoint(J.x+Math.max(0,Math.min(.5*J.width,
+aa*(y?1:J.width))),J.getCenterY())},function(J,y,aa){J=null!=r&&"0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?y.x-J.x:Math.max(0,Math.min(t,(y.x-J.x)/J.width));this.state.style.size=J},!1,m)];l&&mxUtils.getValue(v.style,mxConstants.STYLE_ROUNDED,!1)&&x.push(fb(v));return x}},vb=function(c,l,t){c=null!=c?c:.5;return function(m){var r=[Ra(m,["size"],function(v){var x=null!=t?"0"!=mxUtils.getValue(this.state.style,"fixedSize","0"):null,J=Math.max(0,parseFloat(mxUtils.getValue(this.state.style,
+"size",x?t:l)));return new mxPoint(v.x+Math.min(.75*v.width*c,J*(x?.75:.75*v.width)),v.y+v.height/4)},function(v,x){v=null!=t&&"0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?x.x-v.x:Math.max(0,Math.min(c,(x.x-v.x)/v.width*.75));this.state.style.size=v},!1,!0)];mxUtils.getValue(m.style,mxConstants.STYLE_ROUNDED,!1)&&r.push(fb(m));return r}},Ua=function(){return function(c){var l=[];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,!1)&&l.push(fb(c));return l}},fb=function(c,l){return Ra(c,
+[mxConstants.STYLE_ARCSIZE],function(t){var m=null!=l?l:t.height/8;if("1"==mxUtils.getValue(c.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,0)){var r=mxUtils.getValue(c.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;return new mxPoint(t.x+t.width-Math.min(t.width/2,r),t.y+m)}r=Math.max(0,parseFloat(mxUtils.getValue(c.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)))/100;return new mxPoint(t.x+t.width-Math.min(Math.max(t.width/2,t.height/2),Math.min(t.width,t.height)*
+r),t.y+m)},function(t,m,r){"1"==mxUtils.getValue(c.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,0)?this.state.style[mxConstants.STYLE_ARCSIZE]=Math.round(Math.max(0,Math.min(t.width,2*(t.x+t.width-m.x)))):this.state.style[mxConstants.STYLE_ARCSIZE]=Math.round(Math.min(50,Math.max(0,100*(t.width-m.x+t.x)/Math.min(t.width,t.height))))})},Ra=function(c,l,t,m,r,v,x){var J=new mxHandle(c,null,mxVertexHandler.prototype.secondaryHandleImage);J.execute=function(aa){for(var R=0;R<l.length;R++)this.copyStyle(l[R]);
+x&&x(aa)};J.getPosition=t;J.setPosition=m;J.ignoreGrid=null!=r?r:!0;if(v){var y=J.positionChanged;J.positionChanged=function(){y.apply(this,arguments);c.view.invalidate(this.state.cell);c.view.validate()}}return J},jb={link:function(c){return[eb(c,!0,10),eb(c,!1,10)]},flexArrow:function(c){var l=c.view.graph.gridSize/c.view.scale,t=[];mxUtils.getValue(c.style,mxConstants.STYLE_STARTARROW,mxConstants.NONE)!=mxConstants.NONE&&(t.push(kb(c,["width",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],
!0,function(m,r,v,x,J){m=(c.shape.getEdgeWidth()-c.shape.strokewidth)*c.view.scale;J=3*mxUtils.getNumber(c.style,mxConstants.STYLE_STARTSIZE,mxConstants.ARROW_SIZE/5)*c.view.scale;return new mxPoint(x.x+r*(J+c.shape.strokewidth*c.view.scale)+v*m/2,x.y+v*(J+c.shape.strokewidth*c.view.scale)-r*m/2)},function(m,r,v,x,J,y,aa){m=Math.sqrt(mxUtils.ptSegDistSq(x.x,x.y,J.x,J.y,y.x,y.y));r=mxUtils.ptLineDist(x.x,x.y,x.x+v,x.y-r,y.x,y.y);c.style[mxConstants.STYLE_STARTSIZE]=Math.round(100*(r-c.shape.strokewidth)/
-3)/100/c.view.scale;c.style.width=Math.round(2*m)/c.view.scale;if(mxEvent.isShiftDown(aa.getEvent())||mxEvent.isControlDown(aa.getEvent()))c.style[mxConstants.STYLE_ENDSIZE]=c.style[mxConstants.STYLE_STARTSIZE];mxEvent.isAltDown(aa.getEvent())||Math.abs(parseFloat(c.style[mxConstants.STYLE_STARTSIZE])-parseFloat(c.style[mxConstants.STYLE_ENDSIZE]))<k/6&&(c.style[mxConstants.STYLE_STARTSIZE]=c.style[mxConstants.STYLE_ENDSIZE])})),t.push(lb(c,["startWidth","endWidth",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],
+3)/100/c.view.scale;c.style.width=Math.round(2*m)/c.view.scale;if(mxEvent.isShiftDown(aa.getEvent())||mxEvent.isControlDown(aa.getEvent()))c.style[mxConstants.STYLE_ENDSIZE]=c.style[mxConstants.STYLE_STARTSIZE];mxEvent.isAltDown(aa.getEvent())||Math.abs(parseFloat(c.style[mxConstants.STYLE_STARTSIZE])-parseFloat(c.style[mxConstants.STYLE_ENDSIZE]))<l/6&&(c.style[mxConstants.STYLE_STARTSIZE]=c.style[mxConstants.STYLE_ENDSIZE])})),t.push(kb(c,["startWidth","endWidth",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],
!0,function(m,r,v,x,J){m=(c.shape.getStartArrowWidth()-c.shape.strokewidth)*c.view.scale;J=3*mxUtils.getNumber(c.style,mxConstants.STYLE_STARTSIZE,mxConstants.ARROW_SIZE/5)*c.view.scale;return new mxPoint(x.x+r*(J+c.shape.strokewidth*c.view.scale)+v*m/2,x.y+v*(J+c.shape.strokewidth*c.view.scale)-r*m/2)},function(m,r,v,x,J,y,aa){m=Math.sqrt(mxUtils.ptSegDistSq(x.x,x.y,J.x,J.y,y.x,y.y));r=mxUtils.ptLineDist(x.x,x.y,x.x+v,x.y-r,y.x,y.y);c.style[mxConstants.STYLE_STARTSIZE]=Math.round(100*(r-c.shape.strokewidth)/
-3)/100/c.view.scale;c.style.startWidth=Math.max(0,Math.round(2*m)-c.shape.getEdgeWidth())/c.view.scale;if(mxEvent.isShiftDown(aa.getEvent())||mxEvent.isControlDown(aa.getEvent()))c.style[mxConstants.STYLE_ENDSIZE]=c.style[mxConstants.STYLE_STARTSIZE],c.style.endWidth=c.style.startWidth;mxEvent.isAltDown(aa.getEvent())||(Math.abs(parseFloat(c.style[mxConstants.STYLE_STARTSIZE])-parseFloat(c.style[mxConstants.STYLE_ENDSIZE]))<k/6&&(c.style[mxConstants.STYLE_STARTSIZE]=c.style[mxConstants.STYLE_ENDSIZE]),
-Math.abs(parseFloat(c.style.startWidth)-parseFloat(c.style.endWidth))<k&&(c.style.startWidth=c.style.endWidth))})));mxUtils.getValue(c.style,mxConstants.STYLE_ENDARROW,mxConstants.NONE)!=mxConstants.NONE&&(t.push(lb(c,["width",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!1,function(m,r,v,x,J){m=(c.shape.getEdgeWidth()-c.shape.strokewidth)*c.view.scale;J=3*mxUtils.getNumber(c.style,mxConstants.STYLE_ENDSIZE,mxConstants.ARROW_SIZE/5)*c.view.scale;return new mxPoint(x.x+r*(J+c.shape.strokewidth*
+3)/100/c.view.scale;c.style.startWidth=Math.max(0,Math.round(2*m)-c.shape.getEdgeWidth())/c.view.scale;if(mxEvent.isShiftDown(aa.getEvent())||mxEvent.isControlDown(aa.getEvent()))c.style[mxConstants.STYLE_ENDSIZE]=c.style[mxConstants.STYLE_STARTSIZE],c.style.endWidth=c.style.startWidth;mxEvent.isAltDown(aa.getEvent())||(Math.abs(parseFloat(c.style[mxConstants.STYLE_STARTSIZE])-parseFloat(c.style[mxConstants.STYLE_ENDSIZE]))<l/6&&(c.style[mxConstants.STYLE_STARTSIZE]=c.style[mxConstants.STYLE_ENDSIZE]),
+Math.abs(parseFloat(c.style.startWidth)-parseFloat(c.style.endWidth))<l&&(c.style.startWidth=c.style.endWidth))})));mxUtils.getValue(c.style,mxConstants.STYLE_ENDARROW,mxConstants.NONE)!=mxConstants.NONE&&(t.push(kb(c,["width",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!1,function(m,r,v,x,J){m=(c.shape.getEdgeWidth()-c.shape.strokewidth)*c.view.scale;J=3*mxUtils.getNumber(c.style,mxConstants.STYLE_ENDSIZE,mxConstants.ARROW_SIZE/5)*c.view.scale;return new mxPoint(x.x+r*(J+c.shape.strokewidth*
c.view.scale)-v*m/2,x.y+v*(J+c.shape.strokewidth*c.view.scale)+r*m/2)},function(m,r,v,x,J,y,aa){m=Math.sqrt(mxUtils.ptSegDistSq(x.x,x.y,J.x,J.y,y.x,y.y));r=mxUtils.ptLineDist(x.x,x.y,x.x+v,x.y-r,y.x,y.y);c.style[mxConstants.STYLE_ENDSIZE]=Math.round(100*(r-c.shape.strokewidth)/3)/100/c.view.scale;c.style.width=Math.round(2*m)/c.view.scale;if(mxEvent.isShiftDown(aa.getEvent())||mxEvent.isControlDown(aa.getEvent()))c.style[mxConstants.STYLE_STARTSIZE]=c.style[mxConstants.STYLE_ENDSIZE];mxEvent.isAltDown(aa.getEvent())||
-Math.abs(parseFloat(c.style[mxConstants.STYLE_ENDSIZE])-parseFloat(c.style[mxConstants.STYLE_STARTSIZE]))<k/6&&(c.style[mxConstants.STYLE_ENDSIZE]=c.style[mxConstants.STYLE_STARTSIZE])})),t.push(lb(c,["startWidth","endWidth",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!1,function(m,r,v,x,J){m=(c.shape.getEndArrowWidth()-c.shape.strokewidth)*c.view.scale;J=3*mxUtils.getNumber(c.style,mxConstants.STYLE_ENDSIZE,mxConstants.ARROW_SIZE/5)*c.view.scale;return new mxPoint(x.x+r*(J+c.shape.strokewidth*
+Math.abs(parseFloat(c.style[mxConstants.STYLE_ENDSIZE])-parseFloat(c.style[mxConstants.STYLE_STARTSIZE]))<l/6&&(c.style[mxConstants.STYLE_ENDSIZE]=c.style[mxConstants.STYLE_STARTSIZE])})),t.push(kb(c,["startWidth","endWidth",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!1,function(m,r,v,x,J){m=(c.shape.getEndArrowWidth()-c.shape.strokewidth)*c.view.scale;J=3*mxUtils.getNumber(c.style,mxConstants.STYLE_ENDSIZE,mxConstants.ARROW_SIZE/5)*c.view.scale;return new mxPoint(x.x+r*(J+c.shape.strokewidth*
c.view.scale)-v*m/2,x.y+v*(J+c.shape.strokewidth*c.view.scale)+r*m/2)},function(m,r,v,x,J,y,aa){m=Math.sqrt(mxUtils.ptSegDistSq(x.x,x.y,J.x,J.y,y.x,y.y));r=mxUtils.ptLineDist(x.x,x.y,x.x+v,x.y-r,y.x,y.y);c.style[mxConstants.STYLE_ENDSIZE]=Math.round(100*(r-c.shape.strokewidth)/3)/100/c.view.scale;c.style.endWidth=Math.max(0,Math.round(2*m)-c.shape.getEdgeWidth())/c.view.scale;if(mxEvent.isShiftDown(aa.getEvent())||mxEvent.isControlDown(aa.getEvent()))c.style[mxConstants.STYLE_STARTSIZE]=c.style[mxConstants.STYLE_ENDSIZE],
-c.style.startWidth=c.style.endWidth;mxEvent.isAltDown(aa.getEvent())||(Math.abs(parseFloat(c.style[mxConstants.STYLE_ENDSIZE])-parseFloat(c.style[mxConstants.STYLE_STARTSIZE]))<k/6&&(c.style[mxConstants.STYLE_ENDSIZE]=c.style[mxConstants.STYLE_STARTSIZE]),Math.abs(parseFloat(c.style.endWidth)-parseFloat(c.style.startWidth))<k&&(c.style.endWidth=c.style.startWidth))})));return t},swimlane:function(c){var k=[];if(mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED)){var t=parseFloat(mxUtils.getValue(c.style,
-mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE));k.push(eb(c,t/2))}k.push(Ta(c,[mxConstants.STYLE_STARTSIZE],function(m){var r=parseFloat(mxUtils.getValue(c.style,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE));return 1==mxUtils.getValue(c.style,mxConstants.STYLE_HORIZONTAL,1)?new mxPoint(m.getCenterX(),m.y+Math.max(0,Math.min(m.height,r))):new mxPoint(m.x+Math.max(0,Math.min(m.width,r)),m.getCenterY())},function(m,r){c.style[mxConstants.STYLE_STARTSIZE]=1==mxUtils.getValue(this.state.style,
+c.style.startWidth=c.style.endWidth;mxEvent.isAltDown(aa.getEvent())||(Math.abs(parseFloat(c.style[mxConstants.STYLE_ENDSIZE])-parseFloat(c.style[mxConstants.STYLE_STARTSIZE]))<l/6&&(c.style[mxConstants.STYLE_ENDSIZE]=c.style[mxConstants.STYLE_STARTSIZE]),Math.abs(parseFloat(c.style.endWidth)-parseFloat(c.style.startWidth))<l&&(c.style.endWidth=c.style.startWidth))})));return t},swimlane:function(c){var l=[];if(mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED)){var t=parseFloat(mxUtils.getValue(c.style,
+mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE));l.push(fb(c,t/2))}l.push(Ra(c,[mxConstants.STYLE_STARTSIZE],function(m){var r=parseFloat(mxUtils.getValue(c.style,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE));return 1==mxUtils.getValue(c.style,mxConstants.STYLE_HORIZONTAL,1)?new mxPoint(m.getCenterX(),m.y+Math.max(0,Math.min(m.height,r))):new mxPoint(m.x+Math.max(0,Math.min(m.width,r)),m.getCenterY())},function(m,r){c.style[mxConstants.STYLE_STARTSIZE]=1==mxUtils.getValue(this.state.style,
mxConstants.STYLE_HORIZONTAL,1)?Math.round(Math.max(0,Math.min(m.height,r.y-m.y))):Math.round(Math.max(0,Math.min(m.width,r.x-m.x)))},!1,null,function(m){var r=c.view.graph;if(!mxEvent.isShiftDown(m.getEvent())&&!mxEvent.isControlDown(m.getEvent())&&(r.isTableRow(c.cell)||r.isTableCell(c.cell))){m=r.getSwimlaneDirection(c.style);var v=r.model.getParent(c.cell);v=r.model.getChildCells(v,!0);for(var x=[],J=0;J<v.length;J++)v[J]!=c.cell&&r.isSwimlane(v[J])&&r.getSwimlaneDirection(r.getCurrentCellStyle(v[J]))==
-m&&x.push(v[J]);r.setCellStyles(mxConstants.STYLE_STARTSIZE,c.style[mxConstants.STYLE_STARTSIZE],x)}}));return k},label:Va(),ext:Va(),rectangle:Va(),triangle:Va(),rhombus:Va(),umlLifeline:function(c){return[Ta(c,["size"],function(k){var t=Math.max(0,Math.min(k.height,parseFloat(mxUtils.getValue(this.state.style,"size",sa.prototype.size))));return new mxPoint(k.getCenterX(),k.y+t)},function(k,t){this.state.style.size=Math.round(Math.max(0,Math.min(k.height,t.y-k.y)))},!1)]},umlFrame:function(c){return[Ta(c,
-["width","height"],function(k){var t=Math.max(va.prototype.corner,Math.min(k.width,mxUtils.getValue(this.state.style,"width",va.prototype.width))),m=Math.max(1.5*va.prototype.corner,Math.min(k.height,mxUtils.getValue(this.state.style,"height",va.prototype.height)));return new mxPoint(k.x+t,k.y+m)},function(k,t){this.state.style.width=Math.round(Math.max(va.prototype.corner,Math.min(k.width,t.x-k.x)));this.state.style.height=Math.round(Math.max(1.5*va.prototype.corner,Math.min(k.height,t.y-k.y)))},
-!1)]},process:function(c){var k=[Ta(c,["size"],function(t){var m="0"!=mxUtils.getValue(this.state.style,"fixedSize","0"),r=parseFloat(mxUtils.getValue(this.state.style,"size",M.prototype.size));return m?new mxPoint(t.x+r,t.y+t.height/4):new mxPoint(t.x+t.width*r,t.y+t.height/4)},function(t,m){t="0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?Math.max(0,Math.min(.5*t.width,m.x-t.x)):Math.max(0,Math.min(.5,(m.x-t.x)/t.width));this.state.style.size=t},!1)];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,
-!1)&&k.push(eb(c));return k},cross:function(c){return[Ta(c,["size"],function(k){var t=Math.min(k.width,k.height);t=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"size",xa.prototype.size)))*t/2;return new mxPoint(k.getCenterX()-t,k.getCenterY()-t)},function(k,t){var m=Math.min(k.width,k.height);this.state.style.size=Math.max(0,Math.min(1,Math.min(Math.max(0,k.getCenterY()-t.y)/m*2,Math.max(0,k.getCenterX()-t.x)/m*2)))})]},note:function(c){return[Ta(c,["size"],function(k){var t=Math.max(0,
-Math.min(k.width,Math.min(k.height,parseFloat(mxUtils.getValue(this.state.style,"size",l.prototype.size)))));return new mxPoint(k.x+k.width-t,k.y+t)},function(k,t){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(k.width,k.x+k.width-t.x),Math.min(k.height,t.y-k.y))))})]},note2:function(c){return[Ta(c,["size"],function(k){var t=Math.max(0,Math.min(k.width,Math.min(k.height,parseFloat(mxUtils.getValue(this.state.style,"size",p.prototype.size)))));return new mxPoint(k.x+k.width-t,k.y+t)},
-function(k,t){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(k.width,k.x+k.width-t.x),Math.min(k.height,t.y-k.y))))})]},manualInput:function(c){var k=[Ta(c,["size"],function(t){var m=Math.max(0,Math.min(t.height,mxUtils.getValue(this.state.style,"size",gb.prototype.size)));return new mxPoint(t.x+t.width/4,t.y+3*m/4)},function(t,m){this.state.style.size=Math.round(Math.max(0,Math.min(t.height,4*(m.y-t.y)/3)))},!1)];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,!1)&&k.push(eb(c));
-return k},dataStorage:function(c){return[Ta(c,["size"],function(k){var t="0"!=mxUtils.getValue(this.state.style,"fixedSize","0"),m=parseFloat(mxUtils.getValue(this.state.style,"size",t?ya.prototype.fixedSize:ya.prototype.size));return new mxPoint(k.x+k.width-m*(t?1:k.width),k.getCenterY())},function(k,t){k="0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?Math.max(0,Math.min(k.width,k.x+k.width-t.x)):Math.max(0,Math.min(1,(k.x+k.width-t.x)/k.width));this.state.style.size=k},!1)]},callout:function(c){var k=
-[Ta(c,["size","position"],function(t){var m=Math.max(0,Math.min(t.height,mxUtils.getValue(this.state.style,"size",ba.prototype.size))),r=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",ba.prototype.position)));mxUtils.getValue(this.state.style,"base",ba.prototype.base);return new mxPoint(t.x+r*t.width,t.y+t.height-m)},function(t,m){mxUtils.getValue(this.state.style,"base",ba.prototype.base);this.state.style.size=Math.round(Math.max(0,Math.min(t.height,t.y+t.height-m.y)));this.state.style.position=
-Math.round(100*Math.max(0,Math.min(1,(m.x-t.x)/t.width)))/100},!1),Ta(c,["position2"],function(t){var m=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position2",ba.prototype.position2)));return new mxPoint(t.x+m*t.width,t.y+t.height)},function(t,m){this.state.style.position2=Math.round(100*Math.max(0,Math.min(1,(m.x-t.x)/t.width)))/100},!1),Ta(c,["base"],function(t){var m=Math.max(0,Math.min(t.height,mxUtils.getValue(this.state.style,"size",ba.prototype.size))),r=Math.max(0,Math.min(1,
-mxUtils.getValue(this.state.style,"position",ba.prototype.position))),v=Math.max(0,Math.min(t.width,mxUtils.getValue(this.state.style,"base",ba.prototype.base)));return new mxPoint(t.x+Math.min(t.width,r*t.width+v),t.y+t.height-m)},function(t,m){var r=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",ba.prototype.position)));this.state.style.base=Math.round(Math.max(0,Math.min(t.width,m.x-t.x-r*t.width)))},!1)];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,!1)&&k.push(eb(c));
-return k},internalStorage:function(c){var k=[Ta(c,["dx","dy"],function(t){var m=Math.max(0,Math.min(t.width,mxUtils.getValue(this.state.style,"dx",cb.prototype.dx))),r=Math.max(0,Math.min(t.height,mxUtils.getValue(this.state.style,"dy",cb.prototype.dy)));return new mxPoint(t.x+m,t.y+r)},function(t,m){this.state.style.dx=Math.round(Math.max(0,Math.min(t.width,m.x-t.x)));this.state.style.dy=Math.round(Math.max(0,Math.min(t.height,m.y-t.y)))},!1)];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,!1)&&
-k.push(eb(c));return k},module:function(c){return[Ta(c,["jettyWidth","jettyHeight"],function(k){var t=Math.max(0,Math.min(k.width,mxUtils.getValue(this.state.style,"jettyWidth",Oa.prototype.jettyWidth))),m=Math.max(0,Math.min(k.height,mxUtils.getValue(this.state.style,"jettyHeight",Oa.prototype.jettyHeight)));return new mxPoint(k.x+t/2,k.y+2*m)},function(k,t){this.state.style.jettyWidth=Math.round(2*Math.max(0,Math.min(k.width,t.x-k.x)));this.state.style.jettyHeight=Math.round(Math.max(0,Math.min(k.height,
-t.y-k.y))/2)})]},corner:function(c){return[Ta(c,["dx","dy"],function(k){var t=Math.max(0,Math.min(k.width,mxUtils.getValue(this.state.style,"dx",hb.prototype.dx))),m=Math.max(0,Math.min(k.height,mxUtils.getValue(this.state.style,"dy",hb.prototype.dy)));return new mxPoint(k.x+t,k.y+m)},function(k,t){this.state.style.dx=Math.round(Math.max(0,Math.min(k.width,t.x-k.x)));this.state.style.dy=Math.round(Math.max(0,Math.min(k.height,t.y-k.y)))},!1)]},tee:function(c){return[Ta(c,["dx","dy"],function(k){var t=
-Math.max(0,Math.min(k.width,mxUtils.getValue(this.state.style,"dx",fb.prototype.dx))),m=Math.max(0,Math.min(k.height,mxUtils.getValue(this.state.style,"dy",fb.prototype.dy)));return new mxPoint(k.x+(k.width+t)/2,k.y+m)},function(k,t){this.state.style.dx=Math.round(Math.max(0,2*Math.min(k.width/2,t.x-k.x-k.width/2)));this.state.style.dy=Math.round(Math.max(0,Math.min(k.height,t.y-k.y)))},!1)]},singleArrow:tb(1),doubleArrow:tb(.5),"mxgraph.arrows2.wedgeArrow":qb(20,20),"mxgraph.arrows2.wedgeArrowDashed":qb(20,
-20),"mxgraph.arrows2.wedgeArrowDashed2":qb(20,20),folder:function(c){return[Ta(c,["tabWidth","tabHeight"],function(k){var t=Math.max(0,Math.min(k.width,mxUtils.getValue(this.state.style,"tabWidth",D.prototype.tabWidth))),m=Math.max(0,Math.min(k.height,mxUtils.getValue(this.state.style,"tabHeight",D.prototype.tabHeight)));mxUtils.getValue(this.state.style,"tabPosition",D.prototype.tabPosition)==mxConstants.ALIGN_RIGHT&&(t=k.width-t);return new mxPoint(k.x+t,k.y+m)},function(k,t){var m=Math.max(0,Math.min(k.width,
-t.x-k.x));mxUtils.getValue(this.state.style,"tabPosition",D.prototype.tabPosition)==mxConstants.ALIGN_RIGHT&&(m=k.width-m);this.state.style.tabWidth=Math.round(m);this.state.style.tabHeight=Math.round(Math.max(0,Math.min(k.height,t.y-k.y)))},!1)]},document:function(c){return[Ta(c,["size"],function(k){var t=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",O.prototype.size))));return new mxPoint(k.x+3*k.width/4,k.y+(1-t)*k.height)},function(k,t){this.state.style.size=Math.max(0,
-Math.min(1,(k.y+k.height-t.y)/k.height))},!1)]},tape:function(c){return[Ta(c,["size"],function(k){var t=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",I.prototype.size))));return new mxPoint(k.getCenterX(),k.y+t*k.height/2)},function(k,t){this.state.style.size=Math.max(0,Math.min(1,(t.y-k.y)/k.height*2))},!1)]},isoCube2:function(c){return[Ta(c,["isoAngle"],function(k){var t=Math.max(.01,Math.min(94,parseFloat(mxUtils.getValue(this.state.style,"isoAngle",w.isoAngle))))*Math.PI/
-200;return new mxPoint(k.x,k.y+Math.min(k.width*Math.tan(t),.5*k.height))},function(k,t){this.state.style.isoAngle=Math.max(0,50*(t.y-k.y)/k.height)},!0)]},cylinder2:ub(z.prototype.size),cylinder3:ub(C.prototype.size),offPageConnector:function(c){return[Ta(c,["size"],function(k){var t=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",E.prototype.size))));return new mxPoint(k.getCenterX(),k.y+(1-t)*k.height)},function(k,t){this.state.style.size=Math.max(0,Math.min(1,(k.y+k.height-
-t.y)/k.height))},!1)]},"mxgraph.basic.rect":function(c){var k=[Graph.createHandle(c,["size"],function(t){var m=Math.max(0,Math.min(t.width/2,t.height/2,parseFloat(mxUtils.getValue(this.state.style,"size",this.size))));return new mxPoint(t.x+m,t.y+m)},function(t,m){this.state.style.size=Math.round(100*Math.max(0,Math.min(t.height/2,t.width/2,m.x-t.x)))/100})];c=Graph.createHandle(c,["indent"],function(t){var m=Math.max(0,Math.min(100,parseFloat(mxUtils.getValue(this.state.style,"indent",this.dx2))));
-return new mxPoint(t.x+.75*t.width,t.y+m*t.height/200)},function(t,m){this.state.style.indent=Math.round(100*Math.max(0,Math.min(100,200*(m.y-t.y)/t.height)))/100});k.push(c);return k},step:rb(ja.prototype.size,!0,null,!0,ja.prototype.fixedSize),hexagon:rb(pa.prototype.size,!0,.5,!0,pa.prototype.fixedSize),curlyBracket:rb(S.prototype.size,!1),display:rb(Ba.prototype.size,!1),cube:ob(1,e.prototype.size,!1),card:ob(.5,K.prototype.size,!0),loopLimit:ob(.5,B.prototype.size,!0),trapezoid:vb(.5,Z.prototype.size,
-Z.prototype.fixedSize),parallelogram:vb(1,H.prototype.size,H.prototype.fixedSize)};Graph.createHandle=Ta;Graph.handleFactory=kb;var nb=mxVertexHandler.prototype.createCustomHandles;mxVertexHandler.prototype.createCustomHandles=function(){var c=nb.apply(this,arguments);if(this.graph.isCellRotatable(this.state.cell)){var k=this.state.style.shape;null==mxCellRenderer.defaultShapes[k]&&null==mxStencilRegistry.getStencil(k)?k=mxConstants.SHAPE_RECTANGLE:this.state.view.graph.isSwimlane(this.state.cell)&&
-(k=mxConstants.SHAPE_SWIMLANE);k=kb[k];null==k&&null!=this.state.shape&&this.state.shape.isRoundable()&&(k=kb[mxConstants.SHAPE_RECTANGLE]);null!=k&&(k=k(this.state),null!=k&&(c=null==c?k:c.concat(k)))}return c};mxEdgeHandler.prototype.createCustomHandles=function(){var c=this.state.style.shape;null==mxCellRenderer.defaultShapes[c]&&null==mxStencilRegistry.getStencil(c)&&(c=mxConstants.SHAPE_CONNECTOR);c=kb[c];return null!=c?c(this.state):null}}else Graph.createHandle=function(){},Graph.handleFactory=
-{};var ab=new mxPoint(1,0),pb=new mxPoint(1,0),wb=mxUtils.toRadians(-30);ab=mxUtils.getRotatedPoint(ab,Math.cos(wb),Math.sin(wb));var xb=mxUtils.toRadians(-150);pb=mxUtils.getRotatedPoint(pb,Math.cos(xb),Math.sin(xb));mxEdgeStyle.IsometricConnector=function(c,k,t,m,r){var v=c.view;m=null!=m&&0<m.length?m[0]:null;var x=c.absolutePoints,J=x[0];x=x[x.length-1];null!=m&&(m=v.transformControlPoint(c,m));null==J&&null!=k&&(J=new mxPoint(k.getCenterX(),k.getCenterY()));null==x&&null!=t&&(x=new mxPoint(t.getCenterX(),
-t.getCenterY()));var y=ab.x,aa=ab.y,R=pb.x,Ha=pb.y,Wa="horizontal"==mxUtils.getValue(c.style,"elbow","horizontal");if(null!=x&&null!=J){c=function(ka,qa,na){ka-=Qa.x;var la=qa-Qa.y;qa=(Ha*ka-R*la)/(y*Ha-aa*R);ka=(aa*ka-y*la)/(aa*R-y*Ha);Wa?(na&&(Qa=new mxPoint(Qa.x+y*qa,Qa.y+aa*qa),r.push(Qa)),Qa=new mxPoint(Qa.x+R*ka,Qa.y+Ha*ka)):(na&&(Qa=new mxPoint(Qa.x+R*ka,Qa.y+Ha*ka),r.push(Qa)),Qa=new mxPoint(Qa.x+y*qa,Qa.y+aa*qa));r.push(Qa)};var Qa=J;null==m&&(m=new mxPoint(J.x+(x.x-J.x)/2,J.y+(x.y-J.y)/
-2));c(m.x,m.y,!0);c(x.x,x.y,!1)}};mxStyleRegistry.putValue("isometricEdgeStyle",mxEdgeStyle.IsometricConnector);var zb=Graph.prototype.createEdgeHandler;Graph.prototype.createEdgeHandler=function(c,k){if(k==mxEdgeStyle.IsometricConnector){var t=new mxElbowEdgeHandler(c);t.snapToTerminals=!1;return t}return zb.apply(this,arguments)};h.prototype.constraints=[];n.prototype.getConstraints=function(c,k,t){c=[];var m=Math.tan(mxUtils.toRadians(30)),r=(.5-m)/2;m=Math.min(k,t/(.5+m));k=(k-m)/2;t=(t-m)/2;
-c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k,t+.25*m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k+.5*m,t+m*r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k+m,t+.25*m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k+m,t+.75*m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k+.5*m,t+(1-r)*m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k,t+.75*m));return c};w.prototype.getConstraints=function(c,k,t){c=[];var m=
-Math.max(.01,Math.min(94,parseFloat(mxUtils.getValue(this.style,"isoAngle",this.isoAngle))))*Math.PI/200;m=Math.min(k*Math.tan(m),.5*t);c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k,m));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k,t-m));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,t-
-m));c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,m));return c};ba.prototype.getConstraints=function(c,k,t){c=[];mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE);var m=Math.max(0,Math.min(t,parseFloat(mxUtils.getValue(this.style,"size",this.size))));parseFloat(mxUtils.getValue(this.style,"position",this.position));var r=k*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"position2",this.position2))));
-parseFloat(mxUtils.getValue(this.style,"base",this.base));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1));c.push(new mxConnectionConstraint(new mxPoint(.25,0),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(.75,0),!1));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k,.5*(t-m)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k,t-m));c.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,r,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,t-m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(t-m)));k>=2*m&&c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));return c};mxRectangleShape.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!0),new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(1,
+m&&x.push(v[J]);r.setCellStyles(mxConstants.STYLE_STARTSIZE,c.style[mxConstants.STYLE_STARTSIZE],x)}}));return l},label:Ua(),ext:Ua(),rectangle:Ua(),triangle:Ua(),rhombus:Ua(),umlLifeline:function(c){return[Ra(c,["size"],function(l){var t=Math.max(0,Math.min(l.height,parseFloat(mxUtils.getValue(this.state.style,"size",ra.prototype.size))));return new mxPoint(l.getCenterX(),l.y+t)},function(l,t){this.state.style.size=Math.round(Math.max(0,Math.min(l.height,t.y-l.y)))},!1)]},umlFrame:function(c){return[Ra(c,
+["width","height"],function(l){var t=Math.max(ta.prototype.corner,Math.min(l.width,mxUtils.getValue(this.state.style,"width",ta.prototype.width))),m=Math.max(1.5*ta.prototype.corner,Math.min(l.height,mxUtils.getValue(this.state.style,"height",ta.prototype.height)));return new mxPoint(l.x+t,l.y+m)},function(l,t){this.state.style.width=Math.round(Math.max(ta.prototype.corner,Math.min(l.width,t.x-l.x)));this.state.style.height=Math.round(Math.max(1.5*ta.prototype.corner,Math.min(l.height,t.y-l.y)))},
+!1)]},process:function(c){var l=[Ra(c,["size"],function(t){var m="0"!=mxUtils.getValue(this.state.style,"fixedSize","0"),r=parseFloat(mxUtils.getValue(this.state.style,"size",L.prototype.size));return m?new mxPoint(t.x+r,t.y+t.height/4):new mxPoint(t.x+t.width*r,t.y+t.height/4)},function(t,m){t="0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?Math.max(0,Math.min(.5*t.width,m.x-t.x)):Math.max(0,Math.min(.5,(m.x-t.x)/t.width));this.state.style.size=t},!1)];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,
+!1)&&l.push(fb(c));return l},cross:function(c){return[Ra(c,["size"],function(l){var t=Math.min(l.width,l.height);t=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"size",Oa.prototype.size)))*t/2;return new mxPoint(l.getCenterX()-t,l.getCenterY()-t)},function(l,t){var m=Math.min(l.width,l.height);this.state.style.size=Math.max(0,Math.min(1,Math.min(Math.max(0,l.getCenterY()-t.y)/m*2,Math.max(0,l.getCenterX()-t.x)/m*2)))})]},note:function(c){return[Ra(c,["size"],function(l){var t=Math.max(0,
+Math.min(l.width,Math.min(l.height,parseFloat(mxUtils.getValue(this.state.style,"size",k.prototype.size)))));return new mxPoint(l.x+l.width-t,l.y+t)},function(l,t){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(l.width,l.x+l.width-t.x),Math.min(l.height,t.y-l.y))))})]},note2:function(c){return[Ra(c,["size"],function(l){var t=Math.max(0,Math.min(l.width,Math.min(l.height,parseFloat(mxUtils.getValue(this.state.style,"size",p.prototype.size)))));return new mxPoint(l.x+l.width-t,l.y+t)},
+function(l,t){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(l.width,l.x+l.width-t.x),Math.min(l.height,t.y-l.y))))})]},manualInput:function(c){var l=[Ra(c,["size"],function(t){var m=Math.max(0,Math.min(t.height,mxUtils.getValue(this.state.style,"size",gb.prototype.size)));return new mxPoint(t.x+t.width/4,t.y+3*m/4)},function(t,m){this.state.style.size=Math.round(Math.max(0,Math.min(t.height,4*(m.y-t.y)/3)))},!1)];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,!1)&&l.push(fb(c));
+return l},dataStorage:function(c){return[Ra(c,["size"],function(l){var t="0"!=mxUtils.getValue(this.state.style,"fixedSize","0"),m=parseFloat(mxUtils.getValue(this.state.style,"size",t?wa.prototype.fixedSize:wa.prototype.size));return new mxPoint(l.x+l.width-m*(t?1:l.width),l.getCenterY())},function(l,t){l="0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?Math.max(0,Math.min(l.width,l.x+l.width-t.x)):Math.max(0,Math.min(1,(l.x+l.width-t.x)/l.width));this.state.style.size=l},!1)]},callout:function(c){var l=
+[Ra(c,["size","position"],function(t){var m=Math.max(0,Math.min(t.height,mxUtils.getValue(this.state.style,"size",ba.prototype.size))),r=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",ba.prototype.position)));mxUtils.getValue(this.state.style,"base",ba.prototype.base);return new mxPoint(t.x+r*t.width,t.y+t.height-m)},function(t,m){mxUtils.getValue(this.state.style,"base",ba.prototype.base);this.state.style.size=Math.round(Math.max(0,Math.min(t.height,t.y+t.height-m.y)));this.state.style.position=
+Math.round(100*Math.max(0,Math.min(1,(m.x-t.x)/t.width)))/100},!1),Ra(c,["position2"],function(t){var m=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position2",ba.prototype.position2)));return new mxPoint(t.x+m*t.width,t.y+t.height)},function(t,m){this.state.style.position2=Math.round(100*Math.max(0,Math.min(1,(m.x-t.x)/t.width)))/100},!1),Ra(c,["base"],function(t){var m=Math.max(0,Math.min(t.height,mxUtils.getValue(this.state.style,"size",ba.prototype.size))),r=Math.max(0,Math.min(1,
+mxUtils.getValue(this.state.style,"position",ba.prototype.position))),v=Math.max(0,Math.min(t.width,mxUtils.getValue(this.state.style,"base",ba.prototype.base)));return new mxPoint(t.x+Math.min(t.width,r*t.width+v),t.y+t.height-m)},function(t,m){var r=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",ba.prototype.position)));this.state.style.base=Math.round(Math.max(0,Math.min(t.width,m.x-t.x-r*t.width)))},!1)];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,!1)&&l.push(fb(c));
+return l},internalStorage:function(c){var l=[Ra(c,["dx","dy"],function(t){var m=Math.max(0,Math.min(t.width,mxUtils.getValue(this.state.style,"dx",db.prototype.dx))),r=Math.max(0,Math.min(t.height,mxUtils.getValue(this.state.style,"dy",db.prototype.dy)));return new mxPoint(t.x+m,t.y+r)},function(t,m){this.state.style.dx=Math.round(Math.max(0,Math.min(t.width,m.x-t.x)));this.state.style.dy=Math.round(Math.max(0,Math.min(t.height,m.y-t.y)))},!1)];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,!1)&&
+l.push(fb(c));return l},module:function(c){return[Ra(c,["jettyWidth","jettyHeight"],function(l){var t=Math.max(0,Math.min(l.width,mxUtils.getValue(this.state.style,"jettyWidth",Na.prototype.jettyWidth))),m=Math.max(0,Math.min(l.height,mxUtils.getValue(this.state.style,"jettyHeight",Na.prototype.jettyHeight)));return new mxPoint(l.x+t/2,l.y+2*m)},function(l,t){this.state.style.jettyWidth=Math.round(2*Math.max(0,Math.min(l.width,t.x-l.x)));this.state.style.jettyHeight=Math.round(Math.max(0,Math.min(l.height,
+t.y-l.y))/2)})]},corner:function(c){return[Ra(c,["dx","dy"],function(l){var t=Math.max(0,Math.min(l.width,mxUtils.getValue(this.state.style,"dx",hb.prototype.dx))),m=Math.max(0,Math.min(l.height,mxUtils.getValue(this.state.style,"dy",hb.prototype.dy)));return new mxPoint(l.x+t,l.y+m)},function(l,t){this.state.style.dx=Math.round(Math.max(0,Math.min(l.width,t.x-l.x)));this.state.style.dy=Math.round(Math.max(0,Math.min(l.height,t.y-l.y)))},!1)]},tee:function(c){return[Ra(c,["dx","dy"],function(l){var t=
+Math.max(0,Math.min(l.width,mxUtils.getValue(this.state.style,"dx",cb.prototype.dx))),m=Math.max(0,Math.min(l.height,mxUtils.getValue(this.state.style,"dy",cb.prototype.dy)));return new mxPoint(l.x+(l.width+t)/2,l.y+m)},function(l,t){this.state.style.dx=Math.round(Math.max(0,2*Math.min(l.width/2,t.x-l.x-l.width/2)));this.state.style.dy=Math.round(Math.max(0,Math.min(l.height,t.y-l.y)))},!1)]},singleArrow:tb(1),doubleArrow:tb(.5),"mxgraph.arrows2.wedgeArrow":qb(20,20),"mxgraph.arrows2.wedgeArrowDashed":qb(20,
+20),"mxgraph.arrows2.wedgeArrowDashed2":qb(20,20),folder:function(c){return[Ra(c,["tabWidth","tabHeight"],function(l){var t=Math.max(0,Math.min(l.width,mxUtils.getValue(this.state.style,"tabWidth",D.prototype.tabWidth))),m=Math.max(0,Math.min(l.height,mxUtils.getValue(this.state.style,"tabHeight",D.prototype.tabHeight)));mxUtils.getValue(this.state.style,"tabPosition",D.prototype.tabPosition)==mxConstants.ALIGN_RIGHT&&(t=l.width-t);return new mxPoint(l.x+t,l.y+m)},function(l,t){var m=Math.max(0,Math.min(l.width,
+t.x-l.x));mxUtils.getValue(this.state.style,"tabPosition",D.prototype.tabPosition)==mxConstants.ALIGN_RIGHT&&(m=l.width-m);this.state.style.tabWidth=Math.round(m);this.state.style.tabHeight=Math.round(Math.max(0,Math.min(l.height,t.y-l.y)))},!1)]},document:function(c){return[Ra(c,["size"],function(l){var t=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",P.prototype.size))));return new mxPoint(l.x+3*l.width/4,l.y+(1-t)*l.height)},function(l,t){this.state.style.size=Math.max(0,
+Math.min(1,(l.y+l.height-t.y)/l.height))},!1)]},tape:function(c){return[Ra(c,["size"],function(l){var t=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",G.prototype.size))));return new mxPoint(l.getCenterX(),l.y+t*l.height/2)},function(l,t){this.state.style.size=Math.max(0,Math.min(1,(t.y-l.y)/l.height*2))},!1)]},isoCube2:function(c){return[Ra(c,["isoAngle"],function(l){var t=Math.max(.01,Math.min(94,parseFloat(mxUtils.getValue(this.state.style,"isoAngle",w.isoAngle))))*Math.PI/
+200;return new mxPoint(l.x,l.y+Math.min(l.width*Math.tan(t),.5*l.height))},function(l,t){this.state.style.isoAngle=Math.max(0,50*(t.y-l.y)/l.height)},!0)]},cylinder2:ub(z.prototype.size),cylinder3:ub(C.prototype.size),offPageConnector:function(c){return[Ra(c,["size"],function(l){var t=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",E.prototype.size))));return new mxPoint(l.getCenterX(),l.y+(1-t)*l.height)},function(l,t){this.state.style.size=Math.max(0,Math.min(1,(l.y+l.height-
+t.y)/l.height))},!1)]},"mxgraph.basic.rect":function(c){var l=[Graph.createHandle(c,["size"],function(t){var m=Math.max(0,Math.min(t.width/2,t.height/2,parseFloat(mxUtils.getValue(this.state.style,"size",this.size))));return new mxPoint(t.x+m,t.y+m)},function(t,m){this.state.style.size=Math.round(100*Math.max(0,Math.min(t.height/2,t.width/2,m.x-t.x)))/100})];c=Graph.createHandle(c,["indent"],function(t){var m=Math.max(0,Math.min(100,parseFloat(mxUtils.getValue(this.state.style,"indent",this.dx2))));
+return new mxPoint(t.x+.75*t.width,t.y+m*t.height/200)},function(t,m){this.state.style.indent=Math.round(100*Math.max(0,Math.min(100,200*(m.y-t.y)/t.height)))/100});l.push(c);return l},step:rb(ja.prototype.size,!0,null,!0,ja.prototype.fixedSize),hexagon:rb(sa.prototype.size,!0,.5,!0,sa.prototype.fixedSize),curlyBracket:rb(S.prototype.size,!1),display:rb(Ma.prototype.size,!1),cube:nb(1,f.prototype.size,!1),card:nb(.5,K.prototype.size,!0),loopLimit:nb(.5,B.prototype.size,!0),trapezoid:vb(.5,Z.prototype.size,
+Z.prototype.fixedSize),parallelogram:vb(1,I.prototype.size,I.prototype.fixedSize)};Graph.createHandle=Ra;Graph.handleFactory=jb;var mb=mxVertexHandler.prototype.createCustomHandles;mxVertexHandler.prototype.createCustomHandles=function(){var c=mb.apply(this,arguments);if(this.graph.isCellRotatable(this.state.cell)){var l=this.state.style.shape;null==mxCellRenderer.defaultShapes[l]&&null==mxStencilRegistry.getStencil(l)?l=mxConstants.SHAPE_RECTANGLE:this.state.view.graph.isSwimlane(this.state.cell)&&
+(l=mxConstants.SHAPE_SWIMLANE);l=jb[l];null==l&&null!=this.state.shape&&this.state.shape.isRoundable()&&(l=jb[mxConstants.SHAPE_RECTANGLE]);null!=l&&(l=l(this.state),null!=l&&(c=null==c?l:c.concat(l)))}return c};mxEdgeHandler.prototype.createCustomHandles=function(){var c=this.state.style.shape;null==mxCellRenderer.defaultShapes[c]&&null==mxStencilRegistry.getStencil(c)&&(c=mxConstants.SHAPE_CONNECTOR);c=jb[c];return null!=c?c(this.state):null}}else Graph.createHandle=function(){},Graph.handleFactory=
+{};var $a=new mxPoint(1,0),pb=new mxPoint(1,0),wb=mxUtils.toRadians(-30);$a=mxUtils.getRotatedPoint($a,Math.cos(wb),Math.sin(wb));var xb=mxUtils.toRadians(-150);pb=mxUtils.getRotatedPoint(pb,Math.cos(xb),Math.sin(xb));mxEdgeStyle.IsometricConnector=function(c,l,t,m,r){var v=c.view;m=null!=m&&0<m.length?m[0]:null;var x=c.absolutePoints,J=x[0];x=x[x.length-1];null!=m&&(m=v.transformControlPoint(c,m));null==J&&null!=l&&(J=new mxPoint(l.getCenterX(),l.getCenterY()));null==x&&null!=t&&(x=new mxPoint(t.getCenterX(),
+t.getCenterY()));var y=$a.x,aa=$a.y,R=pb.x,Ga=pb.y,Va="horizontal"==mxUtils.getValue(c.style,"elbow","horizontal");if(null!=x&&null!=J){c=function(ka,qa,oa){ka-=Pa.x;var la=qa-Pa.y;qa=(Ga*ka-R*la)/(y*Ga-aa*R);ka=(aa*ka-y*la)/(aa*R-y*Ga);Va?(oa&&(Pa=new mxPoint(Pa.x+y*qa,Pa.y+aa*qa),r.push(Pa)),Pa=new mxPoint(Pa.x+R*ka,Pa.y+Ga*ka)):(oa&&(Pa=new mxPoint(Pa.x+R*ka,Pa.y+Ga*ka),r.push(Pa)),Pa=new mxPoint(Pa.x+y*qa,Pa.y+aa*qa));r.push(Pa)};var Pa=J;null==m&&(m=new mxPoint(J.x+(x.x-J.x)/2,J.y+(x.y-J.y)/
+2));c(m.x,m.y,!0);c(x.x,x.y,!1)}};mxStyleRegistry.putValue("isometricEdgeStyle",mxEdgeStyle.IsometricConnector);var zb=Graph.prototype.createEdgeHandler;Graph.prototype.createEdgeHandler=function(c,l){if(l==mxEdgeStyle.IsometricConnector){var t=new mxElbowEdgeHandler(c);t.snapToTerminals=!1;return t}return zb.apply(this,arguments)};g.prototype.constraints=[];n.prototype.getConstraints=function(c,l,t){c=[];var m=Math.tan(mxUtils.toRadians(30)),r=(.5-m)/2;m=Math.min(l,t/(.5+m));l=(l-m)/2;t=(t-m)/2;
+c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l,t+.25*m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l+.5*m,t+m*r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l+m,t+.25*m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l+m,t+.75*m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l+.5*m,t+(1-r)*m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l,t+.75*m));return c};w.prototype.getConstraints=function(c,l,t){c=[];var m=
+Math.max(.01,Math.min(94,parseFloat(mxUtils.getValue(this.style,"isoAngle",this.isoAngle))))*Math.PI/200;m=Math.min(l*Math.tan(m),.5*t);c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l,m));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l,t-m));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,t-
+m));c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,m));return c};ba.prototype.getConstraints=function(c,l,t){c=[];mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE);var m=Math.max(0,Math.min(t,parseFloat(mxUtils.getValue(this.style,"size",this.size))));parseFloat(mxUtils.getValue(this.style,"position",this.position));var r=l*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"position2",this.position2))));
+parseFloat(mxUtils.getValue(this.style,"base",this.base));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1));c.push(new mxConnectionConstraint(new mxPoint(.25,0),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(.75,0),!1));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l,.5*(t-m)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l,t-m));c.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,r,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,t-m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(t-m)));l>=2*m&&c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));return c};mxRectangleShape.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!0),new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(1,
0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0),
-new mxConnectionConstraint(new mxPoint(1,1),!0)];mxEllipse.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(1,.5))];ua.prototype.constraints=mxRectangleShape.prototype.constraints;
-mxImageShape.prototype.constraints=mxRectangleShape.prototype.constraints;mxSwimlane.prototype.constraints=mxRectangleShape.prototype.constraints;P.prototype.constraints=mxRectangleShape.prototype.constraints;mxLabel.prototype.constraints=mxRectangleShape.prototype.constraints;l.prototype.getConstraints=function(c,k,t){c=[];var m=Math.max(0,Math.min(k,Math.min(t,parseFloat(mxUtils.getValue(this.style,"size",this.size)))));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,.5*(k-m),0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k-m,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k-.5*m,.5*m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k,m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k,.5*(t+m)));c.push(new mxConnectionConstraint(new mxPoint(1,1),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(0,1),!1));c.push(new mxConnectionConstraint(new mxPoint(0,
-.5),!1));k>=2*m&&c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));return c};K.prototype.getConstraints=function(c,k,t){c=[];var m=Math.max(0,Math.min(k,Math.min(t,parseFloat(mxUtils.getValue(this.style,"size",this.size)))));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(k+m),0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*m,.5*m));c.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,0,m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(t+m)));c.push(new mxConnectionConstraint(new mxPoint(0,1),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(1,1),!1));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));k>=2*m&&c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));return c};e.prototype.getConstraints=function(c,k,t){c=[];var m=Math.max(0,Math.min(k,Math.min(t,parseFloat(mxUtils.getValue(this.style,
-"size",this.size)))));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(k-m),0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k-m,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k-.5*m,.5*m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k,m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k,.5*(t+m)));c.push(new mxConnectionConstraint(new mxPoint(1,1),!1));c.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,.5*(k+m),t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*m,t-.5*m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,t-m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(t-m)));return c};C.prototype.getConstraints=function(c,k,t){c=[];k=Math.max(0,Math.min(t,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,
-.5),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,k));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1,null,0,k));c.push(new mxConnectionConstraint(new mxPoint(1,1),!1,null,0,-k));c.push(new mxConnectionConstraint(new mxPoint(0,1),!1,null,0,-k));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,k+.5*(.5*t-k)));c.push(new mxConnectionConstraint(new mxPoint(1,
-0),!1,null,0,k+.5*(.5*t-k)));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1,null,0,t-k-.5*(.5*t-k)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,t-k-.5*(.5*t-k)));c.push(new mxConnectionConstraint(new mxPoint(.145,0),!1,null,0,.29*k));c.push(new mxConnectionConstraint(new mxPoint(.855,0),!1,null,0,.29*k));c.push(new mxConnectionConstraint(new mxPoint(.855,1),!1,null,0,.29*-k));c.push(new mxConnectionConstraint(new mxPoint(.145,1),!1,null,0,.29*-k));return c};D.prototype.getConstraints=
-function(c,k,t){c=[];var m=Math.max(0,Math.min(k,parseFloat(mxUtils.getValue(this.style,"tabWidth",this.tabWidth)))),r=Math.max(0,Math.min(t,parseFloat(mxUtils.getValue(this.style,"tabHeight",this.tabHeight))));"left"==mxUtils.getValue(this.style,"tabPosition",this.tabPosition)?(c.push(new mxConnectionConstraint(new mxPoint(0,0),!1)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*m,0)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,0)),c.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,m,r)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(k+m),r))):(c.push(new mxConnectionConstraint(new mxPoint(1,0),!1)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k-.5*m,0)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k-m,0)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k-m,r)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(k-m),r)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k,r));c.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,k,.25*(t-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k,.5*(t-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k,.75*(t-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.25*(t-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(t-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,0,.75*(t-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,t));c.push(new mxConnectionConstraint(new mxPoint(.25,1),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(.75,1),!1));return c};cb.prototype.constraints=mxRectangleShape.prototype.constraints;ya.prototype.constraints=mxRectangleShape.prototype.constraints;N.prototype.constraints=mxEllipse.prototype.constraints;Q.prototype.constraints=mxEllipse.prototype.constraints;
-T.prototype.constraints=mxEllipse.prototype.constraints;Ja.prototype.constraints=mxEllipse.prototype.constraints;gb.prototype.constraints=mxRectangleShape.prototype.constraints;Ka.prototype.constraints=mxRectangleShape.prototype.constraints;Ba.prototype.getConstraints=function(c,k,t){c=[];var m=Math.min(k,t/2),r=Math.min(k-m,Math.max(0,parseFloat(mxUtils.getValue(this.style,"size",this.size)))*k);c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1,null));c.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,r,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(r+k-m),0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k-m,0));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1,null));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k-m,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(r+k-m),t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,t));return c};Oa.prototype.getConstraints=function(c,k,t){k=parseFloat(mxUtils.getValue(c,
-"jettyWidth",Oa.prototype.jettyWidth))/2;c=parseFloat(mxUtils.getValue(c,"jettyHeight",Oa.prototype.jettyHeight));var m=[new mxConnectionConstraint(new mxPoint(0,0),!1,null,k),new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,
-.75),!0),new mxConnectionConstraint(new mxPoint(0,1),!1,null,k),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,Math.min(t-.5*c,1.5*c)),new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,Math.min(t-.5*c,3.5*c))];t>5*c&&m.push(new mxConnectionConstraint(new mxPoint(0,.75),!1,null,k));t>8*c&&m.push(new mxConnectionConstraint(new mxPoint(0,
-.5),!1,null,k));t>15*c&&m.push(new mxConnectionConstraint(new mxPoint(0,.25),!1,null,k));return m};B.prototype.constraints=mxRectangleShape.prototype.constraints;E.prototype.constraints=mxRectangleShape.prototype.constraints;mxCylinder.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.15,.05),!1),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.85,.05),!1),new mxConnectionConstraint(new mxPoint(0,.3),!0),new mxConnectionConstraint(new mxPoint(0,
+new mxConnectionConstraint(new mxPoint(1,1),!0)];mxEllipse.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(1,.5))];ya.prototype.constraints=mxRectangleShape.prototype.constraints;
+mxImageShape.prototype.constraints=mxRectangleShape.prototype.constraints;mxSwimlane.prototype.constraints=mxRectangleShape.prototype.constraints;O.prototype.constraints=mxRectangleShape.prototype.constraints;mxLabel.prototype.constraints=mxRectangleShape.prototype.constraints;k.prototype.getConstraints=function(c,l,t){c=[];var m=Math.max(0,Math.min(l,Math.min(t,parseFloat(mxUtils.getValue(this.style,"size",this.size)))));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,.5*(l-m),0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l-m,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l-.5*m,.5*m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l,m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l,.5*(t+m)));c.push(new mxConnectionConstraint(new mxPoint(1,1),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(0,1),!1));c.push(new mxConnectionConstraint(new mxPoint(0,
+.5),!1));l>=2*m&&c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));return c};K.prototype.getConstraints=function(c,l,t){c=[];var m=Math.max(0,Math.min(l,Math.min(t,parseFloat(mxUtils.getValue(this.style,"size",this.size)))));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(l+m),0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*m,.5*m));c.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,0,m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(t+m)));c.push(new mxConnectionConstraint(new mxPoint(0,1),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(1,1),!1));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));l>=2*m&&c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));return c};f.prototype.getConstraints=function(c,l,t){c=[];var m=Math.max(0,Math.min(l,Math.min(t,parseFloat(mxUtils.getValue(this.style,
+"size",this.size)))));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(l-m),0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l-m,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l-.5*m,.5*m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l,m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l,.5*(t+m)));c.push(new mxConnectionConstraint(new mxPoint(1,1),!1));c.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,.5*(l+m),t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*m,t-.5*m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,t-m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(t-m)));return c};C.prototype.getConstraints=function(c,l,t){c=[];l=Math.max(0,Math.min(t,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,
+.5),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,l));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1,null,0,l));c.push(new mxConnectionConstraint(new mxPoint(1,1),!1,null,0,-l));c.push(new mxConnectionConstraint(new mxPoint(0,1),!1,null,0,-l));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,l+.5*(.5*t-l)));c.push(new mxConnectionConstraint(new mxPoint(1,
+0),!1,null,0,l+.5*(.5*t-l)));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1,null,0,t-l-.5*(.5*t-l)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,t-l-.5*(.5*t-l)));c.push(new mxConnectionConstraint(new mxPoint(.145,0),!1,null,0,.29*l));c.push(new mxConnectionConstraint(new mxPoint(.855,0),!1,null,0,.29*l));c.push(new mxConnectionConstraint(new mxPoint(.855,1),!1,null,0,.29*-l));c.push(new mxConnectionConstraint(new mxPoint(.145,1),!1,null,0,.29*-l));return c};D.prototype.getConstraints=
+function(c,l,t){c=[];var m=Math.max(0,Math.min(l,parseFloat(mxUtils.getValue(this.style,"tabWidth",this.tabWidth)))),r=Math.max(0,Math.min(t,parseFloat(mxUtils.getValue(this.style,"tabHeight",this.tabHeight))));"left"==mxUtils.getValue(this.style,"tabPosition",this.tabPosition)?(c.push(new mxConnectionConstraint(new mxPoint(0,0),!1)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*m,0)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,0)),c.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,m,r)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(l+m),r))):(c.push(new mxConnectionConstraint(new mxPoint(1,0),!1)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l-.5*m,0)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l-m,0)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l-m,r)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(l-m),r)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l,r));c.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,l,.25*(t-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l,.5*(t-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l,.75*(t-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.25*(t-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(t-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,0,.75*(t-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,t));c.push(new mxConnectionConstraint(new mxPoint(.25,1),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(.75,1),!1));return c};db.prototype.constraints=mxRectangleShape.prototype.constraints;wa.prototype.constraints=mxRectangleShape.prototype.constraints;N.prototype.constraints=mxEllipse.prototype.constraints;Q.prototype.constraints=mxEllipse.prototype.constraints;
+W.prototype.constraints=mxEllipse.prototype.constraints;xa.prototype.constraints=mxEllipse.prototype.constraints;gb.prototype.constraints=mxRectangleShape.prototype.constraints;Da.prototype.constraints=mxRectangleShape.prototype.constraints;Ma.prototype.getConstraints=function(c,l,t){c=[];var m=Math.min(l,t/2),r=Math.min(l-m,Math.max(0,parseFloat(mxUtils.getValue(this.style,"size",this.size)))*l);c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1,null));c.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,r,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(r+l-m),0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l-m,0));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1,null));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l-m,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(r+l-m),t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,t));return c};Na.prototype.getConstraints=function(c,l,t){l=parseFloat(mxUtils.getValue(c,
+"jettyWidth",Na.prototype.jettyWidth))/2;c=parseFloat(mxUtils.getValue(c,"jettyHeight",Na.prototype.jettyHeight));var m=[new mxConnectionConstraint(new mxPoint(0,0),!1,null,l),new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,
+.75),!0),new mxConnectionConstraint(new mxPoint(0,1),!1,null,l),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,Math.min(t-.5*c,1.5*c)),new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,Math.min(t-.5*c,3.5*c))];t>5*c&&m.push(new mxConnectionConstraint(new mxPoint(0,.75),!1,null,l));t>8*c&&m.push(new mxConnectionConstraint(new mxPoint(0,
+.5),!1,null,l));t>15*c&&m.push(new mxConnectionConstraint(new mxPoint(0,.25),!1,null,l));return m};B.prototype.constraints=mxRectangleShape.prototype.constraints;E.prototype.constraints=mxRectangleShape.prototype.constraints;mxCylinder.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.15,.05),!1),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.85,.05),!1),new mxConnectionConstraint(new mxPoint(0,.3),!0),new mxConnectionConstraint(new mxPoint(0,
.5),!0),new mxConnectionConstraint(new mxPoint(0,.7),!0),new mxConnectionConstraint(new mxPoint(1,.3),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.7),!0),new mxConnectionConstraint(new mxPoint(.15,.95),!1),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.85,.95),!1)];ca.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,.1),!1),new mxConnectionConstraint(new mxPoint(.5,0),!1),new mxConnectionConstraint(new mxPoint(.75,
-.1),!1),new mxConnectionConstraint(new mxPoint(0,1/3),!1),new mxConnectionConstraint(new mxPoint(0,1),!1),new mxConnectionConstraint(new mxPoint(1,1/3),!1),new mxConnectionConstraint(new mxPoint(1,1),!1),new mxConnectionConstraint(new mxPoint(.5,.5),!1)];Ra.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(0,.3),!0),new mxConnectionConstraint(new mxPoint(0,
+.1),!1),new mxConnectionConstraint(new mxPoint(0,1/3),!1),new mxConnectionConstraint(new mxPoint(0,1),!1),new mxConnectionConstraint(new mxPoint(1,1/3),!1),new mxConnectionConstraint(new mxPoint(1,1),!1),new mxConnectionConstraint(new mxPoint(.5,.5),!1)];Qa.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(0,.3),!0),new mxConnectionConstraint(new mxPoint(0,
.7),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0)];mxActor.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.25,.2),!1),new mxConnectionConstraint(new mxPoint(.1,.5),!1),new mxConnectionConstraint(new mxPoint(0,
.75),!0),new mxConnectionConstraint(new mxPoint(.75,.25),!1),new mxConnectionConstraint(new mxPoint(.9,.5),!1),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0)];F.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!1),new mxConnectionConstraint(new mxPoint(.5,.25),!1),new mxConnectionConstraint(new mxPoint(1,0),!1),new mxConnectionConstraint(new mxPoint(.25,
-.5),!1),new mxConnectionConstraint(new mxPoint(.75,.5),!1),new mxConnectionConstraint(new mxPoint(0,1),!1),new mxConnectionConstraint(new mxPoint(.5,.75),!1),new mxConnectionConstraint(new mxPoint(1,1),!1)];I.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.35),!1),new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(0,.65),!1),new mxConnectionConstraint(new mxPoint(1,.35),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(1,
+.5),!1),new mxConnectionConstraint(new mxPoint(.75,.5),!1),new mxConnectionConstraint(new mxPoint(0,1),!1),new mxConnectionConstraint(new mxPoint(.5,.75),!1),new mxConnectionConstraint(new mxPoint(1,1),!1)];G.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.35),!1),new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(0,.65),!1),new mxConnectionConstraint(new mxPoint(1,.35),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(1,
.65),!1),new mxConnectionConstraint(new mxPoint(.25,1),!1),new mxConnectionConstraint(new mxPoint(.75,0),!1)];ja.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,
-.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0)];mxLine.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.75,.5),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1)];Ua.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.5,
+.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0)];mxLine.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.75,.5),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1)];Sa.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.5,
0),!1),new mxConnectionConstraint(new mxPoint(.5,1),!1)];mxDoubleEllipse.prototype.constraints=mxEllipse.prototype.constraints;mxRhombus.prototype.constraints=mxEllipse.prototype.constraints;mxTriangle.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(1,
.5),!0)];mxHexagon.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.375,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.625,0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.375,
1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.625,1),!0)];mxCloud.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,.25),!1),new mxConnectionConstraint(new mxPoint(.4,.1),!1),new mxConnectionConstraint(new mxPoint(.16,.55),!1),new mxConnectionConstraint(new mxPoint(.07,.4),!1),new mxConnectionConstraint(new mxPoint(.31,.8),!1),new mxConnectionConstraint(new mxPoint(.13,.77),!1),new mxConnectionConstraint(new mxPoint(.8,.8),!1),new mxConnectionConstraint(new mxPoint(.55,
-.95),!1),new mxConnectionConstraint(new mxPoint(.875,.5),!1),new mxConnectionConstraint(new mxPoint(.96,.7),!1),new mxConnectionConstraint(new mxPoint(.625,.2),!1),new mxConnectionConstraint(new mxPoint(.88,.25),!1)];H.prototype.constraints=mxRectangleShape.prototype.constraints;Z.prototype.constraints=mxRectangleShape.prototype.constraints;O.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,
-0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0)];mxArrow.prototype.constraints=null;fb.prototype.getConstraints=function(c,k,t){c=[];var m=Math.max(0,Math.min(k,parseFloat(mxUtils.getValue(this.style,"dx",this.dx)))),r=Math.max(0,Math.min(t,parseFloat(mxUtils.getValue(this.style,
-"dy",this.dy))));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k,.5*r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k,r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.75*k+.25*m,r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(k+m),r));c.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,.5*(k+m),.5*(t+r)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(k+m),t));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(k-m),t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(k-m),.5*(t+r)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(k-m),r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.25*k-.25*m,r));c.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,0,r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*r));return c};hb.prototype.getConstraints=function(c,k,t){c=[];var m=Math.max(0,Math.min(k,parseFloat(mxUtils.getValue(this.style,"dx",this.dx)))),r=Math.max(0,Math.min(t,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,k,.5*r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k,r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(k+m),r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.5*(t+r)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*m,t));c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,
-1),!1));return c};ib.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!1),new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(0,1),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.5,.5),!1),new mxConnectionConstraint(new mxPoint(.75,.5),!1),new mxConnectionConstraint(new mxPoint(1,0),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(1,1),!1)];fa.prototype.getConstraints=
-function(c,k,t){c=[];var m=t*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",this.arrowWidth)))),r=k*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",this.arrowSize))));m=(t-m)/2;c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(k-r),m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k-r,0));c.push(new mxConnectionConstraint(new mxPoint(1,
-.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k-r,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(k-r),t-m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,t-m));return c};Ga.prototype.getConstraints=function(c,k,t){c=[];var m=t*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",fa.prototype.arrowWidth)))),r=k*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",fa.prototype.arrowSize))));m=(t-m)/2;c.push(new mxConnectionConstraint(new mxPoint(0,
-.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*k,m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k-r,0));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k-r,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*k,t-m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,t));return c};xa.prototype.getConstraints=
-function(c,k,t){c=[];var m=Math.min(t,k),r=Math.max(0,Math.min(m,m*parseFloat(mxUtils.getValue(this.style,"size",this.size))));m=(t-r)/2;var v=m+r,x=(k-r)/2;r=x+r;c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,x,.5*m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,x,0));c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,.5*m));c.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,r,m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,x,t-.5*m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,x,t));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,t-.5*m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,v));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(k+r),m));c.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,k,m));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k,v));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(k+r),v));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,x,v));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*x,m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,m));c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,0,v));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*x,v));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,x,m));return c};sa.prototype.constraints=null;u.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.25),!1),new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(0,.75),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(.7,.1),!1),new mxConnectionConstraint(new mxPoint(.7,
-.9),!1)];A.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.175,.25),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.175,.75),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(.7,.1),!1),new mxConnectionConstraint(new mxPoint(.7,.9),!1)];Fa.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1)];Ia.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,
+.95),!1),new mxConnectionConstraint(new mxPoint(.875,.5),!1),new mxConnectionConstraint(new mxPoint(.96,.7),!1),new mxConnectionConstraint(new mxPoint(.625,.2),!1),new mxConnectionConstraint(new mxPoint(.88,.25),!1)];I.prototype.constraints=mxRectangleShape.prototype.constraints;Z.prototype.constraints=mxRectangleShape.prototype.constraints;P.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,
+0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0)];mxArrow.prototype.constraints=null;cb.prototype.getConstraints=function(c,l,t){c=[];var m=Math.max(0,Math.min(l,parseFloat(mxUtils.getValue(this.style,"dx",this.dx)))),r=Math.max(0,Math.min(t,parseFloat(mxUtils.getValue(this.style,
+"dy",this.dy))));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l,.5*r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l,r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.75*l+.25*m,r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(l+m),r));c.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,.5*(l+m),.5*(t+r)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(l+m),t));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(l-m),t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(l-m),.5*(t+r)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(l-m),r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.25*l-.25*m,r));c.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,0,r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*r));return c};hb.prototype.getConstraints=function(c,l,t){c=[];var m=Math.max(0,Math.min(l,parseFloat(mxUtils.getValue(this.style,"dx",this.dx)))),r=Math.max(0,Math.min(t,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,l,.5*r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l,r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(l+m),r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.5*(t+r)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*m,t));c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,
+1),!1));return c};ob.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!1),new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(0,1),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.5,.5),!1),new mxConnectionConstraint(new mxPoint(.75,.5),!1),new mxConnectionConstraint(new mxPoint(1,0),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(1,1),!1)];ab.prototype.getConstraints=
+function(c,l,t){c=[];var m=t*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",this.arrowWidth)))),r=l*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",this.arrowSize))));m=(t-m)/2;c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(l-r),m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l-r,0));c.push(new mxConnectionConstraint(new mxPoint(1,
+.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l-r,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(l-r),t-m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,t-m));return c};da.prototype.getConstraints=function(c,l,t){c=[];var m=t*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",ab.prototype.arrowWidth)))),r=l*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",ab.prototype.arrowSize))));m=(t-m)/2;c.push(new mxConnectionConstraint(new mxPoint(0,
+.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*l,m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l-r,0));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l-r,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*l,t-m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,t));return c};Oa.prototype.getConstraints=
+function(c,l,t){c=[];var m=Math.min(t,l),r=Math.max(0,Math.min(m,m*parseFloat(mxUtils.getValue(this.style,"size",this.size))));m=(t-r)/2;var v=m+r,x=(l-r)/2;r=x+r;c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,x,.5*m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,x,0));c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,.5*m));c.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,r,m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,x,t-.5*m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,x,t));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,t-.5*m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,v));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(l+r),m));c.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,l,m));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l,v));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(l+r),v));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,x,v));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*x,m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,m));c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,0,v));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*x,v));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,x,m));return c};ra.prototype.constraints=null;u.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.25),!1),new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(0,.75),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(.7,.1),!1),new mxConnectionConstraint(new mxPoint(.7,
+.9),!1)];A.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.175,.25),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.175,.75),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(.7,.1),!1),new mxConnectionConstraint(new mxPoint(.7,.9),!1)];Fa.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1)];Ha.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,
.5),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1)]})();function Actions(a){this.editorUi=a;this.actions={};this.init()}
-Actions.prototype.init=function(){function a(l){f.escape();l=f.deleteCells(f.getDeletableCells(f.getSelectionCells()),l);null!=l&&f.setSelectionCells(l)}function b(){if(!f.isSelectionEmpty()){f.getModel().beginUpdate();try{for(var l=f.getSelectionCells(),p=0;p<l.length;p++)f.cellLabelChanged(l[p],"")}finally{f.getModel().endUpdate()}}}function d(l,p,w,z,C){C.getModel().beginUpdate();try{var F=C.getCellGeometry(l);null!=F&&w&&z&&(w/=z,F=F.clone(),1<w?F.height=F.width/w:F.width=F.height*w,C.getModel().setGeometry(l,
-F));C.setCellStyles(mxConstants.STYLE_CLIP_PATH,p,[l]);C.setCellStyles(mxConstants.STYLE_ASPECT,"fixed",[l])}finally{C.getModel().endUpdate()}}var e=this.editorUi,g=e.editor,f=g.graph,h=function(){return Action.prototype.isEnabled.apply(this,arguments)&&f.isEnabled()};this.addAction("new...",function(){f.openLink(e.getUrl())});this.addAction("open...",function(){window.openNew=!0;window.openKey="open";e.openFile()});this.put("smartFit",new Action(mxResources.get("fitWindow")+" / "+mxResources.get("resetView"),
-function(){f.popupMenuHandler.hideMenu();var l=f.view.scale,p=f.container.scrollLeft,w=f.container.scrollTop,z=f.view.translate.x,C=f.view.translate.y;e.actions.get("resetView").funct();1E-5>Math.abs(l-f.view.scale)&&5>Math.abs(p-f.container.scrollLeft)&&5>Math.abs(w-f.container.scrollTop)&&z==f.view.translate.x&&C==f.view.translate.y&&e.actions.get("fitWindow").funct()},null,null,"Enter"));this.addAction("keyPressEnter",function(){f.isSelectionEmpty()?e.actions.get("smartFit").funct():f.isEnabled()&&
-f.startEditingAtCell()});this.addAction("import...",function(){window.openNew=!1;window.openKey="import";window.openFile=new OpenFile(mxUtils.bind(this,function(){e.hideDialog()}));window.openFile.setConsumer(mxUtils.bind(this,function(l,p){try{var w=mxUtils.parseXml(l);g.graph.setSelectionCells(g.graph.importGraphModel(w.documentElement))}catch(z){mxUtils.alert(mxResources.get("invalidOrMissingFile")+": "+z.message)}}));e.showDialog((new OpenDialog(this)).container,320,220,!0,!0,function(){window.openFile=
-null})}).isEnabled=h;this.addAction("save",function(){e.saveFile(!1)},null,null,Editor.ctrlKey+"+S").isEnabled=h;this.addAction("saveAs...",function(){e.saveFile(!0)},null,null,Editor.ctrlKey+"+Shift+S");this.addAction("export...",function(){e.showDialog((new ExportDialog(e)).container,300,340,!0,!0)});this.addAction("editDiagram...",function(){var l=new EditDiagramDialog(e);e.showDialog(l.container,620,420,!0,!1);l.init()}).isEnabled=h;this.addAction("pageSetup...",function(){e.showDialog((new PageSetupDialog(e)).container,
-320,240,!0,!0)}).isEnabled=h;this.addAction("print...",function(){e.showPrintDialog()},null,"sprite-print",Editor.ctrlKey+"+P");this.addAction("preview",function(){mxUtils.show(f,null,10,10)});this.addAction("undo",function(){e.undo()},null,"sprite-undo",Editor.ctrlKey+"+Z");this.addAction("redo",function(){e.redo()},null,"sprite-redo",mxClient.IS_WIN?Editor.ctrlKey+"+Y":Editor.ctrlKey+"+Shift+Z");this.addAction("cut",function(){var l=null;try{l=e.copyXml(),null!=l&&f.removeCells(l,!1)}catch(p){}try{null==
-l&&mxClipboard.cut(f)}catch(p){e.handleError(p)}},null,"sprite-cut",Editor.ctrlKey+"+X");this.addAction("copy",function(){try{e.copyXml()}catch(l){}try{mxClipboard.copy(f)}catch(l){e.handleError(l)}},null,"sprite-copy",Editor.ctrlKey+"+C");this.addAction("paste",function(){if(f.isEnabled()&&!f.isCellLocked(f.getDefaultParent())){var l=!1;try{Editor.enableNativeCipboard&&(e.readGraphModelFromClipboard(function(p){if(null!=p){f.getModel().beginUpdate();try{e.pasteXml(p,!0)}finally{f.getModel().endUpdate()}}else mxClipboard.paste(f)}),
-l=!0)}catch(p){}l||mxClipboard.paste(f)}},!1,"sprite-paste",Editor.ctrlKey+"+V");this.addAction("pasteHere",function(l){function p(z){if(null!=z){for(var C=!0,F=0;F<z.length&&C;F++)C=C&&f.model.isEdge(z[F]);var D=f.view.translate;F=f.view.scale;var G=D.x,K=D.y;D=null;if(1==z.length&&C){var I=f.getCellGeometry(z[0]);null!=I&&(D=I.getTerminalPoint(!0))}D=null!=D?D:f.getBoundingBoxFromGeometry(z,C);null!=D&&(C=Math.round(f.snap(f.popupMenuHandler.triggerX/F-G)),F=Math.round(f.snap(f.popupMenuHandler.triggerY/
-F-K)),f.cellsMoved(z,C-D.x,F-D.y))}}function w(){f.getModel().beginUpdate();try{p(mxClipboard.paste(f))}finally{f.getModel().endUpdate()}}if(f.isEnabled()&&!f.isCellLocked(f.getDefaultParent())){l=!1;try{Editor.enableNativeCipboard&&(e.readGraphModelFromClipboard(function(z){if(null!=z){f.getModel().beginUpdate();try{p(e.pasteXml(z,!0))}finally{f.getModel().endUpdate()}}else w()}),l=!0)}catch(z){}l||w()}});this.addAction("swap",function(){var l=f.getSelectionCells();2==l.length&&f.swapShapes(l[0],
-l[1])});this.addAction("copySize",function(){var l=f.getSelectionCell();f.isEnabled()&&null!=l&&f.getModel().isVertex(l)&&(l=f.getCellGeometry(l),null!=l&&(e.copiedSize=new mxRectangle(l.x,l.y,l.width,l.height)))},null,null,"Alt+Shift+F");this.addAction("pasteSize",function(){if(f.isEnabled()&&!f.isSelectionEmpty()&&null!=e.copiedSize){f.getModel().beginUpdate();try{for(var l=f.getResizableCells(f.getSelectionCells()),p=0;p<l.length;p++)if(f.getModel().isVertex(l[p])){var w=f.getCellGeometry(l[p]);
-null!=w&&(w=w.clone(),w.width=e.copiedSize.width,w.height=e.copiedSize.height,f.getModel().setGeometry(l[p],w))}}finally{f.getModel().endUpdate()}}},null,null,"Alt+Shift+V");this.addAction("copyData",function(){var l=f.getSelectionCell()||f.getModel().getRoot();f.isEnabled()&&null!=l&&(l=l.cloneValue(),null==l||isNaN(l.nodeType)||(e.copiedValue=l))},null,null,"Alt+Shift+B");this.addAction("copyAsText",function(){var l=f.getSelectionCell();if(f.isEnabled()&&null!=l)try{f.isHtmlLabel(l)?e.writeHtmlToClipboard(f.getLabel(l),
-mxUtils.bind(this,function(p){e.handleError(p)})):e.writeTextToClipboard(f.getLabel(l),mxUtils.bind(this,function(p){e.handleError(p)}))}catch(p){e.handleError(p)}});this.addAction("pasteData",function(l,p){function w(F,D){var G=z.getValue(F);D=F.cloneValue(D);D.removeAttribute("placeholders");null==G||isNaN(G.nodeType)||D.setAttribute("placeholders",G.getAttribute("placeholders"));null!=l&&mxEvent.isShiftDown(l)||D.setAttribute("label",f.convertValueToString(F));z.setValue(F,D)}l=null!=p?p:l;var z=
-f.getModel();if(f.isEnabled()&&!f.isSelectionEmpty()&&null!=e.copiedValue){z.beginUpdate();try{var C=f.getEditableCells(f.getSelectionCells());if(0==C.length)w(z.getRoot(),e.copiedValue);else for(p=0;p<C.length;p++)w(C[p],e.copiedValue)}finally{z.endUpdate()}}},null,null,"Alt+Shift+E");this.addAction("delete",function(l,p){l=null!=p?p:l;null!=l&&mxEvent.isShiftDown(l)?b():a(null!=l&&(mxEvent.isControlDown(l)||mxEvent.isMetaDown(l)||mxEvent.isAltDown(l)))},null,null,"Delete");this.addAction("deleteAll",
-function(){a(!0)});this.addAction("deleteLabels",function(){b()},null,null,Editor.ctrlKey+"+Delete");this.addAction("duplicate",function(){try{f.setSelectionCells(f.duplicateCells()),f.scrollCellToVisible(f.getSelectionCell())}catch(l){e.handleError(l)}},null,null,Editor.ctrlKey+"+D");this.put("mergeCells",new Action(mxResources.get("merge"),function(){var l=e.getSelectionState();if(null!=l.mergeCell){f.getModel().beginUpdate();try{f.setCellStyles("rowspan",l.rowspan,[l.mergeCell]),f.setCellStyles("colspan",
-l.colspan,[l.mergeCell])}finally{f.getModel().endUpdate()}}}));this.put("unmergeCells",new Action(mxResources.get("unmerge"),function(){var l=e.getSelectionState();if(0<l.cells.length){f.getModel().beginUpdate();try{f.setCellStyles("rowspan",null,l.cells),f.setCellStyles("colspan",null,l.cells)}finally{f.getModel().endUpdate()}}}));this.put("turn",new Action(mxResources.get("turn")+" / "+mxResources.get("reverse"),function(l,p){l=null!=p?p:l;f.turnShapes(f.getResizableCells(f.getSelectionCells()),
-null!=l?mxEvent.isShiftDown(l):!1)},null,null,mxClient.IS_SF?null:Editor.ctrlKey+"+R"));this.put("selectConnections",new Action(mxResources.get("selectEdges"),function(l){l=f.getSelectionCell();f.isEnabled()&&null!=l&&f.addSelectionCells(f.getEdges(l))}));this.addAction("selectVertices",function(){f.selectVertices(null,!0)},null,null,Editor.ctrlKey+"+Shift+I");this.addAction("selectEdges",function(){f.selectEdges()},null,null,Editor.ctrlKey+"+Shift+E");this.addAction("selectAll",function(){f.selectAll(null,
-!0)},null,null,Editor.ctrlKey+"+A");this.addAction("selectNone",function(){f.clearSelection()},null,null,Editor.ctrlKey+"+Shift+A");this.addAction("lockUnlock",function(){if(!f.isSelectionEmpty()){f.getModel().beginUpdate();try{var l=f.getSelectionCells(),p=f.getCurrentCellStyle(f.getSelectionCell()),w=1==mxUtils.getValue(p,mxConstants.STYLE_EDITABLE,1)?0:1;f.setCellStyles(mxConstants.STYLE_MOVABLE,w,l);f.setCellStyles(mxConstants.STYLE_RESIZABLE,w,l);f.setCellStyles(mxConstants.STYLE_ROTATABLE,w,
-l);f.setCellStyles(mxConstants.STYLE_DELETABLE,w,l);f.setCellStyles(mxConstants.STYLE_EDITABLE,w,l);f.setCellStyles("locked",1==w?0:1,l);f.setCellStyles("connectable",w,l)}finally{f.getModel().endUpdate()}}},null,null,Editor.ctrlKey+"+L");this.addAction("explore",function(){f.model.isVertex(f.getSelectionCell())&&Graph.exploreFromCell(e.editor.graph,e.editor.graph.getSelectionCell())});this.addAction("home",function(){f.home()},null,null,"Shift+Home");this.addAction("exitGroup",function(){f.exitGroup()},
-null,null,Editor.ctrlKey+"+Shift+Home");this.addAction("enterGroup",function(){f.enterGroup()},null,null,Editor.ctrlKey+"+Shift+End");this.addAction("collapse",function(){f.foldCells(!0)},null,null,Editor.ctrlKey+"+Home");this.addAction("expand",function(){f.foldCells(!1)},null,null,Editor.ctrlKey+"+End");this.addAction("toFront",function(){f.orderCells(!1)},null,null,Editor.ctrlKey+"+Shift+F");this.addAction("toBack",function(){f.orderCells(!0)},null,null,Editor.ctrlKey+"+Shift+B");this.addAction("bringForward",
-function(l){f.orderCells(!1,null,!0)},null,null,Editor.ctrlKey+"+Alt+Shift+F");this.addAction("sendBackward",function(l){f.orderCells(!0,null,!0)},null,null,Editor.ctrlKey+"+Alt+Shift+B");this.addAction("group",function(){if(f.isEnabled()){var l=mxUtils.sortCells(f.getSelectionCells(),!0);1!=l.length||f.isTable(l[0])||f.isTableRow(l[0])?(l=f.getCellsForGroup(l),1<l.length&&f.setSelectionCell(f.groupCells(null,0,l))):f.setCellStyles("container","1")}},null,null,Editor.ctrlKey+"+G");this.addAction("ungroup",
-function(){if(f.isEnabled()){var l=f.getEditableCells(f.getSelectionCells());f.model.beginUpdate();try{var p=f.ungroupCells();if(null!=l)for(var w=0;w<l.length;w++)f.model.contains(l[w])&&(0==f.model.getChildCount(l[w])&&f.model.isVertex(l[w])&&f.setCellStyles("container","0",[l[w]]),p.push(l[w]))}finally{f.model.endUpdate()}0<p.length&&f.setSelectionCells(p)}},null,null,Editor.ctrlKey+"+Shift+U");this.addAction("removeFromGroup",function(){if(f.isEnabled()){var l=f.getSelectionCells();if(null!=l){for(var p=
-[],w=0;w<l.length;w++)f.isTableRow(l[w])||f.isTableCell(l[w])||p.push(l[w]);f.removeCellsFromParent(p);0<p.length&&f.scrollCellToVisible(p[0])}}});this.addAction("edit",function(){f.isEnabled()&&f.startEditingAtCell()},null,null,"F2/Enter");this.addAction("editData...",function(){var l=f.getSelectionCell()||f.getModel().getRoot();e.showDataDialog(l)},null,null,Editor.ctrlKey+"+M");this.addAction("editTooltip...",function(){var l=f.getSelectionCell();if(f.isEnabled()&&null!=l&&f.isCellEditable(l)){var p=
-"";if(mxUtils.isNode(l.value)){var w=null;Graph.translateDiagram&&null!=Graph.diagramLanguage&&l.value.hasAttribute("tooltip_"+Graph.diagramLanguage)&&(w=l.value.getAttribute("tooltip_"+Graph.diagramLanguage));null==w&&(w=l.value.getAttribute("tooltip"));null!=w&&(p=w)}p=new TextareaDialog(e,mxResources.get("editTooltip")+":",p,function(z){f.setTooltipForCell(l,z)});e.showDialog(p.container,320,200,!0,!0);p.init()}},null,null,"Alt+Shift+T");this.addAction("openLink",function(){var l=f.getLinkForCell(f.getSelectionCell());
-null!=l&&f.openLink(l)});this.addAction("editLink...",function(){var l=f.getSelectionCell();if(f.isEnabled()&&null!=l&&f.isCellEditable(l)){var p=f.getLinkForCell(l,!0)||"";e.showLinkDialog(p,mxResources.get("ok"),function(w,z,C){f.getModel().beginUpdate();try{f.setLinkForCell(l,0<w.length?w:null),f.setAttributeForCell(l,"linkTarget",C)}finally{f.getModel().endUpdate()}},!0,f.getLinkTargetForCell(l))}},null,null,"Alt+Shift+L");this.put("insertImage",new Action(mxResources.get("image")+"...",function(){f.isEnabled()&&
-!f.isCellLocked(f.getDefaultParent())&&(f.clearSelection(),e.actions.get("image").funct())})).isEnabled=h;this.addAction("editImage...",function(){e.actions.get("image").funct()});this.put("insertLink",new Action(mxResources.get("link")+"...",function(){f.isEnabled()&&!f.isCellLocked(f.getDefaultParent())&&e.showLinkDialog("",mxResources.get("ok"),function(l,p,w){l=mxUtils.trim(l);if(0<l.length){var z=null,C=f.getLinkTitle(l);null!=p&&0<p.length&&(z=p[0].iconUrl,C=p[0].name||p[0].type,C=C.charAt(0).toUpperCase()+
-C.substring(1),30<C.length&&(C=C.substring(0,30)+"..."));p=new mxCell(C,new mxGeometry(0,0,100,40),"fontColor=#0000EE;fontStyle=4;rounded=1;overflow=hidden;"+(null!=z?"shape=label;imageWidth=16;imageHeight=16;spacingLeft=26;align=left;image="+z:"spacing=10;"));p.vertex=!0;z=f.getCenterInsertPoint(f.getBoundingBoxFromGeometry([p],!0));p.geometry.x=z.x;p.geometry.y=z.y;f.setAttributeForCell(p,"linkTarget",w);f.setLinkForCell(p,l);f.cellSizeUpdated(p,!0);f.getModel().beginUpdate();try{p=f.addCell(p),
-f.fireEvent(new mxEventObject("cellsInserted","cells",[p]))}finally{f.getModel().endUpdate()}f.setSelectionCell(p);f.scrollCellToVisible(f.getSelectionCell())}},!0)},null,null,"L")).isEnabled=h;this.addAction("link...",mxUtils.bind(this,function(){if(f.isEnabled())if(f.cellEditor.isContentEditing()){var l=f.getSelectedElement(),p=f.getParentByName(l,"A",f.cellEditor.textarea),w="";if(null==p&&null!=l&&null!=l.getElementsByTagName)for(var z=l.getElementsByTagName("a"),C=0;C<z.length&&null==p;C++)z[C].textContent==
-l.textContent&&(p=z[C]);null!=p&&"A"==p.nodeName&&(w=p.getAttribute("href")||"",f.selectNode(p));var F=f.cellEditor.saveSelection();e.showLinkDialog(w,mxResources.get("ok"),mxUtils.bind(this,function(D){f.cellEditor.restoreSelection(F);null!=D&&f.insertLink(D)}))}else f.isSelectionEmpty()?this.get("insertLink").funct():this.get("editLink").funct()})).isEnabled=h;this.addAction("autosize",function(){var l=f.getSelectionCells();if(null!=l){f.getModel().beginUpdate();try{for(var p=0;p<l.length;p++){var w=
-l[p];f.getModel().isVertex(w)&&(0<f.getModel().getChildCount(w)?f.updateGroupBounds([w],0,!0):f.updateCellSize(w))}}finally{f.getModel().endUpdate()}}},null,null,Editor.ctrlKey+"+Shift+Y");this.addAction("snapToGrid",function(){f.snapCellsToGrid(f.getSelectionCells(),f.gridSize)});this.addAction("formattedText",function(){f.stopEditing();var l=f.getCommonStyle(f.getSelectionCells());l="1"==mxUtils.getValue(l,"html","0")?null:"1";f.getModel().beginUpdate();try{for(var p=f.getEditableCells(f.getSelectionCells()),
-w=0;w<p.length;w++)if(state=f.getView().getState(p[w]),null!=state){var z=mxUtils.getValue(state.style,"html","0");if("1"==z&&null==l)f.removeTextStyleForCell(state.cell),f.setCellStyles("html",l,[p[w]]);else if("0"==z&&"1"==l){var C=mxUtils.htmlEntities(f.convertValueToString(state.cell),!1);"0"!=mxUtils.getValue(state.style,"nl2Br","1")&&(C=C.replace(/\n/g,"<br/>"));f.cellLabelChanged(state.cell,Graph.sanitizeHtml(C));f.setCellStyles("html",l,[p[w]])}}e.fireEvent(new mxEventObject("styleChanged",
-"keys",["html"],"values",[null!=l?l:"0"],"cells",p))}finally{f.getModel().endUpdate()}});this.addAction("wordWrap",function(){var l=f.getView().getState(f.getSelectionCell()),p="wrap";f.stopEditing();null!=l&&"wrap"==l.style[mxConstants.STYLE_WHITE_SPACE]&&(p=null);f.setCellStyles(mxConstants.STYLE_WHITE_SPACE,p)});this.addAction("rotation",function(){var l="0",p=f.getView().getState(f.getSelectionCell());null!=p&&(l=p.style[mxConstants.STYLE_ROTATION]||l);l=new FilenameDialog(e,l,mxResources.get("apply"),
-function(w){null!=w&&0<w.length&&f.setCellStyles(mxConstants.STYLE_ROTATION,w)},mxResources.get("enterValue")+" ("+mxResources.get("rotation")+" 0-360)");e.showDialog(l.container,375,80,!0,!0);l.init()});this.addAction("resetView",function(){f.zoomTo(1);e.resetScrollbars()},null,null,"Enter/Home");this.addAction("zoomIn",function(l){f.isFastZoomEnabled()?f.lazyZoom(!0,!0,e.buttonZoomDelay):f.zoomIn()},null,null,Editor.ctrlKey+" + / Alt+Mousewheel");this.addAction("zoomOut",function(l){f.isFastZoomEnabled()?
-f.lazyZoom(!1,!0,e.buttonZoomDelay):f.zoomOut()},null,null,Editor.ctrlKey+" - / Alt+Mousewheel");this.addAction("fitWindow",function(){f.pageVisible&&f.isSelectionEmpty()?f.fitPages():e.fitDiagramToWindow()},null,null,Editor.ctrlKey+"+Shift+H");this.addAction("fitPage",mxUtils.bind(this,function(){f.pageVisible?f.fitPages(1):this.get("pageView").funct()}),null,null,Editor.ctrlKey+"+J");this.addAction("fitTwoPages",mxUtils.bind(this,function(){f.pageVisible?f.fitPages(2):this.get("pageView").funct()}),
-null,null,Editor.ctrlKey+"+Shift+J");this.addAction("fitPageWidth",mxUtils.bind(this,function(){f.pageVisible?f.fitPages(1,!0):this.get("pageView").funct()}));this.put("customZoom",new Action(mxResources.get("custom")+"...",mxUtils.bind(this,function(){var l=new FilenameDialog(this.editorUi,parseInt(100*f.getView().getScale()),mxResources.get("apply"),mxUtils.bind(this,function(p){p=parseInt(p);!isNaN(p)&&0<p&&f.zoomTo(p/100)}),mxResources.get("zoom")+" (%)");this.editorUi.showDialog(l.container,
-300,80,!0,!0);l.init()}),null,null,Editor.ctrlKey+"+0"));this.addAction("pageScale...",mxUtils.bind(this,function(){var l=new FilenameDialog(this.editorUi,parseInt(100*f.pageScale),mxResources.get("apply"),mxUtils.bind(this,function(p){p=parseInt(p);!isNaN(p)&&0<p&&(p=new ChangePageSetup(e,null,null,null,p/100),p.ignoreColor=!0,p.ignoreImage=!0,f.model.execute(p))}),mxResources.get("pageScale")+" (%)");this.editorUi.showDialog(l.container,300,80,!0,!0);l.init()}));var n=null;n=this.addAction("grid",
-function(){f.setGridEnabled(!f.isGridEnabled());f.defaultGridEnabled=f.isGridEnabled();e.fireEvent(new mxEventObject("gridEnabledChanged"))},null,null,Editor.ctrlKey+"+Shift+G");n.setToggleAction(!0);n.setSelectedCallback(function(){return f.isGridEnabled()});n.setEnabled(!1);n=this.addAction("guides",function(){f.graphHandler.guidesEnabled=!f.graphHandler.guidesEnabled;e.fireEvent(new mxEventObject("guidesEnabledChanged"))});n.setToggleAction(!0);n.setSelectedCallback(function(){return f.graphHandler.guidesEnabled});
-n.setEnabled(!1);n=this.addAction("animations",function(){Editor.enableAnimations=!Editor.enableAnimations;e.fireEvent(new mxEventObject("enableAnimationsChanged"))});n.setToggleAction(!0);n.setSelectedCallback(function(){return Editor.enableAnimations});n=this.addAction("tooltips",function(){f.tooltipHandler.setEnabled(!f.tooltipHandler.isEnabled());e.fireEvent(new mxEventObject("tooltipsEnabledChanged"))});n.setToggleAction(!0);n.setSelectedCallback(function(){return f.tooltipHandler.isEnabled()});
-n=this.addAction("collapseExpand",function(){var l=new ChangePageSetup(e);l.ignoreColor=!0;l.ignoreImage=!0;l.foldingEnabled=!f.foldingEnabled;f.model.execute(l)});n.setToggleAction(!0);n.setSelectedCallback(function(){return f.foldingEnabled});n.isEnabled=h;n=this.addAction("pageView",mxUtils.bind(this,function(){e.setPageVisible(!f.pageVisible)}));n.setToggleAction(!0);n.setSelectedCallback(function(){return f.pageVisible});n=this.addAction("connectionArrows",function(){f.connectionArrowsEnabled=
-!f.connectionArrowsEnabled;e.fireEvent(new mxEventObject("connectionArrowsChanged"))},null,null,"Alt+Shift+A");n.setToggleAction(!0);n.setSelectedCallback(function(){return f.connectionArrowsEnabled});n=this.addAction("connectionPoints",function(){f.setConnectable(!f.connectionHandler.isEnabled());e.fireEvent(new mxEventObject("connectionPointsChanged"))},null,null,"Alt+Shift+O");n.setToggleAction(!0);n.setSelectedCallback(function(){return f.connectionHandler.isEnabled()});n=this.addAction("copyConnect",
-function(){f.connectionHandler.setCreateTarget(!f.connectionHandler.isCreateTarget());e.fireEvent(new mxEventObject("copyConnectChanged"))});n.setToggleAction(!0);n.setSelectedCallback(function(){return f.connectionHandler.isCreateTarget()});n.isEnabled=h;n=this.addAction("autosave",function(){e.editor.setAutosave(!e.editor.autosave)});n.setToggleAction(!0);n.setSelectedCallback(function(){return e.editor.autosave});n.isEnabled=h;n.visible=!1;this.addAction("help",function(){var l="";mxResources.isLanguageSupported(mxClient.language)&&
-(l="_"+mxClient.language);f.openLink(RESOURCES_PATH+"/help"+l+".html")});var q=!1;this.put("about",new Action(mxResources.get("about")+" Graph Editor...",function(){q||(e.showDialog((new AboutDialog(e)).container,320,280,!0,!0,function(){q=!1}),q=!0)}));n=mxUtils.bind(this,function(l,p,w,z){return this.addAction(l,function(){if(null!=w&&f.cellEditor.isContentEditing())w();else{f.stopEditing(!1);f.getModel().beginUpdate();try{var C=f.getEditableCells(f.getSelectionCells());f.toggleCellStyleFlags(mxConstants.STYLE_FONTSTYLE,
-p,C);(p&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD?f.updateLabelElements(C,function(D){D.style.fontWeight=null;"B"==D.nodeName&&f.replaceElement(D)}):(p&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC?f.updateLabelElements(C,function(D){D.style.fontStyle=null;"I"==D.nodeName&&f.replaceElement(D)}):(p&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&f.updateLabelElements(C,function(D){D.style.textDecoration=null;"U"==D.nodeName&&f.replaceElement(D)});for(var F=0;F<C.length;F++)0==f.model.getChildCount(C[F])&&
-f.autoSizeCell(C[F],!1)}finally{f.getModel().endUpdate()}}},null,null,z)});n("bold",mxConstants.FONT_BOLD,function(){document.execCommand("bold",!1,null)},Editor.ctrlKey+"+B");n("italic",mxConstants.FONT_ITALIC,function(){document.execCommand("italic",!1,null)},Editor.ctrlKey+"+I");n("underline",mxConstants.FONT_UNDERLINE,function(){document.execCommand("underline",!1,null)},Editor.ctrlKey+"+U");this.addAction("fontColor...",function(){e.menus.pickColor(mxConstants.STYLE_FONTCOLOR,"forecolor","000000",
-"default",f.shapeForegroundColor)});this.addAction("strokeColor...",function(){e.menus.pickColor(mxConstants.STYLE_STROKECOLOR,null,null,"default",f.shapeForegroundColor)});this.addAction("fillColor...",function(){e.menus.pickColor(mxConstants.STYLE_FILLCOLOR,null,null,"default",f.shapeBackgroundColor)});this.addAction("gradientColor...",function(){e.menus.pickColor(mxConstants.STYLE_GRADIENTCOLOR,null,null,"default",f.shapeForegroundColor)});this.addAction("backgroundColor...",function(){e.menus.pickColor(mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,
-"backcolor",null,"default",f.shapeBackgroundColor)});this.addAction("borderColor...",function(){e.menus.pickColor(mxConstants.STYLE_LABEL_BORDERCOLOR,null,null,"default",f.shapeForegroundColor)});this.addAction("removeFormat",function(){if(f.isEnabled()&&!f.isSelectionEmpty()&&!f.isEditing()){f.getModel().beginUpdate();try{for(var l=f.getSelectionCells(),p=0;p<l.length;p++)f.removeTextStyleForCell(l[p],!0)}finally{f.getModel().endUpdate()}}});this.addAction("vertical",function(){e.menus.toggleStyle(mxConstants.STYLE_HORIZONTAL,
-!0)});this.addAction("shadow",function(){e.menus.toggleStyle(mxConstants.STYLE_SHADOW)});this.addAction("solid",function(){f.getModel().beginUpdate();try{f.setCellStyles(mxConstants.STYLE_DASHED,null),f.setCellStyles(mxConstants.STYLE_DASH_PATTERN,null),e.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],"values",[null,null],"cells",f.getSelectionCells()))}finally{f.getModel().endUpdate()}});this.addAction("dashed",function(){f.getModel().beginUpdate();
-try{f.setCellStyles(mxConstants.STYLE_DASHED,"1"),f.setCellStyles(mxConstants.STYLE_DASH_PATTERN,null),e.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],"values",["1",null],"cells",f.getSelectionCells()))}finally{f.getModel().endUpdate()}});this.addAction("dotted",function(){f.getModel().beginUpdate();try{f.setCellStyles(mxConstants.STYLE_DASHED,"1"),f.setCellStyles(mxConstants.STYLE_DASH_PATTERN,"1 4"),e.fireEvent(new mxEventObject("styleChanged",
-"keys",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],"values",["1","1 4"],"cells",f.getSelectionCells()))}finally{f.getModel().endUpdate()}});this.addAction("sharp",function(){f.getModel().beginUpdate();try{f.setCellStyles(mxConstants.STYLE_ROUNDED,"0"),f.setCellStyles(mxConstants.STYLE_CURVED,"0"),e.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ROUNDED,mxConstants.STYLE_CURVED],"values",["0","0"],"cells",f.getSelectionCells()))}finally{f.getModel().endUpdate()}});
-this.addAction("rounded",function(){f.getModel().beginUpdate();try{f.setCellStyles(mxConstants.STYLE_ROUNDED,"1"),f.setCellStyles(mxConstants.STYLE_CURVED,"0"),e.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ROUNDED,mxConstants.STYLE_CURVED],"values",["1","0"],"cells",f.getSelectionCells()))}finally{f.getModel().endUpdate()}});this.addAction("toggleRounded",function(){if(!f.isSelectionEmpty()&&f.isEnabled()){f.getModel().beginUpdate();try{var l=f.getSelectionCells(),p=f.getCurrentCellStyle(l[0]),
-w="1"==mxUtils.getValue(p,mxConstants.STYLE_ROUNDED,"0")?"0":"1";f.setCellStyles(mxConstants.STYLE_ROUNDED,w);f.setCellStyles(mxConstants.STYLE_CURVED,null);e.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ROUNDED,mxConstants.STYLE_CURVED],"values",[w,"0"],"cells",f.getSelectionCells()))}finally{f.getModel().endUpdate()}}});this.addAction("curved",function(){f.getModel().beginUpdate();try{f.setCellStyles(mxConstants.STYLE_ROUNDED,"0"),f.setCellStyles(mxConstants.STYLE_CURVED,
-"1"),e.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ROUNDED,mxConstants.STYLE_CURVED],"values",["0","1"],"cells",f.getSelectionCells()))}finally{f.getModel().endUpdate()}});this.addAction("collapsible",function(){var l=f.view.getState(f.getSelectionCell()),p="1";null!=l&&null!=f.getFoldingImage(l)&&(p="0");f.setCellStyles("collapsible",p);e.fireEvent(new mxEventObject("styleChanged","keys",["collapsible"],"values",[p],"cells",f.getSelectionCells()))});this.addAction("editStyle...",
-mxUtils.bind(this,function(){var l=f.getEditableCells(f.getSelectionCells());if(null!=l&&0<l.length){var p=f.getModel();p=new TextareaDialog(this.editorUi,mxResources.get("editStyle")+":",p.getStyle(l[0])||"",function(w){null!=w&&f.setCellStyle(mxUtils.trim(w),l)},null,null,400,220);this.editorUi.showDialog(p.container,420,300,!0,!0);p.init()}}),null,null,Editor.ctrlKey+"+E");this.addAction("setAsDefaultStyle",function(){f.isEnabled()&&!f.isSelectionEmpty()&&e.setDefaultStyle(f.getSelectionCell())},
-null,null,Editor.ctrlKey+"+Shift+D");this.addAction("clearDefaultStyle",function(){f.isEnabled()&&e.clearDefaultStyle()},null,null,Editor.ctrlKey+"+Shift+R");this.addAction("addWaypoint",function(){var l=f.getSelectionCell();if(null!=l&&f.getModel().isEdge(l)){var p=g.graph.selectionCellsHandler.getHandler(l);if(p instanceof mxEdgeHandler){var w=f.view.translate,z=f.view.scale,C=w.x;w=w.y;l=f.getModel().getParent(l);for(var F=f.getCellGeometry(l);f.getModel().isVertex(l)&&null!=F;)C+=F.x,w+=F.y,l=
-f.getModel().getParent(l),F=f.getCellGeometry(l);C=Math.round(f.snap(f.popupMenuHandler.triggerX/z-C));z=Math.round(f.snap(f.popupMenuHandler.triggerY/z-w));p.addPointAt(p.state,C,z)}}});this.addAction("removeWaypoint",function(){var l=e.actions.get("removeWaypoint");null!=l.handler&&l.handler.removePoint(l.handler.state,l.index)});this.addAction("clearAnchors",function(){var l=f.getSelectionCells();if(null!=l){l=f.getEditableCells(f.addAllEdges(l));f.getModel().beginUpdate();try{for(var p=0;p<l.length;p++){var w=
-l[p];f.getModel().isEdge(w)&&(f.setCellStyles(mxConstants.STYLE_EXIT_X,null,[w]),f.setCellStyles(mxConstants.STYLE_EXIT_Y,null,[w]),f.setCellStyles(mxConstants.STYLE_ENTRY_X,null,[w]),f.setCellStyles(mxConstants.STYLE_ENTRY_Y,null,[w]))}}finally{f.getModel().endUpdate()}}});this.addAction("clearWaypoints",function(){var l=f.getSelectionCells();if(null!=l){l=f.getEditableCells(f.addAllEdges(l));f.getModel().beginUpdate();try{for(var p=0;p<l.length;p++){var w=l[p];if(f.getModel().isEdge(w)){var z=f.getCellGeometry(w);
-null!=z&&(z=z.clone(),z.points=null,z.x=0,z.y=0,z.offset=null,f.getModel().setGeometry(w,z))}}}finally{f.getModel().endUpdate()}}},null,null,"Alt+Shift+R");n=this.addAction("subscript",mxUtils.bind(this,function(){f.cellEditor.isContentEditing()&&document.execCommand("subscript",!1,null)}),null,null,Editor.ctrlKey+"+,");n=this.addAction("superscript",mxUtils.bind(this,function(){f.cellEditor.isContentEditing()&&document.execCommand("superscript",!1,null)}),null,null,Editor.ctrlKey+"+.");n=this.addAction("decreaseFontSize",
-mxUtils.bind(this,function(){if(!f.isSelectionEmpty()){var l=f.getCurrentCellStyle(f.getSelectionCell());l=mxUtils.getValue(l,mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE);f.setCellStyles(mxConstants.STYLE_FONTSIZE,Math.max(1,l-1),f.getSelectionCells())}}),null,null,Editor.ctrlKey+"+Shift + (Numpad)");n=this.addAction("increaseFontSize",mxUtils.bind(this,function(){if(!f.isSelectionEmpty()){var l=f.getCurrentCellStyle(f.getSelectionCell());l=mxUtils.getValue(l,mxConstants.STYLE_FONTSIZE,
-mxConstants.DEFAULT_FONTSIZE);f.setCellStyles(mxConstants.STYLE_FONTSIZE,Math.min(100,l+1),f.getSelectionCells())}}),null,null,Editor.ctrlKey+"+Shift - (Numpad)");this.addAction("image...",function(){if(f.isEnabled()&&!f.isCellLocked(f.getDefaultParent())){var l=mxResources.get("image")+" ("+mxResources.get("url")+"):",p=f.getView().getState(f.getSelectionCell()),w="",z=null;null!=p&&(w=p.style[mxConstants.STYLE_IMAGE]||w,z=p.style[mxConstants.STYLE_CLIP_PATH]||z);var C=f.cellEditor.saveSelection();
-e.showImageDialog(l,w,function(F,D,G,K,I,O){if(f.cellEditor.isContentEditing())f.cellEditor.restoreSelection(C),f.insertImage(F,D,G);else{var H=f.getSelectionCells();if(null!=F&&(0<F.length||0<H.length)){var Z=null;f.getModel().beginUpdate();try{if(0==H.length){H=[f.insertVertex(f.getDefaultParent(),null,"",0,0,D,G,"shape=image;imageAspect=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;")];var S=f.getCenterInsertPoint(f.getBoundingBoxFromGeometry(H,!0));H[0].geometry.x=S.x;H[0].geometry.y=
-S.y;null!=K&&d(H[0],K,I,O,f);Z=H;f.fireEvent(new mxEventObject("cellsInserted","cells",Z))}f.setCellStyles(mxConstants.STYLE_IMAGE,0<F.length?F:null,H);var X=f.getCurrentCellStyle(H[0]);"image"!=X[mxConstants.STYLE_SHAPE]&&"label"!=X[mxConstants.STYLE_SHAPE]?f.setCellStyles(mxConstants.STYLE_SHAPE,"image",H):0==F.length&&f.setCellStyles(mxConstants.STYLE_SHAPE,null,H);null==K&&f.setCellStyles(mxConstants.STYLE_CLIP_PATH,null,H);if(null!=D&&null!=G)for(F=0;F<H.length;F++){var Y=H[F];if("0"!=f.getCurrentCellStyle(Y).expand){var M=
-f.getModel().getGeometry(Y);null!=M&&(M=M.clone(),M.width=D,M.height=G,f.getModel().setGeometry(Y,M))}null!=K&&d(Y,K,I,O,f)}}finally{f.getModel().endUpdate()}null!=Z&&(f.setSelectionCells(Z),f.scrollCellToVisible(Z[0]))}}},f.cellEditor.isContentEditing(),!f.cellEditor.isContentEditing(),!0,z)}}).isEnabled=h;this.addAction("crop...",function(){var l=f.getSelectionCell();if(f.isEnabled()&&!f.isCellLocked(f.getDefaultParent())&&null!=l){var p=f.getCurrentCellStyle(l),w=p[mxConstants.STYLE_IMAGE],z=p[mxConstants.STYLE_SHAPE];
-w&&"image"==z&&(p=new CropImageDialog(e,w,p[mxConstants.STYLE_CLIP_PATH],function(C,F,D){d(l,C,F,D,f)}),e.showDialog(p.container,300,390,!0,!0))}}).isEnabled=h;n=this.addAction("layers",mxUtils.bind(this,function(){null==this.layersWindow?(this.layersWindow=new LayersWindow(e,document.body.offsetWidth-280,120,212,200),this.layersWindow.window.addListener("show",mxUtils.bind(this,function(){e.fireEvent(new mxEventObject("layers"))})),this.layersWindow.window.addListener("hide",function(){e.fireEvent(new mxEventObject("layers"))}),
-this.layersWindow.window.setVisible(!0),e.fireEvent(new mxEventObject("layers")),this.layersWindow.init()):this.layersWindow.window.setVisible(!this.layersWindow.window.isVisible())}),null,null,Editor.ctrlKey+"+Shift+L");n.setToggleAction(!0);n.setSelectedCallback(mxUtils.bind(this,function(){return null!=this.layersWindow&&this.layersWindow.window.isVisible()}));n=this.addAction("format",mxUtils.bind(this,function(){e.toggleFormatPanel()}),null,null,Editor.ctrlKey+"+Shift+P");n.setToggleAction(!0);
-n.setSelectedCallback(mxUtils.bind(this,function(){return e.isFormatPanelVisible()}));n=this.addAction("outline",mxUtils.bind(this,function(){null==this.outlineWindow?(this.outlineWindow=new OutlineWindow(e,document.body.offsetWidth-260,100,180,180),this.outlineWindow.window.addListener("show",mxUtils.bind(this,function(){e.fireEvent(new mxEventObject("outline"))})),this.outlineWindow.window.addListener("hide",function(){e.fireEvent(new mxEventObject("outline"))}),this.outlineWindow.window.setVisible(!0),
-e.fireEvent(new mxEventObject("outline"))):this.outlineWindow.window.setVisible(!this.outlineWindow.window.isVisible())}),null,null,Editor.ctrlKey+"+Shift+O");n.setToggleAction(!0);n.setSelectedCallback(mxUtils.bind(this,function(){return null!=this.outlineWindow&&this.outlineWindow.window.isVisible()}));this.addAction("editConnectionPoints...",function(){var l=f.getSelectionCell();if(f.isEnabled()&&!f.isCellLocked(f.getDefaultParent())&&null!=l&&null!=l.geometry){var p=new ConnectionPointsDialog(e,
-l);e.showDialog(p.container,350,450,!0,!1,function(){p.destroy()});p.init()}},null,null,"Alt+Shift+Q").isEnabled=h};Actions.prototype.addAction=function(a,b,d,e,g){if("..."==a.substring(a.length-3)){a=a.substring(0,a.length-3);var f=mxResources.get(a)+"..."}else f=mxResources.get(a);return this.put(a,new Action(f,b,d,e,g))};Actions.prototype.put=function(a,b){return this.actions[a]=b};Actions.prototype.get=function(a){return this.actions[a]};
-function Action(a,b,d,e,g){mxEventSource.call(this);this.label=a;this.funct=this.createFunction(b);this.enabled=null!=d?d:!0;this.iconCls=e;this.shortcut=g;this.visible=!0}mxUtils.extend(Action,mxEventSource);Action.prototype.createFunction=function(a){return a};Action.prototype.setEnabled=function(a){this.enabled!=a&&(this.enabled=a,this.fireEvent(new mxEventObject("stateChanged")))};Action.prototype.isEnabled=function(){return this.enabled};
+Actions.prototype.init=function(){function a(k){d.escape();k=d.deleteCells(d.getDeletableCells(d.getSelectionCells()),k);null!=k&&d.setSelectionCells(k)}function b(){if(!d.isSelectionEmpty()){d.getModel().beginUpdate();try{for(var k=d.getSelectionCells(),p=0;p<k.length;p++)d.cellLabelChanged(k[p],"")}finally{d.getModel().endUpdate()}}}function e(k,p,w,z,C){C.getModel().beginUpdate();try{var F=C.getCellGeometry(k);null!=F&&w&&z&&(w/=z,F=F.clone(),1<w?F.height=F.width/w:F.width=F.height*w,C.getModel().setGeometry(k,
+F));C.setCellStyles(mxConstants.STYLE_CLIP_PATH,p,[k]);C.setCellStyles(mxConstants.STYLE_ASPECT,"fixed",[k])}finally{C.getModel().endUpdate()}}var f=this.editorUi,h=f.editor,d=h.graph,g=function(){return Action.prototype.isEnabled.apply(this,arguments)&&d.isEnabled()};this.addAction("new...",function(){d.openLink(f.getUrl())});this.addAction("open...",function(){window.openNew=!0;window.openKey="open";f.openFile()});this.put("smartFit",new Action(mxResources.get("fitWindow")+" / "+mxResources.get("resetView"),
+function(){d.popupMenuHandler.hideMenu();var k=d.view.scale,p=d.container.scrollLeft,w=d.container.scrollTop,z=d.view.translate.x,C=d.view.translate.y;f.actions.get("resetView").funct();1E-5>Math.abs(k-d.view.scale)&&5>Math.abs(p-d.container.scrollLeft)&&5>Math.abs(w-d.container.scrollTop)&&z==d.view.translate.x&&C==d.view.translate.y&&f.actions.get("fitWindow").funct()},null,null,"Enter"));this.addAction("keyPressEnter",function(){d.isSelectionEmpty()?f.actions.get("smartFit").funct():d.isEnabled()&&
+d.startEditingAtCell()});this.addAction("import...",function(){window.openNew=!1;window.openKey="import";window.openFile=new OpenFile(mxUtils.bind(this,function(){f.hideDialog()}));window.openFile.setConsumer(mxUtils.bind(this,function(k,p){try{var w=mxUtils.parseXml(k);h.graph.setSelectionCells(h.graph.importGraphModel(w.documentElement))}catch(z){mxUtils.alert(mxResources.get("invalidOrMissingFile")+": "+z.message)}}));f.showDialog((new OpenDialog(this)).container,320,220,!0,!0,function(){window.openFile=
+null})}).isEnabled=g;this.addAction("save",function(){f.saveFile(!1)},null,null,Editor.ctrlKey+"+S").isEnabled=g;this.addAction("saveAs...",function(){f.saveFile(!0)},null,null,Editor.ctrlKey+"+Shift+S");this.addAction("export...",function(){f.showDialog((new ExportDialog(f)).container,300,340,!0,!0)});this.addAction("editDiagram...",function(){var k=new EditDiagramDialog(f);f.showDialog(k.container,620,420,!0,!1);k.init()}).isEnabled=g;this.addAction("pageSetup...",function(){f.showDialog((new PageSetupDialog(f)).container,
+320,240,!0,!0)}).isEnabled=g;this.addAction("print...",function(){f.showPrintDialog()},null,"sprite-print",Editor.ctrlKey+"+P");this.addAction("preview",function(){mxUtils.show(d,null,10,10)});this.addAction("undo",function(){f.undo()},null,"sprite-undo",Editor.ctrlKey+"+Z");this.addAction("redo",function(){f.redo()},null,"sprite-redo",mxClient.IS_WIN?Editor.ctrlKey+"+Y":Editor.ctrlKey+"+Shift+Z");this.addAction("cut",function(){var k=null;try{k=f.copyXml(),null!=k&&d.removeCells(k,!1)}catch(p){}try{null==
+k&&mxClipboard.cut(d)}catch(p){f.handleError(p)}},null,"sprite-cut",Editor.ctrlKey+"+X");this.addAction("copy",function(){try{f.copyXml()}catch(k){}try{mxClipboard.copy(d)}catch(k){f.handleError(k)}},null,"sprite-copy",Editor.ctrlKey+"+C");this.addAction("paste",function(){if(d.isEnabled()&&!d.isCellLocked(d.getDefaultParent())){var k=!1;try{Editor.enableNativeCipboard&&(f.readGraphModelFromClipboard(function(p){if(null!=p){d.getModel().beginUpdate();try{f.pasteXml(p,!0)}finally{d.getModel().endUpdate()}}else mxClipboard.paste(d)}),
+k=!0)}catch(p){}k||mxClipboard.paste(d)}},!1,"sprite-paste",Editor.ctrlKey+"+V");this.addAction("pasteHere",function(k){function p(z){if(null!=z){for(var C=!0,F=0;F<z.length&&C;F++)C=C&&d.model.isEdge(z[F]);var D=d.view.translate;F=d.view.scale;var H=D.x,K=D.y;D=null;if(1==z.length&&C){var G=d.getCellGeometry(z[0]);null!=G&&(D=G.getTerminalPoint(!0))}D=null!=D?D:d.getBoundingBoxFromGeometry(z,C);null!=D&&(C=Math.round(d.snap(d.popupMenuHandler.triggerX/F-H)),F=Math.round(d.snap(d.popupMenuHandler.triggerY/
+F-K)),d.cellsMoved(z,C-D.x,F-D.y))}}function w(){d.getModel().beginUpdate();try{p(mxClipboard.paste(d))}finally{d.getModel().endUpdate()}}if(d.isEnabled()&&!d.isCellLocked(d.getDefaultParent())){k=!1;try{Editor.enableNativeCipboard&&(f.readGraphModelFromClipboard(function(z){if(null!=z){d.getModel().beginUpdate();try{p(f.pasteXml(z,!0))}finally{d.getModel().endUpdate()}}else w()}),k=!0)}catch(z){}k||w()}});this.addAction("swap",function(){var k=d.getSelectionCells();2==k.length&&d.swapShapes(k[0],
+k[1])});this.addAction("copySize",function(){var k=d.getSelectionCell();d.isEnabled()&&null!=k&&d.getModel().isVertex(k)&&(k=d.getCellGeometry(k),null!=k&&(f.copiedSize=new mxRectangle(k.x,k.y,k.width,k.height)))},null,null,"Alt+Shift+F");this.addAction("pasteSize",function(){if(d.isEnabled()&&!d.isSelectionEmpty()&&null!=f.copiedSize){d.getModel().beginUpdate();try{for(var k=d.getResizableCells(d.getSelectionCells()),p=0;p<k.length;p++)if(d.getModel().isVertex(k[p])){var w=d.getCellGeometry(k[p]);
+null!=w&&(w=w.clone(),w.width=f.copiedSize.width,w.height=f.copiedSize.height,d.getModel().setGeometry(k[p],w))}}finally{d.getModel().endUpdate()}}},null,null,"Alt+Shift+V");this.addAction("copyData",function(){var k=d.getSelectionCell()||d.getModel().getRoot();d.isEnabled()&&null!=k&&(k=k.cloneValue(),null==k||isNaN(k.nodeType)||(f.copiedValue=k))},null,null,"Alt+Shift+B");this.addAction("copyAsText",function(){var k=d.getSelectionCell();if(d.isEnabled()&&null!=k)try{d.isHtmlLabel(k)?f.writeHtmlToClipboard(d.getLabel(k),
+mxUtils.bind(this,function(p){f.handleError(p)})):f.writeTextToClipboard(d.getLabel(k),mxUtils.bind(this,function(p){f.handleError(p)}))}catch(p){f.handleError(p)}});this.addAction("pasteData",function(k,p){function w(F,D){var H=z.getValue(F);D=F.cloneValue(D);D.removeAttribute("placeholders");null==H||isNaN(H.nodeType)||D.setAttribute("placeholders",H.getAttribute("placeholders"));null!=k&&mxEvent.isShiftDown(k)||D.setAttribute("label",d.convertValueToString(F));z.setValue(F,D)}k=null!=p?p:k;var z=
+d.getModel();if(d.isEnabled()&&!d.isSelectionEmpty()&&null!=f.copiedValue){z.beginUpdate();try{var C=d.getEditableCells(d.getSelectionCells());if(0==C.length)w(z.getRoot(),f.copiedValue);else for(p=0;p<C.length;p++)w(C[p],f.copiedValue)}finally{z.endUpdate()}}},null,null,"Alt+Shift+E");this.addAction("delete",function(k,p){k=null!=p?p:k;null!=k&&mxEvent.isShiftDown(k)?b():a(null!=k&&(mxEvent.isControlDown(k)||mxEvent.isMetaDown(k)||mxEvent.isAltDown(k)))},null,null,"Delete");this.addAction("deleteAll",
+function(){a(!0)});this.addAction("deleteLabels",function(){b()},null,null,Editor.ctrlKey+"+Delete");this.addAction("duplicate",function(){try{d.setSelectionCells(d.duplicateCells()),d.scrollCellToVisible(d.getSelectionCell())}catch(k){f.handleError(k)}},null,null,Editor.ctrlKey+"+D");this.put("mergeCells",new Action(mxResources.get("merge"),function(){var k=f.getSelectionState();if(null!=k.mergeCell){d.getModel().beginUpdate();try{d.setCellStyles("rowspan",k.rowspan,[k.mergeCell]),d.setCellStyles("colspan",
+k.colspan,[k.mergeCell])}finally{d.getModel().endUpdate()}}}));this.put("unmergeCells",new Action(mxResources.get("unmerge"),function(){var k=f.getSelectionState();if(0<k.cells.length){d.getModel().beginUpdate();try{d.setCellStyles("rowspan",null,k.cells),d.setCellStyles("colspan",null,k.cells)}finally{d.getModel().endUpdate()}}}));this.put("turn",new Action(mxResources.get("turn")+" / "+mxResources.get("reverse"),function(k,p){k=null!=p?p:k;d.turnShapes(d.getResizableCells(d.getSelectionCells()),
+null!=k?mxEvent.isShiftDown(k):!1)},null,null,mxClient.IS_SF?null:Editor.ctrlKey+"+R"));this.put("selectConnections",new Action(mxResources.get("selectEdges"),function(k){k=d.getSelectionCell();d.isEnabled()&&null!=k&&d.addSelectionCells(d.getEdges(k))}));this.addAction("selectVertices",function(){d.selectVertices(null,!0)},null,null,Editor.ctrlKey+"+Shift+I");this.addAction("selectEdges",function(){d.selectEdges()},null,null,Editor.ctrlKey+"+Shift+E");this.addAction("selectAll",function(){d.selectAll(null,
+!0)},null,null,Editor.ctrlKey+"+A");this.addAction("selectNone",function(){d.clearSelection()},null,null,Editor.ctrlKey+"+Shift+A");this.addAction("lockUnlock",function(){if(!d.isSelectionEmpty()){d.getModel().beginUpdate();try{var k=d.getSelectionCells(),p=d.getCurrentCellStyle(d.getSelectionCell()),w=1==mxUtils.getValue(p,mxConstants.STYLE_EDITABLE,1)?0:1;d.setCellStyles(mxConstants.STYLE_MOVABLE,w,k);d.setCellStyles(mxConstants.STYLE_RESIZABLE,w,k);d.setCellStyles(mxConstants.STYLE_ROTATABLE,w,
+k);d.setCellStyles(mxConstants.STYLE_DELETABLE,w,k);d.setCellStyles(mxConstants.STYLE_EDITABLE,w,k);d.setCellStyles("locked",1==w?0:1,k);d.setCellStyles("connectable",w,k)}finally{d.getModel().endUpdate()}}},null,null,Editor.ctrlKey+"+L");this.addAction("explore",function(){d.model.isVertex(d.getSelectionCell())&&Graph.exploreFromCell(f.editor.graph,f.editor.graph.getSelectionCell())});this.addAction("home",function(){d.home()},null,null,"Shift+Home");this.addAction("exitGroup",function(){d.exitGroup()},
+null,null,Editor.ctrlKey+"+Shift+Home");this.addAction("enterGroup",function(){d.enterGroup()},null,null,Editor.ctrlKey+"+Shift+End");this.addAction("collapse",function(){d.foldCells(!0)},null,null,Editor.ctrlKey+"+Home");this.addAction("expand",function(){d.foldCells(!1)},null,null,Editor.ctrlKey+"+End");this.addAction("toFront",function(){d.orderCells(!1)},null,null,Editor.ctrlKey+"+Shift+F");this.addAction("toBack",function(){d.orderCells(!0)},null,null,Editor.ctrlKey+"+Shift+B");this.addAction("bringForward",
+function(k){d.orderCells(!1,null,!0)},null,null,Editor.ctrlKey+"+Alt+Shift+F");this.addAction("sendBackward",function(k){d.orderCells(!0,null,!0)},null,null,Editor.ctrlKey+"+Alt+Shift+B");this.addAction("group",function(){if(d.isEnabled()){var k=mxUtils.sortCells(d.getSelectionCells(),!0);1!=k.length||d.isTable(k[0])||d.isTableRow(k[0])?(k=d.getCellsForGroup(k),1<k.length&&d.setSelectionCell(d.groupCells(null,0,k))):d.setCellStyles("container","1")}},null,null,Editor.ctrlKey+"+G");this.addAction("ungroup",
+function(){if(d.isEnabled()){var k=d.getEditableCells(d.getSelectionCells());d.model.beginUpdate();try{var p=d.ungroupCells();if(null!=k)for(var w=0;w<k.length;w++)d.model.contains(k[w])&&(0==d.model.getChildCount(k[w])&&d.model.isVertex(k[w])&&d.setCellStyles("container","0",[k[w]]),p.push(k[w]))}finally{d.model.endUpdate()}0<p.length&&d.setSelectionCells(p)}},null,null,Editor.ctrlKey+"+Shift+U");this.addAction("removeFromGroup",function(){if(d.isEnabled()){var k=d.getSelectionCells();if(null!=k){for(var p=
+[],w=0;w<k.length;w++)d.isTableRow(k[w])||d.isTableCell(k[w])||p.push(k[w]);d.removeCellsFromParent(p);0<p.length&&d.scrollCellToVisible(p[0])}}});this.addAction("edit",function(){d.isEnabled()&&d.startEditingAtCell()},null,null,"F2/Enter");this.addAction("editData...",function(){var k=d.getSelectionCell()||d.getModel().getRoot();f.showDataDialog(k)},null,null,Editor.ctrlKey+"+M");this.addAction("editTooltip...",function(){var k=d.getSelectionCell();if(d.isEnabled()&&null!=k&&d.isCellEditable(k)){var p=
+"";if(mxUtils.isNode(k.value)){var w=null;Graph.translateDiagram&&null!=Graph.diagramLanguage&&k.value.hasAttribute("tooltip_"+Graph.diagramLanguage)&&(w=k.value.getAttribute("tooltip_"+Graph.diagramLanguage));null==w&&(w=k.value.getAttribute("tooltip"));null!=w&&(p=w)}p=new TextareaDialog(f,mxResources.get("editTooltip")+":",p,function(z){d.setTooltipForCell(k,z)});f.showDialog(p.container,320,200,!0,!0);p.init()}},null,null,"Alt+Shift+T");this.addAction("openLink",function(){var k=d.getLinkForCell(d.getSelectionCell());
+null!=k&&d.openLink(k)});this.addAction("editLink...",function(){var k=d.getSelectionCell();if(d.isEnabled()&&null!=k&&d.isCellEditable(k)){var p=d.getLinkForCell(k,!0)||"";f.showLinkDialog(p,mxResources.get("ok"),function(w,z,C){d.getModel().beginUpdate();try{d.setLinkForCell(k,0<w.length?w:null),d.setAttributeForCell(k,"linkTarget",C)}finally{d.getModel().endUpdate()}},!0,d.getLinkTargetForCell(k))}},null,null,"Alt+Shift+L");this.put("insertImage",new Action(mxResources.get("image")+"...",function(){d.isEnabled()&&
+!d.isCellLocked(d.getDefaultParent())&&(d.clearSelection(),f.actions.get("image").funct())})).isEnabled=g;this.addAction("editImage...",function(){f.actions.get("image").funct()});this.put("insertLink",new Action(mxResources.get("link")+"...",function(){d.isEnabled()&&!d.isCellLocked(d.getDefaultParent())&&f.showLinkDialog("",mxResources.get("ok"),function(k,p,w){k=mxUtils.trim(k);if(0<k.length){var z=null,C=d.getLinkTitle(k);null!=p&&0<p.length&&(z=p[0].iconUrl,C=p[0].name||p[0].type,C=C.charAt(0).toUpperCase()+
+C.substring(1),30<C.length&&(C=C.substring(0,30)+"..."));p=new mxCell(C,new mxGeometry(0,0,100,40),"fontColor=#0000EE;fontStyle=4;rounded=1;overflow=hidden;"+(null!=z?"shape=label;imageWidth=16;imageHeight=16;spacingLeft=26;align=left;image="+z:"spacing=10;"));p.vertex=!0;z=d.getCenterInsertPoint(d.getBoundingBoxFromGeometry([p],!0));p.geometry.x=z.x;p.geometry.y=z.y;d.setAttributeForCell(p,"linkTarget",w);d.setLinkForCell(p,k);d.cellSizeUpdated(p,!0);d.getModel().beginUpdate();try{p=d.addCell(p),
+d.fireEvent(new mxEventObject("cellsInserted","cells",[p]))}finally{d.getModel().endUpdate()}d.setSelectionCell(p);d.scrollCellToVisible(d.getSelectionCell())}},!0)},null,null,"L")).isEnabled=g;this.addAction("link...",mxUtils.bind(this,function(){if(d.isEnabled())if(d.cellEditor.isContentEditing()){var k=d.getSelectedElement(),p=d.getParentByName(k,"A",d.cellEditor.textarea),w="";if(null==p&&null!=k&&null!=k.getElementsByTagName)for(var z=k.getElementsByTagName("a"),C=0;C<z.length&&null==p;C++)z[C].textContent==
+k.textContent&&(p=z[C]);null!=p&&"A"==p.nodeName&&(w=p.getAttribute("href")||"",d.selectNode(p));var F=d.cellEditor.saveSelection();f.showLinkDialog(w,mxResources.get("ok"),mxUtils.bind(this,function(D){d.cellEditor.restoreSelection(F);null!=D&&d.insertLink(D)}))}else d.isSelectionEmpty()?this.get("insertLink").funct():this.get("editLink").funct()})).isEnabled=g;this.addAction("autosize",function(){var k=d.getSelectionCells();if(null!=k){d.getModel().beginUpdate();try{for(var p=0;p<k.length;p++){var w=
+k[p];d.getModel().isVertex(w)&&(0<d.getModel().getChildCount(w)?d.updateGroupBounds([w],0,!0):d.updateCellSize(w))}}finally{d.getModel().endUpdate()}}},null,null,Editor.ctrlKey+"+Shift+Y");this.addAction("snapToGrid",function(){d.snapCellsToGrid(d.getSelectionCells(),d.gridSize)});this.addAction("formattedText",function(){d.stopEditing();var k=d.getCommonStyle(d.getSelectionCells());k="1"==mxUtils.getValue(k,"html","0")?null:"1";d.getModel().beginUpdate();try{for(var p=d.getEditableCells(d.getSelectionCells()),
+w=0;w<p.length;w++)if(state=d.getView().getState(p[w]),null!=state){var z=mxUtils.getValue(state.style,"html","0");if("1"==z&&null==k)d.removeTextStyleForCell(state.cell),d.setCellStyles("html",k,[p[w]]);else if("0"==z&&"1"==k){var C=mxUtils.htmlEntities(d.convertValueToString(state.cell),!1);"0"!=mxUtils.getValue(state.style,"nl2Br","1")&&(C=C.replace(/\n/g,"<br/>"));d.cellLabelChanged(state.cell,Graph.sanitizeHtml(C));d.setCellStyles("html",k,[p[w]])}}f.fireEvent(new mxEventObject("styleChanged",
+"keys",["html"],"values",[null!=k?k:"0"],"cells",p))}finally{d.getModel().endUpdate()}});this.addAction("wordWrap",function(){var k=d.getView().getState(d.getSelectionCell()),p="wrap";d.stopEditing();null!=k&&"wrap"==k.style[mxConstants.STYLE_WHITE_SPACE]&&(p=null);d.setCellStyles(mxConstants.STYLE_WHITE_SPACE,p)});this.addAction("rotation",function(){var k="0",p=d.getView().getState(d.getSelectionCell());null!=p&&(k=p.style[mxConstants.STYLE_ROTATION]||k);k=new FilenameDialog(f,k,mxResources.get("apply"),
+function(w){null!=w&&0<w.length&&d.setCellStyles(mxConstants.STYLE_ROTATION,w)},mxResources.get("enterValue")+" ("+mxResources.get("rotation")+" 0-360)");f.showDialog(k.container,375,80,!0,!0);k.init()});this.addAction("resetView",function(){d.zoomTo(1);f.resetScrollbars()},null,null,"Enter/Home");this.addAction("zoomIn",function(k){d.isFastZoomEnabled()?d.lazyZoom(!0,!0,f.buttonZoomDelay):d.zoomIn()},null,null,Editor.ctrlKey+" + / Alt+Mousewheel");this.addAction("zoomOut",function(k){d.isFastZoomEnabled()?
+d.lazyZoom(!1,!0,f.buttonZoomDelay):d.zoomOut()},null,null,Editor.ctrlKey+" - / Alt+Mousewheel");this.addAction("fitWindow",function(){d.pageVisible&&d.isSelectionEmpty()?d.fitPages():f.fitDiagramToWindow()},null,null,Editor.ctrlKey+"+Shift+H");this.addAction("fitPage",mxUtils.bind(this,function(){d.pageVisible?d.fitPages(1):this.get("pageView").funct()}),null,null,Editor.ctrlKey+"+J");this.addAction("fitTwoPages",mxUtils.bind(this,function(){d.pageVisible?d.fitPages(2):this.get("pageView").funct()}),
+null,null,Editor.ctrlKey+"+Shift+J");this.addAction("fitPageWidth",mxUtils.bind(this,function(){d.pageVisible?d.fitPages(1,!0):this.get("pageView").funct()}));this.put("customZoom",new Action(mxResources.get("custom")+"...",mxUtils.bind(this,function(){var k=new FilenameDialog(this.editorUi,parseInt(100*d.getView().getScale()),mxResources.get("apply"),mxUtils.bind(this,function(p){p=parseInt(p);!isNaN(p)&&0<p&&d.zoomTo(p/100)}),mxResources.get("zoom")+" (%)");this.editorUi.showDialog(k.container,
+300,80,!0,!0);k.init()}),null,null,Editor.ctrlKey+"+0"));this.addAction("pageScale...",mxUtils.bind(this,function(){var k=new FilenameDialog(this.editorUi,parseInt(100*d.pageScale),mxResources.get("apply"),mxUtils.bind(this,function(p){p=parseInt(p);!isNaN(p)&&0<p&&(p=new ChangePageSetup(f,null,null,null,p/100),p.ignoreColor=!0,p.ignoreImage=!0,d.model.execute(p))}),mxResources.get("pageScale")+" (%)");this.editorUi.showDialog(k.container,300,80,!0,!0);k.init()}));var n=null;n=this.addAction("grid",
+function(){d.setGridEnabled(!d.isGridEnabled());d.defaultGridEnabled=d.isGridEnabled();f.fireEvent(new mxEventObject("gridEnabledChanged"))},null,null,Editor.ctrlKey+"+Shift+G");n.setToggleAction(!0);n.setSelectedCallback(function(){return d.isGridEnabled()});n.setEnabled(!1);n=this.addAction("guides",function(){d.graphHandler.guidesEnabled=!d.graphHandler.guidesEnabled;f.fireEvent(new mxEventObject("guidesEnabledChanged"))});n.setToggleAction(!0);n.setSelectedCallback(function(){return d.graphHandler.guidesEnabled});
+n.setEnabled(!1);n=this.addAction("animations",function(){Editor.enableAnimations=!Editor.enableAnimations;f.fireEvent(new mxEventObject("enableAnimationsChanged"))});n.setToggleAction(!0);n.setSelectedCallback(function(){return Editor.enableAnimations});n=this.addAction("tooltips",function(){d.tooltipHandler.setEnabled(!d.tooltipHandler.isEnabled());f.fireEvent(new mxEventObject("tooltipsEnabledChanged"))});n.setToggleAction(!0);n.setSelectedCallback(function(){return d.tooltipHandler.isEnabled()});
+n=this.addAction("collapseExpand",function(){var k=new ChangePageSetup(f);k.ignoreColor=!0;k.ignoreImage=!0;k.foldingEnabled=!d.foldingEnabled;d.model.execute(k)});n.setToggleAction(!0);n.setSelectedCallback(function(){return d.foldingEnabled});n.isEnabled=g;n=this.addAction("pageView",mxUtils.bind(this,function(){f.setPageVisible(!d.pageVisible)}));n.setToggleAction(!0);n.setSelectedCallback(function(){return d.pageVisible});n=this.addAction("connectionArrows",function(){d.connectionArrowsEnabled=
+!d.connectionArrowsEnabled;f.fireEvent(new mxEventObject("connectionArrowsChanged"))},null,null,"Alt+Shift+A");n.setToggleAction(!0);n.setSelectedCallback(function(){return d.connectionArrowsEnabled});n=this.addAction("connectionPoints",function(){d.setConnectable(!d.connectionHandler.isEnabled());f.fireEvent(new mxEventObject("connectionPointsChanged"))},null,null,"Alt+Shift+O");n.setToggleAction(!0);n.setSelectedCallback(function(){return d.connectionHandler.isEnabled()});n=this.addAction("copyConnect",
+function(){d.connectionHandler.setCreateTarget(!d.connectionHandler.isCreateTarget());f.fireEvent(new mxEventObject("copyConnectChanged"))});n.setToggleAction(!0);n.setSelectedCallback(function(){return d.connectionHandler.isCreateTarget()});n.isEnabled=g;n=this.addAction("autosave",function(){f.editor.setAutosave(!f.editor.autosave)});n.setToggleAction(!0);n.setSelectedCallback(function(){return f.editor.autosave});n.isEnabled=g;n.visible=!1;this.addAction("help",function(){var k="";mxResources.isLanguageSupported(mxClient.language)&&
+(k="_"+mxClient.language);d.openLink(RESOURCES_PATH+"/help"+k+".html")});var q=!1;this.put("about",new Action(mxResources.get("about")+" Graph Editor...",function(){q||(f.showDialog((new AboutDialog(f)).container,320,280,!0,!0,function(){q=!1}),q=!0)}));n=mxUtils.bind(this,function(k,p,w,z){return this.addAction(k,function(){if(null!=w&&d.cellEditor.isContentEditing())w();else{d.stopEditing(!1);d.getModel().beginUpdate();try{var C=d.getEditableCells(d.getSelectionCells());d.toggleCellStyleFlags(mxConstants.STYLE_FONTSTYLE,
+p,C);(p&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD?d.updateLabelElements(C,function(D){D.style.fontWeight=null;"B"==D.nodeName&&d.replaceElement(D)}):(p&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC?d.updateLabelElements(C,function(D){D.style.fontStyle=null;"I"==D.nodeName&&d.replaceElement(D)}):(p&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&d.updateLabelElements(C,function(D){D.style.textDecoration=null;"U"==D.nodeName&&d.replaceElement(D)});for(var F=0;F<C.length;F++)0==d.model.getChildCount(C[F])&&
+d.autoSizeCell(C[F],!1)}finally{d.getModel().endUpdate()}}},null,null,z)});n("bold",mxConstants.FONT_BOLD,function(){document.execCommand("bold",!1,null)},Editor.ctrlKey+"+B");n("italic",mxConstants.FONT_ITALIC,function(){document.execCommand("italic",!1,null)},Editor.ctrlKey+"+I");n("underline",mxConstants.FONT_UNDERLINE,function(){document.execCommand("underline",!1,null)},Editor.ctrlKey+"+U");this.addAction("fontColor...",function(){f.menus.pickColor(mxConstants.STYLE_FONTCOLOR,"forecolor","000000",
+"default",d.shapeForegroundColor)});this.addAction("strokeColor...",function(){f.menus.pickColor(mxConstants.STYLE_STROKECOLOR,null,null,"default",d.shapeForegroundColor)});this.addAction("fillColor...",function(){f.menus.pickColor(mxConstants.STYLE_FILLCOLOR,null,null,"default",d.shapeBackgroundColor)});this.addAction("gradientColor...",function(){f.menus.pickColor(mxConstants.STYLE_GRADIENTCOLOR,null,null,"default",d.shapeForegroundColor)});this.addAction("backgroundColor...",function(){f.menus.pickColor(mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,
+"backcolor",null,"default",d.shapeBackgroundColor)});this.addAction("borderColor...",function(){f.menus.pickColor(mxConstants.STYLE_LABEL_BORDERCOLOR,null,null,"default",d.shapeForegroundColor)});this.addAction("removeFormat",function(){if(d.isEnabled()&&!d.isSelectionEmpty()&&!d.isEditing()){d.getModel().beginUpdate();try{for(var k=d.getSelectionCells(),p=0;p<k.length;p++)d.removeTextStyleForCell(k[p],!0)}finally{d.getModel().endUpdate()}}});this.addAction("vertical",function(){f.menus.toggleStyle(mxConstants.STYLE_HORIZONTAL,
+!0)});this.addAction("shadow",function(){f.menus.toggleStyle(mxConstants.STYLE_SHADOW)});this.addAction("solid",function(){d.getModel().beginUpdate();try{d.setCellStyles(mxConstants.STYLE_DASHED,null),d.setCellStyles(mxConstants.STYLE_DASH_PATTERN,null),f.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],"values",[null,null],"cells",d.getSelectionCells()))}finally{d.getModel().endUpdate()}});this.addAction("dashed",function(){d.getModel().beginUpdate();
+try{d.setCellStyles(mxConstants.STYLE_DASHED,"1"),d.setCellStyles(mxConstants.STYLE_DASH_PATTERN,null),f.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],"values",["1",null],"cells",d.getSelectionCells()))}finally{d.getModel().endUpdate()}});this.addAction("dotted",function(){d.getModel().beginUpdate();try{d.setCellStyles(mxConstants.STYLE_DASHED,"1"),d.setCellStyles(mxConstants.STYLE_DASH_PATTERN,"1 4"),f.fireEvent(new mxEventObject("styleChanged",
+"keys",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],"values",["1","1 4"],"cells",d.getSelectionCells()))}finally{d.getModel().endUpdate()}});this.addAction("sharp",function(){d.getModel().beginUpdate();try{d.setCellStyles(mxConstants.STYLE_ROUNDED,"0"),d.setCellStyles(mxConstants.STYLE_CURVED,"0"),f.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ROUNDED,mxConstants.STYLE_CURVED],"values",["0","0"],"cells",d.getSelectionCells()))}finally{d.getModel().endUpdate()}});
+this.addAction("rounded",function(){d.getModel().beginUpdate();try{d.setCellStyles(mxConstants.STYLE_ROUNDED,"1"),d.setCellStyles(mxConstants.STYLE_CURVED,"0"),f.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ROUNDED,mxConstants.STYLE_CURVED],"values",["1","0"],"cells",d.getSelectionCells()))}finally{d.getModel().endUpdate()}});this.addAction("toggleRounded",function(){if(!d.isSelectionEmpty()&&d.isEnabled()){d.getModel().beginUpdate();try{var k=d.getSelectionCells(),p=d.getCurrentCellStyle(k[0]),
+w="1"==mxUtils.getValue(p,mxConstants.STYLE_ROUNDED,"0")?"0":"1";d.setCellStyles(mxConstants.STYLE_ROUNDED,w);d.setCellStyles(mxConstants.STYLE_CURVED,null);f.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ROUNDED,mxConstants.STYLE_CURVED],"values",[w,"0"],"cells",d.getSelectionCells()))}finally{d.getModel().endUpdate()}}});this.addAction("curved",function(){d.getModel().beginUpdate();try{d.setCellStyles(mxConstants.STYLE_ROUNDED,"0"),d.setCellStyles(mxConstants.STYLE_CURVED,
+"1"),f.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ROUNDED,mxConstants.STYLE_CURVED],"values",["0","1"],"cells",d.getSelectionCells()))}finally{d.getModel().endUpdate()}});this.addAction("collapsible",function(){var k=d.view.getState(d.getSelectionCell()),p="1";null!=k&&null!=d.getFoldingImage(k)&&(p="0");d.setCellStyles("collapsible",p);f.fireEvent(new mxEventObject("styleChanged","keys",["collapsible"],"values",[p],"cells",d.getSelectionCells()))});this.addAction("editStyle...",
+mxUtils.bind(this,function(){var k=d.getEditableCells(d.getSelectionCells());if(null!=k&&0<k.length){var p=d.getModel();p=new TextareaDialog(this.editorUi,mxResources.get("editStyle")+":",p.getStyle(k[0])||"",function(w){null!=w&&d.setCellStyle(mxUtils.trim(w),k)},null,null,400,220);this.editorUi.showDialog(p.container,420,300,!0,!0);p.init()}}),null,null,Editor.ctrlKey+"+E");this.addAction("setAsDefaultStyle",function(){d.isEnabled()&&!d.isSelectionEmpty()&&f.setDefaultStyle(d.getSelectionCell())},
+null,null,Editor.ctrlKey+"+Shift+D");this.addAction("clearDefaultStyle",function(){d.isEnabled()&&f.clearDefaultStyle()},null,null,Editor.ctrlKey+"+Shift+R");this.addAction("addWaypoint",function(){var k=d.getSelectionCell();if(null!=k&&d.getModel().isEdge(k)){var p=h.graph.selectionCellsHandler.getHandler(k);if(p instanceof mxEdgeHandler){var w=d.view.translate,z=d.view.scale,C=w.x;w=w.y;k=d.getModel().getParent(k);for(var F=d.getCellGeometry(k);d.getModel().isVertex(k)&&null!=F;)C+=F.x,w+=F.y,k=
+d.getModel().getParent(k),F=d.getCellGeometry(k);C=Math.round(d.snap(d.popupMenuHandler.triggerX/z-C));z=Math.round(d.snap(d.popupMenuHandler.triggerY/z-w));p.addPointAt(p.state,C,z)}}});this.addAction("removeWaypoint",function(){var k=f.actions.get("removeWaypoint");null!=k.handler&&k.handler.removePoint(k.handler.state,k.index)});this.addAction("clearAnchors",function(){var k=d.getSelectionCells();if(null!=k){k=d.getEditableCells(d.addAllEdges(k));d.getModel().beginUpdate();try{for(var p=0;p<k.length;p++){var w=
+k[p];d.getModel().isEdge(w)&&(d.setCellStyles(mxConstants.STYLE_EXIT_X,null,[w]),d.setCellStyles(mxConstants.STYLE_EXIT_Y,null,[w]),d.setCellStyles(mxConstants.STYLE_ENTRY_X,null,[w]),d.setCellStyles(mxConstants.STYLE_ENTRY_Y,null,[w]))}}finally{d.getModel().endUpdate()}}});this.addAction("clearWaypoints",function(){var k=d.getSelectionCells();if(null!=k){k=d.getEditableCells(d.addAllEdges(k));d.getModel().beginUpdate();try{for(var p=0;p<k.length;p++){var w=k[p];if(d.getModel().isEdge(w)){var z=d.getCellGeometry(w);
+null!=z&&(z=z.clone(),z.points=null,z.x=0,z.y=0,z.offset=null,d.getModel().setGeometry(w,z))}}}finally{d.getModel().endUpdate()}}},null,null,"Alt+Shift+R");n=this.addAction("subscript",mxUtils.bind(this,function(){d.cellEditor.isContentEditing()&&document.execCommand("subscript",!1,null)}),null,null,Editor.ctrlKey+"+,");n=this.addAction("superscript",mxUtils.bind(this,function(){d.cellEditor.isContentEditing()&&document.execCommand("superscript",!1,null)}),null,null,Editor.ctrlKey+"+.");n=this.addAction("decreaseFontSize",
+mxUtils.bind(this,function(){if(!d.isSelectionEmpty()){var k=d.getCurrentCellStyle(d.getSelectionCell());k=mxUtils.getValue(k,mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE);d.setCellStyles(mxConstants.STYLE_FONTSIZE,Math.max(1,k-1),d.getSelectionCells())}}),null,null,Editor.ctrlKey+"+Shift + (Numpad)");n=this.addAction("increaseFontSize",mxUtils.bind(this,function(){if(!d.isSelectionEmpty()){var k=d.getCurrentCellStyle(d.getSelectionCell());k=mxUtils.getValue(k,mxConstants.STYLE_FONTSIZE,
+mxConstants.DEFAULT_FONTSIZE);d.setCellStyles(mxConstants.STYLE_FONTSIZE,Math.min(100,k+1),d.getSelectionCells())}}),null,null,Editor.ctrlKey+"+Shift - (Numpad)");this.addAction("image...",function(){if(d.isEnabled()&&!d.isCellLocked(d.getDefaultParent())){var k=mxResources.get("image")+" ("+mxResources.get("url")+"):",p=d.getView().getState(d.getSelectionCell()),w="",z=null;null!=p&&(w=p.style[mxConstants.STYLE_IMAGE]||w,z=p.style[mxConstants.STYLE_CLIP_PATH]||z);var C=d.cellEditor.saveSelection();
+f.showImageDialog(k,w,function(F,D,H,K,G,P){if(d.cellEditor.isContentEditing())d.cellEditor.restoreSelection(C),d.insertImage(F,D,H);else{var I=d.getSelectionCells();if(null!=F&&(0<F.length||0<I.length)){var Z=null;d.getModel().beginUpdate();try{if(0==I.length){I=[d.insertVertex(d.getDefaultParent(),null,"",0,0,D,H,"shape=image;imageAspect=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;")];var S=d.getCenterInsertPoint(d.getBoundingBoxFromGeometry(I,!0));I[0].geometry.x=S.x;I[0].geometry.y=
+S.y;null!=K&&e(I[0],K,G,P,d);Z=I;d.fireEvent(new mxEventObject("cellsInserted","cells",Z))}d.setCellStyles(mxConstants.STYLE_IMAGE,0<F.length?F:null,I);var Y=d.getCurrentCellStyle(I[0]);"image"!=Y[mxConstants.STYLE_SHAPE]&&"label"!=Y[mxConstants.STYLE_SHAPE]?d.setCellStyles(mxConstants.STYLE_SHAPE,"image",I):0==F.length&&d.setCellStyles(mxConstants.STYLE_SHAPE,null,I);null==K&&d.setCellStyles(mxConstants.STYLE_CLIP_PATH,null,I);if(null!=D&&null!=H)for(F=0;F<I.length;F++){var V=I[F];if("0"!=d.getCurrentCellStyle(V).expand){var L=
+d.getModel().getGeometry(V);null!=L&&(L=L.clone(),L.width=D,L.height=H,d.getModel().setGeometry(V,L))}null!=K&&e(V,K,G,P,d)}}finally{d.getModel().endUpdate()}null!=Z&&(d.setSelectionCells(Z),d.scrollCellToVisible(Z[0]))}}},d.cellEditor.isContentEditing(),!d.cellEditor.isContentEditing(),!0,z)}}).isEnabled=g;this.addAction("crop...",function(){var k=d.getSelectionCell();if(d.isEnabled()&&!d.isCellLocked(d.getDefaultParent())&&null!=k){var p=d.getCurrentCellStyle(k),w=p[mxConstants.STYLE_IMAGE],z=p[mxConstants.STYLE_SHAPE];
+w&&"image"==z&&(p=new CropImageDialog(f,w,p[mxConstants.STYLE_CLIP_PATH],function(C,F,D){e(k,C,F,D,d)}),f.showDialog(p.container,300,390,!0,!0))}}).isEnabled=g;n=this.addAction("layers",mxUtils.bind(this,function(){null==this.layersWindow?(this.layersWindow=new LayersWindow(f,document.body.offsetWidth-280,120,212,200),this.layersWindow.window.addListener("show",mxUtils.bind(this,function(){f.fireEvent(new mxEventObject("layers"))})),this.layersWindow.window.addListener("hide",function(){f.fireEvent(new mxEventObject("layers"))}),
+this.layersWindow.window.setVisible(!0),f.fireEvent(new mxEventObject("layers")),this.layersWindow.init()):this.layersWindow.window.setVisible(!this.layersWindow.window.isVisible())}),null,null,Editor.ctrlKey+"+Shift+L");n.setToggleAction(!0);n.setSelectedCallback(mxUtils.bind(this,function(){return null!=this.layersWindow&&this.layersWindow.window.isVisible()}));n=this.addAction("format",mxUtils.bind(this,function(){f.toggleFormatPanel()}),null,null,Editor.ctrlKey+"+Shift+P");n.setToggleAction(!0);
+n.setSelectedCallback(mxUtils.bind(this,function(){return f.isFormatPanelVisible()}));n=this.addAction("outline",mxUtils.bind(this,function(){null==this.outlineWindow?(this.outlineWindow=new OutlineWindow(f,document.body.offsetWidth-260,100,180,180),this.outlineWindow.window.addListener("show",mxUtils.bind(this,function(){f.fireEvent(new mxEventObject("outline"))})),this.outlineWindow.window.addListener("hide",function(){f.fireEvent(new mxEventObject("outline"))}),this.outlineWindow.window.setVisible(!0),
+f.fireEvent(new mxEventObject("outline"))):this.outlineWindow.window.setVisible(!this.outlineWindow.window.isVisible())}),null,null,Editor.ctrlKey+"+Shift+O");n.setToggleAction(!0);n.setSelectedCallback(mxUtils.bind(this,function(){return null!=this.outlineWindow&&this.outlineWindow.window.isVisible()}));this.addAction("editConnectionPoints...",function(){var k=d.getSelectionCell();if(d.isEnabled()&&!d.isCellLocked(d.getDefaultParent())&&null!=k&&null!=k.geometry){var p=new ConnectionPointsDialog(f,
+k);f.showDialog(p.container,350,450,!0,!1,function(){p.destroy()});p.init()}},null,null,"Alt+Shift+Q").isEnabled=g};Actions.prototype.addAction=function(a,b,e,f,h){if("..."==a.substring(a.length-3)){a=a.substring(0,a.length-3);var d=mxResources.get(a)+"..."}else d=mxResources.get(a);return this.put(a,new Action(d,b,e,f,h))};Actions.prototype.put=function(a,b){return this.actions[a]=b};Actions.prototype.get=function(a){return this.actions[a]};
+function Action(a,b,e,f,h){mxEventSource.call(this);this.label=a;this.funct=this.createFunction(b);this.enabled=null!=e?e:!0;this.iconCls=f;this.shortcut=h;this.visible=!0}mxUtils.extend(Action,mxEventSource);Action.prototype.createFunction=function(a){return a};Action.prototype.setEnabled=function(a){this.enabled!=a&&(this.enabled=a,this.fireEvent(new mxEventObject("stateChanged")))};Action.prototype.isEnabled=function(){return this.enabled};
Action.prototype.setToggleAction=function(a){this.toggleAction=a};Action.prototype.setSelectedCallback=function(a){this.selectedCallback=a};Action.prototype.isSelected=function(){return this.selectedCallback()};Menus=function(a){this.editorUi=a;this.menus={};this.init();mxClient.IS_SVG||((new Image).src=this.checkmarkImage)};Menus.prototype.defaultFont="Helvetica";Menus.prototype.defaultFontSize="12";Menus.prototype.defaultMenuItems="file edit view arrange extras help".split(" ");Menus.prototype.defaultFonts="Helvetica;Verdana;Times New Roman;Garamond;Comic Sans MS;Courier New;Georgia;Lucida Console;Tahoma".split(";");Menus.prototype.autoPopup=!0;
-Menus.prototype.init=function(){var a=this.editorUi,b=a.editor.graph,d=mxUtils.bind(b,b.isEnabled);this.customFonts=[];this.customFontSizes=[];this.put("fontFamily",new Menu(mxUtils.bind(this,function(e,g){for(var f=mxUtils.bind(this,function(n){this.styleChange(e,n,[mxConstants.STYLE_FONTFAMILY],[n],null,g,function(){document.execCommand("fontname",!1,n);a.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_FONTFAMILY],"values",[n],"cells",[b.cellEditor.getEditingCell()]))},function(){b.updateLabelElements(b.getSelectionCells(),
-function(q){q.removeAttribute("face");q.style.fontFamily=null;"PRE"==q.nodeName&&b.replaceElement(q,"div")})}).firstChild.nextSibling.style.fontFamily=n}),h=0;h<this.defaultFonts.length;h++)f(this.defaultFonts[h]);e.addSeparator(g);if(0<this.customFonts.length){for(h=0;h<this.customFonts.length;h++)f(this.customFonts[h]);e.addSeparator(g);e.addItem(mxResources.get("reset"),null,mxUtils.bind(this,function(){this.customFonts=[];this.editorUi.fireEvent(new mxEventObject("customFontsChanged"))}),g);e.addSeparator(g)}this.promptChange(e,
-mxResources.get("custom")+"...","",mxConstants.DEFAULT_FONTFAMILY,mxConstants.STYLE_FONTFAMILY,g,!0,mxUtils.bind(this,function(n){0>mxUtils.indexOf(this.customFonts,n)&&(this.customFonts.push(n),this.editorUi.fireEvent(new mxEventObject("customFontsChanged")))}))})));this.put("formatBlock",new Menu(mxUtils.bind(this,function(e,g){function f(h,n){return e.addItem(h,null,mxUtils.bind(this,function(){null!=b.cellEditor.textarea&&(b.cellEditor.textarea.focus(),document.execCommand("formatBlock",!1,"<"+
-n+">"))}),g)}f(mxResources.get("normal"),"p");f("","h1").firstChild.nextSibling.innerHTML='<h1 style="margin:0px;">'+mxResources.get("heading")+" 1</h1>";f("","h2").firstChild.nextSibling.innerHTML='<h2 style="margin:0px;">'+mxResources.get("heading")+" 2</h2>";f("","h3").firstChild.nextSibling.innerHTML='<h3 style="margin:0px;">'+mxResources.get("heading")+" 3</h3>";f("","h4").firstChild.nextSibling.innerHTML='<h4 style="margin:0px;">'+mxResources.get("heading")+" 4</h4>";f("","h5").firstChild.nextSibling.innerHTML=
-'<h5 style="margin:0px;">'+mxResources.get("heading")+" 5</h5>";f("","h6").firstChild.nextSibling.innerHTML='<h6 style="margin:0px;">'+mxResources.get("heading")+" 6</h6>";f("","pre").firstChild.nextSibling.innerHTML='<pre style="margin:0px;">'+mxResources.get("formatted")+"</pre>";f("","blockquote").firstChild.nextSibling.innerHTML='<blockquote style="margin-top:0px;margin-bottom:0px;">'+mxResources.get("blockquote")+"</blockquote>"})));this.put("fontSize",new Menu(mxUtils.bind(this,function(e,g){var f=
-[6,8,9,10,11,12,14,18,24,36,48,72];0>mxUtils.indexOf(f,this.defaultFontSize)&&(f.push(this.defaultFontSize),f.sort(function(w,z){return w-z}));for(var h=mxUtils.bind(this,function(w){if(null!=b.cellEditor.textarea){document.execCommand("fontSize",!1,"3");for(var z=b.cellEditor.textarea.getElementsByTagName("font"),C=0;C<z.length;C++)if("3"==z[C].getAttribute("size")){z[C].removeAttribute("size");z[C].style.fontSize=w+"px";break}a.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_FONTSIZE],
-"values",[w],"cells",[b.cellEditor.getEditingCell()]))}}),n=mxUtils.bind(this,function(w){this.styleChange(e,w,[mxConstants.STYLE_FONTSIZE],[w],null,g,function(){h(w)})}),q=0;q<f.length;q++)n(f[q]);e.addSeparator(g);if(0<this.customFontSizes.length){var l=0;for(q=0;q<this.customFontSizes.length;q++)0>mxUtils.indexOf(f,this.customFontSizes[q])&&(n(this.customFontSizes[q]),l++);0<l&&e.addSeparator(g);e.addItem(mxResources.get("reset"),null,mxUtils.bind(this,function(){this.customFontSizes=[]}),g);e.addSeparator(g)}var p=
-null;this.promptChange(e,mxResources.get("custom")+"...","("+mxResources.get("points")+")",this.defaultFontSize,mxConstants.STYLE_FONTSIZE,g,!0,mxUtils.bind(this,function(w){null!=p&&null!=b.cellEditor.textarea&&(b.cellEditor.textarea.focus(),b.cellEditor.restoreSelection(p));null!=w&&0<w.length&&(this.customFontSizes.push(w),h(w))}),null,function(){p=b.cellEditor.saveSelection();return!1})})));this.put("direction",new Menu(mxUtils.bind(this,function(e,g){e.addItem(mxResources.get("flipH"),null,function(){b.toggleCellStyles(mxConstants.STYLE_FLIPH,
-!1)},g);e.addItem(mxResources.get("flipV"),null,function(){b.toggleCellStyles(mxConstants.STYLE_FLIPV,!1)},g);this.addMenuItems(e,["-","rotation"],g)})));this.put("align",new Menu(mxUtils.bind(this,function(e,g){var f=1<this.editorUi.getSelectionState().vertices.length;e.addItem(mxResources.get("leftAlign"),null,function(){b.alignCells(mxConstants.ALIGN_LEFT)},g,null,f);e.addItem(mxResources.get("center"),null,function(){b.alignCells(mxConstants.ALIGN_CENTER)},g,null,f);e.addItem(mxResources.get("rightAlign"),
-null,function(){b.alignCells(mxConstants.ALIGN_RIGHT)},g,null,f);e.addSeparator(g);e.addItem(mxResources.get("topAlign"),null,function(){b.alignCells(mxConstants.ALIGN_TOP)},g,null,f);e.addItem(mxResources.get("middle"),null,function(){b.alignCells(mxConstants.ALIGN_MIDDLE)},g,null,f);e.addItem(mxResources.get("bottomAlign"),null,function(){b.alignCells(mxConstants.ALIGN_BOTTOM)},g,null,f);this.addMenuItems(e,["-","snapToGrid"],g)})));this.put("distribute",new Menu(mxUtils.bind(this,function(e,g){e.addItem(mxResources.get("horizontal"),
-null,function(){b.distributeCells(!0)},g);e.addItem(mxResources.get("vertical"),null,function(){b.distributeCells(!1)},g);e.addSeparator(g);this.addSubmenu("distributeSpacing",e,g,mxResources.get("spacing"))})));this.put("distributeSpacing",new Menu(mxUtils.bind(this,function(e,g){e.addItem(mxResources.get("horizontal"),null,function(){b.distributeCells(!0,null,!0)},g);e.addItem(mxResources.get("vertical"),null,function(){b.distributeCells(!1,null,!0)},g)})));this.put("line",new Menu(mxUtils.bind(this,
-function(e,g){var f=b.view.getState(b.getSelectionCell());null!=f&&(f=mxUtils.getValue(f.style,mxConstants.STYLE_SHAPE),"arrow"!=f&&(this.edgeStyleChange(e,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],[null,null,null],"geIcon geSprite geSprite-straight",g,!0).setAttribute("title",mxResources.get("straight")),this.edgeStyleChange(e,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["orthogonalEdgeStyle",null,null],"geIcon geSprite geSprite-orthogonal",
-g,!0).setAttribute("title",mxResources.get("orthogonal")),this.edgeStyleChange(e,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["elbowEdgeStyle",null,null,null],"geIcon geSprite geSprite-horizontalelbow",g,!0).setAttribute("title",mxResources.get("simple")),this.edgeStyleChange(e,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["elbowEdgeStyle","vertical",null,null],"geIcon geSprite geSprite-verticalelbow",
-g,!0).setAttribute("title",mxResources.get("simple")),this.edgeStyleChange(e,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["isometricEdgeStyle",null,null,null],"geIcon geSprite geSprite-horizontalisometric",g,!0).setAttribute("title",mxResources.get("isometric")),this.edgeStyleChange(e,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["isometricEdgeStyle","vertical",null,null],"geIcon geSprite geSprite-verticalisometric",
-g,!0).setAttribute("title",mxResources.get("isometric")),"connector"==f&&this.edgeStyleChange(e,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["orthogonalEdgeStyle","1",null],"geIcon geSprite geSprite-curved",g,!0).setAttribute("title",mxResources.get("curved")),this.edgeStyleChange(e,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["entityRelationEdgeStyle",null,null],"geIcon geSprite geSprite-entity",g,!0).setAttribute("title",
-mxResources.get("entityRelation"))),e.addSeparator(g),this.styleChange(e,"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,"width"],[null,null,null,null],"geIcon geSprite geSprite-connection",g,null,null,!0).setAttribute("title",mxResources.get("line")),this.styleChange(e,"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,"width"],["link",null,null,null],"geIcon geSprite geSprite-linkedge",g,null,null,!0).setAttribute("title",mxResources.get("link")),
-this.styleChange(e,"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,"width"],["flexArrow",null,null,null],"geIcon geSprite geSprite-arrow",g,null,null,!0).setAttribute("title",mxResources.get("arrow")),this.styleChange(e,"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,"width"],["arrow",null,null,null],"geIcon geSprite geSprite-simplearrow",g,null,null,!0).setAttribute("title",mxResources.get("simpleArrow")))})));this.put("layout",
-new Menu(mxUtils.bind(this,function(e,g){var f=mxUtils.bind(this,function(n,q){this.editorUi.prompt(mxResources.get("spacing"),n,q)}),h=mxUtils.bind(this,function(n){this.editorUi.tryAndHandle(mxUtils.bind(this,function(){var q=b.getSelectionCell(),l=null;null==q||0==b.getModel().getChildCount(q)?0==b.getModel().getEdgeCount(q)&&(l=b.findTreeRoots(b.getDefaultParent())):l=b.findTreeRoots(q);null!=l&&0<l.length&&(q=l[0]);null!=q&&this.editorUi.executeLayout(function(){n.execute(b.getDefaultParent(),
-q);b.isSelectionEmpty()||(q=b.getModel().getParent(q),b.getModel().isVertex(q)&&b.updateGroupBounds([q],2*b.gridSize,!0))},!0)}))});e.addItem(mxResources.get("horizontalFlow"),null,mxUtils.bind(this,function(){this.editorUi.tryAndHandle(mxUtils.bind(this,function(){var n=new mxHierarchicalLayout(b,mxConstants.DIRECTION_WEST);this.editorUi.executeLayout(function(){var q=b.getSelectionCells();n.execute(b.getDefaultParent(),0==q.length?null:q)},!0)}))}),g);e.addItem(mxResources.get("verticalFlow"),null,
-mxUtils.bind(this,function(){this.editorUi.tryAndHandle(mxUtils.bind(this,function(){var n=new mxHierarchicalLayout(b,mxConstants.DIRECTION_NORTH);this.editorUi.executeLayout(function(){var q=b.getSelectionCells();n.execute(b.getDefaultParent(),0==q.length?null:q)},!0)}))}),g);e.addSeparator(g);e.addItem(mxResources.get("horizontalTree"),null,mxUtils.bind(this,function(){var n=new mxCompactTreeLayout(b,!0);n.edgeRouting=!1;n.levelDistance=30;n.sortEdges=!0;f(n.levelDistance,mxUtils.bind(this,function(q){isNaN(q)||
-(n.levelDistance=q,h(n))}))}),g);e.addItem(mxResources.get("verticalTree"),null,mxUtils.bind(this,function(){var n=new mxCompactTreeLayout(b,!1);n.edgeRouting=!1;n.levelDistance=30;n.sortEdges=!0;f(n.levelDistance,mxUtils.bind(this,function(q){isNaN(q)||(n.levelDistance=q,h(n))}))}),g);e.addItem(mxResources.get("radialTree"),null,mxUtils.bind(this,function(){var n=new mxRadialTreeLayout(b);n.levelDistance=80;n.autoRadius=!0;f(n.levelDistance,mxUtils.bind(this,function(q){isNaN(q)||(n.levelDistance=
-q,h(n))}))}),g);e.addSeparator(g);e.addItem(mxResources.get("organic"),null,mxUtils.bind(this,function(){var n=new mxFastOrganicLayout(b);f(n.forceConstant,mxUtils.bind(this,function(q){this.editorUi.tryAndHandle(mxUtils.bind(this,function(){n.forceConstant=q;this.editorUi.executeLayout(function(){var l=b.getSelectionCell();if(null==l||0==b.getModel().getChildCount(l))l=b.getDefaultParent();n.execute(l);b.getModel().isVertex(l)&&b.updateGroupBounds([l],2*b.gridSize,!0)},!0)}))}))}),g);e.addItem(mxResources.get("circle"),
-null,mxUtils.bind(this,function(){this.editorUi.tryAndHandle(mxUtils.bind(this,function(){var n=new mxCircleLayout(b);this.editorUi.executeLayout(function(){var q=b.getSelectionCell();if(null==q||0==b.getModel().getChildCount(q))q=b.getDefaultParent();n.execute(q);b.getModel().isVertex(q)&&b.updateGroupBounds([q],2*b.gridSize,!0)},!0)}))}),g)})));this.put("navigation",new Menu(mxUtils.bind(this,function(e,g){this.addMenuItems(e,"home - exitGroup enterGroup - expand collapse - collapsible".split(" "),
-g)})));this.put("arrange",new Menu(mxUtils.bind(this,function(e,g){this.addMenuItems(e,["toFront","toBack","bringForward","sendBackward","-"],g);this.addSubmenu("direction",e,g);this.addMenuItems(e,["turn","-"],g);this.addSubmenu("align",e,g);this.addSubmenu("distribute",e,g);e.addSeparator(g);this.addSubmenu("navigation",e,g);this.addSubmenu("insert",e,g);this.addSubmenu("layout",e,g);this.addMenuItems(e,"- group ungroup removeFromGroup - clearWaypoints autosize".split(" "),g)}))).isEnabled=d;this.put("insert",
-new Menu(mxUtils.bind(this,function(e,g){this.addMenuItems(e,["insertLink","insertImage"],g)})));this.put("view",new Menu(mxUtils.bind(this,function(e,g){this.addMenuItems(e,(null!=this.editorUi.format?["format"]:[]).concat("outline layers - pageView pageScale - tooltips grid guides - connectionArrows connectionPoints - resetView zoomIn zoomOut".split(" "),g))})));this.put("viewPanels",new Menu(mxUtils.bind(this,function(e,g){null!=this.editorUi.format&&this.addMenuItems(e,["format"],g);this.addMenuItems(e,
-["outline","layers"],g)})));this.put("viewZoom",new Menu(mxUtils.bind(this,function(e,g){this.addMenuItems(e,["smartFit","-"],g);for(var f=[.25,.5,.75,1,1.25,1.5,2,3,4],h=0;h<f.length;h++)(function(n){e.addItem(100*n+"%",null,function(){b.zoomTo(n)},g)})(f[h]);this.addMenuItems(e,"- fitWindow fitPageWidth fitPage fitTwoPages - customZoom".split(" "),g)})));this.put("file",new Menu(mxUtils.bind(this,function(e,g){this.addMenuItems(e,"new open - save saveAs - import export - pageSetup print".split(" "),
-g)})));this.put("edit",new Menu(mxUtils.bind(this,function(e,g){this.addMenuItems(e,"undo redo - cut copy paste delete - duplicate - editData editTooltip - editStyle - edit - editLink openLink - selectVertices selectEdges selectAll selectNone - lockUnlock".split(" "))})));this.put("extras",new Menu(mxUtils.bind(this,function(e,g){this.addMenuItems(e,["copyConnect","collapseExpand","-","editDiagram"])})));this.put("help",new Menu(mxUtils.bind(this,function(e,g){this.addMenuItems(e,["help","-","about"])})))};
-Menus.prototype.put=function(a,b){return this.menus[a]=b};Menus.prototype.get=function(a){return this.menus[a]};Menus.prototype.addSubmenu=function(a,b,d,e){var g=this.get(a),f=null;null!=g&&(g=g.isEnabled(),b.showDisabled||g)&&(f=b.addItem(e||mxResources.get(a),null,null,d,null,g),this.addMenu(a,b,f));return f};Menus.prototype.addMenu=function(a,b,d){a=this.get(a);null!=a&&(b.showDisabled||a.isEnabled())&&a.execute(b,d)};
-Menus.prototype.addInsertTableCellItem=function(a,b){var d=this.editorUi.editor.graph,e=d.getSelectionCell(),g=d.getCurrentCellStyle(e);1<d.getSelectionCount()&&(d.isTableCell(e)&&(e=d.model.getParent(e)),d.isTableRow(e)&&(e=d.model.getParent(e)));var f=d.isTable(e)||d.isTableRow(e)||d.isTableCell(e),h=d.isStack(e)||d.isStackChild(e),n=f,q=f;h&&(g=d.isStack(e)?g:d.getCellStyle(d.model.getParent(e)),q="0"==g.horizontalStack,n=!q);null!=b||!f&&!h?this.addInsertTableItem(a,mxUtils.bind(this,function(l,
-p,w,z,C){p=C||mxEvent.isControlDown(l)||mxEvent.isMetaDown(l)?d.createCrossFunctionalSwimlane(p,w,null,null,z||mxEvent.isShiftDown(l)?"Cross-Functional Flowchart":null):d.createTable(p,w,null,null,z||mxEvent.isShiftDown(l)?"Table":null);l=mxEvent.isAltDown(l)?d.getFreeInsertPoint():d.getCenterInsertPoint(d.getBoundingBoxFromGeometry([p],!0));w=null;d.getModel().beginUpdate();try{w=d.importCells([p],l.x,l.y),d.fireEvent(new mxEventObject("cellsInserted","cells",d.model.getDescendants(w[0])))}finally{d.getModel().endUpdate()}null!=
-w&&0<w.length&&(d.scrollCellToVisible(w[0]),d.setSelectionCells(w))}),b):(n&&(b=a.addItem(mxResources.get("insertColumnBefore"),null,mxUtils.bind(this,function(){try{h?d.insertLane(e,!0):d.insertTableColumn(e,!0)}catch(l){this.editorUi.handleError(l)}}),null,"geIcon geSprite geSprite-insertcolumnbefore"),b.setAttribute("title",mxResources.get("insertColumnBefore")),b=a.addItem(mxResources.get("insertColumnAfter"),null,mxUtils.bind(this,function(){try{h?d.insertLane(e,!1):d.insertTableColumn(e,!1)}catch(l){this.editorUi.handleError(l)}}),
-null,"geIcon geSprite geSprite-insertcolumnafter"),b.setAttribute("title",mxResources.get("insertColumnAfter")),b=a.addItem(mxResources.get("deleteColumn"),null,mxUtils.bind(this,function(){if(null!=e)try{h?d.deleteLane(e):d.deleteTableColumn(e)}catch(l){this.editorUi.handleError(l)}}),null,"geIcon geSprite geSprite-deletecolumn"),b.setAttribute("title",mxResources.get("deleteColumn"))),q&&(b=a.addItem(mxResources.get("insertRowBefore"),null,mxUtils.bind(this,function(){try{h?d.insertLane(e,!0):d.insertTableRow(e,
-!0)}catch(l){this.editorUi.handleError(l)}}),null,"geIcon geSprite geSprite-insertrowbefore"),b.setAttribute("title",mxResources.get("insertRowBefore")),b=a.addItem(mxResources.get("insertRowAfter"),null,mxUtils.bind(this,function(){try{h?d.insertLane(e,!1):d.insertTableRow(e,!1)}catch(l){this.editorUi.handleError(l)}}),null,"geIcon geSprite geSprite-insertrowafter"),b.setAttribute("title",mxResources.get("insertRowAfter")),b=a.addItem(mxResources.get("deleteRow"),null,mxUtils.bind(this,function(){try{h?
-d.deleteLane(e):d.deleteTableRow(e)}catch(l){this.editorUi.handleError(l)}}),null,"geIcon geSprite geSprite-deleterow"),b.setAttribute("title",mxResources.get("deleteRow")),q=this.editorUi.getSelectionState(),null!=q.mergeCell?this.addMenuItem(a,"mergeCells"):(1<q.style.colspan||1<q.style.rowspan)&&this.addMenuItem(a,"unmergeCells")))};
-Menus.prototype.addInsertTableItem=function(a,b,d,e){function g(C){n=f.getParentByName(mxEvent.getSource(C),"TD");var F=!1;if(null!=n){h=f.getParentByName(n,"TR");var D=mxEvent.isMouseEvent(C)?2:4,G=w,K=Math.min(20,h.sectionRowIndex+D);D=Math.min(20,n.cellIndex+D);for(var I=G.rows.length;I<K;I++)for(var O=G.insertRow(I),H=0;H<G.rows[0].cells.length;H++)O.insertCell(-1);for(I=0;I<G.rows.length;I++)for(O=G.rows[I],H=O.cells.length;H<D;H++)O.insertCell(-1);z.innerHTML=n.cellIndex+1+"x"+(h.sectionRowIndex+
-1);for(G=0;G<w.rows.length;G++)for(K=w.rows[G],D=0;D<K.cells.length;D++)I=K.cells[D],G==h.sectionRowIndex&&D==n.cellIndex&&(F="blue"==I.style.backgroundColor),I.style.backgroundColor=G<=h.sectionRowIndex&&D<=n.cellIndex?"blue":"transparent"}mxEvent.consume(C);return F}e=null!=e?e:!0;b=null!=b?b:mxUtils.bind(this,function(C,F,D){var G=this.editorUi.editor.graph;if(null!=G.getParentByName(mxEvent.getSource(C),"TD")&&null!=G.cellEditor.textarea){var K=G.cellEditor.textarea.getElementsByTagName("table");
-C=[];for(var I=0;I<K.length;I++)C.push(K[I]);G.container.focus();I=G.pasteHtmlAtCaret;K=["<table>"];for(var O=0;O<F;O++){K.push("<tr>");for(var H=0;H<D;H++)K.push("<td><br></td>");K.push("</tr>")}K.push("</table>");F=K.join("");I.call(G,F);F=G.cellEditor.textarea.getElementsByTagName("table");if(F.length==C.length+1)for(I=F.length-1;0<=I;I--)if(0==I||F[I]!=C[I-1]){G.selectNode(F[I].rows[0].cells[0]);break}}});var f=this.editorUi.editor.graph,h=null,n=null;null==d&&(a.div.className+=" geToolbarMenu",
-a.labels=!1);a=a.addItem("",null,null,d,null,null,null,!0);a.firstChild.style.fontSize=Menus.prototype.defaultFontSize+"px";d=a.getElementsByTagName("td");1<d.length&&(d[1].style.display="none",d[2].style.display="none");a.firstChild.innerText="";var q=document.createElement("input");q.setAttribute("id","geTitleOption");q.setAttribute("type","checkbox");q.style.verticalAlign="middle";d=document.createElement("label");mxUtils.write(d,mxResources.get("title"));d.setAttribute("for","geTitleOption");
-d.style.verticalAlign="middle";mxEvent.addGestureListeners(d,null,null,mxUtils.bind(this,function(C){mxEvent.consume(C)}));mxEvent.addGestureListeners(q,null,null,mxUtils.bind(this,function(C){mxEvent.consume(C)}));var l=document.createElement("input");l.setAttribute("id","geContainerOption");l.setAttribute("type","checkbox");l.style.verticalAlign="middle";var p=document.createElement("label");mxUtils.write(p,mxResources.get("container"));p.setAttribute("for","geContainerOption");p.style.verticalAlign=
-"middle";mxEvent.addGestureListeners(p,null,null,mxUtils.bind(this,function(C){mxEvent.consume(C)}));mxEvent.addGestureListeners(l,null,null,mxUtils.bind(this,function(C){mxEvent.consume(C)}));e&&(a.firstChild.appendChild(q),a.firstChild.appendChild(d),mxUtils.br(a.firstChild),a.firstChild.appendChild(l),a.firstChild.appendChild(p),mxUtils.br(a.firstChild));var w=function(C,F){var D=document.createElement("table");D.className="geInsertTablePicker";D.setAttribute("border","1");D.style.borderCollapse=
-"collapse";D.style.borderStyle="solid";D.style.marginBottom="4px";D.style.marginTop="8px";D.setAttribute("cellPadding","8");for(var G=0;G<C;G++)for(var K=D.insertRow(G),I=0;I<F;I++)K.insertCell(-1);return D}(5,5);a.firstChild.appendChild(w);var z=document.createElement("div");z.style.textAlign="center";z.style.padding="4px";z.style.width="100%";z.innerHTML="1x1";a.firstChild.appendChild(z);mxEvent.addGestureListeners(w,null,null,mxUtils.bind(this,function(C){var F=g(C);null!=n&&null!=h&&F&&(b(C,h.sectionRowIndex+
-1,n.cellIndex+1,q.checked,l.checked),window.setTimeout(mxUtils.bind(this,function(){this.editorUi.hideCurrentMenu()}),0))}));mxEvent.addListener(w,"mouseover",g)};
-Menus.prototype.edgeStyleChange=function(a,b,d,e,g,f,h,n){return this.showIconOnly(a.addItem(b,n,mxUtils.bind(this,function(){var q=this.editorUi.editor.graph;q.stopEditing(!1);q.getModel().beginUpdate();try{for(var l=q.getSelectionCells(),p=[],w=0;w<l.length;w++){var z=l[w];if(q.getModel().isEdge(z)){if(h){var C=q.getCellGeometry(z);null!=C&&(C=C.clone(),C.points=null,q.getModel().setGeometry(z,C))}for(var F=0;F<d.length;F++)q.setCellStyles(d[F],e[F],[z]);p.push(z)}}this.editorUi.fireEvent(new mxEventObject("styleChanged",
-"cells",p,"keys",d,"values",e,"force",0==l.length))}finally{q.getModel().endUpdate()}}),f,g))};Menus.prototype.showIconOnly=function(a){var b=a.getElementsByTagName("td");for(i=0;i<b.length;i++)"mxPopupMenuItem"==b[i].getAttribute("class")&&(b[i].style.display="none");return a};
-Menus.prototype.styleChange=function(a,b,d,e,g,f,h,n,q){var l=this.createStyleChangeFunction(d,e);a=a.addItem(b,null,mxUtils.bind(this,function(){var p=this.editorUi.editor.graph;null!=h&&p.cellEditor.isContentEditing()?h():l(n)}),f,g);q&&this.showIconOnly(a);return a};
-Menus.prototype.createStyleChangeFunction=function(a,b){return mxUtils.bind(this,function(d){var e=this.editorUi.editor.graph;e.stopEditing(!1);e.getModel().beginUpdate();try{for(var g=e.getEditableCells(e.getSelectionCells()),f=!1,h=0;h<a.length;h++)if(e.setCellStyles(a[h],b[h],g),a[h]==mxConstants.STYLE_ALIGN&&e.updateLabelElements(g,function(n){n.removeAttribute("align");n.style.textAlign=null}),a[h]==mxConstants.STYLE_FONTFAMILY||"fontSource"==a[h])f=!0;if(f)for(f=0;f<g.length;f++)0==e.model.getChildCount(g[f])&&
-e.autoSizeCell(g[f],!1);null!=d&&d();this.editorUi.fireEvent(new mxEventObject("styleChanged","keys",a,"values",b,"cells",g))}finally{e.getModel().endUpdate()}})};
-Menus.prototype.promptChange=function(a,b,d,e,g,f,h,n,q,l){return a.addItem(b,null,mxUtils.bind(this,function(){var p=this.editorUi.editor.graph,w=e,z=p.getView().getState(p.getSelectionCell());null!=z&&(w=z.style[g]||w);var C=null!=l?l():!0;w=new FilenameDialog(this.editorUi,w,mxResources.get("apply"),mxUtils.bind(this,function(F){if(null!=F&&0<F.length){if(C){p.getModel().beginUpdate();try{p.stopEditing(!1),p.setCellStyles(g,F)}finally{p.getModel().endUpdate()}}null!=n&&n(F)}}),mxResources.get("enterValue")+
-(0<d.length?" "+d:""),null,null,null,null,function(){null!=n&&null!=l&&n(null)});this.editorUi.showDialog(w.container,300,80,!0,!0);w.init()}),f,q,h)};
-Menus.prototype.pickColor=function(a,b,d,e,g){var f=this.editorUi;f.tryAndHandle(mxUtils.bind(this,function(){var h=f.editor.graph,n=226+17*(Math.ceil(ColorDialog.prototype.presetColors.length/12)+Math.ceil(ColorDialog.prototype.defaultColors.length/12));if(null!=b&&h.cellEditor.isContentEditing()){var q=h.cellEditor.saveSelection(),l=new ColorDialog(this.editorUi,d||h.shapeForegroundColor,mxUtils.bind(this,function(w){h.cellEditor.restoreSelection(q);document.execCommand(b,!1,w!=mxConstants.NONE?
-w:"transparent");var z={forecolor:mxConstants.STYLE_FONTCOLOR,backcolor:mxConstants.STYLE_LABEL_BACKGROUNDCOLOR}[b];null!=z&&f.fireEvent(new mxEventObject("styleChanged","keys",[z],"values",[w],"cells",[h.cellEditor.getEditingCell()]))}),function(){h.cellEditor.restoreSelection(q)});this.editorUi.showDialog(l.container,230,n,!0,!0);l.init()}else{l=h.getView().getState(h.getSelectionCell());var p=mxConstants.NONE;null!=l&&(p=l.style[a]||p);null!=e?(p=/(^#?[a-zA-Z0-9]*$)/.test(p)?p:e,this.editorUi.pickColor(p,
-ColorDialog.createApplyFunction(this.editorUi,a),e,g)):(null==this.colorDialog&&(this.colorDialog=new ColorDialog(this.editorUi)),this.colorDialog.currentColorKey=a,p==mxConstants.NONE?(p=h.shapeBackgroundColor.substring(1),this.colorDialog.picker.fromString(p),this.colorDialog.colorInput.value=mxConstants.NONE):this.colorDialog.picker.fromString(mxUtils.rgba2hex(p)),this.editorUi.showDialog(this.colorDialog.container,230,n,!0,!0),this.colorDialog.init())}}))};
-Menus.prototype.toggleStyle=function(a,b){var d=this.editorUi.editor.graph;b=d.toggleCellStyles(a,b);this.editorUi.fireEvent(new mxEventObject("styleChanged","keys",[a],"values",[b],"cells",d.getSelectionCells()))};
-Menus.prototype.addMenuItem=function(a,b,d,e,g,f){var h=this.editorUi.actions.get(b);return null!=h&&(a.showDisabled||h.isEnabled())&&h.visible?(b=a.addItem(f||h.label,null,mxUtils.bind(this,function(n){try{h.funct(e,n)}catch(q){this.editorUi.handleError(q)}}),d,g,h.isEnabled()),h.toggleAction&&h.isSelected()&&a.addCheckmark(b,Editor.checkmarkImage),this.addShortcut(b,h,a.hideShortcuts),b):null};
-Menus.prototype.addShortcut=function(a,b,d){null!=b.shortcut&&(d?a.setAttribute("title",b.shortcut):(a=a.firstChild.nextSibling.nextSibling,d=document.createElement("span"),d.style.color="gray",mxUtils.write(d,b.shortcut),a.appendChild(d)))};Menus.prototype.addMenuItems=function(a,b,d,e,g){for(var f=0;f<b.length;f++)"-"==b[f]?a.addSeparator(d):this.addMenuItem(a,b[f],d,e,null!=g?g[f]:null)};
-Menus.prototype.createPopupMenu=function(a,b,d){a.smartSeparators=!0;a.hideShortcuts=!0;this.addPopupMenuItems(a,b,d)};Menus.prototype.addPopupMenuItems=function(a,b,d){this.isShowHistoryItems()&&this.addPopupMenuHistoryItems(a,b,d);this.addPopupMenuEditItems(a,b,d);this.isShowStyleItems()&&this.addPopupMenuStyleItems(a,b,d);this.isShowArrangeItems()&&this.addPopupMenuArrangeItems(a,b,d);this.addPopupMenuCellItems(a,b,d);this.addPopupMenuSelectionItems(a,b,d)};Menus.prototype.isShowHistoryItems=function(){return!0};
-Menus.prototype.addPopupMenuHistoryItems=function(a,b,d){this.editorUi.editor.graph.isSelectionEmpty()&&this.addMenuItems(a,["undo","redo"],null,d)};Menus.prototype.addPopupDeleteItem=function(a,b,d){a=this.addMenuItem(a,"delete");null!=a&&null!=a.firstChild&&null!=a.firstChild.nextSibling&&(a.firstChild.nextSibling.style.color="red",b=this.editorUi.editor.graph,1<b.getSelectionCount()&&(a.firstChild.nextSibling.innerHTML=mxUtils.htmlEntities(mxResources.get("delete")+" ("+b.getSelectionCount()+")")))};
-Menus.prototype.addPopupMenuEditItems=function(a,b,d){this.editorUi.editor.graph.isSelectionEmpty()?this.addMenuItems(a,["pasteHere"],null,d):this.addMenuItems(a,"cut copy duplicate - delete lockUnlock".split(" "),null,d)};Menus.prototype.isShowStyleItems=function(){return!0};
-Menus.prototype.addPopupMenuStyleItems=function(a,b,d){1==this.editorUi.editor.graph.getSelectionCount()?this.addMenuItems(a,["-","setAsDefaultStyle"],null,d):this.editorUi.editor.graph.isSelectionEmpty()&&this.addMenuItems(a,["-","clearDefaultStyle"],null,d)};Menus.prototype.isShowArrangeItems=function(){return!0};
-Menus.prototype.addPopupMenuArrangeItems=function(a,b,d){var e=this.editorUi.editor.graph;(1<e.getSelectionCount()||0<e.getSelectionCount()&&!e.getModel().isEdge(b)&&!e.isSwimlane(b)&&0<e.getModel().getChildCount(b)&&e.isCellEditable(b))&&this.addMenuItems(a,["group","ungroup"],null,d);b=e.getEditableCells(e.getSelectionCells()).length;1<b&&(a.addSeparator(),this.addSubmenu("align",a),this.addSubmenu("distribute",a));1<=b&&(this.addMenuItems(a,["-","toFront","toBack"],null,d),this.isShowCellEditItems()&&
-1==e.getSelectionCount()&&this.addMenuItems(a,["bringForward","sendBackward"],null,d))};
-Menus.prototype.addPopupMenuCellItems=function(a,b,d){var e=this.editorUi.editor.graph,g=e.view.getState(b);if(null!=g){var f=e.getModel().getGeometry(b);f=null!=f&&null!=f.points&&0<f.points.length;this.isShowStyleItems()&&1==e.getSelectionCount()&&e.getModel().isEdge(b)&&(a.addSeparator(),this.addSubmenu("line",a));if(e.getModel().isEdge(b)&&"entityRelationEdgeStyle"!=mxUtils.getValue(g.style,mxConstants.STYLE_EDGE,null)&&"arrow"!=mxUtils.getValue(g.style,mxConstants.STYLE_SHAPE,null)){g=e.selectionCellsHandler.getHandler(b);
-var h=!1;if(f&&g instanceof mxEdgeHandler&&null!=g.bends&&2<g.bends.length){var n=g.getHandleForEvent(e.updateMouseEvent(new mxMouseEvent(d)));0<n&&n<g.bends.length-1&&(null==g.bends[n]||null==g.bends[n].node||""==g.bends[n].node.style.opacity)&&(h=this.editorUi.actions.get("removeWaypoint"),h.handler=g,h.index=n,h=!0)}this.isShowCellEditItems()&&this.addMenuItem(a,"turn",null,d,null,mxResources.get("reverse"));this.addMenuItems(a,[h?"removeWaypoint":"addWaypoint"],null,d)}1==e.getSelectionCount()&&
-this.isShowCellEditItems()&&(f||e.getModel().isVertex(b)&&0<e.getModel().getEdgeCount(b))&&this.addMenuItems(a,["clearWaypoints"],null,d);this.isShowCellEditItems()&&1==e.getSelectionCount()&&e.isCellEditable(b)&&this.addPopupMenuCellEditItems(a,b,d)}};Menus.prototype.isShowCellEditItems=function(){return!0};
-Menus.prototype.addPopupMenuCellEditItems=function(a,b,d,e){var g=this.editorUi.editor.graph,f=g.view.getState(b);this.addMenuItems(a,["-","editStyle","editData","editLink"],e,d);g.getModel().isVertex(b)&&null!=mxUtils.getValue(f.style,mxConstants.STYLE_IMAGE,null)&&(a.addSeparator(),this.addMenuItem(a,"image",e,d).firstChild.nextSibling.innerHTML=mxResources.get("editImage")+"...",this.addMenuItem(a,"crop",e,d));g.getModel().isVertex(b)&&g.isCellConnectable(b)&&this.addMenuItem(a,"editConnectionPoints",
-e,d)};Menus.prototype.addPopupMenuSelectionItems=function(a,b,d){this.editorUi.editor.graph.isSelectionEmpty()&&this.addMenuItems(a,["-","selectAll","selectVertices","selectEdges"],null,d)};Menus.prototype.createMenubar=function(a){for(var b=new Menubar(this.editorUi,a),d=this.defaultMenuItems,e=0;e<d.length;e++)mxUtils.bind(this,function(g){var f=b.addMenu(mxResources.get(d[e]),mxUtils.bind(this,function(){g.funct.apply(this,arguments)}));this.menuCreated(g,f)})(this.get(d[e]));return b};
-Menus.prototype.menuCreated=function(a,b,d){null!=b&&(d=null!=d?d:"geItem",b.className=d,a.addListener("stateChanged",function(){(b.enabled=a.enabled)?(b.className=d,8==document.documentMode&&(b.style.color="")):(b.className=d+" mxDisabled",8==document.documentMode&&(b.style.color="#c3c3c3"))}))};function Menubar(a,b){this.editorUi=a;this.container=b}Menubar.prototype.hideMenu=function(){this.editorUi.hideCurrentMenu()};
-Menubar.prototype.addMenu=function(a,b,d,e){var g=document.createElement("a");g.className="geItem";mxUtils.write(g,a);this.addMenuHandler(g,b,e);null!=d?this.container.insertBefore(g,d):this.container.appendChild(g);return g};
-Menubar.prototype.addMenuHandler=function(a,b,d){if(null!=b){var e=!0,g=mxUtils.bind(this,function(f){null!=d&&d(f);if(!mxEvent.isConsumed(f)&&e&&(null==a.enabled||a.enabled)){this.editorUi.editor.graph.popupMenuHandler.hideMenu();var h=new mxPopupMenu(b);h.div.className+=" geMenubarMenu";h.smartSeparators=!0;h.showDisabled=!0;h.autoExpand=!0;h.hideMenu=mxUtils.bind(this,function(){mxPopupMenu.prototype.hideMenu.apply(h,arguments);this.editorUi.resetCurrentMenu();h.destroy()});var n=mxUtils.getOffset(a);
-h.popup(n.x,n.y+a.offsetHeight,null,f);this.editorUi.setCurrentMenu(h,a)}mxEvent.consume(f)});mxEvent.addListener(a,"mousemove",mxUtils.bind(this,function(f){this.editorUi.menus.autoPopup&&null!=this.editorUi.currentMenu&&this.editorUi.currentMenuElt!=a&&(this.editorUi.hideCurrentMenu(),g(f))}));mxEvent.addListener(a,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(f){!this.editorUi.menus.autoPopup&&null!=this.editorUi.currentMenu&&this.editorUi.currentMenuElt!=a&&mxEvent.isMouseEvent(f)&&
-this.editorUi.hideCurrentMenu();e=null==this.editorUi.currentMenu;f.preventDefault()}));mxEvent.addListener(a,"click",mxUtils.bind(this,function(f){g(f);e=!0}))}};Menubar.prototype.destroy=function(){};function Menu(a,b){mxEventSource.call(this);this.funct=a;this.enabled=null!=b?b:!0}mxUtils.extend(Menu,mxEventSource);Menu.prototype.isEnabled=function(){return this.enabled};Menu.prototype.setEnabled=function(a){this.enabled!=a&&(this.enabled=a,this.fireEvent(new mxEventObject("stateChanged")))};
-Menu.prototype.execute=function(a,b){this.funct(a,b)};EditorUi.prototype.createMenus=function(){return new Menus(this)};function Toolbar(a,b){this.editorUi=a;this.container=b;this.staticElements=[];this.init();this.gestureHandler=mxUtils.bind(this,function(d){null!=this.editorUi.currentMenu&&mxEvent.getSource(d)!=this.editorUi.currentMenu.div&&this.hideMenu()});mxEvent.addGestureListeners(document,this.gestureHandler)}
+Menus.prototype.init=function(){var a=this.editorUi,b=a.editor.graph,e=mxUtils.bind(b,b.isEnabled);this.customFonts=[];this.customFontSizes=[];this.put("fontFamily",new Menu(mxUtils.bind(this,function(f,h){for(var d=mxUtils.bind(this,function(n){this.styleChange(f,n,[mxConstants.STYLE_FONTFAMILY],[n],null,h,function(){document.execCommand("fontname",!1,n);a.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_FONTFAMILY],"values",[n],"cells",[b.cellEditor.getEditingCell()]))},function(){b.updateLabelElements(b.getSelectionCells(),
+function(q){q.removeAttribute("face");q.style.fontFamily=null;"PRE"==q.nodeName&&b.replaceElement(q,"div")})}).firstChild.nextSibling.style.fontFamily=n}),g=0;g<this.defaultFonts.length;g++)d(this.defaultFonts[g]);f.addSeparator(h);if(0<this.customFonts.length){for(g=0;g<this.customFonts.length;g++)d(this.customFonts[g]);f.addSeparator(h);f.addItem(mxResources.get("reset"),null,mxUtils.bind(this,function(){this.customFonts=[];this.editorUi.fireEvent(new mxEventObject("customFontsChanged"))}),h);f.addSeparator(h)}this.promptChange(f,
+mxResources.get("custom")+"...","",mxConstants.DEFAULT_FONTFAMILY,mxConstants.STYLE_FONTFAMILY,h,!0,mxUtils.bind(this,function(n){0>mxUtils.indexOf(this.customFonts,n)&&(this.customFonts.push(n),this.editorUi.fireEvent(new mxEventObject("customFontsChanged")))}))})));this.put("formatBlock",new Menu(mxUtils.bind(this,function(f,h){function d(g,n){return f.addItem(g,null,mxUtils.bind(this,function(){null!=b.cellEditor.textarea&&(b.cellEditor.textarea.focus(),document.execCommand("formatBlock",!1,"<"+
+n+">"))}),h)}d(mxResources.get("normal"),"p");d("","h1").firstChild.nextSibling.innerHTML='<h1 style="margin:0px;">'+mxResources.get("heading")+" 1</h1>";d("","h2").firstChild.nextSibling.innerHTML='<h2 style="margin:0px;">'+mxResources.get("heading")+" 2</h2>";d("","h3").firstChild.nextSibling.innerHTML='<h3 style="margin:0px;">'+mxResources.get("heading")+" 3</h3>";d("","h4").firstChild.nextSibling.innerHTML='<h4 style="margin:0px;">'+mxResources.get("heading")+" 4</h4>";d("","h5").firstChild.nextSibling.innerHTML=
+'<h5 style="margin:0px;">'+mxResources.get("heading")+" 5</h5>";d("","h6").firstChild.nextSibling.innerHTML='<h6 style="margin:0px;">'+mxResources.get("heading")+" 6</h6>";d("","pre").firstChild.nextSibling.innerHTML='<pre style="margin:0px;">'+mxResources.get("formatted")+"</pre>";d("","blockquote").firstChild.nextSibling.innerHTML='<blockquote style="margin-top:0px;margin-bottom:0px;">'+mxResources.get("blockquote")+"</blockquote>"})));this.put("fontSize",new Menu(mxUtils.bind(this,function(f,h){var d=
+[6,8,9,10,11,12,14,18,24,36,48,72];0>mxUtils.indexOf(d,this.defaultFontSize)&&(d.push(this.defaultFontSize),d.sort(function(w,z){return w-z}));for(var g=mxUtils.bind(this,function(w){if(null!=b.cellEditor.textarea){document.execCommand("fontSize",!1,"3");for(var z=b.cellEditor.textarea.getElementsByTagName("font"),C=0;C<z.length;C++)if("3"==z[C].getAttribute("size")){z[C].removeAttribute("size");z[C].style.fontSize=w+"px";break}a.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_FONTSIZE],
+"values",[w],"cells",[b.cellEditor.getEditingCell()]))}}),n=mxUtils.bind(this,function(w){this.styleChange(f,w,[mxConstants.STYLE_FONTSIZE],[w],null,h,function(){g(w)})}),q=0;q<d.length;q++)n(d[q]);f.addSeparator(h);if(0<this.customFontSizes.length){var k=0;for(q=0;q<this.customFontSizes.length;q++)0>mxUtils.indexOf(d,this.customFontSizes[q])&&(n(this.customFontSizes[q]),k++);0<k&&f.addSeparator(h);f.addItem(mxResources.get("reset"),null,mxUtils.bind(this,function(){this.customFontSizes=[]}),h);f.addSeparator(h)}var p=
+null;this.promptChange(f,mxResources.get("custom")+"...","("+mxResources.get("points")+")",this.defaultFontSize,mxConstants.STYLE_FONTSIZE,h,!0,mxUtils.bind(this,function(w){null!=p&&null!=b.cellEditor.textarea&&(b.cellEditor.textarea.focus(),b.cellEditor.restoreSelection(p));null!=w&&0<w.length&&(this.customFontSizes.push(w),g(w))}),null,function(){p=b.cellEditor.saveSelection();return!1})})));this.put("direction",new Menu(mxUtils.bind(this,function(f,h){f.addItem(mxResources.get("flipH"),null,function(){b.toggleCellStyles(mxConstants.STYLE_FLIPH,
+!1)},h);f.addItem(mxResources.get("flipV"),null,function(){b.toggleCellStyles(mxConstants.STYLE_FLIPV,!1)},h);this.addMenuItems(f,["-","rotation"],h)})));this.put("align",new Menu(mxUtils.bind(this,function(f,h){var d=1<this.editorUi.getSelectionState().vertices.length;f.addItem(mxResources.get("leftAlign"),null,function(){b.alignCells(mxConstants.ALIGN_LEFT)},h,null,d);f.addItem(mxResources.get("center"),null,function(){b.alignCells(mxConstants.ALIGN_CENTER)},h,null,d);f.addItem(mxResources.get("rightAlign"),
+null,function(){b.alignCells(mxConstants.ALIGN_RIGHT)},h,null,d);f.addSeparator(h);f.addItem(mxResources.get("topAlign"),null,function(){b.alignCells(mxConstants.ALIGN_TOP)},h,null,d);f.addItem(mxResources.get("middle"),null,function(){b.alignCells(mxConstants.ALIGN_MIDDLE)},h,null,d);f.addItem(mxResources.get("bottomAlign"),null,function(){b.alignCells(mxConstants.ALIGN_BOTTOM)},h,null,d);this.addMenuItems(f,["-","snapToGrid"],h)})));this.put("distribute",new Menu(mxUtils.bind(this,function(f,h){f.addItem(mxResources.get("horizontal"),
+null,function(){b.distributeCells(!0)},h);f.addItem(mxResources.get("vertical"),null,function(){b.distributeCells(!1)},h);f.addSeparator(h);this.addSubmenu("distributeSpacing",f,h,mxResources.get("spacing"))})));this.put("distributeSpacing",new Menu(mxUtils.bind(this,function(f,h){f.addItem(mxResources.get("horizontal"),null,function(){b.distributeCells(!0,null,!0)},h);f.addItem(mxResources.get("vertical"),null,function(){b.distributeCells(!1,null,!0)},h)})));this.put("line",new Menu(mxUtils.bind(this,
+function(f,h){var d=b.view.getState(b.getSelectionCell());null!=d&&(d=mxUtils.getValue(d.style,mxConstants.STYLE_SHAPE),"arrow"!=d&&(this.edgeStyleChange(f,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],[null,null,null],"geIcon geSprite geSprite-straight",h,!0).setAttribute("title",mxResources.get("straight")),this.edgeStyleChange(f,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["orthogonalEdgeStyle",null,null],"geIcon geSprite geSprite-orthogonal",
+h,!0).setAttribute("title",mxResources.get("orthogonal")),this.edgeStyleChange(f,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["elbowEdgeStyle",null,null,null],"geIcon geSprite geSprite-horizontalelbow",h,!0).setAttribute("title",mxResources.get("simple")),this.edgeStyleChange(f,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["elbowEdgeStyle","vertical",null,null],"geIcon geSprite geSprite-verticalelbow",
+h,!0).setAttribute("title",mxResources.get("simple")),this.edgeStyleChange(f,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["isometricEdgeStyle",null,null,null],"geIcon geSprite geSprite-horizontalisometric",h,!0).setAttribute("title",mxResources.get("isometric")),this.edgeStyleChange(f,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["isometricEdgeStyle","vertical",null,null],"geIcon geSprite geSprite-verticalisometric",
+h,!0).setAttribute("title",mxResources.get("isometric")),"connector"==d&&this.edgeStyleChange(f,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["orthogonalEdgeStyle","1",null],"geIcon geSprite geSprite-curved",h,!0).setAttribute("title",mxResources.get("curved")),this.edgeStyleChange(f,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["entityRelationEdgeStyle",null,null],"geIcon geSprite geSprite-entity",h,!0).setAttribute("title",
+mxResources.get("entityRelation"))),f.addSeparator(h),this.styleChange(f,"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,"width"],[null,null,null,null],"geIcon geSprite geSprite-connection",h,null,null,!0).setAttribute("title",mxResources.get("line")),this.styleChange(f,"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,"width"],["link",null,null,null],"geIcon geSprite geSprite-linkedge",h,null,null,!0).setAttribute("title",mxResources.get("link")),
+this.styleChange(f,"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,"width"],["flexArrow",null,null,null],"geIcon geSprite geSprite-arrow",h,null,null,!0).setAttribute("title",mxResources.get("arrow")),this.styleChange(f,"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,"width"],["arrow",null,null,null],"geIcon geSprite geSprite-simplearrow",h,null,null,!0).setAttribute("title",mxResources.get("simpleArrow")))})));this.put("layout",
+new Menu(mxUtils.bind(this,function(f,h){var d=mxUtils.bind(this,function(n,q){this.editorUi.prompt(mxResources.get("spacing"),n,q)}),g=mxUtils.bind(this,function(n){this.editorUi.tryAndHandle(mxUtils.bind(this,function(){var q=b.getSelectionCell(),k=null;null==q||0==b.getModel().getChildCount(q)?0==b.getModel().getEdgeCount(q)&&(k=b.findTreeRoots(b.getDefaultParent())):k=b.findTreeRoots(q);null!=k&&0<k.length&&(q=k[0]);null!=q&&this.editorUi.executeLayout(function(){n.execute(b.getDefaultParent(),
+q);b.isSelectionEmpty()||(q=b.getModel().getParent(q),b.getModel().isVertex(q)&&b.updateGroupBounds([q],2*b.gridSize,!0))},!0)}))});f.addItem(mxResources.get("horizontalFlow"),null,mxUtils.bind(this,function(){this.editorUi.tryAndHandle(mxUtils.bind(this,function(){var n=new mxHierarchicalLayout(b,mxConstants.DIRECTION_WEST);this.editorUi.executeLayout(function(){var q=b.getSelectionCells();n.execute(b.getDefaultParent(),0==q.length?null:q)},!0)}))}),h);f.addItem(mxResources.get("verticalFlow"),null,
+mxUtils.bind(this,function(){this.editorUi.tryAndHandle(mxUtils.bind(this,function(){var n=new mxHierarchicalLayout(b,mxConstants.DIRECTION_NORTH);this.editorUi.executeLayout(function(){var q=b.getSelectionCells();n.execute(b.getDefaultParent(),0==q.length?null:q)},!0)}))}),h);f.addSeparator(h);f.addItem(mxResources.get("horizontalTree"),null,mxUtils.bind(this,function(){var n=new mxCompactTreeLayout(b,!0);n.edgeRouting=!1;n.levelDistance=30;n.sortEdges=!0;d(n.levelDistance,mxUtils.bind(this,function(q){isNaN(q)||
+(n.levelDistance=q,g(n))}))}),h);f.addItem(mxResources.get("verticalTree"),null,mxUtils.bind(this,function(){var n=new mxCompactTreeLayout(b,!1);n.edgeRouting=!1;n.levelDistance=30;n.sortEdges=!0;d(n.levelDistance,mxUtils.bind(this,function(q){isNaN(q)||(n.levelDistance=q,g(n))}))}),h);f.addItem(mxResources.get("radialTree"),null,mxUtils.bind(this,function(){var n=new mxRadialTreeLayout(b);n.levelDistance=80;n.autoRadius=!0;d(n.levelDistance,mxUtils.bind(this,function(q){isNaN(q)||(n.levelDistance=
+q,g(n))}))}),h);f.addSeparator(h);f.addItem(mxResources.get("organic"),null,mxUtils.bind(this,function(){var n=new mxFastOrganicLayout(b);d(n.forceConstant,mxUtils.bind(this,function(q){this.editorUi.tryAndHandle(mxUtils.bind(this,function(){n.forceConstant=q;this.editorUi.executeLayout(function(){var k=b.getSelectionCell();if(null==k||0==b.getModel().getChildCount(k))k=b.getDefaultParent();n.execute(k);b.getModel().isVertex(k)&&b.updateGroupBounds([k],2*b.gridSize,!0)},!0)}))}))}),h);f.addItem(mxResources.get("circle"),
+null,mxUtils.bind(this,function(){this.editorUi.tryAndHandle(mxUtils.bind(this,function(){var n=new mxCircleLayout(b);this.editorUi.executeLayout(function(){var q=b.getSelectionCell();if(null==q||0==b.getModel().getChildCount(q))q=b.getDefaultParent();n.execute(q);b.getModel().isVertex(q)&&b.updateGroupBounds([q],2*b.gridSize,!0)},!0)}))}),h)})));this.put("navigation",new Menu(mxUtils.bind(this,function(f,h){this.addMenuItems(f,"home - exitGroup enterGroup - expand collapse - collapsible".split(" "),
+h)})));this.put("arrange",new Menu(mxUtils.bind(this,function(f,h){this.addMenuItems(f,["toFront","toBack","bringForward","sendBackward","-"],h);this.addSubmenu("direction",f,h);this.addMenuItems(f,["turn","-"],h);this.addSubmenu("align",f,h);this.addSubmenu("distribute",f,h);f.addSeparator(h);this.addSubmenu("navigation",f,h);this.addSubmenu("insert",f,h);this.addSubmenu("layout",f,h);this.addMenuItems(f,"- group ungroup removeFromGroup - clearWaypoints autosize".split(" "),h)}))).isEnabled=e;this.put("insert",
+new Menu(mxUtils.bind(this,function(f,h){this.addMenuItems(f,["insertLink","insertImage"],h)})));this.put("view",new Menu(mxUtils.bind(this,function(f,h){this.addMenuItems(f,(null!=this.editorUi.format?["format"]:[]).concat("outline layers - pageView pageScale - tooltips grid guides - connectionArrows connectionPoints - resetView zoomIn zoomOut".split(" "),h))})));this.put("viewPanels",new Menu(mxUtils.bind(this,function(f,h){null!=this.editorUi.format&&this.addMenuItems(f,["format"],h);this.addMenuItems(f,
+["outline","layers"],h)})));this.put("viewZoom",new Menu(mxUtils.bind(this,function(f,h){this.addMenuItems(f,["smartFit","-"],h);for(var d=[.25,.5,.75,1,1.25,1.5,2,3,4],g=0;g<d.length;g++)(function(n){f.addItem(100*n+"%",null,function(){b.zoomTo(n)},h)})(d[g]);this.addMenuItems(f,"- fitWindow fitPageWidth fitPage fitTwoPages - customZoom".split(" "),h)})));this.put("file",new Menu(mxUtils.bind(this,function(f,h){this.addMenuItems(f,"new open - save saveAs - import export - pageSetup print".split(" "),
+h)})));this.put("edit",new Menu(mxUtils.bind(this,function(f,h){this.addMenuItems(f,"undo redo - cut copy paste delete - duplicate - editData editTooltip - editStyle - edit - editLink openLink - selectVertices selectEdges selectAll selectNone - lockUnlock".split(" "))})));this.put("extras",new Menu(mxUtils.bind(this,function(f,h){this.addMenuItems(f,["copyConnect","collapseExpand","-","editDiagram"])})));this.put("help",new Menu(mxUtils.bind(this,function(f,h){this.addMenuItems(f,["help","-","about"])})))};
+Menus.prototype.put=function(a,b){return this.menus[a]=b};Menus.prototype.get=function(a){return this.menus[a]};Menus.prototype.addSubmenu=function(a,b,e,f){var h=this.get(a),d=null;null!=h&&(h=h.isEnabled(),b.showDisabled||h)&&(d=b.addItem(f||mxResources.get(a),null,null,e,null,h),this.addMenu(a,b,d));return d};Menus.prototype.addMenu=function(a,b,e){a=this.get(a);null!=a&&(b.showDisabled||a.isEnabled())&&a.execute(b,e)};
+Menus.prototype.addInsertTableCellItem=function(a,b){var e=this.editorUi.editor.graph,f=e.getSelectionCell(),h=e.getCurrentCellStyle(f);1<e.getSelectionCount()&&(e.isTableCell(f)&&(f=e.model.getParent(f)),e.isTableRow(f)&&(f=e.model.getParent(f)));var d=e.isTable(f)||e.isTableRow(f)||e.isTableCell(f),g=e.isStack(f)||e.isStackChild(f),n=d,q=d;g&&(h=e.isStack(f)?h:e.getCellStyle(e.model.getParent(f)),q="0"==h.horizontalStack,n=!q);null!=b||!d&&!g?this.addInsertTableItem(a,mxUtils.bind(this,function(k,
+p,w,z,C){p=C||mxEvent.isControlDown(k)||mxEvent.isMetaDown(k)?e.createCrossFunctionalSwimlane(p,w,null,null,z||mxEvent.isShiftDown(k)?"Cross-Functional Flowchart":null):e.createTable(p,w,null,null,z||mxEvent.isShiftDown(k)?"Table":null);k=mxEvent.isAltDown(k)?e.getFreeInsertPoint():e.getCenterInsertPoint(e.getBoundingBoxFromGeometry([p],!0));w=null;e.getModel().beginUpdate();try{w=e.importCells([p],k.x,k.y),e.fireEvent(new mxEventObject("cellsInserted","cells",e.model.getDescendants(w[0])))}finally{e.getModel().endUpdate()}null!=
+w&&0<w.length&&(e.scrollCellToVisible(w[0]),e.setSelectionCells(w))}),b):(n&&(b=a.addItem(mxResources.get("insertColumnBefore"),null,mxUtils.bind(this,function(){try{g?e.insertLane(f,!0):e.insertTableColumn(f,!0)}catch(k){this.editorUi.handleError(k)}}),null,"geIcon geSprite geSprite-insertcolumnbefore"),b.setAttribute("title",mxResources.get("insertColumnBefore")),b=a.addItem(mxResources.get("insertColumnAfter"),null,mxUtils.bind(this,function(){try{g?e.insertLane(f,!1):e.insertTableColumn(f,!1)}catch(k){this.editorUi.handleError(k)}}),
+null,"geIcon geSprite geSprite-insertcolumnafter"),b.setAttribute("title",mxResources.get("insertColumnAfter")),b=a.addItem(mxResources.get("deleteColumn"),null,mxUtils.bind(this,function(){if(null!=f)try{g?e.deleteLane(f):e.deleteTableColumn(f)}catch(k){this.editorUi.handleError(k)}}),null,"geIcon geSprite geSprite-deletecolumn"),b.setAttribute("title",mxResources.get("deleteColumn"))),q&&(b=a.addItem(mxResources.get("insertRowBefore"),null,mxUtils.bind(this,function(){try{g?e.insertLane(f,!0):e.insertTableRow(f,
+!0)}catch(k){this.editorUi.handleError(k)}}),null,"geIcon geSprite geSprite-insertrowbefore"),b.setAttribute("title",mxResources.get("insertRowBefore")),b=a.addItem(mxResources.get("insertRowAfter"),null,mxUtils.bind(this,function(){try{g?e.insertLane(f,!1):e.insertTableRow(f,!1)}catch(k){this.editorUi.handleError(k)}}),null,"geIcon geSprite geSprite-insertrowafter"),b.setAttribute("title",mxResources.get("insertRowAfter")),b=a.addItem(mxResources.get("deleteRow"),null,mxUtils.bind(this,function(){try{g?
+e.deleteLane(f):e.deleteTableRow(f)}catch(k){this.editorUi.handleError(k)}}),null,"geIcon geSprite geSprite-deleterow"),b.setAttribute("title",mxResources.get("deleteRow")),q=this.editorUi.getSelectionState(),null!=q.mergeCell?this.addMenuItem(a,"mergeCells"):(1<q.style.colspan||1<q.style.rowspan)&&this.addMenuItem(a,"unmergeCells")))};
+Menus.prototype.addInsertTableItem=function(a,b,e,f){function h(C){n=d.getParentByName(mxEvent.getSource(C),"TD");var F=!1;if(null!=n){g=d.getParentByName(n,"TR");var D=mxEvent.isMouseEvent(C)?2:4,H=w,K=Math.min(20,g.sectionRowIndex+D);D=Math.min(20,n.cellIndex+D);for(var G=H.rows.length;G<K;G++)for(var P=H.insertRow(G),I=0;I<H.rows[0].cells.length;I++)P.insertCell(-1);for(G=0;G<H.rows.length;G++)for(P=H.rows[G],I=P.cells.length;I<D;I++)P.insertCell(-1);z.innerHTML=n.cellIndex+1+"x"+(g.sectionRowIndex+
+1);for(H=0;H<w.rows.length;H++)for(K=w.rows[H],D=0;D<K.cells.length;D++)G=K.cells[D],H==g.sectionRowIndex&&D==n.cellIndex&&(F="blue"==G.style.backgroundColor),G.style.backgroundColor=H<=g.sectionRowIndex&&D<=n.cellIndex?"blue":"transparent"}mxEvent.consume(C);return F}f=null!=f?f:!0;b=null!=b?b:mxUtils.bind(this,function(C,F,D){var H=this.editorUi.editor.graph;if(null!=H.getParentByName(mxEvent.getSource(C),"TD")&&null!=H.cellEditor.textarea){var K=H.cellEditor.textarea.getElementsByTagName("table");
+C=[];for(var G=0;G<K.length;G++)C.push(K[G]);H.container.focus();G=H.pasteHtmlAtCaret;K=["<table>"];for(var P=0;P<F;P++){K.push("<tr>");for(var I=0;I<D;I++)K.push("<td><br></td>");K.push("</tr>")}K.push("</table>");F=K.join("");G.call(H,F);F=H.cellEditor.textarea.getElementsByTagName("table");if(F.length==C.length+1)for(G=F.length-1;0<=G;G--)if(0==G||F[G]!=C[G-1]){H.selectNode(F[G].rows[0].cells[0]);break}}});var d=this.editorUi.editor.graph,g=null,n=null;null==e&&(a.div.className+=" geToolbarMenu",
+a.labels=!1);a=a.addItem("",null,null,e,null,null,null,!0);a.firstChild.style.fontSize=Menus.prototype.defaultFontSize+"px";e=a.getElementsByTagName("td");1<e.length&&(e[1].style.display="none",e[2].style.display="none");a.firstChild.innerText="";var q=document.createElement("input");q.setAttribute("id","geTitleOption");q.setAttribute("type","checkbox");q.style.verticalAlign="middle";e=document.createElement("label");mxUtils.write(e,mxResources.get("title"));e.setAttribute("for","geTitleOption");
+e.style.verticalAlign="middle";mxEvent.addGestureListeners(e,null,null,mxUtils.bind(this,function(C){mxEvent.consume(C)}));mxEvent.addGestureListeners(q,null,null,mxUtils.bind(this,function(C){mxEvent.consume(C)}));var k=document.createElement("input");k.setAttribute("id","geContainerOption");k.setAttribute("type","checkbox");k.style.verticalAlign="middle";var p=document.createElement("label");mxUtils.write(p,mxResources.get("container"));p.setAttribute("for","geContainerOption");p.style.verticalAlign=
+"middle";mxEvent.addGestureListeners(p,null,null,mxUtils.bind(this,function(C){mxEvent.consume(C)}));mxEvent.addGestureListeners(k,null,null,mxUtils.bind(this,function(C){mxEvent.consume(C)}));f&&(a.firstChild.appendChild(q),a.firstChild.appendChild(e),mxUtils.br(a.firstChild),a.firstChild.appendChild(k),a.firstChild.appendChild(p),mxUtils.br(a.firstChild));var w=function(C,F){var D=document.createElement("table");D.className="geInsertTablePicker";D.setAttribute("border","1");D.style.borderCollapse=
+"collapse";D.style.borderStyle="solid";D.style.marginBottom="4px";D.style.marginTop="8px";D.setAttribute("cellPadding","8");for(var H=0;H<C;H++)for(var K=D.insertRow(H),G=0;G<F;G++)K.insertCell(-1);return D}(5,5);a.firstChild.appendChild(w);var z=document.createElement("div");z.style.textAlign="center";z.style.padding="4px";z.style.width="100%";z.innerHTML="1x1";a.firstChild.appendChild(z);mxEvent.addGestureListeners(w,null,null,mxUtils.bind(this,function(C){var F=h(C);null!=n&&null!=g&&F&&(b(C,g.sectionRowIndex+
+1,n.cellIndex+1,q.checked,k.checked),window.setTimeout(mxUtils.bind(this,function(){this.editorUi.hideCurrentMenu()}),0))}));mxEvent.addListener(w,"mouseover",h)};
+Menus.prototype.edgeStyleChange=function(a,b,e,f,h,d,g,n){return this.showIconOnly(a.addItem(b,n,mxUtils.bind(this,function(){var q=this.editorUi.editor.graph;q.stopEditing(!1);q.getModel().beginUpdate();try{for(var k=q.getSelectionCells(),p=[],w=0;w<k.length;w++){var z=k[w];if(q.getModel().isEdge(z)){if(g){var C=q.getCellGeometry(z);null!=C&&(C=C.clone(),C.points=null,q.getModel().setGeometry(z,C))}for(var F=0;F<e.length;F++)q.setCellStyles(e[F],f[F],[z]);p.push(z)}}this.editorUi.fireEvent(new mxEventObject("styleChanged",
+"cells",p,"keys",e,"values",f,"force",0==k.length))}finally{q.getModel().endUpdate()}}),d,h))};Menus.prototype.showIconOnly=function(a){var b=a.getElementsByTagName("td");for(i=0;i<b.length;i++)"mxPopupMenuItem"==b[i].getAttribute("class")&&(b[i].style.display="none");return a};
+Menus.prototype.styleChange=function(a,b,e,f,h,d,g,n,q){var k=this.createStyleChangeFunction(e,f);a=a.addItem(b,null,mxUtils.bind(this,function(){var p=this.editorUi.editor.graph;null!=g&&p.cellEditor.isContentEditing()?g():k(n)}),d,h);q&&this.showIconOnly(a);return a};
+Menus.prototype.createStyleChangeFunction=function(a,b){return mxUtils.bind(this,function(e){var f=this.editorUi.editor.graph;f.stopEditing(!1);f.getModel().beginUpdate();try{for(var h=f.getEditableCells(f.getSelectionCells()),d=!1,g=0;g<a.length;g++)if(f.setCellStyles(a[g],b[g],h),a[g]==mxConstants.STYLE_ALIGN&&f.updateLabelElements(h,function(n){n.removeAttribute("align");n.style.textAlign=null}),a[g]==mxConstants.STYLE_FONTFAMILY||"fontSource"==a[g])d=!0;if(d)for(d=0;d<h.length;d++)0==f.model.getChildCount(h[d])&&
+f.autoSizeCell(h[d],!1);null!=e&&e();this.editorUi.fireEvent(new mxEventObject("styleChanged","keys",a,"values",b,"cells",h))}finally{f.getModel().endUpdate()}})};
+Menus.prototype.promptChange=function(a,b,e,f,h,d,g,n,q,k){return a.addItem(b,null,mxUtils.bind(this,function(){var p=this.editorUi.editor.graph,w=f,z=p.getView().getState(p.getSelectionCell());null!=z&&(w=z.style[h]||w);var C=null!=k?k():!0;w=new FilenameDialog(this.editorUi,w,mxResources.get("apply"),mxUtils.bind(this,function(F){if(null!=F&&0<F.length){if(C){p.getModel().beginUpdate();try{p.stopEditing(!1),p.setCellStyles(h,F)}finally{p.getModel().endUpdate()}}null!=n&&n(F)}}),mxResources.get("enterValue")+
+(0<e.length?" "+e:""),null,null,null,null,function(){null!=n&&null!=k&&n(null)});this.editorUi.showDialog(w.container,300,80,!0,!0);w.init()}),d,q,g)};
+Menus.prototype.pickColor=function(a,b,e,f,h){var d=this.editorUi;d.tryAndHandle(mxUtils.bind(this,function(){var g=d.editor.graph,n=226+17*(Math.ceil(ColorDialog.prototype.presetColors.length/12)+Math.ceil(ColorDialog.prototype.defaultColors.length/12));if(null!=b&&g.cellEditor.isContentEditing()){var q=g.cellEditor.saveSelection(),k=new ColorDialog(this.editorUi,e||g.shapeForegroundColor,mxUtils.bind(this,function(w){g.cellEditor.restoreSelection(q);document.execCommand(b,!1,w!=mxConstants.NONE?
+w:"transparent");var z={forecolor:mxConstants.STYLE_FONTCOLOR,backcolor:mxConstants.STYLE_LABEL_BACKGROUNDCOLOR}[b];null!=z&&d.fireEvent(new mxEventObject("styleChanged","keys",[z],"values",[w],"cells",[g.cellEditor.getEditingCell()]))}),function(){g.cellEditor.restoreSelection(q)});this.editorUi.showDialog(k.container,230,n,!0,!0);k.init()}else{k=g.getView().getState(g.getSelectionCell());var p=mxConstants.NONE;null!=k&&(p=k.style[a]||p);null!=f?(p=/(^#?[a-zA-Z0-9]*$)/.test(p)?p:f,this.editorUi.pickColor(p,
+ColorDialog.createApplyFunction(this.editorUi,a),f,h)):(null==this.colorDialog&&(this.colorDialog=new ColorDialog(this.editorUi)),this.colorDialog.currentColorKey=a,p==mxConstants.NONE?(p=g.shapeBackgroundColor.substring(1),this.colorDialog.picker.fromString(p),this.colorDialog.colorInput.value=mxConstants.NONE):this.colorDialog.picker.fromString(mxUtils.rgba2hex(p)),this.editorUi.showDialog(this.colorDialog.container,230,n,!0,!0),this.colorDialog.init())}}))};
+Menus.prototype.toggleStyle=function(a,b){var e=this.editorUi.editor.graph;b=e.toggleCellStyles(a,b);this.editorUi.fireEvent(new mxEventObject("styleChanged","keys",[a],"values",[b],"cells",e.getSelectionCells()))};
+Menus.prototype.addMenuItem=function(a,b,e,f,h,d){var g=this.editorUi.actions.get(b);return null!=g&&(a.showDisabled||g.isEnabled())&&g.visible?(b=a.addItem(d||g.label,null,mxUtils.bind(this,function(n){try{g.funct(f,n)}catch(q){this.editorUi.handleError(q)}}),e,h,g.isEnabled()),g.toggleAction&&g.isSelected()&&a.addCheckmark(b,Editor.checkmarkImage),this.addShortcut(b,g,a.hideShortcuts),b):null};
+Menus.prototype.addShortcut=function(a,b,e){null!=b.shortcut&&(e?a.setAttribute("title",b.shortcut):(a=a.firstChild.nextSibling.nextSibling,e=document.createElement("span"),e.style.color="gray",mxUtils.write(e,b.shortcut),a.appendChild(e)))};Menus.prototype.addMenuItems=function(a,b,e,f,h){for(var d=0;d<b.length;d++)"-"==b[d]?a.addSeparator(e):this.addMenuItem(a,b[d],e,f,null!=h?h[d]:null)};
+Menus.prototype.createPopupMenu=function(a,b,e){a.smartSeparators=!0;a.hideShortcuts=!0;this.addPopupMenuItems(a,b,e)};Menus.prototype.addPopupMenuItems=function(a,b,e){this.isShowHistoryItems()&&this.addPopupMenuHistoryItems(a,b,e);this.addPopupMenuEditItems(a,b,e);this.isShowStyleItems()&&this.addPopupMenuStyleItems(a,b,e);this.isShowArrangeItems()&&this.addPopupMenuArrangeItems(a,b,e);this.addPopupMenuCellItems(a,b,e);this.addPopupMenuSelectionItems(a,b,e)};Menus.prototype.isShowHistoryItems=function(){return!0};
+Menus.prototype.addPopupMenuHistoryItems=function(a,b,e){this.editorUi.editor.graph.isSelectionEmpty()&&this.addMenuItems(a,["undo","redo"],null,e)};Menus.prototype.addPopupDeleteItem=function(a,b,e){a=this.addMenuItem(a,"delete");null!=a&&null!=a.firstChild&&null!=a.firstChild.nextSibling&&(a.firstChild.nextSibling.style.color="red",b=this.editorUi.editor.graph,1<b.getSelectionCount()&&(a.firstChild.nextSibling.innerHTML=mxUtils.htmlEntities(mxResources.get("delete")+" ("+b.getSelectionCount()+")")))};
+Menus.prototype.addPopupMenuEditItems=function(a,b,e){this.editorUi.editor.graph.isSelectionEmpty()?this.addMenuItems(a,["pasteHere"],null,e):this.addMenuItems(a,"cut copy duplicate - delete lockUnlock".split(" "),null,e)};Menus.prototype.isShowStyleItems=function(){return!0};
+Menus.prototype.addPopupMenuStyleItems=function(a,b,e){1==this.editorUi.editor.graph.getSelectionCount()?this.addMenuItems(a,["-","setAsDefaultStyle"],null,e):this.editorUi.editor.graph.isSelectionEmpty()&&this.addMenuItems(a,["-","clearDefaultStyle"],null,e)};Menus.prototype.isShowArrangeItems=function(){return!0};
+Menus.prototype.addPopupMenuArrangeItems=function(a,b,e){var f=this.editorUi.editor.graph;(1<f.getSelectionCount()||0<f.getSelectionCount()&&!f.getModel().isEdge(b)&&!f.isSwimlane(b)&&0<f.getModel().getChildCount(b)&&f.isCellEditable(b))&&this.addMenuItems(a,["group","ungroup"],null,e);b=f.getEditableCells(f.getSelectionCells()).length;1<b&&(a.addSeparator(),this.addSubmenu("align",a),this.addSubmenu("distribute",a));1<=b&&(this.addMenuItems(a,["-","toFront","toBack"],null,e),this.isShowCellEditItems()&&
+1==f.getSelectionCount()&&this.addMenuItems(a,["bringForward","sendBackward"],null,e))};
+Menus.prototype.addPopupMenuCellItems=function(a,b,e){var f=this.editorUi.editor.graph,h=f.view.getState(b);if(null!=h){var d=f.getModel().getGeometry(b);d=null!=d&&null!=d.points&&0<d.points.length;this.isShowStyleItems()&&1==f.getSelectionCount()&&f.getModel().isEdge(b)&&(a.addSeparator(),this.addSubmenu("line",a));if(f.getModel().isEdge(b)&&"entityRelationEdgeStyle"!=mxUtils.getValue(h.style,mxConstants.STYLE_EDGE,null)&&"arrow"!=mxUtils.getValue(h.style,mxConstants.STYLE_SHAPE,null)){h=f.selectionCellsHandler.getHandler(b);
+var g=!1;if(d&&h instanceof mxEdgeHandler&&null!=h.bends&&2<h.bends.length){var n=h.getHandleForEvent(f.updateMouseEvent(new mxMouseEvent(e)));0<n&&n<h.bends.length-1&&(null==h.bends[n]||null==h.bends[n].node||""==h.bends[n].node.style.opacity)&&(g=this.editorUi.actions.get("removeWaypoint"),g.handler=h,g.index=n,g=!0)}this.isShowCellEditItems()&&this.addMenuItem(a,"turn",null,e,null,mxResources.get("reverse"));this.addMenuItems(a,[g?"removeWaypoint":"addWaypoint"],null,e)}1==f.getSelectionCount()&&
+this.isShowCellEditItems()&&(d||f.getModel().isVertex(b)&&0<f.getModel().getEdgeCount(b))&&this.addMenuItems(a,["clearWaypoints"],null,e);this.isShowCellEditItems()&&1==f.getSelectionCount()&&f.isCellEditable(b)&&this.addPopupMenuCellEditItems(a,b,e)}};Menus.prototype.isShowCellEditItems=function(){return!0};
+Menus.prototype.addPopupMenuCellEditItems=function(a,b,e,f){var h=this.editorUi.editor.graph,d=h.view.getState(b);this.addMenuItems(a,["-","editStyle","editData","editLink"],f,e);h.getModel().isVertex(b)&&null!=mxUtils.getValue(d.style,mxConstants.STYLE_IMAGE,null)&&(a.addSeparator(),this.addMenuItem(a,"image",f,e).firstChild.nextSibling.innerHTML=mxResources.get("editImage")+"...",this.addMenuItem(a,"crop",f,e));h.getModel().isVertex(b)&&h.isCellConnectable(b)&&this.addMenuItem(a,"editConnectionPoints",
+f,e)};Menus.prototype.addPopupMenuSelectionItems=function(a,b,e){this.editorUi.editor.graph.isSelectionEmpty()&&this.addMenuItems(a,["-","selectAll","selectVertices","selectEdges"],null,e)};Menus.prototype.createMenubar=function(a){for(var b=new Menubar(this.editorUi,a),e=this.defaultMenuItems,f=0;f<e.length;f++)mxUtils.bind(this,function(h){var d=b.addMenu(mxResources.get(e[f]),mxUtils.bind(this,function(){h.funct.apply(this,arguments)}));this.menuCreated(h,d)})(this.get(e[f]));return b};
+Menus.prototype.menuCreated=function(a,b,e){null!=b&&(e=null!=e?e:"geItem",b.className=e,a.addListener("stateChanged",function(){(b.enabled=a.enabled)?(b.className=e,8==document.documentMode&&(b.style.color="")):(b.className=e+" mxDisabled",8==document.documentMode&&(b.style.color="#c3c3c3"))}))};function Menubar(a,b){this.editorUi=a;this.container=b}Menubar.prototype.hideMenu=function(){this.editorUi.hideCurrentMenu()};
+Menubar.prototype.addMenu=function(a,b,e,f){var h=document.createElement("a");h.className="geItem";mxUtils.write(h,a);this.addMenuHandler(h,b,f);null!=e?this.container.insertBefore(h,e):this.container.appendChild(h);return h};
+Menubar.prototype.addMenuHandler=function(a,b,e){if(null!=b){var f=!0,h=mxUtils.bind(this,function(d){null!=e&&e(d);if(!mxEvent.isConsumed(d)&&f&&(null==a.enabled||a.enabled)){this.editorUi.editor.graph.popupMenuHandler.hideMenu();var g=new mxPopupMenu(b);g.div.className+=" geMenubarMenu";g.smartSeparators=!0;g.showDisabled=!0;g.autoExpand=!0;g.hideMenu=mxUtils.bind(this,function(){mxPopupMenu.prototype.hideMenu.apply(g,arguments);this.editorUi.resetCurrentMenu();g.destroy()});var n=mxUtils.getOffset(a);
+g.popup(n.x,n.y+a.offsetHeight,null,d);this.editorUi.setCurrentMenu(g,a)}mxEvent.consume(d)});mxEvent.addListener(a,"mousemove",mxUtils.bind(this,function(d){this.editorUi.menus.autoPopup&&null!=this.editorUi.currentMenu&&this.editorUi.currentMenuElt!=a&&(this.editorUi.hideCurrentMenu(),h(d))}));mxEvent.addListener(a,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(d){!this.editorUi.menus.autoPopup&&null!=this.editorUi.currentMenu&&this.editorUi.currentMenuElt!=a&&mxEvent.isMouseEvent(d)&&
+this.editorUi.hideCurrentMenu();f=null==this.editorUi.currentMenu;d.preventDefault()}));mxEvent.addListener(a,"click",mxUtils.bind(this,function(d){h(d);f=!0}))}};Menubar.prototype.destroy=function(){};function Menu(a,b){mxEventSource.call(this);this.funct=a;this.enabled=null!=b?b:!0}mxUtils.extend(Menu,mxEventSource);Menu.prototype.isEnabled=function(){return this.enabled};Menu.prototype.setEnabled=function(a){this.enabled!=a&&(this.enabled=a,this.fireEvent(new mxEventObject("stateChanged")))};
+Menu.prototype.execute=function(a,b){this.funct(a,b)};EditorUi.prototype.createMenus=function(){return new Menus(this)};function Toolbar(a,b){this.editorUi=a;this.container=b;this.staticElements=[];this.init();this.gestureHandler=mxUtils.bind(this,function(e){null!=this.editorUi.currentMenu&&mxEvent.getSource(e)!=this.editorUi.currentMenu.div&&this.hideMenu()});mxEvent.addGestureListeners(document,this.gestureHandler)}
Toolbar.prototype.dropDownImage=mxClient.IS_SVG?"data:image/gif;base64,R0lGODlhDQANAIABAHt7e////yH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS4wLWMwNjAgNjEuMTM0Nzc3LCAyMDEwLzAyLzEyLTE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W1pZWFdWVVRTUlFQT05NTEtKSUhHRkVEQ0JBQD8+PTw7Ojk4NzY1NDMyMTAvLi0sKyopKCcmJSQjIiEgHx4dHBsaGRgXFhUUExIREA8ODQwLCgkIBwYFBAMCAQAAIfkEAQAAAQAsAAAAAA0ADQAAAhGMj6nL3QAjVHIu6azbvPtWAAA7":IMAGE_PATH+
"/dropdown.gif";Toolbar.prototype.selectedBackground="#d0d0d0";Toolbar.prototype.unselectedBackground="none";Toolbar.prototype.staticElements=null;
-Toolbar.prototype.init=function(){var a=screen.width;a-=740<screen.height?56:0;if(700<=a){var b=this.addMenu("",mxResources.get("view")+" ("+mxResources.get("panTooltip")+")",!0,"viewPanels",null,!0);this.addDropDownArrow(b,"geSprite-formatpanel",38,50,-4,-3,36,-8);this.addSeparator()}var d=this.addMenu("",mxResources.get("zoom")+" (Alt+Mousewheel)",!0,"viewZoom",null,!0);d.showDisabled=!0;d.style.whiteSpace="nowrap";d.style.position="relative";d.style.overflow="hidden";d.style.width=EditorUi.compactUi?
-"50px":"36px";420<=a&&(this.addSeparator(),b=this.addItems(["zoomIn","zoomOut"]),b[0].setAttribute("title",mxResources.get("zoomIn")+" ("+this.editorUi.actions.get("zoomIn").shortcut+")"),b[1].setAttribute("title",mxResources.get("zoomOut")+" ("+this.editorUi.actions.get("zoomOut").shortcut+")"));this.updateZoom=mxUtils.bind(this,function(e,g,f){d.innerHTML=Math.round(100*this.editorUi.editor.graph.view.scale*(null!=f?f:1))+"%";this.appendDropDownImageHtml(d);EditorUi.compactUi&&(d.getElementsByTagName("img")[0].style.right=
-"1px",d.getElementsByTagName("img")[0].style.top="5px")});this.editorUi.editor.graph.view.addListener(mxEvent.EVENT_SCALE,this.updateZoom);this.editorUi.editor.addListener("resetGraphView",this.updateZoom);this.editorUi.editor.graph.addListener("zoomPreview",mxUtils.bind(this,function(e,g){this.updateZoom(e,g,g.getProperty("factor"))}));b=this.addItems(["-","undo","redo"]);b[1].setAttribute("title",mxResources.get("undo")+" ("+this.editorUi.actions.get("undo").shortcut+")");b[2].setAttribute("title",
+Toolbar.prototype.init=function(){var a=screen.width;a-=740<screen.height?56:0;if(700<=a){var b=this.addMenu("",mxResources.get("view")+" ("+mxResources.get("panTooltip")+")",!0,"viewPanels",null,!0);this.addDropDownArrow(b,"geSprite-formatpanel",38,50,-4,-3,36,-8);this.addSeparator()}var e=this.addMenu("",mxResources.get("zoom")+" (Alt+Mousewheel)",!0,"viewZoom",null,!0);e.showDisabled=!0;e.style.whiteSpace="nowrap";e.style.position="relative";e.style.overflow="hidden";e.style.width=EditorUi.compactUi?
+"50px":"36px";420<=a&&(this.addSeparator(),b=this.addItems(["zoomIn","zoomOut"]),b[0].setAttribute("title",mxResources.get("zoomIn")+" ("+this.editorUi.actions.get("zoomIn").shortcut+")"),b[1].setAttribute("title",mxResources.get("zoomOut")+" ("+this.editorUi.actions.get("zoomOut").shortcut+")"));this.updateZoom=mxUtils.bind(this,function(f,h,d){e.innerHTML=Math.round(100*this.editorUi.editor.graph.view.scale*(null!=d?d:1))+"%";this.appendDropDownImageHtml(e);EditorUi.compactUi&&(e.getElementsByTagName("img")[0].style.right=
+"1px",e.getElementsByTagName("img")[0].style.top="5px")});this.editorUi.editor.graph.view.addListener(mxEvent.EVENT_SCALE,this.updateZoom);this.editorUi.editor.addListener("resetGraphView",this.updateZoom);this.editorUi.editor.graph.addListener("zoomPreview",mxUtils.bind(this,function(f,h){this.updateZoom(f,h,h.getProperty("factor"))}));b=this.addItems(["-","undo","redo"]);b[1].setAttribute("title",mxResources.get("undo")+" ("+this.editorUi.actions.get("undo").shortcut+")");b[2].setAttribute("title",
mxResources.get("redo")+" ("+this.editorUi.actions.get("redo").shortcut+")");320<=a&&(b=this.addItems(["-","delete"]),b[1].setAttribute("title",mxResources.get("delete")+" ("+this.editorUi.actions.get("delete").shortcut+")"));550<=a&&this.addItems(["-","toFront","toBack"]);740<=a&&(this.addItems(["-","fillColor"]),780<=a&&(this.addItems(["strokeColor"]),820<=a&&this.addItems(["shadow"])));400<=a&&(this.addSeparator(),440<=a&&(this.edgeShapeMenu=this.addMenuFunction("",mxResources.get("connection"),
-!1,mxUtils.bind(this,function(e){this.editorUi.menus.edgeStyleChange(e,"",[mxConstants.STYLE_SHAPE,"width"],[null,null],"geIcon geSprite geSprite-connection",null,!0).setAttribute("title",mxResources.get("line"));this.editorUi.menus.edgeStyleChange(e,"",[mxConstants.STYLE_SHAPE,"width"],["link",null],"geIcon geSprite geSprite-linkedge",null,!0).setAttribute("title",mxResources.get("link"));this.editorUi.menus.edgeStyleChange(e,"",[mxConstants.STYLE_SHAPE,"width"],["flexArrow",null],"geIcon geSprite geSprite-arrow",
-null,!0).setAttribute("title",mxResources.get("arrow"));this.editorUi.menus.edgeStyleChange(e,"",[mxConstants.STYLE_SHAPE,"width"],["arrow",null],"geIcon geSprite geSprite-simplearrow",null,!0).setAttribute("title",mxResources.get("simpleArrow"))})),this.addDropDownArrow(this.edgeShapeMenu,"geSprite-connection",44,50,0,0,22,-4)),this.edgeStyleMenu=this.addMenuFunction("geSprite-orthogonal",mxResources.get("waypoints"),!1,mxUtils.bind(this,function(e){this.editorUi.menus.edgeStyleChange(e,"",[mxConstants.STYLE_EDGE,
-mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],[null,null,null],"geIcon geSprite geSprite-straight",null,!0).setAttribute("title",mxResources.get("straight"));this.editorUi.menus.edgeStyleChange(e,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["orthogonalEdgeStyle",null,null],"geIcon geSprite geSprite-orthogonal",null,!0).setAttribute("title",mxResources.get("orthogonal"));this.editorUi.menus.edgeStyleChange(e,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,
-mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["elbowEdgeStyle",null,null,null],"geIcon geSprite geSprite-horizontalelbow",null,!0).setAttribute("title",mxResources.get("simple"));this.editorUi.menus.edgeStyleChange(e,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["elbowEdgeStyle","vertical",null,null],"geIcon geSprite geSprite-verticalelbow",null,!0).setAttribute("title",mxResources.get("simple"));this.editorUi.menus.edgeStyleChange(e,
-"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["isometricEdgeStyle",null,null,null],"geIcon geSprite geSprite-horizontalisometric",null,!0).setAttribute("title",mxResources.get("isometric"));this.editorUi.menus.edgeStyleChange(e,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["isometricEdgeStyle","vertical",null,null],"geIcon geSprite geSprite-verticalisometric",null,!0).setAttribute("title",
-mxResources.get("isometric"));this.editorUi.menus.edgeStyleChange(e,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["orthogonalEdgeStyle","1",null],"geIcon geSprite geSprite-curved",null,!0).setAttribute("title",mxResources.get("curved"));this.editorUi.menus.edgeStyleChange(e,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["entityRelationEdgeStyle",null,null],"geIcon geSprite geSprite-entity",null,!0).setAttribute("title",mxResources.get("entityRelation"))})),
+!1,mxUtils.bind(this,function(f){this.editorUi.menus.edgeStyleChange(f,"",[mxConstants.STYLE_SHAPE,"width"],[null,null],"geIcon geSprite geSprite-connection",null,!0).setAttribute("title",mxResources.get("line"));this.editorUi.menus.edgeStyleChange(f,"",[mxConstants.STYLE_SHAPE,"width"],["link",null],"geIcon geSprite geSprite-linkedge",null,!0).setAttribute("title",mxResources.get("link"));this.editorUi.menus.edgeStyleChange(f,"",[mxConstants.STYLE_SHAPE,"width"],["flexArrow",null],"geIcon geSprite geSprite-arrow",
+null,!0).setAttribute("title",mxResources.get("arrow"));this.editorUi.menus.edgeStyleChange(f,"",[mxConstants.STYLE_SHAPE,"width"],["arrow",null],"geIcon geSprite geSprite-simplearrow",null,!0).setAttribute("title",mxResources.get("simpleArrow"))})),this.addDropDownArrow(this.edgeShapeMenu,"geSprite-connection",44,50,0,0,22,-4)),this.edgeStyleMenu=this.addMenuFunction("geSprite-orthogonal",mxResources.get("waypoints"),!1,mxUtils.bind(this,function(f){this.editorUi.menus.edgeStyleChange(f,"",[mxConstants.STYLE_EDGE,
+mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],[null,null,null],"geIcon geSprite geSprite-straight",null,!0).setAttribute("title",mxResources.get("straight"));this.editorUi.menus.edgeStyleChange(f,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["orthogonalEdgeStyle",null,null],"geIcon geSprite geSprite-orthogonal",null,!0).setAttribute("title",mxResources.get("orthogonal"));this.editorUi.menus.edgeStyleChange(f,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,
+mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["elbowEdgeStyle",null,null,null],"geIcon geSprite geSprite-horizontalelbow",null,!0).setAttribute("title",mxResources.get("simple"));this.editorUi.menus.edgeStyleChange(f,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["elbowEdgeStyle","vertical",null,null],"geIcon geSprite geSprite-verticalelbow",null,!0).setAttribute("title",mxResources.get("simple"));this.editorUi.menus.edgeStyleChange(f,
+"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["isometricEdgeStyle",null,null,null],"geIcon geSprite geSprite-horizontalisometric",null,!0).setAttribute("title",mxResources.get("isometric"));this.editorUi.menus.edgeStyleChange(f,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["isometricEdgeStyle","vertical",null,null],"geIcon geSprite geSprite-verticalisometric",null,!0).setAttribute("title",
+mxResources.get("isometric"));this.editorUi.menus.edgeStyleChange(f,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["orthogonalEdgeStyle","1",null],"geIcon geSprite geSprite-curved",null,!0).setAttribute("title",mxResources.get("curved"));this.editorUi.menus.edgeStyleChange(f,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["entityRelationEdgeStyle",null,null],"geIcon geSprite geSprite-entity",null,!0).setAttribute("title",mxResources.get("entityRelation"))})),
this.addDropDownArrow(this.edgeStyleMenu,"geSprite-orthogonal",44,50,0,0,22,-4));this.addSeparator();a=this.addMenu("",mxResources.get("insert")+" ("+mxResources.get("doubleClickTooltip")+")",!0,"insert",null,!0);this.addDropDownArrow(a,"geSprite-plus",38,48,-4,-3,36,-8);this.addSeparator();this.addTableDropDown()};
Toolbar.prototype.appendDropDownImageHtml=function(a){var b=document.createElement("img");b.setAttribute("border","0");b.setAttribute("valign","middle");b.setAttribute("src",Toolbar.prototype.dropDownImage);a.appendChild(b);b.style.position="absolute";b.style.right="4px";b.style.top=(EditorUi.compactUi?6:8)+"px"};
-Toolbar.prototype.addTableDropDown=function(){var a=this.addMenuFunction("geIcon geSprite geSprite-table",mxResources.get("table"),!1,mxUtils.bind(this,function(d){this.editorUi.menus.addInsertTableCellItem(d)}));a.style.position="relative";a.style.whiteSpace="nowrap";a.style.overflow="hidden";a.style.width="30px";a.innerHTML='<div class="geSprite geSprite-table"></div>';this.appendDropDownImageHtml(a);a.getElementsByTagName("div")[0].style.marginLeft="-2px";EditorUi.compactUi&&(a.getElementsByTagName("img")[0].style.left=
+Toolbar.prototype.addTableDropDown=function(){var a=this.addMenuFunction("geIcon geSprite geSprite-table",mxResources.get("table"),!1,mxUtils.bind(this,function(e){this.editorUi.menus.addInsertTableCellItem(e)}));a.style.position="relative";a.style.whiteSpace="nowrap";a.style.overflow="hidden";a.style.width="30px";a.innerHTML='<div class="geSprite geSprite-table"></div>';this.appendDropDownImageHtml(a);a.getElementsByTagName("div")[0].style.marginLeft="-2px";EditorUi.compactUi&&(a.getElementsByTagName("img")[0].style.left=
"22px",a.getElementsByTagName("img")[0].style.top="5px");var b=this.editorUi.menus.get("insert");null!=b&&"function"===typeof a.setEnabled&&b.addListener("stateChanged",function(){a.setEnabled(b.enabled)});return a};
-Toolbar.prototype.addDropDownArrow=function(a,b,d,e,g,f,h,n){g=EditorUi.compactUi?g:n;a.style.whiteSpace="nowrap";a.style.overflow="hidden";a.style.position="relative";a.style.width=e-(null!=h?h:32)+"px";a.innerHTML='<div class="geSprite '+b+'"></div>';this.appendDropDownImageHtml(a);b=a.getElementsByTagName("div")[0];b.style.marginLeft=g+"px";b.style.marginTop=f+"px";EditorUi.compactUi&&(a.getElementsByTagName("img")[0].style.left="24px",a.getElementsByTagName("img")[0].style.top="5px",a.style.width=
-d-10+"px")};Toolbar.prototype.setFontName=function(a){if(null!=this.fontMenu){this.fontMenu.innerText="";var b=document.createElement("div");b.style.display="inline-block";b.style.overflow="hidden";b.style.textOverflow="ellipsis";b.style.maxWidth="66px";mxUtils.write(b,a);this.fontMenu.appendChild(b);this.appendDropDownImageHtml(this.fontMenu)}};
+Toolbar.prototype.addDropDownArrow=function(a,b,e,f,h,d,g,n){h=EditorUi.compactUi?h:n;a.style.whiteSpace="nowrap";a.style.overflow="hidden";a.style.position="relative";a.style.width=f-(null!=g?g:32)+"px";a.innerHTML='<div class="geSprite '+b+'"></div>';this.appendDropDownImageHtml(a);b=a.getElementsByTagName("div")[0];b.style.marginLeft=h+"px";b.style.marginTop=d+"px";EditorUi.compactUi&&(a.getElementsByTagName("img")[0].style.left="24px",a.getElementsByTagName("img")[0].style.top="5px",a.style.width=
+e-10+"px")};Toolbar.prototype.setFontName=function(a){if(null!=this.fontMenu){this.fontMenu.innerText="";var b=document.createElement("div");b.style.display="inline-block";b.style.overflow="hidden";b.style.textOverflow="ellipsis";b.style.maxWidth="66px";mxUtils.write(b,a);this.fontMenu.appendChild(b);this.appendDropDownImageHtml(this.fontMenu)}};
Toolbar.prototype.setFontSize=function(a){if(null!=this.sizeMenu){this.sizeMenu.innerText="";var b=document.createElement("div");b.style.display="inline-block";b.style.overflow="hidden";b.style.textOverflow="ellipsis";b.style.maxWidth="24px";mxUtils.write(b,a);this.sizeMenu.appendChild(b);this.appendDropDownImageHtml(this.sizeMenu)}};
-Toolbar.prototype.createTextToolbar=function(){var a=this.editorUi,b=a.editor.graph,d=this.addMenu("",mxResources.get("style"),!0,"formatBlock");d.style.position="relative";d.style.whiteSpace="nowrap";d.style.overflow="hidden";d.innerHTML=mxResources.get("style");this.appendDropDownImageHtml(d);EditorUi.compactUi&&(d.style.paddingRight="18px",d.getElementsByTagName("img")[0].style.right="1px",d.getElementsByTagName("img")[0].style.top="5px");this.addSeparator();this.fontMenu=this.addMenu("",mxResources.get("fontFamily"),
+Toolbar.prototype.createTextToolbar=function(){var a=this.editorUi,b=a.editor.graph,e=this.addMenu("",mxResources.get("style"),!0,"formatBlock");e.style.position="relative";e.style.whiteSpace="nowrap";e.style.overflow="hidden";e.innerHTML=mxResources.get("style");this.appendDropDownImageHtml(e);EditorUi.compactUi&&(e.style.paddingRight="18px",e.getElementsByTagName("img")[0].style.right="1px",e.getElementsByTagName("img")[0].style.top="5px");this.addSeparator();this.fontMenu=this.addMenu("",mxResources.get("fontFamily"),
!0,"fontFamily");this.fontMenu.style.position="relative";this.fontMenu.style.whiteSpace="nowrap";this.fontMenu.style.overflow="hidden";this.fontMenu.style.width="68px";this.setFontName(Menus.prototype.defaultFont);EditorUi.compactUi&&(this.fontMenu.style.paddingRight="18px",this.fontMenu.getElementsByTagName("img")[0].style.right="1px",this.fontMenu.getElementsByTagName("img")[0].style.top="5px");this.addSeparator();this.sizeMenu=this.addMenu(Menus.prototype.defaultFontSize,mxResources.get("fontSize"),
-!0,"fontSize");this.sizeMenu.style.position="relative";this.sizeMenu.style.whiteSpace="nowrap";this.sizeMenu.style.overflow="hidden";this.sizeMenu.style.width="24px";this.setFontSize(Menus.prototype.defaultFontSize);EditorUi.compactUi&&(this.sizeMenu.style.paddingRight="18px",this.sizeMenu.getElementsByTagName("img")[0].style.right="1px",this.sizeMenu.getElementsByTagName("img")[0].style.top="5px");d=this.addItems("- undo redo - bold italic underline".split(" "));d[1].setAttribute("title",mxResources.get("undo")+
-" ("+a.actions.get("undo").shortcut+")");d[2].setAttribute("title",mxResources.get("redo")+" ("+a.actions.get("redo").shortcut+")");d[4].setAttribute("title",mxResources.get("bold")+" ("+a.actions.get("bold").shortcut+")");d[5].setAttribute("title",mxResources.get("italic")+" ("+a.actions.get("italic").shortcut+")");d[6].setAttribute("title",mxResources.get("underline")+" ("+a.actions.get("underline").shortcut+")");var e=this.addMenuFunction("",mxResources.get("align"),!1,mxUtils.bind(this,function(f){g=
-f.addItem("",null,mxUtils.bind(this,function(h){b.cellEditor.alignText(mxConstants.ALIGN_LEFT,h);a.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ALIGN],"values",[mxConstants.ALIGN_LEFT],"cells",[b.cellEditor.getEditingCell()]))}),null,"geIcon geSprite geSprite-left");g.setAttribute("title",mxResources.get("left"));g=f.addItem("",null,mxUtils.bind(this,function(h){b.cellEditor.alignText(mxConstants.ALIGN_CENTER,h);a.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ALIGN],
-"values",[mxConstants.ALIGN_CENTER],"cells",[b.cellEditor.getEditingCell()]))}),null,"geIcon geSprite geSprite-center");g.setAttribute("title",mxResources.get("center"));g=f.addItem("",null,mxUtils.bind(this,function(h){b.cellEditor.alignText(mxConstants.ALIGN_RIGHT,h);a.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ALIGN],"values",[mxConstants.ALIGN_RIGHT],"cells",[b.cellEditor.getEditingCell()]))}),null,"geIcon geSprite geSprite-right");g.setAttribute("title",mxResources.get("right"));
-g=f.addItem("",null,mxUtils.bind(this,function(){document.execCommand("justifyfull",!1,null)}),null,"geIcon geSprite geSprite-justifyfull");g.setAttribute("title",mxResources.get("justifyfull"));g=f.addItem("",null,mxUtils.bind(this,function(){document.execCommand("insertorderedlist",!1,null)}),null,"geIcon geSprite geSprite-orderedlist");g.setAttribute("title",mxResources.get("numberedList"));g=f.addItem("",null,mxUtils.bind(this,function(){document.execCommand("insertunorderedlist",!1,null)}),null,
-"geIcon geSprite geSprite-unorderedlist");g.setAttribute("title",mxResources.get("bulletedList"));g=f.addItem("",null,mxUtils.bind(this,function(){document.execCommand("outdent",!1,null)}),null,"geIcon geSprite geSprite-outdent");g.setAttribute("title",mxResources.get("decreaseIndent"));g=f.addItem("",null,mxUtils.bind(this,function(){document.execCommand("indent",!1,null)}),null,"geIcon geSprite geSprite-indent");g.setAttribute("title",mxResources.get("increaseIndent"))}));e.style.position="relative";
-e.style.whiteSpace="nowrap";e.style.overflow="hidden";e.style.width="30px";e.innerText="";d=document.createElement("div");d.className="geSprite geSprite-left";d.style.marginLeft="-2px";e.appendChild(d);this.appendDropDownImageHtml(e);EditorUi.compactUi&&(e.getElementsByTagName("img")[0].style.left="22px",e.getElementsByTagName("img")[0].style.top="5px");e=this.addMenuFunction("",mxResources.get("format"),!1,mxUtils.bind(this,function(f){g=f.addItem("",null,this.editorUi.actions.get("subscript").funct,
-null,"geIcon geSprite geSprite-subscript");g.setAttribute("title",mxResources.get("subscript")+" ("+Editor.ctrlKey+"+,)");g=f.addItem("",null,this.editorUi.actions.get("superscript").funct,null,"geIcon geSprite geSprite-superscript");g.setAttribute("title",mxResources.get("superscript")+" ("+Editor.ctrlKey+"+.)");g=f.addItem("",null,this.editorUi.actions.get("fontColor").funct,null,"geIcon geSprite geSprite-fontcolor");g.setAttribute("title",mxResources.get("fontColor"));g=f.addItem("",null,this.editorUi.actions.get("backgroundColor").funct,
-null,"geIcon geSprite geSprite-fontbackground");g.setAttribute("title",mxResources.get("backgroundColor"));g=f.addItem("",null,mxUtils.bind(this,function(){document.execCommand("removeformat",!1,null)}),null,"geIcon geSprite geSprite-removeformat");g.setAttribute("title",mxResources.get("removeFormat"))}));e.style.position="relative";e.style.whiteSpace="nowrap";e.style.overflow="hidden";e.style.width="30px";e.innerText="";d=document.createElement("div");d.className="geSprite geSprite-dots";d.style.marginLeft=
-"-2px";e.appendChild(d);this.appendDropDownImageHtml(e);EditorUi.compactUi&&(e.getElementsByTagName("img")[0].style.left="22px",e.getElementsByTagName("img")[0].style.top="5px");this.addSeparator();this.addButton("geIcon geSprite geSprite-code",mxResources.get("html"),function(){b.cellEditor.toggleViewMode();0<b.cellEditor.textarea.innerHTML.length&&("&nbsp;"!=b.cellEditor.textarea.innerHTML||!b.cellEditor.clearOnChange)&&window.setTimeout(function(){document.execCommand("selectAll",!1,null)})});
-this.addSeparator();e=this.addMenuFunction("",mxResources.get("insert"),!0,mxUtils.bind(this,function(f){f.addItem(mxResources.get("insertLink"),null,mxUtils.bind(this,function(){this.editorUi.actions.get("link").funct()}));f.addItem(mxResources.get("insertImage"),null,mxUtils.bind(this,function(){this.editorUi.actions.get("image").funct()}));f.addItem(mxResources.get("insertHorizontalRule"),null,mxUtils.bind(this,function(){document.execCommand("inserthorizontalrule",!1,null)}))}));e.style.whiteSpace=
-"nowrap";e.style.overflow="hidden";e.style.position="relative";e.style.width="16px";e.innerText="";d=document.createElement("div");d.className="geSprite geSprite-plus";d.style.marginLeft="-4px";d.style.marginTop="-3px";e.appendChild(d);this.appendDropDownImageHtml(e);EditorUi.compactUi&&(e.getElementsByTagName("img")[0].style.left="24px",e.getElementsByTagName("img")[0].style.top="5px",e.style.width="30px");this.addSeparator();var g=this.addMenuFunction("geIcon geSprite geSprite-table",mxResources.get("table"),
-!1,mxUtils.bind(this,function(f){var h=b.getSelectedElement(),n=b.getParentByNames(h,["TD","TH"],b.cellEditor.text2),q=b.getParentByName(h,"TR",b.cellEditor.text2);if(null==q)this.editorUi.menus.addInsertTableItem(f);else{var l=b.getParentByName(q,"TABLE",b.cellEditor.text2);h=f.addItem("",null,mxUtils.bind(this,function(){try{b.selectNode(b.insertColumn(l,null!=n?n.cellIndex:0))}catch(p){this.editorUi.handleError(p)}}),null,"geIcon geSprite geSprite-insertcolumnbefore");h.setAttribute("title",mxResources.get("insertColumnBefore"));
-h=f.addItem("",null,mxUtils.bind(this,function(){try{b.selectNode(b.insertColumn(l,null!=n?n.cellIndex+1:-1))}catch(p){this.editorUi.handleError(p)}}),null,"geIcon geSprite geSprite-insertcolumnafter");h.setAttribute("title",mxResources.get("insertColumnAfter"));h=f.addItem("Delete column",null,mxUtils.bind(this,function(){if(null!=n)try{b.deleteColumn(l,n.cellIndex)}catch(p){this.editorUi.handleError(p)}}),null,"geIcon geSprite geSprite-deletecolumn");h.setAttribute("title",mxResources.get("deleteColumn"));
-h=f.addItem("",null,mxUtils.bind(this,function(){try{b.selectNode(b.insertRow(l,q.sectionRowIndex))}catch(p){this.editorUi.handleError(p)}}),null,"geIcon geSprite geSprite-insertrowbefore");h.setAttribute("title",mxResources.get("insertRowBefore"));h=f.addItem("",null,mxUtils.bind(this,function(){try{b.selectNode(b.insertRow(l,q.sectionRowIndex+1))}catch(p){this.editorUi.handleError(p)}}),null,"geIcon geSprite geSprite-insertrowafter");h.setAttribute("title",mxResources.get("insertRowAfter"));h=f.addItem("",
-null,mxUtils.bind(this,function(){try{b.deleteRow(l,q.sectionRowIndex)}catch(p){this.editorUi.handleError(p)}}),null,"geIcon geSprite geSprite-deleterow");h.setAttribute("title",mxResources.get("deleteRow"));h=f.addItem("",null,mxUtils.bind(this,function(){var p=l.style.borderColor.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,function(w,z,C,F){return"#"+("0"+Number(z).toString(16)).substr(-2)+("0"+Number(C).toString(16)).substr(-2)+("0"+Number(F).toString(16)).substr(-2)});this.editorUi.pickColor(p,
-function(w){null==w||w==mxConstants.NONE?(l.removeAttribute("border"),l.style.border="",l.style.borderCollapse=""):(l.setAttribute("border","1"),l.style.border="1px solid "+w,l.style.borderCollapse="collapse")})}),null,"geIcon geSprite geSprite-strokecolor");h.setAttribute("title",mxResources.get("borderColor"));h=f.addItem("",null,mxUtils.bind(this,function(){var p=l.style.backgroundColor.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,function(w,z,C,F){return"#"+("0"+Number(z).toString(16)).substr(-2)+
-("0"+Number(C).toString(16)).substr(-2)+("0"+Number(F).toString(16)).substr(-2)});this.editorUi.pickColor(p,function(w){l.style.backgroundColor=null==w||w==mxConstants.NONE?"":w})}),null,"geIcon geSprite geSprite-fillcolor");h.setAttribute("title",mxResources.get("backgroundColor"));h=f.addItem("",null,mxUtils.bind(this,function(){var p=l.getAttribute("cellPadding")||0;p=new FilenameDialog(this.editorUi,p,mxResources.get("apply"),mxUtils.bind(this,function(w){null!=w&&0<w.length?l.setAttribute("cellPadding",
-w):l.removeAttribute("cellPadding")}),mxResources.get("spacing"));this.editorUi.showDialog(p.container,300,80,!0,!0);p.init()}),null,"geIcon geSprite geSprite-fit");h.setAttribute("title",mxResources.get("spacing"));h=f.addItem("",null,mxUtils.bind(this,function(){l.setAttribute("align","left")}),null,"geIcon geSprite geSprite-left");h.setAttribute("title",mxResources.get("left"));h=f.addItem("",null,mxUtils.bind(this,function(){l.setAttribute("align","center")}),null,"geIcon geSprite geSprite-center");
-h.setAttribute("title",mxResources.get("center"));h=f.addItem("",null,mxUtils.bind(this,function(){l.setAttribute("align","right")}),null,"geIcon geSprite geSprite-right");h.setAttribute("title",mxResources.get("right"))}}));g.style.position="relative";g.style.whiteSpace="nowrap";g.style.overflow="hidden";g.style.width="30px";g.innerText="";d=document.createElement("div");d.className="geSprite geSprite-table";d.style.marginLeft="-2px";g.appendChild(d);this.appendDropDownImageHtml(g);EditorUi.compactUi&&
-(g.getElementsByTagName("img")[0].style.left="22px",g.getElementsByTagName("img")[0].style.top="5px")};Toolbar.prototype.hideMenu=function(){this.editorUi.hideCurrentMenu()};Toolbar.prototype.addMenu=function(a,b,d,e,g,f,h){var n=this.editorUi.menus.get(e),q=this.addMenuFunction(a,b,d,function(){n.funct.apply(n,arguments)},g,f);h||"function"!==typeof q.setEnabled||n.addListener("stateChanged",function(){q.setEnabled(n.enabled)});return q};
-Toolbar.prototype.addMenuFunction=function(a,b,d,e,g,f){return this.addMenuFunctionInContainer(null!=g?g:this.container,a,b,d,e,f)};Toolbar.prototype.addMenuFunctionInContainer=function(a,b,d,e,g,f){b=e?this.createLabel(b):this.createButton(b);this.initElement(b,d);this.addMenuHandler(b,e,g,f);a.appendChild(b);return b};Toolbar.prototype.addSeparator=function(a){a=null!=a?a:this.container;var b=document.createElement("div");b.className="geSeparator";a.appendChild(b);return b};
-Toolbar.prototype.addItems=function(a,b,d){for(var e=[],g=0;g<a.length;g++){var f=a[g];"-"==f?e.push(this.addSeparator(b)):e.push(this.addItem("geSprite-"+f.toLowerCase(),f,b,d))}return e};Toolbar.prototype.addItem=function(a,b,d,e){var g=this.editorUi.actions.get(b),f=null;null!=g&&(b=g.label,null!=g.shortcut&&(b+=" ("+g.shortcut+")"),f=this.addButton(a,b,g.funct,d),e||"function"!==typeof f.setEnabled||(f.setEnabled(g.enabled),g.addListener("stateChanged",function(){f.setEnabled(g.enabled)})));return f};
-Toolbar.prototype.addButton=function(a,b,d,e){a=this.createButton(a);e=null!=e?e:this.container;this.initElement(a,b);this.addClickHandler(a,d);e.appendChild(a);return a};Toolbar.prototype.initElement=function(a,b){null!=b&&a.setAttribute("title",b);this.addEnabledState(a)};Toolbar.prototype.addEnabledState=function(a){var b=a.className;a.setEnabled=function(d){a.enabled=d;a.className=d?b:b+" mxDisabled"};a.setEnabled(!0)};
-Toolbar.prototype.addClickHandler=function(a,b){null!=b&&(mxEvent.addListener(a,"click",function(d){a.enabled&&b(d);mxEvent.consume(d)}),mxEvent.addListener(a,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(d){d.preventDefault()})))};Toolbar.prototype.createButton=function(a){var b=document.createElement("a");b.className="geButton";var d=document.createElement("div");null!=a&&(d.className="geSprite "+a);b.appendChild(d);return b};
+!0,"fontSize");this.sizeMenu.style.position="relative";this.sizeMenu.style.whiteSpace="nowrap";this.sizeMenu.style.overflow="hidden";this.sizeMenu.style.width="24px";this.setFontSize(Menus.prototype.defaultFontSize);EditorUi.compactUi&&(this.sizeMenu.style.paddingRight="18px",this.sizeMenu.getElementsByTagName("img")[0].style.right="1px",this.sizeMenu.getElementsByTagName("img")[0].style.top="5px");e=this.addItems("- undo redo - bold italic underline".split(" "));e[1].setAttribute("title",mxResources.get("undo")+
+" ("+a.actions.get("undo").shortcut+")");e[2].setAttribute("title",mxResources.get("redo")+" ("+a.actions.get("redo").shortcut+")");e[4].setAttribute("title",mxResources.get("bold")+" ("+a.actions.get("bold").shortcut+")");e[5].setAttribute("title",mxResources.get("italic")+" ("+a.actions.get("italic").shortcut+")");e[6].setAttribute("title",mxResources.get("underline")+" ("+a.actions.get("underline").shortcut+")");var f=this.addMenuFunction("",mxResources.get("align"),!1,mxUtils.bind(this,function(d){h=
+d.addItem("",null,mxUtils.bind(this,function(g){b.cellEditor.alignText(mxConstants.ALIGN_LEFT,g);a.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ALIGN],"values",[mxConstants.ALIGN_LEFT],"cells",[b.cellEditor.getEditingCell()]))}),null,"geIcon geSprite geSprite-left");h.setAttribute("title",mxResources.get("left"));h=d.addItem("",null,mxUtils.bind(this,function(g){b.cellEditor.alignText(mxConstants.ALIGN_CENTER,g);a.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ALIGN],
+"values",[mxConstants.ALIGN_CENTER],"cells",[b.cellEditor.getEditingCell()]))}),null,"geIcon geSprite geSprite-center");h.setAttribute("title",mxResources.get("center"));h=d.addItem("",null,mxUtils.bind(this,function(g){b.cellEditor.alignText(mxConstants.ALIGN_RIGHT,g);a.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ALIGN],"values",[mxConstants.ALIGN_RIGHT],"cells",[b.cellEditor.getEditingCell()]))}),null,"geIcon geSprite geSprite-right");h.setAttribute("title",mxResources.get("right"));
+h=d.addItem("",null,mxUtils.bind(this,function(){document.execCommand("justifyfull",!1,null)}),null,"geIcon geSprite geSprite-justifyfull");h.setAttribute("title",mxResources.get("justifyfull"));h=d.addItem("",null,mxUtils.bind(this,function(){document.execCommand("insertorderedlist",!1,null)}),null,"geIcon geSprite geSprite-orderedlist");h.setAttribute("title",mxResources.get("numberedList"));h=d.addItem("",null,mxUtils.bind(this,function(){document.execCommand("insertunorderedlist",!1,null)}),null,
+"geIcon geSprite geSprite-unorderedlist");h.setAttribute("title",mxResources.get("bulletedList"));h=d.addItem("",null,mxUtils.bind(this,function(){document.execCommand("outdent",!1,null)}),null,"geIcon geSprite geSprite-outdent");h.setAttribute("title",mxResources.get("decreaseIndent"));h=d.addItem("",null,mxUtils.bind(this,function(){document.execCommand("indent",!1,null)}),null,"geIcon geSprite geSprite-indent");h.setAttribute("title",mxResources.get("increaseIndent"))}));f.style.position="relative";
+f.style.whiteSpace="nowrap";f.style.overflow="hidden";f.style.width="30px";f.innerText="";e=document.createElement("div");e.className="geSprite geSprite-left";e.style.marginLeft="-2px";f.appendChild(e);this.appendDropDownImageHtml(f);EditorUi.compactUi&&(f.getElementsByTagName("img")[0].style.left="22px",f.getElementsByTagName("img")[0].style.top="5px");f=this.addMenuFunction("",mxResources.get("format"),!1,mxUtils.bind(this,function(d){h=d.addItem("",null,this.editorUi.actions.get("subscript").funct,
+null,"geIcon geSprite geSprite-subscript");h.setAttribute("title",mxResources.get("subscript")+" ("+Editor.ctrlKey+"+,)");h=d.addItem("",null,this.editorUi.actions.get("superscript").funct,null,"geIcon geSprite geSprite-superscript");h.setAttribute("title",mxResources.get("superscript")+" ("+Editor.ctrlKey+"+.)");h=d.addItem("",null,this.editorUi.actions.get("fontColor").funct,null,"geIcon geSprite geSprite-fontcolor");h.setAttribute("title",mxResources.get("fontColor"));h=d.addItem("",null,this.editorUi.actions.get("backgroundColor").funct,
+null,"geIcon geSprite geSprite-fontbackground");h.setAttribute("title",mxResources.get("backgroundColor"));h=d.addItem("",null,mxUtils.bind(this,function(){document.execCommand("removeformat",!1,null)}),null,"geIcon geSprite geSprite-removeformat");h.setAttribute("title",mxResources.get("removeFormat"))}));f.style.position="relative";f.style.whiteSpace="nowrap";f.style.overflow="hidden";f.style.width="30px";f.innerText="";e=document.createElement("div");e.className="geSprite geSprite-dots";e.style.marginLeft=
+"-2px";f.appendChild(e);this.appendDropDownImageHtml(f);EditorUi.compactUi&&(f.getElementsByTagName("img")[0].style.left="22px",f.getElementsByTagName("img")[0].style.top="5px");this.addSeparator();this.addButton("geIcon geSprite geSprite-code",mxResources.get("html"),function(){b.cellEditor.toggleViewMode();0<b.cellEditor.textarea.innerHTML.length&&("&nbsp;"!=b.cellEditor.textarea.innerHTML||!b.cellEditor.clearOnChange)&&window.setTimeout(function(){document.execCommand("selectAll",!1,null)})});
+this.addSeparator();f=this.addMenuFunction("",mxResources.get("insert"),!0,mxUtils.bind(this,function(d){d.addItem(mxResources.get("insertLink"),null,mxUtils.bind(this,function(){this.editorUi.actions.get("link").funct()}));d.addItem(mxResources.get("insertImage"),null,mxUtils.bind(this,function(){this.editorUi.actions.get("image").funct()}));d.addItem(mxResources.get("insertHorizontalRule"),null,mxUtils.bind(this,function(){document.execCommand("inserthorizontalrule",!1,null)}))}));f.style.whiteSpace=
+"nowrap";f.style.overflow="hidden";f.style.position="relative";f.style.width="16px";f.innerText="";e=document.createElement("div");e.className="geSprite geSprite-plus";e.style.marginLeft="-4px";e.style.marginTop="-3px";f.appendChild(e);this.appendDropDownImageHtml(f);EditorUi.compactUi&&(f.getElementsByTagName("img")[0].style.left="24px",f.getElementsByTagName("img")[0].style.top="5px",f.style.width="30px");this.addSeparator();var h=this.addMenuFunction("geIcon geSprite geSprite-table",mxResources.get("table"),
+!1,mxUtils.bind(this,function(d){var g=b.getSelectedElement(),n=b.getParentByNames(g,["TD","TH"],b.cellEditor.text2),q=b.getParentByName(g,"TR",b.cellEditor.text2);if(null==q)this.editorUi.menus.addInsertTableItem(d);else{var k=b.getParentByName(q,"TABLE",b.cellEditor.text2);g=d.addItem("",null,mxUtils.bind(this,function(){try{b.selectNode(b.insertColumn(k,null!=n?n.cellIndex:0))}catch(p){this.editorUi.handleError(p)}}),null,"geIcon geSprite geSprite-insertcolumnbefore");g.setAttribute("title",mxResources.get("insertColumnBefore"));
+g=d.addItem("",null,mxUtils.bind(this,function(){try{b.selectNode(b.insertColumn(k,null!=n?n.cellIndex+1:-1))}catch(p){this.editorUi.handleError(p)}}),null,"geIcon geSprite geSprite-insertcolumnafter");g.setAttribute("title",mxResources.get("insertColumnAfter"));g=d.addItem("Delete column",null,mxUtils.bind(this,function(){if(null!=n)try{b.deleteColumn(k,n.cellIndex)}catch(p){this.editorUi.handleError(p)}}),null,"geIcon geSprite geSprite-deletecolumn");g.setAttribute("title",mxResources.get("deleteColumn"));
+g=d.addItem("",null,mxUtils.bind(this,function(){try{b.selectNode(b.insertRow(k,q.sectionRowIndex))}catch(p){this.editorUi.handleError(p)}}),null,"geIcon geSprite geSprite-insertrowbefore");g.setAttribute("title",mxResources.get("insertRowBefore"));g=d.addItem("",null,mxUtils.bind(this,function(){try{b.selectNode(b.insertRow(k,q.sectionRowIndex+1))}catch(p){this.editorUi.handleError(p)}}),null,"geIcon geSprite geSprite-insertrowafter");g.setAttribute("title",mxResources.get("insertRowAfter"));g=d.addItem("",
+null,mxUtils.bind(this,function(){try{b.deleteRow(k,q.sectionRowIndex)}catch(p){this.editorUi.handleError(p)}}),null,"geIcon geSprite geSprite-deleterow");g.setAttribute("title",mxResources.get("deleteRow"));g=d.addItem("",null,mxUtils.bind(this,function(){var p=k.style.borderColor.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,function(w,z,C,F){return"#"+("0"+Number(z).toString(16)).substr(-2)+("0"+Number(C).toString(16)).substr(-2)+("0"+Number(F).toString(16)).substr(-2)});this.editorUi.pickColor(p,
+function(w){null==w||w==mxConstants.NONE?(k.removeAttribute("border"),k.style.border="",k.style.borderCollapse=""):(k.setAttribute("border","1"),k.style.border="1px solid "+w,k.style.borderCollapse="collapse")})}),null,"geIcon geSprite geSprite-strokecolor");g.setAttribute("title",mxResources.get("borderColor"));g=d.addItem("",null,mxUtils.bind(this,function(){var p=k.style.backgroundColor.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,function(w,z,C,F){return"#"+("0"+Number(z).toString(16)).substr(-2)+
+("0"+Number(C).toString(16)).substr(-2)+("0"+Number(F).toString(16)).substr(-2)});this.editorUi.pickColor(p,function(w){k.style.backgroundColor=null==w||w==mxConstants.NONE?"":w})}),null,"geIcon geSprite geSprite-fillcolor");g.setAttribute("title",mxResources.get("backgroundColor"));g=d.addItem("",null,mxUtils.bind(this,function(){var p=k.getAttribute("cellPadding")||0;p=new FilenameDialog(this.editorUi,p,mxResources.get("apply"),mxUtils.bind(this,function(w){null!=w&&0<w.length?k.setAttribute("cellPadding",
+w):k.removeAttribute("cellPadding")}),mxResources.get("spacing"));this.editorUi.showDialog(p.container,300,80,!0,!0);p.init()}),null,"geIcon geSprite geSprite-fit");g.setAttribute("title",mxResources.get("spacing"));g=d.addItem("",null,mxUtils.bind(this,function(){k.setAttribute("align","left")}),null,"geIcon geSprite geSprite-left");g.setAttribute("title",mxResources.get("left"));g=d.addItem("",null,mxUtils.bind(this,function(){k.setAttribute("align","center")}),null,"geIcon geSprite geSprite-center");
+g.setAttribute("title",mxResources.get("center"));g=d.addItem("",null,mxUtils.bind(this,function(){k.setAttribute("align","right")}),null,"geIcon geSprite geSprite-right");g.setAttribute("title",mxResources.get("right"))}}));h.style.position="relative";h.style.whiteSpace="nowrap";h.style.overflow="hidden";h.style.width="30px";h.innerText="";e=document.createElement("div");e.className="geSprite geSprite-table";e.style.marginLeft="-2px";h.appendChild(e);this.appendDropDownImageHtml(h);EditorUi.compactUi&&
+(h.getElementsByTagName("img")[0].style.left="22px",h.getElementsByTagName("img")[0].style.top="5px")};Toolbar.prototype.hideMenu=function(){this.editorUi.hideCurrentMenu()};Toolbar.prototype.addMenu=function(a,b,e,f,h,d,g){var n=this.editorUi.menus.get(f),q=this.addMenuFunction(a,b,e,function(){n.funct.apply(n,arguments)},h,d);g||"function"!==typeof q.setEnabled||n.addListener("stateChanged",function(){q.setEnabled(n.enabled)});return q};
+Toolbar.prototype.addMenuFunction=function(a,b,e,f,h,d){return this.addMenuFunctionInContainer(null!=h?h:this.container,a,b,e,f,d)};Toolbar.prototype.addMenuFunctionInContainer=function(a,b,e,f,h,d){b=f?this.createLabel(b):this.createButton(b);this.initElement(b,e);this.addMenuHandler(b,f,h,d);a.appendChild(b);return b};Toolbar.prototype.addSeparator=function(a){a=null!=a?a:this.container;var b=document.createElement("div");b.className="geSeparator";a.appendChild(b);return b};
+Toolbar.prototype.addItems=function(a,b,e){for(var f=[],h=0;h<a.length;h++){var d=a[h];"-"==d?f.push(this.addSeparator(b)):f.push(this.addItem("geSprite-"+d.toLowerCase(),d,b,e))}return f};Toolbar.prototype.addItem=function(a,b,e,f){var h=this.editorUi.actions.get(b),d=null;null!=h&&(b=h.label,null!=h.shortcut&&(b+=" ("+h.shortcut+")"),d=this.addButton(a,b,h.funct,e),f||"function"!==typeof d.setEnabled||(d.setEnabled(h.enabled),h.addListener("stateChanged",function(){d.setEnabled(h.enabled)})));return d};
+Toolbar.prototype.addButton=function(a,b,e,f){a=this.createButton(a);f=null!=f?f:this.container;this.initElement(a,b);this.addClickHandler(a,e);f.appendChild(a);return a};Toolbar.prototype.initElement=function(a,b){null!=b&&a.setAttribute("title",b);this.addEnabledState(a)};Toolbar.prototype.addEnabledState=function(a){var b=a.className;a.setEnabled=function(e){a.enabled=e;a.className=e?b:b+" mxDisabled"};a.setEnabled(!0)};
+Toolbar.prototype.addClickHandler=function(a,b){null!=b&&(mxEvent.addListener(a,"click",function(e){a.enabled&&b(e);mxEvent.consume(e)}),mxEvent.addListener(a,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(e){e.preventDefault()})))};Toolbar.prototype.createButton=function(a){var b=document.createElement("a");b.className="geButton";var e=document.createElement("div");null!=a&&(e.className="geSprite "+a);b.appendChild(e);return b};
Toolbar.prototype.createLabel=function(a,b){b=document.createElement("a");b.className="geLabel";mxUtils.write(b,a);return b};
-Toolbar.prototype.addMenuHandler=function(a,b,d,e){if(null!=d){var g=this.editorUi.editor.graph,f=null,h=!0;mxEvent.addListener(a,"click",mxUtils.bind(this,function(n){if(h&&(null==a.enabled||a.enabled)){g.popupMenuHandler.hideMenu();f=new mxPopupMenu(d);f.smartSeparators=!0;f.div.className+=" geToolbarMenu";f.showDisabled=e;f.labels=b;f.autoExpand=!0;!b&&f.div.scrollHeight>f.div.clientHeight&&(f.div.style.width="40px");f.hideMenu=mxUtils.bind(this,function(){mxPopupMenu.prototype.hideMenu.apply(f,
-arguments);this.editorUi.resetCurrentMenu();f.destroy()});var q=mxUtils.getOffset(a);f.popup(q.x,q.y+a.offsetHeight,null,n);this.editorUi.setCurrentMenu(f,a)}h=!0;mxEvent.consume(n)}));mxEvent.addListener(a,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(n){h=null==f||null==f.div||null==f.div.parentNode;n.preventDefault()}))}};Toolbar.prototype.destroy=function(){null!=this.gestureHandler&&(mxEvent.removeGestureListeners(document,this.gestureHandler),this.gestureHandler=null)};var OpenDialog=function(){var a=document.createElement("iframe");a.style.backgroundColor="transparent";a.allowTransparency="true";a.style.borderStyle="none";a.style.borderWidth="0px";a.style.overflow="hidden";a.style.maxWidth="100%";a.frameBorder="0";a.setAttribute("width",(Editor.useLocalStorage?640:320)+"px");a.setAttribute("height",(Editor.useLocalStorage?480:220)+"px");a.setAttribute("src",OPEN_FORM);this.container=a},ColorDialog=function(a,b,d,e,g,f){function h(H,Z,S){var X=H.toLowerCase();if(null!=
-g&&(""==H||"automatic"==X||X==z.toLowerCase()||X==mxResources.get("default").toLowerCase())||X==mxResources.get("automatic").toLowerCase())H="default";X==mxResources.get("none").toLowerCase()&&(H="none");if(null!=g&&"default"==H)Z?H=f:null!=S&&(H=S);else if("none"!=H&&"#"!=H.charAt(0))try{var Y=document.createElement("canvas").getContext("2d");Y.fillStyle="#"+H;Y.fillStyle!="#"+H.toLowerCase()&&(Y.fillStyle=H,H=Y.fillStyle.substring(1).toUpperCase())}catch(M){}return H}function n(){var H=h(p.value,
-!1);/(^#?[a-zA-Z0-9]*$)/.test(H)?("default"!=H&&("none"!=H&&"#"!=H.charAt(0)&&(H="#"+H),ColorDialog.addRecentColor("none"!=H?H.substring(1):H,12)),w(H),a.hideDialog()):a.handleError({message:mxResources.get("invalidInput")})}function q(){mxClient.IS_TOUCH||(p.focus(),mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?p.select():document.execCommand("selectAll",!1,null))}function l(){var H=D(0==ColorDialog.recentColors.length?["FFFFFF"]:ColorDialog.recentColors,11,"FFFFFF",!0);H.style.marginBottom=
-"8px";return H}this.editorUi=a;var p=document.createElement("input");p.style.marginBottom="10px";p.style.marginLeft="8px";mxClient.IS_IE&&(p.style.marginTop="10px",document.body.appendChild(p));var w=null!=d?d:this.createApplyFunction();null==f&&(f=Editor.isDarkMode()&&"default"==g?"#ffffff":"#000000");var z=f.substring(1).toUpperCase()+" ("+mxResources.get("automatic")+")";this.init=function(){q()};var C=new mxJSColor.color(p);C.pickerOnfocus=!1;C.showPicker();d=document.createElement("div");mxJSColor.picker.box.style.position=
-"relative";mxJSColor.picker.box.style.width="230px";mxJSColor.picker.box.style.height="100px";mxJSColor.picker.box.style.paddingBottom="10px";d.appendChild(mxJSColor.picker.box);var F=document.createElement("center"),D=mxUtils.bind(this,function(H,Z,S,X){Z=null!=Z?Z:12;var Y=document.createElement("table");Y.style.borderCollapse="collapse";Y.setAttribute("cellspacing","0");Y.style.marginBottom="20px";Y.style.cellSpacing="0px";Y.style.marginLeft="1px";var M=document.createElement("tbody");Y.appendChild(M);
-for(var U=H.length/Z,ba=0;ba<U;ba++){for(var ja=document.createElement("tr"),pa=0;pa<Z;pa++)mxUtils.bind(this,function(P){var W=document.createElement("td");W.style.border="0px solid black";W.style.padding="0px";W.style.width="16px";W.style.height="16px";null==P&&(P=S);if(null!=P){W.style.borderWidth="1px";"none"==P?W.style.background="url('"+Dialog.prototype.noColorImage+"')":W.style.backgroundColor="#"+P;var V=this.colorNames[String(P).toUpperCase()];null!=V&&W.setAttribute("title",V)}ja.appendChild(W);
-null!=P&&(W.style.cursor="pointer",mxEvent.addListener(W,"click",function(){"none"==P?(C.fromString("ffffff"),p.value="none"):C.fromString(P)}),mxEvent.addListener(W,"dblclick",n))})(H[ba*Z+pa]);M.appendChild(ja)}X&&(H=document.createElement("td"),H.setAttribute("title",mxResources.get("reset")),H.className="geAdaptiveAsset",H.style.border="1px solid black",H.style.padding="0px",H.style.width="16px",H.style.height="16px",H.style.backgroundImage="url('"+Editor.crossImage+"')",H.style.backgroundPosition=
-"center center",H.style.backgroundSize="14px 14px",H.style.backgroundRepeat="no-repeat",H.style.cursor="pointer",ja.appendChild(H),mxEvent.addListener(H,"click",function(){ColorDialog.resetRecentColors();Y.parentNode.replaceChild(l(),Y)}));F.appendChild(Y);return Y}),G=216;d.appendChild(p);if(null!=g){G-=34;var K=mxUtils.button("",function(){C.fromString(f);p.value=z});K.setAttribute("title",mxResources.get("reset"));K.style.cursor="pointer";K.style.position="relative";K.style.marginLeft="4px";K.innerText=
-"";var I=document.createElement("div");I.style.background="url('"+Dialog.prototype.defaultColorImage+"')";I.style.backgroundPosition="center center";I.style.backgroundRepeat="no-repeat";I.style.display="inline-block";I.style.verticalAlign="middle";I.style.marginTop="-2px";I.style.width="12px";I.style.height="12px";K.appendChild(I);d.appendChild(K);mxEvent.addListener(K,"dblclick",n)}if(!mxClient.IS_IE&&!mxClient.IS_IE11){G-=34;var O=document.createElement("input");O.setAttribute("type","color");O.style.position=
-"relative";O.style.visibility="hidden";O.style.top="10px";O.style.width="0px";O.style.height="0px";O.style.border="none";d.style.whiteSpace="nowrap";d.appendChild(O);K=mxUtils.button("",function(){document.activeElement==O?p.focus():(O.value="#"+p.value,O.click())});K.style.cursor="pointer";I=document.createElement("img");I.src=Editor.colorDropperImage;I.className="geAdaptiveAsset";I.style.position="relative";I.style.verticalAlign="middle";I.style.marginTop="-2px";I.style.width="auto";I.style.height=
-"14px";K.appendChild(I);d.appendChild(K);mxEvent.addListener(O,"change",function(){C.fromString(h(O.value,!0))})}mxEvent.addListener(p,"change",function(){var H=p.value;C.fromString(h(H,!0));p.value=h(H,!1,z);q()});p.style.width=G+"px";mxUtils.br(d);l();G=D(this.presetColors);G.style.marginBottom="8px";G=D(this.defaultColors);G.style.marginBottom="16px";d.appendChild(F);G=document.createElement("div");G.style.textAlign="right";G.style.whiteSpace="nowrap";K=mxUtils.button(mxResources.get("cancel"),
-function(){a.hideDialog();null!=e&&e()});K.className="geBtn";a.editor.cancelFirst&&G.appendChild(K);I=mxUtils.button(mxResources.get("apply"),n);I.className="geBtn gePrimaryBtn";G.appendChild(I);a.editor.cancelFirst||G.appendChild(K);null!=b&&("default"==b?(C.fromString(f),p.value=z):"none"==b?(C.fromString("ffffff"),p.value="none"):C.fromString(b));d.appendChild(G);this.picker=C;this.colorInput=p;mxEvent.addListener(p,"keypress",function(H){13==H.keyCode&&n()});mxEvent.addListener(d,"keydown",function(H){27==
-H.keyCode&&(a.hideDialog(),null!=e&&e(),mxEvent.consume(H))});this.container=d};ColorDialog.prototype.presetColors="E6D0DE CDA2BE B5739D E1D5E7 C3ABD0 A680B8 D4E1F5 A9C4EB 7EA6E0 D5E8D4 9AC7BF 67AB9F D5E8D4 B9E0A5 97D077 FFF2CC FFE599 FFD966 FFF4C3 FFCE9F FFB570 F8CECC F19C99 EA6B66".split(" ");ColorDialog.prototype.colorNames={};ColorDialog.prototype.defaultColors="none FFFFFF E6E6E6 CCCCCC B3B3B3 999999 808080 666666 4D4D4D 333333 1A1A1A 000000 FFCCCC FFE6CC FFFFCC E6FFCC CCFFCC CCFFE6 CCFFFF CCE5FF CCCCFF E5CCFF FFCCFF FFCCE6 FF9999 FFCC99 FFFF99 CCFF99 99FF99 99FFCC 99FFFF 99CCFF 9999FF CC99FF FF99FF FF99CC FF6666 FFB366 FFFF66 B3FF66 66FF66 66FFB3 66FFFF 66B2FF 6666FF B266FF FF66FF FF66B3 FF3333 FF9933 FFFF33 99FF33 33FF33 33FF99 33FFFF 3399FF 3333FF 9933FF FF33FF FF3399 FF0000 FF8000 FFFF00 80FF00 00FF00 00FF80 00FFFF 007FFF 0000FF 7F00FF FF00FF FF0080 CC0000 CC6600 CCCC00 66CC00 00CC00 00CC66 00CCCC 0066CC 0000CC 6600CC CC00CC CC0066 990000 994C00 999900 4D9900 009900 00994D 009999 004C99 000099 4C0099 990099 99004D 660000 663300 666600 336600 006600 006633 006666 003366 000066 330066 660066 660033 330000 331A00 333300 1A3300 003300 00331A 003333 001933 000033 190033 330033 33001A".split(" ");
-ColorDialog.prototype.createApplyFunction=function(){return ColorDialog.createApplyFunction(this.editorUi,this.currentColorKey)};ColorDialog.createApplyFunction=function(a,b){return function(d){var e=a.editor.graph;e.getModel().beginUpdate();try{e.setCellStyles(b,d),a.fireEvent(new mxEventObject("styleChanged","keys",[b],"values",[d],"cells",e.getSelectionCells()))}finally{e.getModel().endUpdate()}}};ColorDialog.recentColors=[];
+Toolbar.prototype.addMenuHandler=function(a,b,e,f){if(null!=e){var h=this.editorUi.editor.graph,d=null,g=!0;mxEvent.addListener(a,"click",mxUtils.bind(this,function(n){if(g&&(null==a.enabled||a.enabled)){h.popupMenuHandler.hideMenu();d=new mxPopupMenu(e);d.smartSeparators=!0;d.div.className+=" geToolbarMenu";d.showDisabled=f;d.labels=b;d.autoExpand=!0;!b&&d.div.scrollHeight>d.div.clientHeight&&(d.div.style.width="40px");d.hideMenu=mxUtils.bind(this,function(){mxPopupMenu.prototype.hideMenu.apply(d,
+arguments);this.editorUi.resetCurrentMenu();d.destroy()});var q=mxUtils.getOffset(a);d.popup(q.x,q.y+a.offsetHeight,null,n);this.editorUi.setCurrentMenu(d,a)}g=!0;mxEvent.consume(n)}));mxEvent.addListener(a,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(n){g=null==d||null==d.div||null==d.div.parentNode;n.preventDefault()}))}};Toolbar.prototype.destroy=function(){null!=this.gestureHandler&&(mxEvent.removeGestureListeners(document,this.gestureHandler),this.gestureHandler=null)};var OpenDialog=function(){var a=document.createElement("iframe");a.style.backgroundColor="transparent";a.allowTransparency="true";a.style.borderStyle="none";a.style.borderWidth="0px";a.style.overflow="hidden";a.style.maxWidth="100%";a.frameBorder="0";a.setAttribute("width",(Editor.useLocalStorage?640:320)+"px");a.setAttribute("height",(Editor.useLocalStorage?480:220)+"px");a.setAttribute("src",OPEN_FORM);this.container=a},ColorDialog=function(a,b,e,f,h,d){function g(I,Z,S){var Y=I.toLowerCase();if(null!=
+h&&(""==I||"automatic"==Y||Y==z.toLowerCase()||Y==mxResources.get("default").toLowerCase())||Y==mxResources.get("automatic").toLowerCase())I="default";Y==mxResources.get("none").toLowerCase()&&(I="none");if(null!=h&&"default"==I)Z?I=d:null!=S&&(I=S);else if("none"!=I&&"#"!=I.charAt(0))try{var V=document.createElement("canvas").getContext("2d");V.fillStyle="#"+I;V.fillStyle!="#"+I.toLowerCase()&&(V.fillStyle=I,I=V.fillStyle.substring(1).toUpperCase())}catch(L){}return I}function n(){var I=g(p.value,
+!1);/(^#?[a-zA-Z0-9]*$)/.test(I)?("default"!=I&&("none"!=I&&"#"!=I.charAt(0)&&(I="#"+I),ColorDialog.addRecentColor("none"!=I?I.substring(1):I,12)),w(I),a.hideDialog()):a.handleError({message:mxResources.get("invalidInput")})}function q(){mxClient.IS_TOUCH||(p.focus(),mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?p.select():document.execCommand("selectAll",!1,null))}function k(){var I=D(0==ColorDialog.recentColors.length?["FFFFFF"]:ColorDialog.recentColors,11,"FFFFFF",!0);I.style.marginBottom=
+"8px";return I}this.editorUi=a;var p=document.createElement("input");p.style.marginBottom="10px";p.style.marginLeft="8px";mxClient.IS_IE&&(p.style.marginTop="10px",document.body.appendChild(p));var w=null!=e?e:this.createApplyFunction();null==d&&(d=Editor.isDarkMode()&&"default"==h?"#ffffff":"#000000");var z=d.substring(1).toUpperCase()+" ("+mxResources.get("automatic")+")";this.init=function(){q()};var C=new mxJSColor.color(p);C.pickerOnfocus=!1;C.showPicker();e=document.createElement("div");mxJSColor.picker.box.style.position=
+"relative";mxJSColor.picker.box.style.width="230px";mxJSColor.picker.box.style.height="100px";mxJSColor.picker.box.style.paddingBottom="10px";e.appendChild(mxJSColor.picker.box);var F=document.createElement("center"),D=mxUtils.bind(this,function(I,Z,S,Y){Z=null!=Z?Z:12;var V=document.createElement("table");V.style.borderCollapse="collapse";V.setAttribute("cellspacing","0");V.style.marginBottom="20px";V.style.cellSpacing="0px";V.style.marginLeft="1px";var L=document.createElement("tbody");V.appendChild(L);
+for(var U=I.length/Z,ba=0;ba<U;ba++){for(var ja=document.createElement("tr"),sa=0;sa<Z;sa++)mxUtils.bind(this,function(O){var T=document.createElement("td");T.style.border="0px solid black";T.style.padding="0px";T.style.width="16px";T.style.height="16px";null==O&&(O=S);if(null!=O){T.style.borderWidth="1px";"none"==O?T.style.background="url('"+Dialog.prototype.noColorImage+"')":T.style.backgroundColor="#"+O;var X=this.colorNames[String(O).toUpperCase()];null!=X&&T.setAttribute("title",X)}ja.appendChild(T);
+null!=O&&(T.style.cursor="pointer",mxEvent.addListener(T,"click",function(){"none"==O?(C.fromString("ffffff"),p.value="none"):C.fromString(O)}),mxEvent.addListener(T,"dblclick",n))})(I[ba*Z+sa]);L.appendChild(ja)}Y&&(I=document.createElement("td"),I.setAttribute("title",mxResources.get("reset")),I.className="geAdaptiveAsset",I.style.border="1px solid black",I.style.padding="0px",I.style.width="16px",I.style.height="16px",I.style.backgroundImage="url('"+Editor.crossImage+"')",I.style.backgroundPosition=
+"center center",I.style.backgroundSize="14px 14px",I.style.backgroundRepeat="no-repeat",I.style.cursor="pointer",ja.appendChild(I),mxEvent.addListener(I,"click",function(){ColorDialog.resetRecentColors();V.parentNode.replaceChild(k(),V)}));F.appendChild(V);return V}),H=216;e.appendChild(p);if(null!=h){H-=34;var K=mxUtils.button("",function(){C.fromString(d);p.value=z});K.setAttribute("title",mxResources.get("reset"));K.style.cursor="pointer";K.style.position="relative";K.style.marginLeft="4px";K.innerText=
+"";var G=document.createElement("div");G.style.background="url('"+Dialog.prototype.defaultColorImage+"')";G.style.backgroundPosition="center center";G.style.backgroundRepeat="no-repeat";G.style.display="inline-block";G.style.verticalAlign="middle";G.style.marginTop="-2px";G.style.width="12px";G.style.height="12px";K.appendChild(G);e.appendChild(K);mxEvent.addListener(K,"dblclick",n)}if(!mxClient.IS_IE&&!mxClient.IS_IE11){H-=34;var P=document.createElement("input");P.setAttribute("type","color");P.style.position=
+"relative";P.style.visibility="hidden";P.style.top="10px";P.style.width="0px";P.style.height="0px";P.style.border="none";e.style.whiteSpace="nowrap";e.appendChild(P);K=mxUtils.button("",function(){document.activeElement==P?p.focus():(P.value="#"+p.value,P.click())});K.style.cursor="pointer";G=document.createElement("img");G.src=Editor.colorDropperImage;G.className="geAdaptiveAsset";G.style.position="relative";G.style.verticalAlign="middle";G.style.marginTop="-2px";G.style.width="auto";G.style.height=
+"14px";K.appendChild(G);e.appendChild(K);mxEvent.addListener(P,"change",function(){C.fromString(g(P.value,!0))})}mxEvent.addListener(p,"change",function(){var I=p.value;C.fromString(g(I,!0));p.value=g(I,!1,z);q()});p.style.width=H+"px";mxUtils.br(e);k();H=D(this.presetColors);H.style.marginBottom="8px";H=D(this.defaultColors);H.style.marginBottom="16px";e.appendChild(F);H=document.createElement("div");H.style.textAlign="right";H.style.whiteSpace="nowrap";K=mxUtils.button(mxResources.get("cancel"),
+function(){a.hideDialog();null!=f&&f()});K.className="geBtn";a.editor.cancelFirst&&H.appendChild(K);G=mxUtils.button(mxResources.get("apply"),n);G.className="geBtn gePrimaryBtn";H.appendChild(G);a.editor.cancelFirst||H.appendChild(K);null!=b&&("default"==b?(C.fromString(d),p.value=z):"none"==b?(C.fromString("ffffff"),p.value="none"):C.fromString(b));e.appendChild(H);this.picker=C;this.colorInput=p;mxEvent.addListener(p,"keypress",function(I){13==I.keyCode&&n()});mxEvent.addListener(e,"keydown",function(I){27==
+I.keyCode&&(a.hideDialog(),null!=f&&f(),mxEvent.consume(I))});this.container=e};ColorDialog.prototype.presetColors="E6D0DE CDA2BE B5739D E1D5E7 C3ABD0 A680B8 D4E1F5 A9C4EB 7EA6E0 D5E8D4 9AC7BF 67AB9F D5E8D4 B9E0A5 97D077 FFF2CC FFE599 FFD966 FFF4C3 FFCE9F FFB570 F8CECC F19C99 EA6B66".split(" ");ColorDialog.prototype.colorNames={};ColorDialog.prototype.defaultColors="none FFFFFF E6E6E6 CCCCCC B3B3B3 999999 808080 666666 4D4D4D 333333 1A1A1A 000000 FFCCCC FFE6CC FFFFCC E6FFCC CCFFCC CCFFE6 CCFFFF CCE5FF CCCCFF E5CCFF FFCCFF FFCCE6 FF9999 FFCC99 FFFF99 CCFF99 99FF99 99FFCC 99FFFF 99CCFF 9999FF CC99FF FF99FF FF99CC FF6666 FFB366 FFFF66 B3FF66 66FF66 66FFB3 66FFFF 66B2FF 6666FF B266FF FF66FF FF66B3 FF3333 FF9933 FFFF33 99FF33 33FF33 33FF99 33FFFF 3399FF 3333FF 9933FF FF33FF FF3399 FF0000 FF8000 FFFF00 80FF00 00FF00 00FF80 00FFFF 007FFF 0000FF 7F00FF FF00FF FF0080 CC0000 CC6600 CCCC00 66CC00 00CC00 00CC66 00CCCC 0066CC 0000CC 6600CC CC00CC CC0066 990000 994C00 999900 4D9900 009900 00994D 009999 004C99 000099 4C0099 990099 99004D 660000 663300 666600 336600 006600 006633 006666 003366 000066 330066 660066 660033 330000 331A00 333300 1A3300 003300 00331A 003333 001933 000033 190033 330033 33001A".split(" ");
+ColorDialog.prototype.createApplyFunction=function(){return ColorDialog.createApplyFunction(this.editorUi,this.currentColorKey)};ColorDialog.createApplyFunction=function(a,b){return function(e){var f=a.editor.graph;f.getModel().beginUpdate();try{f.setCellStyles(b,e),a.fireEvent(new mxEventObject("styleChanged","keys",[b],"values",[e],"cells",f.getSelectionCells()))}finally{f.getModel().endUpdate()}}};ColorDialog.recentColors=[];
ColorDialog.addRecentColor=function(a,b){null!=a&&(mxUtils.remove(a,ColorDialog.recentColors),ColorDialog.recentColors.splice(0,0,a),ColorDialog.recentColors.length>=b&&ColorDialog.recentColors.pop())};ColorDialog.resetRecentColors=function(){ColorDialog.recentColors=[]};
-var AboutDialog=function(a){var b=document.createElement("div");b.setAttribute("align","center");var d=document.createElement("h3");mxUtils.write(d,mxResources.get("about")+" GraphEditor");b.appendChild(d);d=document.createElement("img");d.style.border="0px";d.setAttribute("width","176");d.setAttribute("width","151");d.setAttribute("src",IMAGE_PATH+"/logo.png");b.appendChild(d);mxUtils.br(b);mxUtils.write(b,"Powered by mxGraph "+mxClient.VERSION);mxUtils.br(b);d=document.createElement("a");d.setAttribute("href",
-"http://www.jgraph.com/");d.setAttribute("target","_blank");mxUtils.write(d,"www.jgraph.com");b.appendChild(d);mxUtils.br(b);mxUtils.br(b);d=mxUtils.button(mxResources.get("close"),function(){a.hideDialog()});d.className="geBtn gePrimaryBtn";b.appendChild(d);this.container=b},TextareaDialog=function(a,b,d,e,g,f,h,n,q,l,p,w,z,C,F){l=null!=l?l:!1;h=document.createElement("div");h.style.position="absolute";h.style.top="20px";h.style.bottom="20px";h.style.left="20px";h.style.right="20px";n=document.createElement("div");
-n.style.position="absolute";n.style.left="0px";n.style.right="0px";var D=n.cloneNode(!1),G=n.cloneNode(!1);n.style.top="0px";n.style.height="20px";D.style.top="20px";D.style.bottom="64px";G.style.bottom="0px";G.style.height="60px";G.style.textAlign="right";G.style.paddingTop="14px";G.style.boxSizing="border-box";mxUtils.write(n,b);h.appendChild(n);h.appendChild(D);h.appendChild(G);null!=F&&n.appendChild(F);var K=document.createElement("textarea");p&&K.setAttribute("wrap","off");K.setAttribute("spellcheck",
-"false");K.setAttribute("autocorrect","off");K.setAttribute("autocomplete","off");K.setAttribute("autocapitalize","off");mxUtils.write(K,d||"");K.style.resize="none";K.style.outline="none";K.style.position="absolute";K.style.boxSizing="border-box";K.style.top="0px";K.style.left="0px";K.style.height="100%";K.style.width="100%";this.textarea=K;this.init=function(){K.focus();K.scrollTop=0};D.appendChild(K);null==z||a.isOffline()||G.appendChild(a.createHelpIcon(z));if(null!=C)for(b=0;b<C.length;b++)(function(O,
-H,Z){O=mxUtils.button(O,function(S){H(S,K)});null!=Z&&O.setAttribute("title",Z);O.className="geBtn";G.appendChild(O)})(C[b][0],C[b][1],C[b][2]);f=mxUtils.button(f||mxResources.get("cancel"),function(){a.hideDialog();null!=g&&g()});f.setAttribute("title","Escape");f.className="geBtn";a.editor.cancelFirst&&G.appendChild(f);null!=q&&q(G,K);if(null!=e){var I=mxUtils.button(w||mxResources.get("apply"),function(){l||a.hideDialog();e(K.value)});I.setAttribute("title","Ctrl+Enter");I.className="geBtn gePrimaryBtn";
-G.appendChild(I);mxEvent.addListener(K,"keypress",function(O){13==O.keyCode&&mxEvent.isControlDown(O)&&I.click()})}a.editor.cancelFirst||G.appendChild(f);this.container=h},EditDiagramDialog=function(a){var b=document.createElement("div");b.style.textAlign="right";var d=document.createElement("textarea");d.setAttribute("wrap","off");d.setAttribute("spellcheck","false");d.setAttribute("autocorrect","off");d.setAttribute("autocomplete","off");d.setAttribute("autocapitalize","off");d.style.overflow="auto";
-d.style.resize="none";d.style.width="600px";d.style.height="360px";d.style.marginBottom="16px";var e=a.getDiagramSnapshot();d.value=mxUtils.getPrettyXml(e.node);b.appendChild(d);this.init=function(){d.focus()};Graph.fileSupport&&(d.addEventListener("dragover",function(n){n.stopPropagation();n.preventDefault()},!1),d.addEventListener("drop",function(n){n.stopPropagation();n.preventDefault();if(0<n.dataTransfer.files.length){n=n.dataTransfer.files[0];var q=new FileReader;q.onload=function(l){d.value=
-l.target.result};q.readAsText(n)}else d.value=a.extractGraphModelFromEvent(n)},!1));var g=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});g.className="geBtn";a.editor.cancelFirst&&b.appendChild(g);var f=document.createElement("select");f.style.textOverflow="ellipsis";f.style.width="196px";f.className="geBtn";if(a.editor.graph.isEnabled()){var h=document.createElement("option");h.setAttribute("value","apply");mxUtils.write(h,mxResources.get("apply",null,"Update Existing Drawing"));
-f.appendChild(h)}a.editor.graph.isEnabled()&&(h=document.createElement("option"),h.setAttribute("value","insert"),mxUtils.write(h,mxResources.get("insert")),f.appendChild(h));h=document.createElement("option");h.setAttribute("value","new");mxUtils.write(h,mxResources.get("openInNewWindow"));EditDiagramDialog.showNewWindowOption&&f.appendChild(h);b.appendChild(f);h=mxUtils.button(mxResources.get("ok"),function(){var n=Graph.zapGremlins(mxUtils.trim(d.value)),q=null;if("new"==f.value)a.hideDialog(),
-a.editor.editAsNew(n);else if("apply"==f.value)try{var l=mxUtils.parseXml(n).documentElement;a.updateDiagramData(e,l);a.hideDialog()}catch(C){q=C}else if("insert"==f.value){a.editor.graph.model.beginUpdate();try{var p=mxUtils.parseXml(n),w=new mxGraphModel;(new mxCodec(p)).decode(p.documentElement,w);var z=w.getChildren(w.getChildAt(w.getRoot(),0));a.editor.graph.setSelectionCells(a.editor.graph.importCells(z));a.hideDialog()}catch(C){q=C}finally{a.editor.graph.model.endUpdate()}}null!=q&&a.handleError(q)});
-h.className="geBtn gePrimaryBtn";b.appendChild(h);a.editor.cancelFirst||b.appendChild(g);this.container=b};EditDiagramDialog.showNewWindowOption=!0;
-var ExportDialog=function(a){function b(){var X=p.value,Y=X.lastIndexOf(".");p.value=0<Y?X.substring(0,Y+1)+w.value:X+"."+w.value;"xml"===w.value?(z.setAttribute("disabled","true"),C.setAttribute("disabled","true"),F.setAttribute("disabled","true"),H.setAttribute("disabled","true")):(z.removeAttribute("disabled"),C.removeAttribute("disabled"),F.removeAttribute("disabled"),H.removeAttribute("disabled"));"png"===w.value||"svg"===w.value||"pdf"===w.value?I.removeAttribute("disabled"):I.setAttribute("disabled",
-"disabled");"png"===w.value||"jpg"===w.value||"pdf"===w.value?O.removeAttribute("disabled"):O.setAttribute("disabled","disabled");"png"===w.value?(D.removeAttribute("disabled"),G.removeAttribute("disabled")):(D.setAttribute("disabled","disabled"),G.setAttribute("disabled","disabled"))}function d(){C.style.backgroundColor=C.value*F.value>MAX_AREA||0>=C.value?"red":"";F.style.backgroundColor=C.value*F.value>MAX_AREA||0>=F.value?"red":""}var e=a.editor.graph,g=e.getGraphBounds(),f=e.view.scale,h=Math.ceil(g.width/
-f),n=Math.ceil(g.height/f);f=document.createElement("table");var q=document.createElement("tbody");f.setAttribute("cellpadding",mxClient.IS_SF?"0":"2");g=document.createElement("tr");var l=document.createElement("td");l.style.fontSize="10pt";l.style.width="100px";mxUtils.write(l,mxResources.get("filename")+":");g.appendChild(l);var p=document.createElement("input");p.setAttribute("value",a.editor.getOrCreateFilename());p.style.width="180px";l=document.createElement("td");l.appendChild(p);g.appendChild(l);
-q.appendChild(g);g=document.createElement("tr");l=document.createElement("td");l.style.fontSize="10pt";mxUtils.write(l,mxResources.get("format")+":");g.appendChild(l);var w=document.createElement("select");w.style.width="180px";l=document.createElement("option");l.setAttribute("value","png");mxUtils.write(l,mxResources.get("formatPng"));w.appendChild(l);l=document.createElement("option");ExportDialog.showGifOption&&(l.setAttribute("value","gif"),mxUtils.write(l,mxResources.get("formatGif")),w.appendChild(l));
-l=document.createElement("option");l.setAttribute("value","jpg");mxUtils.write(l,mxResources.get("formatJpg"));w.appendChild(l);l=document.createElement("option");l.setAttribute("value","svg");mxUtils.write(l,mxResources.get("formatSvg"));w.appendChild(l);ExportDialog.showXmlOption&&(l=document.createElement("option"),l.setAttribute("value","xml"),mxUtils.write(l,mxResources.get("formatXml")),w.appendChild(l));l=document.createElement("td");l.appendChild(w);g.appendChild(l);q.appendChild(g);g=document.createElement("tr");
-l=document.createElement("td");l.style.fontSize="10pt";mxUtils.write(l,mxResources.get("zoom")+" (%):");g.appendChild(l);var z=document.createElement("input");z.setAttribute("type","number");z.setAttribute("value","100");z.style.width="180px";l=document.createElement("td");l.appendChild(z);g.appendChild(l);q.appendChild(g);g=document.createElement("tr");l=document.createElement("td");l.style.fontSize="10pt";mxUtils.write(l,mxResources.get("width")+":");g.appendChild(l);var C=document.createElement("input");
-C.setAttribute("value",h);C.style.width="180px";l=document.createElement("td");l.appendChild(C);g.appendChild(l);q.appendChild(g);g=document.createElement("tr");l=document.createElement("td");l.style.fontSize="10pt";mxUtils.write(l,mxResources.get("height")+":");g.appendChild(l);var F=document.createElement("input");F.setAttribute("value",n);F.style.width="180px";l=document.createElement("td");l.appendChild(F);g.appendChild(l);q.appendChild(g);g=document.createElement("tr");l=document.createElement("td");
-l.style.fontSize="10pt";mxUtils.write(l,mxResources.get("dpi")+":");g.appendChild(l);var D=document.createElement("select");D.style.width="180px";l=document.createElement("option");l.setAttribute("value","100");mxUtils.write(l,"100dpi");D.appendChild(l);l=document.createElement("option");l.setAttribute("value","200");mxUtils.write(l,"200dpi");D.appendChild(l);l=document.createElement("option");l.setAttribute("value","300");mxUtils.write(l,"300dpi");D.appendChild(l);l=document.createElement("option");
-l.setAttribute("value","400");mxUtils.write(l,"400dpi");D.appendChild(l);l=document.createElement("option");l.setAttribute("value","custom");mxUtils.write(l,mxResources.get("custom"));D.appendChild(l);var G=document.createElement("input");G.style.width="180px";G.style.display="none";G.setAttribute("value","100");G.setAttribute("type","number");G.setAttribute("min","50");G.setAttribute("step","50");var K=!1;mxEvent.addListener(D,"change",function(){"custom"==this.value?(this.style.display="none",G.style.display=
-"",G.focus()):(G.value=this.value,K||(z.value=this.value))});mxEvent.addListener(G,"change",function(){var X=parseInt(G.value);isNaN(X)||0>=X?G.style.backgroundColor="red":(G.style.backgroundColor="",K||(z.value=X))});l=document.createElement("td");l.appendChild(D);l.appendChild(G);g.appendChild(l);q.appendChild(g);g=document.createElement("tr");l=document.createElement("td");l.style.fontSize="10pt";mxUtils.write(l,mxResources.get("background")+":");g.appendChild(l);var I=document.createElement("input");
-I.setAttribute("type","checkbox");I.checked=null==e.background||e.background==mxConstants.NONE;l=document.createElement("td");l.appendChild(I);mxUtils.write(l,mxResources.get("transparent"));g.appendChild(l);q.appendChild(g);g=document.createElement("tr");l=document.createElement("td");l.style.fontSize="10pt";mxUtils.write(l,mxResources.get("grid")+":");g.appendChild(l);var O=document.createElement("input");O.setAttribute("type","checkbox");O.checked=!1;l=document.createElement("td");l.appendChild(O);
-g.appendChild(l);q.appendChild(g);g=document.createElement("tr");l=document.createElement("td");l.style.fontSize="10pt";mxUtils.write(l,mxResources.get("borderWidth")+":");g.appendChild(l);var H=document.createElement("input");H.setAttribute("type","number");H.setAttribute("value",ExportDialog.lastBorderValue);H.style.width="180px";l=document.createElement("td");l.appendChild(H);g.appendChild(l);q.appendChild(g);f.appendChild(q);mxEvent.addListener(w,"change",b);b();mxEvent.addListener(z,"change",
-function(){K=!0;var X=Math.max(0,parseFloat(z.value)||100)/100;z.value=parseFloat((100*X).toFixed(2));0<h?(C.value=Math.floor(h*X),F.value=Math.floor(n*X)):(z.value="100",C.value=h,F.value=n);d()});mxEvent.addListener(C,"change",function(){var X=parseInt(C.value)/h;0<X?(z.value=parseFloat((100*X).toFixed(2)),F.value=Math.floor(n*X)):(z.value="100",C.value=h,F.value=n);d()});mxEvent.addListener(F,"change",function(){var X=parseInt(F.value)/n;0<X?(z.value=parseFloat((100*X).toFixed(2)),C.value=Math.floor(h*
-X)):(z.value="100",C.value=h,F.value=n);d()});g=document.createElement("tr");l=document.createElement("td");l.setAttribute("align","right");l.style.paddingTop="22px";l.colSpan=2;var Z=mxUtils.button(mxResources.get("export"),mxUtils.bind(this,function(){if(0>=parseInt(z.value))mxUtils.alert(mxResources.get("drawingEmpty"));else{var X=p.value,Y=w.value,M=Math.max(0,parseFloat(z.value)||100)/100,U=Math.max(0,parseInt(H.value)),ba=e.background,ja=Math.max(1,parseInt(G.value));if(("svg"==Y||"png"==Y||
-"pdf"==Y)&&I.checked)ba=null;else if(null==ba||ba==mxConstants.NONE)ba="#ffffff";ExportDialog.lastBorderValue=U;ExportDialog.exportFile(a,X,Y,ba,M,U,ja,O.checked)}}));Z.className="geBtn gePrimaryBtn";var S=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});S.className="geBtn";a.editor.cancelFirst?(l.appendChild(S),l.appendChild(Z)):(l.appendChild(Z),l.appendChild(S));g.appendChild(l);q.appendChild(g);f.appendChild(q);this.container=f};ExportDialog.lastBorderValue=0;
+var AboutDialog=function(a){var b=document.createElement("div");b.setAttribute("align","center");var e=document.createElement("h3");mxUtils.write(e,mxResources.get("about")+" GraphEditor");b.appendChild(e);e=document.createElement("img");e.style.border="0px";e.setAttribute("width","176");e.setAttribute("width","151");e.setAttribute("src",IMAGE_PATH+"/logo.png");b.appendChild(e);mxUtils.br(b);mxUtils.write(b,"Powered by mxGraph "+mxClient.VERSION);mxUtils.br(b);e=document.createElement("a");e.setAttribute("href",
+"http://www.jgraph.com/");e.setAttribute("target","_blank");mxUtils.write(e,"www.jgraph.com");b.appendChild(e);mxUtils.br(b);mxUtils.br(b);e=mxUtils.button(mxResources.get("close"),function(){a.hideDialog()});e.className="geBtn gePrimaryBtn";b.appendChild(e);this.container=b},TextareaDialog=function(a,b,e,f,h,d,g,n,q,k,p,w,z,C,F){k=null!=k?k:!1;g=document.createElement("div");g.style.position="absolute";g.style.top="20px";g.style.bottom="20px";g.style.left="20px";g.style.right="20px";n=document.createElement("div");
+n.style.position="absolute";n.style.left="0px";n.style.right="0px";var D=n.cloneNode(!1),H=n.cloneNode(!1);n.style.top="0px";n.style.height="20px";D.style.top="20px";D.style.bottom="64px";H.style.bottom="0px";H.style.height="60px";H.style.textAlign="right";H.style.paddingTop="14px";H.style.boxSizing="border-box";mxUtils.write(n,b);g.appendChild(n);g.appendChild(D);g.appendChild(H);null!=F&&n.appendChild(F);var K=document.createElement("textarea");p&&K.setAttribute("wrap","off");K.setAttribute("spellcheck",
+"false");K.setAttribute("autocorrect","off");K.setAttribute("autocomplete","off");K.setAttribute("autocapitalize","off");mxUtils.write(K,e||"");K.style.resize="none";K.style.outline="none";K.style.position="absolute";K.style.boxSizing="border-box";K.style.top="0px";K.style.left="0px";K.style.height="100%";K.style.width="100%";this.textarea=K;this.init=function(){K.focus();K.scrollTop=0};D.appendChild(K);null==z||a.isOffline()||H.appendChild(a.createHelpIcon(z));if(null!=C)for(b=0;b<C.length;b++)(function(P,
+I,Z){P=mxUtils.button(P,function(S){I(S,K)});null!=Z&&P.setAttribute("title",Z);P.className="geBtn";H.appendChild(P)})(C[b][0],C[b][1],C[b][2]);d=mxUtils.button(d||mxResources.get("cancel"),function(){a.hideDialog();null!=h&&h()});d.setAttribute("title","Escape");d.className="geBtn";a.editor.cancelFirst&&H.appendChild(d);null!=q&&q(H,K);if(null!=f){var G=mxUtils.button(w||mxResources.get("apply"),function(){k||a.hideDialog();f(K.value)});G.setAttribute("title","Ctrl+Enter");G.className="geBtn gePrimaryBtn";
+H.appendChild(G);mxEvent.addListener(K,"keypress",function(P){13==P.keyCode&&mxEvent.isControlDown(P)&&G.click()})}a.editor.cancelFirst||H.appendChild(d);this.container=g},EditDiagramDialog=function(a){var b=document.createElement("div");b.style.textAlign="right";var e=document.createElement("textarea");e.setAttribute("wrap","off");e.setAttribute("spellcheck","false");e.setAttribute("autocorrect","off");e.setAttribute("autocomplete","off");e.setAttribute("autocapitalize","off");e.style.overflow="auto";
+e.style.resize="none";e.style.width="600px";e.style.height="360px";e.style.marginBottom="16px";var f=a.getDiagramSnapshot();e.value=mxUtils.getPrettyXml(f.node);b.appendChild(e);this.init=function(){e.focus()};Graph.fileSupport&&(e.addEventListener("dragover",function(n){n.stopPropagation();n.preventDefault()},!1),e.addEventListener("drop",function(n){n.stopPropagation();n.preventDefault();if(0<n.dataTransfer.files.length){n=n.dataTransfer.files[0];var q=new FileReader;q.onload=function(k){e.value=
+k.target.result};q.readAsText(n)}else e.value=a.extractGraphModelFromEvent(n)},!1));var h=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});h.className="geBtn";a.editor.cancelFirst&&b.appendChild(h);var d=document.createElement("select");d.style.textOverflow="ellipsis";d.style.width="196px";d.className="geBtn";if(a.editor.graph.isEnabled()){var g=document.createElement("option");g.setAttribute("value","apply");mxUtils.write(g,mxResources.get("apply",null,"Update Existing Drawing"));
+d.appendChild(g)}a.editor.graph.isEnabled()&&(g=document.createElement("option"),g.setAttribute("value","insert"),mxUtils.write(g,mxResources.get("insert")),d.appendChild(g));g=document.createElement("option");g.setAttribute("value","new");mxUtils.write(g,mxResources.get("openInNewWindow"));EditDiagramDialog.showNewWindowOption&&d.appendChild(g);b.appendChild(d);g=mxUtils.button(mxResources.get("ok"),function(){var n=Graph.zapGremlins(mxUtils.trim(e.value)),q=null;if("new"==d.value)a.hideDialog(),
+a.editor.editAsNew(n);else if("apply"==d.value)try{var k=mxUtils.parseXml(n).documentElement;a.updateDiagramData(f,k);a.hideDialog()}catch(C){q=C}else if("insert"==d.value){a.editor.graph.model.beginUpdate();try{var p=mxUtils.parseXml(n),w=new mxGraphModel;(new mxCodec(p)).decode(p.documentElement,w);var z=w.getChildren(w.getChildAt(w.getRoot(),0));a.editor.graph.setSelectionCells(a.editor.graph.importCells(z));a.hideDialog()}catch(C){q=C}finally{a.editor.graph.model.endUpdate()}}null!=q&&a.handleError(q)});
+g.className="geBtn gePrimaryBtn";b.appendChild(g);a.editor.cancelFirst||b.appendChild(h);this.container=b};EditDiagramDialog.showNewWindowOption=!0;
+var ExportDialog=function(a){function b(){var Y=p.value,V=Y.lastIndexOf(".");p.value=0<V?Y.substring(0,V+1)+w.value:Y+"."+w.value;"xml"===w.value?(z.setAttribute("disabled","true"),C.setAttribute("disabled","true"),F.setAttribute("disabled","true"),I.setAttribute("disabled","true")):(z.removeAttribute("disabled"),C.removeAttribute("disabled"),F.removeAttribute("disabled"),I.removeAttribute("disabled"));"png"===w.value||"svg"===w.value||"pdf"===w.value?G.removeAttribute("disabled"):G.setAttribute("disabled",
+"disabled");"png"===w.value||"jpg"===w.value||"pdf"===w.value?P.removeAttribute("disabled"):P.setAttribute("disabled","disabled");"png"===w.value?(D.removeAttribute("disabled"),H.removeAttribute("disabled")):(D.setAttribute("disabled","disabled"),H.setAttribute("disabled","disabled"))}function e(){C.style.backgroundColor=C.value*F.value>MAX_AREA||0>=C.value?"red":"";F.style.backgroundColor=C.value*F.value>MAX_AREA||0>=F.value?"red":""}var f=a.editor.graph,h=f.getGraphBounds(),d=f.view.scale,g=Math.ceil(h.width/
+d),n=Math.ceil(h.height/d);d=document.createElement("table");var q=document.createElement("tbody");d.setAttribute("cellpadding",mxClient.IS_SF?"0":"2");h=document.createElement("tr");var k=document.createElement("td");k.style.fontSize="10pt";k.style.width="100px";mxUtils.write(k,mxResources.get("filename")+":");h.appendChild(k);var p=document.createElement("input");p.setAttribute("value",a.editor.getOrCreateFilename());p.style.width="180px";k=document.createElement("td");k.appendChild(p);h.appendChild(k);
+q.appendChild(h);h=document.createElement("tr");k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("format")+":");h.appendChild(k);var w=document.createElement("select");w.style.width="180px";k=document.createElement("option");k.setAttribute("value","png");mxUtils.write(k,mxResources.get("formatPng"));w.appendChild(k);k=document.createElement("option");ExportDialog.showGifOption&&(k.setAttribute("value","gif"),mxUtils.write(k,mxResources.get("formatGif")),w.appendChild(k));
+k=document.createElement("option");k.setAttribute("value","jpg");mxUtils.write(k,mxResources.get("formatJpg"));w.appendChild(k);k=document.createElement("option");k.setAttribute("value","svg");mxUtils.write(k,mxResources.get("formatSvg"));w.appendChild(k);ExportDialog.showXmlOption&&(k=document.createElement("option"),k.setAttribute("value","xml"),mxUtils.write(k,mxResources.get("formatXml")),w.appendChild(k));k=document.createElement("td");k.appendChild(w);h.appendChild(k);q.appendChild(h);h=document.createElement("tr");
+k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("zoom")+" (%):");h.appendChild(k);var z=document.createElement("input");z.setAttribute("type","number");z.setAttribute("value","100");z.style.width="180px";k=document.createElement("td");k.appendChild(z);h.appendChild(k);q.appendChild(h);h=document.createElement("tr");k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("width")+":");h.appendChild(k);var C=document.createElement("input");
+C.setAttribute("value",g);C.style.width="180px";k=document.createElement("td");k.appendChild(C);h.appendChild(k);q.appendChild(h);h=document.createElement("tr");k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("height")+":");h.appendChild(k);var F=document.createElement("input");F.setAttribute("value",n);F.style.width="180px";k=document.createElement("td");k.appendChild(F);h.appendChild(k);q.appendChild(h);h=document.createElement("tr");k=document.createElement("td");
+k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("dpi")+":");h.appendChild(k);var D=document.createElement("select");D.style.width="180px";k=document.createElement("option");k.setAttribute("value","100");mxUtils.write(k,"100dpi");D.appendChild(k);k=document.createElement("option");k.setAttribute("value","200");mxUtils.write(k,"200dpi");D.appendChild(k);k=document.createElement("option");k.setAttribute("value","300");mxUtils.write(k,"300dpi");D.appendChild(k);k=document.createElement("option");
+k.setAttribute("value","400");mxUtils.write(k,"400dpi");D.appendChild(k);k=document.createElement("option");k.setAttribute("value","custom");mxUtils.write(k,mxResources.get("custom"));D.appendChild(k);var H=document.createElement("input");H.style.width="180px";H.style.display="none";H.setAttribute("value","100");H.setAttribute("type","number");H.setAttribute("min","50");H.setAttribute("step","50");var K=!1;mxEvent.addListener(D,"change",function(){"custom"==this.value?(this.style.display="none",H.style.display=
+"",H.focus()):(H.value=this.value,K||(z.value=this.value))});mxEvent.addListener(H,"change",function(){var Y=parseInt(H.value);isNaN(Y)||0>=Y?H.style.backgroundColor="red":(H.style.backgroundColor="",K||(z.value=Y))});k=document.createElement("td");k.appendChild(D);k.appendChild(H);h.appendChild(k);q.appendChild(h);h=document.createElement("tr");k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("background")+":");h.appendChild(k);var G=document.createElement("input");
+G.setAttribute("type","checkbox");G.checked=null==f.background||f.background==mxConstants.NONE;k=document.createElement("td");k.appendChild(G);mxUtils.write(k,mxResources.get("transparent"));h.appendChild(k);q.appendChild(h);h=document.createElement("tr");k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("grid")+":");h.appendChild(k);var P=document.createElement("input");P.setAttribute("type","checkbox");P.checked=!1;k=document.createElement("td");k.appendChild(P);
+h.appendChild(k);q.appendChild(h);h=document.createElement("tr");k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("borderWidth")+":");h.appendChild(k);var I=document.createElement("input");I.setAttribute("type","number");I.setAttribute("value",ExportDialog.lastBorderValue);I.style.width="180px";k=document.createElement("td");k.appendChild(I);h.appendChild(k);q.appendChild(h);d.appendChild(q);mxEvent.addListener(w,"change",b);b();mxEvent.addListener(z,"change",
+function(){K=!0;var Y=Math.max(0,parseFloat(z.value)||100)/100;z.value=parseFloat((100*Y).toFixed(2));0<g?(C.value=Math.floor(g*Y),F.value=Math.floor(n*Y)):(z.value="100",C.value=g,F.value=n);e()});mxEvent.addListener(C,"change",function(){var Y=parseInt(C.value)/g;0<Y?(z.value=parseFloat((100*Y).toFixed(2)),F.value=Math.floor(n*Y)):(z.value="100",C.value=g,F.value=n);e()});mxEvent.addListener(F,"change",function(){var Y=parseInt(F.value)/n;0<Y?(z.value=parseFloat((100*Y).toFixed(2)),C.value=Math.floor(g*
+Y)):(z.value="100",C.value=g,F.value=n);e()});h=document.createElement("tr");k=document.createElement("td");k.setAttribute("align","right");k.style.paddingTop="22px";k.colSpan=2;var Z=mxUtils.button(mxResources.get("export"),mxUtils.bind(this,function(){if(0>=parseInt(z.value))mxUtils.alert(mxResources.get("drawingEmpty"));else{var Y=p.value,V=w.value,L=Math.max(0,parseFloat(z.value)||100)/100,U=Math.max(0,parseInt(I.value)),ba=f.background,ja=Math.max(1,parseInt(H.value));if(("svg"==V||"png"==V||
+"pdf"==V)&&G.checked)ba=null;else if(null==ba||ba==mxConstants.NONE)ba="#ffffff";ExportDialog.lastBorderValue=U;ExportDialog.exportFile(a,Y,V,ba,L,U,ja,P.checked)}}));Z.className="geBtn gePrimaryBtn";var S=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});S.className="geBtn";a.editor.cancelFirst?(k.appendChild(S),k.appendChild(Z)):(k.appendChild(Z),k.appendChild(S));h.appendChild(k);q.appendChild(h);d.appendChild(q);this.container=d};ExportDialog.lastBorderValue=0;
ExportDialog.showGifOption=!0;ExportDialog.showXmlOption=!0;
-ExportDialog.exportFile=function(a,b,d,e,g,f,h,n){n=a.editor.graph;if("xml"==d)ExportDialog.saveLocalFile(a,mxUtils.getXml(a.editor.getGraphXml()),b,d);else if("svg"==d)ExportDialog.saveLocalFile(a,mxUtils.getXml(n.getSvg(e,g,f)),b,d);else{var q=n.getGraphBounds(),l=mxUtils.createXmlDocument(),p=l.createElement("output");l.appendChild(p);l=new mxXmlCanvas2D(p);l.translate(Math.floor((f/g-q.x)/n.view.scale),Math.floor((f/g-q.y)/n.view.scale));l.scale(g/n.view.scale);(new mxImageExport).drawState(n.getView().getState(n.model.root),
-l);p="xml="+encodeURIComponent(mxUtils.getXml(p));l=Math.ceil(q.width*g/n.view.scale+2*f);g=Math.ceil(q.height*g/n.view.scale+2*f);p.length<=MAX_REQUEST_SIZE&&l*g<MAX_AREA?(a.hideDialog(),(new mxXmlRequest(EXPORT_URL,"format="+d+"&filename="+encodeURIComponent(b)+"&bg="+(null!=e?e:"none")+"&w="+l+"&h="+g+"&"+p+"&dpi="+h)).simulate(document,"_blank")):mxUtils.alert(mxResources.get("drawingTooLarge"))}};
-ExportDialog.saveLocalFile=function(a,b,d,e){b.length<MAX_REQUEST_SIZE?(a.hideDialog(),(new mxXmlRequest(SAVE_URL,"xml="+encodeURIComponent(b)+"&filename="+encodeURIComponent(d)+"&format="+e)).simulate(document,"_blank")):(mxUtils.alert(mxResources.get("drawingTooLarge")),mxUtils.popup(xml))};
-var EditDataDialog=function(a,b){function d(){0<H.value.length?Z.removeAttribute("disabled"):Z.setAttribute("disabled","disabled")}var e=document.createElement("div"),g=a.editor.graph,f=g.getModel().getValue(b);if(!mxUtils.isNode(f)){var h=mxUtils.createXmlDocument().createElement("object");h.setAttribute("label",f||"");f=h}var n={};try{var q=mxUtils.getValue(a.editor.graph.getCurrentCellStyle(b),"metaData",null);null!=q&&(n=JSON.parse(q))}catch(X){}var l=new mxForm("properties");l.table.style.width=
-"100%";var p=f.attributes,w=[],z=[],C=0,F=null!=EditDataDialog.getDisplayIdForCell?EditDataDialog.getDisplayIdForCell(a,b):null,D=function(X,Y){var M=document.createElement("div");M.style.position="relative";M.style.paddingRight="20px";M.style.boxSizing="border-box";M.style.width="100%";var U=document.createElement("a"),ba=mxUtils.createImage(Dialog.prototype.closeImage);ba.style.height="9px";ba.style.fontSize="9px";ba.style.marginBottom=mxClient.IS_IE11?"-1px":"5px";U.className="geButton";U.setAttribute("title",
-mxResources.get("delete"));U.style.position="absolute";U.style.top="4px";U.style.right="0px";U.style.margin="0px";U.style.width="9px";U.style.height="9px";U.style.cursor="pointer";U.appendChild(ba);Y=function(ja){return function(){for(var pa=0,P=0;P<w.length;P++){if(w[P]==ja){z[P]=null;l.table.deleteRow(pa+(null!=F?1:0));break}null!=z[P]&&pa++}}}(Y);mxEvent.addListener(U,"click",Y);Y=X.parentNode;M.appendChild(X);M.appendChild(U);Y.appendChild(M)};h=function(X,Y,M){w[X]=Y;z[X]=l.addTextarea(w[C]+
-":",M,2);z[X].style.width="100%";0<M.indexOf("\n")&&z[X].setAttribute("rows","2");D(z[X],Y);null!=n[Y]&&0==n[Y].editable&&z[X].setAttribute("disabled","disabled")};q=[];for(var G=g.getModel().getParent(b)==g.getModel().getRoot(),K=g.getCellStyle(b),I=0;I<p.length;I++)("label"!=p[I].nodeName||"1"==K.metaEdit||Graph.translateDiagram||G)&&"placeholders"!=p[I].nodeName&&q.push({name:p[I].nodeName,value:p[I].nodeValue});q.sort(function(X,Y){return"label"==X.name?1:"label"==Y.name?-1:X.name<Y.name?-1:X.name>
-Y.name?1:0});if(null!=F){p=document.createElement("div");p.style.width="100%";p.style.fontSize="11px";p.style.textAlign="center";mxUtils.write(p,F);var O=l.addField(mxResources.get("id")+":",p);mxEvent.addListener(p,"dblclick",function(X){X=new FilenameDialog(a,F,mxResources.get("apply"),mxUtils.bind(this,function(Y){if(null!=Y&&0<Y.length&&Y!=F)if(g.model.isRoot(b)){var M=a.getPageById(F);if(null!=M)if(null==a.getPageById(Y)){var U=a.getPageIndex(M);0<=U&&(a.removePage(M),M.node.setAttribute("id",
-Y),F=Y,O.innerHTML=mxUtils.htmlEntities(Y),a.insertPage(M,U))}else a.handleError({message:mxResources.get("alreadyExst",[mxResources.get("page")])})}else null==g.getModel().getCell(Y)?(g.getModel().cellRemoved(b),b.setId(Y),F=Y,O.innerHTML=mxUtils.htmlEntities(Y),g.getModel().cellAdded(b)):a.handleError({message:mxResources.get("alreadyExst",[Y])})}),mxResources.get("id"));a.showDialog(X.container,300,80,!0,!0);X.init()})}for(I=0;I<q.length;I++)h(C,q[I].name,q[I].value),C++;q=document.createElement("div");
-q.style.position="absolute";q.style.top="30px";q.style.left="30px";q.style.right="30px";q.style.bottom="80px";q.style.overflowY="auto";q.appendChild(l.table);h=document.createElement("div");h.style.display="flex";h.style.alignItems="center";h.style.boxSizing="border-box";h.style.paddingRight="160px";h.style.whiteSpace="nowrap";h.style.marginTop="6px";h.style.width="100%";var H=document.createElement("input");H.setAttribute("placeholder",mxResources.get("enterPropertyName"));H.setAttribute("type",
-"text");H.setAttribute("size",mxClient.IS_IE||mxClient.IS_IE11?"36":"40");H.style.boxSizing="border-box";H.style.borderWidth="1px";H.style.borderStyle="solid";H.style.marginLeft="2px";H.style.padding="4px";H.style.width="100%";h.appendChild(H);q.appendChild(h);e.appendChild(q);var Z=mxUtils.button(mxResources.get("addProperty"),function(){var X=H.value;if(0<X.length&&"label"!=X&&"id"!=X&&"placeholders"!=X&&0>X.indexOf(":"))try{var Y=mxUtils.indexOf(w,X);if(0<=Y&&null!=z[Y])z[Y].focus();else{f.cloneNode(!1).setAttribute(X,
-"");0<=Y&&(w.splice(Y,1),z.splice(Y,1));w.push(X);var M=l.addTextarea(X+":","",2);M.style.width="100%";z.push(M);D(M,X);M.focus()}Z.setAttribute("disabled","disabled");H.value=""}catch(U){mxUtils.alert(U)}else mxUtils.alert(mxResources.get("invalidName"))});mxEvent.addListener(H,"keypress",function(X){13==X.keyCode&&Z.click()});this.init=function(){0<z.length?z[0].focus():H.focus()};Z.setAttribute("title",mxResources.get("addProperty"));Z.setAttribute("disabled","disabled");Z.style.textOverflow="ellipsis";
-Z.style.position="absolute";Z.style.overflow="hidden";Z.style.width="144px";Z.style.right="0px";Z.className="geBtn";h.appendChild(Z);q=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog.apply(a,arguments)});q.setAttribute("title","Escape");q.className="geBtn";h=mxUtils.button(mxResources.get("export"),mxUtils.bind(this,function(X){var Y=g.getDataForCells([b],!0);X=new EmbedDialog(a,JSON.stringify(Y,null,2),null,null,function(){console.log(Y);a.alert("Written to Console (Dev Tools)")},
-mxResources.get("export"),null,"Console","data.json");a.showDialog(X.container,450,240,!0,!0);X.init()}));h.setAttribute("title",mxResources.get("export"));h.className="geBtn";var S=mxUtils.button(mxResources.get("apply"),function(){try{a.hideDialog.apply(a,arguments);f=f.cloneNode(!0);for(var X=!1,Y=0;Y<w.length;Y++)null==z[Y]?f.removeAttribute(w[Y]):(f.setAttribute(w[Y],z[Y].value),X=X||"placeholder"==w[Y]&&"1"==f.getAttribute("placeholders"));X&&f.removeAttribute("label");g.getModel().setValue(b,
-f)}catch(M){mxUtils.alert(M)}});S.setAttribute("title","Ctrl+Enter");S.className="geBtn gePrimaryBtn";mxEvent.addListener(e,"keypress",function(X){13==X.keyCode&&mxEvent.isControlDown(X)&&S.click()});mxEvent.addListener(H,"keyup",d);mxEvent.addListener(H,"change",d);p=document.createElement("div");p.style.cssText="position:absolute;left:30px;right:30px;text-align:right;bottom:30px;height:40px;";if(a.editor.graph.getModel().isVertex(b)||a.editor.graph.getModel().isEdge(b))G=document.createElement("span"),
-G.style.marginRight="10px",K=document.createElement("input"),K.setAttribute("type","checkbox"),K.style.marginRight="6px","1"==f.getAttribute("placeholders")&&(K.setAttribute("checked","checked"),K.defaultChecked=!0),mxEvent.addListener(K,"click",function(){"1"==f.getAttribute("placeholders")?f.removeAttribute("placeholders"):f.setAttribute("placeholders","1")}),G.appendChild(K),mxUtils.write(G,mxResources.get("placeholders")),null!=EditDataDialog.placeholderHelpLink&&G.appendChild(a.createHelpIcon(EditDataDialog.placeholderHelpLink)),
-p.appendChild(G);a.editor.cancelFirst&&p.appendChild(q);p.appendChild(h);p.appendChild(S);a.editor.cancelFirst||p.appendChild(q);e.appendChild(p);this.container=e};EditDataDialog.getDisplayIdForCell=function(a,b){var d=null;null!=a.editor.graph.getModel().getParent(b)&&(d=b.getId());return d};EditDataDialog.placeholderHelpLink=null;
-var LinkDialog=function(a,b,d,e){var g=document.createElement("div");mxUtils.write(g,mxResources.get("editLink")+":");var f=document.createElement("div");f.className="geTitle";f.style.backgroundColor="transparent";f.style.borderColor="transparent";f.style.whiteSpace="nowrap";f.style.textOverflow="clip";f.style.cursor="default";f.style.paddingRight="20px";var h=document.createElement("input");h.setAttribute("value",b);h.setAttribute("placeholder","http://www.example.com/");h.setAttribute("type","text");
-h.style.marginTop="6px";h.style.width="400px";h.style.backgroundImage="url('"+Dialog.prototype.clearImage+"')";h.style.backgroundRepeat="no-repeat";h.style.backgroundPosition="100% 50%";h.style.paddingRight="14px";b=document.createElement("div");b.setAttribute("title",mxResources.get("reset"));b.style.position="relative";b.style.left="-16px";b.style.width="12px";b.style.height="14px";b.style.cursor="pointer";b.style.display="inline-block";b.style.top="3px";b.style.background="url("+IMAGE_PATH+"/transparent.gif)";
-mxEvent.addListener(b,"click",function(){h.value="";h.focus()});f.appendChild(h);f.appendChild(b);g.appendChild(f);this.init=function(){h.focus();mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?h.select():document.execCommand("selectAll",!1,null)};f=document.createElement("div");f.style.marginTop="18px";f.style.textAlign="right";mxEvent.addListener(h,"keypress",function(n){13==n.keyCode&&(a.hideDialog(),e(h.value))});b=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});
-b.className="geBtn";a.editor.cancelFirst&&f.appendChild(b);d=mxUtils.button(d,function(){a.hideDialog();e(h.value)});d.className="geBtn gePrimaryBtn";f.appendChild(d);a.editor.cancelFirst||f.appendChild(b);g.appendChild(f);this.container=g},OutlineWindow=function(a,b,d,e,g){var f=a.editor.graph,h=document.createElement("div");h.style.position="absolute";h.style.width="100%";h.style.height="100%";h.style.overflow="hidden";this.window=new mxWindow(mxResources.get("outline"),h,b,d,e,g,!0,!0);this.window.minimumSize=
+ExportDialog.exportFile=function(a,b,e,f,h,d,g,n){n=a.editor.graph;if("xml"==e)ExportDialog.saveLocalFile(a,mxUtils.getXml(a.editor.getGraphXml()),b,e);else if("svg"==e)ExportDialog.saveLocalFile(a,mxUtils.getXml(n.getSvg(f,h,d)),b,e);else{var q=n.getGraphBounds(),k=mxUtils.createXmlDocument(),p=k.createElement("output");k.appendChild(p);k=new mxXmlCanvas2D(p);k.translate(Math.floor((d/h-q.x)/n.view.scale),Math.floor((d/h-q.y)/n.view.scale));k.scale(h/n.view.scale);(new mxImageExport).drawState(n.getView().getState(n.model.root),
+k);p="xml="+encodeURIComponent(mxUtils.getXml(p));k=Math.ceil(q.width*h/n.view.scale+2*d);h=Math.ceil(q.height*h/n.view.scale+2*d);p.length<=MAX_REQUEST_SIZE&&k*h<MAX_AREA?(a.hideDialog(),(new mxXmlRequest(EXPORT_URL,"format="+e+"&filename="+encodeURIComponent(b)+"&bg="+(null!=f?f:"none")+"&w="+k+"&h="+h+"&"+p+"&dpi="+g)).simulate(document,"_blank")):mxUtils.alert(mxResources.get("drawingTooLarge"))}};
+ExportDialog.saveLocalFile=function(a,b,e,f){b.length<MAX_REQUEST_SIZE?(a.hideDialog(),(new mxXmlRequest(SAVE_URL,"xml="+encodeURIComponent(b)+"&filename="+encodeURIComponent(e)+"&format="+f)).simulate(document,"_blank")):(mxUtils.alert(mxResources.get("drawingTooLarge")),mxUtils.popup(xml))};
+var EditDataDialog=function(a,b){function e(){0<I.value.length?Z.removeAttribute("disabled"):Z.setAttribute("disabled","disabled")}var f=document.createElement("div"),h=a.editor.graph,d=h.getModel().getValue(b);if(!mxUtils.isNode(d)){var g=mxUtils.createXmlDocument().createElement("object");g.setAttribute("label",d||"");d=g}var n={};try{var q=mxUtils.getValue(a.editor.graph.getCurrentCellStyle(b),"metaData",null);null!=q&&(n=JSON.parse(q))}catch(Y){}var k=new mxForm("properties");k.table.style.width=
+"100%";var p=d.attributes,w=[],z=[],C=0,F=null!=EditDataDialog.getDisplayIdForCell?EditDataDialog.getDisplayIdForCell(a,b):null,D=function(Y,V){var L=document.createElement("div");L.style.position="relative";L.style.paddingRight="20px";L.style.boxSizing="border-box";L.style.width="100%";var U=document.createElement("a"),ba=mxUtils.createImage(Dialog.prototype.closeImage);ba.style.height="9px";ba.style.fontSize="9px";ba.style.marginBottom=mxClient.IS_IE11?"-1px":"5px";U.className="geButton";U.setAttribute("title",
+mxResources.get("delete"));U.style.position="absolute";U.style.top="4px";U.style.right="0px";U.style.margin="0px";U.style.width="9px";U.style.height="9px";U.style.cursor="pointer";U.appendChild(ba);V=function(ja){return function(){for(var sa=0,O=0;O<w.length;O++){if(w[O]==ja){z[O]=null;k.table.deleteRow(sa+(null!=F?1:0));break}null!=z[O]&&sa++}}}(V);mxEvent.addListener(U,"click",V);V=Y.parentNode;L.appendChild(Y);L.appendChild(U);V.appendChild(L)};g=function(Y,V,L){w[Y]=V;z[Y]=k.addTextarea(w[C]+
+":",L,2);z[Y].style.width="100%";0<L.indexOf("\n")&&z[Y].setAttribute("rows","2");D(z[Y],V);null!=n[V]&&0==n[V].editable&&z[Y].setAttribute("disabled","disabled")};q=[];for(var H=h.getModel().getParent(b)==h.getModel().getRoot(),K=h.getCellStyle(b),G=0;G<p.length;G++)("label"!=p[G].nodeName||"1"==K.metaEdit||Graph.translateDiagram||H)&&"placeholders"!=p[G].nodeName&&q.push({name:p[G].nodeName,value:p[G].nodeValue});q.sort(function(Y,V){return"label"==Y.name?1:"label"==V.name?-1:Y.name<V.name?-1:Y.name>
+V.name?1:0});if(null!=F){p=document.createElement("div");p.style.width="100%";p.style.fontSize="11px";p.style.textAlign="center";mxUtils.write(p,F);var P=k.addField(mxResources.get("id")+":",p);mxEvent.addListener(p,"dblclick",function(Y){Y=new FilenameDialog(a,F,mxResources.get("apply"),mxUtils.bind(this,function(V){if(null!=V&&0<V.length&&V!=F)if(h.model.isRoot(b)){var L=a.getPageById(F);if(null!=L)if(null==a.getPageById(V)){var U=a.getPageIndex(L);0<=U&&(a.removePage(L),L.node.setAttribute("id",
+V),F=V,P.innerHTML=mxUtils.htmlEntities(V),a.insertPage(L,U))}else a.handleError({message:mxResources.get("alreadyExst",[mxResources.get("page")])})}else null==h.getModel().getCell(V)?(h.getModel().cellRemoved(b),b.setId(V),F=V,P.innerHTML=mxUtils.htmlEntities(V),h.getModel().cellAdded(b)):a.handleError({message:mxResources.get("alreadyExst",[V])})}),mxResources.get("id"));a.showDialog(Y.container,300,80,!0,!0);Y.init()})}for(G=0;G<q.length;G++)g(C,q[G].name,q[G].value),C++;q=document.createElement("div");
+q.style.position="absolute";q.style.top="30px";q.style.left="30px";q.style.right="30px";q.style.bottom="80px";q.style.overflowY="auto";q.appendChild(k.table);g=document.createElement("div");g.style.display="flex";g.style.alignItems="center";g.style.boxSizing="border-box";g.style.paddingRight="160px";g.style.whiteSpace="nowrap";g.style.marginTop="6px";g.style.width="100%";var I=document.createElement("input");I.setAttribute("placeholder",mxResources.get("enterPropertyName"));I.setAttribute("type",
+"text");I.setAttribute("size",mxClient.IS_IE||mxClient.IS_IE11?"36":"40");I.style.boxSizing="border-box";I.style.borderWidth="1px";I.style.borderStyle="solid";I.style.marginLeft="2px";I.style.padding="4px";I.style.width="100%";g.appendChild(I);q.appendChild(g);f.appendChild(q);var Z=mxUtils.button(mxResources.get("addProperty"),function(){var Y=I.value;if(0<Y.length&&"label"!=Y&&"id"!=Y&&"placeholders"!=Y&&0>Y.indexOf(":"))try{var V=mxUtils.indexOf(w,Y);if(0<=V&&null!=z[V])z[V].focus();else{d.cloneNode(!1).setAttribute(Y,
+"");0<=V&&(w.splice(V,1),z.splice(V,1));w.push(Y);var L=k.addTextarea(Y+":","",2);L.style.width="100%";z.push(L);D(L,Y);L.focus()}Z.setAttribute("disabled","disabled");I.value=""}catch(U){mxUtils.alert(U)}else mxUtils.alert(mxResources.get("invalidName"))});mxEvent.addListener(I,"keypress",function(Y){13==Y.keyCode&&Z.click()});this.init=function(){0<z.length?z[0].focus():I.focus()};Z.setAttribute("title",mxResources.get("addProperty"));Z.setAttribute("disabled","disabled");Z.style.textOverflow="ellipsis";
+Z.style.position="absolute";Z.style.overflow="hidden";Z.style.width="144px";Z.style.right="0px";Z.className="geBtn";g.appendChild(Z);q=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog.apply(a,arguments)});q.setAttribute("title","Escape");q.className="geBtn";g=mxUtils.button(mxResources.get("export"),mxUtils.bind(this,function(Y){var V=h.getDataForCells([b],!0);Y=new EmbedDialog(a,JSON.stringify(V,null,2),null,null,function(){console.log(V);a.alert("Written to Console (Dev Tools)")},
+mxResources.get("export"),null,"Console","data.json");a.showDialog(Y.container,450,240,!0,!0);Y.init()}));g.setAttribute("title",mxResources.get("export"));g.className="geBtn";var S=mxUtils.button(mxResources.get("apply"),function(){try{a.hideDialog.apply(a,arguments);d=d.cloneNode(!0);for(var Y=!1,V=0;V<w.length;V++)null==z[V]?d.removeAttribute(w[V]):(d.setAttribute(w[V],z[V].value),Y=Y||"placeholder"==w[V]&&"1"==d.getAttribute("placeholders"));Y&&d.removeAttribute("label");h.getModel().setValue(b,
+d)}catch(L){mxUtils.alert(L)}});S.setAttribute("title","Ctrl+Enter");S.className="geBtn gePrimaryBtn";mxEvent.addListener(f,"keypress",function(Y){13==Y.keyCode&&mxEvent.isControlDown(Y)&&S.click()});mxEvent.addListener(I,"keyup",e);mxEvent.addListener(I,"change",e);p=document.createElement("div");p.style.cssText="position:absolute;left:30px;right:30px;text-align:right;bottom:30px;height:40px;";if(a.editor.graph.getModel().isVertex(b)||a.editor.graph.getModel().isEdge(b))H=document.createElement("span"),
+H.style.marginRight="10px",K=document.createElement("input"),K.setAttribute("type","checkbox"),K.style.marginRight="6px","1"==d.getAttribute("placeholders")&&(K.setAttribute("checked","checked"),K.defaultChecked=!0),mxEvent.addListener(K,"click",function(){"1"==d.getAttribute("placeholders")?d.removeAttribute("placeholders"):d.setAttribute("placeholders","1")}),H.appendChild(K),mxUtils.write(H,mxResources.get("placeholders")),null!=EditDataDialog.placeholderHelpLink&&H.appendChild(a.createHelpIcon(EditDataDialog.placeholderHelpLink)),
+p.appendChild(H);a.editor.cancelFirst&&p.appendChild(q);p.appendChild(g);p.appendChild(S);a.editor.cancelFirst||p.appendChild(q);f.appendChild(p);this.container=f};EditDataDialog.getDisplayIdForCell=function(a,b){var e=null;null!=a.editor.graph.getModel().getParent(b)&&(e=b.getId());return e};EditDataDialog.placeholderHelpLink=null;
+var LinkDialog=function(a,b,e,f){var h=document.createElement("div");mxUtils.write(h,mxResources.get("editLink")+":");var d=document.createElement("div");d.className="geTitle";d.style.backgroundColor="transparent";d.style.borderColor="transparent";d.style.whiteSpace="nowrap";d.style.textOverflow="clip";d.style.cursor="default";d.style.paddingRight="20px";var g=document.createElement("input");g.setAttribute("value",b);g.setAttribute("placeholder","http://www.example.com/");g.setAttribute("type","text");
+g.style.marginTop="6px";g.style.width="400px";g.style.backgroundImage="url('"+Dialog.prototype.clearImage+"')";g.style.backgroundRepeat="no-repeat";g.style.backgroundPosition="100% 50%";g.style.paddingRight="14px";b=document.createElement("div");b.setAttribute("title",mxResources.get("reset"));b.style.position="relative";b.style.left="-16px";b.style.width="12px";b.style.height="14px";b.style.cursor="pointer";b.style.display="inline-block";b.style.top="3px";b.style.background="url("+IMAGE_PATH+"/transparent.gif)";
+mxEvent.addListener(b,"click",function(){g.value="";g.focus()});d.appendChild(g);d.appendChild(b);h.appendChild(d);this.init=function(){g.focus();mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?g.select():document.execCommand("selectAll",!1,null)};d=document.createElement("div");d.style.marginTop="18px";d.style.textAlign="right";mxEvent.addListener(g,"keypress",function(n){13==n.keyCode&&(a.hideDialog(),f(g.value))});b=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});
+b.className="geBtn";a.editor.cancelFirst&&d.appendChild(b);e=mxUtils.button(e,function(){a.hideDialog();f(g.value)});e.className="geBtn gePrimaryBtn";d.appendChild(e);a.editor.cancelFirst||d.appendChild(b);h.appendChild(d);this.container=h},OutlineWindow=function(a,b,e,f,h){var d=a.editor.graph,g=document.createElement("div");g.style.position="absolute";g.style.width="100%";g.style.height="100%";g.style.overflow="hidden";this.window=new mxWindow(mxResources.get("outline"),g,b,e,f,h,!0,!0);this.window.minimumSize=
new mxRectangle(0,0,80,80);this.window.destroyOnClose=!1;this.window.setMaximizable(!1);this.window.setResizable(!0);this.window.setClosable(!0);this.window.setVisible(!0);var n=a.createOutline(this.window);a.installResizeHandler(this,!0,function(){n.destroy()});this.window.addListener(mxEvent.SHOW,mxUtils.bind(this,function(){this.window.fit();n.setSuspended(!1)}));this.window.addListener(mxEvent.HIDE,mxUtils.bind(this,function(){n.setSuspended(!0)}));this.window.addListener(mxEvent.NORMALIZE,mxUtils.bind(this,
-function(){n.setSuspended(!1)}));this.window.addListener(mxEvent.MINIMIZE,mxUtils.bind(this,function(){n.setSuspended(!0)}));n.init(h);mxEvent.addMouseWheelListener(function(q,l){for(var p=!1,w=mxEvent.getSource(q);null!=w;){if(w==n.svg){p=!0;break}w=w.parentNode}p&&(p=f.zoomFactor,null!=q.deltaY&&Math.round(q.deltaY)!=q.deltaY&&(p=1+Math.abs(q.deltaY)/20*(p-1)),f.lazyZoom(l,null,null,p),mxEvent.consume(q))})},LayersWindow=function(a,b,d,e,g){function f(){var M=Z.get(q.getLayerForCells(q.getSelectionCells()));
-null!=M?M.appendChild(Y):null!=Y.parentNode&&Y.parentNode.removeChild(Y)}function h(){function M(ja,pa,P,W){var V=document.createElement("div");V.className="geToolbarContainer";Z.put(P,V);V.style.overflow="hidden";V.style.position="relative";V.style.padding="4px";V.style.height="22px";V.style.display="block";V.style.backgroundColor=Editor.isDarkMode()?Editor.darkColor:"whiteSmoke";V.style.borderWidth="0px 0px 1px 0px";V.style.borderColor="#c3c3c3";V.style.borderStyle="solid";V.style.whiteSpace="nowrap";
-V.setAttribute("title",pa+" ("+P.getId()+")");var ca=document.createElement("div");ca.style.display="inline-block";ca.style.width="100%";ca.style.textOverflow="ellipsis";ca.style.overflow="hidden";var ra=document.createElement("span");mxEvent.addListener(V,"dragover",function(ea){ea.dataTransfer.dropEffect="move";C=ja;ea.stopPropagation();ea.preventDefault()});mxEvent.addListener(V,"dragstart",function(ea){"true"!=ra.contentEditable&&(z=V,mxClient.IS_FF&&ea.dataTransfer.setData("Text","<layer/>"))});
-mxEvent.addListener(V,"dragend",function(ea){null!=z&&null!=C&&q.addCell(P,q.model.root,C);C=z=null;ea.stopPropagation();ea.preventDefault()});var oa=document.createElement("img");oa.setAttribute("draggable","false");oa.setAttribute("align","top");oa.setAttribute("border","0");oa.className="geAdaptiveAsset";oa.style.width="16px";oa.style.padding="0px 6px 0 4px";oa.style.marginTop="2px";oa.style.cursor="pointer";oa.setAttribute("title",mxResources.get(q.model.isVisible(P)?"hide":"show"));q.model.isVisible(P)?
-(oa.setAttribute("src",Editor.visibleImage),mxUtils.setOpacity(V,90)):(oa.setAttribute("src",Editor.hiddenImage),mxUtils.setOpacity(V,40));q.isEnabled()||mxUtils.setOpacity(oa,50);ca.appendChild(oa);mxEvent.addListener(oa,"click",function(ea){q.isEnabled()&&q.model.setVisible(P,!q.model.isVisible(P));mxEvent.consume(ea)});oa=document.createElement("img");oa.setAttribute("draggable","false");oa.setAttribute("align","top");oa.setAttribute("border","0");oa.className="geAdaptiveAsset";oa.style.width=
-"16px";oa.style.padding="0px 6px 0 0";oa.style.marginTop="2px";oa.setAttribute("title",mxResources.get("lockUnlock"));var L=q.getCurrentCellStyle(P);"1"==mxUtils.getValue(L,"locked","0")?(oa.setAttribute("src",Editor.lockedImage),mxUtils.setOpacity(oa,90),V.style.color="red"):(oa.setAttribute("src",Editor.unlockedImage),mxUtils.setOpacity(oa,40));q.isEnabled()&&(oa.style.cursor="pointer");mxEvent.addListener(oa,"click",function(ea){if(q.isEnabled()){var sa=null;q.getModel().beginUpdate();try{sa="1"==
-mxUtils.getValue(L,"locked","0")?null:"1",q.setCellStyles("locked",sa,[P])}finally{q.getModel().endUpdate()}"1"==sa&&q.removeSelectionCells(q.getModel().getDescendants(P));mxEvent.consume(ea)}});ca.appendChild(oa);mxUtils.write(ra,pa);ra.style.display="block";ra.style.whiteSpace="nowrap";ra.style.overflow="hidden";ra.style.textOverflow="ellipsis";ra.style.position="absolute";ra.style.padding="2px";ra.style.left="52px";ra.style.right="8px";ra.style.top="6px";ca.appendChild(ra);V.appendChild(ca);if(q.isEnabled()){if(mxClient.IS_TOUCH||
-mxClient.IS_POINTER||mxClient.IS_IE&&10>document.documentMode)pa=document.createElement("div"),pa.style.display="block",pa.style.textAlign="right",pa.style.whiteSpace="nowrap",pa.style.position="absolute",pa.style.right="16px",pa.style.top="6px",0<ja&&(ca=document.createElement("a"),ca.setAttribute("title",mxResources.get("toBack")),ca.className="geButton",ca.style.cssFloat="none",ca.innerHTML="&#9660;",ca.style.width="14px",ca.style.height="14px",ca.style.fontSize="14px",ca.style.margin="0px",ca.style.marginTop=
-"-1px",pa.appendChild(ca),mxEvent.addListener(ca,"click",function(ea){q.isEnabled()&&q.addCell(P,q.model.root,ja-1);mxEvent.consume(ea)})),0<=ja&&ja<F-1&&(ca=document.createElement("a"),ca.setAttribute("title",mxResources.get("toFront")),ca.className="geButton",ca.style.cssFloat="none",ca.innerHTML="&#9650;",ca.style.width="14px",ca.style.height="14px",ca.style.fontSize="14px",ca.style.margin="0px",ca.style.marginTop="-1px",pa.appendChild(ca),mxEvent.addListener(ca,"click",function(ea){q.isEnabled()&&
-q.addCell(P,q.model.root,ja+1);mxEvent.consume(ea)})),V.appendChild(pa);mxClient.IS_SVG&&(!mxClient.IS_IE||10<=document.documentMode)&&(V.setAttribute("draggable","true"),V.style.cursor="move")}mxEvent.addListener(V,"dblclick",function(ea){var sa=mxEvent.getSource(ea).nodeName;"INPUT"!=sa&&"IMG"!=sa&&"true"!=ra.contentEditable&&(n(P),mxEvent.consume(ea))});q.getDefaultParent()==P&&(V.style.background=Editor.isDarkMode()?"#505759":"#e6eff8",V.style.fontWeight=q.isEnabled()?"bold":"",D=P);mxEvent.addListener(V,
-"click",function(ea){q.isEnabled()&&"true"!=ra.contentEditable&&(q.setDefaultParent(W),q.view.setCurrentRoot(null),mxEvent.isShiftDown(ea)&&q.setSelectionCells(P.children),mxEvent.consume(ea))});w.appendChild(V)}q.isEnabled()?(K.classList.remove("mxDisabled"),H.classList.remove("mxDisabled"),S.classList.remove("mxDisabled"),X.classList.remove("mxDisabled")):(K.classList.add("mxDisabled"),H.classList.add("mxDisabled"),S.classList.add("mxDisabled"),X.classList.add("mxDisabled"));F=q.model.getChildCount(q.model.root);
-w.innerText="";Z.clear();for(var U=F-1;0<=U;U--)mxUtils.bind(this,function(ja){M(U,q.convertValueToString(ja)||mxResources.get("background"),ja,ja)})(q.model.getChildAt(q.model.root,U));var ba=q.convertValueToString(D)||mxResources.get("background");K.setAttribute("title",mxResources.get("removeIt",[ba]));S.setAttribute("title",mxResources.get("duplicateIt",[ba]));q.isSelectionEmpty()&&(O.className="geButton mxDisabled");f()}function n(M){if(q.isEnabled()&&null!=M){var U=Z.get(M);if(null!=U){var ba=
-U.getElementsByTagName("span");if(null!=ba&&0<ba.length){var ja=ba[0],pa=mxUtils.getTextContent(ja);ja.style.textOverflow="";ja.style.cursor="text";ja.contentEditable="true";ja.focus();document.execCommand("selectAll",!1,null);U.removeAttribute("draggable");U.style.cursor="";var P=function(W){if("true"==ja.contentEditable){ja.contentEditable="false";var V=mxUtils.getTextContent(ja);W&&V!=pa?(V=mxUtils.getTextContent(ja),0<V.length?q.cellLabelChanged(M,V):q.cellLabelChanged(M,mxResources.get("untitledLayer"))):
-h()}};mxEvent.addListener(ja,"keydown",function(W){if(13==W.keyCode||27==W.keyCode)P(13==W.keyCode),mxEvent.consume(W)});mxEvent.addListener(ja,"blur",function(W){P(!0);mxEvent.consume(W)})}}}}var q=a.editor.graph,l=document.createElement("div");l.className="geBackground";l.style.userSelect="none";l.style.border="1px solid whiteSmoke";l.style.height="100%";l.style.marginBottom="10px";l.style.overflow="auto";var p=EditorUi.compactUi?"26px":"30px",w=document.createElement("div");w.className="geBackground";
-w.style.position="absolute";w.style.overflow="auto";w.style.left="0px";w.style.right="0px";w.style.top="0px";w.style.bottom=parseInt(p)+7+"px";l.appendChild(w);var z=null,C=null;mxEvent.addListener(l,"dragover",function(M){M.dataTransfer.dropEffect="move";C=0;M.stopPropagation();M.preventDefault()});mxEvent.addListener(l,"drop",function(M){M.stopPropagation();M.preventDefault()});var F=null,D=null,G=document.createElement("div");G.className="geToolbarContainer";G.style.position="absolute";G.style.bottom=
-"0px";G.style.left="0px";G.style.right="0px";G.style.height=p;G.style.overflow="hidden";G.style.padding=EditorUi.compactUi?"4px 0px 3px 0px":"1px";G.style.borderWidth="1px 0px 0px 0px";G.style.borderStyle="solid";G.style.display="block";G.style.whiteSpace="nowrap";p=document.createElement("a");p.className="geButton";var K=p.cloneNode(!1),I=document.createElement("img");I.className="geAdaptiveAsset";I.setAttribute("border","0");I.setAttribute("width","22");I.setAttribute("src",Editor.trashImage);I.style.opacity=
-"0.9";K.appendChild(I);mxEvent.addListener(K,"click",function(M){if(q.isEnabled()){q.model.beginUpdate();try{var U=q.model.root.getIndex(D);q.removeCells([D],!1);0==q.model.getChildCount(q.model.root)?(q.model.add(q.model.root,new mxCell),q.setDefaultParent(null)):0<U&&U<=q.model.getChildCount(q.model.root)?q.setDefaultParent(q.model.getChildAt(q.model.root,U-1)):q.setDefaultParent(null)}finally{q.model.endUpdate()}}mxEvent.consume(M)});q.isEnabled()||(K.className="geButton mxDisabled");G.appendChild(K);
-var O=p.cloneNode();O.setAttribute("title",mxUtils.trim(mxResources.get("moveSelectionTo",["..."])));I=I.cloneNode(!1);I.setAttribute("src",Editor.verticalDotsImage);O.appendChild(I);mxEvent.addListener(O,"click",function(M){if(q.isEnabled()&&!q.isSelectionEmpty()){var U=mxUtils.getOffset(O);a.showPopupMenu(mxUtils.bind(this,function(ba,ja){for(var pa=q.getLayerForCells(q.getSelectionCells()),P=F-1;0<=P;P--)mxUtils.bind(this,function(W){var V="1"==mxUtils.getValue(q.getCurrentCellStyle(W),"locked",
-"0"),ca=ba.addItem(q.convertValueToString(W)||mxResources.get("background"),null,mxUtils.bind(this,function(){V||q.moveCells(q.getSelectionCells(),0,0,!1,W)}),ja,null,null,!V);V?ba.addCheckmark(ca,Editor.lockedImage):W==pa&&ba.addCheckmark(ca,Editor.checkmarkImage)})(q.model.getChildAt(q.model.root,P))}),U.x,U.y+O.offsetHeight,M)}});G.appendChild(O);var H=p.cloneNode(!1);H.setAttribute("title",mxResources.get("editData"));I=I.cloneNode(!1);I.setAttribute("src",Editor.editImage);H.appendChild(I);mxEvent.addListener(H,
-"click",function(M){q.isEnabled()&&a.showDataDialog(D);mxEvent.consume(M)});q.isEnabled()||(H.className="geButton mxDisabled");G.appendChild(H);var Z=new mxDictionary,S=p.cloneNode(!1);S.setAttribute("title",mxResources.get("duplicate"));I=I.cloneNode(!1);I.setAttribute("src",Editor.duplicateImage);S.appendChild(I);mxEvent.addListener(S,"click",function(M){if(q.isEnabled()){M=null;q.model.beginUpdate();try{M=q.cloneCell(D),q.cellLabelChanged(M,mxResources.get("untitledLayer")),M.setVisible(!0),M=
-q.addCell(M,q.model.root),q.setDefaultParent(M)}finally{q.model.endUpdate()}null==M||q.isCellLocked(M)||q.selectAll(M)}});q.isEnabled()||(S.className="geButton mxDisabled");G.appendChild(S);var X=p.cloneNode(!1);X.setAttribute("title",mxResources.get("addLayer"));I=I.cloneNode(!1);I.setAttribute("src",Editor.addImage);X.appendChild(I);mxEvent.addListener(X,"click",function(M){if(q.isEnabled()){q.model.beginUpdate();try{var U=q.addCell(new mxCell(mxResources.get("untitledLayer")),q.model.root);q.setDefaultParent(U)}finally{q.model.endUpdate()}n(U)}mxEvent.consume(M)});
-q.isEnabled()||(X.className="geButton mxDisabled");G.appendChild(X);l.appendChild(G);var Y=document.createElement("span");Y.setAttribute("title",mxResources.get("selectionOnly"));Y.innerHTML="&#8226;";Y.style.position="absolute";Y.style.fontWeight="bold";Y.style.fontSize="16pt";Y.style.right="2px";Y.style.top="2px";h();q.model.addListener(mxEvent.CHANGE,h);q.addListener("defaultParentChanged",h);a.addListener("lockedChanged",h);q.selectionModel.addListener(mxEvent.CHANGE,function(){q.isSelectionEmpty()?
-O.className="geButton mxDisabled":O.className="geButton";f()});this.window=new mxWindow(mxResources.get("layers"),l,b,d,e,g,!0,!0);this.window.minimumSize=new mxRectangle(0,0,150,120);this.window.destroyOnClose=!1;this.window.setMaximizable(!1);this.window.setResizable(!0);this.window.setClosable(!0);this.window.setVisible(!0);this.init=function(){w.scrollTop=w.scrollHeight-w.clientHeight};this.window.addListener(mxEvent.SHOW,mxUtils.bind(this,function(){this.window.fit()}));this.refreshLayers=h;
+function(){n.setSuspended(!1)}));this.window.addListener(mxEvent.MINIMIZE,mxUtils.bind(this,function(){n.setSuspended(!0)}));n.init(g);mxEvent.addMouseWheelListener(function(q,k){for(var p=!1,w=mxEvent.getSource(q);null!=w;){if(w==n.svg){p=!0;break}w=w.parentNode}p&&(p=d.zoomFactor,null!=q.deltaY&&Math.round(q.deltaY)!=q.deltaY&&(p=1+Math.abs(q.deltaY)/20*(p-1)),d.lazyZoom(k,null,null,p),mxEvent.consume(q))})},LayersWindow=function(a,b,e,f,h){function d(){var L=Z.get(q.getLayerForCells(q.getSelectionCells()));
+null!=L?L.appendChild(V):null!=V.parentNode&&V.parentNode.removeChild(V)}function g(){function L(ja,sa,O,T){var X=document.createElement("div");X.className="geToolbarContainer";Z.put(O,X);X.style.overflow="hidden";X.style.position="relative";X.style.padding="4px";X.style.height="22px";X.style.display="block";X.style.backgroundColor=Editor.isDarkMode()?Editor.darkColor:"whiteSmoke";X.style.borderWidth="0px 0px 1px 0px";X.style.borderColor="#c3c3c3";X.style.borderStyle="solid";X.style.whiteSpace="nowrap";
+X.setAttribute("title",sa+" ("+O.getId()+")");var ca=document.createElement("div");ca.style.display="inline-block";ca.style.width="100%";ca.style.textOverflow="ellipsis";ca.style.overflow="hidden";var na=document.createElement("span");mxEvent.addListener(X,"dragover",function(ea){ea.dataTransfer.dropEffect="move";C=ja;ea.stopPropagation();ea.preventDefault()});mxEvent.addListener(X,"dragstart",function(ea){"true"!=na.contentEditable&&(z=X,mxClient.IS_FF&&ea.dataTransfer.setData("Text","<layer/>"))});
+mxEvent.addListener(X,"dragend",function(ea){null!=z&&null!=C&&q.addCell(O,q.model.root,C);C=z=null;ea.stopPropagation();ea.preventDefault()});var pa=document.createElement("img");pa.setAttribute("draggable","false");pa.setAttribute("align","top");pa.setAttribute("border","0");pa.className="geAdaptiveAsset";pa.style.width="16px";pa.style.padding="0px 6px 0 4px";pa.style.marginTop="2px";pa.style.cursor="pointer";pa.setAttribute("title",mxResources.get(q.model.isVisible(O)?"hide":"show"));q.model.isVisible(O)?
+(pa.setAttribute("src",Editor.visibleImage),mxUtils.setOpacity(X,90)):(pa.setAttribute("src",Editor.hiddenImage),mxUtils.setOpacity(X,40));q.isEnabled()||mxUtils.setOpacity(pa,50);ca.appendChild(pa);mxEvent.addListener(pa,"click",function(ea){q.isEnabled()&&q.model.setVisible(O,!q.model.isVisible(O));mxEvent.consume(ea)});pa=document.createElement("img");pa.setAttribute("draggable","false");pa.setAttribute("align","top");pa.setAttribute("border","0");pa.className="geAdaptiveAsset";pa.style.width=
+"16px";pa.style.padding="0px 6px 0 0";pa.style.marginTop="2px";pa.setAttribute("title",mxResources.get("lockUnlock"));var M=q.getCurrentCellStyle(O);"1"==mxUtils.getValue(M,"locked","0")?(pa.setAttribute("src",Editor.lockedImage),mxUtils.setOpacity(pa,90),X.style.color="red"):(pa.setAttribute("src",Editor.unlockedImage),mxUtils.setOpacity(pa,40));q.isEnabled()&&(pa.style.cursor="pointer");mxEvent.addListener(pa,"click",function(ea){if(q.isEnabled()){var ra=null;q.getModel().beginUpdate();try{ra="1"==
+mxUtils.getValue(M,"locked","0")?null:"1",q.setCellStyles("locked",ra,[O])}finally{q.getModel().endUpdate()}"1"==ra&&q.removeSelectionCells(q.getModel().getDescendants(O));mxEvent.consume(ea)}});ca.appendChild(pa);mxUtils.write(na,sa);na.style.display="block";na.style.whiteSpace="nowrap";na.style.overflow="hidden";na.style.textOverflow="ellipsis";na.style.position="absolute";na.style.padding="2px";na.style.left="52px";na.style.right="8px";na.style.top="6px";ca.appendChild(na);X.appendChild(ca);if(q.isEnabled()){if(mxClient.IS_TOUCH||
+mxClient.IS_POINTER||mxClient.IS_IE&&10>document.documentMode)sa=document.createElement("div"),sa.style.display="block",sa.style.textAlign="right",sa.style.whiteSpace="nowrap",sa.style.position="absolute",sa.style.right="16px",sa.style.top="6px",0<ja&&(ca=document.createElement("a"),ca.setAttribute("title",mxResources.get("toBack")),ca.className="geButton",ca.style.cssFloat="none",ca.innerHTML="&#9660;",ca.style.width="14px",ca.style.height="14px",ca.style.fontSize="14px",ca.style.margin="0px",ca.style.marginTop=
+"-1px",sa.appendChild(ca),mxEvent.addListener(ca,"click",function(ea){q.isEnabled()&&q.addCell(O,q.model.root,ja-1);mxEvent.consume(ea)})),0<=ja&&ja<F-1&&(ca=document.createElement("a"),ca.setAttribute("title",mxResources.get("toFront")),ca.className="geButton",ca.style.cssFloat="none",ca.innerHTML="&#9650;",ca.style.width="14px",ca.style.height="14px",ca.style.fontSize="14px",ca.style.margin="0px",ca.style.marginTop="-1px",sa.appendChild(ca),mxEvent.addListener(ca,"click",function(ea){q.isEnabled()&&
+q.addCell(O,q.model.root,ja+1);mxEvent.consume(ea)})),X.appendChild(sa);mxClient.IS_SVG&&(!mxClient.IS_IE||10<=document.documentMode)&&(X.setAttribute("draggable","true"),X.style.cursor="move")}mxEvent.addListener(X,"dblclick",function(ea){var ra=mxEvent.getSource(ea).nodeName;"INPUT"!=ra&&"IMG"!=ra&&"true"!=na.contentEditable&&(n(O),mxEvent.consume(ea))});q.getDefaultParent()==O&&(X.style.background=Editor.isDarkMode()?"#505759":"#e6eff8",X.style.fontWeight=q.isEnabled()?"bold":"",D=O);mxEvent.addListener(X,
+"click",function(ea){q.isEnabled()&&"true"!=na.contentEditable&&(q.setDefaultParent(T),q.view.setCurrentRoot(null),mxEvent.isShiftDown(ea)&&q.setSelectionCells(O.children),mxEvent.consume(ea))});w.appendChild(X)}q.isEnabled()?(K.classList.remove("mxDisabled"),I.classList.remove("mxDisabled"),S.classList.remove("mxDisabled"),Y.classList.remove("mxDisabled")):(K.classList.add("mxDisabled"),I.classList.add("mxDisabled"),S.classList.add("mxDisabled"),Y.classList.add("mxDisabled"));F=q.model.getChildCount(q.model.root);
+w.innerText="";Z.clear();for(var U=F-1;0<=U;U--)mxUtils.bind(this,function(ja){L(U,q.convertValueToString(ja)||mxResources.get("background"),ja,ja)})(q.model.getChildAt(q.model.root,U));var ba=q.convertValueToString(D)||mxResources.get("background");K.setAttribute("title",mxResources.get("removeIt",[ba]));S.setAttribute("title",mxResources.get("duplicateIt",[ba]));q.isSelectionEmpty()&&(P.className="geButton mxDisabled");d()}function n(L){if(q.isEnabled()&&null!=L){var U=Z.get(L);if(null!=U){var ba=
+U.getElementsByTagName("span");if(null!=ba&&0<ba.length){var ja=ba[0],sa=mxUtils.getTextContent(ja);ja.style.textOverflow="";ja.style.cursor="text";ja.contentEditable="true";ja.focus();document.execCommand("selectAll",!1,null);U.removeAttribute("draggable");U.style.cursor="";var O=function(T){if("true"==ja.contentEditable){ja.contentEditable="false";var X=mxUtils.getTextContent(ja);T&&X!=sa?(X=mxUtils.getTextContent(ja),0<X.length?q.cellLabelChanged(L,X):q.cellLabelChanged(L,mxResources.get("untitledLayer"))):
+g()}};mxEvent.addListener(ja,"keydown",function(T){if(13==T.keyCode||27==T.keyCode)O(13==T.keyCode),mxEvent.consume(T)});mxEvent.addListener(ja,"blur",function(T){O(!0);mxEvent.consume(T)})}}}}var q=a.editor.graph,k=document.createElement("div");k.className="geBackground";k.style.userSelect="none";k.style.border="1px solid whiteSmoke";k.style.height="100%";k.style.marginBottom="10px";k.style.overflow="auto";var p=EditorUi.compactUi?"26px":"30px",w=document.createElement("div");w.className="geBackground";
+w.style.position="absolute";w.style.overflow="auto";w.style.left="0px";w.style.right="0px";w.style.top="0px";w.style.bottom=parseInt(p)+7+"px";k.appendChild(w);var z=null,C=null;mxEvent.addListener(k,"dragover",function(L){L.dataTransfer.dropEffect="move";C=0;L.stopPropagation();L.preventDefault()});mxEvent.addListener(k,"drop",function(L){L.stopPropagation();L.preventDefault()});var F=null,D=null,H=document.createElement("div");H.className="geToolbarContainer";H.style.position="absolute";H.style.bottom=
+"0px";H.style.left="0px";H.style.right="0px";H.style.height=p;H.style.overflow="hidden";H.style.padding=EditorUi.compactUi?"4px 0px 3px 0px":"1px";H.style.borderWidth="1px 0px 0px 0px";H.style.borderStyle="solid";H.style.display="block";H.style.whiteSpace="nowrap";p=document.createElement("a");p.className="geButton";var K=p.cloneNode(!1),G=document.createElement("img");G.className="geAdaptiveAsset";G.setAttribute("border","0");G.setAttribute("width","22");G.setAttribute("src",Editor.trashImage);G.style.opacity=
+"0.9";K.appendChild(G);mxEvent.addListener(K,"click",function(L){if(q.isEnabled()){q.model.beginUpdate();try{var U=q.model.root.getIndex(D);q.removeCells([D],!1);0==q.model.getChildCount(q.model.root)?(q.model.add(q.model.root,new mxCell),q.setDefaultParent(null)):0<U&&U<=q.model.getChildCount(q.model.root)?q.setDefaultParent(q.model.getChildAt(q.model.root,U-1)):q.setDefaultParent(null)}finally{q.model.endUpdate()}}mxEvent.consume(L)});q.isEnabled()||(K.className="geButton mxDisabled");H.appendChild(K);
+var P=p.cloneNode();P.setAttribute("title",mxUtils.trim(mxResources.get("moveSelectionTo",["..."])));G=G.cloneNode(!1);G.setAttribute("src",Editor.verticalDotsImage);P.appendChild(G);mxEvent.addListener(P,"click",function(L){if(q.isEnabled()&&!q.isSelectionEmpty()){var U=mxUtils.getOffset(P);a.showPopupMenu(mxUtils.bind(this,function(ba,ja){for(var sa=q.getLayerForCells(q.getSelectionCells()),O=F-1;0<=O;O--)mxUtils.bind(this,function(T){var X="1"==mxUtils.getValue(q.getCurrentCellStyle(T),"locked",
+"0"),ca=ba.addItem(q.convertValueToString(T)||mxResources.get("background"),null,mxUtils.bind(this,function(){X||q.moveCells(q.getSelectionCells(),0,0,!1,T)}),ja,null,null,!X);X?ba.addCheckmark(ca,Editor.lockedImage):T==sa&&ba.addCheckmark(ca,Editor.checkmarkImage)})(q.model.getChildAt(q.model.root,O))}),U.x,U.y+P.offsetHeight,L)}});H.appendChild(P);var I=p.cloneNode(!1);I.setAttribute("title",mxResources.get("editData"));G=G.cloneNode(!1);G.setAttribute("src",Editor.editImage);I.appendChild(G);mxEvent.addListener(I,
+"click",function(L){q.isEnabled()&&a.showDataDialog(D);mxEvent.consume(L)});q.isEnabled()||(I.className="geButton mxDisabled");H.appendChild(I);var Z=new mxDictionary,S=p.cloneNode(!1);S.setAttribute("title",mxResources.get("duplicate"));G=G.cloneNode(!1);G.setAttribute("src",Editor.duplicateImage);S.appendChild(G);mxEvent.addListener(S,"click",function(L){if(q.isEnabled()){L=null;q.model.beginUpdate();try{L=q.cloneCell(D),q.cellLabelChanged(L,mxResources.get("untitledLayer")),L.setVisible(!0),L=
+q.addCell(L,q.model.root),q.setDefaultParent(L)}finally{q.model.endUpdate()}null==L||q.isCellLocked(L)||q.selectAll(L)}});q.isEnabled()||(S.className="geButton mxDisabled");H.appendChild(S);var Y=p.cloneNode(!1);Y.setAttribute("title",mxResources.get("addLayer"));G=G.cloneNode(!1);G.setAttribute("src",Editor.addImage);Y.appendChild(G);mxEvent.addListener(Y,"click",function(L){if(q.isEnabled()){q.model.beginUpdate();try{var U=q.addCell(new mxCell(mxResources.get("untitledLayer")),q.model.root);q.setDefaultParent(U)}finally{q.model.endUpdate()}n(U)}mxEvent.consume(L)});
+q.isEnabled()||(Y.className="geButton mxDisabled");H.appendChild(Y);k.appendChild(H);var V=document.createElement("span");V.setAttribute("title",mxResources.get("selectionOnly"));V.innerHTML="&#8226;";V.style.position="absolute";V.style.fontWeight="bold";V.style.fontSize="16pt";V.style.right="2px";V.style.top="2px";g();q.model.addListener(mxEvent.CHANGE,g);q.addListener("defaultParentChanged",g);a.addListener("lockedChanged",g);q.selectionModel.addListener(mxEvent.CHANGE,function(){q.isSelectionEmpty()?
+P.className="geButton mxDisabled":P.className="geButton";d()});this.window=new mxWindow(mxResources.get("layers"),k,b,e,f,h,!0,!0);this.window.minimumSize=new mxRectangle(0,0,150,120);this.window.destroyOnClose=!1;this.window.setMaximizable(!1);this.window.setResizable(!0);this.window.setClosable(!0);this.window.setVisible(!0);this.init=function(){w.scrollTop=w.scrollHeight-w.clientHeight};this.window.addListener(mxEvent.SHOW,mxUtils.bind(this,function(){this.window.fit()}));this.refreshLayers=g;
a.installResizeHandler(this,!0)};
(function(){Sidebar.prototype.tagIndex="5V1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KJFa10b6STdbCNWIvYRRjyl0lZlzARpyGz2nMnyXi0KSumGk7X8neqTnaJkumLHHm6GxYPjrPA/JDXmt1hFdHNc2M+wLnkfjUDhFTL1J/paIjH2BIngWuUFNOAfP78o3avTOOpmKamd+aCWeOsOopVxSMB7LPf1JnQthKAMO4RXYlzFc/cQVXu2f7iLxiMXEl1qOW+tiBha7DJ8ZXTl1wUZquGz8hr1crKl6ukGVA9kvK3LmNYTvl+x5awxFobdvVUXIIhzPx624Od/U0aUVxml+SIR9HK437X7njrUVtnEQkWblCK4eeFlq0bhmaYC4Di64Qs51V2uJy5qTs5jAGJxdgrpyS1k2LiSSDvj8J8198QmeLyixsTYfOyTzam+vBEpIlPpwjuLq2I2OytMeZZKUiW8ZtMM+p1K7tOzZTKryiGI2xv6TOtKDsWY8nbrFNEu4vceQKN+t7c5qEoTNxWOsJkfu1W2Uqii7Tk6726P8D";
@@ -3828,64 +3826,65 @@ Sidebar.prototype.sap="Annotations;Colored Connectors;Foundations;Integration Su
Sidebar.prototype.gmdl="Bottom Navigation;Bottom Sheets;Buttons;Cards;Chips;Dialogs;Dividers;Grid Lists;Icons;Lists;Menus;Misc;Pickers;Selection Controls;Sliders;Steppers;Tabs;Text Fields".split(";");Sidebar.prototype.aws2="Analytics;Application Services;Compute;Database;Developer Tools;Enterprise Applications;Game Development;General;Internet of Things;Management Tools;Mobile Services;Networking;On-Demand Workforce;SDKs;Security and Identity;Storage and Content Delivery;Groups".split(";");Sidebar.prototype.aws3=
"Analytics;Application Services;Artificial Intelligence;Business Productivity;Compute;Contact Center;Database;Desktop and App Streaming;Developer Tools;Game Development;General;Groups;Internet of Things;Management Tools;Messaging;Migration;Mobile Services;Networking and Content Delivery;On Demand Workforce;SDKs;Security Identity and Compliance;Storage".split(";");Sidebar.prototype.aws4b="Arrows;General Resources;Illustrations;Groups Light;Groups Dark;Analytics;Application Integration;AR VR;Cost Management;Business Productivity;Compute;Customer Engagement;Database;Desktop App Streaming;Developer Tools;Game Development;Internet of Things;IoT Things;IoT Resources;Machine Learning;Management Tools;Media Services;Migration;Mobile Services;Network Content Delivery;Security Identity Compliance;Storage".split(";");
Sidebar.prototype.aws4="Arrows;General Resources;Illustrations;Groups;Analytics;Application Integration;AR VR;Cloud Financial Management;Blockchain;Business Applications;Compute;Contact Center;Containers;Customer Enablement;Customer Engagement;Database;Developer Tools;End User Computing;Front End Web Mobile;Game Tech;Internet of Things;IoT Things;IoT Resources;Machine Learning;Management Governance;Media Services;Migration Transfer;Network Content Delivery;Quantum Technologies;Robotics;Satellite;Serverless;Security Identity Compliance;Storage".split(";");
-Sidebar.prototype.office="Clouds Communications Concepts Databases Devices Security Servers Services Sites Users".split(" ");Sidebar.prototype.veeam="Data Center;Misc;Software;Storage;UsersStatus;VASComponents;Backup Replication;Products;VMs and Tape;2D;3D".split(";");Sidebar.prototype.veeam2="Auxiliary;Data Center;Features;General;Products and Components;Software;States;Storage;3D".split(";");Sidebar.prototype.archimate3="Application;Business;Generic;Implementation and Migration;Motivation;Relationships;Strategy;Technology".split(";");
+Sidebar.prototype.office="Clouds Communications Concepts Databases Devices Security Servers Services Sites Users".split(" ");Sidebar.prototype.openstack=["Blue","Grey","Green","Red"];Sidebar.prototype.veeam="Data Center;Misc;Software;Storage;UsersStatus;VASComponents;Backup Replication;Products;VMs and Tape;2D;3D".split(";");Sidebar.prototype.veeam2="Auxiliary;Data Center;Features;General;Products and Components;Software;States;Storage;3D".split(";");Sidebar.prototype.archimate3="Application;Business;Generic;Implementation and Migration;Motivation;Relationships;Strategy;Technology".split(";");
Sidebar.prototype.electrical="LogicGates Resistors Capacitors Inductors SwitchesRelays Diodes Sources Transistors Misc Audio PlcLadder Abstract Optical VacuumTubes Waveforms Instruments RotMech Transmission".split(" ");Sidebar.prototype.customEntries=null;Sidebar.prototype.appendCustomLibraries=!1;Sidebar.prototype.enabledLibraries=null;Sidebar.prototype.maxPreloadCount=20;Sidebar.prototype.configuration=[{id:"general",libs:["general","misc","advanced"]},{id:"uml"},{id:"uml25"},{id:"search"},{id:"er"},
-{id:"alibaba_cloud"},{id:"azure2",prefix:"azure2",libs:"AI Machine Learning;Analytics;App Services;Azure Ecosystem;Azure Stack;Azure VMware Solution;Blockchain;Compute;Containers;CXP;Databases;DevOps;General;Hybrid and Multicloud;Identity;Integration;Internet of Things;Intune;IoT;Management Governance;Menu;Migrate;Mixed Reality;Mobile;Monitor;Networking;Other;Preview;Security;Storage;Web".split(";")},{id:"ios",prefix:"ios",libs:["","7icons","7ui"]},{id:"android",prefix:"android",libs:[""]},{id:"aws3d"},
-{id:"flowchart"},{id:"basic"},{id:"infographic"},{id:"arrows"},{id:"arrows2"},{id:"lean_mapping"},{id:"citrix"},{id:"azure"},{id:"network"},{id:"vvd"},{id:"sitemap"},{id:"c4"},{id:"dfd"},{id:"threatModeling"},{id:"kubernetes"},{id:"cisco19",prefix:"cisco19",libs:Sidebar.prototype.cisco19},{id:"citrix2",prefix:"citrix2",libs:"Authentication;Cloud Services;Components;Locations;NetScaler;Networking;Resources;Users and Devices".split(";")},{id:"mscae",prefix:"mscae",libs:"Companies;EnterpriseFlat;IntuneFlat;OMSFlat;System CenterFlat;AI and ML Service;Analytics Service;Compute Service;Compute Service VM;Container Service;Databases Service;DevOps Service;General Service;Identity Service;Integration Service;Internet of Things Service;Intune Service;Management and Governance Service;Management and Governance Service Media;Migrate Service;Mixed Reality Service;Mobile Service;Networking Service;Other Category Service;Security Service;Storage Service;Web Service".split(";")},
+{id:"alibaba_cloud"},{id:"azure2",prefix:"azure2",libs:"AI Machine Learning;Analytics;App Services;Azure Ecosystem;Azure Stack;Azure VMware Solution;Blockchain;Compute;Containers;CXP;Databases;DevOps;General;Hybrid and Multicloud;Identity;Integration;Internet of Things;Intune;IoT;Management Governance;Menu;Migrate;Mixed Reality;Mobile;Monitor;Networking;Other;Power Platform;Preview;Security;Storage;Web".split(";")},{id:"dynamics365",prefix:"dynamics365",libs:["App","Mixed Reality","Product Family",
+"Sub App"]},{id:"ios",prefix:"ios",libs:["","7icons","7ui"]},{id:"android",prefix:"android",libs:[""]},{id:"aws3d"},{id:"flowchart"},{id:"basic"},{id:"infographic"},{id:"arrows"},{id:"arrows2"},{id:"lean_mapping"},{id:"citrix"},{id:"azure"},{id:"network"},{id:"vvd"},{id:"sitemap"},{id:"c4"},{id:"dfd"},{id:"threatModeling"},{id:"kubernetes"},{id:"cisco19",prefix:"cisco19",libs:Sidebar.prototype.cisco19},{id:"citrix2",prefix:"citrix2",libs:"Authentication;Cloud Services;Components;Locations;NetScaler;Networking;Resources;Users and Devices".split(";")},
+{id:"mscae",prefix:"mscae",libs:"Companies;EnterpriseFlat;IntuneFlat;OMSFlat;System CenterFlat;AI and ML Service;Analytics Service;Compute Service;Compute Service VM;Container Service;Databases Service;DevOps Service;General Service;Identity Service;Integration Service;Internet of Things Service;Intune Service;Management and Governance Service;Management and Governance Service Media;Migrate Service;Mixed Reality Service;Mobile Service;Networking Service;Other Category Service;Security Service;Storage Service;Web Service".split(";")},
{id:"active_directory"},{id:"bpmn2",prefix:"bpmn2",libs:["General","Tasks","Choreographies","Events","Gateways"]},{id:"clipart",prefix:null,libs:"computer finance clipart networking people telco".split(" ")},{id:"ibm",prefix:"ibm",libs:Sidebar.prototype.ibm},{id:"ibm_cloud",prefix:"ibm_cloud",libs:Sidebar.prototype.ibm_cloud},{id:"allied_telesis",prefix:"allied_telesis",libs:Sidebar.prototype.allied_telesis},{id:"cumulus",libs:["cumulus"]},{id:"eip",prefix:"eip",libs:Sidebar.prototype.eip},{id:"mockups",
prefix:"mockup",libs:"Buttons Containers Forms Graphics Markup Misc Navigation Text".split(" ")},{id:"pid2",prefix:"pid2",libs:"Agitators;Apparatus Elements;Centrifuges;Compressors;Compressors ISO;Crushers Grinding;Driers;Engines;Feeders;Filters;Fittings;Flow Sensors;Heat Exchangers;Instruments;Misc;Mixers;Piping;Pumps;Pumps DIN;Pumps ISO;Separators;Shaping Machines;Valves;Vessels".split(";")},{id:"salesforce",prefix:"salesforce",libs:["Components","Product","Platform","Industry"]},{id:"signs",prefix:"signs",
libs:Sidebar.prototype.signs},{id:"gcp",prefix:"gcp",libs:Sidebar.prototype.gcp},{id:"gcp2",prefix:"gcp2",libs:Sidebar.prototype.gcp2},{id:"gcpicons",prefix:"gcpicons",libs:Sidebar.prototype.gcpicons},{id:"rack",prefix:"rack",libs:Sidebar.prototype.rack},{id:"electrical",prefix:"electrical",libs:Sidebar.prototype.electrical},{id:"aws2",prefix:"aws2",libs:Sidebar.prototype.aws2},{id:"aws3",prefix:"aws3",libs:Sidebar.prototype.aws3},{id:"aws4b",prefix:"aws4b",libs:Sidebar.prototype.aws4b},{id:"sap",
-prefix:"sap",libs:Sidebar.prototype.sap},{id:"aws4",prefix:"aws4",libs:Sidebar.prototype.aws4},{id:"pid",prefix:"pid",libs:Sidebar.prototype.pids},{id:"cisco",prefix:"cisco",libs:Sidebar.prototype.cisco},{id:"cisco_safe",prefix:"cisco_safe",libs:Sidebar.prototype.cisco_safe},{id:"office",prefix:"office",libs:Sidebar.prototype.office},{id:"veeam",prefix:"veeam",libs:Sidebar.prototype.veeam},{id:"veeam2",prefix:"veeam2",libs:Sidebar.prototype.veeam2},{id:"cabinets",libs:["cabinets"]},{id:"floorplan",
-libs:["floorplan"]},{id:"bootstrap",libs:["bootstrap"]},{id:"atlassian",libs:["atlassian"]},{id:"fluid_power",libs:["fluid_power"]},{id:"gmdl",prefix:"gmdl",libs:Sidebar.prototype.gmdl},{id:"archimate3",prefix:"archimate3",libs:Sidebar.prototype.archimate3},{id:"archimate",libs:["archimate"]},{id:"webicons",libs:["webicons","weblogos"]},{id:"sysml",prefix:"sysml",libs:Sidebar.prototype.sysml}];var a=Sidebar.prototype.addEntry;Sidebar.prototype.addEntry=function(h,k){return null!=this.currentSearchEntryLibrary&&
-null!=this.enabledLibraries&&0>mxUtils.indexOf(this.enabledLibraries,this.currentSearchEntryLibrary.id)?k:a.apply(this,arguments)};var b=Sidebar.prototype.refresh;Sidebar.prototype.refresh=function(){var h=this.editorUi;b.apply(this,arguments);null!=h.scratchpad&&h.loadLibrary(new StorageLibrary(h,h.scratchpad.getData(),".scratchpad"))};Sidebar.prototype.togglePalettes=function(h,k){this.showPalettes(h,k)};Sidebar.prototype.togglePalette=function(h){this.showPalette(h)};Sidebar.prototype.showPalettes=
-function(h,k,l){for(var m=0;m<k.length;m++)this.showPalette(h+k[m],l)};Sidebar.prototype.showPalette=function(h,k){h=this.palettes[h];if(null!=h){k=null!=k?k?"block":"none":"none"==h[0].style.display?"block":"none";for(var l=0;l<h.length;l++)h[l].style.display=k}return h};Sidebar.prototype.getConfigurationById=function(h){for(var k=0;k<this.configuration.length;k++)if(this.configuration[k].id==h)return this.configuration[k];if(null!=this.customEntries)for(k=0;k<this.customEntries.length;k++)for(var l=
-this.customEntries[k]||{},m=0;null!=l.entries&&m<l.entries.length;m++){var n=l.entries[m];if(n.id==h)return{id:n.id,libs:n.libs}}return null};Sidebar.prototype.isEntryVisible=function(h){if(".scratchpad"==h)return null!=this.editorUi.scratchpad;var k=this.getConfigurationById(h);if(null!=k){var l=this.palettes[null!=k.libs?(k.prefix||"")+k.libs[0]:h];if(null!=l)return"none"!=l[0].style.display}if(null!=this.customEntries)for(k=0;k<this.customEntries.length;k++){l=this.customEntries[k]||{};for(var m=
-0;null!=l.entries&&m<l.entries.length;m++){var n=l.entries[m];if(n.id==h){if(null!=n.libs&&0<n.libs.length&&(l=this.palettes[n.id+".0"],null!=l))return"none"!=l[0].style.display;break}}}return!1};Sidebar.prototype.showEntries=function(h,k,l){var m=[];k&&(mxSettings.setLibraries(h),mxSettings.save());null!=h&&(l||0<h.length)?m.push(h):(h=!1,null!=urlParams.libs&&0<urlParams.libs.length&&(m.push(decodeURIComponent(urlParams.libs)),h="draw.io"==this.editorUi.getServiceName()),h||(null!=mxSettings&&null!=
-mxSettings.settings?m.push(mxSettings.getLibraries()):m.push(this.defaultEntries)));k=m.join(";").split(";");m={};for(h=0;h<k.length;h++)m[this.libAliases[k[h]]||k[h]]=!0;for(h=0;h<this.configuration.length;h++)"search"!=this.configuration[h].id&&this.showPalettes(this.configuration[h].prefix||"",this.configuration[h].libs||[this.configuration[h].id],1==m[this.configuration[h].id]);if(null!=this.customEntries)for(h=0;h<this.customEntries.length;h++)for(k=this.customEntries[h]||{},l=0;null!=k.entries&&
-l<k.entries.length;l++){var n=k.entries[l];if(null!=n.libs&&0<n.libs.length){for(var p=[],q=0;q<n.libs.length;q++)p.push(n.id+"."+q);this.showPalettes("",p,m[n.id])}}};Sidebar.prototype.init=function(){this.updateEntries();this.addStencilsToIndex=!1;this.shapetags={};null!=this.tagIndex&&(this.addTagIndex(Graph.decompress(this.tagIndex)),this.tagIndex=null);this.initPalettes()};Sidebar.prototype.updateEntries=function(){var h=[{title:mxResources.get("general"),id:"general",image:IMAGE_PATH+"/sidebar-general.png"},
-{title:mxResources.get("basic"),id:"basic",image:IMAGE_PATH+"/sidebar-basic.png"},{title:mxResources.get("arrows"),id:"arrows2",image:IMAGE_PATH+"/sidebar-arrows2.png"},{title:mxResources.get("clipart"),id:"clipart",image:IMAGE_PATH+"/sidebar-clipart.png"},{title:mxResources.get("flowchart"),id:"flowchart",image:IMAGE_PATH+"/sidebar-flowchart.png"}];if("simple"==Editor.currentTheme||"sketch"==Editor.currentTheme||"min"==Editor.currentTheme)h=[{title:mxResources.get("searchShapes"),id:"search"},{title:mxResources.get("scratchpad"),
-id:".scratchpad"}].concat(h);var k=(new Date).getFullYear();this.entries=[{title:mxResources.get("standard"),entries:h},{title:mxResources.get("software"),entries:[{title:"Active Directory",id:"active_directory",image:IMAGE_PATH+"/sidebar-active_directory.png"},{title:mxResources.get("android"),id:"android",image:IMAGE_PATH+"/sidebar-android.png"},{title:"Atlassian",id:"atlassian",image:IMAGE_PATH+"/sidebar-atlassian.png"},{title:mxResources.get("bootstrap"),id:"bootstrap",image:IMAGE_PATH+"/sidebar-bootstrap.png"},
-{title:"C4",id:"c4",image:IMAGE_PATH+"/sidebar-c4.png"},{title:"Data Flow Diagram",id:"dfd",image:IMAGE_PATH+"/sidebar-dfd.png"},{title:mxResources.get("entityRelation"),id:"er",image:IMAGE_PATH+"/sidebar-er.png"},{title:mxResources.get("ios"),id:"ios",image:IMAGE_PATH+"/sidebar-ios.png"},{title:mxResources.get("mockups"),id:"mockups",image:IMAGE_PATH+"/sidebar-mockups.png"},{title:"Sitemap",id:"sitemap",image:IMAGE_PATH+"/sidebar-sitemap.png"},{title:"Salesforce",id:"salesforce",image:IMAGE_PATH+
-"/sidebar-salesforce.png"},{title:mxResources.get("uml")+" 2.5",id:"uml25",image:IMAGE_PATH+"/sidebar-uml25.png"},{title:mxResources.get("uml"),id:"uml",image:IMAGE_PATH+"/sidebar-uml.png"}]},{title:mxResources.get("networking"),entries:[{title:"Alibaba Cloud",id:"alibaba_cloud",image:IMAGE_PATH+"/sidebar-alibaba_cloud.png"},{title:"Allied Telesis",id:"allied_telesis",image:IMAGE_PATH+"/sidebar-allied_telesis.png"},{title:"AWS17",id:"aws3",image:IMAGE_PATH+"/sidebar-aws3.png"},{title:"AWS18",id:"aws4b",
-image:IMAGE_PATH+"/sidebar-aws4b.png"},{title:"AWS "+k,id:"aws4",image:IMAGE_PATH+"/sidebar-aws4.png"},{title:mxResources.get("aws3d"),id:"aws3d",image:IMAGE_PATH+"/sidebar-aws3d.png"},{title:mxResources.get("azure"),id:"azure2",image:IMAGE_PATH+"/sidebar-azure.png"},{title:"Cloud & Enterprise",id:"mscae",image:IMAGE_PATH+"/sidebar-mscae.png"},{title:mxResources.get("cisco"),id:"cisco",image:IMAGE_PATH+"/sidebar-cisco.png"},{title:"Cisco19",id:"cisco19",image:IMAGE_PATH+"/sidebar-cisco19.png"},{title:"Cisco Safe",
-id:"cisco_safe",image:IMAGE_PATH+"/sidebar-cisco_safe.png"},{title:"Cumulus",id:"cumulus",image:IMAGE_PATH+"/sidebar-cumulus.png"},{title:"Citrix",id:"citrix2",image:IMAGE_PATH+"/sidebar-citrix2.png"},{title:"Citrix (legacy)",id:"citrix",image:IMAGE_PATH+"/sidebar-citrix.png"},{title:"Google Cloud Platform",id:"gcp2",image:IMAGE_PATH+"/sidebar-gcp2.png"},{title:"GCP Icons",id:"gcpicons",image:IMAGE_PATH+"/sidebar-gcpicons.png"},{title:"IBM",id:"ibm",image:IMAGE_PATH+"/sidebar-ibm.png"},{title:"IBM Cloud",
-id:"ibm_cloud",image:IMAGE_PATH+"/sidebar-ibmcloud.png"},{title:"Kubernetes",id:"kubernetes",image:IMAGE_PATH+"/sidebar-kubernetes.png"},{title:"Network",id:"network",image:IMAGE_PATH+"/sidebar-network.png"},{title:"Office",id:"office",image:IMAGE_PATH+"/sidebar-office.png"},{title:mxResources.get("rack"),id:"rack",image:IMAGE_PATH+"/sidebar-rack.png"},{title:"SAP",id:"sap",image:IMAGE_PATH+"/sidebar-sap.png"},{title:"Veeam",id:"veeam2",image:IMAGE_PATH+"/sidebar-veeam.png"},{title:"VMware",id:"vvd",
-image:IMAGE_PATH+"/sidebar-vvd.png"}]},{title:mxResources.get("business"),entries:[{title:"ArchiMate 3.2",id:"archimate3",image:IMAGE_PATH+"/sidebar-archimate3.png"},{title:mxResources.get("archiMate21"),id:"archimate",image:IMAGE_PATH+"/sidebar-archimate.png"},{title:mxResources.get("bpmn")+" 2.0",id:"bpmn2",image:IMAGE_PATH+"/sidebar-bpmn.png"},{title:mxResources.get("sysml"),id:"sysml",image:IMAGE_PATH+"/sidebar-sysml.png"},{title:"Value Stream Mapping",id:"lean_mapping",image:IMAGE_PATH+"/sidebar-leanmapping.png"}]},
-{title:mxResources.get("other"),entries:[{title:mxResources.get("cabinets"),id:"cabinets",image:IMAGE_PATH+"/sidebar-cabinets.png"},{title:"Infographic",id:"infographic",image:IMAGE_PATH+"/sidebar-infographic.png"},{title:mxResources.get("eip"),id:"eip",image:IMAGE_PATH+"/sidebar-eip.png"},{title:mxResources.get("electrical"),id:"electrical",image:IMAGE_PATH+"/sidebar-electrical.png"},{title:mxResources.get("floorplans"),id:"floorplan",image:IMAGE_PATH+"/sidebar-floorplans.png"},{title:"Fluid Power (ISO 1219)",
-id:"fluid_power",image:IMAGE_PATH+"/sidebar-fluid_power.png"},{title:mxResources.get("gmdl"),id:"gmdl",image:IMAGE_PATH+"/sidebar-gmdl.png"},{title:mxResources.get("procEng"),id:"pid",image:IMAGE_PATH+"/sidebar-pid.png"},{title:"Threat Modeling",id:"threatModeling",image:IMAGE_PATH+"/sidebar-threatmodeling.png"},{title:"Web Icons",id:"webicons",image:IMAGE_PATH+"/sidebar-webIcons.png"},{title:mxResources.get("signs"),id:"signs",image:IMAGE_PATH+"/sidebar-signs.png"}]}]};"1"==urlParams.savesidebar&&
-(Sidebar.prototype.addFoldingHandler=function(h,k,l){var m=!1;if(!mxClient.IS_IE||8<=document.documentMode)h.style.backgroundImage="none"==k.style.display?"url('"+this.collapsedImage+"')":"url('"+this.expandedImage+"')";h.style.backgroundRepeat="no-repeat";h.style.backgroundPosition="0% 50%";var n=document.createElement("button");n.style.marginLeft="4px";mxUtils.write(n,"Save");mxEvent.addListener(h,"click",mxUtils.bind(this,function(p){if("BUTTON"==mxEvent.getSource(p).nodeName){p=k.getElementsByTagName("svg");
-var q=68*Math.ceil(p.length/6)+36,t=Graph.createSvgNode(0,0,432,q,"#ffffff"),v=new mxSvgCanvas2D(t);v.setFontFamily(mxConstants.DEFAULT_FONTFAMILY);v.setFontStyle(mxConstants.FONT_BOLD);v.setFontColor("rgb(80, 80, 80)");v.setFontSize(14);var u=h.getElementsByTagName("span");0<u.length&&v.text(6,0,0,0,mxUtils.getTextContent(u[0]));for(v=0;v<p.length;v++)u=p[v].cloneNode(!0),u.removeAttribute("style"),u.setAttribute("width",this.thumbWidth),u.setAttribute("height",this.thumbHeight),u.setAttribute("x",
-12+68*mxUtils.mod(v,6)),u.setAttribute("y",24+68*Math.floor(v/6)),t.appendChild(u);this.editorUi.editor.convertImages(t,mxUtils.bind(this,function(r){var x=document.createElement("canvas");x.width=432;x.height=q;var y=document.createElement("img");y.onload=mxUtils.bind(this,function(){x.getContext("2d").drawImage(y,0,0);this.editorUi.saveCanvas(x,null,"png")});r=Graph.xmlDeclaration+"\n"+Graph.svgDoctype+"\n"+mxUtils.getXml(t);y.src=Editor.createSvgDataUri(r)}))}else{if("none"==k.style.display){if(m)h.appendChild(n);
-else if(m=!0,null!=l){null!=n.parentNode&&n.parentNode.removeChild(n);h.style.cursor="wait";var w=h.innerHTML;h.innerHTML=mxResources.get("loading")+"...";window.setTimeout(function(){l(k);h.style.cursor="";h.innerHTML=w;h.appendChild(n)},0)}else h.appendChild(n);h.style.backgroundImage="url('"+this.expandedImage+"')";k.style.display="block"}else h.style.backgroundImage="url('"+this.collapsedImage+"')",k.style.display="none",null!=n.parentNode&&n.parentNode.removeChild(n);mxEvent.consume(p)}}))});
-Sidebar.prototype.extractShapeStyle=function(h){if(null!=h&&"shape="==h.substring(0,6)){var k=h.indexOf(";");0>k&&(k=h.length);return h.substring(6,k)}return null};var d=Sidebar.prototype.getTagsForStencil;Sidebar.prototype.getTagsForStencil=function(h,k,l){var m=d.apply(this,arguments);null!=this.shapetags&&(h=h.toLowerCase(),k=k.toLowerCase(),null!=this.shapetags[h]&&m.push(this.shapetags[h]),k=h+"."+k,null!=this.shapetags[k]&&m.push(this.shapetags[k]));return m};Sidebar.prototype.addTagIndex=function(h){h=
-h.split("\n");for(var k=0;k<h.length;k++)if(null!=h[k]){var l=h[k].split("\t");if(1<l.length){var m=l[0].toLowerCase().replace(" ","_");l=mxUtils.trim(l.slice(1,l.length).join(" ").toLowerCase());0<l.length&&(this.shapetags[m]=l)}}};Sidebar.prototype.getUniqueLibraries=function(h){for(var k={},l=[],m=0;m<h.length;m++){var n=JSON.stringify(h[m]);null==k[n]&&(k[n]=!0,l.push(h[m]))}return l};Sidebar.prototype.openLibraries=function(h){h=this.getUniqueLibraries(h);for(var k=null,l=0;l<h.length;l++){var m=
-this.getConfigurationById(h[l].id);null!=m&&(m=this.openLibrary(m,h[l].lib||h[l].id),null!=m&&null==k&&(k=m))}null!=k&&window.setTimeout(function(){k[0].scrollIntoView({behavior:"smooth"})},0)};Sidebar.prototype.openLibrary=function(h,k){this.showPalettes(h.prefix||"",h.libs||[h.id],!0);h=this.showPalette(k,!0);null!=h&&1<h.length&&null!=h[1].firstChild&&(null==h[1].firstChild.firstChild||"none"==h[1].firstChild.style.display)&&h[0].click();return h};Sidebar.prototype.showPopupMenuForEntry=function(h,
-k,l){if(null!=k&&0<k.length){var m=mxUtils.getOffset(h);this.editorUi.showPopupMenu(mxUtils.bind(this,function(n,p){n.addItem(mxResources.get("openLibrary"),null,mxUtils.bind(this,function(){this.openLibraries(k)}))}),m.x,m.y+h.offsetHeight,l);mxEvent.consume(l)}};Sidebar.prototype.addSearchIndex=function(h){if(null!=h)for(var k=0;k<h.length;k++)if(null!=h[k].style){var l=h[k].style,m=this.extractShapeStyle(l);if(null!=m){var n=m.lastIndexOf(".");if(0<n){var p=m.substring(0,n);m=m.substring(n+1,m.length);
-n=this.getTagsForStencil(p,m,h[k].tags);if(null!=n){var q=l.indexOf(";");l="shape="+p+"."+m.toLowerCase()+";"+(0>q?"":l.substring(q+1));this.setCurrentSearchEntryLibrary(h[k].id,h[k].lib);this.createVertexTemplateEntry(l,parseInt(h[k].w),parseInt(h[k].h),"",m.replace(/_/g," "),null,null,this.filterTags(n.join(" ")));null!=this.currentSearchEntryLibrary&&this.addLibForStyle(this.getKeyStyle(l),this.currentSearchEntryLibrary);this.setCurrentSearchEntryLibrary()}}}}};Sidebar.prototype.initPalettes=function(){var h=
-GRAPH_IMAGE_PATH,k=STENCIL_PATH,l=this.signs,m=this.rack,n=this.pids,p=this.cisco,q=this.sysml;"1"==urlParams.createindex&&(this.createdSearchIndex=[]);this.addSearchPalette(!0);this.appendCustomLibraries||this.addCustomEntries();this.addGeneralPalette(null==this.customEntries);this.addMiscPalette(!1);this.addAdvancedPalette(!1);this.addBasicPalette();this.addStencilPalette("arrows",mxResources.get("arrows"),k+"/arrows.xml",";html=1;"+mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+
-"=top;"+mxConstants.STYLE_STROKEWIDTH+"=2;strokeColor=#000000;",null,null,null,null,null,"arrows");this.addArrows2Palette();this.setCurrentSearchEntryLibrary("clipart","computer");this.addImagePalette("computer","Clipart / Computer",h+"/lib/clip_art/computers/","_128x128.png","Antivirus Data_Filtering Database Database_Add Database_Minus Database_Move_Stack Database_Remove Fujitsu_Tablet Harddrive IBM_Tablet iMac iPad Laptop MacBook Mainframe Monitor Monitor_Tower Monitor_Tower_Behind Netbook Network Network_2 Printer Printer_Commercial Secure_System Server Server_Rack Server_Rack_Empty Server_Rack_Partial Server_Tower Software Stylus Touch USB_Hub Virtual_Application Virtual_Machine Virus Workstation".split(" "),
-"Antivirus;Data Filtering;Database;Database Add;Database Minus;Database Move Stack;Database Remove;Fujitsu Tablet;Harddrive;IBMTablet;iMac;iPad;Laptop;MacBook;Mainframe;Monitor;Monitor Tower;Monitor Tower Behind;Netbook;Network;Network 2;Printer;Printer Commercial;Secure System;Server;Server Rack;Server Rack Empty;Server Rack Partial;Server Tower;Software;Stylus;Touch;USB Hub;Virtual Application;Virtual Machine;Virus;Workstation".split(";"));this.setCurrentSearchEntryLibrary("clipart","finance");
-this.addImagePalette("finance","Clipart / Finance",h+"/lib/clip_art/finance/","_128x128.png","Arrow_Down Arrow_Up Coins Credit_Card Dollar Graph Pie_Chart Piggy_Bank Safe Shopping_Cart Stock_Down Stock_Up".split(" "),"Arrow_Down;Arrow Up;Coins;Credit Card;Dollar;Graph;Pie Chart;Piggy Bank;Safe;Shopping Basket;Stock Down;Stock Up".split(";"));this.setCurrentSearchEntryLibrary("clipart","clipart");this.addImagePalette("clipart","Clipart / Various",h+"/lib/clip_art/general/","_128x128.png","Battery_0 Battery_100 Battery_50 Battery_75 Battery_allstates Bluetooth Earth_globe Empty_Folder Full_Folder Gear Keys Lock Mouse_Pointer Plug Ships_Wheel Star Tire".split(" "),
-"Battery 0%;Battery 100%;Battery 50%;Battery 75%;Battery;Bluetooth;Globe;Empty Folder;Full Folder;Gear;Keys;Lock;Mousepointer;Plug;Ships Wheel;Star;Tire".split(";"));this.setCurrentSearchEntryLibrary("clipart","networking");this.addImagePalette("networking","Clipart / Networking",h+"/lib/clip_art/networking/","_128x128.png","Bridge Certificate Certificate_Off Cloud Cloud_Computer Cloud_Computer_Private Cloud_Rack Cloud_Rack_Private Cloud_Server Cloud_Server_Private Cloud_Storage Concentrator Email Firewall_02 Firewall Firewall-page1 Ip_Camera Modem power_distribution_unit Print_Server Print_Server_Wireless Repeater Router Router_Icon Switch UPS Wireless_Router Wireless_Router_N".split(" "),
-"Bridge;Certificate;Certificate Off;Cloud;Cloud Computer;Cloud Computer Private;Cloud Rack;Cloud Rack Private;Cloud Server;Cloud Server Private;Cloud Storage;Concentrator;Email;Firewall 1;Firewall 2;Firewall;Camera;Modem;Power Distribution Unit;Print Server;Print Server Wireless;Repeater;Router;Router Icon;Switch;UPS;Wireless Router;Wireless Router N".split(";"),{Wireless_Router:"wireless router switch wap wifi access point wlan",Wireless_Router_N:"wireless router switch wap wifi access point wlan",
-Router:"router switch",Router_Icon:"router switch"});this.setCurrentSearchEntryLibrary("clipart","people");this.addImagePalette("people","Clipart / People",h+"/lib/clip_art/people/","_128x128.png","Suit_Man Suit_Man_Black Suit_Man_Blue Suit_Man_Green Suit_Man_Green_Black Suit_Woman Suit_Woman_Black Suit_Woman_Blue Suit_Woman_Green Suit_Woman_Green_Black Construction_Worker_Man Construction_Worker_Man_Black Construction_Worker_Woman Construction_Worker_Woman_Black Doctor_Man Doctor_Man_Black Doctor_Woman Doctor_Woman_Black Farmer_Man Farmer_Man_Black Farmer_Woman Farmer_Woman_Black Nurse_Man Nurse_Man_Black Nurse_Woman Nurse_Woman_Black Military_Officer Military_Officer_Black Military_Officer_Woman Military_Officer_Woman_Black Pilot_Man Pilot_Man_Black Pilot_Woman Pilot_Woman_Black Scientist_Man Scientist_Man_Black Scientist_Woman Scientist_Woman_Black Security_Man Security_Man_Black Security_Woman Security_Woman_Black Tech_Man Tech_Man_Black Telesales_Man Telesales_Man_Black Telesales_Woman Telesales_Woman_Black Waiter Waiter_Black Waiter_Woman Waiter_Woman_Black Worker_Black Worker_Man Worker_Woman Worker_Woman_Black".split(" "));
+prefix:"sap",libs:Sidebar.prototype.sap},{id:"aws4",prefix:"aws4",libs:Sidebar.prototype.aws4},{id:"pid",prefix:"pid",libs:Sidebar.prototype.pids},{id:"cisco",prefix:"cisco",libs:Sidebar.prototype.cisco},{id:"cisco_safe",prefix:"cisco_safe",libs:Sidebar.prototype.cisco_safe},{id:"office",prefix:"office",libs:Sidebar.prototype.office},{id:"openstack",prefix:"openstack",libs:Sidebar.prototype.openstack},{id:"veeam",prefix:"veeam",libs:Sidebar.prototype.veeam},{id:"veeam2",prefix:"veeam2",libs:Sidebar.prototype.veeam2},
+{id:"cabinets",libs:["cabinets"]},{id:"floorplan",libs:["floorplan"]},{id:"bootstrap",libs:["bootstrap"]},{id:"atlassian",libs:["atlassian"]},{id:"fluid_power",libs:["fluid_power"]},{id:"gmdl",prefix:"gmdl",libs:Sidebar.prototype.gmdl},{id:"archimate3",prefix:"archimate3",libs:Sidebar.prototype.archimate3},{id:"archimate",libs:["archimate"]},{id:"webicons",libs:["webicons","weblogos"]},{id:"sysml",prefix:"sysml",libs:Sidebar.prototype.sysml}];var a=Sidebar.prototype.addEntry;Sidebar.prototype.addEntry=
+function(h,k){return null!=this.currentSearchEntryLibrary&&null!=this.enabledLibraries&&0>mxUtils.indexOf(this.enabledLibraries,this.currentSearchEntryLibrary.id)?k:a.apply(this,arguments)};var b=Sidebar.prototype.refresh;Sidebar.prototype.refresh=function(){var h=this.editorUi;b.apply(this,arguments);null!=h.scratchpad&&h.loadLibrary(new StorageLibrary(h,h.scratchpad.getData(),".scratchpad"))};Sidebar.prototype.togglePalettes=function(h,k){this.showPalettes(h,k)};Sidebar.prototype.togglePalette=
+function(h){this.showPalette(h)};Sidebar.prototype.showPalettes=function(h,k,l){for(var m=0;m<k.length;m++)this.showPalette(h+k[m],l)};Sidebar.prototype.showPalette=function(h,k){h=this.palettes[h];if(null!=h){k=null!=k?k?"block":"none":"none"==h[0].style.display?"block":"none";for(var l=0;l<h.length;l++)h[l].style.display=k}return h};Sidebar.prototype.getConfigurationById=function(h){for(var k=0;k<this.configuration.length;k++)if(this.configuration[k].id==h)return this.configuration[k];if(null!=
+this.customEntries)for(k=0;k<this.customEntries.length;k++)for(var l=this.customEntries[k]||{},m=0;null!=l.entries&&m<l.entries.length;m++){var n=l.entries[m];if(n.id==h)return{id:n.id,libs:n.libs}}return null};Sidebar.prototype.isEntryVisible=function(h){if(".scratchpad"==h)return null!=this.editorUi.scratchpad;var k=this.getConfigurationById(h);if(null!=k){var l=this.palettes[null!=k.libs?(k.prefix||"")+k.libs[0]:h];if(null!=l)return"none"!=l[0].style.display}if(null!=this.customEntries)for(k=0;k<
+this.customEntries.length;k++){l=this.customEntries[k]||{};for(var m=0;null!=l.entries&&m<l.entries.length;m++){var n=l.entries[m];if(n.id==h){if(null!=n.libs&&0<n.libs.length&&(l=this.palettes[n.id+".0"],null!=l))return"none"!=l[0].style.display;break}}}return!1};Sidebar.prototype.showEntries=function(h,k,l){var m=[];k&&(mxSettings.setLibraries(h),mxSettings.save());null!=h&&(l||0<h.length)?m.push(h):(h=!1,null!=urlParams.libs&&0<urlParams.libs.length&&(m.push(decodeURIComponent(urlParams.libs)),
+h="draw.io"==this.editorUi.getServiceName()),h||(null!=mxSettings&&null!=mxSettings.settings?m.push(mxSettings.getLibraries()):m.push(this.defaultEntries)));k=m.join(";").split(";");m={};for(h=0;h<k.length;h++)m[this.libAliases[k[h]]||k[h]]=!0;for(h=0;h<this.configuration.length;h++)"search"!=this.configuration[h].id&&this.showPalettes(this.configuration[h].prefix||"",this.configuration[h].libs||[this.configuration[h].id],1==m[this.configuration[h].id]);if(null!=this.customEntries)for(h=0;h<this.customEntries.length;h++)for(k=
+this.customEntries[h]||{},l=0;null!=k.entries&&l<k.entries.length;l++){var n=k.entries[l];if(null!=n.libs&&0<n.libs.length){for(var p=[],q=0;q<n.libs.length;q++)p.push(n.id+"."+q);this.showPalettes("",p,m[n.id])}}};Sidebar.prototype.init=function(){this.updateEntries();this.addStencilsToIndex=!1;this.shapetags={};null!=this.tagIndex&&(this.addTagIndex(Graph.decompress(this.tagIndex)),this.tagIndex=null);this.initPalettes()};Sidebar.prototype.updateEntries=function(){var h=[{title:mxResources.get("general"),
+id:"general",image:IMAGE_PATH+"/sidebar-general.png"},{title:mxResources.get("basic"),id:"basic",image:IMAGE_PATH+"/sidebar-basic.png"},{title:mxResources.get("arrows"),id:"arrows2",image:IMAGE_PATH+"/sidebar-arrows2.png"},{title:mxResources.get("clipart"),id:"clipart",image:IMAGE_PATH+"/sidebar-clipart.png"},{title:mxResources.get("flowchart"),id:"flowchart",image:IMAGE_PATH+"/sidebar-flowchart.png"}];if("simple"==Editor.currentTheme||"sketch"==Editor.currentTheme||"min"==Editor.currentTheme)h=[{title:mxResources.get("searchShapes"),
+id:"search"},{title:mxResources.get("scratchpad"),id:".scratchpad"}].concat(h);var k=(new Date).getFullYear();this.entries=[{title:mxResources.get("standard"),entries:h},{title:mxResources.get("software"),entries:[{title:"Active Directory",id:"active_directory",image:IMAGE_PATH+"/sidebar-active_directory.png"},{title:mxResources.get("android"),id:"android",image:IMAGE_PATH+"/sidebar-android.png"},{title:"Atlassian",id:"atlassian",image:IMAGE_PATH+"/sidebar-atlassian.png"},{title:mxResources.get("bootstrap"),
+id:"bootstrap",image:IMAGE_PATH+"/sidebar-bootstrap.png"},{title:"C4",id:"c4",image:IMAGE_PATH+"/sidebar-c4.png"},{title:"Data Flow Diagram",id:"dfd",image:IMAGE_PATH+"/sidebar-dfd.png"},{title:mxResources.get("entityRelation"),id:"er",image:IMAGE_PATH+"/sidebar-er.png"},{title:mxResources.get("ios"),id:"ios",image:IMAGE_PATH+"/sidebar-ios.png"},{title:mxResources.get("mockups"),id:"mockups",image:IMAGE_PATH+"/sidebar-mockups.png"},{title:"Sitemap",id:"sitemap",image:IMAGE_PATH+"/sidebar-sitemap.png"},
+{title:"Salesforce",id:"salesforce",image:IMAGE_PATH+"/sidebar-salesforce.png"},{title:mxResources.get("uml")+" 2.5",id:"uml25",image:IMAGE_PATH+"/sidebar-uml25.png"},{title:mxResources.get("uml"),id:"uml",image:IMAGE_PATH+"/sidebar-uml.png"}]},{title:mxResources.get("networking"),entries:[{title:"Alibaba Cloud",id:"alibaba_cloud",image:IMAGE_PATH+"/sidebar-alibaba_cloud.png"},{title:"Allied Telesis",id:"allied_telesis",image:IMAGE_PATH+"/sidebar-allied_telesis.png"},{title:"AWS17",id:"aws3",image:IMAGE_PATH+
+"/sidebar-aws3.png"},{title:"AWS18",id:"aws4b",image:IMAGE_PATH+"/sidebar-aws4b.png"},{title:"AWS "+k,id:"aws4",image:IMAGE_PATH+"/sidebar-aws4.png"},{title:mxResources.get("aws3d"),id:"aws3d",image:IMAGE_PATH+"/sidebar-aws3d.png"},{title:mxResources.get("azure"),id:"azure2",image:IMAGE_PATH+"/sidebar-azure.png"},{title:"Cloud & Enterprise",id:"mscae",image:IMAGE_PATH+"/sidebar-mscae.png"},{title:mxResources.get("cisco"),id:"cisco",image:IMAGE_PATH+"/sidebar-cisco.png"},{title:"Cisco19",id:"cisco19",
+image:IMAGE_PATH+"/sidebar-cisco19.png"},{title:"Cisco Safe",id:"cisco_safe",image:IMAGE_PATH+"/sidebar-cisco_safe.png"},{title:"Cumulus",id:"cumulus",image:IMAGE_PATH+"/sidebar-cumulus.png"},{title:"Citrix",id:"citrix2",image:IMAGE_PATH+"/sidebar-citrix2.png"},{title:"Citrix (legacy)",id:"citrix",image:IMAGE_PATH+"/sidebar-citrix.png"},{title:"Dynamics365",id:"dynamics365",image:IMAGE_PATH+"/sidebar-dynamics365.png"},{title:"Google Cloud Platform",id:"gcp2",image:IMAGE_PATH+"/sidebar-gcp2.png"},
+{title:"GCP Icons",id:"gcpicons",image:IMAGE_PATH+"/sidebar-gcpicons.png"},{title:"IBM",id:"ibm",image:IMAGE_PATH+"/sidebar-ibm.png"},{title:"IBM Cloud",id:"ibm_cloud",image:IMAGE_PATH+"/sidebar-ibmcloud.png"},{title:"Kubernetes",id:"kubernetes",image:IMAGE_PATH+"/sidebar-kubernetes.png"},{title:"Network",id:"network",image:IMAGE_PATH+"/sidebar-network.png"},{title:"Office",id:"office",image:IMAGE_PATH+"/sidebar-office.png"},{title:"OpenStack",id:"openstack",image:IMAGE_PATH+"/sidebar-openstack.png"},
+{title:mxResources.get("rack"),id:"rack",image:IMAGE_PATH+"/sidebar-rack.png"},{title:"SAP",id:"sap",image:IMAGE_PATH+"/sidebar-sap.png"},{title:"Veeam",id:"veeam2",image:IMAGE_PATH+"/sidebar-veeam.png"},{title:"VMware",id:"vvd",image:IMAGE_PATH+"/sidebar-vvd.png"}]},{title:mxResources.get("business"),entries:[{title:"ArchiMate 3.2",id:"archimate3",image:IMAGE_PATH+"/sidebar-archimate3.png"},{title:mxResources.get("archiMate21"),id:"archimate",image:IMAGE_PATH+"/sidebar-archimate.png"},{title:mxResources.get("bpmn")+
+" 2.0",id:"bpmn2",image:IMAGE_PATH+"/sidebar-bpmn.png"},{title:mxResources.get("sysml"),id:"sysml",image:IMAGE_PATH+"/sidebar-sysml.png"},{title:"Value Stream Mapping",id:"lean_mapping",image:IMAGE_PATH+"/sidebar-leanmapping.png"}]},{title:mxResources.get("other"),entries:[{title:mxResources.get("cabinets"),id:"cabinets",image:IMAGE_PATH+"/sidebar-cabinets.png"},{title:"Infographic",id:"infographic",image:IMAGE_PATH+"/sidebar-infographic.png"},{title:mxResources.get("eip"),id:"eip",image:IMAGE_PATH+
+"/sidebar-eip.png"},{title:mxResources.get("electrical"),id:"electrical",image:IMAGE_PATH+"/sidebar-electrical.png"},{title:mxResources.get("floorplans"),id:"floorplan",image:IMAGE_PATH+"/sidebar-floorplans.png"},{title:"Fluid Power (ISO 1219)",id:"fluid_power",image:IMAGE_PATH+"/sidebar-fluid_power.png"},{title:mxResources.get("gmdl"),id:"gmdl",image:IMAGE_PATH+"/sidebar-gmdl.png"},{title:mxResources.get("procEng"),id:"pid",image:IMAGE_PATH+"/sidebar-pid.png"},{title:"Threat Modeling",id:"threatModeling",
+image:IMAGE_PATH+"/sidebar-threatmodeling.png"},{title:"Web Icons",id:"webicons",image:IMAGE_PATH+"/sidebar-webIcons.png"},{title:mxResources.get("signs"),id:"signs",image:IMAGE_PATH+"/sidebar-signs.png"}]}]};"1"==urlParams.savesidebar&&(Sidebar.prototype.addFoldingHandler=function(h,k,l){var m=!1;if(!mxClient.IS_IE||8<=document.documentMode)h.style.backgroundImage="none"==k.style.display?"url('"+this.collapsedImage+"')":"url('"+this.expandedImage+"')";h.style.backgroundRepeat="no-repeat";h.style.backgroundPosition=
+"0% 50%";var n=document.createElement("button");n.style.marginLeft="4px";mxUtils.write(n,"Save");mxEvent.addListener(h,"click",mxUtils.bind(this,function(p){if("BUTTON"==mxEvent.getSource(p).nodeName){p=k.getElementsByTagName("svg");var q=68*Math.ceil(p.length/6)+36,t=Graph.createSvgNode(0,0,432,q,"#ffffff"),v=new mxSvgCanvas2D(t);v.setFontFamily(mxConstants.DEFAULT_FONTFAMILY);v.setFontStyle(mxConstants.FONT_BOLD);v.setFontColor("rgb(80, 80, 80)");v.setFontSize(14);var u=h.getElementsByTagName("span");
+0<u.length&&v.text(6,0,0,0,mxUtils.getTextContent(u[0]));for(v=0;v<p.length;v++)u=p[v].cloneNode(!0),u.removeAttribute("style"),u.setAttribute("width",this.thumbWidth),u.setAttribute("height",this.thumbHeight),u.setAttribute("x",12+68*mxUtils.mod(v,6)),u.setAttribute("y",24+68*Math.floor(v/6)),t.appendChild(u);this.editorUi.editor.convertImages(t,mxUtils.bind(this,function(r){var x=document.createElement("canvas");x.width=432;x.height=q;var y=document.createElement("img");y.onload=mxUtils.bind(this,
+function(){x.getContext("2d").drawImage(y,0,0);this.editorUi.saveCanvas(x,null,"png")});r=Graph.xmlDeclaration+"\n"+Graph.svgDoctype+"\n"+mxUtils.getXml(t);y.src=Editor.createSvgDataUri(r)}))}else{if("none"==k.style.display){if(m)h.appendChild(n);else if(m=!0,null!=l){null!=n.parentNode&&n.parentNode.removeChild(n);h.style.cursor="wait";var w=h.innerHTML;h.innerHTML=mxResources.get("loading")+"...";window.setTimeout(function(){l(k);h.style.cursor="";h.innerHTML=w;h.appendChild(n)},0)}else h.appendChild(n);
+h.style.backgroundImage="url('"+this.expandedImage+"')";k.style.display="block"}else h.style.backgroundImage="url('"+this.collapsedImage+"')",k.style.display="none",null!=n.parentNode&&n.parentNode.removeChild(n);mxEvent.consume(p)}}))});Sidebar.prototype.extractShapeStyle=function(h){if(null!=h&&"shape="==h.substring(0,6)){var k=h.indexOf(";");0>k&&(k=h.length);return h.substring(6,k)}return null};var d=Sidebar.prototype.getTagsForStencil;Sidebar.prototype.getTagsForStencil=function(h,k,l){var m=
+d.apply(this,arguments);null!=this.shapetags&&(h=h.toLowerCase(),k=k.toLowerCase(),null!=this.shapetags[h]&&m.push(this.shapetags[h]),k=h+"."+k,null!=this.shapetags[k]&&m.push(this.shapetags[k]));return m};Sidebar.prototype.addTagIndex=function(h){h=h.split("\n");for(var k=0;k<h.length;k++)if(null!=h[k]){var l=h[k].split("\t");if(1<l.length){var m=l[0].toLowerCase().replace(" ","_");l=mxUtils.trim(l.slice(1,l.length).join(" ").toLowerCase());0<l.length&&(this.shapetags[m]=l)}}};Sidebar.prototype.getUniqueLibraries=
+function(h){for(var k={},l=[],m=0;m<h.length;m++){var n=JSON.stringify(h[m]);null==k[n]&&(k[n]=!0,l.push(h[m]))}return l};Sidebar.prototype.openLibraries=function(h){h=this.getUniqueLibraries(h);for(var k=null,l=0;l<h.length;l++){var m=this.getConfigurationById(h[l].id);null!=m&&(m=this.openLibrary(m,h[l].lib||h[l].id),null!=m&&null==k&&(k=m))}null!=k&&window.setTimeout(function(){k[0].scrollIntoView({behavior:"smooth"})},0)};Sidebar.prototype.openLibrary=function(h,k){this.showPalettes(h.prefix||
+"",h.libs||[h.id],!0);h=this.showPalette(k,!0);null!=h&&1<h.length&&null!=h[1].firstChild&&(null==h[1].firstChild.firstChild||"none"==h[1].firstChild.style.display)&&h[0].click();return h};Sidebar.prototype.showPopupMenuForEntry=function(h,k,l){if(null!=k&&0<k.length){var m=mxUtils.getOffset(h);this.editorUi.showPopupMenu(mxUtils.bind(this,function(n,p){n.addItem(mxResources.get("openLibrary"),null,mxUtils.bind(this,function(){this.openLibraries(k)}))}),m.x,m.y+h.offsetHeight,l);mxEvent.consume(l)}};
+Sidebar.prototype.addSearchIndex=function(h){if(null!=h)for(var k=0;k<h.length;k++)if(null!=h[k].style){var l=h[k].style,m=this.extractShapeStyle(l);if(null!=m){var n=m.lastIndexOf(".");if(0<n){var p=m.substring(0,n);m=m.substring(n+1,m.length);n=this.getTagsForStencil(p,m,h[k].tags);if(null!=n){var q=l.indexOf(";");l="shape="+p+"."+m.toLowerCase()+";"+(0>q?"":l.substring(q+1));this.setCurrentSearchEntryLibrary(h[k].id,h[k].lib);this.createVertexTemplateEntry(l,parseInt(h[k].w),parseInt(h[k].h),"",
+m.replace(/_/g," "),null,null,this.filterTags(n.join(" ")));null!=this.currentSearchEntryLibrary&&this.addLibForStyle(this.getKeyStyle(l),this.currentSearchEntryLibrary);this.setCurrentSearchEntryLibrary()}}}}};Sidebar.prototype.initPalettes=function(){var h=GRAPH_IMAGE_PATH,k=STENCIL_PATH,l=this.signs,m=this.rack,n=this.pids,p=this.cisco,q=this.sysml;"1"==urlParams.createindex&&(this.createdSearchIndex=[]);this.addSearchPalette(!0);this.appendCustomLibraries||this.addCustomEntries();this.addGeneralPalette(null==
+this.customEntries);this.addMiscPalette(!1);this.addAdvancedPalette(!1);this.addBasicPalette();this.addStencilPalette("arrows",mxResources.get("arrows"),k+"/arrows.xml",";html=1;"+mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;"+mxConstants.STYLE_STROKEWIDTH+"=2;strokeColor=#000000;",null,null,null,null,null,"arrows");this.addArrows2Palette();this.setCurrentSearchEntryLibrary("clipart","computer");this.addImagePalette("computer","Clipart / Computer",h+
+"/lib/clip_art/computers/","_128x128.png","Antivirus Data_Filtering Database Database_Add Database_Minus Database_Move_Stack Database_Remove Fujitsu_Tablet Harddrive IBM_Tablet iMac iPad Laptop MacBook Mainframe Monitor Monitor_Tower Monitor_Tower_Behind Netbook Network Network_2 Printer Printer_Commercial Secure_System Server Server_Rack Server_Rack_Empty Server_Rack_Partial Server_Tower Software Stylus Touch USB_Hub Virtual_Application Virtual_Machine Virus Workstation".split(" "),"Antivirus;Data Filtering;Database;Database Add;Database Minus;Database Move Stack;Database Remove;Fujitsu Tablet;Harddrive;IBMTablet;iMac;iPad;Laptop;MacBook;Mainframe;Monitor;Monitor Tower;Monitor Tower Behind;Netbook;Network;Network 2;Printer;Printer Commercial;Secure System;Server;Server Rack;Server Rack Empty;Server Rack Partial;Server Tower;Software;Stylus;Touch;USB Hub;Virtual Application;Virtual Machine;Virus;Workstation".split(";"));
+this.setCurrentSearchEntryLibrary("clipart","finance");this.addImagePalette("finance","Clipart / Finance",h+"/lib/clip_art/finance/","_128x128.png","Arrow_Down Arrow_Up Coins Credit_Card Dollar Graph Pie_Chart Piggy_Bank Safe Shopping_Cart Stock_Down Stock_Up".split(" "),"Arrow_Down;Arrow Up;Coins;Credit Card;Dollar;Graph;Pie Chart;Piggy Bank;Safe;Shopping Basket;Stock Down;Stock Up".split(";"));this.setCurrentSearchEntryLibrary("clipart","clipart");this.addImagePalette("clipart","Clipart / Various",
+h+"/lib/clip_art/general/","_128x128.png","Battery_0 Battery_100 Battery_50 Battery_75 Battery_allstates Bluetooth Earth_globe Empty_Folder Full_Folder Gear Keys Lock Mouse_Pointer Plug Ships_Wheel Star Tire".split(" "),"Battery 0%;Battery 100%;Battery 50%;Battery 75%;Battery;Bluetooth;Globe;Empty Folder;Full Folder;Gear;Keys;Lock;Mousepointer;Plug;Ships Wheel;Star;Tire".split(";"));this.setCurrentSearchEntryLibrary("clipart","networking");this.addImagePalette("networking","Clipart / Networking",
+h+"/lib/clip_art/networking/","_128x128.png","Bridge Certificate Certificate_Off Cloud Cloud_Computer Cloud_Computer_Private Cloud_Rack Cloud_Rack_Private Cloud_Server Cloud_Server_Private Cloud_Storage Concentrator Email Firewall_02 Firewall Firewall-page1 Ip_Camera Modem power_distribution_unit Print_Server Print_Server_Wireless Repeater Router Router_Icon Switch UPS Wireless_Router Wireless_Router_N".split(" "),"Bridge;Certificate;Certificate Off;Cloud;Cloud Computer;Cloud Computer Private;Cloud Rack;Cloud Rack Private;Cloud Server;Cloud Server Private;Cloud Storage;Concentrator;Email;Firewall 1;Firewall 2;Firewall;Camera;Modem;Power Distribution Unit;Print Server;Print Server Wireless;Repeater;Router;Router Icon;Switch;UPS;Wireless Router;Wireless Router N".split(";"),
+{Wireless_Router:"wireless router switch wap wifi access point wlan",Wireless_Router_N:"wireless router switch wap wifi access point wlan",Router:"router switch",Router_Icon:"router switch"});this.setCurrentSearchEntryLibrary("clipart","people");this.addImagePalette("people","Clipart / People",h+"/lib/clip_art/people/","_128x128.png","Suit_Man Suit_Man_Black Suit_Man_Blue Suit_Man_Green Suit_Man_Green_Black Suit_Woman Suit_Woman_Black Suit_Woman_Blue Suit_Woman_Green Suit_Woman_Green_Black Construction_Worker_Man Construction_Worker_Man_Black Construction_Worker_Woman Construction_Worker_Woman_Black Doctor_Man Doctor_Man_Black Doctor_Woman Doctor_Woman_Black Farmer_Man Farmer_Man_Black Farmer_Woman Farmer_Woman_Black Nurse_Man Nurse_Man_Black Nurse_Woman Nurse_Woman_Black Military_Officer Military_Officer_Black Military_Officer_Woman Military_Officer_Woman_Black Pilot_Man Pilot_Man_Black Pilot_Woman Pilot_Woman_Black Scientist_Man Scientist_Man_Black Scientist_Woman Scientist_Woman_Black Security_Man Security_Man_Black Security_Woman Security_Woman_Black Tech_Man Tech_Man_Black Telesales_Man Telesales_Man_Black Telesales_Woman Telesales_Woman_Black Waiter Waiter_Black Waiter_Woman Waiter_Woman_Black Worker_Black Worker_Man Worker_Woman Worker_Woman_Black".split(" "));
this.setCurrentSearchEntryLibrary("clipart","telco");this.addImagePalette("telco","Clipart / Telecommunication",h+"/lib/clip_art/telecommunication/","_128x128.png","BlackBerry Cellphone HTC_smartphone iPhone Palm_Treo Signal_tower_off Signal_tower_on".split(" "),"BlackBerry;Cellphone;HTC smartphone;iPhone;Palm Treo;Signaltower off;Signaltower on".split(";"));this.setCurrentSearchEntryLibrary();this.addFlowchartPalette();this.addActiveDirectoryPalette();this.addAndroidPalette();this.addAtlassianPalette();
this.addBootstrapPalette();this.addDFDPalette();this.addErPalette();this.addIos7Palette();this.addIosPalette();this.addKubernetesPalette();this.addMockupPalette();this.addSitemapPalette();this.addSalesforcePalette();this.addUml25Palette();this.addUmlPalette(!1);this.addAlibabaCloudPalette();this.addAlliedTelesisPalette();this.addAWS3Palette();this.addAWS4bPalette();this.addAWS4Palette();this.addAWS3DPalette();this.addAzurePalette();this.addAzure2Palette();this.addMSCAEPalette();this.addC4Palette();
-this.addCiscoPalette(p,k);this.addCisco19Palette();this.addCiscoSafePalette();this.addCumulusPalette();this.addCitrix2Palette();this.addCitrixPalette();this.addGCP2Palette();this.addGCPIconsPalette();this.addIBMPalette();this.addIBMCloudPalette();this.addNetworkPalette();this.addSAPPalette();this.addOfficePalette();this.addRackPalette(m,k);this.addVeeamPalette();this.addVeeam2Palette();this.addVVDPalette();this.addArchimate3Palette();this.addArchiMatePalette();this.addBpmn2Palette();this.addSysMLPalette(q,
-k);this.addLeanMappingPalette();this.addCabinetsPalette();this.addInfographicPalette();this.addEipPalette();this.addElectricalPalette();this.addFloorplanPalette();this.addFluidPowerPalette();this.addGMDLPalette();this.addPidPalette(n,k);this.addThreatModelingPalette();this.addWebIconsPalette();this.addWebLogosPalette();this.addSignsPalette(l,k);this.appendCustomLibraries&&this.addCustomEntries();this.showEntries();null!=this.createdSearchIndex&&console.log("searchFileData",Graph.compress(JSON.stringify(this.createdSearchIndex)))};
-Sidebar.prototype.addCustomEntries=function(){if(null!=this.customEntries)for(var h=0,k=0;k<this.customEntries.length;k++)for(var l=this.customEntries[k]||{},m=0;null!=l.entries&&m<l.entries.length;m++)for(var n=l.entries[m],p=0;p<n.libs.length;p++)mxUtils.bind(this,function(q){var t=null,v=null,u=null,w=null,r=mxUtils.bind(this,function(z,A){var B=document.createElement("span");B.style.paddingBottom="6px";B.style.paddingTop="6px";B.style.fontSize="11px";mxUtils.write(B,z);A.innerHTML='<img align="top" src="'+
-mxGraph.prototype.warningImage.src+'"/> ';A.appendChild(B)}),x=mxUtils.bind(this,function(){null!=u&&null!=w&&(null!=v?(u.style.display="block",w.innerText="",mxUtils.write(w,this.editorUi.getResource(q.title)),r(v,u)):null!=t?(this.editorUi.addLibraryEntries(t,u),u.style.display="block",w.innerText="",mxUtils.write(w,this.editorUi.getResource(q.title))):(u.style.display="none",w.innerText="",mxUtils.write(w,mxResources.get("loading")+"...")))});if(null==q.data&&null!=q.url&&!q.preload&&h>=this.maxPreloadCount)this.addPalette(n.id+
-"."+p,this.editorUi.getResource(q.title),!1,mxUtils.bind(this,function(z,A){var B=mxUtils.bind(this,function(C){this.setCurrentSearchEntryLibrary(n.id,n.id+"."+p);this.addEntries(C);this.setCurrentSearchEntryLibrary();this.editorUi.addLibraryEntries(C,z)});z.style.display="none";A.innerText="";mxUtils.write(A,mxResources.get("loading")+"...");var D=q.url;this.editorUi.editor.isCorsEnabledForUrl(D)||(D=PROXY_URL+"?url="+encodeURIComponent(D));this.editorUi.editor.loadUrl(D,mxUtils.bind(this,function(C){z.style.display=
-"block";A.innerText="";mxUtils.write(A,this.editorUi.getResource(q.title));try{var E=mxUtils.parseXml(C);if("mxlibrary"==E.documentElement.nodeName){var F=JSON.parse(mxUtils.getTextContent(E.documentElement));B(F)}else r(mxResources.get("notALibraryFile"),z)}catch(G){r(mxResources.get("error")+": "+G.message,z)}}))}));else if(this.addPalette(n.id+"."+p,this.editorUi.getResource(q.title),!1,mxUtils.bind(this,function(z,A){u=z;w=A;x()})),null!=q.data)this.setCurrentSearchEntryLibrary(n.id,n.id+"."+
-p),this.addEntries(q.data),this.setCurrentSearchEntryLibrary(),t=q.data,x();else if(null!=q.url){h++;var y=q.url;this.editorUi.editor.isCorsEnabledForUrl(y)||(y=PROXY_URL+"?url="+encodeURIComponent(y));this.editorUi.editor.loadUrl(y,mxUtils.bind(this,function(z){try{var A=mxUtils.parseXml(z);"mxlibrary"==A.documentElement.nodeName?(t=JSON.parse(mxUtils.getTextContent(A.documentElement)),this.addEntries(t)):v=mxResources.get("notALibraryFile");x()}catch(B){v=mxResources.get("error")+": "+B.message,
-x()}}),mxUtils.bind(this,function(z){v=null!=z&&null!=z.message?z.message:z;x()}))}else v=mxResources.get("invalidInput"),x()})(n.libs[p])};if("1"==urlParams.createindex){var c=Sidebar.prototype.addStencilPalette;Sidebar.prototype.addStencilPalette=function(h,k,l,m,n,p,q,t,v,u){c.apply(this,arguments);q=null!=q?q:1;mxStencilRegistry.loadStencilSet(l,mxUtils.bind(this,function(w,r,x,y,z){if(null!=this.createdSearchIndex&&null==n||0>mxUtils.indexOf(n,r))w={style:"shape="+w+r+m,w:Math.round(y*q),h:Math.round(z*
-q)},r=null!=t?t[r]:null,null!=r&&(w.tags=r),null!=u&&(w.id=u,w.lib=h),this.createdSearchIndex.push(w)}),!0)}}Sidebar.prototype.extractIconsFromResponse=function(h,k){for(var l=0;l<h.icons.length;l++){for(var m=h.icons[l].raster_sizes,n=m.length-1;0<n&&128<m[n].size;)n--;var p=m[n].size;m=m[n].formats[0].preview_url;null!=p&&null!=m&&mxUtils.bind(this,function(q,t){k.push(mxUtils.bind(this,function(){return this.createVertexTemplate("shape=image;html=1;verticalAlign=top;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;imageAspect=0;aspect=fixed;image="+
-t,q,q,"")}))})(p,m)}};Sidebar.prototype.isSearchIndexLoaded=function(){return null==this.searchIndexData};Sidebar.prototype.updateSearchIndex=function(){null!=this.searchIndexData&&(this.addSearchIndex(JSON.parse(Graph.decompress(this.searchIndexData))),this.searchIndexData=null)};var e=Sidebar.prototype.searchEntries;Sidebar.prototype.searchEntries=function(h,k,l,m,n,p){var q=m;this.updateSearchIndex();null!=ICONSEARCH_PATH&&p&&(m=mxUtils.bind(this,function(t,v,u,w){!this.editorUi.isOffline()&&t.length<=
-k/4?(u=l-Math.ceil((v-k/4)/k),mxUtils.get(ICONSEARCH_PATH+"?q="+encodeURIComponent(h)+"&p="+u+"&c="+k,mxUtils.bind(this,function(r){try{if(200<=r.getStatus()&&299>=r.getStatus()&&null!=r.getText()&&0<r.getText().length)try{var x=JSON.parse(r.getText());null==x||null==x.icons?(q(t,v,!1,w),this.editorUi.handleError(x)):(this.extractIconsFromResponse(x,t),q(t,(l-1)*k+t.length,x.icons.length==k,w))}catch(y){q(t,v,!1,w),this.editorUi.handleError(y)}else q(t,v,!1,w)}catch(y){q(t,v,!1,w),this.editorUi.handleError(y)}},
-function(){q(t,v,!1,w)}))):q(t,v,u||!this.editorUi.isOffline(),w)}));e.apply(this,arguments)};var f=Sidebar.prototype.getTooltipOffset;Sidebar.prototype.getTooltipOffset=function(h,k){if("simple"==Editor.currentTheme||"sketch"==Editor.currentTheme||"min"==Editor.currentTheme){if(mxUtils.isAncestorNode(this.editorUi.sketchPickerMenuElt,h)){var l=mxUtils.getOffset(h);"simple"==Editor.currentTheme?(l.x+=(h.offsetWidth-k.width)/2-14,l.y=h.parentNode.offsetHeight-2):(l.x=h.parentNode.offsetLeft+h.parentNode.offsetWidth+
-2,l.y+=(h.offsetHeight-k.height)/2);return new mxPoint(Math.max(0,l.x),Math.max(0,l.y))}if(null!=this.editorUi.sidebarWindow)return l=mxUtils.getOffset(this.editorUi.sidebarWindow.window.div),l.x+=this.editorUi.sidebarWindow.window.div.offsetWidth+2,l.y+=h.offsetTop+(h.offsetHeight-k.height)/2,null!=h.offsetParent&&(l.y-=h.offsetParent.scrollTop),new mxPoint(Math.max(0,l.x),Math.max(0,l.y))}return f.apply(this,arguments)};var g=Sidebar.prototype.itemClicked;Sidebar.prototype.itemClicked=function(h,
-k,l){var m=this.editorUi.editor.graph,n=!1;if(null!=h&&1==m.getSelectionCount()&&m.getModel().isVertex(h[0])){var p=m.cloneCell(h[0]);if(m.getModel().isEdge(m.getSelectionCell())&&null==m.getModel().getTerminal(m.getSelectionCell(),!1)&&m.getModel().isVertex(p)){m.getModel().beginUpdate();try{var q=m.view.getState(m.getSelectionCell());if(null!=q){var t=m.view.translate,v=m.view.scale,u=q.absolutePoints[q.absolutePoints.length-1];p.geometry.x=u.x/v-t.x-p.geometry.width/2;p.geometry.y=u.y/v-t.y-p.geometry.height/
-2}m.addCell(p);m.getModel().setTerminal(m.getSelectionCell(),p,!1);null!=l&&mxEvent.isShiftDown(l)||m.fireEvent(new mxEventObject("cellsInserted","cells",[p]))}catch(w){this.editorUi.handleError(w)}finally{m.getModel().endUpdate()}m.scrollCellToVisible(p);m.setSelectionCell(p);n=!0}}n||g.apply(this,arguments)}})();(function(){Sidebar.prototype.addActiveDirectoryPalette=function(){this.setCurrentSearchEntryLibrary("active_directory");var a=[this.createVertexTemplateEntry("image;aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image=img/lib/active_directory/active_directory.svg;",50,42.5,"","Active Directory",!1,null,this.getTagsForStencil("ms active directory ","active directory","ibm").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image=img/lib/active_directory/cd_dvd.svg;",
+this.addCiscoPalette(p,k);this.addCisco19Palette();this.addCiscoSafePalette();this.addCumulusPalette();this.addCitrix2Palette();this.addCitrixPalette();this.addDynamics365Palette();this.addGCP2Palette();this.addGCPIconsPalette();this.addIBMPalette();this.addIBMCloudPalette();this.addNetworkPalette();this.addSAPPalette();this.addOfficePalette();this.addOpenStackPalette();this.addRackPalette(m,k);this.addVeeamPalette();this.addVeeam2Palette();this.addVVDPalette();this.addArchimate3Palette();this.addArchiMatePalette();
+this.addBpmn2Palette();this.addSysMLPalette(q,k);this.addLeanMappingPalette();this.addCabinetsPalette();this.addInfographicPalette();this.addEipPalette();this.addElectricalPalette();this.addFloorplanPalette();this.addFluidPowerPalette();this.addGMDLPalette();this.addPidPalette(n,k);this.addThreatModelingPalette();this.addWebIconsPalette();this.addWebLogosPalette();this.addSignsPalette(l,k);this.appendCustomLibraries&&this.addCustomEntries();this.showEntries();null!=this.createdSearchIndex&&console.log("searchFileData",
+Graph.compress(JSON.stringify(this.createdSearchIndex)))};Sidebar.prototype.addCustomEntries=function(){if(null!=this.customEntries)for(var h=0,k=0;k<this.customEntries.length;k++)for(var l=this.customEntries[k]||{},m=0;null!=l.entries&&m<l.entries.length;m++)for(var n=l.entries[m],p=0;p<n.libs.length;p++)mxUtils.bind(this,function(q){var t=null,v=null,u=null,w=null,r=mxUtils.bind(this,function(z,A){var B=document.createElement("span");B.style.paddingBottom="6px";B.style.paddingTop="6px";B.style.fontSize=
+"11px";mxUtils.write(B,z);A.innerHTML='<img align="top" src="'+mxGraph.prototype.warningImage.src+'"/> ';A.appendChild(B)}),x=mxUtils.bind(this,function(){null!=u&&null!=w&&(null!=v?(u.style.display="block",w.innerText="",mxUtils.write(w,this.editorUi.getResource(q.title)),r(v,u)):null!=t?(this.editorUi.addLibraryEntries(t,u),u.style.display="block",w.innerText="",mxUtils.write(w,this.editorUi.getResource(q.title))):(u.style.display="none",w.innerText="",mxUtils.write(w,mxResources.get("loading")+
+"...")))});if(null==q.data&&null!=q.url&&!q.preload&&h>=this.maxPreloadCount)this.addPalette(n.id+"."+p,this.editorUi.getResource(q.title),!1,mxUtils.bind(this,function(z,A){var B=mxUtils.bind(this,function(C){this.setCurrentSearchEntryLibrary(n.id,n.id+"."+p);this.addEntries(C);this.setCurrentSearchEntryLibrary();this.editorUi.addLibraryEntries(C,z)});z.style.display="none";A.innerText="";mxUtils.write(A,mxResources.get("loading")+"...");var D=q.url;this.editorUi.editor.isCorsEnabledForUrl(D)||(D=
+PROXY_URL+"?url="+encodeURIComponent(D));this.editorUi.editor.loadUrl(D,mxUtils.bind(this,function(C){z.style.display="block";A.innerText="";mxUtils.write(A,this.editorUi.getResource(q.title));try{var E=mxUtils.parseXml(C);if("mxlibrary"==E.documentElement.nodeName){var F=JSON.parse(mxUtils.getTextContent(E.documentElement));B(F)}else r(mxResources.get("notALibraryFile"),z)}catch(G){r(mxResources.get("error")+": "+G.message,z)}}))}));else if(this.addPalette(n.id+"."+p,this.editorUi.getResource(q.title),
+!1,mxUtils.bind(this,function(z,A){u=z;w=A;x()})),null!=q.data)this.setCurrentSearchEntryLibrary(n.id,n.id+"."+p),this.addEntries(q.data),this.setCurrentSearchEntryLibrary(),t=q.data,x();else if(null!=q.url){h++;var y=q.url;this.editorUi.editor.isCorsEnabledForUrl(y)||(y=PROXY_URL+"?url="+encodeURIComponent(y));this.editorUi.editor.loadUrl(y,mxUtils.bind(this,function(z){try{var A=mxUtils.parseXml(z);"mxlibrary"==A.documentElement.nodeName?(t=JSON.parse(mxUtils.getTextContent(A.documentElement)),
+this.addEntries(t)):v=mxResources.get("notALibraryFile");x()}catch(B){v=mxResources.get("error")+": "+B.message,x()}}),mxUtils.bind(this,function(z){v=null!=z&&null!=z.message?z.message:z;x()}))}else v=mxResources.get("invalidInput"),x()})(n.libs[p])};if("1"==urlParams.createindex){var c=Sidebar.prototype.addStencilPalette;Sidebar.prototype.addStencilPalette=function(h,k,l,m,n,p,q,t,v,u){c.apply(this,arguments);q=null!=q?q:1;mxStencilRegistry.loadStencilSet(l,mxUtils.bind(this,function(w,r,x,y,z){if(null!=
+this.createdSearchIndex&&null==n||0>mxUtils.indexOf(n,r))w={style:"shape="+w+r+m,w:Math.round(y*q),h:Math.round(z*q)},r=null!=t?t[r]:null,null!=r&&(w.tags=r),null!=u&&(w.id=u,w.lib=h),this.createdSearchIndex.push(w)}),!0)}}Sidebar.prototype.extractIconsFromResponse=function(h,k){for(var l=0;l<h.icons.length;l++){for(var m=h.icons[l].raster_sizes,n=m.length-1;0<n&&128<m[n].size;)n--;var p=m[n].size;m=m[n].formats[0].preview_url;null!=p&&null!=m&&mxUtils.bind(this,function(q,t){k.push(mxUtils.bind(this,
+function(){return this.createVertexTemplate("shape=image;html=1;verticalAlign=top;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;imageAspect=0;aspect=fixed;image="+t,q,q,"")}))})(p,m)}};Sidebar.prototype.isSearchIndexLoaded=function(){return null==this.searchIndexData};Sidebar.prototype.updateSearchIndex=function(){null!=this.searchIndexData&&(this.addSearchIndex(JSON.parse(Graph.decompress(this.searchIndexData))),this.searchIndexData=null)};var e=Sidebar.prototype.searchEntries;Sidebar.prototype.searchEntries=
+function(h,k,l,m,n,p){var q=m;this.updateSearchIndex();null!=ICONSEARCH_PATH&&p&&(m=mxUtils.bind(this,function(t,v,u,w){!this.editorUi.isOffline()&&t.length<=k/4?(u=l-Math.ceil((v-k/4)/k),mxUtils.get(ICONSEARCH_PATH+"?q="+encodeURIComponent(h)+"&p="+u+"&c="+k,mxUtils.bind(this,function(r){try{if(200<=r.getStatus()&&299>=r.getStatus()&&null!=r.getText()&&0<r.getText().length)try{var x=JSON.parse(r.getText());null==x||null==x.icons?(q(t,v,!1,w),this.editorUi.handleError(x)):(this.extractIconsFromResponse(x,
+t),q(t,(l-1)*k+t.length,x.icons.length==k,w))}catch(y){q(t,v,!1,w),this.editorUi.handleError(y)}else q(t,v,!1,w)}catch(y){q(t,v,!1,w),this.editorUi.handleError(y)}},function(){q(t,v,!1,w)}))):q(t,v,u||!this.editorUi.isOffline(),w)}));e.apply(this,arguments)};var f=Sidebar.prototype.getTooltipOffset;Sidebar.prototype.getTooltipOffset=function(h,k){if("simple"==Editor.currentTheme||"sketch"==Editor.currentTheme||"min"==Editor.currentTheme){if(mxUtils.isAncestorNode(this.editorUi.sketchPickerMenuElt,
+h)){var l=mxUtils.getOffset(h);"simple"==Editor.currentTheme?(l.x+=(h.offsetWidth-k.width)/2-14,l.y=h.parentNode.offsetHeight-2):(l.x=h.parentNode.offsetLeft+h.parentNode.offsetWidth+2,l.y+=(h.offsetHeight-k.height)/2);return new mxPoint(Math.max(0,l.x),Math.max(0,l.y))}if(null!=this.editorUi.sidebarWindow)return l=mxUtils.getOffset(this.editorUi.sidebarWindow.window.div),l.x+=this.editorUi.sidebarWindow.window.div.offsetWidth+2,l.y+=h.offsetTop+(h.offsetHeight-k.height)/2,null!=h.offsetParent&&(l.y-=
+h.offsetParent.scrollTop),new mxPoint(Math.max(0,l.x),Math.max(0,l.y))}return f.apply(this,arguments)};var g=Sidebar.prototype.itemClicked;Sidebar.prototype.itemClicked=function(h,k,l){var m=this.editorUi.editor.graph,n=!1;if(null!=h&&1==m.getSelectionCount()&&m.getModel().isVertex(h[0])){var p=m.cloneCell(h[0]);if(m.getModel().isEdge(m.getSelectionCell())&&null==m.getModel().getTerminal(m.getSelectionCell(),!1)&&m.getModel().isVertex(p)){m.getModel().beginUpdate();try{var q=m.view.getState(m.getSelectionCell());
+if(null!=q){var t=m.view.translate,v=m.view.scale,u=q.absolutePoints[q.absolutePoints.length-1];p.geometry.x=u.x/v-t.x-p.geometry.width/2;p.geometry.y=u.y/v-t.y-p.geometry.height/2}m.addCell(p);m.getModel().setTerminal(m.getSelectionCell(),p,!1);null!=l&&mxEvent.isShiftDown(l)||m.fireEvent(new mxEventObject("cellsInserted","cells",[p]))}catch(w){this.editorUi.handleError(w)}finally{m.getModel().endUpdate()}m.scrollCellToVisible(p);m.setSelectionCell(p);n=!0}}n||g.apply(this,arguments)}})();(function(){Sidebar.prototype.addActiveDirectoryPalette=function(){this.setCurrentSearchEntryLibrary("active_directory");var a=[this.createVertexTemplateEntry("image;aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image=img/lib/active_directory/active_directory.svg;",50,42.5,"","Active Directory",!1,null,this.getTagsForStencil("ms active directory ","active directory","ibm").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image=img/lib/active_directory/cd_dvd.svg;",
50,50,"","CD / DVD",!1,null,this.getTagsForStencil("ms active directory ","cd dvd compact digital video disc","ibm").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image=img/lib/active_directory/cell_phone.svg;",21,50,"","Cell Phone",!1,null,this.getTagsForStencil("ms active directory ","cell phone","ibm").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image=img/lib/active_directory/cluster_server.svg;",
50,50,"","Cluster Server",!1,null,this.getTagsForStencil("ms active directory ","active","ibm").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image=img/lib/active_directory/community_discussion.svg;",50,45,"","Community Discussion",!1,null,this.getTagsForStencil("ms active directory ","community discussion","ibm").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image=img/lib/active_directory/data_jack.svg;",
50*.55,50,"","Data Jack",!1,null,this.getTagsForStencil("ms active directory ","data jack","ibm").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image=img/lib/active_directory/database.svg;",50,37,"","Database",!1,null,this.getTagsForStencil("ms active directory ","database","ibm").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image=img/lib/active_directory/database_cube.svg;",
@@ -4897,7 +4896,7 @@ this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+e+".cloud9;",c,c,"","Cl
"codeartifact","aws amazon web service dev developer tools ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+e+".codebuild;",c,c,"","CodeBuild",null,null,this.getTagsForStencil(e,"codebuild","aws amazon web service dev developer tools ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+e+".codecommit;",c,c,"","CodeCommit",null,null,this.getTagsForStencil(e,"codecommit","aws amazon web service dev developer tools ").join(" ")),this.createVertexTemplateEntry(d+
"resourceIcon;resIcon="+e+".codedeploy;",c,c,"","CodeDeploy",null,null,this.getTagsForStencil(e,"codedeploy","aws amazon web service dev developer tools ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+e+".codepipeline;",c,c,"","CodePipeline",null,null,this.getTagsForStencil(e,"codepipeline","aws amazon web service dev developer tools ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+e+".codestar;",c,c,"","CodeStar",null,null,this.getTagsForStencil(e,"codestar",
"aws amazon web service dev developer tools ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+e+".command_line_interface;",c,c,"","Command Line Interface",null,null,this.getTagsForStencil(e,"command line interface","aws amazon web service dev developer tools ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+e+".corretto;",c,c,"","Corretto",null,null,this.getTagsForStencil(e,"corretto","aws amazon web service dev developer tools ").join(" ")),this.createVertexTemplateEntry(d+
-"resourceIcon;resIcon="+e+".application_composer;",c,c,"","Application Composer",null,null,this.getTagsForStencil(e,"application composer","aws amazon web service dev developer tools ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+e+".tools_and_sdks;",c,c,"","Tools and SDKs",null,null,this.getTagsForStencil(e,"tools and sdks software development kit","aws amazon web service dev developer tools ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+e+".xray;",
+"resourceIcon;resIcon="+e+".application_composer;",c,c,"","Infrastructure Composer",null,null,this.getTagsForStencil(e,"infrastructure composer","aws amazon web service dev developer tools ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+e+".tools_and_sdks;",c,c,"","Tools and SDKs",null,null,this.getTagsForStencil(e,"tools and sdks software development kit","aws amazon web service dev developer tools ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+e+".xray;",
c,c,"","X-Ray",null,null,this.getTagsForStencil(e,"ray xray","aws amazon web service dev developer tools ").join(" ")),this.createVertexTemplateEntry(b+"cloud9;",78*a,50*a,"","Cloud9",null,null,this.getTagsForStencil(e,"cloud9","aws amazon web service dev developer tools ").join(" "))])};Sidebar.prototype.addAWS4EndUserComputingPalette=function(a,b,d,c,e,f){b="sketch=0;outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#01A88D;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+
mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";d="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#01A88D;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4End User Computing",
"AWS / End User Computing",!1,[this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+e+".desktop_and_app_streaming;",c,c,"","End User Computing",null,null,this.getTagsForStencil(e,"desktop and app streaming","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+e+".appstream_20;",c,c,"","Appstream 2.0",null,null,this.getTagsForStencil(e,"appstream","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+
@@ -5352,174 +5351,174 @@ this.addAzure2InternetOfThingsPalette("mxgraph.azure2",400,this,"image;aspect=fi
this.setCurrentSearchEntryLibrary("azure2","azure2Management Governance");this.addAzure2ManagementGovernancePalette("mxgraph.azure2",400,this,"image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/management_governance/");this.setCurrentSearchEntryLibrary("azure2","azure2Menu");this.addAzure2MenuPalette("mxgraph.azure2",400,this,"image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/menu/");this.setCurrentSearchEntryLibrary("azure2","azure2Migrate");
this.addAzure2MigratePalette("mxgraph.azure2",400,this,"image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/migrate/");this.setCurrentSearchEntryLibrary("azure2","azure2Mixed Reality");this.addAzure2MixedRealityPalette("mxgraph.azure2",400,this,"image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/mixed_reality/");this.setCurrentSearchEntryLibrary("azure2","azure2Mobile");this.addAzure2MobilePalette("mxgraph.azure2",400,this,"image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/mobile/");
this.setCurrentSearchEntryLibrary("azure2","azure2Monitor");this.addAzure2MonitorPalette("mxgraph.azure2",400,this,"image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/monitor/");this.setCurrentSearchEntryLibrary("azure2","azure2Networking");this.addAzure2NetworkingPalette("mxgraph.azure2",400,this,"image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/networking/");this.setCurrentSearchEntryLibrary("azure2","azure2Other");this.addAzure2OtherPalette("mxgraph.azure2",
-400,this,"image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/other/");this.setCurrentSearchEntryLibrary("azure2","azure2Preview");this.addAzure2PreviewPalette("mxgraph.azure2",400,this,"image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/preview/");this.setCurrentSearchEntryLibrary("azure2","azure2Security");this.addAzure2SecurityPalette("mxgraph.azure2",400,this,"image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/security/");
-this.setCurrentSearchEntryLibrary("azure2","azure2Storage");this.addAzure2StoragePalette("mxgraph.azure2",400,this,"image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/storage/");this.setCurrentSearchEntryLibrary("azure2","azure2Web");this.addAzure2WebPalette("mxgraph.azure2",400,this,"image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/web/");this.setCurrentSearchEntryLibrary()};Sidebar.prototype.addAzure2AIMachineLearningPalette=function(a,
-b,d,c){var e=[this.createVertexTemplateEntry(c+"AI_Studio.svg;",.16*b,.17*b,"","AI Studio",null,null,this.getTagsForStencil(a,"ai studio","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Anomaly_Detector.svg;",.17*b,.17*b,"","Anomaly Detector",null,null,this.getTagsForStencil(a,"anomaly detector","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Applied_AI.svg;",.17*b,.13*b,"","Applied AI",null,
-null,this.getTagsForStencil(a,"applied","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Batch_AI.svg;",.12*b,.17*b,"","Batch AI",null,null,this.getTagsForStencil(a,"batch","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Bonsai.svg;",.17*b,.165*b,"","Bonsai",null,null,this.getTagsForStencil(a,"bonsai","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+
-"Bot_Services.svg;",.17*b,.17*b,"","Bot Services",null,null,this.getTagsForStencil(a,"bot services","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Computer_Vision.svg;",.17*b,.17*b,"","Computer Vision",null,null,this.getTagsForStencil(a,"computer vision","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/app_services/Search_Services.svg;",
-.17*b,.1228*b,"","Cognitive Search",null,null,this.getTagsForStencil(a,"cognitive search","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Cognitive_Services.svg;",.17*b,.12*b,"","Cognitive Services",null,null,this.getTagsForStencil(a,"cognitive services","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Content_Moderators.svg;",.17*b,.157*b,"","Content Moderators",null,null,this.getTagsForStencil(a,
-"content moderators","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Custom_Vision.svg;",.17*b,.17*b,"","Custom Vision",null,null,this.getTagsForStencil(a,"custom vision","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Experimentation_Studio.svg;",.17*b,.14*b,"","Experimentation Studio",null,null,this.getTagsForStencil(a,"experimentation studio","azure ai machine learning artificial intelligence ").join(" ")),
-this.createVertexTemplateEntry(c+"Face_APIs.svg;",.17*b,.17*b,"","Face APIs",null,null,this.getTagsForStencil(a,"face apis api application programming interface","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Form_Recognizers.svg;",.158*b,.17*b,"","Form Recognizers",null,null,this.getTagsForStencil(a,"form recognizers","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Genomics.svg;",.09*b,.17*b,"",
-"Genomics",null,null,this.getTagsForStencil(a,"genomics","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Immersive_Readers.svg;",.17*b,.17*b,"","Immersive Readers",null,null,this.getTagsForStencil(a,"immersive readers","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Language_Services.svg;",.17*b,.17*b,"","Language",null,null,this.getTagsForStencil(a,"language services","azure ai machine learning artificial intelligence ").join(" ")),
-this.createVertexTemplateEntry(c+"Cognitive_Services_Decisions.svg;",.17*b,.17*b,"","Cognitive Services Decisions",null,null,this.getTagsForStencil(a,"cognitive services decisions","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Content_Safety.svg;",.17*b,.17*b,"","Content Safety",null,null,this.getTagsForStencil(a,"content safety","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Language_Understanding.svg;",
-.17*b,.17*b,"","Language Understanding",null,null,this.getTagsForStencil(a,"language understanding","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Machine_Learning.svg;",.16*b,.17*b,"","Machine Learning",null,null,this.getTagsForStencil(a,"","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Machine_Learning_Studio_Classic_Web_Services.svg;",.17*b,.17*b,"","Machine Learning Studio - Classic Web Services",
-null,null,this.getTagsForStencil(a,"studio classic web services","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Machine_Learning_Studio_Web_Service_Plans.svg;",.17*b,.17*b,"","Machine Learning Studio - Web Service Plans",null,null,this.getTagsForStencil(a,"studio web service plans","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Machine_Learning_Studio_Workspaces.svg;",.17*b,.17*b,"","Machine Learning Studio - Workspaces",
-null,null,this.getTagsForStencil(a,"studio workspaces","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/compute/Metrics_Advisor.svg;",.137*b,.17*b,"","Metrics Advisor",null,null,this.getTagsForStencil(a,"metrics advisor","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Object_Understanding.svg;",.17*b,.17*b,"","Object Understanding",
-null,null,this.getTagsForStencil(a,"object understanding","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Azure_OpenAI.svg;",.17*b,.17*b,"","OpenAI",null,null,this.getTagsForStencil(a,"openai open ai","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Personalizers.svg;",.17*b,.138*b,"","Personalizers",null,null,this.getTagsForStencil(a,"personalizers","azure ai machine learning artificial intelligence ").join(" ")),
-this.createVertexTemplateEntry(c+"QnA_Makers.svg;",.17*b,.17*b,"","QnA Makers",null,null,this.getTagsForStencil(a,"qna makers","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Serverless_Search.svg;",.17*b,.17*b,"","Serverless Search",null,null,this.getTagsForStencil(a,"serverless search","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Speech_Services.svg;",.17*b,.17*b,"","Speech Services",null,null,
-this.getTagsForStencil(a,"speech services","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Translator_Text.svg;",.17*b,.17*b,"","Translator Text",null,null,this.getTagsForStencil(a,"translator text","azure ai machine learning artificial intelligence ").join(" "))];this.addPalette("azure2AI Machine Learning","Azure / AI and Machine Learning",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2AnalyticsPalette=
-function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"Analysis_Services.svg;",.1575*b,.12*b,"","Analysis Services",null,null,this.getTagsForStencil(a,"analysis services","azure analytics ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/databases/Azure_Data_Explorer_Clusters.svg;",.17*b,.17*b,"","Data Explorer Clusters",null,null,this.getTagsForStencil(a,"data explorer clusters","azure analytics ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/databases/Data_Factory.svg;",
-.17*b,.17*b,"","Data Factories",null,null,this.getTagsForStencil(a,"data factories","azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"Data_Lake_Analytics.svg;",.17*b,.17*b,"","Data Lake Analytics",null,null,this.getTagsForStencil(a,"data lake analytics","azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"Data_Lake_Store_Gen1.svg;",.16*b,.13*b,"","Data Lake Store Gen1",null,null,this.getTagsForStencil(a,"data lake store gen1","azure analytics ").join(" ")),this.createVertexTemplateEntry(c+
-"Azure_Databricks.svg;",.157*b,.17*b,"","Databricks",null,null,this.getTagsForStencil(a,"azure databricks","azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"Endpoint_Analytics.svg;",.17*b,.17*b,"","Endpoint Analytics",null,null,this.getTagsForStencil(a,"endpoint analytics","azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"Event_Hub_Clusters.svg;",.16*b,.13*b,"","Event Hub Clusters",null,null,this.getTagsForStencil(a,"event hub clusters","azure analytics ").join(" ")),
-this.createVertexTemplateEntry(c+"Event_Hubs.svg;",.1675*b,.15*b,"","Event Hubs",null,null,this.getTagsForStencil(a,"event hubs","azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"HD_Insight_Clusters.svg;",.1575*b,.155*b,"","HD Insight Clusters",null,null,this.getTagsForStencil(a,"hd insight clusters","azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"Log_Analytics_Workspaces.svg;",.16*b,.16*b,"","Log Analytics Workspaces",null,null,this.getTagsForStencil(a,"log analytics workspaces",
-"azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"Power_BI_Embedded.svg;",.1275*b,.17*b,"","Power BI Embedded",null,null,this.getTagsForStencil(a,"power bi embedded","azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"Power_Platform.svg;",.1623*b,.17*b,"","Power Platform",null,null,this.getTagsForStencil(a,"power platform","azure analytics ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/networking/Private_Link_Hub.svg;",
-.147*b,.17*b,"","Private Link Services",null,null,this.getTagsForStencil(a,"private link services","azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"Stream_Analytics_Jobs.svg;",.17*b,.145*b,"","Stream Analytics Jobs",null,null,this.getTagsForStencil(a,"Stream_Analytics_Jobs","azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Synapse_Analytics.svg;",.15*b,.1725*b,"","Synapse Analytics",null,null,this.getTagsForStencil(a,"synapse analytics","azure analytics ").join(" ")),
-this.createVertexTemplateEntry(c+"Azure_Workbooks.svg;",.17*b,.17*b,"","Workbooks",null,null,this.getTagsForStencil(a,"workbooks","azure analytics ").join(" "))];this.addPalette("azure2Analytics","Azure / Analytics",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2AppServicesPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"API_Management_Services.svg;",.1625*b,.15*b,"","API Management Services",null,null,this.getTagsForStencil(a,
-"api application programming interface management services","azure app services ").join(" ")),this.createVertexTemplateEntry(c+"App_Service_Certificates.svg;",.175*b,.16*b,"","App Service Certificates",null,null,this.getTagsForStencil(a,"app service certificates","azure app services ").join(" ")),this.createVertexTemplateEntry(c+"App_Service_Domains.svg;",.1625*b,.13*b,"","App Service Domains",null,null,this.getTagsForStencil(a,"app service domains","azure app services ").join(" ")),this.createVertexTemplateEntry(c+
-"App_Service_Environments.svg;",.16*b,.16*b,"","App Service Environments",null,null,this.getTagsForStencil(a,"app service environments","azure app services ").join(" ")),this.createVertexTemplateEntry(c+"App_Service_Plans.svg;",.16*b,.16*b,"","App Service Plans",null,null,this.getTagsForStencil(a,"app service plans","azure app services ").join(" ")),this.createVertexTemplateEntry(c+"App_Services.svg;",.16*b,.16*b,"","App Services",null,null,this.getTagsForStencil(a,"app services","azure app services ").join(" ")),
-this.createVertexTemplateEntry(c+"CDN_Profiles.svg;",.17*b,.1*b,"","CDN Profiles",null,null,this.getTagsForStencil(a,"cdn profiles","azure app services ").join(" ")),this.createVertexTemplateEntry(c+"Notification_Hubs.svg;",.1675*b,.14*b,"","Notification Hubs",null,null,this.getTagsForStencil(a,"notification hubs","azure app services ").join(" ")),this.createVertexTemplateEntry(c+"Search_Services.svg;",.18*b,.13*b,"","Search Services",null,null,this.getTagsForStencil(a,"search services","azure app services ").join(" "))];
-this.addPalette("azure2App Services","Azure / App Services",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2EcosystemPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"Applens.svg;",.17*b,.17*b,"","Applens",null,null,this.getTagsForStencil(a,"applens","azure ecosystem ").join(" ")),this.createVertexTemplateEntry(c+"Collaborative_Service.svg;",.17*b,.167*b,"","Collaborative Service",null,null,this.getTagsForStencil(a,
-"collaborative service","azure ecosystem ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Hybrid_Center.svg;",.17*b,.12*b,"","Hybrid Center",null,null,this.getTagsForStencil(a,"hybrid center","azure ecosystem ").join(" "))];this.addPalette("azure2Azure Ecosystem","Azure / Ecosystem",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2AzureStackPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"Capacity.svg;",.1575*
-b,.17*b,"","Capacity",null,null,this.getTagsForStencil(a,"capacity","azure stack ").join(" ")),this.createVertexTemplateEntry(c+"Infrastructure_Backup.svg;",.15*b,.1725*b,"","Infrastructure Backup",null,null,this.getTagsForStencil(a,"infrastructure backup","azure stack ").join(" ")),this.createVertexTemplateEntry(c+"Multi_Tenancy.svg;",.17*b,.1625*b,"","Multi Tenancy",null,null,this.getTagsForStencil(a,"multi tenancy","azure stack ").join(" ")),this.createVertexTemplateEntry(c+"Offers.svg;",.1625*
-b,.16*b,"","Offers",null,null,this.getTagsForStencil(a,"offers","azure stack ").join(" ")),this.createVertexTemplateEntry(c+"Plans.svg;",.13*b,.16*b,"","Plans",null,null,this.getTagsForStencil(a,"plans","azure stack ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Stack.svg;",.155*b,.16*b,"","Stack",null,null,this.getTagsForStencil(a,"azure stack","azure stack ").join(" ")),this.createVertexTemplateEntry(c+"Updates.svg;",.17*b,.1675*b,"","Updates",null,null,this.getTagsForStencil(a,"updates",
-"azure stack ").join(" ")),this.createVertexTemplateEntry(c+"User_Subscriptions.svg;",.17*b,.165*b,"","User Subscriptions",null,null,this.getTagsForStencil(a,"user subscriptions","azure stack ").join(" "))];this.addPalette("azure2Azure Stack","Azure / Azure Stack",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2AzureVMwareSolutionPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"AVS.svg;",.175*b,.14*b,"","AVS",null,
-null,this.getTagsForStencil(a,"avs","azure vmware solution ").join(" "))];this.addPalette("azure2Azure VMware Solution","Azure / VMware Solution",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2BlockchainPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"ABS_Member.svg;",.14*b,.1625*b,"","ABS Member",null,null,this.getTagsForStencil(a,"abs member","azure blockchain ").join(" ")),this.createVertexTemplateEntry(c+"Blockchain_Applications.svg;",
-.121*b,.17*b,"","Blockchain Applications",null,null,this.getTagsForStencil(a,"blockchain applications","azure blockchain ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Blockchain_Service.svg;",.17*b,.17*b,"","Blockchain Service",null,null,this.getTagsForStencil(a,"blockchain service","azure blockchain ").join(" ")),this.createVertexTemplateEntry(c+"Consortium.svg;",.17*b,.17*b,"","Consortium",null,null,this.getTagsForStencil(a,"consortium","azure blockchain ").join(" ")),this.createVertexTemplateEntry(c+
-"Outbound_Connection.svg;",.1775*b,.16*b,"","Outbound Connection",null,null,this.getTagsForStencil(a,"outbound connection","azure blockchain ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Token_Service.svg;",.1475*b,.17*b,"","Token Service",null,null,this.getTagsForStencil(a,"token service","azure blockchain ").join(" "))];this.addPalette("azure2Blockchain","Azure / Blockchain",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2ComputePalette=
-function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"App_Services.svg;",.16*b,.16*b,"","App Services",null,null,this.getTagsForStencil(a,"app services","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Application_Group.svg;",.17*b,.17*b,"","Application Group",null,null,this.getTagsForStencil(a,"application group","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Automanaged_VM.svg;",.17*b,.155*b,"","Automanaged VM",null,null,this.getTagsForStencil(a,"automanaged vm virtual machine",
-"azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Availability_Sets.svg;",.17*b,.17*b,"","Availability Sets",null,null,this.getTagsForStencil(a,"availability sets","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Batch_Accounts.svg;",.17*b,.16*b,"","Batch Accounts",null,null,this.getTagsForStencil(a,"batch accounts","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Cloud_Services_Classic.svg;",.18*b,.13*b,"","Cloud Services (Classic)",null,null,this.getTagsForStencil(a,
-"cloud services classic","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Compute_Galleries.svg;",.17*b,.17*b,"","Compute Galleries",null,null,this.getTagsForStencil(a,"compute galleries","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Container_Instances.svg;",.16*b,.17*b,"","Container Instances",null,null,this.getTagsForStencil(a,"container instances","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Container_Services_Deprecated.svg;",.17*b,.15*b,
-"","Container Services (deprecated)",null,null,this.getTagsForStencil(a,"container services deprecated","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Disk_Encryption_Sets.svg;",.17*b,.17*b,"","Disk Encryption Sets",null,null,this.getTagsForStencil(a,"disk encryption sets","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Disks.svg;",.1425*b,.14*b,"","Disks",null,null,this.getTagsForStencil(a,"disks","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Disks_Snapshots.svg;",
-.17*b,.1775*b,"","Disks Snapshots",null,null,this.getTagsForStencil(a,"disks snapshots","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Function_Apps.svg;",.17*b,.15*b,"","Function Apps",null,null,this.getTagsForStencil(a,"function apps","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Host_Groups.svg;",.155*b,.17*b,"","Host Groups",null,null,this.getTagsForStencil(a,"host groups","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Host_Pools.svg;",.17*b,.17*
-b,"","Host Pools",null,null,this.getTagsForStencil(a,"host pools","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Hosts.svg;",.143*b,.17*b,"","Hosts",null,null,this.getTagsForStencil(a,"hosts","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Image_Definitions.svg;",.165*b,.16*b,"","Image Definitions",null,null,this.getTagsForStencil(a,"image definitions","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Image_Templates.svg;",.17*b,.15*b,"","Image Templates",
-null,null,this.getTagsForStencil(a,"image templates","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Image_Versions.svg;",.1675*b,.16*b,"","Image Versions",null,null,this.getTagsForStencil(a,"image versions","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Images.svg;",.1725*b,.16*b,"","Images",null,null,this.getTagsForStencil(a,"images","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Kubernetes_Services.svg;",.17*b,.15*b,"","Kubernetes Services",null,null,
-this.getTagsForStencil(a,"kubernetes services","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Maintenance_Configuration.svg;",.17*b,.16*b,"","Maintenance Configuration",null,null,this.getTagsForStencil(a,"maintenance configuration","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Managed_Service_Fabric.svg;",.17*b,.165*b,"","Managed Service Fabric",null,null,this.getTagsForStencil(a,"managed service fabric","azure compute ").join(" ")),this.createVertexTemplateEntry(c+
-"Mesh_Applications.svg;",.17*b,.17*b,"","Mesh Applications",null,null,this.getTagsForStencil(a,"mesh applications","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Metrics_Advisor.svg;",.137*b,.17*b,"","Metrics Advisor",null,null,this.getTagsForStencil(a,"metrics advisor","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"OS_Images_Classic.svg;",.1725*b,.16*b,"","OS Images (Classic)",null,null,this.getTagsForStencil(a,"os images classic","azure compute ").join(" ")),this.createVertexTemplateEntry(c+
-"Restore_Points.svg;",.17*b,.167*b,"","Restore Points",null,null,this.getTagsForStencil(a,"restore points","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Restore_Points_Collections.svg;",.17*b,.14*b,"","Restore Points Collections",null,null,this.getTagsForStencil(a,"restore points collections","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Service_Fabric_Clusters.svg;",.1675*b,.16*b,"","Service Fabric Clusters",null,null,this.getTagsForStencil(a,"service fabric clusters",
-"azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Shared_Image_Galleries.svg;",.16*b,.16*b,"","Shared Image Galleries",null,null,this.getTagsForStencil(a,"shared image galleries","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Spring_Cloud.svg;",.17*b,.17*b,"","Spring Cloud",null,null,this.getTagsForStencil(a,"azure spring cloud","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Virtual_Machine.svg;",.1725*b,.16*b,"","Virtual Machine",null,null,this.getTagsForStencil(a,
-"virtual machine","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Virtual_Machines_Classic.svg;",.1725*b,.16*b,"","Virtual Machines (Classic)",null,null,this.getTagsForStencil(a,"virtual machines classic","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"VM_Images_Classic.svg;",.1725*b,.16*b,"","VM Images (Classic)",null,null,this.getTagsForStencil(a,"vm images classic","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"VM_Scale_Sets.svg;",.17*b,.17*b,"","VM Scale Sets",
-null,null,this.getTagsForStencil(a,"vm scale sets","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Workspaces2.svg;",.17*b,.17*b,"","Workspaces",null,null,this.getTagsForStencil(a,"workspaces","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Workspaces.svg;",.1625*b,.14*b,"","Workspaces",null,null,this.getTagsForStencil(a,"workspaces","azure compute ").join(" "))];this.addPalette("azure2Compute","Azure / Compute",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};
-Sidebar.prototype.addAzure2ContainersPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"App_Services.svg;",.16*b,.16*b,"","App Services",null,null,this.getTagsForStencil(a,"app services","azure containers ").join(" ")),this.createVertexTemplateEntry(c+"Batch_Accounts.svg;",.17*b,.16*b,"","Batch Accounts",null,null,this.getTagsForStencil(a,"batch accounts","azure containers ").join(" ")),this.createVertexTemplateEntry(c+"Container_Instances.svg;",.16*b,.1725*b,"","Container Instances",
-null,null,this.getTagsForStencil(a,"container instances","azure containers ").join(" ")),this.createVertexTemplateEntry(c+"Container_Registries.svg;",.17*b,.1525*b,"","Container Registries",null,null,this.getTagsForStencil(a,"container registries","azure containers ").join(" ")),this.createVertexTemplateEntry(c+"Kubernetes_Services.svg;",.17*b,.15*b,"","Kubernetes Services",null,null,this.getTagsForStencil(a,"kubernetes services","azure containers ").join(" ")),this.createVertexTemplateEntry(c+"Service_Fabric_Clusters.svg;",
-.1675*b,.16*b,"","Service Fabric Clusters",null,null,this.getTagsForStencil(a,"service fabric clusters","azure containers ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Red_Hat_OpenShift.svg;",.17*b,.17*b,"","Red Hat OpenShift",null,null,this.getTagsForStencil(a,"azure red hat openshift","azure containers ").join(" "))];this.addPalette("azure2Containers","Azure / Containers",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2CXPPalette=
-function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"Elixir.svg;",.1225*b,.17*b,"","Elixir",null,null,this.getTagsForStencil(a,"elixir","azure cxp ").join(" ")),this.createVertexTemplateEntry(c+"Elixir_Purple.svg;",.1225*b,.17*b,"","Elixir Purple",null,null,this.getTagsForStencil(a,"elixir purple","azure cxp ").join(" "))];this.addPalette("azure2CXP","Azure / CXP",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2DatabasesPalette=
-function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"Cache_Redis.svg;",.16*b,.13*b,"","Cache Redis",null,null,this.getTagsForStencil(a,"cache redis","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Cosmos_DB.svg;",.16*b,.16*b,"","Cosmos DB",null,null,this.getTagsForStencil(a,"cosmos","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Data_Explorer_Clusters.svg;",.17*b,.17*b,"","Data Explorer Clusters",null,null,this.getTagsForStencil(a,"data explorer clusters",
-"azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Data_Factory.svg;",.17*b,.17*b,"","Data Factory",null,null,this.getTagsForStencil(a,"data factory","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Database_MariaDB_Server.svg;",.12*b,.16*b,"","Database MariaDB Server",null,null,this.getTagsForStencil(a,"mariadb server","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Database_Migration_Services.svg;",.16*b,.1725*b,"","Database Migration Services",
-null,null,this.getTagsForStencil(a,"migration services","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Database_MySQL_Server.svg;",.12*b,.16*b,"","Database MySQL Server",null,null,this.getTagsForStencil(a,"mysql my sql server","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Database_PostgreSQL_Server.svg;",.12*b,.16*b,"","Database PostgreSQL Server",null,null,this.getTagsForStencil(a,"postgresql sql server","azure database db ").join(" ")),this.createVertexTemplateEntry(c+
-"Azure_Database_PostgreSQL_Server_Group.svg;",.15*b,.17*b,"","Database PostgreSQL Server Group",null,null,this.getTagsForStencil(a,"postgresql sql server group","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Elastic_Job_Agents.svg;",.16*b,.16*b,"","Elastic Job Agents",null,null,this.getTagsForStencil(a,"elastic job agents","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Instance_Pools.svg;",.1625*b,.16*b,"","Instance Pools",null,null,this.getTagsForStencil(a,
-"instance pools","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Managed_Database.svg;",.17*b,.16*b,"","Managed Database",null,null,this.getTagsForStencil(a,"managed","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Oracle_Database.svg;",.17*b,.17*b,"","Oracle Database",null,null,this.getTagsForStencil(a,"oracle database","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Purview_Accounts.svg;",.17*b,.105*b,"","Purview Accounts",null,null,
-this.getTagsForStencil(a,"azure purview accounts","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_SQL.svg;",.16*b,.115*b,"","SQL",null,null,this.getTagsForStencil(a,"sql","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"SQL_Data_Warehouses.svg;",.16*b,.1625*b,"","SQL Data Warehouses",null,null,this.getTagsForStencil(a,"sql data warehouses","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"SQL_Database.svg;",.12*b,.16*b,"","SQL Database",
-null,null,this.getTagsForStencil(a,"sql","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_SQL_Edge.svg;",.17*b,.17*b,"","SQL Edge",null,null,this.getTagsForStencil(a,"sql edge","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"SQL_Elastic_Pools.svg;",.17*b,.17*b,"","SQL Elastic Pools",null,null,this.getTagsForStencil(a,"sql elastic pools","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"SQL_Managed_Instance.svg;",.1625*b,.16*b,"","SQL Managed Instance",
-null,null,this.getTagsForStencil(a,"sql managed instance","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"SQL_Server.svg;",.17*b,.17*b,"","SQL Server",null,null,this.getTagsForStencil(a,"sql server","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"SQL_Server_Registries.svg;",.17*b,.155*b,"","SQL Server Registries",null,null,this.getTagsForStencil(a,"sql server registries","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_SQL_Server_Stretch_Databases.svg;",
-.16*b,.1625*b,"","SQL Server Stretch Databases",null,null,this.getTagsForStencil(a,"sql server stretch","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_SQL_VM.svg;",.16*b,.15*b,"","SQL VM",null,null,this.getTagsForStencil(a,"sql vm virtual machine","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"SSIS_Lift_And_Shift_IR.svg;",.155*b,.17*b,"","SSIS Lift and Shift IR",null,null,this.getTagsForStencil(a,"ssis lift and shift ir","azure database db ").join(" ")),
-this.createVertexTemplateEntry(c+"Azure_Synapse_Analytics.svg;",.15*b,.1725*b,"","Synapse Analytics",null,null,this.getTagsForStencil(a,"synapse analytics","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Virtual_Clusters.svg;",.165*b,.16*b,"","Virtual Clusters",null,null,this.getTagsForStencil(a,"virtual clusters","azure database db ").join(" "))];this.addPalette("azure2Databases","Azure / Databases",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};
-Sidebar.prototype.addAzure2DevOpsPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"API_Connections.svg;",.17*b,.1133*b,"","API Connections",null,null,this.getTagsForStencil(a,"api connections application programming interface","azure devops ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/app_services/API_Management_Services.svg;",.1625*b,.15*b,"","API Management Services",null,null,this.getTagsForStencil(a,
-"api application programming interface management services","azure devops ").join(" ")),this.createVertexTemplateEntry(c+"Application_Insights.svg;",.11*b,.1575*b,"","Application Insights",null,null,this.getTagsForStencil(a,"application insights","azure devops ").join(" ")),this.createVertexTemplateEntry(c+"Change_Analysis.svg;",.17*b,.1692*b,"","Change Analysis",null,null,this.getTagsForStencil(a,"change analysis","azure devops ").join(" ")),this.createVertexTemplateEntry(c+"CloudTest.svg;",.147*
-b,.17*b,"","CloudTest",null,null,this.getTagsForStencil(a,"cloudtest cloud test","azure devops ").join(" ")),this.createVertexTemplateEntry(c+"Code_Optimization.svg;",.17*b,.17*b,"","Code Optimization",null,null,this.getTagsForStencil(a,"code optimization","azure devops ").join(" ")),this.createVertexTemplateEntry(c+"Azure_DevOps.svg;",.16*b,.16*b,"","DevOps",null,null,this.getTagsForStencil(a,"devops","azure devops ").join(" ")),this.createVertexTemplateEntry(c+"DevOps_Starter.svg;",.17*b,.1594*
-b,"","DevOps Starter",null,null,this.getTagsForStencil(a,"devops starter","azure devops ").join(" ")),this.createVertexTemplateEntry(c+"DevTest_Labs.svg;",.165*b,.16*b,"","DevTest Labs",null,null,this.getTagsForStencil(a,"devtest labs","azure devops ").join(" ")),this.createVertexTemplateEntry(c+"Lab_Accounts.svg;",.1629*b,.17*b,"","Lab Accounts",null,null,this.getTagsForStencil(a,"lab accounts","azure devops ").join(" ")),this.createVertexTemplateEntry(c+"Lab_Services.svg;",.165*b,.16*b,"","Lab Services",
-null,null,this.getTagsForStencil(a,"lab services","azure devops ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/other/Load_Testing.svg;",.148*b,.17*b,"","Load Testing",null,null,this.getTagsForStencil(a,"load testing","azure devops ").join(" "))];this.addPalette("azure2DevOps","Azure / DevOps",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2GeneralPalette=
-function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"All_Resources.svg;",.16*b,.16*b,"","All Resources",null,null,this.getTagsForStencil(a,"all resources","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Backlog.svg;",.17*b,.15*b,"","Backlog",null,null,this.getTagsForStencil(a,"backlog","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Biz_Talk.svg;",.1725*b,.16*b,"","Biz Talk",null,null,this.getTagsForStencil(a,"biz talk","azure general ").join(" ")),this.createVertexTemplateEntry(c+
-"Blob_Block.svg;",.1625*b,.13*b,"","Blob Block",null,null,this.getTagsForStencil(a,"blob block","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Blob_Page.svg;",.1625*b,.13*b,"","Blob Page",null,null,this.getTagsForStencil(a,"blob page","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Branch.svg;",.18*b,.18*b,"","Branch",null,null,this.getTagsForStencil(a,"branch","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Browser.svg;",.1625*b,.13*b,"","Browser",null,
-null,this.getTagsForStencil(a,"browser","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Bug.svg;",.1475*b,.16*b,"","Bug",null,null,this.getTagsForStencil(a,"bug","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Builds.svg;",.16*b,.16*b,"","Builds",null,null,this.getTagsForStencil(a,"builds","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Cache.svg;",.16*b,.16*b,"","Cache",null,null,this.getTagsForStencil(a,"cache","azure general ").join(" ")),this.createVertexTemplateEntry(c+
-"Code.svg;",.16*b,.13*b,"","Code",null,null,this.getTagsForStencil(a,"code","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Commit.svg;",.18*b,.17*b,"","Commit",null,null,this.getTagsForStencil(a,"commit","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Controls.svg;",.14*b,.1725*b,"","Controls",null,null,this.getTagsForStencil(a,"controls","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Controls_Horizontal.svg;",.1725*b,.14*b,"","Controls Horizontal",null,
-null,this.getTagsForStencil(a,"controls horizontal","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Cost_Alerts.svg;",.1675*b,.14*b,"","Cost Alerts",null,null,this.getTagsForStencil(a,"cost alerts","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Cost_Analysis.svg;",.15*b,.175*b,"","Cost Analysis",null,null,this.getTagsForStencil(a,"cost analysis","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Cost_Budgets.svg;",.1675*b,.17*b,"","Cost Budgets",null,null,
-this.getTagsForStencil(a,"cost budgets","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Cost_Management.svg;",.1675*b,.15*b,"","Cost Management",null,null,this.getTagsForStencil(a,"cost management","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Cost_Management_and_Billing.svg;",.17*b,.17*b,"","Cost Management and Billing",null,null,this.getTagsForStencil(a,"cost management and billing","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Counter.svg;",.16*
-b,.13*b,"","Counter",null,null,this.getTagsForStencil(a,"counter","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Cubes.svg;",.1675*b,.17*b,"","Cubes",null,null,this.getTagsForStencil(a,"cubes","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Dashboard.svg;",.17*b,.12*b,"","Dashboard",null,null,this.getTagsForStencil(a,"dashboard","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Dashboard2.svg;",.17*b,.12*b,"","Dashboard",null,null,this.getTagsForStencil(a,
-"dashboard","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Dev_Console.svg;",.1625*b,.13*b,"","Dev Console",null,null,this.getTagsForStencil(a,"dev console","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Download.svg;",.16*b,.1675*b,"","Download",null,null,this.getTagsForStencil(a,"download","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Error.svg;",.1775*b,.17*b,"","Error",null,null,this.getTagsForStencil(a,"error","azure general ").join(" ")),this.createVertexTemplateEntry(c+
-"Extensions.svg;",.1625*b,.16*b,"","Extensions",null,null,this.getTagsForStencil(a,"extensions","azure general ").join(" ")),this.createVertexTemplateEntry(c+"File.svg;",.14*b,.1725*b,"","File",null,null,this.getTagsForStencil(a,"file","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Files.svg;",.16*b,.175*b,"","Files",null,null,this.getTagsForStencil(a,"files","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Folder_Blank.svg;",.1725*b,.14*b,"","Folder Blank",null,null,
-this.getTagsForStencil(a,"folder blank","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Folder_Website.svg;",.17*b,.14*b,"","Folder Website",null,null,this.getTagsForStencil(a,"folder website","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Free_Services.svg;",.17*b,.1575*b,"","Free Services",null,null,this.getTagsForStencil(a,"free services","azure general ").join(" ")),this.createVertexTemplateEntry(c+"FTP.svg;",.15*b,.12*b,"","FTP",null,null,this.getTagsForStencil(a,
-"ftp file transfer protocol","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Gear.svg;",.16*b,.16*b,"","Gear",null,null,this.getTagsForStencil(a,"gear","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Globe.svg;",.14*b,.165*b,"","Globe",null,null,this.getTagsForStencil(a,"globe","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Globe_Error.svg;",.14*b,.165*b,"","Globe Error",null,null,this.getTagsForStencil(a,"globe error","azure general ").join(" ")),this.createVertexTemplateEntry(c+
-"Globe_Success.svg;",.14*b,.165*b,"","Globe Success",null,null,this.getTagsForStencil(a,"globe success","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Globe_Warning.svg;",.14*b,.165*b,"","Globe Warning",null,null,this.getTagsForStencil(a,"globe warning","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Guide.svg;",.17*b,.17*b,"","Guide",null,null,this.getTagsForStencil(a,"guide","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Heart.svg;",.16*b,.15*b,"",
-"Heart",null,null,this.getTagsForStencil(a,"heart","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Help_and_Support.svg;",.14*b,.1725*b,"","Help and Support",null,null,this.getTagsForStencil(a,"help support","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Image.svg;",.16*b,.11*b,"","Image",null,null,this.getTagsForStencil(a,"image","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Information.svg;",.16*b,.16*b,"","Information",null,null,this.getTagsForStencil(a,
-"information","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Input_Output.svg;",.16*b,.1375*b,"","Input Output",null,null,this.getTagsForStencil(a,"input output","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Journey_Hub.svg;",.15*b,.1575*b,"","Journey Hub",null,null,this.getTagsForStencil(a,"journey hub","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Launch_Portal.svg;",.17*b,.1675*b,"","Launch Portal",null,null,this.getTagsForStencil(a,"launch portal",
-"azure general ").join(" ")),this.createVertexTemplateEntry(c+"Learn.svg;",.12*b,.175*b,"","Learn",null,null,this.getTagsForStencil(a,"learn","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Load_Test.svg;",.17*b,.165*b,"","Load Test",null,null,this.getTagsForStencil(a,"load test","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Location.svg;",.1*b,.1775*b,"","Location",null,null,this.getTagsForStencil(a,"location","azure general ").join(" ")),this.createVertexTemplateEntry(c+
-"Log_Streaming.svg;",.14*b,.1675*b,"","Log Streaming",null,null,this.getTagsForStencil(a,"log streaming","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Management_Groups.svg;",.165*b,.16*b,"","Management Groups",null,null,this.getTagsForStencil(a,"management groups","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Management_Portal.svg;",.15*b,.12*b,"","Management Portal",null,null,this.getTagsForStencil(a,"management portal","azure general ").join(" ")),this.createVertexTemplateEntry(c+
-"Marketplace.svg;",.14*b,.16*b,"","Marketplace",null,null,this.getTagsForStencil(a,"marketplace","azure general ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/other/Marketplace_Management.svg;",.145*b,.17*b,"","Marketplace Management",null,null,this.getTagsForStencil(a,"marketplace management","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Media.svg;",.17*b,.17*b,"","Media",null,null,this.getTagsForStencil(a,
-"media","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Media_File.svg;",.13*b,.16*b,"","Media File",null,null,this.getTagsForStencil(a,"media file","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Mobile.svg;",.1*b,.1675*b,"","Mobile",null,null,this.getTagsForStencil(a,"mobile","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Mobile_Engagement.svg;",.1*b,.1675*b,"","Mobile Engagement",null,null,this.getTagsForStencil(a,"mobile engagement","azure general ").join(" ")),
-this.createVertexTemplateEntry(c+"Module.svg;",.16*b,.16*b,"","Module",null,null,this.getTagsForStencil(a,"module","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Power.svg;",.11*b,.17*b,"","Power",null,null,this.getTagsForStencil(a,"power","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Power_Up.svg;",.17*b,.17*b,"","Power Up",null,null,this.getTagsForStencil(a,"power up","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Powershell.svg;",.1625*b,.13*b,"",
-"Powershell",null,null,this.getTagsForStencil(a,"powershell","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Preview.svg;",.11*b,.16*b,"","Preview",null,null,this.getTagsForStencil(a,"preview","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Preview_Features.svg;",.17*b,.17*b,"","Preview Features",null,null,this.getTagsForStencil(a,"preview features","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Process_Explorer.svg;",.175*b,.17*b,"","Process Explorer",
-null,null,this.getTagsForStencil(a,"process explorer","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Production_Ready_Database.svg;",.12*b,.16*b,"","Production Ready Database",null,null,this.getTagsForStencil(a,"production ready database","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Quickstart_Center.svg;",.17*b,.17*b,"","Quickstart Center",null,null,this.getTagsForStencil(a,"quickstart center","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Recent.svg;",
-.17*b,.17*b,"","Recent",null,null,this.getTagsForStencil(a,"recent","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Reservations.svg;",.17*b,.17*b,"","Reservations",null,null,this.getTagsForStencil(a,"reservations","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Resource_Explorer.svg;",.17*b,.14*b,"","Resource Explorer",null,null,this.getTagsForStencil(a,"resource exporer","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Resource_Group_List.svg;",.17*b,
-.1675*b,"","Resource Group List",null,null,this.getTagsForStencil(a,"resource group list","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Resource_Groups.svg;",.17*b,.16*b,"","Resource Groups",null,null,this.getTagsForStencil(a,"resource groups","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Resource_Linked.svg;",.18*b,.18*b,"","Resource Linked",null,null,this.getTagsForStencil(a,"resource linked","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Scale.svg;",
-.15*b,.15*b,"","Scale",null,null,this.getTagsForStencil(a,"scale","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Scheduler.svg;",.17*b,.17*b,"","Scheduler",null,null,this.getTagsForStencil(a,"scheduler","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Search.svg;",.16*b,.1625*b,"","Search",null,null,this.getTagsForStencil(a,"search","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Search_Grid.svg;",.17*b,.1675*b,"","Search Grid",null,null,this.getTagsForStencil(a,
-"search grid","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Server_Farm.svg;",.16*b,.16*b,"","Server Farm",null,null,this.getTagsForStencil(a,"server farm","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Service_Bus.svg;",.175*b,.15*b,"","Service Bus",null,null,this.getTagsForStencil(a,"service bus","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Service_Health.svg;",.17*b,.16*b,"","Service Health",null,null,this.getTagsForStencil(a,"service health",
-"azure general ").join(" ")),this.createVertexTemplateEntry(c+"SSD.svg;",.165*b,.15*b,"","SSD",null,null,this.getTagsForStencil(a,"ssd solid state drive","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Storage_Azure_Files.svg;",.16*b,.13*b,"","Storage Azure Files",null,null,this.getTagsForStencil(a,"storage files","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Storage_Container.svg;",.16*b,.13*b,"","Storage Container",null,null,this.getTagsForStencil(a,"storage container",
-"azure general ").join(" ")),this.createVertexTemplateEntry(c+"Storage_Queue.svg;",.16*b,.13*b,"","Storage Queue",null,null,this.getTagsForStencil(a,"storage queue","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Subscriptions.svg;",.11*b,.1775*b,"","Subscriptions",null,null,this.getTagsForStencil(a,"subscriptions","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Table.svg;",.16*b,.13*b,"","Table",null,null,this.getTagsForStencil(a,"table","azure general ").join(" ")),
-this.createVertexTemplateEntry(c+"Tag.svg;",.17*b,.167*b,"","Tag",null,null,this.getTagsForStencil(a,"tag","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Tags.svg;",.15*b,.1625*b,"","Tags",null,null,this.getTagsForStencil(a,"tags","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Templates.svg;",.14*b,.17*b,"","Templates",null,null,this.getTagsForStencil(a,"templates","azure general ").join(" ")),this.createVertexTemplateEntry(c+"TFS_VC_Repository.svg;",.17*b,.17*b,"",
-"TFS VC Repository",null,null,this.getTagsForStencil(a,"tfs vc repository","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Toolbox.svg;",.16*b,.14*b,"","Toolbox",null,null,this.getTagsForStencil(a,"toolbox","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Troubleshoot.svg;",.165*b,.17*b,"","Troubleshoot",null,null,this.getTagsForStencil(a,"troubleshoot","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Versions.svg;",.155*b,.15*b,"","Versions",null,null,this.getTagsForStencil(a,
-"versions","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Web_Slots.svg;",.145*b,.16*b,"","Web Slots",null,null,this.getTagsForStencil(a,"web slots","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Web_Test.svg;",.18*b,.18*b,"","Web Test",null,null,this.getTagsForStencil(a,"web test","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Website_Power.svg;",.17*b,.17*b,"","Website Power",null,null,this.getTagsForStencil(a,"website power","azure general ").join(" ")),
-this.createVertexTemplateEntry(c+"Website_Staging.svg;",.16*b,.175*b,"","Website Staging",null,null,this.getTagsForStencil(a,"website staging","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Workbooks.svg;",.15*b,.1625*b,"","Workbooks",null,null,this.getTagsForStencil(a,"workbooks","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Workflow.svg;",.17*b,.175*b,"","Workflow",null,null,this.getTagsForStencil(a,"workflow","azure general ").join(" "))];this.addPalette("azure2General",
-"Azure / General",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2HybridAndMulticloudPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"Azure_Operator_5G_Core.svg;",.17*b,.1133*b,"","Azure Operator 5G Core",null,null,this.getTagsForStencil(a,"operator 5g core","azure hybrid and multicloud ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Operator_Insights.svg;",.17*b,.17*b,"","Azure Operator Insights",null,null,
-this.getTagsForStencil(a,"operator insights","azure hybrid and multicloud ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Operator_Nexus.svg;",.17*b,.17*b,"","Azure Operator Nexus",null,null,this.getTagsForStencil(a,"operator nexus","azure hybrid and multicloud ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Operator_Service_Manager.svg;",.17*b,.17*b,"","Azure Operator Service Manager",null,null,this.getTagsForStencil(a,"operator service manager","azure hybrid and multicloud ").join(" ")),
-this.createVertexTemplateEntry(c+"Azure_Programmable_Connectivity.svg;",.17*b,.17*b,"","Azure Programmable Connectivity",null,null,this.getTagsForStencil(a,"operator programmable connectivity","azure hybrid and multicloud ").join(" "))];this.addPalette("azure2Hybrid and Multicloud","Azure / Hybrid and Multicloud",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2IdentityPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+
-"AAD_Licenses.svg;",.165*b,.17*b,"","AAD Licenses",null,null,this.getTagsForStencil(a,"aad licenses","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Active_Directory.svg;",.175*b,.16*b,"","Active Directory",null,null,this.getTagsForStencil(a,"active directory","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Active_Directory_Connect_Health.svg;",.1725*b,.16*b,"","Active Directory Connect Health",null,null,this.getTagsForStencil(a,"active directory connect health",
-"azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Active_Directory_Connect_Health2.svg;",.17*b,.1511*b,"","Active Directory Connect Health",null,null,this.getTagsForStencil(a,"active directory connect health","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Azure_AD_B2C.svg;",.1725*b,.16*b,"","AD B2C",null,null,this.getTagsForStencil(a,"ad b2c","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Azure_AD_Domain_Services.svg;",.175*b,.16*b,"","AD Domain Services",
-null,null,this.getTagsForStencil(a,"ad domain services","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Azure_AD_Identity_Protection.svg;",.17*b,.155*b,"","AD Identity Protection",null,null,this.getTagsForStencil(a,"ad identity protection","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Azure_AD_Privilege_Identity_Management.svg;",.17*b,.17*b,"","AD Privilege Identity Management",null,null,this.getTagsForStencil(a,"ad privilege identity management","azure identity ").join(" ")),
-this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/intune/Azure_AD_Roles_and_Administrators.svg;",.17*b,.17*b,"","AD Roles and Administrators",null,null,this.getTagsForStencil(a,"ad roles administrators","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Administrative_Units.svg;",.17*b,.17*b,"","Administrative Units",null,null,this.getTagsForStencil(a,"administrative units","azure identity ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/other/API_Proxy.svg;",
-.17*b,.17*b,"","API Proxy",null,null,this.getTagsForStencil(a,"api application programming interface proxy","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"App_Registrations.svg;",.1575*b,.16*b,"","App Registrations",null,null,this.getTagsForStencil(a,"app registrations","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Azure_AD_B2C2.svg;",.17*b,.1511*b,"","Azure AD B2C",null,null,this.getTagsForStencil(a,"ad b2c","azure identity ").join(" ")),this.createVertexTemplateEntry(c+
-"Custom_Azure_AD_Roles.svg;",.17*b,.17*b,"","Custom Azure AD Roles",null,null,this.getTagsForStencil(a,"custom azure ad roles","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Enterprise_Applications.svg;",.16*b,.16*b,"","Enterprise Applications",null,null,this.getTagsForStencil(a,"enterprise applications","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Entra_Connect.svg;",.17*b,.1606*b,"","Entra Connect",null,null,this.getTagsForStencil(a,"entra connect","azure identity ").join(" ")),
-this.createVertexTemplateEntry(c+"Entra_Domain_Services.svg;",.17*b,.17*b,"","Entra Domain Services",null,null,this.getTagsForStencil(a,"entra domain services","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Entra_Global_Secure_Access.svg;",.17*b,.17*b,"","Entra Global Secure Access",null,null,this.getTagsForStencil(a,"entra global secure access","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Entra_ID_Protection.svg;",.17*b,.1511*b,"","Entra ID Protection",null,null,
-this.getTagsForStencil(a,"entra id protection","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Entra_Internet_Access.svg;",.17*b,.17*b,"","Entra Internet Access",null,null,this.getTagsForStencil(a,"entra internet access","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Entra_Managed_Identities.svg;",.17*b,.1511*b,"","Entra Managed Identities",null,null,this.getTagsForStencil(a,"entra managed identities","azure identity ").join(" ")),this.createVertexTemplateEntry(c+
-"Entra_Private_Access.svg;",.17*b,.17*b,"","Entra Private Access",null,null,this.getTagsForStencil(a,"entra private access","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Entra_Privileged_Identity_Management.svg;",.17*b,.17*b,"","Entra Privileged Identity Management",null,null,this.getTagsForStencil(a,"entra privileged identity management","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Entra_Verified_ID.svg;",.17*b,.1511*b,"","Entra Verified ID",null,null,this.getTagsForStencil(a,
-"entra verified id","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"External_Identities.svg;",.1562*b,.17*b,"","External Identities",null,null,this.getTagsForStencil(a,"external identities","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Groups.svg;",.17*b,.14*b,"","Groups",null,null,this.getTagsForStencil(a,"groups","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Identity_Governance.svg;",.16*b,.16*b,"","Identity Governance",null,null,this.getTagsForStencil(a,
-"identity governance","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Information_Protection.svg;",.128*b,.17*b,"","Information Protection",null,null,this.getTagsForStencil(a,"information protection","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Managed_Identities.svg;",.17*b,.165*b,"","Managed Identities",null,null,this.getTagsForStencil(a,"managed identities","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Multi_Factor_Authentication.svg;",
-.17*b,.17*b,"","Multi-Factor Authentication",null,null,this.getTagsForStencil(a,"multi factor authentication","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"PIM.svg;",.15*b,.17*b,"","PIM",null,null,this.getTagsForStencil(a,"pim privileged identity management","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Security.svg;",.1418*b,.17*b,"","Security",null,null,this.getTagsForStencil(a,"security","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Tenant_Properties.svg;",
-.17*b,.12*b,"","Tenant Properties",null,null,this.getTagsForStencil(a,"tenant properties","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"User_Settings.svg;",.17*b,.1423*b,"","User Settings",null,null,this.getTagsForStencil(a,"user settings","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Users.svg;",.16*b,.175*b,"","Users",null,null,this.getTagsForStencil(a,"users","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Verifiable_Credentials.svg;",.17*b,.17*
-b,"","Verifiable Credentials",null,null,this.getTagsForStencil(a,"verifiable credentials","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Verification_As_A_Service.svg;",.17*b,.17*b,"","Verification As A Service",null,null,this.getTagsForStencil(a,"verification as service","azure identity ").join(" "))];this.addPalette("azure2Identity","Azure / Identity",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2IntegrationPalette=
-function(a,b,d,c){var e=[this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/devops/API_Connections.svg;",.17*b,.1133*b,"","API Connections",null,null,this.getTagsForStencil(a,"api connections application programming interface","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Azure_API_for_FHIR.svg;",.17*b,.163*b,"","API for FHIR",null,null,this.getTagsForStencil(a,"api application programming interface for fhir","azure integration ").join(" ")),
-this.createVertexTemplateEntry(c+"API_Management_Services.svg;",.1625*b,.15*b,"","API Management Services",null,null,this.getTagsForStencil(a,"api application programming interface management services","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"App_Configuration.svg;",.16*b,.17*b,"","App Configuration",null,null,this.getTagsForStencil(a,"app configuration application","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Data_Catalog.svg;",.15*b,.1675*b,
-"","Data Catalog",null,null,this.getTagsForStencil(a,"data catalog","azure integration ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/databases/Data_Factory.svg;",.17*b,.17*b,"","Data Factories",null,null,this.getTagsForStencil(a,"data factories","azure integration ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/storage/Azure_Stack_Edge.svg;",
-.17*b,.12*b,"","Databox Gateway",null,null,this.getTagsForStencil(a,"databox gateway","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Event_Grid_Domains.svg;",.1675*b,.15*b,"","Event Grid Domains",null,null,this.getTagsForStencil(a,"event grid domains","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Event_Grid_Subscriptions.svg;",.1675*b,.15*b,"","Event Grid Subscriptions",null,null,this.getTagsForStencil(a,"event grid subscriptions","azure integration ").join(" ")),
-this.createVertexTemplateEntry(c+"Event_Grid_Topics.svg;",.1675*b,.15*b,"","Event Grid Topics",null,null,this.getTagsForStencil(a,"event grid topics","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Integration_Accounts.svg;",.16*b,.16*b,"","Integration Accounts",null,null,this.getTagsForStencil(a,"integration accounts","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Integration_Environments.svg;",.1606*b,.17*b,"","Integration Environments",null,null,this.getTagsForStencil(a,
-"integration environments","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Integration_Service_Environments.svg;",.17*b,.17*b,"","Integration Service Environments",null,null,this.getTagsForStencil(a,"integration service environments","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Logic_Apps.svg;",.1675*b,.13*b,"","Logic Apps",null,null,this.getTagsForStencil(a,"logic apps","azure integration ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/internet_of_things/Logic_Apps.svg;",
-.17*b,.17*b,"","Logic Apps",null,null,this.getTagsForStencil(a,"logic apps","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Logic_Apps_Custom_Connector.svg;",.17*b,.17*b,"","Logic Apps Custom Connector",null,null,this.getTagsForStencil(a,"logic apps custom connector","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Partner_Namespace.svg;",.17*b,.152*b,"","Partner Namespace",null,null,this.getTagsForStencil(a,"partner namespace","azure integration ").join(" ")),
-this.createVertexTemplateEntry(c+"Partner_Registration.svg;",.17*b,.158*b,"","Partner Registration",null,null,this.getTagsForStencil(a,"partner registration","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Partner_Topic.svg;",.17*b,.1525*b,"","Partner Topic",null,null,this.getTagsForStencil(a,"partner topic","azure integration ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/analytics/Power_Platform.svg;",
-.1623*b,.17*b,"","Power Platform",null,null,this.getTagsForStencil(a,"power platform","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Relays.svg;",.1675*b,.15*b,"","Relays",null,null,this.getTagsForStencil(a,"relays","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"SendGrid_Accounts.svg;",.167*b,.17*b,"","SendGrid Accounts",null,null,this.getTagsForStencil(a,"sendgrid send grid accounts","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Service_Bus.svg;",
-.17*b,.15*b,"","Service Bus",null,null,this.getTagsForStencil(a,"service bus","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Software_as_a_Service.svg;",.16*b,.1325*b,"","Software as a Service",null,null,this.getTagsForStencil(a,"software service","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"SQL_Data_Warehouses.svg;",.16*b,.1625*b,"","SQL Data Warehouses",null,null,this.getTagsForStencil(a,"sql data warehouses","azure integration ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/storage/Data_Box_Edge.svg;",
-.17*b,.1218*b,"","Stack Edge",null,null,this.getTagsForStencil(a,"stack edge","azure integration ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/storage/StorSimple_Device_Managers.svg;",.175*b,.16*b,"","StorSimple Device Managers",null,null,this.getTagsForStencil(a,"storsimple device managers","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"System_Topic.svg;",.17*b,.15*b,"","System Topic",null,null,
-this.getTagsForStencil(a,"system topic","azure integration ").join(" "))];this.addPalette("azure2Integration","Azure / Integration",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2InternetOfThingsPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"Digital_Twins.svg;",.17*b,.1725*b,"","Digital Twins",null,null,this.getTagsForStencil(a,"digital twins","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+
-"Logic_Apps.svg;",.17*b,.17*b,"","Logic Apps",null,null,this.getTagsForStencil(a,"logic apps","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Time_Series_Insights_Access_Policies.svg;",.105*b,.17*b,"","Time Series Insights Access Policies",null,null,this.getTagsForStencil(a,"time series insights access policies","azure iot internet of things ").join(" "))];this.addPalette("azure2Internet of Things","Azure / Internet of Things",!1,mxUtils.bind(this,function(f){for(var g=
-0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2IntunePalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"Azure_AD_Roles_and_Administrators.svg;",.16*b,.16*b,"","AD Roles and Administrators",null,null,this.getTagsForStencil(a,"ad roles administrators","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Client_Apps.svg;",.17*b,.17*b,"","Client Apps",null,null,this.getTagsForStencil(a,"client apps","azure intune ").join(" ")),this.createVertexTemplateEntry(c+
-"Device_Compliance.svg;",.155*b,.17*b,"","Device Compliance",null,null,this.getTagsForStencil(a,"device compliance","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Device_Configuration.svg;",.155*b,.17*b,"","Device Configuration",null,null,this.getTagsForStencil(a,"device configuration","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Device_Enrollment.svg;",.17*b,.151*b,"","Device Enrollment",null,null,this.getTagsForStencil(a,"device enrollment","azure intune ").join(" ")),
-this.createVertexTemplateEntry(c+"Device_Security_Apple.svg;",.17*b,.1725*b,"","Device Security Apple",null,null,this.getTagsForStencil(a,"device security apple","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Device_Security_Google.svg;",.17*b,.1725*b,"","Device Security Google",null,null,this.getTagsForStencil(a,"device security google","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Device_Security_Windows.svg;",.17*b,.17*b,"","Device Security Windows",null,null,this.getTagsForStencil(a,
-"device security windows","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Devices.svg;",.17*b,.15*b,"","Devices",null,null,this.getTagsForStencil(a,"devices","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"eBooks.svg;",.17*b,.15*b,"","eBooks",null,null,this.getTagsForStencil(a,"ebooks","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Exchange_Access.svg;",.14*b,.17*b,"","Exchange Access",null,null,this.getTagsForStencil(a,"exchange access","azure intune ").join(" ")),
-this.createVertexTemplateEntry(c+"Intune.svg;",.17*b,.155*b,"","Intune",null,null,this.getTagsForStencil(a,"intune","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Intune_For_Education.svg;",.17*b,.155*b,"","Intune for Education",null,null,this.getTagsForStencil(a,"intune for education","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Mindaro.svg;",.168*b,.17*b,"","Mindaro",null,null,this.getTagsForStencil(a,"mindaro","azure intune ").join(" ")),this.createVertexTemplateEntry(c+
-"Security_Baselines.svg;",.17*b,.17*b,"","Security Baselines",null,null,this.getTagsForStencil(a,"security baselines","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Software_Updates.svg;",.17*b,.15*b,"","Software Updates",null,null,this.getTagsForStencil(a,"software updates","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Tenant_Status.svg;",.16*b,.17*b,"","Tenant Status",null,null,this.getTagsForStencil(a,"tenant status","azure intune ").join(" "))];this.addPalette("azure2Intune",
-"Azure / Intune",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2IOTPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/databases/Azure_Cosmos_DB.svg;",.17*b,.17*b,"","Cosmos DB",null,null,this.getTagsForStencil(a,"cosmos","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/storage/Azure_Stack_Edge.svg;",
-.17*b,.12*b,"","Databox Gateway",null,null,this.getTagsForStencil(a,"databox gateway","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Device_Provisioning_Services.svg;",.16*b,.165*b,"","Device Provisioning Services",null,null,this.getTagsForStencil(a,"device provisioning services","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Digital_Twins.svg;",.17*b,.17*b,"","Digital Twins",null,null,this.getTagsForStencil(a,"digital twins","azure iot internet of things ").join(" ")),
-this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/integration/Event_Grid_Domains.svg;",.1675*b,.15*b,"","Event Grid Subscriptions",null,null,this.getTagsForStencil(a,"event grid subscriptions","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/analytics/Event_Hub_Clusters.svg;",.17*b,.1381*b,"","Event Hub Clusters",null,null,this.getTagsForStencil(a,
-"event hub clusters","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Event_Hubs.svg;",.1675*b,.15*b,"","Event Hubs",null,null,this.getTagsForStencil(a,"event hubs","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Function_Apps.svg;",.17*b,.15*b,"","Function Apps",null,null,this.getTagsForStencil(a,"function apps","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Industrial_IoT.svg;",.157*b,.17*b,"","Industrial IoT",
-null,null,this.getTagsForStencil(a,"industrial","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"IoT_Central_Applications.svg;",.15*b,.1725*b,"","IoT Central Applications",null,null,this.getTagsForStencil(a,"central applications","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"IoT_Edge.svg;",.17*b,.17*b,"","IoT Edge",null,null,this.getTagsForStencil(a,"edge","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"IoT_Hub.svg;",
-.16*b,.16*b,"","IoT Hub",null,null,this.getTagsForStencil(a,"hub","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Azure_IoT_Operations.svg;",.17*b,.1606*b,"","IoT Operations",null,null,this.getTagsForStencil(a,"operations","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/internet_of_things/Logic_Apps.svg;",.17*b,.17*b,"","Logic Apps",null,null,this.getTagsForStencil(a,
-"logic apps","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Logic_Apps.svg;",.1675*b,.13*b,"","Logic Apps",null,null,this.getTagsForStencil(a,"logic apps","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/ai_machine_learning/Machine_Learning_Studio_Classic_Web_Services.svg;",.17*b,.17*b,"","Machine Learning Studio - Classic Web Services",null,null,this.getTagsForStencil(a,
-"studio classic web services","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/ai_machine_learning/Machine_Learning_Studio_Web_Service_Plans.svg;",.17*b,.17*b,"","Machine Learning Studio - Web Service Plans",null,null,this.getTagsForStencil(a,"studio web service plans","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/ai_machine_learning/Machine_Learning_Studio_Workspaces.svg;",
-.17*b,.17*b,"","Machine Learning Studio - Workspaces",null,null,this.getTagsForStencil(a,"studio workspaces","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Maps_Accounts.svg;",.17*b,.17*b,"","Maps Accounts",null,null,this.getTagsForStencil(a,"maps accounts","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Notification_Hubs.svg;",.1675*b,.14*b,"","Notification Hubs",null,null,this.getTagsForStencil(a,"notification hubs","azure iot internet of things ").join(" ")),
-this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/azure_stack/Azure_Stack.svg;",.1647*b,.17*b,"","Stack",null,null,this.getTagsForStencil(a,"stack","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/iot/Azure_Stack_HCI_Sizer.svg;",.17*b,.17*b,"","Stack HCI Sizer",null,null,this.getTagsForStencil(a,"stack hci sizer","azure iot internet of things ").join(" ")),
-this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/iot/Stack_HCI_Premium.svg;",.17*b,.17*b,"","Stack HCI Premium",null,null,this.getTagsForStencil(a,"stack hci premium","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Stream_Analytics_Jobs.svg;",.17*b,.145*b,"","Stream Analytics Jobs",null,null,this.getTagsForStencil(a,"stream analytics jobs","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+
-"Time_Series_Data_Sets.svg;",.128*b,.17*b,"","Time Series Data Sets",null,null,this.getTagsForStencil(a,"time series data sets","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/internet_of_things/Time_Series_Insights_Access_Policies.svg;",.105*b,.17*b,"","Time Series Insights Access Policies",null,null,this.getTagsForStencil(a,"time series insights access policies","azure iot internet of things ").join(" ")),
-this.createVertexTemplateEntry(c+"Time_Series_Insights_Environments.svg;",.1675*b,.17*b,"","Time Series Insights Environments",null,null,this.getTagsForStencil(a,"time series insights environments","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Time_Series_Insights_Event_Sources.svg;",.1675*b,.17*b,"","Time Series Insights Event Sources",null,null,this.getTagsForStencil(a,"time series insights event sources","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+
-"Windows10_Core_Services.svg;",.17*b,.17*b,"","Windows10 Core Services",null,null,this.getTagsForStencil(a,"windows10 core services","azure iot internet of things ").join(" "))];this.addPalette("azure2IoT","Azure / IoT",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2ManagementGovernancePalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"Activity_Log.svg;",.14*b,.1675*b,"","Activity Log",null,null,this.getTagsForStencil(a,
-"activity log","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Advisor.svg;",.165*b,.16*b,"","Advisor",null,null,this.getTagsForStencil(a,"advisor","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Alerts.svg;",.1675*b,.14*b,"","Alerts",null,null,this.getTagsForStencil(a,"alerts","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Application_Insights.svg;",.11*b,.1575*b,"","Application Insights",null,null,this.getTagsForStencil(a,
-"application insights","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Arc.svg;",.1725*b,.13*b,"","Arc",null,null,this.getTagsForStencil(a,"arc","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Arc_Machines.svg;",.1619*b,.17*b,"","Arc Machines",null,null,this.getTagsForStencil(a,"arc machines","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Automation_Accounts.svg;",.17*b,.17*b,"","Automation Accounts",null,
-null,this.getTagsForStencil(a,"automation accounts","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Blueprints.svg;",.1625*b,.16*b,"","Blueprints",null,null,this.getTagsForStencil(a,"blueprints","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Compliance.svg;",.13*b,.16*b,"","Compliance",null,null,this.getTagsForStencil(a,"compliance","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Cost_Management_and_Billing.svg;",
-.17*b,.17*b,"","Cost Management and Billing",null,null,this.getTagsForStencil(a,"cost management billing","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Customer_Lockbox_for_MS_Azure.svg;",.17*b,.166*b,"","Customer Lockbox for MS Azure",null,null,this.getTagsForStencil(a,"customer lockbox for ms azure","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Diagnostics_Settings.svg;",.14*b,.1675*b,"","Diagnostics Settings",null,null,this.getTagsForStencil(a,
-"diagnostics settings","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Education.svg;",.1675*b,.13*b,"","Education",null,null,this.getTagsForStencil(a,"education","azure management governance ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/other/Intune_Trends.svg;",.142*b,.17*b,"","Intune Trends",null,null,this.getTagsForStencil(a,"intune trends","azure management governance ").join(" ")),
-this.createVertexTemplateEntry(c+"Azure_Lighthouse.svg;",.1475*b,.17*b,"","Lighthouse",null,null,this.getTagsForStencil(a,"lighthouse","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Log_Analytics_Workspaces.svg;",.16*b,.16*b,"","Log Analytics Workspaces",null,null,this.getTagsForStencil(a,"log analytics workspaces","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"MachinesAzureArc.svg;",.11*b,.17*b,"","MachinesAzureArc",null,null,this.getTagsForStencil(a,
-"machines arc","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Managed_Applications_Center.svg;",.17*b,.135*b,"","Managed Applications Center",null,null,this.getTagsForStencil(a,"managed applications center","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Managed_Desktop.svg;",.17*b,.158*b,"","Managed Desktop",null,null,this.getTagsForStencil(a,"managed desktop","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Metrics.svg;",
-.15*b,.1625*b,"","Metrics",null,null,this.getTagsForStencil(a,"metrics","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Monitor.svg;",.16*b,.16*b,"","Monitor",null,null,this.getTagsForStencil(a,"monitor","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"My_Customers.svg;",.1725*b,.14*b,"","My Customers",null,null,this.getTagsForStencil(a,"my customers","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Operation_Log_Classic.svg;",
-.14*b,.1675*b,"","Operation Log (Classic)",null,null,this.getTagsForStencil(a,"operation log classic","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Policy.svg;",.15*b,.16*b,"","Policy",null,null,this.getTagsForStencil(a,"policy","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Recovery_Services_Vaults.svg;",.1725*b,.15*b,"","Recovery Services Vaults",null,null,this.getTagsForStencil(a,"recovery services vaults","azure management governance ").join(" ")),
-this.createVertexTemplateEntry(c+"Resource_Graph_Explorer.svg;",.1675*b,.16*b,"","Resource Graph Explorer",null,null,this.getTagsForStencil(a,"resource graph explorer","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Resources_Provider.svg;",.1511*b,.17*b,"","Resources Provider",null,null,this.getTagsForStencil(a,"resources provider","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Scheduler_Job_Collections.svg;",.17*b,.16*b,"","Scheduler Job Collections",
-null,null,this.getTagsForStencil(a,"scheduler job collections","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Service_Catalog_MAD.svg;",.14*b,.17*b,"","Service Catalog MAD",null,null,this.getTagsForStencil(a,"service catalog mad","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Service_Providers.svg;",.165*b,.17*b,"","Service Providers",null,null,this.getTagsForStencil(a,"service providers","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+
-"solutions.svg;",.16*b,.16*b,"","Solutions",null,null,this.getTagsForStencil(a,"solutions","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Universal_Print.svg;",.17*b,.145*b,"","Universal Print",null,null,this.getTagsForStencil(a,"universal print","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"User_Privacy.svg;",.16*b,.17*b,"","User Privacy",null,null,this.getTagsForStencil(a,"user privacy","azure management governance ").join(" "))];this.addPalette("azure2Management Governance",
-"Azure / Management and Governance",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2MenuPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"Keys.svg;",.16*b,.17*b,"","Keys",null,null,this.getTagsForStencil(a,"keys","azure menu ").join(" "))];this.addPalette("azure2Menu","Azure / Menu",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2MigratePalette=function(a,
-b,d,c){var e=[this.createVertexTemplateEntry(c+"Cost_Management_and_Billing.svg;",.17*b,.17*b,"","Cost Management and Billing",null,null,this.getTagsForStencil(a,"cost management billing","azure migrate ").join(" ")),this.createVertexTemplateEntry(c+"Data_Box.svg;",.1775*b,.17*b,"","Data Box",null,null,this.getTagsForStencil(a,"data box","azure migrate ").join(" ")),this.createVertexTemplateEntry(c+"Data_Box_Edge.svg;",.1675*b,.12*b,"","Data Box Edge",null,null,this.getTagsForStencil(a,"data box edge",
-"azure migrate ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/databases/Azure_Database_Migration_Services.svg;",.16*b,.1725*b,"","Database Migration Services",null,null,this.getTagsForStencil(a,"migration services","azure migrate ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/storage/Azure_Stack_Edge.svg;",.17*b,.12*b,"","Databox Gateway",
-null,null,this.getTagsForStencil(a,"databox gateway","azure migrate ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Migrate.svg;",.18*b,.11*b,"","Migrate",null,null,this.getTagsForStencil(a,"migrate","azure migrate ").join(" ")),this.createVertexTemplateEntry(c+"Recovery_Services_Vaults.svg;",.1725*b,.15*b,"","Recovery Services Vaults",null,null,this.getTagsForStencil(a,"recovery services vaults","azure migrate ").join(" "))];this.addPalette("azure2Migrate","Azure / Migrate",!1,mxUtils.bind(this,
-function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2MixedRealityPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"Remote_Rendering.svg;",.17*b,.12*b,"","Remote Rendering",null,null,this.getTagsForStencil(a,"remote rendering","azure mixed reality ").join(" ")),this.createVertexTemplateEntry(c+"Spatial_Anchor_Accounts.svg;",.167*b,.17*b,"","Spatial Anchor Accounts",null,null,this.getTagsForStencil(a,"spatial anchor accounts","azure mixed reality ").join(" "))];
-this.addPalette("azure2Mixed Reality","Azure / Mixed Reality",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2MobilePalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/app_services/App_Services.svg;",.16*b,.16*b,"","App Services",null,null,this.getTagsForStencil(a,"app services","azure mobile ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/app_services/Notification_Hubs.svg;",
-.1675*b,.14*b,"","Notification Hubs",null,null,this.getTagsForStencil(a,"notification hubs","azure mobile ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/analytics/Power_Platform.svg;",.1623*b,.17*b,"","Power Platform",null,null,this.getTagsForStencil(a,"power platform","azure mobile ").join(" "))];this.addPalette("azure2Mobile","Azure / Mobile",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};
-Sidebar.prototype.addAzure2MonitorPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/management_governance/Activity_Log.svg;",.14*b,.1675*b,"","Activity Log",null,null,this.getTagsForStencil(a,"activity log","azure monitor ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/devops/Application_Insights.svg;",.11*b,.1575*b,"","Application Insights",
-null,null,this.getTagsForStencil(a,"application insights","azure monitor ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/devops/Change_Analysis.svg;",.17*b,.1692*b,"","Change Analysis",null,null,this.getTagsForStencil(a,"change analysis","azure monitor ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/management_governance/Diagnostics_Settings.svg;",
+400,this,"image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/other/");this.setCurrentSearchEntryLibrary("azure2","azure2Power Platform");this.addAzure2PowerPlatformPalette("mxgraph.azure2",400,this,"image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/power_platform/");this.setCurrentSearchEntryLibrary("azure2","azure2Preview");this.addAzure2PreviewPalette("mxgraph.azure2",400,this,"image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/preview/");
+this.setCurrentSearchEntryLibrary("azure2","azure2Security");this.addAzure2SecurityPalette("mxgraph.azure2",400,this,"image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/security/");this.setCurrentSearchEntryLibrary("azure2","azure2Storage");this.addAzure2StoragePalette("mxgraph.azure2",400,this,"image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/storage/");this.setCurrentSearchEntryLibrary("azure2","azure2Web");this.addAzure2WebPalette("mxgraph.azure2",
+400,this,"image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/web/");this.setCurrentSearchEntryLibrary()};Sidebar.prototype.addAzure2AIMachineLearningPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"AI_Studio.svg;",.16*b,.17*b,"","AI Studio",null,null,this.getTagsForStencil(a,"ai studio","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Anomaly_Detector.svg;",.17*b,.17*b,"","Anomaly Detector",null,null,
+this.getTagsForStencil(a,"anomaly detector","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Applied_AI.svg;",.17*b,.13*b,"","Applied AI",null,null,this.getTagsForStencil(a,"applied","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Batch_AI.svg;",.12*b,.17*b,"","Batch AI",null,null,this.getTagsForStencil(a,"batch","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+
+"Bonsai.svg;",.17*b,.165*b,"","Bonsai",null,null,this.getTagsForStencil(a,"bonsai","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Bot_Services.svg;",.17*b,.17*b,"","Bot Services",null,null,this.getTagsForStencil(a,"bot services","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Computer_Vision.svg;",.17*b,.17*b,"","Computer Vision",null,null,this.getTagsForStencil(a,"computer vision","azure ai machine learning artificial intelligence ").join(" ")),
+this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/app_services/Search_Services.svg;",.17*b,.1228*b,"","Cognitive Search",null,null,this.getTagsForStencil(a,"cognitive search","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Cognitive_Services.svg;",.17*b,.12*b,"","Cognitive Services",null,null,this.getTagsForStencil(a,"cognitive services","azure ai machine learning artificial intelligence ").join(" ")),
+this.createVertexTemplateEntry(c+"Content_Moderators.svg;",.17*b,.157*b,"","Content Moderators",null,null,this.getTagsForStencil(a,"content moderators","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Custom_Vision.svg;",.17*b,.17*b,"","Custom Vision",null,null,this.getTagsForStencil(a,"custom vision","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Experimentation_Studio.svg;",.17*b,.14*b,"",
+"Experimentation Studio",null,null,this.getTagsForStencil(a,"experimentation studio","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Face_APIs.svg;",.17*b,.17*b,"","Face APIs",null,null,this.getTagsForStencil(a,"face apis api application programming interface","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Form_Recognizers.svg;",.158*b,.17*b,"","Form Recognizers",null,null,this.getTagsForStencil(a,
+"form recognizers","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Genomics.svg;",.09*b,.17*b,"","Genomics",null,null,this.getTagsForStencil(a,"genomics","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Immersive_Readers.svg;",.17*b,.17*b,"","Immersive Readers",null,null,this.getTagsForStencil(a,"immersive readers","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+
+"Language_Services.svg;",.17*b,.17*b,"","Language",null,null,this.getTagsForStencil(a,"language services","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Cognitive_Services_Decisions.svg;",.17*b,.17*b,"","Cognitive Services Decisions",null,null,this.getTagsForStencil(a,"cognitive services decisions","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Content_Safety.svg;",.17*b,.17*b,"","Content Safety",
+null,null,this.getTagsForStencil(a,"content safety","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Language_Understanding.svg;",.17*b,.17*b,"","Language Understanding",null,null,this.getTagsForStencil(a,"language understanding","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Machine_Learning.svg;",.16*b,.17*b,"","Machine Learning",null,null,this.getTagsForStencil(a,"","azure ai machine learning artificial intelligence ").join(" ")),
+this.createVertexTemplateEntry(c+"Machine_Learning_Studio_Classic_Web_Services.svg;",.17*b,.17*b,"","Machine Learning Studio - Classic Web Services",null,null,this.getTagsForStencil(a,"studio classic web services","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Machine_Learning_Studio_Web_Service_Plans.svg;",.17*b,.17*b,"","Machine Learning Studio - Web Service Plans",null,null,this.getTagsForStencil(a,"studio web service plans","azure ai machine learning artificial intelligence ").join(" ")),
+this.createVertexTemplateEntry(c+"Machine_Learning_Studio_Workspaces.svg;",.17*b,.17*b,"","Machine Learning Studio - Workspaces",null,null,this.getTagsForStencil(a,"studio workspaces","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/compute/Metrics_Advisor.svg;",.137*b,.17*b,"","Metrics Advisor",null,null,this.getTagsForStencil(a,"metrics advisor","azure ai machine learning artificial intelligence ").join(" ")),
+this.createVertexTemplateEntry(c+"Azure_Object_Understanding.svg;",.17*b,.17*b,"","Object Understanding",null,null,this.getTagsForStencil(a,"object understanding","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Azure_OpenAI.svg;",.17*b,.17*b,"","OpenAI",null,null,this.getTagsForStencil(a,"openai open ai","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Personalizers.svg;",.17*b,.138*b,"","Personalizers",
+null,null,this.getTagsForStencil(a,"personalizers","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"QnA_Makers.svg;",.17*b,.17*b,"","QnA Makers",null,null,this.getTagsForStencil(a,"qna makers","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Serverless_Search.svg;",.17*b,.17*b,"","Serverless Search",null,null,this.getTagsForStencil(a,"serverless search","azure ai machine learning artificial intelligence ").join(" ")),
+this.createVertexTemplateEntry(c+"Speech_Services.svg;",.17*b,.17*b,"","Speech Services",null,null,this.getTagsForStencil(a,"speech services","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Translator_Text.svg;",.17*b,.17*b,"","Translator Text",null,null,this.getTagsForStencil(a,"translator text","azure ai machine learning artificial intelligence ").join(" "))];this.addPalette("azure2AI Machine Learning","Azure / AI and Machine Learning",!1,mxUtils.bind(this,
+function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2AnalyticsPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"Analysis_Services.svg;",.1575*b,.12*b,"","Analysis Services",null,null,this.getTagsForStencil(a,"analysis services","azure analytics ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/databases/Azure_Data_Explorer_Clusters.svg;",.17*b,.17*b,"","Data Explorer Clusters",
+null,null,this.getTagsForStencil(a,"data explorer clusters","azure analytics ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/databases/Data_Factory.svg;",.17*b,.17*b,"","Data Factories",null,null,this.getTagsForStencil(a,"data factories","azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"Data_Lake_Analytics.svg;",.17*b,.17*b,"","Data Lake Analytics",null,null,this.getTagsForStencil(a,"data lake analytics",
+"azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"Data_Lake_Store_Gen1.svg;",.16*b,.13*b,"","Data Lake Store Gen1",null,null,this.getTagsForStencil(a,"data lake store gen1","azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Databricks.svg;",.157*b,.17*b,"","Databricks",null,null,this.getTagsForStencil(a,"azure databricks","azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"Endpoint_Analytics.svg;",.17*b,.17*b,"","Endpoint Analytics",null,null,this.getTagsForStencil(a,
+"endpoint analytics","azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"Event_Hub_Clusters.svg;",.16*b,.13*b,"","Event Hub Clusters",null,null,this.getTagsForStencil(a,"event hub clusters","azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"Event_Hubs.svg;",.1675*b,.15*b,"","Event Hubs",null,null,this.getTagsForStencil(a,"event hubs","azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"HD_Insight_Clusters.svg;",.1575*b,.155*b,"","HD Insight Clusters",null,null,
+this.getTagsForStencil(a,"hd insight clusters","azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"Log_Analytics_Workspaces.svg;",.16*b,.16*b,"","Log Analytics Workspaces",null,null,this.getTagsForStencil(a,"log analytics workspaces","azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"Power_BI_Embedded.svg;",.1275*b,.17*b,"","Power BI Embedded",null,null,this.getTagsForStencil(a,"power bi embedded","azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"Power_Platform.svg;",
+.1623*b,.17*b,"","Power Platform",null,null,this.getTagsForStencil(a,"power platform","azure analytics ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/networking/Private_Link_Hub.svg;",.147*b,.17*b,"","Private Link Services",null,null,this.getTagsForStencil(a,"private link services","azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"Stream_Analytics_Jobs.svg;",.17*b,.145*b,"","Stream Analytics Jobs",null,
+null,this.getTagsForStencil(a,"Stream_Analytics_Jobs","azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Synapse_Analytics.svg;",.15*b,.1725*b,"","Synapse Analytics",null,null,this.getTagsForStencil(a,"synapse analytics","azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Workbooks.svg;",.17*b,.17*b,"","Workbooks",null,null,this.getTagsForStencil(a,"workbooks","azure analytics ").join(" "))];this.addPalette("azure2Analytics","Azure / Analytics",!1,mxUtils.bind(this,
+function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2AppServicesPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"API_Management_Services.svg;",.1625*b,.15*b,"","API Management Services",null,null,this.getTagsForStencil(a,"api application programming interface management services","azure app services ").join(" ")),this.createVertexTemplateEntry(c+"App_Service_Certificates.svg;",.175*b,.16*b,"","App Service Certificates",null,null,this.getTagsForStencil(a,
+"app service certificates","azure app services ").join(" ")),this.createVertexTemplateEntry(c+"App_Service_Domains.svg;",.1625*b,.13*b,"","App Service Domains",null,null,this.getTagsForStencil(a,"app service domains","azure app services ").join(" ")),this.createVertexTemplateEntry(c+"App_Service_Environments.svg;",.16*b,.16*b,"","App Service Environments",null,null,this.getTagsForStencil(a,"app service environments","azure app services ").join(" ")),this.createVertexTemplateEntry(c+"App_Service_Plans.svg;",
+.16*b,.16*b,"","App Service Plans",null,null,this.getTagsForStencil(a,"app service plans","azure app services ").join(" ")),this.createVertexTemplateEntry(c+"App_Services.svg;",.16*b,.16*b,"","App Services",null,null,this.getTagsForStencil(a,"app services","azure app services ").join(" ")),this.createVertexTemplateEntry(c+"CDN_Profiles.svg;",.17*b,.1*b,"","CDN Profiles",null,null,this.getTagsForStencil(a,"cdn profiles","azure app services ").join(" ")),this.createVertexTemplateEntry(c+"Notification_Hubs.svg;",
+.1675*b,.14*b,"","Notification Hubs",null,null,this.getTagsForStencil(a,"notification hubs","azure app services ").join(" ")),this.createVertexTemplateEntry(c+"Search_Services.svg;",.18*b,.13*b,"","Search Services",null,null,this.getTagsForStencil(a,"search services","azure app services ").join(" "))];this.addPalette("azure2App Services","Azure / App Services",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2EcosystemPalette=function(a,
+b,d,c){var e=[this.createVertexTemplateEntry(c+"Applens.svg;",.17*b,.17*b,"","Applens",null,null,this.getTagsForStencil(a,"applens","azure ecosystem ").join(" ")),this.createVertexTemplateEntry(c+"Collaborative_Service.svg;",.17*b,.167*b,"","Collaborative Service",null,null,this.getTagsForStencil(a,"collaborative service","azure ecosystem ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Hybrid_Center.svg;",.17*b,.12*b,"","Hybrid Center",null,null,this.getTagsForStencil(a,"hybrid center","azure ecosystem ").join(" "))];
+this.addPalette("azure2Azure Ecosystem","Azure / Ecosystem",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2AzureStackPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"Capacity.svg;",.1575*b,.17*b,"","Capacity",null,null,this.getTagsForStencil(a,"capacity","azure stack ").join(" ")),this.createVertexTemplateEntry(c+"Infrastructure_Backup.svg;",.15*b,.1725*b,"","Infrastructure Backup",null,null,this.getTagsForStencil(a,
+"infrastructure backup","azure stack ").join(" ")),this.createVertexTemplateEntry(c+"Multi_Tenancy.svg;",.17*b,.1625*b,"","Multi Tenancy",null,null,this.getTagsForStencil(a,"multi tenancy","azure stack ").join(" ")),this.createVertexTemplateEntry(c+"Offers.svg;",.1625*b,.16*b,"","Offers",null,null,this.getTagsForStencil(a,"offers","azure stack ").join(" ")),this.createVertexTemplateEntry(c+"Plans.svg;",.13*b,.16*b,"","Plans",null,null,this.getTagsForStencil(a,"plans","azure stack ").join(" ")),this.createVertexTemplateEntry(c+
+"Azure_Stack.svg;",.155*b,.16*b,"","Stack",null,null,this.getTagsForStencil(a,"azure stack","azure stack ").join(" ")),this.createVertexTemplateEntry(c+"Updates.svg;",.17*b,.1675*b,"","Updates",null,null,this.getTagsForStencil(a,"updates","azure stack ").join(" ")),this.createVertexTemplateEntry(c+"User_Subscriptions.svg;",.17*b,.165*b,"","User Subscriptions",null,null,this.getTagsForStencil(a,"user subscriptions","azure stack ").join(" "))];this.addPalette("azure2Azure Stack","Azure / Azure Stack",
+!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2AzureVMwareSolutionPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"AVS.svg;",.175*b,.14*b,"","AVS",null,null,this.getTagsForStencil(a,"avs","azure vmware solution ").join(" "))];this.addPalette("azure2Azure VMware Solution","Azure / VMware Solution",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2BlockchainPalette=
+function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"ABS_Member.svg;",.14*b,.1625*b,"","ABS Member",null,null,this.getTagsForStencil(a,"abs member","azure blockchain ").join(" ")),this.createVertexTemplateEntry(c+"Blockchain_Applications.svg;",.121*b,.17*b,"","Blockchain Applications",null,null,this.getTagsForStencil(a,"blockchain applications","azure blockchain ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Blockchain_Service.svg;",.17*b,.17*b,"","Blockchain Service",null,null,this.getTagsForStencil(a,
+"blockchain service","azure blockchain ").join(" ")),this.createVertexTemplateEntry(c+"Consortium.svg;",.17*b,.17*b,"","Consortium",null,null,this.getTagsForStencil(a,"consortium","azure blockchain ").join(" ")),this.createVertexTemplateEntry(c+"Outbound_Connection.svg;",.1775*b,.16*b,"","Outbound Connection",null,null,this.getTagsForStencil(a,"outbound connection","azure blockchain ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Token_Service.svg;",.1475*b,.17*b,"","Token Service",null,null,
+this.getTagsForStencil(a,"token service","azure blockchain ").join(" "))];this.addPalette("azure2Blockchain","Azure / Blockchain",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2ComputePalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"App_Services.svg;",.16*b,.16*b,"","App Services",null,null,this.getTagsForStencil(a,"app services","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Application_Group.svg;",
+.17*b,.17*b,"","Application Group",null,null,this.getTagsForStencil(a,"application group","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Automanaged_VM.svg;",.17*b,.155*b,"","Automanaged VM",null,null,this.getTagsForStencil(a,"automanaged vm virtual machine","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Availability_Sets.svg;",.17*b,.17*b,"","Availability Sets",null,null,this.getTagsForStencil(a,"availability sets","azure compute ").join(" ")),this.createVertexTemplateEntry(c+
+"Batch_Accounts.svg;",.17*b,.16*b,"","Batch Accounts",null,null,this.getTagsForStencil(a,"batch accounts","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Cloud_Services_Classic.svg;",.18*b,.13*b,"","Cloud Services (Classic)",null,null,this.getTagsForStencil(a,"cloud services classic","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Compute_Galleries.svg;",.17*b,.17*b,"","Compute Galleries",null,null,this.getTagsForStencil(a,"compute galleries","azure compute ").join(" ")),
+this.createVertexTemplateEntry(c+"Container_Instances.svg;",.16*b,.17*b,"","Container Instances",null,null,this.getTagsForStencil(a,"container instances","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Container_Services_Deprecated.svg;",.17*b,.15*b,"","Container Services (deprecated)",null,null,this.getTagsForStencil(a,"container services deprecated","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Disk_Encryption_Sets.svg;",.17*b,.17*b,"","Disk Encryption Sets",null,
+null,this.getTagsForStencil(a,"disk encryption sets","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Disks.svg;",.1425*b,.14*b,"","Disks",null,null,this.getTagsForStencil(a,"disks","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Disks_Snapshots.svg;",.17*b,.1775*b,"","Disks Snapshots",null,null,this.getTagsForStencil(a,"disks snapshots","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Function_Apps.svg;",.17*b,.15*b,"","Function Apps",null,null,this.getTagsForStencil(a,
+"function apps","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Host_Groups.svg;",.155*b,.17*b,"","Host Groups",null,null,this.getTagsForStencil(a,"host groups","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Host_Pools.svg;",.17*b,.17*b,"","Host Pools",null,null,this.getTagsForStencil(a,"host pools","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Hosts.svg;",.143*b,.17*b,"","Hosts",null,null,this.getTagsForStencil(a,"hosts","azure compute ").join(" ")),
+this.createVertexTemplateEntry(c+"Image_Definitions.svg;",.165*b,.16*b,"","Image Definitions",null,null,this.getTagsForStencil(a,"image definitions","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Image_Templates.svg;",.17*b,.15*b,"","Image Templates",null,null,this.getTagsForStencil(a,"image templates","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Image_Versions.svg;",.1675*b,.16*b,"","Image Versions",null,null,this.getTagsForStencil(a,"image versions","azure compute ").join(" ")),
+this.createVertexTemplateEntry(c+"Images.svg;",.1725*b,.16*b,"","Images",null,null,this.getTagsForStencil(a,"images","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Kubernetes_Services.svg;",.17*b,.15*b,"","Kubernetes Services",null,null,this.getTagsForStencil(a,"kubernetes services","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Maintenance_Configuration.svg;",.17*b,.16*b,"","Maintenance Configuration",null,null,this.getTagsForStencil(a,"maintenance configuration",
+"azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Managed_Service_Fabric.svg;",.17*b,.165*b,"","Managed Service Fabric",null,null,this.getTagsForStencil(a,"managed service fabric","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Mesh_Applications.svg;",.17*b,.17*b,"","Mesh Applications",null,null,this.getTagsForStencil(a,"mesh applications","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Metrics_Advisor.svg;",.137*b,.17*b,"","Metrics Advisor",null,null,this.getTagsForStencil(a,
+"metrics advisor","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"OS_Images_Classic.svg;",.1725*b,.16*b,"","OS Images (Classic)",null,null,this.getTagsForStencil(a,"os images classic","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Restore_Points.svg;",.17*b,.167*b,"","Restore Points",null,null,this.getTagsForStencil(a,"restore points","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Restore_Points_Collections.svg;",.17*b,.14*b,"","Restore Points Collections",
+null,null,this.getTagsForStencil(a,"restore points collections","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Service_Fabric_Clusters.svg;",.1675*b,.16*b,"","Service Fabric Clusters",null,null,this.getTagsForStencil(a,"service fabric clusters","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Shared_Image_Galleries.svg;",.16*b,.16*b,"","Shared Image Galleries",null,null,this.getTagsForStencil(a,"shared image galleries","azure compute ").join(" ")),this.createVertexTemplateEntry(c+
+"Azure_Spring_Cloud.svg;",.17*b,.17*b,"","Spring Cloud",null,null,this.getTagsForStencil(a,"azure spring cloud","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Virtual_Machine.svg;",.1725*b,.16*b,"","Virtual Machine",null,null,this.getTagsForStencil(a,"virtual machine","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Virtual_Machines_Classic.svg;",.1725*b,.16*b,"","Virtual Machines (Classic)",null,null,this.getTagsForStencil(a,"virtual machines classic","azure compute ").join(" ")),
+this.createVertexTemplateEntry(c+"VM_Images_Classic.svg;",.1725*b,.16*b,"","VM Images (Classic)",null,null,this.getTagsForStencil(a,"vm images classic","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"VM_Scale_Sets.svg;",.17*b,.17*b,"","VM Scale Sets",null,null,this.getTagsForStencil(a,"vm scale sets","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Workspaces2.svg;",.17*b,.17*b,"","Workspaces",null,null,this.getTagsForStencil(a,"workspaces","azure compute ").join(" ")),
+this.createVertexTemplateEntry(c+"Workspaces.svg;",.1625*b,.14*b,"","Workspaces",null,null,this.getTagsForStencil(a,"workspaces","azure compute ").join(" "))];this.addPalette("azure2Compute","Azure / Compute",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2ContainersPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"App_Services.svg;",.16*b,.16*b,"","App Services",null,null,this.getTagsForStencil(a,"app services","azure containers ").join(" ")),
+this.createVertexTemplateEntry(c+"Batch_Accounts.svg;",.17*b,.16*b,"","Batch Accounts",null,null,this.getTagsForStencil(a,"batch accounts","azure containers ").join(" ")),this.createVertexTemplateEntry(c+"Container_Instances.svg;",.16*b,.1725*b,"","Container Instances",null,null,this.getTagsForStencil(a,"container instances","azure containers ").join(" ")),this.createVertexTemplateEntry(c+"Container_Registries.svg;",.17*b,.1525*b,"","Container Registries",null,null,this.getTagsForStencil(a,"container registries",
+"azure containers ").join(" ")),this.createVertexTemplateEntry(c+"Kubernetes_Services.svg;",.17*b,.15*b,"","Kubernetes Services",null,null,this.getTagsForStencil(a,"kubernetes services","azure containers ").join(" ")),this.createVertexTemplateEntry(c+"Service_Fabric_Clusters.svg;",.1675*b,.16*b,"","Service Fabric Clusters",null,null,this.getTagsForStencil(a,"service fabric clusters","azure containers ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Red_Hat_OpenShift.svg;",.17*b,.17*b,"","Red Hat OpenShift",
+null,null,this.getTagsForStencil(a,"azure red hat openshift","azure containers ").join(" "))];this.addPalette("azure2Containers","Azure / Containers",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2CXPPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"Elixir.svg;",.1225*b,.17*b,"","Elixir",null,null,this.getTagsForStencil(a,"elixir","azure cxp ").join(" ")),this.createVertexTemplateEntry(c+"Elixir_Purple.svg;",.1225*
+b,.17*b,"","Elixir Purple",null,null,this.getTagsForStencil(a,"elixir purple","azure cxp ").join(" "))];this.addPalette("azure2CXP","Azure / CXP",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2DatabasesPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"Cache_Redis.svg;",.16*b,.13*b,"","Cache Redis",null,null,this.getTagsForStencil(a,"cache redis","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Cosmos_DB.svg;",
+.16*b,.16*b,"","Cosmos DB",null,null,this.getTagsForStencil(a,"cosmos","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Data_Explorer_Clusters.svg;",.17*b,.17*b,"","Data Explorer Clusters",null,null,this.getTagsForStencil(a,"data explorer clusters","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Data_Factory.svg;",.17*b,.17*b,"","Data Factory",null,null,this.getTagsForStencil(a,"data factory","azure database db ").join(" ")),this.createVertexTemplateEntry(c+
+"Azure_Database_MariaDB_Server.svg;",.12*b,.16*b,"","Database MariaDB Server",null,null,this.getTagsForStencil(a,"mariadb server","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Database_Migration_Services.svg;",.16*b,.1725*b,"","Database Migration Services",null,null,this.getTagsForStencil(a,"migration services","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Database_MySQL_Server.svg;",.12*b,.16*b,"","Database MySQL Server",null,null,this.getTagsForStencil(a,
+"mysql my sql server","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Database_PostgreSQL_Server.svg;",.12*b,.16*b,"","Database PostgreSQL Server",null,null,this.getTagsForStencil(a,"postgresql sql server","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Database_PostgreSQL_Server_Group.svg;",.15*b,.17*b,"","Database PostgreSQL Server Group",null,null,this.getTagsForStencil(a,"postgresql sql server group","azure database db ").join(" ")),this.createVertexTemplateEntry(c+
+"Elastic_Job_Agents.svg;",.16*b,.16*b,"","Elastic Job Agents",null,null,this.getTagsForStencil(a,"elastic job agents","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Instance_Pools.svg;",.1625*b,.16*b,"","Instance Pools",null,null,this.getTagsForStencil(a,"instance pools","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Managed_Database.svg;",.17*b,.16*b,"","Managed Database",null,null,this.getTagsForStencil(a,"managed","azure database db ").join(" ")),this.createVertexTemplateEntry(c+
+"Oracle_Database.svg;",.17*b,.17*b,"","Oracle Database",null,null,this.getTagsForStencil(a,"oracle database","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Purview_Accounts.svg;",.17*b,.105*b,"","Purview Accounts",null,null,this.getTagsForStencil(a,"azure purview accounts","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_SQL.svg;",.16*b,.115*b,"","SQL",null,null,this.getTagsForStencil(a,"sql","azure database db ").join(" ")),this.createVertexTemplateEntry(c+
+"SQL_Data_Warehouses.svg;",.16*b,.1625*b,"","SQL Data Warehouses",null,null,this.getTagsForStencil(a,"sql data warehouses","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"SQL_Database.svg;",.12*b,.16*b,"","SQL Database",null,null,this.getTagsForStencil(a,"sql","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_SQL_Edge.svg;",.17*b,.17*b,"","SQL Edge",null,null,this.getTagsForStencil(a,"sql edge","azure database db ").join(" ")),this.createVertexTemplateEntry(c+
+"SQL_Elastic_Pools.svg;",.17*b,.17*b,"","SQL Elastic Pools",null,null,this.getTagsForStencil(a,"sql elastic pools","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"SQL_Managed_Instance.svg;",.1625*b,.16*b,"","SQL Managed Instance",null,null,this.getTagsForStencil(a,"sql managed instance","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"SQL_Server.svg;",.17*b,.17*b,"","SQL Server",null,null,this.getTagsForStencil(a,"sql server","azure database db ").join(" ")),this.createVertexTemplateEntry(c+
+"SQL_Server_Registries.svg;",.17*b,.155*b,"","SQL Server Registries",null,null,this.getTagsForStencil(a,"sql server registries","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_SQL_Server_Stretch_Databases.svg;",.16*b,.1625*b,"","SQL Server Stretch Databases",null,null,this.getTagsForStencil(a,"sql server stretch","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_SQL_VM.svg;",.16*b,.15*b,"","SQL VM",null,null,this.getTagsForStencil(a,"sql vm virtual machine",
+"azure database db ").join(" ")),this.createVertexTemplateEntry(c+"SSIS_Lift_And_Shift_IR.svg;",.155*b,.17*b,"","SSIS Lift and Shift IR",null,null,this.getTagsForStencil(a,"ssis lift and shift ir","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Synapse_Analytics.svg;",.15*b,.1725*b,"","Synapse Analytics",null,null,this.getTagsForStencil(a,"synapse analytics","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Virtual_Clusters.svg;",.165*b,.16*b,"","Virtual Clusters",
+null,null,this.getTagsForStencil(a,"virtual clusters","azure database db ").join(" "))];this.addPalette("azure2Databases","Azure / Databases",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2DevOpsPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"API_Connections.svg;",.17*b,.1133*b,"","API Connections",null,null,this.getTagsForStencil(a,"api connections application programming interface","azure devops ").join(" ")),
+this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/app_services/API_Management_Services.svg;",.1625*b,.15*b,"","API Management Services",null,null,this.getTagsForStencil(a,"api application programming interface management services","azure devops ").join(" ")),this.createVertexTemplateEntry(c+"Application_Insights.svg;",.11*b,.1575*b,"","Application Insights",null,null,this.getTagsForStencil(a,"application insights","azure devops ").join(" ")),
+this.createVertexTemplateEntry(c+"Change_Analysis.svg;",.17*b,.1692*b,"","Change Analysis",null,null,this.getTagsForStencil(a,"change analysis","azure devops ").join(" ")),this.createVertexTemplateEntry(c+"CloudTest.svg;",.147*b,.17*b,"","CloudTest",null,null,this.getTagsForStencil(a,"cloudtest cloud test","azure devops ").join(" ")),this.createVertexTemplateEntry(c+"Code_Optimization.svg;",.17*b,.17*b,"","Code Optimization",null,null,this.getTagsForStencil(a,"code optimization","azure devops ").join(" ")),
+this.createVertexTemplateEntry(c+"Azure_DevOps.svg;",.16*b,.16*b,"","DevOps",null,null,this.getTagsForStencil(a,"devops","azure devops ").join(" ")),this.createVertexTemplateEntry(c+"DevOps_Starter.svg;",.17*b,.1594*b,"","DevOps Starter",null,null,this.getTagsForStencil(a,"devops starter","azure devops ").join(" ")),this.createVertexTemplateEntry(c+"DevTest_Labs.svg;",.165*b,.16*b,"","DevTest Labs",null,null,this.getTagsForStencil(a,"devtest labs","azure devops ").join(" ")),this.createVertexTemplateEntry(c+
+"Lab_Accounts.svg;",.1629*b,.17*b,"","Lab Accounts",null,null,this.getTagsForStencil(a,"lab accounts","azure devops ").join(" ")),this.createVertexTemplateEntry(c+"Lab_Services.svg;",.165*b,.16*b,"","Lab Services",null,null,this.getTagsForStencil(a,"lab services","azure devops ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/other/Load_Testing.svg;",.148*b,.17*b,"","Load Testing",null,null,this.getTagsForStencil(a,"load testing",
+"azure devops ").join(" "))];this.addPalette("azure2DevOps","Azure / DevOps",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2GeneralPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"All_Resources.svg;",.16*b,.16*b,"","All Resources",null,null,this.getTagsForStencil(a,"all resources","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Backlog.svg;",.17*b,.15*b,"","Backlog",null,null,this.getTagsForStencil(a,
+"backlog","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Biz_Talk.svg;",.1725*b,.16*b,"","Biz Talk",null,null,this.getTagsForStencil(a,"biz talk","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Blob_Block.svg;",.1625*b,.13*b,"","Blob Block",null,null,this.getTagsForStencil(a,"blob block","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Blob_Page.svg;",.1625*b,.13*b,"","Blob Page",null,null,this.getTagsForStencil(a,"blob page","azure general ").join(" ")),
+this.createVertexTemplateEntry(c+"Branch.svg;",.18*b,.18*b,"","Branch",null,null,this.getTagsForStencil(a,"branch","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Browser.svg;",.1625*b,.13*b,"","Browser",null,null,this.getTagsForStencil(a,"browser","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Bug.svg;",.1475*b,.16*b,"","Bug",null,null,this.getTagsForStencil(a,"bug","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Builds.svg;",.16*b,.16*b,"","Builds",
+null,null,this.getTagsForStencil(a,"builds","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Cache.svg;",.16*b,.16*b,"","Cache",null,null,this.getTagsForStencil(a,"cache","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Code.svg;",.16*b,.13*b,"","Code",null,null,this.getTagsForStencil(a,"code","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Commit.svg;",.18*b,.17*b,"","Commit",null,null,this.getTagsForStencil(a,"commit","azure general ").join(" ")),this.createVertexTemplateEntry(c+
+"Controls.svg;",.14*b,.1725*b,"","Controls",null,null,this.getTagsForStencil(a,"controls","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Controls_Horizontal.svg;",.1725*b,.14*b,"","Controls Horizontal",null,null,this.getTagsForStencil(a,"controls horizontal","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Cost_Alerts.svg;",.1675*b,.14*b,"","Cost Alerts",null,null,this.getTagsForStencil(a,"cost alerts","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Cost_Analysis.svg;",
+.15*b,.175*b,"","Cost Analysis",null,null,this.getTagsForStencil(a,"cost analysis","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Cost_Budgets.svg;",.1675*b,.17*b,"","Cost Budgets",null,null,this.getTagsForStencil(a,"cost budgets","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Cost_Management.svg;",.1675*b,.15*b,"","Cost Management",null,null,this.getTagsForStencil(a,"cost management","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Cost_Management_and_Billing.svg;",
+.17*b,.17*b,"","Cost Management and Billing",null,null,this.getTagsForStencil(a,"cost management and billing","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Counter.svg;",.16*b,.13*b,"","Counter",null,null,this.getTagsForStencil(a,"counter","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Cubes.svg;",.1675*b,.17*b,"","Cubes",null,null,this.getTagsForStencil(a,"cubes","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Dashboard.svg;",.17*b,.12*b,"","Dashboard",
+null,null,this.getTagsForStencil(a,"dashboard","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Dashboard2.svg;",.17*b,.12*b,"","Dashboard",null,null,this.getTagsForStencil(a,"dashboard","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Dev_Console.svg;",.1625*b,.13*b,"","Dev Console",null,null,this.getTagsForStencil(a,"dev console","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Download.svg;",.16*b,.1675*b,"","Download",null,null,this.getTagsForStencil(a,
+"download","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Error.svg;",.1775*b,.17*b,"","Error",null,null,this.getTagsForStencil(a,"error","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Extensions.svg;",.1625*b,.16*b,"","Extensions",null,null,this.getTagsForStencil(a,"extensions","azure general ").join(" ")),this.createVertexTemplateEntry(c+"File.svg;",.14*b,.1725*b,"","File",null,null,this.getTagsForStencil(a,"file","azure general ").join(" ")),this.createVertexTemplateEntry(c+
+"Files.svg;",.16*b,.175*b,"","Files",null,null,this.getTagsForStencil(a,"files","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Folder_Blank.svg;",.1725*b,.14*b,"","Folder Blank",null,null,this.getTagsForStencil(a,"folder blank","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Folder_Website.svg;",.17*b,.14*b,"","Folder Website",null,null,this.getTagsForStencil(a,"folder website","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Free_Services.svg;",.17*b,
+.1575*b,"","Free Services",null,null,this.getTagsForStencil(a,"free services","azure general ").join(" ")),this.createVertexTemplateEntry(c+"FTP.svg;",.15*b,.12*b,"","FTP",null,null,this.getTagsForStencil(a,"ftp file transfer protocol","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Gear.svg;",.16*b,.16*b,"","Gear",null,null,this.getTagsForStencil(a,"gear","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Globe.svg;",.14*b,.165*b,"","Globe",null,null,this.getTagsForStencil(a,
+"globe","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Globe_Error.svg;",.14*b,.165*b,"","Globe Error",null,null,this.getTagsForStencil(a,"globe error","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Globe_Success.svg;",.14*b,.165*b,"","Globe Success",null,null,this.getTagsForStencil(a,"globe success","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Globe_Warning.svg;",.14*b,.165*b,"","Globe Warning",null,null,this.getTagsForStencil(a,"globe warning","azure general ").join(" ")),
+this.createVertexTemplateEntry(c+"Guide.svg;",.17*b,.17*b,"","Guide",null,null,this.getTagsForStencil(a,"guide","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Heart.svg;",.16*b,.15*b,"","Heart",null,null,this.getTagsForStencil(a,"heart","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Help_and_Support.svg;",.14*b,.1725*b,"","Help and Support",null,null,this.getTagsForStencil(a,"help support","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Image.svg;",.16*
+b,.11*b,"","Image",null,null,this.getTagsForStencil(a,"image","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Information.svg;",.16*b,.16*b,"","Information",null,null,this.getTagsForStencil(a,"information","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Input_Output.svg;",.16*b,.1375*b,"","Input Output",null,null,this.getTagsForStencil(a,"input output","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Journey_Hub.svg;",.15*b,.1575*b,"","Journey Hub",null,
+null,this.getTagsForStencil(a,"journey hub","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Launch_Portal.svg;",.17*b,.1675*b,"","Launch Portal",null,null,this.getTagsForStencil(a,"launch portal","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Learn.svg;",.12*b,.175*b,"","Learn",null,null,this.getTagsForStencil(a,"learn","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Load_Test.svg;",.17*b,.165*b,"","Load Test",null,null,this.getTagsForStencil(a,"load test",
+"azure general ").join(" ")),this.createVertexTemplateEntry(c+"Location.svg;",.1*b,.1775*b,"","Location",null,null,this.getTagsForStencil(a,"location","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Log_Streaming.svg;",.14*b,.1675*b,"","Log Streaming",null,null,this.getTagsForStencil(a,"log streaming","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Management_Groups.svg;",.165*b,.16*b,"","Management Groups",null,null,this.getTagsForStencil(a,"management groups","azure general ").join(" ")),
+this.createVertexTemplateEntry(c+"Management_Portal.svg;",.15*b,.12*b,"","Management Portal",null,null,this.getTagsForStencil(a,"management portal","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Marketplace.svg;",.14*b,.16*b,"","Marketplace",null,null,this.getTagsForStencil(a,"marketplace","azure general ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/other/Marketplace_Management.svg;",.145*b,.17*b,"",
+"Marketplace Management",null,null,this.getTagsForStencil(a,"marketplace management","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Media.svg;",.17*b,.17*b,"","Media",null,null,this.getTagsForStencil(a,"media","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Media_File.svg;",.13*b,.16*b,"","Media File",null,null,this.getTagsForStencil(a,"media file","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Mobile.svg;",.1*b,.1675*b,"","Mobile",null,null,this.getTagsForStencil(a,
+"mobile","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Mobile_Engagement.svg;",.1*b,.1675*b,"","Mobile Engagement",null,null,this.getTagsForStencil(a,"mobile engagement","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Module.svg;",.16*b,.16*b,"","Module",null,null,this.getTagsForStencil(a,"module","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Power.svg;",.11*b,.17*b,"","Power",null,null,this.getTagsForStencil(a,"power","azure general ").join(" ")),
+this.createVertexTemplateEntry(c+"Power_Up.svg;",.17*b,.17*b,"","Power Up",null,null,this.getTagsForStencil(a,"power up","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Powershell.svg;",.1625*b,.13*b,"","Powershell",null,null,this.getTagsForStencil(a,"powershell","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Preview.svg;",.11*b,.16*b,"","Preview",null,null,this.getTagsForStencil(a,"preview","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Preview_Features.svg;",
+.17*b,.17*b,"","Preview Features",null,null,this.getTagsForStencil(a,"preview features","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Process_Explorer.svg;",.175*b,.17*b,"","Process Explorer",null,null,this.getTagsForStencil(a,"process explorer","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Production_Ready_Database.svg;",.12*b,.16*b,"","Production Ready Database",null,null,this.getTagsForStencil(a,"production ready database","azure general ").join(" ")),this.createVertexTemplateEntry(c+
+"Quickstart_Center.svg;",.17*b,.17*b,"","Quickstart Center",null,null,this.getTagsForStencil(a,"quickstart center","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Recent.svg;",.17*b,.17*b,"","Recent",null,null,this.getTagsForStencil(a,"recent","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Reservations.svg;",.17*b,.17*b,"","Reservations",null,null,this.getTagsForStencil(a,"reservations","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Resource_Explorer.svg;",
+.17*b,.14*b,"","Resource Explorer",null,null,this.getTagsForStencil(a,"resource exporer","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Resource_Group_List.svg;",.17*b,.1675*b,"","Resource Group List",null,null,this.getTagsForStencil(a,"resource group list","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Resource_Groups.svg;",.17*b,.16*b,"","Resource Groups",null,null,this.getTagsForStencil(a,"resource groups","azure general ").join(" ")),this.createVertexTemplateEntry(c+
+"Resource_Linked.svg;",.18*b,.18*b,"","Resource Linked",null,null,this.getTagsForStencil(a,"resource linked","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Scale.svg;",.15*b,.15*b,"","Scale",null,null,this.getTagsForStencil(a,"scale","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Scheduler.svg;",.17*b,.17*b,"","Scheduler",null,null,this.getTagsForStencil(a,"scheduler","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Search.svg;",.16*b,.1625*b,"","Search",
+null,null,this.getTagsForStencil(a,"search","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Search_Grid.svg;",.17*b,.1675*b,"","Search Grid",null,null,this.getTagsForStencil(a,"search grid","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Server_Farm.svg;",.16*b,.16*b,"","Server Farm",null,null,this.getTagsForStencil(a,"server farm","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Service_Bus.svg;",.175*b,.15*b,"","Service Bus",null,null,this.getTagsForStencil(a,
+"service bus","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Service_Health.svg;",.17*b,.16*b,"","Service Health",null,null,this.getTagsForStencil(a,"service health","azure general ").join(" ")),this.createVertexTemplateEntry(c+"SSD.svg;",.165*b,.15*b,"","SSD",null,null,this.getTagsForStencil(a,"ssd solid state drive","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Storage_Azure_Files.svg;",.16*b,.13*b,"","Storage Azure Files",null,null,this.getTagsForStencil(a,"storage files",
+"azure general ").join(" ")),this.createVertexTemplateEntry(c+"Storage_Container.svg;",.16*b,.13*b,"","Storage Container",null,null,this.getTagsForStencil(a,"storage container","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Storage_Queue.svg;",.16*b,.13*b,"","Storage Queue",null,null,this.getTagsForStencil(a,"storage queue","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Subscriptions.svg;",.11*b,.1775*b,"","Subscriptions",null,null,this.getTagsForStencil(a,"subscriptions",
+"azure general ").join(" ")),this.createVertexTemplateEntry(c+"Table.svg;",.16*b,.13*b,"","Table",null,null,this.getTagsForStencil(a,"table","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Tag.svg;",.17*b,.167*b,"","Tag",null,null,this.getTagsForStencil(a,"tag","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Tags.svg;",.15*b,.1625*b,"","Tags",null,null,this.getTagsForStencil(a,"tags","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Templates.svg;",.14*b,
+.17*b,"","Templates",null,null,this.getTagsForStencil(a,"templates","azure general ").join(" ")),this.createVertexTemplateEntry(c+"TFS_VC_Repository.svg;",.17*b,.17*b,"","TFS VC Repository",null,null,this.getTagsForStencil(a,"tfs vc repository","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Toolbox.svg;",.16*b,.14*b,"","Toolbox",null,null,this.getTagsForStencil(a,"toolbox","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Troubleshoot.svg;",.165*b,.17*b,"","Troubleshoot",
+null,null,this.getTagsForStencil(a,"troubleshoot","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Versions.svg;",.155*b,.15*b,"","Versions",null,null,this.getTagsForStencil(a,"versions","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Web_Slots.svg;",.145*b,.16*b,"","Web Slots",null,null,this.getTagsForStencil(a,"web slots","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Web_Test.svg;",.18*b,.18*b,"","Web Test",null,null,this.getTagsForStencil(a,"web test",
+"azure general ").join(" ")),this.createVertexTemplateEntry(c+"Website_Power.svg;",.17*b,.17*b,"","Website Power",null,null,this.getTagsForStencil(a,"website power","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Website_Staging.svg;",.16*b,.175*b,"","Website Staging",null,null,this.getTagsForStencil(a,"website staging","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Workbooks.svg;",.15*b,.1625*b,"","Workbooks",null,null,this.getTagsForStencil(a,"workbooks","azure general ").join(" ")),
+this.createVertexTemplateEntry(c+"Workflow.svg;",.17*b,.175*b,"","Workflow",null,null,this.getTagsForStencil(a,"workflow","azure general ").join(" "))];this.addPalette("azure2General","Azure / General",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2HybridAndMulticloudPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"Azure_Operator_5G_Core.svg;",.17*b,.1133*b,"","Azure Operator 5G Core",null,null,this.getTagsForStencil(a,
+"operator 5g core","azure hybrid and multicloud ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Operator_Insights.svg;",.17*b,.17*b,"","Azure Operator Insights",null,null,this.getTagsForStencil(a,"operator insights","azure hybrid and multicloud ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Operator_Nexus.svg;",.17*b,.17*b,"","Azure Operator Nexus",null,null,this.getTagsForStencil(a,"operator nexus","azure hybrid and multicloud ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Operator_Service_Manager.svg;",
+.17*b,.17*b,"","Azure Operator Service Manager",null,null,this.getTagsForStencil(a,"operator service manager","azure hybrid and multicloud ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Programmable_Connectivity.svg;",.17*b,.17*b,"","Azure Programmable Connectivity",null,null,this.getTagsForStencil(a,"operator programmable connectivity","azure hybrid and multicloud ").join(" "))];this.addPalette("azure2Hybrid and Multicloud","Azure / Hybrid and Multicloud",!1,mxUtils.bind(this,function(f){for(var g=
+0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2IdentityPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"AAD_Licenses.svg;",.165*b,.17*b,"","AAD Licenses",null,null,this.getTagsForStencil(a,"aad licenses","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Active_Directory.svg;",.175*b,.16*b,"","Active Directory",null,null,this.getTagsForStencil(a,"active directory","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Active_Directory_Connect_Health.svg;",
+.1725*b,.16*b,"","Active Directory Connect Health",null,null,this.getTagsForStencil(a,"active directory connect health","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Active_Directory_Connect_Health2.svg;",.17*b,.1511*b,"","Active Directory Connect Health",null,null,this.getTagsForStencil(a,"active directory connect health","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Azure_AD_B2C.svg;",.1725*b,.16*b,"","AD B2C",null,null,this.getTagsForStencil(a,"ad b2c","azure identity ").join(" ")),
+this.createVertexTemplateEntry(c+"Azure_AD_Domain_Services.svg;",.175*b,.16*b,"","AD Domain Services",null,null,this.getTagsForStencil(a,"ad domain services","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Azure_AD_Identity_Protection.svg;",.17*b,.155*b,"","AD Identity Protection",null,null,this.getTagsForStencil(a,"ad identity protection","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Azure_AD_Privilege_Identity_Management.svg;",.17*b,.17*b,"","AD Privilege Identity Management",
+null,null,this.getTagsForStencil(a,"ad privilege identity management","azure identity ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/intune/Azure_AD_Roles_and_Administrators.svg;",.17*b,.17*b,"","AD Roles and Administrators",null,null,this.getTagsForStencil(a,"ad roles administrators","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Administrative_Units.svg;",.17*b,.17*b,"","Administrative Units",null,
+null,this.getTagsForStencil(a,"administrative units","azure identity ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/other/API_Proxy.svg;",.17*b,.17*b,"","API Proxy",null,null,this.getTagsForStencil(a,"api application programming interface proxy","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"App_Registrations.svg;",.1575*b,.16*b,"","App Registrations",null,null,this.getTagsForStencil(a,"app registrations",
+"azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Azure_AD_B2C2.svg;",.17*b,.1511*b,"","Azure AD B2C",null,null,this.getTagsForStencil(a,"ad b2c","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Custom_Azure_AD_Roles.svg;",.17*b,.17*b,"","Custom Azure AD Roles",null,null,this.getTagsForStencil(a,"custom azure ad roles","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Enterprise_Applications.svg;",.16*b,.16*b,"","Enterprise Applications",null,null,this.getTagsForStencil(a,
+"enterprise applications","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Entra_Connect.svg;",.17*b,.1606*b,"","Entra Connect",null,null,this.getTagsForStencil(a,"entra connect","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Entra_Domain_Services.svg;",.17*b,.17*b,"","Entra Domain Services",null,null,this.getTagsForStencil(a,"entra domain services","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Entra_Global_Secure_Access.svg;",.17*b,.17*b,"","Entra Global Secure Access",
+null,null,this.getTagsForStencil(a,"entra global secure access","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Entra_ID_Protection.svg;",.17*b,.1511*b,"","Entra ID Protection",null,null,this.getTagsForStencil(a,"entra id protection","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Entra_Internet_Access.svg;",.17*b,.17*b,"","Entra Internet Access",null,null,this.getTagsForStencil(a,"entra internet access","azure identity ").join(" ")),this.createVertexTemplateEntry(c+
+"Entra_Managed_Identities.svg;",.17*b,.1511*b,"","Entra Managed Identities",null,null,this.getTagsForStencil(a,"entra managed identities","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Entra_Private_Access.svg;",.17*b,.17*b,"","Entra Private Access",null,null,this.getTagsForStencil(a,"entra private access","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Entra_Privileged_Identity_Management.svg;",.17*b,.17*b,"","Entra Privileged Identity Management",null,null,this.getTagsForStencil(a,
+"entra privileged identity management","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Entra_Verified_ID.svg;",.17*b,.1511*b,"","Entra Verified ID",null,null,this.getTagsForStencil(a,"entra verified id","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"External_Identities.svg;",.1562*b,.17*b,"","External Identities",null,null,this.getTagsForStencil(a,"external identities","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Groups.svg;",.17*b,.14*b,"","Groups",
+null,null,this.getTagsForStencil(a,"groups","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Identity_Governance.svg;",.16*b,.16*b,"","Identity Governance",null,null,this.getTagsForStencil(a,"identity governance","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Information_Protection.svg;",.128*b,.17*b,"","Information Protection",null,null,this.getTagsForStencil(a,"information protection","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Managed_Identities.svg;",
+.17*b,.165*b,"","Managed Identities",null,null,this.getTagsForStencil(a,"managed identities","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Multi_Factor_Authentication.svg;",.17*b,.17*b,"","Multi-Factor Authentication",null,null,this.getTagsForStencil(a,"multi factor authentication","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"PIM.svg;",.15*b,.17*b,"","PIM",null,null,this.getTagsForStencil(a,"pim privileged identity management","azure identity ").join(" ")),this.createVertexTemplateEntry(c+
+"Security.svg;",.1418*b,.17*b,"","Security",null,null,this.getTagsForStencil(a,"security","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Tenant_Properties.svg;",.17*b,.12*b,"","Tenant Properties",null,null,this.getTagsForStencil(a,"tenant properties","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"User_Settings.svg;",.17*b,.1423*b,"","User Settings",null,null,this.getTagsForStencil(a,"user settings","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Users.svg;",
+.16*b,.175*b,"","Users",null,null,this.getTagsForStencil(a,"users","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Verifiable_Credentials.svg;",.17*b,.17*b,"","Verifiable Credentials",null,null,this.getTagsForStencil(a,"verifiable credentials","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Verification_As_A_Service.svg;",.17*b,.17*b,"","Verification As A Service",null,null,this.getTagsForStencil(a,"verification as service","azure identity ").join(" "))];this.addPalette("azure2Identity",
+"Azure / Identity",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2IntegrationPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/devops/API_Connections.svg;",.17*b,.1133*b,"","API Connections",null,null,this.getTagsForStencil(a,"api connections application programming interface","azure integration ").join(" ")),this.createVertexTemplateEntry(c+
+"Azure_API_for_FHIR.svg;",.17*b,.163*b,"","API for FHIR",null,null,this.getTagsForStencil(a,"api application programming interface for fhir","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"API_Management_Services.svg;",.1625*b,.15*b,"","API Management Services",null,null,this.getTagsForStencil(a,"api application programming interface management services","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"App_Configuration.svg;",.16*b,.17*b,"","App Configuration",
+null,null,this.getTagsForStencil(a,"app configuration application","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Data_Catalog.svg;",.15*b,.1675*b,"","Data Catalog",null,null,this.getTagsForStencil(a,"data catalog","azure integration ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/databases/Data_Factory.svg;",.17*b,.17*b,"","Data Factories",null,null,this.getTagsForStencil(a,"data factories",
+"azure integration ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/storage/Azure_Stack_Edge.svg;",.17*b,.12*b,"","Databox Gateway",null,null,this.getTagsForStencil(a,"databox gateway","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Event_Grid_Domains.svg;",.1675*b,.15*b,"","Event Grid Domains",null,null,this.getTagsForStencil(a,"event grid domains","azure integration ").join(" ")),this.createVertexTemplateEntry(c+
+"Event_Grid_Subscriptions.svg;",.1675*b,.15*b,"","Event Grid Subscriptions",null,null,this.getTagsForStencil(a,"event grid subscriptions","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Event_Grid_Topics.svg;",.1675*b,.15*b,"","Event Grid Topics",null,null,this.getTagsForStencil(a,"event grid topics","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Integration_Accounts.svg;",.16*b,.16*b,"","Integration Accounts",null,null,this.getTagsForStencil(a,"integration accounts",
+"azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Integration_Environments.svg;",.1606*b,.17*b,"","Integration Environments",null,null,this.getTagsForStencil(a,"integration environments","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Integration_Service_Environments.svg;",.17*b,.17*b,"","Integration Service Environments",null,null,this.getTagsForStencil(a,"integration service environments","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Logic_Apps.svg;",
+.1675*b,.13*b,"","Logic Apps",null,null,this.getTagsForStencil(a,"logic apps","azure integration ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/internet_of_things/Logic_Apps.svg;",.17*b,.17*b,"","Logic Apps",null,null,this.getTagsForStencil(a,"logic apps","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Logic_Apps_Custom_Connector.svg;",.17*b,.17*b,"","Logic Apps Custom Connector",null,null,this.getTagsForStencil(a,
+"logic apps custom connector","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Partner_Namespace.svg;",.17*b,.152*b,"","Partner Namespace",null,null,this.getTagsForStencil(a,"partner namespace","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Partner_Registration.svg;",.17*b,.158*b,"","Partner Registration",null,null,this.getTagsForStencil(a,"partner registration","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Partner_Topic.svg;",.17*b,.1525*
+b,"","Partner Topic",null,null,this.getTagsForStencil(a,"partner topic","azure integration ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/analytics/Power_Platform.svg;",.1623*b,.17*b,"","Power Platform",null,null,this.getTagsForStencil(a,"power platform","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Relays.svg;",.1675*b,.15*b,"","Relays",null,null,this.getTagsForStencil(a,"relays","azure integration ").join(" ")),
+this.createVertexTemplateEntry(c+"SendGrid_Accounts.svg;",.167*b,.17*b,"","SendGrid Accounts",null,null,this.getTagsForStencil(a,"sendgrid send grid accounts","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Service_Bus.svg;",.17*b,.15*b,"","Service Bus",null,null,this.getTagsForStencil(a,"service bus","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Software_as_a_Service.svg;",.16*b,.1325*b,"","Software as a Service",null,null,this.getTagsForStencil(a,"software service",
+"azure integration ").join(" ")),this.createVertexTemplateEntry(c+"SQL_Data_Warehouses.svg;",.16*b,.1625*b,"","SQL Data Warehouses",null,null,this.getTagsForStencil(a,"sql data warehouses","azure integration ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/storage/Data_Box_Edge.svg;",.17*b,.1218*b,"","Stack Edge",null,null,this.getTagsForStencil(a,"stack edge","azure integration ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/storage/StorSimple_Device_Managers.svg;",
+.175*b,.16*b,"","StorSimple Device Managers",null,null,this.getTagsForStencil(a,"storsimple device managers","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"System_Topic.svg;",.17*b,.15*b,"","System Topic",null,null,this.getTagsForStencil(a,"system topic","azure integration ").join(" "))];this.addPalette("azure2Integration","Azure / Integration",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2InternetOfThingsPalette=
+function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"Digital_Twins.svg;",.17*b,.1725*b,"","Digital Twins",null,null,this.getTagsForStencil(a,"digital twins","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Logic_Apps.svg;",.17*b,.17*b,"","Logic Apps",null,null,this.getTagsForStencil(a,"logic apps","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Time_Series_Insights_Access_Policies.svg;",.105*b,.17*b,"","Time Series Insights Access Policies",
+null,null,this.getTagsForStencil(a,"time series insights access policies","azure iot internet of things ").join(" "))];this.addPalette("azure2Internet of Things","Azure / Internet of Things",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2IntunePalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"Azure_AD_Roles_and_Administrators.svg;",.16*b,.16*b,"","AD Roles and Administrators",null,null,this.getTagsForStencil(a,"ad roles administrators",
+"azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Client_Apps.svg;",.17*b,.17*b,"","Client Apps",null,null,this.getTagsForStencil(a,"client apps","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Device_Compliance.svg;",.155*b,.17*b,"","Device Compliance",null,null,this.getTagsForStencil(a,"device compliance","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Device_Configuration.svg;",.155*b,.17*b,"","Device Configuration",null,null,this.getTagsForStencil(a,"device configuration",
+"azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Device_Enrollment.svg;",.17*b,.151*b,"","Device Enrollment",null,null,this.getTagsForStencil(a,"device enrollment","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Device_Security_Apple.svg;",.17*b,.1725*b,"","Device Security Apple",null,null,this.getTagsForStencil(a,"device security apple","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Device_Security_Google.svg;",.17*b,.1725*b,"","Device Security Google",null,
+null,this.getTagsForStencil(a,"device security google","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Device_Security_Windows.svg;",.17*b,.17*b,"","Device Security Windows",null,null,this.getTagsForStencil(a,"device security windows","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Devices.svg;",.17*b,.15*b,"","Devices",null,null,this.getTagsForStencil(a,"devices","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"eBooks.svg;",.17*b,.15*b,"","eBooks",null,null,
+this.getTagsForStencil(a,"ebooks","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Exchange_Access.svg;",.14*b,.17*b,"","Exchange Access",null,null,this.getTagsForStencil(a,"exchange access","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Intune.svg;",.17*b,.155*b,"","Intune",null,null,this.getTagsForStencil(a,"intune","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Intune_For_Education.svg;",.17*b,.155*b,"","Intune for Education",null,null,this.getTagsForStencil(a,
+"intune for education","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Mindaro.svg;",.168*b,.17*b,"","Mindaro",null,null,this.getTagsForStencil(a,"mindaro","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Security_Baselines.svg;",.17*b,.17*b,"","Security Baselines",null,null,this.getTagsForStencil(a,"security baselines","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Software_Updates.svg;",.17*b,.15*b,"","Software Updates",null,null,this.getTagsForStencil(a,
+"software updates","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Tenant_Status.svg;",.16*b,.17*b,"","Tenant Status",null,null,this.getTagsForStencil(a,"tenant status","azure intune ").join(" "))];this.addPalette("azure2Intune","Azure / Intune",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2IOTPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/databases/Azure_Cosmos_DB.svg;",
+.17*b,.17*b,"","Cosmos DB",null,null,this.getTagsForStencil(a,"cosmos","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/storage/Azure_Stack_Edge.svg;",.17*b,.12*b,"","Databox Gateway",null,null,this.getTagsForStencil(a,"databox gateway","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Device_Provisioning_Services.svg;",.16*b,.165*b,"","Device Provisioning Services",
+null,null,this.getTagsForStencil(a,"device provisioning services","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Digital_Twins.svg;",.17*b,.17*b,"","Digital Twins",null,null,this.getTagsForStencil(a,"digital twins","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/integration/Event_Grid_Domains.svg;",.1675*b,.15*b,"","Event Grid Subscriptions",null,null,this.getTagsForStencil(a,
+"event grid subscriptions","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/analytics/Event_Hub_Clusters.svg;",.17*b,.1381*b,"","Event Hub Clusters",null,null,this.getTagsForStencil(a,"event hub clusters","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Event_Hubs.svg;",.1675*b,.15*b,"","Event Hubs",null,null,this.getTagsForStencil(a,"event hubs","azure iot internet of things ").join(" ")),
+this.createVertexTemplateEntry(c+"Function_Apps.svg;",.17*b,.15*b,"","Function Apps",null,null,this.getTagsForStencil(a,"function apps","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Industrial_IoT.svg;",.157*b,.17*b,"","Industrial IoT",null,null,this.getTagsForStencil(a,"industrial","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"IoT_Central_Applications.svg;",.15*b,.1725*b,"","IoT Central Applications",null,null,this.getTagsForStencil(a,
+"central applications","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"IoT_Edge.svg;",.17*b,.17*b,"","IoT Edge",null,null,this.getTagsForStencil(a,"edge","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"IoT_Hub.svg;",.16*b,.16*b,"","IoT Hub",null,null,this.getTagsForStencil(a,"hub","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Azure_IoT_Operations.svg;",.17*b,.1606*b,"","IoT Operations",null,null,this.getTagsForStencil(a,
+"operations","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/internet_of_things/Logic_Apps.svg;",.17*b,.17*b,"","Logic Apps",null,null,this.getTagsForStencil(a,"logic apps","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Logic_Apps.svg;",.1675*b,.13*b,"","Logic Apps",null,null,this.getTagsForStencil(a,"logic apps","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/ai_machine_learning/Machine_Learning_Studio_Classic_Web_Services.svg;",
+.17*b,.17*b,"","Machine Learning Studio - Classic Web Services",null,null,this.getTagsForStencil(a,"studio classic web services","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/ai_machine_learning/Machine_Learning_Studio_Web_Service_Plans.svg;",.17*b,.17*b,"","Machine Learning Studio - Web Service Plans",null,null,this.getTagsForStencil(a,"studio web service plans","azure iot internet of things ").join(" ")),
+this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/ai_machine_learning/Machine_Learning_Studio_Workspaces.svg;",.17*b,.17*b,"","Machine Learning Studio - Workspaces",null,null,this.getTagsForStencil(a,"studio workspaces","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Maps_Accounts.svg;",.17*b,.17*b,"","Maps Accounts",null,null,this.getTagsForStencil(a,"maps accounts","azure iot internet of things ").join(" ")),
+this.createVertexTemplateEntry(c+"Notification_Hubs.svg;",.1675*b,.14*b,"","Notification Hubs",null,null,this.getTagsForStencil(a,"notification hubs","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/azure_stack/Azure_Stack.svg;",.1647*b,.17*b,"","Stack",null,null,this.getTagsForStencil(a,"stack","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/iot/Azure_Stack_HCI_Sizer.svg;",
+.17*b,.17*b,"","Stack HCI Sizer",null,null,this.getTagsForStencil(a,"stack hci sizer","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/iot/Stack_HCI_Premium.svg;",.17*b,.17*b,"","Stack HCI Premium",null,null,this.getTagsForStencil(a,"stack hci premium","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Stream_Analytics_Jobs.svg;",.17*b,.145*b,"","Stream Analytics Jobs",
+null,null,this.getTagsForStencil(a,"stream analytics jobs","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Time_Series_Data_Sets.svg;",.128*b,.17*b,"","Time Series Data Sets",null,null,this.getTagsForStencil(a,"time series data sets","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/internet_of_things/Time_Series_Insights_Access_Policies.svg;",.105*b,.17*b,"","Time Series Insights Access Policies",
+null,null,this.getTagsForStencil(a,"time series insights access policies","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Time_Series_Insights_Environments.svg;",.1675*b,.17*b,"","Time Series Insights Environments",null,null,this.getTagsForStencil(a,"time series insights environments","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Time_Series_Insights_Event_Sources.svg;",.1675*b,.17*b,"","Time Series Insights Event Sources",null,null,this.getTagsForStencil(a,
+"time series insights event sources","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Windows10_Core_Services.svg;",.17*b,.17*b,"","Windows10 Core Services",null,null,this.getTagsForStencil(a,"windows10 core services","azure iot internet of things ").join(" "))];this.addPalette("azure2IoT","Azure / IoT",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2ManagementGovernancePalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+
+"Activity_Log.svg;",.14*b,.1675*b,"","Activity Log",null,null,this.getTagsForStencil(a,"activity log","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Advisor.svg;",.165*b,.16*b,"","Advisor",null,null,this.getTagsForStencil(a,"advisor","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Alerts.svg;",.1675*b,.14*b,"","Alerts",null,null,this.getTagsForStencil(a,"alerts","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Application_Insights.svg;",
+.11*b,.1575*b,"","Application Insights",null,null,this.getTagsForStencil(a,"application insights","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Arc.svg;",.1725*b,.13*b,"","Arc",null,null,this.getTagsForStencil(a,"arc","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Arc_Machines.svg;",.1619*b,.17*b,"","Arc Machines",null,null,this.getTagsForStencil(a,"arc machines","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+
+"Automation_Accounts.svg;",.17*b,.17*b,"","Automation Accounts",null,null,this.getTagsForStencil(a,"automation accounts","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Blueprints.svg;",.1625*b,.16*b,"","Blueprints",null,null,this.getTagsForStencil(a,"blueprints","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Compliance.svg;",.13*b,.16*b,"","Compliance",null,null,this.getTagsForStencil(a,"compliance","azure management governance ").join(" ")),
+this.createVertexTemplateEntry(c+"Cost_Management_and_Billing.svg;",.17*b,.17*b,"","Cost Management and Billing",null,null,this.getTagsForStencil(a,"cost management billing","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Customer_Lockbox_for_MS_Azure.svg;",.17*b,.166*b,"","Customer Lockbox for MS Azure",null,null,this.getTagsForStencil(a,"customer lockbox for ms azure","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Diagnostics_Settings.svg;",
+.14*b,.1675*b,"","Diagnostics Settings",null,null,this.getTagsForStencil(a,"diagnostics settings","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Education.svg;",.1675*b,.13*b,"","Education",null,null,this.getTagsForStencil(a,"education","azure management governance ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/other/Intune_Trends.svg;",.142*b,.17*b,"","Intune Trends",null,null,this.getTagsForStencil(a,
+"intune trends","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Lighthouse.svg;",.1475*b,.17*b,"","Lighthouse",null,null,this.getTagsForStencil(a,"lighthouse","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Log_Analytics_Workspaces.svg;",.16*b,.16*b,"","Log Analytics Workspaces",null,null,this.getTagsForStencil(a,"log analytics workspaces","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"MachinesAzureArc.svg;",
+.11*b,.17*b,"","MachinesAzureArc",null,null,this.getTagsForStencil(a,"machines arc","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Managed_Applications_Center.svg;",.17*b,.135*b,"","Managed Applications Center",null,null,this.getTagsForStencil(a,"managed applications center","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Managed_Desktop.svg;",.17*b,.158*b,"","Managed Desktop",null,null,this.getTagsForStencil(a,"managed desktop","azure management governance ").join(" ")),
+this.createVertexTemplateEntry(c+"Metrics.svg;",.15*b,.1625*b,"","Metrics",null,null,this.getTagsForStencil(a,"metrics","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Monitor.svg;",.16*b,.16*b,"","Monitor",null,null,this.getTagsForStencil(a,"monitor","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"My_Customers.svg;",.1725*b,.14*b,"","My Customers",null,null,this.getTagsForStencil(a,"my customers","azure management governance ").join(" ")),
+this.createVertexTemplateEntry(c+"Operation_Log_Classic.svg;",.14*b,.1675*b,"","Operation Log (Classic)",null,null,this.getTagsForStencil(a,"operation log classic","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Policy.svg;",.15*b,.16*b,"","Policy",null,null,this.getTagsForStencil(a,"policy","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Recovery_Services_Vaults.svg;",.1725*b,.15*b,"","Recovery Services Vaults",null,null,this.getTagsForStencil(a,
+"recovery services vaults","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Resource_Graph_Explorer.svg;",.1675*b,.16*b,"","Resource Graph Explorer",null,null,this.getTagsForStencil(a,"resource graph explorer","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Resources_Provider.svg;",.1511*b,.17*b,"","Resources Provider",null,null,this.getTagsForStencil(a,"resources provider","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+
+"Scheduler_Job_Collections.svg;",.17*b,.16*b,"","Scheduler Job Collections",null,null,this.getTagsForStencil(a,"scheduler job collections","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Service_Catalog_MAD.svg;",.14*b,.17*b,"","Service Catalog MAD",null,null,this.getTagsForStencil(a,"service catalog mad","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Service_Providers.svg;",.165*b,.17*b,"","Service Providers",null,null,this.getTagsForStencil(a,
+"service providers","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"solutions.svg;",.16*b,.16*b,"","Solutions",null,null,this.getTagsForStencil(a,"solutions","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Universal_Print.svg;",.17*b,.145*b,"","Universal Print",null,null,this.getTagsForStencil(a,"universal print","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"User_Privacy.svg;",.16*b,.17*b,"","User Privacy",null,
+null,this.getTagsForStencil(a,"user privacy","azure management governance ").join(" "))];this.addPalette("azure2Management Governance","Azure / Management and Governance",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2MenuPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"Keys.svg;",.16*b,.17*b,"","Keys",null,null,this.getTagsForStencil(a,"keys","azure menu ").join(" "))];this.addPalette("azure2Menu","Azure / Menu",
+!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2MigratePalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"Cost_Management_and_Billing.svg;",.17*b,.17*b,"","Cost Management and Billing",null,null,this.getTagsForStencil(a,"cost management billing","azure migrate ").join(" ")),this.createVertexTemplateEntry(c+"Data_Box.svg;",.1775*b,.17*b,"","Data Box",null,null,this.getTagsForStencil(a,"data box","azure migrate ").join(" ")),
+this.createVertexTemplateEntry(c+"Data_Box_Edge.svg;",.1675*b,.12*b,"","Data Box Edge",null,null,this.getTagsForStencil(a,"data box edge","azure migrate ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/databases/Azure_Database_Migration_Services.svg;",.16*b,.1725*b,"","Database Migration Services",null,null,this.getTagsForStencil(a,"migration services","azure migrate ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/storage/Azure_Stack_Edge.svg;",
+.17*b,.12*b,"","Databox Gateway",null,null,this.getTagsForStencil(a,"databox gateway","azure migrate ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Migrate.svg;",.18*b,.11*b,"","Migrate",null,null,this.getTagsForStencil(a,"migrate","azure migrate ").join(" ")),this.createVertexTemplateEntry(c+"Recovery_Services_Vaults.svg;",.1725*b,.15*b,"","Recovery Services Vaults",null,null,this.getTagsForStencil(a,"recovery services vaults","azure migrate ").join(" "))];this.addPalette("azure2Migrate",
+"Azure / Migrate",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2MixedRealityPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"Remote_Rendering.svg;",.17*b,.12*b,"","Remote Rendering",null,null,this.getTagsForStencil(a,"remote rendering","azure mixed reality ").join(" ")),this.createVertexTemplateEntry(c+"Spatial_Anchor_Accounts.svg;",.167*b,.17*b,"","Spatial Anchor Accounts",null,null,this.getTagsForStencil(a,"spatial anchor accounts",
+"azure mixed reality ").join(" "))];this.addPalette("azure2Mixed Reality","Azure / Mixed Reality",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2MobilePalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/app_services/App_Services.svg;",.16*b,.16*b,"","App Services",null,null,this.getTagsForStencil(a,"app services","azure mobile ").join(" ")),
+this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/app_services/Notification_Hubs.svg;",.1675*b,.14*b,"","Notification Hubs",null,null,this.getTagsForStencil(a,"notification hubs","azure mobile ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/analytics/Power_Platform.svg;",.1623*b,.17*b,"","Power Platform",null,null,this.getTagsForStencil(a,"power platform",
+"azure mobile ").join(" "))];this.addPalette("azure2Mobile","Azure / Mobile",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2MonitorPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/management_governance/Activity_Log.svg;",.14*b,.1675*b,"","Activity Log",null,null,this.getTagsForStencil(a,"activity log","azure monitor ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/devops/Application_Insights.svg;",
+.11*b,.1575*b,"","Application Insights",null,null,this.getTagsForStencil(a,"application insights","azure monitor ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/devops/Change_Analysis.svg;",.17*b,.1692*b,"","Change Analysis",null,null,this.getTagsForStencil(a,"change analysis","azure monitor ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/management_governance/Diagnostics_Settings.svg;",
.14*b,.1675*b,"","Diagnostics Settings",null,null,this.getTagsForStencil(a,"diagnostics settings","azure monitor ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/analytics/Log_Analytics_Workspaces.svg;",.16*b,.16*b,"","Log Analytics Workspaces",null,null,this.getTagsForStencil(a,"log analytics workspaces","azure monitor ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/management_governance/Metrics.svg;",
.16*b,.17*b,"","Metrics Advisor",null,null,this.getTagsForStencil(a,"metrics advisor","azure monitor ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/management_governance/Monitor.svg;",.16*b,.16*b,"","Monitor",null,null,this.getTagsForStencil(a,"monitor","azure monitor ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/networking/Network_Watcher.svg;",
.17*b,.17*b,"","Network Watcher",null,null,this.getTagsForStencil(a,"network watcher","azure monitor ").join(" ")),this.createVertexTemplateEntry(c+"SAP_Azure_Monitor.svg;",.175*b,.14*b,"","SAP Azure Monitor",null,null,this.getTagsForStencil(a,"sap monitor","azure monitor ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/general/Scale.svg;",.17*b,.17*b,"","Scale",null,null,this.getTagsForStencil(a,"scale","azure monitor ").join(" ")),
@@ -5598,33 +5597,36 @@ this.createVertexTemplateEntry(c+"Reserved_Capacity.svg;",.145*b,.17*b,"","Reser
.17*b,.1355*b,"","VMWare Solution",null,null,this.getTagsForStencil(a,"vm virtual machine vmware solution","azure other ").join(" ")),this.createVertexTemplateEntry(c+"WAC.svg;",.155*b,.17*b,"","WAC",null,null,this.getTagsForStencil(a,"wac windows admin center","azure other ").join(" ")),this.createVertexTemplateEntry(c+"WAC_Installer.svg;",.17*b,.17*b,"","WAC Installer",null,null,this.getTagsForStencil(a,"wac windows admin center installer","azure other ").join(" ")),this.createVertexTemplateEntry(c+
"Web_App_Database.svg;",.17*b,.17*b,"","Web App Database",null,null,this.getTagsForStencil(a,"web app database","azure other ").join(" ")),this.createVertexTemplateEntry(c+"Web_Jobs.svg;",.165*b,.17*b,"","Web Jobs",null,null,this.getTagsForStencil(a,"web jobs","azure other ").join(" ")),this.createVertexTemplateEntry(c+"Windows_Notification_Services.svg;",.17*b,.17*b,"","Windows Notification Services",null,null,this.getTagsForStencil(a,"windows notification services","azure other ").join(" ")),this.createVertexTemplateEntry(c+
"Windows_Virtual_Desktop.svg;",.17*b,.17*b,"","Windows Virtual Desktop",null,null,this.getTagsForStencil(a,"windows virtual desktop","azure other ").join(" ")),this.createVertexTemplateEntry(c+"Worker_Container_App.svg;",.17*b,.165*b,"","Worker Container App",null,null,this.getTagsForStencil(a,"worker container app","azure other ").join(" ")),this.createVertexTemplateEntry(c+"Workspace_Gateway.svg;",.17*b,.1417*b,"","Workspace Gateway",null,null,this.getTagsForStencil(a,"workspace gateway","azure other ").join(" "))];
-this.addPalette("azure2Other","Azure / Other",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2PreviewPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"Azure_Cloud_Shell.svg;",.17*b,.12*b,"","Cloud Shell",null,null,this.getTagsForStencil(a,"cloud shell","azure preview ").join(" ")),this.createVertexTemplateEntry(c+"IoT_Edge.svg;",.17*b,.1675*b,"","IoT Edge",null,null,this.getTagsForStencil(a,"iot internet of things edge",
-"azure preview ").join(" ")),this.createVertexTemplateEntry(c+"Private_Link_Hub.svg;",.15*b,.1725*b,"","Private Link Hub",null,null,this.getTagsForStencil(a,"private link hub","azure preview ").join(" ")),this.createVertexTemplateEntry(c+"RTOS.svg;",.17*b,.17*b,"","RTOS",null,null,this.getTagsForStencil(a,"rtos","azure preview ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Sphere.svg;",.165*b,.17*b,"","Sphere",null,null,this.getTagsForStencil(a,"sphere","azure preview ").join(" ")),this.createVertexTemplateEntry(c+
-"Static_Apps.svg;",.175*b,.14*b,"","Static Apps",null,null,this.getTagsForStencil(a,"static apps","azure preview ").join(" ")),this.createVertexTemplateEntry(c+"Time_Series_Data_Sets.svg;",.12*b,.16*b,"","Time Series Data Sets",null,null,this.getTagsForStencil(a,"time series data sets","azure preview ").join(" ")),this.createVertexTemplateEntry(c+"Web_Environment.svg;",.16*b,.165*b,"","Web Environment",null,null,this.getTagsForStencil(a,"web environment","azure preview ").join(" ")),this.createVertexTemplateEntry(c+
-"Azure_Workbooks.svg;",.18*b,.18*b,"","Workbooks",null,null,this.getTagsForStencil(a,"workbooks","azure preview ").join(" "))];this.addPalette("azure2Preview","Azure / Preview",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2SecurityPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/identity/Managed_Identities.svg;",.17*b,.165*b,"","AD Authentication Methods",
-null,null,this.getTagsForStencil(a,"ad authentication methods","azure security ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/identity/Azure_AD_Identity_Protection.svg;",.17*b,.17*b,"","AD Identity Protection",null,null,this.getTagsForStencil(a,"ad identity protection","azure security ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/identity/PIM.svg;",
-.15*b,.17*b,"","AD Privileged Identity Management",null,null,this.getTagsForStencil(a,"ad privileged identity management","azure security ").join(" ")),this.createVertexTemplateEntry(c+"Azure_AD_Risky_Signins.svg;",.1694*b,.17*b,"","AD Risky Signins",null,null,this.getTagsForStencil(a,"ad risky signins","azure security ").join(" ")),this.createVertexTemplateEntry(c+"Azure_AD_Risky_Users.svg;",.17*b,.17*b,"","AD Risky Users",null,null,this.getTagsForStencil(a,"ad risky users","azure security ").join(" ")),
-this.createVertexTemplateEntry(c+"Application_Security_Groups.svg;",.14*b,.17*b,"","Application Security Groups",null,null,this.getTagsForStencil(a,"application security groups","azure security ").join(" ")),this.createVertexTemplateEntry(c+"Conditional_Access.svg;",.14*b,.17*b,"","Conditional Access",null,null,this.getTagsForStencil(a,"conditional access","azure security ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Defender.svg;",.14*b,.17*b,"","Defender",null,null,this.getTagsForStencil(a,
-"defender","azure security ").join(" ")),this.createVertexTemplateEntry(c+"Detonation.svg;",.165*b,.17*b,"","Detonation",null,null,this.getTagsForStencil(a,"detonation","azure security ").join(" ")),this.createVertexTemplateEntry(c+"ExtendedSecurityUpdates.svg;",.16*b,.175*b,"","Extended Security Updates",null,null,this.getTagsForStencil(a,"extended security updates","azure security ").join(" ")),this.createVertexTemplateEntry(c+"Identity_Secure_Score.svg;",.1548*b,.17*b,"","Identity Secure Score",
-null,null,this.getTagsForStencil(a,"identity secure score","azure security ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/identity/Azure_Information_Protection.svg;",.128*b,.17*b,"","Information Protection",null,null,this.getTagsForStencil(a,"information protection","azure security ").join(" ")),this.createVertexTemplateEntry(c+"Key_Vaults.svg;",.17*b,.17*b,"","Key Vaults",null,null,this.getTagsForStencil(a,"key vaults",
-"azure security ").join(" ")),this.createVertexTemplateEntry(c+"Keys.svg;",.18*b,.19*b,"","Keys",null,null,this.getTagsForStencil(a,"keys","azure security ").join(" ")),this.createVertexTemplateEntry(c+"MS_Defender_EASM.svg;",.1386*b,.17*b,"","MS Defender EASM",null,null,this.getTagsForStencil(a,"ms defender easm","azure security ").join(" ")),this.createVertexTemplateEntry(c+"Multifactor_Authentication.svg;",.1385*b,.17*b,"","Multifactor Authentication",null,null,this.getTagsForStencil(a,"multifactor authentication",
-"azure security ").join(" ")),this.createVertexTemplateEntry(c+"Security_Center.svg;",.14*b,.17*b,"","Security Center",null,null,this.getTagsForStencil(a,"security center","azure security ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Sentinel.svg;",.14*b,.17*b,"","Sentinel",null,null,this.getTagsForStencil(a,"sentinel","azure security ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/identity/User_Settings.svg;",
-.17*b,.1423*b,"","User Settings",null,null,this.getTagsForStencil(a,"user settings","azure security ").join(" "))];this.addPalette("azure2Security","Azure / Security",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2StoragePalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"Data_Box.svg;",.1775*b,.17*b,"","Data Box",null,null,this.getTagsForStencil(a,"data box","azure storage ").join(" ")),this.createVertexTemplateEntry(c+
-"Data_Box_Edge.svg;",.1675*b,.12*b,"","Data Box Edge",null,null,this.getTagsForStencil(a,"data box edge","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Data_Lake_Storage_Gen1.svg;",.16*b,.13*b,"","Data Lake Storage Gen1",null,null,this.getTagsForStencil(a,"data lake storage gen1","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Data_Share_Invitations.svg;",.17*b,.112*b,"","Data Share Invitations",null,null,this.getTagsForStencil(a,"data share invitations","azure storage ").join(" ")),
-this.createVertexTemplateEntry(c+"Data_Shares.svg;",.16*b,.1375*b,"","Data Shares",null,null,this.getTagsForStencil(a,"data shares","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Fileshare.svg;",.17*b,.17*b,"","Fileshare",null,null,this.getTagsForStencil(a,"fileshare","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Azure_HCP_Cache.svg;",.17*b,.1575*b,"","HCP Cache",null,null,this.getTagsForStencil(a,"hcp cache","azure storage ").join(" ")),this.createVertexTemplateEntry(c+
-"Import_Export_Jobs.svg;",.16*b,.1675*b,"","Import Export Jobs",null,null,this.getTagsForStencil(a,"import export jobs","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Azure_NetApp_Files.svg;",.1625*b,.13*b,"","NetApp Files",null,null,this.getTagsForStencil(a,"netapp files","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Recovery_Services_Vaults.svg;",.1725*b,.15*b,"","Recovery Services Vaults",null,null,this.getTagsForStencil(a,"recovery services vaults","azure storage ").join(" ")),
-this.createVertexTemplateEntry(c+"Azure_Stack_Edge.svg;",.17*b,.12*b,"","Stack Edge",null,null,this.getTagsForStencil(a,"stack edge","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Storage_Accounts.svg;",.1625*b,.13*b,"","Storage Accounts",null,null,this.getTagsForStencil(a,"storage accounts","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Storage_Accounts_Classic.svg;",.1625*b,.13*b,"","Storage Accounts (Classic)",null,null,this.getTagsForStencil(a,"storage accounts classic",
-"azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Storage_Explorer.svg;",.146*b,.17*b,"","Storage Explorer",null,null,this.getTagsForStencil(a,"storage explorer","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Storage_Sync_Services.svg;",.18*b,.15*b,"","Storage Sync Services",null,null,this.getTagsForStencil(a,"storage sync services","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"StorSimple_Data_Managers.svg;",.12*b,.16*b,"","StorSimple Data Managers",null,
-null,this.getTagsForStencil(a,"storsimple data managers","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"StorSimple_Device_Managers.svg;",.175*b,.16*b,"","StorSimple Device Managers",null,null,this.getTagsForStencil(a,"storsimple device managers","azure storage ").join(" "))];this.addPalette("azure2Storage","Azure / Storage",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2WebPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+
-"API_Center.svg;",.17*b,.17*b,"","API Center",null,null,this.getTagsForStencil(a,"api center","azure web ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/devops/API_Connections.svg;",.17*b,.1133*b,"","API Connections",null,null,this.getTagsForStencil(a,"api connections application programming interface","azure web ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/app_services/API_Management_Services.svg;",
-.17*b,.1575*b,"","API Management Services",null,null,this.getTagsForStencil(a,"api application programming interface management services","azure web ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/app_services/App_Service_Certificates.svg;",.17*b,.155*b,"","App Service Certificates",null,null,this.getTagsForStencil(a,"app service certificates","azure web ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/app_services/App_Service_Domains.svg;",
-.17*b,.1375*b,"","App Service Domains",null,null,this.getTagsForStencil(a,"app service domains","azure web ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/app_services/App_Service_Environments.svg;",.17*b,.17*b,"","App Service Environments",null,null,this.getTagsForStencil(a,"app service environments","azure web ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/app_services/App_Service_Plans.svg;",
-.17*b,.17*b,"","App Service Plans",null,null,this.getTagsForStencil(a,"app service plans","azure web ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/app_services/App_Services.svg;",.17*b,.17*b,"","App Services",null,null,this.getTagsForStencil(a,"app services","azure web ").join(" ")),this.createVertexTemplateEntry(c+"App_Space.svg;",.17*b,.17*b,"","App Space",null,null,this.getTagsForStencil(a,"app space","azure web ").join(" ")),
-this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/app_services/Search_Services.svg;",.17*b,.1228*b,"","Cognitive Search",null,null,this.getTagsForStencil(a,"cognitive search","azure web ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/ai_machine_learning/Cognitive_Services.svg;",.17*b,.12*b,"","Cognitive Services",null,null,this.getTagsForStencil(a,"cognitive services",
-"azure web ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/networking/Front_Doors.svg;",.17*b,.15*b,"","Front Door and CDN Profiles",null,null,this.getTagsForStencil(a,"front door and cdn profiles","azure web ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Media_Service.svg;",.17*b,.17*b,"","Media Service",null,null,this.getTagsForStencil(a,"media service","azure web ").join(" ")),this.createVertexTemplateEntry(c+
-"Notification_Hub_Namespaces.svg;",.1675*b,.14*b,"","Notification Hub Namespaces",null,null,this.getTagsForStencil(a,"notification hub namespaces","azure web ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/analytics/Power_Platform.svg;",.1623*b,.17*b,"","Power Platform",null,null,this.getTagsForStencil(a,"power platform","azure web ").join(" ")),this.createVertexTemplateEntry(c+"SignalR.svg;",.17*b,.17*b,"","SignalR",
-null,null,this.getTagsForStencil(a,"signalr","azure web ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/compute/Azure_Spring_Cloud.svg;",.17*b,.17*b,"","Spring Apps",null,null,this.getTagsForStencil(a,"spring apps","azure web ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/preview/Static_Apps.svg;",.17*b,.135*b,"","Static Apps",null,null,this.getTagsForStencil(a,
-"static apps","azure web ").join(" "))];this.addPalette("azure2Web","Azure / Web",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))}})();(function(){Sidebar.prototype.addBasicPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;html=1;shape=mxgraph.basic.";this.setCurrentSearchEntryLibrary("basic");this.addPaletteFunctions("basic",mxResources.get("basic"),!1,[this.createVertexTemplateEntry(a+"rect;fillColor2=none;strokeWidth=1;size=20;indent=5;",120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;top=0;bottom=0;fillColor=none;",
+this.addPalette("azure2Other","Azure / Other",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2PowerPlatformPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"AIBuilder.svg;",.17*b,.17*b,"","AI Builder",null,null,this.getTagsForStencil(a,"ai artificial intelligence builder","azure power platform ").join(" ")),this.createVertexTemplateEntry(c+"CopilotStudio.svg;",.17*b,.1558*b,"","Copilot Studio",null,null,this.getTagsForStencil(a,
+"copilot studio","azure power platform ").join(" ")),this.createVertexTemplateEntry(c+"Dataverse.svg;",.17*b,.131*b,"","Dataverse",null,null,this.getTagsForStencil(a,"dataverse","azure power platform ").join(" ")),this.createVertexTemplateEntry(c+"PowerApps.svg;",.17*b,.1629*b,"","PowerApps",null,null,this.getTagsForStencil(a,"powerapps power apps","azure power platform ").join(" ")),this.createVertexTemplateEntry(c+"PowerAutomate.svg;",.17*b,.1346*b,"","PowerAutomate",null,null,this.getTagsForStencil(a,
+"powerautomate power automate","azure power platform ").join(" ")),this.createVertexTemplateEntry(c+"PowerBI.svg;",.1275*b,.17*b,"","PowerBI",null,null,this.getTagsForStencil(a,"powerbi power bi","azure power platform ").join(" ")),this.createVertexTemplateEntry(c+"PowerFx.svg;",.17*b,.1623*b,"","PowerFx",null,null,this.getTagsForStencil(a,"powerfx power fx effects","azure power platform ").join(" ")),this.createVertexTemplateEntry(c+"PowerPages.svg;",.17*b,.17*b,"","PowerPages",null,null,this.getTagsForStencil(a,
+"powerpages power pages","azure power platform ").join(" ")),this.createVertexTemplateEntry(c+"PowerPlatform.svg;",.1608*b,.17*b,"","PowerPlatform",null,null,this.getTagsForStencil(a,"powerplatform power platform","azure power platform ").join(" "))];this.addPalette("azure2Power Platform","Azure / Power Platform",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2PreviewPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+
+"Azure_Cloud_Shell.svg;",.17*b,.12*b,"","Cloud Shell",null,null,this.getTagsForStencil(a,"cloud shell","azure preview ").join(" ")),this.createVertexTemplateEntry(c+"IoT_Edge.svg;",.17*b,.1675*b,"","IoT Edge",null,null,this.getTagsForStencil(a,"iot internet of things edge","azure preview ").join(" ")),this.createVertexTemplateEntry(c+"Private_Link_Hub.svg;",.15*b,.1725*b,"","Private Link Hub",null,null,this.getTagsForStencil(a,"private link hub","azure preview ").join(" ")),this.createVertexTemplateEntry(c+
+"RTOS.svg;",.17*b,.17*b,"","RTOS",null,null,this.getTagsForStencil(a,"rtos","azure preview ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Sphere.svg;",.165*b,.17*b,"","Sphere",null,null,this.getTagsForStencil(a,"sphere","azure preview ").join(" ")),this.createVertexTemplateEntry(c+"Static_Apps.svg;",.175*b,.14*b,"","Static Apps",null,null,this.getTagsForStencil(a,"static apps","azure preview ").join(" ")),this.createVertexTemplateEntry(c+"Time_Series_Data_Sets.svg;",.12*b,.16*b,"","Time Series Data Sets",
+null,null,this.getTagsForStencil(a,"time series data sets","azure preview ").join(" ")),this.createVertexTemplateEntry(c+"Web_Environment.svg;",.16*b,.165*b,"","Web Environment",null,null,this.getTagsForStencil(a,"web environment","azure preview ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Workbooks.svg;",.18*b,.18*b,"","Workbooks",null,null,this.getTagsForStencil(a,"workbooks","azure preview ").join(" "))];this.addPalette("azure2Preview","Azure / Preview",!1,mxUtils.bind(this,function(f){for(var g=
+0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2SecurityPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/identity/Managed_Identities.svg;",.17*b,.165*b,"","AD Authentication Methods",null,null,this.getTagsForStencil(a,"ad authentication methods","azure security ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/identity/Azure_AD_Identity_Protection.svg;",
+.17*b,.17*b,"","AD Identity Protection",null,null,this.getTagsForStencil(a,"ad identity protection","azure security ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/identity/PIM.svg;",.15*b,.17*b,"","AD Privileged Identity Management",null,null,this.getTagsForStencil(a,"ad privileged identity management","azure security ").join(" ")),this.createVertexTemplateEntry(c+"Azure_AD_Risky_Signins.svg;",.1694*b,.17*b,"","AD Risky Signins",
+null,null,this.getTagsForStencil(a,"ad risky signins","azure security ").join(" ")),this.createVertexTemplateEntry(c+"Azure_AD_Risky_Users.svg;",.17*b,.17*b,"","AD Risky Users",null,null,this.getTagsForStencil(a,"ad risky users","azure security ").join(" ")),this.createVertexTemplateEntry(c+"Application_Security_Groups.svg;",.14*b,.17*b,"","Application Security Groups",null,null,this.getTagsForStencil(a,"application security groups","azure security ").join(" ")),this.createVertexTemplateEntry(c+"Conditional_Access.svg;",
+.14*b,.17*b,"","Conditional Access",null,null,this.getTagsForStencil(a,"conditional access","azure security ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Defender.svg;",.14*b,.17*b,"","Defender",null,null,this.getTagsForStencil(a,"defender","azure security ").join(" ")),this.createVertexTemplateEntry(c+"Detonation.svg;",.165*b,.17*b,"","Detonation",null,null,this.getTagsForStencil(a,"detonation","azure security ").join(" ")),this.createVertexTemplateEntry(c+"ExtendedSecurityUpdates.svg;",
+.16*b,.175*b,"","Extended Security Updates",null,null,this.getTagsForStencil(a,"extended security updates","azure security ").join(" ")),this.createVertexTemplateEntry(c+"Identity_Secure_Score.svg;",.1548*b,.17*b,"","Identity Secure Score",null,null,this.getTagsForStencil(a,"identity secure score","azure security ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/identity/Azure_Information_Protection.svg;",.128*b,.17*b,"",
+"Information Protection",null,null,this.getTagsForStencil(a,"information protection","azure security ").join(" ")),this.createVertexTemplateEntry(c+"Key_Vaults.svg;",.17*b,.17*b,"","Key Vaults",null,null,this.getTagsForStencil(a,"key vaults","azure security ").join(" ")),this.createVertexTemplateEntry(c+"Keys.svg;",.18*b,.19*b,"","Keys",null,null,this.getTagsForStencil(a,"keys","azure security ").join(" ")),this.createVertexTemplateEntry(c+"MS_Defender_EASM.svg;",.1386*b,.17*b,"","MS Defender EASM",
+null,null,this.getTagsForStencil(a,"ms defender easm","azure security ").join(" ")),this.createVertexTemplateEntry(c+"Multifactor_Authentication.svg;",.1385*b,.17*b,"","Multifactor Authentication",null,null,this.getTagsForStencil(a,"multifactor authentication","azure security ").join(" ")),this.createVertexTemplateEntry(c+"Security_Center.svg;",.14*b,.17*b,"","Security Center",null,null,this.getTagsForStencil(a,"security center","azure security ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Sentinel.svg;",
+.14*b,.17*b,"","Sentinel",null,null,this.getTagsForStencil(a,"sentinel","azure security ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/identity/User_Settings.svg;",.17*b,.1423*b,"","User Settings",null,null,this.getTagsForStencil(a,"user settings","azure security ").join(" "))];this.addPalette("azure2Security","Azure / Security",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2StoragePalette=
+function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"Data_Box.svg;",.1775*b,.17*b,"","Data Box",null,null,this.getTagsForStencil(a,"data box","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Data_Box_Edge.svg;",.1675*b,.12*b,"","Data Box Edge",null,null,this.getTagsForStencil(a,"data box edge","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Data_Lake_Storage_Gen1.svg;",.16*b,.13*b,"","Data Lake Storage Gen1",null,null,this.getTagsForStencil(a,"data lake storage gen1",
+"azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Data_Share_Invitations.svg;",.17*b,.112*b,"","Data Share Invitations",null,null,this.getTagsForStencil(a,"data share invitations","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Data_Shares.svg;",.16*b,.1375*b,"","Data Shares",null,null,this.getTagsForStencil(a,"data shares","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Fileshare.svg;",.17*b,.17*b,"","Fileshare",null,null,this.getTagsForStencil(a,
+"fileshare","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Azure_HCP_Cache.svg;",.17*b,.1575*b,"","HCP Cache",null,null,this.getTagsForStencil(a,"hcp cache","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Import_Export_Jobs.svg;",.16*b,.1675*b,"","Import Export Jobs",null,null,this.getTagsForStencil(a,"import export jobs","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Azure_NetApp_Files.svg;",.1625*b,.13*b,"","NetApp Files",null,null,this.getTagsForStencil(a,
+"netapp files","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Recovery_Services_Vaults.svg;",.1725*b,.15*b,"","Recovery Services Vaults",null,null,this.getTagsForStencil(a,"recovery services vaults","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Stack_Edge.svg;",.17*b,.12*b,"","Stack Edge",null,null,this.getTagsForStencil(a,"stack edge","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Storage_Accounts.svg;",.1625*b,.13*b,"","Storage Accounts",null,
+null,this.getTagsForStencil(a,"storage accounts","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Storage_Accounts_Classic.svg;",.1625*b,.13*b,"","Storage Accounts (Classic)",null,null,this.getTagsForStencil(a,"storage accounts classic","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Storage_Explorer.svg;",.146*b,.17*b,"","Storage Explorer",null,null,this.getTagsForStencil(a,"storage explorer","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Storage_Sync_Services.svg;",
+.18*b,.15*b,"","Storage Sync Services",null,null,this.getTagsForStencil(a,"storage sync services","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"StorSimple_Data_Managers.svg;",.12*b,.16*b,"","StorSimple Data Managers",null,null,this.getTagsForStencil(a,"storsimple data managers","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"StorSimple_Device_Managers.svg;",.175*b,.16*b,"","StorSimple Device Managers",null,null,this.getTagsForStencil(a,"storsimple device managers",
+"azure storage ").join(" "))];this.addPalette("azure2Storage","Azure / Storage",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2WebPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"API_Center.svg;",.17*b,.17*b,"","API Center",null,null,this.getTagsForStencil(a,"api center","azure web ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/devops/API_Connections.svg;",
+.17*b,.1133*b,"","API Connections",null,null,this.getTagsForStencil(a,"api connections application programming interface","azure web ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/app_services/API_Management_Services.svg;",.17*b,.1575*b,"","API Management Services",null,null,this.getTagsForStencil(a,"api application programming interface management services","azure web ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/app_services/App_Service_Certificates.svg;",
+.17*b,.155*b,"","App Service Certificates",null,null,this.getTagsForStencil(a,"app service certificates","azure web ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/app_services/App_Service_Domains.svg;",.17*b,.1375*b,"","App Service Domains",null,null,this.getTagsForStencil(a,"app service domains","azure web ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/app_services/App_Service_Environments.svg;",
+.17*b,.17*b,"","App Service Environments",null,null,this.getTagsForStencil(a,"app service environments","azure web ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/app_services/App_Service_Plans.svg;",.17*b,.17*b,"","App Service Plans",null,null,this.getTagsForStencil(a,"app service plans","azure web ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/app_services/App_Services.svg;",
+.17*b,.17*b,"","App Services",null,null,this.getTagsForStencil(a,"app services","azure web ").join(" ")),this.createVertexTemplateEntry(c+"App_Space.svg;",.17*b,.17*b,"","App Space",null,null,this.getTagsForStencil(a,"app space","azure web ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/app_services/Search_Services.svg;",.17*b,.1228*b,"","Cognitive Search",null,null,this.getTagsForStencil(a,"cognitive search","azure web ").join(" ")),
+this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/ai_machine_learning/Cognitive_Services.svg;",.17*b,.12*b,"","Cognitive Services",null,null,this.getTagsForStencil(a,"cognitive services","azure web ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/networking/Front_Doors.svg;",.17*b,.15*b,"","Front Door and CDN Profiles",null,null,this.getTagsForStencil(a,"front door and cdn profiles",
+"azure web ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Media_Service.svg;",.17*b,.17*b,"","Media Service",null,null,this.getTagsForStencil(a,"media service","azure web ").join(" ")),this.createVertexTemplateEntry(c+"Notification_Hub_Namespaces.svg;",.1675*b,.14*b,"","Notification Hub Namespaces",null,null,this.getTagsForStencil(a,"notification hub namespaces","azure web ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/analytics/Power_Platform.svg;",
+.1623*b,.17*b,"","Power Platform",null,null,this.getTagsForStencil(a,"power platform","azure web ").join(" ")),this.createVertexTemplateEntry(c+"SignalR.svg;",.17*b,.17*b,"","SignalR",null,null,this.getTagsForStencil(a,"signalr","azure web ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/compute/Azure_Spring_Cloud.svg;",.17*b,.17*b,"","Spring Apps",null,null,this.getTagsForStencil(a,"spring apps","azure web ").join(" ")),
+this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/preview/Static_Apps.svg;",.17*b,.135*b,"","Static Apps",null,null,this.getTagsForStencil(a,"static apps","azure web ").join(" "))];this.addPalette("azure2Web","Azure / Web",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))}})();(function(){Sidebar.prototype.addBasicPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;html=1;shape=mxgraph.basic.";this.setCurrentSearchEntryLibrary("basic");this.addPaletteFunctions("basic",mxResources.get("basic"),!1,[this.createVertexTemplateEntry(a+"rect;fillColor2=none;strokeWidth=1;size=20;indent=5;",120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;top=0;bottom=0;fillColor=none;",
120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;right=0;top=0;bottom=0;fillColor=none;routingCenterX=-0.5;",120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;bottom=0;right=0;fillColor=none;",120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;top=0;left=0;fillColor=none;",120,60,"","Partial Rectangle"),this.createVertexTemplateEntry(a+
"polygon;polyCoords=[[0.25,0],[0.75,0],[1,0.25],[1,0.75],[0.75,1],[0.25,1],[0,0.75],[0,0.25]];polyline=0;",100,100,"","Polygon",null,null,this.getTagsForStencil("mxgraph.basic","polygon","").join(" ")),this.createVertexTemplateEntry(a+"polygon;polyCoords=[[0.25,0],[0.75,0],[1,0.25],[1,0.75],[0.75,1],[0.25,1],[0,0.75],[0,0.25]];polyline=1;fillColor=none;",100,100,"","Polyline",null,null,this.getTagsForStencil("mxgraph.basic","polyline","").join(" ")),this.createVertexTemplateEntry(a+"patternFillRect;fillStyle=diag;step=5;fillStrokeWidth=0.2;fillStrokeColor=#dddddd;",
120,60,"","Rectangle with diagonal fill"),this.createVertexTemplateEntry(a+"patternFillRect;fillStyle=diagRev;step=5;fillStrokeWidth=0.2;fillStrokeColor=#dddddd;",120,60,"","Rectangle with reverse diagonal fill"),this.createVertexTemplateEntry(a+"patternFillRect;fillStyle=vert;step=5;fillStrokeWidth=0.2;fillStrokeColor=#dddddd;",120,60,"","Rectangle with vertical fill"),this.createVertexTemplateEntry(a+"patternFillRect;fillStyle=hor;step=5;fillStrokeWidth=0.2;fillStrokeColor=#dddddd;",120,60,"","Rectangle with horizontal fill"),
@@ -6929,7 +6931,20 @@ null,null,this.getTagsForStencil("mxgraph.flowchart","information data carrier s
100,50,"","Entity",null,null,this.getTagsForStencil("mxgraph.flowchart","entity","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("shape=cloud;whiteSpace=wrap;html=1;",120,120,"","Object",null,null,this.getTagsForStencil("mxgraph.flowchart","object","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("shape=ellipse;html=1;dashed=0;whiteSpace=wrap;perimeter=ellipsePerimeter;",100,50,"","Oval Process",null,null,this.getTagsForStencil("mxgraph.flowchart","oval process",
"dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("shape=cylinder;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;",60,80,"","Data Store",null,null,this.getTagsForStencil("mxgraph.flowchart","data store","dfd data flow diagram ").join(" ")),this.addEntry("dfd data flow diagram external entity",function(){var b=new mxCell("",new mxGeometry(0,0,100,100),"html=1;dashed=0;whiteSpace=wrap;shape=mxgraph.dfd.externalEntity");b.vertex=!0;var d=new mxCell("Id",new mxGeometry(0,0,
20,20),"autosize=1;part=1;resizable=0;strokeColor=inherit;fillColor=inherit;gradientColor=inherit;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(15,15);d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"External Entity")}),this.createVertexTemplateEntry("html=1;dashed=0;whiteSpace=wrap;shape=mxgraph.dfd.loop",80,30,"","Loop",null,null,this.getTagsForStencil("mxgraph.flowchart","loop","dfd data flow diagram ").join(" ")),this.createEdgeTemplateEntry("endArrow=classic;html=1;",
-50,50,"","Directional Connector",null,"dfd data flow diagram directional directed")]);this.setCurrentSearchEntryLibrary()}})();(function(){Sidebar.prototype.addEipPalette=function(){this.setCurrentSearchEntryLibrary("eip","eipMessage Construction");this.addEipMessageConstructionPalette();this.setCurrentSearchEntryLibrary("eip","eipMessage Routing");this.addEipMessageRoutingPalette();this.setCurrentSearchEntryLibrary("eip","eipMessage Transformation");this.addEipMessageTransformationPalette();this.setCurrentSearchEntryLibrary("eip","eipMessaging Channels");this.addEipMessagingChannelsPalette();this.setCurrentSearchEntryLibrary("eip",
+50,50,"","Directional Connector",null,"dfd data flow diagram directional directed")]);this.setCurrentSearchEntryLibrary()}})();(function(){Sidebar.prototype.addDynamics365Palette=function(){this.setCurrentSearchEntryLibrary("dynamics365","dynamics365App");this.addDynamics365AppPalette("dynamics365",400,this,"image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/dynamics365/");this.setCurrentSearchEntryLibrary("dynamics365","dynamics365Mixed Reality");this.addDynamics365MixedRealityPalette("dynamics365",400,this,"image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/dynamics365/");
+this.setCurrentSearchEntryLibrary("dynamics365","dynamics365Product Family");this.addDynamics365ProductFamilyPalette("dynamics365",400,this,"image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/dynamics365/");this.setCurrentSearchEntryLibrary("dynamics365","dynamics365Sub App");this.addDynamics365SubAppPalette("dynamics365",400,this,"image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/dynamics365/");this.setCurrentSearchEntryLibrary()};Sidebar.prototype.addDynamics365AppPalette=
+function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"BusinessCentral.svg;",.17*b,.17*b,"","Business Central",null,null,this.getTagsForStencil(a,"business central","app ").join(" ")),this.createVertexTemplateEntry(c+"Commerce.svg;",.17*b,.1488*b,"","Commerce",null,null,this.getTagsForStencil(a,"commerce","app ").join(" ")),this.createVertexTemplateEntry(c+"ConnectedStore.svg;",.17*b,.17*b,"","Connected Store",null,null,this.getTagsForStencil(a,"connected store","app ").join(" ")),this.createVertexTemplateEntry(c+
+"CoreHR.svg;",.17*b,.17*b,"","Core HR",null,null,this.getTagsForStencil(a,"core hr human resources","app ").join(" ")),this.createVertexTemplateEntry(c+"CustomerInsights.svg;",.17*b,.17*b,"","Customer Insights",null,null,this.getTagsForStencil(a,"customer insights","app ").join(" ")),this.createVertexTemplateEntry(c+"CustomerService.svg;",.17*b,.1488*b,"","Customer Service",null,null,this.getTagsForStencil(a,"customer service","app ").join(" ")),this.createVertexTemplateEntry(c+"CustomerServiceInsights.svg;",
+.17*b,.17*b,"","Customer Service Insights",null,null,this.getTagsForStencil(a,"customer service insights","app ").join(" ")),this.createVertexTemplateEntry(c+"CustomerVoice.svg;",.17*b,.17*b,"","Customer Voice",null,null,this.getTagsForStencil(a,"customer voice","app ").join(" ")),this.createVertexTemplateEntry(c+"FieldService.svg;",.17*b,.1594*b,"","Field Service",null,null,this.getTagsForStencil(a,"field service","app ").join(" ")),this.createVertexTemplateEntry(c+"Finance.svg;",.17*b,.168*b,"",
+"Finance",null,null,this.getTagsForStencil(a,"finance","app ").join(" ")),this.createVertexTemplateEntry(c+"Finance_Operations.svg;",.1381*b,.17*b,"","Finance Operations",null,null,this.getTagsForStencil(a,"finance operations","app ").join(" ")),this.createVertexTemplateEntry(c+"FraudProtection.svg;",.1503*b,.17*b,"","Fraud Protection",null,null,this.getTagsForStencil(a,"fraud protection","app ").join(" ")),this.createVertexTemplateEntry(c+"IntelligentOrderManagement.svg;",.17*b,.17*b,"","Intelligent Order Management",
+null,null,this.getTagsForStencil(a,"intelligent order management","app ").join(" ")),this.createVertexTemplateEntry(c+"Marketing.svg;",.17*b,.17*b,"","Marketing",null,null,this.getTagsForStencil(a,"marketing","app ").join(" ")),this.createVertexTemplateEntry(c+"Product_Insights.svg;",.17*b,.1488*b,"","Product Insights",null,null,this.getTagsForStencil(a,"product insights","app ").join(" ")),this.createVertexTemplateEntry(c+"ProjectServiceAutomation.svg;",.17*b,.1587*b,"","Project Service Automation",
+null,null,this.getTagsForStencil(a,"project service automation","app ").join(" ")),this.createVertexTemplateEntry(c+"Sales.svg;",.17*b,.17*b,"","Sales",null,null,this.getTagsForStencil(a,"sales","app ").join(" ")),this.createVertexTemplateEntry(c+"SupplyChainManagement.svg;",.17*b,.1488*b,"","Supply Chain Management",null,null,this.getTagsForStencil(a,"supply chain management","app ").join(" ")),this.createVertexTemplateEntry(c+"SustainabilityCalculator.svg;",.17*b,.17*b,"","Sustainability Calculator",
+null,null,this.getTagsForStencil(a,"sustainability calculator","app ").join(" ")),this.createVertexTemplateEntry(c+"TalentAttract.svg;",.1381*b,.17*b,"","Talent Attract",null,null,this.getTagsForStencil(a,"talent attract","app ").join(" ")),this.createVertexTemplateEntry(c+"TalentOnboard.svg;",.17*b,.17*b,"","Talent Onboard",null,null,this.getTagsForStencil(a,"talent onboard","app ").join(" "))];this.addPalette("dynamics365App","Dynamics365 / App",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};
+Sidebar.prototype.addDynamics365MixedRealityPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"ImportTool.svg;",.1503*b,.17*b,"","Import Tool",null,null,this.getTagsForStencil(a,"import tool","mixed reality ").join(" ")),this.createVertexTemplateEntry(c+"Layout.svg;",.1519*b,.17*b,"","Layout",null,null,this.getTagsForStencil(a,"layout","mixed reality ").join(" ")),this.createVertexTemplateEntry(c+"MRPortal.svg;",.17*b,.1558*b,"","MR Portal",null,null,this.getTagsForStencil(a,"mr portal",
+"mixed reality ").join(" ")),this.createVertexTemplateEntry(c+"ProductVisualize.svg;",.17*b,.17*b,"","Product Visualize",null,null,this.getTagsForStencil(a,"product visualize","mixed reality ").join(" ")),this.createVertexTemplateEntry(c+"RemoteAssist.svg;",.1503*b,.17*b,"","Remote Assist",null,null,this.getTagsForStencil(a,"remote assist","mixed reality ").join(" ")),this.createVertexTemplateEntry(c+"VoiceAssistant.svg;",.1519*b,.17*b,"","Voice Assistant",null,null,this.getTagsForStencil(a,"voice assistant",
+"mixed reality ").join(" "))];this.addPalette("dynamics365Mixed Reality","Dynamics365 / Mixed Reality",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addDynamics365ProductFamilyPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"Dynamics365.svg;",.1253*b,.17*b,"","Dynamics 365",null,null,this.getTagsForStencil(a,"dynamics 365","product family ").join(" "))];this.addPalette("dynamics365Product Family","Dynamics365 / Product Family",
+!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addDynamics365SubAppPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"ProjectTimesheet.svg;",.17*b,.1629*b,"","Project Timesheet",null,null,this.getTagsForStencil(a,"project timesheet","sub app ").join(" ")),this.createVertexTemplateEntry(c+"ReturnToSchool.svg;",.17*b,.1665*b,"","Return To School",null,null,this.getTagsForStencil(a,"return to school","sub app ").join(" ")),this.createVertexTemplateEntry(c+
+"ReturnToWork.svg;",.17*b,.1558*b,"","Return To Work",null,null,this.getTagsForStencil(a,"return to work","sub app ").join(" ")),this.createVertexTemplateEntry(c+"SCMWarehousing.svg;",.17*b,.17*b,"","SCM Warehousing",null,null,this.getTagsForStencil(a,"scm warehousing","sub app ").join(" "))];this.addPalette("dynamics365Sub App","Dynamics365 / Sub App",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))}})();(function(){Sidebar.prototype.addEipPalette=function(){this.setCurrentSearchEntryLibrary("eip","eipMessage Construction");this.addEipMessageConstructionPalette();this.setCurrentSearchEntryLibrary("eip","eipMessage Routing");this.addEipMessageRoutingPalette();this.setCurrentSearchEntryLibrary("eip","eipMessage Transformation");this.addEipMessageTransformationPalette();this.setCurrentSearchEntryLibrary("eip","eipMessaging Channels");this.addEipMessagingChannelsPalette();this.setCurrentSearchEntryLibrary("eip",
"eipMessaging Endpoints");this.addEipMessagingEndpointsPalette();this.setCurrentSearchEntryLibrary("eip","eipMessaging Systems");this.addEipMessagingSystemsPalette();this.setCurrentSearchEntryLibrary("eip","eipSystem Management");this.addEipSystemManagementPalette();this.setCurrentSearchEntryLibrary()};Sidebar.prototype.addEipMessageConstructionPalette=function(a){var b=this,d=[this.createEdgeTemplateEntry("edgeStyle=none;html=1;strokeColor=#808080;endArrow=block;endSize=10;dashed=0;verticalAlign=bottom;strokeWidth=2;",
160,0,"","Pipe",null,this.getTagsForStencil("mxgraph.eip","","eip enterprise integration pattern message construction pipe").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;dashed=0;align=center;fontSize=8;shape=rect;fillColor=#c0f5a9;verticalLabelPosition=bottom;verticalAlign=top;html=1;",150,90,"","Filter",null,null,this.getTagsForStencil("mxgraph.eip","","eip enterprise integration pattern message construction filter").join(" ")),this.addEntry("eip enterprise integration pattern message construction command message",
function(){var c=new mxCell("",new mxGeometry(0,0,12,12),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=ellipse;fillColor=#808080;strokeColor=none;");c.vertex=!0;var e=new mxCell("C",new mxGeometry(16,18,12,12),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=rect;fillColor=#FF8080;fontStyle=1;whiteSpace=wrap;html=1;");e.vertex=!0;var f=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=0;exitY=0.5;endArrow=none;dashed=0;html=1;strokeColor=#808080;strokeWidth=2;");
@@ -8861,11 +8876,11 @@ a,a,"","Dependency",null,d+"dependency"),this.createEdgeTemplateEntry("html=1;la
b,d,c,e,f,g,h,k,l){var m=this,n=a.replace("\n"," ");n=n.replace("- ","-");c.push(this.addEntry(d,function(){var p=new mxCell(n,new mxGeometry(0,0,e,e),"shape=ellipse;fillColor="+g+";aspect=fixed;resizable=0;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeColor="+h+";fontSize=14;");p.vertex=!0;var q=new mxCell("",new mxGeometry(0,0,f,f),"fillColor="+k+";strokeColor="+l+";dashed=0;outlineConnect=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;part=1;movable=0;resizable=0;rotatable=0;shape=mxgraph.ibm_cloud."+
b);q.geometry.relative=!0;q.geometry.offset=new mxPoint(.5*(e-f),.5*(e-f));q.vertex=!0;p.insert(q);return m.createVertexTemplateFromCells([p],p.geometry.width,p.geometry.height,a,!1)}))};Sidebar.prototype.addIBMCloudPrescribedNode=function(a,b,d,c,e,f,g,h,k,l){var m=this,n=a.replace("\n"," ");n=n.replace("- ","-");c.push(this.addEntry(d,function(){var p=new mxCell(n,new mxGeometry(0,0,e,e),"shape=rect;fillColor="+g+";aspect=fixed;resizable=0;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeColor="+
h+";fontSize=14;");p.vertex=!0;var q=new mxCell("",new mxGeometry(0,0,f,f),"fillColor="+k+";strokeColor="+l+";dashed=0;outlineConnect=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;part=1;movable=0;resizable=0;rotatable=0;shape=mxgraph.ibm_cloud."+b);q.geometry.relative=!0;q.geometry.offset=new mxPoint(.5*(e-f),.5*(e-f));q.vertex=!0;p.insert(q);return m.createVertexTemplateFromCells([p],p.geometry.width,p.geometry.height,a,!1)}))};Sidebar.prototype.addIBMCloudPrescribedNodeExpanded=
-function(a,b,d,c,e,f,g,h,k,l,m,n){var p=this,q=a.replace("\n"," ");q=q.replace("- ","-");c.push(this.addEntry(d,function(){var t=new mxCell("",new mxGeometry(0,0,220,140),"container=1;collapsible=0;expand=0;recursiveResize=0;html=1;whiteSpace=wrap;image=;strokeColor="+n+";fillColor="+m+";");t.vertex=!0;var v=new mxCell(a,new mxGeometry(0,0,e,e),"shape=rect;fillColor="+g+";aspect=fixed;resizable=0;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;strokeColor="+h+";part=1;spacingLeft=5;fontSize=14;");
+function(a,b,d,c,e,f,g,h,k,l,m,n){var p=this,q=a.replace("\n"," ");q=q.replace("- ","-");c.push(this.addEntry(d,function(){var t=new mxCell("",new mxGeometry(0,0,220,140),"container=1;collapsible=0;expand=0;recursiveResize=0;html=1;whiteSpace=wrap;strokeColor="+n+";fillColor="+m+";");t.vertex=!0;var v=new mxCell(a,new mxGeometry(0,0,e,e),"shape=rect;fillColor="+g+";aspect=fixed;resizable=0;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;strokeColor="+h+";part=1;spacingLeft=5;fontSize=14;");
v.vertex=!0;v.geometry.relative=!0;t.insert(v);var u=new mxCell("",new mxGeometry(0,0,f,f),"fillColor="+k+";shape=mxgraph.ibm_cloud."+b+";strokeColor="+l+";dashed=0;outlineConnect=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;part=1;movable=0;resizable=0;rotatable=0;");u.geometry.relative=!0;u.geometry.offset=new mxPoint(.5*(e-f),.5*(e-f));u.vertex=!0;v.insert(u);return p.createVertexTemplateFromCells([t],t.geometry.width,t.geometry.height,a)}))};Sidebar.prototype.addIBMCloudPrescribedLocation=
-function(a,b,d,c,e,f,g,h,k,l,m,n,p,q){var t=this,v=a.replace("\n"," ");v=v.replace("- ","-");c.push(this.addEntry(d+"prescribed location",function(){var u=new mxCell("",new mxGeometry(0,0,220,140),"container=1;collapsible=0;expand=0;recursiveResize=0;html=1;whiteSpace=wrap;image=;strokeColor="+n+";fillColor="+m+";strokeWidth="+q);u.vertex=!0;if(!p){var w=new mxCell(a,new mxGeometry(0,0,e,e),"shape=rect;fillColor=none;aspect=fixed;resizable=0;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;strokeColor=none;part=1;spacingLeft=5;fontSize=14;");
+function(a,b,d,c,e,f,g,h,k,l,m,n,p,q){var t=this,v=a.replace("\n"," ");v=v.replace("- ","-");c.push(this.addEntry(d+"prescribed location",function(){var u=new mxCell("",new mxGeometry(0,0,220,140),"container=1;collapsible=0;expand=0;recursiveResize=0;html=1;whiteSpace=wrap;strokeColor="+n+";fillColor="+m+";strokeWidth="+q);u.vertex=!0;if(!p){var w=new mxCell(a,new mxGeometry(0,0,e,e),"shape=rect;fillColor=none;aspect=fixed;resizable=0;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;strokeColor=none;part=1;spacingLeft=5;fontSize=14;");
w.vertex=!0;w.geometry.relative=!0;u.insert(w)}var r=new mxCell(p?a:"",new mxGeometry(0,0,4,e),"shape=rect;fillColor="+g+";aspect=fixed;resizable=0;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;strokeColor="+h+";part=1;spacingLeft=5;fontSize=14;");r.vertex=!0;r.geometry.relative=!0;u.insert(r);p||(r=new mxCell("",new mxGeometry(0,0,f,f),"fillColor="+k+";shape=mxgraph.ibm_cloud."+b+";strokeColor="+l+";dashed=0;outlineConnect=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;part=1;movable=0;resizable=0;rotatable=0;"),
-r.geometry.relative=!0,r.geometry.offset=new mxPoint(.5*(e-f),.5*(e-f)),r.vertex=!0,w.insert(r));return t.createVertexTemplateFromCells([u],u.geometry.width,u.geometry.height,a)}))};Sidebar.prototype.addIBMCloudZone=function(a,b,d,c,e,f,g,h,k,l,m,n,p,q){var t=this;g=a.replace("\n"," ");g=g.replace("- ","-");c.push(this.addEntry(d+"zone",function(){var v=new mxCell("",new mxGeometry(0,0,220,140),"container=1;collapsible=0;expand=0;recursiveResize=0;html=1;whiteSpace=wrap;image=;strokeColor="+n+";fillColor="+
+r.geometry.relative=!0,r.geometry.offset=new mxPoint(.5*(e-f),.5*(e-f)),r.vertex=!0,w.insert(r));return t.createVertexTemplateFromCells([u],u.geometry.width,u.geometry.height,a)}))};Sidebar.prototype.addIBMCloudZone=function(a,b,d,c,e,f,g,h,k,l,m,n,p,q){var t=this;g=a.replace("\n"," ");g=g.replace("- ","-");c.push(this.addEntry(d+"zone",function(){var v=new mxCell("",new mxGeometry(0,0,220,140),"container=1;collapsible=0;expand=0;recursiveResize=0;html=1;whiteSpace=wrap;strokeColor="+n+";fillColor="+
m+";dashed=1;dashPattern=1 3;strokeWidth="+q);v.vertex=!0;if(p){var u=new mxCell(a,new mxGeometry(0,0,e,e),"shape=rect;fillColor=none;aspect=fixed;resizable=0;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;strokeColor=none;part=1;spacingLeft=-42;fontSize=14;");u.vertex=!0;u.geometry.relative=!0;v.insert(u)}else{u=new mxCell(a,new mxGeometry(0,0,e,e),"shape=rect;fillColor=none;aspect=fixed;resizable=0;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;strokeColor=none;part=1;spacingLeft=5;fontSize=14;");
u.vertex=!0;u.geometry.relative=!0;v.insert(u);var w=new mxCell("",new mxGeometry(0,0,f,f),"fillColor="+k+";shape=mxgraph.ibm_cloud."+b+";strokeColor="+l+";dashed=0;outlineConnect=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;part=1;movable=0;resizable=0;rotatable=0;");w.geometry.relative=!0;w.geometry.offset=new mxPoint(.5*(e-f),.5*(e-f));w.vertex=!0;u.insert(w)}return t.createVertexTemplateFromCells([v],v.geometry.width,v.geometry.height,a)}))}})();(function(){Sidebar.prototype.addInfographicPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;html=1;shape=mxgraph.infographic.",b=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;html=1;shape=mxgraph.basic.";this.setCurrentSearchEntryLibrary("infographic");this.addPaletteFunctions("infographic","Infographic",!1,[this.createVertexTemplateEntry(b+"pie;fillColor=#10739E;strokeColor=none;startAngle=0.2;endAngle=0.9;",
100,100,"","Pie",null,null,this.getTagsForStencil("mxgraph.infographic","pie","").join(" ")),this.createVertexTemplateEntry(b+"arc;strokeColor=#10739E;strokeWidth=6;startAngle=0.3;endAngle=0.1;",100,100,"","Arc",null,null,this.getTagsForStencil("mxgraph.infographic","arc","").join(" ")),this.createVertexTemplateEntry(b+"partConcEllipse;fillColor=#10739E;strokeColor=none;startAngle=0.25;endAngle=0.1;arcWidth=0.5;",100,100,"","Partial Concentric Ellipse",null,null,this.getTagsForStencil("mxgraph.infographic",
@@ -10082,7 +10097,15 @@ this.createVertexTemplateEntry("sketch=0;pointerEvents=1;shadow=0;dashed=0;html=
57,43,"","Users, Two (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.users","users two","office user ").join(" ")),this.createVertexTemplateEntry("sketch=0;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.user_accounts;",59,59,"","User Accounts",null,null,this.getTagsForStencil("mxgraph.office.users","user accounts","office user ").join(" ")),
this.createVertexTemplateEntry("sketch=0;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.user_external;",59,50,"","User External",null,null,this.getTagsForStencil("mxgraph.office.users","user external","office user ").join(" ")),this.createVertexTemplateEntry("sketch=0;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.user_services;",
59,59,"","User Services",null,null,this.getTagsForStencil("mxgraph.office.users","user services","office user ").join(" ")),this.createVertexTemplateEntry("sketch=0;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.user_store;",50,55,"","User Store",null,null,this.getTagsForStencil("mxgraph.office.users","user store","office user ").join(" ")),this.createVertexTemplateEntry("sketch=0;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.writer;",
-54,59,"","Writer",null,null,this.getTagsForStencil("mxgraph.office.users","writer","office user ").join(" "))];this.addPalette("officeUsers","Office / Users",!1,mxUtils.bind(this,function(b){for(var d=0;d<a.length;d++)b.appendChild(a[d](b))}))}})();(function(){Sidebar.prototype.addPidPalette=function(a,b){this.setCurrentSearchEntryLibrary("pid","pidInstruments");this.addPidInstrumentsPalette();this.setCurrentSearchEntryLibrary("pid","pidMisc");this.addPidMiscPalette();this.setCurrentSearchEntryLibrary("pid","pidValves");this.addPidValvesPalette();this.setCurrentSearchEntryLibrary("pid","pidCompressors");this.addPidCompressorsPalette();this.setCurrentSearchEntryLibrary("pid","pidEngines");this.addPidEnginesPalette();this.setCurrentSearchEntryLibrary("pid",
+54,59,"","Writer",null,null,this.getTagsForStencil("mxgraph.office.users","writer","office user ").join(" "))];this.addPalette("officeUsers","Office / Users",!1,mxUtils.bind(this,function(b){for(var d=0;d<a.length;d++)b.appendChild(a[d](b))}))}})();(function(){Sidebar.prototype.addOpenStackPalette=function(){this.setCurrentSearchEntryLibrary("openstack","openstackBlue");this.addOpenStackGenericPalette(50,50,"aspect=fixed;sketch=0;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;outlineConnect=0;verticalAlign=top;align=center;shape=mxgraph.openstack.","mxgraph.openstack","openstack open stack ","3F51B5","Blue");this.setCurrentSearchEntryLibrary("openstack","openstackGrey");this.addOpenStackGenericPalette(50,
+50,"aspect=fixed;sketch=0;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;outlineConnect=0;verticalAlign=top;align=center;shape=mxgraph.openstack.","mxgraph.openstack","openstack open stack ","808080","Grey");this.setCurrentSearchEntryLibrary("openstack","openstackGreen");this.addOpenStackGenericPalette(50,50,"aspect=fixed;sketch=0;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;outlineConnect=0;verticalAlign=top;align=center;shape=mxgraph.openstack.",
+"mxgraph.openstack","openstack open stack ","008000","Green");this.setCurrentSearchEntryLibrary("openstack","openstackRed");this.addOpenStackGenericPalette(50,50,"aspect=fixed;sketch=0;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;outlineConnect=0;verticalAlign=top;align=center;shape=mxgraph.openstack.","mxgraph.openstack","openstack open stack ","C82128","Red");this.setCurrentSearchEntryLibrary()};Sidebar.prototype.addOpenStackGenericPalette=
+function(a,b,d,c,e,f,g){d="fillColor=#"+f+";"+d;e=e+g.toLowerCase()+" ";var h=[this.createVertexTemplateEntry(d+"cinder_volume;",a,b,"","Cinder Volume",null,null,this.getTagsForStencil(c,"cinder volume",e).join(" ")),this.createVertexTemplateEntry(d+"cinder_volumeattachment;",a,b,"","Cinder VolumeAttachment",null,null,this.getTagsForStencil(c,"cinder volumeattachment volume attachment",e).join(" ")),this.createVertexTemplateEntry(d+"designate_recordset;",a,b,"","Designate RecordSet",null,null,this.getTagsForStencil(c,
+"designate recordset record set",e).join(" ")),this.createVertexTemplateEntry(d+"designate_zone;",a,b,"","Designate Zone",null,null,this.getTagsForStencil(c,"designate zone",e).join(" ")),this.createVertexTemplateEntry(d+"heat_autoscalinggroup;",a,b,"","Heat AutoScalingGroup",null,null,this.getTagsForStencil(c,"heat autoscalinggroup auto scaling group autoscaling",e).join(" ")),this.createVertexTemplateEntry(d+"heat_resourcegroup;",a,b,"","Heat ResourceGroup",null,null,this.getTagsForStencil(c,"heat resourcegroup resource group",
+e).join(" ")),this.createVertexTemplateEntry(d+"heat_scalingpolicy;",a,b,"","Heat ScalingPolicy",null,null,this.getTagsForStencil(c,"heat scalingpolicy scaling policy",e).join(" ")),this.createVertexTemplateEntry(d+"neutron_floatingip;",a,b,"","Neutron FloatingIP",null,null,this.getTagsForStencil(c,"neutron floatingip floating ip",e).join(" ")),this.createVertexTemplateEntry(d+"neutron_floatingipassociation;",a,b,"","Neutron FloatingIPAssociation",null,null,this.getTagsForStencil(c,"neutron floatingipassociation floatingip floating ip association",
+e).join(" ")),this.createVertexTemplateEntry(d+"neutron_net;",a,b,"","Neutron Net",null,null,this.getTagsForStencil(c,"neutron net",e).join(" ")),this.createVertexTemplateEntry(d+"neutron_port;",a,b,"","Neutron Port",null,null,this.getTagsForStencil(c,"neutron port",e).join(" ")),this.createVertexTemplateEntry(d+"neutron_router;",a,b,"","Neutron Router",null,null,this.getTagsForStencil(c,"neutron router",e).join(" ")),this.createVertexTemplateEntry(d+"neutron_routerinterface;",a,b,"","Neutron RouterInterface",
+null,null,this.getTagsForStencil(c,"neutron routerinterface router interface",e).join(" ")),this.createVertexTemplateEntry(d+"neutron_securitygroup;",a,b,"","Neutron SecurityGroup",null,null,this.getTagsForStencil(c,"neutron securitygroup security group",e).join(" ")),this.createVertexTemplateEntry(d+"neutron_subnet;",a,b,"","Neutron Subnet",null,null,this.getTagsForStencil(c,"neutron subnet",e).join(" ")),this.createVertexTemplateEntry(d+"nova_keypair;",a,b,"","Nova Keypair",null,null,this.getTagsForStencil(c,
+"nova keypair",e).join(" ")),this.createVertexTemplateEntry(d+"nova_server;",a,b,"","Nova Server",null,null,this.getTagsForStencil(c,"nova server",e).join(" ")),this.createVertexTemplateEntry(d+"swift_container;",a,b,"","Swift Container",null,null,this.getTagsForStencil(c,"swift container",e).join(" "))];this.addPalette("openstack"+g,"OpenStack / "+g,!1,mxUtils.bind(this,function(k){for(var l=0;l<h.length;l++)k.appendChild(h[l](k))}))}})();(function(){Sidebar.prototype.addPidPalette=function(a,b){this.setCurrentSearchEntryLibrary("pid","pidInstruments");this.addPidInstrumentsPalette();this.setCurrentSearchEntryLibrary("pid","pidMisc");this.addPidMiscPalette();this.setCurrentSearchEntryLibrary("pid","pidValves");this.addPidValvesPalette();this.setCurrentSearchEntryLibrary("pid","pidCompressors");this.addPidCompressorsPalette();this.setCurrentSearchEntryLibrary("pid","pidEngines");this.addPidEnginesPalette();this.setCurrentSearchEntryLibrary("pid",
"pidFilters");this.addPidFiltersPalette();this.setCurrentSearchEntryLibrary("pid","pidFlow Sensors");this.addPidFlowSensorsPalette();this.setCurrentSearchEntryLibrary("pid","pidPiping");this.addPidPipingPalette();this.setCurrentSearchEntryLibrary("pid","pidCrushers Grinding");this.addPidCrushersGrindingPalette();this.setCurrentSearchEntryLibrary("pid","pidFittings");this.addPidFittingsPalette();this.setCurrentSearchEntryLibrary("pid","pidFittings");this.addPidSeparatorsPalette();for(var d="Instruments;Misc;Valves;Compressors;Engines;Filters;Flow Sensors;Piping;Crushers Grinding;Fittings;Separators".split(";"),
c=0;c<a.length;c++)0>mxUtils.indexOf(d,a[c])&&(this.setCurrentSearchEntryLibrary("pid","pid"+a[c]),this.addStencilPalette("pid"+a[c],"Proc. Eng. / "+a[c],b+"/pid/"+a[c].toLowerCase().replace(" ","_")+".xml",";html=1;pointerEvents=1;align=center;"+mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;dashed=0;",null,null,null,null,null,"pid"));this.setCurrentSearchEntryLibrary()};Sidebar.prototype.addPidInstrumentsPalette=function(){var a="html=1;outlineConnect=0;align=center;dashed=0;aspect=fixed;"+
mxConstants.STYLE_SHAPE+"=mxgraph.pid2",b="html=1;outlineConnect=0;align=center;dashed=0;"+mxConstants.STYLE_SHAPE+"=mxgraph.pid2";this.addPaletteFunctions("pidInstruments","Proc. Eng. / Instruments",!1,[this.createVertexTemplateEntry(a+"inst.discInst;mounting=room",50,50,'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> ',"Discrete Instrument (control room)",null,null,this.getTagsForStencil("mxgraph.pid2inst",
@@ -10563,19 +10586,18 @@ this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;vert
50*a,50*a,"","Identity Directory",null,null,this.getTagsForStencil(b,"identity directory","sap foundation ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Cloud_Identity_Service",50*a,50*a,"","SAP Cloud Identity Service",null,null,this.getTagsForStencil(b,"identity cloud service",
"sap foundation ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Authorization_Management_Service",50*a,50*a,"","SAP Authorization Management Service",null,null,this.getTagsForStencil(b,"authorization management service","sap foundation ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Automation_Pilot",
50*a,50*a,"","SAP Automation Pilot",null,null,this.getTagsForStencil(b,"automation pilot","sap foundation ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Continuous_Integration_and_Delivery",50*a,50*a,"","SAP Continuous Integration and Delivery",null,null,this.getTagsForStencil(b,
-"continuous integration and delivery","sap foundation ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Cloud_Transport_Management",50*a,50*a,"","SAP Cloud Transport Management",null,null,this.getTagsForStencil(b,"cloud transport management","sap foundation ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=Identity_Provisioning2",
-50*a,50*a,"","Identity Provisioning",null,null,this.getTagsForStencil(b,"identity provisioning","sap foundation ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Private_Link_service",50*a,50*a,"","SAP Private Link service",null,null,this.getTagsForStencil(b,"private link service",
-"sap foundation ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=Identity_Directory",50*a,50*a,"","Identity Directory",null,null,this.getTagsForStencil(b,"identity directory","sap foundation ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=Identity_Provisioning",
-50*a,50*a,"","Identity Provisioning",null,null,this.getTagsForStencil(b,"identity provisioning","sap foundation ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=Identity_Authentication",50*a,50*a,"","Identity Authentication",null,null,this.getTagsForStencil(b,"identity authentication",
-"sap foundation ").join(" "))])};Sidebar.prototype.addSAPIntegrationSuitePalette=function(a,b,d){this.addPaletteFunctions("sapIntegration Suite","SAP / Integration Suite",!1,[this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Integration_Suite_-_Advanced_Event_Mesh",50*a,50*a,"","Advanced Event Mesh",
-null,null,this.getTagsForStencil(b,"advanced event mesh","sap btp service icons integration suite ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Integration_Suite_-_API_Managment",50*a,50*a,"","API Managment",null,null,this.getTagsForStencil(b,"api application programming interface managment",
-"sap btp service icons integration suite ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Integration_Suite_-_Cloud_Integration",50*a,50*a,"","Cloud Integration",null,null,this.getTagsForStencil(b,"cloud integration","sap btp service icons integration suite ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Integration_Suite_-_Data_Space_Integration",
-50*a,50*a,"","Data Space Integration",null,null,this.getTagsForStencil(b,"data space integration","sap btp service icons integration suite ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Integration_Suite_-_Event_Mesh",50*a,50*a,"","Event Mesh",null,null,this.getTagsForStencil(b,
-"event mesh","sap btp service icons integration suite ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Integration_Suite_-_Integration_Advisor",50*a,50*a,"","Integration Advisor",null,null,this.getTagsForStencil(b,"integration advisor","sap btp service icons integration suite ").join(" ")),
-this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Integration_Suite_-_Integration_Assessment",50*a,50*a,"","Integration Assessment",null,null,this.getTagsForStencil(b,"integration assessment","sap btp service icons integration suite ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Integration_Suite_-_Migration_Assessment",
-50*a,50*a,"","Migration Assessment",null,null,this.getTagsForStencil(b,"migration assessment","sap btp service icons integration suite ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Integration_Suite_-_Open_Connectors",50*a,50*a,"","Open Connectors",null,null,this.getTagsForStencil(b,
-"open connectors","sap btp service icons integration suite ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=Edge_Integration_Cell",50*a,50*a,"","Edge Integration Cell",null,null,this.getTagsForStencil(b,"edge integration cell","sap btp service icons integration suite ").join(" ")),
-this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Integration_Suite_-_SAP_Graph",50*a,50*a,"","SAP Graph",null,null,this.getTagsForStencil(b,"graph","sap btp service icons integration suite ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Integration_Suite_-_Trading_Partner_Management",
+"continuous integration and delivery","sap foundation ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Cloud_Transport_Management",50*a,50*a,"","SAP Cloud Transport Management",null,null,this.getTagsForStencil(b,"cloud transport management","sap foundation ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Private_Link_service",
+50*a,50*a,"","SAP Private Link service",null,null,this.getTagsForStencil(b,"private link service","sap foundation ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=Identity_Directory",50*a,50*a,"","Identity Directory",null,null,this.getTagsForStencil(b,"identity directory","sap foundation ").join(" ")),
+this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=Identity_Provisioning",50*a,50*a,"","Identity Provisioning",null,null,this.getTagsForStencil(b,"identity provisioning","sap foundation ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=Identity_Authentication",
+50*a,50*a,"","Identity Authentication",null,null,this.getTagsForStencil(b,"identity authentication","sap foundation ").join(" "))])};Sidebar.prototype.addSAPIntegrationSuitePalette=function(a,b,d){this.addPaletteFunctions("sapIntegration Suite","SAP / Integration Suite",!1,[this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Integration_Suite_-_Advanced_Event_Mesh",
+50*a,50*a,"","Advanced Event Mesh",null,null,this.getTagsForStencil(b,"advanced event mesh","sap btp service icons integration suite ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Integration_Suite_-_API_Managment",50*a,50*a,"","API Managment",null,null,this.getTagsForStencil(b,
+"api application programming interface managment","sap btp service icons integration suite ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Integration_Suite_-_Cloud_Integration",50*a,50*a,"","Cloud Integration",null,null,this.getTagsForStencil(b,"cloud integration","sap btp service icons integration suite ").join(" ")),
+this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Integration_Suite_-_Data_Space_Integration",50*a,50*a,"","Data Space Integration",null,null,this.getTagsForStencil(b,"data space integration","sap btp service icons integration suite ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Integration_Suite_-_Event_Mesh",
+50*a,50*a,"","Event Mesh",null,null,this.getTagsForStencil(b,"event mesh","sap btp service icons integration suite ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Integration_Suite_-_Integration_Advisor",50*a,50*a,"","Integration Advisor",null,null,this.getTagsForStencil(b,"integration advisor",
+"sap btp service icons integration suite ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Integration_Suite_-_Integration_Assessment",50*a,50*a,"","Integration Assessment",null,null,this.getTagsForStencil(b,"integration assessment","sap btp service icons integration suite ").join(" ")),
+this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Integration_Suite_-_Migration_Assessment",50*a,50*a,"","Migration Assessment",null,null,this.getTagsForStencil(b,"migration assessment","sap btp service icons integration suite ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Integration_Suite_-_Open_Connectors",
+50*a,50*a,"","Open Connectors",null,null,this.getTagsForStencil(b,"open connectors","sap btp service icons integration suite ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=Edge_Integration_Cell",50*a,50*a,"","Edge Integration Cell",null,null,this.getTagsForStencil(b,"edge integration cell",
+"sap btp service icons integration suite ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Integration_Suite_-_SAP_Graph",50*a,50*a,"","SAP Graph",null,null,this.getTagsForStencil(b,"graph","sap btp service icons integration suite ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Integration_Suite_-_Trading_Partner_Management",
50*a,50*a,"","Trading Partner Management",null,null,this.getTagsForStencil(b,"trading partner management","sap btp service icons integration suite ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Integration_Suite",50*a,50*a,"","SAP Integration Suite",null,null,this.getTagsForStencil(b,
"integration suite","sap btp service icons integration suite ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Business_Accelerator_Hub",50*a,50*a,"","SAP_Business_Accelerator_Hub",null,null,this.getTagsForStencil(b,"business accelerator hub","sap btp service icons integration suite ").join(" ")),
this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=API_Business_Hub_Enterprise",50*a,50*a,"","API Business Hub Enterprise",null,null,this.getTagsForStencil(b,"api application programming interface business hub enterprise","sap btp service icons integration suite ").join(" "))])};Sidebar.prototype.addSAPAppDevAutomationPalette=
@@ -12941,7 +12963,7 @@ ChangePageSetup.prototype.execute=function(){null==this.page&&(this.page=this.ui
null!=this.shadowVisible&&(this.page.viewState.shadowVisible=this.shadowVisible)}}else C.apply(this,arguments),null!=this.mathEnabled&&this.mathEnabled!=this.ui.isMathEnabled()&&(this.ui.setMathEnabled(this.mathEnabled),this.mathEnabled=!this.mathEnabled),null!=this.shadowVisible&&this.shadowVisible!=this.ui.editor.graph.shadowVisible&&(this.ui.editor.graph.setShadowVisible(this.shadowVisible),this.shadowVisible=!this.shadowVisible)};Editor.prototype.useCanvasForExport=!1;try{var M=document.createElement("canvas"),
S=new Image;S.onload=function(){try{M.getContext("2d").drawImage(S,0,0);var l=M.toDataURL("image/png");Editor.prototype.useCanvasForExport=null!=l&&6<l.length}catch(x){}};S.src="data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1px" height="1px" version="1.1"><foreignObject pointer-events="all" width="1" height="1"><div xmlns="http://www.w3.org/1999/xhtml"></div></foreignObject></svg>')))}catch(l){}Editor.prototype.useCanvasForExport=
!1})();(function(){var b=new mxObjectCodec(new ChangePageSetup,["ui","previousColor","previousImage","previousFormat"]);b.beforeDecode=function(e,f,c){c.ui=e.ui;return f};b.afterDecode=function(e,f,c){c.previousColor=c.color;c.previousImage=c.image;c.previousFormat=c.format;null!=c.foldingEnabled&&(c.foldingEnabled=!c.foldingEnabled);null!=c.mathEnabled&&(c.mathEnabled=!c.mathEnabled);null!=c.shadowVisible&&(c.shadowVisible=!c.shadowVisible);return c};mxCodecRegistry.register(b)})();
-(function(){var b=new mxObjectCodec(new ChangeGridColor,["ui"]);b.beforeDecode=function(e,f,c){c.ui=e.ui;return f};mxCodecRegistry.register(b)})();(function(){EditorUi.VERSION="24.8.6";EditorUi.compactUi="atlas"!=Editor.currentTheme||window.DRAWIO_PUBLIC_BUILD;Editor.isDarkMode()&&(mxGraphView.prototype.gridColor=mxGraphView.prototype.defaultDarkGridColor);EditorUi.enableLogging="1"!=urlParams.stealth&&"1"!=urlParams.lockdown&&(/.*\.draw\.io$/.test(window.location.hostname)||/.*\.diagrams\.net$/.test(window.location.hostname))&&"https://preprod.diagrams.net/"!=window.location.hostname&&"support.draw.io"!=window.location.hostname;EditorUi.drawHost=
+(function(){var b=new mxObjectCodec(new ChangeGridColor,["ui"]);b.beforeDecode=function(e,f,c){c.ui=e.ui;return f};mxCodecRegistry.register(b)})();(function(){EditorUi.VERSION="24.8.9";EditorUi.compactUi="atlas"!=Editor.currentTheme||window.DRAWIO_PUBLIC_BUILD;Editor.isDarkMode()&&(mxGraphView.prototype.gridColor=mxGraphView.prototype.defaultDarkGridColor);EditorUi.enableLogging="1"!=urlParams.stealth&&"1"!=urlParams.lockdown&&(/.*\.draw\.io$/.test(window.location.hostname)||/.*\.diagrams\.net$/.test(window.location.hostname))&&"https://preprod.diagrams.net/"!=window.location.hostname&&"support.draw.io"!=window.location.hostname;EditorUi.drawHost=
window.DRAWIO_BASE_URL;EditorUi.lightboxHost=window.DRAWIO_LIGHTBOX_URL;EditorUi.lastErrorMessage=null;EditorUi.ignoredAnonymizedChars="\n\t`~!@#$%^&*()_+{}|:\"<>?-=[];'./,\n\t";EditorUi.templateFile=TEMPLATE_PATH+"/index.xml";EditorUi.cacheUrl=window.REALTIME_URL;null==EditorUi.cacheUrl&&"undefined"!==typeof DrawioFile&&(DrawioFile.SYNC="none");Editor.cacheTimeout=1E4;EditorUi.enablePlantUml=EditorUi.enableLogging;EditorUi.isElectronApp=null!=window&&null!=window.process&&null!=window.process.versions&&
null!=window.process.versions.electron;EditorUi.nativeFileSupport=!mxClient.IS_OP&&!EditorUi.isElectronApp&&"1"!=urlParams.extAuth&&"showSaveFilePicker"in window&&"showOpenFilePicker"in window;EditorUi.enableDrafts=!mxClient.IS_CHROMEAPP&&isLocalStorage&&"0"!=urlParams.drafts;EditorUi.scratchpadHelpLink="https://www.drawio.com/doc/faq/scratchpad";EditorUi.enableHtmlEditOption=!0;EditorUi.mermaidDiagramTypes="flowchart classDiagram sequenceDiagram stateDiagram mindmap graph erDiagram requirementDiagram journey gantt pie gitGraph".split(" ");
EditorUi.defaultMermaidConfig={theme:"neutral",arrowMarkerAbsolute:!1,flowchart:{htmlLabels:!1},sequence:{diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,mirrorActors:!0,bottomMarginAdj:1,useMaxWidth:!0,rightAngles:!1,showSequenceNumbers:!1},gantt:{titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,leftPadding:75,gridLineStartPadding:35,fontSize:11,fontFamily:'"Open-Sans", "sans-serif"',numberSectionStyles:4,axisFormat:"%Y-%m-%d"}};
diff --git a/src/main/webapp/js/integrate.min.js b/src/main/webapp/js/integrate.min.js
index 77d55c57c..6593550b7 100644
--- a/src/main/webapp/js/integrate.min.js
+++ b/src/main/webapp/js/integrate.min.js
@@ -1,7 +1,7 @@
//fgnass.github.com/spin.js#v2.0.0
!function(a,b){"object"==typeof exports?module.exports=b():"function"==typeof define&&define.amd?define(b):a.Spinner=b()}(this,function(){"use strict";function a(a,b){var c,d=document.createElement(a||"div");for(c in b)d[c]=b[c];return d}function b(a){for(var b=1,c=arguments.length;c>b;b++)a.appendChild(arguments[b]);return a}function c(a,b,c,d){var e=["opacity",b,~~(100*a),c,d].join("-"),f=.01+c/d*100,g=Math.max(1-(1-a)/b*(100-f),a),h=j.substring(0,j.indexOf("Animation")).toLowerCase(),i=h&&"-"+h+"-"||"";return l[e]||(m.insertRule("@"+i+"keyframes "+e+"{0%{opacity:"+g+"}"+f+"%{opacity:"+a+"}"+(f+.01)+"%{opacity:1}"+(f+b)%100+"%{opacity:"+a+"}100%{opacity:"+g+"}}",m.cssRules.length),l[e]=1),e}function d(a,b){var c,d,e=a.style;for(b=b.charAt(0).toUpperCase()+b.slice(1),d=0;d<k.length;d++)if(c=k[d]+b,void 0!==e[c])return c;return void 0!==e[b]?b:void 0}function e(a,b){for(var c in b)a.style[d(a,c)||c]=b[c];return a}function f(a){for(var b=1;b<arguments.length;b++){var c=arguments[b];for(var d in c)void 0===a[d]&&(a[d]=c[d])}return a}function g(a,b){return"string"==typeof a?a:a[b%a.length]}function h(a){this.opts=f(a||{},h.defaults,n)}function i(){function c(b,c){return a("<"+b+' xmlns="urn:schemas-microsoft.com:vml" class="spin-vml">',c)}m.addRule(".spin-vml","behavior:url(#default#VML)"),h.prototype.lines=function(a,d){function f(){return e(c("group",{coordsize:k+" "+k,coordorigin:-j+" "+-j}),{width:k,height:k})}function h(a,h,i){b(m,b(e(f(),{rotation:360/d.lines*a+"deg",left:~~h}),b(e(c("roundrect",{arcsize:d.corners}),{width:j,height:d.width,left:d.radius,top:-d.width>>1,filter:i}),c("fill",{color:g(d.color,a),opacity:d.opacity}),c("stroke",{opacity:0}))))}var i,j=d.length+d.width,k=2*j,l=2*-(d.width+d.length)+"px",m=e(f(),{position:"absolute",top:l,left:l});if(d.shadow)for(i=1;i<=d.lines;i++)h(i,-2,"progid:DXImageTransform.Microsoft.Blur(pixelradius=2,makeshadow=1,shadowopacity=.3)");for(i=1;i<=d.lines;i++)h(i);return b(a,m)},h.prototype.opacity=function(a,b,c,d){var e=a.firstChild;d=d.shadow&&d.lines||0,e&&b+d<e.childNodes.length&&(e=e.childNodes[b+d],e=e&&e.firstChild,e=e&&e.firstChild,e&&(e.opacity=c))}}var j,k=["webkit","Moz","ms","O"],l={},m=function(){var c=a("style",{type:"text/css"});return b(document.getElementsByTagName("head")[0],c),c.sheet||c.styleSheet}(),n={lines:12,length:7,width:5,radius:10,rotate:0,corners:1,color:"#000",direction:1,speed:1,trail:100,opacity:.25,fps:20,zIndex:2e9,className:"spinner",top:"50%",left:"50%",position:"absolute"};h.defaults={},f(h.prototype,{spin:function(b){this.stop();{var c=this,d=c.opts,f=c.el=e(a(0,{className:d.className}),{position:d.position,width:0,zIndex:d.zIndex});d.radius+d.length+d.width}if(b&&(b.insertBefore(f,b.firstChild||null),e(f,{left:d.left,top:d.top})),f.setAttribute("role","progressbar"),c.lines(f,c.opts),!j){var g,h=0,i=(d.lines-1)*(1-d.direction)/2,k=d.fps,l=k/d.speed,m=(1-d.opacity)/(l*d.trail/100),n=l/d.lines;!function o(){h++;for(var a=0;a<d.lines;a++)g=Math.max(1-(h+(d.lines-a)*n)%l*m,d.opacity),c.opacity(f,a*d.direction+i,g,d);c.timeout=c.el&&setTimeout(o,~~(1e3/k))}()}return c},stop:function(){var a=this.el;return a&&(clearTimeout(this.timeout),a.parentNode&&a.parentNode.removeChild(a),this.el=void 0),this},lines:function(d,f){function h(b,c){return e(a(),{position:"absolute",width:f.length+f.width+"px",height:f.width+"px",background:b,boxShadow:c,transformOrigin:"left",transform:"rotate("+~~(360/f.lines*k+f.rotate)+"deg) translate("+f.radius+"px,0)",borderRadius:(f.corners*f.width>>1)+"px"})}for(var i,k=0,l=(f.lines-1)*(1-f.direction)/2;k<f.lines;k++)i=e(a(),{position:"absolute",top:1+~(f.width/2)+"px",transform:f.hwaccel?"translate3d(0,0,0)":"",opacity:f.opacity,animation:j&&c(f.opacity,f.trail,l+k*f.direction,f.lines)+" "+1/f.speed+"s linear infinite"}),f.shadow&&b(i,e(h("#000","0 0 4px #000"),{top:"2px"})),b(d,b(i,h(g(f.color,k),"0 0 1px rgba(0,0,0,.1)")));return d},opacity:function(a,b,c){b<a.childNodes.length&&(a.childNodes[b].style.opacity=c)}});var o=e(a("group"),{behavior:"url(#default#VML)"});return!d(o,"transform")&&o.adj?i():j=d(o,"animation"),h});
-/*! @license DOMPurify 3.1.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.5/LICENSE */
-!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).DOMPurify=t()}(this,(function(){"use strict";const{entries:e,setPrototypeOf:t,isFrozen:n,getPrototypeOf:o,getOwnPropertyDescriptor:r}=Object;let{freeze:i,seal:a,create:l}=Object,{apply:c,construct:s}="undefined"!=typeof Reflect&&Reflect;i||(i=function(e){return e}),a||(a=function(e){return e}),c||(c=function(e,t,n){return e.apply(t,n)}),s||(s=function(e,t){return new e(...t)});const u=b(Array.prototype.forEach),m=b(Array.prototype.pop),p=b(Array.prototype.push),f=b(String.prototype.toLowerCase),d=b(String.prototype.toString),h=b(String.prototype.match),g=b(String.prototype.replace),T=b(String.prototype.indexOf),y=b(String.prototype.trim),E=b(Object.prototype.hasOwnProperty),_=b(RegExp.prototype.test),A=(N=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return s(N,t)});var N;function b(e){return function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return c(e,t,o)}}function S(e,o){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f;t&&t(e,null);let i=o.length;for(;i--;){let t=o[i];if("string"==typeof t){const e=r(t);e!==t&&(n(o)||(o[i]=e),t=e)}e[t]=!0}return e}function R(e){for(let t=0;t<e.length;t++){E(e,t)||(e[t]=null)}return e}function w(t){const n=l(null);for(const[o,r]of e(t)){E(t,o)&&(Array.isArray(r)?n[o]=R(r):r&&"object"==typeof r&&r.constructor===Object?n[o]=w(r):n[o]=r)}return n}function C(e,t){for(;null!==e;){const n=r(e,t);if(n){if(n.get)return b(n.get);if("function"==typeof n.value)return b(n.value)}e=o(e)}return function(){return null}}const L=i(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),D=i(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),v=i(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),O=i(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),x=i(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),k=i(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),M=i(["#text"]),I=i(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),U=i(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),P=i(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),F=i(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),H=a(/\{\{[\w\W]*|[\w\W]*\}\}/gm),z=a(/<%[\w\W]*|[\w\W]*%>/gm),B=a(/\${[\w\W]*}/gm),W=a(/^data-[\-\w.\u00B7-\uFFFF]/),G=a(/^aria-[\-\w]+$/),Y=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),j=a(/^(?:\w+script|data):/i),X=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),q=a(/^html$/i),$=a(/^[a-z][.\w]*(-[.\w]+)+$/i);var K=Object.freeze({__proto__:null,MUSTACHE_EXPR:H,ERB_EXPR:z,TMPLIT_EXPR:B,DATA_ATTR:W,ARIA_ATTR:G,IS_ALLOWED_URI:Y,IS_SCRIPT_OR_DATA:j,ATTR_WHITESPACE:X,DOCTYPE_NAME:q,CUSTOM_ELEMENT:$});const V=1,Z=3,J=7,Q=8,ee=9,te=function(){return"undefined"==typeof window?null:window},ne=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const o="data-tt-policy-suffix";t&&t.hasAttribute(o)&&(n=t.getAttribute(o));const r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}};var oe=function t(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:te();const o=e=>t(e);if(o.version="3.1.5",o.removed=[],!n||!n.document||n.document.nodeType!==ee)return o.isSupported=!1,o;let{document:r}=n;const a=r,c=a.currentScript,{DocumentFragment:s,HTMLTemplateElement:N,Node:b,Element:R,NodeFilter:H,NamedNodeMap:z=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:B,DOMParser:W,trustedTypes:G}=n,j=R.prototype,X=C(j,"cloneNode"),$=C(j,"nextSibling"),oe=C(j,"childNodes"),re=C(j,"parentNode");if("function"==typeof N){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let ie,ae="";const{implementation:le,createNodeIterator:ce,createDocumentFragment:se,getElementsByTagName:ue}=r,{importNode:me}=a;let pe={};o.isSupported="function"==typeof e&&"function"==typeof re&&le&&void 0!==le.createHTMLDocument;const{MUSTACHE_EXPR:fe,ERB_EXPR:de,TMPLIT_EXPR:he,DATA_ATTR:ge,ARIA_ATTR:Te,IS_SCRIPT_OR_DATA:ye,ATTR_WHITESPACE:Ee,CUSTOM_ELEMENT:_e}=K;let{IS_ALLOWED_URI:Ae}=K,Ne=null;const be=S({},[...L,...D,...v,...x,...M]);let Se=null;const Re=S({},[...I,...U,...P,...F]);let we=Object.seal(l(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}})),Ce=null,Le=null,De=!0,ve=!0,Oe=!1,xe=!0,ke=!1,Me=!0,Ie=!1,Ue=!1,Pe=!1,Fe=!1,He=!1,ze=!1,Be=!0,We=!1;const Ge="user-content-";let Ye=!0,je=!1,Xe={},qe=null;const $e=S({},["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 Ke=null;const Ve=S({},["audio","video","img","source","image","track"]);let Ze=null;const Je=S({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Qe="http://www.w3.org/1998/Math/MathML",et="http://www.w3.org/2000/svg",tt="http://www.w3.org/1999/xhtml";let nt=tt,ot=!1,rt=null;const it=S({},[Qe,et,tt],d);let at=null;const lt=["application/xhtml+xml","text/html"],ct="text/html";let st=null,ut=null;const mt=r.createElement("form"),pt=function(e){return e instanceof RegExp||e instanceof Function},ft=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!ut||ut!==e){if(e&&"object"==typeof e||(e={}),e=w(e),at=-1===lt.indexOf(e.PARSER_MEDIA_TYPE)?ct:e.PARSER_MEDIA_TYPE,st="application/xhtml+xml"===at?d:f,Ne=E(e,"ALLOWED_TAGS")?S({},e.ALLOWED_TAGS,st):be,Se=E(e,"ALLOWED_ATTR")?S({},e.ALLOWED_ATTR,st):Re,rt=E(e,"ALLOWED_NAMESPACES")?S({},e.ALLOWED_NAMESPACES,d):it,Ze=E(e,"ADD_URI_SAFE_ATTR")?S(w(Je),e.ADD_URI_SAFE_ATTR,st):Je,Ke=E(e,"ADD_DATA_URI_TAGS")?S(w(Ve),e.ADD_DATA_URI_TAGS,st):Ve,qe=E(e,"FORBID_CONTENTS")?S({},e.FORBID_CONTENTS,st):$e,Ce=E(e,"FORBID_TAGS")?S({},e.FORBID_TAGS,st):{},Le=E(e,"FORBID_ATTR")?S({},e.FORBID_ATTR,st):{},Xe=!!E(e,"USE_PROFILES")&&e.USE_PROFILES,De=!1!==e.ALLOW_ARIA_ATTR,ve=!1!==e.ALLOW_DATA_ATTR,Oe=e.ALLOW_UNKNOWN_PROTOCOLS||!1,xe=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,ke=e.SAFE_FOR_TEMPLATES||!1,Me=!1!==e.SAFE_FOR_XML,Ie=e.WHOLE_DOCUMENT||!1,Fe=e.RETURN_DOM||!1,He=e.RETURN_DOM_FRAGMENT||!1,ze=e.RETURN_TRUSTED_TYPE||!1,Pe=e.FORCE_BODY||!1,Be=!1!==e.SANITIZE_DOM,We=e.SANITIZE_NAMED_PROPS||!1,Ye=!1!==e.KEEP_CONTENT,je=e.IN_PLACE||!1,Ae=e.ALLOWED_URI_REGEXP||Y,nt=e.NAMESPACE||tt,we=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&pt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(we.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&pt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(we.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(we.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ke&&(ve=!1),He&&(Fe=!0),Xe&&(Ne=S({},M),Se=[],!0===Xe.html&&(S(Ne,L),S(Se,I)),!0===Xe.svg&&(S(Ne,D),S(Se,U),S(Se,F)),!0===Xe.svgFilters&&(S(Ne,v),S(Se,U),S(Se,F)),!0===Xe.mathMl&&(S(Ne,x),S(Se,P),S(Se,F))),e.ADD_TAGS&&(Ne===be&&(Ne=w(Ne)),S(Ne,e.ADD_TAGS,st)),e.ADD_ATTR&&(Se===Re&&(Se=w(Se)),S(Se,e.ADD_ATTR,st)),e.ADD_URI_SAFE_ATTR&&S(Ze,e.ADD_URI_SAFE_ATTR,st),e.FORBID_CONTENTS&&(qe===$e&&(qe=w(qe)),S(qe,e.FORBID_CONTENTS,st)),Ye&&(Ne["#text"]=!0),Ie&&S(Ne,["html","head","body"]),Ne.table&&(S(Ne,["tbody"]),delete Ce.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ie=e.TRUSTED_TYPES_POLICY,ae=ie.createHTML("")}else void 0===ie&&(ie=ne(G,c)),null!==ie&&"string"==typeof ae&&(ae=ie.createHTML(""));i&&i(e),ut=e}},dt=S({},["mi","mo","mn","ms","mtext"]),ht=S({},["foreignobject","annotation-xml"]),gt=S({},["title","style","font","a","script"]),Tt=S({},[...D,...v,...O]),yt=S({},[...x,...k]),Et=function(e){let t=re(e);t&&t.tagName||(t={namespaceURI:nt,tagName:"template"});const n=f(e.tagName),o=f(t.tagName);return!!rt[e.namespaceURI]&&(e.namespaceURI===et?t.namespaceURI===tt?"svg"===n:t.namespaceURI===Qe?"svg"===n&&("annotation-xml"===o||dt[o]):Boolean(Tt[n]):e.namespaceURI===Qe?t.namespaceURI===tt?"math"===n:t.namespaceURI===et?"math"===n&&ht[o]:Boolean(yt[n]):e.namespaceURI===tt?!(t.namespaceURI===et&&!ht[o])&&(!(t.namespaceURI===Qe&&!dt[o])&&(!yt[n]&&(gt[n]||!Tt[n]))):!("application/xhtml+xml"!==at||!rt[e.namespaceURI]))},_t=function(e){p(o.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.remove()}},At=function(e,t){try{p(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){p(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!Se[e])if(Fe||He)try{_t(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Nt=function(e){let t=null,n=null;if(Pe)e="<remove></remove>"+e;else{const t=h(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===at&&nt===tt&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const o=ie?ie.createHTML(e):e;if(nt===tt)try{t=(new W).parseFromString(o,at)}catch(e){}if(!t||!t.documentElement){t=le.createDocument(nt,"template",null);try{t.documentElement.innerHTML=ot?ae:o}catch(e){}}const i=t.body||t.documentElement;return e&&n&&i.insertBefore(r.createTextNode(n),i.childNodes[0]||null),nt===tt?ue.call(t,Ie?"html":"body")[0]:Ie?t.documentElement:i},bt=function(e){return ce.call(e.ownerDocument||e,e,H.SHOW_ELEMENT|H.SHOW_COMMENT|H.SHOW_TEXT|H.SHOW_PROCESSING_INSTRUCTION|H.SHOW_CDATA_SECTION,null)},St=function(e){return e instanceof B&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof z)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Rt=function(e){return"function"==typeof b&&e instanceof b},wt=function(e,t,n){pe[e]&&u(pe[e],(e=>{e.call(o,t,n,ut)}))},Ct=function(e){let t=null;if(wt("beforeSanitizeElements",e,null),St(e))return _t(e),!0;const n=st(e.nodeName);if(wt("uponSanitizeElement",e,{tagName:n,allowedTags:Ne}),e.hasChildNodes()&&!Rt(e.firstElementChild)&&_(/<[/\w]/g,e.innerHTML)&&_(/<[/\w]/g,e.textContent))return _t(e),!0;if(e.nodeType===J)return _t(e),!0;if(Me&&e.nodeType===Q&&_(/<[/\w]/g,e.data))return _t(e),!0;if(!Ne[n]||Ce[n]){if(!Ce[n]&&Dt(n)){if(we.tagNameCheck instanceof RegExp&&_(we.tagNameCheck,n))return!1;if(we.tagNameCheck instanceof Function&&we.tagNameCheck(n))return!1}if(Ye&&!qe[n]){const t=re(e)||e.parentNode,n=oe(e)||e.childNodes;if(n&&t){for(let o=n.length-1;o>=0;--o){const r=X(n[o],!0);r.__removalCount=(e.__removalCount||0)+1,t.insertBefore(r,$(e))}}}return _t(e),!0}return e instanceof R&&!Et(e)?(_t(e),!0):"noscript"!==n&&"noembed"!==n&&"noframes"!==n||!_(/<\/no(script|embed|frames)/i,e.innerHTML)?(ke&&e.nodeType===Z&&(t=e.textContent,u([fe,de,he],(e=>{t=g(t,e," ")})),e.textContent!==t&&(p(o.removed,{element:e.cloneNode()}),e.textContent=t)),wt("afterSanitizeElements",e,null),!1):(_t(e),!0)},Lt=function(e,t,n){if(Be&&("id"===t||"name"===t)&&(n in r||n in mt))return!1;if(ve&&!Le[t]&&_(ge,t));else if(De&&_(Te,t));else if(!Se[t]||Le[t]){if(!(Dt(e)&&(we.tagNameCheck instanceof RegExp&&_(we.tagNameCheck,e)||we.tagNameCheck instanceof Function&&we.tagNameCheck(e))&&(we.attributeNameCheck instanceof RegExp&&_(we.attributeNameCheck,t)||we.attributeNameCheck instanceof Function&&we.attributeNameCheck(t))||"is"===t&&we.allowCustomizedBuiltInElements&&(we.tagNameCheck instanceof RegExp&&_(we.tagNameCheck,n)||we.tagNameCheck instanceof Function&&we.tagNameCheck(n))))return!1}else if(Ze[t]);else if(_(Ae,g(n,Ee,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==T(n,"data:")||!Ke[e]){if(Oe&&!_(ye,g(n,Ee,"")));else if(n)return!1}else;return!0},Dt=function(e){return"annotation-xml"!==e&&h(e,_e)},vt=function(e){wt("beforeSanitizeAttributes",e,null);const{attributes:t}=e;if(!t)return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Se};let r=t.length;for(;r--;){const i=t[r],{name:a,namespaceURI:l,value:c}=i,s=st(a);let p="value"===a?c:y(c);if(n.attrName=s,n.attrValue=p,n.keepAttr=!0,n.forceKeepAttr=void 0,wt("uponSanitizeAttribute",e,n),p=n.attrValue,n.forceKeepAttr)continue;if(At(a,e),!n.keepAttr)continue;if(!xe&&_(/\/>/i,p)){At(a,e);continue}if(Me&&_(/((--!?|])>)|<\/(style|title)/i,p)){At(a,e);continue}ke&&u([fe,de,he],(e=>{p=g(p,e," ")}));const f=st(e.nodeName);if(Lt(f,s,p)){if(!We||"id"!==s&&"name"!==s||(At(a,e),p=Ge+p),ie&&"object"==typeof G&&"function"==typeof G.getAttributeType)if(l);else switch(G.getAttributeType(f,s)){case"TrustedHTML":p=ie.createHTML(p);break;case"TrustedScriptURL":p=ie.createScriptURL(p)}try{l?e.setAttributeNS(l,a,p):e.setAttribute(a,p),St(e)?_t(e):m(o.removed)}catch(e){}}}wt("afterSanitizeAttributes",e,null)},Ot=function e(t){let n=null;const o=bt(t);for(wt("beforeSanitizeShadowDOM",t,null);n=o.nextNode();)wt("uponSanitizeShadowNode",n,null),Ct(n)||(n.content instanceof s&&e(n.content),vt(n));wt("afterSanitizeShadowDOM",t,null)};return o.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,r=null,i=null,l=null;if(ot=!e,ot&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Rt(e)){if("function"!=typeof e.toString)throw A("toString is not a function");if("string"!=typeof(e=e.toString()))throw A("dirty is not a string, aborting")}if(!o.isSupported)return e;if(Ue||ft(t),o.removed=[],"string"==typeof e&&(je=!1),je){if(e.nodeName){const t=st(e.nodeName);if(!Ne[t]||Ce[t])throw A("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof b)n=Nt("\x3c!----\x3e"),r=n.ownerDocument.importNode(e,!0),r.nodeType===V&&"BODY"===r.nodeName||"HTML"===r.nodeName?n=r:n.appendChild(r);else{if(!Fe&&!ke&&!Ie&&-1===e.indexOf("<"))return ie&&ze?ie.createHTML(e):e;if(n=Nt(e),!n)return Fe?null:ze?ae:""}n&&Pe&&_t(n.firstChild);const c=bt(je?e:n);for(;i=c.nextNode();)Ct(i)||(i.content instanceof s&&Ot(i.content),vt(i));if(je)return e;if(Fe){if(He)for(l=se.call(n.ownerDocument);n.firstChild;)l.appendChild(n.firstChild);else l=n;return(Se.shadowroot||Se.shadowrootmode)&&(l=me.call(a,l,!0)),l}let m=Ie?n.outerHTML:n.innerHTML;return Ie&&Ne["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&_(q,n.ownerDocument.doctype.name)&&(m="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+m),ke&&u([fe,de,he],(e=>{m=g(m,e," ")})),ie&&ze?ie.createHTML(m):m},o.setConfig=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};ft(e),Ue=!0},o.clearConfig=function(){ut=null,Ue=!1},o.isValidAttribute=function(e,t,n){ut||ft({});const o=st(e),r=st(t);return Lt(o,r,n)},o.addHook=function(e,t){"function"==typeof t&&(pe[e]=pe[e]||[],p(pe[e],t))},o.removeHook=function(e){if(pe[e])return m(pe[e])},o.removeHooks=function(e){pe[e]&&(pe[e]=[])},o.removeAllHooks=function(){pe={}},o}();return oe}));
+/*! @license DOMPurify 3.2.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.1/LICENSE */
+!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).DOMPurify=t()}(this,(function(){"use strict";const{entries:e,setPrototypeOf:t,isFrozen:n,getPrototypeOf:o,getOwnPropertyDescriptor:r}=Object;let{freeze:i,seal:a,create:l}=Object,{apply:c,construct:s}="undefined"!=typeof Reflect&&Reflect;i||(i=function(e){return e}),a||(a=function(e){return e}),c||(c=function(e,t,n){return e.apply(t,n)}),s||(s=function(e,t){return new e(...t)});const u=b(Array.prototype.forEach),m=b(Array.prototype.pop),p=b(Array.prototype.push),f=b(String.prototype.toLowerCase),d=b(String.prototype.toString),h=b(String.prototype.match),g=b(String.prototype.replace),T=b(String.prototype.indexOf),y=b(String.prototype.trim),E=b(Object.prototype.hasOwnProperty),_=b(RegExp.prototype.test),A=(N=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return s(N,t)});var N;function b(e){return function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return c(e,t,o)}}function S(e,o){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f;t&&t(e,null);let i=o.length;for(;i--;){let t=o[i];if("string"==typeof t){const e=r(t);e!==t&&(n(o)||(o[i]=e),t=e)}e[t]=!0}return e}function R(e){for(let t=0;t<e.length;t++){E(e,t)||(e[t]=null)}return e}function w(t){const n=l(null);for(const[o,r]of e(t)){E(t,o)&&(Array.isArray(r)?n[o]=R(r):r&&"object"==typeof r&&r.constructor===Object?n[o]=w(r):n[o]=r)}return n}function L(e,t){for(;null!==e;){const n=r(e,t);if(n){if(n.get)return b(n.get);if("function"==typeof n.value)return b(n.value)}e=o(e)}return function(){return null}}const v=i(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),C=i(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),O=i(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),D=i(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),x=i(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),k=i(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),I=i(["#text"]),M=i(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),U=i(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),P=i(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),H=i(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),F=a(/\{\{[\w\W]*|[\w\W]*\}\}/gm),z=a(/<%[\w\W]*|[\w\W]*%>/gm),B=a(/\${[\w\W]*}/gm),W=a(/^data-[\-\w.\u00B7-\uFFFF]/),G=a(/^aria-[\-\w]+$/),Y=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),j=a(/^(?:\w+script|data):/i),X=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),q=a(/^html$/i),K=a(/^[a-z][.\w]*(-[.\w]+)+$/i);var $=Object.freeze({__proto__:null,ARIA_ATTR:G,ATTR_WHITESPACE:X,CUSTOM_ELEMENT:K,DATA_ATTR:W,DOCTYPE_NAME:q,ERB_EXPR:z,IS_ALLOWED_URI:Y,IS_SCRIPT_OR_DATA:j,MUSTACHE_EXPR:F,TMPLIT_EXPR:B});const V=1,Z=3,J=7,Q=8,ee=9,te=function(){return"undefined"==typeof window?null:window};var ne=function t(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:te();const o=e=>t(e);if(o.version="3.2.1",o.removed=[],!n||!n.document||n.document.nodeType!==ee)return o.isSupported=!1,o;let{document:r}=n;const a=r,c=a.currentScript,{DocumentFragment:s,HTMLTemplateElement:N,Node:b,Element:R,NodeFilter:F,NamedNodeMap:z=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:B,DOMParser:W,trustedTypes:G}=n,j=R.prototype,X=L(j,"cloneNode"),K=L(j,"remove"),ne=L(j,"nextSibling"),oe=L(j,"childNodes"),re=L(j,"parentNode");if("function"==typeof N){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let ie,ae="";const{implementation:le,createNodeIterator:ce,createDocumentFragment:se,getElementsByTagName:ue}=r,{importNode:me}=a;let pe={};o.isSupported="function"==typeof e&&"function"==typeof re&&le&&void 0!==le.createHTMLDocument;const{MUSTACHE_EXPR:fe,ERB_EXPR:de,TMPLIT_EXPR:he,DATA_ATTR:ge,ARIA_ATTR:Te,IS_SCRIPT_OR_DATA:ye,ATTR_WHITESPACE:Ee,CUSTOM_ELEMENT:_e}=$;let{IS_ALLOWED_URI:Ae}=$,Ne=null;const be=S({},[...v,...C,...O,...x,...I]);let Se=null;const Re=S({},[...M,...U,...P,...H]);let we=Object.seal(l(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}})),Le=null,ve=null,Ce=!0,Oe=!0,De=!1,xe=!0,ke=!1,Ie=!0,Me=!1,Ue=!1,Pe=!1,He=!1,Fe=!1,ze=!1,Be=!0,We=!1,Ge=!0,Ye=!1,je={},Xe=null;const qe=S({},["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 Ke=null;const $e=S({},["audio","video","img","source","image","track"]);let Ve=null;const Ze=S({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Je="http://www.w3.org/1998/Math/MathML",Qe="http://www.w3.org/2000/svg",et="http://www.w3.org/1999/xhtml";let tt=et,nt=!1,ot=null;const rt=S({},[Je,Qe,et],d);let it=S({},["mi","mo","mn","ms","mtext"]),at=S({},["annotation-xml"]);const lt=S({},["title","style","font","a","script"]);let ct=null;const st=["application/xhtml+xml","text/html"];let ut=null,mt=null;const pt=r.createElement("form"),ft=function(e){return e instanceof RegExp||e instanceof Function},dt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!mt||mt!==e){if(e&&"object"==typeof e||(e={}),e=w(e),ct=-1===st.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,ut="application/xhtml+xml"===ct?d:f,Ne=E(e,"ALLOWED_TAGS")?S({},e.ALLOWED_TAGS,ut):be,Se=E(e,"ALLOWED_ATTR")?S({},e.ALLOWED_ATTR,ut):Re,ot=E(e,"ALLOWED_NAMESPACES")?S({},e.ALLOWED_NAMESPACES,d):rt,Ve=E(e,"ADD_URI_SAFE_ATTR")?S(w(Ze),e.ADD_URI_SAFE_ATTR,ut):Ze,Ke=E(e,"ADD_DATA_URI_TAGS")?S(w($e),e.ADD_DATA_URI_TAGS,ut):$e,Xe=E(e,"FORBID_CONTENTS")?S({},e.FORBID_CONTENTS,ut):qe,Le=E(e,"FORBID_TAGS")?S({},e.FORBID_TAGS,ut):{},ve=E(e,"FORBID_ATTR")?S({},e.FORBID_ATTR,ut):{},je=!!E(e,"USE_PROFILES")&&e.USE_PROFILES,Ce=!1!==e.ALLOW_ARIA_ATTR,Oe=!1!==e.ALLOW_DATA_ATTR,De=e.ALLOW_UNKNOWN_PROTOCOLS||!1,xe=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,ke=e.SAFE_FOR_TEMPLATES||!1,Ie=!1!==e.SAFE_FOR_XML,Me=e.WHOLE_DOCUMENT||!1,He=e.RETURN_DOM||!1,Fe=e.RETURN_DOM_FRAGMENT||!1,ze=e.RETURN_TRUSTED_TYPE||!1,Pe=e.FORCE_BODY||!1,Be=!1!==e.SANITIZE_DOM,We=e.SANITIZE_NAMED_PROPS||!1,Ge=!1!==e.KEEP_CONTENT,Ye=e.IN_PLACE||!1,Ae=e.ALLOWED_URI_REGEXP||Y,tt=e.NAMESPACE||et,it=e.MATHML_TEXT_INTEGRATION_POINTS||it,at=e.HTML_INTEGRATION_POINTS||at,we=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&ft(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(we.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&ft(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(we.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(we.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ke&&(Oe=!1),Fe&&(He=!0),je&&(Ne=S({},I),Se=[],!0===je.html&&(S(Ne,v),S(Se,M)),!0===je.svg&&(S(Ne,C),S(Se,U),S(Se,H)),!0===je.svgFilters&&(S(Ne,O),S(Se,U),S(Se,H)),!0===je.mathMl&&(S(Ne,x),S(Se,P),S(Se,H))),e.ADD_TAGS&&(Ne===be&&(Ne=w(Ne)),S(Ne,e.ADD_TAGS,ut)),e.ADD_ATTR&&(Se===Re&&(Se=w(Se)),S(Se,e.ADD_ATTR,ut)),e.ADD_URI_SAFE_ATTR&&S(Ve,e.ADD_URI_SAFE_ATTR,ut),e.FORBID_CONTENTS&&(Xe===qe&&(Xe=w(Xe)),S(Xe,e.FORBID_CONTENTS,ut)),Ge&&(Ne["#text"]=!0),Me&&S(Ne,["html","head","body"]),Ne.table&&(S(Ne,["tbody"]),delete Le.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ie=e.TRUSTED_TYPES_POLICY,ae=ie.createHTML("")}else void 0===ie&&(ie=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const o="data-tt-policy-suffix";t&&t.hasAttribute(o)&&(n=t.getAttribute(o));const r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}}(G,c)),null!==ie&&"string"==typeof ae&&(ae=ie.createHTML(""));i&&i(e),mt=e}},ht=S({},[...C,...O,...D]),gt=S({},[...x,...k]),Tt=function(e){p(o.removed,{element:e});try{re(e).removeChild(e)}catch(t){K(e)}},yt=function(e,t){try{p(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){p(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!Se[e])if(He||Fe)try{Tt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Et=function(e){let t=null,n=null;if(Pe)e="<remove></remove>"+e;else{const t=h(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===ct&&tt===et&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const o=ie?ie.createHTML(e):e;if(tt===et)try{t=(new W).parseFromString(o,ct)}catch(e){}if(!t||!t.documentElement){t=le.createDocument(tt,"template",null);try{t.documentElement.innerHTML=nt?ae:o}catch(e){}}const i=t.body||t.documentElement;return e&&n&&i.insertBefore(r.createTextNode(n),i.childNodes[0]||null),tt===et?ue.call(t,Me?"html":"body")[0]:Me?t.documentElement:i},_t=function(e){return ce.call(e.ownerDocument||e,e,F.SHOW_ELEMENT|F.SHOW_COMMENT|F.SHOW_TEXT|F.SHOW_PROCESSING_INSTRUCTION|F.SHOW_CDATA_SECTION,null)},At=function(e){return e instanceof B&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof z)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Nt=function(e){return"function"==typeof b&&e instanceof b};function bt(e,t,n){pe[e]&&u(pe[e],(e=>{e.call(o,t,n,mt)}))}const St=function(e){let t=null;if(bt("beforeSanitizeElements",e,null),At(e))return Tt(e),!0;const n=ut(e.nodeName);if(bt("uponSanitizeElement",e,{tagName:n,allowedTags:Ne}),e.hasChildNodes()&&!Nt(e.firstElementChild)&&_(/<[/\w]/g,e.innerHTML)&&_(/<[/\w]/g,e.textContent))return Tt(e),!0;if(e.nodeType===J)return Tt(e),!0;if(Ie&&e.nodeType===Q&&_(/<[/\w]/g,e.data))return Tt(e),!0;if(!Ne[n]||Le[n]){if(!Le[n]&&wt(n)){if(we.tagNameCheck instanceof RegExp&&_(we.tagNameCheck,n))return!1;if(we.tagNameCheck instanceof Function&&we.tagNameCheck(n))return!1}if(Ge&&!Xe[n]){const t=re(e)||e.parentNode,n=oe(e)||e.childNodes;if(n&&t){for(let o=n.length-1;o>=0;--o){const r=X(n[o],!0);r.__removalCount=(e.__removalCount||0)+1,t.insertBefore(r,ne(e))}}}return Tt(e),!0}return e instanceof R&&!function(e){let t=re(e);t&&t.tagName||(t={namespaceURI:tt,tagName:"template"});const n=f(e.tagName),o=f(t.tagName);return!!ot[e.namespaceURI]&&(e.namespaceURI===Qe?t.namespaceURI===et?"svg"===n:t.namespaceURI===Je?"svg"===n&&("annotation-xml"===o||it[o]):Boolean(ht[n]):e.namespaceURI===Je?t.namespaceURI===et?"math"===n:t.namespaceURI===Qe?"math"===n&&at[o]:Boolean(gt[n]):e.namespaceURI===et?!(t.namespaceURI===Qe&&!at[o])&&!(t.namespaceURI===Je&&!it[o])&&!gt[n]&&(lt[n]||!ht[n]):!("application/xhtml+xml"!==ct||!ot[e.namespaceURI]))}(e)?(Tt(e),!0):"noscript"!==n&&"noembed"!==n&&"noframes"!==n||!_(/<\/no(script|embed|frames)/i,e.innerHTML)?(ke&&e.nodeType===Z&&(t=e.textContent,u([fe,de,he],(e=>{t=g(t,e," ")})),e.textContent!==t&&(p(o.removed,{element:e.cloneNode()}),e.textContent=t)),bt("afterSanitizeElements",e,null),!1):(Tt(e),!0)},Rt=function(e,t,n){if(Be&&("id"===t||"name"===t)&&(n in r||n in pt))return!1;if(Oe&&!ve[t]&&_(ge,t));else if(Ce&&_(Te,t));else if(!Se[t]||ve[t]){if(!(wt(e)&&(we.tagNameCheck instanceof RegExp&&_(we.tagNameCheck,e)||we.tagNameCheck instanceof Function&&we.tagNameCheck(e))&&(we.attributeNameCheck instanceof RegExp&&_(we.attributeNameCheck,t)||we.attributeNameCheck instanceof Function&&we.attributeNameCheck(t))||"is"===t&&we.allowCustomizedBuiltInElements&&(we.tagNameCheck instanceof RegExp&&_(we.tagNameCheck,n)||we.tagNameCheck instanceof Function&&we.tagNameCheck(n))))return!1}else if(Ve[t]);else if(_(Ae,g(n,Ee,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==T(n,"data:")||!Ke[e]){if(De&&!_(ye,g(n,Ee,"")));else if(n)return!1}else;return!0},wt=function(e){return"annotation-xml"!==e&&h(e,_e)},Lt=function(e){bt("beforeSanitizeAttributes",e,null);const{attributes:t}=e;if(!t)return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Se,forceKeepAttr:void 0};let r=t.length;for(;r--;){const i=t[r],{name:a,namespaceURI:l,value:c}=i,s=ut(a);let p="value"===a?c:y(c);if(n.attrName=s,n.attrValue=p,n.keepAttr=!0,n.forceKeepAttr=void 0,bt("uponSanitizeAttribute",e,n),p=n.attrValue,!We||"id"!==s&&"name"!==s||(yt(a,e),p="user-content-"+p),Ie&&_(/((--!?|])>)|<\/(style|title)/i,p)){yt(a,e);continue}if(n.forceKeepAttr)continue;if(yt(a,e),!n.keepAttr)continue;if(!xe&&_(/\/>/i,p)){yt(a,e);continue}ke&&u([fe,de,he],(e=>{p=g(p,e," ")}));const f=ut(e.nodeName);if(Rt(f,s,p)){if(ie&&"object"==typeof G&&"function"==typeof G.getAttributeType)if(l);else switch(G.getAttributeType(f,s)){case"TrustedHTML":p=ie.createHTML(p);break;case"TrustedScriptURL":p=ie.createScriptURL(p)}try{l?e.setAttributeNS(l,a,p):e.setAttribute(a,p),At(e)?Tt(e):m(o.removed)}catch(e){}}}bt("afterSanitizeAttributes",e,null)},vt=function e(t){let n=null;const o=_t(t);for(bt("beforeSanitizeShadowDOM",t,null);n=o.nextNode();)bt("uponSanitizeShadowNode",n,null),St(n)||(n.content instanceof s&&e(n.content),Lt(n));bt("afterSanitizeShadowDOM",t,null)};return o.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,r=null,i=null,l=null;if(nt=!e,nt&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Nt(e)){if("function"!=typeof e.toString)throw A("toString is not a function");if("string"!=typeof(e=e.toString()))throw A("dirty is not a string, aborting")}if(!o.isSupported)return e;if(Ue||dt(t),o.removed=[],"string"==typeof e&&(Ye=!1),Ye){if(e.nodeName){const t=ut(e.nodeName);if(!Ne[t]||Le[t])throw A("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof b)n=Et("\x3c!----\x3e"),r=n.ownerDocument.importNode(e,!0),r.nodeType===V&&"BODY"===r.nodeName||"HTML"===r.nodeName?n=r:n.appendChild(r);else{if(!He&&!ke&&!Me&&-1===e.indexOf("<"))return ie&&ze?ie.createHTML(e):e;if(n=Et(e),!n)return He?null:ze?ae:""}n&&Pe&&Tt(n.firstChild);const c=_t(Ye?e:n);for(;i=c.nextNode();)St(i)||(i.content instanceof s&&vt(i.content),Lt(i));if(Ye)return e;if(He){if(Fe)for(l=se.call(n.ownerDocument);n.firstChild;)l.appendChild(n.firstChild);else l=n;return(Se.shadowroot||Se.shadowrootmode)&&(l=me.call(a,l,!0)),l}let m=Me?n.outerHTML:n.innerHTML;return Me&&Ne["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&_(q,n.ownerDocument.doctype.name)&&(m="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+m),ke&&u([fe,de,he],(e=>{m=g(m,e," ")})),ie&&ze?ie.createHTML(m):m},o.setConfig=function(){dt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Ue=!0},o.clearConfig=function(){mt=null,Ue=!1},o.isValidAttribute=function(e,t,n){mt||dt({});const o=ut(e),r=ut(t);return Rt(o,r,n)},o.addHook=function(e,t){"function"==typeof t&&(pe[e]=pe[e]||[],p(pe[e],t))},o.removeHook=function(e){if(pe[e])return m(pe[e])},o.removeHooks=function(e){pe[e]&&(pe[e]=[])},o.removeAllHooks=function(){pe={}},o}();return ne}));
/*
CryptoJS v3.1.2
code.google.com/p/crypto-js
@@ -64,7 +64,7 @@ if("1"==urlParams.offline||"1"==urlParams.demo||"1"==urlParams.stealth||"1"==url
"se.diagrams.net"==window.location.hostname&&(urlParams.db="0",urlParams.od="0",urlParams.gh="0",urlParams.gl="0",urlParams.tr="0",urlParams.plugins="0",urlParams.mode="google",urlParams.lockdown="1",window.DRAWIO_GOOGLE_APP_ID=window.DRAWIO_GOOGLE_APP_ID||"184079235871",window.DRAWIO_GOOGLE_CLIENT_ID=window.DRAWIO_GOOGLE_CLIENT_ID||"184079235871-pjf5nn0lff27lk8qf0770gmffiv9gt61.apps.googleusercontent.com");"trello"==urlParams.mode&&(urlParams.tr="1");
"embed.diagrams.net"==window.location.hostname&&(urlParams.embed="1");(null==window.location.hash||1>=window.location.hash.length)&&null!=urlParams.open&&(window.location.hash=urlParams.open);"function"!==typeof window.structuredClone&&(window.structuredClone=function(a){return a});window.urlParams=window.urlParams||{};window.DOM_PURIFY_CONFIG=window.DOM_PURIFY_CONFIG||{ADD_TAGS:["use","foreignObject"],FORBID_TAGS:["form"],ALLOWED_URI_REGEXP:/^((?!javascript:).)*$/i,ADD_ATTR:["target","content","pointer-events","requiredFeatures"]};window.MAX_REQUEST_SIZE=window.MAX_REQUEST_SIZE||10485760;window.MAX_AREA=window.MAX_AREA||225E6;window.EXPORT_URL=window.EXPORT_URL||"/export";window.SAVE_URL=window.SAVE_URL||"/save";window.OPEN_URL=window.OPEN_URL||"/open";
window.RESOURCES_PATH=window.RESOURCES_PATH||"resources";window.RESOURCE_BASE=window.RESOURCE_BASE||window.RESOURCES_PATH+"/grapheditor";window.STENCIL_PATH=window.STENCIL_PATH||"stencils";window.IMAGE_PATH=window.IMAGE_PATH||"images";window.STYLE_PATH=window.STYLE_PATH||"styles";window.CSS_PATH=window.CSS_PATH||"styles";window.OPEN_FORM=window.OPEN_FORM||"open.html";window.mxBasePath=window.mxBasePath||"mxgraph";window.mxImageBasePath=window.mxImageBasePath||"mxgraph/images";
-window.mxLanguage=window.mxLanguage||urlParams.lang;window.mxLanguages=window.mxLanguages||["de","se"];var mxClient={VERSION:"24.8.6",IS_IE:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("MSIE"),IS_IE11:null!=navigator.userAgent&&!!navigator.userAgent.match(/Trident\/7\./),IS_EDGE:null!=navigator.userAgent&&!!navigator.userAgent.match(/Edge\//),IS_EM:"spellcheck"in document.createElement("textarea")&&8==document.documentMode,VML_PREFIX:"v",OFFICE_PREFIX:"o",IS_NS:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Mozilla/")&&0>navigator.userAgent.indexOf("MSIE")&&0>navigator.userAgent.indexOf("Edge/"),
+window.mxLanguage=window.mxLanguage||urlParams.lang;window.mxLanguages=window.mxLanguages||["de","se"];var mxClient={VERSION:"24.8.9",IS_IE:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("MSIE"),IS_IE11:null!=navigator.userAgent&&!!navigator.userAgent.match(/Trident\/7\./),IS_EDGE:null!=navigator.userAgent&&!!navigator.userAgent.match(/Edge\//),IS_EM:"spellcheck"in document.createElement("textarea")&&8==document.documentMode,VML_PREFIX:"v",OFFICE_PREFIX:"o",IS_NS:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Mozilla/")&&0>navigator.userAgent.indexOf("MSIE")&&0>navigator.userAgent.indexOf("Edge/"),
IS_OP:null!=navigator.userAgent&&(0<=navigator.userAgent.indexOf("Opera/")||0<=navigator.userAgent.indexOf("OPR/")),IS_OT:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Presto/")&&0>navigator.userAgent.indexOf("Presto/2.4.")&&0>navigator.userAgent.indexOf("Presto/2.3.")&&0>navigator.userAgent.indexOf("Presto/2.2.")&&0>navigator.userAgent.indexOf("Presto/2.1.")&&0>navigator.userAgent.indexOf("Presto/2.0.")&&0>navigator.userAgent.indexOf("Presto/1."),IS_SF:/Apple Computer, Inc/.test(navigator.vendor),
IS_ANDROID:0<=navigator.appVersion.indexOf("Android"),IS_IOS:/iP(hone|od|ad)/.test(navigator.platform)||navigator.userAgent.match(/Mac/)&&navigator.maxTouchPoints&&2<navigator.maxTouchPoints,IS_WEBVIEW:/((iPhone|iPod|iPad).*AppleWebKit(?!.*Version)|; wv)/i.test(navigator.userAgent),IS_GC:/Google Inc/.test(navigator.vendor),IS_CHROMEAPP:null!=window.chrome&&null!=chrome.app&&null!=chrome.app.runtime,IS_FF:-1<navigator.userAgent.toLowerCase().indexOf("firefox"),IS_MT:0<=navigator.userAgent.indexOf("Firefox/")&&
0>navigator.userAgent.indexOf("Firefox/1.")&&0>navigator.userAgent.indexOf("Firefox/2.")||0<=navigator.userAgent.indexOf("Iceweasel/")&&0>navigator.userAgent.indexOf("Iceweasel/1.")&&0>navigator.userAgent.indexOf("Iceweasel/2.")||0<=navigator.userAgent.indexOf("SeaMonkey/")&&0>navigator.userAgent.indexOf("SeaMonkey/1.")||0<=navigator.userAgent.indexOf("Iceape/")&&0>navigator.userAgent.indexOf("Iceape/1."),IS_SVG:"MICROSOFT INTERNET EXPLORER"!=navigator.appName.toUpperCase(),NO_FO:!document.createElementNS||
@@ -111,57 +111,57 @@ null!=b?b:" ",c=null!=c?c:"",d=null!=d?d:"\n",null!=a.namespaceURI&&a.namespace
0<a.length&&f.push(c+"\x3c!--"+a+"--\x3e"+d);else if(a.nodeType==mxConstants.NODETYPE_TEXT)a=mxUtils.trim(mxUtils.getTextContent(a)),0<a.length&&f.push(c+mxUtils.htmlEntities(a,!1,!1)+d);else if(a.nodeType==mxConstants.NODETYPE_CDATA)a=mxUtils.getTextContent(a),0<a.length&&f.push(c+"<![CDATA["+a+"]]"+d);else{f.push(c+"<"+a.nodeName);g=a.attributes;if(null!=g)for(var k=0;k<g.length;k++){var l=mxUtils.htmlEntities(g[k].value);f.push(" "+g[k].nodeName+'="'+l+'"')}g=a.firstChild;if(null!=g){for(f.push(">"+
d);null!=g;)f.push(mxUtils.getPrettyXml(g,b,c+b,d,e)),g=g.nextSibling;f.push(c+"</"+a.nodeName+">"+d)}else f.push(" />"+d)}return f.join("")},extractTextWithWhitespace:function(a){function b(e){if(1!=e.length||"BR"!=e[0].nodeName&&"\n"!=e[0].innerHTML)for(var f=0;f<e.length;f++){var g=e[f];"BR"==g.nodeName||"\n"==g.innerHTML||(1==e.length||0==f)&&"DIV"==g.nodeName&&"<br>"==g.innerHTML.toLowerCase()?d.push("\n"):(3===g.nodeType||4===g.nodeType?0<g.nodeValue.length&&d.push(g.nodeValue):8!==g.nodeType&&
0<g.childNodes.length&&b(g.childNodes),f<e.length-1&&0<=mxUtils.indexOf(c,e[f+1].nodeName)&&d.push("\n"))}}var c="BLOCKQUOTE DIV H1 H2 H3 H4 H5 H6 OL P PRE TABLE UL".split(" "),d=[];b(a);return d.join("")},replaceTrailingNewlines:function(a,b){for(var c="";0<a.length&&"\n"==a.charAt(a.length-1);)a=a.substring(0,a.length-1),c+=b;return a+c},getNodeValue:function(a){a=a.firstChild;for(var b=[];null!=a;)a.nodeType!=mxConstants.NODETYPE_TEXT&&a.nodeType!=mxConstants.NODETYPE_CDATA||null==a.nodeValue||
-b.push(mxUtils.trim(a.nodeValue)),a=a.nextSibling;return 0<b.length?b.join(""):""},getTextContent:function(a){return mxClient.IS_IE&&void 0!==a.innerText?a.innerText:null!=a?a[void 0===a.textContent?"text":"textContent"]:""},setTextContent:function(a,b){void 0!==a.innerText?a.innerText=b:a[void 0===a.textContent?"text":"textContent"]=b},getInnerHtml:function(){return mxClient.IS_IE?function(a){return null!=a?a.innerHTML:""}:function(a){return null!=a?(new XMLSerializer).serializeToString(a):""}}(),
-getOuterHtml:function(){return mxClient.IS_IE?function(a){if(null!=a){if(null!=a.outerHTML)return a.outerHTML;var b=[];b.push("<"+a.nodeName);var c=a.attributes;if(null!=c)for(var d=0;d<c.length;d++){var e=c[d].value;null!=e&&0<e.length&&(b.push(" "),b.push(c[d].nodeName),b.push('="'),b.push(e),b.push('"'))}0==a.innerHTML.length?b.push("/>"):(b.push(">"),b.push(a.innerHTML),b.push("</"+a.nodeName+">"));return b.join("")}return""}:function(a){return null!=a?(new XMLSerializer).serializeToString(a):
-""}}(),write:function(a,b){b=a.ownerDocument.createTextNode(b);null!=a&&a.appendChild(b);return b},writeln:function(a,b){b=a.ownerDocument.createTextNode(b);null!=a&&(a.appendChild(b),a.appendChild(document.createElement("br")));return b},br:function(a,b){b=b||1;for(var c=null,d=0;d<b;d++)null!=a&&(c=a.ownerDocument.createElement("br"),a.appendChild(c));return c},button:function(a,b,c,d){c=null!=c?c:document;c=c.createElement("button");mxUtils.write(c,a);mxEvent.addListener(c,"click",function(e){b(e)});
-null!=d&&(c.className=d);return c},para:function(a,b){var c=document.createElement("p");mxUtils.write(c,b);null!=a&&a.appendChild(c);return c},addTransparentBackgroundFilter:function(a){a.style.filter+="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+mxClient.imageBasePath+"/transparent.gif', sizingMethod='scale')"},linkAction:function(a,b,c,d,e){return mxUtils.link(a,b,function(){c.execute(d)},e)},linkInvoke:function(a,b,c,d,e,f){return mxUtils.link(a,b,function(){c[d](e)},f)},link:function(a,
-b,c,d){var e=document.createElement("span");e.style.color="blue";e.style.textDecoration="underline";e.style.cursor="pointer";null!=d&&(e.style.paddingLeft=d+"px");mxEvent.addListener(e,"click",c);mxUtils.write(e,b);null!=a&&a.appendChild(e);return e},getDocumentSize:function(){var a=document.body,b=document.documentElement;try{return new mxRectangle(0,0,a.clientWidth||b.clientWidth,Math.max(a.clientHeight||0,b.clientHeight))}catch(c){return new mxRectangle}},fit:function(a,b){b=b||0;var c=mxUtils.getDocumentSize(),
-d=parseInt(a.offsetLeft),e=parseInt(a.offsetWidth),f=mxUtils.getDocumentScrollOrigin(a.ownerDocument),g=f.x;f=f.y;var k=g+c.width-b;d+e>k&&(a.style.left=Math.max(g+b,k-e)+"px");d=parseInt(a.offsetTop);e=parseInt(a.offsetHeight);c=f+c.height-b;d+e>c&&(a.style.top=Math.max(f+b,c-e)+"px")},load:function(a){a=new mxXmlRequest(a,null,"GET",!1);a.send();return a},get:function(a,b,c,d,e,f,g){a=new mxXmlRequest(a,null,"GET");var k=a.setRequestHeaders;g&&(a.setRequestHeaders=function(l,m){k.apply(this,arguments);
-for(var n in g)l.setRequestHeader(n,g[n])});null!=d&&a.setBinary(d);a.send(b,c,e,f);return a},getAll:function(a,b,c){for(var d=a.length,e=[],f=0,g=function(){0==f&&null!=c&&c();f++},k=0;k<a.length;k++)(function(l,m){mxUtils.get(l,function(n){var p=n.getStatus();200>p||299<p?g():(e[m]=n,d--,0==d&&b(e))},g)})(a[k],k);0==d&&b(e)},post:function(a,b,c,d){return(new mxXmlRequest(a,b)).send(c,d)},submit:function(a,b,c,d){return(new mxXmlRequest(a,b)).simulate(c,d)},loadInto:function(a,b,c){mxClient.IS_IE?
-b.onreadystatechange=function(){4==b.readyState&&c()}:b.addEventListener("load",c,!1);b.load(a)},getValue:function(a,b,c){a=null!=a?a[b]:null;null==a&&(a=c);return a},getNumber:function(a,b,c){a=null!=a?a[b]:null;null==a&&(a=c||0);return Number(a)},getColor:function(a,b,c){a=null!=a?a[b]:null;null==a?a=c:a==mxConstants.NONE&&(a=null);return a},isEmptyObject:function(a){for(var b in a)return!1;return!0},clone:function(a,b,c){c=null!=c?c:!1;var d=null;if(null!=a&&"function"==typeof a.constructor)if(a.constructor===
-Element)d=a.cloneNode(null!=c?!c:!1);else{d=new a.constructor;for(var e in a)e!=mxObjectIdentity.FIELD_NAME&&(null==b||0>mxUtils.indexOf(b,e))&&(d[e]=c||"object"!=typeof a[e]?a[e]:mxUtils.clone(a[e]))}return d},equalPoints:function(a,b){if(null==a&&null!=b||null!=a&&null==b||null!=a&&null!=b&&a.length!=b.length)return!1;if(null!=a&&null!=b)for(var c=0;c<a.length;c++)if(null!=a[c]&&null==b[c]||null==a[c]&&null!=b[c]||null!=a[c]&&null!=b[c]&&(a[c].x!=b[c].x||a[c].y!=b[c].y))return!1;return!0},equalEntries:function(a,
-b){var c=0;if(null==a&&null!=b||null!=a&&null==b||null!=a&&null!=b&&a.length!=b.length)return!1;if(null!=a&&null!=b){for(var d in b)c++;for(d in a)if(c--,!(mxUtils.isNaN(a[d])&&mxUtils.isNaN(b[d])||a[d]==b[d]))return!1}return 0==c},removeDuplicates:function(a){for(var b=new mxDictionary,c=[],d=0;d<a.length;d++)b.get(a[d])||(c.push(a[d]),b.put(a[d],!0));return c},isNaN:function(a){return"number"==typeof a&&isNaN(a)},extend:function(a,b){var c=function(){};c.prototype=b.prototype;a.prototype=new c;
-a.prototype.constructor=a},toString:function(a){var b="",c;for(c in a)try{if(null==a[c])b+=c+" = [null]\n";else if("function"==typeof a[c])b+=c+" => [Function]\n";else if("object"==typeof a[c]){var d=mxUtils.getFunctionName(a[c].constructor);b+=c+" => ["+d+"]\n"}else b+=c+" = "+a[c]+"\n"}catch(e){b+=c+"="+e.message}return b},toRadians:function(a){return Math.PI*a/180},toDegree:function(a){return 180*a/Math.PI},arcToCurves:function(a,b,c,d,e,f,g,k,l){k-=a;l-=b;if(0===c||0===d)return E;c=Math.abs(c);
-d=Math.abs(d);var m=-k/2,n=-l/2,p=Math.cos(e*Math.PI/180);E=Math.sin(e*Math.PI/180);e=p*m+E*n;m=-1*E*m+p*n;n=e*e;var r=m*m,q=c*c,t=d*d,u=n/q+r/t;1<u?(c*=Math.sqrt(u),d*=Math.sqrt(u),f=0):(u=1,f===g&&(u=-1),f=u*Math.sqrt((q*t-q*r-t*n)/(q*r+t*n)));n=f*c*m/d;r=-1*f*d*e/c;k=p*n-E*r+k/2;l=E*n+p*r+l/2;q=Math.atan2((m-r)/d,(e-n)/c)-Math.atan2(0,1);f=0<=q?q:2*Math.PI+q;q=Math.atan2((-m-r)/d,(-e-n)/c)-Math.atan2((m-r)/d,(e-n)/c);e=0<=q?q:2*Math.PI+q;0==g&&0<e?e-=2*Math.PI:0!=g&&0>e&&(e+=2*Math.PI);g=2*e/Math.PI;
-g=Math.ceil(0>g?-1*g:g);e/=g;m=8/3*Math.sin(e/4)*Math.sin(e/4)/Math.sin(e/2);n=p*c;p*=d;c*=E;d*=E;var v=Math.cos(f),z=Math.sin(f);r=-m*(n*z+d*v);q=-m*(c*z-p*v);for(var E=[],C=0;C<g;++C){f+=e;v=Math.cos(f);z=Math.sin(f);t=n*v-d*z+k;u=c*v+p*z+l;var F=-m*(n*z+d*v);v=-m*(c*z-p*v);z=6*C;E[z]=Number(r+a);E[z+1]=Number(q+b);E[z+2]=Number(t-F+a);E[z+3]=Number(u-v+b);E[z+4]=Number(t+a);E[z+5]=Number(u+b);r=t+F;q=u+v}return E},getBoundingBox:function(a,b,c){var d=null;if(null!=a&&null!=b&&0!=b){b=mxUtils.toRadians(b);
-d=Math.cos(b);var e=Math.sin(b);c=null!=c?c:new mxPoint(a.x+a.width/2,a.y+a.height/2);var f=new mxPoint(a.x,a.y);b=new mxPoint(a.x+a.width,a.y);var g=new mxPoint(b.x,a.y+a.height);a=new mxPoint(a.x,g.y);f=mxUtils.getRotatedPoint(f,d,e,c);b=mxUtils.getRotatedPoint(b,d,e,c);g=mxUtils.getRotatedPoint(g,d,e,c);a=mxUtils.getRotatedPoint(a,d,e,c);d=new mxRectangle(f.x,f.y,0,0);d.add(new mxRectangle(b.x,b.y,0,0));d.add(new mxRectangle(g.x,g.y,0,0));d.add(new mxRectangle(a.x,a.y,0,0))}return d},getRotatedPoint:function(a,
-b,c,d){d=null!=d?d:new mxPoint;var e=a.x-d.x;a=a.y-d.y;return new mxPoint(e*b-a*c+d.x,a*b+e*c+d.y)},getPortConstraints:function(a,b,c,d){b=mxUtils.getValue(a.style,mxConstants.STYLE_PORT_CONSTRAINT,mxUtils.getValue(b.style,c?mxConstants.STYLE_SOURCE_PORT_CONSTRAINT:mxConstants.STYLE_TARGET_PORT_CONSTRAINT,null));if(null==b)return d;d=b.toString();b=mxConstants.DIRECTION_MASK_NONE;c=0;1==mxUtils.getValue(a.style,mxConstants.STYLE_PORT_CONSTRAINT_ROTATION,0)&&(c=mxUtils.getValue(a.style,mxConstants.STYLE_ROTATION,
-0));a=0;45<c?(a=1,135<=c&&(a=2)):-45>c&&(a=3,-135>=c&&(a=2));if(0<=d.indexOf(mxConstants.DIRECTION_NORTH))switch(a){case 0:b|=mxConstants.DIRECTION_MASK_NORTH;break;case 1:b|=mxConstants.DIRECTION_MASK_EAST;break;case 2:b|=mxConstants.DIRECTION_MASK_SOUTH;break;case 3:b|=mxConstants.DIRECTION_MASK_WEST}if(0<=d.indexOf(mxConstants.DIRECTION_WEST))switch(a){case 0:b|=mxConstants.DIRECTION_MASK_WEST;break;case 1:b|=mxConstants.DIRECTION_MASK_NORTH;break;case 2:b|=mxConstants.DIRECTION_MASK_EAST;break;
-case 3:b|=mxConstants.DIRECTION_MASK_SOUTH}if(0<=d.indexOf(mxConstants.DIRECTION_SOUTH))switch(a){case 0:b|=mxConstants.DIRECTION_MASK_SOUTH;break;case 1:b|=mxConstants.DIRECTION_MASK_WEST;break;case 2:b|=mxConstants.DIRECTION_MASK_NORTH;break;case 3:b|=mxConstants.DIRECTION_MASK_EAST}if(0<=d.indexOf(mxConstants.DIRECTION_EAST))switch(a){case 0:b|=mxConstants.DIRECTION_MASK_EAST;break;case 1:b|=mxConstants.DIRECTION_MASK_SOUTH;break;case 2:b|=mxConstants.DIRECTION_MASK_WEST;break;case 3:b|=mxConstants.DIRECTION_MASK_NORTH}return b},
-reversePortConstraints:function(a){var b=(a&mxConstants.DIRECTION_MASK_WEST)<<3;b|=(a&mxConstants.DIRECTION_MASK_NORTH)<<1;b|=(a&mxConstants.DIRECTION_MASK_SOUTH)>>1;return b|(a&mxConstants.DIRECTION_MASK_EAST)>>3},findNearestSegment:function(a,b,c){var d=-1;if(0<a.absolutePoints.length)for(var e=a.absolutePoints[0],f=null,g=1;g<a.absolutePoints.length;g++){var k=a.absolutePoints[g];e=mxUtils.ptSegDistSq(e.x,e.y,k.x,k.y,b,c);if(null==f||e<f)f=e,d=g-1;e=k}return d},getDirectedBounds:function(a,b,c,
-d,e){var f=mxUtils.getValue(c,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST);d=null!=d?d:mxUtils.getValue(c,mxConstants.STYLE_FLIPH,!1);e=null!=e?e:mxUtils.getValue(c,mxConstants.STYLE_FLIPV,!1);b.x=Math.round(Math.max(0,Math.min(a.width,b.x)));b.y=Math.round(Math.max(0,Math.min(a.height,b.y)));b.width=Math.round(Math.max(0,Math.min(a.width,b.width)));b.height=Math.round(Math.max(0,Math.min(a.height,b.height)));if(e&&(f==mxConstants.DIRECTION_SOUTH||f==mxConstants.DIRECTION_NORTH)||d&&(f==
-mxConstants.DIRECTION_EAST||f==mxConstants.DIRECTION_WEST))c=b.x,b.x=b.width,b.width=c;if(d&&(f==mxConstants.DIRECTION_SOUTH||f==mxConstants.DIRECTION_NORTH)||e&&(f==mxConstants.DIRECTION_EAST||f==mxConstants.DIRECTION_WEST))c=b.y,b.y=b.height,b.height=c;d=mxRectangle.fromRectangle(b);f==mxConstants.DIRECTION_SOUTH?(d.y=b.x,d.x=b.height,d.width=b.y,d.height=b.width):f==mxConstants.DIRECTION_WEST?(d.y=b.height,d.x=b.width,d.width=b.x,d.height=b.y):f==mxConstants.DIRECTION_NORTH&&(d.y=b.width,d.x=b.y,
-d.width=b.height,d.height=b.x);return new mxRectangle(a.x+d.x,a.y+d.y,a.width-d.width-d.x,a.height-d.height-d.y)},getPerimeterPoint:function(a,b,c){for(var d=null,e=0;e<a.length-1;e++){var f=mxUtils.intersection(a[e].x,a[e].y,a[e+1].x,a[e+1].y,b.x,b.y,c.x,c.y);if(null!=f){var g=c.x-f.x,k=c.y-f.y;f={p:f,distSq:k*k+g*g};null!=f&&(null==d||d.distSq>f.distSq)&&(d=f)}}return null!=d?d.p:null},intersectsPoints:function(a,b){for(var c=0;c<b.length-1;c++)if(mxUtils.rectangleIntersectsSegment(a,b[c],b[c+1]))return!0;
-return!1},rectangleIntersectsSegment:function(a,b,c){var d=a.y,e=a.x,f=d+a.height,g=e+a.width;a=b.x;var k=c.x;b.x>c.x&&(a=c.x,k=b.x);k>g&&(k=g);a<e&&(a=e);if(a>k)return!1;e=b.y;g=c.y;var l=c.x-b.x;1E-7<Math.abs(l)&&(c=(c.y-b.y)/l,b=b.y-c*b.x,e=c*a+b,g=c*k+b);e>g&&(b=g,g=e,e=b);g>f&&(g=f);e<d&&(e=d);return e>g?!1:!0},contains:function(a,b,c){return a.x<=b&&a.x+a.width>=b&&a.y<=c&&a.y+a.height>=c},intersects:function(a,b,c){var d=a.width,e=a.height,f=b.width,g=b.height;if(!c&&(0>=f||0>=g||0>=d||0>=
-e))return!1;c=a.x;a=a.y;var k=b.x;b=b.y;f+=k;g+=b;d+=c;e+=a;return(f<k||f>c)&&(g<b||g>a)&&(d<c||d>k)&&(e<a||e>b)},intersectsHotspot:function(a,b,c,d,e,f){d=null!=d?d:1;e=null!=e?e:0;f=null!=f?f:0;if(0<d){var g=a.getCenterX(),k=a.getCenterY(),l=a.width,m=a.height,n=mxUtils.getValue(a.style,mxConstants.STYLE_STARTSIZE)*a.view.scale;0<n&&(mxUtils.getValue(a.style,mxConstants.STYLE_HORIZONTAL,!0)?(k=a.y+n/2,m=n):(g=a.x+n/2,l=n));l=Math.max(e,l*d);m=Math.max(e,m*d);0<f&&(l=Math.min(l,f),m=Math.min(m,f));
-d=new mxRectangle(g-l/2,k-m/2,l,m);g=mxUtils.toRadians(mxUtils.getValue(a.style,mxConstants.STYLE_ROTATION)||0);0!=g&&(e=Math.cos(-g),f=Math.sin(-g),g=new mxPoint(a.getCenterX(),a.getCenterY()),a=mxUtils.getRotatedPoint(new mxPoint(b,c),e,f,g),b=a.x,c=a.y);return mxUtils.contains(d,b,c)}return!0},getOffset:function(a,b){for(var c=0,d=0,e=!1,f=a,g=document.body,k=document.documentElement;null!=f&&f!=g&&f!=k&&!e;){var l=mxUtils.getCurrentStyle(f);null!=l&&(e=e||"fixed"==l.position);f=f.parentNode}b||
-e||(b=mxUtils.getDocumentScrollOrigin(a.ownerDocument),c+=b.x,d+=b.y);a=a.getBoundingClientRect();null!=a&&(c+=a.left,d+=a.top);return new mxPoint(c,d)},getDocumentScrollOrigin:function(a){a=a.defaultView||a.parentWindow;return new mxPoint(null!=a&&void 0!==window.pageXOffset?window.pageXOffset:(document.documentElement||document.body.parentNode||document.body).scrollLeft,null!=a&&void 0!==window.pageYOffset?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop)},
-getScrollOrigin:function(a,b,c){b=null!=b?b:!1;c=null!=c?c:!0;for(var d=null!=a?a.ownerDocument:document,e=d.body,f=d.documentElement,g=new mxPoint,k=!1;null!=a&&a!=e&&a!=f;){isNaN(a.scrollLeft)||isNaN(a.scrollTop)||(g.x+=a.scrollLeft,g.y+=a.scrollTop);var l=mxUtils.getCurrentStyle(a);null!=l&&(k=k||"fixed"==l.position);a=b?a.parentNode:null}!k&&c&&(a=mxUtils.getDocumentScrollOrigin(d),g.x+=a.x,g.y+=a.y);return g},convertPoint:function(a,b,c){var d=mxUtils.getScrollOrigin(a,!1);a=mxUtils.getOffset(a);
-a.x-=d.x;a.y-=d.y;return new mxPoint(b-a.x,c-a.y)},removeJavascriptProtocol:function(a){for(a=null!=a?mxUtils.zapGremlins(a):null;null!=a&&"javascript:"===mxUtils.ltrim(a.toLowerCase()).substring(0,11);)a=a.substring(a.toLowerCase().indexOf(":")+1);return a},zapGremlins:function(a){for(var b=0,c=[],d=0;d<a.length;d++){var e=a.charCodeAt(d);(32<=e||9==e||10==e||13==e)&&65535!=e&&65534!=e||(c.push(a.substring(b,d)),b=d+1)}0<b&&b<a.length&&c.push(a.substring(b));return 0==c.length?a:c.join("")},ltrim:function(a,
-b){return null!=a?a.replace(new RegExp("^["+(b||"\\s|\\0")+"]+","g"),""):null},rtrim:function(a,b){return null!=a?a.replace(new RegExp("["+(b||"\\s|\\0")+"]+$","g"),""):null},trim:function(a,b){return mxUtils.ltrim(mxUtils.rtrim(a,b),b)},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)&&("string"!=typeof a||0>a.toLowerCase().indexOf("0x"))},isInteger:function(a){return String(parseInt(a))===String(a)},mod:function(a,b){return(a%b+b)%b},intersection:function(a,b,c,d,e,f,g,k){var l=(k-
-f)*(c-a)-(g-e)*(d-b);g=((g-e)*(b-f)-(k-f)*(a-e))/l;e=((c-a)*(b-f)-(d-b)*(a-e))/l;return 0<=g&&1>=g&&0<=e&&1>=e?new mxPoint(a+g*(c-a),b+g*(d-b)):null},ptSegDistSq:function(a,b,c,d,e,f){c-=a;d-=b;e-=a;f-=b;0>=e*c+f*d?c=0:(e=c-e,f=d-f,a=e*c+f*d,c=0>=a?0:a*a/(c*c+d*d));e=e*e+f*f-c;0>e&&(e=0);return e},ptLineDist:function(a,b,c,d,e,f){return Math.abs((d-b)*e-(c-a)*f+c*b-d*a)/Math.sqrt((d-b)*(d-b)+(c-a)*(c-a))},relativeCcw:function(a,b,c,d,e,f){c-=a;d-=b;e-=a;f-=b;a=e*d-f*c;0==a&&(a=e*c+f*d,0<a&&(a=(e-
-c)*c+(f-d)*d,0>a&&(a=0)));return 0>a?-1:0<a?1:0},animateChanges:function(a,b){mxEffects.animateChanges.apply(this,arguments)},cascadeOpacity:function(a,b,c){mxEffects.cascadeOpacity.apply(this,arguments)},fadeOut:function(a,b,c,d,e,f){mxEffects.fadeOut.apply(this,arguments)},setOpacity:function(a,b){mxClient.IS_IE&&("undefined"===typeof document.documentMode||9>document.documentMode)?a.style.filter=100<=b?"":"alpha(opacity="+b+")":a.style.opacity=b/100},createElementNs:function(a,b,c){if(null!=a.createElementNS)return a.createElementNS(b,
-c);a=a.createElement(c);null!=namespace&&a.setAttribute("xmlns",b);return a},createImage:function(a){var b=document.createElement("img");b.setAttribute("src",a);b.setAttribute("border","0");return b},sortCells:function(a,b){b=null!=b?b:!0;var c=new mxDictionary;a.sort(function(d,e){var f=c.get(d);null==f&&(f=mxCellPath.create(d).split(mxCellPath.PATH_SEPARATOR),c.put(d,f));d=c.get(e);null==d&&(d=mxCellPath.create(e).split(mxCellPath.PATH_SEPARATOR),c.put(e,d));e=mxCellPath.compare(f,d);return 0==
-e?0:0<e==b?1:-1});return a},getStylename:function(a){return null!=a&&(a=a.split(";")[0],0>a.indexOf("="))?a:""},getStylenames:function(a){var b=[];if(null!=a){a=a.split(";");for(var c=0;c<a.length;c++)0>a[c].indexOf("=")&&b.push(a[c])}return b},indexOfStylename:function(a,b){if(null!=a&&null!=b){a=a.split(";");for(var c=0,d=0;d<a.length;d++){if(a[d]==b)return c;c+=a[d].length+1}}return-1},addStylename:function(a,b){0>mxUtils.indexOfStylename(a,b)&&(null==a?a="":0<a.length&&";"!=a.charAt(a.length-
-1)&&(a+=";"),a+=b);return a},removeStylename:function(a,b){var c=[];if(null!=a){a=a.split(";");for(var d=0;d<a.length;d++)a[d]!=b&&c.push(a[d])}return c.join(";")},removeAllStylenames:function(a){var b=[];if(null!=a){a=a.split(";");for(var c=0;c<a.length;c++)0<=a[c].indexOf("=")&&b.push(a[c])}return b.join(";")},setCellStyles:function(a,b,c,d){if(null!=b&&0<b.length){a.beginUpdate();try{for(var e=0;e<b.length;e++)if(null!=b[e]){var f=mxUtils.setStyle(a.getStyle(b[e]),c,d);a.setStyle(b[e],f)}}finally{a.endUpdate()}}},
-parseHexColor:function(a,b){var c=null;if(null!=a&&7<=a.length&&"#"==a.charAt(0)){c=parseInt(a.substring(1,3),16);var d=parseInt(a.substring(3,5),16),e=parseInt(a.substring(5,7),16);b=null!=b?b:1;7<a.length&&(b=parseInt(a.substring(7,9),16)/255);c={r:c,g:d,b:e,a:b}}return c},hex2rgb:function(a){var b=mxUtils.parseHexColor(a);null!=b&&(a="rgb("+b.r+", "+b.g+", "+b.b+")");return a},hex2rgba:function(a,b){b=mxUtils.parseHexColor(a,b);null!=b&&(a="rgba("+b.r+", "+b.g+", "+b.b+", "+b.a+")");return a},
-rgba2hex:function(a){return(rgb=a&&a.match?a.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i):a)&&4===rgb.length?"#"+("0"+parseInt(rgb[1],10).toString(16)).slice(-2)+("0"+parseInt(rgb[2],10).toString(16)).slice(-2)+("0"+parseInt(rgb[3],10).toString(16)).slice(-2):a},setStyle:function(a,b,c){var d=null!=c&&("undefined"==typeof c.length||0<c.length);if(null==a||0==a.length)d&&(a=b+"="+c+";");else if(a.substring(0,b.length+1)==b+"="){var e=a.indexOf(";");a=d?b+"="+c+(0>e?
-";":a.substring(e)):0>e||e==a.length-1?"":a.substring(e+1)}else{var f=a.indexOf(";"+b+"=");0>f?d&&(d=";"==a.charAt(a.length-1)?"":";",a=a+d+b+"="+c+";"):(e=a.indexOf(";",f+1),a=d?a.substring(0,f+1)+b+"="+c+(0>e?";":a.substring(e)):a.substring(0,f)+(0>e?";":a.substring(e)))}return a},setCellStyleFlags:function(a,b,c,d,e){if(null!=b&&0<b.length){a.beginUpdate();try{for(var f=0;f<b.length;f++)if(null!=b[f]){var g=mxUtils.setStyleFlag(a.getStyle(b[f]),c,d,e);a.setStyle(b[f],g)}}finally{a.endUpdate()}}},
-setStyleFlag:function(a,b,c,d){if(null==a||0==a.length)a=d||null==d?b+"="+c:b+"=0";else{var e=a.indexOf(b+"=");if(0>e)e=";"==a.charAt(a.length-1)?"":";",a=d||null==d?a+e+b+"="+c:a+e+b+"=0";else{var f=a.indexOf(";",e),g=0>f?a.substring(e+b.length+1):a.substring(e+b.length+1,f);g=null==d?parseInt(g)^c:d?parseInt(g)|c:parseInt(g)&~c;a=a.substring(0,e)+b+"="+g+(0<=f?a.substring(f):"")}}return a},getAlignmentAsPoint:function(a,b){var c=-.5,d=-.5;a==mxConstants.ALIGN_LEFT?c=0:a==mxConstants.ALIGN_RIGHT&&
-(c=-1);b==mxConstants.ALIGN_TOP?d=0:b==mxConstants.ALIGN_BOTTOM&&(d=-1);return new mxPoint(c,d)},getSizeForString:function(a,b,c,d,e){b=null!=b?b:mxConstants.DEFAULT_FONTSIZE;c=null!=c?c:mxConstants.DEFAULT_FONTFAMILY;var f=document.createElement("div");f.style.fontFamily=c;f.style.fontSize=Math.round(b)+"px";f.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?b*mxConstants.LINE_HEIGHT+"px":mxConstants.LINE_HEIGHT*mxSvgCanvas2D.prototype.lineHeightCorrection;null!=e&&((e&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD&&
-(f.style.fontWeight="bold"),(e&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC&&(f.style.fontStyle="italic"),b=[],(e&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&b.push("underline"),(e&mxConstants.FONT_STRIKETHROUGH)==mxConstants.FONT_STRIKETHROUGH&&b.push("line-through"),0<b.length&&(f.style.textDecoration=b.join(" ")));f.style.position="absolute";f.style.visibility="hidden";f.style.display="inline-block";f.style.zoom="1";null!=d?(f.style.width=d+"px",f.style.whiteSpace="normal"):f.style.whiteSpace=
-"nowrap";f.innerHTML=a;document.body.appendChild(f);a=new mxRectangle(0,0,f.offsetWidth,f.offsetHeight);document.body.removeChild(f);return a},getViewXml:function(a,b,c,d,e){d=null!=d?d:0;e=null!=e?e:0;b=null!=b?b:1;null==c&&(c=[a.getModel().getRoot()]);var f=a.getView(),g=null,k=f.isEventsEnabled();f.setEventsEnabled(!1);var l=f.drawPane,m=f.overlayPane;a.dialect==mxConstants.DIALECT_SVG?(f.drawPane=document.createElementNS(mxConstants.NS_SVG,"g"),f.canvas.appendChild(f.drawPane),f.overlayPane=document.createElementNS(mxConstants.NS_SVG,
-"g")):(f.drawPane=f.drawPane.cloneNode(!1),f.canvas.appendChild(f.drawPane),f.overlayPane=f.overlayPane.cloneNode(!1));f.canvas.appendChild(f.overlayPane);var n=f.getTranslate();f.translate=new mxPoint(d,e);b=new mxTemporaryCellStates(a.getView(),b,c);try{g=(new mxCodec).encode(a.getView())}finally{b.destroy(),f.translate=n,f.canvas.removeChild(f.drawPane),f.canvas.removeChild(f.overlayPane),f.drawPane=l,f.overlayPane=m,f.setEventsEnabled(k)}return g},getScaleForPageCount:function(a,b,c,d){if(1>a)return 1;
-c=null!=c?c:mxConstants.PAGE_FORMAT_A4_PORTRAIT;d=null!=d?d:0;var e=c.width-2*d;c=c.height-2*d;d=mxRectangle.fromRectangle(b.getGraphBounds());b=b.getView().getScale();d.width/=b;d.height/=b;b=d.width;var f=Math.sqrt(a);d=Math.sqrt(b/d.height/(e/c));c=f*d;d=f/d;if(1>c&&d>a){var g=d/a;d=a;c/=g}1>d&&c>a&&(g=c/a,c=a,d/=g);g=Math.ceil(c)*Math.ceil(d);for(f=0;g>a;){g=Math.floor(c)/c;var k=Math.floor(d)/d;1==g&&(g=Math.floor(c-1)/c);1==k&&(k=Math.floor(d-1)/d);g=g>k?g:k;c*=g;d*=g;g=Math.ceil(c)*Math.ceil(d);
-f++;if(10<f)break}return e*c/b*.99999},show:function(a,b,c,d,e,f){c=null!=c?c:0;d=null!=d?d:0;null==b?b=window.open().document:b.open();9==document.documentMode&&b.writeln('\x3c!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=9"><![endif]--\x3e');var g=a.getGraphBounds(),k=Math.ceil(c-g.x),l=Math.ceil(d-g.y);null==e&&(e=Math.ceil(g.width+c)+Math.ceil(Math.ceil(g.x)-g.x));null==f&&(f=Math.ceil(g.height+d)+Math.ceil(Math.ceil(g.y)-g.y));if(mxClient.IS_IE||11==document.documentMode){d="<html><head>";
-g=document.getElementsByTagName("base");for(c=0;c<g.length;c++)d+=g[c].outerHTML;d+="<style>";for(c=0;c<document.styleSheets.length;c++)try{d+=document.styleSheets[c].cssText}catch(m){}d=d+'</style></head><body style="margin:0px;"><div style="position:absolute;overflow:hidden;width:'+(e+"px;height:"+f+'px;"><div style="position:relative;left:'+k+"px;top:"+l+'px;">')+a.container.innerHTML;b.writeln(d+"</div></div></body><html>");b.close()}else{b.writeln("<html><head>");g=document.getElementsByTagName("base");
-for(c=0;c<g.length;c++)b.writeln(mxUtils.getOuterHtml(g[c]));d=document.getElementsByTagName("link");for(c=0;c<d.length;c++)b.writeln(mxUtils.getOuterHtml(d[c]));d=document.getElementsByTagName("style");for(c=0;c<d.length;c++)b.writeln(mxUtils.getOuterHtml(d[c]));b.writeln('</head><body style="margin:0px;"></body></html>');b.close();c=b.createElement("div");c.position="absolute";c.overflow="hidden";c.style.width=e+"px";c.style.height=f+"px";e=b.createElement("div");e.style.position="absolute";e.style.left=
-k+"px";e.style.top=l+"px";f=a.container.firstChild;for(d=null;null!=f;)g=f.cloneNode(!0),f==a.view.drawPane.ownerSVGElement?(c.appendChild(g),d=g):e.appendChild(g),f=f.nextSibling;b.body.appendChild(c);null!=e.firstChild&&b.body.appendChild(e);null!=d&&(d.style.minWidth="",d.style.minHeight="",d.firstChild.setAttribute("transform","translate("+k+","+l+")"))}mxUtils.removeCursors(b.body);return b},printScreen:function(a){var b=window.open();mxUtils.show(a,b.document);a=function(){b.focus();b.print();
-b.close()};mxClient.IS_GC?b.setTimeout(a,500):a()},popup:function(a,b){if(b){var c=document.createElement("div");c.style.overflow="scroll";c.style.width="636px";c.style.height="460px";b=document.createElement("pre");b.innerHTML=mxUtils.htmlEntities(a,!1).replace(/\n/g,"<br>").replace(/ /g,"&nbsp;");c.appendChild(b);c=new mxWindow("Popup Window",c,document.body.clientWidth/2-320,Math.max(document.body.clientHeight||0,document.documentElement.clientHeight)/2-240,640,480,!1,!0);c.setClosable(!0);c.setVisible(!0)}else mxClient.IS_NS?
-(c=window.open(),c.document.writeln("<pre>"+mxUtils.htmlEntities(a)+"</pre"),c.document.close()):(c=window.open(),b=c.document.createElement("pre"),b.innerHTML=mxUtils.htmlEntities(a,!1).replace(/\n/g,"<br>").replace(/ /g,"&nbsp;"),c.document.body.appendChild(b))},alert:function(a){alert(a)},prompt:function(a,b){return prompt(a,null!=b?b:"")},confirm:function(a){return confirm(a)},error:function(a,b,c,d){var e=document.createElement("div");e.style.padding="20px";var f=document.createElement("img");
-f.setAttribute("src",d||mxUtils.errorImage);f.setAttribute("valign","bottom");f.style.verticalAlign="middle";e.appendChild(f);e.appendChild(document.createTextNode(" "));e.appendChild(document.createTextNode(" "));e.appendChild(document.createTextNode(" "));mxUtils.write(e,a);a=document.body.clientWidth;d=document.body.clientHeight||document.documentElement.clientHeight;var g=new mxWindow(mxResources.get(mxUtils.errorResource)||mxUtils.errorResource,e,(a-b)/2,d/4,b,null,!1,!0);c&&(mxUtils.br(e),b=
-document.createElement("p"),c=document.createElement("button"),mxClient.IS_IE?c.style.cssText="float:right":c.setAttribute("style","float:right"),mxEvent.addListener(c,"click",function(k){g.destroy()}),mxUtils.write(c,mxResources.get(mxUtils.closeResource)||mxUtils.closeResource),b.appendChild(c),e.appendChild(b),mxUtils.br(e),g.setClosable(!0));g.setVisible(!0);return g},makeDraggable:function(a,b,c,d,e,f,g,k,l,m){a=new mxDragSource(a,c);a.dragOffset=new mxPoint(null!=e?e:0,null!=f?f:mxConstants.TOOLTIP_VERTICAL_OFFSET);
-a.autoscroll=g;a.setGuidesEnabled(!1);null!=l&&(a.highlightDropTargets=l);null!=m&&(a.getDropTarget=m);a.getGraphForEvent=function(n){return"function"==typeof b?b(n):b};null!=d&&(a.createDragElement=function(){return d.cloneNode(!0)},k&&(a.createPreviewElement=function(n){var p=d.cloneNode(!0),r=parseInt(p.style.width),q=parseInt(p.style.height);p.style.width=Math.round(r*n.view.scale)+"px";p.style.height=Math.round(q*n.view.scale)+"px";return p}));return a},format:function(a){return parseFloat(parseFloat(a).toFixed(2))}},
+b.push(mxUtils.trim(a.nodeValue)),a=a.nextSibling;return 0<b.length?b.join(""):""},getTextContent:function(a){return null!=a?a[void 0===a.textContent?"text":"textContent"]:""},setTextContent:function(a,b){void 0!==a.innerText?a.innerText=b:a[void 0===a.textContent?"text":"textContent"]=b},getInnerHtml:function(){return mxClient.IS_IE?function(a){return null!=a?a.innerHTML:""}:function(a){return null!=a?(new XMLSerializer).serializeToString(a):""}}(),getOuterHtml:function(){return mxClient.IS_IE?function(a){if(null!=
+a){if(null!=a.outerHTML)return a.outerHTML;var b=[];b.push("<"+a.nodeName);var c=a.attributes;if(null!=c)for(var d=0;d<c.length;d++){var e=c[d].value;null!=e&&0<e.length&&(b.push(" "),b.push(c[d].nodeName),b.push('="'),b.push(e),b.push('"'))}0==a.innerHTML.length?b.push("/>"):(b.push(">"),b.push(a.innerHTML),b.push("</"+a.nodeName+">"));return b.join("")}return""}:function(a){return null!=a?(new XMLSerializer).serializeToString(a):""}}(),write:function(a,b){b=a.ownerDocument.createTextNode(b);null!=
+a&&a.appendChild(b);return b},writeln:function(a,b){b=a.ownerDocument.createTextNode(b);null!=a&&(a.appendChild(b),a.appendChild(document.createElement("br")));return b},br:function(a,b){b=b||1;for(var c=null,d=0;d<b;d++)null!=a&&(c=a.ownerDocument.createElement("br"),a.appendChild(c));return c},button:function(a,b,c,d){c=null!=c?c:document;c=c.createElement("button");mxUtils.write(c,a);mxEvent.addListener(c,"click",function(e){b(e)});null!=d&&(c.className=d);return c},para:function(a,b){var c=document.createElement("p");
+mxUtils.write(c,b);null!=a&&a.appendChild(c);return c},addTransparentBackgroundFilter:function(a){a.style.filter+="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+mxClient.imageBasePath+"/transparent.gif', sizingMethod='scale')"},linkAction:function(a,b,c,d,e){return mxUtils.link(a,b,function(){c.execute(d)},e)},linkInvoke:function(a,b,c,d,e,f){return mxUtils.link(a,b,function(){c[d](e)},f)},link:function(a,b,c,d){var e=document.createElement("span");e.style.color="blue";e.style.textDecoration=
+"underline";e.style.cursor="pointer";null!=d&&(e.style.paddingLeft=d+"px");mxEvent.addListener(e,"click",c);mxUtils.write(e,b);null!=a&&a.appendChild(e);return e},getDocumentSize:function(){var a=document.body,b=document.documentElement;try{return new mxRectangle(0,0,a.clientWidth||b.clientWidth,Math.max(a.clientHeight||0,b.clientHeight))}catch(c){return new mxRectangle}},fit:function(a,b){b=b||0;var c=mxUtils.getDocumentSize(),d=parseInt(a.offsetLeft),e=parseInt(a.offsetWidth),f=mxUtils.getDocumentScrollOrigin(a.ownerDocument),
+g=f.x;f=f.y;var k=g+c.width-b;d+e>k&&(a.style.left=Math.max(g+b,k-e)+"px");d=parseInt(a.offsetTop);e=parseInt(a.offsetHeight);c=f+c.height-b;d+e>c&&(a.style.top=Math.max(f+b,c-e)+"px")},load:function(a){a=new mxXmlRequest(a,null,"GET",!1);a.send();return a},get:function(a,b,c,d,e,f,g){a=new mxXmlRequest(a,null,"GET");var k=a.setRequestHeaders;g&&(a.setRequestHeaders=function(l,m){k.apply(this,arguments);for(var n in g)l.setRequestHeader(n,g[n])});null!=d&&a.setBinary(d);a.send(b,c,e,f);return a},
+getAll:function(a,b,c){for(var d=a.length,e=[],f=0,g=function(){0==f&&null!=c&&c();f++},k=0;k<a.length;k++)(function(l,m){mxUtils.get(l,function(n){var p=n.getStatus();200>p||299<p?g():(e[m]=n,d--,0==d&&b(e))},g)})(a[k],k);0==d&&b(e)},post:function(a,b,c,d){return(new mxXmlRequest(a,b)).send(c,d)},submit:function(a,b,c,d){return(new mxXmlRequest(a,b)).simulate(c,d)},loadInto:function(a,b,c){mxClient.IS_IE?b.onreadystatechange=function(){4==b.readyState&&c()}:b.addEventListener("load",c,!1);b.load(a)},
+getValue:function(a,b,c){a=null!=a?a[b]:null;null==a&&(a=c);return a},getNumber:function(a,b,c){a=null!=a?a[b]:null;null==a&&(a=c||0);return Number(a)},getColor:function(a,b,c){a=null!=a?a[b]:null;null==a?a=c:a==mxConstants.NONE&&(a=null);return a},isEmptyObject:function(a){for(var b in a)return!1;return!0},clone:function(a,b,c){c=null!=c?c:!1;var d=null;if(null!=a&&"function"==typeof a.constructor)if(a.constructor===Element)d=a.cloneNode(null!=c?!c:!1);else{d=new a.constructor;for(var e in a)e!=
+mxObjectIdentity.FIELD_NAME&&(null==b||0>mxUtils.indexOf(b,e))&&(d[e]=c||"object"!=typeof a[e]?a[e]:mxUtils.clone(a[e]))}return d},equalPoints:function(a,b){if(null==a&&null!=b||null!=a&&null==b||null!=a&&null!=b&&a.length!=b.length)return!1;if(null!=a&&null!=b)for(var c=0;c<a.length;c++)if(null!=a[c]&&null==b[c]||null==a[c]&&null!=b[c]||null!=a[c]&&null!=b[c]&&(a[c].x!=b[c].x||a[c].y!=b[c].y))return!1;return!0},equalEntries:function(a,b){var c=0;if(null==a&&null!=b||null!=a&&null==b||null!=a&&null!=
+b&&a.length!=b.length)return!1;if(null!=a&&null!=b){for(var d in b)c++;for(d in a)if(c--,!(mxUtils.isNaN(a[d])&&mxUtils.isNaN(b[d])||a[d]==b[d]))return!1}return 0==c},removeDuplicates:function(a){for(var b=new mxDictionary,c=[],d=0;d<a.length;d++)b.get(a[d])||(c.push(a[d]),b.put(a[d],!0));return c},isNaN:function(a){return"number"==typeof a&&isNaN(a)},extend:function(a,b){var c=function(){};c.prototype=b.prototype;a.prototype=new c;a.prototype.constructor=a},toString:function(a){var b="",c;for(c in a)try{if(null==
+a[c])b+=c+" = [null]\n";else if("function"==typeof a[c])b+=c+" => [Function]\n";else if("object"==typeof a[c]){var d=mxUtils.getFunctionName(a[c].constructor);b+=c+" => ["+d+"]\n"}else b+=c+" = "+a[c]+"\n"}catch(e){b+=c+"="+e.message}return b},toRadians:function(a){return Math.PI*a/180},toDegree:function(a){return 180*a/Math.PI},arcToCurves:function(a,b,c,d,e,f,g,k,l){k-=a;l-=b;if(0===c||0===d)return E;c=Math.abs(c);d=Math.abs(d);var m=-k/2,n=-l/2,p=Math.cos(e*Math.PI/180);E=Math.sin(e*Math.PI/180);
+e=p*m+E*n;m=-1*E*m+p*n;n=e*e;var r=m*m,q=c*c,t=d*d,u=n/q+r/t;1<u?(c*=Math.sqrt(u),d*=Math.sqrt(u),f=0):(u=1,f===g&&(u=-1),f=u*Math.sqrt((q*t-q*r-t*n)/(q*r+t*n)));n=f*c*m/d;r=-1*f*d*e/c;k=p*n-E*r+k/2;l=E*n+p*r+l/2;q=Math.atan2((m-r)/d,(e-n)/c)-Math.atan2(0,1);f=0<=q?q:2*Math.PI+q;q=Math.atan2((-m-r)/d,(-e-n)/c)-Math.atan2((m-r)/d,(e-n)/c);e=0<=q?q:2*Math.PI+q;0==g&&0<e?e-=2*Math.PI:0!=g&&0>e&&(e+=2*Math.PI);g=2*e/Math.PI;g=Math.ceil(0>g?-1*g:g);e/=g;m=8/3*Math.sin(e/4)*Math.sin(e/4)/Math.sin(e/2);
+n=p*c;p*=d;c*=E;d*=E;var v=Math.cos(f),z=Math.sin(f);r=-m*(n*z+d*v);q=-m*(c*z-p*v);for(var E=[],C=0;C<g;++C){f+=e;v=Math.cos(f);z=Math.sin(f);t=n*v-d*z+k;u=c*v+p*z+l;var F=-m*(n*z+d*v);v=-m*(c*z-p*v);z=6*C;E[z]=Number(r+a);E[z+1]=Number(q+b);E[z+2]=Number(t-F+a);E[z+3]=Number(u-v+b);E[z+4]=Number(t+a);E[z+5]=Number(u+b);r=t+F;q=u+v}return E},getBoundingBox:function(a,b,c){var d=null;if(null!=a&&null!=b&&0!=b){b=mxUtils.toRadians(b);d=Math.cos(b);var e=Math.sin(b);c=null!=c?c:new mxPoint(a.x+a.width/
+2,a.y+a.height/2);var f=new mxPoint(a.x,a.y);b=new mxPoint(a.x+a.width,a.y);var g=new mxPoint(b.x,a.y+a.height);a=new mxPoint(a.x,g.y);f=mxUtils.getRotatedPoint(f,d,e,c);b=mxUtils.getRotatedPoint(b,d,e,c);g=mxUtils.getRotatedPoint(g,d,e,c);a=mxUtils.getRotatedPoint(a,d,e,c);d=new mxRectangle(f.x,f.y,0,0);d.add(new mxRectangle(b.x,b.y,0,0));d.add(new mxRectangle(g.x,g.y,0,0));d.add(new mxRectangle(a.x,a.y,0,0))}return d},getRotatedPoint:function(a,b,c,d){d=null!=d?d:new mxPoint;var e=a.x-d.x;a=a.y-
+d.y;return new mxPoint(e*b-a*c+d.x,a*b+e*c+d.y)},getPortConstraints:function(a,b,c,d){b=mxUtils.getValue(a.style,mxConstants.STYLE_PORT_CONSTRAINT,mxUtils.getValue(b.style,c?mxConstants.STYLE_SOURCE_PORT_CONSTRAINT:mxConstants.STYLE_TARGET_PORT_CONSTRAINT,null));if(null==b)return d;d=b.toString();b=mxConstants.DIRECTION_MASK_NONE;c=0;1==mxUtils.getValue(a.style,mxConstants.STYLE_PORT_CONSTRAINT_ROTATION,0)&&(c=mxUtils.getValue(a.style,mxConstants.STYLE_ROTATION,0));a=0;45<c?(a=1,135<=c&&(a=2)):-45>
+c&&(a=3,-135>=c&&(a=2));if(0<=d.indexOf(mxConstants.DIRECTION_NORTH))switch(a){case 0:b|=mxConstants.DIRECTION_MASK_NORTH;break;case 1:b|=mxConstants.DIRECTION_MASK_EAST;break;case 2:b|=mxConstants.DIRECTION_MASK_SOUTH;break;case 3:b|=mxConstants.DIRECTION_MASK_WEST}if(0<=d.indexOf(mxConstants.DIRECTION_WEST))switch(a){case 0:b|=mxConstants.DIRECTION_MASK_WEST;break;case 1:b|=mxConstants.DIRECTION_MASK_NORTH;break;case 2:b|=mxConstants.DIRECTION_MASK_EAST;break;case 3:b|=mxConstants.DIRECTION_MASK_SOUTH}if(0<=
+d.indexOf(mxConstants.DIRECTION_SOUTH))switch(a){case 0:b|=mxConstants.DIRECTION_MASK_SOUTH;break;case 1:b|=mxConstants.DIRECTION_MASK_WEST;break;case 2:b|=mxConstants.DIRECTION_MASK_NORTH;break;case 3:b|=mxConstants.DIRECTION_MASK_EAST}if(0<=d.indexOf(mxConstants.DIRECTION_EAST))switch(a){case 0:b|=mxConstants.DIRECTION_MASK_EAST;break;case 1:b|=mxConstants.DIRECTION_MASK_SOUTH;break;case 2:b|=mxConstants.DIRECTION_MASK_WEST;break;case 3:b|=mxConstants.DIRECTION_MASK_NORTH}return b},reversePortConstraints:function(a){var b=
+(a&mxConstants.DIRECTION_MASK_WEST)<<3;b|=(a&mxConstants.DIRECTION_MASK_NORTH)<<1;b|=(a&mxConstants.DIRECTION_MASK_SOUTH)>>1;return b|(a&mxConstants.DIRECTION_MASK_EAST)>>3},findNearestSegment:function(a,b,c){var d=-1;if(0<a.absolutePoints.length)for(var e=a.absolutePoints[0],f=null,g=1;g<a.absolutePoints.length;g++){var k=a.absolutePoints[g];e=mxUtils.ptSegDistSq(e.x,e.y,k.x,k.y,b,c);if(null==f||e<f)f=e,d=g-1;e=k}return d},getDirectedBounds:function(a,b,c,d,e){var f=mxUtils.getValue(c,mxConstants.STYLE_DIRECTION,
+mxConstants.DIRECTION_EAST);d=null!=d?d:mxUtils.getValue(c,mxConstants.STYLE_FLIPH,!1);e=null!=e?e:mxUtils.getValue(c,mxConstants.STYLE_FLIPV,!1);b.x=Math.round(Math.max(0,Math.min(a.width,b.x)));b.y=Math.round(Math.max(0,Math.min(a.height,b.y)));b.width=Math.round(Math.max(0,Math.min(a.width,b.width)));b.height=Math.round(Math.max(0,Math.min(a.height,b.height)));if(e&&(f==mxConstants.DIRECTION_SOUTH||f==mxConstants.DIRECTION_NORTH)||d&&(f==mxConstants.DIRECTION_EAST||f==mxConstants.DIRECTION_WEST))c=
+b.x,b.x=b.width,b.width=c;if(d&&(f==mxConstants.DIRECTION_SOUTH||f==mxConstants.DIRECTION_NORTH)||e&&(f==mxConstants.DIRECTION_EAST||f==mxConstants.DIRECTION_WEST))c=b.y,b.y=b.height,b.height=c;d=mxRectangle.fromRectangle(b);f==mxConstants.DIRECTION_SOUTH?(d.y=b.x,d.x=b.height,d.width=b.y,d.height=b.width):f==mxConstants.DIRECTION_WEST?(d.y=b.height,d.x=b.width,d.width=b.x,d.height=b.y):f==mxConstants.DIRECTION_NORTH&&(d.y=b.width,d.x=b.y,d.width=b.height,d.height=b.x);return new mxRectangle(a.x+
+d.x,a.y+d.y,a.width-d.width-d.x,a.height-d.height-d.y)},getPerimeterPoint:function(a,b,c){for(var d=null,e=0;e<a.length-1;e++){var f=mxUtils.intersection(a[e].x,a[e].y,a[e+1].x,a[e+1].y,b.x,b.y,c.x,c.y);if(null!=f){var g=c.x-f.x,k=c.y-f.y;f={p:f,distSq:k*k+g*g};null!=f&&(null==d||d.distSq>f.distSq)&&(d=f)}}return null!=d?d.p:null},intersectsPoints:function(a,b){for(var c=0;c<b.length-1;c++)if(mxUtils.rectangleIntersectsSegment(a,b[c],b[c+1]))return!0;return!1},rectangleIntersectsSegment:function(a,
+b,c){var d=a.y,e=a.x,f=d+a.height,g=e+a.width;a=b.x;var k=c.x;b.x>c.x&&(a=c.x,k=b.x);k>g&&(k=g);a<e&&(a=e);if(a>k)return!1;e=b.y;g=c.y;var l=c.x-b.x;1E-7<Math.abs(l)&&(c=(c.y-b.y)/l,b=b.y-c*b.x,e=c*a+b,g=c*k+b);e>g&&(b=g,g=e,e=b);g>f&&(g=f);e<d&&(e=d);return e>g?!1:!0},contains:function(a,b,c){return a.x<=b&&a.x+a.width>=b&&a.y<=c&&a.y+a.height>=c},intersects:function(a,b,c){var d=a.width,e=a.height,f=b.width,g=b.height;if(!c&&(0>=f||0>=g||0>=d||0>=e))return!1;c=a.x;a=a.y;var k=b.x;b=b.y;f+=k;g+=
+b;d+=c;e+=a;return(f<k||f>c)&&(g<b||g>a)&&(d<c||d>k)&&(e<a||e>b)},intersectsHotspot:function(a,b,c,d,e,f){d=null!=d?d:1;e=null!=e?e:0;f=null!=f?f:0;if(0<d){var g=a.getCenterX(),k=a.getCenterY(),l=a.width,m=a.height,n=mxUtils.getValue(a.style,mxConstants.STYLE_STARTSIZE)*a.view.scale;0<n&&(mxUtils.getValue(a.style,mxConstants.STYLE_HORIZONTAL,!0)?(k=a.y+n/2,m=n):(g=a.x+n/2,l=n));l=Math.max(e,l*d);m=Math.max(e,m*d);0<f&&(l=Math.min(l,f),m=Math.min(m,f));d=new mxRectangle(g-l/2,k-m/2,l,m);g=mxUtils.toRadians(mxUtils.getValue(a.style,
+mxConstants.STYLE_ROTATION)||0);0!=g&&(e=Math.cos(-g),f=Math.sin(-g),g=new mxPoint(a.getCenterX(),a.getCenterY()),a=mxUtils.getRotatedPoint(new mxPoint(b,c),e,f,g),b=a.x,c=a.y);return mxUtils.contains(d,b,c)}return!0},getOffset:function(a,b){for(var c=0,d=0,e=!1,f=a,g=document.body,k=document.documentElement;null!=f&&f!=g&&f!=k&&!e;){var l=mxUtils.getCurrentStyle(f);null!=l&&(e=e||"fixed"==l.position);f=f.parentNode}b||e||(b=mxUtils.getDocumentScrollOrigin(a.ownerDocument),c+=b.x,d+=b.y);a=a.getBoundingClientRect();
+null!=a&&(c+=a.left,d+=a.top);return new mxPoint(c,d)},getDocumentScrollOrigin:function(a){a=a.defaultView||a.parentWindow;return new mxPoint(null!=a&&void 0!==window.pageXOffset?window.pageXOffset:(document.documentElement||document.body.parentNode||document.body).scrollLeft,null!=a&&void 0!==window.pageYOffset?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop)},getScrollOrigin:function(a,b,c){b=null!=b?b:!1;c=null!=c?c:!0;for(var d=null!=a?a.ownerDocument:
+document,e=d.body,f=d.documentElement,g=new mxPoint,k=!1;null!=a&&a!=e&&a!=f;){isNaN(a.scrollLeft)||isNaN(a.scrollTop)||(g.x+=a.scrollLeft,g.y+=a.scrollTop);var l=mxUtils.getCurrentStyle(a);null!=l&&(k=k||"fixed"==l.position);a=b?a.parentNode:null}!k&&c&&(a=mxUtils.getDocumentScrollOrigin(d),g.x+=a.x,g.y+=a.y);return g},convertPoint:function(a,b,c){var d=mxUtils.getScrollOrigin(a,!1);a=mxUtils.getOffset(a);a.x-=d.x;a.y-=d.y;return new mxPoint(b-a.x,c-a.y)},removeJavascriptProtocol:function(a){for(a=
+null!=a?mxUtils.zapGremlins(a):null;null!=a&&"javascript:"===mxUtils.ltrim(a.toLowerCase()).substring(0,11);)a=a.substring(a.toLowerCase().indexOf(":")+1);return a},zapGremlins:function(a){for(var b=0,c=[],d=0;d<a.length;d++){var e=a.charCodeAt(d);(32<=e||9==e||10==e||13==e)&&65535!=e&&65534!=e||(c.push(a.substring(b,d)),b=d+1)}0<b&&b<a.length&&c.push(a.substring(b));return 0==c.length?a:c.join("")},ltrim:function(a,b){return null!=a?a.replace(new RegExp("^["+(b||"\\s|\\0")+"]+","g"),""):null},rtrim:function(a,
+b){return null!=a?a.replace(new RegExp("["+(b||"\\s|\\0")+"]+$","g"),""):null},trim:function(a,b){return mxUtils.ltrim(mxUtils.rtrim(a,b),b)},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)&&("string"!=typeof a||0>a.toLowerCase().indexOf("0x"))},isInteger:function(a){return String(parseInt(a))===String(a)},mod:function(a,b){return(a%b+b)%b},intersection:function(a,b,c,d,e,f,g,k){var l=(k-f)*(c-a)-(g-e)*(d-b);g=((g-e)*(b-f)-(k-f)*(a-e))/l;e=((c-a)*(b-f)-(d-b)*(a-e))/l;return 0<=g&&1>=
+g&&0<=e&&1>=e?new mxPoint(a+g*(c-a),b+g*(d-b)):null},ptSegDistSq:function(a,b,c,d,e,f){c-=a;d-=b;e-=a;f-=b;0>=e*c+f*d?c=0:(e=c-e,f=d-f,a=e*c+f*d,c=0>=a?0:a*a/(c*c+d*d));e=e*e+f*f-c;0>e&&(e=0);return e},ptLineDist:function(a,b,c,d,e,f){return Math.abs((d-b)*e-(c-a)*f+c*b-d*a)/Math.sqrt((d-b)*(d-b)+(c-a)*(c-a))},relativeCcw:function(a,b,c,d,e,f){c-=a;d-=b;e-=a;f-=b;a=e*d-f*c;0==a&&(a=e*c+f*d,0<a&&(a=(e-c)*c+(f-d)*d,0>a&&(a=0)));return 0>a?-1:0<a?1:0},animateChanges:function(a,b){mxEffects.animateChanges.apply(this,
+arguments)},cascadeOpacity:function(a,b,c){mxEffects.cascadeOpacity.apply(this,arguments)},fadeOut:function(a,b,c,d,e,f){mxEffects.fadeOut.apply(this,arguments)},setOpacity:function(a,b){mxClient.IS_IE&&("undefined"===typeof document.documentMode||9>document.documentMode)?a.style.filter=100<=b?"":"alpha(opacity="+b+")":a.style.opacity=b/100},createElementNs:function(a,b,c){if(null!=a.createElementNS)return a.createElementNS(b,c);a=a.createElement(c);null!=namespace&&a.setAttribute("xmlns",b);return a},
+createImage:function(a){var b=document.createElement("img");b.setAttribute("src",a);b.setAttribute("border","0");return b},sortCells:function(a,b){b=null!=b?b:!0;var c=new mxDictionary;a.sort(function(d,e){var f=c.get(d);null==f&&(f=mxCellPath.create(d).split(mxCellPath.PATH_SEPARATOR),c.put(d,f));d=c.get(e);null==d&&(d=mxCellPath.create(e).split(mxCellPath.PATH_SEPARATOR),c.put(e,d));e=mxCellPath.compare(f,d);return 0==e?0:0<e==b?1:-1});return a},getStylename:function(a){return null!=a&&(a=a.split(";")[0],
+0>a.indexOf("="))?a:""},getStylenames:function(a){var b=[];if(null!=a){a=a.split(";");for(var c=0;c<a.length;c++)0>a[c].indexOf("=")&&b.push(a[c])}return b},indexOfStylename:function(a,b){if(null!=a&&null!=b){a=a.split(";");for(var c=0,d=0;d<a.length;d++){if(a[d]==b)return c;c+=a[d].length+1}}return-1},addStylename:function(a,b){0>mxUtils.indexOfStylename(a,b)&&(null==a?a="":0<a.length&&";"!=a.charAt(a.length-1)&&(a+=";"),a+=b);return a},removeStylename:function(a,b){var c=[];if(null!=a){a=a.split(";");
+for(var d=0;d<a.length;d++)a[d]!=b&&c.push(a[d])}return c.join(";")},removeAllStylenames:function(a){var b=[];if(null!=a){a=a.split(";");for(var c=0;c<a.length;c++)0<=a[c].indexOf("=")&&b.push(a[c])}return b.join(";")},setCellStyles:function(a,b,c,d){if(null!=b&&0<b.length){a.beginUpdate();try{for(var e=0;e<b.length;e++)if(null!=b[e]){var f=mxUtils.setStyle(a.getStyle(b[e]),c,d);a.setStyle(b[e],f)}}finally{a.endUpdate()}}},parseHexColor:function(a,b){var c=null;if(null!=a&&7<=a.length&&"#"==a.charAt(0)){c=
+parseInt(a.substring(1,3),16);var d=parseInt(a.substring(3,5),16),e=parseInt(a.substring(5,7),16);b=null!=b?b:1;7<a.length&&(b=parseInt(a.substring(7,9),16)/255);c={r:c,g:d,b:e,a:b}}return c},hex2rgb:function(a){var b=mxUtils.parseHexColor(a);null!=b&&(a="rgb("+b.r+", "+b.g+", "+b.b+")");return a},hex2rgba:function(a,b){b=mxUtils.parseHexColor(a,b);null!=b&&(a="rgba("+b.r+", "+b.g+", "+b.b+", "+b.a+")");return a},rgba2hex:function(a){return(rgb=a&&a.match?a.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i):
+a)&&4===rgb.length?"#"+("0"+parseInt(rgb[1],10).toString(16)).slice(-2)+("0"+parseInt(rgb[2],10).toString(16)).slice(-2)+("0"+parseInt(rgb[3],10).toString(16)).slice(-2):a},setStyle:function(a,b,c){var d=null!=c&&("undefined"==typeof c.length||0<c.length);if(null==a||0==a.length)d&&(a=b+"="+c+";");else if(a.substring(0,b.length+1)==b+"="){var e=a.indexOf(";");a=d?b+"="+c+(0>e?";":a.substring(e)):0>e||e==a.length-1?"":a.substring(e+1)}else{var f=a.indexOf(";"+b+"=");0>f?d&&(d=";"==a.charAt(a.length-
+1)?"":";",a=a+d+b+"="+c+";"):(e=a.indexOf(";",f+1),a=d?a.substring(0,f+1)+b+"="+c+(0>e?";":a.substring(e)):a.substring(0,f)+(0>e?";":a.substring(e)))}return a},setCellStyleFlags:function(a,b,c,d,e){if(null!=b&&0<b.length){a.beginUpdate();try{for(var f=0;f<b.length;f++)if(null!=b[f]){var g=mxUtils.setStyleFlag(a.getStyle(b[f]),c,d,e);a.setStyle(b[f],g)}}finally{a.endUpdate()}}},setStyleFlag:function(a,b,c,d){if(null==a||0==a.length)a=d||null==d?b+"="+c:b+"=0";else{var e=a.indexOf(b+"=");if(0>e)e=";"==
+a.charAt(a.length-1)?"":";",a=d||null==d?a+e+b+"="+c:a+e+b+"=0";else{var f=a.indexOf(";",e),g=0>f?a.substring(e+b.length+1):a.substring(e+b.length+1,f);g=null==d?parseInt(g)^c:d?parseInt(g)|c:parseInt(g)&~c;a=a.substring(0,e)+b+"="+g+(0<=f?a.substring(f):"")}}return a},getAlignmentAsPoint:function(a,b){var c=-.5,d=-.5;a==mxConstants.ALIGN_LEFT?c=0:a==mxConstants.ALIGN_RIGHT&&(c=-1);b==mxConstants.ALIGN_TOP?d=0:b==mxConstants.ALIGN_BOTTOM&&(d=-1);return new mxPoint(c,d)},getSizeForString:function(a,
+b,c,d,e){b=null!=b?b:mxConstants.DEFAULT_FONTSIZE;c=null!=c?c:mxConstants.DEFAULT_FONTFAMILY;var f=document.createElement("div");f.style.fontFamily=c;f.style.fontSize=Math.round(b)+"px";f.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?b*mxConstants.LINE_HEIGHT+"px":mxConstants.LINE_HEIGHT*mxSvgCanvas2D.prototype.lineHeightCorrection;null!=e&&((e&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD&&(f.style.fontWeight="bold"),(e&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC&&(f.style.fontStyle="italic"),
+b=[],(e&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&b.push("underline"),(e&mxConstants.FONT_STRIKETHROUGH)==mxConstants.FONT_STRIKETHROUGH&&b.push("line-through"),0<b.length&&(f.style.textDecoration=b.join(" ")));f.style.position="absolute";f.style.visibility="hidden";f.style.display="inline-block";f.style.zoom="1";null!=d?(f.style.width=d+"px",f.style.whiteSpace="normal"):f.style.whiteSpace="nowrap";f.innerHTML=a;document.body.appendChild(f);a=new mxRectangle(0,0,f.offsetWidth,f.offsetHeight);
+document.body.removeChild(f);return a},getViewXml:function(a,b,c,d,e){d=null!=d?d:0;e=null!=e?e:0;b=null!=b?b:1;null==c&&(c=[a.getModel().getRoot()]);var f=a.getView(),g=null,k=f.isEventsEnabled();f.setEventsEnabled(!1);var l=f.drawPane,m=f.overlayPane;a.dialect==mxConstants.DIALECT_SVG?(f.drawPane=document.createElementNS(mxConstants.NS_SVG,"g"),f.canvas.appendChild(f.drawPane),f.overlayPane=document.createElementNS(mxConstants.NS_SVG,"g")):(f.drawPane=f.drawPane.cloneNode(!1),f.canvas.appendChild(f.drawPane),
+f.overlayPane=f.overlayPane.cloneNode(!1));f.canvas.appendChild(f.overlayPane);var n=f.getTranslate();f.translate=new mxPoint(d,e);b=new mxTemporaryCellStates(a.getView(),b,c);try{g=(new mxCodec).encode(a.getView())}finally{b.destroy(),f.translate=n,f.canvas.removeChild(f.drawPane),f.canvas.removeChild(f.overlayPane),f.drawPane=l,f.overlayPane=m,f.setEventsEnabled(k)}return g},getScaleForPageCount:function(a,b,c,d){if(1>a)return 1;c=null!=c?c:mxConstants.PAGE_FORMAT_A4_PORTRAIT;d=null!=d?d:0;var e=
+c.width-2*d;c=c.height-2*d;d=mxRectangle.fromRectangle(b.getGraphBounds());b=b.getView().getScale();d.width/=b;d.height/=b;b=d.width;var f=Math.sqrt(a);d=Math.sqrt(b/d.height/(e/c));c=f*d;d=f/d;if(1>c&&d>a){var g=d/a;d=a;c/=g}1>d&&c>a&&(g=c/a,c=a,d/=g);g=Math.ceil(c)*Math.ceil(d);for(f=0;g>a;){g=Math.floor(c)/c;var k=Math.floor(d)/d;1==g&&(g=Math.floor(c-1)/c);1==k&&(k=Math.floor(d-1)/d);g=g>k?g:k;c*=g;d*=g;g=Math.ceil(c)*Math.ceil(d);f++;if(10<f)break}return e*c/b*.99999},show:function(a,b,c,d,e,
+f){c=null!=c?c:0;d=null!=d?d:0;null==b?b=window.open().document:b.open();9==document.documentMode&&b.writeln('\x3c!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=9"><![endif]--\x3e');var g=a.getGraphBounds(),k=Math.ceil(c-g.x),l=Math.ceil(d-g.y);null==e&&(e=Math.ceil(g.width+c)+Math.ceil(Math.ceil(g.x)-g.x));null==f&&(f=Math.ceil(g.height+d)+Math.ceil(Math.ceil(g.y)-g.y));if(mxClient.IS_IE||11==document.documentMode){d="<html><head>";g=document.getElementsByTagName("base");for(c=0;c<g.length;c++)d+=
+g[c].outerHTML;d+="<style>";for(c=0;c<document.styleSheets.length;c++)try{d+=document.styleSheets[c].cssText}catch(m){}d=d+'</style></head><body style="margin:0px;"><div style="position:absolute;overflow:hidden;width:'+(e+"px;height:"+f+'px;"><div style="position:relative;left:'+k+"px;top:"+l+'px;">')+a.container.innerHTML;b.writeln(d+"</div></div></body><html>");b.close()}else{b.writeln("<html><head>");g=document.getElementsByTagName("base");for(c=0;c<g.length;c++)b.writeln(mxUtils.getOuterHtml(g[c]));
+d=document.getElementsByTagName("link");for(c=0;c<d.length;c++)b.writeln(mxUtils.getOuterHtml(d[c]));d=document.getElementsByTagName("style");for(c=0;c<d.length;c++)b.writeln(mxUtils.getOuterHtml(d[c]));b.writeln('</head><body style="margin:0px;"></body></html>');b.close();c=b.createElement("div");c.position="absolute";c.overflow="hidden";c.style.width=e+"px";c.style.height=f+"px";e=b.createElement("div");e.style.position="absolute";e.style.left=k+"px";e.style.top=l+"px";f=a.container.firstChild;
+for(d=null;null!=f;)g=f.cloneNode(!0),f==a.view.drawPane.ownerSVGElement?(c.appendChild(g),d=g):e.appendChild(g),f=f.nextSibling;b.body.appendChild(c);null!=e.firstChild&&b.body.appendChild(e);null!=d&&(d.style.minWidth="",d.style.minHeight="",d.firstChild.setAttribute("transform","translate("+k+","+l+")"))}mxUtils.removeCursors(b.body);return b},printScreen:function(a){var b=window.open();mxUtils.show(a,b.document);a=function(){b.focus();b.print();b.close()};mxClient.IS_GC?b.setTimeout(a,500):a()},
+popup:function(a,b){if(b){var c=document.createElement("div");c.style.overflow="scroll";c.style.width="636px";c.style.height="460px";b=document.createElement("pre");b.innerHTML=mxUtils.htmlEntities(a,!1).replace(/\n/g,"<br>").replace(/ /g,"&nbsp;");c.appendChild(b);c=new mxWindow("Popup Window",c,document.body.clientWidth/2-320,Math.max(document.body.clientHeight||0,document.documentElement.clientHeight)/2-240,640,480,!1,!0);c.setClosable(!0);c.setVisible(!0)}else mxClient.IS_NS?(c=window.open(),
+c.document.writeln("<pre>"+mxUtils.htmlEntities(a)+"</pre"),c.document.close()):(c=window.open(),b=c.document.createElement("pre"),b.innerHTML=mxUtils.htmlEntities(a,!1).replace(/\n/g,"<br>").replace(/ /g,"&nbsp;"),c.document.body.appendChild(b))},alert:function(a){alert(a)},prompt:function(a,b){return prompt(a,null!=b?b:"")},confirm:function(a){return confirm(a)},error:function(a,b,c,d){var e=document.createElement("div");e.style.padding="20px";var f=document.createElement("img");f.setAttribute("src",
+d||mxUtils.errorImage);f.setAttribute("valign","bottom");f.style.verticalAlign="middle";e.appendChild(f);e.appendChild(document.createTextNode(" "));e.appendChild(document.createTextNode(" "));e.appendChild(document.createTextNode(" "));mxUtils.write(e,a);a=document.body.clientWidth;d=document.body.clientHeight||document.documentElement.clientHeight;var g=new mxWindow(mxResources.get(mxUtils.errorResource)||mxUtils.errorResource,e,(a-b)/2,d/4,b,null,!1,!0);c&&(mxUtils.br(e),b=document.createElement("p"),
+c=document.createElement("button"),mxClient.IS_IE?c.style.cssText="float:right":c.setAttribute("style","float:right"),mxEvent.addListener(c,"click",function(k){g.destroy()}),mxUtils.write(c,mxResources.get(mxUtils.closeResource)||mxUtils.closeResource),b.appendChild(c),e.appendChild(b),mxUtils.br(e),g.setClosable(!0));g.setVisible(!0);return g},makeDraggable:function(a,b,c,d,e,f,g,k,l,m){a=new mxDragSource(a,c);a.dragOffset=new mxPoint(null!=e?e:0,null!=f?f:mxConstants.TOOLTIP_VERTICAL_OFFSET);a.autoscroll=
+g;a.setGuidesEnabled(!1);null!=l&&(a.highlightDropTargets=l);null!=m&&(a.getDropTarget=m);a.getGraphForEvent=function(n){return"function"==typeof b?b(n):b};null!=d&&(a.createDragElement=function(){return d.cloneNode(!0)},k&&(a.createPreviewElement=function(n){var p=d.cloneNode(!0),r=parseInt(p.style.width),q=parseInt(p.style.height);p.style.width=Math.round(r*n.view.scale)+"px";p.style.height=Math.round(q*n.view.scale)+"px";return p}));return a},format:function(a){return parseFloat(parseFloat(a).toFixed(2))}},
mxConstants={DEFAULT_HOTSPOT:.3,MIN_HOTSPOT_SIZE:8,MAX_HOTSPOT_SIZE:0,RENDERING_HINT_EXACT:"exact",RENDERING_HINT_FASTER:"faster",RENDERING_HINT_FASTEST:"fastest",DIALECT_SVG:"svg",DIALECT_MIXEDHTML:"mixedHtml",DIALECT_PREFERHTML:"preferHtml",DIALECT_STRICTHTML:"strictHtml",NS_SVG:"http://www.w3.org/2000/svg",NS_XHTML:"http://www.w3.org/1999/xhtml",NS_XLINK:"http://www.w3.org/1999/xlink",SHADOWCOLOR:"#808080",VML_SHADOWCOLOR:"#808080",SHADOW_OFFSET_X:2,SHADOW_OFFSET_Y:3,SHADOW_BLUR:2,SHADOW_OPACITY:1,
NODETYPE_ELEMENT:1,NODETYPE_ATTRIBUTE:2,NODETYPE_TEXT:3,NODETYPE_CDATA:4,NODETYPE_ENTITY_REFERENCE:5,NODETYPE_ENTITY:6,NODETYPE_PROCESSING_INSTRUCTION:7,NODETYPE_COMMENT:8,NODETYPE_DOCUMENT:9,NODETYPE_DOCUMENTTYPE:10,NODETYPE_DOCUMENT_FRAGMENT:11,NODETYPE_NOTATION:12,TOOLTIP_VERTICAL_OFFSET:16,DEFAULT_VALID_COLOR:"#00FF00",DEFAULT_INVALID_COLOR:"#FF0000",OUTLINE_HIGHLIGHT_COLOR:"#00FF00",OUTLINE_HIGHLIGHT_STROKEWIDTH:5,HIGHLIGHT_STROKEWIDTH:3,HIGHLIGHT_SIZE:2,HIGHLIGHT_OPACITY:100,CURSOR_MOVABLE_VERTEX:"move",
CURSOR_MOVABLE_EDGE:"move",CURSOR_LABEL_HANDLE:"default",CURSOR_TERMINAL_HANDLE:"pointer",CURSOR_BEND_HANDLE:"crosshair",CURSOR_VIRTUAL_BEND_HANDLE:"crosshair",CURSOR_CONNECT:"pointer",HIGHLIGHT_COLOR:"#00FF00",CONNECT_TARGET_COLOR:"#0000FF",INVALID_CONNECT_TARGET_COLOR:"#FF0000",DROP_TARGET_COLOR:"#0000FF",VALID_COLOR:"#00FF00",INVALID_COLOR:"#FF0000",EDGE_SELECTION_COLOR:"#00FF00",VERTEX_SELECTION_COLOR:"#00FF00",VERTEX_SELECTION_STROKEWIDTH:1,EDGE_SELECTION_STROKEWIDTH:1,VERTEX_SELECTION_DASHED:!0,
@@ -1932,8 +1932,8 @@ G);this.exportColor(I)};this.fromRGB=function(y,B,G,I){0>y&&(y=0);1<y&&(y=1);0>B
function(y,B){return(y=y.match(/^\W*([0-9A-F]{3}([0-9A-F]{3})?)\W*$/i))?(6===y[1].length?this.fromRGB(parseInt(y[1].substr(0,2),16)/255,parseInt(y[1].substr(2,2),16)/255,parseInt(y[1].substr(4,2),16)/255,B):this.fromRGB(parseInt(y[1].charAt(0)+y[1].charAt(0),16)/255,parseInt(y[1].charAt(1)+y[1].charAt(1),16)/255,parseInt(y[1].charAt(2)+y[1].charAt(2),16)/255,B),!0):!1};this.toString=function(){return(256|Math.round(255*this.rgb[0])).toString(16).substr(1)+(256|Math.round(255*this.rgb[1])).toString(16).substr(1)+
(256|Math.round(255*this.rgb[2])).toString(16).substr(1)};var q=this,t="hvs"===this.pickerMode.toLowerCase()?1:0,u=mxJSColor.fetchElement(this.valueElement),v=mxJSColor.fetchElement(this.styleElement),z=!1,E=!1,C=1,F=2,D=4,x=8;u&&(b=function(){q.fromString(u.value,C);p()},mxJSColor.addEvent(u,"keyup",b),mxJSColor.addEvent(u,"input",b),mxJSColor.addEvent(u,"blur",l),u.setAttribute("autocomplete","off"));v&&(v.jscStyle={backgroundImage:v.style.backgroundImage,backgroundColor:v.style.backgroundColor,
color:v.style.color});switch(t){case 0:mxJSColor.requireImage("hs.png");break;case 1:mxJSColor.requireImage("hv.png")}this.importColor()}};mxJSColor.install();
-Editor=function(a,b,d,e,g){mxEventSource.call(this);this.chromeless=null!=a?a:this.chromeless;this.initStencilRegistry();this.graph=e||this.createGraph(b,d);this.editable=null!=g?g:!a;this.undoManager=this.createUndoManager();this.status="";this.getOrCreateFilename=function(){return this.filename||mxResources.get("drawing",[Editor.pageCounter])+".xml"};this.getFilename=function(){return this.filename};this.setStatus=function(f,h){this.status=f;this.statusFunction=h;this.fireEvent(new mxEventObject("statusChanged"))};
-this.getStatus=function(){return this.status};this.graphChangeListener=function(f,h){f=null!=h?h.getProperty("edit"):null;null!=f&&f.ignoreEdit||this.setModified(!0)};this.graph.getModel().addListener(mxEvent.CHANGE,mxUtils.bind(this,function(){this.graphChangeListener.apply(this,arguments)}));this.graph.resetViewOnRootChange=!1;this.init()};mxConstants.POINTS=1;mxConstants.MILLIMETERS=2;mxConstants.INCHES=3;mxConstants.METERS=4;mxConstants.PIXELS_PER_MM=3.937;mxConstants.PIXELS_PER_INCH=100;
+Editor=function(a,b,e,f,h){mxEventSource.call(this);this.chromeless=null!=a?a:this.chromeless;this.initStencilRegistry();this.graph=f||this.createGraph(b,e);this.editable=null!=h?h:!a;this.undoManager=this.createUndoManager();this.status="";this.getOrCreateFilename=function(){return this.filename||mxResources.get("drawing",[Editor.pageCounter])+".xml"};this.getFilename=function(){return this.filename};this.setStatus=function(d,g){this.status=d;this.statusFunction=g;this.fireEvent(new mxEventObject("statusChanged"))};
+this.getStatus=function(){return this.status};this.graphChangeListener=function(d,g){d=null!=g?g.getProperty("edit"):null;null!=d&&d.ignoreEdit||this.setModified(!0)};this.graph.getModel().addListener(mxEvent.CHANGE,mxUtils.bind(this,function(){this.graphChangeListener.apply(this,arguments)}));this.graph.resetViewOnRootChange=!1;this.init()};mxConstants.POINTS=1;mxConstants.MILLIMETERS=2;mxConstants.INCHES=3;mxConstants.METERS=4;mxConstants.PIXELS_PER_MM=3.937;mxConstants.PIXELS_PER_INCH=100;
Editor.pageCounter=0;(function(){try{for(var a=window;null!=a.opener&&"undefined"!==typeof a.opener.Editor&&!isNaN(a.opener.Editor.pageCounter)&&a.opener!=a;)a=a.opener;null!=a&&(a.Editor.pageCounter++,Editor.pageCounter=a.Editor.pageCounter)}catch(b){}})();Editor.defaultHtmlFont='-apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Segoe UI", system-ui, ui-sans-serif, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"';Editor.useLocalStorage="undefined"!=typeof Storage&&m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oPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBmaWxsPSJub25lIiBkPSJNMCAwaDI0djI0SDB6Ii8+PHBhdGggZD0iTTExIDE4aDJ2LTJoLTJ2MnptMS0xNkM2LjQ4IDIgMiA2LjQ4IDIgMTJzNC40OCAxMCAxMCAxMCAxMC00LjQ4IDEwLTEwUzE3LjUyIDIgMTIgMnptMCAxOGMtNC40MSAwLTgtMy41OS04LThzMy41OS04IDgtOCA4IDMuNTkgOCA4LTMuNTkgOC04IDh6bTAtMTRjLTIuMjEgMC00IDEuNzktNCA0aDJjMC0xLjEuOS0yIDItMnMyIC45IDIgMmMwIDItMyAxLjc1LTMgNWgyYzAtMi4yNSAzLTIuNSAzLTUgMC0yLjIxLTEuNzktNC00LTR6Ii8+PC9zdmc+";
@@ -1970,37 +1970,37 @@ Editor.checkmarkImage=Editor.lightCheckmarkImage;Editor.roughFillStyles=[{val:"a
Editor.fillStyles=[{val:"auto",dispName:"Auto"},{val:"hatch",dispName:"Hatch"},{val:"solid",dispName:"Solid"},{val:"dots",dispName:"Dots"},{val:"cross-hatch",dispName:"Cross Hatch"},{val:"dashed",dispName:"Dashed"},{val:"zigzag-line",dispName:"ZigZag Line"}];Editor.themes=[];Editor.ctrlKey=mxClient.IS_MAC?"Cmd":"Ctrl";Editor.hintOffset=20;Editor.shapePickerHoverDelay=300;Editor.fitWindowBorders=null;Editor.popupsAllowed=null!=window.urlParams?"1"!=urlParams.noDevice:!0;Editor.simpleLabels=!1;
Editor.enableNativeCipboard=window==window.top&&!mxClient.IS_FF&&null!=navigator.clipboard;Editor.sketchMode=!1;Editor.enableCssDarkMode=window.mxIsElectron?!1:!0;Editor.cssDarkMode=!1;Editor.darkMode=!1;Editor.currentTheme=uiTheme;Editor.darkColor=Editor.enableCssDarkMode?"#121212":"#18141D";Editor.lightColor="#f0f0f0";Editor.fontSizeUnit="px";Editor.pageSizeUnit=mxConstants.INCHES;Editor.isDarkMode=function(a){return Editor.darkMode};
Editor.isPngDataUrl=function(a){return null!=a&&"data:image/png;"==a.substring(0,15)};Editor.isPngData=function(a){return 8<a.length&&137==a.charCodeAt(0)&&80==a.charCodeAt(1)&&78==a.charCodeAt(2)&&71==a.charCodeAt(3)&&13==a.charCodeAt(4)&&10==a.charCodeAt(5)&&26==a.charCodeAt(6)&&10==a.charCodeAt(7)};Editor.convertHtmlToText=function(a){if(null!=a){var b=document.createElement("div");b.innerHTML=Graph.sanitizeHtml(a);return mxUtils.extractTextWithWhitespace(b.childNodes)}return null};
-Editor.extractGraphModelFromPng=function(a){var b=null;try{var d=a.substring(a.indexOf(",")+1),e=window.atob&&!mxClient.IS_SF?atob(d):Base64.decode(d,!0);EditorUi.parsePng(e,mxUtils.bind(this,function(g,f,h){g=e.substring(g+8,g+8+h);"zTXt"==f?(h=g.indexOf(String.fromCharCode(0)),"mxGraphModel"==g.substring(0,h)&&(g=pako.inflateRaw(Graph.stringToArrayBuffer(g.substring(h+2)),{to:"string"}).replace(/\+/g," "),null!=g&&0<g.length&&(b=g))):"tEXt"==f&&(g=g.split(String.fromCharCode(0)),1<g.length&&("mxGraphModel"==
-g[0]||"mxfile"==g[0])&&(b=g[1]));if(null!=b||"IDAT"==f)return!0}))}catch(g){}null!=b&&"%"==b.charAt(0)&&(b=decodeURIComponent(b));null!=b&&"%"==b.charAt(0)&&(b=decodeURIComponent(b));return b};
-Editor.soundex=function(a){if(null==a||0==a.length)return"";var b=[],d=1;b[0]=a[0].toUpperCase();for(var e=1,g=a.length;e<g;e++){var f=a[e].toUpperCase().charCodeAt(0)-65;if(0<=f&&25>=f&&"0"!="01230120022455012603010202"[f]&&("01230120022455012603010202"[f]!=b[d-1]&&(b[d]="01230120022455012603010202"[f],d++),3<d))break}if(3>=d)for(;3>=d;)b[d]="0",d++;return b.join("")};
-Editor.selectFilename=function(a){var b=a.value.lastIndexOf(".");if(0<b){var d=a.value.substring(b+1);"drawio"!=d&&0<=mxUtils.indexOf(["png","svg","html","xml","pdf"],d)&&(d=a.value.lastIndexOf(".drawio.",b),0<d&&(b=d))}b=0<b?b:a.value.length;Editor.selectSubstring(a,0,b)};
-Editor.selectSubstring=function(a,b,d){a.focus();"undefined"!=typeof a.selectionStart?(a.selectionStart=b,a.selectionEnd=d):document.selection&&document.selection.createRange&&(a.select(),a=document.selection.createRange(),a.collapse(!0),a.moveEnd("character",d),a.moveStart("character",b),a.select())};
+Editor.extractGraphModelFromPng=function(a){var b=null;try{var e=a.substring(a.indexOf(",")+1),f=window.atob&&!mxClient.IS_SF?atob(e):Base64.decode(e,!0);EditorUi.parsePng(f,mxUtils.bind(this,function(h,d,g){h=f.substring(h+8,h+8+g);"zTXt"==d?(g=h.indexOf(String.fromCharCode(0)),"mxGraphModel"==h.substring(0,g)&&(h=pako.inflateRaw(Graph.stringToArrayBuffer(h.substring(g+2)),{to:"string"}).replace(/\+/g," "),null!=h&&0<h.length&&(b=h))):"tEXt"==d&&(h=h.split(String.fromCharCode(0)),1<h.length&&("mxGraphModel"==
+h[0]||"mxfile"==h[0])&&(b=h[1]));if(null!=b||"IDAT"==d)return!0}))}catch(h){}null!=b&&"%"==b.charAt(0)&&(b=decodeURIComponent(b));null!=b&&"%"==b.charAt(0)&&(b=decodeURIComponent(b));return b};
+Editor.soundex=function(a){if(null==a||0==a.length)return"";var b=[],e=1;b[0]=a[0].toUpperCase();for(var f=1,h=a.length;f<h;f++){var d=a[f].toUpperCase().charCodeAt(0)-65;if(0<=d&&25>=d&&"0"!="01230120022455012603010202"[d]&&("01230120022455012603010202"[d]!=b[e-1]&&(b[e]="01230120022455012603010202"[d],e++),3<e))break}if(3>=e)for(;3>=e;)b[e]="0",e++;return b.join("")};
+Editor.selectFilename=function(a){var b=a.value.lastIndexOf(".");if(0<b){var e=a.value.substring(b+1);"drawio"!=e&&0<=mxUtils.indexOf(["png","svg","html","xml","pdf"],e)&&(e=a.value.lastIndexOf(".drawio.",b),0<e&&(b=e))}b=0<b?b:a.value.length;Editor.selectSubstring(a,0,b)};
+Editor.selectSubstring=function(a,b,e){a.focus();"undefined"!=typeof a.selectionStart?(a.selectionStart=b,a.selectionEnd=e):document.selection&&document.selection.createRange&&(a.select(),a=document.selection.createRange(),a.collapse(!0),a.moveEnd("character",e),a.moveStart("character",b),a.select())};
Editor.toUnit=function(a,b){return b==mxConstants.INCHES?Math.round(100*a/mxConstants.PIXELS_PER_INCH)/100:b==mxConstants.MILLIMETERS?Math.round(100*a/mxConstants.PIXELS_PER_MM)/100:b==mxConstants.METERS?Math.round(1E3*a/(1E3*mxConstants.PIXELS_PER_MM))/1E3:Math.round(a)};
Editor.fromUnit=function(a,b){return b==mxConstants.INCHES?Math.round(a*mxConstants.PIXELS_PER_INCH):b==mxConstants.MILLIMETERS?Math.round(a*mxConstants.PIXELS_PER_MM):b==mxConstants.METERS?Math.round(a*mxConstants.PIXELS_PER_MM*1E3):Math.round(a)};mxUtils.extend(Editor,mxEventSource);Editor.prototype.originalNoForeignObject=mxClient.NO_FO;
Editor.prototype.transparentImage=mxClient.IS_SVG?"data:image/gif;base64,R0lGODlhMAAwAIAAAP///wAAACH5BAEAAAAALAAAAAAwADAAAAIxhI+py+0Po5y02ouz3rz7D4biSJbmiabqyrbuC8fyTNf2jef6zvf+DwwKh8Si8egpAAA7":IMAGE_PATH+"/transparent.gif";Editor.prototype.extendCanvas=!0;Editor.prototype.chromeless=!1;Editor.prototype.cancelFirst=!0;Editor.prototype.enabled=!0;Editor.prototype.filename=null;Editor.prototype.modified=!1;Editor.prototype.autosave=!0;Editor.prototype.initialTopSpacing=0;Editor.prototype.appName=document.title;
Editor.prototype.editBlankUrl=window.location.origin+window.location.pathname;Editor.prototype.defaultGraphOverflow="hidden";Editor.prototype.init=function(){};Editor.prototype.isChromelessView=function(){return this.chromeless};Editor.prototype.setAutosave=function(a){this.autosave=a;this.fireEvent(new mxEventObject("autosaveChanged"))};Editor.prototype.getEditBlankUrl=function(a){return this.editBlankUrl+a};
-Editor.prototype.editAsNew=function(a,b){b=null!=b?"?title="+encodeURIComponent(b):"";null!=urlParams.ui&&(b+=(0<b.length?"&":"?")+"ui="+urlParams.ui);if("undefined"!==typeof window.postMessage&&(null==document.documentMode||10<=document.documentMode)){var d=null,e=mxUtils.bind(this,function(g){"ready"==g.data&&g.source==d&&(mxEvent.removeListener(window,"message",e),d.postMessage(a,"*"))});mxEvent.addListener(window,"message",e);d=this.graph.openLink(this.getEditBlankUrl(b+(0<b.length?"&":"?")+"client=1"),
-null,!0)}else this.graph.openLink(this.getEditBlankUrl(b)+"#R"+encodeURIComponent(a))};Editor.prototype.createGraph=function(a,b){a=new Graph(null,b,null,null,a);a.transparentBackground=!1;var d=a.isCssTransformsSupported,e=this;a.isCssTransformsSupported=function(){return d.apply(this,arguments)&&(!e.chromeless||!mxClient.IS_SF)};this.chromeless||(a.isBlankLink=function(g){return!this.isExternalProtocol(g)});return a};
+Editor.prototype.editAsNew=function(a,b){b=null!=b?"?title="+encodeURIComponent(b):"";null!=urlParams.ui&&(b+=(0<b.length?"&":"?")+"ui="+urlParams.ui);if("undefined"!==typeof window.postMessage&&(null==document.documentMode||10<=document.documentMode)){var e=null,f=mxUtils.bind(this,function(h){"ready"==h.data&&h.source==e&&(mxEvent.removeListener(window,"message",f),e.postMessage(a,"*"))});mxEvent.addListener(window,"message",f);e=this.graph.openLink(this.getEditBlankUrl(b+(0<b.length?"&":"?")+"client=1"),
+null,!0)}else this.graph.openLink(this.getEditBlankUrl(b)+"#R"+encodeURIComponent(a))};Editor.prototype.createGraph=function(a,b){a=new Graph(null,b,null,null,a);a.transparentBackground=!1;var e=a.isCssTransformsSupported,f=this;a.isCssTransformsSupported=function(){return e.apply(this,arguments)&&(!f.chromeless||!mxClient.IS_SF)};this.chromeless||(a.isBlankLink=function(h){return!this.isExternalProtocol(h)});return a};
Editor.prototype.resetGraph=function(){this.graph.gridEnabled=this.graph.defaultGridEnabled&&(!this.isChromelessView()||"1"==urlParams.grid);this.graph.graphHandler.guidesEnabled=!0;this.graph.setTooltips(!0);this.graph.setConnectable(!0);this.graph.foldingEnabled=!0;this.graph.scrollbars=this.graph.defaultScrollbars;this.graph.pageVisible=this.graph.defaultPageVisible;this.graph.pageBreaksVisible=this.graph.pageVisible;this.graph.preferPageSize=this.graph.pageBreaksVisible;this.graph.background=
null;this.graph.pageScale=mxGraph.prototype.pageScale;this.graph.pageFormat=mxGraph.prototype.pageFormat;this.graph.currentScale=1;this.graph.currentTranslate.x=0;this.graph.currentTranslate.y=0;this.updateGraphComponents();this.graph.view.setScale(1)};
Editor.prototype.readGraphState=function(a){var b=a.getAttribute("grid");if(null==b||""==b)b=this.graph.defaultGridEnabled?"1":"0";this.graph.gridEnabled="0"!=b&&(!this.isChromelessView()||"1"==urlParams.grid);this.graph.gridSize=parseFloat(a.getAttribute("gridSize"))||mxGraph.prototype.gridSize;this.graph.graphHandler.guidesEnabled="0"!=a.getAttribute("guides");this.graph.setTooltips("0"!=a.getAttribute("tooltips"));this.graph.setConnectable("0"!=a.getAttribute("connect"));this.graph.connectionArrowsEnabled=
"0"!=a.getAttribute("arrows");this.graph.foldingEnabled="0"!=a.getAttribute("fold");this.isChromelessView()&&this.graph.foldingEnabled&&(this.graph.foldingEnabled="1"==urlParams.nav,this.graph.cellRenderer.forceControlClickHandler=this.graph.foldingEnabled);b=parseFloat(a.getAttribute("pageScale"));!isNaN(b)&&0<b?this.graph.pageScale=b:this.graph.pageScale=mxGraph.prototype.pageScale;this.graph.isLightboxView()||this.graph.isViewer()?this.graph.pageVisible=!1:(b=a.getAttribute("page"),this.graph.pageVisible=
-null!=b?"0"!=b:this.graph.defaultPageVisible);this.graph.pageBreaksVisible=this.graph.pageVisible;this.graph.preferPageSize=this.graph.pageBreaksVisible;b=parseFloat(a.getAttribute("pageWidth"));var d=parseFloat(a.getAttribute("pageHeight"));isNaN(b)||isNaN(d)||(this.graph.pageFormat=new mxRectangle(0,0,b,d));a=a.getAttribute("background");this.graph.background=null!=a&&0<a.length?a:null};
-Editor.prototype.setGraphXml=function(a){if(null!=a){var b=new mxCodec(a.ownerDocument);if("mxGraphModel"==a.nodeName){this.graph.model.beginUpdate();try{this.graph.model.clear(),this.graph.view.scale=1,this.readGraphState(a),this.updateGraphComponents(),b.decode(a,this.graph.getModel())}finally{this.graph.model.endUpdate()}this.fireEvent(new mxEventObject("resetGraphView"))}else if("root"==a.nodeName){this.resetGraph();var d=b.document.createElement("mxGraphModel");d.appendChild(a);b.decode(d,this.graph.getModel());
+null!=b?"0"!=b:this.graph.defaultPageVisible);this.graph.pageBreaksVisible=this.graph.pageVisible;this.graph.preferPageSize=this.graph.pageBreaksVisible;b=parseFloat(a.getAttribute("pageWidth"));var e=parseFloat(a.getAttribute("pageHeight"));isNaN(b)||isNaN(e)||(this.graph.pageFormat=new mxRectangle(0,0,b,e));a=a.getAttribute("background");this.graph.background=null!=a&&0<a.length?a:null};
+Editor.prototype.setGraphXml=function(a){if(null!=a){var b=new mxCodec(a.ownerDocument);if("mxGraphModel"==a.nodeName){this.graph.model.beginUpdate();try{this.graph.model.clear(),this.graph.view.scale=1,this.readGraphState(a),this.updateGraphComponents(),b.decode(a,this.graph.getModel())}finally{this.graph.model.endUpdate()}this.fireEvent(new mxEventObject("resetGraphView"))}else if("root"==a.nodeName){this.resetGraph();var e=b.document.createElement("mxGraphModel");e.appendChild(a);b.decode(e,this.graph.getModel());
this.updateGraphComponents();this.fireEvent(new mxEventObject("resetGraphView"))}else throw{message:mxResources.get("cannotOpenFile"),node:a,toString:function(){return this.message}};}else this.resetGraph(),this.graph.model.clear(),this.fireEvent(new mxEventObject("resetGraphView"))};
Editor.prototype.getGraphXml=function(a){if(null!=a?a:1){var b=new mxCodec(mxUtils.createXmlDocument());a=b.encode(this.graph.getModel());b.document.appendChild(a)}else a=this.graph.encodeCells(mxUtils.sortCells(this.graph.model.getTopmostCells(this.graph.getSelectionCells())));if(0!=this.graph.view.translate.x||0!=this.graph.view.translate.y)a.setAttribute("dx",Math.round(100*this.graph.view.translate.x)/100),a.setAttribute("dy",Math.round(100*this.graph.view.translate.y)/100);a.setAttribute("grid",
this.graph.isGridEnabled()?"1":"0");a.setAttribute("gridSize",this.graph.gridSize);a.setAttribute("guides",this.graph.graphHandler.guidesEnabled?"1":"0");a.setAttribute("tooltips",this.graph.tooltipHandler.isEnabled()?"1":"0");a.setAttribute("connect",this.graph.connectionHandler.isEnabled()?"1":"0");a.setAttribute("arrows",this.graph.connectionArrowsEnabled?"1":"0");a.setAttribute("fold",this.graph.foldingEnabled?"1":"0");a.setAttribute("page",this.graph.pageVisible?"1":"0");a.setAttribute("pageScale",
this.graph.pageScale);a.setAttribute("pageWidth",this.graph.pageFormat.width);a.setAttribute("pageHeight",this.graph.pageFormat.height);null!=this.graph.background&&a.setAttribute("background",this.graph.background);return a};Editor.prototype.updateGraphComponents=function(){var a=this.graph;null!=a.container&&(a.view.validateBackground(),a.container.style.overflow=a.scrollbars?"auto":this.defaultGraphOverflow,this.fireEvent(new mxEventObject("updateGraphComponents")))};
Editor.prototype.setModified=function(a){this.modified=a};Editor.prototype.setFilename=function(a){this.filename=a};
-Editor.prototype.createUndoManager=function(){var a=this.graph,b=new mxUndoManager;this.undoListener=function(e,g){b.undoableEditHappened(g.getProperty("edit"))};var d=mxUtils.bind(this,function(e,g){this.undoListener.apply(this,arguments)});a.getModel().addListener(mxEvent.UNDO,d);a.getView().addListener(mxEvent.UNDO,d);d=function(e,g){e=g.getProperty("edit").changes;e=a.getSelectionCellsForChanges(e);g=!1;if(0<e.length){for(var f=[],h=0;h<e.length;h++)null!=a.view.getState(e[h])&&(f.push(e[h]),
-g||(a.scrollCellToVisible(e[h]),g=!0));a.setSelectionCells(f)}};b.addListener(mxEvent.UNDO,d);b.addListener(mxEvent.REDO,d);return b};Editor.prototype.initStencilRegistry=function(){};Editor.prototype.destroy=function(){null!=this.graph&&(this.graph.destroy(),this.graph=null)};OpenFile=function(a){this.consumer=this.producer=null;this.done=a;this.args=null};OpenFile.prototype.setConsumer=function(a){this.consumer=a;this.execute()};OpenFile.prototype.setData=function(){this.args=arguments;this.execute()};
+Editor.prototype.createUndoManager=function(){var a=this.graph,b=new mxUndoManager;this.undoListener=function(f,h){b.undoableEditHappened(h.getProperty("edit"))};var e=mxUtils.bind(this,function(f,h){this.undoListener.apply(this,arguments)});a.getModel().addListener(mxEvent.UNDO,e);a.getView().addListener(mxEvent.UNDO,e);e=function(f,h){f=h.getProperty("edit").changes;f=a.getSelectionCellsForChanges(f);h=!1;if(0<f.length){for(var d=[],g=0;g<f.length;g++)null!=a.view.getState(f[g])&&(d.push(f[g]),
+h||(a.scrollCellToVisible(f[g]),h=!0));a.setSelectionCells(d)}};b.addListener(mxEvent.UNDO,e);b.addListener(mxEvent.REDO,e);return b};Editor.prototype.initStencilRegistry=function(){};Editor.prototype.destroy=function(){null!=this.graph&&(this.graph.destroy(),this.graph=null)};OpenFile=function(a){this.consumer=this.producer=null;this.done=a;this.args=null};OpenFile.prototype.setConsumer=function(a){this.consumer=a;this.execute()};OpenFile.prototype.setData=function(){this.args=arguments;this.execute()};
OpenFile.prototype.error=function(a){this.cancel(!0);mxUtils.alert(a)};OpenFile.prototype.execute=function(){null!=this.consumer&&null!=this.args&&(this.cancel(!1),this.consumer.apply(this,this.args))};OpenFile.prototype.cancel=function(a){null!=this.done&&this.done(null!=a?a:!0)};
-function Dialog(a,b,d,e,g,f,h,n,q,l,p){this.editorUi=a;var w=q?57:0,z=d,C=e,F=q?0:64,D=Editor.inlineFullscreen||null==a.embedViewport?this.getDocumentSize():mxUtils.clone(a.embedViewport);null==a.embedViewport&&null!=window.innerHeight&&(D.height=window.innerHeight);var G=D.height;D=Math.max(1,Math.round((D.width-d-F)/2));var K=Math.max(1,Math.round((G-e-a.footerHeight)/3));b.style.maxHeight="100%";d=null!=document.body?Math.min(d,document.body.scrollWidth-F):d;e=Math.min(e,G-F);0<a.dialogs.length&&
-(this.zIndex+=2*a.dialogs.length);null==this.bg&&(this.bg=a.createDiv("geBackground"),this.bg.style.position="absolute",this.bg.style.height=G+"px",this.bg.style.right="0px",this.bg.style.zIndex=this.zIndex-2,mxUtils.setOpacity(this.bg,this.bgOpacity));var I=mxUtils.getDocumentScrollOrigin(document);this.bg.style.left=I.x+"px";this.bg.style.top=I.y+"px";D+=I.x;K+=I.y;Editor.inlineFullscreen||null==a.embedViewport||(this.bg.style.height=this.getDocumentSize().height+"px",K+=a.embedViewport.y,D+=a.embedViewport.x);
-g&&document.body.appendChild(this.bg);var O=a.createDiv(q?"geTransDialog":"geDialog");g=this.getPosition(D,K,d,e);D=g.x;K=g.y;O.style.width=d+"px";O.style.height=e+"px";O.style.left=D+"px";O.style.top=K+"px";O.style.zIndex=this.zIndex;O.appendChild(b);document.body.appendChild(O);!n&&b.clientHeight>O.clientHeight-F&&(b.style.overflowY="auto");b.style.overflowX="hidden";if(f&&(f=document.createElement("img"),f.setAttribute("src",Dialog.prototype.closeImage),f.setAttribute("title",mxResources.get("close")),
-f.className="geDialogClose",f.style.top=K+14+"px",f.style.left=D+d+38-w+"px",f.style.zIndex=this.zIndex,mxEvent.addListener(f,"click",mxUtils.bind(this,function(){a.hideDialog(!0)})),document.body.appendChild(f),this.dialogImg=f,!p)){var H=!1;mxEvent.addGestureListeners(this.bg,mxUtils.bind(this,function(Z){H=!0}),null,mxUtils.bind(this,function(Z){H&&(a.hideDialog(!0),H=!1)}))}this.resizeListener=mxUtils.bind(this,function(){if(null!=l){var Z=l();null!=Z&&(z=d=Z.w,C=e=Z.h)}Z=Editor.inlineFullscreen||
-null==a.embedViewport?this.getDocumentSize():mxUtils.clone(a.embedViewport);G=Z.height;this.bg.style.height=G+"px";Editor.inlineFullscreen||null==a.embedViewport||(this.bg.style.height=this.getDocumentSize().height+"px");d=null!=document.body?Math.min(z,document.body.scrollWidth-F):z;e=Math.min(C,G-F);Z=Math.max(1,Math.round((Z.width-d-F)/2));var S=Math.max(1,Math.round((G-e-a.footerHeight)/3));S=this.getPosition(Z,S,d,e);Z=S.x;S=S.y;var X=mxUtils.getDocumentScrollOrigin(document);Z+=X.x;S+=X.y;Editor.inlineFullscreen||
-null==a.embedViewport||(S+=a.embedViewport.y,Z+=a.embedViewport.x);O.style.left=Z+"px";O.style.top=S+"px";O.style.width=d+"px";O.style.height=e+"px";!n&&b.clientHeight>O.clientHeight-F&&(b.style.overflowY="auto");null!=this.dialogImg&&(this.dialogImg.style.top=S+14+"px",this.dialogImg.style.left=Z+d+38-w+"px")});null!=a.embedViewport?a.addListener("embedViewportChanged",this.resizeListener):mxEvent.addListener(window,"resize",this.resizeListener);this.onDialogClose=h;this.container=O;a.editor.fireEvent(new mxEventObject("showDialog"))}
+function Dialog(a,b,e,f,h,d,g,n,q,k,p){this.editorUi=a;var w=q?57:0,z=e,C=f,F=q?0:64,D=Editor.inlineFullscreen||null==a.embedViewport?this.getDocumentSize():mxUtils.clone(a.embedViewport);null==a.embedViewport&&null!=window.innerHeight&&(D.height=window.innerHeight);var H=D.height;D=Math.max(1,Math.round((D.width-e-F)/2));var K=Math.max(1,Math.round((H-f-a.footerHeight)/3));b.style.maxHeight="100%";e=null!=document.body?Math.min(e,document.body.scrollWidth-F):e;f=Math.min(f,H-F);0<a.dialogs.length&&
+(this.zIndex+=2*a.dialogs.length);null==this.bg&&(this.bg=a.createDiv("geBackground"),this.bg.style.position="absolute",this.bg.style.height=H+"px",this.bg.style.right="0px",this.bg.style.zIndex=this.zIndex-2,mxUtils.setOpacity(this.bg,this.bgOpacity));var G=mxUtils.getDocumentScrollOrigin(document);this.bg.style.left=G.x+"px";this.bg.style.top=G.y+"px";D+=G.x;K+=G.y;Editor.inlineFullscreen||null==a.embedViewport||(this.bg.style.height=this.getDocumentSize().height+"px",K+=a.embedViewport.y,D+=a.embedViewport.x);
+h&&document.body.appendChild(this.bg);var P=a.createDiv(q?"geTransDialog":"geDialog");h=this.getPosition(D,K,e,f);D=h.x;K=h.y;P.style.width=e+"px";P.style.height=f+"px";P.style.left=D+"px";P.style.top=K+"px";P.style.zIndex=this.zIndex;P.appendChild(b);document.body.appendChild(P);!n&&b.clientHeight>P.clientHeight-F&&(b.style.overflowY="auto");b.style.overflowX="hidden";if(d&&(d=document.createElement("img"),d.setAttribute("src",Dialog.prototype.closeImage),d.setAttribute("title",mxResources.get("close")),
+d.className="geDialogClose",d.style.top=K+14+"px",d.style.left=D+e+38-w+"px",d.style.zIndex=this.zIndex,mxEvent.addListener(d,"click",mxUtils.bind(this,function(){a.hideDialog(!0)})),document.body.appendChild(d),this.dialogImg=d,!p)){var I=!1;mxEvent.addGestureListeners(this.bg,mxUtils.bind(this,function(Z){I=!0}),null,mxUtils.bind(this,function(Z){I&&(a.hideDialog(!0),I=!1)}))}this.resizeListener=mxUtils.bind(this,function(){if(null!=k){var Z=k();null!=Z&&(z=e=Z.w,C=f=Z.h)}Z=Editor.inlineFullscreen||
+null==a.embedViewport?this.getDocumentSize():mxUtils.clone(a.embedViewport);H=Z.height;this.bg.style.height=H+"px";Editor.inlineFullscreen||null==a.embedViewport||(this.bg.style.height=this.getDocumentSize().height+"px");e=null!=document.body?Math.min(z,document.body.scrollWidth-F):z;f=Math.min(C,H-F);Z=Math.max(1,Math.round((Z.width-e-F)/2));var S=Math.max(1,Math.round((H-f-a.footerHeight)/3));S=this.getPosition(Z,S,e,f);Z=S.x;S=S.y;var Y=mxUtils.getDocumentScrollOrigin(document);Z+=Y.x;S+=Y.y;Editor.inlineFullscreen||
+null==a.embedViewport||(S+=a.embedViewport.y,Z+=a.embedViewport.x);P.style.left=Z+"px";P.style.top=S+"px";P.style.width=e+"px";P.style.height=f+"px";!n&&b.clientHeight>P.clientHeight-F&&(b.style.overflowY="auto");null!=this.dialogImg&&(this.dialogImg.style.top=S+14+"px",this.dialogImg.style.left=Z+e+38-w+"px")});null!=a.embedViewport?a.addListener("embedViewportChanged",this.resizeListener):mxEvent.addListener(window,"resize",this.resizeListener);this.onDialogClose=g;this.container=P;a.editor.fireEvent(new mxEventObject("showDialog"))}
Dialog.prototype.zIndex=mxPopupMenu.prototype.zIndex-2;
Dialog.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9InhtcC5kaWQ6QTNEOUExREY4NjExMTFFMUIzMDhEN0MyMkEwQzFEMzciLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5xh3fmAAAABlBMVEX////MzMw46qqDAAAAGElEQVR42mJggAJGKGAYIIGBth8KAAIMAEUQAIElnLuQAAAAAElFTkSuQmCC":IMAGE_PATH+
"/nocolor.png";Dialog.prototype.defaultColorImage=mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAABlBMVEUAAAD///+l2Z/dAAAAKUlEQVQI1wXBMREAIAwEsHAMjJVQKZVW6U8CDpdH0QxLnLjxoqJjYvMBewMJ51TWcscAAAAASUVORK5CYII=":IMAGE_PATH+"/defaultcolor.png";
@@ -2009,220 +2009,220 @@ Dialog.prototype.clearImage=mxClient.IS_SVG?"data:image/gif;base64,R0lGODlhDQAKA
"/clear.gif";Dialog.prototype.bgOpacity=80;Dialog.prototype.getDocumentSize=function(){return mxUtils.getDocumentSize()};Dialog.prototype.getPosition=function(a,b){return new mxPoint(a,b)};
Dialog.prototype.close=function(a,b){if(null!=this.onDialogClose){if(0==this.onDialogClose(a,b))return!1;this.onDialogClose=null}null!=this.dialogImg&&null!=this.dialogImg.parentNode&&(this.dialogImg.parentNode.removeChild(this.dialogImg),this.dialogImg=null);null!=this.bg&&null!=this.bg.parentNode&&this.bg.parentNode.removeChild(this.bg);null!=this.editorUi.embedViewport?this.editorUi.removeListener(this.resizeListener):mxEvent.removeListener(window,"resize",this.resizeListener);null!=this.container.parentNode&&
this.container.parentNode.removeChild(this.container)};
-var ErrorDialog=function(a,b,d,e,g,f,h,n,q,l,p){q=null!=q?q:!0;var w=document.createElement("div");w.style.textAlign="center";if(null!=b){var z=document.createElement("div");z.style.padding="0px";z.style.margin="0px";z.style.fontSize="18px";z.style.paddingBottom="16px";z.style.marginBottom="10px";z.style.borderBottom="1px solid #c0c0c0";z.style.color="gray";z.style.whiteSpace="nowrap";z.style.textOverflow="ellipsis";z.style.overflow="hidden";mxUtils.write(z,b);z.setAttribute("title",b);w.appendChild(z)}b=
-document.createElement("div");b.style.lineHeight="1.2em";b.style.padding="6px";"string"===typeof d&&(d=d.replace(/\n/g,"<br/>"));b.innerHTML=Graph.sanitizeHtml(d);w.appendChild(b);d=document.createElement("div");d.style.marginTop="12px";d.style.textAlign="center";null!=f&&(b=mxUtils.button(mxResources.get("tryAgain"),function(){a.hideDialog();f()}),b.className="geBtn",d.appendChild(b),d.style.textAlign="center");null!=l&&(l=mxUtils.button(l,function(){null!=p&&p()}),l.className="geBtn",d.appendChild(l));
-var C=mxUtils.button(e,function(){q&&a.hideDialog();null!=g&&g()});C.className="geBtn";d.appendChild(C);null!=h&&(e=mxUtils.button(h,function(){q&&a.hideDialog();null!=n&&n()}),e.className="geBtn gePrimaryBtn",d.appendChild(e));this.init=function(){C.focus()};w.appendChild(d);this.container=w},PrintDialog=function(a,b,d){this.create(a,b,d)};
-PrintDialog.prototype.create=function(a){function b(C){var F=h.checked||l.checked,D=parseInt(w.value)/100;isNaN(D)&&(D=1,w.value="100%");mxClient.IS_SF&&(D*=.75);var G=d.pageFormat||mxConstants.PAGE_FORMAT_A4_PORTRAIT,K=1/d.pageScale;if(F){var I=h.checked?1:parseInt(p.value);isNaN(I)||(K=mxUtils.getScaleForPageCount(I,d,G))}var O=I=0;G=mxRectangle.fromRectangle(G);G.width=Math.ceil(G.width*D);G.height=Math.ceil(G.height*D);K*=D;!F&&d.pageVisible?(D=d.getPageLayout(),I-=D.x*G.width,O-=D.y*G.height):
-F=!0;F=PrintDialog.createPrintPreview(d,K,G,0,I,O,F);F.open();C&&PrintDialog.printPreview(F)}var d=a.editor.graph,e=document.createElement("table");e.style.width="100%";e.style.height="100%";var g=document.createElement("tbody");var f=document.createElement("tr");var h=document.createElement("input");h.setAttribute("type","checkbox");var n=document.createElement("td");n.setAttribute("colspan","2");n.style.fontSize="10pt";n.appendChild(h);var q=document.createElement("span");mxUtils.write(q," "+mxResources.get("fitPage"));
-n.appendChild(q);mxEvent.addListener(q,"click",function(C){h.checked=!h.checked;l.checked=!h.checked;mxEvent.consume(C)});mxEvent.addListener(h,"change",function(){l.checked=!h.checked});f.appendChild(n);g.appendChild(f);f=f.cloneNode(!1);var l=document.createElement("input");l.setAttribute("type","checkbox");n=document.createElement("td");n.style.fontSize="10pt";n.appendChild(l);q=document.createElement("span");mxUtils.write(q," "+mxResources.get("posterPrint")+":");n.appendChild(q);mxEvent.addListener(q,
-"click",function(C){l.checked=!l.checked;h.checked=!l.checked;mxEvent.consume(C)});f.appendChild(n);var p=document.createElement("input");p.setAttribute("value","1");p.setAttribute("type","number");p.setAttribute("min","1");p.setAttribute("size","4");p.setAttribute("disabled","disabled");p.style.width="50px";n=document.createElement("td");n.style.fontSize="10pt";n.appendChild(p);mxUtils.write(n," "+mxResources.get("pages")+" (max)");f.appendChild(n);g.appendChild(f);mxEvent.addListener(l,"change",
-function(){l.checked?p.removeAttribute("disabled"):p.setAttribute("disabled","disabled");h.checked=!l.checked});f=f.cloneNode(!1);n=document.createElement("td");mxUtils.write(n,mxResources.get("pageScale")+":");f.appendChild(n);n=document.createElement("td");var w=document.createElement("input");w.setAttribute("value","100 %");w.setAttribute("size","5");w.style.width="50px";n.appendChild(w);f.appendChild(n);g.appendChild(f);f=document.createElement("tr");n=document.createElement("td");n.colSpan=2;
+var ErrorDialog=function(a,b,e,f,h,d,g,n,q,k,p){q=null!=q?q:!0;var w=document.createElement("div");w.style.textAlign="center";if(null!=b){var z=document.createElement("div");z.style.padding="0px";z.style.margin="0px";z.style.fontSize="18px";z.style.paddingBottom="16px";z.style.marginBottom="10px";z.style.borderBottom="1px solid #c0c0c0";z.style.color="gray";z.style.whiteSpace="nowrap";z.style.textOverflow="ellipsis";z.style.overflow="hidden";mxUtils.write(z,b);z.setAttribute("title",b);w.appendChild(z)}b=
+document.createElement("div");b.style.lineHeight="1.2em";b.style.padding="6px";"string"===typeof e&&(e=e.replace(/\n/g,"<br/>"));b.innerHTML=Graph.sanitizeHtml(e);w.appendChild(b);e=document.createElement("div");e.style.marginTop="12px";e.style.textAlign="center";null!=d&&(b=mxUtils.button(mxResources.get("tryAgain"),function(){a.hideDialog();d()}),b.className="geBtn",e.appendChild(b),e.style.textAlign="center");null!=k&&(k=mxUtils.button(k,function(){null!=p&&p()}),k.className="geBtn",e.appendChild(k));
+var C=mxUtils.button(f,function(){q&&a.hideDialog();null!=h&&h()});C.className="geBtn";e.appendChild(C);null!=g&&(f=mxUtils.button(g,function(){q&&a.hideDialog();null!=n&&n()}),f.className="geBtn gePrimaryBtn",e.appendChild(f));this.init=function(){C.focus()};w.appendChild(e);this.container=w},PrintDialog=function(a,b,e){this.create(a,b,e)};
+PrintDialog.prototype.create=function(a){function b(C){var F=g.checked||k.checked,D=parseInt(w.value)/100;isNaN(D)&&(D=1,w.value="100%");mxClient.IS_SF&&(D*=.75);var H=e.pageFormat||mxConstants.PAGE_FORMAT_A4_PORTRAIT,K=1/e.pageScale;if(F){var G=g.checked?1:parseInt(p.value);isNaN(G)||(K=mxUtils.getScaleForPageCount(G,e,H))}var P=G=0;H=mxRectangle.fromRectangle(H);H.width=Math.ceil(H.width*D);H.height=Math.ceil(H.height*D);K*=D;!F&&e.pageVisible?(D=e.getPageLayout(),G-=D.x*H.width,P-=D.y*H.height):
+F=!0;F=PrintDialog.createPrintPreview(e,K,H,0,G,P,F);F.open();C&&PrintDialog.printPreview(F)}var e=a.editor.graph,f=document.createElement("table");f.style.width="100%";f.style.height="100%";var h=document.createElement("tbody");var d=document.createElement("tr");var g=document.createElement("input");g.setAttribute("type","checkbox");var n=document.createElement("td");n.setAttribute("colspan","2");n.style.fontSize="10pt";n.appendChild(g);var q=document.createElement("span");mxUtils.write(q," "+mxResources.get("fitPage"));
+n.appendChild(q);mxEvent.addListener(q,"click",function(C){g.checked=!g.checked;k.checked=!g.checked;mxEvent.consume(C)});mxEvent.addListener(g,"change",function(){k.checked=!g.checked});d.appendChild(n);h.appendChild(d);d=d.cloneNode(!1);var k=document.createElement("input");k.setAttribute("type","checkbox");n=document.createElement("td");n.style.fontSize="10pt";n.appendChild(k);q=document.createElement("span");mxUtils.write(q," "+mxResources.get("posterPrint")+":");n.appendChild(q);mxEvent.addListener(q,
+"click",function(C){k.checked=!k.checked;g.checked=!k.checked;mxEvent.consume(C)});d.appendChild(n);var p=document.createElement("input");p.setAttribute("value","1");p.setAttribute("type","number");p.setAttribute("min","1");p.setAttribute("size","4");p.setAttribute("disabled","disabled");p.style.width="50px";n=document.createElement("td");n.style.fontSize="10pt";n.appendChild(p);mxUtils.write(n," "+mxResources.get("pages")+" (max)");d.appendChild(n);h.appendChild(d);mxEvent.addListener(k,"change",
+function(){k.checked?p.removeAttribute("disabled"):p.setAttribute("disabled","disabled");g.checked=!k.checked});d=d.cloneNode(!1);n=document.createElement("td");mxUtils.write(n,mxResources.get("pageScale")+":");d.appendChild(n);n=document.createElement("td");var w=document.createElement("input");w.setAttribute("value","100 %");w.setAttribute("size","5");w.style.width="50px";n.appendChild(w);d.appendChild(n);h.appendChild(d);d=document.createElement("tr");n=document.createElement("td");n.colSpan=2;
n.style.paddingTop="20px";n.setAttribute("align","right");q=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});q.className="geBtn";a.editor.cancelFirst&&n.appendChild(q);if(PrintDialog.previewEnabled){var z=mxUtils.button(mxResources.get("preview"),function(){a.hideDialog();b(!1)});z.className="geBtn";n.appendChild(z)}z=mxUtils.button(mxResources.get(PrintDialog.previewEnabled?"print":"ok"),function(){a.hideDialog();b(!0)});z.className="geBtn gePrimaryBtn";n.appendChild(z);a.editor.cancelFirst||
-n.appendChild(q);f.appendChild(n);g.appendChild(f);e.appendChild(g);this.container=e};PrintDialog.printPreview=function(a){try{null!=a.wnd&&window.setTimeout(function(){a.wnd.focus();a.wnd.print();a.wnd.close()},500)}catch(b){}};
-PrintDialog.createPrintPreview=function(a,b,d,e,g,f,h){b=new mxPrintPreview(a,b,d,e,g,f);b.title=mxResources.get("preview");b.addPageCss=!mxClient.IS_SF;b.printBackgroundImage=!0;b.autoOrigin=h;h=a.background;if(null==h||""==h||h==mxConstants.NONE)h="#ffffff";b.backgroundColor=h;var n=b.isTextLabel;b.isTextLabel=function(l){return"geHint"==!l.className&&n.apply(this,arguments)};var q=b.getLinkForCellState;b.getLinkForCellState=function(l){return a.getAbsoluteUrl(q.apply(this,arguments))};return b};
+n.appendChild(q);d.appendChild(n);h.appendChild(d);f.appendChild(h);this.container=f};PrintDialog.printPreview=function(a){try{null!=a.wnd&&window.setTimeout(function(){a.wnd.focus();a.wnd.print();a.wnd.close()},500)}catch(b){}};
+PrintDialog.createPrintPreview=function(a,b,e,f,h,d,g){b=new mxPrintPreview(a,b,e,f,h,d);b.title=mxResources.get("preview");b.addPageCss=!mxClient.IS_SF;b.printBackgroundImage=!0;b.autoOrigin=g;g=a.background;if(null==g||""==g||g==mxConstants.NONE)g="#ffffff";b.backgroundColor=g;var n=b.isTextLabel;b.isTextLabel=function(k){return"geHint"==!k.className&&n.apply(this,arguments)};var q=b.getLinkForCellState;b.getLinkForCellState=function(k){return a.getAbsoluteUrl(q.apply(this,arguments))};return b};
PrintDialog.previewEnabled=!0;
-var PageSetupDialog=function(a){function b(){var D=w;null!=D&&null!=D.originalSrc&&(D=a.createImageForPageLink(D.originalSrc,null));null!=D&&null!=D.src?(p.style.backgroundImage="url("+D.src+")",p.style.display="inline-block"):(p.style.backgroundImage="",p.style.display="none");p.style.backgroundColor="";null!=z&&z!=mxConstants.NONE&&(p.style.backgroundColor=z,p.style.display="inline-block")}var d=a.editor.graph,e=document.createElement("table");e.style.width="100%";e.style.height="100%";var g=document.createElement("tbody");
-var f=document.createElement("tr");var h=document.createElement("td");h.style.verticalAlign="top";h.style.fontSize="10pt";mxUtils.write(h,mxResources.get("paperSize")+":");f.appendChild(h);h=document.createElement("td");h.style.verticalAlign="top";h.style.fontSize="10pt";var n=PageSetupDialog.addPageFormatPanel(h,"pagesetupdialog",d.pageFormat);f.appendChild(h);g.appendChild(f);f=document.createElement("tr");h=document.createElement("td");mxUtils.write(h,mxResources.get("gridSize")+":");f.appendChild(h);
-h=document.createElement("td");h.style.whiteSpace="nowrap";var q=document.createElement("input");q.setAttribute("type","number");q.setAttribute("min","0");q.style.width="40px";q.style.marginLeft="6px";q.value=d.getGridSize();h.appendChild(q);mxEvent.addListener(q,"change",function(){var D=parseInt(q.value);q.value=Math.max(1,isNaN(D)?d.getGridSize():D)});f.appendChild(h);g.appendChild(f);f=document.createElement("tr");h=document.createElement("td");mxUtils.write(h,mxResources.get("background")+":");
-f.appendChild(h);h=document.createElement("td");var l=document.createElement("button");l.className="geBtn";l.style.margin="0px";mxUtils.write(l,mxResources.get("change")+"...");var p=document.createElement("div");p.style.display="inline-block";p.style.verticalAlign="middle";p.style.backgroundPosition="center center";p.style.backgroundRepeat="no-repeat";p.style.backgroundSize="contain";p.style.border="1px solid lightGray";p.style.borderRadius="4px";p.style.marginRight="14px";p.style.height="32px";
-p.style.width="64px";p.style.cursor="pointer";p.style.padding="4px";var w=d.backgroundImage,z=d.background,C=d.shadowVisible,F=function(D){a.showBackgroundImageDialog(function(G,K,I,O){K||(null!=G&&null!=G.src&&Graph.isPageLink(G.src)&&(G={originalSrc:G.src}),w=G,C=O);z=I;b()},w,z,!0);mxEvent.consume(D)};mxEvent.addListener(l,"click",F);mxEvent.addListener(p,"click",F);b();h.appendChild(p);h.appendChild(l);f.appendChild(h);g.appendChild(f);f=document.createElement("tr");h=document.createElement("td");
-h.colSpan=2;h.style.paddingTop="16px";h.setAttribute("align","right");l=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});l.className="geBtn";a.editor.cancelFirst&&h.appendChild(l);F=mxUtils.button(mxResources.get("apply"),function(){a.hideDialog();var D=parseInt(q.value);isNaN(D)||d.gridSize===D||d.setGridSize(D);D=new ChangePageSetup(a,z,w,n.get());D.ignoreColor=d.background==z;D.ignoreImage=(null!=d.backgroundImage?d.backgroundImage.src:null)===(null!=w?w.src:null);null!=C&&
-(D.shadowVisible=C);d.pageFormat.width==D.previousFormat.width&&d.pageFormat.height==D.previousFormat.height&&D.ignoreColor&&D.ignoreImage&&D.shadowVisible==d.shadowVisible||d.model.execute(D)});F.className="geBtn gePrimaryBtn";h.appendChild(F);a.editor.cancelFirst||h.appendChild(l);f.appendChild(h);g.appendChild(f);e.appendChild(g);this.container=e};
-PageSetupDialog.addPageFormatPanel=function(a,b,d,e){b="format-"+b;var g=document.createElement("input");g.setAttribute("name",b);g.setAttribute("type","radio");g.setAttribute("value","portrait");var f=document.createElement("input");f.setAttribute("name",b);f.setAttribute("type","radio");f.setAttribute("value","landscape");var h=document.createElement("select");h.style.marginBottom="4px";h.style.borderRadius="4px";h.style.borderWidth="1px";h.style.borderStyle="solid";h.style.boxSizing="border-box";
-h.style.padding="2px";h.style.width="206px";var n=document.createElement("div");n.style.whiteSpace="nowrap";n.style.marginLeft="4px";n.style.width="210px";n.style.height="24px";g.style.marginRight="6px";n.appendChild(g);b=document.createElement("span");b.style.maxWidth="100px";mxUtils.write(b,mxResources.get("portrait"));n.appendChild(b);f.style.marginLeft="10px";f.style.marginRight="6px";n.appendChild(f);var q=document.createElement("span");q.style.width="100px";mxUtils.write(q,mxResources.get("landscape"));
-n.appendChild(q);var l=document.createElement("div");l.style.whiteSpace="nowrap";l.style.marginLeft="4px";l.style.fontSize="12px";l.style.width="210px";l.style.height="24px";var p=document.createElement("input");p.setAttribute("size","7");p.setAttribute("title",mxResources.get("width"));p.style.textAlign="right";l.appendChild(p);mxUtils.write(l," x ");var w=document.createElement("input");w.setAttribute("size","7");w.setAttribute("title",mxResources.get("height"));w.style.textAlign="right";l.appendChild(w);
-var z=document.createElement("select");z.style.marginLeft="4px";z.style.maxWidth="78px";z.style.width="78px";for(var C=[{label:mxResources.get("points"),unit:mxConstants.POINTS},{label:mxResources.get("inches"),unit:mxConstants.INCHES},{label:mxResources.get("millimeters"),unit:mxConstants.MILLIMETERS}],F=0;F<C.length;F++){var D=document.createElement("option");D.setAttribute("value",C[F].unit);mxUtils.write(D,C[F].label);z.appendChild(D)}z.value=Editor.pageSizeUnit;l.appendChild(z);n.style.display=
-"none";l.style.display="none";var G={},K=PageSetupDialog.getFormats();for(F=0;F<K.length;F++)C=K[F],G[C.key]=C,D=document.createElement("option"),D.setAttribute("value",C.key),mxUtils.write(D,C.title),h.appendChild(D);var I=function(){h.value="custom";for(var H=0;H<K.length;H++){var Z=K[H];null!=Z.format&&("a4"==Z.key?826==d.width?(d=mxRectangle.fromRectangle(d),d.width=827):826==d.height&&(d=mxRectangle.fromRectangle(d),d.height=827):"a5"==Z.key&&(584==d.width?(d=mxRectangle.fromRectangle(d),d.width=
-583):584==d.height&&(d=mxRectangle.fromRectangle(d),d.height=583)),d.width==Z.format.width&&d.height==Z.format.height?(h.value=Z.key,g.setAttribute("checked","checked"),g.defaultChecked=!0,g.checked=!0,f.removeAttribute("checked"),f.defaultChecked=!1,f.checked=!1,detected=!0):d.width==Z.format.height&&d.height==Z.format.width&&(h.value=Z.key,g.removeAttribute("checked"),g.defaultChecked=!1,g.checked=!1,f.setAttribute("checked","checked"),f.defaultChecked=!0,detected=f.checked=!0))}"custom"==h.value?
-(p.value=Editor.toUnit(d.width,z.value),w.value=Editor.toUnit(d.height,z.value),g.setAttribute("checked","checked"),h.value="custom",n.style.display="none",l.style.display=""):(n.style.display="",l.style.display="none")};I();a.appendChild(h);mxUtils.br(a);a.appendChild(n);a.appendChild(l);var O=function(H,Z){H=G[h.value];null!=H.format?(p.value=Editor.toUnit(f.checked?H.format.height:H.format.width,z.value),w.value=Editor.toUnit(f.checked?H.format.width:H.format.height,z.value),l.style.display="none",
-n.style.display=""):(n.style.display="none",l.style.display="");H=parseFloat(p.value);if(isNaN(H)||0>=H)p.value=Editor.toUnit(d.width,z.value);H=parseFloat(w.value);if(isNaN(H)||0>=H)w.value=Editor.toUnit(d.height,z.value);H=new mxRectangle(0,0,Math.floor(Editor.fromUnit(parseFloat(p.value),z.value)),Math.floor(Editor.fromUnit(parseFloat(w.value),z.value)));Z||H.width==d.width&&H.height==d.height||(d=H,null!=e&&e(d))};mxEvent.addListener(b,"click",function(H){g.checked=!0;O(H);mxEvent.consume(H)});
-mxEvent.addListener(q,"click",function(H){f.checked=!0;O(H);mxEvent.consume(H)});mxEvent.addListener(p,"blur",O);mxEvent.addListener(p,"click",O);mxEvent.addListener(w,"blur",O);mxEvent.addListener(w,"click",O);mxEvent.addListener(f,"change",O);mxEvent.addListener(g,"change",O);mxEvent.addListener(h,"change",function(H){O(H,"custom"==h.value);mxEvent.consume(H)});mxEvent.addListener(z,"change",function(H){p.value=Editor.toUnit(Editor.fromUnit(p.value,Editor.pageSizeUnit),z.value);w.value=Editor.toUnit(Editor.fromUnit(w.value,
-Editor.pageSizeUnit),z.value);Editor.pageSizeUnit=z.value;O(H,!0);mxEvent.consume(H)});O(null,!0);return{set:function(H){d=H;I(null,null,!0)},get:function(){return d},widthInput:p,heightInput:w}};
+var PageSetupDialog=function(a){function b(){var D=w;null!=D&&null!=D.originalSrc&&(D=a.createImageForPageLink(D.originalSrc,null));null!=D&&null!=D.src?(p.style.backgroundImage="url("+D.src+")",p.style.display="inline-block"):(p.style.backgroundImage="",p.style.display="none");p.style.backgroundColor="";null!=z&&z!=mxConstants.NONE&&(p.style.backgroundColor=z,p.style.display="inline-block")}var e=a.editor.graph,f=document.createElement("table");f.style.width="100%";f.style.height="100%";var h=document.createElement("tbody");
+var d=document.createElement("tr");var g=document.createElement("td");g.style.verticalAlign="top";g.style.fontSize="10pt";mxUtils.write(g,mxResources.get("paperSize")+":");d.appendChild(g);g=document.createElement("td");g.style.verticalAlign="top";g.style.fontSize="10pt";var n=PageSetupDialog.addPageFormatPanel(g,"pagesetupdialog",e.pageFormat);d.appendChild(g);h.appendChild(d);d=document.createElement("tr");g=document.createElement("td");mxUtils.write(g,mxResources.get("gridSize")+":");d.appendChild(g);
+g=document.createElement("td");g.style.whiteSpace="nowrap";var q=document.createElement("input");q.setAttribute("type","number");q.setAttribute("min","0");q.style.width="40px";q.style.marginLeft="6px";q.value=e.getGridSize();g.appendChild(q);mxEvent.addListener(q,"change",function(){var D=parseInt(q.value);q.value=Math.max(1,isNaN(D)?e.getGridSize():D)});d.appendChild(g);h.appendChild(d);d=document.createElement("tr");g=document.createElement("td");mxUtils.write(g,mxResources.get("background")+":");
+d.appendChild(g);g=document.createElement("td");var k=document.createElement("button");k.className="geBtn";k.style.margin="0px";mxUtils.write(k,mxResources.get("change")+"...");var p=document.createElement("div");p.style.display="inline-block";p.style.verticalAlign="middle";p.style.backgroundPosition="center center";p.style.backgroundRepeat="no-repeat";p.style.backgroundSize="contain";p.style.border="1px solid lightGray";p.style.borderRadius="4px";p.style.marginRight="14px";p.style.height="32px";
+p.style.width="64px";p.style.cursor="pointer";p.style.padding="4px";var w=e.backgroundImage,z=e.background,C=e.shadowVisible,F=function(D){a.showBackgroundImageDialog(function(H,K,G,P){K||(null!=H&&null!=H.src&&Graph.isPageLink(H.src)&&(H={originalSrc:H.src}),w=H,C=P);z=G;b()},w,z,!0);mxEvent.consume(D)};mxEvent.addListener(k,"click",F);mxEvent.addListener(p,"click",F);b();g.appendChild(p);g.appendChild(k);d.appendChild(g);h.appendChild(d);d=document.createElement("tr");g=document.createElement("td");
+g.colSpan=2;g.style.paddingTop="16px";g.setAttribute("align","right");k=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});k.className="geBtn";a.editor.cancelFirst&&g.appendChild(k);F=mxUtils.button(mxResources.get("apply"),function(){a.hideDialog();var D=parseInt(q.value);isNaN(D)||e.gridSize===D||e.setGridSize(D);D=new ChangePageSetup(a,z,w,n.get());D.ignoreColor=e.background==z;D.ignoreImage=(null!=e.backgroundImage?e.backgroundImage.src:null)===(null!=w?w.src:null);null!=C&&
+(D.shadowVisible=C);e.pageFormat.width==D.previousFormat.width&&e.pageFormat.height==D.previousFormat.height&&D.ignoreColor&&D.ignoreImage&&D.shadowVisible==e.shadowVisible||e.model.execute(D)});F.className="geBtn gePrimaryBtn";g.appendChild(F);a.editor.cancelFirst||g.appendChild(k);d.appendChild(g);h.appendChild(d);f.appendChild(h);this.container=f};
+PageSetupDialog.addPageFormatPanel=function(a,b,e,f){b="format-"+b;var h=document.createElement("input");h.setAttribute("name",b);h.setAttribute("type","radio");h.setAttribute("value","portrait");var d=document.createElement("input");d.setAttribute("name",b);d.setAttribute("type","radio");d.setAttribute("value","landscape");var g=document.createElement("select");g.style.marginBottom="4px";g.style.borderRadius="4px";g.style.borderWidth="1px";g.style.borderStyle="solid";g.style.boxSizing="border-box";
+g.style.padding="2px";g.style.width="206px";var n=document.createElement("div");n.style.whiteSpace="nowrap";n.style.marginLeft="4px";n.style.width="210px";n.style.height="24px";h.style.marginRight="6px";n.appendChild(h);b=document.createElement("span");b.style.maxWidth="100px";mxUtils.write(b,mxResources.get("portrait"));n.appendChild(b);d.style.marginLeft="10px";d.style.marginRight="6px";n.appendChild(d);var q=document.createElement("span");q.style.width="100px";mxUtils.write(q,mxResources.get("landscape"));
+n.appendChild(q);var k=document.createElement("div");k.style.whiteSpace="nowrap";k.style.marginLeft="4px";k.style.fontSize="12px";k.style.width="210px";k.style.height="24px";var p=document.createElement("input");p.setAttribute("size","7");p.setAttribute("title",mxResources.get("width"));p.style.textAlign="right";k.appendChild(p);mxUtils.write(k," x ");var w=document.createElement("input");w.setAttribute("size","7");w.setAttribute("title",mxResources.get("height"));w.style.textAlign="right";k.appendChild(w);
+var z=document.createElement("select");z.style.marginLeft="4px";z.style.maxWidth="78px";z.style.width="78px";for(var C=[{label:mxResources.get("points"),unit:mxConstants.POINTS},{label:mxResources.get("inches"),unit:mxConstants.INCHES},{label:mxResources.get("millimeters"),unit:mxConstants.MILLIMETERS}],F=0;F<C.length;F++){var D=document.createElement("option");D.setAttribute("value",C[F].unit);mxUtils.write(D,C[F].label);z.appendChild(D)}z.value=Editor.pageSizeUnit;k.appendChild(z);n.style.display=
+"none";k.style.display="none";var H={},K=PageSetupDialog.getFormats();for(F=0;F<K.length;F++)C=K[F],H[C.key]=C,D=document.createElement("option"),D.setAttribute("value",C.key),mxUtils.write(D,C.title),g.appendChild(D);var G=function(){g.value="custom";for(var I=0;I<K.length;I++){var Z=K[I];null!=Z.format&&("a4"==Z.key?826==e.width?(e=mxRectangle.fromRectangle(e),e.width=827):826==e.height&&(e=mxRectangle.fromRectangle(e),e.height=827):"a5"==Z.key&&(584==e.width?(e=mxRectangle.fromRectangle(e),e.width=
+583):584==e.height&&(e=mxRectangle.fromRectangle(e),e.height=583)),e.width==Z.format.width&&e.height==Z.format.height?(g.value=Z.key,h.setAttribute("checked","checked"),h.defaultChecked=!0,h.checked=!0,d.removeAttribute("checked"),d.defaultChecked=!1,d.checked=!1,detected=!0):e.width==Z.format.height&&e.height==Z.format.width&&(g.value=Z.key,h.removeAttribute("checked"),h.defaultChecked=!1,h.checked=!1,d.setAttribute("checked","checked"),d.defaultChecked=!0,detected=d.checked=!0))}"custom"==g.value?
+(p.value=Editor.toUnit(e.width,z.value),w.value=Editor.toUnit(e.height,z.value),h.setAttribute("checked","checked"),g.value="custom",n.style.display="none",k.style.display=""):(n.style.display="",k.style.display="none")};G();a.appendChild(g);mxUtils.br(a);a.appendChild(n);a.appendChild(k);var P=function(I,Z){I=H[g.value];null!=I.format?(p.value=Editor.toUnit(d.checked?I.format.height:I.format.width,z.value),w.value=Editor.toUnit(d.checked?I.format.width:I.format.height,z.value),k.style.display="none",
+n.style.display=""):(n.style.display="none",k.style.display="");I=parseFloat(p.value);if(isNaN(I)||0>=I)p.value=Editor.toUnit(e.width,z.value);I=parseFloat(w.value);if(isNaN(I)||0>=I)w.value=Editor.toUnit(e.height,z.value);I=new mxRectangle(0,0,Math.floor(Editor.fromUnit(parseFloat(p.value),z.value)),Math.floor(Editor.fromUnit(parseFloat(w.value),z.value)));Z||I.width==e.width&&I.height==e.height||(e=I,null!=f&&f(e))};mxEvent.addListener(b,"click",function(I){h.checked=!0;P(I);mxEvent.consume(I)});
+mxEvent.addListener(q,"click",function(I){d.checked=!0;P(I);mxEvent.consume(I)});mxEvent.addListener(p,"blur",P);mxEvent.addListener(p,"click",P);mxEvent.addListener(w,"blur",P);mxEvent.addListener(w,"click",P);mxEvent.addListener(d,"change",P);mxEvent.addListener(h,"change",P);mxEvent.addListener(g,"change",function(I){P(I,"custom"==g.value);mxEvent.consume(I)});mxEvent.addListener(z,"change",function(I){p.value=Editor.toUnit(Editor.fromUnit(p.value,Editor.pageSizeUnit),z.value);w.value=Editor.toUnit(Editor.fromUnit(w.value,
+Editor.pageSizeUnit),z.value);Editor.pageSizeUnit=z.value;P(I,!0);mxEvent.consume(I)});P(null,!0);return{set:function(I){e=I;G(null,null,!0)},get:function(){return e},widthInput:p,heightInput:w}};
PageSetupDialog.getFormats=function(){return[{key:"letter",title:'US-Letter (8,5" x 11")',format:mxConstants.PAGE_FORMAT_LETTER_PORTRAIT},{key:"legal",title:'US-Legal (8,5" x 14")',format:new mxRectangle(0,0,850,1400)},{key:"tabloid",title:'US-Tabloid (11" x 17")',format:new mxRectangle(0,0,1100,1700)},{key:"executive",title:'US-Executive (7" x 10")',format:new mxRectangle(0,0,700,1E3)},{key:"a0",title:"A0 (841 mm x 1189 mm)",format:new mxRectangle(0,0,3300,4681)},{key:"a1",title:"A1 (594 mm x 841 mm)",
format:new mxRectangle(0,0,2339,3300)},{key:"a2",title:"A2 (420 mm x 594 mm)",format:new mxRectangle(0,0,1654,2336)},{key:"a3",title:"A3 (297 mm x 420 mm)",format:new mxRectangle(0,0,1169,1654)},{key:"a4",title:"A4 (210 mm x 297 mm)",format:mxConstants.PAGE_FORMAT_A4_PORTRAIT},{key:"a5",title:"A5 (148 mm x 210 mm)",format:new mxRectangle(0,0,583,827)},{key:"a6",title:"A6 (105 mm x 148 mm)",format:new mxRectangle(0,0,413,583)},{key:"a7",title:"A7 (74 mm x 105 mm)",format:new mxRectangle(0,0,291,413)},
{key:"b4",title:"B4 (250 mm x 353 mm)",format:new mxRectangle(0,0,980,1390)},{key:"b5",title:"B5 (176 mm x 250 mm)",format:new mxRectangle(0,0,690,980)},{key:"16-9",title:"16:9 (1600 x 900)",format:new mxRectangle(0,0,900,1600)},{key:"16-10",title:"16:10 (1920 x 1200)",format:new mxRectangle(0,0,1200,1920)},{key:"4-3",title:"4:3 (1600 x 1200)",format:new mxRectangle(0,0,1200,1600)},{key:"custom",title:mxResources.get("custom"),format:null}]};
-var FilenameDialog=function(a,b,d,e,g,f,h,n,q,l,p){q=null!=q?q:!0;var w=document.createElement("div"),z=document.createElement("div");z.style.width="100%";z.style.display="grid";z.style.gap="5px 8px";z.style.gridAutoColumns="auto 1fr";z.style.boxSizing="border-box";z.style.padding="3px";var C=document.createElement("div");C.style.display="inline-flex";C.style.alignItems="center";C.style.justifyContent="flex-end";C.style.minWidth="0";var F=document.createElement("div");F.style.display="inline-block";
-F.style.textOverflow="ellipsis";F.style.whiteSpace="nowrap";F.style.overflow="hidden";F.style.fontSize="10pt";F.style.padding="2px 0";F.setAttribute("title",g||mxResources.get("filename"));mxUtils.write(F,(g||mxResources.get("filename"))+":");C.appendChild(F);z.appendChild(C);var D=document.createElement("input");D.setAttribute("value",b||"");D.style.flexGrow="1";var G=mxUtils.button(d,function(){if(null==f||f(D.value))q&&a.hideDialog(),e(D.value)});G.className="geBtn gePrimaryBtn";this.init=function(){if(null!=
-g||null==h)if(null!=p?Editor.selectFilename(D):(D.focus(),mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?D.select():document.execCommand("selectAll",!1,null)),Graph.fileSupport){var K=z.parentNode;if(null!=K){var I=null;mxEvent.addListener(K,"dragleave",function(O){null!=I&&(I.style.backgroundColor="",I=null);O.stopPropagation();O.preventDefault()});mxEvent.addListener(K,"dragover",mxUtils.bind(this,function(O){null==I&&(!mxClient.IS_IE||10<document.documentMode)&&(I=D,I.style.backgroundColor=
-"#ebf2f9");O.stopPropagation();O.preventDefault()}));mxEvent.addListener(K,"drop",mxUtils.bind(this,function(O){null!=I&&(I.style.backgroundColor="",I=null);0<=mxUtils.indexOf(O.dataTransfer.types,"text/uri-list")&&(D.value=decodeURIComponent(O.dataTransfer.getData("text/uri-list")),G.click());O.stopPropagation();O.preventDefault()}))}}};C=document.createElement("div");C.style.display="inline-flex";C.style.alignItems="center";C.style.gap="4px";C.style.whiteSpace="nowrap";C.appendChild(D);z.appendChild(C);
-null==g&&null!=h||null==p||null==a.editor.diagramFileTypes||(C=document.createElement("div"),C.style.display="inline-flex",C.style.alignItems="center",C.style.textOverflow="ellipsis",C.style.justifyContent="flex-end",C.style.fontSize="10pt",mxUtils.write(C,mxResources.get("type")+":"),z.appendChild(C),C=document.createElement("div"),C.style.display="inline-flex",C.style.alignItems="center",C.style.whiteSpace="nowrap",z.appendChild(C),b=FilenameDialog.createFileTypes(a,D,a.editor.diagramFileTypes),
-b.style.width="100%",C.appendChild(b));null!=h&&z.appendChild(h);row=document.createElement("div");row.style.gridColumn="1 / span 2";row.style.paddingTop=null!=p?"6px":"14px";row.style.whiteSpace="nowrap";row.style.display="inline-flex";row.style.alignItems="center";row.style.justifyContent="flex-end";row.setAttribute("align","right");C=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog();null!=l&&l()});C.className="geBtn";null==n||a.isOffline()||row.appendChild(a.createHelpIcon(n));
-a.editor.cancelFirst&&row.appendChild(C);mxEvent.addListener(D,"keypress",function(K){13==K.keyCode&&G.click()});row.appendChild(G);a.editor.cancelFirst||row.appendChild(C);z.appendChild(row);w.appendChild(z);this.container=w};FilenameDialog.filenameHelpLink=null;
-FilenameDialog.createFileTypes=function(a,b,d){var e=document.createElement("select");for(a=0;a<d.length;a++){var g=document.createElement("option");g.setAttribute("value",a);mxUtils.write(g,mxResources.get(d[a].description)+" (."+d[a].extension+")");e.appendChild(g)}mxEvent.addListener(e,"change",function(f){f=d[e.value].extension;var h=b.value.lastIndexOf(".drawio.");h=0<h?h:b.value.lastIndexOf(".");"drawio"!=f&&(f="drawio."+f);b.value=0<h?b.value.substring(0,h+1)+f:b.value+"."+f;"createEvent"in
-document?(f=document.createEvent("HTMLEvents"),f.initEvent("change",!1,!0),b.dispatchEvent(f)):b.fireEvent("onchange")});a=function(f){f=b.value.toLowerCase();for(var h=0,n=0;n<d.length;n++){var q=d[n].extension,l=null;"drawio"!=q&&(l=q,q=".drawio."+q);if(f.substring(f.length-q.length-1)=="."+q||null!=l&&f.substring(f.length-l.length-1)=="."+l){h=n;break}}e.value=h};mxEvent.addListener(b,"change",a);mxEvent.addListener(b,"keyup",a);a();return e};
-var WrapperWindow=function(a,b,d,e,g,f,h){var n=a.createSidebarContainer();h(n);this.window=new mxWindow(b,n,d,e,g,f,!0,!0);this.window.destroyOnClose=!1;this.window.setMaximizable(!1);this.window.setResizable(!0);this.window.setClosable(!0);this.window.setVisible(!0);a.installResizeHandler(this,!0);mxClient.IS_SF&&(this.window.div.onselectstart=mxUtils.bind(this,function(q){null==q&&(q=window.event);return null!=q&&a.isSelectionAllowed(q)}))};
-(function(){mxGraphView.prototype.validateBackgroundPage=function(){var h=this.graph;if(null!=h.container&&!h.transparentBackground){if(h.pageVisible){var n=this.getBackgroundPageBounds();if(null==this.backgroundPageShape){for(var q=h.container.firstChild;null!=q&&q.nodeType!=mxConstants.NODETYPE_ELEMENT;)q=q.nextSibling;null!=q&&(this.backgroundPageShape=this.createBackgroundPageShape(n),this.backgroundPageShape.scale=1,this.backgroundPageShape.isShadow=!0,this.backgroundPageShape.dialect=mxConstants.DIALECT_STRICTHTML,
-this.backgroundPageShape.init(h.container),q.style.position="absolute",h.container.insertBefore(this.backgroundPageShape.node,q),this.backgroundPageShape.redraw(),this.backgroundPageShape.node.className="geBackgroundPage",mxEvent.addListener(this.backgroundPageShape.node,"dblclick",mxUtils.bind(this,function(l){h.dblClick(l)})),mxEvent.addGestureListeners(this.backgroundPageShape.node,mxUtils.bind(this,function(l){h.fireMouseEvent(mxEvent.MOUSE_DOWN,new mxMouseEvent(l))}),mxUtils.bind(this,function(l){null!=
-h.tooltipHandler&&h.tooltipHandler.isHideOnHover()&&h.tooltipHandler.hide();h.isMouseDown&&!mxEvent.isConsumed(l)&&h.fireMouseEvent(mxEvent.MOUSE_MOVE,new mxMouseEvent(l))}),mxUtils.bind(this,function(l){h.fireMouseEvent(mxEvent.MOUSE_UP,new mxMouseEvent(l))})))}else this.backgroundPageShape.scale=1,this.backgroundPageShape.bounds=n,this.backgroundPageShape.redraw()}else null!=this.backgroundPageShape&&(this.backgroundPageShape.destroy(),this.backgroundPageShape=null);this.validateBackgroundStyles()}};
-mxGraphView.prototype.validateBackgroundStyles=function(h,n,q){var l=this.graph;h=null!=h?h:1;var p=null==l.background||l.background==mxConstants.NONE?l.defaultPageBackgroundColor:l.background,w=null!=p&&this.gridColor!=p.toLowerCase()?this.gridColor:"#ffffff",z="none",C="";if(l.isGridEnabled()||l.gridVisible){C=10;mxClient.IS_SVG?(z=unescape(encodeURIComponent(this.createSvgGrid(w,h))),z=window.btoa?btoa(z):Base64.encode(z,!0),z="url(data:image/svg+xml;base64,"+z+")",C=l.gridSize*this.scale*this.gridSteps*
-h):z="url("+this.gridImage+")";var F=w=0;n=null!=n?n-this.translate.x*this.scale:0;q=null!=q?q-this.translate.y*this.scale:0;var D=l.gridSize*this.scale*this.gridSteps,G=n%D;D=q%D;null!=l.view.backgroundPageShape&&(F=this.getBackgroundPageBounds(),w=1+F.x,F=1+F.y);C=-Math.round(C-mxUtils.mod(this.translate.x*this.scale-w+n,C)+G*h)+"px "+-Math.round(C-mxUtils.mod(this.translate.y*this.scale-F+q,C)+D*h)+"px"}h=l.view.canvas;null!=h.ownerSVGElement&&(h=h.ownerSVGElement);w=!Editor.isDarkMode()&&l.enableDiagramBackground;
-null!=l.view.backgroundPageShape?(l.view.backgroundPageShape.node.style.backgroundPosition=C,l.view.backgroundPageShape.node.style.backgroundImage=z,l.view.backgroundPageShape.node.style.backgroundColor=p,l.view.backgroundPageShape.node.style.borderColor=l.defaultPageBorderColor,l.container.classList.add("geDiagramBackdrop"),h.style.backgroundImage="none",h.style.backgroundColor="",l.container.style.backgroundColor=w?l.diagramBackgroundColor:""):(l.container.classList.remove("geDiagramBackdrop"),
-h.style.backgroundPosition=C,h.style.backgroundImage=z,!w||null!=l.background&&l.background!=mxConstants.NONE?h.style.backgroundColor=p:(h.style.backgroundColor=l.diagramBackgroundColor,l.container.style.backgroundColor=""))};mxGraphView.prototype.createSvgGrid=function(h,n){for(n=this.graph.gridSize*this.scale*(null!=n?n:1);n<this.minGridSize;)n*=2;for(var q=this.gridSteps*n,l=[],p=1;p<this.gridSteps;p++){var w=p*n;l.push("M 0 "+w+" L "+q+" "+w+" M "+w+" 0 L "+w+" "+q)}return'<svg width="'+q+'" height="'+
-q+'" xmlns="'+mxConstants.NS_SVG+'"><defs><pattern id="grid" width="'+q+'" height="'+q+'" patternUnits="userSpaceOnUse"><path d="'+l.join(" ")+'" fill="none" stroke="'+h+'" opacity="0.2" stroke-width="1"/><path d="M '+q+" 0 L 0 0 0 "+q+'" fill="none" stroke="'+h+'" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(#grid)"/></svg>'};var a=mxGraph.prototype.panGraph;mxGraph.prototype.panGraph=function(h,n){a.apply(this,arguments);if(null!=this.shiftPreview1){var q=this.view.canvas;
-null!=q.ownerSVGElement&&(q=q.ownerSVGElement);var l=this.gridSize*this.view.scale*this.view.gridSteps;l=-Math.round(l-mxUtils.mod(this.view.translate.x*this.view.scale+h,l))+"px "+-Math.round(l-mxUtils.mod(this.view.translate.y*this.view.scale+n,l))+"px";q.style.backgroundPosition=l}};mxGraph.prototype.updatePageBreaks=function(h,n,q){var l=this.view.scale,p=this.view.translate,w=this.pageFormat,z=l*this.pageScale,C=this.view.getBackgroundPageBounds();n=C.width;q=C.height;var F=new mxRectangle(l*
-p.x,l*p.y,w.width*z,w.height*z),D=(h=h&&Math.min(F.width,F.height)>this.minPageBreakDist)?Math.ceil(q/F.height)-1:0,G=h?Math.ceil(n/F.width)-1:0,K=C.x+n,I=C.y+q;null==this.horizontalPageBreaks&&0<D&&(this.horizontalPageBreaks=[]);null==this.verticalPageBreaks&&0<G&&(this.verticalPageBreaks=[]);h=mxUtils.bind(this,function(O){if(null!=O){for(var H=O==this.horizontalPageBreaks?D:G,Z=0;Z<=H;Z++){var S=O==this.horizontalPageBreaks?[new mxPoint(Math.round(C.x),Math.round(C.y+(Z+1)*F.height)),new mxPoint(Math.round(K),
-Math.round(C.y+(Z+1)*F.height))]:[new mxPoint(Math.round(C.x+(Z+1)*F.width),Math.round(C.y)),new mxPoint(Math.round(C.x+(Z+1)*F.width),Math.round(I))];null!=O[Z]?(O[Z].points=S,O[Z].redraw()):(S=new mxPolyline(S,this.pageBreakColor),S.dialect=this.dialect,S.isDashed=this.pageBreakDashed,S.pointerEvents=!1,S.init(this.view.backgroundPane),S.redraw(),O[Z]=S)}for(Z=H;Z<O.length;Z++)null!=O[Z]&&O[Z].destroy();O.splice(H,O.length-H)}});h(this.horizontalPageBreaks);h(this.verticalPageBreaks)};var b=mxGraphHandler.prototype.shouldRemoveCellsFromParent;
-mxGraphHandler.prototype.shouldRemoveCellsFromParent=function(h,n,q){for(var l=0;l<n.length;l++){if(this.graph.isTableCell(n[l])||this.graph.isTableRow(n[l]))return!1;if(this.graph.getModel().isVertex(n[l])){var p=this.graph.getCellGeometry(n[l]);if(null!=p&&p.relative)return!1}}return b.apply(this,arguments)};var d=mxConnectionHandler.prototype.createMarker;mxConnectionHandler.prototype.createMarker=function(){var h=d.apply(this,arguments);h.intersects=mxUtils.bind(this,function(n,q){return this.isConnecting()?
-!0:mxCellMarker.prototype.intersects.apply(h,arguments)});return h};mxGraphView.prototype.createBackgroundPageShape=function(h){return new mxRectangleShape(h,"#ffffff",this.graph.defaultPageBorderColor)};mxGraphView.prototype.getBackgroundPageBounds=function(){var h=this.getGraphBounds(),n=0<h.width?h.x/this.scale-this.translate.x:0,q=0<h.height?h.y/this.scale-this.translate.y:0,l=this.graph.pageFormat,p=this.graph.pageScale,w=l.width*p;l=l.height*p;p=Math.floor(Math.min(0,n)/w);var z=Math.floor(Math.min(0,
-q)/l);return new mxRectangle(this.scale*(this.translate.x+p*w),this.scale*(this.translate.y+z*l),this.scale*(Math.ceil(Math.max(1,n+h.width/this.scale)/w)-p)*w,this.scale*(Math.ceil(Math.max(1,q+h.height/this.scale)/l)-z)*l)};var e=mxGraph.prototype.panGraph;mxGraph.prototype.panGraph=function(h,n){e.apply(this,arguments);this.dialect==mxConstants.DIALECT_SVG||null==this.view.backgroundPageShape||this.useScrollbarsForPanning&&mxUtils.hasScrollbars(this.container)||(this.view.backgroundPageShape.node.style.marginLeft=
-h+"px",this.view.backgroundPageShape.node.style.marginTop=n+"px")};var g=mxPopupMenu.prototype.addItem;mxPopupMenu.prototype.addItem=function(h,n,q,l,p,w){var z=g.apply(this,arguments);null==w||w||mxEvent.addListener(z,"mousedown",function(C){mxEvent.consume(C)});return z};var f=mxGraphHandler.prototype.isPropagateSelectionCell;mxGraphHandler.prototype.isPropagateSelectionCell=function(h,n,q){var l=this.graph.model.getParent(h);if(n){var p=this.graph.model.isEdge(h)?null:this.graph.getCellGeometry(h);
-p=!this.graph.model.isEdge(l)&&!this.graph.isSiblingSelected(h)&&(null!=p&&p.relative||!this.graph.isContainer(l)||this.graph.isPart(h))}else if(p=f.apply(this,arguments),this.graph.isTableCell(h)||this.graph.isTableRow(h))p=l,this.graph.isTable(p)||(p=this.graph.model.getParent(p)),p=!this.graph.selectionCellsHandler.isHandled(p)||this.graph.isCellSelected(p)&&this.graph.isToggleEvent(q.getEvent())||this.graph.isCellSelected(h)&&!this.graph.isToggleEvent(q.getEvent())||this.graph.isTableCell(h)&&
-this.graph.isCellSelected(l);return p};mxPopupMenuHandler.prototype.getCellForPopupEvent=function(h){h=h.getCell();for(var n=this.graph.getModel(),q=n.getParent(h),l=this.graph.view.getState(q),p=this.graph.isCellSelected(h);null!=l&&(n.isVertex(q)||n.isEdge(q));){var w=this.graph.isCellSelected(q);p=p||w;if(w||!p&&(this.graph.isTableCell(h)||this.graph.isTableRow(h)))h=q;q=n.getParent(q)}return h}})();EditorUi=function(a,b,d){mxEventSource.call(this);this.destroyFunctions=[];this.editor=a||new Editor;this.container=b||document.body;var e=this,g=this.editor.graph;g.lightbox=d;var f=g.getGraphBounds;g.getGraphBounds=function(){var M=f.apply(this,arguments),U=this.backgroundImage;if(null!=U&&null!=U.width&&null!=U.height){var ba=this.view.translate,ja=this.view.scale;M=mxRectangle.fromRectangle(M);M.add(new mxRectangle((ba.x+U.x)*ja,(ba.y+U.y)*ja,U.width*ja,U.height*ja))}return M};g.useCssTransforms&&
-(this.lazyZoomDelay=0);mxClient.IS_SVG?mxPopupMenu.prototype.submenuImage="data:image/gif;base64,R0lGODlhCQAJAIAAAP///zMzMyH5BAEAAAAALAAAAAAJAAkAAAIPhI8WebHsHopSOVgb26AAADs=":(new Image).src=mxPopupMenu.prototype.submenuImage;mxClient.IS_SVG||null==mxConnectionHandler.prototype.connectImage||((new Image).src=mxConnectionHandler.prototype.connectImage.src);this.selectionStateListener=mxUtils.bind(this,function(M,U){this.clearSelectionState()});g.getSelectionModel().addListener(mxEvent.CHANGE,this.selectionStateListener);
-g.getModel().addListener(mxEvent.CHANGE,this.selectionStateListener);g.addListener(mxEvent.EDITING_STARTED,this.selectionStateListener);g.addListener(mxEvent.EDITING_STOPPED,this.selectionStateListener);g.getView().addListener("unitChanged",this.selectionStateListener);if(this.editor.chromeless&&!this.editor.editable){this.footerHeight=0;g.isEnabled=function(){return!1};g.panningHandler.isForcePanningEvent=function(M){for(var U=M.getSource();null!=U&&U!=g.container;){if("foreignObject"===U.nodeName||
-"text"===U.nodeName)return!1;U=U.parentNode}return!mxEvent.isPopupTrigger(M.getEvent())};var h=g.panningHandler.start;g.panningHandler.start=function(){h.apply(this,arguments);mxUtils.clearSelection()}}this.actions=new Actions(this);this.menus=this.createMenus();if(!g.standalone){var n=!1,q=!1;this.setDefaultStyle=function(M){try{g.getModel().isEdge(M)?q=g.pasteEdgeStyle=!1:n=!1;var U=g.getCellStyle(M,!1),ba=[],ja=[],pa;for(pa in U)ba.push(U[pa]),ja.push(pa);g.getModel().isEdge(M)?g.currentEdgeStyle=
-{}:g.currentVertexStyle={};this.fireEvent(new mxEventObject("styleChanged","keys",ja,"values",ba,"cells",[M],"force",!0));g.getModel().isEdge(M)?q=g.pasteEdgeStyle=!0:n=!0}catch(P){this.handleError(P)}};this.clearDefaultStyle=function(){g.currentEdgeStyle=mxUtils.clone(g.defaultEdgeStyle);g.currentVertexStyle=mxUtils.clone(g.defaultVertexStyle);n=q=g.pasteEdgeStyle=!1;this.fireEvent(new mxEventObject("styleChanged","keys",[],"values",[],"cells",[]))};g.addListener("cellsInserted",function(M,U){g.pasteCellStyles(g.includeDescendants(U.getProperty("cells")))});
-g.addListener("textInserted",function(M,U){g.pasteCellStyles(U.getProperty("cells"))});this.createDivs();this.createUi();this.refresh();var l=mxUtils.bind(this,function(M){null==M&&(M=window.event);return g.isEditing()||null!=M&&this.isSelectionAllowed(M)});this.container!=document.body||this.editor.chromeless&&!this.editor.editable||(this.menubarContainer.onselectstart=l,this.menubarContainer.onmousedown=l,this.toolbarContainer.onselectstart=l,this.toolbarContainer.onmousedown=l,this.diagramContainer.onselectstart=
-l,this.diagramContainer.onmousedown=l,this.sidebarContainer.onselectstart=l,this.sidebarContainer.onmousedown=l,this.formatContainer.onselectstart=l,this.formatContainer.onmousedown=l,this.footerContainer.onselectstart=l,this.footerContainer.onmousedown=l,null!=this.tabContainer&&(this.tabContainer.onselectstart=l),mxClient.IS_IOS&&(b=function(){var M=null;if(/iP(hone|od|ad)/.test(navigator.platform)){var U=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);try{M=[parseInt(U[1],10),parseInt(U[2],
-10),parseInt(U[3]||0,10)]}catch(ba){}}return M}(),null!=b&&16<=b[0]&&(mxUtils.setPrefixedStyle(this.menubarContainer.style,"userSelect","none"),mxUtils.setPrefixedStyle(this.diagramContainer.style,"userSelect","none"),mxUtils.setPrefixedStyle(this.sidebarContainer.style,"userSelect","none"),mxUtils.setPrefixedStyle(this.formatContainer.style,"userSelect","none"),mxUtils.setPrefixedStyle(this.footerContainer.style,"userSelect","none"),null!=this.tabContainer&&mxUtils.setPrefixedStyle(this.tabContainer.style,
-"userSelect","none"))));!this.editor.chromeless||this.editor.editable?(b=function(M){if(null!=M){var U=mxEvent.getSource(M);if("A"==U.nodeName)for(;null!=U;){if("geHint"==U.className)return!0;U=U.parentNode}}return l(M)},mxClient.IS_IE&&("undefined"===typeof document.documentMode||9>document.documentMode)?mxEvent.addListener(this.diagramContainer,"contextmenu",b):this.diagramContainer.oncontextmenu=b):g.panningHandler.usePopupTrigger=!1;g.init(this.diagramContainer);mxClient.IS_SVG&&null!=g.view.getDrawPane()&&
-(b=g.view.getDrawPane().ownerSVGElement,null!=b&&(b.style.position="absolute"));this.hoverIcons=this.createHoverIcons();if(null!=g.graphHandler){var p=g.graphHandler.start;g.graphHandler.start=function(){null!=e.hoverIcons&&e.hoverIcons.reset();p.apply(this,arguments)}}mxEvent.addListener(this.diagramContainer,"mousemove",mxUtils.bind(this,function(M){var U=mxUtils.getOffset(this.diagramContainer);0<mxEvent.getClientX(M)-U.x-this.diagramContainer.clientWidth||0<mxEvent.getClientY(M)-U.y-this.diagramContainer.clientHeight?
-this.diagramContainer.setAttribute("title",mxResources.get("panTooltip")):this.diagramContainer.removeAttribute("title")}));var w=this.hoverIcons.isResetEvent;this.hoverIcons.isResetEvent=function(M,U){return e.isSpaceDown()||w.apply(this,arguments)};this.keydownHandler=mxUtils.bind(this,function(M){16==M.which?this.shiftDown=!0:32!=M.which||g.isEditing()?mxEvent.isConsumed(M)||27!=M.keyCode||this.hideDialog(null,!0):(this.spaceDown=!0,this.hoverIcons.reset(),g.container.style.cursor="move",g.isEditing()||
-mxEvent.getSource(M)!=g.container||mxEvent.consume(M))});mxEvent.addListener(document,"keydown",this.keydownHandler);this.keyupHandler=mxUtils.bind(this,function(M){g.container.style.cursor="";this.shiftDown=this.spaceDown=!1});mxEvent.addListener(document,"keyup",this.keyupHandler);var z=g.panningHandler.isForcePanningEvent;g.panningHandler.isForcePanningEvent=function(M){return z.apply(this,arguments)||e.isSpaceDown()||mxEvent.isMouseEvent(M.getEvent())&&(this.usePopupTrigger||!mxEvent.isPopupTrigger(M.getEvent()))&&
-(!mxEvent.isControlDown(M.getEvent())&&mxEvent.isRightMouseButton(M.getEvent())||mxEvent.isMiddleMouseButton(M.getEvent()))};var C=g.cellEditor.isStopEditingEvent;g.cellEditor.isStopEditingEvent=function(M){return C.apply(this,arguments)||13==M.keyCode&&(!mxClient.IS_SF&&mxEvent.isControlDown(M)||mxClient.IS_MAC&&mxEvent.isMetaDown(M)||mxClient.IS_SF&&mxEvent.isShiftDown(M))};var F=g.isZoomWheelEvent;g.isZoomWheelEvent=function(){return e.isSpaceDown()||F.apply(this,arguments)};var D=!1,G=null,K=
-null,I=null,O=mxUtils.bind(this,function(){if(null!=this.toolbar&&D!=g.cellEditor.isContentEditing()){for(var M=this.toolbar.container.firstChild,U=[];null!=M;){var ba=M.nextSibling;0>mxUtils.indexOf(this.toolbar.staticElements,M)&&(M.parentNode.removeChild(M),U.push(M));M=ba}M=this.toolbar.fontMenu;ba=this.toolbar.sizeMenu;if(null==I)this.toolbar.createTextToolbar();else{for(var ja=0;ja<I.length;ja++)this.toolbar.container.appendChild(I[ja]);this.toolbar.fontMenu=G;this.toolbar.sizeMenu=K}D=g.cellEditor.isContentEditing();
-G=M;K=ba;I=U}}),H=g.cellEditor.startEditing;g.cellEditor.startEditing=function(){H.apply(this,arguments);O();if(g.cellEditor.isContentEditing()){var M=!1,U=function(){M||(M=!0,window.setTimeout(function(){var ba=g.getSelectedEditingElement();null!=ba&&(ba=mxUtils.getCurrentStyle(ba),null!=ba&&null!=e.toolbar&&(e.toolbar.setFontName(mxUtils.getCssFontFamily(ba.fontFamily)),e.toolbar.setFontSize(parseInt(ba.fontSize))));M=!1},0))};mxEvent.addListener(g.cellEditor.textarea,"input",U);mxEvent.addListener(g.cellEditor.textarea,
-"touchend",U);mxEvent.addListener(g.cellEditor.textarea,"mouseup",U);mxEvent.addListener(g.cellEditor.textarea,"keyup",U);U()}};var Z=g.cellEditor.stopEditing;g.cellEditor.stopEditing=function(M,U){try{Z.apply(this,arguments),O()}catch(ba){e.handleError(ba)}};g.container.setAttribute("tabindex","0");g.container.style.cursor="default";if(window.self===window.top&&null!=g.container.parentNode)try{g.container.focus()}catch(M){}var S=g.fireMouseEvent;g.fireMouseEvent=function(M,U,ba){try{M==mxEvent.MOUSE_DOWN&&
-this.container.focus(),S.apply(this,arguments)}catch(ja){e.handleError(ja)}};var X=g.foldCells;g.foldCells=function(M,U,ba,ja,pa){try{X.apply(this,arguments)}catch(P){e.handleError(P)}};g.popupMenuHandler.autoExpand=!0;null!=this.menus&&(g.popupMenuHandler.factoryMethod=mxUtils.bind(this,function(M,U,ba){this.menus.createPopupMenu(M,U,ba)}));mxEvent.addGestureListeners(document,mxUtils.bind(this,function(M){g.popupMenuHandler.hideMenu()}));this.keyHandler=this.createKeyHandler(a);this.getKeyHandler=
-function(){return keyHandler};g.connectionHandler.addListener(mxEvent.CONNECT,function(M,U){var ba=[U.getProperty("cell")];U.getProperty("terminalInserted")&&(ba.push(U.getProperty("terminal")),window.setTimeout(function(){null!=e.hoverIcons&&e.hoverIcons.update(g.view.getState(ba[ba.length-1]))},0));g.pasteCellStyles(ba)});this.addListener("styleChanged",mxUtils.bind(this,function(M,U){M=U.getProperty("force");(this.updateDefaultStyle||M)&&g.copyCellStyles(U.getProperty("cells"),U.getProperty("keys"),
-U.getProperty("values"),g.currentVertexStyle,g.currentEdgeStyle,n,q);null!=this.toolbar&&(this.toolbar.setFontName(g.currentVertexStyle.fontFamily||Menus.prototype.defaultFont),this.toolbar.setFontSize(g.currentVertexStyle.fontSize||Menus.prototype.defaultFontSize),null!=this.toolbar.edgeStyleMenu&&(this.toolbar.edgeStyleMenu.getElementsByTagName("div")[0].className="orthogonalEdgeStyle"==g.currentEdgeStyle.edgeStyle&&"1"==g.currentEdgeStyle.curved?"geSprite geSprite-curved":"straight"==g.currentEdgeStyle.edgeStyle||
-"none"==g.currentEdgeStyle.edgeStyle||null==g.currentEdgeStyle.edgeStyle?"geSprite geSprite-straight":"entityRelationEdgeStyle"==g.currentEdgeStyle.edgeStyle?"geSprite geSprite-entity":"elbowEdgeStyle"==g.currentEdgeStyle.edgeStyle?"geSprite geSprite-"+("vertical"==g.currentEdgeStyle.elbow?"verticalelbow":"horizontalelbow"):"isometricEdgeStyle"==g.currentEdgeStyle.edgeStyle?"geSprite geSprite-"+("vertical"==g.currentEdgeStyle.elbow?"verticalisometric":"horizontalisometric"):"geSprite geSprite-orthogonal"),
-null!=this.toolbar.edgeShapeMenu&&(this.toolbar.edgeShapeMenu.getElementsByTagName("div")[0].className="link"==g.currentEdgeStyle.shape?"geSprite geSprite-linkedge":"flexArrow"==g.currentEdgeStyle.shape?"geSprite geSprite-arrow":"arrow"==g.currentEdgeStyle.shape?"geSprite geSprite-simplearrow":"geSprite geSprite-connection"))}));null!=this.toolbar&&(a=mxUtils.bind(this,function(){var M=g.currentVertexStyle.fontFamily||"Helvetica",U=String(g.currentVertexStyle.fontSize||"12"),ba=g.getView().getState(g.getSelectionCell());
-null!=ba&&(M=ba.style[mxConstants.STYLE_FONTFAMILY]||M,U=ba.style[mxConstants.STYLE_FONTSIZE]||U,10<M.length&&(M=M.substring(0,8)+"..."));this.toolbar.setFontName(M);this.toolbar.setFontSize(U)}),g.getSelectionModel().addListener(mxEvent.CHANGE,a),g.getModel().addListener(mxEvent.CHANGE,a));g.addListener(mxEvent.CELLS_ADDED,function(M,U){M=U.getProperty("cells");U=U.getProperty("parent");null!=U&&g.getModel().isLayer(U)&&!g.isCellVisible(U)&&null!=M&&0<M.length&&g.getModel().setVisible(U,!0)});Graph.selectParentLayer&&
-g.selectionModel.addListener(mxEvent.CHANGE,function(){if(g.isEnabled()&&!g.isSelectionEmpty()){var M=g.getLayerForCells(g.getSelectionCells());null!=M&&g.setDefaultParent(M)}});this.gestureHandler=mxUtils.bind(this,function(M){null!=this.currentMenu&&mxEvent.getSource(M)!=this.currentMenu.div&&this.hideCurrentMenu()});mxEvent.addGestureListeners(document,this.gestureHandler);var Y=null;this.resizeHandler=mxUtils.bind(this,function(){null!=Y&&window.clearTimeout(Y);Y=window.setTimeout(mxUtils.bind(this,
-function(){Y=null;this.windowResized()}),100)});mxEvent.addListener(window,"resize",this.resizeHandler);this.orientationChangeHandler=mxUtils.bind(this,function(){this.refresh()});mxEvent.addListener(window,"orientationchange",this.orientationChangeHandler);mxClient.IS_IOS&&!window.navigator.standalone&&"undefined"!==typeof Menus&&(this.scrollHandler=mxUtils.bind(this,function(){window.scrollTo(0,0)}),mxEvent.addListener(window,"scroll",this.scrollHandler));this.editor.addListener("resetGraphView",
-mxUtils.bind(this,function(){this.resetScrollbars()}));this.addListener("gridEnabledChanged",mxUtils.bind(this,function(){g.view.validateBackground()}));this.addListener("backgroundColorChanged",mxUtils.bind(this,function(){g.view.validateBackground()}));g.addListener("gridSizeChanged",mxUtils.bind(this,function(){g.isGridEnabled()&&g.view.validateBackground()}));this.editor.resetGraph()}this.init();g.standalone||this.open()};EditorUi.compactUi=!0;
-EditorUi.parsePng=function(a,b,d){function e(n,q){var l=f;f+=q;return n.substring(l,f)}function g(n){n=e(n,4);return n.charCodeAt(3)+(n.charCodeAt(2)<<8)+(n.charCodeAt(1)<<16)+(n.charCodeAt(0)<<24)}var f=0;if(e(a,8)!=String.fromCharCode(137)+"PNG"+String.fromCharCode(13,10,26,10))null!=d&&d();else if(e(a,4),"IHDR"!=e(a,4))null!=d&&d();else{e(a,17);do{d=g(a);var h=e(a,4);if(null!=b&&b(f-8,h,d))break;value=e(a,d);e(a,4);if("IEND"==h)break}while(d)}};mxUtils.extend(EditorUi,mxEventSource);
+var FilenameDialog=function(a,b,e,f,h,d,g,n,q,k,p){q=null!=q?q:!0;var w=document.createElement("div"),z=document.createElement("div");z.style.width="100%";z.style.display="grid";z.style.gap="5px 8px";z.style.gridAutoColumns="auto 1fr";z.style.boxSizing="border-box";z.style.padding="3px";var C=document.createElement("div");C.style.display="inline-flex";C.style.alignItems="center";C.style.justifyContent="flex-end";C.style.minWidth="0";var F=document.createElement("div");F.style.display="inline-block";
+F.style.textOverflow="ellipsis";F.style.whiteSpace="nowrap";F.style.overflow="hidden";F.style.fontSize="10pt";F.style.padding="2px 0";F.setAttribute("title",h||mxResources.get("filename"));mxUtils.write(F,(h||mxResources.get("filename"))+":");C.appendChild(F);z.appendChild(C);var D=document.createElement("input");D.setAttribute("value",b||"");D.style.flexGrow="1";var H=mxUtils.button(e,function(){if(null==d||d(D.value))q&&a.hideDialog(),f(D.value)});H.className="geBtn gePrimaryBtn";this.init=function(){if(null!=
+h||null==g)if(null!=p?Editor.selectFilename(D):(D.focus(),mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?D.select():document.execCommand("selectAll",!1,null)),Graph.fileSupport){var K=z.parentNode;if(null!=K){var G=null;mxEvent.addListener(K,"dragleave",function(P){null!=G&&(G.style.backgroundColor="",G=null);P.stopPropagation();P.preventDefault()});mxEvent.addListener(K,"dragover",mxUtils.bind(this,function(P){null==G&&(!mxClient.IS_IE||10<document.documentMode)&&(G=D,G.style.backgroundColor=
+"#ebf2f9");P.stopPropagation();P.preventDefault()}));mxEvent.addListener(K,"drop",mxUtils.bind(this,function(P){null!=G&&(G.style.backgroundColor="",G=null);0<=mxUtils.indexOf(P.dataTransfer.types,"text/uri-list")&&(D.value=decodeURIComponent(P.dataTransfer.getData("text/uri-list")),H.click());P.stopPropagation();P.preventDefault()}))}}};C=document.createElement("div");C.style.display="inline-flex";C.style.alignItems="center";C.style.gap="4px";C.style.whiteSpace="nowrap";C.appendChild(D);z.appendChild(C);
+null==h&&null!=g||null==p||null==a.editor.diagramFileTypes||(C=document.createElement("div"),C.style.display="inline-flex",C.style.alignItems="center",C.style.textOverflow="ellipsis",C.style.justifyContent="flex-end",C.style.fontSize="10pt",mxUtils.write(C,mxResources.get("type")+":"),z.appendChild(C),C=document.createElement("div"),C.style.display="inline-flex",C.style.alignItems="center",C.style.whiteSpace="nowrap",z.appendChild(C),b=FilenameDialog.createFileTypes(a,D,a.editor.diagramFileTypes),
+b.style.width="100%",C.appendChild(b));null!=g&&z.appendChild(g);row=document.createElement("div");row.style.gridColumn="1 / span 2";row.style.paddingTop=null!=p?"6px":"14px";row.style.whiteSpace="nowrap";row.style.display="inline-flex";row.style.alignItems="center";row.style.justifyContent="flex-end";row.setAttribute("align","right");C=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog();null!=k&&k()});C.className="geBtn";null==n||a.isOffline()||row.appendChild(a.createHelpIcon(n));
+a.editor.cancelFirst&&row.appendChild(C);mxEvent.addListener(D,"keypress",function(K){13==K.keyCode&&H.click()});row.appendChild(H);a.editor.cancelFirst||row.appendChild(C);z.appendChild(row);w.appendChild(z);this.container=w};FilenameDialog.filenameHelpLink=null;
+FilenameDialog.createFileTypes=function(a,b,e){var f=document.createElement("select");for(a=0;a<e.length;a++){var h=document.createElement("option");h.setAttribute("value",a);mxUtils.write(h,mxResources.get(e[a].description)+" (."+e[a].extension+")");f.appendChild(h)}mxEvent.addListener(f,"change",function(d){d=e[f.value].extension;var g=b.value.lastIndexOf(".drawio.");g=0<g?g:b.value.lastIndexOf(".");"drawio"!=d&&(d="drawio."+d);b.value=0<g?b.value.substring(0,g+1)+d:b.value+"."+d;"createEvent"in
+document?(d=document.createEvent("HTMLEvents"),d.initEvent("change",!1,!0),b.dispatchEvent(d)):b.fireEvent("onchange")});a=function(d){d=b.value.toLowerCase();for(var g=0,n=0;n<e.length;n++){var q=e[n].extension,k=null;"drawio"!=q&&(k=q,q=".drawio."+q);if(d.substring(d.length-q.length-1)=="."+q||null!=k&&d.substring(d.length-k.length-1)=="."+k){g=n;break}}f.value=g};mxEvent.addListener(b,"change",a);mxEvent.addListener(b,"keyup",a);a();return f};
+var WrapperWindow=function(a,b,e,f,h,d,g){var n=a.createSidebarContainer();g(n);this.window=new mxWindow(b,n,e,f,h,d,!0,!0);this.window.destroyOnClose=!1;this.window.setMaximizable(!1);this.window.setResizable(!0);this.window.setClosable(!0);this.window.setVisible(!0);a.installResizeHandler(this,!0);mxClient.IS_SF&&(this.window.div.onselectstart=mxUtils.bind(this,function(q){null==q&&(q=window.event);return null!=q&&a.isSelectionAllowed(q)}))};
+(function(){mxGraphView.prototype.validateBackgroundPage=function(){var g=this.graph;if(null!=g.container&&!g.transparentBackground){if(g.pageVisible){var n=this.getBackgroundPageBounds();if(null==this.backgroundPageShape){for(var q=g.container.firstChild;null!=q&&q.nodeType!=mxConstants.NODETYPE_ELEMENT;)q=q.nextSibling;null!=q&&(this.backgroundPageShape=this.createBackgroundPageShape(n),this.backgroundPageShape.scale=1,this.backgroundPageShape.isShadow=!0,this.backgroundPageShape.dialect=mxConstants.DIALECT_STRICTHTML,
+this.backgroundPageShape.init(g.container),q.style.position="absolute",g.container.insertBefore(this.backgroundPageShape.node,q),this.backgroundPageShape.redraw(),this.backgroundPageShape.node.className="geBackgroundPage",mxEvent.addListener(this.backgroundPageShape.node,"dblclick",mxUtils.bind(this,function(k){g.dblClick(k)})),mxEvent.addGestureListeners(this.backgroundPageShape.node,mxUtils.bind(this,function(k){g.fireMouseEvent(mxEvent.MOUSE_DOWN,new mxMouseEvent(k))}),mxUtils.bind(this,function(k){null!=
+g.tooltipHandler&&g.tooltipHandler.isHideOnHover()&&g.tooltipHandler.hide();g.isMouseDown&&!mxEvent.isConsumed(k)&&g.fireMouseEvent(mxEvent.MOUSE_MOVE,new mxMouseEvent(k))}),mxUtils.bind(this,function(k){g.fireMouseEvent(mxEvent.MOUSE_UP,new mxMouseEvent(k))})))}else this.backgroundPageShape.scale=1,this.backgroundPageShape.bounds=n,this.backgroundPageShape.redraw()}else null!=this.backgroundPageShape&&(this.backgroundPageShape.destroy(),this.backgroundPageShape=null);this.validateBackgroundStyles()}};
+mxGraphView.prototype.validateBackgroundStyles=function(g,n,q){var k=this.graph;g=null!=g?g:1;var p=null==k.background||k.background==mxConstants.NONE?k.defaultPageBackgroundColor:k.background,w=null!=p&&this.gridColor!=p.toLowerCase()?this.gridColor:"#ffffff",z="none",C="";if(k.isGridEnabled()||k.gridVisible){C=10;mxClient.IS_SVG?(z=unescape(encodeURIComponent(this.createSvgGrid(w,g))),z=window.btoa?btoa(z):Base64.encode(z,!0),z="url(data:image/svg+xml;base64,"+z+")",C=k.gridSize*this.scale*this.gridSteps*
+g):z="url("+this.gridImage+")";var F=w=0;n=null!=n?n-this.translate.x*this.scale:0;q=null!=q?q-this.translate.y*this.scale:0;var D=k.gridSize*this.scale*this.gridSteps,H=n%D;D=q%D;null!=k.view.backgroundPageShape&&(F=this.getBackgroundPageBounds(),w=1+F.x,F=1+F.y);C=-Math.round(C-mxUtils.mod(this.translate.x*this.scale-w+n,C)+H*g)+"px "+-Math.round(C-mxUtils.mod(this.translate.y*this.scale-F+q,C)+D*g)+"px"}g=k.view.canvas;null!=g.ownerSVGElement&&(g=g.ownerSVGElement);w=!Editor.isDarkMode()&&k.enableDiagramBackground;
+null!=k.view.backgroundPageShape?(k.view.backgroundPageShape.node.style.backgroundPosition=C,k.view.backgroundPageShape.node.style.backgroundImage=z,k.view.backgroundPageShape.node.style.backgroundColor=p,k.view.backgroundPageShape.node.style.borderColor=k.defaultPageBorderColor,k.container.classList.add("geDiagramBackdrop"),g.style.backgroundImage="none",g.style.backgroundColor="",k.container.style.backgroundColor=w?k.diagramBackgroundColor:""):(k.container.classList.remove("geDiagramBackdrop"),
+g.style.backgroundPosition=C,g.style.backgroundImage=z,!w||null!=k.background&&k.background!=mxConstants.NONE?g.style.backgroundColor=p:(g.style.backgroundColor=k.diagramBackgroundColor,k.container.style.backgroundColor=""))};mxGraphView.prototype.createSvgGrid=function(g,n){for(n=this.graph.gridSize*this.scale*(null!=n?n:1);n<this.minGridSize;)n*=2;for(var q=this.gridSteps*n,k=[],p=1;p<this.gridSteps;p++){var w=p*n;k.push("M 0 "+w+" L "+q+" "+w+" M "+w+" 0 L "+w+" "+q)}return'<svg width="'+q+'" height="'+
+q+'" xmlns="'+mxConstants.NS_SVG+'"><defs><pattern id="grid" width="'+q+'" height="'+q+'" patternUnits="userSpaceOnUse"><path d="'+k.join(" ")+'" fill="none" stroke="'+g+'" opacity="0.2" stroke-width="1"/><path d="M '+q+" 0 L 0 0 0 "+q+'" fill="none" stroke="'+g+'" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(#grid)"/></svg>'};var a=mxGraph.prototype.panGraph;mxGraph.prototype.panGraph=function(g,n){a.apply(this,arguments);if(null!=this.shiftPreview1){var q=this.view.canvas;
+null!=q.ownerSVGElement&&(q=q.ownerSVGElement);var k=this.gridSize*this.view.scale*this.view.gridSteps;k=-Math.round(k-mxUtils.mod(this.view.translate.x*this.view.scale+g,k))+"px "+-Math.round(k-mxUtils.mod(this.view.translate.y*this.view.scale+n,k))+"px";q.style.backgroundPosition=k}};mxGraph.prototype.updatePageBreaks=function(g,n,q){var k=this.view.scale,p=this.view.translate,w=this.pageFormat,z=k*this.pageScale,C=this.view.getBackgroundPageBounds();n=C.width;q=C.height;var F=new mxRectangle(k*
+p.x,k*p.y,w.width*z,w.height*z),D=(g=g&&Math.min(F.width,F.height)>this.minPageBreakDist)?Math.ceil(q/F.height)-1:0,H=g?Math.ceil(n/F.width)-1:0,K=C.x+n,G=C.y+q;null==this.horizontalPageBreaks&&0<D&&(this.horizontalPageBreaks=[]);null==this.verticalPageBreaks&&0<H&&(this.verticalPageBreaks=[]);g=mxUtils.bind(this,function(P){if(null!=P){for(var I=P==this.horizontalPageBreaks?D:H,Z=0;Z<=I;Z++){var S=P==this.horizontalPageBreaks?[new mxPoint(Math.round(C.x),Math.round(C.y+(Z+1)*F.height)),new mxPoint(Math.round(K),
+Math.round(C.y+(Z+1)*F.height))]:[new mxPoint(Math.round(C.x+(Z+1)*F.width),Math.round(C.y)),new mxPoint(Math.round(C.x+(Z+1)*F.width),Math.round(G))];null!=P[Z]?(P[Z].points=S,P[Z].redraw()):(S=new mxPolyline(S,this.pageBreakColor),S.dialect=this.dialect,S.isDashed=this.pageBreakDashed,S.pointerEvents=!1,S.init(this.view.backgroundPane),S.redraw(),P[Z]=S)}for(Z=I;Z<P.length;Z++)null!=P[Z]&&P[Z].destroy();P.splice(I,P.length-I)}});g(this.horizontalPageBreaks);g(this.verticalPageBreaks)};var b=mxGraphHandler.prototype.shouldRemoveCellsFromParent;
+mxGraphHandler.prototype.shouldRemoveCellsFromParent=function(g,n,q){for(var k=0;k<n.length;k++){if(this.graph.isTableCell(n[k])||this.graph.isTableRow(n[k]))return!1;if(this.graph.getModel().isVertex(n[k])){var p=this.graph.getCellGeometry(n[k]);if(null!=p&&p.relative)return!1}}return b.apply(this,arguments)};var e=mxConnectionHandler.prototype.createMarker;mxConnectionHandler.prototype.createMarker=function(){var g=e.apply(this,arguments);g.intersects=mxUtils.bind(this,function(n,q){return this.isConnecting()?
+!0:mxCellMarker.prototype.intersects.apply(g,arguments)});return g};mxGraphView.prototype.createBackgroundPageShape=function(g){return new mxRectangleShape(g,"#ffffff",this.graph.defaultPageBorderColor)};mxGraphView.prototype.getBackgroundPageBounds=function(){var g=this.getGraphBounds(),n=0<g.width?g.x/this.scale-this.translate.x:0,q=0<g.height?g.y/this.scale-this.translate.y:0,k=this.graph.pageFormat,p=this.graph.pageScale,w=k.width*p;k=k.height*p;p=Math.floor(Math.min(0,n)/w);var z=Math.floor(Math.min(0,
+q)/k);return new mxRectangle(this.scale*(this.translate.x+p*w),this.scale*(this.translate.y+z*k),this.scale*(Math.ceil(Math.max(1,n+g.width/this.scale)/w)-p)*w,this.scale*(Math.ceil(Math.max(1,q+g.height/this.scale)/k)-z)*k)};var f=mxGraph.prototype.panGraph;mxGraph.prototype.panGraph=function(g,n){f.apply(this,arguments);this.dialect==mxConstants.DIALECT_SVG||null==this.view.backgroundPageShape||this.useScrollbarsForPanning&&mxUtils.hasScrollbars(this.container)||(this.view.backgroundPageShape.node.style.marginLeft=
+g+"px",this.view.backgroundPageShape.node.style.marginTop=n+"px")};var h=mxPopupMenu.prototype.addItem;mxPopupMenu.prototype.addItem=function(g,n,q,k,p,w){var z=h.apply(this,arguments);null==w||w||mxEvent.addListener(z,"mousedown",function(C){mxEvent.consume(C)});return z};var d=mxGraphHandler.prototype.isPropagateSelectionCell;mxGraphHandler.prototype.isPropagateSelectionCell=function(g,n,q){var k=this.graph.model.getParent(g);if(n){var p=this.graph.model.isEdge(g)?null:this.graph.getCellGeometry(g);
+p=!this.graph.model.isEdge(k)&&!this.graph.isSiblingSelected(g)&&(null!=p&&p.relative||!this.graph.isContainer(k)||this.graph.isPart(g))}else if(p=d.apply(this,arguments),this.graph.isTableCell(g)||this.graph.isTableRow(g))p=k,this.graph.isTable(p)||(p=this.graph.model.getParent(p)),p=!this.graph.selectionCellsHandler.isHandled(p)||this.graph.isCellSelected(p)&&this.graph.isToggleEvent(q.getEvent())||this.graph.isCellSelected(g)&&!this.graph.isToggleEvent(q.getEvent())||this.graph.isTableCell(g)&&
+this.graph.isCellSelected(k);return p};mxPopupMenuHandler.prototype.getCellForPopupEvent=function(g){g=g.getCell();for(var n=this.graph.getModel(),q=n.getParent(g),k=this.graph.view.getState(q),p=this.graph.isCellSelected(g);null!=k&&(n.isVertex(q)||n.isEdge(q));){var w=this.graph.isCellSelected(q);p=p||w;if(w||!p&&(this.graph.isTableCell(g)||this.graph.isTableRow(g)))g=q;q=n.getParent(q)}return g}})();EditorUi=function(a,b,e){mxEventSource.call(this);this.destroyFunctions=[];this.editor=a||new Editor;this.container=b||document.body;var f=this,h=this.editor.graph;h.lightbox=e;var d=h.getGraphBounds;h.getGraphBounds=function(){var L=d.apply(this,arguments),U=this.backgroundImage;if(null!=U&&null!=U.width&&null!=U.height){var ba=this.view.translate,ja=this.view.scale;L=mxRectangle.fromRectangle(L);L.add(new mxRectangle((ba.x+U.x)*ja,(ba.y+U.y)*ja,U.width*ja,U.height*ja))}return L};h.useCssTransforms&&
+(this.lazyZoomDelay=0);mxClient.IS_SVG?mxPopupMenu.prototype.submenuImage="data:image/gif;base64,R0lGODlhCQAJAIAAAP///zMzMyH5BAEAAAAALAAAAAAJAAkAAAIPhI8WebHsHopSOVgb26AAADs=":(new Image).src=mxPopupMenu.prototype.submenuImage;mxClient.IS_SVG||null==mxConnectionHandler.prototype.connectImage||((new Image).src=mxConnectionHandler.prototype.connectImage.src);this.selectionStateListener=mxUtils.bind(this,function(L,U){this.clearSelectionState()});h.getSelectionModel().addListener(mxEvent.CHANGE,this.selectionStateListener);
+h.getModel().addListener(mxEvent.CHANGE,this.selectionStateListener);h.addListener(mxEvent.EDITING_STARTED,this.selectionStateListener);h.addListener(mxEvent.EDITING_STOPPED,this.selectionStateListener);h.getView().addListener("unitChanged",this.selectionStateListener);if(this.editor.chromeless&&!this.editor.editable){this.footerHeight=0;h.isEnabled=function(){return!1};h.panningHandler.isForcePanningEvent=function(L){for(var U=L.getSource();null!=U&&U!=h.container;){if("foreignObject"===U.nodeName||
+"text"===U.nodeName)return!1;U=U.parentNode}return!mxEvent.isPopupTrigger(L.getEvent())};var g=h.panningHandler.start;h.panningHandler.start=function(){g.apply(this,arguments);mxUtils.clearSelection()}}this.actions=new Actions(this);this.menus=this.createMenus();if(!h.standalone){var n=!1,q=!1;this.setDefaultStyle=function(L){try{h.getModel().isEdge(L)?q=h.pasteEdgeStyle=!1:n=!1;var U=h.getCellStyle(L,!1),ba=[],ja=[],sa;for(sa in U)ba.push(U[sa]),ja.push(sa);h.getModel().isEdge(L)?h.currentEdgeStyle=
+{}:h.currentVertexStyle={};this.fireEvent(new mxEventObject("styleChanged","keys",ja,"values",ba,"cells",[L],"force",!0));h.getModel().isEdge(L)?q=h.pasteEdgeStyle=!0:n=!0}catch(O){this.handleError(O)}};this.clearDefaultStyle=function(){h.currentEdgeStyle=mxUtils.clone(h.defaultEdgeStyle);h.currentVertexStyle=mxUtils.clone(h.defaultVertexStyle);n=q=h.pasteEdgeStyle=!1;this.fireEvent(new mxEventObject("styleChanged","keys",[],"values",[],"cells",[]))};h.addListener("cellsInserted",function(L,U){h.pasteCellStyles(h.includeDescendants(U.getProperty("cells")))});
+h.addListener("textInserted",function(L,U){h.pasteCellStyles(U.getProperty("cells"))});this.createDivs();this.createUi();this.refresh();var k=mxUtils.bind(this,function(L){null==L&&(L=window.event);return h.isEditing()||null!=L&&this.isSelectionAllowed(L)});this.container!=document.body||this.editor.chromeless&&!this.editor.editable||(this.menubarContainer.onselectstart=k,this.menubarContainer.onmousedown=k,this.toolbarContainer.onselectstart=k,this.toolbarContainer.onmousedown=k,this.diagramContainer.onselectstart=
+k,this.diagramContainer.onmousedown=k,this.sidebarContainer.onselectstart=k,this.sidebarContainer.onmousedown=k,this.formatContainer.onselectstart=k,this.formatContainer.onmousedown=k,this.footerContainer.onselectstart=k,this.footerContainer.onmousedown=k,null!=this.tabContainer&&(this.tabContainer.onselectstart=k),mxClient.IS_IOS&&(b=function(){var L=null;if(/iP(hone|od|ad)/.test(navigator.platform)){var U=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);try{L=[parseInt(U[1],10),parseInt(U[2],
+10),parseInt(U[3]||0,10)]}catch(ba){}}return L}(),null!=b&&16<=b[0]&&(mxUtils.setPrefixedStyle(this.menubarContainer.style,"userSelect","none"),mxUtils.setPrefixedStyle(this.diagramContainer.style,"userSelect","none"),mxUtils.setPrefixedStyle(this.sidebarContainer.style,"userSelect","none"),mxUtils.setPrefixedStyle(this.formatContainer.style,"userSelect","none"),mxUtils.setPrefixedStyle(this.footerContainer.style,"userSelect","none"),null!=this.tabContainer&&mxUtils.setPrefixedStyle(this.tabContainer.style,
+"userSelect","none"))));!this.editor.chromeless||this.editor.editable?(b=function(L){if(null!=L){var U=mxEvent.getSource(L);if("A"==U.nodeName)for(;null!=U;){if("geHint"==U.className)return!0;U=U.parentNode}}return k(L)},mxClient.IS_IE&&("undefined"===typeof document.documentMode||9>document.documentMode)?mxEvent.addListener(this.diagramContainer,"contextmenu",b):this.diagramContainer.oncontextmenu=b):h.panningHandler.usePopupTrigger=!1;h.init(this.diagramContainer);mxClient.IS_SVG&&null!=h.view.getDrawPane()&&
+(b=h.view.getDrawPane().ownerSVGElement,null!=b&&(b.style.position="absolute"));this.hoverIcons=this.createHoverIcons();if(null!=h.graphHandler){var p=h.graphHandler.start;h.graphHandler.start=function(){null!=f.hoverIcons&&f.hoverIcons.reset();p.apply(this,arguments)}}mxEvent.addListener(this.diagramContainer,"mousemove",mxUtils.bind(this,function(L){var U=mxUtils.getOffset(this.diagramContainer);0<mxEvent.getClientX(L)-U.x-this.diagramContainer.clientWidth||0<mxEvent.getClientY(L)-U.y-this.diagramContainer.clientHeight?
+this.diagramContainer.setAttribute("title",mxResources.get("panTooltip")):this.diagramContainer.removeAttribute("title")}));var w=this.hoverIcons.isResetEvent;this.hoverIcons.isResetEvent=function(L,U){return f.isSpaceDown()||w.apply(this,arguments)};this.keydownHandler=mxUtils.bind(this,function(L){16==L.which?this.shiftDown=!0:32!=L.which||h.isEditing()?mxEvent.isConsumed(L)||27!=L.keyCode||this.hideDialog(null,!0):(this.spaceDown=!0,this.hoverIcons.reset(),h.container.style.cursor="move",h.isEditing()||
+mxEvent.getSource(L)!=h.container||mxEvent.consume(L))});mxEvent.addListener(document,"keydown",this.keydownHandler);this.keyupHandler=mxUtils.bind(this,function(L){h.container.style.cursor="";this.shiftDown=this.spaceDown=!1});mxEvent.addListener(document,"keyup",this.keyupHandler);var z=h.panningHandler.isForcePanningEvent;h.panningHandler.isForcePanningEvent=function(L){return z.apply(this,arguments)||f.isSpaceDown()||mxEvent.isMouseEvent(L.getEvent())&&(this.usePopupTrigger||!mxEvent.isPopupTrigger(L.getEvent()))&&
+(!mxEvent.isControlDown(L.getEvent())&&mxEvent.isRightMouseButton(L.getEvent())||mxEvent.isMiddleMouseButton(L.getEvent()))};var C=h.cellEditor.isStopEditingEvent;h.cellEditor.isStopEditingEvent=function(L){return C.apply(this,arguments)||13==L.keyCode&&(!mxClient.IS_SF&&mxEvent.isControlDown(L)||mxClient.IS_MAC&&mxEvent.isMetaDown(L)||mxClient.IS_SF&&mxEvent.isShiftDown(L))};var F=h.isZoomWheelEvent;h.isZoomWheelEvent=function(){return f.isSpaceDown()||F.apply(this,arguments)};var D=!1,H=null,K=
+null,G=null,P=mxUtils.bind(this,function(){if(null!=this.toolbar&&D!=h.cellEditor.isContentEditing()){for(var L=this.toolbar.container.firstChild,U=[];null!=L;){var ba=L.nextSibling;0>mxUtils.indexOf(this.toolbar.staticElements,L)&&(L.parentNode.removeChild(L),U.push(L));L=ba}L=this.toolbar.fontMenu;ba=this.toolbar.sizeMenu;if(null==G)this.toolbar.createTextToolbar();else{for(var ja=0;ja<G.length;ja++)this.toolbar.container.appendChild(G[ja]);this.toolbar.fontMenu=H;this.toolbar.sizeMenu=K}D=h.cellEditor.isContentEditing();
+H=L;K=ba;G=U}}),I=h.cellEditor.startEditing;h.cellEditor.startEditing=function(){I.apply(this,arguments);P();if(h.cellEditor.isContentEditing()){var L=!1,U=function(){L||(L=!0,window.setTimeout(function(){var ba=h.getSelectedEditingElement();null!=ba&&(ba=mxUtils.getCurrentStyle(ba),null!=ba&&null!=f.toolbar&&(f.toolbar.setFontName(mxUtils.getCssFontFamily(ba.fontFamily)),f.toolbar.setFontSize(parseInt(ba.fontSize))));L=!1},0))};mxEvent.addListener(h.cellEditor.textarea,"input",U);mxEvent.addListener(h.cellEditor.textarea,
+"touchend",U);mxEvent.addListener(h.cellEditor.textarea,"mouseup",U);mxEvent.addListener(h.cellEditor.textarea,"keyup",U);U()}};var Z=h.cellEditor.stopEditing;h.cellEditor.stopEditing=function(L,U){try{Z.apply(this,arguments),P()}catch(ba){f.handleError(ba)}};h.container.setAttribute("tabindex","0");h.container.style.cursor="default";if(window.self===window.top&&null!=h.container.parentNode)try{h.container.focus()}catch(L){}var S=h.fireMouseEvent;h.fireMouseEvent=function(L,U,ba){try{L==mxEvent.MOUSE_DOWN&&
+this.container.focus(),S.apply(this,arguments)}catch(ja){f.handleError(ja)}};var Y=h.foldCells;h.foldCells=function(L,U,ba,ja,sa){try{Y.apply(this,arguments)}catch(O){f.handleError(O)}};h.popupMenuHandler.autoExpand=!0;null!=this.menus&&(h.popupMenuHandler.factoryMethod=mxUtils.bind(this,function(L,U,ba){this.menus.createPopupMenu(L,U,ba)}));mxEvent.addGestureListeners(document,mxUtils.bind(this,function(L){h.popupMenuHandler.hideMenu()}));this.keyHandler=this.createKeyHandler(a);this.getKeyHandler=
+function(){return keyHandler};h.connectionHandler.addListener(mxEvent.CONNECT,function(L,U){var ba=[U.getProperty("cell")];U.getProperty("terminalInserted")&&(ba.push(U.getProperty("terminal")),window.setTimeout(function(){null!=f.hoverIcons&&f.hoverIcons.update(h.view.getState(ba[ba.length-1]))},0));h.pasteCellStyles(ba)});this.addListener("styleChanged",mxUtils.bind(this,function(L,U){L=U.getProperty("force");(this.updateDefaultStyle||L)&&h.copyCellStyles(U.getProperty("cells"),U.getProperty("keys"),
+U.getProperty("values"),h.currentVertexStyle,h.currentEdgeStyle,n,q);null!=this.toolbar&&(this.toolbar.setFontName(h.currentVertexStyle.fontFamily||Menus.prototype.defaultFont),this.toolbar.setFontSize(h.currentVertexStyle.fontSize||Menus.prototype.defaultFontSize),null!=this.toolbar.edgeStyleMenu&&(this.toolbar.edgeStyleMenu.getElementsByTagName("div")[0].className="orthogonalEdgeStyle"==h.currentEdgeStyle.edgeStyle&&"1"==h.currentEdgeStyle.curved?"geSprite geSprite-curved":"straight"==h.currentEdgeStyle.edgeStyle||
+"none"==h.currentEdgeStyle.edgeStyle||null==h.currentEdgeStyle.edgeStyle?"geSprite geSprite-straight":"entityRelationEdgeStyle"==h.currentEdgeStyle.edgeStyle?"geSprite geSprite-entity":"elbowEdgeStyle"==h.currentEdgeStyle.edgeStyle?"geSprite geSprite-"+("vertical"==h.currentEdgeStyle.elbow?"verticalelbow":"horizontalelbow"):"isometricEdgeStyle"==h.currentEdgeStyle.edgeStyle?"geSprite geSprite-"+("vertical"==h.currentEdgeStyle.elbow?"verticalisometric":"horizontalisometric"):"geSprite geSprite-orthogonal"),
+null!=this.toolbar.edgeShapeMenu&&(this.toolbar.edgeShapeMenu.getElementsByTagName("div")[0].className="link"==h.currentEdgeStyle.shape?"geSprite geSprite-linkedge":"flexArrow"==h.currentEdgeStyle.shape?"geSprite geSprite-arrow":"arrow"==h.currentEdgeStyle.shape?"geSprite geSprite-simplearrow":"geSprite geSprite-connection"))}));null!=this.toolbar&&(a=mxUtils.bind(this,function(){var L=h.currentVertexStyle.fontFamily||"Helvetica",U=String(h.currentVertexStyle.fontSize||"12"),ba=h.getView().getState(h.getSelectionCell());
+null!=ba&&(L=ba.style[mxConstants.STYLE_FONTFAMILY]||L,U=ba.style[mxConstants.STYLE_FONTSIZE]||U,10<L.length&&(L=L.substring(0,8)+"..."));this.toolbar.setFontName(L);this.toolbar.setFontSize(U)}),h.getSelectionModel().addListener(mxEvent.CHANGE,a),h.getModel().addListener(mxEvent.CHANGE,a));h.addListener(mxEvent.CELLS_ADDED,function(L,U){L=U.getProperty("cells");U=U.getProperty("parent");null!=U&&h.getModel().isLayer(U)&&!h.isCellVisible(U)&&null!=L&&0<L.length&&h.getModel().setVisible(U,!0)});Graph.selectParentLayer&&
+h.selectionModel.addListener(mxEvent.CHANGE,function(){if(h.isEnabled()&&!h.isSelectionEmpty()){var L=h.getLayerForCells(h.getSelectionCells());null!=L&&h.setDefaultParent(L)}});this.gestureHandler=mxUtils.bind(this,function(L){null!=this.currentMenu&&mxEvent.getSource(L)!=this.currentMenu.div&&this.hideCurrentMenu()});mxEvent.addGestureListeners(document,this.gestureHandler);var V=null;this.resizeHandler=mxUtils.bind(this,function(){null!=V&&window.clearTimeout(V);V=window.setTimeout(mxUtils.bind(this,
+function(){V=null;this.windowResized()}),100)});mxEvent.addListener(window,"resize",this.resizeHandler);this.orientationChangeHandler=mxUtils.bind(this,function(){this.refresh()});mxEvent.addListener(window,"orientationchange",this.orientationChangeHandler);mxClient.IS_IOS&&!window.navigator.standalone&&"undefined"!==typeof Menus&&(this.scrollHandler=mxUtils.bind(this,function(){window.scrollTo(0,0)}),mxEvent.addListener(window,"scroll",this.scrollHandler));this.editor.addListener("resetGraphView",
+mxUtils.bind(this,function(){this.resetScrollbars()}));this.addListener("gridEnabledChanged",mxUtils.bind(this,function(){h.view.validateBackground()}));this.addListener("backgroundColorChanged",mxUtils.bind(this,function(){h.view.validateBackground()}));h.addListener("gridSizeChanged",mxUtils.bind(this,function(){h.isGridEnabled()&&h.view.validateBackground()}));this.editor.resetGraph()}this.init();h.standalone||this.open()};EditorUi.compactUi=!0;
+EditorUi.parsePng=function(a,b,e){function f(n,q){var k=d;d+=q;return n.substring(k,d)}function h(n){n=f(n,4);return n.charCodeAt(3)+(n.charCodeAt(2)<<8)+(n.charCodeAt(1)<<16)+(n.charCodeAt(0)<<24)}var d=0;if(f(a,8)!=String.fromCharCode(137)+"PNG"+String.fromCharCode(13,10,26,10))null!=e&&e();else if(f(a,4),"IHDR"!=f(a,4))null!=e&&e();else{f(a,17);do{e=h(a);var g=f(a,4);if(null!=b&&b(d-8,g,e))break;value=f(a,e);f(a,4);if("IEND"==g)break}while(e)}};mxUtils.extend(EditorUi,mxEventSource);
EditorUi.prototype.splitSize=mxClient.IS_TOUCH||mxClient.IS_POINTER?12:8;EditorUi.prototype.menubarHeight=30;EditorUi.prototype.formatEnabled=!0;EditorUi.prototype.formatWidth=240;EditorUi.prototype.toolbarHeight=38;EditorUi.prototype.footerHeight=28;EditorUi.prototype.defaultSidebarWidth=Math.min(screen.width/2,"large"!=urlParams["sidebar-entries"]?212:240);EditorUi.prototype.hsplitPosition=screen.width<=Editor.smallScreenWidth?0:EditorUi.prototype.defaultSidebarWidth;
EditorUi.prototype.allowAnimation=!0;EditorUi.prototype.lightboxMaxFitScale=2;EditorUi.prototype.lightboxVerticalDivider=4;EditorUi.prototype.hsplitClickEnabled=!1;EditorUi.prototype.updateDefaultStyle=!1;EditorUi.prototype.spaceDown=!1;EditorUi.prototype.shiftDown=!1;
-EditorUi.prototype.init=function(){var a=this.editor.graph;if(!a.standalone){"0"!=urlParams["shape-picker"]&&this.installShapePicker();mxEvent.addListener(a.container,"scroll",mxUtils.bind(this,function(){a.tooltipHandler.hide();null!=a.connectionHandler&&null!=a.connectionHandler.constraintHandler&&a.connectionHandler.constraintHandler.reset()}));a.addListener(mxEvent.ESCAPE,mxUtils.bind(this,function(){a.tooltipHandler.hide();var e=a.getRubberband();null!=e&&e.cancel()}));mxEvent.addListener(a.container,
-"keydown",mxUtils.bind(this,function(e){this.onKeyDown(e)}));mxEvent.addListener(a.container,"keypress",mxUtils.bind(this,function(e){this.onKeyPress(e)}));this.addUndoListener();this.addBeforeUnloadListener();a.getSelectionModel().addListener(mxEvent.CHANGE,mxUtils.bind(this,function(){this.updateActionStates()}));a.getModel().addListener(mxEvent.CHANGE,mxUtils.bind(this,function(){this.updateActionStates()}));var b=a.setDefaultParent,d=this;this.editor.graph.setDefaultParent=function(){b.apply(this,
-arguments);d.updateActionStates()};a.showLinkDialog=mxUtils.bind(d,d.showLinkDialog);a.editLink=d.actions.get("editLink").funct;this.updateActionStates();this.initClipboard();this.initCanvas();null!=this.format&&this.format.init()}};EditorUi.prototype.clearSelectionState=function(){this.selectionState=null};EditorUi.prototype.getSelectionState=function(){null==this.selectionState&&(this.selectionState=this.createSelectionState());return this.selectionState};
-EditorUi.prototype.createSelectionState=function(){for(var a=this.editor.graph,b=a.getSelectionCells(),d=this.initSelectionState(),e=!0,g=0;g<b.length;g++){var f=a.getCurrentCellStyle(b[g]);"0"!=mxUtils.getValue(f,mxConstants.STYLE_EDITABLE,"1")&&(this.updateSelectionStateForCell(d,b[g],b,e),e=!1)}this.updateSelectionStateForTableCells(d);return d};
+EditorUi.prototype.init=function(){var a=this.editor.graph;if(!a.standalone){"0"!=urlParams["shape-picker"]&&this.installShapePicker();mxEvent.addListener(a.container,"scroll",mxUtils.bind(this,function(){a.tooltipHandler.hide();null!=a.connectionHandler&&null!=a.connectionHandler.constraintHandler&&a.connectionHandler.constraintHandler.reset()}));a.addListener(mxEvent.ESCAPE,mxUtils.bind(this,function(){a.tooltipHandler.hide();var f=a.getRubberband();null!=f&&f.cancel()}));mxEvent.addListener(a.container,
+"keydown",mxUtils.bind(this,function(f){this.onKeyDown(f)}));mxEvent.addListener(a.container,"keypress",mxUtils.bind(this,function(f){this.onKeyPress(f)}));this.addUndoListener();this.addBeforeUnloadListener();a.getSelectionModel().addListener(mxEvent.CHANGE,mxUtils.bind(this,function(){this.updateActionStates()}));a.getModel().addListener(mxEvent.CHANGE,mxUtils.bind(this,function(){this.updateActionStates()}));var b=a.setDefaultParent,e=this;this.editor.graph.setDefaultParent=function(){b.apply(this,
+arguments);e.updateActionStates()};a.showLinkDialog=mxUtils.bind(e,e.showLinkDialog);a.editLink=e.actions.get("editLink").funct;this.updateActionStates();this.initClipboard();this.initCanvas();null!=this.format&&this.format.init()}};EditorUi.prototype.clearSelectionState=function(){this.selectionState=null};EditorUi.prototype.getSelectionState=function(){null==this.selectionState&&(this.selectionState=this.createSelectionState());return this.selectionState};
+EditorUi.prototype.createSelectionState=function(){for(var a=this.editor.graph,b=a.getSelectionCells(),e=this.initSelectionState(),f=!0,h=0;h<b.length;h++){var d=a.getCurrentCellStyle(b[h]);"0"!=mxUtils.getValue(d,mxConstants.STYLE_EDITABLE,"1")&&(this.updateSelectionStateForCell(e,b[h],b,f),f=!1)}this.updateSelectionStateForTableCells(e);return e};
EditorUi.prototype.initSelectionState=function(){return{vertices:[],edges:[],cells:[],x:null,y:null,width:null,height:null,style:{},containsImage:!1,containsLabel:!1,fill:!0,glass:!0,html:!0,rounded:!0,autoSize:!1,image:!1,shadow:!0,lineJumps:!0,resizable:!0,table:!1,cell:!1,row:!1,movable:!0,rotatable:!0,stroke:!0,swimlane:!1,unlocked:this.editor.graph.isEnabled(),connections:!1}};
-EditorUi.prototype.updateSelectionStateForTableCells=function(a){if(1<a.cells.length&&a.cell){var b=mxUtils.sortCells(a.cells),d=this.editor.graph.model,e=d.getParent(b[0]),g=d.getParent(e);if(null!=e&&null!=g){for(var f=e.getIndex(b[0]),h=g.getIndex(e),n=null,q=1,l=1,p=0,w=h<g.getChildCount()-1?d.getChildAt(d.getChildAt(g,h+1),f):null;p<b.length-1;){var z=b[++p];null==w||w!=z||null!=n&&q!=n||(n=q,q=0,l++,e=d.getParent(w),w=h+l<g.getChildCount()?d.getChildAt(d.getChildAt(g,h+l),f):null);var C=this.editor.graph.view.getState(z);
-if(z==d.getChildAt(e,f+q)&&null!=C&&1==mxUtils.getValue(C.style,"colspan",1)&&1==mxUtils.getValue(C.style,"rowspan",1))q++;else break}p==l*q-1&&(a.mergeCell=b[0],a.colspan=q,a.rowspan=l)}}};EditorUi.prototype.windowResized=function(){window.setTimeout(mxUtils.bind(this,function(){null!=this.editor.graph&&this.refresh()}),0)};
-EditorUi.prototype.createTimeout=function(a,b,d){var e=!0,g=null,f=mxUtils.bind(this,function(n){g.clear()&&(e=!1,n=null!=n?n:{code:App.ERROR_TIMEOUT,message:mxResources.get("timeout"),retry:mxUtils.bind(this,function(){this.createTimeout(a,b,d)})},null!=d?d(n):this.handleError(n))}),h=window.setTimeout(f,null!=a?a:this.timeout);g={clear:function(){window.clearTimeout(h);return e},isAlive:function(){return e}};null!=b&&this.tryAndHandle(mxUtils.bind(this,function(){b(g)}),f);return g};
-EditorUi.prototype.tryAndHandle=function(a,b){try{a()}catch(d){null!=b?b(d):this.handleError(d)}};
-EditorUi.prototype.convertDarkModeColors=function(a,b){var d=this.editor.graph;a=null!=a?a:d.getSelectionCells();b=null!=b?b:[mxConstants.STYLE_FONTCOLOR,mxConstants.STYLE_FILLCOLOR,mxConstants.STYLE_GRADIENTCOLOR,mxConstants.STYLE_STROKECOLOR,mxConstants.STYLE_IMAGE_BORDER,mxConstants.STYLE_IMAGE_BACKGROUND,mxConstants.STYLE_LABEL_BORDERCOLOR,mxConstants.STYLE_SWIMLANE_FILLCOLOR,mxConstants.STYLE_LABEL_BACKGROUNDCOLOR];var e={},g=document.createElement("canvas");g.width=1;g.height=1;g=g.getContext("2d",
-{willReadFrequently:!0});g.filter="invert(100%) hue-rotate(180deg)";d.model.beginUpdate();try{for(var f=0;f<a.length;f++)if(d.model.isEdge(a[f])||d.model.isVertex(a[f])){var h=d.getCurrentCellStyle(a[f]);if(null!=h)for(var n=0;n<b.length;n++)try{var q=h[b[n]];if(null!=q&&"#"==q.charAt(0)){var l=e[q];null==l&&(l=Graph.invertColor(q,g),e[q]=l);d.setCellStyles(b[n],l,[a[f]])}}catch(p){}}}finally{d.model.endUpdate()}};
-EditorUi.prototype.updateSelectionStateForCell=function(a,b,d,e){d=this.editor.graph;a.cells.push(b);if(d.getModel().isVertex(b)){a.connections=0<d.model.getEdgeCount(b);a.unlocked=a.unlocked&&!d.isCellLocked(b);a.resizable=a.resizable&&d.isCellResizable(b);a.rotatable=a.rotatable&&d.isCellRotatable(b);a.movable=a.movable&&d.isCellMovable(b)&&!d.isTableRow(b)&&!d.isTableCell(b);a.swimlane=a.swimlane||d.isSwimlane(b);a.table=a.table||d.isTable(b);a.cell=a.cell||d.isTableCell(b);a.row=a.row||d.isTableRow(b);
-a.vertices.push(b);var g=d.getCellGeometry(b);if(null!=g&&(0<g.width?null==a.width?a.width=g.width:a.width!=g.width&&(a.width=""):a.containsLabel=!0,0<g.height?null==a.height?a.height=g.height:a.height!=g.height&&(a.height=""):a.containsLabel=!0,!g.relative||null!=g.offset)){var f=g.relative?g.offset.x:g.x;g=g.relative?g.offset.y:g.y;null==a.x?a.x=f:a.x!=f&&(a.x="");null==a.y?a.y=g:a.y!=g&&(a.y="")}}else d.getModel().isEdge(b)&&(a.edges.push(b),a.connections=!0,a.resizable=!1,a.rotatable=!1,a.movable=
-!1);f=d.view.getState(b);null!=f&&(a.html=a.html&&d.isHtmlLabel(b),a.autoSize=a.autoSize||d.isAutoSizeState(f),a.glass=a.glass&&d.isGlassState(f),a.rounded=a.rounded&&d.isRoundedState(f),a.lineJumps=a.lineJumps&&d.isLineJumpState(f),a.image=a.image||d.isImageState(f),a.shadow=a.shadow&&d.isShadowState(f),a.fill=a.fill&&d.isFillState(f),a.gradient=a.fill&&d.isGradientState(f),a.stroke=a.stroke&&d.isStrokeState(f),b=mxUtils.getValue(f.style,mxConstants.STYLE_SHAPE,null),a.containsImage=a.containsImage||
-"image"==b,d.mergeStyle(f.style,a.style,e))};
-EditorUi.prototype.installShapePicker=function(){var a=this.editor.graph,b=this;a.addListener(mxEvent.FIRE_MOUSE_EVENT,mxUtils.bind(this,function(q,l){"mouseDown"==l.getProperty("eventName")&&b.hideShapePicker()}));var d=mxUtils.bind(this,function(){b.hideShapePicker(!0)});a.addListener("wheel",d);a.addListener(mxEvent.ESCAPE,d);a.view.addListener(mxEvent.SCALE,d);a.view.addListener(mxEvent.SCALE_AND_TRANSLATE,d);a.getSelectionModel().addListener(mxEvent.CHANGE,d);var e=a.popupMenuHandler.isMenuShowing;
-a.popupMenuHandler.isMenuShowing=function(){return e.apply(this,arguments)||null!=b.shapePicker||null!=b.currentMenu};var g=a.dblClick;a.dblClick=function(q,l){if(this.isEnabled())if(null!=l||null==b.sidebar||mxEvent.isShiftDown(q)||a.isCellLocked(a.getDefaultParent()))g.apply(this,arguments);else{var p=mxUtils.convertPoint(this.container,mxEvent.getClientX(q),mxEvent.getClientY(q));mxEvent.consume(q);window.setTimeout(mxUtils.bind(this,function(){b.showShapePicker(p.x,p.y)}),30)}};if(null!=this.hoverIcons){this.hoverIcons.addListener("reset",
-d);var f=this.hoverIcons.drag;this.hoverIcons.drag=function(){b.hideShapePicker();f.apply(this,arguments)};var h=this.hoverIcons.execute;this.hoverIcons.execute=function(q,l,p){var w=p.getEvent();this.graph.isCloneEvent(w)||mxEvent.isShiftDown(w)?h.apply(this,arguments):this.graph.connectVertex(q.cell,l,this.graph.defaultEdgeLength,w,null,null,mxUtils.bind(this,function(z,C,F){var D=a.getCompositeParent(q.cell);z=a.getCellGeometry(D);for(p.consume();null!=D&&a.model.isVertex(D)&&null!=z&&z.relative;)cell=
-D,D=a.model.getParent(cell),z=a.getCellGeometry(D);window.setTimeout(mxUtils.bind(this,function(){b.showShapePicker(p.getGraphX(),p.getGraphY(),D,mxUtils.bind(this,function(G){F(G);null!=b.hoverIcons&&b.hoverIcons.update(a.view.getState(G))}),l)}),30)}),mxUtils.bind(this,function(z){this.graph.selectCellsForConnectVertex(z,w,this)}))};var n=null;this.hoverIcons.addListener("focus",mxUtils.bind(this,function(q,l){null!=n&&window.clearTimeout(n);n=window.setTimeout(mxUtils.bind(this,function(){var p=
-l.getProperty("arrow"),w=l.getProperty("direction"),z=l.getProperty("event");p=p.getBoundingClientRect();var C=mxUtils.getOffset(a.container),F=a.container.scrollLeft+p.x-C.x;C=a.container.scrollTop+p.y-C.y;var D=a.getCompositeParent(null!=this.hoverIcons.currentState?this.hoverIcons.currentState.cell:null),G=b.showShapePicker(F,C,D,mxUtils.bind(this,function(K){null!=K&&a.connectVertex(D,w,a.defaultEdgeLength,z,!0,!1,function(I,O,H){H(K);null!=b.hoverIcons&&b.hoverIcons.update(a.view.getState(K))},
-function(I){a.selectCellsForConnectVertex(I)},z,this.hoverIcons)}),w,!0);null!=G&&(this.centerShapePicker(G,p,F,C,w),mxUtils.setOpacity(G,30),mxEvent.addListener(G,"mouseenter",function(){mxUtils.setOpacity(G,100)}),mxEvent.addListener(G,"mouseleave",function(){b.hideShapePicker()}))}),Editor.shapePickerHoverDelay)}));this.hoverIcons.addListener("blur",mxUtils.bind(this,function(q,l){null!=n&&window.clearTimeout(n)}))}};
-EditorUi.prototype.centerShapePicker=function(a,b,d,e,g){if(g==mxConstants.DIRECTION_EAST||g==mxConstants.DIRECTION_WEST)a.style.width="40px";var f=a.getBoundingClientRect();g==mxConstants.DIRECTION_NORTH?(d-=f.width/2-10,e-=f.height+6):g==mxConstants.DIRECTION_SOUTH?(d-=f.width/2-10,e+=b.height+6):g==mxConstants.DIRECTION_WEST?(d-=f.width+6,e-=f.height/2-10):g==mxConstants.DIRECTION_EAST&&(d+=b.width+6,e-=f.height/2-10);a.style.left=d+"px";a.style.top=e+"px"};
-EditorUi.prototype.showShapePicker=function(a,b,d,e,g,f,h,n,q){var l=null;this.editor.graph.freehand.isDrawing()||(n=n||null==d,l=this.createShapePicker(a,b,d,e,g,mxUtils.bind(this,function(){this.hideShapePicker()}),this.getCellsForShapePicker(d,f,n),f,h,n,q),null!=l&&(null==this.hoverIcons||f||this.hoverIcons.reset(),a=this.editor.graph,a.popupMenuHandler.hideMenu(),a.tooltipHandler.hideTooltip(),this.hideCurrentMenu(),this.hideShapePicker(),this.shapePickerCallback=e,this.shapePicker=l));return l};
-EditorUi.prototype.createShapePicker=function(a,b,d,e,g,f,h,n,q,l,p){p=null!=p?p:!0;var w=this.editor.graph,z=null;q=null!=q?q:function(D){D=D[0];var G=0,K=0,I=D.geometry;null!=I&&(w.model.isEdge(D)&&(D=I.getTerminalPoint(!1),I=new mxRectangle(0,0,D.x,D.y)),G=I.width/2,K=I.height/2);return new mxPoint(w.snap(Math.round(a/w.view.scale)-w.view.translate.x-G),w.snap(Math.round(b/w.view.scale)-w.view.translate.y-K))};if(null!=h&&0<h.length){var C=this;w=this.editor.graph;z=document.createElement("div");
-g=w.view.getState(d);var F=null==d||null!=g&&w.isTransparentState(g)?null:w.copyStyle(d);g=6>h.length?35*h.length:140;z.className="geToolbarContainer geSidebarContainer geShapePicker";z.setAttribute("title",mxResources.get("sidebarTooltip"));z.style.left=a+"px";z.style.top=b+"px";z.style.width=g+"px";mxClient.IS_POINTER&&(z.style.touchAction="none");n||mxUtils.setPrefixedStyle(z.style,"transform","translate(-22px,-22px)");null!=w.background&&w.background!=mxConstants.NONE&&(z.style.backgroundColor=
-w.background);w.container.appendChild(z);g=mxUtils.bind(this,function(D){var G=document.createElement("a");G.className="geItem";G.style.cssText="position:relative;display:inline-block;position:relative;width:30px;height:30px;cursor:pointer;overflow:hidden;padding:1px";z.appendChild(G);null!=F&&"1"!=urlParams.sketch?this.sidebar.graph.pasteStyle(F,[D]):this.sidebar.graph.pasteCellStyles([D],w.currentVertexStyle,w.currentEdgeStyle);var K=D.geometry;w.model.isEdge(D)&&(K=K.getTerminalPoint(!1),K=new mxRectangle(0,
-0,K.x,K.y));null!=K&&G.appendChild(this.sidebar.createVertexTemplateFromCells([D],K.width,K.height,"",!0,!1,null,!1,mxUtils.bind(this,function(I){if(!mxEvent.isShiftDown(I)||null==d&&w.isSelectionEmpty()){var O=w.cloneCell(D);if(null!=e)e(O);else{var H=q([O]);w.model.isEdge(O)?O.geometry.translate(H.x,H.y):(O.geometry.x=H.x,O.geometry.y=H.y);w.model.beginUpdate();try{w.addCell(O),w.model.isVertex(O)&&w.isAutoSizeCell(O)&&w.updateCellSize(O)}finally{w.model.endUpdate()}w.setSelectionCell(O);w.scrollCellToVisible(O);
-p&&w.startEditing(O);null!=C.hoverIcons&&C.hoverIcons.update(w.view.getState(O))}}else O=w.getEditableCells(null!=d?[d]:w.getSelectionCells()),w.updateShapes(D,O);null!=f&&f(I);mxEvent.consume(I)}),25,25,null,null,d))});for(l=0;l<(n?Math.min(h.length,4):h.length);l++)g(h[l]);h=z.offsetTop+z.clientHeight-(w.container.scrollTop+w.container.offsetHeight);0<h&&(z.style.top=Math.max(w.container.scrollTop+22,b-h)+"px");h=z.offsetLeft+z.clientWidth-(w.container.scrollLeft+w.container.offsetWidth);0<h&&(z.style.left=
-Math.max(w.container.scrollLeft+22,a-h)+"px")}return z};
-EditorUi.prototype.getCellsForShapePicker=function(a,b,d){var e=this.editor.graph,g=mxUtils.bind(this,function(f,h,n,q){return e.createVertex(null,null,q||"",0,0,h||120,n||60,f,!1)});b=mxUtils.bind(this,function(f,h,n){f=new mxCell(n||"",new mxGeometry(0,0,e.defaultEdgeLength+20,0),f);f.geometry.setTerminalPoint(new mxPoint(0,0),!0);f.geometry.setTerminalPoint(new mxPoint(f.geometry.width,null!=h?h:0),!1);f.geometry.points=null!=h?[new mxPoint(f.geometry.width/2,h)]:[];f.geometry.relative=!0;f.edge=
-!0;return f});if(null!=a)try{a=e.cloneCell(a),e.model.isVertex(a)&&null!=a.geometry&&(a.geometry.x=0,a.geometry.y=0)}catch(f){a=null}null==a&&(a=g(e.appendFontSize("text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;",e.vertexFontSize),40,20,"Text"),e.model.isVertex(a)&&e.isAutoSizeCell(a)&&Graph.createOffscreenGraph(e.getStylesheet()).updateCellSize(a));a=[a,g("whiteSpace=wrap;html=1;"),g("ellipse;whiteSpace=wrap;html=1;",80,80),g("rhombus;whiteSpace=wrap;html=1;",
-80,80),g("rounded=1;whiteSpace=wrap;html=1;"),g("shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;fixedSize=1;"),g("shape=trapezoid;perimeter=trapezoidPerimeter;whiteSpace=wrap;html=1;fixedSize=1;",120,60),g("shape=hexagon;perimeter=hexagonPerimeter2;whiteSpace=wrap;html=1;fixedSize=1;",120,80),g("shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;",120,80),g("shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;"),g("triangle;whiteSpace=wrap;html=1;",
-60,80),g("shape=document;whiteSpace=wrap;html=1;boundedLbl=1;",120,80),g("shape=tape;whiteSpace=wrap;html=1;",120,100),g("ellipse;shape=cloud;whiteSpace=wrap;html=1;",120,80),g("shape=singleArrow;whiteSpace=wrap;html=1;arrowWidth=0.4;arrowSize=0.4;",80,60),g("shape=waypoint;sketch=0;size=6;pointerEvents=1;points=[];fillColor=none;resizable=0;rotatable=0;perimeter=centerPerimeter;snapToPoint=1;",20,20)];d&&(a=a.concat([b("edgeStyle=none;orthogonalLoop=1;jettySize=auto;html=1;"),b("edgeStyle=none;orthogonalLoop=1;jettySize=auto;html=1;endArrow=classic;startArrow=classic;endSize=8;startSize=8;"),
+EditorUi.prototype.updateSelectionStateForTableCells=function(a){if(1<a.cells.length&&a.cell){var b=mxUtils.sortCells(a.cells),e=this.editor.graph.model,f=e.getParent(b[0]),h=e.getParent(f);if(null!=f&&null!=h){for(var d=f.getIndex(b[0]),g=h.getIndex(f),n=null,q=1,k=1,p=0,w=g<h.getChildCount()-1?e.getChildAt(e.getChildAt(h,g+1),d):null;p<b.length-1;){var z=b[++p];null==w||w!=z||null!=n&&q!=n||(n=q,q=0,k++,f=e.getParent(w),w=g+k<h.getChildCount()?e.getChildAt(e.getChildAt(h,g+k),d):null);var C=this.editor.graph.view.getState(z);
+if(z==e.getChildAt(f,d+q)&&null!=C&&1==mxUtils.getValue(C.style,"colspan",1)&&1==mxUtils.getValue(C.style,"rowspan",1))q++;else break}p==k*q-1&&(a.mergeCell=b[0],a.colspan=q,a.rowspan=k)}}};EditorUi.prototype.windowResized=function(){window.setTimeout(mxUtils.bind(this,function(){null!=this.editor.graph&&this.refresh()}),0)};
+EditorUi.prototype.createTimeout=function(a,b,e){var f=!0,h=null,d=mxUtils.bind(this,function(n){h.clear()&&(f=!1,n=null!=n?n:{code:App.ERROR_TIMEOUT,message:mxResources.get("timeout"),retry:mxUtils.bind(this,function(){this.createTimeout(a,b,e)})},null!=e?e(n):this.handleError(n))}),g=window.setTimeout(d,null!=a?a:this.timeout);h={clear:function(){window.clearTimeout(g);return f},isAlive:function(){return f}};null!=b&&this.tryAndHandle(mxUtils.bind(this,function(){b(h)}),d);return h};
+EditorUi.prototype.tryAndHandle=function(a,b){try{a()}catch(e){null!=b?b(e):this.handleError(e)}};
+EditorUi.prototype.convertDarkModeColors=function(a,b){var e=this.editor.graph;a=null!=a?a:e.getSelectionCells();b=null!=b?b:[mxConstants.STYLE_FONTCOLOR,mxConstants.STYLE_FILLCOLOR,mxConstants.STYLE_GRADIENTCOLOR,mxConstants.STYLE_STROKECOLOR,mxConstants.STYLE_IMAGE_BORDER,mxConstants.STYLE_IMAGE_BACKGROUND,mxConstants.STYLE_LABEL_BORDERCOLOR,mxConstants.STYLE_SWIMLANE_FILLCOLOR,mxConstants.STYLE_LABEL_BACKGROUNDCOLOR];var f={},h=document.createElement("canvas");h.width=1;h.height=1;h=h.getContext("2d",
+{willReadFrequently:!0});h.filter="invert(100%) hue-rotate(180deg)";e.model.beginUpdate();try{for(var d=0;d<a.length;d++)if(e.model.isEdge(a[d])||e.model.isVertex(a[d])){var g=e.getCurrentCellStyle(a[d]);if(null!=g)for(var n=0;n<b.length;n++)try{var q=g[b[n]];if(null!=q&&"#"==q.charAt(0)){var k=f[q];null==k&&(k=Graph.invertColor(q,h),f[q]=k);e.setCellStyles(b[n],k,[a[d]])}}catch(p){}}}finally{e.model.endUpdate()}};
+EditorUi.prototype.updateSelectionStateForCell=function(a,b,e,f){e=this.editor.graph;a.cells.push(b);if(e.getModel().isVertex(b)){a.connections=0<e.model.getEdgeCount(b);a.unlocked=a.unlocked&&!e.isCellLocked(b);a.resizable=a.resizable&&e.isCellResizable(b);a.rotatable=a.rotatable&&e.isCellRotatable(b);a.movable=a.movable&&e.isCellMovable(b)&&!e.isTableRow(b)&&!e.isTableCell(b);a.swimlane=a.swimlane||e.isSwimlane(b);a.table=a.table||e.isTable(b);a.cell=a.cell||e.isTableCell(b);a.row=a.row||e.isTableRow(b);
+a.vertices.push(b);var h=e.getCellGeometry(b);if(null!=h&&(0<h.width?null==a.width?a.width=h.width:a.width!=h.width&&(a.width=""):a.containsLabel=!0,0<h.height?null==a.height?a.height=h.height:a.height!=h.height&&(a.height=""):a.containsLabel=!0,!h.relative||null!=h.offset)){var d=h.relative?h.offset.x:h.x;h=h.relative?h.offset.y:h.y;null==a.x?a.x=d:a.x!=d&&(a.x="");null==a.y?a.y=h:a.y!=h&&(a.y="")}}else e.getModel().isEdge(b)&&(a.edges.push(b),a.connections=!0,a.resizable=!1,a.rotatable=!1,a.movable=
+!1);d=e.view.getState(b);null!=d&&(a.html=a.html&&e.isHtmlLabel(b),a.autoSize=a.autoSize||e.isAutoSizeState(d),a.glass=a.glass&&e.isGlassState(d),a.rounded=a.rounded&&e.isRoundedState(d),a.lineJumps=a.lineJumps&&e.isLineJumpState(d),a.image=a.image||e.isImageState(d),a.shadow=a.shadow&&e.isShadowState(d),a.fill=a.fill&&e.isFillState(d),a.gradient=a.fill&&e.isGradientState(d),a.stroke=a.stroke&&e.isStrokeState(d),b=mxUtils.getValue(d.style,mxConstants.STYLE_SHAPE,null),a.containsImage=a.containsImage||
+"image"==b,e.mergeStyle(d.style,a.style,f))};
+EditorUi.prototype.installShapePicker=function(){var a=this.editor.graph,b=this;a.addListener(mxEvent.FIRE_MOUSE_EVENT,mxUtils.bind(this,function(q,k){"mouseDown"==k.getProperty("eventName")&&b.hideShapePicker()}));var e=mxUtils.bind(this,function(){b.hideShapePicker(!0)});a.addListener("wheel",e);a.addListener(mxEvent.ESCAPE,e);a.view.addListener(mxEvent.SCALE,e);a.view.addListener(mxEvent.SCALE_AND_TRANSLATE,e);a.getSelectionModel().addListener(mxEvent.CHANGE,e);var f=a.popupMenuHandler.isMenuShowing;
+a.popupMenuHandler.isMenuShowing=function(){return f.apply(this,arguments)||null!=b.shapePicker||null!=b.currentMenu};var h=a.dblClick;a.dblClick=function(q,k){if(this.isEnabled())if(null!=k||null==b.sidebar||mxEvent.isShiftDown(q)||a.isCellLocked(a.getDefaultParent()))h.apply(this,arguments);else{var p=mxUtils.convertPoint(this.container,mxEvent.getClientX(q),mxEvent.getClientY(q));mxEvent.consume(q);window.setTimeout(mxUtils.bind(this,function(){b.showShapePicker(p.x,p.y)}),30)}};if(null!=this.hoverIcons){this.hoverIcons.addListener("reset",
+e);var d=this.hoverIcons.drag;this.hoverIcons.drag=function(){b.hideShapePicker();d.apply(this,arguments)};var g=this.hoverIcons.execute;this.hoverIcons.execute=function(q,k,p){var w=p.getEvent();this.graph.isCloneEvent(w)||mxEvent.isShiftDown(w)?g.apply(this,arguments):this.graph.connectVertex(q.cell,k,this.graph.defaultEdgeLength,w,null,null,mxUtils.bind(this,function(z,C,F){var D=a.getCompositeParent(q.cell);z=a.getCellGeometry(D);for(p.consume();null!=D&&a.model.isVertex(D)&&null!=z&&z.relative;)cell=
+D,D=a.model.getParent(cell),z=a.getCellGeometry(D);window.setTimeout(mxUtils.bind(this,function(){b.showShapePicker(p.getGraphX(),p.getGraphY(),D,mxUtils.bind(this,function(H){F(H);null!=b.hoverIcons&&b.hoverIcons.update(a.view.getState(H))}),k)}),30)}),mxUtils.bind(this,function(z){this.graph.selectCellsForConnectVertex(z,w,this)}))};var n=null;this.hoverIcons.addListener("focus",mxUtils.bind(this,function(q,k){null!=n&&window.clearTimeout(n);n=window.setTimeout(mxUtils.bind(this,function(){var p=
+k.getProperty("arrow"),w=k.getProperty("direction"),z=k.getProperty("event");p=p.getBoundingClientRect();var C=mxUtils.getOffset(a.container),F=a.container.scrollLeft+p.x-C.x;C=a.container.scrollTop+p.y-C.y;var D=a.getCompositeParent(null!=this.hoverIcons.currentState?this.hoverIcons.currentState.cell:null),H=b.showShapePicker(F,C,D,mxUtils.bind(this,function(K){null!=K&&a.connectVertex(D,w,a.defaultEdgeLength,z,!0,!1,function(G,P,I){I(K);null!=b.hoverIcons&&b.hoverIcons.update(a.view.getState(K))},
+function(G){a.selectCellsForConnectVertex(G)},z,this.hoverIcons)}),w,!0);null!=H&&(this.centerShapePicker(H,p,F,C,w),mxUtils.setOpacity(H,30),mxEvent.addListener(H,"mouseenter",function(){mxUtils.setOpacity(H,100)}),mxEvent.addListener(H,"mouseleave",function(){b.hideShapePicker()}))}),Editor.shapePickerHoverDelay)}));this.hoverIcons.addListener("blur",mxUtils.bind(this,function(q,k){null!=n&&window.clearTimeout(n)}))}};
+EditorUi.prototype.centerShapePicker=function(a,b,e,f,h){if(h==mxConstants.DIRECTION_EAST||h==mxConstants.DIRECTION_WEST)a.style.width="40px";var d=a.getBoundingClientRect();h==mxConstants.DIRECTION_NORTH?(e-=d.width/2-10,f-=d.height+6):h==mxConstants.DIRECTION_SOUTH?(e-=d.width/2-10,f+=b.height+6):h==mxConstants.DIRECTION_WEST?(e-=d.width+6,f-=d.height/2-10):h==mxConstants.DIRECTION_EAST&&(e+=b.width+6,f-=d.height/2-10);a.style.left=e+"px";a.style.top=f+"px"};
+EditorUi.prototype.showShapePicker=function(a,b,e,f,h,d,g,n,q){var k=null;this.editor.graph.freehand.isDrawing()||(n=n||null==e,k=this.createShapePicker(a,b,e,f,h,mxUtils.bind(this,function(){this.hideShapePicker()}),this.getCellsForShapePicker(e,d,n),d,g,n,q),null!=k&&(null==this.hoverIcons||d||this.hoverIcons.reset(),a=this.editor.graph,a.popupMenuHandler.hideMenu(),a.tooltipHandler.hideTooltip(),this.hideCurrentMenu(),this.hideShapePicker(),this.shapePickerCallback=f,this.shapePicker=k));return k};
+EditorUi.prototype.createShapePicker=function(a,b,e,f,h,d,g,n,q,k,p){p=null!=p?p:!0;var w=this.editor.graph,z=null;q=null!=q?q:function(D){D=D[0];var H=0,K=0,G=D.geometry;null!=G&&(w.model.isEdge(D)&&(D=G.getTerminalPoint(!1),G=new mxRectangle(0,0,D.x,D.y)),H=G.width/2,K=G.height/2);return new mxPoint(w.snap(Math.round(a/w.view.scale)-w.view.translate.x-H),w.snap(Math.round(b/w.view.scale)-w.view.translate.y-K))};if(null!=g&&0<g.length){var C=this;w=this.editor.graph;z=document.createElement("div");
+h=w.view.getState(e);var F=null==e||null!=h&&w.isTransparentState(h)?null:w.copyStyle(e);h=6>g.length?35*g.length:140;z.className="geToolbarContainer geSidebarContainer geShapePicker";z.setAttribute("title",mxResources.get("sidebarTooltip"));z.style.left=a+"px";z.style.top=b+"px";z.style.width=h+"px";mxClient.IS_POINTER&&(z.style.touchAction="none");n||mxUtils.setPrefixedStyle(z.style,"transform","translate(-22px,-22px)");null!=w.background&&w.background!=mxConstants.NONE&&(z.style.backgroundColor=
+w.background);w.container.appendChild(z);h=mxUtils.bind(this,function(D){var H=document.createElement("a");H.className="geItem";H.style.cssText="position:relative;display:inline-block;position:relative;width:30px;height:30px;cursor:pointer;overflow:hidden;padding:1px";z.appendChild(H);null!=F&&"1"!=urlParams.sketch?this.sidebar.graph.pasteStyle(F,[D]):this.sidebar.graph.pasteCellStyles([D],w.currentVertexStyle,w.currentEdgeStyle);var K=D.geometry;w.model.isEdge(D)&&(K=K.getTerminalPoint(!1),K=new mxRectangle(0,
+0,K.x,K.y));null!=K&&H.appendChild(this.sidebar.createVertexTemplateFromCells([D],K.width,K.height,"",!0,!1,null,!1,mxUtils.bind(this,function(G){if(!mxEvent.isShiftDown(G)||null==e&&w.isSelectionEmpty()){var P=w.cloneCell(D);if(null!=f)f(P);else{var I=q([P]);w.model.isEdge(P)?P.geometry.translate(I.x,I.y):(P.geometry.x=I.x,P.geometry.y=I.y);w.model.beginUpdate();try{w.addCell(P),w.model.isVertex(P)&&w.isAutoSizeCell(P)&&w.updateCellSize(P)}finally{w.model.endUpdate()}w.setSelectionCell(P);w.scrollCellToVisible(P);
+p&&w.startEditing(P);null!=C.hoverIcons&&C.hoverIcons.update(w.view.getState(P))}}else P=w.getEditableCells(null!=e?[e]:w.getSelectionCells()),w.updateShapes(D,P);null!=d&&d(G);mxEvent.consume(G)}),25,25,null,null,e))});for(k=0;k<(n?Math.min(g.length,4):g.length);k++)h(g[k]);g=z.offsetTop+z.clientHeight-(w.container.scrollTop+w.container.offsetHeight);0<g&&(z.style.top=Math.max(w.container.scrollTop+22,b-g)+"px");g=z.offsetLeft+z.clientWidth-(w.container.scrollLeft+w.container.offsetWidth);0<g&&(z.style.left=
+Math.max(w.container.scrollLeft+22,a-g)+"px")}return z};
+EditorUi.prototype.getCellsForShapePicker=function(a,b,e){var f=this.editor.graph,h=mxUtils.bind(this,function(d,g,n,q){return f.createVertex(null,null,q||"",0,0,g||120,n||60,d,!1)});b=mxUtils.bind(this,function(d,g,n){d=new mxCell(n||"",new mxGeometry(0,0,f.defaultEdgeLength+20,0),d);d.geometry.setTerminalPoint(new mxPoint(0,0),!0);d.geometry.setTerminalPoint(new mxPoint(d.geometry.width,null!=g?g:0),!1);d.geometry.points=null!=g?[new mxPoint(d.geometry.width/2,g)]:[];d.geometry.relative=!0;d.edge=
+!0;return d});if(null!=a)try{a=f.cloneCell(a),f.model.isVertex(a)&&null!=a.geometry&&(a.geometry.x=0,a.geometry.y=0)}catch(d){a=null}null==a&&(a=h(f.appendFontSize("text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;",f.vertexFontSize),40,20,"Text"),f.model.isVertex(a)&&f.isAutoSizeCell(a)&&Graph.createOffscreenGraph(f.getStylesheet()).updateCellSize(a));a=[a,h("whiteSpace=wrap;html=1;"),h("ellipse;whiteSpace=wrap;html=1;",80,80),h("rhombus;whiteSpace=wrap;html=1;",
+80,80),h("rounded=1;whiteSpace=wrap;html=1;"),h("shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;fixedSize=1;"),h("shape=trapezoid;perimeter=trapezoidPerimeter;whiteSpace=wrap;html=1;fixedSize=1;",120,60),h("shape=hexagon;perimeter=hexagonPerimeter2;whiteSpace=wrap;html=1;fixedSize=1;",120,80),h("shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;",120,80),h("shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;"),h("triangle;whiteSpace=wrap;html=1;",
+60,80),h("shape=document;whiteSpace=wrap;html=1;boundedLbl=1;",120,80),h("shape=tape;whiteSpace=wrap;html=1;",120,100),h("ellipse;shape=cloud;whiteSpace=wrap;html=1;",120,80),h("shape=singleArrow;whiteSpace=wrap;html=1;arrowWidth=0.4;arrowSize=0.4;",80,60),h("shape=waypoint;sketch=0;size=6;pointerEvents=1;points=[];fillColor=none;resizable=0;rotatable=0;perimeter=centerPerimeter;snapToPoint=1;",20,20)];e&&(a=a.concat([b("edgeStyle=none;orthogonalLoop=1;jettySize=auto;html=1;"),b("edgeStyle=none;orthogonalLoop=1;jettySize=auto;html=1;endArrow=classic;startArrow=classic;endSize=8;startSize=8;"),
b("edgeStyle=none;orthogonalLoop=1;jettySize=auto;html=1;shape=flexArrow;rounded=1;startSize=8;endSize=8;"),b("edgeStyle=segmentEdgeStyle;endArrow=classic;html=1;curved=0;rounded=0;endSize=8;startSize=8;sourcePerimeterSpacing=0;targetPerimeterSpacing=0;",this.editor.graph.defaultEdgeLength/2)]));return a};EditorUi.prototype.isShapePickerVisible=function(a){return null!=this.shapePicker};
EditorUi.prototype.hideShapePicker=function(a){null!=this.shapePicker&&(this.shapePicker.parentNode.removeChild(this.shapePicker),this.shapePicker=null,a||null==this.shapePickerCallback||this.shapePickerCallback(),this.shapePickerCallback=null)};EditorUi.prototype.isSpaceDown=function(){return this.spaceDown};EditorUi.prototype.isShiftDown=function(){return this.shiftDown};
-EditorUi.prototype.onKeyDown=function(a){var b=this.editor.graph;if(9==a.which&&b.isEnabled()&&!mxEvent.isControlDown(a)){if(b.isEditing())if(mxEvent.isAltDown(a))b.stopEditing(!1);else try{var d=b.cellEditor.isContentEditing()&&b.cellEditor.isTextSelected();if(window.getSelection&&b.cellEditor.isContentEditing()&&!d&&!mxClient.IS_IE&&!mxClient.IS_IE11){var e=window.getSelection(),g=0<e.rangeCount?e.getRangeAt(0).commonAncestorContainer:null;d=null!=g&&("LI"==g.nodeName||null!=g.parentNode&&"LI"==
-g.parentNode.nodeName)}d?document.execCommand(mxEvent.isShiftDown(a)?"outdent":"indent",!1,null):mxEvent.isShiftDown(a)?b.stopEditing(!1):b.cellEditor.insertTab(b.cellEditor.isContentEditing()?null:4)}catch(f){}else mxEvent.isAltDown(a)?b.selectParentCell():b.selectCell(!mxEvent.isShiftDown(a));mxEvent.consume(a)}};
+EditorUi.prototype.onKeyDown=function(a){var b=this.editor.graph;if(9==a.which&&b.isEnabled()&&!mxEvent.isControlDown(a)){if(b.isEditing())if(mxEvent.isAltDown(a))b.stopEditing(!1);else try{var e=b.cellEditor.isContentEditing()&&b.cellEditor.isTextSelected();if(window.getSelection&&b.cellEditor.isContentEditing()&&!e&&!mxClient.IS_IE&&!mxClient.IS_IE11){var f=window.getSelection(),h=0<f.rangeCount?f.getRangeAt(0).commonAncestorContainer:null;e=null!=h&&("LI"==h.nodeName||null!=h.parentNode&&"LI"==
+h.parentNode.nodeName)}e?document.execCommand(mxEvent.isShiftDown(a)?"outdent":"indent",!1,null):mxEvent.isShiftDown(a)?b.stopEditing(!1):b.cellEditor.insertTab(b.cellEditor.isContentEditing()?null:4)}catch(d){}else mxEvent.isAltDown(a)?b.selectParentCell():b.selectCell(!mxEvent.isShiftDown(a));mxEvent.consume(a)}};
EditorUi.prototype.onKeyPress=function(a){var b=this.editor.graph;!this.isImmediateEditingEvent(a)||b.isEditing()||b.isSelectionEmpty()||0===a.which||27===a.which||mxEvent.isAltDown(a)||mxEvent.isControlDown(a)||mxEvent.isMetaDown(a)||(b.escape(),b.startEditing(null,String.fromCharCode(a.which)))};EditorUi.prototype.isImmediateEditingEvent=function(a){return!0};
-EditorUi.prototype.updateCssForMarker=function(a,b,d,e,g){a.style.display="inline-flex";a.style.alignItems="center";a.style.justifyContent="center";a.innerText="";"flexArrow"==d?a.className=null!=e&&e!=mxConstants.NONE?"geSprite geSprite-"+b+"blocktrans":"geSprite geSprite-noarrow":(d=this.getImageForMarker(e,g),null!=d?(e=document.createElement("img"),e.className="geAdaptiveAsset",e.setAttribute("src",d),a.className="","end"==b&&mxUtils.setPrefixedStyle(e.style,"transform","scaleX(-1)"),a.appendChild(e)):
+EditorUi.prototype.updateCssForMarker=function(a,b,e,f,h){a.style.display="inline-flex";a.style.alignItems="center";a.style.justifyContent="center";a.innerText="";"flexArrow"==e?a.className=null!=f&&f!=mxConstants.NONE?"geSprite geSprite-"+b+"blocktrans":"geSprite geSprite-noarrow":(e=this.getImageForMarker(f,h),null!=e?(f=document.createElement("img"),f.className="geAdaptiveAsset",f.setAttribute("src",e),a.className="","end"==b&&mxUtils.setPrefixedStyle(f.style,"transform","scaleX(-1)"),a.appendChild(f)):
(a.className="geSprite geSprite-noarrow",a.innerHTML=mxUtils.htmlEntities(mxResources.get("none")),a.style.backgroundImage="none",a.style.fontSize="11px",a.style.filter="none"))};
-EditorUi.prototype.getImageForMarker=function(a,b){var d=null;a==mxConstants.ARROW_CLASSIC?d="1"!=b?Format.classicMarkerImage.src:Format.classicFilledMarkerImage.src:a==mxConstants.ARROW_CLASSIC_THIN?d="1"!=b?Format.classicThinMarkerImage.src:Format.openThinFilledMarkerImage.src:a==mxConstants.ARROW_OPEN?d=Format.openFilledMarkerImage.src:a==mxConstants.ARROW_OPEN_THIN?d=Format.openThinFilledMarkerImage.src:a==mxConstants.ARROW_BLOCK?d="1"!=b?Format.blockMarkerImage.src:Format.blockFilledMarkerImage.src:
-a==mxConstants.ARROW_BLOCK_THIN?d="1"!=b?Format.blockThinMarkerImage.src:Format.blockThinFilledMarkerImage.src:a==mxConstants.ARROW_OVAL?d="1"!=b?Format.ovalMarkerImage.src:Format.ovalFilledMarkerImage.src:a==mxConstants.ARROW_DIAMOND?d="1"!=b?Format.diamondMarkerImage.src:Format.diamondFilledMarkerImage.src:a==mxConstants.ARROW_DIAMOND_THIN?d="1"!=b?Format.diamondThinMarkerImage.src:Format.diamondThinFilledMarkerImage.src:"doubleBlock"==a?d="1"!=b?Format.doubleBlockMarkerImage.src:Format.doubleBlockFilledMarkerImage.src:
-"box"==a?d=Format.boxMarkerImage.src:"halfCircle"==a?d=Format.halfCircleMarkerImage.src:"openAsync"==a?d=Format.openAsyncFilledMarkerImage.src:"async"==a?d="1"!=b?Format.asyncMarkerImage.src:Format.asyncFilledMarkerImage.src:"dash"==a?d=Format.dashMarkerImage.src:"baseDash"==a?d=Format.baseDashMarkerImage.src:"cross"==a?d=Format.crossMarkerImage.src:"circle"==a?d=Format.circleMarkerImage.src:"circlePlus"==a?d=Format.circlePlusMarkerImage.src:"ERone"==a?d=Format.EROneMarkerImage.src:"ERmandOne"==a?
-d=Format.ERmandOneMarkerImage.src:"ERmany"==a?d=Format.ERmanyMarkerImage.src:"ERoneToMany"==a?d=Format.ERoneToManyMarkerImage.src:"ERzeroToOne"==a?d=Format.ERzeroToOneMarkerImage.src:"ERzeroToMany"==a&&(d=Format.ERzeroToManyMarkerImage.src);return d};EditorUi.prototype.createMenus=function(){return null};
-EditorUi.prototype.updatePasteActionStates=function(){var a=this.editor.graph,b=this.actions.get("paste"),d=this.actions.get("pasteHere");b.setEnabled(this.editor.graph.cellEditor.isContentEditing()||(!mxClient.IS_FF&&null!=navigator.clipboard||!mxClipboard.isEmpty())&&a.isEnabled()&&!a.isCellLocked(a.getDefaultParent()));d.setEnabled(b.isEnabled())};
-EditorUi.prototype.initClipboard=function(){var a=this,b=mxClipboard.cut;mxClipboard.cut=function(f){f.cellEditor.isContentEditing()?document.execCommand("cut",!1,null):b.apply(this,arguments);a.updatePasteActionStates()};mxClipboard.copy=function(f){var h=null;if(f.cellEditor.isContentEditing())document.execCommand("copy",!1,null);else{h=h||f.getSelectionCells();h=f.getExportableCells(f.model.getTopmostCells(h));for(var n={},q=f.createCellLookup(h),l=f.cloneCells(h,null,n),p=new mxGraphModel,w=p.getChildAt(p.getRoot(),
-0),z=0;z<l.length;z++){p.add(w,l[z]);var C=f.view.getState(h[z]);if(null!=C){var F=f.getCellGeometry(l[z]);null!=F&&F.relative&&!p.isEdge(h[z])&&null==q[mxObjectIdentity.get(p.getParent(h[z]))]&&(F.offset=null,F.relative=!1,F.x=C.x/C.view.scale-C.view.translate.x,F.y=C.y/C.view.scale-C.view.translate.y)}}f.updateCustomLinks(f.createCellMapping(n,q),l);mxClipboard.insertCount=1;mxClipboard.setCells(l)}a.updatePasteActionStates();return h};var d=mxClipboard.paste;mxClipboard.paste=function(f){var h=
-null;f.cellEditor.isContentEditing()?document.execCommand("paste",!1,null):h=d.apply(this,arguments);a.updatePasteActionStates();return h};var e=this.editor.graph.cellEditor.startEditing;this.editor.graph.cellEditor.startEditing=function(){e.apply(this,arguments);a.updatePasteActionStates()};var g=this.editor.graph.cellEditor.stopEditing;this.editor.graph.cellEditor.stopEditing=function(f,h){g.apply(this,arguments);a.updatePasteActionStates()};this.updatePasteActionStates()};
+EditorUi.prototype.getImageForMarker=function(a,b){var e=null;a==mxConstants.ARROW_CLASSIC?e="1"!=b?Format.classicMarkerImage.src:Format.classicFilledMarkerImage.src:a==mxConstants.ARROW_CLASSIC_THIN?e="1"!=b?Format.classicThinMarkerImage.src:Format.openThinFilledMarkerImage.src:a==mxConstants.ARROW_OPEN?e=Format.openFilledMarkerImage.src:a==mxConstants.ARROW_OPEN_THIN?e=Format.openThinFilledMarkerImage.src:a==mxConstants.ARROW_BLOCK?e="1"!=b?Format.blockMarkerImage.src:Format.blockFilledMarkerImage.src:
+a==mxConstants.ARROW_BLOCK_THIN?e="1"!=b?Format.blockThinMarkerImage.src:Format.blockThinFilledMarkerImage.src:a==mxConstants.ARROW_OVAL?e="1"!=b?Format.ovalMarkerImage.src:Format.ovalFilledMarkerImage.src:a==mxConstants.ARROW_DIAMOND?e="1"!=b?Format.diamondMarkerImage.src:Format.diamondFilledMarkerImage.src:a==mxConstants.ARROW_DIAMOND_THIN?e="1"!=b?Format.diamondThinMarkerImage.src:Format.diamondThinFilledMarkerImage.src:"doubleBlock"==a?e="1"!=b?Format.doubleBlockMarkerImage.src:Format.doubleBlockFilledMarkerImage.src:
+"box"==a?e=Format.boxMarkerImage.src:"halfCircle"==a?e=Format.halfCircleMarkerImage.src:"openAsync"==a?e=Format.openAsyncFilledMarkerImage.src:"async"==a?e="1"!=b?Format.asyncMarkerImage.src:Format.asyncFilledMarkerImage.src:"dash"==a?e=Format.dashMarkerImage.src:"baseDash"==a?e=Format.baseDashMarkerImage.src:"cross"==a?e=Format.crossMarkerImage.src:"circle"==a?e=Format.circleMarkerImage.src:"circlePlus"==a?e=Format.circlePlusMarkerImage.src:"ERone"==a?e=Format.EROneMarkerImage.src:"ERmandOne"==a?
+e=Format.ERmandOneMarkerImage.src:"ERmany"==a?e=Format.ERmanyMarkerImage.src:"ERoneToMany"==a?e=Format.ERoneToManyMarkerImage.src:"ERzeroToOne"==a?e=Format.ERzeroToOneMarkerImage.src:"ERzeroToMany"==a&&(e=Format.ERzeroToManyMarkerImage.src);return e};EditorUi.prototype.createMenus=function(){return null};
+EditorUi.prototype.updatePasteActionStates=function(){var a=this.editor.graph,b=this.actions.get("paste"),e=this.actions.get("pasteHere");b.setEnabled(this.editor.graph.cellEditor.isContentEditing()||(!mxClient.IS_FF&&null!=navigator.clipboard||!mxClipboard.isEmpty())&&a.isEnabled()&&!a.isCellLocked(a.getDefaultParent()));e.setEnabled(b.isEnabled())};
+EditorUi.prototype.initClipboard=function(){var a=this,b=mxClipboard.cut;mxClipboard.cut=function(d){d.cellEditor.isContentEditing()?document.execCommand("cut",!1,null):b.apply(this,arguments);a.updatePasteActionStates()};mxClipboard.copy=function(d){var g=null;if(d.cellEditor.isContentEditing())document.execCommand("copy",!1,null);else{g=g||d.getSelectionCells();g=d.getExportableCells(d.model.getTopmostCells(g));for(var n={},q=d.createCellLookup(g),k=d.cloneCells(g,null,n),p=new mxGraphModel,w=p.getChildAt(p.getRoot(),
+0),z=0;z<k.length;z++){p.add(w,k[z]);var C=d.view.getState(g[z]);if(null!=C){var F=d.getCellGeometry(k[z]);null!=F&&F.relative&&!p.isEdge(g[z])&&null==q[mxObjectIdentity.get(p.getParent(g[z]))]&&(F.offset=null,F.relative=!1,F.x=C.x/C.view.scale-C.view.translate.x,F.y=C.y/C.view.scale-C.view.translate.y)}}d.updateCustomLinks(d.createCellMapping(n,q),k);mxClipboard.insertCount=1;mxClipboard.setCells(k)}a.updatePasteActionStates();return g};var e=mxClipboard.paste;mxClipboard.paste=function(d){var g=
+null;d.cellEditor.isContentEditing()?document.execCommand("paste",!1,null):g=e.apply(this,arguments);a.updatePasteActionStates();return g};var f=this.editor.graph.cellEditor.startEditing;this.editor.graph.cellEditor.startEditing=function(){f.apply(this,arguments);a.updatePasteActionStates()};var h=this.editor.graph.cellEditor.stopEditing;this.editor.graph.cellEditor.stopEditing=function(d,g){h.apply(this,arguments);a.updatePasteActionStates()};this.updatePasteActionStates()};
EditorUi.prototype.lazyZoomDelay=20;EditorUi.prototype.wheelZoomDelay=500;EditorUi.prototype.buttonZoomDelay=600;
-EditorUi.prototype.initCanvas=function(){var a=this.editor.graph;a.timerAutoScroll=!0;a.getPagePadding=function(){return new mxPoint(Math.max(0,Math.round((a.container.offsetWidth-34)/a.view.scale)),Math.max(0,Math.round((a.container.offsetHeight-34)/a.view.scale)))};a.view.getBackgroundPageBounds=function(){var L=this.graph.getPageLayout(),ea=this.graph.getPageSize();return new mxRectangle(this.scale*(this.translate.x+L.x*ea.width),this.scale*(this.translate.y+L.y*ea.height),this.scale*L.width*ea.width,
-this.scale*L.height*ea.height)};a.getPreferredPageSize=function(L,ea,sa){L=this.getPageLayout();ea=this.getPageSize();return new mxRectangle(0,0,L.width*ea.width,L.height*ea.height)};var b=null,d=this;if(this.editor.isChromelessView()){this.chromelessResize=b=mxUtils.bind(this,function(L,ea,sa,va){if(null!=a.container&&!a.isViewer()){sa=null!=sa?sa:0;va=null!=va?va:0;var Ua=a.pageVisible?a.view.getBackgroundPageBounds():a.getGraphBounds(),ma=mxUtils.hasScrollbars(a.container),Fa=a.view.translate,
-Ia=a.view.scale,Oa=mxRectangle.fromRectangle(Ua);Oa.x=Oa.x/Ia-Fa.x;Oa.y=Oa.y/Ia-Fa.y;Oa.width/=Ia;Oa.height/=Ia;Fa=a.container.scrollTop;var Ra=a.container.scrollLeft,Ma=8<=document.documentMode?20:14;if(8==document.documentMode||9==document.documentMode)Ma+=3;var Na=a.container.offsetWidth-Ma;Ma=a.container.offsetHeight-Ma;L=L?Math.max(.3,Math.min(ea||1,Na/Oa.width)):Ia;ea=(Na-L*Oa.width)/2/L;var ta=0==this.lightboxVerticalDivider?0:(Ma-L*Oa.height)/this.lightboxVerticalDivider/L;ma&&(ea=Math.max(ea,
-0),ta=Math.max(ta,0));if(ma||Ua.width<Na||Ua.height<Ma)a.view.scaleAndTranslate(L,Math.floor(ea-Oa.x),Math.floor(ta-Oa.y)),a.container.scrollTop=Fa*L/Ia,a.container.scrollLeft=Ra*L/Ia;else if(0!=sa||0!=va)Ua=a.view.translate,a.view.setTranslate(Math.floor(Ua.x+sa/Ia),Math.floor(Ua.y+va/Ia))}});this.chromelessWindowResize=mxUtils.bind(this,function(){this.chromelessResize(!1)});var e=mxUtils.bind(this,function(){this.chromelessWindowResize(!1)});mxEvent.addListener(window,"resize",e);this.destroyFunctions.push(function(){mxEvent.removeListener(window,
-"resize",e)});this.editor.addListener("resetGraphView",mxUtils.bind(this,function(){this.chromelessResize(!0)}));this.actions.get("zoomIn").funct=mxUtils.bind(this,function(L){a.zoomIn();this.chromelessResize(!1)});this.actions.get("zoomOut").funct=mxUtils.bind(this,function(L){a.zoomOut();this.chromelessResize(!1)});if("0"!=urlParams.toolbar){var g=JSON.parse(decodeURIComponent(urlParams["toolbar-config"]||"{}"));this.chromelessToolbar=document.createElement("div");this.chromelessToolbar.style.position=
+EditorUi.prototype.initCanvas=function(){var a=this.editor.graph;a.timerAutoScroll=!0;a.getPagePadding=function(){return new mxPoint(Math.max(0,Math.round((a.container.offsetWidth-34)/a.view.scale)),Math.max(0,Math.round((a.container.offsetHeight-34)/a.view.scale)))};a.view.getBackgroundPageBounds=function(){var M=this.graph.getPageLayout(),ea=this.graph.getPageSize();return new mxRectangle(this.scale*(this.translate.x+M.x*ea.width),this.scale*(this.translate.y+M.y*ea.height),this.scale*M.width*ea.width,
+this.scale*M.height*ea.height)};a.getPreferredPageSize=function(M,ea,ra){M=this.getPageLayout();ea=this.getPageSize();return new mxRectangle(0,0,M.width*ea.width,M.height*ea.height)};var b=null,e=this;if(this.editor.isChromelessView()){this.chromelessResize=b=mxUtils.bind(this,function(M,ea,ra,ta){if(null!=a.container&&!a.isViewer()){ra=null!=ra?ra:0;ta=null!=ta?ta:0;var Sa=a.pageVisible?a.view.getBackgroundPageBounds():a.getGraphBounds(),ma=mxUtils.hasScrollbars(a.container),Fa=a.view.translate,
+Ha=a.view.scale,Na=mxRectangle.fromRectangle(Sa);Na.x=Na.x/Ha-Fa.x;Na.y=Na.y/Ha-Fa.y;Na.width/=Ha;Na.height/=Ha;Fa=a.container.scrollTop;var Qa=a.container.scrollLeft,La=8<=document.documentMode?20:14;if(8==document.documentMode||9==document.documentMode)La+=3;var Ja=a.container.offsetWidth-La;La=a.container.offsetHeight-La;M=M?Math.max(.3,Math.min(ea||1,Ja/Na.width)):Ha;ea=(Ja-M*Na.width)/2/M;var ua=0==this.lightboxVerticalDivider?0:(La-M*Na.height)/this.lightboxVerticalDivider/M;ma&&(ea=Math.max(ea,
+0),ua=Math.max(ua,0));if(ma||Sa.width<Ja||Sa.height<La)a.view.scaleAndTranslate(M,Math.floor(ea-Na.x),Math.floor(ua-Na.y)),a.container.scrollTop=Fa*M/Ha,a.container.scrollLeft=Qa*M/Ha;else if(0!=ra||0!=ta)Sa=a.view.translate,a.view.setTranslate(Math.floor(Sa.x+ra/Ha),Math.floor(Sa.y+ta/Ha))}});this.chromelessWindowResize=mxUtils.bind(this,function(){this.chromelessResize(!1)});var f=mxUtils.bind(this,function(){this.chromelessWindowResize(!1)});mxEvent.addListener(window,"resize",f);this.destroyFunctions.push(function(){mxEvent.removeListener(window,
+"resize",f)});this.editor.addListener("resetGraphView",mxUtils.bind(this,function(){this.chromelessResize(!0)}));this.actions.get("zoomIn").funct=mxUtils.bind(this,function(M){a.zoomIn();this.chromelessResize(!1)});this.actions.get("zoomOut").funct=mxUtils.bind(this,function(M){a.zoomOut();this.chromelessResize(!1)});if("0"!=urlParams.toolbar){var h=JSON.parse(decodeURIComponent(urlParams["toolbar-config"]||"{}"));this.chromelessToolbar=document.createElement("div");this.chromelessToolbar.style.position=
"fixed";this.chromelessToolbar.style.overflow="hidden";this.chromelessToolbar.style.boxSizing="border-box";this.chromelessToolbar.style.whiteSpace="nowrap";this.chromelessToolbar.style.padding="10px 10px 8px 10px";this.chromelessToolbar.style.left=a.isViewer()?"0":"50%";mxClient.IS_IE||mxClient.IS_IE11?(this.chromelessToolbar.style.backgroundColor="#ffffff",this.chromelessToolbar.style.border="3px solid black"):this.chromelessToolbar.style.backgroundColor="#000000";mxUtils.setPrefixedStyle(this.chromelessToolbar.style,
-"borderRadius","16px");mxUtils.setPrefixedStyle(this.chromelessToolbar.style,"transition","opacity 600ms ease-in-out");var f=mxUtils.bind(this,function(){var L=mxUtils.getCurrentStyle(a.container);a.isViewer()?this.chromelessToolbar.style.top="0":this.chromelessToolbar.style.bottom=(null!=L?parseInt(L["margin-bottom"]||0):0)+(null!=this.tabContainer?20+parseInt(this.tabContainer.style.height):20)+"px"});this.editor.addListener("resetGraphView",f);f();var h=0;f=mxUtils.bind(this,function(L,ea,sa){h++;
-var va=document.createElement("span");va.style.paddingLeft="8px";va.style.paddingRight="8px";va.style.cursor="pointer";mxEvent.addListener(va,"click",L);null!=sa&&va.setAttribute("title",sa);L=document.createElement("img");L.setAttribute("border","0");L.setAttribute("src",ea);L.style.width="36px";L.style.filter="invert(100%)";va.appendChild(L);this.chromelessToolbar.appendChild(va);return va});if(null!=g.backBtn){var n=Graph.sanitizeLink(g.backBtn.url);null!=n&&f(mxUtils.bind(this,function(L){window.location.href=
-n;mxEvent.consume(L)}),Editor.backImage,mxResources.get("back",null,"Back"))}if(this.isPagesEnabled()){var q=f(mxUtils.bind(this,function(L){this.actions.get("previousPage").funct();mxEvent.consume(L)}),Editor.previousImage,mxResources.get("previousPage")),l=document.createElement("div");l.style.fontFamily=Editor.defaultHtmlFont;l.style.display="inline-block";l.style.verticalAlign="top";l.style.fontWeight="bold";l.style.marginTop="8px";l.style.fontSize="14px";l.style.cursor="default";l.style.color=
-mxClient.IS_IE||mxClient.IS_IE11?"#000000":"#ffffff";this.chromelessToolbar.appendChild(l);var p=f(mxUtils.bind(this,function(L){this.actions.get("nextPage").funct();mxEvent.consume(L)}),Editor.nextImage,mxResources.get("nextPage")),w=mxUtils.bind(this,function(){if(null!=this.pages&&1<this.pages.length&&null!=this.currentPage){l.innerText="";var L=mxUtils.indexOf(this.pages,this.currentPage);mxUtils.write(l,L+1+" / "+this.pages.length);l.setAttribute("title",mxResources.get("currentPage")+": "+this.currentPage.getName());
-q.setAttribute("title",mxResources.get("previousPage")+": "+this.pages[mxUtils.mod(L-1,this.pages.length)].getName());p.setAttribute("title",mxResources.get("nextPage")+": "+this.pages[mxUtils.mod(L+1,this.pages.length)].getName())}});q.style.paddingLeft="0px";q.style.paddingRight="4px";p.style.paddingLeft="4px";p.style.paddingRight="0px";var z=mxUtils.bind(this,function(){null!=this.pages&&1<this.pages.length&&null!=this.currentPage?(p.style.display="",q.style.display="",l.style.display="inline-block"):
-(p.style.display="none",q.style.display="none",l.style.display="none");w()});if(null!=this.menus){var C=this.menus.get("pages");null!=C&&mxEvent.addListener(l,"click",mxUtils.bind(this,function(L){var ea=new mxPopupMenu(C.funct);ea.div.className+=" geMenubarMenu";ea.smartSeparators=!0;ea.showDisabled=!0;ea.autoExpand=!0;ea.hideMenu=mxUtils.bind(this,function(){mxPopupMenu.prototype.hideMenu.apply(ea,arguments);ea.destroy()});var sa=mxUtils.getOffset(l);ea.popup(sa.x,sa.y+l.offsetHeight,null,L);mxEvent.addListener(ea.div,
-"mouseleave",mxUtils.bind(this,function(){ea.hideMenu()}))}))}this.editor.addListener("resetGraphView",z);this.editor.addListener("pageSelected",w)}f(mxUtils.bind(this,function(L){this.actions.get("zoomOut").funct();mxEvent.consume(L)}),Editor.zoomOutImage,mxResources.get("zoomOut")+" (Alt+Mousewheel)");f(mxUtils.bind(this,function(L){this.actions.get("zoomIn").funct();mxEvent.consume(L)}),Editor.zoomInImage,mxResources.get("zoomIn")+" (Alt+Mousewheel)");f(mxUtils.bind(this,function(L){a.isLightboxView()?
-(1==a.view.scale?this.lightboxFit():a.zoomTo(1),this.chromelessResize(!1)):this.chromelessResize(!0);mxEvent.consume(L)}),Editor.zoomFitImage,mxResources.get("fit"));var F=null,D=null,G=mxUtils.bind(this,function(L){null!=F&&(window.clearTimeout(F),F=null);null!=D&&(window.clearTimeout(D),D=null);F=window.setTimeout(mxUtils.bind(this,function(){mxUtils.setOpacity(this.chromelessToolbar,0);F=null;D=window.setTimeout(mxUtils.bind(this,function(){this.chromelessToolbar.style.display="none";D=null}),
-600)}),L||200)}),K=mxUtils.bind(this,function(L){null!=F&&(window.clearTimeout(F),F=null);null!=D&&(window.clearTimeout(D),D=null);this.chromelessToolbar.style.display="";mxUtils.setOpacity(this.chromelessToolbar,L||30)});if("1"==urlParams.layers){this.layersDialog=null;var I=f(mxUtils.bind(this,function(L){if(null!=this.layersDialog)this.layersDialog.parentNode.removeChild(this.layersDialog),this.layersDialog=null;else{this.layersDialog=a.createLayersDialog(mxUtils.bind(this,function(){this.chromelessResize&&
-this.chromelessResize()}),!0);mxEvent.addListener(this.layersDialog,"mouseleave",mxUtils.bind(this,function(){this.layersDialog.parentNode.removeChild(this.layersDialog);this.layersDialog=null}));var ea=I.getBoundingClientRect();mxUtils.setPrefixedStyle(this.layersDialog.style,"borderRadius","5px");this.layersDialog.style.position="fixed";this.layersDialog.style.fontFamily=Editor.defaultHtmlFont;this.layersDialog.style.width="160px";this.layersDialog.style.padding="4px 2px 4px 2px";this.layersDialog.style.left=
+"borderRadius","16px");mxUtils.setPrefixedStyle(this.chromelessToolbar.style,"transition","opacity 600ms ease-in-out");var d=mxUtils.bind(this,function(){var M=mxUtils.getCurrentStyle(a.container);a.isViewer()?this.chromelessToolbar.style.top="0":this.chromelessToolbar.style.bottom=(null!=M?parseInt(M["margin-bottom"]||0):0)+(null!=this.tabContainer?20+parseInt(this.tabContainer.style.height):20)+"px"});this.editor.addListener("resetGraphView",d);d();var g=0;d=mxUtils.bind(this,function(M,ea,ra){g++;
+var ta=document.createElement("span");ta.style.paddingLeft="8px";ta.style.paddingRight="8px";ta.style.cursor="pointer";mxEvent.addListener(ta,"click",M);null!=ra&&ta.setAttribute("title",ra);M=document.createElement("img");M.setAttribute("border","0");M.setAttribute("src",ea);M.style.width="36px";M.style.filter="invert(100%)";ta.appendChild(M);this.chromelessToolbar.appendChild(ta);return ta});if(null!=h.backBtn){var n=Graph.sanitizeLink(h.backBtn.url);null!=n&&d(mxUtils.bind(this,function(M){window.location.href=
+n;mxEvent.consume(M)}),Editor.backImage,mxResources.get("back",null,"Back"))}if(this.isPagesEnabled()){var q=d(mxUtils.bind(this,function(M){this.actions.get("previousPage").funct();mxEvent.consume(M)}),Editor.previousImage,mxResources.get("previousPage")),k=document.createElement("div");k.style.fontFamily=Editor.defaultHtmlFont;k.style.display="inline-block";k.style.verticalAlign="top";k.style.fontWeight="bold";k.style.marginTop="8px";k.style.fontSize="14px";k.style.cursor="default";k.style.color=
+mxClient.IS_IE||mxClient.IS_IE11?"#000000":"#ffffff";this.chromelessToolbar.appendChild(k);var p=d(mxUtils.bind(this,function(M){this.actions.get("nextPage").funct();mxEvent.consume(M)}),Editor.nextImage,mxResources.get("nextPage")),w=mxUtils.bind(this,function(){if(null!=this.pages&&1<this.pages.length&&null!=this.currentPage){k.innerText="";var M=mxUtils.indexOf(this.pages,this.currentPage);mxUtils.write(k,M+1+" / "+this.pages.length);k.setAttribute("title",mxResources.get("currentPage")+": "+this.currentPage.getName());
+q.setAttribute("title",mxResources.get("previousPage")+": "+this.pages[mxUtils.mod(M-1,this.pages.length)].getName());p.setAttribute("title",mxResources.get("nextPage")+": "+this.pages[mxUtils.mod(M+1,this.pages.length)].getName())}});q.style.paddingLeft="0px";q.style.paddingRight="4px";p.style.paddingLeft="4px";p.style.paddingRight="0px";var z=mxUtils.bind(this,function(){null!=this.pages&&1<this.pages.length&&null!=this.currentPage?(p.style.display="",q.style.display="",k.style.display="inline-block"):
+(p.style.display="none",q.style.display="none",k.style.display="none");w()});if(null!=this.menus){var C=this.menus.get("pages");null!=C&&mxEvent.addListener(k,"click",mxUtils.bind(this,function(M){var ea=new mxPopupMenu(C.funct);ea.div.className+=" geMenubarMenu";ea.smartSeparators=!0;ea.showDisabled=!0;ea.autoExpand=!0;ea.hideMenu=mxUtils.bind(this,function(){mxPopupMenu.prototype.hideMenu.apply(ea,arguments);ea.destroy()});var ra=mxUtils.getOffset(k);ea.popup(ra.x,ra.y+k.offsetHeight,null,M);mxEvent.addListener(ea.div,
+"mouseleave",mxUtils.bind(this,function(){ea.hideMenu()}))}))}this.editor.addListener("resetGraphView",z);this.editor.addListener("pageSelected",w)}d(mxUtils.bind(this,function(M){this.actions.get("zoomOut").funct();mxEvent.consume(M)}),Editor.zoomOutImage,mxResources.get("zoomOut")+" (Alt+Mousewheel)");d(mxUtils.bind(this,function(M){this.actions.get("zoomIn").funct();mxEvent.consume(M)}),Editor.zoomInImage,mxResources.get("zoomIn")+" (Alt+Mousewheel)");d(mxUtils.bind(this,function(M){a.isLightboxView()?
+(1==a.view.scale?this.lightboxFit():a.zoomTo(1),this.chromelessResize(!1)):this.chromelessResize(!0);mxEvent.consume(M)}),Editor.zoomFitImage,mxResources.get("fit"));var F=null,D=null,H=mxUtils.bind(this,function(M){null!=F&&(window.clearTimeout(F),F=null);null!=D&&(window.clearTimeout(D),D=null);F=window.setTimeout(mxUtils.bind(this,function(){mxUtils.setOpacity(this.chromelessToolbar,0);F=null;D=window.setTimeout(mxUtils.bind(this,function(){this.chromelessToolbar.style.display="none";D=null}),
+600)}),M||200)}),K=mxUtils.bind(this,function(M){null!=F&&(window.clearTimeout(F),F=null);null!=D&&(window.clearTimeout(D),D=null);this.chromelessToolbar.style.display="";mxUtils.setOpacity(this.chromelessToolbar,M||30)});if("1"==urlParams.layers){this.layersDialog=null;var G=d(mxUtils.bind(this,function(M){if(null!=this.layersDialog)this.layersDialog.parentNode.removeChild(this.layersDialog),this.layersDialog=null;else{this.layersDialog=a.createLayersDialog(mxUtils.bind(this,function(){this.chromelessResize&&
+this.chromelessResize()}),!0);mxEvent.addListener(this.layersDialog,"mouseleave",mxUtils.bind(this,function(){this.layersDialog.parentNode.removeChild(this.layersDialog);this.layersDialog=null}));var ea=G.getBoundingClientRect();mxUtils.setPrefixedStyle(this.layersDialog.style,"borderRadius","5px");this.layersDialog.style.position="fixed";this.layersDialog.style.fontFamily=Editor.defaultHtmlFont;this.layersDialog.style.width="160px";this.layersDialog.style.padding="4px 2px 4px 2px";this.layersDialog.style.left=
ea.left+"px";this.layersDialog.style.bottom=parseInt(this.chromelessToolbar.style.bottom)+this.chromelessToolbar.offsetHeight+4+"px";mxClient.IS_IE||mxClient.IS_IE11?(this.layersDialog.style.backgroundColor="#ffffff",this.layersDialog.style.border="2px solid black",this.layersDialog.style.color="#000000"):(this.layersDialog.style.backgroundColor="#000000",this.layersDialog.style.color="#ffffff",mxUtils.setOpacity(this.layersDialog,80));ea=mxUtils.getCurrentStyle(this.editor.graph.container);this.layersDialog.style.zIndex=
-ea.zIndex;document.body.appendChild(this.layersDialog);this.editor.fireEvent(new mxEventObject("layersDialogShown"))}mxEvent.consume(L)}),Editor.layersImage,mxResources.get("layers")),O=a.getModel();O.addListener(mxEvent.CHANGE,function(){I.style.display=1<O.getChildCount(O.root)?"":"none"})}("1"!=urlParams.openInSameWin||navigator.standalone)&&this.addChromelessToolbarItems(f);null==this.editor.editButtonLink&&null==this.editor.editButtonFunc||f(mxUtils.bind(this,function(L){null!=this.editor.editButtonFunc?
-this.editor.editButtonFunc():"_blank"==this.editor.editButtonLink?this.editor.editAsNew(this.getEditBlankXml()):a.openLink(this.editor.editButtonLink,"editWindow");mxEvent.consume(L)}),Editor.editImage,mxResources.get("edit"));if(null!=this.lightboxToolbarActions)for(z=0;z<this.lightboxToolbarActions.length;z++){var H=this.lightboxToolbarActions[z];H.elem=f(H.fn,H.icon,H.tooltip)}if(null!=g.refreshBtn){var Z=null==g.refreshBtn.url?null:Graph.sanitizeLink(g.refreshBtn.url);f(mxUtils.bind(this,function(L){null!=
-Z?window.location.href=Z:window.location.reload();mxEvent.consume(L)}),Editor.refreshImage,mxResources.get("refresh",null,"Refresh"))}null!=g.fullscreenBtn&&window.self!==window.top&&f(mxUtils.bind(this,function(L){g.fullscreenBtn.url?a.openLink(g.fullscreenBtn.url):a.openLink(window.location.href);mxEvent.consume(L)}),Editor.fullscreenImage,mxResources.get("openInNewWindow",null,"Open in New Window"));!g.noCloseBtn&&(g.closeBtn&&window.self===window.top||a.lightbox&&("1"==urlParams.close||this.container!=
-document.body))&&f(mxUtils.bind(this,function(L){"1"==urlParams.close||g.closeBtn?window.close():(this.destroy(),mxEvent.consume(L))}),Editor.closeImage,mxResources.get("close")+" (Escape)");this.chromelessToolbar.style.display="none";a.isViewer()||mxUtils.setPrefixedStyle(this.chromelessToolbar.style,"transform","translate(-50%,0)");a.container.appendChild(this.chromelessToolbar);mxEvent.addListener(a.container,mxClient.IS_POINTER?"pointermove":"mousemove",mxUtils.bind(this,function(L){mxEvent.isTouchEvent(L)||
-(mxEvent.isShiftDown(L)||K(30),G())}));mxEvent.addListener(this.chromelessToolbar,mxClient.IS_POINTER?"pointermove":"mousemove",function(L){mxEvent.consume(L)});mxEvent.addListener(this.chromelessToolbar,"mouseenter",mxUtils.bind(this,function(L){a.tooltipHandler.resetTimer();a.tooltipHandler.hideTooltip();mxEvent.isShiftDown(L)?G():K(100)}));mxEvent.addListener(this.chromelessToolbar,"mousemove",mxUtils.bind(this,function(L){mxEvent.isShiftDown(L)?G():K(100);mxEvent.consume(L)}));mxEvent.addListener(this.chromelessToolbar,
-"mouseleave",mxUtils.bind(this,function(L){mxEvent.isTouchEvent(L)||K(30)}));var S=a.getTolerance();a.addMouseListener({startX:0,startY:0,scrollLeft:0,scrollTop:0,mouseDown:function(L,ea){this.startX=ea.getGraphX();this.startY=ea.getGraphY();this.scrollLeft=a.container.scrollLeft;this.scrollTop=a.container.scrollTop},mouseMove:function(L,ea){},mouseUp:function(L,ea){mxEvent.isTouchEvent(ea.getEvent())&&Math.abs(this.scrollLeft-a.container.scrollLeft)<S&&Math.abs(this.scrollTop-a.container.scrollTop)<
-S&&Math.abs(this.startX-ea.getGraphX())<S&&Math.abs(this.startY-ea.getGraphY())<S&&(0<parseFloat(d.chromelessToolbar.style.opacity||0)?G():K(30))}})}this.editor.editable||this.addChromelessClickHandler()}else if(this.editor.extendCanvas){var X=a.view.validate,Y=new mxPoint,M=!1,U=null;a.view.validate=function(){if(null!=a.container&&mxUtils.hasScrollbars(a.container)){if(null!=d.currentPage&&U!=d.currentPage){U=d.currentPage;M=!0;var L=a.getBoundingBoxFromGeometry(a.model.getCells(),!0,null,!0);null==
-L&&(L=new mxRectangle(a.view.translate.x*a.view.scale,a.view.translate.y*a.view.scale));L=a.getPageLayout(L,Y,1);var ea=a.getDefaultTranslate(L);this.x0=L.x;this.y0=L.y;if(ea.x!=this.translate.x||ea.y!=this.translate.y)this.invalidate(),this.translate.x=ea.x,this.translate.y=ea.y}ea=a.getPagePadding();var sa=a.getPageSize();L=ea.x-(this.x0||0)*sa.width;ea=ea.y-(this.y0||0)*sa.height;if(this.translate.x!=L||this.translate.y!=ea)this.invalidate(),this.translate.x=L,this.translate.y=ea}X.apply(this,
-arguments)};if(!a.isViewer()){var ba=a.sizeDidChange;a.sizeDidChange=function(){var L=M;M=!1;if(null!=this.container&&mxUtils.hasScrollbars(this.container)){this.updateMinimumSize();if(!this.autoTranslate){var ea=this.getPageLayout(),sa=this.getDefaultTranslate(ea),va=this.view.translate.x,Ua=this.view.translate.y;if(sa.x!=va||sa.y!=Ua){this.view.x0=ea.x;this.view.y0=ea.y;this.autoTranslate=!0;this.view.setTranslate(sa.x,sa.y);this.autoTranslate=!1;L||(this.container.scrollLeft+=Math.round((sa.x-
-va)*this.view.scale),this.container.scrollTop+=Math.round((sa.y-Ua)*this.view.scale));return}}ba.apply(this,arguments)}else this.fireEvent(new mxEventObject(mxEvent.SIZE,"bounds",this.getGraphBounds()))}}}var ja=a.view.getBackgroundPane(),pa=a.view.getDrawPane();a.cumulativeZoomFactor=1;var P=null,W=null,V=null,ca=null,ra=null,oa=function(L){null!=P&&window.clearTimeout(P);0<=L&&window.setTimeout(function(){if(!a.isMouseDown||ca)P=window.setTimeout(mxUtils.bind(this,function(){a.isFastZoomEnabled()&&
-(null!=a.view.backgroundPageShape&&null!=a.view.backgroundPageShape.node&&(mxUtils.setPrefixedStyle(a.view.backgroundPageShape.node.style,"transform-origin",null),mxUtils.setPrefixedStyle(a.view.backgroundPageShape.node.style,"transform",null)),pa.style.transformOrigin="",ja.style.transformOrigin="",mxClient.IS_SF?(pa.style.transform="scale(1)",ja.style.transform="scale(1)",window.setTimeout(function(){pa.style.transform="";ja.style.transform=""},0)):(pa.style.transform="",ja.style.transform=""),
-a.view.getDecoratorPane().style.opacity="",a.view.getOverlayPane().style.opacity="");var ea=new mxPoint(a.container.scrollLeft,a.container.scrollTop),sa=mxUtils.getOffset(a.container),va=a.view.scale,Ua=0,ma=0;null!=W&&(Ua=a.container.offsetWidth/2-W.x+sa.x,ma=a.container.offsetHeight/2-W.y+sa.y);a.zoom(a.cumulativeZoomFactor,null,a.isFastZoomEnabled()?20:null);a.view.scale!=va&&(null!=V&&(Ua+=ea.x-V.x,ma+=ea.y-V.y),null!=b&&d.chromelessResize(!1,null,Ua*(a.cumulativeZoomFactor-1),ma*(a.cumulativeZoomFactor-
-1)),!mxUtils.hasScrollbars(a.container)||0==Ua&&0==ma||(a.container.scrollLeft-=Ua*(a.cumulativeZoomFactor-1),a.container.scrollTop-=ma*(a.cumulativeZoomFactor-1)));null!=ra&&pa.setAttribute("filter",ra);a.cumulativeZoomFactor=1;ra=ca=W=V=P=null}),null!=L?L:a.isFastZoomEnabled()?d.wheelZoomDelay:d.lazyZoomDelay)},0)};a.lazyZoom=function(L,ea,sa,va){va=null!=va?va:this.zoomFactor;(ea=ea||!a.scrollbars)&&(W=new mxPoint(a.container.offsetLeft+a.container.clientWidth/2,a.container.offsetTop+a.container.clientHeight/
-2));L?.15>=this.view.scale*this.cumulativeZoomFactor?this.cumulativeZoomFactor*=(this.view.scale+.05)/this.view.scale:(this.cumulativeZoomFactor*=va,this.cumulativeZoomFactor=Math.round(this.view.scale*this.cumulativeZoomFactor*100)/100/this.view.scale):.15>=this.view.scale*this.cumulativeZoomFactor?this.cumulativeZoomFactor*=(this.view.scale-.05)/this.view.scale:(this.cumulativeZoomFactor/=va,this.cumulativeZoomFactor=Math.round(this.view.scale*this.cumulativeZoomFactor*100)/100/this.view.scale);
-this.cumulativeZoomFactor=Math.max(.05,Math.min(this.view.scale*this.cumulativeZoomFactor,160))/this.view.scale;if(a.isFastZoomEnabled()){null==ra&&""!=pa.getAttribute("filter")&&(ra=pa.getAttribute("filter"),pa.removeAttribute("filter"));V=new mxPoint(a.container.scrollLeft,a.container.scrollTop);L=Math.round(Math.round(this.view.scale*this.cumulativeZoomFactor*100)/100*20)/(20*this.view.scale);va=ea||null==W?a.container.scrollLeft+a.container.clientWidth/2:W.x+a.container.scrollLeft-a.container.offsetLeft;
-var Ua=ea||null==W?a.container.scrollTop+a.container.clientHeight/2:W.y+a.container.scrollTop-a.container.offsetTop;pa.style.transformOrigin=va+"px "+Ua+"px";pa.style.transform="scale("+L+")";ja.style.transformOrigin=va+"px "+Ua+"px";ja.style.transform="scale("+L+")";null!=a.view.backgroundPageShape&&null!=a.view.backgroundPageShape.node?(va=a.view.backgroundPageShape.node,mxUtils.setPrefixedStyle(va.style,"transform-origin",(ea||null==W?a.container.clientWidth/2+a.container.scrollLeft-va.offsetLeft+
-"px":W.x+a.container.scrollLeft-va.offsetLeft-a.container.offsetLeft+"px")+" "+(ea||null==W?a.container.clientHeight/2+a.container.scrollTop-va.offsetTop+"px":W.y+a.container.scrollTop-va.offsetTop-a.container.offsetTop+"px")),mxUtils.setPrefixedStyle(va.style,"transform","scale("+L+")")):a.view.validateBackgroundStyles(L,va,Ua);a.view.getDecoratorPane().style.opacity="0";a.view.getOverlayPane().style.opacity="0";null!=d.hoverIcons&&d.hoverIcons.reset();a.fireEvent(new mxEventObject("zoomPreview",
-"factor",L))}oa(a.isFastZoomEnabled()?sa:0)};mxEvent.addGestureListeners(a.container,function(L){null!=P&&window.clearTimeout(P)},null,function(L){1!=a.cumulativeZoomFactor&&oa(0)});mxEvent.addListener(a.container,"scroll",function(L){null==P||a.isMouseDown||1==a.cumulativeZoomFactor||oa(0)});mxEvent.addMouseWheelListener(mxUtils.bind(this,function(L,ea,sa,va,Ua){a.fireEvent(new mxEventObject("wheel"));if(null==this.dialogs||0==this.dialogs.length)if(!a.scrollbars&&!sa&&a.isScrollWheelEvent(L))sa=
-a.view.getTranslate(),va=40/a.view.scale,mxEvent.isShiftDown(L)?a.view.setTranslate(sa.x+(ea?-va:va),sa.y):a.view.setTranslate(sa.x,sa.y+(ea?va:-va));else if(sa||a.isZoomWheelEvent(L))for(var ma=mxEvent.getSource(L);null!=ma;){if(ma==a.container)return a.tooltipHandler.hideTooltip(),W=null!=va&&null!=Ua?new mxPoint(va,Ua):new mxPoint(mxEvent.getClientX(L),mxEvent.getClientY(L)),ca=sa,sa=a.zoomFactor,va=null,L.ctrlKey&&null!=L.deltaY&&40>Math.abs(L.deltaY)&&Math.round(L.deltaY)!=L.deltaY?sa=1+Math.abs(L.deltaY)/
-20*(sa-1):null!=L.movementY&&"pointermove"==L.type&&(sa=1+Math.max(1,Math.abs(L.movementY))/20*(sa-1),va=-1),a.lazyZoom(ea,null,va,sa),mxEvent.consume(L),!1;ma=ma.parentNode}}),a.container);a.panningHandler.zoomGraph=function(L){a.cumulativeZoomFactor=L.scale;a.lazyZoom(0<L.scale,!0);mxEvent.consume(L)}};EditorUi.prototype.addChromelessToolbarItems=function(a){a(mxUtils.bind(this,function(b){this.actions.get("print").funct();mxEvent.consume(b)}),Editor.printImage,mxResources.get("print"))};
+ea.zIndex;document.body.appendChild(this.layersDialog);this.editor.fireEvent(new mxEventObject("layersDialogShown"))}mxEvent.consume(M)}),Editor.layersImage,mxResources.get("layers")),P=a.getModel();P.addListener(mxEvent.CHANGE,function(){G.style.display=1<P.getChildCount(P.root)?"":"none"})}("1"!=urlParams.openInSameWin||navigator.standalone)&&this.addChromelessToolbarItems(d);null==this.editor.editButtonLink&&null==this.editor.editButtonFunc||d(mxUtils.bind(this,function(M){null!=this.editor.editButtonFunc?
+this.editor.editButtonFunc():"_blank"==this.editor.editButtonLink?this.editor.editAsNew(this.getEditBlankXml()):a.openLink(this.editor.editButtonLink,"editWindow");mxEvent.consume(M)}),Editor.editImage,mxResources.get("edit"));if(null!=this.lightboxToolbarActions)for(z=0;z<this.lightboxToolbarActions.length;z++){var I=this.lightboxToolbarActions[z];I.elem=d(I.fn,I.icon,I.tooltip)}if(null!=h.refreshBtn){var Z=null==h.refreshBtn.url?null:Graph.sanitizeLink(h.refreshBtn.url);d(mxUtils.bind(this,function(M){null!=
+Z?window.location.href=Z:window.location.reload();mxEvent.consume(M)}),Editor.refreshImage,mxResources.get("refresh",null,"Refresh"))}null!=h.fullscreenBtn&&window.self!==window.top&&d(mxUtils.bind(this,function(M){h.fullscreenBtn.url?a.openLink(h.fullscreenBtn.url):a.openLink(window.location.href);mxEvent.consume(M)}),Editor.fullscreenImage,mxResources.get("openInNewWindow",null,"Open in New Window"));!h.noCloseBtn&&(h.closeBtn&&window.self===window.top||a.lightbox&&("1"==urlParams.close||this.container!=
+document.body))&&d(mxUtils.bind(this,function(M){"1"==urlParams.close||h.closeBtn?window.close():(this.destroy(),mxEvent.consume(M))}),Editor.closeImage,mxResources.get("close")+" (Escape)");this.chromelessToolbar.style.display="none";a.isViewer()||mxUtils.setPrefixedStyle(this.chromelessToolbar.style,"transform","translate(-50%,0)");a.container.appendChild(this.chromelessToolbar);mxEvent.addListener(a.container,mxClient.IS_POINTER?"pointermove":"mousemove",mxUtils.bind(this,function(M){mxEvent.isTouchEvent(M)||
+(mxEvent.isShiftDown(M)||K(30),H())}));mxEvent.addListener(this.chromelessToolbar,mxClient.IS_POINTER?"pointermove":"mousemove",function(M){mxEvent.consume(M)});mxEvent.addListener(this.chromelessToolbar,"mouseenter",mxUtils.bind(this,function(M){a.tooltipHandler.resetTimer();a.tooltipHandler.hideTooltip();mxEvent.isShiftDown(M)?H():K(100)}));mxEvent.addListener(this.chromelessToolbar,"mousemove",mxUtils.bind(this,function(M){mxEvent.isShiftDown(M)?H():K(100);mxEvent.consume(M)}));mxEvent.addListener(this.chromelessToolbar,
+"mouseleave",mxUtils.bind(this,function(M){mxEvent.isTouchEvent(M)||K(30)}));var S=a.getTolerance();a.addMouseListener({startX:0,startY:0,scrollLeft:0,scrollTop:0,mouseDown:function(M,ea){this.startX=ea.getGraphX();this.startY=ea.getGraphY();this.scrollLeft=a.container.scrollLeft;this.scrollTop=a.container.scrollTop},mouseMove:function(M,ea){},mouseUp:function(M,ea){mxEvent.isTouchEvent(ea.getEvent())&&Math.abs(this.scrollLeft-a.container.scrollLeft)<S&&Math.abs(this.scrollTop-a.container.scrollTop)<
+S&&Math.abs(this.startX-ea.getGraphX())<S&&Math.abs(this.startY-ea.getGraphY())<S&&(0<parseFloat(e.chromelessToolbar.style.opacity||0)?H():K(30))}})}this.editor.editable||this.addChromelessClickHandler()}else if(this.editor.extendCanvas){var Y=a.view.validate,V=new mxPoint,L=!1,U=null;a.view.validate=function(){if(null!=a.container&&mxUtils.hasScrollbars(a.container)){if(null!=e.currentPage&&U!=e.currentPage){U=e.currentPage;L=!0;var M=a.getBoundingBoxFromGeometry(a.model.getCells(),!0,null,!0);null==
+M&&(M=new mxRectangle(a.view.translate.x*a.view.scale,a.view.translate.y*a.view.scale));M=a.getPageLayout(M,V,1);var ea=a.getDefaultTranslate(M);this.x0=M.x;this.y0=M.y;if(ea.x!=this.translate.x||ea.y!=this.translate.y)this.invalidate(),this.translate.x=ea.x,this.translate.y=ea.y}ea=a.getPagePadding();var ra=a.getPageSize();M=ea.x-(this.x0||0)*ra.width;ea=ea.y-(this.y0||0)*ra.height;if(this.translate.x!=M||this.translate.y!=ea)this.invalidate(),this.translate.x=M,this.translate.y=ea}Y.apply(this,
+arguments)};if(!a.isViewer()){var ba=a.sizeDidChange;a.sizeDidChange=function(){var M=L;L=!1;if(null!=this.container&&mxUtils.hasScrollbars(this.container)){this.updateMinimumSize();if(!this.autoTranslate){var ea=this.getPageLayout(),ra=this.getDefaultTranslate(ea),ta=this.view.translate.x,Sa=this.view.translate.y;if(ra.x!=ta||ra.y!=Sa){this.view.x0=ea.x;this.view.y0=ea.y;this.autoTranslate=!0;this.view.setTranslate(ra.x,ra.y);this.autoTranslate=!1;M||(this.container.scrollLeft+=Math.round((ra.x-
+ta)*this.view.scale),this.container.scrollTop+=Math.round((ra.y-Sa)*this.view.scale));return}}ba.apply(this,arguments)}else this.fireEvent(new mxEventObject(mxEvent.SIZE,"bounds",this.getGraphBounds()))}}}var ja=a.view.getBackgroundPane(),sa=a.view.getDrawPane();a.cumulativeZoomFactor=1;var O=null,T=null,X=null,ca=null,na=null,pa=function(M){null!=O&&window.clearTimeout(O);0<=M&&window.setTimeout(function(){if(!a.isMouseDown||ca)O=window.setTimeout(mxUtils.bind(this,function(){a.isFastZoomEnabled()&&
+(null!=a.view.backgroundPageShape&&null!=a.view.backgroundPageShape.node&&(mxUtils.setPrefixedStyle(a.view.backgroundPageShape.node.style,"transform-origin",null),mxUtils.setPrefixedStyle(a.view.backgroundPageShape.node.style,"transform",null)),sa.style.transformOrigin="",ja.style.transformOrigin="",mxClient.IS_SF?(sa.style.transform="scale(1)",ja.style.transform="scale(1)",window.setTimeout(function(){sa.style.transform="";ja.style.transform=""},0)):(sa.style.transform="",ja.style.transform=""),
+a.view.getDecoratorPane().style.opacity="",a.view.getOverlayPane().style.opacity="");var ea=new mxPoint(a.container.scrollLeft,a.container.scrollTop),ra=mxUtils.getOffset(a.container),ta=a.view.scale,Sa=0,ma=0;null!=T&&(Sa=a.container.offsetWidth/2-T.x+ra.x,ma=a.container.offsetHeight/2-T.y+ra.y);a.zoom(a.cumulativeZoomFactor,null,a.isFastZoomEnabled()?20:null);a.view.scale!=ta&&(null!=X&&(Sa+=ea.x-X.x,ma+=ea.y-X.y),null!=b&&e.chromelessResize(!1,null,Sa*(a.cumulativeZoomFactor-1),ma*(a.cumulativeZoomFactor-
+1)),!mxUtils.hasScrollbars(a.container)||0==Sa&&0==ma||(a.container.scrollLeft-=Sa*(a.cumulativeZoomFactor-1),a.container.scrollTop-=ma*(a.cumulativeZoomFactor-1)));null!=na&&sa.setAttribute("filter",na);a.cumulativeZoomFactor=1;na=ca=T=X=O=null}),null!=M?M:a.isFastZoomEnabled()?e.wheelZoomDelay:e.lazyZoomDelay)},0)};a.lazyZoom=function(M,ea,ra,ta){ta=null!=ta?ta:this.zoomFactor;(ea=ea||!a.scrollbars)&&(T=new mxPoint(a.container.offsetLeft+a.container.clientWidth/2,a.container.offsetTop+a.container.clientHeight/
+2));M?.15>=this.view.scale*this.cumulativeZoomFactor?this.cumulativeZoomFactor*=(this.view.scale+.05)/this.view.scale:(this.cumulativeZoomFactor*=ta,this.cumulativeZoomFactor=Math.round(this.view.scale*this.cumulativeZoomFactor*100)/100/this.view.scale):.15>=this.view.scale*this.cumulativeZoomFactor?this.cumulativeZoomFactor*=(this.view.scale-.05)/this.view.scale:(this.cumulativeZoomFactor/=ta,this.cumulativeZoomFactor=Math.round(this.view.scale*this.cumulativeZoomFactor*100)/100/this.view.scale);
+this.cumulativeZoomFactor=Math.max(.05,Math.min(this.view.scale*this.cumulativeZoomFactor,160))/this.view.scale;if(a.isFastZoomEnabled()){null==na&&""!=sa.getAttribute("filter")&&(na=sa.getAttribute("filter"),sa.removeAttribute("filter"));X=new mxPoint(a.container.scrollLeft,a.container.scrollTop);M=Math.round(Math.round(this.view.scale*this.cumulativeZoomFactor*100)/100*20)/(20*this.view.scale);ta=ea||null==T?a.container.scrollLeft+a.container.clientWidth/2:T.x+a.container.scrollLeft-a.container.offsetLeft;
+var Sa=ea||null==T?a.container.scrollTop+a.container.clientHeight/2:T.y+a.container.scrollTop-a.container.offsetTop;sa.style.transformOrigin=ta+"px "+Sa+"px";sa.style.transform="scale("+M+")";ja.style.transformOrigin=ta+"px "+Sa+"px";ja.style.transform="scale("+M+")";null!=a.view.backgroundPageShape&&null!=a.view.backgroundPageShape.node?(ta=a.view.backgroundPageShape.node,mxUtils.setPrefixedStyle(ta.style,"transform-origin",(ea||null==T?a.container.clientWidth/2+a.container.scrollLeft-ta.offsetLeft+
+"px":T.x+a.container.scrollLeft-ta.offsetLeft-a.container.offsetLeft+"px")+" "+(ea||null==T?a.container.clientHeight/2+a.container.scrollTop-ta.offsetTop+"px":T.y+a.container.scrollTop-ta.offsetTop-a.container.offsetTop+"px")),mxUtils.setPrefixedStyle(ta.style,"transform","scale("+M+")")):a.view.validateBackgroundStyles(M,ta,Sa);a.view.getDecoratorPane().style.opacity="0";a.view.getOverlayPane().style.opacity="0";null!=e.hoverIcons&&e.hoverIcons.reset();a.fireEvent(new mxEventObject("zoomPreview",
+"factor",M))}pa(a.isFastZoomEnabled()?ra:0)};mxEvent.addGestureListeners(a.container,function(M){null!=O&&window.clearTimeout(O)},null,function(M){1!=a.cumulativeZoomFactor&&pa(0)});mxEvent.addListener(a.container,"scroll",function(M){null==O||a.isMouseDown||1==a.cumulativeZoomFactor||pa(0)});mxEvent.addMouseWheelListener(mxUtils.bind(this,function(M,ea,ra,ta,Sa){a.fireEvent(new mxEventObject("wheel"));if(null==this.dialogs||0==this.dialogs.length)if(!a.scrollbars&&!ra&&a.isScrollWheelEvent(M))ra=
+a.view.getTranslate(),ta=40/a.view.scale,mxEvent.isShiftDown(M)?a.view.setTranslate(ra.x+(ea?-ta:ta),ra.y):a.view.setTranslate(ra.x,ra.y+(ea?ta:-ta));else if(ra||a.isZoomWheelEvent(M))for(var ma=mxEvent.getSource(M);null!=ma;){if(ma==a.container)return a.tooltipHandler.hideTooltip(),T=null!=ta&&null!=Sa?new mxPoint(ta,Sa):new mxPoint(mxEvent.getClientX(M),mxEvent.getClientY(M)),ca=ra,ra=a.zoomFactor,ta=null,M.ctrlKey&&null!=M.deltaY&&40>Math.abs(M.deltaY)&&Math.round(M.deltaY)!=M.deltaY?ra=1+Math.abs(M.deltaY)/
+20*(ra-1):null!=M.movementY&&"pointermove"==M.type&&(ra=1+Math.max(1,Math.abs(M.movementY))/20*(ra-1),ta=-1),a.lazyZoom(ea,null,ta,ra),mxEvent.consume(M),!1;ma=ma.parentNode}}),a.container);a.panningHandler.zoomGraph=function(M){a.cumulativeZoomFactor=M.scale;a.lazyZoom(0<M.scale,!0);mxEvent.consume(M)}};EditorUi.prototype.addChromelessToolbarItems=function(a){a(mxUtils.bind(this,function(b){this.actions.get("print").funct();mxEvent.consume(b)}),Editor.printImage,mxResources.get("print"))};
EditorUi.prototype.isPagesEnabled=function(){return this.editor.editable||"1"!=urlParams["hide-pages"]};EditorUi.prototype.createTemporaryGraph=function(a){return Graph.createOffscreenGraph(a)};EditorUi.prototype.addChromelessClickHandler=function(){var a=urlParams.highlight;null!=a&&0<a.length&&(a="#"+a);this.editor.graph.addClickHandler(a)};
EditorUi.prototype.toggleFormatPanel=function(a){a=null!=a?a:0==this.formatWidth;null!=this.format&&(this.formatWidth=a?240:0,this.formatContainer.style.width=this.formatWidth+"px",this.refresh(),this.format.refresh(),this.fireEvent(new mxEventObject("formatWidthChanged")))};EditorUi.prototype.isFormatPanelVisible=function(){return 0<this.formatWidth};
-EditorUi.prototype.lightboxFit=function(a){if(this.isDiagramEmpty())this.editor.graph.view.setScale(1);else{var b=urlParams.border,d=60;null!=b&&(d=parseInt(b));this.editor.graph.maxFitScale=this.lightboxMaxFitScale;this.editor.graph.fit(d,null,null,null,null,null,a);this.editor.graph.maxFitScale=null}};EditorUi.prototype.isDiagramEmpty=function(){var a=this.editor.graph.getModel();return 1==a.getChildCount(a.root)&&0==a.getChildCount(a.getChildAt(a.root,0))};
+EditorUi.prototype.lightboxFit=function(a){if(this.isDiagramEmpty())this.editor.graph.view.setScale(1);else{var b=urlParams.border,e=60;null!=b&&(e=parseInt(b));this.editor.graph.maxFitScale=this.lightboxMaxFitScale;this.editor.graph.fit(e,null,null,null,null,null,a);this.editor.graph.maxFitScale=null}};EditorUi.prototype.isDiagramEmpty=function(){var a=this.editor.graph.getModel();return 1==a.getChildCount(a.root)&&0==a.getChildCount(a.getChildAt(a.root,0))};
EditorUi.prototype.isSelectionAllowed=function(a){return"SELECT"==mxEvent.getSource(a).nodeName||"INPUT"==mxEvent.getSource(a).nodeName&&mxUtils.isAncestorNode(this.formatContainer,mxEvent.getSource(a))};EditorUi.prototype.addBeforeUnloadListener=function(){window.onbeforeunload=mxUtils.bind(this,function(){if(!this.editor.isChromelessView())return this.onBeforeUnload()})};EditorUi.prototype.onBeforeUnload=function(){if(this.editor.modified)return mxResources.get("allChangesLost")};
-EditorUi.prototype.open=function(){try{null!=window.opener&&null!=window.opener.openFile&&window.opener.openFile.setConsumer(mxUtils.bind(this,function(a,b){try{var d=mxUtils.parseXml(a);this.editor.setGraphXml(d.documentElement);this.editor.setModified(!1);this.editor.undoManager.clear();null!=b&&(this.editor.setFilename(b),this.updateDocumentTitle())}catch(e){mxUtils.alert(mxResources.get("invalidOrMissingFile")+": "+e.message)}}))}catch(a){}this.editor.graph.view.validate();this.editor.graph.sizeDidChange();
+EditorUi.prototype.open=function(){try{null!=window.opener&&null!=window.opener.openFile&&window.opener.openFile.setConsumer(mxUtils.bind(this,function(a,b){try{var e=mxUtils.parseXml(a);this.editor.setGraphXml(e.documentElement);this.editor.setModified(!1);this.editor.undoManager.clear();null!=b&&(this.editor.setFilename(b),this.updateDocumentTitle())}catch(f){mxUtils.alert(mxResources.get("invalidOrMissingFile")+": "+f.message)}}))}catch(a){}this.editor.graph.view.validate();this.editor.graph.sizeDidChange();
this.editor.fireEvent(new mxEventObject("resetGraphView"))};EditorUi.prototype.showPrintDialog=function(a,b){this.showDialog((new PrintDialog(this,a,b)).container,300,180,!0,!0)};
-EditorUi.prototype.showPopupMenu=function(a,b,d,e){this.editor.graph.popupMenuHandler.hideMenu();var g=new mxPopupMenu(a);g.div.className+=" geMenubarMenu";g.smartSeparators=!0;g.showDisabled=!0;g.autoExpand=!0;g.hideMenu=mxUtils.bind(this,function(){mxPopupMenu.prototype.hideMenu.apply(g,arguments);g.destroy()});g.popup(b,d,null,e);this.setCurrentMenu(g)};EditorUi.prototype.setCurrentMenu=function(a,b){this.currentMenuElt=b;this.currentMenu=a;this.hideShapePicker()};
+EditorUi.prototype.showPopupMenu=function(a,b,e,f){this.editor.graph.popupMenuHandler.hideMenu();var h=new mxPopupMenu(a);h.div.className+=" geMenubarMenu";h.smartSeparators=!0;h.showDisabled=!0;h.autoExpand=!0;h.hideMenu=mxUtils.bind(this,function(){mxPopupMenu.prototype.hideMenu.apply(h,arguments);h.destroy()});h.popup(b,e,null,f);this.setCurrentMenu(h)};EditorUi.prototype.setCurrentMenu=function(a,b){this.currentMenuElt=b;this.currentMenu=a;this.hideShapePicker()};
EditorUi.prototype.resetCurrentMenu=function(){this.currentMenu=this.currentMenuElt=null};EditorUi.prototype.hideCurrentMenu=function(){null!=this.currentMenu&&(this.currentMenu.hideMenu(),this.resetCurrentMenu())};EditorUi.prototype.updateDocumentTitle=function(){var a=this.editor.getOrCreateFilename();null!=this.editor.appName&&(a+=" - "+this.editor.appName);document.title=a};EditorUi.prototype.createHoverIcons=function(){return new HoverIcons(this.editor.graph)};
-EditorUi.prototype.redo=function(){try{this.editor.graph.isEditing()?document.execCommand("redo",!1,null):this.editor.undoManager.redo()}catch(a){}};EditorUi.prototype.undo=function(){try{var a=this.editor.graph;if(a.isEditing()){var b=a.cellEditor.textarea.innerHTML;document.execCommand("undo",!1,null);b==a.cellEditor.textarea.innerHTML&&(a.stopEditing(!0),this.editor.undoManager.undo())}else this.editor.undoManager.undo()}catch(d){}};
+EditorUi.prototype.redo=function(){try{this.editor.graph.isEditing()?document.execCommand("redo",!1,null):this.editor.undoManager.redo()}catch(a){}};EditorUi.prototype.undo=function(){try{var a=this.editor.graph;if(a.isEditing()){var b=a.cellEditor.textarea.innerHTML;document.execCommand("undo",!1,null);b==a.cellEditor.textarea.innerHTML&&(a.stopEditing(!0),this.editor.undoManager.undo())}else this.editor.undoManager.undo()}catch(e){}};
EditorUi.prototype.canRedo=function(){return this.editor.graph.isEditing()||this.editor.undoManager.canRedo()};EditorUi.prototype.canUndo=function(){return this.editor.graph.isEditing()||this.editor.undoManager.canUndo()};EditorUi.prototype.getDiagramSnapshot=function(){return{node:this.editor.getGraphXml()}};EditorUi.prototype.updateDiagramData=function(a,b){this.replaceDiagramData(xUtils.getXml(b))};EditorUi.prototype.replaceDiagramData=function(a){this.editor.graph.model.beginUpdate();try{this.editor.setGraphXml(mxUtils.parseXml(a).documentElement)}finally{this.editor.graph.model.endUpdate()}};
-EditorUi.prototype.getEditBlankXml=function(){return mxUtils.getXml(this.editor.getGraphXml())};EditorUi.prototype.getUrl=function(a){a=null!=a?a:window.location.pathname;var b=0<a.indexOf("?")?1:0,d;for(d in urlParams)a=0==b?a+"?":a+"&",a+=d+"="+urlParams[d],b++;return a};
-EditorUi.prototype.setScrollbars=function(a){var b=this.editor.graph,d=b.container.style.overflow;b.scrollbars=a;this.editor.updateGraphComponents();d!=b.container.style.overflow&&(b.container.scrollTop=0,b.container.scrollLeft=0,b.view.scaleAndTranslate(1,0,0),this.resetScrollbars());this.fireEvent(new mxEventObject("scrollbarsChanged"))};
-EditorUi.prototype.fitDiagramToWindow=function(){var a=this.editor.graph,b=a.isSelectionEmpty()?mxRectangle.fromRectangle(a.getGraphBounds()):a.getBoundingBox(a.getSelectionCells()),d=a.view.translate,e=a.view.scale;b.x=b.x/e-d.x;b.y=b.y/e-d.y;b.width/=e;b.height/=e;null!=a.backgroundImage&&b.add(new mxRectangle(0,0,a.backgroundImage.width,a.backgroundImage.height));0==b.width||0==b.height?(a.zoomTo(1),this.resetScrollbars()):(d=Editor.fitWindowBorders,null!=d&&(b.x-=d.x,b.y-=d.y,b.width+=d.width+
-d.x,b.height+=d.height+d.y),a.fitWindow(b))};EditorUi.prototype.hasScrollbars=function(){return this.editor.graph.scrollbars};
-EditorUi.prototype.resetScrollbars=function(){var a=this.editor.graph,b=a.container;if(!this.editor.extendCanvas)b.scrollTop=0,b.scrollLeft=0,mxUtils.hasScrollbars(b)||a.view.setTranslate(0,0);else if(!this.editor.isChromelessView())if(mxUtils.hasScrollbars(b))if(a.pageVisible){var d=a.getPagePadding();b.scrollTop=Math.floor(d.y-this.editor.initialTopSpacing)-1;b.scrollLeft=Math.floor(Math.min(d.x,(b.scrollWidth-b.clientWidth)/2))-1;d=a.getGraphBounds();0<d.width&&0<d.height&&(d.x>b.scrollLeft+.9*
-b.clientWidth&&(b.scrollLeft=Math.min(d.x+d.width-b.clientWidth,d.x-10)),d.y>b.scrollTop+.9*b.clientHeight&&(b.scrollTop=Math.min(d.y+d.height-b.clientHeight,d.y-10)))}else if(d=a.getGraphBounds(),0==d.width&&0==d.height)b.scrollLeft=(b.scrollWidth-b.clientWidth)/2,b.scrollTop=(b.scrollHeight-b.clientHeight)/2;else{var e=Math.max(d.height,a.scrollTileSize.height*a.view.scale);b.scrollLeft=Math.floor(Math.max(0,d.x-Math.max(0,(b.clientWidth-Math.max(d.width,a.scrollTileSize.width*a.view.scale))/2)));
-b.scrollTop=Math.floor(Math.max(0,d.y-Math.max(20,(b.clientHeight-e)/4)))}else{d=mxRectangle.fromRectangle(a.pageVisible?a.view.getBackgroundPageBounds():a.getGraphBounds());e=a.view.translate;var g=a.view.scale;d.x=d.x/g-e.x;d.y=d.y/g-e.y;d.width/=g;d.height/=g;a.view.setTranslate(Math.floor(Math.max(0,(b.clientWidth-d.width)/2)-d.x+2),Math.floor((a.pageVisible?0:Math.max(0,(b.clientHeight-d.height)/4))-d.y+1))}};
-EditorUi.prototype.setPageVisible=function(a){var b=this.editor.graph,d=mxUtils.hasScrollbars(b.container),e=0,g=0;d&&(e=b.view.translate.x*b.view.scale-b.container.scrollLeft,g=b.view.translate.y*b.view.scale-b.container.scrollTop);b.pageVisible=a;b.pageBreaksVisible=a;b.preferPageSize=a;b.view.validateBackground();if(d){var f=b.getSelectionCells();b.clearSelection();b.setSelectionCells(f)}b.sizeDidChange();d&&(b.container.scrollLeft=b.view.translate.x*b.view.scale-e,b.container.scrollTop=b.view.translate.y*
-b.view.scale-g);b.defaultPageVisible=a;this.fireEvent(new mxEventObject("pageViewChanged"))};
-EditorUi.prototype.installResizeHandler=function(a,b,d){b&&(a.window.setSize=function(g,f){if(!this.minimized){var h=window.innerHeight||document.body.clientHeight||document.documentElement.clientHeight;g=Math.min(g,(window.innerWidth||document.body.clientWidth||document.documentElement.clientWidth)-this.getX());f=Math.min(f,h-this.getY())}mxWindow.prototype.setSize.apply(this,arguments)});a.window.setLocation=function(g,f){var h=window.innerWidth||document.body.clientWidth||document.documentElement.clientWidth,
-n=window.innerHeight||document.body.clientHeight||document.documentElement.clientHeight,q=parseInt(this.div.style.width),l=parseInt(this.div.style.height);g=Math.max(0,Math.min(g,h-q));f=Math.max(0,Math.min(f,n-l));this.getX()==g&&this.getY()==f||mxWindow.prototype.setLocation.apply(this,arguments);b&&!this.minimized&&this.setSize(q,l)};var e=mxUtils.bind(this,function(){var g=a.window.getX(),f=a.window.getY();a.window.setLocation(g,f)});mxEvent.addListener(window,"resize",e);a.destroy=function(){mxEvent.removeListener(window,
-"resize",e);a.window.destroy();null!=d&&d()}};function ChangeGridColor(a,b){this.ui=a;this.color=b}ChangeGridColor.prototype.execute=function(){var a=this.ui.editor.graph.view.gridColor;this.ui.setGridColor(this.color);this.color=a};(function(){var a=new mxObjectCodec(new ChangeGridColor,["ui"]);mxCodecRegistry.register(a)})();
-function ChangePageSetup(a,b,d,e,g){this.ui=a;this.previousColor=this.color=b;this.previousImage=this.image=d;this.previousFormat=this.format=e;this.previousPageScale=this.pageScale=g;this.ignoreImage=this.ignoreColor=!1}
-ChangePageSetup.prototype.execute=function(){var a=this.ui.editor.graph;if(!this.ignoreColor){this.color=this.previousColor;var b=a.background;this.ui.setBackgroundColor(this.previousColor);this.previousColor=b}if(!this.ignoreImage){this.image=this.previousImage;b=a.backgroundImage;var d=this.previousImage;null!=d&&Graph.isPageLink(d.src)&&(d=this.ui.createImageForPageLink(d.src,this.ui.currentPage));this.ui.setBackgroundImage(d);this.previousImage=b}null!=this.previousFormat&&(this.format=this.previousFormat,
+EditorUi.prototype.getEditBlankXml=function(){return mxUtils.getXml(this.editor.getGraphXml())};EditorUi.prototype.getUrl=function(a){a=null!=a?a:window.location.pathname;var b=0<a.indexOf("?")?1:0,e;for(e in urlParams)a=0==b?a+"?":a+"&",a+=e+"="+urlParams[e],b++;return a};
+EditorUi.prototype.setScrollbars=function(a){var b=this.editor.graph,e=b.container.style.overflow;b.scrollbars=a;this.editor.updateGraphComponents();e!=b.container.style.overflow&&(b.container.scrollTop=0,b.container.scrollLeft=0,b.view.scaleAndTranslate(1,0,0),this.resetScrollbars());this.fireEvent(new mxEventObject("scrollbarsChanged"))};
+EditorUi.prototype.fitDiagramToWindow=function(){var a=this.editor.graph,b=a.isSelectionEmpty()?mxRectangle.fromRectangle(a.getGraphBounds()):a.getBoundingBox(a.getSelectionCells()),e=a.view.translate,f=a.view.scale;b.x=b.x/f-e.x;b.y=b.y/f-e.y;b.width/=f;b.height/=f;null!=a.backgroundImage&&b.add(new mxRectangle(0,0,a.backgroundImage.width,a.backgroundImage.height));0==b.width||0==b.height?(a.zoomTo(1),this.resetScrollbars()):(e=Editor.fitWindowBorders,null!=e&&(b.x-=e.x,b.y-=e.y,b.width+=e.width+
+e.x,b.height+=e.height+e.y),a.fitWindow(b))};EditorUi.prototype.hasScrollbars=function(){return this.editor.graph.scrollbars};
+EditorUi.prototype.resetScrollbars=function(){var a=this.editor.graph,b=a.container;if(!this.editor.extendCanvas)b.scrollTop=0,b.scrollLeft=0,mxUtils.hasScrollbars(b)||a.view.setTranslate(0,0);else if(!this.editor.isChromelessView())if(mxUtils.hasScrollbars(b))if(a.pageVisible){var e=a.getPagePadding();b.scrollTop=Math.floor(e.y-this.editor.initialTopSpacing)-1;b.scrollLeft=Math.floor(Math.min(e.x,(b.scrollWidth-b.clientWidth)/2))-1;e=a.getGraphBounds();0<e.width&&0<e.height&&(e.x>b.scrollLeft+.9*
+b.clientWidth&&(b.scrollLeft=Math.min(e.x+e.width-b.clientWidth,e.x-10)),e.y>b.scrollTop+.9*b.clientHeight&&(b.scrollTop=Math.min(e.y+e.height-b.clientHeight,e.y-10)))}else if(e=a.getGraphBounds(),0==e.width&&0==e.height)b.scrollLeft=(b.scrollWidth-b.clientWidth)/2,b.scrollTop=(b.scrollHeight-b.clientHeight)/2;else{var f=Math.max(e.height,a.scrollTileSize.height*a.view.scale);b.scrollLeft=Math.floor(Math.max(0,e.x-Math.max(0,(b.clientWidth-Math.max(e.width,a.scrollTileSize.width*a.view.scale))/2)));
+b.scrollTop=Math.floor(Math.max(0,e.y-Math.max(20,(b.clientHeight-f)/4)))}else{e=mxRectangle.fromRectangle(a.pageVisible?a.view.getBackgroundPageBounds():a.getGraphBounds());f=a.view.translate;var h=a.view.scale;e.x=e.x/h-f.x;e.y=e.y/h-f.y;e.width/=h;e.height/=h;a.view.setTranslate(Math.floor(Math.max(0,(b.clientWidth-e.width)/2)-e.x+2),Math.floor((a.pageVisible?0:Math.max(0,(b.clientHeight-e.height)/4))-e.y+1))}};
+EditorUi.prototype.setPageVisible=function(a){var b=this.editor.graph,e=mxUtils.hasScrollbars(b.container),f=0,h=0;e&&(f=b.view.translate.x*b.view.scale-b.container.scrollLeft,h=b.view.translate.y*b.view.scale-b.container.scrollTop);b.pageVisible=a;b.pageBreaksVisible=a;b.preferPageSize=a;b.view.validateBackground();if(e){var d=b.getSelectionCells();b.clearSelection();b.setSelectionCells(d)}b.sizeDidChange();e&&(b.container.scrollLeft=b.view.translate.x*b.view.scale-f,b.container.scrollTop=b.view.translate.y*
+b.view.scale-h);b.defaultPageVisible=a;this.fireEvent(new mxEventObject("pageViewChanged"))};
+EditorUi.prototype.installResizeHandler=function(a,b,e){b&&(a.window.setSize=function(h,d){if(!this.minimized){var g=window.innerHeight||document.body.clientHeight||document.documentElement.clientHeight;h=Math.min(h,(window.innerWidth||document.body.clientWidth||document.documentElement.clientWidth)-this.getX());d=Math.min(d,g-this.getY())}mxWindow.prototype.setSize.apply(this,arguments)});a.window.setLocation=function(h,d){var g=window.innerWidth||document.body.clientWidth||document.documentElement.clientWidth,
+n=window.innerHeight||document.body.clientHeight||document.documentElement.clientHeight,q=parseInt(this.div.style.width),k=parseInt(this.div.style.height);h=Math.max(0,Math.min(h,g-q));d=Math.max(0,Math.min(d,n-k));this.getX()==h&&this.getY()==d||mxWindow.prototype.setLocation.apply(this,arguments);b&&!this.minimized&&this.setSize(q,k)};var f=mxUtils.bind(this,function(){var h=a.window.getX(),d=a.window.getY();a.window.setLocation(h,d)});mxEvent.addListener(window,"resize",f);a.destroy=function(){mxEvent.removeListener(window,
+"resize",f);a.window.destroy();null!=e&&e()}};function ChangeGridColor(a,b){this.ui=a;this.color=b}ChangeGridColor.prototype.execute=function(){var a=this.ui.editor.graph.view.gridColor;this.ui.setGridColor(this.color);this.color=a};(function(){var a=new mxObjectCodec(new ChangeGridColor,["ui"]);mxCodecRegistry.register(a)})();
+function ChangePageSetup(a,b,e,f,h){this.ui=a;this.previousColor=this.color=b;this.previousImage=this.image=e;this.previousFormat=this.format=f;this.previousPageScale=this.pageScale=h;this.ignoreImage=this.ignoreColor=!1}
+ChangePageSetup.prototype.execute=function(){var a=this.ui.editor.graph;if(!this.ignoreColor){this.color=this.previousColor;var b=a.background;this.ui.setBackgroundColor(this.previousColor);this.previousColor=b}if(!this.ignoreImage){this.image=this.previousImage;b=a.backgroundImage;var e=this.previousImage;null!=e&&Graph.isPageLink(e.src)&&(e=this.ui.createImageForPageLink(e.src,this.ui.currentPage));this.ui.setBackgroundImage(e);this.previousImage=b}null!=this.previousFormat&&(this.format=this.previousFormat,
b=a.pageFormat,this.previousFormat.width!=b.width||this.previousFormat.height!=b.height)&&(this.ui.setPageFormat(this.previousFormat),this.previousFormat=b);null!=this.foldingEnabled&&this.foldingEnabled!=this.ui.editor.graph.foldingEnabled&&(this.ui.setFoldingEnabled(this.foldingEnabled),this.foldingEnabled=!this.foldingEnabled);null!=this.previousPageScale&&(a=this.ui.editor.graph.pageScale,this.previousPageScale!=a&&(this.ui.setPageScale(this.previousPageScale),this.previousPageScale=a))};
-(function(){var a=new mxObjectCodec(new ChangePageSetup,["ui","previousColor","previousImage","previousFormat","previousPageScale"]);a.afterDecode=function(b,d,e){e.previousColor=e.color;e.previousImage=e.image;e.previousFormat=e.format;e.previousPageScale=e.pageScale;null!=e.foldingEnabled&&(e.foldingEnabled=!e.foldingEnabled);return e};mxCodecRegistry.register(a)})();EditorUi.prototype.setBackgroundColor=function(a){this.editor.graph.background=a;this.editor.graph.view.validateBackground();this.fireEvent(new mxEventObject("backgroundColorChanged"))};
+(function(){var a=new mxObjectCodec(new ChangePageSetup,["ui","previousColor","previousImage","previousFormat","previousPageScale"]);a.afterDecode=function(b,e,f){f.previousColor=f.color;f.previousImage=f.image;f.previousFormat=f.format;f.previousPageScale=f.pageScale;null!=f.foldingEnabled&&(f.foldingEnabled=!f.foldingEnabled);return f};mxCodecRegistry.register(a)})();EditorUi.prototype.setBackgroundColor=function(a){this.editor.graph.background=a;this.editor.graph.view.validateBackground();this.fireEvent(new mxEventObject("backgroundColorChanged"))};
EditorUi.prototype.setFoldingEnabled=function(a){this.editor.graph.foldingEnabled=a;this.editor.graph.view.revalidate();this.fireEvent(new mxEventObject("foldingEnabledChanged"))};EditorUi.prototype.setPageFormat=function(a,b){b=null!=b?b:"1"==urlParams.sketch;this.editor.graph.pageFormat=a;b||(this.editor.graph.pageVisible?(this.editor.graph.view.validateBackground(),this.editor.graph.sizeDidChange()):this.actions.get("pageView").funct());this.fireEvent(new mxEventObject("pageFormatChanged"))};
EditorUi.prototype.setPageScale=function(a){this.editor.graph.pageScale=a;this.editor.graph.pageVisible?(this.editor.graph.view.validateBackground(),this.editor.graph.sizeDidChange()):this.actions.get("pageView").funct();this.fireEvent(new mxEventObject("pageScaleChanged"))};EditorUi.prototype.setGridColor=function(a){this.editor.graph.view.gridColor=a;this.editor.graph.view.validateBackground();this.fireEvent(new mxEventObject("gridColorChanged"))};
-EditorUi.prototype.addUndoListener=function(){var a=this.editor.undoManager,b=mxUtils.bind(this,function(){this.updateActionStates()});a.addListener(mxEvent.ADD,b);a.addListener(mxEvent.UNDO,b);a.addListener(mxEvent.REDO,b);a.addListener(mxEvent.CLEAR,b);var d=this.editor.graph.cellEditor.startEditing;this.editor.graph.cellEditor.startEditing=function(){d.apply(this,arguments);b()};var e=this.editor.graph.cellEditor.stopEditing;this.editor.graph.cellEditor.stopEditing=function(g,f){e.apply(this,arguments);
+EditorUi.prototype.addUndoListener=function(){var a=this.editor.undoManager,b=mxUtils.bind(this,function(){this.updateActionStates()});a.addListener(mxEvent.ADD,b);a.addListener(mxEvent.UNDO,b);a.addListener(mxEvent.REDO,b);a.addListener(mxEvent.CLEAR,b);var e=this.editor.graph.cellEditor.startEditing;this.editor.graph.cellEditor.startEditing=function(){e.apply(this,arguments);b()};var f=this.editor.graph.cellEditor.stopEditing;this.editor.graph.cellEditor.stopEditing=function(h,d){f.apply(this,arguments);
b()};b()};
-EditorUi.prototype.updateActionStates=function(){for(var a=this.editor.graph,b=this.getSelectionState(),d=a.isEnabled()&&!a.isCellLocked(a.getDefaultParent()),e=!this.editor.chromeless||this.editor.editable,g="cut copy bold italic underline delete duplicate editStyle editTooltip editLink backgroundColor borderColor edit toFront toBack solid dashed pasteSize dotted fillColor gradientColor shadow fontColor formattedText rounded toggleRounded strokeColor sharp snapToGrid".split(" "),f=0;f<g.length;f++)this.actions.get(g[f]).setEnabled(0<
-b.cells.length);this.actions.get("grid").setEnabled(e);this.actions.get("undo").setEnabled(this.canUndo()&&e);this.actions.get("redo").setEnabled(this.canRedo()&&e);this.actions.get("swap").setEnabled(2==b.cells.length&&2==b.vertices.length);this.actions.get("pasteSize").setEnabled(null!=this.copiedSize&&0<b.vertices.length);this.actions.get("pasteData").setEnabled(null!=this.copiedValue&&0<b.cells.length);this.actions.get("setAsDefaultStyle").setEnabled(1==a.getSelectionCount());this.actions.get("lockUnlock").setEnabled(!a.isSelectionEmpty());
+EditorUi.prototype.updateActionStates=function(){for(var a=this.editor.graph,b=this.getSelectionState(),e=a.isEnabled()&&!a.isCellLocked(a.getDefaultParent()),f=!this.editor.chromeless||this.editor.editable,h="cut copy bold italic underline delete duplicate editStyle editTooltip editLink backgroundColor borderColor edit toFront toBack solid dashed pasteSize dotted fillColor gradientColor shadow fontColor formattedText rounded toggleRounded strokeColor sharp snapToGrid".split(" "),d=0;d<h.length;d++)this.actions.get(h[d]).setEnabled(0<
+b.cells.length);this.actions.get("grid").setEnabled(f);this.actions.get("undo").setEnabled(this.canUndo()&&f);this.actions.get("redo").setEnabled(this.canRedo()&&f);this.actions.get("swap").setEnabled(2==b.cells.length&&2==b.vertices.length);this.actions.get("pasteSize").setEnabled(null!=this.copiedSize&&0<b.vertices.length);this.actions.get("pasteData").setEnabled(null!=this.copiedValue&&0<b.cells.length);this.actions.get("setAsDefaultStyle").setEnabled(1==a.getSelectionCount());this.actions.get("lockUnlock").setEnabled(!a.isSelectionEmpty());
this.actions.get("bringForward").setEnabled(1==b.cells.length);this.actions.get("sendBackward").setEnabled(1==b.cells.length);this.actions.get("rotation").setEnabled(1==b.vertices.length);this.actions.get("wordWrap").setEnabled(1==b.vertices.length);this.actions.get("autosize").setEnabled(0<b.vertices.length);this.actions.get("copySize").setEnabled(1==b.vertices.length);this.actions.get("clearWaypoints").setEnabled(b.connections);this.actions.get("clearAnchors").setEnabled(b.connections);this.actions.get("curved").setEnabled(0<
b.edges.length);this.actions.get("turn").setEnabled(0<b.cells.length);this.actions.get("group").setEnabled(1<b.cells.length||1==b.vertices.length&&0==a.model.getChildCount(b.cells[0])&&!a.isContainer(b.vertices[0]));this.actions.get("ungroup").setEnabled(!b.row&&!b.cell&&!b.table&&0<b.vertices.length&&(a.isContainer(b.vertices[0])||0<a.getModel().getChildCount(b.vertices[0])));this.actions.get("removeFromGroup").setEnabled(1==b.cells.length&&a.getModel().isVertex(a.getModel().getParent(b.cells[0])));
this.actions.get("collapsible").setEnabled(1==b.vertices.length&&(0<a.model.getChildCount(b.vertices[0])||a.isContainer(b.vertices[0])));this.actions.get("exitGroup").setEnabled(null!=a.view.currentRoot);this.actions.get("home").setEnabled(null!=a.view.currentRoot);this.actions.get("enterGroup").setEnabled(1==b.cells.length&&a.isValidRoot(b.cells[0]));this.actions.get("copyData").setEnabled(1==b.cells.length);this.actions.get("copyAsText").setEnabled(1==b.cells.length);this.actions.get("editLink").setEnabled(1==
-b.cells.length);this.actions.get("editStyle").setEnabled(0<b.cells.length);this.actions.get("editTooltip").setEnabled(1==b.cells.length);this.actions.get("openLink").setEnabled(1==b.cells.length&&null!=a.getLinkForCell(b.cells[0]));this.actions.get("guides").setEnabled(a.isEnabled());this.actions.get("selectVertices").setEnabled(d);this.actions.get("selectEdges").setEnabled(d);this.actions.get("selectAll").setEnabled(d);this.actions.get("selectNone").setEnabled(d);e=1==b.vertices.length&&a.isCellFoldable(b.vertices[0]);
-this.actions.get("expand").setEnabled(e);this.actions.get("collapse").setEnabled(e);this.menus.get("navigation").setEnabled(0<b.cells.length||null!=a.view.currentRoot);this.menus.get("layout").setEnabled(d);this.menus.get("insert").setEnabled(d);this.menus.get("direction").setEnabled(b.unlocked&&1==b.vertices.length);this.menus.get("distribute").setEnabled(b.unlocked&&1<b.vertices.length);this.menus.get("align").setEnabled(b.unlocked&&0<b.cells.length);this.updatePasteActionStates()};
+b.cells.length);this.actions.get("editStyle").setEnabled(0<b.cells.length);this.actions.get("editTooltip").setEnabled(1==b.cells.length);this.actions.get("openLink").setEnabled(1==b.cells.length&&null!=a.getLinkForCell(b.cells[0]));this.actions.get("guides").setEnabled(a.isEnabled());this.actions.get("selectVertices").setEnabled(e);this.actions.get("selectEdges").setEnabled(e);this.actions.get("selectAll").setEnabled(e);this.actions.get("selectNone").setEnabled(e);f=1==b.vertices.length&&a.isCellFoldable(b.vertices[0]);
+this.actions.get("expand").setEnabled(f);this.actions.get("collapse").setEnabled(f);this.menus.get("navigation").setEnabled(0<b.cells.length||null!=a.view.currentRoot);this.menus.get("layout").setEnabled(e);this.menus.get("insert").setEnabled(e);this.menus.get("direction").setEnabled(b.unlocked&&1==b.vertices.length);this.menus.get("distribute").setEnabled(b.unlocked&&1<b.vertices.length);this.menus.get("align").setEnabled(b.unlocked&&0<b.cells.length);this.updatePasteActionStates()};
EditorUi.prototype.zeroOffset=new mxPoint(0,0);EditorUi.prototype.getDiagramContainerOffset=function(){return this.zeroOffset};
-EditorUi.prototype.refresh=function(a){a=null!=a?a:!0;var b=this.container.clientWidth;this.container==document.body&&(b=document.body.clientWidth||document.documentElement.clientWidth);var d=0;mxClient.IS_IOS&&!window.navigator.standalone&&"undefined"!==typeof Menus&&window.innerHeight!=document.documentElement.clientHeight&&(d=document.documentElement.clientHeight-window.innerHeight,window.scrollTo(0,0));var e=Math.max(0,Math.min(this.hsplitPosition,b-this.splitSize-40));b=0;null!=this.menubar&&
-(this.menubarContainer.style.height=this.menubarHeight+"px",b+=this.menubarHeight);null!=this.toolbar&&(this.toolbarContainer.style.top=this.menubarHeight+"px",this.toolbarContainer.style.height=this.toolbarHeight+"px",b+=this.toolbarHeight);0<b&&(b+=1);var g=null!=this.format?this.formatWidth:0;this.sidebarContainer.style.top=b+"px";this.sidebarContainer.style.width=e+"px";this.formatContainer.style.top=b+"px";this.formatContainer.style.width=g+"px";this.formatContainer.style.display=null!=this.format?
-"":"none";var f=this.getDiagramContainerOffset(),h=null!=this.hsplit.parentNode?e:0;this.footerContainer.style.height=this.footerHeight+"px";this.hsplit.style.top=this.sidebarContainer.style.top;this.hsplit.style.left=e+"px";this.footerContainer.style.display=0==this.footerHeight?"none":"";null!=this.tabContainer?(this.tabContainer.style.left=h+"px",this.hsplit.style.bottom=this.tabContainer.offsetHeight+"px"):this.hsplit.style.bottom=this.footerHeight+d+"px";0<this.footerHeight&&(this.footerContainer.style.bottom=
-d+"px");e=0;null!=this.tabContainer&&(this.tabContainer.style.bottom=this.footerHeight+d+"px",this.tabContainer.style.right=g+"px",e=this.tabContainer.clientHeight,this.checkTabScrollerOverflow());this.sidebarContainer.style.bottom=this.footerHeight+d+"px";this.formatContainer.style.bottom=this.footerHeight+d+"px";this.diagramContainer.style.left=h+f.x+"px";this.diagramContainer.style.top=b+f.y+"px";this.diagramContainer.style.right=g+"px";this.diagramContainer.style.bottom=this.footerHeight+d+e+
+EditorUi.prototype.refresh=function(a){a=null!=a?a:!0;var b=this.container.clientWidth;this.container==document.body&&(b=document.body.clientWidth||document.documentElement.clientWidth);var e=0;mxClient.IS_IOS&&!window.navigator.standalone&&"undefined"!==typeof Menus&&window.innerHeight!=document.documentElement.clientHeight&&(e=document.documentElement.clientHeight-window.innerHeight,window.scrollTo(0,0));var f=Math.max(0,Math.min(this.hsplitPosition,b-this.splitSize-40));b=0;null!=this.menubar&&
+(this.menubarContainer.style.height=this.menubarHeight+"px",b+=this.menubarHeight);null!=this.toolbar&&(this.toolbarContainer.style.top=this.menubarHeight+"px",this.toolbarContainer.style.height=this.toolbarHeight+"px",b+=this.toolbarHeight);0<b&&(b+=1);var h=null!=this.format?this.formatWidth:0;this.sidebarContainer.style.top=b+"px";this.sidebarContainer.style.width=f+"px";this.formatContainer.style.top=b+"px";this.formatContainer.style.width=h+"px";this.formatContainer.style.display=null!=this.format?
+"":"none";var d=this.getDiagramContainerOffset(),g=null!=this.hsplit.parentNode?f:0;this.footerContainer.style.height=this.footerHeight+"px";this.hsplit.style.top=this.sidebarContainer.style.top;this.hsplit.style.left=f+"px";this.footerContainer.style.display=0==this.footerHeight?"none":"";null!=this.tabContainer?(this.tabContainer.style.left=g+"px",this.hsplit.style.bottom=this.tabContainer.offsetHeight+"px"):this.hsplit.style.bottom=this.footerHeight+e+"px";0<this.footerHeight&&(this.footerContainer.style.bottom=
+e+"px");f=0;null!=this.tabContainer&&(this.tabContainer.style.bottom=this.footerHeight+e+"px",this.tabContainer.style.right=h+"px",f=this.tabContainer.clientHeight,this.checkTabScrollerOverflow());this.sidebarContainer.style.bottom=this.footerHeight+e+"px";this.formatContainer.style.bottom=this.footerHeight+e+"px";this.diagramContainer.style.left=g+d.x+"px";this.diagramContainer.style.top=b+d.y+"px";this.diagramContainer.style.right=h+"px";this.diagramContainer.style.bottom=this.footerHeight+e+f+
"px";a&&this.editor.graph.sizeDidChange()};EditorUi.prototype.createTabContainer=function(){return null};
EditorUi.prototype.createDivs=function(){this.menubarContainer=this.createDiv("geMenubarContainer");this.toolbarContainer=this.createDiv("geToolbarContainer");this.sidebarContainer=this.createDiv("geSidebarContainer");this.formatContainer=this.createDiv("geSidebarContainer geFormatContainer");this.diagramContainer=this.createDiv("geDiagramContainer");this.footerContainer=this.createDiv("geFooterContainer");this.hsplit=this.createDiv("geHsplit");this.menubarContainer.style.top="0px";this.menubarContainer.style.left=
"0px";this.menubarContainer.style.right="0px";this.toolbarContainer.style.left="0px";this.toolbarContainer.style.right="0px";this.sidebarContainer.style.left="0px";this.sidebarContainer.style.zIndex="1";this.formatContainer.style.right="0px";this.formatContainer.style.zIndex="1";this.diagramContainer.style.right=(null!=this.format?this.formatWidth:0)+"px";this.footerContainer.style.left="0px";this.footerContainer.style.right="0px";this.footerContainer.style.bottom="0px";this.footerContainer.style.zIndex=
@@ -2230,66 +2230,66 @@ mxPopupMenu.prototype.zIndex-3;this.hsplit.style.width=this.splitSize+"px";this.
EditorUi.prototype.createUi=function(){this.menubar=this.editor.chromeless?null:this.menus.createMenubar(this.createDiv("geMenubar"));null!=this.menubar&&this.menubarContainer.appendChild(this.menubar.container);null!=this.menubar&&(this.statusContainer=this.createStatusContainer(),this.editor.addListener("statusChanged",mxUtils.bind(this,function(){this.setStatusText(this.editor.getStatus())})),this.setStatusText(this.editor.getStatus()),this.menubar.container.appendChild(this.statusContainer),this.container.appendChild(this.menubarContainer));
this.sidebar=this.editor.chromeless?null:this.createSidebar(this.sidebarContainer);null!=this.sidebar&&this.container.appendChild(this.sidebarContainer);this.format=this.editor.chromeless||!this.formatEnabled?null:this.createFormat(this.formatContainer);null!=this.format&&this.container.appendChild(this.formatContainer);var a=this.editor.chromeless?null:this.createFooter();null!=a&&(this.footerContainer.appendChild(a),this.container.appendChild(this.footerContainer));this.container.appendChild(this.diagramContainer);
null!=this.container&&null!=this.tabContainer&&this.container.appendChild(this.tabContainer);this.toolbar=this.editor.chromeless?null:this.createToolbar(this.createDiv("geToolbar"));null!=this.toolbar&&(this.toolbarContainer.appendChild(this.toolbar.container),this.container.appendChild(this.toolbarContainer));null!=this.sidebar&&(this.container.appendChild(this.hsplit),this.addSplitHandler(this.hsplit,!0,0,mxUtils.bind(this,function(b){this.hsplitPosition=b;this.refresh()})))};
-EditorUi.prototype.createStatusContainer=function(){var a=document.createElement("a");a.className="geItem geStatus";mxEvent.addListener(a,"click",mxUtils.bind(this,function(b){var d=mxEvent.getSource(b);if(d!=a)for(;d.parentNode!=a;)d=d.parentNode;if("A"!=d.nodeName){var e=d.getAttribute("data-action");if("statusFunction"==e&&null!=this.editor.statusFunction)this.editor.statusFunction();else if(null!=e)d=this.actions.get(e),null!=d&&d.funct();else{e=d.getAttribute("data-title");var g=d.getAttribute("data-message");
-null!=e&&null!=g?this.showError(e,g):(d=d.getAttribute("data-link"),null!=d&&this.editor.graph.openLink(d))}mxEvent.consume(b)}}));return a};
-EditorUi.prototype.setStatusText=function(a){this.statusContainer.innerHTML=Graph.sanitizeHtml(a);0==this.statusContainer.getElementsByTagName("div").length&&null!=a&&0<a.length&&(this.statusContainer.innerText="",a=this.createStatusDiv(a),this.statusContainer.appendChild(a));a=this.statusContainer.querySelectorAll('[data-effect="fade"]');if(null!=a)for(var b=0;b<a.length;b++)(function(d){mxUtils.setOpacity(d,0);mxUtils.setPrefixedStyle(d.style,"transform","scaleX(0)");mxUtils.setPrefixedStyle(d.style,
-"transition","all 0.2s ease");window.setTimeout(mxUtils.bind(this,function(){mxUtils.setOpacity(d,100);mxUtils.setPrefixedStyle(d.style,"transform","scaleX(1)");mxUtils.setPrefixedStyle(d.style,"transition","all 1s ease");window.setTimeout(mxUtils.bind(this,function(){mxUtils.setPrefixedStyle(d.style,"transform","scaleX(0)");mxUtils.setOpacity(d,0);window.setTimeout(mxUtils.bind(this,function(){null!=d.parentNode&&d.parentNode.removeChild(d)}),1E3)}),Editor.updateStatusInterval/2)}),0)})(a[b])};
+EditorUi.prototype.createStatusContainer=function(){var a=document.createElement("a");a.className="geItem geStatus";mxEvent.addListener(a,"click",mxUtils.bind(this,function(b){var e=mxEvent.getSource(b);if(e!=a)for(;e.parentNode!=a;)e=e.parentNode;if("A"!=e.nodeName){var f=e.getAttribute("data-action");if("statusFunction"==f&&null!=this.editor.statusFunction)this.editor.statusFunction();else if(null!=f)e=this.actions.get(f),null!=e&&e.funct();else{f=e.getAttribute("data-title");var h=e.getAttribute("data-message");
+null!=f&&null!=h?this.showError(f,h):(e=e.getAttribute("data-link"),null!=e&&this.editor.graph.openLink(e))}mxEvent.consume(b)}}));return a};
+EditorUi.prototype.setStatusText=function(a){this.statusContainer.innerHTML=Graph.sanitizeHtml(a);0==this.statusContainer.getElementsByTagName("div").length&&null!=a&&0<a.length&&(this.statusContainer.innerText="",a=this.createStatusDiv(a),this.statusContainer.appendChild(a));a=this.statusContainer.querySelectorAll('[data-effect="fade"]');if(null!=a)for(var b=0;b<a.length;b++)(function(e){mxUtils.setOpacity(e,0);mxUtils.setPrefixedStyle(e.style,"transform","scaleX(0)");mxUtils.setPrefixedStyle(e.style,
+"transition","all 0.2s ease");window.setTimeout(mxUtils.bind(this,function(){mxUtils.setOpacity(e,100);mxUtils.setPrefixedStyle(e.style,"transform","scaleX(1)");mxUtils.setPrefixedStyle(e.style,"transition","all 1s ease");window.setTimeout(mxUtils.bind(this,function(){mxUtils.setPrefixedStyle(e.style,"transform","scaleX(0)");mxUtils.setOpacity(e,0);window.setTimeout(mxUtils.bind(this,function(){null!=e.parentNode&&e.parentNode.removeChild(e)}),1E3)}),Editor.updateStatusInterval/2)}),0)})(a[b])};
EditorUi.prototype.createStatusDiv=function(a){var b=document.createElement("div");b.style.textOverflow="ellipsis";b.style.display="inline-block";b.style.whiteSpace="nowrap";b.style.overflow="hidden";b.style.minWidth="0";b.setAttribute("title",a);b.innerHTML=Graph.sanitizeHtml(a);return b};EditorUi.prototype.createToolbar=function(a){return new Toolbar(this,a)};EditorUi.prototype.createSidebar=function(a){return new Sidebar(this,a)};
EditorUi.prototype.createFormat=function(a){return new Format(this,a)};EditorUi.prototype.createFooter=function(){return this.createDiv("geFooter")};EditorUi.prototype.createDiv=function(a){var b=document.createElement("div");b.className=a;return b};
-EditorUi.prototype.addSplitHandler=function(a,b,d,e){function g(w){if(null!=h){var z=new mxPoint(mxEvent.getClientX(w),mxEvent.getClientY(w));e(Math.max(0,n+(b?z.x-h.x:h.y-z.y)-d));mxEvent.consume(w);n!=p()&&(q=!0,l=null)}}function f(w){g(w);h=n=null}var h=null,n=null,q=!0,l=null;mxClient.IS_POINTER&&(a.style.touchAction="none");var p=mxUtils.bind(this,function(){var w=parseInt(b?a.style.left:a.style.bottom);b||(w=w+d-this.footerHeight);return w});mxEvent.addGestureListeners(a,function(w){h=new mxPoint(mxEvent.getClientX(w),
-mxEvent.getClientY(w));n=p();q=!1;mxEvent.consume(w)});mxEvent.addListener(a,"click",mxUtils.bind(this,function(w){if(!q&&this.hsplitClickEnabled){var z=null!=l?l-d:0;l=p();e(z);mxEvent.consume(w)}}));mxEvent.addGestureListeners(document,null,g,f);this.destroyFunctions.push(function(){mxEvent.removeGestureListeners(document,null,g,f)})};
-EditorUi.prototype.prompt=function(a,b,d){a=new FilenameDialog(this,b,mxResources.get("apply"),function(e){d(parseFloat(e))},a);this.showDialog(a.container,300,80,!0,!0);a.init()};
-EditorUi.prototype.handleError=function(a,b,d,e,g){a=null!=a&&null!=a.error?a.error:a;if(null!=a||null!=b){g=mxUtils.htmlEntities(mxResources.get("unknownError"));var f=mxResources.get("ok");b=null!=b?b:mxResources.get("error");null!=a&&null!=a.message&&(g=mxUtils.htmlEntities(a.message));this.showError(b,g,f,d,null,null,null,null,null,null,null,null,e?d:null)}else null!=d&&d()};
-EditorUi.prototype.showError=function(a,b,d,e,g,f,h,n,q,l,p,w,z){a=new ErrorDialog(this,a,b,d||mxResources.get("ok"),e,g,f,h,w,n,q);b=Math.ceil(null!=b?b.length/50:1);this.showDialog(a.container,l||340,p||100+20*b,!0,!1,z);a.init()};EditorUi.prototype.showDialog=function(a,b,d,e,g,f,h,n,q,l){this.editor.graph.tooltipHandler.resetTimer();this.editor.graph.tooltipHandler.hideTooltip();null==this.dialogs&&(this.dialogs=[]);this.dialog=new Dialog(this,a,b,d,e,g,f,h,n,q,l);this.dialogs.push(this.dialog)};
-EditorUi.prototype.hideDialog=function(a,b,d){var e=null;if(null!=this.dialogs&&0<this.dialogs.length)for(var g=this.dialogs.length-1;0<=g;g--)if(!this.dialogs[g].closing){e=this.dialogs[g];break}null==e||null!=d&&d!=this.dialog.container.firstChild||(e.closing=!0,0==e.close(a,b)?delete e.closing:(delete e.closing,a=mxUtils.lastIndexOf(this.dialogs,e),0<=a&&this.dialogs.splice(a,1),this.dialog=0<this.dialogs.length?this.dialogs[this.dialogs.length-1]:null,this.editor.fireEvent(new mxEventObject("hideDialog")),
+EditorUi.prototype.addSplitHandler=function(a,b,e,f){function h(w){if(null!=g){var z=new mxPoint(mxEvent.getClientX(w),mxEvent.getClientY(w));f(Math.max(0,n+(b?z.x-g.x:g.y-z.y)-e));mxEvent.consume(w);n!=p()&&(q=!0,k=null)}}function d(w){h(w);g=n=null}var g=null,n=null,q=!0,k=null;mxClient.IS_POINTER&&(a.style.touchAction="none");var p=mxUtils.bind(this,function(){var w=parseInt(b?a.style.left:a.style.bottom);b||(w=w+e-this.footerHeight);return w});mxEvent.addGestureListeners(a,function(w){g=new mxPoint(mxEvent.getClientX(w),
+mxEvent.getClientY(w));n=p();q=!1;mxEvent.consume(w)});mxEvent.addListener(a,"click",mxUtils.bind(this,function(w){if(!q&&this.hsplitClickEnabled){var z=null!=k?k-e:0;k=p();f(z);mxEvent.consume(w)}}));mxEvent.addGestureListeners(document,null,h,d);this.destroyFunctions.push(function(){mxEvent.removeGestureListeners(document,null,h,d)})};
+EditorUi.prototype.prompt=function(a,b,e){a=new FilenameDialog(this,b,mxResources.get("apply"),function(f){e(parseFloat(f))},a);this.showDialog(a.container,300,80,!0,!0);a.init()};
+EditorUi.prototype.handleError=function(a,b,e,f,h){a=null!=a&&null!=a.error?a.error:a;if(null!=a||null!=b){h=mxUtils.htmlEntities(mxResources.get("unknownError"));var d=mxResources.get("ok");b=null!=b?b:mxResources.get("error");null!=a&&null!=a.message&&(h=mxUtils.htmlEntities(a.message));this.showError(b,h,d,e,null,null,null,null,null,null,null,null,f?e:null)}else null!=e&&e()};
+EditorUi.prototype.showError=function(a,b,e,f,h,d,g,n,q,k,p,w,z){a=new ErrorDialog(this,a,b,e||mxResources.get("ok"),f,h,d,g,w,n,q);b=Math.ceil(null!=b?b.length/50:1);this.showDialog(a.container,k||340,p||100+20*b,!0,!1,z);a.init()};EditorUi.prototype.showDialog=function(a,b,e,f,h,d,g,n,q,k){this.editor.graph.tooltipHandler.resetTimer();this.editor.graph.tooltipHandler.hideTooltip();null==this.dialogs&&(this.dialogs=[]);this.dialog=new Dialog(this,a,b,e,f,h,d,g,n,q,k);this.dialogs.push(this.dialog)};
+EditorUi.prototype.hideDialog=function(a,b,e){var f=null;if(null!=this.dialogs&&0<this.dialogs.length)for(var h=this.dialogs.length-1;0<=h;h--)if(!this.dialogs[h].closing){f=this.dialogs[h];break}null==f||null!=e&&e!=this.dialog.container.firstChild||(f.closing=!0,0==f.close(a,b)?delete f.closing:(delete f.closing,a=mxUtils.lastIndexOf(this.dialogs,f),0<=a&&this.dialogs.splice(a,1),this.dialog=0<this.dialogs.length?this.dialogs[this.dialogs.length-1]:null,this.editor.fireEvent(new mxEventObject("hideDialog")),
null==this.dialog&&null!=this.editor.graph.container&&"hidden"!=this.editor.graph.container.style.visibility&&window.setTimeout(mxUtils.bind(this,function(){null==this.editor||null!=this.dialogs&&0!=this.dialogs.length||(this.editor.graph.isEditing()&&null!=this.editor.graph.cellEditor.textarea?this.editor.graph.cellEditor.textarea.focus():(mxUtils.clearSelection(),this.editor.graph.container.focus()))}),0)))};
-EditorUi.prototype.ctrlEnter=function(){var a=this.editor.graph;if(a.isEnabled())try{for(var b=a.getSelectionCells(),d=new mxDictionary,e=[],g=0;g<b.length;g++){var f=a.isTableCell(b[g])?a.model.getParent(b[g]):b[g];null==f||d.get(f)||(d.put(f,!0),e.push(f))}a.setSelectionCells(a.duplicateCells(e,!1))}catch(h){this.handleError(h)}};
-EditorUi.prototype.pickColor=function(a,b,d,e){var g=this.editor.graph,f=g.cellEditor.saveSelection(),h=230+17*(Math.ceil(ColorDialog.prototype.presetColors.length/12)+Math.ceil(ColorDialog.prototype.defaultColors.length/12));a=new ColorDialog(this,"default"!=a?mxUtils.rgba2hex(a)||"none":a,function(n){g.cellEditor.restoreSelection(f);b(n)},function(){g.cellEditor.restoreSelection(f)},d,e);this.showDialog(a.container,230,h,!0,!1);a.init()};
+EditorUi.prototype.ctrlEnter=function(){var a=this.editor.graph;if(a.isEnabled())try{for(var b=a.getSelectionCells(),e=new mxDictionary,f=[],h=0;h<b.length;h++){var d=a.isTableCell(b[h])?a.model.getParent(b[h]):b[h];null==d||e.get(d)||(e.put(d,!0),f.push(d))}a.setSelectionCells(a.duplicateCells(f,!1))}catch(g){this.handleError(g)}};
+EditorUi.prototype.pickColor=function(a,b,e,f){var h=this.editor.graph,d=h.cellEditor.saveSelection(),g=230+17*(Math.ceil(ColorDialog.prototype.presetColors.length/12)+Math.ceil(ColorDialog.prototype.defaultColors.length/12));a=new ColorDialog(this,"default"!=a?mxUtils.rgba2hex(a)||"none":a,function(n){h.cellEditor.restoreSelection(d);b(n)},function(){h.cellEditor.restoreSelection(d)},e,f);this.showDialog(a.container,230,g,!0,!1);a.init()};
EditorUi.prototype.openFile=function(){window.openFile=new OpenFile(mxUtils.bind(this,function(a){this.hideDialog(a)}));this.showDialog((new OpenDialog(this)).container,Editor.useLocalStorage?640:320,Editor.useLocalStorage?480:220,!0,!0,function(){window.openFile=null})};
-EditorUi.prototype.base64ToBlob=function(a,b){b=b||"";a=atob(a);for(var d=a.length,e=Math.ceil(d/1024),g=Array(e),f=0;f<e;++f){for(var h=1024*f,n=Math.min(h+1024,d),q=Array(n-h),l=0;h<n;++l,++h)q[l]=a[h].charCodeAt(0);g[f]=new Uint8Array(q)}return new Blob(g,{type:b})};
-EditorUi.prototype.writeImageToClipboard=function(a,b,d,e){var g=this.base64ToBlob(a.substring(a.indexOf(",")+1),"image/png");a=new ClipboardItem({"image/png":g,"text/html":new Blob(['<img src="'+a+'" width="'+b+'" height="'+d+'">'],{type:"text/html"})});navigator.clipboard.write([a])["catch"](e)};EditorUi.prototype.writeHtmlToClipboard=function(a,b){a=new ClipboardItem({"text/plain":new Blob([Editor.convertHtmlToText(a)],{type:"text/plain"}),"text/html":new Blob([a],{type:"text/html"})});navigator.clipboard.write([a])["catch"](b)};
-EditorUi.prototype.writeTextToClipboard=function(a,b){navigator.clipboard.writeText(a)["catch"](b)};EditorUi.prototype.extractGraphModelFromHtml=function(a){var b=null;try{var d=a.indexOf("&lt;mxGraphModel ");if(0<=d){var e=a.lastIndexOf("&lt;/mxGraphModel&gt;");e>d&&(b=a.substring(d,e+21).replace(/&gt;/g,">").replace(/&lt;/g,"<").replace(/\\&quot;/g,'"').replace(/\n/g,""))}}catch(g){}return b};
-EditorUi.prototype.readGraphModelFromClipboard=function(a){this.readGraphModelFromClipboardWithType(mxUtils.bind(this,function(b){null!=b?a(b):this.readGraphModelFromClipboardWithType(mxUtils.bind(this,function(d){if(null!=d){var e=decodeURIComponent(d);this.isCompatibleString(e)&&(d=e)}a(d)}),"text")}),"html")};
-EditorUi.prototype.readGraphModelFromClipboardWithType=function(a,b){navigator.clipboard.read().then(mxUtils.bind(this,function(d){if(null!=d&&0<d.length&&"html"==b&&0<=mxUtils.indexOf(d[0].types,"text/html"))d[0].getType("text/html").then(mxUtils.bind(this,function(e){e.text().then(mxUtils.bind(this,function(g){try{var f=this.parseHtmlData(g),h="text/plain"!=f.getAttribute("data-type")?f.innerHTML:mxUtils.trim(null==f.innerText?mxUtils.getTextContent(f):f.innerText);try{var n=h.lastIndexOf("%3E");
-0<=n&&n<h.length-3&&(h=h.substring(0,n+3))}catch(p){}try{var q=f.getElementsByTagName("span"),l=null!=q&&0<q.length?mxUtils.trim(decodeURIComponent(q[0].textContent)):decodeURIComponent(h);this.isCompatibleString(l)&&(h=l)}catch(p){}}catch(p){}a(this.isCompatibleString(h)?h:null)}))["catch"](function(g){a(null)})}))["catch"](function(e){a(null)});else if(null!=d&&0<d.length&&"text"==b&&0<=mxUtils.indexOf(d[0].types,"text/plain"))d[0].getType("text/plain").then(function(e){e.text().then(function(g){a(g)})["catch"](function(){a(null)})})["catch"](function(){a(null)});
-else a(null)}))["catch"](function(d){a(null)})};
-EditorUi.prototype.parseHtmlData=function(a){var b=null;if(null!=a&&0<a.length){var d="<meta "==a.substring(0,6);b=document.createElement("div");b.innerHTML=(d?'<meta charset="utf-8">':"")+Graph.sanitizeHtml(a);asHtml=!0;a=b.getElementsByTagName("style");if(null!=a)for(;0<a.length;)a[0].parentNode.removeChild(a[0]);null!=b.firstChild&&b.firstChild.nodeType==mxConstants.NODETYPE_ELEMENT&&null!=b.firstChild.nextSibling&&b.firstChild.nextSibling.nodeType==mxConstants.NODETYPE_ELEMENT&&"META"==b.firstChild.nodeName&&
-"A"==b.firstChild.nextSibling.nodeName&&null==b.firstChild.nextSibling.nextSibling&&(a=null==b.firstChild.nextSibling.innerText?mxUtils.getTextContent(b.firstChild.nextSibling):b.firstChild.nextSibling.innerText,a==b.firstChild.nextSibling.getAttribute("href")&&(mxUtils.setTextContent(b,a),asHtml=!1));d=d&&null!=b.firstChild?b.firstChild.nextSibling:b.firstChild;null!=d&&null==d.nextSibling&&d.nodeType==mxConstants.NODETYPE_ELEMENT&&"IMG"==d.nodeName?(a=d.getAttribute("src"),null!=a&&(Editor.isPngDataUrl(a)&&
-(d=Editor.extractGraphModelFromPng(a),null!=d&&0<d.length&&(a=d)),mxUtils.setTextContent(b,a),asHtml=!1)):(d=b.getElementsByTagName("img"),1==d.length&&(d=d[0],a=d.getAttribute("src"),null!=a&&d.parentNode==b&&1==b.children.length&&(Editor.isPngDataUrl(a)&&(d=Editor.extractGraphModelFromPng(a),null!=d&&0<d.length&&(a=d)),mxUtils.setTextContent(b,a),asHtml=!1)));asHtml&&Graph.removePasteFormatting(b)}asHtml||b.setAttribute("data-type","text/plain");return b};
-EditorUi.prototype.extractGraphModelFromEvent=function(a){var b=null,d=null;null!=a&&(a=null!=a.dataTransfer?a.dataTransfer:a.clipboardData,null!=a&&(10==document.documentMode||11==document.documentMode?d=a.getData("Text"):(d=0<=mxUtils.indexOf(a.types,"text/html")?a.getData("text/html"):null,0<=mxUtils.indexOf(a.types,"text/plain")&&(null==d||0==d.length)&&(d=a.getData("text/plain"))),null!=d&&(d=Graph.zapGremlins(mxUtils.trim(d)),a=this.extractGraphModelFromHtml(d),null!=a&&(d=a))));null!=d&&this.isCompatibleString(d)&&
-(b=d);return b};EditorUi.prototype.isCompatibleString=function(a){return!1};EditorUi.prototype.saveFile=function(a){a||null==this.editor.filename?(a=new FilenameDialog(this,this.editor.getOrCreateFilename(),mxResources.get("save"),mxUtils.bind(this,function(b){this.save(b)}),null,mxUtils.bind(this,function(b){if(null!=b&&0<b.length)return!0;mxUtils.confirm(mxResources.get("invalidName"));return!1})),this.showDialog(a.container,340,96,!0,!0),a.init()):this.save(this.editor.getOrCreateFilename())};
+EditorUi.prototype.base64ToBlob=function(a,b){b=b||"";a=atob(a);for(var e=a.length,f=Math.ceil(e/1024),h=Array(f),d=0;d<f;++d){for(var g=1024*d,n=Math.min(g+1024,e),q=Array(n-g),k=0;g<n;++k,++g)q[k]=a[g].charCodeAt(0);h[d]=new Uint8Array(q)}return new Blob(h,{type:b})};
+EditorUi.prototype.writeImageToClipboard=function(a,b,e,f){var h=this.base64ToBlob(a.substring(a.indexOf(",")+1),"image/png");a=new ClipboardItem({"image/png":h,"text/html":new Blob(['<img src="'+a+'" width="'+b+'" height="'+e+'">'],{type:"text/html"})});navigator.clipboard.write([a])["catch"](f)};EditorUi.prototype.writeHtmlToClipboard=function(a,b){a=new ClipboardItem({"text/plain":new Blob([Editor.convertHtmlToText(a)],{type:"text/plain"}),"text/html":new Blob([a],{type:"text/html"})});navigator.clipboard.write([a])["catch"](b)};
+EditorUi.prototype.writeTextToClipboard=function(a,b){navigator.clipboard.writeText(a)["catch"](b)};EditorUi.prototype.extractGraphModelFromHtml=function(a){var b=null;try{var e=a.indexOf("&lt;mxGraphModel ");if(0<=e){var f=a.lastIndexOf("&lt;/mxGraphModel&gt;");f>e&&(b=a.substring(e,f+21).replace(/&gt;/g,">").replace(/&lt;/g,"<").replace(/\\&quot;/g,'"').replace(/\n/g,""))}}catch(h){}return b};
+EditorUi.prototype.readGraphModelFromClipboard=function(a){this.readGraphModelFromClipboardWithType(mxUtils.bind(this,function(b){null!=b?a(b):this.readGraphModelFromClipboardWithType(mxUtils.bind(this,function(e){if(null!=e){var f=decodeURIComponent(e);this.isCompatibleString(f)&&(e=f)}a(e)}),"text")}),"html")};
+EditorUi.prototype.readGraphModelFromClipboardWithType=function(a,b){navigator.clipboard.read().then(mxUtils.bind(this,function(e){if(null!=e&&0<e.length&&"html"==b&&0<=mxUtils.indexOf(e[0].types,"text/html"))e[0].getType("text/html").then(mxUtils.bind(this,function(f){f.text().then(mxUtils.bind(this,function(h){try{var d=this.parseHtmlData(h),g="text/plain"!=d.getAttribute("data-type")?d.innerHTML:mxUtils.trim(null==d.innerText?mxUtils.getTextContent(d):d.innerText);try{var n=g.lastIndexOf("%3E");
+0<=n&&n<g.length-3&&(g=g.substring(0,n+3))}catch(p){}try{var q=d.getElementsByTagName("span"),k=null!=q&&0<q.length?mxUtils.trim(decodeURIComponent(q[0].textContent)):decodeURIComponent(g);this.isCompatibleString(k)&&(g=k)}catch(p){}}catch(p){}a(this.isCompatibleString(g)?g:null)}))["catch"](function(h){a(null)})}))["catch"](function(f){a(null)});else if(null!=e&&0<e.length&&"text"==b&&0<=mxUtils.indexOf(e[0].types,"text/plain"))e[0].getType("text/plain").then(function(f){f.text().then(function(h){a(h)})["catch"](function(){a(null)})})["catch"](function(){a(null)});
+else a(null)}))["catch"](function(e){a(null)})};
+EditorUi.prototype.parseHtmlData=function(a){var b=null;if(null!=a&&0<a.length){var e="<meta "==a.substring(0,6);b=document.createElement("div");b.innerHTML=(e?'<meta charset="utf-8">':"")+Graph.sanitizeHtml(a);asHtml=!0;a=b.getElementsByTagName("style");if(null!=a)for(;0<a.length;)a[0].parentNode.removeChild(a[0]);null!=b.firstChild&&b.firstChild.nodeType==mxConstants.NODETYPE_ELEMENT&&null!=b.firstChild.nextSibling&&b.firstChild.nextSibling.nodeType==mxConstants.NODETYPE_ELEMENT&&"META"==b.firstChild.nodeName&&
+"A"==b.firstChild.nextSibling.nodeName&&null==b.firstChild.nextSibling.nextSibling&&(a=null==b.firstChild.nextSibling.innerText?mxUtils.getTextContent(b.firstChild.nextSibling):b.firstChild.nextSibling.innerText,a==b.firstChild.nextSibling.getAttribute("href")&&(mxUtils.setTextContent(b,a),asHtml=!1));e=e&&null!=b.firstChild?b.firstChild.nextSibling:b.firstChild;null!=e&&null==e.nextSibling&&e.nodeType==mxConstants.NODETYPE_ELEMENT&&"IMG"==e.nodeName?(a=e.getAttribute("src"),null!=a&&(Editor.isPngDataUrl(a)&&
+(e=Editor.extractGraphModelFromPng(a),null!=e&&0<e.length&&(a=e)),mxUtils.setTextContent(b,a),asHtml=!1)):(e=b.getElementsByTagName("img"),1==e.length&&(e=e[0],a=e.getAttribute("src"),null!=a&&e.parentNode==b&&1==b.children.length&&(Editor.isPngDataUrl(a)&&(e=Editor.extractGraphModelFromPng(a),null!=e&&0<e.length&&(a=e)),mxUtils.setTextContent(b,a),asHtml=!1)));asHtml&&Graph.removePasteFormatting(b)}asHtml||b.setAttribute("data-type","text/plain");return b};
+EditorUi.prototype.extractGraphModelFromEvent=function(a){var b=null,e=null;null!=a&&(a=null!=a.dataTransfer?a.dataTransfer:a.clipboardData,null!=a&&(10==document.documentMode||11==document.documentMode?e=a.getData("Text"):(e=0<=mxUtils.indexOf(a.types,"text/html")?a.getData("text/html"):null,0<=mxUtils.indexOf(a.types,"text/plain")&&(null==e||0==e.length)&&(e=a.getData("text/plain"))),null!=e&&(e=Graph.zapGremlins(mxUtils.trim(e)),a=this.extractGraphModelFromHtml(e),null!=a&&(e=a))));null!=e&&this.isCompatibleString(e)&&
+(b=e);return b};EditorUi.prototype.isCompatibleString=function(a){return!1};EditorUi.prototype.saveFile=function(a){a||null==this.editor.filename?(a=new FilenameDialog(this,this.editor.getOrCreateFilename(),mxResources.get("save"),mxUtils.bind(this,function(b){this.save(b)}),null,mxUtils.bind(this,function(b){if(null!=b&&0<b.length)return!0;mxUtils.confirm(mxResources.get("invalidName"));return!1})),this.showDialog(a.container,340,96,!0,!0),a.init()):this.save(this.editor.getOrCreateFilename())};
EditorUi.prototype.save=function(a){if(null!=a){this.editor.graph.isEditing()&&this.editor.graph.stopEditing();var b=mxUtils.getXml(this.editor.getGraphXml());try{if(Editor.useLocalStorage){if(null!=localStorage.getItem(a)&&!mxUtils.confirm(mxResources.get("replaceIt",[a])))return;localStorage.setItem(a,b);this.editor.setStatus(mxUtils.htmlEntities(mxResources.get("saved"))+" "+new Date)}else if(b.length<MAX_REQUEST_SIZE)(new mxXmlRequest(SAVE_URL,"filename="+encodeURIComponent(a)+"&xml="+encodeURIComponent(b))).simulate(document,
-"_blank");else{mxUtils.alert(mxResources.get("drawingTooLarge"));mxUtils.popup(b);return}this.editor.setModified(!1);this.editor.setFilename(a);this.updateDocumentTitle()}catch(d){this.editor.setStatus(mxUtils.htmlEntities(mxResources.get("errorSavingFile")))}}};
-EditorUi.prototype.executeLayouts=function(a,b){this.executeLayout(mxUtils.bind(this,function(){var d=new mxCompositeLayout(this.editor.graph,a),e=this.editor.graph.getSelectionCells();d.execute(this.editor.graph.getDefaultParent(),0==e.length?null:e)}),!0,b)};
-EditorUi.prototype.executeLayout=function(a,b,d){var e=this.editor.graph;e.getModel().beginUpdate();try{a()}catch(g){throw g;}finally{this.allowAnimation&&b&&e.isEnabled()?(a=new mxMorphing(e),a.addListener(mxEvent.DONE,mxUtils.bind(this,function(){e.getModel().endUpdate();null!=d&&d()})),a.startAnimation()):(e.getModel().endUpdate(),null!=d&&d())}};
-EditorUi.prototype.showImageDialog=function(a,b,d,e){e=this.editor.graph.cellEditor;var g=e.saveSelection(),f=mxUtils.prompt(a,b);e.restoreSelection(g);if(null!=f&&0<f.length){var h=new Image;h.onload=function(){d(f,h.width,h.height)};h.onerror=function(){d(null);mxUtils.alert(mxResources.get("fileNotFound"))};h.src=f}else d(null)};EditorUi.prototype.showLinkDialog=function(a,b,d){a=new LinkDialog(this,a,b,d);this.showDialog(a.container,420,90,!0,!0);a.init()};
+"_blank");else{mxUtils.alert(mxResources.get("drawingTooLarge"));mxUtils.popup(b);return}this.editor.setModified(!1);this.editor.setFilename(a);this.updateDocumentTitle()}catch(e){this.editor.setStatus(mxUtils.htmlEntities(mxResources.get("errorSavingFile")))}}};
+EditorUi.prototype.executeLayouts=function(a,b){this.executeLayout(mxUtils.bind(this,function(){var e=new mxCompositeLayout(this.editor.graph,a),f=this.editor.graph.getSelectionCells();e.execute(this.editor.graph.getDefaultParent(),0==f.length?null:f)}),!0,b)};
+EditorUi.prototype.executeLayout=function(a,b,e){var f=this.editor.graph;f.getModel().beginUpdate();try{a()}catch(h){throw h;}finally{this.allowAnimation&&b&&f.isEnabled()?(a=new mxMorphing(f),a.addListener(mxEvent.DONE,mxUtils.bind(this,function(){f.getModel().endUpdate();null!=e&&e()})),a.startAnimation()):(f.getModel().endUpdate(),null!=e&&e())}};
+EditorUi.prototype.showImageDialog=function(a,b,e,f){f=this.editor.graph.cellEditor;var h=f.saveSelection(),d=mxUtils.prompt(a,b);f.restoreSelection(h);if(null!=d&&0<d.length){var g=new Image;g.onload=function(){e(d,g.width,g.height)};g.onerror=function(){e(null);mxUtils.alert(mxResources.get("fileNotFound"))};g.src=d}else e(null)};EditorUi.prototype.showLinkDialog=function(a,b,e){a=new LinkDialog(this,a,b,e);this.showDialog(a.container,420,90,!0,!0);a.init()};
EditorUi.prototype.showDataDialog=function(a){null!=a&&"undefined"!==typeof window.EditDataDialog&&(a=new EditDataDialog(this,a),this.showDialog(a.container,480,420,!0,!1,null,!1),a.init())};
-EditorUi.prototype.showBackgroundImageDialog=function(a,b){a=null!=a?a:mxUtils.bind(this,function(e){e=new ChangePageSetup(this,null,e);e.ignoreColor=!0;this.editor.graph.model.execute(e)});var d=mxUtils.prompt(mxResources.get("backgroundImage"),null!=b?b.src:"");null!=d&&0<d.length?(b=new Image,b.onload=function(){a(new mxImage(d,b.width,b.height),!1)},b.onerror=function(){a(null,!0);mxUtils.alert(mxResources.get("fileNotFound"))},b.src=d):a(null)};
-EditorUi.prototype.setBackgroundImage=function(a){this.editor.graph.setBackgroundImage(a);this.editor.graph.view.validateBackgroundImage();this.fireEvent(new mxEventObject("backgroundImageChanged"))};EditorUi.prototype.confirm=function(a,b,d){mxUtils.confirm(a)?null!=b&&b():null!=d&&d()};EditorUi.prototype.createOutline=function(a){var b=new mxOutline(this.editor.graph);mxEvent.addListener(window,"resize",function(){b.update(!1)});return b};
+EditorUi.prototype.showBackgroundImageDialog=function(a,b){a=null!=a?a:mxUtils.bind(this,function(f){f=new ChangePageSetup(this,null,f);f.ignoreColor=!0;this.editor.graph.model.execute(f)});var e=mxUtils.prompt(mxResources.get("backgroundImage"),null!=b?b.src:"");null!=e&&0<e.length?(b=new Image,b.onload=function(){a(new mxImage(e,b.width,b.height),!1)},b.onerror=function(){a(null,!0);mxUtils.alert(mxResources.get("fileNotFound"))},b.src=e):a(null)};
+EditorUi.prototype.setBackgroundImage=function(a){this.editor.graph.setBackgroundImage(a);this.editor.graph.view.validateBackgroundImage();this.fireEvent(new mxEventObject("backgroundImageChanged"))};EditorUi.prototype.confirm=function(a,b,e){mxUtils.confirm(a)?null!=b&&b():null!=e&&e()};EditorUi.prototype.createOutline=function(a){var b=new mxOutline(this.editor.graph);mxEvent.addListener(window,"resize",function(){b.update(!1)});return b};
EditorUi.prototype.altShiftActions={65:"connectionArrows",82:"clearWaypoints",76:"editLink",79:"connectionPoints",81:"editConnectionPoints",84:"editTooltip",86:"pasteSize",70:"copySize",66:"copyData",69:"pasteData"};EditorUi.prototype.ctrlAltShiftActions={70:"bringForward",66:"sendBackward"};EditorUi.prototype.ctrlAltActions={88:"copyAsImage"};
-EditorUi.prototype.createKeyHandler=function(a){function b(w,z,C){if(!e.isSelectionEmpty()&&e.isEnabled()){z=null!=z?z:1;var F=e.getCompositeParents(e.getSelectionCells()),D=0<F.length?F[0]:null;if(null!=D)if(C){e.getModel().beginUpdate();try{for(D=0;D<F.length;D++)if(e.getModel().isVertex(F[D])&&e.isCellResizable(F[D])){var G=e.getCellGeometry(F[D]);null!=G&&(G=G.clone(),37==w?G.width=Math.max(0,G.width-z):38==w?G.height=Math.max(0,G.height-z):39==w?G.width+=z:40==w&&(G.height+=z),e.getModel().setGeometry(F[D],
-G))}}finally{e.getModel().endUpdate()}}else{G=e.model.getParent(D);var K=e.getView().scale;C=null;1==e.getSelectionCount()&&e.model.isVertex(D)&&null!=e.layoutManager&&!e.isCellLocked(D)&&(C=e.layoutManager.getLayout(G));if(null!=C&&C.constructor==mxStackLayout)z=G.getIndex(D),37==w||38==w?e.model.add(G,D,Math.max(0,z-1)):(39==w||40==w)&&e.model.add(G,D,Math.min(e.model.getChildCount(G),z+1));else{var I=e.graphHandler;null!=I&&(null==I.first&&I.start(D,0,0,e.getMovableCells(F)),null!=I.first&&(D=
-F=0,37==w?F=-z:38==w?D=-z:39==w?F=z:40==w&&(D=z),I.currentDx+=F*K,I.currentDy+=D*K,I.checkPreview(),I.updatePreview()),null!=h&&window.clearTimeout(h),h=window.setTimeout(function(){if(null!=I.first){var O=I.roundLength(I.currentDx/K),H=I.roundLength(I.currentDy/K);I.moveCells(I.cells,O,H);I.reset()}},400))}}}}var d=this,e=this.editor.graph,g=new mxKeyHandler(e),f=g.isEventIgnored;g.isEventIgnored=function(w){return!(mxEvent.isShiftDown(w)&&9==w.keyCode)&&(!this.isControlDown(w)||mxEvent.isShiftDown(w)||
-90!=w.keyCode&&89!=w.keyCode&&188!=w.keyCode&&190!=w.keyCode&&85!=w.keyCode)&&(66!=w.keyCode&&73!=w.keyCode||!this.isControlDown(w)||this.graph.cellEditor.isContentEditing()&&!mxClient.IS_FF&&!mxClient.IS_SF)&&(109!=w.keyCode&&107!=w.keyCode||!this.isControlDown(w)&&!mxEvent.isShiftDown(w)||!this.graph.cellEditor.isContentEditing()&&!mxClient.IS_FF&&!mxClient.IS_SF)&&f.apply(this,arguments)};g.isEnabledForEvent=function(w){return!mxEvent.isConsumed(w)&&this.isGraphEvent(w)&&this.isEnabled()&&(null==
-d.dialogs||0==d.dialogs.length)};g.isControlDown=function(w){return mxEvent.isControlDown(w)||mxClient.IS_MAC&&w.metaKey};var h=null,n={37:mxConstants.DIRECTION_WEST,38:mxConstants.DIRECTION_NORTH,39:mxConstants.DIRECTION_EAST,40:mxConstants.DIRECTION_SOUTH},q=g.getFunction;mxKeyHandler.prototype.getFunction=function(w){if(e.isEnabled()){var z=null;mxEvent.isShiftDown(w)&&this.isControlDown(w)&&mxEvent.isAltDown(w)?z=d.actions.get(d.ctrlAltShiftActions[w.keyCode]):mxEvent.isShiftDown(w)&&mxEvent.isAltDown(w)?
-z=d.actions.get(d.altShiftActions[w.keyCode]):this.isControlDown(w)&&mxEvent.isAltDown(w)&&(z=d.actions.get(d.ctrlAltActions[w.keyCode]));if(null!=z)return z.funct;if(null!=n[w.keyCode]&&!e.isSelectionEmpty())if(!this.isControlDown(w)&&mxEvent.isShiftDown(w)&&mxEvent.isAltDown(w)){if(e.model.isVertex(e.getSelectionCell()))return function(){var C=e.connectVertex(e.getSelectionCell(),n[w.keyCode],e.defaultEdgeLength,w,!0);null!=C&&0<C.length&&(1==C.length&&e.model.isEdge(C[0])?e.setSelectionCell(e.model.getTerminal(C[0],
-!1)):e.setSelectionCell(C[C.length-1]),e.scrollCellToVisible(e.getSelectionCell()),null!=d.hoverIcons&&d.hoverIcons.update(e.view.getState(e.getSelectionCell())))}}else return this.isControlDown(w)?function(){b(w.keyCode,mxEvent.isShiftDown(w)?e.gridSize:null,!0)}:function(){b(w.keyCode,mxEvent.isShiftDown(w)?e.gridSize:null)}}return q.apply(this,arguments)};g.bindAction=mxUtils.bind(this,function(w,z,C,F){var D=this.actions.get(C);null!=D&&(C=function(){D.isEnabled()&&D.funct.apply(this,arguments)},
-z?F?g.bindControlShiftKey(w,C):g.bindControlKey(w,C):F?g.bindShiftKey(w,C):g.bindKey(w,C))});var l=this,p=g.escape;g.escape=function(w){p.apply(this,arguments)};g.enter=function(){};g.bindControlShiftKey(36,function(){e.exitGroup()});g.bindControlShiftKey(35,function(){e.enterGroup()});g.bindShiftKey(36,function(){e.home()});g.bindKey(35,function(){e.refresh()});g.bindAction(80,!0,"print");g.bindAction(107,!0,"zoomIn");g.bindAction(109,!0,"zoomOut");g.bindAction(61,!0,"zoomIn");g.bindAction(187,!0,
-"zoomIn");g.bindAction(222,!0,"zoomIn");g.bindAction(173,!0,"zoomOut");g.bindAction(189,!0,"zoomOut");if(!this.editor.chromeless||this.editor.editable)g.bindAction(79,!0,"outline",!0),g.bindControlKey(36,function(){e.isEnabled()&&e.foldCells(!0)}),g.bindControlKey(35,function(){e.isEnabled()&&e.foldCells(!1)}),g.bindControlKey(13,function(){l.ctrlEnter()}),g.bindAction(8,!1,"delete"),g.bindAction(8,!0,"deleteAll"),g.bindAction(8,!1,"deleteLabels",!0),g.bindAction(46,!1,"delete"),g.bindAction(46,!0,
-"deleteAll"),g.bindAction(46,!1,"deleteLabels",!0),g.bindAction(36,!1,"resetView"),g.bindAction(72,!0,"fitWindow",!0),g.bindAction(74,!0,"fitPage"),g.bindAction(74,!0,"fitTwoPages",!0),g.bindAction(48,!0,"customZoom"),g.bindAction(82,!0,"turn"),g.bindAction(82,!0,"clearDefaultStyle",!0),g.bindAction(83,!0,"save"),g.bindAction(83,!0,"saveAs",!0),g.bindAction(65,!0,"selectAll"),g.bindAction(65,!0,"selectNone",!0),g.bindAction(73,!0,"selectVertices",!0),g.bindAction(69,!0,"selectEdges",!0),g.bindAction(69,
-!0,"editStyle"),g.bindAction(66,!0,"bold"),g.bindAction(66,!0,"toBack",!0),g.bindAction(70,!0,"toFront",!0),g.bindAction(68,!0,"duplicate"),g.bindAction(68,!0,"setAsDefaultStyle",!0),g.bindAction(90,!0,"undo"),g.bindAction(90,!0,"redo",!0),g.bindAction(89,!0,"redo"),g.bindAction(89,!0,"autosize",!0),g.bindAction(88,!0,"cut"),g.bindAction(67,!0,"copy"),g.bindAction(86,!0,"paste"),g.bindAction(71,!0,"group"),g.bindAction(77,!0,"editData"),g.bindAction(71,!0,"grid",!0),g.bindAction(73,!0,"italic"),g.bindAction(76,
-!0,"lockUnlock"),g.bindAction(76,!0,"layers",!0),g.bindAction(80,!0,"format",!0),g.bindAction(85,!0,"underline"),g.bindAction(85,!0,"ungroup",!0),g.bindAction(109,!0,"decreaseFontSize",!0),g.bindAction(107,!0,"increaseFontSize",!0),g.bindAction(219,!0,"decreaseFontSize",!0),g.bindAction(221,!0,"increaseFontSize",!0),g.bindAction(190,!0,"superscript"),g.bindAction(188,!0,"subscript"),g.bindAction(13,!1,"keyPressEnter"),g.bindKey(113,function(){e.isEnabled()&&e.startEditingAtCell()});return g};
-EditorUi.prototype.createHelpIcon=function(a){var b=document.createElement("div");b.setAttribute("title",mxResources.get("help"));b.style.display="inline";b.style.marginLeft="8px";b.style.marginRight="4px";b.style.cursor="help";var d=document.createElement("img");d.setAttribute("src",Editor.helpImage);d.setAttribute("valign","middle");d.setAttribute("border","0");d.className="geAdaptiveAsset";mxUtils.setOpacity(d,60);d.style.marginTop="-4px";d.style.height="16px";d.style.width="16px";b.appendChild(d);
-mxEvent.addListener(b,"click",mxUtils.bind(this,function(e){this.hideCurrentMenu();this.openLink(a);mxEvent.consume(e)}));return b};
+EditorUi.prototype.createKeyHandler=function(a){function b(w,z,C){if(!f.isSelectionEmpty()&&f.isEnabled()){z=null!=z?z:1;var F=f.getCompositeParents(f.getSelectionCells()),D=0<F.length?F[0]:null;if(null!=D)if(C){f.getModel().beginUpdate();try{for(D=0;D<F.length;D++)if(f.getModel().isVertex(F[D])&&f.isCellResizable(F[D])){var H=f.getCellGeometry(F[D]);null!=H&&(H=H.clone(),37==w?H.width=Math.max(0,H.width-z):38==w?H.height=Math.max(0,H.height-z):39==w?H.width+=z:40==w&&(H.height+=z),f.getModel().setGeometry(F[D],
+H))}}finally{f.getModel().endUpdate()}}else{H=f.model.getParent(D);var K=f.getView().scale;C=null;1==f.getSelectionCount()&&f.model.isVertex(D)&&null!=f.layoutManager&&!f.isCellLocked(D)&&(C=f.layoutManager.getLayout(H));if(null!=C&&C.constructor==mxStackLayout)z=H.getIndex(D),37==w||38==w?f.model.add(H,D,Math.max(0,z-1)):(39==w||40==w)&&f.model.add(H,D,Math.min(f.model.getChildCount(H),z+1));else{var G=f.graphHandler;null!=G&&(null==G.first&&G.start(D,0,0,f.getMovableCells(F)),null!=G.first&&(D=
+F=0,37==w?F=-z:38==w?D=-z:39==w?F=z:40==w&&(D=z),G.currentDx+=F*K,G.currentDy+=D*K,G.checkPreview(),G.updatePreview()),null!=g&&window.clearTimeout(g),g=window.setTimeout(function(){if(null!=G.first){var P=G.roundLength(G.currentDx/K),I=G.roundLength(G.currentDy/K);G.moveCells(G.cells,P,I);G.reset()}},400))}}}}var e=this,f=this.editor.graph,h=new mxKeyHandler(f),d=h.isEventIgnored;h.isEventIgnored=function(w){return!(mxEvent.isShiftDown(w)&&9==w.keyCode)&&(!this.isControlDown(w)||mxEvent.isShiftDown(w)||
+90!=w.keyCode&&89!=w.keyCode&&188!=w.keyCode&&190!=w.keyCode&&85!=w.keyCode)&&(66!=w.keyCode&&73!=w.keyCode||!this.isControlDown(w)||this.graph.cellEditor.isContentEditing()&&!mxClient.IS_FF&&!mxClient.IS_SF)&&(109!=w.keyCode&&107!=w.keyCode||!this.isControlDown(w)&&!mxEvent.isShiftDown(w)||!this.graph.cellEditor.isContentEditing()&&!mxClient.IS_FF&&!mxClient.IS_SF)&&d.apply(this,arguments)};h.isEnabledForEvent=function(w){return!mxEvent.isConsumed(w)&&this.isGraphEvent(w)&&this.isEnabled()&&(null==
+e.dialogs||0==e.dialogs.length)};h.isControlDown=function(w){return mxEvent.isControlDown(w)||mxClient.IS_MAC&&w.metaKey};var g=null,n={37:mxConstants.DIRECTION_WEST,38:mxConstants.DIRECTION_NORTH,39:mxConstants.DIRECTION_EAST,40:mxConstants.DIRECTION_SOUTH},q=h.getFunction;mxKeyHandler.prototype.getFunction=function(w){if(f.isEnabled()){var z=null;mxEvent.isShiftDown(w)&&this.isControlDown(w)&&mxEvent.isAltDown(w)?z=e.actions.get(e.ctrlAltShiftActions[w.keyCode]):mxEvent.isShiftDown(w)&&mxEvent.isAltDown(w)?
+z=e.actions.get(e.altShiftActions[w.keyCode]):this.isControlDown(w)&&mxEvent.isAltDown(w)&&(z=e.actions.get(e.ctrlAltActions[w.keyCode]));if(null!=z)return z.funct;if(null!=n[w.keyCode]&&!f.isSelectionEmpty())if(!this.isControlDown(w)&&mxEvent.isShiftDown(w)&&mxEvent.isAltDown(w)){if(f.model.isVertex(f.getSelectionCell()))return function(){var C=f.connectVertex(f.getSelectionCell(),n[w.keyCode],f.defaultEdgeLength,w,!0);null!=C&&0<C.length&&(1==C.length&&f.model.isEdge(C[0])?f.setSelectionCell(f.model.getTerminal(C[0],
+!1)):f.setSelectionCell(C[C.length-1]),f.scrollCellToVisible(f.getSelectionCell()),null!=e.hoverIcons&&e.hoverIcons.update(f.view.getState(f.getSelectionCell())))}}else return this.isControlDown(w)?function(){b(w.keyCode,mxEvent.isShiftDown(w)?f.gridSize:null,!0)}:function(){b(w.keyCode,mxEvent.isShiftDown(w)?f.gridSize:null)}}return q.apply(this,arguments)};h.bindAction=mxUtils.bind(this,function(w,z,C,F){var D=this.actions.get(C);null!=D&&(C=function(){D.isEnabled()&&D.funct.apply(this,arguments)},
+z?F?h.bindControlShiftKey(w,C):h.bindControlKey(w,C):F?h.bindShiftKey(w,C):h.bindKey(w,C))});var k=this,p=h.escape;h.escape=function(w){p.apply(this,arguments)};h.enter=function(){};h.bindControlShiftKey(36,function(){f.exitGroup()});h.bindControlShiftKey(35,function(){f.enterGroup()});h.bindShiftKey(36,function(){f.home()});h.bindKey(35,function(){f.refresh()});h.bindAction(80,!0,"print");h.bindAction(107,!0,"zoomIn");h.bindAction(109,!0,"zoomOut");h.bindAction(61,!0,"zoomIn");h.bindAction(187,!0,
+"zoomIn");h.bindAction(222,!0,"zoomIn");h.bindAction(173,!0,"zoomOut");h.bindAction(189,!0,"zoomOut");if(!this.editor.chromeless||this.editor.editable)h.bindAction(79,!0,"outline",!0),h.bindControlKey(36,function(){f.isEnabled()&&f.foldCells(!0)}),h.bindControlKey(35,function(){f.isEnabled()&&f.foldCells(!1)}),h.bindControlKey(13,function(){k.ctrlEnter()}),h.bindAction(8,!1,"delete"),h.bindAction(8,!0,"deleteAll"),h.bindAction(8,!1,"deleteLabels",!0),h.bindAction(46,!1,"delete"),h.bindAction(46,!0,
+"deleteAll"),h.bindAction(46,!1,"deleteLabels",!0),h.bindAction(36,!1,"resetView"),h.bindAction(72,!0,"fitWindow",!0),h.bindAction(74,!0,"fitPage"),h.bindAction(74,!0,"fitTwoPages",!0),h.bindAction(48,!0,"customZoom"),h.bindAction(82,!0,"turn"),h.bindAction(82,!0,"clearDefaultStyle",!0),h.bindAction(83,!0,"save"),h.bindAction(83,!0,"saveAs",!0),h.bindAction(65,!0,"selectAll"),h.bindAction(65,!0,"selectNone",!0),h.bindAction(73,!0,"selectVertices",!0),h.bindAction(69,!0,"selectEdges",!0),h.bindAction(69,
+!0,"editStyle"),h.bindAction(66,!0,"bold"),h.bindAction(66,!0,"toBack",!0),h.bindAction(70,!0,"toFront",!0),h.bindAction(68,!0,"duplicate"),h.bindAction(68,!0,"setAsDefaultStyle",!0),h.bindAction(90,!0,"undo"),h.bindAction(90,!0,"redo",!0),h.bindAction(89,!0,"redo"),h.bindAction(89,!0,"autosize",!0),h.bindAction(88,!0,"cut"),h.bindAction(67,!0,"copy"),h.bindAction(86,!0,"paste"),h.bindAction(71,!0,"group"),h.bindAction(77,!0,"editData"),h.bindAction(71,!0,"grid",!0),h.bindAction(73,!0,"italic"),h.bindAction(76,
+!0,"lockUnlock"),h.bindAction(76,!0,"layers",!0),h.bindAction(80,!0,"format",!0),h.bindAction(85,!0,"underline"),h.bindAction(85,!0,"ungroup",!0),h.bindAction(109,!0,"decreaseFontSize",!0),h.bindAction(107,!0,"increaseFontSize",!0),h.bindAction(219,!0,"decreaseFontSize",!0),h.bindAction(221,!0,"increaseFontSize",!0),h.bindAction(190,!0,"superscript"),h.bindAction(188,!0,"subscript"),h.bindAction(13,!1,"keyPressEnter"),h.bindKey(113,function(){f.isEnabled()&&f.startEditingAtCell()});return h};
+EditorUi.prototype.createHelpIcon=function(a){var b=document.createElement("div");b.setAttribute("title",mxResources.get("help"));b.style.display="inline";b.style.marginLeft="8px";b.style.marginRight="4px";b.style.cursor="help";var e=document.createElement("img");e.setAttribute("src",Editor.helpImage);e.setAttribute("valign","middle");e.setAttribute("border","0");e.className="geAdaptiveAsset";mxUtils.setOpacity(e,60);e.style.marginTop="-4px";e.style.height="16px";e.style.width="16px";b.appendChild(e);
+mxEvent.addListener(b,"click",mxUtils.bind(this,function(f){this.hideCurrentMenu();this.openLink(a);mxEvent.consume(f)}));return b};
EditorUi.prototype.destroy=function(){var a=this.editor.graph;null!=a&&null!=this.selectionStateListener&&(a.getSelectionModel().removeListener(this.selectionStateListener),a.getModel().removeListener(this.selectionStateListener),a.getView().removeListener(this.selectionStateListener),a.removeListener(this.selectionStateListener),this.selectionStateListener=null);null!=this.editor&&(this.editor.destroy(),this.editor=null);null!=this.menubar&&(this.menubar.destroy(),this.menubar=null);null!=this.toolbar&&
(this.toolbar.destroy(),this.toolbar=null);null!=this.sidebar&&(this.sidebar.destroy(),this.sidebar=null);null!=this.keyHandler&&(this.keyHandler.destroy(),this.keyHandler=null);null!=this.keydownHandler&&(mxEvent.removeListener(document,"keydown",this.keydownHandler),this.keydownHandler=null);null!=this.keyupHandler&&(mxEvent.removeListener(document,"keyup",this.keyupHandler),this.keyupHandler=null);null!=this.resizeHandler&&(mxEvent.removeListener(window,"resize",this.resizeHandler),this.resizeHandler=
null);null!=this.gestureHandler&&(mxEvent.removeGestureListeners(document,this.gestureHandler),this.gestureHandler=null);null!=this.orientationChangeHandler&&(mxEvent.removeListener(window,"orientationchange",this.orientationChangeHandler),this.orientationChangeHandler=null);null!=this.scrollHandler&&(mxEvent.removeListener(window,"scroll",this.scrollHandler),this.scrollHandler=null);if(null!=this.destroyFunctions){for(a=0;a<this.destroyFunctions.length;a++)this.destroyFunctions[a]();this.destroyFunctions=
null}var b=[this.menubarContainer,this.toolbarContainer,this.sidebarContainer,this.formatContainer,this.diagramContainer,this.footerContainer,this.chromelessToolbar,this.hsplit,this.layersDialog];for(a=0;a<b.length;a++)null!=b[a]&&null!=b[a].parentNode&&b[a].parentNode.removeChild(b[a])};function Sidebar(a,b){this.editorUi=a;this.container=b;this.palettes={};this.taglist={};this.lastCreated=0;this.showTooltips=!0;this.graph=a.createTemporaryGraph(this.editorUi.editor.graph.getStylesheet());this.graph.cellRenderer.minSvgStrokeWidth=this.minThumbStrokeWidth;this.graph.cellRenderer.antiAlias=this.thumbAntiAlias;this.graph.container.style.visibility="hidden";this.graph.shapeBackgroundColor="transparent";this.graph.foldingEnabled=!1;this.initialDefaultVertexStyle=mxUtils.clone(a.editor.graph.defaultVertexStyle);
this.initialDefaultEdgeStyle=mxUtils.clone(a.editor.graph.defaultEdgeStyle);this.ignoredStyles="html whiteSpace aspect points verticalLabelPosition labelPosition outlineConnect".split(" ").concat(Graph.cellStyles);this.container.style.overflow="visible";this.wrapper=document.createElement("div");this.wrapper.style.position="relative";this.wrapper.style.overflowX="hidden";this.wrapper.style.overflowY="auto";this.wrapper.style.left="0px";this.wrapper.style.top="0px";this.wrapper.style.right="0px";this.wrapper.style.boxSizing=
"border-box";this.wrapper.style.maxHeight="calc(100% - "+this.moreShapesHeight+"px)";this.container.appendChild(this.wrapper);a=this.createMoreShapes();this.container.appendChild(a);document.body.appendChild(this.graph.container);this.pointerUpHandler=mxUtils.bind(this,function(){if(null==this.tooltipCloseImage||"none"==this.tooltipCloseImage.style.display)this.showTooltips=!0,this.hideTooltip()});this.pointerDownHandler=mxUtils.bind(this,function(){if(null==this.tooltipCloseImage||"none"==this.tooltipCloseImage.style.display)this.showTooltips=
-!1,this.hideTooltip()});this.pointerMoveHandler=mxUtils.bind(this,function(d){if(300<Date.now()-this.lastCreated&&(null==this.tooltipCloseImage||"none"==this.tooltipCloseImage.style.display)){for(d=mxEvent.getSource(d);null!=d;){if(d==this.currentElt)return;d=d.parentNode}this.hideTooltip()}});this.pointerOutHandler=mxUtils.bind(this,function(d){null==d.toElement&&null==d.relatedTarget&&this.hideTooltip()});window.addEventListener?(document.addEventListener(mxClient.IS_POINTER?"pointerup":"mouseup",
+!1,this.hideTooltip()});this.pointerMoveHandler=mxUtils.bind(this,function(e){if(300<Date.now()-this.lastCreated&&(null==this.tooltipCloseImage||"none"==this.tooltipCloseImage.style.display)){for(e=mxEvent.getSource(e);null!=e;){if(e==this.currentElt)return;e=e.parentNode}this.hideTooltip()}});this.pointerOutHandler=mxUtils.bind(this,function(e){null==e.toElement&&null==e.relatedTarget&&this.hideTooltip()});window.addEventListener?(document.addEventListener(mxClient.IS_POINTER?"pointerup":"mouseup",
this.pointerUpHandler,!0),document.addEventListener(mxClient.IS_POINTER?"pointerdown":"mousedown",this.pointerDownHandler,!0),document.addEventListener(mxClient.IS_POINTER?"pointermove":"mousemove",this.pointerMoveHandler,!0),document.addEventListener(mxClient.IS_POINTER?"pointerout":"mouseout",this.pointerOutHandler,!0)):(mxEvent.addListener(document,mxClient.IS_POINTER?"pointerup":"mouseup",this.pointerUpHandler),mxEvent.addListener(document,mxClient.IS_POINTER?"pointerdown":"mousedown",this.pointerDownHandler),
-mxEvent.addListener(document,mxClient.IS_POINTER?"pointermove":"mousemove",this.pointerMoveHandler),mxEvent.addListener(document,mxClient.IS_POINTER?"pointerout":"mouseout",this.pointerOutHandler));mxEvent.addListener(b,"scroll",mxUtils.bind(this,function(){this.showTooltips=!0;this.hideTooltip()}));this.escapeListener=mxUtils.bind(this,function(d,e){null!=this.activeDragSource&&this.activeDragSource.isActive()&&this.activeDragSource.reset()});this.editorUi.editor.graph.addListener(mxEvent.ESCAPE,
+mxEvent.addListener(document,mxClient.IS_POINTER?"pointermove":"mousemove",this.pointerMoveHandler),mxEvent.addListener(document,mxClient.IS_POINTER?"pointerout":"mouseout",this.pointerOutHandler));mxEvent.addListener(b,"scroll",mxUtils.bind(this,function(){this.showTooltips=!0;this.hideTooltip()}));this.escapeListener=mxUtils.bind(this,function(e,f){null!=this.activeDragSource&&this.activeDragSource.isActive()&&this.activeDragSource.reset()});this.editorUi.editor.graph.addListener(mxEvent.ESCAPE,
this.escapeListener);this.init()}
Sidebar.prototype.init=function(){var a=STENCIL_PATH;this.addSearchPalette(!0);this.addGeneralPalette(!0);this.addMiscPalette(!1);this.addAdvancedPalette(!1);this.addBasicPalette(a);this.setCurrentSearchEntryLibrary("arrows");this.addStencilPalette("arrows",mxResources.get("arrows"),a+"/arrows.xml",";whiteSpace=wrap;html=1;fillColor=#ffffff;strokeColor=#000000;strokeWidth=2");this.setCurrentSearchEntryLibrary();this.addUmlPalette(!1);this.addBpmnPalette(a,!1);this.setCurrentSearchEntryLibrary("flowchart");this.addStencilPalette("flowchart",
"Flowchart",a+"/flowchart.xml",";whiteSpace=wrap;html=1;fillColor=#ffffff;strokeColor=#000000;strokeWidth=2");this.setCurrentSearchEntryLibrary();this.setCurrentSearchEntryLibrary("clipart");this.addImagePalette("clipart",mxResources.get("clipart"),a+"/clipart/","_128x128.png","Earth_globe Empty_Folder Full_Folder Gear Lock Software Virus Email Database Router_Icon iPad iMac Laptop MacBook Monitor_Tower Printer Server_Tower Workstation Firewall_02 Wireless_Router_N Credit_Card Piggy_Bank Graph Safe Shopping_Cart Suit1 Suit2 Suit3 Pilot1 Worker1 Soldier1 Doctor1 Tech1 Security1 Telesales1".split(" "),
@@ -2300,65 +2300,65 @@ Sidebar.prototype.expandedImage=mxClient.IS_SVG?"data:image/gif;base64,R0lGODlhD
"/expanded.gif";Sidebar.prototype.enableTooltips=!0;Sidebar.prototype.tooltipBorder=16;Sidebar.prototype.tooltipDelay=300;Sidebar.prototype.dropTargetDelay=200;Sidebar.prototype.gearImage=STENCIL_PATH+"/clipart/Gear_128x128.png";Sidebar.prototype.thumbWidth=42;Sidebar.prototype.thumbHeight=42;Sidebar.prototype.minThumbStrokeWidth=1;Sidebar.prototype.thumbAntiAlias=!1;Sidebar.prototype.thumbPadding=5<=document.documentMode?2:3;Sidebar.prototype.thumbBorder=2;Sidebar.prototype.moreShapesHeight=52;
Sidebar.prototype.livePreview=!0;Sidebar.prototype.searchClosedLibraries=!0;Sidebar.prototype.closedLibraryOpacity=null;"large"!=urlParams["sidebar-entries"]&&(Sidebar.prototype.thumbPadding=5<=document.documentMode?0:1,Sidebar.prototype.thumbBorder=1,Sidebar.prototype.thumbWidth=32,Sidebar.prototype.thumbHeight=30,Sidebar.prototype.minThumbStrokeWidth=1.3,Sidebar.prototype.thumbAntiAlias=!0);Sidebar.prototype.sidebarTitleSize=8;Sidebar.prototype.sidebarTitles=!1;Sidebar.prototype.tooltipTitles=!0;
Sidebar.prototype.maxTooltipWidth=400;Sidebar.prototype.maxTooltipHeight=400;Sidebar.prototype.addStencilsToIndex=!0;Sidebar.prototype.defaultImageWidth=80;Sidebar.prototype.defaultImageHeight=80;Sidebar.prototype.tooltipMouseDown=null;Sidebar.prototype.expandLibraries=!0;
-Sidebar.prototype.refresh=function(){this.graph.stylesheet.styles=mxUtils.clone(this.editorUi.editor.graph.getDefaultStylesheet().styles);var a=this.wrapper.scrollTop;this.wrapper.innerText="";var b=this.palettes;this.palettes={};var d=this.addPalette;this.addPalette=function(e,g,f,h){f=this.wasPaletteExpanded(b,e,f);return d.apply(this,arguments)};this.init(b);this.addPalette=d;window.setTimeout(mxUtils.bind(this,function(){this.wrapper.scrollTop=a}),0)};
-Sidebar.prototype.wasPaletteExpanded=function(a,b,d){a=null!=a&&null!=b?a[b]:null;null!=a&&2==a.length&&null!=a[1].firstChild&&(d="none"!=a[1].firstChild.style.display);return d};Sidebar.prototype.getEntryContainer=function(){return this.wrapper};Sidebar.prototype.appendChild=function(a){this.wrapper.appendChild(a)};
+Sidebar.prototype.refresh=function(){this.graph.stylesheet.styles=mxUtils.clone(this.editorUi.editor.graph.getDefaultStylesheet().styles);var a=this.wrapper.scrollTop;this.wrapper.innerText="";var b=this.palettes;this.palettes={};var e=this.addPalette;this.addPalette=function(f,h,d,g){d=this.wasPaletteExpanded(b,f,d);return e.apply(this,arguments)};this.init(b);this.addPalette=e;window.setTimeout(mxUtils.bind(this,function(){this.wrapper.scrollTop=a}),0)};
+Sidebar.prototype.wasPaletteExpanded=function(a,b,e){a=null!=a&&null!=b?a[b]:null;null!=a&&2==a.length&&null!=a[1].firstChild&&(e="none"!=a[1].firstChild.style.display);return e};Sidebar.prototype.getEntryContainer=function(){return this.wrapper};Sidebar.prototype.appendChild=function(a){this.wrapper.appendChild(a)};
Sidebar.prototype.getTooltipOffset=function(a,b){if(mxUtils.isAncestorNode(this.container,a))return b=b.height+2*this.tooltipBorder,new mxPoint(this.container.offsetWidth+2+this.editorUi.container.offsetLeft,Math.min(Math.max(document.body.clientHeight||0,document.documentElement.clientHeight)-b-20,Math.max(0,this.editorUi.container.offsetTop+this.container.offsetTop+a.offsetTop-this.wrapper.scrollTop-b/2+16)));a=a.getBoundingClientRect();return new mxPoint(a.x+a.width+this.tooltipBorder,a.y+a.height/
2-b.height/2-6)};
Sidebar.prototype.createMoreShapes=function(){var a=this.editorUi.createDiv("geSidebarFooter");a.style.position="absolute";a.style.overflow="hidden";a.style.display="inline-flex";a.style.alignItems="center";a.style.justifyContent="center";a.style.width="100%";a.style.marginTop="-1px";a.style.height=this.moreShapesHeight+"px";var b=document.createElement("button");b.className="geBtn gePrimaryBtn";b.style.display="inline-flex";b.style.alignItems="center";b.style.whiteSpace="nowrap";b.style.padding=
-"8px";b.style.margin="0px";b.innerHTML="<span>+</span>";var d=b.getElementsByTagName("span")[0];d.style.fontSize="18px";d.style.marginRight="5px";mxUtils.write(b,mxResources.get("moreShapes"));mxEvent.addListener(b,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(e){e.preventDefault()}));mxEvent.addListener(b,"click",mxUtils.bind(this,function(e){this.editorUi.actions.get("shapes").funct();mxEvent.consume(e)}));a.appendChild(b);return a};
-Sidebar.prototype.createTooltip=function(a,b,d,e,g,f,h,n,q,l,p){p=null!=p?p:!0;this.tooltipMouseDown=q;q=this.editorUi.editor.graph;if(null==this.tooltip){this.tooltip=document.createElement("div");this.tooltip.className="geSidebarTooltip";this.tooltip.style.userSelect="none";this.tooltip.style.zIndex=mxPopupMenu.prototype.zIndex-1;document.body.appendChild(this.tooltip);mxEvent.addMouseWheelListener(mxUtils.bind(this,function(z){this.hideTooltip()}),this.tooltip);this.graph2=new Graph(this.tooltip,
+"8px";b.style.margin="0px";b.innerHTML="<span>+</span>";var e=b.getElementsByTagName("span")[0];e.style.fontSize="18px";e.style.marginRight="5px";mxUtils.write(b,mxResources.get("moreShapes"));mxEvent.addListener(b,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(f){f.preventDefault()}));mxEvent.addListener(b,"click",mxUtils.bind(this,function(f){this.editorUi.actions.get("shapes").funct();mxEvent.consume(f)}));a.appendChild(b);return a};
+Sidebar.prototype.createTooltip=function(a,b,e,f,h,d,g,n,q,k,p){p=null!=p?p:!0;this.tooltipMouseDown=q;q=this.editorUi.editor.graph;if(null==this.tooltip){this.tooltip=document.createElement("div");this.tooltip.className="geSidebarTooltip";this.tooltip.style.userSelect="none";this.tooltip.style.zIndex=mxPopupMenu.prototype.zIndex-1;document.body.appendChild(this.tooltip);mxEvent.addMouseWheelListener(mxUtils.bind(this,function(z){this.hideTooltip()}),this.tooltip);this.graph2=new Graph(this.tooltip,
null,null,this.editorUi.editor.graph.getStylesheet());this.graph2.shapeBackgroundColor="transparent";this.graph2.resetViewOnRootChange=!1;this.graph2.foldingEnabled=!1;this.graph2.gridEnabled=!1;this.graph2.autoScroll=!1;this.graph2.setTooltips(!1);this.graph2.setConnectable(!1);this.graph2.setPanning(!1);this.graph2.setEnabled(!1);if(this.graph2.dialect==mxConstants.DIALECT_SVG){var w=this.graph2.view.getDrawPane().ownerSVGElement;null!=w&&(w.style.overflow="visible")}else this.graph2.view.canvas.style.overflow=
"visible";this.graph2.openLink=mxUtils.bind(this,function(){this.hideTooltip()});mxEvent.addGestureListeners(this.tooltip,mxUtils.bind(this,function(z){null!=this.tooltipMouseDown&&this.tooltipMouseDown(z);window.setTimeout(mxUtils.bind(this,function(){null!=this.tooltipCloseImage&&"none"!=this.tooltipCloseImage.style.display||this.hideTooltip()}),0)}),null,mxUtils.bind(this,function(z){this.hideTooltip()}));mxClient.IS_SVG||(this.graph2.view.canvas.style.position="relative");w=document.createElement("img");
-w.setAttribute("src",Dialog.prototype.closeImage);w.setAttribute("title",mxResources.get("close"));w.style.position="absolute";w.style.cursor="default";w.style.padding="8px";w.style.right="2px";w.style.top="2px";this.tooltip.appendChild(w);this.tooltipCloseImage=w;mxEvent.addListener(w,"click",mxUtils.bind(this,function(z){this.hideTooltip();mxEvent.consume(z)}))}this.tooltipCloseImage.style.display=l?"":"none";this.graph2.model.clear();this.graph2.view.setTranslate(this.tooltipBorder,this.tooltipBorder);
-this.graph2.view.scale=!n&&(d>this.maxTooltipWidth||e>this.maxTooltipHeight)?Math.round(100*Math.min(this.maxTooltipWidth/d,this.maxTooltipHeight/e))/100:1;this.tooltip.style.display="block";this.graph2.labelsVisible=null==f||f;f=mxClient.NO_FO;mxClient.NO_FO=Editor.prototype.originalNoForeignObject;l=mxUtils.getCurrentStyle(this.tooltip);this.graph2.shapeBackgroundColor=l.backgroundColor;null!=b&&(b=this.graph2.cloneCells(b),this.graph2.pasteCellStyles(q.includeDescendants(b),p?q.currentVertexStyle:
-q.defaultVertexStyle,p?q.currentEdgeStyle:q.defaultEdgeStyle,null,q.pasteEdgeStyle),this.graph2.addCells(b));mxClient.NO_FO=f;p=this.graph2.getGraphBounds();n&&0<d&&0<e&&(p.width>d||p.height>e)?(d=Math.round(100*Math.min(d/p.width,e/p.height))/100,mxClient.NO_FO?(this.graph2.view.setScale(Math.round(100*Math.min(this.maxTooltipWidth/p.width,this.maxTooltipHeight/p.height))/100),p=this.graph2.getGraphBounds()):(this.graph2.view.getDrawPane().ownerSVGElement.style.transform="scale("+d+")",this.graph2.view.getDrawPane().ownerSVGElement.style.transformOrigin=
-"0 0",p.width*=d,p.height*=d)):mxClient.NO_FO||(this.graph2.view.getDrawPane().ownerSVGElement.style.transform="");d=p.width+2*this.tooltipBorder+4;e=p.height+2*this.tooltipBorder;this.tooltip.style.overflow="visible";this.tooltip.style.width=d+"px";n=d;this.tooltipTitles&&null!=g&&0<g.length?(null==this.tooltipTitle?(this.tooltipTitle=document.createElement("div"),this.tooltipTitle.style.borderTop="1px solid gray",this.tooltipTitle.style.textAlign="center",this.tooltipTitle.style.width="100%",this.tooltipTitle.style.overflow=
-"hidden",this.tooltipTitle.style.position="absolute",this.tooltipTitle.style.paddingTop="6px",this.tooltipTitle.style.bottom="6px",this.tooltip.appendChild(this.tooltipTitle)):this.tooltipTitle.innerText="",this.tooltipTitle.style.display="",mxUtils.write(this.tooltipTitle,g),this.tooltipTitle.setAttribute("title",g),n=Math.min(this.maxTooltipWidth,Math.max(d,this.tooltipTitle.scrollWidth+4)),g=this.tooltipTitle.offsetHeight+10,e+=g,mxClient.IS_SVG?this.tooltipTitle.style.marginTop=2-g+"px":(e-=6,
-this.tooltipTitle.style.top=e-g+"px")):null!=this.tooltipTitle&&null!=this.tooltipTitle.parentNode&&(this.tooltipTitle.style.display="none");n>d&&(this.tooltip.style.width=n+"px");this.tooltip.style.height=e+"px";g=-Math.round(p.x-this.tooltipBorder)+(n>d?(n-d)/2:0);d=-Math.round(p.y-this.tooltipBorder);h=null!=h?h:this.getTooltipOffset(a,p);a=h.x;h=h.y;mxClient.IS_SVG?0!=g||0!=d?this.graph2.view.canvas.setAttribute("transform","translate("+g+","+d+")"):this.graph2.view.canvas.removeAttribute("transform"):
-(this.graph2.view.drawPane.style.left=g+"px",this.graph2.view.drawPane.style.top=d+"px");this.tooltip.style.position="absolute";this.tooltip.style.left=a+"px";this.tooltip.style.top=h+"px";mxUtils.fit(this.tooltip,this.tooltipBorder);this.lastCreated=Date.now()};
-Sidebar.prototype.showTooltip=function(a,b,d,e,g,f){if(this.enableTooltips&&this.showTooltips&&this.currentElt!=a){null!=this.thread&&(window.clearTimeout(this.thread),this.thread=null);var h=mxUtils.bind(this,function(){this.createTooltip(a,b,d,e,g,f)});null!=this.tooltip&&"none"!=this.tooltip.style.display?h():this.thread=window.setTimeout(h,this.tooltipDelay);this.currentElt=a}};
-Sidebar.prototype.hideTooltip=function(){null!=this.thread&&(window.clearTimeout(this.thread),this.thread=null);null!=this.tooltip&&(this.tooltip.style.display="none",this.currentElt=null);this.tooltipMouseDown=null};Sidebar.prototype.addDataEntry=function(a,b,d,e,g){null==a&&(a="");null!=e&&(a+=" "+e);return this.addEntry(a,mxUtils.bind(this,function(){return this.createVertexTemplateFromData(g,b,d,e)}))};
-Sidebar.prototype.addEntries=function(a){for(var b=0;b<a.length;b++)mxUtils.bind(this,function(d){var e=d.data,g=null!=d.title?d.title:"";null!=d.tags&&(g+=" "+d.tags);null!=e&&0<g.length?this.addEntry(g,mxUtils.bind(this,function(){e=this.editorUi.convertDataUri(e);var f="shape=image;verticalLabelPosition=bottom;verticalAlign=top;imageAspect=0;";"fixed"==d.aspect&&(f+="aspect=fixed;");return this.createVertexTemplate(f+"image="+e,d.w,d.h,"",d.title||"",!1,!1,!0)})):null!=d.xml&&0<g.length&&this.addEntry(g,
-mxUtils.bind(this,function(){var f=this.editorUi.stringToCells("<"==d.xml.charAt(0)?d.xml:Graph.decompress(d.xml));return this.createVertexTemplateFromCells(f,d.w,d.h,d.title||"",!0,!1,!0)}))})(a[b])};Sidebar.prototype.setCurrentSearchEntryLibrary=function(a,b){this.currentSearchEntryLibrary=null!=a?{id:a,lib:b}:null};
-Sidebar.prototype.getKeyStyle=function(a){var b=[];if(null!=a){a=a.split(";");for(var d=0;d<a.length;d++){var e=a[d].split("=");1<e.length&&0>mxUtils.indexOf(this.ignoredStyles,e[0])&&b.push(e[0]+"="+e[1])}}return b.join(";")};Sidebar.prototype.addLibForStyle=function(a,b){""!=a&&(null==this.styleToLibs&&(this.styleToLibs={}),null==this.styleToLibs[a]&&(this.styleToLibs[a]=[]),this.styleToLibs[a].push(b))};
+w.setAttribute("src",Dialog.prototype.closeImage);w.setAttribute("title",mxResources.get("close"));w.style.position="absolute";w.style.cursor="default";w.style.padding="8px";w.style.right="2px";w.style.top="2px";this.tooltip.appendChild(w);this.tooltipCloseImage=w;mxEvent.addListener(w,"click",mxUtils.bind(this,function(z){this.hideTooltip();mxEvent.consume(z)}))}this.tooltipCloseImage.style.display=k?"":"none";this.graph2.model.clear();this.graph2.view.setTranslate(this.tooltipBorder,this.tooltipBorder);
+this.graph2.view.scale=!n&&(e>this.maxTooltipWidth||f>this.maxTooltipHeight)?Math.round(100*Math.min(this.maxTooltipWidth/e,this.maxTooltipHeight/f))/100:1;this.tooltip.style.display="block";this.graph2.labelsVisible=null==d||d;d=mxClient.NO_FO;mxClient.NO_FO=Editor.prototype.originalNoForeignObject;k=mxUtils.getCurrentStyle(this.tooltip);this.graph2.shapeBackgroundColor=k.backgroundColor;null!=b&&(b=this.graph2.cloneCells(b),this.graph2.pasteCellStyles(q.includeDescendants(b),p?q.currentVertexStyle:
+q.defaultVertexStyle,p?q.currentEdgeStyle:q.defaultEdgeStyle,null,q.pasteEdgeStyle),this.graph2.addCells(b));mxClient.NO_FO=d;p=this.graph2.getGraphBounds();n&&0<e&&0<f&&(p.width>e||p.height>f)?(e=Math.round(100*Math.min(e/p.width,f/p.height))/100,mxClient.NO_FO?(this.graph2.view.setScale(Math.round(100*Math.min(this.maxTooltipWidth/p.width,this.maxTooltipHeight/p.height))/100),p=this.graph2.getGraphBounds()):(this.graph2.view.getDrawPane().ownerSVGElement.style.transform="scale("+e+")",this.graph2.view.getDrawPane().ownerSVGElement.style.transformOrigin=
+"0 0",p.width*=e,p.height*=e)):mxClient.NO_FO||(this.graph2.view.getDrawPane().ownerSVGElement.style.transform="");e=p.width+2*this.tooltipBorder+4;f=p.height+2*this.tooltipBorder;this.tooltip.style.overflow="visible";this.tooltip.style.width=e+"px";n=e;this.tooltipTitles&&null!=h&&0<h.length?(null==this.tooltipTitle?(this.tooltipTitle=document.createElement("div"),this.tooltipTitle.style.borderTop="1px solid gray",this.tooltipTitle.style.textAlign="center",this.tooltipTitle.style.width="100%",this.tooltipTitle.style.overflow=
+"hidden",this.tooltipTitle.style.position="absolute",this.tooltipTitle.style.paddingTop="6px",this.tooltipTitle.style.bottom="6px",this.tooltip.appendChild(this.tooltipTitle)):this.tooltipTitle.innerText="",this.tooltipTitle.style.display="",mxUtils.write(this.tooltipTitle,h),this.tooltipTitle.setAttribute("title",h),n=Math.min(this.maxTooltipWidth,Math.max(e,this.tooltipTitle.scrollWidth+4)),h=this.tooltipTitle.offsetHeight+10,f+=h,mxClient.IS_SVG?this.tooltipTitle.style.marginTop=2-h+"px":(f-=6,
+this.tooltipTitle.style.top=f-h+"px")):null!=this.tooltipTitle&&null!=this.tooltipTitle.parentNode&&(this.tooltipTitle.style.display="none");n>e&&(this.tooltip.style.width=n+"px");this.tooltip.style.height=f+"px";h=-Math.round(p.x-this.tooltipBorder)+(n>e?(n-e)/2:0);e=-Math.round(p.y-this.tooltipBorder);g=null!=g?g:this.getTooltipOffset(a,p);a=g.x;g=g.y;mxClient.IS_SVG?0!=h||0!=e?this.graph2.view.canvas.setAttribute("transform","translate("+h+","+e+")"):this.graph2.view.canvas.removeAttribute("transform"):
+(this.graph2.view.drawPane.style.left=h+"px",this.graph2.view.drawPane.style.top=e+"px");this.tooltip.style.position="absolute";this.tooltip.style.left=a+"px";this.tooltip.style.top=g+"px";mxUtils.fit(this.tooltip,this.tooltipBorder);this.lastCreated=Date.now()};
+Sidebar.prototype.showTooltip=function(a,b,e,f,h,d){if(this.enableTooltips&&this.showTooltips&&this.currentElt!=a){null!=this.thread&&(window.clearTimeout(this.thread),this.thread=null);var g=mxUtils.bind(this,function(){this.createTooltip(a,b,e,f,h,d)});null!=this.tooltip&&"none"!=this.tooltip.style.display?g():this.thread=window.setTimeout(g,this.tooltipDelay);this.currentElt=a}};
+Sidebar.prototype.hideTooltip=function(){null!=this.thread&&(window.clearTimeout(this.thread),this.thread=null);null!=this.tooltip&&(this.tooltip.style.display="none",this.currentElt=null);this.tooltipMouseDown=null};Sidebar.prototype.addDataEntry=function(a,b,e,f,h){null==a&&(a="");null!=f&&(a+=" "+f);return this.addEntry(a,mxUtils.bind(this,function(){return this.createVertexTemplateFromData(h,b,e,f)}))};
+Sidebar.prototype.addEntries=function(a){for(var b=0;b<a.length;b++)mxUtils.bind(this,function(e){var f=e.data,h=null!=e.title?e.title:"";null!=e.tags&&(h+=" "+e.tags);null!=f&&0<h.length?this.addEntry(h,mxUtils.bind(this,function(){f=this.editorUi.convertDataUri(f);var d="shape=image;verticalLabelPosition=bottom;verticalAlign=top;imageAspect=0;";"fixed"==e.aspect&&(d+="aspect=fixed;");return this.createVertexTemplate(d+"image="+f,e.w,e.h,"",e.title||"",!1,!1,!0)})):null!=e.xml&&0<h.length&&this.addEntry(h,
+mxUtils.bind(this,function(){var d=this.editorUi.stringToCells("<"==e.xml.charAt(0)?e.xml:Graph.decompress(e.xml));return this.createVertexTemplateFromCells(d,e.w,e.h,e.title||"",!0,!1,!0)}))})(a[b])};Sidebar.prototype.setCurrentSearchEntryLibrary=function(a,b){this.currentSearchEntryLibrary=null!=a?{id:a,lib:b}:null};
+Sidebar.prototype.getKeyStyle=function(a){var b=[];if(null!=a){a=a.split(";");for(var e=0;e<a.length;e++){var f=a[e].split("=");1<f.length&&0>mxUtils.indexOf(this.ignoredStyles,f[0])&&b.push(f[0]+"="+f[1])}}return b.join(";")};Sidebar.prototype.addLibForStyle=function(a,b){""!=a&&(null==this.styleToLibs&&(this.styleToLibs={}),null==this.styleToLibs[a]&&(this.styleToLibs[a]=[]),this.styleToLibs[a].push(b))};
Sidebar.prototype.getLibsForStyle=function(a){return null!=this.styleToLibs?this.styleToLibs[a]:null};
-Sidebar.prototype.addEntry=function(a,b){if(null!=this.currentSearchEntryLibrary){var d=this,e=this.createVertexTemplateFromCells;this.createVertexTemplateFromCells=function(n,q,l,p,w){if(null!=n)for(q=0;q<n.length;q++)d.addLibForStyle(d.getKeyStyle(n[q].style),this.currentSearchEntryLibrary)};b();this.createVertexTemplateFromCells=e}if(null!=this.taglist&&null!=a&&0<a.length){null!=this.currentSearchEntryLibrary&&(b.parentLibraries=[this.currentSearchEntryLibrary]);a=a.toLowerCase().replace(/[\/,\(\)]/g,
-" ").split(" ");e=[];for(var g={},f=0;f<a.length;f++){null==g[a[f]]&&(g[a[f]]=!0,e.push(a[f]));var h=Editor.soundex(a[f].replace(/\.*\d*$/,""));h!=a[f]&&null==g[h]&&(g[h]=!0,e.push(h))}for(f=0;f<e.length;f++)this.addEntryForTag(e[f],b)}return b};Sidebar.prototype.addEntryForTag=function(a,b){if(null!=a&&1<a.length){var d=this.taglist[a];"object"!==typeof d&&(d={entries:[]},this.taglist[a]=d);d.entries.push(b)}};
-Sidebar.prototype.isEntryIgnored=function(a,b){b=!b;if(null!=a.parentLibraries&&b)for(var d=0;d<a.parentLibraries.length;d++)if(this.isEntryVisible(a.parentLibraries[d].id)){b=!1;break}return b};
-Sidebar.prototype.searchEntries=function(a,b,d,e,g,f){if(null!=this.taglist&&null!=a){var h=a.toLowerCase().split(" ");a=new mxDictionary;g=(d+1)*b;for(var n=[],q=0,l=0;l<h.length;l++){var p=Editor.soundex(h[l].replace(/\.*\d*$/,""));if(0<p.length){n=this.taglist[h[l]];var w=null!=n?n.entries.slice():[];n=this.taglist[p];w=null!=n?w.concat(n.entries):w;p=new mxDictionary;if(0<w.length){n=[];for(var z=0;z<w.length;z++){var C=w[z];if(0==q==(null==a.get(C))&&null==p.get(C)&&(p.put(C,C),!this.isEntryIgnored(C,
-f)&&(n.push(C),l==h.length-1&&n.length==g))){e(n.slice(d*b,g),g,!0,h);return}}}else n=[];a=p;q++}}f=n.length;e(n.slice(d*b,(d+1)*b),f,!1,h)}else e([],null,null,h)};Sidebar.prototype.filterTags=function(a){if(null!=a){a=a.split(" ");for(var b=[],d={},e=0;e<a.length;e++)null==d[a[e]]&&(d[a[e]]="1",b.push(a[e]));return b.join(" ")}return null};Sidebar.prototype.cloneCell=function(a,b){a=a.clone();null!=b&&(a.value=b);return a};Sidebar.prototype.showPopupMenuForEntry=function(a,b,d){};
-Sidebar.prototype.addSearchPalette=function(a){function b(){h.setAttribute("src",Editor.magnifyImage);h.setAttribute("title",mxResources.get("search"));q.style.display="none";l=f.value="";D()}var d=document.createElement("div");d.style.visibility="hidden";this.appendChild(d);var e=document.createElement("div");e.className="geSidebar geSearchSidebar";a||(e.style.display="none");var g=document.createElement("div");g.style.whiteSpace="nowrap";g.style.textOverflow="clip";g.style.paddingBottom="8px";g.style.cursor=
-"default";var f=document.createElement("input");f.setAttribute("placeholder",mxResources.get("searchShapes"));f.setAttribute("type","text");g.appendChild(f);var h=document.createElement("img");h.setAttribute("src",Editor.magnifyImage);h.setAttribute("title",mxResources.get("search"));h.className="geAdaptiveAsset";h.style.position="relative";h.style.cursor="pointer";h.style.opacity="0.5";h.style.height="16px";h.style.left="-20px";h.style.top="4px";h.style.background="url('"+this.editorUi.editor.transparentImage+
-"')";g.appendChild(h);e.appendChild(g);var n=document.createElement("center"),q=mxUtils.button(mxResources.get("moreResults"),function(){G()});q.style.display="none";q.style.lineHeight="normal";q.style.fontSize="12px";q.style.padding="6px 12px 6px 12px";q.style.marginTop="4px";q.style.marginBottom="8px";n.style.paddingTop="4px";n.style.paddingBottom="4px";n.appendChild(q);e.appendChild(n);var l="",p=!1,w=!1,z=0,C={},F=12,D=mxUtils.bind(this,function(){p=!1;this.currentSearch=null;for(var K=e.firstChild;null!=
-K;){var I=K.nextSibling;K!=g&&K!=n&&K.parentNode.removeChild(K);K=I}});mxEvent.addListener(h,"click",function(){h.getAttribute("src")!=Editor.magnifyImage&&b();f.focus()});var G=mxUtils.bind(this,function(){F=4*Math.max(1,Math.floor(this.container.clientWidth/(this.thumbWidth+10)));this.hideTooltip();if(""!=f.value){if(null!=n.parentNode&&(l!=f.value&&(D(),l=f.value,C={},w=!1,z=0),!p&&!w)){q.setAttribute("disabled","true");q.style.display="";q.style.cursor="wait";q.innerHTML=mxResources.get("loading")+
-"...";p=!0;var K={};this.currentSearch=K;try{this.searchEntries(l,F,z,mxUtils.bind(this,function(I,O,H,Z){if(this.currentSearch==K){I=null!=I?I:[];p=!1;z++;this.insertSearchHint(e,l,F,z,I,O,H,Z);0==I.length&&1==z&&(l="");null!=n.parentNode&&n.parentNode.removeChild(n);for(O=0;O<I.length;O++)mxUtils.bind(this,function(S){try{var X=S();null!=this.closedLibraryOpacity&&this.searchClosedLibraries&&this.isEntryIgnored(S,!1)&&(X.style.opacity=this.closedLibraryOpacity);null==C[X.innerHTML]?(C[X.innerHTML]=
-null!=S.parentLibraries?S.parentLibraries.slice():[],e.appendChild(X)):null!=S.parentLibraries&&(C[X.innerHTML]=C[X.innerHTML].concat(S.parentLibraries));mxEvent.addGestureListeners(X,null,null,mxUtils.bind(this,function(Y){var M=C[X.innerHTML];mxEvent.isPopupTrigger(Y)&&this.showPopupMenuForEntry(X,M,Y)}));mxEvent.disableContextMenu(X)}catch(Y){"1"==urlParams.test&&(null==window.console||EditorUi.isElectronApp?(mxLog.show(),mxLog.debug(Y.stack)):console.error(Y))}})(I[O]);H?(q.removeAttribute("disabled"),
-q.innerHTML=mxResources.get("moreResults")):(q.innerHTML=mxResources.get("reset"),q.style.display="none",w=!0);q.style.cursor="";e.appendChild(n)}}),mxUtils.bind(this,function(){q.style.cursor=""}),this.searchClosedLibraries)}catch(I){this.editorUi.handleError(I)}}}else D(),l=f.value="",C={},q.style.display="none",w=!1,f.focus()});this.searchShapes=function(K){f.value=K;G()};mxEvent.addListener(f,"keydown",mxUtils.bind(this,function(K){13==K.keyCode?(G(),mxEvent.consume(K)):27==K.keyCode&&b()}));
-a=mxUtils.bind(this,function(){window.setTimeout(mxUtils.bind(this,function(){""==f.value?(h.setAttribute("src",Editor.magnifyImage),h.setAttribute("title",mxResources.get("search"))):(h.setAttribute("src",Editor.crossImage),h.setAttribute("title",mxResources.get("reset")));""==f.value?(w=!0,q.style.display="none"):f.value!=l?(q.style.display="none",w=!1):p||(q.style.display=w?"none":"")}),0)});mxEvent.addListener(f,"keyup",a);mxEvent.addListener(f,"paste",a);mxEvent.addListener(f,"cut",a);mxEvent.addListener(f,
-"mousedown",function(K){K.stopPropagation&&K.stopPropagation();K.cancelBubble=!0});mxEvent.addListener(f,"selectstart",function(K){K.stopPropagation&&K.stopPropagation();K.cancelBubble=!0});a=document.createElement("div");a.appendChild(e);this.appendChild(a);this.palettes.search=[d,a]};
-Sidebar.prototype.insertSearchHint=function(a,b,d,e,g,f,h,n){0==g.length&&1==e&&(d=document.createElement("div"),d.className="geTitle",d.style.cssText="background-color:transparent;border-color:transparent;padding:6px 0px 0px 0px !important;margin:4px 8px 4px 8px;text-align:center;cursor:default !important;font-size:11px;font-weight:normal;",mxUtils.write(d,mxResources.get("noResultsFor",[b])),a.appendChild(d))};
-Sidebar.prototype.addGeneralPalette=function(a){this.setCurrentSearchEntryLibrary("general","general");var b=this.editorUi.editor.graph,d=this,e=parseInt(this.initialDefaultVertexStyle.fontSize);e=isNaN(e)?"":"fontSize="+Math.min(16,e)+";";var g=b.appendFontSize("edgeLabel;resizable=0;html=1;",b.edgeFontSize),f=new mxCell("List Item",new mxGeometry(0,0,80,30),"text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;"+
-e);f.vertex=!0;b=[this.createVertexTemplateEntry("rounded=0;whiteSpace=wrap;html=1;",120,60,"","Rectangle",null,null,"rect rectangle box"),this.createVertexTemplateEntry("rounded=1;whiteSpace=wrap;html=1;",120,60,"","Rounded Rectangle",null,null,"rounded rect rectangle box"),this.createVertexTemplateEntry(b.appendFontSize("text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;",b.vertexFontSize),60,30,"Text","Text",null,null,"text textbox textarea label"),this.createVertexTemplateEntry("text;html=1;whiteSpace=wrap;overflow=hidden;rounded=0;",
+Sidebar.prototype.addEntry=function(a,b){if(null!=this.currentSearchEntryLibrary){var e=this,f=this.createVertexTemplateFromCells;this.createVertexTemplateFromCells=function(n,q,k,p,w){if(null!=n)for(q=0;q<n.length;q++)e.addLibForStyle(e.getKeyStyle(n[q].style),this.currentSearchEntryLibrary)};b();this.createVertexTemplateFromCells=f}if(null!=this.taglist&&null!=a&&0<a.length){null!=this.currentSearchEntryLibrary&&(b.parentLibraries=[this.currentSearchEntryLibrary]);a=a.toLowerCase().replace(/[\/,\(\)]/g,
+" ").split(" ");f=[];for(var h={},d=0;d<a.length;d++){null==h[a[d]]&&(h[a[d]]=!0,f.push(a[d]));var g=Editor.soundex(a[d].replace(/\.*\d*$/,""));g!=a[d]&&null==h[g]&&(h[g]=!0,f.push(g))}for(d=0;d<f.length;d++)this.addEntryForTag(f[d],b)}return b};Sidebar.prototype.addEntryForTag=function(a,b){if(null!=a&&1<a.length){var e=this.taglist[a];"object"!==typeof e&&(e={entries:[]},this.taglist[a]=e);e.entries.push(b)}};
+Sidebar.prototype.isEntryIgnored=function(a,b){b=!b;if(null!=a.parentLibraries&&b)for(var e=0;e<a.parentLibraries.length;e++)if(this.isEntryVisible(a.parentLibraries[e].id)){b=!1;break}return b};
+Sidebar.prototype.searchEntries=function(a,b,e,f,h,d){if(null!=this.taglist&&null!=a){var g=a.toLowerCase().split(" ");a=new mxDictionary;h=(e+1)*b;for(var n=[],q=0,k=0;k<g.length;k++){var p=Editor.soundex(g[k].replace(/\.*\d*$/,""));if(0<p.length){n=this.taglist[g[k]];var w=null!=n?n.entries.slice():[];n=this.taglist[p];w=null!=n?w.concat(n.entries):w;p=new mxDictionary;if(0<w.length){n=[];for(var z=0;z<w.length;z++){var C=w[z];if(0==q==(null==a.get(C))&&null==p.get(C)&&(p.put(C,C),!this.isEntryIgnored(C,
+d)&&(n.push(C),k==g.length-1&&n.length==h))){f(n.slice(e*b,h),h,!0,g);return}}}else n=[];a=p;q++}}d=n.length;f(n.slice(e*b,(e+1)*b),d,!1,g)}else f([],null,null,g)};Sidebar.prototype.filterTags=function(a){if(null!=a){a=a.split(" ");for(var b=[],e={},f=0;f<a.length;f++)null==e[a[f]]&&(e[a[f]]="1",b.push(a[f]));return b.join(" ")}return null};Sidebar.prototype.cloneCell=function(a,b){a=a.clone();null!=b&&(a.value=b);return a};Sidebar.prototype.showPopupMenuForEntry=function(a,b,e){};
+Sidebar.prototype.addSearchPalette=function(a){function b(){g.setAttribute("src",Editor.magnifyImage);g.setAttribute("title",mxResources.get("search"));q.style.display="none";k=d.value="";D()}var e=document.createElement("div");e.style.visibility="hidden";this.appendChild(e);var f=document.createElement("div");f.className="geSidebar geSearchSidebar";a||(f.style.display="none");var h=document.createElement("div");h.style.whiteSpace="nowrap";h.style.textOverflow="clip";h.style.paddingBottom="8px";h.style.cursor=
+"default";var d=document.createElement("input");d.setAttribute("placeholder",mxResources.get("searchShapes"));d.setAttribute("type","text");h.appendChild(d);var g=document.createElement("img");g.setAttribute("src",Editor.magnifyImage);g.setAttribute("title",mxResources.get("search"));g.className="geAdaptiveAsset";g.style.position="relative";g.style.cursor="pointer";g.style.opacity="0.5";g.style.height="16px";g.style.left="-20px";g.style.top="4px";g.style.background="url('"+this.editorUi.editor.transparentImage+
+"')";h.appendChild(g);f.appendChild(h);var n=document.createElement("center"),q=mxUtils.button(mxResources.get("moreResults"),function(){H()});q.style.display="none";q.style.lineHeight="normal";q.style.fontSize="12px";q.style.padding="6px 12px 6px 12px";q.style.marginTop="4px";q.style.marginBottom="8px";n.style.paddingTop="4px";n.style.paddingBottom="4px";n.appendChild(q);f.appendChild(n);var k="",p=!1,w=!1,z=0,C={},F=12,D=mxUtils.bind(this,function(){p=!1;this.currentSearch=null;for(var K=f.firstChild;null!=
+K;){var G=K.nextSibling;K!=h&&K!=n&&K.parentNode.removeChild(K);K=G}});mxEvent.addListener(g,"click",function(){g.getAttribute("src")!=Editor.magnifyImage&&b();d.focus()});var H=mxUtils.bind(this,function(){F=4*Math.max(1,Math.floor(this.container.clientWidth/(this.thumbWidth+10)));this.hideTooltip();if(""!=d.value){if(null!=n.parentNode&&(k!=d.value&&(D(),k=d.value,C={},w=!1,z=0),!p&&!w)){q.setAttribute("disabled","true");q.style.display="";q.style.cursor="wait";q.innerHTML=mxResources.get("loading")+
+"...";p=!0;var K={};this.currentSearch=K;try{this.searchEntries(k,F,z,mxUtils.bind(this,function(G,P,I,Z){if(this.currentSearch==K){G=null!=G?G:[];p=!1;z++;this.insertSearchHint(f,k,F,z,G,P,I,Z);0==G.length&&1==z&&(k="");null!=n.parentNode&&n.parentNode.removeChild(n);for(P=0;P<G.length;P++)mxUtils.bind(this,function(S){try{var Y=S();null!=this.closedLibraryOpacity&&this.searchClosedLibraries&&this.isEntryIgnored(S,!1)&&(Y.style.opacity=this.closedLibraryOpacity);null==C[Y.innerHTML]?(C[Y.innerHTML]=
+null!=S.parentLibraries?S.parentLibraries.slice():[],f.appendChild(Y)):null!=S.parentLibraries&&(C[Y.innerHTML]=C[Y.innerHTML].concat(S.parentLibraries));mxEvent.addGestureListeners(Y,null,null,mxUtils.bind(this,function(V){var L=C[Y.innerHTML];mxEvent.isPopupTrigger(V)&&this.showPopupMenuForEntry(Y,L,V)}));mxEvent.disableContextMenu(Y)}catch(V){"1"==urlParams.test&&(null==window.console||EditorUi.isElectronApp?(mxLog.show(),mxLog.debug(V.stack)):console.error(V))}})(G[P]);I?(q.removeAttribute("disabled"),
+q.innerHTML=mxResources.get("moreResults")):(q.innerHTML=mxResources.get("reset"),q.style.display="none",w=!0);q.style.cursor="";f.appendChild(n)}}),mxUtils.bind(this,function(){q.style.cursor=""}),this.searchClosedLibraries)}catch(G){this.editorUi.handleError(G)}}}else D(),k=d.value="",C={},q.style.display="none",w=!1,d.focus()});this.searchShapes=function(K){d.value=K;H()};mxEvent.addListener(d,"keydown",mxUtils.bind(this,function(K){13==K.keyCode?(H(),mxEvent.consume(K)):27==K.keyCode&&b()}));
+a=mxUtils.bind(this,function(){window.setTimeout(mxUtils.bind(this,function(){""==d.value?(g.setAttribute("src",Editor.magnifyImage),g.setAttribute("title",mxResources.get("search"))):(g.setAttribute("src",Editor.crossImage),g.setAttribute("title",mxResources.get("reset")));""==d.value?(w=!0,q.style.display="none"):d.value!=k?(q.style.display="none",w=!1):p||(q.style.display=w?"none":"")}),0)});mxEvent.addListener(d,"keyup",a);mxEvent.addListener(d,"paste",a);mxEvent.addListener(d,"cut",a);mxEvent.addListener(d,
+"mousedown",function(K){K.stopPropagation&&K.stopPropagation();K.cancelBubble=!0});mxEvent.addListener(d,"selectstart",function(K){K.stopPropagation&&K.stopPropagation();K.cancelBubble=!0});a=document.createElement("div");a.appendChild(f);this.appendChild(a);this.palettes.search=[e,a]};
+Sidebar.prototype.insertSearchHint=function(a,b,e,f,h,d,g,n){0==h.length&&1==f&&(e=document.createElement("div"),e.className="geTitle",e.style.cssText="background-color:transparent;border-color:transparent;padding:6px 0px 0px 0px !important;margin:4px 8px 4px 8px;text-align:center;cursor:default !important;font-size:11px;font-weight:normal;",mxUtils.write(e,mxResources.get("noResultsFor",[b])),a.appendChild(e))};
+Sidebar.prototype.addGeneralPalette=function(a){this.setCurrentSearchEntryLibrary("general","general");var b=this.editorUi.editor.graph,e=this,f=parseInt(this.initialDefaultVertexStyle.fontSize);f=isNaN(f)?"":"fontSize="+Math.min(16,f)+";";var h=b.appendFontSize("edgeLabel;resizable=0;html=1;",b.edgeFontSize),d=new mxCell("List Item",new mxGeometry(0,0,80,30),"text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;"+
+f);d.vertex=!0;b=[this.createVertexTemplateEntry("rounded=0;whiteSpace=wrap;html=1;",120,60,"","Rectangle",null,null,"rect rectangle box"),this.createVertexTemplateEntry("rounded=1;whiteSpace=wrap;html=1;",120,60,"","Rounded Rectangle",null,null,"rounded rect rectangle box"),this.createVertexTemplateEntry(b.appendFontSize("text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;",b.vertexFontSize),60,30,"Text","Text",null,null,"text textbox textarea label"),this.createVertexTemplateEntry("text;html=1;whiteSpace=wrap;overflow=hidden;rounded=0;",
180,120,'<h1 style="margin-top: 0px;">Heading</h1><p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>',"Textbox",null,null,"text textbox textarea"),this.createVertexTemplateEntry("ellipse;whiteSpace=wrap;html=1;",120,80,"","Ellipse",null,null,"oval ellipse state"),this.createVertexTemplateEntry("whiteSpace=wrap;html=1;aspect=fixed;",80,80,"","Square",null,null,"square"),this.createVertexTemplateEntry("ellipse;whiteSpace=wrap;html=1;aspect=fixed;",
80,80,"","Circle",null,null,"circle"),this.createVertexTemplateEntry("shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;",120,60,"","Process",null,null,"process task"),this.createVertexTemplateEntry("rhombus;whiteSpace=wrap;html=1;",80,80,"","Diamond",null,null,"diamond rhombus if condition decision conditional question test"),this.createVertexTemplateEntry("shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;fixedSize=1;",120,60,"","Parallelogram"),this.createVertexTemplateEntry("shape=hexagon;perimeter=hexagonPerimeter2;whiteSpace=wrap;html=1;fixedSize=1;",
120,80,"","Hexagon",null,null,"hexagon preparation"),this.createVertexTemplateEntry("triangle;whiteSpace=wrap;html=1;",60,80,"","Triangle",null,null,"triangle logic inverter buffer"),this.createVertexTemplateEntry("shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;size=15;",60,80,"","Cylinder",null,null,"cylinder data database"),this.createVertexTemplateEntry("ellipse;shape=cloud;whiteSpace=wrap;html=1;",120,80,"","Cloud",null,null,"cloud network"),this.createVertexTemplateEntry("shape=document;whiteSpace=wrap;html=1;boundedLbl=1;",
120,80,"","Document"),this.createVertexTemplateEntry("shape=internalStorage;whiteSpace=wrap;html=1;backgroundOutline=1;",80,80,"","Internal Storage"),this.createVertexTemplateEntry("shape=cube;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;darkOpacity=0.05;darkOpacity2=0.1;",120,80,"","Cube"),this.createVertexTemplateEntry("shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;",120,80,"","Step"),this.createVertexTemplateEntry("shape=trapezoid;perimeter=trapezoidPerimeter;whiteSpace=wrap;html=1;fixedSize=1;",
120,60,"","Trapezoid"),this.createVertexTemplateEntry("shape=tape;whiteSpace=wrap;html=1;",120,100,"","Tape"),this.createVertexTemplateEntry("shape=note;whiteSpace=wrap;html=1;backgroundOutline=1;darkOpacity=0.05;",80,100,"","Note"),this.createVertexTemplateEntry("shape=card;whiteSpace=wrap;html=1;",80,100,"","Card"),this.createVertexTemplateEntry("shape=callout;whiteSpace=wrap;html=1;perimeter=calloutPerimeter;",120,80,"","Callout",null,null,"bubble chat thought speech message"),this.createVertexTemplateEntry("shape=umlActor;verticalLabelPosition=bottom;verticalAlign=top;html=1;outlineConnect=0;",
30,60,"Actor","Actor",!1,null,"user person human stickman"),this.createVertexTemplateEntry("shape=xor;whiteSpace=wrap;html=1;",60,80,"","Or",null,null,"logic or"),this.createVertexTemplateEntry("shape=or;whiteSpace=wrap;html=1;",60,80,"","And",null,null,"logic and"),this.createVertexTemplateEntry("shape=dataStorage;whiteSpace=wrap;html=1;fixedSize=1;",100,80,"","Data Storage"),this.createVertexTemplateEntry("swimlane;startSize=0;",200,200,"","Container",null,null,"container swimlane lane pool group"),
-this.createVertexTemplateEntry("swimlane;whiteSpace=wrap;html=1;",200,200,"Vertical Container","Container",null,null,"container swimlane lane pool group"),this.createVertexTemplateEntry("swimlane;horizontal=0;whiteSpace=wrap;html=1;",200,200,"Horizontal Container","Horizontal Container",null,null,"container swimlane lane pool group"),this.addEntry("list group erd table",function(){var h=new mxCell("List",new mxGeometry(0,0,140,120),"swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;");
-h.vertex=!0;h.insert(d.cloneCell(f,"Item 1"));h.insert(d.cloneCell(f,"Item 2"));h.insert(d.cloneCell(f,"Item 3"));return d.createVertexTemplateFromCells([h],h.geometry.width,h.geometry.height,"List")}),this.addEntry("list item entry value group erd table",function(){return d.createVertexTemplateFromCells([d.cloneCell(f,"List Item")],f.geometry.width,f.geometry.height,"List Item")}),this.addEntry("curve",mxUtils.bind(this,function(){var h=new mxCell("",new mxGeometry(0,0,50,50),"curved=1;endArrow=classic;html=1;");
-h.geometry.setTerminalPoint(new mxPoint(0,50),!0);h.geometry.setTerminalPoint(new mxPoint(50,0),!1);h.geometry.points=[new mxPoint(50,50),new mxPoint(0,0)];h.geometry.relative=!0;h.edge=!0;return this.createEdgeTemplateFromCells([h],h.geometry.width,h.geometry.height,"Curve")})),this.createEdgeTemplateEntry("shape=flexArrow;endArrow=classic;startArrow=classic;html=1;",100,100,"","Bidirectional Arrow",null,"line lines connector connectors connection connections arrow arrows bidirectional"),this.createEdgeTemplateEntry("shape=flexArrow;endArrow=classic;html=1;",
+this.createVertexTemplateEntry("swimlane;whiteSpace=wrap;html=1;",200,200,"Vertical Container","Container",null,null,"container swimlane lane pool group"),this.createVertexTemplateEntry("swimlane;horizontal=0;whiteSpace=wrap;html=1;",200,200,"Horizontal Container","Horizontal Container",null,null,"container swimlane lane pool group"),this.addEntry("list group erd table",function(){var g=new mxCell("List",new mxGeometry(0,0,140,120),"swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;");
+g.vertex=!0;g.insert(e.cloneCell(d,"Item 1"));g.insert(e.cloneCell(d,"Item 2"));g.insert(e.cloneCell(d,"Item 3"));return e.createVertexTemplateFromCells([g],g.geometry.width,g.geometry.height,"List")}),this.addEntry("list item entry value group erd table",function(){return e.createVertexTemplateFromCells([e.cloneCell(d,"List Item")],d.geometry.width,d.geometry.height,"List Item")}),this.addEntry("curve",mxUtils.bind(this,function(){var g=new mxCell("",new mxGeometry(0,0,50,50),"curved=1;endArrow=classic;html=1;");
+g.geometry.setTerminalPoint(new mxPoint(0,50),!0);g.geometry.setTerminalPoint(new mxPoint(50,0),!1);g.geometry.points=[new mxPoint(50,50),new mxPoint(0,0)];g.geometry.relative=!0;g.edge=!0;return this.createEdgeTemplateFromCells([g],g.geometry.width,g.geometry.height,"Curve")})),this.createEdgeTemplateEntry("shape=flexArrow;endArrow=classic;startArrow=classic;html=1;",100,100,"","Bidirectional Arrow",null,"line lines connector connectors connection connections arrow arrows bidirectional"),this.createEdgeTemplateEntry("shape=flexArrow;endArrow=classic;html=1;",
50,50,"","Arrow",null,"line lines connector connectors connection connections arrow arrows directional directed"),this.createEdgeTemplateEntry("endArrow=none;dashed=1;html=1;",50,50,"","Dashed Line",null,"line lines connector connectors connection connections arrow arrows dashed undirected no"),this.createEdgeTemplateEntry("endArrow=none;dashed=1;html=1;dashPattern=1 3;strokeWidth=2;",50,50,"","Dotted Line",null,"line lines connector connectors connection connections arrow arrows dotted undirected no"),
this.createEdgeTemplateEntry("endArrow=none;html=1;",50,50,"","Line",null,"line lines connector connectors connection connections arrow arrows simple undirected plain blank no"),this.createEdgeTemplateEntry("endArrow=classic;startArrow=classic;html=1;",50,50,"","Bidirectional Connector",null,"line lines connector connectors connection connections arrow arrows bidirectional"),this.createEdgeTemplateEntry("endArrow=classic;html=1;",50,50,"","Directional Connector",null,"line lines connector connectors connection connections arrow arrows directional directed"),
-this.createEdgeTemplateEntry("shape=link;html=1;",100,0,"","Link",null,"line lines connector connectors connection connections arrow arrows link"),this.addEntry("line lines connector connectors connection connections arrow arrows edge title",mxUtils.bind(this,function(){var h=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=classic;html=1;");h.geometry.setTerminalPoint(new mxPoint(0,0),!0);h.geometry.setTerminalPoint(new mxPoint(100,0),!1);h.geometry.relative=!0;h.edge=!0;var n=new mxCell("Label",
-new mxGeometry(0,0,0,0),g+";align=center;verticalAlign=middle;");n.geometry.relative=!0;n.setConnectable(!1);n.vertex=!0;h.insert(n);return this.createEdgeTemplateFromCells([h],100,0,"Connector with Label")})),this.addEntry("line lines connector connectors connection connections arrow arrows edge title multiplicity",mxUtils.bind(this,function(){var h=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=classic;html=1;");h.geometry.setTerminalPoint(new mxPoint(0,0),!0);h.geometry.setTerminalPoint(new mxPoint(160,
-0),!1);h.geometry.relative=!0;h.edge=!0;var n=new mxCell("Label",new mxGeometry(0,0,0,0),g+";align=center;verticalAlign=middle;");n.geometry.relative=!0;n.setConnectable(!1);n.vertex=!0;h.insert(n);n=new mxCell("Source",new mxGeometry(-1,0,0,0),g+";align=left;verticalAlign=bottom;");n.geometry.relative=!0;n.setConnectable(!1);n.vertex=!0;h.insert(n);return this.createEdgeTemplateFromCells([h],160,0,"Connector with 2 Labels")})),this.addEntry("line lines connector connectors connection connections arrow arrows edge title multiplicity",
-mxUtils.bind(this,function(){var h=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=classic;html=1;");h.geometry.setTerminalPoint(new mxPoint(0,0),!0);h.geometry.setTerminalPoint(new mxPoint(160,0),!1);h.geometry.relative=!0;h.edge=!0;var n=new mxCell("Label",new mxGeometry(0,0,0,0),g+";align=center;verticalAlign=middle;");n.geometry.relative=!0;n.setConnectable(!1);n.vertex=!0;h.insert(n);n=new mxCell("Source",new mxGeometry(-1,0,0,0),g+";align=left;verticalAlign=bottom;");n.geometry.relative=!0;
-n.setConnectable(!1);n.vertex=!0;h.insert(n);n=new mxCell("Target",new mxGeometry(1,0,0,0),g+";align=right;verticalAlign=bottom;");n.geometry.relative=!0;n.setConnectable(!1);n.vertex=!0;h.insert(n);return this.createEdgeTemplateFromCells([h],160,0,"Connector with 3 Labels")})),this.addEntry("line lines connector connectors connection connections arrow arrows edge shape symbol message mail email",mxUtils.bind(this,function(){var h=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=classic;html=1;");
-h.geometry.setTerminalPoint(new mxPoint(0,0),!0);h.geometry.setTerminalPoint(new mxPoint(100,0),!1);h.geometry.relative=!0;h.edge=!0;var n=new mxCell("",new mxGeometry(0,0,20,14),"shape=message;html=1;outlineConnect=0;");n.geometry.relative=!0;n.vertex=!0;n.geometry.offset=new mxPoint(-10,-7);h.insert(n);return this.createEdgeTemplateFromCells([h],100,0,"Connector with Symbol")}))];this.addPaletteFunctions("general",mxResources.get("general"),null!=a?a:!0,b);this.setCurrentSearchEntryLibrary()};
-Sidebar.prototype.addMiscPalette=function(a){var b=this;this.setCurrentSearchEntryLibrary("general","misc");var d=[this.createVertexTemplateEntry("text;strokeColor=none;fillColor=none;html=1;fontSize=24;fontStyle=1;verticalAlign=middle;align=center;",100,40,"Title","Title",null,null,"text heading title"),this.createVertexTemplateEntry("text;strokeColor=none;fillColor=none;html=1;whiteSpace=wrap;verticalAlign=middle;overflow=hidden;",100,80,"<ul><li>Value 1</li><li>Value 2</li><li>Value 3</li></ul>",
+this.createEdgeTemplateEntry("shape=link;html=1;",100,0,"","Link",null,"line lines connector connectors connection connections arrow arrows link"),this.addEntry("line lines connector connectors connection connections arrow arrows edge title",mxUtils.bind(this,function(){var g=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=classic;html=1;");g.geometry.setTerminalPoint(new mxPoint(0,0),!0);g.geometry.setTerminalPoint(new mxPoint(100,0),!1);g.geometry.relative=!0;g.edge=!0;var n=new mxCell("Label",
+new mxGeometry(0,0,0,0),h+";align=center;verticalAlign=middle;");n.geometry.relative=!0;n.setConnectable(!1);n.vertex=!0;g.insert(n);return this.createEdgeTemplateFromCells([g],100,0,"Connector with Label")})),this.addEntry("line lines connector connectors connection connections arrow arrows edge title multiplicity",mxUtils.bind(this,function(){var g=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=classic;html=1;");g.geometry.setTerminalPoint(new mxPoint(0,0),!0);g.geometry.setTerminalPoint(new mxPoint(160,
+0),!1);g.geometry.relative=!0;g.edge=!0;var n=new mxCell("Label",new mxGeometry(0,0,0,0),h+";align=center;verticalAlign=middle;");n.geometry.relative=!0;n.setConnectable(!1);n.vertex=!0;g.insert(n);n=new mxCell("Source",new mxGeometry(-1,0,0,0),h+";align=left;verticalAlign=bottom;");n.geometry.relative=!0;n.setConnectable(!1);n.vertex=!0;g.insert(n);return this.createEdgeTemplateFromCells([g],160,0,"Connector with 2 Labels")})),this.addEntry("line lines connector connectors connection connections arrow arrows edge title multiplicity",
+mxUtils.bind(this,function(){var g=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=classic;html=1;");g.geometry.setTerminalPoint(new mxPoint(0,0),!0);g.geometry.setTerminalPoint(new mxPoint(160,0),!1);g.geometry.relative=!0;g.edge=!0;var n=new mxCell("Label",new mxGeometry(0,0,0,0),h+";align=center;verticalAlign=middle;");n.geometry.relative=!0;n.setConnectable(!1);n.vertex=!0;g.insert(n);n=new mxCell("Source",new mxGeometry(-1,0,0,0),h+";align=left;verticalAlign=bottom;");n.geometry.relative=!0;
+n.setConnectable(!1);n.vertex=!0;g.insert(n);n=new mxCell("Target",new mxGeometry(1,0,0,0),h+";align=right;verticalAlign=bottom;");n.geometry.relative=!0;n.setConnectable(!1);n.vertex=!0;g.insert(n);return this.createEdgeTemplateFromCells([g],160,0,"Connector with 3 Labels")})),this.addEntry("line lines connector connectors connection connections arrow arrows edge shape symbol message mail email",mxUtils.bind(this,function(){var g=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=classic;html=1;");
+g.geometry.setTerminalPoint(new mxPoint(0,0),!0);g.geometry.setTerminalPoint(new mxPoint(100,0),!1);g.geometry.relative=!0;g.edge=!0;var n=new mxCell("",new mxGeometry(0,0,20,14),"shape=message;html=1;outlineConnect=0;");n.geometry.relative=!0;n.vertex=!0;n.geometry.offset=new mxPoint(-10,-7);g.insert(n);return this.createEdgeTemplateFromCells([g],100,0,"Connector with Symbol")}))];this.addPaletteFunctions("general",mxResources.get("general"),null!=a?a:!0,b);this.setCurrentSearchEntryLibrary()};
+Sidebar.prototype.addMiscPalette=function(a){var b=this;this.setCurrentSearchEntryLibrary("general","misc");var e=[this.createVertexTemplateEntry("text;strokeColor=none;fillColor=none;html=1;fontSize=24;fontStyle=1;verticalAlign=middle;align=center;",100,40,"Title","Title",null,null,"text heading title"),this.createVertexTemplateEntry("text;strokeColor=none;fillColor=none;html=1;whiteSpace=wrap;verticalAlign=middle;overflow=hidden;",100,80,"<ul><li>Value 1</li><li>Value 2</li><li>Value 3</li></ul>",
"Unordered List"),this.createVertexTemplateEntry("text;strokeColor=none;fillColor=none;html=1;whiteSpace=wrap;verticalAlign=middle;overflow=hidden;",100,80,"<ol><li>Value 1</li><li>Value 2</li><li>Value 3</li></ol>","Ordered List"),this.createVertexTemplateEntry("shape=table;startSize=0;container=1;collapsible=0;childLayout=tableLayout;fontSize=11;fillColor=none;strokeColor=none;",60,60,"","Vertical List"),this.addDataEntry("vertical list",60,60,"Vertical List","7VjbbqMwEP0aXldcQrp9hfSyUvel3R9wwwRba2xkJiX063eMnaRNgxR2V1EUIYHkGWYGzznjI0SQ5NXmwbCa/9QFyCC5C5LcaI1uVW1ykDKIQ1EEySKI45DuIL4feBr1T8OaGVB4SkLsEt6YXIPzOEeDnfSOhrPaLpG9WlfWIDP4It6tLyR7qRUyocCQHfW2lKxuRB/tIriQxRPr9Bq3dbZWtqJsXyyy2SshZa6lttWUVu6FRv+GA6ffNxiEzWDvvcs3/gC6AjQdhbSiQO4i5g6ekIMoOX72scbZ5S5zDyQtPJbHcU1G4vqsW2qKayPeLZzSI3eIddOKSjIFj8CKA1emi26X9REwoTgYYbFGXfsICSv0y1eNqCtvGI9CeJTHwuj6FzMlbEOOkFVrobAHLs3oIijz8FsapNRxTna0t+my4QZzrWjHNEK2LLAGW2gOR2N+KuXxX1Eepf9O+ewL5T8QKvJEg9TTxlEw+QxLZKrsTxfHSvqD1HKB8FKzpQ1tSSLcYVM2ek/KENmagFpJO1YLLooC1HG+xs1Ezy6YuzdwJEcHNBH0GZOipJctXL2soQaEKp9c9fRUHpP/zqMvtgd7dDUmqXfFkM7aWhXNl+HY7fOkeUknibgoieg+k34GxZgPKcbwJEyKMUhrevWKcTMpxiUqRhKeTTG+DylGMinGeMW4uXrFuJ0E4gIEYna+T4ooHFKI2aQQ4xXi9toUgsz9zyUX/vHf0x8="),
-this.addEntry("vertical list",mxUtils.bind(this,function(){var e=new mxCell("Link",new mxGeometry(0,0,60,40),"text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;align=center;verticalAlign=middle;fontColor=#0000EE;fontStyle=4;");e.vertex=!0;this.graph.setLinkForCell(e,"https://www.draw.io");return this.createVertexTemplateFromCells([e],e.geometry.width,e.geometry.height,"Vertical List")})),this.addDataEntry("table",180,120,"Table 1","7VnbcpswEP0aXjtcYsd9NUnTh/Yl6Q8o1trSVEiMWAeTr+8KhGlSe2xwJpMSZvCMdtmVteccwY4IkjTb3VmWi5+GgwqS2yBJrTHYjLJdCkoFcSh5kNwEcRzSL4i/Hbkb1XfDnFnQeE5C3CQ8MbWFxtM4CqyUdxSC5W6I7NG5lgUyiw/y2flCsldGI5MaLNlRbSvF8kLW0U2EkIr/YJXZYjtPay3XlO0ni+Zk+/WARdgdral2+YLuwGSAtqKQUnIUPmLR1B0KkBvRpnkwQlY0js0+t4OIBh6lw4glPRG7NyWVJYyVzw4o5TF5jWJRykwxDd+B8VeupeHVPsua35AaZRzaUguw0qGIJvcRCtboh48G0WTesB6G8CBD3Jr8F7MbaEPWUqn2b7TRjvfcSI01cLMlXQRlGn6ZBTOqOCU76my6XLjF1GhaMYnDTQuswBKKwaTHw0i/egPOr87nnFaMkql7WCHTm3rDCMyU3xulkAgPOVu50JJ2fbN/tIvu2DjGsiGE1srp6UZIzkEfJqqfGGpawd4+QcNuNJSf5CQ/8570+Mk6LHvPxhSVphnSHtpqXvzD+X6dZ8lgNslgsAx2L0kbkSrmkyouVcX+xTwiWVxPfcKH6hOql6S/R9uwmJ4Mp+m6Hn3b8HWSwWAZjLdtiMJJFpfKYox9QxRNjcNHbBwW79g4RD2O5T7vsyE6fQz43z8Mepw2TkL4RM3DdCJ5uS5G0D2Q2X0rasL//pT0Bw=="),
+this.addEntry("vertical list",mxUtils.bind(this,function(){var f=new mxCell("Link",new mxGeometry(0,0,60,40),"text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;align=center;verticalAlign=middle;fontColor=#0000EE;fontStyle=4;");f.vertex=!0;this.graph.setLinkForCell(f,"https://www.draw.io");return this.createVertexTemplateFromCells([f],f.geometry.width,f.geometry.height,"Vertical List")})),this.addDataEntry("table",180,120,"Table 1","7VnbcpswEP0aXjtcYsd9NUnTh/Yl6Q8o1trSVEiMWAeTr+8KhGlSe2xwJpMSZvCMdtmVteccwY4IkjTb3VmWi5+GgwqS2yBJrTHYjLJdCkoFcSh5kNwEcRzSL4i/Hbkb1XfDnFnQeE5C3CQ8MbWFxtM4CqyUdxSC5W6I7N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fh3QzFq5snRY7sFUVAJBZ2ELnUKRp4NPfwz6IN/wHxwwPxnVQz9oBU+T52kUA8wJ6GX5+xI3oHaeu9wHaFzWQQga7pQNgJnqUwS0HtQwr+FEp2EMrqQietsp9vFvQlFYLQg3jgrnRQHoLfzPIv9sJV9+8bvNPv1W1JXFAqj1lCI+lB4JxS2/7tXFAvjPg34VGnA5i30j8gKJq3HwaDjx8H46rOCm1b2w559t7KCwG+NhVEfCx1LC4Kgzws+Y14w+cC8IDi8rGsOhHHHD4Tg9M3df38CHF4QNvQnPf2u5QbtN4c3fTBceXLA1d0Hotr99fej3w=="),
this.addDataEntry("table title",180,150,"Table with Title 1","7VnbbtswDP0avw6WXSfda5yue9he2v6AGjGRMFkyZKZO+vWjbOWyJVluQ9G6BmxApChaOudIIOQozYvFveOl/GkF6Ci9i9LcWYttq1jkoHWUxEpE6ThKkpjeKPl2oJc1vXHJHRg8ZUDSDnjheg6t54k/a2i9FS518FaSl76JTW86qpA7fFSv3pfG5JhYg1wZcORgja01LyvVhI+bCKm0+MGXdo6rRCuL0jn7C3KrrR8vYMrn2vunlDV8hQ3IDrMFh7A4uOLGFZZ7D7YAdEsKqZVAGSJuW1RiCWomV8Oy4ORV65itx24ApEbAcD+e6Q6e/4bywda0LGmdevUA6oDVNryNXatCcwPfgYu/XCMrlutR2ygqI8EpjyLaMkRomGJoPltEWwTDBRjivcwJZ8sn7mawCpkqrVefMdZ4QZRWGWyAy0b0EJR5/CWLMlpxTjbb2PT4cIe5NTRjEo1PC7zCGqqLSU/2k74MtARqj2ng5j9I4OZ0CdACUHH9ABPkZtZsLImFDluolgrhseQTH1rTEdFuM+OjN+QcIt0SYFPt5TWWSggw+3k7TxsNy+DuXqAlm11KV3p0jw7OpCck22B5djauaWmGI22puRHVDufreZ4kg6yXwcUyWPxJWodUMehVca0qWNI9WQz7suE9lg3DNywbbvuT4Thdw86XDV97GVwsg+6WDSzuZXGtLLpYNzDWFw7vsXBg7A0rB7Z7idcfDru3gsevBT/8aXDG7WMvhE9UPfRXktfrogPlA5mbP0tt+PaPp98="),
this.addDataEntry("table title",180,120,"Table with Title 2","7VhNb6MwEP01XFd8NNnmGtLtHrKXptq7Gw9grbGRmZSkv34HbEJ3CdtklaYoqgSSZxgP+L1nPwkvivPtvWFF9kNzkF5050Wx0RrtKN/GIKUX+oJ70cILQ59uL/w28DRonvoFM6DwmAmhnfDM5AZs5pE9SbDZEnfSZcuMFfUQm6fRvERmcCVe6lzkU2KtFTKhwFAiaGIpWVGKpnzRVGRC8iXb6Q22jdponogt8AddlW620dWSmpVuakLNV+5j/ObtRv+CWEtdv45DwjYS2zr7UcGUYrc4MAjbQYCalEPnHnQOaHZUUgmOmau4tSD6GYg0a6c5ZH1W2kS6n9vhTQMH+WH4ox78/0aeIKJlZdqIlxpvucejY6OJK5FLpuA7MP5Xaq75zqVQF24kIUE3fNKIOneBccv1DxLKjS4emUmhLUmElC0pSqtaJ4UWChuAJnO6CLLY/zLxJrSymOKgi+mqyw3GWhG/pKW6LbASKyixR7pQGRjx36SHh0nfOVoctW9pIDqDBG56EggGNUArQMHkA6yRqbTZiBnm0m2aKhMIq4Kt69KKjhS7LVVd3bF2gKTThKAJ2kTWQlxkgnNQLc1g7p7Bsh2cm6/ozU16cyI/rlmH5cndmKQlK4a0pzaKlz3S9995lA4mPR38bIahP3I9MClS0sDC1s5LeqFQ6dLOnA4I5hLi2P5J5evNfF6xHNXuvGqZfhrHGI1jekHj+NqTwLAGRnFQvPs5ML16k7gdNImRc//xJjEgjms2idmnSYzRJGYXNInA72kgGvdJ8e4HwezqXSIIBm1i5OR/vE0MqOOKbILC7v+iLX/9+/E3"),
@@ -2366,10 +2366,10 @@ this.addDataEntry("crossfunctional cross-functional cross functional flowchart s
this.addDataEntry("table",280,160,"Table","7Zpdc6IwFIZ/DfcksSqX1X7sxe6NdvY+ylEyjYQJsWp//QZIrDXSIkUdcZ3pTDiSNHmfHF5yRo8MF+tnSZPojwiBe+TRI0MphCpai/UQOPewz0KP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UA7Y+rjCFsC5K0k1U68dudg3m7Z4KhckZn5ZxfqKaZbNNGL1IOl89GuI5PENRb+SBo2UP0vM5B1O6c1E78QY2bWv1W4wlBnDshRhOFGITTo7j4qn3/o/Y1b9mdLYXzz5fCpTMfZ6PNx8V1pfADNa/Iv3ez3Tb/Vk5qd1OjdmEpHBHEwHdSnE+U4uBaOCaM/TPDVzG8XTFcRQOL4Q3OhUH/6sNmZP+LZywZGZy/NRn752jQv5yx3JaT4zbds2HgvpdZTRXjBE6HuvlyOd11f313/Q8="),
-this.createVertexTemplateEntry("text;html=1;whiteSpace=wrap;strokeColor=none;fillColor=none;overflow=fill;",180,180,'<table border="1" width="100%" height="100%" cellpadding="4" style="width:100%;height:100%;border-collapse:collapse;"><tr><th align="center"><b>Title</b></th></tr><tr><td align="center">Section 1.1\nSection 1.2\nSection 1.3</td></tr><tr><td align="center">Section 2.1\nSection 2.2\nSection 2.3</td></tr></table>',"HTML Table 4"),this.addEntry("link hyperlink",mxUtils.bind(this,function(){var e=
-new mxCell("Link",new mxGeometry(0,0,60,40),"text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;align=center;verticalAlign=middle;fontColor=#0000EE;fontStyle=4;");e.vertex=!0;this.graph.setLinkForCell(e,"https://www.draw.io");return this.createVertexTemplateFromCells([e],e.geometry.width,e.geometry.height,"Link")})),this.addEntry("timestamp date time text label",mxUtils.bind(this,function(){var e=new mxCell("%date{ddd mmm dd yyyy HH:MM:ss}%",new mxGeometry(0,0,160,20),"text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;overflow=hidden;");
-e.vertex=!0;this.graph.setAttributeForCell(e,"placeholders","1");return this.createVertexTemplateFromCells([e],e.geometry.width,e.geometry.height,"Timestamp")})),this.addEntry("variable placeholder metadata hello world text label",mxUtils.bind(this,function(){var e=new mxCell("%name% Text",new mxGeometry(0,0,80,20),"text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;overflow=hidden;");e.vertex=!0;this.graph.setAttributeForCell(e,"placeholders","1");this.graph.setAttributeForCell(e,
-"name","Variable");return this.createVertexTemplateFromCells([e],e.geometry.width,e.geometry.height,"Variable")})),this.createVertexTemplateEntry("shape=ext;double=1;rounded=0;whiteSpace=wrap;html=1;",120,80,"","Double Rectangle",null,null,"rect rectangle box double"),this.createVertexTemplateEntry("shape=ext;double=1;rounded=1;whiteSpace=wrap;html=1;",120,80,"","Double Rounded Rectangle",null,null,"rounded rect rectangle box double"),this.createVertexTemplateEntry("ellipse;shape=doubleEllipse;whiteSpace=wrap;html=1;",
+this.createVertexTemplateEntry("text;html=1;whiteSpace=wrap;strokeColor=none;fillColor=none;overflow=fill;",180,180,'<table border="1" width="100%" height="100%" cellpadding="4" style="width:100%;height:100%;border-collapse:collapse;"><tr><th align="center"><b>Title</b></th></tr><tr><td align="center">Section 1.1\nSection 1.2\nSection 1.3</td></tr><tr><td align="center">Section 2.1\nSection 2.2\nSection 2.3</td></tr></table>',"HTML Table 4"),this.addEntry("link hyperlink",mxUtils.bind(this,function(){var f=
+new mxCell("Link",new mxGeometry(0,0,60,40),"text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;align=center;verticalAlign=middle;fontColor=#0000EE;fontStyle=4;");f.vertex=!0;this.graph.setLinkForCell(f,"https://www.draw.io");return this.createVertexTemplateFromCells([f],f.geometry.width,f.geometry.height,"Link")})),this.addEntry("timestamp date time text label",mxUtils.bind(this,function(){var f=new mxCell("%date{ddd mmm dd yyyy HH:MM:ss}%",new mxGeometry(0,0,160,20),"text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;overflow=hidden;");
+f.vertex=!0;this.graph.setAttributeForCell(f,"placeholders","1");return this.createVertexTemplateFromCells([f],f.geometry.width,f.geometry.height,"Timestamp")})),this.addEntry("variable placeholder metadata hello world text label",mxUtils.bind(this,function(){var f=new mxCell("%name% Text",new mxGeometry(0,0,80,20),"text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;overflow=hidden;");f.vertex=!0;this.graph.setAttributeForCell(f,"placeholders","1");this.graph.setAttributeForCell(f,
+"name","Variable");return this.createVertexTemplateFromCells([f],f.geometry.width,f.geometry.height,"Variable")})),this.createVertexTemplateEntry("shape=ext;double=1;rounded=0;whiteSpace=wrap;html=1;",120,80,"","Double Rectangle",null,null,"rect rectangle box double"),this.createVertexTemplateEntry("shape=ext;double=1;rounded=1;whiteSpace=wrap;html=1;",120,80,"","Double Rounded Rectangle",null,null,"rounded rect rectangle box double"),this.createVertexTemplateEntry("ellipse;shape=doubleEllipse;whiteSpace=wrap;html=1;",
100,60,"","Double Ellipse",null,null,"oval ellipse start end state double"),this.createVertexTemplateEntry("shape=ext;double=1;whiteSpace=wrap;html=1;aspect=fixed;",80,80,"","Double Square",null,null,"double square"),this.createVertexTemplateEntry("ellipse;shape=doubleEllipse;whiteSpace=wrap;html=1;aspect=fixed;",80,80,"","Double Circle",null,null,"double circle"),this.createVertexTemplateEntry("rounded=1;whiteSpace=wrap;html=1;strokeWidth=2;fillWeight=4;hachureGap=8;hachureAngle=45;fillColor=#1ba1e2;sketch=1;",
120,60,"","Rectangle Sketch",!0,null,"rectangle rect box text sketch comic retro"),this.createVertexTemplateEntry("ellipse;whiteSpace=wrap;html=1;strokeWidth=2;fillWeight=2;hachureGap=8;fillColor=#990000;fillStyle=dots;sketch=1;",120,60,"","Ellipse Sketch",!0,null,"ellipse oval sketch comic retro"),this.createVertexTemplateEntry("rhombus;whiteSpace=wrap;html=1;strokeWidth=2;fillWeight=-1;hachureGap=8;fillStyle=cross-hatch;fillColor=#006600;sketch=1;",120,60,"","Diamond Sketch",!0,null,"diamond sketch comic retro"),
this.createVertexTemplateEntry("html=1;whiteSpace=wrap;shape=isoCube2;backgroundOutline=1;isoAngle=15;",90,100,"","Isometric Cube",!0,null,"cube box iso isometric"),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;aspect=fixed;shape=isoRectangle;",150,90,"","Isometric Square",!0,null,"rectangle rect box iso isometric"),this.createEdgeTemplateEntry("edgeStyle=isometricEdgeStyle;endArrow=none;html=1;",50,100,"","Isometric Edge 1"),this.createEdgeTemplateEntry("edgeStyle=isometricEdgeStyle;endArrow=none;html=1;elbow=vertical;",
@@ -2377,10 +2377,10 @@ this.createVertexTemplateEntry("html=1;whiteSpace=wrap;shape=isoCube2;background
10,"","Horizontal Line"),this.createVertexTemplateEntry("line;strokeWidth=2;direction=south;html=1;",10,160,"","Vertical Line"),this.createVertexTemplateEntry("line;strokeWidth=4;html=1;perimeter=backbonePerimeter;points=[];outlineConnect=0;",160,10,"","Horizontal Backbone",!1,null,"backbone bus network"),this.createVertexTemplateEntry("line;strokeWidth=4;direction=south;html=1;perimeter=backbonePerimeter;points=[];outlineConnect=0;",10,160,"","Vertical Backbone",!1,null,"backbone bus network"),this.createVertexTemplateEntry("shape=crossbar;whiteSpace=wrap;html=1;rounded=1;",
120,20,"","Horizontal Crossbar",!1,null,"crossbar distance measure dimension unit"),this.createVertexTemplateEntry("shape=crossbar;whiteSpace=wrap;html=1;rounded=1;direction=south;",20,120,"","Vertical Crossbar",!1,null,"crossbar distance measure dimension unit"),this.createVertexTemplateEntry("shape=image;html=1;verticalLabelPosition=bottom;verticalAlign=top;imageAspect=1;aspect=fixed;image="+this.gearImage,52,61,"","Image (Fixed Aspect)",!1,null,"fixed image icon symbol"),this.createVertexTemplateEntry("shape=image;html=1;verticalLabelPosition=bottom;verticalAlign=top;imageAspect=0;image="+
this.gearImage,50,60,"","Image (Variable Aspect)",!1,null,"strechted image icon symbol"),this.createVertexTemplateEntry("icon;html=1;image="+this.gearImage,60,60,"Icon","Icon",!1,null,"icon image symbol"),this.createVertexTemplateEntry("label;whiteSpace=wrap;html=1;image="+this.gearImage,140,60,"Label","Label 1",null,null,"label image icon symbol"),this.createVertexTemplateEntry("label;whiteSpace=wrap;html=1;align=center;verticalAlign=bottom;spacingLeft=0;spacingBottom=4;imageAlign=center;imageVerticalAlign=top;image="+
-this.gearImage,120,80,"Label","Label 2",null,null,"label image icon symbol"),this.addEntry("shape group container",function(){var e=new mxCell("Label",new mxGeometry(0,0,160,70),"html=1;whiteSpace=wrap;container=1;recursiveResize=0;collapsible=0;");e.vertex=!0;var g=new mxCell("",new mxGeometry(20,20,20,30),"triangle;html=1;whiteSpace=wrap;");g.vertex=!0;e.insert(g);return b.createVertexTemplateFromCells([e],e.geometry.width,e.geometry.height,"Shape Group")}),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;left=0;right=0;fillColor=none;",
+this.gearImage,120,80,"Label","Label 2",null,null,"label image icon symbol"),this.addEntry("shape group container",function(){var f=new mxCell("Label",new mxGeometry(0,0,160,70),"html=1;whiteSpace=wrap;container=1;recursiveResize=0;collapsible=0;");f.vertex=!0;var h=new mxCell("",new mxGeometry(20,20,20,30),"triangle;html=1;whiteSpace=wrap;");h.vertex=!0;f.insert(h);return b.createVertexTemplateFromCells([f],f.geometry.width,f.geometry.height,"Shape Group")}),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;left=0;right=0;fillColor=none;",
120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;bottom=0;top=0;fillColor=none;",120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;bottom=0;right=0;fillColor=none;",120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;bottom=1;right=1;left=1;top=0;fillColor=none;routingCenterX=-0.5;",120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=waypoint;sketch=0;fillStyle=solid;size=6;pointerEvents=1;points=[];fillColor=none;resizable=0;rotatable=0;perimeter=centerPerimeter;snapToPoint=1;",
20,20,"","Waypoint"),this.createEdgeTemplateEntry("edgeStyle=segmentEdgeStyle;endArrow=classic;html=1;curved=0;rounded=0;endSize=8;startSize=8;",50,50,"","Manual Line",null,"line lines connector connectors connection connections arrow arrows manual"),this.createEdgeTemplateEntry("shape=filledEdge;curved=0;rounded=0;fixDash=1;endArrow=none;strokeWidth=10;fillColor=#ffffff;edgeStyle=orthogonalEdgeStyle;html=1;",60,40,"","Filled Edge"),this.createEdgeTemplateEntry("edgeStyle=elbowEdgeStyle;elbow=horizontal;endArrow=classic;html=1;curved=0;rounded=0;endSize=8;startSize=8;",
-50,50,"","Horizontal Elbow",null,"line lines connector connectors connection connections arrow arrows elbow horizontal"),this.createEdgeTemplateEntry("edgeStyle=elbowEdgeStyle;elbow=vertical;endArrow=classic;html=1;curved=0;rounded=0;endSize=8;startSize=8;",50,50,"","Vertical Elbow",null,"line lines connector connectors connection connections arrow arrows elbow vertical")];this.addPaletteFunctions("misc",mxResources.get("misc"),null!=a?a:!0,d);this.setCurrentSearchEntryLibrary()};
+50,50,"","Horizontal Elbow",null,"line lines connector connectors connection connections arrow arrows elbow horizontal"),this.createEdgeTemplateEntry("edgeStyle=elbowEdgeStyle;elbow=vertical;endArrow=classic;html=1;curved=0;rounded=0;endSize=8;startSize=8;",50,50,"","Vertical Elbow",null,"line lines connector connectors connection connections arrow arrows elbow vertical")];this.addPaletteFunctions("misc",mxResources.get("misc"),null!=a?a:!0,e);this.setCurrentSearchEntryLibrary()};
Sidebar.prototype.addAdvancedPalette=function(a){this.setCurrentSearchEntryLibrary("general","advanced");this.addPaletteFunctions("advanced",mxResources.get("advanced"),null!=a?a:!1,this.createAdvancedShapes());this.setCurrentSearchEntryLibrary()};
Sidebar.prototype.addBasicPalette=function(a){this.setCurrentSearchEntryLibrary("basic");this.addStencilPalette("basic",mxResources.get("basic"),a+"/basic.xml",";whiteSpace=wrap;html=1;fillColor=#ffffff;strokeColor=#000000;strokeWidth=2",null,null,null,null,[this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;top=0;bottom=0;fillColor=none;",120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;right=0;top=0;bottom=0;fillColor=none;routingCenterX=-0.5;",
120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;bottom=0;right=0;fillColor=none;",120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;top=0;left=0;fillColor=none;",120,60,"","Partial Rectangle")]);this.setCurrentSearchEntryLibrary()};
@@ -2391,163 +2391,163 @@ Sidebar.prototype.createAdvancedShapes=function(){var a=this,b=new mxCell("List
60,60,"","Data Store",null,null,"data store cylinder database"),this.createVertexTemplateEntry("shape=orEllipse;perimeter=ellipsePerimeter;whiteSpace=wrap;html=1;backgroundOutline=1;",80,80,"","Or",null,null,"or circle oval ellipse"),this.createVertexTemplateEntry("shape=sumEllipse;perimeter=ellipsePerimeter;whiteSpace=wrap;html=1;backgroundOutline=1;",80,80,"","Sum",null,null,"sum circle oval ellipse"),this.createVertexTemplateEntry("shape=lineEllipse;perimeter=ellipsePerimeter;whiteSpace=wrap;html=1;backgroundOutline=1;",
80,80,"","Ellipse with horizontal divider",null,null,"circle oval ellipse"),this.createVertexTemplateEntry("shape=lineEllipse;line=vertical;perimeter=ellipsePerimeter;whiteSpace=wrap;html=1;backgroundOutline=1;",80,80,"","Ellipse with vertical divider",null,null,"circle oval ellipse"),this.createVertexTemplateEntry("shape=sortShape;perimeter=rhombusPerimeter;whiteSpace=wrap;html=1;",80,80,"","Sort",null,null,"sort"),this.createVertexTemplateEntry("shape=collate;whiteSpace=wrap;html=1;",80,80,"","Collate",
null,null,"collate"),this.createVertexTemplateEntry("shape=switch;whiteSpace=wrap;html=1;",60,60,"","Switch",null,null,"switch router"),this.addEntry("process bar",function(){return a.createVertexTemplateFromData("1ZVNboMwEIVP42UlfkqabCFtNokUiRO4MAWrBiPbKZDTd2xMSJMgVaraKgskzxs/e+YbS5AwqbqNpE25EzlwEj6TMJFC6GFVdQlwTgKP5SRckyDw8CPBy0zWt1mvoRJq/R1DMBg+KD/AoOylyEApFGMqh6zSPXdZ1bKK0xqjOCsZz7e0Fwdzk9I0ex+juBSSHUWtKTa09lF4Y5wngguJcS2sf9qTGq/bKEGxI+zHBi6lHe1Q9U7qlirthExwThvFXm2tRlFaine4uNYWGguZgxF9b5TShmasLlB78IPxfDocZqqgnBU1rjOswljjRrBaK4Mlikm0RqUtmQZzjvG0OFPTpa5GBg41SA3d7Lis5Ga1AVGBlj1uaVmuSzey1WKwlcCKcrR5w5w9qgahOHmn6ePCPYDbjyG8egyphgYV//odlLQBO3YwXTYgGV5nkRppP8U4+g7yFGflMPwOt+A2t9Hg6PSuUdfpGdUTwHOq0dPPoT7OQQ3uHepq+W9Qozmo4b1D9ZeLv6KK4fSjsbkv/6FP",
-296,100,"Process Bar")}),this.createVertexTemplateEntry("swimlane;",200,200,"Container","Container",null,null,"container swimlane lane pool group"),this.addEntry("list group erd table",function(){var d=new mxCell("List",new mxGeometry(0,0,140,110),"swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;fillColor=none;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;html=1;");d.vertex=!0;d.insert(a.cloneCell(b,"Item 1"));d.insert(a.cloneCell(b,
-"Item 2"));d.insert(a.cloneCell(b,"Item 3"));return a.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"List")}),this.addEntry("list item entry value group erd table",function(){return a.createVertexTemplateFromCells([a.cloneCell(b,"List Item")],b.geometry.width,b.geometry.height,"List Item")})]};
+296,100,"Process Bar")}),this.createVertexTemplateEntry("swimlane;",200,200,"Container","Container",null,null,"container swimlane lane pool group"),this.addEntry("list group erd table",function(){var e=new mxCell("List",new mxGeometry(0,0,140,110),"swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;fillColor=none;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;html=1;");e.vertex=!0;e.insert(a.cloneCell(b,"Item 1"));e.insert(a.cloneCell(b,
+"Item 2"));e.insert(a.cloneCell(b,"Item 3"));return a.createVertexTemplateFromCells([e],e.geometry.width,e.geometry.height,"List")}),this.addEntry("list item entry value group erd table",function(){return a.createVertexTemplateFromCells([a.cloneCell(b,"List Item")],b.geometry.width,b.geometry.height,"List Item")})]};
Sidebar.prototype.addBasicPalette=function(a){this.setCurrentSearchEntryLibrary("basic");this.addStencilPalette("basic",mxResources.get("basic"),a+"/basic.xml",";whiteSpace=wrap;html=1;fillColor=#ffffff;strokeColor=#000000;strokeWidth=2",null,null,null,null,[this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;top=0;bottom=0;fillColor=none;",120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;right=0;top=0;bottom=0;fillColor=none;routingCenterX=-0.5;",
120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;bottom=0;right=0;fillColor=none;",120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;top=0;left=0;fillColor=none;",120,60,"","Partial Rectangle")]);this.setCurrentSearchEntryLibrary()};
-Sidebar.prototype.addUmlPalette=function(a){var b=this,d=new mxCell("+ field: type",new mxGeometry(0,0,100,26),"text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;");d.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,40,8),"line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;strokeColor=inherit;");
-e.vertex=!0;this.setCurrentSearchEntryLibrary("uml");var g=[this.createVertexTemplateEntry("html=1;whiteSpace=wrap;",110,50,"Object","Object",null,null,"uml static class object instance"),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;",110,50,"&laquo;interface&raquo;<br><b>Name</b>","Interface",null,null,"uml static class interface object instance annotated annotation"),this.addEntry("uml static class object instance",function(){var f=new mxCell("Classname",new mxGeometry(0,0,160,90),"swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;");
-f.vertex=!0;f.insert(d.clone());f.insert(e.clone());f.insert(b.cloneCell(d,"+ method(type): type"));return b.createVertexTemplateFromCells([f],f.geometry.width,f.geometry.height,"Class")}),this.addEntry("uml static class section subsection",function(){var f=new mxCell("Classname",new mxGeometry(0,0,140,110),"swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;fillColor=none;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;");
-f.vertex=!0;f.insert(d.clone());f.insert(d.clone());f.insert(d.clone());return b.createVertexTemplateFromCells([f],f.geometry.width,f.geometry.height,"Class 2")}),this.addEntry("uml static class item member method function variable field attribute label",function(){return b.createVertexTemplateFromCells([b.cloneCell(d,"+ item: attribute")],d.geometry.width,d.geometry.height,"Item 1")}),this.addEntry("uml static class item member method function variable field attribute label",function(){var f=new mxCell("item: attribute",
-new mxGeometry(0,0,120,d.geometry.height),"label;fontStyle=0;strokeColor=none;fillColor=none;align=left;verticalAlign=top;overflow=hidden;spacingLeft=28;spacingRight=4;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;imageWidth=16;imageHeight=16;whiteSpace=wrap;html=1;image="+b.gearImage);f.vertex=!0;return b.createVertexTemplateFromCells([f],f.geometry.width,f.geometry.height,"Item 2")}),this.addEntry("uml static class divider hline line separator",function(){return b.createVertexTemplateFromCells([e.clone()],
-e.geometry.width,e.geometry.height,"Divider")}),this.addEntry("uml static class spacer space gap separator",function(){var f=new mxCell("",new mxGeometry(0,0,20,14),"text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=4;spacingRight=4;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;");f.vertex=!0;return b.createVertexTemplateFromCells([f.clone()],f.geometry.width,f.geometry.height,"Spacer")}),this.createVertexTemplateEntry("text;align=center;fontStyle=1;verticalAlign=middle;spacingLeft=3;spacingRight=3;strokeColor=none;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;",
-80,26,"Title","Title",null,null,"uml static class title label"),this.addEntry("uml static class component",function(){var f=new mxCell("&laquo;Annotation&raquo;<br/><b>Component</b>",new mxGeometry(0,0,180,90),"html=1;dropTarget=0;whiteSpace=wrap;");f.vertex=!0;var h=new mxCell("",new mxGeometry(1,0,20,20),"shape=module;jettyWidth=8;jettyHeight=4;");h.vertex=!0;h.geometry.relative=!0;h.geometry.offset=new mxPoint(-27,7);f.insert(h);return b.createVertexTemplateFromCells([f],f.geometry.width,f.geometry.height,
-"Component")}),this.addEntry("uml static class component",function(){var f=new mxCell('<p style="margin:0px;margin-top:6px;text-align:center;"><b>Component</b></p><hr size="1" style="border-style:solid;"/><p style="margin:0px;margin-left:8px;">+ Attribute1: Type<br/>+ Attribute2: Type</p>',new mxGeometry(0,0,180,90),"align=left;overflow=fill;html=1;dropTarget=0;whiteSpace=wrap;");f.vertex=!0;var h=new mxCell("",new mxGeometry(1,0,20,20),"shape=component;jettyWidth=8;jettyHeight=4;");h.vertex=!0;h.geometry.relative=
-!0;h.geometry.offset=new mxPoint(-24,4);f.insert(h);return b.createVertexTemplateFromCells([f],f.geometry.width,f.geometry.height,"Component with Attributes")}),this.createVertexTemplateEntry("verticalAlign=top;align=left;spacingTop=8;spacingLeft=2;spacingRight=12;shape=cube;size=10;direction=south;fontStyle=4;html=1;whiteSpace=wrap;",180,120,"Block","Block",null,null,"uml static class block"),this.createVertexTemplateEntry("shape=module;align=left;spacingLeft=20;align=center;verticalAlign=top;whiteSpace=wrap;html=1;",
+Sidebar.prototype.addUmlPalette=function(a){var b=this,e=new mxCell("+ field: type",new mxGeometry(0,0,100,26),"text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;");e.vertex=!0;var f=new mxCell("",new mxGeometry(0,0,40,8),"line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;strokeColor=inherit;");
+f.vertex=!0;this.setCurrentSearchEntryLibrary("uml");var h=[this.createVertexTemplateEntry("html=1;whiteSpace=wrap;",110,50,"Object","Object",null,null,"uml static class object instance"),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;",110,50,"&laquo;interface&raquo;<br><b>Name</b>","Interface",null,null,"uml static class interface object instance annotated annotation"),this.addEntry("uml static class object instance",function(){var d=new mxCell("Classname",new mxGeometry(0,0,160,90),"swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;");
+d.vertex=!0;d.insert(e.clone());d.insert(f.clone());d.insert(b.cloneCell(e,"+ method(type): type"));return b.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Class")}),this.addEntry("uml static class section subsection",function(){var d=new mxCell("Classname",new mxGeometry(0,0,140,110),"swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;fillColor=none;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;");
+d.vertex=!0;d.insert(e.clone());d.insert(e.clone());d.insert(e.clone());return b.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Class 2")}),this.addEntry("uml static class item member method function variable field attribute label",function(){return b.createVertexTemplateFromCells([b.cloneCell(e,"+ item: attribute")],e.geometry.width,e.geometry.height,"Item 1")}),this.addEntry("uml static class item member method function variable field attribute label",function(){var d=new mxCell("item: attribute",
+new mxGeometry(0,0,120,e.geometry.height),"label;fontStyle=0;strokeColor=none;fillColor=none;align=left;verticalAlign=top;overflow=hidden;spacingLeft=28;spacingRight=4;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;imageWidth=16;imageHeight=16;whiteSpace=wrap;html=1;image="+b.gearImage);d.vertex=!0;return b.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Item 2")}),this.addEntry("uml static class divider hline line separator",function(){return b.createVertexTemplateFromCells([f.clone()],
+f.geometry.width,f.geometry.height,"Divider")}),this.addEntry("uml static class spacer space gap separator",function(){var d=new mxCell("",new mxGeometry(0,0,20,14),"text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=4;spacingRight=4;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;");d.vertex=!0;return b.createVertexTemplateFromCells([d.clone()],d.geometry.width,d.geometry.height,"Spacer")}),this.createVertexTemplateEntry("text;align=center;fontStyle=1;verticalAlign=middle;spacingLeft=3;spacingRight=3;strokeColor=none;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;",
+80,26,"Title","Title",null,null,"uml static class title label"),this.addEntry("uml static class component",function(){var d=new mxCell("&laquo;Annotation&raquo;<br/><b>Component</b>",new mxGeometry(0,0,180,90),"html=1;dropTarget=0;whiteSpace=wrap;");d.vertex=!0;var g=new mxCell("",new mxGeometry(1,0,20,20),"shape=module;jettyWidth=8;jettyHeight=4;");g.vertex=!0;g.geometry.relative=!0;g.geometry.offset=new mxPoint(-27,7);d.insert(g);return b.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,
+"Component")}),this.addEntry("uml static class component",function(){var d=new mxCell('<p style="margin:0px;margin-top:6px;text-align:center;"><b>Component</b></p><hr size="1" style="border-style:solid;"/><p style="margin:0px;margin-left:8px;">+ Attribute1: Type<br/>+ Attribute2: Type</p>',new mxGeometry(0,0,180,90),"align=left;overflow=fill;html=1;dropTarget=0;whiteSpace=wrap;");d.vertex=!0;var g=new mxCell("",new mxGeometry(1,0,20,20),"shape=component;jettyWidth=8;jettyHeight=4;");g.vertex=!0;g.geometry.relative=
+!0;g.geometry.offset=new mxPoint(-24,4);d.insert(g);return b.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Component with Attributes")}),this.createVertexTemplateEntry("verticalAlign=top;align=left;spacingTop=8;spacingLeft=2;spacingRight=12;shape=cube;size=10;direction=south;fontStyle=4;html=1;whiteSpace=wrap;",180,120,"Block","Block",null,null,"uml static class block"),this.createVertexTemplateEntry("shape=module;align=left;spacingLeft=20;align=center;verticalAlign=top;whiteSpace=wrap;html=1;",
100,50,"Module","Module",null,null,"uml static class module component"),this.createVertexTemplateEntry("shape=folder;fontStyle=1;spacingTop=10;tabWidth=40;tabHeight=14;tabPosition=left;html=1;whiteSpace=wrap;",70,50,"package","Package",null,null,"uml static class package"),this.createVertexTemplateEntry("verticalAlign=top;align=left;overflow=fill;html=1;whiteSpace=wrap;",160,90,'<p style="margin:0px;margin-top:4px;text-align:center;text-decoration:underline;"><b>Object:Type</b></p><hr size="1" style="border-style:solid;"/><p style="margin:0px;margin-left:8px;">field1 = value1<br/>field2 = value2<br>field3 = value3</p>',
"Object",null,null,"uml static class object instance"),this.createVertexTemplateEntry("verticalAlign=top;align=left;overflow=fill;html=1;whiteSpace=wrap;",180,90,'<div style="box-sizing:border-box;width:100%;background:#e4e4e4;padding:2px;">Tablename</div><table style="width:100%;font-size:1em;" cellpadding="2" cellspacing="0"><tr><td>PK</td><td>uniqueId</td></tr><tr><td>FK1</td><td>foreignKey</td></tr><tr><td></td><td>fieldname</td></tr></table>',"Entity",null,null,"er entity table"),this.addEntry("uml static class object instance",
-function(){var f=new mxCell('<p style="margin:0px;margin-top:4px;text-align:center;"><b>Class</b></p><hr size="1" style="border-style:solid;"/><div style="height:2px;"></div>',new mxGeometry(0,0,140,60),"verticalAlign=top;align=left;overflow=fill;html=1;whiteSpace=wrap;");f.vertex=!0;return b.createVertexTemplateFromCells([f.clone()],f.geometry.width,f.geometry.height,"Class 3")}),this.addEntry("uml static class object instance",function(){var f=new mxCell('<p style="margin:0px;margin-top:4px;text-align:center;"><b>Class</b></p><hr size="1" style="border-style:solid;"/><div style="height:2px;"></div><hr size="1" style="border-style:solid;"/><div style="height:2px;"></div>',
-new mxGeometry(0,0,140,60),"verticalAlign=top;align=left;overflow=fill;html=1;whiteSpace=wrap;");f.vertex=!0;return b.createVertexTemplateFromCells([f.clone()],f.geometry.width,f.geometry.height,"Class 4")}),this.addEntry("uml static class object instance",function(){var f=new mxCell('<p style="margin:0px;margin-top:4px;text-align:center;"><b>Class</b></p><hr size="1" style="border-style:solid;"/><p style="margin:0px;margin-left:4px;">+ field: Type</p><hr size="1" style="border-style:solid;"/><p style="margin:0px;margin-left:4px;">+ method(): Type</p>',
-new mxGeometry(0,0,160,90),"verticalAlign=top;align=left;overflow=fill;html=1;whiteSpace=wrap;");f.vertex=!0;return b.createVertexTemplateFromCells([f.clone()],f.geometry.width,f.geometry.height,"Class 5")}),this.addEntry("uml static class object instance",function(){var f=new mxCell('<p style="margin:0px;margin-top:4px;text-align:center;"><i>&lt;&lt;Interface&gt;&gt;</i><br/><b>Interface</b></p><hr size="1" style="border-style:solid;"/><p style="margin:0px;margin-left:4px;">+ field1: Type<br/>+ field2: Type</p><hr size="1" style="border-style:solid;"/><p style="margin:0px;margin-left:4px;">+ method1(Type): Type<br/>+ method2(Type, Type): Type</p>',
-new mxGeometry(0,0,190,140),"verticalAlign=top;align=left;overflow=fill;html=1;whiteSpace=wrap;");f.vertex=!0;return b.createVertexTemplateFromCells([f.clone()],f.geometry.width,f.geometry.height,"Interface 2")}),this.createVertexTemplateEntry("shape=providedRequiredInterface;html=1;verticalLabelPosition=bottom;sketch=0;",20,20,"","Provided/Required Interface",null,null,"uml provided required interface lollipop notation"),this.createVertexTemplateEntry("shape=requiredInterface;html=1;verticalLabelPosition=bottom;sketch=0;",
+function(){var d=new mxCell('<p style="margin:0px;margin-top:4px;text-align:center;"><b>Class</b></p><hr size="1" style="border-style:solid;"/><div style="height:2px;"></div>',new mxGeometry(0,0,140,60),"verticalAlign=top;align=left;overflow=fill;html=1;whiteSpace=wrap;");d.vertex=!0;return b.createVertexTemplateFromCells([d.clone()],d.geometry.width,d.geometry.height,"Class 3")}),this.addEntry("uml static class object instance",function(){var d=new mxCell('<p style="margin:0px;margin-top:4px;text-align:center;"><b>Class</b></p><hr size="1" style="border-style:solid;"/><div style="height:2px;"></div><hr size="1" style="border-style:solid;"/><div style="height:2px;"></div>',
+new mxGeometry(0,0,140,60),"verticalAlign=top;align=left;overflow=fill;html=1;whiteSpace=wrap;");d.vertex=!0;return b.createVertexTemplateFromCells([d.clone()],d.geometry.width,d.geometry.height,"Class 4")}),this.addEntry("uml static class object instance",function(){var d=new mxCell('<p style="margin:0px;margin-top:4px;text-align:center;"><b>Class</b></p><hr size="1" style="border-style:solid;"/><p style="margin:0px;margin-left:4px;">+ field: Type</p><hr size="1" style="border-style:solid;"/><p style="margin:0px;margin-left:4px;">+ method(): Type</p>',
+new mxGeometry(0,0,160,90),"verticalAlign=top;align=left;overflow=fill;html=1;whiteSpace=wrap;");d.vertex=!0;return b.createVertexTemplateFromCells([d.clone()],d.geometry.width,d.geometry.height,"Class 5")}),this.addEntry("uml static class object instance",function(){var d=new mxCell('<p style="margin:0px;margin-top:4px;text-align:center;"><i>&lt;&lt;Interface&gt;&gt;</i><br/><b>Interface</b></p><hr size="1" style="border-style:solid;"/><p style="margin:0px;margin-left:4px;">+ field1: Type<br/>+ field2: Type</p><hr size="1" style="border-style:solid;"/><p style="margin:0px;margin-left:4px;">+ method1(Type): Type<br/>+ method2(Type, Type): Type</p>',
+new mxGeometry(0,0,190,140),"verticalAlign=top;align=left;overflow=fill;html=1;whiteSpace=wrap;");d.vertex=!0;return b.createVertexTemplateFromCells([d.clone()],d.geometry.width,d.geometry.height,"Interface 2")}),this.createVertexTemplateEntry("shape=providedRequiredInterface;html=1;verticalLabelPosition=bottom;sketch=0;",20,20,"","Provided/Required Interface",null,null,"uml provided required interface lollipop notation"),this.createVertexTemplateEntry("shape=requiredInterface;html=1;verticalLabelPosition=bottom;sketch=0;",
10,20,"","Required Interface",null,null,"uml required interface lollipop notation"),this.addDataEntry("uml lollipop notation provided required interface",20,20,"Required Interface","jVNBbuMwDHyN7o6N9L5x2l66QIEe9qy1GUutIhoUHTt9/VKWNo7bBu0hgDicYeQZSlX1cXok3Zvf2IJT1b2qakLkdDpONTinysK2qtqrsizkp8qHG93N3C16TeD5J4IyCU7aDZCQBAQ+uwwQDr6FyC9UtUNigx167Z4QewE3Ar4C8/nFvkeFHhgFMnx0uQu+/UWEo5RGu0NtqYmzI/5gncuDpcoT7qQKTPgGf2zLJk8Jb8CNyeQDes7sTSl1M9BpvmJkpi+AtoOVKaypg2xK9dmnmZVNegQ8AtNZKAROsz2tR+mQyu7Cu0if0crEspiyv9ukOKdyu9YHHKiBLFlSksPVHRZozu7rHKvvcxSB7UM0fjSW4aXXTeyMsnvrvLSznZdzI94ARSD00ESbDnaKLu8OEluNDqW59+jhEtgHkCDYd/13vkGMrQey8lFxaJ7+vCA7QtZ8xdbO4ThvTvivj07N3m13aruP6ziws17+1/t0xWUBTkAM0813cSPvMa9cZKSnUxiwneE19tUGrOJbspJyec8p2uvn/g8="),
this.addEntry("uml lollipop notation provided required interface",function(){return b.createVertexTemplateFromData("zZRNb9swDIZ/je6O3ey+OGsvG1Cgh55Vm7G0KqJB07HTXz/KUux4bbBdNvRgQHz5IYmPTFWUx/GBdGt+YA1OFd9UURIix9VxLME5lWe2VsVe5Xkmn8rvb3g3kzdrNYHnv0koYsJJux6iEoWOzy4JhL2vIcRnqtghscEGvXbfEVsRNyL+BObzk30LGbpnFMnw0SUv+PorEQ5iGu0OpaUq1A76vXUuFRYrVfgiVseEr/BsazapSvcKXJkUHA8JdQOre7OmBtK97963YopKfXgAPALTWUIInGZ7WpfSXTSbOW5OfUQrFfNsTBvFDmfnaG7X+R32VEFKWUDI4uoMizTh+RhV/n9RoWz0DtIKQroakJVbAD21urK+Sc6I4oZzYb35NDT/Nb67P+OTBNt24dcYjGUIPQueQabDGpN2tvGyrqQZQEHoWqhCXw52DPx3B2FWokNx7j16mH+p30SCzr7pl+kEAUV7ATZXf1yUHSFrvorWzuEwPZjukh86NfVuu1PbfXiFPTvrZV/v4xE3M/ETEMN4c3LdAHxJSKSGNCOClP5EA7YxvNY+egErmgs6MZcBHElfz+df",
40,10,"Lollipop Notation")}),this.createVertexTemplateEntry("shape=umlBoundary;whiteSpace=wrap;html=1;",100,80,"Boundary Object","Boundary Object",null,null,"uml boundary object"),this.createVertexTemplateEntry("ellipse;shape=umlEntity;whiteSpace=wrap;html=1;",80,80,"Entity Object","Entity Object",null,null,"uml entity object"),this.createVertexTemplateEntry("ellipse;shape=umlControl;whiteSpace=wrap;html=1;",70,80,"Control Object","Control Object",null,null,"uml control object"),this.createVertexTemplateEntry("shape=umlActor;verticalLabelPosition=bottom;verticalAlign=top;html=1;",
-30,60,"Actor","Actor",!1,null,"uml actor"),this.createVertexTemplateEntry("ellipse;whiteSpace=wrap;html=1;",140,70,"Use Case","Use Case",null,null,"uml use case usecase"),this.addEntry("uml activity state start",function(){var f=new mxCell("",new mxGeometry(0,0,30,30),"ellipse;html=1;shape=startState;fillColor=#000000;strokeColor=#ff0000;");f.vertex=!0;var h=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;");
-h.geometry.setTerminalPoint(new mxPoint(15,90),!1);h.geometry.relative=!0;h.edge=!0;f.insertEdge(h,!0);return b.createVertexTemplateFromCells([f,h],30,90,"Start")}),this.addEntry("uml activity state",function(){var f=new mxCell("Activity",new mxGeometry(0,0,120,40),"rounded=1;whiteSpace=wrap;html=1;arcSize=40;fontColor=#000000;fillColor=#ffffc0;strokeColor=#ff0000;");f.vertex=!0;var h=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;");
-h.geometry.setTerminalPoint(new mxPoint(60,100),!1);h.geometry.relative=!0;h.edge=!0;f.insertEdge(h,!0);return b.createVertexTemplateFromCells([f,h],120,100,"Activity")}),this.addEntry("uml activity composite state",function(){var f=new mxCell("Composite State",new mxGeometry(0,0,160,60),"swimlane;fontStyle=1;align=center;verticalAlign=middle;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=0;resizeLast=1;container=0;fontColor=#000000;collapsible=0;rounded=1;arcSize=30;strokeColor=#ff0000;fillColor=#ffffc0;swimlaneFillColor=#ffffc0;dropTarget=0;");
-f.vertex=!0;var h=new mxCell("Subtitle",new mxGeometry(0,0,200,26),"text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;fontColor=#000000;");h.vertex=!0;f.insert(h);h=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;");h.geometry.setTerminalPoint(new mxPoint(80,120),!1);h.geometry.relative=!0;h.edge=!0;f.insertEdge(h,
-!0);return b.createVertexTemplateFromCells([f,h],160,120,"Composite State")}),this.addEntry("uml activity condition",function(){var f=new mxCell("Condition",new mxGeometry(0,0,80,40),"rhombus;whiteSpace=wrap;html=1;fontColor=#000000;fillColor=#ffffc0;strokeColor=#ff0000;");f.vertex=!0;var h=new mxCell("no",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;align=left;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;");h.geometry.setTerminalPoint(new mxPoint(180,20),!1);
-h.geometry.relative=!0;h.geometry.x=-1;h.edge=!0;f.insertEdge(h,!0);var n=new mxCell("yes",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;align=left;verticalAlign=top;endArrow=open;endSize=8;strokeColor=#ff0000;");n.geometry.setTerminalPoint(new mxPoint(40,100),!1);n.geometry.relative=!0;n.geometry.x=-1;n.edge=!0;f.insertEdge(n,!0);return b.createVertexTemplateFromCells([f,h,n],180,100,"Condition")}),this.addEntry("uml activity fork join",function(){var f=new mxCell("",new mxGeometry(0,
-0,200,10),"shape=line;html=1;strokeWidth=6;strokeColor=#ff0000;");f.vertex=!0;var h=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;");h.geometry.setTerminalPoint(new mxPoint(100,80),!1);h.geometry.relative=!0;h.edge=!0;f.insertEdge(h,!0);return b.createVertexTemplateFromCells([f,h],200,80,"Fork/Join")}),this.createVertexTemplateEntry("ellipse;html=1;shape=endState;fillColor=#000000;strokeColor=#ff0000;",
+30,60,"Actor","Actor",!1,null,"uml actor"),this.createVertexTemplateEntry("ellipse;whiteSpace=wrap;html=1;",140,70,"Use Case","Use Case",null,null,"uml use case usecase"),this.addEntry("uml activity state start",function(){var d=new mxCell("",new mxGeometry(0,0,30,30),"ellipse;html=1;shape=startState;fillColor=#000000;strokeColor=#ff0000;");d.vertex=!0;var g=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;");
+g.geometry.setTerminalPoint(new mxPoint(15,90),!1);g.geometry.relative=!0;g.edge=!0;d.insertEdge(g,!0);return b.createVertexTemplateFromCells([d,g],30,90,"Start")}),this.addEntry("uml activity state",function(){var d=new mxCell("Activity",new mxGeometry(0,0,120,40),"rounded=1;whiteSpace=wrap;html=1;arcSize=40;fontColor=#000000;fillColor=#ffffc0;strokeColor=#ff0000;");d.vertex=!0;var g=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;");
+g.geometry.setTerminalPoint(new mxPoint(60,100),!1);g.geometry.relative=!0;g.edge=!0;d.insertEdge(g,!0);return b.createVertexTemplateFromCells([d,g],120,100,"Activity")}),this.addEntry("uml activity composite state",function(){var d=new mxCell("Composite State",new mxGeometry(0,0,160,60),"swimlane;fontStyle=1;align=center;verticalAlign=middle;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=0;resizeLast=1;container=0;fontColor=#000000;collapsible=0;rounded=1;arcSize=30;strokeColor=#ff0000;fillColor=#ffffc0;swimlaneFillColor=#ffffc0;dropTarget=0;");
+d.vertex=!0;var g=new mxCell("Subtitle",new mxGeometry(0,0,200,26),"text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;fontColor=#000000;");g.vertex=!0;d.insert(g);g=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;");g.geometry.setTerminalPoint(new mxPoint(80,120),!1);g.geometry.relative=!0;g.edge=!0;d.insertEdge(g,
+!0);return b.createVertexTemplateFromCells([d,g],160,120,"Composite State")}),this.addEntry("uml activity condition",function(){var d=new mxCell("Condition",new mxGeometry(0,0,80,40),"rhombus;whiteSpace=wrap;html=1;fontColor=#000000;fillColor=#ffffc0;strokeColor=#ff0000;");d.vertex=!0;var g=new mxCell("no",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;align=left;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;");g.geometry.setTerminalPoint(new mxPoint(180,20),!1);
+g.geometry.relative=!0;g.geometry.x=-1;g.edge=!0;d.insertEdge(g,!0);var n=new mxCell("yes",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;align=left;verticalAlign=top;endArrow=open;endSize=8;strokeColor=#ff0000;");n.geometry.setTerminalPoint(new mxPoint(40,100),!1);n.geometry.relative=!0;n.geometry.x=-1;n.edge=!0;d.insertEdge(n,!0);return b.createVertexTemplateFromCells([d,g,n],180,100,"Condition")}),this.addEntry("uml activity fork join",function(){var d=new mxCell("",new mxGeometry(0,
+0,200,10),"shape=line;html=1;strokeWidth=6;strokeColor=#ff0000;");d.vertex=!0;var g=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;");g.geometry.setTerminalPoint(new mxPoint(100,80),!1);g.geometry.relative=!0;g.edge=!0;d.insertEdge(g,!0);return b.createVertexTemplateFromCells([d,g],200,80,"Fork/Join")}),this.createVertexTemplateEntry("ellipse;html=1;shape=endState;fillColor=#000000;strokeColor=#ff0000;",
30,30,"","End",null,null,"uml activity state end"),this.createVertexTemplateEntry('shape=umlLifeline;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=1;dropTarget=0;collapsible=0;recursiveResize=0;outlineConnect=0;portConstraint=eastwest;newEdgeStyle={"curved":0,"rounded":0};',100,300,":Object","Lifeline",null,null,"uml sequence participant lifeline"),this.createVertexTemplateEntry('shape=umlLifeline;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=1;dropTarget=0;collapsible=0;recursiveResize=0;outlineConnect=0;portConstraint=eastwest;newEdgeStyle={"curved":0,"rounded":0};participant=umlActor;',
20,300,"","Actor Lifeline",null,null,"uml sequence participant lifeline actor"),this.createVertexTemplateEntry('shape=umlLifeline;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=1;dropTarget=0;collapsible=0;recursiveResize=0;outlineConnect=0;portConstraint=eastwest;newEdgeStyle={"curved":0,"rounded":0};participant=umlBoundary;',50,300,"","Boundary Lifeline",null,null,"uml sequence participant lifeline boundary"),this.createVertexTemplateEntry('shape=umlLifeline;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=1;dropTarget=0;collapsible=0;recursiveResize=0;outlineConnect=0;portConstraint=eastwest;newEdgeStyle={"curved":0,"rounded":0};participant=umlEntity;',
40,300,"","Entity Lifeline",null,null,"uml sequence participant lifeline entity"),this.createVertexTemplateEntry('shape=umlLifeline;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=1;dropTarget=0;collapsible=0;recursiveResize=0;outlineConnect=0;portConstraint=eastwest;newEdgeStyle={"curved":0,"rounded":0};participant=umlControl;',40,300,"","Control Lifeline",null,null,"uml sequence participant lifeline control"),this.createVertexTemplateEntry("shape=umlFrame;whiteSpace=wrap;html=1;pointerEvents=0;",
-300,200,"frame","Frame",null,null,"uml sequence frame"),this.createVertexTemplateEntry("shape=umlDestroy;whiteSpace=wrap;html=1;strokeWidth=3;targetShapes=umlLifeline;",30,30,"","Destruction",null,null,"uml sequence destruction destroy"),this.addEntry("uml sequence invoke invocation call activation bar",function(){var f=new mxCell("",new mxGeometry(0,0,10,80),'html=1;points=[[0,0,0,0,5],[0,1,0,0,-5],[1,0,0,0,5],[1,1,0,0,-5]];perimeter=orthogonalPerimeter;outlineConnect=0;targetShapes=umlLifeline;portConstraint=eastwest;newEdgeStyle={"curved":0,"rounded":0};');
-f.vertex=!0;var h=new mxCell("dispatch",new mxGeometry(0,0,0,0),"html=1;verticalAlign=bottom;startArrow=oval;endArrow=block;startSize=8;curved=0;rounded=0;entryX=0;entryY=0;entryDx=0;entryDy=5;");h.geometry.setTerminalPoint(new mxPoint(-70,5),!0);h.geometry.relative=!0;h.edge=!0;f.insertEdge(h,!1);return b.createVertexTemplateFromCells([f,h],10,80,"Found Message")}),this.addEntry("uml sequence invoke call delegation synchronous invocation activation bar",function(){var f=new mxCell("",new mxGeometry(0,
-0,10,80),'html=1;points=[[0,0,0,0,5],[0,1,0,0,-5],[1,0,0,0,5],[1,1,0,0,-5]];perimeter=orthogonalPerimeter;outlineConnect=0;targetShapes=umlLifeline;portConstraint=eastwest;newEdgeStyle={"curved":0,"rounded":0};');f.vertex=!0;var h=new mxCell("dispatch",new mxGeometry(0,0,0,0),"html=1;verticalAlign=bottom;endArrow=block;curved=0;rounded=0;entryX=0;entryY=0;entryDx=0;entryDy=5;");h.geometry.setTerminalPoint(new mxPoint(-70,5),!0);h.geometry.relative=!0;h.edge=!0;f.insertEdge(h,!1);var n=new mxCell("return",
-new mxGeometry(0,0,0,0),"html=1;verticalAlign=bottom;endArrow=open;dashed=1;endSize=8;curved=0;rounded=0;exitX=0;exitY=1;exitDx=0;exitDy=-5;");n.geometry.setTerminalPoint(new mxPoint(-70,75),!1);n.geometry.relative=!0;n.edge=!0;f.insertEdge(n,!0);return b.createVertexTemplateFromCells([f,h,n],10,80,"Synchronous Invocation")}),this.addEntry("uml sequence self call recursion delegation activation bar",function(){var f=new mxCell("",new mxGeometry(-5,20,10,40),'html=1;points=[[0,0,0,0,5],[0,1,0,0,-5],[1,0,0,0,5],[1,1,0,0,-5]];perimeter=orthogonalPerimeter;outlineConnect=0;targetShapes=umlLifeline;portConstraint=eastwest;newEdgeStyle={"curved":0,"rounded":0};');
-f.vertex=!0;var h=new mxCell("self call",new mxGeometry(0,0,0,0),"html=1;align=left;spacingLeft=2;endArrow=block;rounded=0;edgeStyle=orthogonalEdgeStyle;curved=0;rounded=0;");h.geometry.setTerminalPoint(new mxPoint(0,0),!0);h.geometry.points=[new mxPoint(30,30)];h.geometry.relative=!0;h.edge=!0;f.insertEdge(h,!1);return b.createVertexTemplateFromCells([f,h],10,60,"Self Call")}),this.addEntry("uml sequence invoke call delegation callback activation bar",function(){var f=new mxCell("",new mxGeometry(0,
-0,10,80),'html=1;points=[[0,0,0,0,5],[0,1,0,0,-5],[1,0,0,0,5],[1,1,0,0,-5]];perimeter=orthogonalPerimeter;outlineConnect=0;targetShapes=umlLifeline;portConstraint=eastwest;newEdgeStyle={"curved":0,"rounded":0};');f.vertex=!0;var h=new mxCell("callback",new mxGeometry(0,0,0,0),"html=1;verticalAlign=bottom;endArrow=block;curved=0;rounded=0;entryX=1;entryY=0;entryDx=0;entryDy=5;");h.geometry.setTerminalPoint(new mxPoint(80,5),!0);h.geometry.relative=!0;h.edge=!0;f.insertEdge(h,!1);var n=new mxCell("return",
-new mxGeometry(0,0,0,0),"html=1;verticalAlign=bottom;endArrow=open;dashed=1;endSize=8;curved=0;rounded=0;exitX=1;exitY=1;exitDx=0;exitDy=-5;");n.geometry.setTerminalPoint(new mxPoint(80,75),!1);n.geometry.relative=!0;n.edge=!0;f.insertEdge(n,!0);return b.createVertexTemplateFromCells([f,h,n],10,80,"Callback")}),this.createVertexTemplateEntry('html=1;points=[[0,0,0,0,5],[0,1,0,0,-5],[1,0,0,0,5],[1,1,0,0,-5]];perimeter=orthogonalPerimeter;outlineConnect=0;targetShapes=umlLifeline;portConstraint=eastwest;newEdgeStyle={"curved":0,"rounded":0};',
+300,200,"frame","Frame",null,null,"uml sequence frame"),this.createVertexTemplateEntry("shape=umlDestroy;whiteSpace=wrap;html=1;strokeWidth=3;targetShapes=umlLifeline;",30,30,"","Destruction",null,null,"uml sequence destruction destroy"),this.addEntry("uml sequence invoke invocation call activation bar",function(){var d=new mxCell("",new mxGeometry(0,0,10,80),'html=1;points=[[0,0,0,0,5],[0,1,0,0,-5],[1,0,0,0,5],[1,1,0,0,-5]];perimeter=orthogonalPerimeter;outlineConnect=0;targetShapes=umlLifeline;portConstraint=eastwest;newEdgeStyle={"curved":0,"rounded":0};');
+d.vertex=!0;var g=new mxCell("dispatch",new mxGeometry(0,0,0,0),"html=1;verticalAlign=bottom;startArrow=oval;endArrow=block;startSize=8;curved=0;rounded=0;entryX=0;entryY=0;entryDx=0;entryDy=5;");g.geometry.setTerminalPoint(new mxPoint(-70,5),!0);g.geometry.relative=!0;g.edge=!0;d.insertEdge(g,!1);return b.createVertexTemplateFromCells([d,g],10,80,"Found Message")}),this.addEntry("uml sequence invoke call delegation synchronous invocation activation bar",function(){var d=new mxCell("",new mxGeometry(0,
+0,10,80),'html=1;points=[[0,0,0,0,5],[0,1,0,0,-5],[1,0,0,0,5],[1,1,0,0,-5]];perimeter=orthogonalPerimeter;outlineConnect=0;targetShapes=umlLifeline;portConstraint=eastwest;newEdgeStyle={"curved":0,"rounded":0};');d.vertex=!0;var g=new mxCell("dispatch",new mxGeometry(0,0,0,0),"html=1;verticalAlign=bottom;endArrow=block;curved=0;rounded=0;entryX=0;entryY=0;entryDx=0;entryDy=5;");g.geometry.setTerminalPoint(new mxPoint(-70,5),!0);g.geometry.relative=!0;g.edge=!0;d.insertEdge(g,!1);var n=new mxCell("return",
+new mxGeometry(0,0,0,0),"html=1;verticalAlign=bottom;endArrow=open;dashed=1;endSize=8;curved=0;rounded=0;exitX=0;exitY=1;exitDx=0;exitDy=-5;");n.geometry.setTerminalPoint(new mxPoint(-70,75),!1);n.geometry.relative=!0;n.edge=!0;d.insertEdge(n,!0);return b.createVertexTemplateFromCells([d,g,n],10,80,"Synchronous Invocation")}),this.addEntry("uml sequence self call recursion delegation activation bar",function(){var d=new mxCell("",new mxGeometry(-5,20,10,40),'html=1;points=[[0,0,0,0,5],[0,1,0,0,-5],[1,0,0,0,5],[1,1,0,0,-5]];perimeter=orthogonalPerimeter;outlineConnect=0;targetShapes=umlLifeline;portConstraint=eastwest;newEdgeStyle={"curved":0,"rounded":0};');
+d.vertex=!0;var g=new mxCell("self call",new mxGeometry(0,0,0,0),"html=1;align=left;spacingLeft=2;endArrow=block;rounded=0;edgeStyle=orthogonalEdgeStyle;curved=0;rounded=0;");g.geometry.setTerminalPoint(new mxPoint(0,0),!0);g.geometry.points=[new mxPoint(30,30)];g.geometry.relative=!0;g.edge=!0;d.insertEdge(g,!1);return b.createVertexTemplateFromCells([d,g],10,60,"Self Call")}),this.addEntry("uml sequence invoke call delegation callback activation bar",function(){var d=new mxCell("",new mxGeometry(0,
+0,10,80),'html=1;points=[[0,0,0,0,5],[0,1,0,0,-5],[1,0,0,0,5],[1,1,0,0,-5]];perimeter=orthogonalPerimeter;outlineConnect=0;targetShapes=umlLifeline;portConstraint=eastwest;newEdgeStyle={"curved":0,"rounded":0};');d.vertex=!0;var g=new mxCell("callback",new mxGeometry(0,0,0,0),"html=1;verticalAlign=bottom;endArrow=block;curved=0;rounded=0;entryX=1;entryY=0;entryDx=0;entryDy=5;");g.geometry.setTerminalPoint(new mxPoint(80,5),!0);g.geometry.relative=!0;g.edge=!0;d.insertEdge(g,!1);var n=new mxCell("return",
+new mxGeometry(0,0,0,0),"html=1;verticalAlign=bottom;endArrow=open;dashed=1;endSize=8;curved=0;rounded=0;exitX=1;exitY=1;exitDx=0;exitDy=-5;");n.geometry.setTerminalPoint(new mxPoint(80,75),!1);n.geometry.relative=!0;n.edge=!0;d.insertEdge(n,!0);return b.createVertexTemplateFromCells([d,g,n],10,80,"Callback")}),this.createVertexTemplateEntry('html=1;points=[[0,0,0,0,5],[0,1,0,0,-5],[1,0,0,0,5],[1,1,0,0,-5]];perimeter=orthogonalPerimeter;outlineConnect=0;targetShapes=umlLifeline;portConstraint=eastwest;newEdgeStyle={"curved":0,"rounded":0};',
10,80,"","Activation Bar",null,null,"uml sequence activation bar"),this.createEdgeTemplateEntry("html=1;verticalAlign=bottom;startArrow=oval;startFill=1;endArrow=block;startSize=8;curved=0;rounded=0;",60,0,"dispatch","Found Message 1",null,"uml sequence message call invoke dispatch"),this.createEdgeTemplateEntry("html=1;verticalAlign=bottom;startArrow=circle;startFill=1;endArrow=open;startSize=6;endSize=8;curved=0;rounded=0;",80,0,"dispatch","Found Message 2",null,"uml sequence message call invoke dispatch"),
-this.createEdgeTemplateEntry("html=1;verticalAlign=bottom;endArrow=block;curved=0;rounded=0;",80,0,"dispatch","Message",null,"uml sequence message call invoke dispatch"),this.addEntry("uml sequence return message",function(){var f=new mxCell("return",new mxGeometry(0,0,0,0),"html=1;verticalAlign=bottom;endArrow=open;dashed=1;endSize=8;curved=0;rounded=0;");f.geometry.setTerminalPoint(new mxPoint(80,0),!0);f.geometry.setTerminalPoint(new mxPoint(0,0),!1);f.geometry.relative=!0;f.edge=!0;return b.createEdgeTemplateFromCells([f],
-80,0,"Return")}),this.addEntry("uml relation",function(){var f=new mxCell("name",new mxGeometry(0,0,0,0),"endArrow=block;endFill=1;html=1;edgeStyle=orthogonalEdgeStyle;align=left;verticalAlign=top;");f.geometry.setTerminalPoint(new mxPoint(0,0),!0);f.geometry.setTerminalPoint(new mxPoint(160,0),!1);f.geometry.relative=!0;f.geometry.x=-1;f.edge=!0;var h=new mxCell("1",new mxGeometry(-1,0,0,0),"edgeLabel;resizable=0;html=1;align=left;verticalAlign=bottom;");h.geometry.relative=!0;h.setConnectable(!1);
-h.vertex=!0;f.insert(h);return b.createEdgeTemplateFromCells([f],160,0,"Relation 1")}),this.addEntry("uml association",function(){var f=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;html=1;edgeStyle=orthogonalEdgeStyle;");f.geometry.setTerminalPoint(new mxPoint(0,0),!0);f.geometry.setTerminalPoint(new mxPoint(160,0),!1);f.geometry.relative=!0;f.edge=!0;var h=new mxCell("parent",new mxGeometry(-1,0,0,0),"edgeLabel;resizable=0;html=1;align=left;verticalAlign=bottom;");h.geometry.relative=!0;
-h.setConnectable(!1);h.vertex=!0;f.insert(h);h=new mxCell("child",new mxGeometry(1,0,0,0),"edgeLabel;resizable=0;html=1;align=right;verticalAlign=bottom;");h.geometry.relative=!0;h.setConnectable(!1);h.vertex=!0;f.insert(h);return b.createEdgeTemplateFromCells([f],160,0,"Association 1")}),this.addEntry("uml aggregation",function(){var f=new mxCell("1",new mxGeometry(0,0,0,0),"endArrow=open;html=1;endSize=12;startArrow=diamondThin;startSize=14;startFill=0;edgeStyle=orthogonalEdgeStyle;align=left;verticalAlign=bottom;");
-f.geometry.setTerminalPoint(new mxPoint(0,0),!0);f.geometry.setTerminalPoint(new mxPoint(160,0),!1);f.geometry.relative=!0;f.geometry.x=-1;f.geometry.y=3;f.edge=!0;return b.createEdgeTemplateFromCells([f],160,0,"Aggregation 1")}),this.addEntry("uml composition",function(){var f=new mxCell("1",new mxGeometry(0,0,0,0),"endArrow=open;html=1;endSize=12;startArrow=diamondThin;startSize=14;startFill=1;edgeStyle=orthogonalEdgeStyle;align=left;verticalAlign=bottom;");f.geometry.setTerminalPoint(new mxPoint(0,
-0),!0);f.geometry.setTerminalPoint(new mxPoint(160,0),!1);f.geometry.relative=!0;f.geometry.x=-1;f.geometry.y=3;f.edge=!0;return b.createEdgeTemplateFromCells([f],160,0,"Composition 1")}),this.addEntry("uml relation",function(){var f=new mxCell("Relation",new mxGeometry(0,0,0,0),"endArrow=open;html=1;endSize=12;startArrow=diamondThin;startSize=14;startFill=0;edgeStyle=orthogonalEdgeStyle;");f.geometry.setTerminalPoint(new mxPoint(0,0),!0);f.geometry.setTerminalPoint(new mxPoint(160,0),!1);f.geometry.relative=
-!0;f.edge=!0;var h=new mxCell("0..n",new mxGeometry(-1,0,0,0),"edgeLabel;resizable=0;html=1;align=left;verticalAlign=top;");h.geometry.relative=!0;h.setConnectable(!1);h.vertex=!0;f.insert(h);h=new mxCell("1",new mxGeometry(1,0,0,0),"edgeLabel;resizable=0;html=1;align=right;verticalAlign=top;");h.geometry.relative=!0;h.setConnectable(!1);h.vertex=!0;f.insert(h);return b.createEdgeTemplateFromCells([f],160,0,"Relation 2")}),this.createEdgeTemplateEntry("endArrow=open;endSize=12;dashed=1;html=1;",160,
+this.createEdgeTemplateEntry("html=1;verticalAlign=bottom;endArrow=block;curved=0;rounded=0;",80,0,"dispatch","Message",null,"uml sequence message call invoke dispatch"),this.addEntry("uml sequence return message",function(){var d=new mxCell("return",new mxGeometry(0,0,0,0),"html=1;verticalAlign=bottom;endArrow=open;dashed=1;endSize=8;curved=0;rounded=0;");d.geometry.setTerminalPoint(new mxPoint(80,0),!0);d.geometry.setTerminalPoint(new mxPoint(0,0),!1);d.geometry.relative=!0;d.edge=!0;return b.createEdgeTemplateFromCells([d],
+80,0,"Return")}),this.addEntry("uml relation",function(){var d=new mxCell("name",new mxGeometry(0,0,0,0),"endArrow=block;endFill=1;html=1;edgeStyle=orthogonalEdgeStyle;align=left;verticalAlign=top;");d.geometry.setTerminalPoint(new mxPoint(0,0),!0);d.geometry.setTerminalPoint(new mxPoint(160,0),!1);d.geometry.relative=!0;d.geometry.x=-1;d.edge=!0;var g=new mxCell("1",new mxGeometry(-1,0,0,0),"edgeLabel;resizable=0;html=1;align=left;verticalAlign=bottom;");g.geometry.relative=!0;g.setConnectable(!1);
+g.vertex=!0;d.insert(g);return b.createEdgeTemplateFromCells([d],160,0,"Relation 1")}),this.addEntry("uml association",function(){var d=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;html=1;edgeStyle=orthogonalEdgeStyle;");d.geometry.setTerminalPoint(new mxPoint(0,0),!0);d.geometry.setTerminalPoint(new mxPoint(160,0),!1);d.geometry.relative=!0;d.edge=!0;var g=new mxCell("parent",new mxGeometry(-1,0,0,0),"edgeLabel;resizable=0;html=1;align=left;verticalAlign=bottom;");g.geometry.relative=!0;
+g.setConnectable(!1);g.vertex=!0;d.insert(g);g=new mxCell("child",new mxGeometry(1,0,0,0),"edgeLabel;resizable=0;html=1;align=right;verticalAlign=bottom;");g.geometry.relative=!0;g.setConnectable(!1);g.vertex=!0;d.insert(g);return b.createEdgeTemplateFromCells([d],160,0,"Association 1")}),this.addEntry("uml aggregation",function(){var d=new mxCell("1",new mxGeometry(0,0,0,0),"endArrow=open;html=1;endSize=12;startArrow=diamondThin;startSize=14;startFill=0;edgeStyle=orthogonalEdgeStyle;align=left;verticalAlign=bottom;");
+d.geometry.setTerminalPoint(new mxPoint(0,0),!0);d.geometry.setTerminalPoint(new mxPoint(160,0),!1);d.geometry.relative=!0;d.geometry.x=-1;d.geometry.y=3;d.edge=!0;return b.createEdgeTemplateFromCells([d],160,0,"Aggregation 1")}),this.addEntry("uml composition",function(){var d=new mxCell("1",new mxGeometry(0,0,0,0),"endArrow=open;html=1;endSize=12;startArrow=diamondThin;startSize=14;startFill=1;edgeStyle=orthogonalEdgeStyle;align=left;verticalAlign=bottom;");d.geometry.setTerminalPoint(new mxPoint(0,
+0),!0);d.geometry.setTerminalPoint(new mxPoint(160,0),!1);d.geometry.relative=!0;d.geometry.x=-1;d.geometry.y=3;d.edge=!0;return b.createEdgeTemplateFromCells([d],160,0,"Composition 1")}),this.addEntry("uml relation",function(){var d=new mxCell("Relation",new mxGeometry(0,0,0,0),"endArrow=open;html=1;endSize=12;startArrow=diamondThin;startSize=14;startFill=0;edgeStyle=orthogonalEdgeStyle;");d.geometry.setTerminalPoint(new mxPoint(0,0),!0);d.geometry.setTerminalPoint(new mxPoint(160,0),!1);d.geometry.relative=
+!0;d.edge=!0;var g=new mxCell("0..n",new mxGeometry(-1,0,0,0),"edgeLabel;resizable=0;html=1;align=left;verticalAlign=top;");g.geometry.relative=!0;g.setConnectable(!1);g.vertex=!0;d.insert(g);g=new mxCell("1",new mxGeometry(1,0,0,0),"edgeLabel;resizable=0;html=1;align=right;verticalAlign=top;");g.geometry.relative=!0;g.setConnectable(!1);g.vertex=!0;d.insert(g);return b.createEdgeTemplateFromCells([d],160,0,"Relation 2")}),this.createEdgeTemplateEntry("endArrow=open;endSize=12;dashed=1;html=1;",160,
0,"Use","Dependency",null,"uml dependency use"),this.createEdgeTemplateEntry("endArrow=block;endSize=16;endFill=0;html=1;",160,0,"Extends","Generalization",null,"uml generalization extend"),this.createEdgeTemplateEntry("endArrow=block;startArrow=block;endFill=1;startFill=1;html=1;",160,0,"","Association 2",null,"uml association"),this.createEdgeTemplateEntry("endArrow=open;startArrow=circlePlus;endFill=0;startFill=0;endSize=8;html=1;",160,0,"","Inner Class",null,"uml inner class"),this.createEdgeTemplateEntry("endArrow=open;startArrow=cross;endFill=0;startFill=0;endSize=8;startSize=10;html=1;",
160,0,"","Terminate",null,"uml terminate"),this.createEdgeTemplateEntry("endArrow=block;dashed=1;endFill=0;endSize=12;html=1;",160,0,"","Implementation",null,"uml realization implementation"),this.createEdgeTemplateEntry("endArrow=diamondThin;endFill=0;endSize=24;html=1;",160,0,"","Aggregation 2",null,"uml aggregation"),this.createEdgeTemplateEntry("endArrow=diamondThin;endFill=1;endSize=24;html=1;",160,0,"","Composition 2",null,"uml composition"),this.createEdgeTemplateEntry("endArrow=open;endFill=1;endSize=12;html=1;",
-160,0,"","Association 3",null,"uml association")];this.addPaletteFunctions("uml",mxResources.get("uml"),a||!1,g);this.setCurrentSearchEntryLibrary()};Sidebar.prototype.createTitle=function(a){var b=document.createElement("a");b.setAttribute("title",mxResources.get("sidebarTooltip"));b.className="geTitle";var d=document.createElement("span");mxUtils.write(d,a);b.appendChild(d);return b};
-Sidebar.prototype.createThumb=function(a,b,d,e,g,f,h,n,q,l,p,w){this.graph.labelsVisible=null==f||f;f=mxClient.NO_FO;mxClient.NO_FO=Editor.prototype.originalNoForeignObject;this.graph.shapeBackgroundColor=null!=l?l:Editor.isDarkMode()?"#2a252f":"#f1f3f4";this.graph.view.scaleAndTranslate(null!=w?w:1,0,0);this.graph.addCells(a);a=this.graph.getGraphBounds();null==w&&(l=Math.floor(100*Math.min((b-2*this.thumbBorder)/a.width,(d-2*this.thumbBorder)/a.height))/100,this.graph.view.scaleAndTranslate(l,(b-
-a.width*l)/2/l-a.x,(d-a.height*l)/2/l-a.y));this.graph.dialect!=mxConstants.DIALECT_SVG||mxClient.NO_FO||null==this.graph.view.getCanvas().ownerSVGElement?(l=this.graph.container.cloneNode(!1),l.innerHTML=this.graph.container.innerHTML):l=this.graph.view.getCanvas().ownerSVGElement.cloneNode(!0);this.graph.getModel().clear();this.graph.view.scaleAndTranslate(1,0,0);this.graph.shapeBackgroundColor=Editor.isDarkMode()?"#2a252f":"#f1f3f4";mxClient.NO_FO=f;l.style.position="relative";l.style.overflow=
-null!=w?"visible":"hidden";l.style.left=(null!=p?p:this.thumbBorder)+"px";l.style.top=l.style.left;l.style.width=b+"px";l.style.height=d+"px";l.style.visibility="";l.style.minWidth="";l.style.minHeight="";this.disablePointerEvents(l);e.appendChild(l);this.sidebarTitles&&null!=g&&0!=h&&(e.style.height=this.thumbHeight+0+this.sidebarTitleSize+8+"px",b=document.createElement("div"),b.style.color=Editor.isDarkMode()?"#A0A0A0":"#303030",b.style.fontSize=this.sidebarTitleSize+"px",b.style.textAlign="center",
-b.style.whiteSpace="nowrap",b.style.overflow="hidden",b.style.textOverflow="ellipsis",mxClient.IS_IE&&(b.style.height=this.sidebarTitleSize+12+"px"),b.style.paddingTop="4px",mxUtils.write(b,g),e.appendChild(b));return a};
+160,0,"","Association 3",null,"uml association")];this.addPaletteFunctions("uml",mxResources.get("uml"),a||!1,h);this.setCurrentSearchEntryLibrary()};Sidebar.prototype.createTitle=function(a){var b=document.createElement("a");b.setAttribute("title",mxResources.get("sidebarTooltip"));b.className="geTitle";var e=document.createElement("span");mxUtils.write(e,a);b.appendChild(e);return b};
+Sidebar.prototype.createThumb=function(a,b,e,f,h,d,g,n,q,k,p,w){this.graph.labelsVisible=null==d||d;d=mxClient.NO_FO;mxClient.NO_FO=Editor.prototype.originalNoForeignObject;this.graph.shapeBackgroundColor=null!=k?k:Editor.isDarkMode()?"#2a252f":"#f1f3f4";this.graph.view.scaleAndTranslate(null!=w?w:1,0,0);this.graph.addCells(a);a=this.graph.getGraphBounds();null==w&&(k=Math.floor(100*Math.min((b-2*this.thumbBorder)/a.width,(e-2*this.thumbBorder)/a.height))/100,this.graph.view.scaleAndTranslate(k,(b-
+a.width*k)/2/k-a.x,(e-a.height*k)/2/k-a.y));this.graph.dialect!=mxConstants.DIALECT_SVG||mxClient.NO_FO||null==this.graph.view.getCanvas().ownerSVGElement?(k=this.graph.container.cloneNode(!1),k.innerHTML=this.graph.container.innerHTML):k=this.graph.view.getCanvas().ownerSVGElement.cloneNode(!0);this.graph.getModel().clear();this.graph.view.scaleAndTranslate(1,0,0);this.graph.shapeBackgroundColor=Editor.isDarkMode()?"#2a252f":"#f1f3f4";mxClient.NO_FO=d;k.style.position="relative";k.style.overflow=
+null!=w?"visible":"hidden";k.style.left=(null!=p?p:this.thumbBorder)+"px";k.style.top=k.style.left;k.style.width=b+"px";k.style.height=e+"px";k.style.visibility="";k.style.minWidth="";k.style.minHeight="";this.disablePointerEvents(k);f.appendChild(k);this.sidebarTitles&&null!=h&&0!=g&&(f.style.height=this.thumbHeight+0+this.sidebarTitleSize+8+"px",b=document.createElement("div"),b.style.color=Editor.isDarkMode()?"#A0A0A0":"#303030",b.style.fontSize=this.sidebarTitleSize+"px",b.style.textAlign="center",
+b.style.whiteSpace="nowrap",b.style.overflow="hidden",b.style.textOverflow="ellipsis",mxClient.IS_IE&&(b.style.height=this.sidebarTitleSize+12+"px"),b.style.paddingTop="4px",mxUtils.write(b,h),f.appendChild(b));return a};
Sidebar.prototype.createSection=function(a){return mxUtils.bind(this,function(){var b=document.createElement("div");b.setAttribute("title",a);b.style.textOverflow="ellipsis";b.style.whiteSpace="nowrap";b.style.textAlign="center";b.style.overflow="hidden";b.style.width="100%";b.style.padding="14px 0";mxUtils.write(b,a);return b})};
-Sidebar.prototype.createItem=function(a,b,d,e,g,f,h,n,q,l,p,w,z,C){n=null!=n?n:!0;l=null!=l?l:this.thumbWidth;p=null!=p?p:this.thumbHeight;var F=document.createElement("a");F.className="geItem";F.style.overflow="hidden";var D=2*this.thumbBorder;F.style.width=l+D+"px";F.style.height=p+D+"px";F.style.padding=this.thumbPadding+"px";mxEvent.addListener(F,"click",function(K){mxEvent.consume(K)});var G=new mxRectangle(0,0,g,f);null!=a&&0<a.length?(D=a,a=this.graph.cloneCells(a),this.graph.pasteCellStyles(this.graph.includeDescendants(D),
-this.initialDefaultVertexStyle,this.initialDefaultEdgeStyle),null!=w?(F.style.backgroundImage="url("+w+")",F.style.backgroundRepeat="no-repeat",F.style.backgroundPosition="center",F.style.backgroundSize="24px 24px"):this.createThumb(D,l,p,F,b,d,e,g,f),1<a.length||a[0].vertex?(e=this.createDragSource(F,this.createDropHandler(a,!0,h,G,z,C),this.createDragPreview(g,f),a,G,z),this.addClickHandler(F,e,a,q,z),e.isGuidesEnabled=mxUtils.bind(this,function(){return this.editorUi.editor.graph.graphHandler.guidesEnabled})):
-null!=a[0]&&a[0].edge&&(e=this.createDragSource(F,this.createDropHandler(a,!1,h,G,z,C),this.createDragPreview(g,f),a,G,z),this.addClickHandler(F,e,a,q)),!mxClient.IS_IOS&&n&&mxEvent.addGestureListeners(F,null,mxUtils.bind(this,function(K){mxEvent.isMouseEvent(K)&&this.showTooltip(F,a,G.width,G.height,b,d)}))):(F.style.backgroundImage="url("+Editor.svgBrokenImage.src+")",F.setAttribute("title",b));return F};
-Sidebar.prototype.createDropHandler=function(a,b,d,e,g,f){d=null!=d?d:!0;return mxUtils.bind(this,function(h,n,q,l,p,w){for(w=w?null:mxEvent.isTouchEvent(n)||mxEvent.isPenEvent(n)?document.elementFromPoint(mxEvent.getClientX(n),mxEvent.getClientY(n)):mxEvent.getSource(n);null!=w&&w!=this.container;)w=w.parentNode;if(null==w&&h.isEnabled()){a=h.getImportableCells(a);if(0<a.length){h.stopEditing();w=null==q||mxEvent.isAltDown(n)?!1:h.isValidDropTarget(q,a,n);var z=null;null==q||w||(q=null);if(!h.isCellLocked(q||
-h.getDefaultParent())){h.model.beginUpdate();try{l=Math.round(l);p=Math.round(p);if(b&&h.isSplitTarget(q,a,n)){var C=h.view.scale,F=h.view.translate,D=(l+F.x)*C,G=(p+F.y)*C,K=h.cloneCells(a);h.splitEdge(q,K,null,l-e.width/2,p-e.height/2,D,G);z=K}else if(0<a.length&&(z=h.importCells(a,l,p,q),h.model.isVertex(f)&&1==z.length&&h.model.isVertex(z[0]))){var I=h.insertEdge(h.model.getParent(f),null,"",f,z[0],h.createCurrentEdgeStyle());h.applyNewEdgeStyle(f,[I]);z.push(I);h.connectionHandler.insertBeforeSource&&
-h.insertEdgeBeforeCell(I,f)}if(null!=h.layoutManager){var O=h.layoutManager.getLayout(q);if(null!=O){C=h.view.scale;F=h.view.translate;D=(l+F.x)*C;G=(p+F.y)*C;for(var H=0;H<z.length;H++)O.moveCell(z[H],D,G)}}!d||null!=n&&mxEvent.isShiftDown(n)||h.fireEvent(new mxEventObject("cellsInserted","cells",z));for(H=0;H<z.length;H++)h.model.isVertex(z[H])&&h.isAutoSizeCell(z[H])&&h.updateCellSize(z[H])}catch(Z){this.editorUi.handleError(Z)}finally{h.model.endUpdate()}null!=z&&0<z.length&&(h.scrollCellToVisible(z[0]),
-h.setSelectionCells(z));(g||h.editAfterInsert&&null!=n&&mxEvent.isMouseEvent(n)&&null!=z&&1==z.length)&&window.setTimeout(function(){h.startEditing(z[0])},0)}}mxEvent.consume(n)}})};Sidebar.prototype.createDragPreview=function(a,b){var d=document.createElement("div");d.className="geDragPreview";d.style.width=a+"px";d.style.height=b+"px";return d};
-Sidebar.prototype.dropAndConnect=function(a,b,d,e,g,f,h){var n=this.editorUi.editor.graph,q=n.model.isEdge(a)||null!=f?f:h;q=this.getDropAndConnectGeometry(a,b[q],d,b);var l=[];if(null!=q){var p=null;n.model.beginUpdate();try{var w=n.getCellGeometry(a),z=n.getCellGeometry(b[e]),C=n.model.getParent(a),F=!0;if(null!=n.layoutManager){var D=n.layoutManager.getLayout(C);null!=D&&D.constructor==mxStackLayout&&(F=!1)}l=n.model.isEdge(a)?null:n.view.getState(C);var G=D=0;if(null!=l){var K=l.origin;D=K.x;
-G=K.y}var I=!n.isTableRow(a)&&!n.isTableCell(a)&&(n.model.isEdge(a)||null!=w&&!w.relative&&F),O=n.getCellAt((q.x+D+n.view.translate.x)*n.view.scale,(q.y+G+n.view.translate.y)*n.view.scale,null,null,null,function(M,U,ba){return!n.isContainer(M.cell)});if(null!=O&&O!=C)l=n.view.getState(O),null!=l&&(K=l.origin,C=O,I=!0,n.model.isEdge(a)||(q.x-=K.x-D,q.y-=K.y-G));else if(!F||n.isTableRow(a)||n.isTableCell(a))q.x+=D,q.y+=G;D=z.x;G=z.y;n.model.isEdge(b[e])&&(G=D=0);l=b=n.importCells(b,q.x-(I?D:0),q.y-
-(I?G:0),I?C:null);if(n.model.isEdge(a))n.model.setTerminal(a,b[e],d==mxConstants.DIRECTION_NORTH),null!=h&&null!=f&&(n.model.remove(b[h]),n.updateShapes(b[h],[a]));else if(n.model.isEdge(b[e])&&null==f){n.model.setTerminal(b[e],a,!0);var H=n.getCellGeometry(b[e]),Z=null!=H?H.getTerminalPoint(!0):null;H.points=null;if(null!=Z)for(d=0;d<b.length;d++)if(n.model.isEdge(b[d])&&d!=e){var S=n.getCellGeometry(b[d]),X=null!=S?S.getTerminalPoint(!0):null;null!=X&&X.x==Z.x&&X.y==Z.y&&n.model.setTerminal(b[d],
-a,!0)}if(null!=H.getTerminalPoint(!1))H.setTerminalPoint(q.getTerminalPoint(!1),!1);else if(I&&n.model.isVertex(C)){var Y=n.view.getState(C);K=Y.cell!=n.view.currentRoot?Y.origin:new mxPoint(0,0);n.cellsMoved(b,K.x,K.y,null,null,!0)}}else null!=f&&(z=n.getCellGeometry(b[f]),D=q.x-Math.round(z.x),G=q.y-Math.round(z.y),q.x=Math.round(z.x),q.y=Math.round(z.y),n.model.setGeometry(b[e],q),n.cellsMoved(b,D,G,null,null,!0),l=b.slice(),p=1==l.length?l[0]:null,null!=h?n.model.setTerminal(b[h],a,!0):b.push(n.insertEdge(null,
-null,"",a,b[e],n.createCurrentEdgeStyle())));null!=g&&mxEvent.isShiftDown(g)||n.fireEvent(new mxEventObject("cellsInserted","cells",b))}catch(M){this.editorUi.handleError(M)}finally{n.model.endUpdate()}n.editAfterInsert&&null!=g&&mxEvent.isMouseEvent(g)&&null!=p&&window.setTimeout(function(){n.startEditing(p)},0)}null!=h&&1<l.length&&l.splice(h,1);return l};
-Sidebar.prototype.getDropAndConnectGeometry=function(a,b,d,e){var g=this.editorUi.editor.graph,f=g.view,h=1<e.length,n=g.view.getState(a),q=g.getCellGeometry(a);e=g.getCellGeometry(b);null!=n&&null!=q&&null!=e&&(e=e.clone(),g.model.isEdge(a)?(q=n.absolutePoints,b=q[0],g=q[q.length-1],d==mxConstants.DIRECTION_NORTH?(e.x=b.x/f.scale-f.translate.x-e.width/2,e.y=b.y/f.scale-f.translate.y-e.height/2):(e.x=g.x/f.scale-f.translate.x-e.width/2,e.y=g.y/f.scale-f.translate.y-e.height/2)):(q.relative&&(q=q.clone(),
-q.x=(n.x-f.translate.x)/f.scale,q.y=(n.y-f.translate.y)/f.scale),f=g.defaultEdgeLength,g.model.isEdge(b)&&null!=e.getTerminalPoint(!0)&&null!=e.getTerminalPoint(!1)?(b=e.getTerminalPoint(!0),g=e.getTerminalPoint(!1),f=g.x-b.x,b=g.y-b.y,f=Math.sqrt(f*f+b*b),e.x=q.getCenterX(),e.y=q.getCenterY(),e.width=1,e.height=1,d==mxConstants.DIRECTION_NORTH?(e.height=f,e.y=q.y-f,e.setTerminalPoint(new mxPoint(e.x,e.y),!1)):d==mxConstants.DIRECTION_EAST?(e.width=f,e.x=q.x+q.width,e.setTerminalPoint(new mxPoint(e.x+
-e.width,e.y),!1)):d==mxConstants.DIRECTION_SOUTH?(e.height=f,e.y=q.y+q.height,e.setTerminalPoint(new mxPoint(e.x,e.y+e.height),!1)):d==mxConstants.DIRECTION_WEST&&(e.width=f,e.x=q.x-f,e.setTerminalPoint(new mxPoint(e.x,e.y),!1))):(!h&&45<e.width&&45<e.height&&45<q.width&&45<q.height&&(e.width*=q.height/e.height,e.height=q.height),e.x=q.x+q.width/2-e.width/2,e.y=q.y+q.height/2-e.height/2,d==mxConstants.DIRECTION_NORTH?e.y=e.y-q.height/2-e.height/2-f:d==mxConstants.DIRECTION_EAST?e.x=e.x+q.width/2+
-e.width/2+f:d==mxConstants.DIRECTION_SOUTH?e.y=e.y+q.height/2+e.height/2+f:d==mxConstants.DIRECTION_WEST&&(e.x=e.x-q.width/2-e.width/2-f),g.model.isEdge(b)&&null!=e.getTerminalPoint(!0)&&null!=b.getTerminal(!1)&&(q=g.getCellGeometry(b.getTerminal(!1)),null!=q&&(d==mxConstants.DIRECTION_NORTH?(e.x-=q.getCenterX(),e.y-=q.getCenterY()+q.height/2):d==mxConstants.DIRECTION_EAST?(e.x-=q.getCenterX()-q.width/2,e.y-=q.getCenterY()):d==mxConstants.DIRECTION_SOUTH?(e.x-=q.getCenterX(),e.y-=q.getCenterY()-q.height/
-2):d==mxConstants.DIRECTION_WEST&&(e.x-=q.getCenterX()+q.width/2,e.y-=q.getCenterY()))))));return e};Sidebar.prototype.isDropStyleEnabled=function(a,b){var d=!0;null!=b&&1==a.length&&(a=this.graph.getCellStyle(a[b]),null!=a&&(d=mxUtils.getValue(a,mxConstants.STYLE_STROKECOLOR,mxConstants.NONE)!=mxConstants.NONE||mxUtils.getValue(a,mxConstants.STYLE_FILLCOLOR,mxConstants.NONE)!=mxConstants.NONE));return d};
+Sidebar.prototype.createItem=function(a,b,e,f,h,d,g,n,q,k,p,w,z,C){n=null!=n?n:!0;k=null!=k?k:this.thumbWidth;p=null!=p?p:this.thumbHeight;var F=document.createElement("a");F.className="geItem";F.style.overflow="hidden";var D=2*this.thumbBorder;F.style.width=k+D+"px";F.style.height=p+D+"px";F.style.padding=this.thumbPadding+"px";mxEvent.addListener(F,"click",function(K){mxEvent.consume(K)});var H=new mxRectangle(0,0,h,d);null!=a&&0<a.length?(D=a,a=this.graph.cloneCells(a),this.graph.pasteCellStyles(this.graph.includeDescendants(D),
+this.initialDefaultVertexStyle,this.initialDefaultEdgeStyle),null!=w?(F.style.backgroundImage="url("+w+")",F.style.backgroundRepeat="no-repeat",F.style.backgroundPosition="center",F.style.backgroundSize="24px 24px"):this.createThumb(D,k,p,F,b,e,f,h,d),1<a.length||a[0].vertex?(f=this.createDragSource(F,this.createDropHandler(a,!0,g,H,z,C),this.createDragPreview(h,d),a,H,z),this.addClickHandler(F,f,a,q,z),f.isGuidesEnabled=mxUtils.bind(this,function(){return this.editorUi.editor.graph.graphHandler.guidesEnabled})):
+null!=a[0]&&a[0].edge&&(f=this.createDragSource(F,this.createDropHandler(a,!1,g,H,z,C),this.createDragPreview(h,d),a,H,z),this.addClickHandler(F,f,a,q)),!mxClient.IS_IOS&&n&&mxEvent.addGestureListeners(F,null,mxUtils.bind(this,function(K){mxEvent.isMouseEvent(K)&&this.showTooltip(F,a,H.width,H.height,b,e)}))):(F.style.backgroundImage="url("+Editor.svgBrokenImage.src+")",F.setAttribute("title",b));return F};
+Sidebar.prototype.createDropHandler=function(a,b,e,f,h,d){e=null!=e?e:!0;return mxUtils.bind(this,function(g,n,q,k,p,w){for(w=w?null:mxEvent.isTouchEvent(n)||mxEvent.isPenEvent(n)?document.elementFromPoint(mxEvent.getClientX(n),mxEvent.getClientY(n)):mxEvent.getSource(n);null!=w&&w!=this.container;)w=w.parentNode;if(null==w&&g.isEnabled()){a=g.getImportableCells(a);if(0<a.length){g.stopEditing();w=null==q||mxEvent.isAltDown(n)?!1:g.isValidDropTarget(q,a,n);var z=null;null==q||w||(q=null);if(!g.isCellLocked(q||
+g.getDefaultParent())){g.model.beginUpdate();try{k=Math.round(k);p=Math.round(p);if(b&&g.isSplitTarget(q,a,n)){var C=g.view.scale,F=g.view.translate,D=(k+F.x)*C,H=(p+F.y)*C,K=g.cloneCells(a);g.splitEdge(q,K,null,k-f.width/2,p-f.height/2,D,H);z=K}else if(0<a.length&&(z=g.importCells(a,k,p,q),g.model.isVertex(d)&&1==z.length&&g.model.isVertex(z[0]))){var G=g.insertEdge(g.model.getParent(d),null,"",d,z[0],g.createCurrentEdgeStyle());g.applyNewEdgeStyle(d,[G]);z.push(G);g.connectionHandler.insertBeforeSource&&
+g.insertEdgeBeforeCell(G,d)}if(null!=g.layoutManager){var P=g.layoutManager.getLayout(q);if(null!=P){C=g.view.scale;F=g.view.translate;D=(k+F.x)*C;H=(p+F.y)*C;for(var I=0;I<z.length;I++)P.moveCell(z[I],D,H)}}!e||null!=n&&mxEvent.isShiftDown(n)||g.fireEvent(new mxEventObject("cellsInserted","cells",z));for(I=0;I<z.length;I++)g.model.isVertex(z[I])&&g.isAutoSizeCell(z[I])&&g.updateCellSize(z[I])}catch(Z){this.editorUi.handleError(Z)}finally{g.model.endUpdate()}null!=z&&0<z.length&&(g.scrollCellToVisible(z[0]),
+g.setSelectionCells(z));(h||g.editAfterInsert&&null!=n&&mxEvent.isMouseEvent(n)&&null!=z&&1==z.length)&&window.setTimeout(function(){g.startEditing(z[0])},0)}}mxEvent.consume(n)}})};Sidebar.prototype.createDragPreview=function(a,b){var e=document.createElement("div");e.className="geDragPreview";e.style.width=a+"px";e.style.height=b+"px";return e};
+Sidebar.prototype.dropAndConnect=function(a,b,e,f,h,d,g){var n=this.editorUi.editor.graph,q=n.model.isEdge(a)||null!=d?d:g;q=this.getDropAndConnectGeometry(a,b[q],e,b);var k=[];if(null!=q){var p=null;n.model.beginUpdate();try{var w=n.getCellGeometry(a),z=n.getCellGeometry(b[f]),C=n.model.getParent(a),F=!0;if(null!=n.layoutManager){var D=n.layoutManager.getLayout(C);null!=D&&D.constructor==mxStackLayout&&(F=!1)}k=n.model.isEdge(a)?null:n.view.getState(C);var H=D=0;if(null!=k){var K=k.origin;D=K.x;
+H=K.y}var G=!n.isTableRow(a)&&!n.isTableCell(a)&&(n.model.isEdge(a)||null!=w&&!w.relative&&F),P=n.getCellAt((q.x+D+n.view.translate.x)*n.view.scale,(q.y+H+n.view.translate.y)*n.view.scale,null,null,null,function(L,U,ba){return!n.isContainer(L.cell)});if(null!=P&&P!=C)k=n.view.getState(P),null!=k&&(K=k.origin,C=P,G=!0,n.model.isEdge(a)||(q.x-=K.x-D,q.y-=K.y-H));else if(!F||n.isTableRow(a)||n.isTableCell(a))q.x+=D,q.y+=H;D=z.x;H=z.y;n.model.isEdge(b[f])&&(H=D=0);k=b=n.importCells(b,q.x-(G?D:0),q.y-
+(G?H:0),G?C:null);if(n.model.isEdge(a))n.model.setTerminal(a,b[f],e==mxConstants.DIRECTION_NORTH),null!=g&&null!=d&&(n.model.remove(b[g]),n.updateShapes(b[g],[a]));else if(n.model.isEdge(b[f])&&null==d){n.model.setTerminal(b[f],a,!0);var I=n.getCellGeometry(b[f]),Z=null!=I?I.getTerminalPoint(!0):null;I.points=null;if(null!=Z)for(e=0;e<b.length;e++)if(n.model.isEdge(b[e])&&e!=f){var S=n.getCellGeometry(b[e]),Y=null!=S?S.getTerminalPoint(!0):null;null!=Y&&Y.x==Z.x&&Y.y==Z.y&&n.model.setTerminal(b[e],
+a,!0)}if(null!=I.getTerminalPoint(!1))I.setTerminalPoint(q.getTerminalPoint(!1),!1);else if(G&&n.model.isVertex(C)){var V=n.view.getState(C);K=V.cell!=n.view.currentRoot?V.origin:new mxPoint(0,0);n.cellsMoved(b,K.x,K.y,null,null,!0)}}else null!=d&&(z=n.getCellGeometry(b[d]),D=q.x-Math.round(z.x),H=q.y-Math.round(z.y),q.x=Math.round(z.x),q.y=Math.round(z.y),n.model.setGeometry(b[f],q),n.cellsMoved(b,D,H,null,null,!0),k=b.slice(),p=1==k.length?k[0]:null,null!=g?n.model.setTerminal(b[g],a,!0):b.push(n.insertEdge(null,
+null,"",a,b[f],n.createCurrentEdgeStyle())));null!=h&&mxEvent.isShiftDown(h)||n.fireEvent(new mxEventObject("cellsInserted","cells",b))}catch(L){this.editorUi.handleError(L)}finally{n.model.endUpdate()}n.editAfterInsert&&null!=h&&mxEvent.isMouseEvent(h)&&null!=p&&window.setTimeout(function(){n.startEditing(p)},0)}null!=g&&1<k.length&&k.splice(g,1);return k};
+Sidebar.prototype.getDropAndConnectGeometry=function(a,b,e,f){var h=this.editorUi.editor.graph,d=h.view,g=1<f.length,n=h.view.getState(a),q=h.getCellGeometry(a);f=h.getCellGeometry(b);null!=n&&null!=q&&null!=f&&(f=f.clone(),h.model.isEdge(a)?(q=n.absolutePoints,b=q[0],h=q[q.length-1],e==mxConstants.DIRECTION_NORTH?(f.x=b.x/d.scale-d.translate.x-f.width/2,f.y=b.y/d.scale-d.translate.y-f.height/2):(f.x=h.x/d.scale-d.translate.x-f.width/2,f.y=h.y/d.scale-d.translate.y-f.height/2)):(q.relative&&(q=q.clone(),
+q.x=(n.x-d.translate.x)/d.scale,q.y=(n.y-d.translate.y)/d.scale),d=h.defaultEdgeLength,h.model.isEdge(b)&&null!=f.getTerminalPoint(!0)&&null!=f.getTerminalPoint(!1)?(b=f.getTerminalPoint(!0),h=f.getTerminalPoint(!1),d=h.x-b.x,b=h.y-b.y,d=Math.sqrt(d*d+b*b),f.x=q.getCenterX(),f.y=q.getCenterY(),f.width=1,f.height=1,e==mxConstants.DIRECTION_NORTH?(f.height=d,f.y=q.y-d,f.setTerminalPoint(new mxPoint(f.x,f.y),!1)):e==mxConstants.DIRECTION_EAST?(f.width=d,f.x=q.x+q.width,f.setTerminalPoint(new mxPoint(f.x+
+f.width,f.y),!1)):e==mxConstants.DIRECTION_SOUTH?(f.height=d,f.y=q.y+q.height,f.setTerminalPoint(new mxPoint(f.x,f.y+f.height),!1)):e==mxConstants.DIRECTION_WEST&&(f.width=d,f.x=q.x-d,f.setTerminalPoint(new mxPoint(f.x,f.y),!1))):(!g&&45<f.width&&45<f.height&&45<q.width&&45<q.height&&(f.width*=q.height/f.height,f.height=q.height),f.x=q.x+q.width/2-f.width/2,f.y=q.y+q.height/2-f.height/2,e==mxConstants.DIRECTION_NORTH?f.y=f.y-q.height/2-f.height/2-d:e==mxConstants.DIRECTION_EAST?f.x=f.x+q.width/2+
+f.width/2+d:e==mxConstants.DIRECTION_SOUTH?f.y=f.y+q.height/2+f.height/2+d:e==mxConstants.DIRECTION_WEST&&(f.x=f.x-q.width/2-f.width/2-d),h.model.isEdge(b)&&null!=f.getTerminalPoint(!0)&&null!=b.getTerminal(!1)&&(q=h.getCellGeometry(b.getTerminal(!1)),null!=q&&(e==mxConstants.DIRECTION_NORTH?(f.x-=q.getCenterX(),f.y-=q.getCenterY()+q.height/2):e==mxConstants.DIRECTION_EAST?(f.x-=q.getCenterX()-q.width/2,f.y-=q.getCenterY()):e==mxConstants.DIRECTION_SOUTH?(f.x-=q.getCenterX(),f.y-=q.getCenterY()-q.height/
+2):e==mxConstants.DIRECTION_WEST&&(f.x-=q.getCenterX()+q.width/2,f.y-=q.getCenterY()))))));return f};Sidebar.prototype.isDropStyleEnabled=function(a,b){var e=!0;null!=b&&1==a.length&&(a=this.graph.getCellStyle(a[b]),null!=a&&(e=mxUtils.getValue(a,mxConstants.STYLE_STROKECOLOR,mxConstants.NONE)!=mxConstants.NONE||mxUtils.getValue(a,mxConstants.STYLE_FILLCOLOR,mxConstants.NONE)!=mxConstants.NONE));return e};
Sidebar.prototype.isDropStyleTargetIgnored=function(a){return this.graph.isSwimlane(a.cell)||this.graph.isTableCell(a.cell)||this.graph.isTableRow(a.cell)||this.graph.isTable(a.cell)};Sidebar.prototype.disablePointerEvents=function(a){mxUtils.visitNodes(a,mxUtils.bind(this,function(b){b.nodeType==mxConstants.NODETYPE_ELEMENT&&(b.style.pointerEvents="none",b.removeAttribute("pointer-events"))}))};
-Sidebar.prototype.createDragSource=function(a,b,d,e,g,f){function h(ma,Fa){var Ia=mxUtils.createImage(ma.src);Ia.style.width=ma.width+"px";Ia.style.height=ma.height+"px";null!=Fa&&Ia.setAttribute("title",Fa);mxUtils.setOpacity(Ia,ma==this.refreshTarget?30:20);Ia.style.position="absolute";Ia.style.cursor="crosshair";return Ia}function n(ma,Fa,Ia,Oa){null!=Oa.parentNode&&(mxUtils.contains(Ia,ma,Fa)?(mxUtils.setOpacity(Oa,100),W=Oa):mxUtils.setOpacity(Oa,Oa==U?30:20));return Ia}var q=this.editorUi,l=
-q.editor.graph,p=null,w=null,z=this;f=0;for(var C=this.livePreview,F=0;F<e.length&&C;F++)f+=l.model.getDescendants(e[F]).length,C=f<l.graphHandler.maxLivePreview;for(F=0;F<e.length&&(null==w&&l.model.isVertex(e[F])?w=F:null==p&&l.model.isEdge(e[F])&&null==l.model.getTerminal(e[F],!0)&&(p=F),null==w||null==p);F++);var D=this.isDropStyleEnabled(e,w),G=mxUtils.makeDraggable(a,l,mxUtils.bind(this,function(ma,Fa,Ia,Oa,Ra){null!=this.updateThread&&window.clearTimeout(this.updateThread);if(null!=e&&null!=
-H&&W==U){var Ma=ma.isCellSelected(H.cell)?ma.getSelectionCells():[H.cell];ma.updateShapes(ma.model.isEdge(H.cell)?e[0]:e[w],Ma,!0);ma.setSelectionCells(Ma)}else null!=e&&null!=W&&null!=I&&W!=U?(Ma=ma.model.isEdge(I.cell)||null==p?w:p,ma.setSelectionCells(this.dropAndConnect(I.cell,e,P,Ma,Fa,w,p))):b.apply(this,arguments);null!=this.editorUi.hoverIcons&&this.editorUi.hoverIcons.update(ma.view.getState(ma.getSelectionCell()))}),d,0,0,l.autoscroll,!0,!0);C&&(G.createDragElement=mxUtils.bind(this,function(){return G.createPreviewElement(this.graph)}),
-G.createPreviewElement=mxUtils.bind(this,function(ma){var Fa=document.createElement("a");Fa.className="geItem";Fa.style.overflow="visible";ma=ma.view.scale;Fa.style.width=ma*Math.max(1,g.width)+"px";Fa.style.height=ma*Math.max(1,g.height)+"px";mxUtils.setOpacity(Fa,50);var Ia=l.cloneCells(e);this.graph.pasteCellStyles(l.includeDescendants(Ia),l.currentVertexStyle,l.currentEdgeStyle,null,l.pasteEdgeStyle);z.createThumb(Ia,ma*Math.max(1,g.width),ma*Math.max(1,g.height),Fa,null,null,null,null,null,l.shapeBackgroundColor,
-0,ma);return Fa}));var K=G.mouseDown;G.mouseDown=function(ma){mxEvent.isPopupTrigger(ma)||mxEvent.isMultiTouchEvent(ma)||l.isCellLocked(l.getDefaultParent())||(l.stopEditing(),K.apply(this,arguments))};var I=null,O=null,H=null,Z=!1,S=h(this.triangleUp,mxResources.get("connect")),X=h(this.triangleRight,mxResources.get("connect")),Y=h(this.triangleDown,mxResources.get("connect")),M=h(this.triangleLeft,mxResources.get("connect")),U=h(this.refreshTarget,mxResources.get("replace")),ba=null,ja=h(this.roundDrop),
-pa=h(this.roundDrop),P=mxConstants.DIRECTION_NORTH,W=null,V=G.createPreviewElement;G.createPreviewElement=function(ma){var Fa=V.apply(this,arguments);mxClient.IS_SVG&&(Fa.style.pointerEvents="none");this.previewElementWidth=Fa.style.width;this.previewElementHeight=Fa.style.height;return Fa};var ca=G.dragEnter;G.dragEnter=function(ma,Fa){null!=q.hoverIcons&&q.hoverIcons.setDisplay("none");ca.apply(this,arguments)};var ra=G.dragExit;G.dragExit=function(ma,Fa){null!=q.hoverIcons&&q.hoverIcons.setDisplay("");
-ra.apply(this,arguments)};G.dragOver=function(ma,Fa){mxDragSource.prototype.dragOver.apply(this,arguments);null!=this.currentGuide&&null!=W&&this.currentGuide.hide();if(null!=this.previewElement){q.hideShapePicker();var Ia=ma.view;if(null!=H&&W==U)this.previewElement.style.display="none";else if(null!=I&&null!=W){null!=G.currentHighlight&&null!=G.currentHighlight.state&&G.currentHighlight.hide();var Oa=ma.model.isEdge(I.cell)||null!=w?w:p,Ra=z.getDropAndConnectGeometry(I.cell,e[Oa],P,e),Ma=ma.model.isEdge(I.cell)?
-null:ma.getCellGeometry(I.cell),Na=ma.getCellGeometry(e[Oa]),ta=ma.model.getParent(I.cell),Pa=Ia.translate.x*Ia.scale,$a=Ia.translate.y*Ia.scale;null!=Ma&&!Ma.relative&&ma.model.isVertex(ta)&&ta!=Ia.currentRoot&&($a=Ia.getState(ta),Pa=$a.x,$a=$a.y);Ma=Na.x;Na=Na.y;ma.model.isEdge(e[Oa])&&(Na=Ma=0);this.previewElement.style.left=(Ra.x-Ma)*Ia.scale+Pa+"px";this.previewElement.style.top=(Ra.y-Na)*Ia.scale+$a+"px";1==e.length&&(this.previewElement.style.width=Ra.width*Ia.scale+"px",this.previewElement.style.height=
-Ra.height*Ia.scale+"px",null!=this.previewElement.firstChild&&(this.previewElement.firstChild.style.display="none",this.previewElement.className="geDragPreview",mxUtils.setOpacity(this.previewElement,100)));this.previewElement.style.display=""}else null!=G.currentHighlight&&null!=G.currentHighlight.state&&ma.model.isEdge(G.currentHighlight.state.cell)?(this.previewElement.style.left=Math.round(parseInt(this.previewElement.style.left)-g.width*Ia.scale/2)+"px",this.previewElement.style.top=Math.round(parseInt(this.previewElement.style.top)-
-g.height*Ia.scale/2)+"px"):(this.previewElement.style.width=this.previewElementWidth,this.previewElement.style.height=this.previewElementHeight,this.previewElement.style.display="",null!=this.previewElement.firstChild&&(this.previewElement.firstChild.style.display="",mxUtils.setOpacity(this.previewElement,50),this.previewElement.className=""))}};var oa=(new Date).getTime(),L=0,ea=null,sa=this.editorUi.editor.graph.getCellStyle(e[0]);G.getDropTarget=mxUtils.bind(this,function(ma,Fa,Ia,Oa){var Ra=mxEvent.isAltDown(Oa)||
-null==e?null:ma.getCellAt(Fa,Ia,null,null,null,function($a,gb,cb){return ma.isContainer($a.cell)&&"0"!=mxUtils.getValue($a.style,"dropTarget","1")});if(null!=Ra&&!this.graph.isCellConnectable(Ra)&&!this.graph.model.isEdge(Ra)){var Ma=this.graph.getModel().getParent(Ra);this.graph.getModel().isVertex(Ma)&&this.graph.isCellConnectable(Ma)&&(Ra=Ma)}ma.isCellLocked(Ra)&&(Ra=null);var Na=ma.view.getState(Ra);Ma=W=null;ea!=Na?(oa=(new Date).getTime(),L=0,ea=Na,null!=this.updateThread&&window.clearTimeout(this.updateThread),
-null!=Na&&(this.updateThread=window.setTimeout(function(){null==W&&(ea=Na,G.getDropTarget(ma,Fa,Ia,Oa))},this.dropTargetDelay+10))):L=(new Date).getTime()-oa;if(D&&2500>L&&null!=Na&&!mxEvent.isShiftDown(Oa)&&(mxUtils.getValue(Na.style,mxConstants.STYLE_SHAPE)!=mxUtils.getValue(sa,mxConstants.STYLE_SHAPE)&&(mxUtils.getValue(Na.style,mxConstants.STYLE_STROKECOLOR,mxConstants.NONE)!=mxConstants.NONE||mxUtils.getValue(Na.style,mxConstants.STYLE_FILLCOLOR,mxConstants.NONE)!=mxConstants.NONE||mxUtils.getValue(Na.style,
-mxConstants.STYLE_GRADIENTCOLOR,mxConstants.NONE)!=mxConstants.NONE)||"image"==mxUtils.getValue(sa,mxConstants.STYLE_SHAPE)||1500<L||ma.model.isEdge(Na.cell))&&L>this.dropTargetDelay&&!this.isDropStyleTargetIgnored(Na)&&(ma.model.isVertex(Na.cell)&&null!=w||ma.model.isEdge(Na.cell)&&ma.model.isEdge(e[0]))){if(ma.isCellEditable(Na.cell)){H=Na;var ta=ma.model.isEdge(Na.cell)?ma.view.getPoint(Na):new mxPoint(Na.getCenterX(),Na.getCenterY());ta=new mxRectangle(ta.x-this.refreshTarget.width/2,ta.y-this.refreshTarget.height/
-2,this.refreshTarget.width,this.refreshTarget.height);U.style.left=Math.floor(ta.x)+"px";U.style.top=Math.floor(ta.y)+"px";null==ba&&(ma.container.appendChild(U),ba=U.parentNode);n(Fa,Ia,ta,U)}}else null==H||!mxUtils.contains(H,Fa,Ia)||1500<L&&!mxEvent.isShiftDown(Oa)?(H=null,null!=ba&&(U.parentNode.removeChild(U),ba=null)):null!=H&&null!=ba&&(ta=ma.model.isEdge(H.cell)?ma.view.getPoint(H):new mxPoint(H.getCenterX(),H.getCenterY()),ta=new mxRectangle(ta.x-this.refreshTarget.width/2,ta.y-this.refreshTarget.height/
-2,this.refreshTarget.width,this.refreshTarget.height),n(Fa,Ia,ta,U));if(Z&&null!=I&&!mxEvent.isAltDown(Oa)&&null==W){Ma=mxRectangle.fromRectangle(I);if(ma.model.isEdge(I.cell)){var Pa=I.absolutePoints;null!=ja.parentNode&&(ta=Pa[0],Ma.add(n(Fa,Ia,new mxRectangle(ta.x-this.roundDrop.width/2,ta.y-this.roundDrop.height/2,this.roundDrop.width,this.roundDrop.height),ja)));null!=pa.parentNode&&(Pa=Pa[Pa.length-1],Ma.add(n(Fa,Ia,new mxRectangle(Pa.x-this.roundDrop.width/2,Pa.y-this.roundDrop.height/2,this.roundDrop.width,
-this.roundDrop.height),pa)))}else ta=mxRectangle.fromRectangle(I),null!=I.shape&&null!=I.shape.boundingBox&&(ta=mxRectangle.fromRectangle(I.shape.boundingBox)),ta.grow(this.graph.tolerance),ta.grow(HoverIcons.prototype.arrowSpacing),Pa=this.graph.selectionCellsHandler.getHandler(I.cell),null!=Pa&&(ta.x-=Pa.horizontalOffset/2,ta.y-=Pa.verticalOffset/2,ta.width+=Pa.horizontalOffset,ta.height+=Pa.verticalOffset,null!=Pa.rotationShape&&null!=Pa.rotationShape.node&&"hidden"!=Pa.rotationShape.node.style.visibility&&
-"none"!=Pa.rotationShape.node.style.display&&null!=Pa.rotationShape.boundingBox&&ta.add(Pa.rotationShape.boundingBox)),Ma.add(n(Fa,Ia,new mxRectangle(I.getCenterX()-this.triangleUp.width/2,ta.y-this.triangleUp.height,this.triangleUp.width,this.triangleUp.height),S)),Ma.add(n(Fa,Ia,new mxRectangle(ta.x+ta.width,I.getCenterY()-this.triangleRight.height/2,this.triangleRight.width,this.triangleRight.height),X)),Ma.add(n(Fa,Ia,new mxRectangle(I.getCenterX()-this.triangleDown.width/2,ta.y+ta.height,this.triangleDown.width,
-this.triangleDown.height),Y)),Ma.add(n(Fa,Ia,new mxRectangle(ta.x-this.triangleLeft.width,I.getCenterY()-this.triangleLeft.height/2,this.triangleLeft.width,this.triangleLeft.height),M));null!=Ma&&Ma.grow(10)}P=mxConstants.DIRECTION_NORTH;W==X?P=mxConstants.DIRECTION_EAST:W==Y||W==pa?P=mxConstants.DIRECTION_SOUTH:W==M&&(P=mxConstants.DIRECTION_WEST);null!=H&&W==U&&(Na=H);ta=(null==w||ma.isCellConnectable(e[w]))&&(ma.model.isEdge(Ra)&&null!=w||ma.model.isVertex(Ra)&&ma.isCellConnectable(Ra));if(null!=
-I&&5E3<=L||I!=Na&&(null==Ma||!mxUtils.contains(Ma,Fa,Ia)||500<L&&null==W&&ta))if(Z=!1,I=5E3>L&&L>this.dropTargetDelay||ma.model.isEdge(Ra)?Na:null,null!=I&&ta){Ma=[ja,pa,S,X,Y,M];for(ta=0;ta<Ma.length;ta++)null!=Ma[ta].parentNode&&Ma[ta].parentNode.removeChild(Ma[ta]);ma.model.isEdge(Ra)?(Pa=Na.absolutePoints,null!=Pa&&(ta=Pa[0],Pa=Pa[Pa.length-1],ja.style.left=Math.floor(ta.x-this.roundDrop.width/2)+"px",ja.style.top=Math.floor(ta.y-this.roundDrop.height/2)+"px",pa.style.left=Math.floor(Pa.x-this.roundDrop.width/
-2)+"px",pa.style.top=Math.floor(Pa.y-this.roundDrop.height/2)+"px",null==ma.model.getTerminal(Ra,!0)&&ma.container.appendChild(ja),null==ma.model.getTerminal(Ra,!1)&&ma.container.appendChild(pa))):(ta=mxRectangle.fromRectangle(Na),null!=Na.shape&&null!=Na.shape.boundingBox&&(ta=mxRectangle.fromRectangle(Na.shape.boundingBox)),ta.grow(this.graph.tolerance),ta.grow(HoverIcons.prototype.arrowSpacing),Pa=this.graph.selectionCellsHandler.getHandler(Na.cell),null!=Pa&&(ta.x-=Pa.horizontalOffset/2,ta.y-=
-Pa.verticalOffset/2,ta.width+=Pa.horizontalOffset,ta.height+=Pa.verticalOffset,null!=Pa.rotationShape&&null!=Pa.rotationShape.node&&"hidden"!=Pa.rotationShape.node.style.visibility&&"none"!=Pa.rotationShape.node.style.display&&null!=Pa.rotationShape.boundingBox&&ta.add(Pa.rotationShape.boundingBox)),S.style.left=Math.floor(Na.getCenterX()-this.triangleUp.width/2)+"px",S.style.top=Math.floor(ta.y-this.triangleUp.height)+"px",X.style.left=Math.floor(ta.x+ta.width)+"px",X.style.top=Math.floor(Na.getCenterY()-
-this.triangleRight.height/2)+"px",Y.style.left=S.style.left,Y.style.top=Math.floor(ta.y+ta.height)+"px",M.style.left=Math.floor(ta.x-this.triangleLeft.width)+"px",M.style.top=X.style.top,"eastwest"!=Na.style.portConstraint&&(ma.container.appendChild(S),ma.container.appendChild(Y)),ma.container.appendChild(X),ma.container.appendChild(M));null!=Na&&(O=ma.selectionCellsHandler.getHandler(Na.cell),null!=O&&null!=O.setHandlesVisible&&O.setHandlesVisible(!1));Z=!0}else for(Ma=[ja,pa,S,X,Y,M],ta=0;ta<Ma.length;ta++)null!=
-Ma[ta].parentNode&&Ma[ta].parentNode.removeChild(Ma[ta]);Z||null==O||O.setHandlesVisible(!0);Ra=mxEvent.isAltDown(Oa)&&!mxEvent.isShiftDown(Oa)||null!=H&&W==U?null:mxDragSource.prototype.getDropTarget.apply(this,arguments);null==Ra||null==W&&ma.isSplitTarget(Ra,e,Oa)||(Ra=ma.getDropTarget(e,Oa,Ra,!0));return Ra});var va=G.startDrag;G.startDrag=function(ma){z.activeDragSource=this;va.apply(this,arguments)};var Ua=G.stopDrag;G.stopDrag=function(){Ua.apply(this,arguments);for(var ma=[ja,pa,U,S,X,Y,M],
-Fa=0;Fa<ma.length;Fa++)null!=ma[Fa].parentNode&&ma[Fa].parentNode.removeChild(ma[Fa]);null!=I&&null!=O&&O.reset();W=ba=H=I=O=z.activeDragSource=null};return G};
-Sidebar.prototype.itemClicked=function(a,b,d,e){e=this.editorUi.editor.graph;e.container.focus();if(mxEvent.isAltDown(d)&&1==e.getSelectionCount()&&e.model.isVertex(e.getSelectionCell())){b=null;for(var g=0;g<a.length&&null==b;g++)e.model.isVertex(a[g])&&(b=g);null!=b&&(e.setSelectionCells(this.dropAndConnect(e.getSelectionCell(),a,mxEvent.isMetaDown(d)||mxEvent.isControlDown(d)?mxEvent.isShiftDown(d)?mxConstants.DIRECTION_WEST:mxConstants.DIRECTION_NORTH:mxEvent.isShiftDown(d)?mxConstants.DIRECTION_EAST:
-mxConstants.DIRECTION_SOUTH,b,d)),e.scrollCellToVisible(e.getSelectionCell()))}else mxEvent.isShiftDown(d)&&!e.isSelectionEmpty()?(d=e.getEditableCells(e.getSelectionCells()),e.updateShapes(a[0],d,!0),e.scrollCellToVisible(d)):(a=mxEvent.isAltDown(d)?e.getFreeInsertPoint():e.getCenterInsertPoint(e.getBoundingBoxFromGeometry(a,!0)),b.drop(e,d,null,a.x,a.y,!0))};
-Sidebar.prototype.addClickHandler=function(a,b,d,e){var g=b.getGraphForEvent,f=b.mouseDown,h=b.mouseMove,n=b.mouseUp,q=this.editorUi.editor.graph.tolerance,l=!1,p=null,w=this,z=null;b.getGraphForEvent=function(C){return l?g.apply(this,arguments):null};b.mouseDown=function(C){f.apply(this,arguments);p=new mxPoint(mxEvent.getClientX(C),mxEvent.getClientY(C));z=a.style.opacity;l=!1;""==z&&(z="1");null!=this.dragElement&&(this.dragElement.style.display="none",mxUtils.setOpacity(a,50))};b.mouseMove=function(C){(l=
-null!=p&&(Math.abs(p.x-mxEvent.getClientX(C))>q||Math.abs(p.y-mxEvent.getClientY(C))>q))&&null!=this.dragElement&&"none"==this.dragElement.style.display&&(this.dragElement.style.display="",mxUtils.setOpacity(a,100*z));h.apply(this,arguments)};b.mouseUp=function(C){try{mxEvent.isPopupTrigger(C)||null!=this.currentGraph||null==this.dragElement||"none"!=this.dragElement.style.display||(null!=e&&e(C),mxEvent.isConsumed(C)||w.itemClicked(d,b,C,a)),n.apply(b,arguments),mxUtils.setOpacity(a,100*z),p=null,
-w.currentElt=a}catch(F){b.reset(),w.editorUi.handleError(F)}}};Sidebar.prototype.createVertexTemplateEntry=function(a,b,d,e,g,f,h,n){null!=n&&null!=g&&(n+=" "+g);n=null!=n&&0<n.length?n:null!=g?g.toLowerCase():"";return this.addEntry(n,mxUtils.bind(this,function(){return this.createVertexTemplate(a,b,d,e,g,f,h)}))};
-Sidebar.prototype.createVertexTemplate=function(a,b,d,e,g,f,h,n,q,l,p,w,z,C){a=[new mxCell(null!=e?e:"",new mxGeometry(0,0,b,d),a)];a[0].vertex=!0;return this.createVertexTemplateFromCells(a,b,d,g,f,h,n,q,l,p,w,z,C)};
-Sidebar.prototype.createVertexTemplateFromData=function(a,b,d,e,g,f,h,n){var q=null;try{var l=mxUtils.parseXml(Graph.decompress(a)),p=new mxCodec(l),w=new mxGraphModel;p.decode(l.documentElement,w);q=this.graph.cloneCells(w.root.getChildAt(0).children)}catch(z){e=mxResources.get("error")+": "+z.message}return this.createVertexTemplateFromCells(q,b,d,e,g,f,h,n)};Sidebar.prototype.createVertexTemplateFromCells=function(a,b,d,e,g,f,h,n,q,l,p,w,z,C){return this.createItem(a,e,g,f,b,d,h,n,q,l,p,w,z,C)};
-Sidebar.prototype.createEdgeTemplateEntry=function(a,b,d,e,g,f,h,n,q){h=null!=h&&0<h.length?h:g.toLowerCase();return this.addEntry(h,mxUtils.bind(this,function(){return this.createEdgeTemplate(a,b,d,e,g,f,n,q)}))};
-Sidebar.prototype.createEdgeTemplate=function(a,b,d,e,g,f,h,n){a=new mxCell(null!=e?e:"",new mxGeometry(0,0,b,d),a);a.geometry.setTerminalPoint(new mxPoint(0,d),!0);a.geometry.setTerminalPoint(new mxPoint(b,0),!1);a.geometry.relative=!0;a.edge=!0;return this.createEdgeTemplateFromCells([a],b,d,g,f,h,n)};Sidebar.prototype.createEdgeTemplateFromCells=function(a,b,d,e,g,f,h,n,q,l,p,w){return this.createItem(a,e,g,null!=n?n:!0,b,d,f,h,q,l,p,w)};
-Sidebar.prototype.addPaletteFunctions=function(a,b,d,e){this.addPalette(a,b,d,mxUtils.bind(this,function(g){for(var f=0;f<e.length;f++)g.appendChild(e[f](g))}))};
-Sidebar.prototype.addPalette=function(a,b,d,e){b=this.createTitle(b);this.appendChild(b);var g=document.createElement("div");g.className="geSidebar";mxClient.IS_POINTER&&(g.style.touchAction="none");d&&this.expandLibraries?(e(g),e=null):g.style.display="none";this.addFoldingHandler(b,g,e);d=document.createElement("div");d.appendChild(g);this.appendChild(d);null!=a&&(this.palettes[a]=[b,d]);return g};
-Sidebar.prototype.addFoldingHandler=function(a,b,d){var e=!1;if(!mxClient.IS_IE||8<=document.documentMode)a.style.backgroundImage="none"==b.style.display?"url('"+this.collapsedImage+"')":"url('"+this.expandedImage+"')";a.style.backgroundRepeat="no-repeat";a.style.backgroundPosition="4px 50%";mxEvent.addListener(a,"click",mxUtils.bind(this,function(g){if(a.contains(mxEvent.getSource(g))){if("none"==b.style.display){if(e)this.setContentVisible(b,!0);else if(e=!0,null!=d){a.style.cursor="wait";for(var f=
-[],h=0;h<a.children.length;h++)f.push(a.children[h]);a.innerHTML=mxResources.get("loading")+"...";window.setTimeout(mxUtils.bind(this,function(){this.setContentVisible(b,!0);a.style.cursor="";a.innerHTML="";for(var n=0;n<f.length;n++)a.appendChild(f[n]);n=mxClient.NO_FO;mxClient.NO_FO=Editor.prototype.originalNoForeignObject;d(b,a);mxClient.NO_FO=n}),mxClient.IS_FF?20:0)}else this.setContentVisible(b,!0);a.style.backgroundImage="url('"+this.expandedImage+"')"}else a.style.backgroundImage="url('"+
-this.collapsedImage+"')",this.setContentVisible(b,!1);mxEvent.consume(g)}}));mxEvent.addListener(a,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(g){g.preventDefault()}))};
+Sidebar.prototype.createDragSource=function(a,b,e,f,h,d){function g(ma,Fa){var Ha=mxUtils.createImage(ma.src);Ha.style.width=ma.width+"px";Ha.style.height=ma.height+"px";null!=Fa&&Ha.setAttribute("title",Fa);mxUtils.setOpacity(Ha,ma==this.refreshTarget?30:20);Ha.style.position="absolute";Ha.style.cursor="crosshair";return Ha}function n(ma,Fa,Ha,Na){null!=Na.parentNode&&(mxUtils.contains(Ha,ma,Fa)?(mxUtils.setOpacity(Na,100),T=Na):mxUtils.setOpacity(Na,Na==U?30:20));return Ha}var q=this.editorUi,k=
+q.editor.graph,p=null,w=null,z=this;d=0;for(var C=this.livePreview,F=0;F<f.length&&C;F++)d+=k.model.getDescendants(f[F]).length,C=d<k.graphHandler.maxLivePreview;for(F=0;F<f.length&&(null==w&&k.model.isVertex(f[F])?w=F:null==p&&k.model.isEdge(f[F])&&null==k.model.getTerminal(f[F],!0)&&(p=F),null==w||null==p);F++);var D=this.isDropStyleEnabled(f,w),H=mxUtils.makeDraggable(a,k,mxUtils.bind(this,function(ma,Fa,Ha,Na,Qa){null!=this.updateThread&&window.clearTimeout(this.updateThread);if(null!=f&&null!=
+I&&T==U){var La=ma.isCellSelected(I.cell)?ma.getSelectionCells():[I.cell];ma.updateShapes(ma.model.isEdge(I.cell)?f[0]:f[w],La,!0);ma.setSelectionCells(La)}else null!=f&&null!=T&&null!=G&&T!=U?(La=ma.model.isEdge(G.cell)||null==p?w:p,ma.setSelectionCells(this.dropAndConnect(G.cell,f,O,La,Fa,w,p))):b.apply(this,arguments);null!=this.editorUi.hoverIcons&&this.editorUi.hoverIcons.update(ma.view.getState(ma.getSelectionCell()))}),e,0,0,k.autoscroll,!0,!0);C&&(H.createDragElement=mxUtils.bind(this,function(){return H.createPreviewElement(this.graph)}),
+H.createPreviewElement=mxUtils.bind(this,function(ma){var Fa=document.createElement("a");Fa.className="geItem";Fa.style.overflow="visible";ma=ma.view.scale;Fa.style.width=ma*Math.max(1,h.width)+"px";Fa.style.height=ma*Math.max(1,h.height)+"px";mxUtils.setOpacity(Fa,50);var Ha=k.cloneCells(f);this.graph.pasteCellStyles(k.includeDescendants(Ha),k.currentVertexStyle,k.currentEdgeStyle,null,k.pasteEdgeStyle);z.createThumb(Ha,ma*Math.max(1,h.width),ma*Math.max(1,h.height),Fa,null,null,null,null,null,k.shapeBackgroundColor,
+0,ma);return Fa}));var K=H.mouseDown;H.mouseDown=function(ma){mxEvent.isPopupTrigger(ma)||mxEvent.isMultiTouchEvent(ma)||k.isCellLocked(k.getDefaultParent())||(k.stopEditing(),K.apply(this,arguments))};var G=null,P=null,I=null,Z=!1,S=g(this.triangleUp,mxResources.get("connect")),Y=g(this.triangleRight,mxResources.get("connect")),V=g(this.triangleDown,mxResources.get("connect")),L=g(this.triangleLeft,mxResources.get("connect")),U=g(this.refreshTarget,mxResources.get("replace")),ba=null,ja=g(this.roundDrop),
+sa=g(this.roundDrop),O=mxConstants.DIRECTION_NORTH,T=null,X=H.createPreviewElement;H.createPreviewElement=function(ma){var Fa=X.apply(this,arguments);mxClient.IS_SVG&&(Fa.style.pointerEvents="none");this.previewElementWidth=Fa.style.width;this.previewElementHeight=Fa.style.height;return Fa};var ca=H.dragEnter;H.dragEnter=function(ma,Fa){null!=q.hoverIcons&&q.hoverIcons.setDisplay("none");ca.apply(this,arguments)};var na=H.dragExit;H.dragExit=function(ma,Fa){null!=q.hoverIcons&&q.hoverIcons.setDisplay("");
+na.apply(this,arguments)};H.dragOver=function(ma,Fa){mxDragSource.prototype.dragOver.apply(this,arguments);null!=this.currentGuide&&null!=T&&this.currentGuide.hide();if(null!=this.previewElement){q.hideShapePicker();var Ha=ma.view;if(null!=I&&T==U)this.previewElement.style.display="none";else if(null!=G&&null!=T){null!=H.currentHighlight&&null!=H.currentHighlight.state&&H.currentHighlight.hide();var Na=ma.model.isEdge(G.cell)||null!=w?w:p,Qa=z.getDropAndConnectGeometry(G.cell,f[Na],O,f),La=ma.model.isEdge(G.cell)?
+null:ma.getCellGeometry(G.cell),Ja=ma.getCellGeometry(f[Na]),ua=ma.model.getParent(G.cell),Ia=Ha.translate.x*Ha.scale,Za=Ha.translate.y*Ha.scale;null!=La&&!La.relative&&ma.model.isVertex(ua)&&ua!=Ha.currentRoot&&(Za=Ha.getState(ua),Ia=Za.x,Za=Za.y);La=Ja.x;Ja=Ja.y;ma.model.isEdge(f[Na])&&(Ja=La=0);this.previewElement.style.left=(Qa.x-La)*Ha.scale+Ia+"px";this.previewElement.style.top=(Qa.y-Ja)*Ha.scale+Za+"px";1==f.length&&(this.previewElement.style.width=Qa.width*Ha.scale+"px",this.previewElement.style.height=
+Qa.height*Ha.scale+"px",null!=this.previewElement.firstChild&&(this.previewElement.firstChild.style.display="none",this.previewElement.className="geDragPreview",mxUtils.setOpacity(this.previewElement,100)));this.previewElement.style.display=""}else null!=H.currentHighlight&&null!=H.currentHighlight.state&&ma.model.isEdge(H.currentHighlight.state.cell)?(this.previewElement.style.left=Math.round(parseInt(this.previewElement.style.left)-h.width*Ha.scale/2)+"px",this.previewElement.style.top=Math.round(parseInt(this.previewElement.style.top)-
+h.height*Ha.scale/2)+"px"):(this.previewElement.style.width=this.previewElementWidth,this.previewElement.style.height=this.previewElementHeight,this.previewElement.style.display="",null!=this.previewElement.firstChild&&(this.previewElement.firstChild.style.display="",mxUtils.setOpacity(this.previewElement,50),this.previewElement.className=""))}};var pa=(new Date).getTime(),M=0,ea=null,ra=this.editorUi.editor.graph.getCellStyle(f[0]);H.getDropTarget=mxUtils.bind(this,function(ma,Fa,Ha,Na){var Qa=mxEvent.isAltDown(Na)||
+null==f?null:ma.getCellAt(Fa,Ha,null,null,null,function(Za,gb,db){return ma.isContainer(Za.cell)&&"0"!=mxUtils.getValue(Za.style,"dropTarget","1")});if(null!=Qa&&!this.graph.isCellConnectable(Qa)&&!this.graph.model.isEdge(Qa)){var La=this.graph.getModel().getParent(Qa);this.graph.getModel().isVertex(La)&&this.graph.isCellConnectable(La)&&(Qa=La)}ma.isCellLocked(Qa)&&(Qa=null);var Ja=ma.view.getState(Qa);La=T=null;ea!=Ja?(pa=(new Date).getTime(),M=0,ea=Ja,null!=this.updateThread&&window.clearTimeout(this.updateThread),
+null!=Ja&&(this.updateThread=window.setTimeout(function(){null==T&&(ea=Ja,H.getDropTarget(ma,Fa,Ha,Na))},this.dropTargetDelay+10))):M=(new Date).getTime()-pa;if(D&&2500>M&&null!=Ja&&!mxEvent.isShiftDown(Na)&&(mxUtils.getValue(Ja.style,mxConstants.STYLE_SHAPE)!=mxUtils.getValue(ra,mxConstants.STYLE_SHAPE)&&(mxUtils.getValue(Ja.style,mxConstants.STYLE_STROKECOLOR,mxConstants.NONE)!=mxConstants.NONE||mxUtils.getValue(Ja.style,mxConstants.STYLE_FILLCOLOR,mxConstants.NONE)!=mxConstants.NONE||mxUtils.getValue(Ja.style,
+mxConstants.STYLE_GRADIENTCOLOR,mxConstants.NONE)!=mxConstants.NONE)||"image"==mxUtils.getValue(ra,mxConstants.STYLE_SHAPE)||1500<M||ma.model.isEdge(Ja.cell))&&M>this.dropTargetDelay&&!this.isDropStyleTargetIgnored(Ja)&&(ma.model.isVertex(Ja.cell)&&null!=w||ma.model.isEdge(Ja.cell)&&ma.model.isEdge(f[0]))){if(ma.isCellEditable(Ja.cell)){I=Ja;var ua=ma.model.isEdge(Ja.cell)?ma.view.getPoint(Ja):new mxPoint(Ja.getCenterX(),Ja.getCenterY());ua=new mxRectangle(ua.x-this.refreshTarget.width/2,ua.y-this.refreshTarget.height/
+2,this.refreshTarget.width,this.refreshTarget.height);U.style.left=Math.floor(ua.x)+"px";U.style.top=Math.floor(ua.y)+"px";null==ba&&(ma.container.appendChild(U),ba=U.parentNode);n(Fa,Ha,ua,U)}}else null==I||!mxUtils.contains(I,Fa,Ha)||1500<M&&!mxEvent.isShiftDown(Na)?(I=null,null!=ba&&(U.parentNode.removeChild(U),ba=null)):null!=I&&null!=ba&&(ua=ma.model.isEdge(I.cell)?ma.view.getPoint(I):new mxPoint(I.getCenterX(),I.getCenterY()),ua=new mxRectangle(ua.x-this.refreshTarget.width/2,ua.y-this.refreshTarget.height/
+2,this.refreshTarget.width,this.refreshTarget.height),n(Fa,Ha,ua,U));if(Z&&null!=G&&!mxEvent.isAltDown(Na)&&null==T){La=mxRectangle.fromRectangle(G);if(ma.model.isEdge(G.cell)){var Ia=G.absolutePoints;null!=ja.parentNode&&(ua=Ia[0],La.add(n(Fa,Ha,new mxRectangle(ua.x-this.roundDrop.width/2,ua.y-this.roundDrop.height/2,this.roundDrop.width,this.roundDrop.height),ja)));null!=sa.parentNode&&(Ia=Ia[Ia.length-1],La.add(n(Fa,Ha,new mxRectangle(Ia.x-this.roundDrop.width/2,Ia.y-this.roundDrop.height/2,this.roundDrop.width,
+this.roundDrop.height),sa)))}else ua=mxRectangle.fromRectangle(G),null!=G.shape&&null!=G.shape.boundingBox&&(ua=mxRectangle.fromRectangle(G.shape.boundingBox)),ua.grow(this.graph.tolerance),ua.grow(HoverIcons.prototype.arrowSpacing),Ia=this.graph.selectionCellsHandler.getHandler(G.cell),null!=Ia&&(ua.x-=Ia.horizontalOffset/2,ua.y-=Ia.verticalOffset/2,ua.width+=Ia.horizontalOffset,ua.height+=Ia.verticalOffset,null!=Ia.rotationShape&&null!=Ia.rotationShape.node&&"hidden"!=Ia.rotationShape.node.style.visibility&&
+"none"!=Ia.rotationShape.node.style.display&&null!=Ia.rotationShape.boundingBox&&ua.add(Ia.rotationShape.boundingBox)),La.add(n(Fa,Ha,new mxRectangle(G.getCenterX()-this.triangleUp.width/2,ua.y-this.triangleUp.height,this.triangleUp.width,this.triangleUp.height),S)),La.add(n(Fa,Ha,new mxRectangle(ua.x+ua.width,G.getCenterY()-this.triangleRight.height/2,this.triangleRight.width,this.triangleRight.height),Y)),La.add(n(Fa,Ha,new mxRectangle(G.getCenterX()-this.triangleDown.width/2,ua.y+ua.height,this.triangleDown.width,
+this.triangleDown.height),V)),La.add(n(Fa,Ha,new mxRectangle(ua.x-this.triangleLeft.width,G.getCenterY()-this.triangleLeft.height/2,this.triangleLeft.width,this.triangleLeft.height),L));null!=La&&La.grow(10)}O=mxConstants.DIRECTION_NORTH;T==Y?O=mxConstants.DIRECTION_EAST:T==V||T==sa?O=mxConstants.DIRECTION_SOUTH:T==L&&(O=mxConstants.DIRECTION_WEST);null!=I&&T==U&&(Ja=I);ua=(null==w||ma.isCellConnectable(f[w]))&&(ma.model.isEdge(Qa)&&null!=w||ma.model.isVertex(Qa)&&ma.isCellConnectable(Qa));if(null!=
+G&&5E3<=M||G!=Ja&&(null==La||!mxUtils.contains(La,Fa,Ha)||500<M&&null==T&&ua))if(Z=!1,G=5E3>M&&M>this.dropTargetDelay||ma.model.isEdge(Qa)?Ja:null,null!=G&&ua){La=[ja,sa,S,Y,V,L];for(ua=0;ua<La.length;ua++)null!=La[ua].parentNode&&La[ua].parentNode.removeChild(La[ua]);ma.model.isEdge(Qa)?(Ia=Ja.absolutePoints,null!=Ia&&(ua=Ia[0],Ia=Ia[Ia.length-1],ja.style.left=Math.floor(ua.x-this.roundDrop.width/2)+"px",ja.style.top=Math.floor(ua.y-this.roundDrop.height/2)+"px",sa.style.left=Math.floor(Ia.x-this.roundDrop.width/
+2)+"px",sa.style.top=Math.floor(Ia.y-this.roundDrop.height/2)+"px",null==ma.model.getTerminal(Qa,!0)&&ma.container.appendChild(ja),null==ma.model.getTerminal(Qa,!1)&&ma.container.appendChild(sa))):(ua=mxRectangle.fromRectangle(Ja),null!=Ja.shape&&null!=Ja.shape.boundingBox&&(ua=mxRectangle.fromRectangle(Ja.shape.boundingBox)),ua.grow(this.graph.tolerance),ua.grow(HoverIcons.prototype.arrowSpacing),Ia=this.graph.selectionCellsHandler.getHandler(Ja.cell),null!=Ia&&(ua.x-=Ia.horizontalOffset/2,ua.y-=
+Ia.verticalOffset/2,ua.width+=Ia.horizontalOffset,ua.height+=Ia.verticalOffset,null!=Ia.rotationShape&&null!=Ia.rotationShape.node&&"hidden"!=Ia.rotationShape.node.style.visibility&&"none"!=Ia.rotationShape.node.style.display&&null!=Ia.rotationShape.boundingBox&&ua.add(Ia.rotationShape.boundingBox)),S.style.left=Math.floor(Ja.getCenterX()-this.triangleUp.width/2)+"px",S.style.top=Math.floor(ua.y-this.triangleUp.height)+"px",Y.style.left=Math.floor(ua.x+ua.width)+"px",Y.style.top=Math.floor(Ja.getCenterY()-
+this.triangleRight.height/2)+"px",V.style.left=S.style.left,V.style.top=Math.floor(ua.y+ua.height)+"px",L.style.left=Math.floor(ua.x-this.triangleLeft.width)+"px",L.style.top=Y.style.top,"eastwest"!=Ja.style.portConstraint&&(ma.container.appendChild(S),ma.container.appendChild(V)),ma.container.appendChild(Y),ma.container.appendChild(L));null!=Ja&&(P=ma.selectionCellsHandler.getHandler(Ja.cell),null!=P&&null!=P.setHandlesVisible&&P.setHandlesVisible(!1));Z=!0}else for(La=[ja,sa,S,Y,V,L],ua=0;ua<La.length;ua++)null!=
+La[ua].parentNode&&La[ua].parentNode.removeChild(La[ua]);Z||null==P||P.setHandlesVisible(!0);Qa=mxEvent.isAltDown(Na)&&!mxEvent.isShiftDown(Na)||null!=I&&T==U?null:mxDragSource.prototype.getDropTarget.apply(this,arguments);null==Qa||null==T&&ma.isSplitTarget(Qa,f,Na)||(Qa=ma.getDropTarget(f,Na,Qa,!0));return Qa});var ta=H.startDrag;H.startDrag=function(ma){z.activeDragSource=this;ta.apply(this,arguments)};var Sa=H.stopDrag;H.stopDrag=function(){Sa.apply(this,arguments);for(var ma=[ja,sa,U,S,Y,V,L],
+Fa=0;Fa<ma.length;Fa++)null!=ma[Fa].parentNode&&ma[Fa].parentNode.removeChild(ma[Fa]);null!=G&&null!=P&&P.reset();T=ba=I=G=P=z.activeDragSource=null};return H};
+Sidebar.prototype.itemClicked=function(a,b,e,f){f=this.editorUi.editor.graph;f.container.focus();if(mxEvent.isAltDown(e)&&1==f.getSelectionCount()&&f.model.isVertex(f.getSelectionCell())){b=null;for(var h=0;h<a.length&&null==b;h++)f.model.isVertex(a[h])&&(b=h);null!=b&&(f.setSelectionCells(this.dropAndConnect(f.getSelectionCell(),a,mxEvent.isMetaDown(e)||mxEvent.isControlDown(e)?mxEvent.isShiftDown(e)?mxConstants.DIRECTION_WEST:mxConstants.DIRECTION_NORTH:mxEvent.isShiftDown(e)?mxConstants.DIRECTION_EAST:
+mxConstants.DIRECTION_SOUTH,b,e)),f.scrollCellToVisible(f.getSelectionCell()))}else mxEvent.isShiftDown(e)&&!f.isSelectionEmpty()?(e=f.getEditableCells(f.getSelectionCells()),f.updateShapes(a[0],e,!0),f.scrollCellToVisible(e)):(a=mxEvent.isAltDown(e)?f.getFreeInsertPoint():f.getCenterInsertPoint(f.getBoundingBoxFromGeometry(a,!0)),b.drop(f,e,null,a.x,a.y,!0))};
+Sidebar.prototype.addClickHandler=function(a,b,e,f){var h=b.getGraphForEvent,d=b.mouseDown,g=b.mouseMove,n=b.mouseUp,q=this.editorUi.editor.graph.tolerance,k=!1,p=null,w=this,z=null;b.getGraphForEvent=function(C){return k?h.apply(this,arguments):null};b.mouseDown=function(C){d.apply(this,arguments);p=new mxPoint(mxEvent.getClientX(C),mxEvent.getClientY(C));z=a.style.opacity;k=!1;""==z&&(z="1");null!=this.dragElement&&(this.dragElement.style.display="none",mxUtils.setOpacity(a,50))};b.mouseMove=function(C){(k=
+null!=p&&(Math.abs(p.x-mxEvent.getClientX(C))>q||Math.abs(p.y-mxEvent.getClientY(C))>q))&&null!=this.dragElement&&"none"==this.dragElement.style.display&&(this.dragElement.style.display="",mxUtils.setOpacity(a,100*z));g.apply(this,arguments)};b.mouseUp=function(C){try{mxEvent.isPopupTrigger(C)||null!=this.currentGraph||null==this.dragElement||"none"!=this.dragElement.style.display||(null!=f&&f(C),mxEvent.isConsumed(C)||w.itemClicked(e,b,C,a)),n.apply(b,arguments),mxUtils.setOpacity(a,100*z),p=null,
+w.currentElt=a}catch(F){b.reset(),w.editorUi.handleError(F)}}};Sidebar.prototype.createVertexTemplateEntry=function(a,b,e,f,h,d,g,n){null!=n&&null!=h&&(n+=" "+h);n=null!=n&&0<n.length?n:null!=h?h.toLowerCase():"";return this.addEntry(n,mxUtils.bind(this,function(){return this.createVertexTemplate(a,b,e,f,h,d,g)}))};
+Sidebar.prototype.createVertexTemplate=function(a,b,e,f,h,d,g,n,q,k,p,w,z,C){a=[new mxCell(null!=f?f:"",new mxGeometry(0,0,b,e),a)];a[0].vertex=!0;return this.createVertexTemplateFromCells(a,b,e,h,d,g,n,q,k,p,w,z,C)};
+Sidebar.prototype.createVertexTemplateFromData=function(a,b,e,f,h,d,g,n){var q=null;try{var k=mxUtils.parseXml(Graph.decompress(a)),p=new mxCodec(k),w=new mxGraphModel;p.decode(k.documentElement,w);q=this.graph.cloneCells(w.root.getChildAt(0).children)}catch(z){f=mxResources.get("error")+": "+z.message}return this.createVertexTemplateFromCells(q,b,e,f,h,d,g,n)};Sidebar.prototype.createVertexTemplateFromCells=function(a,b,e,f,h,d,g,n,q,k,p,w,z,C){return this.createItem(a,f,h,d,b,e,g,n,q,k,p,w,z,C)};
+Sidebar.prototype.createEdgeTemplateEntry=function(a,b,e,f,h,d,g,n,q){g=null!=g&&0<g.length?g:h.toLowerCase();return this.addEntry(g,mxUtils.bind(this,function(){return this.createEdgeTemplate(a,b,e,f,h,d,n,q)}))};
+Sidebar.prototype.createEdgeTemplate=function(a,b,e,f,h,d,g,n){a=new mxCell(null!=f?f:"",new mxGeometry(0,0,b,e),a);a.geometry.setTerminalPoint(new mxPoint(0,e),!0);a.geometry.setTerminalPoint(new mxPoint(b,0),!1);a.geometry.relative=!0;a.edge=!0;return this.createEdgeTemplateFromCells([a],b,e,h,d,g,n)};Sidebar.prototype.createEdgeTemplateFromCells=function(a,b,e,f,h,d,g,n,q,k,p,w){return this.createItem(a,f,h,null!=n?n:!0,b,e,d,g,q,k,p,w)};
+Sidebar.prototype.addPaletteFunctions=function(a,b,e,f){this.addPalette(a,b,e,mxUtils.bind(this,function(h){for(var d=0;d<f.length;d++)h.appendChild(f[d](h))}))};
+Sidebar.prototype.addPalette=function(a,b,e,f){b=this.createTitle(b);this.appendChild(b);var h=document.createElement("div");h.className="geSidebar";mxClient.IS_POINTER&&(h.style.touchAction="none");e&&this.expandLibraries?(f(h),f=null):h.style.display="none";this.addFoldingHandler(b,h,f);e=document.createElement("div");e.appendChild(h);this.appendChild(e);null!=a&&(this.palettes[a]=[b,e]);return h};
+Sidebar.prototype.addFoldingHandler=function(a,b,e){var f=!1;if(!mxClient.IS_IE||8<=document.documentMode)a.style.backgroundImage="none"==b.style.display?"url('"+this.collapsedImage+"')":"url('"+this.expandedImage+"')";a.style.backgroundRepeat="no-repeat";a.style.backgroundPosition="4px 50%";mxEvent.addListener(a,"click",mxUtils.bind(this,function(h){if(a.contains(mxEvent.getSource(h))){if("none"==b.style.display){if(f)this.setContentVisible(b,!0);else if(f=!0,null!=e){a.style.cursor="wait";for(var d=
+[],g=0;g<a.children.length;g++)d.push(a.children[g]);a.innerHTML=mxResources.get("loading")+"...";window.setTimeout(mxUtils.bind(this,function(){this.setContentVisible(b,!0);a.style.cursor="";a.innerHTML="";for(var n=0;n<d.length;n++)a.appendChild(d[n]);n=mxClient.NO_FO;mxClient.NO_FO=Editor.prototype.originalNoForeignObject;e(b,a);mxClient.NO_FO=n}),mxClient.IS_FF?20:0)}else this.setContentVisible(b,!0);a.style.backgroundImage="url('"+this.expandedImage+"')"}else a.style.backgroundImage="url('"+
+this.collapsedImage+"')",this.setContentVisible(b,!1);mxEvent.consume(h)}}));mxEvent.addListener(a,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(h){h.preventDefault()}))};
Sidebar.prototype.setContentVisible=function(a,b){mxUtils.setPrefixedStyle(a.style,"transition","all 0.2s linear");mxUtils.setPrefixedStyle(a.style,"transform-origin","top left");b?(mxUtils.setPrefixedStyle(a.style,"transform","scaleY(0)"),a.style.display="block",window.setTimeout(mxUtils.bind(this,function(){mxUtils.setPrefixedStyle(a.style,"transform","scaleY(1)");window.setTimeout(mxUtils.bind(this,function(){mxUtils.setPrefixedStyle(a.style,"transform",null);mxUtils.setPrefixedStyle(a.style,"transition",
null)}),200)}),0)):(mxUtils.setPrefixedStyle(a.style,"transform","scaleY(0)"),window.setTimeout(mxUtils.bind(this,function(){mxUtils.setPrefixedStyle(a.style,"transform",null);mxUtils.setPrefixedStyle(a.style,"transition",null);a.style.display="none"}),200))};Sidebar.prototype.removePalette=function(a){var b=this.palettes[a];if(null!=b){this.palettes[a]=null;for(a=0;a<b.length;a++)this.container.removeChild(b[a]);return!0}return!1};
-Sidebar.prototype.addImagePalette=function(a,b,d,e,g,f,h){for(var n=[],q=0;q<g.length;q++)mxUtils.bind(this,function(l,p,w){if(null==w&&(null==d||"img/lib/clip_art/"!=d.substring(0,17))){w=l.lastIndexOf("/");var z=l.lastIndexOf(".");w=l.substring(0<=w?w+1:0,0<=z?z:l.length).replace(/[-_]/g," ")}n.push(this.createVertexTemplateEntry("image;html=1;image="+d+l+e,this.defaultImageWidth,this.defaultImageHeight,"",p,null!=p,null,this.filterTags(w)))})(g[q],null!=f?f[q]:null,null!=h?h[g[q]]:null);this.addPaletteFunctions(a,
-b,!1,n)};Sidebar.prototype.getTagsForStencil=function(a,b,d){a=a.split(".");for(var e=1;e<a.length;e++)a[e]=a[e].replace(/_/g," ");a.push(b.replace(/_/g," "));null!=d&&a.push(d);return a.slice(1,a.length)};
-Sidebar.prototype.addStencilPalette=function(a,b,d,e,g,f,h,n,q,l){h=null!=h?h:1;if(this.addStencilsToIndex){var p=[];if(null!=q)for(l=0;l<q.length;l++)p.push(q[l]);mxStencilRegistry.loadStencilSet(d,mxUtils.bind(this,function(w,z,C,F,D){if(null==g||0>mxUtils.indexOf(g,z)){C=this.getTagsForStencil(w,z);var G=null!=n?n[z]:null;null!=G&&C.push(G);p.push(this.createVertexTemplateEntry("shape="+w+z.toLowerCase()+e,Math.round(F*h),Math.round(D*h),"",z.replace(/_/g," "),null,null,this.filterTags(C.join(" "))))}}),
-!0,!0);this.addPaletteFunctions(a,b,!1,p)}else this.addPalette(a,b,!1,mxUtils.bind(this,function(w){null==e&&(e="");null!=f&&f.call(this,w);if(null!=q)for(var z=0;z<q.length;z++)q[z](w);mxStencilRegistry.loadStencilSet(d,mxUtils.bind(this,function(C,F,D,G,K){(null==g||0>mxUtils.indexOf(g,F))&&w.appendChild(this.createVertexTemplate("shape="+C+F.toLowerCase()+e,Math.round(G*h),Math.round(K*h),"",F.replace(/_/g," "),!0))}),!0)}))};
+Sidebar.prototype.addImagePalette=function(a,b,e,f,h,d,g){for(var n=[],q=0;q<h.length;q++)mxUtils.bind(this,function(k,p,w){if(null==w&&(null==e||"img/lib/clip_art/"!=e.substring(0,17))){w=k.lastIndexOf("/");var z=k.lastIndexOf(".");w=k.substring(0<=w?w+1:0,0<=z?z:k.length).replace(/[-_]/g," ")}n.push(this.createVertexTemplateEntry("image;html=1;image="+e+k+f,this.defaultImageWidth,this.defaultImageHeight,"",p,null!=p,null,this.filterTags(w)))})(h[q],null!=d?d[q]:null,null!=g?g[h[q]]:null);this.addPaletteFunctions(a,
+b,!1,n)};Sidebar.prototype.getTagsForStencil=function(a,b,e){a=a.split(".");for(var f=1;f<a.length;f++)a[f]=a[f].replace(/_/g," ");a.push(b.replace(/_/g," "));null!=e&&a.push(e);return a.slice(1,a.length)};
+Sidebar.prototype.addStencilPalette=function(a,b,e,f,h,d,g,n,q,k){g=null!=g?g:1;if(this.addStencilsToIndex){var p=[];if(null!=q)for(k=0;k<q.length;k++)p.push(q[k]);mxStencilRegistry.loadStencilSet(e,mxUtils.bind(this,function(w,z,C,F,D){if(null==h||0>mxUtils.indexOf(h,z)){C=this.getTagsForStencil(w,z);var H=null!=n?n[z]:null;null!=H&&C.push(H);p.push(this.createVertexTemplateEntry("shape="+w+z.toLowerCase()+f,Math.round(F*g),Math.round(D*g),"",z.replace(/_/g," "),null,null,this.filterTags(C.join(" "))))}}),
+!0,!0);this.addPaletteFunctions(a,b,!1,p)}else this.addPalette(a,b,!1,mxUtils.bind(this,function(w){null==f&&(f="");null!=d&&d.call(this,w);if(null!=q)for(var z=0;z<q.length;z++)q[z](w);mxStencilRegistry.loadStencilSet(e,mxUtils.bind(this,function(C,F,D,H,K){(null==h||0>mxUtils.indexOf(h,F))&&w.appendChild(this.createVertexTemplate("shape="+C+F.toLowerCase()+f,Math.round(H*g),Math.round(K*g),"",F.replace(/_/g," "),!0))}),!0)}))};
Sidebar.prototype.destroy=function(){null!=this.graph&&(null!=this.graph.container&&null!=this.graph.container.parentNode&&this.graph.container.parentNode.removeChild(this.graph.container),this.graph.destroy(),this.graph=null);null!=this.escapeListener&&(this.editorUi.editor.graph.removeListener(this.escapeListener),this.escapeListener=null);null!=this.pointerUpHandler&&(mxEvent.removeListener(document,mxClient.IS_POINTER?"pointerup":"mouseup",this.pointerUpHandler),this.pointerUpHandler=null);null!=
-this.pointerDownHandler&&(mxEvent.removeListener(document,mxClient.IS_POINTER?"pointerdown":"mousedown",this.pointerDownHandler),this.pointerDownHandler=null);null!=this.pointerMoveHandler&&(mxEvent.removeListener(document,mxClient.IS_POINTER?"pointermove":"mousemove",this.pointerMoveHandler),this.pointerMoveHandler=null);null!=this.pointerOutHandler&&(mxEvent.removeListener(document,mxClient.IS_POINTER?"pointerout":"mouseout",this.pointerOutHandler),this.pointerOutHandler=null)};(function(){var a=[["nbsp","160"],["shy","173"]],b=mxUtils.parseXml;mxUtils.parseXml=function(e){for(var g=0;g<a.length;g++)e=e.replace(new RegExp("&"+a[g][0]+";","g"),"&#"+a[g][1]+";");return b(e)};var d=mxUtils.getSizeForString;mxUtils.getSizeForString=function(e,g,f,h){return d(Graph.sanitizeHtml(e),g,f,h)}})();
+this.pointerDownHandler&&(mxEvent.removeListener(document,mxClient.IS_POINTER?"pointerdown":"mousedown",this.pointerDownHandler),this.pointerDownHandler=null);null!=this.pointerMoveHandler&&(mxEvent.removeListener(document,mxClient.IS_POINTER?"pointermove":"mousemove",this.pointerMoveHandler),this.pointerMoveHandler=null);null!=this.pointerOutHandler&&(mxEvent.removeListener(document,mxClient.IS_POINTER?"pointerout":"mouseout",this.pointerOutHandler),this.pointerOutHandler=null)};(function(){var a=[["nbsp","160"],["shy","173"]],b=mxUtils.parseXml;mxUtils.parseXml=function(f){for(var h=0;h<a.length;h++)f=f.replace(new RegExp("&"+a[h][0]+";","g"),"&#"+a[h][1]+";");return b(f)};var e=mxUtils.getSizeForString;mxUtils.getSizeForString=function(f,h,d,g){return e(Graph.sanitizeHtml(f),h,d,g)}})();
Date.prototype.toISOString||function(){function a(b){b=String(b);1===b.length&&(b="0"+b);return b}Date.prototype.toISOString=function(){return this.getUTCFullYear()+"-"+a(this.getUTCMonth()+1)+"-"+a(this.getUTCDate())+"T"+a(this.getUTCHours())+":"+a(this.getUTCMinutes())+":"+a(this.getUTCSeconds())+"."+String((this.getUTCMilliseconds()/1E3).toFixed(3)).slice(2,5)+"Z"}}();Date.now||(Date.now=function(){return(new Date).getTime()});
-Uint8Array.from||(Uint8Array.from=function(){var a=Object.prototype.toString,b=function(e){return"function"===typeof e||"[object Function]"===a.call(e)},d=Math.pow(2,53)-1;return function(e){var g=Object(e);if(null==e)throw new TypeError("Array.from requires an array-like object - not null or undefined");var f=1<arguments.length?arguments[1]:void 0,h;if("undefined"!==typeof f){if(!b(f))throw new TypeError("Array.from: when provided, the second argument must be a function");2<arguments.length&&(h=
-arguments[2])}var n=Number(g.length);n=isNaN(n)?0:0!==n&&isFinite(n)?(0<n?1:-1)*Math.floor(Math.abs(n)):n;n=Math.min(Math.max(n,0),d);for(var q=b(this)?Object(new this(n)):Array(n),l=0,p;l<n;)p=g[l],q[l]=f?"undefined"===typeof h?f(p,l):f.call(h,p,l):p,l+=1;q.length=n;return q}}());mxConstants.SHADOW_OPACITY=.25;mxConstants.SHADOWCOLOR="#000000";mxConstants.VML_SHADOWCOLOR="#d0d0d0";mxCodec.allowlist="mxStylesheet Array mxGraphModel mxCell mxGeometry mxRectangle mxPoint mxChildChange mxRootChange mxTerminalChange mxValueChange mxStyleChange mxGeometryChange mxCollapseChange mxVisibleChange mxCellAttributeChange".split(" ");
+Uint8Array.from||(Uint8Array.from=function(){var a=Object.prototype.toString,b=function(f){return"function"===typeof f||"[object Function]"===a.call(f)},e=Math.pow(2,53)-1;return function(f){var h=Object(f);if(null==f)throw new TypeError("Array.from requires an array-like object - not null or undefined");var d=1<arguments.length?arguments[1]:void 0,g;if("undefined"!==typeof d){if(!b(d))throw new TypeError("Array.from: when provided, the second argument must be a function");2<arguments.length&&(g=
+arguments[2])}var n=Number(h.length);n=isNaN(n)?0:0!==n&&isFinite(n)?(0<n?1:-1)*Math.floor(Math.abs(n)):n;n=Math.min(Math.max(n,0),e);for(var q=b(this)?Object(new this(n)):Array(n),k=0,p;k<n;)p=h[k],q[k]=d?"undefined"===typeof g?d(p,k):d.call(g,p,k):p,k+=1;q.length=n;return q}}());mxConstants.SHADOW_OPACITY=.25;mxConstants.SHADOWCOLOR="#000000";mxConstants.VML_SHADOWCOLOR="#d0d0d0";mxCodec.allowlist="mxStylesheet Array mxGraphModel mxCell mxGeometry mxRectangle mxPoint mxChildChange mxRootChange mxTerminalChange mxValueChange mxStyleChange mxGeometryChange mxCollapseChange mxVisibleChange mxCellAttributeChange".split(" ");
mxGraph.prototype.pageBreakColor="#c0c0c0";mxGraph.prototype.pageScale=1;(function(){try{if(null!=navigator&&null!=navigator.language){var a=navigator.language.toLowerCase();mxGraph.prototype.pageFormat="en-us"===a||"en-ca"===a||"es-mx"===a?mxConstants.PAGE_FORMAT_LETTER_PORTRAIT:mxConstants.PAGE_FORMAT_A4_PORTRAIT}}catch(b){}})();mxText.prototype.baseSpacingTop=5;mxText.prototype.baseSpacingBottom=1;mxGraphModel.prototype.ignoreRelativeEdgeParent=!1;
mxGraphView.prototype.gridImage=mxClient.IS_SVG?"data:image/gif;base64,R0lGODlhCgAKAJEAAAAAAP///8zMzP///yH5BAEAAAMALAAAAAAKAAoAAAIJ1I6py+0Po2wFADs=":IMAGE_PATH+"/grid.gif";mxGraphView.prototype.gridSteps=4;mxGraphView.prototype.minGridSize=4;mxGraphView.prototype.defaultGridColor="#d0d0d0";mxGraphView.prototype.defaultDarkGridColor="#424242";mxGraphView.prototype.gridColor=mxGraphView.prototype.defaultGridColor;mxGraphView.prototype.unit=mxConstants.POINTS;
-mxGraphView.prototype.setUnit=function(a){this.unit!=a&&(this.unit=a,this.fireEvent(new mxEventObject("unitChanged","unit",a)))};mxSvgCanvas2D.prototype.foAltText="[Not supported by viewer]";mxShape.prototype.getConstraints=function(a,b,d){return null};
-mxImageShape.prototype.getImageDataUri=function(){var a=String(this.image);if("data:image/svg+xml;base64,"==a.substring(0,26)&&null!=this.style&&"1"==mxUtils.getValue(this.style,"clipSvg","0")){if(null==this.clippedSvg||this.clippedImage!=a)this.clippedSvg=Graph.clipSvgDataUri(a,!0),this.clippedImage=a;a=this.clippedSvg}return a};(function(){var a=mxResources.get;mxResources.get=function(b,d,e){null==e&&(e=b);return a.apply(this,[b,d,e])}})();
-Graph=function(a,b,d,e,g,f){mxGraph.call(this,a,b,d,e);this.themes=g||this.defaultThemes;this.currentEdgeStyle=mxUtils.clone(this.defaultEdgeStyle);this.currentVertexStyle=mxUtils.clone(this.defaultVertexStyle);this.standalone=null!=f?f:!1;a=this.baseUrl;b=a.indexOf("//");this.domainPathUrl=this.domainUrl="";0<b&&(b=a.indexOf("/",b+2),0<b&&(this.domainUrl=a.substring(0,b)),b=a.lastIndexOf("/"),0<b&&(this.domainPathUrl=a.substring(0,b+1)));this.isHtmlLabel=function(P){P=this.getCurrentCellStyle(P);
-return null!=P?"1"==P.html||"wrap"==P[mxConstants.STYLE_WHITE_SPACE]:!1};if(this.immediateHandling){var h=null,n=null,q=null,l=null,p=!1,w=!1;this.addListener(mxEvent.FIRE_MOUSE_EVENT,mxUtils.bind(this,function(P,W){if("mouseDown"==W.getProperty("eventName")&&this.isEnabled()){P=W.getProperty("event");var V=P.getState();W=this.view.scale;if(!mxEvent.isAltDown(P.getEvent())&&null!=V&&(w=this.isCellSelected(V.cell),!this.panningHandler.isActive()&&!mxEvent.isControlDown(P.getEvent()))){var ca=this.selectionCellsHandler.getHandler(V.cell);
-if(null==ca||null==ca.getHandleForEvent(P)){var ra=new mxRectangle(P.getGraphX()-1,P.getGraphY()-1),oa=mxEvent.isTouchEvent(P.getEvent())?mxShape.prototype.svgStrokeTolerance-1:(mxShape.prototype.svgStrokeTolerance+2)/2;ca=oa+2;ra.grow(oa);if(this.isTableCell(V.cell)&&this.isCellMovable(V.cell)&&!this.isCellSelected(V.cell)&&!(mxUtils.contains(V,P.getGraphX()-ca,P.getGraphY()-ca)&&mxUtils.contains(V,P.getGraphX()-ca,P.getGraphY()+ca)&&mxUtils.contains(V,P.getGraphX()+ca,P.getGraphY()+ca)&&mxUtils.contains(V,
-P.getGraphX()+ca,P.getGraphY()-ca))){var L=this.model.getParent(V.cell);ca=this.model.getParent(L);if(!this.isCellSelected(ca)){oa*=W;var ea=2*oa;if(this.model.getChildAt(ca,0)!=L&&mxUtils.intersects(ra,new mxRectangle(V.x,V.y-oa,V.width,ea))||this.model.getChildAt(L,0)!=V.cell&&mxUtils.intersects(ra,new mxRectangle(V.x-oa,V.y,ea,V.height))||mxUtils.intersects(ra,new mxRectangle(V.x,V.y+V.height-oa,V.width,ea))||mxUtils.intersects(ra,new mxRectangle(V.x+V.width-oa,V.y,ea,V.height)))L=this.selectionCellsHandler.isHandled(ca),
-this.selectCellForEvent(ca,P.getEvent()),ca=this.selectionCellsHandler.getHandler(ca),null!=ca&&(oa=ca.getHandleForEvent(P),null!=oa&&(ca.start(P.getGraphX(),P.getGraphY(),oa),ca.blockDelayedSelection=!L,P.consume()))}}for(;!P.isConsumed()&&null!=V&&(this.isTableCell(V.cell)||this.isTableRow(V.cell)||this.isTable(V.cell));)this.isSwimlane(V.cell)&&this.isCellMovable(V.cell)&&(ca=this.getActualStartSize(V.cell),(0<ca.x||0<ca.width)&&mxUtils.intersects(ra,new mxRectangle(V.x+(ca.x-ca.width-1)*W+(0==
-ca.x?V.width:0),V.y,1,V.height))||(0<ca.y||0<ca.height)&&mxUtils.intersects(ra,new mxRectangle(V.x,V.y+(ca.y-ca.height-1)*W+(0==ca.y?V.height:0),V.width,1)))&&(this.selectCellForEvent(V.cell,P.getEvent()),ca=this.selectionCellsHandler.getHandler(V.cell),null!=ca&&null!=ca.customHandles&&(oa=mxEvent.CUSTOM_HANDLE-ca.customHandles.length+1,ca.start(P.getGraphX(),P.getGraphY(),oa),P.consume())),V=this.view.getState(this.model.getParent(V.cell))}}}}));this.addListener(mxEvent.CONSUME_MOUSE_EVENT,mxUtils.bind(this,
-function(P,W){if("mouseDown"==W.getProperty("eventName")&&this.isEnabled()){P=W.getProperty("event");var V=P.getState();mxEvent.isAltDown(P.getEvent())||mxEvent.isControlDown(W)||mxEvent.isShiftDown(W)||w||null==V||!this.model.isEdge(V.cell)||(h=new mxPoint(P.getGraphX(),P.getGraphY()),p=this.isCellSelected(V.cell),q=V,n=P,null!=V.text&&null!=V.text.boundingBox&&mxUtils.contains(V.text.boundingBox,P.getGraphX(),P.getGraphY())?l=mxEvent.LABEL_HANDLE:(W=this.selectionCellsHandler.getHandler(V.cell),
-null!=W&&null!=W.bends&&0<W.bends.length&&(l=W.getHandleForEvent(P))))}}));this.addMouseListener({mouseDown:function(P,W){},mouseMove:mxUtils.bind(this,function(P,W){P=this.selectionCellsHandler.handlers.map;for(var V in P)if(null!=P[V].index)return;if(this.isEnabled()&&!this.panningHandler.isActive()&&!mxEvent.isAltDown(W.getEvent())){var ca=this.tolerance;if(null!=h&&null!=q&&null!=n){if(V=q,null!=l||Math.abs(h.x-W.getGraphX())>ca||Math.abs(h.y-W.getGraphY())>ca){var ra=null;mxEvent.isShiftDown(W.getEvent())||
-(ra=this.selectionCellsHandler.getHandler(V.cell));if(null!=ra&&null!=ra.bends&&0<ra.bends.length){ra.redrawHandles();var oa=null!=l?l:ra.getHandleForEvent(n),L=this.view.getEdgeStyle(V),ea=L==mxEdgeStyle.EntityRelation;ca=V.absolutePoints;p||(oa=l);oa!=mxEvent.LABEL_HANDLE&&null!=ca&&(oa=l,null==oa&&(P=new mxRectangle(h.x,h.y),P.grow(mxEdgeHandler.prototype.handleImage.width/2),mxUtils.contains(P,ca[0].x,ca[0].y)?oa=0:mxUtils.contains(P,ca[ca.length-1].x,ca[ca.length-1].y)?oa=ra.bends.length-1:null!=
-ca&&(null==L&&null==oa||L==mxEdgeStyle.SegmentConnector||L==mxEdgeStyle.OrthConnector)&&(null!=L&&(2==ca.length||3==ca.length&&(0==Math.round(ca[0].x-ca[1].x)&&0==Math.round(ca[1].x-ca[2].x)||0==Math.round(ca[0].y-ca[1].y)&&0==Math.round(ca[1].y-ca[2].y)))?oa=2:(oa=mxUtils.findNearestSegment(V,h.x,h.y),oa=null==L?mxEvent.VIRTUAL_HANDLE-oa:oa+1))),null==oa&&(oa=mxEvent.VIRTUAL_HANDLE));P=oa==mxEvent.LABEL_HANDLE||0==oa||oa==ra.bends.length-1;if(!ea&&(null!=V.visibleSourceState||null!=V.visibleTargetState)||
-P)ra.start(W.getGraphX(),W.getGraphX(),oa),W.consume(),this.graphHandler.reset()}null!=ra&&(this.selectionCellsHandler.isHandlerActive(ra)?this.isCellSelected(V.cell)||(this.selectionCellsHandler.handlers.put(V.cell,ra),this.selectCellForEvent(V.cell,W.getEvent())):this.isCellSelected(V.cell)||ra.destroy());p=!1;h=n=q=l=null}}else if(V=W.getState(),null!=V&&this.isCellEditable(V.cell)){P=this.model.getParent(V.cell);ra=null;if(this.model.isEdge(V.cell)&&!this.isCellSelected(V.cell)&&!mxEvent.isAltDown(W.getEvent())&&
-!mxEvent.isShiftDown(W.getEvent())&&!this.isAncestorSelected(V.cell)&&(this.isSwimlane(P)||this.model.isLayer(P)||this.getCurrentRoot()==P)){if(P=new mxRectangle(W.getGraphX(),W.getGraphY()),P.grow(mxEdgeHandler.prototype.handleImage.width/2),ca=V.absolutePoints,null!=ca)null!=V.text&&null!=V.text.boundingBox&&mxUtils.contains(V.text.boundingBox,W.getGraphX(),W.getGraphY())?ra="move":mxUtils.contains(P,ca[0].x,ca[0].y)||mxUtils.contains(P,ca[ca.length-1].x,ca[ca.length-1].y)?ra="pointer":(L=this.view.getEdgeStyle(V),
-L==mxEdgeStyle.EntityRelation||null==V.visibleSourceState&&null==V.visibleTargetState||(ra="crosshair",L!=mxEdgeStyle.SegmentConnector&&L!=mxEdgeStyle.OrthConnector))||(W=mxUtils.findNearestSegment(V,W.getGraphX(),W.getGraphY()),W<ca.length-1&&0<=W&&(ra=0==Math.round(ca[W].x-ca[W+1].x)?"col-resize":"row-resize"))}else if(!mxEvent.isControlDown(W.getEvent())){ca=mxShape.prototype.svgStrokeTolerance/2;P=new mxRectangle(W.getGraphX(),W.getGraphY());P.grow(ca);if(this.isTableCell(V.cell)&&this.isCellMovable(V.cell)&&
-(W=this.model.getParent(V.cell),ca=this.model.getParent(W),!this.isCellSelected(ca)))if(mxUtils.intersects(P,new mxRectangle(V.x,V.y-2,V.width,4))&&this.model.getChildAt(ca,0)!=W||mxUtils.intersects(P,new mxRectangle(V.x,V.y+V.height-2,V.width,4)))ra="row-resize";else if(mxUtils.intersects(P,new mxRectangle(V.x-2,V.y,4,V.height))&&this.model.getChildAt(W,0)!=V.cell||mxUtils.intersects(P,new mxRectangle(V.x+V.width-2,V.y,4,V.height)))ra="col-resize";for(W=V;null==ra&&null!=W&&(this.isTableCell(W.cell)||
-this.isTableRow(W.cell)||this.isTable(W.cell));)this.isSwimlane(W.cell)&&this.isCellMovable(W.cell)&&(ca=this.getActualStartSize(W.cell),oa=this.view.scale,(0<ca.x||0<ca.width)&&mxUtils.intersects(P,new mxRectangle(W.x+(ca.x-ca.width-1)*oa+(0==ca.x?W.width*oa:0),W.y,1,W.height))?ra="col-resize":(0<ca.y||0<ca.height)&&mxUtils.intersects(P,new mxRectangle(W.x,W.y+(ca.y-ca.height-1)*oa+(0==ca.y?W.height:0),W.width,1))&&(ra="row-resize")),W=this.view.getState(this.model.getParent(W.cell))}null!=ra&&V.setCursor(ra)}}}),
-mouseUp:mxUtils.bind(this,function(P,W){l=h=n=q=null})})}this.cellRenderer.minSvgStrokeWidth=.1;this.cellRenderer.getLabelValue=function(P){var W=mxCellRenderer.prototype.getLabelValue.apply(this,arguments);P.view.graph.isHtmlLabel(P.cell)&&(1!=P.style.html?W=mxUtils.htmlEntities(W,!1):(P.lastLabelValue!=W&&(P.lastLabelValue=W,P.lastSanitizedLabelValue=Graph.sanitizeHtml(W)),W=P.lastSanitizedLabelValue));return W};if("undefined"!==typeof mxVertexHandler){this.setConnectable(!0);this.setDropEnabled(!0);
-this.setPanning(!0);this.setTooltips(!0);this.setAllowLoops(!0);this.allowAutoPanning=!0;this.constrainChildren=this.resetEdgesOnConnect=!1;this.constrainRelativeChildren=!0;this.graphHandler.scrollOnMove=!1;this.graphHandler.scaleGrid=!0;this.connectionHandler.setCreateTarget(!1);this.connectionHandler.insertBeforeSource=!0;this.connectionHandler.isValidSource=function(P,W){return!1};this.alternateEdgeStyle="vertical";null==e&&this.loadStylesheet();var z=this.graphHandler.getGuideStates;this.graphHandler.getGuideStates=
-function(){var P=z.apply(this,arguments);if(this.graph.pageVisible){var W=[],V=this.graph.pageFormat,ca=this.graph.pageScale,ra=V.width*ca;V=V.height*ca;ca=this.graph.view.translate;for(var oa=this.graph.view.scale,L=this.graph.getPageLayout(),ea=0;ea<L.width;ea++)W.push(new mxRectangle(((L.x+ea)*ra+ca.x)*oa,(L.y*V+ca.y)*oa,ra*oa,V*oa));for(ea=1;ea<L.height;ea++)W.push(new mxRectangle((L.x*ra+ca.x)*oa,((L.y+ea)*V+ca.y)*oa,ra*oa,V*oa));P=W.concat(P)}return P};mxDragSource.prototype.dragElementZIndex=
-mxPopupMenu.prototype.zIndex;mxGuide.prototype.getGuideColor=function(P,W){return null==P.cell?"#ffa500":mxConstants.GUIDE_COLOR};this.graphHandler.createPreviewShape=function(P){this.previewColor="#000000"==this.graph.background?"#ffffff":mxGraphHandler.prototype.previewColor;return mxGraphHandler.prototype.createPreviewShape.apply(this,arguments)};var C=this.graphHandler.getCells;this.graphHandler.getCells=function(P){for(var W=C.apply(this,arguments),V=new mxDictionary,ca=[],ra=0;ra<W.length;ra++){var oa=
-this.graph.isTableCell(P)&&this.graph.isTableCell(W[ra])&&this.graph.isCellSelected(W[ra])?this.graph.model.getParent(W[ra]):this.graph.isTableRow(P)&&this.graph.isTableRow(W[ra])&&this.graph.isCellSelected(W[ra])?W[ra]:this.graph.getCompositeParent(W[ra]);null==oa||V.get(oa)||(V.put(oa,!0),ca.push(oa))}return ca};var F=this.graphHandler.start;this.graphHandler.start=function(P,W,V,ca){var ra=!1;this.graph.isTableCell(P)&&(this.graph.isCellSelected(P)?ra=!0:P=this.graph.model.getParent(P));ra||this.graph.isTableRow(P)&&
-this.graph.isCellSelected(P)||(P=this.graph.getCompositeParent(P));F.apply(this,arguments)};this.connectionHandler.createTargetVertex=function(P,W){W=this.graph.getCompositeParent(W);return mxConnectionHandler.prototype.createTargetVertex.apply(this,arguments)};this.connectionHandler.insertEdge=function(P,W,V,ca,ra,oa){var L=mxConnectionHandler.prototype.insertEdge.apply(this,arguments);null!=ca&&this.graph.applyNewEdgeStyle(ca,[L]);return L};var D=new mxRubberband(this);this.getRubberband=function(){return D};
-var G=(new Date).getTime(),K=0,I=this.connectionHandler.mouseMove;this.connectionHandler.mouseMove=function(){var P=this.currentState;I.apply(this,arguments);P!=this.currentState?(G=(new Date).getTime(),K=0):K=(new Date).getTime()-G};var O=this.connectionHandler.isOutlineConnectEvent;this.connectionHandler.isOutlineConnectEvent=function(P){return mxEvent.isShiftDown(P.getEvent())&&mxEvent.isAltDown(P.getEvent())?!1:null!=this.currentState&&P.getState()==this.currentState&&2E3<K||(null==this.currentState||
-"0"!=mxUtils.getValue(this.currentState.style,"outlineConnect","1"))&&O.apply(this,arguments)};var H=this.isToggleEvent;this.isToggleEvent=function(P){return H.apply(this,arguments)||!mxClient.IS_CHROMEOS&&mxEvent.isShiftDown(P)};var Z=D.isForceRubberbandEvent;D.isForceRubberbandEvent=function(P){return Z.apply(this,arguments)||mxClient.IS_CHROMEOS&&mxEvent.isShiftDown(P.getEvent())||mxUtils.hasScrollbars(this.graph.container)&&mxClient.IS_FF&&mxClient.IS_WIN&&null==P.getState()&&mxEvent.isTouchEvent(P.getEvent())};
-var S=null;this.panningHandler.addListener(mxEvent.PAN_START,mxUtils.bind(this,function(){this.isEnabled()&&(S=this.container.style.cursor,this.container.style.cursor="move")}));this.panningHandler.addListener(mxEvent.PAN_END,mxUtils.bind(this,function(){this.isEnabled()&&(this.container.style.cursor=S)}));this.popupMenuHandler.autoExpand=!0;this.popupMenuHandler.isSelectOnPopup=function(P){return mxEvent.isMouseEvent(P.getEvent())};var X=this.click;this.click=function(P){var W=null==P.state&&null!=
-P.sourceState&&this.isCellLocked(this.getLayerForCell(P.sourceState.cell));if(this.isEnabled()&&!W||P.isConsumed())return X.apply(this,arguments);var V=W?P.sourceState.cell:P.getCell();if(null!=V){var ca=this.getClickableLinkForCell(V);null!=ca?this.isCustomLink(ca)?this.customLinkClicked(ca,V):this.openLink(ca):W&&this.clearSelection()}};this.tooltipHandler.getStateForEvent=function(P){return P.sourceState};var Y=this.tooltipHandler.show;this.tooltipHandler.show=function(){Y.apply(this,arguments);
-if(null!=this.div)for(var P=this.div.getElementsByTagName("a"),W=0;W<P.length;W++)null!=P[W].getAttribute("href")&&null==P[W].getAttribute("target")&&P[W].setAttribute("target","_blank")};this.tooltipHandler.getStateForEvent=function(P){return P.sourceState};this.getCursorForMouseEvent=function(P){var W=null==P.state&&null!=P.sourceState&&this.isCellLocked(P.sourceState.cell);return this.getCursorForCell(W?P.sourceState.cell:P.getCell())};var M=this.getCursorForCell;this.getCursorForCell=function(P){if(!this.isEnabled()||
-this.isCellLocked(P)){if(null!=this.getClickableLinkForCell(P))return"pointer";if(this.isCellLocked(P))return"default"}return M.apply(this,arguments)};this.selectRegion=function(P,W){var V=mxEvent.isAltDown(W)?P:null;P=this.getCells(P.x,P.y,P.width,P.height,null,null,V,null,!0);if(this.isToggleEvent(W))for(V=0;V<P.length;V++)this.selectCellForEvent(P[V],W);else this.selectCellsForEvent(P,W);return P};var U=this.graphHandler.shouldRemoveCellsFromParent;this.graphHandler.shouldRemoveCellsFromParent=
-function(P,W,V){return this.graph.isCellSelected(P)?!1:U.apply(this,arguments)};var ba=this.updateMouseEvent;this.updateMouseEvent=function(P){P=ba.apply(this,arguments);null!=P.state&&this.isCellLocked(this.getLayerForCell(P.getCell()))&&(null==this.getLinkForCell(P.getCell())?P.state=this.view.getState(this.getCellAt(P.getGraphX(),P.getGraphY(),null,null,null,mxUtils.bind(this,function(W,V,ca){return P.state==W||this.isCellLocked(this.getLayerForCell(W.cell))&&null==this.getLinkForCell(W.cell)}))):
-P.state=null);return P};var ja=this.isCellSelectable;this.isCellSelectable=function(P){return ja.apply(this,arguments)&&!this.isCellLocked(this.getLayerForCell(P))};this.isCellLocked=function(P){for(;null!=P;){if("1"==mxUtils.getValue(this.getCurrentCellStyle(P),"locked","0"))return!0;P=this.model.getParent(P)}return!1};var pa=null;this.addListener(mxEvent.FIRE_MOUSE_EVENT,mxUtils.bind(this,function(P,W){"mouseDown"==W.getProperty("eventName")&&(P=W.getProperty("event").getState(),pa=null==P||this.isSelectionEmpty()||
-this.isCellSelected(P.cell)?null:this.getSelectionCells())}));this.addListener(mxEvent.TAP_AND_HOLD,mxUtils.bind(this,function(P,W){if(!mxEvent.isMultiTouchEvent(W)){P=W.getProperty("event");var V=W.getProperty("cell");null==V?(P=mxUtils.convertPoint(this.container,mxEvent.getClientX(P),mxEvent.getClientY(P)),D.start(P.x,P.y)):null!=pa?this.addSelectionCells(pa):1<this.getSelectionCount()&&this.isCellSelected(V)&&this.removeSelectionCell(V);pa=null;W.consume()}}));this.connectionHandler.selectCells=
-function(P,W){this.graph.setSelectionCell(W||P)};this.connectionHandler.constraintHandler.isStateIgnored=function(P,W){var V=P.view.graph;return W&&(V.isCellSelected(P.cell)||V.isTableRow(P.cell)&&V.selectionCellsHandler.isHandled(V.model.getParent(P.cell)))};this.selectionModel.addListener(mxEvent.CHANGE,mxUtils.bind(this,function(){var P=this.connectionHandler.constraintHandler;null!=P.currentFocus&&P.isStateIgnored(P.currentFocus,!0)&&(P.currentFocus=null,P.constraints=null,P.destroyIcons());P.destroyFocusHighlight()}));
+mxGraphView.prototype.setUnit=function(a){this.unit!=a&&(this.unit=a,this.fireEvent(new mxEventObject("unitChanged","unit",a)))};mxSvgCanvas2D.prototype.foAltText="[Not supported by viewer]";mxShape.prototype.getConstraints=function(a,b,e){return null};
+mxImageShape.prototype.getImageDataUri=function(){var a=String(this.image);if("data:image/svg+xml;base64,"==a.substring(0,26)&&null!=this.style&&"1"==mxUtils.getValue(this.style,"clipSvg","0")){if(null==this.clippedSvg||this.clippedImage!=a)this.clippedSvg=Graph.clipSvgDataUri(a,!0),this.clippedImage=a;a=this.clippedSvg}return a};(function(){var a=mxResources.get;mxResources.get=function(b,e,f){null==f&&(f=b);return a.apply(this,[b,e,f])}})();
+Graph=function(a,b,e,f,h,d){mxGraph.call(this,a,b,e,f);this.themes=h||this.defaultThemes;this.currentEdgeStyle=mxUtils.clone(this.defaultEdgeStyle);this.currentVertexStyle=mxUtils.clone(this.defaultVertexStyle);this.standalone=null!=d?d:!1;a=this.baseUrl;b=a.indexOf("//");this.domainPathUrl=this.domainUrl="";0<b&&(b=a.indexOf("/",b+2),0<b&&(this.domainUrl=a.substring(0,b)),b=a.lastIndexOf("/"),0<b&&(this.domainPathUrl=a.substring(0,b+1)));this.isHtmlLabel=function(O){O=this.getCurrentCellStyle(O);
+return null!=O?"1"==O.html||"wrap"==O[mxConstants.STYLE_WHITE_SPACE]:!1};if(this.immediateHandling){var g=null,n=null,q=null,k=null,p=!1,w=!1;this.addListener(mxEvent.FIRE_MOUSE_EVENT,mxUtils.bind(this,function(O,T){if("mouseDown"==T.getProperty("eventName")&&this.isEnabled()){O=T.getProperty("event");var X=O.getState();T=this.view.scale;if(!mxEvent.isAltDown(O.getEvent())&&null!=X&&(w=this.isCellSelected(X.cell),!this.panningHandler.isActive()&&!mxEvent.isControlDown(O.getEvent()))){var ca=this.selectionCellsHandler.getHandler(X.cell);
+if(null==ca||null==ca.getHandleForEvent(O)){var na=new mxRectangle(O.getGraphX()-1,O.getGraphY()-1),pa=mxEvent.isTouchEvent(O.getEvent())?mxShape.prototype.svgStrokeTolerance-1:(mxShape.prototype.svgStrokeTolerance+2)/2;ca=pa+2;na.grow(pa);if(this.isTableCell(X.cell)&&this.isCellMovable(X.cell)&&!this.isCellSelected(X.cell)&&!(mxUtils.contains(X,O.getGraphX()-ca,O.getGraphY()-ca)&&mxUtils.contains(X,O.getGraphX()-ca,O.getGraphY()+ca)&&mxUtils.contains(X,O.getGraphX()+ca,O.getGraphY()+ca)&&mxUtils.contains(X,
+O.getGraphX()+ca,O.getGraphY()-ca))){var M=this.model.getParent(X.cell);ca=this.model.getParent(M);if(!this.isCellSelected(ca)){pa*=T;var ea=2*pa;if(this.model.getChildAt(ca,0)!=M&&mxUtils.intersects(na,new mxRectangle(X.x,X.y-pa,X.width,ea))||this.model.getChildAt(M,0)!=X.cell&&mxUtils.intersects(na,new mxRectangle(X.x-pa,X.y,ea,X.height))||mxUtils.intersects(na,new mxRectangle(X.x,X.y+X.height-pa,X.width,ea))||mxUtils.intersects(na,new mxRectangle(X.x+X.width-pa,X.y,ea,X.height)))M=this.selectionCellsHandler.isHandled(ca),
+this.selectCellForEvent(ca,O.getEvent()),ca=this.selectionCellsHandler.getHandler(ca),null!=ca&&(pa=ca.getHandleForEvent(O),null!=pa&&(ca.start(O.getGraphX(),O.getGraphY(),pa),ca.blockDelayedSelection=!M,O.consume()))}}for(;!O.isConsumed()&&null!=X&&(this.isTableCell(X.cell)||this.isTableRow(X.cell)||this.isTable(X.cell));)this.isSwimlane(X.cell)&&this.isCellMovable(X.cell)&&(ca=this.getActualStartSize(X.cell),(0<ca.x||0<ca.width)&&mxUtils.intersects(na,new mxRectangle(X.x+(ca.x-ca.width-1)*T+(0==
+ca.x?X.width:0),X.y,1,X.height))||(0<ca.y||0<ca.height)&&mxUtils.intersects(na,new mxRectangle(X.x,X.y+(ca.y-ca.height-1)*T+(0==ca.y?X.height:0),X.width,1)))&&(this.selectCellForEvent(X.cell,O.getEvent()),ca=this.selectionCellsHandler.getHandler(X.cell),null!=ca&&null!=ca.customHandles&&(pa=mxEvent.CUSTOM_HANDLE-ca.customHandles.length+1,ca.start(O.getGraphX(),O.getGraphY(),pa),O.consume())),X=this.view.getState(this.model.getParent(X.cell))}}}}));this.addListener(mxEvent.CONSUME_MOUSE_EVENT,mxUtils.bind(this,
+function(O,T){if("mouseDown"==T.getProperty("eventName")&&this.isEnabled()){O=T.getProperty("event");var X=O.getState();mxEvent.isAltDown(O.getEvent())||mxEvent.isControlDown(T)||mxEvent.isShiftDown(T)||w||null==X||!this.model.isEdge(X.cell)||(g=new mxPoint(O.getGraphX(),O.getGraphY()),p=this.isCellSelected(X.cell),q=X,n=O,null!=X.text&&null!=X.text.boundingBox&&mxUtils.contains(X.text.boundingBox,O.getGraphX(),O.getGraphY())?k=mxEvent.LABEL_HANDLE:(T=this.selectionCellsHandler.getHandler(X.cell),
+null!=T&&null!=T.bends&&0<T.bends.length&&(k=T.getHandleForEvent(O))))}}));this.addMouseListener({mouseDown:function(O,T){},mouseMove:mxUtils.bind(this,function(O,T){O=this.selectionCellsHandler.handlers.map;for(var X in O)if(null!=O[X].index)return;if(this.isEnabled()&&!this.panningHandler.isActive()&&!mxEvent.isAltDown(T.getEvent())){var ca=this.tolerance;if(null!=g&&null!=q&&null!=n){if(X=q,null!=k||Math.abs(g.x-T.getGraphX())>ca||Math.abs(g.y-T.getGraphY())>ca){var na=null;mxEvent.isShiftDown(T.getEvent())||
+(na=this.selectionCellsHandler.getHandler(X.cell));if(null!=na&&null!=na.bends&&0<na.bends.length){na.redrawHandles();var pa=null!=k?k:na.getHandleForEvent(n),M=this.view.getEdgeStyle(X),ea=M==mxEdgeStyle.EntityRelation;ca=X.absolutePoints;p||(pa=k);pa!=mxEvent.LABEL_HANDLE&&null!=ca&&(pa=k,null==pa&&(O=new mxRectangle(g.x,g.y),O.grow(mxEdgeHandler.prototype.handleImage.width/2),mxUtils.contains(O,ca[0].x,ca[0].y)?pa=0:mxUtils.contains(O,ca[ca.length-1].x,ca[ca.length-1].y)?pa=na.bends.length-1:null!=
+ca&&(null==M&&null==pa||M==mxEdgeStyle.SegmentConnector||M==mxEdgeStyle.OrthConnector)&&(null!=M&&(2==ca.length||3==ca.length&&(0==Math.round(ca[0].x-ca[1].x)&&0==Math.round(ca[1].x-ca[2].x)||0==Math.round(ca[0].y-ca[1].y)&&0==Math.round(ca[1].y-ca[2].y)))?pa=2:(pa=mxUtils.findNearestSegment(X,g.x,g.y),pa=null==M?mxEvent.VIRTUAL_HANDLE-pa:pa+1))),null==pa&&(pa=mxEvent.VIRTUAL_HANDLE));O=pa==mxEvent.LABEL_HANDLE||0==pa||pa==na.bends.length-1;if(!ea&&(null!=X.visibleSourceState||null!=X.visibleTargetState)||
+O)na.start(T.getGraphX(),T.getGraphX(),pa),T.consume(),this.graphHandler.reset()}null!=na&&(this.selectionCellsHandler.isHandlerActive(na)?this.isCellSelected(X.cell)||(this.selectionCellsHandler.handlers.put(X.cell,na),this.selectCellForEvent(X.cell,T.getEvent())):this.isCellSelected(X.cell)||na.destroy());p=!1;g=n=q=k=null}}else if(X=T.getState(),null!=X&&this.isCellEditable(X.cell)){O=this.model.getParent(X.cell);na=null;if(this.model.isEdge(X.cell)&&!this.isCellSelected(X.cell)&&!mxEvent.isAltDown(T.getEvent())&&
+!mxEvent.isShiftDown(T.getEvent())&&!this.isAncestorSelected(X.cell)&&(this.isSwimlane(O)||this.model.isLayer(O)||this.getCurrentRoot()==O)){if(O=new mxRectangle(T.getGraphX(),T.getGraphY()),O.grow(mxEdgeHandler.prototype.handleImage.width/2),ca=X.absolutePoints,null!=ca)null!=X.text&&null!=X.text.boundingBox&&mxUtils.contains(X.text.boundingBox,T.getGraphX(),T.getGraphY())?na="move":mxUtils.contains(O,ca[0].x,ca[0].y)||mxUtils.contains(O,ca[ca.length-1].x,ca[ca.length-1].y)?na="pointer":(M=this.view.getEdgeStyle(X),
+M==mxEdgeStyle.EntityRelation||null==X.visibleSourceState&&null==X.visibleTargetState||(na="crosshair",M!=mxEdgeStyle.SegmentConnector&&M!=mxEdgeStyle.OrthConnector))||(T=mxUtils.findNearestSegment(X,T.getGraphX(),T.getGraphY()),T<ca.length-1&&0<=T&&(na=0==Math.round(ca[T].x-ca[T+1].x)?"col-resize":"row-resize"))}else if(!mxEvent.isControlDown(T.getEvent())){ca=mxShape.prototype.svgStrokeTolerance/2;O=new mxRectangle(T.getGraphX(),T.getGraphY());O.grow(ca);if(this.isTableCell(X.cell)&&this.isCellMovable(X.cell)&&
+(T=this.model.getParent(X.cell),ca=this.model.getParent(T),!this.isCellSelected(ca)))if(mxUtils.intersects(O,new mxRectangle(X.x,X.y-2,X.width,4))&&this.model.getChildAt(ca,0)!=T||mxUtils.intersects(O,new mxRectangle(X.x,X.y+X.height-2,X.width,4)))na="row-resize";else if(mxUtils.intersects(O,new mxRectangle(X.x-2,X.y,4,X.height))&&this.model.getChildAt(T,0)!=X.cell||mxUtils.intersects(O,new mxRectangle(X.x+X.width-2,X.y,4,X.height)))na="col-resize";for(T=X;null==na&&null!=T&&(this.isTableCell(T.cell)||
+this.isTableRow(T.cell)||this.isTable(T.cell));)this.isSwimlane(T.cell)&&this.isCellMovable(T.cell)&&(ca=this.getActualStartSize(T.cell),pa=this.view.scale,(0<ca.x||0<ca.width)&&mxUtils.intersects(O,new mxRectangle(T.x+(ca.x-ca.width-1)*pa+(0==ca.x?T.width*pa:0),T.y,1,T.height))?na="col-resize":(0<ca.y||0<ca.height)&&mxUtils.intersects(O,new mxRectangle(T.x,T.y+(ca.y-ca.height-1)*pa+(0==ca.y?T.height:0),T.width,1))&&(na="row-resize")),T=this.view.getState(this.model.getParent(T.cell))}null!=na&&X.setCursor(na)}}}),
+mouseUp:mxUtils.bind(this,function(O,T){k=g=n=q=null})})}this.cellRenderer.minSvgStrokeWidth=.1;this.cellRenderer.getLabelValue=function(O){var T=mxCellRenderer.prototype.getLabelValue.apply(this,arguments);O.view.graph.isHtmlLabel(O.cell)&&(1!=O.style.html?T=mxUtils.htmlEntities(T,!1):(O.lastLabelValue!=T&&(O.lastLabelValue=T,O.lastSanitizedLabelValue=Graph.sanitizeHtml(T)),T=O.lastSanitizedLabelValue));return T};if("undefined"!==typeof mxVertexHandler){this.setConnectable(!0);this.setDropEnabled(!0);
+this.setPanning(!0);this.setTooltips(!0);this.setAllowLoops(!0);this.allowAutoPanning=!0;this.constrainChildren=this.resetEdgesOnConnect=!1;this.constrainRelativeChildren=!0;this.graphHandler.scrollOnMove=!1;this.graphHandler.scaleGrid=!0;this.connectionHandler.setCreateTarget(!1);this.connectionHandler.insertBeforeSource=!0;this.connectionHandler.isValidSource=function(O,T){return!1};this.alternateEdgeStyle="vertical";null==f&&this.loadStylesheet();var z=this.graphHandler.getGuideStates;this.graphHandler.getGuideStates=
+function(){var O=z.apply(this,arguments);if(this.graph.pageVisible){var T=[],X=this.graph.pageFormat,ca=this.graph.pageScale,na=X.width*ca;X=X.height*ca;ca=this.graph.view.translate;for(var pa=this.graph.view.scale,M=this.graph.getPageLayout(),ea=0;ea<M.width;ea++)T.push(new mxRectangle(((M.x+ea)*na+ca.x)*pa,(M.y*X+ca.y)*pa,na*pa,X*pa));for(ea=1;ea<M.height;ea++)T.push(new mxRectangle((M.x*na+ca.x)*pa,((M.y+ea)*X+ca.y)*pa,na*pa,X*pa));O=T.concat(O)}return O};mxDragSource.prototype.dragElementZIndex=
+mxPopupMenu.prototype.zIndex;mxGuide.prototype.getGuideColor=function(O,T){return null==O.cell?"#ffa500":mxConstants.GUIDE_COLOR};this.graphHandler.createPreviewShape=function(O){this.previewColor="#000000"==this.graph.background?"#ffffff":mxGraphHandler.prototype.previewColor;return mxGraphHandler.prototype.createPreviewShape.apply(this,arguments)};var C=this.graphHandler.getCells;this.graphHandler.getCells=function(O){for(var T=C.apply(this,arguments),X=new mxDictionary,ca=[],na=0;na<T.length;na++){var pa=
+this.graph.isTableCell(O)&&this.graph.isTableCell(T[na])&&this.graph.isCellSelected(T[na])?this.graph.model.getParent(T[na]):this.graph.isTableRow(O)&&this.graph.isTableRow(T[na])&&this.graph.isCellSelected(T[na])?T[na]:this.graph.getCompositeParent(T[na]);null==pa||X.get(pa)||(X.put(pa,!0),ca.push(pa))}return ca};var F=this.graphHandler.start;this.graphHandler.start=function(O,T,X,ca){var na=!1;this.graph.isTableCell(O)&&(this.graph.isCellSelected(O)?na=!0:O=this.graph.model.getParent(O));na||this.graph.isTableRow(O)&&
+this.graph.isCellSelected(O)||(O=this.graph.getCompositeParent(O));F.apply(this,arguments)};this.connectionHandler.createTargetVertex=function(O,T){T=this.graph.getCompositeParent(T);return mxConnectionHandler.prototype.createTargetVertex.apply(this,arguments)};this.connectionHandler.insertEdge=function(O,T,X,ca,na,pa){var M=mxConnectionHandler.prototype.insertEdge.apply(this,arguments);null!=ca&&this.graph.applyNewEdgeStyle(ca,[M]);return M};var D=new mxRubberband(this);this.getRubberband=function(){return D};
+var H=(new Date).getTime(),K=0,G=this.connectionHandler.mouseMove;this.connectionHandler.mouseMove=function(){var O=this.currentState;G.apply(this,arguments);O!=this.currentState?(H=(new Date).getTime(),K=0):K=(new Date).getTime()-H};var P=this.connectionHandler.isOutlineConnectEvent;this.connectionHandler.isOutlineConnectEvent=function(O){return mxEvent.isShiftDown(O.getEvent())&&mxEvent.isAltDown(O.getEvent())?!1:null!=this.currentState&&O.getState()==this.currentState&&2E3<K||(null==this.currentState||
+"0"!=mxUtils.getValue(this.currentState.style,"outlineConnect","1"))&&P.apply(this,arguments)};var I=this.isToggleEvent;this.isToggleEvent=function(O){return I.apply(this,arguments)||!mxClient.IS_CHROMEOS&&mxEvent.isShiftDown(O)};var Z=D.isForceRubberbandEvent;D.isForceRubberbandEvent=function(O){return Z.apply(this,arguments)||mxClient.IS_CHROMEOS&&mxEvent.isShiftDown(O.getEvent())||mxUtils.hasScrollbars(this.graph.container)&&mxClient.IS_FF&&mxClient.IS_WIN&&null==O.getState()&&mxEvent.isTouchEvent(O.getEvent())};
+var S=null;this.panningHandler.addListener(mxEvent.PAN_START,mxUtils.bind(this,function(){this.isEnabled()&&(S=this.container.style.cursor,this.container.style.cursor="move")}));this.panningHandler.addListener(mxEvent.PAN_END,mxUtils.bind(this,function(){this.isEnabled()&&(this.container.style.cursor=S)}));this.popupMenuHandler.autoExpand=!0;this.popupMenuHandler.isSelectOnPopup=function(O){return mxEvent.isMouseEvent(O.getEvent())};var Y=this.click;this.click=function(O){var T=null==O.state&&null!=
+O.sourceState&&this.isCellLocked(this.getLayerForCell(O.sourceState.cell));if(this.isEnabled()&&!T||O.isConsumed())return Y.apply(this,arguments);var X=T?O.sourceState.cell:O.getCell();if(null!=X){var ca=this.getClickableLinkForCell(X);null!=ca?this.isCustomLink(ca)?this.customLinkClicked(ca,X):this.openLink(ca):T&&this.clearSelection()}};this.tooltipHandler.getStateForEvent=function(O){return O.sourceState};var V=this.tooltipHandler.show;this.tooltipHandler.show=function(){V.apply(this,arguments);
+if(null!=this.div)for(var O=this.div.getElementsByTagName("a"),T=0;T<O.length;T++)null!=O[T].getAttribute("href")&&null==O[T].getAttribute("target")&&O[T].setAttribute("target","_blank")};this.tooltipHandler.getStateForEvent=function(O){return O.sourceState};this.getCursorForMouseEvent=function(O){var T=null==O.state&&null!=O.sourceState&&this.isCellLocked(O.sourceState.cell);return this.getCursorForCell(T?O.sourceState.cell:O.getCell())};var L=this.getCursorForCell;this.getCursorForCell=function(O){if(!this.isEnabled()||
+this.isCellLocked(O)){if(null!=this.getClickableLinkForCell(O))return"pointer";if(this.isCellLocked(O))return"default"}return L.apply(this,arguments)};this.selectRegion=function(O,T){var X=mxEvent.isAltDown(T)?O:null;O=this.getCells(O.x,O.y,O.width,O.height,null,null,X,null,!0);if(this.isToggleEvent(T))for(X=0;X<O.length;X++)this.selectCellForEvent(O[X],T);else this.selectCellsForEvent(O,T);return O};var U=this.graphHandler.shouldRemoveCellsFromParent;this.graphHandler.shouldRemoveCellsFromParent=
+function(O,T,X){return this.graph.isCellSelected(O)?!1:U.apply(this,arguments)};var ba=this.updateMouseEvent;this.updateMouseEvent=function(O){O=ba.apply(this,arguments);null!=O.state&&this.isCellLocked(this.getLayerForCell(O.getCell()))&&(null==this.getLinkForCell(O.getCell())?O.state=this.view.getState(this.getCellAt(O.getGraphX(),O.getGraphY(),null,null,null,mxUtils.bind(this,function(T,X,ca){return O.state==T||this.isCellLocked(this.getLayerForCell(T.cell))&&null==this.getLinkForCell(T.cell)}))):
+O.state=null);return O};var ja=this.isCellSelectable;this.isCellSelectable=function(O){return ja.apply(this,arguments)&&!this.isCellLocked(this.getLayerForCell(O))};this.isCellLocked=function(O){for(;null!=O;){if("1"==mxUtils.getValue(this.getCurrentCellStyle(O),"locked","0"))return!0;O=this.model.getParent(O)}return!1};var sa=null;this.addListener(mxEvent.FIRE_MOUSE_EVENT,mxUtils.bind(this,function(O,T){"mouseDown"==T.getProperty("eventName")&&(O=T.getProperty("event").getState(),sa=null==O||this.isSelectionEmpty()||
+this.isCellSelected(O.cell)?null:this.getSelectionCells())}));this.addListener(mxEvent.TAP_AND_HOLD,mxUtils.bind(this,function(O,T){if(!mxEvent.isMultiTouchEvent(T)){O=T.getProperty("event");var X=T.getProperty("cell");null==X?(O=mxUtils.convertPoint(this.container,mxEvent.getClientX(O),mxEvent.getClientY(O)),D.start(O.x,O.y)):null!=sa?this.addSelectionCells(sa):1<this.getSelectionCount()&&this.isCellSelected(X)&&this.removeSelectionCell(X);sa=null;T.consume()}}));this.connectionHandler.selectCells=
+function(O,T){this.graph.setSelectionCell(T||O)};this.connectionHandler.constraintHandler.isStateIgnored=function(O,T){var X=O.view.graph;return T&&(X.isCellSelected(O.cell)||X.isTableRow(O.cell)&&X.selectionCellsHandler.isHandled(X.model.getParent(O.cell)))};this.selectionModel.addListener(mxEvent.CHANGE,mxUtils.bind(this,function(){var O=this.connectionHandler.constraintHandler;null!=O.currentFocus&&O.isStateIgnored(O.currentFocus,!0)&&(O.currentFocus=null,O.constraints=null,O.destroyIcons());O.destroyFocusHighlight()}));
Graph.touchStyle&&this.initTouch()}this.currentTranslate=new mxPoint(0,0)};Graph.touchStyle=mxClient.IS_TOUCH||mxClient.IS_FF&&mxClient.IS_WIN||0<navigator.maxTouchPoints||0<navigator.msMaxTouchPoints||null==window.urlParams||"1"==urlParams.touch;Graph.fileSupport=null!=window.File&&null!=window.FileReader&&null!=window.FileList&&(null==window.urlParams||"0"!=urlParams.filesupport);Graph.translateDiagram="1"==urlParams["translate-diagram"];
Graph.diagramLanguage=null!=urlParams["diagram-language"]?urlParams["diagram-language"]:mxClient.language;Graph.lineJumpsEnabled=!0;Graph.defaultJumpSize=6;Graph.zoomWheel=!1;Graph.selectParentLayer=!1;Graph.minTableColumnWidth=20;Graph.minTableRowHeight=20;Graph.foreignObjectWarningText="Text is not SVG - cannot display";Graph.foreignObjectWarningLink="https://www.drawio.com/doc/faq/svg-export-text-problems";Graph.xmlDeclaration='<?xml version="1.0" encoding="UTF-8"?>';Graph.svgDoctype='<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">';
Graph.svgFileComment="\x3c!-- Do not edit this file with editors other than draw.io --\x3e";Graph.textStyles="fontFamily fontSource fontSize fontColor fontStyle textOpacity labelBorderColor labelBackgroundColor autosize resizable".split(" ");Graph.edgeStyles="edgeStyle elbow jumpStyle jumpSize startArrow startFill startSize endArrow endFill endSize flowAnimation flowAnimationDirection flowAnimationTimingFunction flowAnimationDuration sourcePerimeterSpacing targetPerimeterSpacing curved".split(" ");
@@ -2555,150 +2555,150 @@ Graph.cellStyleGroups=[["startArrow","startFill","endArrow","endFill"],["startSi
Graph.cellStyles=mxUtils.addItems(mxUtils.addItems(mxUtils.addItems("rounded shadow glass dashed dashPattern comic sketch fillWeight hachureGap hachureAngle jiggle disableMultiStroke disableMultiStrokeFill fillStyle curveFitting simplification sketchStyle pointerEvents opacity strokeColor strokeWidth align verticalAlign spacingLeft spacingRight spacingTop spacingBottom spacing arcSize comicStyle swimlaneFillColor shadowOffsetX shadowOffsetY shadowBlur shadowColor shadowOpacity".split(" "),Graph.textStyles),
Graph.edgeStyles),Graph.cellStyleGroups);Graph.layoutNames="mxHierarchicalLayout mxCircleLayout mxCompactTreeLayout mxEdgeLabelLayout mxFastOrganicLayout mxParallelEdgeLayout mxPartitionLayout mxRadialTreeLayout mxStackLayout".split(" ");
Graph.createOffscreenGraph=function(a){var b=new Graph(document.createElement("div"));b.stylesheet.styles=mxUtils.clone(a.styles);b.resetViewOnRootChange=!1;b.setConnectable(!1);b.gridEnabled=!1;b.autoScroll=!1;b.setTooltips(!1);b.setEnabled(!1);b.container.style.visibility="hidden";b.container.style.position="absolute";b.container.style.overflow="hidden";b.container.style.height="1px";b.container.style.width="1px";return b};
-Graph.createSvgImage=function(a,b,d,e,g){d=unescape(encodeURIComponent(Graph.svgDoctype+'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="'+a+'px" height="'+b+'px" '+(null!=e&&null!=g?'viewBox="0 0 '+e+" "+g+'" ':"")+'version="1.1">'+d+"</svg>"));return new mxImage("data:image/svg+xml;base64,"+(window.btoa?btoa(d):Base64.encode(d,!0)),a,b)};
+Graph.createSvgImage=function(a,b,e,f,h){e=unescape(encodeURIComponent(Graph.svgDoctype+'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="'+a+'px" height="'+b+'px" '+(null!=f&&null!=h?'viewBox="0 0 '+f+" "+h+'" ':"")+'version="1.1">'+e+"</svg>"));return new mxImage("data:image/svg+xml;base64,"+(window.btoa?btoa(e):Base64.encode(e,!0)),a,b)};
Graph.createSvgDarkModeCss=function(a){a=null!=a?"."+a:"";return"svg"+a+":not(mjx-container > svg) { filter: invert(100%) hue-rotate(180deg); }\nsvg"+a+" foreignObject img,\nsvg"+a+" image:not(svg"+a+" switch image),\nsvg"+a+" svg:not(mjx-container > svg)\n{ filter: invert(100%) hue-rotate(180deg) }"};
-Graph.createSvgDarkModeStyle=function(a,b,d,e){var g=mxUtils.createElementNs(a,mxConstants.NS_SVG,"style");null!=a.setAttributeNS?g.setAttributeNS("type","text/css"):g.setAttribute("type","text/css");var f=Graph.createSvgDarkModeCss(d);"auto"==b&&(f="@media (prefers-color-scheme: dark) {\n"+f+"\n",null!=e&&(f+="svg"+(null!=d?"."+d:"")+" { background-color: "+Graph.invertColor(e)+" !important; }\n"),f+="}");g.appendChild(a.createTextNode(f));return g};
+Graph.createSvgDarkModeStyle=function(a,b,e,f){var h=mxUtils.createElementNs(a,mxConstants.NS_SVG,"style");null!=a.setAttributeNS?h.setAttributeNS("type","text/css"):h.setAttribute("type","text/css");var d=Graph.createSvgDarkModeCss(e);"auto"==b&&(d="@media (prefers-color-scheme: dark) {\n"+d+"\n",null!=f&&(d+="svg"+(null!=e?"."+e:"")+" { background-color: "+Graph.invertColor(f)+" !important; }\n"),d+="}");h.appendChild(a.createTextNode(d));return h};
Graph.invertColor=function(a,b){null==b&&(b=document.createElement("canvas"),b.width=1,b.height=1,b=b.getContext("2d"),b.filter="invert(100%) hue-rotate(180deg)");b.fillStyle=a;b.fillRect(0,0,1,1);a=b.getImageData(0,0,1,1);return"#"+(16777216|a.data[2]|a.data[1]<<8|a.data[0]<<16).toString(16).substring(1)};
Graph.getSvgFromDataUri=function(a){return null!=a&&"data:image/svg"==a.substring(0,14)?Graph.xmlDeclaration+"\n"+Graph.svgDoctype+"\n"+decodeURIComponent(escape(atob(a.substring(a.indexOf(",")+1)))):null};
-Graph.createSvgNode=function(a,b,d,e,g){var f=mxUtils.createXmlDocument(),h=null!=f.createElementNS?f.createElementNS(mxConstants.NS_SVG,"svg"):f.createElement("svg");null!=g&&(null!=h.style?h.style.backgroundColor=g:h.setAttribute("style","background-color:"+g));null==f.createElementNS?(h.setAttribute("xmlns",mxConstants.NS_SVG),h.setAttribute("xmlns:xlink",mxConstants.NS_XLINK)):h.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink",mxConstants.NS_XLINK);h.setAttribute("version","1.1");
-h.setAttribute("width",d+"px");h.setAttribute("height",e+"px");h.setAttribute("viewBox",a+" "+b+" "+d+" "+e);f.appendChild(h);return h};
-Graph.htmlToPng=function(a,b,d,e,g,f){g=null!=g?g:"";f=null!=f?f:Editor.htmlRasterScale;var h=document.createElement("canvas");h.width=b*f;h.height=d*f;var n=document.createElement("img");n.onload=mxUtils.bind(this,function(){try{var l=h.getContext("2d");l.scale(f,f);l.drawImage(n,0,0);e(h.toDataURL())}catch(p){e(null)}});var q=mxUtils.createXmlDocument();q=null!=q.createElementNS?q.createElementNS(mxConstants.NS_SVG,"svg"):q.createElement("svg");a=(new mxSvgCanvas2D(q)).convertHtml(a);n.onerror=
-function(l){e(null)};n.src="data:image/svg+xml,"+encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" width="'+b+'" height="'+d+'">'+(""!=g?'<defs xmlns="http://www.w3.org/2000/svg"><style type="text/css">'+g+"</style></defs>":"")+'<foreignObject width="100%" height="100%"><div xmlns="http://www.w3.org/1999/xhtml">'+a+"</div></foreignObject></svg>")};Graph.zapGremlins=function(a){return mxUtils.zapGremlins(a)};
-Graph.stringToBytes=function(a){for(var b=Array(a.length),d=0;d<a.length;d++)b[d]=a.charCodeAt(d);return b};Graph.bytesToString=function(a){for(var b=Array(a.length),d=0;d<a.length;d++)b[d]=String.fromCharCode(a[d]);return b.join("")};Graph.base64EncodeUnicode=function(a){return btoa(encodeURIComponent(a).replace(/%([0-9A-F]{2})/g,function(b,d){return String.fromCharCode(parseInt(d,16))}))};
-Graph.base64DecodeUnicode=function(a){return decodeURIComponent(Array.prototype.map.call(atob(a),function(b){return"%"+("00"+b.charCodeAt(0).toString(16)).slice(-2)}).join(""))};Graph.compressNode=function(a,b){a=mxUtils.getXml(a);return Graph.compress(b?a:Graph.zapGremlins(a))};Graph.arrayBufferToString=function(a){var b="";a=new Uint8Array(a);for(var d=a.byteLength,e=0;e<d;e++)b+=String.fromCharCode(a[e]);return b};Graph.stringToArrayBuffer=function(a){return Uint8Array.from(a,function(b){return b.charCodeAt(0)})};
-Graph.arrayBufferIndexOfString=function(a,b,d){var e=b.charCodeAt(0),g=1,f=-1;for(d=d||0;d<a.byteLength;d++)if(a[d]==e){f=d;break}for(d=f+1;-1<f&&d<a.byteLength&&d<f+b.length-1;d++){if(a[d]!=b.charCodeAt(g))return Graph.arrayBufferIndexOfString(a,b,f+1);g++}return g==b.length-1?f:-1};Graph.compress=function(a,b){if(null==a||0==a.length||"undefined"===typeof pako)return a;a=b?pako.deflate(encodeURIComponent(a)):pako.deflateRaw(encodeURIComponent(a));return btoa(Graph.arrayBufferToString(new Uint8Array(a)))};
-Graph.decompress=function(a,b,d){if(null==a||0==a.length||"undefined"===typeof pako)return a;a=Graph.stringToArrayBuffer(atob(a));b=decodeURIComponent(b?pako.inflate(a,{to:"string"}):pako.inflateRaw(a,{to:"string"}));return d?b:Graph.zapGremlins(b)};
-Graph.fadeNodes=function(a,b,d,e,g){g=null!=g?g:1E3;Graph.setTransitionForNodes(a,null);Graph.setOpacityForNodes(a,b);window.setTimeout(function(){Graph.setTransitionForNodes(a,"all "+g+"ms ease-in-out");Graph.setOpacityForNodes(a,d);window.setTimeout(function(){Graph.setTransitionForNodes(a,null);null!=e&&e()},g)},0)};
-Graph.exploreFromCell=function(a,b,d){pageSize=null!=d&&null!=d.pageSize?d.pageSize:8;minSize=null!=d&&null!=d.minSize?d.minSize:180;(function(e,g){function f(p,w){if(p.getModel().isVertex(w)){var z=p.container.scrollWidth/2,C=p.container.scrollHeight/2;p.rootCell=w.referenceCell||w;p.getModel().beginUpdate();try{for(var F=w.referenceCell||w,D=e.model.getCell(F.sourceCellId),G=e.getEdges(D,null,!0,!0,!1,!0),K=[],I=0;I<G.length;I++)null!=G[I].getTerminal(!0)&&null!=G[I].getTerminal(!1)&&e.isCellVisible(G[I])&&
-!e.isEdgeIgnored(G[I])&&e.isCellVisible(G[I].getTerminal(!0))&&e.isCellVisible(G[I].getTerminal(!1))&&e.isCellVisible(e.getLayerForCell(G[I]))&&K.push(G[I]);K=G=K;if(null!=w.startIndex||0<pageSize&&G.length>pageSize){var O=w.startIndex||0;K=G.slice(Math.max(0,O),Math.min(G.length,O+pageSize))}K=e.getOpposites(K,D).concat(K);var H=p.cloneCells(K);for(I=0;I<K.length;I++)if(H[I].sourceCellId=K[I].id,p.model.isEdge(H[I]))for(H[I].geometry.x=0,H[I].geometry.y=0,H[I].geometry.points=null,H[I].setStyle(H[I].getStyle()+
-";curved=1;noEdgeStyle=1;entryX=none;entryY=none;exitX=none;exitY=none;labelBackgroundColor=#ffffffc0;textOpacity=100;"),H[I].setTerminal(F,null==H[I].getTerminal(!0)),D=0;D<H[I].getChildCount();D++){var Z=H[I].getChildAt(D);null!=Z.geometry&&Z.geometry.relative&&(Z.setStyle(Z.getStyle()+";labelBackgroundColor=#ffffffc0;textOpacity=100;"),Z.geometry.offset=new mxPoint(0,0),Z.geometry.y=0,Z.geometry.x=.5>Z.geometry.x?-.8:.5<Z.geometry.x?.8:0)}if(0<w.startIndex){var S=p.createVertex(null,null,mxResources.get("previousPage")+
-" ("+Math.ceil((w.startIndex||0)/pageSize)+"/"+Math.ceil(G.length/pageSize)+")",0,0,120,30,"fillColor=green;fontColor=white;strokeColor=green;rounded=1;");S.referenceCell=F;S.startIndex=Math.max(0,(w.startIndex||0)-pageSize);H.splice(0,0,S)}if(G.length>(w.startIndex||0)+pageSize){var X=p.createVertex(null,null,mxResources.get("nextPage")+" ("+(Math.ceil((w.startIndex||0)/pageSize)+2)+"/"+Math.ceil(G.length/pageSize)+")",0,0,120,30,"fillColor=green;fontColor=white;strokeColor=green;rounded=1;");X.referenceCell=
-F;X.startIndex=(w.startIndex||0)+pageSize;H.splice(0,0,X)}for(var Y in p.getModel().cells){var M=p.getModel().getCell(Y);M!=p.rootCell&&!p.getModel().isAncestor(p.rootCell,M)&&p.getModel().isVertex(M)&&p.removeCells([M])}p.addCells(H);var U=p.getModel().getGeometry(p.rootCell);null!=U&&(U=U.clone(),U.x=z-U.width/2,U.y=C-U.height/3,p.getModel().setGeometry(p.rootCell,U));w=[];for(Y in p.getModel().cells)M=p.getModel().getCell(Y),M!=p.rootCell&&p.getModel().isVertex(M)&&p.getModel().getParent(M)==p.getDefaultParent()&&
-(w.push(M),U=p.getModel().getGeometry(M),null!=U&&(U.x=z-U.width/2,U.y=C-U.height/2));var ba=w.length,ja=2*Math.PI/ba,pa=Math.max(minSize,Math.min(p.container.scrollWidth/2.5-80,p.container.scrollHeight/2.5-80));for(z=0;z<ba;z++)U=p.getModel().getGeometry(w[z]),null!=U&&(U=U.clone(),U.x+=pa*Math.sin(z*ja),U.y+=pa*Math.cos(z*ja),p.getModel().setGeometry(w[z],U))}finally{p.getModel().endUpdate()}}}var h=document.createElement("div");h.style.position="absolute";h.style.display="block";h.style.background=
-Editor.isDarkMode()?Editor.darkColor:"#ffffff";h.style.width="100%";h.style.height="100%";h.style.left="0px";h.style.top="0px";h.style.zIndex=2;var n=document.createElement("img");n.setAttribute("src",Editor.closeBlackImage);n.style.position="absolute";n.style.cursor="pointer";n.style.right="10px";n.style.top="10px";h.appendChild(n);var q=document.createElement("div");q.style.position="absolute";q.style.cursor="pointer";q.style.right="38px";q.style.top="14px";q.style.textAlign="right";q.style.verticalAlign=
-"top";mxUtils.write(q,mxResources.get("close"));h.appendChild(q);document.body.appendChild(h);var l=function(p){27==p.keyCode&&n.click()};mxEvent.addListener(document,"keydown",l);(function(p){if(mxClient.isBrowserSupported()){var w=new Graph(p);w.keepEdgesInBackground=!0;w.isCellResizable=function(){return!1};w.isCellRotatable=function(){return!1};w.getCursorForCell=function(K){return this.model.isVertex(K)?"pointer":null};w.getFoldingImage=function(){return null};var z=function(){mxEvent.removeListener(document,
-"keydown",l);p.parentNode.removeChild(p);e.scrollCellToVisible(g)};mxEvent.addListener(n,"click",z);mxEvent.addListener(q,"click",z);w.setEnabled(!1);var C=w.click;w.click=function(K){var I=K.getCell(),O=null!=I?null!=I.referenceCell?I.referenceCell:I:null;null!=I&&w.rootCell!=I&&0<w.getEdges(O).length?f(w,I):C.apply(this,arguments)};z=w.container.scrollWidth/2;var F=w.container.scrollHeight/3;w.model.beginUpdate();var D=w.importCells([g])[0];D.sourceCellId=g.id;D.geometry.x=z-D.geometry.width/2;
-D.geometry.y=F-D.geometry.height/2;w.model.endUpdate();var G=!1;w.getModel().addListener(mxEvent.CHANGE,function(K,I){G||(K=I.getProperty("edit").changes,mxText.prototype.enableBoundingBox=!1,w.labelsVisible=!1,G=!0,mxEffects.animateChanges(w,K,function(){var O=new mxParallelEdgeLayout(w);O.spacing=60;var H=O.layout;O.layout=function(Z){O.spacing=Math.min(60,Math.max(30,60-5*Z.length));H.apply(this,arguments)};O.execute(w.getDefaultParent());mxText.prototype.enableBoundingBox=!0;w.labelsVisible=!0;
-w.tooltipHandler.hide();w.refresh();G=!1}))});f(w,D)}else mxUtils.error("Browser is not supported!",200,!1)})(h)})(a,b)};Graph.removeKeys=function(a,b){for(var d in a)b(d)&&delete a[d]};Graph.setTransitionForNodes=function(a,b){for(var d=0;d<a.length;d++)mxUtils.setPrefixedStyle(a[d].style,"transition",b)};Graph.setOpacityForNodes=function(a,b){for(var d=0;d<a.length;d++)a[d].style.opacity=b};
-Graph.removePasteFormatting=function(a,b){for(;null!=a;){null!=a.firstChild&&Graph.removePasteFormatting(a.firstChild,!0);var d=a.nextSibling;if(a.nodeType==mxConstants.NODETYPE_ELEMENT&&null!=a.style){"#000000"==a.style.color&&(a.style.color="");if("SPAN"==a.nodeName&&"Apple-tab-span"==a.className){var e=Graph.createTabNode(4);a.parentNode.replaceChild(e,a);a=e}if("P"==a.nodeName&&"p1"==a.className){for(;null!=a.firstChild;)a.parentNode.insertBefore(a.firstChild,a);null!=d&&"P"==d.nodeName&&"p1"==
-d.className&&a.parentNode.insertBefore(a.ownerDocument.createElement("br"),a);a.parentNode.removeChild(a)}!b&&null!=a.innerHTML&&0<=a.innerHTML.indexOf("\t")&&(e=Graph.createTabNode(4),a.innerHTML=a.innerHTML.replace(/\t/g,e.outerHTML))}a=d}};Graph.createTabNode=function(a){var b="\t";if(null!=a)for(b="";0<a;)b+=" ",a--;a=document.createElement("span");a.style.whiteSpace="pre";a.appendChild(document.createTextNode(b));return a};Graph.sanitizeHtml=function(a,b){return Graph.domPurify(a,!1)};
+Graph.createSvgNode=function(a,b,e,f,h){var d=mxUtils.createXmlDocument(),g=null!=d.createElementNS?d.createElementNS(mxConstants.NS_SVG,"svg"):d.createElement("svg");null!=h&&(null!=g.style?g.style.backgroundColor=h:g.setAttribute("style","background-color:"+h));null==d.createElementNS?(g.setAttribute("xmlns",mxConstants.NS_SVG),g.setAttribute("xmlns:xlink",mxConstants.NS_XLINK)):g.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink",mxConstants.NS_XLINK);g.setAttribute("version","1.1");
+g.setAttribute("width",e+"px");g.setAttribute("height",f+"px");g.setAttribute("viewBox",a+" "+b+" "+e+" "+f);d.appendChild(g);return g};
+Graph.htmlToPng=function(a,b,e,f,h,d){h=null!=h?h:"";d=null!=d?d:Editor.htmlRasterScale;var g=document.createElement("canvas");g.width=b*d;g.height=e*d;var n=document.createElement("img");n.onload=mxUtils.bind(this,function(){try{var k=g.getContext("2d");k.scale(d,d);k.drawImage(n,0,0);f(g.toDataURL())}catch(p){f(null)}});var q=mxUtils.createXmlDocument();q=null!=q.createElementNS?q.createElementNS(mxConstants.NS_SVG,"svg"):q.createElement("svg");a=(new mxSvgCanvas2D(q)).convertHtml(a);n.onerror=
+function(k){f(null)};n.src="data:image/svg+xml,"+encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" width="'+b+'" height="'+e+'">'+(""!=h?'<defs xmlns="http://www.w3.org/2000/svg"><style type="text/css">'+h+"</style></defs>":"")+'<foreignObject width="100%" height="100%"><div xmlns="http://www.w3.org/1999/xhtml">'+a+"</div></foreignObject></svg>")};Graph.zapGremlins=function(a){return mxUtils.zapGremlins(a)};
+Graph.stringToBytes=function(a){for(var b=Array(a.length),e=0;e<a.length;e++)b[e]=a.charCodeAt(e);return b};Graph.bytesToString=function(a){for(var b=Array(a.length),e=0;e<a.length;e++)b[e]=String.fromCharCode(a[e]);return b.join("")};Graph.base64EncodeUnicode=function(a){return btoa(encodeURIComponent(a).replace(/%([0-9A-F]{2})/g,function(b,e){return String.fromCharCode(parseInt(e,16))}))};
+Graph.base64DecodeUnicode=function(a){return decodeURIComponent(Array.prototype.map.call(atob(a),function(b){return"%"+("00"+b.charCodeAt(0).toString(16)).slice(-2)}).join(""))};Graph.compressNode=function(a,b){a=mxUtils.getXml(a);return Graph.compress(b?a:Graph.zapGremlins(a))};Graph.arrayBufferToString=function(a){var b="";a=new Uint8Array(a);for(var e=a.byteLength,f=0;f<e;f++)b+=String.fromCharCode(a[f]);return b};Graph.stringToArrayBuffer=function(a){return Uint8Array.from(a,function(b){return b.charCodeAt(0)})};
+Graph.arrayBufferIndexOfString=function(a,b,e){var f=b.charCodeAt(0),h=1,d=-1;for(e=e||0;e<a.byteLength;e++)if(a[e]==f){d=e;break}for(e=d+1;-1<d&&e<a.byteLength&&e<d+b.length-1;e++){if(a[e]!=b.charCodeAt(h))return Graph.arrayBufferIndexOfString(a,b,d+1);h++}return h==b.length-1?d:-1};Graph.compress=function(a,b){if(null==a||0==a.length||"undefined"===typeof pako)return a;a=b?pako.deflate(encodeURIComponent(a)):pako.deflateRaw(encodeURIComponent(a));return btoa(Graph.arrayBufferToString(new Uint8Array(a)))};
+Graph.decompress=function(a,b,e){if(null==a||0==a.length||"undefined"===typeof pako)return a;a=Graph.stringToArrayBuffer(atob(a));b=decodeURIComponent(b?pako.inflate(a,{to:"string"}):pako.inflateRaw(a,{to:"string"}));return e?b:Graph.zapGremlins(b)};
+Graph.fadeNodes=function(a,b,e,f,h){h=null!=h?h:1E3;Graph.setTransitionForNodes(a,null);Graph.setOpacityForNodes(a,b);window.setTimeout(function(){Graph.setTransitionForNodes(a,"all "+h+"ms ease-in-out");Graph.setOpacityForNodes(a,e);window.setTimeout(function(){Graph.setTransitionForNodes(a,null);null!=f&&f()},h)},0)};
+Graph.exploreFromCell=function(a,b,e){pageSize=null!=e&&null!=e.pageSize?e.pageSize:8;minSize=null!=e&&null!=e.minSize?e.minSize:180;(function(f,h){function d(p,w){if(p.getModel().isVertex(w)){var z=p.container.scrollWidth/2,C=p.container.scrollHeight/2;p.rootCell=w.referenceCell||w;p.getModel().beginUpdate();try{for(var F=w.referenceCell||w,D=f.model.getCell(F.sourceCellId),H=f.getEdges(D,null,!0,!0,!1,!0),K=[],G=0;G<H.length;G++)null!=H[G].getTerminal(!0)&&null!=H[G].getTerminal(!1)&&f.isCellVisible(H[G])&&
+!f.isEdgeIgnored(H[G])&&f.isCellVisible(H[G].getTerminal(!0))&&f.isCellVisible(H[G].getTerminal(!1))&&f.isCellVisible(f.getLayerForCell(H[G]))&&K.push(H[G]);K=H=K;if(null!=w.startIndex||0<pageSize&&H.length>pageSize){var P=w.startIndex||0;K=H.slice(Math.max(0,P),Math.min(H.length,P+pageSize))}K=f.getOpposites(K,D).concat(K);var I=p.cloneCells(K);for(G=0;G<K.length;G++)if(I[G].sourceCellId=K[G].id,p.model.isEdge(I[G]))for(I[G].geometry.x=0,I[G].geometry.y=0,I[G].geometry.points=null,I[G].setStyle(I[G].getStyle()+
+";curved=1;noEdgeStyle=1;entryX=none;entryY=none;exitX=none;exitY=none;labelBackgroundColor=#ffffffc0;textOpacity=100;"),I[G].setTerminal(F,null==I[G].getTerminal(!0)),D=0;D<I[G].getChildCount();D++){var Z=I[G].getChildAt(D);null!=Z.geometry&&Z.geometry.relative&&(Z.setStyle(Z.getStyle()+";labelBackgroundColor=#ffffffc0;textOpacity=100;"),Z.geometry.offset=new mxPoint(0,0),Z.geometry.y=0,Z.geometry.x=.5>Z.geometry.x?-.8:.5<Z.geometry.x?.8:0)}if(0<w.startIndex){var S=p.createVertex(null,null,mxResources.get("previousPage")+
+" ("+Math.ceil((w.startIndex||0)/pageSize)+"/"+Math.ceil(H.length/pageSize)+")",0,0,120,30,"fillColor=green;fontColor=white;strokeColor=green;rounded=1;");S.referenceCell=F;S.startIndex=Math.max(0,(w.startIndex||0)-pageSize);I.splice(0,0,S)}if(H.length>(w.startIndex||0)+pageSize){var Y=p.createVertex(null,null,mxResources.get("nextPage")+" ("+(Math.ceil((w.startIndex||0)/pageSize)+2)+"/"+Math.ceil(H.length/pageSize)+")",0,0,120,30,"fillColor=green;fontColor=white;strokeColor=green;rounded=1;");Y.referenceCell=
+F;Y.startIndex=(w.startIndex||0)+pageSize;I.splice(0,0,Y)}for(var V in p.getModel().cells){var L=p.getModel().getCell(V);L!=p.rootCell&&!p.getModel().isAncestor(p.rootCell,L)&&p.getModel().isVertex(L)&&p.removeCells([L])}p.addCells(I);var U=p.getModel().getGeometry(p.rootCell);null!=U&&(U=U.clone(),U.x=z-U.width/2,U.y=C-U.height/3,p.getModel().setGeometry(p.rootCell,U));w=[];for(V in p.getModel().cells)L=p.getModel().getCell(V),L!=p.rootCell&&p.getModel().isVertex(L)&&p.getModel().getParent(L)==p.getDefaultParent()&&
+(w.push(L),U=p.getModel().getGeometry(L),null!=U&&(U.x=z-U.width/2,U.y=C-U.height/2));var ba=w.length,ja=2*Math.PI/ba,sa=Math.max(minSize,Math.min(p.container.scrollWidth/2.5-80,p.container.scrollHeight/2.5-80));for(z=0;z<ba;z++)U=p.getModel().getGeometry(w[z]),null!=U&&(U=U.clone(),U.x+=sa*Math.sin(z*ja),U.y+=sa*Math.cos(z*ja),p.getModel().setGeometry(w[z],U))}finally{p.getModel().endUpdate()}}}var g=document.createElement("div");g.style.position="absolute";g.style.display="block";g.style.background=
+Editor.isDarkMode()?Editor.darkColor:"#ffffff";g.style.width="100%";g.style.height="100%";g.style.left="0px";g.style.top="0px";g.style.zIndex=2;var n=document.createElement("img");n.setAttribute("src",Editor.closeBlackImage);n.style.position="absolute";n.style.cursor="pointer";n.style.right="10px";n.style.top="10px";g.appendChild(n);var q=document.createElement("div");q.style.position="absolute";q.style.cursor="pointer";q.style.right="38px";q.style.top="14px";q.style.textAlign="right";q.style.verticalAlign=
+"top";mxUtils.write(q,mxResources.get("close"));g.appendChild(q);document.body.appendChild(g);var k=function(p){27==p.keyCode&&n.click()};mxEvent.addListener(document,"keydown",k);(function(p){if(mxClient.isBrowserSupported()){var w=new Graph(p);w.keepEdgesInBackground=!0;w.isCellResizable=function(){return!1};w.isCellRotatable=function(){return!1};w.getCursorForCell=function(K){return this.model.isVertex(K)?"pointer":null};w.getFoldingImage=function(){return null};var z=function(){mxEvent.removeListener(document,
+"keydown",k);p.parentNode.removeChild(p);f.scrollCellToVisible(h)};mxEvent.addListener(n,"click",z);mxEvent.addListener(q,"click",z);w.setEnabled(!1);var C=w.click;w.click=function(K){var G=K.getCell(),P=null!=G?null!=G.referenceCell?G.referenceCell:G:null;null!=G&&w.rootCell!=G&&0<w.getEdges(P).length?d(w,G):C.apply(this,arguments)};z=w.container.scrollWidth/2;var F=w.container.scrollHeight/3;w.model.beginUpdate();var D=w.importCells([h])[0];D.sourceCellId=h.id;D.geometry.x=z-D.geometry.width/2;
+D.geometry.y=F-D.geometry.height/2;w.model.endUpdate();var H=!1;w.getModel().addListener(mxEvent.CHANGE,function(K,G){H||(K=G.getProperty("edit").changes,mxText.prototype.enableBoundingBox=!1,w.labelsVisible=!1,H=!0,mxEffects.animateChanges(w,K,function(){var P=new mxParallelEdgeLayout(w);P.spacing=60;var I=P.layout;P.layout=function(Z){P.spacing=Math.min(60,Math.max(30,60-5*Z.length));I.apply(this,arguments)};P.execute(w.getDefaultParent());mxText.prototype.enableBoundingBox=!0;w.labelsVisible=!0;
+w.tooltipHandler.hide();w.refresh();H=!1}))});d(w,D)}else mxUtils.error("Browser is not supported!",200,!1)})(g)})(a,b)};Graph.removeKeys=function(a,b){for(var e in a)b(e)&&delete a[e]};Graph.setTransitionForNodes=function(a,b){for(var e=0;e<a.length;e++)mxUtils.setPrefixedStyle(a[e].style,"transition",b)};Graph.setOpacityForNodes=function(a,b){for(var e=0;e<a.length;e++)a[e].style.opacity=b};
+Graph.removePasteFormatting=function(a,b){for(;null!=a;){null!=a.firstChild&&Graph.removePasteFormatting(a.firstChild,!0);var e=a.nextSibling;if(a.nodeType==mxConstants.NODETYPE_ELEMENT&&null!=a.style){"#000000"==a.style.color&&(a.style.color="");if("SPAN"==a.nodeName&&"Apple-tab-span"==a.className){var f=Graph.createTabNode(4);a.parentNode.replaceChild(f,a);a=f}if("P"==a.nodeName&&"p1"==a.className){for(;null!=a.firstChild;)a.parentNode.insertBefore(a.firstChild,a);null!=e&&"P"==e.nodeName&&"p1"==
+e.className&&a.parentNode.insertBefore(a.ownerDocument.createElement("br"),a);a.parentNode.removeChild(a)}!b&&null!=a.innerHTML&&0<=a.innerHTML.indexOf("\t")&&(f=Graph.createTabNode(4),a.innerHTML=a.innerHTML.replace(/\t/g,f.outerHTML))}a=e}};Graph.createTabNode=function(a){var b="\t";if(null!=a)for(b="";0<a;)b+=" ",a--;a=document.createElement("span");a.style.whiteSpace="pre";a.appendChild(document.createTextNode(b));return a};Graph.sanitizeHtml=function(a,b){return Graph.domPurify(a,!1)};
Graph.sanitizeLink=function(a){if(null==a)return null;var b=document.createElement("a");b.setAttribute("href",a);Graph.sanitizeNode(b);return b.getAttribute("href")};Graph.sanitizeNode=function(a){return Graph.domPurify(a,!0)};DOMPurify.addHook("afterSanitizeAttributes",function(a){"use"==a.nodeName&&(null!=a.getAttribute("xlink:href")&&!a.getAttribute("xlink:href").startsWith("#")||null!=a.getAttribute("href")&&!a.getAttribute("href").startsWith("#"))&&a.remove()});
Graph.domPurify=function(a,b){window.DOM_PURIFY_CONFIG.IN_PLACE=b;return DOMPurify.sanitize(a,window.DOM_PURIFY_CONFIG)};
-Graph.clipSvgDataUri=function(a,b){if(!mxClient.IS_IE&&!mxClient.IS_IE11&&null!=a&&"data:image/svg+xml;base64,"==a.substring(0,26))try{var d=document.createElement("div");d.style.position="absolute";d.style.visibility="hidden";var e=decodeURIComponent(escape(atob(a.substring(26)))),g=e.indexOf("<svg");if(0<=g){d.innerHTML=Graph.sanitizeHtml(e.substring(g));var f=d.getElementsByTagName("svg");if(0<f.length){if(b||null!=f[0].getAttribute("preserveAspectRatio")){document.body.appendChild(d);try{e=b=
-1;var h=f[0].getAttribute("width"),n=f[0].getAttribute("height");h=null!=h&&"%"!=h.charAt(h.length-1)?parseFloat(h):NaN;n=null!=n&&"%"!=n.charAt(n.length-1)?parseFloat(n):NaN;var q=f[0].getAttribute("viewBox");g=null;if(null!=q&&!isNaN(h)&&!isNaN(n)){var l=q.split(" ");4<=q.length&&(b=parseFloat(l[2])/h,e=parseFloat(l[3])/n,g=new mxRectangle(parseFloat(l[0]),parseFloat(l[1]),parseFloat(l[2]),parseFloat(l[3])))}var p=f[0].getBBox();0<p.width&&0<p.height&&(null==g||p.width*p.height<g.width*g.height*
-.7)&&(d.getElementsByTagName("svg")[0].setAttribute("viewBox",p.x+" "+p.y+" "+p.width+" "+p.height),d.getElementsByTagName("svg")[0].setAttribute("width",p.width/b),d.getElementsByTagName("svg")[0].setAttribute("height",p.height/e))}catch(w){}finally{document.body.removeChild(d)}}a=Editor.createSvgDataUri(mxUtils.getXml(f[0]))}}}catch(w){}return a};
-Graph.createRemoveIcon=function(a,b){var d=document.createElement("img");d.setAttribute("src",Dialog.prototype.clearImage);d.setAttribute("title",a);d.setAttribute("width","13");d.setAttribute("height","10");d.style.marginLeft="4px";d.style.marginBottom="-1px";d.style.cursor="pointer";mxEvent.addListener(d,"click",b);return d};Graph.isPageLink=function(a){return null!=a&&"data:page/id,"==a.substring(0,13)};
-Graph.rewritePageLinks=function(a,b){function d(g,f){var h=g.getAttribute(f);if(null!=h){Graph.isPageLink(h)&&(h="#"+h.substring(h.indexOf(":")+1));var n=f;b&&"xlink:href"==f&&(g.removeAttribute(f),n="href");g.setAttribute(n,h)}}a=a.getElementsByTagName("a");if(null!=a)for(var e=0;e<a.length;e++)d(a[e],"href"),d(a[e],"xlink:href")};Graph.isLink=function(a){return null!=a&&a.match(/(http(s)?:\/\/.)?(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/g)};
+Graph.clipSvgDataUri=function(a,b){if(!mxClient.IS_IE&&!mxClient.IS_IE11&&null!=a&&"data:image/svg+xml;base64,"==a.substring(0,26))try{var e=document.createElement("div");e.style.position="absolute";e.style.visibility="hidden";var f=decodeURIComponent(escape(atob(a.substring(26)))),h=f.indexOf("<svg");if(0<=h){e.innerHTML=Graph.sanitizeHtml(f.substring(h));var d=e.getElementsByTagName("svg");if(0<d.length){if(b||null!=d[0].getAttribute("preserveAspectRatio")){document.body.appendChild(e);try{f=b=
+1;var g=d[0].getAttribute("width"),n=d[0].getAttribute("height");g=null!=g&&"%"!=g.charAt(g.length-1)?parseFloat(g):NaN;n=null!=n&&"%"!=n.charAt(n.length-1)?parseFloat(n):NaN;var q=d[0].getAttribute("viewBox");h=null;if(null!=q&&!isNaN(g)&&!isNaN(n)){var k=q.split(" ");4<=q.length&&(b=parseFloat(k[2])/g,f=parseFloat(k[3])/n,h=new mxRectangle(parseFloat(k[0]),parseFloat(k[1]),parseFloat(k[2]),parseFloat(k[3])))}var p=d[0].getBBox();0<p.width&&0<p.height&&(null==h||p.width*p.height<h.width*h.height*
+.7)&&(e.getElementsByTagName("svg")[0].setAttribute("viewBox",p.x+" "+p.y+" "+p.width+" "+p.height),e.getElementsByTagName("svg")[0].setAttribute("width",p.width/b),e.getElementsByTagName("svg")[0].setAttribute("height",p.height/f))}catch(w){}finally{document.body.removeChild(e)}}a=Editor.createSvgDataUri(mxUtils.getXml(d[0]))}}}catch(w){}return a};
+Graph.createRemoveIcon=function(a,b){var e=document.createElement("img");e.setAttribute("src",Dialog.prototype.clearImage);e.setAttribute("title",a);e.setAttribute("width","13");e.setAttribute("height","10");e.style.marginLeft="4px";e.style.marginBottom="-1px";e.style.cursor="pointer";mxEvent.addListener(e,"click",b);return e};Graph.isPageLink=function(a){return null!=a&&"data:page/id,"==a.substring(0,13)};
+Graph.rewritePageLinks=function(a,b){function e(h,d){var g=h.getAttribute(d);if(null!=g){Graph.isPageLink(g)&&(g="#"+g.substring(g.indexOf(":")+1));var n=d;b&&"xlink:href"==d&&(h.removeAttribute(d),n="href");h.setAttribute(n,g)}}a=a.getElementsByTagName("a");if(null!=a)for(var f=0;f<a.length;f++)e(a[f],"href"),e(a[f],"xlink:href")};Graph.isLink=function(a){return null!=a&&a.match(/(http(s)?:\/\/.)?(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/g)};
mxUtils.extend(Graph,mxGraph);Graph.prototype.minFitScale=null;Graph.prototype.maxFitScale=null;Graph.prototype.linkPolicy="frame"==urlParams.target?"blank":urlParams.target||"auto";Graph.prototype.linkTarget="frame"==urlParams.target?"_self":"_blank";Graph.prototype.linkRelation="nofollow noopener noreferrer";Graph.prototype.defaultScrollbars=!0;Graph.prototype.defaultPageVisible=!0;Graph.prototype.defaultGridEnabled="0"!=urlParams.grid;Graph.prototype.lightbox=!1;
Graph.prototype.defaultPageBackgroundColor="#ffffff";Graph.prototype.diagramBackgroundColor="#f0f0f0";Graph.prototype.enableDiagramBackground=!1;Graph.prototype.defaultPageBorderColor="#ffffff";Graph.prototype.shapeForegroundColor="#000000";Graph.prototype.shapeBackgroundColor="#ffffff";Graph.prototype.scrollTileSize=new mxRectangle(0,0,400,400);Graph.prototype.transparentBackground=!0;Graph.prototype.selectParentAfterDelete=!1;Graph.prototype.defaultEdgeLength=80;
Graph.prototype.immediateHandling=!0;Graph.prototype.connectionArrowsEnabled=!0;Graph.prototype.placeholderPattern=RegExp("%(date{.*}|[^%^{^}^ ^\"^ '^=^;]+)%","g");Graph.prototype.absoluteUrlPattern=RegExp("^(?:[a-z]+:)?//","i");Graph.prototype.defaultThemeName="default";Graph.prototype.defaultThemes={};Graph.prototype.baseUrl=null!=urlParams.base?mxUtils.removeJavascriptProtocol(decodeURIComponent(urlParams.base)):(window!=window.top?document.referrer:document.location.toString()).split("#")[0];
Graph.prototype.editAfterInsert=!1;Graph.prototype.builtInProperties=["label","tooltip","placeholders","placeholder"];Graph.prototype.standalone=!1;Graph.prototype.enableFlowAnimation=!1;Graph.prototype.roundableShapes="label rectangle internalStorage corner parallelogram swimlane triangle trapezoid ext step tee process link rhombus offPageConnector loopLimit hexagon manualInput card curlyBracket singleArrow callout doubleArrow flexArrow umlLifeline".split(" ");Graph.prototype.vertexFontSize=null;
Graph.prototype.edgeFontSize=null;
-Graph.prototype.init=function(a){mxGraph.prototype.init.apply(this,arguments);this.cellRenderer.initializeLabel=function(d,e){mxCellRenderer.prototype.initializeLabel.apply(this,arguments);var g=d.view.graph.tolerance,f=!0,h=null,n=mxUtils.bind(this,function(p){f=!0;h=new mxPoint(mxEvent.getClientX(p),mxEvent.getClientY(p))}),q=mxUtils.bind(this,function(p){f=f&&null!=h&&Math.abs(h.x-mxEvent.getClientX(p))<g&&Math.abs(h.y-mxEvent.getClientY(p))<g}),l=mxUtils.bind(this,function(p){if(f)for(var w=mxEvent.getSource(p);null!=
-w&&w!=e.node;){if("a"==w.nodeName.toLowerCase()){d.view.graph.labelLinkClicked(d,w,p);break}w=w.parentNode}});mxEvent.addGestureListeners(e.node,n,q,l);mxEvent.addListener(e.node,"click",function(p){mxEvent.consume(p)})};if(null!=this.tooltipHandler){var b=this.tooltipHandler.init;this.tooltipHandler.init=function(){b.apply(this,arguments);null!=this.div&&mxEvent.addListener(this.div,"click",mxUtils.bind(this,function(d){var e=mxEvent.getSource(d);"A"==e.nodeName&&(e=e.getAttribute("href"),null!=
-e&&this.graph.isCustomLink(e)&&(mxEvent.isTouchEvent(d)||!mxEvent.isPopupTrigger(d))&&this.graph.customLinkClicked(e)&&mxEvent.consume(d))}))}}this.initLayoutManager()};
-(function(){Graph.prototype.useCssTransforms=!1;Graph.prototype.currentScale=1;Graph.prototype.currentTranslate=new mxPoint(0,0);Graph.prototype.pasteEdgeStyle=!1;Graph.prototype.isFillState=function(h){return!this.isSpecialColor(h.style[mxConstants.STYLE_FILLCOLOR])&&"1"!=mxUtils.getValue(h.style,"lineShape",null)&&(this.model.isVertex(h.cell)||"arrow"==mxUtils.getValue(h.style,mxConstants.STYLE_SHAPE,null)||"wire"==mxUtils.getValue(h.style,mxConstants.STYLE_SHAPE,null)||"filledEdge"==mxUtils.getValue(h.style,
-mxConstants.STYLE_SHAPE,null)||"flexArrow"==mxUtils.getValue(h.style,mxConstants.STYLE_SHAPE,null)||"mxgraph.arrows2.wedgeArrow"==mxUtils.getValue(h.style,mxConstants.STYLE_SHAPE,null))};Graph.prototype.isGradientState=function(h){return this.isFillState(h)&&"wire"!=mxUtils.getValue(h.style,mxConstants.STYLE_SHAPE,null)};Graph.prototype.isStrokeState=function(h){return!0};Graph.prototype.isSpecialColor=function(h){return 0<=mxUtils.indexOf([mxConstants.STYLE_STROKECOLOR,mxConstants.STYLE_FILLCOLOR,
-"inherit","swimlane","indicated"],h)};Graph.prototype.isGlassState=function(h){h=mxUtils.getValue(h.style,mxConstants.STYLE_SHAPE,null);return"label"==h||"rectangle"==h||"internalStorage"==h||"ext"==h||"umlLifeline"==h||"swimlane"==h||"process"==h};Graph.prototype.isRoundedState=function(h){return null!=h.shape?h.shape.isRoundable():0<=mxUtils.indexOf(this.roundableShapes,mxUtils.getValue(h.style,mxConstants.STYLE_SHAPE,null))};Graph.prototype.isLineJumpState=function(h){var n=mxUtils.getValue(h.style,
-mxConstants.STYLE_SHAPE,null);return!mxUtils.getValue(h.style,mxConstants.STYLE_CURVED,!1)&&("connector"==n||"filledEdge"==n||"wire"==n)};Graph.prototype.isAutoSizeState=function(h){return"1"==mxUtils.getValue(h.style,mxConstants.STYLE_AUTOSIZE,null)};Graph.prototype.isImageState=function(h){return null!=mxUtils.getValue(h.style,mxConstants.STYLE_IMAGE,null)};Graph.prototype.isShadowState=function(h){return!0};Graph.prototype.getVerticesAndEdges=function(h,n){h=null!=h?h:!0;n=null!=n?n:!0;var q=this.model;
-return q.filterDescendants(function(l){return h&&q.isVertex(l)||n&&q.isEdge(l)},q.getRoot())};Graph.prototype.applyNewEdgeStyle=function(h,n,q){h=this.getCellStyle(h).newEdgeStyle;if(null!=h){this.model.beginUpdate();try{var l=JSON.parse(h),p;for(p in l)this.setCellStyles(p,l[p],n),"edgeStyle"==p&&"elbowEdgeStyle"==l[p]&&null!=q&&this.setCellStyles("elbow",q==mxConstants.DIRECTION_SOUTH||q==mxConstants.DIRECTION_NOTH?"vertical":"horizontal",n)}finally{this.model.endUpdate()}}};Graph.prototype.getCommonStyle=
-function(h){for(var n={},q=0;q<h.length;q++){var l=this.view.getState(h[q]);null!=l&&this.mergeStyle(l.style,n,0==q)}return n};Graph.prototype.mergeStyle=function(h,n,q){if(null!=h){var l={},p;for(p in h){var w=h[p];null!=w&&(l[p]=!0,null==n[p]&&q?n[p]=w:n[p]!=w&&delete n[p])}for(p in n)l[p]||delete n[p]}};Graph.prototype.getStartEditingCell=function(h,n){n=this.getCellStyle(h);n=parseInt(mxUtils.getValue(n,mxConstants.STYLE_STARTSIZE,0));this.isTable(h)&&(!this.isSwimlane(h)||0==n)&&""==this.getLabel(h)&&
-0<this.model.getChildCount(h)&&(h=this.model.getChildAt(h,0),n=this.getCellStyle(h),n=parseInt(mxUtils.getValue(n,mxConstants.STYLE_STARTSIZE,0)));if(this.isTableRow(h)&&(!this.isSwimlane(h)||0==n)&&""==this.getLabel(h)&&0<this.model.getChildCount(h))for(n=0;n<this.model.getChildCount(h);n++){var q=this.model.getChildAt(h,n);if(this.isCellEditable(q)){h=q;break}}return h};Graph.prototype.copyStyle=function(h){return this.getCellStyle(h,!1)};Graph.prototype.pasteStyle=function(h,n,q,l){null!=h&&(l||
-(q=null!=q?q:Graph.cellStyles,Graph.removeKeys(h,function(p){return 0>mxUtils.indexOf(q,p)})),this.updateCellStyles(h,n))};Graph.prototype.copyCellStyles=function(h,n,q,l,p,w,z){var C=!1,F=!1;if(0<h.length)for(var D=0;D<h.length&&(C=this.getModel().isVertex(h[D])||C,!(F=this.getModel().isEdge(h[D])||F)||!C);D++);else F=C=!0;C=C&&!w;F=F&&!z;for(D=0;D<n.length;D++)if(h=0<=mxUtils.indexOf(Graph.textStyles,n[D]),"strokeColor"!=n[D]||null!=q[D]&&"none"!=q[D])if(0<=mxUtils.indexOf(Graph.cellStyles,n[D])||
-"shape"==n[D])if("shape"!=n[D]&&(C||h)&&(null==q[D]?delete l[n[D]]:l[n[D]]=q[D]),F||h)null==q[D]?delete p[n[D]]:p[n[D]]=q[D]};Graph.prototype.includeDescendants=function(h){for(var n=[],q=0;q<h.length;q++)n=n.concat(this.model.getDescendants(h[q]));return n};Graph.prototype.pasteCellStyles=function(h,n,q,l,p){n=null!=n?n:this.currentVertexStyle;q=null!=q?q:this.currentEdgeStyle;p=null!=p?p:this.pasteEdgeStyle;this.model.beginUpdate();try{for(var w=0;w<h.length;w++){var z=h[w],C=this.model.getStyle(z),
-F=!1;null!=z.style&&(pairs=z.style.split(";"),F=F||0<=mxUtils.indexOf(pairs,"text"));if(F)var D=Graph.textStyles;else if(D=Graph.cellStyles.slice(),!l)for(var G=null!=C?C.split(";"):[],K=0;K<G.length;K++){var I=G[K],O=I.indexOf("=");if(0<=O){var H=I.substring(0,O),Z=mxUtils.indexOf(D,H);0<=Z&&D.splice(Z,1);for(F=0;F<Graph.cellStyleGroups.length;F++){var S=Graph.cellStyleGroups[F];if(0<=mxUtils.indexOf(S,H))for(var X=0;X<S.length;X++){var Y=mxUtils.indexOf(D,S[X]);0<=Y&&D.splice(Y,1)}}}}var M=this.model.isEdge(z);
-F=M?q:n;for(K=0;K<D.length;K++){H=D[K];var U=F[H];null!=U&&("edgeStyle"!=H||p)&&(M||!M&&0>mxUtils.indexOf(Graph.edgeStyles,H))&&(C=mxUtils.setStyle(C,H,U),"fontFamily"==H&&null==F.fontSource&&(C=mxUtils.setStyle(C,"fontSource",null)),M&&"rounded"==H&&"1"==U&&null==F.curved&&(C=mxUtils.setStyle(C,"curved",null)))}Editor.simpleLabels&&(C=mxUtils.setStyle(mxUtils.setStyle(C,"html",null),"whiteSpace",null));this.model.setStyle(z,C)}}finally{this.model.endUpdate()}return h};Graph.prototype.updateCellStyles=
-function(h,n){this.model.beginUpdate();try{for(var q=0;q<n.length;q++)if(this.model.isVertex(n[q])||this.model.isEdge(n[q])){var l=this.getCellStyle(n[q],!1),p=l[mxConstants.STYLE_PERIMETER],w=!1;for(C in h){var z=h[C];if(l[C]!=z){if(C==mxConstants.STYLE_SHAPE&&"umlLifeline"==l[C]&&"umlLifeline"!=z){w=!0;var C="participant"}this.setCellStyles(C,z,[n[q]])}}w&&this.setCellStyles(mxConstants.STYLE_PERIMETER,p,[n[q]])}}finally{this.model.endUpdate()}};Graph.prototype.isFastZoomEnabled=function(){return"nocss"!=
-urlParams.zoom&&!mxClient.NO_FO&&!mxClient.IS_EDGE&&!this.useCssTransforms&&(this.isCssTransformsSupported()||mxClient.IS_IOS)};Graph.prototype.isCssTransformsSupported=function(){return this.dialect==mxConstants.DIALECT_SVG&&!mxClient.NO_FO&&(!this.lightbox||!mxClient.IS_SF)};Graph.prototype.getCellAt=function(h,n,q,l,p,w){this.useCssTransforms&&(h=h/this.currentScale-this.currentTranslate.x,n=n/this.currentScale-this.currentTranslate.y);return this.getScaledCellAt.apply(this,arguments)};Graph.prototype.getScaledCellAt=
-function(h,n,q,l,p,w){l=null!=l?l:!0;p=null!=p?p:!0;null==q&&(q=this.getCurrentRoot(),null==q&&(q=this.getModel().getRoot()));if(null!=q)for(var z=this.model.getChildCount(q)-1;0<=z;z--){var C=this.model.getChildAt(q,z),F=this.getScaledCellAt(h,n,C,l,p,w);if(null!=F)return F;if(this.isCellVisible(C)&&(p&&this.model.isEdge(C)||l&&this.model.isVertex(C))&&(F=this.view.getState(C),null!=F&&(null==w||!w(F,h,n))&&this.intersects(F,h,n)))return C}return null};Graph.prototype.isRecursiveVertexResize=function(h){return!this.isSwimlane(h.cell)&&
-0<this.model.getChildCount(h.cell)&&!this.isCellCollapsed(h.cell)&&"1"==mxUtils.getValue(h.style,"recursiveResize","1")&&null==mxUtils.getValue(h.style,"childLayout",null)};Graph.prototype.getAbsoluteParent=function(h){for(var n=this.getCellGeometry(h);null!=n&&n.relative;)h=this.getModel().getParent(h),n=this.getCellGeometry(h);return h};Graph.prototype.isPart=function(h){return"1"==mxUtils.getValue(this.getCurrentCellStyle(h),"part","0")||this.isTableCell(h)||this.isTableRow(h)};Graph.prototype.getCompositeParents=
-function(h){for(var n=new mxDictionary,q=[],l=0;l<h.length;l++){var p=this.getCompositeParent(h[l]);this.isTableCell(p)&&(p=this.graph.model.getParent(p));this.isTableRow(p)&&(p=this.graph.model.getParent(p));null==p||n.get(p)||(n.put(p,!0),q.push(p))}return q};Graph.prototype.getReferenceTerminal=function(h){if(null!=h){var n=this.getCellGeometry(h);null!=n&&n.relative&&(h=this.model.getParent(h))}null!=h&&this.model.isEdge(h)&&(h=this.model.getParent(h));null!=h&&(h=this.getCompositeParent(h));
-return h};Graph.prototype.getCompositeParent=function(h){for(;this.isPart(h);){var n=this.model.getParent(h);if(!this.model.isVertex(n))break;h=n}return h};Graph.prototype.filterSelectionCells=function(h){var n=this.getSelectionCells();if(null!=h){for(var q=[],l=0;l<n.length;l++)h(n[l])||q.push(n[l]);n=q}return n};var a=mxGraph.prototype.scrollRectToVisible;Graph.prototype.scrollRectToVisible=function(h){if(this.useCssTransforms){var n=this.currentScale,q=this.currentTranslate;h=new mxRectangle((h.x+
-2*q.x)*n-q.x,(h.y+2*q.y)*n-q.y,h.width*n,h.height*n)}a.apply(this,arguments)};mxCellHighlight.prototype.getStrokeWidth=function(h){h=this.strokeWidth;this.graph.useCssTransforms&&(h/=this.graph.currentScale);return h};mxGraphView.prototype.getGraphBounds=function(){var h=this.graphBounds;if(this.graph.useCssTransforms){var n=this.graph.currentTranslate,q=this.graph.currentScale;h=new mxRectangle((h.x+n.x)*q,(h.y+n.y)*q,h.width*q,h.height*q)}return h};mxGraphView.prototype.viewStateChanged=function(){this.graph.useCssTransforms?
-this.validate():this.revalidate();this.graph.sizeDidChange()};var b=mxGraphView.prototype.validate;mxGraphView.prototype.validate=function(h){this.graph.useCssTransforms&&(this.graph.currentScale=this.scale,this.graph.currentTranslate.x=this.translate.x,this.graph.currentTranslate.y=this.translate.y,this.scale=1,this.translate.x=0,this.translate.y=0);b.apply(this,arguments);this.graph.useCssTransforms&&(this.graph.updateCssTransform(),this.scale=this.graph.currentScale,this.translate.x=this.graph.currentTranslate.x,
-this.translate.y=this.graph.currentTranslate.y)};var d=mxGraph.prototype.getCellsForGroup;Graph.prototype.getCellsForGroup=function(h){h=d.apply(this,arguments);for(var n=[],q=0;q<h.length;q++)this.isTableRow(h[q])||this.isTableCell(h[q])||n.push(h[q]);return n};var e=mxGraph.prototype.getCellsForUngroup;Graph.prototype.getCellsForUngroup=function(h){h=e.apply(this,arguments);for(var n=[],q=0;q<h.length;q++)this.isTable(h[q])||this.isTableRow(h[q])||this.isTableCell(h[q])||n.push(h[q]);return n};
-Graph.prototype.updateCssTransform=function(){var h=this.view.getDrawPane();if(null!=h)if(h=h.parentNode,this.useCssTransforms){var n=h.getAttribute("transform");h.setAttribute("transformOrigin","0 0");var q=Math.round(100*this.currentScale)/100;h.setAttribute("transform","scale("+q+","+q+")translate("+Math.round(100*this.currentTranslate.x)/100+","+Math.round(100*this.currentTranslate.y)/100+")");n!=h.getAttribute("transform")&&this.fireEvent(new mxEventObject("cssTransformChanged"),"transform",
-h.getAttribute("transform"))}else h.removeAttribute("transformOrigin"),h.removeAttribute("transform")};var g=mxGraphView.prototype.validateBackgroundPage;mxGraphView.prototype.validateBackgroundPage=function(){var h=this.graph.useCssTransforms,n=this.scale,q=this.translate;h&&(this.scale=this.graph.currentScale,this.translate=this.graph.currentTranslate);g.apply(this,arguments);h&&(this.scale=n,this.translate=q)};var f=mxGraph.prototype.updatePageBreaks;mxGraph.prototype.updatePageBreaks=function(h,
-n,q){var l=this.useCssTransforms,p=this.view.scale,w=this.view.translate;l&&(this.view.scale=1,this.view.translate=new mxPoint(0,0),this.useCssTransforms=!1);f.apply(this,arguments);l&&(this.view.scale=p,this.view.translate=w,this.useCssTransforms=!0)}})();Graph.prototype.isLightboxView=function(){return this.lightbox};Graph.prototype.isViewer=function(){return!1};
-Graph.prototype.labelLinkClicked=function(a,b,d){var e=b.getAttribute("href");e!=Graph.sanitizeLink(e)&&Graph.sanitizeNode(b);if(null!=e&&!this.isCustomLink(e)&&(mxEvent.isLeftMouseButton(d)&&!mxEvent.isPopupTrigger(d)||mxEvent.isTouchEvent(d))){if(!this.isEnabled()||this.isCellLocked(a.cell))a=this.isBlankLink(e)?this.linkTarget:"_top",this.openLink(this.getAbsoluteUrl(e),a);mxEvent.consume(d)}};
-Graph.prototype.openLink=function(a,b,d){var e=window;try{if(a=Graph.sanitizeLink(a),null!=a)if("_self"==b&&window!=window.top)window.location.href=a;else if(a.substring(0,this.baseUrl.length)==this.baseUrl&&"#"==a.charAt(this.baseUrl.length)&&"_top"==b&&window==window.top){var g=a.split("#")[1];window.location.hash=="#"+g&&(window.location.hash="");window.location.hash=g}else e=window.open(a,null!=b?b:"_blank",d?null:"noopener,noreferrer"),null==e||d||(e.opener=null)}catch(f){}return e};
+Graph.prototype.init=function(a){mxGraph.prototype.init.apply(this,arguments);this.cellRenderer.initializeLabel=function(e,f){mxCellRenderer.prototype.initializeLabel.apply(this,arguments);var h=e.view.graph.tolerance,d=!0,g=null,n=mxUtils.bind(this,function(p){d=!0;g=new mxPoint(mxEvent.getClientX(p),mxEvent.getClientY(p))}),q=mxUtils.bind(this,function(p){d=d&&null!=g&&Math.abs(g.x-mxEvent.getClientX(p))<h&&Math.abs(g.y-mxEvent.getClientY(p))<h}),k=mxUtils.bind(this,function(p){if(d)for(var w=mxEvent.getSource(p);null!=
+w&&w!=f.node;){if("a"==w.nodeName.toLowerCase()){e.view.graph.labelLinkClicked(e,w,p);break}w=w.parentNode}});mxEvent.addGestureListeners(f.node,n,q,k);mxEvent.addListener(f.node,"click",function(p){mxEvent.consume(p)})};if(null!=this.tooltipHandler){var b=this.tooltipHandler.init;this.tooltipHandler.init=function(){b.apply(this,arguments);null!=this.div&&mxEvent.addListener(this.div,"click",mxUtils.bind(this,function(e){var f=mxEvent.getSource(e);"A"==f.nodeName&&(f=f.getAttribute("href"),null!=
+f&&this.graph.isCustomLink(f)&&(mxEvent.isTouchEvent(e)||!mxEvent.isPopupTrigger(e))&&this.graph.customLinkClicked(f)&&mxEvent.consume(e))}))}}this.initLayoutManager()};
+(function(){Graph.prototype.useCssTransforms=!1;Graph.prototype.currentScale=1;Graph.prototype.currentTranslate=new mxPoint(0,0);Graph.prototype.pasteEdgeStyle=!1;Graph.prototype.isFillState=function(g){return!this.isSpecialColor(g.style[mxConstants.STYLE_FILLCOLOR])&&"1"!=mxUtils.getValue(g.style,"lineShape",null)&&(this.model.isVertex(g.cell)||"arrow"==mxUtils.getValue(g.style,mxConstants.STYLE_SHAPE,null)||"wire"==mxUtils.getValue(g.style,mxConstants.STYLE_SHAPE,null)||"filledEdge"==mxUtils.getValue(g.style,
+mxConstants.STYLE_SHAPE,null)||"flexArrow"==mxUtils.getValue(g.style,mxConstants.STYLE_SHAPE,null)||"mxgraph.arrows2.wedgeArrow"==mxUtils.getValue(g.style,mxConstants.STYLE_SHAPE,null))};Graph.prototype.isGradientState=function(g){return this.isFillState(g)&&"wire"!=mxUtils.getValue(g.style,mxConstants.STYLE_SHAPE,null)};Graph.prototype.isStrokeState=function(g){return!0};Graph.prototype.isSpecialColor=function(g){return 0<=mxUtils.indexOf([mxConstants.STYLE_STROKECOLOR,mxConstants.STYLE_FILLCOLOR,
+"inherit","swimlane","indicated"],g)};Graph.prototype.isGlassState=function(g){g=mxUtils.getValue(g.style,mxConstants.STYLE_SHAPE,null);return"label"==g||"rectangle"==g||"internalStorage"==g||"ext"==g||"umlLifeline"==g||"swimlane"==g||"process"==g};Graph.prototype.isRoundedState=function(g){return null!=g.shape?g.shape.isRoundable():0<=mxUtils.indexOf(this.roundableShapes,mxUtils.getValue(g.style,mxConstants.STYLE_SHAPE,null))};Graph.prototype.isLineJumpState=function(g){var n=mxUtils.getValue(g.style,
+mxConstants.STYLE_SHAPE,null);return!mxUtils.getValue(g.style,mxConstants.STYLE_CURVED,!1)&&("connector"==n||"filledEdge"==n||"wire"==n)};Graph.prototype.isAutoSizeState=function(g){return"1"==mxUtils.getValue(g.style,mxConstants.STYLE_AUTOSIZE,null)};Graph.prototype.isImageState=function(g){return null!=mxUtils.getValue(g.style,mxConstants.STYLE_IMAGE,null)};Graph.prototype.isShadowState=function(g){return!0};Graph.prototype.getVerticesAndEdges=function(g,n){g=null!=g?g:!0;n=null!=n?n:!0;var q=this.model;
+return q.filterDescendants(function(k){return g&&q.isVertex(k)||n&&q.isEdge(k)},q.getRoot())};Graph.prototype.applyNewEdgeStyle=function(g,n,q){g=this.getCellStyle(g).newEdgeStyle;if(null!=g){this.model.beginUpdate();try{var k=JSON.parse(g),p;for(p in k)this.setCellStyles(p,k[p],n),"edgeStyle"==p&&"elbowEdgeStyle"==k[p]&&null!=q&&this.setCellStyles("elbow",q==mxConstants.DIRECTION_SOUTH||q==mxConstants.DIRECTION_NOTH?"vertical":"horizontal",n)}finally{this.model.endUpdate()}}};Graph.prototype.getCommonStyle=
+function(g){for(var n={},q=0;q<g.length;q++){var k=this.view.getState(g[q]);null!=k&&this.mergeStyle(k.style,n,0==q)}return n};Graph.prototype.mergeStyle=function(g,n,q){if(null!=g){var k={},p;for(p in g){var w=g[p];null!=w&&(k[p]=!0,null==n[p]&&q?n[p]=w:n[p]!=w&&delete n[p])}for(p in n)k[p]||delete n[p]}};Graph.prototype.getStartEditingCell=function(g,n){n=this.getCellStyle(g);n=parseInt(mxUtils.getValue(n,mxConstants.STYLE_STARTSIZE,0));this.isTable(g)&&(!this.isSwimlane(g)||0==n)&&""==this.getLabel(g)&&
+0<this.model.getChildCount(g)&&(g=this.model.getChildAt(g,0),n=this.getCellStyle(g),n=parseInt(mxUtils.getValue(n,mxConstants.STYLE_STARTSIZE,0)));if(this.isTableRow(g)&&(!this.isSwimlane(g)||0==n)&&""==this.getLabel(g)&&0<this.model.getChildCount(g))for(n=0;n<this.model.getChildCount(g);n++){var q=this.model.getChildAt(g,n);if(this.isCellEditable(q)){g=q;break}}return g};Graph.prototype.copyStyle=function(g){return this.getCellStyle(g,!1)};Graph.prototype.pasteStyle=function(g,n,q,k){null!=g&&(k||
+(q=null!=q?q:Graph.cellStyles,Graph.removeKeys(g,function(p){return 0>mxUtils.indexOf(q,p)})),this.updateCellStyles(g,n))};Graph.prototype.copyCellStyles=function(g,n,q,k,p,w,z){var C=!1,F=!1;if(0<g.length)for(var D=0;D<g.length&&(C=this.getModel().isVertex(g[D])||C,!(F=this.getModel().isEdge(g[D])||F)||!C);D++);else F=C=!0;C=C&&!w;F=F&&!z;for(D=0;D<n.length;D++)if(g=0<=mxUtils.indexOf(Graph.textStyles,n[D]),"strokeColor"!=n[D]||null!=q[D]&&"none"!=q[D])if(0<=mxUtils.indexOf(Graph.cellStyles,n[D])||
+"shape"==n[D])if("shape"!=n[D]&&(C||g)&&(null==q[D]?delete k[n[D]]:k[n[D]]=q[D]),F||g)null==q[D]?delete p[n[D]]:p[n[D]]=q[D]};Graph.prototype.includeDescendants=function(g){for(var n=[],q=0;q<g.length;q++)n=n.concat(this.model.getDescendants(g[q]));return n};Graph.prototype.pasteCellStyles=function(g,n,q,k,p){n=null!=n?n:this.currentVertexStyle;q=null!=q?q:this.currentEdgeStyle;p=null!=p?p:this.pasteEdgeStyle;this.model.beginUpdate();try{for(var w=0;w<g.length;w++){var z=g[w],C=this.model.getStyle(z),
+F=!1;null!=z.style&&(pairs=z.style.split(";"),F=F||0<=mxUtils.indexOf(pairs,"text"));if(F)var D=Graph.textStyles;else if(D=Graph.cellStyles.slice(),!k)for(var H=null!=C?C.split(";"):[],K=0;K<H.length;K++){var G=H[K],P=G.indexOf("=");if(0<=P){var I=G.substring(0,P),Z=mxUtils.indexOf(D,I);0<=Z&&D.splice(Z,1);for(F=0;F<Graph.cellStyleGroups.length;F++){var S=Graph.cellStyleGroups[F];if(0<=mxUtils.indexOf(S,I))for(var Y=0;Y<S.length;Y++){var V=mxUtils.indexOf(D,S[Y]);0<=V&&D.splice(V,1)}}}}var L=this.model.isEdge(z);
+F=L?q:n;for(K=0;K<D.length;K++){I=D[K];var U=F[I];null!=U&&("edgeStyle"!=I||p)&&(L||!L&&0>mxUtils.indexOf(Graph.edgeStyles,I))&&(C=mxUtils.setStyle(C,I,U),"fontFamily"==I&&null==F.fontSource&&(C=mxUtils.setStyle(C,"fontSource",null)),L&&"rounded"==I&&"1"==U&&null==F.curved&&(C=mxUtils.setStyle(C,"curved",null)))}Editor.simpleLabels&&(C=mxUtils.setStyle(mxUtils.setStyle(C,"html",null),"whiteSpace",null));this.model.setStyle(z,C)}}finally{this.model.endUpdate()}return g};Graph.prototype.updateCellStyles=
+function(g,n){this.model.beginUpdate();try{for(var q=0;q<n.length;q++)if(this.model.isVertex(n[q])||this.model.isEdge(n[q])){var k=this.getCellStyle(n[q],!1),p=k[mxConstants.STYLE_PERIMETER],w=!1;for(C in g){var z=g[C];if(k[C]!=z){if(C==mxConstants.STYLE_SHAPE&&"umlLifeline"==k[C]&&"umlLifeline"!=z){w=!0;var C="participant"}this.setCellStyles(C,z,[n[q]])}}w&&this.setCellStyles(mxConstants.STYLE_PERIMETER,p,[n[q]])}}finally{this.model.endUpdate()}};Graph.prototype.isFastZoomEnabled=function(){return"nocss"!=
+urlParams.zoom&&!mxClient.NO_FO&&!mxClient.IS_EDGE&&!this.useCssTransforms&&(this.isCssTransformsSupported()||mxClient.IS_IOS)};Graph.prototype.isCssTransformsSupported=function(){return this.dialect==mxConstants.DIALECT_SVG&&!mxClient.NO_FO&&(!this.lightbox||!mxClient.IS_SF)};Graph.prototype.getCellAt=function(g,n,q,k,p,w){this.useCssTransforms&&(g=g/this.currentScale-this.currentTranslate.x,n=n/this.currentScale-this.currentTranslate.y);return this.getScaledCellAt.apply(this,arguments)};Graph.prototype.getScaledCellAt=
+function(g,n,q,k,p,w){k=null!=k?k:!0;p=null!=p?p:!0;null==q&&(q=this.getCurrentRoot(),null==q&&(q=this.getModel().getRoot()));if(null!=q)for(var z=this.model.getChildCount(q)-1;0<=z;z--){var C=this.model.getChildAt(q,z),F=this.getScaledCellAt(g,n,C,k,p,w);if(null!=F)return F;if(this.isCellVisible(C)&&(p&&this.model.isEdge(C)||k&&this.model.isVertex(C))&&(F=this.view.getState(C),null!=F&&(null==w||!w(F,g,n))&&this.intersects(F,g,n)))return C}return null};Graph.prototype.isRecursiveVertexResize=function(g){return!this.isSwimlane(g.cell)&&
+0<this.model.getChildCount(g.cell)&&!this.isCellCollapsed(g.cell)&&"1"==mxUtils.getValue(g.style,"recursiveResize","1")&&null==mxUtils.getValue(g.style,"childLayout",null)};Graph.prototype.getAbsoluteParent=function(g){for(var n=this.getCellGeometry(g);null!=n&&n.relative;)g=this.getModel().getParent(g),n=this.getCellGeometry(g);return g};Graph.prototype.isPart=function(g){return"1"==mxUtils.getValue(this.getCurrentCellStyle(g),"part","0")||this.isTableCell(g)||this.isTableRow(g)};Graph.prototype.getCompositeParents=
+function(g){for(var n=new mxDictionary,q=[],k=0;k<g.length;k++){var p=this.getCompositeParent(g[k]);this.isTableCell(p)&&(p=this.graph.model.getParent(p));this.isTableRow(p)&&(p=this.graph.model.getParent(p));null==p||n.get(p)||(n.put(p,!0),q.push(p))}return q};Graph.prototype.getReferenceTerminal=function(g){if(null!=g){var n=this.getCellGeometry(g);null!=n&&n.relative&&(g=this.model.getParent(g))}null!=g&&this.model.isEdge(g)&&(g=this.model.getParent(g));null!=g&&(g=this.getCompositeParent(g));
+return g};Graph.prototype.getCompositeParent=function(g){for(;this.isPart(g);){var n=this.model.getParent(g);if(!this.model.isVertex(n))break;g=n}return g};Graph.prototype.filterSelectionCells=function(g){var n=this.getSelectionCells();if(null!=g){for(var q=[],k=0;k<n.length;k++)g(n[k])||q.push(n[k]);n=q}return n};var a=mxGraph.prototype.scrollRectToVisible;Graph.prototype.scrollRectToVisible=function(g){if(this.useCssTransforms){var n=this.currentScale,q=this.currentTranslate;g=new mxRectangle((g.x+
+2*q.x)*n-q.x,(g.y+2*q.y)*n-q.y,g.width*n,g.height*n)}a.apply(this,arguments)};mxCellHighlight.prototype.getStrokeWidth=function(g){g=this.strokeWidth;this.graph.useCssTransforms&&(g/=this.graph.currentScale);return g};mxGraphView.prototype.getGraphBounds=function(){var g=this.graphBounds;if(this.graph.useCssTransforms){var n=this.graph.currentTranslate,q=this.graph.currentScale;g=new mxRectangle((g.x+n.x)*q,(g.y+n.y)*q,g.width*q,g.height*q)}return g};mxGraphView.prototype.viewStateChanged=function(){this.graph.useCssTransforms?
+this.validate():this.revalidate();this.graph.sizeDidChange()};var b=mxGraphView.prototype.validate;mxGraphView.prototype.validate=function(g){this.graph.useCssTransforms&&(this.graph.currentScale=this.scale,this.graph.currentTranslate.x=this.translate.x,this.graph.currentTranslate.y=this.translate.y,this.scale=1,this.translate.x=0,this.translate.y=0);b.apply(this,arguments);this.graph.useCssTransforms&&(this.graph.updateCssTransform(),this.scale=this.graph.currentScale,this.translate.x=this.graph.currentTranslate.x,
+this.translate.y=this.graph.currentTranslate.y)};var e=mxGraph.prototype.getCellsForGroup;Graph.prototype.getCellsForGroup=function(g){g=e.apply(this,arguments);for(var n=[],q=0;q<g.length;q++)this.isTableRow(g[q])||this.isTableCell(g[q])||n.push(g[q]);return n};var f=mxGraph.prototype.getCellsForUngroup;Graph.prototype.getCellsForUngroup=function(g){g=f.apply(this,arguments);for(var n=[],q=0;q<g.length;q++)this.isTable(g[q])||this.isTableRow(g[q])||this.isTableCell(g[q])||n.push(g[q]);return n};
+Graph.prototype.updateCssTransform=function(){var g=this.view.getDrawPane();if(null!=g)if(g=g.parentNode,this.useCssTransforms){var n=g.getAttribute("transform");g.setAttribute("transformOrigin","0 0");var q=Math.round(100*this.currentScale)/100;g.setAttribute("transform","scale("+q+","+q+")translate("+Math.round(100*this.currentTranslate.x)/100+","+Math.round(100*this.currentTranslate.y)/100+")");n!=g.getAttribute("transform")&&this.fireEvent(new mxEventObject("cssTransformChanged"),"transform",
+g.getAttribute("transform"))}else g.removeAttribute("transformOrigin"),g.removeAttribute("transform")};var h=mxGraphView.prototype.validateBackgroundPage;mxGraphView.prototype.validateBackgroundPage=function(){var g=this.graph.useCssTransforms,n=this.scale,q=this.translate;g&&(this.scale=this.graph.currentScale,this.translate=this.graph.currentTranslate);h.apply(this,arguments);g&&(this.scale=n,this.translate=q)};var d=mxGraph.prototype.updatePageBreaks;mxGraph.prototype.updatePageBreaks=function(g,
+n,q){var k=this.useCssTransforms,p=this.view.scale,w=this.view.translate;k&&(this.view.scale=1,this.view.translate=new mxPoint(0,0),this.useCssTransforms=!1);d.apply(this,arguments);k&&(this.view.scale=p,this.view.translate=w,this.useCssTransforms=!0)}})();Graph.prototype.isLightboxView=function(){return this.lightbox};Graph.prototype.isViewer=function(){return!1};
+Graph.prototype.labelLinkClicked=function(a,b,e){var f=b.getAttribute("href");f!=Graph.sanitizeLink(f)&&Graph.sanitizeNode(b);if(null!=f&&!this.isCustomLink(f)&&(mxEvent.isLeftMouseButton(e)&&!mxEvent.isPopupTrigger(e)||mxEvent.isTouchEvent(e))){if(!this.isEnabled()||this.isCellLocked(a.cell))a=this.isBlankLink(f)?this.linkTarget:"_top",this.openLink(this.getAbsoluteUrl(f),a);mxEvent.consume(e)}};
+Graph.prototype.openLink=function(a,b,e){var f=window;try{if(a=Graph.sanitizeLink(a),null!=a)if("_self"==b&&window!=window.top)window.location.href=a;else if(a.substring(0,this.baseUrl.length)==this.baseUrl&&"#"==a.charAt(this.baseUrl.length)&&"_top"==b&&window==window.top){var h=a.split("#")[1];window.location.hash=="#"+h&&(window.location.hash="");window.location.hash=h}else f=window.open(a,null!=b?b:"_blank",e?null:"noopener,noreferrer"),null==f||e||(f.opener=null)}catch(d){}return f};
Graph.prototype.getLinkTitle=function(a){return a.substring(a.lastIndexOf("/")+1)};Graph.prototype.isCustomLink=function(a){return"data:"==a.substring(0,5)};Graph.prototype.customLinkClicked=function(a,b){return!1};Graph.prototype.isExternalProtocol=function(a){return"mailto:"===a.substring(0,7)};Graph.prototype.isBlankLink=function(a){return!this.isExternalProtocol(a)&&("blank"===this.linkPolicy||"self"!==this.linkPolicy&&!this.isRelativeUrl(a)&&a.substring(0,this.domainUrl.length)!==this.domainUrl)};
Graph.prototype.isRelativeUrl=function(a){return null!=a&&!this.absoluteUrlPattern.test(a)&&"data:"!==a.substring(0,5)&&!this.isExternalProtocol(a)};Graph.prototype.getAbsoluteUrl=function(a){null!=a&&this.isRelativeUrl(a)&&(a="#"==a.charAt(0)?this.baseUrl+a:"/"==a.charAt(0)?this.domainUrl+a:this.domainPathUrl+a);return a};
-Graph.prototype.initLayoutManager=function(){this.layoutManager=new mxLayoutManager(this);this.layoutManager.hasLayout=function(a){return null!=this.graph.getCellStyle(a).childLayout};this.layoutManager.getLayout=function(a,b){var d=this.graph.model.getParent(a);if(!this.graph.isCellCollapsed(a)&&(b!=mxEvent.BEGIN_UPDATE||this.hasLayout(d,b))){a=this.graph.getCellStyle(a);if("stackLayout"==a.childLayout)return b=new mxStackLayout(this.graph,!0),b.resizeParentMax="1"==mxUtils.getValue(a,"resizeParentMax",
+Graph.prototype.initLayoutManager=function(){this.layoutManager=new mxLayoutManager(this);this.layoutManager.hasLayout=function(a){return null!=this.graph.getCellStyle(a).childLayout};this.layoutManager.getLayout=function(a,b){var e=this.graph.model.getParent(a);if(!this.graph.isCellCollapsed(a)&&(b!=mxEvent.BEGIN_UPDATE||this.hasLayout(e,b))){a=this.graph.getCellStyle(a);if("stackLayout"==a.childLayout)return b=new mxStackLayout(this.graph,!0),b.resizeParentMax="1"==mxUtils.getValue(a,"resizeParentMax",
"1"),b.horizontal="1"==mxUtils.getValue(a,"horizontalStack","1"),b.resizeParent="1"==mxUtils.getValue(a,"resizeParent","1"),b.resizeLast="1"==mxUtils.getValue(a,"resizeLast","0"),b.spacing=a.stackSpacing||b.spacing,b.border=a.stackBorder||b.border,b.marginLeft=a.marginLeft||0,b.marginRight=a.marginRight||0,b.marginTop=a.marginTop||0,b.marginBottom=a.marginBottom||0,b.allowGaps=a.allowGaps||0,b.fill=!0,b.allowGaps&&(b.gridSize=parseFloat(mxUtils.getValue(a,"stackUnitSize",20))),b;if("treeLayout"==
a.childLayout)return b=new mxCompactTreeLayout(this.graph),b.horizontal="1"==mxUtils.getValue(a,"horizontalTree","1"),b.resizeParent="1"==mxUtils.getValue(a,"resizeParent","1"),b.sortEdges="1"==mxUtils.getValue(a,"sortEdges","0"),b.groupPadding=mxUtils.getValue(a,"parentPadding",20),b.levelDistance=mxUtils.getValue(a,"treeLevelDistance",30),b.maintainParentLocation=!0,b.edgeRouting=!1,b.resetEdges=!1,b;if("flowLayout"==a.childLayout)return b=new mxHierarchicalLayout(this.graph,mxUtils.getValue(a,
"flowOrientation",mxConstants.DIRECTION_EAST)),b.resizeParent="1"==mxUtils.getValue(a,"resizeParent","1"),b.parentBorder=mxUtils.getValue(a,"parentPadding",20),b.maintainParentLocation=!0,b.intraCellSpacing=mxUtils.getValue(a,"intraCellSpacing",mxHierarchicalLayout.prototype.intraCellSpacing),b.interRankCellSpacing=mxUtils.getValue(a,"interRankCellSpacing",mxHierarchicalLayout.prototype.interRankCellSpacing),b.interHierarchySpacing=mxUtils.getValue(a,"interHierarchySpacing",mxHierarchicalLayout.prototype.interHierarchySpacing),
-b.parallelEdgeSpacing=mxUtils.getValue(a,"parallelEdgeSpacing",mxHierarchicalLayout.prototype.parallelEdgeSpacing),b;if("circleLayout"==a.childLayout)return new mxCircleLayout(this.graph);if("organicLayout"==a.childLayout)return new mxFastOrganicLayout(this.graph);if("tableLayout"==a.childLayout)return new TableLayout(this.graph);if(null!=a.childLayout&&"["==String(a.childLayout).charAt(0))try{return new mxCompositeLayout(this.graph,this.graph.createLayouts(JSON.parse(a.childLayout)))}catch(e){null!=
-window.console&&console.error(e)}}return null}};
-Graph.prototype.createLayouts=function(a){for(var b=[],d=0;d<a.length;d++)if(0<=mxUtils.indexOf(Graph.layoutNames,a[d].layout)){var e="mxOrgChartLayout"==a[d].layout&&null!=a[d].config?new window[a[d].layout](this,a[d].config.branchOptimizer):new window[a[d].layout](this);if(null!=a[d].config)for(var g in a[d].config)if("mxOrgChartLayout"!=a[d].layout||"branchOptimizer"!=g)e[g]=a[d].config[g];b.push(e)}else throw Error(mxResources.get("invalidCallFnNotFound",[a[d].layout]));return b};
-Graph.prototype.getDataForCells=function(a,b){for(var d=[],e=0;e<a.length;e++){var g={};g.id=a[e].id;var f=null!=a[e].value?a[e].value.attributes:null;this.isReplacePlaceholders(a[e])&&b&&(g.value=this.getLabel(a[e]));if(null!=f)for(var h=0;h<f.length;h++)g[f[h].nodeName]=f[h].nodeValue;else g.label=this.convertValueToString(a[e]);d.push(g)}return d};
-Graph.prototype.getNodesForCells=function(a){for(var b=[],d=0;d<a.length;d++){var e=this.view.getState(a[d]);if(null!=e){for(var g=this.cellRenderer.getShapesForState(e),f=0;f<g.length;f++)null!=g[f]&&null!=g[f].node&&b.push(g[f].node);null!=e.control&&null!=e.control.node&&b.push(e.control.node)}}return b};
-Graph.prototype.createWipeAnimations=function(a,b){for(var d=[],e=0;e<a.length;e++){var g=this.view.getState(a[e]);null!=g&&null!=g.shape&&(this.model.isEdge(g.cell)&&null!=g.absolutePoints&&1<g.absolutePoints.length?d.push(this.createEdgeWipeAnimation(g,b)):this.model.isVertex(g.cell)&&null!=g.shape.bounds&&d.push(this.createVertexWipeAnimation(g,b)))}return d};
-Graph.prototype.createEdgeWipeAnimation=function(a,b){var d=a.absolutePoints.slice(),e=a.segments,g=a.length,f=d.length;return{execute:mxUtils.bind(this,function(h,n){if(null!=a.shape){var q=[d[0]];n=h/n;b||(n=1-n);for(var l=g*n,p=1;p<f;p++)if(l<=e[p-1]){q.push(new mxPoint(d[p-1].x+(d[p].x-d[p-1].x)*l/e[p-1],d[p-1].y+(d[p].y-d[p-1].y)*l/e[p-1]));break}else l-=e[p-1],q.push(d[p]);a.shape.points=q;a.shape.redraw();0==h&&Graph.setOpacityForNodes(this.getNodesForCells([a.cell]),1);null!=a.text&&null!=
-a.text.node&&(a.text.node.style.opacity=n)}}),stop:mxUtils.bind(this,function(){null!=a.shape&&(a.shape.points=d,a.shape.redraw(),null!=a.text&&null!=a.text.node&&(a.text.node.style.opacity=""),Graph.setOpacityForNodes(this.getNodesForCells([a.cell]),b?1:0))})}};
-Graph.prototype.createVertexWipeAnimation=function(a,b){var d=new mxRectangle.fromRectangle(a.shape.bounds);return{execute:mxUtils.bind(this,function(e,g){null!=a.shape&&(g=e/g,b||(g=1-g),a.shape.bounds=new mxRectangle(d.x,d.y,d.width*g,d.height),a.shape.redraw(),0==e&&Graph.setOpacityForNodes(this.getNodesForCells([a.cell]),1),null!=a.text&&null!=a.text.node&&(a.text.node.style.opacity=g))}),stop:mxUtils.bind(this,function(){null!=a.shape&&(a.shape.bounds=d,a.shape.redraw(),null!=a.text&&null!=a.text.node&&
-(a.text.node.style.opacity=""),Graph.setOpacityForNodes(this.getNodesForCells([a.cell]),b?1:0))})}};Graph.prototype.executeAnimations=function(a,b,d,e){d=null!=d?d:30;e=null!=e?e:30;var g=null,f=0,h=mxUtils.bind(this,function(){if(f==d||this.stoppingCustomActions){window.clearInterval(g);for(var n=0;n<a.length;n++)a[n].stop();null!=b&&b()}else for(n=0;n<a.length;n++)a[n].execute(f,d);f++});g=window.setInterval(h,e);h()};
+b.parallelEdgeSpacing=mxUtils.getValue(a,"parallelEdgeSpacing",mxHierarchicalLayout.prototype.parallelEdgeSpacing),b;if("circleLayout"==a.childLayout)return new mxCircleLayout(this.graph);if("organicLayout"==a.childLayout)return new mxFastOrganicLayout(this.graph);if("tableLayout"==a.childLayout)return new TableLayout(this.graph);if(null!=a.childLayout&&"["==String(a.childLayout).charAt(0))try{return new mxCompositeLayout(this.graph,this.graph.createLayouts(JSON.parse(a.childLayout)))}catch(f){null!=
+window.console&&console.error(f)}}return null}};
+Graph.prototype.createLayouts=function(a){for(var b=[],e=0;e<a.length;e++)if(0<=mxUtils.indexOf(Graph.layoutNames,a[e].layout)){var f="mxOrgChartLayout"==a[e].layout&&null!=a[e].config?new window[a[e].layout](this,a[e].config.branchOptimizer):new window[a[e].layout](this);if(null!=a[e].config)for(var h in a[e].config)if("mxOrgChartLayout"!=a[e].layout||"branchOptimizer"!=h)f[h]=a[e].config[h];b.push(f)}else throw Error(mxResources.get("invalidCallFnNotFound",[a[e].layout]));return b};
+Graph.prototype.getDataForCells=function(a,b){for(var e=[],f=0;f<a.length;f++){var h={};h.id=a[f].id;var d=null!=a[f].value?a[f].value.attributes:null;this.isReplacePlaceholders(a[f])&&b&&(h.value=this.getLabel(a[f]));if(null!=d)for(var g=0;g<d.length;g++)h[d[g].nodeName]=d[g].nodeValue;else h.label=this.convertValueToString(a[f]);e.push(h)}return e};
+Graph.prototype.getNodesForCells=function(a){for(var b=[],e=0;e<a.length;e++){var f=this.view.getState(a[e]);if(null!=f){for(var h=this.cellRenderer.getShapesForState(f),d=0;d<h.length;d++)null!=h[d]&&null!=h[d].node&&b.push(h[d].node);null!=f.control&&null!=f.control.node&&b.push(f.control.node)}}return b};
+Graph.prototype.createWipeAnimations=function(a,b){for(var e=[],f=0;f<a.length;f++){var h=this.view.getState(a[f]);null!=h&&null!=h.shape&&(this.model.isEdge(h.cell)&&null!=h.absolutePoints&&1<h.absolutePoints.length?e.push(this.createEdgeWipeAnimation(h,b)):this.model.isVertex(h.cell)&&null!=h.shape.bounds&&e.push(this.createVertexWipeAnimation(h,b)))}return e};
+Graph.prototype.createEdgeWipeAnimation=function(a,b){var e=a.absolutePoints.slice(),f=a.segments,h=a.length,d=e.length;return{execute:mxUtils.bind(this,function(g,n){if(null!=a.shape){var q=[e[0]];n=g/n;b||(n=1-n);for(var k=h*n,p=1;p<d;p++)if(k<=f[p-1]){q.push(new mxPoint(e[p-1].x+(e[p].x-e[p-1].x)*k/f[p-1],e[p-1].y+(e[p].y-e[p-1].y)*k/f[p-1]));break}else k-=f[p-1],q.push(e[p]);a.shape.points=q;a.shape.redraw();0==g&&Graph.setOpacityForNodes(this.getNodesForCells([a.cell]),1);null!=a.text&&null!=
+a.text.node&&(a.text.node.style.opacity=n)}}),stop:mxUtils.bind(this,function(){null!=a.shape&&(a.shape.points=e,a.shape.redraw(),null!=a.text&&null!=a.text.node&&(a.text.node.style.opacity=""),Graph.setOpacityForNodes(this.getNodesForCells([a.cell]),b?1:0))})}};
+Graph.prototype.createVertexWipeAnimation=function(a,b){var e=new mxRectangle.fromRectangle(a.shape.bounds);return{execute:mxUtils.bind(this,function(f,h){null!=a.shape&&(h=f/h,b||(h=1-h),a.shape.bounds=new mxRectangle(e.x,e.y,e.width*h,e.height),a.shape.redraw(),0==f&&Graph.setOpacityForNodes(this.getNodesForCells([a.cell]),1),null!=a.text&&null!=a.text.node&&(a.text.node.style.opacity=h))}),stop:mxUtils.bind(this,function(){null!=a.shape&&(a.shape.bounds=e,a.shape.redraw(),null!=a.text&&null!=a.text.node&&
+(a.text.node.style.opacity=""),Graph.setOpacityForNodes(this.getNodesForCells([a.cell]),b?1:0))})}};Graph.prototype.executeAnimations=function(a,b,e,f){e=null!=e?e:30;f=null!=f?f:30;var h=null,d=0,g=mxUtils.bind(this,function(){if(d==e||this.stoppingCustomActions){window.clearInterval(h);for(var n=0;n<a.length;n++)a[n].stop();null!=b&&b()}else for(n=0;n<a.length;n++)a[n].execute(d,e);d++});h=window.setInterval(g,f);g()};
Graph.prototype.getPageSize=function(){return this.pageVisible&&null!=this.pageFormat?new mxRectangle(0,0,this.pageFormat.width*this.pageScale,this.pageFormat.height*this.pageScale):this.scrollTileSize};
-Graph.prototype.getPageLayout=function(a,b,d){a=null!=a?a:this.getGraphBounds();b=null!=b?b:this.view.translate;d=null!=d?d:this.view.scale;var e=this.getPageSize();if(0==a.width||0==a.height)return new mxRectangle(0,0,1,1);var g=Math.floor(Math.ceil(a.x/d-b.x)/e.width),f=Math.floor(Math.ceil(a.y/d-b.y)/e.height);return new mxRectangle(g,f,Math.ceil((Math.floor((a.x+a.width)/d)-b.x)/e.width)-g,Math.ceil((Math.floor((a.y+a.height)/d)-b.y)/e.height)-f)};
-Graph.prototype.getDefaultTranslate=function(a){var b=this.getPagePadding(),d=this.getPageSize();return new mxPoint(b.x-a.x*d.width,b.y-a.y*d.height)};Graph.prototype.updateMinimumSize=function(){var a=this.getPageLayout(),b=this.getPagePadding(),d=this.getPageSize(),e=Math.ceil(2*b.x+a.width*d.width);a=Math.ceil(2*b.y+a.height*d.height);if(null==this.minimumGraphSize||this.minimumGraphSize.width!=e||this.minimumGraphSize.height!=a)this.minimumGraphSize=new mxRectangle(0,0,e,a)};
-Graph.prototype.sanitizeHtml=function(a,b){return Graph.sanitizeHtml(a,b)};Graph.prototype.updatePlaceholders=function(){var a=!1,b;for(b in this.model.cells){var d=this.model.cells[b];this.isReplacePlaceholders(d)&&(this.view.invalidate(d,!1,!1),a=!0)}a&&this.view.validate()};Graph.prototype.isReplacePlaceholders=function(a){return null!=a.value&&"object"==typeof a.value&&"1"==a.value.getAttribute("placeholders")};
+Graph.prototype.getPageLayout=function(a,b,e){a=null!=a?a:this.getGraphBounds();b=null!=b?b:this.view.translate;e=null!=e?e:this.view.scale;var f=this.getPageSize();if(0==a.width||0==a.height)return new mxRectangle(0,0,1,1);var h=Math.floor(Math.ceil(a.x/e-b.x)/f.width),d=Math.floor(Math.ceil(a.y/e-b.y)/f.height);return new mxRectangle(h,d,Math.ceil((Math.floor((a.x+a.width)/e)-b.x)/f.width)-h,Math.ceil((Math.floor((a.y+a.height)/e)-b.y)/f.height)-d)};
+Graph.prototype.getDefaultTranslate=function(a){var b=this.getPagePadding(),e=this.getPageSize();return new mxPoint(b.x-a.x*e.width,b.y-a.y*e.height)};Graph.prototype.updateMinimumSize=function(){var a=this.getPageLayout(),b=this.getPagePadding(),e=this.getPageSize(),f=Math.ceil(2*b.x+a.width*e.width);a=Math.ceil(2*b.y+a.height*e.height);if(null==this.minimumGraphSize||this.minimumGraphSize.width!=f||this.minimumGraphSize.height!=a)this.minimumGraphSize=new mxRectangle(0,0,f,a)};
+Graph.prototype.sanitizeHtml=function(a,b){return Graph.sanitizeHtml(a,b)};Graph.prototype.updatePlaceholders=function(){var a=!1,b;for(b in this.model.cells){var e=this.model.cells[b];this.isReplacePlaceholders(e)&&(this.view.invalidate(e,!1,!1),a=!0)}a&&this.view.validate()};Graph.prototype.isReplacePlaceholders=function(a){return null!=a.value&&"object"==typeof a.value&&"1"==a.value.getAttribute("placeholders")};
Graph.prototype.isZoomWheelEvent=function(a){return Graph.zoomWheel&&!mxEvent.isShiftDown(a)&&!mxEvent.isMetaDown(a)&&!mxEvent.isAltDown(a)&&(!mxEvent.isControlDown(a)||mxClient.IS_MAC)||!Graph.zoomWheel&&(mxEvent.isAltDown(a)||mxEvent.isControlDown(a))};Graph.prototype.isScrollWheelEvent=function(a){return!this.isZoomWheelEvent(a)};Graph.prototype.isTransparentClickEvent=function(a){return mxEvent.isAltDown(a)||mxClient.IS_CHROMEOS&&mxEvent.isShiftDown(a)};
Graph.prototype.isIgnoreTerminalEvent=function(a){return mxEvent.isAltDown(a)&&!mxEvent.isShiftDown(a)&&!mxEvent.isControlDown(a)&&!mxEvent.isMetaDown(a)};Graph.prototype.isEdgeIgnored=function(a){var b=!1;null!=a&&(a=this.getCurrentCellStyle(a),b="1"==mxUtils.getValue(a,"ignoreEdge","0"));return b};
-Graph.prototype.isSplitTarget=function(a,b,d){return!this.model.isEdge(b[0])&&!mxEvent.isAltDown(d)&&!mxEvent.isShiftDown(d)&&!this.isCellLocked(this.getLayerForCell(a))&&mxGraph.prototype.isSplitTarget.apply(this,arguments)};Graph.prototype.getLabel=function(a){var b=mxGraph.prototype.getLabel.apply(this,arguments);null!=b&&this.isReplacePlaceholders(a)&&null==a.getAttribute("placeholder")&&(b=this.replacePlaceholders(a,b));return b};
+Graph.prototype.isSplitTarget=function(a,b,e){return!this.model.isEdge(b[0])&&!mxEvent.isAltDown(e)&&!mxEvent.isShiftDown(e)&&!this.isCellLocked(this.getLayerForCell(a))&&mxGraph.prototype.isSplitTarget.apply(this,arguments)};Graph.prototype.getLabel=function(a){var b=mxGraph.prototype.getLabel.apply(this,arguments);null!=b&&this.isReplacePlaceholders(a)&&null==a.getAttribute("placeholder")&&(b=this.replacePlaceholders(a,b));return b};
Graph.prototype.isLabelMovable=function(a){var b=this.getCurrentCellStyle(a);return!this.isCellLocked(a)&&(this.model.isEdge(a)&&this.edgeLabelsMovable||this.model.isVertex(a)&&(this.vertexLabelsMovable||"1"==mxUtils.getValue(b,"labelMovable","0")))};Graph.prototype.setGridSize=function(a){this.gridSize=a;this.fireEvent(new mxEventObject("gridSizeChanged"))};Graph.prototype.setDefaultParent=function(a){this.defaultParent=a;this.fireEvent(new mxEventObject("defaultParentChanged"))};
Graph.prototype.getClickableLinkForCell=function(a){do{var b=this.getLinkForCell(a);if(null!=b)return b;a=this.model.getParent(a)}while(null!=a);return null};Graph.prototype.getGlobalVariable=function(a){var b=null;"date"==a?b=(new Date).toLocaleDateString():"time"==a?b=(new Date).toLocaleTimeString():"timestamp"==a?b=(new Date).toLocaleString():"date{"==a.substring(0,5)&&(a=a.substring(5,a.length-1),b=this.formatDate(new Date,a));return b};
-Graph.prototype.formatDate=function(a,b,d){null==this.dateFormatCache&&(this.dateFormatCache={i18n:{dayNames:"Sun Mon Tue Wed Thu Fri Sat Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),monthNames:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec January February March April May June July August September October November December".split(" ")},masks:{"default":"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",
-shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:ss",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'"}});var e=this.dateFormatCache,g=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,f=/[^-+\dA-Z]/g,h=function(K,I){K=String(K);for(I=I||2;K.length<I;)K="0"+K;return K};1!=arguments.length||"[object String]"!=Object.prototype.toString.call(a)||
-/\d/.test(a)||(b=a,a=void 0);a=a?new Date(a):new Date;if(isNaN(a))throw SyntaxError("invalid date");b=String(e.masks[b]||b||e.masks["default"]);"UTC:"==b.slice(0,4)&&(b=b.slice(4),d=!0);var n=d?"getUTC":"get",q=a[n+"Date"](),l=a[n+"Day"](),p=a[n+"Month"](),w=a[n+"FullYear"](),z=a[n+"Hours"](),C=a[n+"Minutes"](),F=a[n+"Seconds"]();n=a[n+"Milliseconds"]();var D=d?0:a.getTimezoneOffset(),G={d:q,dd:h(q),ddd:e.i18n.dayNames[l],dddd:e.i18n.dayNames[l+7],m:p+1,mm:h(p+1),mmm:e.i18n.monthNames[p],mmmm:e.i18n.monthNames[p+
-12],yy:String(w).slice(2),yyyy:w,h:z%12||12,hh:h(z%12||12),H:z,HH:h(z),M:C,MM:h(C),s:F,ss:h(F),l:h(n,3),L:h(99<n?Math.round(n/10):n),t:12>z?"a":"p",tt:12>z?"am":"pm",T:12>z?"A":"P",TT:12>z?"AM":"PM",Z:d?"UTC":(String(a).match(g)||[""]).pop().replace(f,""),o:(0<D?"-":"+")+h(100*Math.floor(Math.abs(D)/60)+Math.abs(D)%60,4),S:["th","st","nd","rd"][3<q%10?0:(10!=q%100-q%10)*q%10]};return b.replace(/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZ]|"[^"]*"|'[^']*'/g,function(K){return K in G?G[K]:K.slice(1,
-K.length-1)})};Graph.prototype.getLayerForCell=function(a){for(;null!=a&&!this.model.isLayer(a);)a=this.model.getParent(a);return a};Graph.prototype.getLayerForCells=function(a){var b=null;if(0<a.length){b=this.getLayerForCell(a[0]);for(var d=1;d<a.length;d++)if(!this.model.isAncestor(b,a[d])){b=null;break}}return b};
-Graph.prototype.createLayersDialog=function(a,b){var d=document.createElement("div");d.style.position="absolute";for(var e=this.getModel(),g=e.getChildCount(e.root),f=0;f<g;f++)mxUtils.bind(this,function(h){function n(){e.isVisible(h)?(p.setAttribute("src",Editor.visibleImage),mxUtils.setOpacity(l,75)):(p.setAttribute("src",Editor.hiddenImage),mxUtils.setOpacity(l,25))}var q=this.convertValueToString(h)||mxResources.get("background")||"Background",l=document.createElement("div");l.style.overflow=
-"hidden";l.style.textOverflow="ellipsis";l.style.padding="2px";l.style.whiteSpace="nowrap";l.style.cursor="pointer";l.setAttribute("title",mxResources.get(e.isVisible(h)?"hideIt":"show",[q]));var p=document.createElement("img");p.setAttribute("draggable","false");p.setAttribute("align","absmiddle");p.setAttribute("border","0");p.style.position="relative";p.style.width="16px";p.style.padding="0px 6px 0 4px";b&&(p.style.filter="invert(100%)",p.style.top="-2px");l.appendChild(p);mxUtils.write(l,q);d.appendChild(l);
-mxEvent.addListener(l,"click",function(){e.setVisible(h,!e.isVisible(h));n();null!=a&&a(h)});n()})(e.getChildAt(e.root,f));return d};
-Graph.prototype.replacePlaceholders=function(a,b,d,e){e=[];if(null!=b){for(var g=0;match=this.placeholderPattern.exec(b);){var f=match[0];if(2<f.length&&"%label%"!=f&&"%tooltip%"!=f){var h=null;if(match.index>g&&"%"==b.charAt(match.index-1))h=f.substring(1);else{var n=f.substring(1,f.length-1);if("id"==n)h=a.id;else if("width"==n&&this.model.isVertex(a)){var q=this.getCellGeometry(a);null!=q&&(h=q.width)}else if("height"==n&&this.model.isVertex(a))q=this.getCellGeometry(a),null!=q&&(h=q.height);else if("length"==
-n){for(q=a;null!=q&&!this.model.isEdge(q);)q=this.model.getParent(q);q=this.view.getState(q);null!=q&&(h=Math.round(q.length/this.view.scale))}else if(0>n.indexOf("{"))for(q=a;null==h&&null!=q;)null!=q.value&&"object"==typeof q.value&&(Graph.translateDiagram&&null!=Graph.diagramLanguage&&(h=q.getAttribute(n+"_"+Graph.diagramLanguage)),null==h&&(h=q.hasAttribute(n)?null!=q.getAttribute(n)?q.getAttribute(n):"":null)),q=this.model.getParent(q);null==h&&(h=this.getGlobalVariable(n));null==h&&null!=d&&
-(h=d[n])}e.push(b.substring(g,match.index)+(null!=h?h:f));g=match.index+f.length}}e.push(b.substring(g))}return e.join("")};Graph.prototype.restoreSelection=function(a){if(null!=a&&0<a.length){for(var b=[],d=0;d<a.length;d++){var e=this.model.getCell(a[d].id);null!=e&&b.push(e)}this.setSelectionCells(b)}else this.clearSelection()};
+Graph.prototype.formatDate=function(a,b,e){null==this.dateFormatCache&&(this.dateFormatCache={i18n:{dayNames:"Sun Mon Tue Wed Thu Fri Sat Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),monthNames:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec January February March April May June July August September October November December".split(" ")},masks:{"default":"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",
+shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:ss",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'"}});var f=this.dateFormatCache,h=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,d=/[^-+\dA-Z]/g,g=function(K,G){K=String(K);for(G=G||2;K.length<G;)K="0"+K;return K};1!=arguments.length||"[object String]"!=Object.prototype.toString.call(a)||
+/\d/.test(a)||(b=a,a=void 0);a=a?new Date(a):new Date;if(isNaN(a))throw SyntaxError("invalid date");b=String(f.masks[b]||b||f.masks["default"]);"UTC:"==b.slice(0,4)&&(b=b.slice(4),e=!0);var n=e?"getUTC":"get",q=a[n+"Date"](),k=a[n+"Day"](),p=a[n+"Month"](),w=a[n+"FullYear"](),z=a[n+"Hours"](),C=a[n+"Minutes"](),F=a[n+"Seconds"]();n=a[n+"Milliseconds"]();var D=e?0:a.getTimezoneOffset(),H={d:q,dd:g(q),ddd:f.i18n.dayNames[k],dddd:f.i18n.dayNames[k+7],m:p+1,mm:g(p+1),mmm:f.i18n.monthNames[p],mmmm:f.i18n.monthNames[p+
+12],yy:String(w).slice(2),yyyy:w,h:z%12||12,hh:g(z%12||12),H:z,HH:g(z),M:C,MM:g(C),s:F,ss:g(F),l:g(n,3),L:g(99<n?Math.round(n/10):n),t:12>z?"a":"p",tt:12>z?"am":"pm",T:12>z?"A":"P",TT:12>z?"AM":"PM",Z:e?"UTC":(String(a).match(h)||[""]).pop().replace(d,""),o:(0<D?"-":"+")+g(100*Math.floor(Math.abs(D)/60)+Math.abs(D)%60,4),S:["th","st","nd","rd"][3<q%10?0:(10!=q%100-q%10)*q%10]};return b.replace(/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZ]|"[^"]*"|'[^']*'/g,function(K){return K in H?H[K]:K.slice(1,
+K.length-1)})};Graph.prototype.getLayerForCell=function(a){for(;null!=a&&!this.model.isLayer(a);)a=this.model.getParent(a);return a};Graph.prototype.getLayerForCells=function(a){var b=null;if(0<a.length){b=this.getLayerForCell(a[0]);for(var e=1;e<a.length;e++)if(!this.model.isAncestor(b,a[e])){b=null;break}}return b};
+Graph.prototype.createLayersDialog=function(a,b){var e=document.createElement("div");e.style.position="absolute";for(var f=this.getModel(),h=f.getChildCount(f.root),d=0;d<h;d++)mxUtils.bind(this,function(g){function n(){f.isVisible(g)?(p.setAttribute("src",Editor.visibleImage),mxUtils.setOpacity(k,75)):(p.setAttribute("src",Editor.hiddenImage),mxUtils.setOpacity(k,25))}var q=this.convertValueToString(g)||mxResources.get("background")||"Background",k=document.createElement("div");k.style.overflow=
+"hidden";k.style.textOverflow="ellipsis";k.style.padding="2px";k.style.whiteSpace="nowrap";k.style.cursor="pointer";k.setAttribute("title",mxResources.get(f.isVisible(g)?"hideIt":"show",[q]));var p=document.createElement("img");p.setAttribute("draggable","false");p.setAttribute("align","absmiddle");p.setAttribute("border","0");p.style.position="relative";p.style.width="16px";p.style.padding="0px 6px 0 4px";b&&(p.style.filter="invert(100%)",p.style.top="-2px");k.appendChild(p);mxUtils.write(k,q);e.appendChild(k);
+mxEvent.addListener(k,"click",function(){f.setVisible(g,!f.isVisible(g));n();null!=a&&a(g)});n()})(f.getChildAt(f.root,d));return e};
+Graph.prototype.replacePlaceholders=function(a,b,e,f){f=[];if(null!=b){for(var h=0;match=this.placeholderPattern.exec(b);){var d=match[0];if(2<d.length&&"%label%"!=d&&"%tooltip%"!=d){var g=null;if(match.index>h&&"%"==b.charAt(match.index-1))g=d.substring(1);else{var n=d.substring(1,d.length-1);if("id"==n)g=a.id;else if("width"==n&&this.model.isVertex(a)){var q=this.getCellGeometry(a);null!=q&&(g=q.width)}else if("height"==n&&this.model.isVertex(a))q=this.getCellGeometry(a),null!=q&&(g=q.height);else if("length"==
+n){for(q=a;null!=q&&!this.model.isEdge(q);)q=this.model.getParent(q);q=this.view.getState(q);null!=q&&(g=Math.round(q.length/this.view.scale))}else if(0>n.indexOf("{"))for(q=a;null==g&&null!=q;)null!=q.value&&"object"==typeof q.value&&(Graph.translateDiagram&&null!=Graph.diagramLanguage&&(g=q.getAttribute(n+"_"+Graph.diagramLanguage)),null==g&&(g=q.hasAttribute(n)?null!=q.getAttribute(n)?q.getAttribute(n):"":null)),q=this.model.getParent(q);null==g&&(g=this.getGlobalVariable(n));null==g&&null!=e&&
+(g=e[n])}f.push(b.substring(h,match.index)+(null!=g?g:d));h=match.index+d.length}}f.push(b.substring(h))}return f.join("")};Graph.prototype.restoreSelection=function(a){if(null!=a&&0<a.length){for(var b=[],e=0;e<a.length;e++){var f=this.model.getCell(a[e].id);null!=f&&b.push(f)}this.setSelectionCells(b)}else this.clearSelection()};
Graph.prototype.selectCellForEvent=function(a,b){mxEvent.isShiftDown(b)&&!this.isSelectionEmpty()&&this.selectTableRange(this.getSelectionCell(),a)||mxGraph.prototype.selectCellForEvent.apply(this,arguments)};
-Graph.prototype.selectTableRange=function(a,b){var d=!1;if(this.isTableCell(a)&&this.isTableCell(b)){var e=this.model.getParent(a),g=this.model.getParent(e),f=this.model.getParent(b);if(g==this.model.getParent(f)){a=e.getIndex(a);e=g.getIndex(e);var h=f.getIndex(b),n=g.getIndex(f);f=Math.max(e,n);b=Math.min(a,h);a=Math.max(a,h);h=[];for(e=Math.min(e,n);e<=f;e++){n=this.model.getChildAt(g,e);for(var q=b;q<=a;q++)h.push(this.model.getChildAt(n,q))}0<h.length&&(1<h.length||1<this.getSelectionCount()||
-!this.isCellSelected(h[0]))&&(this.setSelectionCells(h),d=!0)}}return d};
-Graph.prototype.snapCellsToGrid=function(a,b){this.getModel().beginUpdate();try{for(var d=0;d<a.length;d++){var e=a[d],g=this.getCellGeometry(e);if(null!=g){g=g.clone();if(this.getModel().isVertex(e))g.x=Math.round(g.x/b)*b,g.y=Math.round(g.y/b)*b,g.width=Math.round(g.width/b)*b,g.height=Math.round(g.height/b)*b;else if(this.getModel().isEdge(e)&&null!=g.points)for(var f=0;f<g.points.length;f++)g.points[f].x=Math.round(g.points[f].x/b)*b,g.points[f].y=Math.round(g.points[f].y/b)*b;this.getModel().setGeometry(e,
-g)}}}finally{this.getModel().endUpdate()}};Graph.prototype.removeChildCells=function(a){this.model.beginUpdate();try{for(var b=this.model.getChildCount(a);0<=b;b--)this.model.remove(this.model.getChildAt(a,b))}finally{this.model.endUpdate()}};
-Graph.prototype.updateShapes=function(a,b,d){this.model.beginUpdate();try{var e=this.model.getStyle(a),g=d?this.stylesheet.getCellStyle(e,{},!1):null;null!=g&&null==g[mxConstants.STYLE_SHAPE]&&(this.model.isVertex(a)?g[mxConstants.STYLE_SHAPE]=this.stylesheet.getDefaultVertexStyle()[mxConstants.STYLE_SHAPE]:this.model.isEdge(a)&&(g[mxConstants.STYLE_SHAPE]=this.stylesheet.getDefaultEdgeStyle()[mxConstants.STYLE_SHAPE]));for(var f=0;f<b.length;f++){if(this.model.isVertex(a)&&this.model.isVertex(b[f])||
-this.model.isEdge(a)&&this.model.isEdge(b[f]))if(d){var h=this.model.getStyle(b[f]);if(null!=h){var n=h.split(";");0<n.length&&0>n[0].indexOf("=")&&(n=n.slice(1));this.model.setStyle(b[f],n.join(";"))}this.setCellStyles(mxConstants.STYLE_PERIMETER,null,[b[f]]);this.setCellStyles("points",null,[b[f]]);this.pasteStyle(g,[b[f]],null,!0)}else g=this.copyStyle(b[f]),this.model.setStyle(b[f],e),this.pasteStyle(g,[b[f]]);"1"==mxUtils.getValue(this.getCellStyle(b[f],!1),"composite","0")&&this.removeChildCells(b[f])}}finally{this.model.endUpdate()}};
-Graph.prototype.selectCellsForConnectVertex=function(a,b,d){2==a.length&&this.model.isVertex(a[1])?(this.setSelectionCell(a[1]),this.scrollCellToVisible(a[1]),null!=d&&(mxEvent.isTouchEvent(b)?d.update(d.getState(this.view.getState(a[1]))):d.reset())):this.setSelectionCells(a)};Graph.prototype.isCloneConnectSource=function(a){var b=null;null!=this.layoutManager&&(b=this.layoutManager.getLayout(this.model.getParent(a)));return this.isTableRow(a)||this.isTableCell(a)||null!=b&&b.constructor==mxStackLayout};
-Graph.prototype.insertEdgeBeforeCell=function(a,b){for(var d=b;null!=d.parent&&null!=d.geometry&&d.geometry.relative&&d.parent!=a.parent;)d=this.model.getParent(d);null!=d&&null!=d.parent&&d.parent==a.parent&&(b=d.parent.getIndex(d),this.model.add(d.parent,a,b))};
-Graph.prototype.connectVertex=function(a,b,d,e,g,f,h,n){f=f?f:!1;if(a.geometry.relative&&this.model.isEdge(a.parent))return[];for(;a.geometry.relative&&this.model.isVertex(a.parent);)a=a.parent;var q=this.isCloneConnectSource(a),l=q?a:this.getCompositeParent(a),p=a.geometry.relative&&null!=a.parent.geometry?new mxPoint(a.parent.geometry.width*a.geometry.x,a.parent.geometry.height*a.geometry.y):new mxPoint(l.geometry.x,l.geometry.y);b==mxConstants.DIRECTION_NORTH?(p.x+=l.geometry.width/2,p.y-=d):b==
-mxConstants.DIRECTION_SOUTH?(p.x+=l.geometry.width/2,p.y+=l.geometry.height+d):(p.x=b==mxConstants.DIRECTION_WEST?p.x-d:p.x+(l.geometry.width+d),p.y+=l.geometry.height/2);var w=this.view.getState(this.model.getParent(a));d=this.view.scale;var z=this.view.translate;l=z.x*d;z=z.y*d;null!=w&&this.model.isVertex(w.cell)&&(l=w.x,z=w.y);this.model.isVertex(a.parent)&&a.geometry.relative&&(p.x+=a.parent.geometry.x,p.y+=a.parent.geometry.y);f=f?null:(new mxRectangle(l+p.x*d,z+p.y*d)).grow(40*d);f=null!=f?
-this.getCells(0,0,0,0,null,null,f,null,!0):null;w=this.view.getState(a);var C=null,F=null;if(null!=f){f=f.reverse();for(var D=0;D<f.length;D++)if(!this.isCellLocked(f[D])&&!this.model.isEdge(f[D])&&f[D]!=a)if(!this.model.isAncestor(a,f[D])&&this.isContainer(f[D])&&(null==C||f[D]==this.model.getParent(a)))C=f[D];else if(null==F&&this.isCellConnectable(f[D])&&!this.model.isAncestor(f[D],a)&&!this.isSwimlane(f[D])){var G=this.view.getState(f[D]);null==w||null==G||mxUtils.intersects(w,G)||(F=f[D])}}var K=
-!mxEvent.isShiftDown(e)||mxEvent.isControlDown(e)||g;K&&("1"!=urlParams.sketch||g)&&(b==mxConstants.DIRECTION_NORTH?p.y-=a.geometry.height/2:b==mxConstants.DIRECTION_SOUTH?p.y+=a.geometry.height/2:p.x=b==mxConstants.DIRECTION_WEST?p.x-a.geometry.width/2:p.x+a.geometry.width/2);var I=[],O=F;F=C;g=mxUtils.bind(this,function(H){if(null==h||null!=H||null==F&&q){this.model.beginUpdate();try{if(null==O&&K){var Z=this.getAbsoluteParent(null!=H?H:a);Z=q?a:this.getCompositeParent(Z);O=null!=H?H:this.duplicateCells([Z],
-!1)[0];null!=H&&this.addCells([O],this.model.getParent(a),null,null,null,!0);var S=this.getCellGeometry(O);null!=S&&(null!=H&&"1"==urlParams.sketch&&(b==mxConstants.DIRECTION_NORTH?p.y-=S.height/2:b==mxConstants.DIRECTION_SOUTH?p.y+=S.height/2:p.x=b==mxConstants.DIRECTION_WEST?p.x-S.width/2:p.x+S.width/2),S.x=p.x-S.width/2,S.y=p.y-S.height/2);null!=C?(this.addCells([O],C,null,null,null,!0),F=null):K&&!q&&this.addCells([O],this.getDefaultParent(),null,null,null,!0)}var X=mxEvent.isControlDown(e)&&
-mxEvent.isShiftDown(e)&&K||null==F&&q?null:this.insertEdge(this.model.getParent(a),null,"",a,O,this.createCurrentEdgeStyle());null!=X&&(I.push(X),this.applyNewEdgeStyle(a,[X],b),this.connectionHandler.insertBeforeSource&&this.insertEdgeBeforeCell(X,a));if(null==F&&null!=O&&null!=a.parent&&q&&b==mxConstants.DIRECTION_WEST){var Y=a.parent.getIndex(a);this.model.add(a.parent,O,Y)}null==F&&null!=O&&I.push(O);null==O&&null!=X&&X.geometry.setTerminalPoint(p,!1);null!=X&&this.fireEvent(new mxEventObject("cellsInserted",
-"cells",[X]))}finally{this.model.endUpdate()}}if(null!=n)n(I);else return I});if(null==h||null!=O||!K||null==F&&q)return g(O);h(l+p.x*d,z+p.y*d,g)};
-Graph.prototype.getIndexableText=function(a){a=null!=a?a:this.model.getDescendants(this.model.root);for(var b=document.createElement("div"),d=[],e,g=0;g<a.length;g++)if(e=a[g],this.model.isVertex(e)||this.model.isEdge(e))this.isHtmlLabel(e)?(b.innerHTML=Graph.sanitizeHtml(this.getLabel(e)),e=mxUtils.extractTextWithWhitespace([b])):e=this.getLabel(e),e=mxUtils.trim(e.replace(/[\x00-\x1F\x7F-\x9F]|\s+/g," ")),0<e.length&&d.push(e);return d.join(" ")};
-Graph.prototype.convertValueToString=function(a){var b=this.model.getValue(a);if(null!=b&&"object"==typeof b){var d=null;if(this.isReplacePlaceholders(a)&&null!=a.getAttribute("placeholder")){b=a.getAttribute("placeholder");for(var e=a;null==d&&null!=e;)null!=e.value&&"object"==typeof e.value&&(d=e.hasAttribute(b)?null!=e.getAttribute(b)?e.getAttribute(b):"":null),e=this.model.getParent(e)}else d=null,Graph.translateDiagram&&null!=Graph.diagramLanguage&&(d=b.getAttribute("label_"+Graph.diagramLanguage)),
-null==d&&(d=b.getAttribute("label")||"");return d||""}return mxGraph.prototype.convertValueToString.apply(this,arguments)};Graph.prototype.getLinksForState=function(a){return null!=a&&null!=a.text&&null!=a.text.node?a.text.node.getElementsByTagName("a"):null};Graph.prototype.getLinkForCell=function(a,b){return null!=a.value&&"object"==typeof a.value?(a=a.value.getAttribute("link"),b||(a=mxUtils.removeJavascriptProtocol(a)),a):null};
+Graph.prototype.selectTableRange=function(a,b){var e=!1;if(this.isTableCell(a)&&this.isTableCell(b)){var f=this.model.getParent(a),h=this.model.getParent(f),d=this.model.getParent(b);if(h==this.model.getParent(d)){a=f.getIndex(a);f=h.getIndex(f);var g=d.getIndex(b),n=h.getIndex(d);d=Math.max(f,n);b=Math.min(a,g);a=Math.max(a,g);g=[];for(f=Math.min(f,n);f<=d;f++){n=this.model.getChildAt(h,f);for(var q=b;q<=a;q++)g.push(this.model.getChildAt(n,q))}0<g.length&&(1<g.length||1<this.getSelectionCount()||
+!this.isCellSelected(g[0]))&&(this.setSelectionCells(g),e=!0)}}return e};
+Graph.prototype.snapCellsToGrid=function(a,b){this.getModel().beginUpdate();try{for(var e=0;e<a.length;e++){var f=a[e],h=this.getCellGeometry(f);if(null!=h){h=h.clone();if(this.getModel().isVertex(f))h.x=Math.round(h.x/b)*b,h.y=Math.round(h.y/b)*b,h.width=Math.round(h.width/b)*b,h.height=Math.round(h.height/b)*b;else if(this.getModel().isEdge(f)&&null!=h.points)for(var d=0;d<h.points.length;d++)h.points[d].x=Math.round(h.points[d].x/b)*b,h.points[d].y=Math.round(h.points[d].y/b)*b;this.getModel().setGeometry(f,
+h)}}}finally{this.getModel().endUpdate()}};Graph.prototype.removeChildCells=function(a){this.model.beginUpdate();try{for(var b=this.model.getChildCount(a);0<=b;b--)this.model.remove(this.model.getChildAt(a,b))}finally{this.model.endUpdate()}};
+Graph.prototype.updateShapes=function(a,b,e){this.model.beginUpdate();try{var f=this.model.getStyle(a),h=e?this.stylesheet.getCellStyle(f,{},!1):null;null!=h&&null==h[mxConstants.STYLE_SHAPE]&&(this.model.isVertex(a)?h[mxConstants.STYLE_SHAPE]=this.stylesheet.getDefaultVertexStyle()[mxConstants.STYLE_SHAPE]:this.model.isEdge(a)&&(h[mxConstants.STYLE_SHAPE]=this.stylesheet.getDefaultEdgeStyle()[mxConstants.STYLE_SHAPE]));for(var d=0;d<b.length;d++){if(this.model.isVertex(a)&&this.model.isVertex(b[d])||
+this.model.isEdge(a)&&this.model.isEdge(b[d]))if(e){var g=this.model.getStyle(b[d]);if(null!=g){var n=g.split(";");0<n.length&&0>n[0].indexOf("=")&&(n=n.slice(1));this.model.setStyle(b[d],n.join(";"))}this.setCellStyles(mxConstants.STYLE_PERIMETER,null,[b[d]]);this.setCellStyles("points",null,[b[d]]);this.pasteStyle(h,[b[d]],null,!0)}else h=this.copyStyle(b[d]),this.model.setStyle(b[d],f),this.pasteStyle(h,[b[d]]);"1"==mxUtils.getValue(this.getCellStyle(b[d],!1),"composite","0")&&this.removeChildCells(b[d])}}finally{this.model.endUpdate()}};
+Graph.prototype.selectCellsForConnectVertex=function(a,b,e){2==a.length&&this.model.isVertex(a[1])?(this.setSelectionCell(a[1]),this.scrollCellToVisible(a[1]),null!=e&&(mxEvent.isTouchEvent(b)?e.update(e.getState(this.view.getState(a[1]))):e.reset())):this.setSelectionCells(a)};Graph.prototype.isCloneConnectSource=function(a){var b=null;null!=this.layoutManager&&(b=this.layoutManager.getLayout(this.model.getParent(a)));return this.isTableRow(a)||this.isTableCell(a)||null!=b&&b.constructor==mxStackLayout};
+Graph.prototype.insertEdgeBeforeCell=function(a,b){for(var e=b;null!=e.parent&&null!=e.geometry&&e.geometry.relative&&e.parent!=a.parent;)e=this.model.getParent(e);null!=e&&null!=e.parent&&e.parent==a.parent&&(b=e.parent.getIndex(e),this.model.add(e.parent,a,b))};
+Graph.prototype.connectVertex=function(a,b,e,f,h,d,g,n){d=d?d:!1;if(a.geometry.relative&&this.model.isEdge(a.parent))return[];for(;a.geometry.relative&&this.model.isVertex(a.parent);)a=a.parent;var q=this.isCloneConnectSource(a),k=q?a:this.getCompositeParent(a),p=a.geometry.relative&&null!=a.parent.geometry?new mxPoint(a.parent.geometry.width*a.geometry.x,a.parent.geometry.height*a.geometry.y):new mxPoint(k.geometry.x,k.geometry.y);b==mxConstants.DIRECTION_NORTH?(p.x+=k.geometry.width/2,p.y-=e):b==
+mxConstants.DIRECTION_SOUTH?(p.x+=k.geometry.width/2,p.y+=k.geometry.height+e):(p.x=b==mxConstants.DIRECTION_WEST?p.x-e:p.x+(k.geometry.width+e),p.y+=k.geometry.height/2);var w=this.view.getState(this.model.getParent(a));e=this.view.scale;var z=this.view.translate;k=z.x*e;z=z.y*e;null!=w&&this.model.isVertex(w.cell)&&(k=w.x,z=w.y);this.model.isVertex(a.parent)&&a.geometry.relative&&(p.x+=a.parent.geometry.x,p.y+=a.parent.geometry.y);d=d?null:(new mxRectangle(k+p.x*e,z+p.y*e)).grow(40*e);d=null!=d?
+this.getCells(0,0,0,0,null,null,d,null,!0):null;w=this.view.getState(a);var C=null,F=null;if(null!=d){d=d.reverse();for(var D=0;D<d.length;D++)if(!this.isCellLocked(d[D])&&!this.model.isEdge(d[D])&&d[D]!=a)if(!this.model.isAncestor(a,d[D])&&this.isContainer(d[D])&&(null==C||d[D]==this.model.getParent(a)))C=d[D];else if(null==F&&this.isCellConnectable(d[D])&&!this.model.isAncestor(d[D],a)&&!this.isSwimlane(d[D])){var H=this.view.getState(d[D]);null==w||null==H||mxUtils.intersects(w,H)||(F=d[D])}}var K=
+!mxEvent.isShiftDown(f)||mxEvent.isControlDown(f)||h;K&&("1"!=urlParams.sketch||h)&&(b==mxConstants.DIRECTION_NORTH?p.y-=a.geometry.height/2:b==mxConstants.DIRECTION_SOUTH?p.y+=a.geometry.height/2:p.x=b==mxConstants.DIRECTION_WEST?p.x-a.geometry.width/2:p.x+a.geometry.width/2);var G=[],P=F;F=C;h=mxUtils.bind(this,function(I){if(null==g||null!=I||null==F&&q){this.model.beginUpdate();try{if(null==P&&K){var Z=this.getAbsoluteParent(null!=I?I:a);Z=q?a:this.getCompositeParent(Z);P=null!=I?I:this.duplicateCells([Z],
+!1)[0];null!=I&&this.addCells([P],this.model.getParent(a),null,null,null,!0);var S=this.getCellGeometry(P);null!=S&&(null!=I&&"1"==urlParams.sketch&&(b==mxConstants.DIRECTION_NORTH?p.y-=S.height/2:b==mxConstants.DIRECTION_SOUTH?p.y+=S.height/2:p.x=b==mxConstants.DIRECTION_WEST?p.x-S.width/2:p.x+S.width/2),S.x=p.x-S.width/2,S.y=p.y-S.height/2);null!=C?(this.addCells([P],C,null,null,null,!0),F=null):K&&!q&&this.addCells([P],this.getDefaultParent(),null,null,null,!0)}var Y=mxEvent.isControlDown(f)&&
+mxEvent.isShiftDown(f)&&K||null==F&&q?null:this.insertEdge(this.model.getParent(a),null,"",a,P,this.createCurrentEdgeStyle());null!=Y&&(G.push(Y),this.applyNewEdgeStyle(a,[Y],b),this.connectionHandler.insertBeforeSource&&this.insertEdgeBeforeCell(Y,a));if(null==F&&null!=P&&null!=a.parent&&q&&b==mxConstants.DIRECTION_WEST){var V=a.parent.getIndex(a);this.model.add(a.parent,P,V)}null==F&&null!=P&&G.push(P);null==P&&null!=Y&&Y.geometry.setTerminalPoint(p,!1);null!=Y&&this.fireEvent(new mxEventObject("cellsInserted",
+"cells",[Y]))}finally{this.model.endUpdate()}}if(null!=n)n(G);else return G});if(null==g||null!=P||!K||null==F&&q)return h(P);g(k+p.x*e,z+p.y*e,h)};
+Graph.prototype.getIndexableText=function(a){a=null!=a?a:this.model.getDescendants(this.model.root);for(var b=document.createElement("div"),e=[],f,h=0;h<a.length;h++)if(f=a[h],this.model.isVertex(f)||this.model.isEdge(f))this.isHtmlLabel(f)?(b.innerHTML=Graph.sanitizeHtml(this.getLabel(f)),f=mxUtils.extractTextWithWhitespace([b])):f=this.getLabel(f),f=mxUtils.trim(f.replace(/[\x00-\x1F\x7F-\x9F]|\s+/g," ")),0<f.length&&e.push(f);return e.join(" ")};
+Graph.prototype.convertValueToString=function(a){var b=this.model.getValue(a);if(null!=b&&"object"==typeof b){var e=null;if(this.isReplacePlaceholders(a)&&null!=a.getAttribute("placeholder")){b=a.getAttribute("placeholder");for(var f=a;null==e&&null!=f;)null!=f.value&&"object"==typeof f.value&&(e=f.hasAttribute(b)?null!=f.getAttribute(b)?f.getAttribute(b):"":null),f=this.model.getParent(f)}else e=null,Graph.translateDiagram&&null!=Graph.diagramLanguage&&(e=b.getAttribute("label_"+Graph.diagramLanguage)),
+null==e&&(e=b.getAttribute("label")||"");return e||""}return mxGraph.prototype.convertValueToString.apply(this,arguments)};Graph.prototype.getLinksForState=function(a){return null!=a&&null!=a.text&&null!=a.text.node?a.text.node.getElementsByTagName("a"):null};Graph.prototype.getLinkForCell=function(a,b){return null!=a.value&&"object"==typeof a.value?(a=a.value.getAttribute("link"),b||(a=mxUtils.removeJavascriptProtocol(a)),a):null};
Graph.prototype.getLinkTargetForCell=function(a){return null!=a.value&&"object"==typeof a.value?a.value.getAttribute("linkTarget"):null};Graph.prototype.postProcessCellStyle=function(a,b){return this.updateHorizontalStyle(a,this.replaceDefaultColors(a,mxGraph.prototype.postProcessCellStyle.apply(this,arguments)))};
-Graph.prototype.updateHorizontalStyle=function(a,b){if(null!=a&&null!=b&&null!=this.layoutManager){var d=this.model.getParent(a);this.model.isVertex(d)&&this.isCellCollapsed(a)&&(a=this.layoutManager.getLayout(d),null!=a&&a.constructor==mxStackLayout&&(b[mxConstants.STYLE_HORIZONTAL]=!a.horizontal))}return b};
-Graph.prototype.replaceDefaultColors=function(a,b){if(null!=b){a=mxUtils.hex2rgb(this.shapeBackgroundColor);var d=mxUtils.hex2rgb(this.shapeForegroundColor);this.replaceDefaultColor(b,mxConstants.STYLE_FONTCOLOR,d,a);this.replaceDefaultColor(b,mxConstants.STYLE_FILLCOLOR,a,d);this.replaceDefaultColor(b,mxConstants.STYLE_GRADIENTCOLOR,d,a);this.replaceDefaultColor(b,mxConstants.STYLE_STROKECOLOR,d,a);this.replaceDefaultColor(b,mxConstants.STYLE_IMAGE_BORDER,d,a);this.replaceDefaultColor(b,mxConstants.STYLE_IMAGE_BACKGROUND,
-a,d);this.replaceDefaultColor(b,mxConstants.STYLE_LABEL_BORDERCOLOR,d,a);this.replaceDefaultColor(b,mxConstants.STYLE_SWIMLANE_FILLCOLOR,a,d);this.replaceDefaultColor(b,mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,a,d)}return b};Graph.prototype.replaceDefaultColor=function(a,b,d,e){null!=a&&"default"==a[b]&&null!=d&&(a[b]=this.getDefaultColor(a,b,d,e))};Graph.prototype.getDefaultColor=function(a,b,d,e){b="default"+b.charAt(0).toUpperCase()+b.substring(1);"invert"==a[b]&&(d=e);return d};
-Graph.prototype.updateAlternateBounds=function(a,b,d){if(null!=a&&null!=b&&null!=this.layoutManager&&null!=b.alternateBounds){var e=this.layoutManager.getLayout(this.model.getParent(a));null!=e&&e.constructor==mxStackLayout&&(e.horizontal?b.alternateBounds.height=0:b.alternateBounds.width=0)}mxGraph.prototype.updateAlternateBounds.apply(this,arguments)};Graph.prototype.isMoveCellsEvent=function(a,b){return mxEvent.isShiftDown(a)||"1"==mxUtils.getValue(b.style,"moveCells","0")};
-Graph.prototype.foldCells=function(a,b,d,e,g){b=null!=b?b:!1;null==d&&(d=this.getFoldableCells(this.getSelectionCells(),a));if(null!=d){this.model.beginUpdate();try{if(mxGraph.prototype.foldCells.apply(this,arguments),null!=this.layoutManager)for(var f=0;f<d.length;f++){var h=this.view.getState(d[f]),n=this.getCellGeometry(d[f]);if(null!=h&&null!=n){var q=0,l=0;if(n.alternateBounds)q=n.width-n.alternateBounds.width,l=n.height-n.alternateBounds.height;else{var p=this.useCssTransforms?1:this.view.scale;
-q=Math.round(n.width-h.width/p);l=Math.round(n.height-h.height/p)}if(0!=l||0!=q){var w=this.model.getParent(d[f]),z=this.layoutManager.getLayout(w);null==z?null!=g&&this.isMoveCellsEvent(g,h)&&this.moveSiblings(h,w,q,l):null!=g&&mxEvent.isAltDown(g)||z.constructor!=mxStackLayout||z.resizeLast||this.resizeParentStacks(w,z,q,l)}}}}finally{this.model.endUpdate()}this.isEnabled()&&this.setSelectionCells(d)}};
-Graph.prototype.moveSiblings=function(a,b,d,e){this.model.beginUpdate();try{var g=this.getCellsBeyond(a.x,a.y,b,!0,!0);for(b=0;b<g.length;b++)if(g[b]!=a.cell){var f=this.view.getState(g[b]),h=this.getCellGeometry(g[b]);null!=f&&null!=h&&(h=h.clone(),h.translate(Math.round(d*Math.max(0,Math.min(1,(f.x-a.x)/a.width))),Math.round(e*Math.max(0,Math.min(1,(f.y-a.y)/a.height)))),this.model.setGeometry(g[b],h))}}finally{this.model.endUpdate()}};
-Graph.prototype.resizeParentStacks=function(a,b,d,e){if(null!=this.layoutManager&&null!=b&&b.constructor==mxStackLayout&&!b.resizeLast){this.model.beginUpdate();try{for(var g=b.horizontal;null!=a&&null!=b&&b.constructor==mxStackLayout&&b.horizontal==g&&!b.resizeLast;){var f=this.getCellGeometry(a),h=this.view.getState(a);null!=h&&null!=f&&(f=f.clone(),b.horizontal?f.width+=d+Math.min(0,h.width/this.view.scale-f.width):f.height+=e+Math.min(0,h.height/this.view.scale-f.height),this.model.setGeometry(a,
-f));a=this.model.getParent(a);b=this.layoutManager.getLayout(a)}}finally{this.model.endUpdate()}}};Graph.prototype.isContainer=function(a){var b=this.getCurrentCellStyle(a);return this.isSwimlane(a)?"0"!=b.container:"1"==b.container};Graph.prototype.isCellConnectable=function(a){var b=this.getCurrentCellStyle(a);return!this.isCellLocked(this.getLayerForCell(a))&&(null!=b.connectable?"0"!=b.connectable:mxGraph.prototype.isCellConnectable.apply(this,arguments))};
-Graph.prototype.isLabelMovable=function(a){var b=this.getCurrentCellStyle(a);return null!=b.movableLabel?"0"!=b.movableLabel:mxGraph.prototype.isLabelMovable.apply(this,arguments)};Graph.prototype.selectAll=function(a){a=a||this.getDefaultParent();this.isCellLocked(a)||mxGraph.prototype.selectAll.apply(this,arguments)};Graph.prototype.selectCells=function(a,b,d){d=d||this.getDefaultParent();this.isCellLocked(d)||mxGraph.prototype.selectCells.apply(this,arguments)};
-Graph.prototype.getSwimlaneAt=function(a,b,d){var e=mxGraph.prototype.getSwimlaneAt.apply(this,arguments);this.isCellLocked(e)&&(e=null);return e};Graph.prototype.isCellFoldable=function(a){var b=this.getCurrentCellStyle(a);return this.foldingEnabled&&"0"!=mxUtils.getValue(b,mxConstants.STYLE_RESIZABLE,"1")&&("1"==b.treeFolding||!this.isCellLocked(a)&&(this.isContainer(a)&&"0"!=b.collapsible||!this.isContainer(a)&&"1"==b.collapsible))};
+Graph.prototype.updateHorizontalStyle=function(a,b){if(null!=a&&null!=b&&null!=this.layoutManager){var e=this.model.getParent(a);this.model.isVertex(e)&&this.isCellCollapsed(a)&&(a=this.layoutManager.getLayout(e),null!=a&&a.constructor==mxStackLayout&&(b[mxConstants.STYLE_HORIZONTAL]=!a.horizontal))}return b};
+Graph.prototype.replaceDefaultColors=function(a,b){if(null!=b){a=mxUtils.hex2rgb(this.shapeBackgroundColor);var e=mxUtils.hex2rgb(this.shapeForegroundColor);this.replaceDefaultColor(b,mxConstants.STYLE_FONTCOLOR,e,a);this.replaceDefaultColor(b,mxConstants.STYLE_FILLCOLOR,a,e);this.replaceDefaultColor(b,mxConstants.STYLE_GRADIENTCOLOR,e,a);this.replaceDefaultColor(b,mxConstants.STYLE_STROKECOLOR,e,a);this.replaceDefaultColor(b,mxConstants.STYLE_IMAGE_BORDER,e,a);this.replaceDefaultColor(b,mxConstants.STYLE_IMAGE_BACKGROUND,
+a,e);this.replaceDefaultColor(b,mxConstants.STYLE_LABEL_BORDERCOLOR,e,a);this.replaceDefaultColor(b,mxConstants.STYLE_SWIMLANE_FILLCOLOR,a,e);this.replaceDefaultColor(b,mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,a,e)}return b};Graph.prototype.replaceDefaultColor=function(a,b,e,f){null!=a&&"default"==a[b]&&null!=e&&(a[b]=this.getDefaultColor(a,b,e,f))};Graph.prototype.getDefaultColor=function(a,b,e,f){b="default"+b.charAt(0).toUpperCase()+b.substring(1);"invert"==a[b]&&(e=f);return e};
+Graph.prototype.updateAlternateBounds=function(a,b,e){if(null!=a&&null!=b&&null!=this.layoutManager&&null!=b.alternateBounds){var f=this.layoutManager.getLayout(this.model.getParent(a));null!=f&&f.constructor==mxStackLayout&&(f.horizontal?b.alternateBounds.height=0:b.alternateBounds.width=0)}mxGraph.prototype.updateAlternateBounds.apply(this,arguments)};Graph.prototype.isMoveCellsEvent=function(a,b){return mxEvent.isShiftDown(a)||"1"==mxUtils.getValue(b.style,"moveCells","0")};
+Graph.prototype.foldCells=function(a,b,e,f,h){b=null!=b?b:!1;null==e&&(e=this.getFoldableCells(this.getSelectionCells(),a));if(null!=e){this.model.beginUpdate();try{if(mxGraph.prototype.foldCells.apply(this,arguments),null!=this.layoutManager)for(var d=0;d<e.length;d++){var g=this.view.getState(e[d]),n=this.getCellGeometry(e[d]);if(null!=g&&null!=n){var q=0,k=0;if(n.alternateBounds)q=n.width-n.alternateBounds.width,k=n.height-n.alternateBounds.height;else{var p=this.useCssTransforms?1:this.view.scale;
+q=Math.round(n.width-g.width/p);k=Math.round(n.height-g.height/p)}if(0!=k||0!=q){var w=this.model.getParent(e[d]),z=this.layoutManager.getLayout(w);null==z?null!=h&&this.isMoveCellsEvent(h,g)&&this.moveSiblings(g,w,q,k):null!=h&&mxEvent.isAltDown(h)||z.constructor!=mxStackLayout||z.resizeLast||this.resizeParentStacks(w,z,q,k)}}}}finally{this.model.endUpdate()}this.isEnabled()&&this.setSelectionCells(e)}};
+Graph.prototype.moveSiblings=function(a,b,e,f){this.model.beginUpdate();try{var h=this.getCellsBeyond(a.x,a.y,b,!0,!0);for(b=0;b<h.length;b++)if(h[b]!=a.cell){var d=this.view.getState(h[b]),g=this.getCellGeometry(h[b]);null!=d&&null!=g&&(g=g.clone(),g.translate(Math.round(e*Math.max(0,Math.min(1,(d.x-a.x)/a.width))),Math.round(f*Math.max(0,Math.min(1,(d.y-a.y)/a.height)))),this.model.setGeometry(h[b],g))}}finally{this.model.endUpdate()}};
+Graph.prototype.resizeParentStacks=function(a,b,e,f){if(null!=this.layoutManager&&null!=b&&b.constructor==mxStackLayout&&!b.resizeLast){this.model.beginUpdate();try{for(var h=b.horizontal;null!=a&&null!=b&&b.constructor==mxStackLayout&&b.horizontal==h&&!b.resizeLast;){var d=this.getCellGeometry(a),g=this.view.getState(a);null!=g&&null!=d&&(d=d.clone(),b.horizontal?d.width+=e+Math.min(0,g.width/this.view.scale-d.width):d.height+=f+Math.min(0,g.height/this.view.scale-d.height),this.model.setGeometry(a,
+d));a=this.model.getParent(a);b=this.layoutManager.getLayout(a)}}finally{this.model.endUpdate()}}};Graph.prototype.isContainer=function(a){var b=this.getCurrentCellStyle(a);return this.isSwimlane(a)?"0"!=b.container:"1"==b.container};Graph.prototype.isCellConnectable=function(a){var b=this.getCurrentCellStyle(a);return!this.isCellLocked(this.getLayerForCell(a))&&(null!=b.connectable?"0"!=b.connectable:mxGraph.prototype.isCellConnectable.apply(this,arguments))};
+Graph.prototype.isLabelMovable=function(a){var b=this.getCurrentCellStyle(a);return null!=b.movableLabel?"0"!=b.movableLabel:mxGraph.prototype.isLabelMovable.apply(this,arguments)};Graph.prototype.selectAll=function(a){a=a||this.getDefaultParent();this.isCellLocked(a)||mxGraph.prototype.selectAll.apply(this,arguments)};Graph.prototype.selectCells=function(a,b,e){e=e||this.getDefaultParent();this.isCellLocked(e)||mxGraph.prototype.selectCells.apply(this,arguments)};
+Graph.prototype.getSwimlaneAt=function(a,b,e){var f=mxGraph.prototype.getSwimlaneAt.apply(this,arguments);this.isCellLocked(f)&&(f=null);return f};Graph.prototype.isCellFoldable=function(a){var b=this.getCurrentCellStyle(a);return this.foldingEnabled&&"0"!=mxUtils.getValue(b,mxConstants.STYLE_RESIZABLE,"1")&&("1"==b.treeFolding||!this.isCellLocked(a)&&(this.isContainer(a)&&"0"!=b.collapsible||!this.isContainer(a)&&"1"==b.collapsible))};
Graph.prototype.reset=function(){this.isEditing()&&this.stopEditing(!0);this.escape();this.isSelectionEmpty()||this.clearSelection()};Graph.prototype.zoom=function(a,b){a=Math.max(.01,Math.min(this.view.scale*a,160))/this.view.scale;mxGraph.prototype.zoom.apply(this,arguments)};Graph.prototype.zoomIn=function(){.15>this.view.scale?this.zoom((this.view.scale+.01)/this.view.scale):this.zoom(Math.round(this.view.scale*this.zoomFactor*20)/20/this.view.scale)};
Graph.prototype.zoomOut=function(){.15>=this.view.scale?this.zoom((this.view.scale-.01)/this.view.scale):this.zoom(Math.round(1/this.zoomFactor*this.view.scale*20)/20/this.view.scale)};
-Graph.prototype.fitPages=function(a,b){var d=1;null==a&&(d=this.getPageLayout(),a=d.width,d=d.height);var e=this.pageScale,g=this.pageFormat,f=this.container.clientHeight-10,h=(this.container.clientWidth-10)/(a*g.width)/e;this.zoomTo(Math.floor(20*(b?h:Math.min(h,f/(d*g.height)/e)))/20);mxUtils.hasScrollbars(this.container)&&(d=this.getPagePadding(),this.container.scrollLeft=Math.min(d.x*this.view.scale,(this.container.scrollWidth-this.container.clientWidth)/2)-1,b||(this.container.scrollTop=2<=a?
-Math.min(d.y,(this.container.scrollHeight-this.container.clientHeight)/2):d.y*this.view.scale-1))};
-Graph.prototype.fitWindow=function(a,b){b=null!=b?b:10;var d=this.container.clientWidth-b,e=this.container.clientHeight-b;this.zoomTo(Math.floor(20*Math.min(d/a.width,e/a.height))/20);mxUtils.hasScrollbars(this.container)&&window.setTimeout(mxUtils.bind(this,function(){var g=this.view.translate;this.container.scrollLeft=(a.x+g.x)*this.view.scale-Math.max((d-a.width*this.view.scale)/2+b/2,0);this.container.scrollTop=(a.y+g.y)*this.view.scale-Math.max((e-a.height*this.view.scale)/2+b/2,0)}),0)};
+Graph.prototype.fitPages=function(a,b){var e=1;null==a&&(e=this.getPageLayout(),a=e.width,e=e.height);var f=this.pageScale,h=this.pageFormat,d=this.container.clientHeight-10,g=(this.container.clientWidth-10)/(a*h.width)/f;this.zoomTo(Math.floor(20*(b?g:Math.min(g,d/(e*h.height)/f)))/20);mxUtils.hasScrollbars(this.container)&&(e=this.getPagePadding(),this.container.scrollLeft=Math.min(e.x*this.view.scale,(this.container.scrollWidth-this.container.clientWidth)/2)-1,b||(this.container.scrollTop=2<=a?
+Math.min(e.y,(this.container.scrollHeight-this.container.clientHeight)/2):e.y*this.view.scale-1))};
+Graph.prototype.fitWindow=function(a,b){b=null!=b?b:10;var e=this.container.clientWidth-b,f=this.container.clientHeight-b;this.zoomTo(Math.floor(20*Math.min(e/a.width,f/a.height))/20);mxUtils.hasScrollbars(this.container)&&window.setTimeout(mxUtils.bind(this,function(){var h=this.view.translate;this.container.scrollLeft=(a.x+h.x)*this.view.scale-Math.max((e-a.width*this.view.scale)/2+b/2,0);this.container.scrollTop=(a.y+h.y)*this.view.scale-Math.max((f-a.height*this.view.scale)/2+b/2,0)}),0)};
Graph.prototype.convertValueToTooltip=function(a){var b=null;mxUtils.isNode(a.value)&&(Graph.translateDiagram&&null!=Graph.diagramLanguage&&(b=a.value.getAttribute("tooltip_"+Graph.diagramLanguage)),null==b&&(b=a.value.getAttribute("tooltip")),null!=b&&(null!=b&&this.isReplacePlaceholders(a)&&(b=this.replacePlaceholders(a,b)),b=Graph.sanitizeHtml(b)));return b};
-Graph.prototype.getTooltipForCell=function(a){var b="";if(mxUtils.isNode(a.value)&&(b=this.convertValueToTooltip(a),null==b)){var d=this.builtInProperties;a=a.value.attributes;var e=[];b="";this.isEnabled()&&(d.push("linkTarget"),d.push("link"));for(var g=0;g<a.length;g++)(Graph.translateDiagram&&"label"==a[g].nodeName||0>mxUtils.indexOf(d,a[g].nodeName))&&0<a[g].nodeValue.length&&e.push({name:a[g].nodeName,value:a[g].nodeValue});e.sort(function(f,h){return f.name<h.name?-1:f.name>h.name?1:0});for(g=
-0;g<e.length;g++)"link"==e[g].name&&this.isCustomLink(e[g].value)||(b+=("link"!=e[g].name?"<b>"+mxUtils.htmlEntities(e[g].name)+":</b> ":"")+mxUtils.htmlEntities(e[g].value)+"\n");0<b.length&&(b=b.substring(0,b.length-1),mxClient.IS_SVG&&(b='<div style="max-width:360px;text-overflow:ellipsis;overflow:hidden;">'+b+"</div>"))}return b};
-Graph.prototype.addFlowAnimationToNode=function(a,b,d,e){if(null!=a&&null!=e){var g=a.getAttribute("stroke-dasharray");if(""==g||null==g){var f=String(mxUtils.getValue(b,mxConstants.STYLE_DASH_PATTERN,"8")).split(" ");g=1==mxUtils.getValue(b,mxConstants.STYLE_FIX_DASH,!1)||null==b.dashPattern?1:mxUtils.getNumber(b,mxConstants.STYLE_STROKEWIDTH,1);if(0<f.length)for(var h=0;h<f.length;h++)f[h]=Math.round(Number(f[h])*d*g*100)/100;a.setAttribute("stroke-dasharray",f.join(" "))}else f=g.split(" ");if(0<
-f.length){for(h=g=0;h<f.length;h++){var n=parseFloat(f[h]);isNaN(n)||(g+=parseFloat(f[h]))}0!=f.length%2&&(g*=2);d=Math.round(g/d/16*parseInt(mxUtils.getValue(b,"flowAnimationDuration",500)));f=mxUtils.getValue(b,"flowAnimationTimingFunction","linear");b=mxUtils.getValue(b,"flowAnimationDirection","normal");a.style.animation=e+" "+d+"ms "+mxUtils.htmlEntities(f)+" infinite "+mxUtils.htmlEntities(b);a.style.strokeDashoffset=g}}};
+Graph.prototype.getTooltipForCell=function(a){var b="";if(mxUtils.isNode(a.value)&&(b=this.convertValueToTooltip(a),null==b)){var e=this.builtInProperties;a=a.value.attributes;var f=[];b="";this.isEnabled()&&(e.push("linkTarget"),e.push("link"));for(var h=0;h<a.length;h++)(Graph.translateDiagram&&"label"==a[h].nodeName||0>mxUtils.indexOf(e,a[h].nodeName))&&0<a[h].nodeValue.length&&f.push({name:a[h].nodeName,value:a[h].nodeValue});f.sort(function(d,g){return d.name<g.name?-1:d.name>g.name?1:0});for(h=
+0;h<f.length;h++)"link"==f[h].name&&this.isCustomLink(f[h].value)||(b+=("link"!=f[h].name?"<b>"+mxUtils.htmlEntities(f[h].name)+":</b> ":"")+mxUtils.htmlEntities(f[h].value)+"\n");0<b.length&&(b=b.substring(0,b.length-1),mxClient.IS_SVG&&(b='<div style="max-width:360px;text-overflow:ellipsis;overflow:hidden;">'+b+"</div>"))}return b};
+Graph.prototype.addFlowAnimationToNode=function(a,b,e,f){if(null!=a&&null!=f){var h=a.getAttribute("stroke-dasharray");if(""==h||null==h){var d=String(mxUtils.getValue(b,mxConstants.STYLE_DASH_PATTERN,"8")).split(" ");h=1==mxUtils.getValue(b,mxConstants.STYLE_FIX_DASH,!1)||null==b.dashPattern?1:mxUtils.getNumber(b,mxConstants.STYLE_STROKEWIDTH,1);if(0<d.length)for(var g=0;g<d.length;g++)d[g]=Math.round(Number(d[g])*e*h*100)/100;a.setAttribute("stroke-dasharray",d.join(" "))}else d=h.split(" ");if(0<
+d.length){for(g=h=0;g<d.length;g++){var n=parseFloat(d[g]);isNaN(n)||(h+=parseFloat(d[g]))}0!=d.length%2&&(h*=2);e=Math.round(h/e/16*parseInt(mxUtils.getValue(b,"flowAnimationDuration",500)));d=mxUtils.getValue(b,"flowAnimationTimingFunction","linear");b=mxUtils.getValue(b,"flowAnimationDirection","normal");a.style.animation=f+" "+e+"ms "+mxUtils.htmlEntities(d)+" infinite "+mxUtils.htmlEntities(b);a.style.strokeDashoffset=h}}};
Graph.prototype.addFlowAnimationStyle=function(){var a=document.getElementsByTagName("head")[0];if(null!=a&&null==this.flowAnimationId){this.flowAnimationId="ge-flow-animation-"+Editor.guid();var b=document.createElement("style");b.innerHTML=this.createFlowAnimationCss(this.flowAnimationId);a.appendChild(b)}return this.flowAnimationId};Graph.prototype.createFlowAnimationCss=function(a){return"@keyframes "+a+" {\n to {\n stroke-dashoffset: 0;\n }\n}"};Graph.prototype.stringToBytes=function(a){return Graph.stringToBytes(a)};
Graph.prototype.bytesToString=function(a){return Graph.bytesToString(a)};Graph.prototype.compressNode=function(a){return Graph.compressNode(a)};Graph.prototype.compress=function(a,b){return Graph.compress(a,b)};Graph.prototype.decompress=function(a,b){return Graph.decompress(a,b)};Graph.prototype.zapGremlins=function(a){return Graph.zapGremlins(a)};HoverIcons=function(a){mxEventSource.call(this);this.graph=a;this.init()};mxUtils.extend(HoverIcons,mxEventSource);HoverIcons.prototype.arrowSpacing=2;
HoverIcons.prototype.updateDelay=500;HoverIcons.prototype.activationDelay=140;HoverIcons.prototype.currentState=null;HoverIcons.prototype.activeArrow=null;HoverIcons.prototype.inactiveOpacity=15;HoverIcons.prototype.cssCursor="copy";HoverIcons.prototype.checkCollisions=!0;HoverIcons.prototype.arrowFill="#29b6f2";
@@ -2709,123 +2709,123 @@ HoverIcons.prototype.refreshTarget=new mxImage(mxClient.IS_SVG?"data:image/svg+x
"/refresh.png",38,38);HoverIcons.prototype.tolerance=mxClient.IS_TOUCH?6:0;
HoverIcons.prototype.init=function(){this.arrowUp=this.createArrow(this.triangleUp,mxResources.get("plusTooltip"),mxConstants.DIRECTION_NORTH);this.arrowRight=this.createArrow(this.triangleRight,mxResources.get("plusTooltip"),mxConstants.DIRECTION_EAST);this.arrowDown=this.createArrow(this.triangleDown,mxResources.get("plusTooltip"),mxConstants.DIRECTION_SOUTH);this.arrowLeft=this.createArrow(this.triangleLeft,mxResources.get("plusTooltip"),mxConstants.DIRECTION_WEST);this.elts=[this.arrowUp,this.arrowRight,
this.arrowDown,this.arrowLeft];this.resetHandler=mxUtils.bind(this,function(){this.reset()});this.repaintHandler=mxUtils.bind(this,function(){this.repaint()});this.graph.selectionModel.addListener(mxEvent.CHANGE,this.resetHandler);this.graph.model.addListener(mxEvent.CHANGE,this.repaintHandler);this.graph.view.addListener(mxEvent.SCALE_AND_TRANSLATE,this.repaintHandler);this.graph.view.addListener(mxEvent.TRANSLATE,this.repaintHandler);this.graph.view.addListener(mxEvent.SCALE,this.repaintHandler);
-this.graph.view.addListener(mxEvent.DOWN,this.repaintHandler);this.graph.view.addListener(mxEvent.UP,this.repaintHandler);this.graph.addListener(mxEvent.ROOT,this.repaintHandler);this.graph.addListener(mxEvent.ESCAPE,this.resetHandler);mxEvent.addListener(this.graph.container,"scroll",this.resetHandler);this.graph.addListener(mxEvent.ESCAPE,mxUtils.bind(this,function(){this.mouseDownPoint=null}));mxEvent.addListener(this.graph.container,"mouseleave",mxUtils.bind(this,function(d){null!=d.relatedTarget&&
-mxEvent.getSource(d)==this.graph.container&&this.setDisplay("none")}));this.graph.addListener(mxEvent.START_EDITING,mxUtils.bind(this,function(d){this.reset()}));var a=this.graph.click;this.graph.click=mxUtils.bind(this,function(d){a.apply(this.graph,arguments);null==this.currentState||this.graph.isCellSelected(this.currentState.cell)||!mxEvent.isTouchEvent(d.getEvent())||this.graph.model.isVertex(d.getCell())||this.reset()});var b=!1;this.graph.addMouseListener({mouseDown:mxUtils.bind(this,function(d,
-e){b=!1;d=e.getEvent();this.isResetEvent(d)?this.reset():this.isActive()||(e=this.getState(e.getState()),null==e&&mxEvent.isTouchEvent(d)||this.update(e));this.setDisplay("none")}),mouseMove:mxUtils.bind(this,function(d,e){d=e.getEvent();this.isResetEvent(d)?this.reset():this.graph.isMouseDown||mxEvent.isTouchEvent(d)||this.update(this.getState(e.getState()),e.getGraphX(),e.getGraphY());null!=this.graph.connectionHandler&&null!=this.graph.connectionHandler.shape&&(b=!0)}),mouseUp:mxUtils.bind(this,
-function(d,e){d=e.getEvent();mxUtils.convertPoint(this.graph.container,mxEvent.getClientX(d),mxEvent.getClientY(d));this.isResetEvent(d)?this.reset():this.isActive()&&!b&&null!=this.mouseDownPoint?this.click(this.currentState,this.getDirection(),e):this.isActive()?1==this.graph.getSelectionCount()&&this.graph.model.isEdge(this.graph.getSelectionCell())?this.reset():this.update(this.getState(this.graph.view.getState(this.graph.getCellAt(e.getGraphX(),e.getGraphY())))):mxEvent.isTouchEvent(d)||null!=
-this.bbox&&mxUtils.contains(this.bbox,e.getGraphX(),e.getGraphY())?(this.setDisplay(""),this.repaint()):mxEvent.isTouchEvent(d)||this.reset();b=!1;this.resetActiveArrow()})})};HoverIcons.prototype.isResetEvent=function(a,b){return mxEvent.isAltDown(a)||null==this.activeArrow&&mxEvent.isShiftDown(a)||mxEvent.isPopupTrigger(a)&&!this.graph.isCloneEvent(a)};
-HoverIcons.prototype.createArrow=function(a,b,d){var e=null;e=mxUtils.createImage(a.src);e.style.width=a.width+"px";e.style.height=a.height+"px";e.style.padding=this.tolerance+"px";null!=b&&e.setAttribute("title",b);e.style.position="absolute";e.style.cursor=this.cssCursor;mxEvent.addGestureListeners(e,mxUtils.bind(this,function(g){null==this.currentState||this.isResetEvent(g)||(this.mouseDownPoint=mxUtils.convertPoint(this.graph.container,mxEvent.getClientX(g),mxEvent.getClientY(g)),this.drag(g,
-this.mouseDownPoint.x,this.mouseDownPoint.y),this.activeArrow=e,this.setDisplay("none"),mxEvent.consume(g))}));mxEvent.redirectMouseEvents(e,this.graph,this.currentState);mxEvent.addListener(e,"mouseenter",mxUtils.bind(this,function(g){mxEvent.isMouseEvent(g)&&(null!=this.activeArrow&&this.activeArrow!=e&&mxUtils.setOpacity(this.activeArrow,this.inactiveOpacity),this.graph.connectionHandler.constraintHandler.reset(),mxUtils.setOpacity(e,100),this.activeArrow=e,this.fireEvent(new mxEventObject("focus",
-"arrow",e,"direction",d,"event",g)))}));mxEvent.addListener(e,"mouseleave",mxUtils.bind(this,function(g){mxEvent.isMouseEvent(g)&&this.fireEvent(new mxEventObject("blur","arrow",e,"direction",d,"event",g));this.graph.isMouseDown||this.resetActiveArrow()}));return e};HoverIcons.prototype.resetActiveArrow=function(){null!=this.activeArrow&&(mxUtils.setOpacity(this.activeArrow,this.inactiveOpacity),this.activeArrow=null)};
+this.graph.view.addListener(mxEvent.DOWN,this.repaintHandler);this.graph.view.addListener(mxEvent.UP,this.repaintHandler);this.graph.addListener(mxEvent.ROOT,this.repaintHandler);this.graph.addListener(mxEvent.ESCAPE,this.resetHandler);mxEvent.addListener(this.graph.container,"scroll",this.resetHandler);this.graph.addListener(mxEvent.ESCAPE,mxUtils.bind(this,function(){this.mouseDownPoint=null}));mxEvent.addListener(this.graph.container,"mouseleave",mxUtils.bind(this,function(e){null!=e.relatedTarget&&
+mxEvent.getSource(e)==this.graph.container&&this.setDisplay("none")}));this.graph.addListener(mxEvent.START_EDITING,mxUtils.bind(this,function(e){this.reset()}));var a=this.graph.click;this.graph.click=mxUtils.bind(this,function(e){a.apply(this.graph,arguments);null==this.currentState||this.graph.isCellSelected(this.currentState.cell)||!mxEvent.isTouchEvent(e.getEvent())||this.graph.model.isVertex(e.getCell())||this.reset()});var b=!1;this.graph.addMouseListener({mouseDown:mxUtils.bind(this,function(e,
+f){b=!1;e=f.getEvent();this.isResetEvent(e)?this.reset():this.isActive()||(f=this.getState(f.getState()),null==f&&mxEvent.isTouchEvent(e)||this.update(f));this.setDisplay("none")}),mouseMove:mxUtils.bind(this,function(e,f){e=f.getEvent();this.isResetEvent(e)?this.reset():this.graph.isMouseDown||mxEvent.isTouchEvent(e)||this.update(this.getState(f.getState()),f.getGraphX(),f.getGraphY());null!=this.graph.connectionHandler&&null!=this.graph.connectionHandler.shape&&(b=!0)}),mouseUp:mxUtils.bind(this,
+function(e,f){e=f.getEvent();mxUtils.convertPoint(this.graph.container,mxEvent.getClientX(e),mxEvent.getClientY(e));this.isResetEvent(e)?this.reset():this.isActive()&&!b&&null!=this.mouseDownPoint?this.click(this.currentState,this.getDirection(),f):this.isActive()?1==this.graph.getSelectionCount()&&this.graph.model.isEdge(this.graph.getSelectionCell())?this.reset():this.update(this.getState(this.graph.view.getState(this.graph.getCellAt(f.getGraphX(),f.getGraphY())))):mxEvent.isTouchEvent(e)||null!=
+this.bbox&&mxUtils.contains(this.bbox,f.getGraphX(),f.getGraphY())?(this.setDisplay(""),this.repaint()):mxEvent.isTouchEvent(e)||this.reset();b=!1;this.resetActiveArrow()})})};HoverIcons.prototype.isResetEvent=function(a,b){return mxEvent.isAltDown(a)||null==this.activeArrow&&mxEvent.isShiftDown(a)||mxEvent.isPopupTrigger(a)&&!this.graph.isCloneEvent(a)};
+HoverIcons.prototype.createArrow=function(a,b,e){var f=null;f=mxUtils.createImage(a.src);f.style.width=a.width+"px";f.style.height=a.height+"px";f.style.padding=this.tolerance+"px";null!=b&&f.setAttribute("title",b);f.style.position="absolute";f.style.cursor=this.cssCursor;mxEvent.addGestureListeners(f,mxUtils.bind(this,function(h){null==this.currentState||this.isResetEvent(h)||(this.mouseDownPoint=mxUtils.convertPoint(this.graph.container,mxEvent.getClientX(h),mxEvent.getClientY(h)),this.drag(h,
+this.mouseDownPoint.x,this.mouseDownPoint.y),this.activeArrow=f,this.setDisplay("none"),mxEvent.consume(h))}));mxEvent.redirectMouseEvents(f,this.graph,this.currentState);mxEvent.addListener(f,"mouseenter",mxUtils.bind(this,function(h){mxEvent.isMouseEvent(h)&&(null!=this.activeArrow&&this.activeArrow!=f&&mxUtils.setOpacity(this.activeArrow,this.inactiveOpacity),this.graph.connectionHandler.constraintHandler.reset(),mxUtils.setOpacity(f,100),this.activeArrow=f,this.fireEvent(new mxEventObject("focus",
+"arrow",f,"direction",e,"event",h)))}));mxEvent.addListener(f,"mouseleave",mxUtils.bind(this,function(h){mxEvent.isMouseEvent(h)&&this.fireEvent(new mxEventObject("blur","arrow",f,"direction",e,"event",h));this.graph.isMouseDown||this.resetActiveArrow()}));return f};HoverIcons.prototype.resetActiveArrow=function(){null!=this.activeArrow&&(mxUtils.setOpacity(this.activeArrow,this.inactiveOpacity),this.activeArrow=null)};
HoverIcons.prototype.getDirection=function(){var a=mxConstants.DIRECTION_EAST;this.activeArrow==this.arrowUp?a=mxConstants.DIRECTION_NORTH:this.activeArrow==this.arrowDown?a=mxConstants.DIRECTION_SOUTH:this.activeArrow==this.arrowLeft&&(a=mxConstants.DIRECTION_WEST);return a};HoverIcons.prototype.visitNodes=function(a){for(var b=0;b<this.elts.length;b++)null!=this.elts[b]&&a(this.elts[b])};HoverIcons.prototype.removeNodes=function(){this.visitNodes(function(a){null!=a.parentNode&&a.parentNode.removeChild(a)})};
HoverIcons.prototype.setDisplay=function(a){this.visitNodes(function(b){b.style.display=a})};HoverIcons.prototype.isActive=function(){return null!=this.activeArrow&&null!=this.currentState};
-HoverIcons.prototype.drag=function(a,b,d){this.graph.popupMenuHandler.hideMenu();this.graph.stopEditing(!1);null!=this.currentState&&(this.graph.connectionHandler.start(this.currentState,b,d),this.graph.isMouseTrigger=mxEvent.isMouseEvent(a),this.graph.isMouseDown=!0,b=this.graph.selectionCellsHandler.getHandler(this.currentState.cell),null!=b&&b.setHandlesVisible(!1),b=this.graph.connectionHandler.edgeState,null!=a&&mxEvent.isShiftDown(a)&&mxEvent.isControlDown(a)&&null!=b&&"orthogonalEdgeStyle"===
-mxUtils.getValue(b.style,mxConstants.STYLE_EDGE,null)&&(a=this.getDirection(),b.cell.style=mxUtils.setStyle(b.cell.style,"sourcePortConstraint",a),b.style.sourcePortConstraint=a))};HoverIcons.prototype.getStateAt=function(a,b,d){return this.graph.view.getState(this.graph.getCellAt(b,d))};
-HoverIcons.prototype.click=function(a,b,d){var e=d.getEvent(),g=d.getGraphX(),f=d.getGraphY();g=this.getStateAt(a,g,f);null==g||!this.graph.model.isEdge(g.cell)||this.graph.isCloneEvent(e)||g.getVisibleTerminalState(!0)!=a&&g.getVisibleTerminalState(!1)!=a?null!=a&&this.execute(a,b,d):(this.graph.setSelectionCell(g.cell),this.reset());d.consume()};
-HoverIcons.prototype.execute=function(a,b,d){d=d.getEvent();this.graph.selectCellsForConnectVertex(this.graph.connectVertex(a.cell,b,this.graph.defaultEdgeLength,d,this.graph.isCloneEvent(d),this.graph.isCloneEvent(d)),d,this)};HoverIcons.prototype.reset=function(a){null!=a&&!a||null==this.updateThread||window.clearTimeout(this.updateThread);this.activeArrow=this.currentState=this.mouseDownPoint=null;this.removeNodes();this.bbox=null;this.fireEvent(new mxEventObject("reset"))};
+HoverIcons.prototype.drag=function(a,b,e){this.graph.popupMenuHandler.hideMenu();this.graph.stopEditing(!1);null!=this.currentState&&(this.graph.connectionHandler.start(this.currentState,b,e),this.graph.isMouseTrigger=mxEvent.isMouseEvent(a),this.graph.isMouseDown=!0,b=this.graph.selectionCellsHandler.getHandler(this.currentState.cell),null!=b&&b.setHandlesVisible(!1),b=this.graph.connectionHandler.edgeState,null!=a&&mxEvent.isShiftDown(a)&&mxEvent.isControlDown(a)&&null!=b&&"orthogonalEdgeStyle"===
+mxUtils.getValue(b.style,mxConstants.STYLE_EDGE,null)&&(a=this.getDirection(),b.cell.style=mxUtils.setStyle(b.cell.style,"sourcePortConstraint",a),b.style.sourcePortConstraint=a))};HoverIcons.prototype.getStateAt=function(a,b,e){return this.graph.view.getState(this.graph.getCellAt(b,e))};
+HoverIcons.prototype.click=function(a,b,e){var f=e.getEvent(),h=e.getGraphX(),d=e.getGraphY();h=this.getStateAt(a,h,d);null==h||!this.graph.model.isEdge(h.cell)||this.graph.isCloneEvent(f)||h.getVisibleTerminalState(!0)!=a&&h.getVisibleTerminalState(!1)!=a?null!=a&&this.execute(a,b,e):(this.graph.setSelectionCell(h.cell),this.reset());e.consume()};
+HoverIcons.prototype.execute=function(a,b,e){e=e.getEvent();this.graph.selectCellsForConnectVertex(this.graph.connectVertex(a.cell,b,this.graph.defaultEdgeLength,e,this.graph.isCloneEvent(e),this.graph.isCloneEvent(e)),e,this)};HoverIcons.prototype.reset=function(a){null!=a&&!a||null==this.updateThread||window.clearTimeout(this.updateThread);this.activeArrow=this.currentState=this.mouseDownPoint=null;this.removeNodes();this.bbox=null;this.fireEvent(new mxEventObject("reset"))};
HoverIcons.prototype.repaint=function(){this.bbox=null;if(null!=this.currentState){this.currentState=this.getState(this.currentState);if(null!=this.currentState&&this.graph.model.isVertex(this.currentState.cell)&&this.graph.isCellConnectable(this.currentState.cell)){var a=mxRectangle.fromRectangle(this.currentState);null!=this.currentState.shape&&null!=this.currentState.shape.boundingBox&&(a=mxRectangle.fromRectangle(this.currentState.shape.boundingBox));a.grow(this.graph.tolerance);a.grow(this.arrowSpacing);
-var b=this.graph.selectionCellsHandler.getHandler(this.currentState.cell);this.graph.isTableRow(this.currentState.cell)&&(b=this.graph.selectionCellsHandler.getHandler(this.graph.model.getParent(this.currentState.cell)));var d=null;null!=b&&(a.x-=b.horizontalOffset/2,a.y-=b.verticalOffset/2,a.width+=b.horizontalOffset,a.height+=b.verticalOffset,null!=b.rotationShape&&null!=b.rotationShape.node&&"hidden"!=b.rotationShape.node.style.visibility&&"none"!=b.rotationShape.node.style.display&&null!=b.rotationShape.boundingBox&&
-(d=b.rotationShape.boundingBox));b=mxUtils.bind(this,function(n,q,l){if(null!=d){var p=new mxRectangle(q,l,n.clientWidth,n.clientHeight);mxUtils.intersects(p,d)&&(n==this.arrowUp?l-=p.y+p.height-d.y:n==this.arrowRight?q+=d.x+d.width-p.x:n==this.arrowDown?l+=d.y+d.height-p.y:n==this.arrowLeft&&(q-=p.x+p.width-d.x))}n.style.left=q+"px";n.style.top=l+"px";mxUtils.setOpacity(n,this.inactiveOpacity)});b(this.arrowUp,Math.round(this.currentState.getCenterX()-this.triangleUp.width/2-this.tolerance),Math.round(a.y-
+var b=this.graph.selectionCellsHandler.getHandler(this.currentState.cell);this.graph.isTableRow(this.currentState.cell)&&(b=this.graph.selectionCellsHandler.getHandler(this.graph.model.getParent(this.currentState.cell)));var e=null;null!=b&&(a.x-=b.horizontalOffset/2,a.y-=b.verticalOffset/2,a.width+=b.horizontalOffset,a.height+=b.verticalOffset,null!=b.rotationShape&&null!=b.rotationShape.node&&"hidden"!=b.rotationShape.node.style.visibility&&"none"!=b.rotationShape.node.style.display&&null!=b.rotationShape.boundingBox&&
+(e=b.rotationShape.boundingBox));b=mxUtils.bind(this,function(n,q,k){if(null!=e){var p=new mxRectangle(q,k,n.clientWidth,n.clientHeight);mxUtils.intersects(p,e)&&(n==this.arrowUp?k-=p.y+p.height-e.y:n==this.arrowRight?q+=e.x+e.width-p.x:n==this.arrowDown?k+=e.y+e.height-p.y:n==this.arrowLeft&&(q-=p.x+p.width-e.x))}n.style.left=q+"px";n.style.top=k+"px";mxUtils.setOpacity(n,this.inactiveOpacity)});b(this.arrowUp,Math.round(this.currentState.getCenterX()-this.triangleUp.width/2-this.tolerance),Math.round(a.y-
this.triangleUp.height-this.tolerance));b(this.arrowRight,Math.round(a.x+a.width-this.tolerance),Math.round(this.currentState.getCenterY()-this.triangleRight.height/2-this.tolerance));b(this.arrowDown,parseInt(this.arrowUp.style.left),Math.round(a.y+a.height-this.tolerance));b(this.arrowLeft,Math.round(a.x-this.triangleLeft.width-this.tolerance),parseInt(this.arrowRight.style.top));if(this.checkCollisions){b=this.graph.getCellAt(a.x+a.width+this.triangleRight.width/2,this.currentState.getCenterY());
-var e=this.graph.getCellAt(a.x-this.triangleLeft.width/2,this.currentState.getCenterY()),g=this.graph.getCellAt(this.currentState.getCenterX(),a.y-this.triangleUp.height/2);a=this.graph.getCellAt(this.currentState.getCenterX(),a.y+a.height+this.triangleDown.height/2);null!=b&&b==e&&e==g&&g==a&&(a=g=e=b=null);var f=this.graph.getCellGeometry(this.currentState.cell),h=mxUtils.bind(this,function(n,q){var l=this.graph.model.isVertex(n)&&this.graph.getCellGeometry(n);null==n||this.graph.model.isAncestor(n,
-this.currentState.cell)||this.graph.isSwimlane(n)||!(null==l||null==f||l.height<3*f.height&&l.width<3*f.width)?q.style.visibility="visible":q.style.visibility="hidden"});h(b,this.arrowRight);h(e,this.arrowLeft);h(g,this.arrowUp);h(a,this.arrowDown)}else this.arrowLeft.style.visibility="visible",this.arrowRight.style.visibility="visible",this.arrowUp.style.visibility="visible",this.arrowDown.style.visibility="visible";this.graph.tooltipHandler.isEnabled()?(this.arrowLeft.setAttribute("title",mxResources.get("plusTooltip")),
+var f=this.graph.getCellAt(a.x-this.triangleLeft.width/2,this.currentState.getCenterY()),h=this.graph.getCellAt(this.currentState.getCenterX(),a.y-this.triangleUp.height/2);a=this.graph.getCellAt(this.currentState.getCenterX(),a.y+a.height+this.triangleDown.height/2);null!=b&&b==f&&f==h&&h==a&&(a=h=f=b=null);var d=this.graph.getCellGeometry(this.currentState.cell),g=mxUtils.bind(this,function(n,q){var k=this.graph.model.isVertex(n)&&this.graph.getCellGeometry(n);null==n||this.graph.model.isAncestor(n,
+this.currentState.cell)||this.graph.isSwimlane(n)||!(null==k||null==d||k.height<3*d.height&&k.width<3*d.width)?q.style.visibility="visible":q.style.visibility="hidden"});g(b,this.arrowRight);g(f,this.arrowLeft);g(h,this.arrowUp);g(a,this.arrowDown)}else this.arrowLeft.style.visibility="visible",this.arrowRight.style.visibility="visible",this.arrowUp.style.visibility="visible",this.arrowDown.style.visibility="visible";this.graph.tooltipHandler.isEnabled()?(this.arrowLeft.setAttribute("title",mxResources.get("plusTooltip")),
this.arrowRight.setAttribute("title",mxResources.get("plusTooltip")),this.arrowUp.setAttribute("title",mxResources.get("plusTooltip")),this.arrowDown.setAttribute("title",mxResources.get("plusTooltip"))):(this.arrowLeft.removeAttribute("title"),this.arrowRight.removeAttribute("title"),this.arrowUp.removeAttribute("title"),this.arrowDown.removeAttribute("title"))}else this.reset();null!=this.currentState&&(this.bbox=this.computeBoundingBox(),null!=this.bbox&&this.bbox.grow(10))}};
HoverIcons.prototype.computeBoundingBox=function(){var a=this.graph.model.isEdge(this.currentState.cell)?null:mxRectangle.fromRectangle(this.currentState);this.visitNodes(function(b){null!=b.parentNode&&(b=new mxRectangle(b.offsetLeft,b.offsetTop,b.offsetWidth,b.offsetHeight),null==a?a=b:a.add(b))});return a};
HoverIcons.prototype.getState=function(a){if(null!=a)if(a=a.cell,this.graph.getModel().contains(a)){if(this.graph.getModel().isVertex(a)&&!this.graph.isCellConnectable(a)){var b=this.graph.getModel().getParent(a);this.graph.getModel().isVertex(b)&&this.graph.isCellConnectable(b)&&(a=b)}if(this.graph.isCellLocked(a)||this.graph.model.isEdge(a))a=null;a=this.graph.view.getState(a);null!=a&&null==a.style&&(a=null)}else a=null;return a};
-HoverIcons.prototype.update=function(a,b,d){if(!this.graph.connectionArrowsEnabled||null!=this.graph.freehand&&this.graph.freehand.isDrawing()||null!=a&&"0"==mxUtils.getValue(a.style,"allowArrows","1"))this.reset();else{null!=a&&null!=a.cell.geometry&&a.cell.geometry.relative&&this.graph.model.isEdge(a.cell.parent)&&(a=null);var e=null;this.prev!=a||this.isActive()?(this.startTime=(new Date).getTime(),this.prev=a,e=0,null!=this.updateThread&&window.clearTimeout(this.updateThread),null!=a&&(this.updateThread=
-window.setTimeout(mxUtils.bind(this,function(){this.isActive()||this.graph.isMouseDown||this.graph.panningHandler.isActive()||(this.prev=a,this.update(a,b,d))}),this.updateDelay+10))):null!=this.startTime&&(e=(new Date).getTime()-this.startTime);this.setDisplay("");null!=this.currentState&&this.currentState!=a&&e<this.activationDelay&&null!=this.bbox&&!mxUtils.contains(this.bbox,b,d)?this.reset(!1):(null!=this.currentState||e>this.activationDelay)&&this.currentState!=a&&(e>this.updateDelay&&null!=
-a||null==this.bbox||null==b||null==d||!mxUtils.contains(this.bbox,b,d))&&(null!=a&&this.graph.isEnabled()?(this.removeNodes(),this.setCurrentState(a),this.repaint(),this.graph.connectionHandler.constraintHandler.currentFocus!=a&&this.graph.connectionHandler.constraintHandler.reset()):this.reset())}};
+HoverIcons.prototype.update=function(a,b,e){if(!this.graph.connectionArrowsEnabled||null!=this.graph.freehand&&this.graph.freehand.isDrawing()||null!=a&&"0"==mxUtils.getValue(a.style,"allowArrows","1"))this.reset();else{null!=a&&null!=a.cell.geometry&&a.cell.geometry.relative&&this.graph.model.isEdge(a.cell.parent)&&(a=null);var f=null;this.prev!=a||this.isActive()?(this.startTime=(new Date).getTime(),this.prev=a,f=0,null!=this.updateThread&&window.clearTimeout(this.updateThread),null!=a&&(this.updateThread=
+window.setTimeout(mxUtils.bind(this,function(){this.isActive()||this.graph.isMouseDown||this.graph.panningHandler.isActive()||(this.prev=a,this.update(a,b,e))}),this.updateDelay+10))):null!=this.startTime&&(f=(new Date).getTime()-this.startTime);this.setDisplay("");null!=this.currentState&&this.currentState!=a&&f<this.activationDelay&&null!=this.bbox&&!mxUtils.contains(this.bbox,b,e)?this.reset(!1):(null!=this.currentState||f>this.activationDelay)&&this.currentState!=a&&(f>this.updateDelay&&null!=
+a||null==this.bbox||null==b||null==e||!mxUtils.contains(this.bbox,b,e))&&(null!=a&&this.graph.isEnabled()?(this.removeNodes(),this.setCurrentState(a),this.repaint(),this.graph.connectionHandler.constraintHandler.currentFocus!=a&&this.graph.connectionHandler.constraintHandler.reset()):this.reset())}};
HoverIcons.prototype.setCurrentState=function(a){"eastwest"!=a.style.portConstraint&&(this.graph.container.appendChild(this.arrowUp),this.graph.container.appendChild(this.arrowDown));this.graph.container.appendChild(this.arrowRight);this.graph.container.appendChild(this.arrowLeft);this.currentState=a};
-Graph.prototype.removeTextStyleForCell=function(a,b){var d=this.getCurrentCellStyle(a),e=!1;this.getModel().beginUpdate();try{if("1"==mxUtils.getValue(d,"html","0")){var g=this.convertValueToString(a);"0"!=mxUtils.getValue(d,"nl2Br","1")&&(g=g.replace(/\n/g,"").replace(/<br\s*.?>/g,"\n"));g=Editor.convertHtmlToText(g);this.cellLabelChanged(a,g);e=!0}b&&(this.setCellStyles("fontSource",null,[a]),this.setCellStyles(mxConstants.STYLE_FONTFAMILY,null,[a]),this.setCellStyles(mxConstants.STYLE_FONTSIZE,
-null,[a]),this.setCellStyles(mxConstants.STYLE_FONTSTYLE,null,[a]),this.setCellStyles(mxConstants.STYLE_FONTCOLOR,null,[a]),this.setCellStyles(mxConstants.STYLE_LABEL_BORDERCOLOR,null,[a]),this.setCellStyles(mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,null,[a]))}finally{this.getModel().endUpdate()}return e};Graph.prototype.createParent=function(a,b,d,e,g){a=this.cloneCell(a);for(var f=0;f<d;f++){var h=this.cloneCell(b),n=this.getCellGeometry(h);null!=n&&(n.x+=f*e,n.y+=f*g);a.insert(h)}return a};
-Graph.prototype.createTable=function(a,b,d,e,g,f,h,n,q){d=null!=d?d:60;e=null!=e?e:40;f=null!=f?f:30;n=null!=n?n:"shape=tableRow;horizontal=0;startSize=0;swimlaneHead=0;swimlaneBody=0;strokeColor=inherit;top=0;left=0;bottom=0;right=0;collapsible=0;dropTarget=0;fillColor=none;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;";q=null!=q?q:"shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;strokeColor=inherit;overflow=hidden;fillColor=none;top=0;left=0;bottom=0;right=0;pointerEvents=1;";return this.createParent(this.createVertex(null,
-null,null!=g?g:"",0,0,b*d,a*e+(null!=g?f:0),null!=h?h:"shape=table;startSize="+(null!=g?f:"0")+";container=1;collapsible=0;childLayout=tableLayout;"),this.createParent(this.createVertex(null,null,"",0,0,b*d,e,n),this.createVertex(null,null,"",0,0,d,e,q),b,d,0),a,0,e)};
-Graph.prototype.setTableValues=function(a,b,d){for(var e=this.model.getChildCells(a,!0),g=0;g<e.length;g++)if(null!=d&&(e[g].value=d[g]),null!=b)for(var f=this.model.getChildCells(e[g],!0),h=0;h<f.length;h++)null!=b[g][h]&&(f[h].value=b[g][h]);return a};
-Graph.prototype.createCrossFunctionalSwimlane=function(a,b,d,e,g,f,h,n,q){d=null!=d?d:120;e=null!=e?e:120;h=null!=h?h:"shape=tableRow;horizontal=0;swimlaneHead=0;swimlaneBody=0;top=0;left=0;strokeColor=inherit;bottom=0;right=0;dropTarget=0;fontStyle=0;fillColor=none;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;startSize=40;collapsible=0;recursiveResize=0;expand=0;";n=null!=n?n:"swimlane;swimlaneHead=0;swimlaneBody=0;fontStyle=0;strokeColor=inherit;connectable=0;fillColor=none;startSize=40;collapsible=0;recursiveResize=0;expand=0;";
-q=null!=q?q:"swimlane;swimlaneHead=0;swimlaneBody=0;fontStyle=0;connectable=0;strokeColor=inherit;fillColor=none;startSize=0;collapsible=0;recursiveResize=0;expand=0;";g=this.createVertex(null,null,null!=g?g:"",0,0,b*d,a*e,null!=f?f:"shape=table;childLayout=tableLayout;"+(null==g?"startSize=0;fillColor=none;":"startSize=40;")+"collapsible=0;recursiveResize=0;expand=0;");f=mxUtils.getValue(this.getCellStyle(g),mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE);g.geometry.width+=f;g.geometry.height+=
-f;h=this.createVertex(null,null,"",0,f,b*d+f,e,h);g.insert(this.createParent(h,this.createVertex(null,null,"",f,0,d,e,n),b,d,0));return 1<a?(h.geometry.y=e+f,this.createParent(g,this.createParent(h,this.createVertex(null,null,"",f,0,d,e,q),b,d,0),a-1,0,e)):g};
-Graph.prototype.visitTableCells=function(a,b){var d=null,e=this.model.getChildCells(a,!0);a=this.getActualStartSize(a,!0);for(var g=0;g<e.length;g++){for(var f=this.getActualStartSize(e[g],!0),h=this.model.getChildCells(e[g],!0),n=this.getCellStyle(e[g],!0),q=null,l=[],p=0;p<h.length;p++){var w=this.getCellGeometry(h[p]),z={cell:h[p],rospan:1,colspan:1,row:g,col:p,geo:w};w=null!=w.alternateBounds?w.alternateBounds:w;z.point=new mxPoint(w.width+(null!=q?q.point.x:a.x+f.x),w.height+(null!=d&&null!=
-d[0]?d[0].point.y:a.y+f.y));z.actual=z;null!=d&&null!=d[p]&&1<d[p].rowspan?(z.rowspan=d[p].rowspan-1,z.colspan=d[p].colspan,z.actual=d[p].actual):null!=q&&1<q.colspan?(z.rowspan=q.rowspan,z.colspan=q.colspan-1,z.actual=q.actual):(q=this.getCurrentCellStyle(h[p],!0),null!=q&&(z.rowspan=parseInt(q.rowspan||1),z.colspan=parseInt(q.colspan||1)));q=1==mxUtils.getValue(n,mxConstants.STYLE_SWIMLANE_HEAD,1)&&mxUtils.getValue(n,mxConstants.STYLE_STROKECOLOR,mxConstants.NONE)!=mxConstants.NONE;b(z,h.length,
-e.length,a.x+(q?f.x:0),a.y+(q?f.y:0));l.push(z);q=z}d=l}};Graph.prototype.getTableLines=function(a,b,d){var e=[],g=[];(b||d)&&this.visitTableCells(a,mxUtils.bind(this,function(f,h,n,q,l){b&&f.row<n-1&&(null==e[f.row]&&(e[f.row]=[new mxPoint(q,f.point.y)]),1<f.rowspan&&e[f.row].push(null),e[f.row].push(f.point));d&&f.col<h-1&&(null==g[f.col]&&(g[f.col]=[new mxPoint(f.point.x,l)]),1<f.colspan&&g[f.col].push(null),g[f.col].push(f.point))}));return e.concat(g)};
+Graph.prototype.removeTextStyleForCell=function(a,b){var e=this.getCurrentCellStyle(a),f=!1;this.getModel().beginUpdate();try{if("1"==mxUtils.getValue(e,"html","0")){var h=this.convertValueToString(a);"0"!=mxUtils.getValue(e,"nl2Br","1")&&(h=h.replace(/\n/g,"").replace(/<br\s*.?>/g,"\n"));h=Editor.convertHtmlToText(h);this.cellLabelChanged(a,h);f=!0}b&&(this.setCellStyles("fontSource",null,[a]),this.setCellStyles(mxConstants.STYLE_FONTFAMILY,null,[a]),this.setCellStyles(mxConstants.STYLE_FONTSIZE,
+null,[a]),this.setCellStyles(mxConstants.STYLE_FONTSTYLE,null,[a]),this.setCellStyles(mxConstants.STYLE_FONTCOLOR,null,[a]),this.setCellStyles(mxConstants.STYLE_LABEL_BORDERCOLOR,null,[a]),this.setCellStyles(mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,null,[a]))}finally{this.getModel().endUpdate()}return f};Graph.prototype.createParent=function(a,b,e,f,h){a=this.cloneCell(a);for(var d=0;d<e;d++){var g=this.cloneCell(b),n=this.getCellGeometry(g);null!=n&&(n.x+=d*f,n.y+=d*h);a.insert(g)}return a};
+Graph.prototype.createTable=function(a,b,e,f,h,d,g,n,q){e=null!=e?e:60;f=null!=f?f:40;d=null!=d?d:30;n=null!=n?n:"shape=tableRow;horizontal=0;startSize=0;swimlaneHead=0;swimlaneBody=0;strokeColor=inherit;top=0;left=0;bottom=0;right=0;collapsible=0;dropTarget=0;fillColor=none;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;";q=null!=q?q:"shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;strokeColor=inherit;overflow=hidden;fillColor=none;top=0;left=0;bottom=0;right=0;pointerEvents=1;";return this.createParent(this.createVertex(null,
+null,null!=h?h:"",0,0,b*e,a*f+(null!=h?d:0),null!=g?g:"shape=table;startSize="+(null!=h?d:"0")+";container=1;collapsible=0;childLayout=tableLayout;"),this.createParent(this.createVertex(null,null,"",0,0,b*e,f,n),this.createVertex(null,null,"",0,0,e,f,q),b,e,0),a,0,f)};
+Graph.prototype.setTableValues=function(a,b,e){for(var f=this.model.getChildCells(a,!0),h=0;h<f.length;h++)if(null!=e&&(f[h].value=e[h]),null!=b)for(var d=this.model.getChildCells(f[h],!0),g=0;g<d.length;g++)null!=b[h][g]&&(d[g].value=b[h][g]);return a};
+Graph.prototype.createCrossFunctionalSwimlane=function(a,b,e,f,h,d,g,n,q){e=null!=e?e:120;f=null!=f?f:120;g=null!=g?g:"shape=tableRow;horizontal=0;swimlaneHead=0;swimlaneBody=0;top=0;left=0;strokeColor=inherit;bottom=0;right=0;dropTarget=0;fontStyle=0;fillColor=none;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;startSize=40;collapsible=0;recursiveResize=0;expand=0;";n=null!=n?n:"swimlane;swimlaneHead=0;swimlaneBody=0;fontStyle=0;strokeColor=inherit;connectable=0;fillColor=none;startSize=40;collapsible=0;recursiveResize=0;expand=0;";
+q=null!=q?q:"swimlane;swimlaneHead=0;swimlaneBody=0;fontStyle=0;connectable=0;strokeColor=inherit;fillColor=none;startSize=0;collapsible=0;recursiveResize=0;expand=0;";h=this.createVertex(null,null,null!=h?h:"",0,0,b*e,a*f,null!=d?d:"shape=table;childLayout=tableLayout;"+(null==h?"startSize=0;fillColor=none;":"startSize=40;")+"collapsible=0;recursiveResize=0;expand=0;");d=mxUtils.getValue(this.getCellStyle(h),mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE);h.geometry.width+=d;h.geometry.height+=
+d;g=this.createVertex(null,null,"",0,d,b*e+d,f,g);h.insert(this.createParent(g,this.createVertex(null,null,"",d,0,e,f,n),b,e,0));return 1<a?(g.geometry.y=f+d,this.createParent(h,this.createParent(g,this.createVertex(null,null,"",d,0,e,f,q),b,e,0),a-1,0,f)):h};
+Graph.prototype.visitTableCells=function(a,b){var e=null,f=this.model.getChildCells(a,!0);a=this.getActualStartSize(a,!0);for(var h=0;h<f.length;h++){for(var d=this.getActualStartSize(f[h],!0),g=this.model.getChildCells(f[h],!0),n=this.getCellStyle(f[h],!0),q=null,k=[],p=0;p<g.length;p++){var w=this.getCellGeometry(g[p]),z={cell:g[p],rospan:1,colspan:1,row:h,col:p,geo:w};w=null!=w.alternateBounds?w.alternateBounds:w;z.point=new mxPoint(w.width+(null!=q?q.point.x:a.x+d.x),w.height+(null!=e&&null!=
+e[0]?e[0].point.y:a.y+d.y));z.actual=z;null!=e&&null!=e[p]&&1<e[p].rowspan?(z.rowspan=e[p].rowspan-1,z.colspan=e[p].colspan,z.actual=e[p].actual):null!=q&&1<q.colspan?(z.rowspan=q.rowspan,z.colspan=q.colspan-1,z.actual=q.actual):(q=this.getCurrentCellStyle(g[p],!0),null!=q&&(z.rowspan=parseInt(q.rowspan||1),z.colspan=parseInt(q.colspan||1)));q=1==mxUtils.getValue(n,mxConstants.STYLE_SWIMLANE_HEAD,1)&&mxUtils.getValue(n,mxConstants.STYLE_STROKECOLOR,mxConstants.NONE)!=mxConstants.NONE;b(z,g.length,
+f.length,a.x+(q?d.x:0),a.y+(q?d.y:0));k.push(z);q=z}e=k}};Graph.prototype.getTableLines=function(a,b,e){var f=[],h=[];(b||e)&&this.visitTableCells(a,mxUtils.bind(this,function(d,g,n,q,k){b&&d.row<n-1&&(null==f[d.row]&&(f[d.row]=[new mxPoint(q,d.point.y)]),1<d.rowspan&&f[d.row].push(null),f[d.row].push(d.point));e&&d.col<g-1&&(null==h[d.col]&&(h[d.col]=[new mxPoint(d.point.x,k)]),1<d.colspan&&h[d.col].push(null),h[d.col].push(d.point))}));return f.concat(h)};
Graph.prototype.isTableCell=function(a){return this.model.isVertex(a)&&this.isTableRow(this.model.getParent(a))};Graph.prototype.isTableRow=function(a){return this.model.isVertex(a)&&this.isTable(this.model.getParent(a))};Graph.prototype.isTable=function(a){a=this.getCellStyle(a);return null!=a&&"tableLayout"==a.childLayout};Graph.prototype.isStack=function(a){a=this.getCellStyle(a);return null!=a&&"stackLayout"==a.childLayout};
Graph.prototype.isStackChild=function(a){return this.model.isVertex(a)&&this.isStack(this.model.getParent(a))};
-Graph.prototype.setTableRowHeight=function(a,b,d){d=null!=d?d:!0;var e=this.getModel();e.beginUpdate();try{var g=this.getCellGeometry(a);if(null!=g){g=g.clone();g.height+=b;e.setGeometry(a,g);var f=e.getParent(a),h=e.getChildCells(f,!0);if(!d){var n=mxUtils.indexOf(h,a);if(n<h.length-1){var q=h[n+1],l=this.getCellGeometry(q);null!=l&&(l=l.clone(),l.y+=b,l.height-=b,e.setGeometry(q,l))}}var p=this.getCellGeometry(f);null!=p&&(d||(d=a==h[h.length-1]),d&&(p=p.clone(),p.height+=b,e.setGeometry(f,p)))}}finally{e.endUpdate()}};
-Graph.prototype.setTableColumnWidth=function(a,b,d){d=null!=d?d:!1;var e=this.getModel(),g=e.getParent(a),f=e.getParent(g),h=e.getChildCells(g,!0);a=mxUtils.indexOf(h,a);var n=a==h.length-1;e.beginUpdate();try{for(var q=e.getChildCells(f,!0),l=0;l<q.length;l++){g=q[l];h=e.getChildCells(g,!0);var p=h[a],w=this.getCellGeometry(p);null!=w&&(w=w.clone(),w.width+=b,null!=w.alternateBounds&&(w.alternateBounds.width+=b),e.setGeometry(p,w));a<h.length-1&&(p=h[a+1],w=this.getCellGeometry(p),null!=w&&(w=w.clone(),
-w.x+=b,d||(w.width-=b,null!=w.alternateBounds&&(w.alternateBounds.width-=b)),e.setGeometry(p,w)))}if(n||d){var z=this.getCellGeometry(f);null!=z&&(z=z.clone(),z.width+=b,e.setGeometry(f,z))}null!=this.layoutManager&&this.layoutManager.executeLayout(f)}finally{e.endUpdate()}};function TableLayout(a){mxGraphLayout.call(this,a)}TableLayout.prototype=new mxStackLayout;TableLayout.prototype.constructor=TableLayout;TableLayout.prototype.isHorizontal=function(){return!1};
-TableLayout.prototype.isVertexIgnored=function(a){return!this.graph.getModel().isVertex(a)||!this.graph.isCellVisible(a)};TableLayout.prototype.getSize=function(a,b){for(var d=0,e=0;e<a.length;e++)if(!this.isVertexIgnored(a[e])){var g=this.graph.getCellGeometry(a[e]);null!=g&&(d+=b?g.width:g.height)}return d};
-TableLayout.prototype.getRowLayout=function(a,b){var d=this.graph.model.getChildCells(a,!0),e=this.graph.getActualStartSize(a,!0);a=this.getSize(d,!0);b=b-e.x-e.width;var g=[];e=e.x;for(var f=0;f<d.length;f++){var h=this.graph.getCellGeometry(d[f]);null!=h&&(e+=(null!=h.alternateBounds?h.alternateBounds.width:h.width)*b/a,g.push(Math.round(e)))}return g};
-TableLayout.prototype.layoutRow=function(a,b,d,e){var g=this.graph.getModel(),f=g.getChildCells(a,!0);a=this.graph.getActualStartSize(a,!0);var h=a.x,n=0;null!=b&&(b=b.slice(),b.splice(0,0,a.x));for(var q=0;q<f.length;q++){var l=this.graph.getCellGeometry(f[q]);null!=l&&(l=l.clone(),l.y=a.y,l.height=d-a.y-a.height,null!=b?(l.x=b[q],l.width=b[q+1]-l.x,q==f.length-1&&q<b.length-2&&(l.width=e-l.x-a.x-a.width)):(l.x=h,h+=l.width,q==f.length-1?l.width=e-a.x-a.width-n:n+=l.width),l.alternateBounds=new mxRectangle(0,
-0,l.width,l.height),g.setGeometry(f[q],l))}return n};
-TableLayout.prototype.execute=function(a){if(null!=a){var b=this.graph.getActualStartSize(a,!0),d=this.graph.getCellGeometry(a),e=this.graph.getCellStyle(a),g="1"==mxUtils.getValue(e,"resizeLastRow","0"),f="1"==mxUtils.getValue(e,"resizeLast","0");e="1"==mxUtils.getValue(e,"fixedRows","0");var h=this.graph.getModel(),n=0;h.beginUpdate();try{for(var q=d.height-b.y-b.height,l=d.width-b.x-b.width,p=h.getChildCells(a,!0),w=0;w<p.length;w++)h.setVisible(p[w],!0);var z=this.getSize(p,!1);if(0<q&&0<l&&0<
-p.length&&0<z){if(g){var C=this.graph.getCellGeometry(p[p.length-1]);null!=C&&(C=C.clone(),C.height=q-z+C.height,h.setGeometry(p[p.length-1],C))}var F=f?null:this.getRowLayout(p[0],l),D=[],G=b.y;for(w=0;w<p.length;w++)C=this.graph.getCellGeometry(p[w]),null!=C&&(C=C.clone(),C.x=b.x,C.width=l,C.y=Math.round(G),G=g||e?G+C.height:G+C.height/z*q,C.height=Math.round(G)-C.y,h.setGeometry(p[w],C)),n=Math.max(n,this.layoutRow(p[w],F,C.height,l,D));e&&q<z&&(d=d.clone(),d.height=G+b.height,h.setGeometry(a,
-d));f&&l<n+Graph.minTableColumnWidth&&(d=d.clone(),d.width=n+b.width+b.x+Graph.minTableColumnWidth,h.setGeometry(a,d));this.graph.visitTableCells(a,mxUtils.bind(this,function(K){h.setVisible(K.cell,K.actual.cell==K.cell);if(K.actual.cell!=K.cell){if(K.actual.row==K.row){var I=null!=K.geo.alternateBounds?K.geo.alternateBounds:K.geo;K.actual.geo.width+=I.width}K.actual.col==K.col&&(I=null!=K.geo.alternateBounds?K.geo.alternateBounds:K.geo,K.actual.geo.height+=I.height)}}))}else for(w=0;w<p.length;w++)h.setVisible(p[w],
-!1)}finally{h.endUpdate()}}};
+Graph.prototype.setTableRowHeight=function(a,b,e){e=null!=e?e:!0;var f=this.getModel();f.beginUpdate();try{var h=this.getCellGeometry(a);if(null!=h){h=h.clone();h.height+=b;f.setGeometry(a,h);var d=f.getParent(a),g=f.getChildCells(d,!0);if(!e){var n=mxUtils.indexOf(g,a);if(n<g.length-1){var q=g[n+1],k=this.getCellGeometry(q);null!=k&&(k=k.clone(),k.y+=b,k.height-=b,f.setGeometry(q,k))}}var p=this.getCellGeometry(d);null!=p&&(e||(e=a==g[g.length-1]),e&&(p=p.clone(),p.height+=b,f.setGeometry(d,p)))}}finally{f.endUpdate()}};
+Graph.prototype.setTableColumnWidth=function(a,b,e){e=null!=e?e:!1;var f=this.getModel(),h=f.getParent(a),d=f.getParent(h),g=f.getChildCells(h,!0);a=mxUtils.indexOf(g,a);var n=a==g.length-1;f.beginUpdate();try{for(var q=f.getChildCells(d,!0),k=0;k<q.length;k++){h=q[k];g=f.getChildCells(h,!0);var p=g[a],w=this.getCellGeometry(p);null!=w&&(w=w.clone(),w.width+=b,null!=w.alternateBounds&&(w.alternateBounds.width+=b),f.setGeometry(p,w));a<g.length-1&&(p=g[a+1],w=this.getCellGeometry(p),null!=w&&(w=w.clone(),
+w.x+=b,e||(w.width-=b,null!=w.alternateBounds&&(w.alternateBounds.width-=b)),f.setGeometry(p,w)))}if(n||e){var z=this.getCellGeometry(d);null!=z&&(z=z.clone(),z.width+=b,f.setGeometry(d,z))}null!=this.layoutManager&&this.layoutManager.executeLayout(d)}finally{f.endUpdate()}};function TableLayout(a){mxGraphLayout.call(this,a)}TableLayout.prototype=new mxStackLayout;TableLayout.prototype.constructor=TableLayout;TableLayout.prototype.isHorizontal=function(){return!1};
+TableLayout.prototype.isVertexIgnored=function(a){return!this.graph.getModel().isVertex(a)||!this.graph.isCellVisible(a)};TableLayout.prototype.getSize=function(a,b){for(var e=0,f=0;f<a.length;f++)if(!this.isVertexIgnored(a[f])){var h=this.graph.getCellGeometry(a[f]);null!=h&&(e+=b?h.width:h.height)}return e};
+TableLayout.prototype.getRowLayout=function(a,b){var e=this.graph.model.getChildCells(a,!0),f=this.graph.getActualStartSize(a,!0);a=this.getSize(e,!0);b=b-f.x-f.width;var h=[];f=f.x;for(var d=0;d<e.length;d++){var g=this.graph.getCellGeometry(e[d]);null!=g&&(f+=(null!=g.alternateBounds?g.alternateBounds.width:g.width)*b/a,h.push(Math.round(f)))}return h};
+TableLayout.prototype.layoutRow=function(a,b,e,f){var h=this.graph.getModel(),d=h.getChildCells(a,!0);a=this.graph.getActualStartSize(a,!0);var g=a.x,n=0;null!=b&&(b=b.slice(),b.splice(0,0,a.x));for(var q=0;q<d.length;q++){var k=this.graph.getCellGeometry(d[q]);null!=k&&(k=k.clone(),k.y=a.y,k.height=e-a.y-a.height,null!=b?(k.x=b[q],k.width=b[q+1]-k.x,q==d.length-1&&q<b.length-2&&(k.width=f-k.x-a.x-a.width)):(k.x=g,g+=k.width,q==d.length-1?k.width=f-a.x-a.width-n:n+=k.width),k.alternateBounds=new mxRectangle(0,
+0,k.width,k.height),h.setGeometry(d[q],k))}return n};
+TableLayout.prototype.execute=function(a){if(null!=a){var b=this.graph.getActualStartSize(a,!0),e=this.graph.getCellGeometry(a),f=this.graph.getCellStyle(a),h="1"==mxUtils.getValue(f,"resizeLastRow","0"),d="1"==mxUtils.getValue(f,"resizeLast","0");f="1"==mxUtils.getValue(f,"fixedRows","0");var g=this.graph.getModel(),n=0;g.beginUpdate();try{for(var q=e.height-b.y-b.height,k=e.width-b.x-b.width,p=g.getChildCells(a,!0),w=0;w<p.length;w++)g.setVisible(p[w],!0);var z=this.getSize(p,!1);if(0<q&&0<k&&0<
+p.length&&0<z){if(h){var C=this.graph.getCellGeometry(p[p.length-1]);null!=C&&(C=C.clone(),C.height=q-z+C.height,g.setGeometry(p[p.length-1],C))}var F=d?null:this.getRowLayout(p[0],k),D=[],H=b.y;for(w=0;w<p.length;w++)C=this.graph.getCellGeometry(p[w]),null!=C&&(C=C.clone(),C.x=b.x,C.width=k,C.y=Math.round(H),H=h||f?H+C.height:H+C.height/z*q,C.height=Math.round(H)-C.y,g.setGeometry(p[w],C)),n=Math.max(n,this.layoutRow(p[w],F,C.height,k,D));f&&q<z&&(e=e.clone(),e.height=H+b.height,g.setGeometry(a,
+e));d&&k<n+Graph.minTableColumnWidth&&(e=e.clone(),e.width=n+b.width+b.x+Graph.minTableColumnWidth,g.setGeometry(a,e));this.graph.visitTableCells(a,mxUtils.bind(this,function(K){g.setVisible(K.cell,K.actual.cell==K.cell);if(K.actual.cell!=K.cell){if(K.actual.row==K.row){var G=null!=K.geo.alternateBounds?K.geo.alternateBounds:K.geo;K.actual.geo.width+=G.width}K.actual.col==K.col&&(G=null!=K.geo.alternateBounds?K.geo.alternateBounds:K.geo,K.actual.geo.height+=G.height)}}))}else for(w=0;w<p.length;w++)g.setVisible(p[w],
+!1)}finally{g.endUpdate()}}};
(function(){var a=mxGraphView.prototype.resetValidationState;mxGraphView.prototype.resetValidationState=function(){a.apply(this,arguments);this.validEdges=[]};var b=mxGraphView.prototype.validateCellState;mxGraphView.prototype.validateCellState=function(p,w){w=null!=w?w:!0;var z=this.getState(p);null!=z&&w&&this.graph.model.isEdge(z.cell)&&null!=z.style&&1!=z.style[mxConstants.STYLE_CURVED]&&!z.invalid&&this.updateLineJumps(z)&&this.graph.cellRenderer.redraw(z,!1,this.isRendering());z=b.apply(this,
-arguments);null!=z&&w&&this.graph.model.isEdge(z.cell)&&null!=z.style&&1!=z.style[mxConstants.STYLE_CURVED]&&this.validEdges.push(z);return z};var d=mxShape.prototype.paint;mxShape.prototype.isFlowAnimationEnabled=function(){return null!=this.state&&this.state.view.graph.enableFlowAnimation&&this.state.view.graph.model.isEdge(this.state.cell)&&"1"==mxUtils.getValue(this.state.style,"flowAnimation","0")};mxShape.prototype.getFlowAnimationPath=function(){var p=null!=this.node?this.node.getElementsByTagName("path"):
-null;if(null!=p)for(var w=0;w<p.length;w++)if("hidden"!=p[w].getAttribute("visibility"))return p[w];return null};mxShape.prototype.addFlowAnimationToShape=function(){null!=this.state&&this.state.view.graph.addFlowAnimationToNode(this.getFlowAnimationPath(),this.state.style,this.state.view.scale,this.state.view.graph.addFlowAnimationStyle())};mxShape.prototype.paint=function(p){d.apply(this,arguments);this.isFlowAnimationEnabled()&&this.addFlowAnimationToShape()};var e=mxCellRenderer.prototype.isShapeInvalid;
-mxCellRenderer.prototype.isShapeInvalid=function(p,w){return e.apply(this,arguments)||null!=p.routedPoints&&null!=w.routedPoints&&!mxUtils.equalPoints(w.routedPoints,p.routedPoints)};var g=mxGraphView.prototype.updateCellState;mxGraphView.prototype.updateCellState=function(p){g.apply(this,arguments);this.graph.model.isEdge(p.cell)&&1!=p.style[mxConstants.STYLE_CURVED]&&this.updateLineJumps(p)};mxGraphView.prototype.updateLineJumps=function(p){var w=p.absolutePoints;if(Graph.lineJumpsEnabled){var z=
-null!=p.routedPoints,C=null;if(null!=w&&null!=this.validEdges&&"none"!==mxUtils.getValue(p.style,"jumpStyle","none")){var F=function(ja,pa,P){var W=new mxPoint(pa,P);W.type=ja;C.push(W);W=null!=p.routedPoints?p.routedPoints[C.length-1]:null;return null==W||W.type!=ja||W.x!=pa||W.y!=P},D=.5*this.scale;z=!1;C=[];for(var G=0;G<w.length-1;G++){for(var K=w[G+1],I=w[G],O=[],H=w[G+2];G<w.length-2&&mxUtils.ptSegDistSq(I.x,I.y,H.x,H.y,K.x,K.y)<1*this.scale*this.scale;)K=H,G++,H=w[G+2];z=F(0,I.x,I.y)||z;for(var Z=
-0;Z<this.validEdges.length;Z++){var S=this.validEdges[Z],X=S.absolutePoints;if(null!=X&&mxUtils.intersects(p,S)&&"1"!=S.style.noJump){var Y=null;for(S=0;S<X.length-1;S++){var M=X[S+1],U=X[S];for(H=X[S+2];S<X.length-2&&mxUtils.ptSegDistSq(U.x,U.y,H.x,H.y,M.x,M.y)<1*this.scale*this.scale;)M=H,S++,H=X[S+2];var ba=mxUtils.intersection(I.x,I.y,K.x,K.y,U.x,U.y,M.x,M.y);if(null!=ba&&(Math.abs(ba.x-I.x)>D||Math.abs(ba.y-I.y)>D)&&(Math.abs(ba.x-K.x)>D||Math.abs(ba.y-K.y)>D)&&(null==Y||mxUtils.ptLineDist(I.x,
-I.y,K.x,K.y,Y.x,Y.y)>D||mxUtils.ptLineDist(I.x,I.y,K.x,K.y,U.x,U.y)>D)&&(null==H||mxUtils.ptLineDist(I.x,I.y,K.x,K.y,H.x,H.y)>D||mxUtils.ptLineDist(I.x,I.y,K.x,K.y,M.x,M.y)>D)){H=ba.x-I.x;Y=ba.y-I.y;ba={distSq:H*H+Y*Y,x:ba.x,y:ba.y};for(H=0;H<O.length;H++)if(O[H].distSq>ba.distSq){O.splice(H,0,ba);ba=null;break}null==ba||0!=O.length&&O[O.length-1].x===ba.x&&O[O.length-1].y===ba.y||O.push(ba)}Y=U}}}for(S=0;S<O.length;S++)z=F(1,O[S].x,O[S].y)||z}ba=w[w.length-1];z=F(0,ba.x,ba.y)||z}p.routedPoints=C;
-return z}return!1};var f=mxConnector.prototype.paintLine;mxConnector.prototype.paintLine=function(p,w,z){this.routedPoints=null!=this.state?this.state.routedPoints:null;if(this.outline||null==this.state||null==this.style||null==this.state.routedPoints||0==this.state.routedPoints.length)f.apply(this,arguments);else{var C=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2,F=(parseInt(mxUtils.getValue(this.style,"jumpSize",Graph.defaultJumpSize))-2)/2+this.strokewidth,
-D=mxUtils.getValue(this.style,"jumpStyle","none"),G=!0,K=null,I=null,O=[],H=null;p.begin();for(var Z=0;Z<this.state.routedPoints.length;Z++){var S=this.state.routedPoints[Z],X=new mxPoint(S.x/this.scale,S.y/this.scale);0==Z?X=w[0]:Z==this.state.routedPoints.length-1&&(X=w[w.length-1]);var Y=!1;if(null!=K&&1==S.type){var M=this.state.routedPoints[Z+1];S=M.x/this.scale-X.x;M=M.y/this.scale-X.y;S=S*S+M*M;null==H&&(H=new mxPoint(X.x-K.x,X.y-K.y),I=Math.sqrt(H.x*H.x+H.y*H.y),0<I?(H.x=H.x*F/I,H.y=H.y*F/
-I):H=null);S>F*F&&0<I&&(S=K.x-X.x,M=K.y-X.y,S=S*S+M*M,S>F*F&&(Y=new mxPoint(X.x-H.x,X.y-H.y),S=new mxPoint(X.x+H.x,X.y+H.y),O.push(Y),this.addPoints(p,O,z,C,!1,null,G),O=0>Math.round(H.x)||0==Math.round(H.x)&&0>=Math.round(H.y)?1:-1,G=!1,"sharp"==D?(p.lineTo(Y.x-H.y*O,Y.y+H.x*O),p.lineTo(S.x-H.y*O,S.y+H.x*O),p.lineTo(S.x,S.y)):"line"==D?(p.moveTo(Y.x+H.y*O,Y.y-H.x*O),p.lineTo(Y.x-H.y*O,Y.y+H.x*O),p.moveTo(S.x-H.y*O,S.y+H.x*O),p.lineTo(S.x+H.y*O,S.y-H.x*O),p.moveTo(S.x,S.y)):"arc"==D?(O*=1.3,p.curveTo(Y.x-
-H.y*O,Y.y+H.x*O,S.x-H.y*O,S.y+H.x*O,S.x,S.y)):(p.moveTo(S.x,S.y),G=!0),O=[S],Y=!0))}else H=null;Y||(O.push(X),K=X)}this.addPoints(p,O,z,C,!1,null,G);p.stroke()}};var h=mxGraphView.prototype.getFixedTerminalPoint;mxGraphView.prototype.getFixedTerminalPoint=function(p,w,z,C){return null!=w&&"centerPerimeter"==w.style[mxConstants.STYLE_PERIMETER]?new mxPoint(w.getCenterX(),w.getCenterY()):h.apply(this,arguments)};var n=mxGraphView.prototype.updateFloatingTerminalPoint;mxGraphView.prototype.updateFloatingTerminalPoint=
-function(p,w,z,C){if(null==w||null==p||"1"!=w.style.snapToPoint&&"1"!=p.style.snapToPoint)n.apply(this,arguments);else{w=this.getTerminalPort(p,w,C);var F=this.getNextPoint(p,z,C),D=this.graph.isOrthogonal(p),G=mxUtils.toRadians(Number(w.style[mxConstants.STYLE_ROTATION]||"0")),K=new mxPoint(w.getCenterX(),w.getCenterY());if(0!=G){var I=Math.cos(-G),O=Math.sin(-G);F=mxUtils.getRotatedPoint(F,I,O,K)}I=parseFloat(p.style[mxConstants.STYLE_PERIMETER_SPACING]||0);I+=parseFloat(p.style[C?mxConstants.STYLE_SOURCE_PERIMETER_SPACING:
-mxConstants.STYLE_TARGET_PERIMETER_SPACING]||0);F=this.getPerimeterPoint(w,F,0==G&&D,I);0!=G&&(I=Math.cos(G),O=Math.sin(G),F=mxUtils.getRotatedPoint(F,I,O,K));p.setAbsoluteTerminalPoint(this.snapToAnchorPoint(p,w,z,C,F),C)}};mxGraphView.prototype.snapToAnchorPoint=function(p,w,z,C,F){if(null!=w&&null!=p){p=this.graph.getAllConnectionConstraints(w);C=z=null;if(null!=p)for(var D=0;D<p.length;D++){var G=this.graph.getConnectionPoint(w,p[D]);if(null!=G){var K=(G.x-F.x)*(G.x-F.x)+(G.y-F.y)*(G.y-F.y);if(null==
-C||K<C)z=G,C=K}}null!=z&&(F=z)}return F};var q=mxStencil.prototype.evaluateTextAttribute;mxStencil.prototype.evaluateTextAttribute=function(p,w,z){var C=q.apply(this,arguments);"1"==p.getAttribute("placeholders")&&null!=z.state&&(C=z.state.view.graph.replacePlaceholders(z.state.cell,C));return C};var l=mxCellRenderer.prototype.createShape;mxCellRenderer.prototype.createShape=function(p){if(null!=p.style&&"undefined"!==typeof pako){var w=mxUtils.getValue(p.style,mxConstants.STYLE_SHAPE,null);if(null!=
-w&&"string"===typeof w&&"stencil("==w.substring(0,8))try{var z=w.substring(8,w.length-1),C=mxUtils.parseXml(Graph.decompress(z));return new mxShape(new mxStencil(C.documentElement))}catch(F){null!=window.console&&console.log("Error in shape: "+F)}}return l.apply(this,arguments)}})();mxStencilRegistry.libraries={};mxStencilRegistry.dynamicLoading=!0;mxStencilRegistry.allowEval=!0;mxStencilRegistry.packages=[];mxStencilRegistry.filesLoaded={};
+arguments);null!=z&&w&&this.graph.model.isEdge(z.cell)&&null!=z.style&&1!=z.style[mxConstants.STYLE_CURVED]&&this.validEdges.push(z);return z};var e=mxShape.prototype.paint;mxShape.prototype.isFlowAnimationEnabled=function(){return null!=this.state&&this.state.view.graph.enableFlowAnimation&&this.state.view.graph.model.isEdge(this.state.cell)&&"1"==mxUtils.getValue(this.state.style,"flowAnimation","0")};mxShape.prototype.getFlowAnimationPath=function(){var p=null!=this.node?this.node.getElementsByTagName("path"):
+null;if(null!=p)for(var w=0;w<p.length;w++)if("hidden"!=p[w].getAttribute("visibility"))return p[w];return null};mxShape.prototype.addFlowAnimationToShape=function(){null!=this.state&&this.state.view.graph.addFlowAnimationToNode(this.getFlowAnimationPath(),this.state.style,this.state.view.scale,this.state.view.graph.addFlowAnimationStyle())};mxShape.prototype.paint=function(p){e.apply(this,arguments);this.isFlowAnimationEnabled()&&this.addFlowAnimationToShape()};var f=mxCellRenderer.prototype.isShapeInvalid;
+mxCellRenderer.prototype.isShapeInvalid=function(p,w){return f.apply(this,arguments)||null!=p.routedPoints&&null!=w.routedPoints&&!mxUtils.equalPoints(w.routedPoints,p.routedPoints)};var h=mxGraphView.prototype.updateCellState;mxGraphView.prototype.updateCellState=function(p){h.apply(this,arguments);this.graph.model.isEdge(p.cell)&&1!=p.style[mxConstants.STYLE_CURVED]&&this.updateLineJumps(p)};mxGraphView.prototype.updateLineJumps=function(p){var w=p.absolutePoints;if(Graph.lineJumpsEnabled){var z=
+null!=p.routedPoints,C=null;if(null!=w&&null!=this.validEdges&&"none"!==mxUtils.getValue(p.style,"jumpStyle","none")){var F=function(ja,sa,O){var T=new mxPoint(sa,O);T.type=ja;C.push(T);T=null!=p.routedPoints?p.routedPoints[C.length-1]:null;return null==T||T.type!=ja||T.x!=sa||T.y!=O},D=.5*this.scale;z=!1;C=[];for(var H=0;H<w.length-1;H++){for(var K=w[H+1],G=w[H],P=[],I=w[H+2];H<w.length-2&&mxUtils.ptSegDistSq(G.x,G.y,I.x,I.y,K.x,K.y)<1*this.scale*this.scale;)K=I,H++,I=w[H+2];z=F(0,G.x,G.y)||z;for(var Z=
+0;Z<this.validEdges.length;Z++){var S=this.validEdges[Z],Y=S.absolutePoints;if(null!=Y&&mxUtils.intersects(p,S)&&"1"!=S.style.noJump){var V=null;for(S=0;S<Y.length-1;S++){var L=Y[S+1],U=Y[S];for(I=Y[S+2];S<Y.length-2&&mxUtils.ptSegDistSq(U.x,U.y,I.x,I.y,L.x,L.y)<1*this.scale*this.scale;)L=I,S++,I=Y[S+2];var ba=mxUtils.intersection(G.x,G.y,K.x,K.y,U.x,U.y,L.x,L.y);if(null!=ba&&(Math.abs(ba.x-G.x)>D||Math.abs(ba.y-G.y)>D)&&(Math.abs(ba.x-K.x)>D||Math.abs(ba.y-K.y)>D)&&(null==V||mxUtils.ptLineDist(G.x,
+G.y,K.x,K.y,V.x,V.y)>D||mxUtils.ptLineDist(G.x,G.y,K.x,K.y,U.x,U.y)>D)&&(null==I||mxUtils.ptLineDist(G.x,G.y,K.x,K.y,I.x,I.y)>D||mxUtils.ptLineDist(G.x,G.y,K.x,K.y,L.x,L.y)>D)){I=ba.x-G.x;V=ba.y-G.y;ba={distSq:I*I+V*V,x:ba.x,y:ba.y};for(I=0;I<P.length;I++)if(P[I].distSq>ba.distSq){P.splice(I,0,ba);ba=null;break}null==ba||0!=P.length&&P[P.length-1].x===ba.x&&P[P.length-1].y===ba.y||P.push(ba)}V=U}}}for(S=0;S<P.length;S++)z=F(1,P[S].x,P[S].y)||z}ba=w[w.length-1];z=F(0,ba.x,ba.y)||z}p.routedPoints=C;
+return z}return!1};var d=mxConnector.prototype.paintLine;mxConnector.prototype.paintLine=function(p,w,z){this.routedPoints=null!=this.state?this.state.routedPoints:null;if(this.outline||null==this.state||null==this.style||null==this.state.routedPoints||0==this.state.routedPoints.length)d.apply(this,arguments);else{var C=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2,F=(parseInt(mxUtils.getValue(this.style,"jumpSize",Graph.defaultJumpSize))-2)/2+this.strokewidth,
+D=mxUtils.getValue(this.style,"jumpStyle","none"),H=!0,K=null,G=null,P=[],I=null;p.begin();for(var Z=0;Z<this.state.routedPoints.length;Z++){var S=this.state.routedPoints[Z],Y=new mxPoint(S.x/this.scale,S.y/this.scale);0==Z?Y=w[0]:Z==this.state.routedPoints.length-1&&(Y=w[w.length-1]);var V=!1;if(null!=K&&1==S.type){var L=this.state.routedPoints[Z+1];S=L.x/this.scale-Y.x;L=L.y/this.scale-Y.y;S=S*S+L*L;null==I&&(I=new mxPoint(Y.x-K.x,Y.y-K.y),G=Math.sqrt(I.x*I.x+I.y*I.y),0<G?(I.x=I.x*F/G,I.y=I.y*F/
+G):I=null);S>F*F&&0<G&&(S=K.x-Y.x,L=K.y-Y.y,S=S*S+L*L,S>F*F&&(V=new mxPoint(Y.x-I.x,Y.y-I.y),S=new mxPoint(Y.x+I.x,Y.y+I.y),P.push(V),this.addPoints(p,P,z,C,!1,null,H),P=0>Math.round(I.x)||0==Math.round(I.x)&&0>=Math.round(I.y)?1:-1,H=!1,"sharp"==D?(p.lineTo(V.x-I.y*P,V.y+I.x*P),p.lineTo(S.x-I.y*P,S.y+I.x*P),p.lineTo(S.x,S.y)):"line"==D?(p.moveTo(V.x+I.y*P,V.y-I.x*P),p.lineTo(V.x-I.y*P,V.y+I.x*P),p.moveTo(S.x-I.y*P,S.y+I.x*P),p.lineTo(S.x+I.y*P,S.y-I.x*P),p.moveTo(S.x,S.y)):"arc"==D?(P*=1.3,p.curveTo(V.x-
+I.y*P,V.y+I.x*P,S.x-I.y*P,S.y+I.x*P,S.x,S.y)):(p.moveTo(S.x,S.y),H=!0),P=[S],V=!0))}else I=null;V||(P.push(Y),K=Y)}this.addPoints(p,P,z,C,!1,null,H);p.stroke()}};var g=mxGraphView.prototype.getFixedTerminalPoint;mxGraphView.prototype.getFixedTerminalPoint=function(p,w,z,C){return null!=w&&"centerPerimeter"==w.style[mxConstants.STYLE_PERIMETER]?new mxPoint(w.getCenterX(),w.getCenterY()):g.apply(this,arguments)};var n=mxGraphView.prototype.updateFloatingTerminalPoint;mxGraphView.prototype.updateFloatingTerminalPoint=
+function(p,w,z,C){if(null==w||null==p||"1"!=w.style.snapToPoint&&"1"!=p.style.snapToPoint)n.apply(this,arguments);else{w=this.getTerminalPort(p,w,C);var F=this.getNextPoint(p,z,C),D=this.graph.isOrthogonal(p),H=mxUtils.toRadians(Number(w.style[mxConstants.STYLE_ROTATION]||"0")),K=new mxPoint(w.getCenterX(),w.getCenterY());if(0!=H){var G=Math.cos(-H),P=Math.sin(-H);F=mxUtils.getRotatedPoint(F,G,P,K)}G=parseFloat(p.style[mxConstants.STYLE_PERIMETER_SPACING]||0);G+=parseFloat(p.style[C?mxConstants.STYLE_SOURCE_PERIMETER_SPACING:
+mxConstants.STYLE_TARGET_PERIMETER_SPACING]||0);F=this.getPerimeterPoint(w,F,0==H&&D,G);0!=H&&(G=Math.cos(H),P=Math.sin(H),F=mxUtils.getRotatedPoint(F,G,P,K));p.setAbsoluteTerminalPoint(this.snapToAnchorPoint(p,w,z,C,F),C)}};mxGraphView.prototype.snapToAnchorPoint=function(p,w,z,C,F){if(null!=w&&null!=p){p=this.graph.getAllConnectionConstraints(w);C=z=null;if(null!=p)for(var D=0;D<p.length;D++){var H=this.graph.getConnectionPoint(w,p[D]);if(null!=H){var K=(H.x-F.x)*(H.x-F.x)+(H.y-F.y)*(H.y-F.y);if(null==
+C||K<C)z=H,C=K}}null!=z&&(F=z)}return F};var q=mxStencil.prototype.evaluateTextAttribute;mxStencil.prototype.evaluateTextAttribute=function(p,w,z){var C=q.apply(this,arguments);"1"==p.getAttribute("placeholders")&&null!=z.state&&(C=z.state.view.graph.replacePlaceholders(z.state.cell,C));return C};var k=mxCellRenderer.prototype.createShape;mxCellRenderer.prototype.createShape=function(p){if(null!=p.style&&"undefined"!==typeof pako){var w=mxUtils.getValue(p.style,mxConstants.STYLE_SHAPE,null);if(null!=
+w&&"string"===typeof w&&"stencil("==w.substring(0,8))try{var z=w.substring(8,w.length-1),C=mxUtils.parseXml(Graph.decompress(z));return new mxShape(new mxStencil(C.documentElement))}catch(F){null!=window.console&&console.log("Error in shape: "+F)}}return k.apply(this,arguments)}})();mxStencilRegistry.libraries={};mxStencilRegistry.dynamicLoading=!0;mxStencilRegistry.allowEval=!0;mxStencilRegistry.packages=[];mxStencilRegistry.filesLoaded={};
mxStencilRegistry.isFileLoaded=function(a){return!mxClient.IS_FF&&mxStencilRegistry.filesLoaded[a]};mxStencilRegistry.setFileLoaded=function(a){mxStencilRegistry.filesLoaded[a]=!0};
-mxStencilRegistry.getStencil=function(a){var b=mxStencilRegistry.stencils[a];if(null==b&&null==mxCellRenderer.defaultShapes[a]&&mxStencilRegistry.dynamicLoading){var d=mxStencilRegistry.getBasenameForStencil(a);if(null!=d){b=mxStencilRegistry.libraries[d];if(null!=b){if(null==mxStencilRegistry.packages[d]){for(var e=0;e<b.length;e++){var g=b[e];if(!mxStencilRegistry.isFileLoaded(g))if(mxStencilRegistry.setFileLoaded(g),".xml"==g.toLowerCase().substring(g.length-4,g.length))mxStencilRegistry.loadStencilSet(g,
-null);else if(".js"==g.toLowerCase().substring(g.length-3,g.length))try{if(mxStencilRegistry.allowEval){var f=mxUtils.load(g);null!=f&&200<=f.getStatus()&&299>=f.getStatus()&&eval.call(window,f.getText())}}catch(h){null!=window.console&&console.log("error in getStencil:",a,d,b,g,h)}}mxStencilRegistry.packages[d]=1}}else d=d.replace("_-_","_"),mxStencilRegistry.loadStencilSet(STENCIL_PATH+"/"+d+".xml",null);b=mxStencilRegistry.stencils[a]}}return b};
-mxStencilRegistry.getBasenameForStencil=function(a){var b=null;if(null!=a&&"string"===typeof a&&(a=a.split("."),0<a.length&&"mxgraph"==a[0])){b=a[1];for(var d=2;d<a.length-1;d++)b+="/"+a[d]}return b};
-mxStencilRegistry.loadStencilSet=function(a,b,d,e){var g=mxStencilRegistry.packages[a];if(null!=d&&d||null==g){var f=!1;if(null==g)try{if(e){mxStencilRegistry.loadStencil(a,mxUtils.bind(this,function(h){null!=h&&null!=h.documentElement&&(mxStencilRegistry.packages[a]=h,f=!0,mxStencilRegistry.parseStencilSet(h.documentElement,b,f))}));return}g=mxStencilRegistry.loadStencil(a);mxStencilRegistry.packages[a]=g;f=!0}catch(h){null!=window.console&&console.log("error in loadStencilSet:",a,h)}null!=g&&null!=
-g.documentElement&&mxStencilRegistry.parseStencilSet(g.documentElement,b,f)}};mxStencilRegistry.loadStencil=function(a,b){if(null!=b)mxUtils.get(a,mxUtils.bind(this,function(d){b(200<=d.getStatus()&&299>=d.getStatus()?d.getXml():null)}),mxUtils.bind(this,function(d){b(null)}));else return mxUtils.load(a).getXml()};mxStencilRegistry.parseStencilSets=function(a){for(var b=0;b<a.length;b++)mxStencilRegistry.parseStencilSet(mxUtils.parseXml(a[b]).documentElement)};
-mxStencilRegistry.parseStencilSet=function(a,b,d){if("stencils"==a.nodeName)for(var e=a.firstChild;null!=e;)"shapes"==e.nodeName&&mxStencilRegistry.parseStencilSet(e,b,d),e=e.nextSibling;else{d=null!=d?d:!0;e=a.firstChild;var g="";a=a.getAttribute("name");for(null!=a&&(g=a+".");null!=e;){if(e.nodeType==mxConstants.NODETYPE_ELEMENT&&(a=e.getAttribute("name"),null!=a)){g=g.toLowerCase();var f=a.replace(/ /g,"_");d&&mxStencilRegistry.addStencil(g+f.toLowerCase(),new mxStencil(e));if(null!=b){var h=e.getAttribute("w"),
-n=e.getAttribute("h");h=null==h?80:parseInt(h,10);n=null==n?80:parseInt(n,10);b(g,f,a,h,n)}}e=e.nextSibling}}};
+mxStencilRegistry.getStencil=function(a){var b=mxStencilRegistry.stencils[a];if(null==b&&null==mxCellRenderer.defaultShapes[a]&&mxStencilRegistry.dynamicLoading){var e=mxStencilRegistry.getBasenameForStencil(a);if(null!=e){b=mxStencilRegistry.libraries[e];if(null!=b){if(null==mxStencilRegistry.packages[e]){for(var f=0;f<b.length;f++){var h=b[f];if(!mxStencilRegistry.isFileLoaded(h))if(mxStencilRegistry.setFileLoaded(h),".xml"==h.toLowerCase().substring(h.length-4,h.length))mxStencilRegistry.loadStencilSet(h,
+null);else if(".js"==h.toLowerCase().substring(h.length-3,h.length))try{if(mxStencilRegistry.allowEval){var d=mxUtils.load(h);null!=d&&200<=d.getStatus()&&299>=d.getStatus()&&eval.call(window,d.getText())}}catch(g){null!=window.console&&console.log("error in getStencil:",a,e,b,h,g)}}mxStencilRegistry.packages[e]=1}}else e=e.replace("_-_","_"),mxStencilRegistry.loadStencilSet(STENCIL_PATH+"/"+e+".xml",null);b=mxStencilRegistry.stencils[a]}}return b};
+mxStencilRegistry.getBasenameForStencil=function(a){var b=null;if(null!=a&&"string"===typeof a&&(a=a.split("."),0<a.length&&"mxgraph"==a[0])){b=a[1];for(var e=2;e<a.length-1;e++)b+="/"+a[e]}return b};
+mxStencilRegistry.loadStencilSet=function(a,b,e,f){var h=mxStencilRegistry.packages[a];if(null!=e&&e||null==h){var d=!1;if(null==h)try{if(f){mxStencilRegistry.loadStencil(a,mxUtils.bind(this,function(g){null!=g&&null!=g.documentElement&&(mxStencilRegistry.packages[a]=g,d=!0,mxStencilRegistry.parseStencilSet(g.documentElement,b,d))}));return}h=mxStencilRegistry.loadStencil(a);mxStencilRegistry.packages[a]=h;d=!0}catch(g){null!=window.console&&console.log("error in loadStencilSet:",a,g)}null!=h&&null!=
+h.documentElement&&mxStencilRegistry.parseStencilSet(h.documentElement,b,d)}};mxStencilRegistry.loadStencil=function(a,b){if(null!=b)mxUtils.get(a,mxUtils.bind(this,function(e){b(200<=e.getStatus()&&299>=e.getStatus()?e.getXml():null)}),mxUtils.bind(this,function(e){b(null)}));else return mxUtils.load(a).getXml()};mxStencilRegistry.parseStencilSets=function(a){for(var b=0;b<a.length;b++)mxStencilRegistry.parseStencilSet(mxUtils.parseXml(a[b]).documentElement)};
+mxStencilRegistry.parseStencilSet=function(a,b,e){if("stencils"==a.nodeName)for(var f=a.firstChild;null!=f;)"shapes"==f.nodeName&&mxStencilRegistry.parseStencilSet(f,b,e),f=f.nextSibling;else{e=null!=e?e:!0;f=a.firstChild;var h="";a=a.getAttribute("name");for(null!=a&&(h=a+".");null!=f;){if(f.nodeType==mxConstants.NODETYPE_ELEMENT&&(a=f.getAttribute("name"),null!=a)){h=h.toLowerCase();var d=a.replace(/ /g,"_");e&&mxStencilRegistry.addStencil(h+d.toLowerCase(),new mxStencil(f));if(null!=b){var g=f.getAttribute("w"),
+n=f.getAttribute("h");g=null==g?80:parseInt(g,10);n=null==n?80:parseInt(n,10);b(h,d,a,g,n)}}f=f.nextSibling}}};
"undefined"!==typeof mxVertexHandler&&function(){function a(){var u=document.createElement("div");u.className="geHint";u.style.whiteSpace="nowrap";u.style.position="absolute";return u}function b(u,A){switch(A){case mxConstants.POINTS:return u;case mxConstants.MILLIMETERS:return(u/mxConstants.PIXELS_PER_MM).toFixed(1);case mxConstants.METERS:return(u/(1E3*mxConstants.PIXELS_PER_MM)).toFixed(4);case mxConstants.INCHES:return(u/mxConstants.PIXELS_PER_INCH).toFixed(3)}}mxConstants.HANDLE_FILLCOLOR="#29b6f2";
mxConstants.HANDLE_STROKECOLOR="#0088cf";mxConstants.VERTEX_SELECTION_COLOR="#00a8ff";mxConstants.OUTLINE_COLOR="#00a8ff";mxConstants.OUTLINE_HANDLE_FILLCOLOR="#99ccff";mxConstants.OUTLINE_HANDLE_STROKECOLOR="#00a8ff";mxConstants.CONNECT_HANDLE_FILLCOLOR="#cee7ff";mxConstants.EDGE_SELECTION_COLOR="#00a8ff";mxConstants.DEFAULT_VALID_COLOR="#00a8ff";mxConstants.LABEL_HANDLE_FILLCOLOR="#cee7ff";mxConstants.GUIDE_COLOR="#0088cf";mxConstants.HIGHLIGHT_STROKEWIDTH=5;mxConstants.HIGHLIGHT_OPACITY=50;mxConstants.HIGHLIGHT_SIZE=
5;mxWindow.prototype.closeImage=Graph.createSvgImage(18,10,'<path d="M 5 1 L 13 9 M 13 1 L 5 9" stroke="#707070" stroke-width="2"/>').src;mxWindow.prototype.minimizeImage=Graph.createSvgImage(14,10,'<path d="M 3 7 L 7 3 L 11 7" stroke="#707070" stroke-width="2" fill="none"/>').src;mxWindow.prototype.normalizeImage=Graph.createSvgImage(14,10,'<path d="M 3 3 L 7 7 L 11 3" stroke="#707070" stroke-width="2" fill="none"/>').src;mxWindow.prototype.resizeImage=Graph.createSvgImage(10,10,'<path d="Z" stroke="#C0C0C0" stroke-width="1" fill="none"/>').src;
-mxEdgeHandler.prototype.snapToTerminals=!0;mxGraphHandler.prototype.guidesEnabled=!0;mxGraphHandler.prototype.removeEmptyParents=!0;mxRubberband.prototype.fadeOut=!0;mxGuide.prototype.isEnabledForEvent=function(u){return!mxEvent.isAltDown(u)||mxEvent.isShiftDown(u)};var d=mxGraphLayout.prototype.isVertexIgnored;mxGraphLayout.prototype.isVertexIgnored=function(u){return d.apply(this,arguments)||this.graph.isTableRow(u)||this.graph.isTableCell(u)};var e=mxGraphLayout.prototype.isEdgeIgnored;mxGraphLayout.prototype.isEdgeIgnored=
-function(u){return e.apply(this,arguments)||this.graph.isEdgeIgnored(u)};var g=mxConnectionHandler.prototype.isCreateTarget;mxConnectionHandler.prototype.isCreateTarget=function(u){return this.graph.isCloneEvent(u)!=g.apply(this,arguments)};mxConstraintHandler.prototype.createHighlightShape=function(){var u=new mxEllipse(null,this.highlightColor,this.highlightColor,0);u.opacity=mxConstants.HIGHLIGHT_OPACITY;return u};mxConnectionHandler.prototype.livePreview=!0;mxConnectionHandler.prototype.cursor=
+mxEdgeHandler.prototype.snapToTerminals=!0;mxGraphHandler.prototype.guidesEnabled=!0;mxGraphHandler.prototype.removeEmptyParents=!0;mxRubberband.prototype.fadeOut=!0;mxGuide.prototype.isEnabledForEvent=function(u){return!mxEvent.isAltDown(u)||mxEvent.isShiftDown(u)};var e=mxGraphLayout.prototype.isVertexIgnored;mxGraphLayout.prototype.isVertexIgnored=function(u){return e.apply(this,arguments)||this.graph.isTableRow(u)||this.graph.isTableCell(u)};var f=mxGraphLayout.prototype.isEdgeIgnored;mxGraphLayout.prototype.isEdgeIgnored=
+function(u){return f.apply(this,arguments)||this.graph.isEdgeIgnored(u)};var h=mxConnectionHandler.prototype.isCreateTarget;mxConnectionHandler.prototype.isCreateTarget=function(u){return this.graph.isCloneEvent(u)!=h.apply(this,arguments)};mxConstraintHandler.prototype.createHighlightShape=function(){var u=new mxEllipse(null,this.highlightColor,this.highlightColor,0);u.opacity=mxConstants.HIGHLIGHT_OPACITY;return u};mxConnectionHandler.prototype.livePreview=!0;mxConnectionHandler.prototype.cursor=
"crosshair";mxConnectionHandler.prototype.createEdgeState=function(u){u=this.graph.createCurrentEdgeStyle();u=this.graph.createEdge(null,null,null,null,null,u);u=new mxCellState(this.graph.view,u,this.graph.getCellStyle(u));for(var A in this.graph.currentEdgeStyle)u.style[A]=this.graph.currentEdgeStyle[A];if(null!=this.previous){var B=this.previous.style.newEdgeStyle;if(null!=B)try{var E=JSON.parse(B);for(A in E)u.style[A]=E[A]}catch(N){}}u.style=this.graph.postProcessCellStyle(u.cell,u.style);return u};
-var f=mxConnectionHandler.prototype.createShape;mxConnectionHandler.prototype.createShape=function(){var u=f.apply(this,arguments);u.isDashed="1"==this.graph.currentEdgeStyle[mxConstants.STYLE_DASHED];return u};mxConnectionHandler.prototype.updatePreview=function(u){};var h=mxConnectionHandler.prototype.createMarker;mxConnectionHandler.prototype.createMarker=function(){var u=h.apply(this,arguments),A=u.getCell;u.getCell=mxUtils.bind(this,function(B){var E=A.apply(this,arguments);this.error=null;return E});
+var d=mxConnectionHandler.prototype.createShape;mxConnectionHandler.prototype.createShape=function(){var u=d.apply(this,arguments);u.isDashed="1"==this.graph.currentEdgeStyle[mxConstants.STYLE_DASHED];return u};mxConnectionHandler.prototype.updatePreview=function(u){};var g=mxConnectionHandler.prototype.createMarker;mxConnectionHandler.prototype.createMarker=function(){var u=g.apply(this,arguments),A=u.getCell;u.getCell=mxUtils.bind(this,function(B){var E=A.apply(this,arguments);this.error=null;return E});
return u};Graph.prototype.defaultVertexStyle={};Graph.prototype.defaultEdgeStyle={edgeStyle:"orthogonalEdgeStyle",rounded:"0",jettySize:"auto",orthogonalLoop:"1"};Graph.prototype.createCurrentEdgeStyle=function(){for(var u="edgeStyle="+(this.currentEdgeStyle.edgeStyle||"none")+";",A="shape curved rounded comic sketch fillWeight hachureGap hachureAngle jiggle disableMultiStroke disableMultiStrokeFill fillStyle curveFitting simplification comicStyle jumpStyle jumpSize".split(" "),B=0;B<A.length;B++)null!=
this.currentEdgeStyle[A[B]]&&(u+=A[B]+"="+this.currentEdgeStyle[A[B]]+";");null!=this.currentEdgeStyle.orthogonalLoop?u+="orthogonalLoop="+this.currentEdgeStyle.orthogonalLoop+";":null!=Graph.prototype.defaultEdgeStyle.orthogonalLoop&&(u+="orthogonalLoop="+Graph.prototype.defaultEdgeStyle.orthogonalLoop+";");null!=this.currentEdgeStyle.jettySize?u+="jettySize="+this.currentEdgeStyle.jettySize+";":null!=Graph.prototype.defaultEdgeStyle.jettySize&&(u+="jettySize="+Graph.prototype.defaultEdgeStyle.jettySize+
";");"elbowEdgeStyle"==this.currentEdgeStyle.edgeStyle&&null!=this.currentEdgeStyle.elbow&&(u+="elbow="+this.currentEdgeStyle.elbow+";");return u=null!=this.currentEdgeStyle.html?u+("html="+this.currentEdgeStyle.html+";"):u+"html=1;"};Graph.prototype.getPagePadding=function(){return new mxPoint(0,0)};Graph.prototype.loadStylesheet=function(){var u=null!=this.themes?this.themes[this.defaultThemeName]:mxStyleRegistry.dynamicLoading?mxUtils.load(STYLE_PATH+"/default.xml").getDocumentElement():null;null!=
u&&(new mxCodec(u.ownerDocument)).decode(u,this.getStylesheet())};Graph.prototype.createCellLookup=function(u,A){A=null!=A?A:{};for(var B=0;B<u.length;B++){var E=u[B];A[mxObjectIdentity.get(E)]=E.getId();for(var N=this.model.getChildCount(E),Q=0;Q<N;Q++)this.createCellLookup([this.model.getChildAt(E,Q)],A)}return A};Graph.prototype.createCellMapping=function(u,A,B){B=null!=B?B:{};for(var E in u){var N=A[E];null==B[N]&&(B[N]=u[E].getId()||"")}return B};Graph.prototype.importGraphModel=function(u,A,
-B,E){A=null!=A?A:0;B=null!=B?B:0;var N=new mxCodec(u.ownerDocument),Q=new mxGraphModel;N.decode(u,Q);u=[];N={};var T={},ia=Q.getChildren(this.cloneCell(Q.root,this.isCloneInvalidEdges(),N));if(null!=ia){var da=this.createCellLookup([Q.root]);ia=ia.slice();this.model.beginUpdate();try{if(1!=ia.length||this.isCellLocked(this.getDefaultParent()))for(Q=0;Q<ia.length;Q++)ha=this.model.getChildren(this.moveCells([ia[Q]],A,B,!1,this.model.getRoot())[0]),null!=ha&&(u=u.concat(ha));else{var ha=Q.getChildren(ia[0]);
-null!=ha&&(u=this.moveCells(ha,A,B,!1,this.getDefaultParent()),T[Q.getChildAt(Q.root,0).getId()]=this.getDefaultParent().getId())}if(null!=u&&(this.createCellMapping(N,da,T),this.updateCustomLinks(T,u),E)){this.isGridEnabled()&&(A=this.snap(A),B=this.snap(B));var ua=this.getBoundingBoxFromGeometry(u,!0);null!=ua&&this.moveCells(u,A-ua.x,B-ua.y)}}finally{this.model.endUpdate()}}return u};Graph.prototype.encodeCells=function(u){for(var A={},B=this.cloneCells(u,null,A),E=new mxDictionary,N=0;N<u.length;N++)E.put(u[N],
-!0);var Q=new mxCodec,T=new mxGraphModel,ia=T.getChildAt(T.getRoot(),0);for(N=0;N<B.length;N++){T.add(ia,B[N]);var da=this.view.getState(u[N]);if(null!=da){var ha=this.getCellGeometry(B[N]);null!=ha&&ha.relative&&!this.model.isEdge(u[N])&&null==E.get(this.model.getParent(u[N]))&&(ha.offset=null,ha.relative=!1,ha.x=da.x/da.view.scale-da.view.translate.x,ha.y=da.y/da.view.scale-da.view.translate.y)}}this.updateCustomLinks(this.createCellMapping(A,this.createCellLookup(u)),B);return Q.encode(T)};Graph.prototype.isSwimlane=
+B,E){A=null!=A?A:0;B=null!=B?B:0;var N=new mxCodec(u.ownerDocument),Q=new mxGraphModel;N.decode(u,Q);u=[];N={};var W={},ha=Q.getChildren(this.cloneCell(Q.root,this.isCloneInvalidEdges(),N));if(null!=ha){var fa=this.createCellLookup([Q.root]);ha=ha.slice();this.model.beginUpdate();try{if(1!=ha.length||this.isCellLocked(this.getDefaultParent()))for(Q=0;Q<ha.length;Q++)ia=this.model.getChildren(this.moveCells([ha[Q]],A,B,!1,this.model.getRoot())[0]),null!=ia&&(u=u.concat(ia));else{var ia=Q.getChildren(ha[0]);
+null!=ia&&(u=this.moveCells(ia,A,B,!1,this.getDefaultParent()),W[Q.getChildAt(Q.root,0).getId()]=this.getDefaultParent().getId())}if(null!=u&&(this.createCellMapping(N,fa,W),this.updateCustomLinks(W,u),E)){this.isGridEnabled()&&(A=this.snap(A),B=this.snap(B));var ya=this.getBoundingBoxFromGeometry(u,!0);null!=ya&&this.moveCells(u,A-ya.x,B-ya.y)}}finally{this.model.endUpdate()}}return u};Graph.prototype.encodeCells=function(u){for(var A={},B=this.cloneCells(u,null,A),E=new mxDictionary,N=0;N<u.length;N++)E.put(u[N],
+!0);var Q=new mxCodec,W=new mxGraphModel,ha=W.getChildAt(W.getRoot(),0);for(N=0;N<B.length;N++){W.add(ha,B[N]);var fa=this.view.getState(u[N]);if(null!=fa){var ia=this.getCellGeometry(B[N]);null!=ia&&ia.relative&&!this.model.isEdge(u[N])&&null==E.get(this.model.getParent(u[N]))&&(ia.offset=null,ia.relative=!1,ia.x=fa.x/fa.view.scale-fa.view.translate.x,ia.y=fa.y/fa.view.scale-fa.view.translate.y)}}this.updateCustomLinks(this.createCellMapping(A,this.createCellLookup(u)),B);return Q.encode(W)};Graph.prototype.isSwimlane=
function(u,A){var B=null;null==u||this.model.isEdge(u)||this.model.getParent(u)==this.model.getRoot()||(B=this.getCurrentCellStyle(u,A)[mxConstants.STYLE_SHAPE]);return B==mxConstants.SHAPE_SWIMLANE||"table"==B||"tableRow"==B};var n=Graph.prototype.isCellEditable;Graph.prototype.isCellEditable=function(u){return null!=u&&n.apply(this,arguments)?this.isTableCell(u)||this.isTableRow(u)?this.isCellEditable(this.model.getParent(u)):!0:!1};var q=Graph.prototype.isCellMovable;Graph.prototype.isCellMovable=
-function(u){return null!=u&&q.apply(this,arguments)?this.isTableCell(u)||this.isTableRow(u)?this.isCellMovable(this.model.getParent(u)):!0:!1};var l=Graph.prototype.isExtendParent;Graph.prototype.isExtendParent=function(u){var A=this.model.getParent(u);if(null!=A){var B=this.getCurrentCellStyle(A);if(null!=B.expand)return"0"!=B.expand}return l.apply(this,arguments)&&(null==A||!this.isTable(A))};var p=Graph.prototype.splitEdge;Graph.prototype.splitEdge=function(u,A,B,E,N,Q,T,ia){null==ia&&(ia=this.model.getParent(u),
-this.isTable(ia)||this.isTableRow(ia))&&(ia=this.getCellAt(Q,T,null,!0,!1));B=null;this.model.beginUpdate();try{B=p.apply(this,[u,A,B,E,N,Q,T,ia]);this.model.setValue(B,"");var da=this.getChildCells(B,!0);for(A=0;A<da.length;A++){var ha=this.getCellGeometry(da[A]);null!=ha&&ha.relative&&0<ha.x&&this.model.remove(da[A])}var ua=this.getChildCells(u,!0);for(A=0;A<ua.length;A++)ha=this.getCellGeometry(ua[A]),null!=ha&&ha.relative&&0>=ha.x&&this.model.remove(ua[A]);var Ja=this.model.getTerminal(B,!1);
-if(null!=Ja){var Ka=this.getCurrentCellStyle(Ja);null!=Ka&&"1"==Ka.snapToPoint&&(this.setCellStyles(mxConstants.STYLE_EXIT_X,null,[u]),this.setCellStyles(mxConstants.STYLE_EXIT_Y,null,[u]),this.setCellStyles(mxConstants.STYLE_ENTRY_X,null,[B]),this.setCellStyles(mxConstants.STYLE_ENTRY_Y,null,[B]))}}finally{this.model.endUpdate()}return B};var w=Graph.prototype.selectCell;Graph.prototype.selectCell=function(u,A,B){if(A||B)w.apply(this,arguments);else{var E=this.getSelectionCell(),N=null,Q=[],T=mxUtils.bind(this,
-function(ia){if(null!=this.view.getState(ia)&&(this.model.isVertex(ia)||this.model.isEdge(ia)))if(Q.push(ia),ia==E)N=Q.length-1;else if(u&&null==E&&0<Q.length||null!=N&&u&&Q.length>N||!u&&0<N)return;for(var da=0;da<this.model.getChildCount(ia);da++)T(this.model.getChildAt(ia,da))});T(this.model.root);0<Q.length&&(N=null!=N?mxUtils.mod(N+(u?1:-1),Q.length):0,this.setSelectionCell(Q[N]))}};Graph.prototype.swapShapes=function(u,A){if(this.model.isVertex(u)&&this.model.isVertex(A)&&2==this.getMovableCells([u,
-A]).length){var B=this.getCellGeometry(u),E=this.getCellGeometry(A);if(null!=B&&null!=E){var N=B.clone(),Q=E.clone();this.model.beginUpdate();try{N.x=E.getCenterX()-B.width/2,N.y=E.getCenterY()-B.height/2,Q.x=B.getCenterX()-E.width/2,Q.y=B.getCenterY()-E.height/2,this.model.setGeometry(u,N),this.model.setGeometry(A,Q)}finally{this.model.endUpdate()}}}};var z=Graph.prototype.moveCells;Graph.prototype.moveCells=function(u,A,B,E,N,Q,T){T=null!=T?T:{};if(this.isTable(N)){for(var ia=[],da=0;da<u.length;da++)this.isTable(u[da])?
-ia=ia.concat(this.model.getChildCells(u[da],!0).reverse()):ia.push(u[da]);u=ia}this.model.beginUpdate();try{ia=[];for(da=0;da<u.length;da++)if(null!=N&&this.isTableRow(u[da])){var ha=this.model.getParent(u[da]),ua=this.getCellGeometry(u[da]);this.isTable(ha)&&ia.push(ha);if(null!=ha&&null!=ua&&this.isTable(ha)&&this.isTable(N)&&(E||ha!=N)){if(!E){var Ja=this.getCellGeometry(ha);null!=Ja&&(Ja=Ja.clone(),Ja.height-=ua.height,this.model.setGeometry(ha,Ja))}Ja=this.getCellGeometry(N);null!=Ja&&(Ja=Ja.clone(),
-Ja.height+=ua.height,this.model.setGeometry(N,Ja));var Ka=this.model.getChildCells(N,!0);if(0<Ka.length){u[da]=E?this.cloneCell(u[da]):u[da];var xa=this.model.getChildCells(u[da],!0),Ba=this.model.getChildCells(Ka[0],!0),wa=Ba.length-xa.length;if(0<wa)for(var za=0;za<wa;za++){var Ya=this.cloneCell(xa[xa.length-1]);null!=Ya&&(Ya.value="",this.model.add(u[da],Ya))}else if(0>wa)for(za=0;za>wa;za--)this.model.remove(xa[xa.length+za-1]);xa=this.model.getChildCells(u[da],!0);for(za=0;za<Ba.length;za++){var Sa=
-this.getCellGeometry(Ba[za]),La=this.getCellGeometry(xa[za]);null!=Sa&&null!=La&&(La=La.clone(),La.width=Sa.width,this.model.setGeometry(xa[za],La))}}}}var Xa=z.apply(this,arguments);for(da=0;da<ia.length;da++)!E&&this.model.contains(ia[da])&&0==this.model.getChildCount(ia[da])&&this.model.remove(ia[da]);E&&this.updateCustomLinks(this.createCellMapping(T,this.createCellLookup(u)),Xa)}finally{this.model.endUpdate()}return Xa};var C=Graph.prototype.removeCells;Graph.prototype.removeCells=function(u,
-A){var B=[];this.model.beginUpdate();try{for(var E=0;E<u.length;E++)if(this.isTableCell(u[E])){var N=this.model.getParent(u[E]),Q=this.model.getParent(N);1==this.model.getChildCount(N)&&1==this.model.getChildCount(Q)?0>mxUtils.indexOf(u,Q)&&0>mxUtils.indexOf(B,Q)&&B.push(Q):this.labelChanged(u[E],"")}else{if(this.isTableRow(u[E])&&(Q=this.model.getParent(u[E]),0>mxUtils.indexOf(u,Q)&&0>mxUtils.indexOf(B,Q))){for(var T=this.model.getChildCells(Q,!0),ia=0,da=0;da<T.length;da++)0<=mxUtils.indexOf(u,
-T[da])&&ia++;ia==T.length&&B.push(Q)}B.push(u[E])}B=C.apply(this,[B,A])}finally{this.model.endUpdate()}return B};Graph.prototype.updateCustomLinks=function(u,A,B){B=null!=B?B:new Graph;for(var E=0;E<A.length;E++)null!=A[E]&&B.updateCustomLinksForCell(u,A[E],B)};Graph.prototype.updateCustomLinksForCell=function(u,A){this.doUpdateCustomLinksForCell(u,A);for(var B=this.model.getChildCount(A),E=0;E<B;E++)this.updateCustomLinksForCell(u,this.model.getChildAt(A,E))};Graph.prototype.doUpdateCustomLinksForCell=
+function(u){return null!=u&&q.apply(this,arguments)?this.isTableCell(u)||this.isTableRow(u)?this.isCellMovable(this.model.getParent(u)):!0:!1};var k=Graph.prototype.isExtendParent;Graph.prototype.isExtendParent=function(u){var A=this.model.getParent(u);if(null!=A){var B=this.getCurrentCellStyle(A);if(null!=B.expand)return"0"!=B.expand}return k.apply(this,arguments)&&(null==A||!this.isTable(A))};var p=Graph.prototype.splitEdge;Graph.prototype.splitEdge=function(u,A,B,E,N,Q,W,ha){null==ha&&(ha=this.model.getParent(u),
+this.isTable(ha)||this.isTableRow(ha))&&(ha=this.getCellAt(Q,W,null,!0,!1));B=null;this.model.beginUpdate();try{B=p.apply(this,[u,A,B,E,N,Q,W,ha]);this.model.setValue(B,"");var fa=this.getChildCells(B,!0);for(A=0;A<fa.length;A++){var ia=this.getCellGeometry(fa[A]);null!=ia&&ia.relative&&0<ia.x&&this.model.remove(fa[A])}var ya=this.getChildCells(u,!0);for(A=0;A<ya.length;A++)ia=this.getCellGeometry(ya[A]),null!=ia&&ia.relative&&0>=ia.x&&this.model.remove(ya[A]);var xa=this.model.getTerminal(B,!1);
+if(null!=xa){var Da=this.getCurrentCellStyle(xa);null!=Da&&"1"==Da.snapToPoint&&(this.setCellStyles(mxConstants.STYLE_EXIT_X,null,[u]),this.setCellStyles(mxConstants.STYLE_EXIT_Y,null,[u]),this.setCellStyles(mxConstants.STYLE_ENTRY_X,null,[B]),this.setCellStyles(mxConstants.STYLE_ENTRY_Y,null,[B]))}}finally{this.model.endUpdate()}return B};var w=Graph.prototype.selectCell;Graph.prototype.selectCell=function(u,A,B){if(A||B)w.apply(this,arguments);else{var E=this.getSelectionCell(),N=null,Q=[],W=mxUtils.bind(this,
+function(ha){if(null!=this.view.getState(ha)&&(this.model.isVertex(ha)||this.model.isEdge(ha)))if(Q.push(ha),ha==E)N=Q.length-1;else if(u&&null==E&&0<Q.length||null!=N&&u&&Q.length>N||!u&&0<N)return;for(var fa=0;fa<this.model.getChildCount(ha);fa++)W(this.model.getChildAt(ha,fa))});W(this.model.root);0<Q.length&&(N=null!=N?mxUtils.mod(N+(u?1:-1),Q.length):0,this.setSelectionCell(Q[N]))}};Graph.prototype.swapShapes=function(u,A){if(this.model.isVertex(u)&&this.model.isVertex(A)&&2==this.getMovableCells([u,
+A]).length){var B=this.getCellGeometry(u),E=this.getCellGeometry(A);if(null!=B&&null!=E){var N=B.clone(),Q=E.clone();this.model.beginUpdate();try{N.x=E.getCenterX()-B.width/2,N.y=E.getCenterY()-B.height/2,Q.x=B.getCenterX()-E.width/2,Q.y=B.getCenterY()-E.height/2,this.model.setGeometry(u,N),this.model.setGeometry(A,Q)}finally{this.model.endUpdate()}}}};var z=Graph.prototype.moveCells;Graph.prototype.moveCells=function(u,A,B,E,N,Q,W){W=null!=W?W:{};if(this.isTable(N)){for(var ha=[],fa=0;fa<u.length;fa++)this.isTable(u[fa])?
+ha=ha.concat(this.model.getChildCells(u[fa],!0).reverse()):ha.push(u[fa]);u=ha}this.model.beginUpdate();try{ha=[];for(fa=0;fa<u.length;fa++)if(null!=N&&this.isTableRow(u[fa])){var ia=this.model.getParent(u[fa]),ya=this.getCellGeometry(u[fa]);this.isTable(ia)&&ha.push(ia);if(null!=ia&&null!=ya&&this.isTable(ia)&&this.isTable(N)&&(E||ia!=N)){if(!E){var xa=this.getCellGeometry(ia);null!=xa&&(xa=xa.clone(),xa.height-=ya.height,this.model.setGeometry(ia,xa))}xa=this.getCellGeometry(N);null!=xa&&(xa=xa.clone(),
+xa.height+=ya.height,this.model.setGeometry(N,xa));var Da=this.model.getChildCells(N,!0);if(0<Da.length){u[fa]=E?this.cloneCell(u[fa]):u[fa];var Oa=this.model.getChildCells(u[fa],!0),Ma=this.model.getChildCells(Da[0],!0),Aa=Ma.length-Oa.length;if(0<Aa)for(var va=0;va<Aa;va++){var Ya=this.cloneCell(Oa[Oa.length-1]);null!=Ya&&(Ya.value="",this.model.add(u[fa],Ya))}else if(0>Aa)for(va=0;va>Aa;va--)this.model.remove(Oa[Oa.length+va-1]);Oa=this.model.getChildCells(u[fa],!0);for(va=0;va<Ma.length;va++){var Ta=
+this.getCellGeometry(Ma[va]),Ka=this.getCellGeometry(Oa[va]);null!=Ta&&null!=Ka&&(Ka=Ka.clone(),Ka.width=Ta.width,this.model.setGeometry(Oa[va],Ka))}}}}var Wa=z.apply(this,arguments);for(fa=0;fa<ha.length;fa++)!E&&this.model.contains(ha[fa])&&0==this.model.getChildCount(ha[fa])&&this.model.remove(ha[fa]);E&&this.updateCustomLinks(this.createCellMapping(W,this.createCellLookup(u)),Wa)}finally{this.model.endUpdate()}return Wa};var C=Graph.prototype.removeCells;Graph.prototype.removeCells=function(u,
+A){var B=[];this.model.beginUpdate();try{for(var E=0;E<u.length;E++)if(this.isTableCell(u[E])){var N=this.model.getParent(u[E]),Q=this.model.getParent(N);1==this.model.getChildCount(N)&&1==this.model.getChildCount(Q)?0>mxUtils.indexOf(u,Q)&&0>mxUtils.indexOf(B,Q)&&B.push(Q):this.labelChanged(u[E],"")}else{if(this.isTableRow(u[E])&&(Q=this.model.getParent(u[E]),0>mxUtils.indexOf(u,Q)&&0>mxUtils.indexOf(B,Q))){for(var W=this.model.getChildCells(Q,!0),ha=0,fa=0;fa<W.length;fa++)0<=mxUtils.indexOf(u,
+W[fa])&&ha++;ha==W.length&&B.push(Q)}B.push(u[E])}B=C.apply(this,[B,A])}finally{this.model.endUpdate()}return B};Graph.prototype.updateCustomLinks=function(u,A,B){B=null!=B?B:new Graph;for(var E=0;E<A.length;E++)null!=A[E]&&B.updateCustomLinksForCell(u,A[E],B)};Graph.prototype.updateCustomLinksForCell=function(u,A){this.doUpdateCustomLinksForCell(u,A);for(var B=this.model.getChildCount(A),E=0;E<B;E++)this.updateCustomLinksForCell(u,this.model.getChildAt(A,E))};Graph.prototype.doUpdateCustomLinksForCell=
function(u,A){};Graph.prototype.getAllConnectionConstraints=function(u,A){if(null!=u){A=mxUtils.getValue(u.style,"points",null);if(null!=A){u=[];try{var B=JSON.parse(A);for(A=0;A<B.length;A++){var E=B[A];u.push(new mxConnectionConstraint(new mxPoint(E[0],E[1]),2<E.length?"0"!=E[2]:!0,null,3<E.length?E[3]:0,4<E.length?E[4]:0))}}catch(Q){}return u}if(null!=u.shape&&null!=u.shape.bounds){E=u.shape.direction;A=u.shape.bounds;var N=u.shape.scale;B=A.width/N;A=A.height/N;if(E==mxConstants.DIRECTION_NORTH||
E==mxConstants.DIRECTION_SOUTH)E=B,B=A,A=E;A=u.shape.getConstraints(u.style,B,A);if(null!=A)return A;if(null!=u.shape.stencil&&null!=u.shape.stencil.constraints)return u.shape.stencil.constraints;if(null!=u.shape.constraints)return u.shape.constraints}}return null};Graph.prototype.flipEdge=function(u){if(null!=u){var A=this.getCurrentCellStyle(u);A=mxUtils.getValue(A,mxConstants.STYLE_ELBOW,mxConstants.ELBOW_HORIZONTAL)==mxConstants.ELBOW_HORIZONTAL?mxConstants.ELBOW_VERTICAL:mxConstants.ELBOW_HORIZONTAL;
-this.setCellStyles(mxConstants.STYLE_ELBOW,A,[u])}};Graph.prototype.isValidRoot=function(u){for(var A=this.model.getChildCount(u),B=0,E=0;E<A;E++){var N=this.model.getChildAt(u,E);this.model.isVertex(N)&&(N=this.getCellGeometry(N),null==N||N.relative||B++)}return 0<B||this.isContainer(u)};Graph.prototype.isValidDropTarget=function(u,A,B){for(var E=this.getCurrentCellStyle(u),N=!0,Q=!0,T=0;T<A.length&&Q;T++)N=N&&this.isTable(A[T]),Q=Q&&this.isTableRow(A[T]);return!this.isCellLocked(u)&&(this.isTargetShape(u,
+this.setCellStyles(mxConstants.STYLE_ELBOW,A,[u])}};Graph.prototype.isValidRoot=function(u){for(var A=this.model.getChildCount(u),B=0,E=0;E<A;E++){var N=this.model.getChildAt(u,E);this.model.isVertex(N)&&(N=this.getCellGeometry(N),null==N||N.relative||B++)}return 0<B||this.isContainer(u)};Graph.prototype.isValidDropTarget=function(u,A,B){for(var E=this.getCurrentCellStyle(u),N=!0,Q=!0,W=0;W<A.length&&Q;W++)N=N&&this.isTable(A[W]),Q=Q&&this.isTableRow(A[W]);return!this.isCellLocked(u)&&(this.isTargetShape(u,
A,B)||("1"!=mxUtils.getValue(E,"part","0")||this.isContainer(u))&&"0"!=mxUtils.getValue(E,"dropTarget","1")&&(mxGraph.prototype.isValidDropTarget.apply(this,arguments)||this.isContainer(u))&&!this.isTableRow(u)&&(!this.isTable(u)||Q||N))};Graph.prototype.createGroupCell=function(){var u=mxGraph.prototype.createGroupCell.apply(this,arguments);u.setStyle("group");return u};Graph.prototype.isExtendParentsOnAdd=function(u){var A=mxGraph.prototype.isExtendParentsOnAdd.apply(this,arguments);if(A&&null!=
u&&null!=this.layoutManager){var B=this.model.getParent(u);null!=B&&(B=this.layoutManager.getLayout(B),null!=B&&B.constructor==mxStackLayout&&(A=!1))}return A};Graph.prototype.getPreferredSizeForCell=function(u,A,B){B=null!=B?B:this.gridEnabled;var E=mxGraph.prototype.getPreferredSizeForCell.apply(this,arguments);null!=E&&(E.width+=10,E.height+=4,B&&(E.width=this.snap(E.width),E.height=this.snap(E.height)));return E};Graph.prototype.turnShapes=function(u,A){var B=this.getModel(),E=[];B.beginUpdate();
-try{for(var N=0;N<u.length;N++){var Q=u[N];if(B.isEdge(Q)){var T=B.getTerminal(Q,!0),ia=B.getTerminal(Q,!1);B.setTerminal(Q,ia,!0);B.setTerminal(Q,T,!1);var da=B.getGeometry(Q);if(null!=da){da=da.clone();null!=da.points&&da.points.reverse();var ha=da.getTerminalPoint(!0),ua=da.getTerminalPoint(!1);da.setTerminalPoint(ha,!1);da.setTerminalPoint(ua,!0);B.setGeometry(Q,da);var Ja=this.view.getState(Q),Ka=this.view.getState(T),xa=this.view.getState(ia);if(null!=Ja){var Ba=null!=Ka?this.getConnectionConstraint(Ja,
-Ka,!0):null,wa=null!=xa?this.getConnectionConstraint(Ja,xa,!1):null;this.setConnectionConstraint(Q,T,!0,wa);this.setConnectionConstraint(Q,ia,!1,Ba);var za=mxUtils.getValue(Ja.style,mxConstants.STYLE_SOURCE_PERIMETER_SPACING);this.setCellStyles(mxConstants.STYLE_SOURCE_PERIMETER_SPACING,mxUtils.getValue(Ja.style,mxConstants.STYLE_TARGET_PERIMETER_SPACING),[Q]);this.setCellStyles(mxConstants.STYLE_TARGET_PERIMETER_SPACING,za,[Q])}E.push(Q)}}else if(B.isVertex(Q)&&(da=this.getCellGeometry(Q),null!=
-da)){if(!(this.isTable(Q)||this.isTableRow(Q)||this.isTableCell(Q)||this.isSwimlane(Q))){da=da.clone();da.x+=da.width/2-da.height/2;da.y+=da.height/2-da.width/2;var Ya=da.width;da.width=da.height;da.height=Ya;B.setGeometry(Q,da)}var Sa=this.view.getState(Q);if(null!=Sa){var La=[mxConstants.DIRECTION_EAST,mxConstants.DIRECTION_SOUTH,mxConstants.DIRECTION_WEST,mxConstants.DIRECTION_NORTH],Xa=mxUtils.getValue(Sa.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST);this.setCellStyles(mxConstants.STYLE_DIRECTION,
-La[mxUtils.mod(mxUtils.indexOf(La,Xa)+(A?-1:1),La.length)],[Q])}E.push(Q)}}}finally{B.endUpdate()}return E};Graph.prototype.stencilHasPlaceholders=function(u){if(null!=u&&null!=u.fgNode)for(u=u.fgNode.firstChild;null!=u;){if("text"==u.nodeName&&"1"==u.getAttribute("placeholders"))return!0;u=u.nextSibling}return!1};var F=Graph.prototype.processChange;Graph.prototype.processChange=function(u){if(u instanceof mxGeometryChange&&(this.isTableCell(u.cell)||this.isTableRow(u.cell))&&(null==u.previous&&null!=
+try{for(var N=0;N<u.length;N++){var Q=u[N];if(B.isEdge(Q)){var W=B.getTerminal(Q,!0),ha=B.getTerminal(Q,!1);B.setTerminal(Q,ha,!0);B.setTerminal(Q,W,!1);var fa=B.getGeometry(Q);if(null!=fa){fa=fa.clone();null!=fa.points&&fa.points.reverse();var ia=fa.getTerminalPoint(!0),ya=fa.getTerminalPoint(!1);fa.setTerminalPoint(ia,!1);fa.setTerminalPoint(ya,!0);B.setGeometry(Q,fa);var xa=this.view.getState(Q),Da=this.view.getState(W),Oa=this.view.getState(ha);if(null!=xa){var Ma=null!=Da?this.getConnectionConstraint(xa,
+Da,!0):null,Aa=null!=Oa?this.getConnectionConstraint(xa,Oa,!1):null;this.setConnectionConstraint(Q,W,!0,Aa);this.setConnectionConstraint(Q,ha,!1,Ma);var va=mxUtils.getValue(xa.style,mxConstants.STYLE_SOURCE_PERIMETER_SPACING);this.setCellStyles(mxConstants.STYLE_SOURCE_PERIMETER_SPACING,mxUtils.getValue(xa.style,mxConstants.STYLE_TARGET_PERIMETER_SPACING),[Q]);this.setCellStyles(mxConstants.STYLE_TARGET_PERIMETER_SPACING,va,[Q])}E.push(Q)}}else if(B.isVertex(Q)&&(fa=this.getCellGeometry(Q),null!=
+fa)){if(!(this.isTable(Q)||this.isTableRow(Q)||this.isTableCell(Q)||this.isSwimlane(Q))){fa=fa.clone();fa.x+=fa.width/2-fa.height/2;fa.y+=fa.height/2-fa.width/2;var Ya=fa.width;fa.width=fa.height;fa.height=Ya;B.setGeometry(Q,fa)}var Ta=this.view.getState(Q);if(null!=Ta){var Ka=[mxConstants.DIRECTION_EAST,mxConstants.DIRECTION_SOUTH,mxConstants.DIRECTION_WEST,mxConstants.DIRECTION_NORTH],Wa=mxUtils.getValue(Ta.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST);this.setCellStyles(mxConstants.STYLE_DIRECTION,
+Ka[mxUtils.mod(mxUtils.indexOf(Ka,Wa)+(A?-1:1),Ka.length)],[Q])}E.push(Q)}}}finally{B.endUpdate()}return E};Graph.prototype.stencilHasPlaceholders=function(u){if(null!=u&&null!=u.fgNode)for(u=u.fgNode.firstChild;null!=u;){if("text"==u.nodeName&&"1"==u.getAttribute("placeholders"))return!0;u=u.nextSibling}return!1};var F=Graph.prototype.processChange;Graph.prototype.processChange=function(u){if(u instanceof mxGeometryChange&&(this.isTableCell(u.cell)||this.isTableRow(u.cell))&&(null==u.previous&&null!=
u.geometry||null!=u.previous&&!u.previous.equals(u.geometry))){var A=u.cell;this.isTableCell(A)&&(A=this.model.getParent(A));this.isTableRow(A)&&(A=this.model.getParent(A));var B=this.view.getState(A);null!=B&&null!=B.shape&&(this.view.invalidate(A),B.shape.bounds=null)}F.apply(this,arguments);u instanceof mxValueChange&&null!=u.cell&&null!=u.cell.value&&"object"==typeof u.cell.value&&this.invalidateDescendantsWithPlaceholders(u.cell)};Graph.prototype.invalidateDescendantsWithPlaceholders=function(u){u=
this.model.getDescendants(u);if(0<u.length)for(var A=0;A<u.length;A++){var B=this.view.getState(u[A]);null!=B&&null!=B.shape&&null!=B.shape.stencil&&this.stencilHasPlaceholders(B.shape.stencil)?this.removeStateForCell(u[A]):this.isReplacePlaceholders(u[A])&&this.view.invalidate(u[A],!1,!1)}};Graph.prototype.replaceElement=function(u,A){A=u.ownerDocument.createElement(null!=A?A:"span");for(var B=Array.prototype.slice.call(u.attributes);attr=B.pop();)A.setAttribute(attr.nodeName,attr.nodeValue);A.innerHTML=
-u.innerHTML;u.parentNode.replaceChild(A,u)};Graph.prototype.processElements=function(u,A){if(null!=u){u=u.getElementsByTagName("*");for(var B=0;B<u.length;B++)null!=u[B]&&A(u[B])}};Graph.prototype.updateLabelElements=function(u,A,B){u=null!=u?u:this.getSelectionCells();for(var E=document.createElement("div"),N=0;N<u.length;N++){var Q=this.getCurrentCellStyle(u[N]);if(null!=Q&&"1"==Q.html&&(Q=this.convertValueToString(u[N]),null!=Q&&0<Q.length)){E.innerHTML=Graph.sanitizeHtml(Q);for(var T=E.getElementsByTagName(null!=
-B?B:"*"),ia=0;ia<T.length;ia++)A(T[ia]);E.innerHTML!=Q&&this.cellLabelChanged(u[N],E.innerHTML)}}};Graph.prototype.cellLabelChanged=function(u,A,B){A=Graph.zapGremlins(A);this.model.beginUpdate();try{if(null!=u.value&&"object"==typeof u.value){if(this.isReplacePlaceholders(u)&&null!=u.getAttribute("placeholder"))for(var E=u.getAttribute("placeholder"),N=u;null!=N;){if(N==this.model.getRoot()||null!=N.value&&"object"==typeof N.value&&N.hasAttribute(E)){this.setAttributeForCell(N,E,A);break}N=this.model.getParent(N)}var Q=
+u.innerHTML;u.parentNode.replaceChild(A,u)};Graph.prototype.processElements=function(u,A){if(null!=u){u=u.getElementsByTagName("*");for(var B=0;B<u.length;B++)null!=u[B]&&A(u[B])}};Graph.prototype.updateLabelElements=function(u,A,B){u=null!=u?u:this.getSelectionCells();for(var E=document.createElement("div"),N=0;N<u.length;N++){var Q=this.getCurrentCellStyle(u[N]);if(null!=Q&&"1"==Q.html&&(Q=this.convertValueToString(u[N]),null!=Q&&0<Q.length)){E.innerHTML=Graph.sanitizeHtml(Q);for(var W=E.getElementsByTagName(null!=
+B?B:"*"),ha=0;ha<W.length;ha++)A(W[ha]);E.innerHTML!=Q&&this.cellLabelChanged(u[N],E.innerHTML)}}};Graph.prototype.cellLabelChanged=function(u,A,B){A=Graph.zapGremlins(A);this.model.beginUpdate();try{if(null!=u.value&&"object"==typeof u.value){if(this.isReplacePlaceholders(u)&&null!=u.getAttribute("placeholder"))for(var E=u.getAttribute("placeholder"),N=u;null!=N;){if(N==this.model.getRoot()||null!=N.value&&"object"==typeof N.value&&N.hasAttribute(E)){this.setAttributeForCell(N,E,A);break}N=this.model.getParent(N)}var Q=
u.value.cloneNode(!0);Graph.translateDiagram&&null!=Graph.diagramLanguage&&Q.hasAttribute("label_"+Graph.diagramLanguage)?Q.setAttribute("label_"+Graph.diagramLanguage,A):Q.setAttribute("label",A);A=Q}mxGraph.prototype.cellLabelChanged.apply(this,arguments)}finally{this.model.endUpdate()}};Graph.prototype.cellsRemoved=function(u){if(null!=u){for(var A=new mxDictionary,B=0;B<u.length;B++)A.put(u[B],!0);var E=[];for(B=0;B<u.length;B++){var N=this.model.getParent(u[B]);null==N||A.get(N)||(A.put(N,!0),
-E.push(N))}for(B=0;B<E.length;B++)if(N=this.view.getState(E[B]),null!=N&&(this.model.isEdge(N.cell)||this.model.isVertex(N.cell))&&this.isCellDeletable(N.cell)&&this.isTransparentState(N)){for(var Q=!0,T=0;T<this.model.getChildCount(N.cell)&&Q;T++)A.get(this.model.getChildAt(N.cell,T))||(Q=!1);Q&&u.push(N.cell)}}mxGraph.prototype.cellsRemoved.apply(this,arguments)};Graph.prototype.removeCellsAfterUngroup=function(u){for(var A=[],B=0;B<u.length;B++)this.isCellDeletable(u[B])&&this.isTransparentState(this.view.getState(u[B]))&&
+E.push(N))}for(B=0;B<E.length;B++)if(N=this.view.getState(E[B]),null!=N&&(this.model.isEdge(N.cell)||this.model.isVertex(N.cell))&&this.isCellDeletable(N.cell)&&this.isTransparentState(N)){for(var Q=!0,W=0;W<this.model.getChildCount(N.cell)&&Q;W++)A.get(this.model.getChildAt(N.cell,W))||(Q=!1);Q&&u.push(N.cell)}}mxGraph.prototype.cellsRemoved.apply(this,arguments)};Graph.prototype.removeCellsAfterUngroup=function(u){for(var A=[],B=0;B<u.length;B++)this.isCellDeletable(u[B])&&this.isTransparentState(this.view.getState(u[B]))&&
A.push(u[B]);u=A;mxGraph.prototype.removeCellsAfterUngroup.apply(this,arguments)};Graph.prototype.setLinkForCell=function(u,A){this.setAttributeForCell(u,"link",A)};Graph.prototype.setTooltipForCell=function(u,A){var B="tooltip";Graph.translateDiagram&&null!=Graph.diagramLanguage&&mxUtils.isNode(u.value)&&u.value.hasAttribute("tooltip_"+Graph.diagramLanguage)&&(B="tooltip_"+Graph.diagramLanguage);this.setAttributeForCell(u,B,A)};Graph.prototype.getAttributeForCell=function(u,A,B){u=null!=u.value&&
"object"===typeof u.value?u.value.getAttribute(A):null;return null!=u?u:B};Graph.prototype.setAttributeForCell=function(u,A,B){if(null!=u.value&&"object"==typeof u.value)var E=u.value.cloneNode(!0);else E=mxUtils.createXmlDocument().createElement("UserObject"),E.setAttribute("label",u.value||"");null!=B?E.setAttribute(A,B):E.removeAttribute(A);this.model.setValue(u,E)};Graph.prototype.isTargetShape=function(u,A,B){u=mxUtils.getValue(this.getCurrentCellStyle(u),mxConstants.STYLE_SHAPE,"");for(B=0;B<
-A.length;B++){var E=mxUtils.getValue(this.getCurrentCellStyle(A[B]),"targetShapes","").split(",");if(0<=mxUtils.indexOf(E,u))return!0}return!1};var D=Graph.prototype.getDropTarget;Graph.prototype.getDropTarget=function(u,A,B,E){if(mxEvent.isAltDown(A))return null;for(var N=0;N<u.length;N++){var Q=this.model.getParent(u[N]);if(this.model.isEdge(Q)&&0>mxUtils.indexOf(u,Q))return null}Q=D.apply(this,arguments);var T=!0;for(N=0;N<u.length&&T;N++)T=T&&this.isTableRow(u[N]);T&&(this.isTableCell(Q)&&(Q=
+A.length;B++){var E=mxUtils.getValue(this.getCurrentCellStyle(A[B]),"targetShapes","").split(",");if(0<=mxUtils.indexOf(E,u))return!0}return!1};var D=Graph.prototype.getDropTarget;Graph.prototype.getDropTarget=function(u,A,B,E){if(mxEvent.isAltDown(A))return null;for(var N=0;N<u.length;N++){var Q=this.model.getParent(u[N]);if(this.model.isEdge(Q)&&0>mxUtils.indexOf(u,Q))return null}Q=D.apply(this,arguments);var W=!0;for(N=0;N<u.length&&W;N++)W=W&&this.isTableRow(u[N]);W&&(this.isTableCell(Q)&&(Q=
this.model.getParent(Q)),this.isTableRow(Q)&&(Q=this.model.getParent(Q)),this.isTable(Q)||(Q=null));return Q};Graph.prototype.click=function(u){mxGraph.prototype.click.call(this,u);this.firstClickState=u.getState();this.firstClickSource=u.getSource()};Graph.prototype.dblClick=function(u,A){this.isEnabled()&&(A=this.insertTextForEvent(u,A),mxGraph.prototype.dblClick.call(this,u,A))};Graph.prototype.insertTextForEvent=function(u,A){var B=mxUtils.convertPoint(this.container,mxEvent.getClientX(u),mxEvent.getClientY(u));
if(null!=u&&!this.model.isVertex(A)){var E=this.model.isEdge(A)?this.view.getState(A):null,N=mxEvent.getSource(u);this.firstClickState!=E||this.firstClickSource!=N||null!=E&&null!=E.text&&null!=E.text.node&&null!=E.text.boundingBox&&(mxUtils.contains(E.text.boundingBox,B.x,B.y)||mxUtils.isAncestorNode(E.text.node,mxEvent.getSource(u)))||(null!=E||this.isCellLocked(this.getDefaultParent()))&&(null==E||this.isCellLocked(E.cell))||!(null!=E||mxClient.IS_SVG&&N==this.view.getCanvas().ownerSVGElement)||
(null==E&&(E=this.view.getState(this.getCellAt(B.x,B.y))),A=this.addText(B.x,B.y,E))}return A};Graph.prototype.getInsertPoint=function(){var u=this.getGridSize(),A=this.container.scrollLeft/this.view.scale-this.view.translate.x,B=this.container.scrollTop/this.view.scale-this.view.translate.y;if(this.pageVisible){var E=this.getPageLayout(),N=this.getPageSize();A=Math.max(A,E.x*N.width);B=Math.max(B,E.y*N.height)}return new mxPoint(this.snap(A+u),this.snap(B+u))};Graph.prototype.getFreeInsertPoint=
@@ -2833,106 +2833,105 @@ function(){var u=this.view,A=this.getGraphBounds(),B=this.getInsertPoint(),E=thi
this.view.translate.x-u.width/2)),this.snap(Math.round((this.container.scrollTop+this.container.clientHeight/2)/this.view.scale-this.view.translate.y-u.height/2))):new mxPoint(this.snap(Math.round(this.container.clientWidth/2/this.view.scale-this.view.translate.x-u.width/2)),this.snap(Math.round(this.container.clientHeight/2/this.view.scale-this.view.translate.y-u.height/2)))};Graph.prototype.isMouseInsertPoint=function(){return!1};Graph.prototype.appendFontSize=function(u,A){u=null!=u?u:"";null!=
A&&(0<u.length&&";"!=u.charAt(u.length-1)&&(u+=";"),u+="fontSize="+A+";");return u};Graph.prototype.addText=function(u,A,B){var E=new mxCell;E.value="Text";E.geometry=new mxGeometry(0,0,0,0);E.vertex=!0;if(null!=B&&this.model.isEdge(B.cell)){E.style="edgeLabel;"+this.appendFontSize("html=1;align=center;verticalAlign=middle;resizable=0;points=[];",this.edgeFontSize);E.geometry.relative=!0;E.connectable=!1;var N=this.view.getRelativePoint(B,u,A);E.geometry.x=Math.round(1E4*N.x)/1E4;E.geometry.y=Math.round(N.y);
E.geometry.offset=new mxPoint(0,0);N=this.view.getPoint(B,E.geometry);var Q=this.view.scale;E.geometry.offset=new mxPoint(Math.round((u-N.x)/Q),Math.round((A-N.y)/Q))}else N=this.view.translate,E.style="text;"+this.appendFontSize("html=1;align=center;verticalAlign=middle;resizable=0;points=[];",this.vertexFontSize),E.geometry.width=40,E.geometry.height=20,E.geometry.x=Math.round(u/this.view.scale)-N.x-(null!=B?B.origin.x:0),E.geometry.y=Math.round(A/this.view.scale)-N.y-(null!=B?B.origin.y:0),E.style+=
-"autosize=1;";this.getModel().beginUpdate();try{this.addCells([E],null!=B?B.cell:null),this.fireEvent(new mxEventObject("textInserted","cells",[E])),this.autoSizeCell(E)}finally{this.getModel().endUpdate()}return E};Graph.prototype.addClickHandler=function(u,A,B){var E=mxUtils.bind(this,function(){var da=this.container.getElementsByTagName("a");if(null!=da)for(var ha=0;ha<da.length;ha++){var ua=this.getAbsoluteUrl(da[ha].getAttribute("href"));null!=ua&&(da[ha].setAttribute("rel",this.linkRelation),
-da[ha].setAttribute("href",ua),null!=A&&mxEvent.addGestureListeners(da[ha],null,null,A))}});this.model.addListener(mxEvent.CHANGE,E);E();var N=this.container.style.cursor,Q=this.getTolerance(),T=this,ia={currentState:null,currentLink:null,currentTarget:null,highlight:null!=u&&""!=u&&u!=mxConstants.NONE?new mxCellHighlight(T,u,4):null,startX:0,startY:0,scrollLeft:0,scrollTop:0,updateCurrentState:function(da){var ha=da.sourceState;if(null==ha||null==T.getLinkForCell(ha.cell))da=T.getCellAt(da.getGraphX(),
-da.getGraphY(),null,null,null,function(ua,Ja,Ka){return null==T.getLinkForCell(ua.cell)}),ha=null==ha||T.model.isAncestor(da,ha.cell)?T.view.getState(da):null;ha!=this.currentState&&(null!=this.currentState&&this.clear(),this.currentState=ha,null!=this.currentState&&this.activate(this.currentState))},mouseDown:function(da,ha){this.startX=ha.getGraphX();this.startY=ha.getGraphY();this.scrollLeft=T.container.scrollLeft;this.scrollTop=T.container.scrollTop;null==this.currentLink&&"auto"==T.container.style.overflow&&
-(T.container.style.cursor="move");this.updateCurrentState(ha)},mouseMove:function(da,ha){if(T.isMouseDown)null!=this.currentLink&&(da=Math.abs(this.startX-ha.getGraphX()),ha=Math.abs(this.startY-ha.getGraphY()),(da>Q||ha>Q)&&this.clear());else{for(da=ha.getSource();null!=da&&"a"!=da.nodeName.toLowerCase();)da=da.parentNode;null!=da?this.clear():(null!=T.tooltipHandler&&null!=this.currentLink&&null!=this.currentState&&T.tooltipHandler.reset(ha,!0,this.currentState),(null==this.currentState||ha.getState()!=
-this.currentState&&null!=ha.sourceState||!T.intersects(this.currentState,ha.getGraphX(),ha.getGraphY()))&&this.updateCurrentState(ha))}},mouseUp:function(da,ha){var ua=ha.getSource();for(da=ha.getEvent();null!=ua&&"a"!=ua.nodeName.toLowerCase();)ua=ua.parentNode;null==ua&&Math.abs(this.scrollLeft-T.container.scrollLeft)<Q&&Math.abs(this.scrollTop-T.container.scrollTop)<Q&&(null==ha.sourceState||!ha.isSource(ha.sourceState.control))&&((mxEvent.isLeftMouseButton(da)||mxEvent.isMiddleMouseButton(da))&&
-!mxEvent.isPopupTrigger(da)||mxEvent.isTouchEvent(da))&&(null!=this.currentLink?(ua=T.isBlankLink(this.currentLink),"data:"!==this.currentLink.substring(0,5)&&ua||null==A||A(da,this.currentLink,null!=this.currentState?this.currentState.cell:null),mxEvent.isConsumed(da)||(da=null!=this.currentTarget?this.currentTarget:mxEvent.isMiddleMouseButton(da)?"_blank":ua?T.linkTarget:"_top",T.openLink(this.currentLink,da),ha.consume())):null!=B&&!ha.isConsumed()&&Math.abs(this.scrollLeft-T.container.scrollLeft)<
-Q&&Math.abs(this.scrollTop-T.container.scrollTop)<Q&&Math.abs(this.startX-ha.getGraphX())<Q&&Math.abs(this.startY-ha.getGraphY())<Q&&B(ha.getEvent()));this.clear()},activate:function(da){this.currentLink=T.getAbsoluteUrl(T.getLinkForCell(da.cell));null!=this.currentLink&&(this.currentTarget=T.getLinkTargetForCell(da.cell),T.container.style.cursor="pointer",null!=this.highlight&&this.highlight.highlight(da))},clear:function(){null!=T.container&&(T.container.style.cursor=N);this.currentLink=this.currentState=
-this.currentTarget=null;null!=this.highlight&&this.highlight.hide();null!=T.tooltipHandler&&T.tooltipHandler.hide()}};T.click=function(da){};T.addMouseListener(ia);mxEvent.addListener(document,"mouseleave",function(da){ia.clear()})};Graph.prototype.duplicateCells=function(u,A){u=null!=u?u:this.getSelectionCells();A=null!=A?A:!0;for(var B=0;B<u.length;B++)this.isTableCell(u[B])&&(u[B]=this.model.getParent(u[B]));u=this.model.getTopmostCells(u);var E=this.getModel(),N=this.gridSize,Q=[];E.beginUpdate();
-try{var T={},ia=this.createCellLookup(u),da=this.cloneCells(u,!1,T,!0);for(B=0;B<u.length;B++){var ha=E.getParent(u[B]);if(null!=ha){var ua=this.moveCells([da[B]],N,N,!1)[0];Q.push(ua);if(A)E.add(ha,da[B]);else{var Ja=ha.getIndex(u[B]);E.add(ha,da[B],Ja+1)}if(this.isTable(ha)){var Ka=this.getCellGeometry(da[B]),xa=this.getCellGeometry(ha);null!=Ka&&null!=xa&&(xa=xa.clone(),xa.height+=Ka.height,E.setGeometry(ha,xa))}}else Q.push(da[B])}this.updateCustomLinks(this.createCellMapping(T,ia),da,this);this.fireEvent(new mxEventObject(mxEvent.CELLS_ADDED,
-"cells",da))}finally{E.endUpdate()}return Q};Graph.prototype.insertImage=function(u,A,B){if(null!=u&&null!=this.cellEditor.textarea){for(var E=this.cellEditor.textarea.getElementsByTagName("img"),N=[],Q=0;Q<E.length;Q++)N.push(E[Q]);document.execCommand("insertimage",!1,u);u=this.cellEditor.textarea.getElementsByTagName("img");if(u.length==N.length+1)for(Q=u.length-1;0<=Q;Q--)if(0==Q||u[Q]!=N[Q-1]){u[Q].setAttribute("width",A);u[Q].setAttribute("height",B);break}}};Graph.prototype.insertLink=function(u){if(null!=
+"autosize=1;";this.getModel().beginUpdate();try{this.addCells([E],null!=B?B.cell:null),this.fireEvent(new mxEventObject("textInserted","cells",[E])),this.autoSizeCell(E)}finally{this.getModel().endUpdate()}return E};Graph.prototype.addClickHandler=function(u,A,B){var E=mxUtils.bind(this,function(){var fa=this.container.getElementsByTagName("a");if(null!=fa)for(var ia=0;ia<fa.length;ia++){var ya=this.getAbsoluteUrl(fa[ia].getAttribute("href"));null!=ya&&(fa[ia].setAttribute("rel",this.linkRelation),
+fa[ia].setAttribute("href",ya),null!=A&&mxEvent.addGestureListeners(fa[ia],null,null,A))}});this.model.addListener(mxEvent.CHANGE,E);E();var N=this.container.style.cursor,Q=this.getTolerance(),W=this,ha={currentState:null,currentLink:null,currentTarget:null,highlight:null!=u&&""!=u&&u!=mxConstants.NONE?new mxCellHighlight(W,u,4):null,startX:0,startY:0,scrollLeft:0,scrollTop:0,updateCurrentState:function(fa){var ia=fa.sourceState;if(null==ia||null==W.getLinkForCell(ia.cell))fa=W.getCellAt(fa.getGraphX(),
+fa.getGraphY(),null,null,null,function(ya,xa,Da){return null==W.getLinkForCell(ya.cell)}),ia=null==ia||W.model.isAncestor(fa,ia.cell)?W.view.getState(fa):null;ia!=this.currentState&&(null!=this.currentState&&this.clear(),this.currentState=ia,null!=this.currentState&&this.activate(this.currentState))},mouseDown:function(fa,ia){this.startX=ia.getGraphX();this.startY=ia.getGraphY();this.scrollLeft=W.container.scrollLeft;this.scrollTop=W.container.scrollTop;null==this.currentLink&&"auto"==W.container.style.overflow&&
+(W.container.style.cursor="move");this.updateCurrentState(ia)},mouseMove:function(fa,ia){if(W.isMouseDown)null!=this.currentLink&&(fa=Math.abs(this.startX-ia.getGraphX()),ia=Math.abs(this.startY-ia.getGraphY()),(fa>Q||ia>Q)&&this.clear());else{for(fa=ia.getSource();null!=fa&&"a"!=fa.nodeName.toLowerCase();)fa=fa.parentNode;null!=fa?this.clear():(null!=W.tooltipHandler&&null!=this.currentLink&&null!=this.currentState&&W.tooltipHandler.reset(ia,!0,this.currentState),(null==this.currentState||ia.getState()!=
+this.currentState&&null!=ia.sourceState||!W.intersects(this.currentState,ia.getGraphX(),ia.getGraphY()))&&this.updateCurrentState(ia))}},mouseUp:function(fa,ia){var ya=ia.getSource();for(fa=ia.getEvent();null!=ya&&"a"!=ya.nodeName.toLowerCase();)ya=ya.parentNode;null==ya&&Math.abs(this.scrollLeft-W.container.scrollLeft)<Q&&Math.abs(this.scrollTop-W.container.scrollTop)<Q&&(null==ia.sourceState||!ia.isSource(ia.sourceState.control))&&((mxEvent.isLeftMouseButton(fa)||mxEvent.isMiddleMouseButton(fa))&&
+!mxEvent.isPopupTrigger(fa)||mxEvent.isTouchEvent(fa))&&(null!=this.currentLink?(ya=W.isBlankLink(this.currentLink),"data:"!==this.currentLink.substring(0,5)&&ya||null==A||A(fa,this.currentLink,null!=this.currentState?this.currentState.cell:null),mxEvent.isConsumed(fa)||(fa=null!=this.currentTarget?this.currentTarget:mxEvent.isMiddleMouseButton(fa)?"_blank":ya?W.linkTarget:"_top",W.openLink(this.currentLink,fa),ia.consume())):null!=B&&!ia.isConsumed()&&Math.abs(this.scrollLeft-W.container.scrollLeft)<
+Q&&Math.abs(this.scrollTop-W.container.scrollTop)<Q&&Math.abs(this.startX-ia.getGraphX())<Q&&Math.abs(this.startY-ia.getGraphY())<Q&&B(ia.getEvent()));this.clear()},activate:function(fa){this.currentLink=W.getAbsoluteUrl(W.getLinkForCell(fa.cell));null!=this.currentLink&&(this.currentTarget=W.getLinkTargetForCell(fa.cell),W.container.style.cursor="pointer",null!=this.highlight&&this.highlight.highlight(fa))},clear:function(){null!=W.container&&(W.container.style.cursor=N);this.currentLink=this.currentState=
+this.currentTarget=null;null!=this.highlight&&this.highlight.hide();null!=W.tooltipHandler&&W.tooltipHandler.hide()}};W.click=function(fa){};W.addMouseListener(ha);mxEvent.addListener(document,"mouseleave",function(fa){ha.clear()})};Graph.prototype.duplicateCells=function(u,A){u=null!=u?u:this.getSelectionCells();A=null!=A?A:!0;for(var B=0;B<u.length;B++)this.isTableCell(u[B])&&(u[B]=this.model.getParent(u[B]));u=this.model.getTopmostCells(u);var E=this.getModel(),N=this.gridSize,Q=[];E.beginUpdate();
+try{var W={},ha=this.createCellLookup(u),fa=this.cloneCells(u,!1,W,!0);for(B=0;B<u.length;B++){var ia=E.getParent(u[B]);if(null!=ia){var ya=this.moveCells([fa[B]],N,N,!1)[0];Q.push(ya);if(A)E.add(ia,fa[B]);else{var xa=ia.getIndex(u[B]);E.add(ia,fa[B],xa+1)}if(this.isTable(ia)){var Da=this.getCellGeometry(fa[B]),Oa=this.getCellGeometry(ia);null!=Da&&null!=Oa&&(Oa=Oa.clone(),Oa.height+=Da.height,E.setGeometry(ia,Oa))}}else Q.push(fa[B])}this.updateCustomLinks(this.createCellMapping(W,ha),fa,this);this.fireEvent(new mxEventObject(mxEvent.CELLS_ADDED,
+"cells",fa))}finally{E.endUpdate()}return Q};Graph.prototype.insertImage=function(u,A,B){if(null!=u&&null!=this.cellEditor.textarea){for(var E=this.cellEditor.textarea.getElementsByTagName("img"),N=[],Q=0;Q<E.length;Q++)N.push(E[Q]);document.execCommand("insertimage",!1,u);u=this.cellEditor.textarea.getElementsByTagName("img");if(u.length==N.length+1)for(Q=u.length-1;0<=Q;Q--)if(0==Q||u[Q]!=N[Q-1]){u[Q].setAttribute("width",A);u[Q].setAttribute("height",B);break}}};Graph.prototype.insertLink=function(u){if(null!=
this.cellEditor.textarea)if(0==u.length)document.execCommand("unlink",!1);else if(mxClient.IS_FF){for(var A=this.cellEditor.textarea.getElementsByTagName("a"),B=[],E=0;E<A.length;E++)B.push(A[E]);document.execCommand("createlink",!1,mxUtils.trim(u));A=this.cellEditor.textarea.getElementsByTagName("a");if(A.length==B.length+1)for(E=A.length-1;0<=E;E--)if(A[E]!=B[E-1]){for(A=A[E].getElementsByTagName("a");0<A.length;){for(B=A[0].parentNode;null!=A[0].firstChild;)B.insertBefore(A[0].firstChild,A[0]);
B.removeChild(A[0])}break}}else document.execCommand("createlink",!1,mxUtils.trim(u))};Graph.prototype.isCellResizable=function(u){var A=mxGraph.prototype.isCellResizable.apply(this,arguments),B=this.getCurrentCellStyle(u);return!this.isTableCell(u)&&!this.isTableRow(u)&&(A||"0"!=mxUtils.getValue(B,mxConstants.STYLE_RESIZABLE,"1")&&"wrap"==B[mxConstants.STYLE_WHITE_SPACE])};Graph.prototype.distributeCells=function(u,A,B){null==A&&(A=this.getSelectionCells());if(null!=A&&1<A.length){for(var E=[],N=
-null,Q=null,T=0,ia=0;ia<A.length;ia++)if(this.getModel().isVertex(A[ia])){var da=this.view.getState(A[ia]);if(null!=da){var ha=u?da.getCenterX():da.getCenterY();N=null!=N?Math.max(N,ha):ha;Q=null!=Q?Math.min(Q,ha):ha;B&&(T+=u?da.width:da.height);E.push(da)}}if(2<E.length){E.sort(function(Ba,wa){return u?Ba.x-wa.x:Ba.y-wa.y});B&&(T-=u?E[0].width/2+E[E.length-1].width/2:E[0].height/2+E[E.length-1].height/2);da=this.view.translate;ha=this.view.scale;Q=Q/ha-(u?da.x:da.y);N=N/ha-(u?da.x:da.y);this.getModel().beginUpdate();
-try{var ua=(N-Q-T)/(E.length-1),Ja=Q+(B?u?E[0].width/2:E[0].height/2:0);for(ia=1;ia<E.length-1;ia++){var Ka=this.view.getState(this.model.getParent(E[ia].cell)),xa=this.getCellGeometry(E[ia].cell);Ja+=ua;null!=xa&&null!=Ka&&(xa=xa.clone(),u?xa.x=Math.round(Ja-(B?0:xa.width/2))-Ka.origin.x:xa.y=Math.round(Ja-(B?0:xa.height/2))-Ka.origin.y,this.getModel().setGeometry(E[ia].cell,xa));B&&(Ja+=u?E[ia].width:E[ia].height)}}finally{this.getModel().endUpdate()}}}return A};Graph.prototype.isCloneEvent=function(u){return mxClient.IS_MAC&&
+null,Q=null,W=0,ha=0;ha<A.length;ha++)if(this.getModel().isVertex(A[ha])){var fa=this.view.getState(A[ha]);if(null!=fa){var ia=u?fa.getCenterX():fa.getCenterY();N=null!=N?Math.max(N,ia):ia;Q=null!=Q?Math.min(Q,ia):ia;B&&(W+=u?fa.width:fa.height);E.push(fa)}}if(2<E.length){E.sort(function(Ma,Aa){return u?Ma.x-Aa.x:Ma.y-Aa.y});B&&(W-=u?E[0].width/2+E[E.length-1].width/2:E[0].height/2+E[E.length-1].height/2);fa=this.view.translate;ia=this.view.scale;Q=Q/ia-(u?fa.x:fa.y);N=N/ia-(u?fa.x:fa.y);this.getModel().beginUpdate();
+try{var ya=(N-Q-W)/(E.length-1),xa=Q+(B?u?E[0].width/2:E[0].height/2:0);for(ha=1;ha<E.length-1;ha++){var Da=this.view.getState(this.model.getParent(E[ha].cell)),Oa=this.getCellGeometry(E[ha].cell);xa+=ya;null!=Oa&&null!=Da&&(Oa=Oa.clone(),u?Oa.x=Math.round(xa-(B?0:Oa.width/2))-Da.origin.x:Oa.y=Math.round(xa-(B?0:Oa.height/2))-Da.origin.y,this.getModel().setGeometry(E[ha].cell,Oa));B&&(xa+=u?E[ha].width:E[ha].height)}}finally{this.getModel().endUpdate()}}}return A};Graph.prototype.isCloneEvent=function(u){return mxClient.IS_MAC&&
mxEvent.isMetaDown(u)||mxEvent.isControlDown(u)};Graph.prototype.createSvgImageExport=function(){var u=new mxImageExport;u.addCellData=function(B,E,N){E.setAttribute("data-cell-id",B.id);if(N)if(mxUtils.isNode(B.value))for(N=0;N<B.value.attributes.length;N++){var Q=B.value.attributes[N];E.setAttribute("data-cell-"+Q.name,Q.value)}else if("object"===typeof B.value)for(Q in B.value)E.setAttribute("data-cell-"+Q,B.value[Q]);else null!=B.value&&E.setAttribute("data-cell-value",B.value);return E};var A=
-u.visitStatesRecursive;u.visitStatesRecursive=function(B,E,N){if(null!=B){var Q=E.root,T=E.root.ownerDocument;E.root=this.addCellData(B.cell,null!=T.createElementNS?T.createElementNS(mxConstants.NS_SVG,"g"):T.createElement("g"),Editor.addSvgMetadata);Q.appendChild(E.root);A.apply(this,arguments);E.root=Q}};u.getLinkForCellState=mxUtils.bind(this,function(B,E){return this.getLinkForCell(B.cell)});u.getTitleForCellState=mxUtils.bind(this,function(B,E){return Editor.convertHtmlToText(this.convertValueToTooltip(B.cell))});
-return u};Graph.prototype.parseBackgroundImage=function(u){var A=null;null!=u&&0<u.length&&(u=JSON.parse(u),A=new mxImage(u.src,u.width,u.height));return A};Graph.prototype.getBackgroundImageObject=function(u){return u};Graph.prototype.getSvg=function(u,A,B,E,N,Q,T,ia,da,ha,ua,Ja,Ka,xa,Ba,wa){var za=null;if(null!=xa)for(za=new mxDictionary,ua=0;ua<xa.length;ua++)za.put(xa[ua],!0);xa=this.useCssTransforms;var Ya=this.enableFlowAnimation;this.enableFlowAnimation=!1;xa&&(this.useCssTransforms=!1,this.view.revalidate(),
-this.sizeDidChange());try{A=null!=A?A:1;B=null!=B?B:0;N=null!=N?N:!0;Q=null!=Q?Q:!0;T=null!=T?T:!0;ha=null!=ha?ha:!1;var Sa="page"==Ka?this.view.getBackgroundPageBounds():Q&&null==za||E||"diagram"==Ka?this.getGraphBounds():this.getBoundingBox(this.getSelectionCells()),La=this.backgroundImage,Xa=this.view.translate,Za=this.view.scale;"diagram"==Ka&&null!=La&&null!=La.width&&null!=La.height&&(Sa=mxRectangle.fromRectangle(Sa),Sa.add(new mxRectangle((Xa.x+La.x)*Za,(Xa.y+La.y)*Za,La.width*Za,La.height*
-Za)));if(null==Sa)throw Error(mxResources.get("drawingEmpty"));E=u;null!=E&&"dark"==Ja&&Editor.enableCssDarkMode&&(E=Graph.invertColor(u));Ja=A/Za;Ka=N?-.5:0;var bb=Graph.createSvgNode(Ka,Ka,Math.max(1,Math.ceil(Sa.width*Ja)+2*B)+(ha&&0==B?5:0),Math.max(1,Math.ceil(Sa.height*Ja)+2*B)+(ha&&0==B?5:0),E),jb=bb.ownerDocument;if(null!=u){var mb=mxUtils.createElementNs(jb,mxConstants.NS_SVG,"rect");mb.setAttribute("fill",u);mb.setAttribute("width","100%");mb.setAttribute("height","100%");mb.setAttribute("x",
-"0");mb.setAttribute("y","0");bb.appendChild(mb)}var sb=mxUtils.createElementNs(jb,mxConstants.NS_SVG,"g");bb.appendChild(sb);var db=this.createSvgCanvas(sb);db.foOffset=N?-.5:0;db.textOffset=N?-.5:0;db.imageOffset=N?-.5:0;db.translate(Math.floor(B/A-Sa.x/Za),Math.floor(B/A-Sa.y/Za));var lb=document.createElement("div"),qb=db.getAlternateText;db.getAlternateText=function(Va,eb,Ta,kb,nb,ab,pb,wb,xb,zb,c,k,t){if(null!=ab&&0<this.state.fontSize)try{mxUtils.isNode(ab)?ab=ab.innerText:(lb.innerHTML=ab,
-ab=mxUtils.extractTextWithWhitespace(lb.childNodes));for(var m=Math.ceil(2*kb/this.state.fontSize),r=[],v=0,x=0;(0==m||v<m)&&x<ab.length;){var J=ab.charCodeAt(x);if(10==J||13==J){if(0<v)break}else r.push(ab.charAt(x)),255>J&&v++;x++}r.length<ab.length&&1<ab.length-r.length&&(ab=mxUtils.trim(r.join(""))+"...");return ab}catch(y){return qb.apply(this,arguments)}else return qb.apply(this,arguments)};null!=La&&null!=La.width&&null!=La.height&&(u=Za/A,Ka=new mxRectangle((La.x+Xa.x)*u,(La.y+Xa.y)*u,La.width*
-u,La.height*u),mxUtils.intersects(Sa,Ka)&&db.image(La.x+Xa.x,La.y+Xa.y,La.width,La.height,La.src,!0));db.scale(Ja);db.textEnabled=T;ia=null!=ia?ia:this.createSvgImageExport();var tb=ia.getLinkForCellState;ia.getLinkForCellState=function(Va,eb){var Ta=Va.view.graph.getAbsoluteUrl(tb.apply(this,arguments));return null==Ta||Va.view.graph.isCustomLink(Ta)?null:Ta};ia.getLinkTargetForCellState=function(Va,eb){return Va.view.graph.getLinkTargetForCell(Va.cell)};var ub=ia.drawCellState,ob=null,rb=mxUtils.bind(this,
-function(){if(null==ob){ob="ge-flow-animation-"+Editor.guid();var Va=null!=jb.createElementNS?jb.createElementNS(mxConstants.NS_SVG,"style"):jb.createElement("style");Va.innerHTML=this.createFlowAnimationCss(ob);jb.getElementsByTagName("defs")[0].appendChild(Va)}return ob});ia.drawCellState=function(Va,eb){for(var Ta=Va.view.graph,kb=null!=za?za.get(Va.cell):Ta.isCellSelected(Va.cell),nb=Ta.model.getParent(Va.cell);!(Q&&null==za||kb)&&null!=nb;)kb=null!=za?za.get(nb):Ta.isCellSelected(nb),nb=Ta.model.getParent(nb);
-if(null!=Va.shape)try{var ab=Va.shape.isFlowAnimationEnabled,pb=Va.shape.addFlowAnimationToShape;Va.shape.isFlowAnimationEnabled=function(){return Ya&&Ta.model.isEdge(Va.cell)&&"1"==mxUtils.getValue(Va.style,"flowAnimation","0")};Va.shape.addFlowAnimationToShape=function(){Ta.addFlowAnimationToNode(this.getFlowAnimationPath(),Va.style,A,rb())};if(Q&&null==za||kb)Ta.view.redrawEnumerationState(Va),ub.apply(this,arguments),this.doDrawShape(Va.secondLabel,eb)}finally{Va.shape.isFlowAnimationEnabled=
-ab,Va.shape.addFlowAnimationToShape=pb}};var vb=null!=this.view.currentRoot?this.view.currentRoot:this.model.root;ia.drawState(this.getView().getState(vb),db);this.addForeignObjectWarning(db,bb);wa?this.disableSvgLinks(bb):this.updateSvgLinks(bb,da,!0);return bb}finally{this.enableFlowAnimation=Ya,xa&&(this.useCssTransforms=!0,this.view.revalidate(),this.sizeDidChange())}};Graph.prototype.addForeignObjectWarning=function(u,A){if("0"!=urlParams["svg-warning"]&&0<A.getElementsByTagName("foreignObject").length){var B=
+u.visitStatesRecursive;u.visitStatesRecursive=function(B,E,N){if(null!=B){var Q=E.root,W=E.root.ownerDocument;E.root=this.addCellData(B.cell,null!=W.createElementNS?W.createElementNS(mxConstants.NS_SVG,"g"):W.createElement("g"),Editor.addSvgMetadata);Q.appendChild(E.root);A.apply(this,arguments);E.root=Q}};u.getLinkForCellState=mxUtils.bind(this,function(B,E){return this.getLinkForCell(B.cell)});u.getTitleForCellState=mxUtils.bind(this,function(B,E){return Editor.convertHtmlToText(this.convertValueToTooltip(B.cell))});
+return u};Graph.prototype.parseBackgroundImage=function(u){var A=null;null!=u&&0<u.length&&(u=JSON.parse(u),A=new mxImage(u.src,u.width,u.height));return A};Graph.prototype.getBackgroundImageObject=function(u){return u};Graph.prototype.getSvg=function(u,A,B,E,N,Q,W,ha,fa,ia,ya,xa,Da,Oa,Ma,Aa){var va=null;if(null!=Oa)for(va=new mxDictionary,ya=0;ya<Oa.length;ya++)va.put(Oa[ya],!0);Oa=this.useCssTransforms;var Ya=this.enableFlowAnimation;this.enableFlowAnimation=!1;Oa&&(this.useCssTransforms=!1,this.view.revalidate(),
+this.sizeDidChange());try{A=null!=A?A:1;B=null!=B?B:0;N=null!=N?N:!0;Q=null!=Q?Q:!0;W=null!=W?W:!0;ia=null!=ia?ia:!1;var Ta="page"==Da?this.view.getBackgroundPageBounds():Q&&null==va||E||"diagram"==Da?this.getGraphBounds():this.getBoundingBox(this.getSelectionCells()),Ka=this.backgroundImage,Wa=this.view.translate,Xa=this.view.scale;"diagram"==Da&&null!=Ka&&null!=Ka.width&&null!=Ka.height&&(Ta=mxRectangle.fromRectangle(Ta),Ta.add(new mxRectangle((Wa.x+Ka.x)*Xa,(Wa.y+Ka.y)*Xa,Ka.width*Xa,Ka.height*
+Xa)));if(null==Ta)throw Error(mxResources.get("drawingEmpty"));E=u;null!=E&&"dark"==xa&&Editor.enableCssDarkMode&&(E=Graph.invertColor(u));xa=A/Xa;Da=N?-.5:0;var bb=Graph.createSvgNode(Da,Da,Math.max(1,Math.ceil(Ta.width*xa)+2*B)+(ia&&0==B?5:0),Math.max(1,Math.ceil(Ta.height*xa)+2*B)+(ia&&0==B?5:0),E),ib=bb.ownerDocument;if(null!=u){var lb=mxUtils.createElementNs(ib,mxConstants.NS_SVG,"rect");lb.setAttribute("fill",u);lb.setAttribute("width","100%");lb.setAttribute("height","100%");lb.setAttribute("x",
+"0");lb.setAttribute("y","0");bb.appendChild(lb)}var sb=mxUtils.createElementNs(ib,mxConstants.NS_SVG,"g");bb.appendChild(sb);var eb=this.createSvgCanvas(sb);eb.foOffset=N?-.5:0;eb.textOffset=N?-.5:0;eb.imageOffset=N?-.5:0;eb.translate(Math.floor(B/A-Ta.x/Xa),Math.floor(B/A-Ta.y/Xa));var kb=document.createElement("div"),qb=eb.getAlternateText;eb.getAlternateText=function(Ua,fb,Ra,jb,mb,$a,pb,wb,xb,zb,c,l,t){if(null!=$a&&0<this.state.fontSize)try{mxUtils.isNode($a)?$a=$a.innerText:(kb.innerHTML=$a,
+$a=mxUtils.extractTextWithWhitespace(kb.childNodes));for(var m=Math.ceil(2*jb/this.state.fontSize),r=[],v=0,x=0;(0==m||v<m)&&x<$a.length;){var J=$a.charCodeAt(x);if(10==J||13==J){if(0<v)break}else r.push($a.charAt(x)),255>J&&v++;x++}r.length<$a.length&&1<$a.length-r.length&&($a=mxUtils.trim(r.join(""))+"...");return $a}catch(y){return qb.apply(this,arguments)}else return qb.apply(this,arguments)};null!=Ka&&null!=Ka.width&&null!=Ka.height&&(u=Xa/A,Da=new mxRectangle((Ka.x+Wa.x)*u,(Ka.y+Wa.y)*u,Ka.width*
+u,Ka.height*u),mxUtils.intersects(Ta,Da)&&eb.image(Ka.x+Wa.x,Ka.y+Wa.y,Ka.width,Ka.height,Ka.src,!0));eb.scale(xa);eb.textEnabled=W;ha=null!=ha?ha:this.createSvgImageExport();var tb=ha.getLinkForCellState;ha.getLinkForCellState=function(Ua,fb){var Ra=Ua.view.graph.getAbsoluteUrl(tb.apply(this,arguments));return null==Ra||Ua.view.graph.isCustomLink(Ra)?null:Ra};ha.getLinkTargetForCellState=function(Ua,fb){return Ua.view.graph.getLinkTargetForCell(Ua.cell)};var ub=ha.drawCellState,nb=null,rb=mxUtils.bind(this,
+function(){if(null==nb){nb="ge-flow-animation-"+Editor.guid();var Ua=null!=ib.createElementNS?ib.createElementNS(mxConstants.NS_SVG,"style"):ib.createElement("style");Ua.innerHTML=this.createFlowAnimationCss(nb);ib.getElementsByTagName("defs")[0].appendChild(Ua)}return nb});ha.drawCellState=function(Ua,fb){for(var Ra=Ua.view.graph,jb=null!=va?va.get(Ua.cell):Ra.isCellSelected(Ua.cell),mb=Ra.model.getParent(Ua.cell);!(Q&&null==va||jb)&&null!=mb;)jb=null!=va?va.get(mb):Ra.isCellSelected(mb),mb=Ra.model.getParent(mb);
+if(null!=Ua.shape)try{var $a=Ua.shape.isFlowAnimationEnabled,pb=Ua.shape.addFlowAnimationToShape;Ua.shape.isFlowAnimationEnabled=function(){return Ya&&Ra.model.isEdge(Ua.cell)&&"1"==mxUtils.getValue(Ua.style,"flowAnimation","0")};Ua.shape.addFlowAnimationToShape=function(){Ra.addFlowAnimationToNode(this.getFlowAnimationPath(),Ua.style,A,rb())};if(Q&&null==va||jb)Ra.view.redrawEnumerationState(Ua),ub.apply(this,arguments),this.doDrawShape(Ua.secondLabel,fb)}finally{Ua.shape.isFlowAnimationEnabled=
+$a,Ua.shape.addFlowAnimationToShape=pb}};var vb=null!=this.view.currentRoot?this.view.currentRoot:this.model.root;ha.drawState(this.getView().getState(vb),eb);this.addForeignObjectWarning(eb,bb);Aa?this.disableSvgLinks(bb):this.updateSvgLinks(bb,fa,!0);return bb}finally{this.enableFlowAnimation=Ya,Oa&&(this.useCssTransforms=!0,this.view.revalidate(),this.sizeDidChange())}};Graph.prototype.addForeignObjectWarning=function(u,A){if("0"!=urlParams["svg-warning"]&&0<A.getElementsByTagName("foreignObject").length){var B=
u.createElement("switch"),E=u.createElement("g");E.setAttribute("requiredFeatures","http://www.w3.org/TR/SVG11/feature#Extensibility");var N=u.createElement("a");N.setAttribute("transform","translate(0,-5)");null==N.setAttributeNS||A.ownerDocument!=document&&null==document.documentMode?(N.setAttribute("xlink:href",Graph.foreignObjectWarningLink),N.setAttribute("target","_blank")):(N.setAttributeNS(mxConstants.NS_XLINK,"xlink:href",Graph.foreignObjectWarningLink),N.setAttributeNS(mxConstants.NS_XLINK,
"target","_blank"));u=u.createElement("text");u.setAttribute("text-anchor","middle");u.setAttribute("font-size","10px");u.setAttribute("x","50%");u.setAttribute("y","100%");mxUtils.write(u,Graph.foreignObjectWarningText);B.appendChild(E);N.appendChild(u);B.appendChild(N);A.appendChild(B)}};Graph.prototype.disableSvgLinks=function(u,A){u=u.getElementsByTagName("a");for(var B=0;B<u.length;B++){var E=u[B].getAttribute("href");null==E&&(E=u[B].getAttribute("xlink:href"));null!=E&&(u[B].style.pointerEvents=
"none",u[B].setAttribute("href",""));A&&A(u[B])}};Graph.prototype.updateSvgLinks=function(u,A,B){u=u.getElementsByTagName("a");for(var E=0;E<u.length;E++)if(null==u[E].getAttribute("target")){var N=u[E].getAttribute("href");null==N&&(N=u[E].getAttribute("xlink:href"));null!=N&&(null!=A&&/^https?:\/\//.test(N)?u[E].setAttribute("target",A):B&&this.isCustomLink(N)&&u[E].setAttribute("href","javascript:void(0);"))}};Graph.prototype.createSvgCanvas=function(u){u=new mxSvgCanvas2D(u);u.minStrokeWidth=
-this.cellRenderer.minSvgStrokeWidth;u.pointerEvents=!0;return u};Graph.prototype.getSelectedTextBlocks=function(){function u(T){if(T.firstChild)return T.firstChild;for(;T;){if(T.nextSibling)return T.nextSibling;T=T.parentNode}}function A(T){var ia=T.startContainer,da=T.endContainer;T=T.commonAncestorContainer;var ha=[],ua;for(ua=ia.parentNode;ua&&(ha.push(ua),ua!=T);ua=ua.parentNode);ha.reverse();for(ua=ia;ua&&(ha.push(ua),ua!=da);ua=u(ua));return ha}var B=[this.getSelectedElement()];if(window.getSelection){var E=
-window.getSelection();E.getRangeAt&&E.rangeCount&&(B=A(E.getRangeAt(0)))}E=[];for(var N=0;N<B.length;N++)for(var Q=B[N];null!=this.cellEditor.textarea&&this.cellEditor.textarea.contains(Q)&&Q!=this.cellEditor.textarea&&null!=Q.parentNode;)if(Q.nodeType==mxConstants.NODETYPE_ELEMENT&&"block"==mxUtils.getCurrentStyle(Q).display){0>mxUtils.indexOf(E,Q)&&E.push(Q);break}else Q=Q.parentNode;return E};Graph.prototype.getSelectedElement=function(){var u=null;if(window.getSelection){var A=window.getSelection();
-A.getRangeAt&&A.rangeCount&&(u=A.getRangeAt(0).commonAncestorContainer)}else document.selection&&(u=document.selection.createRange().parentElement());return u};Graph.prototype.getSelectedEditingElement=function(){for(var u=this.getSelectedElement();null!=u&&u.nodeType!=mxConstants.NODETYPE_ELEMENT;)u=u.parentNode;null!=u&&u==this.cellEditor.textarea&&1==this.cellEditor.textarea.children.length&&this.cellEditor.textarea.firstChild.nodeType==mxConstants.NODETYPE_ELEMENT&&(u=this.cellEditor.textarea.firstChild);
-return u};Graph.prototype.getParentByName=function(u,A,B){for(;null!=u&&u.nodeName!=A;){if(u==B)return null;u=u.parentNode}return u};Graph.prototype.getParentByNames=function(u,A,B){for(;null!=u&&!(0<=mxUtils.indexOf(A,u.nodeName));){if(u==B)return null;u=u.parentNode}return u};Graph.prototype.selectNode=function(u){var A=null;if(window.getSelection){if(A=window.getSelection(),A.getRangeAt&&A.rangeCount){var B=document.createRange();B.selectNode(u);A.removeAllRanges();A.addRange(B)}}else(A=document.selection)&&
-"Control"!=A.type&&(u=A.createRange(),u.collapse(!0),B=A.createRange(),B.setEndPoint("StartToStart",u),B.select())};Graph.prototype.flipEdgePoints=function(u,A,B){var E=this.getCellGeometry(u);if(null!=E){E=E.clone();if(null!=E.points)for(var N=0;N<E.points.length;N++)A?E.points[N].x=B+(B-E.points[N].x):E.points[N].y=B+(B-E.points[N].y);N=function(Q){null!=Q&&(A?Q.x=B+(B-Q.x):Q.y=B+(B-Q.y))};N(E.getTerminalPoint(!0));N(E.getTerminalPoint(!1));this.model.setGeometry(u,E)}};Graph.prototype.flipChildren=
-function(u,A,B){this.model.beginUpdate();try{for(var E=this.model.getChildCount(u),N=0;N<E;N++){var Q=this.model.getChildAt(u,N);if(this.model.isEdge(Q))this.flipEdgePoints(Q,A,B);else{var T=this.getCellGeometry(Q);null!=T&&(T=T.clone(),A?T.x=B+(B-T.x-T.width):T.y=B+(B-T.y-T.height),this.model.setGeometry(Q,T))}}}finally{this.model.endUpdate()}};Graph.prototype.flipCells=function(u,A){this.model.beginUpdate();try{u=this.model.getTopmostCells(u);for(var B=[],E=0;E<u.length;E++)if(this.model.isEdge(u[E])){var N=
-this.view.getState(u[E]);null!=N&&this.flipEdgePoints(u[E],A,(A?N.getCenterX():N.getCenterY())/this.view.scale-(A?N.origin.x:N.origin.y)-(A?this.view.translate.x:this.view.translate.y))}else{var Q=this.getCellGeometry(u[E]);null!=Q&&this.flipChildren(u[E],A,A?Q.getCenterX()-Q.x:Q.getCenterY()-Q.y);B.push(u[E])}this.toggleCellStyles(A?mxConstants.STYLE_FLIPH:mxConstants.STYLE_FLIPV,!1,B)}finally{this.model.endUpdate()}};Graph.prototype.deleteCells=function(u,A){var B=null;if(null!=u&&0<u.length){this.model.beginUpdate();
-try{for(var E=0;E<u.length;E++){var N=this.model.getParent(u[E]);if(this.isTable(N)){var Q=this.getCellGeometry(u[E]),T=this.getCellGeometry(N);null!=Q&&null!=T&&(T=T.clone(),T.height-=Q.height,this.model.setGeometry(N,T))}}var ia=this.selectParentAfterDelete?this.model.getParents(u):null;this.removeCells(u,A)}finally{this.model.endUpdate()}if(null!=ia)for(B=[],E=0;E<ia.length;E++)this.model.contains(ia[E])&&(this.model.isVertex(ia[E])||this.model.isEdge(ia[E]))&&B.push(ia[E])}return B};Graph.prototype.insertTableColumn=
-function(u,A){var B=this.getModel();B.beginUpdate();try{var E=u,N=0;if(this.isTableCell(u)){var Q=B.getParent(u);E=B.getParent(Q);N=mxUtils.indexOf(B.getChildCells(Q,!0),u)}else this.isTableRow(u)?E=B.getParent(u):u=B.getChildCells(E,!0)[0],A||(N=B.getChildCells(u,!0).length-1);var T=B.getChildCells(E,!0),ia=Graph.minTableColumnWidth;for(u=0;u<T.length;u++){var da=B.getChildCells(T[u],!0)[N],ha=B.cloneCell(da,!1);null==ha&&(ha=this.createVertex());var ua=this.getCellGeometry(ha);ha.value=null;ha.style=
-mxUtils.setStyle(mxUtils.setStyle(ha.style,"rowspan",null),"colspan",null);if(null!=ua){null!=ua.alternateBounds&&(ua.width=ua.alternateBounds.width,ua.height=ua.alternateBounds.height,ua.alternateBounds=null);ia=ua.width;var Ja=this.getCellGeometry(T[u]);null!=Ja&&(ua.height=Ja.height)}B.add(T[u],ha,N+(A?0:1))}var Ka=this.getCellGeometry(E);null!=Ka&&(Ka=Ka.clone(),Ka.width+=ia,B.setGeometry(E,Ka))}finally{B.endUpdate()}};Graph.prototype.deleteLane=function(u){var A=this.getModel();A.beginUpdate();
-try{var B=null;B="stackLayout"==this.getCurrentCellStyle(u).childLayout?u:A.getParent(u);var E=A.getChildCells(B,!0);0==E.length?A.remove(B):(B==u&&(u=E[E.length-1]),A.remove(u))}finally{A.endUpdate()}};Graph.prototype.insertLane=function(u,A){var B=this.getModel();B.beginUpdate();try{var E=null;if("stackLayout"==this.getCurrentCellStyle(u).childLayout){E=u;var N=B.getChildCells(E,!0);u=N[A?0:N.length-1]}else E=B.getParent(u);var Q=E.getIndex(u);u=B.cloneCell(u,!1);u.value=null;B.add(E,u,Q+(A?0:1))}finally{B.endUpdate()}};
-Graph.prototype.insertTableRow=function(u,A){var B=this.getModel();B.beginUpdate();try{var E=u,N=u;if(this.isTableCell(u))N=B.getParent(u),E=B.getParent(N);else if(this.isTableRow(u))E=B.getParent(u);else{var Q=B.getChildCells(E,!0);N=Q[A?0:Q.length-1]}var T=B.getChildCells(N,!0),ia=E.getIndex(N);N=B.cloneCell(N,!1);N.value=null;var da=this.getCellGeometry(N);if(null!=da){for(Q=0;Q<T.length;Q++){u=B.cloneCell(T[Q],!1);u.value=null;u.style=mxUtils.setStyle(mxUtils.setStyle(u.style,"rowspan",null),
-"colspan",null);var ha=this.getCellGeometry(u);null!=ha&&(null!=ha.alternateBounds&&(ha.width=ha.alternateBounds.width,ha.height=ha.alternateBounds.height,ha.alternateBounds=null),ha.height=da.height);N.insert(u)}B.add(E,N,ia+(A?0:1));var ua=this.getCellGeometry(E);null!=ua&&(ua=ua.clone(),ua.height+=da.height,B.setGeometry(E,ua))}}finally{B.endUpdate()}};Graph.prototype.deleteTableColumn=function(u){var A=this.getModel();A.beginUpdate();try{var B=u,E=u;this.isTableCell(u)&&(E=A.getParent(u));this.isTableRow(E)&&
-(B=A.getParent(E));var N=A.getChildCells(B,!0);if(0==N.length)A.remove(B);else{this.isTableRow(E)||(E=N[0]);var Q=A.getChildCells(E,!0);if(1>=Q.length)A.remove(B);else{var T=Q.length-1;this.isTableCell(u)&&(T=mxUtils.indexOf(Q,u));for(E=u=0;E<N.length;E++){var ia=A.getChildCells(N[E],!0)[T];A.remove(ia);var da=this.getCellGeometry(ia);null!=da&&(u=Math.max(u,da.width))}var ha=this.getCellGeometry(B);null!=ha&&(ha=ha.clone(),ha.width-=u,A.setGeometry(B,ha))}}}finally{A.endUpdate()}};Graph.prototype.deleteTableRow=
-function(u){var A=this.getModel();A.beginUpdate();try{var B=u,E=u;this.isTableCell(u)&&(u=E=A.getParent(u));this.isTableRow(u)&&(B=A.getParent(E));var N=A.getChildCells(B,!0);if(1>=N.length)A.remove(B);else{this.isTableRow(E)||(E=N[N.length-1]);A.remove(E);u=0;var Q=this.getCellGeometry(E);null!=Q&&(u=Q.height);var T=this.getCellGeometry(B);null!=T&&(T=T.clone(),T.height-=u,A.setGeometry(B,T))}}finally{A.endUpdate()}};Graph.prototype.insertRow=function(u,A){for(var B=u.tBodies[0],E=B.rows[0].cells,
-N=u=0;N<E.length;N++){var Q=E[N].getAttribute("colspan");u+=null!=Q?parseInt(Q):1}A=B.insertRow(A);for(N=0;N<u;N++)mxUtils.br(A.insertCell(-1));return A.cells[0]};Graph.prototype.deleteRow=function(u,A){u.tBodies[0].deleteRow(A)};Graph.prototype.insertColumn=function(u,A){var B=u.tHead;if(null!=B)for(var E=0;E<B.rows.length;E++){var N=document.createElement("th");B.rows[E].appendChild(N);mxUtils.br(N)}u=u.tBodies[0];for(B=0;B<u.rows.length;B++)E=u.rows[B].insertCell(A),mxUtils.br(E);return u.rows[0].cells[0<=
-A?A:u.rows[0].cells.length-1]};Graph.prototype.deleteColumn=function(u,A){if(0<=A){u=u.tBodies[0].rows;for(var B=0;B<u.length;B++)u[B].cells.length>A&&u[B].deleteCell(A)}};Graph.prototype.pasteHtmlAtCaret=function(u){if(window.getSelection){var A=window.getSelection();if(A.getRangeAt&&A.rangeCount){A=A.getRangeAt(0);A.deleteContents();var B=document.createElement("div");B.innerHTML=u;u=document.createDocumentFragment();for(var E;E=B.firstChild;)lastNode=u.appendChild(E);A.insertNode(u)}}else(A=document.selection)&&
-"Control"!=A.type&&A.createRange().pasteHTML(u)};Graph.prototype.createLinkForHint=function(u,A,B){function E(Q,T){Q.length>T&&(Q=Q.substring(0,Math.round(T/2))+"..."+Q.substring(Q.length-Math.round(T/4)));return Q}u=null!=u?u:"javascript:void(0);";if(null==A||0==A.length)A=this.isCustomLink(u)?this.getLinkTitle(u):u;var N=document.createElement("a");N.setAttribute("rel",this.linkRelation);N.setAttribute("href",this.getAbsoluteUrl(u));N.setAttribute("title",E(this.isCustomLink(u)?this.getLinkTitle(u):
-u,80));null!=this.linkTarget&&N.setAttribute("target",this.linkTarget);mxUtils.write(N,E(A,40));this.isCustomLink(u)&&mxEvent.addListener(N,"click",mxUtils.bind(this,function(Q){this.customLinkClicked(u,B);mxEvent.consume(Q)}));return N};Graph.prototype.initTouch=function(){this.connectionHandler.marker.isEnabled=function(){return null!=this.graph.connectionHandler.first};this.addListener(mxEvent.START_EDITING,function(Q,T){this.popupMenuHandler.hideMenu()});var u=this.updateMouseEvent;this.updateMouseEvent=
-function(Q){Q=u.apply(this,arguments);if(mxEvent.isTouchEvent(Q.getEvent())&&null==Q.getState()){var T=this.getCellAt(Q.graphX,Q.graphY);null!=T&&this.isSwimlane(T)&&this.hitsSwimlaneContent(T,Q.graphX,Q.graphY)||(Q.state=this.view.getState(T),null!=Q.state&&null!=Q.state.shape&&(this.container.style.cursor=Q.state.shape.node.style.cursor))}null==Q.getState()&&this.isEnabled()&&(this.container.style.cursor="default");return Q};var A=!1,B=!1,E=!1,N=this.fireMouseEvent;this.fireMouseEvent=function(Q,
-T,ia){Q==mxEvent.MOUSE_DOWN&&(T=this.updateMouseEvent(T),A=this.isCellSelected(T.getCell()),B=this.isSelectionEmpty(),E=this.popupMenuHandler.isMenuShowing());N.apply(this,arguments)};this.popupMenuHandler.mouseUp=mxUtils.bind(this,function(Q,T){if(null!=this.freehand&&!this.freehand.isDrawing()){var ia=mxEvent.isMouseEvent(T.getEvent());this.popupMenuHandler.popupTrigger=!this.isEditing()&&this.isEnabled()&&(null==T.getState()||!T.isSource(T.getState().control))&&(this.popupMenuHandler.popupTrigger||
-!E&&!ia&&(B&&null==T.getCell()&&this.isSelectionEmpty()||A&&this.isCellSelected(T.getCell())));ia=!A||ia?null:mxUtils.bind(this,function(da){window.setTimeout(mxUtils.bind(this,function(){if(!this.isEditing()){var ha=mxUtils.getScrollOrigin();this.popupMenuHandler.popup(T.getX()+ha.x+1,T.getY()+ha.y+1,da,T.getEvent())}}),300)});mxPopupMenuHandler.prototype.mouseUp.apply(this.popupMenuHandler,[Q,T,ia])}})};mxCellEditor.prototype.isContentEditing=function(){var u=this.graph.view.getState(this.editingCell);
-return null!=u&&1==u.style.html};mxCellEditor.prototype.isTableSelected=function(){return null!=this.graph.getParentByName(this.graph.getSelectedElement(),"TABLE",this.textarea)};mxCellEditor.prototype.isTextSelected=function(){var u="";window.getSelection?u=window.getSelection():document.getSelection?u=document.getSelection():document.selection&&(u=document.selection.createRange().text);return""!=u};mxCellEditor.prototype.insertTab=function(u){var A=this.textarea.ownerDocument.defaultView.getSelection(),
-B=A.getRangeAt(0);u=Graph.createTabNode(u);B.insertNode(u);B.setStartAfter(u);B.setEndAfter(u);A.removeAllRanges();A.addRange(B)};mxCellEditor.prototype.alignText=function(u,A){var B=this.graph.getView().getState(this.editingCell);if(null!=B){B=mxUtils.getValue(B.style,mxConstants.STYLE_TEXT_DIRECTION,mxConstants.DEFAULT_TEXT_DIRECTION);var E=null!=B&&"vertical-"==B.substring(0,9),N=null!=A&&mxEvent.isShiftDown(A);if(N||null!=window.getSelection&&null!=window.getSelection().containsNode){var Q=!0;
-this.graph.processElements(this.textarea,function(T){N||E||window.getSelection().containsNode(T,!0)?(T.removeAttribute("align"),T.style.textAlign=null):Q=!1});(Q||E)&&this.graph.cellEditor.setAlign(u)}E||document.execCommand("justify"+u.toLowerCase(),!1,null)}};mxCellEditor.prototype.saveSelection=function(){if(window.getSelection){var u=window.getSelection();if(u.getRangeAt&&u.rangeCount){for(var A=[],B=0,E=u.rangeCount;B<E;++B)A.push(u.getRangeAt(B));return A}}else if(document.selection&&document.selection.createRange)return document.selection.createRange();
-return null};mxCellEditor.prototype.restoreSelection=function(u){try{if(u)if(window.getSelection){sel=window.getSelection();sel.removeAllRanges();for(var A=0,B=u.length;A<B;++A)sel.addRange(u[A])}else document.selection&&u.select&&u.select()}catch(E){}};var G=mxCellRenderer.prototype.initializeLabel;mxCellRenderer.prototype.initializeLabel=function(u){null!=u.text&&(u.text.replaceLinefeeds="0"!=mxUtils.getValue(u.style,"nl2Br","1"));G.apply(this,arguments)};var K=mxConstraintHandler.prototype.update;
-mxConstraintHandler.prototype.update=function(u,A){this.isKeepFocusEvent(u)||!mxEvent.isAltDown(u.getEvent())?K.apply(this,arguments):this.reset()};mxGuide.prototype.createGuideShape=function(u){return new mxPolyline([],mxConstants.GUIDE_COLOR,mxConstants.GUIDE_STROKEWIDTH)};mxCellEditor.prototype.escapeCancelsEditing=!1;var I=mxCellEditor.prototype.startEditing;mxCellEditor.prototype.startEditing=function(u,A){u=this.graph.getStartEditingCell(u,A);I.apply(this,arguments);var B=this.graph.view.getState(u);
-this.textarea.className=null!=B&&1==B.style.html?"mxCellEditor geContentEditable":"mxCellEditor mxPlainTextEditor";this.codeViewMode=!1;this.switchSelectionState=null;this.graph.setSelectionCell(u)};mxCellEditor.prototype.toggleViewMode=function(){var u=this.graph.view.getState(this.editingCell);if(null!=u){var A=null!=u&&"0"!=mxUtils.getValue(u.style,"nl2Br","1"),B=this.saveSelection();if(this.codeViewMode){ia=mxUtils.extractTextWithWhitespace(this.textarea.childNodes);0<ia.length&&"\n"==ia.charAt(ia.length-
-1)&&(ia=ia.substring(0,ia.length-1));ia=Graph.sanitizeHtml(A?ia.replace(/\n/g,"<br/>"):ia,!0);this.textarea.className="mxCellEditor geContentEditable";da=mxUtils.getValue(u.style,mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE);A=mxUtils.getValue(u.style,mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY);var E=mxUtils.getValue(u.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_LEFT),N=(mxUtils.getValue(u.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD,
-Q=(mxUtils.getValue(u.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC,T=[];(mxUtils.getValue(u.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&T.push("underline");(mxUtils.getValue(u.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_STRIKETHROUGH)==mxConstants.FONT_STRIKETHROUGH&&T.push("line-through");this.textarea.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?Math.round(da*mxConstants.LINE_HEIGHT)+"px":
-mxConstants.LINE_HEIGHT;this.textarea.style.fontSize=Math.round(da)+"px";this.textarea.style.textDecoration=T.join(" ");this.textarea.style.fontWeight=N?"bold":"normal";this.textarea.style.fontStyle=Q?"italic":"";this.textarea.style.fontFamily=A;this.textarea.style.textAlign=E;this.textarea.style.padding="0px";this.textarea.innerHTML!=ia&&(this.textarea.innerHTML=ia,0==this.textarea.innerHTML.length&&(this.textarea.innerHTML=this.getEmptyLabelText(),this.clearOnChange=0<this.textarea.innerHTML.length));
-this.codeViewMode=!1}else{this.clearOnChange&&this.textarea.innerHTML==this.getEmptyLabelText()&&(this.clearOnChange=!1,this.textarea.innerText="");var ia=mxUtils.htmlEntities(this.textarea.innerHTML);8!=document.documentMode&&(ia=mxUtils.replaceTrailingNewlines(ia,"<div><br></div>"));ia=Graph.sanitizeHtml(A?ia.replace(/\n/g,"").replace(/&lt;br\s*.?&gt;/g,"<br>"):ia,!0);this.textarea.className="mxCellEditor mxPlainTextEditor";var da=mxConstants.DEFAULT_FONTSIZE;this.textarea.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?
-Math.round(da*mxConstants.LINE_HEIGHT)+"px":mxConstants.LINE_HEIGHT;this.textarea.style.fontSize=Math.round(da)+"px";this.textarea.style.textDecoration="";this.textarea.style.fontWeight="normal";this.textarea.style.fontStyle="";this.textarea.style.fontFamily=mxConstants.DEFAULT_FONTFAMILY;this.textarea.style.textAlign="left";this.textarea.style.width="";this.textarea.style.padding="2px";this.textarea.innerHTML!=ia&&(this.textarea.innerHTML=ia);this.codeViewMode=!0}this.textarea.focus();null!=this.switchSelectionState&&
-this.restoreSelection(this.switchSelectionState);this.switchSelectionState=B;this.resize()}};var O=mxCellEditor.prototype.resize;mxCellEditor.prototype.resize=function(u,A){if(null!=this.textarea)if(u=this.graph.getView().getState(this.editingCell),this.codeViewMode&&null!=u){var B=u.view.scale;this.bounds=mxRectangle.fromRectangle(u);if(0==this.bounds.width&&0==this.bounds.height){this.bounds.width=160*B;this.bounds.height=60*B;var E=null!=u.text?u.text.margin:null;null==E&&(E=mxUtils.getAlignmentAsPoint(mxUtils.getValue(u.style,
-mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER),mxUtils.getValue(u.style,mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE)));this.bounds.x+=E.x*this.bounds.width;this.bounds.y+=E.y*this.bounds.height}this.textarea.style.width=Math.round((this.bounds.width-4)/B)+"px";this.textarea.style.height=Math.round((this.bounds.height-4)/B)+"px";this.textarea.style.overflow="auto";this.textarea.clientHeight<this.textarea.offsetHeight&&(this.textarea.style.height=Math.round(this.bounds.height/B)+(this.textarea.offsetHeight-
-this.textarea.clientHeight)+"px",this.bounds.height=parseInt(this.textarea.style.height)*B);this.textarea.clientWidth<this.textarea.offsetWidth&&(this.textarea.style.width=Math.round(this.bounds.width/B)+(this.textarea.offsetWidth-this.textarea.clientWidth)+"px",this.bounds.width=parseInt(this.textarea.style.width)*B);this.textarea.style.left=Math.round(this.bounds.x)+"px";this.textarea.style.top=Math.round(this.bounds.y)+"px";mxUtils.setPrefixedStyle(this.textarea.style,"transform","scale("+B+","+
-B+")")}else this.textarea.style.height="",this.textarea.style.overflow="",O.apply(this,arguments)};mxCellEditorGetInitialValue=mxCellEditor.prototype.getInitialValue;mxCellEditor.prototype.getInitialValue=function(u,A){if("0"==mxUtils.getValue(u.style,"html","0"))return mxCellEditorGetInitialValue.apply(this,arguments);var B=this.graph.getEditingValue(u.cell,A);"1"==mxUtils.getValue(u.style,"nl2Br","1")&&(B=B.replace(/\n/g,"<br/>"));return B=Graph.sanitizeHtml(B,!0)};mxCellEditorGetCurrentValue=mxCellEditor.prototype.getCurrentValue;
-mxCellEditor.prototype.getCurrentValue=function(u){if("0"==mxUtils.getValue(u.style,"html","0"))return mxCellEditorGetCurrentValue.apply(this,arguments);var A=Graph.sanitizeHtml(this.textarea.innerHTML,!0);"1"==mxUtils.getValue(u.style,"nl2Br","1")?(A=A.replace(/\r\n/g,"<br/>").replace(/\n/g,"<br/>"),0<A.length&&("<br/>"==A.substring(A.length-5)||"<br>"==A.substring(A.length-4))&&(A=A.substring(0,A.lastIndexOf("<br"))+"<div><br/></div>")):A=A.replace(/\r\n/g,"").replace(/\n/g,"");return A};var H=
-mxCellEditor.prototype.stopEditing;mxCellEditor.prototype.stopEditing=function(u){this.codeViewMode&&this.toggleViewMode();H.apply(this,arguments);this.focusContainer()};mxCellEditor.prototype.focusContainer=function(){try{this.graph.container.focus()}catch(u){}};var Z=mxCellEditor.prototype.applyValue;mxCellEditor.prototype.applyValue=function(u,A){this.graph.getModel().beginUpdate();try{Z.apply(this,arguments),""==A&&this.graph.isCellDeletable(u.cell)&&0==this.graph.model.getChildCount(u.cell)&&
-this.graph.isTransparentState(u)&&this.graph.removeCells([u.cell],!1)}finally{this.graph.getModel().endUpdate()}};mxCellEditor.prototype.getBackgroundColor=function(u){u=mxUtils.getValue(u.style,mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,null);u==mxConstants.NONE&&(u=null);return u};mxCellEditor.prototype.getBorderColor=function(u){u=mxUtils.getValue(u.style,mxConstants.STYLE_LABEL_BORDERCOLOR,null);u==mxConstants.NONE&&(u=null);return u};mxCellEditor.prototype.getMinimumSize=function(u){var A=this.graph.getView().scale;
-return new mxRectangle(0,0,null==u.text?30:u.text.size*A+20,30)};mxGraphHandlerIsValidDropTarget=mxGraphHandler.prototype.isValidDropTarget;mxGraphHandler.prototype.isValidDropTarget=function(u,A){return mxGraphHandlerIsValidDropTarget.apply(this,arguments)&&!mxEvent.isAltDown(A.getEvent)};mxGraphView.prototype.formatUnitText=function(u){return u?b(u,this.unit):u};mxGraphHandler.prototype.updateHint=function(u){if(null!=this.pBounds&&(null!=this.shape||this.livePreviewActive)){null==this.hint&&(this.hint=
-a(),this.graph.container.appendChild(this.hint));var A=this.graph.view.translate,B=this.graph.view.scale;u=this.roundLength((this.bounds.x+this.currentDx)/B-A.x);A=this.roundLength((this.bounds.y+this.currentDy)/B-A.y);B=this.graph.view.unit;this.hint.innerHTML=b(u,B)+", "+b(A,B);this.hint.style.left=this.pBounds.x+this.currentDx+Math.round((this.pBounds.width-this.hint.clientWidth)/2)+"px";this.hint.style.top=this.pBounds.y+this.currentDy+this.pBounds.height+Editor.hintOffset+"px"}};mxGraphHandler.prototype.removeHint=
-function(){null!=this.hint&&(null!=this.hint.parentNode&&this.hint.parentNode.removeChild(this.hint),this.hint=null)};var S=mxStackLayout.prototype.resizeCell;mxStackLayout.prototype.resizeCell=function(u,A){S.apply(this,arguments);var B=this.graph.getCellStyle(u);if(null==B.childLayout){var E=this.graph.model.getParent(u),N=null!=E?this.graph.getCellGeometry(E):null;if(null!=N&&(B=this.graph.getCellStyle(E),"stackLayout"==B.childLayout)){var Q=parseFloat(mxUtils.getValue(B,"stackBorder",mxStackLayout.prototype.border));
-B="1"==mxUtils.getValue(B,"horizontalStack","1");var T=this.graph.getActualStartSize(E);N=N.clone();B?N.height=A.height+T.y+T.height+2*Q:N.width=A.width+T.x+T.width+2*Q;this.graph.model.setGeometry(E,N)}}};var X=mxSelectionCellsHandler.prototype.getHandledSelectionCells;mxSelectionCellsHandler.prototype.getHandledSelectionCells=function(){function u(ia){B.get(ia)||(B.put(ia,!0),N.push(ia))}for(var A=X.apply(this,arguments),B=new mxDictionary,E=this.graph.model,N=[],Q=0;Q<A.length;Q++){var T=A[Q];
-this.graph.isTableCell(T)?u(E.getParent(E.getParent(T))):this.graph.isTableRow(T)&&u(E.getParent(T));u(T)}return N};var Y=mxConnectionHandler.prototype.isStartEvent;mxConnectionHandler.prototype.isStartEvent=function(u){return Y.apply(this,arguments)&&!mxEvent.isControlDown(u.getEvent())&&!mxEvent.isShiftDown(u.getEvent())};var M=mxVertexHandler.prototype.isGhostPreview;mxVertexHandler.prototype.isGhostPreview=function(){return M.apply(this,arguments)&&!this.graph.isTable(this.state.cell)&&!this.graph.isTableRow(this.state.cell)&&
-!this.graph.isTableCell(this.state.cell)&&!this.graph.isSwimlane(this.state.cell)};var U=mxVertexHandler.prototype.createParentHighlightShape;mxVertexHandler.prototype.createParentHighlightShape=function(u){var A=U.apply(this,arguments);A.stroke="#C0C0C0";A.strokewidth=1;return A};var ba=mxEdgeHandler.prototype.createParentHighlightShape;mxEdgeHandler.prototype.createParentHighlightShape=function(u){var A=ba.apply(this,arguments);A.stroke="#C0C0C0";A.strokewidth=1;return A};mxVertexHandler.prototype.rotationHandleVSpacing=
--12;mxVertexHandler.prototype.getRotationHandlePosition=function(){var u=this.getHandlePadding();return new mxPoint(this.bounds.x+this.bounds.width-this.rotationHandleVSpacing+u.x/2,this.bounds.y+this.rotationHandleVSpacing-u.y/2)};mxVertexHandler.prototype.isRecursiveResize=function(u,A){return this.graph.isRecursiveVertexResize(u)&&!mxEvent.isAltDown(A.getEvent())};mxVertexHandler.prototype.isCenteredEvent=function(u,A){return mxEvent.isControlDown(A.getEvent())||mxEvent.isMetaDown(A.getEvent())};
-var ja=mxVertexHandler.prototype.isRotationHandleVisible;mxVertexHandler.prototype.isRotationHandleVisible=function(){return ja.apply(this,arguments)&&!this.graph.isTableCell(this.state.cell)&&!this.graph.isTableRow(this.state.cell)&&!this.graph.isTable(this.state.cell)};mxVertexHandler.prototype.getSizerBounds=function(){return this.graph.isTableCell(this.state.cell)?this.graph.view.getState(this.graph.model.getParent(this.graph.model.getParent(this.state.cell))):this.bounds};var pa=mxVertexHandler.prototype.isParentHighlightVisible;
-mxVertexHandler.prototype.isParentHighlightVisible=function(){return pa.apply(this,arguments)&&!this.graph.isTableCell(this.state.cell)&&!this.graph.isTableRow(this.state.cell)};var P=mxVertexHandler.prototype.isCustomHandleVisible;mxVertexHandler.prototype.isCustomHandleVisible=function(u){return u.tableHandle||P.apply(this,arguments)&&(!this.graph.isTable(this.state.cell)||this.graph.isCellSelected(this.state.cell))};mxVertexHandler.prototype.getSelectionBorderInset=function(){var u=0;this.graph.isTableRow(this.state.cell)?
-u=1:this.graph.isTableCell(this.state.cell)&&(u=2);return u};var W=mxVertexHandler.prototype.getSelectionBorderBounds;mxVertexHandler.prototype.getSelectionBorderBounds=function(){return W.apply(this,arguments).grow(-this.getSelectionBorderInset())};var V=null,ca=mxVertexHandler.prototype.createCustomHandles;mxVertexHandler.prototype.createCustomHandles=function(){null==V&&(V=mxCellRenderer.defaultShapes.tableLine);var u=ca.apply(this,arguments);if(this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell)){var A=
-function(Ba,wa,za){for(var Ya=[],Sa=0;Sa<Ba.length;Sa++){var La=Ba[Sa];Ya.push(null==La?null:new mxPoint((da+La.x+wa)*Q,(ha+La.y+za)*Q))}return Ya},B=this,E=this.graph,N=E.model,Q=E.view.scale,T=this.state,ia=this.selectionBorder,da=this.state.origin.x+E.view.translate.x,ha=this.state.origin.y+E.view.translate.y;null==u&&(u=[]);var ua=E.view.getCellStates(N.getChildCells(this.state.cell,!0));if(0<ua.length){var Ja=N.getChildCells(ua[0].cell,!0),Ka=E.getTableLines(this.state.cell,!1,!0),xa=E.getTableLines(this.state.cell,
-!0,!1);for(N=0;N<ua.length;N++)mxUtils.bind(this,function(Ba){var wa=ua[Ba],za=null;if(E.isCellMovable(wa.cell)){za=Ba<ua.length-1?ua[Ba+1]:null;za=null!=za?E.getCellGeometry(za.cell):null;var Ya=null!=za&&null!=za.alternateBounds?za.alternateBounds:za;za=null!=xa[Ba]?new V(xa[Ba],mxConstants.NONE,1):new mxLine(new mxRectangle,mxConstants.NONE,1,!1);za.isDashed=ia.isDashed;za.svgStrokeTolerance++;za=new mxHandle(wa,"row-resize",null,za);za.tableHandle=!0;var Sa=0;za.shape.node.parentNode.insertBefore(za.shape.node,
-za.shape.node.parentNode.firstChild);za.redraw=function(){if(null!=this.shape){this.shape.stroke=0==Sa?mxConstants.NONE:ia.stroke;if(this.shape.constructor==V)this.shape.line=A(xa[Ba],0,Sa),this.shape.updateBoundsFromLine();else{var Xa=E.getActualStartSize(T.cell,!0);this.shape.bounds.height=1;this.shape.bounds.y=this.state.y+this.state.height+Sa*Q;this.shape.bounds.x=T.x+(Ba==ua.length-1?0:Xa.x*Q);this.shape.bounds.width=T.width-(Ba==ua.length-1?0:Xa.width+Xa.x+Q)}this.shape.redraw()}};var La=!1;
-za.setPosition=function(Xa,Za,bb){Sa=Math.max(Graph.minTableRowHeight-Xa.height,Za.y-Xa.y-Xa.height);La=mxEvent.isShiftDown(bb.getEvent());null!=Ya&&La&&(Sa=Math.min(Sa,Ya.height-Graph.minTableRowHeight))};za.execute=function(Xa){if(0!=Sa)E.setTableRowHeight(this.state.cell,Sa,!La);else if(!B.blockDelayedSelection){var Za=E.getCellAt(Xa.getGraphX(),Xa.getGraphY())||T.cell;E.graphHandler.selectCellForEvent(Za,Xa)}Sa=0};za.reset=function(){Sa=0}}u.push(za)})(N);for(N=0;N<Ja.length;N++)mxUtils.bind(this,
-function(Ba){var wa=E.view.getState(Ja[Ba]),za=E.getCellGeometry(Ja[Ba]),Ya=null!=za.alternateBounds?za.alternateBounds:za;null==wa&&(wa=new mxCellState(E.view,Ja[Ba],E.getCellStyle(Ja[Ba])),wa.x=T.x+za.x*Q,wa.y=T.y+za.y*Q,wa.width=Ya.width*Q,wa.height=Ya.height*Q,wa.updateCachedBounds());za=Ba<Ja.length-1?Ja[Ba+1]:null;za=null!=za?E.getCellGeometry(za):null;var Sa=null!=za&&null!=za.alternateBounds?za.alternateBounds:za;za=null!=Ka[Ba]?new V(Ka[Ba],mxConstants.NONE,1):new mxLine(new mxRectangle,
-mxConstants.NONE,1,!0);za.isDashed=ia.isDashed;za.svgStrokeTolerance++;wa=new mxHandle(wa,"col-resize",null,za);wa.tableHandle=!0;var La=0;wa.shape.node.parentNode.insertBefore(wa.shape.node,wa.shape.node.parentNode.firstChild);wa.redraw=function(){if(null!=this.shape){this.shape.stroke=0==La?mxConstants.NONE:ia.stroke;if(this.shape.constructor==V)this.shape.line=A(Ka[Ba],La,0),this.shape.updateBoundsFromLine();else{var Za=E.getActualStartSize(T.cell,!0);this.shape.bounds.width=1;this.shape.bounds.x=
-this.state.x+(Ya.width+La)*Q;this.shape.bounds.y=T.y+(Ba==Ja.length-1?0:Za.y*Q);this.shape.bounds.height=T.height-(Ba==Ja.length-1?0:(Za.height+Za.y)*Q)}this.shape.redraw()}};var Xa=!1;wa.setPosition=function(Za,bb,jb){La=Math.max(Graph.minTableColumnWidth-Ya.width,bb.x-Za.x-Ya.width);Xa=mxEvent.isShiftDown(jb.getEvent());null==Sa||Xa||(La=Math.min(La,Sa.width-Graph.minTableColumnWidth))};wa.execute=function(Za){if(0!=La)E.setTableColumnWidth(this.state.cell,La,Xa);else if(!B.blockDelayedSelection){var bb=
-E.getCellAt(Za.getGraphX(),Za.getGraphY())||T.cell;E.graphHandler.selectCellForEvent(bb,Za)}La=0};wa.positionChanged=function(){};wa.reset=function(){La=0};u.push(wa)})(N)}}return null!=u?u.reverse():null};var ra=mxVertexHandler.prototype.setHandlesVisible;mxVertexHandler.prototype.setHandlesVisible=function(u){ra.apply(this,arguments);if(null!=this.moveHandles)for(var A=0;A<this.moveHandles.length;A++)null!=this.moveHandles[A]&&(this.moveHandles[A].node.style.visibility=u?"":"hidden");if(null!=this.cornerHandles)for(A=
-0;A<this.cornerHandles.length;A++)this.cornerHandles[A].node.style.visibility=u?"":"hidden"};mxVertexHandler.prototype.isMoveHandlesVisible=function(){return this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell)};mxVertexHandler.prototype.refreshMoveHandles=function(){var u=this.isMoveHandlesVisible();u&&null==this.moveHandles?this.moveHandles=this.createMoveHandles():u||null==this.moveHandles||this.destroyMoveHandles();if(u&&null==this.moveHandles){for(u=0;u<this.moveHandles.length;u++)null!=
-this.moveHandles[u]&&this.moveHandles[u].parentNode.removeChild(this.moveHandles[u]);this.moveHandles=null}};mxVertexHandler.prototype.createMoveHandles=function(){for(var u=this.graph,A=u.model,B=[],E=0;E<A.getChildCount(this.state.cell);E++)mxUtils.bind(this,function(N){if(null!=N&&A.isVertex(N.cell)&&u.isCellMovable(N.cell)){var Q=new mxRectangle(0,0,this.rowHandleImage.width,this.rowHandleImage.height);Q=new mxImageShape(Q,this.rowHandleImage.src);Q.rowState=N;Q.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?
-mxConstants.DIALECT_MIXEDHTML:mxConstants.DIALECT_SVG;Q.init(this.graph.getView().getOverlayPane());Q.node.style.cursor="move";mxEvent.addGestureListeners(Q.node,mxUtils.bind(this,function(T){this.graph.popupMenuHandler.hideMenu();this.graph.stopEditing(!1);!this.graph.isToggleEvent(T)&&this.graph.isCellSelected(N.cell)||this.graph.selectCellForEvent(N.cell,T);mxEvent.isPopupTrigger(T)||(this.graph.graphHandler.start(this.state.cell,mxEvent.getClientX(T),mxEvent.getClientY(T),this.graph.getSelectionCells()),
-this.graph.graphHandler.cellWasClicked=!0,this.graph.isMouseTrigger=mxEvent.isMouseEvent(T),this.graph.isMouseDown=!0);mxEvent.consume(T)}),null,mxUtils.bind(this,function(T){mxEvent.isPopupTrigger(T)&&(this.graph.popupMenuHandler.popup(mxEvent.getClientX(T),mxEvent.getClientY(T),N.cell,T),mxEvent.consume(T))}));B.push(Q)}else B.push(null)})(this.graph.view.getState(A.getChildAt(this.state.cell,E)));return B};mxVertexHandler.prototype.destroyMoveHandles=function(){if(null!=this.moveHandles){for(var u=
-0;u<this.moveHandles.length;u++)null!=this.moveHandles[u]&&this.moveHandles[u].destroy();this.moveHandles=null}};mxVertexHandler.prototype.destroyCornerHandles=function(){if(null!=this.cornerHandles){for(var u=0;u<this.cornerHandles.length;u++)null!=this.cornerHandles[u]&&null!=this.cornerHandles[u].node&&null!=this.cornerHandles[u].node.parentNode&&this.cornerHandles[u].node.parentNode.removeChild(this.cornerHandles[u].node);this.cornerHandles=null}};var oa=mxVertexHandler.prototype.refresh;mxVertexHandler.prototype.refresh=
-function(){oa.apply(this,arguments);this.destroyMoveHandles();this.destroyCornerHandles();if(this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell))this.refreshMoveHandles();else if(1==this.graph.getSelectionCount()&&this.graph.isCellMovable(this.state.cell)&&(this.graph.isTableCell(this.state.cell)||this.graph.isTableRow(this.state.cell))){this.cornerHandles=[];for(var u=0;4>u;u++){var A=new mxRectangleShape(new mxRectangle(0,0,6,6),"#ffffff",mxConstants.HANDLE_STROKECOLOR);
-A.dialect=mxConstants.DIALECT_SVG;A.init(this.graph.view.getOverlayPane());this.cornerHandles.push(A)}}this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell)&&this.refreshMoveHandles();u=this.graph.getLinkForCell(this.state.cell);A=this.graph.getLinksForState(this.state);this.updateLinkHint(u,A)};var L=mxVertexHandler.prototype.getHandlePadding;mxVertexHandler.prototype.getHandlePadding=function(){var u=new mxPoint(0,0),A=this.tolerance,B=this.state.style.shape;null==mxCellRenderer.defaultShapes[B]&&
-mxStencilRegistry.getStencil(B);B=this.graph.isTable(this.state.cell)||this.graph.cellEditor.getEditingCell()==this.state.cell;if(!B&&null!=this.customHandles)for(var E=0;E<this.customHandles.length;E++)if(null!=this.customHandles[E]&&null!=this.customHandles[E].shape&&null!=this.customHandles[E].shape.bounds){var N=this.customHandles[E].shape.bounds,Q=N.getCenterX(),T=N.getCenterY();if(Math.abs(this.state.x-Q)<N.width/2||Math.abs(this.state.y-T)<N.height/2||Math.abs(this.state.x+this.state.width-
-Q)<N.width/2||Math.abs(this.state.y+this.state.height-T)<N.height/2){B=!0;break}}B&&null!=this.sizers&&0<this.sizers.length&&null!=this.sizers[0]?(A/=2,this.graph.isTable(this.state.cell)&&(A+=7),u.x=this.sizers[0].bounds.width+A,u.y=this.sizers[0].bounds.height+A):u=L.apply(this,arguments);return u};mxVertexHandler.prototype.updateHint=function(u){if(this.index!=mxEvent.LABEL_HANDLE){null==this.hint&&(this.hint=a(),this.state.view.graph.container.appendChild(this.hint));if(this.index==mxEvent.ROTATION_HANDLE)this.hint.innerHTML=
-this.currentAlpha+"&deg;";else{u=this.state.view.scale;var A=this.state.view.unit;this.hint.innerHTML=b(this.roundLength(this.bounds.width/u),A)+" x "+b(this.roundLength(this.bounds.height/u),A)}u=mxUtils.getBoundingBox(this.bounds,null!=this.currentAlpha?this.currentAlpha:this.state.style[mxConstants.STYLE_ROTATION]||"0");null==u&&(u=this.bounds);this.hint.style.left=u.x+Math.round((u.width-this.hint.clientWidth)/2)+"px";this.hint.style.top=u.y+u.height+Editor.hintOffset+"px";null!=this.linkHint&&
-(this.linkHint.style.display="none")}};mxVertexHandler.prototype.removeHint=function(){mxGraphHandler.prototype.removeHint.apply(this,arguments);null!=this.linkHint&&(this.linkHint.style.display="")};var ea=mxEdgeHandler.prototype.refresh;mxEdgeHandler.prototype.refresh=function(){ea.apply(this,arguments);var u=this.graph.getLinkForCell(this.state.cell),A=this.graph.getLinksForState(this.state);this.updateLinkHint(u,A)};var sa=mxEdgeHandler.prototype.mouseMove;mxEdgeHandler.prototype.mouseMove=function(u,
-A){sa.apply(this,arguments);null!=this.linkHint&&"none"!=this.linkHint.style.display&&null!=this.graph.graphHandler&&null!=this.graph.graphHandler.first&&(this.linkHint.style.display="none")};var va=mxEdgeHandler.prototype.mouseUp;mxEdgeHandler.prototype.mouseUp=function(u,A){va.apply(this,arguments);null!=this.linkHint&&"none"==this.linkHint.style.display&&1==this.graph.getSelectionCount()&&(this.linkHint.style.display="")};mxEdgeHandler.prototype.updateHint=function(u,A,B){null==this.hint&&(this.hint=
-a(),this.state.view.graph.container.appendChild(this.hint));var E=this.graph.view.translate,N=this.graph.view.scale,Q=this.roundLength(A.x/N-E.x);E=this.roundLength(A.y/N-E.y);var T=this.graph.view.unit;this.hint.innerHTML=b(Q,T)+", "+b(E,T);this.hint.style.visibility="visible";null!=B&&(B.view.updateEdgeBounds(B),this.hint.innerHTML+=" ("+(T==mxConstants.POINTS?Math.round(B.length/N):b(B.length/N,T))+")");if(this.isSource||this.isTarget)null!=this.constraintHandler&&null!=this.constraintHandler.currentConstraint&&
-null!=this.constraintHandler.currentFocus?(B=this.constraintHandler.currentConstraint.point,this.hint.innerHTML="["+Math.round(100*B.x)+"%, "+Math.round(100*B.y)+"%]"):this.marker.hasValidState()&&(this.hint.style.visibility="hidden");this.hint.style.left=Math.round(u.getGraphX()-this.hint.clientWidth/2)+"px";this.hint.style.top=Math.max(u.getGraphY(),A.y)+Editor.hintOffset+"px";null!=this.linkHint&&(this.linkHint.style.display="none")};Graph.prototype.expandedImage=Graph.createSvgImage(9,9,'<defs><linearGradient id="grad1" x1="50%" y1="0%" x2="50%" y2="100%"><stop offset="30%" style="stop-color:#f0f0f0;" /><stop offset="100%" style="stop-color:#AFB0B6;" /></linearGradient></defs><rect x="0" y="0" width="9" height="9" stroke="#8A94A5" fill="url(#grad1)" stroke-width="2"/><path d="M 2 4.5 L 7 4.5 z" stroke="#000"/>');
+this.cellRenderer.minSvgStrokeWidth;u.pointerEvents=!0;return u};Graph.prototype.getSelectedElement=function(){var u=null;if(window.getSelection){var A=window.getSelection();A.getRangeAt&&A.rangeCount&&(u=A.getRangeAt(0).commonAncestorContainer)}else document.selection&&(u=document.selection.createRange().parentElement());return u};Graph.prototype.getSelectedEditingElement=function(){for(var u=this.getSelectedElement();null!=u&&u.nodeType!=mxConstants.NODETYPE_ELEMENT;)u=u.parentNode;null!=u&&u==
+this.cellEditor.textarea&&1==this.cellEditor.textarea.children.length&&this.cellEditor.textarea.firstChild.nodeType==mxConstants.NODETYPE_ELEMENT&&(u=this.cellEditor.textarea.firstChild);return u};Graph.prototype.getParentByName=function(u,A,B){for(;null!=u&&u.nodeName!=A;){if(u==B)return null;u=u.parentNode}return u};Graph.prototype.getParentByNames=function(u,A,B){for(;null!=u&&!(0<=mxUtils.indexOf(A,u.nodeName));){if(u==B)return null;u=u.parentNode}return u};Graph.prototype.selectNode=function(u){var A=
+null;if(window.getSelection){if(A=window.getSelection(),A.getRangeAt&&A.rangeCount){var B=document.createRange();B.selectNode(u);A.removeAllRanges();A.addRange(B)}}else(A=document.selection)&&"Control"!=A.type&&(u=A.createRange(),u.collapse(!0),B=A.createRange(),B.setEndPoint("StartToStart",u),B.select())};Graph.prototype.flipEdgePoints=function(u,A,B){var E=this.getCellGeometry(u);if(null!=E){E=E.clone();if(null!=E.points)for(var N=0;N<E.points.length;N++)A?E.points[N].x=B+(B-E.points[N].x):E.points[N].y=
+B+(B-E.points[N].y);N=function(Q){null!=Q&&(A?Q.x=B+(B-Q.x):Q.y=B+(B-Q.y))};N(E.getTerminalPoint(!0));N(E.getTerminalPoint(!1));this.model.setGeometry(u,E)}};Graph.prototype.flipChildren=function(u,A,B){this.model.beginUpdate();try{for(var E=this.model.getChildCount(u),N=0;N<E;N++){var Q=this.model.getChildAt(u,N);if(this.model.isEdge(Q))this.flipEdgePoints(Q,A,B);else{var W=this.getCellGeometry(Q);null!=W&&(W=W.clone(),A?W.x=B+(B-W.x-W.width):W.y=B+(B-W.y-W.height),this.model.setGeometry(Q,W))}}}finally{this.model.endUpdate()}};
+Graph.prototype.flipCells=function(u,A){this.model.beginUpdate();try{u=this.model.getTopmostCells(u);for(var B=[],E=0;E<u.length;E++)if(this.model.isEdge(u[E])){var N=this.view.getState(u[E]);null!=N&&this.flipEdgePoints(u[E],A,(A?N.getCenterX():N.getCenterY())/this.view.scale-(A?N.origin.x:N.origin.y)-(A?this.view.translate.x:this.view.translate.y))}else{var Q=this.getCellGeometry(u[E]);null!=Q&&this.flipChildren(u[E],A,A?Q.getCenterX()-Q.x:Q.getCenterY()-Q.y);B.push(u[E])}this.toggleCellStyles(A?
+mxConstants.STYLE_FLIPH:mxConstants.STYLE_FLIPV,!1,B)}finally{this.model.endUpdate()}};Graph.prototype.deleteCells=function(u,A){var B=null;if(null!=u&&0<u.length){this.model.beginUpdate();try{for(var E=0;E<u.length;E++){var N=this.model.getParent(u[E]);if(this.isTable(N)){var Q=this.getCellGeometry(u[E]),W=this.getCellGeometry(N);null!=Q&&null!=W&&(W=W.clone(),W.height-=Q.height,this.model.setGeometry(N,W))}}var ha=this.selectParentAfterDelete?this.model.getParents(u):null;this.removeCells(u,A)}finally{this.model.endUpdate()}if(null!=
+ha)for(B=[],E=0;E<ha.length;E++)this.model.contains(ha[E])&&(this.model.isVertex(ha[E])||this.model.isEdge(ha[E]))&&B.push(ha[E])}return B};Graph.prototype.insertTableColumn=function(u,A){var B=this.getModel();B.beginUpdate();try{var E=u,N=0;if(this.isTableCell(u)){var Q=B.getParent(u);E=B.getParent(Q);N=mxUtils.indexOf(B.getChildCells(Q,!0),u)}else this.isTableRow(u)?E=B.getParent(u):u=B.getChildCells(E,!0)[0],A||(N=B.getChildCells(u,!0).length-1);var W=B.getChildCells(E,!0),ha=Graph.minTableColumnWidth;
+for(u=0;u<W.length;u++){var fa=B.getChildCells(W[u],!0)[N],ia=B.cloneCell(fa,!1);null==ia&&(ia=this.createVertex());var ya=this.getCellGeometry(ia);ia.value=null;ia.style=mxUtils.setStyle(mxUtils.setStyle(ia.style,"rowspan",null),"colspan",null);if(null!=ya){null!=ya.alternateBounds&&(ya.width=ya.alternateBounds.width,ya.height=ya.alternateBounds.height,ya.alternateBounds=null);ha=ya.width;var xa=this.getCellGeometry(W[u]);null!=xa&&(ya.height=xa.height)}B.add(W[u],ia,N+(A?0:1))}var Da=this.getCellGeometry(E);
+null!=Da&&(Da=Da.clone(),Da.width+=ha,B.setGeometry(E,Da))}finally{B.endUpdate()}};Graph.prototype.deleteLane=function(u){var A=this.getModel();A.beginUpdate();try{var B=null;B="stackLayout"==this.getCurrentCellStyle(u).childLayout?u:A.getParent(u);var E=A.getChildCells(B,!0);0==E.length?A.remove(B):(B==u&&(u=E[E.length-1]),A.remove(u))}finally{A.endUpdate()}};Graph.prototype.insertLane=function(u,A){var B=this.getModel();B.beginUpdate();try{var E=null;if("stackLayout"==this.getCurrentCellStyle(u).childLayout){E=
+u;var N=B.getChildCells(E,!0);u=N[A?0:N.length-1]}else E=B.getParent(u);var Q=E.getIndex(u);u=B.cloneCell(u,!1);u.value=null;B.add(E,u,Q+(A?0:1))}finally{B.endUpdate()}};Graph.prototype.insertTableRow=function(u,A){var B=this.getModel();B.beginUpdate();try{var E=u,N=u;if(this.isTableCell(u))N=B.getParent(u),E=B.getParent(N);else if(this.isTableRow(u))E=B.getParent(u);else{var Q=B.getChildCells(E,!0);N=Q[A?0:Q.length-1]}var W=B.getChildCells(N,!0),ha=E.getIndex(N);N=B.cloneCell(N,!1);N.value=null;
+var fa=this.getCellGeometry(N);if(null!=fa){for(Q=0;Q<W.length;Q++){u=B.cloneCell(W[Q],!1);u.value=null;u.style=mxUtils.setStyle(mxUtils.setStyle(u.style,"rowspan",null),"colspan",null);var ia=this.getCellGeometry(u);null!=ia&&(null!=ia.alternateBounds&&(ia.width=ia.alternateBounds.width,ia.height=ia.alternateBounds.height,ia.alternateBounds=null),ia.height=fa.height);N.insert(u)}B.add(E,N,ha+(A?0:1));var ya=this.getCellGeometry(E);null!=ya&&(ya=ya.clone(),ya.height+=fa.height,B.setGeometry(E,ya))}}finally{B.endUpdate()}};
+Graph.prototype.deleteTableColumn=function(u){var A=this.getModel();A.beginUpdate();try{var B=u,E=u;this.isTableCell(u)&&(E=A.getParent(u));this.isTableRow(E)&&(B=A.getParent(E));var N=A.getChildCells(B,!0);if(0==N.length)A.remove(B);else{this.isTableRow(E)||(E=N[0]);var Q=A.getChildCells(E,!0);if(1>=Q.length)A.remove(B);else{var W=Q.length-1;this.isTableCell(u)&&(W=mxUtils.indexOf(Q,u));for(E=u=0;E<N.length;E++){var ha=A.getChildCells(N[E],!0)[W];A.remove(ha);var fa=this.getCellGeometry(ha);null!=
+fa&&(u=Math.max(u,fa.width))}var ia=this.getCellGeometry(B);null!=ia&&(ia=ia.clone(),ia.width-=u,A.setGeometry(B,ia))}}}finally{A.endUpdate()}};Graph.prototype.deleteTableRow=function(u){var A=this.getModel();A.beginUpdate();try{var B=u,E=u;this.isTableCell(u)&&(u=E=A.getParent(u));this.isTableRow(u)&&(B=A.getParent(E));var N=A.getChildCells(B,!0);if(1>=N.length)A.remove(B);else{this.isTableRow(E)||(E=N[N.length-1]);A.remove(E);u=0;var Q=this.getCellGeometry(E);null!=Q&&(u=Q.height);var W=this.getCellGeometry(B);
+null!=W&&(W=W.clone(),W.height-=u,A.setGeometry(B,W))}}finally{A.endUpdate()}};Graph.prototype.insertRow=function(u,A){for(var B=u.tBodies[0],E=B.rows[0].cells,N=u=0;N<E.length;N++){var Q=E[N].getAttribute("colspan");u+=null!=Q?parseInt(Q):1}A=B.insertRow(A);for(N=0;N<u;N++)mxUtils.br(A.insertCell(-1));return A.cells[0]};Graph.prototype.deleteRow=function(u,A){u.tBodies[0].deleteRow(A)};Graph.prototype.insertColumn=function(u,A){var B=u.tHead;if(null!=B)for(var E=0;E<B.rows.length;E++){var N=document.createElement("th");
+B.rows[E].appendChild(N);mxUtils.br(N)}u=u.tBodies[0];for(B=0;B<u.rows.length;B++)E=u.rows[B].insertCell(A),mxUtils.br(E);return u.rows[0].cells[0<=A?A:u.rows[0].cells.length-1]};Graph.prototype.deleteColumn=function(u,A){if(0<=A){u=u.tBodies[0].rows;for(var B=0;B<u.length;B++)u[B].cells.length>A&&u[B].deleteCell(A)}};Graph.prototype.pasteHtmlAtCaret=function(u){if(window.getSelection){var A=window.getSelection();if(A.getRangeAt&&A.rangeCount){A=A.getRangeAt(0);A.deleteContents();var B=document.createElement("div");
+B.innerHTML=u;u=document.createDocumentFragment();for(var E;E=B.firstChild;)lastNode=u.appendChild(E);A.insertNode(u)}}else(A=document.selection)&&"Control"!=A.type&&A.createRange().pasteHTML(u)};Graph.prototype.createLinkForHint=function(u,A,B){function E(Q,W){Q.length>W&&(Q=Q.substring(0,Math.round(W/2))+"..."+Q.substring(Q.length-Math.round(W/4)));return Q}u=null!=u?u:"javascript:void(0);";if(null==A||0==A.length)A=this.isCustomLink(u)?this.getLinkTitle(u):u;var N=document.createElement("a");N.setAttribute("rel",
+this.linkRelation);N.setAttribute("href",this.getAbsoluteUrl(u));N.setAttribute("title",E(this.isCustomLink(u)?this.getLinkTitle(u):u,80));null!=this.linkTarget&&N.setAttribute("target",this.linkTarget);mxUtils.write(N,E(A,40));this.isCustomLink(u)&&mxEvent.addListener(N,"click",mxUtils.bind(this,function(Q){this.customLinkClicked(u,B);mxEvent.consume(Q)}));return N};Graph.prototype.initTouch=function(){this.connectionHandler.marker.isEnabled=function(){return null!=this.graph.connectionHandler.first};
+this.addListener(mxEvent.START_EDITING,function(Q,W){this.popupMenuHandler.hideMenu()});var u=this.updateMouseEvent;this.updateMouseEvent=function(Q){Q=u.apply(this,arguments);if(mxEvent.isTouchEvent(Q.getEvent())&&null==Q.getState()){var W=this.getCellAt(Q.graphX,Q.graphY);null!=W&&this.isSwimlane(W)&&this.hitsSwimlaneContent(W,Q.graphX,Q.graphY)||(Q.state=this.view.getState(W),null!=Q.state&&null!=Q.state.shape&&(this.container.style.cursor=Q.state.shape.node.style.cursor))}null==Q.getState()&&
+this.isEnabled()&&(this.container.style.cursor="default");return Q};var A=!1,B=!1,E=!1,N=this.fireMouseEvent;this.fireMouseEvent=function(Q,W,ha){Q==mxEvent.MOUSE_DOWN&&(W=this.updateMouseEvent(W),A=this.isCellSelected(W.getCell()),B=this.isSelectionEmpty(),E=this.popupMenuHandler.isMenuShowing());N.apply(this,arguments)};this.popupMenuHandler.mouseUp=mxUtils.bind(this,function(Q,W){if(null!=this.freehand&&!this.freehand.isDrawing()){var ha=mxEvent.isMouseEvent(W.getEvent());this.popupMenuHandler.popupTrigger=
+!this.isEditing()&&this.isEnabled()&&(null==W.getState()||!W.isSource(W.getState().control))&&(this.popupMenuHandler.popupTrigger||!E&&!ha&&(B&&null==W.getCell()&&this.isSelectionEmpty()||A&&this.isCellSelected(W.getCell())));ha=!A||ha?null:mxUtils.bind(this,function(fa){window.setTimeout(mxUtils.bind(this,function(){if(!this.isEditing()){var ia=mxUtils.getScrollOrigin();this.popupMenuHandler.popup(W.getX()+ia.x+1,W.getY()+ia.y+1,fa,W.getEvent())}}),300)});mxPopupMenuHandler.prototype.mouseUp.apply(this.popupMenuHandler,
+[Q,W,ha])}})};mxCellEditor.prototype.isContentEditing=function(){var u=this.graph.view.getState(this.editingCell);return null!=u&&1==u.style.html};mxCellEditor.prototype.isTableSelected=function(){return null!=this.graph.getParentByName(this.graph.getSelectedElement(),"TABLE",this.textarea)};mxCellEditor.prototype.isTextSelected=function(){var u="";window.getSelection?u=window.getSelection():document.getSelection?u=document.getSelection():document.selection&&(u=document.selection.createRange().text);
+return""!=u};mxCellEditor.prototype.insertTab=function(u){var A=this.textarea.ownerDocument.defaultView.getSelection(),B=A.getRangeAt(0);u=Graph.createTabNode(u);B.insertNode(u);B.setStartAfter(u);B.setEndAfter(u);A.removeAllRanges();A.addRange(B)};mxCellEditor.prototype.alignText=function(u,A){var B=this.graph.getView().getState(this.editingCell);if(null!=B){B=mxUtils.getValue(B.style,mxConstants.STYLE_TEXT_DIRECTION,mxConstants.DEFAULT_TEXT_DIRECTION);var E=null!=B&&"vertical-"==B.substring(0,9),
+N=null!=A&&mxEvent.isShiftDown(A);if(N||null!=window.getSelection&&null!=window.getSelection().containsNode){var Q=!0;this.graph.processElements(this.textarea,function(W){N||E||window.getSelection().containsNode(W,!0)?(W.removeAttribute("align"),W.style.textAlign=null):Q=!1});(Q||E)&&this.graph.cellEditor.setAlign(u)}E||document.execCommand("justify"+u.toLowerCase(),!1,null)}};mxCellEditor.prototype.saveSelection=function(){if(window.getSelection){var u=window.getSelection();if(u.getRangeAt&&u.rangeCount){for(var A=
+[],B=0,E=u.rangeCount;B<E;++B)A.push(u.getRangeAt(B));return A}}else if(document.selection&&document.selection.createRange)return document.selection.createRange();return null};mxCellEditor.prototype.restoreSelection=function(u){try{if(u)if(window.getSelection){sel=window.getSelection();sel.removeAllRanges();for(var A=0,B=u.length;A<B;++A)sel.addRange(u[A])}else document.selection&&u.select&&u.select()}catch(E){}};var H=mxCellRenderer.prototype.initializeLabel;mxCellRenderer.prototype.initializeLabel=
+function(u){null!=u.text&&(u.text.replaceLinefeeds="0"!=mxUtils.getValue(u.style,"nl2Br","1"));H.apply(this,arguments)};var K=mxConstraintHandler.prototype.update;mxConstraintHandler.prototype.update=function(u,A){this.isKeepFocusEvent(u)||!mxEvent.isAltDown(u.getEvent())?K.apply(this,arguments):this.reset()};mxGuide.prototype.createGuideShape=function(u){return new mxPolyline([],mxConstants.GUIDE_COLOR,mxConstants.GUIDE_STROKEWIDTH)};mxCellEditor.prototype.escapeCancelsEditing=!1;var G=mxCellEditor.prototype.startEditing;
+mxCellEditor.prototype.startEditing=function(u,A){u=this.graph.getStartEditingCell(u,A);G.apply(this,arguments);var B=this.graph.view.getState(u);this.textarea.className=null!=B&&1==B.style.html?"mxCellEditor geContentEditable":"mxCellEditor mxPlainTextEditor";this.codeViewMode=!1;this.switchSelectionState=null;this.graph.setSelectionCell(u)};mxCellEditor.prototype.toggleViewMode=function(){var u=this.graph.view.getState(this.editingCell);if(null!=u){var A=null!=u&&"0"!=mxUtils.getValue(u.style,"nl2Br",
+"1"),B=this.saveSelection();if(this.codeViewMode){ha=mxUtils.extractTextWithWhitespace(this.textarea.childNodes);0<ha.length&&"\n"==ha.charAt(ha.length-1)&&(ha=ha.substring(0,ha.length-1));ha=Graph.sanitizeHtml(A?ha.replace(/\n/g,"<br/>"):ha,!0);this.textarea.className="mxCellEditor geContentEditable";fa=mxUtils.getValue(u.style,mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE);A=mxUtils.getValue(u.style,mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY);var E=mxUtils.getValue(u.style,
+mxConstants.STYLE_ALIGN,mxConstants.ALIGN_LEFT),N=(mxUtils.getValue(u.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD,Q=(mxUtils.getValue(u.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC,W=[];(mxUtils.getValue(u.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&W.push("underline");(mxUtils.getValue(u.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_STRIKETHROUGH)==mxConstants.FONT_STRIKETHROUGH&&
+W.push("line-through");this.textarea.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?Math.round(fa*mxConstants.LINE_HEIGHT)+"px":mxConstants.LINE_HEIGHT;this.textarea.style.fontSize=Math.round(fa)+"px";this.textarea.style.textDecoration=W.join(" ");this.textarea.style.fontWeight=N?"bold":"normal";this.textarea.style.fontStyle=Q?"italic":"";this.textarea.style.fontFamily=A;this.textarea.style.textAlign=E;this.textarea.style.padding="0px";this.textarea.innerHTML!=ha&&(this.textarea.innerHTML=ha,0==
+this.textarea.innerHTML.length&&(this.textarea.innerHTML=this.getEmptyLabelText(),this.clearOnChange=0<this.textarea.innerHTML.length));this.codeViewMode=!1}else{this.clearOnChange&&this.textarea.innerHTML==this.getEmptyLabelText()&&(this.clearOnChange=!1,this.textarea.innerText="");var ha=mxUtils.htmlEntities(this.textarea.innerHTML);8!=document.documentMode&&(ha=mxUtils.replaceTrailingNewlines(ha,"<div><br></div>"));ha=Graph.sanitizeHtml(A?ha.replace(/\n/g,"").replace(/&lt;br\s*.?&gt;/g,"<br>"):
+ha,!0);this.textarea.className="mxCellEditor mxPlainTextEditor";var fa=mxConstants.DEFAULT_FONTSIZE;this.textarea.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?Math.round(fa*mxConstants.LINE_HEIGHT)+"px":mxConstants.LINE_HEIGHT;this.textarea.style.fontSize=Math.round(fa)+"px";this.textarea.style.textDecoration="";this.textarea.style.fontWeight="normal";this.textarea.style.fontStyle="";this.textarea.style.fontFamily=mxConstants.DEFAULT_FONTFAMILY;this.textarea.style.textAlign="left";this.textarea.style.width=
+"";this.textarea.style.padding="2px";this.textarea.innerHTML!=ha&&(this.textarea.innerHTML=ha);this.codeViewMode=!0}this.textarea.focus();null!=this.switchSelectionState&&this.restoreSelection(this.switchSelectionState);this.switchSelectionState=B;this.resize()}};var P=mxCellEditor.prototype.resize;mxCellEditor.prototype.resize=function(u,A){if(null!=this.textarea)if(u=this.graph.getView().getState(this.editingCell),this.codeViewMode&&null!=u){var B=u.view.scale;this.bounds=mxRectangle.fromRectangle(u);
+if(0==this.bounds.width&&0==this.bounds.height){this.bounds.width=160*B;this.bounds.height=60*B;var E=null!=u.text?u.text.margin:null;null==E&&(E=mxUtils.getAlignmentAsPoint(mxUtils.getValue(u.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER),mxUtils.getValue(u.style,mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE)));this.bounds.x+=E.x*this.bounds.width;this.bounds.y+=E.y*this.bounds.height}this.textarea.style.width=Math.round((this.bounds.width-4)/B)+"px";this.textarea.style.height=
+Math.round((this.bounds.height-4)/B)+"px";this.textarea.style.overflow="auto";this.textarea.clientHeight<this.textarea.offsetHeight&&(this.textarea.style.height=Math.round(this.bounds.height/B)+(this.textarea.offsetHeight-this.textarea.clientHeight)+"px",this.bounds.height=parseInt(this.textarea.style.height)*B);this.textarea.clientWidth<this.textarea.offsetWidth&&(this.textarea.style.width=Math.round(this.bounds.width/B)+(this.textarea.offsetWidth-this.textarea.clientWidth)+"px",this.bounds.width=
+parseInt(this.textarea.style.width)*B);this.textarea.style.left=Math.round(this.bounds.x)+"px";this.textarea.style.top=Math.round(this.bounds.y)+"px";mxUtils.setPrefixedStyle(this.textarea.style,"transform","scale("+B+","+B+")")}else this.textarea.style.height="",this.textarea.style.overflow="",P.apply(this,arguments)};mxCellEditorGetInitialValue=mxCellEditor.prototype.getInitialValue;mxCellEditor.prototype.getInitialValue=function(u,A){if("0"==mxUtils.getValue(u.style,"html","0"))return mxCellEditorGetInitialValue.apply(this,
+arguments);var B=this.graph.getEditingValue(u.cell,A);"1"==mxUtils.getValue(u.style,"nl2Br","1")&&(B=B.replace(/\n/g,"<br/>"));return B=Graph.sanitizeHtml(B,!0)};mxCellEditorGetCurrentValue=mxCellEditor.prototype.getCurrentValue;mxCellEditor.prototype.getCurrentValue=function(u){if("0"==mxUtils.getValue(u.style,"html","0"))return mxCellEditorGetCurrentValue.apply(this,arguments);var A=Graph.sanitizeHtml(this.textarea.innerHTML,!0);"1"==mxUtils.getValue(u.style,"nl2Br","1")?(A=A.replace(/\r\n/g,"<br/>").replace(/\n/g,
+"<br/>"),0<A.length&&("<br/>"==A.substring(A.length-5)||"<br>"==A.substring(A.length-4))&&(A=A.substring(0,A.lastIndexOf("<br"))+"<div><br/></div>")):A=A.replace(/\r\n/g,"").replace(/\n/g,"");return A};var I=mxCellEditor.prototype.stopEditing;mxCellEditor.prototype.stopEditing=function(u){this.codeViewMode&&this.toggleViewMode();I.apply(this,arguments);this.focusContainer()};mxCellEditor.prototype.focusContainer=function(){try{this.graph.container.focus()}catch(u){}};var Z=mxCellEditor.prototype.applyValue;
+mxCellEditor.prototype.applyValue=function(u,A){this.graph.getModel().beginUpdate();try{Z.apply(this,arguments),""==A&&this.graph.isCellDeletable(u.cell)&&0==this.graph.model.getChildCount(u.cell)&&this.graph.isTransparentState(u)&&this.graph.removeCells([u.cell],!1)}finally{this.graph.getModel().endUpdate()}};mxCellEditor.prototype.getBackgroundColor=function(u){u=mxUtils.getValue(u.style,mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,null);u==mxConstants.NONE&&(u=null);return u};mxCellEditor.prototype.getBorderColor=
+function(u){u=mxUtils.getValue(u.style,mxConstants.STYLE_LABEL_BORDERCOLOR,null);u==mxConstants.NONE&&(u=null);return u};mxCellEditor.prototype.getMinimumSize=function(u){var A=this.graph.getView().scale;return new mxRectangle(0,0,null==u.text?30:u.text.size*A+20,30)};mxGraphHandlerIsValidDropTarget=mxGraphHandler.prototype.isValidDropTarget;mxGraphHandler.prototype.isValidDropTarget=function(u,A){return mxGraphHandlerIsValidDropTarget.apply(this,arguments)&&!mxEvent.isAltDown(A.getEvent)};mxGraphView.prototype.formatUnitText=
+function(u){return u?b(u,this.unit):u};mxGraphHandler.prototype.updateHint=function(u){if(null!=this.pBounds&&(null!=this.shape||this.livePreviewActive)){null==this.hint&&(this.hint=a(),this.graph.container.appendChild(this.hint));var A=this.graph.view.translate,B=this.graph.view.scale;u=this.roundLength((this.bounds.x+this.currentDx)/B-A.x);A=this.roundLength((this.bounds.y+this.currentDy)/B-A.y);B=this.graph.view.unit;this.hint.innerHTML=b(u,B)+", "+b(A,B);this.hint.style.left=this.pBounds.x+this.currentDx+
+Math.round((this.pBounds.width-this.hint.clientWidth)/2)+"px";this.hint.style.top=this.pBounds.y+this.currentDy+this.pBounds.height+Editor.hintOffset+"px"}};mxGraphHandler.prototype.removeHint=function(){null!=this.hint&&(null!=this.hint.parentNode&&this.hint.parentNode.removeChild(this.hint),this.hint=null)};var S=mxStackLayout.prototype.resizeCell;mxStackLayout.prototype.resizeCell=function(u,A){S.apply(this,arguments);var B=this.graph.getCellStyle(u);if(null==B.childLayout){var E=this.graph.model.getParent(u),
+N=null!=E?this.graph.getCellGeometry(E):null;if(null!=N&&(B=this.graph.getCellStyle(E),"stackLayout"==B.childLayout)){var Q=parseFloat(mxUtils.getValue(B,"stackBorder",mxStackLayout.prototype.border));B="1"==mxUtils.getValue(B,"horizontalStack","1");var W=this.graph.getActualStartSize(E);N=N.clone();B?N.height=A.height+W.y+W.height+2*Q:N.width=A.width+W.x+W.width+2*Q;this.graph.model.setGeometry(E,N)}}};var Y=mxSelectionCellsHandler.prototype.getHandledSelectionCells;mxSelectionCellsHandler.prototype.getHandledSelectionCells=
+function(){function u(ha){B.get(ha)||(B.put(ha,!0),N.push(ha))}for(var A=Y.apply(this,arguments),B=new mxDictionary,E=this.graph.model,N=[],Q=0;Q<A.length;Q++){var W=A[Q];this.graph.isTableCell(W)?u(E.getParent(E.getParent(W))):this.graph.isTableRow(W)&&u(E.getParent(W));u(W)}return N};var V=mxConnectionHandler.prototype.isStartEvent;mxConnectionHandler.prototype.isStartEvent=function(u){return V.apply(this,arguments)&&!mxEvent.isControlDown(u.getEvent())&&!mxEvent.isShiftDown(u.getEvent())};var L=
+mxVertexHandler.prototype.isGhostPreview;mxVertexHandler.prototype.isGhostPreview=function(){return L.apply(this,arguments)&&!this.graph.isTable(this.state.cell)&&!this.graph.isTableRow(this.state.cell)&&!this.graph.isTableCell(this.state.cell)&&!this.graph.isSwimlane(this.state.cell)};var U=mxVertexHandler.prototype.createParentHighlightShape;mxVertexHandler.prototype.createParentHighlightShape=function(u){var A=U.apply(this,arguments);A.stroke="#C0C0C0";A.strokewidth=1;return A};var ba=mxEdgeHandler.prototype.createParentHighlightShape;
+mxEdgeHandler.prototype.createParentHighlightShape=function(u){var A=ba.apply(this,arguments);A.stroke="#C0C0C0";A.strokewidth=1;return A};mxVertexHandler.prototype.rotationHandleVSpacing=-12;mxVertexHandler.prototype.getRotationHandlePosition=function(){var u=this.getHandlePadding();return new mxPoint(this.bounds.x+this.bounds.width-this.rotationHandleVSpacing+u.x/2,this.bounds.y+this.rotationHandleVSpacing-u.y/2)};mxVertexHandler.prototype.isRecursiveResize=function(u,A){return this.graph.isRecursiveVertexResize(u)&&
+!mxEvent.isAltDown(A.getEvent())};mxVertexHandler.prototype.isCenteredEvent=function(u,A){return mxEvent.isControlDown(A.getEvent())||mxEvent.isMetaDown(A.getEvent())};var ja=mxVertexHandler.prototype.isRotationHandleVisible;mxVertexHandler.prototype.isRotationHandleVisible=function(){return ja.apply(this,arguments)&&!this.graph.isTableCell(this.state.cell)&&!this.graph.isTableRow(this.state.cell)&&!this.graph.isTable(this.state.cell)};mxVertexHandler.prototype.getSizerBounds=function(){return this.graph.isTableCell(this.state.cell)?
+this.graph.view.getState(this.graph.model.getParent(this.graph.model.getParent(this.state.cell))):this.bounds};var sa=mxVertexHandler.prototype.isParentHighlightVisible;mxVertexHandler.prototype.isParentHighlightVisible=function(){return sa.apply(this,arguments)&&!this.graph.isTableCell(this.state.cell)&&!this.graph.isTableRow(this.state.cell)};var O=mxVertexHandler.prototype.isCustomHandleVisible;mxVertexHandler.prototype.isCustomHandleVisible=function(u){return u.tableHandle||O.apply(this,arguments)&&
+(!this.graph.isTable(this.state.cell)||this.graph.isCellSelected(this.state.cell))};mxVertexHandler.prototype.getSelectionBorderInset=function(){var u=0;this.graph.isTableRow(this.state.cell)?u=1:this.graph.isTableCell(this.state.cell)&&(u=2);return u};var T=mxVertexHandler.prototype.getSelectionBorderBounds;mxVertexHandler.prototype.getSelectionBorderBounds=function(){return T.apply(this,arguments).grow(-this.getSelectionBorderInset())};var X=null,ca=mxVertexHandler.prototype.createCustomHandles;
+mxVertexHandler.prototype.createCustomHandles=function(){null==X&&(X=mxCellRenderer.defaultShapes.tableLine);var u=ca.apply(this,arguments);if(this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell)){var A=function(Ma,Aa,va){for(var Ya=[],Ta=0;Ta<Ma.length;Ta++){var Ka=Ma[Ta];Ya.push(null==Ka?null:new mxPoint((fa+Ka.x+Aa)*Q,(ia+Ka.y+va)*Q))}return Ya},B=this,E=this.graph,N=E.model,Q=E.view.scale,W=this.state,ha=this.selectionBorder,fa=this.state.origin.x+E.view.translate.x,
+ia=this.state.origin.y+E.view.translate.y;null==u&&(u=[]);var ya=E.view.getCellStates(N.getChildCells(this.state.cell,!0));if(0<ya.length){var xa=N.getChildCells(ya[0].cell,!0),Da=E.getTableLines(this.state.cell,!1,!0),Oa=E.getTableLines(this.state.cell,!0,!1);for(N=0;N<ya.length;N++)mxUtils.bind(this,function(Ma){var Aa=ya[Ma],va=null;if(E.isCellMovable(Aa.cell)){va=Ma<ya.length-1?ya[Ma+1]:null;va=null!=va?E.getCellGeometry(va.cell):null;var Ya=null!=va&&null!=va.alternateBounds?va.alternateBounds:
+va;va=null!=Oa[Ma]?new X(Oa[Ma],mxConstants.NONE,1):new mxLine(new mxRectangle,mxConstants.NONE,1,!1);va.isDashed=ha.isDashed;va.svgStrokeTolerance++;va=new mxHandle(Aa,"row-resize",null,va);va.tableHandle=!0;var Ta=0;va.shape.node.parentNode.insertBefore(va.shape.node,va.shape.node.parentNode.firstChild);va.redraw=function(){if(null!=this.shape){this.shape.stroke=0==Ta?mxConstants.NONE:ha.stroke;if(this.shape.constructor==X)this.shape.line=A(Oa[Ma],0,Ta),this.shape.updateBoundsFromLine();else{var Wa=
+E.getActualStartSize(W.cell,!0);this.shape.bounds.height=1;this.shape.bounds.y=this.state.y+this.state.height+Ta*Q;this.shape.bounds.x=W.x+(Ma==ya.length-1?0:Wa.x*Q);this.shape.bounds.width=W.width-(Ma==ya.length-1?0:Wa.width+Wa.x+Q)}this.shape.redraw()}};var Ka=!1;va.setPosition=function(Wa,Xa,bb){Ta=Math.max(Graph.minTableRowHeight-Wa.height,Xa.y-Wa.y-Wa.height);Ka=mxEvent.isShiftDown(bb.getEvent());null!=Ya&&Ka&&(Ta=Math.min(Ta,Ya.height-Graph.minTableRowHeight))};va.execute=function(Wa){if(0!=
+Ta)E.setTableRowHeight(this.state.cell,Ta,!Ka);else if(!B.blockDelayedSelection){var Xa=E.getCellAt(Wa.getGraphX(),Wa.getGraphY())||W.cell;E.graphHandler.selectCellForEvent(Xa,Wa)}Ta=0};va.reset=function(){Ta=0}}u.push(va)})(N);for(N=0;N<xa.length;N++)mxUtils.bind(this,function(Ma){var Aa=E.view.getState(xa[Ma]),va=E.getCellGeometry(xa[Ma]),Ya=null!=va.alternateBounds?va.alternateBounds:va;null==Aa&&(Aa=new mxCellState(E.view,xa[Ma],E.getCellStyle(xa[Ma])),Aa.x=W.x+va.x*Q,Aa.y=W.y+va.y*Q,Aa.width=
+Ya.width*Q,Aa.height=Ya.height*Q,Aa.updateCachedBounds());va=Ma<xa.length-1?xa[Ma+1]:null;va=null!=va?E.getCellGeometry(va):null;var Ta=null!=va&&null!=va.alternateBounds?va.alternateBounds:va;va=null!=Da[Ma]?new X(Da[Ma],mxConstants.NONE,1):new mxLine(new mxRectangle,mxConstants.NONE,1,!0);va.isDashed=ha.isDashed;va.svgStrokeTolerance++;Aa=new mxHandle(Aa,"col-resize",null,va);Aa.tableHandle=!0;var Ka=0;Aa.shape.node.parentNode.insertBefore(Aa.shape.node,Aa.shape.node.parentNode.firstChild);Aa.redraw=
+function(){if(null!=this.shape){this.shape.stroke=0==Ka?mxConstants.NONE:ha.stroke;if(this.shape.constructor==X)this.shape.line=A(Da[Ma],Ka,0),this.shape.updateBoundsFromLine();else{var Xa=E.getActualStartSize(W.cell,!0);this.shape.bounds.width=1;this.shape.bounds.x=this.state.x+(Ya.width+Ka)*Q;this.shape.bounds.y=W.y+(Ma==xa.length-1?0:Xa.y*Q);this.shape.bounds.height=W.height-(Ma==xa.length-1?0:(Xa.height+Xa.y)*Q)}this.shape.redraw()}};var Wa=!1;Aa.setPosition=function(Xa,bb,ib){Ka=Math.max(Graph.minTableColumnWidth-
+Ya.width,bb.x-Xa.x-Ya.width);Wa=mxEvent.isShiftDown(ib.getEvent());null==Ta||Wa||(Ka=Math.min(Ka,Ta.width-Graph.minTableColumnWidth))};Aa.execute=function(Xa){if(0!=Ka)E.setTableColumnWidth(this.state.cell,Ka,Wa);else if(!B.blockDelayedSelection){var bb=E.getCellAt(Xa.getGraphX(),Xa.getGraphY())||W.cell;E.graphHandler.selectCellForEvent(bb,Xa)}Ka=0};Aa.positionChanged=function(){};Aa.reset=function(){Ka=0};u.push(Aa)})(N)}}return null!=u?u.reverse():null};var na=mxVertexHandler.prototype.setHandlesVisible;
+mxVertexHandler.prototype.setHandlesVisible=function(u){na.apply(this,arguments);if(null!=this.moveHandles)for(var A=0;A<this.moveHandles.length;A++)null!=this.moveHandles[A]&&(this.moveHandles[A].node.style.visibility=u?"":"hidden");if(null!=this.cornerHandles)for(A=0;A<this.cornerHandles.length;A++)this.cornerHandles[A].node.style.visibility=u?"":"hidden"};mxVertexHandler.prototype.isMoveHandlesVisible=function(){return this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell)};
+mxVertexHandler.prototype.refreshMoveHandles=function(){var u=this.isMoveHandlesVisible();u&&null==this.moveHandles?this.moveHandles=this.createMoveHandles():u||null==this.moveHandles||this.destroyMoveHandles();if(u&&null==this.moveHandles){for(u=0;u<this.moveHandles.length;u++)null!=this.moveHandles[u]&&this.moveHandles[u].parentNode.removeChild(this.moveHandles[u]);this.moveHandles=null}};mxVertexHandler.prototype.createMoveHandles=function(){for(var u=this.graph,A=u.model,B=[],E=0;E<A.getChildCount(this.state.cell);E++)mxUtils.bind(this,
+function(N){if(null!=N&&A.isVertex(N.cell)&&u.isCellMovable(N.cell)){var Q=new mxRectangle(0,0,this.rowHandleImage.width,this.rowHandleImage.height);Q=new mxImageShape(Q,this.rowHandleImage.src);Q.rowState=N;Q.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?mxConstants.DIALECT_MIXEDHTML:mxConstants.DIALECT_SVG;Q.init(this.graph.getView().getOverlayPane());Q.node.style.cursor="move";mxEvent.addGestureListeners(Q.node,mxUtils.bind(this,function(W){this.graph.popupMenuHandler.hideMenu();this.graph.stopEditing(!1);
+!this.graph.isToggleEvent(W)&&this.graph.isCellSelected(N.cell)||this.graph.selectCellForEvent(N.cell,W);mxEvent.isPopupTrigger(W)||(this.graph.graphHandler.start(this.state.cell,mxEvent.getClientX(W),mxEvent.getClientY(W),this.graph.getSelectionCells()),this.graph.graphHandler.cellWasClicked=!0,this.graph.isMouseTrigger=mxEvent.isMouseEvent(W),this.graph.isMouseDown=!0);mxEvent.consume(W)}),null,mxUtils.bind(this,function(W){mxEvent.isPopupTrigger(W)&&(this.graph.popupMenuHandler.popup(mxEvent.getClientX(W),
+mxEvent.getClientY(W),N.cell,W),mxEvent.consume(W))}));B.push(Q)}else B.push(null)})(this.graph.view.getState(A.getChildAt(this.state.cell,E)));return B};mxVertexHandler.prototype.destroyMoveHandles=function(){if(null!=this.moveHandles){for(var u=0;u<this.moveHandles.length;u++)null!=this.moveHandles[u]&&this.moveHandles[u].destroy();this.moveHandles=null}};mxVertexHandler.prototype.destroyCornerHandles=function(){if(null!=this.cornerHandles){for(var u=0;u<this.cornerHandles.length;u++)null!=this.cornerHandles[u]&&
+null!=this.cornerHandles[u].node&&null!=this.cornerHandles[u].node.parentNode&&this.cornerHandles[u].node.parentNode.removeChild(this.cornerHandles[u].node);this.cornerHandles=null}};var pa=mxVertexHandler.prototype.refresh;mxVertexHandler.prototype.refresh=function(){pa.apply(this,arguments);this.destroyMoveHandles();this.destroyCornerHandles();if(this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell))this.refreshMoveHandles();else if(1==this.graph.getSelectionCount()&&this.graph.isCellMovable(this.state.cell)&&
+(this.graph.isTableCell(this.state.cell)||this.graph.isTableRow(this.state.cell))){this.cornerHandles=[];for(var u=0;4>u;u++){var A=new mxRectangleShape(new mxRectangle(0,0,6,6),"#ffffff",mxConstants.HANDLE_STROKECOLOR);A.dialect=mxConstants.DIALECT_SVG;A.init(this.graph.view.getOverlayPane());this.cornerHandles.push(A)}}this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell)&&this.refreshMoveHandles();u=this.graph.getLinkForCell(this.state.cell);A=this.graph.getLinksForState(this.state);
+this.updateLinkHint(u,A)};var M=mxVertexHandler.prototype.getHandlePadding;mxVertexHandler.prototype.getHandlePadding=function(){var u=new mxPoint(0,0),A=this.tolerance,B=this.state.style.shape;null==mxCellRenderer.defaultShapes[B]&&mxStencilRegistry.getStencil(B);B=this.graph.isTable(this.state.cell)||this.graph.cellEditor.getEditingCell()==this.state.cell;if(!B&&null!=this.customHandles)for(var E=0;E<this.customHandles.length;E++)if(null!=this.customHandles[E]&&null!=this.customHandles[E].shape&&
+null!=this.customHandles[E].shape.bounds){var N=this.customHandles[E].shape.bounds,Q=N.getCenterX(),W=N.getCenterY();if(Math.abs(this.state.x-Q)<N.width/2||Math.abs(this.state.y-W)<N.height/2||Math.abs(this.state.x+this.state.width-Q)<N.width/2||Math.abs(this.state.y+this.state.height-W)<N.height/2){B=!0;break}}B&&null!=this.sizers&&0<this.sizers.length&&null!=this.sizers[0]?(A/=2,this.graph.isTable(this.state.cell)&&(A+=7),u.x=this.sizers[0].bounds.width+A,u.y=this.sizers[0].bounds.height+A):u=M.apply(this,
+arguments);return u};mxVertexHandler.prototype.updateHint=function(u){if(this.index!=mxEvent.LABEL_HANDLE){null==this.hint&&(this.hint=a(),this.state.view.graph.container.appendChild(this.hint));if(this.index==mxEvent.ROTATION_HANDLE)this.hint.innerHTML=this.currentAlpha+"&deg;";else{u=this.state.view.scale;var A=this.state.view.unit;this.hint.innerHTML=b(this.roundLength(this.bounds.width/u),A)+" x "+b(this.roundLength(this.bounds.height/u),A)}u=mxUtils.getBoundingBox(this.bounds,null!=this.currentAlpha?
+this.currentAlpha:this.state.style[mxConstants.STYLE_ROTATION]||"0");null==u&&(u=this.bounds);this.hint.style.left=u.x+Math.round((u.width-this.hint.clientWidth)/2)+"px";this.hint.style.top=u.y+u.height+Editor.hintOffset+"px";null!=this.linkHint&&(this.linkHint.style.display="none")}};mxVertexHandler.prototype.removeHint=function(){mxGraphHandler.prototype.removeHint.apply(this,arguments);null!=this.linkHint&&(this.linkHint.style.display="")};var ea=mxEdgeHandler.prototype.refresh;mxEdgeHandler.prototype.refresh=
+function(){ea.apply(this,arguments);var u=this.graph.getLinkForCell(this.state.cell),A=this.graph.getLinksForState(this.state);this.updateLinkHint(u,A)};var ra=mxEdgeHandler.prototype.mouseMove;mxEdgeHandler.prototype.mouseMove=function(u,A){ra.apply(this,arguments);null!=this.linkHint&&"none"!=this.linkHint.style.display&&null!=this.graph.graphHandler&&null!=this.graph.graphHandler.first&&(this.linkHint.style.display="none")};var ta=mxEdgeHandler.prototype.mouseUp;mxEdgeHandler.prototype.mouseUp=
+function(u,A){ta.apply(this,arguments);null!=this.linkHint&&"none"==this.linkHint.style.display&&1==this.graph.getSelectionCount()&&(this.linkHint.style.display="")};mxEdgeHandler.prototype.updateHint=function(u,A,B){null==this.hint&&(this.hint=a(),this.state.view.graph.container.appendChild(this.hint));var E=this.graph.view.translate,N=this.graph.view.scale,Q=this.roundLength(A.x/N-E.x);E=this.roundLength(A.y/N-E.y);var W=this.graph.view.unit;this.hint.innerHTML=b(Q,W)+", "+b(E,W);this.hint.style.visibility=
+"visible";null!=B&&(B.view.updateEdgeBounds(B),this.hint.innerHTML+=" ("+(W==mxConstants.POINTS?Math.round(B.length/N):b(B.length/N,W))+")");if(this.isSource||this.isTarget)null!=this.constraintHandler&&null!=this.constraintHandler.currentConstraint&&null!=this.constraintHandler.currentFocus?(B=this.constraintHandler.currentConstraint.point,this.hint.innerHTML="["+Math.round(100*B.x)+"%, "+Math.round(100*B.y)+"%]"):this.marker.hasValidState()&&(this.hint.style.visibility="hidden");this.hint.style.left=
+Math.round(u.getGraphX()-this.hint.clientWidth/2)+"px";this.hint.style.top=Math.max(u.getGraphY(),A.y)+Editor.hintOffset+"px";null!=this.linkHint&&(this.linkHint.style.display="none")};Graph.prototype.expandedImage=Graph.createSvgImage(9,9,'<defs><linearGradient id="grad1" x1="50%" y1="0%" x2="50%" y2="100%"><stop offset="30%" style="stop-color:#f0f0f0;" /><stop offset="100%" style="stop-color:#AFB0B6;" /></linearGradient></defs><rect x="0" y="0" width="9" height="9" stroke="#8A94A5" fill="url(#grad1)" stroke-width="2"/><path d="M 2 4.5 L 7 4.5 z" stroke="#000"/>');
Graph.prototype.collapsedImage=Graph.createSvgImage(9,9,'<defs><linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="30%" style="stop-color:#f0f0f0;" /><stop offset="100%" style="stop-color:#AFB0B6;" /></linearGradient></defs><rect x="0" y="0" width="9" height="9" stroke="#8A94A5" fill="url(#grad1)" stroke-width="2"/><path d="M 4.5 2 L 4.5 7 M 2 4.5 L 7 4.5 z" stroke="#000"/>');mxEdgeHandler.prototype.removeHint=mxVertexHandler.prototype.removeHint;HoverIcons.prototype.mainHandle=
Graph.createSvgImage(18,18,'<circle cx="9" cy="9" r="5" stroke="#fff" fill="'+HoverIcons.prototype.arrowFill+'"/>');HoverIcons.prototype.endMainHandle=Graph.createSvgImage(18,18,'<circle cx="9" cy="9" r="6" stroke="#fff" fill="'+HoverIcons.prototype.arrowFill+'"/>');HoverIcons.prototype.secondaryHandle=Graph.createSvgImage(16,16,'<path d="m 8 3 L 13 8 L 8 13 L 3 8 z" stroke="#fff" fill="#fca000"/>');HoverIcons.prototype.fixedHandle=Graph.createSvgImage(22,22,'<circle cx="11" cy="11" r="6" stroke="#fff" fill="#01bd22"/><path d="m 8 8 L 14 14M 8 14 L 14 8" stroke="#fff"/>');
HoverIcons.prototype.endFixedHandle=Graph.createSvgImage(22,22,'<circle cx="11" cy="11" r="7" stroke="#fff" fill="#01bd22"/><path d="m 8 8 L 14 14M 8 14 L 14 8" stroke="#fff"/>');HoverIcons.prototype.terminalHandle=Graph.createSvgImage(22,22,'<circle cx="11" cy="11" r="6" stroke="#fff" fill="'+HoverIcons.prototype.arrowFill+'"/><circle cx="11" cy="11" r="3" stroke="#fff" fill="transparent"/>');HoverIcons.prototype.endTerminalHandle=Graph.createSvgImage(22,22,'<circle cx="11" cy="11" r="7" stroke="#fff" fill="'+
@@ -2945,35 +2944,35 @@ HoverIcons.prototype.triangleDown,Sidebar.prototype.triangleLeft=HoverIcons.prot
function(u){return!mxEvent.isShiftDown(u.getEvent())};if(Graph.touchStyle){if(mxClient.IS_TOUCH||0<navigator.maxTouchPoints||0<navigator.msMaxTouchPoints)mxShape.prototype.svgStrokeTolerance=18,mxVertexHandler.prototype.tolerance=12,mxEdgeHandler.prototype.tolerance=12,Graph.prototype.tolerance=12,mxVertexHandler.prototype.rotationHandleVSpacing=-16,mxConstraintHandler.prototype.getTolerance=function(u){return mxEvent.isMouseEvent(u.getEvent())?4:this.graph.getTolerance()};mxPanningHandler.prototype.isPanningTrigger=
function(u){var A=u.getEvent();return null==u.getState()&&!mxEvent.isMouseEvent(A)||mxEvent.isPopupTrigger(A)&&(null==u.getState()||mxEvent.isControlDown(A)||mxEvent.isShiftDown(A))}}else mxPanningHandler.prototype.isPanningTrigger=function(u){var A=u.getEvent();return mxEvent.isLeftMouseButton(A)&&(this.useLeftButtonForPanning&&null==u.getState()||mxEvent.isControlDown(A)&&!mxEvent.isShiftDown(A))||this.usePopupTrigger&&mxEvent.isPopupTrigger(A)};mxRubberband.prototype.isSpaceEvent=function(u){return this.graph.isEnabled()&&
!this.graph.isCellLocked(this.graph.getDefaultParent())&&(mxEvent.isControlDown(u.getEvent())||mxEvent.isMetaDown(u.getEvent()))&&mxEvent.isShiftDown(u.getEvent())&&mxEvent.isAltDown(u.getEvent())};mxRubberband.prototype.cancelled=!1;mxRubberband.prototype.cancel=function(){this.isActive()&&(this.cancelled=!0,this.reset())};mxRubberband.prototype.mouseUp=function(u,A){if(this.cancelled)this.cancelled=!1,A.consume();else{var B=null!=this.div&&"none"!=this.div.style.display,E=null,N=null,Q=u=null;null!=
-this.first&&null!=this.currentX&&null!=this.currentY&&(E=this.first.x,N=this.first.y,u=(this.currentX-E)/this.graph.view.scale,Q=(this.currentY-N)/this.graph.view.scale,mxEvent.isAltDown(A.getEvent())||(u=this.graph.snap(u),Q=this.graph.snap(Q),this.graph.isGridEnabled()||(Math.abs(u)<this.graph.tolerance&&(u=0),Math.abs(Q)<this.graph.tolerance&&(Q=0))));this.reset();if(B){if(this.isSpaceEvent(A)){this.graph.model.beginUpdate();try{var T=this.graph.getCellsBeyond(E,N,this.graph.getDefaultParent(),
-!0,!0);for(B=0;B<T.length;B++)if(this.graph.isCellMovable(T[B])){var ia=this.graph.view.getState(T[B]),da=this.graph.getCellGeometry(T[B]);null!=ia&&null!=da&&(da=da.clone(),da.translate(u,Q),this.graph.model.setGeometry(T[B],da))}}finally{this.graph.model.endUpdate()}}else T=new mxRectangle(this.x,this.y,this.width,this.height),this.graph.selectRegion(T,A.getEvent());A.consume()}}};mxRubberband.prototype.mouseMove=function(u,A){if(!A.isConsumed()&&null!=this.first){var B=mxUtils.getScrollOrigin(this.graph.container);
+this.first&&null!=this.currentX&&null!=this.currentY&&(E=this.first.x,N=this.first.y,u=(this.currentX-E)/this.graph.view.scale,Q=(this.currentY-N)/this.graph.view.scale,mxEvent.isAltDown(A.getEvent())||(u=this.graph.snap(u),Q=this.graph.snap(Q),this.graph.isGridEnabled()||(Math.abs(u)<this.graph.tolerance&&(u=0),Math.abs(Q)<this.graph.tolerance&&(Q=0))));this.reset();if(B){if(this.isSpaceEvent(A)){this.graph.model.beginUpdate();try{var W=this.graph.getCellsBeyond(E,N,this.graph.getDefaultParent(),
+!0,!0);for(B=0;B<W.length;B++)if(this.graph.isCellMovable(W[B])){var ha=this.graph.view.getState(W[B]),fa=this.graph.getCellGeometry(W[B]);null!=ha&&null!=fa&&(fa=fa.clone(),fa.translate(u,Q),this.graph.model.setGeometry(W[B],fa))}}finally{this.graph.model.endUpdate()}}else W=new mxRectangle(this.x,this.y,this.width,this.height),this.graph.selectRegion(W,A.getEvent());A.consume()}}};mxRubberband.prototype.mouseMove=function(u,A){if(!A.isConsumed()&&null!=this.first){var B=mxUtils.getScrollOrigin(this.graph.container);
u=mxUtils.getOffset(this.graph.container);B.x-=u.x;B.y-=u.y;u=A.getX()+B.x;B=A.getY()+B.y;var E=this.first.x-u,N=this.first.y-B,Q=this.graph.tolerance;if(null!=this.div||Math.abs(E)>Q||Math.abs(N)>Q)null==this.div&&(this.div=this.createShape()),mxUtils.clearSelection(),this.update(u,B),this.isSpaceEvent(A)?(u=this.x+this.width,B=this.y+this.height,E=this.graph.view.scale,mxEvent.isAltDown(A.getEvent())||(this.width=this.graph.snap(this.width/E)*E,this.height=this.graph.snap(this.height/E)*E,this.graph.isGridEnabled()||
(this.width<this.graph.tolerance&&(this.width=0),this.height<this.graph.tolerance&&(this.height=0)),this.x<this.first.x&&(this.x=u-this.width),this.y<this.first.y&&(this.y=B-this.height)),this.div.style.borderStyle="dashed",this.div.style.backgroundColor="white",this.div.style.left=this.x+"px",this.div.style.top=this.y+"px",this.div.style.width=Math.max(0,this.width)+"px",this.div.style.height=this.graph.container.clientHeight+"px",this.div.style.borderWidth=0>=this.width?"0px 1px 0px 0px":"0px 1px 0px 1px",
null==this.secondDiv&&(this.secondDiv=this.div.cloneNode(!0),this.div.parentNode.appendChild(this.secondDiv)),this.secondDiv.style.left=this.x+"px",this.secondDiv.style.top=this.y+"px",this.secondDiv.style.width=this.graph.container.clientWidth+"px",this.secondDiv.style.height=Math.max(0,this.height)+"px",this.secondDiv.style.borderWidth=0>=this.height?"1px 0px 0px 0px":"1px 0px 1px 0px"):(this.div.style.backgroundColor="",this.div.style.borderWidth="",this.div.style.borderStyle="",null!=this.secondDiv&&
-(this.secondDiv.parentNode.removeChild(this.secondDiv),this.secondDiv=null)),A.consume()}};var Ua=mxRubberband.prototype.reset;mxRubberband.prototype.reset=function(){null!=this.secondDiv&&(this.secondDiv.parentNode.removeChild(this.secondDiv),this.secondDiv=null);Ua.apply(this,arguments)};var ma=(new Date).getTime(),Fa=0,Ia=mxEdgeHandler.prototype.updatePreviewState;mxEdgeHandler.prototype.updatePreviewState=function(u,A,B,E){Ia.apply(this,arguments);B!=this.currentTerminalState?(ma=(new Date).getTime(),
-Fa=0):Fa=(new Date).getTime()-ma;this.currentTerminalState=B};var Oa=mxEdgeHandler.prototype.isOutlineConnectEvent;mxEdgeHandler.prototype.isOutlineConnectEvent=function(u){return mxEvent.isShiftDown(u.getEvent())&&mxEvent.isAltDown(u.getEvent())?!1:null!=this.currentTerminalState&&u.getState()==this.currentTerminalState&&2E3<Fa||(null==this.currentTerminalState||"0"!=mxUtils.getValue(this.currentTerminalState.style,"outlineConnect","1"))&&Oa.apply(this,arguments)};mxEdgeHandler.prototype.createHandleShape=
+(this.secondDiv.parentNode.removeChild(this.secondDiv),this.secondDiv=null)),A.consume()}};var Sa=mxRubberband.prototype.reset;mxRubberband.prototype.reset=function(){null!=this.secondDiv&&(this.secondDiv.parentNode.removeChild(this.secondDiv),this.secondDiv=null);Sa.apply(this,arguments)};var ma=(new Date).getTime(),Fa=0,Ha=mxEdgeHandler.prototype.updatePreviewState;mxEdgeHandler.prototype.updatePreviewState=function(u,A,B,E){Ha.apply(this,arguments);B!=this.currentTerminalState?(ma=(new Date).getTime(),
+Fa=0):Fa=(new Date).getTime()-ma;this.currentTerminalState=B};var Na=mxEdgeHandler.prototype.isOutlineConnectEvent;mxEdgeHandler.prototype.isOutlineConnectEvent=function(u){return mxEvent.isShiftDown(u.getEvent())&&mxEvent.isAltDown(u.getEvent())?!1:null!=this.currentTerminalState&&u.getState()==this.currentTerminalState&&2E3<Fa||(null==this.currentTerminalState||"0"!=mxUtils.getValue(this.currentTerminalState.style,"outlineConnect","1"))&&Na.apply(this,arguments)};mxEdgeHandler.prototype.createHandleShape=
function(u,A,B){A=null!=u&&0==u;var E=this.state.getVisibleTerminalState(A);u=null!=u&&(0==u||u>=this.state.absolutePoints.length-1||this.constructor==mxElbowEdgeHandler&&2==u)?this.graph.getConnectionConstraint(this.state,E,A):null;B=null!=(null!=u?this.graph.getConnectionPoint(this.state.getVisibleTerminalState(A),u):null)?B?this.endFixedHandleImage:this.fixedHandleImage:null!=u&&null!=E?B?this.endTerminalHandleImage:this.terminalHandleImage:B?this.endHandleImage:this.handleImage;if(null!=B)return B=
-new mxImageShape(new mxRectangle(0,0,B.width,B.height),B.src),B.preserveImageAspect=!1,B;B=mxConstants.HANDLE_SIZE;this.preferHtml&&--B;return new mxRectangleShape(new mxRectangle(0,0,B,B),mxConstants.HANDLE_FILLCOLOR,mxConstants.HANDLE_STROKECOLOR)};var Ra=mxVertexHandler.prototype.createSizerShape;mxVertexHandler.prototype.createSizerShape=function(u,A,B,E){E=A==mxEvent.ROTATION_HANDLE?HoverIcons.prototype.rotationHandle:A==mxEvent.LABEL_HANDLE?this.secondaryHandleImage:E;return Ra.apply(this,arguments)};
-var Ma=mxGraphHandler.prototype.getBoundingBox;mxGraphHandler.prototype.getBoundingBox=function(u){if(null!=u&&1==u.length){var A=this.graph.getModel(),B=A.getParent(u[0]),E=this.graph.getCellGeometry(u[0]);if(A.isEdge(B)&&null!=E&&E.relative&&(A=this.graph.view.getState(u[0]),null!=A&&2>A.width&&2>A.height&&null!=A.text&&null!=A.text.boundingBox))return mxRectangle.fromRectangle(A.text.boundingBox)}return Ma.apply(this,arguments)};var Na=mxGraphHandler.prototype.getGuideStates;mxGraphHandler.prototype.getGuideStates=
-function(){for(var u=Na.apply(this,arguments),A=[],B=0;B<u.length;B++)"1"!=mxUtils.getValue(u[B].style,"part","0")&&A.push(u[B]);return A};var ta=mxVertexHandler.prototype.getSelectionBounds;mxVertexHandler.prototype.getSelectionBounds=function(u){var A=this.graph.getModel(),B=A.getParent(u.cell),E=this.graph.getCellGeometry(u.cell);return A.isEdge(B)&&null!=E&&E.relative&&2>u.width&&2>u.height&&null!=u.text&&null!=u.text.boundingBox?(A=u.text.unrotatedBoundingBox||u.text.boundingBox,new mxRectangle(Math.round(A.x),
-Math.round(A.y),Math.round(A.width),Math.round(A.height))):ta.apply(this,arguments)};var Pa=mxVertexHandler.prototype.mouseDown;mxVertexHandler.prototype.mouseDown=function(u,A){var B=this.graph.getModel(),E=B.getParent(this.state.cell),N=this.graph.getCellGeometry(this.state.cell);(this.getHandleForEvent(A)==mxEvent.ROTATION_HANDLE||!B.isEdge(E)||null==N||!N.relative||null==this.state||2<=this.state.width||2<=this.state.height)&&Pa.apply(this,arguments)};mxVertexHandler.prototype.rotateClick=function(){var u=
-mxUtils.getValue(this.state.style,mxConstants.STYLE_STROKECOLOR,mxConstants.NONE),A=mxUtils.getValue(this.state.style,mxConstants.STYLE_FILLCOLOR,mxConstants.NONE);this.state.view.graph.model.isVertex(this.state.cell)&&u==mxConstants.NONE&&A==mxConstants.NONE?(u=mxUtils.mod(mxUtils.getValue(this.state.style,mxConstants.STYLE_ROTATION,0)+90,360),this.state.view.graph.setCellStyles(mxConstants.STYLE_ROTATION,u,[this.state.cell])):this.state.view.graph.turnShapes([this.state.cell])};var $a=mxVertexHandler.prototype.mouseMove;
-mxVertexHandler.prototype.mouseMove=function(u,A){$a.apply(this,arguments);null!=this.graph.graphHandler.first&&(null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.style.display="none"),null!=this.linkHint&&"none"!=this.linkHint.style.display&&(this.linkHint.style.display="none"))};var gb=mxVertexHandler.prototype.mouseUp;mxVertexHandler.prototype.mouseUp=function(u,A){gb.apply(this,arguments);null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.style.display=
+new mxImageShape(new mxRectangle(0,0,B.width,B.height),B.src),B.preserveImageAspect=!1,B;B=mxConstants.HANDLE_SIZE;this.preferHtml&&--B;return new mxRectangleShape(new mxRectangle(0,0,B,B),mxConstants.HANDLE_FILLCOLOR,mxConstants.HANDLE_STROKECOLOR)};var Qa=mxVertexHandler.prototype.createSizerShape;mxVertexHandler.prototype.createSizerShape=function(u,A,B,E){E=A==mxEvent.ROTATION_HANDLE?HoverIcons.prototype.rotationHandle:A==mxEvent.LABEL_HANDLE?this.secondaryHandleImage:E;return Qa.apply(this,arguments)};
+var La=mxGraphHandler.prototype.getBoundingBox;mxGraphHandler.prototype.getBoundingBox=function(u){if(null!=u&&1==u.length){var A=this.graph.getModel(),B=A.getParent(u[0]),E=this.graph.getCellGeometry(u[0]);if(A.isEdge(B)&&null!=E&&E.relative&&(A=this.graph.view.getState(u[0]),null!=A&&2>A.width&&2>A.height&&null!=A.text&&null!=A.text.boundingBox))return mxRectangle.fromRectangle(A.text.boundingBox)}return La.apply(this,arguments)};var Ja=mxGraphHandler.prototype.getGuideStates;mxGraphHandler.prototype.getGuideStates=
+function(){for(var u=Ja.apply(this,arguments),A=[],B=0;B<u.length;B++)"1"!=mxUtils.getValue(u[B].style,"part","0")&&A.push(u[B]);return A};var ua=mxVertexHandler.prototype.getSelectionBounds;mxVertexHandler.prototype.getSelectionBounds=function(u){var A=this.graph.getModel(),B=A.getParent(u.cell),E=this.graph.getCellGeometry(u.cell);return A.isEdge(B)&&null!=E&&E.relative&&2>u.width&&2>u.height&&null!=u.text&&null!=u.text.boundingBox?(A=u.text.unrotatedBoundingBox||u.text.boundingBox,new mxRectangle(Math.round(A.x),
+Math.round(A.y),Math.round(A.width),Math.round(A.height))):ua.apply(this,arguments)};var Ia=mxVertexHandler.prototype.mouseDown;mxVertexHandler.prototype.mouseDown=function(u,A){var B=this.graph.getModel(),E=B.getParent(this.state.cell),N=this.graph.getCellGeometry(this.state.cell);(this.getHandleForEvent(A)==mxEvent.ROTATION_HANDLE||!B.isEdge(E)||null==N||!N.relative||null==this.state||2<=this.state.width||2<=this.state.height)&&Ia.apply(this,arguments)};mxVertexHandler.prototype.rotateClick=function(){var u=
+mxUtils.getValue(this.state.style,mxConstants.STYLE_STROKECOLOR,mxConstants.NONE),A=mxUtils.getValue(this.state.style,mxConstants.STYLE_FILLCOLOR,mxConstants.NONE);this.state.view.graph.model.isVertex(this.state.cell)&&u==mxConstants.NONE&&A==mxConstants.NONE?(u=mxUtils.mod(mxUtils.getValue(this.state.style,mxConstants.STYLE_ROTATION,0)+90,360),this.state.view.graph.setCellStyles(mxConstants.STYLE_ROTATION,u,[this.state.cell])):this.state.view.graph.turnShapes([this.state.cell])};var Za=mxVertexHandler.prototype.mouseMove;
+mxVertexHandler.prototype.mouseMove=function(u,A){Za.apply(this,arguments);null!=this.graph.graphHandler.first&&(null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.style.display="none"),null!=this.linkHint&&"none"!=this.linkHint.style.display&&(this.linkHint.style.display="none"))};var gb=mxVertexHandler.prototype.mouseUp;mxVertexHandler.prototype.mouseUp=function(u,A){gb.apply(this,arguments);null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.style.display=
1==this.graph.getSelectionCount()?"":"none");null!=this.linkHint&&"none"==this.linkHint.style.display&&1==this.graph.getSelectionCount()&&(this.linkHint.style.display="");this.blockDelayedSelection=null};mxVertexHandler.prototype.updateLinkHint=function(u,A){try{if(null==u&&(null==A||0==A.length))null!=this.linkHint&&(this.linkHint.parentNode.removeChild(this.linkHint),this.linkHint=null);else if(null!=u||null!=A&&0<A.length){var B=document.createElement("img");B.className="geAdaptiveAsset";B.setAttribute("src",
Editor.editImage);B.setAttribute("title",mxResources.get("editLink"));B.setAttribute("width","14");B.setAttribute("height","14");B.style.paddingLeft="8px";B.style.marginLeft="auto";B.style.marginBottom="-1px";B.style.cursor="pointer";var E=B.cloneNode(!0);E.setAttribute("src",Editor.trashImage);E.setAttribute("title",mxResources.get("removeIt",[mxResources.get("link")]));E.style.paddingLeft="4px";E.style.marginLeft="0";null==this.linkHint&&(this.linkHint=a(),mxUtils.setPrefixedStyle(this.linkHint.style,
"transform","translate(-50%,0)"),this.linkHint.style.padding="6px 8px 6px 8px",this.linkHint.style.opacity="1",this.linkHint.style.filter="",this.graph.container.appendChild(this.linkHint),mxEvent.addListener(this.linkHint,"mouseenter",mxUtils.bind(this,function(){this.graph.tooltipHandler.hide()})));this.linkHint.innerText="";if(null!=u){var N=document.createElement("div");N.style.display="flex";N.style.alignItems="center";N.appendChild(this.graph.createLinkForHint(u,null,this.state.cell));this.linkHint.appendChild(N);
-if(this.graph.isEnabled()&&"function"===typeof this.graph.editLink&&!this.graph.isCellLocked(this.state.cell)){var Q=B.cloneNode(!0);N.appendChild(Q);mxEvent.addListener(Q,"click",mxUtils.bind(this,function(ia){this.graph.setSelectionCell(this.state.cell);this.graph.editLink();mxEvent.consume(ia)}));var T=E.cloneNode(!0);N.appendChild(T);mxEvent.addListener(T,"click",mxUtils.bind(this,function(ia){this.graph.setLinkForCell(this.state.cell,null);mxEvent.consume(ia)}))}}if(null!=A)for(N=0;N<A.length;N++)mxUtils.bind(this,
-function(ia,da){var ha=document.createElement("div");ha.style.display="flex";ha.style.alignItems="center";ha.style.marginTop=null!=u||0<da?"6px":"0px";ha.appendChild(this.graph.createLinkForHint(ia.getAttribute("href"),mxUtils.getTextContent(ia),this.state.cell));var ua=B.cloneNode(!0);ha.appendChild(ua);var Ja=mxUtils.bind(this,function(Ka){var xa=document.createElement("div");xa.innerHTML=Graph.sanitizeHtml(this.graph.getLabel(this.state.cell));var Ba=xa.getElementsByTagName("a")[da];if(null!=Ba){if(null==
-Ka||""==Ka){for(Ka=Ba.cloneNode(!0).firstChild;null!=Ka;)Ba.parentNode.insertBefore(Ka.cloneNode(!0),Ba),Ka=Ka.nextSibling;Ba.parentNode.removeChild(Ba)}else Ba.setAttribute("href",Ka);this.graph.labelChanged(this.state.cell,xa.innerHTML)}});mxEvent.addListener(ua,"click",mxUtils.bind(this,function(Ka){this.graph.showLinkDialog(ia.getAttribute("href")||"",mxResources.get("ok"),Ja);mxEvent.consume(Ka)}));ua=E.cloneNode(!0);ha.appendChild(ua);mxEvent.addListener(ua,"click",mxUtils.bind(this,function(Ka){Ja();
-mxEvent.consume(Ka)}));this.linkHint.appendChild(ha)})(A[N],N)}null!=this.linkHint&&Graph.sanitizeNode(this.linkHint)}catch(ia){}};mxEdgeHandler.prototype.updateLinkHint=mxVertexHandler.prototype.updateLinkHint;var cb=mxEdgeHandler.prototype.createConstraintHandler;mxEdgeHandler.prototype.createConstraintHandler=function(){var u=cb.apply(this,arguments);u.isEnabled=mxUtils.bind(this,function(){return this.state.view.graph.connectionHandler.isEnabled()});return u};var hb=mxConnectionHandler.prototype.init;
-mxConnectionHandler.prototype.init=function(){hb.apply(this,arguments);this.constraintHandler.isEnabled=mxUtils.bind(this,function(){return this.graph.connectionHandler.isEnabled()})};var ib=mxVertexHandler.prototype.redrawHandles;mxVertexHandler.prototype.redrawHandles=function(){if(null!=this.moveHandles)for(var u=0;u<this.moveHandles.length;u++)null!=this.moveHandles[u]&&(this.moveHandles[u].bounds.x=Math.round(this.moveHandles[u].rowState.x+this.moveHandles[u].rowState.width-this.moveHandles[u].bounds.width/
+if(this.graph.isEnabled()&&"function"===typeof this.graph.editLink&&!this.graph.isCellLocked(this.state.cell)){var Q=B.cloneNode(!0);N.appendChild(Q);mxEvent.addListener(Q,"click",mxUtils.bind(this,function(ha){this.graph.setSelectionCell(this.state.cell);this.graph.editLink();mxEvent.consume(ha)}));var W=E.cloneNode(!0);N.appendChild(W);mxEvent.addListener(W,"click",mxUtils.bind(this,function(ha){this.graph.setLinkForCell(this.state.cell,null);mxEvent.consume(ha)}))}}if(null!=A)for(N=0;N<A.length;N++)mxUtils.bind(this,
+function(ha,fa){var ia=document.createElement("div");ia.style.display="flex";ia.style.alignItems="center";ia.style.marginTop=null!=u||0<fa?"6px":"0px";ia.appendChild(this.graph.createLinkForHint(ha.getAttribute("href"),mxUtils.getTextContent(ha),this.state.cell));var ya=B.cloneNode(!0);ia.appendChild(ya);var xa=mxUtils.bind(this,function(Da){var Oa=document.createElement("div");Oa.innerHTML=Graph.sanitizeHtml(this.graph.getLabel(this.state.cell));var Ma=Oa.getElementsByTagName("a")[fa];if(null!=Ma){if(null==
+Da||""==Da){for(Da=Ma.cloneNode(!0).firstChild;null!=Da;)Ma.parentNode.insertBefore(Da.cloneNode(!0),Ma),Da=Da.nextSibling;Ma.parentNode.removeChild(Ma)}else Ma.setAttribute("href",Da);this.graph.labelChanged(this.state.cell,Oa.innerHTML)}});mxEvent.addListener(ya,"click",mxUtils.bind(this,function(Da){this.graph.showLinkDialog(ha.getAttribute("href")||"",mxResources.get("ok"),xa);mxEvent.consume(Da)}));ya=E.cloneNode(!0);ia.appendChild(ya);mxEvent.addListener(ya,"click",mxUtils.bind(this,function(Da){xa();
+mxEvent.consume(Da)}));this.linkHint.appendChild(ia)})(A[N],N)}null!=this.linkHint&&Graph.sanitizeNode(this.linkHint)}catch(ha){}};mxEdgeHandler.prototype.updateLinkHint=mxVertexHandler.prototype.updateLinkHint;var db=mxEdgeHandler.prototype.createConstraintHandler;mxEdgeHandler.prototype.createConstraintHandler=function(){var u=db.apply(this,arguments);u.isEnabled=mxUtils.bind(this,function(){return this.state.view.graph.connectionHandler.isEnabled()});return u};var hb=mxConnectionHandler.prototype.init;
+mxConnectionHandler.prototype.init=function(){hb.apply(this,arguments);this.constraintHandler.isEnabled=mxUtils.bind(this,function(){return this.graph.connectionHandler.isEnabled()})};var ob=mxVertexHandler.prototype.redrawHandles;mxVertexHandler.prototype.redrawHandles=function(){if(null!=this.moveHandles)for(var u=0;u<this.moveHandles.length;u++)null!=this.moveHandles[u]&&(this.moveHandles[u].bounds.x=Math.round(this.moveHandles[u].rowState.x+this.moveHandles[u].rowState.width-this.moveHandles[u].bounds.width/
2),this.moveHandles[u].bounds.y=Math.round(this.moveHandles[u].rowState.y+(this.moveHandles[u].rowState.height-this.moveHandles[u].bounds.height)/2),this.moveHandles[u].redraw());if(null!=this.cornerHandles){u=this.getSelectionBorderInset();var A=this.cornerHandles,B=A[0].bounds.height/2;A[0].bounds.x=this.state.x-A[0].bounds.width/2+u;A[0].bounds.y=this.state.y-B+u;A[0].redraw();A[1].bounds.x=A[0].bounds.x+this.state.width-2*u;A[1].bounds.y=A[0].bounds.y;A[1].redraw();A[2].bounds.x=A[0].bounds.x;
A[2].bounds.y=this.state.y+this.state.height-2*u;A[2].redraw();A[3].bounds.x=A[1].bounds.x;A[3].bounds.y=A[2].bounds.y;A[3].redraw();for(u=0;u<this.cornerHandles.length;u++)this.cornerHandles[u].node.style.display=1==this.graph.getSelectionCount()?"":"none"}null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.setAttribute("title",mxResources.get("rotateTooltip")),this.rotationShape.node.style.display=null!=this.moveHandles||1!=this.graph.getSelectionCount()||null!=this.index&&
-this.index!=mxEvent.ROTATION_HANDLE?"none":"");ib.apply(this);null!=this.state&&null!=this.linkHint&&(u=new mxPoint(this.state.getCenterX(),this.state.getCenterY()),A=new mxRectangle(this.state.x,this.state.y-22,this.state.width+24,this.state.height+22),B=mxUtils.getBoundingBox(A,this.state.style[mxConstants.STYLE_ROTATION]||"0",u),u=null!=B?mxUtils.getBoundingBox(this.state,this.state.style[mxConstants.STYLE_ROTATION]||"0"):this.state,A=null!=this.state.text?this.state.text.boundingBox:null,null==
-B&&(B=this.state),B=B.y+B.height,null!=A&&(B=Math.max(B,A.y+A.height)),this.linkHint.style.left=u.x+u.width/2+"px",this.linkHint.style.top=Math.round(B+this.verticalOffset/2+Editor.hintOffset)+"px",this.linkHint.style.display=1<this.graph.getSelectionCount()?"none":"")};var fb=mxVertexHandler.prototype.destroy;mxVertexHandler.prototype.destroy=function(){fb.apply(this,arguments);this.destroyMoveHandles();this.destroyCornerHandles();null!=this.linkHint&&(null!=this.linkHint.parentNode&&this.linkHint.parentNode.removeChild(this.linkHint),
-this.linkHint=null);null!=this.changeHandler&&(this.graph.getSelectionModel().removeListener(this.changeHandler),this.graph.getModel().removeListener(this.changeHandler),this.changeHandler=null);null!=this.editingHandler&&(this.graph.removeListener(this.editingHandler),this.editingHandler=null)};var fa=mxEdgeHandler.prototype.redrawHandles;mxEdgeHandler.prototype.redrawHandles=function(){if(null!=this.marker&&(fa.apply(this),null!=this.state&&null!=this.linkHint)){var u=this.state;null!=this.state.text&&
-null!=this.state.text.bounds&&(u=new mxRectangle(u.x,u.y,u.width,u.height),u.add(this.state.text.bounds));this.linkHint.style.left=u.x+u.width/2+"px";this.linkHint.style.top=Math.round(u.y+u.height+Editor.hintOffset)+"px";this.linkHint.style.display=1<this.graph.getSelectionCount()?"none":""}};var Ga=mxEdgeHandler.prototype.reset;mxEdgeHandler.prototype.reset=function(){Ga.apply(this,arguments);null!=this.linkHint&&(this.linkHint.style.visibility="")};var ya=mxEdgeHandler.prototype.destroy;mxEdgeHandler.prototype.destroy=
-function(){ya.apply(this,arguments);null!=this.linkHint&&(this.linkHint.parentNode.removeChild(this.linkHint),this.linkHint=null);null!=this.changeHandler&&(this.graph.getModel().removeListener(this.changeHandler),this.graph.getSelectionModel().removeListener(this.changeHandler),this.changeHandler=null)}}();Format=function(a,b){this.editorUi=a;this.container=b};Format.inactiveTabBackgroundColor="#e4e4e4";Format.classicFilledMarkerImage=Graph.createSvgImage(20,22,'<path transform="translate(4,2)" stroke-width="2" d="M 0 8 L 10 2 L 5 8 L 10 14 Z M 0 8 L 24 8" stroke="#404040" fill="#404040"/>',32,20);Format.classicThinFilledMarkerImage=Graph.createSvgImage(20,22,'<path transform="translate(4,2)" stroke-width="2" d="M 0 8 L 8 4 L 3 8 L 8 12 Z M 0 8 L 24 8" stroke="#404040" fill="#404040"/>',32,20);
+this.index!=mxEvent.ROTATION_HANDLE?"none":"");ob.apply(this);null!=this.state&&null!=this.linkHint&&(u=new mxPoint(this.state.getCenterX(),this.state.getCenterY()),A=new mxRectangle(this.state.x,this.state.y-22,this.state.width+24,this.state.height+22),B=mxUtils.getBoundingBox(A,this.state.style[mxConstants.STYLE_ROTATION]||"0",u),u=null!=B?mxUtils.getBoundingBox(this.state,this.state.style[mxConstants.STYLE_ROTATION]||"0"):this.state,A=null!=this.state.text?this.state.text.boundingBox:null,null==
+B&&(B=this.state),B=B.y+B.height,null!=A&&(B=Math.max(B,A.y+A.height)),this.linkHint.style.left=u.x+u.width/2+"px",this.linkHint.style.top=Math.round(B+this.verticalOffset/2+Editor.hintOffset)+"px",this.linkHint.style.display=1<this.graph.getSelectionCount()?"none":"")};var cb=mxVertexHandler.prototype.destroy;mxVertexHandler.prototype.destroy=function(){cb.apply(this,arguments);this.destroyMoveHandles();this.destroyCornerHandles();null!=this.linkHint&&(null!=this.linkHint.parentNode&&this.linkHint.parentNode.removeChild(this.linkHint),
+this.linkHint=null);null!=this.changeHandler&&(this.graph.getSelectionModel().removeListener(this.changeHandler),this.graph.getModel().removeListener(this.changeHandler),this.changeHandler=null);null!=this.editingHandler&&(this.graph.removeListener(this.editingHandler),this.editingHandler=null)};var ab=mxEdgeHandler.prototype.redrawHandles;mxEdgeHandler.prototype.redrawHandles=function(){if(null!=this.marker&&(ab.apply(this),null!=this.state&&null!=this.linkHint)){var u=this.state;null!=this.state.text&&
+null!=this.state.text.bounds&&(u=new mxRectangle(u.x,u.y,u.width,u.height),u.add(this.state.text.bounds));this.linkHint.style.left=u.x+u.width/2+"px";this.linkHint.style.top=Math.round(u.y+u.height+Editor.hintOffset)+"px";this.linkHint.style.display=1<this.graph.getSelectionCount()?"none":""}};var da=mxEdgeHandler.prototype.reset;mxEdgeHandler.prototype.reset=function(){da.apply(this,arguments);null!=this.linkHint&&(this.linkHint.style.visibility="")};var wa=mxEdgeHandler.prototype.destroy;mxEdgeHandler.prototype.destroy=
+function(){wa.apply(this,arguments);null!=this.linkHint&&(this.linkHint.parentNode.removeChild(this.linkHint),this.linkHint=null);null!=this.changeHandler&&(this.graph.getModel().removeListener(this.changeHandler),this.graph.getSelectionModel().removeListener(this.changeHandler),this.changeHandler=null)}}();Format=function(a,b){this.editorUi=a;this.container=b};Format.inactiveTabBackgroundColor="#e4e4e4";Format.classicFilledMarkerImage=Graph.createSvgImage(20,22,'<path transform="translate(4,2)" stroke-width="2" d="M 0 8 L 10 2 L 5 8 L 10 14 Z M 0 8 L 24 8" stroke="#404040" fill="#404040"/>',32,20);Format.classicThinFilledMarkerImage=Graph.createSvgImage(20,22,'<path transform="translate(4,2)" stroke-width="2" d="M 0 8 L 8 4 L 3 8 L 8 12 Z M 0 8 L 24 8" stroke="#404040" fill="#404040"/>',32,20);
Format.openFilledMarkerImage=Graph.createSvgImage(20,22,'<path transform="translate(4,2)" stroke-width="2" d="M 8 0 L 0 8 L 8 16 M 0 8 L 24 8" stroke="#404040" fill="transparent"/>',32,20);Format.openThinFilledMarkerImage=Graph.createSvgImage(20,22,'<path transform="translate(4,2)" stroke-width="2" d="M 8 4 L 0 8 L 8 12 M 0 8 L 24 8" stroke="#404040" fill="transparent"/>',32,20);
Format.openAsyncFilledMarkerImage=Graph.createSvgImage(20,22,'<path transform="translate(4,2)" stroke-width="2" d="M 8 4 L 0 8 L 24 8" stroke="#404040" fill="transparent"/>',32,20);Format.blockFilledMarkerImage=Graph.createSvgImage(20,22,'<path transform="translate(4,2)" stroke-width="2" d="M 0 8 L 8 2 L 8 14 Z M 0 8 L 24 8" stroke="#404040" fill="#404040"/>',32,20);
Format.blockThinFilledMarkerImage=Graph.createSvgImage(20,22,'<path transform="translate(4,2)" stroke-width="2" d="M 0 8 L 8 4 L 8 12 Z M 0 8 L 24 8" stroke="#404040" fill="#404040"/>',32,20);Format.asyncFilledMarkerImage=Graph.createSvgImage(20,22,'<path transform="translate(4,2)" stroke-width="2" d="M 6 8 L 6 4 L 0 8 L 24 8" stroke="#404040" fill="#404040"/>',32,20);
@@ -2990,833 +2989,832 @@ Format.ERmanyMarkerImage=Graph.createSvgImage(20,22,'<path transform="translate(
Format.ERzeroToOneMarkerImage=Graph.createSvgImage(20,22,'<path transform="translate(4,2)" stroke-width="2" d="M 8 8 A 5 5 0 0 1 13 3 A 5 5 0 0 1 18 8 A 5 5 0 0 1 13 13 A 5 5 0 0 1 8 8 Z M 0 8 L 8 8 M 18 8 L 24 8 M 4 3 L 4 13" stroke="#404040" fill="transparent"/>',32,20);
Format.ERzeroToManyMarkerImage=Graph.createSvgImage(20,22,'<path transform="translate(4,2)" stroke-width="2" d="M 8 8 A 5 5 0 0 1 13 3 A 5 5 0 0 1 18 8 A 5 5 0 0 1 13 13 A 5 5 0 0 1 8 8 Z M 0 8 L 8 8 M 18 8 L 24 8 M 0 3 L 8 8 L 0 13" stroke="#404040" fill="transparent"/>',32,20);Format.EROneMarkerImage=Graph.createSvgImage(20,22,'<path transform="translate(4,2)" stroke-width="2" d="M 5 2 L 5 14 M 0 8 L 24 8" stroke="#404040" fill="transparent"/>',32,20);
Format.baseDashMarkerImage=Graph.createSvgImage(20,22,'<path transform="translate(4,2)" stroke-width="2" d="M 0 2 L 0 14 M 0 8 L 24 8" stroke="#404040" fill="transparent"/>',32,20);Format.doubleBlockMarkerImage=Graph.createSvgImage(20,22,'<path transform="translate(4,2)" stroke-width="2" d="M 0 8 L 8 2 L 8 14 Z M 8 8 L 16 2 L 16 14 Z M 16 8 L 24 8" stroke="#404040" fill="transparent"/>',32,20);
-Format.doubleBlockFilledMarkerImage=Graph.createSvgImage(20,22,'<path transform="translate(4,2)" stroke-width="2" d="M 0 8 L 8 2 L 8 14 Z M 8 8 L 16 2 L 16 14 Z M 16 8 L 24 8" stroke="#404040" fill="#404040"/>',32,20);Format.processMenuIcon=function(a,b){var d=a.getElementsByTagName("img");0<d.length&&(d[0].className="geIcon geAdaptiveAsset",d[0].style.padding="0px",d[0].style.margin="0 0 0 2px",null!=b&&mxUtils.setPrefixedStyle(d[0].style,"transform",b));return a};Format.prototype.labelIndex=0;
+Format.doubleBlockFilledMarkerImage=Graph.createSvgImage(20,22,'<path transform="translate(4,2)" stroke-width="2" d="M 0 8 L 8 2 L 8 14 Z M 8 8 L 16 2 L 16 14 Z M 16 8 L 24 8" stroke="#404040" fill="#404040"/>',32,20);Format.processMenuIcon=function(a,b){var e=a.getElementsByTagName("img");0<e.length&&(e[0].className="geIcon geAdaptiveAsset",e[0].style.padding="0px",e[0].style.margin="0 0 0 2px",null!=b&&mxUtils.setPrefixedStyle(e[0].style,"transform",b));return a};Format.prototype.labelIndex=0;
Format.prototype.diagramIndex=0;Format.prototype.currentIndex=0;Format.prototype.showCloseButton=!0;Format.prototype.rounded=!1;Format.prototype.curved=!1;
-Format.prototype.init=function(){var a=this.editorUi,b=a.editor,d=b.graph;this.update=mxUtils.bind(this,function(e,g){this.refresh()});d.getSelectionModel().addListener(mxEvent.CHANGE,this.update);d.getModel().addListener(mxEvent.CHANGE,this.update);d.addListener(mxEvent.EDITING_STARTED,this.update);d.addListener(mxEvent.EDITING_STOPPED,this.update);d.getView().addListener("unitChanged",this.update);b.addListener("autosaveChanged",this.update);d.addListener(mxEvent.ROOT,this.update);a.addListener("styleChanged",
+Format.prototype.init=function(){var a=this.editorUi,b=a.editor,e=b.graph;this.update=mxUtils.bind(this,function(f,h){this.refresh()});e.getSelectionModel().addListener(mxEvent.CHANGE,this.update);e.getModel().addListener(mxEvent.CHANGE,this.update);e.addListener(mxEvent.EDITING_STARTED,this.update);e.addListener(mxEvent.EDITING_STOPPED,this.update);e.getView().addListener("unitChanged",this.update);b.addListener("autosaveChanged",this.update);e.addListener(mxEvent.ROOT,this.update);a.addListener("styleChanged",
this.update);a.addListener("darkModeChanged",this.update);a.addListener("lockedChanged",this.update);this.refresh()};Format.prototype.clear=function(){this.container.innerText="";if(null!=this.panels)for(var a=0;a<this.panels.length;a++)this.panels[a].destroy();this.panels=[]};Format.prototype.refresh=function(){null!=this.pendingRefresh&&(window.clearTimeout(this.pendingRefresh),this.pendingRefresh=null);this.pendingRefresh=window.setTimeout(mxUtils.bind(this,function(){this.immediateRefresh()}))};
-Format.prototype.immediateRefresh=function(){if("0px"!=this.container.style.width){this.clear();var a=this.editorUi,b=a.editor.graph,d=document.createElement("div");d.style.whiteSpace="nowrap";d.style.color=Editor.isDarkMode()?"#8D8D8D":"#616161";d.style.textAlign="left";d.style.cursor="default";var e=document.createElement("div");e.className="geFormatSection";e.style.textAlign="center";e.style.fontWeight="bold";e.style.paddingTop="8px";e.style.fontSize="13px";e.style.borderWidth="0px 0px 1px 1px";
-e.style.borderStyle="solid";e.style.display="inline-block";e.style.height="25px";e.style.overflow="hidden";e.style.width="100%";this.container.appendChild(d);mxEvent.addListener(e,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(C){C.preventDefault()}));var g=a.getSelectionState(),f=g.containsLabel,h=null,n=null,q=mxUtils.bind(this,function(C,F,D,G){var K=mxUtils.bind(this,function(I){h!=C&&(f?this.labelIndex=D:b.isSelectionEmpty()?this.diagramIndex=D:this.currentIndex=D,null!=
-h&&(h.style.backgroundColor=Format.inactiveTabBackgroundColor,h.style.borderBottomWidth="1px"),h=C,h.style.backgroundColor="",h.style.borderBottomWidth="0px",n!=F&&(null!=n&&(n.style.display="none"),n=F,n.style.display=""))});mxEvent.addListener(C,"click",K);mxEvent.addListener(C,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(I){I.preventDefault()}));(G&&null==h||D==(f?this.labelIndex:b.isSelectionEmpty()?this.diagramIndex:this.currentIndex))&&K()}),l=0;if(b.isSelectionEmpty()){mxUtils.write(e,
-mxResources.get("diagram"));e.style.borderLeftWidth="0px";d.appendChild(e);g=d.cloneNode(!1);this.panels.push(new DiagramFormatPanel(this,a,g));this.container.appendChild(g);if(null!=Editor.styles){g.style.display="none";e.style.width=this.showCloseButton?"106px":"50%";e.style.cursor="pointer";e.style.backgroundColor=Format.inactiveTabBackgroundColor;var p=e.cloneNode(!1);p.style.borderLeftWidth="1px";p.style.borderRightWidth="1px";p.style.backgroundColor=Format.inactiveTabBackgroundColor;q(e,g,l++);
-var w=d.cloneNode(!1);w.style.display="none";mxUtils.write(p,mxResources.get("style"));d.appendChild(p);this.panels.push(new DiagramStylePanel(this,a,w));this.container.appendChild(w);q(p,w,l++)}this.showCloseButton&&(p=e.cloneNode(!1),p.style.borderLeftWidth="1px",p.style.borderRightWidth="1px",p.style.borderBottomWidth="1px",p.style.backgroundColor=Format.inactiveTabBackgroundColor,p.style.position="absolute",p.style.right="0px",p.style.top="0px",p.style.width="25px",q=document.createElement("img"),
-q.setAttribute("border","0"),q.setAttribute("src",Dialog.prototype.closeImage),q.setAttribute("title",mxResources.get("hide")),q.style.position="absolute",q.style.display="block",q.style.right="0px",q.style.top="8px",q.style.cursor="pointer",q.style.marginTop="1px",q.style.marginRight="6px",q.style.border="1px solid transparent",q.style.padding="1px",q.style.opacity=.5,p.appendChild(q),mxEvent.addListener(q,"click",function(){a.actions.get("format").funct()}),d.appendChild(p))}else if(b.isEditing())mxUtils.write(e,
-mxResources.get("text")),d.appendChild(e),e.style.borderLeftStyle="none",this.panels.push(new TextFormatPanel(this,a,d));else{e.style.backgroundColor=Format.inactiveTabBackgroundColor;e.style.borderLeftWidth="1px";e.style.cursor="pointer";e.style.width=0==g.cells.length?"100%":f?"50%":"33.3%";p=e.cloneNode(!1);var z=p.cloneNode(!1);p.style.backgroundColor=Format.inactiveTabBackgroundColor;z.style.backgroundColor=Format.inactiveTabBackgroundColor;f?p.style.borderLeftWidth="0px":0<g.cells.length&&(e.style.borderLeftWidth=
-"0px",mxUtils.write(e,mxResources.get("style")),d.appendChild(e),w=d.cloneNode(!1),w.style.display="none",this.panels.push(new StyleFormatPanel(this,a,w)),this.container.appendChild(w),q(e,w,l++));mxUtils.write(p,mxResources.get("text"));d.appendChild(p);e=d.cloneNode(!1);e.style.display="none";this.panels.push(new TextFormatPanel(this,a,e));this.container.appendChild(e);mxUtils.write(z,mxResources.get("arrange"));d.appendChild(z);d=d.cloneNode(!1);d.style.display="none";this.panels.push(new ArrangePanel(this,
-a,d));this.container.appendChild(d);0<g.cells.length?q(p,e,l+1):p.style.display="none";q(z,d,l++,!0)}}};BaseFormatPanel=function(a,b,d){this.format=a;this.editorUi=b;this.container=d;this.listeners=[]};BaseFormatPanel.prototype.buttonBackgroundColor="transparent";
-BaseFormatPanel.prototype.installInputHandler=function(a,b,d,e,g,f,h,n,q){f=null!=f?f:"";n=null!=n?n:!1;var l=this.editorUi,p=l.editor.graph;e=null!=e?e:1;g=null!=g?g:999;var w=null,z=!1,C=null,F=mxUtils.bind(this,function(D){var G=n?parseFloat(a.value):parseInt(a.value);q&&(G=this.fromUnit(G));if(G!=C){C=G;isNaN(G)||b!=mxConstants.STYLE_ROTATION||(G=mxUtils.mod(Math.round(100*G),36E3)/100);G=Math.min(g,Math.max(e,isNaN(G)?d:G));if(p.cellEditor.isContentEditing()&&h)z||(z=!0,null!=w&&(p.cellEditor.restoreSelection(w),
-w=null),h(G),a.value=(q?this.inUnit(G):G)+f,z=!1);else if(G!=mxUtils.getValue(l.getSelectionState().style,b,d)){p.isEditing()&&p.stopEditing(!0);p.getModel().beginUpdate();try{var K=l.getSelectionState().cells;p.setCellStyles(b,G,K);b==mxConstants.STYLE_FONTSIZE&&p.updateLabelElements(K,function(O){O.style.fontSize=G+"px";O.removeAttribute("size")});for(var I=0;I<K.length;I++)0==p.model.getChildCount(K[I])&&p.autoSizeCell(K[I],!1);l.fireEvent(new mxEventObject("styleChanged","keys",[b],"values",[G],
-"cells",K))}finally{p.getModel().endUpdate()}}a.value=(q?this.inUnit(G):G)+f}mxEvent.consume(D)});h&&p.cellEditor.isContentEditing()&&(mxEvent.addListener(a,"mousedown",function(){document.activeElement==p.cellEditor.textarea&&(w=p.cellEditor.saveSelection())}),mxEvent.addListener(a,"touchstart",function(){document.activeElement==p.cellEditor.textarea&&(w=p.cellEditor.saveSelection())}));mxEvent.addListener(a,"change",F);mxEvent.addListener(a,"blur",F);return F};
+Format.prototype.immediateRefresh=function(){if("0px"!=this.container.style.width){this.clear();var a=this.editorUi,b=a.editor.graph,e=document.createElement("div");e.style.whiteSpace="nowrap";e.style.color=Editor.isDarkMode()?"#8D8D8D":"#616161";e.style.textAlign="left";e.style.cursor="default";var f=document.createElement("div");f.className="geFormatSection";f.style.textAlign="center";f.style.fontWeight="bold";f.style.paddingTop="8px";f.style.fontSize="13px";f.style.borderWidth="0px 0px 1px 1px";
+f.style.borderStyle="solid";f.style.display="inline-block";f.style.height="25px";f.style.overflow="hidden";f.style.width="100%";this.container.appendChild(e);mxEvent.addListener(f,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(C){C.preventDefault()}));var h=a.getSelectionState(),d=h.containsLabel,g=null,n=null,q=mxUtils.bind(this,function(C,F,D,H){var K=mxUtils.bind(this,function(G){g!=C&&(d?this.labelIndex=D:b.isSelectionEmpty()?this.diagramIndex=D:this.currentIndex=D,null!=
+g&&(g.style.backgroundColor=Format.inactiveTabBackgroundColor,g.style.borderBottomWidth="1px"),g=C,g.style.backgroundColor="",g.style.borderBottomWidth="0px",n!=F&&(null!=n&&(n.style.display="none"),n=F,n.style.display=""))});mxEvent.addListener(C,"click",K);mxEvent.addListener(C,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(G){G.preventDefault()}));(H&&null==g||D==(d?this.labelIndex:b.isSelectionEmpty()?this.diagramIndex:this.currentIndex))&&K()}),k=0;if(b.isSelectionEmpty()){mxUtils.write(f,
+mxResources.get("diagram"));f.style.borderLeftWidth="0px";e.appendChild(f);h=e.cloneNode(!1);this.panels.push(new DiagramFormatPanel(this,a,h));this.container.appendChild(h);if(null!=Editor.styles){h.style.display="none";f.style.width=this.showCloseButton?"106px":"50%";f.style.cursor="pointer";f.style.backgroundColor=Format.inactiveTabBackgroundColor;var p=f.cloneNode(!1);p.style.borderLeftWidth="1px";p.style.borderRightWidth="1px";p.style.backgroundColor=Format.inactiveTabBackgroundColor;q(f,h,k++);
+var w=e.cloneNode(!1);w.style.display="none";mxUtils.write(p,mxResources.get("style"));e.appendChild(p);this.panels.push(new DiagramStylePanel(this,a,w));this.container.appendChild(w);q(p,w,k++)}this.showCloseButton&&(p=f.cloneNode(!1),p.style.borderLeftWidth="1px",p.style.borderRightWidth="1px",p.style.borderBottomWidth="1px",p.style.backgroundColor=Format.inactiveTabBackgroundColor,p.style.position="absolute",p.style.right="0px",p.style.top="0px",p.style.width="25px",q=document.createElement("img"),
+q.setAttribute("border","0"),q.setAttribute("src",Dialog.prototype.closeImage),q.setAttribute("title",mxResources.get("hide")),q.style.position="absolute",q.style.display="block",q.style.right="0px",q.style.top="8px",q.style.cursor="pointer",q.style.marginTop="1px",q.style.marginRight="6px",q.style.border="1px solid transparent",q.style.padding="1px",q.style.opacity=.5,p.appendChild(q),mxEvent.addListener(q,"click",function(){a.actions.get("format").funct()}),e.appendChild(p))}else if(b.isEditing())mxUtils.write(f,
+mxResources.get("text")),e.appendChild(f),f.style.borderLeftStyle="none",this.panels.push(new TextFormatPanel(this,a,e));else{f.style.backgroundColor=Format.inactiveTabBackgroundColor;f.style.borderLeftWidth="1px";f.style.cursor="pointer";f.style.width=0==h.cells.length?"100%":d?"50%":"33.3%";p=f.cloneNode(!1);var z=p.cloneNode(!1);p.style.backgroundColor=Format.inactiveTabBackgroundColor;z.style.backgroundColor=Format.inactiveTabBackgroundColor;d?p.style.borderLeftWidth="0px":0<h.cells.length&&(f.style.borderLeftWidth=
+"0px",mxUtils.write(f,mxResources.get("style")),e.appendChild(f),w=e.cloneNode(!1),w.style.display="none",this.panels.push(new StyleFormatPanel(this,a,w)),this.container.appendChild(w),q(f,w,k++));mxUtils.write(p,mxResources.get("text"));e.appendChild(p);f=e.cloneNode(!1);f.style.display="none";this.panels.push(new TextFormatPanel(this,a,f));this.container.appendChild(f);mxUtils.write(z,mxResources.get("arrange"));e.appendChild(z);e=e.cloneNode(!1);e.style.display="none";this.panels.push(new ArrangePanel(this,
+a,e));this.container.appendChild(e);0<h.cells.length?q(p,f,k+1):p.style.display="none";q(z,e,k++,!0)}}};BaseFormatPanel=function(a,b,e){this.format=a;this.editorUi=b;this.container=e;this.listeners=[]};BaseFormatPanel.prototype.buttonBackgroundColor="transparent";
+BaseFormatPanel.prototype.installInputHandler=function(a,b,e,f,h,d,g,n,q){d=null!=d?d:"";n=null!=n?n:!1;var k=this.editorUi,p=k.editor.graph;f=null!=f?f:1;h=null!=h?h:999;var w=null,z=!1,C=null,F=mxUtils.bind(this,function(D){var H=n?parseFloat(a.value):parseInt(a.value);q&&(H=this.fromUnit(H));if(H!=C){C=H;isNaN(H)||b!=mxConstants.STYLE_ROTATION||(H=mxUtils.mod(Math.round(100*H),36E3)/100);H=Math.min(h,Math.max(f,isNaN(H)?e:H));if(p.cellEditor.isContentEditing()&&g)z||(z=!0,null!=w&&(p.cellEditor.restoreSelection(w),
+w=null),g(H),a.value=(q?this.inUnit(H):H)+d,z=!1);else if(H!=mxUtils.getValue(k.getSelectionState().style,b,e)){p.isEditing()&&p.stopEditing(!0);p.getModel().beginUpdate();try{var K=k.getSelectionState().cells;p.setCellStyles(b,H,K);b==mxConstants.STYLE_FONTSIZE&&p.updateLabelElements(K,function(P){P.removeAttribute("size");P.style.fontSize="";""==P.getAttribute("style")&&P.removeAttribute("style")});for(var G=0;G<K.length;G++)0==p.model.getChildCount(K[G])&&p.autoSizeCell(K[G],!1);k.fireEvent(new mxEventObject("styleChanged",
+"keys",[b],"values",[H],"cells",K))}finally{p.getModel().endUpdate()}}a.value=(q?this.inUnit(H):H)+d}mxEvent.consume(D)});g&&p.cellEditor.isContentEditing()&&(mxEvent.addListener(a,"mousedown",function(){document.activeElement==p.cellEditor.textarea&&(w=p.cellEditor.saveSelection())}),mxEvent.addListener(a,"touchstart",function(){document.activeElement==p.cellEditor.textarea&&(w=p.cellEditor.saveSelection())}));mxEvent.addListener(a,"change",F);mxEvent.addListener(a,"blur",F);return F};
BaseFormatPanel.prototype.createPanel=function(){var a=document.createElement("div");a.className="geFormatSection";a.style.padding="12px 0px 8px 14px";return a};BaseFormatPanel.prototype.createTitle=function(a){var b=document.createElement("div");b.style.padding="0px 0px 6px 0px";b.style.whiteSpace="nowrap";b.style.overflow="hidden";b.style.width="200px";b.style.fontWeight="bold";mxUtils.write(b,a);return b};
-BaseFormatPanel.prototype.addAction=function(a,b){var d=this.editorUi.actions.get(b);b=null;null!=d&&d.isEnabled()&&(b=mxUtils.button(d.label,mxUtils.bind(this,function(e){try{d.funct(e,e)}catch(g){this.editorUi.handleError(g)}})),b.setAttribute("title",d.label+(null!=d.shortcut?" ("+d.shortcut+")":"")),b.style.marginBottom="2px",b.style.width="210px",a.appendChild(b));return b};
-BaseFormatPanel.prototype.addActions=function(a,b){for(var d=null,e=null,g=0,f=0;f<b.length;f++){var h=this.addAction(a,b[f]);null!=h&&(g++,0==mxUtils.mod(g,2)&&(e.style.marginRight="2px",e.style.width="104px",h.style.width="104px",d.parentNode.removeChild(d)),d=mxUtils.br(a),e=h)}return g};
-BaseFormatPanel.prototype.createStepper=function(a,b,d,e,g,f,h){d=null!=d?d:1;e=null!=e?e:9;var n=10*d,q=document.createElement("div");q.className="geBtnStepper";q.style.position="absolute";var l=document.createElement("div");l.style.position="relative";l.style.height=e+"px";l.style.width="10px";l.className="geBtnUp";q.appendChild(l);var p=l.cloneNode(!1);p.style.border="none";p.style.height=e+"px";p.className="geBtnDown";q.appendChild(p);mxEvent.addGestureListeners(p,function(z){mxEvent.consume(z)},
-null,function(z){""==a.value&&(a.value=f||"2");var C=h?parseFloat(a.value):parseInt(a.value);isNaN(C)||(a.value=C-(mxEvent.isShiftDown(z)?n:d),null!=b&&b(z));mxEvent.consume(z)});mxEvent.addGestureListeners(l,function(z){mxEvent.consume(z)},null,function(z){""==a.value&&(a.value=f||"0");var C=h?parseFloat(a.value):parseInt(a.value);isNaN(C)||(a.value=C+(mxEvent.isShiftDown(z)?n:d),null!=b&&b(z));mxEvent.consume(z)});if(g){var w=null;mxEvent.addGestureListeners(q,function(z){mxEvent.consume(z)},null,
+BaseFormatPanel.prototype.addAction=function(a,b){var e=this.editorUi.actions.get(b);b=null;null!=e&&e.isEnabled()&&(b=mxUtils.button(e.label,mxUtils.bind(this,function(f){try{e.funct(f,f)}catch(h){this.editorUi.handleError(h)}})),b.setAttribute("title",e.label+(null!=e.shortcut?" ("+e.shortcut+")":"")),b.style.marginBottom="2px",b.style.width="210px",a.appendChild(b));return b};
+BaseFormatPanel.prototype.addActions=function(a,b){for(var e=null,f=null,h=0,d=0;d<b.length;d++){var g=this.addAction(a,b[d]);null!=g&&(h++,0==mxUtils.mod(h,2)&&(f.style.marginRight="2px",f.style.width="104px",g.style.width="104px",e.parentNode.removeChild(e)),e=mxUtils.br(a),f=g)}return h};
+BaseFormatPanel.prototype.createStepper=function(a,b,e,f,h,d,g){e=null!=e?e:1;f=null!=f?f:9;var n=10*e,q=document.createElement("div");q.className="geBtnStepper";q.style.position="absolute";var k=document.createElement("div");k.style.position="relative";k.style.height=f+"px";k.style.width="10px";k.className="geBtnUp";q.appendChild(k);var p=k.cloneNode(!1);p.style.border="none";p.style.height=f+"px";p.className="geBtnDown";q.appendChild(p);mxEvent.addGestureListeners(p,function(z){mxEvent.consume(z)},
+null,function(z){""==a.value&&(a.value=d||"2");var C=g?parseFloat(a.value):parseInt(a.value);isNaN(C)||(a.value=C-(mxEvent.isShiftDown(z)?n:e),null!=b&&b(z));mxEvent.consume(z)});mxEvent.addGestureListeners(k,function(z){mxEvent.consume(z)},null,function(z){""==a.value&&(a.value=d||"0");var C=g?parseFloat(a.value):parseInt(a.value);isNaN(C)||(a.value=C+(mxEvent.isShiftDown(z)?n:e),null!=b&&b(z));mxEvent.consume(z)});if(h){var w=null;mxEvent.addGestureListeners(q,function(z){mxEvent.consume(z)},null,
function(z){if(null!=w){try{w.select()}catch(C){}w=null;mxEvent.consume(z)}})}else mxEvent.addListener(q,"click",function(z){mxEvent.consume(z)});return q};
-BaseFormatPanel.prototype.createOption=function(a,b,d,e,g){var f=document.createElement("div");f.style.display="flex";f.style.alignItems="center";f.style.padding="3px 0px 3px 0px";f.style.height="18px";var h=document.createElement("input");h.setAttribute("type","checkbox");h.style.margin="1px 6px 0px 0px";h.style.verticalAlign="top";f.appendChild(h);var n=document.createElement("div");n.setAttribute("title",a);n.style.display="inline-block";n.style.whiteSpace="nowrap";n.style.textOverflow="ellipsis";
-n.style.overflow="hidden";n.style.maxWidth="160px";n.style.maxWidth="160px";n.style.userSelect="none";mxUtils.write(n,a);f.appendChild(n);var q=!1,l=b(),p=function(w,z){q||(q=!0,w?(h.setAttribute("checked","checked"),h.defaultChecked=!0,h.checked=!0):(h.removeAttribute("checked"),h.defaultChecked=!1,h.checked=!1),l!=w&&(l=w,b()!=l&&d(l,z)),q=!1)};mxEvent.addListener(f,"click",function(w){if("disabled"!=h.getAttribute("disabled")){var z=mxEvent.getSource(w);if(z==f||z==n)h.checked=!h.checked;p(h.checked,
-w)}});p(l);null!=e&&(e.install(p),this.listeners.push(e));null!=g&&g(f);return f};
-BaseFormatPanel.prototype.createCellOption=function(a,b,d,e,g,f,h,n,q){var l=this.editorUi,p=l.editor.graph;e=null!=e?"null"==e?null:e:1;g=null!=g?"null"==g?null:g:0;var w=null!=q?p.getCommonStyle(q):l.getSelectionState().style;return this.createOption(a,function(){return mxUtils.getValue(w,b,d)!=g},function(z){n&&p.stopEditing();if(null!=h)h.funct();else{p.getModel().beginUpdate();try{var C=null!=q?q:l.getSelectionState().cells;z=z?e:g;p.setCellStyles(b,z,C);null!=f&&f(C,z);l.fireEvent(new mxEventObject("styleChanged",
-"keys",[b],"values",[z],"cells",C))}finally{p.getModel().endUpdate()}}},{install:function(z){this.listener=function(){z(mxUtils.getValue(w,b,d)!=g)};p.getModel().addListener(mxEvent.CHANGE,this.listener)},destroy:function(){p.getModel().removeListener(this.listener)}})};
-BaseFormatPanel.prototype.createColorOption=function(a,b,d,e,g,f,h,n){var q=this.editorUi.editor.graph,l=document.createElement("div");l.style.padding="3px 0px 3px 0px";l.style.whiteSpace="nowrap";l.style.overflow="hidden";l.style.width="200px";l.style.height="18px";var p=document.createElement("input");p.setAttribute("type","checkbox");p.style.margin="1px 6px 0px 0px";p.style.verticalAlign="top";h||l.appendChild(p);var w=document.createElement("span");w.style.verticalAlign="top";mxUtils.write(w,
-a);l.appendChild(w);var z=b(),C=!1,F=null,D=null,G=document.createElement("input");G.setAttribute("type","color");G.style.position="relative";G.style.visibility="hidden";G.style.top="10px";G.style.width="0px";G.style.height="0px";G.style.border="none";mxClient.IS_IE||mxClient.IS_IE11||mxClient.IS_TOUCH||(F=document.createElement("img"),F.src=Editor.colorDropperImage,F.className="geColorDropper geAdaptiveAsset",F.style.position="relative",F.style.right="-20px",F.style.top="-1px",F.style.width="auto",
-F.style.height="14px",mxEvent.addListener(F,"click",function(I){var O=z;"default"==O&&(O=n);G.value=O;G.click();mxEvent.consume(I)}));var K=function(I,O,H){if(!C){var Z="null"==e?null:e;C=!0;I=/(^#?[a-zA-Z0-9]*$)/.test(I)?I:Z;Z=null!=I&&I!=mxConstants.NONE?I:Z;var S=document.createElement("div");S.style.width="21px";S.style.height="12px";S.style.margin="2px 18px 2px 3px";S.style.border="1px solid black";S.style.backgroundColor="default"==Z?n:Z;D.innerText="";D.appendChild(S);null!=F?(S.style.width=
-"21px",S.style.margin="2px 18px 2px 3px",S.appendChild(F)):(S.style.width="36px",S.style.margin="3px");null!=I&&I!=mxConstants.NONE&&1<I.length&&"string"===typeof I&&(Z="#"==I.charAt(0)?I.substring(1).toUpperCase():I,Z=ColorDialog.prototype.colorNames[Z],null!=Z&&D.setAttribute("title",Z));null==I||I==mxConstants.NONE||q.isSpecialColor(I)?(p.removeAttribute("checked"),p.defaultChecked=!1,p.checked=!1):(p.setAttribute("checked","checked"),p.defaultChecked=!0,p.checked=!0);D.style.display=p.checked||
-h?"":"none";null!=f&&f("null"==I?null:I);z=I;O||(H||h||b()!=z)&&d("null"==z?null:z,z);C=!1}};l.appendChild(G);mxEvent.addListener(G,"change",function(){K(G.value,null,!0)});D=mxUtils.button("",mxUtils.bind(this,function(I){var O=z;"default"==O&&"default"!=e&&(O=n);this.editorUi.pickColor(O,function(H){K(H,null,!0)},"default"==e?"default":null,n);mxEvent.consume(I)}));D.style.position="absolute";D.style.marginTop="-3px";D.style.left="178px";D.style.height="22px";D.className="geColorBtn";D.style.display=
-p.checked||h?"":"none";l.appendChild(D);a=null!=z&&"string"===typeof z&&"#"==z.charAt(0)?z.substring(1).toUpperCase():z;a=ColorDialog.prototype.colorNames[a];null!=a&&D.setAttribute("title",a);mxEvent.addListener(l,"click",function(I){I=mxEvent.getSource(I);if(I==p||"INPUT"!=I.nodeName)I!=p&&(p.checked=!p.checked),p.checked||null==z||z==mxConstants.NONE||e==mxConstants.NONE||(e=z),K(p.checked?e:mxConstants.NONE)});K(z,!0);null!=g&&(g.install(K),this.listeners.push(g));return l};
-BaseFormatPanel.prototype.createCellColorOption=function(a,b,d,e,g,f){var h=this.editorUi,n=h.editor.graph;return this.createColorOption(a,function(){var q=n.view.getState(h.getSelectionState().cells[0]);return null!=q?mxUtils.getValue(q.style,b,null):null},function(q){n.getModel().beginUpdate();try{var l=h.getSelectionState().cells;n.setCellStyles(b,q,l);null!=g&&g(q);h.fireEvent(new mxEventObject("styleChanged","keys",[b],"values",[q],"cells",l))}finally{n.getModel().endUpdate()}},d||mxConstants.NONE,
-{install:function(q){this.listener=function(){var l=n.view.getState(h.getSelectionState().cells[0]);null!=l&&q(mxUtils.getValue(l.style,b,null),!0)};n.getModel().addListener(mxEvent.CHANGE,this.listener)},destroy:function(){n.getModel().removeListener(this.listener)}},e,null,f)};
+BaseFormatPanel.prototype.createOption=function(a,b,e,f,h){var d=document.createElement("div");d.style.display="flex";d.style.alignItems="center";d.style.padding="3px 0px 3px 0px";d.style.height="18px";var g=document.createElement("input");g.setAttribute("type","checkbox");g.style.margin="1px 6px 0px 0px";g.style.verticalAlign="top";d.appendChild(g);var n=document.createElement("div");n.setAttribute("title",a);n.style.display="inline-block";n.style.whiteSpace="nowrap";n.style.textOverflow="ellipsis";
+n.style.overflow="hidden";n.style.maxWidth="160px";n.style.maxWidth="160px";n.style.userSelect="none";mxUtils.write(n,a);d.appendChild(n);var q=!1,k=b(),p=function(w,z){q||(q=!0,w?(g.setAttribute("checked","checked"),g.defaultChecked=!0,g.checked=!0):(g.removeAttribute("checked"),g.defaultChecked=!1,g.checked=!1),k!=w&&(k=w,b()!=k&&e(k,z)),q=!1)};mxEvent.addListener(d,"click",function(w){if("disabled"!=g.getAttribute("disabled")){var z=mxEvent.getSource(w);if(z==d||z==n)g.checked=!g.checked;p(g.checked,
+w)}});p(k);null!=f&&(f.install(p),this.listeners.push(f));null!=h&&h(d);return d};
+BaseFormatPanel.prototype.createCellOption=function(a,b,e,f,h,d,g,n,q){var k=this.editorUi,p=k.editor.graph;f=null!=f?"null"==f?null:f:1;h=null!=h?"null"==h?null:h:0;var w=null!=q?p.getCommonStyle(q):k.getSelectionState().style;return this.createOption(a,function(){return mxUtils.getValue(w,b,e)!=h},function(z){n&&p.stopEditing();if(null!=g)g.funct();else{p.getModel().beginUpdate();try{var C=null!=q?q:k.getSelectionState().cells;z=z?f:h;p.setCellStyles(b,z,C);null!=d&&d(C,z);k.fireEvent(new mxEventObject("styleChanged",
+"keys",[b],"values",[z],"cells",C))}finally{p.getModel().endUpdate()}}},{install:function(z){this.listener=function(){z(mxUtils.getValue(w,b,e)!=h)};p.getModel().addListener(mxEvent.CHANGE,this.listener)},destroy:function(){p.getModel().removeListener(this.listener)}})};
+BaseFormatPanel.prototype.createColorOption=function(a,b,e,f,h,d,g,n){var q=this.editorUi.editor.graph,k=document.createElement("div");k.style.padding="3px 0px 3px 0px";k.style.whiteSpace="nowrap";k.style.overflow="hidden";k.style.width="200px";k.style.height="18px";var p=document.createElement("input");p.setAttribute("type","checkbox");p.style.margin="1px 6px 0px 0px";p.style.verticalAlign="top";g||k.appendChild(p);var w=document.createElement("span");w.style.verticalAlign="top";mxUtils.write(w,
+a);k.appendChild(w);var z=b(),C=!1,F=null,D=null,H=document.createElement("input");H.setAttribute("type","color");H.style.position="relative";H.style.visibility="hidden";H.style.top="10px";H.style.width="0px";H.style.height="0px";H.style.border="none";mxClient.IS_IE||mxClient.IS_IE11||mxClient.IS_TOUCH||(F=document.createElement("img"),F.src=Editor.colorDropperImage,F.className="geColorDropper geAdaptiveAsset",F.style.position="relative",F.style.right="-20px",F.style.top="-1px",F.style.width="auto",
+F.style.height="14px",mxEvent.addListener(F,"click",function(G){var P=z;"default"==P&&(P=n);H.value=P;H.click();mxEvent.consume(G)}));var K=function(G,P,I){if(!C){var Z="null"==f?null:f;C=!0;G=/(^#?[a-zA-Z0-9]*$)/.test(G)?G:Z;Z=null!=G&&G!=mxConstants.NONE?G:Z;var S=document.createElement("div");S.style.width="21px";S.style.height="12px";S.style.margin="2px 18px 2px 3px";S.style.border="1px solid black";S.style.backgroundColor="default"==Z?n:Z;D.innerText="";D.appendChild(S);null!=F?(S.style.width=
+"21px",S.style.margin="2px 18px 2px 3px",S.appendChild(F)):(S.style.width="36px",S.style.margin="3px");null!=G&&G!=mxConstants.NONE&&1<G.length&&"string"===typeof G&&(Z="#"==G.charAt(0)?G.substring(1).toUpperCase():G,Z=ColorDialog.prototype.colorNames[Z],null!=Z&&D.setAttribute("title",Z));null==G||G==mxConstants.NONE||q.isSpecialColor(G)?(p.removeAttribute("checked"),p.defaultChecked=!1,p.checked=!1):(p.setAttribute("checked","checked"),p.defaultChecked=!0,p.checked=!0);D.style.display=p.checked||
+g?"":"none";null!=d&&d("null"==G?null:G);z=G;P||(I||g||b()!=z)&&e("null"==z?null:z,z);C=!1}};k.appendChild(H);mxEvent.addListener(H,"change",function(){K(H.value,null,!0)});D=mxUtils.button("",mxUtils.bind(this,function(G){var P=z;"default"==P&&"default"!=f&&(P=n);this.editorUi.pickColor(P,function(I){K(I,null,!0)},"default"==f?"default":null,n);mxEvent.consume(G)}));D.style.position="absolute";D.style.marginTop="-3px";D.style.left="178px";D.style.height="22px";D.className="geColorBtn";D.style.display=
+p.checked||g?"":"none";k.appendChild(D);a=null!=z&&"string"===typeof z&&"#"==z.charAt(0)?z.substring(1).toUpperCase():z;a=ColorDialog.prototype.colorNames[a];null!=a&&D.setAttribute("title",a);mxEvent.addListener(k,"click",function(G){G=mxEvent.getSource(G);if(G==p||"INPUT"!=G.nodeName)G!=p&&(p.checked=!p.checked),p.checked||null==z||z==mxConstants.NONE||f==mxConstants.NONE||(f=z),K(p.checked?f:mxConstants.NONE)});K(z,!0);null!=h&&(h.install(K),this.listeners.push(h));return k};
+BaseFormatPanel.prototype.createCellColorOption=function(a,b,e,f,h,d){var g=this.editorUi,n=g.editor.graph;return this.createColorOption(a,function(){var q=n.view.getState(g.getSelectionState().cells[0]);return null!=q?mxUtils.getValue(q.style,b,null):null},function(q){n.getModel().beginUpdate();try{var k=g.getSelectionState().cells;n.setCellStyles(b,q,k);null!=h&&h(q);g.fireEvent(new mxEventObject("styleChanged","keys",[b],"values",[q],"cells",k))}finally{n.getModel().endUpdate()}},e||mxConstants.NONE,
+{install:function(q){this.listener=function(){var k=n.view.getState(g.getSelectionState().cells[0]);null!=k&&q(mxUtils.getValue(k.style,b,null),!0)};n.getModel().addListener(mxEvent.CHANGE,this.listener)},destroy:function(){n.getModel().removeListener(this.listener)}},f,null,d)};
BaseFormatPanel.prototype.addArrow=function(a){a.className="geColorBtn";a.style.display="inline-flex";a.style.alignItems="top";a.style.boxSizing="border-box";a.style.width="64px";a.style.height="22px";a.style.borderWidth="1px";a.style.borderStyle="solid";a.style.margin="2px 2px 2px 3px";var b=document.createElement("div");b.className="geAdaptiveAsset";b.style.display="inline-block";b.style.backgroundImage="url("+Editor.thinExpandImage+")";b.style.backgroundRepeat="no-repeat";b.style.backgroundPosition=
"-2px 1px";b.style.backgroundSize="18px 18px";b.style.opacity="0.5";b.style.height="100%";b.style.width="14px";a.appendChild(b);a=a.getElementsByTagName("div")[0];null!=a&&(a.style.display="inline-block",a.style.backgroundPositionX="center",a.style.textAlign="center",a.style.height="100%",a.style.flexGrow="1",a.style.opacity="0.6");return a};
-BaseFormatPanel.prototype.addUnitInput=function(a,b,d,e,g,f,h,n,q){h=null!=h?h:0;b=document.createElement("input");b.style.position="absolute";b.style.textAlign="right";b.style.marginTop="-2px";b.style.left=228-d-e+"px";b.style.width=e+"px";b.style.height="21px";b.style.borderWidth="1px";b.style.borderStyle="solid";b.style.boxSizing="border-box";a.appendChild(b);e=this.createStepper(b,g,f,null,n,null,q);e.style.marginTop=h-2+"px";e.style.left=228-d+"px";a.appendChild(e);return b};
-BaseFormatPanel.prototype.addGenericInput=function(a,b,d,e,g,f){var h=this.editorUi.editor.graph,n=function(){f(q.value)},q=this.addUnitInput(a,b,d,e,n),l=mxUtils.bind(this,function(p,w,z){if(z||q!=document.activeElement)q.value=g()+b});mxEvent.addListener(q,"keydown",function(p){13==p.keyCode?(h.container.focus(),mxEvent.consume(p)):27==p.keyCode&&(l(null,null,!0),h.container.focus(),mxEvent.consume(p))});h.getModel().addListener(mxEvent.CHANGE,l);this.listeners.push({destroy:function(){h.getModel().removeListener(l)}});
-l();mxEvent.addListener(q,"blur",n);mxEvent.addListener(q,"change",n);return q};
-BaseFormatPanel.prototype.createRelativeOption=function(a,b,d,e,g){d=null!=d?d:52;var f=this.editorUi,h=f.editor.graph,n=this.createPanel();n.style.paddingTop="10px";n.style.paddingBottom="12px";mxUtils.write(n,a);n.style.fontWeight="bold";a=mxUtils.bind(this,function(p){if(null!=e)e(q);else{var w=parseInt(q.value);w=Math.min(100,Math.max(0,isNaN(w)?100:w));var z=h.view.getState(f.getSelectionState().cells[0]);null!=z&&w!=mxUtils.getValue(z.style,b,100)&&(100==w&&(w=null),z=f.getSelectionState().cells,
-h.setCellStyles(b,w,z),this.editorUi.fireEvent(new mxEventObject("styleChanged","keys",[b],"values",[w],"cells",z)));q.value=(null!=w?w:"100")+" %"}mxEvent.consume(p)});var q=this.addUnitInput(n,"%",16,d,a,10,mxClient.IS_MAC&&mxClient.IS_GC?-14:mxClient.IS_WIN?-16:-15,null!=e);if(null!=b){var l=mxUtils.bind(this,function(p,w,z){if(z||q!=document.activeElement)p=f.getSelectionState(),p=parseInt(mxUtils.getValue(p.style,b,100)),q.value=isNaN(p)?"":p+" %"});mxEvent.addListener(q,"keydown",function(p){13==
-p.keyCode?(h.container.focus(),mxEvent.consume(p)):27==p.keyCode&&(l(null,null,!0),h.container.focus(),mxEvent.consume(p))});h.getModel().addListener(mxEvent.CHANGE,l);this.listeners.push({destroy:function(){h.getModel().removeListener(l)}});l()}mxEvent.addListener(q,"blur",a);mxEvent.addListener(q,"change",a);null!=g&&g(q);return n};
-BaseFormatPanel.prototype.addLabel=function(a,b,d,e){e=null!=e?e:61;var g=document.createElement("div");mxUtils.write(g,b);g.style.position="absolute";g.style.left=240-d-e+"px";g.style.width=e+"px";g.style.marginTop="6px";g.style.display="flex";g.style.justifyContent="center";a.appendChild(g);return g};
-BaseFormatPanel.prototype.addKeyHandler=function(a,b){mxEvent.addListener(a,"keydown",mxUtils.bind(this,function(d){13==d.keyCode?(this.editorUi.editor.graph.container.focus(),mxEvent.consume(d)):27==d.keyCode&&(null!=b&&b(null,null,!0),this.editorUi.editor.graph.container.focus(),mxEvent.consume(d))}))};
+BaseFormatPanel.prototype.addUnitInput=function(a,b,e,f,h,d,g,n,q){g=null!=g?g:0;b=document.createElement("input");b.style.position="absolute";b.style.textAlign="right";b.style.marginTop="-2px";b.style.left=228-e-f+"px";b.style.width=f+"px";b.style.height="21px";b.style.borderWidth="1px";b.style.borderStyle="solid";b.style.boxSizing="border-box";a.appendChild(b);f=this.createStepper(b,h,d,null,n,null,q);f.style.marginTop=g-2+"px";f.style.left=228-e+"px";a.appendChild(f);return b};
+BaseFormatPanel.prototype.addGenericInput=function(a,b,e,f,h,d){var g=this.editorUi.editor.graph,n=function(){d(q.value)},q=this.addUnitInput(a,b,e,f,n),k=mxUtils.bind(this,function(p,w,z){if(z||q!=document.activeElement)q.value=h()+b});mxEvent.addListener(q,"keydown",function(p){13==p.keyCode?(g.container.focus(),mxEvent.consume(p)):27==p.keyCode&&(k(null,null,!0),g.container.focus(),mxEvent.consume(p))});g.getModel().addListener(mxEvent.CHANGE,k);this.listeners.push({destroy:function(){g.getModel().removeListener(k)}});
+k();mxEvent.addListener(q,"blur",n);mxEvent.addListener(q,"change",n);return q};
+BaseFormatPanel.prototype.createRelativeOption=function(a,b,e,f,h){e=null!=e?e:52;var d=this.editorUi,g=d.editor.graph,n=this.createPanel();n.style.paddingTop="10px";n.style.paddingBottom="12px";mxUtils.write(n,a);n.style.fontWeight="bold";a=mxUtils.bind(this,function(p){if(null!=f)f(q);else{var w=parseInt(q.value);w=Math.min(100,Math.max(0,isNaN(w)?100:w));var z=g.view.getState(d.getSelectionState().cells[0]);null!=z&&w!=mxUtils.getValue(z.style,b,100)&&(100==w&&(w=null),z=d.getSelectionState().cells,
+g.setCellStyles(b,w,z),this.editorUi.fireEvent(new mxEventObject("styleChanged","keys",[b],"values",[w],"cells",z)));q.value=(null!=w?w:"100")+" %"}mxEvent.consume(p)});var q=this.addUnitInput(n,"%",16,e,a,10,mxClient.IS_MAC&&mxClient.IS_GC?-14:mxClient.IS_WIN?-16:-15,null!=f);if(null!=b){var k=mxUtils.bind(this,function(p,w,z){if(z||q!=document.activeElement)p=d.getSelectionState(),p=parseInt(mxUtils.getValue(p.style,b,100)),q.value=isNaN(p)?"":p+" %"});mxEvent.addListener(q,"keydown",function(p){13==
+p.keyCode?(g.container.focus(),mxEvent.consume(p)):27==p.keyCode&&(k(null,null,!0),g.container.focus(),mxEvent.consume(p))});g.getModel().addListener(mxEvent.CHANGE,k);this.listeners.push({destroy:function(){g.getModel().removeListener(k)}});k()}mxEvent.addListener(q,"blur",a);mxEvent.addListener(q,"change",a);null!=h&&h(q);return n};
+BaseFormatPanel.prototype.addLabel=function(a,b,e,f){f=null!=f?f:61;var h=document.createElement("div");mxUtils.write(h,b);h.style.position="absolute";h.style.left=240-e-f+"px";h.style.width=f+"px";h.style.marginTop="6px";h.style.display="flex";h.style.justifyContent="center";a.appendChild(h);return h};
+BaseFormatPanel.prototype.addKeyHandler=function(a,b){mxEvent.addListener(a,"keydown",mxUtils.bind(this,function(e){13==e.keyCode?(this.editorUi.editor.graph.container.focus(),mxEvent.consume(e)):27==e.keyCode&&(null!=b&&b(null,null,!0),this.editorUi.editor.graph.container.focus(),mxEvent.consume(e))}))};
BaseFormatPanel.prototype.styleButtons=function(a){for(var b=0;b<a.length;b++)mxUtils.setPrefixedStyle(a[b].style,"borderRadius","3px"),mxUtils.setOpacity(a[b],100),a[b].style.border="1px solid #a0a0a0",a[b].style.padding="4px",a[b].style.paddingTop="3px",a[b].style.paddingRight="1px",a[b].style.margin="1px",a[b].style.marginRight="2px",a[b].style.width="24px",a[b].style.height="20px",a[b].className+=" geColorBtn"};
-BaseFormatPanel.prototype.destroy=function(){if(null!=this.listeners){for(var a=0;a<this.listeners.length;a++)this.listeners[a].destroy();this.listeners=null}};ArrangePanel=function(a,b,d){BaseFormatPanel.call(this,a,b,d);this.init()};mxUtils.extend(ArrangePanel,BaseFormatPanel);
+BaseFormatPanel.prototype.destroy=function(){if(null!=this.listeners){for(var a=0;a<this.listeners.length;a++)this.listeners[a].destroy();this.listeners=null}};ArrangePanel=function(a,b,e){BaseFormatPanel.call(this,a,b,e);this.init()};mxUtils.extend(ArrangePanel,BaseFormatPanel);
ArrangePanel.prototype.init=function(){var a=this.editorUi.getSelectionState();0<a.cells.length&&(this.container.appendChild(this.addLayerOps(this.createPanel())),this.addGeometry(this.container),this.addEdgeGeometry(this.container),a.containsLabel&&0!=a.edges.length||this.container.appendChild(this.addAngle(this.createPanel())),a.containsLabel||this.container.appendChild(this.addFlip(this.createPanel())),this.container.appendChild(this.addAlign(this.createPanel())),1<a.vertices.length&&!a.cell&&
!a.row&&this.container.appendChild(this.addDistribute(this.createPanel())),this.container.appendChild(this.addTable(this.createPanel())));this.container.appendChild(this.addGroupOps(this.createPanel()));a.containsLabel&&(1==a.cells.length&&(a=document.createElement("div"),a.style.width="100%",a.style.marginTop="0px",a.style.fontWeight="bold",a.style.padding="10px 0 0 14px",mxUtils.write(a,mxResources.get("style")),this.container.appendChild(a)),new StyleFormatPanel(this.format,this.editorUi,this.container))};
-ArrangePanel.prototype.addTable=function(a){var b=this.editorUi,d=b.editor.graph,e=b.getSelectionState();a.style.paddingTop="6px";a.style.paddingBottom="10px";var g=document.createElement("div");g.style.marginTop="0px";g.style.marginBottom="6px";g.style.fontWeight="bold";mxUtils.write(g,mxResources.get("table"));a.appendChild(g);g=document.createElement("div");g.style.position="relative";g.style.paddingLeft="0px";g.style.borderWidth="0px";g.style.width="220px";g.className="geToolbarContainer";var f=
-e.vertices[0];1<d.getSelectionCount()&&(d.isTableCell(f)&&(f=d.model.getParent(f)),d.isTableRow(f)&&(f=d.model.getParent(f)));var h=e.table||e.row||e.cell,n=d.isStack(f)||d.isStackChild(f),q=h;n&&(h="0"==(d.isStack(f)?e.style:d.getCellStyle(d.model.getParent(f))).horizontalStack,q=!h);var l=[];q&&(l=l.concat([b.toolbar.addButton("geSprite-insertcolumnbefore",mxResources.get("insertColumnBefore"),mxUtils.bind(this,function(){try{n?d.insertLane(f,!0):d.insertTableColumn(f,!0)}catch(p){b.handleError(p)}}),
-g),b.toolbar.addButton("geSprite-insertcolumnafter",mxResources.get("insertColumnAfter"),mxUtils.bind(this,function(){try{n?d.insertLane(f,!1):d.insertTableColumn(f,!1)}catch(p){b.handleError(p)}}),g),b.toolbar.addButton("geSprite-deletecolumn",mxResources.get("deleteColumn"),mxUtils.bind(this,function(){try{n?d.deleteLane(f):d.deleteTableColumn(f)}catch(p){b.handleError(p)}}),g)]));h&&(l=l.concat([b.toolbar.addButton("geSprite-insertrowbefore",mxResources.get("insertRowBefore"),mxUtils.bind(this,
-function(){try{n?d.insertLane(f,!0):d.insertTableRow(f,!0)}catch(p){b.handleError(p)}}),g),b.toolbar.addButton("geSprite-insertrowafter",mxResources.get("insertRowAfter"),mxUtils.bind(this,function(){try{n?d.insertLane(f,!1):d.insertTableRow(f,!1)}catch(p){b.handleError(p)}}),g),b.toolbar.addButton("geSprite-deleterow",mxResources.get("deleteRow"),mxUtils.bind(this,function(){try{n?d.deleteLane(f):d.deleteTableRow(f)}catch(p){b.handleError(p)}}),g)]));if(0<l.length){this.styleButtons(l);a.appendChild(g);
-3<l.length&&(l[2].style.marginRight="10px");q=0;if(null!=e.mergeCell)q+=this.addActions(a,["mergeCells"]);else if(1<e.style.colspan||1<e.style.rowspan)q+=this.addActions(a,["unmergeCells"]);0<q&&(g.style.paddingBottom="2px")}else a.style.display="none";return a};ArrangePanel.prototype.addLayerOps=function(a){this.addActions(a,["toFront","toBack"]);this.addActions(a,["bringForward","sendBackward"]);return a};
-ArrangePanel.prototype.addGroupOps=function(a){var b=this.editorUi,d=b.editor.graph;b=b.getSelectionState();a.style.paddingTop="8px";a.style.paddingBottom="6px";var e=this.addActions(a,["group","ungroup"])+this.addActions(a,["removeFromGroup"]);b.cell||b.row||(e+=this.addActions(a,["copySize","pasteSize","swap"]));var g=document.createElement("select");g.style.width="210px";g.style.textAlign="center";g.style.marginBottom="2px";for(var f=[{label:mxResources.get("reset"),action:"reset"},{label:mxResources.get("waypoints"),
-action:"clearWaypoints"},{label:mxResources.get("connectionPoints"),action:"clearAnchors"}],h=0;h<f.length;h++){var n=this.editorUi.actions.get(f[h].action);if(null==n||n.enabled){var q=document.createElement("option");q.setAttribute("value",f[h].action);q.setAttribute("title",f[h].label+(null!=n&&null!=n.shortcut?" ("+n.shortcut+")":""));mxUtils.write(q,f[h].label);g.appendChild(q)}}1<g.children.length&&(g.value="reset",a.appendChild(g),mxUtils.br(a),e++,mxEvent.addListener(g,"change",mxUtils.bind(this,
-function(l){l=this.editorUi.actions.get(g.value);g.value="reset";null!=l&&l.funct()})));e+=this.addActions(a,["lockUnlock"]);1==b.vertices.length&&0==b.edges.length&&0<d.getOpposites(d.getEdges(b.vertices[0]),b.vertices[0]).length&&(e+=this.addActions(a,["explore"]));0==e&&(a.style.display="none");return a};
-ArrangePanel.prototype.addAlign=function(a){var b=this.editorUi.getSelectionState(),d=this.editorUi.editor.graph;a.style.paddingTop="6px";a.style.paddingBottom="8px";a.appendChild(this.createTitle(mxResources.get("align")));var e=document.createElement("div");e.style.position="relative";e.style.whiteSpace="nowrap";e.style.paddingLeft="0px";e.style.paddingBottom="2px";e.style.borderWidth="0px";e.style.width="220px";e.className="geToolbarContainer";if(1<b.vertices.length){b=this.editorUi.toolbar.addButton("geSprite-alignleft",
-mxResources.get("left"),function(){d.alignCells(mxConstants.ALIGN_LEFT)},e);var g=this.editorUi.toolbar.addButton("geSprite-aligncenter",mxResources.get("center"),function(){d.alignCells(mxConstants.ALIGN_CENTER)},e),f=this.editorUi.toolbar.addButton("geSprite-alignright",mxResources.get("right"),function(){d.alignCells(mxConstants.ALIGN_RIGHT)},e),h=this.editorUi.toolbar.addButton("geSprite-aligntop",mxResources.get("top"),function(){d.alignCells(mxConstants.ALIGN_TOP)},e),n=this.editorUi.toolbar.addButton("geSprite-alignmiddle",
-mxResources.get("middle"),function(){d.alignCells(mxConstants.ALIGN_MIDDLE)},e),q=this.editorUi.toolbar.addButton("geSprite-alignbottom",mxResources.get("bottom"),function(){d.alignCells(mxConstants.ALIGN_BOTTOM)},e);this.styleButtons([b,g,f,h,n,q]);f.style.marginRight="10px"}a.appendChild(e);this.addActions(a,["snapToGrid"]);return a};
-ArrangePanel.prototype.addFlip=function(a){var b=this.editorUi.editor.graph;a.style.paddingTop="6px";a.style.paddingBottom="10px";var d=this.editorUi.getSelectionState(),e=document.createElement("div");e.style.marginTop="2px";e.style.marginBottom="8px";e.style.fontWeight="bold";mxUtils.write(e,mxResources.get("flip"));a.appendChild(e);e=mxUtils.button(mxResources.get("horizontal"),function(g){b.flipCells(d.cells,!0)});e.setAttribute("title",mxResources.get("horizontal"));e.style.width="104px";e.style.marginRight=
-"2px";a.appendChild(e);e=mxUtils.button(mxResources.get("vertical"),function(g){b.flipCells(d.cells,!1)});e.setAttribute("title",mxResources.get("vertical"));e.style.width="104px";a.appendChild(e);return a};
-ArrangePanel.prototype.addDistribute=function(a){var b=this.editorUi.editor.graph;a.style.paddingTop="6px";a.style.paddingBottom="8px";a.appendChild(this.createTitle(mxResources.get("distribute")));var d=mxUtils.button(mxResources.get("horizontal"),function(f){b.distributeCells(!0,null,e.checked)});d.setAttribute("title",mxResources.get("horizontal"));d.style.width="104px";d.style.marginRight="2px";a.appendChild(d);d=mxUtils.button(mxResources.get("vertical"),function(f){b.distributeCells(!1,null,
-e.checked)});d.setAttribute("title",mxResources.get("vertical"));d.style.width="104px";a.appendChild(d);mxUtils.br(a);d=document.createElement("div");d.style.margin="6px 0 0 0";d.style.display="flex";d.style.justifyContent="center";d.style.alignItems="center";var e=document.createElement("input");e.setAttribute("type","checkbox");e.setAttribute("id","spacingCheckbox");e.style.margin="0 6px 0 0";d.appendChild(e);var g=document.createElement("label");g.style.verticalAlign="top";g.setAttribute("for",
-"spacingCheckbox");g.style.userSelect="none";mxUtils.write(g,mxResources.get("spacing"));d.appendChild(g);a.appendChild(d);return a};
-ArrangePanel.prototype.addAngle=function(a){var b=this.editorUi,d=b.editor.graph,e=b.getSelectionState();a.style.paddingBottom="12px";var g=document.createElement("div");g.style.position="absolute";g.style.width="70px";g.style.marginTop="0px";g.style.fontWeight="bold";var f=null,h=null,n=null;!e.rotatable||e.table||e.row||e.cell?a.style.paddingTop="8px":(mxUtils.write(g,mxResources.get("angle")),a.appendChild(g),f=this.addUnitInput(a,"°",16,52,function(){h.apply(this,arguments)}),mxUtils.br(a),a.style.paddingTop=
-"10px");e.containsLabel||(g=mxResources.get("reverse"),0<e.vertices.length&&0<e.edges.length?g=mxResources.get("turn")+" / "+g:0<e.vertices.length&&(g=mxResources.get("turn")),n=mxUtils.button(g,function(l){b.actions.get("turn").funct(l)}),n.setAttribute("title",g+" ("+this.editorUi.actions.get("turn").shortcut+")"),n.style.width="210px",a.appendChild(n),null!=f&&(n.style.marginTop="8px"));if(null!=f){var q=mxUtils.bind(this,function(l,p,w){if(w||document.activeElement!=f)e=b.getSelectionState(),
-l=parseFloat(mxUtils.getValue(e.style,mxConstants.STYLE_ROTATION,0)),f.value=isNaN(l)?"":l+"°"});h=this.installInputHandler(f,mxConstants.STYLE_ROTATION,0,0,360,"°",null,!0);this.addKeyHandler(f,q);d.getModel().addListener(mxEvent.CHANGE,q);this.listeners.push({destroy:function(){d.getModel().removeListener(q)}});q()}return a};
+ArrangePanel.prototype.addTable=function(a){var b=this.editorUi,e=b.editor.graph,f=b.getSelectionState();a.style.paddingTop="6px";a.style.paddingBottom="10px";var h=document.createElement("div");h.style.marginTop="0px";h.style.marginBottom="6px";h.style.fontWeight="bold";mxUtils.write(h,mxResources.get("table"));a.appendChild(h);h=document.createElement("div");h.style.position="relative";h.style.paddingLeft="0px";h.style.borderWidth="0px";h.style.width="220px";h.className="geToolbarContainer";var d=
+f.vertices[0];1<e.getSelectionCount()&&(e.isTableCell(d)&&(d=e.model.getParent(d)),e.isTableRow(d)&&(d=e.model.getParent(d)));var g=f.table||f.row||f.cell,n=e.isStack(d)||e.isStackChild(d),q=g;n&&(g="0"==(e.isStack(d)?f.style:e.getCellStyle(e.model.getParent(d))).horizontalStack,q=!g);var k=[];q&&(k=k.concat([b.toolbar.addButton("geSprite-insertcolumnbefore",mxResources.get("insertColumnBefore"),mxUtils.bind(this,function(){try{n?e.insertLane(d,!0):e.insertTableColumn(d,!0)}catch(p){b.handleError(p)}}),
+h),b.toolbar.addButton("geSprite-insertcolumnafter",mxResources.get("insertColumnAfter"),mxUtils.bind(this,function(){try{n?e.insertLane(d,!1):e.insertTableColumn(d,!1)}catch(p){b.handleError(p)}}),h),b.toolbar.addButton("geSprite-deletecolumn",mxResources.get("deleteColumn"),mxUtils.bind(this,function(){try{n?e.deleteLane(d):e.deleteTableColumn(d)}catch(p){b.handleError(p)}}),h)]));g&&(k=k.concat([b.toolbar.addButton("geSprite-insertrowbefore",mxResources.get("insertRowBefore"),mxUtils.bind(this,
+function(){try{n?e.insertLane(d,!0):e.insertTableRow(d,!0)}catch(p){b.handleError(p)}}),h),b.toolbar.addButton("geSprite-insertrowafter",mxResources.get("insertRowAfter"),mxUtils.bind(this,function(){try{n?e.insertLane(d,!1):e.insertTableRow(d,!1)}catch(p){b.handleError(p)}}),h),b.toolbar.addButton("geSprite-deleterow",mxResources.get("deleteRow"),mxUtils.bind(this,function(){try{n?e.deleteLane(d):e.deleteTableRow(d)}catch(p){b.handleError(p)}}),h)]));if(0<k.length){this.styleButtons(k);a.appendChild(h);
+3<k.length&&(k[2].style.marginRight="10px");q=0;if(null!=f.mergeCell)q+=this.addActions(a,["mergeCells"]);else if(1<f.style.colspan||1<f.style.rowspan)q+=this.addActions(a,["unmergeCells"]);0<q&&(h.style.paddingBottom="2px")}else a.style.display="none";return a};ArrangePanel.prototype.addLayerOps=function(a){this.addActions(a,["toFront","toBack"]);this.addActions(a,["bringForward","sendBackward"]);return a};
+ArrangePanel.prototype.addGroupOps=function(a){var b=this.editorUi,e=b.editor.graph;b=b.getSelectionState();a.style.paddingTop="8px";a.style.paddingBottom="6px";var f=this.addActions(a,["group","ungroup"])+this.addActions(a,["removeFromGroup"]);b.cell||b.row||(f+=this.addActions(a,["copySize","pasteSize","swap"]));var h=document.createElement("select");h.style.width="210px";h.style.textAlign="center";h.style.marginBottom="2px";for(var d=[{label:mxResources.get("reset"),action:"reset"},{label:mxResources.get("waypoints"),
+action:"clearWaypoints"},{label:mxResources.get("connectionPoints"),action:"clearAnchors"}],g=0;g<d.length;g++){var n=this.editorUi.actions.get(d[g].action);if(null==n||n.enabled){var q=document.createElement("option");q.setAttribute("value",d[g].action);q.setAttribute("title",d[g].label+(null!=n&&null!=n.shortcut?" ("+n.shortcut+")":""));mxUtils.write(q,d[g].label);h.appendChild(q)}}1<h.children.length&&(h.value="reset",a.appendChild(h),mxUtils.br(a),f++,mxEvent.addListener(h,"change",mxUtils.bind(this,
+function(k){k=this.editorUi.actions.get(h.value);h.value="reset";null!=k&&k.funct()})));f+=this.addActions(a,["lockUnlock"]);1==b.vertices.length&&0==b.edges.length&&0<e.getOpposites(e.getEdges(b.vertices[0]),b.vertices[0]).length&&(f+=this.addActions(a,["explore"]));0==f&&(a.style.display="none");return a};
+ArrangePanel.prototype.addAlign=function(a){var b=this.editorUi.getSelectionState(),e=this.editorUi.editor.graph;a.style.paddingTop="6px";a.style.paddingBottom="8px";a.appendChild(this.createTitle(mxResources.get("align")));var f=document.createElement("div");f.style.position="relative";f.style.whiteSpace="nowrap";f.style.paddingLeft="0px";f.style.paddingBottom="2px";f.style.borderWidth="0px";f.style.width="220px";f.className="geToolbarContainer";if(1<b.vertices.length){b=this.editorUi.toolbar.addButton("geSprite-alignleft",
+mxResources.get("left"),function(){e.alignCells(mxConstants.ALIGN_LEFT)},f);var h=this.editorUi.toolbar.addButton("geSprite-aligncenter",mxResources.get("center"),function(){e.alignCells(mxConstants.ALIGN_CENTER)},f),d=this.editorUi.toolbar.addButton("geSprite-alignright",mxResources.get("right"),function(){e.alignCells(mxConstants.ALIGN_RIGHT)},f),g=this.editorUi.toolbar.addButton("geSprite-aligntop",mxResources.get("top"),function(){e.alignCells(mxConstants.ALIGN_TOP)},f),n=this.editorUi.toolbar.addButton("geSprite-alignmiddle",
+mxResources.get("middle"),function(){e.alignCells(mxConstants.ALIGN_MIDDLE)},f),q=this.editorUi.toolbar.addButton("geSprite-alignbottom",mxResources.get("bottom"),function(){e.alignCells(mxConstants.ALIGN_BOTTOM)},f);this.styleButtons([b,h,d,g,n,q]);d.style.marginRight="10px"}a.appendChild(f);this.addActions(a,["snapToGrid"]);return a};
+ArrangePanel.prototype.addFlip=function(a){var b=this.editorUi.editor.graph;a.style.paddingTop="6px";a.style.paddingBottom="10px";var e=this.editorUi.getSelectionState(),f=document.createElement("div");f.style.marginTop="2px";f.style.marginBottom="8px";f.style.fontWeight="bold";mxUtils.write(f,mxResources.get("flip"));a.appendChild(f);f=mxUtils.button(mxResources.get("horizontal"),function(h){b.flipCells(e.cells,!0)});f.setAttribute("title",mxResources.get("horizontal"));f.style.width="104px";f.style.marginRight=
+"2px";a.appendChild(f);f=mxUtils.button(mxResources.get("vertical"),function(h){b.flipCells(e.cells,!1)});f.setAttribute("title",mxResources.get("vertical"));f.style.width="104px";a.appendChild(f);return a};
+ArrangePanel.prototype.addDistribute=function(a){var b=this.editorUi.editor.graph;a.style.paddingTop="6px";a.style.paddingBottom="8px";a.appendChild(this.createTitle(mxResources.get("distribute")));var e=mxUtils.button(mxResources.get("horizontal"),function(d){b.distributeCells(!0,null,f.checked)});e.setAttribute("title",mxResources.get("horizontal"));e.style.width="104px";e.style.marginRight="2px";a.appendChild(e);e=mxUtils.button(mxResources.get("vertical"),function(d){b.distributeCells(!1,null,
+f.checked)});e.setAttribute("title",mxResources.get("vertical"));e.style.width="104px";a.appendChild(e);mxUtils.br(a);e=document.createElement("div");e.style.margin="6px 0 0 0";e.style.display="flex";e.style.justifyContent="center";e.style.alignItems="center";var f=document.createElement("input");f.setAttribute("type","checkbox");f.setAttribute("id","spacingCheckbox");f.style.margin="0 6px 0 0";e.appendChild(f);var h=document.createElement("label");h.style.verticalAlign="top";h.setAttribute("for",
+"spacingCheckbox");h.style.userSelect="none";mxUtils.write(h,mxResources.get("spacing"));e.appendChild(h);a.appendChild(e);return a};
+ArrangePanel.prototype.addAngle=function(a){var b=this.editorUi,e=b.editor.graph,f=b.getSelectionState();a.style.paddingBottom="12px";var h=document.createElement("div");h.style.position="absolute";h.style.width="70px";h.style.marginTop="0px";h.style.fontWeight="bold";var d=null,g=null,n=null;!f.rotatable||f.table||f.row||f.cell?a.style.paddingTop="8px":(mxUtils.write(h,mxResources.get("angle")),a.appendChild(h),d=this.addUnitInput(a,"°",16,52,function(){g.apply(this,arguments)}),mxUtils.br(a),a.style.paddingTop=
+"10px");f.containsLabel||(h=mxResources.get("reverse"),0<f.vertices.length&&0<f.edges.length?h=mxResources.get("turn")+" / "+h:0<f.vertices.length&&(h=mxResources.get("turn")),n=mxUtils.button(h,function(k){b.actions.get("turn").funct(k)}),n.setAttribute("title",h+" ("+this.editorUi.actions.get("turn").shortcut+")"),n.style.width="210px",a.appendChild(n),null!=d&&(n.style.marginTop="8px"));if(null!=d){var q=mxUtils.bind(this,function(k,p,w){if(w||document.activeElement!=d)f=b.getSelectionState(),
+k=parseFloat(mxUtils.getValue(f.style,mxConstants.STYLE_ROTATION,0)),d.value=isNaN(k)?"":k+"°"});g=this.installInputHandler(d,mxConstants.STYLE_ROTATION,0,0,360,"°",null,!0);this.addKeyHandler(d,q);e.getModel().addListener(mxEvent.CHANGE,q);this.listeners.push({destroy:function(){e.getModel().removeListener(q)}});q()}return a};
BaseFormatPanel.prototype.getUnit=function(a){var b="";switch(this.editorUi.editor.graph.view.unit){case mxConstants.POINTS:b="pt";break;case mxConstants.INCHES:b='"';break;case mxConstants.MILLIMETERS:b="mm";break;case mxConstants.METERS:b="m"}return(a?a:"")+b};BaseFormatPanel.prototype.inUnit=function(a){return this.editorUi.editor.graph.view.formatUnitText(a)};
BaseFormatPanel.prototype.fromUnit=function(a){switch(this.editorUi.editor.graph.view.unit){case mxConstants.POINTS:return a;case mxConstants.INCHES:return a*mxConstants.PIXELS_PER_INCH;case mxConstants.MILLIMETERS:return a*mxConstants.PIXELS_PER_MM;case mxConstants.METERS:return a*mxConstants.PIXELS_PER_MM*1E3}};BaseFormatPanel.prototype.isFloatUnit=function(){return this.editorUi.editor.graph.view.unit!=mxConstants.POINTS};
BaseFormatPanel.prototype.getUnitStep=function(){switch(this.editorUi.editor.graph.view.unit){case mxConstants.POINTS:return 1;case mxConstants.INCHES:return.1;case mxConstants.MILLIMETERS:return.5;case mxConstants.METERS:return.001}};
-ArrangePanel.prototype.addGeometry=function(a){var b=this,d=this.editorUi,e=d.editor.graph,g=e.getModel(),f=d.getSelectionState(),h=this.createPanel();h.style.paddingBottom="8px";var n=document.createElement("div");n.style.position="absolute";n.style.width="50px";n.style.marginTop="0px";n.style.fontWeight="bold";mxUtils.write(n,mxResources.get("size"));h.appendChild(n);var q=this.addUnitInput(h,this.getUnit(),87,52,function(){C.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),
-l=this.addUnitInput(h,this.getUnit(),16,52,function(){F.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),p=document.createElement("div");p.className="geSprite geSprite-fit";p.setAttribute("title",mxResources.get("autosize")+" ("+this.editorUi.actions.get("autosize").shortcut+")");p.style.position="relative";p.style.cursor="pointer";p.style.marginTop="-3px";p.style.border="0px";p.style.left="42px";mxUtils.setOpacity(p,50);mxEvent.addListener(p,"mouseenter",function(){mxUtils.setOpacity(p,
-100)});mxEvent.addListener(p,"mouseleave",function(){mxUtils.setOpacity(p,50)});mxEvent.addListener(p,"click",function(){d.actions.get("autosize").funct()});h.appendChild(p);f.row?(q.style.visibility="hidden",q.nextSibling.style.visibility="hidden"):this.addLabel(h,mxResources.get("width"),87,64);this.addLabel(h,mxResources.get("height"),16,64);mxUtils.br(h);n=document.createElement("div");n.style.paddingTop="8px";n.style.paddingRight="20px";n.style.whiteSpace="nowrap";n.style.textAlign="right";var w=
-this.createCellOption(mxResources.get("constrainProportions"),mxConstants.STYLE_ASPECT,null,"fixed","null");w.style.width="210px";n.appendChild(w);f.cell||f.row?p.style.visibility="hidden":h.appendChild(n);var z=w.getElementsByTagName("input")[0];this.addKeyHandler(q,S);this.addKeyHandler(l,S);var C=this.addGeometryHandler(q,function(M,U,ba){U=Math.max(1,b.fromUnit(U));if(e.isTableCell(ba))return e.setTableColumnWidth(ba,U-M.width,!0),!0;0<M.width&&(z.checked&&(M.height=Math.round(M.height*U*100/
-M.width)/100),M.width=U)});var F=this.addGeometryHandler(l,function(M,U,ba){U=Math.max(1,b.fromUnit(U));e.isTableCell(ba)&&(ba=g.getParent(ba));if(e.isTableRow(ba))return e.setTableRowHeight(ba,U-M.height),!0;0<M.height&&(z.checked&&(M.width=Math.round(M.width*U*100/M.height)/100),M.height=U)});(f.resizable||f.row||f.cell)&&a.appendChild(h);var D=this.createPanel();D.style.paddingBottom="30px";n=document.createElement("div");n.style.position="absolute";n.style.width="70px";n.style.marginTop="0px";
-n.style.fontWeight="bold";mxUtils.write(n,mxResources.get("position"));D.appendChild(n);var G=this.addUnitInput(D,this.getUnit(),87,52,function(){X.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),K=this.addUnitInput(D,this.getUnit(),16,52,function(){Y.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());mxUtils.br(D);w=!0;var I=null,O=null;if(f.movable){if(0==f.edges.length&&1==f.vertices.length){var H=e.getCellGeometry(f.vertices[0]);if(null!=H&&H.relative){mxUtils.br(D);
-n=document.createElement("div");n.style.position="absolute";n.style.width="70px";n.style.marginTop="0px";mxUtils.write(n,mxResources.get("relative"));D.appendChild(n);I=this.addGenericInput(D," %",87,52,function(){return Math.round(1E3*H.x)/10},function(M){M=parseFloat(M);if(!isNaN(M)){g.beginUpdate();try{H=H.clone(),H.x=parseFloat(M)/100,g.setGeometry(f.vertices[0],H)}finally{g.endUpdate()}}});if(g.isEdge(g.getParent(f.vertices[0]))){w=!1;var Z=null;O=this.addUnitInput(D,this.getUnit(),16,52,function(){Z.apply(this,
-arguments)});Z=this.addGeometryHandler(O,function(M,U){M.y=b.fromUnit(U)})}else O=this.addGenericInput(D," %",16,52,function(){return Math.round(1E3*H.y)/10},function(M){M=parseFloat(M);if(!isNaN(M)){g.beginUpdate();try{H=H.clone(),H.y=parseFloat(M)/100,g.setGeometry(f.vertices[0],H)}finally{g.endUpdate()}}});mxUtils.br(D)}}a.appendChild(D)}this.addLabel(D,mxResources.get(w?"left":"line"),87,64).style.marginTop="8px";this.addLabel(D,mxResources.get(w?"top":"orthogonal"),16,64).style.marginTop="8px";
-var S=mxUtils.bind(this,function(M,U,ba){f=d.getSelectionState();if(f.containsLabel||f.vertices.length!=e.getSelectionCount()||null==f.width||null==f.height)h.style.display="none";else{h.style.display="";if(ba||document.activeElement!=q)q.value=this.inUnit(f.width)+" "+this.getUnit();if(ba||document.activeElement!=l)l.value=this.inUnit(f.height)+" "+this.getUnit()}if(f.vertices.length==e.getSelectionCount()&&0<f.vertices.length&&null!=f.x&&null!=f.y){M=e.getCellGeometry(f.vertices[0]);D.style.display=
-"";if(ba||document.activeElement!=G)G.value=this.inUnit(f.x)+" "+this.getUnit();if(ba||document.activeElement!=K)K.value=this.inUnit(f.y)+" "+this.getUnit();null!=M&&M.relative&&(null==I||!ba&&document.activeElement==I||(I.value=Math.round(1E3*M.x)/10+" %"),null==O||!ba&&document.activeElement==O||(g.isEdge(g.getParent(f.vertices[0]))?O.value=this.inUnit(M.y)+" "+this.getUnit():O.value=Math.round(1E3*M.y)/10+" %"))}else D.style.display="none"});this.listeners.push({destroy:function(){g.removeListener(S)}});
-g.addListener(mxEvent.CHANGE,S);this.addKeyHandler(G,S);this.addKeyHandler(K,S);S();var X=this.addGeometryHandler(G,function(M,U){U=b.fromUnit(U);M.relative?(M.offset=null!=M.offset?M.offset:new mxPoint,M.offset.x=U):M.x=U});var Y=this.addGeometryHandler(K,function(M,U){U=b.fromUnit(U);M.relative?(M.offset=null!=M.offset?M.offset:new mxPoint,M.offset.y=U):M.y=U});f.movable&&(0==f.edges.length&&1==f.vertices.length&&g.isEdge(g.getParent(f.vertices[0]))&&(H=e.getCellGeometry(f.vertices[0]),null!=H&&
-H.relative&&(n=mxUtils.button(mxResources.get("center"),mxUtils.bind(this,function(M){g.beginUpdate();try{H=H.clone(),H.x=0,H.y=0,H.offset=new mxPoint,g.setGeometry(f.vertices[0],H)}finally{g.endUpdate()}})),n.setAttribute("title",mxResources.get("center")),n.style.width="134px",n.style.left="89px",n.style.position="absolute",mxUtils.br(D),mxUtils.br(D),D.appendChild(n))),a.appendChild(D))};
-ArrangePanel.prototype.addGeometryHandler=function(a,b){function d(n){if(""!=a.value){var q=parseFloat(a.value);if(isNaN(q))a.value=f+" "+h.getUnit();else if(q!=f){g.getModel().beginUpdate();try{for(var l=e.getSelectionState().cells,p=0;p<l.length;p++)if(g.getModel().isVertex(l[p])){var w=g.getCellGeometry(l[p]);if(null!=w&&(w=w.clone(),!b(w,q,l[p]))){var z=g.view.getState(l[p]);null!=z&&g.isRecursiveVertexResize(z)&&g.resizeChildCells(l[p],w);g.getModel().setGeometry(l[p],w);g.constrainChildCells(l[p])}}}finally{g.getModel().endUpdate()}f=
-q;a.value=q+" "+h.getUnit()}}mxEvent.consume(n)}var e=this.editorUi,g=e.editor.graph,f=null,h=this;mxEvent.addListener(a,"blur",d);mxEvent.addListener(a,"change",d);mxEvent.addListener(a,"focus",function(){f=a.value});return d};
-ArrangePanel.prototype.addEdgeGeometryHandler=function(a,b){function d(h){if(""!=a.value){var n=parseFloat(a.value);if(isNaN(n))a.value=f+" pt";else if(n!=f){g.getModel().beginUpdate();try{for(var q=e.getSelectionState().cells,l=0;l<q.length;l++)if(g.getModel().isEdge(q[l])){var p=g.getCellGeometry(q[l]);null!=p&&(p=p.clone(),b(p,n),g.getModel().setGeometry(q[l],p))}}finally{g.getModel().endUpdate()}f=n;a.value=n+" pt"}}mxEvent.consume(h)}var e=this.editorUi,g=e.editor.graph,f=null;mxEvent.addListener(a,
-"blur",d);mxEvent.addListener(a,"change",d);mxEvent.addListener(a,"focus",function(){f=a.value});return d};
-ArrangePanel.prototype.addEdgeGeometry=function(a){var b=this,d=this.editorUi,e=d.editor.graph,g=d.getSelectionState(),f=this.createPanel(),h=document.createElement("div");h.style.position="absolute";h.style.width="70px";h.style.marginTop="0px";h.style.fontWeight="bold";mxUtils.write(h,mxResources.get("width"));f.appendChild(h);var n=this.addUnitInput(f,"pt",12,44,function(){q.apply(this,arguments)});mxUtils.br(f);this.addKeyHandler(n,D);var q=mxUtils.bind(this,function(H){var Z=parseInt(n.value);
-Z=Math.min(999,Math.max(1,isNaN(Z)?1:Z));if(Z!=mxUtils.getValue(g.style,"width",mxCellRenderer.defaultShapes.flexArrow.prototype.defaultWidth)){var S=d.getSelectionState().cells;e.setCellStyles("width",Z,S);d.fireEvent(new mxEventObject("styleChanged","keys",["width"],"values",[Z],"cells",S))}n.value=Z+" pt";mxEvent.consume(H)});mxEvent.addListener(n,"blur",q);mxEvent.addListener(n,"change",q);a.appendChild(f);var l=this.createPanel();l.style.paddingBottom="30px";h=document.createElement("div");h.style.position=
-"absolute";h.style.width="70px";h.style.marginTop="0px";mxUtils.write(h,mxResources.get("linestart"));l.appendChild(h);var p=this.addUnitInput(l,this.getUnit(),87,52,function(){G.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),w=this.addUnitInput(l,this.getUnit(),16,52,function(){K.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());mxUtils.br(l);this.addLabel(l,mxResources.get("left"),87,64);this.addLabel(l,mxResources.get("top"),16,64);a.appendChild(l);
-this.addKeyHandler(p,D);this.addKeyHandler(w,D);var z=this.createPanel();z.style.paddingBottom="30px";h=document.createElement("div");h.style.position="absolute";h.style.width="70px";h.style.marginTop="0px";mxUtils.write(h,mxResources.get("lineend"));z.appendChild(h);var C=this.addUnitInput(z,this.getUnit(),87,52,function(){I.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),F=this.addUnitInput(z,this.getUnit(),16,52,function(){O.apply(this,arguments)},this.getUnitStep(),null,
-null,this.isFloatUnit());mxUtils.br(z);this.addLabel(z,mxResources.get("left"),87,64);this.addLabel(z,mxResources.get("top"),16,64);a.appendChild(z);this.addKeyHandler(C,D);this.addKeyHandler(F,D);var D=mxUtils.bind(this,function(H,Z,S){g=d.getSelectionState();H=g.cells[0];if("link"==g.style.shape||"flexArrow"==g.style.shape){if(f.style.display="",S||document.activeElement!=n)S=mxUtils.getValue(g.style,"width",mxCellRenderer.defaultShapes.flexArrow.prototype.defaultWidth),n.value=S+" pt"}else f.style.display=
-"none";1==g.cells.length&&e.model.isEdge(H)?(S=e.model.getGeometry(H),null!=S&&null!=S.sourcePoint&&null==e.model.getTerminal(H,!0)?(p.value=this.inUnit(S.sourcePoint.x)+" "+this.getUnit(),w.value=this.inUnit(S.sourcePoint.y)+" "+this.getUnit()):l.style.display="none",null!=S&&null!=S.targetPoint&&null==e.model.getTerminal(H,!1)?(C.value=this.inUnit(S.targetPoint.x)+" "+this.getUnit(),F.value=this.inUnit(S.targetPoint.y)+" "+this.getUnit()):z.style.display="none"):(l.style.display="none",z.style.display=
-"none")});var G=this.addEdgeGeometryHandler(p,function(H,Z){H.sourcePoint.x=b.fromUnit(Z)});var K=this.addEdgeGeometryHandler(w,function(H,Z){H.sourcePoint.y=b.fromUnit(Z)});var I=this.addEdgeGeometryHandler(C,function(H,Z){H.targetPoint.x=b.fromUnit(Z)});var O=this.addEdgeGeometryHandler(F,function(H,Z){H.targetPoint.y=b.fromUnit(Z)});e.getModel().addListener(mxEvent.CHANGE,D);this.listeners.push({destroy:function(){e.getModel().removeListener(D)}});D()};
-TextFormatPanel=function(a,b,d){BaseFormatPanel.call(this,a,b,d);this.init()};mxUtils.extend(TextFormatPanel,BaseFormatPanel);TextFormatPanel.prototype.init=function(){this.container.style.borderBottom="none";this.addFont(this.container);this.container.appendChild(this.addFontOps(this.createPanel()))};TextFormatPanel.prototype.addFontOps=function(a){a.style.paddingTop="8px";a.style.paddingBottom="6px";0==this.addActions(a,["removeFormat"])&&(a.style.display="none");return a};
-TextFormatPanel.prototype.addFont=function(a){function b(fa,Ga){fa.style.backgroundImage=Ga?Editor.isDarkMode()?"linear-gradient(rgb(0 161 241) 0px, rgb(0, 97, 146) 100%)":"linear-gradient(#c5ecff 0px,#87d4fb 100%)":""}var d=this.editorUi,e=d.editor.graph,g=d.getSelectionState(),f=this.createTitle(mxResources.get("font"));f.style.paddingLeft="14px";f.style.paddingTop="10px";f.style.paddingBottom="6px";a.appendChild(f);f=this.createPanel();f.style.paddingTop="2px";f.style.paddingBottom="2px";f.style.position=
-"relative";f.style.marginLeft="-2px";f.style.borderWidth="0px";f.className="geToolbarContainer";if(e.cellEditor.isContentEditing()){var h=f.cloneNode(),n=this.editorUi.toolbar.addMenu(mxResources.get("style"),mxResources.get("style"),!0,"formatBlock",h,null,!0);this.addArrow(n);n.style.width="211px";n.style.alignItems="center";n.style.justifyContent="center";n.style.whiteSpace="nowrap";n.style.overflow="hidden";n.style.margin="0px";n.style.position="relative";n=n.getElementsByTagName("div")[0];n.style.position=
-"absolute";n.style.right="2px";a.appendChild(h)}a.appendChild(f);h=this.createPanel();h.style.marginTop="8px";h.style.borderWidth="1px";h.style.borderStyle="solid";h.style.paddingTop="6px";h.style.paddingBottom="2px";var q=this.editorUi.toolbar.addMenu("Helvetica",mxResources.get("fontFamily"),!0,"fontFamily",f,null,!0);this.addArrow(q);q.style.width="211px";q.style.alignItems="center";q.style.justifyContent="center";q.style.whiteSpace="nowrap";q.style.overflow="hidden";q.style.margin="0px";q.style.position=
-"relative";n=q.getElementsByTagName("div")[0];n.style.position="absolute";n.style.right="2px";n=f.cloneNode(!1);n.style.marginLeft="-3px";var l=this.editorUi.toolbar.addItems(["bold","italic","underline"],n,!0);l[0].setAttribute("title",mxResources.get("bold")+" ("+this.editorUi.actions.get("bold").shortcut+")");l[1].setAttribute("title",mxResources.get("italic")+" ("+this.editorUi.actions.get("italic").shortcut+")");l[2].setAttribute("title",mxResources.get("underline")+" ("+this.editorUi.actions.get("underline").shortcut+
-")");var p=this.editorUi.toolbar.addItems(["vertical"],n,!0)[0];a.appendChild(n);this.styleButtons(l);this.styleButtons([p]);var w=f.cloneNode(!1);w.style.marginLeft="-3px";w.style.paddingBottom="0px";var z=function(fa){return function(){return fa()}},C=this.editorUi.toolbar.addButton("geSprite-left",mxResources.get("left"),e.cellEditor.isContentEditing()?function(fa){e.cellEditor.alignText(mxConstants.ALIGN_LEFT,fa);d.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ALIGN],"values",
-[mxConstants.ALIGN_LEFT],"cells",g.cells))}:z(this.editorUi.menus.createStyleChangeFunction([mxConstants.STYLE_ALIGN],[mxConstants.ALIGN_LEFT])),w),F=this.editorUi.toolbar.addButton("geSprite-center",mxResources.get("center"),e.cellEditor.isContentEditing()?function(fa){e.cellEditor.alignText(mxConstants.ALIGN_CENTER,fa);d.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ALIGN],"values",[mxConstants.ALIGN_CENTER],"cells",g.cells))}:z(this.editorUi.menus.createStyleChangeFunction([mxConstants.STYLE_ALIGN],
-[mxConstants.ALIGN_CENTER])),w),D=this.editorUi.toolbar.addButton("geSprite-right",mxResources.get("right"),e.cellEditor.isContentEditing()?function(fa){e.cellEditor.alignText(mxConstants.ALIGN_RIGHT,fa);d.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ALIGN],"values",[mxConstants.ALIGN_RIGHT],"cells",g.cells))}:z(this.editorUi.menus.createStyleChangeFunction([mxConstants.STYLE_ALIGN],[mxConstants.ALIGN_RIGHT])),w);this.styleButtons([C,F,D]);if(e.cellEditor.isContentEditing()){var G=
-this.editorUi.toolbar.addButton("geSprite-removeformat",mxResources.get("strikethrough"),function(){document.execCommand("strikeThrough",!1,null)},n);this.styleButtons([G]);G.firstChild.style.background="url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGRlZnM+PHBhdGggaWQ9ImEiIGQ9Ik0wIDBoMjR2MjRIMFYweiIvPjwvZGVmcz48Y2xpcFBhdGggaWQ9ImIiPjx1c2UgeGxpbms6aHJlZj0iI2EiIG92ZXJmbG93PSJ2aXNpYmxlIi8+PC9jbGlwUGF0aD48cGF0aCBjbGlwLXBhdGg9InVybCgjYikiIGZpbGw9IiMwMTAxMDEiIGQ9Ik03LjI0IDguNzVjLS4yNi0uNDgtLjM5LTEuMDMtLjM5LTEuNjcgMC0uNjEuMTMtMS4xNi40LTEuNjcuMjYtLjUuNjMtLjkzIDEuMTEtMS4yOS40OC0uMzUgMS4wNS0uNjMgMS43LS44My42Ni0uMTkgMS4zOS0uMjkgMi4xO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jA3LjM4LTEuNzFjMC0uNi0uMS0xLjE0LS4zMS0xLjYxLS4wNS0uMTEtLjExLS4yMy0uMTctLjMzSDIxeiIvPjwvc3ZnPg==)";
-G.firstChild.style.backgroundPosition="2px 2px";G.firstChild.style.backgroundSize="18px 18px";this.styleButtons([G])}var K=this.editorUi.toolbar.addButton("geSprite-top",mxResources.get("top"),z(this.editorUi.menus.createStyleChangeFunction([mxConstants.STYLE_VERTICAL_ALIGN],[mxConstants.ALIGN_TOP])),w),I=this.editorUi.toolbar.addButton("geSprite-middle",mxResources.get("middle"),z(this.editorUi.menus.createStyleChangeFunction([mxConstants.STYLE_VERTICAL_ALIGN],[mxConstants.ALIGN_MIDDLE])),w),O=this.editorUi.toolbar.addButton("geSprite-bottom",
-mxResources.get("bottom"),z(this.editorUi.menus.createStyleChangeFunction([mxConstants.STYLE_VERTICAL_ALIGN],[mxConstants.ALIGN_BOTTOM])),w);this.styleButtons([K,I,O]);a.appendChild(w);var H,Z,S,X,Y;if(e.cellEditor.isContentEditing()){K.style.display="none";I.style.display="none";O.style.display="none";p.style.display="none";var M=this.editorUi.toolbar.addButton("geSprite-justifyfull",mxResources.get("block"),function(){1==M.style.opacity&&document.execCommand("justifyfull",!1,null)},w);M.style.marginRight=
-"9px";M.style.opacity=1;this.styleButtons([M,H=this.editorUi.toolbar.addButton("geSprite-subscript",mxResources.get("subscript")+" ("+Editor.ctrlKey+"+,)",function(){document.execCommand("subscript",!1,null)},w),Z=this.editorUi.toolbar.addButton("geSprite-superscript",mxResources.get("superscript")+" ("+Editor.ctrlKey+"+.)",function(){document.execCommand("superscript",!1,null)},w)]);H.style.marginLeft="10px";z=w.cloneNode(!1);z.style.paddingTop="4px";w=[this.editorUi.toolbar.addButton("geSprite-orderedlist",
-mxResources.get("numberedList"),function(){document.execCommand("insertorderedlist",!1,null)},z),this.editorUi.toolbar.addButton("geSprite-unorderedlist",mxResources.get("bulletedList"),function(){document.execCommand("insertunorderedlist",!1,null)},z),this.editorUi.toolbar.addButton("geSprite-outdent",mxResources.get("decreaseIndent"),function(){document.execCommand("outdent",!1,null)},z),this.editorUi.toolbar.addButton("geSprite-indent",mxResources.get("increaseIndent"),function(){document.execCommand("indent",
-!1,null)},z),this.editorUi.toolbar.addButton("geSprite-removeformat",mxResources.get("removeFormat"),function(){document.execCommand("removeformat",!1,null)},z),this.editorUi.toolbar.addButton("geSprite-code",mxResources.get("html"),function(){e.cellEditor.toggleViewMode()},z)];this.styleButtons(w);w[w.length-2].style.marginLeft="10px";a.appendChild(z)}else l[2].style.marginRight="12px",D.style.marginRight="12px";w=f.cloneNode(!1);w.removeAttribute("class");w.style.marginLeft="0px";w.style.paddingTop=
-"8px";w.style.paddingBottom="4px";w.style.fontWeight="normal";mxUtils.write(w,mxResources.get("position"));var U=document.createElement("select");U.style.position="absolute";U.style.left="126px";U.style.width="98px";U.style.borderWidth="1px";U.style.borderStyle="solid";U.style.marginTop="-3px";G="topLeft top topRight left center right bottomLeft bottom bottomRight".split(" ");var ba={topLeft:[mxConstants.ALIGN_LEFT,mxConstants.ALIGN_TOP,mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_BOTTOM],top:[mxConstants.ALIGN_CENTER,
+ArrangePanel.prototype.addGeometry=function(a){var b=this,e=this.editorUi,f=e.editor.graph,h=f.getModel(),d=e.getSelectionState(),g=this.createPanel();g.style.paddingBottom="8px";var n=document.createElement("div");n.style.position="absolute";n.style.width="50px";n.style.marginTop="0px";n.style.fontWeight="bold";mxUtils.write(n,mxResources.get("size"));g.appendChild(n);var q=this.addUnitInput(g,this.getUnit(),87,52,function(){C.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),
+k=this.addUnitInput(g,this.getUnit(),16,52,function(){F.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),p=document.createElement("div");p.className="geSprite geSprite-fit";p.setAttribute("title",mxResources.get("autosize")+" ("+this.editorUi.actions.get("autosize").shortcut+")");p.style.position="relative";p.style.cursor="pointer";p.style.marginTop="-3px";p.style.border="0px";p.style.left="42px";mxUtils.setOpacity(p,50);mxEvent.addListener(p,"mouseenter",function(){mxUtils.setOpacity(p,
+100)});mxEvent.addListener(p,"mouseleave",function(){mxUtils.setOpacity(p,50)});mxEvent.addListener(p,"click",function(){e.actions.get("autosize").funct()});g.appendChild(p);d.row?(q.style.visibility="hidden",q.nextSibling.style.visibility="hidden"):this.addLabel(g,mxResources.get("width"),87,64);this.addLabel(g,mxResources.get("height"),16,64);mxUtils.br(g);n=document.createElement("div");n.style.paddingTop="8px";n.style.paddingRight="20px";n.style.whiteSpace="nowrap";n.style.textAlign="right";var w=
+this.createCellOption(mxResources.get("constrainProportions"),mxConstants.STYLE_ASPECT,null,"fixed","null");w.style.width="210px";n.appendChild(w);d.cell||d.row?p.style.visibility="hidden":g.appendChild(n);var z=w.getElementsByTagName("input")[0];this.addKeyHandler(q,S);this.addKeyHandler(k,S);var C=this.addGeometryHandler(q,function(L,U,ba){U=Math.max(1,b.fromUnit(U));if(f.isTableCell(ba))return f.setTableColumnWidth(ba,U-L.width,!0),!0;0<L.width&&(z.checked&&(L.height=Math.round(L.height*U*100/
+L.width)/100),L.width=U)});var F=this.addGeometryHandler(k,function(L,U,ba){U=Math.max(1,b.fromUnit(U));f.isTableCell(ba)&&(ba=h.getParent(ba));if(f.isTableRow(ba))return f.setTableRowHeight(ba,U-L.height),!0;0<L.height&&(z.checked&&(L.width=Math.round(L.width*U*100/L.height)/100),L.height=U)});(d.resizable||d.row||d.cell)&&a.appendChild(g);var D=this.createPanel();D.style.paddingBottom="30px";n=document.createElement("div");n.style.position="absolute";n.style.width="70px";n.style.marginTop="0px";
+n.style.fontWeight="bold";mxUtils.write(n,mxResources.get("position"));D.appendChild(n);var H=this.addUnitInput(D,this.getUnit(),87,52,function(){Y.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),K=this.addUnitInput(D,this.getUnit(),16,52,function(){V.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());mxUtils.br(D);w=!0;var G=null,P=null;if(d.movable){if(0==d.edges.length&&1==d.vertices.length){var I=f.getCellGeometry(d.vertices[0]);if(null!=I&&I.relative){mxUtils.br(D);
+n=document.createElement("div");n.style.position="absolute";n.style.width="70px";n.style.marginTop="0px";mxUtils.write(n,mxResources.get("relative"));D.appendChild(n);G=this.addGenericInput(D," %",87,52,function(){return Math.round(1E3*I.x)/10},function(L){L=parseFloat(L);if(!isNaN(L)){h.beginUpdate();try{I=I.clone(),I.x=parseFloat(L)/100,h.setGeometry(d.vertices[0],I)}finally{h.endUpdate()}}});if(h.isEdge(h.getParent(d.vertices[0]))){w=!1;var Z=null;P=this.addUnitInput(D,this.getUnit(),16,52,function(){Z.apply(this,
+arguments)});Z=this.addGeometryHandler(P,function(L,U){L.y=b.fromUnit(U)})}else P=this.addGenericInput(D," %",16,52,function(){return Math.round(1E3*I.y)/10},function(L){L=parseFloat(L);if(!isNaN(L)){h.beginUpdate();try{I=I.clone(),I.y=parseFloat(L)/100,h.setGeometry(d.vertices[0],I)}finally{h.endUpdate()}}});mxUtils.br(D)}}a.appendChild(D)}this.addLabel(D,mxResources.get(w?"left":"line"),87,64).style.marginTop="8px";this.addLabel(D,mxResources.get(w?"top":"orthogonal"),16,64).style.marginTop="8px";
+var S=mxUtils.bind(this,function(L,U,ba){d=e.getSelectionState();if(d.containsLabel||d.vertices.length!=f.getSelectionCount()||null==d.width||null==d.height)g.style.display="none";else{g.style.display="";if(ba||document.activeElement!=q)q.value=this.inUnit(d.width)+" "+this.getUnit();if(ba||document.activeElement!=k)k.value=this.inUnit(d.height)+" "+this.getUnit()}if(d.vertices.length==f.getSelectionCount()&&0<d.vertices.length&&null!=d.x&&null!=d.y){L=f.getCellGeometry(d.vertices[0]);D.style.display=
+"";if(ba||document.activeElement!=H)H.value=this.inUnit(d.x)+" "+this.getUnit();if(ba||document.activeElement!=K)K.value=this.inUnit(d.y)+" "+this.getUnit();null!=L&&L.relative&&(null==G||!ba&&document.activeElement==G||(G.value=Math.round(1E3*L.x)/10+" %"),null==P||!ba&&document.activeElement==P||(h.isEdge(h.getParent(d.vertices[0]))?P.value=this.inUnit(L.y)+" "+this.getUnit():P.value=Math.round(1E3*L.y)/10+" %"))}else D.style.display="none"});this.listeners.push({destroy:function(){h.removeListener(S)}});
+h.addListener(mxEvent.CHANGE,S);this.addKeyHandler(H,S);this.addKeyHandler(K,S);S();var Y=this.addGeometryHandler(H,function(L,U){U=b.fromUnit(U);L.relative?(L.offset=null!=L.offset?L.offset:new mxPoint,L.offset.x=U):L.x=U});var V=this.addGeometryHandler(K,function(L,U){U=b.fromUnit(U);L.relative?(L.offset=null!=L.offset?L.offset:new mxPoint,L.offset.y=U):L.y=U});d.movable&&(0==d.edges.length&&1==d.vertices.length&&h.isEdge(h.getParent(d.vertices[0]))&&(I=f.getCellGeometry(d.vertices[0]),null!=I&&
+I.relative&&(n=mxUtils.button(mxResources.get("center"),mxUtils.bind(this,function(L){h.beginUpdate();try{I=I.clone(),I.x=0,I.y=0,I.offset=new mxPoint,h.setGeometry(d.vertices[0],I)}finally{h.endUpdate()}})),n.setAttribute("title",mxResources.get("center")),n.style.width="134px",n.style.left="89px",n.style.position="absolute",mxUtils.br(D),mxUtils.br(D),D.appendChild(n))),a.appendChild(D))};
+ArrangePanel.prototype.addGeometryHandler=function(a,b){function e(n){if(""!=a.value){var q=parseFloat(a.value);if(isNaN(q))a.value=d+" "+g.getUnit();else if(q!=d){h.getModel().beginUpdate();try{for(var k=f.getSelectionState().cells,p=0;p<k.length;p++)if(h.getModel().isVertex(k[p])){var w=h.getCellGeometry(k[p]);if(null!=w&&(w=w.clone(),!b(w,q,k[p]))){var z=h.view.getState(k[p]);null!=z&&h.isRecursiveVertexResize(z)&&h.resizeChildCells(k[p],w);h.getModel().setGeometry(k[p],w);h.constrainChildCells(k[p])}}}finally{h.getModel().endUpdate()}d=
+q;a.value=q+" "+g.getUnit()}}mxEvent.consume(n)}var f=this.editorUi,h=f.editor.graph,d=null,g=this;mxEvent.addListener(a,"blur",e);mxEvent.addListener(a,"change",e);mxEvent.addListener(a,"focus",function(){d=a.value});return e};
+ArrangePanel.prototype.addEdgeGeometryHandler=function(a,b){function e(g){if(""!=a.value){var n=parseFloat(a.value);if(isNaN(n))a.value=d+" pt";else if(n!=d){h.getModel().beginUpdate();try{for(var q=f.getSelectionState().cells,k=0;k<q.length;k++)if(h.getModel().isEdge(q[k])){var p=h.getCellGeometry(q[k]);null!=p&&(p=p.clone(),b(p,n),h.getModel().setGeometry(q[k],p))}}finally{h.getModel().endUpdate()}d=n;a.value=n+" pt"}}mxEvent.consume(g)}var f=this.editorUi,h=f.editor.graph,d=null;mxEvent.addListener(a,
+"blur",e);mxEvent.addListener(a,"change",e);mxEvent.addListener(a,"focus",function(){d=a.value});return e};
+ArrangePanel.prototype.addEdgeGeometry=function(a){var b=this,e=this.editorUi,f=e.editor.graph,h=e.getSelectionState(),d=this.createPanel(),g=document.createElement("div");g.style.position="absolute";g.style.width="70px";g.style.marginTop="0px";g.style.fontWeight="bold";mxUtils.write(g,mxResources.get("width"));d.appendChild(g);var n=this.addUnitInput(d,"pt",12,44,function(){q.apply(this,arguments)});mxUtils.br(d);this.addKeyHandler(n,D);var q=mxUtils.bind(this,function(I){var Z=parseInt(n.value);
+Z=Math.min(999,Math.max(1,isNaN(Z)?1:Z));if(Z!=mxUtils.getValue(h.style,"width",mxCellRenderer.defaultShapes.flexArrow.prototype.defaultWidth)){var S=e.getSelectionState().cells;f.setCellStyles("width",Z,S);e.fireEvent(new mxEventObject("styleChanged","keys",["width"],"values",[Z],"cells",S))}n.value=Z+" pt";mxEvent.consume(I)});mxEvent.addListener(n,"blur",q);mxEvent.addListener(n,"change",q);a.appendChild(d);var k=this.createPanel();k.style.paddingBottom="30px";g=document.createElement("div");g.style.position=
+"absolute";g.style.width="70px";g.style.marginTop="0px";mxUtils.write(g,mxResources.get("linestart"));k.appendChild(g);var p=this.addUnitInput(k,this.getUnit(),87,52,function(){H.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),w=this.addUnitInput(k,this.getUnit(),16,52,function(){K.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());mxUtils.br(k);this.addLabel(k,mxResources.get("left"),87,64);this.addLabel(k,mxResources.get("top"),16,64);a.appendChild(k);
+this.addKeyHandler(p,D);this.addKeyHandler(w,D);var z=this.createPanel();z.style.paddingBottom="30px";g=document.createElement("div");g.style.position="absolute";g.style.width="70px";g.style.marginTop="0px";mxUtils.write(g,mxResources.get("lineend"));z.appendChild(g);var C=this.addUnitInput(z,this.getUnit(),87,52,function(){G.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),F=this.addUnitInput(z,this.getUnit(),16,52,function(){P.apply(this,arguments)},this.getUnitStep(),null,
+null,this.isFloatUnit());mxUtils.br(z);this.addLabel(z,mxResources.get("left"),87,64);this.addLabel(z,mxResources.get("top"),16,64);a.appendChild(z);this.addKeyHandler(C,D);this.addKeyHandler(F,D);var D=mxUtils.bind(this,function(I,Z,S){h=e.getSelectionState();I=h.cells[0];if("link"==h.style.shape||"flexArrow"==h.style.shape){if(d.style.display="",S||document.activeElement!=n)S=mxUtils.getValue(h.style,"width",mxCellRenderer.defaultShapes.flexArrow.prototype.defaultWidth),n.value=S+" pt"}else d.style.display=
+"none";1==h.cells.length&&f.model.isEdge(I)?(S=f.model.getGeometry(I),null!=S&&null!=S.sourcePoint&&null==f.model.getTerminal(I,!0)?(p.value=this.inUnit(S.sourcePoint.x)+" "+this.getUnit(),w.value=this.inUnit(S.sourcePoint.y)+" "+this.getUnit()):k.style.display="none",null!=S&&null!=S.targetPoint&&null==f.model.getTerminal(I,!1)?(C.value=this.inUnit(S.targetPoint.x)+" "+this.getUnit(),F.value=this.inUnit(S.targetPoint.y)+" "+this.getUnit()):z.style.display="none"):(k.style.display="none",z.style.display=
+"none")});var H=this.addEdgeGeometryHandler(p,function(I,Z){I.sourcePoint.x=b.fromUnit(Z)});var K=this.addEdgeGeometryHandler(w,function(I,Z){I.sourcePoint.y=b.fromUnit(Z)});var G=this.addEdgeGeometryHandler(C,function(I,Z){I.targetPoint.x=b.fromUnit(Z)});var P=this.addEdgeGeometryHandler(F,function(I,Z){I.targetPoint.y=b.fromUnit(Z)});f.getModel().addListener(mxEvent.CHANGE,D);this.listeners.push({destroy:function(){f.getModel().removeListener(D)}});D()};
+TextFormatPanel=function(a,b,e){BaseFormatPanel.call(this,a,b,e);this.init()};mxUtils.extend(TextFormatPanel,BaseFormatPanel);TextFormatPanel.prototype.init=function(){this.container.style.borderBottom="none";this.addFont(this.container);this.container.appendChild(this.addFontOps(this.createPanel()))};TextFormatPanel.prototype.addFontOps=function(a){a.style.paddingTop="8px";a.style.paddingBottom="6px";0==this.addActions(a,["removeFormat"])&&(a.style.display="none");return a};
+TextFormatPanel.prototype.addFont=function(a){function b(da){da=null!=da?da.fontSize:null;return null!=da&&"px"==da.substring(da.length-2)?parseFloat(da):mxConstants.DEFAULT_FONTSIZE}function e(da,wa){if(""!=da.textContent){da.style.lineHeight="";var u=mxUtils.getCurrentStyle(da);parseFloat(u.fontSize)*wa/100!=parseFloat(u.lineHeight)?da.style.lineHeight=wa+"%":""==da.getAttribute("style")&&da.removeAttribute("style")}}function f(da,wa){da.style.backgroundImage=wa?Editor.isDarkMode()?"linear-gradient(rgb(0 161 241) 0px, rgb(0, 97, 146) 100%)":
+"linear-gradient(#c5ecff 0px,#87d4fb 100%)":""}var h=this.editorUi,d=h.editor.graph,g=h.getSelectionState(),n=this.createTitle(mxResources.get("font"));n.style.paddingLeft="14px";n.style.paddingTop="10px";n.style.paddingBottom="6px";a.appendChild(n);n=this.createPanel();n.style.paddingTop="2px";n.style.paddingBottom="2px";n.style.position="relative";n.style.marginLeft="-2px";n.style.borderWidth="0px";n.className="geToolbarContainer";if(d.cellEditor.isContentEditing()){var q=n.cloneNode(),k=this.editorUi.toolbar.addMenu(mxResources.get("style"),
+mxResources.get("style"),!0,"formatBlock",q,null,!0);this.addArrow(k);k.style.width="211px";k.style.alignItems="center";k.style.justifyContent="center";k.style.whiteSpace="nowrap";k.style.overflow="hidden";k.style.margin="0px";k.style.position="relative";k=k.getElementsByTagName("div")[0];k.style.position="absolute";k.style.right="2px";a.appendChild(q)}a.appendChild(n);q=this.createPanel();q.style.marginTop="8px";q.style.borderWidth="1px";q.style.borderStyle="solid";q.style.paddingTop="6px";q.style.paddingBottom=
+"2px";var p=this.editorUi.toolbar.addMenu("Helvetica",mxResources.get("fontFamily"),!0,"fontFamily",n,null,!0);this.addArrow(p);p.style.width="211px";p.style.alignItems="center";p.style.justifyContent="center";p.style.whiteSpace="nowrap";p.style.overflow="hidden";p.style.margin="0px";p.style.position="relative";k=p.getElementsByTagName("div")[0];k.style.position="absolute";k.style.right="2px";k=n.cloneNode(!1);k.style.marginLeft="-3px";var w=this.editorUi.toolbar.addItems(["bold","italic","underline"],
+k,!0);w[0].setAttribute("title",mxResources.get("bold")+" ("+this.editorUi.actions.get("bold").shortcut+")");w[1].setAttribute("title",mxResources.get("italic")+" ("+this.editorUi.actions.get("italic").shortcut+")");w[2].setAttribute("title",mxResources.get("underline")+" ("+this.editorUi.actions.get("underline").shortcut+")");var z=this.editorUi.toolbar.addItems(["vertical"],k,!0)[0];a.appendChild(k);this.styleButtons(w);this.styleButtons([z]);var C=n.cloneNode(!1);C.style.marginLeft="-3px";C.style.paddingBottom=
+"0px";var F=function(da){return function(){return da()}},D=this.editorUi.toolbar.addButton("geSprite-left",mxResources.get("left"),d.cellEditor.isContentEditing()?function(da){d.cellEditor.alignText(mxConstants.ALIGN_LEFT,da);h.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ALIGN],"values",[mxConstants.ALIGN_LEFT],"cells",g.cells))}:F(this.editorUi.menus.createStyleChangeFunction([mxConstants.STYLE_ALIGN],[mxConstants.ALIGN_LEFT])),C),H=this.editorUi.toolbar.addButton("geSprite-center",
+mxResources.get("center"),d.cellEditor.isContentEditing()?function(da){d.cellEditor.alignText(mxConstants.ALIGN_CENTER,da);h.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ALIGN],"values",[mxConstants.ALIGN_CENTER],"cells",g.cells))}:F(this.editorUi.menus.createStyleChangeFunction([mxConstants.STYLE_ALIGN],[mxConstants.ALIGN_CENTER])),C),K=this.editorUi.toolbar.addButton("geSprite-right",mxResources.get("right"),d.cellEditor.isContentEditing()?function(da){d.cellEditor.alignText(mxConstants.ALIGN_RIGHT,
+da);h.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ALIGN],"values",[mxConstants.ALIGN_RIGHT],"cells",g.cells))}:F(this.editorUi.menus.createStyleChangeFunction([mxConstants.STYLE_ALIGN],[mxConstants.ALIGN_RIGHT])),C);this.styleButtons([D,H,K]);if(d.cellEditor.isContentEditing()){var G=this.editorUi.toolbar.addButton("geSprite-removeformat",mxResources.get("strikethrough"),function(){document.execCommand("strikeThrough",!1,null)},k);this.styleButtons([G]);G.firstChild.style.background=
+"url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGRlZnM+PHBhdGggaWQ9ImEiIGQ9Ik0wIDBoMjR2MjRIMFYweiIvPjwvZGVmcz48Y2xpcFBhdGggaWQ9ImIiPjx1c2UgeGxpbms6aHJlZj0iI2EiIG92ZXJmbG93PSJ2aXNpYmxlIi8+PC9jbGlwUGF0aD48cGF0aCBjbGlwLXBhdGg9InVybCgjYikiIGZpbGw9IiMwMTAxMDEiIGQ9Ik03LjI0IDguNzVjLS4yNi0uNDgtLjM5LTEuMDMtLjM5LTEuNjcgMC0uNjEuMTMtMS4xNi40LTEuNjcuMjYtLjUuNjMtLjkzIDEuMTEtMS4yOS40OC0uMzUgMS4wNS0uNjMgMS43LS44My42Ni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cgMS4wNy0xLjI3cy4zOC0xLjA3LjM4LTEuNzFjMC0uNi0uMS0xLjE0LS4zMS0xLjYxLS4wNS0uMTEtLjExLS4yMy0uMTctLjMzSDIxeiIvPjwvc3ZnPg==)";
+G.firstChild.style.backgroundPosition="2px 2px";G.firstChild.style.backgroundSize="18px 18px";this.styleButtons([G])}var P=this.editorUi.toolbar.addButton("geSprite-top",mxResources.get("top"),F(this.editorUi.menus.createStyleChangeFunction([mxConstants.STYLE_VERTICAL_ALIGN],[mxConstants.ALIGN_TOP])),C),I=this.editorUi.toolbar.addButton("geSprite-middle",mxResources.get("middle"),F(this.editorUi.menus.createStyleChangeFunction([mxConstants.STYLE_VERTICAL_ALIGN],[mxConstants.ALIGN_MIDDLE])),C),Z=this.editorUi.toolbar.addButton("geSprite-bottom",
+mxResources.get("bottom"),F(this.editorUi.menus.createStyleChangeFunction([mxConstants.STYLE_VERTICAL_ALIGN],[mxConstants.ALIGN_BOTTOM])),C);this.styleButtons([P,I,Z]);a.appendChild(C);var S,Y,V,L,U;if(d.cellEditor.isContentEditing()){P.style.display="none";I.style.display="none";Z.style.display="none";z.style.display="none";var ba=this.editorUi.toolbar.addButton("geSprite-justifyfull",mxResources.get("block"),function(){1==ba.style.opacity&&document.execCommand("justifyfull",!1,null)},C);ba.style.marginRight=
+"9px";ba.style.opacity=1;this.styleButtons([ba,S=this.editorUi.toolbar.addButton("geSprite-subscript",mxResources.get("subscript")+" ("+Editor.ctrlKey+"+,)",function(){document.execCommand("subscript",!1,null)},C),Y=this.editorUi.toolbar.addButton("geSprite-superscript",mxResources.get("superscript")+" ("+Editor.ctrlKey+"+.)",function(){document.execCommand("superscript",!1,null)},C)]);S.style.marginLeft="10px";F=C.cloneNode(!1);F.style.paddingTop="4px";C=[this.editorUi.toolbar.addButton("geSprite-orderedlist",
+mxResources.get("numberedList"),function(){document.execCommand("insertorderedlist",!1,null)},F),this.editorUi.toolbar.addButton("geSprite-unorderedlist",mxResources.get("bulletedList"),function(){document.execCommand("insertunorderedlist",!1,null)},F),this.editorUi.toolbar.addButton("geSprite-outdent",mxResources.get("decreaseIndent"),function(){document.execCommand("outdent",!1,null)},F),this.editorUi.toolbar.addButton("geSprite-indent",mxResources.get("increaseIndent"),function(){document.execCommand("indent",
+!1,null)},F),this.editorUi.toolbar.addButton("geSprite-removeformat",mxResources.get("removeFormat"),function(){document.execCommand("removeformat",!1,null)},F),this.editorUi.toolbar.addButton("geSprite-code",mxResources.get("html"),function(){d.cellEditor.toggleViewMode()},F)];this.styleButtons(C);C[C.length-2].style.marginLeft="10px";a.appendChild(F)}else w[2].style.marginRight="12px",K.style.marginRight="12px";C=n.cloneNode(!1);C.removeAttribute("class");C.style.marginLeft="0px";C.style.paddingTop=
+"8px";C.style.paddingBottom="4px";C.style.fontWeight="normal";mxUtils.write(C,mxResources.get("position"));var ja=document.createElement("select");ja.style.position="absolute";ja.style.left="126px";ja.style.width="98px";ja.style.borderWidth="1px";ja.style.borderStyle="solid";ja.style.marginTop="-3px";G="topLeft top topRight left center right bottomLeft bottom bottomRight".split(" ");var sa={topLeft:[mxConstants.ALIGN_LEFT,mxConstants.ALIGN_TOP,mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_BOTTOM],top:[mxConstants.ALIGN_CENTER,
mxConstants.ALIGN_TOP,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_BOTTOM],topRight:[mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_TOP,mxConstants.ALIGN_LEFT,mxConstants.ALIGN_BOTTOM],left:[mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_MIDDLE],center:[mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE],right:[mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_MIDDLE,mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE],bottomLeft:[mxConstants.ALIGN_LEFT,
-mxConstants.ALIGN_BOTTOM,mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_TOP],bottom:[mxConstants.ALIGN_CENTER,mxConstants.ALIGN_BOTTOM,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_TOP],bottomRight:[mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_BOTTOM,mxConstants.ALIGN_LEFT,mxConstants.ALIGN_TOP]};for(z=0;z<G.length;z++){var ja=document.createElement("option");ja.setAttribute("value",G[z]);mxUtils.write(ja,mxResources.get(G[z]));U.appendChild(ja)}w.appendChild(U);G=f.cloneNode(!1);G.removeAttribute("class");
-G.style.marginLeft="0px";G.style.paddingTop="4px";G.style.paddingBottom="4px";G.style.fontWeight="normal";mxUtils.write(G,mxResources.get("writingDirection"));var pa=document.createElement("select");pa.style.position="absolute";pa.style.borderWidth="1px";pa.style.borderStyle="solid";pa.style.left="126px";pa.style.width="98px";pa.style.marginTop="-3px";ja=["automatic","leftToRight","rightToLeft"];g.html&&(ja.push("vertical-leftToRight"),ja.push("vertical-rightToLeft"));var P={automatic:null,leftToRight:mxConstants.TEXT_DIRECTION_LTR,
-rightToLeft:mxConstants.TEXT_DIRECTION_RTL,"vertical-leftToRight":mxConstants.TEXT_DIRECTION_VERTICAL_LR,"vertical-rightToLeft":mxConstants.TEXT_DIRECTION_VERTICAL_RL};for(z=0;z<ja.length;z++){var W=document.createElement("option");W.setAttribute("value",ja[z]);"vertical-"==ja[z].substring(0,9)?mxUtils.write(W,mxResources.get("vertical")+" ("+mxResources.get(ja[z].substring(9))+")"):mxUtils.write(W,mxResources.get(ja[z]));pa.appendChild(W)}G.appendChild(pa);e.isEditing()||(a.appendChild(w),mxEvent.addListener(U,
-"change",function(fa){e.getModel().beginUpdate();try{var Ga=ba[U.value];null!=Ga&&(e.setCellStyles(mxConstants.STYLE_LABEL_POSITION,Ga[0],g.cells),e.setCellStyles(mxConstants.STYLE_VERTICAL_LABEL_POSITION,Ga[1],g.cells),e.setCellStyles(mxConstants.STYLE_ALIGN,Ga[2],g.cells),e.setCellStyles(mxConstants.STYLE_VERTICAL_ALIGN,Ga[3],g.cells))}finally{e.getModel().endUpdate()}mxEvent.consume(fa)}),a.appendChild(G),mxEvent.addListener(pa,"change",function(fa){e.setCellStyles(mxConstants.STYLE_TEXT_DIRECTION,
-P[pa.value],g.cells);mxEvent.consume(fa)}));var V=document.createElement("input");V.style.position="absolute";V.style.borderWidth="1px";V.style.borderStyle="solid";V.style.textAlign="right";V.style.marginTop="4px";V.style.left="161px";V.style.width="53px";V.style.height="23px";V.style.boxSizing="border-box";n.appendChild(V);var ca=null;w=this.installInputHandler(V,mxConstants.STYLE_FONTSIZE,Menus.prototype.defaultFontSize,1,999," "+Editor.fontSizeUnit,function(fa){if(window.getSelection&&!mxClient.IS_IE&&
-!mxClient.IS_IE11){var Ga=function(B,E){null!=e.cellEditor.textarea&&B!=e.cellEditor.textarea&&e.cellEditor.textarea.contains(B)&&(E||ya.containsNode(B,!0))&&("FONT"==B.nodeName?(B.removeAttribute("size"),B.style.fontSize=fa+"px"):mxUtils.getCurrentStyle(B).fontSize!=fa+"px"&&(mxUtils.getCurrentStyle(B.parentNode).fontSize!=fa+"px"?B.style.fontSize=fa+"px":B.style.fontSize=""));d.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_FONTSIZE],"values",[fa],"cells",g.cells))},ya=window.getSelection(),
-u=0<ya.rangeCount?ya.getRangeAt(0).commonAncestorContainer:e.cellEditor.textarea;u!=e.cellEditor.textarea&&u.nodeType==mxConstants.NODETYPE_ELEMENT||document.execCommand("fontSize",!1,"1");u!=e.cellEditor.textarea&&(u=u.parentNode);if(null!=u&&u.nodeType==mxConstants.NODETYPE_ELEMENT){var A=u.getElementsByTagName("*");Ga(u);for(u=0;u<A.length;u++)Ga(A[u]);0<ya.rangeCount&&(u=ya.getRangeAt(0).commonAncestorContainer,u!=e.cellEditor.textarea&&e.cellEditor.textarea.contains(u)&&Ga(u.parentNode))}V.value=
-fa+" "+Editor.fontSizeUnit}else if(window.getSelection||document.selection)if(Ga=function(B,E){for(;null!=E;){if(E===B)return!0;E=E.parentNode}return!1},A=null,document.selection?A=document.selection.createRange().parentElement():(ya=window.getSelection(),0<ya.rangeCount&&(A=ya.getRangeAt(0).commonAncestorContainer)),null!=A&&Ga(e.cellEditor.textarea,A))for(ca=fa,document.execCommand("fontSize",!1,"4"),A=e.cellEditor.textarea.getElementsByTagName("font"),u=0;u<A.length;u++)if("4"==A[u].getAttribute("size")){A[u].removeAttribute("size");
-A[u].style.fontSize=ca+"px";window.setTimeout(function(){V.value=ca+" "+Editor.fontSizeUnit;ca=null},0);break}},!0);w=this.createStepper(V,w,1,10,!0,Menus.prototype.defaultFontSize);w.style.display=V.style.display;w.style.marginTop="4px";w.style.left="214px";n.appendChild(w);n=q.getElementsByTagName("div")[0];n.style.cssFloat="right";var ra=null,oa=e.shapeBackgroundColor,L=null,ea=e.shapeForegroundColor,sa=e.cellEditor.isContentEditing()?this.createColorOption(mxResources.get("backgroundColor"),function(){return oa},
-function(fa){document.execCommand("backcolor",!1,fa!=mxConstants.NONE?fa:"transparent");d.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_LABEL_BACKGROUNDCOLOR],"values",[fa],"cells",g.cells))},e.shapeBackgroundColor,{install:function(fa){ra=fa},destroy:function(){ra=null}},null,!0):this.createCellColorOption(mxResources.get("backgroundColor"),mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,"default",null,function(fa){e.updateLabelElements(g.cells,function(Ga){Ga.style.backgroundColor=
-null})},e.shapeBackgroundColor);sa.style.fontWeight="bold";var va=this.createCellColorOption(mxResources.get("borderColor"),mxConstants.STYLE_LABEL_BORDERCOLOR,"default",null,null,e.shapeForegroundColor);va.style.fontWeight="bold";n=1<=g.vertices.length?e.stylesheet.getDefaultVertexStyle():e.stylesheet.getDefaultEdgeStyle();n=e.cellEditor.isContentEditing()?this.createColorOption(mxResources.get("fontColor"),function(){return ea},function(fa){if(mxClient.IS_FF){for(var Ga=e.cellEditor.textarea.getElementsByTagName("font"),
-ya=[],u=0;u<Ga.length;u++)ya.push({node:Ga[u],color:Ga[u].getAttribute("color")});document.execCommand("forecolor",!1,fa!=mxConstants.NONE?fa:"transparent");d.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_FONTCOLOR],"values",[fa],"cells",g.cells));fa=e.cellEditor.textarea.getElementsByTagName("font");for(u=0;u<fa.length;u++)if(u>=ya.length||fa[u]!=ya[u].node||fa[u]==ya[u].node&&fa[u].getAttribute("color")!=ya[u].color){ya=fa[u].firstChild;if(null!=ya&&"A"==ya.nodeName&&null==
-ya.nextSibling&&null!=ya.firstChild){fa[u].parentNode.insertBefore(ya,fa[u]);for(Ga=ya.firstChild;null!=Ga;){var A=Ga.nextSibling;fa[u].appendChild(Ga);Ga=A}ya.appendChild(fa[u])}break}}else document.execCommand("forecolor",!1,fa!=mxConstants.NONE?fa:"transparent"),d.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_FONTCOLOR],"values",[fa],"cells",g.cells))},null!=n[mxConstants.STYLE_FONTCOLOR]?n[mxConstants.STYLE_FONTCOLOR]:e.shapeForegroundColor,{install:function(fa){L=fa},destroy:function(){L=
-null}},null,!0):this.createCellColorOption(mxResources.get("fontColor"),mxConstants.STYLE_FONTCOLOR,"default",function(fa){sa.style.display=fa==mxConstants.NONE?"none":"";va.style.display=sa.style.display},function(fa){fa==mxConstants.NONE?e.setCellStyles(mxConstants.STYLE_NOLABEL,"1",g.cells):e.setCellStyles(mxConstants.STYLE_NOLABEL,null,g.cells);e.setCellStyles(mxConstants.STYLE_FONTCOLOR,fa,g.cells);e.updateLabelElements(g.cells,function(Ga){Ga.removeAttribute("color");Ga.style.color=null})},
-e.shapeForegroundColor);n.style.fontWeight="bold";h.appendChild(n);h.appendChild(sa);n=this.createCellOption(mxResources.get("shadow"),mxConstants.STYLE_TEXT_SHADOW,0);n.style.width="100%";n.style.fontWeight="bold";Editor.enableShadowOption||(n.getElementsByTagName("input")[0].setAttribute("disabled","disabled"),mxUtils.setOpacity(n,60));e.cellEditor.isContentEditing()||(h.appendChild(va),h.appendChild(n));a.appendChild(h);h=this.createPanel();h.style.paddingTop="2px";h.style.paddingBottom="4px";
-n=e.filterSelectionCells(mxUtils.bind(this,function(fa){var Ga=e.view.getState(fa);return null==Ga||e.isAutoSizeState(Ga)||e.getModel().isEdge(fa)||!e.isTableRow(fa)&&!e.isTableCell(fa)&&!e.isCellResizable(fa)}));w=this.createCellOption(mxResources.get("wordWrap"),mxConstants.STYLE_WHITE_SPACE,null,"wrap","null",null,null,!0,n);w.style.fontWeight="bold";0<n.length&&h.appendChild(w);n=this.createCellOption(mxResources.get("formattedText"),"html",0,null,null,null,d.actions.get("formattedText"));n.style.fontWeight=
-"bold";h.appendChild(n);n=this.createPanel();n.style.paddingTop="10px";n.style.paddingBottom="28px";n.style.fontWeight="normal";w=document.createElement("div");w.style.position="absolute";w.style.width="70px";w.style.marginTop="0px";w.style.fontWeight="bold";mxUtils.write(w,mxResources.get("spacing"));n.appendChild(w);var Ua=this.addUnitInput(n,this.getUnit(),87,52,function(){$a.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),ma=this.addUnitInput(n,this.getUnit(),16,52,function(){Pa.apply(this,
-arguments)},this.getUnitStep(),null,null,this.isFloatUnit());mxUtils.br(n);this.addLabel(n,mxResources.get("top"),87,64);this.addLabel(n,mxResources.get("global"),16,64);mxUtils.br(n);mxUtils.br(n);var Fa=this.addUnitInput(n,this.getUnit(),158,52,function(){hb.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),Ia=this.addUnitInput(n,this.getUnit(),87,52,function(){cb.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),Oa=this.addUnitInput(n,this.getUnit(),
-16,52,function(){gb.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());mxUtils.br(n);this.addLabel(n,mxResources.get("left"),158,64);this.addLabel(n,mxResources.get("bottom"),87,64);this.addLabel(n,mxResources.get("right"),16,64);if(e.cellEditor.isContentEditing()){var Ra=null,Ma=null;a.appendChild(this.createRelativeOption(mxResources.get("lineheight"),null,null,function(fa){var Ga=""==fa.value?120:parseInt(fa.value);Ga=Math.max(0,isNaN(Ga)?120:Ga);null!=Ra&&(e.cellEditor.restoreSelection(Ra),
-Ra=null);var ya=e.getSelectedTextBlocks();0==ya.length&&null!=e.cellEditor.textarea&&null!=e.cellEditor.textarea.firstChild&&("P"!=e.cellEditor.textarea.firstChild.nodeName&&(e.cellEditor.textarea.innerHTML="<p>"+e.cellEditor.textarea.innerHTML+"</p>"),ya=[e.cellEditor.textarea.firstChild]);for(var u=0;u<ya.length;u++)ya[u].style.lineHeight=Ga+"%";fa.value=Ga+" %"},function(fa){Ma=fa;mxEvent.addListener(fa,"mousedown",function(){document.activeElement==e.cellEditor.textarea&&(Ra=e.cellEditor.saveSelection())});
-mxEvent.addListener(fa,"touchstart",function(){document.activeElement==e.cellEditor.textarea&&(Ra=e.cellEditor.saveSelection())});fa.value="120 %"}));h=f.cloneNode(!1);h.style.paddingLeft="0px";n=this.editorUi.toolbar.addItems(["link","image"],h,!0);w=[this.editorUi.toolbar.addButton("geSprite-horizontalrule",mxResources.get("insertHorizontalRule"),function(){document.execCommand("inserthorizontalrule",!1)},h),this.editorUi.toolbar.addMenuFunctionInContainer(h,"geSprite-table",mxResources.get("table"),
-!1,mxUtils.bind(this,function(fa){this.editorUi.menus.addInsertTableItem(fa,null,null,!1)}))];this.styleButtons(n);this.styleButtons(w);n=this.createPanel();n.style.paddingTop="10px";n.style.paddingBottom="10px";n.appendChild(this.createTitle(mxResources.get("insert")));n.appendChild(h);a.appendChild(n);n=f.cloneNode(!1);n.style.paddingLeft="0px";w=[this.editorUi.toolbar.addButton("geSprite-insertcolumnbefore",mxResources.get("insertColumnBefore"),mxUtils.bind(this,function(){try{null!=S&&e.insertColumn(S,
-null!=X?X.cellIndex:0)}catch(fa){this.editorUi.handleError(fa)}}),n),this.editorUi.toolbar.addButton("geSprite-insertcolumnafter",mxResources.get("insertColumnAfter"),mxUtils.bind(this,function(){try{null!=S&&e.insertColumn(S,null!=X?X.cellIndex+1:-1)}catch(fa){this.editorUi.handleError(fa)}}),n),this.editorUi.toolbar.addButton("geSprite-deletecolumn",mxResources.get("deleteColumn"),mxUtils.bind(this,function(){try{null!=S&&null!=X&&e.deleteColumn(S,X.cellIndex)}catch(fa){this.editorUi.handleError(fa)}}),
-n),this.editorUi.toolbar.addButton("geSprite-insertrowbefore",mxResources.get("insertRowBefore"),mxUtils.bind(this,function(){try{null!=S&&null!=Y&&e.insertRow(S,Y.sectionRowIndex)}catch(fa){this.editorUi.handleError(fa)}}),n),this.editorUi.toolbar.addButton("geSprite-insertrowafter",mxResources.get("insertRowAfter"),mxUtils.bind(this,function(){try{null!=S&&null!=Y&&e.insertRow(S,Y.sectionRowIndex+1)}catch(fa){this.editorUi.handleError(fa)}}),n),this.editorUi.toolbar.addButton("geSprite-deleterow",
-mxResources.get("deleteRow"),mxUtils.bind(this,function(){try{null!=S&&null!=Y&&e.deleteRow(S,Y.sectionRowIndex)}catch(fa){this.editorUi.handleError(fa)}}),n)];this.styleButtons(w);w[2].style.marginRight="10px";h=this.createPanel();h.style.paddingTop="10px";h.style.paddingBottom="10px";h.appendChild(this.createTitle(mxResources.get("table")));h.appendChild(n);f=f.cloneNode(!1);f.style.paddingLeft="0px";w=[this.editorUi.toolbar.addButton("geSprite-strokecolor",mxResources.get("borderColor"),mxUtils.bind(this,
-function(fa){if(null!=S){var Ga=S.style.borderColor.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,function(ya,u,A,B){return"#"+("0"+Number(u).toString(16)).substr(-2)+("0"+Number(A).toString(16)).substr(-2)+("0"+Number(B).toString(16)).substr(-2)});this.editorUi.pickColor(Ga,function(ya){var u=null==X||null!=fa&&mxEvent.isShiftDown(fa)?S:X;e.processElements(u,function(A){A.style.border=null});null==ya||ya==mxConstants.NONE?(u.removeAttribute("border"),u.style.border="",u.style.borderCollapse=
-""):(u.setAttribute("border","1"),u.style.border="1px solid "+ya,u.style.borderCollapse="collapse")})}}),f),this.editorUi.toolbar.addButton("geSprite-fillcolor",mxResources.get("backgroundColor"),mxUtils.bind(this,function(fa){if(null!=S){var Ga=S.style.backgroundColor.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,function(ya,u,A,B){return"#"+("0"+Number(u).toString(16)).substr(-2)+("0"+Number(A).toString(16)).substr(-2)+("0"+Number(B).toString(16)).substr(-2)});this.editorUi.pickColor(Ga,
-function(ya){var u=null==X||null!=fa&&mxEvent.isShiftDown(fa)?S:X;e.processElements(u,function(A){A.style.backgroundColor=null});u.style.backgroundColor=null==ya||ya==mxConstants.NONE?"":ya})}}),f),this.editorUi.toolbar.addButton("geSprite-fit",mxResources.get("spacing"),function(){if(null!=S){var fa=S.getAttribute("cellPadding")||0;fa=new FilenameDialog(d,fa,mxResources.get("apply"),mxUtils.bind(this,function(Ga){null!=Ga&&0<Ga.length?S.setAttribute("cellPadding",Ga):S.removeAttribute("cellPadding")}),
-mxResources.get("spacing"));d.showDialog(fa.container,300,80,!0,!0);fa.init()}},f),this.editorUi.toolbar.addButton("geSprite-left",mxResources.get("left"),function(){null!=S&&S.setAttribute("align","left")},f),this.editorUi.toolbar.addButton("geSprite-center",mxResources.get("center"),function(){null!=S&&S.setAttribute("align","center")},f),this.editorUi.toolbar.addButton("geSprite-right",mxResources.get("right"),function(){null!=S&&S.setAttribute("align","right")},f)];this.styleButtons(w);w[2].style.marginRight=
-"10px";h.appendChild(f);a.appendChild(h);var Na=h}else a.appendChild(h),a.appendChild(this.createRelativeOption(mxResources.get("opacity"),mxConstants.STYLE_TEXT_OPACITY)),a.appendChild(n);for(z=0;3>z;z++)(function(fa){mxEvent.addListener(l[fa],"click",function(){b(l[fa],""==l[fa].style.backgroundImage)})})(z);var ta=mxUtils.bind(this,function(fa,Ga,ya){g=d.getSelectionState();fa=mxUtils.getValue(g.style,mxConstants.STYLE_FONTSTYLE,0);b(l[0],(fa&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD);b(l[1],
-(fa&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC);b(l[2],(fa&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE);q.firstChild.nodeValue=mxUtils.getValue(g.style,mxConstants.STYLE_FONTFAMILY,Menus.prototype.defaultFont);b(p,"0"==mxUtils.getValue(g.style,mxConstants.STYLE_HORIZONTAL,"1"));if(ya||document.activeElement!=V)fa=parseFloat(mxUtils.getValue(g.style,mxConstants.STYLE_FONTSIZE,Menus.prototype.defaultFontSize)),V.value=isNaN(fa)?"":fa+" "+Editor.fontSizeUnit;fa=mxUtils.getValue(g.style,
-mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER);b(C,fa==mxConstants.ALIGN_LEFT);b(F,fa==mxConstants.ALIGN_CENTER);b(D,fa==mxConstants.ALIGN_RIGHT);fa=mxUtils.getValue(g.style,mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE);b(K,fa==mxConstants.ALIGN_TOP);b(I,fa==mxConstants.ALIGN_MIDDLE);b(O,fa==mxConstants.ALIGN_BOTTOM);fa=mxUtils.getValue(g.style,mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER);Ga=mxUtils.getValue(g.style,mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE);
-U.value=fa==mxConstants.ALIGN_LEFT&&Ga==mxConstants.ALIGN_TOP?"topLeft":fa==mxConstants.ALIGN_CENTER&&Ga==mxConstants.ALIGN_TOP?"top":fa==mxConstants.ALIGN_RIGHT&&Ga==mxConstants.ALIGN_TOP?"topRight":fa==mxConstants.ALIGN_LEFT&&Ga==mxConstants.ALIGN_BOTTOM?"bottomLeft":fa==mxConstants.ALIGN_CENTER&&Ga==mxConstants.ALIGN_BOTTOM?"bottom":fa==mxConstants.ALIGN_RIGHT&&Ga==mxConstants.ALIGN_BOTTOM?"bottomRight":fa==mxConstants.ALIGN_LEFT?"left":fa==mxConstants.ALIGN_RIGHT?"right":"center";fa=mxUtils.getValue(g.style,
-mxConstants.STYLE_TEXT_DIRECTION,mxConstants.DEFAULT_TEXT_DIRECTION);fa==mxConstants.TEXT_DIRECTION_RTL?pa.value="rightToLeft":fa==mxConstants.TEXT_DIRECTION_LTR?pa.value="leftToRight":fa!=mxConstants.TEXT_DIRECTION_AUTO&&g.html?fa==mxConstants.TEXT_DIRECTION_VERTICAL_LR?pa.value="vertical-leftToRight":fa==mxConstants.TEXT_DIRECTION_VERTICAL_RL&&(pa.value="vertical-rightToLeft"):pa.value="automatic";if(ya||document.activeElement!=ma)fa=parseFloat(mxUtils.getValue(g.style,mxConstants.STYLE_SPACING,
-2)),ma.value=isNaN(fa)?"":this.inUnit(fa)+" "+this.getUnit();if(ya||document.activeElement!=Ua)fa=parseFloat(mxUtils.getValue(g.style,mxConstants.STYLE_SPACING_TOP,0)),Ua.value=isNaN(fa)?"":this.inUnit(fa)+" "+this.getUnit();if(ya||document.activeElement!=Oa)fa=parseFloat(mxUtils.getValue(g.style,mxConstants.STYLE_SPACING_RIGHT,0)),Oa.value=isNaN(fa)?"":this.inUnit(fa)+" "+this.getUnit();if(ya||document.activeElement!=Ia)fa=parseFloat(mxUtils.getValue(g.style,mxConstants.STYLE_SPACING_BOTTOM,0)),
-Ia.value=isNaN(fa)?"":this.inUnit(fa)+" "+this.getUnit();if(ya||document.activeElement!=Fa)fa=parseFloat(mxUtils.getValue(g.style,mxConstants.STYLE_SPACING_LEFT,0)),Fa.value=isNaN(fa)?"":this.inUnit(fa)+" "+this.getUnit()});var Pa=this.installInputHandler(ma,mxConstants.STYLE_SPACING,2,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var $a=this.installInputHandler(Ua,mxConstants.STYLE_SPACING_TOP,0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var gb=this.installInputHandler(Oa,mxConstants.STYLE_SPACING_RIGHT,
-0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var cb=this.installInputHandler(Ia,mxConstants.STYLE_SPACING_BOTTOM,0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var hb=this.installInputHandler(Fa,mxConstants.STYLE_SPACING_LEFT,0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);this.addKeyHandler(V,ta);this.addKeyHandler(ma,ta);this.addKeyHandler(Ua,ta);this.addKeyHandler(Oa,ta);this.addKeyHandler(Ia,ta);this.addKeyHandler(Fa,ta);e.getModel().addListener(mxEvent.CHANGE,ta);
-this.listeners.push({destroy:function(){e.getModel().removeListener(ta)}});ta();if(e.cellEditor.isContentEditing()){var ib=null,fb=!1;f=mxUtils.bind(this,function(){fb||(fb=!0,window.setTimeout(mxUtils.bind(this,function(){var fa=e.getSelectedEditingElement();if(null!=fa){var Ga=function(xa,Ba){if(null!=xa&&null!=Ba){if(xa==Ba)return!0;if(xa.length>Ba.length+1)return xa.substring(xa.length-Ba.length-1,xa.length)=="-"+Ba}return!1},ya=function(xa){if(null!=e.getParentByName(fa,xa,e.cellEditor.textarea))return!0;
-for(var Ba=fa;null!=Ba&&1==Ba.childNodes.length;)if(Ba=Ba.childNodes[0],Ba.nodeName==xa)return!0;return!1},u=function(xa){xa=null!=xa?xa.fontSize:null;return null!=xa&&"px"==xa.substring(xa.length-2)?parseFloat(xa):mxConstants.DEFAULT_FONTSIZE},A=function(xa,Ba,wa){return null!=wa.style&&null!=Ba?(Ba=Ba.lineHeight,null!=wa.style.lineHeight&&"%"==wa.style.lineHeight.substring(wa.style.lineHeight.length-1)?parseInt(wa.style.lineHeight)/100:"px"==Ba.substring(Ba.length-2)?parseFloat(Ba)/xa:parseInt(Ba)):
-""},B=function(xa){for(;null!=xa&&xa!=e.cellEditor.textarea;){if("block"==mxUtils.getCurrentStyle(xa).display)return xa;xa=xa.parentNode}return null},E=mxUtils.getCurrentStyle(fa),N=u(E),Q=A(N,E,fa),T=fa.getElementsByTagName("*");if(0<T.length&&window.getSelection&&!mxClient.IS_IE&&!mxClient.IS_IE11)for(var ia=window.getSelection(),da=0;da<T.length;da++)if(ia.containsNode(T[da],!0)){temp=mxUtils.getCurrentStyle(T[da]);N=Math.max(u(temp),N);var ha=A(N,temp,T[da]);if(ha!=Q||isNaN(ha))Q=""}if(null!=
-E){b(l[0],"bold"==E.fontWeight||400<E.fontWeight||ya("B")||ya("STRONG"));b(l[1],"italic"==E.fontStyle||ya("I")||ya("EM"));b(l[2],ya("U"));b(Z,ya("SUP"));b(H,ya("SUB"));var ua=B(fa);if(null!=ua){ya=function(xa,Ba){Ka.push({name:xa,dispName:Ba,type:"string",getValue:function(){return Ja[xa]},valueChanged:function(wa,za){var Ya=ua.style,Sa=wa;parseInt(Sa)==Sa&&(Sa+="px",null!=za&&(za.value=Sa));Ya[xa]=Sa;""==wa&&null!=za&&(za.value=Ja[xa])}})};var Ja=mxUtils.getCurrentStyle(ua),Ka=[];ya("paddingTop",
-"Padding Top");ya("paddingRight","Padding Right");ya("paddingLeft","Padding Left");ya("paddingBottom","Padding Bottom");ya("marginTop","Margin Top");ya("marginRight","Margin Right");ya("marginLeft","Margin Left");ya("marginBottom","Margin Bottom");ya=this.createPanel();this.addProperties(ya,Ka,g,!0);null!=ib?ib.parentNode.replaceChild(ya,ib):a.appendChild(ya);ib=ya}e.cellEditor.isTableSelected()?(b(M,Ga(E.textAlign,"justify")),b(C,Ga(E.textAlign,"left")),b(F,Ga(E.textAlign,"center")),b(D,Ga(E.textAlign,
-"right"))):(ya=e.cellEditor.align||mxUtils.getValue(g.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER),Ga(E.textAlign,"justify")?(b(M,Ga(E.textAlign,"justify")),b(C,!1),b(F,!1),b(D,!1)):(b(M,!1),b(C,ya==mxConstants.ALIGN_LEFT),b(F,ya==mxConstants.ALIGN_CENTER),b(D,ya==mxConstants.ALIGN_RIGHT)));S=e.getParentByName(fa,"TABLE",e.cellEditor.textarea);Y=null==S?null:e.getParentByName(fa,"TR",S);X=null==S?null:e.getParentByNames(fa,["TD","TH"],S);Na.style.display=null!=S?"":"none";document.activeElement!=
-V&&("FONT"==fa.nodeName&&"4"==fa.getAttribute("size")&&null!=ca?(fa.removeAttribute("size"),fa.style.fontSize=ca+" pt",ca=null):V.value=isNaN(N)?"":N+" "+Editor.fontSizeUnit,ha=parseFloat(Q),isNaN(ha)?Ma.value="100 %":Ma.value=Math.round(100*ha)+" %");null!=L&&(ea="rgba(0, 0, 0, 0)"==E.color||"transparent"==E.color?mxConstants.NONE:mxUtils.rgba2hex(E.color),L(ea,!0));null!=ra&&(oa="rgba(0, 0, 0, 0)"==E.backgroundColor||"transparent"==E.backgroundColor?mxConstants.NONE:mxUtils.rgba2hex(E.backgroundColor),
-ra(oa,!0));null!=q.firstChild&&(q.firstChild.nodeValue=mxUtils.getCssFontFamily(E.fontFamily))}}fb=!1}),0))});(mxClient.IS_FF||mxClient.IS_EDGE||mxClient.IS_IE||mxClient.IS_IE11)&&mxEvent.addListener(e.cellEditor.textarea,"DOMSubtreeModified",f);mxEvent.addListener(e.cellEditor.textarea,"input",f);mxEvent.addListener(e.cellEditor.textarea,"touchend",f);mxEvent.addListener(e.cellEditor.textarea,"mouseup",f);mxEvent.addListener(e.cellEditor.textarea,"keyup",f);this.listeners.push({destroy:function(){}});
-f()}return a};StyleFormatPanel=function(a,b,d){BaseFormatPanel.call(this,a,b,d);this.init()};mxUtils.extend(StyleFormatPanel,BaseFormatPanel);StyleFormatPanel.prototype.defaultStrokeColor="black";
+mxConstants.ALIGN_BOTTOM,mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_TOP],bottom:[mxConstants.ALIGN_CENTER,mxConstants.ALIGN_BOTTOM,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_TOP],bottomRight:[mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_BOTTOM,mxConstants.ALIGN_LEFT,mxConstants.ALIGN_TOP]};for(F=0;F<G.length;F++){var O=document.createElement("option");O.setAttribute("value",G[F]);mxUtils.write(O,mxResources.get(G[F]));ja.appendChild(O)}C.appendChild(ja);G=n.cloneNode(!1);G.removeAttribute("class");G.style.marginLeft=
+"0px";G.style.paddingTop="4px";G.style.paddingBottom="4px";G.style.fontWeight="normal";mxUtils.write(G,mxResources.get("writingDirection"));var T=document.createElement("select");T.style.position="absolute";T.style.borderWidth="1px";T.style.borderStyle="solid";T.style.left="126px";T.style.width="98px";T.style.marginTop="-3px";O=["automatic","leftToRight","rightToLeft"];g.html&&(O.push("vertical-leftToRight"),O.push("vertical-rightToLeft"));var X={automatic:null,leftToRight:mxConstants.TEXT_DIRECTION_LTR,
+rightToLeft:mxConstants.TEXT_DIRECTION_RTL,"vertical-leftToRight":mxConstants.TEXT_DIRECTION_VERTICAL_LR,"vertical-rightToLeft":mxConstants.TEXT_DIRECTION_VERTICAL_RL};for(F=0;F<O.length;F++){var ca=document.createElement("option");ca.setAttribute("value",O[F]);"vertical-"==O[F].substring(0,9)?mxUtils.write(ca,mxResources.get("vertical")+" ("+mxResources.get(O[F].substring(9))+")"):mxUtils.write(ca,mxResources.get(O[F]));T.appendChild(ca)}G.appendChild(T);d.isEditing()||(a.appendChild(C),mxEvent.addListener(ja,
+"change",function(da){d.getModel().beginUpdate();try{var wa=sa[ja.value];null!=wa&&(d.setCellStyles(mxConstants.STYLE_LABEL_POSITION,wa[0],g.cells),d.setCellStyles(mxConstants.STYLE_VERTICAL_LABEL_POSITION,wa[1],g.cells),d.setCellStyles(mxConstants.STYLE_ALIGN,wa[2],g.cells),d.setCellStyles(mxConstants.STYLE_VERTICAL_ALIGN,wa[3],g.cells))}finally{d.getModel().endUpdate()}mxEvent.consume(da)}),a.appendChild(G),mxEvent.addListener(T,"change",function(da){d.setCellStyles(mxConstants.STYLE_TEXT_DIRECTION,
+X[T.value],g.cells);mxEvent.consume(da)}));var na=document.createElement("input");na.style.position="absolute";na.style.borderWidth="1px";na.style.borderStyle="solid";na.style.textAlign="right";na.style.marginTop="4px";na.style.left="161px";na.style.width="53px";na.style.height="23px";na.style.boxSizing="border-box";k.appendChild(na);C=this.installInputHandler(na,mxConstants.STYLE_FONTSIZE,Menus.prototype.defaultFontSize,1,999," "+Editor.fontSizeUnit,function(da){if(null!=d.getSelectedEditingElement()){na.value=
+da+" "+Editor.fontSizeUnit;document.execCommand("fontSize",!1,"1");for(var wa=d.cellEditor.textarea.getElementsByTagName("font"),u=0;u<wa.length;u++)if("1"==wa[u].getAttribute("size")){wa[u].removeAttribute("size");wa[u].style.fontSize="";var A=mxUtils.getCurrentStyle(wa[u]);da!=b(A)?wa[u].style.fontSize=da+"px":""==wa[u].getAttribute("style")&&wa[u].removeAttribute("style")}}},!0);C=this.createStepper(na,C,1,10,!0,Menus.prototype.defaultFontSize);C.style.display=na.style.display;C.style.marginTop=
+"4px";C.style.left="214px";k.appendChild(C);k=p.getElementsByTagName("div")[0];k.style.cssFloat="right";var pa=null,M=d.shapeBackgroundColor,ea=null,ra=d.shapeForegroundColor,ta=d.cellEditor.isContentEditing()?this.createColorOption(mxResources.get("backgroundColor"),function(){return M},function(da){document.execCommand("backcolor",!1,da!=mxConstants.NONE?da:"transparent");h.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_LABEL_BACKGROUNDCOLOR],"values",[da],"cells",g.cells))},
+d.shapeBackgroundColor,{install:function(da){pa=da},destroy:function(){pa=null}},null,!0):this.createCellColorOption(mxResources.get("backgroundColor"),mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,"default",null,function(da){d.updateLabelElements(g.cells,function(wa){wa.style.backgroundColor=null})},d.shapeBackgroundColor);ta.style.fontWeight="bold";var Sa=this.createCellColorOption(mxResources.get("borderColor"),mxConstants.STYLE_LABEL_BORDERCOLOR,"default",null,null,d.shapeForegroundColor);Sa.style.fontWeight=
+"bold";k=1<=g.vertices.length?d.stylesheet.getDefaultVertexStyle():d.stylesheet.getDefaultEdgeStyle();k=d.cellEditor.isContentEditing()?this.createColorOption(mxResources.get("fontColor"),function(){return ra},function(da){if(mxClient.IS_FF){for(var wa=d.cellEditor.textarea.getElementsByTagName("font"),u=[],A=0;A<wa.length;A++)u.push({node:wa[A],color:wa[A].getAttribute("color")});document.execCommand("forecolor",!1,da!=mxConstants.NONE?da:"transparent");h.fireEvent(new mxEventObject("styleChanged",
+"keys",[mxConstants.STYLE_FONTCOLOR],"values",[da],"cells",g.cells));da=d.cellEditor.textarea.getElementsByTagName("font");for(A=0;A<da.length;A++)if(A>=u.length||da[A]!=u[A].node||da[A]==u[A].node&&da[A].getAttribute("color")!=u[A].color){u=da[A].firstChild;if(null!=u&&"A"==u.nodeName&&null==u.nextSibling&&null!=u.firstChild){da[A].parentNode.insertBefore(u,da[A]);for(wa=u.firstChild;null!=wa;){var B=wa.nextSibling;da[A].appendChild(wa);wa=B}u.appendChild(da[A])}break}}else document.execCommand("forecolor",
+!1,da!=mxConstants.NONE?da:"transparent"),h.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_FONTCOLOR],"values",[da],"cells",g.cells))},null!=k[mxConstants.STYLE_FONTCOLOR]?k[mxConstants.STYLE_FONTCOLOR]:d.shapeForegroundColor,{install:function(da){ea=da},destroy:function(){ea=null}},null,!0):this.createCellColorOption(mxResources.get("fontColor"),mxConstants.STYLE_FONTCOLOR,"default",function(da){ta.style.display=da==mxConstants.NONE?"none":"";Sa.style.display=ta.style.display},
+function(da){da==mxConstants.NONE?d.setCellStyles(mxConstants.STYLE_NOLABEL,"1",g.cells):d.setCellStyles(mxConstants.STYLE_NOLABEL,null,g.cells);d.setCellStyles(mxConstants.STYLE_FONTCOLOR,da,g.cells);d.updateLabelElements(g.cells,function(wa){wa.removeAttribute("color");wa.style.color=null})},d.shapeForegroundColor);k.style.fontWeight="bold";q.appendChild(k);q.appendChild(ta);k=this.createCellOption(mxResources.get("shadow"),mxConstants.STYLE_TEXT_SHADOW,0);k.style.width="100%";k.style.fontWeight=
+"bold";Editor.enableShadowOption||(k.getElementsByTagName("input")[0].setAttribute("disabled","disabled"),mxUtils.setOpacity(k,60));d.cellEditor.isContentEditing()||(q.appendChild(Sa),q.appendChild(k));a.appendChild(q);q=this.createPanel();q.style.paddingTop="2px";q.style.paddingBottom="4px";k=d.filterSelectionCells(mxUtils.bind(this,function(da){var wa=d.view.getState(da);return null==wa||d.isAutoSizeState(wa)||d.getModel().isEdge(da)||!d.isTableRow(da)&&!d.isTableCell(da)&&!d.isCellResizable(da)}));
+C=this.createCellOption(mxResources.get("wordWrap"),mxConstants.STYLE_WHITE_SPACE,null,"wrap","null",null,null,!0,k);C.style.fontWeight="bold";0<k.length&&q.appendChild(C);k=this.createCellOption(mxResources.get("formattedText"),"html",0,null,null,null,h.actions.get("formattedText"));k.style.fontWeight="bold";q.appendChild(k);k=this.createPanel();k.style.paddingTop="10px";k.style.paddingBottom="28px";k.style.fontWeight="normal";C=document.createElement("div");C.style.position="absolute";C.style.width=
+"70px";C.style.marginTop="0px";C.style.fontWeight="bold";mxUtils.write(C,mxResources.get("spacing"));k.appendChild(C);var ma=this.addUnitInput(k,this.getUnit(),87,52,function(){gb.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),Fa=this.addUnitInput(k,this.getUnit(),16,52,function(){Za.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());mxUtils.br(k);this.addLabel(k,mxResources.get("top"),87,64);this.addLabel(k,mxResources.get("global"),16,64);mxUtils.br(k);
+mxUtils.br(k);var Ha=this.addUnitInput(k,this.getUnit(),158,52,function(){ob.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),Na=this.addUnitInput(k,this.getUnit(),87,52,function(){hb.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),Qa=this.addUnitInput(k,this.getUnit(),16,52,function(){db.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());mxUtils.br(k);this.addLabel(k,mxResources.get("left"),158,64);this.addLabel(k,mxResources.get("bottom"),
+87,64);this.addLabel(k,mxResources.get("right"),16,64);if(d.cellEditor.isContentEditing()){var La=null,Ja=null;a.appendChild(this.createRelativeOption(mxResources.get("lineheight"),null,null,function(da){var wa=""==da.value?120:parseInt(da.value);wa=Math.max(0,isNaN(wa)?120:wa);if(window.getSelection){null!=La&&(d.cellEditor.restoreSelection(La),La=null);var u=d.getSelectedEditingElement();if(u==d.cellEditor.textarea&&null!=d.cellEditor.textarea.firstChild&&d.cellEditor.textarea.firstChild.nodeType!=
+mxConstants.NODETYPE_ELEMENT&&1==d.cellEditor.textarea.children.length){var A=window.getSelection();if(A.getRangeAt&&0<A.rangeCount){var B=A.getRangeAt(0);u=document.createElement("div");u.appendChild(B.extractContents());d.cellEditor.textarea.innerHTML="";d.cellEditor.textarea.appendChild(u);A.removeAllRanges();B=new Range;B.selectNodeContents(u);A.addRange(B)}}u!=d.cellEditor.textarea&&e(u,wa);u=u.getElementsByTagName("*");A=window.getSelection();for(B=0;B<u.length;B++)A.containsNode(u[B],!0)&&
+e(u[B],wa)}da.value=wa+" %"},function(da){Ja=da;mxEvent.addListener(da,"mousedown",function(){document.activeElement==d.cellEditor.textarea&&(La=d.cellEditor.saveSelection())});mxEvent.addListener(da,"touchstart",function(){document.activeElement==d.cellEditor.textarea&&(La=d.cellEditor.saveSelection())});da.value="120 %"}));q=n.cloneNode(!1);q.style.paddingLeft="0px";k=this.editorUi.toolbar.addItems(["link","image"],q,!0);C=[this.editorUi.toolbar.addButton("geSprite-horizontalrule",mxResources.get("insertHorizontalRule"),
+function(){document.execCommand("inserthorizontalrule",!1)},q),this.editorUi.toolbar.addMenuFunctionInContainer(q,"geSprite-table",mxResources.get("table"),!1,mxUtils.bind(this,function(da){this.editorUi.menus.addInsertTableItem(da,null,null,!1)}))];this.styleButtons(k);this.styleButtons(C);k=this.createPanel();k.style.paddingTop="10px";k.style.paddingBottom="10px";k.appendChild(this.createTitle(mxResources.get("insert")));k.appendChild(q);a.appendChild(k);k=n.cloneNode(!1);k.style.paddingLeft="0px";
+C=[this.editorUi.toolbar.addButton("geSprite-insertcolumnbefore",mxResources.get("insertColumnBefore"),mxUtils.bind(this,function(){try{null!=V&&d.insertColumn(V,null!=L?L.cellIndex:0)}catch(da){this.editorUi.handleError(da)}}),k),this.editorUi.toolbar.addButton("geSprite-insertcolumnafter",mxResources.get("insertColumnAfter"),mxUtils.bind(this,function(){try{null!=V&&d.insertColumn(V,null!=L?L.cellIndex+1:-1)}catch(da){this.editorUi.handleError(da)}}),k),this.editorUi.toolbar.addButton("geSprite-deletecolumn",
+mxResources.get("deleteColumn"),mxUtils.bind(this,function(){try{null!=V&&null!=L&&d.deleteColumn(V,L.cellIndex)}catch(da){this.editorUi.handleError(da)}}),k),this.editorUi.toolbar.addButton("geSprite-insertrowbefore",mxResources.get("insertRowBefore"),mxUtils.bind(this,function(){try{null!=V&&null!=U&&d.insertRow(V,U.sectionRowIndex)}catch(da){this.editorUi.handleError(da)}}),k),this.editorUi.toolbar.addButton("geSprite-insertrowafter",mxResources.get("insertRowAfter"),mxUtils.bind(this,function(){try{null!=
+V&&null!=U&&d.insertRow(V,U.sectionRowIndex+1)}catch(da){this.editorUi.handleError(da)}}),k),this.editorUi.toolbar.addButton("geSprite-deleterow",mxResources.get("deleteRow"),mxUtils.bind(this,function(){try{null!=V&&null!=U&&d.deleteRow(V,U.sectionRowIndex)}catch(da){this.editorUi.handleError(da)}}),k)];this.styleButtons(C);C[2].style.marginRight="10px";q=this.createPanel();q.style.paddingTop="10px";q.style.paddingBottom="10px";q.appendChild(this.createTitle(mxResources.get("table")));q.appendChild(k);
+n=n.cloneNode(!1);n.style.paddingLeft="0px";C=[this.editorUi.toolbar.addButton("geSprite-strokecolor",mxResources.get("borderColor"),mxUtils.bind(this,function(da){if(null!=V){var wa=V.style.borderColor.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,function(u,A,B,E){return"#"+("0"+Number(A).toString(16)).substr(-2)+("0"+Number(B).toString(16)).substr(-2)+("0"+Number(E).toString(16)).substr(-2)});this.editorUi.pickColor(wa,function(u){var A=null==L||null!=da&&mxEvent.isShiftDown(da)?V:
+L;d.processElements(A,function(B){B.style.border=null});null==u||u==mxConstants.NONE?(A.removeAttribute("border"),A.style.border="",A.style.borderCollapse=""):(A.setAttribute("border","1"),A.style.border="1px solid "+u,A.style.borderCollapse="collapse")})}}),n),this.editorUi.toolbar.addButton("geSprite-fillcolor",mxResources.get("backgroundColor"),mxUtils.bind(this,function(da){if(null!=V){var wa=V.style.backgroundColor.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,function(u,A,B,E){return"#"+
+("0"+Number(A).toString(16)).substr(-2)+("0"+Number(B).toString(16)).substr(-2)+("0"+Number(E).toString(16)).substr(-2)});this.editorUi.pickColor(wa,function(u){var A=null==L||null!=da&&mxEvent.isShiftDown(da)?V:L;d.processElements(A,function(B){B.style.backgroundColor=null});A.style.backgroundColor=null==u||u==mxConstants.NONE?"":u})}}),n),this.editorUi.toolbar.addButton("geSprite-fit",mxResources.get("spacing"),function(){if(null!=V){var da=V.getAttribute("cellPadding")||0;da=new FilenameDialog(h,
+da,mxResources.get("apply"),mxUtils.bind(this,function(wa){null!=wa&&0<wa.length?V.setAttribute("cellPadding",wa):V.removeAttribute("cellPadding")}),mxResources.get("spacing"));h.showDialog(da.container,300,80,!0,!0);da.init()}},n),this.editorUi.toolbar.addButton("geSprite-left",mxResources.get("left"),function(){null!=V&&V.setAttribute("align","left")},n),this.editorUi.toolbar.addButton("geSprite-center",mxResources.get("center"),function(){null!=V&&V.setAttribute("align","center")},n),this.editorUi.toolbar.addButton("geSprite-right",
+mxResources.get("right"),function(){null!=V&&V.setAttribute("align","right")},n)];this.styleButtons(C);C[2].style.marginRight="10px";q.appendChild(n);a.appendChild(q);var ua=q}else a.appendChild(q),a.appendChild(this.createRelativeOption(mxResources.get("opacity"),mxConstants.STYLE_TEXT_OPACITY)),a.appendChild(k);for(F=0;3>F;F++)(function(da){mxEvent.addListener(w[da],"click",function(){f(w[da],""==w[da].style.backgroundImage)})})(F);var Ia=mxUtils.bind(this,function(da,wa,u){g=h.getSelectionState();
+da=mxUtils.getValue(g.style,mxConstants.STYLE_FONTSTYLE,0);f(w[0],(da&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD);f(w[1],(da&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC);f(w[2],(da&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE);p.firstChild.nodeValue=mxUtils.getValue(g.style,mxConstants.STYLE_FONTFAMILY,Menus.prototype.defaultFont);f(z,"0"==mxUtils.getValue(g.style,mxConstants.STYLE_HORIZONTAL,"1"));if(u||document.activeElement!=na)da=parseFloat(mxUtils.getValue(g.style,mxConstants.STYLE_FONTSIZE,
+Menus.prototype.defaultFontSize)),na.value=isNaN(da)?"":da+" "+Editor.fontSizeUnit;da=mxUtils.getValue(g.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER);f(D,da==mxConstants.ALIGN_LEFT);f(H,da==mxConstants.ALIGN_CENTER);f(K,da==mxConstants.ALIGN_RIGHT);da=mxUtils.getValue(g.style,mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE);f(P,da==mxConstants.ALIGN_TOP);f(I,da==mxConstants.ALIGN_MIDDLE);f(Z,da==mxConstants.ALIGN_BOTTOM);da=mxUtils.getValue(g.style,mxConstants.STYLE_LABEL_POSITION,
+mxConstants.ALIGN_CENTER);wa=mxUtils.getValue(g.style,mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE);ja.value=da==mxConstants.ALIGN_LEFT&&wa==mxConstants.ALIGN_TOP?"topLeft":da==mxConstants.ALIGN_CENTER&&wa==mxConstants.ALIGN_TOP?"top":da==mxConstants.ALIGN_RIGHT&&wa==mxConstants.ALIGN_TOP?"topRight":da==mxConstants.ALIGN_LEFT&&wa==mxConstants.ALIGN_BOTTOM?"bottomLeft":da==mxConstants.ALIGN_CENTER&&wa==mxConstants.ALIGN_BOTTOM?"bottom":da==mxConstants.ALIGN_RIGHT&&wa==mxConstants.ALIGN_BOTTOM?
+"bottomRight":da==mxConstants.ALIGN_LEFT?"left":da==mxConstants.ALIGN_RIGHT?"right":"center";da=mxUtils.getValue(g.style,mxConstants.STYLE_TEXT_DIRECTION,mxConstants.DEFAULT_TEXT_DIRECTION);da==mxConstants.TEXT_DIRECTION_RTL?T.value="rightToLeft":da==mxConstants.TEXT_DIRECTION_LTR?T.value="leftToRight":da!=mxConstants.TEXT_DIRECTION_AUTO&&g.html?da==mxConstants.TEXT_DIRECTION_VERTICAL_LR?T.value="vertical-leftToRight":da==mxConstants.TEXT_DIRECTION_VERTICAL_RL&&(T.value="vertical-rightToLeft"):T.value=
+"automatic";if(u||document.activeElement!=Fa)da=parseFloat(mxUtils.getValue(g.style,mxConstants.STYLE_SPACING,2)),Fa.value=isNaN(da)?"":this.inUnit(da)+" "+this.getUnit();if(u||document.activeElement!=ma)da=parseFloat(mxUtils.getValue(g.style,mxConstants.STYLE_SPACING_TOP,0)),ma.value=isNaN(da)?"":this.inUnit(da)+" "+this.getUnit();if(u||document.activeElement!=Qa)da=parseFloat(mxUtils.getValue(g.style,mxConstants.STYLE_SPACING_RIGHT,0)),Qa.value=isNaN(da)?"":this.inUnit(da)+" "+this.getUnit();if(u||
+document.activeElement!=Na)da=parseFloat(mxUtils.getValue(g.style,mxConstants.STYLE_SPACING_BOTTOM,0)),Na.value=isNaN(da)?"":this.inUnit(da)+" "+this.getUnit();if(u||document.activeElement!=Ha)da=parseFloat(mxUtils.getValue(g.style,mxConstants.STYLE_SPACING_LEFT,0)),Ha.value=isNaN(da)?"":this.inUnit(da)+" "+this.getUnit()});var Za=this.installInputHandler(Fa,mxConstants.STYLE_SPACING,2,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var gb=this.installInputHandler(ma,mxConstants.STYLE_SPACING_TOP,
+0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var db=this.installInputHandler(Qa,mxConstants.STYLE_SPACING_RIGHT,0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var hb=this.installInputHandler(Na,mxConstants.STYLE_SPACING_BOTTOM,0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var ob=this.installInputHandler(Ha,mxConstants.STYLE_SPACING_LEFT,0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);this.addKeyHandler(na,Ia);this.addKeyHandler(Fa,Ia);this.addKeyHandler(ma,
+Ia);this.addKeyHandler(Qa,Ia);this.addKeyHandler(Na,Ia);this.addKeyHandler(Ha,Ia);d.getModel().addListener(mxEvent.CHANGE,Ia);this.listeners.push({destroy:function(){d.getModel().removeListener(Ia)}});Ia();if(d.cellEditor.isContentEditing()){var cb=null,ab=!1;n=mxUtils.bind(this,function(){ab||(ab=!0,window.setTimeout(mxUtils.bind(this,function(){var da=d.getSelectedEditingElement();if(null!=da&&null!=d.cellEditor.textarea){var wa=function(xa,Da){if(null!=xa&&null!=Da){if(xa==Da)return!0;if(xa.length>
+Da.length+1)return xa.substring(xa.length-Da.length-1,xa.length)=="-"+Da}return!1},u=function(xa){if(null!=d.getParentByName(da,xa,d.cellEditor.textarea))return!0;for(var Da=da;null!=Da&&1==Da.childNodes.length;)if(Da=Da.childNodes[0],Da.nodeName==xa)return!0;return!1},A=function(xa){for(;null!=xa&&xa!=d.cellEditor.textarea;){if("block"==mxUtils.getCurrentStyle(xa).display)return xa;xa=xa.parentNode}return null},B=mxUtils.getCurrentStyle(da),E=da==d.cellEditor.textarea||""==da.style.lineHeight?null:
+da.style.lineHeight,N=da==d.cellEditor.textarea||""==da.style.fontSize?null:b(B);if(window.getSelection)for(var Q=da.getElementsByTagName("*"),W=window.getSelection(),ha=0;ha<Q.length&&(!W.containsNode(Q[ha],!0)||(null==N&&""!=Q[ha].style.fontSize&&(N=parseFloat(Q[ha].style.fontSize)),null==E&&""!=Q[ha].style.lineHeight&&(E=Q[ha].style.lineHeight),null==N||null==E));ha++);null==N&&(N=b(B));if(null==E)for(Q=da;null!=Q&&Q!=d.cellEditor.textarea.parentNode;){if(null!=Q.style&&""!=Q.style.lineHeight){E=
+Q.style.lineHeight;break}Q=Q.parentNode}if(null!=B){f(w[0],"bold"==B.fontWeight||400<B.fontWeight||u("B")||u("STRONG"));f(w[1],"italic"==B.fontStyle||u("I")||u("EM"));f(w[2],u("U"));f(Y,u("SUP"));f(S,u("SUB"));var fa=A(da);if(null!=fa){u=function(xa,Da){ya.push({name:xa,dispName:Da,type:"string",getValue:function(){return ia[xa]},valueChanged:function(Oa,Ma){var Aa=fa.style,va=Oa;parseInt(va)==va&&(va+="px",null!=Ma&&(Ma.value=va));Aa[xa]=va;""==Oa&&null!=Ma&&(Ma.value=ia[xa])}})};var ia=mxUtils.getCurrentStyle(fa),
+ya=[];u("paddingTop","Padding Top");u("paddingRight","Padding Right");u("paddingLeft","Padding Left");u("paddingBottom","Padding Bottom");u("marginTop","Margin Top");u("marginRight","Margin Right");u("marginLeft","Margin Left");u("marginBottom","Margin Bottom");u=this.createPanel();this.addProperties(u,ya,g,!0);null!=cb?cb.parentNode.replaceChild(u,cb):a.appendChild(u);cb=u}d.cellEditor.isTableSelected()?(f(ba,wa(B.textAlign,"justify")),f(D,wa(B.textAlign,"left")),f(H,wa(B.textAlign,"center")),f(K,
+wa(B.textAlign,"right"))):(u=d.cellEditor.align||mxUtils.getValue(g.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER),wa(B.textAlign,"justify")?(f(ba,wa(B.textAlign,"justify")),f(D,!1),f(H,!1),f(K,!1)):(f(ba,!1),f(D,u==mxConstants.ALIGN_LEFT),f(H,u==mxConstants.ALIGN_CENTER),f(K,u==mxConstants.ALIGN_RIGHT)));V=d.getParentByName(da,"TABLE",d.cellEditor.textarea);U=null==V?null:d.getParentByName(da,"TR",V);L=null==V?null:d.getParentByNames(da,["TD","TH"],V);ua.style.display=null!=V?"":"none";
+document.activeElement!=na&&(na.value=isNaN(N)?"":N+" "+Editor.fontSizeUnit,"string"===typeof E&&0<E.indexOf("%")?Ja.value=E.replace("%"," %"):(wa=parseFloat(E),isNaN(wa)?Ja.value="120 %":Ja.value=Math.round(100*wa)+" %"));null!=ea&&(ra="rgba(0, 0, 0, 0)"==B.color||"transparent"==B.color?mxConstants.NONE:mxUtils.rgba2hex(B.color),ea(ra,!0));null!=pa&&(M="rgba(0, 0, 0, 0)"==B.backgroundColor||"transparent"==B.backgroundColor?mxConstants.NONE:mxUtils.rgba2hex(B.backgroundColor),pa(M,!0));null!=p.firstChild&&
+(p.firstChild.nodeValue=mxUtils.getCssFontFamily(B.fontFamily))}}ab=!1}),0))});(mxClient.IS_FF||mxClient.IS_EDGE||mxClient.IS_IE||mxClient.IS_IE11)&&mxEvent.addListener(d.cellEditor.textarea,"DOMSubtreeModified",n);mxEvent.addListener(d.cellEditor.textarea,"input",n);mxEvent.addListener(d.cellEditor.textarea,"touchend",n);mxEvent.addListener(d.cellEditor.textarea,"mouseup",n);mxEvent.addListener(d.cellEditor.textarea,"keyup",n);this.listeners.push({destroy:function(){}});n()}return a};
+StyleFormatPanel=function(a,b,e){BaseFormatPanel.call(this,a,b,e);this.init()};mxUtils.extend(StyleFormatPanel,BaseFormatPanel);StyleFormatPanel.prototype.defaultStrokeColor="black";
StyleFormatPanel.prototype.init=function(){var a=this.editorUi.getSelectionState();if(!a.containsLabel&&0<a.cells.length){a.containsImage&&1==a.vertices.length&&"image"==a.style.shape&&null!=a.style.image&&"data:image/svg+xml;"==String(a.style.image).substring(0,19)&&this.container.appendChild(this.addSvgStyles(this.createPanel()));a.fill&&this.container.appendChild(this.addFill(this.createPanel()));this.container.appendChild(this.addStroke(this.createPanel()));this.container.appendChild(this.addLineJumps(this.createPanel()));
var b=this.createRelativeOption(mxResources.get("opacity"),mxConstants.STYLE_OPACITY);b.style.paddingTop="8px";b.style.paddingBottom="10px";this.container.appendChild(b);this.container.appendChild(this.addEffects(this.createPanel()))}b=this.createPanel();b.style.paddingTop="8px";1==a.cells.length&&(this.addEditOps(b),null!=b.firstChild&&mxUtils.br(b));1<=a.cells.length&&this.addStyleOps(b);null!=b.firstChild&&this.container.appendChild(b)};
-StyleFormatPanel.prototype.getCssRules=function(a){var b=document.implementation.createHTMLDocument(""),d=document.createElement("style");mxUtils.setTextContent(d,a);b.body.appendChild(d);return d.sheet.cssRules};
-StyleFormatPanel.prototype.addSvgStyles=function(a){var b=this.editorUi.getSelectionState();a.style.paddingTop="6px";a.style.paddingBottom="6px";a.style.fontWeight="bold";a.style.display="none";try{var d=b.style.editableCssRules;if(null!=d){var e=new RegExp(d),g=b.style.image.substring(b.style.image.indexOf(",")+1),f=window.atob?decodeURIComponent(escape(atob(g))):Base64.decode(g,!0),h=mxUtils.parseXml(f);if(null!=h){var n=h.getElementsByTagName("style");for(b=0;b<n.length;b++){var q=this.getCssRules(mxUtils.getTextContent(n[b]));
-for(d=0;d<q.length;d++)this.addSvgRule(a,q[d],h,n[b],q,d,e)}}}}catch(l){}return a};
-StyleFormatPanel.prototype.addSvgRule=function(a,b,d,e,g,f,h){var n=this.editorUi,q=n.editor.graph;h.test(b.selectorText)&&(h=mxUtils.bind(this,function(l,p,w){var z=mxUtils.trim(l.style[p]);""!=z&&"url("!=z.substring(0,4)&&(l=this.createColorOption(w+" "+l.selectorText,function(){var C=z;return(C=C.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i))&&4===C.length?"#"+("0"+parseInt(C[1],10).toString(16)).slice(-2)+("0"+parseInt(C[2],10).toString(16)).slice(-2)+("0"+parseInt(C[3],
-10).toString(16)).slice(-2):""},mxUtils.bind(this,function(C){g[f].style[p]=C;C="";for(var F=0;F<g.length;F++)C+=g[F].cssText+" ";e.textContent=C;C=mxUtils.getXml(d.documentElement);q.setCellStyles(mxConstants.STYLE_IMAGE,"data:image/svg+xml,"+(window.btoa?btoa(unescape(encodeURIComponent(C))):Base64.encode(C,!0)),n.getSelectionState().cells)}),"#ffffff",{install:function(C){},destroy:function(){}}),a.appendChild(l),a.style.display="")}),h(b,"fill",mxResources.get("fill")),h(b,"stroke",mxResources.get("line")),
-h(b,"stop-color",mxResources.get("gradient")))};
-StyleFormatPanel.prototype.addEditOps=function(a){var b=this.editorUi.getSelectionState();if(1==b.cells.length){var d=document.createElement("select");d.style.width="210px";d.style.textAlign="center";d.style.marginBottom="2px";var e="edit copyAsText editLink editShape editImage editData copyData pasteData editConnectionPoints editGeometry editTooltip editStyle".split(" "),g=null;if(null!=this.editorUi.sidebar){var f=this.editorUi.sidebar.getKeyStyle(b.cells[0].style);g=this.editorUi.sidebar.getLibsForStyle(f);
-null!=g||this.editorUi.sidebar.isSearchIndexLoaded()||null==b.style.shape||"mxgraph."!=String(b.style.shape).substring(0,8)||(g=[])}null!=g&&e.push("openLibrary");for(f=0;f<e.length;f++){var h=this.editorUi.actions.get(e[f]);if(null==h||h.enabled){var n=document.createElement("option");n.setAttribute("value",e[f]);var q=mxResources.get(e[f]);mxUtils.write(n,q+("edit"==e[f]?"":"..."));null!=h&&null!=h.shortcut&&(q+=" ("+h.shortcut+")");n.setAttribute("title",q);d.appendChild(n)}}1<d.children.length&&
-(a.appendChild(d),mxEvent.addListener(d,"change",mxUtils.bind(this,function(l){"openLibrary"==d.value?(null!=g&&0==g.length&&(this.editorUi.sidebar.updateSearchIndex(),l=this.editorUi.sidebar.getKeyStyle(b.cells[0].style),g=this.editorUi.sidebar.getLibsForStyle(l)),null!=g&&0<g.length?this.editorUi.sidebar.openLibraries(g):this.editorUi.handleError({message:mxResources.get("objectNotFound")}),d.value="edit"):(l=this.editorUi.actions.get(d.value),d.value="edit",null!=l&&l.funct())})),b.image&&(e=this.editorUi.editor.graph,
-e=e.view.getState(e.getSelectionCell()),null!=e&&null!=mxUtils.getValue(e.style,mxConstants.STYLE_IMAGE,null)&&(e=mxUtils.button(mxResources.get("crop")+"...",mxUtils.bind(this,function(l){this.editorUi.actions.get("crop").funct()})),e.setAttribute("title",mxResources.get("crop")),d.style.width="104px",e.style.width="104px",e.style.marginLeft="2px",e.style.marginBottom="2px",a.appendChild(e))))}return a};
-StyleFormatPanel.prototype.addFill=function(a){function b(){h.innerHTML="";C=1;for(var D=0;D<Editor.fillStyles.length;D++){var G=document.createElement("option");G.setAttribute("value",Editor.fillStyles[D].val);mxUtils.write(G,Editor.fillStyles[D].dispName);h.appendChild(G)}}var d=this.editorUi,e=d.editor.graph,g=d.getSelectionState();a.style.paddingTop="6px";a.style.paddingBottom="6px";var f=document.createElement("select");f.style.position="absolute";f.style.left="104px";f.style.width="70px";f.style.height=
-"22px";f.style.padding="0px";f.style.marginTop="-3px";f.style.borderWidth="1px";f.style.borderStyle="solid";f.style.boxSizing="border-box";var h=f.cloneNode(!1);mxEvent.addListener(f,"click",function(D){mxEvent.consume(D)});mxEvent.addListener(h,"click",function(D){mxEvent.consume(D)});var n=this.createCellColorOption(mxResources.get("gradient"),mxConstants.STYLE_GRADIENTCOLOR,"default",function(D){f.style.display=null==D||D==mxConstants.NONE?"none":""},function(D){e.updateCellStyles({gradientColor:D},
-e.getSelectionCells())},e.getDefaultColor(g.style,mxConstants.STYLE_GRADIENTCOLOR,e.shapeForegroundColor,e.shapeBackgroundColor)),q="image"==g.style.shape?mxConstants.STYLE_IMAGE_BACKGROUND:mxConstants.STYLE_FILLCOLOR,l=this.createCellColorOption(mxResources.get("fill"),q,"default",null,mxUtils.bind(this,function(D){e.setCellStyles(q,D,g.cells)}),e.getDefaultColor(g.style,q,e.shapeBackgroundColor,e.shapeForegroundColor));l.style.fontWeight="bold";var p=mxUtils.getValue(g.style,q,null);n.style.display=
-null!=p&&p!=mxConstants.NONE&&g.fill&&"image"!=g.style.shape?"":"none";var w=[mxConstants.DIRECTION_NORTH,mxConstants.DIRECTION_EAST,mxConstants.DIRECTION_SOUTH,mxConstants.DIRECTION_WEST,mxConstants.DIRECTION_RADIAL];for(p=0;p<w.length;p++){var z=document.createElement("option");z.setAttribute("value",w[p]);mxUtils.write(z,mxResources.get(w[p]));f.appendChild(z)}n.appendChild(f);var C;b();g.gradient&&l.appendChild(h);var F=mxUtils.bind(this,function(){g=d.getSelectionState();var D=mxUtils.getValue(g.style,
-mxConstants.STYLE_GRADIENT_DIRECTION,mxConstants.DIRECTION_SOUTH),G=mxUtils.getValue(g.style,"fillStyle","auto");""==D&&(D=mxConstants.DIRECTION_SOUTH);f.value=D;a.style.display=g.fill?"":"none";D=mxUtils.getValue(g.style,q,null);if(g.fill&&null!=D&&D!=mxConstants.NONE&&"filledEdge"!=g.style.shape){if("1"==g.style.sketch){if(2!=C){h.innerHTML="";C=2;for(D=0;D<Editor.roughFillStyles.length;D++){var K=document.createElement("option");K.setAttribute("value",Editor.roughFillStyles[D].val);mxUtils.write(K,
-Editor.roughFillStyles[D].dispName);h.appendChild(K)}h.value="auto"}}else 1!=C&&b();h.value=G;h.value||(G="auto",h.value=G);h.style.display="1"==g.style.sketch||"none"==f.style.display?"":"none";n.style.display=!g.gradient||g.containsImage||"1"==g.style.sketch&&"solid"!=G&&"auto"!=G?"none":""}else h.style.display="none",n.style.display="none"});e.getModel().addListener(mxEvent.CHANGE,F);this.listeners.push({destroy:function(){e.getModel().removeListener(F)}});F();mxEvent.addListener(f,"change",function(D){e.setCellStyles(mxConstants.STYLE_GRADIENT_DIRECTION,
-f.value,g.cells);d.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_GRADIENT_DIRECTION],"values",[f.value],"cells",g.cells));mxEvent.consume(D)});mxEvent.addListener(h,"change",function(D){e.setCellStyles("fillStyle",h.value,g.cells);d.fireEvent(new mxEventObject("styleChanged","keys",["fillStyle"],"values",[h.value],"cells",g.cells));mxEvent.consume(D)});a.appendChild(l);a.appendChild(n);l=this.getCustomColors();for(p=0;p<l.length;p++)a.appendChild(this.createCellColorOption(l[p].title,
-l[p].key,l[p].defaultValue));return a};StyleFormatPanel.prototype.getCustomColors=function(){var a=[];this.editorUi.getSelectionState().swimlane&&a.push({title:mxResources.get("laneColor"),key:"swimlaneFillColor",defaultValue:"default"});return a};
-StyleFormatPanel.prototype.addStroke=function(a){function b(L){var ea=e.fromUnit(parseFloat(K.value));ea=Math.min(999,Math.max(0,isNaN(ea)?1:ea));ea!=mxUtils.getValue(h.style,mxConstants.STYLE_STROKEWIDTH,1)&&(f.setCellStyles(mxConstants.STYLE_STROKEWIDTH,ea,h.cells),g.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_STROKEWIDTH],"values",[ea],"cells",h.cells)));K.value=e.inUnit(ea)+" "+e.getUnit();mxEvent.consume(L)}function d(L){var ea=e.fromUnit(parseFloat(I.value));ea=Math.min(999,
-Math.max(0,isNaN(ea)?1:ea));ea!=mxUtils.getValue(h.style,mxConstants.STYLE_STROKEWIDTH,1)&&(f.setCellStyles(mxConstants.STYLE_STROKEWIDTH,ea,h.cells),g.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_STROKEWIDTH],"values",[ea],"cells",h.cells)));I.value=e.inUnit(ea)+" "+e.getUnit();mxEvent.consume(L)}var e=this,g=this.editorUi,f=g.editor.graph,h=g.getSelectionState();a.style.paddingTop="6px";a.style.paddingBottom="4px";a.style.whiteSpace="normal";var n=document.createElement("div");
-n.style.fontWeight="bold";h.stroke||(n.style.display="none");var q=document.createElement("select");q.style.position="absolute";q.style.height="22px";q.style.padding="0px";q.style.marginTop="-3px";q.style.textAlign="center";q.style.boxSizing="border-box";q.style.left="90px";q.style.width="83px";q.style.borderWidth="1px";q.style.borderStyle="solid";for(var l=["sharp","rounded","curved"],p=0;p<l.length;p++){var w=document.createElement("option");w.setAttribute("value",l[p]);mxUtils.write(w,mxResources.get(l[p]));
-q.appendChild(w)}mxEvent.addListener(q,"change",function(L){f.getModel().beginUpdate();try{var ea=[mxConstants.STYLE_ROUNDED,mxConstants.STYLE_CURVED],sa=["0","0"];"rounded"==q.value?sa=["1","0"]:"curved"==q.value&&(sa=["0","1"]);for(var va=0;va<ea.length;va++)f.setCellStyles(ea[va],sa[va],h.cells);g.fireEvent(new mxEventObject("styleChanged","keys",ea,"values",sa,"cells",h.cells))}finally{f.getModel().endUpdate()}mxEvent.consume(L)});mxEvent.addListener(q,"click",function(L){mxEvent.consume(L)});
-var z="image"==h.style.shape?mxConstants.STYLE_IMAGE_BORDER:mxConstants.STYLE_STROKECOLOR;l="image"==h.style.shape?mxResources.get("border"):mxResources.get("line");l=this.createCellColorOption(l,z,"default",null,mxUtils.bind(this,function(L){f.setCellStyles(z,L,h.cells);if(null==L||L==mxConstants.NONE){L=[];for(var ea=0;ea<h.cells.length;ea++)(f.isTableCell(h.cells[ea])||f.isTableRow(h.cells[ea]))&&L.push(h.cells[ea]);0<L.length&&f.setCellStyles(z,"inherit",L)}}),f.shapeForegroundColor);l.appendChild(q);
-n.appendChild(l);var C=n.cloneNode(!1);C.style.display="inline-flex";C.style.alignItems="top";C.style.fontWeight="normal";C.style.whiteSpace="nowrap";C.style.position="relative";C.style.paddingLeft="5px";C.style.overflow="hidden";C.style.marginTop="2px";C.style.width="220px";var F=mxUtils.bind(this,function(L,ea,sa,va,Ua){L=this.editorUi.menus.styleChange(L,"",va,Ua,"geIcon",null);va=document.createElement("div");va.style.width=ea+"px";va.style.height="1px";va.style.borderBottom="1px "+sa+" "+this.defaultStrokeColor;
-va.style.paddingTop="6px";L.firstChild.firstChild.style.padding="0px 4px 0px 4px";L.firstChild.firstChild.style.width=ea+"px";L.firstChild.firstChild.appendChild(va);return L});p=this.editorUi.toolbar.addMenuFunctionInContainer(C,"geSprite-orthogonal",mxResources.get("pattern"),!1,mxUtils.bind(this,function(L){F(L,75,"solid",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],[null,null]).setAttribute("title",mxResources.get("solid"));F(L,75,"dashed",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],
-["1",null]).setAttribute("title",mxResources.get("dashed")+" (1)");F(L,75,"dashed",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","8 8"]).setAttribute("title",mxResources.get("dashed")+" (2)");F(L,75,"dashed",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","12 12"]).setAttribute("title",mxResources.get("dashed")+" (3)");F(L,75,"dotted",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","1 1"]).setAttribute("title",mxResources.get("dotted")+" (1)");F(L,75,
-"dotted",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","1 2"]).setAttribute("title",mxResources.get("dotted")+" (2)");F(L,75,"dotted",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","1 4"]).setAttribute("title",mxResources.get("dotted")+" (3)")}));var D=C.cloneNode(!1),G=this.editorUi.toolbar.addMenuFunctionInContainer(D,"geSprite-connection",mxResources.get("connection"),!1,mxUtils.bind(this,function(L){this.editorUi.menus.styleChange(L,"",[mxConstants.STYLE_SHAPE,
-mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,"width"],[null,null,null,null],"geIcon geSprite geSprite-connection",null,null,null,!0).setAttribute("title",mxResources.get("line"));this.editorUi.menus.styleChange(L,"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,"width"],["link",null,null,null],"geIcon geSprite geSprite-linkedge",null,null,null,!0).setAttribute("title",mxResources.get("link"));this.editorUi.menus.styleChange(L,"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,
-mxConstants.STYLE_ENDSIZE,"width"],["flexArrow",null,null,null],"geIcon geSprite geSprite-arrow",null,null,null,!0).setAttribute("title",mxResources.get("arrow"));this.editorUi.menus.styleChange(L,"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,"width"],["arrow",null,null,null],"geIcon geSprite geSprite-simplearrow",null,null,null,!0).setAttribute("title",mxResources.get("simpleArrow"))}));w=this.editorUi.toolbar.addMenuFunctionInContainer(D,"geSprite-orthogonal",
-mxResources.get("pattern"),!1,mxUtils.bind(this,function(L){F(L,33,"solid",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],[null,null]).setAttribute("title",mxResources.get("solid"));F(L,33,"dashed",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1",null]).setAttribute("title",mxResources.get("dashed")+" (1)");F(L,33,"dashed",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","8 8"]).setAttribute("title",mxResources.get("dashed")+" (2)");F(L,33,"dashed",[mxConstants.STYLE_DASHED,
-mxConstants.STYLE_DASH_PATTERN],["1","12 12"]).setAttribute("title",mxResources.get("dashed")+" (3)");F(L,33,"dotted",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","1 1"]).setAttribute("title",mxResources.get("dotted")+" (1)");F(L,33,"dotted",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","1 2"]).setAttribute("title",mxResources.get("dotted")+" (2)");F(L,33,"dotted",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","1 4"]).setAttribute("title",mxResources.get("dotted")+
-" (3)")}));l=C.cloneNode(!1);var K=document.createElement("input");K.style.position="absolute";K.style.textAlign="right";K.style.marginTop="2px";K.style.width="52px";K.style.height="22px";K.style.left="146px";K.style.borderWidth="1px";K.style.borderStyle="solid";K.style.boxSizing="border-box";K.setAttribute("title",mxResources.get("linewidth"));C.appendChild(K);var I=K.cloneNode(!0);D.appendChild(I);var O=this.createStepper(K,b,this.getUnitStep(),9,null,null,this.isFloatUnit());O.style.display=K.style.display;
-O.style.top="2px";O.style.left="198px";C.appendChild(O);O=this.createStepper(I,d,this.getUnitStep(),9,null,null,this.isFloatUnit());O.style.display=I.style.display;I.style.position="absolute";O.style.top="2px";O.style.left="198px";D.appendChild(O);mxEvent.addListener(K,"blur",b);mxEvent.addListener(K,"change",b);mxEvent.addListener(I,"blur",d);mxEvent.addListener(I,"change",d);var H=this.editorUi.toolbar.addMenuFunctionInContainer(l,"geSprite-orthogonal",mxResources.get("waypoints"),!1,mxUtils.bind(this,
-function(L){"arrow"!=h.style.shape&&(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],[null,null,null],"geIcon geSprite geSprite-straight",null,!0).setAttribute("title",mxResources.get("straight")),this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["orthogonalEdgeStyle",null,null],"geIcon geSprite geSprite-orthogonal",null,!0).setAttribute("title",mxResources.get("orthogonal")),
-this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["elbowEdgeStyle",null,null,null],"geIcon geSprite geSprite-horizontalelbow",null,!0).setAttribute("title",mxResources.get("vertical")),this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["elbowEdgeStyle","vertical",null,null],"geIcon geSprite geSprite-verticalelbow",
-null,!0).setAttribute("title",mxResources.get("horizontal")),this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["isometricEdgeStyle",null,null,null],"geIcon geSprite geSprite-horizontalisometric",null,!0).setAttribute("title",mxResources.get("isometric")),this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["isometricEdgeStyle",
-"vertical",null,null],"geIcon geSprite geSprite-verticalisometric",null,!0).setAttribute("title",mxResources.get("isometric")),"connector"==h.style.shape&&this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["orthogonalEdgeStyle","1",null],"geIcon geSprite geSprite-curved",null,!0).setAttribute("title",mxResources.get("curved")),this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],
-["entityRelationEdgeStyle",null,null],"geIcon geSprite geSprite-entity",null,!0).setAttribute("title",mxResources.get("entityRelation")))})),Z=this.editorUi.toolbar.addMenuFunctionInContainer(l,"geSprite-startclassic",mxResources.get("linestart"),!1,mxUtils.bind(this,function(L){if("connector"==h.style.shape||"flexArrow"==h.style.shape||"filledEdge"==h.style.shape||"wire"==h.style.shape){var ea=this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.NONE,0],
-"geIcon",null,!1);ea.setAttribute("title",mxResources.get("none"));var sa=document.createElement("span");sa.style.fontSize="11px";mxUtils.write(sa,mxResources.get("none"));ea.firstChild.firstChild.appendChild(sa);"connector"==h.style.shape||"filledEdge"==h.style.shape||"wire"==h.style.shape?(Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_CLASSIC,1],null,null,!1,Format.classicFilledMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,
-"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_CLASSIC_THIN,1],null,null,!1,Format.classicThinFilledMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_OPEN,0],null,null,!1,Format.openFilledMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_OPEN_THIN,0],null,null,!1,Format.openThinFilledMarkerImage.src)),
-Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],["openAsync",0],null,null,!1,Format.openAsyncFilledMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_BLOCK,1],null,null,!1,Format.blockFilledMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_BLOCK_THIN,1],null,
-null,!1,Format.blockThinFilledMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],["async",1],null,null,!1,Format.asyncFilledMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_OVAL,1],null,null,!1,Format.ovalFilledMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],
-[mxConstants.ARROW_DIAMOND,1],null,null,!1,Format.diamondFilledMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_DIAMOND_THIN,1],null,null,!1,Format.diamondThinFilledMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_CLASSIC,0],null,null,!1,Format.classicMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,
-"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_CLASSIC_THIN,0],null,null,!1,Format.classicThinMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_BLOCK,0],null,null,!1,Format.blockMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_BLOCK_THIN,0],null,null,!1,Format.blockThinMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,
-"",[mxConstants.STYLE_STARTARROW,"startFill"],["async",0],null,null,!1,Format.asyncMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_OVAL,0],null,null,!1,Format.ovalMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_DIAMOND,0],null,null,!1,Format.diamondMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,
-"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_DIAMOND_THIN,0],null,null,!1,Format.diamondThinMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],["box",0],null,null,!1,Format.boxMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],["halfCircle",0],null,null,!1,Format.halfCircleMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,
-"",[mxConstants.STYLE_STARTARROW,"startFill"],["dash",0],null,null,!1,Format.dashMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],["cross",0],null,null,!1,Format.crossMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],["circlePlus",0],null,null,!1,Format.circlePlusMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,
-"startFill"],["circle",1],null,null,!1,Format.circleMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],["baseDash",0],null,null,!1,Format.baseDashMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],["ERone",0],null,null,!1,Format.EROneMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],
-["ERmandOne",0],null,null,!1,Format.ERmandOneMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],["ERmany",0],null,null,!1,Format.ERmanyMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],["ERoneToMany",0],null,null,!1,Format.ERoneToManyMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],
-["ERzeroToOne",0],null,null,!1,Format.ERzeroToOneMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],["ERzeroToMany",0],null,null,!1,Format.ERzeroToManyMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,"startFill"],["doubleBlock",0],null,null,!1,Format.doubleBlockMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW,
-"startFill"],["doubleBlock",1],null,null,!1,Format.doubleBlockFilledMarkerImage.src))):this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_STARTARROW],[mxConstants.ARROW_BLOCK],"geIcon geSprite geSprite-startblocktrans",null,!1).setAttribute("title",mxResources.get("block"));L.div.style.width="40px";window.setTimeout(mxUtils.bind(this,function(){null!=L.div&&mxUtils.fit(L.div)}),0)}})),S=this.editorUi.toolbar.addMenuFunctionInContainer(l,"geSprite-endclassic",mxResources.get("lineend"),!1,
-mxUtils.bind(this,function(L){if("connector"==h.style.shape||"flexArrow"==h.style.shape||"filledEdge"==h.style.shape||"wire"==h.style.shape){var ea=this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.NONE,0],"geIcon",null,!1);ea.setAttribute("title",mxResources.get("none"));var sa=document.createElement("span");sa.style.fontSize="11px";mxUtils.write(sa,mxResources.get("none"));ea.firstChild.firstChild.appendChild(sa);"connector"==h.style.shape||"filledEdge"==
-h.style.shape||"wire"==h.style.shape?(Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_CLASSIC,1],null,null,!1,Format.classicFilledMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_CLASSIC_THIN,1],null,null,!1,Format.classicThinFilledMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,
-"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_OPEN,0],null,null,!1,Format.openFilledMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_OPEN_THIN,0],null,null,!1,Format.openThinFilledMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,"endFill"],["openAsync",0],null,null,!1,Format.openAsyncFilledMarkerImage.src),
-"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_BLOCK,1],null,null,!1,Format.blockFilledMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_BLOCK_THIN,1],null,null,!1,Format.blockThinFilledMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,
-"endFill"],["async",1],null,null,!1,Format.asyncFilledMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_OVAL,1],null,null,!1,Format.ovalFilledMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_DIAMOND,1],null,null,!1,Format.diamondFilledMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,
-"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_DIAMOND_THIN,1],null,null,!1,Format.diamondThinFilledMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_CLASSIC,0],null,null,!1,Format.classicMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_CLASSIC_THIN,0],null,null,!1,Format.classicThinMarkerImage.src),
-"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_BLOCK,0],null,null,!1,Format.blockMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_BLOCK_THIN,0],null,null,!1,Format.blockThinMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,"endFill"],["async",
-0],null,null,!1,Format.asyncMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_OVAL,0],null,null,!1,Format.ovalMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_DIAMOND,0],null,null,!1,Format.diamondMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,
-"endFill"],[mxConstants.ARROW_DIAMOND_THIN,0],null,null,!1,Format.diamondThinMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,"endFill"],["box",0],null,null,!1,Format.boxMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,"endFill"],["halfCircle",0],null,null,!1,Format.halfCircleMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,
-"",[mxConstants.STYLE_ENDARROW,"endFill"],["dash",0],null,null,!1,Format.dashMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,"endFill"],["cross",0],null,null,!1,Format.crossMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,"endFill"],["circlePlus",0],null,null,!1,Format.circlePlusMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,
-"",[mxConstants.STYLE_ENDARROW,"endFill"],["circle",0],null,null,!1,Format.circleMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,"endFill"],["baseDash",0],null,null,!1,Format.baseDashMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,"endFill"],["ERone",0],null,null,!1,Format.EROneMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,
-"",[mxConstants.STYLE_ENDARROW,"endFill"],["ERmandOne",0],null,null,!1,Format.ERmandOneMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,"endFill"],["ERmany",0],null,null,!1,Format.ERmanyMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,"endFill"],["ERoneToMany",0],null,null,!1,Format.ERoneToManyMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,
-"",[mxConstants.STYLE_ENDARROW,"endFill"],["ERzeroToOne",0],null,null,!1,Format.ERzeroToOneMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,"endFill"],["ERzeroToMany",0],null,null,!1,Format.ERzeroToManyMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW,"endFill"],["doubleBlock",0],null,null,!1,Format.doubleBlockMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(L,
-"",[mxConstants.STYLE_ENDARROW,"endFill"],["doubleBlock",1],null,null,!1,Format.doubleBlockFilledMarkerImage.src),"scaleX(-1)")):this.editorUi.menus.edgeStyleChange(L,"",[mxConstants.STYLE_ENDARROW],[mxConstants.ARROW_BLOCK],"geIcon geSprite geSprite-endblocktrans",null,!1).setAttribute("title",mxResources.get("block"));L.div.style.width="40px";window.setTimeout(mxUtils.bind(this,function(){null!=L.div&&mxUtils.fit(L.div)}),0)}}));this.addArrow(G);this.addArrow(H).style.marginTop="-1px";this.addArrow(Z);
-this.addArrow(S);O=this.addArrow(p);O.className="geIcon";p.style.width="134px";p=this.addArrow(w);p.className="geIcon";p.style.width="22px";var X=document.createElement("div");X.style.width="102px";X.style.height="10px";X.style.borderBottom="1px solid "+this.defaultStrokeColor;X.style.marginLeft="10px";O.appendChild(X);var Y=document.createElement("div");Y.style.width="30px";Y.style.height="10px";Y.style.borderBottom="1px solid "+this.defaultStrokeColor;Y.style.marginLeft="10px";p.appendChild(Y);
-a.appendChild(n);a.appendChild(D);a.appendChild(C);p=C.cloneNode(!1);p.style.display="block";p.style.padding="5px 4px 6px 0px";p.style.fontWeight="normal";w=document.createElement("div");w.style.position="absolute";w.style.maxWidth="78px";w.style.overflow="hidden";w.style.textOverflow="ellipsis";w.style.marginLeft="0px";w.style.marginBottom="12px";w.style.marginTop="2px";w.style.fontWeight="normal";mxUtils.write(w,mxResources.get("lineend"));p.appendChild(w);var M=this.addUnitInput(p,this.getUnit(),
-98,52,function(){ra.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),U=this.addUnitInput(p,this.getUnit(),30,52,function(){ca.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());mxUtils.br(p);O=document.createElement("div");O.style.height="8px";p.appendChild(O);w=w.cloneNode(!1);mxUtils.write(w,mxResources.get("linestart"));p.appendChild(w);var ba=this.addUnitInput(p,this.getUnit(),98,52,function(){V.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),
-ja=this.addUnitInput(p,this.getUnit(),30,52,function(){W.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());mxUtils.br(p);this.addLabel(p,mxResources.get("spacing"),98,64).style.fontSize="11px";this.addLabel(p,mxResources.get("size"),30,64).style.fontSize="11px";mxUtils.br(p);n=n.cloneNode(!1);n.style.fontWeight="normal";n.style.position="relative";n.style.paddingLeft="16px";n.style.marginBottom="2px";n.style.marginTop="6px";n.style.borderWidth="0px";n.style.paddingBottom="18px";
-w=document.createElement("div");w.style.position="absolute";w.style.marginLeft="3px";w.style.marginBottom="12px";w.style.marginTop="1px";w.style.fontWeight="normal";w.style.width="120px";mxUtils.write(w,mxResources.get("perimeter"));n.appendChild(w);var pa=this.addUnitInput(n,this.getUnit(),30,52,function(){oa.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());h.edges.length==h.cells.length?(a.appendChild(l),a.appendChild(p)):h.vertices.length==h.cells.length&&a.appendChild(n);
-var P=mxUtils.bind(this,function(L,ea,sa){function va(Ua,ma,Fa,Ia){Fa=Fa.getElementsByTagName("div")[0];null!=Fa&&g.updateCssForMarker(Fa,Ia,h.style.shape,Ua,ma);return Fa}h=g.getSelectionState();if(sa||document.activeElement!=K)L=parseFloat(mxUtils.getValue(h.style,mxConstants.STYLE_STROKEWIDTH,1)),K.value=isNaN(L)?"":this.inUnit(L)+" "+this.getUnit();if(sa||document.activeElement!=I)L=parseFloat(mxUtils.getValue(h.style,mxConstants.STYLE_STROKEWIDTH,1)),I.value=isNaN(L)?"":this.inUnit(L)+" "+this.getUnit();
-q.style.visibility="connector"==h.style.shape||"filledEdge"==h.style.shape||"wire"==h.style.shape?"":"hidden";"1"==mxUtils.getValue(h.style,mxConstants.STYLE_CURVED,null)?q.value="curved":"1"==mxUtils.getValue(h.style,mxConstants.STYLE_ROUNDED,null)&&(q.value="rounded");"1"==mxUtils.getValue(h.style,mxConstants.STYLE_DASHED,null)?null==mxUtils.getValue(h.style,mxConstants.STYLE_DASH_PATTERN,null)||"1 "!=String(mxUtils.getValue(h.style,mxConstants.STYLE_DASH_PATTERN,"")).substring(0,2)?X.style.borderBottom=
-"1px dashed "+this.defaultStrokeColor:X.style.borderBottom="1px dotted "+this.defaultStrokeColor:X.style.borderBottom="1px solid "+this.defaultStrokeColor;Y.style.borderBottom=X.style.borderBottom;L=H.getElementsByTagName("div")[0];null!=L&&(ea=mxUtils.getValue(h.style,mxConstants.STYLE_EDGE,null),"1"==mxUtils.getValue(h.style,mxConstants.STYLE_NOEDGESTYLE,null)&&(ea=null),"orthogonalEdgeStyle"==ea&&"1"==mxUtils.getValue(h.style,mxConstants.STYLE_CURVED,null)?L.className="geSprite geSprite-curved":
-L.className="straight"==ea||"none"==ea||null==ea?"geSprite geSprite-straight":"entityRelationEdgeStyle"==ea?"geSprite geSprite-entity":"elbowEdgeStyle"==ea?"geSprite "+("vertical"==mxUtils.getValue(h.style,mxConstants.STYLE_ELBOW,null)?"geSprite-verticalelbow":"geSprite-horizontalelbow"):"isometricEdgeStyle"==ea?"geSprite "+("vertical"==mxUtils.getValue(h.style,mxConstants.STYLE_ELBOW,null)?"geSprite-verticalisometric":"geSprite-horizontalisometric"):"geSprite geSprite-orthogonal");L=G.getElementsByTagName("div")[0];
-null!=L&&(L.className="link"==h.style.shape?"geSprite geSprite-linkedge":"flexArrow"==h.style.shape?"geSprite geSprite-arrow":"arrow"==h.style.shape?"geSprite geSprite-simplearrow":"geSprite geSprite-connection");h.edges.length==h.cells.length?(D.style.display="",C.style.display="none"):(D.style.display="none",C.style.display="");Graph.lineJumpsEnabled&&0<h.edges.length&&0==h.vertices.length&&h.lineJumps&&(a.style.borderBottomStyle="none");L=va(mxUtils.getValue(h.style,mxConstants.STYLE_STARTARROW,
-null),mxUtils.getValue(h.style,"startFill","1"),Z,"start");ea=va(mxUtils.getValue(h.style,mxConstants.STYLE_ENDARROW,null),mxUtils.getValue(h.style,"endFill","1"),S,"end");null!=L&&null!=ea&&("arrow"==h.style.shape?(L.className="geSprite geSprite-noarrow",ea.className="geSprite geSprite-endblocktrans"):"link"==h.style.shape&&(L.className="geSprite geSprite-noarrow",ea.className="geSprite geSprite-noarrow"));mxUtils.setOpacity(H,"arrow"==h.style.shape?30:100);"connector"!=h.style.shape&&"flexArrow"!=
-h.style.shape&&"filledEdge"!=h.style.shape&&"wire"!=h.style.shape?(mxUtils.setOpacity(Z,30),mxUtils.setOpacity(S,30)):(mxUtils.setOpacity(Z,100),mxUtils.setOpacity(S,100));if(sa||document.activeElement!=ja)L=parseInt(mxUtils.getValue(h.style,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_MARKERSIZE)),ja.value=isNaN(L)?"":this.inUnit(L)+" "+this.getUnit();if(sa||document.activeElement!=ba)L=parseInt(mxUtils.getValue(h.style,mxConstants.STYLE_SOURCE_PERIMETER_SPACING,0)),ba.value=isNaN(L)?"":this.inUnit(L)+
-" "+this.getUnit();if(sa||document.activeElement!=U)L=parseInt(mxUtils.getValue(h.style,mxConstants.STYLE_ENDSIZE,mxConstants.DEFAULT_MARKERSIZE)),U.value=isNaN(L)?"":this.inUnit(L)+" "+this.getUnit();if(sa||document.activeElement!=ba)L=parseInt(mxUtils.getValue(h.style,mxConstants.STYLE_TARGET_PERIMETER_SPACING,0)),M.value=isNaN(L)?"":this.inUnit(L)+" "+this.getUnit();if(sa||document.activeElement!=pa)L=parseInt(mxUtils.getValue(h.style,mxConstants.STYLE_PERIMETER_SPACING,0)),pa.value=isNaN(L)?"":
-this.inUnit(L)+" "+this.getUnit()});var W=this.installInputHandler(ja,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_MARKERSIZE,0,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var V=this.installInputHandler(ba,mxConstants.STYLE_SOURCE_PERIMETER_SPACING,0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var ca=this.installInputHandler(U,mxConstants.STYLE_ENDSIZE,mxConstants.DEFAULT_MARKERSIZE,0,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var ra=this.installInputHandler(M,mxConstants.STYLE_TARGET_PERIMETER_SPACING,
-0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var oa=this.installInputHandler(pa,mxConstants.STYLE_PERIMETER_SPACING,0,0,999,this.getUnit(" "),null,this.isFloatUnit(),!0);this.addKeyHandler(K,P);this.addKeyHandler(ja,P);this.addKeyHandler(ba,P);this.addKeyHandler(U,P);this.addKeyHandler(M,P);this.addKeyHandler(pa,P);f.getModel().addListener(mxEvent.CHANGE,P);this.listeners.push({destroy:function(){f.getModel().removeListener(P)}});P();return a};
-StyleFormatPanel.prototype.addLineJumps=function(a){var b=this.editorUi,d=b.editor.graph,e=b.getSelectionState();if(Graph.lineJumpsEnabled&&0<e.edges.length&&0==e.vertices.length&&e.lineJumps){a.style.padding="2px 0px 24px 14px";var g=document.createElement("div");g.style.position="absolute";g.style.maxWidth="78px";g.style.overflow="hidden";g.style.textOverflow="ellipsis";mxUtils.write(g,mxResources.get("lineJumps"));a.appendChild(g);var f=document.createElement("select");f.style.position="absolute";
-f.style.height="21px";f.style.padding="0px";f.style.marginTop="-2px";f.style.boxSizing="border-box";f.style.textAlign="center";f.style.right="84px";f.style.width="64px";f.style.borderWidth="1px";f.style.borderStyle="solid";g=["none","arc","gap","sharp","line"];for(var h=0;h<g.length;h++){var n=document.createElement("option");n.setAttribute("value",g[h]);mxUtils.write(n,mxResources.get(g[h]));f.appendChild(n)}mxEvent.addListener(f,"change",function(w){d.getModel().beginUpdate();try{d.setCellStyles("jumpStyle",
-f.value,e.cells),b.fireEvent(new mxEventObject("styleChanged","keys",["jumpStyle"],"values",[f.value],"cells",e.cells))}finally{d.getModel().endUpdate()}mxEvent.consume(w)});mxEvent.addListener(f,"click",function(w){mxEvent.consume(w)});a.appendChild(f);var q=this.addUnitInput(a,this.getUnit(),16,52,function(){l.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());var l=this.installInputHandler(q,"jumpSize",Graph.defaultJumpSize,0,999,this.getUnit(" "),null,this.isFloatUnit(),!0);
-var p=mxUtils.bind(this,function(w,z,C){e=b.getSelectionState();f.value=mxUtils.getValue(e.style,"jumpStyle","none");if(C||document.activeElement!=q)w=parseInt(mxUtils.getValue(e.style,"jumpSize",Graph.defaultJumpSize)),q.value=isNaN(w)?"":this.inUnit(w)+" "+this.getUnit()});this.addKeyHandler(q,p);d.getModel().addListener(mxEvent.CHANGE,p);this.listeners.push({destroy:function(){d.getModel().removeListener(p)}});p()}else a.style.display="none";return a};
-StyleFormatPanel.prototype.addEffects=function(a){var b=this.editorUi,d=b.editor.graph,e=b.getSelectionState();a.style.paddingTop="4px";a.style.paddingBottom="4px";var g=document.createElement("table");g.style.width="210px";g.style.fontWeight="bold";g.style.tableLayout="fixed";var f=document.createElement("tbody"),h=document.createElement("tr");h.style.padding="0px";var n=document.createElement("td");n.style.padding="0px";n.style.width="50%";n.setAttribute("valign","top");var q=n.cloneNode(!0);q.style.paddingLeft=
-"8px";h.appendChild(n);h.appendChild(q);f.appendChild(h);g.appendChild(f);a.appendChild(g);var l=n,p=mxUtils.bind(this,function(z,C,F,D){z=this.createCellOption(z,C,F,null,null,D);z.style.width="100%";l.appendChild(z);l=l==n?q:n;return z}),w=mxUtils.bind(this,function(z,C,F){e=b.getSelectionState();n.innerText="";q.innerText="";l=n;e.rounded&&p(mxResources.get("rounded"),mxConstants.STYLE_ROUNDED,0);e.swimlane&&p(mxResources.get("divider"),"swimlaneLine",1);p(mxResources.get("sketch"),"sketch",0,
-function(D,G){d.updateCellStyles({sketch:G?"1":null,curveFitting:G?Editor.sketchDefaultCurveFitting:null,jiggle:G?Editor.sketchDefaultJiggle:null},D)});e.glass&&p(mxResources.get("glass"),mxConstants.STYLE_GLASS,0);z=p(mxResources.get("shadow"),mxConstants.STYLE_SHADOW,0);Editor.enableShadowOption||(z.getElementsByTagName("input")[0].setAttribute("disabled","disabled"),mxUtils.setOpacity(z,60));0<e.edges.length&&0==e.vertices.length&&p(mxResources.get("flowAnimation",null,"Flow Animation"),"flowAnimation",
-0)});d.getModel().addListener(mxEvent.CHANGE,w);this.listeners.push({destroy:function(){d.getModel().removeListener(w)}});w();return a};StyleFormatPanel.prototype.addStyleOps=function(a){1==this.editorUi.getSelectionState().cells.length&&this.addActions(a,["setAsDefaultStyle"]);return a};DiagramStylePanel=function(a,b,d){BaseFormatPanel.call(this,a,b,d);this.init()};mxUtils.extend(DiagramStylePanel,BaseFormatPanel);
+StyleFormatPanel.prototype.getCssRules=function(a){var b=document.implementation.createHTMLDocument(""),e=document.createElement("style");mxUtils.setTextContent(e,a);b.body.appendChild(e);return e.sheet.cssRules};
+StyleFormatPanel.prototype.addSvgStyles=function(a){var b=this.editorUi.getSelectionState();a.style.paddingTop="6px";a.style.paddingBottom="6px";a.style.fontWeight="bold";a.style.display="none";try{var e=b.style.editableCssRules;if(null!=e){var f=new RegExp(e),h=b.style.image.substring(b.style.image.indexOf(",")+1),d=window.atob?decodeURIComponent(escape(atob(h))):Base64.decode(h,!0),g=mxUtils.parseXml(d);if(null!=g){var n=g.getElementsByTagName("style");for(b=0;b<n.length;b++){var q=this.getCssRules(mxUtils.getTextContent(n[b]));
+for(e=0;e<q.length;e++)this.addSvgRule(a,q[e],g,n[b],q,e,f)}}}}catch(k){}return a};
+StyleFormatPanel.prototype.addSvgRule=function(a,b,e,f,h,d,g){var n=this.editorUi,q=n.editor.graph;g.test(b.selectorText)&&(g=mxUtils.bind(this,function(k,p,w){var z=mxUtils.trim(k.style[p]);""!=z&&"url("!=z.substring(0,4)&&(k=this.createColorOption(w+" "+k.selectorText,function(){var C=z;return(C=C.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i))&&4===C.length?"#"+("0"+parseInt(C[1],10).toString(16)).slice(-2)+("0"+parseInt(C[2],10).toString(16)).slice(-2)+("0"+parseInt(C[3],
+10).toString(16)).slice(-2):""},mxUtils.bind(this,function(C){h[d].style[p]=C;C="";for(var F=0;F<h.length;F++)C+=h[F].cssText+" ";f.textContent=C;C=mxUtils.getXml(e.documentElement);q.setCellStyles(mxConstants.STYLE_IMAGE,"data:image/svg+xml,"+(window.btoa?btoa(unescape(encodeURIComponent(C))):Base64.encode(C,!0)),n.getSelectionState().cells)}),"#ffffff",{install:function(C){},destroy:function(){}}),a.appendChild(k),a.style.display="")}),g(b,"fill",mxResources.get("fill")),g(b,"stroke",mxResources.get("line")),
+g(b,"stop-color",mxResources.get("gradient")))};
+StyleFormatPanel.prototype.addEditOps=function(a){var b=this.editorUi.getSelectionState();if(1==b.cells.length){var e=document.createElement("select");e.style.width="210px";e.style.textAlign="center";e.style.marginBottom="2px";var f="edit copyAsText editLink editShape editImage editData copyData pasteData editConnectionPoints editGeometry editTooltip editStyle".split(" "),h=null;if(null!=this.editorUi.sidebar){var d=this.editorUi.sidebar.getKeyStyle(b.cells[0].style);h=this.editorUi.sidebar.getLibsForStyle(d);
+null!=h||this.editorUi.sidebar.isSearchIndexLoaded()||null==b.style.shape||"mxgraph."!=String(b.style.shape).substring(0,8)||(h=[])}null!=h&&f.push("openLibrary");for(d=0;d<f.length;d++){var g=this.editorUi.actions.get(f[d]);if(null==g||g.enabled){var n=document.createElement("option");n.setAttribute("value",f[d]);var q=mxResources.get(f[d]);mxUtils.write(n,q+("edit"==f[d]?"":"..."));null!=g&&null!=g.shortcut&&(q+=" ("+g.shortcut+")");n.setAttribute("title",q);e.appendChild(n)}}1<e.children.length&&
+(a.appendChild(e),mxEvent.addListener(e,"change",mxUtils.bind(this,function(k){"openLibrary"==e.value?(null!=h&&0==h.length&&(this.editorUi.sidebar.updateSearchIndex(),k=this.editorUi.sidebar.getKeyStyle(b.cells[0].style),h=this.editorUi.sidebar.getLibsForStyle(k)),null!=h&&0<h.length?this.editorUi.sidebar.openLibraries(h):this.editorUi.handleError({message:mxResources.get("objectNotFound")}),e.value="edit"):(k=this.editorUi.actions.get(e.value),e.value="edit",null!=k&&k.funct())})),b.image&&(f=this.editorUi.editor.graph,
+f=f.view.getState(f.getSelectionCell()),null!=f&&null!=mxUtils.getValue(f.style,mxConstants.STYLE_IMAGE,null)&&(f=mxUtils.button(mxResources.get("crop")+"...",mxUtils.bind(this,function(k){this.editorUi.actions.get("crop").funct()})),f.setAttribute("title",mxResources.get("crop")),e.style.width="104px",f.style.width="104px",f.style.marginLeft="2px",f.style.marginBottom="2px",a.appendChild(f))))}return a};
+StyleFormatPanel.prototype.addFill=function(a){function b(){g.innerHTML="";C=1;for(var D=0;D<Editor.fillStyles.length;D++){var H=document.createElement("option");H.setAttribute("value",Editor.fillStyles[D].val);mxUtils.write(H,Editor.fillStyles[D].dispName);g.appendChild(H)}}var e=this.editorUi,f=e.editor.graph,h=e.getSelectionState();a.style.paddingTop="6px";a.style.paddingBottom="6px";var d=document.createElement("select");d.style.position="absolute";d.style.left="104px";d.style.width="70px";d.style.height=
+"22px";d.style.padding="0px";d.style.marginTop="-3px";d.style.borderWidth="1px";d.style.borderStyle="solid";d.style.boxSizing="border-box";var g=d.cloneNode(!1);mxEvent.addListener(d,"click",function(D){mxEvent.consume(D)});mxEvent.addListener(g,"click",function(D){mxEvent.consume(D)});var n=this.createCellColorOption(mxResources.get("gradient"),mxConstants.STYLE_GRADIENTCOLOR,"default",function(D){d.style.display=null==D||D==mxConstants.NONE?"none":""},function(D){f.updateCellStyles({gradientColor:D},
+f.getSelectionCells())},f.getDefaultColor(h.style,mxConstants.STYLE_GRADIENTCOLOR,f.shapeForegroundColor,f.shapeBackgroundColor)),q="image"==h.style.shape?mxConstants.STYLE_IMAGE_BACKGROUND:mxConstants.STYLE_FILLCOLOR,k=this.createCellColorOption(mxResources.get("fill"),q,"default",null,mxUtils.bind(this,function(D){f.setCellStyles(q,D,h.cells)}),f.getDefaultColor(h.style,q,f.shapeBackgroundColor,f.shapeForegroundColor));k.style.fontWeight="bold";var p=mxUtils.getValue(h.style,q,null);n.style.display=
+null!=p&&p!=mxConstants.NONE&&h.fill&&"image"!=h.style.shape?"":"none";var w=[mxConstants.DIRECTION_NORTH,mxConstants.DIRECTION_EAST,mxConstants.DIRECTION_SOUTH,mxConstants.DIRECTION_WEST,mxConstants.DIRECTION_RADIAL];for(p=0;p<w.length;p++){var z=document.createElement("option");z.setAttribute("value",w[p]);mxUtils.write(z,mxResources.get(w[p]));d.appendChild(z)}n.appendChild(d);var C;b();h.gradient&&k.appendChild(g);var F=mxUtils.bind(this,function(){h=e.getSelectionState();var D=mxUtils.getValue(h.style,
+mxConstants.STYLE_GRADIENT_DIRECTION,mxConstants.DIRECTION_SOUTH),H=mxUtils.getValue(h.style,"fillStyle","auto");""==D&&(D=mxConstants.DIRECTION_SOUTH);d.value=D;a.style.display=h.fill?"":"none";D=mxUtils.getValue(h.style,q,null);if(h.fill&&null!=D&&D!=mxConstants.NONE&&"filledEdge"!=h.style.shape){if("1"==h.style.sketch){if(2!=C){g.innerHTML="";C=2;for(D=0;D<Editor.roughFillStyles.length;D++){var K=document.createElement("option");K.setAttribute("value",Editor.roughFillStyles[D].val);mxUtils.write(K,
+Editor.roughFillStyles[D].dispName);g.appendChild(K)}g.value="auto"}}else 1!=C&&b();g.value=H;g.value||(H="auto",g.value=H);g.style.display="1"==h.style.sketch||"none"==d.style.display?"":"none";n.style.display=!h.gradient||h.containsImage||"1"==h.style.sketch&&"solid"!=H&&"auto"!=H?"none":""}else g.style.display="none",n.style.display="none"});f.getModel().addListener(mxEvent.CHANGE,F);this.listeners.push({destroy:function(){f.getModel().removeListener(F)}});F();mxEvent.addListener(d,"change",function(D){f.setCellStyles(mxConstants.STYLE_GRADIENT_DIRECTION,
+d.value,h.cells);e.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_GRADIENT_DIRECTION],"values",[d.value],"cells",h.cells));mxEvent.consume(D)});mxEvent.addListener(g,"change",function(D){f.setCellStyles("fillStyle",g.value,h.cells);e.fireEvent(new mxEventObject("styleChanged","keys",["fillStyle"],"values",[g.value],"cells",h.cells));mxEvent.consume(D)});a.appendChild(k);a.appendChild(n);k=this.getCustomColors();for(p=0;p<k.length;p++)a.appendChild(this.createCellColorOption(k[p].title,
+k[p].key,k[p].defaultValue));return a};StyleFormatPanel.prototype.getCustomColors=function(){var a=[];this.editorUi.getSelectionState().swimlane&&a.push({title:mxResources.get("laneColor"),key:"swimlaneFillColor",defaultValue:"default"});return a};
+StyleFormatPanel.prototype.addStroke=function(a){function b(M){var ea=f.fromUnit(parseFloat(K.value));ea=Math.min(999,Math.max(0,isNaN(ea)?1:ea));ea!=mxUtils.getValue(g.style,mxConstants.STYLE_STROKEWIDTH,1)&&(d.setCellStyles(mxConstants.STYLE_STROKEWIDTH,ea,g.cells),h.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_STROKEWIDTH],"values",[ea],"cells",g.cells)));K.value=f.inUnit(ea)+" "+f.getUnit();mxEvent.consume(M)}function e(M){var ea=f.fromUnit(parseFloat(G.value));ea=Math.min(999,
+Math.max(0,isNaN(ea)?1:ea));ea!=mxUtils.getValue(g.style,mxConstants.STYLE_STROKEWIDTH,1)&&(d.setCellStyles(mxConstants.STYLE_STROKEWIDTH,ea,g.cells),h.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_STROKEWIDTH],"values",[ea],"cells",g.cells)));G.value=f.inUnit(ea)+" "+f.getUnit();mxEvent.consume(M)}var f=this,h=this.editorUi,d=h.editor.graph,g=h.getSelectionState();a.style.paddingTop="6px";a.style.paddingBottom="4px";a.style.whiteSpace="normal";var n=document.createElement("div");
+n.style.fontWeight="bold";g.stroke||(n.style.display="none");var q=document.createElement("select");q.style.position="absolute";q.style.height="22px";q.style.padding="0px";q.style.marginTop="-3px";q.style.textAlign="center";q.style.boxSizing="border-box";q.style.left="90px";q.style.width="83px";q.style.borderWidth="1px";q.style.borderStyle="solid";for(var k=["sharp","rounded","curved"],p=0;p<k.length;p++){var w=document.createElement("option");w.setAttribute("value",k[p]);mxUtils.write(w,mxResources.get(k[p]));
+q.appendChild(w)}mxEvent.addListener(q,"change",function(M){d.getModel().beginUpdate();try{var ea=[mxConstants.STYLE_ROUNDED,mxConstants.STYLE_CURVED],ra=["0","0"];"rounded"==q.value?ra=["1","0"]:"curved"==q.value&&(ra=["0","1"]);for(var ta=0;ta<ea.length;ta++)d.setCellStyles(ea[ta],ra[ta],g.cells);h.fireEvent(new mxEventObject("styleChanged","keys",ea,"values",ra,"cells",g.cells))}finally{d.getModel().endUpdate()}mxEvent.consume(M)});mxEvent.addListener(q,"click",function(M){mxEvent.consume(M)});
+var z="image"==g.style.shape?mxConstants.STYLE_IMAGE_BORDER:mxConstants.STYLE_STROKECOLOR;k="image"==g.style.shape?mxResources.get("border"):mxResources.get("line");k=this.createCellColorOption(k,z,"default",null,mxUtils.bind(this,function(M){d.setCellStyles(z,M,g.cells);if(null==M||M==mxConstants.NONE){M=[];for(var ea=0;ea<g.cells.length;ea++)(d.isTableCell(g.cells[ea])||d.isTableRow(g.cells[ea]))&&M.push(g.cells[ea]);0<M.length&&d.setCellStyles(z,"inherit",M)}}),d.shapeForegroundColor);k.appendChild(q);
+n.appendChild(k);var C=n.cloneNode(!1);C.style.display="inline-flex";C.style.alignItems="top";C.style.fontWeight="normal";C.style.whiteSpace="nowrap";C.style.position="relative";C.style.paddingLeft="5px";C.style.overflow="hidden";C.style.marginTop="2px";C.style.width="220px";var F=mxUtils.bind(this,function(M,ea,ra,ta,Sa){M=this.editorUi.menus.styleChange(M,"",ta,Sa,"geIcon",null);ta=document.createElement("div");ta.style.width=ea+"px";ta.style.height="1px";ta.style.borderBottom="1px "+ra+" "+this.defaultStrokeColor;
+ta.style.paddingTop="6px";M.firstChild.firstChild.style.padding="0px 4px 0px 4px";M.firstChild.firstChild.style.width=ea+"px";M.firstChild.firstChild.appendChild(ta);return M});p=this.editorUi.toolbar.addMenuFunctionInContainer(C,"geSprite-orthogonal",mxResources.get("pattern"),!1,mxUtils.bind(this,function(M){F(M,75,"solid",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],[null,null]).setAttribute("title",mxResources.get("solid"));F(M,75,"dashed",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],
+["1",null]).setAttribute("title",mxResources.get("dashed")+" (1)");F(M,75,"dashed",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","8 8"]).setAttribute("title",mxResources.get("dashed")+" (2)");F(M,75,"dashed",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","12 12"]).setAttribute("title",mxResources.get("dashed")+" (3)");F(M,75,"dotted",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","1 1"]).setAttribute("title",mxResources.get("dotted")+" (1)");F(M,75,
+"dotted",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","1 2"]).setAttribute("title",mxResources.get("dotted")+" (2)");F(M,75,"dotted",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","1 4"]).setAttribute("title",mxResources.get("dotted")+" (3)")}));var D=C.cloneNode(!1),H=this.editorUi.toolbar.addMenuFunctionInContainer(D,"geSprite-connection",mxResources.get("connection"),!1,mxUtils.bind(this,function(M){this.editorUi.menus.styleChange(M,"",[mxConstants.STYLE_SHAPE,
+mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,"width"],[null,null,null,null],"geIcon geSprite geSprite-connection",null,null,null,!0).setAttribute("title",mxResources.get("line"));this.editorUi.menus.styleChange(M,"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,"width"],["link",null,null,null],"geIcon geSprite geSprite-linkedge",null,null,null,!0).setAttribute("title",mxResources.get("link"));this.editorUi.menus.styleChange(M,"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,
+mxConstants.STYLE_ENDSIZE,"width"],["flexArrow",null,null,null],"geIcon geSprite geSprite-arrow",null,null,null,!0).setAttribute("title",mxResources.get("arrow"));this.editorUi.menus.styleChange(M,"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,"width"],["arrow",null,null,null],"geIcon geSprite geSprite-simplearrow",null,null,null,!0).setAttribute("title",mxResources.get("simpleArrow"))}));w=this.editorUi.toolbar.addMenuFunctionInContainer(D,"geSprite-orthogonal",
+mxResources.get("pattern"),!1,mxUtils.bind(this,function(M){F(M,33,"solid",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],[null,null]).setAttribute("title",mxResources.get("solid"));F(M,33,"dashed",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1",null]).setAttribute("title",mxResources.get("dashed")+" (1)");F(M,33,"dashed",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","8 8"]).setAttribute("title",mxResources.get("dashed")+" (2)");F(M,33,"dashed",[mxConstants.STYLE_DASHED,
+mxConstants.STYLE_DASH_PATTERN],["1","12 12"]).setAttribute("title",mxResources.get("dashed")+" (3)");F(M,33,"dotted",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","1 1"]).setAttribute("title",mxResources.get("dotted")+" (1)");F(M,33,"dotted",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","1 2"]).setAttribute("title",mxResources.get("dotted")+" (2)");F(M,33,"dotted",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","1 4"]).setAttribute("title",mxResources.get("dotted")+
+" (3)")}));k=C.cloneNode(!1);var K=document.createElement("input");K.style.position="absolute";K.style.textAlign="right";K.style.marginTop="2px";K.style.width="52px";K.style.height="22px";K.style.left="146px";K.style.borderWidth="1px";K.style.borderStyle="solid";K.style.boxSizing="border-box";K.setAttribute("title",mxResources.get("linewidth"));C.appendChild(K);var G=K.cloneNode(!0);D.appendChild(G);var P=this.createStepper(K,b,this.getUnitStep(),9,null,null,this.isFloatUnit());P.style.display=K.style.display;
+P.style.top="2px";P.style.left="198px";C.appendChild(P);P=this.createStepper(G,e,this.getUnitStep(),9,null,null,this.isFloatUnit());P.style.display=G.style.display;G.style.position="absolute";P.style.top="2px";P.style.left="198px";D.appendChild(P);mxEvent.addListener(K,"blur",b);mxEvent.addListener(K,"change",b);mxEvent.addListener(G,"blur",e);mxEvent.addListener(G,"change",e);var I=this.editorUi.toolbar.addMenuFunctionInContainer(k,"geSprite-orthogonal",mxResources.get("waypoints"),!1,mxUtils.bind(this,
+function(M){"arrow"!=g.style.shape&&(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],[null,null,null],"geIcon geSprite geSprite-straight",null,!0).setAttribute("title",mxResources.get("straight")),this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["orthogonalEdgeStyle",null,null],"geIcon geSprite geSprite-orthogonal",null,!0).setAttribute("title",mxResources.get("orthogonal")),
+this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["elbowEdgeStyle",null,null,null],"geIcon geSprite geSprite-horizontalelbow",null,!0).setAttribute("title",mxResources.get("vertical")),this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["elbowEdgeStyle","vertical",null,null],"geIcon geSprite geSprite-verticalelbow",
+null,!0).setAttribute("title",mxResources.get("horizontal")),this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["isometricEdgeStyle",null,null,null],"geIcon geSprite geSprite-horizontalisometric",null,!0).setAttribute("title",mxResources.get("isometric")),this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["isometricEdgeStyle",
+"vertical",null,null],"geIcon geSprite geSprite-verticalisometric",null,!0).setAttribute("title",mxResources.get("isometric")),"connector"==g.style.shape&&this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["orthogonalEdgeStyle","1",null],"geIcon geSprite geSprite-curved",null,!0).setAttribute("title",mxResources.get("curved")),this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],
+["entityRelationEdgeStyle",null,null],"geIcon geSprite geSprite-entity",null,!0).setAttribute("title",mxResources.get("entityRelation")))})),Z=this.editorUi.toolbar.addMenuFunctionInContainer(k,"geSprite-startclassic",mxResources.get("linestart"),!1,mxUtils.bind(this,function(M){if("connector"==g.style.shape||"flexArrow"==g.style.shape||"filledEdge"==g.style.shape||"wire"==g.style.shape){var ea=this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.NONE,0],
+"geIcon",null,!1);ea.setAttribute("title",mxResources.get("none"));var ra=document.createElement("span");ra.style.fontSize="11px";mxUtils.write(ra,mxResources.get("none"));ea.firstChild.firstChild.appendChild(ra);"connector"==g.style.shape||"filledEdge"==g.style.shape||"wire"==g.style.shape?(Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_CLASSIC,1],null,null,!1,Format.classicFilledMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,
+"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_CLASSIC_THIN,1],null,null,!1,Format.classicThinFilledMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_OPEN,0],null,null,!1,Format.openFilledMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_OPEN_THIN,0],null,null,!1,Format.openThinFilledMarkerImage.src)),
+Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],["openAsync",0],null,null,!1,Format.openAsyncFilledMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_BLOCK,1],null,null,!1,Format.blockFilledMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_BLOCK_THIN,1],null,
+null,!1,Format.blockThinFilledMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],["async",1],null,null,!1,Format.asyncFilledMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_OVAL,1],null,null,!1,Format.ovalFilledMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],
+[mxConstants.ARROW_DIAMOND,1],null,null,!1,Format.diamondFilledMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_DIAMOND_THIN,1],null,null,!1,Format.diamondThinFilledMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_CLASSIC,0],null,null,!1,Format.classicMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,
+"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_CLASSIC_THIN,0],null,null,!1,Format.classicThinMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_BLOCK,0],null,null,!1,Format.blockMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_BLOCK_THIN,0],null,null,!1,Format.blockThinMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,
+"",[mxConstants.STYLE_STARTARROW,"startFill"],["async",0],null,null,!1,Format.asyncMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_OVAL,0],null,null,!1,Format.ovalMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_DIAMOND,0],null,null,!1,Format.diamondMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,
+"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_DIAMOND_THIN,0],null,null,!1,Format.diamondThinMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],["box",0],null,null,!1,Format.boxMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],["halfCircle",0],null,null,!1,Format.halfCircleMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,
+"",[mxConstants.STYLE_STARTARROW,"startFill"],["dash",0],null,null,!1,Format.dashMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],["cross",0],null,null,!1,Format.crossMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],["circlePlus",0],null,null,!1,Format.circlePlusMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,
+"startFill"],["circle",1],null,null,!1,Format.circleMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],["baseDash",0],null,null,!1,Format.baseDashMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],["ERone",0],null,null,!1,Format.EROneMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],
+["ERmandOne",0],null,null,!1,Format.ERmandOneMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],["ERmany",0],null,null,!1,Format.ERmanyMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],["ERoneToMany",0],null,null,!1,Format.ERoneToManyMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],
+["ERzeroToOne",0],null,null,!1,Format.ERzeroToOneMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],["ERzeroToMany",0],null,null,!1,Format.ERzeroToManyMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,"startFill"],["doubleBlock",0],null,null,!1,Format.doubleBlockMarkerImage.src)),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW,
+"startFill"],["doubleBlock",1],null,null,!1,Format.doubleBlockFilledMarkerImage.src))):this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_STARTARROW],[mxConstants.ARROW_BLOCK],"geIcon geSprite geSprite-startblocktrans",null,!1).setAttribute("title",mxResources.get("block"));M.div.style.width="40px";window.setTimeout(mxUtils.bind(this,function(){null!=M.div&&mxUtils.fit(M.div)}),0)}})),S=this.editorUi.toolbar.addMenuFunctionInContainer(k,"geSprite-endclassic",mxResources.get("lineend"),!1,
+mxUtils.bind(this,function(M){if("connector"==g.style.shape||"flexArrow"==g.style.shape||"filledEdge"==g.style.shape||"wire"==g.style.shape){var ea=this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.NONE,0],"geIcon",null,!1);ea.setAttribute("title",mxResources.get("none"));var ra=document.createElement("span");ra.style.fontSize="11px";mxUtils.write(ra,mxResources.get("none"));ea.firstChild.firstChild.appendChild(ra);"connector"==g.style.shape||"filledEdge"==
+g.style.shape||"wire"==g.style.shape?(Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_CLASSIC,1],null,null,!1,Format.classicFilledMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_CLASSIC_THIN,1],null,null,!1,Format.classicThinFilledMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,
+"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_OPEN,0],null,null,!1,Format.openFilledMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_OPEN_THIN,0],null,null,!1,Format.openThinFilledMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,"endFill"],["openAsync",0],null,null,!1,Format.openAsyncFilledMarkerImage.src),
+"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_BLOCK,1],null,null,!1,Format.blockFilledMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_BLOCK_THIN,1],null,null,!1,Format.blockThinFilledMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,
+"endFill"],["async",1],null,null,!1,Format.asyncFilledMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_OVAL,1],null,null,!1,Format.ovalFilledMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_DIAMOND,1],null,null,!1,Format.diamondFilledMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,
+"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_DIAMOND_THIN,1],null,null,!1,Format.diamondThinFilledMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_CLASSIC,0],null,null,!1,Format.classicMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_CLASSIC_THIN,0],null,null,!1,Format.classicThinMarkerImage.src),
+"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_BLOCK,0],null,null,!1,Format.blockMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_BLOCK_THIN,0],null,null,!1,Format.blockThinMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,"endFill"],["async",
+0],null,null,!1,Format.asyncMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_OVAL,0],null,null,!1,Format.ovalMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_DIAMOND,0],null,null,!1,Format.diamondMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,
+"endFill"],[mxConstants.ARROW_DIAMOND_THIN,0],null,null,!1,Format.diamondThinMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,"endFill"],["box",0],null,null,!1,Format.boxMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,"endFill"],["halfCircle",0],null,null,!1,Format.halfCircleMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,
+"",[mxConstants.STYLE_ENDARROW,"endFill"],["dash",0],null,null,!1,Format.dashMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,"endFill"],["cross",0],null,null,!1,Format.crossMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,"endFill"],["circlePlus",0],null,null,!1,Format.circlePlusMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,
+"",[mxConstants.STYLE_ENDARROW,"endFill"],["circle",0],null,null,!1,Format.circleMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,"endFill"],["baseDash",0],null,null,!1,Format.baseDashMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,"endFill"],["ERone",0],null,null,!1,Format.EROneMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,
+"",[mxConstants.STYLE_ENDARROW,"endFill"],["ERmandOne",0],null,null,!1,Format.ERmandOneMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,"endFill"],["ERmany",0],null,null,!1,Format.ERmanyMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,"endFill"],["ERoneToMany",0],null,null,!1,Format.ERoneToManyMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,
+"",[mxConstants.STYLE_ENDARROW,"endFill"],["ERzeroToOne",0],null,null,!1,Format.ERzeroToOneMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,"endFill"],["ERzeroToMany",0],null,null,!1,Format.ERzeroToManyMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW,"endFill"],["doubleBlock",0],null,null,!1,Format.doubleBlockMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(M,
+"",[mxConstants.STYLE_ENDARROW,"endFill"],["doubleBlock",1],null,null,!1,Format.doubleBlockFilledMarkerImage.src),"scaleX(-1)")):this.editorUi.menus.edgeStyleChange(M,"",[mxConstants.STYLE_ENDARROW],[mxConstants.ARROW_BLOCK],"geIcon geSprite geSprite-endblocktrans",null,!1).setAttribute("title",mxResources.get("block"));M.div.style.width="40px";window.setTimeout(mxUtils.bind(this,function(){null!=M.div&&mxUtils.fit(M.div)}),0)}}));this.addArrow(H);this.addArrow(I).style.marginTop="-1px";this.addArrow(Z);
+this.addArrow(S);P=this.addArrow(p);P.className="geIcon";p.style.width="134px";p=this.addArrow(w);p.className="geIcon";p.style.width="22px";var Y=document.createElement("div");Y.style.width="102px";Y.style.height="10px";Y.style.borderBottom="1px solid "+this.defaultStrokeColor;Y.style.marginLeft="10px";P.appendChild(Y);var V=document.createElement("div");V.style.width="30px";V.style.height="10px";V.style.borderBottom="1px solid "+this.defaultStrokeColor;V.style.marginLeft="10px";p.appendChild(V);
+a.appendChild(n);a.appendChild(D);a.appendChild(C);p=C.cloneNode(!1);p.style.display="block";p.style.padding="5px 4px 6px 0px";p.style.fontWeight="normal";w=document.createElement("div");w.style.position="absolute";w.style.maxWidth="78px";w.style.overflow="hidden";w.style.textOverflow="ellipsis";w.style.marginLeft="0px";w.style.marginBottom="12px";w.style.marginTop="2px";w.style.fontWeight="normal";mxUtils.write(w,mxResources.get("lineend"));p.appendChild(w);var L=this.addUnitInput(p,this.getUnit(),
+98,52,function(){na.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),U=this.addUnitInput(p,this.getUnit(),30,52,function(){ca.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());mxUtils.br(p);P=document.createElement("div");P.style.height="8px";p.appendChild(P);w=w.cloneNode(!1);mxUtils.write(w,mxResources.get("linestart"));p.appendChild(w);var ba=this.addUnitInput(p,this.getUnit(),98,52,function(){X.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),
+ja=this.addUnitInput(p,this.getUnit(),30,52,function(){T.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());mxUtils.br(p);this.addLabel(p,mxResources.get("spacing"),98,64).style.fontSize="11px";this.addLabel(p,mxResources.get("size"),30,64).style.fontSize="11px";mxUtils.br(p);n=n.cloneNode(!1);n.style.fontWeight="normal";n.style.position="relative";n.style.paddingLeft="16px";n.style.marginBottom="2px";n.style.marginTop="6px";n.style.borderWidth="0px";n.style.paddingBottom="18px";
+w=document.createElement("div");w.style.position="absolute";w.style.marginLeft="3px";w.style.marginBottom="12px";w.style.marginTop="1px";w.style.fontWeight="normal";w.style.width="120px";mxUtils.write(w,mxResources.get("perimeter"));n.appendChild(w);var sa=this.addUnitInput(n,this.getUnit(),30,52,function(){pa.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());g.edges.length==g.cells.length?(a.appendChild(k),a.appendChild(p)):g.vertices.length==g.cells.length&&a.appendChild(n);
+var O=mxUtils.bind(this,function(M,ea,ra){function ta(Sa,ma,Fa,Ha){Fa=Fa.getElementsByTagName("div")[0];null!=Fa&&h.updateCssForMarker(Fa,Ha,g.style.shape,Sa,ma);return Fa}g=h.getSelectionState();if(ra||document.activeElement!=K)M=parseFloat(mxUtils.getValue(g.style,mxConstants.STYLE_STROKEWIDTH,1)),K.value=isNaN(M)?"":this.inUnit(M)+" "+this.getUnit();if(ra||document.activeElement!=G)M=parseFloat(mxUtils.getValue(g.style,mxConstants.STYLE_STROKEWIDTH,1)),G.value=isNaN(M)?"":this.inUnit(M)+" "+this.getUnit();
+q.style.visibility="connector"==g.style.shape||"filledEdge"==g.style.shape||"wire"==g.style.shape?"":"hidden";"1"==mxUtils.getValue(g.style,mxConstants.STYLE_CURVED,null)?q.value="curved":"1"==mxUtils.getValue(g.style,mxConstants.STYLE_ROUNDED,null)&&(q.value="rounded");"1"==mxUtils.getValue(g.style,mxConstants.STYLE_DASHED,null)?null==mxUtils.getValue(g.style,mxConstants.STYLE_DASH_PATTERN,null)||"1 "!=String(mxUtils.getValue(g.style,mxConstants.STYLE_DASH_PATTERN,"")).substring(0,2)?Y.style.borderBottom=
+"1px dashed "+this.defaultStrokeColor:Y.style.borderBottom="1px dotted "+this.defaultStrokeColor:Y.style.borderBottom="1px solid "+this.defaultStrokeColor;V.style.borderBottom=Y.style.borderBottom;M=I.getElementsByTagName("div")[0];null!=M&&(ea=mxUtils.getValue(g.style,mxConstants.STYLE_EDGE,null),"1"==mxUtils.getValue(g.style,mxConstants.STYLE_NOEDGESTYLE,null)&&(ea=null),"orthogonalEdgeStyle"==ea&&"1"==mxUtils.getValue(g.style,mxConstants.STYLE_CURVED,null)?M.className="geSprite geSprite-curved":
+M.className="straight"==ea||"none"==ea||null==ea?"geSprite geSprite-straight":"entityRelationEdgeStyle"==ea?"geSprite geSprite-entity":"elbowEdgeStyle"==ea?"geSprite "+("vertical"==mxUtils.getValue(g.style,mxConstants.STYLE_ELBOW,null)?"geSprite-verticalelbow":"geSprite-horizontalelbow"):"isometricEdgeStyle"==ea?"geSprite "+("vertical"==mxUtils.getValue(g.style,mxConstants.STYLE_ELBOW,null)?"geSprite-verticalisometric":"geSprite-horizontalisometric"):"geSprite geSprite-orthogonal");M=H.getElementsByTagName("div")[0];
+null!=M&&(M.className="link"==g.style.shape?"geSprite geSprite-linkedge":"flexArrow"==g.style.shape?"geSprite geSprite-arrow":"arrow"==g.style.shape?"geSprite geSprite-simplearrow":"geSprite geSprite-connection");g.edges.length==g.cells.length?(D.style.display="",C.style.display="none"):(D.style.display="none",C.style.display="");Graph.lineJumpsEnabled&&0<g.edges.length&&0==g.vertices.length&&g.lineJumps&&(a.style.borderBottomStyle="none");M=ta(mxUtils.getValue(g.style,mxConstants.STYLE_STARTARROW,
+null),mxUtils.getValue(g.style,"startFill","1"),Z,"start");ea=ta(mxUtils.getValue(g.style,mxConstants.STYLE_ENDARROW,null),mxUtils.getValue(g.style,"endFill","1"),S,"end");null!=M&&null!=ea&&("arrow"==g.style.shape?(M.className="geSprite geSprite-noarrow",ea.className="geSprite geSprite-endblocktrans"):"link"==g.style.shape&&(M.className="geSprite geSprite-noarrow",ea.className="geSprite geSprite-noarrow"));mxUtils.setOpacity(I,"arrow"==g.style.shape?30:100);"connector"!=g.style.shape&&"flexArrow"!=
+g.style.shape&&"filledEdge"!=g.style.shape&&"wire"!=g.style.shape?(mxUtils.setOpacity(Z,30),mxUtils.setOpacity(S,30)):(mxUtils.setOpacity(Z,100),mxUtils.setOpacity(S,100));if(ra||document.activeElement!=ja)M=parseInt(mxUtils.getValue(g.style,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_MARKERSIZE)),ja.value=isNaN(M)?"":this.inUnit(M)+" "+this.getUnit();if(ra||document.activeElement!=ba)M=parseInt(mxUtils.getValue(g.style,mxConstants.STYLE_SOURCE_PERIMETER_SPACING,0)),ba.value=isNaN(M)?"":this.inUnit(M)+
+" "+this.getUnit();if(ra||document.activeElement!=U)M=parseInt(mxUtils.getValue(g.style,mxConstants.STYLE_ENDSIZE,mxConstants.DEFAULT_MARKERSIZE)),U.value=isNaN(M)?"":this.inUnit(M)+" "+this.getUnit();if(ra||document.activeElement!=ba)M=parseInt(mxUtils.getValue(g.style,mxConstants.STYLE_TARGET_PERIMETER_SPACING,0)),L.value=isNaN(M)?"":this.inUnit(M)+" "+this.getUnit();if(ra||document.activeElement!=sa)M=parseInt(mxUtils.getValue(g.style,mxConstants.STYLE_PERIMETER_SPACING,0)),sa.value=isNaN(M)?"":
+this.inUnit(M)+" "+this.getUnit()});var T=this.installInputHandler(ja,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_MARKERSIZE,0,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var X=this.installInputHandler(ba,mxConstants.STYLE_SOURCE_PERIMETER_SPACING,0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var ca=this.installInputHandler(U,mxConstants.STYLE_ENDSIZE,mxConstants.DEFAULT_MARKERSIZE,0,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var na=this.installInputHandler(L,mxConstants.STYLE_TARGET_PERIMETER_SPACING,
+0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var pa=this.installInputHandler(sa,mxConstants.STYLE_PERIMETER_SPACING,0,0,999,this.getUnit(" "),null,this.isFloatUnit(),!0);this.addKeyHandler(K,O);this.addKeyHandler(ja,O);this.addKeyHandler(ba,O);this.addKeyHandler(U,O);this.addKeyHandler(L,O);this.addKeyHandler(sa,O);d.getModel().addListener(mxEvent.CHANGE,O);this.listeners.push({destroy:function(){d.getModel().removeListener(O)}});O();return a};
+StyleFormatPanel.prototype.addLineJumps=function(a){var b=this.editorUi,e=b.editor.graph,f=b.getSelectionState();if(Graph.lineJumpsEnabled&&0<f.edges.length&&0==f.vertices.length&&f.lineJumps){a.style.padding="2px 0px 24px 14px";var h=document.createElement("div");h.style.position="absolute";h.style.maxWidth="78px";h.style.overflow="hidden";h.style.textOverflow="ellipsis";mxUtils.write(h,mxResources.get("lineJumps"));a.appendChild(h);var d=document.createElement("select");d.style.position="absolute";
+d.style.height="21px";d.style.padding="0px";d.style.marginTop="-2px";d.style.boxSizing="border-box";d.style.textAlign="center";d.style.right="84px";d.style.width="64px";d.style.borderWidth="1px";d.style.borderStyle="solid";h=["none","arc","gap","sharp","line"];for(var g=0;g<h.length;g++){var n=document.createElement("option");n.setAttribute("value",h[g]);mxUtils.write(n,mxResources.get(h[g]));d.appendChild(n)}mxEvent.addListener(d,"change",function(w){e.getModel().beginUpdate();try{e.setCellStyles("jumpStyle",
+d.value,f.cells),b.fireEvent(new mxEventObject("styleChanged","keys",["jumpStyle"],"values",[d.value],"cells",f.cells))}finally{e.getModel().endUpdate()}mxEvent.consume(w)});mxEvent.addListener(d,"click",function(w){mxEvent.consume(w)});a.appendChild(d);var q=this.addUnitInput(a,this.getUnit(),16,52,function(){k.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());var k=this.installInputHandler(q,"jumpSize",Graph.defaultJumpSize,0,999,this.getUnit(" "),null,this.isFloatUnit(),!0);
+var p=mxUtils.bind(this,function(w,z,C){f=b.getSelectionState();d.value=mxUtils.getValue(f.style,"jumpStyle","none");if(C||document.activeElement!=q)w=parseInt(mxUtils.getValue(f.style,"jumpSize",Graph.defaultJumpSize)),q.value=isNaN(w)?"":this.inUnit(w)+" "+this.getUnit()});this.addKeyHandler(q,p);e.getModel().addListener(mxEvent.CHANGE,p);this.listeners.push({destroy:function(){e.getModel().removeListener(p)}});p()}else a.style.display="none";return a};
+StyleFormatPanel.prototype.addEffects=function(a){var b=this.editorUi,e=b.editor.graph,f=b.getSelectionState();a.style.paddingTop="4px";a.style.paddingBottom="4px";var h=document.createElement("table");h.style.width="210px";h.style.fontWeight="bold";h.style.tableLayout="fixed";var d=document.createElement("tbody"),g=document.createElement("tr");g.style.padding="0px";var n=document.createElement("td");n.style.padding="0px";n.style.width="50%";n.setAttribute("valign","top");var q=n.cloneNode(!0);q.style.paddingLeft=
+"8px";g.appendChild(n);g.appendChild(q);d.appendChild(g);h.appendChild(d);a.appendChild(h);var k=n,p=mxUtils.bind(this,function(z,C,F,D){z=this.createCellOption(z,C,F,null,null,D);z.style.width="100%";k.appendChild(z);k=k==n?q:n;return z}),w=mxUtils.bind(this,function(z,C,F){f=b.getSelectionState();n.innerText="";q.innerText="";k=n;f.rounded&&p(mxResources.get("rounded"),mxConstants.STYLE_ROUNDED,0);f.swimlane&&p(mxResources.get("divider"),"swimlaneLine",1);p(mxResources.get("sketch"),"sketch",0,
+function(D,H){e.updateCellStyles({sketch:H?"1":null,curveFitting:H?Editor.sketchDefaultCurveFitting:null,jiggle:H?Editor.sketchDefaultJiggle:null},D)});f.glass&&p(mxResources.get("glass"),mxConstants.STYLE_GLASS,0);z=p(mxResources.get("shadow"),mxConstants.STYLE_SHADOW,0);Editor.enableShadowOption||(z.getElementsByTagName("input")[0].setAttribute("disabled","disabled"),mxUtils.setOpacity(z,60));0<f.edges.length&&0==f.vertices.length&&p(mxResources.get("flowAnimation",null,"Flow Animation"),"flowAnimation",
+0)});e.getModel().addListener(mxEvent.CHANGE,w);this.listeners.push({destroy:function(){e.getModel().removeListener(w)}});w();return a};StyleFormatPanel.prototype.addStyleOps=function(a){1==this.editorUi.getSelectionState().cells.length&&this.addActions(a,["setAsDefaultStyle"]);return a};DiagramStylePanel=function(a,b,e){BaseFormatPanel.call(this,a,b,e);this.init()};mxUtils.extend(DiagramStylePanel,BaseFormatPanel);
DiagramStylePanel.prototype.init=function(){var a=this.editorUi;this.darkModeChangedListener=mxUtils.bind(this,function(){this.format.cachedStyleEntries=[]});a.addListener("darkModeChanged",this.darkModeChangedListener);this.container.appendChild(this.addView(this.createPanel()))};
-DiagramStylePanel.prototype.getGlobalStyleButtons=function(){var a=this.editorUi,b=a.editor.graph,d=document.createElement("div");d.style.fontWeight="bold";d.style.alignItems="center";d.style.textAlign="left";d.style.display="flex";d.style.padding="4px";var e=document.createElement("input");e.setAttribute("type","checkbox");e.style.margin="1px 6px 0px 0px";e.checked=Editor.sketchMode;d.appendChild(e);mxUtils.write(d,mxResources.get("sketch"));mxEvent.addListener(d,"click",function(f){if(b.isEnabled()){var h=
-!Editor.sketchMode;Editor.sketchMode=h;b.updateCellStyles({sketch:h?"1":null,curveFitting:h?Editor.sketchDefaultCurveFitting:null,jiggle:h?Editor.sketchDefaultJiggle:null},b.getVerticesAndEdges());mxEvent.consume(f);window.setTimeout(function(){Editor.sketchMode=!h;a.setSketchMode(h)})}});d=[d,mxUtils.button(mxResources.get("rounded"),mxUtils.bind(this,function(f){var h=b.getVerticesAndEdges(),n=!0;if(0<h.length)for(var q=0;q<h.length;q++){var l=b.getCellStyle(h[q]);if(0==mxUtils.getValue(l,mxConstants.STYLE_ROUNDED,
-0)){n=!1;break}}n=!n;b.updateCellStyles({rounded:n?"1":"0"},h);n?(b.currentEdgeStyle.rounded="1",b.currentVertexStyle.rounded="1"):(delete b.currentEdgeStyle.rounded,delete b.currentVertexStyle.rounded);mxEvent.consume(f)}))];if(!b.isEnabled())for(e=0;e<d.length;e++)if("BUTTON"==d[e].nodeName)d[e].setAttribute("disabled","disabled");else{var g=d[e].getElementsByTagName("input");0<g.length&&g[0].setAttribute("disabled","disabled")}return d};
-DiagramStylePanel.prototype.addView=function(a){var b=this.editorUi.editor.graph;a.style.paddingTop="2px";a.style.whiteSpace="normal";var d=document.createElement("div");d.style.marginRight="16px";d.style.paddingBottom="2px";var e=document.createElement("table");e.style.width="204px";var g=document.createElement("tbody"),f=document.createElement("tr");f.style.padding="0px";var h=document.createElement("td");h.style.textAlign="center";h.style.padding="2px";h.style.width="50%";for(var n=h.cloneNode(!0),
-q=this.getGlobalStyleButtons(),l=0;l<q.length;l+=2){var p=q[l];p.style.height="22px";p.style.width="92px";h.appendChild(p);f.appendChild(h);p=q[l+1];null!=p&&(p.style.height="22px",p.style.width="92px",n.appendChild(p));f.appendChild(n);g.appendChild(f);h=h.cloneNode(!1);n=n.cloneNode(!1);f=f.cloneNode(!1)}e.appendChild(g);d.appendChild(e);a.appendChild(d);b.isEnabled()&&this.addGraphStyles(a);return a};
-DiagramStylePanel.prototype.addGraphStyles=function(a){var b=this.editorUi,d=b.editor.graph,e=d.getModel(),g=d.view.gridColor,f=["fillColor","strokeColor","fontColor","gradientColor"];a.style.whiteSpace="normal";a.style.paddingLeft="18px";a.style.paddingTop="6px";var h=mxUtils.bind(this,function(S,X){var Y=d.getVerticesAndEdges();e.beginUpdate();try{for(var M=0;M<Y.length;M++){var U=d.getCellStyle(Y[M]);q||null==U.labelBackgroundColor?q&&d.updateCellStyles({labelBackgroundColor:mxConstants.NONE},
-[Y[M]]):d.updateCellStyles({labelBackgroundColor:null!=X?X.background:null},[Y[M]]);for(var ba=e.isEdge(Y[M]),ja=e.getStyle(Y[M]),pa=ba?d.currentEdgeStyle:d.currentVertexStyle,P=0;P<S.length;P++)if(null!=U[S[P]]&&U[S[P]]!=mxConstants.NONE||S[P]!=mxConstants.STYLE_FILLCOLOR&&S[P]!=mxConstants.STYLE_STROKECOLOR)ja=q&&ba&&S[P]==mxConstants.STYLE_FONTCOLOR?mxUtils.setStyle(ja,S[P],"default"):mxUtils.setStyle(ja,S[P],pa[S[P]]);e.setStyle(Y[M],ja)}}finally{e.endUpdate()}}),n=mxUtils.bind(this,function(S,
-X,Y){if(null!=S)for(var M=0;M<X.length;M++)if(null!=S[X[M]]&&S[X[M]]!=mxConstants.NONE||X[M]!=mxConstants.STYLE_FILLCOLOR&&X[M]!=mxConstants.STYLE_STROKECOLOR)S[X[M]]=Y[X[M]]}),q=!0,l=mxUtils.bind(this,function(S,X,Y,M,U){if(null!=S){null!=Y&&(q||null==X.labelBackgroundColor?q&&(X.labelBackgroundColor=mxConstants.NONE):(M=null!=M?M.background:null,U=null!=U?U:d,null==M&&(M=U.background),null==M&&(M=U.defaultPageBackgroundColor),X.labelBackgroundColor=M));for(var ba in S)if(null==Y||null!=X[ba]&&X[ba]!=
-mxConstants.NONE||ba!=mxConstants.STYLE_FILLCOLOR&&ba!=mxConstants.STYLE_STROKECOLOR)q&&e.isEdge(Y)&&ba==mxConstants.STYLE_FONTCOLOR?X[ba]="default":X[ba]=S[ba]}}),p=mxUtils.bind(this,function(S,X,Y,M,U){var ba=document.createElement("div");ba.style.background=Editor.isDarkMode()?"#2a252f":"#f1f3f4";ba.style.position="absolute";ba.style.display="inline-block";ba.style.overflow="hidden";ba.style.pointerEvents="none";ba.style.width="100%";ba.style.height="100%";U.appendChild(ba);var ja=new Graph(ba,
-null,null,d.getStylesheet());ja.shapeBackgroundColor=ba.style.background;ja.resetViewOnRootChange=!1;ja.foldingEnabled=!1;ja.gridEnabled=!1;ja.autoScroll=!1;ja.setTooltips(!1);ja.setConnectable(!1);ja.setPanning(!1);ja.setEnabled(!1);ja.getCellStyle=function(W,V){V=null!=V?V:!0;var ca=mxUtils.clone(d.getCellStyle.apply(this,arguments)),ra=d.stylesheet.getDefaultVertexStyle(),oa=X;e.isEdge(W)&&(ra=d.stylesheet.getDefaultEdgeStyle(),oa=Y);n(ca,f,ra);l(S,ca,W,M,ja);l(oa,ca,W,M,ja);V&&(ca=d.postProcessCellStyle(W,
-ca));return ca};ja.model.beginUpdate();try{var pa=ja.insertVertex(ja.getDefaultParent(),null,"Shape",14,8,70,36,"strokeWidth=2;"),P=ja.insertEdge(ja.getDefaultParent(),null,"Connector",pa,pa,"edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;endSize=5;strokeWidth=2;");P.geometry.points=[new mxPoint(32,66)];P.geometry.offset=new mxPoint(0,8)}finally{ja.model.endUpdate()}}),w=document.createElement("div");w.style.position="relative";w.style.width="210px";a.appendChild(w);null==
-this.format.cachedStyleEntries&&(this.format.cachedStyleEntries=[]);var z=mxUtils.bind(this,function(S,X,Y,M,U){var ba=this.format.cachedStyleEntries[U];null==ba&&(ba=document.createElement("div"),ba.style.display="inline-block",ba.style.position="relative",ba.style.width="96px",ba.style.height="86px",ba.style.cursor="pointer",ba.style.border="1px solid gray",ba.style.borderRadius="8px",ba.style.margin="1px 2px",ba.style.overflow="hidden",q||null==M||null==M.background||(ba.style.backgroundColor=
-M.background),p(S,X,Y,M,ba),mxEvent.addGestureListeners(ba,mxUtils.bind(this,function(ja){ba.style.opacity=.5}),null,mxUtils.bind(this,function(ja){ba.style.opacity=1;d.currentVertexStyle=mxUtils.clone(d.defaultVertexStyle);d.currentEdgeStyle=mxUtils.clone(d.defaultEdgeStyle);l(S,d.currentVertexStyle);l(S,d.currentEdgeStyle);l(X,d.currentVertexStyle);l(Y,d.currentEdgeStyle);e.beginUpdate();try{var pa=f.slice(),P;for(P in S)pa.push(P);h(pa,M);if(!q){var W=new ChangePageSetup(b,null!=M?M.background:
-null);W.ignoreImage=!0;e.execute(W);e.execute(new ChangeGridColor(b,null!=M&&null!=M.gridColor?M.gridColor:g))}}finally{e.endUpdate()}})),mxEvent.addListener(ba,"mouseenter",mxUtils.bind(this,function(ja){var pa=d.getCellStyle;ja=d.background;var P=d.view.gridColor;q||(d.background=null!=M?M.background:null,d.view.gridColor=null!=M&&null!=M.gridColor?M.gridColor:g);d.getCellStyle=function(W,V){V=null!=V?V:!0;var ca=mxUtils.clone(pa.apply(this,arguments)),ra=d.stylesheet.getDefaultVertexStyle(),oa=
-X;e.isEdge(W)&&(ra=d.stylesheet.getDefaultEdgeStyle(),oa=Y);n(ca,f,ra);l(S,ca,W,M);l(oa,ca,W,M);V&&(ca=this.postProcessCellStyle(W,ca));return ca};d.refresh();d.getCellStyle=pa;d.background=ja;d.view.gridColor=P})),mxEvent.addListener(ba,"mouseleave",mxUtils.bind(this,function(ja){d.refresh()})),mxClient.IS_IE||mxClient.IS_IE11||(this.format.cachedStyleEntries[U]=ba));w.appendChild(ba)}),C=Math.ceil(Editor.styles.length/10);this.format.currentStylePage=null!=this.format.currentStylePage?this.format.currentStylePage:
-0;var F=[],D=mxUtils.bind(this,function(){0<F.length&&(F[this.format.currentStylePage].style.background="#84d7ff");for(var S=10*this.format.currentStylePage;S<Math.min(10*(this.format.currentStylePage+1),Editor.styles.length);S++){var X=Editor.styles[S];z(X.commonStyle,X.vertexStyle,X.edgeStyle,X.graph,S)}}),G=mxUtils.bind(this,function(S){0<=S&&S<C&&(F[this.format.currentStylePage].style.background="transparent",w.innerText="",this.format.currentStylePage=S,D())});if(1<C){var K=document.createElement("div");
-K.style.whiteSpace="nowrap";K.style.position="relative";K.style.textAlign="center";K.style.paddingTop="4px";K.style.width="210px";for(var I=0;I<C;I++){var O=document.createElement("div");O.style.display="inline-block";O.style.width="6px";O.style.height="6px";O.style.marginLeft="4px";O.style.marginRight="3px";O.style.borderRadius="3px";O.style.cursor="pointer";O.style.background="transparent";O.style.border="1px solid #b5b6b7";mxUtils.bind(this,function(S,X){mxEvent.addListener(O,"click",mxUtils.bind(this,
-function(){G(S)}))})(I,O);K.appendChild(O);F.push(O)}a.appendChild(K);D();if(15>C){I=function(S){mxEvent.addListener(S,"mouseenter",function(){S.style.opacity="1"});mxEvent.addListener(S,"mouseleave",function(){S.style.opacity="0.5"})};var H=document.createElement("div");H.className="geAdaptiveAsset";H.style.position="absolute";H.style.left="0px";H.style.top="0px";H.style.bottom="0px";H.style.width="24px";H.style.height="24px";H.style.margin="0px";H.style.cursor="pointer";H.style.opacity="0.5";H.style.backgroundRepeat=
-"no-repeat";H.style.backgroundPosition="center center";H.style.backgroundSize="24px 24px";H.style.backgroundImage="url("+Editor.previousImage+")";var Z=H.cloneNode(!1);Z.style.backgroundImage="url("+Editor.nextImage+")";Z.style.left="";Z.style.right="2px";K.appendChild(H);K.appendChild(Z);mxEvent.addListener(H,"click",mxUtils.bind(this,function(){G(mxUtils.mod(this.format.currentStylePage-1,C))}));mxEvent.addListener(Z,"click",mxUtils.bind(this,function(){G(mxUtils.mod(this.format.currentStylePage+
-1,C))}));I(H);I(Z)}}else D();return a};DiagramStylePanel.prototype.destroy=function(){BaseFormatPanel.prototype.destroy.apply(this,arguments);this.darkModeChangedListener&&(this.editorUi.removeListener(this.darkModeChangedListener),this.darkModeChangedListener=null)};DiagramFormatPanel=function(a,b,d){BaseFormatPanel.call(this,a,b,d);this.init()};mxUtils.extend(DiagramFormatPanel,BaseFormatPanel);DiagramFormatPanel.showPageView=!0;DiagramFormatPanel.prototype.showBackgroundImageOption=!0;
+DiagramStylePanel.prototype.getGlobalStyleButtons=function(){var a=this.editorUi,b=a.editor.graph,e=document.createElement("div");e.style.fontWeight="bold";e.style.alignItems="center";e.style.textAlign="left";e.style.display="flex";e.style.padding="4px";var f=document.createElement("input");f.setAttribute("type","checkbox");f.style.margin="1px 6px 0px 0px";f.checked=Editor.sketchMode;e.appendChild(f);mxUtils.write(e,mxResources.get("sketch"));mxEvent.addListener(e,"click",function(d){if(b.isEnabled()){var g=
+!Editor.sketchMode;Editor.sketchMode=g;b.updateCellStyles({sketch:g?"1":null,curveFitting:g?Editor.sketchDefaultCurveFitting:null,jiggle:g?Editor.sketchDefaultJiggle:null},b.getVerticesAndEdges());mxEvent.consume(d);window.setTimeout(function(){Editor.sketchMode=!g;a.setSketchMode(g)})}});e=[e,mxUtils.button(mxResources.get("rounded"),mxUtils.bind(this,function(d){var g=b.getVerticesAndEdges(),n=!0;if(0<g.length)for(var q=0;q<g.length;q++){var k=b.getCellStyle(g[q]);if(0==mxUtils.getValue(k,mxConstants.STYLE_ROUNDED,
+0)){n=!1;break}}n=!n;b.updateCellStyles({rounded:n?"1":"0"},g);n?(b.currentEdgeStyle.rounded="1",b.currentVertexStyle.rounded="1"):(delete b.currentEdgeStyle.rounded,delete b.currentVertexStyle.rounded);mxEvent.consume(d)}))];if(!b.isEnabled())for(f=0;f<e.length;f++)if("BUTTON"==e[f].nodeName)e[f].setAttribute("disabled","disabled");else{var h=e[f].getElementsByTagName("input");0<h.length&&h[0].setAttribute("disabled","disabled")}return e};
+DiagramStylePanel.prototype.addView=function(a){var b=this.editorUi.editor.graph;a.style.paddingTop="2px";a.style.whiteSpace="normal";var e=document.createElement("div");e.style.marginRight="16px";e.style.paddingBottom="2px";var f=document.createElement("table");f.style.width="204px";var h=document.createElement("tbody"),d=document.createElement("tr");d.style.padding="0px";var g=document.createElement("td");g.style.textAlign="center";g.style.padding="2px";g.style.width="50%";for(var n=g.cloneNode(!0),
+q=this.getGlobalStyleButtons(),k=0;k<q.length;k+=2){var p=q[k];p.style.height="22px";p.style.width="92px";g.appendChild(p);d.appendChild(g);p=q[k+1];null!=p&&(p.style.height="22px",p.style.width="92px",n.appendChild(p));d.appendChild(n);h.appendChild(d);g=g.cloneNode(!1);n=n.cloneNode(!1);d=d.cloneNode(!1)}f.appendChild(h);e.appendChild(f);a.appendChild(e);b.isEnabled()&&this.addGraphStyles(a);return a};
+DiagramStylePanel.prototype.addGraphStyles=function(a){var b=this.editorUi,e=b.editor.graph,f=e.getModel(),h=e.view.gridColor,d=["fillColor","strokeColor","fontColor","gradientColor"];a.style.whiteSpace="normal";a.style.paddingLeft="18px";a.style.paddingTop="6px";var g=mxUtils.bind(this,function(S,Y){var V=e.getVerticesAndEdges();f.beginUpdate();try{for(var L=0;L<V.length;L++){var U=e.getCellStyle(V[L]);q||null==U.labelBackgroundColor?q&&e.updateCellStyles({labelBackgroundColor:mxConstants.NONE},
+[V[L]]):e.updateCellStyles({labelBackgroundColor:null!=Y?Y.background:null},[V[L]]);for(var ba=f.isEdge(V[L]),ja=f.getStyle(V[L]),sa=ba?e.currentEdgeStyle:e.currentVertexStyle,O=0;O<S.length;O++)if(null!=U[S[O]]&&U[S[O]]!=mxConstants.NONE||S[O]!=mxConstants.STYLE_FILLCOLOR&&S[O]!=mxConstants.STYLE_STROKECOLOR)ja=q&&ba&&S[O]==mxConstants.STYLE_FONTCOLOR?mxUtils.setStyle(ja,S[O],"default"):mxUtils.setStyle(ja,S[O],sa[S[O]]);f.setStyle(V[L],ja)}}finally{f.endUpdate()}}),n=mxUtils.bind(this,function(S,
+Y,V){if(null!=S)for(var L=0;L<Y.length;L++)if(null!=S[Y[L]]&&S[Y[L]]!=mxConstants.NONE||Y[L]!=mxConstants.STYLE_FILLCOLOR&&Y[L]!=mxConstants.STYLE_STROKECOLOR)S[Y[L]]=V[Y[L]]}),q=!0,k=mxUtils.bind(this,function(S,Y,V,L,U){if(null!=S){null!=V&&(q||null==Y.labelBackgroundColor?q&&(Y.labelBackgroundColor=mxConstants.NONE):(L=null!=L?L.background:null,U=null!=U?U:e,null==L&&(L=U.background),null==L&&(L=U.defaultPageBackgroundColor),Y.labelBackgroundColor=L));for(var ba in S)if(null==V||null!=Y[ba]&&Y[ba]!=
+mxConstants.NONE||ba!=mxConstants.STYLE_FILLCOLOR&&ba!=mxConstants.STYLE_STROKECOLOR)q&&f.isEdge(V)&&ba==mxConstants.STYLE_FONTCOLOR?Y[ba]="default":Y[ba]=S[ba]}}),p=mxUtils.bind(this,function(S,Y,V,L,U){var ba=document.createElement("div");ba.style.background=Editor.isDarkMode()?"#2a252f":"#f1f3f4";ba.style.position="absolute";ba.style.display="inline-block";ba.style.overflow="hidden";ba.style.pointerEvents="none";ba.style.width="100%";ba.style.height="100%";U.appendChild(ba);var ja=new Graph(ba,
+null,null,e.getStylesheet());ja.shapeBackgroundColor=ba.style.background;ja.resetViewOnRootChange=!1;ja.foldingEnabled=!1;ja.gridEnabled=!1;ja.autoScroll=!1;ja.setTooltips(!1);ja.setConnectable(!1);ja.setPanning(!1);ja.setEnabled(!1);ja.getCellStyle=function(T,X){X=null!=X?X:!0;var ca=mxUtils.clone(e.getCellStyle.apply(this,arguments)),na=e.stylesheet.getDefaultVertexStyle(),pa=Y;f.isEdge(T)&&(na=e.stylesheet.getDefaultEdgeStyle(),pa=V);n(ca,d,na);k(S,ca,T,L,ja);k(pa,ca,T,L,ja);X&&(ca=e.postProcessCellStyle(T,
+ca));return ca};ja.model.beginUpdate();try{var sa=ja.insertVertex(ja.getDefaultParent(),null,"Shape",14,8,70,36,"strokeWidth=2;"),O=ja.insertEdge(ja.getDefaultParent(),null,"Connector",sa,sa,"edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;endSize=5;strokeWidth=2;");O.geometry.points=[new mxPoint(32,66)];O.geometry.offset=new mxPoint(0,8)}finally{ja.model.endUpdate()}}),w=document.createElement("div");w.style.position="relative";w.style.width="210px";a.appendChild(w);null==
+this.format.cachedStyleEntries&&(this.format.cachedStyleEntries=[]);var z=mxUtils.bind(this,function(S,Y,V,L,U){var ba=this.format.cachedStyleEntries[U];null==ba&&(ba=document.createElement("div"),ba.style.display="inline-block",ba.style.position="relative",ba.style.width="96px",ba.style.height="86px",ba.style.cursor="pointer",ba.style.border="1px solid gray",ba.style.borderRadius="8px",ba.style.margin="1px 2px",ba.style.overflow="hidden",q||null==L||null==L.background||(ba.style.backgroundColor=
+L.background),p(S,Y,V,L,ba),mxEvent.addGestureListeners(ba,mxUtils.bind(this,function(ja){ba.style.opacity=.5}),null,mxUtils.bind(this,function(ja){ba.style.opacity=1;e.currentVertexStyle=mxUtils.clone(e.defaultVertexStyle);e.currentEdgeStyle=mxUtils.clone(e.defaultEdgeStyle);k(S,e.currentVertexStyle);k(S,e.currentEdgeStyle);k(Y,e.currentVertexStyle);k(V,e.currentEdgeStyle);f.beginUpdate();try{var sa=d.slice(),O;for(O in S)sa.push(O);g(sa,L);if(!q){var T=new ChangePageSetup(b,null!=L?L.background:
+null);T.ignoreImage=!0;f.execute(T);f.execute(new ChangeGridColor(b,null!=L&&null!=L.gridColor?L.gridColor:h))}}finally{f.endUpdate()}})),mxEvent.addListener(ba,"mouseenter",mxUtils.bind(this,function(ja){var sa=e.getCellStyle;ja=e.background;var O=e.view.gridColor;q||(e.background=null!=L?L.background:null,e.view.gridColor=null!=L&&null!=L.gridColor?L.gridColor:h);e.getCellStyle=function(T,X){X=null!=X?X:!0;var ca=mxUtils.clone(sa.apply(this,arguments)),na=e.stylesheet.getDefaultVertexStyle(),pa=
+Y;f.isEdge(T)&&(na=e.stylesheet.getDefaultEdgeStyle(),pa=V);n(ca,d,na);k(S,ca,T,L);k(pa,ca,T,L);X&&(ca=this.postProcessCellStyle(T,ca));return ca};e.refresh();e.getCellStyle=sa;e.background=ja;e.view.gridColor=O})),mxEvent.addListener(ba,"mouseleave",mxUtils.bind(this,function(ja){e.refresh()})),mxClient.IS_IE||mxClient.IS_IE11||(this.format.cachedStyleEntries[U]=ba));w.appendChild(ba)}),C=Math.ceil(Editor.styles.length/10);this.format.currentStylePage=null!=this.format.currentStylePage?this.format.currentStylePage:
+0;var F=[],D=mxUtils.bind(this,function(){0<F.length&&(F[this.format.currentStylePage].style.background="#84d7ff");for(var S=10*this.format.currentStylePage;S<Math.min(10*(this.format.currentStylePage+1),Editor.styles.length);S++){var Y=Editor.styles[S];z(Y.commonStyle,Y.vertexStyle,Y.edgeStyle,Y.graph,S)}}),H=mxUtils.bind(this,function(S){0<=S&&S<C&&(F[this.format.currentStylePage].style.background="transparent",w.innerText="",this.format.currentStylePage=S,D())});if(1<C){var K=document.createElement("div");
+K.style.whiteSpace="nowrap";K.style.position="relative";K.style.textAlign="center";K.style.paddingTop="4px";K.style.width="210px";for(var G=0;G<C;G++){var P=document.createElement("div");P.style.display="inline-block";P.style.width="6px";P.style.height="6px";P.style.marginLeft="4px";P.style.marginRight="3px";P.style.borderRadius="3px";P.style.cursor="pointer";P.style.background="transparent";P.style.border="1px solid #b5b6b7";mxUtils.bind(this,function(S,Y){mxEvent.addListener(P,"click",mxUtils.bind(this,
+function(){H(S)}))})(G,P);K.appendChild(P);F.push(P)}a.appendChild(K);D();if(15>C){G=function(S){mxEvent.addListener(S,"mouseenter",function(){S.style.opacity="1"});mxEvent.addListener(S,"mouseleave",function(){S.style.opacity="0.5"})};var I=document.createElement("div");I.className="geAdaptiveAsset";I.style.position="absolute";I.style.left="0px";I.style.top="0px";I.style.bottom="0px";I.style.width="24px";I.style.height="24px";I.style.margin="0px";I.style.cursor="pointer";I.style.opacity="0.5";I.style.backgroundRepeat=
+"no-repeat";I.style.backgroundPosition="center center";I.style.backgroundSize="24px 24px";I.style.backgroundImage="url("+Editor.previousImage+")";var Z=I.cloneNode(!1);Z.style.backgroundImage="url("+Editor.nextImage+")";Z.style.left="";Z.style.right="2px";K.appendChild(I);K.appendChild(Z);mxEvent.addListener(I,"click",mxUtils.bind(this,function(){H(mxUtils.mod(this.format.currentStylePage-1,C))}));mxEvent.addListener(Z,"click",mxUtils.bind(this,function(){H(mxUtils.mod(this.format.currentStylePage+
+1,C))}));G(I);G(Z)}}else D();return a};DiagramStylePanel.prototype.destroy=function(){BaseFormatPanel.prototype.destroy.apply(this,arguments);this.darkModeChangedListener&&(this.editorUi.removeListener(this.darkModeChangedListener),this.darkModeChangedListener=null)};DiagramFormatPanel=function(a,b,e){BaseFormatPanel.call(this,a,b,e);this.init()};mxUtils.extend(DiagramFormatPanel,BaseFormatPanel);DiagramFormatPanel.showPageView=!0;DiagramFormatPanel.prototype.showBackgroundImageOption=!0;
DiagramFormatPanel.prototype.init=function(){var a=this.editorUi.editor.graph;this.container.appendChild(this.addView(this.createPanel()));a.isEnabled()&&(this.container.appendChild(this.addOptions(this.createPanel())),this.container.appendChild(this.addPaperSize(this.createPanel())),this.container.appendChild(this.addStyleOps(this.createPanel())))};
-DiagramFormatPanel.prototype.addView=function(a){var b=this.editorUi,d=b.editor.graph;a.appendChild(this.createTitle(mxResources.get("view")));this.addGridOption(a);DiagramFormatPanel.showPageView&&a.appendChild(this.createOption(mxResources.get("pageView"),function(){return d.pageVisible},function(f){b.actions.get("pageView").funct()},{install:function(f){this.listener=function(){f(d.pageVisible)};b.addListener("pageViewChanged",this.listener)},destroy:function(){b.removeListener(this.listener)}}));
-if(d.isEnabled()){if(this.showBackgroundImageOption){var e=this.createOption(mxResources.get("background"),function(){return null!=d.backgroundImage},function(f){f||(f=new ChangePageSetup(b,null,null),f.ignoreColor=!0,d.model.execute(f))},{install:function(f){this.listener=function(){f(null!=d.backgroundImage)};b.addListener("backgroundImageChanged",this.listener)},destroy:function(){b.removeListener(this.listener)}}),g=e.getElementsByTagName("input")[0];null!=g&&(g.style.visibility=null!=d.backgroundImage?
-"visible":"hidden");g=e.getElementsByTagName("div")[0];null!=g&&(g.style.display="inline-block",g.style.textOverflow="ellipsis",g.style.overflow="hidden",g.style.maxWidth="80px");mxClient.IS_FF&&(g.style.marginTop="1px");g=mxUtils.button(mxResources.get("change")+"...",function(f){b.showBackgroundImageDialog(null,b.editor.graph.backgroundImage,b.editor.graph.background);mxEvent.consume(f)});g.style.position="absolute";g.style.height="22px";g.style.left="47%";g.style.marginLeft="1px";g.style.width=
-"110px";g.style.maxWidth="110px";e.appendChild(g);a.appendChild(e)}e=this.createColorOption(mxResources.get("backgroundColor"),function(){return d.background},function(f){f=new ChangePageSetup(b,f);f.ignoreImage=!0;d.model.execute(f)},"#ffffff");e.style.padding="5px 0 1px 0";a.appendChild(e);e=this.createOption(mxResources.get("shadow"),function(){return d.shadowVisible},function(f){var h=new ChangePageSetup(b);h.ignoreColor=!0;h.ignoreImage=!0;h.shadowVisible=f;d.model.execute(h)},{install:function(f){this.listener=
-function(){f(d.shadowVisible)};b.addListener("shadowVisibleChanged",this.listener)},destroy:function(){b.removeListener(this.listener)}});Editor.enableShadowOption||(e.getElementsByTagName("input")[0].setAttribute("disabled","disabled"),mxUtils.setOpacity(e,60));e.style.display="inline-flex";e.style.width="100px";e.style.maxWidth="100px";e.style.marginRight="4px";a.appendChild(e);e=this.createOption(mxResources.get("sketch"),function(){return Editor.sketchMode},function(f){b.setSketchMode(f)},{install:function(f){this.listener=
-function(){f(Editor.sketchMode)};b.addListener("sketchModeChanged",this.listener)},destroy:function(){b.removeListener(this.listener)}});e.style.display="inline-flex";e.style.width="104px";e.style.maxWidth="104px";a.appendChild(e)}return a};
-DiagramFormatPanel.prototype.addOptions=function(a){var b=this.editorUi,d=b.editor.graph;a.appendChild(this.createTitle(mxResources.get("options")));d.isEnabled()&&(a.appendChild(this.createOption(mxResources.get("connectionArrows"),function(){return d.connectionArrowsEnabled},function(e){b.actions.get("connectionArrows").funct()},{install:function(e){this.listener=function(){e(d.connectionArrowsEnabled)};b.addListener("connectionArrowsChanged",this.listener)},destroy:function(){b.removeListener(this.listener)}})),
-a.appendChild(this.createOption(mxResources.get("connectionPoints"),function(){return d.connectionHandler.isEnabled()},function(e){b.actions.get("connectionPoints").funct()},{install:function(e){this.listener=function(){e(d.connectionHandler.isEnabled())};b.addListener("connectionPointsChanged",this.listener)},destroy:function(){b.removeListener(this.listener)}})),a.appendChild(this.createOption(mxResources.get("guides"),function(){return d.graphHandler.guidesEnabled},function(e){b.actions.get("guides").funct()},
-{install:function(e){this.listener=function(){e(d.graphHandler.guidesEnabled)};b.addListener("guidesEnabledChanged",this.listener)},destroy:function(){b.removeListener(this.listener)}})));return a};
-DiagramFormatPanel.prototype.addGridOption=function(a){function b(q){var l=d.isFloatUnit()?parseFloat(f.value):parseInt(f.value);l=d.fromUnit(Math.max(d.inUnit(1),isNaN(l)?d.inUnit(10):l));l!=g.getGridSize()&&(mxGraph.prototype.gridSize=l,g.setGridSize(l));f.value=d.inUnit(l)+" "+d.getUnit();mxEvent.consume(q)}var d=this,e=this.editorUi,g=e.editor.graph,f=document.createElement("input");f.style.position="absolute";f.style.textAlign="right";f.style.width="48px";f.style.marginTop="-2px";f.style.height=
-"21px";f.style.borderWidth="1px";f.style.borderStyle="solid";f.style.boxSizing="border-box";f.value=this.inUnit(g.getGridSize())+" "+this.getUnit();var h=this.createStepper(f,b,this.getUnitStep(),null,null,null,this.isFloatUnit());f.style.display=g.isGridEnabled()?"":"none";h.style.display=f.style.display;mxEvent.addListener(f,"keydown",function(q){13==q.keyCode?(g.container.focus(),mxEvent.consume(q)):27==q.keyCode&&(f.value=g.getGridSize(),g.container.focus(),mxEvent.consume(q))});mxEvent.addListener(f,
-"blur",b);mxEvent.addListener(f,"change",b);f.style.right="78px";h.style.marginTop=mxClient.IS_MAC&&mxClient.IS_GC?"-16px":mxClient.IS_WIN?"-18px":"-17px";h.style.right="66px";var n=this.createColorOption(mxResources.get("grid"),function(){var q=g.view.gridColor;return g.isGridEnabled()?q:null},function(q){var l=g.isGridEnabled();q==mxConstants.NONE?g.setGridEnabled(!1):(g.setGridEnabled(!0),e.setGridColor(q));f.style.display=g.isGridEnabled()?"":"none";h.style.display=f.style.display;l!=g.isGridEnabled()&&
-(g.defaultGridEnabled=g.isGridEnabled(),e.fireEvent(new mxEventObject("gridEnabledChanged")))},Editor.isDarkMode()?g.view.defaultDarkGridColor:g.view.defaultGridColor,{install:function(q){this.listener=function(){q(g.isGridEnabled()?g.view.gridColor:null)};e.addListener("gridColorChanged",this.listener);e.addListener("gridEnabledChanged",this.listener)},destroy:function(){e.removeListener(this.listener)}});n.style.padding="6px 0 0 0";n.appendChild(f);n.appendChild(h);a.appendChild(n)};
+DiagramFormatPanel.prototype.addView=function(a){var b=this.editorUi,e=b.editor.graph;a.appendChild(this.createTitle(mxResources.get("view")));this.addGridOption(a);DiagramFormatPanel.showPageView&&a.appendChild(this.createOption(mxResources.get("pageView"),function(){return e.pageVisible},function(d){b.actions.get("pageView").funct()},{install:function(d){this.listener=function(){d(e.pageVisible)};b.addListener("pageViewChanged",this.listener)},destroy:function(){b.removeListener(this.listener)}}));
+if(e.isEnabled()){if(this.showBackgroundImageOption){var f=this.createOption(mxResources.get("background"),function(){return null!=e.backgroundImage},function(d){d||(d=new ChangePageSetup(b,null,null),d.ignoreColor=!0,e.model.execute(d))},{install:function(d){this.listener=function(){d(null!=e.backgroundImage)};b.addListener("backgroundImageChanged",this.listener)},destroy:function(){b.removeListener(this.listener)}}),h=f.getElementsByTagName("input")[0];null!=h&&(h.style.visibility=null!=e.backgroundImage?
+"visible":"hidden");h=f.getElementsByTagName("div")[0];null!=h&&(h.style.display="inline-block",h.style.textOverflow="ellipsis",h.style.overflow="hidden",h.style.maxWidth="80px");mxClient.IS_FF&&(h.style.marginTop="1px");h=mxUtils.button(mxResources.get("change")+"...",function(d){b.showBackgroundImageDialog(null,b.editor.graph.backgroundImage,b.editor.graph.background);mxEvent.consume(d)});h.style.position="absolute";h.style.height="22px";h.style.left="47%";h.style.marginLeft="1px";h.style.width=
+"110px";h.style.maxWidth="110px";f.appendChild(h);a.appendChild(f)}f=this.createColorOption(mxResources.get("backgroundColor"),function(){return e.background},function(d){d=new ChangePageSetup(b,d);d.ignoreImage=!0;e.model.execute(d)},"#ffffff");f.style.padding="5px 0 1px 0";a.appendChild(f);f=this.createOption(mxResources.get("shadow"),function(){return e.shadowVisible},function(d){var g=new ChangePageSetup(b);g.ignoreColor=!0;g.ignoreImage=!0;g.shadowVisible=d;e.model.execute(g)},{install:function(d){this.listener=
+function(){d(e.shadowVisible)};b.addListener("shadowVisibleChanged",this.listener)},destroy:function(){b.removeListener(this.listener)}});Editor.enableShadowOption||(f.getElementsByTagName("input")[0].setAttribute("disabled","disabled"),mxUtils.setOpacity(f,60));f.style.display="inline-flex";f.style.width="100px";f.style.maxWidth="100px";f.style.marginRight="4px";a.appendChild(f);f=this.createOption(mxResources.get("sketch"),function(){return Editor.sketchMode},function(d){b.setSketchMode(d)},{install:function(d){this.listener=
+function(){d(Editor.sketchMode)};b.addListener("sketchModeChanged",this.listener)},destroy:function(){b.removeListener(this.listener)}});f.style.display="inline-flex";f.style.width="104px";f.style.maxWidth="104px";a.appendChild(f)}return a};
+DiagramFormatPanel.prototype.addOptions=function(a){var b=this.editorUi,e=b.editor.graph;a.appendChild(this.createTitle(mxResources.get("options")));e.isEnabled()&&(a.appendChild(this.createOption(mxResources.get("connectionArrows"),function(){return e.connectionArrowsEnabled},function(f){b.actions.get("connectionArrows").funct()},{install:function(f){this.listener=function(){f(e.connectionArrowsEnabled)};b.addListener("connectionArrowsChanged",this.listener)},destroy:function(){b.removeListener(this.listener)}})),
+a.appendChild(this.createOption(mxResources.get("connectionPoints"),function(){return e.connectionHandler.isEnabled()},function(f){b.actions.get("connectionPoints").funct()},{install:function(f){this.listener=function(){f(e.connectionHandler.isEnabled())};b.addListener("connectionPointsChanged",this.listener)},destroy:function(){b.removeListener(this.listener)}})),a.appendChild(this.createOption(mxResources.get("guides"),function(){return e.graphHandler.guidesEnabled},function(f){b.actions.get("guides").funct()},
+{install:function(f){this.listener=function(){f(e.graphHandler.guidesEnabled)};b.addListener("guidesEnabledChanged",this.listener)},destroy:function(){b.removeListener(this.listener)}})));return a};
+DiagramFormatPanel.prototype.addGridOption=function(a){function b(q){var k=e.isFloatUnit()?parseFloat(d.value):parseInt(d.value);k=e.fromUnit(Math.max(e.inUnit(1),isNaN(k)?e.inUnit(10):k));k!=h.getGridSize()&&(mxGraph.prototype.gridSize=k,h.setGridSize(k));d.value=e.inUnit(k)+" "+e.getUnit();mxEvent.consume(q)}var e=this,f=this.editorUi,h=f.editor.graph,d=document.createElement("input");d.style.position="absolute";d.style.textAlign="right";d.style.width="48px";d.style.marginTop="-2px";d.style.height=
+"21px";d.style.borderWidth="1px";d.style.borderStyle="solid";d.style.boxSizing="border-box";d.value=this.inUnit(h.getGridSize())+" "+this.getUnit();var g=this.createStepper(d,b,this.getUnitStep(),null,null,null,this.isFloatUnit());d.style.display=h.isGridEnabled()?"":"none";g.style.display=d.style.display;mxEvent.addListener(d,"keydown",function(q){13==q.keyCode?(h.container.focus(),mxEvent.consume(q)):27==q.keyCode&&(d.value=h.getGridSize(),h.container.focus(),mxEvent.consume(q))});mxEvent.addListener(d,
+"blur",b);mxEvent.addListener(d,"change",b);d.style.right="78px";g.style.marginTop=mxClient.IS_MAC&&mxClient.IS_GC?"-16px":mxClient.IS_WIN?"-18px":"-17px";g.style.right="66px";var n=this.createColorOption(mxResources.get("grid"),function(){var q=h.view.gridColor;return h.isGridEnabled()?q:null},function(q){var k=h.isGridEnabled();q==mxConstants.NONE?h.setGridEnabled(!1):(h.setGridEnabled(!0),f.setGridColor(q));d.style.display=h.isGridEnabled()?"":"none";g.style.display=d.style.display;k!=h.isGridEnabled()&&
+(h.defaultGridEnabled=h.isGridEnabled(),f.fireEvent(new mxEventObject("gridEnabledChanged")))},Editor.isDarkMode()?h.view.defaultDarkGridColor:h.view.defaultGridColor,{install:function(q){this.listener=function(){q(h.isGridEnabled()?h.view.gridColor:null)};f.addListener("gridColorChanged",this.listener);f.addListener("gridEnabledChanged",this.listener)},destroy:function(){f.removeListener(this.listener)}});n.style.padding="6px 0 0 0";n.appendChild(d);n.appendChild(g);a.appendChild(n)};
DiagramFormatPanel.prototype.addDocumentProperties=function(a){a.appendChild(this.createTitle(mxResources.get("options")));return a};
-DiagramFormatPanel.prototype.addPaperSize=function(a){var b=this.editorUi,d=b.editor.graph;a.appendChild(this.createTitle(mxResources.get("paperSize")));var e=PageSetupDialog.addPageFormatPanel(a,"formatpanel",d.pageFormat,function(f){if(null==d.pageFormat||d.pageFormat.width!=f.width||d.pageFormat.height!=f.height)f=new ChangePageSetup(b,null,null,f),f.ignoreColor=!0,f.ignoreImage=!0,d.model.execute(f)});this.addKeyHandler(e.widthInput,function(){e.set(d.pageFormat)});this.addKeyHandler(e.heightInput,
-function(){e.set(d.pageFormat)});var g=function(){e.set(d.pageFormat)};b.addListener("pageFormatChanged",g);this.listeners.push({destroy:function(){b.removeListener(g)}});d.getModel().addListener(mxEvent.CHANGE,g);this.listeners.push({destroy:function(){d.getModel().removeListener(g)}});return a};DiagramFormatPanel.prototype.addStyleOps=function(a){this.addActions(a,["editData"]);this.addActions(a,["clearDefaultStyle"]);return a};
-DiagramFormatPanel.prototype.destroy=function(){BaseFormatPanel.prototype.destroy.apply(this,arguments);this.gridEnabledListener&&(this.editorUi.removeListener(this.gridEnabledListener),this.gridEnabledListener=null)};(function(){function a(c,k,t){mxShape.call(this);this.line=c;this.stroke=k;this.strokewidth=null!=t?t:1;this.updateBoundsFromLine()}function b(){mxSwimlane.call(this)}function d(){mxSwimlane.call(this)}function e(){mxCylinder.call(this)}function g(){mxConnector.call(this)}function f(){mxCylinder.call(this)}function h(){mxActor.call(this)}function n(){mxCylinder.call(this)}function q(){mxCylinder.call(this)}function l(){mxCylinder.call(this)}function p(){mxCylinder.call(this)}function w(){mxShape.call(this)}
-function z(){mxShape.call(this)}function C(c,k,t,m){mxShape.call(this);this.bounds=c;this.fill=k;this.stroke=t;this.strokewidth=null!=m?m:1}function F(){mxActor.call(this)}function D(){mxCylinder.call(this)}function G(){mxCylinder.call(this)}function K(){mxActor.call(this)}function I(){mxActor.call(this)}function O(){mxActor.call(this)}function H(){mxActor.call(this)}function Z(){mxActor.call(this)}function S(){mxActor.call(this)}function X(){mxActor.call(this)}function Y(c,k){this.canvas=c;this.canvas.setLineJoin("round");
-this.canvas.setLineCap("round");this.defaultVariation=k;this.originalLineTo=this.canvas.lineTo;this.canvas.lineTo=mxUtils.bind(this,Y.prototype.lineTo);this.originalMoveTo=this.canvas.moveTo;this.canvas.moveTo=mxUtils.bind(this,Y.prototype.moveTo);this.originalClose=this.canvas.close;this.canvas.close=mxUtils.bind(this,Y.prototype.close);this.originalQuadTo=this.canvas.quadTo;this.canvas.quadTo=mxUtils.bind(this,Y.prototype.quadTo);this.originalCurveTo=this.canvas.curveTo;this.canvas.curveTo=mxUtils.bind(this,
-Y.prototype.curveTo);this.originalArcTo=this.canvas.arcTo;this.canvas.arcTo=mxUtils.bind(this,Y.prototype.arcTo)}function M(){mxRectangleShape.call(this)}function U(){mxRectangleShape.call(this)}function ba(){mxActor.call(this)}function ja(){mxActor.call(this)}function pa(){mxActor.call(this)}function P(){mxRectangleShape.call(this)}function W(){mxRectangleShape.call(this)}function V(){mxCylinder.call(this)}function ca(){mxShape.call(this)}function ra(){mxShape.call(this)}function oa(){mxEllipse.call(this)}
-function L(){mxShape.call(this)}function ea(){mxShape.call(this)}function sa(){mxRectangleShape.call(this)}function va(){mxShape.call(this)}function Ua(){mxShape.call(this)}function ma(){mxShape.call(this)}function Fa(){mxShape.call(this)}function Ia(){mxShape.call(this)}function Oa(){mxCylinder.call(this)}function Ra(){mxCylinder.call(this)}function Ma(){mxRectangleShape.call(this)}function Na(){mxDoubleEllipse.call(this)}function ta(){mxDoubleEllipse.call(this)}function Pa(){mxArrowConnector.call(this);
-this.spacing=0}function $a(){mxArrowConnector.call(this);this.spacing=0}function gb(){mxActor.call(this)}function cb(){mxRectangleShape.call(this)}function hb(){mxActor.call(this)}function ib(){mxActor.call(this)}function fb(){mxActor.call(this)}function fa(){mxActor.call(this)}function Ga(){mxActor.call(this)}function ya(){mxActor.call(this)}function u(){mxActor.call(this)}function A(){mxActor.call(this)}function B(){mxActor.call(this)}function E(){mxActor.call(this)}function N(){mxEllipse.call(this)}
-function Q(){mxEllipse.call(this)}function T(){mxEllipse.call(this)}function ia(){mxRhombus.call(this)}function da(){mxEllipse.call(this)}function ha(){mxEllipse.call(this)}function ua(){mxEllipse.call(this)}function Ja(){mxEllipse.call(this)}function Ka(){mxActor.call(this)}function xa(){mxActor.call(this)}function Ba(){mxActor.call(this)}function wa(c,k,t,m){mxShape.call(this);this.bounds=c;this.fill=k;this.stroke=t;this.strokewidth=null!=m?m:1;this.rectStyle="square";this.size=10;this.absoluteCornerSize=
-!0;this.indent=2;this.rectOutline="single"}function za(){mxConnector.call(this)}function Ya(c,k,t,m,r,v,x,J,y,aa){x+=y;var R=m.clone();m.x-=r*(2*x+y);m.y-=v*(2*x+y);r*=x+y;v*=x+y;return function(){c.ellipse(R.x-r-x,R.y-v-x,2*x,2*x);aa?c.fillAndStroke():c.stroke()}}mxUtils.extend(a,mxShape);a.prototype.updateBoundsFromLine=function(){var c=null;if(null!=this.line)for(var k=0;k<this.line.length;k++){var t=this.line[k];null!=t&&(t=new mxRectangle(t.x,t.y,this.strokewidth,this.strokewidth),null==c?c=
-t:c.add(t))}this.bounds=null!=c?c:new mxRectangle};a.prototype.paintVertexShape=function(c,k,t,m,r){this.paintTableLine(c,this.line,0,0)};a.prototype.paintTableLine=function(c,k,t,m){if(null!=k){var r=null;c.begin();for(var v=0;v<k.length;v++){var x=k[v];null!=x&&(null==r?c.moveTo(x.x+t,x.y+m):null!=r&&c.lineTo(x.x+t,x.y+m));r=x}c.end();c.stroke()}};a.prototype.intersectsRectangle=function(c){var k=!1;if(mxShape.prototype.intersectsRectangle.apply(this,arguments)&&null!=this.line)for(var t=null,m=
-0;m<this.line.length&&!k;m++){var r=this.line[m];null!=r&&null!=t&&(k=mxUtils.rectangleIntersectsSegment(c,t,r));t=r}return k};mxCellRenderer.registerShape("tableLine",a);mxUtils.extend(b,mxSwimlane);b.prototype.getLabelBounds=function(c){return 0==this.getTitleSize()?mxShape.prototype.getLabelBounds.apply(this,arguments):mxSwimlane.prototype.getLabelBounds.apply(this,arguments)};b.prototype.paintVertexShape=function(c,k,t,m,r){var v=null!=this.state?this.state.view.graph.isCellCollapsed(this.state.cell):
-!1,x=this.isHorizontal(),J=this.getTitleSize();0==J||this.outline?ua.prototype.paintVertexShape.apply(this,arguments):(mxSwimlane.prototype.paintVertexShape.apply(this,arguments),c.translate(-k,-t));v||this.outline||!(x&&J<r||!x&&J<m)||this.paintForeground(c,k,t,m,r)};b.prototype.paintForeground=function(c,k,t,m,r){if(null!=this.state){var v=this.flipH,x=this.flipV;if(this.direction==mxConstants.DIRECTION_NORTH||this.direction==mxConstants.DIRECTION_SOUTH){var J=v;v=x;x=J}c.rotate(-this.getShapeRotation(),
-v,x,k+m/2,t+r/2);s=this.scale;k=this.bounds.x/s;t=this.bounds.y/s;m=this.bounds.width/s;r=this.bounds.height/s;this.paintTableForeground(c,k,t,m,r)}};b.prototype.paintTableForeground=function(c,k,t,m,r){m=this.state.view.graph.getTableLines(this.state.cell,"0"!=mxUtils.getValue(this.state.style,"rowLines","1"),"0"!=mxUtils.getValue(this.state.style,"columnLines","1"));for(r=0;r<m.length;r++)a.prototype.paintTableLine(c,m[r],k,t)};b.prototype.configurePointerEvents=function(c){0==this.getTitleSize()?
-c.pointerEvents=!1:mxSwimlane.prototype.configurePointerEvents.apply(this,arguments)};mxCellRenderer.registerShape("table",b);mxUtils.extend(d,b);d.prototype.paintForeground=function(){};mxCellRenderer.registerShape("tableRow",d);mxUtils.extend(e,mxCylinder);e.prototype.size=20;e.prototype.darkOpacity=0;e.prototype.darkOpacity2=0;e.prototype.paintVertexShape=function(c,k,t,m,r){var v=Math.max(0,Math.min(m,Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size))))),x=Math.max(-1,Math.min(1,
-parseFloat(mxUtils.getValue(this.style,"darkOpacity",this.darkOpacity)))),J=Math.max(-1,Math.min(1,parseFloat(mxUtils.getValue(this.style,"darkOpacity2",this.darkOpacity2))));c.translate(k,t);c.begin();c.moveTo(0,0);c.lineTo(m-v,0);c.lineTo(m,v);c.lineTo(m,r);c.lineTo(v,r);c.lineTo(0,r-v);c.lineTo(0,0);c.close();c.end();c.fillAndStroke();this.outline||(c.setShadow(!1),0!=x&&(c.setFillAlpha(Math.abs(x)),c.setFillColor(0>x?"#FFFFFF":"#000000"),c.begin(),c.moveTo(0,0),c.lineTo(m-v,0),c.lineTo(m,v),c.lineTo(v,
-v),c.close(),c.fill()),0!=J&&(c.setFillAlpha(Math.abs(J)),c.setFillColor(0>J?"#FFFFFF":"#000000"),c.begin(),c.moveTo(0,0),c.lineTo(v,v),c.lineTo(v,r),c.lineTo(0,r-v),c.close(),c.fill()),c.begin(),c.moveTo(v,r),c.lineTo(v,v),c.lineTo(0,0),c.moveTo(v,v),c.lineTo(m,v),c.end(),c.stroke())};e.prototype.getLabelMargins=function(c){return mxUtils.getValue(this.style,"boundedLbl",!1)?(c=parseFloat(mxUtils.getValue(this.style,"size",this.size))*this.scale,new mxRectangle(c,c,0,0)):null};mxCellRenderer.registerShape("cube",
-e);var Sa=Math.tan(mxUtils.toRadians(30)),La=(.5-Sa)/2;mxCellRenderer.registerShape("isoRectangle",h);mxUtils.extend(g,mxConnector);g.prototype.paintEdgeShape=function(c,k){var t=this.createMarker(c,k,!0),m=this.createMarker(c,k,!1);c.setDashed(!1);mxPolyline.prototype.paintEdgeShape.apply(this,arguments);null!=this.isDashed&&c.setDashed(this.isDashed,null!=this.style?1==mxUtils.getValue(this.style,mxConstants.STYLE_FIX_DASH,!1):!1);c.setShadow(!1);c.setStrokeColor(this.fill);mxPolyline.prototype.paintEdgeShape.apply(this,
-arguments);c.setStrokeColor(this.stroke);c.setFillColor(this.stroke);c.setDashed(!1);null!=t&&t();null!=m&&m()};mxCellRenderer.registerShape("wire",g);mxUtils.extend(f,mxCylinder);f.prototype.size=6;f.prototype.paintVertexShape=function(c,k,t,m,r){c.setFillColor(this.stroke);var v=Math.max(0,parseFloat(mxUtils.getValue(this.style,"size",this.size))-2)+2*this.strokewidth;c.ellipse(k+.5*(m-v),t+.5*(r-v),v,v);c.fill();c.setFillColor(mxConstants.NONE);c.rect(k,t,m,r);c.fill()};mxCellRenderer.registerShape("waypoint",
-f);mxUtils.extend(h,mxActor);h.prototype.size=20;h.prototype.redrawPath=function(c,k,t,m,r){k=Math.min(m,r/Sa);c.translate((m-k)/2,(r-k)/2+k/4);c.moveTo(0,.25*k);c.lineTo(.5*k,k*La);c.lineTo(k,.25*k);c.lineTo(.5*k,(.5-La)*k);c.lineTo(0,.25*k);c.close();c.end()};mxCellRenderer.registerShape("isoRectangle",h);mxUtils.extend(n,mxCylinder);n.prototype.size=20;n.prototype.redrawPath=function(c,k,t,m,r,v){k=Math.min(m,r/(.5+Sa));v?(c.moveTo(0,.25*k),c.lineTo(.5*k,(.5-La)*k),c.lineTo(k,.25*k),c.moveTo(.5*
-k,(.5-La)*k),c.lineTo(.5*k,(1-La)*k)):(c.translate((m-k)/2,(r-k)/2),c.moveTo(0,.25*k),c.lineTo(.5*k,k*La),c.lineTo(k,.25*k),c.lineTo(k,.75*k),c.lineTo(.5*k,(1-La)*k),c.lineTo(0,.75*k),c.close());c.end()};mxCellRenderer.registerShape("isoCube",n);mxUtils.extend(q,mxCylinder);q.prototype.redrawPath=function(c,k,t,m,r,v){k=Math.min(r/2,Math.round(r/8)+this.strokewidth-1);if(v&&null!=this.fill||!v&&null==this.fill)c.moveTo(0,k),c.curveTo(0,2*k,m,2*k,m,k),v||(c.stroke(),c.begin()),c.translate(0,k/2),c.moveTo(0,
-k),c.curveTo(0,2*k,m,2*k,m,k),v||(c.stroke(),c.begin()),c.translate(0,k/2),c.moveTo(0,k),c.curveTo(0,2*k,m,2*k,m,k),v||(c.stroke(),c.begin()),c.translate(0,-k);v||(c.moveTo(0,k),c.curveTo(0,-k/3,m,-k/3,m,k),c.lineTo(m,r-k),c.curveTo(m,r+k/3,0,r+k/3,0,r-k),c.close())};q.prototype.getLabelMargins=function(c){return new mxRectangle(0,2.5*Math.min(c.height/2,Math.round(c.height/8)+this.strokewidth-1),0,0)};mxCellRenderer.registerShape("datastore",q);mxUtils.extend(l,mxCylinder);l.prototype.size=30;l.prototype.darkOpacity=
-0;l.prototype.paintVertexShape=function(c,k,t,m,r){var v=Math.max(0,Math.min(m,Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size))))),x=Math.max(-1,Math.min(1,parseFloat(mxUtils.getValue(this.style,"darkOpacity",this.darkOpacity))));c.translate(k,t);c.begin();c.moveTo(0,0);c.lineTo(m-v,0);c.lineTo(m,v);c.lineTo(m,r);c.lineTo(0,r);c.lineTo(0,0);c.close();c.end();c.fillAndStroke();this.outline||(c.setShadow(!1),0!=x&&(c.setFillAlpha(Math.abs(x)),c.setFillColor(0>x?"#FFFFFF":"#000000"),
-c.begin(),c.moveTo(m-v,0),c.lineTo(m-v,v),c.lineTo(m,v),c.close(),c.fill()),c.begin(),c.moveTo(m-v,0),c.lineTo(m-v,v),c.lineTo(m,v),c.end(),c.stroke())};mxCellRenderer.registerShape("note",l);mxUtils.extend(p,l);mxCellRenderer.registerShape("note2",p);p.prototype.getLabelMargins=function(c){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var k=mxUtils.getValue(this.style,"size",15);return new mxRectangle(0,Math.min(c.height*this.scale,k*this.scale),0,0)}return null};mxUtils.extend(w,mxShape);w.prototype.isoAngle=
-15;w.prototype.paintVertexShape=function(c,k,t,m,r){var v=Math.max(.01,Math.min(94,parseFloat(mxUtils.getValue(this.style,"isoAngle",this.isoAngle))))*Math.PI/200;v=Math.min(m*Math.tan(v),.5*r);c.translate(k,t);c.begin();c.moveTo(.5*m,0);c.lineTo(m,v);c.lineTo(m,r-v);c.lineTo(.5*m,r);c.lineTo(0,r-v);c.lineTo(0,v);c.close();c.fillAndStroke();c.setShadow(!1);c.begin();c.moveTo(0,v);c.lineTo(.5*m,2*v);c.lineTo(m,v);c.moveTo(.5*m,2*v);c.lineTo(.5*m,r);c.stroke()};mxCellRenderer.registerShape("isoCube2",
-w);mxUtils.extend(z,mxShape);z.prototype.size=15;z.prototype.paintVertexShape=function(c,k,t,m,r){var v=Math.max(0,Math.min(.5*r,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c.translate(k,t);0==v?(c.rect(0,0,m,r),c.fillAndStroke()):(c.begin(),c.moveTo(0,v),c.arcTo(.5*m,v,0,0,1,.5*m,0),c.arcTo(.5*m,v,0,0,1,m,v),c.lineTo(m,r-v),c.arcTo(.5*m,v,0,0,1,.5*m,r),c.arcTo(.5*m,v,0,0,1,0,r-v),c.close(),c.fillAndStroke(),c.setShadow(!1),c.begin(),c.moveTo(m,v),c.arcTo(.5*m,v,0,0,1,.5*m,2*v),c.arcTo(.5*
-m,v,0,0,1,0,v),c.stroke())};mxCellRenderer.registerShape("cylinder2",z);mxUtils.extend(C,mxCylinder);C.prototype.size=15;C.prototype.paintVertexShape=function(c,k,t,m,r){var v=Math.max(0,Math.min(.5*r,parseFloat(mxUtils.getValue(this.style,"size",this.size)))),x=mxUtils.getValue(this.style,"lid",!0);c.translate(k,t);0==v?(c.rect(0,0,m,r),c.fillAndStroke()):(c.begin(),x?(c.moveTo(0,v),c.arcTo(.5*m,v,0,0,1,.5*m,0),c.arcTo(.5*m,v,0,0,1,m,v)):(c.moveTo(0,0),c.arcTo(.5*m,v,0,0,0,.5*m,v),c.arcTo(.5*m,v,
-0,0,0,m,0)),c.lineTo(m,r-v),c.arcTo(.5*m,v,0,0,1,.5*m,r),c.arcTo(.5*m,v,0,0,1,0,r-v),c.close(),c.fillAndStroke(),c.setShadow(!1),x&&(c.begin(),c.moveTo(m,v),c.arcTo(.5*m,v,0,0,1,.5*m,2*v),c.arcTo(.5*m,v,0,0,1,0,v),c.stroke()))};mxCellRenderer.registerShape("cylinder3",C);mxUtils.extend(F,mxActor);F.prototype.redrawPath=function(c,k,t,m,r){c.moveTo(0,0);c.quadTo(m/2,.5*r,m,0);c.quadTo(.5*m,r/2,m,r);c.quadTo(m/2,.5*r,0,r);c.quadTo(.5*m,r/2,0,0);c.end()};mxCellRenderer.registerShape("switch",F);mxUtils.extend(D,
-mxCylinder);D.prototype.tabWidth=60;D.prototype.tabHeight=20;D.prototype.tabPosition="right";D.prototype.arcSize=.1;D.prototype.paintVertexShape=function(c,k,t,m,r){c.translate(k,t);k=Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,"tabWidth",this.tabWidth))));t=Math.max(0,Math.min(r,parseFloat(mxUtils.getValue(this.style,"tabHeight",this.tabHeight))));var v=mxUtils.getValue(this.style,"tabPosition",this.tabPosition),x=mxUtils.getValue(this.style,"rounded",!1),J=mxUtils.getValue(this.style,
-"absoluteArcSize",!1),y=parseFloat(mxUtils.getValue(this.style,"arcSize",this.arcSize));J||(y*=Math.min(m,r));y=Math.min(y,.5*m,.5*(r-t));k=Math.max(k,y);k=Math.min(m-y,k);x||(y=0);c.begin();"left"==v?(c.moveTo(Math.max(y,0),t),c.lineTo(Math.max(y,0),0),c.lineTo(k,0),c.lineTo(k,t)):(c.moveTo(m-k,t),c.lineTo(m-k,0),c.lineTo(m-Math.max(y,0),0),c.lineTo(m-Math.max(y,0),t));x?(c.moveTo(0,y+t),c.arcTo(y,y,0,0,1,y,t),c.lineTo(m-y,t),c.arcTo(y,y,0,0,1,m,y+t),c.lineTo(m,r-y),c.arcTo(y,y,0,0,1,m-y,r),c.lineTo(y,
-r),c.arcTo(y,y,0,0,1,0,r-y)):(c.moveTo(0,t),c.lineTo(m,t),c.lineTo(m,r),c.lineTo(0,r));c.close();c.fillAndStroke();c.setShadow(!1);"triangle"==mxUtils.getValue(this.style,"folderSymbol",null)&&(c.begin(),c.moveTo(m-30,t+20),c.lineTo(m-20,t+10),c.lineTo(m-10,t+20),c.close(),c.stroke())};mxCellRenderer.registerShape("folder",D);D.prototype.getLabelMargins=function(c){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var k=mxUtils.getValue(this.style,"tabHeight",15)*this.scale;if(mxUtils.getValue(this.style,
-"labelInHeader",!1)){var t=mxUtils.getValue(this.style,"tabWidth",15)*this.scale;k=mxUtils.getValue(this.style,"tabHeight",15)*this.scale;var m=mxUtils.getValue(this.style,"rounded",!1),r=mxUtils.getValue(this.style,"absoluteArcSize",!1),v=parseFloat(mxUtils.getValue(this.style,"arcSize",this.arcSize));r||(v*=Math.min(c.width,c.height));v=Math.min(v,.5*c.width,.5*(c.height-k));m||(v=0);return"left"==mxUtils.getValue(this.style,"tabPosition",this.tabPosition)?new mxRectangle(v,0,Math.min(c.width,c.width-
-t),Math.min(c.height,c.height-k)):new mxRectangle(Math.min(c.width,c.width-t),0,v,Math.min(c.height,c.height-k))}return new mxRectangle(0,Math.min(c.height,k),0,0)}return null};mxUtils.extend(G,mxCylinder);G.prototype.arcSize=.1;G.prototype.paintVertexShape=function(c,k,t,m,r){c.translate(k,t);var v=mxUtils.getValue(this.style,"rounded",!1),x=mxUtils.getValue(this.style,"absoluteArcSize",!1);k=parseFloat(mxUtils.getValue(this.style,"arcSize",this.arcSize));t=mxUtils.getValue(this.style,"umlStateConnection",
-null);x||(k*=Math.min(m,r));k=Math.min(k,.5*m,.5*r);v||(k=0);v=0;null!=t&&(v=10);c.begin();c.moveTo(v,k);c.arcTo(k,k,0,0,1,v+k,0);c.lineTo(m-k,0);c.arcTo(k,k,0,0,1,m,k);c.lineTo(m,r-k);c.arcTo(k,k,0,0,1,m-k,r);c.lineTo(v+k,r);c.arcTo(k,k,0,0,1,v,r-k);c.close();c.fillAndStroke();c.setShadow(!1);"collapseState"==mxUtils.getValue(this.style,"umlStateSymbol",null)&&(c.roundrect(m-40,r-20,10,10,3,3),c.stroke(),c.roundrect(m-20,r-20,10,10,3,3),c.stroke(),c.begin(),c.moveTo(m-30,r-15),c.lineTo(m-20,r-15),
-c.stroke());"connPointRefEntry"==t?(c.ellipse(0,.5*r-10,20,20),c.fillAndStroke()):"connPointRefExit"==t&&(c.ellipse(0,.5*r-10,20,20),c.fillAndStroke(),c.begin(),c.moveTo(5,.5*r-5),c.lineTo(15,.5*r+5),c.moveTo(15,.5*r-5),c.lineTo(5,.5*r+5),c.stroke())};G.prototype.getLabelMargins=function(c){return mxUtils.getValue(this.style,"boundedLbl",!1)&&null!=mxUtils.getValue(this.style,"umlStateConnection",null)?new mxRectangle(10*this.scale,0,0,0):null};mxCellRenderer.registerShape("umlState",G);mxUtils.extend(K,
-mxActor);K.prototype.size=30;K.prototype.isRoundable=function(){return!0};K.prototype.redrawPath=function(c,k,t,m,r){k=Math.max(0,Math.min(m,Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size)))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(k,0),new mxPoint(m,0),new mxPoint(m,r),new mxPoint(0,r),new mxPoint(0,k)],this.isRounded,t,!0);c.end()};mxCellRenderer.registerShape("card",K);mxUtils.extend(I,mxActor);I.prototype.size=
-.4;I.prototype.redrawPath=function(c,k,t,m,r){k=r*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c.moveTo(0,k/2);c.quadTo(m/4,1.4*k,m/2,k/2);c.quadTo(3*m/4,k*(1-1.4),m,k/2);c.lineTo(m,r-k/2);c.quadTo(3*m/4,r-1.4*k,m/2,r-k/2);c.quadTo(m/4,r-k*(1-1.4),0,r-k/2);c.lineTo(0,k/2);c.close();c.end()};I.prototype.getLabelBounds=function(c){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var k=mxUtils.getValue(this.style,"size",this.size),t=c.width,m=c.height;if(null==this.direction||
-this.direction==mxConstants.DIRECTION_EAST||this.direction==mxConstants.DIRECTION_WEST)return k*=m,new mxRectangle(c.x,c.y+k,t,m-2*k);k*=t;return new mxRectangle(c.x+k,c.y,t-2*k,m)}return c};mxCellRenderer.registerShape("tape",I);mxUtils.extend(O,mxActor);O.prototype.size=.3;O.prototype.getLabelMargins=function(c){return mxUtils.getValue(this.style,"boundedLbl",!1)?new mxRectangle(0,0,0,parseFloat(mxUtils.getValue(this.style,"size",this.size))*c.height):null};O.prototype.redrawPath=function(c,k,t,
-m,r){k=r*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c.moveTo(0,0);c.lineTo(m,0);c.lineTo(m,r-k/2);c.quadTo(3*m/4,r-1.4*k,m/2,r-k/2);c.quadTo(m/4,r-k*(1-1.4),0,r-k/2);c.lineTo(0,k/2);c.close();c.end()};mxCellRenderer.registerShape("document",O);var Xa=mxCylinder.prototype.getCylinderSize;mxCylinder.prototype.getCylinderSize=function(c,k,t,m){var r=mxUtils.getValue(this.style,"size");return null!=r?m*Math.max(0,Math.min(1,r)):Xa.apply(this,arguments)};mxCylinder.prototype.getLabelMargins=
-function(c){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var k=2*mxUtils.getValue(this.style,"size",.15);return new mxRectangle(0,Math.min(this.maxHeight*this.scale,c.height*k),0,0)}return null};C.prototype.getLabelMargins=function(c){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var k=mxUtils.getValue(this.style,"size",15);mxUtils.getValue(this.style,"lid",!0)||(k/=2);return new mxRectangle(0,Math.min(c.height*this.scale,2*k*this.scale),0,Math.max(0,.3*k*this.scale))}return null};D.prototype.getLabelMargins=
-function(c){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var k=mxUtils.getValue(this.style,"tabHeight",15)*this.scale;if(mxUtils.getValue(this.style,"labelInHeader",!1)){var t=mxUtils.getValue(this.style,"tabWidth",15)*this.scale;k=mxUtils.getValue(this.style,"tabHeight",15)*this.scale;var m=mxUtils.getValue(this.style,"rounded",!1),r=mxUtils.getValue(this.style,"absoluteArcSize",!1),v=parseFloat(mxUtils.getValue(this.style,"arcSize",this.arcSize));r||(v*=Math.min(c.width,c.height));v=Math.min(v,
-.5*c.width,.5*(c.height-k));m||(v=0);return"left"==mxUtils.getValue(this.style,"tabPosition",this.tabPosition)?new mxRectangle(v,0,Math.min(c.width,c.width-t),Math.min(c.height,c.height-k)):new mxRectangle(Math.min(c.width,c.width-t),0,v,Math.min(c.height,c.height-k))}return new mxRectangle(0,Math.min(c.height,k),0,0)}return null};G.prototype.getLabelMargins=function(c){return mxUtils.getValue(this.style,"boundedLbl",!1)&&null!=mxUtils.getValue(this.style,"umlStateConnection",null)?new mxRectangle(10*
-this.scale,0,0,0):null};p.prototype.getLabelMargins=function(c){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var k=mxUtils.getValue(this.style,"size",15);return new mxRectangle(0,Math.min(c.height*this.scale,k*this.scale),0,Math.max(0,k*this.scale))}return null};mxUtils.extend(H,mxActor);H.prototype.size=.2;H.prototype.fixedSize=20;H.prototype.isRoundable=function(){return!0};H.prototype.redrawPath=function(c,k,t,m,r){k="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,
-"size",this.fixedSize)))):m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,r),new mxPoint(k,0),new mxPoint(m,0),new mxPoint(m-k,r)],this.isRounded,t,!0);c.end()};mxCellRenderer.registerShape("parallelogram",H);mxUtils.extend(Z,mxActor);Z.prototype.size=.2;Z.prototype.fixedSize=20;Z.prototype.isRoundable=function(){return!0};Z.prototype.redrawPath=function(c,
-k,t,m,r){k="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(.5*m,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize)))):m*Math.max(0,Math.min(.5,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,r),new mxPoint(k,0),new mxPoint(m-k,0),new mxPoint(m,r)],this.isRounded,t,!0)};mxCellRenderer.registerShape("trapezoid",Z);mxUtils.extend(S,mxActor);
-S.prototype.size=.5;S.prototype.redrawPath=function(c,k,t,m,r){c.setFillColor(null);k=m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(m,0),new mxPoint(k,0),new mxPoint(k,r/2),new mxPoint(0,r/2),new mxPoint(k,r/2),new mxPoint(k,r),new mxPoint(m,r)],this.isRounded,t,!1);c.end()};mxCellRenderer.registerShape("curlyBracket",S);mxUtils.extend(X,mxActor);
-X.prototype.redrawPath=function(c,k,t,m,r){c.setStrokeWidth(1);c.setFillColor(this.stroke);k=m/5;c.rect(0,0,k,r);c.fillAndStroke();c.rect(2*k,0,k,r);c.fillAndStroke();c.rect(4*k,0,k,r);c.fillAndStroke()};mxCellRenderer.registerShape("parallelMarker",X);Y.prototype.moveTo=function(c,k){this.originalMoveTo.apply(this.canvas,arguments);this.lastX=c;this.lastY=k;this.firstX=c;this.firstY=k};Y.prototype.close=function(){null!=this.firstX&&null!=this.firstY&&(this.lineTo(this.firstX,this.firstY),this.originalClose.apply(this.canvas,
-arguments));this.originalClose.apply(this.canvas,arguments)};Y.prototype.quadTo=function(c,k,t,m){this.originalQuadTo.apply(this.canvas,arguments);this.lastX=t;this.lastY=m};Y.prototype.curveTo=function(c,k,t,m,r,v){this.originalCurveTo.apply(this.canvas,arguments);this.lastX=r;this.lastY=v};Y.prototype.arcTo=function(c,k,t,m,r,v,x){this.originalArcTo.apply(this.canvas,arguments);this.lastX=v;this.lastY=x};Y.prototype.lineTo=function(c,k){if(null!=this.lastX&&null!=this.lastY){var t=function(R){return"number"===
-typeof R?R?0>R?-1:1:R===R?0:NaN:NaN},m=Math.abs(c-this.lastX),r=Math.abs(k-this.lastY),v=Math.sqrt(m*m+r*r);if(2>v){this.originalLineTo.apply(this.canvas,arguments);this.lastX=c;this.lastY=k;return}var x=Math.round(v/10),J=this.defaultVariation;5>x&&(x=5,J/=3);var y=t(c-this.lastX)*m/x;t=t(k-this.lastY)*r/x;m/=v;r/=v;for(v=0;v<x;v++){var aa=(Math.random()-.5)*J;this.originalLineTo.call(this.canvas,y*v+this.lastX-aa*r,t*v+this.lastY-aa*m)}this.originalLineTo.call(this.canvas,c,k)}else this.originalLineTo.apply(this.canvas,
-arguments);this.lastX=c;this.lastY=k};Y.prototype.destroy=function(){this.canvas.lineTo=this.originalLineTo;this.canvas.moveTo=this.originalMoveTo;this.canvas.close=this.originalClose;this.canvas.quadTo=this.originalQuadTo;this.canvas.curveTo=this.originalCurveTo;this.canvas.arcTo=this.originalArcTo};var Za=mxShape.prototype.beforePaint;mxShape.prototype.beforePaint=function(c){Za.apply(this,arguments);null==c.handJiggle&&(c.handJiggle=this.createHandJiggle(c))};var bb=mxShape.prototype.afterPaint;
-mxShape.prototype.afterPaint=function(c){bb.apply(this,arguments);null!=c.handJiggle&&(c.handJiggle.destroy(),delete c.handJiggle)};mxShape.prototype.createComicCanvas=function(c){return new Y(c,mxUtils.getValue(this.style,"jiggle",Editor.sketchDefaultJiggle))};mxShape.prototype.createHandJiggle=function(c){return this.outline||null==this.style||"0"==mxUtils.getValue(this.style,"comic","0")?null:this.createComicCanvas(c)};var jb=mxRectangleShape.prototype.isHtmlAllowed;mxRectangleShape.prototype.isHtmlAllowed=
-function(){return!this.outline&&(null==this.style||"0"==mxUtils.getValue(this.style,"comic","0")&&"0"==mxUtils.getValue(this.style,"sketch","1"==urlParams.rough?"1":"0"))&&jb.apply(this,arguments)};var mb=mxRectangleShape.prototype.paintBackground;mxRectangleShape.prototype.paintBackground=function(c,k,t,m,r){if(null==c.handJiggle||c.handJiggle.constructor!=Y)mb.apply(this,arguments);else{var v=!0;null!=this.style&&(v="1"==mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1"));if(v||null!=
-this.fill&&this.fill!=mxConstants.NONE||null!=this.stroke&&this.stroke!=mxConstants.NONE)v||null!=this.fill&&this.fill!=mxConstants.NONE||(c.pointerEvents=!1),c.begin(),this.isRounded?("1"==mxUtils.getValue(this.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,0)?v=Math.min(m/2,Math.min(r/2,mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2)):(v=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100,v=Math.min(m*v,r*v)),c.moveTo(k+
-v,t),c.lineTo(k+m-v,t),c.quadTo(k+m,t,k+m,t+v),c.lineTo(k+m,t+r-v),c.quadTo(k+m,t+r,k+m-v,t+r),c.lineTo(k+v,t+r),c.quadTo(k,t+r,k,t+r-v),c.lineTo(k,t+v),c.quadTo(k,t,k+v,t)):(c.moveTo(k,t),c.lineTo(k+m,t),c.lineTo(k+m,t+r),c.lineTo(k,t+r),c.lineTo(k,t)),c.close(),c.end(),c.fillAndStroke()}};mxUtils.extend(M,mxRectangleShape);M.prototype.size=.1;M.prototype.fixedSize=!1;M.prototype.isHtmlAllowed=function(){return!1};M.prototype.getLabelBounds=function(c){if(mxUtils.getValue(this.state.style,mxConstants.STYLE_HORIZONTAL,
-!0)==(null==this.direction||this.direction==mxConstants.DIRECTION_EAST||this.direction==mxConstants.DIRECTION_WEST)){var k=c.width,t=c.height;c=new mxRectangle(c.x,c.y,k,t);var m=k*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));if(this.isRounded){var r=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100;m=Math.max(m,Math.min(k*r,t*r))}c.x+=Math.round(m);c.width-=Math.round(2*m);return c}return c};M.prototype.paintForeground=
-function(c,k,t,m,r){var v=mxUtils.getValue(this.style,"fixedSize",this.fixedSize),x=parseFloat(mxUtils.getValue(this.style,"size",this.size));x=v?Math.max(0,Math.min(m,x)):m*Math.max(0,Math.min(1,x));this.isRounded&&(v=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100,x=Math.max(x,Math.min(m*v,r*v)));x=Math.round(x);c.begin();c.moveTo(k+x,t);c.lineTo(k+x,t+r);c.moveTo(k+m-x,t);c.lineTo(k+m-x,t+r);c.end();c.stroke();mxRectangleShape.prototype.paintForeground.apply(this,
-arguments)};mxCellRenderer.registerShape("process",M);mxCellRenderer.registerShape("process2",M);mxUtils.extend(U,mxRectangleShape);U.prototype.paintBackground=function(c,k,t,m,r){c.setFillColor(mxConstants.NONE);c.rect(k,t,m,r);c.fill()};U.prototype.paintForeground=function(c,k,t,m,r){};mxCellRenderer.registerShape("transparent",U);mxUtils.extend(ba,mxHexagon);ba.prototype.size=30;ba.prototype.position=.5;ba.prototype.position2=.5;ba.prototype.base=20;ba.prototype.getLabelMargins=function(){return new mxRectangle(0,
-0,0,parseFloat(mxUtils.getValue(this.style,"size",this.size))*this.scale)};ba.prototype.isRoundable=function(){return!0};ba.prototype.redrawPath=function(c,k,t,m,r){k=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;t=Math.max(0,Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size))));var v=m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"position",this.position)))),x=m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"position2",
-this.position2)))),J=Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,"base",this.base))));this.addPoints(c,[new mxPoint(0,0),new mxPoint(m,0),new mxPoint(m,r-t),new mxPoint(Math.min(m,v+J),r-t),new mxPoint(x,r),new mxPoint(Math.max(0,v),r-t),new mxPoint(0,r-t)],this.isRounded,k,!0,[4])};mxCellRenderer.registerShape("callout",ba);mxUtils.extend(ja,mxActor);ja.prototype.size=.2;ja.prototype.fixedSize=20;ja.prototype.isRoundable=function(){return!0};ja.prototype.redrawPath=function(c,k,
-t,m,r){k="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize)))):m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,0),new mxPoint(m-k,0),new mxPoint(m,r/2),new mxPoint(m-k,r),new mxPoint(0,r),new mxPoint(k,r/2)],this.isRounded,t,!0);c.end()};mxCellRenderer.registerShape("step",
-ja);mxUtils.extend(pa,mxHexagon);pa.prototype.size=.25;pa.prototype.fixedSize=20;pa.prototype.isRoundable=function(){return!0};pa.prototype.redrawPath=function(c,k,t,m,r){k="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(.5*m,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize)))):m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(k,
-0),new mxPoint(m-k,0),new mxPoint(m,.5*r),new mxPoint(m-k,r),new mxPoint(k,r),new mxPoint(0,.5*r)],this.isRounded,t,!0)};mxCellRenderer.registerShape("hexagon",pa);mxUtils.extend(P,mxRectangleShape);P.prototype.isHtmlAllowed=function(){return!1};P.prototype.paintForeground=function(c,k,t,m,r){var v=Math.min(m/5,r/5)+1;c.begin();c.moveTo(k+m/2,t+v);c.lineTo(k+m/2,t+r-v);c.moveTo(k+v,t+r/2);c.lineTo(k+m-v,t+r/2);c.end();c.stroke();mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxCellRenderer.registerShape("plus",
-P);var sb=mxRhombus.prototype.paintVertexShape;mxRhombus.prototype.getLabelBounds=function(c){if(1==this.style["double"]){var k=(2*Math.max(2,this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||0))*this.scale;return new mxRectangle(c.x+k,c.y+k,c.width-2*k,c.height-2*k)}return c};mxRhombus.prototype.paintVertexShape=function(c,k,t,m,r){sb.apply(this,arguments);if(!this.outline&&1==this.style["double"]){var v=2*Math.max(2,this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||
-0);k+=v;t+=v;m-=2*v;r-=2*v;0<m&&0<r&&(c.setShadow(!1),sb.apply(this,[c,k,t,m,r]))}};mxUtils.extend(W,mxRectangleShape);W.prototype.isHtmlAllowed=function(){return!1};W.prototype.getLabelBounds=function(c){if(1==this.style["double"]){var k=(Math.max(2,this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||0))*this.scale;return new mxRectangle(c.x+k,c.y+k,c.width-2*k,c.height-2*k)}return c};W.prototype.paintForeground=function(c,k,t,m,r){if(null!=this.style){if(!this.outline&&1==this.style["double"]){var v=
-Math.max(2,this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||0);k+=v;t+=v;m-=2*v;r-=2*v;0<m&&0<r&&mxRectangleShape.prototype.paintBackground.apply(this,arguments)}c.setDashed(!1);v=0;do{var x=mxCellRenderer.defaultShapes[this.style["symbol"+v]];if(null!=x){var J=this.style["symbol"+v+"Align"],y=this.style["symbol"+v+"VerticalAlign"],aa=this.style["symbol"+v+"Width"],R=this.style["symbol"+v+"Height"],Ha=this.style["symbol"+v+"Spacing"]||0,Wa=this.style["symbol"+v+"VSpacing"]||Ha,
-Qa=this.style["symbol"+v+"ArcSpacing"];null!=Qa&&(Qa*=this.getArcSize(m+this.strokewidth,r+this.strokewidth),Ha+=Qa,Wa+=Qa);Qa=k;var ka=t;Qa=J==mxConstants.ALIGN_CENTER?Qa+(m-aa)/2:J==mxConstants.ALIGN_RIGHT?Qa+(m-aa-Ha):Qa+Ha;ka=y==mxConstants.ALIGN_MIDDLE?ka+(r-R)/2:y==mxConstants.ALIGN_BOTTOM?ka+(r-R-Wa):ka+Wa;c.save();J=new x;J.style=this.style;x.prototype.paintVertexShape.call(J,c,Qa,ka,aa,R);c.restore()}v++}while(null!=x)}mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxCellRenderer.registerShape("ext",
-W);mxUtils.extend(V,mxCylinder);V.prototype.redrawPath=function(c,k,t,m,r,v){v?(c.moveTo(0,0),c.lineTo(m/2,r/2),c.lineTo(m,0),c.end()):(c.moveTo(0,0),c.lineTo(m,0),c.lineTo(m,r),c.lineTo(0,r),c.close())};mxCellRenderer.registerShape("message",V);mxUtils.extend(ca,mxShape);ca.prototype.paintBackground=function(c,k,t,m,r){c.translate(k,t);c.ellipse(m/4,0,m/2,r/4);c.fillAndStroke();c.begin();c.moveTo(m/2,r/4);c.lineTo(m/2,2*r/3);c.moveTo(m/2,r/3);c.lineTo(0,r/3);c.moveTo(m/2,r/3);c.lineTo(m,r/3);c.moveTo(m/
-2,2*r/3);c.lineTo(0,r);c.moveTo(m/2,2*r/3);c.lineTo(m,r);c.end();c.stroke()};mxCellRenderer.registerShape("umlActor",ca);mxUtils.extend(ra,mxShape);ra.prototype.getLabelMargins=function(c){return new mxRectangle(c.width/6,0,0,0)};ra.prototype.paintBackground=function(c,k,t,m,r){c.translate(k,t);c.begin();c.moveTo(0,r/4);c.lineTo(0,3*r/4);c.end();c.stroke();c.begin();c.moveTo(0,r/2);c.lineTo(m/6,r/2);c.end();c.stroke();c.ellipse(m/6,0,5*m/6,r);c.fillAndStroke()};mxCellRenderer.registerShape("umlBoundary",
-ra);mxUtils.extend(oa,mxEllipse);oa.prototype.paintVertexShape=function(c,k,t,m,r){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.begin();c.moveTo(k+m/8,t+r);c.lineTo(k+7*m/8,t+r);c.end();c.stroke()};mxCellRenderer.registerShape("umlEntity",oa);mxUtils.extend(L,mxShape);L.prototype.paintVertexShape=function(c,k,t,m,r){c.translate(k,t);c.begin();c.moveTo(m,0);c.lineTo(0,r);c.moveTo(0,0);c.lineTo(m,r);c.end();c.stroke()};mxCellRenderer.registerShape("umlDestroy",L);mxUtils.extend(ea,mxShape);
-ea.prototype.getLabelBounds=function(c){return new mxRectangle(c.x,c.y+c.height/8,c.width,7*c.height/8)};ea.prototype.paintBackground=function(c,k,t,m,r){c.translate(k,t);c.begin();c.moveTo(3*m/8,r/8*1.1);c.lineTo(5*m/8,0);c.end();c.stroke();c.ellipse(0,r/8,m,7*r/8);c.fillAndStroke()};ea.prototype.paintForeground=function(c,k,t,m,r){c.begin();c.moveTo(3*m/8,r/8*1.1);c.lineTo(5*m/8,r/4);c.end();c.stroke()};mxCellRenderer.registerShape("umlControl",ea);mxUtils.extend(sa,mxRectangleShape);sa.prototype.size=
-40;sa.prototype.isHtmlAllowed=function(){return!1};sa.prototype.getLabelBounds=function(c){var k=Math.max(0,Math.min(c.height,parseFloat(mxUtils.getValue(this.style,"size",this.size))*this.scale));return new mxRectangle(c.x,c.y,c.width,k)};sa.prototype.paintBackground=function(c,k,t,m,r){var v=Math.max(0,Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size)))),x=mxUtils.getValue(this.style,"participant");null==x||null==this.state?mxRectangleShape.prototype.paintBackground.call(this,
-c,k,t,m,v):(x=this.state.view.graph.cellRenderer.getShape(x),null!=x&&x!=sa&&(x=new x,x.apply(this.state),c.save(),x.paintVertexShape(c,k,t,m,v),c.restore()));v<r&&(c.setDashed("1"==mxUtils.getValue(this.style,"lifelineDashed","1")),c.begin(),c.moveTo(k+m/2,t+v),c.lineTo(k+m/2,t+r),c.end(),c.stroke())};sa.prototype.paintForeground=function(c,k,t,m,r){var v=Math.max(0,Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size))));mxRectangleShape.prototype.paintForeground.call(this,c,k,t,m,
-Math.min(r,v))};mxCellRenderer.registerShape("umlLifeline",sa);mxUtils.extend(va,mxShape);va.prototype.width=60;va.prototype.height=30;va.prototype.corner=10;va.prototype.configurePointerEvents=function(c){var k=mxUtils.getValue(this.style,mxConstants.STYLE_SWIMLANE_FILLCOLOR,mxConstants.NONE);null==this.style||null!=k&&k!=mxConstants.NONE&&0!=this.opacity&&0!=this.fillOpacity||"0"!=mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1")||(c.pointerEvents=!1)};va.prototype.getLabelMargins=
-function(c){return new mxRectangle(0,0,c.width-parseFloat(mxUtils.getValue(this.style,"width",this.width)*this.scale),c.height-parseFloat(mxUtils.getValue(this.style,"height",this.height)*this.scale))};va.prototype.paintBackground=function(c,k,t,m,r){var v=this.corner,x=Math.min(m,Math.max(v,parseFloat(mxUtils.getValue(this.style,"width",this.width)))),J=Math.min(r,Math.max(1.5*v,parseFloat(mxUtils.getValue(this.style,"height",this.height)))),y=mxUtils.getValue(this.style,mxConstants.STYLE_SWIMLANE_FILLCOLOR,
-mxConstants.NONE);y!=mxConstants.NONE&&(c.setFillColor(y),c.rect(k,t,m,r),c.fill());null!=this.fill&&this.fill!=mxConstants.NONE&&this.gradient&&this.gradient!=mxConstants.NONE?(this.getGradientBounds(c,k,t,m,r),c.setGradient(this.fill,this.gradient,k,t,m,r,this.gradientDirection)):c.setFillColor(this.fill);c.pointerEvents=!0;c.begin();c.moveTo(k,t);c.lineTo(k+x,t);c.lineTo(k+x,t+Math.max(0,J-1.5*v));c.lineTo(k+Math.max(0,x-v),t+J);c.lineTo(k,t+J);c.close();c.fillAndStroke();this.configurePointerEvents(c);
-c.begin();c.moveTo(k+x,t);c.lineTo(k+m,t);c.lineTo(k+m,t+r);c.lineTo(k,t+r);c.lineTo(k,t+J);c.stroke()};mxCellRenderer.registerShape("umlFrame",va);mxPerimeter.CenterPerimeter=function(c,k,t,m){return new mxPoint(c.getCenterX(),c.getCenterY())};mxStyleRegistry.putValue("centerPerimeter",mxPerimeter.CenterPerimeter);mxPerimeter.LifelinePerimeter=function(c,k,t,m){m=sa.prototype.size;null!=k&&(m=mxUtils.getValue(k.style,"size",m)*k.view.scale);k=parseFloat(k.style[mxConstants.STYLE_STROKEWIDTH]||1)*
-k.view.scale/2-1;t.x<c.getCenterX()&&(k=-1*(k+1));return new mxPoint(c.getCenterX()+k,Math.min(c.y+c.height,Math.max(c.y+m,t.y)))};mxStyleRegistry.putValue("lifelinePerimeter",mxPerimeter.LifelinePerimeter);mxPerimeter.OrthogonalPerimeter=function(c,k,t,m){m=!0;return mxPerimeter.RectanglePerimeter.apply(this,arguments)};mxStyleRegistry.putValue("orthogonalPerimeter",mxPerimeter.OrthogonalPerimeter);mxPerimeter.BackbonePerimeter=function(c,k,t,m){m=parseFloat(k.style[mxConstants.STYLE_STROKEWIDTH]||
-1)*k.view.scale/2-1;null!=k.style.backboneSize&&(m+=parseFloat(k.style.backboneSize)*k.view.scale/2-1);if("south"==k.style[mxConstants.STYLE_DIRECTION]||"north"==k.style[mxConstants.STYLE_DIRECTION])return t.x<c.getCenterX()&&(m=-1*(m+1)),new mxPoint(c.getCenterX()+m,Math.min(c.y+c.height,Math.max(c.y,t.y)));t.y<c.getCenterY()&&(m=-1*(m+1));return new mxPoint(Math.min(c.x+c.width,Math.max(c.x,t.x)),c.getCenterY()+m)};mxStyleRegistry.putValue("backbonePerimeter",mxPerimeter.BackbonePerimeter);mxPerimeter.CalloutPerimeter=
-function(c,k,t,m){return mxPerimeter.RectanglePerimeter(mxUtils.getDirectedBounds(c,new mxRectangle(0,0,0,Math.max(0,Math.min(c.height,parseFloat(mxUtils.getValue(k.style,"size",ba.prototype.size))*k.view.scale))),k.style),k,t,m)};mxStyleRegistry.putValue("calloutPerimeter",mxPerimeter.CalloutPerimeter);mxPerimeter.ParallelogramPerimeter=function(c,k,t,m){var r="0"!=mxUtils.getValue(k.style,"fixedSize","0"),v=r?H.prototype.fixedSize:H.prototype.size;null!=k&&(v=mxUtils.getValue(k.style,"size",v));
-r&&(v*=k.view.scale);var x=c.x,J=c.y,y=c.width,aa=c.height;k=null!=k?mxUtils.getValue(k.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;k==mxConstants.DIRECTION_NORTH||k==mxConstants.DIRECTION_SOUTH?(r=r?Math.max(0,Math.min(aa,v)):aa*Math.max(0,Math.min(1,v)),J=[new mxPoint(x,J),new mxPoint(x+y,J+r),new mxPoint(x+y,J+aa),new mxPoint(x,J+aa-r),new mxPoint(x,J)]):(r=r?Math.max(0,Math.min(.5*y,v)):y*Math.max(0,Math.min(1,v)),J=[new mxPoint(x+r,J),new mxPoint(x+
-y,J),new mxPoint(x+y-r,J+aa),new mxPoint(x,J+aa),new mxPoint(x+r,J)]);aa=c.getCenterX();c=c.getCenterY();c=new mxPoint(aa,c);m&&(t.x<x||t.x>x+y?c.y=t.y:c.x=t.x);return mxUtils.getPerimeterPoint(J,c,t)};mxStyleRegistry.putValue("parallelogramPerimeter",mxPerimeter.ParallelogramPerimeter);mxPerimeter.TrapezoidPerimeter=function(c,k,t,m){var r="0"!=mxUtils.getValue(k.style,"fixedSize","0"),v=r?Z.prototype.fixedSize:Z.prototype.size;null!=k&&(v=mxUtils.getValue(k.style,"size",v));r&&(v*=k.view.scale);
-var x=c.x,J=c.y,y=c.width,aa=c.height;k=null!=k?mxUtils.getValue(k.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;k==mxConstants.DIRECTION_EAST?(r=r?Math.max(0,Math.min(.5*y,v)):y*Math.max(0,Math.min(1,v)),J=[new mxPoint(x+r,J),new mxPoint(x+y-r,J),new mxPoint(x+y,J+aa),new mxPoint(x,J+aa),new mxPoint(x+r,J)]):k==mxConstants.DIRECTION_WEST?(r=r?Math.max(0,Math.min(y,v)):y*Math.max(0,Math.min(1,v)),J=[new mxPoint(x,J),new mxPoint(x+y,J),new mxPoint(x+y-r,J+
-aa),new mxPoint(x+r,J+aa),new mxPoint(x,J)]):k==mxConstants.DIRECTION_NORTH?(r=r?Math.max(0,Math.min(aa,v)):aa*Math.max(0,Math.min(1,v)),J=[new mxPoint(x,J+r),new mxPoint(x+y,J),new mxPoint(x+y,J+aa),new mxPoint(x,J+aa-r),new mxPoint(x,J+r)]):(r=r?Math.max(0,Math.min(aa,v)):aa*Math.max(0,Math.min(1,v)),J=[new mxPoint(x,J),new mxPoint(x+y,J+r),new mxPoint(x+y,J+aa-r),new mxPoint(x,J+aa),new mxPoint(x,J)]);aa=c.getCenterX();c=c.getCenterY();c=new mxPoint(aa,c);m&&(t.x<x||t.x>x+y?c.y=t.y:c.x=t.x);return mxUtils.getPerimeterPoint(J,
-c,t)};mxStyleRegistry.putValue("trapezoidPerimeter",mxPerimeter.TrapezoidPerimeter);mxPerimeter.StepPerimeter=function(c,k,t,m){var r="0"!=mxUtils.getValue(k.style,"fixedSize","0"),v=r?ja.prototype.fixedSize:ja.prototype.size;null!=k&&(v=mxUtils.getValue(k.style,"size",v));r&&(v*=k.view.scale);var x=c.x,J=c.y,y=c.width,aa=c.height,R=c.getCenterX();c=c.getCenterY();k=null!=k?mxUtils.getValue(k.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;k==mxConstants.DIRECTION_EAST?
-(r=r?Math.max(0,Math.min(y,v)):y*Math.max(0,Math.min(1,v)),J=[new mxPoint(x,J),new mxPoint(x+y-r,J),new mxPoint(x+y,c),new mxPoint(x+y-r,J+aa),new mxPoint(x,J+aa),new mxPoint(x+r,c),new mxPoint(x,J)]):k==mxConstants.DIRECTION_WEST?(r=r?Math.max(0,Math.min(y,v)):y*Math.max(0,Math.min(1,v)),J=[new mxPoint(x+r,J),new mxPoint(x+y,J),new mxPoint(x+y-r,c),new mxPoint(x+y,J+aa),new mxPoint(x+r,J+aa),new mxPoint(x,c),new mxPoint(x+r,J)]):k==mxConstants.DIRECTION_NORTH?(r=r?Math.max(0,Math.min(aa,v)):aa*Math.max(0,
+DiagramFormatPanel.prototype.addPaperSize=function(a){var b=this.editorUi,e=b.editor.graph;a.appendChild(this.createTitle(mxResources.get("paperSize")));var f=PageSetupDialog.addPageFormatPanel(a,"formatpanel",e.pageFormat,function(d){if(null==e.pageFormat||e.pageFormat.width!=d.width||e.pageFormat.height!=d.height)d=new ChangePageSetup(b,null,null,d),d.ignoreColor=!0,d.ignoreImage=!0,e.model.execute(d)});this.addKeyHandler(f.widthInput,function(){f.set(e.pageFormat)});this.addKeyHandler(f.heightInput,
+function(){f.set(e.pageFormat)});var h=function(){f.set(e.pageFormat)};b.addListener("pageFormatChanged",h);this.listeners.push({destroy:function(){b.removeListener(h)}});e.getModel().addListener(mxEvent.CHANGE,h);this.listeners.push({destroy:function(){e.getModel().removeListener(h)}});return a};DiagramFormatPanel.prototype.addStyleOps=function(a){this.addActions(a,["editData"]);this.addActions(a,["clearDefaultStyle"]);return a};
+DiagramFormatPanel.prototype.destroy=function(){BaseFormatPanel.prototype.destroy.apply(this,arguments);this.gridEnabledListener&&(this.editorUi.removeListener(this.gridEnabledListener),this.gridEnabledListener=null)};(function(){function a(c,l,t){mxShape.call(this);this.line=c;this.stroke=l;this.strokewidth=null!=t?t:1;this.updateBoundsFromLine()}function b(){mxSwimlane.call(this)}function e(){mxSwimlane.call(this)}function f(){mxCylinder.call(this)}function h(){mxConnector.call(this)}function d(){mxCylinder.call(this)}function g(){mxActor.call(this)}function n(){mxCylinder.call(this)}function q(){mxCylinder.call(this)}function k(){mxCylinder.call(this)}function p(){mxCylinder.call(this)}function w(){mxShape.call(this)}
+function z(){mxShape.call(this)}function C(c,l,t,m){mxShape.call(this);this.bounds=c;this.fill=l;this.stroke=t;this.strokewidth=null!=m?m:1}function F(){mxActor.call(this)}function D(){mxCylinder.call(this)}function H(){mxCylinder.call(this)}function K(){mxActor.call(this)}function G(){mxActor.call(this)}function P(){mxActor.call(this)}function I(){mxActor.call(this)}function Z(){mxActor.call(this)}function S(){mxActor.call(this)}function Y(){mxActor.call(this)}function V(c,l){this.canvas=c;this.canvas.setLineJoin("round");
+this.canvas.setLineCap("round");this.defaultVariation=l;this.originalLineTo=this.canvas.lineTo;this.canvas.lineTo=mxUtils.bind(this,V.prototype.lineTo);this.originalMoveTo=this.canvas.moveTo;this.canvas.moveTo=mxUtils.bind(this,V.prototype.moveTo);this.originalClose=this.canvas.close;this.canvas.close=mxUtils.bind(this,V.prototype.close);this.originalQuadTo=this.canvas.quadTo;this.canvas.quadTo=mxUtils.bind(this,V.prototype.quadTo);this.originalCurveTo=this.canvas.curveTo;this.canvas.curveTo=mxUtils.bind(this,
+V.prototype.curveTo);this.originalArcTo=this.canvas.arcTo;this.canvas.arcTo=mxUtils.bind(this,V.prototype.arcTo)}function L(){mxRectangleShape.call(this)}function U(){mxRectangleShape.call(this)}function ba(){mxActor.call(this)}function ja(){mxActor.call(this)}function sa(){mxActor.call(this)}function O(){mxRectangleShape.call(this)}function T(){mxRectangleShape.call(this)}function X(){mxCylinder.call(this)}function ca(){mxShape.call(this)}function na(){mxShape.call(this)}function pa(){mxEllipse.call(this)}
+function M(){mxShape.call(this)}function ea(){mxShape.call(this)}function ra(){mxRectangleShape.call(this)}function ta(){mxShape.call(this)}function Sa(){mxShape.call(this)}function ma(){mxShape.call(this)}function Fa(){mxShape.call(this)}function Ha(){mxShape.call(this)}function Na(){mxCylinder.call(this)}function Qa(){mxCylinder.call(this)}function La(){mxRectangleShape.call(this)}function Ja(){mxDoubleEllipse.call(this)}function ua(){mxDoubleEllipse.call(this)}function Ia(){mxArrowConnector.call(this);
+this.spacing=0}function Za(){mxArrowConnector.call(this);this.spacing=0}function gb(){mxActor.call(this)}function db(){mxRectangleShape.call(this)}function hb(){mxActor.call(this)}function ob(){mxActor.call(this)}function cb(){mxActor.call(this)}function ab(){mxActor.call(this)}function da(){mxActor.call(this)}function wa(){mxActor.call(this)}function u(){mxActor.call(this)}function A(){mxActor.call(this)}function B(){mxActor.call(this)}function E(){mxActor.call(this)}function N(){mxEllipse.call(this)}
+function Q(){mxEllipse.call(this)}function W(){mxEllipse.call(this)}function ha(){mxRhombus.call(this)}function fa(){mxEllipse.call(this)}function ia(){mxEllipse.call(this)}function ya(){mxEllipse.call(this)}function xa(){mxEllipse.call(this)}function Da(){mxActor.call(this)}function Oa(){mxActor.call(this)}function Ma(){mxActor.call(this)}function Aa(c,l,t,m){mxShape.call(this);this.bounds=c;this.fill=l;this.stroke=t;this.strokewidth=null!=m?m:1;this.rectStyle="square";this.size=10;this.absoluteCornerSize=
+!0;this.indent=2;this.rectOutline="single"}function va(){mxConnector.call(this)}function Ya(c,l,t,m,r,v,x,J,y,aa){x+=y;var R=m.clone();m.x-=r*(2*x+y);m.y-=v*(2*x+y);r*=x+y;v*=x+y;return function(){c.ellipse(R.x-r-x,R.y-v-x,2*x,2*x);aa?c.fillAndStroke():c.stroke()}}mxUtils.extend(a,mxShape);a.prototype.updateBoundsFromLine=function(){var c=null;if(null!=this.line)for(var l=0;l<this.line.length;l++){var t=this.line[l];null!=t&&(t=new mxRectangle(t.x,t.y,this.strokewidth,this.strokewidth),null==c?c=
+t:c.add(t))}this.bounds=null!=c?c:new mxRectangle};a.prototype.paintVertexShape=function(c,l,t,m,r){this.paintTableLine(c,this.line,0,0)};a.prototype.paintTableLine=function(c,l,t,m){if(null!=l){var r=null;c.begin();for(var v=0;v<l.length;v++){var x=l[v];null!=x&&(null==r?c.moveTo(x.x+t,x.y+m):null!=r&&c.lineTo(x.x+t,x.y+m));r=x}c.end();c.stroke()}};a.prototype.intersectsRectangle=function(c){var l=!1;if(mxShape.prototype.intersectsRectangle.apply(this,arguments)&&null!=this.line)for(var t=null,m=
+0;m<this.line.length&&!l;m++){var r=this.line[m];null!=r&&null!=t&&(l=mxUtils.rectangleIntersectsSegment(c,t,r));t=r}return l};mxCellRenderer.registerShape("tableLine",a);mxUtils.extend(b,mxSwimlane);b.prototype.getLabelBounds=function(c){return 0==this.getTitleSize()?mxShape.prototype.getLabelBounds.apply(this,arguments):mxSwimlane.prototype.getLabelBounds.apply(this,arguments)};b.prototype.paintVertexShape=function(c,l,t,m,r){var v=null!=this.state?this.state.view.graph.isCellCollapsed(this.state.cell):
+!1,x=this.isHorizontal(),J=this.getTitleSize();0==J||this.outline?ya.prototype.paintVertexShape.apply(this,arguments):(mxSwimlane.prototype.paintVertexShape.apply(this,arguments),c.translate(-l,-t));v||this.outline||!(x&&J<r||!x&&J<m)||this.paintForeground(c,l,t,m,r)};b.prototype.paintForeground=function(c,l,t,m,r){if(null!=this.state){var v=this.flipH,x=this.flipV;if(this.direction==mxConstants.DIRECTION_NORTH||this.direction==mxConstants.DIRECTION_SOUTH){var J=v;v=x;x=J}c.rotate(-this.getShapeRotation(),
+v,x,l+m/2,t+r/2);s=this.scale;l=this.bounds.x/s;t=this.bounds.y/s;m=this.bounds.width/s;r=this.bounds.height/s;this.paintTableForeground(c,l,t,m,r)}};b.prototype.paintTableForeground=function(c,l,t,m,r){m=this.state.view.graph.getTableLines(this.state.cell,"0"!=mxUtils.getValue(this.state.style,"rowLines","1"),"0"!=mxUtils.getValue(this.state.style,"columnLines","1"));for(r=0;r<m.length;r++)a.prototype.paintTableLine(c,m[r],l,t)};b.prototype.configurePointerEvents=function(c){0==this.getTitleSize()?
+c.pointerEvents=!1:mxSwimlane.prototype.configurePointerEvents.apply(this,arguments)};mxCellRenderer.registerShape("table",b);mxUtils.extend(e,b);e.prototype.paintForeground=function(){};mxCellRenderer.registerShape("tableRow",e);mxUtils.extend(f,mxCylinder);f.prototype.size=20;f.prototype.darkOpacity=0;f.prototype.darkOpacity2=0;f.prototype.paintVertexShape=function(c,l,t,m,r){var v=Math.max(0,Math.min(m,Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size))))),x=Math.max(-1,Math.min(1,
+parseFloat(mxUtils.getValue(this.style,"darkOpacity",this.darkOpacity)))),J=Math.max(-1,Math.min(1,parseFloat(mxUtils.getValue(this.style,"darkOpacity2",this.darkOpacity2))));c.translate(l,t);c.begin();c.moveTo(0,0);c.lineTo(m-v,0);c.lineTo(m,v);c.lineTo(m,r);c.lineTo(v,r);c.lineTo(0,r-v);c.lineTo(0,0);c.close();c.end();c.fillAndStroke();this.outline||(c.setShadow(!1),0!=x&&(c.setFillAlpha(Math.abs(x)),c.setFillColor(0>x?"#FFFFFF":"#000000"),c.begin(),c.moveTo(0,0),c.lineTo(m-v,0),c.lineTo(m,v),c.lineTo(v,
+v),c.close(),c.fill()),0!=J&&(c.setFillAlpha(Math.abs(J)),c.setFillColor(0>J?"#FFFFFF":"#000000"),c.begin(),c.moveTo(0,0),c.lineTo(v,v),c.lineTo(v,r),c.lineTo(0,r-v),c.close(),c.fill()),c.begin(),c.moveTo(v,r),c.lineTo(v,v),c.lineTo(0,0),c.moveTo(v,v),c.lineTo(m,v),c.end(),c.stroke())};f.prototype.getLabelMargins=function(c){return mxUtils.getValue(this.style,"boundedLbl",!1)?(c=parseFloat(mxUtils.getValue(this.style,"size",this.size))*this.scale,new mxRectangle(c,c,0,0)):null};mxCellRenderer.registerShape("cube",
+f);var Ta=Math.tan(mxUtils.toRadians(30)),Ka=(.5-Ta)/2;mxCellRenderer.registerShape("isoRectangle",g);mxUtils.extend(h,mxConnector);h.prototype.paintEdgeShape=function(c,l){var t=this.createMarker(c,l,!0),m=this.createMarker(c,l,!1);c.setDashed(!1);mxPolyline.prototype.paintEdgeShape.apply(this,arguments);null!=this.isDashed&&c.setDashed(this.isDashed,null!=this.style?1==mxUtils.getValue(this.style,mxConstants.STYLE_FIX_DASH,!1):!1);c.setShadow(!1);c.setStrokeColor(this.fill);mxPolyline.prototype.paintEdgeShape.apply(this,
+arguments);c.setStrokeColor(this.stroke);c.setFillColor(this.stroke);c.setDashed(!1);null!=t&&t();null!=m&&m()};mxCellRenderer.registerShape("wire",h);mxUtils.extend(d,mxCylinder);d.prototype.size=6;d.prototype.paintVertexShape=function(c,l,t,m,r){c.setFillColor(this.stroke);var v=Math.max(0,parseFloat(mxUtils.getValue(this.style,"size",this.size))-2)+2*this.strokewidth;c.ellipse(l+.5*(m-v),t+.5*(r-v),v,v);c.fill();c.setFillColor(mxConstants.NONE);c.rect(l,t,m,r);c.fill()};mxCellRenderer.registerShape("waypoint",
+d);mxUtils.extend(g,mxActor);g.prototype.size=20;g.prototype.redrawPath=function(c,l,t,m,r){l=Math.min(m,r/Ta);c.translate((m-l)/2,(r-l)/2+l/4);c.moveTo(0,.25*l);c.lineTo(.5*l,l*Ka);c.lineTo(l,.25*l);c.lineTo(.5*l,(.5-Ka)*l);c.lineTo(0,.25*l);c.close();c.end()};mxCellRenderer.registerShape("isoRectangle",g);mxUtils.extend(n,mxCylinder);n.prototype.size=20;n.prototype.redrawPath=function(c,l,t,m,r,v){l=Math.min(m,r/(.5+Ta));v?(c.moveTo(0,.25*l),c.lineTo(.5*l,(.5-Ka)*l),c.lineTo(l,.25*l),c.moveTo(.5*
+l,(.5-Ka)*l),c.lineTo(.5*l,(1-Ka)*l)):(c.translate((m-l)/2,(r-l)/2),c.moveTo(0,.25*l),c.lineTo(.5*l,l*Ka),c.lineTo(l,.25*l),c.lineTo(l,.75*l),c.lineTo(.5*l,(1-Ka)*l),c.lineTo(0,.75*l),c.close());c.end()};mxCellRenderer.registerShape("isoCube",n);mxUtils.extend(q,mxCylinder);q.prototype.redrawPath=function(c,l,t,m,r,v){l=Math.min(r/2,Math.round(r/8)+this.strokewidth-1);if(v&&null!=this.fill||!v&&null==this.fill)c.moveTo(0,l),c.curveTo(0,2*l,m,2*l,m,l),v||(c.stroke(),c.begin()),c.translate(0,l/2),c.moveTo(0,
+l),c.curveTo(0,2*l,m,2*l,m,l),v||(c.stroke(),c.begin()),c.translate(0,l/2),c.moveTo(0,l),c.curveTo(0,2*l,m,2*l,m,l),v||(c.stroke(),c.begin()),c.translate(0,-l);v||(c.moveTo(0,l),c.curveTo(0,-l/3,m,-l/3,m,l),c.lineTo(m,r-l),c.curveTo(m,r+l/3,0,r+l/3,0,r-l),c.close())};q.prototype.getLabelMargins=function(c){return new mxRectangle(0,2.5*Math.min(c.height/2,Math.round(c.height/8)+this.strokewidth-1),0,0)};mxCellRenderer.registerShape("datastore",q);mxUtils.extend(k,mxCylinder);k.prototype.size=30;k.prototype.darkOpacity=
+0;k.prototype.paintVertexShape=function(c,l,t,m,r){var v=Math.max(0,Math.min(m,Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size))))),x=Math.max(-1,Math.min(1,parseFloat(mxUtils.getValue(this.style,"darkOpacity",this.darkOpacity))));c.translate(l,t);c.begin();c.moveTo(0,0);c.lineTo(m-v,0);c.lineTo(m,v);c.lineTo(m,r);c.lineTo(0,r);c.lineTo(0,0);c.close();c.end();c.fillAndStroke();this.outline||(c.setShadow(!1),0!=x&&(c.setFillAlpha(Math.abs(x)),c.setFillColor(0>x?"#FFFFFF":"#000000"),
+c.begin(),c.moveTo(m-v,0),c.lineTo(m-v,v),c.lineTo(m,v),c.close(),c.fill()),c.begin(),c.moveTo(m-v,0),c.lineTo(m-v,v),c.lineTo(m,v),c.end(),c.stroke())};mxCellRenderer.registerShape("note",k);mxUtils.extend(p,k);mxCellRenderer.registerShape("note2",p);p.prototype.getLabelMargins=function(c){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var l=mxUtils.getValue(this.style,"size",15);return new mxRectangle(0,Math.min(c.height*this.scale,l*this.scale),0,0)}return null};mxUtils.extend(w,mxShape);w.prototype.isoAngle=
+15;w.prototype.paintVertexShape=function(c,l,t,m,r){var v=Math.max(.01,Math.min(94,parseFloat(mxUtils.getValue(this.style,"isoAngle",this.isoAngle))))*Math.PI/200;v=Math.min(m*Math.tan(v),.5*r);c.translate(l,t);c.begin();c.moveTo(.5*m,0);c.lineTo(m,v);c.lineTo(m,r-v);c.lineTo(.5*m,r);c.lineTo(0,r-v);c.lineTo(0,v);c.close();c.fillAndStroke();c.setShadow(!1);c.begin();c.moveTo(0,v);c.lineTo(.5*m,2*v);c.lineTo(m,v);c.moveTo(.5*m,2*v);c.lineTo(.5*m,r);c.stroke()};mxCellRenderer.registerShape("isoCube2",
+w);mxUtils.extend(z,mxShape);z.prototype.size=15;z.prototype.paintVertexShape=function(c,l,t,m,r){var v=Math.max(0,Math.min(.5*r,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c.translate(l,t);0==v?(c.rect(0,0,m,r),c.fillAndStroke()):(c.begin(),c.moveTo(0,v),c.arcTo(.5*m,v,0,0,1,.5*m,0),c.arcTo(.5*m,v,0,0,1,m,v),c.lineTo(m,r-v),c.arcTo(.5*m,v,0,0,1,.5*m,r),c.arcTo(.5*m,v,0,0,1,0,r-v),c.close(),c.fillAndStroke(),c.setShadow(!1),c.begin(),c.moveTo(m,v),c.arcTo(.5*m,v,0,0,1,.5*m,2*v),c.arcTo(.5*
+m,v,0,0,1,0,v),c.stroke())};mxCellRenderer.registerShape("cylinder2",z);mxUtils.extend(C,mxCylinder);C.prototype.size=15;C.prototype.paintVertexShape=function(c,l,t,m,r){var v=Math.max(0,Math.min(.5*r,parseFloat(mxUtils.getValue(this.style,"size",this.size)))),x=mxUtils.getValue(this.style,"lid",!0);c.translate(l,t);0==v?(c.rect(0,0,m,r),c.fillAndStroke()):(c.begin(),x?(c.moveTo(0,v),c.arcTo(.5*m,v,0,0,1,.5*m,0),c.arcTo(.5*m,v,0,0,1,m,v)):(c.moveTo(0,0),c.arcTo(.5*m,v,0,0,0,.5*m,v),c.arcTo(.5*m,v,
+0,0,0,m,0)),c.lineTo(m,r-v),c.arcTo(.5*m,v,0,0,1,.5*m,r),c.arcTo(.5*m,v,0,0,1,0,r-v),c.close(),c.fillAndStroke(),c.setShadow(!1),x&&(c.begin(),c.moveTo(m,v),c.arcTo(.5*m,v,0,0,1,.5*m,2*v),c.arcTo(.5*m,v,0,0,1,0,v),c.stroke()))};mxCellRenderer.registerShape("cylinder3",C);mxUtils.extend(F,mxActor);F.prototype.redrawPath=function(c,l,t,m,r){c.moveTo(0,0);c.quadTo(m/2,.5*r,m,0);c.quadTo(.5*m,r/2,m,r);c.quadTo(m/2,.5*r,0,r);c.quadTo(.5*m,r/2,0,0);c.end()};mxCellRenderer.registerShape("switch",F);mxUtils.extend(D,
+mxCylinder);D.prototype.tabWidth=60;D.prototype.tabHeight=20;D.prototype.tabPosition="right";D.prototype.arcSize=.1;D.prototype.paintVertexShape=function(c,l,t,m,r){c.translate(l,t);l=Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,"tabWidth",this.tabWidth))));t=Math.max(0,Math.min(r,parseFloat(mxUtils.getValue(this.style,"tabHeight",this.tabHeight))));var v=mxUtils.getValue(this.style,"tabPosition",this.tabPosition),x=mxUtils.getValue(this.style,"rounded",!1),J=mxUtils.getValue(this.style,
+"absoluteArcSize",!1),y=parseFloat(mxUtils.getValue(this.style,"arcSize",this.arcSize));J||(y*=Math.min(m,r));y=Math.min(y,.5*m,.5*(r-t));l=Math.max(l,y);l=Math.min(m-y,l);x||(y=0);c.begin();"left"==v?(c.moveTo(Math.max(y,0),t),c.lineTo(Math.max(y,0),0),c.lineTo(l,0),c.lineTo(l,t)):(c.moveTo(m-l,t),c.lineTo(m-l,0),c.lineTo(m-Math.max(y,0),0),c.lineTo(m-Math.max(y,0),t));x?(c.moveTo(0,y+t),c.arcTo(y,y,0,0,1,y,t),c.lineTo(m-y,t),c.arcTo(y,y,0,0,1,m,y+t),c.lineTo(m,r-y),c.arcTo(y,y,0,0,1,m-y,r),c.lineTo(y,
+r),c.arcTo(y,y,0,0,1,0,r-y)):(c.moveTo(0,t),c.lineTo(m,t),c.lineTo(m,r),c.lineTo(0,r));c.close();c.fillAndStroke();c.setShadow(!1);"triangle"==mxUtils.getValue(this.style,"folderSymbol",null)&&(c.begin(),c.moveTo(m-30,t+20),c.lineTo(m-20,t+10),c.lineTo(m-10,t+20),c.close(),c.stroke())};mxCellRenderer.registerShape("folder",D);D.prototype.getLabelMargins=function(c){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var l=mxUtils.getValue(this.style,"tabHeight",15)*this.scale;if(mxUtils.getValue(this.style,
+"labelInHeader",!1)){var t=mxUtils.getValue(this.style,"tabWidth",15)*this.scale;l=mxUtils.getValue(this.style,"tabHeight",15)*this.scale;var m=mxUtils.getValue(this.style,"rounded",!1),r=mxUtils.getValue(this.style,"absoluteArcSize",!1),v=parseFloat(mxUtils.getValue(this.style,"arcSize",this.arcSize));r||(v*=Math.min(c.width,c.height));v=Math.min(v,.5*c.width,.5*(c.height-l));m||(v=0);return"left"==mxUtils.getValue(this.style,"tabPosition",this.tabPosition)?new mxRectangle(v,0,Math.min(c.width,c.width-
+t),Math.min(c.height,c.height-l)):new mxRectangle(Math.min(c.width,c.width-t),0,v,Math.min(c.height,c.height-l))}return new mxRectangle(0,Math.min(c.height,l),0,0)}return null};mxUtils.extend(H,mxCylinder);H.prototype.arcSize=.1;H.prototype.paintVertexShape=function(c,l,t,m,r){c.translate(l,t);var v=mxUtils.getValue(this.style,"rounded",!1),x=mxUtils.getValue(this.style,"absoluteArcSize",!1);l=parseFloat(mxUtils.getValue(this.style,"arcSize",this.arcSize));t=mxUtils.getValue(this.style,"umlStateConnection",
+null);x||(l*=Math.min(m,r));l=Math.min(l,.5*m,.5*r);v||(l=0);v=0;null!=t&&(v=10);c.begin();c.moveTo(v,l);c.arcTo(l,l,0,0,1,v+l,0);c.lineTo(m-l,0);c.arcTo(l,l,0,0,1,m,l);c.lineTo(m,r-l);c.arcTo(l,l,0,0,1,m-l,r);c.lineTo(v+l,r);c.arcTo(l,l,0,0,1,v,r-l);c.close();c.fillAndStroke();c.setShadow(!1);"collapseState"==mxUtils.getValue(this.style,"umlStateSymbol",null)&&(c.roundrect(m-40,r-20,10,10,3,3),c.stroke(),c.roundrect(m-20,r-20,10,10,3,3),c.stroke(),c.begin(),c.moveTo(m-30,r-15),c.lineTo(m-20,r-15),
+c.stroke());"connPointRefEntry"==t?(c.ellipse(0,.5*r-10,20,20),c.fillAndStroke()):"connPointRefExit"==t&&(c.ellipse(0,.5*r-10,20,20),c.fillAndStroke(),c.begin(),c.moveTo(5,.5*r-5),c.lineTo(15,.5*r+5),c.moveTo(15,.5*r-5),c.lineTo(5,.5*r+5),c.stroke())};H.prototype.getLabelMargins=function(c){return mxUtils.getValue(this.style,"boundedLbl",!1)&&null!=mxUtils.getValue(this.style,"umlStateConnection",null)?new mxRectangle(10*this.scale,0,0,0):null};mxCellRenderer.registerShape("umlState",H);mxUtils.extend(K,
+mxActor);K.prototype.size=30;K.prototype.isRoundable=function(){return!0};K.prototype.redrawPath=function(c,l,t,m,r){l=Math.max(0,Math.min(m,Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size)))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(l,0),new mxPoint(m,0),new mxPoint(m,r),new mxPoint(0,r),new mxPoint(0,l)],this.isRounded,t,!0);c.end()};mxCellRenderer.registerShape("card",K);mxUtils.extend(G,mxActor);G.prototype.size=
+.4;G.prototype.redrawPath=function(c,l,t,m,r){l=r*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c.moveTo(0,l/2);c.quadTo(m/4,1.4*l,m/2,l/2);c.quadTo(3*m/4,l*(1-1.4),m,l/2);c.lineTo(m,r-l/2);c.quadTo(3*m/4,r-1.4*l,m/2,r-l/2);c.quadTo(m/4,r-l*(1-1.4),0,r-l/2);c.lineTo(0,l/2);c.close();c.end()};G.prototype.getLabelBounds=function(c){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var l=mxUtils.getValue(this.style,"size",this.size),t=c.width,m=c.height;if(null==this.direction||
+this.direction==mxConstants.DIRECTION_EAST||this.direction==mxConstants.DIRECTION_WEST)return l*=m,new mxRectangle(c.x,c.y+l,t,m-2*l);l*=t;return new mxRectangle(c.x+l,c.y,t-2*l,m)}return c};mxCellRenderer.registerShape("tape",G);mxUtils.extend(P,mxActor);P.prototype.size=.3;P.prototype.getLabelMargins=function(c){return mxUtils.getValue(this.style,"boundedLbl",!1)?new mxRectangle(0,0,0,parseFloat(mxUtils.getValue(this.style,"size",this.size))*c.height):null};P.prototype.redrawPath=function(c,l,t,
+m,r){l=r*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c.moveTo(0,0);c.lineTo(m,0);c.lineTo(m,r-l/2);c.quadTo(3*m/4,r-1.4*l,m/2,r-l/2);c.quadTo(m/4,r-l*(1-1.4),0,r-l/2);c.lineTo(0,l/2);c.close();c.end()};mxCellRenderer.registerShape("document",P);var Wa=mxCylinder.prototype.getCylinderSize;mxCylinder.prototype.getCylinderSize=function(c,l,t,m){var r=mxUtils.getValue(this.style,"size");return null!=r?m*Math.max(0,Math.min(1,r)):Wa.apply(this,arguments)};mxCylinder.prototype.getLabelMargins=
+function(c){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var l=2*mxUtils.getValue(this.style,"size",.15);return new mxRectangle(0,Math.min(this.maxHeight*this.scale,c.height*l),0,0)}return null};C.prototype.getLabelMargins=function(c){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var l=mxUtils.getValue(this.style,"size",15);mxUtils.getValue(this.style,"lid",!0)||(l/=2);return new mxRectangle(0,Math.min(c.height*this.scale,2*l*this.scale),0,Math.max(0,.3*l*this.scale))}return null};D.prototype.getLabelMargins=
+function(c){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var l=mxUtils.getValue(this.style,"tabHeight",15)*this.scale;if(mxUtils.getValue(this.style,"labelInHeader",!1)){var t=mxUtils.getValue(this.style,"tabWidth",15)*this.scale;l=mxUtils.getValue(this.style,"tabHeight",15)*this.scale;var m=mxUtils.getValue(this.style,"rounded",!1),r=mxUtils.getValue(this.style,"absoluteArcSize",!1),v=parseFloat(mxUtils.getValue(this.style,"arcSize",this.arcSize));r||(v*=Math.min(c.width,c.height));v=Math.min(v,
+.5*c.width,.5*(c.height-l));m||(v=0);return"left"==mxUtils.getValue(this.style,"tabPosition",this.tabPosition)?new mxRectangle(v,0,Math.min(c.width,c.width-t),Math.min(c.height,c.height-l)):new mxRectangle(Math.min(c.width,c.width-t),0,v,Math.min(c.height,c.height-l))}return new mxRectangle(0,Math.min(c.height,l),0,0)}return null};H.prototype.getLabelMargins=function(c){return mxUtils.getValue(this.style,"boundedLbl",!1)&&null!=mxUtils.getValue(this.style,"umlStateConnection",null)?new mxRectangle(10*
+this.scale,0,0,0):null};p.prototype.getLabelMargins=function(c){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var l=mxUtils.getValue(this.style,"size",15);return new mxRectangle(0,Math.min(c.height*this.scale,l*this.scale),0,Math.max(0,l*this.scale))}return null};mxUtils.extend(I,mxActor);I.prototype.size=.2;I.prototype.fixedSize=20;I.prototype.isRoundable=function(){return!0};I.prototype.redrawPath=function(c,l,t,m,r){l="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,
+"size",this.fixedSize)))):m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,r),new mxPoint(l,0),new mxPoint(m,0),new mxPoint(m-l,r)],this.isRounded,t,!0);c.end()};mxCellRenderer.registerShape("parallelogram",I);mxUtils.extend(Z,mxActor);Z.prototype.size=.2;Z.prototype.fixedSize=20;Z.prototype.isRoundable=function(){return!0};Z.prototype.redrawPath=function(c,
+l,t,m,r){l="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(.5*m,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize)))):m*Math.max(0,Math.min(.5,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,r),new mxPoint(l,0),new mxPoint(m-l,0),new mxPoint(m,r)],this.isRounded,t,!0)};mxCellRenderer.registerShape("trapezoid",Z);mxUtils.extend(S,mxActor);
+S.prototype.size=.5;S.prototype.redrawPath=function(c,l,t,m,r){c.setFillColor(null);l=m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(m,0),new mxPoint(l,0),new mxPoint(l,r/2),new mxPoint(0,r/2),new mxPoint(l,r/2),new mxPoint(l,r),new mxPoint(m,r)],this.isRounded,t,!1);c.end()};mxCellRenderer.registerShape("curlyBracket",S);mxUtils.extend(Y,mxActor);
+Y.prototype.redrawPath=function(c,l,t,m,r){c.setStrokeWidth(1);c.setFillColor(this.stroke);l=m/5;c.rect(0,0,l,r);c.fillAndStroke();c.rect(2*l,0,l,r);c.fillAndStroke();c.rect(4*l,0,l,r);c.fillAndStroke()};mxCellRenderer.registerShape("parallelMarker",Y);V.prototype.moveTo=function(c,l){this.originalMoveTo.apply(this.canvas,arguments);this.lastX=c;this.lastY=l;this.firstX=c;this.firstY=l};V.prototype.close=function(){null!=this.firstX&&null!=this.firstY&&(this.lineTo(this.firstX,this.firstY),this.originalClose.apply(this.canvas,
+arguments));this.originalClose.apply(this.canvas,arguments)};V.prototype.quadTo=function(c,l,t,m){this.originalQuadTo.apply(this.canvas,arguments);this.lastX=t;this.lastY=m};V.prototype.curveTo=function(c,l,t,m,r,v){this.originalCurveTo.apply(this.canvas,arguments);this.lastX=r;this.lastY=v};V.prototype.arcTo=function(c,l,t,m,r,v,x){this.originalArcTo.apply(this.canvas,arguments);this.lastX=v;this.lastY=x};V.prototype.lineTo=function(c,l){if(null!=this.lastX&&null!=this.lastY){var t=function(R){return"number"===
+typeof R?R?0>R?-1:1:R===R?0:NaN:NaN},m=Math.abs(c-this.lastX),r=Math.abs(l-this.lastY),v=Math.sqrt(m*m+r*r);if(2>v){this.originalLineTo.apply(this.canvas,arguments);this.lastX=c;this.lastY=l;return}var x=Math.round(v/10),J=this.defaultVariation;5>x&&(x=5,J/=3);var y=t(c-this.lastX)*m/x;t=t(l-this.lastY)*r/x;m/=v;r/=v;for(v=0;v<x;v++){var aa=(Math.random()-.5)*J;this.originalLineTo.call(this.canvas,y*v+this.lastX-aa*r,t*v+this.lastY-aa*m)}this.originalLineTo.call(this.canvas,c,l)}else this.originalLineTo.apply(this.canvas,
+arguments);this.lastX=c;this.lastY=l};V.prototype.destroy=function(){this.canvas.lineTo=this.originalLineTo;this.canvas.moveTo=this.originalMoveTo;this.canvas.close=this.originalClose;this.canvas.quadTo=this.originalQuadTo;this.canvas.curveTo=this.originalCurveTo;this.canvas.arcTo=this.originalArcTo};var Xa=mxShape.prototype.beforePaint;mxShape.prototype.beforePaint=function(c){Xa.apply(this,arguments);null==c.handJiggle&&(c.handJiggle=this.createHandJiggle(c))};var bb=mxShape.prototype.afterPaint;
+mxShape.prototype.afterPaint=function(c){bb.apply(this,arguments);null!=c.handJiggle&&(c.handJiggle.destroy(),delete c.handJiggle)};mxShape.prototype.createComicCanvas=function(c){return new V(c,mxUtils.getValue(this.style,"jiggle",Editor.sketchDefaultJiggle))};mxShape.prototype.createHandJiggle=function(c){return this.outline||null==this.style||"0"==mxUtils.getValue(this.style,"comic","0")?null:this.createComicCanvas(c)};var ib=mxRectangleShape.prototype.isHtmlAllowed;mxRectangleShape.prototype.isHtmlAllowed=
+function(){return!this.outline&&(null==this.style||"0"==mxUtils.getValue(this.style,"comic","0")&&"0"==mxUtils.getValue(this.style,"sketch","1"==urlParams.rough?"1":"0"))&&ib.apply(this,arguments)};var lb=mxRectangleShape.prototype.paintBackground;mxRectangleShape.prototype.paintBackground=function(c,l,t,m,r){if(null==c.handJiggle||c.handJiggle.constructor!=V)lb.apply(this,arguments);else{var v=!0;null!=this.style&&(v="1"==mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1"));if(v||null!=
+this.fill&&this.fill!=mxConstants.NONE||null!=this.stroke&&this.stroke!=mxConstants.NONE)v||null!=this.fill&&this.fill!=mxConstants.NONE||(c.pointerEvents=!1),c.begin(),this.isRounded?("1"==mxUtils.getValue(this.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,0)?v=Math.min(m/2,Math.min(r/2,mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2)):(v=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100,v=Math.min(m*v,r*v)),c.moveTo(l+
+v,t),c.lineTo(l+m-v,t),c.quadTo(l+m,t,l+m,t+v),c.lineTo(l+m,t+r-v),c.quadTo(l+m,t+r,l+m-v,t+r),c.lineTo(l+v,t+r),c.quadTo(l,t+r,l,t+r-v),c.lineTo(l,t+v),c.quadTo(l,t,l+v,t)):(c.moveTo(l,t),c.lineTo(l+m,t),c.lineTo(l+m,t+r),c.lineTo(l,t+r),c.lineTo(l,t)),c.close(),c.end(),c.fillAndStroke()}};mxUtils.extend(L,mxRectangleShape);L.prototype.size=.1;L.prototype.fixedSize=!1;L.prototype.isHtmlAllowed=function(){return!1};L.prototype.getLabelBounds=function(c){if(mxUtils.getValue(this.state.style,mxConstants.STYLE_HORIZONTAL,
+!0)==(null==this.direction||this.direction==mxConstants.DIRECTION_EAST||this.direction==mxConstants.DIRECTION_WEST)){var l=c.width,t=c.height;c=new mxRectangle(c.x,c.y,l,t);var m=l*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));if(this.isRounded){var r=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100;m=Math.max(m,Math.min(l*r,t*r))}c.x+=Math.round(m);c.width-=Math.round(2*m);return c}return c};L.prototype.paintForeground=
+function(c,l,t,m,r){var v=mxUtils.getValue(this.style,"fixedSize",this.fixedSize),x=parseFloat(mxUtils.getValue(this.style,"size",this.size));x=v?Math.max(0,Math.min(m,x)):m*Math.max(0,Math.min(1,x));this.isRounded&&(v=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100,x=Math.max(x,Math.min(m*v,r*v)));x=Math.round(x);c.begin();c.moveTo(l+x,t);c.lineTo(l+x,t+r);c.moveTo(l+m-x,t);c.lineTo(l+m-x,t+r);c.end();c.stroke();mxRectangleShape.prototype.paintForeground.apply(this,
+arguments)};mxCellRenderer.registerShape("process",L);mxCellRenderer.registerShape("process2",L);mxUtils.extend(U,mxRectangleShape);U.prototype.paintBackground=function(c,l,t,m,r){c.setFillColor(mxConstants.NONE);c.rect(l,t,m,r);c.fill()};U.prototype.paintForeground=function(c,l,t,m,r){};mxCellRenderer.registerShape("transparent",U);mxUtils.extend(ba,mxHexagon);ba.prototype.size=30;ba.prototype.position=.5;ba.prototype.position2=.5;ba.prototype.base=20;ba.prototype.getLabelMargins=function(){return new mxRectangle(0,
+0,0,parseFloat(mxUtils.getValue(this.style,"size",this.size))*this.scale)};ba.prototype.isRoundable=function(){return!0};ba.prototype.redrawPath=function(c,l,t,m,r){l=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;t=Math.max(0,Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size))));var v=m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"position",this.position)))),x=m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"position2",
+this.position2)))),J=Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,"base",this.base))));this.addPoints(c,[new mxPoint(0,0),new mxPoint(m,0),new mxPoint(m,r-t),new mxPoint(Math.min(m,v+J),r-t),new mxPoint(x,r),new mxPoint(Math.max(0,v),r-t),new mxPoint(0,r-t)],this.isRounded,l,!0,[4])};mxCellRenderer.registerShape("callout",ba);mxUtils.extend(ja,mxActor);ja.prototype.size=.2;ja.prototype.fixedSize=20;ja.prototype.isRoundable=function(){return!0};ja.prototype.redrawPath=function(c,l,
+t,m,r){l="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize)))):m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,0),new mxPoint(m-l,0),new mxPoint(m,r/2),new mxPoint(m-l,r),new mxPoint(0,r),new mxPoint(l,r/2)],this.isRounded,t,!0);c.end()};mxCellRenderer.registerShape("step",
+ja);mxUtils.extend(sa,mxHexagon);sa.prototype.size=.25;sa.prototype.fixedSize=20;sa.prototype.isRoundable=function(){return!0};sa.prototype.redrawPath=function(c,l,t,m,r){l="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(.5*m,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize)))):m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(l,
+0),new mxPoint(m-l,0),new mxPoint(m,.5*r),new mxPoint(m-l,r),new mxPoint(l,r),new mxPoint(0,.5*r)],this.isRounded,t,!0)};mxCellRenderer.registerShape("hexagon",sa);mxUtils.extend(O,mxRectangleShape);O.prototype.isHtmlAllowed=function(){return!1};O.prototype.paintForeground=function(c,l,t,m,r){var v=Math.min(m/5,r/5)+1;c.begin();c.moveTo(l+m/2,t+v);c.lineTo(l+m/2,t+r-v);c.moveTo(l+v,t+r/2);c.lineTo(l+m-v,t+r/2);c.end();c.stroke();mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxCellRenderer.registerShape("plus",
+O);var sb=mxRhombus.prototype.paintVertexShape;mxRhombus.prototype.getLabelBounds=function(c){if(1==this.style["double"]){var l=(2*Math.max(2,this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||0))*this.scale;return new mxRectangle(c.x+l,c.y+l,c.width-2*l,c.height-2*l)}return c};mxRhombus.prototype.paintVertexShape=function(c,l,t,m,r){sb.apply(this,arguments);if(!this.outline&&1==this.style["double"]){var v=2*Math.max(2,this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||
+0);l+=v;t+=v;m-=2*v;r-=2*v;0<m&&0<r&&(c.setShadow(!1),sb.apply(this,[c,l,t,m,r]))}};mxUtils.extend(T,mxRectangleShape);T.prototype.isHtmlAllowed=function(){return!1};T.prototype.getLabelBounds=function(c){if(1==this.style["double"]){var l=(Math.max(2,this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||0))*this.scale;return new mxRectangle(c.x+l,c.y+l,c.width-2*l,c.height-2*l)}return c};T.prototype.paintForeground=function(c,l,t,m,r){if(null!=this.style){if(!this.outline&&1==this.style["double"]){var v=
+Math.max(2,this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||0);l+=v;t+=v;m-=2*v;r-=2*v;0<m&&0<r&&mxRectangleShape.prototype.paintBackground.apply(this,arguments)}c.setDashed(!1);v=0;do{var x=mxCellRenderer.defaultShapes[this.style["symbol"+v]];if(null!=x){var J=this.style["symbol"+v+"Align"],y=this.style["symbol"+v+"VerticalAlign"],aa=this.style["symbol"+v+"Width"],R=this.style["symbol"+v+"Height"],Ga=this.style["symbol"+v+"Spacing"]||0,Va=this.style["symbol"+v+"VSpacing"]||Ga,
+Pa=this.style["symbol"+v+"ArcSpacing"];null!=Pa&&(Pa*=this.getArcSize(m+this.strokewidth,r+this.strokewidth),Ga+=Pa,Va+=Pa);Pa=l;var ka=t;Pa=J==mxConstants.ALIGN_CENTER?Pa+(m-aa)/2:J==mxConstants.ALIGN_RIGHT?Pa+(m-aa-Ga):Pa+Ga;ka=y==mxConstants.ALIGN_MIDDLE?ka+(r-R)/2:y==mxConstants.ALIGN_BOTTOM?ka+(r-R-Va):ka+Va;c.save();J=new x;J.style=this.style;x.prototype.paintVertexShape.call(J,c,Pa,ka,aa,R);c.restore()}v++}while(null!=x)}mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxCellRenderer.registerShape("ext",
+T);mxUtils.extend(X,mxCylinder);X.prototype.redrawPath=function(c,l,t,m,r,v){v?(c.moveTo(0,0),c.lineTo(m/2,r/2),c.lineTo(m,0),c.end()):(c.moveTo(0,0),c.lineTo(m,0),c.lineTo(m,r),c.lineTo(0,r),c.close())};mxCellRenderer.registerShape("message",X);mxUtils.extend(ca,mxShape);ca.prototype.paintBackground=function(c,l,t,m,r){c.translate(l,t);c.ellipse(m/4,0,m/2,r/4);c.fillAndStroke();c.begin();c.moveTo(m/2,r/4);c.lineTo(m/2,2*r/3);c.moveTo(m/2,r/3);c.lineTo(0,r/3);c.moveTo(m/2,r/3);c.lineTo(m,r/3);c.moveTo(m/
+2,2*r/3);c.lineTo(0,r);c.moveTo(m/2,2*r/3);c.lineTo(m,r);c.end();c.stroke()};mxCellRenderer.registerShape("umlActor",ca);mxUtils.extend(na,mxShape);na.prototype.getLabelMargins=function(c){return new mxRectangle(c.width/6,0,0,0)};na.prototype.paintBackground=function(c,l,t,m,r){c.translate(l,t);c.begin();c.moveTo(0,r/4);c.lineTo(0,3*r/4);c.end();c.stroke();c.begin();c.moveTo(0,r/2);c.lineTo(m/6,r/2);c.end();c.stroke();c.ellipse(m/6,0,5*m/6,r);c.fillAndStroke()};mxCellRenderer.registerShape("umlBoundary",
+na);mxUtils.extend(pa,mxEllipse);pa.prototype.paintVertexShape=function(c,l,t,m,r){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.begin();c.moveTo(l+m/8,t+r);c.lineTo(l+7*m/8,t+r);c.end();c.stroke()};mxCellRenderer.registerShape("umlEntity",pa);mxUtils.extend(M,mxShape);M.prototype.paintVertexShape=function(c,l,t,m,r){c.translate(l,t);c.begin();c.moveTo(m,0);c.lineTo(0,r);c.moveTo(0,0);c.lineTo(m,r);c.end();c.stroke()};mxCellRenderer.registerShape("umlDestroy",M);mxUtils.extend(ea,mxShape);
+ea.prototype.getLabelBounds=function(c){return new mxRectangle(c.x,c.y+c.height/8,c.width,7*c.height/8)};ea.prototype.paintBackground=function(c,l,t,m,r){c.translate(l,t);c.begin();c.moveTo(3*m/8,r/8*1.1);c.lineTo(5*m/8,0);c.end();c.stroke();c.ellipse(0,r/8,m,7*r/8);c.fillAndStroke()};ea.prototype.paintForeground=function(c,l,t,m,r){c.begin();c.moveTo(3*m/8,r/8*1.1);c.lineTo(5*m/8,r/4);c.end();c.stroke()};mxCellRenderer.registerShape("umlControl",ea);mxUtils.extend(ra,mxRectangleShape);ra.prototype.size=
+40;ra.prototype.isHtmlAllowed=function(){return!1};ra.prototype.getLabelBounds=function(c){var l=Math.max(0,Math.min(c.height,parseFloat(mxUtils.getValue(this.style,"size",this.size))*this.scale));return new mxRectangle(c.x,c.y,c.width,l)};ra.prototype.paintBackground=function(c,l,t,m,r){var v=Math.max(0,Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size)))),x=mxUtils.getValue(this.style,"participant");null==x||null==this.state?mxRectangleShape.prototype.paintBackground.call(this,
+c,l,t,m,v):(x=this.state.view.graph.cellRenderer.getShape(x),null!=x&&x!=ra&&(x=new x,x.apply(this.state),c.save(),x.paintVertexShape(c,l,t,m,v),c.restore()));v<r&&(c.setDashed("1"==mxUtils.getValue(this.style,"lifelineDashed","1")),c.begin(),c.moveTo(l+m/2,t+v),c.lineTo(l+m/2,t+r),c.end(),c.stroke())};ra.prototype.paintForeground=function(c,l,t,m,r){var v=Math.max(0,Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size))));mxRectangleShape.prototype.paintForeground.call(this,c,l,t,m,
+Math.min(r,v))};mxCellRenderer.registerShape("umlLifeline",ra);mxUtils.extend(ta,mxShape);ta.prototype.width=60;ta.prototype.height=30;ta.prototype.corner=10;ta.prototype.configurePointerEvents=function(c){var l=mxUtils.getValue(this.style,mxConstants.STYLE_SWIMLANE_FILLCOLOR,mxConstants.NONE);null==this.style||null!=l&&l!=mxConstants.NONE&&0!=this.opacity&&0!=this.fillOpacity||"0"!=mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1")||(c.pointerEvents=!1)};ta.prototype.getLabelMargins=
+function(c){return new mxRectangle(0,0,c.width-parseFloat(mxUtils.getValue(this.style,"width",this.width)*this.scale),c.height-parseFloat(mxUtils.getValue(this.style,"height",this.height)*this.scale))};ta.prototype.paintBackground=function(c,l,t,m,r){var v=this.corner,x=Math.min(m,Math.max(v,parseFloat(mxUtils.getValue(this.style,"width",this.width)))),J=Math.min(r,Math.max(1.5*v,parseFloat(mxUtils.getValue(this.style,"height",this.height)))),y=mxUtils.getValue(this.style,mxConstants.STYLE_SWIMLANE_FILLCOLOR,
+mxConstants.NONE);y!=mxConstants.NONE&&(c.setFillColor(y),c.rect(l,t,m,r),c.fill());null!=this.fill&&this.fill!=mxConstants.NONE&&this.gradient&&this.gradient!=mxConstants.NONE?(this.getGradientBounds(c,l,t,m,r),c.setGradient(this.fill,this.gradient,l,t,m,r,this.gradientDirection)):c.setFillColor(this.fill);c.pointerEvents=!0;c.begin();c.moveTo(l,t);c.lineTo(l+x,t);c.lineTo(l+x,t+Math.max(0,J-1.5*v));c.lineTo(l+Math.max(0,x-v),t+J);c.lineTo(l,t+J);c.close();c.fillAndStroke();this.configurePointerEvents(c);
+c.begin();c.moveTo(l+x,t);c.lineTo(l+m,t);c.lineTo(l+m,t+r);c.lineTo(l,t+r);c.lineTo(l,t+J);c.stroke()};mxCellRenderer.registerShape("umlFrame",ta);mxPerimeter.CenterPerimeter=function(c,l,t,m){return new mxPoint(c.getCenterX(),c.getCenterY())};mxStyleRegistry.putValue("centerPerimeter",mxPerimeter.CenterPerimeter);mxPerimeter.LifelinePerimeter=function(c,l,t,m){m=ra.prototype.size;null!=l&&(m=mxUtils.getValue(l.style,"size",m)*l.view.scale);l=parseFloat(l.style[mxConstants.STYLE_STROKEWIDTH]||1)*
+l.view.scale/2-1;t.x<c.getCenterX()&&(l=-1*(l+1));return new mxPoint(c.getCenterX()+l,Math.min(c.y+c.height,Math.max(c.y+m,t.y)))};mxStyleRegistry.putValue("lifelinePerimeter",mxPerimeter.LifelinePerimeter);mxPerimeter.OrthogonalPerimeter=function(c,l,t,m){m=!0;return mxPerimeter.RectanglePerimeter.apply(this,arguments)};mxStyleRegistry.putValue("orthogonalPerimeter",mxPerimeter.OrthogonalPerimeter);mxPerimeter.BackbonePerimeter=function(c,l,t,m){m=parseFloat(l.style[mxConstants.STYLE_STROKEWIDTH]||
+1)*l.view.scale/2-1;null!=l.style.backboneSize&&(m+=parseFloat(l.style.backboneSize)*l.view.scale/2-1);if("south"==l.style[mxConstants.STYLE_DIRECTION]||"north"==l.style[mxConstants.STYLE_DIRECTION])return t.x<c.getCenterX()&&(m=-1*(m+1)),new mxPoint(c.getCenterX()+m,Math.min(c.y+c.height,Math.max(c.y,t.y)));t.y<c.getCenterY()&&(m=-1*(m+1));return new mxPoint(Math.min(c.x+c.width,Math.max(c.x,t.x)),c.getCenterY()+m)};mxStyleRegistry.putValue("backbonePerimeter",mxPerimeter.BackbonePerimeter);mxPerimeter.CalloutPerimeter=
+function(c,l,t,m){return mxPerimeter.RectanglePerimeter(mxUtils.getDirectedBounds(c,new mxRectangle(0,0,0,Math.max(0,Math.min(c.height,parseFloat(mxUtils.getValue(l.style,"size",ba.prototype.size))*l.view.scale))),l.style),l,t,m)};mxStyleRegistry.putValue("calloutPerimeter",mxPerimeter.CalloutPerimeter);mxPerimeter.ParallelogramPerimeter=function(c,l,t,m){var r="0"!=mxUtils.getValue(l.style,"fixedSize","0"),v=r?I.prototype.fixedSize:I.prototype.size;null!=l&&(v=mxUtils.getValue(l.style,"size",v));
+r&&(v*=l.view.scale);var x=c.x,J=c.y,y=c.width,aa=c.height;l=null!=l?mxUtils.getValue(l.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;l==mxConstants.DIRECTION_NORTH||l==mxConstants.DIRECTION_SOUTH?(r=r?Math.max(0,Math.min(aa,v)):aa*Math.max(0,Math.min(1,v)),J=[new mxPoint(x,J),new mxPoint(x+y,J+r),new mxPoint(x+y,J+aa),new mxPoint(x,J+aa-r),new mxPoint(x,J)]):(r=r?Math.max(0,Math.min(.5*y,v)):y*Math.max(0,Math.min(1,v)),J=[new mxPoint(x+r,J),new mxPoint(x+
+y,J),new mxPoint(x+y-r,J+aa),new mxPoint(x,J+aa),new mxPoint(x+r,J)]);aa=c.getCenterX();c=c.getCenterY();c=new mxPoint(aa,c);m&&(t.x<x||t.x>x+y?c.y=t.y:c.x=t.x);return mxUtils.getPerimeterPoint(J,c,t)};mxStyleRegistry.putValue("parallelogramPerimeter",mxPerimeter.ParallelogramPerimeter);mxPerimeter.TrapezoidPerimeter=function(c,l,t,m){var r="0"!=mxUtils.getValue(l.style,"fixedSize","0"),v=r?Z.prototype.fixedSize:Z.prototype.size;null!=l&&(v=mxUtils.getValue(l.style,"size",v));r&&(v*=l.view.scale);
+var x=c.x,J=c.y,y=c.width,aa=c.height;l=null!=l?mxUtils.getValue(l.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;l==mxConstants.DIRECTION_EAST?(r=r?Math.max(0,Math.min(.5*y,v)):y*Math.max(0,Math.min(1,v)),J=[new mxPoint(x+r,J),new mxPoint(x+y-r,J),new mxPoint(x+y,J+aa),new mxPoint(x,J+aa),new mxPoint(x+r,J)]):l==mxConstants.DIRECTION_WEST?(r=r?Math.max(0,Math.min(y,v)):y*Math.max(0,Math.min(1,v)),J=[new mxPoint(x,J),new mxPoint(x+y,J),new mxPoint(x+y-r,J+
+aa),new mxPoint(x+r,J+aa),new mxPoint(x,J)]):l==mxConstants.DIRECTION_NORTH?(r=r?Math.max(0,Math.min(aa,v)):aa*Math.max(0,Math.min(1,v)),J=[new mxPoint(x,J+r),new mxPoint(x+y,J),new mxPoint(x+y,J+aa),new mxPoint(x,J+aa-r),new mxPoint(x,J+r)]):(r=r?Math.max(0,Math.min(aa,v)):aa*Math.max(0,Math.min(1,v)),J=[new mxPoint(x,J),new mxPoint(x+y,J+r),new mxPoint(x+y,J+aa-r),new mxPoint(x,J+aa),new mxPoint(x,J)]);aa=c.getCenterX();c=c.getCenterY();c=new mxPoint(aa,c);m&&(t.x<x||t.x>x+y?c.y=t.y:c.x=t.x);return mxUtils.getPerimeterPoint(J,
+c,t)};mxStyleRegistry.putValue("trapezoidPerimeter",mxPerimeter.TrapezoidPerimeter);mxPerimeter.StepPerimeter=function(c,l,t,m){var r="0"!=mxUtils.getValue(l.style,"fixedSize","0"),v=r?ja.prototype.fixedSize:ja.prototype.size;null!=l&&(v=mxUtils.getValue(l.style,"size",v));r&&(v*=l.view.scale);var x=c.x,J=c.y,y=c.width,aa=c.height,R=c.getCenterX();c=c.getCenterY();l=null!=l?mxUtils.getValue(l.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;l==mxConstants.DIRECTION_EAST?
+(r=r?Math.max(0,Math.min(y,v)):y*Math.max(0,Math.min(1,v)),J=[new mxPoint(x,J),new mxPoint(x+y-r,J),new mxPoint(x+y,c),new mxPoint(x+y-r,J+aa),new mxPoint(x,J+aa),new mxPoint(x+r,c),new mxPoint(x,J)]):l==mxConstants.DIRECTION_WEST?(r=r?Math.max(0,Math.min(y,v)):y*Math.max(0,Math.min(1,v)),J=[new mxPoint(x+r,J),new mxPoint(x+y,J),new mxPoint(x+y-r,c),new mxPoint(x+y,J+aa),new mxPoint(x+r,J+aa),new mxPoint(x,c),new mxPoint(x+r,J)]):l==mxConstants.DIRECTION_NORTH?(r=r?Math.max(0,Math.min(aa,v)):aa*Math.max(0,
Math.min(1,v)),J=[new mxPoint(x,J+r),new mxPoint(R,J),new mxPoint(x+y,J+r),new mxPoint(x+y,J+aa),new mxPoint(R,J+aa-r),new mxPoint(x,J+aa),new mxPoint(x,J+r)]):(r=r?Math.max(0,Math.min(aa,v)):aa*Math.max(0,Math.min(1,v)),J=[new mxPoint(x,J),new mxPoint(R,J+r),new mxPoint(x+y,J),new mxPoint(x+y,J+aa-r),new mxPoint(R,J+aa),new mxPoint(x,J+aa-r),new mxPoint(x,J)]);R=new mxPoint(R,c);m&&(t.x<x||t.x>x+y?R.y=t.y:R.x=t.x);return mxUtils.getPerimeterPoint(J,R,t)};mxStyleRegistry.putValue("stepPerimeter",
-mxPerimeter.StepPerimeter);mxPerimeter.HexagonPerimeter2=function(c,k,t,m){var r="0"!=mxUtils.getValue(k.style,"fixedSize","0"),v=r?pa.prototype.fixedSize:pa.prototype.size;null!=k&&(v=mxUtils.getValue(k.style,"size",v));r&&(v*=k.view.scale);var x=c.x,J=c.y,y=c.width,aa=c.height,R=c.getCenterX();c=c.getCenterY();k=null!=k?mxUtils.getValue(k.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;k==mxConstants.DIRECTION_NORTH||k==mxConstants.DIRECTION_SOUTH?(r=r?Math.max(0,
+mxPerimeter.StepPerimeter);mxPerimeter.HexagonPerimeter2=function(c,l,t,m){var r="0"!=mxUtils.getValue(l.style,"fixedSize","0"),v=r?sa.prototype.fixedSize:sa.prototype.size;null!=l&&(v=mxUtils.getValue(l.style,"size",v));r&&(v*=l.view.scale);var x=c.x,J=c.y,y=c.width,aa=c.height,R=c.getCenterX();c=c.getCenterY();l=null!=l?mxUtils.getValue(l.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;l==mxConstants.DIRECTION_NORTH||l==mxConstants.DIRECTION_SOUTH?(r=r?Math.max(0,
Math.min(aa,v)):aa*Math.max(0,Math.min(1,v)),J=[new mxPoint(R,J),new mxPoint(x+y,J+r),new mxPoint(x+y,J+aa-r),new mxPoint(R,J+aa),new mxPoint(x,J+aa-r),new mxPoint(x,J+r),new mxPoint(R,J)]):(r=r?Math.max(0,Math.min(y,v)):y*Math.max(0,Math.min(1,v)),J=[new mxPoint(x+r,J),new mxPoint(x+y-r,J),new mxPoint(x+y,c),new mxPoint(x+y-r,J+aa),new mxPoint(x+r,J+aa),new mxPoint(x,c),new mxPoint(x+r,J)]);R=new mxPoint(R,c);m&&(t.x<x||t.x>x+y?R.y=t.y:R.x=t.x);return mxUtils.getPerimeterPoint(J,R,t)};mxStyleRegistry.putValue("hexagonPerimeter2",
-mxPerimeter.HexagonPerimeter2);mxUtils.extend(Ua,mxShape);Ua.prototype.size=10;Ua.prototype.paintBackground=function(c,k,t,m,r){var v=parseFloat(mxUtils.getValue(this.style,"size",this.size));c.translate(k,t);c.ellipse((m-v)/2,0,v,v);c.fillAndStroke();c.begin();c.moveTo(m/2,v);c.lineTo(m/2,r);c.end();c.stroke()};mxCellRenderer.registerShape("lollipop",Ua);mxUtils.extend(ma,mxShape);ma.prototype.size=10;ma.prototype.inset=2;ma.prototype.paintBackground=function(c,k,t,m,r){var v=parseFloat(mxUtils.getValue(this.style,
-"size",this.size)),x=parseFloat(mxUtils.getValue(this.style,"inset",this.inset))+this.strokewidth;c.translate(k,t);c.begin();c.moveTo(m/2,v+x);c.lineTo(m/2,r);c.end();c.stroke();c.begin();c.moveTo((m-v)/2-x,v/2);c.quadTo((m-v)/2-x,v+x,m/2,v+x);c.quadTo((m+v)/2+x,v+x,(m+v)/2+x,v/2);c.end();c.stroke()};mxCellRenderer.registerShape("requires",ma);mxUtils.extend(Fa,mxShape);Fa.prototype.paintBackground=function(c,k,t,m,r){c.translate(k,t);c.begin();c.moveTo(0,0);c.quadTo(m,0,m,r/2);c.quadTo(m,r,0,r);
-c.end();c.stroke()};mxCellRenderer.registerShape("requiredInterface",Fa);mxUtils.extend(Ia,mxShape);Ia.prototype.inset=2;Ia.prototype.paintBackground=function(c,k,t,m,r){var v=parseFloat(mxUtils.getValue(this.style,"inset",this.inset))+this.strokewidth;c.translate(k,t);c.ellipse(0,v,m-2*v,r-2*v);c.fillAndStroke();c.begin();c.moveTo(m/2,0);c.quadTo(m,0,m,r/2);c.quadTo(m,r,m/2,r);c.end();c.stroke()};mxCellRenderer.registerShape("providedRequiredInterface",Ia);mxUtils.extend(Oa,mxCylinder);Oa.prototype.jettyWidth=
-20;Oa.prototype.jettyHeight=10;Oa.prototype.redrawPath=function(c,k,t,m,r,v){var x=parseFloat(mxUtils.getValue(this.style,"jettyWidth",this.jettyWidth));k=parseFloat(mxUtils.getValue(this.style,"jettyHeight",this.jettyHeight));t=x/2;x=t+x/2;var J=Math.min(k,r-k),y=Math.min(J+2*k,r-k);v?(c.moveTo(t,J),c.lineTo(x,J),c.lineTo(x,J+k),c.lineTo(t,J+k),c.moveTo(t,y),c.lineTo(x,y),c.lineTo(x,y+k),c.lineTo(t,y+k)):(c.moveTo(t,0),c.lineTo(m,0),c.lineTo(m,r),c.lineTo(t,r),c.lineTo(t,y+k),c.lineTo(0,y+k),c.lineTo(0,
-y),c.lineTo(t,y),c.lineTo(t,J+k),c.lineTo(0,J+k),c.lineTo(0,J),c.lineTo(t,J),c.close());c.end()};mxCellRenderer.registerShape("module",Oa);mxUtils.extend(Ra,mxCylinder);Ra.prototype.jettyWidth=32;Ra.prototype.jettyHeight=12;Ra.prototype.redrawPath=function(c,k,t,m,r,v){var x=parseFloat(mxUtils.getValue(this.style,"jettyWidth",this.jettyWidth));k=parseFloat(mxUtils.getValue(this.style,"jettyHeight",this.jettyHeight));t=x/2;x=t+x/2;var J=.3*r-k/2,y=.7*r-k/2;v?(c.moveTo(t,J),c.lineTo(x,J),c.lineTo(x,
-J+k),c.lineTo(t,J+k),c.moveTo(t,y),c.lineTo(x,y),c.lineTo(x,y+k),c.lineTo(t,y+k)):(c.moveTo(t,0),c.lineTo(m,0),c.lineTo(m,r),c.lineTo(t,r),c.lineTo(t,y+k),c.lineTo(0,y+k),c.lineTo(0,y),c.lineTo(t,y),c.lineTo(t,J+k),c.lineTo(0,J+k),c.lineTo(0,J),c.lineTo(t,J),c.close());c.end()};mxCellRenderer.registerShape("component",Ra);mxUtils.extend(Ma,mxRectangleShape);Ma.prototype.paintForeground=function(c,k,t,m,r){var v=m/2,x=r/2,J=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/
-2;c.begin();this.addPoints(c,[new mxPoint(k+v,t),new mxPoint(k+m,t+x),new mxPoint(k+v,t+r),new mxPoint(k,t+x)],this.isRounded,J,!0);c.stroke();mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxCellRenderer.registerShape("associativeEntity",Ma);mxUtils.extend(Na,mxDoubleEllipse);Na.prototype.outerStroke=!0;Na.prototype.paintVertexShape=function(c,k,t,m,r){var v=Math.min(4,Math.min(m/5,r/5));0<m&&0<r&&(c.ellipse(k+v,t+v,m-2*v,r-2*v),c.fillAndStroke());c.setShadow(!1);this.outerStroke&&
-(c.ellipse(k,t,m,r),c.stroke())};mxCellRenderer.registerShape("endState",Na);mxUtils.extend(ta,Na);ta.prototype.outerStroke=!1;mxCellRenderer.registerShape("startState",ta);mxUtils.extend(Pa,mxArrowConnector);Pa.prototype.defaultWidth=4;Pa.prototype.isOpenEnded=function(){return!0};Pa.prototype.getEdgeWidth=function(){return mxUtils.getNumber(this.style,"width",this.defaultWidth)+Math.max(0,this.strokewidth-1)};Pa.prototype.isArrowRounded=function(){return this.isRounded};mxCellRenderer.registerShape("link",
-Pa);mxUtils.extend($a,mxArrowConnector);$a.prototype.defaultWidth=10;$a.prototype.defaultArrowWidth=20;$a.prototype.getStartArrowWidth=function(){return this.getEdgeWidth()+mxUtils.getNumber(this.style,"startWidth",this.defaultArrowWidth)};$a.prototype.getEndArrowWidth=function(){return this.getEdgeWidth()+mxUtils.getNumber(this.style,"endWidth",this.defaultArrowWidth)};$a.prototype.getEdgeWidth=function(){return mxUtils.getNumber(this.style,"width",this.defaultWidth)+Math.max(0,this.strokewidth-
-1)};mxCellRenderer.registerShape("flexArrow",$a);mxUtils.extend(gb,mxActor);gb.prototype.size=30;gb.prototype.isRoundable=function(){return!0};gb.prototype.redrawPath=function(c,k,t,m,r){k=Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size)));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,r),new mxPoint(0,k),new mxPoint(m,0),new mxPoint(m,r)],this.isRounded,t,!0);c.end()};mxCellRenderer.registerShape("manualInput",
-gb);mxUtils.extend(cb,mxRectangleShape);cb.prototype.dx=20;cb.prototype.dy=20;cb.prototype.isHtmlAllowed=function(){return!1};cb.prototype.paintForeground=function(c,k,t,m,r){mxRectangleShape.prototype.paintForeground.apply(this,arguments);var v=0;if(this.isRounded){var x=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100;v=Math.max(v,Math.min(m*x,r*x))}x=Math.max(v,Math.min(m,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));v=Math.max(v,Math.min(r,
-parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));c.begin();c.moveTo(k,t+v);c.lineTo(k+m,t+v);c.end();c.stroke();c.begin();c.moveTo(k+x,t);c.lineTo(k+x,t+r);c.end();c.stroke()};mxCellRenderer.registerShape("internalStorage",cb);mxUtils.extend(hb,mxActor);hb.prototype.dx=20;hb.prototype.dy=20;hb.prototype.redrawPath=function(c,k,t,m,r){k=Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));t=Math.max(0,Math.min(r,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));
-parseFloat(mxUtils.getValue(this.style,"size",this.size));var v=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,0),new mxPoint(m,0),new mxPoint(m,t),new mxPoint(k,t),new mxPoint(k,r),new mxPoint(0,r)],this.isRounded,v,!0);c.end()};mxCellRenderer.registerShape("corner",hb);mxUtils.extend(ib,mxActor);ib.prototype.redrawPath=function(c,k,t,m,r){c.moveTo(0,0);c.lineTo(0,r);c.end();c.moveTo(m,0);c.lineTo(m,r);c.end();c.moveTo(0,r/2);c.lineTo(m,
-r/2);c.end()};mxCellRenderer.registerShape("crossbar",ib);mxUtils.extend(fb,mxActor);fb.prototype.dx=20;fb.prototype.dy=20;fb.prototype.redrawPath=function(c,k,t,m,r){k=Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));t=Math.max(0,Math.min(r,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));parseFloat(mxUtils.getValue(this.style,"size",this.size));var v=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,
-0),new mxPoint(m,0),new mxPoint(m,t),new mxPoint((m+k)/2,t),new mxPoint((m+k)/2,r),new mxPoint((m-k)/2,r),new mxPoint((m-k)/2,t),new mxPoint(0,t)],this.isRounded,v,!0);c.end()};mxCellRenderer.registerShape("tee",fb);mxUtils.extend(fa,mxActor);fa.prototype.arrowWidth=.3;fa.prototype.arrowSize=.2;fa.prototype.redrawPath=function(c,k,t,m,r){var v=r*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",this.arrowWidth))));k=m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,
-"arrowSize",this.arrowSize))));t=(r-v)/2;v=t+v;var x=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,t),new mxPoint(m-k,t),new mxPoint(m-k,0),new mxPoint(m,r/2),new mxPoint(m-k,r),new mxPoint(m-k,v),new mxPoint(0,v)],this.isRounded,x,!0);c.end()};mxCellRenderer.registerShape("singleArrow",fa);mxUtils.extend(Ga,mxActor);Ga.prototype.redrawPath=function(c,k,t,m,r){var v=r*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",
-fa.prototype.arrowWidth))));k=m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",fa.prototype.arrowSize))));t=(r-v)/2;v=t+v;var x=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,r/2),new mxPoint(k,0),new mxPoint(k,t),new mxPoint(m-k,t),new mxPoint(m-k,0),new mxPoint(m,r/2),new mxPoint(m-k,r),new mxPoint(m-k,v),new mxPoint(k,v),new mxPoint(k,r)],this.isRounded,x,!0);c.end()};mxCellRenderer.registerShape("doubleArrow",
-Ga);mxUtils.extend(ya,mxActor);ya.prototype.size=.1;ya.prototype.fixedSize=20;ya.prototype.redrawPath=function(c,k,t,m,r){k="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize)))):m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c.moveTo(k,0);c.lineTo(m,0);c.quadTo(m-2*k,r/2,m,r);c.lineTo(k,r);c.quadTo(k-2*k,r/2,k,0);c.close();c.end()};mxCellRenderer.registerShape("dataStorage",ya);
-mxUtils.extend(u,mxActor);u.prototype.redrawPath=function(c,k,t,m,r){c.moveTo(0,0);c.quadTo(m,0,m,r/2);c.quadTo(m,r,0,r);c.close();c.end()};mxCellRenderer.registerShape("or",u);mxUtils.extend(A,mxActor);A.prototype.redrawPath=function(c,k,t,m,r){c.moveTo(0,0);c.quadTo(m,0,m,r/2);c.quadTo(m,r,0,r);c.quadTo(m/2,r/2,0,0);c.close();c.end()};mxCellRenderer.registerShape("xor",A);mxUtils.extend(B,mxActor);B.prototype.size=20;B.prototype.isRoundable=function(){return!0};B.prototype.redrawPath=function(c,
-k,t,m,r){k=Math.min(m/2,Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(k,0),new mxPoint(m-k,0),new mxPoint(m,.8*k),new mxPoint(m,r),new mxPoint(0,r),new mxPoint(0,.8*k)],this.isRounded,t,!0);c.end()};mxCellRenderer.registerShape("loopLimit",B);mxUtils.extend(E,mxActor);E.prototype.size=.375;E.prototype.isRoundable=function(){return!0};E.prototype.redrawPath=function(c,
-k,t,m,r){k=r*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,0),new mxPoint(m,0),new mxPoint(m,r-k),new mxPoint(m/2,r),new mxPoint(0,r-k)],this.isRounded,t,!0);c.end()};mxCellRenderer.registerShape("offPageConnector",E);mxUtils.extend(N,mxEllipse);N.prototype.paintVertexShape=function(c,k,t,m,r){mxEllipse.prototype.paintVertexShape.apply(this,arguments);
-c.begin();c.moveTo(k+m/2,t+r);c.lineTo(k+m,t+r);c.end();c.stroke()};mxCellRenderer.registerShape("tapeData",N);mxUtils.extend(Q,mxEllipse);Q.prototype.paintVertexShape=function(c,k,t,m,r){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.setShadow(!1);c.begin();c.moveTo(k,t+r/2);c.lineTo(k+m,t+r/2);c.end();c.stroke();c.begin();c.moveTo(k+m/2,t);c.lineTo(k+m/2,t+r);c.end();c.stroke()};mxCellRenderer.registerShape("orEllipse",Q);mxUtils.extend(T,mxEllipse);T.prototype.paintVertexShape=function(c,
-k,t,m,r){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.setShadow(!1);c.begin();c.moveTo(k+.145*m,t+.145*r);c.lineTo(k+.855*m,t+.855*r);c.end();c.stroke();c.begin();c.moveTo(k+.855*m,t+.145*r);c.lineTo(k+.145*m,t+.855*r);c.end();c.stroke()};mxCellRenderer.registerShape("sumEllipse",T);mxUtils.extend(ia,mxRhombus);ia.prototype.paintVertexShape=function(c,k,t,m,r){mxRhombus.prototype.paintVertexShape.apply(this,arguments);c.setShadow(!1);c.begin();c.moveTo(k,t+r/2);c.lineTo(k+m,t+r/2);
-c.end();c.stroke()};mxCellRenderer.registerShape("sortShape",ia);mxUtils.extend(da,mxEllipse);da.prototype.paintVertexShape=function(c,k,t,m,r){c.begin();c.moveTo(k,t);c.lineTo(k+m,t);c.lineTo(k+m/2,t+r/2);c.close();c.fillAndStroke();c.begin();c.moveTo(k,t+r);c.lineTo(k+m,t+r);c.lineTo(k+m/2,t+r/2);c.close();c.fillAndStroke()};mxCellRenderer.registerShape("collate",da);mxUtils.extend(ha,mxEllipse);ha.prototype.paintVertexShape=function(c,k,t,m,r){var v=c.state.strokeWidth/2,x=10+2*v,J=t+r-x/2;c.begin();
-c.moveTo(k,t);c.lineTo(k,t+r);c.moveTo(k+v,J);c.lineTo(k+v+x,J-x/2);c.moveTo(k+v,J);c.lineTo(k+v+x,J+x/2);c.moveTo(k+v,J);c.lineTo(k+m-v,J);c.moveTo(k+m,t);c.lineTo(k+m,t+r);c.moveTo(k+m-v,J);c.lineTo(k+m-x-v,J-x/2);c.moveTo(k+m-v,J);c.lineTo(k+m-x-v,J+x/2);c.end();c.stroke()};mxCellRenderer.registerShape("dimension",ha);mxUtils.extend(ua,mxEllipse);ua.prototype.drawHidden=!0;ua.prototype.paintVertexShape=function(c,k,t,m,r){this.outline||c.setStrokeColor(null);if(null!=this.style){var v=c.pointerEvents,
-x=null!=this.fill&&this.fill!=mxConstants.NONE;"1"==mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1")||x||(c.pointerEvents=!1);var J="1"==mxUtils.getValue(this.style,"top","1"),y="1"==mxUtils.getValue(this.style,"left","1"),aa="1"==mxUtils.getValue(this.style,"right","1"),R="1"==mxUtils.getValue(this.style,"bottom","1");this.drawHidden||x||this.outline||J||aa||R||y?(c.rect(k,t,m,r),c.fill(),c.pointerEvents=v,c.setStrokeColor(this.stroke),c.setLineCap("square"),c.begin(),c.moveTo(k,
-t),this.outline||J?c.lineTo(k+m,t):c.moveTo(k+m,t),this.outline||aa?c.lineTo(k+m,t+r):c.moveTo(k+m,t+r),this.outline||R?c.lineTo(k,t+r):c.moveTo(k,t+r),(this.outline||y)&&c.lineTo(k,t),c.end(),c.stroke(),c.setLineCap("flat")):c.setStrokeColor(this.stroke)}};mxCellRenderer.registerShape("partialRectangle",ua);mxUtils.extend(Ja,mxEllipse);Ja.prototype.paintVertexShape=function(c,k,t,m,r){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.setShadow(!1);c.begin();"vertical"==mxUtils.getValue(this.style,
-"line")?(c.moveTo(k+m/2,t),c.lineTo(k+m/2,t+r)):(c.moveTo(k,t+r/2),c.lineTo(k+m,t+r/2));c.end();c.stroke()};mxCellRenderer.registerShape("lineEllipse",Ja);mxUtils.extend(Ka,mxActor);Ka.prototype.redrawPath=function(c,k,t,m,r){k=Math.min(m,r/2);c.moveTo(0,0);c.lineTo(m-k,0);c.quadTo(m,0,m,r/2);c.quadTo(m,r,m-k,r);c.lineTo(0,r);c.close();c.end()};mxCellRenderer.registerShape("delay",Ka);mxUtils.extend(xa,mxActor);xa.prototype.size=.2;xa.prototype.redrawPath=function(c,k,t,m,r){k=Math.min(r,m);var v=
-Math.max(0,Math.min(k,k*parseFloat(mxUtils.getValue(this.style,"size",this.size))));k=(r-v)/2;t=k+v;var x=(m-v)/2;v=x+v;c.moveTo(0,k);c.lineTo(x,k);c.lineTo(x,0);c.lineTo(v,0);c.lineTo(v,k);c.lineTo(m,k);c.lineTo(m,t);c.lineTo(v,t);c.lineTo(v,r);c.lineTo(x,r);c.lineTo(x,t);c.lineTo(0,t);c.close();c.end()};mxCellRenderer.registerShape("cross",xa);mxUtils.extend(Ba,mxActor);Ba.prototype.size=.25;Ba.prototype.redrawPath=function(c,k,t,m,r){k=Math.min(m,r/2);t=Math.min(m-k,Math.max(0,parseFloat(mxUtils.getValue(this.style,
-"size",this.size)))*m);c.moveTo(0,r/2);c.lineTo(t,0);c.lineTo(m-k,0);c.quadTo(m,0,m,r/2);c.quadTo(m,r,m-k,r);c.lineTo(t,r);c.close();c.end()};mxCellRenderer.registerShape("display",Ba);mxUtils.extend(wa,mxActor);wa.prototype.cst={RECT2:"mxgraph.basic.rect"};wa.prototype.customProperties=[{name:"rectStyle",dispName:"Style",type:"enum",defVal:"square",enumList:[{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",
+mxPerimeter.HexagonPerimeter2);mxUtils.extend(Sa,mxShape);Sa.prototype.size=10;Sa.prototype.paintBackground=function(c,l,t,m,r){var v=parseFloat(mxUtils.getValue(this.style,"size",this.size));c.translate(l,t);c.ellipse((m-v)/2,0,v,v);c.fillAndStroke();c.begin();c.moveTo(m/2,v);c.lineTo(m/2,r);c.end();c.stroke()};mxCellRenderer.registerShape("lollipop",Sa);mxUtils.extend(ma,mxShape);ma.prototype.size=10;ma.prototype.inset=2;ma.prototype.paintBackground=function(c,l,t,m,r){var v=parseFloat(mxUtils.getValue(this.style,
+"size",this.size)),x=parseFloat(mxUtils.getValue(this.style,"inset",this.inset))+this.strokewidth;c.translate(l,t);c.begin();c.moveTo(m/2,v+x);c.lineTo(m/2,r);c.end();c.stroke();c.begin();c.moveTo((m-v)/2-x,v/2);c.quadTo((m-v)/2-x,v+x,m/2,v+x);c.quadTo((m+v)/2+x,v+x,(m+v)/2+x,v/2);c.end();c.stroke()};mxCellRenderer.registerShape("requires",ma);mxUtils.extend(Fa,mxShape);Fa.prototype.paintBackground=function(c,l,t,m,r){c.translate(l,t);c.begin();c.moveTo(0,0);c.quadTo(m,0,m,r/2);c.quadTo(m,r,0,r);
+c.end();c.stroke()};mxCellRenderer.registerShape("requiredInterface",Fa);mxUtils.extend(Ha,mxShape);Ha.prototype.inset=2;Ha.prototype.paintBackground=function(c,l,t,m,r){var v=parseFloat(mxUtils.getValue(this.style,"inset",this.inset))+this.strokewidth;c.translate(l,t);c.ellipse(0,v,m-2*v,r-2*v);c.fillAndStroke();c.begin();c.moveTo(m/2,0);c.quadTo(m,0,m,r/2);c.quadTo(m,r,m/2,r);c.end();c.stroke()};mxCellRenderer.registerShape("providedRequiredInterface",Ha);mxUtils.extend(Na,mxCylinder);Na.prototype.jettyWidth=
+20;Na.prototype.jettyHeight=10;Na.prototype.redrawPath=function(c,l,t,m,r,v){var x=parseFloat(mxUtils.getValue(this.style,"jettyWidth",this.jettyWidth));l=parseFloat(mxUtils.getValue(this.style,"jettyHeight",this.jettyHeight));t=x/2;x=t+x/2;var J=Math.min(l,r-l),y=Math.min(J+2*l,r-l);v?(c.moveTo(t,J),c.lineTo(x,J),c.lineTo(x,J+l),c.lineTo(t,J+l),c.moveTo(t,y),c.lineTo(x,y),c.lineTo(x,y+l),c.lineTo(t,y+l)):(c.moveTo(t,0),c.lineTo(m,0),c.lineTo(m,r),c.lineTo(t,r),c.lineTo(t,y+l),c.lineTo(0,y+l),c.lineTo(0,
+y),c.lineTo(t,y),c.lineTo(t,J+l),c.lineTo(0,J+l),c.lineTo(0,J),c.lineTo(t,J),c.close());c.end()};mxCellRenderer.registerShape("module",Na);mxUtils.extend(Qa,mxCylinder);Qa.prototype.jettyWidth=32;Qa.prototype.jettyHeight=12;Qa.prototype.redrawPath=function(c,l,t,m,r,v){var x=parseFloat(mxUtils.getValue(this.style,"jettyWidth",this.jettyWidth));l=parseFloat(mxUtils.getValue(this.style,"jettyHeight",this.jettyHeight));t=x/2;x=t+x/2;var J=.3*r-l/2,y=.7*r-l/2;v?(c.moveTo(t,J),c.lineTo(x,J),c.lineTo(x,
+J+l),c.lineTo(t,J+l),c.moveTo(t,y),c.lineTo(x,y),c.lineTo(x,y+l),c.lineTo(t,y+l)):(c.moveTo(t,0),c.lineTo(m,0),c.lineTo(m,r),c.lineTo(t,r),c.lineTo(t,y+l),c.lineTo(0,y+l),c.lineTo(0,y),c.lineTo(t,y),c.lineTo(t,J+l),c.lineTo(0,J+l),c.lineTo(0,J),c.lineTo(t,J),c.close());c.end()};mxCellRenderer.registerShape("component",Qa);mxUtils.extend(La,mxRectangleShape);La.prototype.paintForeground=function(c,l,t,m,r){var v=m/2,x=r/2,J=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/
+2;c.begin();this.addPoints(c,[new mxPoint(l+v,t),new mxPoint(l+m,t+x),new mxPoint(l+v,t+r),new mxPoint(l,t+x)],this.isRounded,J,!0);c.stroke();mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxCellRenderer.registerShape("associativeEntity",La);mxUtils.extend(Ja,mxDoubleEllipse);Ja.prototype.outerStroke=!0;Ja.prototype.paintVertexShape=function(c,l,t,m,r){var v=Math.min(4,Math.min(m/5,r/5));0<m&&0<r&&(c.ellipse(l+v,t+v,m-2*v,r-2*v),c.fillAndStroke());c.setShadow(!1);this.outerStroke&&
+(c.ellipse(l,t,m,r),c.stroke())};mxCellRenderer.registerShape("endState",Ja);mxUtils.extend(ua,Ja);ua.prototype.outerStroke=!1;mxCellRenderer.registerShape("startState",ua);mxUtils.extend(Ia,mxArrowConnector);Ia.prototype.defaultWidth=4;Ia.prototype.isOpenEnded=function(){return!0};Ia.prototype.getEdgeWidth=function(){return mxUtils.getNumber(this.style,"width",this.defaultWidth)+Math.max(0,this.strokewidth-1)};Ia.prototype.isArrowRounded=function(){return this.isRounded};mxCellRenderer.registerShape("link",
+Ia);mxUtils.extend(Za,mxArrowConnector);Za.prototype.defaultWidth=10;Za.prototype.defaultArrowWidth=20;Za.prototype.getStartArrowWidth=function(){return this.getEdgeWidth()+mxUtils.getNumber(this.style,"startWidth",this.defaultArrowWidth)};Za.prototype.getEndArrowWidth=function(){return this.getEdgeWidth()+mxUtils.getNumber(this.style,"endWidth",this.defaultArrowWidth)};Za.prototype.getEdgeWidth=function(){return mxUtils.getNumber(this.style,"width",this.defaultWidth)+Math.max(0,this.strokewidth-
+1)};mxCellRenderer.registerShape("flexArrow",Za);mxUtils.extend(gb,mxActor);gb.prototype.size=30;gb.prototype.isRoundable=function(){return!0};gb.prototype.redrawPath=function(c,l,t,m,r){l=Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size)));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,r),new mxPoint(0,l),new mxPoint(m,0),new mxPoint(m,r)],this.isRounded,t,!0);c.end()};mxCellRenderer.registerShape("manualInput",
+gb);mxUtils.extend(db,mxRectangleShape);db.prototype.dx=20;db.prototype.dy=20;db.prototype.isHtmlAllowed=function(){return!1};db.prototype.paintForeground=function(c,l,t,m,r){mxRectangleShape.prototype.paintForeground.apply(this,arguments);var v=0;if(this.isRounded){var x=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100;v=Math.max(v,Math.min(m*x,r*x))}x=Math.max(v,Math.min(m,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));v=Math.max(v,Math.min(r,
+parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));c.begin();c.moveTo(l,t+v);c.lineTo(l+m,t+v);c.end();c.stroke();c.begin();c.moveTo(l+x,t);c.lineTo(l+x,t+r);c.end();c.stroke()};mxCellRenderer.registerShape("internalStorage",db);mxUtils.extend(hb,mxActor);hb.prototype.dx=20;hb.prototype.dy=20;hb.prototype.redrawPath=function(c,l,t,m,r){l=Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));t=Math.max(0,Math.min(r,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));
+parseFloat(mxUtils.getValue(this.style,"size",this.size));var v=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,0),new mxPoint(m,0),new mxPoint(m,t),new mxPoint(l,t),new mxPoint(l,r),new mxPoint(0,r)],this.isRounded,v,!0);c.end()};mxCellRenderer.registerShape("corner",hb);mxUtils.extend(ob,mxActor);ob.prototype.redrawPath=function(c,l,t,m,r){c.moveTo(0,0);c.lineTo(0,r);c.end();c.moveTo(m,0);c.lineTo(m,r);c.end();c.moveTo(0,r/2);c.lineTo(m,
+r/2);c.end()};mxCellRenderer.registerShape("crossbar",ob);mxUtils.extend(cb,mxActor);cb.prototype.dx=20;cb.prototype.dy=20;cb.prototype.redrawPath=function(c,l,t,m,r){l=Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));t=Math.max(0,Math.min(r,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));parseFloat(mxUtils.getValue(this.style,"size",this.size));var v=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,
+0),new mxPoint(m,0),new mxPoint(m,t),new mxPoint((m+l)/2,t),new mxPoint((m+l)/2,r),new mxPoint((m-l)/2,r),new mxPoint((m-l)/2,t),new mxPoint(0,t)],this.isRounded,v,!0);c.end()};mxCellRenderer.registerShape("tee",cb);mxUtils.extend(ab,mxActor);ab.prototype.arrowWidth=.3;ab.prototype.arrowSize=.2;ab.prototype.redrawPath=function(c,l,t,m,r){var v=r*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",this.arrowWidth))));l=m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,
+"arrowSize",this.arrowSize))));t=(r-v)/2;v=t+v;var x=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,t),new mxPoint(m-l,t),new mxPoint(m-l,0),new mxPoint(m,r/2),new mxPoint(m-l,r),new mxPoint(m-l,v),new mxPoint(0,v)],this.isRounded,x,!0);c.end()};mxCellRenderer.registerShape("singleArrow",ab);mxUtils.extend(da,mxActor);da.prototype.redrawPath=function(c,l,t,m,r){var v=r*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",
+ab.prototype.arrowWidth))));l=m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",ab.prototype.arrowSize))));t=(r-v)/2;v=t+v;var x=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,r/2),new mxPoint(l,0),new mxPoint(l,t),new mxPoint(m-l,t),new mxPoint(m-l,0),new mxPoint(m,r/2),new mxPoint(m-l,r),new mxPoint(m-l,v),new mxPoint(l,v),new mxPoint(l,r)],this.isRounded,x,!0);c.end()};mxCellRenderer.registerShape("doubleArrow",
+da);mxUtils.extend(wa,mxActor);wa.prototype.size=.1;wa.prototype.fixedSize=20;wa.prototype.redrawPath=function(c,l,t,m,r){l="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize)))):m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c.moveTo(l,0);c.lineTo(m,0);c.quadTo(m-2*l,r/2,m,r);c.lineTo(l,r);c.quadTo(l-2*l,r/2,l,0);c.close();c.end()};mxCellRenderer.registerShape("dataStorage",wa);
+mxUtils.extend(u,mxActor);u.prototype.redrawPath=function(c,l,t,m,r){c.moveTo(0,0);c.quadTo(m,0,m,r/2);c.quadTo(m,r,0,r);c.close();c.end()};mxCellRenderer.registerShape("or",u);mxUtils.extend(A,mxActor);A.prototype.redrawPath=function(c,l,t,m,r){c.moveTo(0,0);c.quadTo(m,0,m,r/2);c.quadTo(m,r,0,r);c.quadTo(m/2,r/2,0,0);c.close();c.end()};mxCellRenderer.registerShape("xor",A);mxUtils.extend(B,mxActor);B.prototype.size=20;B.prototype.isRoundable=function(){return!0};B.prototype.redrawPath=function(c,
+l,t,m,r){l=Math.min(m/2,Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(l,0),new mxPoint(m-l,0),new mxPoint(m,.8*l),new mxPoint(m,r),new mxPoint(0,r),new mxPoint(0,.8*l)],this.isRounded,t,!0);c.end()};mxCellRenderer.registerShape("loopLimit",B);mxUtils.extend(E,mxActor);E.prototype.size=.375;E.prototype.isRoundable=function(){return!0};E.prototype.redrawPath=function(c,
+l,t,m,r){l=r*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,0),new mxPoint(m,0),new mxPoint(m,r-l),new mxPoint(m/2,r),new mxPoint(0,r-l)],this.isRounded,t,!0);c.end()};mxCellRenderer.registerShape("offPageConnector",E);mxUtils.extend(N,mxEllipse);N.prototype.paintVertexShape=function(c,l,t,m,r){mxEllipse.prototype.paintVertexShape.apply(this,arguments);
+c.begin();c.moveTo(l+m/2,t+r);c.lineTo(l+m,t+r);c.end();c.stroke()};mxCellRenderer.registerShape("tapeData",N);mxUtils.extend(Q,mxEllipse);Q.prototype.paintVertexShape=function(c,l,t,m,r){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.setShadow(!1);c.begin();c.moveTo(l,t+r/2);c.lineTo(l+m,t+r/2);c.end();c.stroke();c.begin();c.moveTo(l+m/2,t);c.lineTo(l+m/2,t+r);c.end();c.stroke()};mxCellRenderer.registerShape("orEllipse",Q);mxUtils.extend(W,mxEllipse);W.prototype.paintVertexShape=function(c,
+l,t,m,r){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.setShadow(!1);c.begin();c.moveTo(l+.145*m,t+.145*r);c.lineTo(l+.855*m,t+.855*r);c.end();c.stroke();c.begin();c.moveTo(l+.855*m,t+.145*r);c.lineTo(l+.145*m,t+.855*r);c.end();c.stroke()};mxCellRenderer.registerShape("sumEllipse",W);mxUtils.extend(ha,mxRhombus);ha.prototype.paintVertexShape=function(c,l,t,m,r){mxRhombus.prototype.paintVertexShape.apply(this,arguments);c.setShadow(!1);c.begin();c.moveTo(l,t+r/2);c.lineTo(l+m,t+r/2);
+c.end();c.stroke()};mxCellRenderer.registerShape("sortShape",ha);mxUtils.extend(fa,mxEllipse);fa.prototype.paintVertexShape=function(c,l,t,m,r){c.begin();c.moveTo(l,t);c.lineTo(l+m,t);c.lineTo(l+m/2,t+r/2);c.close();c.fillAndStroke();c.begin();c.moveTo(l,t+r);c.lineTo(l+m,t+r);c.lineTo(l+m/2,t+r/2);c.close();c.fillAndStroke()};mxCellRenderer.registerShape("collate",fa);mxUtils.extend(ia,mxEllipse);ia.prototype.paintVertexShape=function(c,l,t,m,r){var v=c.state.strokeWidth/2,x=10+2*v,J=t+r-x/2;c.begin();
+c.moveTo(l,t);c.lineTo(l,t+r);c.moveTo(l+v,J);c.lineTo(l+v+x,J-x/2);c.moveTo(l+v,J);c.lineTo(l+v+x,J+x/2);c.moveTo(l+v,J);c.lineTo(l+m-v,J);c.moveTo(l+m,t);c.lineTo(l+m,t+r);c.moveTo(l+m-v,J);c.lineTo(l+m-x-v,J-x/2);c.moveTo(l+m-v,J);c.lineTo(l+m-x-v,J+x/2);c.end();c.stroke()};mxCellRenderer.registerShape("dimension",ia);mxUtils.extend(ya,mxEllipse);ya.prototype.drawHidden=!0;ya.prototype.paintVertexShape=function(c,l,t,m,r){this.outline||c.setStrokeColor(null);if(null!=this.style){var v=c.pointerEvents,
+x=null!=this.fill&&this.fill!=mxConstants.NONE;"1"==mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1")||x||(c.pointerEvents=!1);var J="1"==mxUtils.getValue(this.style,"top","1"),y="1"==mxUtils.getValue(this.style,"left","1"),aa="1"==mxUtils.getValue(this.style,"right","1"),R="1"==mxUtils.getValue(this.style,"bottom","1");this.drawHidden||x||this.outline||J||aa||R||y?(c.rect(l,t,m,r),c.fill(),c.pointerEvents=v,c.setStrokeColor(this.stroke),c.setLineCap("square"),c.begin(),c.moveTo(l,
+t),this.outline||J?c.lineTo(l+m,t):c.moveTo(l+m,t),this.outline||aa?c.lineTo(l+m,t+r):c.moveTo(l+m,t+r),this.outline||R?c.lineTo(l,t+r):c.moveTo(l,t+r),(this.outline||y)&&c.lineTo(l,t),c.end(),c.stroke(),c.setLineCap("flat")):c.setStrokeColor(this.stroke)}};mxCellRenderer.registerShape("partialRectangle",ya);mxUtils.extend(xa,mxEllipse);xa.prototype.paintVertexShape=function(c,l,t,m,r){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.setShadow(!1);c.begin();"vertical"==mxUtils.getValue(this.style,
+"line")?(c.moveTo(l+m/2,t),c.lineTo(l+m/2,t+r)):(c.moveTo(l,t+r/2),c.lineTo(l+m,t+r/2));c.end();c.stroke()};mxCellRenderer.registerShape("lineEllipse",xa);mxUtils.extend(Da,mxActor);Da.prototype.redrawPath=function(c,l,t,m,r){l=Math.min(m,r/2);c.moveTo(0,0);c.lineTo(m-l,0);c.quadTo(m,0,m,r/2);c.quadTo(m,r,m-l,r);c.lineTo(0,r);c.close();c.end()};mxCellRenderer.registerShape("delay",Da);mxUtils.extend(Oa,mxActor);Oa.prototype.size=.2;Oa.prototype.redrawPath=function(c,l,t,m,r){l=Math.min(r,m);var v=
+Math.max(0,Math.min(l,l*parseFloat(mxUtils.getValue(this.style,"size",this.size))));l=(r-v)/2;t=l+v;var x=(m-v)/2;v=x+v;c.moveTo(0,l);c.lineTo(x,l);c.lineTo(x,0);c.lineTo(v,0);c.lineTo(v,l);c.lineTo(m,l);c.lineTo(m,t);c.lineTo(v,t);c.lineTo(v,r);c.lineTo(x,r);c.lineTo(x,t);c.lineTo(0,t);c.close();c.end()};mxCellRenderer.registerShape("cross",Oa);mxUtils.extend(Ma,mxActor);Ma.prototype.size=.25;Ma.prototype.redrawPath=function(c,l,t,m,r){l=Math.min(m,r/2);t=Math.min(m-l,Math.max(0,parseFloat(mxUtils.getValue(this.style,
+"size",this.size)))*m);c.moveTo(0,r/2);c.lineTo(t,0);c.lineTo(m-l,0);c.quadTo(m,0,m,r/2);c.quadTo(m,r,m-l,r);c.lineTo(t,r);c.close();c.end()};mxCellRenderer.registerShape("display",Ma);mxUtils.extend(Aa,mxActor);Aa.prototype.cst={RECT2:"mxgraph.basic.rect"};Aa.prototype.customProperties=[{name:"rectStyle",dispName:"Style",type:"enum",defVal:"square",enumList:[{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",
dispName:"Fold"}]},{name:"size",dispName:"Corner Size",type:"float",defVal:10},{name:"absoluteCornerSize",dispName:"Abs. Corner Size",type:"bool",defVal:!0},{name:"indent",dispName:"Indent",type:"float",defVal:2},{name:"rectOutline",dispName:"Outline",type:"enum",defVal:"single",enumList:[{val:"single",dispName:"Single"},{val:"double",dispName:"Double"},{val:"frame",dispName:"Frame"}]},{name:"fillColor2",dispName:"Inside Fill Color",type:"color",defVal:"none"},{name:"gradientColor2",dispName:"Inside Gradient Color",
type:"color",defVal:"none"},{name:"gradientDirection2",dispName:"Inside Gradient Direction",type:"enum",defVal:"south",enumList:[{val:"south",dispName:"South"},{val:"west",dispName:"West"},{val:"north",dispName:"North"},{val:"east",dispName:"East"}]},{name:"top",dispName:"Top Line",type:"bool",defVal:!0},{name:"right",dispName:"Right",type:"bool",defVal:!0},{name:"bottom",dispName:"Bottom Line",type:"bool",defVal:!0},{name:"left",dispName:"Left ",type:"bool",defVal:!0},{name:"topLeftStyle",dispName:"Top Left Style",
type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]},{name:"topRightStyle",dispName:"Top Right Style",type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",
dispName:"Fold"}]},{name:"bottomRightStyle",dispName:"Bottom Right Style",type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]},{name:"bottomLeftStyle",dispName:"Bottom Left Style",type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},
-{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]}];wa.prototype.paintVertexShape=function(c,k,t,m,r){c.translate(k,t);this.strictDrawShape(c,0,0,m,r)};wa.prototype.strictDrawShape=function(c,k,t,m,r,v){var x=v&&v.rectStyle?v.rectStyle:mxUtils.getValue(this.style,"rectStyle",this.rectStyle),J=v&&v.absoluteCornerSize?v.absoluteCornerSize:mxUtils.getValue(this.style,"absoluteCornerSize",this.absoluteCornerSize),y=v&&v.size?v.size:Math.max(0,Math.min(m,
-parseFloat(mxUtils.getValue(this.style,"size",this.size)))),aa=v&&v.rectOutline?v.rectOutline:mxUtils.getValue(this.style,"rectOutline",this.rectOutline),R=v&&v.indent?v.indent:Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,"indent",this.indent)))),Ha=v&&v.dashed?v.dashed:mxUtils.getValue(this.style,"dashed",!1),Wa=v&&v.dashPattern?v.dashPattern:mxUtils.getValue(this.style,"dashPattern",null),Qa=v&&v.relIndent?v.relIndent:Math.max(0,Math.min(50,R)),ka=v&&v.top?v.top:mxUtils.getValue(this.style,
-"top",!0),qa=v&&v.right?v.right:mxUtils.getValue(this.style,"right",!0),na=v&&v.bottom?v.bottom:mxUtils.getValue(this.style,"bottom",!0),la=v&&v.left?v.left:mxUtils.getValue(this.style,"left",!0),Aa=v&&v.topLeftStyle?v.topLeftStyle:mxUtils.getValue(this.style,"topLeftStyle","default"),Ca=v&&v.topRightStyle?v.topRightStyle:mxUtils.getValue(this.style,"topRightStyle","default"),Da=v&&v.bottomRightStyle?v.bottomRightStyle:mxUtils.getValue(this.style,"bottomRightStyle","default"),Ea=v&&v.bottomLeftStyle?
+{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]}];Aa.prototype.paintVertexShape=function(c,l,t,m,r){c.translate(l,t);this.strictDrawShape(c,0,0,m,r)};Aa.prototype.strictDrawShape=function(c,l,t,m,r,v){var x=v&&v.rectStyle?v.rectStyle:mxUtils.getValue(this.style,"rectStyle",this.rectStyle),J=v&&v.absoluteCornerSize?v.absoluteCornerSize:mxUtils.getValue(this.style,"absoluteCornerSize",this.absoluteCornerSize),y=v&&v.size?v.size:Math.max(0,Math.min(m,
+parseFloat(mxUtils.getValue(this.style,"size",this.size)))),aa=v&&v.rectOutline?v.rectOutline:mxUtils.getValue(this.style,"rectOutline",this.rectOutline),R=v&&v.indent?v.indent:Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,"indent",this.indent)))),Ga=v&&v.dashed?v.dashed:mxUtils.getValue(this.style,"dashed",!1),Va=v&&v.dashPattern?v.dashPattern:mxUtils.getValue(this.style,"dashPattern",null),Pa=v&&v.relIndent?v.relIndent:Math.max(0,Math.min(50,R)),ka=v&&v.top?v.top:mxUtils.getValue(this.style,
+"top",!0),qa=v&&v.right?v.right:mxUtils.getValue(this.style,"right",!0),oa=v&&v.bottom?v.bottom:mxUtils.getValue(this.style,"bottom",!0),la=v&&v.left?v.left:mxUtils.getValue(this.style,"left",!0),za=v&&v.topLeftStyle?v.topLeftStyle:mxUtils.getValue(this.style,"topLeftStyle","default"),Ba=v&&v.topRightStyle?v.topRightStyle:mxUtils.getValue(this.style,"topRightStyle","default"),Ca=v&&v.bottomRightStyle?v.bottomRightStyle:mxUtils.getValue(this.style,"bottomRightStyle","default"),Ea=v&&v.bottomLeftStyle?
v.bottomLeftStyle:mxUtils.getValue(this.style,"bottomLeftStyle","default"),Bb=v&&v.fillColor?v.fillColor:mxUtils.getValue(this.style,"fillColor","#ffffff");v&&v.strokeColor||mxUtils.getValue(this.style,"strokeColor","#000000");var Cb=v&&v.strokeWidth?v.strokeWidth:mxUtils.getValue(this.style,"strokeWidth","1"),yb=v&&v.fillColor2?v.fillColor2:mxUtils.getValue(this.style,"fillColor2","none"),Ab=v&&v.gradientColor2?v.gradientColor2:mxUtils.getValue(this.style,"gradientColor2","none"),Db=v&&v.gradientDirection2?
-v.gradientDirection2:mxUtils.getValue(this.style,"gradientDirection2","south"),Eb=v&&v.opacity?v.opacity:mxUtils.getValue(this.style,"opacity","100"),Fb=Math.max(0,Math.min(50,y));v=wa.prototype;c.setDashed(Ha);Wa&&""!=Wa&&c.setDashPattern(Wa);c.setStrokeWidth(Cb);y=Math.min(.5*r,.5*m,y);J||(y=Fb*Math.min(m,r)/100);y=Math.min(y,.5*Math.min(m,r));J||(R=Math.min(Qa*Math.min(m,r)/100));R=Math.min(R,.5*Math.min(m,r)-y);(ka||qa||na||la)&&"frame"!=aa&&(c.begin(),ka?v.moveNW(c,k,t,m,r,x,Aa,y,la):c.moveTo(0,
-0),ka&&v.paintNW(c,k,t,m,r,x,Aa,y,la),v.paintTop(c,k,t,m,r,x,Ca,y,qa),qa&&v.paintNE(c,k,t,m,r,x,Ca,y,ka),v.paintRight(c,k,t,m,r,x,Da,y,na),na&&v.paintSE(c,k,t,m,r,x,Da,y,qa),v.paintBottom(c,k,t,m,r,x,Ea,y,la),la&&v.paintSW(c,k,t,m,r,x,Ea,y,na),v.paintLeft(c,k,t,m,r,x,Aa,y,ka),c.close(),c.fill(),c.setShadow(!1),c.setFillColor(yb),Ha=J=Eb,"none"==yb&&(J=0),"none"==Ab&&(Ha=0),c.setGradient(yb,Ab,0,0,m,r,Db,J,Ha),c.begin(),ka?v.moveNWInner(c,k,t,m,r,x,Aa,y,R,ka,la):c.moveTo(R,0),v.paintLeftInner(c,k,
-t,m,r,x,Ea,y,R,na,la),la&&na&&v.paintSWInner(c,k,t,m,r,x,Ea,y,R,na),v.paintBottomInner(c,k,t,m,r,x,Da,y,R,qa,na),na&&qa&&v.paintSEInner(c,k,t,m,r,x,Da,y,R),v.paintRightInner(c,k,t,m,r,x,Ca,y,R,ka,qa),qa&&ka&&v.paintNEInner(c,k,t,m,r,x,Ca,y,R),v.paintTopInner(c,k,t,m,r,x,Aa,y,R,la,ka),ka&&la&&v.paintNWInner(c,k,t,m,r,x,Aa,y,R),c.fill(),"none"==Bb&&(c.begin(),v.paintFolds(c,k,t,m,r,x,Aa,Ca,Da,Ea,y,ka,qa,na,la),c.stroke()));ka||qa||na||!la?ka||qa||!na||la?!ka&&!qa&&na&&la?"frame"!=aa?(c.begin(),v.moveSE(c,
-k,t,m,r,x,Da,y,qa),v.paintBottom(c,k,t,m,r,x,Ea,y,la),v.paintSW(c,k,t,m,r,x,Ea,y,na),v.paintLeft(c,k,t,m,r,x,Aa,y,ka),"double"==aa&&(v.moveNWInner(c,k,t,m,r,x,Aa,y,R,ka,la),v.paintLeftInner(c,k,t,m,r,x,Ea,y,R,na,la),v.paintSWInner(c,k,t,m,r,x,Ea,y,R,na),v.paintBottomInner(c,k,t,m,r,x,Da,y,R,qa,na)),c.stroke()):(c.begin(),v.moveSE(c,k,t,m,r,x,Da,y,qa),v.paintBottom(c,k,t,m,r,x,Ea,y,la),v.paintSW(c,k,t,m,r,x,Ea,y,na),v.paintLeft(c,k,t,m,r,x,Aa,y,ka),v.lineNWInner(c,k,t,m,r,x,Aa,y,R,ka,la),v.paintLeftInner(c,
-k,t,m,r,x,Ea,y,R,na,la),v.paintSWInner(c,k,t,m,r,x,Ea,y,R,na),v.paintBottomInner(c,k,t,m,r,x,Da,y,R,qa,na),c.close(),c.fillAndStroke()):ka||!qa||na||la?!ka&&qa&&!na&&la?"frame"!=aa?(c.begin(),v.moveSW(c,k,t,m,r,x,Aa,y,na),v.paintLeft(c,k,t,m,r,x,Aa,y,ka),"double"==aa&&(v.moveNWInner(c,k,t,m,r,x,Aa,y,R,ka,la),v.paintLeftInner(c,k,t,m,r,x,Ea,y,R,na,la)),c.stroke(),c.begin(),v.moveNE(c,k,t,m,r,x,Ca,y,ka),v.paintRight(c,k,t,m,r,x,Da,y,na),"double"==aa&&(v.moveSEInner(c,k,t,m,r,x,Da,y,R,na),v.paintRightInner(c,
-k,t,m,r,x,Ca,y,R,ka,qa)),c.stroke()):(c.begin(),v.moveSW(c,k,t,m,r,x,Aa,y,na),v.paintLeft(c,k,t,m,r,x,Aa,y,ka),v.lineNWInner(c,k,t,m,r,x,Aa,y,R,ka,la),v.paintLeftInner(c,k,t,m,r,x,Ea,y,R,na,la),c.close(),c.fillAndStroke(),c.begin(),v.moveNE(c,k,t,m,r,x,Ca,y,ka),v.paintRight(c,k,t,m,r,x,Da,y,na),v.lineSEInner(c,k,t,m,r,x,Da,y,R,na),v.paintRightInner(c,k,t,m,r,x,Ca,y,R,ka,qa),c.close(),c.fillAndStroke()):!ka&&qa&&na&&!la?"frame"!=aa?(c.begin(),v.moveNE(c,k,t,m,r,x,Ca,y,ka),v.paintRight(c,k,t,m,r,x,
-Da,y,na),v.paintSE(c,k,t,m,r,x,Da,y,qa),v.paintBottom(c,k,t,m,r,x,Ea,y,la),"double"==aa&&(v.moveSWInner(c,k,t,m,r,x,Ea,y,R,la),v.paintBottomInner(c,k,t,m,r,x,Da,y,R,qa,na),v.paintSEInner(c,k,t,m,r,x,Da,y,R),v.paintRightInner(c,k,t,m,r,x,Ca,y,R,ka,qa)),c.stroke()):(c.begin(),v.moveNE(c,k,t,m,r,x,Ca,y,ka),v.paintRight(c,k,t,m,r,x,Da,y,na),v.paintSE(c,k,t,m,r,x,Da,y,qa),v.paintBottom(c,k,t,m,r,x,Ea,y,la),v.lineSWInner(c,k,t,m,r,x,Ea,y,R,la),v.paintBottomInner(c,k,t,m,r,x,Da,y,R,qa,na),v.paintSEInner(c,
-k,t,m,r,x,Da,y,R),v.paintRightInner(c,k,t,m,r,x,Ca,y,R,ka,qa),c.close(),c.fillAndStroke()):!ka&&qa&&na&&la?"frame"!=aa?(c.begin(),v.moveNE(c,k,t,m,r,x,Ca,y,ka),v.paintRight(c,k,t,m,r,x,Da,y,na),v.paintSE(c,k,t,m,r,x,Da,y,qa),v.paintBottom(c,k,t,m,r,x,Ea,y,la),v.paintSW(c,k,t,m,r,x,Ea,y,na),v.paintLeft(c,k,t,m,r,x,Aa,y,ka),"double"==aa&&(v.moveNWInner(c,k,t,m,r,x,Aa,y,R,ka,la),v.paintLeftInner(c,k,t,m,r,x,Ea,y,R,na,la),v.paintSWInner(c,k,t,m,r,x,Ea,y,R,na),v.paintBottomInner(c,k,t,m,r,x,Da,y,R,qa,
-na),v.paintSEInner(c,k,t,m,r,x,Da,y,R),v.paintRightInner(c,k,t,m,r,x,Ca,y,R,ka,qa)),c.stroke()):(c.begin(),v.moveNE(c,k,t,m,r,x,Ca,y,ka),v.paintRight(c,k,t,m,r,x,Da,y,na),v.paintSE(c,k,t,m,r,x,Da,y,qa),v.paintBottom(c,k,t,m,r,x,Ea,y,la),v.paintSW(c,k,t,m,r,x,Ea,y,na),v.paintLeft(c,k,t,m,r,x,Aa,y,ka),v.lineNWInner(c,k,t,m,r,x,Aa,y,R,ka,la),v.paintLeftInner(c,k,t,m,r,x,Ea,y,R,na,la),v.paintSWInner(c,k,t,m,r,x,Ea,y,R,na),v.paintBottomInner(c,k,t,m,r,x,Da,y,R,qa,na),v.paintSEInner(c,k,t,m,r,x,Da,y,R),
-v.paintRightInner(c,k,t,m,r,x,Ca,y,R,ka,qa),c.close(),c.fillAndStroke()):!ka||qa||na||la?ka&&!qa&&!na&&la?"frame"!=aa?(c.begin(),v.moveSW(c,k,t,m,r,x,Ea,y,na),v.paintLeft(c,k,t,m,r,x,Aa,y,ka),v.paintNW(c,k,t,m,r,x,Aa,y,la),v.paintTop(c,k,t,m,r,x,Ca,y,qa),"double"==aa&&(v.moveNEInner(c,k,t,m,r,x,Ca,y,R,qa),v.paintTopInner(c,k,t,m,r,x,Aa,y,R,la,ka),v.paintNWInner(c,k,t,m,r,x,Aa,y,R),v.paintLeftInner(c,k,t,m,r,x,Ea,y,R,na,la)),c.stroke()):(c.begin(),v.moveSW(c,k,t,m,r,x,Ea,y,na),v.paintLeft(c,k,t,m,
-r,x,Aa,y,ka),v.paintNW(c,k,t,m,r,x,Aa,y,la),v.paintTop(c,k,t,m,r,x,Ca,y,qa),v.lineNEInner(c,k,t,m,r,x,Ca,y,R,qa),v.paintTopInner(c,k,t,m,r,x,Aa,y,R,la,ka),v.paintNWInner(c,k,t,m,r,x,Aa,y,R),v.paintLeftInner(c,k,t,m,r,x,Ea,y,R,na,la),c.close(),c.fillAndStroke()):ka&&!qa&&na&&!la?"frame"!=aa?(c.begin(),v.moveNW(c,k,t,m,r,x,Aa,y,la),v.paintTop(c,k,t,m,r,x,Ca,y,qa),"double"==aa&&(v.moveNEInner(c,k,t,m,r,x,Ca,y,R,qa),v.paintTopInner(c,k,t,m,r,x,Aa,y,R,la,ka)),c.stroke(),c.begin(),v.moveSE(c,k,t,m,r,x,
-Da,y,qa),v.paintBottom(c,k,t,m,r,x,Ea,y,la),"double"==aa&&(v.moveSWInner(c,k,t,m,r,x,Ea,y,R,la),v.paintBottomInner(c,k,t,m,r,x,Da,y,R,qa,na)),c.stroke()):(c.begin(),v.moveNW(c,k,t,m,r,x,Aa,y,la),v.paintTop(c,k,t,m,r,x,Ca,y,qa),v.lineNEInner(c,k,t,m,r,x,Ca,y,R,qa),v.paintTopInner(c,k,t,m,r,x,Aa,y,R,la,ka),c.close(),c.fillAndStroke(),c.begin(),v.moveSE(c,k,t,m,r,x,Da,y,qa),v.paintBottom(c,k,t,m,r,x,Ea,y,la),v.lineSWInner(c,k,t,m,r,x,Ea,y,R,la),v.paintBottomInner(c,k,t,m,r,x,Da,y,R,qa,na),c.close(),
-c.fillAndStroke()):ka&&!qa&&na&&la?"frame"!=aa?(c.begin(),v.moveSE(c,k,t,m,r,x,Da,y,qa),v.paintBottom(c,k,t,m,r,x,Ea,y,la),v.paintSW(c,k,t,m,r,x,Ea,y,na),v.paintLeft(c,k,t,m,r,x,Aa,y,ka),v.paintNW(c,k,t,m,r,x,Aa,y,la),v.paintTop(c,k,t,m,r,x,Ca,y,qa),"double"==aa&&(v.moveNEInner(c,k,t,m,r,x,Ca,y,R,qa),v.paintTopInner(c,k,t,m,r,x,Aa,y,R,la,ka),v.paintNWInner(c,k,t,m,r,x,Aa,y,R),v.paintLeftInner(c,k,t,m,r,x,Ea,y,R,na,la),v.paintSWInner(c,k,t,m,r,x,Ea,y,R,na),v.paintBottomInner(c,k,t,m,r,x,Da,y,R,qa,
-na)),c.stroke()):(c.begin(),v.moveSE(c,k,t,m,r,x,Da,y,qa),v.paintBottom(c,k,t,m,r,x,Ea,y,la),v.paintSW(c,k,t,m,r,x,Ea,y,na),v.paintLeft(c,k,t,m,r,x,Aa,y,ka),v.paintNW(c,k,t,m,r,x,Aa,y,la),v.paintTop(c,k,t,m,r,x,Ca,y,qa),v.lineNEInner(c,k,t,m,r,x,Ca,y,R,qa),v.paintTopInner(c,k,t,m,r,x,Aa,y,R,la,ka),v.paintNWInner(c,k,t,m,r,x,Aa,y,R),v.paintLeftInner(c,k,t,m,r,x,Ea,y,R,na,la),v.paintSWInner(c,k,t,m,r,x,Ea,y,R,na),v.paintBottomInner(c,k,t,m,r,x,Da,y,R,qa,na),c.close(),c.fillAndStroke()):ka&&qa&&!na&&
-!la?"frame"!=aa?(c.begin(),v.moveNW(c,k,t,m,r,x,Aa,y,la),v.paintTop(c,k,t,m,r,x,Ca,y,qa),v.paintNE(c,k,t,m,r,x,Ca,y,ka),v.paintRight(c,k,t,m,r,x,Da,y,na),"double"==aa&&(v.moveSEInner(c,k,t,m,r,x,Da,y,R,na),v.paintRightInner(c,k,t,m,r,x,Ca,y,R,ka,qa),v.paintNEInner(c,k,t,m,r,x,Ca,y,R),v.paintTopInner(c,k,t,m,r,x,Aa,y,R,la,ka)),c.stroke()):(c.begin(),v.moveNW(c,k,t,m,r,x,Aa,y,la),v.paintTop(c,k,t,m,r,x,Ca,y,qa),v.paintNE(c,k,t,m,r,x,Ca,y,ka),v.paintRight(c,k,t,m,r,x,Da,y,na),v.lineSEInner(c,k,t,m,r,
-x,Da,y,R,na),v.paintRightInner(c,k,t,m,r,x,Ca,y,R,ka,qa),v.paintNEInner(c,k,t,m,r,x,Ca,y,R),v.paintTopInner(c,k,t,m,r,x,Aa,y,R,la,ka),c.close(),c.fillAndStroke()):ka&&qa&&!na&&la?"frame"!=aa?(c.begin(),v.moveSW(c,k,t,m,r,x,Ea,y,na),v.paintLeft(c,k,t,m,r,x,Aa,y,ka),v.paintNW(c,k,t,m,r,x,Aa,y,la),v.paintTop(c,k,t,m,r,x,Ca,y,qa),v.paintNE(c,k,t,m,r,x,Ca,y,ka),v.paintRight(c,k,t,m,r,x,Da,y,na),"double"==aa&&(v.moveSEInner(c,k,t,m,r,x,Da,y,R,na),v.paintRightInner(c,k,t,m,r,x,Ca,y,R,ka,qa),v.paintNEInner(c,
-k,t,m,r,x,Ca,y,R),v.paintTopInner(c,k,t,m,r,x,Aa,y,R,la,ka),v.paintNWInner(c,k,t,m,r,x,Aa,y,R),v.paintLeftInner(c,k,t,m,r,x,Ea,y,R,na,la)),c.stroke()):(c.begin(),v.moveSW(c,k,t,m,r,x,Ea,y,na),v.paintLeft(c,k,t,m,r,x,Aa,y,ka),v.paintNW(c,k,t,m,r,x,Aa,y,la),v.paintTop(c,k,t,m,r,x,Ca,y,qa),v.paintNE(c,k,t,m,r,x,Ca,y,ka),v.paintRight(c,k,t,m,r,x,Da,y,na),v.lineSEInner(c,k,t,m,r,x,Da,y,R,na),v.paintRightInner(c,k,t,m,r,x,Ca,y,R,ka,qa),v.paintNEInner(c,k,t,m,r,x,Ca,y,R),v.paintTopInner(c,k,t,m,r,x,Aa,y,
-R,la,ka),v.paintNWInner(c,k,t,m,r,x,Aa,y,R),v.paintLeftInner(c,k,t,m,r,x,Ea,y,R,na,la),c.close(),c.fillAndStroke()):ka&&qa&&na&&!la?"frame"!=aa?(c.begin(),v.moveNW(c,k,t,m,r,x,Aa,y,la),v.paintTop(c,k,t,m,r,x,Ca,y,qa),v.paintNE(c,k,t,m,r,x,Ca,y,ka),v.paintRight(c,k,t,m,r,x,Da,y,na),v.paintSE(c,k,t,m,r,x,Da,y,qa),v.paintBottom(c,k,t,m,r,x,Ea,y,la),"double"==aa&&(v.moveSWInner(c,k,t,m,r,x,Ea,y,R,la),v.paintBottomInner(c,k,t,m,r,x,Da,y,R,qa,na),v.paintSEInner(c,k,t,m,r,x,Da,y,R),v.paintRightInner(c,k,
-t,m,r,x,Ca,y,R,ka,qa),v.paintNEInner(c,k,t,m,r,x,Ca,y,R),v.paintTopInner(c,k,t,m,r,x,Aa,y,R,la,ka)),c.stroke()):(c.begin(),v.moveNW(c,k,t,m,r,x,Aa,y,la),v.paintTop(c,k,t,m,r,x,Ca,y,qa),v.paintNE(c,k,t,m,r,x,Ca,y,ka),v.paintRight(c,k,t,m,r,x,Da,y,na),v.paintSE(c,k,t,m,r,x,Da,y,qa),v.paintBottom(c,k,t,m,r,x,Ea,y,la),v.lineSWInner(c,k,t,m,r,x,Ea,y,R,la),v.paintBottomInner(c,k,t,m,r,x,Da,y,R,qa,na),v.paintSEInner(c,k,t,m,r,x,Da,y,R),v.paintRightInner(c,k,t,m,r,x,Ca,y,R,ka,qa),v.paintNEInner(c,k,t,m,r,
-x,Ca,y,R),v.paintTopInner(c,k,t,m,r,x,Aa,y,R,la,ka),c.close(),c.fillAndStroke()):ka&&qa&&na&&la&&("frame"!=aa?(c.begin(),v.moveNW(c,k,t,m,r,x,Aa,y,la),v.paintNW(c,k,t,m,r,x,Aa,y,la),v.paintTop(c,k,t,m,r,x,Ca,y,qa),v.paintNE(c,k,t,m,r,x,Ca,y,ka),v.paintRight(c,k,t,m,r,x,Da,y,na),v.paintSE(c,k,t,m,r,x,Da,y,qa),v.paintBottom(c,k,t,m,r,x,Ea,y,la),v.paintSW(c,k,t,m,r,x,Ea,y,na),v.paintLeft(c,k,t,m,r,x,Aa,y,ka),c.close(),"double"==aa&&(v.moveSWInner(c,k,t,m,r,x,Ea,y,R,la),v.paintSWInner(c,k,t,m,r,x,Ea,
-y,R,na),v.paintBottomInner(c,k,t,m,r,x,Da,y,R,qa,na),v.paintSEInner(c,k,t,m,r,x,Da,y,R),v.paintRightInner(c,k,t,m,r,x,Ca,y,R,ka,qa),v.paintNEInner(c,k,t,m,r,x,Ca,y,R),v.paintTopInner(c,k,t,m,r,x,Aa,y,R,la,ka),v.paintNWInner(c,k,t,m,r,x,Aa,y,R),v.paintLeftInner(c,k,t,m,r,x,Ea,y,R,na,la),c.close()),c.stroke()):(c.begin(),v.moveNW(c,k,t,m,r,x,Aa,y,la),v.paintNW(c,k,t,m,r,x,Aa,y,la),v.paintTop(c,k,t,m,r,x,Ca,y,qa),v.paintNE(c,k,t,m,r,x,Ca,y,ka),v.paintRight(c,k,t,m,r,x,Da,y,na),v.paintSE(c,k,t,m,r,x,
-Da,y,qa),v.paintBottom(c,k,t,m,r,x,Ea,y,la),v.paintSW(c,k,t,m,r,x,Ea,y,na),v.paintLeft(c,k,t,m,r,x,Aa,y,ka),c.close(),v.moveSWInner(c,k,t,m,r,x,Ea,y,R,la),v.paintSWInner(c,k,t,m,r,x,Ea,y,R,na),v.paintBottomInner(c,k,t,m,r,x,Da,y,R,qa,na),v.paintSEInner(c,k,t,m,r,x,Da,y,R),v.paintRightInner(c,k,t,m,r,x,Ca,y,R,ka,qa),v.paintNEInner(c,k,t,m,r,x,Ca,y,R),v.paintTopInner(c,k,t,m,r,x,Aa,y,R,la,ka),v.paintNWInner(c,k,t,m,r,x,Aa,y,R),v.paintLeftInner(c,k,t,m,r,x,Ea,y,R,na,la),c.close(),c.fillAndStroke())):
-"frame"!=aa?(c.begin(),v.moveNW(c,k,t,m,r,x,Aa,y,la),v.paintTop(c,k,t,m,r,x,Ca,y,qa),"double"==aa&&(v.moveNEInner(c,k,t,m,r,x,Ca,y,R,qa),v.paintTopInner(c,k,t,m,r,x,Aa,y,R,la,ka)),c.stroke()):(c.begin(),v.moveNW(c,k,t,m,r,x,Aa,y,la),v.paintTop(c,k,t,m,r,x,Ca,y,qa),v.lineNEInner(c,k,t,m,r,x,Ca,y,R,qa),v.paintTopInner(c,k,t,m,r,x,Aa,y,R,la,ka),c.close(),c.fillAndStroke()):"frame"!=aa?(c.begin(),v.moveNE(c,k,t,m,r,x,Ca,y,ka),v.paintRight(c,k,t,m,r,x,Da,y,na),"double"==aa&&(v.moveSEInner(c,k,t,m,r,x,
-Da,y,R,na),v.paintRightInner(c,k,t,m,r,x,Ca,y,R,ka,qa)),c.stroke()):(c.begin(),v.moveNE(c,k,t,m,r,x,Ca,y,ka),v.paintRight(c,k,t,m,r,x,Da,y,na),v.lineSEInner(c,k,t,m,r,x,Da,y,R,na),v.paintRightInner(c,k,t,m,r,x,Ca,y,R,ka,qa),c.close(),c.fillAndStroke()):"frame"!=aa?(c.begin(),v.moveSE(c,k,t,m,r,x,Da,y,qa),v.paintBottom(c,k,t,m,r,x,Ea,y,la),"double"==aa&&(v.moveSWInner(c,k,t,m,r,x,Ea,y,R,la),v.paintBottomInner(c,k,t,m,r,x,Da,y,R,qa,na)),c.stroke()):(c.begin(),v.moveSE(c,k,t,m,r,x,Da,y,qa),v.paintBottom(c,
-k,t,m,r,x,Ea,y,la),v.lineSWInner(c,k,t,m,r,x,Ea,y,R,la),v.paintBottomInner(c,k,t,m,r,x,Da,y,R,qa,na),c.close(),c.fillAndStroke()):"frame"!=aa?(c.begin(),v.moveSW(c,k,t,m,r,x,Aa,y,na),v.paintLeft(c,k,t,m,r,x,Aa,y,ka),"double"==aa&&(v.moveNWInner(c,k,t,m,r,x,Aa,y,R,ka,la),v.paintLeftInner(c,k,t,m,r,x,Ea,y,R,na,la)),c.stroke()):(c.begin(),v.moveSW(c,k,t,m,r,x,Aa,y,na),v.paintLeft(c,k,t,m,r,x,Aa,y,ka),v.lineNWInner(c,k,t,m,r,x,Aa,y,R,ka,la),v.paintLeftInner(c,k,t,m,r,x,Ea,y,R,na,la),c.close(),c.fillAndStroke());
-c.begin();v.paintFolds(c,k,t,m,r,x,Aa,Ca,Da,Ea,y,ka,qa,na,la);c.stroke()};wa.prototype.moveNW=function(c,k,t,m,r,v,x,J,y){"square"==x||"default"==x&&"square"==v||!y?c.moveTo(0,0):c.moveTo(0,J)};wa.prototype.moveNE=function(c,k,t,m,r,v,x,J,y){"square"==x||"default"==x&&"square"==v||!y?c.moveTo(m,0):c.moveTo(m-J,0)};wa.prototype.moveSE=function(c,k,t,m,r,v,x,J,y){"square"==x||"default"==x&&"square"==v||!y?c.moveTo(m,r):c.moveTo(m,r-J)};wa.prototype.moveSW=function(c,k,t,m,r,v,x,J,y){"square"==x||"default"==
-x&&"square"==v||!y?c.moveTo(0,r):c.moveTo(J,r)};wa.prototype.paintNW=function(c,k,t,m,r,v,x,J,y){if(y)if("rounded"==x||"default"==x&&"rounded"==v||"invRound"==x||"default"==x&&"invRound"==v){k=0;if("rounded"==x||"default"==x&&"rounded"==v)k=1;c.arcTo(J,J,0,0,k,J,0)}else("snip"==x||"default"==x&&"snip"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(J,0);else c.lineTo(0,0)};wa.prototype.paintTop=function(c,k,t,m,r,v,x,J,y){"square"==x||"default"==x&&"square"==v||!y?c.lineTo(m,0):c.lineTo(m-J,0)};
-wa.prototype.paintNE=function(c,k,t,m,r,v,x,J,y){if(y)if("rounded"==x||"default"==x&&"rounded"==v||"invRound"==x||"default"==x&&"invRound"==v){k=0;if("rounded"==x||"default"==x&&"rounded"==v)k=1;c.arcTo(J,J,0,0,k,m,J)}else("snip"==x||"default"==x&&"snip"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(m,J);else c.lineTo(m,0)};wa.prototype.paintRight=function(c,k,t,m,r,v,x,J,y){"square"==x||"default"==x&&"square"==v||!y?c.lineTo(m,r):c.lineTo(m,r-J)};wa.prototype.paintLeft=function(c,k,t,m,r,v,x,
-J,y){"square"==x||"default"==x&&"square"==v||!y?c.lineTo(0,0):c.lineTo(0,J)};wa.prototype.paintSE=function(c,k,t,m,r,v,x,J,y){if(y)if("rounded"==x||"default"==x&&"rounded"==v||"invRound"==x||"default"==x&&"invRound"==v){k=0;if("rounded"==x||"default"==x&&"rounded"==v)k=1;c.arcTo(J,J,0,0,k,m-J,r)}else("snip"==x||"default"==x&&"snip"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(m-J,r);else c.lineTo(m,r)};wa.prototype.paintBottom=function(c,k,t,m,r,v,x,J,y){"square"==x||"default"==x&&"square"==
-v||!y?c.lineTo(0,r):c.lineTo(J,r)};wa.prototype.paintSW=function(c,k,t,m,r,v,x,J,y){if(y)if("rounded"==x||"default"==x&&"rounded"==v||"invRound"==x||"default"==x&&"invRound"==v){k=0;if("rounded"==x||"default"==x&&"rounded"==v)k=1;c.arcTo(J,J,0,0,k,0,r-J)}else("snip"==x||"default"==x&&"snip"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(0,r-J);else c.lineTo(0,r)};wa.prototype.paintNWInner=function(c,k,t,m,r,v,x,J,y){if("rounded"==x||"default"==x&&"rounded"==v)c.arcTo(J-.5*y,J-.5*y,0,0,0,y,.5*y+
-J);else if("invRound"==x||"default"==x&&"invRound"==v)c.arcTo(J+y,J+y,0,0,1,y,y+J);else if("snip"==x||"default"==x&&"snip"==v)c.lineTo(y,.5*y+J);else if("fold"==x||"default"==x&&"fold"==v)c.lineTo(y+J,y+J),c.lineTo(y,y+J)};wa.prototype.paintTopInner=function(c,k,t,m,r,v,x,J,y,aa,R){aa||R?!aa&&R?c.lineTo(0,y):aa&&!R?c.lineTo(y,0):aa?"square"==x||"default"==x&&"square"==v?c.lineTo(y,y):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(J+.5*y,y):c.lineTo(J+y,y):c.lineTo(0,
-y):c.lineTo(0,0)};wa.prototype.paintNEInner=function(c,k,t,m,r,v,x,J,y){if("rounded"==x||"default"==x&&"rounded"==v)c.arcTo(J-.5*y,J-.5*y,0,0,0,m-J-.5*y,y);else if("invRound"==x||"default"==x&&"invRound"==v)c.arcTo(J+y,J+y,0,0,1,m-J-y,y);else if("snip"==x||"default"==x&&"snip"==v)c.lineTo(m-J-.5*y,y);else if("fold"==x||"default"==x&&"fold"==v)c.lineTo(m-J-y,J+y),c.lineTo(m-J-y,y)};wa.prototype.paintRightInner=function(c,k,t,m,r,v,x,J,y,aa,R){aa||R?!aa&&R?c.lineTo(m-y,0):aa&&!R?c.lineTo(m,y):aa?"square"==
-x||"default"==x&&"square"==v?c.lineTo(m-y,y):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(m-y,J+.5*y):c.lineTo(m-y,J+y):c.lineTo(m-y,0):c.lineTo(m,0)};wa.prototype.paintLeftInner=function(c,k,t,m,r,v,x,J,y,aa,R){aa||R?!aa&&R?c.lineTo(y,r):aa&&!R?c.lineTo(0,r-y):aa?"square"==x||"default"==x&&"square"==v?c.lineTo(y,r-y):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(y,r-J-.5*y):c.lineTo(y,r-J-y):c.lineTo(y,r):c.lineTo(0,
-r)};wa.prototype.paintSEInner=function(c,k,t,m,r,v,x,J,y){if("rounded"==x||"default"==x&&"rounded"==v)c.arcTo(J-.5*y,J-.5*y,0,0,0,m-y,r-J-.5*y);else if("invRound"==x||"default"==x&&"invRound"==v)c.arcTo(J+y,J+y,0,0,1,m-y,r-J-y);else if("snip"==x||"default"==x&&"snip"==v)c.lineTo(m-y,r-J-.5*y);else if("fold"==x||"default"==x&&"fold"==v)c.lineTo(m-J-y,r-J-y),c.lineTo(m-y,r-J-y)};wa.prototype.paintBottomInner=function(c,k,t,m,r,v,x,J,y,aa,R){aa||R?!aa&&R?c.lineTo(m,r-y):aa&&!R?c.lineTo(m-y,r):"square"==
-x||"default"==x&&"square"==v||!aa?c.lineTo(m-y,r-y):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(m-J-.5*y,r-y):c.lineTo(m-J-y,r-y):c.lineTo(m,r)};wa.prototype.paintSWInner=function(c,k,t,m,r,v,x,J,y,aa){if(!aa)c.lineTo(y,r);else if("square"==x||"default"==x&&"square"==v)c.lineTo(y,r-y);else if("rounded"==x||"default"==x&&"rounded"==v)c.arcTo(J-.5*y,J-.5*y,0,0,0,J+.5*y,r-y);else if("invRound"==x||"default"==x&&"invRound"==v)c.arcTo(J+y,J+y,0,0,1,J+y,r-y);else if("snip"==
-x||"default"==x&&"snip"==v)c.lineTo(J+.5*y,r-y);else if("fold"==x||"default"==x&&"fold"==v)c.lineTo(y+J,r-J-y),c.lineTo(y+J,r-y)};wa.prototype.moveSWInner=function(c,k,t,m,r,v,x,J,y,aa){aa?"square"==x||"default"==x&&"square"==v?c.moveTo(y,r-y):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.moveTo(y,r-J-.5*y):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.moveTo(y,r-J-y):c.moveTo(0,r-y)};wa.prototype.lineSWInner=function(c,k,t,m,
-r,v,x,J,y,aa){aa?"square"==x||"default"==x&&"square"==v?c.lineTo(y,r-y):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(y,r-J-.5*y):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(y,r-J-y):c.lineTo(0,r-y)};wa.prototype.moveSEInner=function(c,k,t,m,r,v,x,J,y,aa){aa?"square"==x||"default"==x&&"square"==v?c.moveTo(m-y,r-y):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.moveTo(m-y,r-J-.5*y):
-("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.moveTo(m-y,r-J-y):c.moveTo(m-y,r)};wa.prototype.lineSEInner=function(c,k,t,m,r,v,x,J,y,aa){aa?"square"==x||"default"==x&&"square"==v?c.lineTo(m-y,r-y):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(m-y,r-J-.5*y):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(m-y,r-J-y):c.lineTo(m-y,r)};wa.prototype.moveNEInner=function(c,k,t,m,r,v,x,
-J,y,aa){aa?"square"==x||"default"==x&&"square"==v||aa?c.moveTo(m-y,y):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.moveTo(m-y,J+.5*y):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.moveTo(m-y,J+y):c.moveTo(m,y)};wa.prototype.lineNEInner=function(c,k,t,m,r,v,x,J,y,aa){aa?"square"==x||"default"==x&&"square"==v||aa?c.lineTo(m-y,y):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(m-y,J+.5*y):("invRound"==
-x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(m-y,J+y):c.lineTo(m,y)};wa.prototype.moveNWInner=function(c,k,t,m,r,v,x,J,y,aa,R){aa||R?!aa&&R?c.moveTo(y,0):aa&&!R?c.moveTo(0,y):"square"==x||"default"==x&&"square"==v?c.moveTo(y,y):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.moveTo(y,J+.5*y):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.moveTo(y,J+y):c.moveTo(0,0)};wa.prototype.lineNWInner=function(c,
-k,t,m,r,v,x,J,y,aa,R){aa||R?!aa&&R?c.lineTo(y,0):aa&&!R?c.lineTo(0,y):"square"==x||"default"==x&&"square"==v?c.lineTo(y,y):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(y,J+.5*y):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(y,J+y):c.lineTo(0,0)};wa.prototype.paintFolds=function(c,k,t,m,r,v,x,J,y,aa,R,Ha,Wa,Qa,ka){if("fold"==v||"fold"==x||"fold"==J||"fold"==y||"fold"==aa)("fold"==x||"default"==x&&"fold"==v)&&Ha&&
-ka&&(c.moveTo(0,R),c.lineTo(R,R),c.lineTo(R,0)),("fold"==J||"default"==J&&"fold"==v)&&Ha&&Wa&&(c.moveTo(m-R,0),c.lineTo(m-R,R),c.lineTo(m,R)),("fold"==y||"default"==y&&"fold"==v)&&Qa&&Wa&&(c.moveTo(m-R,r),c.lineTo(m-R,r-R),c.lineTo(m,r-R)),("fold"==aa||"default"==aa&&"fold"==v)&&Qa&&ka&&(c.moveTo(0,r-R),c.lineTo(R,r-R),c.lineTo(R,r))};mxCellRenderer.registerShape(wa.prototype.cst.RECT2,wa);wa.prototype.constraints=null;mxUtils.extend(za,mxConnector);za.prototype.origPaintEdgeShape=za.prototype.paintEdgeShape;
-za.prototype.paintEdgeShape=function(c,k,t){for(var m=[],r=0;r<k.length;r++)m.push(mxUtils.clone(k[r]));r=c.state.dashed;var v=c.state.fixDash;za.prototype.origPaintEdgeShape.apply(this,[c,m,t]);3<=c.state.strokeWidth&&(m=mxUtils.getValue(this.style,"fillColor",null),null!=m&&(c.setStrokeColor(m),c.setStrokeWidth(c.state.strokeWidth-2),c.setDashed(r,v),za.prototype.origPaintEdgeShape.apply(this,[c,k,t])))};mxCellRenderer.registerShape("filledEdge",za);"undefined"!==typeof StyleFormatPanel&&function(){var c=
-StyleFormatPanel.prototype.getCustomColors;StyleFormatPanel.prototype.getCustomColors=function(){var k=this.editorUi.getSelectionState(),t=c.apply(this,arguments);"umlFrame"==k.style.shape&&t.push({title:mxResources.get("laneColor"),key:"swimlaneFillColor",defaultValue:"default"});return t}}();mxMarker.addMarker("dash",function(c,k,t,m,r,v,x,J,y,aa){var R=r*(x+y+1),Ha=v*(x+y+1);return function(){c.begin();c.moveTo(m.x-R/2-Ha/2,m.y-Ha/2+R/2);c.lineTo(m.x+Ha/2-3*R/2,m.y-3*Ha/2-R/2);c.stroke()}});mxMarker.addMarker("box",
-function(c,k,t,m,r,v,x,J,y,aa){var R=r*(x+y+1),Ha=v*(x+y+1),Wa=m.x+R/2,Qa=m.y+Ha/2;m.x-=R;m.y-=Ha;return function(){c.begin();c.moveTo(Wa-R/2-Ha/2,Qa-Ha/2+R/2);c.lineTo(Wa-R/2+Ha/2,Qa-Ha/2-R/2);c.lineTo(Wa+Ha/2-3*R/2,Qa-3*Ha/2-R/2);c.lineTo(Wa-Ha/2-3*R/2,Qa-3*Ha/2+R/2);c.close();aa?c.fillAndStroke():c.stroke()}});mxMarker.addMarker("cross",function(c,k,t,m,r,v,x,J,y,aa){var R=r*(x+y+1),Ha=v*(x+y+1);return function(){c.begin();c.moveTo(m.x-R/2-Ha/2,m.y-Ha/2+R/2);c.lineTo(m.x+Ha/2-3*R/2,m.y-3*Ha/2-
-R/2);c.moveTo(m.x-R/2+Ha/2,m.y-Ha/2-R/2);c.lineTo(m.x-Ha/2-3*R/2,m.y-3*Ha/2+R/2);c.stroke()}});mxMarker.addMarker("circle",Ya);mxMarker.addMarker("circlePlus",function(c,k,t,m,r,v,x,J,y,aa){var R=m.clone(),Ha=Ya.apply(this,arguments),Wa=r*(x+2*y),Qa=v*(x+2*y);return function(){Ha.apply(this,arguments);c.begin();c.moveTo(R.x-r*y,R.y-v*y);c.lineTo(R.x-2*Wa+r*y,R.y-2*Qa+v*y);c.moveTo(R.x-Wa-Qa+v*y,R.y-Qa+Wa-r*y);c.lineTo(R.x+Qa-Wa-v*y,R.y-Qa-Wa+r*y);c.stroke()}});mxMarker.addMarker("halfCircle",function(c,
-k,t,m,r,v,x,J,y,aa){var R=r*(x+y+1),Ha=v*(x+y+1),Wa=m.clone();m.x-=R;m.y-=Ha;return function(){c.begin();c.moveTo(Wa.x-Ha,Wa.y+R);c.quadTo(m.x-Ha,m.y+R,m.x,m.y);c.quadTo(m.x+Ha,m.y-R,Wa.x+Ha,Wa.y-R);c.stroke()}});mxMarker.addMarker("async",function(c,k,t,m,r,v,x,J,y,aa){k=r*y*1.118;t=v*y*1.118;r*=x+y;v*=x+y;var R=m.clone();R.x-=k;R.y-=t;m.x+=-r-k;m.y+=-v-t;return function(){c.begin();c.moveTo(R.x,R.y);J?c.lineTo(R.x-r-v/2,R.y-v+r/2):c.lineTo(R.x+v/2-r,R.y-v-r/2);c.lineTo(R.x-r,R.y-v);c.close();aa?
-c.fillAndStroke():c.stroke()}});mxMarker.addMarker("openAsync",function(c){c=null!=c?c:2;return function(k,t,m,r,v,x,J,y,aa,R){v*=J+aa;x*=J+aa;var Ha=r.clone();return function(){k.begin();k.moveTo(Ha.x,Ha.y);y?k.lineTo(Ha.x-v-x/c,Ha.y-x+v/c):k.lineTo(Ha.x+x/c-v,Ha.y-x-v/c);k.stroke()}}}(2));if("undefined"!==typeof mxVertexHandler){var db=function(c,k,t){return lb(c,["width"],k,function(m,r,v,x,J){J=c.shape.getEdgeWidth()*c.view.scale+t;return new mxPoint(x.x+r*m/4+v*J/2,x.y+v*m/4-r*J/2)},function(m,
-r,v,x,J,y){m=Math.sqrt(mxUtils.ptSegDistSq(x.x,x.y,J.x,J.y,y.x,y.y));c.style.width=Math.round(2*m)/c.view.scale-t})},lb=function(c,k,t,m,r){return Ta(c,k,function(v){var x=c.absolutePoints;if(null!=x&&0<x.length){var J=x.length-1;v=c.view.translate;var y=c.view.scale,aa=t?x[0]:x[J];x=t?x[1]:x[J-1];J=x.x-aa.x;var R=x.y-aa.y,Ha=Math.sqrt(J*J+R*R);aa=m.call(this,Ha,J/Ha,R/Ha,aa,x);return new mxPoint(aa.x/y-v.x,aa.y/y-v.y)}return null},function(v,x,J){var y=c.absolutePoints,aa=y.length-1;v=c.view.translate;
-var R=c.view.scale,Ha=t?y[0]:y[aa];y=t?y[1]:y[aa-1];aa=y.x-Ha.x;var Wa=y.y-Ha.y,Qa=Math.sqrt(aa*aa+Wa*Wa);x.x=(x.x+v.x)*R;x.y=(x.y+v.y)*R;r.call(this,Qa,aa/Qa,Wa/Qa,Ha,y,x,J)})},qb=function(c,k){return function(t){return[lb(t,["startWidth"],!0,function(m,r,v,x,J){J=mxUtils.getNumber(t.style,"startWidth",c)*t.view.scale+k;return new mxPoint(x.x+r*m/4+v*J/2,x.y+v*m/4-r*J/2)},function(m,r,v,x,J,y){m=Math.sqrt(mxUtils.ptSegDistSq(x.x,x.y,J.x,J.y,y.x,y.y));t.style.startWidth=Math.round(2*m)/t.view.scale-
-k})]}},tb=function(c){return function(k){return[Ta(k,["arrowWidth","arrowSize"],function(t){var m=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"arrowWidth",fa.prototype.arrowWidth))),r=Math.max(0,Math.min(c,mxUtils.getValue(this.state.style,"arrowSize",fa.prototype.arrowSize)));return new mxPoint(t.x+(1-r)*t.width,t.y+(1-m)*t.height/2)},function(t,m){this.state.style.arrowWidth=Math.max(0,Math.min(1,Math.abs(t.y+t.height/2-m.y)/t.height*2));this.state.style.arrowSize=Math.max(0,Math.min(c,
-(t.x+t.width-m.x)/t.width))})]}},ub=function(c){return function(k){return[Ta(k,["size"],function(t){var m=Math.max(0,Math.min(.5*t.height,parseFloat(mxUtils.getValue(this.state.style,"size",c))));return new mxPoint(t.x,t.y+m)},function(t,m){this.state.style.size=Math.max(0,m.y-t.y)},!0)]}},ob=function(c,k,t){return function(m){var r=[Ta(m,["size"],function(v){var x=Math.max(0,Math.min(v.width,Math.min(v.height,parseFloat(mxUtils.getValue(this.state.style,"size",k)))))*c;return new mxPoint(v.x+x,v.y+
-x)},function(v,x){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(v.width,x.x-v.x),Math.min(v.height,x.y-v.y)))/c)},!1)];t&&mxUtils.getValue(m.style,mxConstants.STYLE_ROUNDED,!1)&&r.push(eb(m));return r}},rb=function(c,k,t,m,r){t=null!=t?t:.5;return function(v){var x=[Ta(v,["size"],function(J){var y=null!=r?"0"!=mxUtils.getValue(this.state.style,"fixedSize","0"):null,aa=parseFloat(mxUtils.getValue(this.state.style,"size",y?r:c));return new mxPoint(J.x+Math.max(0,Math.min(.5*J.width,
-aa*(y?1:J.width))),J.getCenterY())},function(J,y,aa){J=null!=r&&"0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?y.x-J.x:Math.max(0,Math.min(t,(y.x-J.x)/J.width));this.state.style.size=J},!1,m)];k&&mxUtils.getValue(v.style,mxConstants.STYLE_ROUNDED,!1)&&x.push(eb(v));return x}},vb=function(c,k,t){c=null!=c?c:.5;return function(m){var r=[Ta(m,["size"],function(v){var x=null!=t?"0"!=mxUtils.getValue(this.state.style,"fixedSize","0"):null,J=Math.max(0,parseFloat(mxUtils.getValue(this.state.style,
-"size",x?t:k)));return new mxPoint(v.x+Math.min(.75*v.width*c,J*(x?.75:.75*v.width)),v.y+v.height/4)},function(v,x){v=null!=t&&"0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?x.x-v.x:Math.max(0,Math.min(c,(x.x-v.x)/v.width*.75));this.state.style.size=v},!1,!0)];mxUtils.getValue(m.style,mxConstants.STYLE_ROUNDED,!1)&&r.push(eb(m));return r}},Va=function(){return function(c){var k=[];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,!1)&&k.push(eb(c));return k}},eb=function(c,k){return Ta(c,
-[mxConstants.STYLE_ARCSIZE],function(t){var m=null!=k?k:t.height/8;if("1"==mxUtils.getValue(c.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,0)){var r=mxUtils.getValue(c.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;return new mxPoint(t.x+t.width-Math.min(t.width/2,r),t.y+m)}r=Math.max(0,parseFloat(mxUtils.getValue(c.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)))/100;return new mxPoint(t.x+t.width-Math.min(Math.max(t.width/2,t.height/2),Math.min(t.width,t.height)*
-r),t.y+m)},function(t,m,r){"1"==mxUtils.getValue(c.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,0)?this.state.style[mxConstants.STYLE_ARCSIZE]=Math.round(Math.max(0,Math.min(t.width,2*(t.x+t.width-m.x)))):this.state.style[mxConstants.STYLE_ARCSIZE]=Math.round(Math.min(50,Math.max(0,100*(t.width-m.x+t.x)/Math.min(t.width,t.height))))})},Ta=function(c,k,t,m,r,v,x){var J=new mxHandle(c,null,mxVertexHandler.prototype.secondaryHandleImage);J.execute=function(aa){for(var R=0;R<k.length;R++)this.copyStyle(k[R]);
-x&&x(aa)};J.getPosition=t;J.setPosition=m;J.ignoreGrid=null!=r?r:!0;if(v){var y=J.positionChanged;J.positionChanged=function(){y.apply(this,arguments);c.view.invalidate(this.state.cell);c.view.validate()}}return J},kb={link:function(c){return[db(c,!0,10),db(c,!1,10)]},flexArrow:function(c){var k=c.view.graph.gridSize/c.view.scale,t=[];mxUtils.getValue(c.style,mxConstants.STYLE_STARTARROW,mxConstants.NONE)!=mxConstants.NONE&&(t.push(lb(c,["width",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],
+v.gradientDirection2:mxUtils.getValue(this.style,"gradientDirection2","south"),Eb=v&&v.opacity?v.opacity:mxUtils.getValue(this.style,"opacity","100"),Fb=Math.max(0,Math.min(50,y));v=Aa.prototype;c.setDashed(Ga);Va&&""!=Va&&c.setDashPattern(Va);c.setStrokeWidth(Cb);y=Math.min(.5*r,.5*m,y);J||(y=Fb*Math.min(m,r)/100);y=Math.min(y,.5*Math.min(m,r));J||(R=Math.min(Pa*Math.min(m,r)/100));R=Math.min(R,.5*Math.min(m,r)-y);(ka||qa||oa||la)&&"frame"!=aa&&(c.begin(),ka?v.moveNW(c,l,t,m,r,x,za,y,la):c.moveTo(0,
+0),ka&&v.paintNW(c,l,t,m,r,x,za,y,la),v.paintTop(c,l,t,m,r,x,Ba,y,qa),qa&&v.paintNE(c,l,t,m,r,x,Ba,y,ka),v.paintRight(c,l,t,m,r,x,Ca,y,oa),oa&&v.paintSE(c,l,t,m,r,x,Ca,y,qa),v.paintBottom(c,l,t,m,r,x,Ea,y,la),la&&v.paintSW(c,l,t,m,r,x,Ea,y,oa),v.paintLeft(c,l,t,m,r,x,za,y,ka),c.close(),c.fill(),c.setShadow(!1),c.setFillColor(yb),Ga=J=Eb,"none"==yb&&(J=0),"none"==Ab&&(Ga=0),c.setGradient(yb,Ab,0,0,m,r,Db,J,Ga),c.begin(),ka?v.moveNWInner(c,l,t,m,r,x,za,y,R,ka,la):c.moveTo(R,0),v.paintLeftInner(c,l,
+t,m,r,x,Ea,y,R,oa,la),la&&oa&&v.paintSWInner(c,l,t,m,r,x,Ea,y,R,oa),v.paintBottomInner(c,l,t,m,r,x,Ca,y,R,qa,oa),oa&&qa&&v.paintSEInner(c,l,t,m,r,x,Ca,y,R),v.paintRightInner(c,l,t,m,r,x,Ba,y,R,ka,qa),qa&&ka&&v.paintNEInner(c,l,t,m,r,x,Ba,y,R),v.paintTopInner(c,l,t,m,r,x,za,y,R,la,ka),ka&&la&&v.paintNWInner(c,l,t,m,r,x,za,y,R),c.fill(),"none"==Bb&&(c.begin(),v.paintFolds(c,l,t,m,r,x,za,Ba,Ca,Ea,y,ka,qa,oa,la),c.stroke()));ka||qa||oa||!la?ka||qa||!oa||la?!ka&&!qa&&oa&&la?"frame"!=aa?(c.begin(),v.moveSE(c,
+l,t,m,r,x,Ca,y,qa),v.paintBottom(c,l,t,m,r,x,Ea,y,la),v.paintSW(c,l,t,m,r,x,Ea,y,oa),v.paintLeft(c,l,t,m,r,x,za,y,ka),"double"==aa&&(v.moveNWInner(c,l,t,m,r,x,za,y,R,ka,la),v.paintLeftInner(c,l,t,m,r,x,Ea,y,R,oa,la),v.paintSWInner(c,l,t,m,r,x,Ea,y,R,oa),v.paintBottomInner(c,l,t,m,r,x,Ca,y,R,qa,oa)),c.stroke()):(c.begin(),v.moveSE(c,l,t,m,r,x,Ca,y,qa),v.paintBottom(c,l,t,m,r,x,Ea,y,la),v.paintSW(c,l,t,m,r,x,Ea,y,oa),v.paintLeft(c,l,t,m,r,x,za,y,ka),v.lineNWInner(c,l,t,m,r,x,za,y,R,ka,la),v.paintLeftInner(c,
+l,t,m,r,x,Ea,y,R,oa,la),v.paintSWInner(c,l,t,m,r,x,Ea,y,R,oa),v.paintBottomInner(c,l,t,m,r,x,Ca,y,R,qa,oa),c.close(),c.fillAndStroke()):ka||!qa||oa||la?!ka&&qa&&!oa&&la?"frame"!=aa?(c.begin(),v.moveSW(c,l,t,m,r,x,za,y,oa),v.paintLeft(c,l,t,m,r,x,za,y,ka),"double"==aa&&(v.moveNWInner(c,l,t,m,r,x,za,y,R,ka,la),v.paintLeftInner(c,l,t,m,r,x,Ea,y,R,oa,la)),c.stroke(),c.begin(),v.moveNE(c,l,t,m,r,x,Ba,y,ka),v.paintRight(c,l,t,m,r,x,Ca,y,oa),"double"==aa&&(v.moveSEInner(c,l,t,m,r,x,Ca,y,R,oa),v.paintRightInner(c,
+l,t,m,r,x,Ba,y,R,ka,qa)),c.stroke()):(c.begin(),v.moveSW(c,l,t,m,r,x,za,y,oa),v.paintLeft(c,l,t,m,r,x,za,y,ka),v.lineNWInner(c,l,t,m,r,x,za,y,R,ka,la),v.paintLeftInner(c,l,t,m,r,x,Ea,y,R,oa,la),c.close(),c.fillAndStroke(),c.begin(),v.moveNE(c,l,t,m,r,x,Ba,y,ka),v.paintRight(c,l,t,m,r,x,Ca,y,oa),v.lineSEInner(c,l,t,m,r,x,Ca,y,R,oa),v.paintRightInner(c,l,t,m,r,x,Ba,y,R,ka,qa),c.close(),c.fillAndStroke()):!ka&&qa&&oa&&!la?"frame"!=aa?(c.begin(),v.moveNE(c,l,t,m,r,x,Ba,y,ka),v.paintRight(c,l,t,m,r,x,
+Ca,y,oa),v.paintSE(c,l,t,m,r,x,Ca,y,qa),v.paintBottom(c,l,t,m,r,x,Ea,y,la),"double"==aa&&(v.moveSWInner(c,l,t,m,r,x,Ea,y,R,la),v.paintBottomInner(c,l,t,m,r,x,Ca,y,R,qa,oa),v.paintSEInner(c,l,t,m,r,x,Ca,y,R),v.paintRightInner(c,l,t,m,r,x,Ba,y,R,ka,qa)),c.stroke()):(c.begin(),v.moveNE(c,l,t,m,r,x,Ba,y,ka),v.paintRight(c,l,t,m,r,x,Ca,y,oa),v.paintSE(c,l,t,m,r,x,Ca,y,qa),v.paintBottom(c,l,t,m,r,x,Ea,y,la),v.lineSWInner(c,l,t,m,r,x,Ea,y,R,la),v.paintBottomInner(c,l,t,m,r,x,Ca,y,R,qa,oa),v.paintSEInner(c,
+l,t,m,r,x,Ca,y,R),v.paintRightInner(c,l,t,m,r,x,Ba,y,R,ka,qa),c.close(),c.fillAndStroke()):!ka&&qa&&oa&&la?"frame"!=aa?(c.begin(),v.moveNE(c,l,t,m,r,x,Ba,y,ka),v.paintRight(c,l,t,m,r,x,Ca,y,oa),v.paintSE(c,l,t,m,r,x,Ca,y,qa),v.paintBottom(c,l,t,m,r,x,Ea,y,la),v.paintSW(c,l,t,m,r,x,Ea,y,oa),v.paintLeft(c,l,t,m,r,x,za,y,ka),"double"==aa&&(v.moveNWInner(c,l,t,m,r,x,za,y,R,ka,la),v.paintLeftInner(c,l,t,m,r,x,Ea,y,R,oa,la),v.paintSWInner(c,l,t,m,r,x,Ea,y,R,oa),v.paintBottomInner(c,l,t,m,r,x,Ca,y,R,qa,
+oa),v.paintSEInner(c,l,t,m,r,x,Ca,y,R),v.paintRightInner(c,l,t,m,r,x,Ba,y,R,ka,qa)),c.stroke()):(c.begin(),v.moveNE(c,l,t,m,r,x,Ba,y,ka),v.paintRight(c,l,t,m,r,x,Ca,y,oa),v.paintSE(c,l,t,m,r,x,Ca,y,qa),v.paintBottom(c,l,t,m,r,x,Ea,y,la),v.paintSW(c,l,t,m,r,x,Ea,y,oa),v.paintLeft(c,l,t,m,r,x,za,y,ka),v.lineNWInner(c,l,t,m,r,x,za,y,R,ka,la),v.paintLeftInner(c,l,t,m,r,x,Ea,y,R,oa,la),v.paintSWInner(c,l,t,m,r,x,Ea,y,R,oa),v.paintBottomInner(c,l,t,m,r,x,Ca,y,R,qa,oa),v.paintSEInner(c,l,t,m,r,x,Ca,y,R),
+v.paintRightInner(c,l,t,m,r,x,Ba,y,R,ka,qa),c.close(),c.fillAndStroke()):!ka||qa||oa||la?ka&&!qa&&!oa&&la?"frame"!=aa?(c.begin(),v.moveSW(c,l,t,m,r,x,Ea,y,oa),v.paintLeft(c,l,t,m,r,x,za,y,ka),v.paintNW(c,l,t,m,r,x,za,y,la),v.paintTop(c,l,t,m,r,x,Ba,y,qa),"double"==aa&&(v.moveNEInner(c,l,t,m,r,x,Ba,y,R,qa),v.paintTopInner(c,l,t,m,r,x,za,y,R,la,ka),v.paintNWInner(c,l,t,m,r,x,za,y,R),v.paintLeftInner(c,l,t,m,r,x,Ea,y,R,oa,la)),c.stroke()):(c.begin(),v.moveSW(c,l,t,m,r,x,Ea,y,oa),v.paintLeft(c,l,t,m,
+r,x,za,y,ka),v.paintNW(c,l,t,m,r,x,za,y,la),v.paintTop(c,l,t,m,r,x,Ba,y,qa),v.lineNEInner(c,l,t,m,r,x,Ba,y,R,qa),v.paintTopInner(c,l,t,m,r,x,za,y,R,la,ka),v.paintNWInner(c,l,t,m,r,x,za,y,R),v.paintLeftInner(c,l,t,m,r,x,Ea,y,R,oa,la),c.close(),c.fillAndStroke()):ka&&!qa&&oa&&!la?"frame"!=aa?(c.begin(),v.moveNW(c,l,t,m,r,x,za,y,la),v.paintTop(c,l,t,m,r,x,Ba,y,qa),"double"==aa&&(v.moveNEInner(c,l,t,m,r,x,Ba,y,R,qa),v.paintTopInner(c,l,t,m,r,x,za,y,R,la,ka)),c.stroke(),c.begin(),v.moveSE(c,l,t,m,r,x,
+Ca,y,qa),v.paintBottom(c,l,t,m,r,x,Ea,y,la),"double"==aa&&(v.moveSWInner(c,l,t,m,r,x,Ea,y,R,la),v.paintBottomInner(c,l,t,m,r,x,Ca,y,R,qa,oa)),c.stroke()):(c.begin(),v.moveNW(c,l,t,m,r,x,za,y,la),v.paintTop(c,l,t,m,r,x,Ba,y,qa),v.lineNEInner(c,l,t,m,r,x,Ba,y,R,qa),v.paintTopInner(c,l,t,m,r,x,za,y,R,la,ka),c.close(),c.fillAndStroke(),c.begin(),v.moveSE(c,l,t,m,r,x,Ca,y,qa),v.paintBottom(c,l,t,m,r,x,Ea,y,la),v.lineSWInner(c,l,t,m,r,x,Ea,y,R,la),v.paintBottomInner(c,l,t,m,r,x,Ca,y,R,qa,oa),c.close(),
+c.fillAndStroke()):ka&&!qa&&oa&&la?"frame"!=aa?(c.begin(),v.moveSE(c,l,t,m,r,x,Ca,y,qa),v.paintBottom(c,l,t,m,r,x,Ea,y,la),v.paintSW(c,l,t,m,r,x,Ea,y,oa),v.paintLeft(c,l,t,m,r,x,za,y,ka),v.paintNW(c,l,t,m,r,x,za,y,la),v.paintTop(c,l,t,m,r,x,Ba,y,qa),"double"==aa&&(v.moveNEInner(c,l,t,m,r,x,Ba,y,R,qa),v.paintTopInner(c,l,t,m,r,x,za,y,R,la,ka),v.paintNWInner(c,l,t,m,r,x,za,y,R),v.paintLeftInner(c,l,t,m,r,x,Ea,y,R,oa,la),v.paintSWInner(c,l,t,m,r,x,Ea,y,R,oa),v.paintBottomInner(c,l,t,m,r,x,Ca,y,R,qa,
+oa)),c.stroke()):(c.begin(),v.moveSE(c,l,t,m,r,x,Ca,y,qa),v.paintBottom(c,l,t,m,r,x,Ea,y,la),v.paintSW(c,l,t,m,r,x,Ea,y,oa),v.paintLeft(c,l,t,m,r,x,za,y,ka),v.paintNW(c,l,t,m,r,x,za,y,la),v.paintTop(c,l,t,m,r,x,Ba,y,qa),v.lineNEInner(c,l,t,m,r,x,Ba,y,R,qa),v.paintTopInner(c,l,t,m,r,x,za,y,R,la,ka),v.paintNWInner(c,l,t,m,r,x,za,y,R),v.paintLeftInner(c,l,t,m,r,x,Ea,y,R,oa,la),v.paintSWInner(c,l,t,m,r,x,Ea,y,R,oa),v.paintBottomInner(c,l,t,m,r,x,Ca,y,R,qa,oa),c.close(),c.fillAndStroke()):ka&&qa&&!oa&&
+!la?"frame"!=aa?(c.begin(),v.moveNW(c,l,t,m,r,x,za,y,la),v.paintTop(c,l,t,m,r,x,Ba,y,qa),v.paintNE(c,l,t,m,r,x,Ba,y,ka),v.paintRight(c,l,t,m,r,x,Ca,y,oa),"double"==aa&&(v.moveSEInner(c,l,t,m,r,x,Ca,y,R,oa),v.paintRightInner(c,l,t,m,r,x,Ba,y,R,ka,qa),v.paintNEInner(c,l,t,m,r,x,Ba,y,R),v.paintTopInner(c,l,t,m,r,x,za,y,R,la,ka)),c.stroke()):(c.begin(),v.moveNW(c,l,t,m,r,x,za,y,la),v.paintTop(c,l,t,m,r,x,Ba,y,qa),v.paintNE(c,l,t,m,r,x,Ba,y,ka),v.paintRight(c,l,t,m,r,x,Ca,y,oa),v.lineSEInner(c,l,t,m,r,
+x,Ca,y,R,oa),v.paintRightInner(c,l,t,m,r,x,Ba,y,R,ka,qa),v.paintNEInner(c,l,t,m,r,x,Ba,y,R),v.paintTopInner(c,l,t,m,r,x,za,y,R,la,ka),c.close(),c.fillAndStroke()):ka&&qa&&!oa&&la?"frame"!=aa?(c.begin(),v.moveSW(c,l,t,m,r,x,Ea,y,oa),v.paintLeft(c,l,t,m,r,x,za,y,ka),v.paintNW(c,l,t,m,r,x,za,y,la),v.paintTop(c,l,t,m,r,x,Ba,y,qa),v.paintNE(c,l,t,m,r,x,Ba,y,ka),v.paintRight(c,l,t,m,r,x,Ca,y,oa),"double"==aa&&(v.moveSEInner(c,l,t,m,r,x,Ca,y,R,oa),v.paintRightInner(c,l,t,m,r,x,Ba,y,R,ka,qa),v.paintNEInner(c,
+l,t,m,r,x,Ba,y,R),v.paintTopInner(c,l,t,m,r,x,za,y,R,la,ka),v.paintNWInner(c,l,t,m,r,x,za,y,R),v.paintLeftInner(c,l,t,m,r,x,Ea,y,R,oa,la)),c.stroke()):(c.begin(),v.moveSW(c,l,t,m,r,x,Ea,y,oa),v.paintLeft(c,l,t,m,r,x,za,y,ka),v.paintNW(c,l,t,m,r,x,za,y,la),v.paintTop(c,l,t,m,r,x,Ba,y,qa),v.paintNE(c,l,t,m,r,x,Ba,y,ka),v.paintRight(c,l,t,m,r,x,Ca,y,oa),v.lineSEInner(c,l,t,m,r,x,Ca,y,R,oa),v.paintRightInner(c,l,t,m,r,x,Ba,y,R,ka,qa),v.paintNEInner(c,l,t,m,r,x,Ba,y,R),v.paintTopInner(c,l,t,m,r,x,za,y,
+R,la,ka),v.paintNWInner(c,l,t,m,r,x,za,y,R),v.paintLeftInner(c,l,t,m,r,x,Ea,y,R,oa,la),c.close(),c.fillAndStroke()):ka&&qa&&oa&&!la?"frame"!=aa?(c.begin(),v.moveNW(c,l,t,m,r,x,za,y,la),v.paintTop(c,l,t,m,r,x,Ba,y,qa),v.paintNE(c,l,t,m,r,x,Ba,y,ka),v.paintRight(c,l,t,m,r,x,Ca,y,oa),v.paintSE(c,l,t,m,r,x,Ca,y,qa),v.paintBottom(c,l,t,m,r,x,Ea,y,la),"double"==aa&&(v.moveSWInner(c,l,t,m,r,x,Ea,y,R,la),v.paintBottomInner(c,l,t,m,r,x,Ca,y,R,qa,oa),v.paintSEInner(c,l,t,m,r,x,Ca,y,R),v.paintRightInner(c,l,
+t,m,r,x,Ba,y,R,ka,qa),v.paintNEInner(c,l,t,m,r,x,Ba,y,R),v.paintTopInner(c,l,t,m,r,x,za,y,R,la,ka)),c.stroke()):(c.begin(),v.moveNW(c,l,t,m,r,x,za,y,la),v.paintTop(c,l,t,m,r,x,Ba,y,qa),v.paintNE(c,l,t,m,r,x,Ba,y,ka),v.paintRight(c,l,t,m,r,x,Ca,y,oa),v.paintSE(c,l,t,m,r,x,Ca,y,qa),v.paintBottom(c,l,t,m,r,x,Ea,y,la),v.lineSWInner(c,l,t,m,r,x,Ea,y,R,la),v.paintBottomInner(c,l,t,m,r,x,Ca,y,R,qa,oa),v.paintSEInner(c,l,t,m,r,x,Ca,y,R),v.paintRightInner(c,l,t,m,r,x,Ba,y,R,ka,qa),v.paintNEInner(c,l,t,m,r,
+x,Ba,y,R),v.paintTopInner(c,l,t,m,r,x,za,y,R,la,ka),c.close(),c.fillAndStroke()):ka&&qa&&oa&&la&&("frame"!=aa?(c.begin(),v.moveNW(c,l,t,m,r,x,za,y,la),v.paintNW(c,l,t,m,r,x,za,y,la),v.paintTop(c,l,t,m,r,x,Ba,y,qa),v.paintNE(c,l,t,m,r,x,Ba,y,ka),v.paintRight(c,l,t,m,r,x,Ca,y,oa),v.paintSE(c,l,t,m,r,x,Ca,y,qa),v.paintBottom(c,l,t,m,r,x,Ea,y,la),v.paintSW(c,l,t,m,r,x,Ea,y,oa),v.paintLeft(c,l,t,m,r,x,za,y,ka),c.close(),"double"==aa&&(v.moveSWInner(c,l,t,m,r,x,Ea,y,R,la),v.paintSWInner(c,l,t,m,r,x,Ea,
+y,R,oa),v.paintBottomInner(c,l,t,m,r,x,Ca,y,R,qa,oa),v.paintSEInner(c,l,t,m,r,x,Ca,y,R),v.paintRightInner(c,l,t,m,r,x,Ba,y,R,ka,qa),v.paintNEInner(c,l,t,m,r,x,Ba,y,R),v.paintTopInner(c,l,t,m,r,x,za,y,R,la,ka),v.paintNWInner(c,l,t,m,r,x,za,y,R),v.paintLeftInner(c,l,t,m,r,x,Ea,y,R,oa,la),c.close()),c.stroke()):(c.begin(),v.moveNW(c,l,t,m,r,x,za,y,la),v.paintNW(c,l,t,m,r,x,za,y,la),v.paintTop(c,l,t,m,r,x,Ba,y,qa),v.paintNE(c,l,t,m,r,x,Ba,y,ka),v.paintRight(c,l,t,m,r,x,Ca,y,oa),v.paintSE(c,l,t,m,r,x,
+Ca,y,qa),v.paintBottom(c,l,t,m,r,x,Ea,y,la),v.paintSW(c,l,t,m,r,x,Ea,y,oa),v.paintLeft(c,l,t,m,r,x,za,y,ka),c.close(),v.moveSWInner(c,l,t,m,r,x,Ea,y,R,la),v.paintSWInner(c,l,t,m,r,x,Ea,y,R,oa),v.paintBottomInner(c,l,t,m,r,x,Ca,y,R,qa,oa),v.paintSEInner(c,l,t,m,r,x,Ca,y,R),v.paintRightInner(c,l,t,m,r,x,Ba,y,R,ka,qa),v.paintNEInner(c,l,t,m,r,x,Ba,y,R),v.paintTopInner(c,l,t,m,r,x,za,y,R,la,ka),v.paintNWInner(c,l,t,m,r,x,za,y,R),v.paintLeftInner(c,l,t,m,r,x,Ea,y,R,oa,la),c.close(),c.fillAndStroke())):
+"frame"!=aa?(c.begin(),v.moveNW(c,l,t,m,r,x,za,y,la),v.paintTop(c,l,t,m,r,x,Ba,y,qa),"double"==aa&&(v.moveNEInner(c,l,t,m,r,x,Ba,y,R,qa),v.paintTopInner(c,l,t,m,r,x,za,y,R,la,ka)),c.stroke()):(c.begin(),v.moveNW(c,l,t,m,r,x,za,y,la),v.paintTop(c,l,t,m,r,x,Ba,y,qa),v.lineNEInner(c,l,t,m,r,x,Ba,y,R,qa),v.paintTopInner(c,l,t,m,r,x,za,y,R,la,ka),c.close(),c.fillAndStroke()):"frame"!=aa?(c.begin(),v.moveNE(c,l,t,m,r,x,Ba,y,ka),v.paintRight(c,l,t,m,r,x,Ca,y,oa),"double"==aa&&(v.moveSEInner(c,l,t,m,r,x,
+Ca,y,R,oa),v.paintRightInner(c,l,t,m,r,x,Ba,y,R,ka,qa)),c.stroke()):(c.begin(),v.moveNE(c,l,t,m,r,x,Ba,y,ka),v.paintRight(c,l,t,m,r,x,Ca,y,oa),v.lineSEInner(c,l,t,m,r,x,Ca,y,R,oa),v.paintRightInner(c,l,t,m,r,x,Ba,y,R,ka,qa),c.close(),c.fillAndStroke()):"frame"!=aa?(c.begin(),v.moveSE(c,l,t,m,r,x,Ca,y,qa),v.paintBottom(c,l,t,m,r,x,Ea,y,la),"double"==aa&&(v.moveSWInner(c,l,t,m,r,x,Ea,y,R,la),v.paintBottomInner(c,l,t,m,r,x,Ca,y,R,qa,oa)),c.stroke()):(c.begin(),v.moveSE(c,l,t,m,r,x,Ca,y,qa),v.paintBottom(c,
+l,t,m,r,x,Ea,y,la),v.lineSWInner(c,l,t,m,r,x,Ea,y,R,la),v.paintBottomInner(c,l,t,m,r,x,Ca,y,R,qa,oa),c.close(),c.fillAndStroke()):"frame"!=aa?(c.begin(),v.moveSW(c,l,t,m,r,x,za,y,oa),v.paintLeft(c,l,t,m,r,x,za,y,ka),"double"==aa&&(v.moveNWInner(c,l,t,m,r,x,za,y,R,ka,la),v.paintLeftInner(c,l,t,m,r,x,Ea,y,R,oa,la)),c.stroke()):(c.begin(),v.moveSW(c,l,t,m,r,x,za,y,oa),v.paintLeft(c,l,t,m,r,x,za,y,ka),v.lineNWInner(c,l,t,m,r,x,za,y,R,ka,la),v.paintLeftInner(c,l,t,m,r,x,Ea,y,R,oa,la),c.close(),c.fillAndStroke());
+c.begin();v.paintFolds(c,l,t,m,r,x,za,Ba,Ca,Ea,y,ka,qa,oa,la);c.stroke()};Aa.prototype.moveNW=function(c,l,t,m,r,v,x,J,y){"square"==x||"default"==x&&"square"==v||!y?c.moveTo(0,0):c.moveTo(0,J)};Aa.prototype.moveNE=function(c,l,t,m,r,v,x,J,y){"square"==x||"default"==x&&"square"==v||!y?c.moveTo(m,0):c.moveTo(m-J,0)};Aa.prototype.moveSE=function(c,l,t,m,r,v,x,J,y){"square"==x||"default"==x&&"square"==v||!y?c.moveTo(m,r):c.moveTo(m,r-J)};Aa.prototype.moveSW=function(c,l,t,m,r,v,x,J,y){"square"==x||"default"==
+x&&"square"==v||!y?c.moveTo(0,r):c.moveTo(J,r)};Aa.prototype.paintNW=function(c,l,t,m,r,v,x,J,y){if(y)if("rounded"==x||"default"==x&&"rounded"==v||"invRound"==x||"default"==x&&"invRound"==v){l=0;if("rounded"==x||"default"==x&&"rounded"==v)l=1;c.arcTo(J,J,0,0,l,J,0)}else("snip"==x||"default"==x&&"snip"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(J,0);else c.lineTo(0,0)};Aa.prototype.paintTop=function(c,l,t,m,r,v,x,J,y){"square"==x||"default"==x&&"square"==v||!y?c.lineTo(m,0):c.lineTo(m-J,0)};
+Aa.prototype.paintNE=function(c,l,t,m,r,v,x,J,y){if(y)if("rounded"==x||"default"==x&&"rounded"==v||"invRound"==x||"default"==x&&"invRound"==v){l=0;if("rounded"==x||"default"==x&&"rounded"==v)l=1;c.arcTo(J,J,0,0,l,m,J)}else("snip"==x||"default"==x&&"snip"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(m,J);else c.lineTo(m,0)};Aa.prototype.paintRight=function(c,l,t,m,r,v,x,J,y){"square"==x||"default"==x&&"square"==v||!y?c.lineTo(m,r):c.lineTo(m,r-J)};Aa.prototype.paintLeft=function(c,l,t,m,r,v,x,
+J,y){"square"==x||"default"==x&&"square"==v||!y?c.lineTo(0,0):c.lineTo(0,J)};Aa.prototype.paintSE=function(c,l,t,m,r,v,x,J,y){if(y)if("rounded"==x||"default"==x&&"rounded"==v||"invRound"==x||"default"==x&&"invRound"==v){l=0;if("rounded"==x||"default"==x&&"rounded"==v)l=1;c.arcTo(J,J,0,0,l,m-J,r)}else("snip"==x||"default"==x&&"snip"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(m-J,r);else c.lineTo(m,r)};Aa.prototype.paintBottom=function(c,l,t,m,r,v,x,J,y){"square"==x||"default"==x&&"square"==
+v||!y?c.lineTo(0,r):c.lineTo(J,r)};Aa.prototype.paintSW=function(c,l,t,m,r,v,x,J,y){if(y)if("rounded"==x||"default"==x&&"rounded"==v||"invRound"==x||"default"==x&&"invRound"==v){l=0;if("rounded"==x||"default"==x&&"rounded"==v)l=1;c.arcTo(J,J,0,0,l,0,r-J)}else("snip"==x||"default"==x&&"snip"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(0,r-J);else c.lineTo(0,r)};Aa.prototype.paintNWInner=function(c,l,t,m,r,v,x,J,y){if("rounded"==x||"default"==x&&"rounded"==v)c.arcTo(J-.5*y,J-.5*y,0,0,0,y,.5*y+
+J);else if("invRound"==x||"default"==x&&"invRound"==v)c.arcTo(J+y,J+y,0,0,1,y,y+J);else if("snip"==x||"default"==x&&"snip"==v)c.lineTo(y,.5*y+J);else if("fold"==x||"default"==x&&"fold"==v)c.lineTo(y+J,y+J),c.lineTo(y,y+J)};Aa.prototype.paintTopInner=function(c,l,t,m,r,v,x,J,y,aa,R){aa||R?!aa&&R?c.lineTo(0,y):aa&&!R?c.lineTo(y,0):aa?"square"==x||"default"==x&&"square"==v?c.lineTo(y,y):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(J+.5*y,y):c.lineTo(J+y,y):c.lineTo(0,
+y):c.lineTo(0,0)};Aa.prototype.paintNEInner=function(c,l,t,m,r,v,x,J,y){if("rounded"==x||"default"==x&&"rounded"==v)c.arcTo(J-.5*y,J-.5*y,0,0,0,m-J-.5*y,y);else if("invRound"==x||"default"==x&&"invRound"==v)c.arcTo(J+y,J+y,0,0,1,m-J-y,y);else if("snip"==x||"default"==x&&"snip"==v)c.lineTo(m-J-.5*y,y);else if("fold"==x||"default"==x&&"fold"==v)c.lineTo(m-J-y,J+y),c.lineTo(m-J-y,y)};Aa.prototype.paintRightInner=function(c,l,t,m,r,v,x,J,y,aa,R){aa||R?!aa&&R?c.lineTo(m-y,0):aa&&!R?c.lineTo(m,y):aa?"square"==
+x||"default"==x&&"square"==v?c.lineTo(m-y,y):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(m-y,J+.5*y):c.lineTo(m-y,J+y):c.lineTo(m-y,0):c.lineTo(m,0)};Aa.prototype.paintLeftInner=function(c,l,t,m,r,v,x,J,y,aa,R){aa||R?!aa&&R?c.lineTo(y,r):aa&&!R?c.lineTo(0,r-y):aa?"square"==x||"default"==x&&"square"==v?c.lineTo(y,r-y):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(y,r-J-.5*y):c.lineTo(y,r-J-y):c.lineTo(y,r):c.lineTo(0,
+r)};Aa.prototype.paintSEInner=function(c,l,t,m,r,v,x,J,y){if("rounded"==x||"default"==x&&"rounded"==v)c.arcTo(J-.5*y,J-.5*y,0,0,0,m-y,r-J-.5*y);else if("invRound"==x||"default"==x&&"invRound"==v)c.arcTo(J+y,J+y,0,0,1,m-y,r-J-y);else if("snip"==x||"default"==x&&"snip"==v)c.lineTo(m-y,r-J-.5*y);else if("fold"==x||"default"==x&&"fold"==v)c.lineTo(m-J-y,r-J-y),c.lineTo(m-y,r-J-y)};Aa.prototype.paintBottomInner=function(c,l,t,m,r,v,x,J,y,aa,R){aa||R?!aa&&R?c.lineTo(m,r-y):aa&&!R?c.lineTo(m-y,r):"square"==
+x||"default"==x&&"square"==v||!aa?c.lineTo(m-y,r-y):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(m-J-.5*y,r-y):c.lineTo(m-J-y,r-y):c.lineTo(m,r)};Aa.prototype.paintSWInner=function(c,l,t,m,r,v,x,J,y,aa){if(!aa)c.lineTo(y,r);else if("square"==x||"default"==x&&"square"==v)c.lineTo(y,r-y);else if("rounded"==x||"default"==x&&"rounded"==v)c.arcTo(J-.5*y,J-.5*y,0,0,0,J+.5*y,r-y);else if("invRound"==x||"default"==x&&"invRound"==v)c.arcTo(J+y,J+y,0,0,1,J+y,r-y);else if("snip"==
+x||"default"==x&&"snip"==v)c.lineTo(J+.5*y,r-y);else if("fold"==x||"default"==x&&"fold"==v)c.lineTo(y+J,r-J-y),c.lineTo(y+J,r-y)};Aa.prototype.moveSWInner=function(c,l,t,m,r,v,x,J,y,aa){aa?"square"==x||"default"==x&&"square"==v?c.moveTo(y,r-y):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.moveTo(y,r-J-.5*y):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.moveTo(y,r-J-y):c.moveTo(0,r-y)};Aa.prototype.lineSWInner=function(c,l,t,m,
+r,v,x,J,y,aa){aa?"square"==x||"default"==x&&"square"==v?c.lineTo(y,r-y):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(y,r-J-.5*y):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(y,r-J-y):c.lineTo(0,r-y)};Aa.prototype.moveSEInner=function(c,l,t,m,r,v,x,J,y,aa){aa?"square"==x||"default"==x&&"square"==v?c.moveTo(m-y,r-y):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.moveTo(m-y,r-J-.5*y):
+("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.moveTo(m-y,r-J-y):c.moveTo(m-y,r)};Aa.prototype.lineSEInner=function(c,l,t,m,r,v,x,J,y,aa){aa?"square"==x||"default"==x&&"square"==v?c.lineTo(m-y,r-y):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(m-y,r-J-.5*y):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(m-y,r-J-y):c.lineTo(m-y,r)};Aa.prototype.moveNEInner=function(c,l,t,m,r,v,x,
+J,y,aa){aa?"square"==x||"default"==x&&"square"==v||aa?c.moveTo(m-y,y):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.moveTo(m-y,J+.5*y):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.moveTo(m-y,J+y):c.moveTo(m,y)};Aa.prototype.lineNEInner=function(c,l,t,m,r,v,x,J,y,aa){aa?"square"==x||"default"==x&&"square"==v||aa?c.lineTo(m-y,y):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(m-y,J+.5*y):("invRound"==
+x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(m-y,J+y):c.lineTo(m,y)};Aa.prototype.moveNWInner=function(c,l,t,m,r,v,x,J,y,aa,R){aa||R?!aa&&R?c.moveTo(y,0):aa&&!R?c.moveTo(0,y):"square"==x||"default"==x&&"square"==v?c.moveTo(y,y):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.moveTo(y,J+.5*y):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.moveTo(y,J+y):c.moveTo(0,0)};Aa.prototype.lineNWInner=function(c,
+l,t,m,r,v,x,J,y,aa,R){aa||R?!aa&&R?c.lineTo(y,0):aa&&!R?c.lineTo(0,y):"square"==x||"default"==x&&"square"==v?c.lineTo(y,y):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(y,J+.5*y):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(y,J+y):c.lineTo(0,0)};Aa.prototype.paintFolds=function(c,l,t,m,r,v,x,J,y,aa,R,Ga,Va,Pa,ka){if("fold"==v||"fold"==x||"fold"==J||"fold"==y||"fold"==aa)("fold"==x||"default"==x&&"fold"==v)&&Ga&&
+ka&&(c.moveTo(0,R),c.lineTo(R,R),c.lineTo(R,0)),("fold"==J||"default"==J&&"fold"==v)&&Ga&&Va&&(c.moveTo(m-R,0),c.lineTo(m-R,R),c.lineTo(m,R)),("fold"==y||"default"==y&&"fold"==v)&&Pa&&Va&&(c.moveTo(m-R,r),c.lineTo(m-R,r-R),c.lineTo(m,r-R)),("fold"==aa||"default"==aa&&"fold"==v)&&Pa&&ka&&(c.moveTo(0,r-R),c.lineTo(R,r-R),c.lineTo(R,r))};mxCellRenderer.registerShape(Aa.prototype.cst.RECT2,Aa);Aa.prototype.constraints=null;mxUtils.extend(va,mxConnector);va.prototype.origPaintEdgeShape=va.prototype.paintEdgeShape;
+va.prototype.paintEdgeShape=function(c,l,t){for(var m=[],r=0;r<l.length;r++)m.push(mxUtils.clone(l[r]));r=c.state.dashed;var v=c.state.fixDash;va.prototype.origPaintEdgeShape.apply(this,[c,m,t]);3<=c.state.strokeWidth&&(m=mxUtils.getValue(this.style,"fillColor",null),null!=m&&(c.setStrokeColor(m),c.setStrokeWidth(c.state.strokeWidth-2),c.setDashed(r,v),va.prototype.origPaintEdgeShape.apply(this,[c,l,t])))};mxCellRenderer.registerShape("filledEdge",va);"undefined"!==typeof StyleFormatPanel&&function(){var c=
+StyleFormatPanel.prototype.getCustomColors;StyleFormatPanel.prototype.getCustomColors=function(){var l=this.editorUi.getSelectionState(),t=c.apply(this,arguments);"umlFrame"==l.style.shape&&t.push({title:mxResources.get("laneColor"),key:"swimlaneFillColor",defaultValue:"default"});return t}}();mxMarker.addMarker("dash",function(c,l,t,m,r,v,x,J,y,aa){var R=r*(x+y+1),Ga=v*(x+y+1);return function(){c.begin();c.moveTo(m.x-R/2-Ga/2,m.y-Ga/2+R/2);c.lineTo(m.x+Ga/2-3*R/2,m.y-3*Ga/2-R/2);c.stroke()}});mxMarker.addMarker("box",
+function(c,l,t,m,r,v,x,J,y,aa){var R=r*(x+y+1),Ga=v*(x+y+1),Va=m.x+R/2,Pa=m.y+Ga/2;m.x-=R;m.y-=Ga;return function(){c.begin();c.moveTo(Va-R/2-Ga/2,Pa-Ga/2+R/2);c.lineTo(Va-R/2+Ga/2,Pa-Ga/2-R/2);c.lineTo(Va+Ga/2-3*R/2,Pa-3*Ga/2-R/2);c.lineTo(Va-Ga/2-3*R/2,Pa-3*Ga/2+R/2);c.close();aa?c.fillAndStroke():c.stroke()}});mxMarker.addMarker("cross",function(c,l,t,m,r,v,x,J,y,aa){var R=r*(x+y+1),Ga=v*(x+y+1);return function(){c.begin();c.moveTo(m.x-R/2-Ga/2,m.y-Ga/2+R/2);c.lineTo(m.x+Ga/2-3*R/2,m.y-3*Ga/2-
+R/2);c.moveTo(m.x-R/2+Ga/2,m.y-Ga/2-R/2);c.lineTo(m.x-Ga/2-3*R/2,m.y-3*Ga/2+R/2);c.stroke()}});mxMarker.addMarker("circle",Ya);mxMarker.addMarker("circlePlus",function(c,l,t,m,r,v,x,J,y,aa){var R=m.clone(),Ga=Ya.apply(this,arguments),Va=r*(x+2*y),Pa=v*(x+2*y);return function(){Ga.apply(this,arguments);c.begin();c.moveTo(R.x-r*y,R.y-v*y);c.lineTo(R.x-2*Va+r*y,R.y-2*Pa+v*y);c.moveTo(R.x-Va-Pa+v*y,R.y-Pa+Va-r*y);c.lineTo(R.x+Pa-Va-v*y,R.y-Pa-Va+r*y);c.stroke()}});mxMarker.addMarker("halfCircle",function(c,
+l,t,m,r,v,x,J,y,aa){var R=r*(x+y+1),Ga=v*(x+y+1),Va=m.clone();m.x-=R;m.y-=Ga;return function(){c.begin();c.moveTo(Va.x-Ga,Va.y+R);c.quadTo(m.x-Ga,m.y+R,m.x,m.y);c.quadTo(m.x+Ga,m.y-R,Va.x+Ga,Va.y-R);c.stroke()}});mxMarker.addMarker("async",function(c,l,t,m,r,v,x,J,y,aa){l=r*y*1.118;t=v*y*1.118;r*=x+y;v*=x+y;var R=m.clone();R.x-=l;R.y-=t;m.x+=-r-l;m.y+=-v-t;return function(){c.begin();c.moveTo(R.x,R.y);J?c.lineTo(R.x-r-v/2,R.y-v+r/2):c.lineTo(R.x+v/2-r,R.y-v-r/2);c.lineTo(R.x-r,R.y-v);c.close();aa?
+c.fillAndStroke():c.stroke()}});mxMarker.addMarker("openAsync",function(c){c=null!=c?c:2;return function(l,t,m,r,v,x,J,y,aa,R){v*=J+aa;x*=J+aa;var Ga=r.clone();return function(){l.begin();l.moveTo(Ga.x,Ga.y);y?l.lineTo(Ga.x-v-x/c,Ga.y-x+v/c):l.lineTo(Ga.x+x/c-v,Ga.y-x-v/c);l.stroke()}}}(2));if("undefined"!==typeof mxVertexHandler){var eb=function(c,l,t){return kb(c,["width"],l,function(m,r,v,x,J){J=c.shape.getEdgeWidth()*c.view.scale+t;return new mxPoint(x.x+r*m/4+v*J/2,x.y+v*m/4-r*J/2)},function(m,
+r,v,x,J,y){m=Math.sqrt(mxUtils.ptSegDistSq(x.x,x.y,J.x,J.y,y.x,y.y));c.style.width=Math.round(2*m)/c.view.scale-t})},kb=function(c,l,t,m,r){return Ra(c,l,function(v){var x=c.absolutePoints;if(null!=x&&0<x.length){var J=x.length-1;v=c.view.translate;var y=c.view.scale,aa=t?x[0]:x[J];x=t?x[1]:x[J-1];J=x.x-aa.x;var R=x.y-aa.y,Ga=Math.sqrt(J*J+R*R);aa=m.call(this,Ga,J/Ga,R/Ga,aa,x);return new mxPoint(aa.x/y-v.x,aa.y/y-v.y)}return null},function(v,x,J){var y=c.absolutePoints,aa=y.length-1;v=c.view.translate;
+var R=c.view.scale,Ga=t?y[0]:y[aa];y=t?y[1]:y[aa-1];aa=y.x-Ga.x;var Va=y.y-Ga.y,Pa=Math.sqrt(aa*aa+Va*Va);x.x=(x.x+v.x)*R;x.y=(x.y+v.y)*R;r.call(this,Pa,aa/Pa,Va/Pa,Ga,y,x,J)})},qb=function(c,l){return function(t){return[kb(t,["startWidth"],!0,function(m,r,v,x,J){J=mxUtils.getNumber(t.style,"startWidth",c)*t.view.scale+l;return new mxPoint(x.x+r*m/4+v*J/2,x.y+v*m/4-r*J/2)},function(m,r,v,x,J,y){m=Math.sqrt(mxUtils.ptSegDistSq(x.x,x.y,J.x,J.y,y.x,y.y));t.style.startWidth=Math.round(2*m)/t.view.scale-
+l})]}},tb=function(c){return function(l){return[Ra(l,["arrowWidth","arrowSize"],function(t){var m=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"arrowWidth",ab.prototype.arrowWidth))),r=Math.max(0,Math.min(c,mxUtils.getValue(this.state.style,"arrowSize",ab.prototype.arrowSize)));return new mxPoint(t.x+(1-r)*t.width,t.y+(1-m)*t.height/2)},function(t,m){this.state.style.arrowWidth=Math.max(0,Math.min(1,Math.abs(t.y+t.height/2-m.y)/t.height*2));this.state.style.arrowSize=Math.max(0,Math.min(c,
+(t.x+t.width-m.x)/t.width))})]}},ub=function(c){return function(l){return[Ra(l,["size"],function(t){var m=Math.max(0,Math.min(.5*t.height,parseFloat(mxUtils.getValue(this.state.style,"size",c))));return new mxPoint(t.x,t.y+m)},function(t,m){this.state.style.size=Math.max(0,m.y-t.y)},!0)]}},nb=function(c,l,t){return function(m){var r=[Ra(m,["size"],function(v){var x=Math.max(0,Math.min(v.width,Math.min(v.height,parseFloat(mxUtils.getValue(this.state.style,"size",l)))))*c;return new mxPoint(v.x+x,v.y+
+x)},function(v,x){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(v.width,x.x-v.x),Math.min(v.height,x.y-v.y)))/c)},!1)];t&&mxUtils.getValue(m.style,mxConstants.STYLE_ROUNDED,!1)&&r.push(fb(m));return r}},rb=function(c,l,t,m,r){t=null!=t?t:.5;return function(v){var x=[Ra(v,["size"],function(J){var y=null!=r?"0"!=mxUtils.getValue(this.state.style,"fixedSize","0"):null,aa=parseFloat(mxUtils.getValue(this.state.style,"size",y?r:c));return new mxPoint(J.x+Math.max(0,Math.min(.5*J.width,
+aa*(y?1:J.width))),J.getCenterY())},function(J,y,aa){J=null!=r&&"0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?y.x-J.x:Math.max(0,Math.min(t,(y.x-J.x)/J.width));this.state.style.size=J},!1,m)];l&&mxUtils.getValue(v.style,mxConstants.STYLE_ROUNDED,!1)&&x.push(fb(v));return x}},vb=function(c,l,t){c=null!=c?c:.5;return function(m){var r=[Ra(m,["size"],function(v){var x=null!=t?"0"!=mxUtils.getValue(this.state.style,"fixedSize","0"):null,J=Math.max(0,parseFloat(mxUtils.getValue(this.state.style,
+"size",x?t:l)));return new mxPoint(v.x+Math.min(.75*v.width*c,J*(x?.75:.75*v.width)),v.y+v.height/4)},function(v,x){v=null!=t&&"0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?x.x-v.x:Math.max(0,Math.min(c,(x.x-v.x)/v.width*.75));this.state.style.size=v},!1,!0)];mxUtils.getValue(m.style,mxConstants.STYLE_ROUNDED,!1)&&r.push(fb(m));return r}},Ua=function(){return function(c){var l=[];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,!1)&&l.push(fb(c));return l}},fb=function(c,l){return Ra(c,
+[mxConstants.STYLE_ARCSIZE],function(t){var m=null!=l?l:t.height/8;if("1"==mxUtils.getValue(c.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,0)){var r=mxUtils.getValue(c.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;return new mxPoint(t.x+t.width-Math.min(t.width/2,r),t.y+m)}r=Math.max(0,parseFloat(mxUtils.getValue(c.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)))/100;return new mxPoint(t.x+t.width-Math.min(Math.max(t.width/2,t.height/2),Math.min(t.width,t.height)*
+r),t.y+m)},function(t,m,r){"1"==mxUtils.getValue(c.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,0)?this.state.style[mxConstants.STYLE_ARCSIZE]=Math.round(Math.max(0,Math.min(t.width,2*(t.x+t.width-m.x)))):this.state.style[mxConstants.STYLE_ARCSIZE]=Math.round(Math.min(50,Math.max(0,100*(t.width-m.x+t.x)/Math.min(t.width,t.height))))})},Ra=function(c,l,t,m,r,v,x){var J=new mxHandle(c,null,mxVertexHandler.prototype.secondaryHandleImage);J.execute=function(aa){for(var R=0;R<l.length;R++)this.copyStyle(l[R]);
+x&&x(aa)};J.getPosition=t;J.setPosition=m;J.ignoreGrid=null!=r?r:!0;if(v){var y=J.positionChanged;J.positionChanged=function(){y.apply(this,arguments);c.view.invalidate(this.state.cell);c.view.validate()}}return J},jb={link:function(c){return[eb(c,!0,10),eb(c,!1,10)]},flexArrow:function(c){var l=c.view.graph.gridSize/c.view.scale,t=[];mxUtils.getValue(c.style,mxConstants.STYLE_STARTARROW,mxConstants.NONE)!=mxConstants.NONE&&(t.push(kb(c,["width",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],
!0,function(m,r,v,x,J){m=(c.shape.getEdgeWidth()-c.shape.strokewidth)*c.view.scale;J=3*mxUtils.getNumber(c.style,mxConstants.STYLE_STARTSIZE,mxConstants.ARROW_SIZE/5)*c.view.scale;return new mxPoint(x.x+r*(J+c.shape.strokewidth*c.view.scale)+v*m/2,x.y+v*(J+c.shape.strokewidth*c.view.scale)-r*m/2)},function(m,r,v,x,J,y,aa){m=Math.sqrt(mxUtils.ptSegDistSq(x.x,x.y,J.x,J.y,y.x,y.y));r=mxUtils.ptLineDist(x.x,x.y,x.x+v,x.y-r,y.x,y.y);c.style[mxConstants.STYLE_STARTSIZE]=Math.round(100*(r-c.shape.strokewidth)/
-3)/100/c.view.scale;c.style.width=Math.round(2*m)/c.view.scale;if(mxEvent.isShiftDown(aa.getEvent())||mxEvent.isControlDown(aa.getEvent()))c.style[mxConstants.STYLE_ENDSIZE]=c.style[mxConstants.STYLE_STARTSIZE];mxEvent.isAltDown(aa.getEvent())||Math.abs(parseFloat(c.style[mxConstants.STYLE_STARTSIZE])-parseFloat(c.style[mxConstants.STYLE_ENDSIZE]))<k/6&&(c.style[mxConstants.STYLE_STARTSIZE]=c.style[mxConstants.STYLE_ENDSIZE])})),t.push(lb(c,["startWidth","endWidth",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],
+3)/100/c.view.scale;c.style.width=Math.round(2*m)/c.view.scale;if(mxEvent.isShiftDown(aa.getEvent())||mxEvent.isControlDown(aa.getEvent()))c.style[mxConstants.STYLE_ENDSIZE]=c.style[mxConstants.STYLE_STARTSIZE];mxEvent.isAltDown(aa.getEvent())||Math.abs(parseFloat(c.style[mxConstants.STYLE_STARTSIZE])-parseFloat(c.style[mxConstants.STYLE_ENDSIZE]))<l/6&&(c.style[mxConstants.STYLE_STARTSIZE]=c.style[mxConstants.STYLE_ENDSIZE])})),t.push(kb(c,["startWidth","endWidth",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],
!0,function(m,r,v,x,J){m=(c.shape.getStartArrowWidth()-c.shape.strokewidth)*c.view.scale;J=3*mxUtils.getNumber(c.style,mxConstants.STYLE_STARTSIZE,mxConstants.ARROW_SIZE/5)*c.view.scale;return new mxPoint(x.x+r*(J+c.shape.strokewidth*c.view.scale)+v*m/2,x.y+v*(J+c.shape.strokewidth*c.view.scale)-r*m/2)},function(m,r,v,x,J,y,aa){m=Math.sqrt(mxUtils.ptSegDistSq(x.x,x.y,J.x,J.y,y.x,y.y));r=mxUtils.ptLineDist(x.x,x.y,x.x+v,x.y-r,y.x,y.y);c.style[mxConstants.STYLE_STARTSIZE]=Math.round(100*(r-c.shape.strokewidth)/
-3)/100/c.view.scale;c.style.startWidth=Math.max(0,Math.round(2*m)-c.shape.getEdgeWidth())/c.view.scale;if(mxEvent.isShiftDown(aa.getEvent())||mxEvent.isControlDown(aa.getEvent()))c.style[mxConstants.STYLE_ENDSIZE]=c.style[mxConstants.STYLE_STARTSIZE],c.style.endWidth=c.style.startWidth;mxEvent.isAltDown(aa.getEvent())||(Math.abs(parseFloat(c.style[mxConstants.STYLE_STARTSIZE])-parseFloat(c.style[mxConstants.STYLE_ENDSIZE]))<k/6&&(c.style[mxConstants.STYLE_STARTSIZE]=c.style[mxConstants.STYLE_ENDSIZE]),
-Math.abs(parseFloat(c.style.startWidth)-parseFloat(c.style.endWidth))<k&&(c.style.startWidth=c.style.endWidth))})));mxUtils.getValue(c.style,mxConstants.STYLE_ENDARROW,mxConstants.NONE)!=mxConstants.NONE&&(t.push(lb(c,["width",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!1,function(m,r,v,x,J){m=(c.shape.getEdgeWidth()-c.shape.strokewidth)*c.view.scale;J=3*mxUtils.getNumber(c.style,mxConstants.STYLE_ENDSIZE,mxConstants.ARROW_SIZE/5)*c.view.scale;return new mxPoint(x.x+r*(J+c.shape.strokewidth*
+3)/100/c.view.scale;c.style.startWidth=Math.max(0,Math.round(2*m)-c.shape.getEdgeWidth())/c.view.scale;if(mxEvent.isShiftDown(aa.getEvent())||mxEvent.isControlDown(aa.getEvent()))c.style[mxConstants.STYLE_ENDSIZE]=c.style[mxConstants.STYLE_STARTSIZE],c.style.endWidth=c.style.startWidth;mxEvent.isAltDown(aa.getEvent())||(Math.abs(parseFloat(c.style[mxConstants.STYLE_STARTSIZE])-parseFloat(c.style[mxConstants.STYLE_ENDSIZE]))<l/6&&(c.style[mxConstants.STYLE_STARTSIZE]=c.style[mxConstants.STYLE_ENDSIZE]),
+Math.abs(parseFloat(c.style.startWidth)-parseFloat(c.style.endWidth))<l&&(c.style.startWidth=c.style.endWidth))})));mxUtils.getValue(c.style,mxConstants.STYLE_ENDARROW,mxConstants.NONE)!=mxConstants.NONE&&(t.push(kb(c,["width",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!1,function(m,r,v,x,J){m=(c.shape.getEdgeWidth()-c.shape.strokewidth)*c.view.scale;J=3*mxUtils.getNumber(c.style,mxConstants.STYLE_ENDSIZE,mxConstants.ARROW_SIZE/5)*c.view.scale;return new mxPoint(x.x+r*(J+c.shape.strokewidth*
c.view.scale)-v*m/2,x.y+v*(J+c.shape.strokewidth*c.view.scale)+r*m/2)},function(m,r,v,x,J,y,aa){m=Math.sqrt(mxUtils.ptSegDistSq(x.x,x.y,J.x,J.y,y.x,y.y));r=mxUtils.ptLineDist(x.x,x.y,x.x+v,x.y-r,y.x,y.y);c.style[mxConstants.STYLE_ENDSIZE]=Math.round(100*(r-c.shape.strokewidth)/3)/100/c.view.scale;c.style.width=Math.round(2*m)/c.view.scale;if(mxEvent.isShiftDown(aa.getEvent())||mxEvent.isControlDown(aa.getEvent()))c.style[mxConstants.STYLE_STARTSIZE]=c.style[mxConstants.STYLE_ENDSIZE];mxEvent.isAltDown(aa.getEvent())||
-Math.abs(parseFloat(c.style[mxConstants.STYLE_ENDSIZE])-parseFloat(c.style[mxConstants.STYLE_STARTSIZE]))<k/6&&(c.style[mxConstants.STYLE_ENDSIZE]=c.style[mxConstants.STYLE_STARTSIZE])})),t.push(lb(c,["startWidth","endWidth",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!1,function(m,r,v,x,J){m=(c.shape.getEndArrowWidth()-c.shape.strokewidth)*c.view.scale;J=3*mxUtils.getNumber(c.style,mxConstants.STYLE_ENDSIZE,mxConstants.ARROW_SIZE/5)*c.view.scale;return new mxPoint(x.x+r*(J+c.shape.strokewidth*
+Math.abs(parseFloat(c.style[mxConstants.STYLE_ENDSIZE])-parseFloat(c.style[mxConstants.STYLE_STARTSIZE]))<l/6&&(c.style[mxConstants.STYLE_ENDSIZE]=c.style[mxConstants.STYLE_STARTSIZE])})),t.push(kb(c,["startWidth","endWidth",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!1,function(m,r,v,x,J){m=(c.shape.getEndArrowWidth()-c.shape.strokewidth)*c.view.scale;J=3*mxUtils.getNumber(c.style,mxConstants.STYLE_ENDSIZE,mxConstants.ARROW_SIZE/5)*c.view.scale;return new mxPoint(x.x+r*(J+c.shape.strokewidth*
c.view.scale)-v*m/2,x.y+v*(J+c.shape.strokewidth*c.view.scale)+r*m/2)},function(m,r,v,x,J,y,aa){m=Math.sqrt(mxUtils.ptSegDistSq(x.x,x.y,J.x,J.y,y.x,y.y));r=mxUtils.ptLineDist(x.x,x.y,x.x+v,x.y-r,y.x,y.y);c.style[mxConstants.STYLE_ENDSIZE]=Math.round(100*(r-c.shape.strokewidth)/3)/100/c.view.scale;c.style.endWidth=Math.max(0,Math.round(2*m)-c.shape.getEdgeWidth())/c.view.scale;if(mxEvent.isShiftDown(aa.getEvent())||mxEvent.isControlDown(aa.getEvent()))c.style[mxConstants.STYLE_STARTSIZE]=c.style[mxConstants.STYLE_ENDSIZE],
-c.style.startWidth=c.style.endWidth;mxEvent.isAltDown(aa.getEvent())||(Math.abs(parseFloat(c.style[mxConstants.STYLE_ENDSIZE])-parseFloat(c.style[mxConstants.STYLE_STARTSIZE]))<k/6&&(c.style[mxConstants.STYLE_ENDSIZE]=c.style[mxConstants.STYLE_STARTSIZE]),Math.abs(parseFloat(c.style.endWidth)-parseFloat(c.style.startWidth))<k&&(c.style.endWidth=c.style.startWidth))})));return t},swimlane:function(c){var k=[];if(mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED)){var t=parseFloat(mxUtils.getValue(c.style,
-mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE));k.push(eb(c,t/2))}k.push(Ta(c,[mxConstants.STYLE_STARTSIZE],function(m){var r=parseFloat(mxUtils.getValue(c.style,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE));return 1==mxUtils.getValue(c.style,mxConstants.STYLE_HORIZONTAL,1)?new mxPoint(m.getCenterX(),m.y+Math.max(0,Math.min(m.height,r))):new mxPoint(m.x+Math.max(0,Math.min(m.width,r)),m.getCenterY())},function(m,r){c.style[mxConstants.STYLE_STARTSIZE]=1==mxUtils.getValue(this.state.style,
+c.style.startWidth=c.style.endWidth;mxEvent.isAltDown(aa.getEvent())||(Math.abs(parseFloat(c.style[mxConstants.STYLE_ENDSIZE])-parseFloat(c.style[mxConstants.STYLE_STARTSIZE]))<l/6&&(c.style[mxConstants.STYLE_ENDSIZE]=c.style[mxConstants.STYLE_STARTSIZE]),Math.abs(parseFloat(c.style.endWidth)-parseFloat(c.style.startWidth))<l&&(c.style.endWidth=c.style.startWidth))})));return t},swimlane:function(c){var l=[];if(mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED)){var t=parseFloat(mxUtils.getValue(c.style,
+mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE));l.push(fb(c,t/2))}l.push(Ra(c,[mxConstants.STYLE_STARTSIZE],function(m){var r=parseFloat(mxUtils.getValue(c.style,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE));return 1==mxUtils.getValue(c.style,mxConstants.STYLE_HORIZONTAL,1)?new mxPoint(m.getCenterX(),m.y+Math.max(0,Math.min(m.height,r))):new mxPoint(m.x+Math.max(0,Math.min(m.width,r)),m.getCenterY())},function(m,r){c.style[mxConstants.STYLE_STARTSIZE]=1==mxUtils.getValue(this.state.style,
mxConstants.STYLE_HORIZONTAL,1)?Math.round(Math.max(0,Math.min(m.height,r.y-m.y))):Math.round(Math.max(0,Math.min(m.width,r.x-m.x)))},!1,null,function(m){var r=c.view.graph;if(!mxEvent.isShiftDown(m.getEvent())&&!mxEvent.isControlDown(m.getEvent())&&(r.isTableRow(c.cell)||r.isTableCell(c.cell))){m=r.getSwimlaneDirection(c.style);var v=r.model.getParent(c.cell);v=r.model.getChildCells(v,!0);for(var x=[],J=0;J<v.length;J++)v[J]!=c.cell&&r.isSwimlane(v[J])&&r.getSwimlaneDirection(r.getCurrentCellStyle(v[J]))==
-m&&x.push(v[J]);r.setCellStyles(mxConstants.STYLE_STARTSIZE,c.style[mxConstants.STYLE_STARTSIZE],x)}}));return k},label:Va(),ext:Va(),rectangle:Va(),triangle:Va(),rhombus:Va(),umlLifeline:function(c){return[Ta(c,["size"],function(k){var t=Math.max(0,Math.min(k.height,parseFloat(mxUtils.getValue(this.state.style,"size",sa.prototype.size))));return new mxPoint(k.getCenterX(),k.y+t)},function(k,t){this.state.style.size=Math.round(Math.max(0,Math.min(k.height,t.y-k.y)))},!1)]},umlFrame:function(c){return[Ta(c,
-["width","height"],function(k){var t=Math.max(va.prototype.corner,Math.min(k.width,mxUtils.getValue(this.state.style,"width",va.prototype.width))),m=Math.max(1.5*va.prototype.corner,Math.min(k.height,mxUtils.getValue(this.state.style,"height",va.prototype.height)));return new mxPoint(k.x+t,k.y+m)},function(k,t){this.state.style.width=Math.round(Math.max(va.prototype.corner,Math.min(k.width,t.x-k.x)));this.state.style.height=Math.round(Math.max(1.5*va.prototype.corner,Math.min(k.height,t.y-k.y)))},
-!1)]},process:function(c){var k=[Ta(c,["size"],function(t){var m="0"!=mxUtils.getValue(this.state.style,"fixedSize","0"),r=parseFloat(mxUtils.getValue(this.state.style,"size",M.prototype.size));return m?new mxPoint(t.x+r,t.y+t.height/4):new mxPoint(t.x+t.width*r,t.y+t.height/4)},function(t,m){t="0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?Math.max(0,Math.min(.5*t.width,m.x-t.x)):Math.max(0,Math.min(.5,(m.x-t.x)/t.width));this.state.style.size=t},!1)];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,
-!1)&&k.push(eb(c));return k},cross:function(c){return[Ta(c,["size"],function(k){var t=Math.min(k.width,k.height);t=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"size",xa.prototype.size)))*t/2;return new mxPoint(k.getCenterX()-t,k.getCenterY()-t)},function(k,t){var m=Math.min(k.width,k.height);this.state.style.size=Math.max(0,Math.min(1,Math.min(Math.max(0,k.getCenterY()-t.y)/m*2,Math.max(0,k.getCenterX()-t.x)/m*2)))})]},note:function(c){return[Ta(c,["size"],function(k){var t=Math.max(0,
-Math.min(k.width,Math.min(k.height,parseFloat(mxUtils.getValue(this.state.style,"size",l.prototype.size)))));return new mxPoint(k.x+k.width-t,k.y+t)},function(k,t){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(k.width,k.x+k.width-t.x),Math.min(k.height,t.y-k.y))))})]},note2:function(c){return[Ta(c,["size"],function(k){var t=Math.max(0,Math.min(k.width,Math.min(k.height,parseFloat(mxUtils.getValue(this.state.style,"size",p.prototype.size)))));return new mxPoint(k.x+k.width-t,k.y+t)},
-function(k,t){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(k.width,k.x+k.width-t.x),Math.min(k.height,t.y-k.y))))})]},manualInput:function(c){var k=[Ta(c,["size"],function(t){var m=Math.max(0,Math.min(t.height,mxUtils.getValue(this.state.style,"size",gb.prototype.size)));return new mxPoint(t.x+t.width/4,t.y+3*m/4)},function(t,m){this.state.style.size=Math.round(Math.max(0,Math.min(t.height,4*(m.y-t.y)/3)))},!1)];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,!1)&&k.push(eb(c));
-return k},dataStorage:function(c){return[Ta(c,["size"],function(k){var t="0"!=mxUtils.getValue(this.state.style,"fixedSize","0"),m=parseFloat(mxUtils.getValue(this.state.style,"size",t?ya.prototype.fixedSize:ya.prototype.size));return new mxPoint(k.x+k.width-m*(t?1:k.width),k.getCenterY())},function(k,t){k="0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?Math.max(0,Math.min(k.width,k.x+k.width-t.x)):Math.max(0,Math.min(1,(k.x+k.width-t.x)/k.width));this.state.style.size=k},!1)]},callout:function(c){var k=
-[Ta(c,["size","position"],function(t){var m=Math.max(0,Math.min(t.height,mxUtils.getValue(this.state.style,"size",ba.prototype.size))),r=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",ba.prototype.position)));mxUtils.getValue(this.state.style,"base",ba.prototype.base);return new mxPoint(t.x+r*t.width,t.y+t.height-m)},function(t,m){mxUtils.getValue(this.state.style,"base",ba.prototype.base);this.state.style.size=Math.round(Math.max(0,Math.min(t.height,t.y+t.height-m.y)));this.state.style.position=
-Math.round(100*Math.max(0,Math.min(1,(m.x-t.x)/t.width)))/100},!1),Ta(c,["position2"],function(t){var m=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position2",ba.prototype.position2)));return new mxPoint(t.x+m*t.width,t.y+t.height)},function(t,m){this.state.style.position2=Math.round(100*Math.max(0,Math.min(1,(m.x-t.x)/t.width)))/100},!1),Ta(c,["base"],function(t){var m=Math.max(0,Math.min(t.height,mxUtils.getValue(this.state.style,"size",ba.prototype.size))),r=Math.max(0,Math.min(1,
-mxUtils.getValue(this.state.style,"position",ba.prototype.position))),v=Math.max(0,Math.min(t.width,mxUtils.getValue(this.state.style,"base",ba.prototype.base)));return new mxPoint(t.x+Math.min(t.width,r*t.width+v),t.y+t.height-m)},function(t,m){var r=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",ba.prototype.position)));this.state.style.base=Math.round(Math.max(0,Math.min(t.width,m.x-t.x-r*t.width)))},!1)];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,!1)&&k.push(eb(c));
-return k},internalStorage:function(c){var k=[Ta(c,["dx","dy"],function(t){var m=Math.max(0,Math.min(t.width,mxUtils.getValue(this.state.style,"dx",cb.prototype.dx))),r=Math.max(0,Math.min(t.height,mxUtils.getValue(this.state.style,"dy",cb.prototype.dy)));return new mxPoint(t.x+m,t.y+r)},function(t,m){this.state.style.dx=Math.round(Math.max(0,Math.min(t.width,m.x-t.x)));this.state.style.dy=Math.round(Math.max(0,Math.min(t.height,m.y-t.y)))},!1)];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,!1)&&
-k.push(eb(c));return k},module:function(c){return[Ta(c,["jettyWidth","jettyHeight"],function(k){var t=Math.max(0,Math.min(k.width,mxUtils.getValue(this.state.style,"jettyWidth",Oa.prototype.jettyWidth))),m=Math.max(0,Math.min(k.height,mxUtils.getValue(this.state.style,"jettyHeight",Oa.prototype.jettyHeight)));return new mxPoint(k.x+t/2,k.y+2*m)},function(k,t){this.state.style.jettyWidth=Math.round(2*Math.max(0,Math.min(k.width,t.x-k.x)));this.state.style.jettyHeight=Math.round(Math.max(0,Math.min(k.height,
-t.y-k.y))/2)})]},corner:function(c){return[Ta(c,["dx","dy"],function(k){var t=Math.max(0,Math.min(k.width,mxUtils.getValue(this.state.style,"dx",hb.prototype.dx))),m=Math.max(0,Math.min(k.height,mxUtils.getValue(this.state.style,"dy",hb.prototype.dy)));return new mxPoint(k.x+t,k.y+m)},function(k,t){this.state.style.dx=Math.round(Math.max(0,Math.min(k.width,t.x-k.x)));this.state.style.dy=Math.round(Math.max(0,Math.min(k.height,t.y-k.y)))},!1)]},tee:function(c){return[Ta(c,["dx","dy"],function(k){var t=
-Math.max(0,Math.min(k.width,mxUtils.getValue(this.state.style,"dx",fb.prototype.dx))),m=Math.max(0,Math.min(k.height,mxUtils.getValue(this.state.style,"dy",fb.prototype.dy)));return new mxPoint(k.x+(k.width+t)/2,k.y+m)},function(k,t){this.state.style.dx=Math.round(Math.max(0,2*Math.min(k.width/2,t.x-k.x-k.width/2)));this.state.style.dy=Math.round(Math.max(0,Math.min(k.height,t.y-k.y)))},!1)]},singleArrow:tb(1),doubleArrow:tb(.5),"mxgraph.arrows2.wedgeArrow":qb(20,20),"mxgraph.arrows2.wedgeArrowDashed":qb(20,
-20),"mxgraph.arrows2.wedgeArrowDashed2":qb(20,20),folder:function(c){return[Ta(c,["tabWidth","tabHeight"],function(k){var t=Math.max(0,Math.min(k.width,mxUtils.getValue(this.state.style,"tabWidth",D.prototype.tabWidth))),m=Math.max(0,Math.min(k.height,mxUtils.getValue(this.state.style,"tabHeight",D.prototype.tabHeight)));mxUtils.getValue(this.state.style,"tabPosition",D.prototype.tabPosition)==mxConstants.ALIGN_RIGHT&&(t=k.width-t);return new mxPoint(k.x+t,k.y+m)},function(k,t){var m=Math.max(0,Math.min(k.width,
-t.x-k.x));mxUtils.getValue(this.state.style,"tabPosition",D.prototype.tabPosition)==mxConstants.ALIGN_RIGHT&&(m=k.width-m);this.state.style.tabWidth=Math.round(m);this.state.style.tabHeight=Math.round(Math.max(0,Math.min(k.height,t.y-k.y)))},!1)]},document:function(c){return[Ta(c,["size"],function(k){var t=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",O.prototype.size))));return new mxPoint(k.x+3*k.width/4,k.y+(1-t)*k.height)},function(k,t){this.state.style.size=Math.max(0,
-Math.min(1,(k.y+k.height-t.y)/k.height))},!1)]},tape:function(c){return[Ta(c,["size"],function(k){var t=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",I.prototype.size))));return new mxPoint(k.getCenterX(),k.y+t*k.height/2)},function(k,t){this.state.style.size=Math.max(0,Math.min(1,(t.y-k.y)/k.height*2))},!1)]},isoCube2:function(c){return[Ta(c,["isoAngle"],function(k){var t=Math.max(.01,Math.min(94,parseFloat(mxUtils.getValue(this.state.style,"isoAngle",w.isoAngle))))*Math.PI/
-200;return new mxPoint(k.x,k.y+Math.min(k.width*Math.tan(t),.5*k.height))},function(k,t){this.state.style.isoAngle=Math.max(0,50*(t.y-k.y)/k.height)},!0)]},cylinder2:ub(z.prototype.size),cylinder3:ub(C.prototype.size),offPageConnector:function(c){return[Ta(c,["size"],function(k){var t=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",E.prototype.size))));return new mxPoint(k.getCenterX(),k.y+(1-t)*k.height)},function(k,t){this.state.style.size=Math.max(0,Math.min(1,(k.y+k.height-
-t.y)/k.height))},!1)]},"mxgraph.basic.rect":function(c){var k=[Graph.createHandle(c,["size"],function(t){var m=Math.max(0,Math.min(t.width/2,t.height/2,parseFloat(mxUtils.getValue(this.state.style,"size",this.size))));return new mxPoint(t.x+m,t.y+m)},function(t,m){this.state.style.size=Math.round(100*Math.max(0,Math.min(t.height/2,t.width/2,m.x-t.x)))/100})];c=Graph.createHandle(c,["indent"],function(t){var m=Math.max(0,Math.min(100,parseFloat(mxUtils.getValue(this.state.style,"indent",this.dx2))));
-return new mxPoint(t.x+.75*t.width,t.y+m*t.height/200)},function(t,m){this.state.style.indent=Math.round(100*Math.max(0,Math.min(100,200*(m.y-t.y)/t.height)))/100});k.push(c);return k},step:rb(ja.prototype.size,!0,null,!0,ja.prototype.fixedSize),hexagon:rb(pa.prototype.size,!0,.5,!0,pa.prototype.fixedSize),curlyBracket:rb(S.prototype.size,!1),display:rb(Ba.prototype.size,!1),cube:ob(1,e.prototype.size,!1),card:ob(.5,K.prototype.size,!0),loopLimit:ob(.5,B.prototype.size,!0),trapezoid:vb(.5,Z.prototype.size,
-Z.prototype.fixedSize),parallelogram:vb(1,H.prototype.size,H.prototype.fixedSize)};Graph.createHandle=Ta;Graph.handleFactory=kb;var nb=mxVertexHandler.prototype.createCustomHandles;mxVertexHandler.prototype.createCustomHandles=function(){var c=nb.apply(this,arguments);if(this.graph.isCellRotatable(this.state.cell)){var k=this.state.style.shape;null==mxCellRenderer.defaultShapes[k]&&null==mxStencilRegistry.getStencil(k)?k=mxConstants.SHAPE_RECTANGLE:this.state.view.graph.isSwimlane(this.state.cell)&&
-(k=mxConstants.SHAPE_SWIMLANE);k=kb[k];null==k&&null!=this.state.shape&&this.state.shape.isRoundable()&&(k=kb[mxConstants.SHAPE_RECTANGLE]);null!=k&&(k=k(this.state),null!=k&&(c=null==c?k:c.concat(k)))}return c};mxEdgeHandler.prototype.createCustomHandles=function(){var c=this.state.style.shape;null==mxCellRenderer.defaultShapes[c]&&null==mxStencilRegistry.getStencil(c)&&(c=mxConstants.SHAPE_CONNECTOR);c=kb[c];return null!=c?c(this.state):null}}else Graph.createHandle=function(){},Graph.handleFactory=
-{};var ab=new mxPoint(1,0),pb=new mxPoint(1,0),wb=mxUtils.toRadians(-30);ab=mxUtils.getRotatedPoint(ab,Math.cos(wb),Math.sin(wb));var xb=mxUtils.toRadians(-150);pb=mxUtils.getRotatedPoint(pb,Math.cos(xb),Math.sin(xb));mxEdgeStyle.IsometricConnector=function(c,k,t,m,r){var v=c.view;m=null!=m&&0<m.length?m[0]:null;var x=c.absolutePoints,J=x[0];x=x[x.length-1];null!=m&&(m=v.transformControlPoint(c,m));null==J&&null!=k&&(J=new mxPoint(k.getCenterX(),k.getCenterY()));null==x&&null!=t&&(x=new mxPoint(t.getCenterX(),
-t.getCenterY()));var y=ab.x,aa=ab.y,R=pb.x,Ha=pb.y,Wa="horizontal"==mxUtils.getValue(c.style,"elbow","horizontal");if(null!=x&&null!=J){c=function(ka,qa,na){ka-=Qa.x;var la=qa-Qa.y;qa=(Ha*ka-R*la)/(y*Ha-aa*R);ka=(aa*ka-y*la)/(aa*R-y*Ha);Wa?(na&&(Qa=new mxPoint(Qa.x+y*qa,Qa.y+aa*qa),r.push(Qa)),Qa=new mxPoint(Qa.x+R*ka,Qa.y+Ha*ka)):(na&&(Qa=new mxPoint(Qa.x+R*ka,Qa.y+Ha*ka),r.push(Qa)),Qa=new mxPoint(Qa.x+y*qa,Qa.y+aa*qa));r.push(Qa)};var Qa=J;null==m&&(m=new mxPoint(J.x+(x.x-J.x)/2,J.y+(x.y-J.y)/
-2));c(m.x,m.y,!0);c(x.x,x.y,!1)}};mxStyleRegistry.putValue("isometricEdgeStyle",mxEdgeStyle.IsometricConnector);var zb=Graph.prototype.createEdgeHandler;Graph.prototype.createEdgeHandler=function(c,k){if(k==mxEdgeStyle.IsometricConnector){var t=new mxElbowEdgeHandler(c);t.snapToTerminals=!1;return t}return zb.apply(this,arguments)};h.prototype.constraints=[];n.prototype.getConstraints=function(c,k,t){c=[];var m=Math.tan(mxUtils.toRadians(30)),r=(.5-m)/2;m=Math.min(k,t/(.5+m));k=(k-m)/2;t=(t-m)/2;
-c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k,t+.25*m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k+.5*m,t+m*r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k+m,t+.25*m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k+m,t+.75*m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k+.5*m,t+(1-r)*m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k,t+.75*m));return c};w.prototype.getConstraints=function(c,k,t){c=[];var m=
-Math.max(.01,Math.min(94,parseFloat(mxUtils.getValue(this.style,"isoAngle",this.isoAngle))))*Math.PI/200;m=Math.min(k*Math.tan(m),.5*t);c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k,m));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k,t-m));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,t-
-m));c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,m));return c};ba.prototype.getConstraints=function(c,k,t){c=[];mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE);var m=Math.max(0,Math.min(t,parseFloat(mxUtils.getValue(this.style,"size",this.size))));parseFloat(mxUtils.getValue(this.style,"position",this.position));var r=k*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"position2",this.position2))));
-parseFloat(mxUtils.getValue(this.style,"base",this.base));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1));c.push(new mxConnectionConstraint(new mxPoint(.25,0),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(.75,0),!1));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k,.5*(t-m)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k,t-m));c.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,r,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,t-m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(t-m)));k>=2*m&&c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));return c};mxRectangleShape.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!0),new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(1,
+m&&x.push(v[J]);r.setCellStyles(mxConstants.STYLE_STARTSIZE,c.style[mxConstants.STYLE_STARTSIZE],x)}}));return l},label:Ua(),ext:Ua(),rectangle:Ua(),triangle:Ua(),rhombus:Ua(),umlLifeline:function(c){return[Ra(c,["size"],function(l){var t=Math.max(0,Math.min(l.height,parseFloat(mxUtils.getValue(this.state.style,"size",ra.prototype.size))));return new mxPoint(l.getCenterX(),l.y+t)},function(l,t){this.state.style.size=Math.round(Math.max(0,Math.min(l.height,t.y-l.y)))},!1)]},umlFrame:function(c){return[Ra(c,
+["width","height"],function(l){var t=Math.max(ta.prototype.corner,Math.min(l.width,mxUtils.getValue(this.state.style,"width",ta.prototype.width))),m=Math.max(1.5*ta.prototype.corner,Math.min(l.height,mxUtils.getValue(this.state.style,"height",ta.prototype.height)));return new mxPoint(l.x+t,l.y+m)},function(l,t){this.state.style.width=Math.round(Math.max(ta.prototype.corner,Math.min(l.width,t.x-l.x)));this.state.style.height=Math.round(Math.max(1.5*ta.prototype.corner,Math.min(l.height,t.y-l.y)))},
+!1)]},process:function(c){var l=[Ra(c,["size"],function(t){var m="0"!=mxUtils.getValue(this.state.style,"fixedSize","0"),r=parseFloat(mxUtils.getValue(this.state.style,"size",L.prototype.size));return m?new mxPoint(t.x+r,t.y+t.height/4):new mxPoint(t.x+t.width*r,t.y+t.height/4)},function(t,m){t="0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?Math.max(0,Math.min(.5*t.width,m.x-t.x)):Math.max(0,Math.min(.5,(m.x-t.x)/t.width));this.state.style.size=t},!1)];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,
+!1)&&l.push(fb(c));return l},cross:function(c){return[Ra(c,["size"],function(l){var t=Math.min(l.width,l.height);t=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"size",Oa.prototype.size)))*t/2;return new mxPoint(l.getCenterX()-t,l.getCenterY()-t)},function(l,t){var m=Math.min(l.width,l.height);this.state.style.size=Math.max(0,Math.min(1,Math.min(Math.max(0,l.getCenterY()-t.y)/m*2,Math.max(0,l.getCenterX()-t.x)/m*2)))})]},note:function(c){return[Ra(c,["size"],function(l){var t=Math.max(0,
+Math.min(l.width,Math.min(l.height,parseFloat(mxUtils.getValue(this.state.style,"size",k.prototype.size)))));return new mxPoint(l.x+l.width-t,l.y+t)},function(l,t){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(l.width,l.x+l.width-t.x),Math.min(l.height,t.y-l.y))))})]},note2:function(c){return[Ra(c,["size"],function(l){var t=Math.max(0,Math.min(l.width,Math.min(l.height,parseFloat(mxUtils.getValue(this.state.style,"size",p.prototype.size)))));return new mxPoint(l.x+l.width-t,l.y+t)},
+function(l,t){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(l.width,l.x+l.width-t.x),Math.min(l.height,t.y-l.y))))})]},manualInput:function(c){var l=[Ra(c,["size"],function(t){var m=Math.max(0,Math.min(t.height,mxUtils.getValue(this.state.style,"size",gb.prototype.size)));return new mxPoint(t.x+t.width/4,t.y+3*m/4)},function(t,m){this.state.style.size=Math.round(Math.max(0,Math.min(t.height,4*(m.y-t.y)/3)))},!1)];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,!1)&&l.push(fb(c));
+return l},dataStorage:function(c){return[Ra(c,["size"],function(l){var t="0"!=mxUtils.getValue(this.state.style,"fixedSize","0"),m=parseFloat(mxUtils.getValue(this.state.style,"size",t?wa.prototype.fixedSize:wa.prototype.size));return new mxPoint(l.x+l.width-m*(t?1:l.width),l.getCenterY())},function(l,t){l="0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?Math.max(0,Math.min(l.width,l.x+l.width-t.x)):Math.max(0,Math.min(1,(l.x+l.width-t.x)/l.width));this.state.style.size=l},!1)]},callout:function(c){var l=
+[Ra(c,["size","position"],function(t){var m=Math.max(0,Math.min(t.height,mxUtils.getValue(this.state.style,"size",ba.prototype.size))),r=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",ba.prototype.position)));mxUtils.getValue(this.state.style,"base",ba.prototype.base);return new mxPoint(t.x+r*t.width,t.y+t.height-m)},function(t,m){mxUtils.getValue(this.state.style,"base",ba.prototype.base);this.state.style.size=Math.round(Math.max(0,Math.min(t.height,t.y+t.height-m.y)));this.state.style.position=
+Math.round(100*Math.max(0,Math.min(1,(m.x-t.x)/t.width)))/100},!1),Ra(c,["position2"],function(t){var m=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position2",ba.prototype.position2)));return new mxPoint(t.x+m*t.width,t.y+t.height)},function(t,m){this.state.style.position2=Math.round(100*Math.max(0,Math.min(1,(m.x-t.x)/t.width)))/100},!1),Ra(c,["base"],function(t){var m=Math.max(0,Math.min(t.height,mxUtils.getValue(this.state.style,"size",ba.prototype.size))),r=Math.max(0,Math.min(1,
+mxUtils.getValue(this.state.style,"position",ba.prototype.position))),v=Math.max(0,Math.min(t.width,mxUtils.getValue(this.state.style,"base",ba.prototype.base)));return new mxPoint(t.x+Math.min(t.width,r*t.width+v),t.y+t.height-m)},function(t,m){var r=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",ba.prototype.position)));this.state.style.base=Math.round(Math.max(0,Math.min(t.width,m.x-t.x-r*t.width)))},!1)];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,!1)&&l.push(fb(c));
+return l},internalStorage:function(c){var l=[Ra(c,["dx","dy"],function(t){var m=Math.max(0,Math.min(t.width,mxUtils.getValue(this.state.style,"dx",db.prototype.dx))),r=Math.max(0,Math.min(t.height,mxUtils.getValue(this.state.style,"dy",db.prototype.dy)));return new mxPoint(t.x+m,t.y+r)},function(t,m){this.state.style.dx=Math.round(Math.max(0,Math.min(t.width,m.x-t.x)));this.state.style.dy=Math.round(Math.max(0,Math.min(t.height,m.y-t.y)))},!1)];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,!1)&&
+l.push(fb(c));return l},module:function(c){return[Ra(c,["jettyWidth","jettyHeight"],function(l){var t=Math.max(0,Math.min(l.width,mxUtils.getValue(this.state.style,"jettyWidth",Na.prototype.jettyWidth))),m=Math.max(0,Math.min(l.height,mxUtils.getValue(this.state.style,"jettyHeight",Na.prototype.jettyHeight)));return new mxPoint(l.x+t/2,l.y+2*m)},function(l,t){this.state.style.jettyWidth=Math.round(2*Math.max(0,Math.min(l.width,t.x-l.x)));this.state.style.jettyHeight=Math.round(Math.max(0,Math.min(l.height,
+t.y-l.y))/2)})]},corner:function(c){return[Ra(c,["dx","dy"],function(l){var t=Math.max(0,Math.min(l.width,mxUtils.getValue(this.state.style,"dx",hb.prototype.dx))),m=Math.max(0,Math.min(l.height,mxUtils.getValue(this.state.style,"dy",hb.prototype.dy)));return new mxPoint(l.x+t,l.y+m)},function(l,t){this.state.style.dx=Math.round(Math.max(0,Math.min(l.width,t.x-l.x)));this.state.style.dy=Math.round(Math.max(0,Math.min(l.height,t.y-l.y)))},!1)]},tee:function(c){return[Ra(c,["dx","dy"],function(l){var t=
+Math.max(0,Math.min(l.width,mxUtils.getValue(this.state.style,"dx",cb.prototype.dx))),m=Math.max(0,Math.min(l.height,mxUtils.getValue(this.state.style,"dy",cb.prototype.dy)));return new mxPoint(l.x+(l.width+t)/2,l.y+m)},function(l,t){this.state.style.dx=Math.round(Math.max(0,2*Math.min(l.width/2,t.x-l.x-l.width/2)));this.state.style.dy=Math.round(Math.max(0,Math.min(l.height,t.y-l.y)))},!1)]},singleArrow:tb(1),doubleArrow:tb(.5),"mxgraph.arrows2.wedgeArrow":qb(20,20),"mxgraph.arrows2.wedgeArrowDashed":qb(20,
+20),"mxgraph.arrows2.wedgeArrowDashed2":qb(20,20),folder:function(c){return[Ra(c,["tabWidth","tabHeight"],function(l){var t=Math.max(0,Math.min(l.width,mxUtils.getValue(this.state.style,"tabWidth",D.prototype.tabWidth))),m=Math.max(0,Math.min(l.height,mxUtils.getValue(this.state.style,"tabHeight",D.prototype.tabHeight)));mxUtils.getValue(this.state.style,"tabPosition",D.prototype.tabPosition)==mxConstants.ALIGN_RIGHT&&(t=l.width-t);return new mxPoint(l.x+t,l.y+m)},function(l,t){var m=Math.max(0,Math.min(l.width,
+t.x-l.x));mxUtils.getValue(this.state.style,"tabPosition",D.prototype.tabPosition)==mxConstants.ALIGN_RIGHT&&(m=l.width-m);this.state.style.tabWidth=Math.round(m);this.state.style.tabHeight=Math.round(Math.max(0,Math.min(l.height,t.y-l.y)))},!1)]},document:function(c){return[Ra(c,["size"],function(l){var t=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",P.prototype.size))));return new mxPoint(l.x+3*l.width/4,l.y+(1-t)*l.height)},function(l,t){this.state.style.size=Math.max(0,
+Math.min(1,(l.y+l.height-t.y)/l.height))},!1)]},tape:function(c){return[Ra(c,["size"],function(l){var t=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",G.prototype.size))));return new mxPoint(l.getCenterX(),l.y+t*l.height/2)},function(l,t){this.state.style.size=Math.max(0,Math.min(1,(t.y-l.y)/l.height*2))},!1)]},isoCube2:function(c){return[Ra(c,["isoAngle"],function(l){var t=Math.max(.01,Math.min(94,parseFloat(mxUtils.getValue(this.state.style,"isoAngle",w.isoAngle))))*Math.PI/
+200;return new mxPoint(l.x,l.y+Math.min(l.width*Math.tan(t),.5*l.height))},function(l,t){this.state.style.isoAngle=Math.max(0,50*(t.y-l.y)/l.height)},!0)]},cylinder2:ub(z.prototype.size),cylinder3:ub(C.prototype.size),offPageConnector:function(c){return[Ra(c,["size"],function(l){var t=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",E.prototype.size))));return new mxPoint(l.getCenterX(),l.y+(1-t)*l.height)},function(l,t){this.state.style.size=Math.max(0,Math.min(1,(l.y+l.height-
+t.y)/l.height))},!1)]},"mxgraph.basic.rect":function(c){var l=[Graph.createHandle(c,["size"],function(t){var m=Math.max(0,Math.min(t.width/2,t.height/2,parseFloat(mxUtils.getValue(this.state.style,"size",this.size))));return new mxPoint(t.x+m,t.y+m)},function(t,m){this.state.style.size=Math.round(100*Math.max(0,Math.min(t.height/2,t.width/2,m.x-t.x)))/100})];c=Graph.createHandle(c,["indent"],function(t){var m=Math.max(0,Math.min(100,parseFloat(mxUtils.getValue(this.state.style,"indent",this.dx2))));
+return new mxPoint(t.x+.75*t.width,t.y+m*t.height/200)},function(t,m){this.state.style.indent=Math.round(100*Math.max(0,Math.min(100,200*(m.y-t.y)/t.height)))/100});l.push(c);return l},step:rb(ja.prototype.size,!0,null,!0,ja.prototype.fixedSize),hexagon:rb(sa.prototype.size,!0,.5,!0,sa.prototype.fixedSize),curlyBracket:rb(S.prototype.size,!1),display:rb(Ma.prototype.size,!1),cube:nb(1,f.prototype.size,!1),card:nb(.5,K.prototype.size,!0),loopLimit:nb(.5,B.prototype.size,!0),trapezoid:vb(.5,Z.prototype.size,
+Z.prototype.fixedSize),parallelogram:vb(1,I.prototype.size,I.prototype.fixedSize)};Graph.createHandle=Ra;Graph.handleFactory=jb;var mb=mxVertexHandler.prototype.createCustomHandles;mxVertexHandler.prototype.createCustomHandles=function(){var c=mb.apply(this,arguments);if(this.graph.isCellRotatable(this.state.cell)){var l=this.state.style.shape;null==mxCellRenderer.defaultShapes[l]&&null==mxStencilRegistry.getStencil(l)?l=mxConstants.SHAPE_RECTANGLE:this.state.view.graph.isSwimlane(this.state.cell)&&
+(l=mxConstants.SHAPE_SWIMLANE);l=jb[l];null==l&&null!=this.state.shape&&this.state.shape.isRoundable()&&(l=jb[mxConstants.SHAPE_RECTANGLE]);null!=l&&(l=l(this.state),null!=l&&(c=null==c?l:c.concat(l)))}return c};mxEdgeHandler.prototype.createCustomHandles=function(){var c=this.state.style.shape;null==mxCellRenderer.defaultShapes[c]&&null==mxStencilRegistry.getStencil(c)&&(c=mxConstants.SHAPE_CONNECTOR);c=jb[c];return null!=c?c(this.state):null}}else Graph.createHandle=function(){},Graph.handleFactory=
+{};var $a=new mxPoint(1,0),pb=new mxPoint(1,0),wb=mxUtils.toRadians(-30);$a=mxUtils.getRotatedPoint($a,Math.cos(wb),Math.sin(wb));var xb=mxUtils.toRadians(-150);pb=mxUtils.getRotatedPoint(pb,Math.cos(xb),Math.sin(xb));mxEdgeStyle.IsometricConnector=function(c,l,t,m,r){var v=c.view;m=null!=m&&0<m.length?m[0]:null;var x=c.absolutePoints,J=x[0];x=x[x.length-1];null!=m&&(m=v.transformControlPoint(c,m));null==J&&null!=l&&(J=new mxPoint(l.getCenterX(),l.getCenterY()));null==x&&null!=t&&(x=new mxPoint(t.getCenterX(),
+t.getCenterY()));var y=$a.x,aa=$a.y,R=pb.x,Ga=pb.y,Va="horizontal"==mxUtils.getValue(c.style,"elbow","horizontal");if(null!=x&&null!=J){c=function(ka,qa,oa){ka-=Pa.x;var la=qa-Pa.y;qa=(Ga*ka-R*la)/(y*Ga-aa*R);ka=(aa*ka-y*la)/(aa*R-y*Ga);Va?(oa&&(Pa=new mxPoint(Pa.x+y*qa,Pa.y+aa*qa),r.push(Pa)),Pa=new mxPoint(Pa.x+R*ka,Pa.y+Ga*ka)):(oa&&(Pa=new mxPoint(Pa.x+R*ka,Pa.y+Ga*ka),r.push(Pa)),Pa=new mxPoint(Pa.x+y*qa,Pa.y+aa*qa));r.push(Pa)};var Pa=J;null==m&&(m=new mxPoint(J.x+(x.x-J.x)/2,J.y+(x.y-J.y)/
+2));c(m.x,m.y,!0);c(x.x,x.y,!1)}};mxStyleRegistry.putValue("isometricEdgeStyle",mxEdgeStyle.IsometricConnector);var zb=Graph.prototype.createEdgeHandler;Graph.prototype.createEdgeHandler=function(c,l){if(l==mxEdgeStyle.IsometricConnector){var t=new mxElbowEdgeHandler(c);t.snapToTerminals=!1;return t}return zb.apply(this,arguments)};g.prototype.constraints=[];n.prototype.getConstraints=function(c,l,t){c=[];var m=Math.tan(mxUtils.toRadians(30)),r=(.5-m)/2;m=Math.min(l,t/(.5+m));l=(l-m)/2;t=(t-m)/2;
+c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l,t+.25*m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l+.5*m,t+m*r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l+m,t+.25*m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l+m,t+.75*m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l+.5*m,t+(1-r)*m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l,t+.75*m));return c};w.prototype.getConstraints=function(c,l,t){c=[];var m=
+Math.max(.01,Math.min(94,parseFloat(mxUtils.getValue(this.style,"isoAngle",this.isoAngle))))*Math.PI/200;m=Math.min(l*Math.tan(m),.5*t);c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l,m));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l,t-m));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,t-
+m));c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,m));return c};ba.prototype.getConstraints=function(c,l,t){c=[];mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE);var m=Math.max(0,Math.min(t,parseFloat(mxUtils.getValue(this.style,"size",this.size))));parseFloat(mxUtils.getValue(this.style,"position",this.position));var r=l*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"position2",this.position2))));
+parseFloat(mxUtils.getValue(this.style,"base",this.base));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1));c.push(new mxConnectionConstraint(new mxPoint(.25,0),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(.75,0),!1));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l,.5*(t-m)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l,t-m));c.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,r,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,t-m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(t-m)));l>=2*m&&c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));return c};mxRectangleShape.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!0),new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(1,
0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0),
-new mxConnectionConstraint(new mxPoint(1,1),!0)];mxEllipse.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(1,.5))];ua.prototype.constraints=mxRectangleShape.prototype.constraints;
-mxImageShape.prototype.constraints=mxRectangleShape.prototype.constraints;mxSwimlane.prototype.constraints=mxRectangleShape.prototype.constraints;P.prototype.constraints=mxRectangleShape.prototype.constraints;mxLabel.prototype.constraints=mxRectangleShape.prototype.constraints;l.prototype.getConstraints=function(c,k,t){c=[];var m=Math.max(0,Math.min(k,Math.min(t,parseFloat(mxUtils.getValue(this.style,"size",this.size)))));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,.5*(k-m),0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k-m,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k-.5*m,.5*m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k,m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k,.5*(t+m)));c.push(new mxConnectionConstraint(new mxPoint(1,1),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(0,1),!1));c.push(new mxConnectionConstraint(new mxPoint(0,
-.5),!1));k>=2*m&&c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));return c};K.prototype.getConstraints=function(c,k,t){c=[];var m=Math.max(0,Math.min(k,Math.min(t,parseFloat(mxUtils.getValue(this.style,"size",this.size)))));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(k+m),0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*m,.5*m));c.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,0,m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(t+m)));c.push(new mxConnectionConstraint(new mxPoint(0,1),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(1,1),!1));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));k>=2*m&&c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));return c};e.prototype.getConstraints=function(c,k,t){c=[];var m=Math.max(0,Math.min(k,Math.min(t,parseFloat(mxUtils.getValue(this.style,
-"size",this.size)))));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(k-m),0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k-m,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k-.5*m,.5*m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k,m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k,.5*(t+m)));c.push(new mxConnectionConstraint(new mxPoint(1,1),!1));c.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,.5*(k+m),t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*m,t-.5*m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,t-m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(t-m)));return c};C.prototype.getConstraints=function(c,k,t){c=[];k=Math.max(0,Math.min(t,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,
-.5),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,k));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1,null,0,k));c.push(new mxConnectionConstraint(new mxPoint(1,1),!1,null,0,-k));c.push(new mxConnectionConstraint(new mxPoint(0,1),!1,null,0,-k));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,k+.5*(.5*t-k)));c.push(new mxConnectionConstraint(new mxPoint(1,
-0),!1,null,0,k+.5*(.5*t-k)));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1,null,0,t-k-.5*(.5*t-k)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,t-k-.5*(.5*t-k)));c.push(new mxConnectionConstraint(new mxPoint(.145,0),!1,null,0,.29*k));c.push(new mxConnectionConstraint(new mxPoint(.855,0),!1,null,0,.29*k));c.push(new mxConnectionConstraint(new mxPoint(.855,1),!1,null,0,.29*-k));c.push(new mxConnectionConstraint(new mxPoint(.145,1),!1,null,0,.29*-k));return c};D.prototype.getConstraints=
-function(c,k,t){c=[];var m=Math.max(0,Math.min(k,parseFloat(mxUtils.getValue(this.style,"tabWidth",this.tabWidth)))),r=Math.max(0,Math.min(t,parseFloat(mxUtils.getValue(this.style,"tabHeight",this.tabHeight))));"left"==mxUtils.getValue(this.style,"tabPosition",this.tabPosition)?(c.push(new mxConnectionConstraint(new mxPoint(0,0),!1)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*m,0)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,0)),c.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,m,r)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(k+m),r))):(c.push(new mxConnectionConstraint(new mxPoint(1,0),!1)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k-.5*m,0)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k-m,0)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k-m,r)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(k-m),r)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k,r));c.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,k,.25*(t-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k,.5*(t-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k,.75*(t-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.25*(t-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(t-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,0,.75*(t-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,t));c.push(new mxConnectionConstraint(new mxPoint(.25,1),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(.75,1),!1));return c};cb.prototype.constraints=mxRectangleShape.prototype.constraints;ya.prototype.constraints=mxRectangleShape.prototype.constraints;N.prototype.constraints=mxEllipse.prototype.constraints;Q.prototype.constraints=mxEllipse.prototype.constraints;
-T.prototype.constraints=mxEllipse.prototype.constraints;Ja.prototype.constraints=mxEllipse.prototype.constraints;gb.prototype.constraints=mxRectangleShape.prototype.constraints;Ka.prototype.constraints=mxRectangleShape.prototype.constraints;Ba.prototype.getConstraints=function(c,k,t){c=[];var m=Math.min(k,t/2),r=Math.min(k-m,Math.max(0,parseFloat(mxUtils.getValue(this.style,"size",this.size)))*k);c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1,null));c.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,r,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(r+k-m),0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k-m,0));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1,null));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k-m,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(r+k-m),t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,t));return c};Oa.prototype.getConstraints=function(c,k,t){k=parseFloat(mxUtils.getValue(c,
-"jettyWidth",Oa.prototype.jettyWidth))/2;c=parseFloat(mxUtils.getValue(c,"jettyHeight",Oa.prototype.jettyHeight));var m=[new mxConnectionConstraint(new mxPoint(0,0),!1,null,k),new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,
-.75),!0),new mxConnectionConstraint(new mxPoint(0,1),!1,null,k),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,Math.min(t-.5*c,1.5*c)),new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,Math.min(t-.5*c,3.5*c))];t>5*c&&m.push(new mxConnectionConstraint(new mxPoint(0,.75),!1,null,k));t>8*c&&m.push(new mxConnectionConstraint(new mxPoint(0,
-.5),!1,null,k));t>15*c&&m.push(new mxConnectionConstraint(new mxPoint(0,.25),!1,null,k));return m};B.prototype.constraints=mxRectangleShape.prototype.constraints;E.prototype.constraints=mxRectangleShape.prototype.constraints;mxCylinder.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.15,.05),!1),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.85,.05),!1),new mxConnectionConstraint(new mxPoint(0,.3),!0),new mxConnectionConstraint(new mxPoint(0,
+new mxConnectionConstraint(new mxPoint(1,1),!0)];mxEllipse.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(1,.5))];ya.prototype.constraints=mxRectangleShape.prototype.constraints;
+mxImageShape.prototype.constraints=mxRectangleShape.prototype.constraints;mxSwimlane.prototype.constraints=mxRectangleShape.prototype.constraints;O.prototype.constraints=mxRectangleShape.prototype.constraints;mxLabel.prototype.constraints=mxRectangleShape.prototype.constraints;k.prototype.getConstraints=function(c,l,t){c=[];var m=Math.max(0,Math.min(l,Math.min(t,parseFloat(mxUtils.getValue(this.style,"size",this.size)))));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,.5*(l-m),0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l-m,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l-.5*m,.5*m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l,m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l,.5*(t+m)));c.push(new mxConnectionConstraint(new mxPoint(1,1),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(0,1),!1));c.push(new mxConnectionConstraint(new mxPoint(0,
+.5),!1));l>=2*m&&c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));return c};K.prototype.getConstraints=function(c,l,t){c=[];var m=Math.max(0,Math.min(l,Math.min(t,parseFloat(mxUtils.getValue(this.style,"size",this.size)))));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(l+m),0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*m,.5*m));c.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,0,m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(t+m)));c.push(new mxConnectionConstraint(new mxPoint(0,1),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(1,1),!1));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));l>=2*m&&c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));return c};f.prototype.getConstraints=function(c,l,t){c=[];var m=Math.max(0,Math.min(l,Math.min(t,parseFloat(mxUtils.getValue(this.style,
+"size",this.size)))));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(l-m),0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l-m,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l-.5*m,.5*m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l,m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l,.5*(t+m)));c.push(new mxConnectionConstraint(new mxPoint(1,1),!1));c.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,.5*(l+m),t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*m,t-.5*m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,t-m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(t-m)));return c};C.prototype.getConstraints=function(c,l,t){c=[];l=Math.max(0,Math.min(t,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,
+.5),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,l));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1,null,0,l));c.push(new mxConnectionConstraint(new mxPoint(1,1),!1,null,0,-l));c.push(new mxConnectionConstraint(new mxPoint(0,1),!1,null,0,-l));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,l+.5*(.5*t-l)));c.push(new mxConnectionConstraint(new mxPoint(1,
+0),!1,null,0,l+.5*(.5*t-l)));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1,null,0,t-l-.5*(.5*t-l)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,t-l-.5*(.5*t-l)));c.push(new mxConnectionConstraint(new mxPoint(.145,0),!1,null,0,.29*l));c.push(new mxConnectionConstraint(new mxPoint(.855,0),!1,null,0,.29*l));c.push(new mxConnectionConstraint(new mxPoint(.855,1),!1,null,0,.29*-l));c.push(new mxConnectionConstraint(new mxPoint(.145,1),!1,null,0,.29*-l));return c};D.prototype.getConstraints=
+function(c,l,t){c=[];var m=Math.max(0,Math.min(l,parseFloat(mxUtils.getValue(this.style,"tabWidth",this.tabWidth)))),r=Math.max(0,Math.min(t,parseFloat(mxUtils.getValue(this.style,"tabHeight",this.tabHeight))));"left"==mxUtils.getValue(this.style,"tabPosition",this.tabPosition)?(c.push(new mxConnectionConstraint(new mxPoint(0,0),!1)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*m,0)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,0)),c.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,m,r)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(l+m),r))):(c.push(new mxConnectionConstraint(new mxPoint(1,0),!1)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l-.5*m,0)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l-m,0)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l-m,r)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(l-m),r)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l,r));c.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,l,.25*(t-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l,.5*(t-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l,.75*(t-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.25*(t-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(t-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,0,.75*(t-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,t));c.push(new mxConnectionConstraint(new mxPoint(.25,1),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(.75,1),!1));return c};db.prototype.constraints=mxRectangleShape.prototype.constraints;wa.prototype.constraints=mxRectangleShape.prototype.constraints;N.prototype.constraints=mxEllipse.prototype.constraints;Q.prototype.constraints=mxEllipse.prototype.constraints;
+W.prototype.constraints=mxEllipse.prototype.constraints;xa.prototype.constraints=mxEllipse.prototype.constraints;gb.prototype.constraints=mxRectangleShape.prototype.constraints;Da.prototype.constraints=mxRectangleShape.prototype.constraints;Ma.prototype.getConstraints=function(c,l,t){c=[];var m=Math.min(l,t/2),r=Math.min(l-m,Math.max(0,parseFloat(mxUtils.getValue(this.style,"size",this.size)))*l);c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1,null));c.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,r,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(r+l-m),0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l-m,0));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1,null));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l-m,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(r+l-m),t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,t));return c};Na.prototype.getConstraints=function(c,l,t){l=parseFloat(mxUtils.getValue(c,
+"jettyWidth",Na.prototype.jettyWidth))/2;c=parseFloat(mxUtils.getValue(c,"jettyHeight",Na.prototype.jettyHeight));var m=[new mxConnectionConstraint(new mxPoint(0,0),!1,null,l),new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,
+.75),!0),new mxConnectionConstraint(new mxPoint(0,1),!1,null,l),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,Math.min(t-.5*c,1.5*c)),new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,Math.min(t-.5*c,3.5*c))];t>5*c&&m.push(new mxConnectionConstraint(new mxPoint(0,.75),!1,null,l));t>8*c&&m.push(new mxConnectionConstraint(new mxPoint(0,
+.5),!1,null,l));t>15*c&&m.push(new mxConnectionConstraint(new mxPoint(0,.25),!1,null,l));return m};B.prototype.constraints=mxRectangleShape.prototype.constraints;E.prototype.constraints=mxRectangleShape.prototype.constraints;mxCylinder.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.15,.05),!1),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.85,.05),!1),new mxConnectionConstraint(new mxPoint(0,.3),!0),new mxConnectionConstraint(new mxPoint(0,
.5),!0),new mxConnectionConstraint(new mxPoint(0,.7),!0),new mxConnectionConstraint(new mxPoint(1,.3),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.7),!0),new mxConnectionConstraint(new mxPoint(.15,.95),!1),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.85,.95),!1)];ca.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,.1),!1),new mxConnectionConstraint(new mxPoint(.5,0),!1),new mxConnectionConstraint(new mxPoint(.75,
-.1),!1),new mxConnectionConstraint(new mxPoint(0,1/3),!1),new mxConnectionConstraint(new mxPoint(0,1),!1),new mxConnectionConstraint(new mxPoint(1,1/3),!1),new mxConnectionConstraint(new mxPoint(1,1),!1),new mxConnectionConstraint(new mxPoint(.5,.5),!1)];Ra.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(0,.3),!0),new mxConnectionConstraint(new mxPoint(0,
+.1),!1),new mxConnectionConstraint(new mxPoint(0,1/3),!1),new mxConnectionConstraint(new mxPoint(0,1),!1),new mxConnectionConstraint(new mxPoint(1,1/3),!1),new mxConnectionConstraint(new mxPoint(1,1),!1),new mxConnectionConstraint(new mxPoint(.5,.5),!1)];Qa.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(0,.3),!0),new mxConnectionConstraint(new mxPoint(0,
.7),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0)];mxActor.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.25,.2),!1),new mxConnectionConstraint(new mxPoint(.1,.5),!1),new mxConnectionConstraint(new mxPoint(0,
.75),!0),new mxConnectionConstraint(new mxPoint(.75,.25),!1),new mxConnectionConstraint(new mxPoint(.9,.5),!1),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0)];F.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!1),new mxConnectionConstraint(new mxPoint(.5,.25),!1),new mxConnectionConstraint(new mxPoint(1,0),!1),new mxConnectionConstraint(new mxPoint(.25,
-.5),!1),new mxConnectionConstraint(new mxPoint(.75,.5),!1),new mxConnectionConstraint(new mxPoint(0,1),!1),new mxConnectionConstraint(new mxPoint(.5,.75),!1),new mxConnectionConstraint(new mxPoint(1,1),!1)];I.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.35),!1),new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(0,.65),!1),new mxConnectionConstraint(new mxPoint(1,.35),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(1,
+.5),!1),new mxConnectionConstraint(new mxPoint(.75,.5),!1),new mxConnectionConstraint(new mxPoint(0,1),!1),new mxConnectionConstraint(new mxPoint(.5,.75),!1),new mxConnectionConstraint(new mxPoint(1,1),!1)];G.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.35),!1),new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(0,.65),!1),new mxConnectionConstraint(new mxPoint(1,.35),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(1,
.65),!1),new mxConnectionConstraint(new mxPoint(.25,1),!1),new mxConnectionConstraint(new mxPoint(.75,0),!1)];ja.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,
-.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0)];mxLine.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.75,.5),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1)];Ua.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.5,
+.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0)];mxLine.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.75,.5),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1)];Sa.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.5,
0),!1),new mxConnectionConstraint(new mxPoint(.5,1),!1)];mxDoubleEllipse.prototype.constraints=mxEllipse.prototype.constraints;mxRhombus.prototype.constraints=mxEllipse.prototype.constraints;mxTriangle.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(1,
.5),!0)];mxHexagon.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.375,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.625,0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.375,
1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.625,1),!0)];mxCloud.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,.25),!1),new mxConnectionConstraint(new mxPoint(.4,.1),!1),new mxConnectionConstraint(new mxPoint(.16,.55),!1),new mxConnectionConstraint(new mxPoint(.07,.4),!1),new mxConnectionConstraint(new mxPoint(.31,.8),!1),new mxConnectionConstraint(new mxPoint(.13,.77),!1),new mxConnectionConstraint(new mxPoint(.8,.8),!1),new mxConnectionConstraint(new mxPoint(.55,
-.95),!1),new mxConnectionConstraint(new mxPoint(.875,.5),!1),new mxConnectionConstraint(new mxPoint(.96,.7),!1),new mxConnectionConstraint(new mxPoint(.625,.2),!1),new mxConnectionConstraint(new mxPoint(.88,.25),!1)];H.prototype.constraints=mxRectangleShape.prototype.constraints;Z.prototype.constraints=mxRectangleShape.prototype.constraints;O.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,
-0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0)];mxArrow.prototype.constraints=null;fb.prototype.getConstraints=function(c,k,t){c=[];var m=Math.max(0,Math.min(k,parseFloat(mxUtils.getValue(this.style,"dx",this.dx)))),r=Math.max(0,Math.min(t,parseFloat(mxUtils.getValue(this.style,
-"dy",this.dy))));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k,.5*r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k,r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.75*k+.25*m,r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(k+m),r));c.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,.5*(k+m),.5*(t+r)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(k+m),t));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(k-m),t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(k-m),.5*(t+r)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(k-m),r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.25*k-.25*m,r));c.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,0,r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*r));return c};hb.prototype.getConstraints=function(c,k,t){c=[];var m=Math.max(0,Math.min(k,parseFloat(mxUtils.getValue(this.style,"dx",this.dx)))),r=Math.max(0,Math.min(t,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,k,.5*r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k,r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(k+m),r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.5*(t+r)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*m,t));c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,
-1),!1));return c};ib.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!1),new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(0,1),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.5,.5),!1),new mxConnectionConstraint(new mxPoint(.75,.5),!1),new mxConnectionConstraint(new mxPoint(1,0),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(1,1),!1)];fa.prototype.getConstraints=
-function(c,k,t){c=[];var m=t*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",this.arrowWidth)))),r=k*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",this.arrowSize))));m=(t-m)/2;c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(k-r),m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k-r,0));c.push(new mxConnectionConstraint(new mxPoint(1,
-.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k-r,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(k-r),t-m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,t-m));return c};Ga.prototype.getConstraints=function(c,k,t){c=[];var m=t*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",fa.prototype.arrowWidth)))),r=k*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",fa.prototype.arrowSize))));m=(t-m)/2;c.push(new mxConnectionConstraint(new mxPoint(0,
-.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*k,m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k-r,0));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k-r,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*k,t-m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,t));return c};xa.prototype.getConstraints=
-function(c,k,t){c=[];var m=Math.min(t,k),r=Math.max(0,Math.min(m,m*parseFloat(mxUtils.getValue(this.style,"size",this.size))));m=(t-r)/2;var v=m+r,x=(k-r)/2;r=x+r;c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,x,.5*m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,x,0));c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,.5*m));c.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,r,m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,x,t-.5*m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,x,t));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,t-.5*m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,v));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(k+r),m));c.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,k,m));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,k,v));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(k+r),v));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,x,v));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*x,m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,m));c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,0,v));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*x,v));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,x,m));return c};sa.prototype.constraints=null;u.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.25),!1),new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(0,.75),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(.7,.1),!1),new mxConnectionConstraint(new mxPoint(.7,
-.9),!1)];A.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.175,.25),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.175,.75),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(.7,.1),!1),new mxConnectionConstraint(new mxPoint(.7,.9),!1)];Fa.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1)];Ia.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,
+.95),!1),new mxConnectionConstraint(new mxPoint(.875,.5),!1),new mxConnectionConstraint(new mxPoint(.96,.7),!1),new mxConnectionConstraint(new mxPoint(.625,.2),!1),new mxConnectionConstraint(new mxPoint(.88,.25),!1)];I.prototype.constraints=mxRectangleShape.prototype.constraints;Z.prototype.constraints=mxRectangleShape.prototype.constraints;P.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,
+0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0)];mxArrow.prototype.constraints=null;cb.prototype.getConstraints=function(c,l,t){c=[];var m=Math.max(0,Math.min(l,parseFloat(mxUtils.getValue(this.style,"dx",this.dx)))),r=Math.max(0,Math.min(t,parseFloat(mxUtils.getValue(this.style,
+"dy",this.dy))));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l,.5*r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l,r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.75*l+.25*m,r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(l+m),r));c.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,.5*(l+m),.5*(t+r)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(l+m),t));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(l-m),t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(l-m),.5*(t+r)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(l-m),r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.25*l-.25*m,r));c.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,0,r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*r));return c};hb.prototype.getConstraints=function(c,l,t){c=[];var m=Math.max(0,Math.min(l,parseFloat(mxUtils.getValue(this.style,"dx",this.dx)))),r=Math.max(0,Math.min(t,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,l,.5*r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l,r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(l+m),r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.5*(t+r)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*m,t));c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,
+1),!1));return c};ob.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!1),new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(0,1),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.5,.5),!1),new mxConnectionConstraint(new mxPoint(.75,.5),!1),new mxConnectionConstraint(new mxPoint(1,0),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(1,1),!1)];ab.prototype.getConstraints=
+function(c,l,t){c=[];var m=t*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",this.arrowWidth)))),r=l*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",this.arrowSize))));m=(t-m)/2;c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(l-r),m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l-r,0));c.push(new mxConnectionConstraint(new mxPoint(1,
+.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l-r,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(l-r),t-m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,t-m));return c};da.prototype.getConstraints=function(c,l,t){c=[];var m=t*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",ab.prototype.arrowWidth)))),r=l*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",ab.prototype.arrowSize))));m=(t-m)/2;c.push(new mxConnectionConstraint(new mxPoint(0,
+.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*l,m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l-r,0));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l-r,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*l,t-m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,t));return c};Oa.prototype.getConstraints=
+function(c,l,t){c=[];var m=Math.min(t,l),r=Math.max(0,Math.min(m,m*parseFloat(mxUtils.getValue(this.style,"size",this.size))));m=(t-r)/2;var v=m+r,x=(l-r)/2;r=x+r;c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,x,.5*m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,x,0));c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,.5*m));c.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,r,m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,x,t-.5*m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,x,t));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,t-.5*m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,v));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(l+r),m));c.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,l,m));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l,v));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(l+r),v));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,x,v));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*x,m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,m));c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,0,v));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*x,v));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,x,m));return c};ra.prototype.constraints=null;u.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.25),!1),new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(0,.75),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(.7,.1),!1),new mxConnectionConstraint(new mxPoint(.7,
+.9),!1)];A.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.175,.25),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.175,.75),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(.7,.1),!1),new mxConnectionConstraint(new mxPoint(.7,.9),!1)];Fa.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1)];Ha.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,
.5),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1)]})();function Actions(a){this.editorUi=a;this.actions={};this.init()}
-Actions.prototype.init=function(){function a(l){f.escape();l=f.deleteCells(f.getDeletableCells(f.getSelectionCells()),l);null!=l&&f.setSelectionCells(l)}function b(){if(!f.isSelectionEmpty()){f.getModel().beginUpdate();try{for(var l=f.getSelectionCells(),p=0;p<l.length;p++)f.cellLabelChanged(l[p],"")}finally{f.getModel().endUpdate()}}}function d(l,p,w,z,C){C.getModel().beginUpdate();try{var F=C.getCellGeometry(l);null!=F&&w&&z&&(w/=z,F=F.clone(),1<w?F.height=F.width/w:F.width=F.height*w,C.getModel().setGeometry(l,
-F));C.setCellStyles(mxConstants.STYLE_CLIP_PATH,p,[l]);C.setCellStyles(mxConstants.STYLE_ASPECT,"fixed",[l])}finally{C.getModel().endUpdate()}}var e=this.editorUi,g=e.editor,f=g.graph,h=function(){return Action.prototype.isEnabled.apply(this,arguments)&&f.isEnabled()};this.addAction("new...",function(){f.openLink(e.getUrl())});this.addAction("open...",function(){window.openNew=!0;window.openKey="open";e.openFile()});this.put("smartFit",new Action(mxResources.get("fitWindow")+" / "+mxResources.get("resetView"),
-function(){f.popupMenuHandler.hideMenu();var l=f.view.scale,p=f.container.scrollLeft,w=f.container.scrollTop,z=f.view.translate.x,C=f.view.translate.y;e.actions.get("resetView").funct();1E-5>Math.abs(l-f.view.scale)&&5>Math.abs(p-f.container.scrollLeft)&&5>Math.abs(w-f.container.scrollTop)&&z==f.view.translate.x&&C==f.view.translate.y&&e.actions.get("fitWindow").funct()},null,null,"Enter"));this.addAction("keyPressEnter",function(){f.isSelectionEmpty()?e.actions.get("smartFit").funct():f.isEnabled()&&
-f.startEditingAtCell()});this.addAction("import...",function(){window.openNew=!1;window.openKey="import";window.openFile=new OpenFile(mxUtils.bind(this,function(){e.hideDialog()}));window.openFile.setConsumer(mxUtils.bind(this,function(l,p){try{var w=mxUtils.parseXml(l);g.graph.setSelectionCells(g.graph.importGraphModel(w.documentElement))}catch(z){mxUtils.alert(mxResources.get("invalidOrMissingFile")+": "+z.message)}}));e.showDialog((new OpenDialog(this)).container,320,220,!0,!0,function(){window.openFile=
-null})}).isEnabled=h;this.addAction("save",function(){e.saveFile(!1)},null,null,Editor.ctrlKey+"+S").isEnabled=h;this.addAction("saveAs...",function(){e.saveFile(!0)},null,null,Editor.ctrlKey+"+Shift+S");this.addAction("export...",function(){e.showDialog((new ExportDialog(e)).container,300,340,!0,!0)});this.addAction("editDiagram...",function(){var l=new EditDiagramDialog(e);e.showDialog(l.container,620,420,!0,!1);l.init()}).isEnabled=h;this.addAction("pageSetup...",function(){e.showDialog((new PageSetupDialog(e)).container,
-320,240,!0,!0)}).isEnabled=h;this.addAction("print...",function(){e.showPrintDialog()},null,"sprite-print",Editor.ctrlKey+"+P");this.addAction("preview",function(){mxUtils.show(f,null,10,10)});this.addAction("undo",function(){e.undo()},null,"sprite-undo",Editor.ctrlKey+"+Z");this.addAction("redo",function(){e.redo()},null,"sprite-redo",mxClient.IS_WIN?Editor.ctrlKey+"+Y":Editor.ctrlKey+"+Shift+Z");this.addAction("cut",function(){var l=null;try{l=e.copyXml(),null!=l&&f.removeCells(l,!1)}catch(p){}try{null==
-l&&mxClipboard.cut(f)}catch(p){e.handleError(p)}},null,"sprite-cut",Editor.ctrlKey+"+X");this.addAction("copy",function(){try{e.copyXml()}catch(l){}try{mxClipboard.copy(f)}catch(l){e.handleError(l)}},null,"sprite-copy",Editor.ctrlKey+"+C");this.addAction("paste",function(){if(f.isEnabled()&&!f.isCellLocked(f.getDefaultParent())){var l=!1;try{Editor.enableNativeCipboard&&(e.readGraphModelFromClipboard(function(p){if(null!=p){f.getModel().beginUpdate();try{e.pasteXml(p,!0)}finally{f.getModel().endUpdate()}}else mxClipboard.paste(f)}),
-l=!0)}catch(p){}l||mxClipboard.paste(f)}},!1,"sprite-paste",Editor.ctrlKey+"+V");this.addAction("pasteHere",function(l){function p(z){if(null!=z){for(var C=!0,F=0;F<z.length&&C;F++)C=C&&f.model.isEdge(z[F]);var D=f.view.translate;F=f.view.scale;var G=D.x,K=D.y;D=null;if(1==z.length&&C){var I=f.getCellGeometry(z[0]);null!=I&&(D=I.getTerminalPoint(!0))}D=null!=D?D:f.getBoundingBoxFromGeometry(z,C);null!=D&&(C=Math.round(f.snap(f.popupMenuHandler.triggerX/F-G)),F=Math.round(f.snap(f.popupMenuHandler.triggerY/
-F-K)),f.cellsMoved(z,C-D.x,F-D.y))}}function w(){f.getModel().beginUpdate();try{p(mxClipboard.paste(f))}finally{f.getModel().endUpdate()}}if(f.isEnabled()&&!f.isCellLocked(f.getDefaultParent())){l=!1;try{Editor.enableNativeCipboard&&(e.readGraphModelFromClipboard(function(z){if(null!=z){f.getModel().beginUpdate();try{p(e.pasteXml(z,!0))}finally{f.getModel().endUpdate()}}else w()}),l=!0)}catch(z){}l||w()}});this.addAction("swap",function(){var l=f.getSelectionCells();2==l.length&&f.swapShapes(l[0],
-l[1])});this.addAction("copySize",function(){var l=f.getSelectionCell();f.isEnabled()&&null!=l&&f.getModel().isVertex(l)&&(l=f.getCellGeometry(l),null!=l&&(e.copiedSize=new mxRectangle(l.x,l.y,l.width,l.height)))},null,null,"Alt+Shift+F");this.addAction("pasteSize",function(){if(f.isEnabled()&&!f.isSelectionEmpty()&&null!=e.copiedSize){f.getModel().beginUpdate();try{for(var l=f.getResizableCells(f.getSelectionCells()),p=0;p<l.length;p++)if(f.getModel().isVertex(l[p])){var w=f.getCellGeometry(l[p]);
-null!=w&&(w=w.clone(),w.width=e.copiedSize.width,w.height=e.copiedSize.height,f.getModel().setGeometry(l[p],w))}}finally{f.getModel().endUpdate()}}},null,null,"Alt+Shift+V");this.addAction("copyData",function(){var l=f.getSelectionCell()||f.getModel().getRoot();f.isEnabled()&&null!=l&&(l=l.cloneValue(),null==l||isNaN(l.nodeType)||(e.copiedValue=l))},null,null,"Alt+Shift+B");this.addAction("copyAsText",function(){var l=f.getSelectionCell();if(f.isEnabled()&&null!=l)try{f.isHtmlLabel(l)?e.writeHtmlToClipboard(f.getLabel(l),
-mxUtils.bind(this,function(p){e.handleError(p)})):e.writeTextToClipboard(f.getLabel(l),mxUtils.bind(this,function(p){e.handleError(p)}))}catch(p){e.handleError(p)}});this.addAction("pasteData",function(l,p){function w(F,D){var G=z.getValue(F);D=F.cloneValue(D);D.removeAttribute("placeholders");null==G||isNaN(G.nodeType)||D.setAttribute("placeholders",G.getAttribute("placeholders"));null!=l&&mxEvent.isShiftDown(l)||D.setAttribute("label",f.convertValueToString(F));z.setValue(F,D)}l=null!=p?p:l;var z=
-f.getModel();if(f.isEnabled()&&!f.isSelectionEmpty()&&null!=e.copiedValue){z.beginUpdate();try{var C=f.getEditableCells(f.getSelectionCells());if(0==C.length)w(z.getRoot(),e.copiedValue);else for(p=0;p<C.length;p++)w(C[p],e.copiedValue)}finally{z.endUpdate()}}},null,null,"Alt+Shift+E");this.addAction("delete",function(l,p){l=null!=p?p:l;null!=l&&mxEvent.isShiftDown(l)?b():a(null!=l&&(mxEvent.isControlDown(l)||mxEvent.isMetaDown(l)||mxEvent.isAltDown(l)))},null,null,"Delete");this.addAction("deleteAll",
-function(){a(!0)});this.addAction("deleteLabels",function(){b()},null,null,Editor.ctrlKey+"+Delete");this.addAction("duplicate",function(){try{f.setSelectionCells(f.duplicateCells()),f.scrollCellToVisible(f.getSelectionCell())}catch(l){e.handleError(l)}},null,null,Editor.ctrlKey+"+D");this.put("mergeCells",new Action(mxResources.get("merge"),function(){var l=e.getSelectionState();if(null!=l.mergeCell){f.getModel().beginUpdate();try{f.setCellStyles("rowspan",l.rowspan,[l.mergeCell]),f.setCellStyles("colspan",
-l.colspan,[l.mergeCell])}finally{f.getModel().endUpdate()}}}));this.put("unmergeCells",new Action(mxResources.get("unmerge"),function(){var l=e.getSelectionState();if(0<l.cells.length){f.getModel().beginUpdate();try{f.setCellStyles("rowspan",null,l.cells),f.setCellStyles("colspan",null,l.cells)}finally{f.getModel().endUpdate()}}}));this.put("turn",new Action(mxResources.get("turn")+" / "+mxResources.get("reverse"),function(l,p){l=null!=p?p:l;f.turnShapes(f.getResizableCells(f.getSelectionCells()),
-null!=l?mxEvent.isShiftDown(l):!1)},null,null,mxClient.IS_SF?null:Editor.ctrlKey+"+R"));this.put("selectConnections",new Action(mxResources.get("selectEdges"),function(l){l=f.getSelectionCell();f.isEnabled()&&null!=l&&f.addSelectionCells(f.getEdges(l))}));this.addAction("selectVertices",function(){f.selectVertices(null,!0)},null,null,Editor.ctrlKey+"+Shift+I");this.addAction("selectEdges",function(){f.selectEdges()},null,null,Editor.ctrlKey+"+Shift+E");this.addAction("selectAll",function(){f.selectAll(null,
-!0)},null,null,Editor.ctrlKey+"+A");this.addAction("selectNone",function(){f.clearSelection()},null,null,Editor.ctrlKey+"+Shift+A");this.addAction("lockUnlock",function(){if(!f.isSelectionEmpty()){f.getModel().beginUpdate();try{var l=f.getSelectionCells(),p=f.getCurrentCellStyle(f.getSelectionCell()),w=1==mxUtils.getValue(p,mxConstants.STYLE_EDITABLE,1)?0:1;f.setCellStyles(mxConstants.STYLE_MOVABLE,w,l);f.setCellStyles(mxConstants.STYLE_RESIZABLE,w,l);f.setCellStyles(mxConstants.STYLE_ROTATABLE,w,
-l);f.setCellStyles(mxConstants.STYLE_DELETABLE,w,l);f.setCellStyles(mxConstants.STYLE_EDITABLE,w,l);f.setCellStyles("locked",1==w?0:1,l);f.setCellStyles("connectable",w,l)}finally{f.getModel().endUpdate()}}},null,null,Editor.ctrlKey+"+L");this.addAction("explore",function(){f.model.isVertex(f.getSelectionCell())&&Graph.exploreFromCell(e.editor.graph,e.editor.graph.getSelectionCell())});this.addAction("home",function(){f.home()},null,null,"Shift+Home");this.addAction("exitGroup",function(){f.exitGroup()},
-null,null,Editor.ctrlKey+"+Shift+Home");this.addAction("enterGroup",function(){f.enterGroup()},null,null,Editor.ctrlKey+"+Shift+End");this.addAction("collapse",function(){f.foldCells(!0)},null,null,Editor.ctrlKey+"+Home");this.addAction("expand",function(){f.foldCells(!1)},null,null,Editor.ctrlKey+"+End");this.addAction("toFront",function(){f.orderCells(!1)},null,null,Editor.ctrlKey+"+Shift+F");this.addAction("toBack",function(){f.orderCells(!0)},null,null,Editor.ctrlKey+"+Shift+B");this.addAction("bringForward",
-function(l){f.orderCells(!1,null,!0)},null,null,Editor.ctrlKey+"+Alt+Shift+F");this.addAction("sendBackward",function(l){f.orderCells(!0,null,!0)},null,null,Editor.ctrlKey+"+Alt+Shift+B");this.addAction("group",function(){if(f.isEnabled()){var l=mxUtils.sortCells(f.getSelectionCells(),!0);1!=l.length||f.isTable(l[0])||f.isTableRow(l[0])?(l=f.getCellsForGroup(l),1<l.length&&f.setSelectionCell(f.groupCells(null,0,l))):f.setCellStyles("container","1")}},null,null,Editor.ctrlKey+"+G");this.addAction("ungroup",
-function(){if(f.isEnabled()){var l=f.getEditableCells(f.getSelectionCells());f.model.beginUpdate();try{var p=f.ungroupCells();if(null!=l)for(var w=0;w<l.length;w++)f.model.contains(l[w])&&(0==f.model.getChildCount(l[w])&&f.model.isVertex(l[w])&&f.setCellStyles("container","0",[l[w]]),p.push(l[w]))}finally{f.model.endUpdate()}0<p.length&&f.setSelectionCells(p)}},null,null,Editor.ctrlKey+"+Shift+U");this.addAction("removeFromGroup",function(){if(f.isEnabled()){var l=f.getSelectionCells();if(null!=l){for(var p=
-[],w=0;w<l.length;w++)f.isTableRow(l[w])||f.isTableCell(l[w])||p.push(l[w]);f.removeCellsFromParent(p);0<p.length&&f.scrollCellToVisible(p[0])}}});this.addAction("edit",function(){f.isEnabled()&&f.startEditingAtCell()},null,null,"F2/Enter");this.addAction("editData...",function(){var l=f.getSelectionCell()||f.getModel().getRoot();e.showDataDialog(l)},null,null,Editor.ctrlKey+"+M");this.addAction("editTooltip...",function(){var l=f.getSelectionCell();if(f.isEnabled()&&null!=l&&f.isCellEditable(l)){var p=
-"";if(mxUtils.isNode(l.value)){var w=null;Graph.translateDiagram&&null!=Graph.diagramLanguage&&l.value.hasAttribute("tooltip_"+Graph.diagramLanguage)&&(w=l.value.getAttribute("tooltip_"+Graph.diagramLanguage));null==w&&(w=l.value.getAttribute("tooltip"));null!=w&&(p=w)}p=new TextareaDialog(e,mxResources.get("editTooltip")+":",p,function(z){f.setTooltipForCell(l,z)});e.showDialog(p.container,320,200,!0,!0);p.init()}},null,null,"Alt+Shift+T");this.addAction("openLink",function(){var l=f.getLinkForCell(f.getSelectionCell());
-null!=l&&f.openLink(l)});this.addAction("editLink...",function(){var l=f.getSelectionCell();if(f.isEnabled()&&null!=l&&f.isCellEditable(l)){var p=f.getLinkForCell(l,!0)||"";e.showLinkDialog(p,mxResources.get("ok"),function(w,z,C){f.getModel().beginUpdate();try{f.setLinkForCell(l,0<w.length?w:null),f.setAttributeForCell(l,"linkTarget",C)}finally{f.getModel().endUpdate()}},!0,f.getLinkTargetForCell(l))}},null,null,"Alt+Shift+L");this.put("insertImage",new Action(mxResources.get("image")+"...",function(){f.isEnabled()&&
-!f.isCellLocked(f.getDefaultParent())&&(f.clearSelection(),e.actions.get("image").funct())})).isEnabled=h;this.addAction("editImage...",function(){e.actions.get("image").funct()});this.put("insertLink",new Action(mxResources.get("link")+"...",function(){f.isEnabled()&&!f.isCellLocked(f.getDefaultParent())&&e.showLinkDialog("",mxResources.get("ok"),function(l,p,w){l=mxUtils.trim(l);if(0<l.length){var z=null,C=f.getLinkTitle(l);null!=p&&0<p.length&&(z=p[0].iconUrl,C=p[0].name||p[0].type,C=C.charAt(0).toUpperCase()+
-C.substring(1),30<C.length&&(C=C.substring(0,30)+"..."));p=new mxCell(C,new mxGeometry(0,0,100,40),"fontColor=#0000EE;fontStyle=4;rounded=1;overflow=hidden;"+(null!=z?"shape=label;imageWidth=16;imageHeight=16;spacingLeft=26;align=left;image="+z:"spacing=10;"));p.vertex=!0;z=f.getCenterInsertPoint(f.getBoundingBoxFromGeometry([p],!0));p.geometry.x=z.x;p.geometry.y=z.y;f.setAttributeForCell(p,"linkTarget",w);f.setLinkForCell(p,l);f.cellSizeUpdated(p,!0);f.getModel().beginUpdate();try{p=f.addCell(p),
-f.fireEvent(new mxEventObject("cellsInserted","cells",[p]))}finally{f.getModel().endUpdate()}f.setSelectionCell(p);f.scrollCellToVisible(f.getSelectionCell())}},!0)},null,null,"L")).isEnabled=h;this.addAction("link...",mxUtils.bind(this,function(){if(f.isEnabled())if(f.cellEditor.isContentEditing()){var l=f.getSelectedElement(),p=f.getParentByName(l,"A",f.cellEditor.textarea),w="";if(null==p&&null!=l&&null!=l.getElementsByTagName)for(var z=l.getElementsByTagName("a"),C=0;C<z.length&&null==p;C++)z[C].textContent==
-l.textContent&&(p=z[C]);null!=p&&"A"==p.nodeName&&(w=p.getAttribute("href")||"",f.selectNode(p));var F=f.cellEditor.saveSelection();e.showLinkDialog(w,mxResources.get("ok"),mxUtils.bind(this,function(D){f.cellEditor.restoreSelection(F);null!=D&&f.insertLink(D)}))}else f.isSelectionEmpty()?this.get("insertLink").funct():this.get("editLink").funct()})).isEnabled=h;this.addAction("autosize",function(){var l=f.getSelectionCells();if(null!=l){f.getModel().beginUpdate();try{for(var p=0;p<l.length;p++){var w=
-l[p];f.getModel().isVertex(w)&&(0<f.getModel().getChildCount(w)?f.updateGroupBounds([w],0,!0):f.updateCellSize(w))}}finally{f.getModel().endUpdate()}}},null,null,Editor.ctrlKey+"+Shift+Y");this.addAction("snapToGrid",function(){f.snapCellsToGrid(f.getSelectionCells(),f.gridSize)});this.addAction("formattedText",function(){f.stopEditing();var l=f.getCommonStyle(f.getSelectionCells());l="1"==mxUtils.getValue(l,"html","0")?null:"1";f.getModel().beginUpdate();try{for(var p=f.getEditableCells(f.getSelectionCells()),
-w=0;w<p.length;w++)if(state=f.getView().getState(p[w]),null!=state){var z=mxUtils.getValue(state.style,"html","0");if("1"==z&&null==l)f.removeTextStyleForCell(state.cell),f.setCellStyles("html",l,[p[w]]);else if("0"==z&&"1"==l){var C=mxUtils.htmlEntities(f.convertValueToString(state.cell),!1);"0"!=mxUtils.getValue(state.style,"nl2Br","1")&&(C=C.replace(/\n/g,"<br/>"));f.cellLabelChanged(state.cell,Graph.sanitizeHtml(C));f.setCellStyles("html",l,[p[w]])}}e.fireEvent(new mxEventObject("styleChanged",
-"keys",["html"],"values",[null!=l?l:"0"],"cells",p))}finally{f.getModel().endUpdate()}});this.addAction("wordWrap",function(){var l=f.getView().getState(f.getSelectionCell()),p="wrap";f.stopEditing();null!=l&&"wrap"==l.style[mxConstants.STYLE_WHITE_SPACE]&&(p=null);f.setCellStyles(mxConstants.STYLE_WHITE_SPACE,p)});this.addAction("rotation",function(){var l="0",p=f.getView().getState(f.getSelectionCell());null!=p&&(l=p.style[mxConstants.STYLE_ROTATION]||l);l=new FilenameDialog(e,l,mxResources.get("apply"),
-function(w){null!=w&&0<w.length&&f.setCellStyles(mxConstants.STYLE_ROTATION,w)},mxResources.get("enterValue")+" ("+mxResources.get("rotation")+" 0-360)");e.showDialog(l.container,375,80,!0,!0);l.init()});this.addAction("resetView",function(){f.zoomTo(1);e.resetScrollbars()},null,null,"Enter/Home");this.addAction("zoomIn",function(l){f.isFastZoomEnabled()?f.lazyZoom(!0,!0,e.buttonZoomDelay):f.zoomIn()},null,null,Editor.ctrlKey+" + / Alt+Mousewheel");this.addAction("zoomOut",function(l){f.isFastZoomEnabled()?
-f.lazyZoom(!1,!0,e.buttonZoomDelay):f.zoomOut()},null,null,Editor.ctrlKey+" - / Alt+Mousewheel");this.addAction("fitWindow",function(){f.pageVisible&&f.isSelectionEmpty()?f.fitPages():e.fitDiagramToWindow()},null,null,Editor.ctrlKey+"+Shift+H");this.addAction("fitPage",mxUtils.bind(this,function(){f.pageVisible?f.fitPages(1):this.get("pageView").funct()}),null,null,Editor.ctrlKey+"+J");this.addAction("fitTwoPages",mxUtils.bind(this,function(){f.pageVisible?f.fitPages(2):this.get("pageView").funct()}),
-null,null,Editor.ctrlKey+"+Shift+J");this.addAction("fitPageWidth",mxUtils.bind(this,function(){f.pageVisible?f.fitPages(1,!0):this.get("pageView").funct()}));this.put("customZoom",new Action(mxResources.get("custom")+"...",mxUtils.bind(this,function(){var l=new FilenameDialog(this.editorUi,parseInt(100*f.getView().getScale()),mxResources.get("apply"),mxUtils.bind(this,function(p){p=parseInt(p);!isNaN(p)&&0<p&&f.zoomTo(p/100)}),mxResources.get("zoom")+" (%)");this.editorUi.showDialog(l.container,
-300,80,!0,!0);l.init()}),null,null,Editor.ctrlKey+"+0"));this.addAction("pageScale...",mxUtils.bind(this,function(){var l=new FilenameDialog(this.editorUi,parseInt(100*f.pageScale),mxResources.get("apply"),mxUtils.bind(this,function(p){p=parseInt(p);!isNaN(p)&&0<p&&(p=new ChangePageSetup(e,null,null,null,p/100),p.ignoreColor=!0,p.ignoreImage=!0,f.model.execute(p))}),mxResources.get("pageScale")+" (%)");this.editorUi.showDialog(l.container,300,80,!0,!0);l.init()}));var n=null;n=this.addAction("grid",
-function(){f.setGridEnabled(!f.isGridEnabled());f.defaultGridEnabled=f.isGridEnabled();e.fireEvent(new mxEventObject("gridEnabledChanged"))},null,null,Editor.ctrlKey+"+Shift+G");n.setToggleAction(!0);n.setSelectedCallback(function(){return f.isGridEnabled()});n.setEnabled(!1);n=this.addAction("guides",function(){f.graphHandler.guidesEnabled=!f.graphHandler.guidesEnabled;e.fireEvent(new mxEventObject("guidesEnabledChanged"))});n.setToggleAction(!0);n.setSelectedCallback(function(){return f.graphHandler.guidesEnabled});
-n.setEnabled(!1);n=this.addAction("animations",function(){Editor.enableAnimations=!Editor.enableAnimations;e.fireEvent(new mxEventObject("enableAnimationsChanged"))});n.setToggleAction(!0);n.setSelectedCallback(function(){return Editor.enableAnimations});n=this.addAction("tooltips",function(){f.tooltipHandler.setEnabled(!f.tooltipHandler.isEnabled());e.fireEvent(new mxEventObject("tooltipsEnabledChanged"))});n.setToggleAction(!0);n.setSelectedCallback(function(){return f.tooltipHandler.isEnabled()});
-n=this.addAction("collapseExpand",function(){var l=new ChangePageSetup(e);l.ignoreColor=!0;l.ignoreImage=!0;l.foldingEnabled=!f.foldingEnabled;f.model.execute(l)});n.setToggleAction(!0);n.setSelectedCallback(function(){return f.foldingEnabled});n.isEnabled=h;n=this.addAction("pageView",mxUtils.bind(this,function(){e.setPageVisible(!f.pageVisible)}));n.setToggleAction(!0);n.setSelectedCallback(function(){return f.pageVisible});n=this.addAction("connectionArrows",function(){f.connectionArrowsEnabled=
-!f.connectionArrowsEnabled;e.fireEvent(new mxEventObject("connectionArrowsChanged"))},null,null,"Alt+Shift+A");n.setToggleAction(!0);n.setSelectedCallback(function(){return f.connectionArrowsEnabled});n=this.addAction("connectionPoints",function(){f.setConnectable(!f.connectionHandler.isEnabled());e.fireEvent(new mxEventObject("connectionPointsChanged"))},null,null,"Alt+Shift+O");n.setToggleAction(!0);n.setSelectedCallback(function(){return f.connectionHandler.isEnabled()});n=this.addAction("copyConnect",
-function(){f.connectionHandler.setCreateTarget(!f.connectionHandler.isCreateTarget());e.fireEvent(new mxEventObject("copyConnectChanged"))});n.setToggleAction(!0);n.setSelectedCallback(function(){return f.connectionHandler.isCreateTarget()});n.isEnabled=h;n=this.addAction("autosave",function(){e.editor.setAutosave(!e.editor.autosave)});n.setToggleAction(!0);n.setSelectedCallback(function(){return e.editor.autosave});n.isEnabled=h;n.visible=!1;this.addAction("help",function(){var l="";mxResources.isLanguageSupported(mxClient.language)&&
-(l="_"+mxClient.language);f.openLink(RESOURCES_PATH+"/help"+l+".html")});var q=!1;this.put("about",new Action(mxResources.get("about")+" Graph Editor...",function(){q||(e.showDialog((new AboutDialog(e)).container,320,280,!0,!0,function(){q=!1}),q=!0)}));n=mxUtils.bind(this,function(l,p,w,z){return this.addAction(l,function(){if(null!=w&&f.cellEditor.isContentEditing())w();else{f.stopEditing(!1);f.getModel().beginUpdate();try{var C=f.getEditableCells(f.getSelectionCells());f.toggleCellStyleFlags(mxConstants.STYLE_FONTSTYLE,
-p,C);(p&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD?f.updateLabelElements(C,function(D){D.style.fontWeight=null;"B"==D.nodeName&&f.replaceElement(D)}):(p&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC?f.updateLabelElements(C,function(D){D.style.fontStyle=null;"I"==D.nodeName&&f.replaceElement(D)}):(p&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&f.updateLabelElements(C,function(D){D.style.textDecoration=null;"U"==D.nodeName&&f.replaceElement(D)});for(var F=0;F<C.length;F++)0==f.model.getChildCount(C[F])&&
-f.autoSizeCell(C[F],!1)}finally{f.getModel().endUpdate()}}},null,null,z)});n("bold",mxConstants.FONT_BOLD,function(){document.execCommand("bold",!1,null)},Editor.ctrlKey+"+B");n("italic",mxConstants.FONT_ITALIC,function(){document.execCommand("italic",!1,null)},Editor.ctrlKey+"+I");n("underline",mxConstants.FONT_UNDERLINE,function(){document.execCommand("underline",!1,null)},Editor.ctrlKey+"+U");this.addAction("fontColor...",function(){e.menus.pickColor(mxConstants.STYLE_FONTCOLOR,"forecolor","000000",
-"default",f.shapeForegroundColor)});this.addAction("strokeColor...",function(){e.menus.pickColor(mxConstants.STYLE_STROKECOLOR,null,null,"default",f.shapeForegroundColor)});this.addAction("fillColor...",function(){e.menus.pickColor(mxConstants.STYLE_FILLCOLOR,null,null,"default",f.shapeBackgroundColor)});this.addAction("gradientColor...",function(){e.menus.pickColor(mxConstants.STYLE_GRADIENTCOLOR,null,null,"default",f.shapeForegroundColor)});this.addAction("backgroundColor...",function(){e.menus.pickColor(mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,
-"backcolor",null,"default",f.shapeBackgroundColor)});this.addAction("borderColor...",function(){e.menus.pickColor(mxConstants.STYLE_LABEL_BORDERCOLOR,null,null,"default",f.shapeForegroundColor)});this.addAction("removeFormat",function(){if(f.isEnabled()&&!f.isSelectionEmpty()&&!f.isEditing()){f.getModel().beginUpdate();try{for(var l=f.getSelectionCells(),p=0;p<l.length;p++)f.removeTextStyleForCell(l[p],!0)}finally{f.getModel().endUpdate()}}});this.addAction("vertical",function(){e.menus.toggleStyle(mxConstants.STYLE_HORIZONTAL,
-!0)});this.addAction("shadow",function(){e.menus.toggleStyle(mxConstants.STYLE_SHADOW)});this.addAction("solid",function(){f.getModel().beginUpdate();try{f.setCellStyles(mxConstants.STYLE_DASHED,null),f.setCellStyles(mxConstants.STYLE_DASH_PATTERN,null),e.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],"values",[null,null],"cells",f.getSelectionCells()))}finally{f.getModel().endUpdate()}});this.addAction("dashed",function(){f.getModel().beginUpdate();
-try{f.setCellStyles(mxConstants.STYLE_DASHED,"1"),f.setCellStyles(mxConstants.STYLE_DASH_PATTERN,null),e.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],"values",["1",null],"cells",f.getSelectionCells()))}finally{f.getModel().endUpdate()}});this.addAction("dotted",function(){f.getModel().beginUpdate();try{f.setCellStyles(mxConstants.STYLE_DASHED,"1"),f.setCellStyles(mxConstants.STYLE_DASH_PATTERN,"1 4"),e.fireEvent(new mxEventObject("styleChanged",
-"keys",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],"values",["1","1 4"],"cells",f.getSelectionCells()))}finally{f.getModel().endUpdate()}});this.addAction("sharp",function(){f.getModel().beginUpdate();try{f.setCellStyles(mxConstants.STYLE_ROUNDED,"0"),f.setCellStyles(mxConstants.STYLE_CURVED,"0"),e.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ROUNDED,mxConstants.STYLE_CURVED],"values",["0","0"],"cells",f.getSelectionCells()))}finally{f.getModel().endUpdate()}});
-this.addAction("rounded",function(){f.getModel().beginUpdate();try{f.setCellStyles(mxConstants.STYLE_ROUNDED,"1"),f.setCellStyles(mxConstants.STYLE_CURVED,"0"),e.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ROUNDED,mxConstants.STYLE_CURVED],"values",["1","0"],"cells",f.getSelectionCells()))}finally{f.getModel().endUpdate()}});this.addAction("toggleRounded",function(){if(!f.isSelectionEmpty()&&f.isEnabled()){f.getModel().beginUpdate();try{var l=f.getSelectionCells(),p=f.getCurrentCellStyle(l[0]),
-w="1"==mxUtils.getValue(p,mxConstants.STYLE_ROUNDED,"0")?"0":"1";f.setCellStyles(mxConstants.STYLE_ROUNDED,w);f.setCellStyles(mxConstants.STYLE_CURVED,null);e.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ROUNDED,mxConstants.STYLE_CURVED],"values",[w,"0"],"cells",f.getSelectionCells()))}finally{f.getModel().endUpdate()}}});this.addAction("curved",function(){f.getModel().beginUpdate();try{f.setCellStyles(mxConstants.STYLE_ROUNDED,"0"),f.setCellStyles(mxConstants.STYLE_CURVED,
-"1"),e.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ROUNDED,mxConstants.STYLE_CURVED],"values",["0","1"],"cells",f.getSelectionCells()))}finally{f.getModel().endUpdate()}});this.addAction("collapsible",function(){var l=f.view.getState(f.getSelectionCell()),p="1";null!=l&&null!=f.getFoldingImage(l)&&(p="0");f.setCellStyles("collapsible",p);e.fireEvent(new mxEventObject("styleChanged","keys",["collapsible"],"values",[p],"cells",f.getSelectionCells()))});this.addAction("editStyle...",
-mxUtils.bind(this,function(){var l=f.getEditableCells(f.getSelectionCells());if(null!=l&&0<l.length){var p=f.getModel();p=new TextareaDialog(this.editorUi,mxResources.get("editStyle")+":",p.getStyle(l[0])||"",function(w){null!=w&&f.setCellStyle(mxUtils.trim(w),l)},null,null,400,220);this.editorUi.showDialog(p.container,420,300,!0,!0);p.init()}}),null,null,Editor.ctrlKey+"+E");this.addAction("setAsDefaultStyle",function(){f.isEnabled()&&!f.isSelectionEmpty()&&e.setDefaultStyle(f.getSelectionCell())},
-null,null,Editor.ctrlKey+"+Shift+D");this.addAction("clearDefaultStyle",function(){f.isEnabled()&&e.clearDefaultStyle()},null,null,Editor.ctrlKey+"+Shift+R");this.addAction("addWaypoint",function(){var l=f.getSelectionCell();if(null!=l&&f.getModel().isEdge(l)){var p=g.graph.selectionCellsHandler.getHandler(l);if(p instanceof mxEdgeHandler){var w=f.view.translate,z=f.view.scale,C=w.x;w=w.y;l=f.getModel().getParent(l);for(var F=f.getCellGeometry(l);f.getModel().isVertex(l)&&null!=F;)C+=F.x,w+=F.y,l=
-f.getModel().getParent(l),F=f.getCellGeometry(l);C=Math.round(f.snap(f.popupMenuHandler.triggerX/z-C));z=Math.round(f.snap(f.popupMenuHandler.triggerY/z-w));p.addPointAt(p.state,C,z)}}});this.addAction("removeWaypoint",function(){var l=e.actions.get("removeWaypoint");null!=l.handler&&l.handler.removePoint(l.handler.state,l.index)});this.addAction("clearAnchors",function(){var l=f.getSelectionCells();if(null!=l){l=f.getEditableCells(f.addAllEdges(l));f.getModel().beginUpdate();try{for(var p=0;p<l.length;p++){var w=
-l[p];f.getModel().isEdge(w)&&(f.setCellStyles(mxConstants.STYLE_EXIT_X,null,[w]),f.setCellStyles(mxConstants.STYLE_EXIT_Y,null,[w]),f.setCellStyles(mxConstants.STYLE_ENTRY_X,null,[w]),f.setCellStyles(mxConstants.STYLE_ENTRY_Y,null,[w]))}}finally{f.getModel().endUpdate()}}});this.addAction("clearWaypoints",function(){var l=f.getSelectionCells();if(null!=l){l=f.getEditableCells(f.addAllEdges(l));f.getModel().beginUpdate();try{for(var p=0;p<l.length;p++){var w=l[p];if(f.getModel().isEdge(w)){var z=f.getCellGeometry(w);
-null!=z&&(z=z.clone(),z.points=null,z.x=0,z.y=0,z.offset=null,f.getModel().setGeometry(w,z))}}}finally{f.getModel().endUpdate()}}},null,null,"Alt+Shift+R");n=this.addAction("subscript",mxUtils.bind(this,function(){f.cellEditor.isContentEditing()&&document.execCommand("subscript",!1,null)}),null,null,Editor.ctrlKey+"+,");n=this.addAction("superscript",mxUtils.bind(this,function(){f.cellEditor.isContentEditing()&&document.execCommand("superscript",!1,null)}),null,null,Editor.ctrlKey+"+.");n=this.addAction("decreaseFontSize",
-mxUtils.bind(this,function(){if(!f.isSelectionEmpty()){var l=f.getCurrentCellStyle(f.getSelectionCell());l=mxUtils.getValue(l,mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE);f.setCellStyles(mxConstants.STYLE_FONTSIZE,Math.max(1,l-1),f.getSelectionCells())}}),null,null,Editor.ctrlKey+"+Shift + (Numpad)");n=this.addAction("increaseFontSize",mxUtils.bind(this,function(){if(!f.isSelectionEmpty()){var l=f.getCurrentCellStyle(f.getSelectionCell());l=mxUtils.getValue(l,mxConstants.STYLE_FONTSIZE,
-mxConstants.DEFAULT_FONTSIZE);f.setCellStyles(mxConstants.STYLE_FONTSIZE,Math.min(100,l+1),f.getSelectionCells())}}),null,null,Editor.ctrlKey+"+Shift - (Numpad)");this.addAction("image...",function(){if(f.isEnabled()&&!f.isCellLocked(f.getDefaultParent())){var l=mxResources.get("image")+" ("+mxResources.get("url")+"):",p=f.getView().getState(f.getSelectionCell()),w="",z=null;null!=p&&(w=p.style[mxConstants.STYLE_IMAGE]||w,z=p.style[mxConstants.STYLE_CLIP_PATH]||z);var C=f.cellEditor.saveSelection();
-e.showImageDialog(l,w,function(F,D,G,K,I,O){if(f.cellEditor.isContentEditing())f.cellEditor.restoreSelection(C),f.insertImage(F,D,G);else{var H=f.getSelectionCells();if(null!=F&&(0<F.length||0<H.length)){var Z=null;f.getModel().beginUpdate();try{if(0==H.length){H=[f.insertVertex(f.getDefaultParent(),null,"",0,0,D,G,"shape=image;imageAspect=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;")];var S=f.getCenterInsertPoint(f.getBoundingBoxFromGeometry(H,!0));H[0].geometry.x=S.x;H[0].geometry.y=
-S.y;null!=K&&d(H[0],K,I,O,f);Z=H;f.fireEvent(new mxEventObject("cellsInserted","cells",Z))}f.setCellStyles(mxConstants.STYLE_IMAGE,0<F.length?F:null,H);var X=f.getCurrentCellStyle(H[0]);"image"!=X[mxConstants.STYLE_SHAPE]&&"label"!=X[mxConstants.STYLE_SHAPE]?f.setCellStyles(mxConstants.STYLE_SHAPE,"image",H):0==F.length&&f.setCellStyles(mxConstants.STYLE_SHAPE,null,H);null==K&&f.setCellStyles(mxConstants.STYLE_CLIP_PATH,null,H);if(null!=D&&null!=G)for(F=0;F<H.length;F++){var Y=H[F];if("0"!=f.getCurrentCellStyle(Y).expand){var M=
-f.getModel().getGeometry(Y);null!=M&&(M=M.clone(),M.width=D,M.height=G,f.getModel().setGeometry(Y,M))}null!=K&&d(Y,K,I,O,f)}}finally{f.getModel().endUpdate()}null!=Z&&(f.setSelectionCells(Z),f.scrollCellToVisible(Z[0]))}}},f.cellEditor.isContentEditing(),!f.cellEditor.isContentEditing(),!0,z)}}).isEnabled=h;this.addAction("crop...",function(){var l=f.getSelectionCell();if(f.isEnabled()&&!f.isCellLocked(f.getDefaultParent())&&null!=l){var p=f.getCurrentCellStyle(l),w=p[mxConstants.STYLE_IMAGE],z=p[mxConstants.STYLE_SHAPE];
-w&&"image"==z&&(p=new CropImageDialog(e,w,p[mxConstants.STYLE_CLIP_PATH],function(C,F,D){d(l,C,F,D,f)}),e.showDialog(p.container,300,390,!0,!0))}}).isEnabled=h;n=this.addAction("layers",mxUtils.bind(this,function(){null==this.layersWindow?(this.layersWindow=new LayersWindow(e,document.body.offsetWidth-280,120,212,200),this.layersWindow.window.addListener("show",mxUtils.bind(this,function(){e.fireEvent(new mxEventObject("layers"))})),this.layersWindow.window.addListener("hide",function(){e.fireEvent(new mxEventObject("layers"))}),
-this.layersWindow.window.setVisible(!0),e.fireEvent(new mxEventObject("layers")),this.layersWindow.init()):this.layersWindow.window.setVisible(!this.layersWindow.window.isVisible())}),null,null,Editor.ctrlKey+"+Shift+L");n.setToggleAction(!0);n.setSelectedCallback(mxUtils.bind(this,function(){return null!=this.layersWindow&&this.layersWindow.window.isVisible()}));n=this.addAction("format",mxUtils.bind(this,function(){e.toggleFormatPanel()}),null,null,Editor.ctrlKey+"+Shift+P");n.setToggleAction(!0);
-n.setSelectedCallback(mxUtils.bind(this,function(){return e.isFormatPanelVisible()}));n=this.addAction("outline",mxUtils.bind(this,function(){null==this.outlineWindow?(this.outlineWindow=new OutlineWindow(e,document.body.offsetWidth-260,100,180,180),this.outlineWindow.window.addListener("show",mxUtils.bind(this,function(){e.fireEvent(new mxEventObject("outline"))})),this.outlineWindow.window.addListener("hide",function(){e.fireEvent(new mxEventObject("outline"))}),this.outlineWindow.window.setVisible(!0),
-e.fireEvent(new mxEventObject("outline"))):this.outlineWindow.window.setVisible(!this.outlineWindow.window.isVisible())}),null,null,Editor.ctrlKey+"+Shift+O");n.setToggleAction(!0);n.setSelectedCallback(mxUtils.bind(this,function(){return null!=this.outlineWindow&&this.outlineWindow.window.isVisible()}));this.addAction("editConnectionPoints...",function(){var l=f.getSelectionCell();if(f.isEnabled()&&!f.isCellLocked(f.getDefaultParent())&&null!=l&&null!=l.geometry){var p=new ConnectionPointsDialog(e,
-l);e.showDialog(p.container,350,450,!0,!1,function(){p.destroy()});p.init()}},null,null,"Alt+Shift+Q").isEnabled=h};Actions.prototype.addAction=function(a,b,d,e,g){if("..."==a.substring(a.length-3)){a=a.substring(0,a.length-3);var f=mxResources.get(a)+"..."}else f=mxResources.get(a);return this.put(a,new Action(f,b,d,e,g))};Actions.prototype.put=function(a,b){return this.actions[a]=b};Actions.prototype.get=function(a){return this.actions[a]};
-function Action(a,b,d,e,g){mxEventSource.call(this);this.label=a;this.funct=this.createFunction(b);this.enabled=null!=d?d:!0;this.iconCls=e;this.shortcut=g;this.visible=!0}mxUtils.extend(Action,mxEventSource);Action.prototype.createFunction=function(a){return a};Action.prototype.setEnabled=function(a){this.enabled!=a&&(this.enabled=a,this.fireEvent(new mxEventObject("stateChanged")))};Action.prototype.isEnabled=function(){return this.enabled};
+Actions.prototype.init=function(){function a(k){d.escape();k=d.deleteCells(d.getDeletableCells(d.getSelectionCells()),k);null!=k&&d.setSelectionCells(k)}function b(){if(!d.isSelectionEmpty()){d.getModel().beginUpdate();try{for(var k=d.getSelectionCells(),p=0;p<k.length;p++)d.cellLabelChanged(k[p],"")}finally{d.getModel().endUpdate()}}}function e(k,p,w,z,C){C.getModel().beginUpdate();try{var F=C.getCellGeometry(k);null!=F&&w&&z&&(w/=z,F=F.clone(),1<w?F.height=F.width/w:F.width=F.height*w,C.getModel().setGeometry(k,
+F));C.setCellStyles(mxConstants.STYLE_CLIP_PATH,p,[k]);C.setCellStyles(mxConstants.STYLE_ASPECT,"fixed",[k])}finally{C.getModel().endUpdate()}}var f=this.editorUi,h=f.editor,d=h.graph,g=function(){return Action.prototype.isEnabled.apply(this,arguments)&&d.isEnabled()};this.addAction("new...",function(){d.openLink(f.getUrl())});this.addAction("open...",function(){window.openNew=!0;window.openKey="open";f.openFile()});this.put("smartFit",new Action(mxResources.get("fitWindow")+" / "+mxResources.get("resetView"),
+function(){d.popupMenuHandler.hideMenu();var k=d.view.scale,p=d.container.scrollLeft,w=d.container.scrollTop,z=d.view.translate.x,C=d.view.translate.y;f.actions.get("resetView").funct();1E-5>Math.abs(k-d.view.scale)&&5>Math.abs(p-d.container.scrollLeft)&&5>Math.abs(w-d.container.scrollTop)&&z==d.view.translate.x&&C==d.view.translate.y&&f.actions.get("fitWindow").funct()},null,null,"Enter"));this.addAction("keyPressEnter",function(){d.isSelectionEmpty()?f.actions.get("smartFit").funct():d.isEnabled()&&
+d.startEditingAtCell()});this.addAction("import...",function(){window.openNew=!1;window.openKey="import";window.openFile=new OpenFile(mxUtils.bind(this,function(){f.hideDialog()}));window.openFile.setConsumer(mxUtils.bind(this,function(k,p){try{var w=mxUtils.parseXml(k);h.graph.setSelectionCells(h.graph.importGraphModel(w.documentElement))}catch(z){mxUtils.alert(mxResources.get("invalidOrMissingFile")+": "+z.message)}}));f.showDialog((new OpenDialog(this)).container,320,220,!0,!0,function(){window.openFile=
+null})}).isEnabled=g;this.addAction("save",function(){f.saveFile(!1)},null,null,Editor.ctrlKey+"+S").isEnabled=g;this.addAction("saveAs...",function(){f.saveFile(!0)},null,null,Editor.ctrlKey+"+Shift+S");this.addAction("export...",function(){f.showDialog((new ExportDialog(f)).container,300,340,!0,!0)});this.addAction("editDiagram...",function(){var k=new EditDiagramDialog(f);f.showDialog(k.container,620,420,!0,!1);k.init()}).isEnabled=g;this.addAction("pageSetup...",function(){f.showDialog((new PageSetupDialog(f)).container,
+320,240,!0,!0)}).isEnabled=g;this.addAction("print...",function(){f.showPrintDialog()},null,"sprite-print",Editor.ctrlKey+"+P");this.addAction("preview",function(){mxUtils.show(d,null,10,10)});this.addAction("undo",function(){f.undo()},null,"sprite-undo",Editor.ctrlKey+"+Z");this.addAction("redo",function(){f.redo()},null,"sprite-redo",mxClient.IS_WIN?Editor.ctrlKey+"+Y":Editor.ctrlKey+"+Shift+Z");this.addAction("cut",function(){var k=null;try{k=f.copyXml(),null!=k&&d.removeCells(k,!1)}catch(p){}try{null==
+k&&mxClipboard.cut(d)}catch(p){f.handleError(p)}},null,"sprite-cut",Editor.ctrlKey+"+X");this.addAction("copy",function(){try{f.copyXml()}catch(k){}try{mxClipboard.copy(d)}catch(k){f.handleError(k)}},null,"sprite-copy",Editor.ctrlKey+"+C");this.addAction("paste",function(){if(d.isEnabled()&&!d.isCellLocked(d.getDefaultParent())){var k=!1;try{Editor.enableNativeCipboard&&(f.readGraphModelFromClipboard(function(p){if(null!=p){d.getModel().beginUpdate();try{f.pasteXml(p,!0)}finally{d.getModel().endUpdate()}}else mxClipboard.paste(d)}),
+k=!0)}catch(p){}k||mxClipboard.paste(d)}},!1,"sprite-paste",Editor.ctrlKey+"+V");this.addAction("pasteHere",function(k){function p(z){if(null!=z){for(var C=!0,F=0;F<z.length&&C;F++)C=C&&d.model.isEdge(z[F]);var D=d.view.translate;F=d.view.scale;var H=D.x,K=D.y;D=null;if(1==z.length&&C){var G=d.getCellGeometry(z[0]);null!=G&&(D=G.getTerminalPoint(!0))}D=null!=D?D:d.getBoundingBoxFromGeometry(z,C);null!=D&&(C=Math.round(d.snap(d.popupMenuHandler.triggerX/F-H)),F=Math.round(d.snap(d.popupMenuHandler.triggerY/
+F-K)),d.cellsMoved(z,C-D.x,F-D.y))}}function w(){d.getModel().beginUpdate();try{p(mxClipboard.paste(d))}finally{d.getModel().endUpdate()}}if(d.isEnabled()&&!d.isCellLocked(d.getDefaultParent())){k=!1;try{Editor.enableNativeCipboard&&(f.readGraphModelFromClipboard(function(z){if(null!=z){d.getModel().beginUpdate();try{p(f.pasteXml(z,!0))}finally{d.getModel().endUpdate()}}else w()}),k=!0)}catch(z){}k||w()}});this.addAction("swap",function(){var k=d.getSelectionCells();2==k.length&&d.swapShapes(k[0],
+k[1])});this.addAction("copySize",function(){var k=d.getSelectionCell();d.isEnabled()&&null!=k&&d.getModel().isVertex(k)&&(k=d.getCellGeometry(k),null!=k&&(f.copiedSize=new mxRectangle(k.x,k.y,k.width,k.height)))},null,null,"Alt+Shift+F");this.addAction("pasteSize",function(){if(d.isEnabled()&&!d.isSelectionEmpty()&&null!=f.copiedSize){d.getModel().beginUpdate();try{for(var k=d.getResizableCells(d.getSelectionCells()),p=0;p<k.length;p++)if(d.getModel().isVertex(k[p])){var w=d.getCellGeometry(k[p]);
+null!=w&&(w=w.clone(),w.width=f.copiedSize.width,w.height=f.copiedSize.height,d.getModel().setGeometry(k[p],w))}}finally{d.getModel().endUpdate()}}},null,null,"Alt+Shift+V");this.addAction("copyData",function(){var k=d.getSelectionCell()||d.getModel().getRoot();d.isEnabled()&&null!=k&&(k=k.cloneValue(),null==k||isNaN(k.nodeType)||(f.copiedValue=k))},null,null,"Alt+Shift+B");this.addAction("copyAsText",function(){var k=d.getSelectionCell();if(d.isEnabled()&&null!=k)try{d.isHtmlLabel(k)?f.writeHtmlToClipboard(d.getLabel(k),
+mxUtils.bind(this,function(p){f.handleError(p)})):f.writeTextToClipboard(d.getLabel(k),mxUtils.bind(this,function(p){f.handleError(p)}))}catch(p){f.handleError(p)}});this.addAction("pasteData",function(k,p){function w(F,D){var H=z.getValue(F);D=F.cloneValue(D);D.removeAttribute("placeholders");null==H||isNaN(H.nodeType)||D.setAttribute("placeholders",H.getAttribute("placeholders"));null!=k&&mxEvent.isShiftDown(k)||D.setAttribute("label",d.convertValueToString(F));z.setValue(F,D)}k=null!=p?p:k;var z=
+d.getModel();if(d.isEnabled()&&!d.isSelectionEmpty()&&null!=f.copiedValue){z.beginUpdate();try{var C=d.getEditableCells(d.getSelectionCells());if(0==C.length)w(z.getRoot(),f.copiedValue);else for(p=0;p<C.length;p++)w(C[p],f.copiedValue)}finally{z.endUpdate()}}},null,null,"Alt+Shift+E");this.addAction("delete",function(k,p){k=null!=p?p:k;null!=k&&mxEvent.isShiftDown(k)?b():a(null!=k&&(mxEvent.isControlDown(k)||mxEvent.isMetaDown(k)||mxEvent.isAltDown(k)))},null,null,"Delete");this.addAction("deleteAll",
+function(){a(!0)});this.addAction("deleteLabels",function(){b()},null,null,Editor.ctrlKey+"+Delete");this.addAction("duplicate",function(){try{d.setSelectionCells(d.duplicateCells()),d.scrollCellToVisible(d.getSelectionCell())}catch(k){f.handleError(k)}},null,null,Editor.ctrlKey+"+D");this.put("mergeCells",new Action(mxResources.get("merge"),function(){var k=f.getSelectionState();if(null!=k.mergeCell){d.getModel().beginUpdate();try{d.setCellStyles("rowspan",k.rowspan,[k.mergeCell]),d.setCellStyles("colspan",
+k.colspan,[k.mergeCell])}finally{d.getModel().endUpdate()}}}));this.put("unmergeCells",new Action(mxResources.get("unmerge"),function(){var k=f.getSelectionState();if(0<k.cells.length){d.getModel().beginUpdate();try{d.setCellStyles("rowspan",null,k.cells),d.setCellStyles("colspan",null,k.cells)}finally{d.getModel().endUpdate()}}}));this.put("turn",new Action(mxResources.get("turn")+" / "+mxResources.get("reverse"),function(k,p){k=null!=p?p:k;d.turnShapes(d.getResizableCells(d.getSelectionCells()),
+null!=k?mxEvent.isShiftDown(k):!1)},null,null,mxClient.IS_SF?null:Editor.ctrlKey+"+R"));this.put("selectConnections",new Action(mxResources.get("selectEdges"),function(k){k=d.getSelectionCell();d.isEnabled()&&null!=k&&d.addSelectionCells(d.getEdges(k))}));this.addAction("selectVertices",function(){d.selectVertices(null,!0)},null,null,Editor.ctrlKey+"+Shift+I");this.addAction("selectEdges",function(){d.selectEdges()},null,null,Editor.ctrlKey+"+Shift+E");this.addAction("selectAll",function(){d.selectAll(null,
+!0)},null,null,Editor.ctrlKey+"+A");this.addAction("selectNone",function(){d.clearSelection()},null,null,Editor.ctrlKey+"+Shift+A");this.addAction("lockUnlock",function(){if(!d.isSelectionEmpty()){d.getModel().beginUpdate();try{var k=d.getSelectionCells(),p=d.getCurrentCellStyle(d.getSelectionCell()),w=1==mxUtils.getValue(p,mxConstants.STYLE_EDITABLE,1)?0:1;d.setCellStyles(mxConstants.STYLE_MOVABLE,w,k);d.setCellStyles(mxConstants.STYLE_RESIZABLE,w,k);d.setCellStyles(mxConstants.STYLE_ROTATABLE,w,
+k);d.setCellStyles(mxConstants.STYLE_DELETABLE,w,k);d.setCellStyles(mxConstants.STYLE_EDITABLE,w,k);d.setCellStyles("locked",1==w?0:1,k);d.setCellStyles("connectable",w,k)}finally{d.getModel().endUpdate()}}},null,null,Editor.ctrlKey+"+L");this.addAction("explore",function(){d.model.isVertex(d.getSelectionCell())&&Graph.exploreFromCell(f.editor.graph,f.editor.graph.getSelectionCell())});this.addAction("home",function(){d.home()},null,null,"Shift+Home");this.addAction("exitGroup",function(){d.exitGroup()},
+null,null,Editor.ctrlKey+"+Shift+Home");this.addAction("enterGroup",function(){d.enterGroup()},null,null,Editor.ctrlKey+"+Shift+End");this.addAction("collapse",function(){d.foldCells(!0)},null,null,Editor.ctrlKey+"+Home");this.addAction("expand",function(){d.foldCells(!1)},null,null,Editor.ctrlKey+"+End");this.addAction("toFront",function(){d.orderCells(!1)},null,null,Editor.ctrlKey+"+Shift+F");this.addAction("toBack",function(){d.orderCells(!0)},null,null,Editor.ctrlKey+"+Shift+B");this.addAction("bringForward",
+function(k){d.orderCells(!1,null,!0)},null,null,Editor.ctrlKey+"+Alt+Shift+F");this.addAction("sendBackward",function(k){d.orderCells(!0,null,!0)},null,null,Editor.ctrlKey+"+Alt+Shift+B");this.addAction("group",function(){if(d.isEnabled()){var k=mxUtils.sortCells(d.getSelectionCells(),!0);1!=k.length||d.isTable(k[0])||d.isTableRow(k[0])?(k=d.getCellsForGroup(k),1<k.length&&d.setSelectionCell(d.groupCells(null,0,k))):d.setCellStyles("container","1")}},null,null,Editor.ctrlKey+"+G");this.addAction("ungroup",
+function(){if(d.isEnabled()){var k=d.getEditableCells(d.getSelectionCells());d.model.beginUpdate();try{var p=d.ungroupCells();if(null!=k)for(var w=0;w<k.length;w++)d.model.contains(k[w])&&(0==d.model.getChildCount(k[w])&&d.model.isVertex(k[w])&&d.setCellStyles("container","0",[k[w]]),p.push(k[w]))}finally{d.model.endUpdate()}0<p.length&&d.setSelectionCells(p)}},null,null,Editor.ctrlKey+"+Shift+U");this.addAction("removeFromGroup",function(){if(d.isEnabled()){var k=d.getSelectionCells();if(null!=k){for(var p=
+[],w=0;w<k.length;w++)d.isTableRow(k[w])||d.isTableCell(k[w])||p.push(k[w]);d.removeCellsFromParent(p);0<p.length&&d.scrollCellToVisible(p[0])}}});this.addAction("edit",function(){d.isEnabled()&&d.startEditingAtCell()},null,null,"F2/Enter");this.addAction("editData...",function(){var k=d.getSelectionCell()||d.getModel().getRoot();f.showDataDialog(k)},null,null,Editor.ctrlKey+"+M");this.addAction("editTooltip...",function(){var k=d.getSelectionCell();if(d.isEnabled()&&null!=k&&d.isCellEditable(k)){var p=
+"";if(mxUtils.isNode(k.value)){var w=null;Graph.translateDiagram&&null!=Graph.diagramLanguage&&k.value.hasAttribute("tooltip_"+Graph.diagramLanguage)&&(w=k.value.getAttribute("tooltip_"+Graph.diagramLanguage));null==w&&(w=k.value.getAttribute("tooltip"));null!=w&&(p=w)}p=new TextareaDialog(f,mxResources.get("editTooltip")+":",p,function(z){d.setTooltipForCell(k,z)});f.showDialog(p.container,320,200,!0,!0);p.init()}},null,null,"Alt+Shift+T");this.addAction("openLink",function(){var k=d.getLinkForCell(d.getSelectionCell());
+null!=k&&d.openLink(k)});this.addAction("editLink...",function(){var k=d.getSelectionCell();if(d.isEnabled()&&null!=k&&d.isCellEditable(k)){var p=d.getLinkForCell(k,!0)||"";f.showLinkDialog(p,mxResources.get("ok"),function(w,z,C){d.getModel().beginUpdate();try{d.setLinkForCell(k,0<w.length?w:null),d.setAttributeForCell(k,"linkTarget",C)}finally{d.getModel().endUpdate()}},!0,d.getLinkTargetForCell(k))}},null,null,"Alt+Shift+L");this.put("insertImage",new Action(mxResources.get("image")+"...",function(){d.isEnabled()&&
+!d.isCellLocked(d.getDefaultParent())&&(d.clearSelection(),f.actions.get("image").funct())})).isEnabled=g;this.addAction("editImage...",function(){f.actions.get("image").funct()});this.put("insertLink",new Action(mxResources.get("link")+"...",function(){d.isEnabled()&&!d.isCellLocked(d.getDefaultParent())&&f.showLinkDialog("",mxResources.get("ok"),function(k,p,w){k=mxUtils.trim(k);if(0<k.length){var z=null,C=d.getLinkTitle(k);null!=p&&0<p.length&&(z=p[0].iconUrl,C=p[0].name||p[0].type,C=C.charAt(0).toUpperCase()+
+C.substring(1),30<C.length&&(C=C.substring(0,30)+"..."));p=new mxCell(C,new mxGeometry(0,0,100,40),"fontColor=#0000EE;fontStyle=4;rounded=1;overflow=hidden;"+(null!=z?"shape=label;imageWidth=16;imageHeight=16;spacingLeft=26;align=left;image="+z:"spacing=10;"));p.vertex=!0;z=d.getCenterInsertPoint(d.getBoundingBoxFromGeometry([p],!0));p.geometry.x=z.x;p.geometry.y=z.y;d.setAttributeForCell(p,"linkTarget",w);d.setLinkForCell(p,k);d.cellSizeUpdated(p,!0);d.getModel().beginUpdate();try{p=d.addCell(p),
+d.fireEvent(new mxEventObject("cellsInserted","cells",[p]))}finally{d.getModel().endUpdate()}d.setSelectionCell(p);d.scrollCellToVisible(d.getSelectionCell())}},!0)},null,null,"L")).isEnabled=g;this.addAction("link...",mxUtils.bind(this,function(){if(d.isEnabled())if(d.cellEditor.isContentEditing()){var k=d.getSelectedElement(),p=d.getParentByName(k,"A",d.cellEditor.textarea),w="";if(null==p&&null!=k&&null!=k.getElementsByTagName)for(var z=k.getElementsByTagName("a"),C=0;C<z.length&&null==p;C++)z[C].textContent==
+k.textContent&&(p=z[C]);null!=p&&"A"==p.nodeName&&(w=p.getAttribute("href")||"",d.selectNode(p));var F=d.cellEditor.saveSelection();f.showLinkDialog(w,mxResources.get("ok"),mxUtils.bind(this,function(D){d.cellEditor.restoreSelection(F);null!=D&&d.insertLink(D)}))}else d.isSelectionEmpty()?this.get("insertLink").funct():this.get("editLink").funct()})).isEnabled=g;this.addAction("autosize",function(){var k=d.getSelectionCells();if(null!=k){d.getModel().beginUpdate();try{for(var p=0;p<k.length;p++){var w=
+k[p];d.getModel().isVertex(w)&&(0<d.getModel().getChildCount(w)?d.updateGroupBounds([w],0,!0):d.updateCellSize(w))}}finally{d.getModel().endUpdate()}}},null,null,Editor.ctrlKey+"+Shift+Y");this.addAction("snapToGrid",function(){d.snapCellsToGrid(d.getSelectionCells(),d.gridSize)});this.addAction("formattedText",function(){d.stopEditing();var k=d.getCommonStyle(d.getSelectionCells());k="1"==mxUtils.getValue(k,"html","0")?null:"1";d.getModel().beginUpdate();try{for(var p=d.getEditableCells(d.getSelectionCells()),
+w=0;w<p.length;w++)if(state=d.getView().getState(p[w]),null!=state){var z=mxUtils.getValue(state.style,"html","0");if("1"==z&&null==k)d.removeTextStyleForCell(state.cell),d.setCellStyles("html",k,[p[w]]);else if("0"==z&&"1"==k){var C=mxUtils.htmlEntities(d.convertValueToString(state.cell),!1);"0"!=mxUtils.getValue(state.style,"nl2Br","1")&&(C=C.replace(/\n/g,"<br/>"));d.cellLabelChanged(state.cell,Graph.sanitizeHtml(C));d.setCellStyles("html",k,[p[w]])}}f.fireEvent(new mxEventObject("styleChanged",
+"keys",["html"],"values",[null!=k?k:"0"],"cells",p))}finally{d.getModel().endUpdate()}});this.addAction("wordWrap",function(){var k=d.getView().getState(d.getSelectionCell()),p="wrap";d.stopEditing();null!=k&&"wrap"==k.style[mxConstants.STYLE_WHITE_SPACE]&&(p=null);d.setCellStyles(mxConstants.STYLE_WHITE_SPACE,p)});this.addAction("rotation",function(){var k="0",p=d.getView().getState(d.getSelectionCell());null!=p&&(k=p.style[mxConstants.STYLE_ROTATION]||k);k=new FilenameDialog(f,k,mxResources.get("apply"),
+function(w){null!=w&&0<w.length&&d.setCellStyles(mxConstants.STYLE_ROTATION,w)},mxResources.get("enterValue")+" ("+mxResources.get("rotation")+" 0-360)");f.showDialog(k.container,375,80,!0,!0);k.init()});this.addAction("resetView",function(){d.zoomTo(1);f.resetScrollbars()},null,null,"Enter/Home");this.addAction("zoomIn",function(k){d.isFastZoomEnabled()?d.lazyZoom(!0,!0,f.buttonZoomDelay):d.zoomIn()},null,null,Editor.ctrlKey+" + / Alt+Mousewheel");this.addAction("zoomOut",function(k){d.isFastZoomEnabled()?
+d.lazyZoom(!1,!0,f.buttonZoomDelay):d.zoomOut()},null,null,Editor.ctrlKey+" - / Alt+Mousewheel");this.addAction("fitWindow",function(){d.pageVisible&&d.isSelectionEmpty()?d.fitPages():f.fitDiagramToWindow()},null,null,Editor.ctrlKey+"+Shift+H");this.addAction("fitPage",mxUtils.bind(this,function(){d.pageVisible?d.fitPages(1):this.get("pageView").funct()}),null,null,Editor.ctrlKey+"+J");this.addAction("fitTwoPages",mxUtils.bind(this,function(){d.pageVisible?d.fitPages(2):this.get("pageView").funct()}),
+null,null,Editor.ctrlKey+"+Shift+J");this.addAction("fitPageWidth",mxUtils.bind(this,function(){d.pageVisible?d.fitPages(1,!0):this.get("pageView").funct()}));this.put("customZoom",new Action(mxResources.get("custom")+"...",mxUtils.bind(this,function(){var k=new FilenameDialog(this.editorUi,parseInt(100*d.getView().getScale()),mxResources.get("apply"),mxUtils.bind(this,function(p){p=parseInt(p);!isNaN(p)&&0<p&&d.zoomTo(p/100)}),mxResources.get("zoom")+" (%)");this.editorUi.showDialog(k.container,
+300,80,!0,!0);k.init()}),null,null,Editor.ctrlKey+"+0"));this.addAction("pageScale...",mxUtils.bind(this,function(){var k=new FilenameDialog(this.editorUi,parseInt(100*d.pageScale),mxResources.get("apply"),mxUtils.bind(this,function(p){p=parseInt(p);!isNaN(p)&&0<p&&(p=new ChangePageSetup(f,null,null,null,p/100),p.ignoreColor=!0,p.ignoreImage=!0,d.model.execute(p))}),mxResources.get("pageScale")+" (%)");this.editorUi.showDialog(k.container,300,80,!0,!0);k.init()}));var n=null;n=this.addAction("grid",
+function(){d.setGridEnabled(!d.isGridEnabled());d.defaultGridEnabled=d.isGridEnabled();f.fireEvent(new mxEventObject("gridEnabledChanged"))},null,null,Editor.ctrlKey+"+Shift+G");n.setToggleAction(!0);n.setSelectedCallback(function(){return d.isGridEnabled()});n.setEnabled(!1);n=this.addAction("guides",function(){d.graphHandler.guidesEnabled=!d.graphHandler.guidesEnabled;f.fireEvent(new mxEventObject("guidesEnabledChanged"))});n.setToggleAction(!0);n.setSelectedCallback(function(){return d.graphHandler.guidesEnabled});
+n.setEnabled(!1);n=this.addAction("animations",function(){Editor.enableAnimations=!Editor.enableAnimations;f.fireEvent(new mxEventObject("enableAnimationsChanged"))});n.setToggleAction(!0);n.setSelectedCallback(function(){return Editor.enableAnimations});n=this.addAction("tooltips",function(){d.tooltipHandler.setEnabled(!d.tooltipHandler.isEnabled());f.fireEvent(new mxEventObject("tooltipsEnabledChanged"))});n.setToggleAction(!0);n.setSelectedCallback(function(){return d.tooltipHandler.isEnabled()});
+n=this.addAction("collapseExpand",function(){var k=new ChangePageSetup(f);k.ignoreColor=!0;k.ignoreImage=!0;k.foldingEnabled=!d.foldingEnabled;d.model.execute(k)});n.setToggleAction(!0);n.setSelectedCallback(function(){return d.foldingEnabled});n.isEnabled=g;n=this.addAction("pageView",mxUtils.bind(this,function(){f.setPageVisible(!d.pageVisible)}));n.setToggleAction(!0);n.setSelectedCallback(function(){return d.pageVisible});n=this.addAction("connectionArrows",function(){d.connectionArrowsEnabled=
+!d.connectionArrowsEnabled;f.fireEvent(new mxEventObject("connectionArrowsChanged"))},null,null,"Alt+Shift+A");n.setToggleAction(!0);n.setSelectedCallback(function(){return d.connectionArrowsEnabled});n=this.addAction("connectionPoints",function(){d.setConnectable(!d.connectionHandler.isEnabled());f.fireEvent(new mxEventObject("connectionPointsChanged"))},null,null,"Alt+Shift+O");n.setToggleAction(!0);n.setSelectedCallback(function(){return d.connectionHandler.isEnabled()});n=this.addAction("copyConnect",
+function(){d.connectionHandler.setCreateTarget(!d.connectionHandler.isCreateTarget());f.fireEvent(new mxEventObject("copyConnectChanged"))});n.setToggleAction(!0);n.setSelectedCallback(function(){return d.connectionHandler.isCreateTarget()});n.isEnabled=g;n=this.addAction("autosave",function(){f.editor.setAutosave(!f.editor.autosave)});n.setToggleAction(!0);n.setSelectedCallback(function(){return f.editor.autosave});n.isEnabled=g;n.visible=!1;this.addAction("help",function(){var k="";mxResources.isLanguageSupported(mxClient.language)&&
+(k="_"+mxClient.language);d.openLink(RESOURCES_PATH+"/help"+k+".html")});var q=!1;this.put("about",new Action(mxResources.get("about")+" Graph Editor...",function(){q||(f.showDialog((new AboutDialog(f)).container,320,280,!0,!0,function(){q=!1}),q=!0)}));n=mxUtils.bind(this,function(k,p,w,z){return this.addAction(k,function(){if(null!=w&&d.cellEditor.isContentEditing())w();else{d.stopEditing(!1);d.getModel().beginUpdate();try{var C=d.getEditableCells(d.getSelectionCells());d.toggleCellStyleFlags(mxConstants.STYLE_FONTSTYLE,
+p,C);(p&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD?d.updateLabelElements(C,function(D){D.style.fontWeight=null;"B"==D.nodeName&&d.replaceElement(D)}):(p&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC?d.updateLabelElements(C,function(D){D.style.fontStyle=null;"I"==D.nodeName&&d.replaceElement(D)}):(p&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&d.updateLabelElements(C,function(D){D.style.textDecoration=null;"U"==D.nodeName&&d.replaceElement(D)});for(var F=0;F<C.length;F++)0==d.model.getChildCount(C[F])&&
+d.autoSizeCell(C[F],!1)}finally{d.getModel().endUpdate()}}},null,null,z)});n("bold",mxConstants.FONT_BOLD,function(){document.execCommand("bold",!1,null)},Editor.ctrlKey+"+B");n("italic",mxConstants.FONT_ITALIC,function(){document.execCommand("italic",!1,null)},Editor.ctrlKey+"+I");n("underline",mxConstants.FONT_UNDERLINE,function(){document.execCommand("underline",!1,null)},Editor.ctrlKey+"+U");this.addAction("fontColor...",function(){f.menus.pickColor(mxConstants.STYLE_FONTCOLOR,"forecolor","000000",
+"default",d.shapeForegroundColor)});this.addAction("strokeColor...",function(){f.menus.pickColor(mxConstants.STYLE_STROKECOLOR,null,null,"default",d.shapeForegroundColor)});this.addAction("fillColor...",function(){f.menus.pickColor(mxConstants.STYLE_FILLCOLOR,null,null,"default",d.shapeBackgroundColor)});this.addAction("gradientColor...",function(){f.menus.pickColor(mxConstants.STYLE_GRADIENTCOLOR,null,null,"default",d.shapeForegroundColor)});this.addAction("backgroundColor...",function(){f.menus.pickColor(mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,
+"backcolor",null,"default",d.shapeBackgroundColor)});this.addAction("borderColor...",function(){f.menus.pickColor(mxConstants.STYLE_LABEL_BORDERCOLOR,null,null,"default",d.shapeForegroundColor)});this.addAction("removeFormat",function(){if(d.isEnabled()&&!d.isSelectionEmpty()&&!d.isEditing()){d.getModel().beginUpdate();try{for(var k=d.getSelectionCells(),p=0;p<k.length;p++)d.removeTextStyleForCell(k[p],!0)}finally{d.getModel().endUpdate()}}});this.addAction("vertical",function(){f.menus.toggleStyle(mxConstants.STYLE_HORIZONTAL,
+!0)});this.addAction("shadow",function(){f.menus.toggleStyle(mxConstants.STYLE_SHADOW)});this.addAction("solid",function(){d.getModel().beginUpdate();try{d.setCellStyles(mxConstants.STYLE_DASHED,null),d.setCellStyles(mxConstants.STYLE_DASH_PATTERN,null),f.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],"values",[null,null],"cells",d.getSelectionCells()))}finally{d.getModel().endUpdate()}});this.addAction("dashed",function(){d.getModel().beginUpdate();
+try{d.setCellStyles(mxConstants.STYLE_DASHED,"1"),d.setCellStyles(mxConstants.STYLE_DASH_PATTERN,null),f.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],"values",["1",null],"cells",d.getSelectionCells()))}finally{d.getModel().endUpdate()}});this.addAction("dotted",function(){d.getModel().beginUpdate();try{d.setCellStyles(mxConstants.STYLE_DASHED,"1"),d.setCellStyles(mxConstants.STYLE_DASH_PATTERN,"1 4"),f.fireEvent(new mxEventObject("styleChanged",
+"keys",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],"values",["1","1 4"],"cells",d.getSelectionCells()))}finally{d.getModel().endUpdate()}});this.addAction("sharp",function(){d.getModel().beginUpdate();try{d.setCellStyles(mxConstants.STYLE_ROUNDED,"0"),d.setCellStyles(mxConstants.STYLE_CURVED,"0"),f.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ROUNDED,mxConstants.STYLE_CURVED],"values",["0","0"],"cells",d.getSelectionCells()))}finally{d.getModel().endUpdate()}});
+this.addAction("rounded",function(){d.getModel().beginUpdate();try{d.setCellStyles(mxConstants.STYLE_ROUNDED,"1"),d.setCellStyles(mxConstants.STYLE_CURVED,"0"),f.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ROUNDED,mxConstants.STYLE_CURVED],"values",["1","0"],"cells",d.getSelectionCells()))}finally{d.getModel().endUpdate()}});this.addAction("toggleRounded",function(){if(!d.isSelectionEmpty()&&d.isEnabled()){d.getModel().beginUpdate();try{var k=d.getSelectionCells(),p=d.getCurrentCellStyle(k[0]),
+w="1"==mxUtils.getValue(p,mxConstants.STYLE_ROUNDED,"0")?"0":"1";d.setCellStyles(mxConstants.STYLE_ROUNDED,w);d.setCellStyles(mxConstants.STYLE_CURVED,null);f.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ROUNDED,mxConstants.STYLE_CURVED],"values",[w,"0"],"cells",d.getSelectionCells()))}finally{d.getModel().endUpdate()}}});this.addAction("curved",function(){d.getModel().beginUpdate();try{d.setCellStyles(mxConstants.STYLE_ROUNDED,"0"),d.setCellStyles(mxConstants.STYLE_CURVED,
+"1"),f.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ROUNDED,mxConstants.STYLE_CURVED],"values",["0","1"],"cells",d.getSelectionCells()))}finally{d.getModel().endUpdate()}});this.addAction("collapsible",function(){var k=d.view.getState(d.getSelectionCell()),p="1";null!=k&&null!=d.getFoldingImage(k)&&(p="0");d.setCellStyles("collapsible",p);f.fireEvent(new mxEventObject("styleChanged","keys",["collapsible"],"values",[p],"cells",d.getSelectionCells()))});this.addAction("editStyle...",
+mxUtils.bind(this,function(){var k=d.getEditableCells(d.getSelectionCells());if(null!=k&&0<k.length){var p=d.getModel();p=new TextareaDialog(this.editorUi,mxResources.get("editStyle")+":",p.getStyle(k[0])||"",function(w){null!=w&&d.setCellStyle(mxUtils.trim(w),k)},null,null,400,220);this.editorUi.showDialog(p.container,420,300,!0,!0);p.init()}}),null,null,Editor.ctrlKey+"+E");this.addAction("setAsDefaultStyle",function(){d.isEnabled()&&!d.isSelectionEmpty()&&f.setDefaultStyle(d.getSelectionCell())},
+null,null,Editor.ctrlKey+"+Shift+D");this.addAction("clearDefaultStyle",function(){d.isEnabled()&&f.clearDefaultStyle()},null,null,Editor.ctrlKey+"+Shift+R");this.addAction("addWaypoint",function(){var k=d.getSelectionCell();if(null!=k&&d.getModel().isEdge(k)){var p=h.graph.selectionCellsHandler.getHandler(k);if(p instanceof mxEdgeHandler){var w=d.view.translate,z=d.view.scale,C=w.x;w=w.y;k=d.getModel().getParent(k);for(var F=d.getCellGeometry(k);d.getModel().isVertex(k)&&null!=F;)C+=F.x,w+=F.y,k=
+d.getModel().getParent(k),F=d.getCellGeometry(k);C=Math.round(d.snap(d.popupMenuHandler.triggerX/z-C));z=Math.round(d.snap(d.popupMenuHandler.triggerY/z-w));p.addPointAt(p.state,C,z)}}});this.addAction("removeWaypoint",function(){var k=f.actions.get("removeWaypoint");null!=k.handler&&k.handler.removePoint(k.handler.state,k.index)});this.addAction("clearAnchors",function(){var k=d.getSelectionCells();if(null!=k){k=d.getEditableCells(d.addAllEdges(k));d.getModel().beginUpdate();try{for(var p=0;p<k.length;p++){var w=
+k[p];d.getModel().isEdge(w)&&(d.setCellStyles(mxConstants.STYLE_EXIT_X,null,[w]),d.setCellStyles(mxConstants.STYLE_EXIT_Y,null,[w]),d.setCellStyles(mxConstants.STYLE_ENTRY_X,null,[w]),d.setCellStyles(mxConstants.STYLE_ENTRY_Y,null,[w]))}}finally{d.getModel().endUpdate()}}});this.addAction("clearWaypoints",function(){var k=d.getSelectionCells();if(null!=k){k=d.getEditableCells(d.addAllEdges(k));d.getModel().beginUpdate();try{for(var p=0;p<k.length;p++){var w=k[p];if(d.getModel().isEdge(w)){var z=d.getCellGeometry(w);
+null!=z&&(z=z.clone(),z.points=null,z.x=0,z.y=0,z.offset=null,d.getModel().setGeometry(w,z))}}}finally{d.getModel().endUpdate()}}},null,null,"Alt+Shift+R");n=this.addAction("subscript",mxUtils.bind(this,function(){d.cellEditor.isContentEditing()&&document.execCommand("subscript",!1,null)}),null,null,Editor.ctrlKey+"+,");n=this.addAction("superscript",mxUtils.bind(this,function(){d.cellEditor.isContentEditing()&&document.execCommand("superscript",!1,null)}),null,null,Editor.ctrlKey+"+.");n=this.addAction("decreaseFontSize",
+mxUtils.bind(this,function(){if(!d.isSelectionEmpty()){var k=d.getCurrentCellStyle(d.getSelectionCell());k=mxUtils.getValue(k,mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE);d.setCellStyles(mxConstants.STYLE_FONTSIZE,Math.max(1,k-1),d.getSelectionCells())}}),null,null,Editor.ctrlKey+"+Shift + (Numpad)");n=this.addAction("increaseFontSize",mxUtils.bind(this,function(){if(!d.isSelectionEmpty()){var k=d.getCurrentCellStyle(d.getSelectionCell());k=mxUtils.getValue(k,mxConstants.STYLE_FONTSIZE,
+mxConstants.DEFAULT_FONTSIZE);d.setCellStyles(mxConstants.STYLE_FONTSIZE,Math.min(100,k+1),d.getSelectionCells())}}),null,null,Editor.ctrlKey+"+Shift - (Numpad)");this.addAction("image...",function(){if(d.isEnabled()&&!d.isCellLocked(d.getDefaultParent())){var k=mxResources.get("image")+" ("+mxResources.get("url")+"):",p=d.getView().getState(d.getSelectionCell()),w="",z=null;null!=p&&(w=p.style[mxConstants.STYLE_IMAGE]||w,z=p.style[mxConstants.STYLE_CLIP_PATH]||z);var C=d.cellEditor.saveSelection();
+f.showImageDialog(k,w,function(F,D,H,K,G,P){if(d.cellEditor.isContentEditing())d.cellEditor.restoreSelection(C),d.insertImage(F,D,H);else{var I=d.getSelectionCells();if(null!=F&&(0<F.length||0<I.length)){var Z=null;d.getModel().beginUpdate();try{if(0==I.length){I=[d.insertVertex(d.getDefaultParent(),null,"",0,0,D,H,"shape=image;imageAspect=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;")];var S=d.getCenterInsertPoint(d.getBoundingBoxFromGeometry(I,!0));I[0].geometry.x=S.x;I[0].geometry.y=
+S.y;null!=K&&e(I[0],K,G,P,d);Z=I;d.fireEvent(new mxEventObject("cellsInserted","cells",Z))}d.setCellStyles(mxConstants.STYLE_IMAGE,0<F.length?F:null,I);var Y=d.getCurrentCellStyle(I[0]);"image"!=Y[mxConstants.STYLE_SHAPE]&&"label"!=Y[mxConstants.STYLE_SHAPE]?d.setCellStyles(mxConstants.STYLE_SHAPE,"image",I):0==F.length&&d.setCellStyles(mxConstants.STYLE_SHAPE,null,I);null==K&&d.setCellStyles(mxConstants.STYLE_CLIP_PATH,null,I);if(null!=D&&null!=H)for(F=0;F<I.length;F++){var V=I[F];if("0"!=d.getCurrentCellStyle(V).expand){var L=
+d.getModel().getGeometry(V);null!=L&&(L=L.clone(),L.width=D,L.height=H,d.getModel().setGeometry(V,L))}null!=K&&e(V,K,G,P,d)}}finally{d.getModel().endUpdate()}null!=Z&&(d.setSelectionCells(Z),d.scrollCellToVisible(Z[0]))}}},d.cellEditor.isContentEditing(),!d.cellEditor.isContentEditing(),!0,z)}}).isEnabled=g;this.addAction("crop...",function(){var k=d.getSelectionCell();if(d.isEnabled()&&!d.isCellLocked(d.getDefaultParent())&&null!=k){var p=d.getCurrentCellStyle(k),w=p[mxConstants.STYLE_IMAGE],z=p[mxConstants.STYLE_SHAPE];
+w&&"image"==z&&(p=new CropImageDialog(f,w,p[mxConstants.STYLE_CLIP_PATH],function(C,F,D){e(k,C,F,D,d)}),f.showDialog(p.container,300,390,!0,!0))}}).isEnabled=g;n=this.addAction("layers",mxUtils.bind(this,function(){null==this.layersWindow?(this.layersWindow=new LayersWindow(f,document.body.offsetWidth-280,120,212,200),this.layersWindow.window.addListener("show",mxUtils.bind(this,function(){f.fireEvent(new mxEventObject("layers"))})),this.layersWindow.window.addListener("hide",function(){f.fireEvent(new mxEventObject("layers"))}),
+this.layersWindow.window.setVisible(!0),f.fireEvent(new mxEventObject("layers")),this.layersWindow.init()):this.layersWindow.window.setVisible(!this.layersWindow.window.isVisible())}),null,null,Editor.ctrlKey+"+Shift+L");n.setToggleAction(!0);n.setSelectedCallback(mxUtils.bind(this,function(){return null!=this.layersWindow&&this.layersWindow.window.isVisible()}));n=this.addAction("format",mxUtils.bind(this,function(){f.toggleFormatPanel()}),null,null,Editor.ctrlKey+"+Shift+P");n.setToggleAction(!0);
+n.setSelectedCallback(mxUtils.bind(this,function(){return f.isFormatPanelVisible()}));n=this.addAction("outline",mxUtils.bind(this,function(){null==this.outlineWindow?(this.outlineWindow=new OutlineWindow(f,document.body.offsetWidth-260,100,180,180),this.outlineWindow.window.addListener("show",mxUtils.bind(this,function(){f.fireEvent(new mxEventObject("outline"))})),this.outlineWindow.window.addListener("hide",function(){f.fireEvent(new mxEventObject("outline"))}),this.outlineWindow.window.setVisible(!0),
+f.fireEvent(new mxEventObject("outline"))):this.outlineWindow.window.setVisible(!this.outlineWindow.window.isVisible())}),null,null,Editor.ctrlKey+"+Shift+O");n.setToggleAction(!0);n.setSelectedCallback(mxUtils.bind(this,function(){return null!=this.outlineWindow&&this.outlineWindow.window.isVisible()}));this.addAction("editConnectionPoints...",function(){var k=d.getSelectionCell();if(d.isEnabled()&&!d.isCellLocked(d.getDefaultParent())&&null!=k&&null!=k.geometry){var p=new ConnectionPointsDialog(f,
+k);f.showDialog(p.container,350,450,!0,!1,function(){p.destroy()});p.init()}},null,null,"Alt+Shift+Q").isEnabled=g};Actions.prototype.addAction=function(a,b,e,f,h){if("..."==a.substring(a.length-3)){a=a.substring(0,a.length-3);var d=mxResources.get(a)+"..."}else d=mxResources.get(a);return this.put(a,new Action(d,b,e,f,h))};Actions.prototype.put=function(a,b){return this.actions[a]=b};Actions.prototype.get=function(a){return this.actions[a]};
+function Action(a,b,e,f,h){mxEventSource.call(this);this.label=a;this.funct=this.createFunction(b);this.enabled=null!=e?e:!0;this.iconCls=f;this.shortcut=h;this.visible=!0}mxUtils.extend(Action,mxEventSource);Action.prototype.createFunction=function(a){return a};Action.prototype.setEnabled=function(a){this.enabled!=a&&(this.enabled=a,this.fireEvent(new mxEventObject("stateChanged")))};Action.prototype.isEnabled=function(){return this.enabled};
Action.prototype.setToggleAction=function(a){this.toggleAction=a};Action.prototype.setSelectedCallback=function(a){this.selectedCallback=a};Action.prototype.isSelected=function(){return this.selectedCallback()};Menus=function(a){this.editorUi=a;this.menus={};this.init();mxClient.IS_SVG||((new Image).src=this.checkmarkImage)};Menus.prototype.defaultFont="Helvetica";Menus.prototype.defaultFontSize="12";Menus.prototype.defaultMenuItems="file edit view arrange extras help".split(" ");Menus.prototype.defaultFonts="Helvetica;Verdana;Times New Roman;Garamond;Comic Sans MS;Courier New;Georgia;Lucida Console;Tahoma".split(";");Menus.prototype.autoPopup=!0;
-Menus.prototype.init=function(){var a=this.editorUi,b=a.editor.graph,d=mxUtils.bind(b,b.isEnabled);this.customFonts=[];this.customFontSizes=[];this.put("fontFamily",new Menu(mxUtils.bind(this,function(e,g){for(var f=mxUtils.bind(this,function(n){this.styleChange(e,n,[mxConstants.STYLE_FONTFAMILY],[n],null,g,function(){document.execCommand("fontname",!1,n);a.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_FONTFAMILY],"values",[n],"cells",[b.cellEditor.getEditingCell()]))},function(){b.updateLabelElements(b.getSelectionCells(),
-function(q){q.removeAttribute("face");q.style.fontFamily=null;"PRE"==q.nodeName&&b.replaceElement(q,"div")})}).firstChild.nextSibling.style.fontFamily=n}),h=0;h<this.defaultFonts.length;h++)f(this.defaultFonts[h]);e.addSeparator(g);if(0<this.customFonts.length){for(h=0;h<this.customFonts.length;h++)f(this.customFonts[h]);e.addSeparator(g);e.addItem(mxResources.get("reset"),null,mxUtils.bind(this,function(){this.customFonts=[];this.editorUi.fireEvent(new mxEventObject("customFontsChanged"))}),g);e.addSeparator(g)}this.promptChange(e,
-mxResources.get("custom")+"...","",mxConstants.DEFAULT_FONTFAMILY,mxConstants.STYLE_FONTFAMILY,g,!0,mxUtils.bind(this,function(n){0>mxUtils.indexOf(this.customFonts,n)&&(this.customFonts.push(n),this.editorUi.fireEvent(new mxEventObject("customFontsChanged")))}))})));this.put("formatBlock",new Menu(mxUtils.bind(this,function(e,g){function f(h,n){return e.addItem(h,null,mxUtils.bind(this,function(){null!=b.cellEditor.textarea&&(b.cellEditor.textarea.focus(),document.execCommand("formatBlock",!1,"<"+
-n+">"))}),g)}f(mxResources.get("normal"),"p");f("","h1").firstChild.nextSibling.innerHTML='<h1 style="margin:0px;">'+mxResources.get("heading")+" 1</h1>";f("","h2").firstChild.nextSibling.innerHTML='<h2 style="margin:0px;">'+mxResources.get("heading")+" 2</h2>";f("","h3").firstChild.nextSibling.innerHTML='<h3 style="margin:0px;">'+mxResources.get("heading")+" 3</h3>";f("","h4").firstChild.nextSibling.innerHTML='<h4 style="margin:0px;">'+mxResources.get("heading")+" 4</h4>";f("","h5").firstChild.nextSibling.innerHTML=
-'<h5 style="margin:0px;">'+mxResources.get("heading")+" 5</h5>";f("","h6").firstChild.nextSibling.innerHTML='<h6 style="margin:0px;">'+mxResources.get("heading")+" 6</h6>";f("","pre").firstChild.nextSibling.innerHTML='<pre style="margin:0px;">'+mxResources.get("formatted")+"</pre>";f("","blockquote").firstChild.nextSibling.innerHTML='<blockquote style="margin-top:0px;margin-bottom:0px;">'+mxResources.get("blockquote")+"</blockquote>"})));this.put("fontSize",new Menu(mxUtils.bind(this,function(e,g){var f=
-[6,8,9,10,11,12,14,18,24,36,48,72];0>mxUtils.indexOf(f,this.defaultFontSize)&&(f.push(this.defaultFontSize),f.sort(function(w,z){return w-z}));for(var h=mxUtils.bind(this,function(w){if(null!=b.cellEditor.textarea){document.execCommand("fontSize",!1,"3");for(var z=b.cellEditor.textarea.getElementsByTagName("font"),C=0;C<z.length;C++)if("3"==z[C].getAttribute("size")){z[C].removeAttribute("size");z[C].style.fontSize=w+"px";break}a.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_FONTSIZE],
-"values",[w],"cells",[b.cellEditor.getEditingCell()]))}}),n=mxUtils.bind(this,function(w){this.styleChange(e,w,[mxConstants.STYLE_FONTSIZE],[w],null,g,function(){h(w)})}),q=0;q<f.length;q++)n(f[q]);e.addSeparator(g);if(0<this.customFontSizes.length){var l=0;for(q=0;q<this.customFontSizes.length;q++)0>mxUtils.indexOf(f,this.customFontSizes[q])&&(n(this.customFontSizes[q]),l++);0<l&&e.addSeparator(g);e.addItem(mxResources.get("reset"),null,mxUtils.bind(this,function(){this.customFontSizes=[]}),g);e.addSeparator(g)}var p=
-null;this.promptChange(e,mxResources.get("custom")+"...","("+mxResources.get("points")+")",this.defaultFontSize,mxConstants.STYLE_FONTSIZE,g,!0,mxUtils.bind(this,function(w){null!=p&&null!=b.cellEditor.textarea&&(b.cellEditor.textarea.focus(),b.cellEditor.restoreSelection(p));null!=w&&0<w.length&&(this.customFontSizes.push(w),h(w))}),null,function(){p=b.cellEditor.saveSelection();return!1})})));this.put("direction",new Menu(mxUtils.bind(this,function(e,g){e.addItem(mxResources.get("flipH"),null,function(){b.toggleCellStyles(mxConstants.STYLE_FLIPH,
-!1)},g);e.addItem(mxResources.get("flipV"),null,function(){b.toggleCellStyles(mxConstants.STYLE_FLIPV,!1)},g);this.addMenuItems(e,["-","rotation"],g)})));this.put("align",new Menu(mxUtils.bind(this,function(e,g){var f=1<this.editorUi.getSelectionState().vertices.length;e.addItem(mxResources.get("leftAlign"),null,function(){b.alignCells(mxConstants.ALIGN_LEFT)},g,null,f);e.addItem(mxResources.get("center"),null,function(){b.alignCells(mxConstants.ALIGN_CENTER)},g,null,f);e.addItem(mxResources.get("rightAlign"),
-null,function(){b.alignCells(mxConstants.ALIGN_RIGHT)},g,null,f);e.addSeparator(g);e.addItem(mxResources.get("topAlign"),null,function(){b.alignCells(mxConstants.ALIGN_TOP)},g,null,f);e.addItem(mxResources.get("middle"),null,function(){b.alignCells(mxConstants.ALIGN_MIDDLE)},g,null,f);e.addItem(mxResources.get("bottomAlign"),null,function(){b.alignCells(mxConstants.ALIGN_BOTTOM)},g,null,f);this.addMenuItems(e,["-","snapToGrid"],g)})));this.put("distribute",new Menu(mxUtils.bind(this,function(e,g){e.addItem(mxResources.get("horizontal"),
-null,function(){b.distributeCells(!0)},g);e.addItem(mxResources.get("vertical"),null,function(){b.distributeCells(!1)},g);e.addSeparator(g);this.addSubmenu("distributeSpacing",e,g,mxResources.get("spacing"))})));this.put("distributeSpacing",new Menu(mxUtils.bind(this,function(e,g){e.addItem(mxResources.get("horizontal"),null,function(){b.distributeCells(!0,null,!0)},g);e.addItem(mxResources.get("vertical"),null,function(){b.distributeCells(!1,null,!0)},g)})));this.put("line",new Menu(mxUtils.bind(this,
-function(e,g){var f=b.view.getState(b.getSelectionCell());null!=f&&(f=mxUtils.getValue(f.style,mxConstants.STYLE_SHAPE),"arrow"!=f&&(this.edgeStyleChange(e,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],[null,null,null],"geIcon geSprite geSprite-straight",g,!0).setAttribute("title",mxResources.get("straight")),this.edgeStyleChange(e,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["orthogonalEdgeStyle",null,null],"geIcon geSprite geSprite-orthogonal",
-g,!0).setAttribute("title",mxResources.get("orthogonal")),this.edgeStyleChange(e,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["elbowEdgeStyle",null,null,null],"geIcon geSprite geSprite-horizontalelbow",g,!0).setAttribute("title",mxResources.get("simple")),this.edgeStyleChange(e,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["elbowEdgeStyle","vertical",null,null],"geIcon geSprite geSprite-verticalelbow",
-g,!0).setAttribute("title",mxResources.get("simple")),this.edgeStyleChange(e,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["isometricEdgeStyle",null,null,null],"geIcon geSprite geSprite-horizontalisometric",g,!0).setAttribute("title",mxResources.get("isometric")),this.edgeStyleChange(e,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["isometricEdgeStyle","vertical",null,null],"geIcon geSprite geSprite-verticalisometric",
-g,!0).setAttribute("title",mxResources.get("isometric")),"connector"==f&&this.edgeStyleChange(e,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["orthogonalEdgeStyle","1",null],"geIcon geSprite geSprite-curved",g,!0).setAttribute("title",mxResources.get("curved")),this.edgeStyleChange(e,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["entityRelationEdgeStyle",null,null],"geIcon geSprite geSprite-entity",g,!0).setAttribute("title",
-mxResources.get("entityRelation"))),e.addSeparator(g),this.styleChange(e,"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,"width"],[null,null,null,null],"geIcon geSprite geSprite-connection",g,null,null,!0).setAttribute("title",mxResources.get("line")),this.styleChange(e,"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,"width"],["link",null,null,null],"geIcon geSprite geSprite-linkedge",g,null,null,!0).setAttribute("title",mxResources.get("link")),
-this.styleChange(e,"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,"width"],["flexArrow",null,null,null],"geIcon geSprite geSprite-arrow",g,null,null,!0).setAttribute("title",mxResources.get("arrow")),this.styleChange(e,"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,"width"],["arrow",null,null,null],"geIcon geSprite geSprite-simplearrow",g,null,null,!0).setAttribute("title",mxResources.get("simpleArrow")))})));this.put("layout",
-new Menu(mxUtils.bind(this,function(e,g){var f=mxUtils.bind(this,function(n,q){this.editorUi.prompt(mxResources.get("spacing"),n,q)}),h=mxUtils.bind(this,function(n){this.editorUi.tryAndHandle(mxUtils.bind(this,function(){var q=b.getSelectionCell(),l=null;null==q||0==b.getModel().getChildCount(q)?0==b.getModel().getEdgeCount(q)&&(l=b.findTreeRoots(b.getDefaultParent())):l=b.findTreeRoots(q);null!=l&&0<l.length&&(q=l[0]);null!=q&&this.editorUi.executeLayout(function(){n.execute(b.getDefaultParent(),
-q);b.isSelectionEmpty()||(q=b.getModel().getParent(q),b.getModel().isVertex(q)&&b.updateGroupBounds([q],2*b.gridSize,!0))},!0)}))});e.addItem(mxResources.get("horizontalFlow"),null,mxUtils.bind(this,function(){this.editorUi.tryAndHandle(mxUtils.bind(this,function(){var n=new mxHierarchicalLayout(b,mxConstants.DIRECTION_WEST);this.editorUi.executeLayout(function(){var q=b.getSelectionCells();n.execute(b.getDefaultParent(),0==q.length?null:q)},!0)}))}),g);e.addItem(mxResources.get("verticalFlow"),null,
-mxUtils.bind(this,function(){this.editorUi.tryAndHandle(mxUtils.bind(this,function(){var n=new mxHierarchicalLayout(b,mxConstants.DIRECTION_NORTH);this.editorUi.executeLayout(function(){var q=b.getSelectionCells();n.execute(b.getDefaultParent(),0==q.length?null:q)},!0)}))}),g);e.addSeparator(g);e.addItem(mxResources.get("horizontalTree"),null,mxUtils.bind(this,function(){var n=new mxCompactTreeLayout(b,!0);n.edgeRouting=!1;n.levelDistance=30;n.sortEdges=!0;f(n.levelDistance,mxUtils.bind(this,function(q){isNaN(q)||
-(n.levelDistance=q,h(n))}))}),g);e.addItem(mxResources.get("verticalTree"),null,mxUtils.bind(this,function(){var n=new mxCompactTreeLayout(b,!1);n.edgeRouting=!1;n.levelDistance=30;n.sortEdges=!0;f(n.levelDistance,mxUtils.bind(this,function(q){isNaN(q)||(n.levelDistance=q,h(n))}))}),g);e.addItem(mxResources.get("radialTree"),null,mxUtils.bind(this,function(){var n=new mxRadialTreeLayout(b);n.levelDistance=80;n.autoRadius=!0;f(n.levelDistance,mxUtils.bind(this,function(q){isNaN(q)||(n.levelDistance=
-q,h(n))}))}),g);e.addSeparator(g);e.addItem(mxResources.get("organic"),null,mxUtils.bind(this,function(){var n=new mxFastOrganicLayout(b);f(n.forceConstant,mxUtils.bind(this,function(q){this.editorUi.tryAndHandle(mxUtils.bind(this,function(){n.forceConstant=q;this.editorUi.executeLayout(function(){var l=b.getSelectionCell();if(null==l||0==b.getModel().getChildCount(l))l=b.getDefaultParent();n.execute(l);b.getModel().isVertex(l)&&b.updateGroupBounds([l],2*b.gridSize,!0)},!0)}))}))}),g);e.addItem(mxResources.get("circle"),
-null,mxUtils.bind(this,function(){this.editorUi.tryAndHandle(mxUtils.bind(this,function(){var n=new mxCircleLayout(b);this.editorUi.executeLayout(function(){var q=b.getSelectionCell();if(null==q||0==b.getModel().getChildCount(q))q=b.getDefaultParent();n.execute(q);b.getModel().isVertex(q)&&b.updateGroupBounds([q],2*b.gridSize,!0)},!0)}))}),g)})));this.put("navigation",new Menu(mxUtils.bind(this,function(e,g){this.addMenuItems(e,"home - exitGroup enterGroup - expand collapse - collapsible".split(" "),
-g)})));this.put("arrange",new Menu(mxUtils.bind(this,function(e,g){this.addMenuItems(e,["toFront","toBack","bringForward","sendBackward","-"],g);this.addSubmenu("direction",e,g);this.addMenuItems(e,["turn","-"],g);this.addSubmenu("align",e,g);this.addSubmenu("distribute",e,g);e.addSeparator(g);this.addSubmenu("navigation",e,g);this.addSubmenu("insert",e,g);this.addSubmenu("layout",e,g);this.addMenuItems(e,"- group ungroup removeFromGroup - clearWaypoints autosize".split(" "),g)}))).isEnabled=d;this.put("insert",
-new Menu(mxUtils.bind(this,function(e,g){this.addMenuItems(e,["insertLink","insertImage"],g)})));this.put("view",new Menu(mxUtils.bind(this,function(e,g){this.addMenuItems(e,(null!=this.editorUi.format?["format"]:[]).concat("outline layers - pageView pageScale - tooltips grid guides - connectionArrows connectionPoints - resetView zoomIn zoomOut".split(" "),g))})));this.put("viewPanels",new Menu(mxUtils.bind(this,function(e,g){null!=this.editorUi.format&&this.addMenuItems(e,["format"],g);this.addMenuItems(e,
-["outline","layers"],g)})));this.put("viewZoom",new Menu(mxUtils.bind(this,function(e,g){this.addMenuItems(e,["smartFit","-"],g);for(var f=[.25,.5,.75,1,1.25,1.5,2,3,4],h=0;h<f.length;h++)(function(n){e.addItem(100*n+"%",null,function(){b.zoomTo(n)},g)})(f[h]);this.addMenuItems(e,"- fitWindow fitPageWidth fitPage fitTwoPages - customZoom".split(" "),g)})));this.put("file",new Menu(mxUtils.bind(this,function(e,g){this.addMenuItems(e,"new open - save saveAs - import export - pageSetup print".split(" "),
-g)})));this.put("edit",new Menu(mxUtils.bind(this,function(e,g){this.addMenuItems(e,"undo redo - cut copy paste delete - duplicate - editData editTooltip - editStyle - edit - editLink openLink - selectVertices selectEdges selectAll selectNone - lockUnlock".split(" "))})));this.put("extras",new Menu(mxUtils.bind(this,function(e,g){this.addMenuItems(e,["copyConnect","collapseExpand","-","editDiagram"])})));this.put("help",new Menu(mxUtils.bind(this,function(e,g){this.addMenuItems(e,["help","-","about"])})))};
-Menus.prototype.put=function(a,b){return this.menus[a]=b};Menus.prototype.get=function(a){return this.menus[a]};Menus.prototype.addSubmenu=function(a,b,d,e){var g=this.get(a),f=null;null!=g&&(g=g.isEnabled(),b.showDisabled||g)&&(f=b.addItem(e||mxResources.get(a),null,null,d,null,g),this.addMenu(a,b,f));return f};Menus.prototype.addMenu=function(a,b,d){a=this.get(a);null!=a&&(b.showDisabled||a.isEnabled())&&a.execute(b,d)};
-Menus.prototype.addInsertTableCellItem=function(a,b){var d=this.editorUi.editor.graph,e=d.getSelectionCell(),g=d.getCurrentCellStyle(e);1<d.getSelectionCount()&&(d.isTableCell(e)&&(e=d.model.getParent(e)),d.isTableRow(e)&&(e=d.model.getParent(e)));var f=d.isTable(e)||d.isTableRow(e)||d.isTableCell(e),h=d.isStack(e)||d.isStackChild(e),n=f,q=f;h&&(g=d.isStack(e)?g:d.getCellStyle(d.model.getParent(e)),q="0"==g.horizontalStack,n=!q);null!=b||!f&&!h?this.addInsertTableItem(a,mxUtils.bind(this,function(l,
-p,w,z,C){p=C||mxEvent.isControlDown(l)||mxEvent.isMetaDown(l)?d.createCrossFunctionalSwimlane(p,w,null,null,z||mxEvent.isShiftDown(l)?"Cross-Functional Flowchart":null):d.createTable(p,w,null,null,z||mxEvent.isShiftDown(l)?"Table":null);l=mxEvent.isAltDown(l)?d.getFreeInsertPoint():d.getCenterInsertPoint(d.getBoundingBoxFromGeometry([p],!0));w=null;d.getModel().beginUpdate();try{w=d.importCells([p],l.x,l.y),d.fireEvent(new mxEventObject("cellsInserted","cells",d.model.getDescendants(w[0])))}finally{d.getModel().endUpdate()}null!=
-w&&0<w.length&&(d.scrollCellToVisible(w[0]),d.setSelectionCells(w))}),b):(n&&(b=a.addItem(mxResources.get("insertColumnBefore"),null,mxUtils.bind(this,function(){try{h?d.insertLane(e,!0):d.insertTableColumn(e,!0)}catch(l){this.editorUi.handleError(l)}}),null,"geIcon geSprite geSprite-insertcolumnbefore"),b.setAttribute("title",mxResources.get("insertColumnBefore")),b=a.addItem(mxResources.get("insertColumnAfter"),null,mxUtils.bind(this,function(){try{h?d.insertLane(e,!1):d.insertTableColumn(e,!1)}catch(l){this.editorUi.handleError(l)}}),
-null,"geIcon geSprite geSprite-insertcolumnafter"),b.setAttribute("title",mxResources.get("insertColumnAfter")),b=a.addItem(mxResources.get("deleteColumn"),null,mxUtils.bind(this,function(){if(null!=e)try{h?d.deleteLane(e):d.deleteTableColumn(e)}catch(l){this.editorUi.handleError(l)}}),null,"geIcon geSprite geSprite-deletecolumn"),b.setAttribute("title",mxResources.get("deleteColumn"))),q&&(b=a.addItem(mxResources.get("insertRowBefore"),null,mxUtils.bind(this,function(){try{h?d.insertLane(e,!0):d.insertTableRow(e,
-!0)}catch(l){this.editorUi.handleError(l)}}),null,"geIcon geSprite geSprite-insertrowbefore"),b.setAttribute("title",mxResources.get("insertRowBefore")),b=a.addItem(mxResources.get("insertRowAfter"),null,mxUtils.bind(this,function(){try{h?d.insertLane(e,!1):d.insertTableRow(e,!1)}catch(l){this.editorUi.handleError(l)}}),null,"geIcon geSprite geSprite-insertrowafter"),b.setAttribute("title",mxResources.get("insertRowAfter")),b=a.addItem(mxResources.get("deleteRow"),null,mxUtils.bind(this,function(){try{h?
-d.deleteLane(e):d.deleteTableRow(e)}catch(l){this.editorUi.handleError(l)}}),null,"geIcon geSprite geSprite-deleterow"),b.setAttribute("title",mxResources.get("deleteRow")),q=this.editorUi.getSelectionState(),null!=q.mergeCell?this.addMenuItem(a,"mergeCells"):(1<q.style.colspan||1<q.style.rowspan)&&this.addMenuItem(a,"unmergeCells")))};
-Menus.prototype.addInsertTableItem=function(a,b,d,e){function g(C){n=f.getParentByName(mxEvent.getSource(C),"TD");var F=!1;if(null!=n){h=f.getParentByName(n,"TR");var D=mxEvent.isMouseEvent(C)?2:4,G=w,K=Math.min(20,h.sectionRowIndex+D);D=Math.min(20,n.cellIndex+D);for(var I=G.rows.length;I<K;I++)for(var O=G.insertRow(I),H=0;H<G.rows[0].cells.length;H++)O.insertCell(-1);for(I=0;I<G.rows.length;I++)for(O=G.rows[I],H=O.cells.length;H<D;H++)O.insertCell(-1);z.innerHTML=n.cellIndex+1+"x"+(h.sectionRowIndex+
-1);for(G=0;G<w.rows.length;G++)for(K=w.rows[G],D=0;D<K.cells.length;D++)I=K.cells[D],G==h.sectionRowIndex&&D==n.cellIndex&&(F="blue"==I.style.backgroundColor),I.style.backgroundColor=G<=h.sectionRowIndex&&D<=n.cellIndex?"blue":"transparent"}mxEvent.consume(C);return F}e=null!=e?e:!0;b=null!=b?b:mxUtils.bind(this,function(C,F,D){var G=this.editorUi.editor.graph;if(null!=G.getParentByName(mxEvent.getSource(C),"TD")&&null!=G.cellEditor.textarea){var K=G.cellEditor.textarea.getElementsByTagName("table");
-C=[];for(var I=0;I<K.length;I++)C.push(K[I]);G.container.focus();I=G.pasteHtmlAtCaret;K=["<table>"];for(var O=0;O<F;O++){K.push("<tr>");for(var H=0;H<D;H++)K.push("<td><br></td>");K.push("</tr>")}K.push("</table>");F=K.join("");I.call(G,F);F=G.cellEditor.textarea.getElementsByTagName("table");if(F.length==C.length+1)for(I=F.length-1;0<=I;I--)if(0==I||F[I]!=C[I-1]){G.selectNode(F[I].rows[0].cells[0]);break}}});var f=this.editorUi.editor.graph,h=null,n=null;null==d&&(a.div.className+=" geToolbarMenu",
-a.labels=!1);a=a.addItem("",null,null,d,null,null,null,!0);a.firstChild.style.fontSize=Menus.prototype.defaultFontSize+"px";d=a.getElementsByTagName("td");1<d.length&&(d[1].style.display="none",d[2].style.display="none");a.firstChild.innerText="";var q=document.createElement("input");q.setAttribute("id","geTitleOption");q.setAttribute("type","checkbox");q.style.verticalAlign="middle";d=document.createElement("label");mxUtils.write(d,mxResources.get("title"));d.setAttribute("for","geTitleOption");
-d.style.verticalAlign="middle";mxEvent.addGestureListeners(d,null,null,mxUtils.bind(this,function(C){mxEvent.consume(C)}));mxEvent.addGestureListeners(q,null,null,mxUtils.bind(this,function(C){mxEvent.consume(C)}));var l=document.createElement("input");l.setAttribute("id","geContainerOption");l.setAttribute("type","checkbox");l.style.verticalAlign="middle";var p=document.createElement("label");mxUtils.write(p,mxResources.get("container"));p.setAttribute("for","geContainerOption");p.style.verticalAlign=
-"middle";mxEvent.addGestureListeners(p,null,null,mxUtils.bind(this,function(C){mxEvent.consume(C)}));mxEvent.addGestureListeners(l,null,null,mxUtils.bind(this,function(C){mxEvent.consume(C)}));e&&(a.firstChild.appendChild(q),a.firstChild.appendChild(d),mxUtils.br(a.firstChild),a.firstChild.appendChild(l),a.firstChild.appendChild(p),mxUtils.br(a.firstChild));var w=function(C,F){var D=document.createElement("table");D.className="geInsertTablePicker";D.setAttribute("border","1");D.style.borderCollapse=
-"collapse";D.style.borderStyle="solid";D.style.marginBottom="4px";D.style.marginTop="8px";D.setAttribute("cellPadding","8");for(var G=0;G<C;G++)for(var K=D.insertRow(G),I=0;I<F;I++)K.insertCell(-1);return D}(5,5);a.firstChild.appendChild(w);var z=document.createElement("div");z.style.textAlign="center";z.style.padding="4px";z.style.width="100%";z.innerHTML="1x1";a.firstChild.appendChild(z);mxEvent.addGestureListeners(w,null,null,mxUtils.bind(this,function(C){var F=g(C);null!=n&&null!=h&&F&&(b(C,h.sectionRowIndex+
-1,n.cellIndex+1,q.checked,l.checked),window.setTimeout(mxUtils.bind(this,function(){this.editorUi.hideCurrentMenu()}),0))}));mxEvent.addListener(w,"mouseover",g)};
-Menus.prototype.edgeStyleChange=function(a,b,d,e,g,f,h,n){return this.showIconOnly(a.addItem(b,n,mxUtils.bind(this,function(){var q=this.editorUi.editor.graph;q.stopEditing(!1);q.getModel().beginUpdate();try{for(var l=q.getSelectionCells(),p=[],w=0;w<l.length;w++){var z=l[w];if(q.getModel().isEdge(z)){if(h){var C=q.getCellGeometry(z);null!=C&&(C=C.clone(),C.points=null,q.getModel().setGeometry(z,C))}for(var F=0;F<d.length;F++)q.setCellStyles(d[F],e[F],[z]);p.push(z)}}this.editorUi.fireEvent(new mxEventObject("styleChanged",
-"cells",p,"keys",d,"values",e,"force",0==l.length))}finally{q.getModel().endUpdate()}}),f,g))};Menus.prototype.showIconOnly=function(a){var b=a.getElementsByTagName("td");for(i=0;i<b.length;i++)"mxPopupMenuItem"==b[i].getAttribute("class")&&(b[i].style.display="none");return a};
-Menus.prototype.styleChange=function(a,b,d,e,g,f,h,n,q){var l=this.createStyleChangeFunction(d,e);a=a.addItem(b,null,mxUtils.bind(this,function(){var p=this.editorUi.editor.graph;null!=h&&p.cellEditor.isContentEditing()?h():l(n)}),f,g);q&&this.showIconOnly(a);return a};
-Menus.prototype.createStyleChangeFunction=function(a,b){return mxUtils.bind(this,function(d){var e=this.editorUi.editor.graph;e.stopEditing(!1);e.getModel().beginUpdate();try{for(var g=e.getEditableCells(e.getSelectionCells()),f=!1,h=0;h<a.length;h++)if(e.setCellStyles(a[h],b[h],g),a[h]==mxConstants.STYLE_ALIGN&&e.updateLabelElements(g,function(n){n.removeAttribute("align");n.style.textAlign=null}),a[h]==mxConstants.STYLE_FONTFAMILY||"fontSource"==a[h])f=!0;if(f)for(f=0;f<g.length;f++)0==e.model.getChildCount(g[f])&&
-e.autoSizeCell(g[f],!1);null!=d&&d();this.editorUi.fireEvent(new mxEventObject("styleChanged","keys",a,"values",b,"cells",g))}finally{e.getModel().endUpdate()}})};
-Menus.prototype.promptChange=function(a,b,d,e,g,f,h,n,q,l){return a.addItem(b,null,mxUtils.bind(this,function(){var p=this.editorUi.editor.graph,w=e,z=p.getView().getState(p.getSelectionCell());null!=z&&(w=z.style[g]||w);var C=null!=l?l():!0;w=new FilenameDialog(this.editorUi,w,mxResources.get("apply"),mxUtils.bind(this,function(F){if(null!=F&&0<F.length){if(C){p.getModel().beginUpdate();try{p.stopEditing(!1),p.setCellStyles(g,F)}finally{p.getModel().endUpdate()}}null!=n&&n(F)}}),mxResources.get("enterValue")+
-(0<d.length?" "+d:""),null,null,null,null,function(){null!=n&&null!=l&&n(null)});this.editorUi.showDialog(w.container,300,80,!0,!0);w.init()}),f,q,h)};
-Menus.prototype.pickColor=function(a,b,d,e,g){var f=this.editorUi;f.tryAndHandle(mxUtils.bind(this,function(){var h=f.editor.graph,n=226+17*(Math.ceil(ColorDialog.prototype.presetColors.length/12)+Math.ceil(ColorDialog.prototype.defaultColors.length/12));if(null!=b&&h.cellEditor.isContentEditing()){var q=h.cellEditor.saveSelection(),l=new ColorDialog(this.editorUi,d||h.shapeForegroundColor,mxUtils.bind(this,function(w){h.cellEditor.restoreSelection(q);document.execCommand(b,!1,w!=mxConstants.NONE?
-w:"transparent");var z={forecolor:mxConstants.STYLE_FONTCOLOR,backcolor:mxConstants.STYLE_LABEL_BACKGROUNDCOLOR}[b];null!=z&&f.fireEvent(new mxEventObject("styleChanged","keys",[z],"values",[w],"cells",[h.cellEditor.getEditingCell()]))}),function(){h.cellEditor.restoreSelection(q)});this.editorUi.showDialog(l.container,230,n,!0,!0);l.init()}else{l=h.getView().getState(h.getSelectionCell());var p=mxConstants.NONE;null!=l&&(p=l.style[a]||p);null!=e?(p=/(^#?[a-zA-Z0-9]*$)/.test(p)?p:e,this.editorUi.pickColor(p,
-ColorDialog.createApplyFunction(this.editorUi,a),e,g)):(null==this.colorDialog&&(this.colorDialog=new ColorDialog(this.editorUi)),this.colorDialog.currentColorKey=a,p==mxConstants.NONE?(p=h.shapeBackgroundColor.substring(1),this.colorDialog.picker.fromString(p),this.colorDialog.colorInput.value=mxConstants.NONE):this.colorDialog.picker.fromString(mxUtils.rgba2hex(p)),this.editorUi.showDialog(this.colorDialog.container,230,n,!0,!0),this.colorDialog.init())}}))};
-Menus.prototype.toggleStyle=function(a,b){var d=this.editorUi.editor.graph;b=d.toggleCellStyles(a,b);this.editorUi.fireEvent(new mxEventObject("styleChanged","keys",[a],"values",[b],"cells",d.getSelectionCells()))};
-Menus.prototype.addMenuItem=function(a,b,d,e,g,f){var h=this.editorUi.actions.get(b);return null!=h&&(a.showDisabled||h.isEnabled())&&h.visible?(b=a.addItem(f||h.label,null,mxUtils.bind(this,function(n){try{h.funct(e,n)}catch(q){this.editorUi.handleError(q)}}),d,g,h.isEnabled()),h.toggleAction&&h.isSelected()&&a.addCheckmark(b,Editor.checkmarkImage),this.addShortcut(b,h,a.hideShortcuts),b):null};
-Menus.prototype.addShortcut=function(a,b,d){null!=b.shortcut&&(d?a.setAttribute("title",b.shortcut):(a=a.firstChild.nextSibling.nextSibling,d=document.createElement("span"),d.style.color="gray",mxUtils.write(d,b.shortcut),a.appendChild(d)))};Menus.prototype.addMenuItems=function(a,b,d,e,g){for(var f=0;f<b.length;f++)"-"==b[f]?a.addSeparator(d):this.addMenuItem(a,b[f],d,e,null!=g?g[f]:null)};
-Menus.prototype.createPopupMenu=function(a,b,d){a.smartSeparators=!0;a.hideShortcuts=!0;this.addPopupMenuItems(a,b,d)};Menus.prototype.addPopupMenuItems=function(a,b,d){this.isShowHistoryItems()&&this.addPopupMenuHistoryItems(a,b,d);this.addPopupMenuEditItems(a,b,d);this.isShowStyleItems()&&this.addPopupMenuStyleItems(a,b,d);this.isShowArrangeItems()&&this.addPopupMenuArrangeItems(a,b,d);this.addPopupMenuCellItems(a,b,d);this.addPopupMenuSelectionItems(a,b,d)};Menus.prototype.isShowHistoryItems=function(){return!0};
-Menus.prototype.addPopupMenuHistoryItems=function(a,b,d){this.editorUi.editor.graph.isSelectionEmpty()&&this.addMenuItems(a,["undo","redo"],null,d)};Menus.prototype.addPopupDeleteItem=function(a,b,d){a=this.addMenuItem(a,"delete");null!=a&&null!=a.firstChild&&null!=a.firstChild.nextSibling&&(a.firstChild.nextSibling.style.color="red",b=this.editorUi.editor.graph,1<b.getSelectionCount()&&(a.firstChild.nextSibling.innerHTML=mxUtils.htmlEntities(mxResources.get("delete")+" ("+b.getSelectionCount()+")")))};
-Menus.prototype.addPopupMenuEditItems=function(a,b,d){this.editorUi.editor.graph.isSelectionEmpty()?this.addMenuItems(a,["pasteHere"],null,d):this.addMenuItems(a,"cut copy duplicate - delete lockUnlock".split(" "),null,d)};Menus.prototype.isShowStyleItems=function(){return!0};
-Menus.prototype.addPopupMenuStyleItems=function(a,b,d){1==this.editorUi.editor.graph.getSelectionCount()?this.addMenuItems(a,["-","setAsDefaultStyle"],null,d):this.editorUi.editor.graph.isSelectionEmpty()&&this.addMenuItems(a,["-","clearDefaultStyle"],null,d)};Menus.prototype.isShowArrangeItems=function(){return!0};
-Menus.prototype.addPopupMenuArrangeItems=function(a,b,d){var e=this.editorUi.editor.graph;(1<e.getSelectionCount()||0<e.getSelectionCount()&&!e.getModel().isEdge(b)&&!e.isSwimlane(b)&&0<e.getModel().getChildCount(b)&&e.isCellEditable(b))&&this.addMenuItems(a,["group","ungroup"],null,d);b=e.getEditableCells(e.getSelectionCells()).length;1<b&&(a.addSeparator(),this.addSubmenu("align",a),this.addSubmenu("distribute",a));1<=b&&(this.addMenuItems(a,["-","toFront","toBack"],null,d),this.isShowCellEditItems()&&
-1==e.getSelectionCount()&&this.addMenuItems(a,["bringForward","sendBackward"],null,d))};
-Menus.prototype.addPopupMenuCellItems=function(a,b,d){var e=this.editorUi.editor.graph,g=e.view.getState(b);if(null!=g){var f=e.getModel().getGeometry(b);f=null!=f&&null!=f.points&&0<f.points.length;this.isShowStyleItems()&&1==e.getSelectionCount()&&e.getModel().isEdge(b)&&(a.addSeparator(),this.addSubmenu("line",a));if(e.getModel().isEdge(b)&&"entityRelationEdgeStyle"!=mxUtils.getValue(g.style,mxConstants.STYLE_EDGE,null)&&"arrow"!=mxUtils.getValue(g.style,mxConstants.STYLE_SHAPE,null)){g=e.selectionCellsHandler.getHandler(b);
-var h=!1;if(f&&g instanceof mxEdgeHandler&&null!=g.bends&&2<g.bends.length){var n=g.getHandleForEvent(e.updateMouseEvent(new mxMouseEvent(d)));0<n&&n<g.bends.length-1&&(null==g.bends[n]||null==g.bends[n].node||""==g.bends[n].node.style.opacity)&&(h=this.editorUi.actions.get("removeWaypoint"),h.handler=g,h.index=n,h=!0)}this.isShowCellEditItems()&&this.addMenuItem(a,"turn",null,d,null,mxResources.get("reverse"));this.addMenuItems(a,[h?"removeWaypoint":"addWaypoint"],null,d)}1==e.getSelectionCount()&&
-this.isShowCellEditItems()&&(f||e.getModel().isVertex(b)&&0<e.getModel().getEdgeCount(b))&&this.addMenuItems(a,["clearWaypoints"],null,d);this.isShowCellEditItems()&&1==e.getSelectionCount()&&e.isCellEditable(b)&&this.addPopupMenuCellEditItems(a,b,d)}};Menus.prototype.isShowCellEditItems=function(){return!0};
-Menus.prototype.addPopupMenuCellEditItems=function(a,b,d,e){var g=this.editorUi.editor.graph,f=g.view.getState(b);this.addMenuItems(a,["-","editStyle","editData","editLink"],e,d);g.getModel().isVertex(b)&&null!=mxUtils.getValue(f.style,mxConstants.STYLE_IMAGE,null)&&(a.addSeparator(),this.addMenuItem(a,"image",e,d).firstChild.nextSibling.innerHTML=mxResources.get("editImage")+"...",this.addMenuItem(a,"crop",e,d));g.getModel().isVertex(b)&&g.isCellConnectable(b)&&this.addMenuItem(a,"editConnectionPoints",
-e,d)};Menus.prototype.addPopupMenuSelectionItems=function(a,b,d){this.editorUi.editor.graph.isSelectionEmpty()&&this.addMenuItems(a,["-","selectAll","selectVertices","selectEdges"],null,d)};Menus.prototype.createMenubar=function(a){for(var b=new Menubar(this.editorUi,a),d=this.defaultMenuItems,e=0;e<d.length;e++)mxUtils.bind(this,function(g){var f=b.addMenu(mxResources.get(d[e]),mxUtils.bind(this,function(){g.funct.apply(this,arguments)}));this.menuCreated(g,f)})(this.get(d[e]));return b};
-Menus.prototype.menuCreated=function(a,b,d){null!=b&&(d=null!=d?d:"geItem",b.className=d,a.addListener("stateChanged",function(){(b.enabled=a.enabled)?(b.className=d,8==document.documentMode&&(b.style.color="")):(b.className=d+" mxDisabled",8==document.documentMode&&(b.style.color="#c3c3c3"))}))};function Menubar(a,b){this.editorUi=a;this.container=b}Menubar.prototype.hideMenu=function(){this.editorUi.hideCurrentMenu()};
-Menubar.prototype.addMenu=function(a,b,d,e){var g=document.createElement("a");g.className="geItem";mxUtils.write(g,a);this.addMenuHandler(g,b,e);null!=d?this.container.insertBefore(g,d):this.container.appendChild(g);return g};
-Menubar.prototype.addMenuHandler=function(a,b,d){if(null!=b){var e=!0,g=mxUtils.bind(this,function(f){null!=d&&d(f);if(!mxEvent.isConsumed(f)&&e&&(null==a.enabled||a.enabled)){this.editorUi.editor.graph.popupMenuHandler.hideMenu();var h=new mxPopupMenu(b);h.div.className+=" geMenubarMenu";h.smartSeparators=!0;h.showDisabled=!0;h.autoExpand=!0;h.hideMenu=mxUtils.bind(this,function(){mxPopupMenu.prototype.hideMenu.apply(h,arguments);this.editorUi.resetCurrentMenu();h.destroy()});var n=mxUtils.getOffset(a);
-h.popup(n.x,n.y+a.offsetHeight,null,f);this.editorUi.setCurrentMenu(h,a)}mxEvent.consume(f)});mxEvent.addListener(a,"mousemove",mxUtils.bind(this,function(f){this.editorUi.menus.autoPopup&&null!=this.editorUi.currentMenu&&this.editorUi.currentMenuElt!=a&&(this.editorUi.hideCurrentMenu(),g(f))}));mxEvent.addListener(a,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(f){!this.editorUi.menus.autoPopup&&null!=this.editorUi.currentMenu&&this.editorUi.currentMenuElt!=a&&mxEvent.isMouseEvent(f)&&
-this.editorUi.hideCurrentMenu();e=null==this.editorUi.currentMenu;f.preventDefault()}));mxEvent.addListener(a,"click",mxUtils.bind(this,function(f){g(f);e=!0}))}};Menubar.prototype.destroy=function(){};function Menu(a,b){mxEventSource.call(this);this.funct=a;this.enabled=null!=b?b:!0}mxUtils.extend(Menu,mxEventSource);Menu.prototype.isEnabled=function(){return this.enabled};Menu.prototype.setEnabled=function(a){this.enabled!=a&&(this.enabled=a,this.fireEvent(new mxEventObject("stateChanged")))};
-Menu.prototype.execute=function(a,b){this.funct(a,b)};EditorUi.prototype.createMenus=function(){return new Menus(this)};function Toolbar(a,b){this.editorUi=a;this.container=b;this.staticElements=[];this.init();this.gestureHandler=mxUtils.bind(this,function(d){null!=this.editorUi.currentMenu&&mxEvent.getSource(d)!=this.editorUi.currentMenu.div&&this.hideMenu()});mxEvent.addGestureListeners(document,this.gestureHandler)}
+Menus.prototype.init=function(){var a=this.editorUi,b=a.editor.graph,e=mxUtils.bind(b,b.isEnabled);this.customFonts=[];this.customFontSizes=[];this.put("fontFamily",new Menu(mxUtils.bind(this,function(f,h){for(var d=mxUtils.bind(this,function(n){this.styleChange(f,n,[mxConstants.STYLE_FONTFAMILY],[n],null,h,function(){document.execCommand("fontname",!1,n);a.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_FONTFAMILY],"values",[n],"cells",[b.cellEditor.getEditingCell()]))},function(){b.updateLabelElements(b.getSelectionCells(),
+function(q){q.removeAttribute("face");q.style.fontFamily=null;"PRE"==q.nodeName&&b.replaceElement(q,"div")})}).firstChild.nextSibling.style.fontFamily=n}),g=0;g<this.defaultFonts.length;g++)d(this.defaultFonts[g]);f.addSeparator(h);if(0<this.customFonts.length){for(g=0;g<this.customFonts.length;g++)d(this.customFonts[g]);f.addSeparator(h);f.addItem(mxResources.get("reset"),null,mxUtils.bind(this,function(){this.customFonts=[];this.editorUi.fireEvent(new mxEventObject("customFontsChanged"))}),h);f.addSeparator(h)}this.promptChange(f,
+mxResources.get("custom")+"...","",mxConstants.DEFAULT_FONTFAMILY,mxConstants.STYLE_FONTFAMILY,h,!0,mxUtils.bind(this,function(n){0>mxUtils.indexOf(this.customFonts,n)&&(this.customFonts.push(n),this.editorUi.fireEvent(new mxEventObject("customFontsChanged")))}))})));this.put("formatBlock",new Menu(mxUtils.bind(this,function(f,h){function d(g,n){return f.addItem(g,null,mxUtils.bind(this,function(){null!=b.cellEditor.textarea&&(b.cellEditor.textarea.focus(),document.execCommand("formatBlock",!1,"<"+
+n+">"))}),h)}d(mxResources.get("normal"),"p");d("","h1").firstChild.nextSibling.innerHTML='<h1 style="margin:0px;">'+mxResources.get("heading")+" 1</h1>";d("","h2").firstChild.nextSibling.innerHTML='<h2 style="margin:0px;">'+mxResources.get("heading")+" 2</h2>";d("","h3").firstChild.nextSibling.innerHTML='<h3 style="margin:0px;">'+mxResources.get("heading")+" 3</h3>";d("","h4").firstChild.nextSibling.innerHTML='<h4 style="margin:0px;">'+mxResources.get("heading")+" 4</h4>";d("","h5").firstChild.nextSibling.innerHTML=
+'<h5 style="margin:0px;">'+mxResources.get("heading")+" 5</h5>";d("","h6").firstChild.nextSibling.innerHTML='<h6 style="margin:0px;">'+mxResources.get("heading")+" 6</h6>";d("","pre").firstChild.nextSibling.innerHTML='<pre style="margin:0px;">'+mxResources.get("formatted")+"</pre>";d("","blockquote").firstChild.nextSibling.innerHTML='<blockquote style="margin-top:0px;margin-bottom:0px;">'+mxResources.get("blockquote")+"</blockquote>"})));this.put("fontSize",new Menu(mxUtils.bind(this,function(f,h){var d=
+[6,8,9,10,11,12,14,18,24,36,48,72];0>mxUtils.indexOf(d,this.defaultFontSize)&&(d.push(this.defaultFontSize),d.sort(function(w,z){return w-z}));for(var g=mxUtils.bind(this,function(w){if(null!=b.cellEditor.textarea){document.execCommand("fontSize",!1,"3");for(var z=b.cellEditor.textarea.getElementsByTagName("font"),C=0;C<z.length;C++)if("3"==z[C].getAttribute("size")){z[C].removeAttribute("size");z[C].style.fontSize=w+"px";break}a.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_FONTSIZE],
+"values",[w],"cells",[b.cellEditor.getEditingCell()]))}}),n=mxUtils.bind(this,function(w){this.styleChange(f,w,[mxConstants.STYLE_FONTSIZE],[w],null,h,function(){g(w)})}),q=0;q<d.length;q++)n(d[q]);f.addSeparator(h);if(0<this.customFontSizes.length){var k=0;for(q=0;q<this.customFontSizes.length;q++)0>mxUtils.indexOf(d,this.customFontSizes[q])&&(n(this.customFontSizes[q]),k++);0<k&&f.addSeparator(h);f.addItem(mxResources.get("reset"),null,mxUtils.bind(this,function(){this.customFontSizes=[]}),h);f.addSeparator(h)}var p=
+null;this.promptChange(f,mxResources.get("custom")+"...","("+mxResources.get("points")+")",this.defaultFontSize,mxConstants.STYLE_FONTSIZE,h,!0,mxUtils.bind(this,function(w){null!=p&&null!=b.cellEditor.textarea&&(b.cellEditor.textarea.focus(),b.cellEditor.restoreSelection(p));null!=w&&0<w.length&&(this.customFontSizes.push(w),g(w))}),null,function(){p=b.cellEditor.saveSelection();return!1})})));this.put("direction",new Menu(mxUtils.bind(this,function(f,h){f.addItem(mxResources.get("flipH"),null,function(){b.toggleCellStyles(mxConstants.STYLE_FLIPH,
+!1)},h);f.addItem(mxResources.get("flipV"),null,function(){b.toggleCellStyles(mxConstants.STYLE_FLIPV,!1)},h);this.addMenuItems(f,["-","rotation"],h)})));this.put("align",new Menu(mxUtils.bind(this,function(f,h){var d=1<this.editorUi.getSelectionState().vertices.length;f.addItem(mxResources.get("leftAlign"),null,function(){b.alignCells(mxConstants.ALIGN_LEFT)},h,null,d);f.addItem(mxResources.get("center"),null,function(){b.alignCells(mxConstants.ALIGN_CENTER)},h,null,d);f.addItem(mxResources.get("rightAlign"),
+null,function(){b.alignCells(mxConstants.ALIGN_RIGHT)},h,null,d);f.addSeparator(h);f.addItem(mxResources.get("topAlign"),null,function(){b.alignCells(mxConstants.ALIGN_TOP)},h,null,d);f.addItem(mxResources.get("middle"),null,function(){b.alignCells(mxConstants.ALIGN_MIDDLE)},h,null,d);f.addItem(mxResources.get("bottomAlign"),null,function(){b.alignCells(mxConstants.ALIGN_BOTTOM)},h,null,d);this.addMenuItems(f,["-","snapToGrid"],h)})));this.put("distribute",new Menu(mxUtils.bind(this,function(f,h){f.addItem(mxResources.get("horizontal"),
+null,function(){b.distributeCells(!0)},h);f.addItem(mxResources.get("vertical"),null,function(){b.distributeCells(!1)},h);f.addSeparator(h);this.addSubmenu("distributeSpacing",f,h,mxResources.get("spacing"))})));this.put("distributeSpacing",new Menu(mxUtils.bind(this,function(f,h){f.addItem(mxResources.get("horizontal"),null,function(){b.distributeCells(!0,null,!0)},h);f.addItem(mxResources.get("vertical"),null,function(){b.distributeCells(!1,null,!0)},h)})));this.put("line",new Menu(mxUtils.bind(this,
+function(f,h){var d=b.view.getState(b.getSelectionCell());null!=d&&(d=mxUtils.getValue(d.style,mxConstants.STYLE_SHAPE),"arrow"!=d&&(this.edgeStyleChange(f,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],[null,null,null],"geIcon geSprite geSprite-straight",h,!0).setAttribute("title",mxResources.get("straight")),this.edgeStyleChange(f,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["orthogonalEdgeStyle",null,null],"geIcon geSprite geSprite-orthogonal",
+h,!0).setAttribute("title",mxResources.get("orthogonal")),this.edgeStyleChange(f,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["elbowEdgeStyle",null,null,null],"geIcon geSprite geSprite-horizontalelbow",h,!0).setAttribute("title",mxResources.get("simple")),this.edgeStyleChange(f,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["elbowEdgeStyle","vertical",null,null],"geIcon geSprite geSprite-verticalelbow",
+h,!0).setAttribute("title",mxResources.get("simple")),this.edgeStyleChange(f,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["isometricEdgeStyle",null,null,null],"geIcon geSprite geSprite-horizontalisometric",h,!0).setAttribute("title",mxResources.get("isometric")),this.edgeStyleChange(f,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["isometricEdgeStyle","vertical",null,null],"geIcon geSprite geSprite-verticalisometric",
+h,!0).setAttribute("title",mxResources.get("isometric")),"connector"==d&&this.edgeStyleChange(f,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["orthogonalEdgeStyle","1",null],"geIcon geSprite geSprite-curved",h,!0).setAttribute("title",mxResources.get("curved")),this.edgeStyleChange(f,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["entityRelationEdgeStyle",null,null],"geIcon geSprite geSprite-entity",h,!0).setAttribute("title",
+mxResources.get("entityRelation"))),f.addSeparator(h),this.styleChange(f,"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,"width"],[null,null,null,null],"geIcon geSprite geSprite-connection",h,null,null,!0).setAttribute("title",mxResources.get("line")),this.styleChange(f,"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,"width"],["link",null,null,null],"geIcon geSprite geSprite-linkedge",h,null,null,!0).setAttribute("title",mxResources.get("link")),
+this.styleChange(f,"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,"width"],["flexArrow",null,null,null],"geIcon geSprite geSprite-arrow",h,null,null,!0).setAttribute("title",mxResources.get("arrow")),this.styleChange(f,"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,"width"],["arrow",null,null,null],"geIcon geSprite geSprite-simplearrow",h,null,null,!0).setAttribute("title",mxResources.get("simpleArrow")))})));this.put("layout",
+new Menu(mxUtils.bind(this,function(f,h){var d=mxUtils.bind(this,function(n,q){this.editorUi.prompt(mxResources.get("spacing"),n,q)}),g=mxUtils.bind(this,function(n){this.editorUi.tryAndHandle(mxUtils.bind(this,function(){var q=b.getSelectionCell(),k=null;null==q||0==b.getModel().getChildCount(q)?0==b.getModel().getEdgeCount(q)&&(k=b.findTreeRoots(b.getDefaultParent())):k=b.findTreeRoots(q);null!=k&&0<k.length&&(q=k[0]);null!=q&&this.editorUi.executeLayout(function(){n.execute(b.getDefaultParent(),
+q);b.isSelectionEmpty()||(q=b.getModel().getParent(q),b.getModel().isVertex(q)&&b.updateGroupBounds([q],2*b.gridSize,!0))},!0)}))});f.addItem(mxResources.get("horizontalFlow"),null,mxUtils.bind(this,function(){this.editorUi.tryAndHandle(mxUtils.bind(this,function(){var n=new mxHierarchicalLayout(b,mxConstants.DIRECTION_WEST);this.editorUi.executeLayout(function(){var q=b.getSelectionCells();n.execute(b.getDefaultParent(),0==q.length?null:q)},!0)}))}),h);f.addItem(mxResources.get("verticalFlow"),null,
+mxUtils.bind(this,function(){this.editorUi.tryAndHandle(mxUtils.bind(this,function(){var n=new mxHierarchicalLayout(b,mxConstants.DIRECTION_NORTH);this.editorUi.executeLayout(function(){var q=b.getSelectionCells();n.execute(b.getDefaultParent(),0==q.length?null:q)},!0)}))}),h);f.addSeparator(h);f.addItem(mxResources.get("horizontalTree"),null,mxUtils.bind(this,function(){var n=new mxCompactTreeLayout(b,!0);n.edgeRouting=!1;n.levelDistance=30;n.sortEdges=!0;d(n.levelDistance,mxUtils.bind(this,function(q){isNaN(q)||
+(n.levelDistance=q,g(n))}))}),h);f.addItem(mxResources.get("verticalTree"),null,mxUtils.bind(this,function(){var n=new mxCompactTreeLayout(b,!1);n.edgeRouting=!1;n.levelDistance=30;n.sortEdges=!0;d(n.levelDistance,mxUtils.bind(this,function(q){isNaN(q)||(n.levelDistance=q,g(n))}))}),h);f.addItem(mxResources.get("radialTree"),null,mxUtils.bind(this,function(){var n=new mxRadialTreeLayout(b);n.levelDistance=80;n.autoRadius=!0;d(n.levelDistance,mxUtils.bind(this,function(q){isNaN(q)||(n.levelDistance=
+q,g(n))}))}),h);f.addSeparator(h);f.addItem(mxResources.get("organic"),null,mxUtils.bind(this,function(){var n=new mxFastOrganicLayout(b);d(n.forceConstant,mxUtils.bind(this,function(q){this.editorUi.tryAndHandle(mxUtils.bind(this,function(){n.forceConstant=q;this.editorUi.executeLayout(function(){var k=b.getSelectionCell();if(null==k||0==b.getModel().getChildCount(k))k=b.getDefaultParent();n.execute(k);b.getModel().isVertex(k)&&b.updateGroupBounds([k],2*b.gridSize,!0)},!0)}))}))}),h);f.addItem(mxResources.get("circle"),
+null,mxUtils.bind(this,function(){this.editorUi.tryAndHandle(mxUtils.bind(this,function(){var n=new mxCircleLayout(b);this.editorUi.executeLayout(function(){var q=b.getSelectionCell();if(null==q||0==b.getModel().getChildCount(q))q=b.getDefaultParent();n.execute(q);b.getModel().isVertex(q)&&b.updateGroupBounds([q],2*b.gridSize,!0)},!0)}))}),h)})));this.put("navigation",new Menu(mxUtils.bind(this,function(f,h){this.addMenuItems(f,"home - exitGroup enterGroup - expand collapse - collapsible".split(" "),
+h)})));this.put("arrange",new Menu(mxUtils.bind(this,function(f,h){this.addMenuItems(f,["toFront","toBack","bringForward","sendBackward","-"],h);this.addSubmenu("direction",f,h);this.addMenuItems(f,["turn","-"],h);this.addSubmenu("align",f,h);this.addSubmenu("distribute",f,h);f.addSeparator(h);this.addSubmenu("navigation",f,h);this.addSubmenu("insert",f,h);this.addSubmenu("layout",f,h);this.addMenuItems(f,"- group ungroup removeFromGroup - clearWaypoints autosize".split(" "),h)}))).isEnabled=e;this.put("insert",
+new Menu(mxUtils.bind(this,function(f,h){this.addMenuItems(f,["insertLink","insertImage"],h)})));this.put("view",new Menu(mxUtils.bind(this,function(f,h){this.addMenuItems(f,(null!=this.editorUi.format?["format"]:[]).concat("outline layers - pageView pageScale - tooltips grid guides - connectionArrows connectionPoints - resetView zoomIn zoomOut".split(" "),h))})));this.put("viewPanels",new Menu(mxUtils.bind(this,function(f,h){null!=this.editorUi.format&&this.addMenuItems(f,["format"],h);this.addMenuItems(f,
+["outline","layers"],h)})));this.put("viewZoom",new Menu(mxUtils.bind(this,function(f,h){this.addMenuItems(f,["smartFit","-"],h);for(var d=[.25,.5,.75,1,1.25,1.5,2,3,4],g=0;g<d.length;g++)(function(n){f.addItem(100*n+"%",null,function(){b.zoomTo(n)},h)})(d[g]);this.addMenuItems(f,"- fitWindow fitPageWidth fitPage fitTwoPages - customZoom".split(" "),h)})));this.put("file",new Menu(mxUtils.bind(this,function(f,h){this.addMenuItems(f,"new open - save saveAs - import export - pageSetup print".split(" "),
+h)})));this.put("edit",new Menu(mxUtils.bind(this,function(f,h){this.addMenuItems(f,"undo redo - cut copy paste delete - duplicate - editData editTooltip - editStyle - edit - editLink openLink - selectVertices selectEdges selectAll selectNone - lockUnlock".split(" "))})));this.put("extras",new Menu(mxUtils.bind(this,function(f,h){this.addMenuItems(f,["copyConnect","collapseExpand","-","editDiagram"])})));this.put("help",new Menu(mxUtils.bind(this,function(f,h){this.addMenuItems(f,["help","-","about"])})))};
+Menus.prototype.put=function(a,b){return this.menus[a]=b};Menus.prototype.get=function(a){return this.menus[a]};Menus.prototype.addSubmenu=function(a,b,e,f){var h=this.get(a),d=null;null!=h&&(h=h.isEnabled(),b.showDisabled||h)&&(d=b.addItem(f||mxResources.get(a),null,null,e,null,h),this.addMenu(a,b,d));return d};Menus.prototype.addMenu=function(a,b,e){a=this.get(a);null!=a&&(b.showDisabled||a.isEnabled())&&a.execute(b,e)};
+Menus.prototype.addInsertTableCellItem=function(a,b){var e=this.editorUi.editor.graph,f=e.getSelectionCell(),h=e.getCurrentCellStyle(f);1<e.getSelectionCount()&&(e.isTableCell(f)&&(f=e.model.getParent(f)),e.isTableRow(f)&&(f=e.model.getParent(f)));var d=e.isTable(f)||e.isTableRow(f)||e.isTableCell(f),g=e.isStack(f)||e.isStackChild(f),n=d,q=d;g&&(h=e.isStack(f)?h:e.getCellStyle(e.model.getParent(f)),q="0"==h.horizontalStack,n=!q);null!=b||!d&&!g?this.addInsertTableItem(a,mxUtils.bind(this,function(k,
+p,w,z,C){p=C||mxEvent.isControlDown(k)||mxEvent.isMetaDown(k)?e.createCrossFunctionalSwimlane(p,w,null,null,z||mxEvent.isShiftDown(k)?"Cross-Functional Flowchart":null):e.createTable(p,w,null,null,z||mxEvent.isShiftDown(k)?"Table":null);k=mxEvent.isAltDown(k)?e.getFreeInsertPoint():e.getCenterInsertPoint(e.getBoundingBoxFromGeometry([p],!0));w=null;e.getModel().beginUpdate();try{w=e.importCells([p],k.x,k.y),e.fireEvent(new mxEventObject("cellsInserted","cells",e.model.getDescendants(w[0])))}finally{e.getModel().endUpdate()}null!=
+w&&0<w.length&&(e.scrollCellToVisible(w[0]),e.setSelectionCells(w))}),b):(n&&(b=a.addItem(mxResources.get("insertColumnBefore"),null,mxUtils.bind(this,function(){try{g?e.insertLane(f,!0):e.insertTableColumn(f,!0)}catch(k){this.editorUi.handleError(k)}}),null,"geIcon geSprite geSprite-insertcolumnbefore"),b.setAttribute("title",mxResources.get("insertColumnBefore")),b=a.addItem(mxResources.get("insertColumnAfter"),null,mxUtils.bind(this,function(){try{g?e.insertLane(f,!1):e.insertTableColumn(f,!1)}catch(k){this.editorUi.handleError(k)}}),
+null,"geIcon geSprite geSprite-insertcolumnafter"),b.setAttribute("title",mxResources.get("insertColumnAfter")),b=a.addItem(mxResources.get("deleteColumn"),null,mxUtils.bind(this,function(){if(null!=f)try{g?e.deleteLane(f):e.deleteTableColumn(f)}catch(k){this.editorUi.handleError(k)}}),null,"geIcon geSprite geSprite-deletecolumn"),b.setAttribute("title",mxResources.get("deleteColumn"))),q&&(b=a.addItem(mxResources.get("insertRowBefore"),null,mxUtils.bind(this,function(){try{g?e.insertLane(f,!0):e.insertTableRow(f,
+!0)}catch(k){this.editorUi.handleError(k)}}),null,"geIcon geSprite geSprite-insertrowbefore"),b.setAttribute("title",mxResources.get("insertRowBefore")),b=a.addItem(mxResources.get("insertRowAfter"),null,mxUtils.bind(this,function(){try{g?e.insertLane(f,!1):e.insertTableRow(f,!1)}catch(k){this.editorUi.handleError(k)}}),null,"geIcon geSprite geSprite-insertrowafter"),b.setAttribute("title",mxResources.get("insertRowAfter")),b=a.addItem(mxResources.get("deleteRow"),null,mxUtils.bind(this,function(){try{g?
+e.deleteLane(f):e.deleteTableRow(f)}catch(k){this.editorUi.handleError(k)}}),null,"geIcon geSprite geSprite-deleterow"),b.setAttribute("title",mxResources.get("deleteRow")),q=this.editorUi.getSelectionState(),null!=q.mergeCell?this.addMenuItem(a,"mergeCells"):(1<q.style.colspan||1<q.style.rowspan)&&this.addMenuItem(a,"unmergeCells")))};
+Menus.prototype.addInsertTableItem=function(a,b,e,f){function h(C){n=d.getParentByName(mxEvent.getSource(C),"TD");var F=!1;if(null!=n){g=d.getParentByName(n,"TR");var D=mxEvent.isMouseEvent(C)?2:4,H=w,K=Math.min(20,g.sectionRowIndex+D);D=Math.min(20,n.cellIndex+D);for(var G=H.rows.length;G<K;G++)for(var P=H.insertRow(G),I=0;I<H.rows[0].cells.length;I++)P.insertCell(-1);for(G=0;G<H.rows.length;G++)for(P=H.rows[G],I=P.cells.length;I<D;I++)P.insertCell(-1);z.innerHTML=n.cellIndex+1+"x"+(g.sectionRowIndex+
+1);for(H=0;H<w.rows.length;H++)for(K=w.rows[H],D=0;D<K.cells.length;D++)G=K.cells[D],H==g.sectionRowIndex&&D==n.cellIndex&&(F="blue"==G.style.backgroundColor),G.style.backgroundColor=H<=g.sectionRowIndex&&D<=n.cellIndex?"blue":"transparent"}mxEvent.consume(C);return F}f=null!=f?f:!0;b=null!=b?b:mxUtils.bind(this,function(C,F,D){var H=this.editorUi.editor.graph;if(null!=H.getParentByName(mxEvent.getSource(C),"TD")&&null!=H.cellEditor.textarea){var K=H.cellEditor.textarea.getElementsByTagName("table");
+C=[];for(var G=0;G<K.length;G++)C.push(K[G]);H.container.focus();G=H.pasteHtmlAtCaret;K=["<table>"];for(var P=0;P<F;P++){K.push("<tr>");for(var I=0;I<D;I++)K.push("<td><br></td>");K.push("</tr>")}K.push("</table>");F=K.join("");G.call(H,F);F=H.cellEditor.textarea.getElementsByTagName("table");if(F.length==C.length+1)for(G=F.length-1;0<=G;G--)if(0==G||F[G]!=C[G-1]){H.selectNode(F[G].rows[0].cells[0]);break}}});var d=this.editorUi.editor.graph,g=null,n=null;null==e&&(a.div.className+=" geToolbarMenu",
+a.labels=!1);a=a.addItem("",null,null,e,null,null,null,!0);a.firstChild.style.fontSize=Menus.prototype.defaultFontSize+"px";e=a.getElementsByTagName("td");1<e.length&&(e[1].style.display="none",e[2].style.display="none");a.firstChild.innerText="";var q=document.createElement("input");q.setAttribute("id","geTitleOption");q.setAttribute("type","checkbox");q.style.verticalAlign="middle";e=document.createElement("label");mxUtils.write(e,mxResources.get("title"));e.setAttribute("for","geTitleOption");
+e.style.verticalAlign="middle";mxEvent.addGestureListeners(e,null,null,mxUtils.bind(this,function(C){mxEvent.consume(C)}));mxEvent.addGestureListeners(q,null,null,mxUtils.bind(this,function(C){mxEvent.consume(C)}));var k=document.createElement("input");k.setAttribute("id","geContainerOption");k.setAttribute("type","checkbox");k.style.verticalAlign="middle";var p=document.createElement("label");mxUtils.write(p,mxResources.get("container"));p.setAttribute("for","geContainerOption");p.style.verticalAlign=
+"middle";mxEvent.addGestureListeners(p,null,null,mxUtils.bind(this,function(C){mxEvent.consume(C)}));mxEvent.addGestureListeners(k,null,null,mxUtils.bind(this,function(C){mxEvent.consume(C)}));f&&(a.firstChild.appendChild(q),a.firstChild.appendChild(e),mxUtils.br(a.firstChild),a.firstChild.appendChild(k),a.firstChild.appendChild(p),mxUtils.br(a.firstChild));var w=function(C,F){var D=document.createElement("table");D.className="geInsertTablePicker";D.setAttribute("border","1");D.style.borderCollapse=
+"collapse";D.style.borderStyle="solid";D.style.marginBottom="4px";D.style.marginTop="8px";D.setAttribute("cellPadding","8");for(var H=0;H<C;H++)for(var K=D.insertRow(H),G=0;G<F;G++)K.insertCell(-1);return D}(5,5);a.firstChild.appendChild(w);var z=document.createElement("div");z.style.textAlign="center";z.style.padding="4px";z.style.width="100%";z.innerHTML="1x1";a.firstChild.appendChild(z);mxEvent.addGestureListeners(w,null,null,mxUtils.bind(this,function(C){var F=h(C);null!=n&&null!=g&&F&&(b(C,g.sectionRowIndex+
+1,n.cellIndex+1,q.checked,k.checked),window.setTimeout(mxUtils.bind(this,function(){this.editorUi.hideCurrentMenu()}),0))}));mxEvent.addListener(w,"mouseover",h)};
+Menus.prototype.edgeStyleChange=function(a,b,e,f,h,d,g,n){return this.showIconOnly(a.addItem(b,n,mxUtils.bind(this,function(){var q=this.editorUi.editor.graph;q.stopEditing(!1);q.getModel().beginUpdate();try{for(var k=q.getSelectionCells(),p=[],w=0;w<k.length;w++){var z=k[w];if(q.getModel().isEdge(z)){if(g){var C=q.getCellGeometry(z);null!=C&&(C=C.clone(),C.points=null,q.getModel().setGeometry(z,C))}for(var F=0;F<e.length;F++)q.setCellStyles(e[F],f[F],[z]);p.push(z)}}this.editorUi.fireEvent(new mxEventObject("styleChanged",
+"cells",p,"keys",e,"values",f,"force",0==k.length))}finally{q.getModel().endUpdate()}}),d,h))};Menus.prototype.showIconOnly=function(a){var b=a.getElementsByTagName("td");for(i=0;i<b.length;i++)"mxPopupMenuItem"==b[i].getAttribute("class")&&(b[i].style.display="none");return a};
+Menus.prototype.styleChange=function(a,b,e,f,h,d,g,n,q){var k=this.createStyleChangeFunction(e,f);a=a.addItem(b,null,mxUtils.bind(this,function(){var p=this.editorUi.editor.graph;null!=g&&p.cellEditor.isContentEditing()?g():k(n)}),d,h);q&&this.showIconOnly(a);return a};
+Menus.prototype.createStyleChangeFunction=function(a,b){return mxUtils.bind(this,function(e){var f=this.editorUi.editor.graph;f.stopEditing(!1);f.getModel().beginUpdate();try{for(var h=f.getEditableCells(f.getSelectionCells()),d=!1,g=0;g<a.length;g++)if(f.setCellStyles(a[g],b[g],h),a[g]==mxConstants.STYLE_ALIGN&&f.updateLabelElements(h,function(n){n.removeAttribute("align");n.style.textAlign=null}),a[g]==mxConstants.STYLE_FONTFAMILY||"fontSource"==a[g])d=!0;if(d)for(d=0;d<h.length;d++)0==f.model.getChildCount(h[d])&&
+f.autoSizeCell(h[d],!1);null!=e&&e();this.editorUi.fireEvent(new mxEventObject("styleChanged","keys",a,"values",b,"cells",h))}finally{f.getModel().endUpdate()}})};
+Menus.prototype.promptChange=function(a,b,e,f,h,d,g,n,q,k){return a.addItem(b,null,mxUtils.bind(this,function(){var p=this.editorUi.editor.graph,w=f,z=p.getView().getState(p.getSelectionCell());null!=z&&(w=z.style[h]||w);var C=null!=k?k():!0;w=new FilenameDialog(this.editorUi,w,mxResources.get("apply"),mxUtils.bind(this,function(F){if(null!=F&&0<F.length){if(C){p.getModel().beginUpdate();try{p.stopEditing(!1),p.setCellStyles(h,F)}finally{p.getModel().endUpdate()}}null!=n&&n(F)}}),mxResources.get("enterValue")+
+(0<e.length?" "+e:""),null,null,null,null,function(){null!=n&&null!=k&&n(null)});this.editorUi.showDialog(w.container,300,80,!0,!0);w.init()}),d,q,g)};
+Menus.prototype.pickColor=function(a,b,e,f,h){var d=this.editorUi;d.tryAndHandle(mxUtils.bind(this,function(){var g=d.editor.graph,n=226+17*(Math.ceil(ColorDialog.prototype.presetColors.length/12)+Math.ceil(ColorDialog.prototype.defaultColors.length/12));if(null!=b&&g.cellEditor.isContentEditing()){var q=g.cellEditor.saveSelection(),k=new ColorDialog(this.editorUi,e||g.shapeForegroundColor,mxUtils.bind(this,function(w){g.cellEditor.restoreSelection(q);document.execCommand(b,!1,w!=mxConstants.NONE?
+w:"transparent");var z={forecolor:mxConstants.STYLE_FONTCOLOR,backcolor:mxConstants.STYLE_LABEL_BACKGROUNDCOLOR}[b];null!=z&&d.fireEvent(new mxEventObject("styleChanged","keys",[z],"values",[w],"cells",[g.cellEditor.getEditingCell()]))}),function(){g.cellEditor.restoreSelection(q)});this.editorUi.showDialog(k.container,230,n,!0,!0);k.init()}else{k=g.getView().getState(g.getSelectionCell());var p=mxConstants.NONE;null!=k&&(p=k.style[a]||p);null!=f?(p=/(^#?[a-zA-Z0-9]*$)/.test(p)?p:f,this.editorUi.pickColor(p,
+ColorDialog.createApplyFunction(this.editorUi,a),f,h)):(null==this.colorDialog&&(this.colorDialog=new ColorDialog(this.editorUi)),this.colorDialog.currentColorKey=a,p==mxConstants.NONE?(p=g.shapeBackgroundColor.substring(1),this.colorDialog.picker.fromString(p),this.colorDialog.colorInput.value=mxConstants.NONE):this.colorDialog.picker.fromString(mxUtils.rgba2hex(p)),this.editorUi.showDialog(this.colorDialog.container,230,n,!0,!0),this.colorDialog.init())}}))};
+Menus.prototype.toggleStyle=function(a,b){var e=this.editorUi.editor.graph;b=e.toggleCellStyles(a,b);this.editorUi.fireEvent(new mxEventObject("styleChanged","keys",[a],"values",[b],"cells",e.getSelectionCells()))};
+Menus.prototype.addMenuItem=function(a,b,e,f,h,d){var g=this.editorUi.actions.get(b);return null!=g&&(a.showDisabled||g.isEnabled())&&g.visible?(b=a.addItem(d||g.label,null,mxUtils.bind(this,function(n){try{g.funct(f,n)}catch(q){this.editorUi.handleError(q)}}),e,h,g.isEnabled()),g.toggleAction&&g.isSelected()&&a.addCheckmark(b,Editor.checkmarkImage),this.addShortcut(b,g,a.hideShortcuts),b):null};
+Menus.prototype.addShortcut=function(a,b,e){null!=b.shortcut&&(e?a.setAttribute("title",b.shortcut):(a=a.firstChild.nextSibling.nextSibling,e=document.createElement("span"),e.style.color="gray",mxUtils.write(e,b.shortcut),a.appendChild(e)))};Menus.prototype.addMenuItems=function(a,b,e,f,h){for(var d=0;d<b.length;d++)"-"==b[d]?a.addSeparator(e):this.addMenuItem(a,b[d],e,f,null!=h?h[d]:null)};
+Menus.prototype.createPopupMenu=function(a,b,e){a.smartSeparators=!0;a.hideShortcuts=!0;this.addPopupMenuItems(a,b,e)};Menus.prototype.addPopupMenuItems=function(a,b,e){this.isShowHistoryItems()&&this.addPopupMenuHistoryItems(a,b,e);this.addPopupMenuEditItems(a,b,e);this.isShowStyleItems()&&this.addPopupMenuStyleItems(a,b,e);this.isShowArrangeItems()&&this.addPopupMenuArrangeItems(a,b,e);this.addPopupMenuCellItems(a,b,e);this.addPopupMenuSelectionItems(a,b,e)};Menus.prototype.isShowHistoryItems=function(){return!0};
+Menus.prototype.addPopupMenuHistoryItems=function(a,b,e){this.editorUi.editor.graph.isSelectionEmpty()&&this.addMenuItems(a,["undo","redo"],null,e)};Menus.prototype.addPopupDeleteItem=function(a,b,e){a=this.addMenuItem(a,"delete");null!=a&&null!=a.firstChild&&null!=a.firstChild.nextSibling&&(a.firstChild.nextSibling.style.color="red",b=this.editorUi.editor.graph,1<b.getSelectionCount()&&(a.firstChild.nextSibling.innerHTML=mxUtils.htmlEntities(mxResources.get("delete")+" ("+b.getSelectionCount()+")")))};
+Menus.prototype.addPopupMenuEditItems=function(a,b,e){this.editorUi.editor.graph.isSelectionEmpty()?this.addMenuItems(a,["pasteHere"],null,e):this.addMenuItems(a,"cut copy duplicate - delete lockUnlock".split(" "),null,e)};Menus.prototype.isShowStyleItems=function(){return!0};
+Menus.prototype.addPopupMenuStyleItems=function(a,b,e){1==this.editorUi.editor.graph.getSelectionCount()?this.addMenuItems(a,["-","setAsDefaultStyle"],null,e):this.editorUi.editor.graph.isSelectionEmpty()&&this.addMenuItems(a,["-","clearDefaultStyle"],null,e)};Menus.prototype.isShowArrangeItems=function(){return!0};
+Menus.prototype.addPopupMenuArrangeItems=function(a,b,e){var f=this.editorUi.editor.graph;(1<f.getSelectionCount()||0<f.getSelectionCount()&&!f.getModel().isEdge(b)&&!f.isSwimlane(b)&&0<f.getModel().getChildCount(b)&&f.isCellEditable(b))&&this.addMenuItems(a,["group","ungroup"],null,e);b=f.getEditableCells(f.getSelectionCells()).length;1<b&&(a.addSeparator(),this.addSubmenu("align",a),this.addSubmenu("distribute",a));1<=b&&(this.addMenuItems(a,["-","toFront","toBack"],null,e),this.isShowCellEditItems()&&
+1==f.getSelectionCount()&&this.addMenuItems(a,["bringForward","sendBackward"],null,e))};
+Menus.prototype.addPopupMenuCellItems=function(a,b,e){var f=this.editorUi.editor.graph,h=f.view.getState(b);if(null!=h){var d=f.getModel().getGeometry(b);d=null!=d&&null!=d.points&&0<d.points.length;this.isShowStyleItems()&&1==f.getSelectionCount()&&f.getModel().isEdge(b)&&(a.addSeparator(),this.addSubmenu("line",a));if(f.getModel().isEdge(b)&&"entityRelationEdgeStyle"!=mxUtils.getValue(h.style,mxConstants.STYLE_EDGE,null)&&"arrow"!=mxUtils.getValue(h.style,mxConstants.STYLE_SHAPE,null)){h=f.selectionCellsHandler.getHandler(b);
+var g=!1;if(d&&h instanceof mxEdgeHandler&&null!=h.bends&&2<h.bends.length){var n=h.getHandleForEvent(f.updateMouseEvent(new mxMouseEvent(e)));0<n&&n<h.bends.length-1&&(null==h.bends[n]||null==h.bends[n].node||""==h.bends[n].node.style.opacity)&&(g=this.editorUi.actions.get("removeWaypoint"),g.handler=h,g.index=n,g=!0)}this.isShowCellEditItems()&&this.addMenuItem(a,"turn",null,e,null,mxResources.get("reverse"));this.addMenuItems(a,[g?"removeWaypoint":"addWaypoint"],null,e)}1==f.getSelectionCount()&&
+this.isShowCellEditItems()&&(d||f.getModel().isVertex(b)&&0<f.getModel().getEdgeCount(b))&&this.addMenuItems(a,["clearWaypoints"],null,e);this.isShowCellEditItems()&&1==f.getSelectionCount()&&f.isCellEditable(b)&&this.addPopupMenuCellEditItems(a,b,e)}};Menus.prototype.isShowCellEditItems=function(){return!0};
+Menus.prototype.addPopupMenuCellEditItems=function(a,b,e,f){var h=this.editorUi.editor.graph,d=h.view.getState(b);this.addMenuItems(a,["-","editStyle","editData","editLink"],f,e);h.getModel().isVertex(b)&&null!=mxUtils.getValue(d.style,mxConstants.STYLE_IMAGE,null)&&(a.addSeparator(),this.addMenuItem(a,"image",f,e).firstChild.nextSibling.innerHTML=mxResources.get("editImage")+"...",this.addMenuItem(a,"crop",f,e));h.getModel().isVertex(b)&&h.isCellConnectable(b)&&this.addMenuItem(a,"editConnectionPoints",
+f,e)};Menus.prototype.addPopupMenuSelectionItems=function(a,b,e){this.editorUi.editor.graph.isSelectionEmpty()&&this.addMenuItems(a,["-","selectAll","selectVertices","selectEdges"],null,e)};Menus.prototype.createMenubar=function(a){for(var b=new Menubar(this.editorUi,a),e=this.defaultMenuItems,f=0;f<e.length;f++)mxUtils.bind(this,function(h){var d=b.addMenu(mxResources.get(e[f]),mxUtils.bind(this,function(){h.funct.apply(this,arguments)}));this.menuCreated(h,d)})(this.get(e[f]));return b};
+Menus.prototype.menuCreated=function(a,b,e){null!=b&&(e=null!=e?e:"geItem",b.className=e,a.addListener("stateChanged",function(){(b.enabled=a.enabled)?(b.className=e,8==document.documentMode&&(b.style.color="")):(b.className=e+" mxDisabled",8==document.documentMode&&(b.style.color="#c3c3c3"))}))};function Menubar(a,b){this.editorUi=a;this.container=b}Menubar.prototype.hideMenu=function(){this.editorUi.hideCurrentMenu()};
+Menubar.prototype.addMenu=function(a,b,e,f){var h=document.createElement("a");h.className="geItem";mxUtils.write(h,a);this.addMenuHandler(h,b,f);null!=e?this.container.insertBefore(h,e):this.container.appendChild(h);return h};
+Menubar.prototype.addMenuHandler=function(a,b,e){if(null!=b){var f=!0,h=mxUtils.bind(this,function(d){null!=e&&e(d);if(!mxEvent.isConsumed(d)&&f&&(null==a.enabled||a.enabled)){this.editorUi.editor.graph.popupMenuHandler.hideMenu();var g=new mxPopupMenu(b);g.div.className+=" geMenubarMenu";g.smartSeparators=!0;g.showDisabled=!0;g.autoExpand=!0;g.hideMenu=mxUtils.bind(this,function(){mxPopupMenu.prototype.hideMenu.apply(g,arguments);this.editorUi.resetCurrentMenu();g.destroy()});var n=mxUtils.getOffset(a);
+g.popup(n.x,n.y+a.offsetHeight,null,d);this.editorUi.setCurrentMenu(g,a)}mxEvent.consume(d)});mxEvent.addListener(a,"mousemove",mxUtils.bind(this,function(d){this.editorUi.menus.autoPopup&&null!=this.editorUi.currentMenu&&this.editorUi.currentMenuElt!=a&&(this.editorUi.hideCurrentMenu(),h(d))}));mxEvent.addListener(a,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(d){!this.editorUi.menus.autoPopup&&null!=this.editorUi.currentMenu&&this.editorUi.currentMenuElt!=a&&mxEvent.isMouseEvent(d)&&
+this.editorUi.hideCurrentMenu();f=null==this.editorUi.currentMenu;d.preventDefault()}));mxEvent.addListener(a,"click",mxUtils.bind(this,function(d){h(d);f=!0}))}};Menubar.prototype.destroy=function(){};function Menu(a,b){mxEventSource.call(this);this.funct=a;this.enabled=null!=b?b:!0}mxUtils.extend(Menu,mxEventSource);Menu.prototype.isEnabled=function(){return this.enabled};Menu.prototype.setEnabled=function(a){this.enabled!=a&&(this.enabled=a,this.fireEvent(new mxEventObject("stateChanged")))};
+Menu.prototype.execute=function(a,b){this.funct(a,b)};EditorUi.prototype.createMenus=function(){return new Menus(this)};function Toolbar(a,b){this.editorUi=a;this.container=b;this.staticElements=[];this.init();this.gestureHandler=mxUtils.bind(this,function(e){null!=this.editorUi.currentMenu&&mxEvent.getSource(e)!=this.editorUi.currentMenu.div&&this.hideMenu()});mxEvent.addGestureListeners(document,this.gestureHandler)}
Toolbar.prototype.dropDownImage=mxClient.IS_SVG?"data:image/gif;base64,R0lGODlhDQANAIABAHt7e////yH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS4wLWMwNjAgNjEuMTM0Nzc3LCAyMDEwLzAyLzEyLTE3OjMyOjAwICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M1IE1hY2ludG9zaCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpCREM1NkJFMjE0NEMxMUU1ODk1Q0M5MjQ0MTA4QjNDMSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpCREM1NkJFMzE0NEMxMUU1ODk1Q0M5MjQ0MTA4QjNDMSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOkQzOUMzMjZCMTQ0QjExRTU4OTVDQzkyNDQxMDhCM0MxIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkQzOUMzMjZDMTQ0QjExRTU4OTVDQzkyNDQxMDhCM0MxIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+Af/+/fz7+vn49/b19PPy8fDv7u3s6+rp6Ofm5eTj4uHg397d3Nva2djX1tXU09LR0M/OzczLysnIx8bFxMPCwcC/vr28u7q5uLe2tbSzsrGwr66trKuqqainpqWko6KhoJ+enZybmpmYl5aVlJOSkZCPjo2Mi4qJiIeGhYSDgoGAf359fHt6eXh3dnV0c3JxcG9ubWxramloZ2ZlZGNiYWBfXl1cW1pZWFdWVVRTUlFQT05NTEtKSUhHRkVEQ0JBQD8+PTw7Ojk4NzY1NDMyMTAvLi0sKyopKCcmJSQjIiEgHx4dHBsaGRgXFhUUExIREA8ODQwLCgkIBwYFBAMCAQAAIfkEAQAAAQAsAAAAAA0ADQAAAhGMj6nL3QAjVHIu6azbvPtWAAA7":IMAGE_PATH+
"/dropdown.gif";Toolbar.prototype.selectedBackground="#d0d0d0";Toolbar.prototype.unselectedBackground="none";Toolbar.prototype.staticElements=null;
-Toolbar.prototype.init=function(){var a=screen.width;a-=740<screen.height?56:0;if(700<=a){var b=this.addMenu("",mxResources.get("view")+" ("+mxResources.get("panTooltip")+")",!0,"viewPanels",null,!0);this.addDropDownArrow(b,"geSprite-formatpanel",38,50,-4,-3,36,-8);this.addSeparator()}var d=this.addMenu("",mxResources.get("zoom")+" (Alt+Mousewheel)",!0,"viewZoom",null,!0);d.showDisabled=!0;d.style.whiteSpace="nowrap";d.style.position="relative";d.style.overflow="hidden";d.style.width=EditorUi.compactUi?
-"50px":"36px";420<=a&&(this.addSeparator(),b=this.addItems(["zoomIn","zoomOut"]),b[0].setAttribute("title",mxResources.get("zoomIn")+" ("+this.editorUi.actions.get("zoomIn").shortcut+")"),b[1].setAttribute("title",mxResources.get("zoomOut")+" ("+this.editorUi.actions.get("zoomOut").shortcut+")"));this.updateZoom=mxUtils.bind(this,function(e,g,f){d.innerHTML=Math.round(100*this.editorUi.editor.graph.view.scale*(null!=f?f:1))+"%";this.appendDropDownImageHtml(d);EditorUi.compactUi&&(d.getElementsByTagName("img")[0].style.right=
-"1px",d.getElementsByTagName("img")[0].style.top="5px")});this.editorUi.editor.graph.view.addListener(mxEvent.EVENT_SCALE,this.updateZoom);this.editorUi.editor.addListener("resetGraphView",this.updateZoom);this.editorUi.editor.graph.addListener("zoomPreview",mxUtils.bind(this,function(e,g){this.updateZoom(e,g,g.getProperty("factor"))}));b=this.addItems(["-","undo","redo"]);b[1].setAttribute("title",mxResources.get("undo")+" ("+this.editorUi.actions.get("undo").shortcut+")");b[2].setAttribute("title",
+Toolbar.prototype.init=function(){var a=screen.width;a-=740<screen.height?56:0;if(700<=a){var b=this.addMenu("",mxResources.get("view")+" ("+mxResources.get("panTooltip")+")",!0,"viewPanels",null,!0);this.addDropDownArrow(b,"geSprite-formatpanel",38,50,-4,-3,36,-8);this.addSeparator()}var e=this.addMenu("",mxResources.get("zoom")+" (Alt+Mousewheel)",!0,"viewZoom",null,!0);e.showDisabled=!0;e.style.whiteSpace="nowrap";e.style.position="relative";e.style.overflow="hidden";e.style.width=EditorUi.compactUi?
+"50px":"36px";420<=a&&(this.addSeparator(),b=this.addItems(["zoomIn","zoomOut"]),b[0].setAttribute("title",mxResources.get("zoomIn")+" ("+this.editorUi.actions.get("zoomIn").shortcut+")"),b[1].setAttribute("title",mxResources.get("zoomOut")+" ("+this.editorUi.actions.get("zoomOut").shortcut+")"));this.updateZoom=mxUtils.bind(this,function(f,h,d){e.innerHTML=Math.round(100*this.editorUi.editor.graph.view.scale*(null!=d?d:1))+"%";this.appendDropDownImageHtml(e);EditorUi.compactUi&&(e.getElementsByTagName("img")[0].style.right=
+"1px",e.getElementsByTagName("img")[0].style.top="5px")});this.editorUi.editor.graph.view.addListener(mxEvent.EVENT_SCALE,this.updateZoom);this.editorUi.editor.addListener("resetGraphView",this.updateZoom);this.editorUi.editor.graph.addListener("zoomPreview",mxUtils.bind(this,function(f,h){this.updateZoom(f,h,h.getProperty("factor"))}));b=this.addItems(["-","undo","redo"]);b[1].setAttribute("title",mxResources.get("undo")+" ("+this.editorUi.actions.get("undo").shortcut+")");b[2].setAttribute("title",
mxResources.get("redo")+" ("+this.editorUi.actions.get("redo").shortcut+")");320<=a&&(b=this.addItems(["-","delete"]),b[1].setAttribute("title",mxResources.get("delete")+" ("+this.editorUi.actions.get("delete").shortcut+")"));550<=a&&this.addItems(["-","toFront","toBack"]);740<=a&&(this.addItems(["-","fillColor"]),780<=a&&(this.addItems(["strokeColor"]),820<=a&&this.addItems(["shadow"])));400<=a&&(this.addSeparator(),440<=a&&(this.edgeShapeMenu=this.addMenuFunction("",mxResources.get("connection"),
-!1,mxUtils.bind(this,function(e){this.editorUi.menus.edgeStyleChange(e,"",[mxConstants.STYLE_SHAPE,"width"],[null,null],"geIcon geSprite geSprite-connection",null,!0).setAttribute("title",mxResources.get("line"));this.editorUi.menus.edgeStyleChange(e,"",[mxConstants.STYLE_SHAPE,"width"],["link",null],"geIcon geSprite geSprite-linkedge",null,!0).setAttribute("title",mxResources.get("link"));this.editorUi.menus.edgeStyleChange(e,"",[mxConstants.STYLE_SHAPE,"width"],["flexArrow",null],"geIcon geSprite geSprite-arrow",
-null,!0).setAttribute("title",mxResources.get("arrow"));this.editorUi.menus.edgeStyleChange(e,"",[mxConstants.STYLE_SHAPE,"width"],["arrow",null],"geIcon geSprite geSprite-simplearrow",null,!0).setAttribute("title",mxResources.get("simpleArrow"))})),this.addDropDownArrow(this.edgeShapeMenu,"geSprite-connection",44,50,0,0,22,-4)),this.edgeStyleMenu=this.addMenuFunction("geSprite-orthogonal",mxResources.get("waypoints"),!1,mxUtils.bind(this,function(e){this.editorUi.menus.edgeStyleChange(e,"",[mxConstants.STYLE_EDGE,
-mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],[null,null,null],"geIcon geSprite geSprite-straight",null,!0).setAttribute("title",mxResources.get("straight"));this.editorUi.menus.edgeStyleChange(e,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["orthogonalEdgeStyle",null,null],"geIcon geSprite geSprite-orthogonal",null,!0).setAttribute("title",mxResources.get("orthogonal"));this.editorUi.menus.edgeStyleChange(e,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,
-mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["elbowEdgeStyle",null,null,null],"geIcon geSprite geSprite-horizontalelbow",null,!0).setAttribute("title",mxResources.get("simple"));this.editorUi.menus.edgeStyleChange(e,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["elbowEdgeStyle","vertical",null,null],"geIcon geSprite geSprite-verticalelbow",null,!0).setAttribute("title",mxResources.get("simple"));this.editorUi.menus.edgeStyleChange(e,
-"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["isometricEdgeStyle",null,null,null],"geIcon geSprite geSprite-horizontalisometric",null,!0).setAttribute("title",mxResources.get("isometric"));this.editorUi.menus.edgeStyleChange(e,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["isometricEdgeStyle","vertical",null,null],"geIcon geSprite geSprite-verticalisometric",null,!0).setAttribute("title",
-mxResources.get("isometric"));this.editorUi.menus.edgeStyleChange(e,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["orthogonalEdgeStyle","1",null],"geIcon geSprite geSprite-curved",null,!0).setAttribute("title",mxResources.get("curved"));this.editorUi.menus.edgeStyleChange(e,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["entityRelationEdgeStyle",null,null],"geIcon geSprite geSprite-entity",null,!0).setAttribute("title",mxResources.get("entityRelation"))})),
+!1,mxUtils.bind(this,function(f){this.editorUi.menus.edgeStyleChange(f,"",[mxConstants.STYLE_SHAPE,"width"],[null,null],"geIcon geSprite geSprite-connection",null,!0).setAttribute("title",mxResources.get("line"));this.editorUi.menus.edgeStyleChange(f,"",[mxConstants.STYLE_SHAPE,"width"],["link",null],"geIcon geSprite geSprite-linkedge",null,!0).setAttribute("title",mxResources.get("link"));this.editorUi.menus.edgeStyleChange(f,"",[mxConstants.STYLE_SHAPE,"width"],["flexArrow",null],"geIcon geSprite geSprite-arrow",
+null,!0).setAttribute("title",mxResources.get("arrow"));this.editorUi.menus.edgeStyleChange(f,"",[mxConstants.STYLE_SHAPE,"width"],["arrow",null],"geIcon geSprite geSprite-simplearrow",null,!0).setAttribute("title",mxResources.get("simpleArrow"))})),this.addDropDownArrow(this.edgeShapeMenu,"geSprite-connection",44,50,0,0,22,-4)),this.edgeStyleMenu=this.addMenuFunction("geSprite-orthogonal",mxResources.get("waypoints"),!1,mxUtils.bind(this,function(f){this.editorUi.menus.edgeStyleChange(f,"",[mxConstants.STYLE_EDGE,
+mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],[null,null,null],"geIcon geSprite geSprite-straight",null,!0).setAttribute("title",mxResources.get("straight"));this.editorUi.menus.edgeStyleChange(f,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["orthogonalEdgeStyle",null,null],"geIcon geSprite geSprite-orthogonal",null,!0).setAttribute("title",mxResources.get("orthogonal"));this.editorUi.menus.edgeStyleChange(f,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,
+mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["elbowEdgeStyle",null,null,null],"geIcon geSprite geSprite-horizontalelbow",null,!0).setAttribute("title",mxResources.get("simple"));this.editorUi.menus.edgeStyleChange(f,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["elbowEdgeStyle","vertical",null,null],"geIcon geSprite geSprite-verticalelbow",null,!0).setAttribute("title",mxResources.get("simple"));this.editorUi.menus.edgeStyleChange(f,
+"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["isometricEdgeStyle",null,null,null],"geIcon geSprite geSprite-horizontalisometric",null,!0).setAttribute("title",mxResources.get("isometric"));this.editorUi.menus.edgeStyleChange(f,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["isometricEdgeStyle","vertical",null,null],"geIcon geSprite geSprite-verticalisometric",null,!0).setAttribute("title",
+mxResources.get("isometric"));this.editorUi.menus.edgeStyleChange(f,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["orthogonalEdgeStyle","1",null],"geIcon geSprite geSprite-curved",null,!0).setAttribute("title",mxResources.get("curved"));this.editorUi.menus.edgeStyleChange(f,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["entityRelationEdgeStyle",null,null],"geIcon geSprite geSprite-entity",null,!0).setAttribute("title",mxResources.get("entityRelation"))})),
this.addDropDownArrow(this.edgeStyleMenu,"geSprite-orthogonal",44,50,0,0,22,-4));this.addSeparator();a=this.addMenu("",mxResources.get("insert")+" ("+mxResources.get("doubleClickTooltip")+")",!0,"insert",null,!0);this.addDropDownArrow(a,"geSprite-plus",38,48,-4,-3,36,-8);this.addSeparator();this.addTableDropDown()};
Toolbar.prototype.appendDropDownImageHtml=function(a){var b=document.createElement("img");b.setAttribute("border","0");b.setAttribute("valign","middle");b.setAttribute("src",Toolbar.prototype.dropDownImage);a.appendChild(b);b.style.position="absolute";b.style.right="4px";b.style.top=(EditorUi.compactUi?6:8)+"px"};
-Toolbar.prototype.addTableDropDown=function(){var a=this.addMenuFunction("geIcon geSprite geSprite-table",mxResources.get("table"),!1,mxUtils.bind(this,function(d){this.editorUi.menus.addInsertTableCellItem(d)}));a.style.position="relative";a.style.whiteSpace="nowrap";a.style.overflow="hidden";a.style.width="30px";a.innerHTML='<div class="geSprite geSprite-table"></div>';this.appendDropDownImageHtml(a);a.getElementsByTagName("div")[0].style.marginLeft="-2px";EditorUi.compactUi&&(a.getElementsByTagName("img")[0].style.left=
+Toolbar.prototype.addTableDropDown=function(){var a=this.addMenuFunction("geIcon geSprite geSprite-table",mxResources.get("table"),!1,mxUtils.bind(this,function(e){this.editorUi.menus.addInsertTableCellItem(e)}));a.style.position="relative";a.style.whiteSpace="nowrap";a.style.overflow="hidden";a.style.width="30px";a.innerHTML='<div class="geSprite geSprite-table"></div>';this.appendDropDownImageHtml(a);a.getElementsByTagName("div")[0].style.marginLeft="-2px";EditorUi.compactUi&&(a.getElementsByTagName("img")[0].style.left=
"22px",a.getElementsByTagName("img")[0].style.top="5px");var b=this.editorUi.menus.get("insert");null!=b&&"function"===typeof a.setEnabled&&b.addListener("stateChanged",function(){a.setEnabled(b.enabled)});return a};
-Toolbar.prototype.addDropDownArrow=function(a,b,d,e,g,f,h,n){g=EditorUi.compactUi?g:n;a.style.whiteSpace="nowrap";a.style.overflow="hidden";a.style.position="relative";a.style.width=e-(null!=h?h:32)+"px";a.innerHTML='<div class="geSprite '+b+'"></div>';this.appendDropDownImageHtml(a);b=a.getElementsByTagName("div")[0];b.style.marginLeft=g+"px";b.style.marginTop=f+"px";EditorUi.compactUi&&(a.getElementsByTagName("img")[0].style.left="24px",a.getElementsByTagName("img")[0].style.top="5px",a.style.width=
-d-10+"px")};Toolbar.prototype.setFontName=function(a){if(null!=this.fontMenu){this.fontMenu.innerText="";var b=document.createElement("div");b.style.display="inline-block";b.style.overflow="hidden";b.style.textOverflow="ellipsis";b.style.maxWidth="66px";mxUtils.write(b,a);this.fontMenu.appendChild(b);this.appendDropDownImageHtml(this.fontMenu)}};
+Toolbar.prototype.addDropDownArrow=function(a,b,e,f,h,d,g,n){h=EditorUi.compactUi?h:n;a.style.whiteSpace="nowrap";a.style.overflow="hidden";a.style.position="relative";a.style.width=f-(null!=g?g:32)+"px";a.innerHTML='<div class="geSprite '+b+'"></div>';this.appendDropDownImageHtml(a);b=a.getElementsByTagName("div")[0];b.style.marginLeft=h+"px";b.style.marginTop=d+"px";EditorUi.compactUi&&(a.getElementsByTagName("img")[0].style.left="24px",a.getElementsByTagName("img")[0].style.top="5px",a.style.width=
+e-10+"px")};Toolbar.prototype.setFontName=function(a){if(null!=this.fontMenu){this.fontMenu.innerText="";var b=document.createElement("div");b.style.display="inline-block";b.style.overflow="hidden";b.style.textOverflow="ellipsis";b.style.maxWidth="66px";mxUtils.write(b,a);this.fontMenu.appendChild(b);this.appendDropDownImageHtml(this.fontMenu)}};
Toolbar.prototype.setFontSize=function(a){if(null!=this.sizeMenu){this.sizeMenu.innerText="";var b=document.createElement("div");b.style.display="inline-block";b.style.overflow="hidden";b.style.textOverflow="ellipsis";b.style.maxWidth="24px";mxUtils.write(b,a);this.sizeMenu.appendChild(b);this.appendDropDownImageHtml(this.sizeMenu)}};
-Toolbar.prototype.createTextToolbar=function(){var a=this.editorUi,b=a.editor.graph,d=this.addMenu("",mxResources.get("style"),!0,"formatBlock");d.style.position="relative";d.style.whiteSpace="nowrap";d.style.overflow="hidden";d.innerHTML=mxResources.get("style");this.appendDropDownImageHtml(d);EditorUi.compactUi&&(d.style.paddingRight="18px",d.getElementsByTagName("img")[0].style.right="1px",d.getElementsByTagName("img")[0].style.top="5px");this.addSeparator();this.fontMenu=this.addMenu("",mxResources.get("fontFamily"),
+Toolbar.prototype.createTextToolbar=function(){var a=this.editorUi,b=a.editor.graph,e=this.addMenu("",mxResources.get("style"),!0,"formatBlock");e.style.position="relative";e.style.whiteSpace="nowrap";e.style.overflow="hidden";e.innerHTML=mxResources.get("style");this.appendDropDownImageHtml(e);EditorUi.compactUi&&(e.style.paddingRight="18px",e.getElementsByTagName("img")[0].style.right="1px",e.getElementsByTagName("img")[0].style.top="5px");this.addSeparator();this.fontMenu=this.addMenu("",mxResources.get("fontFamily"),
!0,"fontFamily");this.fontMenu.style.position="relative";this.fontMenu.style.whiteSpace="nowrap";this.fontMenu.style.overflow="hidden";this.fontMenu.style.width="68px";this.setFontName(Menus.prototype.defaultFont);EditorUi.compactUi&&(this.fontMenu.style.paddingRight="18px",this.fontMenu.getElementsByTagName("img")[0].style.right="1px",this.fontMenu.getElementsByTagName("img")[0].style.top="5px");this.addSeparator();this.sizeMenu=this.addMenu(Menus.prototype.defaultFontSize,mxResources.get("fontSize"),
-!0,"fontSize");this.sizeMenu.style.position="relative";this.sizeMenu.style.whiteSpace="nowrap";this.sizeMenu.style.overflow="hidden";this.sizeMenu.style.width="24px";this.setFontSize(Menus.prototype.defaultFontSize);EditorUi.compactUi&&(this.sizeMenu.style.paddingRight="18px",this.sizeMenu.getElementsByTagName("img")[0].style.right="1px",this.sizeMenu.getElementsByTagName("img")[0].style.top="5px");d=this.addItems("- undo redo - bold italic underline".split(" "));d[1].setAttribute("title",mxResources.get("undo")+
-" ("+a.actions.get("undo").shortcut+")");d[2].setAttribute("title",mxResources.get("redo")+" ("+a.actions.get("redo").shortcut+")");d[4].setAttribute("title",mxResources.get("bold")+" ("+a.actions.get("bold").shortcut+")");d[5].setAttribute("title",mxResources.get("italic")+" ("+a.actions.get("italic").shortcut+")");d[6].setAttribute("title",mxResources.get("underline")+" ("+a.actions.get("underline").shortcut+")");var e=this.addMenuFunction("",mxResources.get("align"),!1,mxUtils.bind(this,function(f){g=
-f.addItem("",null,mxUtils.bind(this,function(h){b.cellEditor.alignText(mxConstants.ALIGN_LEFT,h);a.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ALIGN],"values",[mxConstants.ALIGN_LEFT],"cells",[b.cellEditor.getEditingCell()]))}),null,"geIcon geSprite geSprite-left");g.setAttribute("title",mxResources.get("left"));g=f.addItem("",null,mxUtils.bind(this,function(h){b.cellEditor.alignText(mxConstants.ALIGN_CENTER,h);a.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ALIGN],
-"values",[mxConstants.ALIGN_CENTER],"cells",[b.cellEditor.getEditingCell()]))}),null,"geIcon geSprite geSprite-center");g.setAttribute("title",mxResources.get("center"));g=f.addItem("",null,mxUtils.bind(this,function(h){b.cellEditor.alignText(mxConstants.ALIGN_RIGHT,h);a.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ALIGN],"values",[mxConstants.ALIGN_RIGHT],"cells",[b.cellEditor.getEditingCell()]))}),null,"geIcon geSprite geSprite-right");g.setAttribute("title",mxResources.get("right"));
-g=f.addItem("",null,mxUtils.bind(this,function(){document.execCommand("justifyfull",!1,null)}),null,"geIcon geSprite geSprite-justifyfull");g.setAttribute("title",mxResources.get("justifyfull"));g=f.addItem("",null,mxUtils.bind(this,function(){document.execCommand("insertorderedlist",!1,null)}),null,"geIcon geSprite geSprite-orderedlist");g.setAttribute("title",mxResources.get("numberedList"));g=f.addItem("",null,mxUtils.bind(this,function(){document.execCommand("insertunorderedlist",!1,null)}),null,
-"geIcon geSprite geSprite-unorderedlist");g.setAttribute("title",mxResources.get("bulletedList"));g=f.addItem("",null,mxUtils.bind(this,function(){document.execCommand("outdent",!1,null)}),null,"geIcon geSprite geSprite-outdent");g.setAttribute("title",mxResources.get("decreaseIndent"));g=f.addItem("",null,mxUtils.bind(this,function(){document.execCommand("indent",!1,null)}),null,"geIcon geSprite geSprite-indent");g.setAttribute("title",mxResources.get("increaseIndent"))}));e.style.position="relative";
-e.style.whiteSpace="nowrap";e.style.overflow="hidden";e.style.width="30px";e.innerText="";d=document.createElement("div");d.className="geSprite geSprite-left";d.style.marginLeft="-2px";e.appendChild(d);this.appendDropDownImageHtml(e);EditorUi.compactUi&&(e.getElementsByTagName("img")[0].style.left="22px",e.getElementsByTagName("img")[0].style.top="5px");e=this.addMenuFunction("",mxResources.get("format"),!1,mxUtils.bind(this,function(f){g=f.addItem("",null,this.editorUi.actions.get("subscript").funct,
-null,"geIcon geSprite geSprite-subscript");g.setAttribute("title",mxResources.get("subscript")+" ("+Editor.ctrlKey+"+,)");g=f.addItem("",null,this.editorUi.actions.get("superscript").funct,null,"geIcon geSprite geSprite-superscript");g.setAttribute("title",mxResources.get("superscript")+" ("+Editor.ctrlKey+"+.)");g=f.addItem("",null,this.editorUi.actions.get("fontColor").funct,null,"geIcon geSprite geSprite-fontcolor");g.setAttribute("title",mxResources.get("fontColor"));g=f.addItem("",null,this.editorUi.actions.get("backgroundColor").funct,
-null,"geIcon geSprite geSprite-fontbackground");g.setAttribute("title",mxResources.get("backgroundColor"));g=f.addItem("",null,mxUtils.bind(this,function(){document.execCommand("removeformat",!1,null)}),null,"geIcon geSprite geSprite-removeformat");g.setAttribute("title",mxResources.get("removeFormat"))}));e.style.position="relative";e.style.whiteSpace="nowrap";e.style.overflow="hidden";e.style.width="30px";e.innerText="";d=document.createElement("div");d.className="geSprite geSprite-dots";d.style.marginLeft=
-"-2px";e.appendChild(d);this.appendDropDownImageHtml(e);EditorUi.compactUi&&(e.getElementsByTagName("img")[0].style.left="22px",e.getElementsByTagName("img")[0].style.top="5px");this.addSeparator();this.addButton("geIcon geSprite geSprite-code",mxResources.get("html"),function(){b.cellEditor.toggleViewMode();0<b.cellEditor.textarea.innerHTML.length&&("&nbsp;"!=b.cellEditor.textarea.innerHTML||!b.cellEditor.clearOnChange)&&window.setTimeout(function(){document.execCommand("selectAll",!1,null)})});
-this.addSeparator();e=this.addMenuFunction("",mxResources.get("insert"),!0,mxUtils.bind(this,function(f){f.addItem(mxResources.get("insertLink"),null,mxUtils.bind(this,function(){this.editorUi.actions.get("link").funct()}));f.addItem(mxResources.get("insertImage"),null,mxUtils.bind(this,function(){this.editorUi.actions.get("image").funct()}));f.addItem(mxResources.get("insertHorizontalRule"),null,mxUtils.bind(this,function(){document.execCommand("inserthorizontalrule",!1,null)}))}));e.style.whiteSpace=
-"nowrap";e.style.overflow="hidden";e.style.position="relative";e.style.width="16px";e.innerText="";d=document.createElement("div");d.className="geSprite geSprite-plus";d.style.marginLeft="-4px";d.style.marginTop="-3px";e.appendChild(d);this.appendDropDownImageHtml(e);EditorUi.compactUi&&(e.getElementsByTagName("img")[0].style.left="24px",e.getElementsByTagName("img")[0].style.top="5px",e.style.width="30px");this.addSeparator();var g=this.addMenuFunction("geIcon geSprite geSprite-table",mxResources.get("table"),
-!1,mxUtils.bind(this,function(f){var h=b.getSelectedElement(),n=b.getParentByNames(h,["TD","TH"],b.cellEditor.text2),q=b.getParentByName(h,"TR",b.cellEditor.text2);if(null==q)this.editorUi.menus.addInsertTableItem(f);else{var l=b.getParentByName(q,"TABLE",b.cellEditor.text2);h=f.addItem("",null,mxUtils.bind(this,function(){try{b.selectNode(b.insertColumn(l,null!=n?n.cellIndex:0))}catch(p){this.editorUi.handleError(p)}}),null,"geIcon geSprite geSprite-insertcolumnbefore");h.setAttribute("title",mxResources.get("insertColumnBefore"));
-h=f.addItem("",null,mxUtils.bind(this,function(){try{b.selectNode(b.insertColumn(l,null!=n?n.cellIndex+1:-1))}catch(p){this.editorUi.handleError(p)}}),null,"geIcon geSprite geSprite-insertcolumnafter");h.setAttribute("title",mxResources.get("insertColumnAfter"));h=f.addItem("Delete column",null,mxUtils.bind(this,function(){if(null!=n)try{b.deleteColumn(l,n.cellIndex)}catch(p){this.editorUi.handleError(p)}}),null,"geIcon geSprite geSprite-deletecolumn");h.setAttribute("title",mxResources.get("deleteColumn"));
-h=f.addItem("",null,mxUtils.bind(this,function(){try{b.selectNode(b.insertRow(l,q.sectionRowIndex))}catch(p){this.editorUi.handleError(p)}}),null,"geIcon geSprite geSprite-insertrowbefore");h.setAttribute("title",mxResources.get("insertRowBefore"));h=f.addItem("",null,mxUtils.bind(this,function(){try{b.selectNode(b.insertRow(l,q.sectionRowIndex+1))}catch(p){this.editorUi.handleError(p)}}),null,"geIcon geSprite geSprite-insertrowafter");h.setAttribute("title",mxResources.get("insertRowAfter"));h=f.addItem("",
-null,mxUtils.bind(this,function(){try{b.deleteRow(l,q.sectionRowIndex)}catch(p){this.editorUi.handleError(p)}}),null,"geIcon geSprite geSprite-deleterow");h.setAttribute("title",mxResources.get("deleteRow"));h=f.addItem("",null,mxUtils.bind(this,function(){var p=l.style.borderColor.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,function(w,z,C,F){return"#"+("0"+Number(z).toString(16)).substr(-2)+("0"+Number(C).toString(16)).substr(-2)+("0"+Number(F).toString(16)).substr(-2)});this.editorUi.pickColor(p,
-function(w){null==w||w==mxConstants.NONE?(l.removeAttribute("border"),l.style.border="",l.style.borderCollapse=""):(l.setAttribute("border","1"),l.style.border="1px solid "+w,l.style.borderCollapse="collapse")})}),null,"geIcon geSprite geSprite-strokecolor");h.setAttribute("title",mxResources.get("borderColor"));h=f.addItem("",null,mxUtils.bind(this,function(){var p=l.style.backgroundColor.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,function(w,z,C,F){return"#"+("0"+Number(z).toString(16)).substr(-2)+
-("0"+Number(C).toString(16)).substr(-2)+("0"+Number(F).toString(16)).substr(-2)});this.editorUi.pickColor(p,function(w){l.style.backgroundColor=null==w||w==mxConstants.NONE?"":w})}),null,"geIcon geSprite geSprite-fillcolor");h.setAttribute("title",mxResources.get("backgroundColor"));h=f.addItem("",null,mxUtils.bind(this,function(){var p=l.getAttribute("cellPadding")||0;p=new FilenameDialog(this.editorUi,p,mxResources.get("apply"),mxUtils.bind(this,function(w){null!=w&&0<w.length?l.setAttribute("cellPadding",
-w):l.removeAttribute("cellPadding")}),mxResources.get("spacing"));this.editorUi.showDialog(p.container,300,80,!0,!0);p.init()}),null,"geIcon geSprite geSprite-fit");h.setAttribute("title",mxResources.get("spacing"));h=f.addItem("",null,mxUtils.bind(this,function(){l.setAttribute("align","left")}),null,"geIcon geSprite geSprite-left");h.setAttribute("title",mxResources.get("left"));h=f.addItem("",null,mxUtils.bind(this,function(){l.setAttribute("align","center")}),null,"geIcon geSprite geSprite-center");
-h.setAttribute("title",mxResources.get("center"));h=f.addItem("",null,mxUtils.bind(this,function(){l.setAttribute("align","right")}),null,"geIcon geSprite geSprite-right");h.setAttribute("title",mxResources.get("right"))}}));g.style.position="relative";g.style.whiteSpace="nowrap";g.style.overflow="hidden";g.style.width="30px";g.innerText="";d=document.createElement("div");d.className="geSprite geSprite-table";d.style.marginLeft="-2px";g.appendChild(d);this.appendDropDownImageHtml(g);EditorUi.compactUi&&
-(g.getElementsByTagName("img")[0].style.left="22px",g.getElementsByTagName("img")[0].style.top="5px")};Toolbar.prototype.hideMenu=function(){this.editorUi.hideCurrentMenu()};Toolbar.prototype.addMenu=function(a,b,d,e,g,f,h){var n=this.editorUi.menus.get(e),q=this.addMenuFunction(a,b,d,function(){n.funct.apply(n,arguments)},g,f);h||"function"!==typeof q.setEnabled||n.addListener("stateChanged",function(){q.setEnabled(n.enabled)});return q};
-Toolbar.prototype.addMenuFunction=function(a,b,d,e,g,f){return this.addMenuFunctionInContainer(null!=g?g:this.container,a,b,d,e,f)};Toolbar.prototype.addMenuFunctionInContainer=function(a,b,d,e,g,f){b=e?this.createLabel(b):this.createButton(b);this.initElement(b,d);this.addMenuHandler(b,e,g,f);a.appendChild(b);return b};Toolbar.prototype.addSeparator=function(a){a=null!=a?a:this.container;var b=document.createElement("div");b.className="geSeparator";a.appendChild(b);return b};
-Toolbar.prototype.addItems=function(a,b,d){for(var e=[],g=0;g<a.length;g++){var f=a[g];"-"==f?e.push(this.addSeparator(b)):e.push(this.addItem("geSprite-"+f.toLowerCase(),f,b,d))}return e};Toolbar.prototype.addItem=function(a,b,d,e){var g=this.editorUi.actions.get(b),f=null;null!=g&&(b=g.label,null!=g.shortcut&&(b+=" ("+g.shortcut+")"),f=this.addButton(a,b,g.funct,d),e||"function"!==typeof f.setEnabled||(f.setEnabled(g.enabled),g.addListener("stateChanged",function(){f.setEnabled(g.enabled)})));return f};
-Toolbar.prototype.addButton=function(a,b,d,e){a=this.createButton(a);e=null!=e?e:this.container;this.initElement(a,b);this.addClickHandler(a,d);e.appendChild(a);return a};Toolbar.prototype.initElement=function(a,b){null!=b&&a.setAttribute("title",b);this.addEnabledState(a)};Toolbar.prototype.addEnabledState=function(a){var b=a.className;a.setEnabled=function(d){a.enabled=d;a.className=d?b:b+" mxDisabled"};a.setEnabled(!0)};
-Toolbar.prototype.addClickHandler=function(a,b){null!=b&&(mxEvent.addListener(a,"click",function(d){a.enabled&&b(d);mxEvent.consume(d)}),mxEvent.addListener(a,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(d){d.preventDefault()})))};Toolbar.prototype.createButton=function(a){var b=document.createElement("a");b.className="geButton";var d=document.createElement("div");null!=a&&(d.className="geSprite "+a);b.appendChild(d);return b};
+!0,"fontSize");this.sizeMenu.style.position="relative";this.sizeMenu.style.whiteSpace="nowrap";this.sizeMenu.style.overflow="hidden";this.sizeMenu.style.width="24px";this.setFontSize(Menus.prototype.defaultFontSize);EditorUi.compactUi&&(this.sizeMenu.style.paddingRight="18px",this.sizeMenu.getElementsByTagName("img")[0].style.right="1px",this.sizeMenu.getElementsByTagName("img")[0].style.top="5px");e=this.addItems("- undo redo - bold italic underline".split(" "));e[1].setAttribute("title",mxResources.get("undo")+
+" ("+a.actions.get("undo").shortcut+")");e[2].setAttribute("title",mxResources.get("redo")+" ("+a.actions.get("redo").shortcut+")");e[4].setAttribute("title",mxResources.get("bold")+" ("+a.actions.get("bold").shortcut+")");e[5].setAttribute("title",mxResources.get("italic")+" ("+a.actions.get("italic").shortcut+")");e[6].setAttribute("title",mxResources.get("underline")+" ("+a.actions.get("underline").shortcut+")");var f=this.addMenuFunction("",mxResources.get("align"),!1,mxUtils.bind(this,function(d){h=
+d.addItem("",null,mxUtils.bind(this,function(g){b.cellEditor.alignText(mxConstants.ALIGN_LEFT,g);a.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ALIGN],"values",[mxConstants.ALIGN_LEFT],"cells",[b.cellEditor.getEditingCell()]))}),null,"geIcon geSprite geSprite-left");h.setAttribute("title",mxResources.get("left"));h=d.addItem("",null,mxUtils.bind(this,function(g){b.cellEditor.alignText(mxConstants.ALIGN_CENTER,g);a.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ALIGN],
+"values",[mxConstants.ALIGN_CENTER],"cells",[b.cellEditor.getEditingCell()]))}),null,"geIcon geSprite geSprite-center");h.setAttribute("title",mxResources.get("center"));h=d.addItem("",null,mxUtils.bind(this,function(g){b.cellEditor.alignText(mxConstants.ALIGN_RIGHT,g);a.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ALIGN],"values",[mxConstants.ALIGN_RIGHT],"cells",[b.cellEditor.getEditingCell()]))}),null,"geIcon geSprite geSprite-right");h.setAttribute("title",mxResources.get("right"));
+h=d.addItem("",null,mxUtils.bind(this,function(){document.execCommand("justifyfull",!1,null)}),null,"geIcon geSprite geSprite-justifyfull");h.setAttribute("title",mxResources.get("justifyfull"));h=d.addItem("",null,mxUtils.bind(this,function(){document.execCommand("insertorderedlist",!1,null)}),null,"geIcon geSprite geSprite-orderedlist");h.setAttribute("title",mxResources.get("numberedList"));h=d.addItem("",null,mxUtils.bind(this,function(){document.execCommand("insertunorderedlist",!1,null)}),null,
+"geIcon geSprite geSprite-unorderedlist");h.setAttribute("title",mxResources.get("bulletedList"));h=d.addItem("",null,mxUtils.bind(this,function(){document.execCommand("outdent",!1,null)}),null,"geIcon geSprite geSprite-outdent");h.setAttribute("title",mxResources.get("decreaseIndent"));h=d.addItem("",null,mxUtils.bind(this,function(){document.execCommand("indent",!1,null)}),null,"geIcon geSprite geSprite-indent");h.setAttribute("title",mxResources.get("increaseIndent"))}));f.style.position="relative";
+f.style.whiteSpace="nowrap";f.style.overflow="hidden";f.style.width="30px";f.innerText="";e=document.createElement("div");e.className="geSprite geSprite-left";e.style.marginLeft="-2px";f.appendChild(e);this.appendDropDownImageHtml(f);EditorUi.compactUi&&(f.getElementsByTagName("img")[0].style.left="22px",f.getElementsByTagName("img")[0].style.top="5px");f=this.addMenuFunction("",mxResources.get("format"),!1,mxUtils.bind(this,function(d){h=d.addItem("",null,this.editorUi.actions.get("subscript").funct,
+null,"geIcon geSprite geSprite-subscript");h.setAttribute("title",mxResources.get("subscript")+" ("+Editor.ctrlKey+"+,)");h=d.addItem("",null,this.editorUi.actions.get("superscript").funct,null,"geIcon geSprite geSprite-superscript");h.setAttribute("title",mxResources.get("superscript")+" ("+Editor.ctrlKey+"+.)");h=d.addItem("",null,this.editorUi.actions.get("fontColor").funct,null,"geIcon geSprite geSprite-fontcolor");h.setAttribute("title",mxResources.get("fontColor"));h=d.addItem("",null,this.editorUi.actions.get("backgroundColor").funct,
+null,"geIcon geSprite geSprite-fontbackground");h.setAttribute("title",mxResources.get("backgroundColor"));h=d.addItem("",null,mxUtils.bind(this,function(){document.execCommand("removeformat",!1,null)}),null,"geIcon geSprite geSprite-removeformat");h.setAttribute("title",mxResources.get("removeFormat"))}));f.style.position="relative";f.style.whiteSpace="nowrap";f.style.overflow="hidden";f.style.width="30px";f.innerText="";e=document.createElement("div");e.className="geSprite geSprite-dots";e.style.marginLeft=
+"-2px";f.appendChild(e);this.appendDropDownImageHtml(f);EditorUi.compactUi&&(f.getElementsByTagName("img")[0].style.left="22px",f.getElementsByTagName("img")[0].style.top="5px");this.addSeparator();this.addButton("geIcon geSprite geSprite-code",mxResources.get("html"),function(){b.cellEditor.toggleViewMode();0<b.cellEditor.textarea.innerHTML.length&&("&nbsp;"!=b.cellEditor.textarea.innerHTML||!b.cellEditor.clearOnChange)&&window.setTimeout(function(){document.execCommand("selectAll",!1,null)})});
+this.addSeparator();f=this.addMenuFunction("",mxResources.get("insert"),!0,mxUtils.bind(this,function(d){d.addItem(mxResources.get("insertLink"),null,mxUtils.bind(this,function(){this.editorUi.actions.get("link").funct()}));d.addItem(mxResources.get("insertImage"),null,mxUtils.bind(this,function(){this.editorUi.actions.get("image").funct()}));d.addItem(mxResources.get("insertHorizontalRule"),null,mxUtils.bind(this,function(){document.execCommand("inserthorizontalrule",!1,null)}))}));f.style.whiteSpace=
+"nowrap";f.style.overflow="hidden";f.style.position="relative";f.style.width="16px";f.innerText="";e=document.createElement("div");e.className="geSprite geSprite-plus";e.style.marginLeft="-4px";e.style.marginTop="-3px";f.appendChild(e);this.appendDropDownImageHtml(f);EditorUi.compactUi&&(f.getElementsByTagName("img")[0].style.left="24px",f.getElementsByTagName("img")[0].style.top="5px",f.style.width="30px");this.addSeparator();var h=this.addMenuFunction("geIcon geSprite geSprite-table",mxResources.get("table"),
+!1,mxUtils.bind(this,function(d){var g=b.getSelectedElement(),n=b.getParentByNames(g,["TD","TH"],b.cellEditor.text2),q=b.getParentByName(g,"TR",b.cellEditor.text2);if(null==q)this.editorUi.menus.addInsertTableItem(d);else{var k=b.getParentByName(q,"TABLE",b.cellEditor.text2);g=d.addItem("",null,mxUtils.bind(this,function(){try{b.selectNode(b.insertColumn(k,null!=n?n.cellIndex:0))}catch(p){this.editorUi.handleError(p)}}),null,"geIcon geSprite geSprite-insertcolumnbefore");g.setAttribute("title",mxResources.get("insertColumnBefore"));
+g=d.addItem("",null,mxUtils.bind(this,function(){try{b.selectNode(b.insertColumn(k,null!=n?n.cellIndex+1:-1))}catch(p){this.editorUi.handleError(p)}}),null,"geIcon geSprite geSprite-insertcolumnafter");g.setAttribute("title",mxResources.get("insertColumnAfter"));g=d.addItem("Delete column",null,mxUtils.bind(this,function(){if(null!=n)try{b.deleteColumn(k,n.cellIndex)}catch(p){this.editorUi.handleError(p)}}),null,"geIcon geSprite geSprite-deletecolumn");g.setAttribute("title",mxResources.get("deleteColumn"));
+g=d.addItem("",null,mxUtils.bind(this,function(){try{b.selectNode(b.insertRow(k,q.sectionRowIndex))}catch(p){this.editorUi.handleError(p)}}),null,"geIcon geSprite geSprite-insertrowbefore");g.setAttribute("title",mxResources.get("insertRowBefore"));g=d.addItem("",null,mxUtils.bind(this,function(){try{b.selectNode(b.insertRow(k,q.sectionRowIndex+1))}catch(p){this.editorUi.handleError(p)}}),null,"geIcon geSprite geSprite-insertrowafter");g.setAttribute("title",mxResources.get("insertRowAfter"));g=d.addItem("",
+null,mxUtils.bind(this,function(){try{b.deleteRow(k,q.sectionRowIndex)}catch(p){this.editorUi.handleError(p)}}),null,"geIcon geSprite geSprite-deleterow");g.setAttribute("title",mxResources.get("deleteRow"));g=d.addItem("",null,mxUtils.bind(this,function(){var p=k.style.borderColor.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,function(w,z,C,F){return"#"+("0"+Number(z).toString(16)).substr(-2)+("0"+Number(C).toString(16)).substr(-2)+("0"+Number(F).toString(16)).substr(-2)});this.editorUi.pickColor(p,
+function(w){null==w||w==mxConstants.NONE?(k.removeAttribute("border"),k.style.border="",k.style.borderCollapse=""):(k.setAttribute("border","1"),k.style.border="1px solid "+w,k.style.borderCollapse="collapse")})}),null,"geIcon geSprite geSprite-strokecolor");g.setAttribute("title",mxResources.get("borderColor"));g=d.addItem("",null,mxUtils.bind(this,function(){var p=k.style.backgroundColor.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,function(w,z,C,F){return"#"+("0"+Number(z).toString(16)).substr(-2)+
+("0"+Number(C).toString(16)).substr(-2)+("0"+Number(F).toString(16)).substr(-2)});this.editorUi.pickColor(p,function(w){k.style.backgroundColor=null==w||w==mxConstants.NONE?"":w})}),null,"geIcon geSprite geSprite-fillcolor");g.setAttribute("title",mxResources.get("backgroundColor"));g=d.addItem("",null,mxUtils.bind(this,function(){var p=k.getAttribute("cellPadding")||0;p=new FilenameDialog(this.editorUi,p,mxResources.get("apply"),mxUtils.bind(this,function(w){null!=w&&0<w.length?k.setAttribute("cellPadding",
+w):k.removeAttribute("cellPadding")}),mxResources.get("spacing"));this.editorUi.showDialog(p.container,300,80,!0,!0);p.init()}),null,"geIcon geSprite geSprite-fit");g.setAttribute("title",mxResources.get("spacing"));g=d.addItem("",null,mxUtils.bind(this,function(){k.setAttribute("align","left")}),null,"geIcon geSprite geSprite-left");g.setAttribute("title",mxResources.get("left"));g=d.addItem("",null,mxUtils.bind(this,function(){k.setAttribute("align","center")}),null,"geIcon geSprite geSprite-center");
+g.setAttribute("title",mxResources.get("center"));g=d.addItem("",null,mxUtils.bind(this,function(){k.setAttribute("align","right")}),null,"geIcon geSprite geSprite-right");g.setAttribute("title",mxResources.get("right"))}}));h.style.position="relative";h.style.whiteSpace="nowrap";h.style.overflow="hidden";h.style.width="30px";h.innerText="";e=document.createElement("div");e.className="geSprite geSprite-table";e.style.marginLeft="-2px";h.appendChild(e);this.appendDropDownImageHtml(h);EditorUi.compactUi&&
+(h.getElementsByTagName("img")[0].style.left="22px",h.getElementsByTagName("img")[0].style.top="5px")};Toolbar.prototype.hideMenu=function(){this.editorUi.hideCurrentMenu()};Toolbar.prototype.addMenu=function(a,b,e,f,h,d,g){var n=this.editorUi.menus.get(f),q=this.addMenuFunction(a,b,e,function(){n.funct.apply(n,arguments)},h,d);g||"function"!==typeof q.setEnabled||n.addListener("stateChanged",function(){q.setEnabled(n.enabled)});return q};
+Toolbar.prototype.addMenuFunction=function(a,b,e,f,h,d){return this.addMenuFunctionInContainer(null!=h?h:this.container,a,b,e,f,d)};Toolbar.prototype.addMenuFunctionInContainer=function(a,b,e,f,h,d){b=f?this.createLabel(b):this.createButton(b);this.initElement(b,e);this.addMenuHandler(b,f,h,d);a.appendChild(b);return b};Toolbar.prototype.addSeparator=function(a){a=null!=a?a:this.container;var b=document.createElement("div");b.className="geSeparator";a.appendChild(b);return b};
+Toolbar.prototype.addItems=function(a,b,e){for(var f=[],h=0;h<a.length;h++){var d=a[h];"-"==d?f.push(this.addSeparator(b)):f.push(this.addItem("geSprite-"+d.toLowerCase(),d,b,e))}return f};Toolbar.prototype.addItem=function(a,b,e,f){var h=this.editorUi.actions.get(b),d=null;null!=h&&(b=h.label,null!=h.shortcut&&(b+=" ("+h.shortcut+")"),d=this.addButton(a,b,h.funct,e),f||"function"!==typeof d.setEnabled||(d.setEnabled(h.enabled),h.addListener("stateChanged",function(){d.setEnabled(h.enabled)})));return d};
+Toolbar.prototype.addButton=function(a,b,e,f){a=this.createButton(a);f=null!=f?f:this.container;this.initElement(a,b);this.addClickHandler(a,e);f.appendChild(a);return a};Toolbar.prototype.initElement=function(a,b){null!=b&&a.setAttribute("title",b);this.addEnabledState(a)};Toolbar.prototype.addEnabledState=function(a){var b=a.className;a.setEnabled=function(e){a.enabled=e;a.className=e?b:b+" mxDisabled"};a.setEnabled(!0)};
+Toolbar.prototype.addClickHandler=function(a,b){null!=b&&(mxEvent.addListener(a,"click",function(e){a.enabled&&b(e);mxEvent.consume(e)}),mxEvent.addListener(a,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(e){e.preventDefault()})))};Toolbar.prototype.createButton=function(a){var b=document.createElement("a");b.className="geButton";var e=document.createElement("div");null!=a&&(e.className="geSprite "+a);b.appendChild(e);return b};
Toolbar.prototype.createLabel=function(a,b){b=document.createElement("a");b.className="geLabel";mxUtils.write(b,a);return b};
-Toolbar.prototype.addMenuHandler=function(a,b,d,e){if(null!=d){var g=this.editorUi.editor.graph,f=null,h=!0;mxEvent.addListener(a,"click",mxUtils.bind(this,function(n){if(h&&(null==a.enabled||a.enabled)){g.popupMenuHandler.hideMenu();f=new mxPopupMenu(d);f.smartSeparators=!0;f.div.className+=" geToolbarMenu";f.showDisabled=e;f.labels=b;f.autoExpand=!0;!b&&f.div.scrollHeight>f.div.clientHeight&&(f.div.style.width="40px");f.hideMenu=mxUtils.bind(this,function(){mxPopupMenu.prototype.hideMenu.apply(f,
-arguments);this.editorUi.resetCurrentMenu();f.destroy()});var q=mxUtils.getOffset(a);f.popup(q.x,q.y+a.offsetHeight,null,n);this.editorUi.setCurrentMenu(f,a)}h=!0;mxEvent.consume(n)}));mxEvent.addListener(a,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(n){h=null==f||null==f.div||null==f.div.parentNode;n.preventDefault()}))}};Toolbar.prototype.destroy=function(){null!=this.gestureHandler&&(mxEvent.removeGestureListeners(document,this.gestureHandler),this.gestureHandler=null)};var OpenDialog=function(){var a=document.createElement("iframe");a.style.backgroundColor="transparent";a.allowTransparency="true";a.style.borderStyle="none";a.style.borderWidth="0px";a.style.overflow="hidden";a.style.maxWidth="100%";a.frameBorder="0";a.setAttribute("width",(Editor.useLocalStorage?640:320)+"px");a.setAttribute("height",(Editor.useLocalStorage?480:220)+"px");a.setAttribute("src",OPEN_FORM);this.container=a},ColorDialog=function(a,b,d,e,g,f){function h(H,Z,S){var X=H.toLowerCase();if(null!=
-g&&(""==H||"automatic"==X||X==z.toLowerCase()||X==mxResources.get("default").toLowerCase())||X==mxResources.get("automatic").toLowerCase())H="default";X==mxResources.get("none").toLowerCase()&&(H="none");if(null!=g&&"default"==H)Z?H=f:null!=S&&(H=S);else if("none"!=H&&"#"!=H.charAt(0))try{var Y=document.createElement("canvas").getContext("2d");Y.fillStyle="#"+H;Y.fillStyle!="#"+H.toLowerCase()&&(Y.fillStyle=H,H=Y.fillStyle.substring(1).toUpperCase())}catch(M){}return H}function n(){var H=h(p.value,
-!1);/(^#?[a-zA-Z0-9]*$)/.test(H)?("default"!=H&&("none"!=H&&"#"!=H.charAt(0)&&(H="#"+H),ColorDialog.addRecentColor("none"!=H?H.substring(1):H,12)),w(H),a.hideDialog()):a.handleError({message:mxResources.get("invalidInput")})}function q(){mxClient.IS_TOUCH||(p.focus(),mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?p.select():document.execCommand("selectAll",!1,null))}function l(){var H=D(0==ColorDialog.recentColors.length?["FFFFFF"]:ColorDialog.recentColors,11,"FFFFFF",!0);H.style.marginBottom=
-"8px";return H}this.editorUi=a;var p=document.createElement("input");p.style.marginBottom="10px";p.style.marginLeft="8px";mxClient.IS_IE&&(p.style.marginTop="10px",document.body.appendChild(p));var w=null!=d?d:this.createApplyFunction();null==f&&(f=Editor.isDarkMode()&&"default"==g?"#ffffff":"#000000");var z=f.substring(1).toUpperCase()+" ("+mxResources.get("automatic")+")";this.init=function(){q()};var C=new mxJSColor.color(p);C.pickerOnfocus=!1;C.showPicker();d=document.createElement("div");mxJSColor.picker.box.style.position=
-"relative";mxJSColor.picker.box.style.width="230px";mxJSColor.picker.box.style.height="100px";mxJSColor.picker.box.style.paddingBottom="10px";d.appendChild(mxJSColor.picker.box);var F=document.createElement("center"),D=mxUtils.bind(this,function(H,Z,S,X){Z=null!=Z?Z:12;var Y=document.createElement("table");Y.style.borderCollapse="collapse";Y.setAttribute("cellspacing","0");Y.style.marginBottom="20px";Y.style.cellSpacing="0px";Y.style.marginLeft="1px";var M=document.createElement("tbody");Y.appendChild(M);
-for(var U=H.length/Z,ba=0;ba<U;ba++){for(var ja=document.createElement("tr"),pa=0;pa<Z;pa++)mxUtils.bind(this,function(P){var W=document.createElement("td");W.style.border="0px solid black";W.style.padding="0px";W.style.width="16px";W.style.height="16px";null==P&&(P=S);if(null!=P){W.style.borderWidth="1px";"none"==P?W.style.background="url('"+Dialog.prototype.noColorImage+"')":W.style.backgroundColor="#"+P;var V=this.colorNames[String(P).toUpperCase()];null!=V&&W.setAttribute("title",V)}ja.appendChild(W);
-null!=P&&(W.style.cursor="pointer",mxEvent.addListener(W,"click",function(){"none"==P?(C.fromString("ffffff"),p.value="none"):C.fromString(P)}),mxEvent.addListener(W,"dblclick",n))})(H[ba*Z+pa]);M.appendChild(ja)}X&&(H=document.createElement("td"),H.setAttribute("title",mxResources.get("reset")),H.className="geAdaptiveAsset",H.style.border="1px solid black",H.style.padding="0px",H.style.width="16px",H.style.height="16px",H.style.backgroundImage="url('"+Editor.crossImage+"')",H.style.backgroundPosition=
-"center center",H.style.backgroundSize="14px 14px",H.style.backgroundRepeat="no-repeat",H.style.cursor="pointer",ja.appendChild(H),mxEvent.addListener(H,"click",function(){ColorDialog.resetRecentColors();Y.parentNode.replaceChild(l(),Y)}));F.appendChild(Y);return Y}),G=216;d.appendChild(p);if(null!=g){G-=34;var K=mxUtils.button("",function(){C.fromString(f);p.value=z});K.setAttribute("title",mxResources.get("reset"));K.style.cursor="pointer";K.style.position="relative";K.style.marginLeft="4px";K.innerText=
-"";var I=document.createElement("div");I.style.background="url('"+Dialog.prototype.defaultColorImage+"')";I.style.backgroundPosition="center center";I.style.backgroundRepeat="no-repeat";I.style.display="inline-block";I.style.verticalAlign="middle";I.style.marginTop="-2px";I.style.width="12px";I.style.height="12px";K.appendChild(I);d.appendChild(K);mxEvent.addListener(K,"dblclick",n)}if(!mxClient.IS_IE&&!mxClient.IS_IE11){G-=34;var O=document.createElement("input");O.setAttribute("type","color");O.style.position=
-"relative";O.style.visibility="hidden";O.style.top="10px";O.style.width="0px";O.style.height="0px";O.style.border="none";d.style.whiteSpace="nowrap";d.appendChild(O);K=mxUtils.button("",function(){document.activeElement==O?p.focus():(O.value="#"+p.value,O.click())});K.style.cursor="pointer";I=document.createElement("img");I.src=Editor.colorDropperImage;I.className="geAdaptiveAsset";I.style.position="relative";I.style.verticalAlign="middle";I.style.marginTop="-2px";I.style.width="auto";I.style.height=
-"14px";K.appendChild(I);d.appendChild(K);mxEvent.addListener(O,"change",function(){C.fromString(h(O.value,!0))})}mxEvent.addListener(p,"change",function(){var H=p.value;C.fromString(h(H,!0));p.value=h(H,!1,z);q()});p.style.width=G+"px";mxUtils.br(d);l();G=D(this.presetColors);G.style.marginBottom="8px";G=D(this.defaultColors);G.style.marginBottom="16px";d.appendChild(F);G=document.createElement("div");G.style.textAlign="right";G.style.whiteSpace="nowrap";K=mxUtils.button(mxResources.get("cancel"),
-function(){a.hideDialog();null!=e&&e()});K.className="geBtn";a.editor.cancelFirst&&G.appendChild(K);I=mxUtils.button(mxResources.get("apply"),n);I.className="geBtn gePrimaryBtn";G.appendChild(I);a.editor.cancelFirst||G.appendChild(K);null!=b&&("default"==b?(C.fromString(f),p.value=z):"none"==b?(C.fromString("ffffff"),p.value="none"):C.fromString(b));d.appendChild(G);this.picker=C;this.colorInput=p;mxEvent.addListener(p,"keypress",function(H){13==H.keyCode&&n()});mxEvent.addListener(d,"keydown",function(H){27==
-H.keyCode&&(a.hideDialog(),null!=e&&e(),mxEvent.consume(H))});this.container=d};ColorDialog.prototype.presetColors="E6D0DE CDA2BE B5739D E1D5E7 C3ABD0 A680B8 D4E1F5 A9C4EB 7EA6E0 D5E8D4 9AC7BF 67AB9F D5E8D4 B9E0A5 97D077 FFF2CC FFE599 FFD966 FFF4C3 FFCE9F FFB570 F8CECC F19C99 EA6B66".split(" ");ColorDialog.prototype.colorNames={};ColorDialog.prototype.defaultColors="none FFFFFF E6E6E6 CCCCCC B3B3B3 999999 808080 666666 4D4D4D 333333 1A1A1A 000000 FFCCCC FFE6CC FFFFCC E6FFCC CCFFCC CCFFE6 CCFFFF CCE5FF CCCCFF E5CCFF FFCCFF FFCCE6 FF9999 FFCC99 FFFF99 CCFF99 99FF99 99FFCC 99FFFF 99CCFF 9999FF CC99FF FF99FF FF99CC FF6666 FFB366 FFFF66 B3FF66 66FF66 66FFB3 66FFFF 66B2FF 6666FF B266FF FF66FF FF66B3 FF3333 FF9933 FFFF33 99FF33 33FF33 33FF99 33FFFF 3399FF 3333FF 9933FF FF33FF FF3399 FF0000 FF8000 FFFF00 80FF00 00FF00 00FF80 00FFFF 007FFF 0000FF 7F00FF FF00FF FF0080 CC0000 CC6600 CCCC00 66CC00 00CC00 00CC66 00CCCC 0066CC 0000CC 6600CC CC00CC CC0066 990000 994C00 999900 4D9900 009900 00994D 009999 004C99 000099 4C0099 990099 99004D 660000 663300 666600 336600 006600 006633 006666 003366 000066 330066 660066 660033 330000 331A00 333300 1A3300 003300 00331A 003333 001933 000033 190033 330033 33001A".split(" ");
-ColorDialog.prototype.createApplyFunction=function(){return ColorDialog.createApplyFunction(this.editorUi,this.currentColorKey)};ColorDialog.createApplyFunction=function(a,b){return function(d){var e=a.editor.graph;e.getModel().beginUpdate();try{e.setCellStyles(b,d),a.fireEvent(new mxEventObject("styleChanged","keys",[b],"values",[d],"cells",e.getSelectionCells()))}finally{e.getModel().endUpdate()}}};ColorDialog.recentColors=[];
+Toolbar.prototype.addMenuHandler=function(a,b,e,f){if(null!=e){var h=this.editorUi.editor.graph,d=null,g=!0;mxEvent.addListener(a,"click",mxUtils.bind(this,function(n){if(g&&(null==a.enabled||a.enabled)){h.popupMenuHandler.hideMenu();d=new mxPopupMenu(e);d.smartSeparators=!0;d.div.className+=" geToolbarMenu";d.showDisabled=f;d.labels=b;d.autoExpand=!0;!b&&d.div.scrollHeight>d.div.clientHeight&&(d.div.style.width="40px");d.hideMenu=mxUtils.bind(this,function(){mxPopupMenu.prototype.hideMenu.apply(d,
+arguments);this.editorUi.resetCurrentMenu();d.destroy()});var q=mxUtils.getOffset(a);d.popup(q.x,q.y+a.offsetHeight,null,n);this.editorUi.setCurrentMenu(d,a)}g=!0;mxEvent.consume(n)}));mxEvent.addListener(a,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(n){g=null==d||null==d.div||null==d.div.parentNode;n.preventDefault()}))}};Toolbar.prototype.destroy=function(){null!=this.gestureHandler&&(mxEvent.removeGestureListeners(document,this.gestureHandler),this.gestureHandler=null)};var OpenDialog=function(){var a=document.createElement("iframe");a.style.backgroundColor="transparent";a.allowTransparency="true";a.style.borderStyle="none";a.style.borderWidth="0px";a.style.overflow="hidden";a.style.maxWidth="100%";a.frameBorder="0";a.setAttribute("width",(Editor.useLocalStorage?640:320)+"px");a.setAttribute("height",(Editor.useLocalStorage?480:220)+"px");a.setAttribute("src",OPEN_FORM);this.container=a},ColorDialog=function(a,b,e,f,h,d){function g(I,Z,S){var Y=I.toLowerCase();if(null!=
+h&&(""==I||"automatic"==Y||Y==z.toLowerCase()||Y==mxResources.get("default").toLowerCase())||Y==mxResources.get("automatic").toLowerCase())I="default";Y==mxResources.get("none").toLowerCase()&&(I="none");if(null!=h&&"default"==I)Z?I=d:null!=S&&(I=S);else if("none"!=I&&"#"!=I.charAt(0))try{var V=document.createElement("canvas").getContext("2d");V.fillStyle="#"+I;V.fillStyle!="#"+I.toLowerCase()&&(V.fillStyle=I,I=V.fillStyle.substring(1).toUpperCase())}catch(L){}return I}function n(){var I=g(p.value,
+!1);/(^#?[a-zA-Z0-9]*$)/.test(I)?("default"!=I&&("none"!=I&&"#"!=I.charAt(0)&&(I="#"+I),ColorDialog.addRecentColor("none"!=I?I.substring(1):I,12)),w(I),a.hideDialog()):a.handleError({message:mxResources.get("invalidInput")})}function q(){mxClient.IS_TOUCH||(p.focus(),mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?p.select():document.execCommand("selectAll",!1,null))}function k(){var I=D(0==ColorDialog.recentColors.length?["FFFFFF"]:ColorDialog.recentColors,11,"FFFFFF",!0);I.style.marginBottom=
+"8px";return I}this.editorUi=a;var p=document.createElement("input");p.style.marginBottom="10px";p.style.marginLeft="8px";mxClient.IS_IE&&(p.style.marginTop="10px",document.body.appendChild(p));var w=null!=e?e:this.createApplyFunction();null==d&&(d=Editor.isDarkMode()&&"default"==h?"#ffffff":"#000000");var z=d.substring(1).toUpperCase()+" ("+mxResources.get("automatic")+")";this.init=function(){q()};var C=new mxJSColor.color(p);C.pickerOnfocus=!1;C.showPicker();e=document.createElement("div");mxJSColor.picker.box.style.position=
+"relative";mxJSColor.picker.box.style.width="230px";mxJSColor.picker.box.style.height="100px";mxJSColor.picker.box.style.paddingBottom="10px";e.appendChild(mxJSColor.picker.box);var F=document.createElement("center"),D=mxUtils.bind(this,function(I,Z,S,Y){Z=null!=Z?Z:12;var V=document.createElement("table");V.style.borderCollapse="collapse";V.setAttribute("cellspacing","0");V.style.marginBottom="20px";V.style.cellSpacing="0px";V.style.marginLeft="1px";var L=document.createElement("tbody");V.appendChild(L);
+for(var U=I.length/Z,ba=0;ba<U;ba++){for(var ja=document.createElement("tr"),sa=0;sa<Z;sa++)mxUtils.bind(this,function(O){var T=document.createElement("td");T.style.border="0px solid black";T.style.padding="0px";T.style.width="16px";T.style.height="16px";null==O&&(O=S);if(null!=O){T.style.borderWidth="1px";"none"==O?T.style.background="url('"+Dialog.prototype.noColorImage+"')":T.style.backgroundColor="#"+O;var X=this.colorNames[String(O).toUpperCase()];null!=X&&T.setAttribute("title",X)}ja.appendChild(T);
+null!=O&&(T.style.cursor="pointer",mxEvent.addListener(T,"click",function(){"none"==O?(C.fromString("ffffff"),p.value="none"):C.fromString(O)}),mxEvent.addListener(T,"dblclick",n))})(I[ba*Z+sa]);L.appendChild(ja)}Y&&(I=document.createElement("td"),I.setAttribute("title",mxResources.get("reset")),I.className="geAdaptiveAsset",I.style.border="1px solid black",I.style.padding="0px",I.style.width="16px",I.style.height="16px",I.style.backgroundImage="url('"+Editor.crossImage+"')",I.style.backgroundPosition=
+"center center",I.style.backgroundSize="14px 14px",I.style.backgroundRepeat="no-repeat",I.style.cursor="pointer",ja.appendChild(I),mxEvent.addListener(I,"click",function(){ColorDialog.resetRecentColors();V.parentNode.replaceChild(k(),V)}));F.appendChild(V);return V}),H=216;e.appendChild(p);if(null!=h){H-=34;var K=mxUtils.button("",function(){C.fromString(d);p.value=z});K.setAttribute("title",mxResources.get("reset"));K.style.cursor="pointer";K.style.position="relative";K.style.marginLeft="4px";K.innerText=
+"";var G=document.createElement("div");G.style.background="url('"+Dialog.prototype.defaultColorImage+"')";G.style.backgroundPosition="center center";G.style.backgroundRepeat="no-repeat";G.style.display="inline-block";G.style.verticalAlign="middle";G.style.marginTop="-2px";G.style.width="12px";G.style.height="12px";K.appendChild(G);e.appendChild(K);mxEvent.addListener(K,"dblclick",n)}if(!mxClient.IS_IE&&!mxClient.IS_IE11){H-=34;var P=document.createElement("input");P.setAttribute("type","color");P.style.position=
+"relative";P.style.visibility="hidden";P.style.top="10px";P.style.width="0px";P.style.height="0px";P.style.border="none";e.style.whiteSpace="nowrap";e.appendChild(P);K=mxUtils.button("",function(){document.activeElement==P?p.focus():(P.value="#"+p.value,P.click())});K.style.cursor="pointer";G=document.createElement("img");G.src=Editor.colorDropperImage;G.className="geAdaptiveAsset";G.style.position="relative";G.style.verticalAlign="middle";G.style.marginTop="-2px";G.style.width="auto";G.style.height=
+"14px";K.appendChild(G);e.appendChild(K);mxEvent.addListener(P,"change",function(){C.fromString(g(P.value,!0))})}mxEvent.addListener(p,"change",function(){var I=p.value;C.fromString(g(I,!0));p.value=g(I,!1,z);q()});p.style.width=H+"px";mxUtils.br(e);k();H=D(this.presetColors);H.style.marginBottom="8px";H=D(this.defaultColors);H.style.marginBottom="16px";e.appendChild(F);H=document.createElement("div");H.style.textAlign="right";H.style.whiteSpace="nowrap";K=mxUtils.button(mxResources.get("cancel"),
+function(){a.hideDialog();null!=f&&f()});K.className="geBtn";a.editor.cancelFirst&&H.appendChild(K);G=mxUtils.button(mxResources.get("apply"),n);G.className="geBtn gePrimaryBtn";H.appendChild(G);a.editor.cancelFirst||H.appendChild(K);null!=b&&("default"==b?(C.fromString(d),p.value=z):"none"==b?(C.fromString("ffffff"),p.value="none"):C.fromString(b));e.appendChild(H);this.picker=C;this.colorInput=p;mxEvent.addListener(p,"keypress",function(I){13==I.keyCode&&n()});mxEvent.addListener(e,"keydown",function(I){27==
+I.keyCode&&(a.hideDialog(),null!=f&&f(),mxEvent.consume(I))});this.container=e};ColorDialog.prototype.presetColors="E6D0DE CDA2BE B5739D E1D5E7 C3ABD0 A680B8 D4E1F5 A9C4EB 7EA6E0 D5E8D4 9AC7BF 67AB9F D5E8D4 B9E0A5 97D077 FFF2CC FFE599 FFD966 FFF4C3 FFCE9F FFB570 F8CECC F19C99 EA6B66".split(" ");ColorDialog.prototype.colorNames={};ColorDialog.prototype.defaultColors="none FFFFFF E6E6E6 CCCCCC B3B3B3 999999 808080 666666 4D4D4D 333333 1A1A1A 000000 FFCCCC FFE6CC FFFFCC E6FFCC CCFFCC CCFFE6 CCFFFF CCE5FF CCCCFF E5CCFF FFCCFF FFCCE6 FF9999 FFCC99 FFFF99 CCFF99 99FF99 99FFCC 99FFFF 99CCFF 9999FF CC99FF FF99FF FF99CC FF6666 FFB366 FFFF66 B3FF66 66FF66 66FFB3 66FFFF 66B2FF 6666FF B266FF FF66FF FF66B3 FF3333 FF9933 FFFF33 99FF33 33FF33 33FF99 33FFFF 3399FF 3333FF 9933FF FF33FF FF3399 FF0000 FF8000 FFFF00 80FF00 00FF00 00FF80 00FFFF 007FFF 0000FF 7F00FF FF00FF FF0080 CC0000 CC6600 CCCC00 66CC00 00CC00 00CC66 00CCCC 0066CC 0000CC 6600CC CC00CC CC0066 990000 994C00 999900 4D9900 009900 00994D 009999 004C99 000099 4C0099 990099 99004D 660000 663300 666600 336600 006600 006633 006666 003366 000066 330066 660066 660033 330000 331A00 333300 1A3300 003300 00331A 003333 001933 000033 190033 330033 33001A".split(" ");
+ColorDialog.prototype.createApplyFunction=function(){return ColorDialog.createApplyFunction(this.editorUi,this.currentColorKey)};ColorDialog.createApplyFunction=function(a,b){return function(e){var f=a.editor.graph;f.getModel().beginUpdate();try{f.setCellStyles(b,e),a.fireEvent(new mxEventObject("styleChanged","keys",[b],"values",[e],"cells",f.getSelectionCells()))}finally{f.getModel().endUpdate()}}};ColorDialog.recentColors=[];
ColorDialog.addRecentColor=function(a,b){null!=a&&(mxUtils.remove(a,ColorDialog.recentColors),ColorDialog.recentColors.splice(0,0,a),ColorDialog.recentColors.length>=b&&ColorDialog.recentColors.pop())};ColorDialog.resetRecentColors=function(){ColorDialog.recentColors=[]};
-var AboutDialog=function(a){var b=document.createElement("div");b.setAttribute("align","center");var d=document.createElement("h3");mxUtils.write(d,mxResources.get("about")+" GraphEditor");b.appendChild(d);d=document.createElement("img");d.style.border="0px";d.setAttribute("width","176");d.setAttribute("width","151");d.setAttribute("src",IMAGE_PATH+"/logo.png");b.appendChild(d);mxUtils.br(b);mxUtils.write(b,"Powered by mxGraph "+mxClient.VERSION);mxUtils.br(b);d=document.createElement("a");d.setAttribute("href",
-"http://www.jgraph.com/");d.setAttribute("target","_blank");mxUtils.write(d,"www.jgraph.com");b.appendChild(d);mxUtils.br(b);mxUtils.br(b);d=mxUtils.button(mxResources.get("close"),function(){a.hideDialog()});d.className="geBtn gePrimaryBtn";b.appendChild(d);this.container=b},TextareaDialog=function(a,b,d,e,g,f,h,n,q,l,p,w,z,C,F){l=null!=l?l:!1;h=document.createElement("div");h.style.position="absolute";h.style.top="20px";h.style.bottom="20px";h.style.left="20px";h.style.right="20px";n=document.createElement("div");
-n.style.position="absolute";n.style.left="0px";n.style.right="0px";var D=n.cloneNode(!1),G=n.cloneNode(!1);n.style.top="0px";n.style.height="20px";D.style.top="20px";D.style.bottom="64px";G.style.bottom="0px";G.style.height="60px";G.style.textAlign="right";G.style.paddingTop="14px";G.style.boxSizing="border-box";mxUtils.write(n,b);h.appendChild(n);h.appendChild(D);h.appendChild(G);null!=F&&n.appendChild(F);var K=document.createElement("textarea");p&&K.setAttribute("wrap","off");K.setAttribute("spellcheck",
-"false");K.setAttribute("autocorrect","off");K.setAttribute("autocomplete","off");K.setAttribute("autocapitalize","off");mxUtils.write(K,d||"");K.style.resize="none";K.style.outline="none";K.style.position="absolute";K.style.boxSizing="border-box";K.style.top="0px";K.style.left="0px";K.style.height="100%";K.style.width="100%";this.textarea=K;this.init=function(){K.focus();K.scrollTop=0};D.appendChild(K);null==z||a.isOffline()||G.appendChild(a.createHelpIcon(z));if(null!=C)for(b=0;b<C.length;b++)(function(O,
-H,Z){O=mxUtils.button(O,function(S){H(S,K)});null!=Z&&O.setAttribute("title",Z);O.className="geBtn";G.appendChild(O)})(C[b][0],C[b][1],C[b][2]);f=mxUtils.button(f||mxResources.get("cancel"),function(){a.hideDialog();null!=g&&g()});f.setAttribute("title","Escape");f.className="geBtn";a.editor.cancelFirst&&G.appendChild(f);null!=q&&q(G,K);if(null!=e){var I=mxUtils.button(w||mxResources.get("apply"),function(){l||a.hideDialog();e(K.value)});I.setAttribute("title","Ctrl+Enter");I.className="geBtn gePrimaryBtn";
-G.appendChild(I);mxEvent.addListener(K,"keypress",function(O){13==O.keyCode&&mxEvent.isControlDown(O)&&I.click()})}a.editor.cancelFirst||G.appendChild(f);this.container=h},EditDiagramDialog=function(a){var b=document.createElement("div");b.style.textAlign="right";var d=document.createElement("textarea");d.setAttribute("wrap","off");d.setAttribute("spellcheck","false");d.setAttribute("autocorrect","off");d.setAttribute("autocomplete","off");d.setAttribute("autocapitalize","off");d.style.overflow="auto";
-d.style.resize="none";d.style.width="600px";d.style.height="360px";d.style.marginBottom="16px";var e=a.getDiagramSnapshot();d.value=mxUtils.getPrettyXml(e.node);b.appendChild(d);this.init=function(){d.focus()};Graph.fileSupport&&(d.addEventListener("dragover",function(n){n.stopPropagation();n.preventDefault()},!1),d.addEventListener("drop",function(n){n.stopPropagation();n.preventDefault();if(0<n.dataTransfer.files.length){n=n.dataTransfer.files[0];var q=new FileReader;q.onload=function(l){d.value=
-l.target.result};q.readAsText(n)}else d.value=a.extractGraphModelFromEvent(n)},!1));var g=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});g.className="geBtn";a.editor.cancelFirst&&b.appendChild(g);var f=document.createElement("select");f.style.textOverflow="ellipsis";f.style.width="196px";f.className="geBtn";if(a.editor.graph.isEnabled()){var h=document.createElement("option");h.setAttribute("value","apply");mxUtils.write(h,mxResources.get("apply",null,"Update Existing Drawing"));
-f.appendChild(h)}a.editor.graph.isEnabled()&&(h=document.createElement("option"),h.setAttribute("value","insert"),mxUtils.write(h,mxResources.get("insert")),f.appendChild(h));h=document.createElement("option");h.setAttribute("value","new");mxUtils.write(h,mxResources.get("openInNewWindow"));EditDiagramDialog.showNewWindowOption&&f.appendChild(h);b.appendChild(f);h=mxUtils.button(mxResources.get("ok"),function(){var n=Graph.zapGremlins(mxUtils.trim(d.value)),q=null;if("new"==f.value)a.hideDialog(),
-a.editor.editAsNew(n);else if("apply"==f.value)try{var l=mxUtils.parseXml(n).documentElement;a.updateDiagramData(e,l);a.hideDialog()}catch(C){q=C}else if("insert"==f.value){a.editor.graph.model.beginUpdate();try{var p=mxUtils.parseXml(n),w=new mxGraphModel;(new mxCodec(p)).decode(p.documentElement,w);var z=w.getChildren(w.getChildAt(w.getRoot(),0));a.editor.graph.setSelectionCells(a.editor.graph.importCells(z));a.hideDialog()}catch(C){q=C}finally{a.editor.graph.model.endUpdate()}}null!=q&&a.handleError(q)});
-h.className="geBtn gePrimaryBtn";b.appendChild(h);a.editor.cancelFirst||b.appendChild(g);this.container=b};EditDiagramDialog.showNewWindowOption=!0;
-var ExportDialog=function(a){function b(){var X=p.value,Y=X.lastIndexOf(".");p.value=0<Y?X.substring(0,Y+1)+w.value:X+"."+w.value;"xml"===w.value?(z.setAttribute("disabled","true"),C.setAttribute("disabled","true"),F.setAttribute("disabled","true"),H.setAttribute("disabled","true")):(z.removeAttribute("disabled"),C.removeAttribute("disabled"),F.removeAttribute("disabled"),H.removeAttribute("disabled"));"png"===w.value||"svg"===w.value||"pdf"===w.value?I.removeAttribute("disabled"):I.setAttribute("disabled",
-"disabled");"png"===w.value||"jpg"===w.value||"pdf"===w.value?O.removeAttribute("disabled"):O.setAttribute("disabled","disabled");"png"===w.value?(D.removeAttribute("disabled"),G.removeAttribute("disabled")):(D.setAttribute("disabled","disabled"),G.setAttribute("disabled","disabled"))}function d(){C.style.backgroundColor=C.value*F.value>MAX_AREA||0>=C.value?"red":"";F.style.backgroundColor=C.value*F.value>MAX_AREA||0>=F.value?"red":""}var e=a.editor.graph,g=e.getGraphBounds(),f=e.view.scale,h=Math.ceil(g.width/
-f),n=Math.ceil(g.height/f);f=document.createElement("table");var q=document.createElement("tbody");f.setAttribute("cellpadding",mxClient.IS_SF?"0":"2");g=document.createElement("tr");var l=document.createElement("td");l.style.fontSize="10pt";l.style.width="100px";mxUtils.write(l,mxResources.get("filename")+":");g.appendChild(l);var p=document.createElement("input");p.setAttribute("value",a.editor.getOrCreateFilename());p.style.width="180px";l=document.createElement("td");l.appendChild(p);g.appendChild(l);
-q.appendChild(g);g=document.createElement("tr");l=document.createElement("td");l.style.fontSize="10pt";mxUtils.write(l,mxResources.get("format")+":");g.appendChild(l);var w=document.createElement("select");w.style.width="180px";l=document.createElement("option");l.setAttribute("value","png");mxUtils.write(l,mxResources.get("formatPng"));w.appendChild(l);l=document.createElement("option");ExportDialog.showGifOption&&(l.setAttribute("value","gif"),mxUtils.write(l,mxResources.get("formatGif")),w.appendChild(l));
-l=document.createElement("option");l.setAttribute("value","jpg");mxUtils.write(l,mxResources.get("formatJpg"));w.appendChild(l);l=document.createElement("option");l.setAttribute("value","svg");mxUtils.write(l,mxResources.get("formatSvg"));w.appendChild(l);ExportDialog.showXmlOption&&(l=document.createElement("option"),l.setAttribute("value","xml"),mxUtils.write(l,mxResources.get("formatXml")),w.appendChild(l));l=document.createElement("td");l.appendChild(w);g.appendChild(l);q.appendChild(g);g=document.createElement("tr");
-l=document.createElement("td");l.style.fontSize="10pt";mxUtils.write(l,mxResources.get("zoom")+" (%):");g.appendChild(l);var z=document.createElement("input");z.setAttribute("type","number");z.setAttribute("value","100");z.style.width="180px";l=document.createElement("td");l.appendChild(z);g.appendChild(l);q.appendChild(g);g=document.createElement("tr");l=document.createElement("td");l.style.fontSize="10pt";mxUtils.write(l,mxResources.get("width")+":");g.appendChild(l);var C=document.createElement("input");
-C.setAttribute("value",h);C.style.width="180px";l=document.createElement("td");l.appendChild(C);g.appendChild(l);q.appendChild(g);g=document.createElement("tr");l=document.createElement("td");l.style.fontSize="10pt";mxUtils.write(l,mxResources.get("height")+":");g.appendChild(l);var F=document.createElement("input");F.setAttribute("value",n);F.style.width="180px";l=document.createElement("td");l.appendChild(F);g.appendChild(l);q.appendChild(g);g=document.createElement("tr");l=document.createElement("td");
-l.style.fontSize="10pt";mxUtils.write(l,mxResources.get("dpi")+":");g.appendChild(l);var D=document.createElement("select");D.style.width="180px";l=document.createElement("option");l.setAttribute("value","100");mxUtils.write(l,"100dpi");D.appendChild(l);l=document.createElement("option");l.setAttribute("value","200");mxUtils.write(l,"200dpi");D.appendChild(l);l=document.createElement("option");l.setAttribute("value","300");mxUtils.write(l,"300dpi");D.appendChild(l);l=document.createElement("option");
-l.setAttribute("value","400");mxUtils.write(l,"400dpi");D.appendChild(l);l=document.createElement("option");l.setAttribute("value","custom");mxUtils.write(l,mxResources.get("custom"));D.appendChild(l);var G=document.createElement("input");G.style.width="180px";G.style.display="none";G.setAttribute("value","100");G.setAttribute("type","number");G.setAttribute("min","50");G.setAttribute("step","50");var K=!1;mxEvent.addListener(D,"change",function(){"custom"==this.value?(this.style.display="none",G.style.display=
-"",G.focus()):(G.value=this.value,K||(z.value=this.value))});mxEvent.addListener(G,"change",function(){var X=parseInt(G.value);isNaN(X)||0>=X?G.style.backgroundColor="red":(G.style.backgroundColor="",K||(z.value=X))});l=document.createElement("td");l.appendChild(D);l.appendChild(G);g.appendChild(l);q.appendChild(g);g=document.createElement("tr");l=document.createElement("td");l.style.fontSize="10pt";mxUtils.write(l,mxResources.get("background")+":");g.appendChild(l);var I=document.createElement("input");
-I.setAttribute("type","checkbox");I.checked=null==e.background||e.background==mxConstants.NONE;l=document.createElement("td");l.appendChild(I);mxUtils.write(l,mxResources.get("transparent"));g.appendChild(l);q.appendChild(g);g=document.createElement("tr");l=document.createElement("td");l.style.fontSize="10pt";mxUtils.write(l,mxResources.get("grid")+":");g.appendChild(l);var O=document.createElement("input");O.setAttribute("type","checkbox");O.checked=!1;l=document.createElement("td");l.appendChild(O);
-g.appendChild(l);q.appendChild(g);g=document.createElement("tr");l=document.createElement("td");l.style.fontSize="10pt";mxUtils.write(l,mxResources.get("borderWidth")+":");g.appendChild(l);var H=document.createElement("input");H.setAttribute("type","number");H.setAttribute("value",ExportDialog.lastBorderValue);H.style.width="180px";l=document.createElement("td");l.appendChild(H);g.appendChild(l);q.appendChild(g);f.appendChild(q);mxEvent.addListener(w,"change",b);b();mxEvent.addListener(z,"change",
-function(){K=!0;var X=Math.max(0,parseFloat(z.value)||100)/100;z.value=parseFloat((100*X).toFixed(2));0<h?(C.value=Math.floor(h*X),F.value=Math.floor(n*X)):(z.value="100",C.value=h,F.value=n);d()});mxEvent.addListener(C,"change",function(){var X=parseInt(C.value)/h;0<X?(z.value=parseFloat((100*X).toFixed(2)),F.value=Math.floor(n*X)):(z.value="100",C.value=h,F.value=n);d()});mxEvent.addListener(F,"change",function(){var X=parseInt(F.value)/n;0<X?(z.value=parseFloat((100*X).toFixed(2)),C.value=Math.floor(h*
-X)):(z.value="100",C.value=h,F.value=n);d()});g=document.createElement("tr");l=document.createElement("td");l.setAttribute("align","right");l.style.paddingTop="22px";l.colSpan=2;var Z=mxUtils.button(mxResources.get("export"),mxUtils.bind(this,function(){if(0>=parseInt(z.value))mxUtils.alert(mxResources.get("drawingEmpty"));else{var X=p.value,Y=w.value,M=Math.max(0,parseFloat(z.value)||100)/100,U=Math.max(0,parseInt(H.value)),ba=e.background,ja=Math.max(1,parseInt(G.value));if(("svg"==Y||"png"==Y||
-"pdf"==Y)&&I.checked)ba=null;else if(null==ba||ba==mxConstants.NONE)ba="#ffffff";ExportDialog.lastBorderValue=U;ExportDialog.exportFile(a,X,Y,ba,M,U,ja,O.checked)}}));Z.className="geBtn gePrimaryBtn";var S=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});S.className="geBtn";a.editor.cancelFirst?(l.appendChild(S),l.appendChild(Z)):(l.appendChild(Z),l.appendChild(S));g.appendChild(l);q.appendChild(g);f.appendChild(q);this.container=f};ExportDialog.lastBorderValue=0;
+var AboutDialog=function(a){var b=document.createElement("div");b.setAttribute("align","center");var e=document.createElement("h3");mxUtils.write(e,mxResources.get("about")+" GraphEditor");b.appendChild(e);e=document.createElement("img");e.style.border="0px";e.setAttribute("width","176");e.setAttribute("width","151");e.setAttribute("src",IMAGE_PATH+"/logo.png");b.appendChild(e);mxUtils.br(b);mxUtils.write(b,"Powered by mxGraph "+mxClient.VERSION);mxUtils.br(b);e=document.createElement("a");e.setAttribute("href",
+"http://www.jgraph.com/");e.setAttribute("target","_blank");mxUtils.write(e,"www.jgraph.com");b.appendChild(e);mxUtils.br(b);mxUtils.br(b);e=mxUtils.button(mxResources.get("close"),function(){a.hideDialog()});e.className="geBtn gePrimaryBtn";b.appendChild(e);this.container=b},TextareaDialog=function(a,b,e,f,h,d,g,n,q,k,p,w,z,C,F){k=null!=k?k:!1;g=document.createElement("div");g.style.position="absolute";g.style.top="20px";g.style.bottom="20px";g.style.left="20px";g.style.right="20px";n=document.createElement("div");
+n.style.position="absolute";n.style.left="0px";n.style.right="0px";var D=n.cloneNode(!1),H=n.cloneNode(!1);n.style.top="0px";n.style.height="20px";D.style.top="20px";D.style.bottom="64px";H.style.bottom="0px";H.style.height="60px";H.style.textAlign="right";H.style.paddingTop="14px";H.style.boxSizing="border-box";mxUtils.write(n,b);g.appendChild(n);g.appendChild(D);g.appendChild(H);null!=F&&n.appendChild(F);var K=document.createElement("textarea");p&&K.setAttribute("wrap","off");K.setAttribute("spellcheck",
+"false");K.setAttribute("autocorrect","off");K.setAttribute("autocomplete","off");K.setAttribute("autocapitalize","off");mxUtils.write(K,e||"");K.style.resize="none";K.style.outline="none";K.style.position="absolute";K.style.boxSizing="border-box";K.style.top="0px";K.style.left="0px";K.style.height="100%";K.style.width="100%";this.textarea=K;this.init=function(){K.focus();K.scrollTop=0};D.appendChild(K);null==z||a.isOffline()||H.appendChild(a.createHelpIcon(z));if(null!=C)for(b=0;b<C.length;b++)(function(P,
+I,Z){P=mxUtils.button(P,function(S){I(S,K)});null!=Z&&P.setAttribute("title",Z);P.className="geBtn";H.appendChild(P)})(C[b][0],C[b][1],C[b][2]);d=mxUtils.button(d||mxResources.get("cancel"),function(){a.hideDialog();null!=h&&h()});d.setAttribute("title","Escape");d.className="geBtn";a.editor.cancelFirst&&H.appendChild(d);null!=q&&q(H,K);if(null!=f){var G=mxUtils.button(w||mxResources.get("apply"),function(){k||a.hideDialog();f(K.value)});G.setAttribute("title","Ctrl+Enter");G.className="geBtn gePrimaryBtn";
+H.appendChild(G);mxEvent.addListener(K,"keypress",function(P){13==P.keyCode&&mxEvent.isControlDown(P)&&G.click()})}a.editor.cancelFirst||H.appendChild(d);this.container=g},EditDiagramDialog=function(a){var b=document.createElement("div");b.style.textAlign="right";var e=document.createElement("textarea");e.setAttribute("wrap","off");e.setAttribute("spellcheck","false");e.setAttribute("autocorrect","off");e.setAttribute("autocomplete","off");e.setAttribute("autocapitalize","off");e.style.overflow="auto";
+e.style.resize="none";e.style.width="600px";e.style.height="360px";e.style.marginBottom="16px";var f=a.getDiagramSnapshot();e.value=mxUtils.getPrettyXml(f.node);b.appendChild(e);this.init=function(){e.focus()};Graph.fileSupport&&(e.addEventListener("dragover",function(n){n.stopPropagation();n.preventDefault()},!1),e.addEventListener("drop",function(n){n.stopPropagation();n.preventDefault();if(0<n.dataTransfer.files.length){n=n.dataTransfer.files[0];var q=new FileReader;q.onload=function(k){e.value=
+k.target.result};q.readAsText(n)}else e.value=a.extractGraphModelFromEvent(n)},!1));var h=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});h.className="geBtn";a.editor.cancelFirst&&b.appendChild(h);var d=document.createElement("select");d.style.textOverflow="ellipsis";d.style.width="196px";d.className="geBtn";if(a.editor.graph.isEnabled()){var g=document.createElement("option");g.setAttribute("value","apply");mxUtils.write(g,mxResources.get("apply",null,"Update Existing Drawing"));
+d.appendChild(g)}a.editor.graph.isEnabled()&&(g=document.createElement("option"),g.setAttribute("value","insert"),mxUtils.write(g,mxResources.get("insert")),d.appendChild(g));g=document.createElement("option");g.setAttribute("value","new");mxUtils.write(g,mxResources.get("openInNewWindow"));EditDiagramDialog.showNewWindowOption&&d.appendChild(g);b.appendChild(d);g=mxUtils.button(mxResources.get("ok"),function(){var n=Graph.zapGremlins(mxUtils.trim(e.value)),q=null;if("new"==d.value)a.hideDialog(),
+a.editor.editAsNew(n);else if("apply"==d.value)try{var k=mxUtils.parseXml(n).documentElement;a.updateDiagramData(f,k);a.hideDialog()}catch(C){q=C}else if("insert"==d.value){a.editor.graph.model.beginUpdate();try{var p=mxUtils.parseXml(n),w=new mxGraphModel;(new mxCodec(p)).decode(p.documentElement,w);var z=w.getChildren(w.getChildAt(w.getRoot(),0));a.editor.graph.setSelectionCells(a.editor.graph.importCells(z));a.hideDialog()}catch(C){q=C}finally{a.editor.graph.model.endUpdate()}}null!=q&&a.handleError(q)});
+g.className="geBtn gePrimaryBtn";b.appendChild(g);a.editor.cancelFirst||b.appendChild(h);this.container=b};EditDiagramDialog.showNewWindowOption=!0;
+var ExportDialog=function(a){function b(){var Y=p.value,V=Y.lastIndexOf(".");p.value=0<V?Y.substring(0,V+1)+w.value:Y+"."+w.value;"xml"===w.value?(z.setAttribute("disabled","true"),C.setAttribute("disabled","true"),F.setAttribute("disabled","true"),I.setAttribute("disabled","true")):(z.removeAttribute("disabled"),C.removeAttribute("disabled"),F.removeAttribute("disabled"),I.removeAttribute("disabled"));"png"===w.value||"svg"===w.value||"pdf"===w.value?G.removeAttribute("disabled"):G.setAttribute("disabled",
+"disabled");"png"===w.value||"jpg"===w.value||"pdf"===w.value?P.removeAttribute("disabled"):P.setAttribute("disabled","disabled");"png"===w.value?(D.removeAttribute("disabled"),H.removeAttribute("disabled")):(D.setAttribute("disabled","disabled"),H.setAttribute("disabled","disabled"))}function e(){C.style.backgroundColor=C.value*F.value>MAX_AREA||0>=C.value?"red":"";F.style.backgroundColor=C.value*F.value>MAX_AREA||0>=F.value?"red":""}var f=a.editor.graph,h=f.getGraphBounds(),d=f.view.scale,g=Math.ceil(h.width/
+d),n=Math.ceil(h.height/d);d=document.createElement("table");var q=document.createElement("tbody");d.setAttribute("cellpadding",mxClient.IS_SF?"0":"2");h=document.createElement("tr");var k=document.createElement("td");k.style.fontSize="10pt";k.style.width="100px";mxUtils.write(k,mxResources.get("filename")+":");h.appendChild(k);var p=document.createElement("input");p.setAttribute("value",a.editor.getOrCreateFilename());p.style.width="180px";k=document.createElement("td");k.appendChild(p);h.appendChild(k);
+q.appendChild(h);h=document.createElement("tr");k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("format")+":");h.appendChild(k);var w=document.createElement("select");w.style.width="180px";k=document.createElement("option");k.setAttribute("value","png");mxUtils.write(k,mxResources.get("formatPng"));w.appendChild(k);k=document.createElement("option");ExportDialog.showGifOption&&(k.setAttribute("value","gif"),mxUtils.write(k,mxResources.get("formatGif")),w.appendChild(k));
+k=document.createElement("option");k.setAttribute("value","jpg");mxUtils.write(k,mxResources.get("formatJpg"));w.appendChild(k);k=document.createElement("option");k.setAttribute("value","svg");mxUtils.write(k,mxResources.get("formatSvg"));w.appendChild(k);ExportDialog.showXmlOption&&(k=document.createElement("option"),k.setAttribute("value","xml"),mxUtils.write(k,mxResources.get("formatXml")),w.appendChild(k));k=document.createElement("td");k.appendChild(w);h.appendChild(k);q.appendChild(h);h=document.createElement("tr");
+k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("zoom")+" (%):");h.appendChild(k);var z=document.createElement("input");z.setAttribute("type","number");z.setAttribute("value","100");z.style.width="180px";k=document.createElement("td");k.appendChild(z);h.appendChild(k);q.appendChild(h);h=document.createElement("tr");k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("width")+":");h.appendChild(k);var C=document.createElement("input");
+C.setAttribute("value",g);C.style.width="180px";k=document.createElement("td");k.appendChild(C);h.appendChild(k);q.appendChild(h);h=document.createElement("tr");k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("height")+":");h.appendChild(k);var F=document.createElement("input");F.setAttribute("value",n);F.style.width="180px";k=document.createElement("td");k.appendChild(F);h.appendChild(k);q.appendChild(h);h=document.createElement("tr");k=document.createElement("td");
+k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("dpi")+":");h.appendChild(k);var D=document.createElement("select");D.style.width="180px";k=document.createElement("option");k.setAttribute("value","100");mxUtils.write(k,"100dpi");D.appendChild(k);k=document.createElement("option");k.setAttribute("value","200");mxUtils.write(k,"200dpi");D.appendChild(k);k=document.createElement("option");k.setAttribute("value","300");mxUtils.write(k,"300dpi");D.appendChild(k);k=document.createElement("option");
+k.setAttribute("value","400");mxUtils.write(k,"400dpi");D.appendChild(k);k=document.createElement("option");k.setAttribute("value","custom");mxUtils.write(k,mxResources.get("custom"));D.appendChild(k);var H=document.createElement("input");H.style.width="180px";H.style.display="none";H.setAttribute("value","100");H.setAttribute("type","number");H.setAttribute("min","50");H.setAttribute("step","50");var K=!1;mxEvent.addListener(D,"change",function(){"custom"==this.value?(this.style.display="none",H.style.display=
+"",H.focus()):(H.value=this.value,K||(z.value=this.value))});mxEvent.addListener(H,"change",function(){var Y=parseInt(H.value);isNaN(Y)||0>=Y?H.style.backgroundColor="red":(H.style.backgroundColor="",K||(z.value=Y))});k=document.createElement("td");k.appendChild(D);k.appendChild(H);h.appendChild(k);q.appendChild(h);h=document.createElement("tr");k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("background")+":");h.appendChild(k);var G=document.createElement("input");
+G.setAttribute("type","checkbox");G.checked=null==f.background||f.background==mxConstants.NONE;k=document.createElement("td");k.appendChild(G);mxUtils.write(k,mxResources.get("transparent"));h.appendChild(k);q.appendChild(h);h=document.createElement("tr");k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("grid")+":");h.appendChild(k);var P=document.createElement("input");P.setAttribute("type","checkbox");P.checked=!1;k=document.createElement("td");k.appendChild(P);
+h.appendChild(k);q.appendChild(h);h=document.createElement("tr");k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("borderWidth")+":");h.appendChild(k);var I=document.createElement("input");I.setAttribute("type","number");I.setAttribute("value",ExportDialog.lastBorderValue);I.style.width="180px";k=document.createElement("td");k.appendChild(I);h.appendChild(k);q.appendChild(h);d.appendChild(q);mxEvent.addListener(w,"change",b);b();mxEvent.addListener(z,"change",
+function(){K=!0;var Y=Math.max(0,parseFloat(z.value)||100)/100;z.value=parseFloat((100*Y).toFixed(2));0<g?(C.value=Math.floor(g*Y),F.value=Math.floor(n*Y)):(z.value="100",C.value=g,F.value=n);e()});mxEvent.addListener(C,"change",function(){var Y=parseInt(C.value)/g;0<Y?(z.value=parseFloat((100*Y).toFixed(2)),F.value=Math.floor(n*Y)):(z.value="100",C.value=g,F.value=n);e()});mxEvent.addListener(F,"change",function(){var Y=parseInt(F.value)/n;0<Y?(z.value=parseFloat((100*Y).toFixed(2)),C.value=Math.floor(g*
+Y)):(z.value="100",C.value=g,F.value=n);e()});h=document.createElement("tr");k=document.createElement("td");k.setAttribute("align","right");k.style.paddingTop="22px";k.colSpan=2;var Z=mxUtils.button(mxResources.get("export"),mxUtils.bind(this,function(){if(0>=parseInt(z.value))mxUtils.alert(mxResources.get("drawingEmpty"));else{var Y=p.value,V=w.value,L=Math.max(0,parseFloat(z.value)||100)/100,U=Math.max(0,parseInt(I.value)),ba=f.background,ja=Math.max(1,parseInt(H.value));if(("svg"==V||"png"==V||
+"pdf"==V)&&G.checked)ba=null;else if(null==ba||ba==mxConstants.NONE)ba="#ffffff";ExportDialog.lastBorderValue=U;ExportDialog.exportFile(a,Y,V,ba,L,U,ja,P.checked)}}));Z.className="geBtn gePrimaryBtn";var S=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});S.className="geBtn";a.editor.cancelFirst?(k.appendChild(S),k.appendChild(Z)):(k.appendChild(Z),k.appendChild(S));h.appendChild(k);q.appendChild(h);d.appendChild(q);this.container=d};ExportDialog.lastBorderValue=0;
ExportDialog.showGifOption=!0;ExportDialog.showXmlOption=!0;
-ExportDialog.exportFile=function(a,b,d,e,g,f,h,n){n=a.editor.graph;if("xml"==d)ExportDialog.saveLocalFile(a,mxUtils.getXml(a.editor.getGraphXml()),b,d);else if("svg"==d)ExportDialog.saveLocalFile(a,mxUtils.getXml(n.getSvg(e,g,f)),b,d);else{var q=n.getGraphBounds(),l=mxUtils.createXmlDocument(),p=l.createElement("output");l.appendChild(p);l=new mxXmlCanvas2D(p);l.translate(Math.floor((f/g-q.x)/n.view.scale),Math.floor((f/g-q.y)/n.view.scale));l.scale(g/n.view.scale);(new mxImageExport).drawState(n.getView().getState(n.model.root),
-l);p="xml="+encodeURIComponent(mxUtils.getXml(p));l=Math.ceil(q.width*g/n.view.scale+2*f);g=Math.ceil(q.height*g/n.view.scale+2*f);p.length<=MAX_REQUEST_SIZE&&l*g<MAX_AREA?(a.hideDialog(),(new mxXmlRequest(EXPORT_URL,"format="+d+"&filename="+encodeURIComponent(b)+"&bg="+(null!=e?e:"none")+"&w="+l+"&h="+g+"&"+p+"&dpi="+h)).simulate(document,"_blank")):mxUtils.alert(mxResources.get("drawingTooLarge"))}};
-ExportDialog.saveLocalFile=function(a,b,d,e){b.length<MAX_REQUEST_SIZE?(a.hideDialog(),(new mxXmlRequest(SAVE_URL,"xml="+encodeURIComponent(b)+"&filename="+encodeURIComponent(d)+"&format="+e)).simulate(document,"_blank")):(mxUtils.alert(mxResources.get("drawingTooLarge")),mxUtils.popup(xml))};
-var EditDataDialog=function(a,b){function d(){0<H.value.length?Z.removeAttribute("disabled"):Z.setAttribute("disabled","disabled")}var e=document.createElement("div"),g=a.editor.graph,f=g.getModel().getValue(b);if(!mxUtils.isNode(f)){var h=mxUtils.createXmlDocument().createElement("object");h.setAttribute("label",f||"");f=h}var n={};try{var q=mxUtils.getValue(a.editor.graph.getCurrentCellStyle(b),"metaData",null);null!=q&&(n=JSON.parse(q))}catch(X){}var l=new mxForm("properties");l.table.style.width=
-"100%";var p=f.attributes,w=[],z=[],C=0,F=null!=EditDataDialog.getDisplayIdForCell?EditDataDialog.getDisplayIdForCell(a,b):null,D=function(X,Y){var M=document.createElement("div");M.style.position="relative";M.style.paddingRight="20px";M.style.boxSizing="border-box";M.style.width="100%";var U=document.createElement("a"),ba=mxUtils.createImage(Dialog.prototype.closeImage);ba.style.height="9px";ba.style.fontSize="9px";ba.style.marginBottom=mxClient.IS_IE11?"-1px":"5px";U.className="geButton";U.setAttribute("title",
-mxResources.get("delete"));U.style.position="absolute";U.style.top="4px";U.style.right="0px";U.style.margin="0px";U.style.width="9px";U.style.height="9px";U.style.cursor="pointer";U.appendChild(ba);Y=function(ja){return function(){for(var pa=0,P=0;P<w.length;P++){if(w[P]==ja){z[P]=null;l.table.deleteRow(pa+(null!=F?1:0));break}null!=z[P]&&pa++}}}(Y);mxEvent.addListener(U,"click",Y);Y=X.parentNode;M.appendChild(X);M.appendChild(U);Y.appendChild(M)};h=function(X,Y,M){w[X]=Y;z[X]=l.addTextarea(w[C]+
-":",M,2);z[X].style.width="100%";0<M.indexOf("\n")&&z[X].setAttribute("rows","2");D(z[X],Y);null!=n[Y]&&0==n[Y].editable&&z[X].setAttribute("disabled","disabled")};q=[];for(var G=g.getModel().getParent(b)==g.getModel().getRoot(),K=g.getCellStyle(b),I=0;I<p.length;I++)("label"!=p[I].nodeName||"1"==K.metaEdit||Graph.translateDiagram||G)&&"placeholders"!=p[I].nodeName&&q.push({name:p[I].nodeName,value:p[I].nodeValue});q.sort(function(X,Y){return"label"==X.name?1:"label"==Y.name?-1:X.name<Y.name?-1:X.name>
-Y.name?1:0});if(null!=F){p=document.createElement("div");p.style.width="100%";p.style.fontSize="11px";p.style.textAlign="center";mxUtils.write(p,F);var O=l.addField(mxResources.get("id")+":",p);mxEvent.addListener(p,"dblclick",function(X){X=new FilenameDialog(a,F,mxResources.get("apply"),mxUtils.bind(this,function(Y){if(null!=Y&&0<Y.length&&Y!=F)if(g.model.isRoot(b)){var M=a.getPageById(F);if(null!=M)if(null==a.getPageById(Y)){var U=a.getPageIndex(M);0<=U&&(a.removePage(M),M.node.setAttribute("id",
-Y),F=Y,O.innerHTML=mxUtils.htmlEntities(Y),a.insertPage(M,U))}else a.handleError({message:mxResources.get("alreadyExst",[mxResources.get("page")])})}else null==g.getModel().getCell(Y)?(g.getModel().cellRemoved(b),b.setId(Y),F=Y,O.innerHTML=mxUtils.htmlEntities(Y),g.getModel().cellAdded(b)):a.handleError({message:mxResources.get("alreadyExst",[Y])})}),mxResources.get("id"));a.showDialog(X.container,300,80,!0,!0);X.init()})}for(I=0;I<q.length;I++)h(C,q[I].name,q[I].value),C++;q=document.createElement("div");
-q.style.position="absolute";q.style.top="30px";q.style.left="30px";q.style.right="30px";q.style.bottom="80px";q.style.overflowY="auto";q.appendChild(l.table);h=document.createElement("div");h.style.display="flex";h.style.alignItems="center";h.style.boxSizing="border-box";h.style.paddingRight="160px";h.style.whiteSpace="nowrap";h.style.marginTop="6px";h.style.width="100%";var H=document.createElement("input");H.setAttribute("placeholder",mxResources.get("enterPropertyName"));H.setAttribute("type",
-"text");H.setAttribute("size",mxClient.IS_IE||mxClient.IS_IE11?"36":"40");H.style.boxSizing="border-box";H.style.borderWidth="1px";H.style.borderStyle="solid";H.style.marginLeft="2px";H.style.padding="4px";H.style.width="100%";h.appendChild(H);q.appendChild(h);e.appendChild(q);var Z=mxUtils.button(mxResources.get("addProperty"),function(){var X=H.value;if(0<X.length&&"label"!=X&&"id"!=X&&"placeholders"!=X&&0>X.indexOf(":"))try{var Y=mxUtils.indexOf(w,X);if(0<=Y&&null!=z[Y])z[Y].focus();else{f.cloneNode(!1).setAttribute(X,
-"");0<=Y&&(w.splice(Y,1),z.splice(Y,1));w.push(X);var M=l.addTextarea(X+":","",2);M.style.width="100%";z.push(M);D(M,X);M.focus()}Z.setAttribute("disabled","disabled");H.value=""}catch(U){mxUtils.alert(U)}else mxUtils.alert(mxResources.get("invalidName"))});mxEvent.addListener(H,"keypress",function(X){13==X.keyCode&&Z.click()});this.init=function(){0<z.length?z[0].focus():H.focus()};Z.setAttribute("title",mxResources.get("addProperty"));Z.setAttribute("disabled","disabled");Z.style.textOverflow="ellipsis";
-Z.style.position="absolute";Z.style.overflow="hidden";Z.style.width="144px";Z.style.right="0px";Z.className="geBtn";h.appendChild(Z);q=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog.apply(a,arguments)});q.setAttribute("title","Escape");q.className="geBtn";h=mxUtils.button(mxResources.get("export"),mxUtils.bind(this,function(X){var Y=g.getDataForCells([b],!0);X=new EmbedDialog(a,JSON.stringify(Y,null,2),null,null,function(){console.log(Y);a.alert("Written to Console (Dev Tools)")},
-mxResources.get("export"),null,"Console","data.json");a.showDialog(X.container,450,240,!0,!0);X.init()}));h.setAttribute("title",mxResources.get("export"));h.className="geBtn";var S=mxUtils.button(mxResources.get("apply"),function(){try{a.hideDialog.apply(a,arguments);f=f.cloneNode(!0);for(var X=!1,Y=0;Y<w.length;Y++)null==z[Y]?f.removeAttribute(w[Y]):(f.setAttribute(w[Y],z[Y].value),X=X||"placeholder"==w[Y]&&"1"==f.getAttribute("placeholders"));X&&f.removeAttribute("label");g.getModel().setValue(b,
-f)}catch(M){mxUtils.alert(M)}});S.setAttribute("title","Ctrl+Enter");S.className="geBtn gePrimaryBtn";mxEvent.addListener(e,"keypress",function(X){13==X.keyCode&&mxEvent.isControlDown(X)&&S.click()});mxEvent.addListener(H,"keyup",d);mxEvent.addListener(H,"change",d);p=document.createElement("div");p.style.cssText="position:absolute;left:30px;right:30px;text-align:right;bottom:30px;height:40px;";if(a.editor.graph.getModel().isVertex(b)||a.editor.graph.getModel().isEdge(b))G=document.createElement("span"),
-G.style.marginRight="10px",K=document.createElement("input"),K.setAttribute("type","checkbox"),K.style.marginRight="6px","1"==f.getAttribute("placeholders")&&(K.setAttribute("checked","checked"),K.defaultChecked=!0),mxEvent.addListener(K,"click",function(){"1"==f.getAttribute("placeholders")?f.removeAttribute("placeholders"):f.setAttribute("placeholders","1")}),G.appendChild(K),mxUtils.write(G,mxResources.get("placeholders")),null!=EditDataDialog.placeholderHelpLink&&G.appendChild(a.createHelpIcon(EditDataDialog.placeholderHelpLink)),
-p.appendChild(G);a.editor.cancelFirst&&p.appendChild(q);p.appendChild(h);p.appendChild(S);a.editor.cancelFirst||p.appendChild(q);e.appendChild(p);this.container=e};EditDataDialog.getDisplayIdForCell=function(a,b){var d=null;null!=a.editor.graph.getModel().getParent(b)&&(d=b.getId());return d};EditDataDialog.placeholderHelpLink=null;
-var LinkDialog=function(a,b,d,e){var g=document.createElement("div");mxUtils.write(g,mxResources.get("editLink")+":");var f=document.createElement("div");f.className="geTitle";f.style.backgroundColor="transparent";f.style.borderColor="transparent";f.style.whiteSpace="nowrap";f.style.textOverflow="clip";f.style.cursor="default";f.style.paddingRight="20px";var h=document.createElement("input");h.setAttribute("value",b);h.setAttribute("placeholder","http://www.example.com/");h.setAttribute("type","text");
-h.style.marginTop="6px";h.style.width="400px";h.style.backgroundImage="url('"+Dialog.prototype.clearImage+"')";h.style.backgroundRepeat="no-repeat";h.style.backgroundPosition="100% 50%";h.style.paddingRight="14px";b=document.createElement("div");b.setAttribute("title",mxResources.get("reset"));b.style.position="relative";b.style.left="-16px";b.style.width="12px";b.style.height="14px";b.style.cursor="pointer";b.style.display="inline-block";b.style.top="3px";b.style.background="url("+IMAGE_PATH+"/transparent.gif)";
-mxEvent.addListener(b,"click",function(){h.value="";h.focus()});f.appendChild(h);f.appendChild(b);g.appendChild(f);this.init=function(){h.focus();mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?h.select():document.execCommand("selectAll",!1,null)};f=document.createElement("div");f.style.marginTop="18px";f.style.textAlign="right";mxEvent.addListener(h,"keypress",function(n){13==n.keyCode&&(a.hideDialog(),e(h.value))});b=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});
-b.className="geBtn";a.editor.cancelFirst&&f.appendChild(b);d=mxUtils.button(d,function(){a.hideDialog();e(h.value)});d.className="geBtn gePrimaryBtn";f.appendChild(d);a.editor.cancelFirst||f.appendChild(b);g.appendChild(f);this.container=g},OutlineWindow=function(a,b,d,e,g){var f=a.editor.graph,h=document.createElement("div");h.style.position="absolute";h.style.width="100%";h.style.height="100%";h.style.overflow="hidden";this.window=new mxWindow(mxResources.get("outline"),h,b,d,e,g,!0,!0);this.window.minimumSize=
+ExportDialog.exportFile=function(a,b,e,f,h,d,g,n){n=a.editor.graph;if("xml"==e)ExportDialog.saveLocalFile(a,mxUtils.getXml(a.editor.getGraphXml()),b,e);else if("svg"==e)ExportDialog.saveLocalFile(a,mxUtils.getXml(n.getSvg(f,h,d)),b,e);else{var q=n.getGraphBounds(),k=mxUtils.createXmlDocument(),p=k.createElement("output");k.appendChild(p);k=new mxXmlCanvas2D(p);k.translate(Math.floor((d/h-q.x)/n.view.scale),Math.floor((d/h-q.y)/n.view.scale));k.scale(h/n.view.scale);(new mxImageExport).drawState(n.getView().getState(n.model.root),
+k);p="xml="+encodeURIComponent(mxUtils.getXml(p));k=Math.ceil(q.width*h/n.view.scale+2*d);h=Math.ceil(q.height*h/n.view.scale+2*d);p.length<=MAX_REQUEST_SIZE&&k*h<MAX_AREA?(a.hideDialog(),(new mxXmlRequest(EXPORT_URL,"format="+e+"&filename="+encodeURIComponent(b)+"&bg="+(null!=f?f:"none")+"&w="+k+"&h="+h+"&"+p+"&dpi="+g)).simulate(document,"_blank")):mxUtils.alert(mxResources.get("drawingTooLarge"))}};
+ExportDialog.saveLocalFile=function(a,b,e,f){b.length<MAX_REQUEST_SIZE?(a.hideDialog(),(new mxXmlRequest(SAVE_URL,"xml="+encodeURIComponent(b)+"&filename="+encodeURIComponent(e)+"&format="+f)).simulate(document,"_blank")):(mxUtils.alert(mxResources.get("drawingTooLarge")),mxUtils.popup(xml))};
+var EditDataDialog=function(a,b){function e(){0<I.value.length?Z.removeAttribute("disabled"):Z.setAttribute("disabled","disabled")}var f=document.createElement("div"),h=a.editor.graph,d=h.getModel().getValue(b);if(!mxUtils.isNode(d)){var g=mxUtils.createXmlDocument().createElement("object");g.setAttribute("label",d||"");d=g}var n={};try{var q=mxUtils.getValue(a.editor.graph.getCurrentCellStyle(b),"metaData",null);null!=q&&(n=JSON.parse(q))}catch(Y){}var k=new mxForm("properties");k.table.style.width=
+"100%";var p=d.attributes,w=[],z=[],C=0,F=null!=EditDataDialog.getDisplayIdForCell?EditDataDialog.getDisplayIdForCell(a,b):null,D=function(Y,V){var L=document.createElement("div");L.style.position="relative";L.style.paddingRight="20px";L.style.boxSizing="border-box";L.style.width="100%";var U=document.createElement("a"),ba=mxUtils.createImage(Dialog.prototype.closeImage);ba.style.height="9px";ba.style.fontSize="9px";ba.style.marginBottom=mxClient.IS_IE11?"-1px":"5px";U.className="geButton";U.setAttribute("title",
+mxResources.get("delete"));U.style.position="absolute";U.style.top="4px";U.style.right="0px";U.style.margin="0px";U.style.width="9px";U.style.height="9px";U.style.cursor="pointer";U.appendChild(ba);V=function(ja){return function(){for(var sa=0,O=0;O<w.length;O++){if(w[O]==ja){z[O]=null;k.table.deleteRow(sa+(null!=F?1:0));break}null!=z[O]&&sa++}}}(V);mxEvent.addListener(U,"click",V);V=Y.parentNode;L.appendChild(Y);L.appendChild(U);V.appendChild(L)};g=function(Y,V,L){w[Y]=V;z[Y]=k.addTextarea(w[C]+
+":",L,2);z[Y].style.width="100%";0<L.indexOf("\n")&&z[Y].setAttribute("rows","2");D(z[Y],V);null!=n[V]&&0==n[V].editable&&z[Y].setAttribute("disabled","disabled")};q=[];for(var H=h.getModel().getParent(b)==h.getModel().getRoot(),K=h.getCellStyle(b),G=0;G<p.length;G++)("label"!=p[G].nodeName||"1"==K.metaEdit||Graph.translateDiagram||H)&&"placeholders"!=p[G].nodeName&&q.push({name:p[G].nodeName,value:p[G].nodeValue});q.sort(function(Y,V){return"label"==Y.name?1:"label"==V.name?-1:Y.name<V.name?-1:Y.name>
+V.name?1:0});if(null!=F){p=document.createElement("div");p.style.width="100%";p.style.fontSize="11px";p.style.textAlign="center";mxUtils.write(p,F);var P=k.addField(mxResources.get("id")+":",p);mxEvent.addListener(p,"dblclick",function(Y){Y=new FilenameDialog(a,F,mxResources.get("apply"),mxUtils.bind(this,function(V){if(null!=V&&0<V.length&&V!=F)if(h.model.isRoot(b)){var L=a.getPageById(F);if(null!=L)if(null==a.getPageById(V)){var U=a.getPageIndex(L);0<=U&&(a.removePage(L),L.node.setAttribute("id",
+V),F=V,P.innerHTML=mxUtils.htmlEntities(V),a.insertPage(L,U))}else a.handleError({message:mxResources.get("alreadyExst",[mxResources.get("page")])})}else null==h.getModel().getCell(V)?(h.getModel().cellRemoved(b),b.setId(V),F=V,P.innerHTML=mxUtils.htmlEntities(V),h.getModel().cellAdded(b)):a.handleError({message:mxResources.get("alreadyExst",[V])})}),mxResources.get("id"));a.showDialog(Y.container,300,80,!0,!0);Y.init()})}for(G=0;G<q.length;G++)g(C,q[G].name,q[G].value),C++;q=document.createElement("div");
+q.style.position="absolute";q.style.top="30px";q.style.left="30px";q.style.right="30px";q.style.bottom="80px";q.style.overflowY="auto";q.appendChild(k.table);g=document.createElement("div");g.style.display="flex";g.style.alignItems="center";g.style.boxSizing="border-box";g.style.paddingRight="160px";g.style.whiteSpace="nowrap";g.style.marginTop="6px";g.style.width="100%";var I=document.createElement("input");I.setAttribute("placeholder",mxResources.get("enterPropertyName"));I.setAttribute("type",
+"text");I.setAttribute("size",mxClient.IS_IE||mxClient.IS_IE11?"36":"40");I.style.boxSizing="border-box";I.style.borderWidth="1px";I.style.borderStyle="solid";I.style.marginLeft="2px";I.style.padding="4px";I.style.width="100%";g.appendChild(I);q.appendChild(g);f.appendChild(q);var Z=mxUtils.button(mxResources.get("addProperty"),function(){var Y=I.value;if(0<Y.length&&"label"!=Y&&"id"!=Y&&"placeholders"!=Y&&0>Y.indexOf(":"))try{var V=mxUtils.indexOf(w,Y);if(0<=V&&null!=z[V])z[V].focus();else{d.cloneNode(!1).setAttribute(Y,
+"");0<=V&&(w.splice(V,1),z.splice(V,1));w.push(Y);var L=k.addTextarea(Y+":","",2);L.style.width="100%";z.push(L);D(L,Y);L.focus()}Z.setAttribute("disabled","disabled");I.value=""}catch(U){mxUtils.alert(U)}else mxUtils.alert(mxResources.get("invalidName"))});mxEvent.addListener(I,"keypress",function(Y){13==Y.keyCode&&Z.click()});this.init=function(){0<z.length?z[0].focus():I.focus()};Z.setAttribute("title",mxResources.get("addProperty"));Z.setAttribute("disabled","disabled");Z.style.textOverflow="ellipsis";
+Z.style.position="absolute";Z.style.overflow="hidden";Z.style.width="144px";Z.style.right="0px";Z.className="geBtn";g.appendChild(Z);q=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog.apply(a,arguments)});q.setAttribute("title","Escape");q.className="geBtn";g=mxUtils.button(mxResources.get("export"),mxUtils.bind(this,function(Y){var V=h.getDataForCells([b],!0);Y=new EmbedDialog(a,JSON.stringify(V,null,2),null,null,function(){console.log(V);a.alert("Written to Console (Dev Tools)")},
+mxResources.get("export"),null,"Console","data.json");a.showDialog(Y.container,450,240,!0,!0);Y.init()}));g.setAttribute("title",mxResources.get("export"));g.className="geBtn";var S=mxUtils.button(mxResources.get("apply"),function(){try{a.hideDialog.apply(a,arguments);d=d.cloneNode(!0);for(var Y=!1,V=0;V<w.length;V++)null==z[V]?d.removeAttribute(w[V]):(d.setAttribute(w[V],z[V].value),Y=Y||"placeholder"==w[V]&&"1"==d.getAttribute("placeholders"));Y&&d.removeAttribute("label");h.getModel().setValue(b,
+d)}catch(L){mxUtils.alert(L)}});S.setAttribute("title","Ctrl+Enter");S.className="geBtn gePrimaryBtn";mxEvent.addListener(f,"keypress",function(Y){13==Y.keyCode&&mxEvent.isControlDown(Y)&&S.click()});mxEvent.addListener(I,"keyup",e);mxEvent.addListener(I,"change",e);p=document.createElement("div");p.style.cssText="position:absolute;left:30px;right:30px;text-align:right;bottom:30px;height:40px;";if(a.editor.graph.getModel().isVertex(b)||a.editor.graph.getModel().isEdge(b))H=document.createElement("span"),
+H.style.marginRight="10px",K=document.createElement("input"),K.setAttribute("type","checkbox"),K.style.marginRight="6px","1"==d.getAttribute("placeholders")&&(K.setAttribute("checked","checked"),K.defaultChecked=!0),mxEvent.addListener(K,"click",function(){"1"==d.getAttribute("placeholders")?d.removeAttribute("placeholders"):d.setAttribute("placeholders","1")}),H.appendChild(K),mxUtils.write(H,mxResources.get("placeholders")),null!=EditDataDialog.placeholderHelpLink&&H.appendChild(a.createHelpIcon(EditDataDialog.placeholderHelpLink)),
+p.appendChild(H);a.editor.cancelFirst&&p.appendChild(q);p.appendChild(g);p.appendChild(S);a.editor.cancelFirst||p.appendChild(q);f.appendChild(p);this.container=f};EditDataDialog.getDisplayIdForCell=function(a,b){var e=null;null!=a.editor.graph.getModel().getParent(b)&&(e=b.getId());return e};EditDataDialog.placeholderHelpLink=null;
+var LinkDialog=function(a,b,e,f){var h=document.createElement("div");mxUtils.write(h,mxResources.get("editLink")+":");var d=document.createElement("div");d.className="geTitle";d.style.backgroundColor="transparent";d.style.borderColor="transparent";d.style.whiteSpace="nowrap";d.style.textOverflow="clip";d.style.cursor="default";d.style.paddingRight="20px";var g=document.createElement("input");g.setAttribute("value",b);g.setAttribute("placeholder","http://www.example.com/");g.setAttribute("type","text");
+g.style.marginTop="6px";g.style.width="400px";g.style.backgroundImage="url('"+Dialog.prototype.clearImage+"')";g.style.backgroundRepeat="no-repeat";g.style.backgroundPosition="100% 50%";g.style.paddingRight="14px";b=document.createElement("div");b.setAttribute("title",mxResources.get("reset"));b.style.position="relative";b.style.left="-16px";b.style.width="12px";b.style.height="14px";b.style.cursor="pointer";b.style.display="inline-block";b.style.top="3px";b.style.background="url("+IMAGE_PATH+"/transparent.gif)";
+mxEvent.addListener(b,"click",function(){g.value="";g.focus()});d.appendChild(g);d.appendChild(b);h.appendChild(d);this.init=function(){g.focus();mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?g.select():document.execCommand("selectAll",!1,null)};d=document.createElement("div");d.style.marginTop="18px";d.style.textAlign="right";mxEvent.addListener(g,"keypress",function(n){13==n.keyCode&&(a.hideDialog(),f(g.value))});b=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});
+b.className="geBtn";a.editor.cancelFirst&&d.appendChild(b);e=mxUtils.button(e,function(){a.hideDialog();f(g.value)});e.className="geBtn gePrimaryBtn";d.appendChild(e);a.editor.cancelFirst||d.appendChild(b);h.appendChild(d);this.container=h},OutlineWindow=function(a,b,e,f,h){var d=a.editor.graph,g=document.createElement("div");g.style.position="absolute";g.style.width="100%";g.style.height="100%";g.style.overflow="hidden";this.window=new mxWindow(mxResources.get("outline"),g,b,e,f,h,!0,!0);this.window.minimumSize=
new mxRectangle(0,0,80,80);this.window.destroyOnClose=!1;this.window.setMaximizable(!1);this.window.setResizable(!0);this.window.setClosable(!0);this.window.setVisible(!0);var n=a.createOutline(this.window);a.installResizeHandler(this,!0,function(){n.destroy()});this.window.addListener(mxEvent.SHOW,mxUtils.bind(this,function(){this.window.fit();n.setSuspended(!1)}));this.window.addListener(mxEvent.HIDE,mxUtils.bind(this,function(){n.setSuspended(!0)}));this.window.addListener(mxEvent.NORMALIZE,mxUtils.bind(this,
-function(){n.setSuspended(!1)}));this.window.addListener(mxEvent.MINIMIZE,mxUtils.bind(this,function(){n.setSuspended(!0)}));n.init(h);mxEvent.addMouseWheelListener(function(q,l){for(var p=!1,w=mxEvent.getSource(q);null!=w;){if(w==n.svg){p=!0;break}w=w.parentNode}p&&(p=f.zoomFactor,null!=q.deltaY&&Math.round(q.deltaY)!=q.deltaY&&(p=1+Math.abs(q.deltaY)/20*(p-1)),f.lazyZoom(l,null,null,p),mxEvent.consume(q))})},LayersWindow=function(a,b,d,e,g){function f(){var M=Z.get(q.getLayerForCells(q.getSelectionCells()));
-null!=M?M.appendChild(Y):null!=Y.parentNode&&Y.parentNode.removeChild(Y)}function h(){function M(ja,pa,P,W){var V=document.createElement("div");V.className="geToolbarContainer";Z.put(P,V);V.style.overflow="hidden";V.style.position="relative";V.style.padding="4px";V.style.height="22px";V.style.display="block";V.style.backgroundColor=Editor.isDarkMode()?Editor.darkColor:"whiteSmoke";V.style.borderWidth="0px 0px 1px 0px";V.style.borderColor="#c3c3c3";V.style.borderStyle="solid";V.style.whiteSpace="nowrap";
-V.setAttribute("title",pa+" ("+P.getId()+")");var ca=document.createElement("div");ca.style.display="inline-block";ca.style.width="100%";ca.style.textOverflow="ellipsis";ca.style.overflow="hidden";var ra=document.createElement("span");mxEvent.addListener(V,"dragover",function(ea){ea.dataTransfer.dropEffect="move";C=ja;ea.stopPropagation();ea.preventDefault()});mxEvent.addListener(V,"dragstart",function(ea){"true"!=ra.contentEditable&&(z=V,mxClient.IS_FF&&ea.dataTransfer.setData("Text","<layer/>"))});
-mxEvent.addListener(V,"dragend",function(ea){null!=z&&null!=C&&q.addCell(P,q.model.root,C);C=z=null;ea.stopPropagation();ea.preventDefault()});var oa=document.createElement("img");oa.setAttribute("draggable","false");oa.setAttribute("align","top");oa.setAttribute("border","0");oa.className="geAdaptiveAsset";oa.style.width="16px";oa.style.padding="0px 6px 0 4px";oa.style.marginTop="2px";oa.style.cursor="pointer";oa.setAttribute("title",mxResources.get(q.model.isVisible(P)?"hide":"show"));q.model.isVisible(P)?
-(oa.setAttribute("src",Editor.visibleImage),mxUtils.setOpacity(V,90)):(oa.setAttribute("src",Editor.hiddenImage),mxUtils.setOpacity(V,40));q.isEnabled()||mxUtils.setOpacity(oa,50);ca.appendChild(oa);mxEvent.addListener(oa,"click",function(ea){q.isEnabled()&&q.model.setVisible(P,!q.model.isVisible(P));mxEvent.consume(ea)});oa=document.createElement("img");oa.setAttribute("draggable","false");oa.setAttribute("align","top");oa.setAttribute("border","0");oa.className="geAdaptiveAsset";oa.style.width=
-"16px";oa.style.padding="0px 6px 0 0";oa.style.marginTop="2px";oa.setAttribute("title",mxResources.get("lockUnlock"));var L=q.getCurrentCellStyle(P);"1"==mxUtils.getValue(L,"locked","0")?(oa.setAttribute("src",Editor.lockedImage),mxUtils.setOpacity(oa,90),V.style.color="red"):(oa.setAttribute("src",Editor.unlockedImage),mxUtils.setOpacity(oa,40));q.isEnabled()&&(oa.style.cursor="pointer");mxEvent.addListener(oa,"click",function(ea){if(q.isEnabled()){var sa=null;q.getModel().beginUpdate();try{sa="1"==
-mxUtils.getValue(L,"locked","0")?null:"1",q.setCellStyles("locked",sa,[P])}finally{q.getModel().endUpdate()}"1"==sa&&q.removeSelectionCells(q.getModel().getDescendants(P));mxEvent.consume(ea)}});ca.appendChild(oa);mxUtils.write(ra,pa);ra.style.display="block";ra.style.whiteSpace="nowrap";ra.style.overflow="hidden";ra.style.textOverflow="ellipsis";ra.style.position="absolute";ra.style.padding="2px";ra.style.left="52px";ra.style.right="8px";ra.style.top="6px";ca.appendChild(ra);V.appendChild(ca);if(q.isEnabled()){if(mxClient.IS_TOUCH||
-mxClient.IS_POINTER||mxClient.IS_IE&&10>document.documentMode)pa=document.createElement("div"),pa.style.display="block",pa.style.textAlign="right",pa.style.whiteSpace="nowrap",pa.style.position="absolute",pa.style.right="16px",pa.style.top="6px",0<ja&&(ca=document.createElement("a"),ca.setAttribute("title",mxResources.get("toBack")),ca.className="geButton",ca.style.cssFloat="none",ca.innerHTML="&#9660;",ca.style.width="14px",ca.style.height="14px",ca.style.fontSize="14px",ca.style.margin="0px",ca.style.marginTop=
-"-1px",pa.appendChild(ca),mxEvent.addListener(ca,"click",function(ea){q.isEnabled()&&q.addCell(P,q.model.root,ja-1);mxEvent.consume(ea)})),0<=ja&&ja<F-1&&(ca=document.createElement("a"),ca.setAttribute("title",mxResources.get("toFront")),ca.className="geButton",ca.style.cssFloat="none",ca.innerHTML="&#9650;",ca.style.width="14px",ca.style.height="14px",ca.style.fontSize="14px",ca.style.margin="0px",ca.style.marginTop="-1px",pa.appendChild(ca),mxEvent.addListener(ca,"click",function(ea){q.isEnabled()&&
-q.addCell(P,q.model.root,ja+1);mxEvent.consume(ea)})),V.appendChild(pa);mxClient.IS_SVG&&(!mxClient.IS_IE||10<=document.documentMode)&&(V.setAttribute("draggable","true"),V.style.cursor="move")}mxEvent.addListener(V,"dblclick",function(ea){var sa=mxEvent.getSource(ea).nodeName;"INPUT"!=sa&&"IMG"!=sa&&"true"!=ra.contentEditable&&(n(P),mxEvent.consume(ea))});q.getDefaultParent()==P&&(V.style.background=Editor.isDarkMode()?"#505759":"#e6eff8",V.style.fontWeight=q.isEnabled()?"bold":"",D=P);mxEvent.addListener(V,
-"click",function(ea){q.isEnabled()&&"true"!=ra.contentEditable&&(q.setDefaultParent(W),q.view.setCurrentRoot(null),mxEvent.isShiftDown(ea)&&q.setSelectionCells(P.children),mxEvent.consume(ea))});w.appendChild(V)}q.isEnabled()?(K.classList.remove("mxDisabled"),H.classList.remove("mxDisabled"),S.classList.remove("mxDisabled"),X.classList.remove("mxDisabled")):(K.classList.add("mxDisabled"),H.classList.add("mxDisabled"),S.classList.add("mxDisabled"),X.classList.add("mxDisabled"));F=q.model.getChildCount(q.model.root);
-w.innerText="";Z.clear();for(var U=F-1;0<=U;U--)mxUtils.bind(this,function(ja){M(U,q.convertValueToString(ja)||mxResources.get("background"),ja,ja)})(q.model.getChildAt(q.model.root,U));var ba=q.convertValueToString(D)||mxResources.get("background");K.setAttribute("title",mxResources.get("removeIt",[ba]));S.setAttribute("title",mxResources.get("duplicateIt",[ba]));q.isSelectionEmpty()&&(O.className="geButton mxDisabled");f()}function n(M){if(q.isEnabled()&&null!=M){var U=Z.get(M);if(null!=U){var ba=
-U.getElementsByTagName("span");if(null!=ba&&0<ba.length){var ja=ba[0],pa=mxUtils.getTextContent(ja);ja.style.textOverflow="";ja.style.cursor="text";ja.contentEditable="true";ja.focus();document.execCommand("selectAll",!1,null);U.removeAttribute("draggable");U.style.cursor="";var P=function(W){if("true"==ja.contentEditable){ja.contentEditable="false";var V=mxUtils.getTextContent(ja);W&&V!=pa?(V=mxUtils.getTextContent(ja),0<V.length?q.cellLabelChanged(M,V):q.cellLabelChanged(M,mxResources.get("untitledLayer"))):
-h()}};mxEvent.addListener(ja,"keydown",function(W){if(13==W.keyCode||27==W.keyCode)P(13==W.keyCode),mxEvent.consume(W)});mxEvent.addListener(ja,"blur",function(W){P(!0);mxEvent.consume(W)})}}}}var q=a.editor.graph,l=document.createElement("div");l.className="geBackground";l.style.userSelect="none";l.style.border="1px solid whiteSmoke";l.style.height="100%";l.style.marginBottom="10px";l.style.overflow="auto";var p=EditorUi.compactUi?"26px":"30px",w=document.createElement("div");w.className="geBackground";
-w.style.position="absolute";w.style.overflow="auto";w.style.left="0px";w.style.right="0px";w.style.top="0px";w.style.bottom=parseInt(p)+7+"px";l.appendChild(w);var z=null,C=null;mxEvent.addListener(l,"dragover",function(M){M.dataTransfer.dropEffect="move";C=0;M.stopPropagation();M.preventDefault()});mxEvent.addListener(l,"drop",function(M){M.stopPropagation();M.preventDefault()});var F=null,D=null,G=document.createElement("div");G.className="geToolbarContainer";G.style.position="absolute";G.style.bottom=
-"0px";G.style.left="0px";G.style.right="0px";G.style.height=p;G.style.overflow="hidden";G.style.padding=EditorUi.compactUi?"4px 0px 3px 0px":"1px";G.style.borderWidth="1px 0px 0px 0px";G.style.borderStyle="solid";G.style.display="block";G.style.whiteSpace="nowrap";p=document.createElement("a");p.className="geButton";var K=p.cloneNode(!1),I=document.createElement("img");I.className="geAdaptiveAsset";I.setAttribute("border","0");I.setAttribute("width","22");I.setAttribute("src",Editor.trashImage);I.style.opacity=
-"0.9";K.appendChild(I);mxEvent.addListener(K,"click",function(M){if(q.isEnabled()){q.model.beginUpdate();try{var U=q.model.root.getIndex(D);q.removeCells([D],!1);0==q.model.getChildCount(q.model.root)?(q.model.add(q.model.root,new mxCell),q.setDefaultParent(null)):0<U&&U<=q.model.getChildCount(q.model.root)?q.setDefaultParent(q.model.getChildAt(q.model.root,U-1)):q.setDefaultParent(null)}finally{q.model.endUpdate()}}mxEvent.consume(M)});q.isEnabled()||(K.className="geButton mxDisabled");G.appendChild(K);
-var O=p.cloneNode();O.setAttribute("title",mxUtils.trim(mxResources.get("moveSelectionTo",["..."])));I=I.cloneNode(!1);I.setAttribute("src",Editor.verticalDotsImage);O.appendChild(I);mxEvent.addListener(O,"click",function(M){if(q.isEnabled()&&!q.isSelectionEmpty()){var U=mxUtils.getOffset(O);a.showPopupMenu(mxUtils.bind(this,function(ba,ja){for(var pa=q.getLayerForCells(q.getSelectionCells()),P=F-1;0<=P;P--)mxUtils.bind(this,function(W){var V="1"==mxUtils.getValue(q.getCurrentCellStyle(W),"locked",
-"0"),ca=ba.addItem(q.convertValueToString(W)||mxResources.get("background"),null,mxUtils.bind(this,function(){V||q.moveCells(q.getSelectionCells(),0,0,!1,W)}),ja,null,null,!V);V?ba.addCheckmark(ca,Editor.lockedImage):W==pa&&ba.addCheckmark(ca,Editor.checkmarkImage)})(q.model.getChildAt(q.model.root,P))}),U.x,U.y+O.offsetHeight,M)}});G.appendChild(O);var H=p.cloneNode(!1);H.setAttribute("title",mxResources.get("editData"));I=I.cloneNode(!1);I.setAttribute("src",Editor.editImage);H.appendChild(I);mxEvent.addListener(H,
-"click",function(M){q.isEnabled()&&a.showDataDialog(D);mxEvent.consume(M)});q.isEnabled()||(H.className="geButton mxDisabled");G.appendChild(H);var Z=new mxDictionary,S=p.cloneNode(!1);S.setAttribute("title",mxResources.get("duplicate"));I=I.cloneNode(!1);I.setAttribute("src",Editor.duplicateImage);S.appendChild(I);mxEvent.addListener(S,"click",function(M){if(q.isEnabled()){M=null;q.model.beginUpdate();try{M=q.cloneCell(D),q.cellLabelChanged(M,mxResources.get("untitledLayer")),M.setVisible(!0),M=
-q.addCell(M,q.model.root),q.setDefaultParent(M)}finally{q.model.endUpdate()}null==M||q.isCellLocked(M)||q.selectAll(M)}});q.isEnabled()||(S.className="geButton mxDisabled");G.appendChild(S);var X=p.cloneNode(!1);X.setAttribute("title",mxResources.get("addLayer"));I=I.cloneNode(!1);I.setAttribute("src",Editor.addImage);X.appendChild(I);mxEvent.addListener(X,"click",function(M){if(q.isEnabled()){q.model.beginUpdate();try{var U=q.addCell(new mxCell(mxResources.get("untitledLayer")),q.model.root);q.setDefaultParent(U)}finally{q.model.endUpdate()}n(U)}mxEvent.consume(M)});
-q.isEnabled()||(X.className="geButton mxDisabled");G.appendChild(X);l.appendChild(G);var Y=document.createElement("span");Y.setAttribute("title",mxResources.get("selectionOnly"));Y.innerHTML="&#8226;";Y.style.position="absolute";Y.style.fontWeight="bold";Y.style.fontSize="16pt";Y.style.right="2px";Y.style.top="2px";h();q.model.addListener(mxEvent.CHANGE,h);q.addListener("defaultParentChanged",h);a.addListener("lockedChanged",h);q.selectionModel.addListener(mxEvent.CHANGE,function(){q.isSelectionEmpty()?
-O.className="geButton mxDisabled":O.className="geButton";f()});this.window=new mxWindow(mxResources.get("layers"),l,b,d,e,g,!0,!0);this.window.minimumSize=new mxRectangle(0,0,150,120);this.window.destroyOnClose=!1;this.window.setMaximizable(!1);this.window.setResizable(!0);this.window.setClosable(!0);this.window.setVisible(!0);this.init=function(){w.scrollTop=w.scrollHeight-w.clientHeight};this.window.addListener(mxEvent.SHOW,mxUtils.bind(this,function(){this.window.fit()}));this.refreshLayers=h;
+function(){n.setSuspended(!1)}));this.window.addListener(mxEvent.MINIMIZE,mxUtils.bind(this,function(){n.setSuspended(!0)}));n.init(g);mxEvent.addMouseWheelListener(function(q,k){for(var p=!1,w=mxEvent.getSource(q);null!=w;){if(w==n.svg){p=!0;break}w=w.parentNode}p&&(p=d.zoomFactor,null!=q.deltaY&&Math.round(q.deltaY)!=q.deltaY&&(p=1+Math.abs(q.deltaY)/20*(p-1)),d.lazyZoom(k,null,null,p),mxEvent.consume(q))})},LayersWindow=function(a,b,e,f,h){function d(){var L=Z.get(q.getLayerForCells(q.getSelectionCells()));
+null!=L?L.appendChild(V):null!=V.parentNode&&V.parentNode.removeChild(V)}function g(){function L(ja,sa,O,T){var X=document.createElement("div");X.className="geToolbarContainer";Z.put(O,X);X.style.overflow="hidden";X.style.position="relative";X.style.padding="4px";X.style.height="22px";X.style.display="block";X.style.backgroundColor=Editor.isDarkMode()?Editor.darkColor:"whiteSmoke";X.style.borderWidth="0px 0px 1px 0px";X.style.borderColor="#c3c3c3";X.style.borderStyle="solid";X.style.whiteSpace="nowrap";
+X.setAttribute("title",sa+" ("+O.getId()+")");var ca=document.createElement("div");ca.style.display="inline-block";ca.style.width="100%";ca.style.textOverflow="ellipsis";ca.style.overflow="hidden";var na=document.createElement("span");mxEvent.addListener(X,"dragover",function(ea){ea.dataTransfer.dropEffect="move";C=ja;ea.stopPropagation();ea.preventDefault()});mxEvent.addListener(X,"dragstart",function(ea){"true"!=na.contentEditable&&(z=X,mxClient.IS_FF&&ea.dataTransfer.setData("Text","<layer/>"))});
+mxEvent.addListener(X,"dragend",function(ea){null!=z&&null!=C&&q.addCell(O,q.model.root,C);C=z=null;ea.stopPropagation();ea.preventDefault()});var pa=document.createElement("img");pa.setAttribute("draggable","false");pa.setAttribute("align","top");pa.setAttribute("border","0");pa.className="geAdaptiveAsset";pa.style.width="16px";pa.style.padding="0px 6px 0 4px";pa.style.marginTop="2px";pa.style.cursor="pointer";pa.setAttribute("title",mxResources.get(q.model.isVisible(O)?"hide":"show"));q.model.isVisible(O)?
+(pa.setAttribute("src",Editor.visibleImage),mxUtils.setOpacity(X,90)):(pa.setAttribute("src",Editor.hiddenImage),mxUtils.setOpacity(X,40));q.isEnabled()||mxUtils.setOpacity(pa,50);ca.appendChild(pa);mxEvent.addListener(pa,"click",function(ea){q.isEnabled()&&q.model.setVisible(O,!q.model.isVisible(O));mxEvent.consume(ea)});pa=document.createElement("img");pa.setAttribute("draggable","false");pa.setAttribute("align","top");pa.setAttribute("border","0");pa.className="geAdaptiveAsset";pa.style.width=
+"16px";pa.style.padding="0px 6px 0 0";pa.style.marginTop="2px";pa.setAttribute("title",mxResources.get("lockUnlock"));var M=q.getCurrentCellStyle(O);"1"==mxUtils.getValue(M,"locked","0")?(pa.setAttribute("src",Editor.lockedImage),mxUtils.setOpacity(pa,90),X.style.color="red"):(pa.setAttribute("src",Editor.unlockedImage),mxUtils.setOpacity(pa,40));q.isEnabled()&&(pa.style.cursor="pointer");mxEvent.addListener(pa,"click",function(ea){if(q.isEnabled()){var ra=null;q.getModel().beginUpdate();try{ra="1"==
+mxUtils.getValue(M,"locked","0")?null:"1",q.setCellStyles("locked",ra,[O])}finally{q.getModel().endUpdate()}"1"==ra&&q.removeSelectionCells(q.getModel().getDescendants(O));mxEvent.consume(ea)}});ca.appendChild(pa);mxUtils.write(na,sa);na.style.display="block";na.style.whiteSpace="nowrap";na.style.overflow="hidden";na.style.textOverflow="ellipsis";na.style.position="absolute";na.style.padding="2px";na.style.left="52px";na.style.right="8px";na.style.top="6px";ca.appendChild(na);X.appendChild(ca);if(q.isEnabled()){if(mxClient.IS_TOUCH||
+mxClient.IS_POINTER||mxClient.IS_IE&&10>document.documentMode)sa=document.createElement("div"),sa.style.display="block",sa.style.textAlign="right",sa.style.whiteSpace="nowrap",sa.style.position="absolute",sa.style.right="16px",sa.style.top="6px",0<ja&&(ca=document.createElement("a"),ca.setAttribute("title",mxResources.get("toBack")),ca.className="geButton",ca.style.cssFloat="none",ca.innerHTML="&#9660;",ca.style.width="14px",ca.style.height="14px",ca.style.fontSize="14px",ca.style.margin="0px",ca.style.marginTop=
+"-1px",sa.appendChild(ca),mxEvent.addListener(ca,"click",function(ea){q.isEnabled()&&q.addCell(O,q.model.root,ja-1);mxEvent.consume(ea)})),0<=ja&&ja<F-1&&(ca=document.createElement("a"),ca.setAttribute("title",mxResources.get("toFront")),ca.className="geButton",ca.style.cssFloat="none",ca.innerHTML="&#9650;",ca.style.width="14px",ca.style.height="14px",ca.style.fontSize="14px",ca.style.margin="0px",ca.style.marginTop="-1px",sa.appendChild(ca),mxEvent.addListener(ca,"click",function(ea){q.isEnabled()&&
+q.addCell(O,q.model.root,ja+1);mxEvent.consume(ea)})),X.appendChild(sa);mxClient.IS_SVG&&(!mxClient.IS_IE||10<=document.documentMode)&&(X.setAttribute("draggable","true"),X.style.cursor="move")}mxEvent.addListener(X,"dblclick",function(ea){var ra=mxEvent.getSource(ea).nodeName;"INPUT"!=ra&&"IMG"!=ra&&"true"!=na.contentEditable&&(n(O),mxEvent.consume(ea))});q.getDefaultParent()==O&&(X.style.background=Editor.isDarkMode()?"#505759":"#e6eff8",X.style.fontWeight=q.isEnabled()?"bold":"",D=O);mxEvent.addListener(X,
+"click",function(ea){q.isEnabled()&&"true"!=na.contentEditable&&(q.setDefaultParent(T),q.view.setCurrentRoot(null),mxEvent.isShiftDown(ea)&&q.setSelectionCells(O.children),mxEvent.consume(ea))});w.appendChild(X)}q.isEnabled()?(K.classList.remove("mxDisabled"),I.classList.remove("mxDisabled"),S.classList.remove("mxDisabled"),Y.classList.remove("mxDisabled")):(K.classList.add("mxDisabled"),I.classList.add("mxDisabled"),S.classList.add("mxDisabled"),Y.classList.add("mxDisabled"));F=q.model.getChildCount(q.model.root);
+w.innerText="";Z.clear();for(var U=F-1;0<=U;U--)mxUtils.bind(this,function(ja){L(U,q.convertValueToString(ja)||mxResources.get("background"),ja,ja)})(q.model.getChildAt(q.model.root,U));var ba=q.convertValueToString(D)||mxResources.get("background");K.setAttribute("title",mxResources.get("removeIt",[ba]));S.setAttribute("title",mxResources.get("duplicateIt",[ba]));q.isSelectionEmpty()&&(P.className="geButton mxDisabled");d()}function n(L){if(q.isEnabled()&&null!=L){var U=Z.get(L);if(null!=U){var ba=
+U.getElementsByTagName("span");if(null!=ba&&0<ba.length){var ja=ba[0],sa=mxUtils.getTextContent(ja);ja.style.textOverflow="";ja.style.cursor="text";ja.contentEditable="true";ja.focus();document.execCommand("selectAll",!1,null);U.removeAttribute("draggable");U.style.cursor="";var O=function(T){if("true"==ja.contentEditable){ja.contentEditable="false";var X=mxUtils.getTextContent(ja);T&&X!=sa?(X=mxUtils.getTextContent(ja),0<X.length?q.cellLabelChanged(L,X):q.cellLabelChanged(L,mxResources.get("untitledLayer"))):
+g()}};mxEvent.addListener(ja,"keydown",function(T){if(13==T.keyCode||27==T.keyCode)O(13==T.keyCode),mxEvent.consume(T)});mxEvent.addListener(ja,"blur",function(T){O(!0);mxEvent.consume(T)})}}}}var q=a.editor.graph,k=document.createElement("div");k.className="geBackground";k.style.userSelect="none";k.style.border="1px solid whiteSmoke";k.style.height="100%";k.style.marginBottom="10px";k.style.overflow="auto";var p=EditorUi.compactUi?"26px":"30px",w=document.createElement("div");w.className="geBackground";
+w.style.position="absolute";w.style.overflow="auto";w.style.left="0px";w.style.right="0px";w.style.top="0px";w.style.bottom=parseInt(p)+7+"px";k.appendChild(w);var z=null,C=null;mxEvent.addListener(k,"dragover",function(L){L.dataTransfer.dropEffect="move";C=0;L.stopPropagation();L.preventDefault()});mxEvent.addListener(k,"drop",function(L){L.stopPropagation();L.preventDefault()});var F=null,D=null,H=document.createElement("div");H.className="geToolbarContainer";H.style.position="absolute";H.style.bottom=
+"0px";H.style.left="0px";H.style.right="0px";H.style.height=p;H.style.overflow="hidden";H.style.padding=EditorUi.compactUi?"4px 0px 3px 0px":"1px";H.style.borderWidth="1px 0px 0px 0px";H.style.borderStyle="solid";H.style.display="block";H.style.whiteSpace="nowrap";p=document.createElement("a");p.className="geButton";var K=p.cloneNode(!1),G=document.createElement("img");G.className="geAdaptiveAsset";G.setAttribute("border","0");G.setAttribute("width","22");G.setAttribute("src",Editor.trashImage);G.style.opacity=
+"0.9";K.appendChild(G);mxEvent.addListener(K,"click",function(L){if(q.isEnabled()){q.model.beginUpdate();try{var U=q.model.root.getIndex(D);q.removeCells([D],!1);0==q.model.getChildCount(q.model.root)?(q.model.add(q.model.root,new mxCell),q.setDefaultParent(null)):0<U&&U<=q.model.getChildCount(q.model.root)?q.setDefaultParent(q.model.getChildAt(q.model.root,U-1)):q.setDefaultParent(null)}finally{q.model.endUpdate()}}mxEvent.consume(L)});q.isEnabled()||(K.className="geButton mxDisabled");H.appendChild(K);
+var P=p.cloneNode();P.setAttribute("title",mxUtils.trim(mxResources.get("moveSelectionTo",["..."])));G=G.cloneNode(!1);G.setAttribute("src",Editor.verticalDotsImage);P.appendChild(G);mxEvent.addListener(P,"click",function(L){if(q.isEnabled()&&!q.isSelectionEmpty()){var U=mxUtils.getOffset(P);a.showPopupMenu(mxUtils.bind(this,function(ba,ja){for(var sa=q.getLayerForCells(q.getSelectionCells()),O=F-1;0<=O;O--)mxUtils.bind(this,function(T){var X="1"==mxUtils.getValue(q.getCurrentCellStyle(T),"locked",
+"0"),ca=ba.addItem(q.convertValueToString(T)||mxResources.get("background"),null,mxUtils.bind(this,function(){X||q.moveCells(q.getSelectionCells(),0,0,!1,T)}),ja,null,null,!X);X?ba.addCheckmark(ca,Editor.lockedImage):T==sa&&ba.addCheckmark(ca,Editor.checkmarkImage)})(q.model.getChildAt(q.model.root,O))}),U.x,U.y+P.offsetHeight,L)}});H.appendChild(P);var I=p.cloneNode(!1);I.setAttribute("title",mxResources.get("editData"));G=G.cloneNode(!1);G.setAttribute("src",Editor.editImage);I.appendChild(G);mxEvent.addListener(I,
+"click",function(L){q.isEnabled()&&a.showDataDialog(D);mxEvent.consume(L)});q.isEnabled()||(I.className="geButton mxDisabled");H.appendChild(I);var Z=new mxDictionary,S=p.cloneNode(!1);S.setAttribute("title",mxResources.get("duplicate"));G=G.cloneNode(!1);G.setAttribute("src",Editor.duplicateImage);S.appendChild(G);mxEvent.addListener(S,"click",function(L){if(q.isEnabled()){L=null;q.model.beginUpdate();try{L=q.cloneCell(D),q.cellLabelChanged(L,mxResources.get("untitledLayer")),L.setVisible(!0),L=
+q.addCell(L,q.model.root),q.setDefaultParent(L)}finally{q.model.endUpdate()}null==L||q.isCellLocked(L)||q.selectAll(L)}});q.isEnabled()||(S.className="geButton mxDisabled");H.appendChild(S);var Y=p.cloneNode(!1);Y.setAttribute("title",mxResources.get("addLayer"));G=G.cloneNode(!1);G.setAttribute("src",Editor.addImage);Y.appendChild(G);mxEvent.addListener(Y,"click",function(L){if(q.isEnabled()){q.model.beginUpdate();try{var U=q.addCell(new mxCell(mxResources.get("untitledLayer")),q.model.root);q.setDefaultParent(U)}finally{q.model.endUpdate()}n(U)}mxEvent.consume(L)});
+q.isEnabled()||(Y.className="geButton mxDisabled");H.appendChild(Y);k.appendChild(H);var V=document.createElement("span");V.setAttribute("title",mxResources.get("selectionOnly"));V.innerHTML="&#8226;";V.style.position="absolute";V.style.fontWeight="bold";V.style.fontSize="16pt";V.style.right="2px";V.style.top="2px";g();q.model.addListener(mxEvent.CHANGE,g);q.addListener("defaultParentChanged",g);a.addListener("lockedChanged",g);q.selectionModel.addListener(mxEvent.CHANGE,function(){q.isSelectionEmpty()?
+P.className="geButton mxDisabled":P.className="geButton";d()});this.window=new mxWindow(mxResources.get("layers"),k,b,e,f,h,!0,!0);this.window.minimumSize=new mxRectangle(0,0,150,120);this.window.destroyOnClose=!1;this.window.setMaximizable(!1);this.window.setResizable(!0);this.window.setClosable(!0);this.window.setVisible(!0);this.init=function(){w.scrollTop=w.scrollHeight-w.clientHeight};this.window.addListener(mxEvent.SHOW,mxUtils.bind(this,function(){this.window.fit()}));this.refreshLayers=g;
a.installResizeHandler(this,!0)};
(function(){Sidebar.prototype.tagIndex="5V1dV+M6sv01rDvngax0oLvveYQEaGaAziE0PW8sxVYSDbblI9uk6V9/VVWS7ST+kB0zL3etbmIn3ltlfZRKUqkU/rpRLN6MmFJym5yM/8QL/Xnw7yLceXQ03fA3JaOTyfjCQCKZehvu66tErCMW6J9E1M4jlJcFTJWIPP1VIKK1ixj/zML4VBRiTMaf9HOKx8G7/lwy71V/ZJEv8Vv8cKea9KW646tU41nk678/4tK7SZVu5FpC9oz/TDPVnkEPJlsn4wVma1lEnVemGByy6q+M+SXkSmaQ6Vv27gJeBDzyOQDMu1ma5FVEEVBEtuokgQhdyZ62Uv/9qWWoYPRltgx4A3U970/hc6BnIuD+kdI+KbGTcelGce6ec4evOBl/k0r8llGKtWBTvulF98xVKjzEvxWXDVS/M8VHF57Hk0TDpzpxJQGScC9TIoX3euXvVV/UcWWpDFkqsCYyfaM/1ly36vGf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Jkfu1W2Uqii7Tk6726P8D";
@@ -3828,64 +3826,65 @@ Sidebar.prototype.sap="Annotations;Colored Connectors;Foundations;Integration Su
Sidebar.prototype.gmdl="Bottom Navigation;Bottom Sheets;Buttons;Cards;Chips;Dialogs;Dividers;Grid Lists;Icons;Lists;Menus;Misc;Pickers;Selection Controls;Sliders;Steppers;Tabs;Text Fields".split(";");Sidebar.prototype.aws2="Analytics;Application Services;Compute;Database;Developer Tools;Enterprise Applications;Game Development;General;Internet of Things;Management Tools;Mobile Services;Networking;On-Demand Workforce;SDKs;Security and Identity;Storage and Content Delivery;Groups".split(";");Sidebar.prototype.aws3=
"Analytics;Application Services;Artificial Intelligence;Business Productivity;Compute;Contact Center;Database;Desktop and App Streaming;Developer Tools;Game Development;General;Groups;Internet of Things;Management Tools;Messaging;Migration;Mobile Services;Networking and Content Delivery;On Demand Workforce;SDKs;Security Identity and Compliance;Storage".split(";");Sidebar.prototype.aws4b="Arrows;General Resources;Illustrations;Groups Light;Groups Dark;Analytics;Application Integration;AR VR;Cost Management;Business Productivity;Compute;Customer Engagement;Database;Desktop App Streaming;Developer Tools;Game Development;Internet of Things;IoT Things;IoT Resources;Machine Learning;Management Tools;Media Services;Migration;Mobile Services;Network Content Delivery;Security Identity Compliance;Storage".split(";");
Sidebar.prototype.aws4="Arrows;General Resources;Illustrations;Groups;Analytics;Application Integration;AR VR;Cloud Financial Management;Blockchain;Business Applications;Compute;Contact Center;Containers;Customer Enablement;Customer Engagement;Database;Developer Tools;End User Computing;Front End Web Mobile;Game Tech;Internet of Things;IoT Things;IoT Resources;Machine Learning;Management Governance;Media Services;Migration Transfer;Network Content Delivery;Quantum Technologies;Robotics;Satellite;Serverless;Security Identity Compliance;Storage".split(";");
-Sidebar.prototype.office="Clouds Communications Concepts Databases Devices Security Servers Services Sites Users".split(" ");Sidebar.prototype.veeam="Data Center;Misc;Software;Storage;UsersStatus;VASComponents;Backup Replication;Products;VMs and Tape;2D;3D".split(";");Sidebar.prototype.veeam2="Auxiliary;Data Center;Features;General;Products and Components;Software;States;Storage;3D".split(";");Sidebar.prototype.archimate3="Application;Business;Generic;Implementation and Migration;Motivation;Relationships;Strategy;Technology".split(";");
+Sidebar.prototype.office="Clouds Communications Concepts Databases Devices Security Servers Services Sites Users".split(" ");Sidebar.prototype.openstack=["Blue","Grey","Green","Red"];Sidebar.prototype.veeam="Data Center;Misc;Software;Storage;UsersStatus;VASComponents;Backup Replication;Products;VMs and Tape;2D;3D".split(";");Sidebar.prototype.veeam2="Auxiliary;Data Center;Features;General;Products and Components;Software;States;Storage;3D".split(";");Sidebar.prototype.archimate3="Application;Business;Generic;Implementation and Migration;Motivation;Relationships;Strategy;Technology".split(";");
Sidebar.prototype.electrical="LogicGates Resistors Capacitors Inductors SwitchesRelays Diodes Sources Transistors Misc Audio PlcLadder Abstract Optical VacuumTubes Waveforms Instruments RotMech Transmission".split(" ");Sidebar.prototype.customEntries=null;Sidebar.prototype.appendCustomLibraries=!1;Sidebar.prototype.enabledLibraries=null;Sidebar.prototype.maxPreloadCount=20;Sidebar.prototype.configuration=[{id:"general",libs:["general","misc","advanced"]},{id:"uml"},{id:"uml25"},{id:"search"},{id:"er"},
-{id:"alibaba_cloud"},{id:"azure2",prefix:"azure2",libs:"AI Machine Learning;Analytics;App Services;Azure Ecosystem;Azure Stack;Azure VMware Solution;Blockchain;Compute;Containers;CXP;Databases;DevOps;General;Hybrid and Multicloud;Identity;Integration;Internet of Things;Intune;IoT;Management Governance;Menu;Migrate;Mixed Reality;Mobile;Monitor;Networking;Other;Preview;Security;Storage;Web".split(";")},{id:"ios",prefix:"ios",libs:["","7icons","7ui"]},{id:"android",prefix:"android",libs:[""]},{id:"aws3d"},
-{id:"flowchart"},{id:"basic"},{id:"infographic"},{id:"arrows"},{id:"arrows2"},{id:"lean_mapping"},{id:"citrix"},{id:"azure"},{id:"network"},{id:"vvd"},{id:"sitemap"},{id:"c4"},{id:"dfd"},{id:"threatModeling"},{id:"kubernetes"},{id:"cisco19",prefix:"cisco19",libs:Sidebar.prototype.cisco19},{id:"citrix2",prefix:"citrix2",libs:"Authentication;Cloud Services;Components;Locations;NetScaler;Networking;Resources;Users and Devices".split(";")},{id:"mscae",prefix:"mscae",libs:"Companies;EnterpriseFlat;IntuneFlat;OMSFlat;System CenterFlat;AI and ML Service;Analytics Service;Compute Service;Compute Service VM;Container Service;Databases Service;DevOps Service;General Service;Identity Service;Integration Service;Internet of Things Service;Intune Service;Management and Governance Service;Management and Governance Service Media;Migrate Service;Mixed Reality Service;Mobile Service;Networking Service;Other Category Service;Security Service;Storage Service;Web Service".split(";")},
+{id:"alibaba_cloud"},{id:"azure2",prefix:"azure2",libs:"AI Machine Learning;Analytics;App Services;Azure Ecosystem;Azure Stack;Azure VMware Solution;Blockchain;Compute;Containers;CXP;Databases;DevOps;General;Hybrid and Multicloud;Identity;Integration;Internet of Things;Intune;IoT;Management Governance;Menu;Migrate;Mixed Reality;Mobile;Monitor;Networking;Other;Power Platform;Preview;Security;Storage;Web".split(";")},{id:"dynamics365",prefix:"dynamics365",libs:["App","Mixed Reality","Product Family",
+"Sub App"]},{id:"ios",prefix:"ios",libs:["","7icons","7ui"]},{id:"android",prefix:"android",libs:[""]},{id:"aws3d"},{id:"flowchart"},{id:"basic"},{id:"infographic"},{id:"arrows"},{id:"arrows2"},{id:"lean_mapping"},{id:"citrix"},{id:"azure"},{id:"network"},{id:"vvd"},{id:"sitemap"},{id:"c4"},{id:"dfd"},{id:"threatModeling"},{id:"kubernetes"},{id:"cisco19",prefix:"cisco19",libs:Sidebar.prototype.cisco19},{id:"citrix2",prefix:"citrix2",libs:"Authentication;Cloud Services;Components;Locations;NetScaler;Networking;Resources;Users and Devices".split(";")},
+{id:"mscae",prefix:"mscae",libs:"Companies;EnterpriseFlat;IntuneFlat;OMSFlat;System CenterFlat;AI and ML Service;Analytics Service;Compute Service;Compute Service VM;Container Service;Databases Service;DevOps Service;General Service;Identity Service;Integration Service;Internet of Things Service;Intune Service;Management and Governance Service;Management and Governance Service Media;Migrate Service;Mixed Reality Service;Mobile Service;Networking Service;Other Category Service;Security Service;Storage Service;Web Service".split(";")},
{id:"active_directory"},{id:"bpmn2",prefix:"bpmn2",libs:["General","Tasks","Choreographies","Events","Gateways"]},{id:"clipart",prefix:null,libs:"computer finance clipart networking people telco".split(" ")},{id:"ibm",prefix:"ibm",libs:Sidebar.prototype.ibm},{id:"ibm_cloud",prefix:"ibm_cloud",libs:Sidebar.prototype.ibm_cloud},{id:"allied_telesis",prefix:"allied_telesis",libs:Sidebar.prototype.allied_telesis},{id:"cumulus",libs:["cumulus"]},{id:"eip",prefix:"eip",libs:Sidebar.prototype.eip},{id:"mockups",
prefix:"mockup",libs:"Buttons Containers Forms Graphics Markup Misc Navigation Text".split(" ")},{id:"pid2",prefix:"pid2",libs:"Agitators;Apparatus Elements;Centrifuges;Compressors;Compressors ISO;Crushers Grinding;Driers;Engines;Feeders;Filters;Fittings;Flow Sensors;Heat Exchangers;Instruments;Misc;Mixers;Piping;Pumps;Pumps DIN;Pumps ISO;Separators;Shaping Machines;Valves;Vessels".split(";")},{id:"salesforce",prefix:"salesforce",libs:["Components","Product","Platform","Industry"]},{id:"signs",prefix:"signs",
libs:Sidebar.prototype.signs},{id:"gcp",prefix:"gcp",libs:Sidebar.prototype.gcp},{id:"gcp2",prefix:"gcp2",libs:Sidebar.prototype.gcp2},{id:"gcpicons",prefix:"gcpicons",libs:Sidebar.prototype.gcpicons},{id:"rack",prefix:"rack",libs:Sidebar.prototype.rack},{id:"electrical",prefix:"electrical",libs:Sidebar.prototype.electrical},{id:"aws2",prefix:"aws2",libs:Sidebar.prototype.aws2},{id:"aws3",prefix:"aws3",libs:Sidebar.prototype.aws3},{id:"aws4b",prefix:"aws4b",libs:Sidebar.prototype.aws4b},{id:"sap",
-prefix:"sap",libs:Sidebar.prototype.sap},{id:"aws4",prefix:"aws4",libs:Sidebar.prototype.aws4},{id:"pid",prefix:"pid",libs:Sidebar.prototype.pids},{id:"cisco",prefix:"cisco",libs:Sidebar.prototype.cisco},{id:"cisco_safe",prefix:"cisco_safe",libs:Sidebar.prototype.cisco_safe},{id:"office",prefix:"office",libs:Sidebar.prototype.office},{id:"veeam",prefix:"veeam",libs:Sidebar.prototype.veeam},{id:"veeam2",prefix:"veeam2",libs:Sidebar.prototype.veeam2},{id:"cabinets",libs:["cabinets"]},{id:"floorplan",
-libs:["floorplan"]},{id:"bootstrap",libs:["bootstrap"]},{id:"atlassian",libs:["atlassian"]},{id:"fluid_power",libs:["fluid_power"]},{id:"gmdl",prefix:"gmdl",libs:Sidebar.prototype.gmdl},{id:"archimate3",prefix:"archimate3",libs:Sidebar.prototype.archimate3},{id:"archimate",libs:["archimate"]},{id:"webicons",libs:["webicons","weblogos"]},{id:"sysml",prefix:"sysml",libs:Sidebar.prototype.sysml}];var a=Sidebar.prototype.addEntry;Sidebar.prototype.addEntry=function(h,k){return null!=this.currentSearchEntryLibrary&&
-null!=this.enabledLibraries&&0>mxUtils.indexOf(this.enabledLibraries,this.currentSearchEntryLibrary.id)?k:a.apply(this,arguments)};var b=Sidebar.prototype.refresh;Sidebar.prototype.refresh=function(){var h=this.editorUi;b.apply(this,arguments);null!=h.scratchpad&&h.loadLibrary(new StorageLibrary(h,h.scratchpad.getData(),".scratchpad"))};Sidebar.prototype.togglePalettes=function(h,k){this.showPalettes(h,k)};Sidebar.prototype.togglePalette=function(h){this.showPalette(h)};Sidebar.prototype.showPalettes=
-function(h,k,l){for(var m=0;m<k.length;m++)this.showPalette(h+k[m],l)};Sidebar.prototype.showPalette=function(h,k){h=this.palettes[h];if(null!=h){k=null!=k?k?"block":"none":"none"==h[0].style.display?"block":"none";for(var l=0;l<h.length;l++)h[l].style.display=k}return h};Sidebar.prototype.getConfigurationById=function(h){for(var k=0;k<this.configuration.length;k++)if(this.configuration[k].id==h)return this.configuration[k];if(null!=this.customEntries)for(k=0;k<this.customEntries.length;k++)for(var l=
-this.customEntries[k]||{},m=0;null!=l.entries&&m<l.entries.length;m++){var n=l.entries[m];if(n.id==h)return{id:n.id,libs:n.libs}}return null};Sidebar.prototype.isEntryVisible=function(h){if(".scratchpad"==h)return null!=this.editorUi.scratchpad;var k=this.getConfigurationById(h);if(null!=k){var l=this.palettes[null!=k.libs?(k.prefix||"")+k.libs[0]:h];if(null!=l)return"none"!=l[0].style.display}if(null!=this.customEntries)for(k=0;k<this.customEntries.length;k++){l=this.customEntries[k]||{};for(var m=
-0;null!=l.entries&&m<l.entries.length;m++){var n=l.entries[m];if(n.id==h){if(null!=n.libs&&0<n.libs.length&&(l=this.palettes[n.id+".0"],null!=l))return"none"!=l[0].style.display;break}}}return!1};Sidebar.prototype.showEntries=function(h,k,l){var m=[];k&&(mxSettings.setLibraries(h),mxSettings.save());null!=h&&(l||0<h.length)?m.push(h):(h=!1,null!=urlParams.libs&&0<urlParams.libs.length&&(m.push(decodeURIComponent(urlParams.libs)),h="draw.io"==this.editorUi.getServiceName()),h||(null!=mxSettings&&null!=
-mxSettings.settings?m.push(mxSettings.getLibraries()):m.push(this.defaultEntries)));k=m.join(";").split(";");m={};for(h=0;h<k.length;h++)m[this.libAliases[k[h]]||k[h]]=!0;for(h=0;h<this.configuration.length;h++)"search"!=this.configuration[h].id&&this.showPalettes(this.configuration[h].prefix||"",this.configuration[h].libs||[this.configuration[h].id],1==m[this.configuration[h].id]);if(null!=this.customEntries)for(h=0;h<this.customEntries.length;h++)for(k=this.customEntries[h]||{},l=0;null!=k.entries&&
-l<k.entries.length;l++){var n=k.entries[l];if(null!=n.libs&&0<n.libs.length){for(var p=[],q=0;q<n.libs.length;q++)p.push(n.id+"."+q);this.showPalettes("",p,m[n.id])}}};Sidebar.prototype.init=function(){this.updateEntries();this.addStencilsToIndex=!1;this.shapetags={};null!=this.tagIndex&&(this.addTagIndex(Graph.decompress(this.tagIndex)),this.tagIndex=null);this.initPalettes()};Sidebar.prototype.updateEntries=function(){var h=[{title:mxResources.get("general"),id:"general",image:IMAGE_PATH+"/sidebar-general.png"},
-{title:mxResources.get("basic"),id:"basic",image:IMAGE_PATH+"/sidebar-basic.png"},{title:mxResources.get("arrows"),id:"arrows2",image:IMAGE_PATH+"/sidebar-arrows2.png"},{title:mxResources.get("clipart"),id:"clipart",image:IMAGE_PATH+"/sidebar-clipart.png"},{title:mxResources.get("flowchart"),id:"flowchart",image:IMAGE_PATH+"/sidebar-flowchart.png"}];if("simple"==Editor.currentTheme||"sketch"==Editor.currentTheme||"min"==Editor.currentTheme)h=[{title:mxResources.get("searchShapes"),id:"search"},{title:mxResources.get("scratchpad"),
-id:".scratchpad"}].concat(h);var k=(new Date).getFullYear();this.entries=[{title:mxResources.get("standard"),entries:h},{title:mxResources.get("software"),entries:[{title:"Active Directory",id:"active_directory",image:IMAGE_PATH+"/sidebar-active_directory.png"},{title:mxResources.get("android"),id:"android",image:IMAGE_PATH+"/sidebar-android.png"},{title:"Atlassian",id:"atlassian",image:IMAGE_PATH+"/sidebar-atlassian.png"},{title:mxResources.get("bootstrap"),id:"bootstrap",image:IMAGE_PATH+"/sidebar-bootstrap.png"},
-{title:"C4",id:"c4",image:IMAGE_PATH+"/sidebar-c4.png"},{title:"Data Flow Diagram",id:"dfd",image:IMAGE_PATH+"/sidebar-dfd.png"},{title:mxResources.get("entityRelation"),id:"er",image:IMAGE_PATH+"/sidebar-er.png"},{title:mxResources.get("ios"),id:"ios",image:IMAGE_PATH+"/sidebar-ios.png"},{title:mxResources.get("mockups"),id:"mockups",image:IMAGE_PATH+"/sidebar-mockups.png"},{title:"Sitemap",id:"sitemap",image:IMAGE_PATH+"/sidebar-sitemap.png"},{title:"Salesforce",id:"salesforce",image:IMAGE_PATH+
-"/sidebar-salesforce.png"},{title:mxResources.get("uml")+" 2.5",id:"uml25",image:IMAGE_PATH+"/sidebar-uml25.png"},{title:mxResources.get("uml"),id:"uml",image:IMAGE_PATH+"/sidebar-uml.png"}]},{title:mxResources.get("networking"),entries:[{title:"Alibaba Cloud",id:"alibaba_cloud",image:IMAGE_PATH+"/sidebar-alibaba_cloud.png"},{title:"Allied Telesis",id:"allied_telesis",image:IMAGE_PATH+"/sidebar-allied_telesis.png"},{title:"AWS17",id:"aws3",image:IMAGE_PATH+"/sidebar-aws3.png"},{title:"AWS18",id:"aws4b",
-image:IMAGE_PATH+"/sidebar-aws4b.png"},{title:"AWS "+k,id:"aws4",image:IMAGE_PATH+"/sidebar-aws4.png"},{title:mxResources.get("aws3d"),id:"aws3d",image:IMAGE_PATH+"/sidebar-aws3d.png"},{title:mxResources.get("azure"),id:"azure2",image:IMAGE_PATH+"/sidebar-azure.png"},{title:"Cloud & Enterprise",id:"mscae",image:IMAGE_PATH+"/sidebar-mscae.png"},{title:mxResources.get("cisco"),id:"cisco",image:IMAGE_PATH+"/sidebar-cisco.png"},{title:"Cisco19",id:"cisco19",image:IMAGE_PATH+"/sidebar-cisco19.png"},{title:"Cisco Safe",
-id:"cisco_safe",image:IMAGE_PATH+"/sidebar-cisco_safe.png"},{title:"Cumulus",id:"cumulus",image:IMAGE_PATH+"/sidebar-cumulus.png"},{title:"Citrix",id:"citrix2",image:IMAGE_PATH+"/sidebar-citrix2.png"},{title:"Citrix (legacy)",id:"citrix",image:IMAGE_PATH+"/sidebar-citrix.png"},{title:"Google Cloud Platform",id:"gcp2",image:IMAGE_PATH+"/sidebar-gcp2.png"},{title:"GCP Icons",id:"gcpicons",image:IMAGE_PATH+"/sidebar-gcpicons.png"},{title:"IBM",id:"ibm",image:IMAGE_PATH+"/sidebar-ibm.png"},{title:"IBM Cloud",
-id:"ibm_cloud",image:IMAGE_PATH+"/sidebar-ibmcloud.png"},{title:"Kubernetes",id:"kubernetes",image:IMAGE_PATH+"/sidebar-kubernetes.png"},{title:"Network",id:"network",image:IMAGE_PATH+"/sidebar-network.png"},{title:"Office",id:"office",image:IMAGE_PATH+"/sidebar-office.png"},{title:mxResources.get("rack"),id:"rack",image:IMAGE_PATH+"/sidebar-rack.png"},{title:"SAP",id:"sap",image:IMAGE_PATH+"/sidebar-sap.png"},{title:"Veeam",id:"veeam2",image:IMAGE_PATH+"/sidebar-veeam.png"},{title:"VMware",id:"vvd",
-image:IMAGE_PATH+"/sidebar-vvd.png"}]},{title:mxResources.get("business"),entries:[{title:"ArchiMate 3.2",id:"archimate3",image:IMAGE_PATH+"/sidebar-archimate3.png"},{title:mxResources.get("archiMate21"),id:"archimate",image:IMAGE_PATH+"/sidebar-archimate.png"},{title:mxResources.get("bpmn")+" 2.0",id:"bpmn2",image:IMAGE_PATH+"/sidebar-bpmn.png"},{title:mxResources.get("sysml"),id:"sysml",image:IMAGE_PATH+"/sidebar-sysml.png"},{title:"Value Stream Mapping",id:"lean_mapping",image:IMAGE_PATH+"/sidebar-leanmapping.png"}]},
-{title:mxResources.get("other"),entries:[{title:mxResources.get("cabinets"),id:"cabinets",image:IMAGE_PATH+"/sidebar-cabinets.png"},{title:"Infographic",id:"infographic",image:IMAGE_PATH+"/sidebar-infographic.png"},{title:mxResources.get("eip"),id:"eip",image:IMAGE_PATH+"/sidebar-eip.png"},{title:mxResources.get("electrical"),id:"electrical",image:IMAGE_PATH+"/sidebar-electrical.png"},{title:mxResources.get("floorplans"),id:"floorplan",image:IMAGE_PATH+"/sidebar-floorplans.png"},{title:"Fluid Power (ISO 1219)",
-id:"fluid_power",image:IMAGE_PATH+"/sidebar-fluid_power.png"},{title:mxResources.get("gmdl"),id:"gmdl",image:IMAGE_PATH+"/sidebar-gmdl.png"},{title:mxResources.get("procEng"),id:"pid",image:IMAGE_PATH+"/sidebar-pid.png"},{title:"Threat Modeling",id:"threatModeling",image:IMAGE_PATH+"/sidebar-threatmodeling.png"},{title:"Web Icons",id:"webicons",image:IMAGE_PATH+"/sidebar-webIcons.png"},{title:mxResources.get("signs"),id:"signs",image:IMAGE_PATH+"/sidebar-signs.png"}]}]};"1"==urlParams.savesidebar&&
-(Sidebar.prototype.addFoldingHandler=function(h,k,l){var m=!1;if(!mxClient.IS_IE||8<=document.documentMode)h.style.backgroundImage="none"==k.style.display?"url('"+this.collapsedImage+"')":"url('"+this.expandedImage+"')";h.style.backgroundRepeat="no-repeat";h.style.backgroundPosition="0% 50%";var n=document.createElement("button");n.style.marginLeft="4px";mxUtils.write(n,"Save");mxEvent.addListener(h,"click",mxUtils.bind(this,function(p){if("BUTTON"==mxEvent.getSource(p).nodeName){p=k.getElementsByTagName("svg");
-var q=68*Math.ceil(p.length/6)+36,t=Graph.createSvgNode(0,0,432,q,"#ffffff"),v=new mxSvgCanvas2D(t);v.setFontFamily(mxConstants.DEFAULT_FONTFAMILY);v.setFontStyle(mxConstants.FONT_BOLD);v.setFontColor("rgb(80, 80, 80)");v.setFontSize(14);var u=h.getElementsByTagName("span");0<u.length&&v.text(6,0,0,0,mxUtils.getTextContent(u[0]));for(v=0;v<p.length;v++)u=p[v].cloneNode(!0),u.removeAttribute("style"),u.setAttribute("width",this.thumbWidth),u.setAttribute("height",this.thumbHeight),u.setAttribute("x",
-12+68*mxUtils.mod(v,6)),u.setAttribute("y",24+68*Math.floor(v/6)),t.appendChild(u);this.editorUi.editor.convertImages(t,mxUtils.bind(this,function(r){var x=document.createElement("canvas");x.width=432;x.height=q;var y=document.createElement("img");y.onload=mxUtils.bind(this,function(){x.getContext("2d").drawImage(y,0,0);this.editorUi.saveCanvas(x,null,"png")});r=Graph.xmlDeclaration+"\n"+Graph.svgDoctype+"\n"+mxUtils.getXml(t);y.src=Editor.createSvgDataUri(r)}))}else{if("none"==k.style.display){if(m)h.appendChild(n);
-else if(m=!0,null!=l){null!=n.parentNode&&n.parentNode.removeChild(n);h.style.cursor="wait";var w=h.innerHTML;h.innerHTML=mxResources.get("loading")+"...";window.setTimeout(function(){l(k);h.style.cursor="";h.innerHTML=w;h.appendChild(n)},0)}else h.appendChild(n);h.style.backgroundImage="url('"+this.expandedImage+"')";k.style.display="block"}else h.style.backgroundImage="url('"+this.collapsedImage+"')",k.style.display="none",null!=n.parentNode&&n.parentNode.removeChild(n);mxEvent.consume(p)}}))});
-Sidebar.prototype.extractShapeStyle=function(h){if(null!=h&&"shape="==h.substring(0,6)){var k=h.indexOf(";");0>k&&(k=h.length);return h.substring(6,k)}return null};var d=Sidebar.prototype.getTagsForStencil;Sidebar.prototype.getTagsForStencil=function(h,k,l){var m=d.apply(this,arguments);null!=this.shapetags&&(h=h.toLowerCase(),k=k.toLowerCase(),null!=this.shapetags[h]&&m.push(this.shapetags[h]),k=h+"."+k,null!=this.shapetags[k]&&m.push(this.shapetags[k]));return m};Sidebar.prototype.addTagIndex=function(h){h=
-h.split("\n");for(var k=0;k<h.length;k++)if(null!=h[k]){var l=h[k].split("\t");if(1<l.length){var m=l[0].toLowerCase().replace(" ","_");l=mxUtils.trim(l.slice(1,l.length).join(" ").toLowerCase());0<l.length&&(this.shapetags[m]=l)}}};Sidebar.prototype.getUniqueLibraries=function(h){for(var k={},l=[],m=0;m<h.length;m++){var n=JSON.stringify(h[m]);null==k[n]&&(k[n]=!0,l.push(h[m]))}return l};Sidebar.prototype.openLibraries=function(h){h=this.getUniqueLibraries(h);for(var k=null,l=0;l<h.length;l++){var m=
-this.getConfigurationById(h[l].id);null!=m&&(m=this.openLibrary(m,h[l].lib||h[l].id),null!=m&&null==k&&(k=m))}null!=k&&window.setTimeout(function(){k[0].scrollIntoView({behavior:"smooth"})},0)};Sidebar.prototype.openLibrary=function(h,k){this.showPalettes(h.prefix||"",h.libs||[h.id],!0);h=this.showPalette(k,!0);null!=h&&1<h.length&&null!=h[1].firstChild&&(null==h[1].firstChild.firstChild||"none"==h[1].firstChild.style.display)&&h[0].click();return h};Sidebar.prototype.showPopupMenuForEntry=function(h,
-k,l){if(null!=k&&0<k.length){var m=mxUtils.getOffset(h);this.editorUi.showPopupMenu(mxUtils.bind(this,function(n,p){n.addItem(mxResources.get("openLibrary"),null,mxUtils.bind(this,function(){this.openLibraries(k)}))}),m.x,m.y+h.offsetHeight,l);mxEvent.consume(l)}};Sidebar.prototype.addSearchIndex=function(h){if(null!=h)for(var k=0;k<h.length;k++)if(null!=h[k].style){var l=h[k].style,m=this.extractShapeStyle(l);if(null!=m){var n=m.lastIndexOf(".");if(0<n){var p=m.substring(0,n);m=m.substring(n+1,m.length);
-n=this.getTagsForStencil(p,m,h[k].tags);if(null!=n){var q=l.indexOf(";");l="shape="+p+"."+m.toLowerCase()+";"+(0>q?"":l.substring(q+1));this.setCurrentSearchEntryLibrary(h[k].id,h[k].lib);this.createVertexTemplateEntry(l,parseInt(h[k].w),parseInt(h[k].h),"",m.replace(/_/g," "),null,null,this.filterTags(n.join(" ")));null!=this.currentSearchEntryLibrary&&this.addLibForStyle(this.getKeyStyle(l),this.currentSearchEntryLibrary);this.setCurrentSearchEntryLibrary()}}}}};Sidebar.prototype.initPalettes=function(){var h=
-GRAPH_IMAGE_PATH,k=STENCIL_PATH,l=this.signs,m=this.rack,n=this.pids,p=this.cisco,q=this.sysml;"1"==urlParams.createindex&&(this.createdSearchIndex=[]);this.addSearchPalette(!0);this.appendCustomLibraries||this.addCustomEntries();this.addGeneralPalette(null==this.customEntries);this.addMiscPalette(!1);this.addAdvancedPalette(!1);this.addBasicPalette();this.addStencilPalette("arrows",mxResources.get("arrows"),k+"/arrows.xml",";html=1;"+mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+
-"=top;"+mxConstants.STYLE_STROKEWIDTH+"=2;strokeColor=#000000;",null,null,null,null,null,"arrows");this.addArrows2Palette();this.setCurrentSearchEntryLibrary("clipart","computer");this.addImagePalette("computer","Clipart / Computer",h+"/lib/clip_art/computers/","_128x128.png","Antivirus Data_Filtering Database Database_Add Database_Minus Database_Move_Stack Database_Remove Fujitsu_Tablet Harddrive IBM_Tablet iMac iPad Laptop MacBook Mainframe Monitor Monitor_Tower Monitor_Tower_Behind Netbook Network Network_2 Printer Printer_Commercial Secure_System Server Server_Rack Server_Rack_Empty Server_Rack_Partial Server_Tower Software Stylus Touch USB_Hub Virtual_Application Virtual_Machine Virus Workstation".split(" "),
-"Antivirus;Data Filtering;Database;Database Add;Database Minus;Database Move Stack;Database Remove;Fujitsu Tablet;Harddrive;IBMTablet;iMac;iPad;Laptop;MacBook;Mainframe;Monitor;Monitor Tower;Monitor Tower Behind;Netbook;Network;Network 2;Printer;Printer Commercial;Secure System;Server;Server Rack;Server Rack Empty;Server Rack Partial;Server Tower;Software;Stylus;Touch;USB Hub;Virtual Application;Virtual Machine;Virus;Workstation".split(";"));this.setCurrentSearchEntryLibrary("clipart","finance");
-this.addImagePalette("finance","Clipart / Finance",h+"/lib/clip_art/finance/","_128x128.png","Arrow_Down Arrow_Up Coins Credit_Card Dollar Graph Pie_Chart Piggy_Bank Safe Shopping_Cart Stock_Down Stock_Up".split(" "),"Arrow_Down;Arrow Up;Coins;Credit Card;Dollar;Graph;Pie Chart;Piggy Bank;Safe;Shopping Basket;Stock Down;Stock Up".split(";"));this.setCurrentSearchEntryLibrary("clipart","clipart");this.addImagePalette("clipart","Clipart / Various",h+"/lib/clip_art/general/","_128x128.png","Battery_0 Battery_100 Battery_50 Battery_75 Battery_allstates Bluetooth Earth_globe Empty_Folder Full_Folder Gear Keys Lock Mouse_Pointer Plug Ships_Wheel Star Tire".split(" "),
-"Battery 0%;Battery 100%;Battery 50%;Battery 75%;Battery;Bluetooth;Globe;Empty Folder;Full Folder;Gear;Keys;Lock;Mousepointer;Plug;Ships Wheel;Star;Tire".split(";"));this.setCurrentSearchEntryLibrary("clipart","networking");this.addImagePalette("networking","Clipart / Networking",h+"/lib/clip_art/networking/","_128x128.png","Bridge Certificate Certificate_Off Cloud Cloud_Computer Cloud_Computer_Private Cloud_Rack Cloud_Rack_Private Cloud_Server Cloud_Server_Private Cloud_Storage Concentrator Email Firewall_02 Firewall Firewall-page1 Ip_Camera Modem power_distribution_unit Print_Server Print_Server_Wireless Repeater Router Router_Icon Switch UPS Wireless_Router Wireless_Router_N".split(" "),
-"Bridge;Certificate;Certificate Off;Cloud;Cloud Computer;Cloud Computer Private;Cloud Rack;Cloud Rack Private;Cloud Server;Cloud Server Private;Cloud Storage;Concentrator;Email;Firewall 1;Firewall 2;Firewall;Camera;Modem;Power Distribution Unit;Print Server;Print Server Wireless;Repeater;Router;Router Icon;Switch;UPS;Wireless Router;Wireless Router N".split(";"),{Wireless_Router:"wireless router switch wap wifi access point wlan",Wireless_Router_N:"wireless router switch wap wifi access point wlan",
-Router:"router switch",Router_Icon:"router switch"});this.setCurrentSearchEntryLibrary("clipart","people");this.addImagePalette("people","Clipart / People",h+"/lib/clip_art/people/","_128x128.png","Suit_Man Suit_Man_Black Suit_Man_Blue Suit_Man_Green Suit_Man_Green_Black Suit_Woman Suit_Woman_Black Suit_Woman_Blue Suit_Woman_Green Suit_Woman_Green_Black Construction_Worker_Man Construction_Worker_Man_Black Construction_Worker_Woman Construction_Worker_Woman_Black Doctor_Man Doctor_Man_Black Doctor_Woman Doctor_Woman_Black Farmer_Man Farmer_Man_Black Farmer_Woman Farmer_Woman_Black Nurse_Man Nurse_Man_Black Nurse_Woman Nurse_Woman_Black Military_Officer Military_Officer_Black Military_Officer_Woman Military_Officer_Woman_Black Pilot_Man Pilot_Man_Black Pilot_Woman Pilot_Woman_Black Scientist_Man Scientist_Man_Black Scientist_Woman Scientist_Woman_Black Security_Man Security_Man_Black Security_Woman Security_Woman_Black Tech_Man Tech_Man_Black Telesales_Man Telesales_Man_Black Telesales_Woman Telesales_Woman_Black Waiter Waiter_Black Waiter_Woman Waiter_Woman_Black Worker_Black Worker_Man Worker_Woman Worker_Woman_Black".split(" "));
+prefix:"sap",libs:Sidebar.prototype.sap},{id:"aws4",prefix:"aws4",libs:Sidebar.prototype.aws4},{id:"pid",prefix:"pid",libs:Sidebar.prototype.pids},{id:"cisco",prefix:"cisco",libs:Sidebar.prototype.cisco},{id:"cisco_safe",prefix:"cisco_safe",libs:Sidebar.prototype.cisco_safe},{id:"office",prefix:"office",libs:Sidebar.prototype.office},{id:"openstack",prefix:"openstack",libs:Sidebar.prototype.openstack},{id:"veeam",prefix:"veeam",libs:Sidebar.prototype.veeam},{id:"veeam2",prefix:"veeam2",libs:Sidebar.prototype.veeam2},
+{id:"cabinets",libs:["cabinets"]},{id:"floorplan",libs:["floorplan"]},{id:"bootstrap",libs:["bootstrap"]},{id:"atlassian",libs:["atlassian"]},{id:"fluid_power",libs:["fluid_power"]},{id:"gmdl",prefix:"gmdl",libs:Sidebar.prototype.gmdl},{id:"archimate3",prefix:"archimate3",libs:Sidebar.prototype.archimate3},{id:"archimate",libs:["archimate"]},{id:"webicons",libs:["webicons","weblogos"]},{id:"sysml",prefix:"sysml",libs:Sidebar.prototype.sysml}];var a=Sidebar.prototype.addEntry;Sidebar.prototype.addEntry=
+function(h,k){return null!=this.currentSearchEntryLibrary&&null!=this.enabledLibraries&&0>mxUtils.indexOf(this.enabledLibraries,this.currentSearchEntryLibrary.id)?k:a.apply(this,arguments)};var b=Sidebar.prototype.refresh;Sidebar.prototype.refresh=function(){var h=this.editorUi;b.apply(this,arguments);null!=h.scratchpad&&h.loadLibrary(new StorageLibrary(h,h.scratchpad.getData(),".scratchpad"))};Sidebar.prototype.togglePalettes=function(h,k){this.showPalettes(h,k)};Sidebar.prototype.togglePalette=
+function(h){this.showPalette(h)};Sidebar.prototype.showPalettes=function(h,k,l){for(var m=0;m<k.length;m++)this.showPalette(h+k[m],l)};Sidebar.prototype.showPalette=function(h,k){h=this.palettes[h];if(null!=h){k=null!=k?k?"block":"none":"none"==h[0].style.display?"block":"none";for(var l=0;l<h.length;l++)h[l].style.display=k}return h};Sidebar.prototype.getConfigurationById=function(h){for(var k=0;k<this.configuration.length;k++)if(this.configuration[k].id==h)return this.configuration[k];if(null!=
+this.customEntries)for(k=0;k<this.customEntries.length;k++)for(var l=this.customEntries[k]||{},m=0;null!=l.entries&&m<l.entries.length;m++){var n=l.entries[m];if(n.id==h)return{id:n.id,libs:n.libs}}return null};Sidebar.prototype.isEntryVisible=function(h){if(".scratchpad"==h)return null!=this.editorUi.scratchpad;var k=this.getConfigurationById(h);if(null!=k){var l=this.palettes[null!=k.libs?(k.prefix||"")+k.libs[0]:h];if(null!=l)return"none"!=l[0].style.display}if(null!=this.customEntries)for(k=0;k<
+this.customEntries.length;k++){l=this.customEntries[k]||{};for(var m=0;null!=l.entries&&m<l.entries.length;m++){var n=l.entries[m];if(n.id==h){if(null!=n.libs&&0<n.libs.length&&(l=this.palettes[n.id+".0"],null!=l))return"none"!=l[0].style.display;break}}}return!1};Sidebar.prototype.showEntries=function(h,k,l){var m=[];k&&(mxSettings.setLibraries(h),mxSettings.save());null!=h&&(l||0<h.length)?m.push(h):(h=!1,null!=urlParams.libs&&0<urlParams.libs.length&&(m.push(decodeURIComponent(urlParams.libs)),
+h="draw.io"==this.editorUi.getServiceName()),h||(null!=mxSettings&&null!=mxSettings.settings?m.push(mxSettings.getLibraries()):m.push(this.defaultEntries)));k=m.join(";").split(";");m={};for(h=0;h<k.length;h++)m[this.libAliases[k[h]]||k[h]]=!0;for(h=0;h<this.configuration.length;h++)"search"!=this.configuration[h].id&&this.showPalettes(this.configuration[h].prefix||"",this.configuration[h].libs||[this.configuration[h].id],1==m[this.configuration[h].id]);if(null!=this.customEntries)for(h=0;h<this.customEntries.length;h++)for(k=
+this.customEntries[h]||{},l=0;null!=k.entries&&l<k.entries.length;l++){var n=k.entries[l];if(null!=n.libs&&0<n.libs.length){for(var p=[],q=0;q<n.libs.length;q++)p.push(n.id+"."+q);this.showPalettes("",p,m[n.id])}}};Sidebar.prototype.init=function(){this.updateEntries();this.addStencilsToIndex=!1;this.shapetags={};null!=this.tagIndex&&(this.addTagIndex(Graph.decompress(this.tagIndex)),this.tagIndex=null);this.initPalettes()};Sidebar.prototype.updateEntries=function(){var h=[{title:mxResources.get("general"),
+id:"general",image:IMAGE_PATH+"/sidebar-general.png"},{title:mxResources.get("basic"),id:"basic",image:IMAGE_PATH+"/sidebar-basic.png"},{title:mxResources.get("arrows"),id:"arrows2",image:IMAGE_PATH+"/sidebar-arrows2.png"},{title:mxResources.get("clipart"),id:"clipart",image:IMAGE_PATH+"/sidebar-clipart.png"},{title:mxResources.get("flowchart"),id:"flowchart",image:IMAGE_PATH+"/sidebar-flowchart.png"}];if("simple"==Editor.currentTheme||"sketch"==Editor.currentTheme||"min"==Editor.currentTheme)h=[{title:mxResources.get("searchShapes"),
+id:"search"},{title:mxResources.get("scratchpad"),id:".scratchpad"}].concat(h);var k=(new Date).getFullYear();this.entries=[{title:mxResources.get("standard"),entries:h},{title:mxResources.get("software"),entries:[{title:"Active Directory",id:"active_directory",image:IMAGE_PATH+"/sidebar-active_directory.png"},{title:mxResources.get("android"),id:"android",image:IMAGE_PATH+"/sidebar-android.png"},{title:"Atlassian",id:"atlassian",image:IMAGE_PATH+"/sidebar-atlassian.png"},{title:mxResources.get("bootstrap"),
+id:"bootstrap",image:IMAGE_PATH+"/sidebar-bootstrap.png"},{title:"C4",id:"c4",image:IMAGE_PATH+"/sidebar-c4.png"},{title:"Data Flow Diagram",id:"dfd",image:IMAGE_PATH+"/sidebar-dfd.png"},{title:mxResources.get("entityRelation"),id:"er",image:IMAGE_PATH+"/sidebar-er.png"},{title:mxResources.get("ios"),id:"ios",image:IMAGE_PATH+"/sidebar-ios.png"},{title:mxResources.get("mockups"),id:"mockups",image:IMAGE_PATH+"/sidebar-mockups.png"},{title:"Sitemap",id:"sitemap",image:IMAGE_PATH+"/sidebar-sitemap.png"},
+{title:"Salesforce",id:"salesforce",image:IMAGE_PATH+"/sidebar-salesforce.png"},{title:mxResources.get("uml")+" 2.5",id:"uml25",image:IMAGE_PATH+"/sidebar-uml25.png"},{title:mxResources.get("uml"),id:"uml",image:IMAGE_PATH+"/sidebar-uml.png"}]},{title:mxResources.get("networking"),entries:[{title:"Alibaba Cloud",id:"alibaba_cloud",image:IMAGE_PATH+"/sidebar-alibaba_cloud.png"},{title:"Allied Telesis",id:"allied_telesis",image:IMAGE_PATH+"/sidebar-allied_telesis.png"},{title:"AWS17",id:"aws3",image:IMAGE_PATH+
+"/sidebar-aws3.png"},{title:"AWS18",id:"aws4b",image:IMAGE_PATH+"/sidebar-aws4b.png"},{title:"AWS "+k,id:"aws4",image:IMAGE_PATH+"/sidebar-aws4.png"},{title:mxResources.get("aws3d"),id:"aws3d",image:IMAGE_PATH+"/sidebar-aws3d.png"},{title:mxResources.get("azure"),id:"azure2",image:IMAGE_PATH+"/sidebar-azure.png"},{title:"Cloud & Enterprise",id:"mscae",image:IMAGE_PATH+"/sidebar-mscae.png"},{title:mxResources.get("cisco"),id:"cisco",image:IMAGE_PATH+"/sidebar-cisco.png"},{title:"Cisco19",id:"cisco19",
+image:IMAGE_PATH+"/sidebar-cisco19.png"},{title:"Cisco Safe",id:"cisco_safe",image:IMAGE_PATH+"/sidebar-cisco_safe.png"},{title:"Cumulus",id:"cumulus",image:IMAGE_PATH+"/sidebar-cumulus.png"},{title:"Citrix",id:"citrix2",image:IMAGE_PATH+"/sidebar-citrix2.png"},{title:"Citrix (legacy)",id:"citrix",image:IMAGE_PATH+"/sidebar-citrix.png"},{title:"Dynamics365",id:"dynamics365",image:IMAGE_PATH+"/sidebar-dynamics365.png"},{title:"Google Cloud Platform",id:"gcp2",image:IMAGE_PATH+"/sidebar-gcp2.png"},
+{title:"GCP Icons",id:"gcpicons",image:IMAGE_PATH+"/sidebar-gcpicons.png"},{title:"IBM",id:"ibm",image:IMAGE_PATH+"/sidebar-ibm.png"},{title:"IBM Cloud",id:"ibm_cloud",image:IMAGE_PATH+"/sidebar-ibmcloud.png"},{title:"Kubernetes",id:"kubernetes",image:IMAGE_PATH+"/sidebar-kubernetes.png"},{title:"Network",id:"network",image:IMAGE_PATH+"/sidebar-network.png"},{title:"Office",id:"office",image:IMAGE_PATH+"/sidebar-office.png"},{title:"OpenStack",id:"openstack",image:IMAGE_PATH+"/sidebar-openstack.png"},
+{title:mxResources.get("rack"),id:"rack",image:IMAGE_PATH+"/sidebar-rack.png"},{title:"SAP",id:"sap",image:IMAGE_PATH+"/sidebar-sap.png"},{title:"Veeam",id:"veeam2",image:IMAGE_PATH+"/sidebar-veeam.png"},{title:"VMware",id:"vvd",image:IMAGE_PATH+"/sidebar-vvd.png"}]},{title:mxResources.get("business"),entries:[{title:"ArchiMate 3.2",id:"archimate3",image:IMAGE_PATH+"/sidebar-archimate3.png"},{title:mxResources.get("archiMate21"),id:"archimate",image:IMAGE_PATH+"/sidebar-archimate.png"},{title:mxResources.get("bpmn")+
+" 2.0",id:"bpmn2",image:IMAGE_PATH+"/sidebar-bpmn.png"},{title:mxResources.get("sysml"),id:"sysml",image:IMAGE_PATH+"/sidebar-sysml.png"},{title:"Value Stream Mapping",id:"lean_mapping",image:IMAGE_PATH+"/sidebar-leanmapping.png"}]},{title:mxResources.get("other"),entries:[{title:mxResources.get("cabinets"),id:"cabinets",image:IMAGE_PATH+"/sidebar-cabinets.png"},{title:"Infographic",id:"infographic",image:IMAGE_PATH+"/sidebar-infographic.png"},{title:mxResources.get("eip"),id:"eip",image:IMAGE_PATH+
+"/sidebar-eip.png"},{title:mxResources.get("electrical"),id:"electrical",image:IMAGE_PATH+"/sidebar-electrical.png"},{title:mxResources.get("floorplans"),id:"floorplan",image:IMAGE_PATH+"/sidebar-floorplans.png"},{title:"Fluid Power (ISO 1219)",id:"fluid_power",image:IMAGE_PATH+"/sidebar-fluid_power.png"},{title:mxResources.get("gmdl"),id:"gmdl",image:IMAGE_PATH+"/sidebar-gmdl.png"},{title:mxResources.get("procEng"),id:"pid",image:IMAGE_PATH+"/sidebar-pid.png"},{title:"Threat Modeling",id:"threatModeling",
+image:IMAGE_PATH+"/sidebar-threatmodeling.png"},{title:"Web Icons",id:"webicons",image:IMAGE_PATH+"/sidebar-webIcons.png"},{title:mxResources.get("signs"),id:"signs",image:IMAGE_PATH+"/sidebar-signs.png"}]}]};"1"==urlParams.savesidebar&&(Sidebar.prototype.addFoldingHandler=function(h,k,l){var m=!1;if(!mxClient.IS_IE||8<=document.documentMode)h.style.backgroundImage="none"==k.style.display?"url('"+this.collapsedImage+"')":"url('"+this.expandedImage+"')";h.style.backgroundRepeat="no-repeat";h.style.backgroundPosition=
+"0% 50%";var n=document.createElement("button");n.style.marginLeft="4px";mxUtils.write(n,"Save");mxEvent.addListener(h,"click",mxUtils.bind(this,function(p){if("BUTTON"==mxEvent.getSource(p).nodeName){p=k.getElementsByTagName("svg");var q=68*Math.ceil(p.length/6)+36,t=Graph.createSvgNode(0,0,432,q,"#ffffff"),v=new mxSvgCanvas2D(t);v.setFontFamily(mxConstants.DEFAULT_FONTFAMILY);v.setFontStyle(mxConstants.FONT_BOLD);v.setFontColor("rgb(80, 80, 80)");v.setFontSize(14);var u=h.getElementsByTagName("span");
+0<u.length&&v.text(6,0,0,0,mxUtils.getTextContent(u[0]));for(v=0;v<p.length;v++)u=p[v].cloneNode(!0),u.removeAttribute("style"),u.setAttribute("width",this.thumbWidth),u.setAttribute("height",this.thumbHeight),u.setAttribute("x",12+68*mxUtils.mod(v,6)),u.setAttribute("y",24+68*Math.floor(v/6)),t.appendChild(u);this.editorUi.editor.convertImages(t,mxUtils.bind(this,function(r){var x=document.createElement("canvas");x.width=432;x.height=q;var y=document.createElement("img");y.onload=mxUtils.bind(this,
+function(){x.getContext("2d").drawImage(y,0,0);this.editorUi.saveCanvas(x,null,"png")});r=Graph.xmlDeclaration+"\n"+Graph.svgDoctype+"\n"+mxUtils.getXml(t);y.src=Editor.createSvgDataUri(r)}))}else{if("none"==k.style.display){if(m)h.appendChild(n);else if(m=!0,null!=l){null!=n.parentNode&&n.parentNode.removeChild(n);h.style.cursor="wait";var w=h.innerHTML;h.innerHTML=mxResources.get("loading")+"...";window.setTimeout(function(){l(k);h.style.cursor="";h.innerHTML=w;h.appendChild(n)},0)}else h.appendChild(n);
+h.style.backgroundImage="url('"+this.expandedImage+"')";k.style.display="block"}else h.style.backgroundImage="url('"+this.collapsedImage+"')",k.style.display="none",null!=n.parentNode&&n.parentNode.removeChild(n);mxEvent.consume(p)}}))});Sidebar.prototype.extractShapeStyle=function(h){if(null!=h&&"shape="==h.substring(0,6)){var k=h.indexOf(";");0>k&&(k=h.length);return h.substring(6,k)}return null};var d=Sidebar.prototype.getTagsForStencil;Sidebar.prototype.getTagsForStencil=function(h,k,l){var m=
+d.apply(this,arguments);null!=this.shapetags&&(h=h.toLowerCase(),k=k.toLowerCase(),null!=this.shapetags[h]&&m.push(this.shapetags[h]),k=h+"."+k,null!=this.shapetags[k]&&m.push(this.shapetags[k]));return m};Sidebar.prototype.addTagIndex=function(h){h=h.split("\n");for(var k=0;k<h.length;k++)if(null!=h[k]){var l=h[k].split("\t");if(1<l.length){var m=l[0].toLowerCase().replace(" ","_");l=mxUtils.trim(l.slice(1,l.length).join(" ").toLowerCase());0<l.length&&(this.shapetags[m]=l)}}};Sidebar.prototype.getUniqueLibraries=
+function(h){for(var k={},l=[],m=0;m<h.length;m++){var n=JSON.stringify(h[m]);null==k[n]&&(k[n]=!0,l.push(h[m]))}return l};Sidebar.prototype.openLibraries=function(h){h=this.getUniqueLibraries(h);for(var k=null,l=0;l<h.length;l++){var m=this.getConfigurationById(h[l].id);null!=m&&(m=this.openLibrary(m,h[l].lib||h[l].id),null!=m&&null==k&&(k=m))}null!=k&&window.setTimeout(function(){k[0].scrollIntoView({behavior:"smooth"})},0)};Sidebar.prototype.openLibrary=function(h,k){this.showPalettes(h.prefix||
+"",h.libs||[h.id],!0);h=this.showPalette(k,!0);null!=h&&1<h.length&&null!=h[1].firstChild&&(null==h[1].firstChild.firstChild||"none"==h[1].firstChild.style.display)&&h[0].click();return h};Sidebar.prototype.showPopupMenuForEntry=function(h,k,l){if(null!=k&&0<k.length){var m=mxUtils.getOffset(h);this.editorUi.showPopupMenu(mxUtils.bind(this,function(n,p){n.addItem(mxResources.get("openLibrary"),null,mxUtils.bind(this,function(){this.openLibraries(k)}))}),m.x,m.y+h.offsetHeight,l);mxEvent.consume(l)}};
+Sidebar.prototype.addSearchIndex=function(h){if(null!=h)for(var k=0;k<h.length;k++)if(null!=h[k].style){var l=h[k].style,m=this.extractShapeStyle(l);if(null!=m){var n=m.lastIndexOf(".");if(0<n){var p=m.substring(0,n);m=m.substring(n+1,m.length);n=this.getTagsForStencil(p,m,h[k].tags);if(null!=n){var q=l.indexOf(";");l="shape="+p+"."+m.toLowerCase()+";"+(0>q?"":l.substring(q+1));this.setCurrentSearchEntryLibrary(h[k].id,h[k].lib);this.createVertexTemplateEntry(l,parseInt(h[k].w),parseInt(h[k].h),"",
+m.replace(/_/g," "),null,null,this.filterTags(n.join(" ")));null!=this.currentSearchEntryLibrary&&this.addLibForStyle(this.getKeyStyle(l),this.currentSearchEntryLibrary);this.setCurrentSearchEntryLibrary()}}}}};Sidebar.prototype.initPalettes=function(){var h=GRAPH_IMAGE_PATH,k=STENCIL_PATH,l=this.signs,m=this.rack,n=this.pids,p=this.cisco,q=this.sysml;"1"==urlParams.createindex&&(this.createdSearchIndex=[]);this.addSearchPalette(!0);this.appendCustomLibraries||this.addCustomEntries();this.addGeneralPalette(null==
+this.customEntries);this.addMiscPalette(!1);this.addAdvancedPalette(!1);this.addBasicPalette();this.addStencilPalette("arrows",mxResources.get("arrows"),k+"/arrows.xml",";html=1;"+mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;"+mxConstants.STYLE_STROKEWIDTH+"=2;strokeColor=#000000;",null,null,null,null,null,"arrows");this.addArrows2Palette();this.setCurrentSearchEntryLibrary("clipart","computer");this.addImagePalette("computer","Clipart / Computer",h+
+"/lib/clip_art/computers/","_128x128.png","Antivirus Data_Filtering Database Database_Add Database_Minus Database_Move_Stack Database_Remove Fujitsu_Tablet Harddrive IBM_Tablet iMac iPad Laptop MacBook Mainframe Monitor Monitor_Tower Monitor_Tower_Behind Netbook Network Network_2 Printer Printer_Commercial Secure_System Server Server_Rack Server_Rack_Empty Server_Rack_Partial Server_Tower Software Stylus Touch USB_Hub Virtual_Application Virtual_Machine Virus Workstation".split(" "),"Antivirus;Data Filtering;Database;Database Add;Database Minus;Database Move Stack;Database Remove;Fujitsu Tablet;Harddrive;IBMTablet;iMac;iPad;Laptop;MacBook;Mainframe;Monitor;Monitor Tower;Monitor Tower Behind;Netbook;Network;Network 2;Printer;Printer Commercial;Secure System;Server;Server Rack;Server Rack Empty;Server Rack Partial;Server Tower;Software;Stylus;Touch;USB Hub;Virtual Application;Virtual Machine;Virus;Workstation".split(";"));
+this.setCurrentSearchEntryLibrary("clipart","finance");this.addImagePalette("finance","Clipart / Finance",h+"/lib/clip_art/finance/","_128x128.png","Arrow_Down Arrow_Up Coins Credit_Card Dollar Graph Pie_Chart Piggy_Bank Safe Shopping_Cart Stock_Down Stock_Up".split(" "),"Arrow_Down;Arrow Up;Coins;Credit Card;Dollar;Graph;Pie Chart;Piggy Bank;Safe;Shopping Basket;Stock Down;Stock Up".split(";"));this.setCurrentSearchEntryLibrary("clipart","clipart");this.addImagePalette("clipart","Clipart / Various",
+h+"/lib/clip_art/general/","_128x128.png","Battery_0 Battery_100 Battery_50 Battery_75 Battery_allstates Bluetooth Earth_globe Empty_Folder Full_Folder Gear Keys Lock Mouse_Pointer Plug Ships_Wheel Star Tire".split(" "),"Battery 0%;Battery 100%;Battery 50%;Battery 75%;Battery;Bluetooth;Globe;Empty Folder;Full Folder;Gear;Keys;Lock;Mousepointer;Plug;Ships Wheel;Star;Tire".split(";"));this.setCurrentSearchEntryLibrary("clipart","networking");this.addImagePalette("networking","Clipart / Networking",
+h+"/lib/clip_art/networking/","_128x128.png","Bridge Certificate Certificate_Off Cloud Cloud_Computer Cloud_Computer_Private Cloud_Rack Cloud_Rack_Private Cloud_Server Cloud_Server_Private Cloud_Storage Concentrator Email Firewall_02 Firewall Firewall-page1 Ip_Camera Modem power_distribution_unit Print_Server Print_Server_Wireless Repeater Router Router_Icon Switch UPS Wireless_Router Wireless_Router_N".split(" "),"Bridge;Certificate;Certificate Off;Cloud;Cloud Computer;Cloud Computer Private;Cloud Rack;Cloud Rack Private;Cloud Server;Cloud Server Private;Cloud Storage;Concentrator;Email;Firewall 1;Firewall 2;Firewall;Camera;Modem;Power Distribution Unit;Print Server;Print Server Wireless;Repeater;Router;Router Icon;Switch;UPS;Wireless Router;Wireless Router N".split(";"),
+{Wireless_Router:"wireless router switch wap wifi access point wlan",Wireless_Router_N:"wireless router switch wap wifi access point wlan",Router:"router switch",Router_Icon:"router switch"});this.setCurrentSearchEntryLibrary("clipart","people");this.addImagePalette("people","Clipart / People",h+"/lib/clip_art/people/","_128x128.png","Suit_Man Suit_Man_Black Suit_Man_Blue Suit_Man_Green Suit_Man_Green_Black Suit_Woman Suit_Woman_Black Suit_Woman_Blue Suit_Woman_Green Suit_Woman_Green_Black Construction_Worker_Man Construction_Worker_Man_Black Construction_Worker_Woman Construction_Worker_Woman_Black Doctor_Man Doctor_Man_Black Doctor_Woman Doctor_Woman_Black Farmer_Man Farmer_Man_Black Farmer_Woman Farmer_Woman_Black Nurse_Man Nurse_Man_Black Nurse_Woman Nurse_Woman_Black Military_Officer Military_Officer_Black Military_Officer_Woman Military_Officer_Woman_Black Pilot_Man Pilot_Man_Black Pilot_Woman Pilot_Woman_Black Scientist_Man Scientist_Man_Black Scientist_Woman Scientist_Woman_Black Security_Man Security_Man_Black Security_Woman Security_Woman_Black Tech_Man Tech_Man_Black Telesales_Man Telesales_Man_Black Telesales_Woman Telesales_Woman_Black Waiter Waiter_Black Waiter_Woman Waiter_Woman_Black Worker_Black Worker_Man Worker_Woman Worker_Woman_Black".split(" "));
this.setCurrentSearchEntryLibrary("clipart","telco");this.addImagePalette("telco","Clipart / Telecommunication",h+"/lib/clip_art/telecommunication/","_128x128.png","BlackBerry Cellphone HTC_smartphone iPhone Palm_Treo Signal_tower_off Signal_tower_on".split(" "),"BlackBerry;Cellphone;HTC smartphone;iPhone;Palm Treo;Signaltower off;Signaltower on".split(";"));this.setCurrentSearchEntryLibrary();this.addFlowchartPalette();this.addActiveDirectoryPalette();this.addAndroidPalette();this.addAtlassianPalette();
this.addBootstrapPalette();this.addDFDPalette();this.addErPalette();this.addIos7Palette();this.addIosPalette();this.addKubernetesPalette();this.addMockupPalette();this.addSitemapPalette();this.addSalesforcePalette();this.addUml25Palette();this.addUmlPalette(!1);this.addAlibabaCloudPalette();this.addAlliedTelesisPalette();this.addAWS3Palette();this.addAWS4bPalette();this.addAWS4Palette();this.addAWS3DPalette();this.addAzurePalette();this.addAzure2Palette();this.addMSCAEPalette();this.addC4Palette();
-this.addCiscoPalette(p,k);this.addCisco19Palette();this.addCiscoSafePalette();this.addCumulusPalette();this.addCitrix2Palette();this.addCitrixPalette();this.addGCP2Palette();this.addGCPIconsPalette();this.addIBMPalette();this.addIBMCloudPalette();this.addNetworkPalette();this.addSAPPalette();this.addOfficePalette();this.addRackPalette(m,k);this.addVeeamPalette();this.addVeeam2Palette();this.addVVDPalette();this.addArchimate3Palette();this.addArchiMatePalette();this.addBpmn2Palette();this.addSysMLPalette(q,
-k);this.addLeanMappingPalette();this.addCabinetsPalette();this.addInfographicPalette();this.addEipPalette();this.addElectricalPalette();this.addFloorplanPalette();this.addFluidPowerPalette();this.addGMDLPalette();this.addPidPalette(n,k);this.addThreatModelingPalette();this.addWebIconsPalette();this.addWebLogosPalette();this.addSignsPalette(l,k);this.appendCustomLibraries&&this.addCustomEntries();this.showEntries();null!=this.createdSearchIndex&&console.log("searchFileData",Graph.compress(JSON.stringify(this.createdSearchIndex)))};
-Sidebar.prototype.addCustomEntries=function(){if(null!=this.customEntries)for(var h=0,k=0;k<this.customEntries.length;k++)for(var l=this.customEntries[k]||{},m=0;null!=l.entries&&m<l.entries.length;m++)for(var n=l.entries[m],p=0;p<n.libs.length;p++)mxUtils.bind(this,function(q){var t=null,v=null,u=null,w=null,r=mxUtils.bind(this,function(z,A){var B=document.createElement("span");B.style.paddingBottom="6px";B.style.paddingTop="6px";B.style.fontSize="11px";mxUtils.write(B,z);A.innerHTML='<img align="top" src="'+
-mxGraph.prototype.warningImage.src+'"/> ';A.appendChild(B)}),x=mxUtils.bind(this,function(){null!=u&&null!=w&&(null!=v?(u.style.display="block",w.innerText="",mxUtils.write(w,this.editorUi.getResource(q.title)),r(v,u)):null!=t?(this.editorUi.addLibraryEntries(t,u),u.style.display="block",w.innerText="",mxUtils.write(w,this.editorUi.getResource(q.title))):(u.style.display="none",w.innerText="",mxUtils.write(w,mxResources.get("loading")+"...")))});if(null==q.data&&null!=q.url&&!q.preload&&h>=this.maxPreloadCount)this.addPalette(n.id+
-"."+p,this.editorUi.getResource(q.title),!1,mxUtils.bind(this,function(z,A){var B=mxUtils.bind(this,function(C){this.setCurrentSearchEntryLibrary(n.id,n.id+"."+p);this.addEntries(C);this.setCurrentSearchEntryLibrary();this.editorUi.addLibraryEntries(C,z)});z.style.display="none";A.innerText="";mxUtils.write(A,mxResources.get("loading")+"...");var D=q.url;this.editorUi.editor.isCorsEnabledForUrl(D)||(D=PROXY_URL+"?url="+encodeURIComponent(D));this.editorUi.editor.loadUrl(D,mxUtils.bind(this,function(C){z.style.display=
-"block";A.innerText="";mxUtils.write(A,this.editorUi.getResource(q.title));try{var E=mxUtils.parseXml(C);if("mxlibrary"==E.documentElement.nodeName){var F=JSON.parse(mxUtils.getTextContent(E.documentElement));B(F)}else r(mxResources.get("notALibraryFile"),z)}catch(G){r(mxResources.get("error")+": "+G.message,z)}}))}));else if(this.addPalette(n.id+"."+p,this.editorUi.getResource(q.title),!1,mxUtils.bind(this,function(z,A){u=z;w=A;x()})),null!=q.data)this.setCurrentSearchEntryLibrary(n.id,n.id+"."+
-p),this.addEntries(q.data),this.setCurrentSearchEntryLibrary(),t=q.data,x();else if(null!=q.url){h++;var y=q.url;this.editorUi.editor.isCorsEnabledForUrl(y)||(y=PROXY_URL+"?url="+encodeURIComponent(y));this.editorUi.editor.loadUrl(y,mxUtils.bind(this,function(z){try{var A=mxUtils.parseXml(z);"mxlibrary"==A.documentElement.nodeName?(t=JSON.parse(mxUtils.getTextContent(A.documentElement)),this.addEntries(t)):v=mxResources.get("notALibraryFile");x()}catch(B){v=mxResources.get("error")+": "+B.message,
-x()}}),mxUtils.bind(this,function(z){v=null!=z&&null!=z.message?z.message:z;x()}))}else v=mxResources.get("invalidInput"),x()})(n.libs[p])};if("1"==urlParams.createindex){var c=Sidebar.prototype.addStencilPalette;Sidebar.prototype.addStencilPalette=function(h,k,l,m,n,p,q,t,v,u){c.apply(this,arguments);q=null!=q?q:1;mxStencilRegistry.loadStencilSet(l,mxUtils.bind(this,function(w,r,x,y,z){if(null!=this.createdSearchIndex&&null==n||0>mxUtils.indexOf(n,r))w={style:"shape="+w+r+m,w:Math.round(y*q),h:Math.round(z*
-q)},r=null!=t?t[r]:null,null!=r&&(w.tags=r),null!=u&&(w.id=u,w.lib=h),this.createdSearchIndex.push(w)}),!0)}}Sidebar.prototype.extractIconsFromResponse=function(h,k){for(var l=0;l<h.icons.length;l++){for(var m=h.icons[l].raster_sizes,n=m.length-1;0<n&&128<m[n].size;)n--;var p=m[n].size;m=m[n].formats[0].preview_url;null!=p&&null!=m&&mxUtils.bind(this,function(q,t){k.push(mxUtils.bind(this,function(){return this.createVertexTemplate("shape=image;html=1;verticalAlign=top;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;imageAspect=0;aspect=fixed;image="+
-t,q,q,"")}))})(p,m)}};Sidebar.prototype.isSearchIndexLoaded=function(){return null==this.searchIndexData};Sidebar.prototype.updateSearchIndex=function(){null!=this.searchIndexData&&(this.addSearchIndex(JSON.parse(Graph.decompress(this.searchIndexData))),this.searchIndexData=null)};var e=Sidebar.prototype.searchEntries;Sidebar.prototype.searchEntries=function(h,k,l,m,n,p){var q=m;this.updateSearchIndex();null!=ICONSEARCH_PATH&&p&&(m=mxUtils.bind(this,function(t,v,u,w){!this.editorUi.isOffline()&&t.length<=
-k/4?(u=l-Math.ceil((v-k/4)/k),mxUtils.get(ICONSEARCH_PATH+"?q="+encodeURIComponent(h)+"&p="+u+"&c="+k,mxUtils.bind(this,function(r){try{if(200<=r.getStatus()&&299>=r.getStatus()&&null!=r.getText()&&0<r.getText().length)try{var x=JSON.parse(r.getText());null==x||null==x.icons?(q(t,v,!1,w),this.editorUi.handleError(x)):(this.extractIconsFromResponse(x,t),q(t,(l-1)*k+t.length,x.icons.length==k,w))}catch(y){q(t,v,!1,w),this.editorUi.handleError(y)}else q(t,v,!1,w)}catch(y){q(t,v,!1,w),this.editorUi.handleError(y)}},
-function(){q(t,v,!1,w)}))):q(t,v,u||!this.editorUi.isOffline(),w)}));e.apply(this,arguments)};var f=Sidebar.prototype.getTooltipOffset;Sidebar.prototype.getTooltipOffset=function(h,k){if("simple"==Editor.currentTheme||"sketch"==Editor.currentTheme||"min"==Editor.currentTheme){if(mxUtils.isAncestorNode(this.editorUi.sketchPickerMenuElt,h)){var l=mxUtils.getOffset(h);"simple"==Editor.currentTheme?(l.x+=(h.offsetWidth-k.width)/2-14,l.y=h.parentNode.offsetHeight-2):(l.x=h.parentNode.offsetLeft+h.parentNode.offsetWidth+
-2,l.y+=(h.offsetHeight-k.height)/2);return new mxPoint(Math.max(0,l.x),Math.max(0,l.y))}if(null!=this.editorUi.sidebarWindow)return l=mxUtils.getOffset(this.editorUi.sidebarWindow.window.div),l.x+=this.editorUi.sidebarWindow.window.div.offsetWidth+2,l.y+=h.offsetTop+(h.offsetHeight-k.height)/2,null!=h.offsetParent&&(l.y-=h.offsetParent.scrollTop),new mxPoint(Math.max(0,l.x),Math.max(0,l.y))}return f.apply(this,arguments)};var g=Sidebar.prototype.itemClicked;Sidebar.prototype.itemClicked=function(h,
-k,l){var m=this.editorUi.editor.graph,n=!1;if(null!=h&&1==m.getSelectionCount()&&m.getModel().isVertex(h[0])){var p=m.cloneCell(h[0]);if(m.getModel().isEdge(m.getSelectionCell())&&null==m.getModel().getTerminal(m.getSelectionCell(),!1)&&m.getModel().isVertex(p)){m.getModel().beginUpdate();try{var q=m.view.getState(m.getSelectionCell());if(null!=q){var t=m.view.translate,v=m.view.scale,u=q.absolutePoints[q.absolutePoints.length-1];p.geometry.x=u.x/v-t.x-p.geometry.width/2;p.geometry.y=u.y/v-t.y-p.geometry.height/
-2}m.addCell(p);m.getModel().setTerminal(m.getSelectionCell(),p,!1);null!=l&&mxEvent.isShiftDown(l)||m.fireEvent(new mxEventObject("cellsInserted","cells",[p]))}catch(w){this.editorUi.handleError(w)}finally{m.getModel().endUpdate()}m.scrollCellToVisible(p);m.setSelectionCell(p);n=!0}}n||g.apply(this,arguments)}})();(function(){Sidebar.prototype.addActiveDirectoryPalette=function(){this.setCurrentSearchEntryLibrary("active_directory");var a=[this.createVertexTemplateEntry("image;aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image=img/lib/active_directory/active_directory.svg;",50,42.5,"","Active Directory",!1,null,this.getTagsForStencil("ms active directory ","active directory","ibm").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image=img/lib/active_directory/cd_dvd.svg;",
+this.addCiscoPalette(p,k);this.addCisco19Palette();this.addCiscoSafePalette();this.addCumulusPalette();this.addCitrix2Palette();this.addCitrixPalette();this.addDynamics365Palette();this.addGCP2Palette();this.addGCPIconsPalette();this.addIBMPalette();this.addIBMCloudPalette();this.addNetworkPalette();this.addSAPPalette();this.addOfficePalette();this.addOpenStackPalette();this.addRackPalette(m,k);this.addVeeamPalette();this.addVeeam2Palette();this.addVVDPalette();this.addArchimate3Palette();this.addArchiMatePalette();
+this.addBpmn2Palette();this.addSysMLPalette(q,k);this.addLeanMappingPalette();this.addCabinetsPalette();this.addInfographicPalette();this.addEipPalette();this.addElectricalPalette();this.addFloorplanPalette();this.addFluidPowerPalette();this.addGMDLPalette();this.addPidPalette(n,k);this.addThreatModelingPalette();this.addWebIconsPalette();this.addWebLogosPalette();this.addSignsPalette(l,k);this.appendCustomLibraries&&this.addCustomEntries();this.showEntries();null!=this.createdSearchIndex&&console.log("searchFileData",
+Graph.compress(JSON.stringify(this.createdSearchIndex)))};Sidebar.prototype.addCustomEntries=function(){if(null!=this.customEntries)for(var h=0,k=0;k<this.customEntries.length;k++)for(var l=this.customEntries[k]||{},m=0;null!=l.entries&&m<l.entries.length;m++)for(var n=l.entries[m],p=0;p<n.libs.length;p++)mxUtils.bind(this,function(q){var t=null,v=null,u=null,w=null,r=mxUtils.bind(this,function(z,A){var B=document.createElement("span");B.style.paddingBottom="6px";B.style.paddingTop="6px";B.style.fontSize=
+"11px";mxUtils.write(B,z);A.innerHTML='<img align="top" src="'+mxGraph.prototype.warningImage.src+'"/> ';A.appendChild(B)}),x=mxUtils.bind(this,function(){null!=u&&null!=w&&(null!=v?(u.style.display="block",w.innerText="",mxUtils.write(w,this.editorUi.getResource(q.title)),r(v,u)):null!=t?(this.editorUi.addLibraryEntries(t,u),u.style.display="block",w.innerText="",mxUtils.write(w,this.editorUi.getResource(q.title))):(u.style.display="none",w.innerText="",mxUtils.write(w,mxResources.get("loading")+
+"...")))});if(null==q.data&&null!=q.url&&!q.preload&&h>=this.maxPreloadCount)this.addPalette(n.id+"."+p,this.editorUi.getResource(q.title),!1,mxUtils.bind(this,function(z,A){var B=mxUtils.bind(this,function(C){this.setCurrentSearchEntryLibrary(n.id,n.id+"."+p);this.addEntries(C);this.setCurrentSearchEntryLibrary();this.editorUi.addLibraryEntries(C,z)});z.style.display="none";A.innerText="";mxUtils.write(A,mxResources.get("loading")+"...");var D=q.url;this.editorUi.editor.isCorsEnabledForUrl(D)||(D=
+PROXY_URL+"?url="+encodeURIComponent(D));this.editorUi.editor.loadUrl(D,mxUtils.bind(this,function(C){z.style.display="block";A.innerText="";mxUtils.write(A,this.editorUi.getResource(q.title));try{var E=mxUtils.parseXml(C);if("mxlibrary"==E.documentElement.nodeName){var F=JSON.parse(mxUtils.getTextContent(E.documentElement));B(F)}else r(mxResources.get("notALibraryFile"),z)}catch(G){r(mxResources.get("error")+": "+G.message,z)}}))}));else if(this.addPalette(n.id+"."+p,this.editorUi.getResource(q.title),
+!1,mxUtils.bind(this,function(z,A){u=z;w=A;x()})),null!=q.data)this.setCurrentSearchEntryLibrary(n.id,n.id+"."+p),this.addEntries(q.data),this.setCurrentSearchEntryLibrary(),t=q.data,x();else if(null!=q.url){h++;var y=q.url;this.editorUi.editor.isCorsEnabledForUrl(y)||(y=PROXY_URL+"?url="+encodeURIComponent(y));this.editorUi.editor.loadUrl(y,mxUtils.bind(this,function(z){try{var A=mxUtils.parseXml(z);"mxlibrary"==A.documentElement.nodeName?(t=JSON.parse(mxUtils.getTextContent(A.documentElement)),
+this.addEntries(t)):v=mxResources.get("notALibraryFile");x()}catch(B){v=mxResources.get("error")+": "+B.message,x()}}),mxUtils.bind(this,function(z){v=null!=z&&null!=z.message?z.message:z;x()}))}else v=mxResources.get("invalidInput"),x()})(n.libs[p])};if("1"==urlParams.createindex){var c=Sidebar.prototype.addStencilPalette;Sidebar.prototype.addStencilPalette=function(h,k,l,m,n,p,q,t,v,u){c.apply(this,arguments);q=null!=q?q:1;mxStencilRegistry.loadStencilSet(l,mxUtils.bind(this,function(w,r,x,y,z){if(null!=
+this.createdSearchIndex&&null==n||0>mxUtils.indexOf(n,r))w={style:"shape="+w+r+m,w:Math.round(y*q),h:Math.round(z*q)},r=null!=t?t[r]:null,null!=r&&(w.tags=r),null!=u&&(w.id=u,w.lib=h),this.createdSearchIndex.push(w)}),!0)}}Sidebar.prototype.extractIconsFromResponse=function(h,k){for(var l=0;l<h.icons.length;l++){for(var m=h.icons[l].raster_sizes,n=m.length-1;0<n&&128<m[n].size;)n--;var p=m[n].size;m=m[n].formats[0].preview_url;null!=p&&null!=m&&mxUtils.bind(this,function(q,t){k.push(mxUtils.bind(this,
+function(){return this.createVertexTemplate("shape=image;html=1;verticalAlign=top;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;imageAspect=0;aspect=fixed;image="+t,q,q,"")}))})(p,m)}};Sidebar.prototype.isSearchIndexLoaded=function(){return null==this.searchIndexData};Sidebar.prototype.updateSearchIndex=function(){null!=this.searchIndexData&&(this.addSearchIndex(JSON.parse(Graph.decompress(this.searchIndexData))),this.searchIndexData=null)};var e=Sidebar.prototype.searchEntries;Sidebar.prototype.searchEntries=
+function(h,k,l,m,n,p){var q=m;this.updateSearchIndex();null!=ICONSEARCH_PATH&&p&&(m=mxUtils.bind(this,function(t,v,u,w){!this.editorUi.isOffline()&&t.length<=k/4?(u=l-Math.ceil((v-k/4)/k),mxUtils.get(ICONSEARCH_PATH+"?q="+encodeURIComponent(h)+"&p="+u+"&c="+k,mxUtils.bind(this,function(r){try{if(200<=r.getStatus()&&299>=r.getStatus()&&null!=r.getText()&&0<r.getText().length)try{var x=JSON.parse(r.getText());null==x||null==x.icons?(q(t,v,!1,w),this.editorUi.handleError(x)):(this.extractIconsFromResponse(x,
+t),q(t,(l-1)*k+t.length,x.icons.length==k,w))}catch(y){q(t,v,!1,w),this.editorUi.handleError(y)}else q(t,v,!1,w)}catch(y){q(t,v,!1,w),this.editorUi.handleError(y)}},function(){q(t,v,!1,w)}))):q(t,v,u||!this.editorUi.isOffline(),w)}));e.apply(this,arguments)};var f=Sidebar.prototype.getTooltipOffset;Sidebar.prototype.getTooltipOffset=function(h,k){if("simple"==Editor.currentTheme||"sketch"==Editor.currentTheme||"min"==Editor.currentTheme){if(mxUtils.isAncestorNode(this.editorUi.sketchPickerMenuElt,
+h)){var l=mxUtils.getOffset(h);"simple"==Editor.currentTheme?(l.x+=(h.offsetWidth-k.width)/2-14,l.y=h.parentNode.offsetHeight-2):(l.x=h.parentNode.offsetLeft+h.parentNode.offsetWidth+2,l.y+=(h.offsetHeight-k.height)/2);return new mxPoint(Math.max(0,l.x),Math.max(0,l.y))}if(null!=this.editorUi.sidebarWindow)return l=mxUtils.getOffset(this.editorUi.sidebarWindow.window.div),l.x+=this.editorUi.sidebarWindow.window.div.offsetWidth+2,l.y+=h.offsetTop+(h.offsetHeight-k.height)/2,null!=h.offsetParent&&(l.y-=
+h.offsetParent.scrollTop),new mxPoint(Math.max(0,l.x),Math.max(0,l.y))}return f.apply(this,arguments)};var g=Sidebar.prototype.itemClicked;Sidebar.prototype.itemClicked=function(h,k,l){var m=this.editorUi.editor.graph,n=!1;if(null!=h&&1==m.getSelectionCount()&&m.getModel().isVertex(h[0])){var p=m.cloneCell(h[0]);if(m.getModel().isEdge(m.getSelectionCell())&&null==m.getModel().getTerminal(m.getSelectionCell(),!1)&&m.getModel().isVertex(p)){m.getModel().beginUpdate();try{var q=m.view.getState(m.getSelectionCell());
+if(null!=q){var t=m.view.translate,v=m.view.scale,u=q.absolutePoints[q.absolutePoints.length-1];p.geometry.x=u.x/v-t.x-p.geometry.width/2;p.geometry.y=u.y/v-t.y-p.geometry.height/2}m.addCell(p);m.getModel().setTerminal(m.getSelectionCell(),p,!1);null!=l&&mxEvent.isShiftDown(l)||m.fireEvent(new mxEventObject("cellsInserted","cells",[p]))}catch(w){this.editorUi.handleError(w)}finally{m.getModel().endUpdate()}m.scrollCellToVisible(p);m.setSelectionCell(p);n=!0}}n||g.apply(this,arguments)}})();(function(){Sidebar.prototype.addActiveDirectoryPalette=function(){this.setCurrentSearchEntryLibrary("active_directory");var a=[this.createVertexTemplateEntry("image;aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image=img/lib/active_directory/active_directory.svg;",50,42.5,"","Active Directory",!1,null,this.getTagsForStencil("ms active directory ","active directory","ibm").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image=img/lib/active_directory/cd_dvd.svg;",
50,50,"","CD / DVD",!1,null,this.getTagsForStencil("ms active directory ","cd dvd compact digital video disc","ibm").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image=img/lib/active_directory/cell_phone.svg;",21,50,"","Cell Phone",!1,null,this.getTagsForStencil("ms active directory ","cell phone","ibm").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image=img/lib/active_directory/cluster_server.svg;",
50,50,"","Cluster Server",!1,null,this.getTagsForStencil("ms active directory ","active","ibm").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image=img/lib/active_directory/community_discussion.svg;",50,45,"","Community Discussion",!1,null,this.getTagsForStencil("ms active directory ","community discussion","ibm").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image=img/lib/active_directory/data_jack.svg;",
50*.55,50,"","Data Jack",!1,null,this.getTagsForStencil("ms active directory ","data jack","ibm").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image=img/lib/active_directory/database.svg;",50,37,"","Database",!1,null,this.getTagsForStencil("ms active directory ","database","ibm").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image=img/lib/active_directory/database_cube.svg;",
@@ -4897,7 +4896,7 @@ this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+e+".cloud9;",c,c,"","Cl
"codeartifact","aws amazon web service dev developer tools ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+e+".codebuild;",c,c,"","CodeBuild",null,null,this.getTagsForStencil(e,"codebuild","aws amazon web service dev developer tools ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+e+".codecommit;",c,c,"","CodeCommit",null,null,this.getTagsForStencil(e,"codecommit","aws amazon web service dev developer tools ").join(" ")),this.createVertexTemplateEntry(d+
"resourceIcon;resIcon="+e+".codedeploy;",c,c,"","CodeDeploy",null,null,this.getTagsForStencil(e,"codedeploy","aws amazon web service dev developer tools ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+e+".codepipeline;",c,c,"","CodePipeline",null,null,this.getTagsForStencil(e,"codepipeline","aws amazon web service dev developer tools ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+e+".codestar;",c,c,"","CodeStar",null,null,this.getTagsForStencil(e,"codestar",
"aws amazon web service dev developer tools ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+e+".command_line_interface;",c,c,"","Command Line Interface",null,null,this.getTagsForStencil(e,"command line interface","aws amazon web service dev developer tools ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+e+".corretto;",c,c,"","Corretto",null,null,this.getTagsForStencil(e,"corretto","aws amazon web service dev developer tools ").join(" ")),this.createVertexTemplateEntry(d+
-"resourceIcon;resIcon="+e+".application_composer;",c,c,"","Application Composer",null,null,this.getTagsForStencil(e,"application composer","aws amazon web service dev developer tools ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+e+".tools_and_sdks;",c,c,"","Tools and SDKs",null,null,this.getTagsForStencil(e,"tools and sdks software development kit","aws amazon web service dev developer tools ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+e+".xray;",
+"resourceIcon;resIcon="+e+".application_composer;",c,c,"","Infrastructure Composer",null,null,this.getTagsForStencil(e,"infrastructure composer","aws amazon web service dev developer tools ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+e+".tools_and_sdks;",c,c,"","Tools and SDKs",null,null,this.getTagsForStencil(e,"tools and sdks software development kit","aws amazon web service dev developer tools ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+e+".xray;",
c,c,"","X-Ray",null,null,this.getTagsForStencil(e,"ray xray","aws amazon web service dev developer tools ").join(" ")),this.createVertexTemplateEntry(b+"cloud9;",78*a,50*a,"","Cloud9",null,null,this.getTagsForStencil(e,"cloud9","aws amazon web service dev developer tools ").join(" "))])};Sidebar.prototype.addAWS4EndUserComputingPalette=function(a,b,d,c,e,f){b="sketch=0;outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#01A88D;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+
mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";d="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#01A88D;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4End User Computing",
"AWS / End User Computing",!1,[this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+e+".desktop_and_app_streaming;",c,c,"","End User Computing",null,null,this.getTagsForStencil(e,"desktop and app streaming","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+e+".appstream_20;",c,c,"","Appstream 2.0",null,null,this.getTagsForStencil(e,"appstream","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+
@@ -5352,174 +5351,174 @@ this.addAzure2InternetOfThingsPalette("mxgraph.azure2",400,this,"image;aspect=fi
this.setCurrentSearchEntryLibrary("azure2","azure2Management Governance");this.addAzure2ManagementGovernancePalette("mxgraph.azure2",400,this,"image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/management_governance/");this.setCurrentSearchEntryLibrary("azure2","azure2Menu");this.addAzure2MenuPalette("mxgraph.azure2",400,this,"image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/menu/");this.setCurrentSearchEntryLibrary("azure2","azure2Migrate");
this.addAzure2MigratePalette("mxgraph.azure2",400,this,"image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/migrate/");this.setCurrentSearchEntryLibrary("azure2","azure2Mixed Reality");this.addAzure2MixedRealityPalette("mxgraph.azure2",400,this,"image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/mixed_reality/");this.setCurrentSearchEntryLibrary("azure2","azure2Mobile");this.addAzure2MobilePalette("mxgraph.azure2",400,this,"image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/mobile/");
this.setCurrentSearchEntryLibrary("azure2","azure2Monitor");this.addAzure2MonitorPalette("mxgraph.azure2",400,this,"image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/monitor/");this.setCurrentSearchEntryLibrary("azure2","azure2Networking");this.addAzure2NetworkingPalette("mxgraph.azure2",400,this,"image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/networking/");this.setCurrentSearchEntryLibrary("azure2","azure2Other");this.addAzure2OtherPalette("mxgraph.azure2",
-400,this,"image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/other/");this.setCurrentSearchEntryLibrary("azure2","azure2Preview");this.addAzure2PreviewPalette("mxgraph.azure2",400,this,"image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/preview/");this.setCurrentSearchEntryLibrary("azure2","azure2Security");this.addAzure2SecurityPalette("mxgraph.azure2",400,this,"image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/security/");
-this.setCurrentSearchEntryLibrary("azure2","azure2Storage");this.addAzure2StoragePalette("mxgraph.azure2",400,this,"image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/storage/");this.setCurrentSearchEntryLibrary("azure2","azure2Web");this.addAzure2WebPalette("mxgraph.azure2",400,this,"image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/web/");this.setCurrentSearchEntryLibrary()};Sidebar.prototype.addAzure2AIMachineLearningPalette=function(a,
-b,d,c){var e=[this.createVertexTemplateEntry(c+"AI_Studio.svg;",.16*b,.17*b,"","AI Studio",null,null,this.getTagsForStencil(a,"ai studio","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Anomaly_Detector.svg;",.17*b,.17*b,"","Anomaly Detector",null,null,this.getTagsForStencil(a,"anomaly detector","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Applied_AI.svg;",.17*b,.13*b,"","Applied AI",null,
-null,this.getTagsForStencil(a,"applied","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Batch_AI.svg;",.12*b,.17*b,"","Batch AI",null,null,this.getTagsForStencil(a,"batch","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Bonsai.svg;",.17*b,.165*b,"","Bonsai",null,null,this.getTagsForStencil(a,"bonsai","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+
-"Bot_Services.svg;",.17*b,.17*b,"","Bot Services",null,null,this.getTagsForStencil(a,"bot services","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Computer_Vision.svg;",.17*b,.17*b,"","Computer Vision",null,null,this.getTagsForStencil(a,"computer vision","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/app_services/Search_Services.svg;",
-.17*b,.1228*b,"","Cognitive Search",null,null,this.getTagsForStencil(a,"cognitive search","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Cognitive_Services.svg;",.17*b,.12*b,"","Cognitive Services",null,null,this.getTagsForStencil(a,"cognitive services","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Content_Moderators.svg;",.17*b,.157*b,"","Content Moderators",null,null,this.getTagsForStencil(a,
-"content moderators","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Custom_Vision.svg;",.17*b,.17*b,"","Custom Vision",null,null,this.getTagsForStencil(a,"custom vision","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Experimentation_Studio.svg;",.17*b,.14*b,"","Experimentation Studio",null,null,this.getTagsForStencil(a,"experimentation studio","azure ai machine learning artificial intelligence ").join(" ")),
-this.createVertexTemplateEntry(c+"Face_APIs.svg;",.17*b,.17*b,"","Face APIs",null,null,this.getTagsForStencil(a,"face apis api application programming interface","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Form_Recognizers.svg;",.158*b,.17*b,"","Form Recognizers",null,null,this.getTagsForStencil(a,"form recognizers","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Genomics.svg;",.09*b,.17*b,"",
-"Genomics",null,null,this.getTagsForStencil(a,"genomics","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Immersive_Readers.svg;",.17*b,.17*b,"","Immersive Readers",null,null,this.getTagsForStencil(a,"immersive readers","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Language_Services.svg;",.17*b,.17*b,"","Language",null,null,this.getTagsForStencil(a,"language services","azure ai machine learning artificial intelligence ").join(" ")),
-this.createVertexTemplateEntry(c+"Cognitive_Services_Decisions.svg;",.17*b,.17*b,"","Cognitive Services Decisions",null,null,this.getTagsForStencil(a,"cognitive services decisions","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Content_Safety.svg;",.17*b,.17*b,"","Content Safety",null,null,this.getTagsForStencil(a,"content safety","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Language_Understanding.svg;",
-.17*b,.17*b,"","Language Understanding",null,null,this.getTagsForStencil(a,"language understanding","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Machine_Learning.svg;",.16*b,.17*b,"","Machine Learning",null,null,this.getTagsForStencil(a,"","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Machine_Learning_Studio_Classic_Web_Services.svg;",.17*b,.17*b,"","Machine Learning Studio - Classic Web Services",
-null,null,this.getTagsForStencil(a,"studio classic web services","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Machine_Learning_Studio_Web_Service_Plans.svg;",.17*b,.17*b,"","Machine Learning Studio - Web Service Plans",null,null,this.getTagsForStencil(a,"studio web service plans","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Machine_Learning_Studio_Workspaces.svg;",.17*b,.17*b,"","Machine Learning Studio - Workspaces",
-null,null,this.getTagsForStencil(a,"studio workspaces","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/compute/Metrics_Advisor.svg;",.137*b,.17*b,"","Metrics Advisor",null,null,this.getTagsForStencil(a,"metrics advisor","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Object_Understanding.svg;",.17*b,.17*b,"","Object Understanding",
-null,null,this.getTagsForStencil(a,"object understanding","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Azure_OpenAI.svg;",.17*b,.17*b,"","OpenAI",null,null,this.getTagsForStencil(a,"openai open ai","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Personalizers.svg;",.17*b,.138*b,"","Personalizers",null,null,this.getTagsForStencil(a,"personalizers","azure ai machine learning artificial intelligence ").join(" ")),
-this.createVertexTemplateEntry(c+"QnA_Makers.svg;",.17*b,.17*b,"","QnA Makers",null,null,this.getTagsForStencil(a,"qna makers","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Serverless_Search.svg;",.17*b,.17*b,"","Serverless Search",null,null,this.getTagsForStencil(a,"serverless search","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Speech_Services.svg;",.17*b,.17*b,"","Speech Services",null,null,
-this.getTagsForStencil(a,"speech services","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Translator_Text.svg;",.17*b,.17*b,"","Translator Text",null,null,this.getTagsForStencil(a,"translator text","azure ai machine learning artificial intelligence ").join(" "))];this.addPalette("azure2AI Machine Learning","Azure / AI and Machine Learning",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2AnalyticsPalette=
-function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"Analysis_Services.svg;",.1575*b,.12*b,"","Analysis Services",null,null,this.getTagsForStencil(a,"analysis services","azure analytics ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/databases/Azure_Data_Explorer_Clusters.svg;",.17*b,.17*b,"","Data Explorer Clusters",null,null,this.getTagsForStencil(a,"data explorer clusters","azure analytics ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/databases/Data_Factory.svg;",
-.17*b,.17*b,"","Data Factories",null,null,this.getTagsForStencil(a,"data factories","azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"Data_Lake_Analytics.svg;",.17*b,.17*b,"","Data Lake Analytics",null,null,this.getTagsForStencil(a,"data lake analytics","azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"Data_Lake_Store_Gen1.svg;",.16*b,.13*b,"","Data Lake Store Gen1",null,null,this.getTagsForStencil(a,"data lake store gen1","azure analytics ").join(" ")),this.createVertexTemplateEntry(c+
-"Azure_Databricks.svg;",.157*b,.17*b,"","Databricks",null,null,this.getTagsForStencil(a,"azure databricks","azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"Endpoint_Analytics.svg;",.17*b,.17*b,"","Endpoint Analytics",null,null,this.getTagsForStencil(a,"endpoint analytics","azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"Event_Hub_Clusters.svg;",.16*b,.13*b,"","Event Hub Clusters",null,null,this.getTagsForStencil(a,"event hub clusters","azure analytics ").join(" ")),
-this.createVertexTemplateEntry(c+"Event_Hubs.svg;",.1675*b,.15*b,"","Event Hubs",null,null,this.getTagsForStencil(a,"event hubs","azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"HD_Insight_Clusters.svg;",.1575*b,.155*b,"","HD Insight Clusters",null,null,this.getTagsForStencil(a,"hd insight clusters","azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"Log_Analytics_Workspaces.svg;",.16*b,.16*b,"","Log Analytics Workspaces",null,null,this.getTagsForStencil(a,"log analytics workspaces",
-"azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"Power_BI_Embedded.svg;",.1275*b,.17*b,"","Power BI Embedded",null,null,this.getTagsForStencil(a,"power bi embedded","azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"Power_Platform.svg;",.1623*b,.17*b,"","Power Platform",null,null,this.getTagsForStencil(a,"power platform","azure analytics ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/networking/Private_Link_Hub.svg;",
-.147*b,.17*b,"","Private Link Services",null,null,this.getTagsForStencil(a,"private link services","azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"Stream_Analytics_Jobs.svg;",.17*b,.145*b,"","Stream Analytics Jobs",null,null,this.getTagsForStencil(a,"Stream_Analytics_Jobs","azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Synapse_Analytics.svg;",.15*b,.1725*b,"","Synapse Analytics",null,null,this.getTagsForStencil(a,"synapse analytics","azure analytics ").join(" ")),
-this.createVertexTemplateEntry(c+"Azure_Workbooks.svg;",.17*b,.17*b,"","Workbooks",null,null,this.getTagsForStencil(a,"workbooks","azure analytics ").join(" "))];this.addPalette("azure2Analytics","Azure / Analytics",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2AppServicesPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"API_Management_Services.svg;",.1625*b,.15*b,"","API Management Services",null,null,this.getTagsForStencil(a,
-"api application programming interface management services","azure app services ").join(" ")),this.createVertexTemplateEntry(c+"App_Service_Certificates.svg;",.175*b,.16*b,"","App Service Certificates",null,null,this.getTagsForStencil(a,"app service certificates","azure app services ").join(" ")),this.createVertexTemplateEntry(c+"App_Service_Domains.svg;",.1625*b,.13*b,"","App Service Domains",null,null,this.getTagsForStencil(a,"app service domains","azure app services ").join(" ")),this.createVertexTemplateEntry(c+
-"App_Service_Environments.svg;",.16*b,.16*b,"","App Service Environments",null,null,this.getTagsForStencil(a,"app service environments","azure app services ").join(" ")),this.createVertexTemplateEntry(c+"App_Service_Plans.svg;",.16*b,.16*b,"","App Service Plans",null,null,this.getTagsForStencil(a,"app service plans","azure app services ").join(" ")),this.createVertexTemplateEntry(c+"App_Services.svg;",.16*b,.16*b,"","App Services",null,null,this.getTagsForStencil(a,"app services","azure app services ").join(" ")),
-this.createVertexTemplateEntry(c+"CDN_Profiles.svg;",.17*b,.1*b,"","CDN Profiles",null,null,this.getTagsForStencil(a,"cdn profiles","azure app services ").join(" ")),this.createVertexTemplateEntry(c+"Notification_Hubs.svg;",.1675*b,.14*b,"","Notification Hubs",null,null,this.getTagsForStencil(a,"notification hubs","azure app services ").join(" ")),this.createVertexTemplateEntry(c+"Search_Services.svg;",.18*b,.13*b,"","Search Services",null,null,this.getTagsForStencil(a,"search services","azure app services ").join(" "))];
-this.addPalette("azure2App Services","Azure / App Services",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2EcosystemPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"Applens.svg;",.17*b,.17*b,"","Applens",null,null,this.getTagsForStencil(a,"applens","azure ecosystem ").join(" ")),this.createVertexTemplateEntry(c+"Collaborative_Service.svg;",.17*b,.167*b,"","Collaborative Service",null,null,this.getTagsForStencil(a,
-"collaborative service","azure ecosystem ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Hybrid_Center.svg;",.17*b,.12*b,"","Hybrid Center",null,null,this.getTagsForStencil(a,"hybrid center","azure ecosystem ").join(" "))];this.addPalette("azure2Azure Ecosystem","Azure / Ecosystem",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2AzureStackPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"Capacity.svg;",.1575*
-b,.17*b,"","Capacity",null,null,this.getTagsForStencil(a,"capacity","azure stack ").join(" ")),this.createVertexTemplateEntry(c+"Infrastructure_Backup.svg;",.15*b,.1725*b,"","Infrastructure Backup",null,null,this.getTagsForStencil(a,"infrastructure backup","azure stack ").join(" ")),this.createVertexTemplateEntry(c+"Multi_Tenancy.svg;",.17*b,.1625*b,"","Multi Tenancy",null,null,this.getTagsForStencil(a,"multi tenancy","azure stack ").join(" ")),this.createVertexTemplateEntry(c+"Offers.svg;",.1625*
-b,.16*b,"","Offers",null,null,this.getTagsForStencil(a,"offers","azure stack ").join(" ")),this.createVertexTemplateEntry(c+"Plans.svg;",.13*b,.16*b,"","Plans",null,null,this.getTagsForStencil(a,"plans","azure stack ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Stack.svg;",.155*b,.16*b,"","Stack",null,null,this.getTagsForStencil(a,"azure stack","azure stack ").join(" ")),this.createVertexTemplateEntry(c+"Updates.svg;",.17*b,.1675*b,"","Updates",null,null,this.getTagsForStencil(a,"updates",
-"azure stack ").join(" ")),this.createVertexTemplateEntry(c+"User_Subscriptions.svg;",.17*b,.165*b,"","User Subscriptions",null,null,this.getTagsForStencil(a,"user subscriptions","azure stack ").join(" "))];this.addPalette("azure2Azure Stack","Azure / Azure Stack",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2AzureVMwareSolutionPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"AVS.svg;",.175*b,.14*b,"","AVS",null,
-null,this.getTagsForStencil(a,"avs","azure vmware solution ").join(" "))];this.addPalette("azure2Azure VMware Solution","Azure / VMware Solution",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2BlockchainPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"ABS_Member.svg;",.14*b,.1625*b,"","ABS Member",null,null,this.getTagsForStencil(a,"abs member","azure blockchain ").join(" ")),this.createVertexTemplateEntry(c+"Blockchain_Applications.svg;",
-.121*b,.17*b,"","Blockchain Applications",null,null,this.getTagsForStencil(a,"blockchain applications","azure blockchain ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Blockchain_Service.svg;",.17*b,.17*b,"","Blockchain Service",null,null,this.getTagsForStencil(a,"blockchain service","azure blockchain ").join(" ")),this.createVertexTemplateEntry(c+"Consortium.svg;",.17*b,.17*b,"","Consortium",null,null,this.getTagsForStencil(a,"consortium","azure blockchain ").join(" ")),this.createVertexTemplateEntry(c+
-"Outbound_Connection.svg;",.1775*b,.16*b,"","Outbound Connection",null,null,this.getTagsForStencil(a,"outbound connection","azure blockchain ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Token_Service.svg;",.1475*b,.17*b,"","Token Service",null,null,this.getTagsForStencil(a,"token service","azure blockchain ").join(" "))];this.addPalette("azure2Blockchain","Azure / Blockchain",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2ComputePalette=
-function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"App_Services.svg;",.16*b,.16*b,"","App Services",null,null,this.getTagsForStencil(a,"app services","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Application_Group.svg;",.17*b,.17*b,"","Application Group",null,null,this.getTagsForStencil(a,"application group","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Automanaged_VM.svg;",.17*b,.155*b,"","Automanaged VM",null,null,this.getTagsForStencil(a,"automanaged vm virtual machine",
-"azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Availability_Sets.svg;",.17*b,.17*b,"","Availability Sets",null,null,this.getTagsForStencil(a,"availability sets","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Batch_Accounts.svg;",.17*b,.16*b,"","Batch Accounts",null,null,this.getTagsForStencil(a,"batch accounts","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Cloud_Services_Classic.svg;",.18*b,.13*b,"","Cloud Services (Classic)",null,null,this.getTagsForStencil(a,
-"cloud services classic","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Compute_Galleries.svg;",.17*b,.17*b,"","Compute Galleries",null,null,this.getTagsForStencil(a,"compute galleries","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Container_Instances.svg;",.16*b,.17*b,"","Container Instances",null,null,this.getTagsForStencil(a,"container instances","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Container_Services_Deprecated.svg;",.17*b,.15*b,
-"","Container Services (deprecated)",null,null,this.getTagsForStencil(a,"container services deprecated","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Disk_Encryption_Sets.svg;",.17*b,.17*b,"","Disk Encryption Sets",null,null,this.getTagsForStencil(a,"disk encryption sets","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Disks.svg;",.1425*b,.14*b,"","Disks",null,null,this.getTagsForStencil(a,"disks","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Disks_Snapshots.svg;",
-.17*b,.1775*b,"","Disks Snapshots",null,null,this.getTagsForStencil(a,"disks snapshots","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Function_Apps.svg;",.17*b,.15*b,"","Function Apps",null,null,this.getTagsForStencil(a,"function apps","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Host_Groups.svg;",.155*b,.17*b,"","Host Groups",null,null,this.getTagsForStencil(a,"host groups","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Host_Pools.svg;",.17*b,.17*
-b,"","Host Pools",null,null,this.getTagsForStencil(a,"host pools","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Hosts.svg;",.143*b,.17*b,"","Hosts",null,null,this.getTagsForStencil(a,"hosts","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Image_Definitions.svg;",.165*b,.16*b,"","Image Definitions",null,null,this.getTagsForStencil(a,"image definitions","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Image_Templates.svg;",.17*b,.15*b,"","Image Templates",
-null,null,this.getTagsForStencil(a,"image templates","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Image_Versions.svg;",.1675*b,.16*b,"","Image Versions",null,null,this.getTagsForStencil(a,"image versions","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Images.svg;",.1725*b,.16*b,"","Images",null,null,this.getTagsForStencil(a,"images","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Kubernetes_Services.svg;",.17*b,.15*b,"","Kubernetes Services",null,null,
-this.getTagsForStencil(a,"kubernetes services","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Maintenance_Configuration.svg;",.17*b,.16*b,"","Maintenance Configuration",null,null,this.getTagsForStencil(a,"maintenance configuration","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Managed_Service_Fabric.svg;",.17*b,.165*b,"","Managed Service Fabric",null,null,this.getTagsForStencil(a,"managed service fabric","azure compute ").join(" ")),this.createVertexTemplateEntry(c+
-"Mesh_Applications.svg;",.17*b,.17*b,"","Mesh Applications",null,null,this.getTagsForStencil(a,"mesh applications","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Metrics_Advisor.svg;",.137*b,.17*b,"","Metrics Advisor",null,null,this.getTagsForStencil(a,"metrics advisor","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"OS_Images_Classic.svg;",.1725*b,.16*b,"","OS Images (Classic)",null,null,this.getTagsForStencil(a,"os images classic","azure compute ").join(" ")),this.createVertexTemplateEntry(c+
-"Restore_Points.svg;",.17*b,.167*b,"","Restore Points",null,null,this.getTagsForStencil(a,"restore points","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Restore_Points_Collections.svg;",.17*b,.14*b,"","Restore Points Collections",null,null,this.getTagsForStencil(a,"restore points collections","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Service_Fabric_Clusters.svg;",.1675*b,.16*b,"","Service Fabric Clusters",null,null,this.getTagsForStencil(a,"service fabric clusters",
-"azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Shared_Image_Galleries.svg;",.16*b,.16*b,"","Shared Image Galleries",null,null,this.getTagsForStencil(a,"shared image galleries","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Spring_Cloud.svg;",.17*b,.17*b,"","Spring Cloud",null,null,this.getTagsForStencil(a,"azure spring cloud","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Virtual_Machine.svg;",.1725*b,.16*b,"","Virtual Machine",null,null,this.getTagsForStencil(a,
-"virtual machine","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Virtual_Machines_Classic.svg;",.1725*b,.16*b,"","Virtual Machines (Classic)",null,null,this.getTagsForStencil(a,"virtual machines classic","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"VM_Images_Classic.svg;",.1725*b,.16*b,"","VM Images (Classic)",null,null,this.getTagsForStencil(a,"vm images classic","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"VM_Scale_Sets.svg;",.17*b,.17*b,"","VM Scale Sets",
-null,null,this.getTagsForStencil(a,"vm scale sets","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Workspaces2.svg;",.17*b,.17*b,"","Workspaces",null,null,this.getTagsForStencil(a,"workspaces","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Workspaces.svg;",.1625*b,.14*b,"","Workspaces",null,null,this.getTagsForStencil(a,"workspaces","azure compute ").join(" "))];this.addPalette("azure2Compute","Azure / Compute",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};
-Sidebar.prototype.addAzure2ContainersPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"App_Services.svg;",.16*b,.16*b,"","App Services",null,null,this.getTagsForStencil(a,"app services","azure containers ").join(" ")),this.createVertexTemplateEntry(c+"Batch_Accounts.svg;",.17*b,.16*b,"","Batch Accounts",null,null,this.getTagsForStencil(a,"batch accounts","azure containers ").join(" ")),this.createVertexTemplateEntry(c+"Container_Instances.svg;",.16*b,.1725*b,"","Container Instances",
-null,null,this.getTagsForStencil(a,"container instances","azure containers ").join(" ")),this.createVertexTemplateEntry(c+"Container_Registries.svg;",.17*b,.1525*b,"","Container Registries",null,null,this.getTagsForStencil(a,"container registries","azure containers ").join(" ")),this.createVertexTemplateEntry(c+"Kubernetes_Services.svg;",.17*b,.15*b,"","Kubernetes Services",null,null,this.getTagsForStencil(a,"kubernetes services","azure containers ").join(" ")),this.createVertexTemplateEntry(c+"Service_Fabric_Clusters.svg;",
-.1675*b,.16*b,"","Service Fabric Clusters",null,null,this.getTagsForStencil(a,"service fabric clusters","azure containers ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Red_Hat_OpenShift.svg;",.17*b,.17*b,"","Red Hat OpenShift",null,null,this.getTagsForStencil(a,"azure red hat openshift","azure containers ").join(" "))];this.addPalette("azure2Containers","Azure / Containers",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2CXPPalette=
-function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"Elixir.svg;",.1225*b,.17*b,"","Elixir",null,null,this.getTagsForStencil(a,"elixir","azure cxp ").join(" ")),this.createVertexTemplateEntry(c+"Elixir_Purple.svg;",.1225*b,.17*b,"","Elixir Purple",null,null,this.getTagsForStencil(a,"elixir purple","azure cxp ").join(" "))];this.addPalette("azure2CXP","Azure / CXP",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2DatabasesPalette=
-function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"Cache_Redis.svg;",.16*b,.13*b,"","Cache Redis",null,null,this.getTagsForStencil(a,"cache redis","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Cosmos_DB.svg;",.16*b,.16*b,"","Cosmos DB",null,null,this.getTagsForStencil(a,"cosmos","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Data_Explorer_Clusters.svg;",.17*b,.17*b,"","Data Explorer Clusters",null,null,this.getTagsForStencil(a,"data explorer clusters",
-"azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Data_Factory.svg;",.17*b,.17*b,"","Data Factory",null,null,this.getTagsForStencil(a,"data factory","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Database_MariaDB_Server.svg;",.12*b,.16*b,"","Database MariaDB Server",null,null,this.getTagsForStencil(a,"mariadb server","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Database_Migration_Services.svg;",.16*b,.1725*b,"","Database Migration Services",
-null,null,this.getTagsForStencil(a,"migration services","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Database_MySQL_Server.svg;",.12*b,.16*b,"","Database MySQL Server",null,null,this.getTagsForStencil(a,"mysql my sql server","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Database_PostgreSQL_Server.svg;",.12*b,.16*b,"","Database PostgreSQL Server",null,null,this.getTagsForStencil(a,"postgresql sql server","azure database db ").join(" ")),this.createVertexTemplateEntry(c+
-"Azure_Database_PostgreSQL_Server_Group.svg;",.15*b,.17*b,"","Database PostgreSQL Server Group",null,null,this.getTagsForStencil(a,"postgresql sql server group","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Elastic_Job_Agents.svg;",.16*b,.16*b,"","Elastic Job Agents",null,null,this.getTagsForStencil(a,"elastic job agents","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Instance_Pools.svg;",.1625*b,.16*b,"","Instance Pools",null,null,this.getTagsForStencil(a,
-"instance pools","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Managed_Database.svg;",.17*b,.16*b,"","Managed Database",null,null,this.getTagsForStencil(a,"managed","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Oracle_Database.svg;",.17*b,.17*b,"","Oracle Database",null,null,this.getTagsForStencil(a,"oracle database","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Purview_Accounts.svg;",.17*b,.105*b,"","Purview Accounts",null,null,
-this.getTagsForStencil(a,"azure purview accounts","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_SQL.svg;",.16*b,.115*b,"","SQL",null,null,this.getTagsForStencil(a,"sql","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"SQL_Data_Warehouses.svg;",.16*b,.1625*b,"","SQL Data Warehouses",null,null,this.getTagsForStencil(a,"sql data warehouses","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"SQL_Database.svg;",.12*b,.16*b,"","SQL Database",
-null,null,this.getTagsForStencil(a,"sql","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_SQL_Edge.svg;",.17*b,.17*b,"","SQL Edge",null,null,this.getTagsForStencil(a,"sql edge","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"SQL_Elastic_Pools.svg;",.17*b,.17*b,"","SQL Elastic Pools",null,null,this.getTagsForStencil(a,"sql elastic pools","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"SQL_Managed_Instance.svg;",.1625*b,.16*b,"","SQL Managed Instance",
-null,null,this.getTagsForStencil(a,"sql managed instance","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"SQL_Server.svg;",.17*b,.17*b,"","SQL Server",null,null,this.getTagsForStencil(a,"sql server","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"SQL_Server_Registries.svg;",.17*b,.155*b,"","SQL Server Registries",null,null,this.getTagsForStencil(a,"sql server registries","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_SQL_Server_Stretch_Databases.svg;",
-.16*b,.1625*b,"","SQL Server Stretch Databases",null,null,this.getTagsForStencil(a,"sql server stretch","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_SQL_VM.svg;",.16*b,.15*b,"","SQL VM",null,null,this.getTagsForStencil(a,"sql vm virtual machine","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"SSIS_Lift_And_Shift_IR.svg;",.155*b,.17*b,"","SSIS Lift and Shift IR",null,null,this.getTagsForStencil(a,"ssis lift and shift ir","azure database db ").join(" ")),
-this.createVertexTemplateEntry(c+"Azure_Synapse_Analytics.svg;",.15*b,.1725*b,"","Synapse Analytics",null,null,this.getTagsForStencil(a,"synapse analytics","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Virtual_Clusters.svg;",.165*b,.16*b,"","Virtual Clusters",null,null,this.getTagsForStencil(a,"virtual clusters","azure database db ").join(" "))];this.addPalette("azure2Databases","Azure / Databases",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};
-Sidebar.prototype.addAzure2DevOpsPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"API_Connections.svg;",.17*b,.1133*b,"","API Connections",null,null,this.getTagsForStencil(a,"api connections application programming interface","azure devops ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/app_services/API_Management_Services.svg;",.1625*b,.15*b,"","API Management Services",null,null,this.getTagsForStencil(a,
-"api application programming interface management services","azure devops ").join(" ")),this.createVertexTemplateEntry(c+"Application_Insights.svg;",.11*b,.1575*b,"","Application Insights",null,null,this.getTagsForStencil(a,"application insights","azure devops ").join(" ")),this.createVertexTemplateEntry(c+"Change_Analysis.svg;",.17*b,.1692*b,"","Change Analysis",null,null,this.getTagsForStencil(a,"change analysis","azure devops ").join(" ")),this.createVertexTemplateEntry(c+"CloudTest.svg;",.147*
-b,.17*b,"","CloudTest",null,null,this.getTagsForStencil(a,"cloudtest cloud test","azure devops ").join(" ")),this.createVertexTemplateEntry(c+"Code_Optimization.svg;",.17*b,.17*b,"","Code Optimization",null,null,this.getTagsForStencil(a,"code optimization","azure devops ").join(" ")),this.createVertexTemplateEntry(c+"Azure_DevOps.svg;",.16*b,.16*b,"","DevOps",null,null,this.getTagsForStencil(a,"devops","azure devops ").join(" ")),this.createVertexTemplateEntry(c+"DevOps_Starter.svg;",.17*b,.1594*
-b,"","DevOps Starter",null,null,this.getTagsForStencil(a,"devops starter","azure devops ").join(" ")),this.createVertexTemplateEntry(c+"DevTest_Labs.svg;",.165*b,.16*b,"","DevTest Labs",null,null,this.getTagsForStencil(a,"devtest labs","azure devops ").join(" ")),this.createVertexTemplateEntry(c+"Lab_Accounts.svg;",.1629*b,.17*b,"","Lab Accounts",null,null,this.getTagsForStencil(a,"lab accounts","azure devops ").join(" ")),this.createVertexTemplateEntry(c+"Lab_Services.svg;",.165*b,.16*b,"","Lab Services",
-null,null,this.getTagsForStencil(a,"lab services","azure devops ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/other/Load_Testing.svg;",.148*b,.17*b,"","Load Testing",null,null,this.getTagsForStencil(a,"load testing","azure devops ").join(" "))];this.addPalette("azure2DevOps","Azure / DevOps",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2GeneralPalette=
-function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"All_Resources.svg;",.16*b,.16*b,"","All Resources",null,null,this.getTagsForStencil(a,"all resources","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Backlog.svg;",.17*b,.15*b,"","Backlog",null,null,this.getTagsForStencil(a,"backlog","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Biz_Talk.svg;",.1725*b,.16*b,"","Biz Talk",null,null,this.getTagsForStencil(a,"biz talk","azure general ").join(" ")),this.createVertexTemplateEntry(c+
-"Blob_Block.svg;",.1625*b,.13*b,"","Blob Block",null,null,this.getTagsForStencil(a,"blob block","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Blob_Page.svg;",.1625*b,.13*b,"","Blob Page",null,null,this.getTagsForStencil(a,"blob page","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Branch.svg;",.18*b,.18*b,"","Branch",null,null,this.getTagsForStencil(a,"branch","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Browser.svg;",.1625*b,.13*b,"","Browser",null,
-null,this.getTagsForStencil(a,"browser","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Bug.svg;",.1475*b,.16*b,"","Bug",null,null,this.getTagsForStencil(a,"bug","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Builds.svg;",.16*b,.16*b,"","Builds",null,null,this.getTagsForStencil(a,"builds","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Cache.svg;",.16*b,.16*b,"","Cache",null,null,this.getTagsForStencil(a,"cache","azure general ").join(" ")),this.createVertexTemplateEntry(c+
-"Code.svg;",.16*b,.13*b,"","Code",null,null,this.getTagsForStencil(a,"code","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Commit.svg;",.18*b,.17*b,"","Commit",null,null,this.getTagsForStencil(a,"commit","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Controls.svg;",.14*b,.1725*b,"","Controls",null,null,this.getTagsForStencil(a,"controls","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Controls_Horizontal.svg;",.1725*b,.14*b,"","Controls Horizontal",null,
-null,this.getTagsForStencil(a,"controls horizontal","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Cost_Alerts.svg;",.1675*b,.14*b,"","Cost Alerts",null,null,this.getTagsForStencil(a,"cost alerts","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Cost_Analysis.svg;",.15*b,.175*b,"","Cost Analysis",null,null,this.getTagsForStencil(a,"cost analysis","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Cost_Budgets.svg;",.1675*b,.17*b,"","Cost Budgets",null,null,
-this.getTagsForStencil(a,"cost budgets","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Cost_Management.svg;",.1675*b,.15*b,"","Cost Management",null,null,this.getTagsForStencil(a,"cost management","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Cost_Management_and_Billing.svg;",.17*b,.17*b,"","Cost Management and Billing",null,null,this.getTagsForStencil(a,"cost management and billing","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Counter.svg;",.16*
-b,.13*b,"","Counter",null,null,this.getTagsForStencil(a,"counter","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Cubes.svg;",.1675*b,.17*b,"","Cubes",null,null,this.getTagsForStencil(a,"cubes","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Dashboard.svg;",.17*b,.12*b,"","Dashboard",null,null,this.getTagsForStencil(a,"dashboard","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Dashboard2.svg;",.17*b,.12*b,"","Dashboard",null,null,this.getTagsForStencil(a,
-"dashboard","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Dev_Console.svg;",.1625*b,.13*b,"","Dev Console",null,null,this.getTagsForStencil(a,"dev console","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Download.svg;",.16*b,.1675*b,"","Download",null,null,this.getTagsForStencil(a,"download","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Error.svg;",.1775*b,.17*b,"","Error",null,null,this.getTagsForStencil(a,"error","azure general ").join(" ")),this.createVertexTemplateEntry(c+
-"Extensions.svg;",.1625*b,.16*b,"","Extensions",null,null,this.getTagsForStencil(a,"extensions","azure general ").join(" ")),this.createVertexTemplateEntry(c+"File.svg;",.14*b,.1725*b,"","File",null,null,this.getTagsForStencil(a,"file","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Files.svg;",.16*b,.175*b,"","Files",null,null,this.getTagsForStencil(a,"files","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Folder_Blank.svg;",.1725*b,.14*b,"","Folder Blank",null,null,
-this.getTagsForStencil(a,"folder blank","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Folder_Website.svg;",.17*b,.14*b,"","Folder Website",null,null,this.getTagsForStencil(a,"folder website","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Free_Services.svg;",.17*b,.1575*b,"","Free Services",null,null,this.getTagsForStencil(a,"free services","azure general ").join(" ")),this.createVertexTemplateEntry(c+"FTP.svg;",.15*b,.12*b,"","FTP",null,null,this.getTagsForStencil(a,
-"ftp file transfer protocol","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Gear.svg;",.16*b,.16*b,"","Gear",null,null,this.getTagsForStencil(a,"gear","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Globe.svg;",.14*b,.165*b,"","Globe",null,null,this.getTagsForStencil(a,"globe","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Globe_Error.svg;",.14*b,.165*b,"","Globe Error",null,null,this.getTagsForStencil(a,"globe error","azure general ").join(" ")),this.createVertexTemplateEntry(c+
-"Globe_Success.svg;",.14*b,.165*b,"","Globe Success",null,null,this.getTagsForStencil(a,"globe success","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Globe_Warning.svg;",.14*b,.165*b,"","Globe Warning",null,null,this.getTagsForStencil(a,"globe warning","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Guide.svg;",.17*b,.17*b,"","Guide",null,null,this.getTagsForStencil(a,"guide","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Heart.svg;",.16*b,.15*b,"",
-"Heart",null,null,this.getTagsForStencil(a,"heart","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Help_and_Support.svg;",.14*b,.1725*b,"","Help and Support",null,null,this.getTagsForStencil(a,"help support","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Image.svg;",.16*b,.11*b,"","Image",null,null,this.getTagsForStencil(a,"image","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Information.svg;",.16*b,.16*b,"","Information",null,null,this.getTagsForStencil(a,
-"information","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Input_Output.svg;",.16*b,.1375*b,"","Input Output",null,null,this.getTagsForStencil(a,"input output","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Journey_Hub.svg;",.15*b,.1575*b,"","Journey Hub",null,null,this.getTagsForStencil(a,"journey hub","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Launch_Portal.svg;",.17*b,.1675*b,"","Launch Portal",null,null,this.getTagsForStencil(a,"launch portal",
-"azure general ").join(" ")),this.createVertexTemplateEntry(c+"Learn.svg;",.12*b,.175*b,"","Learn",null,null,this.getTagsForStencil(a,"learn","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Load_Test.svg;",.17*b,.165*b,"","Load Test",null,null,this.getTagsForStencil(a,"load test","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Location.svg;",.1*b,.1775*b,"","Location",null,null,this.getTagsForStencil(a,"location","azure general ").join(" ")),this.createVertexTemplateEntry(c+
-"Log_Streaming.svg;",.14*b,.1675*b,"","Log Streaming",null,null,this.getTagsForStencil(a,"log streaming","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Management_Groups.svg;",.165*b,.16*b,"","Management Groups",null,null,this.getTagsForStencil(a,"management groups","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Management_Portal.svg;",.15*b,.12*b,"","Management Portal",null,null,this.getTagsForStencil(a,"management portal","azure general ").join(" ")),this.createVertexTemplateEntry(c+
-"Marketplace.svg;",.14*b,.16*b,"","Marketplace",null,null,this.getTagsForStencil(a,"marketplace","azure general ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/other/Marketplace_Management.svg;",.145*b,.17*b,"","Marketplace Management",null,null,this.getTagsForStencil(a,"marketplace management","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Media.svg;",.17*b,.17*b,"","Media",null,null,this.getTagsForStencil(a,
-"media","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Media_File.svg;",.13*b,.16*b,"","Media File",null,null,this.getTagsForStencil(a,"media file","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Mobile.svg;",.1*b,.1675*b,"","Mobile",null,null,this.getTagsForStencil(a,"mobile","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Mobile_Engagement.svg;",.1*b,.1675*b,"","Mobile Engagement",null,null,this.getTagsForStencil(a,"mobile engagement","azure general ").join(" ")),
-this.createVertexTemplateEntry(c+"Module.svg;",.16*b,.16*b,"","Module",null,null,this.getTagsForStencil(a,"module","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Power.svg;",.11*b,.17*b,"","Power",null,null,this.getTagsForStencil(a,"power","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Power_Up.svg;",.17*b,.17*b,"","Power Up",null,null,this.getTagsForStencil(a,"power up","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Powershell.svg;",.1625*b,.13*b,"",
-"Powershell",null,null,this.getTagsForStencil(a,"powershell","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Preview.svg;",.11*b,.16*b,"","Preview",null,null,this.getTagsForStencil(a,"preview","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Preview_Features.svg;",.17*b,.17*b,"","Preview Features",null,null,this.getTagsForStencil(a,"preview features","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Process_Explorer.svg;",.175*b,.17*b,"","Process Explorer",
-null,null,this.getTagsForStencil(a,"process explorer","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Production_Ready_Database.svg;",.12*b,.16*b,"","Production Ready Database",null,null,this.getTagsForStencil(a,"production ready database","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Quickstart_Center.svg;",.17*b,.17*b,"","Quickstart Center",null,null,this.getTagsForStencil(a,"quickstart center","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Recent.svg;",
-.17*b,.17*b,"","Recent",null,null,this.getTagsForStencil(a,"recent","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Reservations.svg;",.17*b,.17*b,"","Reservations",null,null,this.getTagsForStencil(a,"reservations","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Resource_Explorer.svg;",.17*b,.14*b,"","Resource Explorer",null,null,this.getTagsForStencil(a,"resource exporer","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Resource_Group_List.svg;",.17*b,
-.1675*b,"","Resource Group List",null,null,this.getTagsForStencil(a,"resource group list","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Resource_Groups.svg;",.17*b,.16*b,"","Resource Groups",null,null,this.getTagsForStencil(a,"resource groups","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Resource_Linked.svg;",.18*b,.18*b,"","Resource Linked",null,null,this.getTagsForStencil(a,"resource linked","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Scale.svg;",
-.15*b,.15*b,"","Scale",null,null,this.getTagsForStencil(a,"scale","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Scheduler.svg;",.17*b,.17*b,"","Scheduler",null,null,this.getTagsForStencil(a,"scheduler","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Search.svg;",.16*b,.1625*b,"","Search",null,null,this.getTagsForStencil(a,"search","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Search_Grid.svg;",.17*b,.1675*b,"","Search Grid",null,null,this.getTagsForStencil(a,
-"search grid","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Server_Farm.svg;",.16*b,.16*b,"","Server Farm",null,null,this.getTagsForStencil(a,"server farm","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Service_Bus.svg;",.175*b,.15*b,"","Service Bus",null,null,this.getTagsForStencil(a,"service bus","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Service_Health.svg;",.17*b,.16*b,"","Service Health",null,null,this.getTagsForStencil(a,"service health",
-"azure general ").join(" ")),this.createVertexTemplateEntry(c+"SSD.svg;",.165*b,.15*b,"","SSD",null,null,this.getTagsForStencil(a,"ssd solid state drive","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Storage_Azure_Files.svg;",.16*b,.13*b,"","Storage Azure Files",null,null,this.getTagsForStencil(a,"storage files","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Storage_Container.svg;",.16*b,.13*b,"","Storage Container",null,null,this.getTagsForStencil(a,"storage container",
-"azure general ").join(" ")),this.createVertexTemplateEntry(c+"Storage_Queue.svg;",.16*b,.13*b,"","Storage Queue",null,null,this.getTagsForStencil(a,"storage queue","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Subscriptions.svg;",.11*b,.1775*b,"","Subscriptions",null,null,this.getTagsForStencil(a,"subscriptions","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Table.svg;",.16*b,.13*b,"","Table",null,null,this.getTagsForStencil(a,"table","azure general ").join(" ")),
-this.createVertexTemplateEntry(c+"Tag.svg;",.17*b,.167*b,"","Tag",null,null,this.getTagsForStencil(a,"tag","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Tags.svg;",.15*b,.1625*b,"","Tags",null,null,this.getTagsForStencil(a,"tags","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Templates.svg;",.14*b,.17*b,"","Templates",null,null,this.getTagsForStencil(a,"templates","azure general ").join(" ")),this.createVertexTemplateEntry(c+"TFS_VC_Repository.svg;",.17*b,.17*b,"",
-"TFS VC Repository",null,null,this.getTagsForStencil(a,"tfs vc repository","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Toolbox.svg;",.16*b,.14*b,"","Toolbox",null,null,this.getTagsForStencil(a,"toolbox","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Troubleshoot.svg;",.165*b,.17*b,"","Troubleshoot",null,null,this.getTagsForStencil(a,"troubleshoot","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Versions.svg;",.155*b,.15*b,"","Versions",null,null,this.getTagsForStencil(a,
-"versions","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Web_Slots.svg;",.145*b,.16*b,"","Web Slots",null,null,this.getTagsForStencil(a,"web slots","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Web_Test.svg;",.18*b,.18*b,"","Web Test",null,null,this.getTagsForStencil(a,"web test","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Website_Power.svg;",.17*b,.17*b,"","Website Power",null,null,this.getTagsForStencil(a,"website power","azure general ").join(" ")),
-this.createVertexTemplateEntry(c+"Website_Staging.svg;",.16*b,.175*b,"","Website Staging",null,null,this.getTagsForStencil(a,"website staging","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Workbooks.svg;",.15*b,.1625*b,"","Workbooks",null,null,this.getTagsForStencil(a,"workbooks","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Workflow.svg;",.17*b,.175*b,"","Workflow",null,null,this.getTagsForStencil(a,"workflow","azure general ").join(" "))];this.addPalette("azure2General",
-"Azure / General",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2HybridAndMulticloudPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"Azure_Operator_5G_Core.svg;",.17*b,.1133*b,"","Azure Operator 5G Core",null,null,this.getTagsForStencil(a,"operator 5g core","azure hybrid and multicloud ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Operator_Insights.svg;",.17*b,.17*b,"","Azure Operator Insights",null,null,
-this.getTagsForStencil(a,"operator insights","azure hybrid and multicloud ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Operator_Nexus.svg;",.17*b,.17*b,"","Azure Operator Nexus",null,null,this.getTagsForStencil(a,"operator nexus","azure hybrid and multicloud ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Operator_Service_Manager.svg;",.17*b,.17*b,"","Azure Operator Service Manager",null,null,this.getTagsForStencil(a,"operator service manager","azure hybrid and multicloud ").join(" ")),
-this.createVertexTemplateEntry(c+"Azure_Programmable_Connectivity.svg;",.17*b,.17*b,"","Azure Programmable Connectivity",null,null,this.getTagsForStencil(a,"operator programmable connectivity","azure hybrid and multicloud ").join(" "))];this.addPalette("azure2Hybrid and Multicloud","Azure / Hybrid and Multicloud",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2IdentityPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+
-"AAD_Licenses.svg;",.165*b,.17*b,"","AAD Licenses",null,null,this.getTagsForStencil(a,"aad licenses","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Active_Directory.svg;",.175*b,.16*b,"","Active Directory",null,null,this.getTagsForStencil(a,"active directory","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Active_Directory_Connect_Health.svg;",.1725*b,.16*b,"","Active Directory Connect Health",null,null,this.getTagsForStencil(a,"active directory connect health",
-"azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Active_Directory_Connect_Health2.svg;",.17*b,.1511*b,"","Active Directory Connect Health",null,null,this.getTagsForStencil(a,"active directory connect health","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Azure_AD_B2C.svg;",.1725*b,.16*b,"","AD B2C",null,null,this.getTagsForStencil(a,"ad b2c","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Azure_AD_Domain_Services.svg;",.175*b,.16*b,"","AD Domain Services",
-null,null,this.getTagsForStencil(a,"ad domain services","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Azure_AD_Identity_Protection.svg;",.17*b,.155*b,"","AD Identity Protection",null,null,this.getTagsForStencil(a,"ad identity protection","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Azure_AD_Privilege_Identity_Management.svg;",.17*b,.17*b,"","AD Privilege Identity Management",null,null,this.getTagsForStencil(a,"ad privilege identity management","azure identity ").join(" ")),
-this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/intune/Azure_AD_Roles_and_Administrators.svg;",.17*b,.17*b,"","AD Roles and Administrators",null,null,this.getTagsForStencil(a,"ad roles administrators","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Administrative_Units.svg;",.17*b,.17*b,"","Administrative Units",null,null,this.getTagsForStencil(a,"administrative units","azure identity ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/other/API_Proxy.svg;",
-.17*b,.17*b,"","API Proxy",null,null,this.getTagsForStencil(a,"api application programming interface proxy","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"App_Registrations.svg;",.1575*b,.16*b,"","App Registrations",null,null,this.getTagsForStencil(a,"app registrations","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Azure_AD_B2C2.svg;",.17*b,.1511*b,"","Azure AD B2C",null,null,this.getTagsForStencil(a,"ad b2c","azure identity ").join(" ")),this.createVertexTemplateEntry(c+
-"Custom_Azure_AD_Roles.svg;",.17*b,.17*b,"","Custom Azure AD Roles",null,null,this.getTagsForStencil(a,"custom azure ad roles","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Enterprise_Applications.svg;",.16*b,.16*b,"","Enterprise Applications",null,null,this.getTagsForStencil(a,"enterprise applications","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Entra_Connect.svg;",.17*b,.1606*b,"","Entra Connect",null,null,this.getTagsForStencil(a,"entra connect","azure identity ").join(" ")),
-this.createVertexTemplateEntry(c+"Entra_Domain_Services.svg;",.17*b,.17*b,"","Entra Domain Services",null,null,this.getTagsForStencil(a,"entra domain services","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Entra_Global_Secure_Access.svg;",.17*b,.17*b,"","Entra Global Secure Access",null,null,this.getTagsForStencil(a,"entra global secure access","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Entra_ID_Protection.svg;",.17*b,.1511*b,"","Entra ID Protection",null,null,
-this.getTagsForStencil(a,"entra id protection","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Entra_Internet_Access.svg;",.17*b,.17*b,"","Entra Internet Access",null,null,this.getTagsForStencil(a,"entra internet access","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Entra_Managed_Identities.svg;",.17*b,.1511*b,"","Entra Managed Identities",null,null,this.getTagsForStencil(a,"entra managed identities","azure identity ").join(" ")),this.createVertexTemplateEntry(c+
-"Entra_Private_Access.svg;",.17*b,.17*b,"","Entra Private Access",null,null,this.getTagsForStencil(a,"entra private access","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Entra_Privileged_Identity_Management.svg;",.17*b,.17*b,"","Entra Privileged Identity Management",null,null,this.getTagsForStencil(a,"entra privileged identity management","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Entra_Verified_ID.svg;",.17*b,.1511*b,"","Entra Verified ID",null,null,this.getTagsForStencil(a,
-"entra verified id","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"External_Identities.svg;",.1562*b,.17*b,"","External Identities",null,null,this.getTagsForStencil(a,"external identities","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Groups.svg;",.17*b,.14*b,"","Groups",null,null,this.getTagsForStencil(a,"groups","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Identity_Governance.svg;",.16*b,.16*b,"","Identity Governance",null,null,this.getTagsForStencil(a,
-"identity governance","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Information_Protection.svg;",.128*b,.17*b,"","Information Protection",null,null,this.getTagsForStencil(a,"information protection","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Managed_Identities.svg;",.17*b,.165*b,"","Managed Identities",null,null,this.getTagsForStencil(a,"managed identities","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Multi_Factor_Authentication.svg;",
-.17*b,.17*b,"","Multi-Factor Authentication",null,null,this.getTagsForStencil(a,"multi factor authentication","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"PIM.svg;",.15*b,.17*b,"","PIM",null,null,this.getTagsForStencil(a,"pim privileged identity management","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Security.svg;",.1418*b,.17*b,"","Security",null,null,this.getTagsForStencil(a,"security","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Tenant_Properties.svg;",
-.17*b,.12*b,"","Tenant Properties",null,null,this.getTagsForStencil(a,"tenant properties","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"User_Settings.svg;",.17*b,.1423*b,"","User Settings",null,null,this.getTagsForStencil(a,"user settings","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Users.svg;",.16*b,.175*b,"","Users",null,null,this.getTagsForStencil(a,"users","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Verifiable_Credentials.svg;",.17*b,.17*
-b,"","Verifiable Credentials",null,null,this.getTagsForStencil(a,"verifiable credentials","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Verification_As_A_Service.svg;",.17*b,.17*b,"","Verification As A Service",null,null,this.getTagsForStencil(a,"verification as service","azure identity ").join(" "))];this.addPalette("azure2Identity","Azure / Identity",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2IntegrationPalette=
-function(a,b,d,c){var e=[this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/devops/API_Connections.svg;",.17*b,.1133*b,"","API Connections",null,null,this.getTagsForStencil(a,"api connections application programming interface","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Azure_API_for_FHIR.svg;",.17*b,.163*b,"","API for FHIR",null,null,this.getTagsForStencil(a,"api application programming interface for fhir","azure integration ").join(" ")),
-this.createVertexTemplateEntry(c+"API_Management_Services.svg;",.1625*b,.15*b,"","API Management Services",null,null,this.getTagsForStencil(a,"api application programming interface management services","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"App_Configuration.svg;",.16*b,.17*b,"","App Configuration",null,null,this.getTagsForStencil(a,"app configuration application","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Data_Catalog.svg;",.15*b,.1675*b,
-"","Data Catalog",null,null,this.getTagsForStencil(a,"data catalog","azure integration ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/databases/Data_Factory.svg;",.17*b,.17*b,"","Data Factories",null,null,this.getTagsForStencil(a,"data factories","azure integration ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/storage/Azure_Stack_Edge.svg;",
-.17*b,.12*b,"","Databox Gateway",null,null,this.getTagsForStencil(a,"databox gateway","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Event_Grid_Domains.svg;",.1675*b,.15*b,"","Event Grid Domains",null,null,this.getTagsForStencil(a,"event grid domains","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Event_Grid_Subscriptions.svg;",.1675*b,.15*b,"","Event Grid Subscriptions",null,null,this.getTagsForStencil(a,"event grid subscriptions","azure integration ").join(" ")),
-this.createVertexTemplateEntry(c+"Event_Grid_Topics.svg;",.1675*b,.15*b,"","Event Grid Topics",null,null,this.getTagsForStencil(a,"event grid topics","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Integration_Accounts.svg;",.16*b,.16*b,"","Integration Accounts",null,null,this.getTagsForStencil(a,"integration accounts","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Integration_Environments.svg;",.1606*b,.17*b,"","Integration Environments",null,null,this.getTagsForStencil(a,
-"integration environments","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Integration_Service_Environments.svg;",.17*b,.17*b,"","Integration Service Environments",null,null,this.getTagsForStencil(a,"integration service environments","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Logic_Apps.svg;",.1675*b,.13*b,"","Logic Apps",null,null,this.getTagsForStencil(a,"logic apps","azure integration ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/internet_of_things/Logic_Apps.svg;",
-.17*b,.17*b,"","Logic Apps",null,null,this.getTagsForStencil(a,"logic apps","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Logic_Apps_Custom_Connector.svg;",.17*b,.17*b,"","Logic Apps Custom Connector",null,null,this.getTagsForStencil(a,"logic apps custom connector","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Partner_Namespace.svg;",.17*b,.152*b,"","Partner Namespace",null,null,this.getTagsForStencil(a,"partner namespace","azure integration ").join(" ")),
-this.createVertexTemplateEntry(c+"Partner_Registration.svg;",.17*b,.158*b,"","Partner Registration",null,null,this.getTagsForStencil(a,"partner registration","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Partner_Topic.svg;",.17*b,.1525*b,"","Partner Topic",null,null,this.getTagsForStencil(a,"partner topic","azure integration ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/analytics/Power_Platform.svg;",
-.1623*b,.17*b,"","Power Platform",null,null,this.getTagsForStencil(a,"power platform","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Relays.svg;",.1675*b,.15*b,"","Relays",null,null,this.getTagsForStencil(a,"relays","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"SendGrid_Accounts.svg;",.167*b,.17*b,"","SendGrid Accounts",null,null,this.getTagsForStencil(a,"sendgrid send grid accounts","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Service_Bus.svg;",
-.17*b,.15*b,"","Service Bus",null,null,this.getTagsForStencil(a,"service bus","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Software_as_a_Service.svg;",.16*b,.1325*b,"","Software as a Service",null,null,this.getTagsForStencil(a,"software service","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"SQL_Data_Warehouses.svg;",.16*b,.1625*b,"","SQL Data Warehouses",null,null,this.getTagsForStencil(a,"sql data warehouses","azure integration ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/storage/Data_Box_Edge.svg;",
-.17*b,.1218*b,"","Stack Edge",null,null,this.getTagsForStencil(a,"stack edge","azure integration ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/storage/StorSimple_Device_Managers.svg;",.175*b,.16*b,"","StorSimple Device Managers",null,null,this.getTagsForStencil(a,"storsimple device managers","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"System_Topic.svg;",.17*b,.15*b,"","System Topic",null,null,
-this.getTagsForStencil(a,"system topic","azure integration ").join(" "))];this.addPalette("azure2Integration","Azure / Integration",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2InternetOfThingsPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"Digital_Twins.svg;",.17*b,.1725*b,"","Digital Twins",null,null,this.getTagsForStencil(a,"digital twins","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+
-"Logic_Apps.svg;",.17*b,.17*b,"","Logic Apps",null,null,this.getTagsForStencil(a,"logic apps","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Time_Series_Insights_Access_Policies.svg;",.105*b,.17*b,"","Time Series Insights Access Policies",null,null,this.getTagsForStencil(a,"time series insights access policies","azure iot internet of things ").join(" "))];this.addPalette("azure2Internet of Things","Azure / Internet of Things",!1,mxUtils.bind(this,function(f){for(var g=
-0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2IntunePalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"Azure_AD_Roles_and_Administrators.svg;",.16*b,.16*b,"","AD Roles and Administrators",null,null,this.getTagsForStencil(a,"ad roles administrators","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Client_Apps.svg;",.17*b,.17*b,"","Client Apps",null,null,this.getTagsForStencil(a,"client apps","azure intune ").join(" ")),this.createVertexTemplateEntry(c+
-"Device_Compliance.svg;",.155*b,.17*b,"","Device Compliance",null,null,this.getTagsForStencil(a,"device compliance","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Device_Configuration.svg;",.155*b,.17*b,"","Device Configuration",null,null,this.getTagsForStencil(a,"device configuration","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Device_Enrollment.svg;",.17*b,.151*b,"","Device Enrollment",null,null,this.getTagsForStencil(a,"device enrollment","azure intune ").join(" ")),
-this.createVertexTemplateEntry(c+"Device_Security_Apple.svg;",.17*b,.1725*b,"","Device Security Apple",null,null,this.getTagsForStencil(a,"device security apple","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Device_Security_Google.svg;",.17*b,.1725*b,"","Device Security Google",null,null,this.getTagsForStencil(a,"device security google","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Device_Security_Windows.svg;",.17*b,.17*b,"","Device Security Windows",null,null,this.getTagsForStencil(a,
-"device security windows","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Devices.svg;",.17*b,.15*b,"","Devices",null,null,this.getTagsForStencil(a,"devices","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"eBooks.svg;",.17*b,.15*b,"","eBooks",null,null,this.getTagsForStencil(a,"ebooks","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Exchange_Access.svg;",.14*b,.17*b,"","Exchange Access",null,null,this.getTagsForStencil(a,"exchange access","azure intune ").join(" ")),
-this.createVertexTemplateEntry(c+"Intune.svg;",.17*b,.155*b,"","Intune",null,null,this.getTagsForStencil(a,"intune","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Intune_For_Education.svg;",.17*b,.155*b,"","Intune for Education",null,null,this.getTagsForStencil(a,"intune for education","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Mindaro.svg;",.168*b,.17*b,"","Mindaro",null,null,this.getTagsForStencil(a,"mindaro","azure intune ").join(" ")),this.createVertexTemplateEntry(c+
-"Security_Baselines.svg;",.17*b,.17*b,"","Security Baselines",null,null,this.getTagsForStencil(a,"security baselines","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Software_Updates.svg;",.17*b,.15*b,"","Software Updates",null,null,this.getTagsForStencil(a,"software updates","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Tenant_Status.svg;",.16*b,.17*b,"","Tenant Status",null,null,this.getTagsForStencil(a,"tenant status","azure intune ").join(" "))];this.addPalette("azure2Intune",
-"Azure / Intune",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2IOTPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/databases/Azure_Cosmos_DB.svg;",.17*b,.17*b,"","Cosmos DB",null,null,this.getTagsForStencil(a,"cosmos","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/storage/Azure_Stack_Edge.svg;",
-.17*b,.12*b,"","Databox Gateway",null,null,this.getTagsForStencil(a,"databox gateway","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Device_Provisioning_Services.svg;",.16*b,.165*b,"","Device Provisioning Services",null,null,this.getTagsForStencil(a,"device provisioning services","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Digital_Twins.svg;",.17*b,.17*b,"","Digital Twins",null,null,this.getTagsForStencil(a,"digital twins","azure iot internet of things ").join(" ")),
-this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/integration/Event_Grid_Domains.svg;",.1675*b,.15*b,"","Event Grid Subscriptions",null,null,this.getTagsForStencil(a,"event grid subscriptions","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/analytics/Event_Hub_Clusters.svg;",.17*b,.1381*b,"","Event Hub Clusters",null,null,this.getTagsForStencil(a,
-"event hub clusters","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Event_Hubs.svg;",.1675*b,.15*b,"","Event Hubs",null,null,this.getTagsForStencil(a,"event hubs","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Function_Apps.svg;",.17*b,.15*b,"","Function Apps",null,null,this.getTagsForStencil(a,"function apps","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Industrial_IoT.svg;",.157*b,.17*b,"","Industrial IoT",
-null,null,this.getTagsForStencil(a,"industrial","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"IoT_Central_Applications.svg;",.15*b,.1725*b,"","IoT Central Applications",null,null,this.getTagsForStencil(a,"central applications","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"IoT_Edge.svg;",.17*b,.17*b,"","IoT Edge",null,null,this.getTagsForStencil(a,"edge","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"IoT_Hub.svg;",
-.16*b,.16*b,"","IoT Hub",null,null,this.getTagsForStencil(a,"hub","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Azure_IoT_Operations.svg;",.17*b,.1606*b,"","IoT Operations",null,null,this.getTagsForStencil(a,"operations","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/internet_of_things/Logic_Apps.svg;",.17*b,.17*b,"","Logic Apps",null,null,this.getTagsForStencil(a,
-"logic apps","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Logic_Apps.svg;",.1675*b,.13*b,"","Logic Apps",null,null,this.getTagsForStencil(a,"logic apps","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/ai_machine_learning/Machine_Learning_Studio_Classic_Web_Services.svg;",.17*b,.17*b,"","Machine Learning Studio - Classic Web Services",null,null,this.getTagsForStencil(a,
-"studio classic web services","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/ai_machine_learning/Machine_Learning_Studio_Web_Service_Plans.svg;",.17*b,.17*b,"","Machine Learning Studio - Web Service Plans",null,null,this.getTagsForStencil(a,"studio web service plans","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/ai_machine_learning/Machine_Learning_Studio_Workspaces.svg;",
-.17*b,.17*b,"","Machine Learning Studio - Workspaces",null,null,this.getTagsForStencil(a,"studio workspaces","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Maps_Accounts.svg;",.17*b,.17*b,"","Maps Accounts",null,null,this.getTagsForStencil(a,"maps accounts","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Notification_Hubs.svg;",.1675*b,.14*b,"","Notification Hubs",null,null,this.getTagsForStencil(a,"notification hubs","azure iot internet of things ").join(" ")),
-this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/azure_stack/Azure_Stack.svg;",.1647*b,.17*b,"","Stack",null,null,this.getTagsForStencil(a,"stack","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/iot/Azure_Stack_HCI_Sizer.svg;",.17*b,.17*b,"","Stack HCI Sizer",null,null,this.getTagsForStencil(a,"stack hci sizer","azure iot internet of things ").join(" ")),
-this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/iot/Stack_HCI_Premium.svg;",.17*b,.17*b,"","Stack HCI Premium",null,null,this.getTagsForStencil(a,"stack hci premium","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Stream_Analytics_Jobs.svg;",.17*b,.145*b,"","Stream Analytics Jobs",null,null,this.getTagsForStencil(a,"stream analytics jobs","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+
-"Time_Series_Data_Sets.svg;",.128*b,.17*b,"","Time Series Data Sets",null,null,this.getTagsForStencil(a,"time series data sets","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/internet_of_things/Time_Series_Insights_Access_Policies.svg;",.105*b,.17*b,"","Time Series Insights Access Policies",null,null,this.getTagsForStencil(a,"time series insights access policies","azure iot internet of things ").join(" ")),
-this.createVertexTemplateEntry(c+"Time_Series_Insights_Environments.svg;",.1675*b,.17*b,"","Time Series Insights Environments",null,null,this.getTagsForStencil(a,"time series insights environments","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Time_Series_Insights_Event_Sources.svg;",.1675*b,.17*b,"","Time Series Insights Event Sources",null,null,this.getTagsForStencil(a,"time series insights event sources","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+
-"Windows10_Core_Services.svg;",.17*b,.17*b,"","Windows10 Core Services",null,null,this.getTagsForStencil(a,"windows10 core services","azure iot internet of things ").join(" "))];this.addPalette("azure2IoT","Azure / IoT",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2ManagementGovernancePalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"Activity_Log.svg;",.14*b,.1675*b,"","Activity Log",null,null,this.getTagsForStencil(a,
-"activity log","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Advisor.svg;",.165*b,.16*b,"","Advisor",null,null,this.getTagsForStencil(a,"advisor","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Alerts.svg;",.1675*b,.14*b,"","Alerts",null,null,this.getTagsForStencil(a,"alerts","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Application_Insights.svg;",.11*b,.1575*b,"","Application Insights",null,null,this.getTagsForStencil(a,
-"application insights","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Arc.svg;",.1725*b,.13*b,"","Arc",null,null,this.getTagsForStencil(a,"arc","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Arc_Machines.svg;",.1619*b,.17*b,"","Arc Machines",null,null,this.getTagsForStencil(a,"arc machines","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Automation_Accounts.svg;",.17*b,.17*b,"","Automation Accounts",null,
-null,this.getTagsForStencil(a,"automation accounts","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Blueprints.svg;",.1625*b,.16*b,"","Blueprints",null,null,this.getTagsForStencil(a,"blueprints","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Compliance.svg;",.13*b,.16*b,"","Compliance",null,null,this.getTagsForStencil(a,"compliance","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Cost_Management_and_Billing.svg;",
-.17*b,.17*b,"","Cost Management and Billing",null,null,this.getTagsForStencil(a,"cost management billing","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Customer_Lockbox_for_MS_Azure.svg;",.17*b,.166*b,"","Customer Lockbox for MS Azure",null,null,this.getTagsForStencil(a,"customer lockbox for ms azure","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Diagnostics_Settings.svg;",.14*b,.1675*b,"","Diagnostics Settings",null,null,this.getTagsForStencil(a,
-"diagnostics settings","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Education.svg;",.1675*b,.13*b,"","Education",null,null,this.getTagsForStencil(a,"education","azure management governance ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/other/Intune_Trends.svg;",.142*b,.17*b,"","Intune Trends",null,null,this.getTagsForStencil(a,"intune trends","azure management governance ").join(" ")),
-this.createVertexTemplateEntry(c+"Azure_Lighthouse.svg;",.1475*b,.17*b,"","Lighthouse",null,null,this.getTagsForStencil(a,"lighthouse","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Log_Analytics_Workspaces.svg;",.16*b,.16*b,"","Log Analytics Workspaces",null,null,this.getTagsForStencil(a,"log analytics workspaces","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"MachinesAzureArc.svg;",.11*b,.17*b,"","MachinesAzureArc",null,null,this.getTagsForStencil(a,
-"machines arc","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Managed_Applications_Center.svg;",.17*b,.135*b,"","Managed Applications Center",null,null,this.getTagsForStencil(a,"managed applications center","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Managed_Desktop.svg;",.17*b,.158*b,"","Managed Desktop",null,null,this.getTagsForStencil(a,"managed desktop","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Metrics.svg;",
-.15*b,.1625*b,"","Metrics",null,null,this.getTagsForStencil(a,"metrics","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Monitor.svg;",.16*b,.16*b,"","Monitor",null,null,this.getTagsForStencil(a,"monitor","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"My_Customers.svg;",.1725*b,.14*b,"","My Customers",null,null,this.getTagsForStencil(a,"my customers","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Operation_Log_Classic.svg;",
-.14*b,.1675*b,"","Operation Log (Classic)",null,null,this.getTagsForStencil(a,"operation log classic","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Policy.svg;",.15*b,.16*b,"","Policy",null,null,this.getTagsForStencil(a,"policy","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Recovery_Services_Vaults.svg;",.1725*b,.15*b,"","Recovery Services Vaults",null,null,this.getTagsForStencil(a,"recovery services vaults","azure management governance ").join(" ")),
-this.createVertexTemplateEntry(c+"Resource_Graph_Explorer.svg;",.1675*b,.16*b,"","Resource Graph Explorer",null,null,this.getTagsForStencil(a,"resource graph explorer","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Resources_Provider.svg;",.1511*b,.17*b,"","Resources Provider",null,null,this.getTagsForStencil(a,"resources provider","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Scheduler_Job_Collections.svg;",.17*b,.16*b,"","Scheduler Job Collections",
-null,null,this.getTagsForStencil(a,"scheduler job collections","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Service_Catalog_MAD.svg;",.14*b,.17*b,"","Service Catalog MAD",null,null,this.getTagsForStencil(a,"service catalog mad","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Service_Providers.svg;",.165*b,.17*b,"","Service Providers",null,null,this.getTagsForStencil(a,"service providers","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+
-"solutions.svg;",.16*b,.16*b,"","Solutions",null,null,this.getTagsForStencil(a,"solutions","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Universal_Print.svg;",.17*b,.145*b,"","Universal Print",null,null,this.getTagsForStencil(a,"universal print","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"User_Privacy.svg;",.16*b,.17*b,"","User Privacy",null,null,this.getTagsForStencil(a,"user privacy","azure management governance ").join(" "))];this.addPalette("azure2Management Governance",
-"Azure / Management and Governance",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2MenuPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"Keys.svg;",.16*b,.17*b,"","Keys",null,null,this.getTagsForStencil(a,"keys","azure menu ").join(" "))];this.addPalette("azure2Menu","Azure / Menu",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2MigratePalette=function(a,
-b,d,c){var e=[this.createVertexTemplateEntry(c+"Cost_Management_and_Billing.svg;",.17*b,.17*b,"","Cost Management and Billing",null,null,this.getTagsForStencil(a,"cost management billing","azure migrate ").join(" ")),this.createVertexTemplateEntry(c+"Data_Box.svg;",.1775*b,.17*b,"","Data Box",null,null,this.getTagsForStencil(a,"data box","azure migrate ").join(" ")),this.createVertexTemplateEntry(c+"Data_Box_Edge.svg;",.1675*b,.12*b,"","Data Box Edge",null,null,this.getTagsForStencil(a,"data box edge",
-"azure migrate ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/databases/Azure_Database_Migration_Services.svg;",.16*b,.1725*b,"","Database Migration Services",null,null,this.getTagsForStencil(a,"migration services","azure migrate ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/storage/Azure_Stack_Edge.svg;",.17*b,.12*b,"","Databox Gateway",
-null,null,this.getTagsForStencil(a,"databox gateway","azure migrate ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Migrate.svg;",.18*b,.11*b,"","Migrate",null,null,this.getTagsForStencil(a,"migrate","azure migrate ").join(" ")),this.createVertexTemplateEntry(c+"Recovery_Services_Vaults.svg;",.1725*b,.15*b,"","Recovery Services Vaults",null,null,this.getTagsForStencil(a,"recovery services vaults","azure migrate ").join(" "))];this.addPalette("azure2Migrate","Azure / Migrate",!1,mxUtils.bind(this,
-function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2MixedRealityPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"Remote_Rendering.svg;",.17*b,.12*b,"","Remote Rendering",null,null,this.getTagsForStencil(a,"remote rendering","azure mixed reality ").join(" ")),this.createVertexTemplateEntry(c+"Spatial_Anchor_Accounts.svg;",.167*b,.17*b,"","Spatial Anchor Accounts",null,null,this.getTagsForStencil(a,"spatial anchor accounts","azure mixed reality ").join(" "))];
-this.addPalette("azure2Mixed Reality","Azure / Mixed Reality",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2MobilePalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/app_services/App_Services.svg;",.16*b,.16*b,"","App Services",null,null,this.getTagsForStencil(a,"app services","azure mobile ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/app_services/Notification_Hubs.svg;",
-.1675*b,.14*b,"","Notification Hubs",null,null,this.getTagsForStencil(a,"notification hubs","azure mobile ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/analytics/Power_Platform.svg;",.1623*b,.17*b,"","Power Platform",null,null,this.getTagsForStencil(a,"power platform","azure mobile ").join(" "))];this.addPalette("azure2Mobile","Azure / Mobile",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};
-Sidebar.prototype.addAzure2MonitorPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/management_governance/Activity_Log.svg;",.14*b,.1675*b,"","Activity Log",null,null,this.getTagsForStencil(a,"activity log","azure monitor ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/devops/Application_Insights.svg;",.11*b,.1575*b,"","Application Insights",
-null,null,this.getTagsForStencil(a,"application insights","azure monitor ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/devops/Change_Analysis.svg;",.17*b,.1692*b,"","Change Analysis",null,null,this.getTagsForStencil(a,"change analysis","azure monitor ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/management_governance/Diagnostics_Settings.svg;",
+400,this,"image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/other/");this.setCurrentSearchEntryLibrary("azure2","azure2Power Platform");this.addAzure2PowerPlatformPalette("mxgraph.azure2",400,this,"image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/power_platform/");this.setCurrentSearchEntryLibrary("azure2","azure2Preview");this.addAzure2PreviewPalette("mxgraph.azure2",400,this,"image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/preview/");
+this.setCurrentSearchEntryLibrary("azure2","azure2Security");this.addAzure2SecurityPalette("mxgraph.azure2",400,this,"image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/security/");this.setCurrentSearchEntryLibrary("azure2","azure2Storage");this.addAzure2StoragePalette("mxgraph.azure2",400,this,"image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/storage/");this.setCurrentSearchEntryLibrary("azure2","azure2Web");this.addAzure2WebPalette("mxgraph.azure2",
+400,this,"image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/web/");this.setCurrentSearchEntryLibrary()};Sidebar.prototype.addAzure2AIMachineLearningPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"AI_Studio.svg;",.16*b,.17*b,"","AI Studio",null,null,this.getTagsForStencil(a,"ai studio","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Anomaly_Detector.svg;",.17*b,.17*b,"","Anomaly Detector",null,null,
+this.getTagsForStencil(a,"anomaly detector","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Applied_AI.svg;",.17*b,.13*b,"","Applied AI",null,null,this.getTagsForStencil(a,"applied","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Batch_AI.svg;",.12*b,.17*b,"","Batch AI",null,null,this.getTagsForStencil(a,"batch","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+
+"Bonsai.svg;",.17*b,.165*b,"","Bonsai",null,null,this.getTagsForStencil(a,"bonsai","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Bot_Services.svg;",.17*b,.17*b,"","Bot Services",null,null,this.getTagsForStencil(a,"bot services","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Computer_Vision.svg;",.17*b,.17*b,"","Computer Vision",null,null,this.getTagsForStencil(a,"computer vision","azure ai machine learning artificial intelligence ").join(" ")),
+this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/app_services/Search_Services.svg;",.17*b,.1228*b,"","Cognitive Search",null,null,this.getTagsForStencil(a,"cognitive search","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Cognitive_Services.svg;",.17*b,.12*b,"","Cognitive Services",null,null,this.getTagsForStencil(a,"cognitive services","azure ai machine learning artificial intelligence ").join(" ")),
+this.createVertexTemplateEntry(c+"Content_Moderators.svg;",.17*b,.157*b,"","Content Moderators",null,null,this.getTagsForStencil(a,"content moderators","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Custom_Vision.svg;",.17*b,.17*b,"","Custom Vision",null,null,this.getTagsForStencil(a,"custom vision","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Experimentation_Studio.svg;",.17*b,.14*b,"",
+"Experimentation Studio",null,null,this.getTagsForStencil(a,"experimentation studio","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Face_APIs.svg;",.17*b,.17*b,"","Face APIs",null,null,this.getTagsForStencil(a,"face apis api application programming interface","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Form_Recognizers.svg;",.158*b,.17*b,"","Form Recognizers",null,null,this.getTagsForStencil(a,
+"form recognizers","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Genomics.svg;",.09*b,.17*b,"","Genomics",null,null,this.getTagsForStencil(a,"genomics","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Immersive_Readers.svg;",.17*b,.17*b,"","Immersive Readers",null,null,this.getTagsForStencil(a,"immersive readers","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+
+"Language_Services.svg;",.17*b,.17*b,"","Language",null,null,this.getTagsForStencil(a,"language services","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Cognitive_Services_Decisions.svg;",.17*b,.17*b,"","Cognitive Services Decisions",null,null,this.getTagsForStencil(a,"cognitive services decisions","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Content_Safety.svg;",.17*b,.17*b,"","Content Safety",
+null,null,this.getTagsForStencil(a,"content safety","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Language_Understanding.svg;",.17*b,.17*b,"","Language Understanding",null,null,this.getTagsForStencil(a,"language understanding","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Machine_Learning.svg;",.16*b,.17*b,"","Machine Learning",null,null,this.getTagsForStencil(a,"","azure ai machine learning artificial intelligence ").join(" ")),
+this.createVertexTemplateEntry(c+"Machine_Learning_Studio_Classic_Web_Services.svg;",.17*b,.17*b,"","Machine Learning Studio - Classic Web Services",null,null,this.getTagsForStencil(a,"studio classic web services","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Machine_Learning_Studio_Web_Service_Plans.svg;",.17*b,.17*b,"","Machine Learning Studio - Web Service Plans",null,null,this.getTagsForStencil(a,"studio web service plans","azure ai machine learning artificial intelligence ").join(" ")),
+this.createVertexTemplateEntry(c+"Machine_Learning_Studio_Workspaces.svg;",.17*b,.17*b,"","Machine Learning Studio - Workspaces",null,null,this.getTagsForStencil(a,"studio workspaces","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/compute/Metrics_Advisor.svg;",.137*b,.17*b,"","Metrics Advisor",null,null,this.getTagsForStencil(a,"metrics advisor","azure ai machine learning artificial intelligence ").join(" ")),
+this.createVertexTemplateEntry(c+"Azure_Object_Understanding.svg;",.17*b,.17*b,"","Object Understanding",null,null,this.getTagsForStencil(a,"object understanding","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Azure_OpenAI.svg;",.17*b,.17*b,"","OpenAI",null,null,this.getTagsForStencil(a,"openai open ai","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Personalizers.svg;",.17*b,.138*b,"","Personalizers",
+null,null,this.getTagsForStencil(a,"personalizers","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"QnA_Makers.svg;",.17*b,.17*b,"","QnA Makers",null,null,this.getTagsForStencil(a,"qna makers","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Serverless_Search.svg;",.17*b,.17*b,"","Serverless Search",null,null,this.getTagsForStencil(a,"serverless search","azure ai machine learning artificial intelligence ").join(" ")),
+this.createVertexTemplateEntry(c+"Speech_Services.svg;",.17*b,.17*b,"","Speech Services",null,null,this.getTagsForStencil(a,"speech services","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Translator_Text.svg;",.17*b,.17*b,"","Translator Text",null,null,this.getTagsForStencil(a,"translator text","azure ai machine learning artificial intelligence ").join(" "))];this.addPalette("azure2AI Machine Learning","Azure / AI and Machine Learning",!1,mxUtils.bind(this,
+function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2AnalyticsPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"Analysis_Services.svg;",.1575*b,.12*b,"","Analysis Services",null,null,this.getTagsForStencil(a,"analysis services","azure analytics ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/databases/Azure_Data_Explorer_Clusters.svg;",.17*b,.17*b,"","Data Explorer Clusters",
+null,null,this.getTagsForStencil(a,"data explorer clusters","azure analytics ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/databases/Data_Factory.svg;",.17*b,.17*b,"","Data Factories",null,null,this.getTagsForStencil(a,"data factories","azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"Data_Lake_Analytics.svg;",.17*b,.17*b,"","Data Lake Analytics",null,null,this.getTagsForStencil(a,"data lake analytics",
+"azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"Data_Lake_Store_Gen1.svg;",.16*b,.13*b,"","Data Lake Store Gen1",null,null,this.getTagsForStencil(a,"data lake store gen1","azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Databricks.svg;",.157*b,.17*b,"","Databricks",null,null,this.getTagsForStencil(a,"azure databricks","azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"Endpoint_Analytics.svg;",.17*b,.17*b,"","Endpoint Analytics",null,null,this.getTagsForStencil(a,
+"endpoint analytics","azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"Event_Hub_Clusters.svg;",.16*b,.13*b,"","Event Hub Clusters",null,null,this.getTagsForStencil(a,"event hub clusters","azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"Event_Hubs.svg;",.1675*b,.15*b,"","Event Hubs",null,null,this.getTagsForStencil(a,"event hubs","azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"HD_Insight_Clusters.svg;",.1575*b,.155*b,"","HD Insight Clusters",null,null,
+this.getTagsForStencil(a,"hd insight clusters","azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"Log_Analytics_Workspaces.svg;",.16*b,.16*b,"","Log Analytics Workspaces",null,null,this.getTagsForStencil(a,"log analytics workspaces","azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"Power_BI_Embedded.svg;",.1275*b,.17*b,"","Power BI Embedded",null,null,this.getTagsForStencil(a,"power bi embedded","azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"Power_Platform.svg;",
+.1623*b,.17*b,"","Power Platform",null,null,this.getTagsForStencil(a,"power platform","azure analytics ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/networking/Private_Link_Hub.svg;",.147*b,.17*b,"","Private Link Services",null,null,this.getTagsForStencil(a,"private link services","azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"Stream_Analytics_Jobs.svg;",.17*b,.145*b,"","Stream Analytics Jobs",null,
+null,this.getTagsForStencil(a,"Stream_Analytics_Jobs","azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Synapse_Analytics.svg;",.15*b,.1725*b,"","Synapse Analytics",null,null,this.getTagsForStencil(a,"synapse analytics","azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Workbooks.svg;",.17*b,.17*b,"","Workbooks",null,null,this.getTagsForStencil(a,"workbooks","azure analytics ").join(" "))];this.addPalette("azure2Analytics","Azure / Analytics",!1,mxUtils.bind(this,
+function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2AppServicesPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"API_Management_Services.svg;",.1625*b,.15*b,"","API Management Services",null,null,this.getTagsForStencil(a,"api application programming interface management services","azure app services ").join(" ")),this.createVertexTemplateEntry(c+"App_Service_Certificates.svg;",.175*b,.16*b,"","App Service Certificates",null,null,this.getTagsForStencil(a,
+"app service certificates","azure app services ").join(" ")),this.createVertexTemplateEntry(c+"App_Service_Domains.svg;",.1625*b,.13*b,"","App Service Domains",null,null,this.getTagsForStencil(a,"app service domains","azure app services ").join(" ")),this.createVertexTemplateEntry(c+"App_Service_Environments.svg;",.16*b,.16*b,"","App Service Environments",null,null,this.getTagsForStencil(a,"app service environments","azure app services ").join(" ")),this.createVertexTemplateEntry(c+"App_Service_Plans.svg;",
+.16*b,.16*b,"","App Service Plans",null,null,this.getTagsForStencil(a,"app service plans","azure app services ").join(" ")),this.createVertexTemplateEntry(c+"App_Services.svg;",.16*b,.16*b,"","App Services",null,null,this.getTagsForStencil(a,"app services","azure app services ").join(" ")),this.createVertexTemplateEntry(c+"CDN_Profiles.svg;",.17*b,.1*b,"","CDN Profiles",null,null,this.getTagsForStencil(a,"cdn profiles","azure app services ").join(" ")),this.createVertexTemplateEntry(c+"Notification_Hubs.svg;",
+.1675*b,.14*b,"","Notification Hubs",null,null,this.getTagsForStencil(a,"notification hubs","azure app services ").join(" ")),this.createVertexTemplateEntry(c+"Search_Services.svg;",.18*b,.13*b,"","Search Services",null,null,this.getTagsForStencil(a,"search services","azure app services ").join(" "))];this.addPalette("azure2App Services","Azure / App Services",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2EcosystemPalette=function(a,
+b,d,c){var e=[this.createVertexTemplateEntry(c+"Applens.svg;",.17*b,.17*b,"","Applens",null,null,this.getTagsForStencil(a,"applens","azure ecosystem ").join(" ")),this.createVertexTemplateEntry(c+"Collaborative_Service.svg;",.17*b,.167*b,"","Collaborative Service",null,null,this.getTagsForStencil(a,"collaborative service","azure ecosystem ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Hybrid_Center.svg;",.17*b,.12*b,"","Hybrid Center",null,null,this.getTagsForStencil(a,"hybrid center","azure ecosystem ").join(" "))];
+this.addPalette("azure2Azure Ecosystem","Azure / Ecosystem",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2AzureStackPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"Capacity.svg;",.1575*b,.17*b,"","Capacity",null,null,this.getTagsForStencil(a,"capacity","azure stack ").join(" ")),this.createVertexTemplateEntry(c+"Infrastructure_Backup.svg;",.15*b,.1725*b,"","Infrastructure Backup",null,null,this.getTagsForStencil(a,
+"infrastructure backup","azure stack ").join(" ")),this.createVertexTemplateEntry(c+"Multi_Tenancy.svg;",.17*b,.1625*b,"","Multi Tenancy",null,null,this.getTagsForStencil(a,"multi tenancy","azure stack ").join(" ")),this.createVertexTemplateEntry(c+"Offers.svg;",.1625*b,.16*b,"","Offers",null,null,this.getTagsForStencil(a,"offers","azure stack ").join(" ")),this.createVertexTemplateEntry(c+"Plans.svg;",.13*b,.16*b,"","Plans",null,null,this.getTagsForStencil(a,"plans","azure stack ").join(" ")),this.createVertexTemplateEntry(c+
+"Azure_Stack.svg;",.155*b,.16*b,"","Stack",null,null,this.getTagsForStencil(a,"azure stack","azure stack ").join(" ")),this.createVertexTemplateEntry(c+"Updates.svg;",.17*b,.1675*b,"","Updates",null,null,this.getTagsForStencil(a,"updates","azure stack ").join(" ")),this.createVertexTemplateEntry(c+"User_Subscriptions.svg;",.17*b,.165*b,"","User Subscriptions",null,null,this.getTagsForStencil(a,"user subscriptions","azure stack ").join(" "))];this.addPalette("azure2Azure Stack","Azure / Azure Stack",
+!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2AzureVMwareSolutionPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"AVS.svg;",.175*b,.14*b,"","AVS",null,null,this.getTagsForStencil(a,"avs","azure vmware solution ").join(" "))];this.addPalette("azure2Azure VMware Solution","Azure / VMware Solution",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2BlockchainPalette=
+function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"ABS_Member.svg;",.14*b,.1625*b,"","ABS Member",null,null,this.getTagsForStencil(a,"abs member","azure blockchain ").join(" ")),this.createVertexTemplateEntry(c+"Blockchain_Applications.svg;",.121*b,.17*b,"","Blockchain Applications",null,null,this.getTagsForStencil(a,"blockchain applications","azure blockchain ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Blockchain_Service.svg;",.17*b,.17*b,"","Blockchain Service",null,null,this.getTagsForStencil(a,
+"blockchain service","azure blockchain ").join(" ")),this.createVertexTemplateEntry(c+"Consortium.svg;",.17*b,.17*b,"","Consortium",null,null,this.getTagsForStencil(a,"consortium","azure blockchain ").join(" ")),this.createVertexTemplateEntry(c+"Outbound_Connection.svg;",.1775*b,.16*b,"","Outbound Connection",null,null,this.getTagsForStencil(a,"outbound connection","azure blockchain ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Token_Service.svg;",.1475*b,.17*b,"","Token Service",null,null,
+this.getTagsForStencil(a,"token service","azure blockchain ").join(" "))];this.addPalette("azure2Blockchain","Azure / Blockchain",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2ComputePalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"App_Services.svg;",.16*b,.16*b,"","App Services",null,null,this.getTagsForStencil(a,"app services","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Application_Group.svg;",
+.17*b,.17*b,"","Application Group",null,null,this.getTagsForStencil(a,"application group","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Automanaged_VM.svg;",.17*b,.155*b,"","Automanaged VM",null,null,this.getTagsForStencil(a,"automanaged vm virtual machine","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Availability_Sets.svg;",.17*b,.17*b,"","Availability Sets",null,null,this.getTagsForStencil(a,"availability sets","azure compute ").join(" ")),this.createVertexTemplateEntry(c+
+"Batch_Accounts.svg;",.17*b,.16*b,"","Batch Accounts",null,null,this.getTagsForStencil(a,"batch accounts","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Cloud_Services_Classic.svg;",.18*b,.13*b,"","Cloud Services (Classic)",null,null,this.getTagsForStencil(a,"cloud services classic","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Compute_Galleries.svg;",.17*b,.17*b,"","Compute Galleries",null,null,this.getTagsForStencil(a,"compute galleries","azure compute ").join(" ")),
+this.createVertexTemplateEntry(c+"Container_Instances.svg;",.16*b,.17*b,"","Container Instances",null,null,this.getTagsForStencil(a,"container instances","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Container_Services_Deprecated.svg;",.17*b,.15*b,"","Container Services (deprecated)",null,null,this.getTagsForStencil(a,"container services deprecated","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Disk_Encryption_Sets.svg;",.17*b,.17*b,"","Disk Encryption Sets",null,
+null,this.getTagsForStencil(a,"disk encryption sets","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Disks.svg;",.1425*b,.14*b,"","Disks",null,null,this.getTagsForStencil(a,"disks","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Disks_Snapshots.svg;",.17*b,.1775*b,"","Disks Snapshots",null,null,this.getTagsForStencil(a,"disks snapshots","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Function_Apps.svg;",.17*b,.15*b,"","Function Apps",null,null,this.getTagsForStencil(a,
+"function apps","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Host_Groups.svg;",.155*b,.17*b,"","Host Groups",null,null,this.getTagsForStencil(a,"host groups","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Host_Pools.svg;",.17*b,.17*b,"","Host Pools",null,null,this.getTagsForStencil(a,"host pools","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Hosts.svg;",.143*b,.17*b,"","Hosts",null,null,this.getTagsForStencil(a,"hosts","azure compute ").join(" ")),
+this.createVertexTemplateEntry(c+"Image_Definitions.svg;",.165*b,.16*b,"","Image Definitions",null,null,this.getTagsForStencil(a,"image definitions","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Image_Templates.svg;",.17*b,.15*b,"","Image Templates",null,null,this.getTagsForStencil(a,"image templates","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Image_Versions.svg;",.1675*b,.16*b,"","Image Versions",null,null,this.getTagsForStencil(a,"image versions","azure compute ").join(" ")),
+this.createVertexTemplateEntry(c+"Images.svg;",.1725*b,.16*b,"","Images",null,null,this.getTagsForStencil(a,"images","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Kubernetes_Services.svg;",.17*b,.15*b,"","Kubernetes Services",null,null,this.getTagsForStencil(a,"kubernetes services","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Maintenance_Configuration.svg;",.17*b,.16*b,"","Maintenance Configuration",null,null,this.getTagsForStencil(a,"maintenance configuration",
+"azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Managed_Service_Fabric.svg;",.17*b,.165*b,"","Managed Service Fabric",null,null,this.getTagsForStencil(a,"managed service fabric","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Mesh_Applications.svg;",.17*b,.17*b,"","Mesh Applications",null,null,this.getTagsForStencil(a,"mesh applications","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Metrics_Advisor.svg;",.137*b,.17*b,"","Metrics Advisor",null,null,this.getTagsForStencil(a,
+"metrics advisor","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"OS_Images_Classic.svg;",.1725*b,.16*b,"","OS Images (Classic)",null,null,this.getTagsForStencil(a,"os images classic","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Restore_Points.svg;",.17*b,.167*b,"","Restore Points",null,null,this.getTagsForStencil(a,"restore points","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Restore_Points_Collections.svg;",.17*b,.14*b,"","Restore Points Collections",
+null,null,this.getTagsForStencil(a,"restore points collections","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Service_Fabric_Clusters.svg;",.1675*b,.16*b,"","Service Fabric Clusters",null,null,this.getTagsForStencil(a,"service fabric clusters","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Shared_Image_Galleries.svg;",.16*b,.16*b,"","Shared Image Galleries",null,null,this.getTagsForStencil(a,"shared image galleries","azure compute ").join(" ")),this.createVertexTemplateEntry(c+
+"Azure_Spring_Cloud.svg;",.17*b,.17*b,"","Spring Cloud",null,null,this.getTagsForStencil(a,"azure spring cloud","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Virtual_Machine.svg;",.1725*b,.16*b,"","Virtual Machine",null,null,this.getTagsForStencil(a,"virtual machine","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Virtual_Machines_Classic.svg;",.1725*b,.16*b,"","Virtual Machines (Classic)",null,null,this.getTagsForStencil(a,"virtual machines classic","azure compute ").join(" ")),
+this.createVertexTemplateEntry(c+"VM_Images_Classic.svg;",.1725*b,.16*b,"","VM Images (Classic)",null,null,this.getTagsForStencil(a,"vm images classic","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"VM_Scale_Sets.svg;",.17*b,.17*b,"","VM Scale Sets",null,null,this.getTagsForStencil(a,"vm scale sets","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Workspaces2.svg;",.17*b,.17*b,"","Workspaces",null,null,this.getTagsForStencil(a,"workspaces","azure compute ").join(" ")),
+this.createVertexTemplateEntry(c+"Workspaces.svg;",.1625*b,.14*b,"","Workspaces",null,null,this.getTagsForStencil(a,"workspaces","azure compute ").join(" "))];this.addPalette("azure2Compute","Azure / Compute",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2ContainersPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"App_Services.svg;",.16*b,.16*b,"","App Services",null,null,this.getTagsForStencil(a,"app services","azure containers ").join(" ")),
+this.createVertexTemplateEntry(c+"Batch_Accounts.svg;",.17*b,.16*b,"","Batch Accounts",null,null,this.getTagsForStencil(a,"batch accounts","azure containers ").join(" ")),this.createVertexTemplateEntry(c+"Container_Instances.svg;",.16*b,.1725*b,"","Container Instances",null,null,this.getTagsForStencil(a,"container instances","azure containers ").join(" ")),this.createVertexTemplateEntry(c+"Container_Registries.svg;",.17*b,.1525*b,"","Container Registries",null,null,this.getTagsForStencil(a,"container registries",
+"azure containers ").join(" ")),this.createVertexTemplateEntry(c+"Kubernetes_Services.svg;",.17*b,.15*b,"","Kubernetes Services",null,null,this.getTagsForStencil(a,"kubernetes services","azure containers ").join(" ")),this.createVertexTemplateEntry(c+"Service_Fabric_Clusters.svg;",.1675*b,.16*b,"","Service Fabric Clusters",null,null,this.getTagsForStencil(a,"service fabric clusters","azure containers ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Red_Hat_OpenShift.svg;",.17*b,.17*b,"","Red Hat OpenShift",
+null,null,this.getTagsForStencil(a,"azure red hat openshift","azure containers ").join(" "))];this.addPalette("azure2Containers","Azure / Containers",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2CXPPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"Elixir.svg;",.1225*b,.17*b,"","Elixir",null,null,this.getTagsForStencil(a,"elixir","azure cxp ").join(" ")),this.createVertexTemplateEntry(c+"Elixir_Purple.svg;",.1225*
+b,.17*b,"","Elixir Purple",null,null,this.getTagsForStencil(a,"elixir purple","azure cxp ").join(" "))];this.addPalette("azure2CXP","Azure / CXP",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2DatabasesPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"Cache_Redis.svg;",.16*b,.13*b,"","Cache Redis",null,null,this.getTagsForStencil(a,"cache redis","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Cosmos_DB.svg;",
+.16*b,.16*b,"","Cosmos DB",null,null,this.getTagsForStencil(a,"cosmos","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Data_Explorer_Clusters.svg;",.17*b,.17*b,"","Data Explorer Clusters",null,null,this.getTagsForStencil(a,"data explorer clusters","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Data_Factory.svg;",.17*b,.17*b,"","Data Factory",null,null,this.getTagsForStencil(a,"data factory","azure database db ").join(" ")),this.createVertexTemplateEntry(c+
+"Azure_Database_MariaDB_Server.svg;",.12*b,.16*b,"","Database MariaDB Server",null,null,this.getTagsForStencil(a,"mariadb server","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Database_Migration_Services.svg;",.16*b,.1725*b,"","Database Migration Services",null,null,this.getTagsForStencil(a,"migration services","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Database_MySQL_Server.svg;",.12*b,.16*b,"","Database MySQL Server",null,null,this.getTagsForStencil(a,
+"mysql my sql server","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Database_PostgreSQL_Server.svg;",.12*b,.16*b,"","Database PostgreSQL Server",null,null,this.getTagsForStencil(a,"postgresql sql server","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Database_PostgreSQL_Server_Group.svg;",.15*b,.17*b,"","Database PostgreSQL Server Group",null,null,this.getTagsForStencil(a,"postgresql sql server group","azure database db ").join(" ")),this.createVertexTemplateEntry(c+
+"Elastic_Job_Agents.svg;",.16*b,.16*b,"","Elastic Job Agents",null,null,this.getTagsForStencil(a,"elastic job agents","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Instance_Pools.svg;",.1625*b,.16*b,"","Instance Pools",null,null,this.getTagsForStencil(a,"instance pools","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Managed_Database.svg;",.17*b,.16*b,"","Managed Database",null,null,this.getTagsForStencil(a,"managed","azure database db ").join(" ")),this.createVertexTemplateEntry(c+
+"Oracle_Database.svg;",.17*b,.17*b,"","Oracle Database",null,null,this.getTagsForStencil(a,"oracle database","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Purview_Accounts.svg;",.17*b,.105*b,"","Purview Accounts",null,null,this.getTagsForStencil(a,"azure purview accounts","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_SQL.svg;",.16*b,.115*b,"","SQL",null,null,this.getTagsForStencil(a,"sql","azure database db ").join(" ")),this.createVertexTemplateEntry(c+
+"SQL_Data_Warehouses.svg;",.16*b,.1625*b,"","SQL Data Warehouses",null,null,this.getTagsForStencil(a,"sql data warehouses","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"SQL_Database.svg;",.12*b,.16*b,"","SQL Database",null,null,this.getTagsForStencil(a,"sql","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_SQL_Edge.svg;",.17*b,.17*b,"","SQL Edge",null,null,this.getTagsForStencil(a,"sql edge","azure database db ").join(" ")),this.createVertexTemplateEntry(c+
+"SQL_Elastic_Pools.svg;",.17*b,.17*b,"","SQL Elastic Pools",null,null,this.getTagsForStencil(a,"sql elastic pools","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"SQL_Managed_Instance.svg;",.1625*b,.16*b,"","SQL Managed Instance",null,null,this.getTagsForStencil(a,"sql managed instance","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"SQL_Server.svg;",.17*b,.17*b,"","SQL Server",null,null,this.getTagsForStencil(a,"sql server","azure database db ").join(" ")),this.createVertexTemplateEntry(c+
+"SQL_Server_Registries.svg;",.17*b,.155*b,"","SQL Server Registries",null,null,this.getTagsForStencil(a,"sql server registries","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_SQL_Server_Stretch_Databases.svg;",.16*b,.1625*b,"","SQL Server Stretch Databases",null,null,this.getTagsForStencil(a,"sql server stretch","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_SQL_VM.svg;",.16*b,.15*b,"","SQL VM",null,null,this.getTagsForStencil(a,"sql vm virtual machine",
+"azure database db ").join(" ")),this.createVertexTemplateEntry(c+"SSIS_Lift_And_Shift_IR.svg;",.155*b,.17*b,"","SSIS Lift and Shift IR",null,null,this.getTagsForStencil(a,"ssis lift and shift ir","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Synapse_Analytics.svg;",.15*b,.1725*b,"","Synapse Analytics",null,null,this.getTagsForStencil(a,"synapse analytics","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Virtual_Clusters.svg;",.165*b,.16*b,"","Virtual Clusters",
+null,null,this.getTagsForStencil(a,"virtual clusters","azure database db ").join(" "))];this.addPalette("azure2Databases","Azure / Databases",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2DevOpsPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"API_Connections.svg;",.17*b,.1133*b,"","API Connections",null,null,this.getTagsForStencil(a,"api connections application programming interface","azure devops ").join(" ")),
+this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/app_services/API_Management_Services.svg;",.1625*b,.15*b,"","API Management Services",null,null,this.getTagsForStencil(a,"api application programming interface management services","azure devops ").join(" ")),this.createVertexTemplateEntry(c+"Application_Insights.svg;",.11*b,.1575*b,"","Application Insights",null,null,this.getTagsForStencil(a,"application insights","azure devops ").join(" ")),
+this.createVertexTemplateEntry(c+"Change_Analysis.svg;",.17*b,.1692*b,"","Change Analysis",null,null,this.getTagsForStencil(a,"change analysis","azure devops ").join(" ")),this.createVertexTemplateEntry(c+"CloudTest.svg;",.147*b,.17*b,"","CloudTest",null,null,this.getTagsForStencil(a,"cloudtest cloud test","azure devops ").join(" ")),this.createVertexTemplateEntry(c+"Code_Optimization.svg;",.17*b,.17*b,"","Code Optimization",null,null,this.getTagsForStencil(a,"code optimization","azure devops ").join(" ")),
+this.createVertexTemplateEntry(c+"Azure_DevOps.svg;",.16*b,.16*b,"","DevOps",null,null,this.getTagsForStencil(a,"devops","azure devops ").join(" ")),this.createVertexTemplateEntry(c+"DevOps_Starter.svg;",.17*b,.1594*b,"","DevOps Starter",null,null,this.getTagsForStencil(a,"devops starter","azure devops ").join(" ")),this.createVertexTemplateEntry(c+"DevTest_Labs.svg;",.165*b,.16*b,"","DevTest Labs",null,null,this.getTagsForStencil(a,"devtest labs","azure devops ").join(" ")),this.createVertexTemplateEntry(c+
+"Lab_Accounts.svg;",.1629*b,.17*b,"","Lab Accounts",null,null,this.getTagsForStencil(a,"lab accounts","azure devops ").join(" ")),this.createVertexTemplateEntry(c+"Lab_Services.svg;",.165*b,.16*b,"","Lab Services",null,null,this.getTagsForStencil(a,"lab services","azure devops ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/other/Load_Testing.svg;",.148*b,.17*b,"","Load Testing",null,null,this.getTagsForStencil(a,"load testing",
+"azure devops ").join(" "))];this.addPalette("azure2DevOps","Azure / DevOps",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2GeneralPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"All_Resources.svg;",.16*b,.16*b,"","All Resources",null,null,this.getTagsForStencil(a,"all resources","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Backlog.svg;",.17*b,.15*b,"","Backlog",null,null,this.getTagsForStencil(a,
+"backlog","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Biz_Talk.svg;",.1725*b,.16*b,"","Biz Talk",null,null,this.getTagsForStencil(a,"biz talk","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Blob_Block.svg;",.1625*b,.13*b,"","Blob Block",null,null,this.getTagsForStencil(a,"blob block","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Blob_Page.svg;",.1625*b,.13*b,"","Blob Page",null,null,this.getTagsForStencil(a,"blob page","azure general ").join(" ")),
+this.createVertexTemplateEntry(c+"Branch.svg;",.18*b,.18*b,"","Branch",null,null,this.getTagsForStencil(a,"branch","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Browser.svg;",.1625*b,.13*b,"","Browser",null,null,this.getTagsForStencil(a,"browser","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Bug.svg;",.1475*b,.16*b,"","Bug",null,null,this.getTagsForStencil(a,"bug","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Builds.svg;",.16*b,.16*b,"","Builds",
+null,null,this.getTagsForStencil(a,"builds","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Cache.svg;",.16*b,.16*b,"","Cache",null,null,this.getTagsForStencil(a,"cache","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Code.svg;",.16*b,.13*b,"","Code",null,null,this.getTagsForStencil(a,"code","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Commit.svg;",.18*b,.17*b,"","Commit",null,null,this.getTagsForStencil(a,"commit","azure general ").join(" ")),this.createVertexTemplateEntry(c+
+"Controls.svg;",.14*b,.1725*b,"","Controls",null,null,this.getTagsForStencil(a,"controls","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Controls_Horizontal.svg;",.1725*b,.14*b,"","Controls Horizontal",null,null,this.getTagsForStencil(a,"controls horizontal","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Cost_Alerts.svg;",.1675*b,.14*b,"","Cost Alerts",null,null,this.getTagsForStencil(a,"cost alerts","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Cost_Analysis.svg;",
+.15*b,.175*b,"","Cost Analysis",null,null,this.getTagsForStencil(a,"cost analysis","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Cost_Budgets.svg;",.1675*b,.17*b,"","Cost Budgets",null,null,this.getTagsForStencil(a,"cost budgets","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Cost_Management.svg;",.1675*b,.15*b,"","Cost Management",null,null,this.getTagsForStencil(a,"cost management","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Cost_Management_and_Billing.svg;",
+.17*b,.17*b,"","Cost Management and Billing",null,null,this.getTagsForStencil(a,"cost management and billing","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Counter.svg;",.16*b,.13*b,"","Counter",null,null,this.getTagsForStencil(a,"counter","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Cubes.svg;",.1675*b,.17*b,"","Cubes",null,null,this.getTagsForStencil(a,"cubes","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Dashboard.svg;",.17*b,.12*b,"","Dashboard",
+null,null,this.getTagsForStencil(a,"dashboard","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Dashboard2.svg;",.17*b,.12*b,"","Dashboard",null,null,this.getTagsForStencil(a,"dashboard","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Dev_Console.svg;",.1625*b,.13*b,"","Dev Console",null,null,this.getTagsForStencil(a,"dev console","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Download.svg;",.16*b,.1675*b,"","Download",null,null,this.getTagsForStencil(a,
+"download","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Error.svg;",.1775*b,.17*b,"","Error",null,null,this.getTagsForStencil(a,"error","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Extensions.svg;",.1625*b,.16*b,"","Extensions",null,null,this.getTagsForStencil(a,"extensions","azure general ").join(" ")),this.createVertexTemplateEntry(c+"File.svg;",.14*b,.1725*b,"","File",null,null,this.getTagsForStencil(a,"file","azure general ").join(" ")),this.createVertexTemplateEntry(c+
+"Files.svg;",.16*b,.175*b,"","Files",null,null,this.getTagsForStencil(a,"files","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Folder_Blank.svg;",.1725*b,.14*b,"","Folder Blank",null,null,this.getTagsForStencil(a,"folder blank","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Folder_Website.svg;",.17*b,.14*b,"","Folder Website",null,null,this.getTagsForStencil(a,"folder website","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Free_Services.svg;",.17*b,
+.1575*b,"","Free Services",null,null,this.getTagsForStencil(a,"free services","azure general ").join(" ")),this.createVertexTemplateEntry(c+"FTP.svg;",.15*b,.12*b,"","FTP",null,null,this.getTagsForStencil(a,"ftp file transfer protocol","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Gear.svg;",.16*b,.16*b,"","Gear",null,null,this.getTagsForStencil(a,"gear","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Globe.svg;",.14*b,.165*b,"","Globe",null,null,this.getTagsForStencil(a,
+"globe","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Globe_Error.svg;",.14*b,.165*b,"","Globe Error",null,null,this.getTagsForStencil(a,"globe error","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Globe_Success.svg;",.14*b,.165*b,"","Globe Success",null,null,this.getTagsForStencil(a,"globe success","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Globe_Warning.svg;",.14*b,.165*b,"","Globe Warning",null,null,this.getTagsForStencil(a,"globe warning","azure general ").join(" ")),
+this.createVertexTemplateEntry(c+"Guide.svg;",.17*b,.17*b,"","Guide",null,null,this.getTagsForStencil(a,"guide","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Heart.svg;",.16*b,.15*b,"","Heart",null,null,this.getTagsForStencil(a,"heart","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Help_and_Support.svg;",.14*b,.1725*b,"","Help and Support",null,null,this.getTagsForStencil(a,"help support","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Image.svg;",.16*
+b,.11*b,"","Image",null,null,this.getTagsForStencil(a,"image","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Information.svg;",.16*b,.16*b,"","Information",null,null,this.getTagsForStencil(a,"information","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Input_Output.svg;",.16*b,.1375*b,"","Input Output",null,null,this.getTagsForStencil(a,"input output","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Journey_Hub.svg;",.15*b,.1575*b,"","Journey Hub",null,
+null,this.getTagsForStencil(a,"journey hub","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Launch_Portal.svg;",.17*b,.1675*b,"","Launch Portal",null,null,this.getTagsForStencil(a,"launch portal","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Learn.svg;",.12*b,.175*b,"","Learn",null,null,this.getTagsForStencil(a,"learn","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Load_Test.svg;",.17*b,.165*b,"","Load Test",null,null,this.getTagsForStencil(a,"load test",
+"azure general ").join(" ")),this.createVertexTemplateEntry(c+"Location.svg;",.1*b,.1775*b,"","Location",null,null,this.getTagsForStencil(a,"location","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Log_Streaming.svg;",.14*b,.1675*b,"","Log Streaming",null,null,this.getTagsForStencil(a,"log streaming","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Management_Groups.svg;",.165*b,.16*b,"","Management Groups",null,null,this.getTagsForStencil(a,"management groups","azure general ").join(" ")),
+this.createVertexTemplateEntry(c+"Management_Portal.svg;",.15*b,.12*b,"","Management Portal",null,null,this.getTagsForStencil(a,"management portal","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Marketplace.svg;",.14*b,.16*b,"","Marketplace",null,null,this.getTagsForStencil(a,"marketplace","azure general ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/other/Marketplace_Management.svg;",.145*b,.17*b,"",
+"Marketplace Management",null,null,this.getTagsForStencil(a,"marketplace management","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Media.svg;",.17*b,.17*b,"","Media",null,null,this.getTagsForStencil(a,"media","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Media_File.svg;",.13*b,.16*b,"","Media File",null,null,this.getTagsForStencil(a,"media file","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Mobile.svg;",.1*b,.1675*b,"","Mobile",null,null,this.getTagsForStencil(a,
+"mobile","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Mobile_Engagement.svg;",.1*b,.1675*b,"","Mobile Engagement",null,null,this.getTagsForStencil(a,"mobile engagement","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Module.svg;",.16*b,.16*b,"","Module",null,null,this.getTagsForStencil(a,"module","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Power.svg;",.11*b,.17*b,"","Power",null,null,this.getTagsForStencil(a,"power","azure general ").join(" ")),
+this.createVertexTemplateEntry(c+"Power_Up.svg;",.17*b,.17*b,"","Power Up",null,null,this.getTagsForStencil(a,"power up","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Powershell.svg;",.1625*b,.13*b,"","Powershell",null,null,this.getTagsForStencil(a,"powershell","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Preview.svg;",.11*b,.16*b,"","Preview",null,null,this.getTagsForStencil(a,"preview","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Preview_Features.svg;",
+.17*b,.17*b,"","Preview Features",null,null,this.getTagsForStencil(a,"preview features","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Process_Explorer.svg;",.175*b,.17*b,"","Process Explorer",null,null,this.getTagsForStencil(a,"process explorer","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Production_Ready_Database.svg;",.12*b,.16*b,"","Production Ready Database",null,null,this.getTagsForStencil(a,"production ready database","azure general ").join(" ")),this.createVertexTemplateEntry(c+
+"Quickstart_Center.svg;",.17*b,.17*b,"","Quickstart Center",null,null,this.getTagsForStencil(a,"quickstart center","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Recent.svg;",.17*b,.17*b,"","Recent",null,null,this.getTagsForStencil(a,"recent","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Reservations.svg;",.17*b,.17*b,"","Reservations",null,null,this.getTagsForStencil(a,"reservations","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Resource_Explorer.svg;",
+.17*b,.14*b,"","Resource Explorer",null,null,this.getTagsForStencil(a,"resource exporer","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Resource_Group_List.svg;",.17*b,.1675*b,"","Resource Group List",null,null,this.getTagsForStencil(a,"resource group list","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Resource_Groups.svg;",.17*b,.16*b,"","Resource Groups",null,null,this.getTagsForStencil(a,"resource groups","azure general ").join(" ")),this.createVertexTemplateEntry(c+
+"Resource_Linked.svg;",.18*b,.18*b,"","Resource Linked",null,null,this.getTagsForStencil(a,"resource linked","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Scale.svg;",.15*b,.15*b,"","Scale",null,null,this.getTagsForStencil(a,"scale","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Scheduler.svg;",.17*b,.17*b,"","Scheduler",null,null,this.getTagsForStencil(a,"scheduler","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Search.svg;",.16*b,.1625*b,"","Search",
+null,null,this.getTagsForStencil(a,"search","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Search_Grid.svg;",.17*b,.1675*b,"","Search Grid",null,null,this.getTagsForStencil(a,"search grid","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Server_Farm.svg;",.16*b,.16*b,"","Server Farm",null,null,this.getTagsForStencil(a,"server farm","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Service_Bus.svg;",.175*b,.15*b,"","Service Bus",null,null,this.getTagsForStencil(a,
+"service bus","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Service_Health.svg;",.17*b,.16*b,"","Service Health",null,null,this.getTagsForStencil(a,"service health","azure general ").join(" ")),this.createVertexTemplateEntry(c+"SSD.svg;",.165*b,.15*b,"","SSD",null,null,this.getTagsForStencil(a,"ssd solid state drive","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Storage_Azure_Files.svg;",.16*b,.13*b,"","Storage Azure Files",null,null,this.getTagsForStencil(a,"storage files",
+"azure general ").join(" ")),this.createVertexTemplateEntry(c+"Storage_Container.svg;",.16*b,.13*b,"","Storage Container",null,null,this.getTagsForStencil(a,"storage container","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Storage_Queue.svg;",.16*b,.13*b,"","Storage Queue",null,null,this.getTagsForStencil(a,"storage queue","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Subscriptions.svg;",.11*b,.1775*b,"","Subscriptions",null,null,this.getTagsForStencil(a,"subscriptions",
+"azure general ").join(" ")),this.createVertexTemplateEntry(c+"Table.svg;",.16*b,.13*b,"","Table",null,null,this.getTagsForStencil(a,"table","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Tag.svg;",.17*b,.167*b,"","Tag",null,null,this.getTagsForStencil(a,"tag","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Tags.svg;",.15*b,.1625*b,"","Tags",null,null,this.getTagsForStencil(a,"tags","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Templates.svg;",.14*b,
+.17*b,"","Templates",null,null,this.getTagsForStencil(a,"templates","azure general ").join(" ")),this.createVertexTemplateEntry(c+"TFS_VC_Repository.svg;",.17*b,.17*b,"","TFS VC Repository",null,null,this.getTagsForStencil(a,"tfs vc repository","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Toolbox.svg;",.16*b,.14*b,"","Toolbox",null,null,this.getTagsForStencil(a,"toolbox","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Troubleshoot.svg;",.165*b,.17*b,"","Troubleshoot",
+null,null,this.getTagsForStencil(a,"troubleshoot","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Versions.svg;",.155*b,.15*b,"","Versions",null,null,this.getTagsForStencil(a,"versions","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Web_Slots.svg;",.145*b,.16*b,"","Web Slots",null,null,this.getTagsForStencil(a,"web slots","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Web_Test.svg;",.18*b,.18*b,"","Web Test",null,null,this.getTagsForStencil(a,"web test",
+"azure general ").join(" ")),this.createVertexTemplateEntry(c+"Website_Power.svg;",.17*b,.17*b,"","Website Power",null,null,this.getTagsForStencil(a,"website power","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Website_Staging.svg;",.16*b,.175*b,"","Website Staging",null,null,this.getTagsForStencil(a,"website staging","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Workbooks.svg;",.15*b,.1625*b,"","Workbooks",null,null,this.getTagsForStencil(a,"workbooks","azure general ").join(" ")),
+this.createVertexTemplateEntry(c+"Workflow.svg;",.17*b,.175*b,"","Workflow",null,null,this.getTagsForStencil(a,"workflow","azure general ").join(" "))];this.addPalette("azure2General","Azure / General",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2HybridAndMulticloudPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"Azure_Operator_5G_Core.svg;",.17*b,.1133*b,"","Azure Operator 5G Core",null,null,this.getTagsForStencil(a,
+"operator 5g core","azure hybrid and multicloud ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Operator_Insights.svg;",.17*b,.17*b,"","Azure Operator Insights",null,null,this.getTagsForStencil(a,"operator insights","azure hybrid and multicloud ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Operator_Nexus.svg;",.17*b,.17*b,"","Azure Operator Nexus",null,null,this.getTagsForStencil(a,"operator nexus","azure hybrid and multicloud ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Operator_Service_Manager.svg;",
+.17*b,.17*b,"","Azure Operator Service Manager",null,null,this.getTagsForStencil(a,"operator service manager","azure hybrid and multicloud ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Programmable_Connectivity.svg;",.17*b,.17*b,"","Azure Programmable Connectivity",null,null,this.getTagsForStencil(a,"operator programmable connectivity","azure hybrid and multicloud ").join(" "))];this.addPalette("azure2Hybrid and Multicloud","Azure / Hybrid and Multicloud",!1,mxUtils.bind(this,function(f){for(var g=
+0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2IdentityPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"AAD_Licenses.svg;",.165*b,.17*b,"","AAD Licenses",null,null,this.getTagsForStencil(a,"aad licenses","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Active_Directory.svg;",.175*b,.16*b,"","Active Directory",null,null,this.getTagsForStencil(a,"active directory","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Active_Directory_Connect_Health.svg;",
+.1725*b,.16*b,"","Active Directory Connect Health",null,null,this.getTagsForStencil(a,"active directory connect health","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Active_Directory_Connect_Health2.svg;",.17*b,.1511*b,"","Active Directory Connect Health",null,null,this.getTagsForStencil(a,"active directory connect health","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Azure_AD_B2C.svg;",.1725*b,.16*b,"","AD B2C",null,null,this.getTagsForStencil(a,"ad b2c","azure identity ").join(" ")),
+this.createVertexTemplateEntry(c+"Azure_AD_Domain_Services.svg;",.175*b,.16*b,"","AD Domain Services",null,null,this.getTagsForStencil(a,"ad domain services","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Azure_AD_Identity_Protection.svg;",.17*b,.155*b,"","AD Identity Protection",null,null,this.getTagsForStencil(a,"ad identity protection","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Azure_AD_Privilege_Identity_Management.svg;",.17*b,.17*b,"","AD Privilege Identity Management",
+null,null,this.getTagsForStencil(a,"ad privilege identity management","azure identity ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/intune/Azure_AD_Roles_and_Administrators.svg;",.17*b,.17*b,"","AD Roles and Administrators",null,null,this.getTagsForStencil(a,"ad roles administrators","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Administrative_Units.svg;",.17*b,.17*b,"","Administrative Units",null,
+null,this.getTagsForStencil(a,"administrative units","azure identity ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/other/API_Proxy.svg;",.17*b,.17*b,"","API Proxy",null,null,this.getTagsForStencil(a,"api application programming interface proxy","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"App_Registrations.svg;",.1575*b,.16*b,"","App Registrations",null,null,this.getTagsForStencil(a,"app registrations",
+"azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Azure_AD_B2C2.svg;",.17*b,.1511*b,"","Azure AD B2C",null,null,this.getTagsForStencil(a,"ad b2c","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Custom_Azure_AD_Roles.svg;",.17*b,.17*b,"","Custom Azure AD Roles",null,null,this.getTagsForStencil(a,"custom azure ad roles","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Enterprise_Applications.svg;",.16*b,.16*b,"","Enterprise Applications",null,null,this.getTagsForStencil(a,
+"enterprise applications","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Entra_Connect.svg;",.17*b,.1606*b,"","Entra Connect",null,null,this.getTagsForStencil(a,"entra connect","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Entra_Domain_Services.svg;",.17*b,.17*b,"","Entra Domain Services",null,null,this.getTagsForStencil(a,"entra domain services","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Entra_Global_Secure_Access.svg;",.17*b,.17*b,"","Entra Global Secure Access",
+null,null,this.getTagsForStencil(a,"entra global secure access","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Entra_ID_Protection.svg;",.17*b,.1511*b,"","Entra ID Protection",null,null,this.getTagsForStencil(a,"entra id protection","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Entra_Internet_Access.svg;",.17*b,.17*b,"","Entra Internet Access",null,null,this.getTagsForStencil(a,"entra internet access","azure identity ").join(" ")),this.createVertexTemplateEntry(c+
+"Entra_Managed_Identities.svg;",.17*b,.1511*b,"","Entra Managed Identities",null,null,this.getTagsForStencil(a,"entra managed identities","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Entra_Private_Access.svg;",.17*b,.17*b,"","Entra Private Access",null,null,this.getTagsForStencil(a,"entra private access","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Entra_Privileged_Identity_Management.svg;",.17*b,.17*b,"","Entra Privileged Identity Management",null,null,this.getTagsForStencil(a,
+"entra privileged identity management","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Entra_Verified_ID.svg;",.17*b,.1511*b,"","Entra Verified ID",null,null,this.getTagsForStencil(a,"entra verified id","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"External_Identities.svg;",.1562*b,.17*b,"","External Identities",null,null,this.getTagsForStencil(a,"external identities","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Groups.svg;",.17*b,.14*b,"","Groups",
+null,null,this.getTagsForStencil(a,"groups","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Identity_Governance.svg;",.16*b,.16*b,"","Identity Governance",null,null,this.getTagsForStencil(a,"identity governance","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Information_Protection.svg;",.128*b,.17*b,"","Information Protection",null,null,this.getTagsForStencil(a,"information protection","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Managed_Identities.svg;",
+.17*b,.165*b,"","Managed Identities",null,null,this.getTagsForStencil(a,"managed identities","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Multi_Factor_Authentication.svg;",.17*b,.17*b,"","Multi-Factor Authentication",null,null,this.getTagsForStencil(a,"multi factor authentication","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"PIM.svg;",.15*b,.17*b,"","PIM",null,null,this.getTagsForStencil(a,"pim privileged identity management","azure identity ").join(" ")),this.createVertexTemplateEntry(c+
+"Security.svg;",.1418*b,.17*b,"","Security",null,null,this.getTagsForStencil(a,"security","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Tenant_Properties.svg;",.17*b,.12*b,"","Tenant Properties",null,null,this.getTagsForStencil(a,"tenant properties","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"User_Settings.svg;",.17*b,.1423*b,"","User Settings",null,null,this.getTagsForStencil(a,"user settings","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Users.svg;",
+.16*b,.175*b,"","Users",null,null,this.getTagsForStencil(a,"users","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Verifiable_Credentials.svg;",.17*b,.17*b,"","Verifiable Credentials",null,null,this.getTagsForStencil(a,"verifiable credentials","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Verification_As_A_Service.svg;",.17*b,.17*b,"","Verification As A Service",null,null,this.getTagsForStencil(a,"verification as service","azure identity ").join(" "))];this.addPalette("azure2Identity",
+"Azure / Identity",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2IntegrationPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/devops/API_Connections.svg;",.17*b,.1133*b,"","API Connections",null,null,this.getTagsForStencil(a,"api connections application programming interface","azure integration ").join(" ")),this.createVertexTemplateEntry(c+
+"Azure_API_for_FHIR.svg;",.17*b,.163*b,"","API for FHIR",null,null,this.getTagsForStencil(a,"api application programming interface for fhir","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"API_Management_Services.svg;",.1625*b,.15*b,"","API Management Services",null,null,this.getTagsForStencil(a,"api application programming interface management services","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"App_Configuration.svg;",.16*b,.17*b,"","App Configuration",
+null,null,this.getTagsForStencil(a,"app configuration application","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Data_Catalog.svg;",.15*b,.1675*b,"","Data Catalog",null,null,this.getTagsForStencil(a,"data catalog","azure integration ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/databases/Data_Factory.svg;",.17*b,.17*b,"","Data Factories",null,null,this.getTagsForStencil(a,"data factories",
+"azure integration ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/storage/Azure_Stack_Edge.svg;",.17*b,.12*b,"","Databox Gateway",null,null,this.getTagsForStencil(a,"databox gateway","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Event_Grid_Domains.svg;",.1675*b,.15*b,"","Event Grid Domains",null,null,this.getTagsForStencil(a,"event grid domains","azure integration ").join(" ")),this.createVertexTemplateEntry(c+
+"Event_Grid_Subscriptions.svg;",.1675*b,.15*b,"","Event Grid Subscriptions",null,null,this.getTagsForStencil(a,"event grid subscriptions","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Event_Grid_Topics.svg;",.1675*b,.15*b,"","Event Grid Topics",null,null,this.getTagsForStencil(a,"event grid topics","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Integration_Accounts.svg;",.16*b,.16*b,"","Integration Accounts",null,null,this.getTagsForStencil(a,"integration accounts",
+"azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Integration_Environments.svg;",.1606*b,.17*b,"","Integration Environments",null,null,this.getTagsForStencil(a,"integration environments","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Integration_Service_Environments.svg;",.17*b,.17*b,"","Integration Service Environments",null,null,this.getTagsForStencil(a,"integration service environments","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Logic_Apps.svg;",
+.1675*b,.13*b,"","Logic Apps",null,null,this.getTagsForStencil(a,"logic apps","azure integration ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/internet_of_things/Logic_Apps.svg;",.17*b,.17*b,"","Logic Apps",null,null,this.getTagsForStencil(a,"logic apps","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Logic_Apps_Custom_Connector.svg;",.17*b,.17*b,"","Logic Apps Custom Connector",null,null,this.getTagsForStencil(a,
+"logic apps custom connector","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Partner_Namespace.svg;",.17*b,.152*b,"","Partner Namespace",null,null,this.getTagsForStencil(a,"partner namespace","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Partner_Registration.svg;",.17*b,.158*b,"","Partner Registration",null,null,this.getTagsForStencil(a,"partner registration","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Partner_Topic.svg;",.17*b,.1525*
+b,"","Partner Topic",null,null,this.getTagsForStencil(a,"partner topic","azure integration ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/analytics/Power_Platform.svg;",.1623*b,.17*b,"","Power Platform",null,null,this.getTagsForStencil(a,"power platform","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Relays.svg;",.1675*b,.15*b,"","Relays",null,null,this.getTagsForStencil(a,"relays","azure integration ").join(" ")),
+this.createVertexTemplateEntry(c+"SendGrid_Accounts.svg;",.167*b,.17*b,"","SendGrid Accounts",null,null,this.getTagsForStencil(a,"sendgrid send grid accounts","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Service_Bus.svg;",.17*b,.15*b,"","Service Bus",null,null,this.getTagsForStencil(a,"service bus","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Software_as_a_Service.svg;",.16*b,.1325*b,"","Software as a Service",null,null,this.getTagsForStencil(a,"software service",
+"azure integration ").join(" ")),this.createVertexTemplateEntry(c+"SQL_Data_Warehouses.svg;",.16*b,.1625*b,"","SQL Data Warehouses",null,null,this.getTagsForStencil(a,"sql data warehouses","azure integration ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/storage/Data_Box_Edge.svg;",.17*b,.1218*b,"","Stack Edge",null,null,this.getTagsForStencil(a,"stack edge","azure integration ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/storage/StorSimple_Device_Managers.svg;",
+.175*b,.16*b,"","StorSimple Device Managers",null,null,this.getTagsForStencil(a,"storsimple device managers","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"System_Topic.svg;",.17*b,.15*b,"","System Topic",null,null,this.getTagsForStencil(a,"system topic","azure integration ").join(" "))];this.addPalette("azure2Integration","Azure / Integration",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2InternetOfThingsPalette=
+function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"Digital_Twins.svg;",.17*b,.1725*b,"","Digital Twins",null,null,this.getTagsForStencil(a,"digital twins","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Logic_Apps.svg;",.17*b,.17*b,"","Logic Apps",null,null,this.getTagsForStencil(a,"logic apps","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Time_Series_Insights_Access_Policies.svg;",.105*b,.17*b,"","Time Series Insights Access Policies",
+null,null,this.getTagsForStencil(a,"time series insights access policies","azure iot internet of things ").join(" "))];this.addPalette("azure2Internet of Things","Azure / Internet of Things",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2IntunePalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"Azure_AD_Roles_and_Administrators.svg;",.16*b,.16*b,"","AD Roles and Administrators",null,null,this.getTagsForStencil(a,"ad roles administrators",
+"azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Client_Apps.svg;",.17*b,.17*b,"","Client Apps",null,null,this.getTagsForStencil(a,"client apps","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Device_Compliance.svg;",.155*b,.17*b,"","Device Compliance",null,null,this.getTagsForStencil(a,"device compliance","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Device_Configuration.svg;",.155*b,.17*b,"","Device Configuration",null,null,this.getTagsForStencil(a,"device configuration",
+"azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Device_Enrollment.svg;",.17*b,.151*b,"","Device Enrollment",null,null,this.getTagsForStencil(a,"device enrollment","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Device_Security_Apple.svg;",.17*b,.1725*b,"","Device Security Apple",null,null,this.getTagsForStencil(a,"device security apple","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Device_Security_Google.svg;",.17*b,.1725*b,"","Device Security Google",null,
+null,this.getTagsForStencil(a,"device security google","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Device_Security_Windows.svg;",.17*b,.17*b,"","Device Security Windows",null,null,this.getTagsForStencil(a,"device security windows","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Devices.svg;",.17*b,.15*b,"","Devices",null,null,this.getTagsForStencil(a,"devices","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"eBooks.svg;",.17*b,.15*b,"","eBooks",null,null,
+this.getTagsForStencil(a,"ebooks","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Exchange_Access.svg;",.14*b,.17*b,"","Exchange Access",null,null,this.getTagsForStencil(a,"exchange access","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Intune.svg;",.17*b,.155*b,"","Intune",null,null,this.getTagsForStencil(a,"intune","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Intune_For_Education.svg;",.17*b,.155*b,"","Intune for Education",null,null,this.getTagsForStencil(a,
+"intune for education","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Mindaro.svg;",.168*b,.17*b,"","Mindaro",null,null,this.getTagsForStencil(a,"mindaro","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Security_Baselines.svg;",.17*b,.17*b,"","Security Baselines",null,null,this.getTagsForStencil(a,"security baselines","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Software_Updates.svg;",.17*b,.15*b,"","Software Updates",null,null,this.getTagsForStencil(a,
+"software updates","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Tenant_Status.svg;",.16*b,.17*b,"","Tenant Status",null,null,this.getTagsForStencil(a,"tenant status","azure intune ").join(" "))];this.addPalette("azure2Intune","Azure / Intune",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2IOTPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/databases/Azure_Cosmos_DB.svg;",
+.17*b,.17*b,"","Cosmos DB",null,null,this.getTagsForStencil(a,"cosmos","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/storage/Azure_Stack_Edge.svg;",.17*b,.12*b,"","Databox Gateway",null,null,this.getTagsForStencil(a,"databox gateway","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Device_Provisioning_Services.svg;",.16*b,.165*b,"","Device Provisioning Services",
+null,null,this.getTagsForStencil(a,"device provisioning services","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Digital_Twins.svg;",.17*b,.17*b,"","Digital Twins",null,null,this.getTagsForStencil(a,"digital twins","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/integration/Event_Grid_Domains.svg;",.1675*b,.15*b,"","Event Grid Subscriptions",null,null,this.getTagsForStencil(a,
+"event grid subscriptions","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/analytics/Event_Hub_Clusters.svg;",.17*b,.1381*b,"","Event Hub Clusters",null,null,this.getTagsForStencil(a,"event hub clusters","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Event_Hubs.svg;",.1675*b,.15*b,"","Event Hubs",null,null,this.getTagsForStencil(a,"event hubs","azure iot internet of things ").join(" ")),
+this.createVertexTemplateEntry(c+"Function_Apps.svg;",.17*b,.15*b,"","Function Apps",null,null,this.getTagsForStencil(a,"function apps","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Industrial_IoT.svg;",.157*b,.17*b,"","Industrial IoT",null,null,this.getTagsForStencil(a,"industrial","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"IoT_Central_Applications.svg;",.15*b,.1725*b,"","IoT Central Applications",null,null,this.getTagsForStencil(a,
+"central applications","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"IoT_Edge.svg;",.17*b,.17*b,"","IoT Edge",null,null,this.getTagsForStencil(a,"edge","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"IoT_Hub.svg;",.16*b,.16*b,"","IoT Hub",null,null,this.getTagsForStencil(a,"hub","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Azure_IoT_Operations.svg;",.17*b,.1606*b,"","IoT Operations",null,null,this.getTagsForStencil(a,
+"operations","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/internet_of_things/Logic_Apps.svg;",.17*b,.17*b,"","Logic Apps",null,null,this.getTagsForStencil(a,"logic apps","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Logic_Apps.svg;",.1675*b,.13*b,"","Logic Apps",null,null,this.getTagsForStencil(a,"logic apps","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/ai_machine_learning/Machine_Learning_Studio_Classic_Web_Services.svg;",
+.17*b,.17*b,"","Machine Learning Studio - Classic Web Services",null,null,this.getTagsForStencil(a,"studio classic web services","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/ai_machine_learning/Machine_Learning_Studio_Web_Service_Plans.svg;",.17*b,.17*b,"","Machine Learning Studio - Web Service Plans",null,null,this.getTagsForStencil(a,"studio web service plans","azure iot internet of things ").join(" ")),
+this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/ai_machine_learning/Machine_Learning_Studio_Workspaces.svg;",.17*b,.17*b,"","Machine Learning Studio - Workspaces",null,null,this.getTagsForStencil(a,"studio workspaces","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Maps_Accounts.svg;",.17*b,.17*b,"","Maps Accounts",null,null,this.getTagsForStencil(a,"maps accounts","azure iot internet of things ").join(" ")),
+this.createVertexTemplateEntry(c+"Notification_Hubs.svg;",.1675*b,.14*b,"","Notification Hubs",null,null,this.getTagsForStencil(a,"notification hubs","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/azure_stack/Azure_Stack.svg;",.1647*b,.17*b,"","Stack",null,null,this.getTagsForStencil(a,"stack","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/iot/Azure_Stack_HCI_Sizer.svg;",
+.17*b,.17*b,"","Stack HCI Sizer",null,null,this.getTagsForStencil(a,"stack hci sizer","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/iot/Stack_HCI_Premium.svg;",.17*b,.17*b,"","Stack HCI Premium",null,null,this.getTagsForStencil(a,"stack hci premium","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Stream_Analytics_Jobs.svg;",.17*b,.145*b,"","Stream Analytics Jobs",
+null,null,this.getTagsForStencil(a,"stream analytics jobs","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Time_Series_Data_Sets.svg;",.128*b,.17*b,"","Time Series Data Sets",null,null,this.getTagsForStencil(a,"time series data sets","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/internet_of_things/Time_Series_Insights_Access_Policies.svg;",.105*b,.17*b,"","Time Series Insights Access Policies",
+null,null,this.getTagsForStencil(a,"time series insights access policies","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Time_Series_Insights_Environments.svg;",.1675*b,.17*b,"","Time Series Insights Environments",null,null,this.getTagsForStencil(a,"time series insights environments","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Time_Series_Insights_Event_Sources.svg;",.1675*b,.17*b,"","Time Series Insights Event Sources",null,null,this.getTagsForStencil(a,
+"time series insights event sources","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Windows10_Core_Services.svg;",.17*b,.17*b,"","Windows10 Core Services",null,null,this.getTagsForStencil(a,"windows10 core services","azure iot internet of things ").join(" "))];this.addPalette("azure2IoT","Azure / IoT",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2ManagementGovernancePalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+
+"Activity_Log.svg;",.14*b,.1675*b,"","Activity Log",null,null,this.getTagsForStencil(a,"activity log","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Advisor.svg;",.165*b,.16*b,"","Advisor",null,null,this.getTagsForStencil(a,"advisor","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Alerts.svg;",.1675*b,.14*b,"","Alerts",null,null,this.getTagsForStencil(a,"alerts","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Application_Insights.svg;",
+.11*b,.1575*b,"","Application Insights",null,null,this.getTagsForStencil(a,"application insights","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Arc.svg;",.1725*b,.13*b,"","Arc",null,null,this.getTagsForStencil(a,"arc","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Arc_Machines.svg;",.1619*b,.17*b,"","Arc Machines",null,null,this.getTagsForStencil(a,"arc machines","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+
+"Automation_Accounts.svg;",.17*b,.17*b,"","Automation Accounts",null,null,this.getTagsForStencil(a,"automation accounts","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Blueprints.svg;",.1625*b,.16*b,"","Blueprints",null,null,this.getTagsForStencil(a,"blueprints","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Compliance.svg;",.13*b,.16*b,"","Compliance",null,null,this.getTagsForStencil(a,"compliance","azure management governance ").join(" ")),
+this.createVertexTemplateEntry(c+"Cost_Management_and_Billing.svg;",.17*b,.17*b,"","Cost Management and Billing",null,null,this.getTagsForStencil(a,"cost management billing","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Customer_Lockbox_for_MS_Azure.svg;",.17*b,.166*b,"","Customer Lockbox for MS Azure",null,null,this.getTagsForStencil(a,"customer lockbox for ms azure","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Diagnostics_Settings.svg;",
+.14*b,.1675*b,"","Diagnostics Settings",null,null,this.getTagsForStencil(a,"diagnostics settings","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Education.svg;",.1675*b,.13*b,"","Education",null,null,this.getTagsForStencil(a,"education","azure management governance ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/other/Intune_Trends.svg;",.142*b,.17*b,"","Intune Trends",null,null,this.getTagsForStencil(a,
+"intune trends","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Lighthouse.svg;",.1475*b,.17*b,"","Lighthouse",null,null,this.getTagsForStencil(a,"lighthouse","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Log_Analytics_Workspaces.svg;",.16*b,.16*b,"","Log Analytics Workspaces",null,null,this.getTagsForStencil(a,"log analytics workspaces","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"MachinesAzureArc.svg;",
+.11*b,.17*b,"","MachinesAzureArc",null,null,this.getTagsForStencil(a,"machines arc","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Managed_Applications_Center.svg;",.17*b,.135*b,"","Managed Applications Center",null,null,this.getTagsForStencil(a,"managed applications center","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Managed_Desktop.svg;",.17*b,.158*b,"","Managed Desktop",null,null,this.getTagsForStencil(a,"managed desktop","azure management governance ").join(" ")),
+this.createVertexTemplateEntry(c+"Metrics.svg;",.15*b,.1625*b,"","Metrics",null,null,this.getTagsForStencil(a,"metrics","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Monitor.svg;",.16*b,.16*b,"","Monitor",null,null,this.getTagsForStencil(a,"monitor","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"My_Customers.svg;",.1725*b,.14*b,"","My Customers",null,null,this.getTagsForStencil(a,"my customers","azure management governance ").join(" ")),
+this.createVertexTemplateEntry(c+"Operation_Log_Classic.svg;",.14*b,.1675*b,"","Operation Log (Classic)",null,null,this.getTagsForStencil(a,"operation log classic","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Policy.svg;",.15*b,.16*b,"","Policy",null,null,this.getTagsForStencil(a,"policy","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Recovery_Services_Vaults.svg;",.1725*b,.15*b,"","Recovery Services Vaults",null,null,this.getTagsForStencil(a,
+"recovery services vaults","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Resource_Graph_Explorer.svg;",.1675*b,.16*b,"","Resource Graph Explorer",null,null,this.getTagsForStencil(a,"resource graph explorer","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Resources_Provider.svg;",.1511*b,.17*b,"","Resources Provider",null,null,this.getTagsForStencil(a,"resources provider","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+
+"Scheduler_Job_Collections.svg;",.17*b,.16*b,"","Scheduler Job Collections",null,null,this.getTagsForStencil(a,"scheduler job collections","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Service_Catalog_MAD.svg;",.14*b,.17*b,"","Service Catalog MAD",null,null,this.getTagsForStencil(a,"service catalog mad","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Service_Providers.svg;",.165*b,.17*b,"","Service Providers",null,null,this.getTagsForStencil(a,
+"service providers","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"solutions.svg;",.16*b,.16*b,"","Solutions",null,null,this.getTagsForStencil(a,"solutions","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Universal_Print.svg;",.17*b,.145*b,"","Universal Print",null,null,this.getTagsForStencil(a,"universal print","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"User_Privacy.svg;",.16*b,.17*b,"","User Privacy",null,
+null,this.getTagsForStencil(a,"user privacy","azure management governance ").join(" "))];this.addPalette("azure2Management Governance","Azure / Management and Governance",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2MenuPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"Keys.svg;",.16*b,.17*b,"","Keys",null,null,this.getTagsForStencil(a,"keys","azure menu ").join(" "))];this.addPalette("azure2Menu","Azure / Menu",
+!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2MigratePalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"Cost_Management_and_Billing.svg;",.17*b,.17*b,"","Cost Management and Billing",null,null,this.getTagsForStencil(a,"cost management billing","azure migrate ").join(" ")),this.createVertexTemplateEntry(c+"Data_Box.svg;",.1775*b,.17*b,"","Data Box",null,null,this.getTagsForStencil(a,"data box","azure migrate ").join(" ")),
+this.createVertexTemplateEntry(c+"Data_Box_Edge.svg;",.1675*b,.12*b,"","Data Box Edge",null,null,this.getTagsForStencil(a,"data box edge","azure migrate ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/databases/Azure_Database_Migration_Services.svg;",.16*b,.1725*b,"","Database Migration Services",null,null,this.getTagsForStencil(a,"migration services","azure migrate ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/storage/Azure_Stack_Edge.svg;",
+.17*b,.12*b,"","Databox Gateway",null,null,this.getTagsForStencil(a,"databox gateway","azure migrate ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Migrate.svg;",.18*b,.11*b,"","Migrate",null,null,this.getTagsForStencil(a,"migrate","azure migrate ").join(" ")),this.createVertexTemplateEntry(c+"Recovery_Services_Vaults.svg;",.1725*b,.15*b,"","Recovery Services Vaults",null,null,this.getTagsForStencil(a,"recovery services vaults","azure migrate ").join(" "))];this.addPalette("azure2Migrate",
+"Azure / Migrate",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2MixedRealityPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"Remote_Rendering.svg;",.17*b,.12*b,"","Remote Rendering",null,null,this.getTagsForStencil(a,"remote rendering","azure mixed reality ").join(" ")),this.createVertexTemplateEntry(c+"Spatial_Anchor_Accounts.svg;",.167*b,.17*b,"","Spatial Anchor Accounts",null,null,this.getTagsForStencil(a,"spatial anchor accounts",
+"azure mixed reality ").join(" "))];this.addPalette("azure2Mixed Reality","Azure / Mixed Reality",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2MobilePalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/app_services/App_Services.svg;",.16*b,.16*b,"","App Services",null,null,this.getTagsForStencil(a,"app services","azure mobile ").join(" ")),
+this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/app_services/Notification_Hubs.svg;",.1675*b,.14*b,"","Notification Hubs",null,null,this.getTagsForStencil(a,"notification hubs","azure mobile ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/analytics/Power_Platform.svg;",.1623*b,.17*b,"","Power Platform",null,null,this.getTagsForStencil(a,"power platform",
+"azure mobile ").join(" "))];this.addPalette("azure2Mobile","Azure / Mobile",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2MonitorPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/management_governance/Activity_Log.svg;",.14*b,.1675*b,"","Activity Log",null,null,this.getTagsForStencil(a,"activity log","azure monitor ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/devops/Application_Insights.svg;",
+.11*b,.1575*b,"","Application Insights",null,null,this.getTagsForStencil(a,"application insights","azure monitor ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/devops/Change_Analysis.svg;",.17*b,.1692*b,"","Change Analysis",null,null,this.getTagsForStencil(a,"change analysis","azure monitor ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/management_governance/Diagnostics_Settings.svg;",
.14*b,.1675*b,"","Diagnostics Settings",null,null,this.getTagsForStencil(a,"diagnostics settings","azure monitor ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/analytics/Log_Analytics_Workspaces.svg;",.16*b,.16*b,"","Log Analytics Workspaces",null,null,this.getTagsForStencil(a,"log analytics workspaces","azure monitor ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/management_governance/Metrics.svg;",
.16*b,.17*b,"","Metrics Advisor",null,null,this.getTagsForStencil(a,"metrics advisor","azure monitor ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/management_governance/Monitor.svg;",.16*b,.16*b,"","Monitor",null,null,this.getTagsForStencil(a,"monitor","azure monitor ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/networking/Network_Watcher.svg;",
.17*b,.17*b,"","Network Watcher",null,null,this.getTagsForStencil(a,"network watcher","azure monitor ").join(" ")),this.createVertexTemplateEntry(c+"SAP_Azure_Monitor.svg;",.175*b,.14*b,"","SAP Azure Monitor",null,null,this.getTagsForStencil(a,"sap monitor","azure monitor ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/general/Scale.svg;",.17*b,.17*b,"","Scale",null,null,this.getTagsForStencil(a,"scale","azure monitor ").join(" ")),
@@ -5598,33 +5597,36 @@ this.createVertexTemplateEntry(c+"Reserved_Capacity.svg;",.145*b,.17*b,"","Reser
.17*b,.1355*b,"","VMWare Solution",null,null,this.getTagsForStencil(a,"vm virtual machine vmware solution","azure other ").join(" ")),this.createVertexTemplateEntry(c+"WAC.svg;",.155*b,.17*b,"","WAC",null,null,this.getTagsForStencil(a,"wac windows admin center","azure other ").join(" ")),this.createVertexTemplateEntry(c+"WAC_Installer.svg;",.17*b,.17*b,"","WAC Installer",null,null,this.getTagsForStencil(a,"wac windows admin center installer","azure other ").join(" ")),this.createVertexTemplateEntry(c+
"Web_App_Database.svg;",.17*b,.17*b,"","Web App Database",null,null,this.getTagsForStencil(a,"web app database","azure other ").join(" ")),this.createVertexTemplateEntry(c+"Web_Jobs.svg;",.165*b,.17*b,"","Web Jobs",null,null,this.getTagsForStencil(a,"web jobs","azure other ").join(" ")),this.createVertexTemplateEntry(c+"Windows_Notification_Services.svg;",.17*b,.17*b,"","Windows Notification Services",null,null,this.getTagsForStencil(a,"windows notification services","azure other ").join(" ")),this.createVertexTemplateEntry(c+
"Windows_Virtual_Desktop.svg;",.17*b,.17*b,"","Windows Virtual Desktop",null,null,this.getTagsForStencil(a,"windows virtual desktop","azure other ").join(" ")),this.createVertexTemplateEntry(c+"Worker_Container_App.svg;",.17*b,.165*b,"","Worker Container App",null,null,this.getTagsForStencil(a,"worker container app","azure other ").join(" ")),this.createVertexTemplateEntry(c+"Workspace_Gateway.svg;",.17*b,.1417*b,"","Workspace Gateway",null,null,this.getTagsForStencil(a,"workspace gateway","azure other ").join(" "))];
-this.addPalette("azure2Other","Azure / Other",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2PreviewPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"Azure_Cloud_Shell.svg;",.17*b,.12*b,"","Cloud Shell",null,null,this.getTagsForStencil(a,"cloud shell","azure preview ").join(" ")),this.createVertexTemplateEntry(c+"IoT_Edge.svg;",.17*b,.1675*b,"","IoT Edge",null,null,this.getTagsForStencil(a,"iot internet of things edge",
-"azure preview ").join(" ")),this.createVertexTemplateEntry(c+"Private_Link_Hub.svg;",.15*b,.1725*b,"","Private Link Hub",null,null,this.getTagsForStencil(a,"private link hub","azure preview ").join(" ")),this.createVertexTemplateEntry(c+"RTOS.svg;",.17*b,.17*b,"","RTOS",null,null,this.getTagsForStencil(a,"rtos","azure preview ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Sphere.svg;",.165*b,.17*b,"","Sphere",null,null,this.getTagsForStencil(a,"sphere","azure preview ").join(" ")),this.createVertexTemplateEntry(c+
-"Static_Apps.svg;",.175*b,.14*b,"","Static Apps",null,null,this.getTagsForStencil(a,"static apps","azure preview ").join(" ")),this.createVertexTemplateEntry(c+"Time_Series_Data_Sets.svg;",.12*b,.16*b,"","Time Series Data Sets",null,null,this.getTagsForStencil(a,"time series data sets","azure preview ").join(" ")),this.createVertexTemplateEntry(c+"Web_Environment.svg;",.16*b,.165*b,"","Web Environment",null,null,this.getTagsForStencil(a,"web environment","azure preview ").join(" ")),this.createVertexTemplateEntry(c+
-"Azure_Workbooks.svg;",.18*b,.18*b,"","Workbooks",null,null,this.getTagsForStencil(a,"workbooks","azure preview ").join(" "))];this.addPalette("azure2Preview","Azure / Preview",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2SecurityPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/identity/Managed_Identities.svg;",.17*b,.165*b,"","AD Authentication Methods",
-null,null,this.getTagsForStencil(a,"ad authentication methods","azure security ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/identity/Azure_AD_Identity_Protection.svg;",.17*b,.17*b,"","AD Identity Protection",null,null,this.getTagsForStencil(a,"ad identity protection","azure security ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/identity/PIM.svg;",
-.15*b,.17*b,"","AD Privileged Identity Management",null,null,this.getTagsForStencil(a,"ad privileged identity management","azure security ").join(" ")),this.createVertexTemplateEntry(c+"Azure_AD_Risky_Signins.svg;",.1694*b,.17*b,"","AD Risky Signins",null,null,this.getTagsForStencil(a,"ad risky signins","azure security ").join(" ")),this.createVertexTemplateEntry(c+"Azure_AD_Risky_Users.svg;",.17*b,.17*b,"","AD Risky Users",null,null,this.getTagsForStencil(a,"ad risky users","azure security ").join(" ")),
-this.createVertexTemplateEntry(c+"Application_Security_Groups.svg;",.14*b,.17*b,"","Application Security Groups",null,null,this.getTagsForStencil(a,"application security groups","azure security ").join(" ")),this.createVertexTemplateEntry(c+"Conditional_Access.svg;",.14*b,.17*b,"","Conditional Access",null,null,this.getTagsForStencil(a,"conditional access","azure security ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Defender.svg;",.14*b,.17*b,"","Defender",null,null,this.getTagsForStencil(a,
-"defender","azure security ").join(" ")),this.createVertexTemplateEntry(c+"Detonation.svg;",.165*b,.17*b,"","Detonation",null,null,this.getTagsForStencil(a,"detonation","azure security ").join(" ")),this.createVertexTemplateEntry(c+"ExtendedSecurityUpdates.svg;",.16*b,.175*b,"","Extended Security Updates",null,null,this.getTagsForStencil(a,"extended security updates","azure security ").join(" ")),this.createVertexTemplateEntry(c+"Identity_Secure_Score.svg;",.1548*b,.17*b,"","Identity Secure Score",
-null,null,this.getTagsForStencil(a,"identity secure score","azure security ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/identity/Azure_Information_Protection.svg;",.128*b,.17*b,"","Information Protection",null,null,this.getTagsForStencil(a,"information protection","azure security ").join(" ")),this.createVertexTemplateEntry(c+"Key_Vaults.svg;",.17*b,.17*b,"","Key Vaults",null,null,this.getTagsForStencil(a,"key vaults",
-"azure security ").join(" ")),this.createVertexTemplateEntry(c+"Keys.svg;",.18*b,.19*b,"","Keys",null,null,this.getTagsForStencil(a,"keys","azure security ").join(" ")),this.createVertexTemplateEntry(c+"MS_Defender_EASM.svg;",.1386*b,.17*b,"","MS Defender EASM",null,null,this.getTagsForStencil(a,"ms defender easm","azure security ").join(" ")),this.createVertexTemplateEntry(c+"Multifactor_Authentication.svg;",.1385*b,.17*b,"","Multifactor Authentication",null,null,this.getTagsForStencil(a,"multifactor authentication",
-"azure security ").join(" ")),this.createVertexTemplateEntry(c+"Security_Center.svg;",.14*b,.17*b,"","Security Center",null,null,this.getTagsForStencil(a,"security center","azure security ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Sentinel.svg;",.14*b,.17*b,"","Sentinel",null,null,this.getTagsForStencil(a,"sentinel","azure security ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/identity/User_Settings.svg;",
-.17*b,.1423*b,"","User Settings",null,null,this.getTagsForStencil(a,"user settings","azure security ").join(" "))];this.addPalette("azure2Security","Azure / Security",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2StoragePalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"Data_Box.svg;",.1775*b,.17*b,"","Data Box",null,null,this.getTagsForStencil(a,"data box","azure storage ").join(" ")),this.createVertexTemplateEntry(c+
-"Data_Box_Edge.svg;",.1675*b,.12*b,"","Data Box Edge",null,null,this.getTagsForStencil(a,"data box edge","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Data_Lake_Storage_Gen1.svg;",.16*b,.13*b,"","Data Lake Storage Gen1",null,null,this.getTagsForStencil(a,"data lake storage gen1","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Data_Share_Invitations.svg;",.17*b,.112*b,"","Data Share Invitations",null,null,this.getTagsForStencil(a,"data share invitations","azure storage ").join(" ")),
-this.createVertexTemplateEntry(c+"Data_Shares.svg;",.16*b,.1375*b,"","Data Shares",null,null,this.getTagsForStencil(a,"data shares","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Fileshare.svg;",.17*b,.17*b,"","Fileshare",null,null,this.getTagsForStencil(a,"fileshare","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Azure_HCP_Cache.svg;",.17*b,.1575*b,"","HCP Cache",null,null,this.getTagsForStencil(a,"hcp cache","azure storage ").join(" ")),this.createVertexTemplateEntry(c+
-"Import_Export_Jobs.svg;",.16*b,.1675*b,"","Import Export Jobs",null,null,this.getTagsForStencil(a,"import export jobs","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Azure_NetApp_Files.svg;",.1625*b,.13*b,"","NetApp Files",null,null,this.getTagsForStencil(a,"netapp files","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Recovery_Services_Vaults.svg;",.1725*b,.15*b,"","Recovery Services Vaults",null,null,this.getTagsForStencil(a,"recovery services vaults","azure storage ").join(" ")),
-this.createVertexTemplateEntry(c+"Azure_Stack_Edge.svg;",.17*b,.12*b,"","Stack Edge",null,null,this.getTagsForStencil(a,"stack edge","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Storage_Accounts.svg;",.1625*b,.13*b,"","Storage Accounts",null,null,this.getTagsForStencil(a,"storage accounts","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Storage_Accounts_Classic.svg;",.1625*b,.13*b,"","Storage Accounts (Classic)",null,null,this.getTagsForStencil(a,"storage accounts classic",
-"azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Storage_Explorer.svg;",.146*b,.17*b,"","Storage Explorer",null,null,this.getTagsForStencil(a,"storage explorer","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Storage_Sync_Services.svg;",.18*b,.15*b,"","Storage Sync Services",null,null,this.getTagsForStencil(a,"storage sync services","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"StorSimple_Data_Managers.svg;",.12*b,.16*b,"","StorSimple Data Managers",null,
-null,this.getTagsForStencil(a,"storsimple data managers","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"StorSimple_Device_Managers.svg;",.175*b,.16*b,"","StorSimple Device Managers",null,null,this.getTagsForStencil(a,"storsimple device managers","azure storage ").join(" "))];this.addPalette("azure2Storage","Azure / Storage",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2WebPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+
-"API_Center.svg;",.17*b,.17*b,"","API Center",null,null,this.getTagsForStencil(a,"api center","azure web ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/devops/API_Connections.svg;",.17*b,.1133*b,"","API Connections",null,null,this.getTagsForStencil(a,"api connections application programming interface","azure web ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/app_services/API_Management_Services.svg;",
-.17*b,.1575*b,"","API Management Services",null,null,this.getTagsForStencil(a,"api application programming interface management services","azure web ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/app_services/App_Service_Certificates.svg;",.17*b,.155*b,"","App Service Certificates",null,null,this.getTagsForStencil(a,"app service certificates","azure web ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/app_services/App_Service_Domains.svg;",
-.17*b,.1375*b,"","App Service Domains",null,null,this.getTagsForStencil(a,"app service domains","azure web ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/app_services/App_Service_Environments.svg;",.17*b,.17*b,"","App Service Environments",null,null,this.getTagsForStencil(a,"app service environments","azure web ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/app_services/App_Service_Plans.svg;",
-.17*b,.17*b,"","App Service Plans",null,null,this.getTagsForStencil(a,"app service plans","azure web ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/app_services/App_Services.svg;",.17*b,.17*b,"","App Services",null,null,this.getTagsForStencil(a,"app services","azure web ").join(" ")),this.createVertexTemplateEntry(c+"App_Space.svg;",.17*b,.17*b,"","App Space",null,null,this.getTagsForStencil(a,"app space","azure web ").join(" ")),
-this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/app_services/Search_Services.svg;",.17*b,.1228*b,"","Cognitive Search",null,null,this.getTagsForStencil(a,"cognitive search","azure web ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/ai_machine_learning/Cognitive_Services.svg;",.17*b,.12*b,"","Cognitive Services",null,null,this.getTagsForStencil(a,"cognitive services",
-"azure web ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/networking/Front_Doors.svg;",.17*b,.15*b,"","Front Door and CDN Profiles",null,null,this.getTagsForStencil(a,"front door and cdn profiles","azure web ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Media_Service.svg;",.17*b,.17*b,"","Media Service",null,null,this.getTagsForStencil(a,"media service","azure web ").join(" ")),this.createVertexTemplateEntry(c+
-"Notification_Hub_Namespaces.svg;",.1675*b,.14*b,"","Notification Hub Namespaces",null,null,this.getTagsForStencil(a,"notification hub namespaces","azure web ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/analytics/Power_Platform.svg;",.1623*b,.17*b,"","Power Platform",null,null,this.getTagsForStencil(a,"power platform","azure web ").join(" ")),this.createVertexTemplateEntry(c+"SignalR.svg;",.17*b,.17*b,"","SignalR",
-null,null,this.getTagsForStencil(a,"signalr","azure web ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/compute/Azure_Spring_Cloud.svg;",.17*b,.17*b,"","Spring Apps",null,null,this.getTagsForStencil(a,"spring apps","azure web ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/preview/Static_Apps.svg;",.17*b,.135*b,"","Static Apps",null,null,this.getTagsForStencil(a,
-"static apps","azure web ").join(" "))];this.addPalette("azure2Web","Azure / Web",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))}})();(function(){Sidebar.prototype.addBasicPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;html=1;shape=mxgraph.basic.";this.setCurrentSearchEntryLibrary("basic");this.addPaletteFunctions("basic",mxResources.get("basic"),!1,[this.createVertexTemplateEntry(a+"rect;fillColor2=none;strokeWidth=1;size=20;indent=5;",120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;top=0;bottom=0;fillColor=none;",
+this.addPalette("azure2Other","Azure / Other",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2PowerPlatformPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"AIBuilder.svg;",.17*b,.17*b,"","AI Builder",null,null,this.getTagsForStencil(a,"ai artificial intelligence builder","azure power platform ").join(" ")),this.createVertexTemplateEntry(c+"CopilotStudio.svg;",.17*b,.1558*b,"","Copilot Studio",null,null,this.getTagsForStencil(a,
+"copilot studio","azure power platform ").join(" ")),this.createVertexTemplateEntry(c+"Dataverse.svg;",.17*b,.131*b,"","Dataverse",null,null,this.getTagsForStencil(a,"dataverse","azure power platform ").join(" ")),this.createVertexTemplateEntry(c+"PowerApps.svg;",.17*b,.1629*b,"","PowerApps",null,null,this.getTagsForStencil(a,"powerapps power apps","azure power platform ").join(" ")),this.createVertexTemplateEntry(c+"PowerAutomate.svg;",.17*b,.1346*b,"","PowerAutomate",null,null,this.getTagsForStencil(a,
+"powerautomate power automate","azure power platform ").join(" ")),this.createVertexTemplateEntry(c+"PowerBI.svg;",.1275*b,.17*b,"","PowerBI",null,null,this.getTagsForStencil(a,"powerbi power bi","azure power platform ").join(" ")),this.createVertexTemplateEntry(c+"PowerFx.svg;",.17*b,.1623*b,"","PowerFx",null,null,this.getTagsForStencil(a,"powerfx power fx effects","azure power platform ").join(" ")),this.createVertexTemplateEntry(c+"PowerPages.svg;",.17*b,.17*b,"","PowerPages",null,null,this.getTagsForStencil(a,
+"powerpages power pages","azure power platform ").join(" ")),this.createVertexTemplateEntry(c+"PowerPlatform.svg;",.1608*b,.17*b,"","PowerPlatform",null,null,this.getTagsForStencil(a,"powerplatform power platform","azure power platform ").join(" "))];this.addPalette("azure2Power Platform","Azure / Power Platform",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2PreviewPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+
+"Azure_Cloud_Shell.svg;",.17*b,.12*b,"","Cloud Shell",null,null,this.getTagsForStencil(a,"cloud shell","azure preview ").join(" ")),this.createVertexTemplateEntry(c+"IoT_Edge.svg;",.17*b,.1675*b,"","IoT Edge",null,null,this.getTagsForStencil(a,"iot internet of things edge","azure preview ").join(" ")),this.createVertexTemplateEntry(c+"Private_Link_Hub.svg;",.15*b,.1725*b,"","Private Link Hub",null,null,this.getTagsForStencil(a,"private link hub","azure preview ").join(" ")),this.createVertexTemplateEntry(c+
+"RTOS.svg;",.17*b,.17*b,"","RTOS",null,null,this.getTagsForStencil(a,"rtos","azure preview ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Sphere.svg;",.165*b,.17*b,"","Sphere",null,null,this.getTagsForStencil(a,"sphere","azure preview ").join(" ")),this.createVertexTemplateEntry(c+"Static_Apps.svg;",.175*b,.14*b,"","Static Apps",null,null,this.getTagsForStencil(a,"static apps","azure preview ").join(" ")),this.createVertexTemplateEntry(c+"Time_Series_Data_Sets.svg;",.12*b,.16*b,"","Time Series Data Sets",
+null,null,this.getTagsForStencil(a,"time series data sets","azure preview ").join(" ")),this.createVertexTemplateEntry(c+"Web_Environment.svg;",.16*b,.165*b,"","Web Environment",null,null,this.getTagsForStencil(a,"web environment","azure preview ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Workbooks.svg;",.18*b,.18*b,"","Workbooks",null,null,this.getTagsForStencil(a,"workbooks","azure preview ").join(" "))];this.addPalette("azure2Preview","Azure / Preview",!1,mxUtils.bind(this,function(f){for(var g=
+0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2SecurityPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/identity/Managed_Identities.svg;",.17*b,.165*b,"","AD Authentication Methods",null,null,this.getTagsForStencil(a,"ad authentication methods","azure security ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/identity/Azure_AD_Identity_Protection.svg;",
+.17*b,.17*b,"","AD Identity Protection",null,null,this.getTagsForStencil(a,"ad identity protection","azure security ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/identity/PIM.svg;",.15*b,.17*b,"","AD Privileged Identity Management",null,null,this.getTagsForStencil(a,"ad privileged identity management","azure security ").join(" ")),this.createVertexTemplateEntry(c+"Azure_AD_Risky_Signins.svg;",.1694*b,.17*b,"","AD Risky Signins",
+null,null,this.getTagsForStencil(a,"ad risky signins","azure security ").join(" ")),this.createVertexTemplateEntry(c+"Azure_AD_Risky_Users.svg;",.17*b,.17*b,"","AD Risky Users",null,null,this.getTagsForStencil(a,"ad risky users","azure security ").join(" ")),this.createVertexTemplateEntry(c+"Application_Security_Groups.svg;",.14*b,.17*b,"","Application Security Groups",null,null,this.getTagsForStencil(a,"application security groups","azure security ").join(" ")),this.createVertexTemplateEntry(c+"Conditional_Access.svg;",
+.14*b,.17*b,"","Conditional Access",null,null,this.getTagsForStencil(a,"conditional access","azure security ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Defender.svg;",.14*b,.17*b,"","Defender",null,null,this.getTagsForStencil(a,"defender","azure security ").join(" ")),this.createVertexTemplateEntry(c+"Detonation.svg;",.165*b,.17*b,"","Detonation",null,null,this.getTagsForStencil(a,"detonation","azure security ").join(" ")),this.createVertexTemplateEntry(c+"ExtendedSecurityUpdates.svg;",
+.16*b,.175*b,"","Extended Security Updates",null,null,this.getTagsForStencil(a,"extended security updates","azure security ").join(" ")),this.createVertexTemplateEntry(c+"Identity_Secure_Score.svg;",.1548*b,.17*b,"","Identity Secure Score",null,null,this.getTagsForStencil(a,"identity secure score","azure security ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/identity/Azure_Information_Protection.svg;",.128*b,.17*b,"",
+"Information Protection",null,null,this.getTagsForStencil(a,"information protection","azure security ").join(" ")),this.createVertexTemplateEntry(c+"Key_Vaults.svg;",.17*b,.17*b,"","Key Vaults",null,null,this.getTagsForStencil(a,"key vaults","azure security ").join(" ")),this.createVertexTemplateEntry(c+"Keys.svg;",.18*b,.19*b,"","Keys",null,null,this.getTagsForStencil(a,"keys","azure security ").join(" ")),this.createVertexTemplateEntry(c+"MS_Defender_EASM.svg;",.1386*b,.17*b,"","MS Defender EASM",
+null,null,this.getTagsForStencil(a,"ms defender easm","azure security ").join(" ")),this.createVertexTemplateEntry(c+"Multifactor_Authentication.svg;",.1385*b,.17*b,"","Multifactor Authentication",null,null,this.getTagsForStencil(a,"multifactor authentication","azure security ").join(" ")),this.createVertexTemplateEntry(c+"Security_Center.svg;",.14*b,.17*b,"","Security Center",null,null,this.getTagsForStencil(a,"security center","azure security ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Sentinel.svg;",
+.14*b,.17*b,"","Sentinel",null,null,this.getTagsForStencil(a,"sentinel","azure security ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/identity/User_Settings.svg;",.17*b,.1423*b,"","User Settings",null,null,this.getTagsForStencil(a,"user settings","azure security ").join(" "))];this.addPalette("azure2Security","Azure / Security",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2StoragePalette=
+function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"Data_Box.svg;",.1775*b,.17*b,"","Data Box",null,null,this.getTagsForStencil(a,"data box","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Data_Box_Edge.svg;",.1675*b,.12*b,"","Data Box Edge",null,null,this.getTagsForStencil(a,"data box edge","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Data_Lake_Storage_Gen1.svg;",.16*b,.13*b,"","Data Lake Storage Gen1",null,null,this.getTagsForStencil(a,"data lake storage gen1",
+"azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Data_Share_Invitations.svg;",.17*b,.112*b,"","Data Share Invitations",null,null,this.getTagsForStencil(a,"data share invitations","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Data_Shares.svg;",.16*b,.1375*b,"","Data Shares",null,null,this.getTagsForStencil(a,"data shares","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Fileshare.svg;",.17*b,.17*b,"","Fileshare",null,null,this.getTagsForStencil(a,
+"fileshare","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Azure_HCP_Cache.svg;",.17*b,.1575*b,"","HCP Cache",null,null,this.getTagsForStencil(a,"hcp cache","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Import_Export_Jobs.svg;",.16*b,.1675*b,"","Import Export Jobs",null,null,this.getTagsForStencil(a,"import export jobs","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Azure_NetApp_Files.svg;",.1625*b,.13*b,"","NetApp Files",null,null,this.getTagsForStencil(a,
+"netapp files","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Recovery_Services_Vaults.svg;",.1725*b,.15*b,"","Recovery Services Vaults",null,null,this.getTagsForStencil(a,"recovery services vaults","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Stack_Edge.svg;",.17*b,.12*b,"","Stack Edge",null,null,this.getTagsForStencil(a,"stack edge","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Storage_Accounts.svg;",.1625*b,.13*b,"","Storage Accounts",null,
+null,this.getTagsForStencil(a,"storage accounts","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Storage_Accounts_Classic.svg;",.1625*b,.13*b,"","Storage Accounts (Classic)",null,null,this.getTagsForStencil(a,"storage accounts classic","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Storage_Explorer.svg;",.146*b,.17*b,"","Storage Explorer",null,null,this.getTagsForStencil(a,"storage explorer","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Storage_Sync_Services.svg;",
+.18*b,.15*b,"","Storage Sync Services",null,null,this.getTagsForStencil(a,"storage sync services","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"StorSimple_Data_Managers.svg;",.12*b,.16*b,"","StorSimple Data Managers",null,null,this.getTagsForStencil(a,"storsimple data managers","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"StorSimple_Device_Managers.svg;",.175*b,.16*b,"","StorSimple Device Managers",null,null,this.getTagsForStencil(a,"storsimple device managers",
+"azure storage ").join(" "))];this.addPalette("azure2Storage","Azure / Storage",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addAzure2WebPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"API_Center.svg;",.17*b,.17*b,"","API Center",null,null,this.getTagsForStencil(a,"api center","azure web ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/devops/API_Connections.svg;",
+.17*b,.1133*b,"","API Connections",null,null,this.getTagsForStencil(a,"api connections application programming interface","azure web ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/app_services/API_Management_Services.svg;",.17*b,.1575*b,"","API Management Services",null,null,this.getTagsForStencil(a,"api application programming interface management services","azure web ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/app_services/App_Service_Certificates.svg;",
+.17*b,.155*b,"","App Service Certificates",null,null,this.getTagsForStencil(a,"app service certificates","azure web ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/app_services/App_Service_Domains.svg;",.17*b,.1375*b,"","App Service Domains",null,null,this.getTagsForStencil(a,"app service domains","azure web ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/app_services/App_Service_Environments.svg;",
+.17*b,.17*b,"","App Service Environments",null,null,this.getTagsForStencil(a,"app service environments","azure web ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/app_services/App_Service_Plans.svg;",.17*b,.17*b,"","App Service Plans",null,null,this.getTagsForStencil(a,"app service plans","azure web ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/app_services/App_Services.svg;",
+.17*b,.17*b,"","App Services",null,null,this.getTagsForStencil(a,"app services","azure web ").join(" ")),this.createVertexTemplateEntry(c+"App_Space.svg;",.17*b,.17*b,"","App Space",null,null,this.getTagsForStencil(a,"app space","azure web ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/app_services/Search_Services.svg;",.17*b,.1228*b,"","Cognitive Search",null,null,this.getTagsForStencil(a,"cognitive search","azure web ").join(" ")),
+this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/ai_machine_learning/Cognitive_Services.svg;",.17*b,.12*b,"","Cognitive Services",null,null,this.getTagsForStencil(a,"cognitive services","azure web ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/networking/Front_Doors.svg;",.17*b,.15*b,"","Front Door and CDN Profiles",null,null,this.getTagsForStencil(a,"front door and cdn profiles",
+"azure web ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Media_Service.svg;",.17*b,.17*b,"","Media Service",null,null,this.getTagsForStencil(a,"media service","azure web ").join(" ")),this.createVertexTemplateEntry(c+"Notification_Hub_Namespaces.svg;",.1675*b,.14*b,"","Notification Hub Namespaces",null,null,this.getTagsForStencil(a,"notification hub namespaces","azure web ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/analytics/Power_Platform.svg;",
+.1623*b,.17*b,"","Power Platform",null,null,this.getTagsForStencil(a,"power platform","azure web ").join(" ")),this.createVertexTemplateEntry(c+"SignalR.svg;",.17*b,.17*b,"","SignalR",null,null,this.getTagsForStencil(a,"signalr","azure web ").join(" ")),this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/compute/Azure_Spring_Cloud.svg;",.17*b,.17*b,"","Spring Apps",null,null,this.getTagsForStencil(a,"spring apps","azure web ").join(" ")),
+this.createVertexTemplateEntry("image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/azure2/preview/Static_Apps.svg;",.17*b,.135*b,"","Static Apps",null,null,this.getTagsForStencil(a,"static apps","azure web ").join(" "))];this.addPalette("azure2Web","Azure / Web",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))}})();(function(){Sidebar.prototype.addBasicPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;html=1;shape=mxgraph.basic.";this.setCurrentSearchEntryLibrary("basic");this.addPaletteFunctions("basic",mxResources.get("basic"),!1,[this.createVertexTemplateEntry(a+"rect;fillColor2=none;strokeWidth=1;size=20;indent=5;",120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;top=0;bottom=0;fillColor=none;",
120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;right=0;top=0;bottom=0;fillColor=none;routingCenterX=-0.5;",120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;bottom=0;right=0;fillColor=none;",120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;top=0;left=0;fillColor=none;",120,60,"","Partial Rectangle"),this.createVertexTemplateEntry(a+
"polygon;polyCoords=[[0.25,0],[0.75,0],[1,0.25],[1,0.75],[0.75,1],[0.25,1],[0,0.75],[0,0.25]];polyline=0;",100,100,"","Polygon",null,null,this.getTagsForStencil("mxgraph.basic","polygon","").join(" ")),this.createVertexTemplateEntry(a+"polygon;polyCoords=[[0.25,0],[0.75,0],[1,0.25],[1,0.75],[0.75,1],[0.25,1],[0,0.75],[0,0.25]];polyline=1;fillColor=none;",100,100,"","Polyline",null,null,this.getTagsForStencil("mxgraph.basic","polyline","").join(" ")),this.createVertexTemplateEntry(a+"patternFillRect;fillStyle=diag;step=5;fillStrokeWidth=0.2;fillStrokeColor=#dddddd;",
120,60,"","Rectangle with diagonal fill"),this.createVertexTemplateEntry(a+"patternFillRect;fillStyle=diagRev;step=5;fillStrokeWidth=0.2;fillStrokeColor=#dddddd;",120,60,"","Rectangle with reverse diagonal fill"),this.createVertexTemplateEntry(a+"patternFillRect;fillStyle=vert;step=5;fillStrokeWidth=0.2;fillStrokeColor=#dddddd;",120,60,"","Rectangle with vertical fill"),this.createVertexTemplateEntry(a+"patternFillRect;fillStyle=hor;step=5;fillStrokeWidth=0.2;fillStrokeColor=#dddddd;",120,60,"","Rectangle with horizontal fill"),
@@ -6929,7 +6931,20 @@ null,null,this.getTagsForStencil("mxgraph.flowchart","information data carrier s
100,50,"","Entity",null,null,this.getTagsForStencil("mxgraph.flowchart","entity","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("shape=cloud;whiteSpace=wrap;html=1;",120,120,"","Object",null,null,this.getTagsForStencil("mxgraph.flowchart","object","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("shape=ellipse;html=1;dashed=0;whiteSpace=wrap;perimeter=ellipsePerimeter;",100,50,"","Oval Process",null,null,this.getTagsForStencil("mxgraph.flowchart","oval process",
"dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("shape=cylinder;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;",60,80,"","Data Store",null,null,this.getTagsForStencil("mxgraph.flowchart","data store","dfd data flow diagram ").join(" ")),this.addEntry("dfd data flow diagram external entity",function(){var b=new mxCell("",new mxGeometry(0,0,100,100),"html=1;dashed=0;whiteSpace=wrap;shape=mxgraph.dfd.externalEntity");b.vertex=!0;var d=new mxCell("Id",new mxGeometry(0,0,
20,20),"autosize=1;part=1;resizable=0;strokeColor=inherit;fillColor=inherit;gradientColor=inherit;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(15,15);d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"External Entity")}),this.createVertexTemplateEntry("html=1;dashed=0;whiteSpace=wrap;shape=mxgraph.dfd.loop",80,30,"","Loop",null,null,this.getTagsForStencil("mxgraph.flowchart","loop","dfd data flow diagram ").join(" ")),this.createEdgeTemplateEntry("endArrow=classic;html=1;",
-50,50,"","Directional Connector",null,"dfd data flow diagram directional directed")]);this.setCurrentSearchEntryLibrary()}})();(function(){Sidebar.prototype.addEipPalette=function(){this.setCurrentSearchEntryLibrary("eip","eipMessage Construction");this.addEipMessageConstructionPalette();this.setCurrentSearchEntryLibrary("eip","eipMessage Routing");this.addEipMessageRoutingPalette();this.setCurrentSearchEntryLibrary("eip","eipMessage Transformation");this.addEipMessageTransformationPalette();this.setCurrentSearchEntryLibrary("eip","eipMessaging Channels");this.addEipMessagingChannelsPalette();this.setCurrentSearchEntryLibrary("eip",
+50,50,"","Directional Connector",null,"dfd data flow diagram directional directed")]);this.setCurrentSearchEntryLibrary()}})();(function(){Sidebar.prototype.addDynamics365Palette=function(){this.setCurrentSearchEntryLibrary("dynamics365","dynamics365App");this.addDynamics365AppPalette("dynamics365",400,this,"image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/dynamics365/");this.setCurrentSearchEntryLibrary("dynamics365","dynamics365Mixed Reality");this.addDynamics365MixedRealityPalette("dynamics365",400,this,"image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/dynamics365/");
+this.setCurrentSearchEntryLibrary("dynamics365","dynamics365Product Family");this.addDynamics365ProductFamilyPalette("dynamics365",400,this,"image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/dynamics365/");this.setCurrentSearchEntryLibrary("dynamics365","dynamics365Sub App");this.addDynamics365SubAppPalette("dynamics365",400,this,"image;aspect=fixed;html=1;points=[];align=center;fontSize=12;image=img/lib/dynamics365/");this.setCurrentSearchEntryLibrary()};Sidebar.prototype.addDynamics365AppPalette=
+function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"BusinessCentral.svg;",.17*b,.17*b,"","Business Central",null,null,this.getTagsForStencil(a,"business central","app ").join(" ")),this.createVertexTemplateEntry(c+"Commerce.svg;",.17*b,.1488*b,"","Commerce",null,null,this.getTagsForStencil(a,"commerce","app ").join(" ")),this.createVertexTemplateEntry(c+"ConnectedStore.svg;",.17*b,.17*b,"","Connected Store",null,null,this.getTagsForStencil(a,"connected store","app ").join(" ")),this.createVertexTemplateEntry(c+
+"CoreHR.svg;",.17*b,.17*b,"","Core HR",null,null,this.getTagsForStencil(a,"core hr human resources","app ").join(" ")),this.createVertexTemplateEntry(c+"CustomerInsights.svg;",.17*b,.17*b,"","Customer Insights",null,null,this.getTagsForStencil(a,"customer insights","app ").join(" ")),this.createVertexTemplateEntry(c+"CustomerService.svg;",.17*b,.1488*b,"","Customer Service",null,null,this.getTagsForStencil(a,"customer service","app ").join(" ")),this.createVertexTemplateEntry(c+"CustomerServiceInsights.svg;",
+.17*b,.17*b,"","Customer Service Insights",null,null,this.getTagsForStencil(a,"customer service insights","app ").join(" ")),this.createVertexTemplateEntry(c+"CustomerVoice.svg;",.17*b,.17*b,"","Customer Voice",null,null,this.getTagsForStencil(a,"customer voice","app ").join(" ")),this.createVertexTemplateEntry(c+"FieldService.svg;",.17*b,.1594*b,"","Field Service",null,null,this.getTagsForStencil(a,"field service","app ").join(" ")),this.createVertexTemplateEntry(c+"Finance.svg;",.17*b,.168*b,"",
+"Finance",null,null,this.getTagsForStencil(a,"finance","app ").join(" ")),this.createVertexTemplateEntry(c+"Finance_Operations.svg;",.1381*b,.17*b,"","Finance Operations",null,null,this.getTagsForStencil(a,"finance operations","app ").join(" ")),this.createVertexTemplateEntry(c+"FraudProtection.svg;",.1503*b,.17*b,"","Fraud Protection",null,null,this.getTagsForStencil(a,"fraud protection","app ").join(" ")),this.createVertexTemplateEntry(c+"IntelligentOrderManagement.svg;",.17*b,.17*b,"","Intelligent Order Management",
+null,null,this.getTagsForStencil(a,"intelligent order management","app ").join(" ")),this.createVertexTemplateEntry(c+"Marketing.svg;",.17*b,.17*b,"","Marketing",null,null,this.getTagsForStencil(a,"marketing","app ").join(" ")),this.createVertexTemplateEntry(c+"Product_Insights.svg;",.17*b,.1488*b,"","Product Insights",null,null,this.getTagsForStencil(a,"product insights","app ").join(" ")),this.createVertexTemplateEntry(c+"ProjectServiceAutomation.svg;",.17*b,.1587*b,"","Project Service Automation",
+null,null,this.getTagsForStencil(a,"project service automation","app ").join(" ")),this.createVertexTemplateEntry(c+"Sales.svg;",.17*b,.17*b,"","Sales",null,null,this.getTagsForStencil(a,"sales","app ").join(" ")),this.createVertexTemplateEntry(c+"SupplyChainManagement.svg;",.17*b,.1488*b,"","Supply Chain Management",null,null,this.getTagsForStencil(a,"supply chain management","app ").join(" ")),this.createVertexTemplateEntry(c+"SustainabilityCalculator.svg;",.17*b,.17*b,"","Sustainability Calculator",
+null,null,this.getTagsForStencil(a,"sustainability calculator","app ").join(" ")),this.createVertexTemplateEntry(c+"TalentAttract.svg;",.1381*b,.17*b,"","Talent Attract",null,null,this.getTagsForStencil(a,"talent attract","app ").join(" ")),this.createVertexTemplateEntry(c+"TalentOnboard.svg;",.17*b,.17*b,"","Talent Onboard",null,null,this.getTagsForStencil(a,"talent onboard","app ").join(" "))];this.addPalette("dynamics365App","Dynamics365 / App",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};
+Sidebar.prototype.addDynamics365MixedRealityPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"ImportTool.svg;",.1503*b,.17*b,"","Import Tool",null,null,this.getTagsForStencil(a,"import tool","mixed reality ").join(" ")),this.createVertexTemplateEntry(c+"Layout.svg;",.1519*b,.17*b,"","Layout",null,null,this.getTagsForStencil(a,"layout","mixed reality ").join(" ")),this.createVertexTemplateEntry(c+"MRPortal.svg;",.17*b,.1558*b,"","MR Portal",null,null,this.getTagsForStencil(a,"mr portal",
+"mixed reality ").join(" ")),this.createVertexTemplateEntry(c+"ProductVisualize.svg;",.17*b,.17*b,"","Product Visualize",null,null,this.getTagsForStencil(a,"product visualize","mixed reality ").join(" ")),this.createVertexTemplateEntry(c+"RemoteAssist.svg;",.1503*b,.17*b,"","Remote Assist",null,null,this.getTagsForStencil(a,"remote assist","mixed reality ").join(" ")),this.createVertexTemplateEntry(c+"VoiceAssistant.svg;",.1519*b,.17*b,"","Voice Assistant",null,null,this.getTagsForStencil(a,"voice assistant",
+"mixed reality ").join(" "))];this.addPalette("dynamics365Mixed Reality","Dynamics365 / Mixed Reality",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addDynamics365ProductFamilyPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"Dynamics365.svg;",.1253*b,.17*b,"","Dynamics 365",null,null,this.getTagsForStencil(a,"dynamics 365","product family ").join(" "))];this.addPalette("dynamics365Product Family","Dynamics365 / Product Family",
+!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))};Sidebar.prototype.addDynamics365SubAppPalette=function(a,b,d,c){var e=[this.createVertexTemplateEntry(c+"ProjectTimesheet.svg;",.17*b,.1629*b,"","Project Timesheet",null,null,this.getTagsForStencil(a,"project timesheet","sub app ").join(" ")),this.createVertexTemplateEntry(c+"ReturnToSchool.svg;",.17*b,.1665*b,"","Return To School",null,null,this.getTagsForStencil(a,"return to school","sub app ").join(" ")),this.createVertexTemplateEntry(c+
+"ReturnToWork.svg;",.17*b,.1558*b,"","Return To Work",null,null,this.getTagsForStencil(a,"return to work","sub app ").join(" ")),this.createVertexTemplateEntry(c+"SCMWarehousing.svg;",.17*b,.17*b,"","SCM Warehousing",null,null,this.getTagsForStencil(a,"scm warehousing","sub app ").join(" "))];this.addPalette("dynamics365Sub App","Dynamics365 / Sub App",!1,mxUtils.bind(this,function(f){for(var g=0;g<e.length;g++)f.appendChild(e[g](f))}))}})();(function(){Sidebar.prototype.addEipPalette=function(){this.setCurrentSearchEntryLibrary("eip","eipMessage Construction");this.addEipMessageConstructionPalette();this.setCurrentSearchEntryLibrary("eip","eipMessage Routing");this.addEipMessageRoutingPalette();this.setCurrentSearchEntryLibrary("eip","eipMessage Transformation");this.addEipMessageTransformationPalette();this.setCurrentSearchEntryLibrary("eip","eipMessaging Channels");this.addEipMessagingChannelsPalette();this.setCurrentSearchEntryLibrary("eip",
"eipMessaging Endpoints");this.addEipMessagingEndpointsPalette();this.setCurrentSearchEntryLibrary("eip","eipMessaging Systems");this.addEipMessagingSystemsPalette();this.setCurrentSearchEntryLibrary("eip","eipSystem Management");this.addEipSystemManagementPalette();this.setCurrentSearchEntryLibrary()};Sidebar.prototype.addEipMessageConstructionPalette=function(a){var b=this,d=[this.createEdgeTemplateEntry("edgeStyle=none;html=1;strokeColor=#808080;endArrow=block;endSize=10;dashed=0;verticalAlign=bottom;strokeWidth=2;",
160,0,"","Pipe",null,this.getTagsForStencil("mxgraph.eip","","eip enterprise integration pattern message construction pipe").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;dashed=0;align=center;fontSize=8;shape=rect;fillColor=#c0f5a9;verticalLabelPosition=bottom;verticalAlign=top;html=1;",150,90,"","Filter",null,null,this.getTagsForStencil("mxgraph.eip","","eip enterprise integration pattern message construction filter").join(" ")),this.addEntry("eip enterprise integration pattern message construction command message",
function(){var c=new mxCell("",new mxGeometry(0,0,12,12),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=ellipse;fillColor=#808080;strokeColor=none;");c.vertex=!0;var e=new mxCell("C",new mxGeometry(16,18,12,12),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=rect;fillColor=#FF8080;fontStyle=1;whiteSpace=wrap;html=1;");e.vertex=!0;var f=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=0;exitY=0.5;endArrow=none;dashed=0;html=1;strokeColor=#808080;strokeWidth=2;");
@@ -8861,11 +8876,11 @@ a,a,"","Dependency",null,d+"dependency"),this.createEdgeTemplateEntry("html=1;la
b,d,c,e,f,g,h,k,l){var m=this,n=a.replace("\n"," ");n=n.replace("- ","-");c.push(this.addEntry(d,function(){var p=new mxCell(n,new mxGeometry(0,0,e,e),"shape=ellipse;fillColor="+g+";aspect=fixed;resizable=0;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeColor="+h+";fontSize=14;");p.vertex=!0;var q=new mxCell("",new mxGeometry(0,0,f,f),"fillColor="+k+";strokeColor="+l+";dashed=0;outlineConnect=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;part=1;movable=0;resizable=0;rotatable=0;shape=mxgraph.ibm_cloud."+
b);q.geometry.relative=!0;q.geometry.offset=new mxPoint(.5*(e-f),.5*(e-f));q.vertex=!0;p.insert(q);return m.createVertexTemplateFromCells([p],p.geometry.width,p.geometry.height,a,!1)}))};Sidebar.prototype.addIBMCloudPrescribedNode=function(a,b,d,c,e,f,g,h,k,l){var m=this,n=a.replace("\n"," ");n=n.replace("- ","-");c.push(this.addEntry(d,function(){var p=new mxCell(n,new mxGeometry(0,0,e,e),"shape=rect;fillColor="+g+";aspect=fixed;resizable=0;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeColor="+
h+";fontSize=14;");p.vertex=!0;var q=new mxCell("",new mxGeometry(0,0,f,f),"fillColor="+k+";strokeColor="+l+";dashed=0;outlineConnect=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;part=1;movable=0;resizable=0;rotatable=0;shape=mxgraph.ibm_cloud."+b);q.geometry.relative=!0;q.geometry.offset=new mxPoint(.5*(e-f),.5*(e-f));q.vertex=!0;p.insert(q);return m.createVertexTemplateFromCells([p],p.geometry.width,p.geometry.height,a,!1)}))};Sidebar.prototype.addIBMCloudPrescribedNodeExpanded=
-function(a,b,d,c,e,f,g,h,k,l,m,n){var p=this,q=a.replace("\n"," ");q=q.replace("- ","-");c.push(this.addEntry(d,function(){var t=new mxCell("",new mxGeometry(0,0,220,140),"container=1;collapsible=0;expand=0;recursiveResize=0;html=1;whiteSpace=wrap;image=;strokeColor="+n+";fillColor="+m+";");t.vertex=!0;var v=new mxCell(a,new mxGeometry(0,0,e,e),"shape=rect;fillColor="+g+";aspect=fixed;resizable=0;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;strokeColor="+h+";part=1;spacingLeft=5;fontSize=14;");
+function(a,b,d,c,e,f,g,h,k,l,m,n){var p=this,q=a.replace("\n"," ");q=q.replace("- ","-");c.push(this.addEntry(d,function(){var t=new mxCell("",new mxGeometry(0,0,220,140),"container=1;collapsible=0;expand=0;recursiveResize=0;html=1;whiteSpace=wrap;strokeColor="+n+";fillColor="+m+";");t.vertex=!0;var v=new mxCell(a,new mxGeometry(0,0,e,e),"shape=rect;fillColor="+g+";aspect=fixed;resizable=0;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;strokeColor="+h+";part=1;spacingLeft=5;fontSize=14;");
v.vertex=!0;v.geometry.relative=!0;t.insert(v);var u=new mxCell("",new mxGeometry(0,0,f,f),"fillColor="+k+";shape=mxgraph.ibm_cloud."+b+";strokeColor="+l+";dashed=0;outlineConnect=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;part=1;movable=0;resizable=0;rotatable=0;");u.geometry.relative=!0;u.geometry.offset=new mxPoint(.5*(e-f),.5*(e-f));u.vertex=!0;v.insert(u);return p.createVertexTemplateFromCells([t],t.geometry.width,t.geometry.height,a)}))};Sidebar.prototype.addIBMCloudPrescribedLocation=
-function(a,b,d,c,e,f,g,h,k,l,m,n,p,q){var t=this,v=a.replace("\n"," ");v=v.replace("- ","-");c.push(this.addEntry(d+"prescribed location",function(){var u=new mxCell("",new mxGeometry(0,0,220,140),"container=1;collapsible=0;expand=0;recursiveResize=0;html=1;whiteSpace=wrap;image=;strokeColor="+n+";fillColor="+m+";strokeWidth="+q);u.vertex=!0;if(!p){var w=new mxCell(a,new mxGeometry(0,0,e,e),"shape=rect;fillColor=none;aspect=fixed;resizable=0;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;strokeColor=none;part=1;spacingLeft=5;fontSize=14;");
+function(a,b,d,c,e,f,g,h,k,l,m,n,p,q){var t=this,v=a.replace("\n"," ");v=v.replace("- ","-");c.push(this.addEntry(d+"prescribed location",function(){var u=new mxCell("",new mxGeometry(0,0,220,140),"container=1;collapsible=0;expand=0;recursiveResize=0;html=1;whiteSpace=wrap;strokeColor="+n+";fillColor="+m+";strokeWidth="+q);u.vertex=!0;if(!p){var w=new mxCell(a,new mxGeometry(0,0,e,e),"shape=rect;fillColor=none;aspect=fixed;resizable=0;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;strokeColor=none;part=1;spacingLeft=5;fontSize=14;");
w.vertex=!0;w.geometry.relative=!0;u.insert(w)}var r=new mxCell(p?a:"",new mxGeometry(0,0,4,e),"shape=rect;fillColor="+g+";aspect=fixed;resizable=0;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;strokeColor="+h+";part=1;spacingLeft=5;fontSize=14;");r.vertex=!0;r.geometry.relative=!0;u.insert(r);p||(r=new mxCell("",new mxGeometry(0,0,f,f),"fillColor="+k+";shape=mxgraph.ibm_cloud."+b+";strokeColor="+l+";dashed=0;outlineConnect=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;part=1;movable=0;resizable=0;rotatable=0;"),
-r.geometry.relative=!0,r.geometry.offset=new mxPoint(.5*(e-f),.5*(e-f)),r.vertex=!0,w.insert(r));return t.createVertexTemplateFromCells([u],u.geometry.width,u.geometry.height,a)}))};Sidebar.prototype.addIBMCloudZone=function(a,b,d,c,e,f,g,h,k,l,m,n,p,q){var t=this;g=a.replace("\n"," ");g=g.replace("- ","-");c.push(this.addEntry(d+"zone",function(){var v=new mxCell("",new mxGeometry(0,0,220,140),"container=1;collapsible=0;expand=0;recursiveResize=0;html=1;whiteSpace=wrap;image=;strokeColor="+n+";fillColor="+
+r.geometry.relative=!0,r.geometry.offset=new mxPoint(.5*(e-f),.5*(e-f)),r.vertex=!0,w.insert(r));return t.createVertexTemplateFromCells([u],u.geometry.width,u.geometry.height,a)}))};Sidebar.prototype.addIBMCloudZone=function(a,b,d,c,e,f,g,h,k,l,m,n,p,q){var t=this;g=a.replace("\n"," ");g=g.replace("- ","-");c.push(this.addEntry(d+"zone",function(){var v=new mxCell("",new mxGeometry(0,0,220,140),"container=1;collapsible=0;expand=0;recursiveResize=0;html=1;whiteSpace=wrap;strokeColor="+n+";fillColor="+
m+";dashed=1;dashPattern=1 3;strokeWidth="+q);v.vertex=!0;if(p){var u=new mxCell(a,new mxGeometry(0,0,e,e),"shape=rect;fillColor=none;aspect=fixed;resizable=0;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;strokeColor=none;part=1;spacingLeft=-42;fontSize=14;");u.vertex=!0;u.geometry.relative=!0;v.insert(u)}else{u=new mxCell(a,new mxGeometry(0,0,e,e),"shape=rect;fillColor=none;aspect=fixed;resizable=0;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;strokeColor=none;part=1;spacingLeft=5;fontSize=14;");
u.vertex=!0;u.geometry.relative=!0;v.insert(u);var w=new mxCell("",new mxGeometry(0,0,f,f),"fillColor="+k+";shape=mxgraph.ibm_cloud."+b+";strokeColor="+l+";dashed=0;outlineConnect=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;part=1;movable=0;resizable=0;rotatable=0;");w.geometry.relative=!0;w.geometry.offset=new mxPoint(.5*(e-f),.5*(e-f));w.vertex=!0;u.insert(w)}return t.createVertexTemplateFromCells([v],v.geometry.width,v.geometry.height,a)}))}})();(function(){Sidebar.prototype.addInfographicPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;html=1;shape=mxgraph.infographic.",b=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;html=1;shape=mxgraph.basic.";this.setCurrentSearchEntryLibrary("infographic");this.addPaletteFunctions("infographic","Infographic",!1,[this.createVertexTemplateEntry(b+"pie;fillColor=#10739E;strokeColor=none;startAngle=0.2;endAngle=0.9;",
100,100,"","Pie",null,null,this.getTagsForStencil("mxgraph.infographic","pie","").join(" ")),this.createVertexTemplateEntry(b+"arc;strokeColor=#10739E;strokeWidth=6;startAngle=0.3;endAngle=0.1;",100,100,"","Arc",null,null,this.getTagsForStencil("mxgraph.infographic","arc","").join(" ")),this.createVertexTemplateEntry(b+"partConcEllipse;fillColor=#10739E;strokeColor=none;startAngle=0.25;endAngle=0.1;arcWidth=0.5;",100,100,"","Partial Concentric Ellipse",null,null,this.getTagsForStencil("mxgraph.infographic",
@@ -10082,7 +10097,15 @@ this.createVertexTemplateEntry("sketch=0;pointerEvents=1;shadow=0;dashed=0;html=
57,43,"","Users, Two (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.users","users two","office user ").join(" ")),this.createVertexTemplateEntry("sketch=0;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.user_accounts;",59,59,"","User Accounts",null,null,this.getTagsForStencil("mxgraph.office.users","user accounts","office user ").join(" ")),
this.createVertexTemplateEntry("sketch=0;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.user_external;",59,50,"","User External",null,null,this.getTagsForStencil("mxgraph.office.users","user external","office user ").join(" ")),this.createVertexTemplateEntry("sketch=0;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.user_services;",
59,59,"","User Services",null,null,this.getTagsForStencil("mxgraph.office.users","user services","office user ").join(" ")),this.createVertexTemplateEntry("sketch=0;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.user_store;",50,55,"","User Store",null,null,this.getTagsForStencil("mxgraph.office.users","user store","office user ").join(" ")),this.createVertexTemplateEntry("sketch=0;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.writer;",
-54,59,"","Writer",null,null,this.getTagsForStencil("mxgraph.office.users","writer","office user ").join(" "))];this.addPalette("officeUsers","Office / Users",!1,mxUtils.bind(this,function(b){for(var d=0;d<a.length;d++)b.appendChild(a[d](b))}))}})();(function(){Sidebar.prototype.addPidPalette=function(a,b){this.setCurrentSearchEntryLibrary("pid","pidInstruments");this.addPidInstrumentsPalette();this.setCurrentSearchEntryLibrary("pid","pidMisc");this.addPidMiscPalette();this.setCurrentSearchEntryLibrary("pid","pidValves");this.addPidValvesPalette();this.setCurrentSearchEntryLibrary("pid","pidCompressors");this.addPidCompressorsPalette();this.setCurrentSearchEntryLibrary("pid","pidEngines");this.addPidEnginesPalette();this.setCurrentSearchEntryLibrary("pid",
+54,59,"","Writer",null,null,this.getTagsForStencil("mxgraph.office.users","writer","office user ").join(" "))];this.addPalette("officeUsers","Office / Users",!1,mxUtils.bind(this,function(b){for(var d=0;d<a.length;d++)b.appendChild(a[d](b))}))}})();(function(){Sidebar.prototype.addOpenStackPalette=function(){this.setCurrentSearchEntryLibrary("openstack","openstackBlue");this.addOpenStackGenericPalette(50,50,"aspect=fixed;sketch=0;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;outlineConnect=0;verticalAlign=top;align=center;shape=mxgraph.openstack.","mxgraph.openstack","openstack open stack ","3F51B5","Blue");this.setCurrentSearchEntryLibrary("openstack","openstackGrey");this.addOpenStackGenericPalette(50,
+50,"aspect=fixed;sketch=0;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;outlineConnect=0;verticalAlign=top;align=center;shape=mxgraph.openstack.","mxgraph.openstack","openstack open stack ","808080","Grey");this.setCurrentSearchEntryLibrary("openstack","openstackGreen");this.addOpenStackGenericPalette(50,50,"aspect=fixed;sketch=0;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;outlineConnect=0;verticalAlign=top;align=center;shape=mxgraph.openstack.",
+"mxgraph.openstack","openstack open stack ","008000","Green");this.setCurrentSearchEntryLibrary("openstack","openstackRed");this.addOpenStackGenericPalette(50,50,"aspect=fixed;sketch=0;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;outlineConnect=0;verticalAlign=top;align=center;shape=mxgraph.openstack.","mxgraph.openstack","openstack open stack ","C82128","Red");this.setCurrentSearchEntryLibrary()};Sidebar.prototype.addOpenStackGenericPalette=
+function(a,b,d,c,e,f,g){d="fillColor=#"+f+";"+d;e=e+g.toLowerCase()+" ";var h=[this.createVertexTemplateEntry(d+"cinder_volume;",a,b,"","Cinder Volume",null,null,this.getTagsForStencil(c,"cinder volume",e).join(" ")),this.createVertexTemplateEntry(d+"cinder_volumeattachment;",a,b,"","Cinder VolumeAttachment",null,null,this.getTagsForStencil(c,"cinder volumeattachment volume attachment",e).join(" ")),this.createVertexTemplateEntry(d+"designate_recordset;",a,b,"","Designate RecordSet",null,null,this.getTagsForStencil(c,
+"designate recordset record set",e).join(" ")),this.createVertexTemplateEntry(d+"designate_zone;",a,b,"","Designate Zone",null,null,this.getTagsForStencil(c,"designate zone",e).join(" ")),this.createVertexTemplateEntry(d+"heat_autoscalinggroup;",a,b,"","Heat AutoScalingGroup",null,null,this.getTagsForStencil(c,"heat autoscalinggroup auto scaling group autoscaling",e).join(" ")),this.createVertexTemplateEntry(d+"heat_resourcegroup;",a,b,"","Heat ResourceGroup",null,null,this.getTagsForStencil(c,"heat resourcegroup resource group",
+e).join(" ")),this.createVertexTemplateEntry(d+"heat_scalingpolicy;",a,b,"","Heat ScalingPolicy",null,null,this.getTagsForStencil(c,"heat scalingpolicy scaling policy",e).join(" ")),this.createVertexTemplateEntry(d+"neutron_floatingip;",a,b,"","Neutron FloatingIP",null,null,this.getTagsForStencil(c,"neutron floatingip floating ip",e).join(" ")),this.createVertexTemplateEntry(d+"neutron_floatingipassociation;",a,b,"","Neutron FloatingIPAssociation",null,null,this.getTagsForStencil(c,"neutron floatingipassociation floatingip floating ip association",
+e).join(" ")),this.createVertexTemplateEntry(d+"neutron_net;",a,b,"","Neutron Net",null,null,this.getTagsForStencil(c,"neutron net",e).join(" ")),this.createVertexTemplateEntry(d+"neutron_port;",a,b,"","Neutron Port",null,null,this.getTagsForStencil(c,"neutron port",e).join(" ")),this.createVertexTemplateEntry(d+"neutron_router;",a,b,"","Neutron Router",null,null,this.getTagsForStencil(c,"neutron router",e).join(" ")),this.createVertexTemplateEntry(d+"neutron_routerinterface;",a,b,"","Neutron RouterInterface",
+null,null,this.getTagsForStencil(c,"neutron routerinterface router interface",e).join(" ")),this.createVertexTemplateEntry(d+"neutron_securitygroup;",a,b,"","Neutron SecurityGroup",null,null,this.getTagsForStencil(c,"neutron securitygroup security group",e).join(" ")),this.createVertexTemplateEntry(d+"neutron_subnet;",a,b,"","Neutron Subnet",null,null,this.getTagsForStencil(c,"neutron subnet",e).join(" ")),this.createVertexTemplateEntry(d+"nova_keypair;",a,b,"","Nova Keypair",null,null,this.getTagsForStencil(c,
+"nova keypair",e).join(" ")),this.createVertexTemplateEntry(d+"nova_server;",a,b,"","Nova Server",null,null,this.getTagsForStencil(c,"nova server",e).join(" ")),this.createVertexTemplateEntry(d+"swift_container;",a,b,"","Swift Container",null,null,this.getTagsForStencil(c,"swift container",e).join(" "))];this.addPalette("openstack"+g,"OpenStack / "+g,!1,mxUtils.bind(this,function(k){for(var l=0;l<h.length;l++)k.appendChild(h[l](k))}))}})();(function(){Sidebar.prototype.addPidPalette=function(a,b){this.setCurrentSearchEntryLibrary("pid","pidInstruments");this.addPidInstrumentsPalette();this.setCurrentSearchEntryLibrary("pid","pidMisc");this.addPidMiscPalette();this.setCurrentSearchEntryLibrary("pid","pidValves");this.addPidValvesPalette();this.setCurrentSearchEntryLibrary("pid","pidCompressors");this.addPidCompressorsPalette();this.setCurrentSearchEntryLibrary("pid","pidEngines");this.addPidEnginesPalette();this.setCurrentSearchEntryLibrary("pid",
"pidFilters");this.addPidFiltersPalette();this.setCurrentSearchEntryLibrary("pid","pidFlow Sensors");this.addPidFlowSensorsPalette();this.setCurrentSearchEntryLibrary("pid","pidPiping");this.addPidPipingPalette();this.setCurrentSearchEntryLibrary("pid","pidCrushers Grinding");this.addPidCrushersGrindingPalette();this.setCurrentSearchEntryLibrary("pid","pidFittings");this.addPidFittingsPalette();this.setCurrentSearchEntryLibrary("pid","pidFittings");this.addPidSeparatorsPalette();for(var d="Instruments;Misc;Valves;Compressors;Engines;Filters;Flow Sensors;Piping;Crushers Grinding;Fittings;Separators".split(";"),
c=0;c<a.length;c++)0>mxUtils.indexOf(d,a[c])&&(this.setCurrentSearchEntryLibrary("pid","pid"+a[c]),this.addStencilPalette("pid"+a[c],"Proc. Eng. / "+a[c],b+"/pid/"+a[c].toLowerCase().replace(" ","_")+".xml",";html=1;pointerEvents=1;align=center;"+mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;dashed=0;",null,null,null,null,null,"pid"));this.setCurrentSearchEntryLibrary()};Sidebar.prototype.addPidInstrumentsPalette=function(){var a="html=1;outlineConnect=0;align=center;dashed=0;aspect=fixed;"+
mxConstants.STYLE_SHAPE+"=mxgraph.pid2",b="html=1;outlineConnect=0;align=center;dashed=0;"+mxConstants.STYLE_SHAPE+"=mxgraph.pid2";this.addPaletteFunctions("pidInstruments","Proc. Eng. / Instruments",!1,[this.createVertexTemplateEntry(a+"inst.discInst;mounting=room",50,50,'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> ',"Discrete Instrument (control room)",null,null,this.getTagsForStencil("mxgraph.pid2inst",
@@ -10563,19 +10586,18 @@ this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;vert
50*a,50*a,"","Identity Directory",null,null,this.getTagsForStencil(b,"identity directory","sap foundation ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Cloud_Identity_Service",50*a,50*a,"","SAP Cloud Identity Service",null,null,this.getTagsForStencil(b,"identity cloud service",
"sap foundation ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Authorization_Management_Service",50*a,50*a,"","SAP Authorization Management Service",null,null,this.getTagsForStencil(b,"authorization management service","sap foundation ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Automation_Pilot",
50*a,50*a,"","SAP Automation Pilot",null,null,this.getTagsForStencil(b,"automation pilot","sap foundation ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Continuous_Integration_and_Delivery",50*a,50*a,"","SAP Continuous Integration and Delivery",null,null,this.getTagsForStencil(b,
-"continuous integration and delivery","sap foundation ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Cloud_Transport_Management",50*a,50*a,"","SAP Cloud Transport Management",null,null,this.getTagsForStencil(b,"cloud transport management","sap foundation ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=Identity_Provisioning2",
-50*a,50*a,"","Identity Provisioning",null,null,this.getTagsForStencil(b,"identity provisioning","sap foundation ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Private_Link_service",50*a,50*a,"","SAP Private Link service",null,null,this.getTagsForStencil(b,"private link service",
-"sap foundation ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=Identity_Directory",50*a,50*a,"","Identity Directory",null,null,this.getTagsForStencil(b,"identity directory","sap foundation ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=Identity_Provisioning",
-50*a,50*a,"","Identity Provisioning",null,null,this.getTagsForStencil(b,"identity provisioning","sap foundation ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=Identity_Authentication",50*a,50*a,"","Identity Authentication",null,null,this.getTagsForStencil(b,"identity authentication",
-"sap foundation ").join(" "))])};Sidebar.prototype.addSAPIntegrationSuitePalette=function(a,b,d){this.addPaletteFunctions("sapIntegration Suite","SAP / Integration Suite",!1,[this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Integration_Suite_-_Advanced_Event_Mesh",50*a,50*a,"","Advanced Event Mesh",
-null,null,this.getTagsForStencil(b,"advanced event mesh","sap btp service icons integration suite ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Integration_Suite_-_API_Managment",50*a,50*a,"","API Managment",null,null,this.getTagsForStencil(b,"api application programming interface managment",
-"sap btp service icons integration suite ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Integration_Suite_-_Cloud_Integration",50*a,50*a,"","Cloud Integration",null,null,this.getTagsForStencil(b,"cloud integration","sap btp service icons integration suite ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Integration_Suite_-_Data_Space_Integration",
-50*a,50*a,"","Data Space Integration",null,null,this.getTagsForStencil(b,"data space integration","sap btp service icons integration suite ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Integration_Suite_-_Event_Mesh",50*a,50*a,"","Event Mesh",null,null,this.getTagsForStencil(b,
-"event mesh","sap btp service icons integration suite ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Integration_Suite_-_Integration_Advisor",50*a,50*a,"","Integration Advisor",null,null,this.getTagsForStencil(b,"integration advisor","sap btp service icons integration suite ").join(" ")),
-this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Integration_Suite_-_Integration_Assessment",50*a,50*a,"","Integration Assessment",null,null,this.getTagsForStencil(b,"integration assessment","sap btp service icons integration suite ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Integration_Suite_-_Migration_Assessment",
-50*a,50*a,"","Migration Assessment",null,null,this.getTagsForStencil(b,"migration assessment","sap btp service icons integration suite ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Integration_Suite_-_Open_Connectors",50*a,50*a,"","Open Connectors",null,null,this.getTagsForStencil(b,
-"open connectors","sap btp service icons integration suite ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=Edge_Integration_Cell",50*a,50*a,"","Edge Integration Cell",null,null,this.getTagsForStencil(b,"edge integration cell","sap btp service icons integration suite ").join(" ")),
-this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Integration_Suite_-_SAP_Graph",50*a,50*a,"","SAP Graph",null,null,this.getTagsForStencil(b,"graph","sap btp service icons integration suite ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Integration_Suite_-_Trading_Partner_Management",
+"continuous integration and delivery","sap foundation ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Cloud_Transport_Management",50*a,50*a,"","SAP Cloud Transport Management",null,null,this.getTagsForStencil(b,"cloud transport management","sap foundation ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Private_Link_service",
+50*a,50*a,"","SAP Private Link service",null,null,this.getTagsForStencil(b,"private link service","sap foundation ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=Identity_Directory",50*a,50*a,"","Identity Directory",null,null,this.getTagsForStencil(b,"identity directory","sap foundation ").join(" ")),
+this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=Identity_Provisioning",50*a,50*a,"","Identity Provisioning",null,null,this.getTagsForStencil(b,"identity provisioning","sap foundation ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=Identity_Authentication",
+50*a,50*a,"","Identity Authentication",null,null,this.getTagsForStencil(b,"identity authentication","sap foundation ").join(" "))])};Sidebar.prototype.addSAPIntegrationSuitePalette=function(a,b,d){this.addPaletteFunctions("sapIntegration Suite","SAP / Integration Suite",!1,[this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Integration_Suite_-_Advanced_Event_Mesh",
+50*a,50*a,"","Advanced Event Mesh",null,null,this.getTagsForStencil(b,"advanced event mesh","sap btp service icons integration suite ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Integration_Suite_-_API_Managment",50*a,50*a,"","API Managment",null,null,this.getTagsForStencil(b,
+"api application programming interface managment","sap btp service icons integration suite ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Integration_Suite_-_Cloud_Integration",50*a,50*a,"","Cloud Integration",null,null,this.getTagsForStencil(b,"cloud integration","sap btp service icons integration suite ").join(" ")),
+this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Integration_Suite_-_Data_Space_Integration",50*a,50*a,"","Data Space Integration",null,null,this.getTagsForStencil(b,"data space integration","sap btp service icons integration suite ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Integration_Suite_-_Event_Mesh",
+50*a,50*a,"","Event Mesh",null,null,this.getTagsForStencil(b,"event mesh","sap btp service icons integration suite ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Integration_Suite_-_Integration_Advisor",50*a,50*a,"","Integration Advisor",null,null,this.getTagsForStencil(b,"integration advisor",
+"sap btp service icons integration suite ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Integration_Suite_-_Integration_Assessment",50*a,50*a,"","Integration Assessment",null,null,this.getTagsForStencil(b,"integration assessment","sap btp service icons integration suite ").join(" ")),
+this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Integration_Suite_-_Migration_Assessment",50*a,50*a,"","Migration Assessment",null,null,this.getTagsForStencil(b,"migration assessment","sap btp service icons integration suite ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Integration_Suite_-_Open_Connectors",
+50*a,50*a,"","Open Connectors",null,null,this.getTagsForStencil(b,"open connectors","sap btp service icons integration suite ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=Edge_Integration_Cell",50*a,50*a,"","Edge Integration Cell",null,null,this.getTagsForStencil(b,"edge integration cell",
+"sap btp service icons integration suite ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Integration_Suite_-_SAP_Graph",50*a,50*a,"","SAP Graph",null,null,this.getTagsForStencil(b,"graph","sap btp service icons integration suite ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Integration_Suite_-_Trading_Partner_Management",
50*a,50*a,"","Trading Partner Management",null,null,this.getTagsForStencil(b,"trading partner management","sap btp service icons integration suite ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Integration_Suite",50*a,50*a,"","SAP Integration Suite",null,null,this.getTagsForStencil(b,
"integration suite","sap btp service icons integration suite ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=SAP_Business_Accelerator_Hub",50*a,50*a,"","SAP_Business_Accelerator_Hub",null,null,this.getTagsForStencil(b,"business accelerator hub","sap btp service icons integration suite ").join(" ")),
this.createVertexTemplateEntry("shape=mxgraph.sap.icon;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;strokeWidth=1;strokeColor=#D5DADD;fillColor=#EDEFF0;gradientColor=#FCFCFC;gradientDirection=west;aspect=fixed;SAPIcon=API_Business_Hub_Enterprise",50*a,50*a,"","API Business Hub Enterprise",null,null,this.getTagsForStencil(b,"api application programming interface business hub enterprise","sap btp service icons integration suite ").join(" "))])};Sidebar.prototype.addSAPAppDevAutomationPalette=
@@ -12941,7 +12963,7 @@ ChangePageSetup.prototype.execute=function(){null==this.page&&(this.page=this.ui
null!=this.shadowVisible&&(this.page.viewState.shadowVisible=this.shadowVisible)}}else B.apply(this,arguments),null!=this.mathEnabled&&this.mathEnabled!=this.ui.isMathEnabled()&&(this.ui.setMathEnabled(this.mathEnabled),this.mathEnabled=!this.mathEnabled),null!=this.shadowVisible&&this.shadowVisible!=this.ui.editor.graph.shadowVisible&&(this.ui.editor.graph.setShadowVisible(this.shadowVisible),this.shadowVisible=!this.shadowVisible)};Editor.prototype.useCanvasForExport=!1;try{var H=document.createElement("canvas"),
T=new Image;T.onload=function(){try{H.getContext("2d").drawImage(T,0,0);var g=H.toDataURL("image/png");Editor.prototype.useCanvasForExport=null!=g&&6<g.length}catch(p){}};T.src="data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1px" height="1px" version="1.1"><foreignObject pointer-events="all" width="1" height="1"><div xmlns="http://www.w3.org/1999/xhtml"></div></foreignObject></svg>')))}catch(g){}Editor.prototype.useCanvasForExport=
!1})();(function(){var b=new mxObjectCodec(new ChangePageSetup,["ui","previousColor","previousImage","previousFormat"]);b.beforeDecode=function(f,l,d){d.ui=f.ui;return l};b.afterDecode=function(f,l,d){d.previousColor=d.color;d.previousImage=d.image;d.previousFormat=d.format;null!=d.foldingEnabled&&(d.foldingEnabled=!d.foldingEnabled);null!=d.mathEnabled&&(d.mathEnabled=!d.mathEnabled);null!=d.shadowVisible&&(d.shadowVisible=!d.shadowVisible);return d};mxCodecRegistry.register(b)})();
-(function(){var b=new mxObjectCodec(new ChangeGridColor,["ui"]);b.beforeDecode=function(f,l,d){d.ui=f.ui;return l};mxCodecRegistry.register(b)})();(function(){EditorUi.VERSION="24.8.6";EditorUi.compactUi="atlas"!=Editor.currentTheme||window.DRAWIO_PUBLIC_BUILD;Editor.isDarkMode()&&(mxGraphView.prototype.gridColor=mxGraphView.prototype.defaultDarkGridColor);EditorUi.enableLogging="1"!=urlParams.stealth&&"1"!=urlParams.lockdown&&(/.*\.draw\.io$/.test(window.location.hostname)||/.*\.diagrams\.net$/.test(window.location.hostname))&&"https://preprod.diagrams.net/"!=window.location.hostname&&"support.draw.io"!=window.location.hostname;EditorUi.drawHost=
+(function(){var b=new mxObjectCodec(new ChangeGridColor,["ui"]);b.beforeDecode=function(f,l,d){d.ui=f.ui;return l};mxCodecRegistry.register(b)})();(function(){EditorUi.VERSION="24.8.9";EditorUi.compactUi="atlas"!=Editor.currentTheme||window.DRAWIO_PUBLIC_BUILD;Editor.isDarkMode()&&(mxGraphView.prototype.gridColor=mxGraphView.prototype.defaultDarkGridColor);EditorUi.enableLogging="1"!=urlParams.stealth&&"1"!=urlParams.lockdown&&(/.*\.draw\.io$/.test(window.location.hostname)||/.*\.diagrams\.net$/.test(window.location.hostname))&&"https://preprod.diagrams.net/"!=window.location.hostname&&"support.draw.io"!=window.location.hostname;EditorUi.drawHost=
window.DRAWIO_BASE_URL;EditorUi.lightboxHost=window.DRAWIO_LIGHTBOX_URL;EditorUi.lastErrorMessage=null;EditorUi.ignoredAnonymizedChars="\n\t`~!@#$%^&*()_+{}|:\"<>?-=[];'./,\n\t";EditorUi.templateFile=TEMPLATE_PATH+"/index.xml";EditorUi.cacheUrl=window.REALTIME_URL;null==EditorUi.cacheUrl&&"undefined"!==typeof DrawioFile&&(DrawioFile.SYNC="none");Editor.cacheTimeout=1E4;EditorUi.enablePlantUml=EditorUi.enableLogging;EditorUi.isElectronApp=null!=window&&null!=window.process&&null!=window.process.versions&&
null!=window.process.versions.electron;EditorUi.nativeFileSupport=!mxClient.IS_OP&&!EditorUi.isElectronApp&&"1"!=urlParams.extAuth&&"showSaveFilePicker"in window&&"showOpenFilePicker"in window;EditorUi.enableDrafts=!mxClient.IS_CHROMEAPP&&isLocalStorage&&"0"!=urlParams.drafts;EditorUi.scratchpadHelpLink="https://www.drawio.com/doc/faq/scratchpad";EditorUi.enableHtmlEditOption=!0;EditorUi.mermaidDiagramTypes="flowchart classDiagram sequenceDiagram stateDiagram mindmap graph erDiagram requirementDiagram journey gantt pie gitGraph".split(" ");
EditorUi.defaultMermaidConfig={theme:"neutral",arrowMarkerAbsolute:!1,flowchart:{htmlLabels:!1},sequence:{diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,mirrorActors:!0,bottomMarginAdj:1,useMaxWidth:!0,rightAngles:!1,showSequenceNumbers:!1},gantt:{titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,leftPadding:75,gridLineStartPadding:35,fontSize:11,fontFamily:'"Open-Sans", "sans-serif"',numberSectionStyles:4,axisFormat:"%Y-%m-%d"}};
@@ -21503,14 +21525,14 @@ mxRackRackCabinet2.prototype.paintVertexShape=function(a,d,e,b,c){var f=parseFlo
mxRackRackCabinet2.prototype.foreground=function(a,d,e){var b=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"#f4f4f4");a.setFillColor(b);a.rect(0,0,d,21);a.fillAndStroke();a.rect(0,e-21,d,21);a.fillAndStroke();a.rect(0,21,9,e-42);a.fillAndStroke();a.rect(d-9,21,9,e-42);a.fillAndStroke();a.ellipse(2.5,7.5,6,6);a.stroke();a.ellipse(d-8.5,7.5,6,6);a.stroke();a.ellipse(2.5,e-13.5,6,6);a.stroke();a.ellipse(d-8.5,e-13.5,6,6);a.stroke()};
mxRackRackCabinet2.prototype.sideText=function(a,d,e,b,c,f){var g=mxUtils.getValue(this.style,mxRackRackCabinet2.prototype.cst.TEXT_COLOR,"#666666"),h=mxUtils.getValue(this.style,"startUnit",1);a.setFontSize(c);a.setFontColor(g);if(f===mxRackRackCabinet2.prototype.cst.DIR_ASC)for(f=0;f<e;f++)a.text(-c,21+.5*b+f*b,0,0,(f+h).toString(),mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);else if(f===mxRackRackCabinet2.prototype.cst.DIR_DESC||f===mxRackRackCabinet2.prototype.cst.DIR_ON)for(f=
0;f<e;f++)a.text(-c,d-21-.5*b-f*b,0,0,(f+h).toString(),mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.setStrokeColor(g);a.begin();for(f=0;f<e+1;f++)a.moveTo(-2*c,21+f*b),a.lineTo(0,21+f*b);a.stroke()};function mxRackRackCabinet3(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxRackRackCabinet3,mxShape);
-mxRackRackCabinet3.prototype.cst={SHAPE_RACK_RACK_CABINET:"mxgraph.rackGeneral.rackCabinet3",UNIT_NUM:"unitNum",UNIT_HEIGHT:"rackUnitSize",TEXT_COLOR:"textColor",NUM_DIR:"numDir",NUMBER_DISPLAY:"numDisp",ON:"on",OFF:"off",DIR_ASC:"ascend",DIR_DESC:"descend",TEXT_SIZE:"textSize"};
-mxRackRackCabinet3.prototype.customProperties=[{name:"startUnit",dispName:"Starting unit",type:"int",defVal:1},{name:"rackUnitSize",dispName:"Unit height",type:"float",defVal:14.8},{name:"fillColor2",dispName:"Panel Color",type:"color",defVal:"#ffffff"},{name:"textColor",dispName:"Number text color",type:"color",defVal:"#666666"},{name:"textSize",dispName:"Text size",type:"float",defVal:"12"},{name:"numDisp",dispName:"Display Numbers",type:"enum",defVal:"descend",enumList:[{val:"off",dispName:"Off"},
-{val:"ascend",dispName:"Ascending"},{val:"descend",dispName:"Descending"}],onChange:function(a,d){a.setCellStyles("marginLeft","off"==d?9:33,a.getSelectionCells())}}];
-mxRackRackCabinet3.prototype.paintVertexShape=function(a,d,e,b,c){var f=parseFloat(mxUtils.getValue(this.style,mxRackRackCabinet3.prototype.cst.UNIT_HEIGHT,"14.8")),g=Math.round((c-42)/f),h=parseFloat(mxUtils.getValue(this.style,mxRackRackCabinet3.prototype.cst.TEXT_SIZE,"12")),k=mxUtils.getValue(this.style,mxRackRackCabinet3.prototype.cst.NUMBER_DISPLAY,mxRackRackCabinet3.prototype.cst.ON);k!==mxRackRackCabinet3.prototype.cst.OFF?(a.translate(d+2*h,e),b-=2*h):a.translate(d,e);c=g*f+42;this.background(a,
-b,c);a.setShadow(!1);this.foreground(a,b,c);k!==mxRackRackCabinet3.prototype.cst.OFF&&this.sideText(a,c,g,f,h,k)};mxRackRackCabinet3.prototype.background=function(a,d,e){var b=mxUtils.getValue(this.style,"fillColor2","#ffffff");a.setFillColor(b);a.rect(0,0,d,e);a.fillAndStroke()};
+mxRackRackCabinet3.prototype.cst={SHAPE_RACK_RACK_CABINET:"mxgraph.rackGeneral.rackCabinet3",UNIT_NUM:"unitNum",UNIT_HEIGHT:"rackUnitSize",UNIT_DIR_LEFT:"rackUnitDirLeft",TEXT_COLOR:"textColor",NUM_DIR:"numDir",NUMBER_DISPLAY:"numDisp",ON:"on",OFF:"off",DIR_ASC:"ascend",DIR_DESC:"descend",TEXT_SIZE:"textSize"};
+mxRackRackCabinet3.prototype.customProperties=[{name:"startUnit",dispName:"Starting unit",type:"int",defVal:1},{name:"rackUnitDirLeft",dispName:"Numbering on left",type:"boolean",defVal:!0},{name:"rackUnitSize",dispName:"Unit height",type:"float",defVal:14.8},{name:"fillColor2",dispName:"Panel Color",type:"color",defVal:"#ffffff"},{name:"textColor",dispName:"Number text color",type:"color",defVal:"#666666"},{name:"textSize",dispName:"Text size",type:"float",defVal:"12"},{name:"numDisp",dispName:"Display Numbers",
+type:"enum",defVal:"descend",enumList:[{val:"off",dispName:"Off"},{val:"ascend",dispName:"Ascending"},{val:"descend",dispName:"Descending"}],onChange:function(a,d){a.setCellStyles("marginLeft","off"==d?9:33,a.getSelectionCells())}}];
+mxRackRackCabinet3.prototype.paintVertexShape=function(a,d,e,b,c){var f=parseFloat(mxUtils.getValue(this.style,mxRackRackCabinet3.prototype.cst.UNIT_HEIGHT,"14.8")),g=Math.round((c-42)/f),h=parseFloat(mxUtils.getValue(this.style,mxRackRackCabinet3.prototype.cst.TEXT_SIZE,"12")),k=mxUtils.getValue(this.style,mxRackRackCabinet3.prototype.cst.NUMBER_DISPLAY,mxRackRackCabinet3.prototype.cst.ON),l=mxUtils.getValue(this.style,mxRackRackCabinet3.prototype.cst.UNIT_DIR_LEFT,!0);k!==mxRackRackCabinet3.prototype.cst.OFF?
+(l?a.translate(d+2*h,e):a.translate(d,e),b-=2*h):a.translate(d,e);c=g*f+42;this.background(a,b,c);a.setShadow(!1);this.foreground(a,b,c);k!==mxRackRackCabinet3.prototype.cst.OFF&&this.sideText(a,c,b,g,f,h,k,l)};mxRackRackCabinet3.prototype.background=function(a,d,e){var b=mxUtils.getValue(this.style,"fillColor2","#ffffff");a.setFillColor(b);a.rect(0,0,d,e);a.fillAndStroke()};
mxRackRackCabinet3.prototype.foreground=function(a,d,e){var b=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"#f4f4f4");a.setFillColor(b);a.rect(0,0,d,21);a.fillAndStroke();a.rect(0,e-21,d,21);a.fillAndStroke();a.rect(0,21,9,e-42);a.fillAndStroke();a.rect(d-9,21,9,e-42);a.fillAndStroke();a.ellipse(2.5,7.5,6,6);a.stroke();a.ellipse(d-8.5,7.5,6,6);a.stroke();a.ellipse(2.5,e-13.5,6,6);a.stroke();a.ellipse(d-8.5,e-13.5,6,6);a.stroke()};
-mxRackRackCabinet3.prototype.sideText=function(a,d,e,b,c,f){var g=mxUtils.getValue(this.style,mxRackRackCabinet3.prototype.cst.TEXT_COLOR,"#666666"),h=mxUtils.getValue(this.style,"startUnit",1);a.setFontSize(c);a.setFontColor(g);if(f===mxRackRackCabinet3.prototype.cst.DIR_ASC)for(f=0;f<e;f++)a.text(-c,21+.5*b+f*b,0,0,(f+h).toString(),mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);else if(f===mxRackRackCabinet3.prototype.cst.DIR_DESC||f===mxRackRackCabinet3.prototype.cst.DIR_ON)for(f=
-0;f<e;f++)a.text(-c,d-21-.5*b-f*b,0,0,(f+h).toString(),mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.setStrokeColor(g);a.begin();for(f=0;f<e+1;f++)a.moveTo(-2*c,21+f*b),a.lineTo(0,21+f*b);a.stroke()};function mxRackHorCableDuct1U(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxRackHorCableDuct1U,mxShape);mxRackHorCableDuct1U.prototype.cst={SHAPE_RACK_HOR_CABLE_DUCT_1U:"mxgraph.rackGeneral.horCableDuct1U"};
+mxRackRackCabinet3.prototype.sideText=function(a,d,e,b,c,f,g,h){var k=mxUtils.getValue(this.style,mxRackRackCabinet3.prototype.cst.TEXT_COLOR,"#666666"),l=mxUtils.getValue(this.style,"startUnit",1);a.setFontSize(f);a.setFontColor(k);var m=0;h||(m=e+2*f);if(g===mxRackRackCabinet3.prototype.cst.DIR_ASC)for(e=0;e<b;e++)a.text(m-f,21+.5*c+e*c,0,0,(e+l).toString(),mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);else if(g===mxRackRackCabinet3.prototype.cst.DIR_DESC||g===mxRackRackCabinet3.prototype.cst.DIR_ON)for(e=
+0;e<b;e++)a.text(m-f,d-21-.5*c-e*c,0,0,(e+l).toString(),mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.setStrokeColor(k);a.begin();for(e=0;e<b+1;e++)a.moveTo(m-2*f,21+e*c),a.lineTo(m,21+e*c);a.stroke()};function mxRackHorCableDuct1U(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxRackHorCableDuct1U,mxShape);mxRackHorCableDuct1U.prototype.cst={SHAPE_RACK_HOR_CABLE_DUCT_1U:"mxgraph.rackGeneral.horCableDuct1U"};
mxRackHorCableDuct1U.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,b,c);a.setShadow(!1);this.foreground(a,b,c)};mxRackHorCableDuct1U.prototype.background=function(a,d,e){a.rect(0,0,160.9,14.8);a.fillAndStroke()};
mxRackHorCableDuct1U.prototype.foreground=function(a,d,e){a.rect(12,0,3,7);a.stroke();a.rect(12,7,3,7.8);a.stroke();a.rect(45.5,0,3,7);a.stroke();a.rect(45.5,7,3,7.8);a.stroke();a.rect(79,0,3,7);a.stroke();a.rect(79,7,3,7.8);a.stroke();a.rect(112.5,0,3,7);a.stroke();a.rect(112.5,7,3,7.8);a.stroke();a.rect(146,0,3,7);a.stroke();a.rect(146,7,3,7.8);a.stroke()};function mxRackHorCableDuct2U(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}
mxUtils.extend(mxRackHorCableDuct2U,mxShape);mxRackHorCableDuct2U.prototype.cst={SHAPE_RACK_HOR_CABLE_DUCT_2U:"mxgraph.rackGeneral.horCableDuct2U"};mxRackHorCableDuct2U.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,b,c);a.setShadow(!1);this.foreground(a,b,c)};mxRackHorCableDuct2U.prototype.background=function(a,d,e){a.rect(0,0,160.9,29.6);a.fillAndStroke()};
@@ -21566,6 +21588,7 @@ f['electrical/electro-mechanical.xml'] = '7V1Zb9w4Ev4rQu9zZJ6iBCQBdicziwEyM8Y4QJ
f['lean_mapping.xml'] = '7Vtbb9s2FP4rgt7D8CaRBJIA25AWw9ota4HtcVAcJdYqS4Zs57JfP14VUaFlyY2KZehDE4Xk+chz5eEhe7ZZZut8E1XZKj+PV4/vm2y9BGWeVX+tsvW6qO7iizM9xg55V1TFZpnfRO/r+mYTbevop91mW6/yJo6W5zGBcfRwHgsWR9lmnS+25/F91hTZdZnH0Wbb1F/yh+JmK0cW1TJviq2EX9RVJUcWdbXRf8hhWVFto8fzWKI9yZ8giaO1HL3Kt3mjW81i/oxP+xRomOJSUZx6M15niy93Tb2rbi7O1tl2eXG2qu/z59kTRVIWlW5idG8b7LYpAcg2FBpIYKAReyNhp21R1ptcrdos7rS73tu6ydvvoiyNhNXgbs+pVqCvx/d19DnPo6umvtlpSUSfF1Ktu1KpXGkyESBlRpn4lZQJSGIlFdTNrwF1QsC51ShEe8guA2SWho03HCjZTQ6QhWYCCBtVh0k+B6dKkkGagJV29elbKRLGqojSl6TLmkXUqHapvUZZkTSwx5PssdicNPU2U3h6rjJr7vITOfrktszudNPmIc/X9k+5NglCiQ9ujbC1s7wsi/Wma7Ot2WDsIsJpzzg7RHQ8lc91klpfsgtr3Sl1CiEgCS7Zx2EWpye8FKTciI8DlH6FALmPP7wYngCrTEA9roS1sWQUDAXGZwgGxIPBDBggPAoHMztY+KJhTjLp10iGeOjDKyGpFQy2SnUcUUluepDkOoh0M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JlLmjClTXqjkQiBlImXOgTI/Hzb5DlkTWRO/7kTanDNtLhYvBa408XTtLGjzz7t3n5E0kTSRNJE050yaF1d0Uf8TaSRNJM0nJs3yFrSiugPtbbZb5/dF8Ca/T/fLTbrd4l0ZeBEanMI0L194ERreloEXoeEdHHgR2tSTbnh7B97e8QS3d4hyqtTlwj+rGyMa/JLBrH1wu+R73y4Z4kMvC9lg1txNpEo09GxWKbCAJq6gbYprMnGropnBEmzOq6J8K20Wd0CNt236w4b7U+5lPDT02Oe5nniPU6soSeLVfvBQl9suj2BompqAglC4yXGGTkKwN9Fb5qioyj11jHcacDSAi0bbKrDjV9Fuf4EIIyB8vM/ajSe38o7skAA1opkuPkG1E0zD8V0m6IcC3qNR5WbIRivwIR0FXg86g2O91I4et7aEt+po0dEe2GZiutuHtilmlrGgwNrwQRzHzrPFQGgMtNI24uPqtN4x3zcjrOcY4aNm5fjp+gWCPrBkfGIEJleURC81SBuxrY4cHwizcqorduW6oRUwTfw8H1v/sMmXJkrQmGlTgfBagTXWWQNYeONRiMSGgyYwVVEv8spFyrCGWRwn073V+9+r9QVNs+Htw+h5/AXkYkZAgG32CuZDMH2lk4zabWHY68rrqk3GvgYVR4GGBR4ttQLhTyab02TfcEqfDXmPRrP76ltoHhtEMfRYuZHujZGfYUWbK2AqkbKPYdz1YZNZEuChbbuXW1wb1O5K+Zjocbuqj11g3pcgtT0e94ayFTwp2YjHX5FZxs/dycvW+nfx/D8=';
diff --git a/src/main/webapp/js/sanitizer/purify.min.js b/src/main/webapp/js/sanitizer/purify.min.js
index 2ac5c0297..f29858944 100644
--- a/src/main/webapp/js/sanitizer/purify.min.js
+++ b/src/main/webapp/js/sanitizer/purify.min.js
@@ -1,2 +1,2 @@
-/*! @license DOMPurify 3.1.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.5/LICENSE */
-!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).DOMPurify=t()}(this,(function(){"use strict";const{entries:e,setPrototypeOf:t,isFrozen:n,getPrototypeOf:o,getOwnPropertyDescriptor:r}=Object;let{freeze:i,seal:a,create:l}=Object,{apply:c,construct:s}="undefined"!=typeof Reflect&&Reflect;i||(i=function(e){return e}),a||(a=function(e){return e}),c||(c=function(e,t,n){return e.apply(t,n)}),s||(s=function(e,t){return new e(...t)});const u=b(Array.prototype.forEach),m=b(Array.prototype.pop),p=b(Array.prototype.push),f=b(String.prototype.toLowerCase),d=b(String.prototype.toString),h=b(String.prototype.match),g=b(String.prototype.replace),T=b(String.prototype.indexOf),y=b(String.prototype.trim),E=b(Object.prototype.hasOwnProperty),_=b(RegExp.prototype.test),A=(N=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return s(N,t)});var N;function b(e){return function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return c(e,t,o)}}function S(e,o){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f;t&&t(e,null);let i=o.length;for(;i--;){let t=o[i];if("string"==typeof t){const e=r(t);e!==t&&(n(o)||(o[i]=e),t=e)}e[t]=!0}return e}function R(e){for(let t=0;t<e.length;t++){E(e,t)||(e[t]=null)}return e}function w(t){const n=l(null);for(const[o,r]of e(t)){E(t,o)&&(Array.isArray(r)?n[o]=R(r):r&&"object"==typeof r&&r.constructor===Object?n[o]=w(r):n[o]=r)}return n}function C(e,t){for(;null!==e;){const n=r(e,t);if(n){if(n.get)return b(n.get);if("function"==typeof n.value)return b(n.value)}e=o(e)}return function(){return null}}const L=i(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),D=i(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),v=i(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),O=i(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),x=i(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),k=i(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),M=i(["#text"]),I=i(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),U=i(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),P=i(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),F=i(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),H=a(/\{\{[\w\W]*|[\w\W]*\}\}/gm),z=a(/<%[\w\W]*|[\w\W]*%>/gm),B=a(/\${[\w\W]*}/gm),W=a(/^data-[\-\w.\u00B7-\uFFFF]/),G=a(/^aria-[\-\w]+$/),Y=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),j=a(/^(?:\w+script|data):/i),X=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),q=a(/^html$/i),$=a(/^[a-z][.\w]*(-[.\w]+)+$/i);var K=Object.freeze({__proto__:null,MUSTACHE_EXPR:H,ERB_EXPR:z,TMPLIT_EXPR:B,DATA_ATTR:W,ARIA_ATTR:G,IS_ALLOWED_URI:Y,IS_SCRIPT_OR_DATA:j,ATTR_WHITESPACE:X,DOCTYPE_NAME:q,CUSTOM_ELEMENT:$});const V=1,Z=3,J=7,Q=8,ee=9,te=function(){return"undefined"==typeof window?null:window},ne=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const o="data-tt-policy-suffix";t&&t.hasAttribute(o)&&(n=t.getAttribute(o));const r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}};var oe=function t(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:te();const o=e=>t(e);if(o.version="3.1.5",o.removed=[],!n||!n.document||n.document.nodeType!==ee)return o.isSupported=!1,o;let{document:r}=n;const a=r,c=a.currentScript,{DocumentFragment:s,HTMLTemplateElement:N,Node:b,Element:R,NodeFilter:H,NamedNodeMap:z=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:B,DOMParser:W,trustedTypes:G}=n,j=R.prototype,X=C(j,"cloneNode"),$=C(j,"nextSibling"),oe=C(j,"childNodes"),re=C(j,"parentNode");if("function"==typeof N){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let ie,ae="";const{implementation:le,createNodeIterator:ce,createDocumentFragment:se,getElementsByTagName:ue}=r,{importNode:me}=a;let pe={};o.isSupported="function"==typeof e&&"function"==typeof re&&le&&void 0!==le.createHTMLDocument;const{MUSTACHE_EXPR:fe,ERB_EXPR:de,TMPLIT_EXPR:he,DATA_ATTR:ge,ARIA_ATTR:Te,IS_SCRIPT_OR_DATA:ye,ATTR_WHITESPACE:Ee,CUSTOM_ELEMENT:_e}=K;let{IS_ALLOWED_URI:Ae}=K,Ne=null;const be=S({},[...L,...D,...v,...x,...M]);let Se=null;const Re=S({},[...I,...U,...P,...F]);let we=Object.seal(l(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}})),Ce=null,Le=null,De=!0,ve=!0,Oe=!1,xe=!0,ke=!1,Me=!0,Ie=!1,Ue=!1,Pe=!1,Fe=!1,He=!1,ze=!1,Be=!0,We=!1;const Ge="user-content-";let Ye=!0,je=!1,Xe={},qe=null;const $e=S({},["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 Ke=null;const Ve=S({},["audio","video","img","source","image","track"]);let Ze=null;const Je=S({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Qe="http://www.w3.org/1998/Math/MathML",et="http://www.w3.org/2000/svg",tt="http://www.w3.org/1999/xhtml";let nt=tt,ot=!1,rt=null;const it=S({},[Qe,et,tt],d);let at=null;const lt=["application/xhtml+xml","text/html"],ct="text/html";let st=null,ut=null;const mt=r.createElement("form"),pt=function(e){return e instanceof RegExp||e instanceof Function},ft=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!ut||ut!==e){if(e&&"object"==typeof e||(e={}),e=w(e),at=-1===lt.indexOf(e.PARSER_MEDIA_TYPE)?ct:e.PARSER_MEDIA_TYPE,st="application/xhtml+xml"===at?d:f,Ne=E(e,"ALLOWED_TAGS")?S({},e.ALLOWED_TAGS,st):be,Se=E(e,"ALLOWED_ATTR")?S({},e.ALLOWED_ATTR,st):Re,rt=E(e,"ALLOWED_NAMESPACES")?S({},e.ALLOWED_NAMESPACES,d):it,Ze=E(e,"ADD_URI_SAFE_ATTR")?S(w(Je),e.ADD_URI_SAFE_ATTR,st):Je,Ke=E(e,"ADD_DATA_URI_TAGS")?S(w(Ve),e.ADD_DATA_URI_TAGS,st):Ve,qe=E(e,"FORBID_CONTENTS")?S({},e.FORBID_CONTENTS,st):$e,Ce=E(e,"FORBID_TAGS")?S({},e.FORBID_TAGS,st):{},Le=E(e,"FORBID_ATTR")?S({},e.FORBID_ATTR,st):{},Xe=!!E(e,"USE_PROFILES")&&e.USE_PROFILES,De=!1!==e.ALLOW_ARIA_ATTR,ve=!1!==e.ALLOW_DATA_ATTR,Oe=e.ALLOW_UNKNOWN_PROTOCOLS||!1,xe=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,ke=e.SAFE_FOR_TEMPLATES||!1,Me=!1!==e.SAFE_FOR_XML,Ie=e.WHOLE_DOCUMENT||!1,Fe=e.RETURN_DOM||!1,He=e.RETURN_DOM_FRAGMENT||!1,ze=e.RETURN_TRUSTED_TYPE||!1,Pe=e.FORCE_BODY||!1,Be=!1!==e.SANITIZE_DOM,We=e.SANITIZE_NAMED_PROPS||!1,Ye=!1!==e.KEEP_CONTENT,je=e.IN_PLACE||!1,Ae=e.ALLOWED_URI_REGEXP||Y,nt=e.NAMESPACE||tt,we=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&pt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(we.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&pt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(we.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(we.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ke&&(ve=!1),He&&(Fe=!0),Xe&&(Ne=S({},M),Se=[],!0===Xe.html&&(S(Ne,L),S(Se,I)),!0===Xe.svg&&(S(Ne,D),S(Se,U),S(Se,F)),!0===Xe.svgFilters&&(S(Ne,v),S(Se,U),S(Se,F)),!0===Xe.mathMl&&(S(Ne,x),S(Se,P),S(Se,F))),e.ADD_TAGS&&(Ne===be&&(Ne=w(Ne)),S(Ne,e.ADD_TAGS,st)),e.ADD_ATTR&&(Se===Re&&(Se=w(Se)),S(Se,e.ADD_ATTR,st)),e.ADD_URI_SAFE_ATTR&&S(Ze,e.ADD_URI_SAFE_ATTR,st),e.FORBID_CONTENTS&&(qe===$e&&(qe=w(qe)),S(qe,e.FORBID_CONTENTS,st)),Ye&&(Ne["#text"]=!0),Ie&&S(Ne,["html","head","body"]),Ne.table&&(S(Ne,["tbody"]),delete Ce.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ie=e.TRUSTED_TYPES_POLICY,ae=ie.createHTML("")}else void 0===ie&&(ie=ne(G,c)),null!==ie&&"string"==typeof ae&&(ae=ie.createHTML(""));i&&i(e),ut=e}},dt=S({},["mi","mo","mn","ms","mtext"]),ht=S({},["foreignobject","annotation-xml"]),gt=S({},["title","style","font","a","script"]),Tt=S({},[...D,...v,...O]),yt=S({},[...x,...k]),Et=function(e){let t=re(e);t&&t.tagName||(t={namespaceURI:nt,tagName:"template"});const n=f(e.tagName),o=f(t.tagName);return!!rt[e.namespaceURI]&&(e.namespaceURI===et?t.namespaceURI===tt?"svg"===n:t.namespaceURI===Qe?"svg"===n&&("annotation-xml"===o||dt[o]):Boolean(Tt[n]):e.namespaceURI===Qe?t.namespaceURI===tt?"math"===n:t.namespaceURI===et?"math"===n&&ht[o]:Boolean(yt[n]):e.namespaceURI===tt?!(t.namespaceURI===et&&!ht[o])&&(!(t.namespaceURI===Qe&&!dt[o])&&(!yt[n]&&(gt[n]||!Tt[n]))):!("application/xhtml+xml"!==at||!rt[e.namespaceURI]))},_t=function(e){p(o.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.remove()}},At=function(e,t){try{p(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){p(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!Se[e])if(Fe||He)try{_t(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Nt=function(e){let t=null,n=null;if(Pe)e="<remove></remove>"+e;else{const t=h(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===at&&nt===tt&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const o=ie?ie.createHTML(e):e;if(nt===tt)try{t=(new W).parseFromString(o,at)}catch(e){}if(!t||!t.documentElement){t=le.createDocument(nt,"template",null);try{t.documentElement.innerHTML=ot?ae:o}catch(e){}}const i=t.body||t.documentElement;return e&&n&&i.insertBefore(r.createTextNode(n),i.childNodes[0]||null),nt===tt?ue.call(t,Ie?"html":"body")[0]:Ie?t.documentElement:i},bt=function(e){return ce.call(e.ownerDocument||e,e,H.SHOW_ELEMENT|H.SHOW_COMMENT|H.SHOW_TEXT|H.SHOW_PROCESSING_INSTRUCTION|H.SHOW_CDATA_SECTION,null)},St=function(e){return e instanceof B&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof z)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Rt=function(e){return"function"==typeof b&&e instanceof b},wt=function(e,t,n){pe[e]&&u(pe[e],(e=>{e.call(o,t,n,ut)}))},Ct=function(e){let t=null;if(wt("beforeSanitizeElements",e,null),St(e))return _t(e),!0;const n=st(e.nodeName);if(wt("uponSanitizeElement",e,{tagName:n,allowedTags:Ne}),e.hasChildNodes()&&!Rt(e.firstElementChild)&&_(/<[/\w]/g,e.innerHTML)&&_(/<[/\w]/g,e.textContent))return _t(e),!0;if(e.nodeType===J)return _t(e),!0;if(Me&&e.nodeType===Q&&_(/<[/\w]/g,e.data))return _t(e),!0;if(!Ne[n]||Ce[n]){if(!Ce[n]&&Dt(n)){if(we.tagNameCheck instanceof RegExp&&_(we.tagNameCheck,n))return!1;if(we.tagNameCheck instanceof Function&&we.tagNameCheck(n))return!1}if(Ye&&!qe[n]){const t=re(e)||e.parentNode,n=oe(e)||e.childNodes;if(n&&t){for(let o=n.length-1;o>=0;--o){const r=X(n[o],!0);r.__removalCount=(e.__removalCount||0)+1,t.insertBefore(r,$(e))}}}return _t(e),!0}return e instanceof R&&!Et(e)?(_t(e),!0):"noscript"!==n&&"noembed"!==n&&"noframes"!==n||!_(/<\/no(script|embed|frames)/i,e.innerHTML)?(ke&&e.nodeType===Z&&(t=e.textContent,u([fe,de,he],(e=>{t=g(t,e," ")})),e.textContent!==t&&(p(o.removed,{element:e.cloneNode()}),e.textContent=t)),wt("afterSanitizeElements",e,null),!1):(_t(e),!0)},Lt=function(e,t,n){if(Be&&("id"===t||"name"===t)&&(n in r||n in mt))return!1;if(ve&&!Le[t]&&_(ge,t));else if(De&&_(Te,t));else if(!Se[t]||Le[t]){if(!(Dt(e)&&(we.tagNameCheck instanceof RegExp&&_(we.tagNameCheck,e)||we.tagNameCheck instanceof Function&&we.tagNameCheck(e))&&(we.attributeNameCheck instanceof RegExp&&_(we.attributeNameCheck,t)||we.attributeNameCheck instanceof Function&&we.attributeNameCheck(t))||"is"===t&&we.allowCustomizedBuiltInElements&&(we.tagNameCheck instanceof RegExp&&_(we.tagNameCheck,n)||we.tagNameCheck instanceof Function&&we.tagNameCheck(n))))return!1}else if(Ze[t]);else if(_(Ae,g(n,Ee,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==T(n,"data:")||!Ke[e]){if(Oe&&!_(ye,g(n,Ee,"")));else if(n)return!1}else;return!0},Dt=function(e){return"annotation-xml"!==e&&h(e,_e)},vt=function(e){wt("beforeSanitizeAttributes",e,null);const{attributes:t}=e;if(!t)return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Se};let r=t.length;for(;r--;){const i=t[r],{name:a,namespaceURI:l,value:c}=i,s=st(a);let p="value"===a?c:y(c);if(n.attrName=s,n.attrValue=p,n.keepAttr=!0,n.forceKeepAttr=void 0,wt("uponSanitizeAttribute",e,n),p=n.attrValue,n.forceKeepAttr)continue;if(At(a,e),!n.keepAttr)continue;if(!xe&&_(/\/>/i,p)){At(a,e);continue}if(Me&&_(/((--!?|])>)|<\/(style|title)/i,p)){At(a,e);continue}ke&&u([fe,de,he],(e=>{p=g(p,e," ")}));const f=st(e.nodeName);if(Lt(f,s,p)){if(!We||"id"!==s&&"name"!==s||(At(a,e),p=Ge+p),ie&&"object"==typeof G&&"function"==typeof G.getAttributeType)if(l);else switch(G.getAttributeType(f,s)){case"TrustedHTML":p=ie.createHTML(p);break;case"TrustedScriptURL":p=ie.createScriptURL(p)}try{l?e.setAttributeNS(l,a,p):e.setAttribute(a,p),St(e)?_t(e):m(o.removed)}catch(e){}}}wt("afterSanitizeAttributes",e,null)},Ot=function e(t){let n=null;const o=bt(t);for(wt("beforeSanitizeShadowDOM",t,null);n=o.nextNode();)wt("uponSanitizeShadowNode",n,null),Ct(n)||(n.content instanceof s&&e(n.content),vt(n));wt("afterSanitizeShadowDOM",t,null)};return o.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,r=null,i=null,l=null;if(ot=!e,ot&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Rt(e)){if("function"!=typeof e.toString)throw A("toString is not a function");if("string"!=typeof(e=e.toString()))throw A("dirty is not a string, aborting")}if(!o.isSupported)return e;if(Ue||ft(t),o.removed=[],"string"==typeof e&&(je=!1),je){if(e.nodeName){const t=st(e.nodeName);if(!Ne[t]||Ce[t])throw A("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof b)n=Nt("\x3c!----\x3e"),r=n.ownerDocument.importNode(e,!0),r.nodeType===V&&"BODY"===r.nodeName||"HTML"===r.nodeName?n=r:n.appendChild(r);else{if(!Fe&&!ke&&!Ie&&-1===e.indexOf("<"))return ie&&ze?ie.createHTML(e):e;if(n=Nt(e),!n)return Fe?null:ze?ae:""}n&&Pe&&_t(n.firstChild);const c=bt(je?e:n);for(;i=c.nextNode();)Ct(i)||(i.content instanceof s&&Ot(i.content),vt(i));if(je)return e;if(Fe){if(He)for(l=se.call(n.ownerDocument);n.firstChild;)l.appendChild(n.firstChild);else l=n;return(Se.shadowroot||Se.shadowrootmode)&&(l=me.call(a,l,!0)),l}let m=Ie?n.outerHTML:n.innerHTML;return Ie&&Ne["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&_(q,n.ownerDocument.doctype.name)&&(m="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+m),ke&&u([fe,de,he],(e=>{m=g(m,e," ")})),ie&&ze?ie.createHTML(m):m},o.setConfig=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};ft(e),Ue=!0},o.clearConfig=function(){ut=null,Ue=!1},o.isValidAttribute=function(e,t,n){ut||ft({});const o=st(e),r=st(t);return Lt(o,r,n)},o.addHook=function(e,t){"function"==typeof t&&(pe[e]=pe[e]||[],p(pe[e],t))},o.removeHook=function(e){if(pe[e])return m(pe[e])},o.removeHooks=function(e){pe[e]&&(pe[e]=[])},o.removeAllHooks=function(){pe={}},o}();return oe}));
+/*! @license DOMPurify 3.2.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.1/LICENSE */
+!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).DOMPurify=t()}(this,(function(){"use strict";const{entries:e,setPrototypeOf:t,isFrozen:n,getPrototypeOf:o,getOwnPropertyDescriptor:r}=Object;let{freeze:i,seal:a,create:l}=Object,{apply:c,construct:s}="undefined"!=typeof Reflect&&Reflect;i||(i=function(e){return e}),a||(a=function(e){return e}),c||(c=function(e,t,n){return e.apply(t,n)}),s||(s=function(e,t){return new e(...t)});const u=b(Array.prototype.forEach),m=b(Array.prototype.pop),p=b(Array.prototype.push),f=b(String.prototype.toLowerCase),d=b(String.prototype.toString),h=b(String.prototype.match),g=b(String.prototype.replace),T=b(String.prototype.indexOf),y=b(String.prototype.trim),E=b(Object.prototype.hasOwnProperty),_=b(RegExp.prototype.test),A=(N=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return s(N,t)});var N;function b(e){return function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return c(e,t,o)}}function S(e,o){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f;t&&t(e,null);let i=o.length;for(;i--;){let t=o[i];if("string"==typeof t){const e=r(t);e!==t&&(n(o)||(o[i]=e),t=e)}e[t]=!0}return e}function R(e){for(let t=0;t<e.length;t++){E(e,t)||(e[t]=null)}return e}function w(t){const n=l(null);for(const[o,r]of e(t)){E(t,o)&&(Array.isArray(r)?n[o]=R(r):r&&"object"==typeof r&&r.constructor===Object?n[o]=w(r):n[o]=r)}return n}function L(e,t){for(;null!==e;){const n=r(e,t);if(n){if(n.get)return b(n.get);if("function"==typeof n.value)return b(n.value)}e=o(e)}return function(){return null}}const v=i(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),C=i(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),O=i(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),D=i(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),x=i(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),k=i(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),I=i(["#text"]),M=i(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),U=i(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),P=i(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),H=i(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),F=a(/\{\{[\w\W]*|[\w\W]*\}\}/gm),z=a(/<%[\w\W]*|[\w\W]*%>/gm),B=a(/\${[\w\W]*}/gm),W=a(/^data-[\-\w.\u00B7-\uFFFF]/),G=a(/^aria-[\-\w]+$/),Y=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),j=a(/^(?:\w+script|data):/i),X=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),q=a(/^html$/i),K=a(/^[a-z][.\w]*(-[.\w]+)+$/i);var $=Object.freeze({__proto__:null,ARIA_ATTR:G,ATTR_WHITESPACE:X,CUSTOM_ELEMENT:K,DATA_ATTR:W,DOCTYPE_NAME:q,ERB_EXPR:z,IS_ALLOWED_URI:Y,IS_SCRIPT_OR_DATA:j,MUSTACHE_EXPR:F,TMPLIT_EXPR:B});const V=1,Z=3,J=7,Q=8,ee=9,te=function(){return"undefined"==typeof window?null:window};var ne=function t(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:te();const o=e=>t(e);if(o.version="3.2.1",o.removed=[],!n||!n.document||n.document.nodeType!==ee)return o.isSupported=!1,o;let{document:r}=n;const a=r,c=a.currentScript,{DocumentFragment:s,HTMLTemplateElement:N,Node:b,Element:R,NodeFilter:F,NamedNodeMap:z=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:B,DOMParser:W,trustedTypes:G}=n,j=R.prototype,X=L(j,"cloneNode"),K=L(j,"remove"),ne=L(j,"nextSibling"),oe=L(j,"childNodes"),re=L(j,"parentNode");if("function"==typeof N){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let ie,ae="";const{implementation:le,createNodeIterator:ce,createDocumentFragment:se,getElementsByTagName:ue}=r,{importNode:me}=a;let pe={};o.isSupported="function"==typeof e&&"function"==typeof re&&le&&void 0!==le.createHTMLDocument;const{MUSTACHE_EXPR:fe,ERB_EXPR:de,TMPLIT_EXPR:he,DATA_ATTR:ge,ARIA_ATTR:Te,IS_SCRIPT_OR_DATA:ye,ATTR_WHITESPACE:Ee,CUSTOM_ELEMENT:_e}=$;let{IS_ALLOWED_URI:Ae}=$,Ne=null;const be=S({},[...v,...C,...O,...x,...I]);let Se=null;const Re=S({},[...M,...U,...P,...H]);let we=Object.seal(l(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}})),Le=null,ve=null,Ce=!0,Oe=!0,De=!1,xe=!0,ke=!1,Ie=!0,Me=!1,Ue=!1,Pe=!1,He=!1,Fe=!1,ze=!1,Be=!0,We=!1,Ge=!0,Ye=!1,je={},Xe=null;const qe=S({},["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 Ke=null;const $e=S({},["audio","video","img","source","image","track"]);let Ve=null;const Ze=S({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Je="http://www.w3.org/1998/Math/MathML",Qe="http://www.w3.org/2000/svg",et="http://www.w3.org/1999/xhtml";let tt=et,nt=!1,ot=null;const rt=S({},[Je,Qe,et],d);let it=S({},["mi","mo","mn","ms","mtext"]),at=S({},["annotation-xml"]);const lt=S({},["title","style","font","a","script"]);let ct=null;const st=["application/xhtml+xml","text/html"];let ut=null,mt=null;const pt=r.createElement("form"),ft=function(e){return e instanceof RegExp||e instanceof Function},dt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!mt||mt!==e){if(e&&"object"==typeof e||(e={}),e=w(e),ct=-1===st.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,ut="application/xhtml+xml"===ct?d:f,Ne=E(e,"ALLOWED_TAGS")?S({},e.ALLOWED_TAGS,ut):be,Se=E(e,"ALLOWED_ATTR")?S({},e.ALLOWED_ATTR,ut):Re,ot=E(e,"ALLOWED_NAMESPACES")?S({},e.ALLOWED_NAMESPACES,d):rt,Ve=E(e,"ADD_URI_SAFE_ATTR")?S(w(Ze),e.ADD_URI_SAFE_ATTR,ut):Ze,Ke=E(e,"ADD_DATA_URI_TAGS")?S(w($e),e.ADD_DATA_URI_TAGS,ut):$e,Xe=E(e,"FORBID_CONTENTS")?S({},e.FORBID_CONTENTS,ut):qe,Le=E(e,"FORBID_TAGS")?S({},e.FORBID_TAGS,ut):{},ve=E(e,"FORBID_ATTR")?S({},e.FORBID_ATTR,ut):{},je=!!E(e,"USE_PROFILES")&&e.USE_PROFILES,Ce=!1!==e.ALLOW_ARIA_ATTR,Oe=!1!==e.ALLOW_DATA_ATTR,De=e.ALLOW_UNKNOWN_PROTOCOLS||!1,xe=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,ke=e.SAFE_FOR_TEMPLATES||!1,Ie=!1!==e.SAFE_FOR_XML,Me=e.WHOLE_DOCUMENT||!1,He=e.RETURN_DOM||!1,Fe=e.RETURN_DOM_FRAGMENT||!1,ze=e.RETURN_TRUSTED_TYPE||!1,Pe=e.FORCE_BODY||!1,Be=!1!==e.SANITIZE_DOM,We=e.SANITIZE_NAMED_PROPS||!1,Ge=!1!==e.KEEP_CONTENT,Ye=e.IN_PLACE||!1,Ae=e.ALLOWED_URI_REGEXP||Y,tt=e.NAMESPACE||et,it=e.MATHML_TEXT_INTEGRATION_POINTS||it,at=e.HTML_INTEGRATION_POINTS||at,we=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&ft(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(we.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&ft(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(we.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(we.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ke&&(Oe=!1),Fe&&(He=!0),je&&(Ne=S({},I),Se=[],!0===je.html&&(S(Ne,v),S(Se,M)),!0===je.svg&&(S(Ne,C),S(Se,U),S(Se,H)),!0===je.svgFilters&&(S(Ne,O),S(Se,U),S(Se,H)),!0===je.mathMl&&(S(Ne,x),S(Se,P),S(Se,H))),e.ADD_TAGS&&(Ne===be&&(Ne=w(Ne)),S(Ne,e.ADD_TAGS,ut)),e.ADD_ATTR&&(Se===Re&&(Se=w(Se)),S(Se,e.ADD_ATTR,ut)),e.ADD_URI_SAFE_ATTR&&S(Ve,e.ADD_URI_SAFE_ATTR,ut),e.FORBID_CONTENTS&&(Xe===qe&&(Xe=w(Xe)),S(Xe,e.FORBID_CONTENTS,ut)),Ge&&(Ne["#text"]=!0),Me&&S(Ne,["html","head","body"]),Ne.table&&(S(Ne,["tbody"]),delete Le.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ie=e.TRUSTED_TYPES_POLICY,ae=ie.createHTML("")}else void 0===ie&&(ie=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const o="data-tt-policy-suffix";t&&t.hasAttribute(o)&&(n=t.getAttribute(o));const r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}}(G,c)),null!==ie&&"string"==typeof ae&&(ae=ie.createHTML(""));i&&i(e),mt=e}},ht=S({},[...C,...O,...D]),gt=S({},[...x,...k]),Tt=function(e){p(o.removed,{element:e});try{re(e).removeChild(e)}catch(t){K(e)}},yt=function(e,t){try{p(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){p(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!Se[e])if(He||Fe)try{Tt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Et=function(e){let t=null,n=null;if(Pe)e="<remove></remove>"+e;else{const t=h(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===ct&&tt===et&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const o=ie?ie.createHTML(e):e;if(tt===et)try{t=(new W).parseFromString(o,ct)}catch(e){}if(!t||!t.documentElement){t=le.createDocument(tt,"template",null);try{t.documentElement.innerHTML=nt?ae:o}catch(e){}}const i=t.body||t.documentElement;return e&&n&&i.insertBefore(r.createTextNode(n),i.childNodes[0]||null),tt===et?ue.call(t,Me?"html":"body")[0]:Me?t.documentElement:i},_t=function(e){return ce.call(e.ownerDocument||e,e,F.SHOW_ELEMENT|F.SHOW_COMMENT|F.SHOW_TEXT|F.SHOW_PROCESSING_INSTRUCTION|F.SHOW_CDATA_SECTION,null)},At=function(e){return e instanceof B&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof z)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Nt=function(e){return"function"==typeof b&&e instanceof b};function bt(e,t,n){pe[e]&&u(pe[e],(e=>{e.call(o,t,n,mt)}))}const St=function(e){let t=null;if(bt("beforeSanitizeElements",e,null),At(e))return Tt(e),!0;const n=ut(e.nodeName);if(bt("uponSanitizeElement",e,{tagName:n,allowedTags:Ne}),e.hasChildNodes()&&!Nt(e.firstElementChild)&&_(/<[/\w]/g,e.innerHTML)&&_(/<[/\w]/g,e.textContent))return Tt(e),!0;if(e.nodeType===J)return Tt(e),!0;if(Ie&&e.nodeType===Q&&_(/<[/\w]/g,e.data))return Tt(e),!0;if(!Ne[n]||Le[n]){if(!Le[n]&&wt(n)){if(we.tagNameCheck instanceof RegExp&&_(we.tagNameCheck,n))return!1;if(we.tagNameCheck instanceof Function&&we.tagNameCheck(n))return!1}if(Ge&&!Xe[n]){const t=re(e)||e.parentNode,n=oe(e)||e.childNodes;if(n&&t){for(let o=n.length-1;o>=0;--o){const r=X(n[o],!0);r.__removalCount=(e.__removalCount||0)+1,t.insertBefore(r,ne(e))}}}return Tt(e),!0}return e instanceof R&&!function(e){let t=re(e);t&&t.tagName||(t={namespaceURI:tt,tagName:"template"});const n=f(e.tagName),o=f(t.tagName);return!!ot[e.namespaceURI]&&(e.namespaceURI===Qe?t.namespaceURI===et?"svg"===n:t.namespaceURI===Je?"svg"===n&&("annotation-xml"===o||it[o]):Boolean(ht[n]):e.namespaceURI===Je?t.namespaceURI===et?"math"===n:t.namespaceURI===Qe?"math"===n&&at[o]:Boolean(gt[n]):e.namespaceURI===et?!(t.namespaceURI===Qe&&!at[o])&&!(t.namespaceURI===Je&&!it[o])&&!gt[n]&&(lt[n]||!ht[n]):!("application/xhtml+xml"!==ct||!ot[e.namespaceURI]))}(e)?(Tt(e),!0):"noscript"!==n&&"noembed"!==n&&"noframes"!==n||!_(/<\/no(script|embed|frames)/i,e.innerHTML)?(ke&&e.nodeType===Z&&(t=e.textContent,u([fe,de,he],(e=>{t=g(t,e," ")})),e.textContent!==t&&(p(o.removed,{element:e.cloneNode()}),e.textContent=t)),bt("afterSanitizeElements",e,null),!1):(Tt(e),!0)},Rt=function(e,t,n){if(Be&&("id"===t||"name"===t)&&(n in r||n in pt))return!1;if(Oe&&!ve[t]&&_(ge,t));else if(Ce&&_(Te,t));else if(!Se[t]||ve[t]){if(!(wt(e)&&(we.tagNameCheck instanceof RegExp&&_(we.tagNameCheck,e)||we.tagNameCheck instanceof Function&&we.tagNameCheck(e))&&(we.attributeNameCheck instanceof RegExp&&_(we.attributeNameCheck,t)||we.attributeNameCheck instanceof Function&&we.attributeNameCheck(t))||"is"===t&&we.allowCustomizedBuiltInElements&&(we.tagNameCheck instanceof RegExp&&_(we.tagNameCheck,n)||we.tagNameCheck instanceof Function&&we.tagNameCheck(n))))return!1}else if(Ve[t]);else if(_(Ae,g(n,Ee,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==T(n,"data:")||!Ke[e]){if(De&&!_(ye,g(n,Ee,"")));else if(n)return!1}else;return!0},wt=function(e){return"annotation-xml"!==e&&h(e,_e)},Lt=function(e){bt("beforeSanitizeAttributes",e,null);const{attributes:t}=e;if(!t)return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Se,forceKeepAttr:void 0};let r=t.length;for(;r--;){const i=t[r],{name:a,namespaceURI:l,value:c}=i,s=ut(a);let p="value"===a?c:y(c);if(n.attrName=s,n.attrValue=p,n.keepAttr=!0,n.forceKeepAttr=void 0,bt("uponSanitizeAttribute",e,n),p=n.attrValue,!We||"id"!==s&&"name"!==s||(yt(a,e),p="user-content-"+p),Ie&&_(/((--!?|])>)|<\/(style|title)/i,p)){yt(a,e);continue}if(n.forceKeepAttr)continue;if(yt(a,e),!n.keepAttr)continue;if(!xe&&_(/\/>/i,p)){yt(a,e);continue}ke&&u([fe,de,he],(e=>{p=g(p,e," ")}));const f=ut(e.nodeName);if(Rt(f,s,p)){if(ie&&"object"==typeof G&&"function"==typeof G.getAttributeType)if(l);else switch(G.getAttributeType(f,s)){case"TrustedHTML":p=ie.createHTML(p);break;case"TrustedScriptURL":p=ie.createScriptURL(p)}try{l?e.setAttributeNS(l,a,p):e.setAttribute(a,p),At(e)?Tt(e):m(o.removed)}catch(e){}}}bt("afterSanitizeAttributes",e,null)},vt=function e(t){let n=null;const o=_t(t);for(bt("beforeSanitizeShadowDOM",t,null);n=o.nextNode();)bt("uponSanitizeShadowNode",n,null),St(n)||(n.content instanceof s&&e(n.content),Lt(n));bt("afterSanitizeShadowDOM",t,null)};return o.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,r=null,i=null,l=null;if(nt=!e,nt&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Nt(e)){if("function"!=typeof e.toString)throw A("toString is not a function");if("string"!=typeof(e=e.toString()))throw A("dirty is not a string, aborting")}if(!o.isSupported)return e;if(Ue||dt(t),o.removed=[],"string"==typeof e&&(Ye=!1),Ye){if(e.nodeName){const t=ut(e.nodeName);if(!Ne[t]||Le[t])throw A("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof b)n=Et("\x3c!----\x3e"),r=n.ownerDocument.importNode(e,!0),r.nodeType===V&&"BODY"===r.nodeName||"HTML"===r.nodeName?n=r:n.appendChild(r);else{if(!He&&!ke&&!Me&&-1===e.indexOf("<"))return ie&&ze?ie.createHTML(e):e;if(n=Et(e),!n)return He?null:ze?ae:""}n&&Pe&&Tt(n.firstChild);const c=_t(Ye?e:n);for(;i=c.nextNode();)St(i)||(i.content instanceof s&&vt(i.content),Lt(i));if(Ye)return e;if(He){if(Fe)for(l=se.call(n.ownerDocument);n.firstChild;)l.appendChild(n.firstChild);else l=n;return(Se.shadowroot||Se.shadowrootmode)&&(l=me.call(a,l,!0)),l}let m=Me?n.outerHTML:n.innerHTML;return Me&&Ne["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&_(q,n.ownerDocument.doctype.name)&&(m="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+m),ke&&u([fe,de,he],(e=>{m=g(m,e," ")})),ie&&ze?ie.createHTML(m):m},o.setConfig=function(){dt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Ue=!0},o.clearConfig=function(){mt=null,Ue=!1},o.isValidAttribute=function(e,t,n){mt||dt({});const o=ut(e),r=ut(t);return Rt(o,r,n)},o.addHook=function(e,t){"function"==typeof t&&(pe[e]=pe[e]||[],p(pe[e],t))},o.removeHook=function(e){if(pe[e])return m(pe[e])},o.removeHooks=function(e){pe[e]&&(pe[e]=[])},o.removeAllHooks=function(){pe={}},o}();return ne}));
\ No newline at end of file
diff --git a/src/main/webapp/js/shapes-14-6-5.min.js b/src/main/webapp/js/shapes-14-6-5.min.js
index 7e9c22814..3487e5aa0 100644
--- a/src/main/webapp/js/shapes-14-6-5.min.js
+++ b/src/main/webapp/js/shapes-14-6-5.min.js
@@ -3240,14 +3240,14 @@ mxRackRackCabinet2.prototype.paintVertexShape=function(a,d,e,b,c){var f=parseFlo
mxRackRackCabinet2.prototype.foreground=function(a,d,e){var b=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"#f4f4f4");a.setFillColor(b);a.rect(0,0,d,21);a.fillAndStroke();a.rect(0,e-21,d,21);a.fillAndStroke();a.rect(0,21,9,e-42);a.fillAndStroke();a.rect(d-9,21,9,e-42);a.fillAndStroke();a.ellipse(2.5,7.5,6,6);a.stroke();a.ellipse(d-8.5,7.5,6,6);a.stroke();a.ellipse(2.5,e-13.5,6,6);a.stroke();a.ellipse(d-8.5,e-13.5,6,6);a.stroke()};
mxRackRackCabinet2.prototype.sideText=function(a,d,e,b,c,f){var g=mxUtils.getValue(this.style,mxRackRackCabinet2.prototype.cst.TEXT_COLOR,"#666666"),h=mxUtils.getValue(this.style,"startUnit",1);a.setFontSize(c);a.setFontColor(g);if(f===mxRackRackCabinet2.prototype.cst.DIR_ASC)for(f=0;f<e;f++)a.text(-c,21+.5*b+f*b,0,0,(f+h).toString(),mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);else if(f===mxRackRackCabinet2.prototype.cst.DIR_DESC||f===mxRackRackCabinet2.prototype.cst.DIR_ON)for(f=
0;f<e;f++)a.text(-c,d-21-.5*b-f*b,0,0,(f+h).toString(),mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.setStrokeColor(g);a.begin();for(f=0;f<e+1;f++)a.moveTo(-2*c,21+f*b),a.lineTo(0,21+f*b);a.stroke()};function mxRackRackCabinet3(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxRackRackCabinet3,mxShape);
-mxRackRackCabinet3.prototype.cst={SHAPE_RACK_RACK_CABINET:"mxgraph.rackGeneral.rackCabinet3",UNIT_NUM:"unitNum",UNIT_HEIGHT:"rackUnitSize",TEXT_COLOR:"textColor",NUM_DIR:"numDir",NUMBER_DISPLAY:"numDisp",ON:"on",OFF:"off",DIR_ASC:"ascend",DIR_DESC:"descend",TEXT_SIZE:"textSize"};
-mxRackRackCabinet3.prototype.customProperties=[{name:"startUnit",dispName:"Starting unit",type:"int",defVal:1},{name:"rackUnitSize",dispName:"Unit height",type:"float",defVal:14.8},{name:"fillColor2",dispName:"Panel Color",type:"color",defVal:"#ffffff"},{name:"textColor",dispName:"Number text color",type:"color",defVal:"#666666"},{name:"textSize",dispName:"Text size",type:"float",defVal:"12"},{name:"numDisp",dispName:"Display Numbers",type:"enum",defVal:"descend",enumList:[{val:"off",dispName:"Off"},
-{val:"ascend",dispName:"Ascending"},{val:"descend",dispName:"Descending"}],onChange:function(a,d){a.setCellStyles("marginLeft","off"==d?9:33,a.getSelectionCells())}}];
-mxRackRackCabinet3.prototype.paintVertexShape=function(a,d,e,b,c){var f=parseFloat(mxUtils.getValue(this.style,mxRackRackCabinet3.prototype.cst.UNIT_HEIGHT,"14.8")),g=Math.round((c-42)/f),h=parseFloat(mxUtils.getValue(this.style,mxRackRackCabinet3.prototype.cst.TEXT_SIZE,"12")),k=mxUtils.getValue(this.style,mxRackRackCabinet3.prototype.cst.NUMBER_DISPLAY,mxRackRackCabinet3.prototype.cst.ON);k!==mxRackRackCabinet3.prototype.cst.OFF?(a.translate(d+2*h,e),b-=2*h):a.translate(d,e);c=g*f+42;this.background(a,
-b,c);a.setShadow(!1);this.foreground(a,b,c);k!==mxRackRackCabinet3.prototype.cst.OFF&&this.sideText(a,c,g,f,h,k)};mxRackRackCabinet3.prototype.background=function(a,d,e){var b=mxUtils.getValue(this.style,"fillColor2","#ffffff");a.setFillColor(b);a.rect(0,0,d,e);a.fillAndStroke()};
+mxRackRackCabinet3.prototype.cst={SHAPE_RACK_RACK_CABINET:"mxgraph.rackGeneral.rackCabinet3",UNIT_NUM:"unitNum",UNIT_HEIGHT:"rackUnitSize",UNIT_DIR_LEFT:"rackUnitDirLeft",TEXT_COLOR:"textColor",NUM_DIR:"numDir",NUMBER_DISPLAY:"numDisp",ON:"on",OFF:"off",DIR_ASC:"ascend",DIR_DESC:"descend",TEXT_SIZE:"textSize"};
+mxRackRackCabinet3.prototype.customProperties=[{name:"startUnit",dispName:"Starting unit",type:"int",defVal:1},{name:"rackUnitDirLeft",dispName:"Numbering on left",type:"boolean",defVal:!0},{name:"rackUnitSize",dispName:"Unit height",type:"float",defVal:14.8},{name:"fillColor2",dispName:"Panel Color",type:"color",defVal:"#ffffff"},{name:"textColor",dispName:"Number text color",type:"color",defVal:"#666666"},{name:"textSize",dispName:"Text size",type:"float",defVal:"12"},{name:"numDisp",dispName:"Display Numbers",
+type:"enum",defVal:"descend",enumList:[{val:"off",dispName:"Off"},{val:"ascend",dispName:"Ascending"},{val:"descend",dispName:"Descending"}],onChange:function(a,d){a.setCellStyles("marginLeft","off"==d?9:33,a.getSelectionCells())}}];
+mxRackRackCabinet3.prototype.paintVertexShape=function(a,d,e,b,c){var f=parseFloat(mxUtils.getValue(this.style,mxRackRackCabinet3.prototype.cst.UNIT_HEIGHT,"14.8")),g=Math.round((c-42)/f),h=parseFloat(mxUtils.getValue(this.style,mxRackRackCabinet3.prototype.cst.TEXT_SIZE,"12")),k=mxUtils.getValue(this.style,mxRackRackCabinet3.prototype.cst.NUMBER_DISPLAY,mxRackRackCabinet3.prototype.cst.ON),l=mxUtils.getValue(this.style,mxRackRackCabinet3.prototype.cst.UNIT_DIR_LEFT,!0);k!==mxRackRackCabinet3.prototype.cst.OFF?
+(l?a.translate(d+2*h,e):a.translate(d,e),b-=2*h):a.translate(d,e);c=g*f+42;this.background(a,b,c);a.setShadow(!1);this.foreground(a,b,c);k!==mxRackRackCabinet3.prototype.cst.OFF&&this.sideText(a,c,b,g,f,h,k,l)};mxRackRackCabinet3.prototype.background=function(a,d,e){var b=mxUtils.getValue(this.style,"fillColor2","#ffffff");a.setFillColor(b);a.rect(0,0,d,e);a.fillAndStroke()};
mxRackRackCabinet3.prototype.foreground=function(a,d,e){var b=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"#f4f4f4");a.setFillColor(b);a.rect(0,0,d,21);a.fillAndStroke();a.rect(0,e-21,d,21);a.fillAndStroke();a.rect(0,21,9,e-42);a.fillAndStroke();a.rect(d-9,21,9,e-42);a.fillAndStroke();a.ellipse(2.5,7.5,6,6);a.stroke();a.ellipse(d-8.5,7.5,6,6);a.stroke();a.ellipse(2.5,e-13.5,6,6);a.stroke();a.ellipse(d-8.5,e-13.5,6,6);a.stroke()};
-mxRackRackCabinet3.prototype.sideText=function(a,d,e,b,c,f){var g=mxUtils.getValue(this.style,mxRackRackCabinet3.prototype.cst.TEXT_COLOR,"#666666"),h=mxUtils.getValue(this.style,"startUnit",1);a.setFontSize(c);a.setFontColor(g);if(f===mxRackRackCabinet3.prototype.cst.DIR_ASC)for(f=0;f<e;f++)a.text(-c,21+.5*b+f*b,0,0,(f+h).toString(),mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);else if(f===mxRackRackCabinet3.prototype.cst.DIR_DESC||f===mxRackRackCabinet3.prototype.cst.DIR_ON)for(f=
-0;f<e;f++)a.text(-c,d-21-.5*b-f*b,0,0,(f+h).toString(),mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.setStrokeColor(g);a.begin();for(f=0;f<e+1;f++)a.moveTo(-2*c,21+f*b),a.lineTo(0,21+f*b);a.stroke()};function mxRackHorCableDuct1U(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxRackHorCableDuct1U,mxShape);mxRackHorCableDuct1U.prototype.cst={SHAPE_RACK_HOR_CABLE_DUCT_1U:"mxgraph.rackGeneral.horCableDuct1U"};
+mxRackRackCabinet3.prototype.sideText=function(a,d,e,b,c,f,g,h){var k=mxUtils.getValue(this.style,mxRackRackCabinet3.prototype.cst.TEXT_COLOR,"#666666"),l=mxUtils.getValue(this.style,"startUnit",1);a.setFontSize(f);a.setFontColor(k);var m=0;h||(m=e+2*f);if(g===mxRackRackCabinet3.prototype.cst.DIR_ASC)for(e=0;e<b;e++)a.text(m-f,21+.5*c+e*c,0,0,(e+l).toString(),mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);else if(g===mxRackRackCabinet3.prototype.cst.DIR_DESC||g===mxRackRackCabinet3.prototype.cst.DIR_ON)for(e=
+0;e<b;e++)a.text(m-f,d-21-.5*c-e*c,0,0,(e+l).toString(),mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.setStrokeColor(k);a.begin();for(e=0;e<b+1;e++)a.moveTo(m-2*f,21+e*c),a.lineTo(m,21+e*c);a.stroke()};function mxRackHorCableDuct1U(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxRackHorCableDuct1U,mxShape);mxRackHorCableDuct1U.prototype.cst={SHAPE_RACK_HOR_CABLE_DUCT_1U:"mxgraph.rackGeneral.horCableDuct1U"};
mxRackHorCableDuct1U.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,b,c);a.setShadow(!1);this.foreground(a,b,c)};mxRackHorCableDuct1U.prototype.background=function(a,d,e){a.rect(0,0,160.9,14.8);a.fillAndStroke()};
mxRackHorCableDuct1U.prototype.foreground=function(a,d,e){a.rect(12,0,3,7);a.stroke();a.rect(12,7,3,7.8);a.stroke();a.rect(45.5,0,3,7);a.stroke();a.rect(45.5,7,3,7.8);a.stroke();a.rect(79,0,3,7);a.stroke();a.rect(79,7,3,7.8);a.stroke();a.rect(112.5,0,3,7);a.stroke();a.rect(112.5,7,3,7.8);a.stroke();a.rect(146,0,3,7);a.stroke();a.rect(146,7,3,7.8);a.stroke()};function mxRackHorCableDuct2U(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}
mxUtils.extend(mxRackHorCableDuct2U,mxShape);mxRackHorCableDuct2U.prototype.cst={SHAPE_RACK_HOR_CABLE_DUCT_2U:"mxgraph.rackGeneral.horCableDuct2U"};mxRackHorCableDuct2U.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,b,c);a.setShadow(!1);this.foreground(a,b,c)};mxRackHorCableDuct2U.prototype.background=function(a,d,e){a.rect(0,0,160.9,29.6);a.fillAndStroke()};
diff --git a/src/main/webapp/js/stencils.min.js b/src/main/webapp/js/stencils.min.js
index 70b378810..2d3fea0db 100644
--- a/src/main/webapp/js/stencils.min.js
+++ b/src/main/webapp/js/stencils.min.js
@@ -31,6 +31,7 @@ f['electrical/electro-mechanical.xml'] = '7V1Zb9w4Ev4rQu9zZJ6iBCQBdicziwEyM8Y4QJ
f['lean_mapping.xml'] = '7Vtbb9s2FP4rgt7D8CaRBJIA25AWw9ota4HtcVAcJdYqS4Zs57JfP14VUaFlyY2KZehDE4Xk+chz5eEhe7ZZZut8E1XZKj+PV4/vm2y9BGWeVX+tsvW6qO7iizM9xg55V1TFZpnfRO/r+mYTbevop91mW6/yJo6W5zGBcfRwHgsWR9lmnS+25/F91hTZdZnH0Wbb1F/yh+JmK0cW1TJviq2EX9RVJUcWdbXRf8hhWVFto8fzWKI9yZ8giaO1HL3Kt3mjW81i/oxP+xRomOJSUZx6M15niy93Tb2rbi7O1tl2eXG2qu/z59kTRVIWlW5idG8b7LYpAcg2FBpIYKAReyNhp21R1ptcrdos7rS73tu6ydvvoiyNhNXgbs+pVqCvx/d19DnPo6umvtlpSUSfF1Ktu1KpXGkyESBlRpn4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5FZxs/dycvW+nfx/D8=';
diff --git a/src/main/webapp/js/viewer-static.min.js b/src/main/webapp/js/viewer-static.min.js
index 353e2efcf..c517cca02 100644
--- a/src/main/webapp/js/viewer-static.min.js
+++ b/src/main/webapp/js/viewer-static.min.js
@@ -2,8 +2,8 @@ window.PROXY_URL=window.PROXY_URL||"https://viewer.diagrams.net/proxy";window.ST
window.mxImageBasePath=window.mxImageBasePath||"https://viewer.diagrams.net/mxgraph/images";window.mxBasePath=window.mxBasePath||"https://viewer.diagrams.net/mxgraph/";window.mxLoadStylesheets=window.mxLoadStylesheets||!1;
//fgnass.github.com/spin.js#v2.0.0
!function(a,b){"object"==typeof exports?module.exports=b():"function"==typeof define&&define.amd?define(b):a.Spinner=b()}(this,function(){"use strict";function a(a,b){var c,d=document.createElement(a||"div");for(c in b)d[c]=b[c];return d}function b(a){for(var b=1,c=arguments.length;c>b;b++)a.appendChild(arguments[b]);return a}function c(a,b,c,d){var e=["opacity",b,~~(100*a),c,d].join("-"),f=.01+c/d*100,g=Math.max(1-(1-a)/b*(100-f),a),h=j.substring(0,j.indexOf("Animation")).toLowerCase(),i=h&&"-"+h+"-"||"";return l[e]||(m.insertRule("@"+i+"keyframes "+e+"{0%{opacity:"+g+"}"+f+"%{opacity:"+a+"}"+(f+.01)+"%{opacity:1}"+(f+b)%100+"%{opacity:"+a+"}100%{opacity:"+g+"}}",m.cssRules.length),l[e]=1),e}function d(a,b){var c,d,e=a.style;for(b=b.charAt(0).toUpperCase()+b.slice(1),d=0;d<k.length;d++)if(c=k[d]+b,void 0!==e[c])return c;return void 0!==e[b]?b:void 0}function e(a,b){for(var c in b)a.style[d(a,c)||c]=b[c];return a}function f(a){for(var b=1;b<arguments.length;b++){var c=arguments[b];for(var d in c)void 0===a[d]&&(a[d]=c[d])}return a}function g(a,b){return"string"==typeof a?a:a[b%a.length]}function h(a){this.opts=f(a||{},h.defaults,n)}function i(){function c(b,c){return a("<"+b+' xmlns="urn:schemas-microsoft.com:vml" class="spin-vml">',c)}m.addRule(".spin-vml","behavior:url(#default#VML)"),h.prototype.lines=function(a,d){function f(){return e(c("group",{coordsize:k+" "+k,coordorigin:-j+" "+-j}),{width:k,height:k})}function h(a,h,i){b(m,b(e(f(),{rotation:360/d.lines*a+"deg",left:~~h}),b(e(c("roundrect",{arcsize:d.corners}),{width:j,height:d.width,left:d.radius,top:-d.width>>1,filter:i}),c("fill",{color:g(d.color,a),opacity:d.opacity}),c("stroke",{opacity:0}))))}var i,j=d.length+d.width,k=2*j,l=2*-(d.width+d.length)+"px",m=e(f(),{position:"absolute",top:l,left:l});if(d.shadow)for(i=1;i<=d.lines;i++)h(i,-2,"progid:DXImageTransform.Microsoft.Blur(pixelradius=2,makeshadow=1,shadowopacity=.3)");for(i=1;i<=d.lines;i++)h(i);return b(a,m)},h.prototype.opacity=function(a,b,c,d){var e=a.firstChild;d=d.shadow&&d.lines||0,e&&b+d<e.childNodes.length&&(e=e.childNodes[b+d],e=e&&e.firstChild,e=e&&e.firstChild,e&&(e.opacity=c))}}var j,k=["webkit","Moz","ms","O"],l={},m=function(){var c=a("style",{type:"text/css"});return b(document.getElementsByTagName("head")[0],c),c.sheet||c.styleSheet}(),n={lines:12,length:7,width:5,radius:10,rotate:0,corners:1,color:"#000",direction:1,speed:1,trail:100,opacity:.25,fps:20,zIndex:2e9,className:"spinner",top:"50%",left:"50%",position:"absolute"};h.defaults={},f(h.prototype,{spin:function(b){this.stop();{var c=this,d=c.opts,f=c.el=e(a(0,{className:d.className}),{position:d.position,width:0,zIndex:d.zIndex});d.radius+d.length+d.width}if(b&&(b.insertBefore(f,b.firstChild||null),e(f,{left:d.left,top:d.top})),f.setAttribute("role","progressbar"),c.lines(f,c.opts),!j){var g,h=0,i=(d.lines-1)*(1-d.direction)/2,k=d.fps,l=k/d.speed,m=(1-d.opacity)/(l*d.trail/100),n=l/d.lines;!function o(){h++;for(var a=0;a<d.lines;a++)g=Math.max(1-(h+(d.lines-a)*n)%l*m,d.opacity),c.opacity(f,a*d.direction+i,g,d);c.timeout=c.el&&setTimeout(o,~~(1e3/k))}()}return c},stop:function(){var a=this.el;return a&&(clearTimeout(this.timeout),a.parentNode&&a.parentNode.removeChild(a),this.el=void 0),this},lines:function(d,f){function h(b,c){return e(a(),{position:"absolute",width:f.length+f.width+"px",height:f.width+"px",background:b,boxShadow:c,transformOrigin:"left",transform:"rotate("+~~(360/f.lines*k+f.rotate)+"deg) translate("+f.radius+"px,0)",borderRadius:(f.corners*f.width>>1)+"px"})}for(var i,k=0,l=(f.lines-1)*(1-f.direction)/2;k<f.lines;k++)i=e(a(),{position:"absolute",top:1+~(f.width/2)+"px",transform:f.hwaccel?"translate3d(0,0,0)":"",opacity:f.opacity,animation:j&&c(f.opacity,f.trail,l+k*f.direction,f.lines)+" "+1/f.speed+"s linear infinite"}),f.shadow&&b(i,e(h("#000","0 0 4px #000"),{top:"2px"})),b(d,b(i,h(g(f.color,k),"0 0 1px rgba(0,0,0,.1)")));return d},opacity:function(a,b,c){b<a.childNodes.length&&(a.childNodes[b].style.opacity=c)}});var o=e(a("group"),{behavior:"url(#default#VML)"});return!d(o,"transform")&&o.adj?i():j=d(o,"animation"),h});
-/*! @license DOMPurify 3.1.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.5/LICENSE */
-!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).DOMPurify=t()}(this,(function(){"use strict";const{entries:e,setPrototypeOf:t,isFrozen:n,getPrototypeOf:o,getOwnPropertyDescriptor:r}=Object;let{freeze:i,seal:a,create:l}=Object,{apply:c,construct:s}="undefined"!=typeof Reflect&&Reflect;i||(i=function(e){return e}),a||(a=function(e){return e}),c||(c=function(e,t,n){return e.apply(t,n)}),s||(s=function(e,t){return new e(...t)});const u=b(Array.prototype.forEach),m=b(Array.prototype.pop),p=b(Array.prototype.push),f=b(String.prototype.toLowerCase),d=b(String.prototype.toString),h=b(String.prototype.match),g=b(String.prototype.replace),T=b(String.prototype.indexOf),y=b(String.prototype.trim),E=b(Object.prototype.hasOwnProperty),_=b(RegExp.prototype.test),A=(N=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return s(N,t)});var N;function b(e){return function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return c(e,t,o)}}function S(e,o){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f;t&&t(e,null);let i=o.length;for(;i--;){let t=o[i];if("string"==typeof t){const e=r(t);e!==t&&(n(o)||(o[i]=e),t=e)}e[t]=!0}return e}function R(e){for(let t=0;t<e.length;t++){E(e,t)||(e[t]=null)}return e}function w(t){const n=l(null);for(const[o,r]of e(t)){E(t,o)&&(Array.isArray(r)?n[o]=R(r):r&&"object"==typeof r&&r.constructor===Object?n[o]=w(r):n[o]=r)}return n}function C(e,t){for(;null!==e;){const n=r(e,t);if(n){if(n.get)return b(n.get);if("function"==typeof n.value)return b(n.value)}e=o(e)}return function(){return null}}const L=i(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),D=i(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),v=i(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),O=i(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),x=i(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),k=i(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),M=i(["#text"]),I=i(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),U=i(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),P=i(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),F=i(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),H=a(/\{\{[\w\W]*|[\w\W]*\}\}/gm),z=a(/<%[\w\W]*|[\w\W]*%>/gm),B=a(/\${[\w\W]*}/gm),W=a(/^data-[\-\w.\u00B7-\uFFFF]/),G=a(/^aria-[\-\w]+$/),Y=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),j=a(/^(?:\w+script|data):/i),X=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),q=a(/^html$/i),$=a(/^[a-z][.\w]*(-[.\w]+)+$/i);var K=Object.freeze({__proto__:null,MUSTACHE_EXPR:H,ERB_EXPR:z,TMPLIT_EXPR:B,DATA_ATTR:W,ARIA_ATTR:G,IS_ALLOWED_URI:Y,IS_SCRIPT_OR_DATA:j,ATTR_WHITESPACE:X,DOCTYPE_NAME:q,CUSTOM_ELEMENT:$});const V=1,Z=3,J=7,Q=8,ee=9,te=function(){return"undefined"==typeof window?null:window},ne=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const o="data-tt-policy-suffix";t&&t.hasAttribute(o)&&(n=t.getAttribute(o));const r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}};var oe=function t(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:te();const o=e=>t(e);if(o.version="3.1.5",o.removed=[],!n||!n.document||n.document.nodeType!==ee)return o.isSupported=!1,o;let{document:r}=n;const a=r,c=a.currentScript,{DocumentFragment:s,HTMLTemplateElement:N,Node:b,Element:R,NodeFilter:H,NamedNodeMap:z=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:B,DOMParser:W,trustedTypes:G}=n,j=R.prototype,X=C(j,"cloneNode"),$=C(j,"nextSibling"),oe=C(j,"childNodes"),re=C(j,"parentNode");if("function"==typeof N){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let ie,ae="";const{implementation:le,createNodeIterator:ce,createDocumentFragment:se,getElementsByTagName:ue}=r,{importNode:me}=a;let pe={};o.isSupported="function"==typeof e&&"function"==typeof re&&le&&void 0!==le.createHTMLDocument;const{MUSTACHE_EXPR:fe,ERB_EXPR:de,TMPLIT_EXPR:he,DATA_ATTR:ge,ARIA_ATTR:Te,IS_SCRIPT_OR_DATA:ye,ATTR_WHITESPACE:Ee,CUSTOM_ELEMENT:_e}=K;let{IS_ALLOWED_URI:Ae}=K,Ne=null;const be=S({},[...L,...D,...v,...x,...M]);let Se=null;const Re=S({},[...I,...U,...P,...F]);let we=Object.seal(l(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}})),Ce=null,Le=null,De=!0,ve=!0,Oe=!1,xe=!0,ke=!1,Me=!0,Ie=!1,Ue=!1,Pe=!1,Fe=!1,He=!1,ze=!1,Be=!0,We=!1;const Ge="user-content-";let Ye=!0,je=!1,Xe={},qe=null;const $e=S({},["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 Ke=null;const Ve=S({},["audio","video","img","source","image","track"]);let Ze=null;const Je=S({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Qe="http://www.w3.org/1998/Math/MathML",et="http://www.w3.org/2000/svg",tt="http://www.w3.org/1999/xhtml";let nt=tt,ot=!1,rt=null;const it=S({},[Qe,et,tt],d);let at=null;const lt=["application/xhtml+xml","text/html"],ct="text/html";let st=null,ut=null;const mt=r.createElement("form"),pt=function(e){return e instanceof RegExp||e instanceof Function},ft=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!ut||ut!==e){if(e&&"object"==typeof e||(e={}),e=w(e),at=-1===lt.indexOf(e.PARSER_MEDIA_TYPE)?ct:e.PARSER_MEDIA_TYPE,st="application/xhtml+xml"===at?d:f,Ne=E(e,"ALLOWED_TAGS")?S({},e.ALLOWED_TAGS,st):be,Se=E(e,"ALLOWED_ATTR")?S({},e.ALLOWED_ATTR,st):Re,rt=E(e,"ALLOWED_NAMESPACES")?S({},e.ALLOWED_NAMESPACES,d):it,Ze=E(e,"ADD_URI_SAFE_ATTR")?S(w(Je),e.ADD_URI_SAFE_ATTR,st):Je,Ke=E(e,"ADD_DATA_URI_TAGS")?S(w(Ve),e.ADD_DATA_URI_TAGS,st):Ve,qe=E(e,"FORBID_CONTENTS")?S({},e.FORBID_CONTENTS,st):$e,Ce=E(e,"FORBID_TAGS")?S({},e.FORBID_TAGS,st):{},Le=E(e,"FORBID_ATTR")?S({},e.FORBID_ATTR,st):{},Xe=!!E(e,"USE_PROFILES")&&e.USE_PROFILES,De=!1!==e.ALLOW_ARIA_ATTR,ve=!1!==e.ALLOW_DATA_ATTR,Oe=e.ALLOW_UNKNOWN_PROTOCOLS||!1,xe=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,ke=e.SAFE_FOR_TEMPLATES||!1,Me=!1!==e.SAFE_FOR_XML,Ie=e.WHOLE_DOCUMENT||!1,Fe=e.RETURN_DOM||!1,He=e.RETURN_DOM_FRAGMENT||!1,ze=e.RETURN_TRUSTED_TYPE||!1,Pe=e.FORCE_BODY||!1,Be=!1!==e.SANITIZE_DOM,We=e.SANITIZE_NAMED_PROPS||!1,Ye=!1!==e.KEEP_CONTENT,je=e.IN_PLACE||!1,Ae=e.ALLOWED_URI_REGEXP||Y,nt=e.NAMESPACE||tt,we=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&pt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(we.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&pt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(we.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(we.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ke&&(ve=!1),He&&(Fe=!0),Xe&&(Ne=S({},M),Se=[],!0===Xe.html&&(S(Ne,L),S(Se,I)),!0===Xe.svg&&(S(Ne,D),S(Se,U),S(Se,F)),!0===Xe.svgFilters&&(S(Ne,v),S(Se,U),S(Se,F)),!0===Xe.mathMl&&(S(Ne,x),S(Se,P),S(Se,F))),e.ADD_TAGS&&(Ne===be&&(Ne=w(Ne)),S(Ne,e.ADD_TAGS,st)),e.ADD_ATTR&&(Se===Re&&(Se=w(Se)),S(Se,e.ADD_ATTR,st)),e.ADD_URI_SAFE_ATTR&&S(Ze,e.ADD_URI_SAFE_ATTR,st),e.FORBID_CONTENTS&&(qe===$e&&(qe=w(qe)),S(qe,e.FORBID_CONTENTS,st)),Ye&&(Ne["#text"]=!0),Ie&&S(Ne,["html","head","body"]),Ne.table&&(S(Ne,["tbody"]),delete Ce.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ie=e.TRUSTED_TYPES_POLICY,ae=ie.createHTML("")}else void 0===ie&&(ie=ne(G,c)),null!==ie&&"string"==typeof ae&&(ae=ie.createHTML(""));i&&i(e),ut=e}},dt=S({},["mi","mo","mn","ms","mtext"]),ht=S({},["foreignobject","annotation-xml"]),gt=S({},["title","style","font","a","script"]),Tt=S({},[...D,...v,...O]),yt=S({},[...x,...k]),Et=function(e){let t=re(e);t&&t.tagName||(t={namespaceURI:nt,tagName:"template"});const n=f(e.tagName),o=f(t.tagName);return!!rt[e.namespaceURI]&&(e.namespaceURI===et?t.namespaceURI===tt?"svg"===n:t.namespaceURI===Qe?"svg"===n&&("annotation-xml"===o||dt[o]):Boolean(Tt[n]):e.namespaceURI===Qe?t.namespaceURI===tt?"math"===n:t.namespaceURI===et?"math"===n&&ht[o]:Boolean(yt[n]):e.namespaceURI===tt?!(t.namespaceURI===et&&!ht[o])&&(!(t.namespaceURI===Qe&&!dt[o])&&(!yt[n]&&(gt[n]||!Tt[n]))):!("application/xhtml+xml"!==at||!rt[e.namespaceURI]))},_t=function(e){p(o.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.remove()}},At=function(e,t){try{p(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){p(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!Se[e])if(Fe||He)try{_t(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Nt=function(e){let t=null,n=null;if(Pe)e="<remove></remove>"+e;else{const t=h(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===at&&nt===tt&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const o=ie?ie.createHTML(e):e;if(nt===tt)try{t=(new W).parseFromString(o,at)}catch(e){}if(!t||!t.documentElement){t=le.createDocument(nt,"template",null);try{t.documentElement.innerHTML=ot?ae:o}catch(e){}}const i=t.body||t.documentElement;return e&&n&&i.insertBefore(r.createTextNode(n),i.childNodes[0]||null),nt===tt?ue.call(t,Ie?"html":"body")[0]:Ie?t.documentElement:i},bt=function(e){return ce.call(e.ownerDocument||e,e,H.SHOW_ELEMENT|H.SHOW_COMMENT|H.SHOW_TEXT|H.SHOW_PROCESSING_INSTRUCTION|H.SHOW_CDATA_SECTION,null)},St=function(e){return e instanceof B&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof z)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Rt=function(e){return"function"==typeof b&&e instanceof b},wt=function(e,t,n){pe[e]&&u(pe[e],(e=>{e.call(o,t,n,ut)}))},Ct=function(e){let t=null;if(wt("beforeSanitizeElements",e,null),St(e))return _t(e),!0;const n=st(e.nodeName);if(wt("uponSanitizeElement",e,{tagName:n,allowedTags:Ne}),e.hasChildNodes()&&!Rt(e.firstElementChild)&&_(/<[/\w]/g,e.innerHTML)&&_(/<[/\w]/g,e.textContent))return _t(e),!0;if(e.nodeType===J)return _t(e),!0;if(Me&&e.nodeType===Q&&_(/<[/\w]/g,e.data))return _t(e),!0;if(!Ne[n]||Ce[n]){if(!Ce[n]&&Dt(n)){if(we.tagNameCheck instanceof RegExp&&_(we.tagNameCheck,n))return!1;if(we.tagNameCheck instanceof Function&&we.tagNameCheck(n))return!1}if(Ye&&!qe[n]){const t=re(e)||e.parentNode,n=oe(e)||e.childNodes;if(n&&t){for(let o=n.length-1;o>=0;--o){const r=X(n[o],!0);r.__removalCount=(e.__removalCount||0)+1,t.insertBefore(r,$(e))}}}return _t(e),!0}return e instanceof R&&!Et(e)?(_t(e),!0):"noscript"!==n&&"noembed"!==n&&"noframes"!==n||!_(/<\/no(script|embed|frames)/i,e.innerHTML)?(ke&&e.nodeType===Z&&(t=e.textContent,u([fe,de,he],(e=>{t=g(t,e," ")})),e.textContent!==t&&(p(o.removed,{element:e.cloneNode()}),e.textContent=t)),wt("afterSanitizeElements",e,null),!1):(_t(e),!0)},Lt=function(e,t,n){if(Be&&("id"===t||"name"===t)&&(n in r||n in mt))return!1;if(ve&&!Le[t]&&_(ge,t));else if(De&&_(Te,t));else if(!Se[t]||Le[t]){if(!(Dt(e)&&(we.tagNameCheck instanceof RegExp&&_(we.tagNameCheck,e)||we.tagNameCheck instanceof Function&&we.tagNameCheck(e))&&(we.attributeNameCheck instanceof RegExp&&_(we.attributeNameCheck,t)||we.attributeNameCheck instanceof Function&&we.attributeNameCheck(t))||"is"===t&&we.allowCustomizedBuiltInElements&&(we.tagNameCheck instanceof RegExp&&_(we.tagNameCheck,n)||we.tagNameCheck instanceof Function&&we.tagNameCheck(n))))return!1}else if(Ze[t]);else if(_(Ae,g(n,Ee,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==T(n,"data:")||!Ke[e]){if(Oe&&!_(ye,g(n,Ee,"")));else if(n)return!1}else;return!0},Dt=function(e){return"annotation-xml"!==e&&h(e,_e)},vt=function(e){wt("beforeSanitizeAttributes",e,null);const{attributes:t}=e;if(!t)return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Se};let r=t.length;for(;r--;){const i=t[r],{name:a,namespaceURI:l,value:c}=i,s=st(a);let p="value"===a?c:y(c);if(n.attrName=s,n.attrValue=p,n.keepAttr=!0,n.forceKeepAttr=void 0,wt("uponSanitizeAttribute",e,n),p=n.attrValue,n.forceKeepAttr)continue;if(At(a,e),!n.keepAttr)continue;if(!xe&&_(/\/>/i,p)){At(a,e);continue}if(Me&&_(/((--!?|])>)|<\/(style|title)/i,p)){At(a,e);continue}ke&&u([fe,de,he],(e=>{p=g(p,e," ")}));const f=st(e.nodeName);if(Lt(f,s,p)){if(!We||"id"!==s&&"name"!==s||(At(a,e),p=Ge+p),ie&&"object"==typeof G&&"function"==typeof G.getAttributeType)if(l);else switch(G.getAttributeType(f,s)){case"TrustedHTML":p=ie.createHTML(p);break;case"TrustedScriptURL":p=ie.createScriptURL(p)}try{l?e.setAttributeNS(l,a,p):e.setAttribute(a,p),St(e)?_t(e):m(o.removed)}catch(e){}}}wt("afterSanitizeAttributes",e,null)},Ot=function e(t){let n=null;const o=bt(t);for(wt("beforeSanitizeShadowDOM",t,null);n=o.nextNode();)wt("uponSanitizeShadowNode",n,null),Ct(n)||(n.content instanceof s&&e(n.content),vt(n));wt("afterSanitizeShadowDOM",t,null)};return o.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,r=null,i=null,l=null;if(ot=!e,ot&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Rt(e)){if("function"!=typeof e.toString)throw A("toString is not a function");if("string"!=typeof(e=e.toString()))throw A("dirty is not a string, aborting")}if(!o.isSupported)return e;if(Ue||ft(t),o.removed=[],"string"==typeof e&&(je=!1),je){if(e.nodeName){const t=st(e.nodeName);if(!Ne[t]||Ce[t])throw A("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof b)n=Nt("\x3c!----\x3e"),r=n.ownerDocument.importNode(e,!0),r.nodeType===V&&"BODY"===r.nodeName||"HTML"===r.nodeName?n=r:n.appendChild(r);else{if(!Fe&&!ke&&!Ie&&-1===e.indexOf("<"))return ie&&ze?ie.createHTML(e):e;if(n=Nt(e),!n)return Fe?null:ze?ae:""}n&&Pe&&_t(n.firstChild);const c=bt(je?e:n);for(;i=c.nextNode();)Ct(i)||(i.content instanceof s&&Ot(i.content),vt(i));if(je)return e;if(Fe){if(He)for(l=se.call(n.ownerDocument);n.firstChild;)l.appendChild(n.firstChild);else l=n;return(Se.shadowroot||Se.shadowrootmode)&&(l=me.call(a,l,!0)),l}let m=Ie?n.outerHTML:n.innerHTML;return Ie&&Ne["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&_(q,n.ownerDocument.doctype.name)&&(m="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+m),ke&&u([fe,de,he],(e=>{m=g(m,e," ")})),ie&&ze?ie.createHTML(m):m},o.setConfig=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};ft(e),Ue=!0},o.clearConfig=function(){ut=null,Ue=!1},o.isValidAttribute=function(e,t,n){ut||ft({});const o=st(e),r=st(t);return Lt(o,r,n)},o.addHook=function(e,t){"function"==typeof t&&(pe[e]=pe[e]||[],p(pe[e],t))},o.removeHook=function(e){if(pe[e])return m(pe[e])},o.removeHooks=function(e){pe[e]&&(pe[e]=[])},o.removeAllHooks=function(){pe={}},o}();return oe}));
+/*! @license DOMPurify 3.2.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.1/LICENSE */
+!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).DOMPurify=t()}(this,(function(){"use strict";const{entries:e,setPrototypeOf:t,isFrozen:n,getPrototypeOf:o,getOwnPropertyDescriptor:r}=Object;let{freeze:i,seal:a,create:l}=Object,{apply:c,construct:s}="undefined"!=typeof Reflect&&Reflect;i||(i=function(e){return e}),a||(a=function(e){return e}),c||(c=function(e,t,n){return e.apply(t,n)}),s||(s=function(e,t){return new e(...t)});const u=b(Array.prototype.forEach),m=b(Array.prototype.pop),p=b(Array.prototype.push),f=b(String.prototype.toLowerCase),d=b(String.prototype.toString),h=b(String.prototype.match),g=b(String.prototype.replace),T=b(String.prototype.indexOf),y=b(String.prototype.trim),E=b(Object.prototype.hasOwnProperty),_=b(RegExp.prototype.test),A=(N=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return s(N,t)});var N;function b(e){return function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return c(e,t,o)}}function S(e,o){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f;t&&t(e,null);let i=o.length;for(;i--;){let t=o[i];if("string"==typeof t){const e=r(t);e!==t&&(n(o)||(o[i]=e),t=e)}e[t]=!0}return e}function R(e){for(let t=0;t<e.length;t++){E(e,t)||(e[t]=null)}return e}function w(t){const n=l(null);for(const[o,r]of e(t)){E(t,o)&&(Array.isArray(r)?n[o]=R(r):r&&"object"==typeof r&&r.constructor===Object?n[o]=w(r):n[o]=r)}return n}function L(e,t){for(;null!==e;){const n=r(e,t);if(n){if(n.get)return b(n.get);if("function"==typeof n.value)return b(n.value)}e=o(e)}return function(){return null}}const v=i(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),C=i(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),O=i(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),D=i(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),x=i(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),k=i(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),I=i(["#text"]),M=i(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),U=i(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),P=i(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),H=i(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),F=a(/\{\{[\w\W]*|[\w\W]*\}\}/gm),z=a(/<%[\w\W]*|[\w\W]*%>/gm),B=a(/\${[\w\W]*}/gm),W=a(/^data-[\-\w.\u00B7-\uFFFF]/),G=a(/^aria-[\-\w]+$/),Y=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),j=a(/^(?:\w+script|data):/i),X=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),q=a(/^html$/i),K=a(/^[a-z][.\w]*(-[.\w]+)+$/i);var $=Object.freeze({__proto__:null,ARIA_ATTR:G,ATTR_WHITESPACE:X,CUSTOM_ELEMENT:K,DATA_ATTR:W,DOCTYPE_NAME:q,ERB_EXPR:z,IS_ALLOWED_URI:Y,IS_SCRIPT_OR_DATA:j,MUSTACHE_EXPR:F,TMPLIT_EXPR:B});const V=1,Z=3,J=7,Q=8,ee=9,te=function(){return"undefined"==typeof window?null:window};var ne=function t(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:te();const o=e=>t(e);if(o.version="3.2.1",o.removed=[],!n||!n.document||n.document.nodeType!==ee)return o.isSupported=!1,o;let{document:r}=n;const a=r,c=a.currentScript,{DocumentFragment:s,HTMLTemplateElement:N,Node:b,Element:R,NodeFilter:F,NamedNodeMap:z=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:B,DOMParser:W,trustedTypes:G}=n,j=R.prototype,X=L(j,"cloneNode"),K=L(j,"remove"),ne=L(j,"nextSibling"),oe=L(j,"childNodes"),re=L(j,"parentNode");if("function"==typeof N){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let ie,ae="";const{implementation:le,createNodeIterator:ce,createDocumentFragment:se,getElementsByTagName:ue}=r,{importNode:me}=a;let pe={};o.isSupported="function"==typeof e&&"function"==typeof re&&le&&void 0!==le.createHTMLDocument;const{MUSTACHE_EXPR:fe,ERB_EXPR:de,TMPLIT_EXPR:he,DATA_ATTR:ge,ARIA_ATTR:Te,IS_SCRIPT_OR_DATA:ye,ATTR_WHITESPACE:Ee,CUSTOM_ELEMENT:_e}=$;let{IS_ALLOWED_URI:Ae}=$,Ne=null;const be=S({},[...v,...C,...O,...x,...I]);let Se=null;const Re=S({},[...M,...U,...P,...H]);let we=Object.seal(l(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}})),Le=null,ve=null,Ce=!0,Oe=!0,De=!1,xe=!0,ke=!1,Ie=!0,Me=!1,Ue=!1,Pe=!1,He=!1,Fe=!1,ze=!1,Be=!0,We=!1,Ge=!0,Ye=!1,je={},Xe=null;const qe=S({},["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 Ke=null;const $e=S({},["audio","video","img","source","image","track"]);let Ve=null;const Ze=S({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Je="http://www.w3.org/1998/Math/MathML",Qe="http://www.w3.org/2000/svg",et="http://www.w3.org/1999/xhtml";let tt=et,nt=!1,ot=null;const rt=S({},[Je,Qe,et],d);let it=S({},["mi","mo","mn","ms","mtext"]),at=S({},["annotation-xml"]);const lt=S({},["title","style","font","a","script"]);let ct=null;const st=["application/xhtml+xml","text/html"];let ut=null,mt=null;const pt=r.createElement("form"),ft=function(e){return e instanceof RegExp||e instanceof Function},dt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!mt||mt!==e){if(e&&"object"==typeof e||(e={}),e=w(e),ct=-1===st.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,ut="application/xhtml+xml"===ct?d:f,Ne=E(e,"ALLOWED_TAGS")?S({},e.ALLOWED_TAGS,ut):be,Se=E(e,"ALLOWED_ATTR")?S({},e.ALLOWED_ATTR,ut):Re,ot=E(e,"ALLOWED_NAMESPACES")?S({},e.ALLOWED_NAMESPACES,d):rt,Ve=E(e,"ADD_URI_SAFE_ATTR")?S(w(Ze),e.ADD_URI_SAFE_ATTR,ut):Ze,Ke=E(e,"ADD_DATA_URI_TAGS")?S(w($e),e.ADD_DATA_URI_TAGS,ut):$e,Xe=E(e,"FORBID_CONTENTS")?S({},e.FORBID_CONTENTS,ut):qe,Le=E(e,"FORBID_TAGS")?S({},e.FORBID_TAGS,ut):{},ve=E(e,"FORBID_ATTR")?S({},e.FORBID_ATTR,ut):{},je=!!E(e,"USE_PROFILES")&&e.USE_PROFILES,Ce=!1!==e.ALLOW_ARIA_ATTR,Oe=!1!==e.ALLOW_DATA_ATTR,De=e.ALLOW_UNKNOWN_PROTOCOLS||!1,xe=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,ke=e.SAFE_FOR_TEMPLATES||!1,Ie=!1!==e.SAFE_FOR_XML,Me=e.WHOLE_DOCUMENT||!1,He=e.RETURN_DOM||!1,Fe=e.RETURN_DOM_FRAGMENT||!1,ze=e.RETURN_TRUSTED_TYPE||!1,Pe=e.FORCE_BODY||!1,Be=!1!==e.SANITIZE_DOM,We=e.SANITIZE_NAMED_PROPS||!1,Ge=!1!==e.KEEP_CONTENT,Ye=e.IN_PLACE||!1,Ae=e.ALLOWED_URI_REGEXP||Y,tt=e.NAMESPACE||et,it=e.MATHML_TEXT_INTEGRATION_POINTS||it,at=e.HTML_INTEGRATION_POINTS||at,we=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&ft(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(we.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&ft(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(we.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(we.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ke&&(Oe=!1),Fe&&(He=!0),je&&(Ne=S({},I),Se=[],!0===je.html&&(S(Ne,v),S(Se,M)),!0===je.svg&&(S(Ne,C),S(Se,U),S(Se,H)),!0===je.svgFilters&&(S(Ne,O),S(Se,U),S(Se,H)),!0===je.mathMl&&(S(Ne,x),S(Se,P),S(Se,H))),e.ADD_TAGS&&(Ne===be&&(Ne=w(Ne)),S(Ne,e.ADD_TAGS,ut)),e.ADD_ATTR&&(Se===Re&&(Se=w(Se)),S(Se,e.ADD_ATTR,ut)),e.ADD_URI_SAFE_ATTR&&S(Ve,e.ADD_URI_SAFE_ATTR,ut),e.FORBID_CONTENTS&&(Xe===qe&&(Xe=w(Xe)),S(Xe,e.FORBID_CONTENTS,ut)),Ge&&(Ne["#text"]=!0),Me&&S(Ne,["html","head","body"]),Ne.table&&(S(Ne,["tbody"]),delete Le.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ie=e.TRUSTED_TYPES_POLICY,ae=ie.createHTML("")}else void 0===ie&&(ie=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const o="data-tt-policy-suffix";t&&t.hasAttribute(o)&&(n=t.getAttribute(o));const r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}}(G,c)),null!==ie&&"string"==typeof ae&&(ae=ie.createHTML(""));i&&i(e),mt=e}},ht=S({},[...C,...O,...D]),gt=S({},[...x,...k]),Tt=function(e){p(o.removed,{element:e});try{re(e).removeChild(e)}catch(t){K(e)}},yt=function(e,t){try{p(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){p(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!Se[e])if(He||Fe)try{Tt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Et=function(e){let t=null,n=null;if(Pe)e="<remove></remove>"+e;else{const t=h(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===ct&&tt===et&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const o=ie?ie.createHTML(e):e;if(tt===et)try{t=(new W).parseFromString(o,ct)}catch(e){}if(!t||!t.documentElement){t=le.createDocument(tt,"template",null);try{t.documentElement.innerHTML=nt?ae:o}catch(e){}}const i=t.body||t.documentElement;return e&&n&&i.insertBefore(r.createTextNode(n),i.childNodes[0]||null),tt===et?ue.call(t,Me?"html":"body")[0]:Me?t.documentElement:i},_t=function(e){return ce.call(e.ownerDocument||e,e,F.SHOW_ELEMENT|F.SHOW_COMMENT|F.SHOW_TEXT|F.SHOW_PROCESSING_INSTRUCTION|F.SHOW_CDATA_SECTION,null)},At=function(e){return e instanceof B&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof z)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Nt=function(e){return"function"==typeof b&&e instanceof b};function bt(e,t,n){pe[e]&&u(pe[e],(e=>{e.call(o,t,n,mt)}))}const St=function(e){let t=null;if(bt("beforeSanitizeElements",e,null),At(e))return Tt(e),!0;const n=ut(e.nodeName);if(bt("uponSanitizeElement",e,{tagName:n,allowedTags:Ne}),e.hasChildNodes()&&!Nt(e.firstElementChild)&&_(/<[/\w]/g,e.innerHTML)&&_(/<[/\w]/g,e.textContent))return Tt(e),!0;if(e.nodeType===J)return Tt(e),!0;if(Ie&&e.nodeType===Q&&_(/<[/\w]/g,e.data))return Tt(e),!0;if(!Ne[n]||Le[n]){if(!Le[n]&&wt(n)){if(we.tagNameCheck instanceof RegExp&&_(we.tagNameCheck,n))return!1;if(we.tagNameCheck instanceof Function&&we.tagNameCheck(n))return!1}if(Ge&&!Xe[n]){const t=re(e)||e.parentNode,n=oe(e)||e.childNodes;if(n&&t){for(let o=n.length-1;o>=0;--o){const r=X(n[o],!0);r.__removalCount=(e.__removalCount||0)+1,t.insertBefore(r,ne(e))}}}return Tt(e),!0}return e instanceof R&&!function(e){let t=re(e);t&&t.tagName||(t={namespaceURI:tt,tagName:"template"});const n=f(e.tagName),o=f(t.tagName);return!!ot[e.namespaceURI]&&(e.namespaceURI===Qe?t.namespaceURI===et?"svg"===n:t.namespaceURI===Je?"svg"===n&&("annotation-xml"===o||it[o]):Boolean(ht[n]):e.namespaceURI===Je?t.namespaceURI===et?"math"===n:t.namespaceURI===Qe?"math"===n&&at[o]:Boolean(gt[n]):e.namespaceURI===et?!(t.namespaceURI===Qe&&!at[o])&&!(t.namespaceURI===Je&&!it[o])&&!gt[n]&&(lt[n]||!ht[n]):!("application/xhtml+xml"!==ct||!ot[e.namespaceURI]))}(e)?(Tt(e),!0):"noscript"!==n&&"noembed"!==n&&"noframes"!==n||!_(/<\/no(script|embed|frames)/i,e.innerHTML)?(ke&&e.nodeType===Z&&(t=e.textContent,u([fe,de,he],(e=>{t=g(t,e," ")})),e.textContent!==t&&(p(o.removed,{element:e.cloneNode()}),e.textContent=t)),bt("afterSanitizeElements",e,null),!1):(Tt(e),!0)},Rt=function(e,t,n){if(Be&&("id"===t||"name"===t)&&(n in r||n in pt))return!1;if(Oe&&!ve[t]&&_(ge,t));else if(Ce&&_(Te,t));else if(!Se[t]||ve[t]){if(!(wt(e)&&(we.tagNameCheck instanceof RegExp&&_(we.tagNameCheck,e)||we.tagNameCheck instanceof Function&&we.tagNameCheck(e))&&(we.attributeNameCheck instanceof RegExp&&_(we.attributeNameCheck,t)||we.attributeNameCheck instanceof Function&&we.attributeNameCheck(t))||"is"===t&&we.allowCustomizedBuiltInElements&&(we.tagNameCheck instanceof RegExp&&_(we.tagNameCheck,n)||we.tagNameCheck instanceof Function&&we.tagNameCheck(n))))return!1}else if(Ve[t]);else if(_(Ae,g(n,Ee,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==T(n,"data:")||!Ke[e]){if(De&&!_(ye,g(n,Ee,"")));else if(n)return!1}else;return!0},wt=function(e){return"annotation-xml"!==e&&h(e,_e)},Lt=function(e){bt("beforeSanitizeAttributes",e,null);const{attributes:t}=e;if(!t)return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Se,forceKeepAttr:void 0};let r=t.length;for(;r--;){const i=t[r],{name:a,namespaceURI:l,value:c}=i,s=ut(a);let p="value"===a?c:y(c);if(n.attrName=s,n.attrValue=p,n.keepAttr=!0,n.forceKeepAttr=void 0,bt("uponSanitizeAttribute",e,n),p=n.attrValue,!We||"id"!==s&&"name"!==s||(yt(a,e),p="user-content-"+p),Ie&&_(/((--!?|])>)|<\/(style|title)/i,p)){yt(a,e);continue}if(n.forceKeepAttr)continue;if(yt(a,e),!n.keepAttr)continue;if(!xe&&_(/\/>/i,p)){yt(a,e);continue}ke&&u([fe,de,he],(e=>{p=g(p,e," ")}));const f=ut(e.nodeName);if(Rt(f,s,p)){if(ie&&"object"==typeof G&&"function"==typeof G.getAttributeType)if(l);else switch(G.getAttributeType(f,s)){case"TrustedHTML":p=ie.createHTML(p);break;case"TrustedScriptURL":p=ie.createScriptURL(p)}try{l?e.setAttributeNS(l,a,p):e.setAttribute(a,p),At(e)?Tt(e):m(o.removed)}catch(e){}}}bt("afterSanitizeAttributes",e,null)},vt=function e(t){let n=null;const o=_t(t);for(bt("beforeSanitizeShadowDOM",t,null);n=o.nextNode();)bt("uponSanitizeShadowNode",n,null),St(n)||(n.content instanceof s&&e(n.content),Lt(n));bt("afterSanitizeShadowDOM",t,null)};return o.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,r=null,i=null,l=null;if(nt=!e,nt&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Nt(e)){if("function"!=typeof e.toString)throw A("toString is not a function");if("string"!=typeof(e=e.toString()))throw A("dirty is not a string, aborting")}if(!o.isSupported)return e;if(Ue||dt(t),o.removed=[],"string"==typeof e&&(Ye=!1),Ye){if(e.nodeName){const t=ut(e.nodeName);if(!Ne[t]||Le[t])throw A("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof b)n=Et("\x3c!----\x3e"),r=n.ownerDocument.importNode(e,!0),r.nodeType===V&&"BODY"===r.nodeName||"HTML"===r.nodeName?n=r:n.appendChild(r);else{if(!He&&!ke&&!Me&&-1===e.indexOf("<"))return ie&&ze?ie.createHTML(e):e;if(n=Et(e),!n)return He?null:ze?ae:""}n&&Pe&&Tt(n.firstChild);const c=_t(Ye?e:n);for(;i=c.nextNode();)St(i)||(i.content instanceof s&&vt(i.content),Lt(i));if(Ye)return e;if(He){if(Fe)for(l=se.call(n.ownerDocument);n.firstChild;)l.appendChild(n.firstChild);else l=n;return(Se.shadowroot||Se.shadowrootmode)&&(l=me.call(a,l,!0)),l}let m=Me?n.outerHTML:n.innerHTML;return Me&&Ne["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&_(q,n.ownerDocument.doctype.name)&&(m="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+m),ke&&u([fe,de,he],(e=>{m=g(m,e," ")})),ie&&ze?ie.createHTML(m):m},o.setConfig=function(){dt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Ue=!0},o.clearConfig=function(){mt=null,Ue=!1},o.isValidAttribute=function(e,t,n){mt||dt({});const o=ut(e),r=ut(t);return Rt(o,r,n)},o.addHook=function(e,t){"function"==typeof t&&(pe[e]=pe[e]||[],p(pe[e],t))},o.removeHook=function(e){if(pe[e])return m(pe[e])},o.removeHooks=function(e){pe[e]&&(pe[e]=[])},o.removeAllHooks=function(){pe={}},o}();return ne}));
/*! pako 2.1.0 https://github.com/nodeca/pako @license (MIT AND Zlib) */
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).pako={})}(this,(function(t){"use strict";function e(t){for(var e=t.length;--e>=0;)t[e]=0}var a=256,n=286,i=30,r=15,s=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),o=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),l=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),h=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),d=new Array(576);e(d);var _=new Array(60);e(_);var f=new Array(512);e(f);var u=new Array(256);e(u);var c=new Array(29);e(c);var w,m,b,g=new Array(i);function p(t,e,a,n,i){this.static_tree=t,this.extra_bits=e,this.extra_base=a,this.elems=n,this.max_length=i,this.has_stree=t&&t.length}function v(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}e(g);var k=function(t){return t<256?f[t]:f[256+(t>>>7)]},y=function(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255},x=function(t,e,a){t.bi_valid>16-a?(t.bi_buf|=e<<t.bi_valid&65535,y(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=a-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=a)},z=function(t,e,a){x(t,a[2*e],a[2*e+1])},A=function(t,e){var a=0;do{a|=1&t,t>>>=1,a<<=1}while(--e>0);return a>>>1},E=function(t,e,a){var n,i,s=new Array(16),o=0;for(n=1;n<=r;n++)o=o+a[n-1]<<1,s[n]=o;for(i=0;i<=e;i++){var l=t[2*i+1];0!==l&&(t[2*i]=A(s[l]++,l))}},R=function(t){var e;for(e=0;e<n;e++)t.dyn_ltree[2*e]=0;for(e=0;e<i;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.sym_next=t.matches=0},Z=function(t){t.bi_valid>8?y(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},S=function(t,e,a,n){var i=2*e,r=2*a;return t[i]<t[r]||t[i]===t[r]&&n[e]<=n[a]},U=function(t,e,a){for(var n=t.heap[a],i=a<<1;i<=t.heap_len&&(i<t.heap_len&&S(e,t.heap[i+1],t.heap[i],t.depth)&&i++,!S(e,n,t.heap[i],t.depth));)t.heap[a]=t.heap[i],a=i,i<<=1;t.heap[a]=n},D=function(t,e,n){var i,r,l,h,d=0;if(0!==t.sym_next)do{i=255&t.pending_buf[t.sym_buf+d++],i+=(255&t.pending_buf[t.sym_buf+d++])<<8,r=t.pending_buf[t.sym_buf+d++],0===i?z(t,r,e):(l=u[r],z(t,l+a+1,e),0!==(h=s[l])&&(r-=c[l],x(t,r,h)),i--,l=k(i),z(t,l,n),0!==(h=o[l])&&(i-=g[l],x(t,i,h)))}while(d<t.sym_next);z(t,256,e)},T=function(t,e){var a,n,i,s=e.dyn_tree,o=e.stat_desc.static_tree,l=e.stat_desc.has_stree,h=e.stat_desc.elems,d=-1;for(t.heap_len=0,t.heap_max=573,a=0;a<h;a++)0!==s[2*a]?(t.heap[++t.heap_len]=d=a,t.depth[a]=0):s[2*a+1]=0;for(;t.heap_len<2;)s[2*(i=t.heap[++t.heap_len]=d<2?++d:0)]=1,t.depth[i]=0,t.opt_len--,l&&(t.static_len-=o[2*i+1]);for(e.max_code=d,a=t.heap_len>>1;a>=1;a--)U(t,s,a);i=h;do{a=t.heap[1],t.heap[1]=t.heap[t.heap_len--],U(t,s,1),n=t.heap[1],t.heap[--t.heap_max]=a,t.heap[--t.heap_max]=n,s[2*i]=s[2*a]+s[2*n],t.depth[i]=(t.depth[a]>=t.depth[n]?t.depth[a]:t.depth[n])+1,s[2*a+1]=s[2*n+1]=i,t.heap[1]=i++,U(t,s,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var a,n,i,s,o,l,h=e.dyn_tree,d=e.max_code,_=e.stat_desc.static_tree,f=e.stat_desc.has_stree,u=e.stat_desc.extra_bits,c=e.stat_desc.extra_base,w=e.stat_desc.max_length,m=0;for(s=0;s<=r;s++)t.bl_count[s]=0;for(h[2*t.heap[t.heap_max]+1]=0,a=t.heap_max+1;a<573;a++)(s=h[2*h[2*(n=t.heap[a])+1]+1]+1)>w&&(s=w,m++),h[2*n+1]=s,n>d||(t.bl_count[s]++,o=0,n>=c&&(o=u[n-c]),l=h[2*n],t.opt_len+=l*(s+o),f&&(t.static_len+=l*(_[2*n+1]+o)));if(0!==m){do{for(s=w-1;0===t.bl_count[s];)s--;t.bl_count[s]--,t.bl_count[s+1]+=2,t.bl_count[w]--,m-=2}while(m>0);for(s=w;0!==s;s--)for(n=t.bl_count[s];0!==n;)(i=t.heap[--a])>d||(h[2*i+1]!==s&&(t.opt_len+=(s-h[2*i+1])*h[2*i],h[2*i+1]=s),n--)}}(t,e),E(s,d,t.bl_count)},O=function(t,e,a){var n,i,r=-1,s=e[1],o=0,l=7,h=4;for(0===s&&(l=138,h=3),e[2*(a+1)+1]=65535,n=0;n<=a;n++)i=s,s=e[2*(n+1)+1],++o<l&&i===s||(o<h?t.bl_tree[2*i]+=o:0!==i?(i!==r&&t.bl_tree[2*i]++,t.bl_tree[32]++):o<=10?t.bl_tree[34]++:t.bl_tree[36]++,o=0,r=i,0===s?(l=138,h=3):i===s?(l=6,h=3):(l=7,h=4))},I=function(t,e,a){var n,i,r=-1,s=e[1],o=0,l=7,h=4;for(0===s&&(l=138,h=3),n=0;n<=a;n++)if(i=s,s=e[2*(n+1)+1],!(++o<l&&i===s)){if(o<h)do{z(t,i,t.bl_tree)}while(0!=--o);else 0!==i?(i!==r&&(z(t,i,t.bl_tree),o--),z(t,16,t.bl_tree),x(t,o-3,2)):o<=10?(z(t,17,t.bl_tree),x(t,o-3,3)):(z(t,18,t.bl_tree),x(t,o-11,7));o=0,r=i,0===s?(l=138,h=3):i===s?(l=6,h=3):(l=7,h=4)}},F=!1,L=function(t,e,a,n){x(t,0+(n?1:0),3),Z(t),y(t,a),y(t,~a),a&&t.pending_buf.set(t.window.subarray(e,e+a),t.pending),t.pending+=a},N=function(t,e,n,i){var r,s,o=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,n=4093624447;for(e=0;e<=31;e++,n>>>=1)if(1&n&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<a;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),T(t,t.l_desc),T(t,t.d_desc),o=function(t){var e;for(O(t,t.dyn_ltree,t.l_desc.max_code),O(t,t.dyn_dtree,t.d_desc.max_code),T(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*h[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),r=t.opt_len+3+7>>>3,(s=t.static_len+3+7>>>3)<=r&&(r=s)):r=s=n+5,n+4<=r&&-1!==e?L(t,e,n,i):4===t.strategy||s===r?(x(t,2+(i?1:0),3),D(t,d,_)):(x(t,4+(i?1:0),3),function(t,e,a,n){var i;for(x(t,e-257,5),x(t,a-1,5),x(t,n-4,4),i=0;i<n;i++)x(t,t.bl_tree[2*h[i]+1],3);I(t,t.dyn_ltree,e-1),I(t,t.dyn_dtree,a-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,o+1),D(t,t.dyn_ltree,t.dyn_dtree)),R(t),i&&Z(t)},B={_tr_init:function(t){F||(!function(){var t,e,a,h,v,k=new Array(16);for(a=0,h=0;h<28;h++)for(c[h]=a,t=0;t<1<<s[h];t++)u[a++]=h;for(u[a-1]=h,v=0,h=0;h<16;h++)for(g[h]=v,t=0;t<1<<o[h];t++)f[v++]=h;for(v>>=7;h<i;h++)for(g[h]=v<<7,t=0;t<1<<o[h]-7;t++)f[256+v++]=h;for(e=0;e<=r;e++)k[e]=0;for(t=0;t<=143;)d[2*t+1]=8,t++,k[8]++;for(;t<=255;)d[2*t+1]=9,t++,k[9]++;for(;t<=279;)d[2*t+1]=7,t++,k[7]++;for(;t<=287;)d[2*t+1]=8,t++,k[8]++;for(E(d,287,k),t=0;t<i;t++)_[2*t+1]=5,_[2*t]=A(t,5);w=new p(d,s,257,n,r),m=new p(_,o,0,i,r),b=new p(new Array(0),l,0,19,7)}(),F=!0),t.l_desc=new v(t.dyn_ltree,w),t.d_desc=new v(t.dyn_dtree,m),t.bl_desc=new v(t.bl_tree,b),t.bi_buf=0,t.bi_valid=0,R(t)},_tr_stored_block:L,_tr_flush_block:N,_tr_tally:function(t,e,n){return t.pending_buf[t.sym_buf+t.sym_next++]=e,t.pending_buf[t.sym_buf+t.sym_next++]=e>>8,t.pending_buf[t.sym_buf+t.sym_next++]=n,0===e?t.dyn_ltree[2*n]++:(t.matches++,e--,t.dyn_ltree[2*(u[n]+a+1)]++,t.dyn_dtree[2*k(e)]++),t.sym_next===t.sym_end},_tr_align:function(t){x(t,2,3),z(t,256,d),function(t){16===t.bi_valid?(y(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}},C=function(t,e,a,n){for(var i=65535&t|0,r=t>>>16&65535|0,s=0;0!==a;){a-=s=a>2e3?2e3:a;do{r=r+(i=i+e[n++]|0)|0}while(--s);i%=65521,r%=65521}return i|r<<16|0},M=new Uint32Array(function(){for(var t,e=[],a=0;a<256;a++){t=a;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[a]=t}return e}()),H=function(t,e,a,n){var i=M,r=n+a;t^=-1;for(var s=n;s<r;s++)t=t>>>8^i[255&(t^e[s])];return-1^t},j={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},K={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8},P=B._tr_init,Y=B._tr_stored_block,G=B._tr_flush_block,X=B._tr_tally,W=B._tr_align,q=K.Z_NO_FLUSH,J=K.Z_PARTIAL_FLUSH,Q=K.Z_FULL_FLUSH,V=K.Z_FINISH,$=K.Z_BLOCK,tt=K.Z_OK,et=K.Z_STREAM_END,at=K.Z_STREAM_ERROR,nt=K.Z_DATA_ERROR,it=K.Z_BUF_ERROR,rt=K.Z_DEFAULT_COMPRESSION,st=K.Z_FILTERED,ot=K.Z_HUFFMAN_ONLY,lt=K.Z_RLE,ht=K.Z_FIXED,dt=K.Z_DEFAULT_STRATEGY,_t=K.Z_UNKNOWN,ft=K.Z_DEFLATED,ut=258,ct=262,wt=42,mt=113,bt=666,gt=function(t,e){return t.msg=j[e],e},pt=function(t){return 2*t-(t>4?9:0)},vt=function(t){for(var e=t.length;--e>=0;)t[e]=0},kt=function(t){var e,a,n,i=t.w_size;n=e=t.hash_size;do{a=t.head[--n],t.head[n]=a>=i?a-i:0}while(--e);n=e=i;do{a=t.prev[--n],t.prev[n]=a>=i?a-i:0}while(--e)},yt=function(t,e,a){return(e<<t.hash_shift^a)&t.hash_mask},xt=function(t){var e=t.state,a=e.pending;a>t.avail_out&&(a=t.avail_out),0!==a&&(t.output.set(e.pending_buf.subarray(e.pending_out,e.pending_out+a),t.next_out),t.next_out+=a,e.pending_out+=a,t.total_out+=a,t.avail_out-=a,e.pending-=a,0===e.pending&&(e.pending_out=0))},zt=function(t,e){G(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,xt(t.strm)},At=function(t,e){t.pending_buf[t.pending++]=e},Et=function(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},Rt=function(t,e,a,n){var i=t.avail_in;return i>n&&(i=n),0===i?0:(t.avail_in-=i,e.set(t.input.subarray(t.next_in,t.next_in+i),a),1===t.state.wrap?t.adler=C(t.adler,e,i,a):2===t.state.wrap&&(t.adler=H(t.adler,e,i,a)),t.next_in+=i,t.total_in+=i,i)},Zt=function(t,e){var a,n,i=t.max_chain_length,r=t.strstart,s=t.prev_length,o=t.nice_match,l=t.strstart>t.w_size-ct?t.strstart-(t.w_size-ct):0,h=t.window,d=t.w_mask,_=t.prev,f=t.strstart+ut,u=h[r+s-1],c=h[r+s];t.prev_length>=t.good_match&&(i>>=2),o>t.lookahead&&(o=t.lookahead);do{if(h[(a=e)+s]===c&&h[a+s-1]===u&&h[a]===h[r]&&h[++a]===h[r+1]){r+=2,a++;do{}while(h[++r]===h[++a]&&h[++r]===h[++a]&&h[++r]===h[++a]&&h[++r]===h[++a]&&h[++r]===h[++a]&&h[++r]===h[++a]&&h[++r]===h[++a]&&h[++r]===h[++a]&&r<f);if(n=ut-(f-r),r=f-ut,n>s){if(t.match_start=e,s=n,n>=o)break;u=h[r+s-1],c=h[r+s]}}}while((e=_[e&d])>l&&0!=--i);return s<=t.lookahead?s:t.lookahead},St=function(t){var e,a,n,i=t.w_size;do{if(a=t.window_size-t.lookahead-t.strstart,t.strstart>=i+(i-ct)&&(t.window.set(t.window.subarray(i,i+i-a),0),t.match_start-=i,t.strstart-=i,t.block_start-=i,t.insert>t.strstart&&(t.insert=t.strstart),kt(t),a+=i),0===t.strm.avail_in)break;if(e=Rt(t.strm,t.window,t.strstart+t.lookahead,a),t.lookahead+=e,t.lookahead+t.insert>=3)for(n=t.strstart-t.insert,t.ins_h=t.window[n],t.ins_h=yt(t,t.ins_h,t.window[n+1]);t.insert&&(t.ins_h=yt(t,t.ins_h,t.window[n+3-1]),t.prev[n&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=n,n++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<ct&&0!==t.strm.avail_in)},Ut=function(t,e){var a,n,i,r=t.pending_buf_size-5>t.w_size?t.w_size:t.pending_buf_size-5,s=0,o=t.strm.avail_in;do{if(a=65535,i=t.bi_valid+42>>3,t.strm.avail_out<i)break;if(i=t.strm.avail_out-i,a>(n=t.strstart-t.block_start)+t.strm.avail_in&&(a=n+t.strm.avail_in),a>i&&(a=i),a<r&&(0===a&&e!==V||e===q||a!==n+t.strm.avail_in))break;s=e===V&&a===n+t.strm.avail_in?1:0,Y(t,0,0,s),t.pending_buf[t.pending-4]=a,t.pending_buf[t.pending-3]=a>>8,t.pending_buf[t.pending-2]=~a,t.pending_buf[t.pending-1]=~a>>8,xt(t.strm),n&&(n>a&&(n=a),t.strm.output.set(t.window.subarray(t.block_start,t.block_start+n),t.strm.next_out),t.strm.next_out+=n,t.strm.avail_out-=n,t.strm.total_out+=n,t.block_start+=n,a-=n),a&&(Rt(t.strm,t.strm.output,t.strm.next_out,a),t.strm.next_out+=a,t.strm.avail_out-=a,t.strm.total_out+=a)}while(0===s);return(o-=t.strm.avail_in)&&(o>=t.w_size?(t.matches=2,t.window.set(t.strm.input.subarray(t.strm.next_in-t.w_size,t.strm.next_in),0),t.strstart=t.w_size,t.insert=t.strstart):(t.window_size-t.strstart<=o&&(t.strstart-=t.w_size,t.window.set(t.window.subarray(t.w_size,t.w_size+t.strstart),0),t.matches<2&&t.matches++,t.insert>t.strstart&&(t.insert=t.strstart)),t.window.set(t.strm.input.subarray(t.strm.next_in-o,t.strm.next_in),t.strstart),t.strstart+=o,t.insert+=o>t.w_size-t.insert?t.w_size-t.insert:o),t.block_start=t.strstart),t.high_water<t.strstart&&(t.high_water=t.strstart),s?4:e!==q&&e!==V&&0===t.strm.avail_in&&t.strstart===t.block_start?2:(i=t.window_size-t.strstart,t.strm.avail_in>i&&t.block_start>=t.w_size&&(t.block_start-=t.w_size,t.strstart-=t.w_size,t.window.set(t.window.subarray(t.w_size,t.w_size+t.strstart),0),t.matches<2&&t.matches++,i+=t.w_size,t.insert>t.strstart&&(t.insert=t.strstart)),i>t.strm.avail_in&&(i=t.strm.avail_in),i&&(Rt(t.strm,t.window,t.strstart,i),t.strstart+=i,t.insert+=i>t.w_size-t.insert?t.w_size-t.insert:i),t.high_water<t.strstart&&(t.high_water=t.strstart),i=t.bi_valid+42>>3,r=(i=t.pending_buf_size-i>65535?65535:t.pending_buf_size-i)>t.w_size?t.w_size:i,((n=t.strstart-t.block_start)>=r||(n||e===V)&&e!==q&&0===t.strm.avail_in&&n<=i)&&(a=n>i?i:n,s=e===V&&0===t.strm.avail_in&&a===n?1:0,Y(t,t.block_start,a,s),t.block_start+=a,xt(t.strm)),s?3:1)},Dt=function(t,e){for(var a,n;;){if(t.lookahead<ct){if(St(t),t.lookahead<ct&&e===q)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=yt(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==a&&t.strstart-a<=t.w_size-ct&&(t.match_length=Zt(t,a)),t.match_length>=3)if(n=X(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=yt(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=yt(t,t.ins_h,t.window[t.strstart+1]);else n=X(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(zt(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(zt(t,!1),0===t.strm.avail_out)?1:2},Tt=function(t,e){for(var a,n,i;;){if(t.lookahead<ct){if(St(t),t.lookahead<ct&&e===q)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=yt(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==a&&t.prev_length<t.max_lazy_match&&t.strstart-a<=t.w_size-ct&&(t.match_length=Zt(t,a),t.match_length<=5&&(t.strategy===st||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){i=t.strstart+t.lookahead-3,n=X(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=i&&(t.ins_h=yt(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,n&&(zt(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((n=X(t,0,t.window[t.strstart-1]))&&zt(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(n=X(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(zt(t,!1),0===t.strm.avail_out)?1:2};function Ot(t,e,a,n,i){this.good_length=t,this.max_lazy=e,this.nice_length=a,this.max_chain=n,this.func=i}var It=[new Ot(0,0,0,0,Ut),new Ot(4,4,8,4,Dt),new Ot(4,5,16,8,Dt),new Ot(4,6,32,32,Dt),new Ot(4,4,16,16,Tt),new Ot(8,16,32,32,Tt),new Ot(8,16,128,128,Tt),new Ot(8,32,128,256,Tt),new Ot(32,128,258,1024,Tt),new Ot(32,258,258,4096,Tt)];function Ft(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=ft,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),vt(this.dyn_ltree),vt(this.dyn_dtree),vt(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),vt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),vt(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}var Lt=function(t){if(!t)return 1;var e=t.state;return!e||e.strm!==t||e.status!==wt&&57!==e.status&&69!==e.status&&73!==e.status&&91!==e.status&&103!==e.status&&e.status!==mt&&e.status!==bt?1:0},Nt=function(t){if(Lt(t))return gt(t,at);t.total_in=t.total_out=0,t.data_type=_t;var e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=2===e.wrap?57:e.wrap?wt:mt,t.adler=2===e.wrap?0:1,e.last_flush=-2,P(e),tt},Bt=function(t){var e,a=Nt(t);return a===tt&&((e=t.state).window_size=2*e.w_size,vt(e.head),e.max_lazy_match=It[e.level].max_lazy,e.good_match=It[e.level].good_length,e.nice_match=It[e.level].nice_length,e.max_chain_length=It[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=2,e.match_available=0,e.ins_h=0),a},Ct=function(t,e,a,n,i,r){if(!t)return at;var s=1;if(e===rt&&(e=6),n<0?(s=0,n=-n):n>15&&(s=2,n-=16),i<1||i>9||a!==ft||n<8||n>15||e<0||e>9||r<0||r>ht||8===n&&1!==s)return gt(t,at);8===n&&(n=9);var o=new Ft;return t.state=o,o.strm=t,o.status=wt,o.wrap=s,o.gzhead=null,o.w_bits=n,o.w_size=1<<o.w_bits,o.w_mask=o.w_size-1,o.hash_bits=i+7,o.hash_size=1<<o.hash_bits,o.hash_mask=o.hash_size-1,o.hash_shift=~~((o.hash_bits+3-1)/3),o.window=new Uint8Array(2*o.w_size),o.head=new Uint16Array(o.hash_size),o.prev=new Uint16Array(o.w_size),o.lit_bufsize=1<<i+6,o.pending_buf_size=4*o.lit_bufsize,o.pending_buf=new Uint8Array(o.pending_buf_size),o.sym_buf=o.lit_bufsize,o.sym_end=3*(o.lit_bufsize-1),o.level=e,o.strategy=r,o.method=a,Bt(t)},Mt={deflateInit:function(t,e){return Ct(t,e,ft,15,8,dt)},deflateInit2:Ct,deflateReset:Bt,deflateResetKeep:Nt,deflateSetHeader:function(t,e){return Lt(t)||2!==t.state.wrap?at:(t.state.gzhead=e,tt)},deflate:function(t,e){if(Lt(t)||e>$||e<0)return t?gt(t,at):at;var a=t.state;if(!t.output||0!==t.avail_in&&!t.input||a.status===bt&&e!==V)return gt(t,0===t.avail_out?it:at);var n=a.last_flush;if(a.last_flush=e,0!==a.pending){if(xt(t),0===t.avail_out)return a.last_flush=-1,tt}else if(0===t.avail_in&&pt(e)<=pt(n)&&e!==V)return gt(t,it);if(a.status===bt&&0!==t.avail_in)return gt(t,it);if(a.status===wt&&0===a.wrap&&(a.status=mt),a.status===wt){var i=ft+(a.w_bits-8<<4)<<8;if(i|=(a.strategy>=ot||a.level<2?0:a.level<6?1:6===a.level?2:3)<<6,0!==a.strstart&&(i|=32),Et(a,i+=31-i%31),0!==a.strstart&&(Et(a,t.adler>>>16),Et(a,65535&t.adler)),t.adler=1,a.status=mt,xt(t),0!==a.pending)return a.last_flush=-1,tt}if(57===a.status)if(t.adler=0,At(a,31),At(a,139),At(a,8),a.gzhead)At(a,(a.gzhead.text?1:0)+(a.gzhead.hcrc?2:0)+(a.gzhead.extra?4:0)+(a.gzhead.name?8:0)+(a.gzhead.comment?16:0)),At(a,255&a.gzhead.time),At(a,a.gzhead.time>>8&255),At(a,a.gzhead.time>>16&255),At(a,a.gzhead.time>>24&255),At(a,9===a.level?2:a.strategy>=ot||a.level<2?4:0),At(a,255&a.gzhead.os),a.gzhead.extra&&a.gzhead.extra.length&&(At(a,255&a.gzhead.extra.length),At(a,a.gzhead.extra.length>>8&255)),a.gzhead.hcrc&&(t.adler=H(t.adler,a.pending_buf,a.pending,0)),a.gzindex=0,a.status=69;else if(At(a,0),At(a,0),At(a,0),At(a,0),At(a,0),At(a,9===a.level?2:a.strategy>=ot||a.level<2?4:0),At(a,3),a.status=mt,xt(t),0!==a.pending)return a.last_flush=-1,tt;if(69===a.status){if(a.gzhead.extra){for(var r=a.pending,s=(65535&a.gzhead.extra.length)-a.gzindex;a.pending+s>a.pending_buf_size;){var o=a.pending_buf_size-a.pending;if(a.pending_buf.set(a.gzhead.extra.subarray(a.gzindex,a.gzindex+o),a.pending),a.pending=a.pending_buf_size,a.gzhead.hcrc&&a.pending>r&&(t.adler=H(t.adler,a.pending_buf,a.pending-r,r)),a.gzindex+=o,xt(t),0!==a.pending)return a.last_flush=-1,tt;r=0,s-=o}var l=new Uint8Array(a.gzhead.extra);a.pending_buf.set(l.subarray(a.gzindex,a.gzindex+s),a.pending),a.pending+=s,a.gzhead.hcrc&&a.pending>r&&(t.adler=H(t.adler,a.pending_buf,a.pending-r,r)),a.gzindex=0}a.status=73}if(73===a.status){if(a.gzhead.name){var h,d=a.pending;do{if(a.pending===a.pending_buf_size){if(a.gzhead.hcrc&&a.pending>d&&(t.adler=H(t.adler,a.pending_buf,a.pending-d,d)),xt(t),0!==a.pending)return a.last_flush=-1,tt;d=0}h=a.gzindex<a.gzhead.name.length?255&a.gzhead.name.charCodeAt(a.gzindex++):0,At(a,h)}while(0!==h);a.gzhead.hcrc&&a.pending>d&&(t.adler=H(t.adler,a.pending_buf,a.pending-d,d)),a.gzindex=0}a.status=91}if(91===a.status){if(a.gzhead.comment){var _,f=a.pending;do{if(a.pending===a.pending_buf_size){if(a.gzhead.hcrc&&a.pending>f&&(t.adler=H(t.adler,a.pending_buf,a.pending-f,f)),xt(t),0!==a.pending)return a.last_flush=-1,tt;f=0}_=a.gzindex<a.gzhead.comment.length?255&a.gzhead.comment.charCodeAt(a.gzindex++):0,At(a,_)}while(0!==_);a.gzhead.hcrc&&a.pending>f&&(t.adler=H(t.adler,a.pending_buf,a.pending-f,f))}a.status=103}if(103===a.status){if(a.gzhead.hcrc){if(a.pending+2>a.pending_buf_size&&(xt(t),0!==a.pending))return a.last_flush=-1,tt;At(a,255&t.adler),At(a,t.adler>>8&255),t.adler=0}if(a.status=mt,xt(t),0!==a.pending)return a.last_flush=-1,tt}if(0!==t.avail_in||0!==a.lookahead||e!==q&&a.status!==bt){var u=0===a.level?Ut(a,e):a.strategy===ot?function(t,e){for(var a;;){if(0===t.lookahead&&(St(t),0===t.lookahead)){if(e===q)return 1;break}if(t.match_length=0,a=X(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,a&&(zt(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(zt(t,!1),0===t.strm.avail_out)?1:2}(a,e):a.strategy===lt?function(t,e){for(var a,n,i,r,s=t.window;;){if(t.lookahead<=ut){if(St(t),t.lookahead<=ut&&e===q)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(n=s[i=t.strstart-1])===s[++i]&&n===s[++i]&&n===s[++i]){r=t.strstart+ut;do{}while(n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&i<r);t.match_length=ut-(r-i),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(a=X(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(a=X(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),a&&(zt(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(zt(t,!1),0===t.strm.avail_out)?1:2}(a,e):It[a.level].func(a,e);if(3!==u&&4!==u||(a.status=bt),1===u||3===u)return 0===t.avail_out&&(a.last_flush=-1),tt;if(2===u&&(e===J?W(a):e!==$&&(Y(a,0,0,!1),e===Q&&(vt(a.head),0===a.lookahead&&(a.strstart=0,a.block_start=0,a.insert=0))),xt(t),0===t.avail_out))return a.last_flush=-1,tt}return e!==V?tt:a.wrap<=0?et:(2===a.wrap?(At(a,255&t.adler),At(a,t.adler>>8&255),At(a,t.adler>>16&255),At(a,t.adler>>24&255),At(a,255&t.total_in),At(a,t.total_in>>8&255),At(a,t.total_in>>16&255),At(a,t.total_in>>24&255)):(Et(a,t.adler>>>16),Et(a,65535&t.adler)),xt(t),a.wrap>0&&(a.wrap=-a.wrap),0!==a.pending?tt:et)},deflateEnd:function(t){if(Lt(t))return at;var e=t.state.status;return t.state=null,e===mt?gt(t,nt):tt},deflateSetDictionary:function(t,e){var a=e.length;if(Lt(t))return at;var n=t.state,i=n.wrap;if(2===i||1===i&&n.status!==wt||n.lookahead)return at;if(1===i&&(t.adler=C(t.adler,e,a,0)),n.wrap=0,a>=n.w_size){0===i&&(vt(n.head),n.strstart=0,n.block_start=0,n.insert=0);var r=new Uint8Array(n.w_size);r.set(e.subarray(a-n.w_size,a),0),e=r,a=n.w_size}var s=t.avail_in,o=t.next_in,l=t.input;for(t.avail_in=a,t.next_in=0,t.input=e,St(n);n.lookahead>=3;){var h=n.strstart,d=n.lookahead-2;do{n.ins_h=yt(n,n.ins_h,n.window[h+3-1]),n.prev[h&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=h,h++}while(--d);n.strstart=h,n.lookahead=2,St(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=2,n.match_available=0,t.next_in=o,t.input=l,t.avail_in=s,n.wrap=i,tt},deflateInfo:"pako deflate (from Nodeca project)"};function Ht(t){return Ht="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},Ht(t)}var jt=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},Kt=function(t){for(var e=Array.prototype.slice.call(arguments,1);e.length;){var a=e.shift();if(a){if("object"!==Ht(a))throw new TypeError(a+"must be non-object");for(var n in a)jt(a,n)&&(t[n]=a[n])}}return t},Pt=function(t){for(var e=0,a=0,n=t.length;a<n;a++)e+=t[a].length;for(var i=new Uint8Array(e),r=0,s=0,o=t.length;r<o;r++){var l=t[r];i.set(l,s),s+=l.length}return i},Yt=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){Yt=!1}for(var Gt=new Uint8Array(256),Xt=0;Xt<256;Xt++)Gt[Xt]=Xt>=252?6:Xt>=248?5:Xt>=240?4:Xt>=224?3:Xt>=192?2:1;Gt[254]=Gt[254]=1;var Wt=function(t){if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(t);var e,a,n,i,r,s=t.length,o=0;for(i=0;i<s;i++)55296==(64512&(a=t.charCodeAt(i)))&&i+1<s&&56320==(64512&(n=t.charCodeAt(i+1)))&&(a=65536+(a-55296<<10)+(n-56320),i++),o+=a<128?1:a<2048?2:a<65536?3:4;for(e=new Uint8Array(o),r=0,i=0;r<o;i++)55296==(64512&(a=t.charCodeAt(i)))&&i+1<s&&56320==(64512&(n=t.charCodeAt(i+1)))&&(a=65536+(a-55296<<10)+(n-56320),i++),a<128?e[r++]=a:a<2048?(e[r++]=192|a>>>6,e[r++]=128|63&a):a<65536?(e[r++]=224|a>>>12,e[r++]=128|a>>>6&63,e[r++]=128|63&a):(e[r++]=240|a>>>18,e[r++]=128|a>>>12&63,e[r++]=128|a>>>6&63,e[r++]=128|63&a);return e},qt=function(t,e){var a,n,i=e||t.length;if("function"==typeof TextDecoder&&TextDecoder.prototype.decode)return(new TextDecoder).decode(t.subarray(0,e));var r=new Array(2*i);for(n=0,a=0;a<i;){var s=t[a++];if(s<128)r[n++]=s;else{var o=Gt[s];if(o>4)r[n++]=65533,a+=o-1;else{for(s&=2===o?31:3===o?15:7;o>1&&a<i;)s=s<<6|63&t[a++],o--;o>1?r[n++]=65533:s<65536?r[n++]=s:(s-=65536,r[n++]=55296|s>>10&1023,r[n++]=56320|1023&s)}}}return function(t,e){if(e<65534&&t.subarray&&Yt)return String.fromCharCode.apply(null,t.length===e?t:t.subarray(0,e));for(var a="",n=0;n<e;n++)a+=String.fromCharCode(t[n]);return a}(r,n)},Jt=function(t,e){(e=e||t.length)>t.length&&(e=t.length);for(var a=e-1;a>=0&&128==(192&t[a]);)a--;return a<0||0===a?e:a+Gt[t[a]]>e?a:e};var Qt=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0},Vt=Object.prototype.toString,$t=K.Z_NO_FLUSH,te=K.Z_SYNC_FLUSH,ee=K.Z_FULL_FLUSH,ae=K.Z_FINISH,ne=K.Z_OK,ie=K.Z_STREAM_END,re=K.Z_DEFAULT_COMPRESSION,se=K.Z_DEFAULT_STRATEGY,oe=K.Z_DEFLATED;function le(t){this.options=Kt({level:re,method:oe,chunkSize:16384,windowBits:15,memLevel:8,strategy:se},t||{});var e=this.options;e.raw&&e.windowBits>0?e.windowBits=-e.windowBits:e.gzip&&e.windowBits>0&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Qt,this.strm.avail_out=0;var a=Mt.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(a!==ne)throw new Error(j[a]);if(e.header&&Mt.deflateSetHeader(this.strm,e.header),e.dictionary){var n;if(n="string"==typeof e.dictionary?Wt(e.dictionary):"[object ArrayBuffer]"===Vt.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,(a=Mt.deflateSetDictionary(this.strm,n))!==ne)throw new Error(j[a]);this._dict_set=!0}}function he(t,e){var a=new le(e);if(a.push(t,!0),a.err)throw a.msg||j[a.err];return a.result}le.prototype.push=function(t,e){var a,n,i=this.strm,r=this.options.chunkSize;if(this.ended)return!1;for(n=e===~~e?e:!0===e?ae:$t,"string"==typeof t?i.input=Wt(t):"[object ArrayBuffer]"===Vt.call(t)?i.input=new Uint8Array(t):i.input=t,i.next_in=0,i.avail_in=i.input.length;;)if(0===i.avail_out&&(i.output=new Uint8Array(r),i.next_out=0,i.avail_out=r),(n===te||n===ee)&&i.avail_out<=6)this.onData(i.output.subarray(0,i.next_out)),i.avail_out=0;else{if((a=Mt.deflate(i,n))===ie)return i.next_out>0&&this.onData(i.output.subarray(0,i.next_out)),a=Mt.deflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===ne;if(0!==i.avail_out){if(n>0&&i.next_out>0)this.onData(i.output.subarray(0,i.next_out)),i.avail_out=0;else if(0===i.avail_in)break}else this.onData(i.output)}return!0},le.prototype.onData=function(t){this.chunks.push(t)},le.prototype.onEnd=function(t){t===ne&&(this.result=Pt(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};var de={Deflate:le,deflate:he,deflateRaw:function(t,e){return(e=e||{}).raw=!0,he(t,e)},gzip:function(t,e){return(e=e||{}).gzip=!0,he(t,e)},constants:K},_e=16209,fe=function(t,e){var a,n,i,r,s,o,l,h,d,_,f,u,c,w,m,b,g,p,v,k,y,x,z,A,E=t.state;a=t.next_in,z=t.input,n=a+(t.avail_in-5),i=t.next_out,A=t.output,r=i-(e-t.avail_out),s=i+(t.avail_out-257),o=E.dmax,l=E.wsize,h=E.whave,d=E.wnext,_=E.window,f=E.hold,u=E.bits,c=E.lencode,w=E.distcode,m=(1<<E.lenbits)-1,b=(1<<E.distbits)-1;t:do{u<15&&(f+=z[a++]<<u,u+=8,f+=z[a++]<<u,u+=8),g=c[f&m];e:for(;;){if(f>>>=p=g>>>24,u-=p,0===(p=g>>>16&255))A[i++]=65535&g;else{if(!(16&p)){if(0==(64&p)){g=c[(65535&g)+(f&(1<<p)-1)];continue e}if(32&p){E.mode=16191;break t}t.msg="invalid literal/length code",E.mode=_e;break t}v=65535&g,(p&=15)&&(u<p&&(f+=z[a++]<<u,u+=8),v+=f&(1<<p)-1,f>>>=p,u-=p),u<15&&(f+=z[a++]<<u,u+=8,f+=z[a++]<<u,u+=8),g=w[f&b];a:for(;;){if(f>>>=p=g>>>24,u-=p,!(16&(p=g>>>16&255))){if(0==(64&p)){g=w[(65535&g)+(f&(1<<p)-1)];continue a}t.msg="invalid distance code",E.mode=_e;break t}if(k=65535&g,u<(p&=15)&&(f+=z[a++]<<u,(u+=8)<p&&(f+=z[a++]<<u,u+=8)),(k+=f&(1<<p)-1)>o){t.msg="invalid distance too far back",E.mode=_e;break t}if(f>>>=p,u-=p,k>(p=i-r)){if((p=k-p)>h&&E.sane){t.msg="invalid distance too far back",E.mode=_e;break t}if(y=0,x=_,0===d){if(y+=l-p,p<v){v-=p;do{A[i++]=_[y++]}while(--p);y=i-k,x=A}}else if(d<p){if(y+=l+d-p,(p-=d)<v){v-=p;do{A[i++]=_[y++]}while(--p);if(y=0,d<v){v-=p=d;do{A[i++]=_[y++]}while(--p);y=i-k,x=A}}}else if(y+=d-p,p<v){v-=p;do{A[i++]=_[y++]}while(--p);y=i-k,x=A}for(;v>2;)A[i++]=x[y++],A[i++]=x[y++],A[i++]=x[y++],v-=3;v&&(A[i++]=x[y++],v>1&&(A[i++]=x[y++]))}else{y=i-k;do{A[i++]=A[y++],A[i++]=A[y++],A[i++]=A[y++],v-=3}while(v>2);v&&(A[i++]=A[y++],v>1&&(A[i++]=A[y++]))}break}}break}}while(a<n&&i<s);a-=v=u>>3,f&=(1<<(u-=v<<3))-1,t.next_in=a,t.next_out=i,t.avail_in=a<n?n-a+5:5-(a-n),t.avail_out=i<s?s-i+257:257-(i-s),E.hold=f,E.bits=u},ue=15,ce=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),we=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),me=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),be=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]),ge=function(t,e,a,n,i,r,s,o){var l,h,d,_,f,u,c,w,m,b=o.bits,g=0,p=0,v=0,k=0,y=0,x=0,z=0,A=0,E=0,R=0,Z=null,S=new Uint16Array(16),U=new Uint16Array(16),D=null;for(g=0;g<=ue;g++)S[g]=0;for(p=0;p<n;p++)S[e[a+p]]++;for(y=b,k=ue;k>=1&&0===S[k];k--);if(y>k&&(y=k),0===k)return i[r++]=20971520,i[r++]=20971520,o.bits=1,0;for(v=1;v<k&&0===S[v];v++);for(y<v&&(y=v),A=1,g=1;g<=ue;g++)if(A<<=1,(A-=S[g])<0)return-1;if(A>0&&(0===t||1!==k))return-1;for(U[1]=0,g=1;g<ue;g++)U[g+1]=U[g]+S[g];for(p=0;p<n;p++)0!==e[a+p]&&(s[U[e[a+p]]++]=p);if(0===t?(Z=D=s,u=20):1===t?(Z=ce,D=we,u=257):(Z=me,D=be,u=0),R=0,p=0,g=v,f=r,x=y,z=0,d=-1,_=(E=1<<y)-1,1===t&&E>852||2===t&&E>592)return 1;for(;;){c=g-z,s[p]+1<u?(w=0,m=s[p]):s[p]>=u?(w=D[s[p]-u],m=Z[s[p]-u]):(w=96,m=0),l=1<<g-z,v=h=1<<x;do{i[f+(R>>z)+(h-=l)]=c<<24|w<<16|m|0}while(0!==h);for(l=1<<g-1;R&l;)l>>=1;if(0!==l?(R&=l-1,R+=l):R=0,p++,0==--S[g]){if(g===k)break;g=e[a+s[p]]}if(g>y&&(R&_)!==d){for(0===z&&(z=y),f+=v,A=1<<(x=g-z);x+z<k&&!((A-=S[x+z])<=0);)x++,A<<=1;if(E+=1<<x,1===t&&E>852||2===t&&E>592)return 1;i[d=R&_]=y<<24|x<<16|f-r|0}}return 0!==R&&(i[f+R]=g-z<<24|64<<16|0),o.bits=y,0},pe=K.Z_FINISH,ve=K.Z_BLOCK,ke=K.Z_TREES,ye=K.Z_OK,xe=K.Z_STREAM_END,ze=K.Z_NEED_DICT,Ae=K.Z_STREAM_ERROR,Ee=K.Z_DATA_ERROR,Re=K.Z_MEM_ERROR,Ze=K.Z_BUF_ERROR,Se=K.Z_DEFLATED,Ue=16180,De=16190,Te=16191,Oe=16192,Ie=16194,Fe=16199,Le=16200,Ne=16206,Be=16209,Ce=function(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)};function Me(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}var He,je,Ke=function(t){if(!t)return 1;var e=t.state;return!e||e.strm!==t||e.mode<Ue||e.mode>16211?1:0},Pe=function(t){if(Ke(t))return Ae;var e=t.state;return t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=Ue,e.last=0,e.havedict=0,e.flags=-1,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new Int32Array(852),e.distcode=e.distdyn=new Int32Array(592),e.sane=1,e.back=-1,ye},Ye=function(t){if(Ke(t))return Ae;var e=t.state;return e.wsize=0,e.whave=0,e.wnext=0,Pe(t)},Ge=function(t,e){var a;if(Ke(t))return Ae;var n=t.state;return e<0?(a=0,e=-e):(a=5+(e>>4),e<48&&(e&=15)),e&&(e<8||e>15)?Ae:(null!==n.window&&n.wbits!==e&&(n.window=null),n.wrap=a,n.wbits=e,Ye(t))},Xe=function(t,e){if(!t)return Ae;var a=new Me;t.state=a,a.strm=t,a.window=null,a.mode=Ue;var n=Ge(t,e);return n!==ye&&(t.state=null),n},We=!0,qe=function(t){if(We){He=new Int32Array(512),je=new Int32Array(32);for(var e=0;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(ge(1,t.lens,0,288,He,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;ge(2,t.lens,0,32,je,0,t.work,{bits:5}),We=!1}t.lencode=He,t.lenbits=9,t.distcode=je,t.distbits=5},Je=function(t,e,a,n){var i,r=t.state;return null===r.window&&(r.wsize=1<<r.wbits,r.wnext=0,r.whave=0,r.window=new Uint8Array(r.wsize)),n>=r.wsize?(r.window.set(e.subarray(a-r.wsize,a),0),r.wnext=0,r.whave=r.wsize):((i=r.wsize-r.wnext)>n&&(i=n),r.window.set(e.subarray(a-n,a-n+i),r.wnext),(n-=i)?(r.window.set(e.subarray(a-n,a),0),r.wnext=n,r.whave=r.wsize):(r.wnext+=i,r.wnext===r.wsize&&(r.wnext=0),r.whave<r.wsize&&(r.whave+=i))),0},Qe={inflateReset:Ye,inflateReset2:Ge,inflateResetKeep:Pe,inflateInit:function(t){return Xe(t,15)},inflateInit2:Xe,inflate:function(t,e){var a,n,i,r,s,o,l,h,d,_,f,u,c,w,m,b,g,p,v,k,y,x,z,A,E=0,R=new Uint8Array(4),Z=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(Ke(t)||!t.output||!t.input&&0!==t.avail_in)return Ae;(a=t.state).mode===Te&&(a.mode=Oe),s=t.next_out,i=t.output,l=t.avail_out,r=t.next_in,n=t.input,o=t.avail_in,h=a.hold,d=a.bits,_=o,f=l,x=ye;t:for(;;)switch(a.mode){case Ue:if(0===a.wrap){a.mode=Oe;break}for(;d<16;){if(0===o)break t;o--,h+=n[r++]<<d,d+=8}if(2&a.wrap&&35615===h){0===a.wbits&&(a.wbits=15),a.check=0,R[0]=255&h,R[1]=h>>>8&255,a.check=H(a.check,R,2,0),h=0,d=0,a.mode=16181;break}if(a.head&&(a.head.done=!1),!(1&a.wrap)||(((255&h)<<8)+(h>>8))%31){t.msg="incorrect header check",a.mode=Be;break}if((15&h)!==Se){t.msg="unknown compression method",a.mode=Be;break}if(d-=4,y=8+(15&(h>>>=4)),0===a.wbits&&(a.wbits=y),y>15||y>a.wbits){t.msg="invalid window size",a.mode=Be;break}a.dmax=1<<a.wbits,a.flags=0,t.adler=a.check=1,a.mode=512&h?16189:Te,h=0,d=0;break;case 16181:for(;d<16;){if(0===o)break t;o--,h+=n[r++]<<d,d+=8}if(a.flags=h,(255&a.flags)!==Se){t.msg="unknown compression method",a.mode=Be;break}if(57344&a.flags){t.msg="unknown header flags set",a.mode=Be;break}a.head&&(a.head.text=h>>8&1),512&a.flags&&4&a.wrap&&(R[0]=255&h,R[1]=h>>>8&255,a.check=H(a.check,R,2,0)),h=0,d=0,a.mode=16182;case 16182:for(;d<32;){if(0===o)break t;o--,h+=n[r++]<<d,d+=8}a.head&&(a.head.time=h),512&a.flags&&4&a.wrap&&(R[0]=255&h,R[1]=h>>>8&255,R[2]=h>>>16&255,R[3]=h>>>24&255,a.check=H(a.check,R,4,0)),h=0,d=0,a.mode=16183;case 16183:for(;d<16;){if(0===o)break t;o--,h+=n[r++]<<d,d+=8}a.head&&(a.head.xflags=255&h,a.head.os=h>>8),512&a.flags&&4&a.wrap&&(R[0]=255&h,R[1]=h>>>8&255,a.check=H(a.check,R,2,0)),h=0,d=0,a.mode=16184;case 16184:if(1024&a.flags){for(;d<16;){if(0===o)break t;o--,h+=n[r++]<<d,d+=8}a.length=h,a.head&&(a.head.extra_len=h),512&a.flags&&4&a.wrap&&(R[0]=255&h,R[1]=h>>>8&255,a.check=H(a.check,R,2,0)),h=0,d=0}else a.head&&(a.head.extra=null);a.mode=16185;case 16185:if(1024&a.flags&&((u=a.length)>o&&(u=o),u&&(a.head&&(y=a.head.extra_len-a.length,a.head.extra||(a.head.extra=new Uint8Array(a.head.extra_len)),a.head.extra.set(n.subarray(r,r+u),y)),512&a.flags&&4&a.wrap&&(a.check=H(a.check,n,u,r)),o-=u,r+=u,a.length-=u),a.length))break t;a.length=0,a.mode=16186;case 16186:if(2048&a.flags){if(0===o)break t;u=0;do{y=n[r+u++],a.head&&y&&a.length<65536&&(a.head.name+=String.fromCharCode(y))}while(y&&u<o);if(512&a.flags&&4&a.wrap&&(a.check=H(a.check,n,u,r)),o-=u,r+=u,y)break t}else a.head&&(a.head.name=null);a.length=0,a.mode=16187;case 16187:if(4096&a.flags){if(0===o)break t;u=0;do{y=n[r+u++],a.head&&y&&a.length<65536&&(a.head.comment+=String.fromCharCode(y))}while(y&&u<o);if(512&a.flags&&4&a.wrap&&(a.check=H(a.check,n,u,r)),o-=u,r+=u,y)break t}else a.head&&(a.head.comment=null);a.mode=16188;case 16188:if(512&a.flags){for(;d<16;){if(0===o)break t;o--,h+=n[r++]<<d,d+=8}if(4&a.wrap&&h!==(65535&a.check)){t.msg="header crc mismatch",a.mode=Be;break}h=0,d=0}a.head&&(a.head.hcrc=a.flags>>9&1,a.head.done=!0),t.adler=a.check=0,a.mode=Te;break;case 16189:for(;d<32;){if(0===o)break t;o--,h+=n[r++]<<d,d+=8}t.adler=a.check=Ce(h),h=0,d=0,a.mode=De;case De:if(0===a.havedict)return t.next_out=s,t.avail_out=l,t.next_in=r,t.avail_in=o,a.hold=h,a.bits=d,ze;t.adler=a.check=1,a.mode=Te;case Te:if(e===ve||e===ke)break t;case Oe:if(a.last){h>>>=7&d,d-=7&d,a.mode=Ne;break}for(;d<3;){if(0===o)break t;o--,h+=n[r++]<<d,d+=8}switch(a.last=1&h,d-=1,3&(h>>>=1)){case 0:a.mode=16193;break;case 1:if(qe(a),a.mode=Fe,e===ke){h>>>=2,d-=2;break t}break;case 2:a.mode=16196;break;case 3:t.msg="invalid block type",a.mode=Be}h>>>=2,d-=2;break;case 16193:for(h>>>=7&d,d-=7&d;d<32;){if(0===o)break t;o--,h+=n[r++]<<d,d+=8}if((65535&h)!=(h>>>16^65535)){t.msg="invalid stored block lengths",a.mode=Be;break}if(a.length=65535&h,h=0,d=0,a.mode=Ie,e===ke)break t;case Ie:a.mode=16195;case 16195:if(u=a.length){if(u>o&&(u=o),u>l&&(u=l),0===u)break t;i.set(n.subarray(r,r+u),s),o-=u,r+=u,l-=u,s+=u,a.length-=u;break}a.mode=Te;break;case 16196:for(;d<14;){if(0===o)break t;o--,h+=n[r++]<<d,d+=8}if(a.nlen=257+(31&h),h>>>=5,d-=5,a.ndist=1+(31&h),h>>>=5,d-=5,a.ncode=4+(15&h),h>>>=4,d-=4,a.nlen>286||a.ndist>30){t.msg="too many length or distance symbols",a.mode=Be;break}a.have=0,a.mode=16197;case 16197:for(;a.have<a.ncode;){for(;d<3;){if(0===o)break t;o--,h+=n[r++]<<d,d+=8}a.lens[Z[a.have++]]=7&h,h>>>=3,d-=3}for(;a.have<19;)a.lens[Z[a.have++]]=0;if(a.lencode=a.lendyn,a.lenbits=7,z={bits:a.lenbits},x=ge(0,a.lens,0,19,a.lencode,0,a.work,z),a.lenbits=z.bits,x){t.msg="invalid code lengths set",a.mode=Be;break}a.have=0,a.mode=16198;case 16198:for(;a.have<a.nlen+a.ndist;){for(;b=(E=a.lencode[h&(1<<a.lenbits)-1])>>>16&255,g=65535&E,!((m=E>>>24)<=d);){if(0===o)break t;o--,h+=n[r++]<<d,d+=8}if(g<16)h>>>=m,d-=m,a.lens[a.have++]=g;else{if(16===g){for(A=m+2;d<A;){if(0===o)break t;o--,h+=n[r++]<<d,d+=8}if(h>>>=m,d-=m,0===a.have){t.msg="invalid bit length repeat",a.mode=Be;break}y=a.lens[a.have-1],u=3+(3&h),h>>>=2,d-=2}else if(17===g){for(A=m+3;d<A;){if(0===o)break t;o--,h+=n[r++]<<d,d+=8}d-=m,y=0,u=3+(7&(h>>>=m)),h>>>=3,d-=3}else{for(A=m+7;d<A;){if(0===o)break t;o--,h+=n[r++]<<d,d+=8}d-=m,y=0,u=11+(127&(h>>>=m)),h>>>=7,d-=7}if(a.have+u>a.nlen+a.ndist){t.msg="invalid bit length repeat",a.mode=Be;break}for(;u--;)a.lens[a.have++]=y}}if(a.mode===Be)break;if(0===a.lens[256]){t.msg="invalid code -- missing end-of-block",a.mode=Be;break}if(a.lenbits=9,z={bits:a.lenbits},x=ge(1,a.lens,0,a.nlen,a.lencode,0,a.work,z),a.lenbits=z.bits,x){t.msg="invalid literal/lengths set",a.mode=Be;break}if(a.distbits=6,a.distcode=a.distdyn,z={bits:a.distbits},x=ge(2,a.lens,a.nlen,a.ndist,a.distcode,0,a.work,z),a.distbits=z.bits,x){t.msg="invalid distances set",a.mode=Be;break}if(a.mode=Fe,e===ke)break t;case Fe:a.mode=Le;case Le:if(o>=6&&l>=258){t.next_out=s,t.avail_out=l,t.next_in=r,t.avail_in=o,a.hold=h,a.bits=d,fe(t,f),s=t.next_out,i=t.output,l=t.avail_out,r=t.next_in,n=t.input,o=t.avail_in,h=a.hold,d=a.bits,a.mode===Te&&(a.back=-1);break}for(a.back=0;b=(E=a.lencode[h&(1<<a.lenbits)-1])>>>16&255,g=65535&E,!((m=E>>>24)<=d);){if(0===o)break t;o--,h+=n[r++]<<d,d+=8}if(b&&0==(240&b)){for(p=m,v=b,k=g;b=(E=a.lencode[k+((h&(1<<p+v)-1)>>p)])>>>16&255,g=65535&E,!(p+(m=E>>>24)<=d);){if(0===o)break t;o--,h+=n[r++]<<d,d+=8}h>>>=p,d-=p,a.back+=p}if(h>>>=m,d-=m,a.back+=m,a.length=g,0===b){a.mode=16205;break}if(32&b){a.back=-1,a.mode=Te;break}if(64&b){t.msg="invalid literal/length code",a.mode=Be;break}a.extra=15&b,a.mode=16201;case 16201:if(a.extra){for(A=a.extra;d<A;){if(0===o)break t;o--,h+=n[r++]<<d,d+=8}a.length+=h&(1<<a.extra)-1,h>>>=a.extra,d-=a.extra,a.back+=a.extra}a.was=a.length,a.mode=16202;case 16202:for(;b=(E=a.distcode[h&(1<<a.distbits)-1])>>>16&255,g=65535&E,!((m=E>>>24)<=d);){if(0===o)break t;o--,h+=n[r++]<<d,d+=8}if(0==(240&b)){for(p=m,v=b,k=g;b=(E=a.distcode[k+((h&(1<<p+v)-1)>>p)])>>>16&255,g=65535&E,!(p+(m=E>>>24)<=d);){if(0===o)break t;o--,h+=n[r++]<<d,d+=8}h>>>=p,d-=p,a.back+=p}if(h>>>=m,d-=m,a.back+=m,64&b){t.msg="invalid distance code",a.mode=Be;break}a.offset=g,a.extra=15&b,a.mode=16203;case 16203:if(a.extra){for(A=a.extra;d<A;){if(0===o)break t;o--,h+=n[r++]<<d,d+=8}a.offset+=h&(1<<a.extra)-1,h>>>=a.extra,d-=a.extra,a.back+=a.extra}if(a.offset>a.dmax){t.msg="invalid distance too far back",a.mode=Be;break}a.mode=16204;case 16204:if(0===l)break t;if(u=f-l,a.offset>u){if((u=a.offset-u)>a.whave&&a.sane){t.msg="invalid distance too far back",a.mode=Be;break}u>a.wnext?(u-=a.wnext,c=a.wsize-u):c=a.wnext-u,u>a.length&&(u=a.length),w=a.window}else w=i,c=s-a.offset,u=a.length;u>l&&(u=l),l-=u,a.length-=u;do{i[s++]=w[c++]}while(--u);0===a.length&&(a.mode=Le);break;case 16205:if(0===l)break t;i[s++]=a.length,l--,a.mode=Le;break;case Ne:if(a.wrap){for(;d<32;){if(0===o)break t;o--,h|=n[r++]<<d,d+=8}if(f-=l,t.total_out+=f,a.total+=f,4&a.wrap&&f&&(t.adler=a.check=a.flags?H(a.check,i,f,s-f):C(a.check,i,f,s-f)),f=l,4&a.wrap&&(a.flags?h:Ce(h))!==a.check){t.msg="incorrect data check",a.mode=Be;break}h=0,d=0}a.mode=16207;case 16207:if(a.wrap&&a.flags){for(;d<32;){if(0===o)break t;o--,h+=n[r++]<<d,d+=8}if(4&a.wrap&&h!==(4294967295&a.total)){t.msg="incorrect length check",a.mode=Be;break}h=0,d=0}a.mode=16208;case 16208:x=xe;break t;case Be:x=Ee;break t;case 16210:return Re;default:return Ae}return t.next_out=s,t.avail_out=l,t.next_in=r,t.avail_in=o,a.hold=h,a.bits=d,(a.wsize||f!==t.avail_out&&a.mode<Be&&(a.mode<Ne||e!==pe))&&Je(t,t.output,t.next_out,f-t.avail_out),_-=t.avail_in,f-=t.avail_out,t.total_in+=_,t.total_out+=f,a.total+=f,4&a.wrap&&f&&(t.adler=a.check=a.flags?H(a.check,i,f,t.next_out-f):C(a.check,i,f,t.next_out-f)),t.data_type=a.bits+(a.last?64:0)+(a.mode===Te?128:0)+(a.mode===Fe||a.mode===Ie?256:0),(0===_&&0===f||e===pe)&&x===ye&&(x=Ze),x},inflateEnd:function(t){if(Ke(t))return Ae;var e=t.state;return e.window&&(e.window=null),t.state=null,ye},inflateGetHeader:function(t,e){if(Ke(t))return Ae;var a=t.state;return 0==(2&a.wrap)?Ae:(a.head=e,e.done=!1,ye)},inflateSetDictionary:function(t,e){var a,n=e.length;return Ke(t)||0!==(a=t.state).wrap&&a.mode!==De?Ae:a.mode===De&&C(1,e,n,0)!==a.check?Ee:Je(t,e,n,n)?(a.mode=16210,Re):(a.havedict=1,ye)},inflateInfo:"pako inflate (from Nodeca project)"};var Ve=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1},$e=Object.prototype.toString,ta=K.Z_NO_FLUSH,ea=K.Z_FINISH,aa=K.Z_OK,na=K.Z_STREAM_END,ia=K.Z_NEED_DICT,ra=K.Z_STREAM_ERROR,sa=K.Z_DATA_ERROR,oa=K.Z_MEM_ERROR;function la(t){this.options=Kt({chunkSize:65536,windowBits:15,to:""},t||{});var e=this.options;e.raw&&e.windowBits>=0&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(e.windowBits>=0&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),e.windowBits>15&&e.windowBits<48&&0==(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Qt,this.strm.avail_out=0;var a=Qe.inflateInit2(this.strm,e.windowBits);if(a!==aa)throw new Error(j[a]);if(this.header=new Ve,Qe.inflateGetHeader(this.strm,this.header),e.dictionary&&("string"==typeof e.dictionary?e.dictionary=Wt(e.dictionary):"[object ArrayBuffer]"===$e.call(e.dictionary)&&(e.dictionary=new Uint8Array(e.dictionary)),e.raw&&(a=Qe.inflateSetDictionary(this.strm,e.dictionary))!==aa))throw new Error(j[a])}function ha(t,e){var a=new la(e);if(a.push(t),a.err)throw a.msg||j[a.err];return a.result}la.prototype.push=function(t,e){var a,n,i,r=this.strm,s=this.options.chunkSize,o=this.options.dictionary;if(this.ended)return!1;for(n=e===~~e?e:!0===e?ea:ta,"[object ArrayBuffer]"===$e.call(t)?r.input=new Uint8Array(t):r.input=t,r.next_in=0,r.avail_in=r.input.length;;){for(0===r.avail_out&&(r.output=new Uint8Array(s),r.next_out=0,r.avail_out=s),(a=Qe.inflate(r,n))===ia&&o&&((a=Qe.inflateSetDictionary(r,o))===aa?a=Qe.inflate(r,n):a===sa&&(a=ia));r.avail_in>0&&a===na&&r.state.wrap>0&&0!==t[r.next_in];)Qe.inflateReset(r),a=Qe.inflate(r,n);switch(a){case ra:case sa:case ia:case oa:return this.onEnd(a),this.ended=!0,!1}if(i=r.avail_out,r.next_out&&(0===r.avail_out||a===na))if("string"===this.options.to){var l=Jt(r.output,r.next_out),h=r.next_out-l,d=qt(r.output,l);r.next_out=h,r.avail_out=s-h,h&&r.output.set(r.output.subarray(l,l+h),0),this.onData(d)}else this.onData(r.output.length===r.next_out?r.output:r.output.subarray(0,r.next_out));if(a!==aa||0!==i){if(a===na)return a=Qe.inflateEnd(this.strm),this.onEnd(a),this.ended=!0,!0;if(0===r.avail_in)break}}return!0},la.prototype.onData=function(t){this.chunks.push(t)},la.prototype.onEnd=function(t){t===aa&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=Pt(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};var da={Inflate:la,inflate:ha,inflateRaw:function(t,e){return(e=e||{}).raw=!0,ha(t,e)},ungzip:ha,constants:K},_a=de.Deflate,fa=de.deflate,ua=de.deflateRaw,ca=de.gzip,wa=da.Inflate,ma=da.inflate,ba=da.inflateRaw,ga=da.ungzip,pa=K,va={Deflate:_a,deflate:fa,deflateRaw:ua,gzip:ca,Inflate:wa,inflate:ma,inflateRaw:ba,ungzip:ga,constants:pa};t.Deflate=_a,t.Inflate=wa,t.constants=pa,t.default=va,t.deflate=fa,t.deflateRaw=ua,t.gzip=ca,t.inflate=ma,t.inflateRaw=ba,t.ungzip=ga,Object.defineProperty(t,"__esModule",{value:!0})}));
var rough=function(){"use strict";function t(t,e,s){if(t&&t.length){const[n,o]=e,a=Math.PI/180*s,h=Math.cos(a),r=Math.sin(a);for(const e of t){const[t,s]=e;e[0]=(t-n)*h-(s-o)*r+n,e[1]=(t-n)*r+(s-o)*h+o}}}function e(t,e){return t[0]===e[0]&&t[1]===e[1]}function s(s,n,o,a=1){const h=o,r=Math.max(n,.1),i=s[0]&&s[0][0]&&"number"==typeof s[0][0]?[s]:s,c=[0,0];if(h)for(const e of i)t(e,c,h);const l=function(t,s,n){const o=[];for(const s of t){const t=[...s];e(t[0],t[t.length-1])||t.push([t[0][0],t[0][1]]),t.length>2&&o.push(t)}const a=[];s=Math.max(s,.1);const h=[];for(const t of o)for(let e=0;e<t.length-1;e++){const s=t[e],n=t[e+1];if(s[1]!==n[1]){const t=Math.min(s[1],n[1]);h.push({ymin:t,ymax:Math.max(s[1],n[1]),x:t===s[1]?s[0]:n[0],islope:(n[0]-s[0])/(n[1]-s[1])})}}if(h.sort(((t,e)=>t.ymin<e.ymin?-1:t.ymin>e.ymin?1:t.x<e.x?-1:t.x>e.x?1:t.ymax===e.ymax?0:(t.ymax-e.ymax)/Math.abs(t.ymax-e.ymax))),!h.length)return a;let r=[],i=h[0].ymin,c=0;for(;r.length||h.length;){if(h.length){let t=-1;for(let e=0;e<h.length&&!(h[e].ymin>i);e++)t=e;h.splice(0,t+1).forEach((t=>{r.push({s:i,edge:t})}))}if(r=r.filter((t=>!(t.edge.ymax<=i))),r.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!==n||c%s==0)&&r.length>1)for(let t=0;t<r.length;t+=2){const e=t+1;if(e>=r.length)break;const s=r[t].edge,n=r[e].edge;a.push([[Math.round(s.x),i],[Math.round(n.x),i]])}i+=n,r.forEach((t=>{t.edge.x=t.edge.x+n*t.edge.islope})),c++}return a}(i,r,a);if(h){for(const e of i)t(e,c,-h);!function(e,s,n){const o=[];e.forEach((t=>o.push(...t))),t(o,s,n)}(l,c,-h)}return l}function n(t,e){var n;const o=e.hachureAngle+90;let a=e.hachureGap;a<0&&(a=4*e.strokeWidth),a=Math.round(Math.max(a,.1));let h=1;return e.roughness>=1&&((null===(n=e.randomizer)||void 0===n?void 0:n.next())||Math.random())>.7&&(h=a),s(t,a,o,h||1)}class o{constructor(t){this.helper=t}fillPolygons(t,e){return this._fillPolygons(t,e)}_fillPolygons(t,e){const s=n(t,e);return{type:"fillSketch",ops:this.renderLines(s,e)}}renderLines(t,e){const s=[];for(const n of t)s.push(...this.helper.doubleLineOps(n[0][0],n[0][1],n[1][0],n[1][1],e));return s}}function a(t){const e=t[0],s=t[1];return Math.sqrt(Math.pow(e[0]-s[0],2)+Math.pow(e[1]-s[1],2))}class h extends o{fillPolygons(t,e){let s=e.hachureGap;s<0&&(s=4*e.strokeWidth),s=Math.max(s,.1);const o=n(t,Object.assign({},e,{hachureGap:s})),h=Math.PI/180*e.hachureAngle,r=[],i=.5*s*Math.cos(h),c=.5*s*Math.sin(h);for(const[t,e]of o)a([t,e])&&r.push([[t[0]-i,t[1]+c],[...e]],[[t[0]+i,t[1]-c],[...e]]);return{type:"fillSketch",ops:this.renderLines(r,e)}}}class r extends o{fillPolygons(t,e){const s=this._fillPolygons(t,e),n=Object.assign({},e,{hachureAngle:e.hachureAngle+90}),o=this._fillPolygons(t,n);return s.ops=s.ops.concat(o.ops),s}}class i{constructor(t){this.helper=t}fillPolygons(t,e){const s=n(t,e=Object.assign({},e,{hachureAngle:0}));return this.dotsOnLines(s,e)}dotsOnLines(t,e){const s=[];let n=e.hachureGap;n<0&&(n=4*e.strokeWidth),n=Math.max(n,.1);let o=e.fillWeight;o<0&&(o=e.strokeWidth/2);const h=n/4;for(const r of t){const t=a(r),i=t/n,c=Math.ceil(i)-1,l=t-c*n,u=(r[0][0]+r[1][0])/2-n/4,p=Math.min(r[0][1],r[1][1]);for(let t=0;t<c;t++){const a=p+l+t*n,r=u-h+2*Math.random()*h,i=a-h+2*Math.random()*h,c=this.helper.ellipse(r,i,o,o,e);s.push(...c.ops)}}return{type:"fillSketch",ops:s}}}class c{constructor(t){this.helper=t}fillPolygons(t,e){const s=n(t,e);return{type:"fillSketch",ops:this.dashedLine(s,e)}}dashedLine(t,e){const s=e.dashOffset<0?e.hachureGap<0?4*e.strokeWidth:e.hachureGap:e.dashOffset,n=e.dashGap<0?e.hachureGap<0?4*e.strokeWidth:e.hachureGap:e.dashGap,o=[];return t.forEach((t=>{const h=a(t),r=Math.floor(h/(s+n)),i=(h+n-r*(s+n))/2;let c=t[0],l=t[1];c[0]>l[0]&&(c=t[1],l=t[0]);const u=Math.atan((l[1]-c[1])/(l[0]-c[0]));for(let t=0;t<r;t++){const a=t*(s+n),h=a+s,r=[c[0]+a*Math.cos(u)+i*Math.cos(u),c[1]+a*Math.sin(u)+i*Math.sin(u)],l=[c[0]+h*Math.cos(u)+i*Math.cos(u),c[1]+h*Math.sin(u)+i*Math.sin(u)];o.push(...this.helper.doubleLineOps(r[0],r[1],l[0],l[1],e))}})),o}}class l{constructor(t){this.helper=t}fillPolygons(t,e){const s=e.hachureGap<0?4*e.strokeWidth:e.hachureGap,o=e.zigzagOffset<0?s:e.zigzagOffset,a=n(t,e=Object.assign({},e,{hachureGap:s+o}));return{type:"fillSketch",ops:this.zigzagLines(a,o,e)}}zigzagLines(t,e,s){const n=[];return t.forEach((t=>{const o=a(t),h=Math.round(o/(2*e));let r=t[0],i=t[1];r[0]>i[0]&&(r=t[1],i=t[0]);const c=Math.atan((i[1]-r[1])/(i[0]-r[0]));for(let t=0;t<h;t++){const o=2*t*e,a=2*(t+1)*e,h=Math.sqrt(2*Math.pow(e,2)),i=[r[0]+o*Math.cos(c),r[1]+o*Math.sin(c)],l=[r[0]+a*Math.cos(c),r[1]+a*Math.sin(c)],u=[i[0]+h*Math.cos(c+Math.PI/4),i[1]+h*Math.sin(c+Math.PI/4)];n.push(...this.helper.doubleLineOps(i[0],i[1],u[0],u[1],s),...this.helper.doubleLineOps(u[0],u[1],l[0],l[1],s))}})),n}}const u={};class p{constructor(t){this.seed=t}next(){return this.seed?(2**31-1&(this.seed=Math.imul(48271,this.seed)))/2**31:Math.random()}}const f=0,d=1,g=2,M={A:7,a:7,C:6,c:6,H:1,h:1,L:2,l:2,M:2,m:2,Q:4,q:4,S:4,s:4,T:2,t:2,V:1,v:1,Z:0,z:0};function k(t,e){return t.type===e}function b(t){const e=[],s=function(t){const e=new Array;for(;""!==t;)if(t.match(/^([ \t\r\n,]+)/))t=t.substr(RegExp.$1.length);else if(t.match(/^([aAcChHlLmMqQsStTvVzZ])/))e[e.length]={type:f,text:RegExp.$1},t=t.substr(RegExp.$1.length);else{if(!t.match(/^(([-+]?[0-9]+(\.[0-9]*)?|[-+]?\.[0-9]+)([eE][-+]?[0-9]+)?)/))return[];e[e.length]={type:d,text:`${parseFloat(RegExp.$1)}`},t=t.substr(RegExp.$1.length)}return e[e.length]={type:g,text:""},e}(t);let n="BOD",o=0,a=s[o];for(;!k(a,g);){let h=0;const r=[];if("BOD"===n){if("M"!==a.text&&"m"!==a.text)return b("M0,0"+t);o++,h=M[a.text],n=a.text}else k(a,d)?h=M[n]:(o++,h=M[a.text],n=a.text);if(!(o+h<s.length))throw new Error("Path data ended short");for(let t=o;t<o+h;t++){const e=s[t];if(!k(e,d))throw new Error("Param not a number: "+n+","+e.text);r[r.length]=+e.text}if("number"!=typeof M[n])throw new Error("Bad segment: "+n);{const t={key:n,data:r};e.push(t),o+=h,a=s[o],"M"===n&&(n="L"),"m"===n&&(n="l")}}return e}function y(t){let e=0,s=0,n=0,o=0;const a=[];for(const{key:h,data:r}of t)switch(h){case"M":a.push({key:"M",data:[...r]}),[e,s]=r,[n,o]=r;break;case"m":e+=r[0],s+=r[1],a.push({key:"M",data:[e,s]}),n=e,o=s;break;case"L":a.push({key:"L",data:[...r]}),[e,s]=r;break;case"l":e+=r[0],s+=r[1],a.push({key:"L",data:[e,s]});break;case"C":a.push({key:"C",data:[...r]}),e=r[4],s=r[5];break;case"c":{const t=r.map(((t,n)=>n%2?t+s:t+e));a.push({key:"C",data:t}),e=t[4],s=t[5];break}case"Q":a.push({key:"Q",data:[...r]}),e=r[2],s=r[3];break;case"q":{const t=r.map(((t,n)=>n%2?t+s:t+e));a.push({key:"Q",data:t}),e=t[2],s=t[3];break}case"A":a.push({key:"A",data:[...r]}),e=r[5],s=r[6];break;case"a":e+=r[5],s+=r[6],a.push({key:"A",data:[r[0],r[1],r[2],r[3],r[4],e,s]});break;case"H":a.push({key:"H",data:[...r]}),e=r[0];break;case"h":e+=r[0],a.push({key:"H",data:[e]});break;case"V":a.push({key:"V",data:[...r]}),s=r[0];break;case"v":s+=r[0],a.push({key:"V",data:[s]});break;case"S":a.push({key:"S",data:[...r]}),e=r[2],s=r[3];break;case"s":{const t=r.map(((t,n)=>n%2?t+s:t+e));a.push({key:"S",data:t}),e=t[2],s=t[3];break}case"T":a.push({key:"T",data:[...r]}),e=r[0],s=r[1];break;case"t":e+=r[0],s+=r[1],a.push({key:"T",data:[e,s]});break;case"Z":case"z":a.push({key:"Z",data:[]}),e=n,s=o}return a}function m(t){const e=[];let s="",n=0,o=0,a=0,h=0,r=0,i=0;for(const{key:c,data:l}of t){switch(c){case"M":e.push({key:"M",data:[...l]}),[n,o]=l,[a,h]=l;break;case"C":e.push({key:"C",data:[...l]}),n=l[4],o=l[5],r=l[2],i=l[3];break;case"L":e.push({key:"L",data:[...l]}),[n,o]=l;break;case"H":n=l[0],e.push({key:"L",data:[n,o]});break;case"V":o=l[0],e.push({key:"L",data:[n,o]});break;case"S":{let t=0,a=0;"C"===s||"S"===s?(t=n+(n-r),a=o+(o-i)):(t=n,a=o),e.push({key:"C",data:[t,a,...l]}),r=l[0],i=l[1],n=l[2],o=l[3];break}case"T":{const[t,a]=l;let h=0,c=0;"Q"===s||"T"===s?(h=n+(n-r),c=o+(o-i)):(h=n,c=o);const u=n+2*(h-n)/3,p=o+2*(c-o)/3,f=t+2*(h-t)/3,d=a+2*(c-a)/3;e.push({key:"C",data:[u,p,f,d,t,a]}),r=h,i=c,n=t,o=a;break}case"Q":{const[t,s,a,h]=l,c=n+2*(t-n)/3,u=o+2*(s-o)/3,p=a+2*(t-a)/3,f=h+2*(s-h)/3;e.push({key:"C",data:[c,u,p,f,a,h]}),r=t,i=s,n=a,o=h;break}case"A":{const t=Math.abs(l[0]),s=Math.abs(l[1]),a=l[2],h=l[3],r=l[4],i=l[5],c=l[6];if(0===t||0===s)e.push({key:"C",data:[n,o,i,c,i,c]}),n=i,o=c;else if(n!==i||o!==c){x(n,o,i,c,t,s,a,h,r).forEach((function(t){e.push({key:"C",data:t})})),n=i,o=c}break}case"Z":e.push({key:"Z",data:[]}),n=a,o=h}s=c}return e}function w(t,e,s){return[t*Math.cos(s)-e*Math.sin(s),t*Math.sin(s)+e*Math.cos(s)]}function x(t,e,s,n,o,a,h,r,i,c){const l=(u=h,Math.PI*u/180);var u;let p=[],f=0,d=0,g=0,M=0;if(c)[f,d,g,M]=c;else{[t,e]=w(t,e,-l),[s,n]=w(s,n,-l);const h=(t-s)/2,c=(e-n)/2;let u=h*h/(o*o)+c*c/(a*a);u>1&&(u=Math.sqrt(u),o*=u,a*=u);const p=o*o,k=a*a,b=p*k-p*c*c-k*h*h,y=p*c*c+k*h*h,m=(r===i?-1:1)*Math.sqrt(Math.abs(b/y));g=m*o*c/a+(t+s)/2,M=m*-a*h/o+(e+n)/2,f=Math.asin(parseFloat(((e-M)/a).toFixed(9))),d=Math.asin(parseFloat(((n-M)/a).toFixed(9))),t<g&&(f=Math.PI-f),s<g&&(d=Math.PI-d),f<0&&(f=2*Math.PI+f),d<0&&(d=2*Math.PI+d),i&&f>d&&(f-=2*Math.PI),!i&&d>f&&(d-=2*Math.PI)}let k=d-f;if(Math.abs(k)>120*Math.PI/180){const t=d,e=s,r=n;d=i&&d>f?f+120*Math.PI/180*1:f+120*Math.PI/180*-1,p=x(s=g+o*Math.cos(d),n=M+a*Math.sin(d),e,r,o,a,h,0,i,[d,t,g,M])}k=d-f;const b=Math.cos(f),y=Math.sin(f),m=Math.cos(d),P=Math.sin(d),v=Math.tan(k/4),S=4/3*o*v,O=4/3*a*v,L=[t,e],T=[t+S*y,e-O*b],D=[s+S*P,n-O*m],A=[s,n];if(T[0]=2*L[0]-T[0],T[1]=2*L[1]-T[1],c)return[T,D,A].concat(p);{p=[T,D,A].concat(p);const t=[];for(let e=0;e<p.length;e+=3){const s=w(p[e][0],p[e][1],l),n=w(p[e+1][0],p[e+1][1],l),o=w(p[e+2][0],p[e+2][1],l);t.push([s[0],s[1],n[0],n[1],o[0],o[1]])}return t}}const P={randOffset:function(t,e){return G(t,e)},randOffsetWithRange:function(t,e,s){return E(t,e,s)},ellipse:function(t,e,s,n,o){const a=T(s,n,o);return D(t,e,o,a).opset},doubleLineOps:function(t,e,s,n,o){return $(t,e,s,n,o,!0)}};function v(t,e,s,n,o){return{type:"path",ops:$(t,e,s,n,o)}}function S(t,e,s){const n=(t||[]).length;if(n>2){const o=[];for(let e=0;e<n-1;e++)o.push(...$(t[e][0],t[e][1],t[e+1][0],t[e+1][1],s));return e&&o.push(...$(t[n-1][0],t[n-1][1],t[0][0],t[0][1],s)),{type:"path",ops:o}}return 2===n?v(t[0][0],t[0][1],t[1][0],t[1][1],s):{type:"path",ops:[]}}function O(t,e,s,n,o){return function(t,e){return S(t,!0,e)}([[t,e],[t+s,e],[t+s,e+n],[t,e+n]],o)}function L(t,e){if(t.length){const s="number"==typeof t[0][0]?[t]:t,n=j(s[0],1*(1+.2*e.roughness),e),o=e.disableMultiStroke?[]:j(s[0],1.5*(1+.22*e.roughness),z(e));for(let t=1;t<s.length;t++){const a=s[t];if(a.length){const t=j(a,1*(1+.2*e.roughness),e),s=e.disableMultiStroke?[]:j(a,1.5*(1+.22*e.roughness),z(e));for(const e of t)"move"!==e.op&&n.push(e);for(const t of s)"move"!==t.op&&o.push(t)}}return{type:"path",ops:n.concat(o)}}return{type:"path",ops:[]}}function T(t,e,s){const n=Math.sqrt(2*Math.PI*Math.sqrt((Math.pow(t/2,2)+Math.pow(e/2,2))/2)),o=Math.ceil(Math.max(s.curveStepCount,s.curveStepCount/Math.sqrt(200)*n)),a=2*Math.PI/o;let h=Math.abs(t/2),r=Math.abs(e/2);const i=1-s.curveFitting;return h+=G(h*i,s),r+=G(r*i,s),{increment:a,rx:h,ry:r}}function D(t,e,s,n){const[o,a]=F(n.increment,t,e,n.rx,n.ry,1,n.increment*E(.1,E(.4,1,s),s),s);let h=q(o,null,s);if(!s.disableMultiStroke&&0!==s.roughness){const[o]=F(n.increment,t,e,n.rx,n.ry,1.5,0,s),a=q(o,null,s);h=h.concat(a)}return{estimatedPoints:a,opset:{type:"path",ops:h}}}function A(t,e,s,n,o,a,h,r,i){const c=t,l=e;let u=Math.abs(s/2),p=Math.abs(n/2);u+=G(.01*u,i),p+=G(.01*p,i);let f=o,d=a;for(;f<0;)f+=2*Math.PI,d+=2*Math.PI;d-f>2*Math.PI&&(f=0,d=2*Math.PI);const g=2*Math.PI/i.curveStepCount,M=Math.min(g/2,(d-f)/2),k=V(M,c,l,u,p,f,d,1,i);if(!i.disableMultiStroke){const t=V(M,c,l,u,p,f,d,1.5,i);k.push(...t)}return h&&(r?k.push(...$(c,l,c+u*Math.cos(f),l+p*Math.sin(f),i),...$(c,l,c+u*Math.cos(d),l+p*Math.sin(d),i)):k.push({op:"lineTo",data:[c,l]},{op:"lineTo",data:[c+u*Math.cos(f),l+p*Math.sin(f)]})),{type:"path",ops:k}}function _(t,e){const s=m(y(b(t))),n=[];let o=[0,0],a=[0,0];for(const{key:t,data:h}of s)switch(t){case"M":a=[h[0],h[1]],o=[h[0],h[1]];break;case"L":n.push(...$(a[0],a[1],h[0],h[1],e)),a=[h[0],h[1]];break;case"C":{const[t,s,o,r,i,c]=h;n.push(...Z(t,s,o,r,i,c,a,e)),a=[i,c];break}case"Z":n.push(...$(a[0],a[1],o[0],o[1],e)),a=[o[0],o[1]]}return{type:"path",ops:n}}function I(t,e){const s=[];for(const n of t)if(n.length){const t=e.maxRandomnessOffset||0,o=n.length;if(o>2){s.push({op:"move",data:[n[0][0]+G(t,e),n[0][1]+G(t,e)]});for(let a=1;a<o;a++)s.push({op:"lineTo",data:[n[a][0]+G(t,e),n[a][1]+G(t,e)]})}}return{type:"fillPath",ops:s}}function C(t,e){return function(t,e){let s=t.fillStyle||"hachure";if(!u[s])switch(s){case"zigzag":u[s]||(u[s]=new h(e));break;case"cross-hatch":u[s]||(u[s]=new r(e));break;case"dots":u[s]||(u[s]=new i(e));break;case"dashed":u[s]||(u[s]=new c(e));break;case"zigzag-line":u[s]||(u[s]=new l(e));break;default:s="hachure",u[s]||(u[s]=new o(e))}return u[s]}(e,P).fillPolygons(t,e)}function z(t){const e=Object.assign({},t);return e.randomizer=void 0,t.seed&&(e.seed=t.seed+1),e}function W(t){return t.randomizer||(t.randomizer=new p(t.seed||0)),t.randomizer.next()}function E(t,e,s,n=1){return s.roughness*n*(W(s)*(e-t)+t)}function G(t,e,s=1){return E(-t,t,e,s)}function $(t,e,s,n,o,a=!1){const h=a?o.disableMultiStrokeFill:o.disableMultiStroke,r=R(t,e,s,n,o,!0,!1);if(h)return r;const i=R(t,e,s,n,o,!0,!0);return r.concat(i)}function R(t,e,s,n,o,a,h){const r=Math.pow(t-s,2)+Math.pow(e-n,2),i=Math.sqrt(r);let c=1;c=i<200?1:i>500?.4:-.0016668*i+1.233334;let l=o.maxRandomnessOffset||0;l*l*100>r&&(l=i/10);const u=l/2,p=.2+.2*W(o);let f=o.bowing*o.maxRandomnessOffset*(n-e)/200,d=o.bowing*o.maxRandomnessOffset*(t-s)/200;f=G(f,o,c),d=G(d,o,c);const g=[],M=()=>G(u,o,c),k=()=>G(l,o,c),b=o.preserveVertices;return a&&(h?g.push({op:"move",data:[t+(b?0:M()),e+(b?0:M())]}):g.push({op:"move",data:[t+(b?0:G(l,o,c)),e+(b?0:G(l,o,c))]})),h?g.push({op:"bcurveTo",data:[f+t+(s-t)*p+M(),d+e+(n-e)*p+M(),f+t+2*(s-t)*p+M(),d+e+2*(n-e)*p+M(),s+(b?0:M()),n+(b?0:M())]}):g.push({op:"bcurveTo",data:[f+t+(s-t)*p+k(),d+e+(n-e)*p+k(),f+t+2*(s-t)*p+k(),d+e+2*(n-e)*p+k(),s+(b?0:k()),n+(b?0:k())]}),g}function j(t,e,s){if(!t.length)return[];const n=[];n.push([t[0][0]+G(e,s),t[0][1]+G(e,s)]),n.push([t[0][0]+G(e,s),t[0][1]+G(e,s)]);for(let o=1;o<t.length;o++)n.push([t[o][0]+G(e,s),t[o][1]+G(e,s)]),o===t.length-1&&n.push([t[o][0]+G(e,s),t[o][1]+G(e,s)]);return q(n,null,s)}function q(t,e,s){const n=t.length,o=[];if(n>3){const a=[],h=1-s.curveTightness;o.push({op:"move",data:[t[1][0],t[1][1]]});for(let e=1;e+2<n;e++){const s=t[e];a[0]=[s[0],s[1]],a[1]=[s[0]+(h*t[e+1][0]-h*t[e-1][0])/6,s[1]+(h*t[e+1][1]-h*t[e-1][1])/6],a[2]=[t[e+1][0]+(h*t[e][0]-h*t[e+2][0])/6,t[e+1][1]+(h*t[e][1]-h*t[e+2][1])/6],a[3]=[t[e+1][0],t[e+1][1]],o.push({op:"bcurveTo",data:[a[1][0],a[1][1],a[2][0],a[2][1],a[3][0],a[3][1]]})}if(e&&2===e.length){const t=s.maxRandomnessOffset;o.push({op:"lineTo",data:[e[0]+G(t,s),e[1]+G(t,s)]})}}else 3===n?(o.push({op:"move",data:[t[1][0],t[1][1]]}),o.push({op:"bcurveTo",data:[t[1][0],t[1][1],t[2][0],t[2][1],t[2][0],t[2][1]]})):2===n&&o.push(...R(t[0][0],t[0][1],t[1][0],t[1][1],s,!0,!0));return o}function F(t,e,s,n,o,a,h,r){const i=[],c=[];if(0===r.roughness){t/=4,c.push([e+n*Math.cos(-t),s+o*Math.sin(-t)]);for(let a=0;a<=2*Math.PI;a+=t){const t=[e+n*Math.cos(a),s+o*Math.sin(a)];i.push(t),c.push(t)}c.push([e+n*Math.cos(0),s+o*Math.sin(0)]),c.push([e+n*Math.cos(t),s+o*Math.sin(t)])}else{const l=G(.5,r)-Math.PI/2;c.push([G(a,r)+e+.9*n*Math.cos(l-t),G(a,r)+s+.9*o*Math.sin(l-t)]);const u=2*Math.PI+l-.01;for(let h=l;h<u;h+=t){const t=[G(a,r)+e+n*Math.cos(h),G(a,r)+s+o*Math.sin(h)];i.push(t),c.push(t)}c.push([G(a,r)+e+n*Math.cos(l+2*Math.PI+.5*h),G(a,r)+s+o*Math.sin(l+2*Math.PI+.5*h)]),c.push([G(a,r)+e+.98*n*Math.cos(l+h),G(a,r)+s+.98*o*Math.sin(l+h)]),c.push([G(a,r)+e+.9*n*Math.cos(l+.5*h),G(a,r)+s+.9*o*Math.sin(l+.5*h)])}return[c,i]}function V(t,e,s,n,o,a,h,r,i){const c=a+G(.1,i),l=[];l.push([G(r,i)+e+.9*n*Math.cos(c-t),G(r,i)+s+.9*o*Math.sin(c-t)]);for(let a=c;a<=h;a+=t)l.push([G(r,i)+e+n*Math.cos(a),G(r,i)+s+o*Math.sin(a)]);return l.push([e+n*Math.cos(h),s+o*Math.sin(h)]),l.push([e+n*Math.cos(h),s+o*Math.sin(h)]),q(l,null,i)}function Z(t,e,s,n,o,a,h,r){const i=[],c=[r.maxRandomnessOffset||1,(r.maxRandomnessOffset||1)+.3];let l=[0,0];const u=r.disableMultiStroke?1:2,p=r.preserveVertices;for(let f=0;f<u;f++)0===f?i.push({op:"move",data:[h[0],h[1]]}):i.push({op:"move",data:[h[0]+(p?0:G(c[0],r)),h[1]+(p?0:G(c[0],r))]}),l=p?[o,a]:[o+G(c[f],r),a+G(c[f],r)],i.push({op:"bcurveTo",data:[t+G(c[f],r),e+G(c[f],r),s+G(c[f],r),n+G(c[f],r),l[0],l[1]]});return i}function Q(t){return[...t]}function H(t,e=0){const s=t.length;if(s<3)throw new Error("A curve must have at least three points.");const n=[];if(3===s)n.push(Q(t[0]),Q(t[1]),Q(t[2]),Q(t[2]));else{const s=[];s.push(t[0],t[0]);for(let e=1;e<t.length;e++)s.push(t[e]),e===t.length-1&&s.push(t[e]);const o=[],a=1-e;n.push(Q(s[0]));for(let t=1;t+2<s.length;t++){const e=s[t];o[0]=[e[0],e[1]],o[1]=[e[0]+(a*s[t+1][0]-a*s[t-1][0])/6,e[1]+(a*s[t+1][1]-a*s[t-1][1])/6],o[2]=[s[t+1][0]+(a*s[t][0]-a*s[t+2][0])/6,s[t+1][1]+(a*s[t][1]-a*s[t+2][1])/6],o[3]=[s[t+1][0],s[t+1][1]],n.push(o[1],o[2],o[3])}}return n}function N(t,e){return Math.pow(t[0]-e[0],2)+Math.pow(t[1]-e[1],2)}function B(t,e,s){const n=N(e,s);if(0===n)return N(t,e);let o=((t[0]-e[0])*(s[0]-e[0])+(t[1]-e[1])*(s[1]-e[1]))/n;return o=Math.max(0,Math.min(1,o)),N(t,J(e,s,o))}function J(t,e,s){return[t[0]+(e[0]-t[0])*s,t[1]+(e[1]-t[1])*s]}function K(t,e,s,n){const o=n||[];if(function(t,e){const s=t[e+0],n=t[e+1],o=t[e+2],a=t[e+3];let h=3*n[0]-2*s[0]-a[0];h*=h;let r=3*n[1]-2*s[1]-a[1];r*=r;let i=3*o[0]-2*a[0]-s[0];i*=i;let c=3*o[1]-2*a[1]-s[1];return c*=c,h<i&&(h=i),r<c&&(r=c),h+r}(t,e)<s){const s=t[e+0];if(o.length){(a=o[o.length-1],h=s,Math.sqrt(N(a,h)))>1&&o.push(s)}else o.push(s);o.push(t[e+3])}else{const n=.5,a=t[e+0],h=t[e+1],r=t[e+2],i=t[e+3],c=J(a,h,n),l=J(h,r,n),u=J(r,i,n),p=J(c,l,n),f=J(l,u,n),d=J(p,f,n);K([a,c,p,d],0,s,o),K([d,f,u,i],0,s,o)}var a,h;return o}function U(t,e){return X(t,0,t.length,e)}function X(t,e,s,n,o){const a=o||[],h=t[e],r=t[s-1];let i=0,c=1;for(let n=e+1;n<s-1;++n){const e=B(t[n],h,r);e>i&&(i=e,c=n)}return Math.sqrt(i)>n?(X(t,e,c+1,n,a),X(t,c,s,n,a)):(a.length||a.push(h),a.push(r)),a}function Y(t,e=.15,s){const n=[],o=(t.length-1)/3;for(let s=0;s<o;s++){K(t,3*s,e,n)}return s&&s>0?X(n,0,n.length,s):n}const tt="none";class et{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,s){return{shape:t,sets:e||[],options:s||this.defaultOptions}}line(t,e,s,n,o){const a=this._o(o);return this._d("line",[v(t,e,s,n,a)],a)}rectangle(t,e,s,n,o){const a=this._o(o),h=[],r=O(t,e,s,n,a);if(a.fill){const o=[[t,e],[t+s,e],[t+s,e+n],[t,e+n]];"solid"===a.fillStyle?h.push(I([o],a)):h.push(C([o],a))}return a.stroke!==tt&&h.push(r),this._d("rectangle",h,a)}ellipse(t,e,s,n,o){const a=this._o(o),h=[],r=T(s,n,a),i=D(t,e,a,r);if(a.fill)if("solid"===a.fillStyle){const s=D(t,e,a,r).opset;s.type="fillPath",h.push(s)}else h.push(C([i.estimatedPoints],a));return a.stroke!==tt&&h.push(i.opset),this._d("ellipse",h,a)}circle(t,e,s,n){const o=this.ellipse(t,e,s,s,n);return o.shape="circle",o}linearPath(t,e){const s=this._o(e);return this._d("linearPath",[S(t,!1,s)],s)}arc(t,e,s,n,o,a,h=!1,r){const i=this._o(r),c=[],l=A(t,e,s,n,o,a,h,!0,i);if(h&&i.fill)if("solid"===i.fillStyle){const h=Object.assign({},i);h.disableMultiStroke=!0;const r=A(t,e,s,n,o,a,!0,!1,h);r.type="fillPath",c.push(r)}else c.push(function(t,e,s,n,o,a,h){const r=t,i=e;let c=Math.abs(s/2),l=Math.abs(n/2);c+=G(.01*c,h),l+=G(.01*l,h);let u=o,p=a;for(;u<0;)u+=2*Math.PI,p+=2*Math.PI;p-u>2*Math.PI&&(u=0,p=2*Math.PI);const f=(p-u)/h.curveStepCount,d=[];for(let t=u;t<=p;t+=f)d.push([r+c*Math.cos(t),i+l*Math.sin(t)]);return d.push([r+c*Math.cos(p),i+l*Math.sin(p)]),d.push([r,i]),C([d],h)}(t,e,s,n,o,a,i));return i.stroke!==tt&&c.push(l),this._d("arc",c,i)}curve(t,e){const s=this._o(e),n=[],o=L(t,s);if(s.fill&&s.fill!==tt)if("solid"===s.fillStyle){const e=L(t,Object.assign(Object.assign({},s),{disableMultiStroke:!0,roughness:s.roughness?s.roughness+s.fillShapeRoughnessGain:0}));n.push({type:"fillPath",ops:this._mergedShape(e.ops)})}else{const e=[],o=t;if(o.length){const t="number"==typeof o[0][0]?[o]:o;for(const n of t)n.length<3?e.push(...n):3===n.length?e.push(...Y(H([n[0],n[0],n[1],n[2]]),10,(1+s.roughness)/2)):e.push(...Y(H(n),10,(1+s.roughness)/2))}e.length&&n.push(C([e],s))}return s.stroke!==tt&&n.push(o),this._d("curve",n,s)}polygon(t,e){const s=this._o(e),n=[],o=S(t,!0,s);return s.fill&&("solid"===s.fillStyle?n.push(I([t],s)):n.push(C([t],s))),s.stroke!==tt&&n.push(o),this._d("polygon",n,s)}path(t,e){const s=this._o(e),n=[];if(!t)return this._d("path",n,s);t=(t||"").replace(/\n/g," ").replace(/(-\s)/g,"-").replace("/(ss)/g"," ");const o=s.fill&&"transparent"!==s.fill&&s.fill!==tt,a=s.stroke!==tt,h=!!(s.simplification&&s.simplification<1),r=function(t,e,s){const n=m(y(b(t))),o=[];let a=[],h=[0,0],r=[];const i=()=>{r.length>=4&&a.push(...Y(r,e)),r=[]},c=()=>{i(),a.length&&(o.push(a),a=[])};for(const{key:t,data:e}of n)switch(t){case"M":c(),h=[e[0],e[1]],a.push(h);break;case"L":i(),a.push([e[0],e[1]]);break;case"C":if(!r.length){const t=a.length?a[a.length-1]:h;r.push([t[0],t[1]])}r.push([e[0],e[1]]),r.push([e[2],e[3]]),r.push([e[4],e[5]]);break;case"Z":i(),a.push([h[0],h[1]])}if(c(),!s)return o;const l=[];for(const t of o){const e=U(t,s);e.length&&l.push(e)}return l}(t,1,h?4-4*(s.simplification||1):(1+s.roughness)/2),i=_(t,s);if(o)if("solid"===s.fillStyle)if(1===r.length){const e=_(t,Object.assign(Object.assign({},s),{disableMultiStroke:!0,roughness:s.roughness?s.roughness+s.fillShapeRoughnessGain:0}));n.push({type:"fillPath",ops:this._mergedShape(e.ops)})}else n.push(I(r,s));else n.push(C(r,s));return a&&(h?r.forEach((t=>{n.push(S(t,!1,s))})):n.push(i)),this._d("path",n,s)}opsToPath(t,e){let s="";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":s+=`M${t[0]} ${t[1]} `;break;case"bcurveTo":s+=`C${t[0]} ${t[1]}, ${t[2]} ${t[3]}, ${t[4]} ${t[5]} `;break;case"lineTo":s+=`L${t[0]} ${t[1]} `}}return s.trim()}toPaths(t){const e=t.sets||[],s=t.options||this.defaultOptions,n=[];for(const t of e){let e=null;switch(t.type){case"path":e={d:this.opsToPath(t),stroke:s.stroke,strokeWidth:s.strokeWidth,fill:tt};break;case"fillPath":e={d:this.opsToPath(t),stroke:tt,strokeWidth:0,fill:s.fill||tt};break;case"fillSketch":e=this.fillSketch(t,s)}e&&n.push(e)}return n}fillSketch(t,e){let s=e.fillWeight;return s<0&&(s=e.strokeWidth/2),{d:this.opsToPath(t),stroke:e.fill||tt,strokeWidth:s,fill:tt}}_mergedShape(t){return t.filter(((t,e)=>0===e||"move"!==t.op))}}class st{constructor(t,e){this.canvas=t,this.ctx=this.canvas.getContext("2d"),this.gen=new et(e)}draw(t){const e=t.sets||[],s=t.options||this.getDefaultOptions(),n=this.ctx,o=t.options.fixedDecimalPlaceDigits;for(const a of e)switch(a.type){case"path":n.save(),n.strokeStyle="none"===s.stroke?"transparent":s.stroke,n.lineWidth=s.strokeWidth,s.strokeLineDash&&n.setLineDash(s.strokeLineDash),s.strokeLineDashOffset&&(n.lineDashOffset=s.strokeLineDashOffset),this._drawToContext(n,a,o),n.restore();break;case"fillPath":{n.save(),n.fillStyle=s.fill||"";const e="curve"===t.shape||"polygon"===t.shape||"path"===t.shape?"evenodd":"nonzero";this._drawToContext(n,a,o,e),n.restore();break}case"fillSketch":this.fillSketch(n,a,s)}}fillSketch(t,e,s){let n=s.fillWeight;n<0&&(n=s.strokeWidth/2),t.save(),s.fillLineDash&&t.setLineDash(s.fillLineDash),s.fillLineDashOffset&&(t.lineDashOffset=s.fillLineDashOffset),t.strokeStyle=s.fill||"",t.lineWidth=n,this._drawToContext(t,e,s.fixedDecimalPlaceDigits),t.restore()}_drawToContext(t,e,s,n="nonzero"){t.beginPath();for(const n of e.ops){const e="number"==typeof s&&s>=0?n.data.map((t=>+t.toFixed(s))):n.data;switch(n.op){case"move":t.moveTo(e[0],e[1]);break;case"bcurveTo":t.bezierCurveTo(e[0],e[1],e[2],e[3],e[4],e[5]);break;case"lineTo":t.lineTo(e[0],e[1])}}"fillPath"===e.type?t.fill(n):t.stroke()}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}line(t,e,s,n,o){const a=this.gen.line(t,e,s,n,o);return this.draw(a),a}rectangle(t,e,s,n,o){const a=this.gen.rectangle(t,e,s,n,o);return this.draw(a),a}ellipse(t,e,s,n,o){const a=this.gen.ellipse(t,e,s,n,o);return this.draw(a),a}circle(t,e,s,n){const o=this.gen.circle(t,e,s,n);return this.draw(o),o}linearPath(t,e){const s=this.gen.linearPath(t,e);return this.draw(s),s}polygon(t,e){const s=this.gen.polygon(t,e);return this.draw(s),s}arc(t,e,s,n,o,a,h=!1,r){const i=this.gen.arc(t,e,s,n,o,a,h,r);return this.draw(i),i}curve(t,e){const s=this.gen.curve(t,e);return this.draw(s),s}path(t,e){const s=this.gen.path(t,e);return this.draw(s),s}}const nt="http://www.w3.org/2000/svg";class ot{constructor(t,e){this.svg=t,this.gen=new et(e)}draw(t){const e=t.sets||[],s=t.options||this.getDefaultOptions(),n=this.svg.ownerDocument||window.document,o=n.createElementNS(nt,"g"),a=t.options.fixedDecimalPlaceDigits;for(const h of e){let e=null;switch(h.type){case"path":e=n.createElementNS(nt,"path"),e.setAttribute("d",this.opsToPath(h,a)),e.setAttribute("stroke",s.stroke),e.setAttribute("stroke-width",s.strokeWidth+""),e.setAttribute("fill","none"),s.strokeLineDash&&e.setAttribute("stroke-dasharray",s.strokeLineDash.join(" ").trim()),s.strokeLineDashOffset&&e.setAttribute("stroke-dashoffset",`${s.strokeLineDashOffset}`);break;case"fillPath":e=n.createElementNS(nt,"path"),e.setAttribute("d",this.opsToPath(h,a)),e.setAttribute("stroke","none"),e.setAttribute("stroke-width","0"),e.setAttribute("fill",s.fill||""),"curve"!==t.shape&&"polygon"!==t.shape||e.setAttribute("fill-rule","evenodd");break;case"fillSketch":e=this.fillSketch(n,h,s)}e&&o.appendChild(e)}return o}fillSketch(t,e,s){let n=s.fillWeight;n<0&&(n=s.strokeWidth/2);const o=t.createElementNS(nt,"path");return o.setAttribute("d",this.opsToPath(e,s.fixedDecimalPlaceDigits)),o.setAttribute("stroke",s.fill||""),o.setAttribute("stroke-width",n+""),o.setAttribute("fill","none"),s.fillLineDash&&o.setAttribute("stroke-dasharray",s.fillLineDash.join(" ").trim()),s.fillLineDashOffset&&o.setAttribute("stroke-dashoffset",`${s.fillLineDashOffset}`),o}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}opsToPath(t,e){return this.gen.opsToPath(t,e)}line(t,e,s,n,o){const a=this.gen.line(t,e,s,n,o);return this.draw(a)}rectangle(t,e,s,n,o){const a=this.gen.rectangle(t,e,s,n,o);return this.draw(a)}ellipse(t,e,s,n,o){const a=this.gen.ellipse(t,e,s,n,o);return this.draw(a)}circle(t,e,s,n){const o=this.gen.circle(t,e,s,n);return this.draw(o)}linearPath(t,e){const s=this.gen.linearPath(t,e);return this.draw(s)}polygon(t,e){const s=this.gen.polygon(t,e);return this.draw(s)}arc(t,e,s,n,o,a,h=!1,r){const i=this.gen.arc(t,e,s,n,o,a,h,r);return this.draw(i)}curve(t,e){const s=this.gen.curve(t,e);return this.draw(s)}path(t,e){const s=this.gen.path(t,e);return this.draw(s)}}return{canvas:(t,e)=>new st(t,e),svg:(t,e)=>new ot(t,e),generator:t=>new et(t),newSeed:()=>et.newSeed()}}();
@@ -30,7 +30,7 @@ if("1"==urlParams.offline||"1"==urlParams.demo||"1"==urlParams.stealth||"1"==url
"se.diagrams.net"==window.location.hostname&&(urlParams.db="0",urlParams.od="0",urlParams.gh="0",urlParams.gl="0",urlParams.tr="0",urlParams.plugins="0",urlParams.mode="google",urlParams.lockdown="1",window.DRAWIO_GOOGLE_APP_ID=window.DRAWIO_GOOGLE_APP_ID||"184079235871",window.DRAWIO_GOOGLE_CLIENT_ID=window.DRAWIO_GOOGLE_CLIENT_ID||"184079235871-pjf5nn0lff27lk8qf0770gmffiv9gt61.apps.googleusercontent.com");"trello"==urlParams.mode&&(urlParams.tr="1");
"embed.diagrams.net"==window.location.hostname&&(urlParams.embed="1");(null==window.location.hash||1>=window.location.hash.length)&&null!=urlParams.open&&(window.location.hash=urlParams.open);"function"!==typeof window.structuredClone&&(window.structuredClone=function(a){return a});window.urlParams=window.urlParams||{};window.DOM_PURIFY_CONFIG=window.DOM_PURIFY_CONFIG||{ADD_TAGS:["use","foreignObject"],FORBID_TAGS:["form"],ALLOWED_URI_REGEXP:/^((?!javascript:).)*$/i,ADD_ATTR:["target","content","pointer-events","requiredFeatures"]};window.MAX_REQUEST_SIZE=window.MAX_REQUEST_SIZE||10485760;window.MAX_AREA=window.MAX_AREA||225E6;window.EXPORT_URL=window.EXPORT_URL||"/export";window.SAVE_URL=window.SAVE_URL||"/save";window.OPEN_URL=window.OPEN_URL||"/open";
window.RESOURCES_PATH=window.RESOURCES_PATH||"resources";window.RESOURCE_BASE=window.RESOURCE_BASE||window.RESOURCES_PATH+"/grapheditor";window.STENCIL_PATH=window.STENCIL_PATH||"stencils";window.IMAGE_PATH=window.IMAGE_PATH||"images";window.STYLE_PATH=window.STYLE_PATH||"styles";window.CSS_PATH=window.CSS_PATH||"styles";window.OPEN_FORM=window.OPEN_FORM||"open.html";window.mxBasePath=window.mxBasePath||"mxgraph";window.mxImageBasePath=window.mxImageBasePath||"mxgraph/images";
-window.mxLanguage=window.mxLanguage||urlParams.lang;window.mxLanguages=window.mxLanguages||["de","se"];var mxClient={VERSION:"24.8.6",IS_IE:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("MSIE"),IS_IE11:null!=navigator.userAgent&&!!navigator.userAgent.match(/Trident\/7\./),IS_EDGE:null!=navigator.userAgent&&!!navigator.userAgent.match(/Edge\//),IS_EM:"spellcheck"in document.createElement("textarea")&&8==document.documentMode,VML_PREFIX:"v",OFFICE_PREFIX:"o",IS_NS:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Mozilla/")&&0>navigator.userAgent.indexOf("MSIE")&&0>navigator.userAgent.indexOf("Edge/"),
+window.mxLanguage=window.mxLanguage||urlParams.lang;window.mxLanguages=window.mxLanguages||["de","se"];var mxClient={VERSION:"24.8.9",IS_IE:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("MSIE"),IS_IE11:null!=navigator.userAgent&&!!navigator.userAgent.match(/Trident\/7\./),IS_EDGE:null!=navigator.userAgent&&!!navigator.userAgent.match(/Edge\//),IS_EM:"spellcheck"in document.createElement("textarea")&&8==document.documentMode,VML_PREFIX:"v",OFFICE_PREFIX:"o",IS_NS:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Mozilla/")&&0>navigator.userAgent.indexOf("MSIE")&&0>navigator.userAgent.indexOf("Edge/"),
IS_OP:null!=navigator.userAgent&&(0<=navigator.userAgent.indexOf("Opera/")||0<=navigator.userAgent.indexOf("OPR/")),IS_OT:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Presto/")&&0>navigator.userAgent.indexOf("Presto/2.4.")&&0>navigator.userAgent.indexOf("Presto/2.3.")&&0>navigator.userAgent.indexOf("Presto/2.2.")&&0>navigator.userAgent.indexOf("Presto/2.1.")&&0>navigator.userAgent.indexOf("Presto/2.0.")&&0>navigator.userAgent.indexOf("Presto/1."),IS_SF:/Apple Computer, Inc/.test(navigator.vendor),
IS_ANDROID:0<=navigator.appVersion.indexOf("Android"),IS_IOS:/iP(hone|od|ad)/.test(navigator.platform)||navigator.userAgent.match(/Mac/)&&navigator.maxTouchPoints&&2<navigator.maxTouchPoints,IS_WEBVIEW:/((iPhone|iPod|iPad).*AppleWebKit(?!.*Version)|; wv)/i.test(navigator.userAgent),IS_GC:/Google Inc/.test(navigator.vendor),IS_CHROMEAPP:null!=window.chrome&&null!=chrome.app&&null!=chrome.app.runtime,IS_FF:-1<navigator.userAgent.toLowerCase().indexOf("firefox"),IS_MT:0<=navigator.userAgent.indexOf("Firefox/")&&
0>navigator.userAgent.indexOf("Firefox/1.")&&0>navigator.userAgent.indexOf("Firefox/2.")||0<=navigator.userAgent.indexOf("Iceweasel/")&&0>navigator.userAgent.indexOf("Iceweasel/1.")&&0>navigator.userAgent.indexOf("Iceweasel/2.")||0<=navigator.userAgent.indexOf("SeaMonkey/")&&0>navigator.userAgent.indexOf("SeaMonkey/1.")||0<=navigator.userAgent.indexOf("Iceape/")&&0>navigator.userAgent.indexOf("Iceape/1."),IS_SVG:"MICROSOFT INTERNET EXPLORER"!=navigator.appName.toUpperCase(),NO_FO:!document.createElementNS||
@@ -77,57 +77,57 @@ null!=b?b:" ",c=null!=c?c:"",d=null!=d?d:"\n",null!=a.namespaceURI&&a.namespace
0<a.length&&f.push(c+"\x3c!--"+a+"--\x3e"+d);else if(a.nodeType==mxConstants.NODETYPE_TEXT)a=mxUtils.trim(mxUtils.getTextContent(a)),0<a.length&&f.push(c+mxUtils.htmlEntities(a,!1,!1)+d);else if(a.nodeType==mxConstants.NODETYPE_CDATA)a=mxUtils.getTextContent(a),0<a.length&&f.push(c+"<![CDATA["+a+"]]"+d);else{f.push(c+"<"+a.nodeName);g=a.attributes;if(null!=g)for(var k=0;k<g.length;k++){var l=mxUtils.htmlEntities(g[k].value);f.push(" "+g[k].nodeName+'="'+l+'"')}g=a.firstChild;if(null!=g){for(f.push(">"+
d);null!=g;)f.push(mxUtils.getPrettyXml(g,b,c+b,d,e)),g=g.nextSibling;f.push(c+"</"+a.nodeName+">"+d)}else f.push(" />"+d)}return f.join("")},extractTextWithWhitespace:function(a){function b(e){if(1!=e.length||"BR"!=e[0].nodeName&&"\n"!=e[0].innerHTML)for(var f=0;f<e.length;f++){var g=e[f];"BR"==g.nodeName||"\n"==g.innerHTML||(1==e.length||0==f)&&"DIV"==g.nodeName&&"<br>"==g.innerHTML.toLowerCase()?d.push("\n"):(3===g.nodeType||4===g.nodeType?0<g.nodeValue.length&&d.push(g.nodeValue):8!==g.nodeType&&
0<g.childNodes.length&&b(g.childNodes),f<e.length-1&&0<=mxUtils.indexOf(c,e[f+1].nodeName)&&d.push("\n"))}}var c="BLOCKQUOTE DIV H1 H2 H3 H4 H5 H6 OL P PRE TABLE UL".split(" "),d=[];b(a);return d.join("")},replaceTrailingNewlines:function(a,b){for(var c="";0<a.length&&"\n"==a.charAt(a.length-1);)a=a.substring(0,a.length-1),c+=b;return a+c},getNodeValue:function(a){a=a.firstChild;for(var b=[];null!=a;)a.nodeType!=mxConstants.NODETYPE_TEXT&&a.nodeType!=mxConstants.NODETYPE_CDATA||null==a.nodeValue||
-b.push(mxUtils.trim(a.nodeValue)),a=a.nextSibling;return 0<b.length?b.join(""):""},getTextContent:function(a){return mxClient.IS_IE&&void 0!==a.innerText?a.innerText:null!=a?a[void 0===a.textContent?"text":"textContent"]:""},setTextContent:function(a,b){void 0!==a.innerText?a.innerText=b:a[void 0===a.textContent?"text":"textContent"]=b},getInnerHtml:function(){return mxClient.IS_IE?function(a){return null!=a?a.innerHTML:""}:function(a){return null!=a?(new XMLSerializer).serializeToString(a):""}}(),
-getOuterHtml:function(){return mxClient.IS_IE?function(a){if(null!=a){if(null!=a.outerHTML)return a.outerHTML;var b=[];b.push("<"+a.nodeName);var c=a.attributes;if(null!=c)for(var d=0;d<c.length;d++){var e=c[d].value;null!=e&&0<e.length&&(b.push(" "),b.push(c[d].nodeName),b.push('="'),b.push(e),b.push('"'))}0==a.innerHTML.length?b.push("/>"):(b.push(">"),b.push(a.innerHTML),b.push("</"+a.nodeName+">"));return b.join("")}return""}:function(a){return null!=a?(new XMLSerializer).serializeToString(a):
-""}}(),write:function(a,b){b=a.ownerDocument.createTextNode(b);null!=a&&a.appendChild(b);return b},writeln:function(a,b){b=a.ownerDocument.createTextNode(b);null!=a&&(a.appendChild(b),a.appendChild(document.createElement("br")));return b},br:function(a,b){b=b||1;for(var c=null,d=0;d<b;d++)null!=a&&(c=a.ownerDocument.createElement("br"),a.appendChild(c));return c},button:function(a,b,c,d){c=null!=c?c:document;c=c.createElement("button");mxUtils.write(c,a);mxEvent.addListener(c,"click",function(e){b(e)});
-null!=d&&(c.className=d);return c},para:function(a,b){var c=document.createElement("p");mxUtils.write(c,b);null!=a&&a.appendChild(c);return c},addTransparentBackgroundFilter:function(a){a.style.filter+="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+mxClient.imageBasePath+"/transparent.gif', sizingMethod='scale')"},linkAction:function(a,b,c,d,e){return mxUtils.link(a,b,function(){c.execute(d)},e)},linkInvoke:function(a,b,c,d,e,f){return mxUtils.link(a,b,function(){c[d](e)},f)},link:function(a,
-b,c,d){var e=document.createElement("span");e.style.color="blue";e.style.textDecoration="underline";e.style.cursor="pointer";null!=d&&(e.style.paddingLeft=d+"px");mxEvent.addListener(e,"click",c);mxUtils.write(e,b);null!=a&&a.appendChild(e);return e},getDocumentSize:function(){var a=document.body,b=document.documentElement;try{return new mxRectangle(0,0,a.clientWidth||b.clientWidth,Math.max(a.clientHeight||0,b.clientHeight))}catch(c){return new mxRectangle}},fit:function(a,b){b=b||0;var c=mxUtils.getDocumentSize(),
-d=parseInt(a.offsetLeft),e=parseInt(a.offsetWidth),f=mxUtils.getDocumentScrollOrigin(a.ownerDocument),g=f.x;f=f.y;var k=g+c.width-b;d+e>k&&(a.style.left=Math.max(g+b,k-e)+"px");d=parseInt(a.offsetTop);e=parseInt(a.offsetHeight);c=f+c.height-b;d+e>c&&(a.style.top=Math.max(f+b,c-e)+"px")},load:function(a){a=new mxXmlRequest(a,null,"GET",!1);a.send();return a},get:function(a,b,c,d,e,f,g){a=new mxXmlRequest(a,null,"GET");var k=a.setRequestHeaders;g&&(a.setRequestHeaders=function(l,m){k.apply(this,arguments);
-for(var n in g)l.setRequestHeader(n,g[n])});null!=d&&a.setBinary(d);a.send(b,c,e,f);return a},getAll:function(a,b,c){for(var d=a.length,e=[],f=0,g=function(){0==f&&null!=c&&c();f++},k=0;k<a.length;k++)(function(l,m){mxUtils.get(l,function(n){var p=n.getStatus();200>p||299<p?g():(e[m]=n,d--,0==d&&b(e))},g)})(a[k],k);0==d&&b(e)},post:function(a,b,c,d){return(new mxXmlRequest(a,b)).send(c,d)},submit:function(a,b,c,d){return(new mxXmlRequest(a,b)).simulate(c,d)},loadInto:function(a,b,c){mxClient.IS_IE?
-b.onreadystatechange=function(){4==b.readyState&&c()}:b.addEventListener("load",c,!1);b.load(a)},getValue:function(a,b,c){a=null!=a?a[b]:null;null==a&&(a=c);return a},getNumber:function(a,b,c){a=null!=a?a[b]:null;null==a&&(a=c||0);return Number(a)},getColor:function(a,b,c){a=null!=a?a[b]:null;null==a?a=c:a==mxConstants.NONE&&(a=null);return a},isEmptyObject:function(a){for(var b in a)return!1;return!0},clone:function(a,b,c){c=null!=c?c:!1;var d=null;if(null!=a&&"function"==typeof a.constructor)if(a.constructor===
-Element)d=a.cloneNode(null!=c?!c:!1);else{d=new a.constructor;for(var e in a)e!=mxObjectIdentity.FIELD_NAME&&(null==b||0>mxUtils.indexOf(b,e))&&(d[e]=c||"object"!=typeof a[e]?a[e]:mxUtils.clone(a[e]))}return d},equalPoints:function(a,b){if(null==a&&null!=b||null!=a&&null==b||null!=a&&null!=b&&a.length!=b.length)return!1;if(null!=a&&null!=b)for(var c=0;c<a.length;c++)if(null!=a[c]&&null==b[c]||null==a[c]&&null!=b[c]||null!=a[c]&&null!=b[c]&&(a[c].x!=b[c].x||a[c].y!=b[c].y))return!1;return!0},equalEntries:function(a,
-b){var c=0;if(null==a&&null!=b||null!=a&&null==b||null!=a&&null!=b&&a.length!=b.length)return!1;if(null!=a&&null!=b){for(var d in b)c++;for(d in a)if(c--,!(mxUtils.isNaN(a[d])&&mxUtils.isNaN(b[d])||a[d]==b[d]))return!1}return 0==c},removeDuplicates:function(a){for(var b=new mxDictionary,c=[],d=0;d<a.length;d++)b.get(a[d])||(c.push(a[d]),b.put(a[d],!0));return c},isNaN:function(a){return"number"==typeof a&&isNaN(a)},extend:function(a,b){var c=function(){};c.prototype=b.prototype;a.prototype=new c;
-a.prototype.constructor=a},toString:function(a){var b="",c;for(c in a)try{if(null==a[c])b+=c+" = [null]\n";else if("function"==typeof a[c])b+=c+" => [Function]\n";else if("object"==typeof a[c]){var d=mxUtils.getFunctionName(a[c].constructor);b+=c+" => ["+d+"]\n"}else b+=c+" = "+a[c]+"\n"}catch(e){b+=c+"="+e.message}return b},toRadians:function(a){return Math.PI*a/180},toDegree:function(a){return 180*a/Math.PI},arcToCurves:function(a,b,c,d,e,f,g,k,l){k-=a;l-=b;if(0===c||0===d)return E;c=Math.abs(c);
-d=Math.abs(d);var m=-k/2,n=-l/2,p=Math.cos(e*Math.PI/180);E=Math.sin(e*Math.PI/180);e=p*m+E*n;m=-1*E*m+p*n;n=e*e;var r=m*m,q=c*c,t=d*d,u=n/q+r/t;1<u?(c*=Math.sqrt(u),d*=Math.sqrt(u),f=0):(u=1,f===g&&(u=-1),f=u*Math.sqrt((q*t-q*r-t*n)/(q*r+t*n)));n=f*c*m/d;r=-1*f*d*e/c;k=p*n-E*r+k/2;l=E*n+p*r+l/2;q=Math.atan2((m-r)/d,(e-n)/c)-Math.atan2(0,1);f=0<=q?q:2*Math.PI+q;q=Math.atan2((-m-r)/d,(-e-n)/c)-Math.atan2((m-r)/d,(e-n)/c);e=0<=q?q:2*Math.PI+q;0==g&&0<e?e-=2*Math.PI:0!=g&&0>e&&(e+=2*Math.PI);g=2*e/Math.PI;
-g=Math.ceil(0>g?-1*g:g);e/=g;m=8/3*Math.sin(e/4)*Math.sin(e/4)/Math.sin(e/2);n=p*c;p*=d;c*=E;d*=E;var v=Math.cos(f),z=Math.sin(f);r=-m*(n*z+d*v);q=-m*(c*z-p*v);for(var E=[],C=0;C<g;++C){f+=e;v=Math.cos(f);z=Math.sin(f);t=n*v-d*z+k;u=c*v+p*z+l;var F=-m*(n*z+d*v);v=-m*(c*z-p*v);z=6*C;E[z]=Number(r+a);E[z+1]=Number(q+b);E[z+2]=Number(t-F+a);E[z+3]=Number(u-v+b);E[z+4]=Number(t+a);E[z+5]=Number(u+b);r=t+F;q=u+v}return E},getBoundingBox:function(a,b,c){var d=null;if(null!=a&&null!=b&&0!=b){b=mxUtils.toRadians(b);
-d=Math.cos(b);var e=Math.sin(b);c=null!=c?c:new mxPoint(a.x+a.width/2,a.y+a.height/2);var f=new mxPoint(a.x,a.y);b=new mxPoint(a.x+a.width,a.y);var g=new mxPoint(b.x,a.y+a.height);a=new mxPoint(a.x,g.y);f=mxUtils.getRotatedPoint(f,d,e,c);b=mxUtils.getRotatedPoint(b,d,e,c);g=mxUtils.getRotatedPoint(g,d,e,c);a=mxUtils.getRotatedPoint(a,d,e,c);d=new mxRectangle(f.x,f.y,0,0);d.add(new mxRectangle(b.x,b.y,0,0));d.add(new mxRectangle(g.x,g.y,0,0));d.add(new mxRectangle(a.x,a.y,0,0))}return d},getRotatedPoint:function(a,
-b,c,d){d=null!=d?d:new mxPoint;var e=a.x-d.x;a=a.y-d.y;return new mxPoint(e*b-a*c+d.x,a*b+e*c+d.y)},getPortConstraints:function(a,b,c,d){b=mxUtils.getValue(a.style,mxConstants.STYLE_PORT_CONSTRAINT,mxUtils.getValue(b.style,c?mxConstants.STYLE_SOURCE_PORT_CONSTRAINT:mxConstants.STYLE_TARGET_PORT_CONSTRAINT,null));if(null==b)return d;d=b.toString();b=mxConstants.DIRECTION_MASK_NONE;c=0;1==mxUtils.getValue(a.style,mxConstants.STYLE_PORT_CONSTRAINT_ROTATION,0)&&(c=mxUtils.getValue(a.style,mxConstants.STYLE_ROTATION,
-0));a=0;45<c?(a=1,135<=c&&(a=2)):-45>c&&(a=3,-135>=c&&(a=2));if(0<=d.indexOf(mxConstants.DIRECTION_NORTH))switch(a){case 0:b|=mxConstants.DIRECTION_MASK_NORTH;break;case 1:b|=mxConstants.DIRECTION_MASK_EAST;break;case 2:b|=mxConstants.DIRECTION_MASK_SOUTH;break;case 3:b|=mxConstants.DIRECTION_MASK_WEST}if(0<=d.indexOf(mxConstants.DIRECTION_WEST))switch(a){case 0:b|=mxConstants.DIRECTION_MASK_WEST;break;case 1:b|=mxConstants.DIRECTION_MASK_NORTH;break;case 2:b|=mxConstants.DIRECTION_MASK_EAST;break;
-case 3:b|=mxConstants.DIRECTION_MASK_SOUTH}if(0<=d.indexOf(mxConstants.DIRECTION_SOUTH))switch(a){case 0:b|=mxConstants.DIRECTION_MASK_SOUTH;break;case 1:b|=mxConstants.DIRECTION_MASK_WEST;break;case 2:b|=mxConstants.DIRECTION_MASK_NORTH;break;case 3:b|=mxConstants.DIRECTION_MASK_EAST}if(0<=d.indexOf(mxConstants.DIRECTION_EAST))switch(a){case 0:b|=mxConstants.DIRECTION_MASK_EAST;break;case 1:b|=mxConstants.DIRECTION_MASK_SOUTH;break;case 2:b|=mxConstants.DIRECTION_MASK_WEST;break;case 3:b|=mxConstants.DIRECTION_MASK_NORTH}return b},
-reversePortConstraints:function(a){var b=(a&mxConstants.DIRECTION_MASK_WEST)<<3;b|=(a&mxConstants.DIRECTION_MASK_NORTH)<<1;b|=(a&mxConstants.DIRECTION_MASK_SOUTH)>>1;return b|(a&mxConstants.DIRECTION_MASK_EAST)>>3},findNearestSegment:function(a,b,c){var d=-1;if(0<a.absolutePoints.length)for(var e=a.absolutePoints[0],f=null,g=1;g<a.absolutePoints.length;g++){var k=a.absolutePoints[g];e=mxUtils.ptSegDistSq(e.x,e.y,k.x,k.y,b,c);if(null==f||e<f)f=e,d=g-1;e=k}return d},getDirectedBounds:function(a,b,c,
-d,e){var f=mxUtils.getValue(c,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST);d=null!=d?d:mxUtils.getValue(c,mxConstants.STYLE_FLIPH,!1);e=null!=e?e:mxUtils.getValue(c,mxConstants.STYLE_FLIPV,!1);b.x=Math.round(Math.max(0,Math.min(a.width,b.x)));b.y=Math.round(Math.max(0,Math.min(a.height,b.y)));b.width=Math.round(Math.max(0,Math.min(a.width,b.width)));b.height=Math.round(Math.max(0,Math.min(a.height,b.height)));if(e&&(f==mxConstants.DIRECTION_SOUTH||f==mxConstants.DIRECTION_NORTH)||d&&(f==
-mxConstants.DIRECTION_EAST||f==mxConstants.DIRECTION_WEST))c=b.x,b.x=b.width,b.width=c;if(d&&(f==mxConstants.DIRECTION_SOUTH||f==mxConstants.DIRECTION_NORTH)||e&&(f==mxConstants.DIRECTION_EAST||f==mxConstants.DIRECTION_WEST))c=b.y,b.y=b.height,b.height=c;d=mxRectangle.fromRectangle(b);f==mxConstants.DIRECTION_SOUTH?(d.y=b.x,d.x=b.height,d.width=b.y,d.height=b.width):f==mxConstants.DIRECTION_WEST?(d.y=b.height,d.x=b.width,d.width=b.x,d.height=b.y):f==mxConstants.DIRECTION_NORTH&&(d.y=b.width,d.x=b.y,
-d.width=b.height,d.height=b.x);return new mxRectangle(a.x+d.x,a.y+d.y,a.width-d.width-d.x,a.height-d.height-d.y)},getPerimeterPoint:function(a,b,c){for(var d=null,e=0;e<a.length-1;e++){var f=mxUtils.intersection(a[e].x,a[e].y,a[e+1].x,a[e+1].y,b.x,b.y,c.x,c.y);if(null!=f){var g=c.x-f.x,k=c.y-f.y;f={p:f,distSq:k*k+g*g};null!=f&&(null==d||d.distSq>f.distSq)&&(d=f)}}return null!=d?d.p:null},intersectsPoints:function(a,b){for(var c=0;c<b.length-1;c++)if(mxUtils.rectangleIntersectsSegment(a,b[c],b[c+1]))return!0;
-return!1},rectangleIntersectsSegment:function(a,b,c){var d=a.y,e=a.x,f=d+a.height,g=e+a.width;a=b.x;var k=c.x;b.x>c.x&&(a=c.x,k=b.x);k>g&&(k=g);a<e&&(a=e);if(a>k)return!1;e=b.y;g=c.y;var l=c.x-b.x;1E-7<Math.abs(l)&&(c=(c.y-b.y)/l,b=b.y-c*b.x,e=c*a+b,g=c*k+b);e>g&&(b=g,g=e,e=b);g>f&&(g=f);e<d&&(e=d);return e>g?!1:!0},contains:function(a,b,c){return a.x<=b&&a.x+a.width>=b&&a.y<=c&&a.y+a.height>=c},intersects:function(a,b,c){var d=a.width,e=a.height,f=b.width,g=b.height;if(!c&&(0>=f||0>=g||0>=d||0>=
-e))return!1;c=a.x;a=a.y;var k=b.x;b=b.y;f+=k;g+=b;d+=c;e+=a;return(f<k||f>c)&&(g<b||g>a)&&(d<c||d>k)&&(e<a||e>b)},intersectsHotspot:function(a,b,c,d,e,f){d=null!=d?d:1;e=null!=e?e:0;f=null!=f?f:0;if(0<d){var g=a.getCenterX(),k=a.getCenterY(),l=a.width,m=a.height,n=mxUtils.getValue(a.style,mxConstants.STYLE_STARTSIZE)*a.view.scale;0<n&&(mxUtils.getValue(a.style,mxConstants.STYLE_HORIZONTAL,!0)?(k=a.y+n/2,m=n):(g=a.x+n/2,l=n));l=Math.max(e,l*d);m=Math.max(e,m*d);0<f&&(l=Math.min(l,f),m=Math.min(m,f));
-d=new mxRectangle(g-l/2,k-m/2,l,m);g=mxUtils.toRadians(mxUtils.getValue(a.style,mxConstants.STYLE_ROTATION)||0);0!=g&&(e=Math.cos(-g),f=Math.sin(-g),g=new mxPoint(a.getCenterX(),a.getCenterY()),a=mxUtils.getRotatedPoint(new mxPoint(b,c),e,f,g),b=a.x,c=a.y);return mxUtils.contains(d,b,c)}return!0},getOffset:function(a,b){for(var c=0,d=0,e=!1,f=a,g=document.body,k=document.documentElement;null!=f&&f!=g&&f!=k&&!e;){var l=mxUtils.getCurrentStyle(f);null!=l&&(e=e||"fixed"==l.position);f=f.parentNode}b||
-e||(b=mxUtils.getDocumentScrollOrigin(a.ownerDocument),c+=b.x,d+=b.y);a=a.getBoundingClientRect();null!=a&&(c+=a.left,d+=a.top);return new mxPoint(c,d)},getDocumentScrollOrigin:function(a){a=a.defaultView||a.parentWindow;return new mxPoint(null!=a&&void 0!==window.pageXOffset?window.pageXOffset:(document.documentElement||document.body.parentNode||document.body).scrollLeft,null!=a&&void 0!==window.pageYOffset?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop)},
-getScrollOrigin:function(a,b,c){b=null!=b?b:!1;c=null!=c?c:!0;for(var d=null!=a?a.ownerDocument:document,e=d.body,f=d.documentElement,g=new mxPoint,k=!1;null!=a&&a!=e&&a!=f;){isNaN(a.scrollLeft)||isNaN(a.scrollTop)||(g.x+=a.scrollLeft,g.y+=a.scrollTop);var l=mxUtils.getCurrentStyle(a);null!=l&&(k=k||"fixed"==l.position);a=b?a.parentNode:null}!k&&c&&(a=mxUtils.getDocumentScrollOrigin(d),g.x+=a.x,g.y+=a.y);return g},convertPoint:function(a,b,c){var d=mxUtils.getScrollOrigin(a,!1);a=mxUtils.getOffset(a);
-a.x-=d.x;a.y-=d.y;return new mxPoint(b-a.x,c-a.y)},removeJavascriptProtocol:function(a){for(a=null!=a?mxUtils.zapGremlins(a):null;null!=a&&"javascript:"===mxUtils.ltrim(a.toLowerCase()).substring(0,11);)a=a.substring(a.toLowerCase().indexOf(":")+1);return a},zapGremlins:function(a){for(var b=0,c=[],d=0;d<a.length;d++){var e=a.charCodeAt(d);(32<=e||9==e||10==e||13==e)&&65535!=e&&65534!=e||(c.push(a.substring(b,d)),b=d+1)}0<b&&b<a.length&&c.push(a.substring(b));return 0==c.length?a:c.join("")},ltrim:function(a,
-b){return null!=a?a.replace(new RegExp("^["+(b||"\\s|\\0")+"]+","g"),""):null},rtrim:function(a,b){return null!=a?a.replace(new RegExp("["+(b||"\\s|\\0")+"]+$","g"),""):null},trim:function(a,b){return mxUtils.ltrim(mxUtils.rtrim(a,b),b)},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)&&("string"!=typeof a||0>a.toLowerCase().indexOf("0x"))},isInteger:function(a){return String(parseInt(a))===String(a)},mod:function(a,b){return(a%b+b)%b},intersection:function(a,b,c,d,e,f,g,k){var l=(k-
-f)*(c-a)-(g-e)*(d-b);g=((g-e)*(b-f)-(k-f)*(a-e))/l;e=((c-a)*(b-f)-(d-b)*(a-e))/l;return 0<=g&&1>=g&&0<=e&&1>=e?new mxPoint(a+g*(c-a),b+g*(d-b)):null},ptSegDistSq:function(a,b,c,d,e,f){c-=a;d-=b;e-=a;f-=b;0>=e*c+f*d?c=0:(e=c-e,f=d-f,a=e*c+f*d,c=0>=a?0:a*a/(c*c+d*d));e=e*e+f*f-c;0>e&&(e=0);return e},ptLineDist:function(a,b,c,d,e,f){return Math.abs((d-b)*e-(c-a)*f+c*b-d*a)/Math.sqrt((d-b)*(d-b)+(c-a)*(c-a))},relativeCcw:function(a,b,c,d,e,f){c-=a;d-=b;e-=a;f-=b;a=e*d-f*c;0==a&&(a=e*c+f*d,0<a&&(a=(e-
-c)*c+(f-d)*d,0>a&&(a=0)));return 0>a?-1:0<a?1:0},animateChanges:function(a,b){mxEffects.animateChanges.apply(this,arguments)},cascadeOpacity:function(a,b,c){mxEffects.cascadeOpacity.apply(this,arguments)},fadeOut:function(a,b,c,d,e,f){mxEffects.fadeOut.apply(this,arguments)},setOpacity:function(a,b){mxClient.IS_IE&&("undefined"===typeof document.documentMode||9>document.documentMode)?a.style.filter=100<=b?"":"alpha(opacity="+b+")":a.style.opacity=b/100},createElementNs:function(a,b,c){if(null!=a.createElementNS)return a.createElementNS(b,
-c);a=a.createElement(c);null!=namespace&&a.setAttribute("xmlns",b);return a},createImage:function(a){var b=document.createElement("img");b.setAttribute("src",a);b.setAttribute("border","0");return b},sortCells:function(a,b){b=null!=b?b:!0;var c=new mxDictionary;a.sort(function(d,e){var f=c.get(d);null==f&&(f=mxCellPath.create(d).split(mxCellPath.PATH_SEPARATOR),c.put(d,f));d=c.get(e);null==d&&(d=mxCellPath.create(e).split(mxCellPath.PATH_SEPARATOR),c.put(e,d));e=mxCellPath.compare(f,d);return 0==
-e?0:0<e==b?1:-1});return a},getStylename:function(a){return null!=a&&(a=a.split(";")[0],0>a.indexOf("="))?a:""},getStylenames:function(a){var b=[];if(null!=a){a=a.split(";");for(var c=0;c<a.length;c++)0>a[c].indexOf("=")&&b.push(a[c])}return b},indexOfStylename:function(a,b){if(null!=a&&null!=b){a=a.split(";");for(var c=0,d=0;d<a.length;d++){if(a[d]==b)return c;c+=a[d].length+1}}return-1},addStylename:function(a,b){0>mxUtils.indexOfStylename(a,b)&&(null==a?a="":0<a.length&&";"!=a.charAt(a.length-
-1)&&(a+=";"),a+=b);return a},removeStylename:function(a,b){var c=[];if(null!=a){a=a.split(";");for(var d=0;d<a.length;d++)a[d]!=b&&c.push(a[d])}return c.join(";")},removeAllStylenames:function(a){var b=[];if(null!=a){a=a.split(";");for(var c=0;c<a.length;c++)0<=a[c].indexOf("=")&&b.push(a[c])}return b.join(";")},setCellStyles:function(a,b,c,d){if(null!=b&&0<b.length){a.beginUpdate();try{for(var e=0;e<b.length;e++)if(null!=b[e]){var f=mxUtils.setStyle(a.getStyle(b[e]),c,d);a.setStyle(b[e],f)}}finally{a.endUpdate()}}},
-parseHexColor:function(a,b){var c=null;if(null!=a&&7<=a.length&&"#"==a.charAt(0)){c=parseInt(a.substring(1,3),16);var d=parseInt(a.substring(3,5),16),e=parseInt(a.substring(5,7),16);b=null!=b?b:1;7<a.length&&(b=parseInt(a.substring(7,9),16)/255);c={r:c,g:d,b:e,a:b}}return c},hex2rgb:function(a){var b=mxUtils.parseHexColor(a);null!=b&&(a="rgb("+b.r+", "+b.g+", "+b.b+")");return a},hex2rgba:function(a,b){b=mxUtils.parseHexColor(a,b);null!=b&&(a="rgba("+b.r+", "+b.g+", "+b.b+", "+b.a+")");return a},
-rgba2hex:function(a){return(rgb=a&&a.match?a.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i):a)&&4===rgb.length?"#"+("0"+parseInt(rgb[1],10).toString(16)).slice(-2)+("0"+parseInt(rgb[2],10).toString(16)).slice(-2)+("0"+parseInt(rgb[3],10).toString(16)).slice(-2):a},setStyle:function(a,b,c){var d=null!=c&&("undefined"==typeof c.length||0<c.length);if(null==a||0==a.length)d&&(a=b+"="+c+";");else if(a.substring(0,b.length+1)==b+"="){var e=a.indexOf(";");a=d?b+"="+c+(0>e?
-";":a.substring(e)):0>e||e==a.length-1?"":a.substring(e+1)}else{var f=a.indexOf(";"+b+"=");0>f?d&&(d=";"==a.charAt(a.length-1)?"":";",a=a+d+b+"="+c+";"):(e=a.indexOf(";",f+1),a=d?a.substring(0,f+1)+b+"="+c+(0>e?";":a.substring(e)):a.substring(0,f)+(0>e?";":a.substring(e)))}return a},setCellStyleFlags:function(a,b,c,d,e){if(null!=b&&0<b.length){a.beginUpdate();try{for(var f=0;f<b.length;f++)if(null!=b[f]){var g=mxUtils.setStyleFlag(a.getStyle(b[f]),c,d,e);a.setStyle(b[f],g)}}finally{a.endUpdate()}}},
-setStyleFlag:function(a,b,c,d){if(null==a||0==a.length)a=d||null==d?b+"="+c:b+"=0";else{var e=a.indexOf(b+"=");if(0>e)e=";"==a.charAt(a.length-1)?"":";",a=d||null==d?a+e+b+"="+c:a+e+b+"=0";else{var f=a.indexOf(";",e),g=0>f?a.substring(e+b.length+1):a.substring(e+b.length+1,f);g=null==d?parseInt(g)^c:d?parseInt(g)|c:parseInt(g)&~c;a=a.substring(0,e)+b+"="+g+(0<=f?a.substring(f):"")}}return a},getAlignmentAsPoint:function(a,b){var c=-.5,d=-.5;a==mxConstants.ALIGN_LEFT?c=0:a==mxConstants.ALIGN_RIGHT&&
-(c=-1);b==mxConstants.ALIGN_TOP?d=0:b==mxConstants.ALIGN_BOTTOM&&(d=-1);return new mxPoint(c,d)},getSizeForString:function(a,b,c,d,e){b=null!=b?b:mxConstants.DEFAULT_FONTSIZE;c=null!=c?c:mxConstants.DEFAULT_FONTFAMILY;var f=document.createElement("div");f.style.fontFamily=c;f.style.fontSize=Math.round(b)+"px";f.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?b*mxConstants.LINE_HEIGHT+"px":mxConstants.LINE_HEIGHT*mxSvgCanvas2D.prototype.lineHeightCorrection;null!=e&&((e&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD&&
-(f.style.fontWeight="bold"),(e&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC&&(f.style.fontStyle="italic"),b=[],(e&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&b.push("underline"),(e&mxConstants.FONT_STRIKETHROUGH)==mxConstants.FONT_STRIKETHROUGH&&b.push("line-through"),0<b.length&&(f.style.textDecoration=b.join(" ")));f.style.position="absolute";f.style.visibility="hidden";f.style.display="inline-block";f.style.zoom="1";null!=d?(f.style.width=d+"px",f.style.whiteSpace="normal"):f.style.whiteSpace=
-"nowrap";f.innerHTML=a;document.body.appendChild(f);a=new mxRectangle(0,0,f.offsetWidth,f.offsetHeight);document.body.removeChild(f);return a},getViewXml:function(a,b,c,d,e){d=null!=d?d:0;e=null!=e?e:0;b=null!=b?b:1;null==c&&(c=[a.getModel().getRoot()]);var f=a.getView(),g=null,k=f.isEventsEnabled();f.setEventsEnabled(!1);var l=f.drawPane,m=f.overlayPane;a.dialect==mxConstants.DIALECT_SVG?(f.drawPane=document.createElementNS(mxConstants.NS_SVG,"g"),f.canvas.appendChild(f.drawPane),f.overlayPane=document.createElementNS(mxConstants.NS_SVG,
-"g")):(f.drawPane=f.drawPane.cloneNode(!1),f.canvas.appendChild(f.drawPane),f.overlayPane=f.overlayPane.cloneNode(!1));f.canvas.appendChild(f.overlayPane);var n=f.getTranslate();f.translate=new mxPoint(d,e);b=new mxTemporaryCellStates(a.getView(),b,c);try{g=(new mxCodec).encode(a.getView())}finally{b.destroy(),f.translate=n,f.canvas.removeChild(f.drawPane),f.canvas.removeChild(f.overlayPane),f.drawPane=l,f.overlayPane=m,f.setEventsEnabled(k)}return g},getScaleForPageCount:function(a,b,c,d){if(1>a)return 1;
-c=null!=c?c:mxConstants.PAGE_FORMAT_A4_PORTRAIT;d=null!=d?d:0;var e=c.width-2*d;c=c.height-2*d;d=mxRectangle.fromRectangle(b.getGraphBounds());b=b.getView().getScale();d.width/=b;d.height/=b;b=d.width;var f=Math.sqrt(a);d=Math.sqrt(b/d.height/(e/c));c=f*d;d=f/d;if(1>c&&d>a){var g=d/a;d=a;c/=g}1>d&&c>a&&(g=c/a,c=a,d/=g);g=Math.ceil(c)*Math.ceil(d);for(f=0;g>a;){g=Math.floor(c)/c;var k=Math.floor(d)/d;1==g&&(g=Math.floor(c-1)/c);1==k&&(k=Math.floor(d-1)/d);g=g>k?g:k;c*=g;d*=g;g=Math.ceil(c)*Math.ceil(d);
-f++;if(10<f)break}return e*c/b*.99999},show:function(a,b,c,d,e,f){c=null!=c?c:0;d=null!=d?d:0;null==b?b=window.open().document:b.open();9==document.documentMode&&b.writeln('\x3c!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=9"><![endif]--\x3e');var g=a.getGraphBounds(),k=Math.ceil(c-g.x),l=Math.ceil(d-g.y);null==e&&(e=Math.ceil(g.width+c)+Math.ceil(Math.ceil(g.x)-g.x));null==f&&(f=Math.ceil(g.height+d)+Math.ceil(Math.ceil(g.y)-g.y));if(mxClient.IS_IE||11==document.documentMode){d="<html><head>";
-g=document.getElementsByTagName("base");for(c=0;c<g.length;c++)d+=g[c].outerHTML;d+="<style>";for(c=0;c<document.styleSheets.length;c++)try{d+=document.styleSheets[c].cssText}catch(m){}d=d+'</style></head><body style="margin:0px;"><div style="position:absolute;overflow:hidden;width:'+(e+"px;height:"+f+'px;"><div style="position:relative;left:'+k+"px;top:"+l+'px;">')+a.container.innerHTML;b.writeln(d+"</div></div></body><html>");b.close()}else{b.writeln("<html><head>");g=document.getElementsByTagName("base");
-for(c=0;c<g.length;c++)b.writeln(mxUtils.getOuterHtml(g[c]));d=document.getElementsByTagName("link");for(c=0;c<d.length;c++)b.writeln(mxUtils.getOuterHtml(d[c]));d=document.getElementsByTagName("style");for(c=0;c<d.length;c++)b.writeln(mxUtils.getOuterHtml(d[c]));b.writeln('</head><body style="margin:0px;"></body></html>');b.close();c=b.createElement("div");c.position="absolute";c.overflow="hidden";c.style.width=e+"px";c.style.height=f+"px";e=b.createElement("div");e.style.position="absolute";e.style.left=
-k+"px";e.style.top=l+"px";f=a.container.firstChild;for(d=null;null!=f;)g=f.cloneNode(!0),f==a.view.drawPane.ownerSVGElement?(c.appendChild(g),d=g):e.appendChild(g),f=f.nextSibling;b.body.appendChild(c);null!=e.firstChild&&b.body.appendChild(e);null!=d&&(d.style.minWidth="",d.style.minHeight="",d.firstChild.setAttribute("transform","translate("+k+","+l+")"))}mxUtils.removeCursors(b.body);return b},printScreen:function(a){var b=window.open();mxUtils.show(a,b.document);a=function(){b.focus();b.print();
-b.close()};mxClient.IS_GC?b.setTimeout(a,500):a()},popup:function(a,b){if(b){var c=document.createElement("div");c.style.overflow="scroll";c.style.width="636px";c.style.height="460px";b=document.createElement("pre");b.innerHTML=mxUtils.htmlEntities(a,!1).replace(/\n/g,"<br>").replace(/ /g,"&nbsp;");c.appendChild(b);c=new mxWindow("Popup Window",c,document.body.clientWidth/2-320,Math.max(document.body.clientHeight||0,document.documentElement.clientHeight)/2-240,640,480,!1,!0);c.setClosable(!0);c.setVisible(!0)}else mxClient.IS_NS?
-(c=window.open(),c.document.writeln("<pre>"+mxUtils.htmlEntities(a)+"</pre"),c.document.close()):(c=window.open(),b=c.document.createElement("pre"),b.innerHTML=mxUtils.htmlEntities(a,!1).replace(/\n/g,"<br>").replace(/ /g,"&nbsp;"),c.document.body.appendChild(b))},alert:function(a){alert(a)},prompt:function(a,b){return prompt(a,null!=b?b:"")},confirm:function(a){return confirm(a)},error:function(a,b,c,d){var e=document.createElement("div");e.style.padding="20px";var f=document.createElement("img");
-f.setAttribute("src",d||mxUtils.errorImage);f.setAttribute("valign","bottom");f.style.verticalAlign="middle";e.appendChild(f);e.appendChild(document.createTextNode(" "));e.appendChild(document.createTextNode(" "));e.appendChild(document.createTextNode(" "));mxUtils.write(e,a);a=document.body.clientWidth;d=document.body.clientHeight||document.documentElement.clientHeight;var g=new mxWindow(mxResources.get(mxUtils.errorResource)||mxUtils.errorResource,e,(a-b)/2,d/4,b,null,!1,!0);c&&(mxUtils.br(e),b=
-document.createElement("p"),c=document.createElement("button"),mxClient.IS_IE?c.style.cssText="float:right":c.setAttribute("style","float:right"),mxEvent.addListener(c,"click",function(k){g.destroy()}),mxUtils.write(c,mxResources.get(mxUtils.closeResource)||mxUtils.closeResource),b.appendChild(c),e.appendChild(b),mxUtils.br(e),g.setClosable(!0));g.setVisible(!0);return g},makeDraggable:function(a,b,c,d,e,f,g,k,l,m){a=new mxDragSource(a,c);a.dragOffset=new mxPoint(null!=e?e:0,null!=f?f:mxConstants.TOOLTIP_VERTICAL_OFFSET);
-a.autoscroll=g;a.setGuidesEnabled(!1);null!=l&&(a.highlightDropTargets=l);null!=m&&(a.getDropTarget=m);a.getGraphForEvent=function(n){return"function"==typeof b?b(n):b};null!=d&&(a.createDragElement=function(){return d.cloneNode(!0)},k&&(a.createPreviewElement=function(n){var p=d.cloneNode(!0),r=parseInt(p.style.width),q=parseInt(p.style.height);p.style.width=Math.round(r*n.view.scale)+"px";p.style.height=Math.round(q*n.view.scale)+"px";return p}));return a},format:function(a){return parseFloat(parseFloat(a).toFixed(2))}},
+b.push(mxUtils.trim(a.nodeValue)),a=a.nextSibling;return 0<b.length?b.join(""):""},getTextContent:function(a){return null!=a?a[void 0===a.textContent?"text":"textContent"]:""},setTextContent:function(a,b){void 0!==a.innerText?a.innerText=b:a[void 0===a.textContent?"text":"textContent"]=b},getInnerHtml:function(){return mxClient.IS_IE?function(a){return null!=a?a.innerHTML:""}:function(a){return null!=a?(new XMLSerializer).serializeToString(a):""}}(),getOuterHtml:function(){return mxClient.IS_IE?function(a){if(null!=
+a){if(null!=a.outerHTML)return a.outerHTML;var b=[];b.push("<"+a.nodeName);var c=a.attributes;if(null!=c)for(var d=0;d<c.length;d++){var e=c[d].value;null!=e&&0<e.length&&(b.push(" "),b.push(c[d].nodeName),b.push('="'),b.push(e),b.push('"'))}0==a.innerHTML.length?b.push("/>"):(b.push(">"),b.push(a.innerHTML),b.push("</"+a.nodeName+">"));return b.join("")}return""}:function(a){return null!=a?(new XMLSerializer).serializeToString(a):""}}(),write:function(a,b){b=a.ownerDocument.createTextNode(b);null!=
+a&&a.appendChild(b);return b},writeln:function(a,b){b=a.ownerDocument.createTextNode(b);null!=a&&(a.appendChild(b),a.appendChild(document.createElement("br")));return b},br:function(a,b){b=b||1;for(var c=null,d=0;d<b;d++)null!=a&&(c=a.ownerDocument.createElement("br"),a.appendChild(c));return c},button:function(a,b,c,d){c=null!=c?c:document;c=c.createElement("button");mxUtils.write(c,a);mxEvent.addListener(c,"click",function(e){b(e)});null!=d&&(c.className=d);return c},para:function(a,b){var c=document.createElement("p");
+mxUtils.write(c,b);null!=a&&a.appendChild(c);return c},addTransparentBackgroundFilter:function(a){a.style.filter+="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+mxClient.imageBasePath+"/transparent.gif', sizingMethod='scale')"},linkAction:function(a,b,c,d,e){return mxUtils.link(a,b,function(){c.execute(d)},e)},linkInvoke:function(a,b,c,d,e,f){return mxUtils.link(a,b,function(){c[d](e)},f)},link:function(a,b,c,d){var e=document.createElement("span");e.style.color="blue";e.style.textDecoration=
+"underline";e.style.cursor="pointer";null!=d&&(e.style.paddingLeft=d+"px");mxEvent.addListener(e,"click",c);mxUtils.write(e,b);null!=a&&a.appendChild(e);return e},getDocumentSize:function(){var a=document.body,b=document.documentElement;try{return new mxRectangle(0,0,a.clientWidth||b.clientWidth,Math.max(a.clientHeight||0,b.clientHeight))}catch(c){return new mxRectangle}},fit:function(a,b){b=b||0;var c=mxUtils.getDocumentSize(),d=parseInt(a.offsetLeft),e=parseInt(a.offsetWidth),f=mxUtils.getDocumentScrollOrigin(a.ownerDocument),
+g=f.x;f=f.y;var k=g+c.width-b;d+e>k&&(a.style.left=Math.max(g+b,k-e)+"px");d=parseInt(a.offsetTop);e=parseInt(a.offsetHeight);c=f+c.height-b;d+e>c&&(a.style.top=Math.max(f+b,c-e)+"px")},load:function(a){a=new mxXmlRequest(a,null,"GET",!1);a.send();return a},get:function(a,b,c,d,e,f,g){a=new mxXmlRequest(a,null,"GET");var k=a.setRequestHeaders;g&&(a.setRequestHeaders=function(l,m){k.apply(this,arguments);for(var n in g)l.setRequestHeader(n,g[n])});null!=d&&a.setBinary(d);a.send(b,c,e,f);return a},
+getAll:function(a,b,c){for(var d=a.length,e=[],f=0,g=function(){0==f&&null!=c&&c();f++},k=0;k<a.length;k++)(function(l,m){mxUtils.get(l,function(n){var p=n.getStatus();200>p||299<p?g():(e[m]=n,d--,0==d&&b(e))},g)})(a[k],k);0==d&&b(e)},post:function(a,b,c,d){return(new mxXmlRequest(a,b)).send(c,d)},submit:function(a,b,c,d){return(new mxXmlRequest(a,b)).simulate(c,d)},loadInto:function(a,b,c){mxClient.IS_IE?b.onreadystatechange=function(){4==b.readyState&&c()}:b.addEventListener("load",c,!1);b.load(a)},
+getValue:function(a,b,c){a=null!=a?a[b]:null;null==a&&(a=c);return a},getNumber:function(a,b,c){a=null!=a?a[b]:null;null==a&&(a=c||0);return Number(a)},getColor:function(a,b,c){a=null!=a?a[b]:null;null==a?a=c:a==mxConstants.NONE&&(a=null);return a},isEmptyObject:function(a){for(var b in a)return!1;return!0},clone:function(a,b,c){c=null!=c?c:!1;var d=null;if(null!=a&&"function"==typeof a.constructor)if(a.constructor===Element)d=a.cloneNode(null!=c?!c:!1);else{d=new a.constructor;for(var e in a)e!=
+mxObjectIdentity.FIELD_NAME&&(null==b||0>mxUtils.indexOf(b,e))&&(d[e]=c||"object"!=typeof a[e]?a[e]:mxUtils.clone(a[e]))}return d},equalPoints:function(a,b){if(null==a&&null!=b||null!=a&&null==b||null!=a&&null!=b&&a.length!=b.length)return!1;if(null!=a&&null!=b)for(var c=0;c<a.length;c++)if(null!=a[c]&&null==b[c]||null==a[c]&&null!=b[c]||null!=a[c]&&null!=b[c]&&(a[c].x!=b[c].x||a[c].y!=b[c].y))return!1;return!0},equalEntries:function(a,b){var c=0;if(null==a&&null!=b||null!=a&&null==b||null!=a&&null!=
+b&&a.length!=b.length)return!1;if(null!=a&&null!=b){for(var d in b)c++;for(d in a)if(c--,!(mxUtils.isNaN(a[d])&&mxUtils.isNaN(b[d])||a[d]==b[d]))return!1}return 0==c},removeDuplicates:function(a){for(var b=new mxDictionary,c=[],d=0;d<a.length;d++)b.get(a[d])||(c.push(a[d]),b.put(a[d],!0));return c},isNaN:function(a){return"number"==typeof a&&isNaN(a)},extend:function(a,b){var c=function(){};c.prototype=b.prototype;a.prototype=new c;a.prototype.constructor=a},toString:function(a){var b="",c;for(c in a)try{if(null==
+a[c])b+=c+" = [null]\n";else if("function"==typeof a[c])b+=c+" => [Function]\n";else if("object"==typeof a[c]){var d=mxUtils.getFunctionName(a[c].constructor);b+=c+" => ["+d+"]\n"}else b+=c+" = "+a[c]+"\n"}catch(e){b+=c+"="+e.message}return b},toRadians:function(a){return Math.PI*a/180},toDegree:function(a){return 180*a/Math.PI},arcToCurves:function(a,b,c,d,e,f,g,k,l){k-=a;l-=b;if(0===c||0===d)return E;c=Math.abs(c);d=Math.abs(d);var m=-k/2,n=-l/2,p=Math.cos(e*Math.PI/180);E=Math.sin(e*Math.PI/180);
+e=p*m+E*n;m=-1*E*m+p*n;n=e*e;var r=m*m,q=c*c,t=d*d,u=n/q+r/t;1<u?(c*=Math.sqrt(u),d*=Math.sqrt(u),f=0):(u=1,f===g&&(u=-1),f=u*Math.sqrt((q*t-q*r-t*n)/(q*r+t*n)));n=f*c*m/d;r=-1*f*d*e/c;k=p*n-E*r+k/2;l=E*n+p*r+l/2;q=Math.atan2((m-r)/d,(e-n)/c)-Math.atan2(0,1);f=0<=q?q:2*Math.PI+q;q=Math.atan2((-m-r)/d,(-e-n)/c)-Math.atan2((m-r)/d,(e-n)/c);e=0<=q?q:2*Math.PI+q;0==g&&0<e?e-=2*Math.PI:0!=g&&0>e&&(e+=2*Math.PI);g=2*e/Math.PI;g=Math.ceil(0>g?-1*g:g);e/=g;m=8/3*Math.sin(e/4)*Math.sin(e/4)/Math.sin(e/2);
+n=p*c;p*=d;c*=E;d*=E;var v=Math.cos(f),z=Math.sin(f);r=-m*(n*z+d*v);q=-m*(c*z-p*v);for(var E=[],C=0;C<g;++C){f+=e;v=Math.cos(f);z=Math.sin(f);t=n*v-d*z+k;u=c*v+p*z+l;var F=-m*(n*z+d*v);v=-m*(c*z-p*v);z=6*C;E[z]=Number(r+a);E[z+1]=Number(q+b);E[z+2]=Number(t-F+a);E[z+3]=Number(u-v+b);E[z+4]=Number(t+a);E[z+5]=Number(u+b);r=t+F;q=u+v}return E},getBoundingBox:function(a,b,c){var d=null;if(null!=a&&null!=b&&0!=b){b=mxUtils.toRadians(b);d=Math.cos(b);var e=Math.sin(b);c=null!=c?c:new mxPoint(a.x+a.width/
+2,a.y+a.height/2);var f=new mxPoint(a.x,a.y);b=new mxPoint(a.x+a.width,a.y);var g=new mxPoint(b.x,a.y+a.height);a=new mxPoint(a.x,g.y);f=mxUtils.getRotatedPoint(f,d,e,c);b=mxUtils.getRotatedPoint(b,d,e,c);g=mxUtils.getRotatedPoint(g,d,e,c);a=mxUtils.getRotatedPoint(a,d,e,c);d=new mxRectangle(f.x,f.y,0,0);d.add(new mxRectangle(b.x,b.y,0,0));d.add(new mxRectangle(g.x,g.y,0,0));d.add(new mxRectangle(a.x,a.y,0,0))}return d},getRotatedPoint:function(a,b,c,d){d=null!=d?d:new mxPoint;var e=a.x-d.x;a=a.y-
+d.y;return new mxPoint(e*b-a*c+d.x,a*b+e*c+d.y)},getPortConstraints:function(a,b,c,d){b=mxUtils.getValue(a.style,mxConstants.STYLE_PORT_CONSTRAINT,mxUtils.getValue(b.style,c?mxConstants.STYLE_SOURCE_PORT_CONSTRAINT:mxConstants.STYLE_TARGET_PORT_CONSTRAINT,null));if(null==b)return d;d=b.toString();b=mxConstants.DIRECTION_MASK_NONE;c=0;1==mxUtils.getValue(a.style,mxConstants.STYLE_PORT_CONSTRAINT_ROTATION,0)&&(c=mxUtils.getValue(a.style,mxConstants.STYLE_ROTATION,0));a=0;45<c?(a=1,135<=c&&(a=2)):-45>
+c&&(a=3,-135>=c&&(a=2));if(0<=d.indexOf(mxConstants.DIRECTION_NORTH))switch(a){case 0:b|=mxConstants.DIRECTION_MASK_NORTH;break;case 1:b|=mxConstants.DIRECTION_MASK_EAST;break;case 2:b|=mxConstants.DIRECTION_MASK_SOUTH;break;case 3:b|=mxConstants.DIRECTION_MASK_WEST}if(0<=d.indexOf(mxConstants.DIRECTION_WEST))switch(a){case 0:b|=mxConstants.DIRECTION_MASK_WEST;break;case 1:b|=mxConstants.DIRECTION_MASK_NORTH;break;case 2:b|=mxConstants.DIRECTION_MASK_EAST;break;case 3:b|=mxConstants.DIRECTION_MASK_SOUTH}if(0<=
+d.indexOf(mxConstants.DIRECTION_SOUTH))switch(a){case 0:b|=mxConstants.DIRECTION_MASK_SOUTH;break;case 1:b|=mxConstants.DIRECTION_MASK_WEST;break;case 2:b|=mxConstants.DIRECTION_MASK_NORTH;break;case 3:b|=mxConstants.DIRECTION_MASK_EAST}if(0<=d.indexOf(mxConstants.DIRECTION_EAST))switch(a){case 0:b|=mxConstants.DIRECTION_MASK_EAST;break;case 1:b|=mxConstants.DIRECTION_MASK_SOUTH;break;case 2:b|=mxConstants.DIRECTION_MASK_WEST;break;case 3:b|=mxConstants.DIRECTION_MASK_NORTH}return b},reversePortConstraints:function(a){var b=
+(a&mxConstants.DIRECTION_MASK_WEST)<<3;b|=(a&mxConstants.DIRECTION_MASK_NORTH)<<1;b|=(a&mxConstants.DIRECTION_MASK_SOUTH)>>1;return b|(a&mxConstants.DIRECTION_MASK_EAST)>>3},findNearestSegment:function(a,b,c){var d=-1;if(0<a.absolutePoints.length)for(var e=a.absolutePoints[0],f=null,g=1;g<a.absolutePoints.length;g++){var k=a.absolutePoints[g];e=mxUtils.ptSegDistSq(e.x,e.y,k.x,k.y,b,c);if(null==f||e<f)f=e,d=g-1;e=k}return d},getDirectedBounds:function(a,b,c,d,e){var f=mxUtils.getValue(c,mxConstants.STYLE_DIRECTION,
+mxConstants.DIRECTION_EAST);d=null!=d?d:mxUtils.getValue(c,mxConstants.STYLE_FLIPH,!1);e=null!=e?e:mxUtils.getValue(c,mxConstants.STYLE_FLIPV,!1);b.x=Math.round(Math.max(0,Math.min(a.width,b.x)));b.y=Math.round(Math.max(0,Math.min(a.height,b.y)));b.width=Math.round(Math.max(0,Math.min(a.width,b.width)));b.height=Math.round(Math.max(0,Math.min(a.height,b.height)));if(e&&(f==mxConstants.DIRECTION_SOUTH||f==mxConstants.DIRECTION_NORTH)||d&&(f==mxConstants.DIRECTION_EAST||f==mxConstants.DIRECTION_WEST))c=
+b.x,b.x=b.width,b.width=c;if(d&&(f==mxConstants.DIRECTION_SOUTH||f==mxConstants.DIRECTION_NORTH)||e&&(f==mxConstants.DIRECTION_EAST||f==mxConstants.DIRECTION_WEST))c=b.y,b.y=b.height,b.height=c;d=mxRectangle.fromRectangle(b);f==mxConstants.DIRECTION_SOUTH?(d.y=b.x,d.x=b.height,d.width=b.y,d.height=b.width):f==mxConstants.DIRECTION_WEST?(d.y=b.height,d.x=b.width,d.width=b.x,d.height=b.y):f==mxConstants.DIRECTION_NORTH&&(d.y=b.width,d.x=b.y,d.width=b.height,d.height=b.x);return new mxRectangle(a.x+
+d.x,a.y+d.y,a.width-d.width-d.x,a.height-d.height-d.y)},getPerimeterPoint:function(a,b,c){for(var d=null,e=0;e<a.length-1;e++){var f=mxUtils.intersection(a[e].x,a[e].y,a[e+1].x,a[e+1].y,b.x,b.y,c.x,c.y);if(null!=f){var g=c.x-f.x,k=c.y-f.y;f={p:f,distSq:k*k+g*g};null!=f&&(null==d||d.distSq>f.distSq)&&(d=f)}}return null!=d?d.p:null},intersectsPoints:function(a,b){for(var c=0;c<b.length-1;c++)if(mxUtils.rectangleIntersectsSegment(a,b[c],b[c+1]))return!0;return!1},rectangleIntersectsSegment:function(a,
+b,c){var d=a.y,e=a.x,f=d+a.height,g=e+a.width;a=b.x;var k=c.x;b.x>c.x&&(a=c.x,k=b.x);k>g&&(k=g);a<e&&(a=e);if(a>k)return!1;e=b.y;g=c.y;var l=c.x-b.x;1E-7<Math.abs(l)&&(c=(c.y-b.y)/l,b=b.y-c*b.x,e=c*a+b,g=c*k+b);e>g&&(b=g,g=e,e=b);g>f&&(g=f);e<d&&(e=d);return e>g?!1:!0},contains:function(a,b,c){return a.x<=b&&a.x+a.width>=b&&a.y<=c&&a.y+a.height>=c},intersects:function(a,b,c){var d=a.width,e=a.height,f=b.width,g=b.height;if(!c&&(0>=f||0>=g||0>=d||0>=e))return!1;c=a.x;a=a.y;var k=b.x;b=b.y;f+=k;g+=
+b;d+=c;e+=a;return(f<k||f>c)&&(g<b||g>a)&&(d<c||d>k)&&(e<a||e>b)},intersectsHotspot:function(a,b,c,d,e,f){d=null!=d?d:1;e=null!=e?e:0;f=null!=f?f:0;if(0<d){var g=a.getCenterX(),k=a.getCenterY(),l=a.width,m=a.height,n=mxUtils.getValue(a.style,mxConstants.STYLE_STARTSIZE)*a.view.scale;0<n&&(mxUtils.getValue(a.style,mxConstants.STYLE_HORIZONTAL,!0)?(k=a.y+n/2,m=n):(g=a.x+n/2,l=n));l=Math.max(e,l*d);m=Math.max(e,m*d);0<f&&(l=Math.min(l,f),m=Math.min(m,f));d=new mxRectangle(g-l/2,k-m/2,l,m);g=mxUtils.toRadians(mxUtils.getValue(a.style,
+mxConstants.STYLE_ROTATION)||0);0!=g&&(e=Math.cos(-g),f=Math.sin(-g),g=new mxPoint(a.getCenterX(),a.getCenterY()),a=mxUtils.getRotatedPoint(new mxPoint(b,c),e,f,g),b=a.x,c=a.y);return mxUtils.contains(d,b,c)}return!0},getOffset:function(a,b){for(var c=0,d=0,e=!1,f=a,g=document.body,k=document.documentElement;null!=f&&f!=g&&f!=k&&!e;){var l=mxUtils.getCurrentStyle(f);null!=l&&(e=e||"fixed"==l.position);f=f.parentNode}b||e||(b=mxUtils.getDocumentScrollOrigin(a.ownerDocument),c+=b.x,d+=b.y);a=a.getBoundingClientRect();
+null!=a&&(c+=a.left,d+=a.top);return new mxPoint(c,d)},getDocumentScrollOrigin:function(a){a=a.defaultView||a.parentWindow;return new mxPoint(null!=a&&void 0!==window.pageXOffset?window.pageXOffset:(document.documentElement||document.body.parentNode||document.body).scrollLeft,null!=a&&void 0!==window.pageYOffset?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop)},getScrollOrigin:function(a,b,c){b=null!=b?b:!1;c=null!=c?c:!0;for(var d=null!=a?a.ownerDocument:
+document,e=d.body,f=d.documentElement,g=new mxPoint,k=!1;null!=a&&a!=e&&a!=f;){isNaN(a.scrollLeft)||isNaN(a.scrollTop)||(g.x+=a.scrollLeft,g.y+=a.scrollTop);var l=mxUtils.getCurrentStyle(a);null!=l&&(k=k||"fixed"==l.position);a=b?a.parentNode:null}!k&&c&&(a=mxUtils.getDocumentScrollOrigin(d),g.x+=a.x,g.y+=a.y);return g},convertPoint:function(a,b,c){var d=mxUtils.getScrollOrigin(a,!1);a=mxUtils.getOffset(a);a.x-=d.x;a.y-=d.y;return new mxPoint(b-a.x,c-a.y)},removeJavascriptProtocol:function(a){for(a=
+null!=a?mxUtils.zapGremlins(a):null;null!=a&&"javascript:"===mxUtils.ltrim(a.toLowerCase()).substring(0,11);)a=a.substring(a.toLowerCase().indexOf(":")+1);return a},zapGremlins:function(a){for(var b=0,c=[],d=0;d<a.length;d++){var e=a.charCodeAt(d);(32<=e||9==e||10==e||13==e)&&65535!=e&&65534!=e||(c.push(a.substring(b,d)),b=d+1)}0<b&&b<a.length&&c.push(a.substring(b));return 0==c.length?a:c.join("")},ltrim:function(a,b){return null!=a?a.replace(new RegExp("^["+(b||"\\s|\\0")+"]+","g"),""):null},rtrim:function(a,
+b){return null!=a?a.replace(new RegExp("["+(b||"\\s|\\0")+"]+$","g"),""):null},trim:function(a,b){return mxUtils.ltrim(mxUtils.rtrim(a,b),b)},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)&&("string"!=typeof a||0>a.toLowerCase().indexOf("0x"))},isInteger:function(a){return String(parseInt(a))===String(a)},mod:function(a,b){return(a%b+b)%b},intersection:function(a,b,c,d,e,f,g,k){var l=(k-f)*(c-a)-(g-e)*(d-b);g=((g-e)*(b-f)-(k-f)*(a-e))/l;e=((c-a)*(b-f)-(d-b)*(a-e))/l;return 0<=g&&1>=
+g&&0<=e&&1>=e?new mxPoint(a+g*(c-a),b+g*(d-b)):null},ptSegDistSq:function(a,b,c,d,e,f){c-=a;d-=b;e-=a;f-=b;0>=e*c+f*d?c=0:(e=c-e,f=d-f,a=e*c+f*d,c=0>=a?0:a*a/(c*c+d*d));e=e*e+f*f-c;0>e&&(e=0);return e},ptLineDist:function(a,b,c,d,e,f){return Math.abs((d-b)*e-(c-a)*f+c*b-d*a)/Math.sqrt((d-b)*(d-b)+(c-a)*(c-a))},relativeCcw:function(a,b,c,d,e,f){c-=a;d-=b;e-=a;f-=b;a=e*d-f*c;0==a&&(a=e*c+f*d,0<a&&(a=(e-c)*c+(f-d)*d,0>a&&(a=0)));return 0>a?-1:0<a?1:0},animateChanges:function(a,b){mxEffects.animateChanges.apply(this,
+arguments)},cascadeOpacity:function(a,b,c){mxEffects.cascadeOpacity.apply(this,arguments)},fadeOut:function(a,b,c,d,e,f){mxEffects.fadeOut.apply(this,arguments)},setOpacity:function(a,b){mxClient.IS_IE&&("undefined"===typeof document.documentMode||9>document.documentMode)?a.style.filter=100<=b?"":"alpha(opacity="+b+")":a.style.opacity=b/100},createElementNs:function(a,b,c){if(null!=a.createElementNS)return a.createElementNS(b,c);a=a.createElement(c);null!=namespace&&a.setAttribute("xmlns",b);return a},
+createImage:function(a){var b=document.createElement("img");b.setAttribute("src",a);b.setAttribute("border","0");return b},sortCells:function(a,b){b=null!=b?b:!0;var c=new mxDictionary;a.sort(function(d,e){var f=c.get(d);null==f&&(f=mxCellPath.create(d).split(mxCellPath.PATH_SEPARATOR),c.put(d,f));d=c.get(e);null==d&&(d=mxCellPath.create(e).split(mxCellPath.PATH_SEPARATOR),c.put(e,d));e=mxCellPath.compare(f,d);return 0==e?0:0<e==b?1:-1});return a},getStylename:function(a){return null!=a&&(a=a.split(";")[0],
+0>a.indexOf("="))?a:""},getStylenames:function(a){var b=[];if(null!=a){a=a.split(";");for(var c=0;c<a.length;c++)0>a[c].indexOf("=")&&b.push(a[c])}return b},indexOfStylename:function(a,b){if(null!=a&&null!=b){a=a.split(";");for(var c=0,d=0;d<a.length;d++){if(a[d]==b)return c;c+=a[d].length+1}}return-1},addStylename:function(a,b){0>mxUtils.indexOfStylename(a,b)&&(null==a?a="":0<a.length&&";"!=a.charAt(a.length-1)&&(a+=";"),a+=b);return a},removeStylename:function(a,b){var c=[];if(null!=a){a=a.split(";");
+for(var d=0;d<a.length;d++)a[d]!=b&&c.push(a[d])}return c.join(";")},removeAllStylenames:function(a){var b=[];if(null!=a){a=a.split(";");for(var c=0;c<a.length;c++)0<=a[c].indexOf("=")&&b.push(a[c])}return b.join(";")},setCellStyles:function(a,b,c,d){if(null!=b&&0<b.length){a.beginUpdate();try{for(var e=0;e<b.length;e++)if(null!=b[e]){var f=mxUtils.setStyle(a.getStyle(b[e]),c,d);a.setStyle(b[e],f)}}finally{a.endUpdate()}}},parseHexColor:function(a,b){var c=null;if(null!=a&&7<=a.length&&"#"==a.charAt(0)){c=
+parseInt(a.substring(1,3),16);var d=parseInt(a.substring(3,5),16),e=parseInt(a.substring(5,7),16);b=null!=b?b:1;7<a.length&&(b=parseInt(a.substring(7,9),16)/255);c={r:c,g:d,b:e,a:b}}return c},hex2rgb:function(a){var b=mxUtils.parseHexColor(a);null!=b&&(a="rgb("+b.r+", "+b.g+", "+b.b+")");return a},hex2rgba:function(a,b){b=mxUtils.parseHexColor(a,b);null!=b&&(a="rgba("+b.r+", "+b.g+", "+b.b+", "+b.a+")");return a},rgba2hex:function(a){return(rgb=a&&a.match?a.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i):
+a)&&4===rgb.length?"#"+("0"+parseInt(rgb[1],10).toString(16)).slice(-2)+("0"+parseInt(rgb[2],10).toString(16)).slice(-2)+("0"+parseInt(rgb[3],10).toString(16)).slice(-2):a},setStyle:function(a,b,c){var d=null!=c&&("undefined"==typeof c.length||0<c.length);if(null==a||0==a.length)d&&(a=b+"="+c+";");else if(a.substring(0,b.length+1)==b+"="){var e=a.indexOf(";");a=d?b+"="+c+(0>e?";":a.substring(e)):0>e||e==a.length-1?"":a.substring(e+1)}else{var f=a.indexOf(";"+b+"=");0>f?d&&(d=";"==a.charAt(a.length-
+1)?"":";",a=a+d+b+"="+c+";"):(e=a.indexOf(";",f+1),a=d?a.substring(0,f+1)+b+"="+c+(0>e?";":a.substring(e)):a.substring(0,f)+(0>e?";":a.substring(e)))}return a},setCellStyleFlags:function(a,b,c,d,e){if(null!=b&&0<b.length){a.beginUpdate();try{for(var f=0;f<b.length;f++)if(null!=b[f]){var g=mxUtils.setStyleFlag(a.getStyle(b[f]),c,d,e);a.setStyle(b[f],g)}}finally{a.endUpdate()}}},setStyleFlag:function(a,b,c,d){if(null==a||0==a.length)a=d||null==d?b+"="+c:b+"=0";else{var e=a.indexOf(b+"=");if(0>e)e=";"==
+a.charAt(a.length-1)?"":";",a=d||null==d?a+e+b+"="+c:a+e+b+"=0";else{var f=a.indexOf(";",e),g=0>f?a.substring(e+b.length+1):a.substring(e+b.length+1,f);g=null==d?parseInt(g)^c:d?parseInt(g)|c:parseInt(g)&~c;a=a.substring(0,e)+b+"="+g+(0<=f?a.substring(f):"")}}return a},getAlignmentAsPoint:function(a,b){var c=-.5,d=-.5;a==mxConstants.ALIGN_LEFT?c=0:a==mxConstants.ALIGN_RIGHT&&(c=-1);b==mxConstants.ALIGN_TOP?d=0:b==mxConstants.ALIGN_BOTTOM&&(d=-1);return new mxPoint(c,d)},getSizeForString:function(a,
+b,c,d,e){b=null!=b?b:mxConstants.DEFAULT_FONTSIZE;c=null!=c?c:mxConstants.DEFAULT_FONTFAMILY;var f=document.createElement("div");f.style.fontFamily=c;f.style.fontSize=Math.round(b)+"px";f.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?b*mxConstants.LINE_HEIGHT+"px":mxConstants.LINE_HEIGHT*mxSvgCanvas2D.prototype.lineHeightCorrection;null!=e&&((e&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD&&(f.style.fontWeight="bold"),(e&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC&&(f.style.fontStyle="italic"),
+b=[],(e&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&b.push("underline"),(e&mxConstants.FONT_STRIKETHROUGH)==mxConstants.FONT_STRIKETHROUGH&&b.push("line-through"),0<b.length&&(f.style.textDecoration=b.join(" ")));f.style.position="absolute";f.style.visibility="hidden";f.style.display="inline-block";f.style.zoom="1";null!=d?(f.style.width=d+"px",f.style.whiteSpace="normal"):f.style.whiteSpace="nowrap";f.innerHTML=a;document.body.appendChild(f);a=new mxRectangle(0,0,f.offsetWidth,f.offsetHeight);
+document.body.removeChild(f);return a},getViewXml:function(a,b,c,d,e){d=null!=d?d:0;e=null!=e?e:0;b=null!=b?b:1;null==c&&(c=[a.getModel().getRoot()]);var f=a.getView(),g=null,k=f.isEventsEnabled();f.setEventsEnabled(!1);var l=f.drawPane,m=f.overlayPane;a.dialect==mxConstants.DIALECT_SVG?(f.drawPane=document.createElementNS(mxConstants.NS_SVG,"g"),f.canvas.appendChild(f.drawPane),f.overlayPane=document.createElementNS(mxConstants.NS_SVG,"g")):(f.drawPane=f.drawPane.cloneNode(!1),f.canvas.appendChild(f.drawPane),
+f.overlayPane=f.overlayPane.cloneNode(!1));f.canvas.appendChild(f.overlayPane);var n=f.getTranslate();f.translate=new mxPoint(d,e);b=new mxTemporaryCellStates(a.getView(),b,c);try{g=(new mxCodec).encode(a.getView())}finally{b.destroy(),f.translate=n,f.canvas.removeChild(f.drawPane),f.canvas.removeChild(f.overlayPane),f.drawPane=l,f.overlayPane=m,f.setEventsEnabled(k)}return g},getScaleForPageCount:function(a,b,c,d){if(1>a)return 1;c=null!=c?c:mxConstants.PAGE_FORMAT_A4_PORTRAIT;d=null!=d?d:0;var e=
+c.width-2*d;c=c.height-2*d;d=mxRectangle.fromRectangle(b.getGraphBounds());b=b.getView().getScale();d.width/=b;d.height/=b;b=d.width;var f=Math.sqrt(a);d=Math.sqrt(b/d.height/(e/c));c=f*d;d=f/d;if(1>c&&d>a){var g=d/a;d=a;c/=g}1>d&&c>a&&(g=c/a,c=a,d/=g);g=Math.ceil(c)*Math.ceil(d);for(f=0;g>a;){g=Math.floor(c)/c;var k=Math.floor(d)/d;1==g&&(g=Math.floor(c-1)/c);1==k&&(k=Math.floor(d-1)/d);g=g>k?g:k;c*=g;d*=g;g=Math.ceil(c)*Math.ceil(d);f++;if(10<f)break}return e*c/b*.99999},show:function(a,b,c,d,e,
+f){c=null!=c?c:0;d=null!=d?d:0;null==b?b=window.open().document:b.open();9==document.documentMode&&b.writeln('\x3c!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=9"><![endif]--\x3e');var g=a.getGraphBounds(),k=Math.ceil(c-g.x),l=Math.ceil(d-g.y);null==e&&(e=Math.ceil(g.width+c)+Math.ceil(Math.ceil(g.x)-g.x));null==f&&(f=Math.ceil(g.height+d)+Math.ceil(Math.ceil(g.y)-g.y));if(mxClient.IS_IE||11==document.documentMode){d="<html><head>";g=document.getElementsByTagName("base");for(c=0;c<g.length;c++)d+=
+g[c].outerHTML;d+="<style>";for(c=0;c<document.styleSheets.length;c++)try{d+=document.styleSheets[c].cssText}catch(m){}d=d+'</style></head><body style="margin:0px;"><div style="position:absolute;overflow:hidden;width:'+(e+"px;height:"+f+'px;"><div style="position:relative;left:'+k+"px;top:"+l+'px;">')+a.container.innerHTML;b.writeln(d+"</div></div></body><html>");b.close()}else{b.writeln("<html><head>");g=document.getElementsByTagName("base");for(c=0;c<g.length;c++)b.writeln(mxUtils.getOuterHtml(g[c]));
+d=document.getElementsByTagName("link");for(c=0;c<d.length;c++)b.writeln(mxUtils.getOuterHtml(d[c]));d=document.getElementsByTagName("style");for(c=0;c<d.length;c++)b.writeln(mxUtils.getOuterHtml(d[c]));b.writeln('</head><body style="margin:0px;"></body></html>');b.close();c=b.createElement("div");c.position="absolute";c.overflow="hidden";c.style.width=e+"px";c.style.height=f+"px";e=b.createElement("div");e.style.position="absolute";e.style.left=k+"px";e.style.top=l+"px";f=a.container.firstChild;
+for(d=null;null!=f;)g=f.cloneNode(!0),f==a.view.drawPane.ownerSVGElement?(c.appendChild(g),d=g):e.appendChild(g),f=f.nextSibling;b.body.appendChild(c);null!=e.firstChild&&b.body.appendChild(e);null!=d&&(d.style.minWidth="",d.style.minHeight="",d.firstChild.setAttribute("transform","translate("+k+","+l+")"))}mxUtils.removeCursors(b.body);return b},printScreen:function(a){var b=window.open();mxUtils.show(a,b.document);a=function(){b.focus();b.print();b.close()};mxClient.IS_GC?b.setTimeout(a,500):a()},
+popup:function(a,b){if(b){var c=document.createElement("div");c.style.overflow="scroll";c.style.width="636px";c.style.height="460px";b=document.createElement("pre");b.innerHTML=mxUtils.htmlEntities(a,!1).replace(/\n/g,"<br>").replace(/ /g,"&nbsp;");c.appendChild(b);c=new mxWindow("Popup Window",c,document.body.clientWidth/2-320,Math.max(document.body.clientHeight||0,document.documentElement.clientHeight)/2-240,640,480,!1,!0);c.setClosable(!0);c.setVisible(!0)}else mxClient.IS_NS?(c=window.open(),
+c.document.writeln("<pre>"+mxUtils.htmlEntities(a)+"</pre"),c.document.close()):(c=window.open(),b=c.document.createElement("pre"),b.innerHTML=mxUtils.htmlEntities(a,!1).replace(/\n/g,"<br>").replace(/ /g,"&nbsp;"),c.document.body.appendChild(b))},alert:function(a){alert(a)},prompt:function(a,b){return prompt(a,null!=b?b:"")},confirm:function(a){return confirm(a)},error:function(a,b,c,d){var e=document.createElement("div");e.style.padding="20px";var f=document.createElement("img");f.setAttribute("src",
+d||mxUtils.errorImage);f.setAttribute("valign","bottom");f.style.verticalAlign="middle";e.appendChild(f);e.appendChild(document.createTextNode(" "));e.appendChild(document.createTextNode(" "));e.appendChild(document.createTextNode(" "));mxUtils.write(e,a);a=document.body.clientWidth;d=document.body.clientHeight||document.documentElement.clientHeight;var g=new mxWindow(mxResources.get(mxUtils.errorResource)||mxUtils.errorResource,e,(a-b)/2,d/4,b,null,!1,!0);c&&(mxUtils.br(e),b=document.createElement("p"),
+c=document.createElement("button"),mxClient.IS_IE?c.style.cssText="float:right":c.setAttribute("style","float:right"),mxEvent.addListener(c,"click",function(k){g.destroy()}),mxUtils.write(c,mxResources.get(mxUtils.closeResource)||mxUtils.closeResource),b.appendChild(c),e.appendChild(b),mxUtils.br(e),g.setClosable(!0));g.setVisible(!0);return g},makeDraggable:function(a,b,c,d,e,f,g,k,l,m){a=new mxDragSource(a,c);a.dragOffset=new mxPoint(null!=e?e:0,null!=f?f:mxConstants.TOOLTIP_VERTICAL_OFFSET);a.autoscroll=
+g;a.setGuidesEnabled(!1);null!=l&&(a.highlightDropTargets=l);null!=m&&(a.getDropTarget=m);a.getGraphForEvent=function(n){return"function"==typeof b?b(n):b};null!=d&&(a.createDragElement=function(){return d.cloneNode(!0)},k&&(a.createPreviewElement=function(n){var p=d.cloneNode(!0),r=parseInt(p.style.width),q=parseInt(p.style.height);p.style.width=Math.round(r*n.view.scale)+"px";p.style.height=Math.round(q*n.view.scale)+"px";return p}));return a},format:function(a){return parseFloat(parseFloat(a).toFixed(2))}},
mxConstants={DEFAULT_HOTSPOT:.3,MIN_HOTSPOT_SIZE:8,MAX_HOTSPOT_SIZE:0,RENDERING_HINT_EXACT:"exact",RENDERING_HINT_FASTER:"faster",RENDERING_HINT_FASTEST:"fastest",DIALECT_SVG:"svg",DIALECT_MIXEDHTML:"mixedHtml",DIALECT_PREFERHTML:"preferHtml",DIALECT_STRICTHTML:"strictHtml",NS_SVG:"http://www.w3.org/2000/svg",NS_XHTML:"http://www.w3.org/1999/xhtml",NS_XLINK:"http://www.w3.org/1999/xlink",SHADOWCOLOR:"#808080",VML_SHADOWCOLOR:"#808080",SHADOW_OFFSET_X:2,SHADOW_OFFSET_Y:3,SHADOW_BLUR:2,SHADOW_OPACITY:1,
NODETYPE_ELEMENT:1,NODETYPE_ATTRIBUTE:2,NODETYPE_TEXT:3,NODETYPE_CDATA:4,NODETYPE_ENTITY_REFERENCE:5,NODETYPE_ENTITY:6,NODETYPE_PROCESSING_INSTRUCTION:7,NODETYPE_COMMENT:8,NODETYPE_DOCUMENT:9,NODETYPE_DOCUMENTTYPE:10,NODETYPE_DOCUMENT_FRAGMENT:11,NODETYPE_NOTATION:12,TOOLTIP_VERTICAL_OFFSET:16,DEFAULT_VALID_COLOR:"#00FF00",DEFAULT_INVALID_COLOR:"#FF0000",OUTLINE_HIGHLIGHT_COLOR:"#00FF00",OUTLINE_HIGHLIGHT_STROKEWIDTH:5,HIGHLIGHT_STROKEWIDTH:3,HIGHLIGHT_SIZE:2,HIGHLIGHT_OPACITY:100,CURSOR_MOVABLE_VERTEX:"move",
CURSOR_MOVABLE_EDGE:"move",CURSOR_LABEL_HANDLE:"default",CURSOR_TERMINAL_HANDLE:"pointer",CURSOR_BEND_HANDLE:"crosshair",CURSOR_VIRTUAL_BEND_HANDLE:"crosshair",CURSOR_CONNECT:"pointer",HIGHLIGHT_COLOR:"#00FF00",CONNECT_TARGET_COLOR:"#0000FF",INVALID_CONNECT_TARGET_COLOR:"#FF0000",DROP_TARGET_COLOR:"#0000FF",VALID_COLOR:"#00FF00",INVALID_COLOR:"#FF0000",EDGE_SELECTION_COLOR:"#00FF00",VERTEX_SELECTION_COLOR:"#00FF00",VERTEX_SELECTION_STROKEWIDTH:1,EDGE_SELECTION_STROKEWIDTH:1,VERTEX_SELECTION_DASHED:!0,
@@ -2034,28 +2034,28 @@ mxGraphHandler.prototype.shouldRemoveCellsFromParent=function(C,H,U){for(var F=0
U)/F);return new mxRectangle(this.scale*(this.translate.x+K*S),this.scale*(this.translate.y+W*F),this.scale*(Math.ceil(Math.max(1,H+C.width/this.scale)/S)-K)*S,this.scale*(Math.ceil(Math.max(1,U+C.height/this.scale)/F)-W)*F)};var n=mxGraph.prototype.panGraph;mxGraph.prototype.panGraph=function(C,H){n.apply(this,arguments);this.dialect==mxConstants.DIALECT_SVG||null==this.view.backgroundPageShape||this.useScrollbarsForPanning&&mxUtils.hasScrollbars(this.container)||(this.view.backgroundPageShape.node.style.marginLeft=
C+"px",this.view.backgroundPageShape.node.style.marginTop=H+"px")};var v=mxPopupMenu.prototype.addItem;mxPopupMenu.prototype.addItem=function(C,H,U,F,K,S){var W=v.apply(this,arguments);null==S||S||mxEvent.addListener(W,"mousedown",function(c){mxEvent.consume(c)});return W};var q=mxGraphHandler.prototype.isPropagateSelectionCell;mxGraphHandler.prototype.isPropagateSelectionCell=function(C,H,U){var F=this.graph.model.getParent(C);if(H){var K=this.graph.model.isEdge(C)?null:this.graph.getCellGeometry(C);
K=!this.graph.model.isEdge(F)&&!this.graph.isSiblingSelected(C)&&(null!=K&&K.relative||!this.graph.isContainer(F)||this.graph.isPart(C))}else if(K=q.apply(this,arguments),this.graph.isTableCell(C)||this.graph.isTableRow(C))K=F,this.graph.isTable(K)||(K=this.graph.model.getParent(K)),K=!this.graph.selectionCellsHandler.isHandled(K)||this.graph.isCellSelected(K)&&this.graph.isToggleEvent(U.getEvent())||this.graph.isCellSelected(C)&&!this.graph.isToggleEvent(U.getEvent())||this.graph.isTableCell(C)&&
-this.graph.isCellSelected(F);return K};mxPopupMenuHandler.prototype.getCellForPopupEvent=function(C){C=C.getCell();for(var H=this.graph.getModel(),U=H.getParent(C),F=this.graph.view.getState(U),K=this.graph.isCellSelected(C);null!=F&&(H.isVertex(U)||H.isEdge(U));){var S=this.graph.isCellSelected(U);K=K||S;if(S||!K&&(this.graph.isTableCell(C)||this.graph.isTableRow(C)))C=U;U=H.getParent(U)}return C}})();EditorUi=function(b,e,g){mxEventSource.call(this);this.destroyFunctions=[];this.editor=b||new Editor;this.container=e||document.body;var n=this,v=this.editor.graph;v.lightbox=g;var q=v.getGraphBounds;v.getGraphBounds=function(){var T=q.apply(this,arguments),ca=this.backgroundImage;if(null!=ca&&null!=ca.width&&null!=ca.height){var ka=this.view.translate,ma=this.view.scale;T=mxRectangle.fromRectangle(T);T.add(new mxRectangle((ka.x+ca.x)*ma,(ka.y+ca.y)*ma,ca.width*ma,ca.height*ma))}return T};v.useCssTransforms&&
+this.graph.isCellSelected(F);return K};mxPopupMenuHandler.prototype.getCellForPopupEvent=function(C){C=C.getCell();for(var H=this.graph.getModel(),U=H.getParent(C),F=this.graph.view.getState(U),K=this.graph.isCellSelected(C);null!=F&&(H.isVertex(U)||H.isEdge(U));){var S=this.graph.isCellSelected(U);K=K||S;if(S||!K&&(this.graph.isTableCell(C)||this.graph.isTableRow(C)))C=U;U=H.getParent(U)}return C}})();EditorUi=function(b,e,g){mxEventSource.call(this);this.destroyFunctions=[];this.editor=b||new Editor;this.container=e||document.body;var n=this,v=this.editor.graph;v.lightbox=g;var q=v.getGraphBounds;v.getGraphBounds=function(){var T=q.apply(this,arguments),ca=this.backgroundImage;if(null!=ca&&null!=ca.width&&null!=ca.height){var ja=this.view.translate,ma=this.view.scale;T=mxRectangle.fromRectangle(T);T.add(new mxRectangle((ja.x+ca.x)*ma,(ja.y+ca.y)*ma,ca.width*ma,ca.height*ma))}return T};v.useCssTransforms&&
(this.lazyZoomDelay=0);mxClient.IS_SVG?mxPopupMenu.prototype.submenuImage="data:image/gif;base64,R0lGODlhCQAJAIAAAP///zMzMyH5BAEAAAAALAAAAAAJAAkAAAIPhI8WebHsHopSOVgb26AAADs=":(new Image).src=mxPopupMenu.prototype.submenuImage;mxClient.IS_SVG||null==mxConnectionHandler.prototype.connectImage||((new Image).src=mxConnectionHandler.prototype.connectImage.src);this.selectionStateListener=mxUtils.bind(this,function(T,ca){this.clearSelectionState()});v.getSelectionModel().addListener(mxEvent.CHANGE,this.selectionStateListener);
v.getModel().addListener(mxEvent.CHANGE,this.selectionStateListener);v.addListener(mxEvent.EDITING_STARTED,this.selectionStateListener);v.addListener(mxEvent.EDITING_STOPPED,this.selectionStateListener);v.getView().addListener("unitChanged",this.selectionStateListener);if(this.editor.chromeless&&!this.editor.editable){this.footerHeight=0;v.isEnabled=function(){return!1};v.panningHandler.isForcePanningEvent=function(T){for(var ca=T.getSource();null!=ca&&ca!=v.container;){if("foreignObject"===ca.nodeName||
-"text"===ca.nodeName)return!1;ca=ca.parentNode}return!mxEvent.isPopupTrigger(T.getEvent())};var C=v.panningHandler.start;v.panningHandler.start=function(){C.apply(this,arguments);mxUtils.clearSelection()}}this.actions=new Actions(this);this.menus=this.createMenus();if(!v.standalone){var H=!1,U=!1;this.setDefaultStyle=function(T){try{v.getModel().isEdge(T)?U=v.pasteEdgeStyle=!1:H=!1;var ca=v.getCellStyle(T,!1),ka=[],ma=[],aa;for(aa in ca)ka.push(ca[aa]),ma.push(aa);v.getModel().isEdge(T)?v.currentEdgeStyle=
-{}:v.currentVertexStyle={};this.fireEvent(new mxEventObject("styleChanged","keys",ma,"values",ka,"cells",[T],"force",!0));v.getModel().isEdge(T)?U=v.pasteEdgeStyle=!0:H=!0}catch(V){this.handleError(V)}};this.clearDefaultStyle=function(){v.currentEdgeStyle=mxUtils.clone(v.defaultEdgeStyle);v.currentVertexStyle=mxUtils.clone(v.defaultVertexStyle);H=U=v.pasteEdgeStyle=!1;this.fireEvent(new mxEventObject("styleChanged","keys",[],"values",[],"cells",[]))};v.addListener("cellsInserted",function(T,ca){v.pasteCellStyles(v.includeDescendants(ca.getProperty("cells")))});
+"text"===ca.nodeName)return!1;ca=ca.parentNode}return!mxEvent.isPopupTrigger(T.getEvent())};var C=v.panningHandler.start;v.panningHandler.start=function(){C.apply(this,arguments);mxUtils.clearSelection()}}this.actions=new Actions(this);this.menus=this.createMenus();if(!v.standalone){var H=!1,U=!1;this.setDefaultStyle=function(T){try{v.getModel().isEdge(T)?U=v.pasteEdgeStyle=!1:H=!1;var ca=v.getCellStyle(T,!1),ja=[],ma=[],aa;for(aa in ca)ja.push(ca[aa]),ma.push(aa);v.getModel().isEdge(T)?v.currentEdgeStyle=
+{}:v.currentVertexStyle={};this.fireEvent(new mxEventObject("styleChanged","keys",ma,"values",ja,"cells",[T],"force",!0));v.getModel().isEdge(T)?U=v.pasteEdgeStyle=!0:H=!0}catch(V){this.handleError(V)}};this.clearDefaultStyle=function(){v.currentEdgeStyle=mxUtils.clone(v.defaultEdgeStyle);v.currentVertexStyle=mxUtils.clone(v.defaultVertexStyle);H=U=v.pasteEdgeStyle=!1;this.fireEvent(new mxEventObject("styleChanged","keys",[],"values",[],"cells",[]))};v.addListener("cellsInserted",function(T,ca){v.pasteCellStyles(v.includeDescendants(ca.getProperty("cells")))});
v.addListener("textInserted",function(T,ca){v.pasteCellStyles(ca.getProperty("cells"))});this.createDivs();this.createUi();this.refresh();var F=mxUtils.bind(this,function(T){null==T&&(T=window.event);return v.isEditing()||null!=T&&this.isSelectionAllowed(T)});this.container!=document.body||this.editor.chromeless&&!this.editor.editable||(this.menubarContainer.onselectstart=F,this.menubarContainer.onmousedown=F,this.toolbarContainer.onselectstart=F,this.toolbarContainer.onmousedown=F,this.diagramContainer.onselectstart=
F,this.diagramContainer.onmousedown=F,this.sidebarContainer.onselectstart=F,this.sidebarContainer.onmousedown=F,this.formatContainer.onselectstart=F,this.formatContainer.onmousedown=F,this.footerContainer.onselectstart=F,this.footerContainer.onmousedown=F,null!=this.tabContainer&&(this.tabContainer.onselectstart=F),mxClient.IS_IOS&&(e=function(){var T=null;if(/iP(hone|od|ad)/.test(navigator.platform)){var ca=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);try{T=[parseInt(ca[1],10),parseInt(ca[2],
-10),parseInt(ca[3]||0,10)]}catch(ka){}}return T}(),null!=e&&16<=e[0]&&(mxUtils.setPrefixedStyle(this.menubarContainer.style,"userSelect","none"),mxUtils.setPrefixedStyle(this.diagramContainer.style,"userSelect","none"),mxUtils.setPrefixedStyle(this.sidebarContainer.style,"userSelect","none"),mxUtils.setPrefixedStyle(this.formatContainer.style,"userSelect","none"),mxUtils.setPrefixedStyle(this.footerContainer.style,"userSelect","none"),null!=this.tabContainer&&mxUtils.setPrefixedStyle(this.tabContainer.style,
+10),parseInt(ca[3]||0,10)]}catch(ja){}}return T}(),null!=e&&16<=e[0]&&(mxUtils.setPrefixedStyle(this.menubarContainer.style,"userSelect","none"),mxUtils.setPrefixedStyle(this.diagramContainer.style,"userSelect","none"),mxUtils.setPrefixedStyle(this.sidebarContainer.style,"userSelect","none"),mxUtils.setPrefixedStyle(this.formatContainer.style,"userSelect","none"),mxUtils.setPrefixedStyle(this.footerContainer.style,"userSelect","none"),null!=this.tabContainer&&mxUtils.setPrefixedStyle(this.tabContainer.style,
"userSelect","none"))));!this.editor.chromeless||this.editor.editable?(e=function(T){if(null!=T){var ca=mxEvent.getSource(T);if("A"==ca.nodeName)for(;null!=ca;){if("geHint"==ca.className)return!0;ca=ca.parentNode}}return F(T)},mxClient.IS_IE&&("undefined"===typeof document.documentMode||9>document.documentMode)?mxEvent.addListener(this.diagramContainer,"contextmenu",e):this.diagramContainer.oncontextmenu=e):v.panningHandler.usePopupTrigger=!1;v.init(this.diagramContainer);mxClient.IS_SVG&&null!=v.view.getDrawPane()&&
(e=v.view.getDrawPane().ownerSVGElement,null!=e&&(e.style.position="absolute"));this.hoverIcons=this.createHoverIcons();if(null!=v.graphHandler){var K=v.graphHandler.start;v.graphHandler.start=function(){null!=n.hoverIcons&&n.hoverIcons.reset();K.apply(this,arguments)}}mxEvent.addListener(this.diagramContainer,"mousemove",mxUtils.bind(this,function(T){var ca=mxUtils.getOffset(this.diagramContainer);0<mxEvent.getClientX(T)-ca.x-this.diagramContainer.clientWidth||0<mxEvent.getClientY(T)-ca.y-this.diagramContainer.clientHeight?
this.diagramContainer.setAttribute("title",mxResources.get("panTooltip")):this.diagramContainer.removeAttribute("title")}));var S=this.hoverIcons.isResetEvent;this.hoverIcons.isResetEvent=function(T,ca){return n.isSpaceDown()||S.apply(this,arguments)};this.keydownHandler=mxUtils.bind(this,function(T){16==T.which?this.shiftDown=!0:32!=T.which||v.isEditing()?mxEvent.isConsumed(T)||27!=T.keyCode||this.hideDialog(null,!0):(this.spaceDown=!0,this.hoverIcons.reset(),v.container.style.cursor="move",v.isEditing()||
mxEvent.getSource(T)!=v.container||mxEvent.consume(T))});mxEvent.addListener(document,"keydown",this.keydownHandler);this.keyupHandler=mxUtils.bind(this,function(T){v.container.style.cursor="";this.shiftDown=this.spaceDown=!1});mxEvent.addListener(document,"keyup",this.keyupHandler);var W=v.panningHandler.isForcePanningEvent;v.panningHandler.isForcePanningEvent=function(T){return W.apply(this,arguments)||n.isSpaceDown()||mxEvent.isMouseEvent(T.getEvent())&&(this.usePopupTrigger||!mxEvent.isPopupTrigger(T.getEvent()))&&
(!mxEvent.isControlDown(T.getEvent())&&mxEvent.isRightMouseButton(T.getEvent())||mxEvent.isMiddleMouseButton(T.getEvent()))};var c=v.cellEditor.isStopEditingEvent;v.cellEditor.isStopEditingEvent=function(T){return c.apply(this,arguments)||13==T.keyCode&&(!mxClient.IS_SF&&mxEvent.isControlDown(T)||mxClient.IS_MAC&&mxEvent.isMetaDown(T)||mxClient.IS_SF&&mxEvent.isShiftDown(T))};var f=v.isZoomWheelEvent;v.isZoomWheelEvent=function(){return n.isSpaceDown()||f.apply(this,arguments)};var l=!1,z=null,A=
-null,B=null,G=mxUtils.bind(this,function(){if(null!=this.toolbar&&l!=v.cellEditor.isContentEditing()){for(var T=this.toolbar.container.firstChild,ca=[];null!=T;){var ka=T.nextSibling;0>mxUtils.indexOf(this.toolbar.staticElements,T)&&(T.parentNode.removeChild(T),ca.push(T));T=ka}T=this.toolbar.fontMenu;ka=this.toolbar.sizeMenu;if(null==B)this.toolbar.createTextToolbar();else{for(var ma=0;ma<B.length;ma++)this.toolbar.container.appendChild(B[ma]);this.toolbar.fontMenu=z;this.toolbar.sizeMenu=A}l=v.cellEditor.isContentEditing();
-z=T;A=ka;B=ca}}),L=v.cellEditor.startEditing;v.cellEditor.startEditing=function(){L.apply(this,arguments);G();if(v.cellEditor.isContentEditing()){var T=!1,ca=function(){T||(T=!0,window.setTimeout(function(){var ka=v.getSelectedEditingElement();null!=ka&&(ka=mxUtils.getCurrentStyle(ka),null!=ka&&null!=n.toolbar&&(n.toolbar.setFontName(mxUtils.getCssFontFamily(ka.fontFamily)),n.toolbar.setFontSize(parseInt(ka.fontSize))));T=!1},0))};mxEvent.addListener(v.cellEditor.textarea,"input",ca);mxEvent.addListener(v.cellEditor.textarea,
-"touchend",ca);mxEvent.addListener(v.cellEditor.textarea,"mouseup",ca);mxEvent.addListener(v.cellEditor.textarea,"keyup",ca);ca()}};var P=v.cellEditor.stopEditing;v.cellEditor.stopEditing=function(T,ca){try{P.apply(this,arguments),G()}catch(ka){n.handleError(ka)}};v.container.setAttribute("tabindex","0");v.container.style.cursor="default";if(window.self===window.top&&null!=v.container.parentNode)try{v.container.focus()}catch(T){}var J=v.fireMouseEvent;v.fireMouseEvent=function(T,ca,ka){try{T==mxEvent.MOUSE_DOWN&&
-this.container.focus(),J.apply(this,arguments)}catch(ma){n.handleError(ma)}};var fa=v.foldCells;v.foldCells=function(T,ca,ka,ma,aa){try{fa.apply(this,arguments)}catch(V){n.handleError(V)}};v.popupMenuHandler.autoExpand=!0;null!=this.menus&&(v.popupMenuHandler.factoryMethod=mxUtils.bind(this,function(T,ca,ka){this.menus.createPopupMenu(T,ca,ka)}));mxEvent.addGestureListeners(document,mxUtils.bind(this,function(T){v.popupMenuHandler.hideMenu()}));this.keyHandler=this.createKeyHandler(b);this.getKeyHandler=
-function(){return keyHandler};v.connectionHandler.addListener(mxEvent.CONNECT,function(T,ca){var ka=[ca.getProperty("cell")];ca.getProperty("terminalInserted")&&(ka.push(ca.getProperty("terminal")),window.setTimeout(function(){null!=n.hoverIcons&&n.hoverIcons.update(v.view.getState(ka[ka.length-1]))},0));v.pasteCellStyles(ka)});this.addListener("styleChanged",mxUtils.bind(this,function(T,ca){T=ca.getProperty("force");(this.updateDefaultStyle||T)&&v.copyCellStyles(ca.getProperty("cells"),ca.getProperty("keys"),
+null,B=null,G=mxUtils.bind(this,function(){if(null!=this.toolbar&&l!=v.cellEditor.isContentEditing()){for(var T=this.toolbar.container.firstChild,ca=[];null!=T;){var ja=T.nextSibling;0>mxUtils.indexOf(this.toolbar.staticElements,T)&&(T.parentNode.removeChild(T),ca.push(T));T=ja}T=this.toolbar.fontMenu;ja=this.toolbar.sizeMenu;if(null==B)this.toolbar.createTextToolbar();else{for(var ma=0;ma<B.length;ma++)this.toolbar.container.appendChild(B[ma]);this.toolbar.fontMenu=z;this.toolbar.sizeMenu=A}l=v.cellEditor.isContentEditing();
+z=T;A=ja;B=ca}}),L=v.cellEditor.startEditing;v.cellEditor.startEditing=function(){L.apply(this,arguments);G();if(v.cellEditor.isContentEditing()){var T=!1,ca=function(){T||(T=!0,window.setTimeout(function(){var ja=v.getSelectedEditingElement();null!=ja&&(ja=mxUtils.getCurrentStyle(ja),null!=ja&&null!=n.toolbar&&(n.toolbar.setFontName(mxUtils.getCssFontFamily(ja.fontFamily)),n.toolbar.setFontSize(parseInt(ja.fontSize))));T=!1},0))};mxEvent.addListener(v.cellEditor.textarea,"input",ca);mxEvent.addListener(v.cellEditor.textarea,
+"touchend",ca);mxEvent.addListener(v.cellEditor.textarea,"mouseup",ca);mxEvent.addListener(v.cellEditor.textarea,"keyup",ca);ca()}};var P=v.cellEditor.stopEditing;v.cellEditor.stopEditing=function(T,ca){try{P.apply(this,arguments),G()}catch(ja){n.handleError(ja)}};v.container.setAttribute("tabindex","0");v.container.style.cursor="default";if(window.self===window.top&&null!=v.container.parentNode)try{v.container.focus()}catch(T){}var J=v.fireMouseEvent;v.fireMouseEvent=function(T,ca,ja){try{T==mxEvent.MOUSE_DOWN&&
+this.container.focus(),J.apply(this,arguments)}catch(ma){n.handleError(ma)}};var fa=v.foldCells;v.foldCells=function(T,ca,ja,ma,aa){try{fa.apply(this,arguments)}catch(V){n.handleError(V)}};v.popupMenuHandler.autoExpand=!0;null!=this.menus&&(v.popupMenuHandler.factoryMethod=mxUtils.bind(this,function(T,ca,ja){this.menus.createPopupMenu(T,ca,ja)}));mxEvent.addGestureListeners(document,mxUtils.bind(this,function(T){v.popupMenuHandler.hideMenu()}));this.keyHandler=this.createKeyHandler(b);this.getKeyHandler=
+function(){return keyHandler};v.connectionHandler.addListener(mxEvent.CONNECT,function(T,ca){var ja=[ca.getProperty("cell")];ca.getProperty("terminalInserted")&&(ja.push(ca.getProperty("terminal")),window.setTimeout(function(){null!=n.hoverIcons&&n.hoverIcons.update(v.view.getState(ja[ja.length-1]))},0));v.pasteCellStyles(ja)});this.addListener("styleChanged",mxUtils.bind(this,function(T,ca){T=ca.getProperty("force");(this.updateDefaultStyle||T)&&v.copyCellStyles(ca.getProperty("cells"),ca.getProperty("keys"),
ca.getProperty("values"),v.currentVertexStyle,v.currentEdgeStyle,H,U);null!=this.toolbar&&(this.toolbar.setFontName(v.currentVertexStyle.fontFamily||Menus.prototype.defaultFont),this.toolbar.setFontSize(v.currentVertexStyle.fontSize||Menus.prototype.defaultFontSize),null!=this.toolbar.edgeStyleMenu&&(this.toolbar.edgeStyleMenu.getElementsByTagName("div")[0].className="orthogonalEdgeStyle"==v.currentEdgeStyle.edgeStyle&&"1"==v.currentEdgeStyle.curved?"geSprite geSprite-curved":"straight"==v.currentEdgeStyle.edgeStyle||
"none"==v.currentEdgeStyle.edgeStyle||null==v.currentEdgeStyle.edgeStyle?"geSprite geSprite-straight":"entityRelationEdgeStyle"==v.currentEdgeStyle.edgeStyle?"geSprite geSprite-entity":"elbowEdgeStyle"==v.currentEdgeStyle.edgeStyle?"geSprite geSprite-"+("vertical"==v.currentEdgeStyle.elbow?"verticalelbow":"horizontalelbow"):"isometricEdgeStyle"==v.currentEdgeStyle.edgeStyle?"geSprite geSprite-"+("vertical"==v.currentEdgeStyle.elbow?"verticalisometric":"horizontalisometric"):"geSprite geSprite-orthogonal"),
-null!=this.toolbar.edgeShapeMenu&&(this.toolbar.edgeShapeMenu.getElementsByTagName("div")[0].className="link"==v.currentEdgeStyle.shape?"geSprite geSprite-linkedge":"flexArrow"==v.currentEdgeStyle.shape?"geSprite geSprite-arrow":"arrow"==v.currentEdgeStyle.shape?"geSprite geSprite-simplearrow":"geSprite geSprite-connection"))}));null!=this.toolbar&&(b=mxUtils.bind(this,function(){var T=v.currentVertexStyle.fontFamily||"Helvetica",ca=String(v.currentVertexStyle.fontSize||"12"),ka=v.getView().getState(v.getSelectionCell());
-null!=ka&&(T=ka.style[mxConstants.STYLE_FONTFAMILY]||T,ca=ka.style[mxConstants.STYLE_FONTSIZE]||ca,10<T.length&&(T=T.substring(0,8)+"..."));this.toolbar.setFontName(T);this.toolbar.setFontSize(ca)}),v.getSelectionModel().addListener(mxEvent.CHANGE,b),v.getModel().addListener(mxEvent.CHANGE,b));v.addListener(mxEvent.CELLS_ADDED,function(T,ca){T=ca.getProperty("cells");ca=ca.getProperty("parent");null!=ca&&v.getModel().isLayer(ca)&&!v.isCellVisible(ca)&&null!=T&&0<T.length&&v.getModel().setVisible(ca,
+null!=this.toolbar.edgeShapeMenu&&(this.toolbar.edgeShapeMenu.getElementsByTagName("div")[0].className="link"==v.currentEdgeStyle.shape?"geSprite geSprite-linkedge":"flexArrow"==v.currentEdgeStyle.shape?"geSprite geSprite-arrow":"arrow"==v.currentEdgeStyle.shape?"geSprite geSprite-simplearrow":"geSprite geSprite-connection"))}));null!=this.toolbar&&(b=mxUtils.bind(this,function(){var T=v.currentVertexStyle.fontFamily||"Helvetica",ca=String(v.currentVertexStyle.fontSize||"12"),ja=v.getView().getState(v.getSelectionCell());
+null!=ja&&(T=ja.style[mxConstants.STYLE_FONTFAMILY]||T,ca=ja.style[mxConstants.STYLE_FONTSIZE]||ca,10<T.length&&(T=T.substring(0,8)+"..."));this.toolbar.setFontName(T);this.toolbar.setFontSize(ca)}),v.getSelectionModel().addListener(mxEvent.CHANGE,b),v.getModel().addListener(mxEvent.CHANGE,b));v.addListener(mxEvent.CELLS_ADDED,function(T,ca){T=ca.getProperty("cells");ca=ca.getProperty("parent");null!=ca&&v.getModel().isLayer(ca)&&!v.isCellVisible(ca)&&null!=T&&0<T.length&&v.getModel().setVisible(ca,
!0)});Graph.selectParentLayer&&v.selectionModel.addListener(mxEvent.CHANGE,function(){if(v.isEnabled()&&!v.isSelectionEmpty()){var T=v.getLayerForCells(v.getSelectionCells());null!=T&&v.setDefaultParent(T)}});this.gestureHandler=mxUtils.bind(this,function(T){null!=this.currentMenu&&mxEvent.getSource(T)!=this.currentMenu.div&&this.hideCurrentMenu()});mxEvent.addGestureListeners(document,this.gestureHandler);var ea=null;this.resizeHandler=mxUtils.bind(this,function(){null!=ea&&window.clearTimeout(ea);
ea=window.setTimeout(mxUtils.bind(this,function(){ea=null;this.windowResized()}),100)});mxEvent.addListener(window,"resize",this.resizeHandler);this.orientationChangeHandler=mxUtils.bind(this,function(){this.refresh()});mxEvent.addListener(window,"orientationchange",this.orientationChangeHandler);mxClient.IS_IOS&&!window.navigator.standalone&&"undefined"!==typeof Menus&&(this.scrollHandler=mxUtils.bind(this,function(){window.scrollTo(0,0)}),mxEvent.addListener(window,"scroll",this.scrollHandler));
this.editor.addListener("resetGraphView",mxUtils.bind(this,function(){this.resetScrollbars()}));this.addListener("gridEnabledChanged",mxUtils.bind(this,function(){v.view.validateBackground()}));this.addListener("backgroundColorChanged",mxUtils.bind(this,function(){v.view.validateBackground()}));v.addListener("gridSizeChanged",mxUtils.bind(this,function(){v.isGridEnabled()&&v.view.validateBackground()}));this.editor.resetGraph()}this.init();v.standalone||this.open()};EditorUi.compactUi=!0;
@@ -2112,9 +2112,9 @@ EditorUi.prototype.initClipboard=function(){var b=this,e=mxClipboard.cut;mxClipb
null;q.cellEditor.isContentEditing()?document.execCommand("paste",!1,null):C=g.apply(this,arguments);b.updatePasteActionStates();return C};var n=this.editor.graph.cellEditor.startEditing;this.editor.graph.cellEditor.startEditing=function(){n.apply(this,arguments);b.updatePasteActionStates()};var v=this.editor.graph.cellEditor.stopEditing;this.editor.graph.cellEditor.stopEditing=function(q,C){v.apply(this,arguments);b.updatePasteActionStates()};this.updatePasteActionStates()};
EditorUi.prototype.lazyZoomDelay=20;EditorUi.prototype.wheelZoomDelay=500;EditorUi.prototype.buttonZoomDelay=600;
EditorUi.prototype.initCanvas=function(){var b=this.editor.graph;b.timerAutoScroll=!0;b.getPagePadding=function(){return new mxPoint(Math.max(0,Math.round((b.container.offsetWidth-34)/b.view.scale)),Math.max(0,Math.round((b.container.offsetHeight-34)/b.view.scale)))};b.view.getBackgroundPageBounds=function(){var O=this.graph.getPageLayout(),X=this.graph.getPageSize();return new mxRectangle(this.scale*(this.translate.x+O.x*X.width),this.scale*(this.translate.y+O.y*X.height),this.scale*O.width*X.width,
-this.scale*O.height*X.height)};b.getPreferredPageSize=function(O,X,Z){O=this.getPageLayout();X=this.getPageSize();return new mxRectangle(0,0,O.width*X.width,O.height*X.height)};var e=null,g=this;if(this.editor.isChromelessView()){this.chromelessResize=e=mxUtils.bind(this,function(O,X,Z,ba){if(null!=b.container&&!b.isViewer()){Z=null!=Z?Z:0;ba=null!=ba?ba:0;var la=b.pageVisible?b.view.getBackgroundPageBounds():b.getGraphBounds(),qa=mxUtils.hasScrollbars(b.container),pa=b.view.translate,ra=b.view.scale,
-ua=mxRectangle.fromRectangle(la);ua.x=ua.x/ra-pa.x;ua.y=ua.y/ra-pa.y;ua.width/=ra;ua.height/=ra;pa=b.container.scrollTop;var Ba=b.container.scrollLeft,ya=8<=document.documentMode?20:14;if(8==document.documentMode||9==document.documentMode)ya+=3;var Aa=b.container.offsetWidth-ya;ya=b.container.offsetHeight-ya;O=O?Math.max(.3,Math.min(X||1,Aa/ua.width)):ra;X=(Aa-O*ua.width)/2/O;var Na=0==this.lightboxVerticalDivider?0:(ya-O*ua.height)/this.lightboxVerticalDivider/O;qa&&(X=Math.max(X,0),Na=Math.max(Na,
-0));if(qa||la.width<Aa||la.height<ya)b.view.scaleAndTranslate(O,Math.floor(X-ua.x),Math.floor(Na-ua.y)),b.container.scrollTop=pa*O/ra,b.container.scrollLeft=Ba*O/ra;else if(0!=Z||0!=ba)la=b.view.translate,b.view.setTranslate(Math.floor(la.x+Z/ra),Math.floor(la.y+ba/ra))}});this.chromelessWindowResize=mxUtils.bind(this,function(){this.chromelessResize(!1)});var n=mxUtils.bind(this,function(){this.chromelessWindowResize(!1)});mxEvent.addListener(window,"resize",n);this.destroyFunctions.push(function(){mxEvent.removeListener(window,
+this.scale*O.height*X.height)};b.getPreferredPageSize=function(O,X,Z){O=this.getPageLayout();X=this.getPageSize();return new mxRectangle(0,0,O.width*X.width,O.height*X.height)};var e=null,g=this;if(this.editor.isChromelessView()){this.chromelessResize=e=mxUtils.bind(this,function(O,X,Z,ba){if(null!=b.container&&!b.isViewer()){Z=null!=Z?Z:0;ba=null!=ba?ba:0;var ka=b.pageVisible?b.view.getBackgroundPageBounds():b.getGraphBounds(),qa=mxUtils.hasScrollbars(b.container),pa=b.view.translate,ra=b.view.scale,
+ua=mxRectangle.fromRectangle(ka);ua.x=ua.x/ra-pa.x;ua.y=ua.y/ra-pa.y;ua.width/=ra;ua.height/=ra;pa=b.container.scrollTop;var Ba=b.container.scrollLeft,xa=8<=document.documentMode?20:14;if(8==document.documentMode||9==document.documentMode)xa+=3;var Aa=b.container.offsetWidth-xa;xa=b.container.offsetHeight-xa;O=O?Math.max(.3,Math.min(X||1,Aa/ua.width)):ra;X=(Aa-O*ua.width)/2/O;var Na=0==this.lightboxVerticalDivider?0:(xa-O*ua.height)/this.lightboxVerticalDivider/O;qa&&(X=Math.max(X,0),Na=Math.max(Na,
+0));if(qa||ka.width<Aa||ka.height<xa)b.view.scaleAndTranslate(O,Math.floor(X-ua.x),Math.floor(Na-ua.y)),b.container.scrollTop=pa*O/ra,b.container.scrollLeft=Ba*O/ra;else if(0!=Z||0!=ba)ka=b.view.translate,b.view.setTranslate(Math.floor(ka.x+Z/ra),Math.floor(ka.y+ba/ra))}});this.chromelessWindowResize=mxUtils.bind(this,function(){this.chromelessResize(!1)});var n=mxUtils.bind(this,function(){this.chromelessWindowResize(!1)});mxEvent.addListener(window,"resize",n);this.destroyFunctions.push(function(){mxEvent.removeListener(window,
"resize",n)});this.editor.addListener("resetGraphView",mxUtils.bind(this,function(){this.chromelessResize(!0)}));this.actions.get("zoomIn").funct=mxUtils.bind(this,function(O){b.zoomIn();this.chromelessResize(!1)});this.actions.get("zoomOut").funct=mxUtils.bind(this,function(O){b.zoomOut();this.chromelessResize(!1)});if("0"!=urlParams.toolbar){var v=JSON.parse(decodeURIComponent(urlParams["toolbar-config"]||"{}"));this.chromelessToolbar=document.createElement("div");this.chromelessToolbar.style.position=
"fixed";this.chromelessToolbar.style.overflow="hidden";this.chromelessToolbar.style.boxSizing="border-box";this.chromelessToolbar.style.whiteSpace="nowrap";this.chromelessToolbar.style.padding="10px 10px 8px 10px";this.chromelessToolbar.style.left=b.isViewer()?"0":"50%";mxClient.IS_IE||mxClient.IS_IE11?(this.chromelessToolbar.style.backgroundColor="#ffffff",this.chromelessToolbar.style.border="3px solid black"):this.chromelessToolbar.style.backgroundColor="#000000";mxUtils.setPrefixedStyle(this.chromelessToolbar.style,
"borderRadius","16px");mxUtils.setPrefixedStyle(this.chromelessToolbar.style,"transition","opacity 600ms ease-in-out");var q=mxUtils.bind(this,function(){var O=mxUtils.getCurrentStyle(b.container);b.isViewer()?this.chromelessToolbar.style.top="0":this.chromelessToolbar.style.bottom=(null!=O?parseInt(O["margin-bottom"]||0):0)+(null!=this.tabContainer?20+parseInt(this.tabContainer.style.height):20)+"px"});this.editor.addListener("resetGraphView",q);q();var C=0;q=mxUtils.bind(this,function(O,X,Z){C++;
@@ -2136,17 +2136,17 @@ document.body))&&q(mxUtils.bind(this,function(O){"1"==urlParams.close||v.closeBt
"mouseleave",mxUtils.bind(this,function(O){mxEvent.isTouchEvent(O)||A(30)}));var J=b.getTolerance();b.addMouseListener({startX:0,startY:0,scrollLeft:0,scrollTop:0,mouseDown:function(O,X){this.startX=X.getGraphX();this.startY=X.getGraphY();this.scrollLeft=b.container.scrollLeft;this.scrollTop=b.container.scrollTop},mouseMove:function(O,X){},mouseUp:function(O,X){mxEvent.isTouchEvent(X.getEvent())&&Math.abs(this.scrollLeft-b.container.scrollLeft)<J&&Math.abs(this.scrollTop-b.container.scrollTop)<J&&
Math.abs(this.startX-X.getGraphX())<J&&Math.abs(this.startY-X.getGraphY())<J&&(0<parseFloat(g.chromelessToolbar.style.opacity||0)?z():A(30))}})}this.editor.editable||this.addChromelessClickHandler()}else if(this.editor.extendCanvas){var fa=b.view.validate,ea=new mxPoint,T=!1,ca=null;b.view.validate=function(){if(null!=b.container&&mxUtils.hasScrollbars(b.container)){if(null!=g.currentPage&&ca!=g.currentPage){ca=g.currentPage;T=!0;var O=b.getBoundingBoxFromGeometry(b.model.getCells(),!0,null,!0);null==
O&&(O=new mxRectangle(b.view.translate.x*b.view.scale,b.view.translate.y*b.view.scale));O=b.getPageLayout(O,ea,1);var X=b.getDefaultTranslate(O);this.x0=O.x;this.y0=O.y;if(X.x!=this.translate.x||X.y!=this.translate.y)this.invalidate(),this.translate.x=X.x,this.translate.y=X.y}X=b.getPagePadding();var Z=b.getPageSize();O=X.x-(this.x0||0)*Z.width;X=X.y-(this.y0||0)*Z.height;if(this.translate.x!=O||this.translate.y!=X)this.invalidate(),this.translate.x=O,this.translate.y=X}fa.apply(this,arguments)};
-if(!b.isViewer()){var ka=b.sizeDidChange;b.sizeDidChange=function(){var O=T;T=!1;if(null!=this.container&&mxUtils.hasScrollbars(this.container)){this.updateMinimumSize();if(!this.autoTranslate){var X=this.getPageLayout(),Z=this.getDefaultTranslate(X),ba=this.view.translate.x,la=this.view.translate.y;if(Z.x!=ba||Z.y!=la){this.view.x0=X.x;this.view.y0=X.y;this.autoTranslate=!0;this.view.setTranslate(Z.x,Z.y);this.autoTranslate=!1;O||(this.container.scrollLeft+=Math.round((Z.x-ba)*this.view.scale),this.container.scrollTop+=
-Math.round((Z.y-la)*this.view.scale));return}}ka.apply(this,arguments)}else this.fireEvent(new mxEventObject(mxEvent.SIZE,"bounds",this.getGraphBounds()))}}}var ma=b.view.getBackgroundPane(),aa=b.view.getDrawPane();b.cumulativeZoomFactor=1;var V=null,da=null,k=null,t=null,I=null,R=function(O){null!=V&&window.clearTimeout(V);0<=O&&window.setTimeout(function(){if(!b.isMouseDown||t)V=window.setTimeout(mxUtils.bind(this,function(){b.isFastZoomEnabled()&&(null!=b.view.backgroundPageShape&&null!=b.view.backgroundPageShape.node&&
+if(!b.isViewer()){var ja=b.sizeDidChange;b.sizeDidChange=function(){var O=T;T=!1;if(null!=this.container&&mxUtils.hasScrollbars(this.container)){this.updateMinimumSize();if(!this.autoTranslate){var X=this.getPageLayout(),Z=this.getDefaultTranslate(X),ba=this.view.translate.x,ka=this.view.translate.y;if(Z.x!=ba||Z.y!=ka){this.view.x0=X.x;this.view.y0=X.y;this.autoTranslate=!0;this.view.setTranslate(Z.x,Z.y);this.autoTranslate=!1;O||(this.container.scrollLeft+=Math.round((Z.x-ba)*this.view.scale),this.container.scrollTop+=
+Math.round((Z.y-ka)*this.view.scale));return}}ja.apply(this,arguments)}else this.fireEvent(new mxEventObject(mxEvent.SIZE,"bounds",this.getGraphBounds()))}}}var ma=b.view.getBackgroundPane(),aa=b.view.getDrawPane();b.cumulativeZoomFactor=1;var V=null,da=null,k=null,t=null,I=null,R=function(O){null!=V&&window.clearTimeout(V);0<=O&&window.setTimeout(function(){if(!b.isMouseDown||t)V=window.setTimeout(mxUtils.bind(this,function(){b.isFastZoomEnabled()&&(null!=b.view.backgroundPageShape&&null!=b.view.backgroundPageShape.node&&
(mxUtils.setPrefixedStyle(b.view.backgroundPageShape.node.style,"transform-origin",null),mxUtils.setPrefixedStyle(b.view.backgroundPageShape.node.style,"transform",null)),aa.style.transformOrigin="",ma.style.transformOrigin="",mxClient.IS_SF?(aa.style.transform="scale(1)",ma.style.transform="scale(1)",window.setTimeout(function(){aa.style.transform="";ma.style.transform=""},0)):(aa.style.transform="",ma.style.transform=""),b.view.getDecoratorPane().style.opacity="",b.view.getOverlayPane().style.opacity=
-"");var X=new mxPoint(b.container.scrollLeft,b.container.scrollTop),Z=mxUtils.getOffset(b.container),ba=b.view.scale,la=0,qa=0;null!=da&&(la=b.container.offsetWidth/2-da.x+Z.x,qa=b.container.offsetHeight/2-da.y+Z.y);b.zoom(b.cumulativeZoomFactor,null,b.isFastZoomEnabled()?20:null);b.view.scale!=ba&&(null!=k&&(la+=X.x-k.x,qa+=X.y-k.y),null!=e&&g.chromelessResize(!1,null,la*(b.cumulativeZoomFactor-1),qa*(b.cumulativeZoomFactor-1)),!mxUtils.hasScrollbars(b.container)||0==la&&0==qa||(b.container.scrollLeft-=
-la*(b.cumulativeZoomFactor-1),b.container.scrollTop-=qa*(b.cumulativeZoomFactor-1)));null!=I&&aa.setAttribute("filter",I);b.cumulativeZoomFactor=1;I=t=da=k=V=null}),null!=O?O:b.isFastZoomEnabled()?g.wheelZoomDelay:g.lazyZoomDelay)},0)};b.lazyZoom=function(O,X,Z,ba){ba=null!=ba?ba:this.zoomFactor;(X=X||!b.scrollbars)&&(da=new mxPoint(b.container.offsetLeft+b.container.clientWidth/2,b.container.offsetTop+b.container.clientHeight/2));O?.15>=this.view.scale*this.cumulativeZoomFactor?this.cumulativeZoomFactor*=
+"");var X=new mxPoint(b.container.scrollLeft,b.container.scrollTop),Z=mxUtils.getOffset(b.container),ba=b.view.scale,ka=0,qa=0;null!=da&&(ka=b.container.offsetWidth/2-da.x+Z.x,qa=b.container.offsetHeight/2-da.y+Z.y);b.zoom(b.cumulativeZoomFactor,null,b.isFastZoomEnabled()?20:null);b.view.scale!=ba&&(null!=k&&(ka+=X.x-k.x,qa+=X.y-k.y),null!=e&&g.chromelessResize(!1,null,ka*(b.cumulativeZoomFactor-1),qa*(b.cumulativeZoomFactor-1)),!mxUtils.hasScrollbars(b.container)||0==ka&&0==qa||(b.container.scrollLeft-=
+ka*(b.cumulativeZoomFactor-1),b.container.scrollTop-=qa*(b.cumulativeZoomFactor-1)));null!=I&&aa.setAttribute("filter",I);b.cumulativeZoomFactor=1;I=t=da=k=V=null}),null!=O?O:b.isFastZoomEnabled()?g.wheelZoomDelay:g.lazyZoomDelay)},0)};b.lazyZoom=function(O,X,Z,ba){ba=null!=ba?ba:this.zoomFactor;(X=X||!b.scrollbars)&&(da=new mxPoint(b.container.offsetLeft+b.container.clientWidth/2,b.container.offsetTop+b.container.clientHeight/2));O?.15>=this.view.scale*this.cumulativeZoomFactor?this.cumulativeZoomFactor*=
(this.view.scale+.05)/this.view.scale:(this.cumulativeZoomFactor*=ba,this.cumulativeZoomFactor=Math.round(this.view.scale*this.cumulativeZoomFactor*100)/100/this.view.scale):.15>=this.view.scale*this.cumulativeZoomFactor?this.cumulativeZoomFactor*=(this.view.scale-.05)/this.view.scale:(this.cumulativeZoomFactor/=ba,this.cumulativeZoomFactor=Math.round(this.view.scale*this.cumulativeZoomFactor*100)/100/this.view.scale);this.cumulativeZoomFactor=Math.max(.05,Math.min(this.view.scale*this.cumulativeZoomFactor,
-160))/this.view.scale;if(b.isFastZoomEnabled()){null==I&&""!=aa.getAttribute("filter")&&(I=aa.getAttribute("filter"),aa.removeAttribute("filter"));k=new mxPoint(b.container.scrollLeft,b.container.scrollTop);O=Math.round(Math.round(this.view.scale*this.cumulativeZoomFactor*100)/100*20)/(20*this.view.scale);ba=X||null==da?b.container.scrollLeft+b.container.clientWidth/2:da.x+b.container.scrollLeft-b.container.offsetLeft;var la=X||null==da?b.container.scrollTop+b.container.clientHeight/2:da.y+b.container.scrollTop-
-b.container.offsetTop;aa.style.transformOrigin=ba+"px "+la+"px";aa.style.transform="scale("+O+")";ma.style.transformOrigin=ba+"px "+la+"px";ma.style.transform="scale("+O+")";null!=b.view.backgroundPageShape&&null!=b.view.backgroundPageShape.node?(ba=b.view.backgroundPageShape.node,mxUtils.setPrefixedStyle(ba.style,"transform-origin",(X||null==da?b.container.clientWidth/2+b.container.scrollLeft-ba.offsetLeft+"px":da.x+b.container.scrollLeft-ba.offsetLeft-b.container.offsetLeft+"px")+" "+(X||null==
-da?b.container.clientHeight/2+b.container.scrollTop-ba.offsetTop+"px":da.y+b.container.scrollTop-ba.offsetTop-b.container.offsetTop+"px")),mxUtils.setPrefixedStyle(ba.style,"transform","scale("+O+")")):b.view.validateBackgroundStyles(O,ba,la);b.view.getDecoratorPane().style.opacity="0";b.view.getOverlayPane().style.opacity="0";null!=g.hoverIcons&&g.hoverIcons.reset();b.fireEvent(new mxEventObject("zoomPreview","factor",O))}R(b.isFastZoomEnabled()?Z:0)};mxEvent.addGestureListeners(b.container,function(O){null!=
-V&&window.clearTimeout(V)},null,function(O){1!=b.cumulativeZoomFactor&&R(0)});mxEvent.addListener(b.container,"scroll",function(O){null==V||b.isMouseDown||1==b.cumulativeZoomFactor||R(0)});mxEvent.addMouseWheelListener(mxUtils.bind(this,function(O,X,Z,ba,la){b.fireEvent(new mxEventObject("wheel"));if(null==this.dialogs||0==this.dialogs.length)if(!b.scrollbars&&!Z&&b.isScrollWheelEvent(O))Z=b.view.getTranslate(),ba=40/b.view.scale,mxEvent.isShiftDown(O)?b.view.setTranslate(Z.x+(X?-ba:ba),Z.y):b.view.setTranslate(Z.x,
-Z.y+(X?ba:-ba));else if(Z||b.isZoomWheelEvent(O))for(var qa=mxEvent.getSource(O);null!=qa;){if(qa==b.container)return b.tooltipHandler.hideTooltip(),da=null!=ba&&null!=la?new mxPoint(ba,la):new mxPoint(mxEvent.getClientX(O),mxEvent.getClientY(O)),t=Z,Z=b.zoomFactor,ba=null,O.ctrlKey&&null!=O.deltaY&&40>Math.abs(O.deltaY)&&Math.round(O.deltaY)!=O.deltaY?Z=1+Math.abs(O.deltaY)/20*(Z-1):null!=O.movementY&&"pointermove"==O.type&&(Z=1+Math.max(1,Math.abs(O.movementY))/20*(Z-1),ba=-1),b.lazyZoom(X,null,
+160))/this.view.scale;if(b.isFastZoomEnabled()){null==I&&""!=aa.getAttribute("filter")&&(I=aa.getAttribute("filter"),aa.removeAttribute("filter"));k=new mxPoint(b.container.scrollLeft,b.container.scrollTop);O=Math.round(Math.round(this.view.scale*this.cumulativeZoomFactor*100)/100*20)/(20*this.view.scale);ba=X||null==da?b.container.scrollLeft+b.container.clientWidth/2:da.x+b.container.scrollLeft-b.container.offsetLeft;var ka=X||null==da?b.container.scrollTop+b.container.clientHeight/2:da.y+b.container.scrollTop-
+b.container.offsetTop;aa.style.transformOrigin=ba+"px "+ka+"px";aa.style.transform="scale("+O+")";ma.style.transformOrigin=ba+"px "+ka+"px";ma.style.transform="scale("+O+")";null!=b.view.backgroundPageShape&&null!=b.view.backgroundPageShape.node?(ba=b.view.backgroundPageShape.node,mxUtils.setPrefixedStyle(ba.style,"transform-origin",(X||null==da?b.container.clientWidth/2+b.container.scrollLeft-ba.offsetLeft+"px":da.x+b.container.scrollLeft-ba.offsetLeft-b.container.offsetLeft+"px")+" "+(X||null==
+da?b.container.clientHeight/2+b.container.scrollTop-ba.offsetTop+"px":da.y+b.container.scrollTop-ba.offsetTop-b.container.offsetTop+"px")),mxUtils.setPrefixedStyle(ba.style,"transform","scale("+O+")")):b.view.validateBackgroundStyles(O,ba,ka);b.view.getDecoratorPane().style.opacity="0";b.view.getOverlayPane().style.opacity="0";null!=g.hoverIcons&&g.hoverIcons.reset();b.fireEvent(new mxEventObject("zoomPreview","factor",O))}R(b.isFastZoomEnabled()?Z:0)};mxEvent.addGestureListeners(b.container,function(O){null!=
+V&&window.clearTimeout(V)},null,function(O){1!=b.cumulativeZoomFactor&&R(0)});mxEvent.addListener(b.container,"scroll",function(O){null==V||b.isMouseDown||1==b.cumulativeZoomFactor||R(0)});mxEvent.addMouseWheelListener(mxUtils.bind(this,function(O,X,Z,ba,ka){b.fireEvent(new mxEventObject("wheel"));if(null==this.dialogs||0==this.dialogs.length)if(!b.scrollbars&&!Z&&b.isScrollWheelEvent(O))Z=b.view.getTranslate(),ba=40/b.view.scale,mxEvent.isShiftDown(O)?b.view.setTranslate(Z.x+(X?-ba:ba),Z.y):b.view.setTranslate(Z.x,
+Z.y+(X?ba:-ba));else if(Z||b.isZoomWheelEvent(O))for(var qa=mxEvent.getSource(O);null!=qa;){if(qa==b.container)return b.tooltipHandler.hideTooltip(),da=null!=ba&&null!=ka?new mxPoint(ba,ka):new mxPoint(mxEvent.getClientX(O),mxEvent.getClientY(O)),t=Z,Z=b.zoomFactor,ba=null,O.ctrlKey&&null!=O.deltaY&&40>Math.abs(O.deltaY)&&Math.round(O.deltaY)!=O.deltaY?Z=1+Math.abs(O.deltaY)/20*(Z-1):null!=O.movementY&&"pointermove"==O.type&&(Z=1+Math.max(1,Math.abs(O.movementY))/20*(Z-1),ba=-1),b.lazyZoom(X,null,
ba,Z),mxEvent.consume(O),!1;qa=qa.parentNode}}),b.container);b.panningHandler.zoomGraph=function(O){b.cumulativeZoomFactor=O.scale;b.lazyZoom(0<O.scale,!0);mxEvent.consume(O)}};EditorUi.prototype.addChromelessToolbarItems=function(b){b(mxUtils.bind(this,function(e){this.actions.get("print").funct();mxEvent.consume(e)}),Editor.printImage,mxResources.get("print"))};EditorUi.prototype.isPagesEnabled=function(){return this.editor.editable||"1"!=urlParams["hide-pages"]};
EditorUi.prototype.createTemporaryGraph=function(b){return Graph.createOffscreenGraph(b)};EditorUi.prototype.addChromelessClickHandler=function(){var b=urlParams.highlight;null!=b&&0<b.length&&(b="#"+b);this.editor.graph.addClickHandler(b)};EditorUi.prototype.toggleFormatPanel=function(b){b=null!=b?b:0==this.formatWidth;null!=this.format&&(this.formatWidth=b?240:0,this.formatContainer.style.width=this.formatWidth+"px",this.refresh(),this.format.refresh(),this.fireEvent(new mxEventObject("formatWidthChanged")))};
EditorUi.prototype.isFormatPanelVisible=function(){return 0<this.formatWidth};EditorUi.prototype.lightboxFit=function(b){if(this.isDiagramEmpty())this.editor.graph.view.setScale(1);else{var e=urlParams.border,g=60;null!=e&&(g=parseInt(e));this.editor.graph.maxFitScale=this.lightboxMaxFitScale;this.editor.graph.fit(g,null,null,null,null,null,b);this.editor.graph.maxFitScale=null}};
@@ -2285,8 +2285,8 @@ arguments)||!mxClient.IS_CHROMEOS&&mxEvent.isShiftDown(V)};var P=l.isForceRubber
"move")}));this.panningHandler.addListener(mxEvent.PAN_END,mxUtils.bind(this,function(){this.isEnabled()&&(this.container.style.cursor=J)}));this.popupMenuHandler.autoExpand=!0;this.popupMenuHandler.isSelectOnPopup=function(V){return mxEvent.isMouseEvent(V.getEvent())};var fa=this.click;this.click=function(V){var da=null==V.state&&null!=V.sourceState&&this.isCellLocked(this.getLayerForCell(V.sourceState.cell));if(this.isEnabled()&&!da||V.isConsumed())return fa.apply(this,arguments);var k=da?V.sourceState.cell:
V.getCell();if(null!=k){var t=this.getClickableLinkForCell(k);null!=t?this.isCustomLink(t)?this.customLinkClicked(t,k):this.openLink(t):da&&this.clearSelection()}};this.tooltipHandler.getStateForEvent=function(V){return V.sourceState};var ea=this.tooltipHandler.show;this.tooltipHandler.show=function(){ea.apply(this,arguments);if(null!=this.div)for(var V=this.div.getElementsByTagName("a"),da=0;da<V.length;da++)null!=V[da].getAttribute("href")&&null==V[da].getAttribute("target")&&V[da].setAttribute("target",
"_blank")};this.tooltipHandler.getStateForEvent=function(V){return V.sourceState};this.getCursorForMouseEvent=function(V){var da=null==V.state&&null!=V.sourceState&&this.isCellLocked(V.sourceState.cell);return this.getCursorForCell(da?V.sourceState.cell:V.getCell())};var T=this.getCursorForCell;this.getCursorForCell=function(V){if(!this.isEnabled()||this.isCellLocked(V)){if(null!=this.getClickableLinkForCell(V))return"pointer";if(this.isCellLocked(V))return"default"}return T.apply(this,arguments)};
-this.selectRegion=function(V,da){var k=mxEvent.isAltDown(da)?V:null;V=this.getCells(V.x,V.y,V.width,V.height,null,null,k,null,!0);if(this.isToggleEvent(da))for(k=0;k<V.length;k++)this.selectCellForEvent(V[k],da);else this.selectCellsForEvent(V,da);return V};var ca=this.graphHandler.shouldRemoveCellsFromParent;this.graphHandler.shouldRemoveCellsFromParent=function(V,da,k){return this.graph.isCellSelected(V)?!1:ca.apply(this,arguments)};var ka=this.updateMouseEvent;this.updateMouseEvent=function(V){V=
-ka.apply(this,arguments);null!=V.state&&this.isCellLocked(this.getLayerForCell(V.getCell()))&&(null==this.getLinkForCell(V.getCell())?V.state=this.view.getState(this.getCellAt(V.getGraphX(),V.getGraphY(),null,null,null,mxUtils.bind(this,function(da,k,t){return V.state==da||this.isCellLocked(this.getLayerForCell(da.cell))&&null==this.getLinkForCell(da.cell)}))):V.state=null);return V};var ma=this.isCellSelectable;this.isCellSelectable=function(V){return ma.apply(this,arguments)&&!this.isCellLocked(this.getLayerForCell(V))};
+this.selectRegion=function(V,da){var k=mxEvent.isAltDown(da)?V:null;V=this.getCells(V.x,V.y,V.width,V.height,null,null,k,null,!0);if(this.isToggleEvent(da))for(k=0;k<V.length;k++)this.selectCellForEvent(V[k],da);else this.selectCellsForEvent(V,da);return V};var ca=this.graphHandler.shouldRemoveCellsFromParent;this.graphHandler.shouldRemoveCellsFromParent=function(V,da,k){return this.graph.isCellSelected(V)?!1:ca.apply(this,arguments)};var ja=this.updateMouseEvent;this.updateMouseEvent=function(V){V=
+ja.apply(this,arguments);null!=V.state&&this.isCellLocked(this.getLayerForCell(V.getCell()))&&(null==this.getLinkForCell(V.getCell())?V.state=this.view.getState(this.getCellAt(V.getGraphX(),V.getGraphY(),null,null,null,mxUtils.bind(this,function(da,k,t){return V.state==da||this.isCellLocked(this.getLayerForCell(da.cell))&&null==this.getLinkForCell(da.cell)}))):V.state=null);return V};var ma=this.isCellSelectable;this.isCellSelectable=function(V){return ma.apply(this,arguments)&&!this.isCellLocked(this.getLayerForCell(V))};
this.isCellLocked=function(V){for(;null!=V;){if("1"==mxUtils.getValue(this.getCurrentCellStyle(V),"locked","0"))return!0;V=this.model.getParent(V)}return!1};var aa=null;this.addListener(mxEvent.FIRE_MOUSE_EVENT,mxUtils.bind(this,function(V,da){"mouseDown"==da.getProperty("eventName")&&(V=da.getProperty("event").getState(),aa=null==V||this.isSelectionEmpty()||this.isCellSelected(V.cell)?null:this.getSelectionCells())}));this.addListener(mxEvent.TAP_AND_HOLD,mxUtils.bind(this,function(V,da){if(!mxEvent.isMultiTouchEvent(da)){V=
da.getProperty("event");var k=da.getProperty("cell");null==k?(V=mxUtils.convertPoint(this.container,mxEvent.getClientX(V),mxEvent.getClientY(V)),l.start(V.x,V.y)):null!=aa?this.addSelectionCells(aa):1<this.getSelectionCount()&&this.isCellSelected(k)&&this.removeSelectionCell(k);aa=null;da.consume()}}));this.connectionHandler.selectCells=function(V,da){this.graph.setSelectionCell(da||V)};this.connectionHandler.constraintHandler.isStateIgnored=function(V,da){var k=V.view.graph;return da&&(k.isCellSelected(V.cell)||
k.isTableRow(V.cell)&&k.selectionCellsHandler.isHandled(k.model.getParent(V.cell)))};this.selectionModel.addListener(mxEvent.CHANGE,mxUtils.bind(this,function(){var V=this.connectionHandler.constraintHandler;null!=V.currentFocus&&V.isStateIgnored(V.currentFocus,!0)&&(V.currentFocus=null,V.constraints=null,V.destroyIcons());V.destroyFocusHighlight()}));Graph.touchStyle&&this.initTouch()}this.currentTranslate=new mxPoint(0,0)};
@@ -2316,7 +2316,7 @@ Graph.exploreFromCell=function(b,e,g){pageSize=null!=g&&null!=g.pageSize?g.pageS
";curved=1;noEdgeStyle=1;entryX=none;entryY=none;exitX=none;exitY=none;labelBackgroundColor=#ffffffc0;textOpacity=100;"),L[B].setTerminal(f,null==L[B].getTerminal(!0)),l=0;l<L[B].getChildCount();l++){var P=L[B].getChildAt(l);null!=P.geometry&&P.geometry.relative&&(P.setStyle(P.getStyle()+";labelBackgroundColor=#ffffffc0;textOpacity=100;"),P.geometry.offset=new mxPoint(0,0),P.geometry.y=0,P.geometry.x=.5>P.geometry.x?-.8:.5<P.geometry.x?.8:0)}if(0<S.startIndex){var J=K.createVertex(null,null,mxResources.get("previousPage")+
" ("+Math.ceil((S.startIndex||0)/pageSize)+"/"+Math.ceil(z.length/pageSize)+")",0,0,120,30,"fillColor=green;fontColor=white;strokeColor=green;rounded=1;");J.referenceCell=f;J.startIndex=Math.max(0,(S.startIndex||0)-pageSize);L.splice(0,0,J)}if(z.length>(S.startIndex||0)+pageSize){var fa=K.createVertex(null,null,mxResources.get("nextPage")+" ("+(Math.ceil((S.startIndex||0)/pageSize)+2)+"/"+Math.ceil(z.length/pageSize)+")",0,0,120,30,"fillColor=green;fontColor=white;strokeColor=green;rounded=1;");fa.referenceCell=
f;fa.startIndex=(S.startIndex||0)+pageSize;L.splice(0,0,fa)}for(var ea in K.getModel().cells){var T=K.getModel().getCell(ea);T!=K.rootCell&&!K.getModel().isAncestor(K.rootCell,T)&&K.getModel().isVertex(T)&&K.removeCells([T])}K.addCells(L);var ca=K.getModel().getGeometry(K.rootCell);null!=ca&&(ca=ca.clone(),ca.x=W-ca.width/2,ca.y=c-ca.height/3,K.getModel().setGeometry(K.rootCell,ca));S=[];for(ea in K.getModel().cells)T=K.getModel().getCell(ea),T!=K.rootCell&&K.getModel().isVertex(T)&&K.getModel().getParent(T)==
-K.getDefaultParent()&&(S.push(T),ca=K.getModel().getGeometry(T),null!=ca&&(ca.x=W-ca.width/2,ca.y=c-ca.height/2));var ka=S.length,ma=2*Math.PI/ka,aa=Math.max(minSize,Math.min(K.container.scrollWidth/2.5-80,K.container.scrollHeight/2.5-80));for(W=0;W<ka;W++)ca=K.getModel().getGeometry(S[W]),null!=ca&&(ca=ca.clone(),ca.x+=aa*Math.sin(W*ma),ca.y+=aa*Math.cos(W*ma),K.getModel().setGeometry(S[W],ca))}finally{K.getModel().endUpdate()}}}var C=document.createElement("div");C.style.position="absolute";C.style.display=
+K.getDefaultParent()&&(S.push(T),ca=K.getModel().getGeometry(T),null!=ca&&(ca.x=W-ca.width/2,ca.y=c-ca.height/2));var ja=S.length,ma=2*Math.PI/ja,aa=Math.max(minSize,Math.min(K.container.scrollWidth/2.5-80,K.container.scrollHeight/2.5-80));for(W=0;W<ja;W++)ca=K.getModel().getGeometry(S[W]),null!=ca&&(ca=ca.clone(),ca.x+=aa*Math.sin(W*ma),ca.y+=aa*Math.cos(W*ma),K.getModel().setGeometry(S[W],ca))}finally{K.getModel().endUpdate()}}}var C=document.createElement("div");C.style.position="absolute";C.style.display=
"block";C.style.background=Editor.isDarkMode()?Editor.darkColor:"#ffffff";C.style.width="100%";C.style.height="100%";C.style.left="0px";C.style.top="0px";C.style.zIndex=2;var H=document.createElement("img");H.setAttribute("src",Editor.closeBlackImage);H.style.position="absolute";H.style.cursor="pointer";H.style.right="10px";H.style.top="10px";C.appendChild(H);var U=document.createElement("div");U.style.position="absolute";U.style.cursor="pointer";U.style.right="38px";U.style.top="14px";U.style.textAlign=
"right";U.style.verticalAlign="top";mxUtils.write(U,mxResources.get("close"));C.appendChild(U);document.body.appendChild(C);var F=function(K){27==K.keyCode&&H.click()};mxEvent.addListener(document,"keydown",F);(function(K){if(mxClient.isBrowserSupported()){var S=new Graph(K);S.keepEdgesInBackground=!0;S.isCellResizable=function(){return!1};S.isCellRotatable=function(){return!1};S.getCursorForCell=function(A){return this.model.isVertex(A)?"pointer":null};S.getFoldingImage=function(){return null};var W=
function(){mxEvent.removeListener(document,"keydown",F);K.parentNode.removeChild(K);n.scrollCellToVisible(v)};mxEvent.addListener(H,"click",W);mxEvent.addListener(U,"click",W);S.setEnabled(!1);var c=S.click;S.click=function(A){var B=A.getCell(),G=null!=B?null!=B.referenceCell?B.referenceCell:B:null;null!=B&&S.rootCell!=B&&0<S.getEdges(G).length?q(S,B):c.apply(this,arguments)};W=S.container.scrollWidth/2;var f=S.container.scrollHeight/3;S.model.beginUpdate();var l=S.importCells([v])[0];l.sourceCellId=
@@ -2507,9 +2507,9 @@ arguments);null!=W&&S&&this.graph.model.isEdge(W.cell)&&null!=W.style&&1!=W.styl
null;if(null!=K)for(var S=0;S<K.length;S++)if("hidden"!=K[S].getAttribute("visibility"))return K[S];return null};mxShape.prototype.addFlowAnimationToShape=function(){null!=this.state&&this.state.view.graph.addFlowAnimationToNode(this.getFlowAnimationPath(),this.state.style,this.state.view.scale,this.state.view.graph.addFlowAnimationStyle())};mxShape.prototype.paint=function(K){g.apply(this,arguments);this.isFlowAnimationEnabled()&&this.addFlowAnimationToShape()};var n=mxCellRenderer.prototype.isShapeInvalid;
mxCellRenderer.prototype.isShapeInvalid=function(K,S){return n.apply(this,arguments)||null!=K.routedPoints&&null!=S.routedPoints&&!mxUtils.equalPoints(S.routedPoints,K.routedPoints)};var v=mxGraphView.prototype.updateCellState;mxGraphView.prototype.updateCellState=function(K){v.apply(this,arguments);this.graph.model.isEdge(K.cell)&&1!=K.style[mxConstants.STYLE_CURVED]&&this.updateLineJumps(K)};mxGraphView.prototype.updateLineJumps=function(K){var S=K.absolutePoints;if(Graph.lineJumpsEnabled){var W=
null!=K.routedPoints,c=null;if(null!=S&&null!=this.validEdges&&"none"!==mxUtils.getValue(K.style,"jumpStyle","none")){var f=function(ma,aa,V){var da=new mxPoint(aa,V);da.type=ma;c.push(da);da=null!=K.routedPoints?K.routedPoints[c.length-1]:null;return null==da||da.type!=ma||da.x!=aa||da.y!=V},l=.5*this.scale;W=!1;c=[];for(var z=0;z<S.length-1;z++){for(var A=S[z+1],B=S[z],G=[],L=S[z+2];z<S.length-2&&mxUtils.ptSegDistSq(B.x,B.y,L.x,L.y,A.x,A.y)<1*this.scale*this.scale;)A=L,z++,L=S[z+2];W=f(0,B.x,B.y)||
-W;for(var P=0;P<this.validEdges.length;P++){var J=this.validEdges[P],fa=J.absolutePoints;if(null!=fa&&mxUtils.intersects(K,J)&&"1"!=J.style.noJump){var ea=null;for(J=0;J<fa.length-1;J++){var T=fa[J+1],ca=fa[J];for(L=fa[J+2];J<fa.length-2&&mxUtils.ptSegDistSq(ca.x,ca.y,L.x,L.y,T.x,T.y)<1*this.scale*this.scale;)T=L,J++,L=fa[J+2];var ka=mxUtils.intersection(B.x,B.y,A.x,A.y,ca.x,ca.y,T.x,T.y);if(null!=ka&&(Math.abs(ka.x-B.x)>l||Math.abs(ka.y-B.y)>l)&&(Math.abs(ka.x-A.x)>l||Math.abs(ka.y-A.y)>l)&&(null==
-ea||mxUtils.ptLineDist(B.x,B.y,A.x,A.y,ea.x,ea.y)>l||mxUtils.ptLineDist(B.x,B.y,A.x,A.y,ca.x,ca.y)>l)&&(null==L||mxUtils.ptLineDist(B.x,B.y,A.x,A.y,L.x,L.y)>l||mxUtils.ptLineDist(B.x,B.y,A.x,A.y,T.x,T.y)>l)){L=ka.x-B.x;ea=ka.y-B.y;ka={distSq:L*L+ea*ea,x:ka.x,y:ka.y};for(L=0;L<G.length;L++)if(G[L].distSq>ka.distSq){G.splice(L,0,ka);ka=null;break}null==ka||0!=G.length&&G[G.length-1].x===ka.x&&G[G.length-1].y===ka.y||G.push(ka)}ea=ca}}}for(J=0;J<G.length;J++)W=f(1,G[J].x,G[J].y)||W}ka=S[S.length-1];
-W=f(0,ka.x,ka.y)||W}K.routedPoints=c;return W}return!1};var q=mxConnector.prototype.paintLine;mxConnector.prototype.paintLine=function(K,S,W){this.routedPoints=null!=this.state?this.state.routedPoints:null;if(this.outline||null==this.state||null==this.style||null==this.state.routedPoints||0==this.state.routedPoints.length)q.apply(this,arguments);else{var c=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2,f=(parseInt(mxUtils.getValue(this.style,"jumpSize",Graph.defaultJumpSize))-
+W;for(var P=0;P<this.validEdges.length;P++){var J=this.validEdges[P],fa=J.absolutePoints;if(null!=fa&&mxUtils.intersects(K,J)&&"1"!=J.style.noJump){var ea=null;for(J=0;J<fa.length-1;J++){var T=fa[J+1],ca=fa[J];for(L=fa[J+2];J<fa.length-2&&mxUtils.ptSegDistSq(ca.x,ca.y,L.x,L.y,T.x,T.y)<1*this.scale*this.scale;)T=L,J++,L=fa[J+2];var ja=mxUtils.intersection(B.x,B.y,A.x,A.y,ca.x,ca.y,T.x,T.y);if(null!=ja&&(Math.abs(ja.x-B.x)>l||Math.abs(ja.y-B.y)>l)&&(Math.abs(ja.x-A.x)>l||Math.abs(ja.y-A.y)>l)&&(null==
+ea||mxUtils.ptLineDist(B.x,B.y,A.x,A.y,ea.x,ea.y)>l||mxUtils.ptLineDist(B.x,B.y,A.x,A.y,ca.x,ca.y)>l)&&(null==L||mxUtils.ptLineDist(B.x,B.y,A.x,A.y,L.x,L.y)>l||mxUtils.ptLineDist(B.x,B.y,A.x,A.y,T.x,T.y)>l)){L=ja.x-B.x;ea=ja.y-B.y;ja={distSq:L*L+ea*ea,x:ja.x,y:ja.y};for(L=0;L<G.length;L++)if(G[L].distSq>ja.distSq){G.splice(L,0,ja);ja=null;break}null==ja||0!=G.length&&G[G.length-1].x===ja.x&&G[G.length-1].y===ja.y||G.push(ja)}ea=ca}}}for(J=0;J<G.length;J++)W=f(1,G[J].x,G[J].y)||W}ja=S[S.length-1];
+W=f(0,ja.x,ja.y)||W}K.routedPoints=c;return W}return!1};var q=mxConnector.prototype.paintLine;mxConnector.prototype.paintLine=function(K,S,W){this.routedPoints=null!=this.state?this.state.routedPoints:null;if(this.outline||null==this.state||null==this.style||null==this.state.routedPoints||0==this.state.routedPoints.length)q.apply(this,arguments);else{var c=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2,f=(parseInt(mxUtils.getValue(this.style,"jumpSize",Graph.defaultJumpSize))-
2)/2+this.strokewidth,l=mxUtils.getValue(this.style,"jumpStyle","none"),z=!0,A=null,B=null,G=[],L=null;K.begin();for(var P=0;P<this.state.routedPoints.length;P++){var J=this.state.routedPoints[P],fa=new mxPoint(J.x/this.scale,J.y/this.scale);0==P?fa=S[0]:P==this.state.routedPoints.length-1&&(fa=S[S.length-1]);var ea=!1;if(null!=A&&1==J.type){var T=this.state.routedPoints[P+1];J=T.x/this.scale-fa.x;T=T.y/this.scale-fa.y;J=J*J+T*T;null==L&&(L=new mxPoint(fa.x-A.x,fa.y-A.y),B=Math.sqrt(L.x*L.x+L.y*L.y),
0<B?(L.x=L.x*f/B,L.y=L.y*f/B):L=null);J>f*f&&0<B&&(J=A.x-fa.x,T=A.y-fa.y,J=J*J+T*T,J>f*f&&(ea=new mxPoint(fa.x-L.x,fa.y-L.y),J=new mxPoint(fa.x+L.x,fa.y+L.y),G.push(ea),this.addPoints(K,G,W,c,!1,null,z),G=0>Math.round(L.x)||0==Math.round(L.x)&&0>=Math.round(L.y)?1:-1,z=!1,"sharp"==l?(K.lineTo(ea.x-L.y*G,ea.y+L.x*G),K.lineTo(J.x-L.y*G,J.y+L.x*G),K.lineTo(J.x,J.y)):"line"==l?(K.moveTo(ea.x+L.y*G,ea.y-L.x*G),K.lineTo(ea.x-L.y*G,ea.y+L.x*G),K.moveTo(J.x-L.y*G,J.y+L.x*G),K.lineTo(J.x+L.y*G,J.y-L.x*G),
K.moveTo(J.x,J.y)):"arc"==l?(G*=1.3,K.curveTo(ea.x-L.y*G,ea.y+L.x*G,J.x-L.y*G,J.y+L.x*G,J.x,J.y)):(K.moveTo(J.x,J.y),z=!0),G=[J],ea=!0))}else L=null;ea||(G.push(fa),A=fa)}this.addPoints(K,G,W,c,!1,null,z);K.stroke()}};var C=mxGraphView.prototype.getFixedTerminalPoint;mxGraphView.prototype.getFixedTerminalPoint=function(K,S,W,c){return null!=S&&"centerPerimeter"==S.style[mxConstants.STYLE_PERIMETER]?new mxPoint(S.getCenterX(),S.getCenterY()):C.apply(this,arguments)};var H=mxGraphView.prototype.updateFloatingTerminalPoint;
@@ -2535,152 +2535,150 @@ var q=mxConnectionHandler.prototype.createShape;mxConnectionHandler.prototype.cr
return u};Graph.prototype.defaultVertexStyle={};Graph.prototype.defaultEdgeStyle={edgeStyle:"orthogonalEdgeStyle",rounded:"0",jettySize:"auto",orthogonalLoop:"1"};Graph.prototype.createCurrentEdgeStyle=function(){for(var u="edgeStyle="+(this.currentEdgeStyle.edgeStyle||"none")+";",N="shape curved rounded comic sketch fillWeight hachureGap hachureAngle jiggle disableMultiStroke disableMultiStrokeFill fillStyle curveFitting simplification comicStyle jumpStyle jumpSize".split(" "),Q=0;Q<N.length;Q++)null!=
this.currentEdgeStyle[N[Q]]&&(u+=N[Q]+"="+this.currentEdgeStyle[N[Q]]+";");null!=this.currentEdgeStyle.orthogonalLoop?u+="orthogonalLoop="+this.currentEdgeStyle.orthogonalLoop+";":null!=Graph.prototype.defaultEdgeStyle.orthogonalLoop&&(u+="orthogonalLoop="+Graph.prototype.defaultEdgeStyle.orthogonalLoop+";");null!=this.currentEdgeStyle.jettySize?u+="jettySize="+this.currentEdgeStyle.jettySize+";":null!=Graph.prototype.defaultEdgeStyle.jettySize&&(u+="jettySize="+Graph.prototype.defaultEdgeStyle.jettySize+
";");"elbowEdgeStyle"==this.currentEdgeStyle.edgeStyle&&null!=this.currentEdgeStyle.elbow&&(u+="elbow="+this.currentEdgeStyle.elbow+";");return u=null!=this.currentEdgeStyle.html?u+("html="+this.currentEdgeStyle.html+";"):u+"html=1;"};Graph.prototype.getPagePadding=function(){return new mxPoint(0,0)};Graph.prototype.loadStylesheet=function(){var u=null!=this.themes?this.themes[this.defaultThemeName]:mxStyleRegistry.dynamicLoading?mxUtils.load(STYLE_PATH+"/default.xml").getDocumentElement():null;null!=
-u&&(new mxCodec(u.ownerDocument)).decode(u,this.getStylesheet())};Graph.prototype.createCellLookup=function(u,N){N=null!=N?N:{};for(var Q=0;Q<u.length;Q++){var Y=u[Q];N[mxObjectIdentity.get(Y)]=Y.getId();for(var ia=this.model.getChildCount(Y),ja=0;ja<ia;ja++)this.createCellLookup([this.model.getChildAt(Y,ja)],N)}return N};Graph.prototype.createCellMapping=function(u,N,Q){Q=null!=Q?Q:{};for(var Y in u){var ia=N[Y];null==Q[ia]&&(Q[ia]=u[Y].getId()||"")}return Q};Graph.prototype.importGraphModel=function(u,
-N,Q,Y){N=null!=N?N:0;Q=null!=Q?Q:0;var ia=new mxCodec(u.ownerDocument),ja=new mxGraphModel;ia.decode(u,ja);u=[];ia={};var oa={},ta=ja.getChildren(this.cloneCell(ja.root,this.isCloneInvalidEdges(),ia));if(null!=ta){var sa=this.createCellLookup([ja.root]);ta=ta.slice();this.model.beginUpdate();try{if(1!=ta.length||this.isCellLocked(this.getDefaultParent()))for(ja=0;ja<ta.length;ja++)xa=this.model.getChildren(this.moveCells([ta[ja]],N,Q,!1,this.model.getRoot())[0]),null!=xa&&(u=u.concat(xa));else{var xa=
-ja.getChildren(ta[0]);null!=xa&&(u=this.moveCells(xa,N,Q,!1,this.getDefaultParent()),oa[ja.getChildAt(ja.root,0).getId()]=this.getDefaultParent().getId())}if(null!=u&&(this.createCellMapping(ia,sa,oa),this.updateCustomLinks(oa,u),Y)){this.isGridEnabled()&&(N=this.snap(N),Q=this.snap(Q));var Ca=this.getBoundingBoxFromGeometry(u,!0);null!=Ca&&this.moveCells(u,N-Ca.x,Q-Ca.y)}}finally{this.model.endUpdate()}}return u};Graph.prototype.encodeCells=function(u){for(var N={},Q=this.cloneCells(u,null,N),Y=
-new mxDictionary,ia=0;ia<u.length;ia++)Y.put(u[ia],!0);var ja=new mxCodec,oa=new mxGraphModel,ta=oa.getChildAt(oa.getRoot(),0);for(ia=0;ia<Q.length;ia++){oa.add(ta,Q[ia]);var sa=this.view.getState(u[ia]);if(null!=sa){var xa=this.getCellGeometry(Q[ia]);null!=xa&&xa.relative&&!this.model.isEdge(u[ia])&&null==Y.get(this.model.getParent(u[ia]))&&(xa.offset=null,xa.relative=!1,xa.x=sa.x/sa.view.scale-sa.view.translate.x,xa.y=sa.y/sa.view.scale-sa.view.translate.y)}}this.updateCustomLinks(this.createCellMapping(N,
-this.createCellLookup(u)),Q);return ja.encode(oa)};Graph.prototype.isSwimlane=function(u,N){var Q=null;null==u||this.model.isEdge(u)||this.model.getParent(u)==this.model.getRoot()||(Q=this.getCurrentCellStyle(u,N)[mxConstants.STYLE_SHAPE]);return Q==mxConstants.SHAPE_SWIMLANE||"table"==Q||"tableRow"==Q};var H=Graph.prototype.isCellEditable;Graph.prototype.isCellEditable=function(u){return null!=u&&H.apply(this,arguments)?this.isTableCell(u)||this.isTableRow(u)?this.isCellEditable(this.model.getParent(u)):
+u&&(new mxCodec(u.ownerDocument)).decode(u,this.getStylesheet())};Graph.prototype.createCellLookup=function(u,N){N=null!=N?N:{};for(var Q=0;Q<u.length;Q++){var Y=u[Q];N[mxObjectIdentity.get(Y)]=Y.getId();for(var ia=this.model.getChildCount(Y),la=0;la<ia;la++)this.createCellLookup([this.model.getChildAt(Y,la)],N)}return N};Graph.prototype.createCellMapping=function(u,N,Q){Q=null!=Q?Q:{};for(var Y in u){var ia=N[Y];null==Q[ia]&&(Q[ia]=u[Y].getId()||"")}return Q};Graph.prototype.importGraphModel=function(u,
+N,Q,Y){N=null!=N?N:0;Q=null!=Q?Q:0;var ia=new mxCodec(u.ownerDocument),la=new mxGraphModel;ia.decode(u,la);u=[];ia={};var oa={},ta=la.getChildren(this.cloneCell(la.root,this.isCloneInvalidEdges(),ia));if(null!=ta){var sa=this.createCellLookup([la.root]);ta=ta.slice();this.model.beginUpdate();try{if(1!=ta.length||this.isCellLocked(this.getDefaultParent()))for(la=0;la<ta.length;la++)ya=this.model.getChildren(this.moveCells([ta[la]],N,Q,!1,this.model.getRoot())[0]),null!=ya&&(u=u.concat(ya));else{var ya=
+la.getChildren(ta[0]);null!=ya&&(u=this.moveCells(ya,N,Q,!1,this.getDefaultParent()),oa[la.getChildAt(la.root,0).getId()]=this.getDefaultParent().getId())}if(null!=u&&(this.createCellMapping(ia,sa,oa),this.updateCustomLinks(oa,u),Y)){this.isGridEnabled()&&(N=this.snap(N),Q=this.snap(Q));var Ha=this.getBoundingBoxFromGeometry(u,!0);null!=Ha&&this.moveCells(u,N-Ha.x,Q-Ha.y)}}finally{this.model.endUpdate()}}return u};Graph.prototype.encodeCells=function(u){for(var N={},Q=this.cloneCells(u,null,N),Y=
+new mxDictionary,ia=0;ia<u.length;ia++)Y.put(u[ia],!0);var la=new mxCodec,oa=new mxGraphModel,ta=oa.getChildAt(oa.getRoot(),0);for(ia=0;ia<Q.length;ia++){oa.add(ta,Q[ia]);var sa=this.view.getState(u[ia]);if(null!=sa){var ya=this.getCellGeometry(Q[ia]);null!=ya&&ya.relative&&!this.model.isEdge(u[ia])&&null==Y.get(this.model.getParent(u[ia]))&&(ya.offset=null,ya.relative=!1,ya.x=sa.x/sa.view.scale-sa.view.translate.x,ya.y=sa.y/sa.view.scale-sa.view.translate.y)}}this.updateCustomLinks(this.createCellMapping(N,
+this.createCellLookup(u)),Q);return la.encode(oa)};Graph.prototype.isSwimlane=function(u,N){var Q=null;null==u||this.model.isEdge(u)||this.model.getParent(u)==this.model.getRoot()||(Q=this.getCurrentCellStyle(u,N)[mxConstants.STYLE_SHAPE]);return Q==mxConstants.SHAPE_SWIMLANE||"table"==Q||"tableRow"==Q};var H=Graph.prototype.isCellEditable;Graph.prototype.isCellEditable=function(u){return null!=u&&H.apply(this,arguments)?this.isTableCell(u)||this.isTableRow(u)?this.isCellEditable(this.model.getParent(u)):
!0:!1};var U=Graph.prototype.isCellMovable;Graph.prototype.isCellMovable=function(u){return null!=u&&U.apply(this,arguments)?this.isTableCell(u)||this.isTableRow(u)?this.isCellMovable(this.model.getParent(u)):!0:!1};var F=Graph.prototype.isExtendParent;Graph.prototype.isExtendParent=function(u){var N=this.model.getParent(u);if(null!=N){var Q=this.getCurrentCellStyle(N);if(null!=Q.expand)return"0"!=Q.expand}return F.apply(this,arguments)&&(null==N||!this.isTable(N))};var K=Graph.prototype.splitEdge;
-Graph.prototype.splitEdge=function(u,N,Q,Y,ia,ja,oa,ta){null==ta&&(ta=this.model.getParent(u),this.isTable(ta)||this.isTableRow(ta))&&(ta=this.getCellAt(ja,oa,null,!0,!1));Q=null;this.model.beginUpdate();try{Q=K.apply(this,[u,N,Q,Y,ia,ja,oa,ta]);this.model.setValue(Q,"");var sa=this.getChildCells(Q,!0);for(N=0;N<sa.length;N++){var xa=this.getCellGeometry(sa[N]);null!=xa&&xa.relative&&0<xa.x&&this.model.remove(sa[N])}var Ca=this.getChildCells(u,!0);for(N=0;N<Ca.length;N++)xa=this.getCellGeometry(Ca[N]),
-null!=xa&&xa.relative&&0>=xa.x&&this.model.remove(Ca[N]);var Oa=this.model.getTerminal(Q,!1);if(null!=Oa){var Wa=this.getCurrentCellStyle(Oa);null!=Wa&&"1"==Wa.snapToPoint&&(this.setCellStyles(mxConstants.STYLE_EXIT_X,null,[u]),this.setCellStyles(mxConstants.STYLE_EXIT_Y,null,[u]),this.setCellStyles(mxConstants.STYLE_ENTRY_X,null,[Q]),this.setCellStyles(mxConstants.STYLE_ENTRY_Y,null,[Q]))}}finally{this.model.endUpdate()}return Q};var S=Graph.prototype.selectCell;Graph.prototype.selectCell=function(u,
-N,Q){if(N||Q)S.apply(this,arguments);else{var Y=this.getSelectionCell(),ia=null,ja=[],oa=mxUtils.bind(this,function(ta){if(null!=this.view.getState(ta)&&(this.model.isVertex(ta)||this.model.isEdge(ta)))if(ja.push(ta),ta==Y)ia=ja.length-1;else if(u&&null==Y&&0<ja.length||null!=ia&&u&&ja.length>ia||!u&&0<ia)return;for(var sa=0;sa<this.model.getChildCount(ta);sa++)oa(this.model.getChildAt(ta,sa))});oa(this.model.root);0<ja.length&&(ia=null!=ia?mxUtils.mod(ia+(u?1:-1),ja.length):0,this.setSelectionCell(ja[ia]))}};
-Graph.prototype.swapShapes=function(u,N){if(this.model.isVertex(u)&&this.model.isVertex(N)&&2==this.getMovableCells([u,N]).length){var Q=this.getCellGeometry(u),Y=this.getCellGeometry(N);if(null!=Q&&null!=Y){var ia=Q.clone(),ja=Y.clone();this.model.beginUpdate();try{ia.x=Y.getCenterX()-Q.width/2,ia.y=Y.getCenterY()-Q.height/2,ja.x=Q.getCenterX()-Y.width/2,ja.y=Q.getCenterY()-Y.height/2,this.model.setGeometry(u,ia),this.model.setGeometry(N,ja)}finally{this.model.endUpdate()}}}};var W=Graph.prototype.moveCells;
-Graph.prototype.moveCells=function(u,N,Q,Y,ia,ja,oa){oa=null!=oa?oa:{};if(this.isTable(ia)){for(var ta=[],sa=0;sa<u.length;sa++)this.isTable(u[sa])?ta=ta.concat(this.model.getChildCells(u[sa],!0).reverse()):ta.push(u[sa]);u=ta}this.model.beginUpdate();try{ta=[];for(sa=0;sa<u.length;sa++)if(null!=ia&&this.isTableRow(u[sa])){var xa=this.model.getParent(u[sa]),Ca=this.getCellGeometry(u[sa]);this.isTable(xa)&&ta.push(xa);if(null!=xa&&null!=Ca&&this.isTable(xa)&&this.isTable(ia)&&(Y||xa!=ia)){if(!Y){var Oa=
-this.getCellGeometry(xa);null!=Oa&&(Oa=Oa.clone(),Oa.height-=Ca.height,this.model.setGeometry(xa,Oa))}Oa=this.getCellGeometry(ia);null!=Oa&&(Oa=Oa.clone(),Oa.height+=Ca.height,this.model.setGeometry(ia,Oa));var Wa=this.model.getChildCells(ia,!0);if(0<Wa.length){u[sa]=Y?this.cloneCell(u[sa]):u[sa];var Za=this.model.getChildCells(u[sa],!0),ab=this.model.getChildCells(Wa[0],!0),Ta=ab.length-Za.length;if(0<Ta)for(var Pa=0;Pa<Ta;Pa++){var kb=this.cloneCell(Za[Za.length-1]);null!=kb&&(kb.value="",this.model.add(u[sa],
+Graph.prototype.splitEdge=function(u,N,Q,Y,ia,la,oa,ta){null==ta&&(ta=this.model.getParent(u),this.isTable(ta)||this.isTableRow(ta))&&(ta=this.getCellAt(la,oa,null,!0,!1));Q=null;this.model.beginUpdate();try{Q=K.apply(this,[u,N,Q,Y,ia,la,oa,ta]);this.model.setValue(Q,"");var sa=this.getChildCells(Q,!0);for(N=0;N<sa.length;N++){var ya=this.getCellGeometry(sa[N]);null!=ya&&ya.relative&&0<ya.x&&this.model.remove(sa[N])}var Ha=this.getChildCells(u,!0);for(N=0;N<Ha.length;N++)ya=this.getCellGeometry(Ha[N]),
+null!=ya&&ya.relative&&0>=ya.x&&this.model.remove(Ha[N]);var Oa=this.model.getTerminal(Q,!1);if(null!=Oa){var Wa=this.getCurrentCellStyle(Oa);null!=Wa&&"1"==Wa.snapToPoint&&(this.setCellStyles(mxConstants.STYLE_EXIT_X,null,[u]),this.setCellStyles(mxConstants.STYLE_EXIT_Y,null,[u]),this.setCellStyles(mxConstants.STYLE_ENTRY_X,null,[Q]),this.setCellStyles(mxConstants.STYLE_ENTRY_Y,null,[Q]))}}finally{this.model.endUpdate()}return Q};var S=Graph.prototype.selectCell;Graph.prototype.selectCell=function(u,
+N,Q){if(N||Q)S.apply(this,arguments);else{var Y=this.getSelectionCell(),ia=null,la=[],oa=mxUtils.bind(this,function(ta){if(null!=this.view.getState(ta)&&(this.model.isVertex(ta)||this.model.isEdge(ta)))if(la.push(ta),ta==Y)ia=la.length-1;else if(u&&null==Y&&0<la.length||null!=ia&&u&&la.length>ia||!u&&0<ia)return;for(var sa=0;sa<this.model.getChildCount(ta);sa++)oa(this.model.getChildAt(ta,sa))});oa(this.model.root);0<la.length&&(ia=null!=ia?mxUtils.mod(ia+(u?1:-1),la.length):0,this.setSelectionCell(la[ia]))}};
+Graph.prototype.swapShapes=function(u,N){if(this.model.isVertex(u)&&this.model.isVertex(N)&&2==this.getMovableCells([u,N]).length){var Q=this.getCellGeometry(u),Y=this.getCellGeometry(N);if(null!=Q&&null!=Y){var ia=Q.clone(),la=Y.clone();this.model.beginUpdate();try{ia.x=Y.getCenterX()-Q.width/2,ia.y=Y.getCenterY()-Q.height/2,la.x=Q.getCenterX()-Y.width/2,la.y=Q.getCenterY()-Y.height/2,this.model.setGeometry(u,ia),this.model.setGeometry(N,la)}finally{this.model.endUpdate()}}}};var W=Graph.prototype.moveCells;
+Graph.prototype.moveCells=function(u,N,Q,Y,ia,la,oa){oa=null!=oa?oa:{};if(this.isTable(ia)){for(var ta=[],sa=0;sa<u.length;sa++)this.isTable(u[sa])?ta=ta.concat(this.model.getChildCells(u[sa],!0).reverse()):ta.push(u[sa]);u=ta}this.model.beginUpdate();try{ta=[];for(sa=0;sa<u.length;sa++)if(null!=ia&&this.isTableRow(u[sa])){var ya=this.model.getParent(u[sa]),Ha=this.getCellGeometry(u[sa]);this.isTable(ya)&&ta.push(ya);if(null!=ya&&null!=Ha&&this.isTable(ya)&&this.isTable(ia)&&(Y||ya!=ia)){if(!Y){var Oa=
+this.getCellGeometry(ya);null!=Oa&&(Oa=Oa.clone(),Oa.height-=Ha.height,this.model.setGeometry(ya,Oa))}Oa=this.getCellGeometry(ia);null!=Oa&&(Oa=Oa.clone(),Oa.height+=Ha.height,this.model.setGeometry(ia,Oa));var Wa=this.model.getChildCells(ia,!0);if(0<Wa.length){u[sa]=Y?this.cloneCell(u[sa]):u[sa];var Za=this.model.getChildCells(u[sa],!0),ab=this.model.getChildCells(Wa[0],!0),Ta=ab.length-Za.length;if(0<Ta)for(var Pa=0;Pa<Ta;Pa++){var kb=this.cloneCell(Za[Za.length-1]);null!=kb&&(kb.value="",this.model.add(u[sa],
kb))}else if(0>Ta)for(Pa=0;Pa>Ta;Pa--)this.model.remove(Za[Za.length+Pa-1]);Za=this.model.getChildCells(u[sa],!0);for(Pa=0;Pa<ab.length;Pa++){var cb=this.getCellGeometry(ab[Pa]),$a=this.getCellGeometry(Za[Pa]);null!=cb&&null!=$a&&($a=$a.clone(),$a.width=cb.width,this.model.setGeometry(Za[Pa],$a))}}}}var gb=W.apply(this,arguments);for(sa=0;sa<ta.length;sa++)!Y&&this.model.contains(ta[sa])&&0==this.model.getChildCount(ta[sa])&&this.model.remove(ta[sa]);Y&&this.updateCustomLinks(this.createCellMapping(oa,
-this.createCellLookup(u)),gb)}finally{this.model.endUpdate()}return gb};var c=Graph.prototype.removeCells;Graph.prototype.removeCells=function(u,N){var Q=[];this.model.beginUpdate();try{for(var Y=0;Y<u.length;Y++)if(this.isTableCell(u[Y])){var ia=this.model.getParent(u[Y]),ja=this.model.getParent(ia);1==this.model.getChildCount(ia)&&1==this.model.getChildCount(ja)?0>mxUtils.indexOf(u,ja)&&0>mxUtils.indexOf(Q,ja)&&Q.push(ja):this.labelChanged(u[Y],"")}else{if(this.isTableRow(u[Y])&&(ja=this.model.getParent(u[Y]),
-0>mxUtils.indexOf(u,ja)&&0>mxUtils.indexOf(Q,ja))){for(var oa=this.model.getChildCells(ja,!0),ta=0,sa=0;sa<oa.length;sa++)0<=mxUtils.indexOf(u,oa[sa])&&ta++;ta==oa.length&&Q.push(ja)}Q.push(u[Y])}Q=c.apply(this,[Q,N])}finally{this.model.endUpdate()}return Q};Graph.prototype.updateCustomLinks=function(u,N,Q){Q=null!=Q?Q:new Graph;for(var Y=0;Y<N.length;Y++)null!=N[Y]&&Q.updateCustomLinksForCell(u,N[Y],Q)};Graph.prototype.updateCustomLinksForCell=function(u,N){this.doUpdateCustomLinksForCell(u,N);for(var Q=
-this.model.getChildCount(N),Y=0;Y<Q;Y++)this.updateCustomLinksForCell(u,this.model.getChildAt(N,Y))};Graph.prototype.doUpdateCustomLinksForCell=function(u,N){};Graph.prototype.getAllConnectionConstraints=function(u,N){if(null!=u){N=mxUtils.getValue(u.style,"points",null);if(null!=N){u=[];try{var Q=JSON.parse(N);for(N=0;N<Q.length;N++){var Y=Q[N];u.push(new mxConnectionConstraint(new mxPoint(Y[0],Y[1]),2<Y.length?"0"!=Y[2]:!0,null,3<Y.length?Y[3]:0,4<Y.length?Y[4]:0))}}catch(ja){}return u}if(null!=
+this.createCellLookup(u)),gb)}finally{this.model.endUpdate()}return gb};var c=Graph.prototype.removeCells;Graph.prototype.removeCells=function(u,N){var Q=[];this.model.beginUpdate();try{for(var Y=0;Y<u.length;Y++)if(this.isTableCell(u[Y])){var ia=this.model.getParent(u[Y]),la=this.model.getParent(ia);1==this.model.getChildCount(ia)&&1==this.model.getChildCount(la)?0>mxUtils.indexOf(u,la)&&0>mxUtils.indexOf(Q,la)&&Q.push(la):this.labelChanged(u[Y],"")}else{if(this.isTableRow(u[Y])&&(la=this.model.getParent(u[Y]),
+0>mxUtils.indexOf(u,la)&&0>mxUtils.indexOf(Q,la))){for(var oa=this.model.getChildCells(la,!0),ta=0,sa=0;sa<oa.length;sa++)0<=mxUtils.indexOf(u,oa[sa])&&ta++;ta==oa.length&&Q.push(la)}Q.push(u[Y])}Q=c.apply(this,[Q,N])}finally{this.model.endUpdate()}return Q};Graph.prototype.updateCustomLinks=function(u,N,Q){Q=null!=Q?Q:new Graph;for(var Y=0;Y<N.length;Y++)null!=N[Y]&&Q.updateCustomLinksForCell(u,N[Y],Q)};Graph.prototype.updateCustomLinksForCell=function(u,N){this.doUpdateCustomLinksForCell(u,N);for(var Q=
+this.model.getChildCount(N),Y=0;Y<Q;Y++)this.updateCustomLinksForCell(u,this.model.getChildAt(N,Y))};Graph.prototype.doUpdateCustomLinksForCell=function(u,N){};Graph.prototype.getAllConnectionConstraints=function(u,N){if(null!=u){N=mxUtils.getValue(u.style,"points",null);if(null!=N){u=[];try{var Q=JSON.parse(N);for(N=0;N<Q.length;N++){var Y=Q[N];u.push(new mxConnectionConstraint(new mxPoint(Y[0],Y[1]),2<Y.length?"0"!=Y[2]:!0,null,3<Y.length?Y[3]:0,4<Y.length?Y[4]:0))}}catch(la){}return u}if(null!=
u.shape&&null!=u.shape.bounds){Y=u.shape.direction;N=u.shape.bounds;var ia=u.shape.scale;Q=N.width/ia;N=N.height/ia;if(Y==mxConstants.DIRECTION_NORTH||Y==mxConstants.DIRECTION_SOUTH)Y=Q,Q=N,N=Y;N=u.shape.getConstraints(u.style,Q,N);if(null!=N)return N;if(null!=u.shape.stencil&&null!=u.shape.stencil.constraints)return u.shape.stencil.constraints;if(null!=u.shape.constraints)return u.shape.constraints}}return null};Graph.prototype.flipEdge=function(u){if(null!=u){var N=this.getCurrentCellStyle(u);N=
mxUtils.getValue(N,mxConstants.STYLE_ELBOW,mxConstants.ELBOW_HORIZONTAL)==mxConstants.ELBOW_HORIZONTAL?mxConstants.ELBOW_VERTICAL:mxConstants.ELBOW_HORIZONTAL;this.setCellStyles(mxConstants.STYLE_ELBOW,N,[u])}};Graph.prototype.isValidRoot=function(u){for(var N=this.model.getChildCount(u),Q=0,Y=0;Y<N;Y++){var ia=this.model.getChildAt(u,Y);this.model.isVertex(ia)&&(ia=this.getCellGeometry(ia),null==ia||ia.relative||Q++)}return 0<Q||this.isContainer(u)};Graph.prototype.isValidDropTarget=function(u,N,
-Q){for(var Y=this.getCurrentCellStyle(u),ia=!0,ja=!0,oa=0;oa<N.length&&ja;oa++)ia=ia&&this.isTable(N[oa]),ja=ja&&this.isTableRow(N[oa]);return!this.isCellLocked(u)&&(this.isTargetShape(u,N,Q)||("1"!=mxUtils.getValue(Y,"part","0")||this.isContainer(u))&&"0"!=mxUtils.getValue(Y,"dropTarget","1")&&(mxGraph.prototype.isValidDropTarget.apply(this,arguments)||this.isContainer(u))&&!this.isTableRow(u)&&(!this.isTable(u)||ja||ia))};Graph.prototype.createGroupCell=function(){var u=mxGraph.prototype.createGroupCell.apply(this,
+Q){for(var Y=this.getCurrentCellStyle(u),ia=!0,la=!0,oa=0;oa<N.length&&la;oa++)ia=ia&&this.isTable(N[oa]),la=la&&this.isTableRow(N[oa]);return!this.isCellLocked(u)&&(this.isTargetShape(u,N,Q)||("1"!=mxUtils.getValue(Y,"part","0")||this.isContainer(u))&&"0"!=mxUtils.getValue(Y,"dropTarget","1")&&(mxGraph.prototype.isValidDropTarget.apply(this,arguments)||this.isContainer(u))&&!this.isTableRow(u)&&(!this.isTable(u)||la||ia))};Graph.prototype.createGroupCell=function(){var u=mxGraph.prototype.createGroupCell.apply(this,
arguments);u.setStyle("group");return u};Graph.prototype.isExtendParentsOnAdd=function(u){var N=mxGraph.prototype.isExtendParentsOnAdd.apply(this,arguments);if(N&&null!=u&&null!=this.layoutManager){var Q=this.model.getParent(u);null!=Q&&(Q=this.layoutManager.getLayout(Q),null!=Q&&Q.constructor==mxStackLayout&&(N=!1))}return N};Graph.prototype.getPreferredSizeForCell=function(u,N,Q){Q=null!=Q?Q:this.gridEnabled;var Y=mxGraph.prototype.getPreferredSizeForCell.apply(this,arguments);null!=Y&&(Y.width+=
-10,Y.height+=4,Q&&(Y.width=this.snap(Y.width),Y.height=this.snap(Y.height)));return Y};Graph.prototype.turnShapes=function(u,N){var Q=this.getModel(),Y=[];Q.beginUpdate();try{for(var ia=0;ia<u.length;ia++){var ja=u[ia];if(Q.isEdge(ja)){var oa=Q.getTerminal(ja,!0),ta=Q.getTerminal(ja,!1);Q.setTerminal(ja,ta,!0);Q.setTerminal(ja,oa,!1);var sa=Q.getGeometry(ja);if(null!=sa){sa=sa.clone();null!=sa.points&&sa.points.reverse();var xa=sa.getTerminalPoint(!0),Ca=sa.getTerminalPoint(!1);sa.setTerminalPoint(xa,
-!1);sa.setTerminalPoint(Ca,!0);Q.setGeometry(ja,sa);var Oa=this.view.getState(ja),Wa=this.view.getState(oa),Za=this.view.getState(ta);if(null!=Oa){var ab=null!=Wa?this.getConnectionConstraint(Oa,Wa,!0):null,Ta=null!=Za?this.getConnectionConstraint(Oa,Za,!1):null;this.setConnectionConstraint(ja,oa,!0,Ta);this.setConnectionConstraint(ja,ta,!1,ab);var Pa=mxUtils.getValue(Oa.style,mxConstants.STYLE_SOURCE_PERIMETER_SPACING);this.setCellStyles(mxConstants.STYLE_SOURCE_PERIMETER_SPACING,mxUtils.getValue(Oa.style,
-mxConstants.STYLE_TARGET_PERIMETER_SPACING),[ja]);this.setCellStyles(mxConstants.STYLE_TARGET_PERIMETER_SPACING,Pa,[ja])}Y.push(ja)}}else if(Q.isVertex(ja)&&(sa=this.getCellGeometry(ja),null!=sa)){if(!(this.isTable(ja)||this.isTableRow(ja)||this.isTableCell(ja)||this.isSwimlane(ja))){sa=sa.clone();sa.x+=sa.width/2-sa.height/2;sa.y+=sa.height/2-sa.width/2;var kb=sa.width;sa.width=sa.height;sa.height=kb;Q.setGeometry(ja,sa)}var cb=this.view.getState(ja);if(null!=cb){var $a=[mxConstants.DIRECTION_EAST,
-mxConstants.DIRECTION_SOUTH,mxConstants.DIRECTION_WEST,mxConstants.DIRECTION_NORTH],gb=mxUtils.getValue(cb.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST);this.setCellStyles(mxConstants.STYLE_DIRECTION,$a[mxUtils.mod(mxUtils.indexOf($a,gb)+(N?-1:1),$a.length)],[ja])}Y.push(ja)}}}finally{Q.endUpdate()}return Y};Graph.prototype.stencilHasPlaceholders=function(u){if(null!=u&&null!=u.fgNode)for(u=u.fgNode.firstChild;null!=u;){if("text"==u.nodeName&&"1"==u.getAttribute("placeholders"))return!0;
+10,Y.height+=4,Q&&(Y.width=this.snap(Y.width),Y.height=this.snap(Y.height)));return Y};Graph.prototype.turnShapes=function(u,N){var Q=this.getModel(),Y=[];Q.beginUpdate();try{for(var ia=0;ia<u.length;ia++){var la=u[ia];if(Q.isEdge(la)){var oa=Q.getTerminal(la,!0),ta=Q.getTerminal(la,!1);Q.setTerminal(la,ta,!0);Q.setTerminal(la,oa,!1);var sa=Q.getGeometry(la);if(null!=sa){sa=sa.clone();null!=sa.points&&sa.points.reverse();var ya=sa.getTerminalPoint(!0),Ha=sa.getTerminalPoint(!1);sa.setTerminalPoint(ya,
+!1);sa.setTerminalPoint(Ha,!0);Q.setGeometry(la,sa);var Oa=this.view.getState(la),Wa=this.view.getState(oa),Za=this.view.getState(ta);if(null!=Oa){var ab=null!=Wa?this.getConnectionConstraint(Oa,Wa,!0):null,Ta=null!=Za?this.getConnectionConstraint(Oa,Za,!1):null;this.setConnectionConstraint(la,oa,!0,Ta);this.setConnectionConstraint(la,ta,!1,ab);var Pa=mxUtils.getValue(Oa.style,mxConstants.STYLE_SOURCE_PERIMETER_SPACING);this.setCellStyles(mxConstants.STYLE_SOURCE_PERIMETER_SPACING,mxUtils.getValue(Oa.style,
+mxConstants.STYLE_TARGET_PERIMETER_SPACING),[la]);this.setCellStyles(mxConstants.STYLE_TARGET_PERIMETER_SPACING,Pa,[la])}Y.push(la)}}else if(Q.isVertex(la)&&(sa=this.getCellGeometry(la),null!=sa)){if(!(this.isTable(la)||this.isTableRow(la)||this.isTableCell(la)||this.isSwimlane(la))){sa=sa.clone();sa.x+=sa.width/2-sa.height/2;sa.y+=sa.height/2-sa.width/2;var kb=sa.width;sa.width=sa.height;sa.height=kb;Q.setGeometry(la,sa)}var cb=this.view.getState(la);if(null!=cb){var $a=[mxConstants.DIRECTION_EAST,
+mxConstants.DIRECTION_SOUTH,mxConstants.DIRECTION_WEST,mxConstants.DIRECTION_NORTH],gb=mxUtils.getValue(cb.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST);this.setCellStyles(mxConstants.STYLE_DIRECTION,$a[mxUtils.mod(mxUtils.indexOf($a,gb)+(N?-1:1),$a.length)],[la])}Y.push(la)}}}finally{Q.endUpdate()}return Y};Graph.prototype.stencilHasPlaceholders=function(u){if(null!=u&&null!=u.fgNode)for(u=u.fgNode.firstChild;null!=u;){if("text"==u.nodeName&&"1"==u.getAttribute("placeholders"))return!0;
u=u.nextSibling}return!1};var f=Graph.prototype.processChange;Graph.prototype.processChange=function(u){if(u instanceof mxGeometryChange&&(this.isTableCell(u.cell)||this.isTableRow(u.cell))&&(null==u.previous&&null!=u.geometry||null!=u.previous&&!u.previous.equals(u.geometry))){var N=u.cell;this.isTableCell(N)&&(N=this.model.getParent(N));this.isTableRow(N)&&(N=this.model.getParent(N));var Q=this.view.getState(N);null!=Q&&null!=Q.shape&&(this.view.invalidate(N),Q.shape.bounds=null)}f.apply(this,arguments);
u instanceof mxValueChange&&null!=u.cell&&null!=u.cell.value&&"object"==typeof u.cell.value&&this.invalidateDescendantsWithPlaceholders(u.cell)};Graph.prototype.invalidateDescendantsWithPlaceholders=function(u){u=this.model.getDescendants(u);if(0<u.length)for(var N=0;N<u.length;N++){var Q=this.view.getState(u[N]);null!=Q&&null!=Q.shape&&null!=Q.shape.stencil&&this.stencilHasPlaceholders(Q.shape.stencil)?this.removeStateForCell(u[N]):this.isReplacePlaceholders(u[N])&&this.view.invalidate(u[N],!1,!1)}};
Graph.prototype.replaceElement=function(u,N){N=u.ownerDocument.createElement(null!=N?N:"span");for(var Q=Array.prototype.slice.call(u.attributes);attr=Q.pop();)N.setAttribute(attr.nodeName,attr.nodeValue);N.innerHTML=u.innerHTML;u.parentNode.replaceChild(N,u)};Graph.prototype.processElements=function(u,N){if(null!=u){u=u.getElementsByTagName("*");for(var Q=0;Q<u.length;Q++)null!=u[Q]&&N(u[Q])}};Graph.prototype.updateLabelElements=function(u,N,Q){u=null!=u?u:this.getSelectionCells();for(var Y=document.createElement("div"),
-ia=0;ia<u.length;ia++){var ja=this.getCurrentCellStyle(u[ia]);if(null!=ja&&"1"==ja.html&&(ja=this.convertValueToString(u[ia]),null!=ja&&0<ja.length)){Y.innerHTML=Graph.sanitizeHtml(ja);for(var oa=Y.getElementsByTagName(null!=Q?Q:"*"),ta=0;ta<oa.length;ta++)N(oa[ta]);Y.innerHTML!=ja&&this.cellLabelChanged(u[ia],Y.innerHTML)}}};Graph.prototype.cellLabelChanged=function(u,N,Q){N=Graph.zapGremlins(N);this.model.beginUpdate();try{if(null!=u.value&&"object"==typeof u.value){if(this.isReplacePlaceholders(u)&&
-null!=u.getAttribute("placeholder"))for(var Y=u.getAttribute("placeholder"),ia=u;null!=ia;){if(ia==this.model.getRoot()||null!=ia.value&&"object"==typeof ia.value&&ia.hasAttribute(Y)){this.setAttributeForCell(ia,Y,N);break}ia=this.model.getParent(ia)}var ja=u.value.cloneNode(!0);Graph.translateDiagram&&null!=Graph.diagramLanguage&&ja.hasAttribute("label_"+Graph.diagramLanguage)?ja.setAttribute("label_"+Graph.diagramLanguage,N):ja.setAttribute("label",N);N=ja}mxGraph.prototype.cellLabelChanged.apply(this,
-arguments)}finally{this.model.endUpdate()}};Graph.prototype.cellsRemoved=function(u){if(null!=u){for(var N=new mxDictionary,Q=0;Q<u.length;Q++)N.put(u[Q],!0);var Y=[];for(Q=0;Q<u.length;Q++){var ia=this.model.getParent(u[Q]);null==ia||N.get(ia)||(N.put(ia,!0),Y.push(ia))}for(Q=0;Q<Y.length;Q++)if(ia=this.view.getState(Y[Q]),null!=ia&&(this.model.isEdge(ia.cell)||this.model.isVertex(ia.cell))&&this.isCellDeletable(ia.cell)&&this.isTransparentState(ia)){for(var ja=!0,oa=0;oa<this.model.getChildCount(ia.cell)&&
-ja;oa++)N.get(this.model.getChildAt(ia.cell,oa))||(ja=!1);ja&&u.push(ia.cell)}}mxGraph.prototype.cellsRemoved.apply(this,arguments)};Graph.prototype.removeCellsAfterUngroup=function(u){for(var N=[],Q=0;Q<u.length;Q++)this.isCellDeletable(u[Q])&&this.isTransparentState(this.view.getState(u[Q]))&&N.push(u[Q]);u=N;mxGraph.prototype.removeCellsAfterUngroup.apply(this,arguments)};Graph.prototype.setLinkForCell=function(u,N){this.setAttributeForCell(u,"link",N)};Graph.prototype.setTooltipForCell=function(u,
+ia=0;ia<u.length;ia++){var la=this.getCurrentCellStyle(u[ia]);if(null!=la&&"1"==la.html&&(la=this.convertValueToString(u[ia]),null!=la&&0<la.length)){Y.innerHTML=Graph.sanitizeHtml(la);for(var oa=Y.getElementsByTagName(null!=Q?Q:"*"),ta=0;ta<oa.length;ta++)N(oa[ta]);Y.innerHTML!=la&&this.cellLabelChanged(u[ia],Y.innerHTML)}}};Graph.prototype.cellLabelChanged=function(u,N,Q){N=Graph.zapGremlins(N);this.model.beginUpdate();try{if(null!=u.value&&"object"==typeof u.value){if(this.isReplacePlaceholders(u)&&
+null!=u.getAttribute("placeholder"))for(var Y=u.getAttribute("placeholder"),ia=u;null!=ia;){if(ia==this.model.getRoot()||null!=ia.value&&"object"==typeof ia.value&&ia.hasAttribute(Y)){this.setAttributeForCell(ia,Y,N);break}ia=this.model.getParent(ia)}var la=u.value.cloneNode(!0);Graph.translateDiagram&&null!=Graph.diagramLanguage&&la.hasAttribute("label_"+Graph.diagramLanguage)?la.setAttribute("label_"+Graph.diagramLanguage,N):la.setAttribute("label",N);N=la}mxGraph.prototype.cellLabelChanged.apply(this,
+arguments)}finally{this.model.endUpdate()}};Graph.prototype.cellsRemoved=function(u){if(null!=u){for(var N=new mxDictionary,Q=0;Q<u.length;Q++)N.put(u[Q],!0);var Y=[];for(Q=0;Q<u.length;Q++){var ia=this.model.getParent(u[Q]);null==ia||N.get(ia)||(N.put(ia,!0),Y.push(ia))}for(Q=0;Q<Y.length;Q++)if(ia=this.view.getState(Y[Q]),null!=ia&&(this.model.isEdge(ia.cell)||this.model.isVertex(ia.cell))&&this.isCellDeletable(ia.cell)&&this.isTransparentState(ia)){for(var la=!0,oa=0;oa<this.model.getChildCount(ia.cell)&&
+la;oa++)N.get(this.model.getChildAt(ia.cell,oa))||(la=!1);la&&u.push(ia.cell)}}mxGraph.prototype.cellsRemoved.apply(this,arguments)};Graph.prototype.removeCellsAfterUngroup=function(u){for(var N=[],Q=0;Q<u.length;Q++)this.isCellDeletable(u[Q])&&this.isTransparentState(this.view.getState(u[Q]))&&N.push(u[Q]);u=N;mxGraph.prototype.removeCellsAfterUngroup.apply(this,arguments)};Graph.prototype.setLinkForCell=function(u,N){this.setAttributeForCell(u,"link",N)};Graph.prototype.setTooltipForCell=function(u,
N){var Q="tooltip";Graph.translateDiagram&&null!=Graph.diagramLanguage&&mxUtils.isNode(u.value)&&u.value.hasAttribute("tooltip_"+Graph.diagramLanguage)&&(Q="tooltip_"+Graph.diagramLanguage);this.setAttributeForCell(u,Q,N)};Graph.prototype.getAttributeForCell=function(u,N,Q){u=null!=u.value&&"object"===typeof u.value?u.value.getAttribute(N):null;return null!=u?u:Q};Graph.prototype.setAttributeForCell=function(u,N,Q){if(null!=u.value&&"object"==typeof u.value)var Y=u.value.cloneNode(!0);else Y=mxUtils.createXmlDocument().createElement("UserObject"),
Y.setAttribute("label",u.value||"");null!=Q?Y.setAttribute(N,Q):Y.removeAttribute(N);this.model.setValue(u,Y)};Graph.prototype.isTargetShape=function(u,N,Q){u=mxUtils.getValue(this.getCurrentCellStyle(u),mxConstants.STYLE_SHAPE,"");for(Q=0;Q<N.length;Q++){var Y=mxUtils.getValue(this.getCurrentCellStyle(N[Q]),"targetShapes","").split(",");if(0<=mxUtils.indexOf(Y,u))return!0}return!1};var l=Graph.prototype.getDropTarget;Graph.prototype.getDropTarget=function(u,N,Q,Y){if(mxEvent.isAltDown(N))return null;
-for(var ia=0;ia<u.length;ia++){var ja=this.model.getParent(u[ia]);if(this.model.isEdge(ja)&&0>mxUtils.indexOf(u,ja))return null}ja=l.apply(this,arguments);var oa=!0;for(ia=0;ia<u.length&&oa;ia++)oa=oa&&this.isTableRow(u[ia]);oa&&(this.isTableCell(ja)&&(ja=this.model.getParent(ja)),this.isTableRow(ja)&&(ja=this.model.getParent(ja)),this.isTable(ja)||(ja=null));return ja};Graph.prototype.click=function(u){mxGraph.prototype.click.call(this,u);this.firstClickState=u.getState();this.firstClickSource=u.getSource()};
+for(var ia=0;ia<u.length;ia++){var la=this.model.getParent(u[ia]);if(this.model.isEdge(la)&&0>mxUtils.indexOf(u,la))return null}la=l.apply(this,arguments);var oa=!0;for(ia=0;ia<u.length&&oa;ia++)oa=oa&&this.isTableRow(u[ia]);oa&&(this.isTableCell(la)&&(la=this.model.getParent(la)),this.isTableRow(la)&&(la=this.model.getParent(la)),this.isTable(la)||(la=null));return la};Graph.prototype.click=function(u){mxGraph.prototype.click.call(this,u);this.firstClickState=u.getState();this.firstClickSource=u.getSource()};
Graph.prototype.dblClick=function(u,N){this.isEnabled()&&(N=this.insertTextForEvent(u,N),mxGraph.prototype.dblClick.call(this,u,N))};Graph.prototype.insertTextForEvent=function(u,N){var Q=mxUtils.convertPoint(this.container,mxEvent.getClientX(u),mxEvent.getClientY(u));if(null!=u&&!this.model.isVertex(N)){var Y=this.model.isEdge(N)?this.view.getState(N):null,ia=mxEvent.getSource(u);this.firstClickState!=Y||this.firstClickSource!=ia||null!=Y&&null!=Y.text&&null!=Y.text.node&&null!=Y.text.boundingBox&&
(mxUtils.contains(Y.text.boundingBox,Q.x,Q.y)||mxUtils.isAncestorNode(Y.text.node,mxEvent.getSource(u)))||(null!=Y||this.isCellLocked(this.getDefaultParent()))&&(null==Y||this.isCellLocked(Y.cell))||!(null!=Y||mxClient.IS_SVG&&ia==this.view.getCanvas().ownerSVGElement)||(null==Y&&(Y=this.view.getState(this.getCellAt(Q.x,Q.y))),N=this.addText(Q.x,Q.y,Y))}return N};Graph.prototype.getInsertPoint=function(){var u=this.getGridSize(),N=this.container.scrollLeft/this.view.scale-this.view.translate.x,Q=
this.container.scrollTop/this.view.scale-this.view.translate.y;if(this.pageVisible){var Y=this.getPageLayout(),ia=this.getPageSize();N=Math.max(N,Y.x*ia.width);Q=Math.max(Q,Y.y*ia.height)}return new mxPoint(this.snap(N+u),this.snap(Q+u))};Graph.prototype.getFreeInsertPoint=function(){var u=this.view,N=this.getGraphBounds(),Q=this.getInsertPoint(),Y=this.snap(Math.round(Math.max(Q.x,N.x/u.scale-u.translate.x+(0==N.width?2*this.gridSize:0))));u=this.snap(Math.round(Math.max(Q.y,(N.y+N.height)/u.scale-
u.translate.y+2*this.gridSize)));return new mxPoint(Y,u)};Graph.prototype.getCenterInsertPoint=function(u){u=null!=u?u:new mxRectangle;return mxUtils.hasScrollbars(this.container)?new mxPoint(this.snap(Math.round((this.container.scrollLeft+this.container.clientWidth/2)/this.view.scale-this.view.translate.x-u.width/2)),this.snap(Math.round((this.container.scrollTop+this.container.clientHeight/2)/this.view.scale-this.view.translate.y-u.height/2))):new mxPoint(this.snap(Math.round(this.container.clientWidth/
2/this.view.scale-this.view.translate.x-u.width/2)),this.snap(Math.round(this.container.clientHeight/2/this.view.scale-this.view.translate.y-u.height/2)))};Graph.prototype.isMouseInsertPoint=function(){return!1};Graph.prototype.appendFontSize=function(u,N){u=null!=u?u:"";null!=N&&(0<u.length&&";"!=u.charAt(u.length-1)&&(u+=";"),u+="fontSize="+N+";");return u};Graph.prototype.addText=function(u,N,Q){var Y=new mxCell;Y.value="Text";Y.geometry=new mxGeometry(0,0,0,0);Y.vertex=!0;if(null!=Q&&this.model.isEdge(Q.cell)){Y.style=
-"edgeLabel;"+this.appendFontSize("html=1;align=center;verticalAlign=middle;resizable=0;points=[];",this.edgeFontSize);Y.geometry.relative=!0;Y.connectable=!1;var ia=this.view.getRelativePoint(Q,u,N);Y.geometry.x=Math.round(1E4*ia.x)/1E4;Y.geometry.y=Math.round(ia.y);Y.geometry.offset=new mxPoint(0,0);ia=this.view.getPoint(Q,Y.geometry);var ja=this.view.scale;Y.geometry.offset=new mxPoint(Math.round((u-ia.x)/ja),Math.round((N-ia.y)/ja))}else ia=this.view.translate,Y.style="text;"+this.appendFontSize("html=1;align=center;verticalAlign=middle;resizable=0;points=[];",
+"edgeLabel;"+this.appendFontSize("html=1;align=center;verticalAlign=middle;resizable=0;points=[];",this.edgeFontSize);Y.geometry.relative=!0;Y.connectable=!1;var ia=this.view.getRelativePoint(Q,u,N);Y.geometry.x=Math.round(1E4*ia.x)/1E4;Y.geometry.y=Math.round(ia.y);Y.geometry.offset=new mxPoint(0,0);ia=this.view.getPoint(Q,Y.geometry);var la=this.view.scale;Y.geometry.offset=new mxPoint(Math.round((u-ia.x)/la),Math.round((N-ia.y)/la))}else ia=this.view.translate,Y.style="text;"+this.appendFontSize("html=1;align=center;verticalAlign=middle;resizable=0;points=[];",
this.vertexFontSize),Y.geometry.width=40,Y.geometry.height=20,Y.geometry.x=Math.round(u/this.view.scale)-ia.x-(null!=Q?Q.origin.x:0),Y.geometry.y=Math.round(N/this.view.scale)-ia.y-(null!=Q?Q.origin.y:0),Y.style+="autosize=1;";this.getModel().beginUpdate();try{this.addCells([Y],null!=Q?Q.cell:null),this.fireEvent(new mxEventObject("textInserted","cells",[Y])),this.autoSizeCell(Y)}finally{this.getModel().endUpdate()}return Y};Graph.prototype.addClickHandler=function(u,N,Q){var Y=mxUtils.bind(this,
-function(){var sa=this.container.getElementsByTagName("a");if(null!=sa)for(var xa=0;xa<sa.length;xa++){var Ca=this.getAbsoluteUrl(sa[xa].getAttribute("href"));null!=Ca&&(sa[xa].setAttribute("rel",this.linkRelation),sa[xa].setAttribute("href",Ca),null!=N&&mxEvent.addGestureListeners(sa[xa],null,null,N))}});this.model.addListener(mxEvent.CHANGE,Y);Y();var ia=this.container.style.cursor,ja=this.getTolerance(),oa=this,ta={currentState:null,currentLink:null,currentTarget:null,highlight:null!=u&&""!=u&&
-u!=mxConstants.NONE?new mxCellHighlight(oa,u,4):null,startX:0,startY:0,scrollLeft:0,scrollTop:0,updateCurrentState:function(sa){var xa=sa.sourceState;if(null==xa||null==oa.getLinkForCell(xa.cell))sa=oa.getCellAt(sa.getGraphX(),sa.getGraphY(),null,null,null,function(Ca,Oa,Wa){return null==oa.getLinkForCell(Ca.cell)}),xa=null==xa||oa.model.isAncestor(sa,xa.cell)?oa.view.getState(sa):null;xa!=this.currentState&&(null!=this.currentState&&this.clear(),this.currentState=xa,null!=this.currentState&&this.activate(this.currentState))},
-mouseDown:function(sa,xa){this.startX=xa.getGraphX();this.startY=xa.getGraphY();this.scrollLeft=oa.container.scrollLeft;this.scrollTop=oa.container.scrollTop;null==this.currentLink&&"auto"==oa.container.style.overflow&&(oa.container.style.cursor="move");this.updateCurrentState(xa)},mouseMove:function(sa,xa){if(oa.isMouseDown)null!=this.currentLink&&(sa=Math.abs(this.startX-xa.getGraphX()),xa=Math.abs(this.startY-xa.getGraphY()),(sa>ja||xa>ja)&&this.clear());else{for(sa=xa.getSource();null!=sa&&"a"!=
-sa.nodeName.toLowerCase();)sa=sa.parentNode;null!=sa?this.clear():(null!=oa.tooltipHandler&&null!=this.currentLink&&null!=this.currentState&&oa.tooltipHandler.reset(xa,!0,this.currentState),(null==this.currentState||xa.getState()!=this.currentState&&null!=xa.sourceState||!oa.intersects(this.currentState,xa.getGraphX(),xa.getGraphY()))&&this.updateCurrentState(xa))}},mouseUp:function(sa,xa){var Ca=xa.getSource();for(sa=xa.getEvent();null!=Ca&&"a"!=Ca.nodeName.toLowerCase();)Ca=Ca.parentNode;null==
-Ca&&Math.abs(this.scrollLeft-oa.container.scrollLeft)<ja&&Math.abs(this.scrollTop-oa.container.scrollTop)<ja&&(null==xa.sourceState||!xa.isSource(xa.sourceState.control))&&((mxEvent.isLeftMouseButton(sa)||mxEvent.isMiddleMouseButton(sa))&&!mxEvent.isPopupTrigger(sa)||mxEvent.isTouchEvent(sa))&&(null!=this.currentLink?(Ca=oa.isBlankLink(this.currentLink),"data:"!==this.currentLink.substring(0,5)&&Ca||null==N||N(sa,this.currentLink,null!=this.currentState?this.currentState.cell:null),mxEvent.isConsumed(sa)||
-(sa=null!=this.currentTarget?this.currentTarget:mxEvent.isMiddleMouseButton(sa)?"_blank":Ca?oa.linkTarget:"_top",oa.openLink(this.currentLink,sa),xa.consume())):null!=Q&&!xa.isConsumed()&&Math.abs(this.scrollLeft-oa.container.scrollLeft)<ja&&Math.abs(this.scrollTop-oa.container.scrollTop)<ja&&Math.abs(this.startX-xa.getGraphX())<ja&&Math.abs(this.startY-xa.getGraphY())<ja&&Q(xa.getEvent()));this.clear()},activate:function(sa){this.currentLink=oa.getAbsoluteUrl(oa.getLinkForCell(sa.cell));null!=this.currentLink&&
+function(){var sa=this.container.getElementsByTagName("a");if(null!=sa)for(var ya=0;ya<sa.length;ya++){var Ha=this.getAbsoluteUrl(sa[ya].getAttribute("href"));null!=Ha&&(sa[ya].setAttribute("rel",this.linkRelation),sa[ya].setAttribute("href",Ha),null!=N&&mxEvent.addGestureListeners(sa[ya],null,null,N))}});this.model.addListener(mxEvent.CHANGE,Y);Y();var ia=this.container.style.cursor,la=this.getTolerance(),oa=this,ta={currentState:null,currentLink:null,currentTarget:null,highlight:null!=u&&""!=u&&
+u!=mxConstants.NONE?new mxCellHighlight(oa,u,4):null,startX:0,startY:0,scrollLeft:0,scrollTop:0,updateCurrentState:function(sa){var ya=sa.sourceState;if(null==ya||null==oa.getLinkForCell(ya.cell))sa=oa.getCellAt(sa.getGraphX(),sa.getGraphY(),null,null,null,function(Ha,Oa,Wa){return null==oa.getLinkForCell(Ha.cell)}),ya=null==ya||oa.model.isAncestor(sa,ya.cell)?oa.view.getState(sa):null;ya!=this.currentState&&(null!=this.currentState&&this.clear(),this.currentState=ya,null!=this.currentState&&this.activate(this.currentState))},
+mouseDown:function(sa,ya){this.startX=ya.getGraphX();this.startY=ya.getGraphY();this.scrollLeft=oa.container.scrollLeft;this.scrollTop=oa.container.scrollTop;null==this.currentLink&&"auto"==oa.container.style.overflow&&(oa.container.style.cursor="move");this.updateCurrentState(ya)},mouseMove:function(sa,ya){if(oa.isMouseDown)null!=this.currentLink&&(sa=Math.abs(this.startX-ya.getGraphX()),ya=Math.abs(this.startY-ya.getGraphY()),(sa>la||ya>la)&&this.clear());else{for(sa=ya.getSource();null!=sa&&"a"!=
+sa.nodeName.toLowerCase();)sa=sa.parentNode;null!=sa?this.clear():(null!=oa.tooltipHandler&&null!=this.currentLink&&null!=this.currentState&&oa.tooltipHandler.reset(ya,!0,this.currentState),(null==this.currentState||ya.getState()!=this.currentState&&null!=ya.sourceState||!oa.intersects(this.currentState,ya.getGraphX(),ya.getGraphY()))&&this.updateCurrentState(ya))}},mouseUp:function(sa,ya){var Ha=ya.getSource();for(sa=ya.getEvent();null!=Ha&&"a"!=Ha.nodeName.toLowerCase();)Ha=Ha.parentNode;null==
+Ha&&Math.abs(this.scrollLeft-oa.container.scrollLeft)<la&&Math.abs(this.scrollTop-oa.container.scrollTop)<la&&(null==ya.sourceState||!ya.isSource(ya.sourceState.control))&&((mxEvent.isLeftMouseButton(sa)||mxEvent.isMiddleMouseButton(sa))&&!mxEvent.isPopupTrigger(sa)||mxEvent.isTouchEvent(sa))&&(null!=this.currentLink?(Ha=oa.isBlankLink(this.currentLink),"data:"!==this.currentLink.substring(0,5)&&Ha||null==N||N(sa,this.currentLink,null!=this.currentState?this.currentState.cell:null),mxEvent.isConsumed(sa)||
+(sa=null!=this.currentTarget?this.currentTarget:mxEvent.isMiddleMouseButton(sa)?"_blank":Ha?oa.linkTarget:"_top",oa.openLink(this.currentLink,sa),ya.consume())):null!=Q&&!ya.isConsumed()&&Math.abs(this.scrollLeft-oa.container.scrollLeft)<la&&Math.abs(this.scrollTop-oa.container.scrollTop)<la&&Math.abs(this.startX-ya.getGraphX())<la&&Math.abs(this.startY-ya.getGraphY())<la&&Q(ya.getEvent()));this.clear()},activate:function(sa){this.currentLink=oa.getAbsoluteUrl(oa.getLinkForCell(sa.cell));null!=this.currentLink&&
(this.currentTarget=oa.getLinkTargetForCell(sa.cell),oa.container.style.cursor="pointer",null!=this.highlight&&this.highlight.highlight(sa))},clear:function(){null!=oa.container&&(oa.container.style.cursor=ia);this.currentLink=this.currentState=this.currentTarget=null;null!=this.highlight&&this.highlight.hide();null!=oa.tooltipHandler&&oa.tooltipHandler.hide()}};oa.click=function(sa){};oa.addMouseListener(ta);mxEvent.addListener(document,"mouseleave",function(sa){ta.clear()})};Graph.prototype.duplicateCells=
-function(u,N){u=null!=u?u:this.getSelectionCells();N=null!=N?N:!0;for(var Q=0;Q<u.length;Q++)this.isTableCell(u[Q])&&(u[Q]=this.model.getParent(u[Q]));u=this.model.getTopmostCells(u);var Y=this.getModel(),ia=this.gridSize,ja=[];Y.beginUpdate();try{var oa={},ta=this.createCellLookup(u),sa=this.cloneCells(u,!1,oa,!0);for(Q=0;Q<u.length;Q++){var xa=Y.getParent(u[Q]);if(null!=xa){var Ca=this.moveCells([sa[Q]],ia,ia,!1)[0];ja.push(Ca);if(N)Y.add(xa,sa[Q]);else{var Oa=xa.getIndex(u[Q]);Y.add(xa,sa[Q],Oa+
-1)}if(this.isTable(xa)){var Wa=this.getCellGeometry(sa[Q]),Za=this.getCellGeometry(xa);null!=Wa&&null!=Za&&(Za=Za.clone(),Za.height+=Wa.height,Y.setGeometry(xa,Za))}}else ja.push(sa[Q])}this.updateCustomLinks(this.createCellMapping(oa,ta),sa,this);this.fireEvent(new mxEventObject(mxEvent.CELLS_ADDED,"cells",sa))}finally{Y.endUpdate()}return ja};Graph.prototype.insertImage=function(u,N,Q){if(null!=u&&null!=this.cellEditor.textarea){for(var Y=this.cellEditor.textarea.getElementsByTagName("img"),ia=
-[],ja=0;ja<Y.length;ja++)ia.push(Y[ja]);document.execCommand("insertimage",!1,u);u=this.cellEditor.textarea.getElementsByTagName("img");if(u.length==ia.length+1)for(ja=u.length-1;0<=ja;ja--)if(0==ja||u[ja]!=ia[ja-1]){u[ja].setAttribute("width",N);u[ja].setAttribute("height",Q);break}}};Graph.prototype.insertLink=function(u){if(null!=this.cellEditor.textarea)if(0==u.length)document.execCommand("unlink",!1);else if(mxClient.IS_FF){for(var N=this.cellEditor.textarea.getElementsByTagName("a"),Q=[],Y=
+function(u,N){u=null!=u?u:this.getSelectionCells();N=null!=N?N:!0;for(var Q=0;Q<u.length;Q++)this.isTableCell(u[Q])&&(u[Q]=this.model.getParent(u[Q]));u=this.model.getTopmostCells(u);var Y=this.getModel(),ia=this.gridSize,la=[];Y.beginUpdate();try{var oa={},ta=this.createCellLookup(u),sa=this.cloneCells(u,!1,oa,!0);for(Q=0;Q<u.length;Q++){var ya=Y.getParent(u[Q]);if(null!=ya){var Ha=this.moveCells([sa[Q]],ia,ia,!1)[0];la.push(Ha);if(N)Y.add(ya,sa[Q]);else{var Oa=ya.getIndex(u[Q]);Y.add(ya,sa[Q],Oa+
+1)}if(this.isTable(ya)){var Wa=this.getCellGeometry(sa[Q]),Za=this.getCellGeometry(ya);null!=Wa&&null!=Za&&(Za=Za.clone(),Za.height+=Wa.height,Y.setGeometry(ya,Za))}}else la.push(sa[Q])}this.updateCustomLinks(this.createCellMapping(oa,ta),sa,this);this.fireEvent(new mxEventObject(mxEvent.CELLS_ADDED,"cells",sa))}finally{Y.endUpdate()}return la};Graph.prototype.insertImage=function(u,N,Q){if(null!=u&&null!=this.cellEditor.textarea){for(var Y=this.cellEditor.textarea.getElementsByTagName("img"),ia=
+[],la=0;la<Y.length;la++)ia.push(Y[la]);document.execCommand("insertimage",!1,u);u=this.cellEditor.textarea.getElementsByTagName("img");if(u.length==ia.length+1)for(la=u.length-1;0<=la;la--)if(0==la||u[la]!=ia[la-1]){u[la].setAttribute("width",N);u[la].setAttribute("height",Q);break}}};Graph.prototype.insertLink=function(u){if(null!=this.cellEditor.textarea)if(0==u.length)document.execCommand("unlink",!1);else if(mxClient.IS_FF){for(var N=this.cellEditor.textarea.getElementsByTagName("a"),Q=[],Y=
0;Y<N.length;Y++)Q.push(N[Y]);document.execCommand("createlink",!1,mxUtils.trim(u));N=this.cellEditor.textarea.getElementsByTagName("a");if(N.length==Q.length+1)for(Y=N.length-1;0<=Y;Y--)if(N[Y]!=Q[Y-1]){for(N=N[Y].getElementsByTagName("a");0<N.length;){for(Q=N[0].parentNode;null!=N[0].firstChild;)Q.insertBefore(N[0].firstChild,N[0]);Q.removeChild(N[0])}break}}else document.execCommand("createlink",!1,mxUtils.trim(u))};Graph.prototype.isCellResizable=function(u){var N=mxGraph.prototype.isCellResizable.apply(this,
-arguments),Q=this.getCurrentCellStyle(u);return!this.isTableCell(u)&&!this.isTableRow(u)&&(N||"0"!=mxUtils.getValue(Q,mxConstants.STYLE_RESIZABLE,"1")&&"wrap"==Q[mxConstants.STYLE_WHITE_SPACE])};Graph.prototype.distributeCells=function(u,N,Q){null==N&&(N=this.getSelectionCells());if(null!=N&&1<N.length){for(var Y=[],ia=null,ja=null,oa=0,ta=0;ta<N.length;ta++)if(this.getModel().isVertex(N[ta])){var sa=this.view.getState(N[ta]);if(null!=sa){var xa=u?sa.getCenterX():sa.getCenterY();ia=null!=ia?Math.max(ia,
-xa):xa;ja=null!=ja?Math.min(ja,xa):xa;Q&&(oa+=u?sa.width:sa.height);Y.push(sa)}}if(2<Y.length){Y.sort(function(ab,Ta){return u?ab.x-Ta.x:ab.y-Ta.y});Q&&(oa-=u?Y[0].width/2+Y[Y.length-1].width/2:Y[0].height/2+Y[Y.length-1].height/2);sa=this.view.translate;xa=this.view.scale;ja=ja/xa-(u?sa.x:sa.y);ia=ia/xa-(u?sa.x:sa.y);this.getModel().beginUpdate();try{var Ca=(ia-ja-oa)/(Y.length-1),Oa=ja+(Q?u?Y[0].width/2:Y[0].height/2:0);for(ta=1;ta<Y.length-1;ta++){var Wa=this.view.getState(this.model.getParent(Y[ta].cell)),
-Za=this.getCellGeometry(Y[ta].cell);Oa+=Ca;null!=Za&&null!=Wa&&(Za=Za.clone(),u?Za.x=Math.round(Oa-(Q?0:Za.width/2))-Wa.origin.x:Za.y=Math.round(Oa-(Q?0:Za.height/2))-Wa.origin.y,this.getModel().setGeometry(Y[ta].cell,Za));Q&&(Oa+=u?Y[ta].width:Y[ta].height)}}finally{this.getModel().endUpdate()}}}return N};Graph.prototype.isCloneEvent=function(u){return mxClient.IS_MAC&&mxEvent.isMetaDown(u)||mxEvent.isControlDown(u)};Graph.prototype.createSvgImageExport=function(){var u=new mxImageExport;u.addCellData=
-function(Q,Y,ia){Y.setAttribute("data-cell-id",Q.id);if(ia)if(mxUtils.isNode(Q.value))for(ia=0;ia<Q.value.attributes.length;ia++){var ja=Q.value.attributes[ia];Y.setAttribute("data-cell-"+ja.name,ja.value)}else if("object"===typeof Q.value)for(ja in Q.value)Y.setAttribute("data-cell-"+ja,Q.value[ja]);else null!=Q.value&&Y.setAttribute("data-cell-value",Q.value);return Y};var N=u.visitStatesRecursive;u.visitStatesRecursive=function(Q,Y,ia){if(null!=Q){var ja=Y.root,oa=Y.root.ownerDocument;Y.root=this.addCellData(Q.cell,
-null!=oa.createElementNS?oa.createElementNS(mxConstants.NS_SVG,"g"):oa.createElement("g"),Editor.addSvgMetadata);ja.appendChild(Y.root);N.apply(this,arguments);Y.root=ja}};u.getLinkForCellState=mxUtils.bind(this,function(Q,Y){return this.getLinkForCell(Q.cell)});u.getTitleForCellState=mxUtils.bind(this,function(Q,Y){return Editor.convertHtmlToText(this.convertValueToTooltip(Q.cell))});return u};Graph.prototype.parseBackgroundImage=function(u){var N=null;null!=u&&0<u.length&&(u=JSON.parse(u),N=new mxImage(u.src,
-u.width,u.height));return N};Graph.prototype.getBackgroundImageObject=function(u){return u};Graph.prototype.getSvg=function(u,N,Q,Y,ia,ja,oa,ta,sa,xa,Ca,Oa,Wa,Za,ab,Ta){var Pa=null;if(null!=Za)for(Pa=new mxDictionary,Ca=0;Ca<Za.length;Ca++)Pa.put(Za[Ca],!0);Za=this.useCssTransforms;var kb=this.enableFlowAnimation;this.enableFlowAnimation=!1;Za&&(this.useCssTransforms=!1,this.view.revalidate(),this.sizeDidChange());try{N=null!=N?N:1;Q=null!=Q?Q:0;ia=null!=ia?ia:!0;ja=null!=ja?ja:!0;oa=null!=oa?oa:
-!0;xa=null!=xa?xa:!1;var cb="page"==Wa?this.view.getBackgroundPageBounds():ja&&null==Pa||Y||"diagram"==Wa?this.getGraphBounds():this.getBoundingBox(this.getSelectionCells()),$a=this.backgroundImage,gb=this.view.translate,ib=this.view.scale;"diagram"==Wa&&null!=$a&&null!=$a.width&&null!=$a.height&&(cb=mxRectangle.fromRectangle(cb),cb.add(new mxRectangle((gb.x+$a.x)*ib,(gb.y+$a.y)*ib,$a.width*ib,$a.height*ib)));if(null==cb)throw Error(mxResources.get("drawingEmpty"));Y=u;null!=Y&&"dark"==Oa&&Editor.enableCssDarkMode&&
-(Y=Graph.invertColor(u));Oa=N/ib;Wa=ia?-.5:0;var mb=Graph.createSvgNode(Wa,Wa,Math.max(1,Math.ceil(cb.width*Oa)+2*Q)+(xa&&0==Q?5:0),Math.max(1,Math.ceil(cb.height*Oa)+2*Q)+(xa&&0==Q?5:0),Y),vb=mb.ownerDocument;if(null!=u){var jb=mxUtils.createElementNs(vb,mxConstants.NS_SVG,"rect");jb.setAttribute("fill",u);jb.setAttribute("width","100%");jb.setAttribute("height","100%");jb.setAttribute("x","0");jb.setAttribute("y","0");mb.appendChild(jb)}var qb=mxUtils.createElementNs(vb,mxConstants.NS_SVG,"g");
+arguments),Q=this.getCurrentCellStyle(u);return!this.isTableCell(u)&&!this.isTableRow(u)&&(N||"0"!=mxUtils.getValue(Q,mxConstants.STYLE_RESIZABLE,"1")&&"wrap"==Q[mxConstants.STYLE_WHITE_SPACE])};Graph.prototype.distributeCells=function(u,N,Q){null==N&&(N=this.getSelectionCells());if(null!=N&&1<N.length){for(var Y=[],ia=null,la=null,oa=0,ta=0;ta<N.length;ta++)if(this.getModel().isVertex(N[ta])){var sa=this.view.getState(N[ta]);if(null!=sa){var ya=u?sa.getCenterX():sa.getCenterY();ia=null!=ia?Math.max(ia,
+ya):ya;la=null!=la?Math.min(la,ya):ya;Q&&(oa+=u?sa.width:sa.height);Y.push(sa)}}if(2<Y.length){Y.sort(function(ab,Ta){return u?ab.x-Ta.x:ab.y-Ta.y});Q&&(oa-=u?Y[0].width/2+Y[Y.length-1].width/2:Y[0].height/2+Y[Y.length-1].height/2);sa=this.view.translate;ya=this.view.scale;la=la/ya-(u?sa.x:sa.y);ia=ia/ya-(u?sa.x:sa.y);this.getModel().beginUpdate();try{var Ha=(ia-la-oa)/(Y.length-1),Oa=la+(Q?u?Y[0].width/2:Y[0].height/2:0);for(ta=1;ta<Y.length-1;ta++){var Wa=this.view.getState(this.model.getParent(Y[ta].cell)),
+Za=this.getCellGeometry(Y[ta].cell);Oa+=Ha;null!=Za&&null!=Wa&&(Za=Za.clone(),u?Za.x=Math.round(Oa-(Q?0:Za.width/2))-Wa.origin.x:Za.y=Math.round(Oa-(Q?0:Za.height/2))-Wa.origin.y,this.getModel().setGeometry(Y[ta].cell,Za));Q&&(Oa+=u?Y[ta].width:Y[ta].height)}}finally{this.getModel().endUpdate()}}}return N};Graph.prototype.isCloneEvent=function(u){return mxClient.IS_MAC&&mxEvent.isMetaDown(u)||mxEvent.isControlDown(u)};Graph.prototype.createSvgImageExport=function(){var u=new mxImageExport;u.addCellData=
+function(Q,Y,ia){Y.setAttribute("data-cell-id",Q.id);if(ia)if(mxUtils.isNode(Q.value))for(ia=0;ia<Q.value.attributes.length;ia++){var la=Q.value.attributes[ia];Y.setAttribute("data-cell-"+la.name,la.value)}else if("object"===typeof Q.value)for(la in Q.value)Y.setAttribute("data-cell-"+la,Q.value[la]);else null!=Q.value&&Y.setAttribute("data-cell-value",Q.value);return Y};var N=u.visitStatesRecursive;u.visitStatesRecursive=function(Q,Y,ia){if(null!=Q){var la=Y.root,oa=Y.root.ownerDocument;Y.root=this.addCellData(Q.cell,
+null!=oa.createElementNS?oa.createElementNS(mxConstants.NS_SVG,"g"):oa.createElement("g"),Editor.addSvgMetadata);la.appendChild(Y.root);N.apply(this,arguments);Y.root=la}};u.getLinkForCellState=mxUtils.bind(this,function(Q,Y){return this.getLinkForCell(Q.cell)});u.getTitleForCellState=mxUtils.bind(this,function(Q,Y){return Editor.convertHtmlToText(this.convertValueToTooltip(Q.cell))});return u};Graph.prototype.parseBackgroundImage=function(u){var N=null;null!=u&&0<u.length&&(u=JSON.parse(u),N=new mxImage(u.src,
+u.width,u.height));return N};Graph.prototype.getBackgroundImageObject=function(u){return u};Graph.prototype.getSvg=function(u,N,Q,Y,ia,la,oa,ta,sa,ya,Ha,Oa,Wa,Za,ab,Ta){var Pa=null;if(null!=Za)for(Pa=new mxDictionary,Ha=0;Ha<Za.length;Ha++)Pa.put(Za[Ha],!0);Za=this.useCssTransforms;var kb=this.enableFlowAnimation;this.enableFlowAnimation=!1;Za&&(this.useCssTransforms=!1,this.view.revalidate(),this.sizeDidChange());try{N=null!=N?N:1;Q=null!=Q?Q:0;ia=null!=ia?ia:!0;la=null!=la?la:!0;oa=null!=oa?oa:
+!0;ya=null!=ya?ya:!1;var cb="page"==Wa?this.view.getBackgroundPageBounds():la&&null==Pa||Y||"diagram"==Wa?this.getGraphBounds():this.getBoundingBox(this.getSelectionCells()),$a=this.backgroundImage,gb=this.view.translate,ib=this.view.scale;"diagram"==Wa&&null!=$a&&null!=$a.width&&null!=$a.height&&(cb=mxRectangle.fromRectangle(cb),cb.add(new mxRectangle((gb.x+$a.x)*ib,(gb.y+$a.y)*ib,$a.width*ib,$a.height*ib)));if(null==cb)throw Error(mxResources.get("drawingEmpty"));Y=u;null!=Y&&"dark"==Oa&&Editor.enableCssDarkMode&&
+(Y=Graph.invertColor(u));Oa=N/ib;Wa=ia?-.5:0;var mb=Graph.createSvgNode(Wa,Wa,Math.max(1,Math.ceil(cb.width*Oa)+2*Q)+(ya&&0==Q?5:0),Math.max(1,Math.ceil(cb.height*Oa)+2*Q)+(ya&&0==Q?5:0),Y),vb=mb.ownerDocument;if(null!=u){var jb=mxUtils.createElementNs(vb,mxConstants.NS_SVG,"rect");jb.setAttribute("fill",u);jb.setAttribute("width","100%");jb.setAttribute("height","100%");jb.setAttribute("x","0");jb.setAttribute("y","0");mb.appendChild(jb)}var qb=mxUtils.createElementNs(vb,mxConstants.NS_SVG,"g");
mb.appendChild(qb);var eb=this.createSvgCanvas(qb);eb.foOffset=ia?-.5:0;eb.textOffset=ia?-.5:0;eb.imageOffset=ia?-.5:0;eb.translate(Math.floor(Q/N-cb.x/ib),Math.floor(Q/N-cb.y/ib));var rb=document.createElement("div"),ub=eb.getAlternateText;eb.getAlternateText=function(fb,tb,db,xb,yb,ob,zb,Ab,Bb,Db,d,m,y){if(null!=ob&&0<this.state.fontSize)try{mxUtils.isNode(ob)?ob=ob.innerText:(rb.innerHTML=ob,ob=mxUtils.extractTextWithWhitespace(rb.childNodes));for(var p=Math.ceil(2*xb/this.state.fontSize),x=[],
D=0,E=0;(0==p||D<p)&&E<ob.length;){var ha=ob.charCodeAt(E);if(10==ha||13==ha){if(0<D)break}else x.push(ob.charAt(E)),255>ha&&D++;E++}x.length<ob.length&&1<ob.length-x.length&&(ob=mxUtils.trim(x.join(""))+"...");return ob}catch(M){return ub.apply(this,arguments)}else return ub.apply(this,arguments)};null!=$a&&null!=$a.width&&null!=$a.height&&(u=ib/N,Wa=new mxRectangle(($a.x+gb.x)*u,($a.y+gb.y)*u,$a.width*u,$a.height*u),mxUtils.intersects(cb,Wa)&&eb.image($a.x+gb.x,$a.y+gb.y,$a.width,$a.height,$a.src,
!0));eb.scale(Oa);eb.textEnabled=oa;ta=null!=ta?ta:this.createSvgImageExport();var lb=ta.getLinkForCellState;ta.getLinkForCellState=function(fb,tb){var db=fb.view.graph.getAbsoluteUrl(lb.apply(this,arguments));return null==db||fb.view.graph.isCustomLink(db)?null:db};ta.getLinkTargetForCellState=function(fb,tb){return fb.view.graph.getLinkTargetForCell(fb.cell)};var nb=ta.drawCellState,sb=null,pb=mxUtils.bind(this,function(){if(null==sb){sb="ge-flow-animation-"+Editor.guid();var fb=null!=vb.createElementNS?
-vb.createElementNS(mxConstants.NS_SVG,"style"):vb.createElement("style");fb.innerHTML=this.createFlowAnimationCss(sb);vb.getElementsByTagName("defs")[0].appendChild(fb)}return sb});ta.drawCellState=function(fb,tb){for(var db=fb.view.graph,xb=null!=Pa?Pa.get(fb.cell):db.isCellSelected(fb.cell),yb=db.model.getParent(fb.cell);!(ja&&null==Pa||xb)&&null!=yb;)xb=null!=Pa?Pa.get(yb):db.isCellSelected(yb),yb=db.model.getParent(yb);if(null!=fb.shape)try{var ob=fb.shape.isFlowAnimationEnabled,zb=fb.shape.addFlowAnimationToShape;
-fb.shape.isFlowAnimationEnabled=function(){return kb&&db.model.isEdge(fb.cell)&&"1"==mxUtils.getValue(fb.style,"flowAnimation","0")};fb.shape.addFlowAnimationToShape=function(){db.addFlowAnimationToNode(this.getFlowAnimationPath(),fb.style,N,pb())};if(ja&&null==Pa||xb)db.view.redrawEnumerationState(fb),nb.apply(this,arguments),this.doDrawShape(fb.secondLabel,tb)}finally{fb.shape.isFlowAnimationEnabled=ob,fb.shape.addFlowAnimationToShape=zb}};var wb=null!=this.view.currentRoot?this.view.currentRoot:
+vb.createElementNS(mxConstants.NS_SVG,"style"):vb.createElement("style");fb.innerHTML=this.createFlowAnimationCss(sb);vb.getElementsByTagName("defs")[0].appendChild(fb)}return sb});ta.drawCellState=function(fb,tb){for(var db=fb.view.graph,xb=null!=Pa?Pa.get(fb.cell):db.isCellSelected(fb.cell),yb=db.model.getParent(fb.cell);!(la&&null==Pa||xb)&&null!=yb;)xb=null!=Pa?Pa.get(yb):db.isCellSelected(yb),yb=db.model.getParent(yb);if(null!=fb.shape)try{var ob=fb.shape.isFlowAnimationEnabled,zb=fb.shape.addFlowAnimationToShape;
+fb.shape.isFlowAnimationEnabled=function(){return kb&&db.model.isEdge(fb.cell)&&"1"==mxUtils.getValue(fb.style,"flowAnimation","0")};fb.shape.addFlowAnimationToShape=function(){db.addFlowAnimationToNode(this.getFlowAnimationPath(),fb.style,N,pb())};if(la&&null==Pa||xb)db.view.redrawEnumerationState(fb),nb.apply(this,arguments),this.doDrawShape(fb.secondLabel,tb)}finally{fb.shape.isFlowAnimationEnabled=ob,fb.shape.addFlowAnimationToShape=zb}};var wb=null!=this.view.currentRoot?this.view.currentRoot:
this.model.root;ta.drawState(this.getView().getState(wb),eb);this.addForeignObjectWarning(eb,mb);Ta?this.disableSvgLinks(mb):this.updateSvgLinks(mb,sa,!0);return mb}finally{this.enableFlowAnimation=kb,Za&&(this.useCssTransforms=!0,this.view.revalidate(),this.sizeDidChange())}};Graph.prototype.addForeignObjectWarning=function(u,N){if("0"!=urlParams["svg-warning"]&&0<N.getElementsByTagName("foreignObject").length){var Q=u.createElement("switch"),Y=u.createElement("g");Y.setAttribute("requiredFeatures",
"http://www.w3.org/TR/SVG11/feature#Extensibility");var ia=u.createElement("a");ia.setAttribute("transform","translate(0,-5)");null==ia.setAttributeNS||N.ownerDocument!=document&&null==document.documentMode?(ia.setAttribute("xlink:href",Graph.foreignObjectWarningLink),ia.setAttribute("target","_blank")):(ia.setAttributeNS(mxConstants.NS_XLINK,"xlink:href",Graph.foreignObjectWarningLink),ia.setAttributeNS(mxConstants.NS_XLINK,"target","_blank"));u=u.createElement("text");u.setAttribute("text-anchor",
"middle");u.setAttribute("font-size","10px");u.setAttribute("x","50%");u.setAttribute("y","100%");mxUtils.write(u,Graph.foreignObjectWarningText);Q.appendChild(Y);ia.appendChild(u);Q.appendChild(ia);N.appendChild(Q)}};Graph.prototype.disableSvgLinks=function(u,N){u=u.getElementsByTagName("a");for(var Q=0;Q<u.length;Q++){var Y=u[Q].getAttribute("href");null==Y&&(Y=u[Q].getAttribute("xlink:href"));null!=Y&&(u[Q].style.pointerEvents="none",u[Q].setAttribute("href",""));N&&N(u[Q])}};Graph.prototype.updateSvgLinks=
-function(u,N,Q){u=u.getElementsByTagName("a");for(var Y=0;Y<u.length;Y++)if(null==u[Y].getAttribute("target")){var ia=u[Y].getAttribute("href");null==ia&&(ia=u[Y].getAttribute("xlink:href"));null!=ia&&(null!=N&&/^https?:\/\//.test(ia)?u[Y].setAttribute("target",N):Q&&this.isCustomLink(ia)&&u[Y].setAttribute("href","javascript:void(0);"))}};Graph.prototype.createSvgCanvas=function(u){u=new mxSvgCanvas2D(u);u.minStrokeWidth=this.cellRenderer.minSvgStrokeWidth;u.pointerEvents=!0;return u};Graph.prototype.getSelectedTextBlocks=
-function(){function u(oa){if(oa.firstChild)return oa.firstChild;for(;oa;){if(oa.nextSibling)return oa.nextSibling;oa=oa.parentNode}}function N(oa){var ta=oa.startContainer,sa=oa.endContainer;oa=oa.commonAncestorContainer;var xa=[],Ca;for(Ca=ta.parentNode;Ca&&(xa.push(Ca),Ca!=oa);Ca=Ca.parentNode);xa.reverse();for(Ca=ta;Ca&&(xa.push(Ca),Ca!=sa);Ca=u(Ca));return xa}var Q=[this.getSelectedElement()];if(window.getSelection){var Y=window.getSelection();Y.getRangeAt&&Y.rangeCount&&(Q=N(Y.getRangeAt(0)))}Y=
-[];for(var ia=0;ia<Q.length;ia++)for(var ja=Q[ia];null!=this.cellEditor.textarea&&this.cellEditor.textarea.contains(ja)&&ja!=this.cellEditor.textarea&&null!=ja.parentNode;)if(ja.nodeType==mxConstants.NODETYPE_ELEMENT&&"block"==mxUtils.getCurrentStyle(ja).display){0>mxUtils.indexOf(Y,ja)&&Y.push(ja);break}else ja=ja.parentNode;return Y};Graph.prototype.getSelectedElement=function(){var u=null;if(window.getSelection){var N=window.getSelection();N.getRangeAt&&N.rangeCount&&(u=N.getRangeAt(0).commonAncestorContainer)}else document.selection&&
-(u=document.selection.createRange().parentElement());return u};Graph.prototype.getSelectedEditingElement=function(){for(var u=this.getSelectedElement();null!=u&&u.nodeType!=mxConstants.NODETYPE_ELEMENT;)u=u.parentNode;null!=u&&u==this.cellEditor.textarea&&1==this.cellEditor.textarea.children.length&&this.cellEditor.textarea.firstChild.nodeType==mxConstants.NODETYPE_ELEMENT&&(u=this.cellEditor.textarea.firstChild);return u};Graph.prototype.getParentByName=function(u,N,Q){for(;null!=u&&u.nodeName!=
-N;){if(u==Q)return null;u=u.parentNode}return u};Graph.prototype.getParentByNames=function(u,N,Q){for(;null!=u&&!(0<=mxUtils.indexOf(N,u.nodeName));){if(u==Q)return null;u=u.parentNode}return u};Graph.prototype.selectNode=function(u){var N=null;if(window.getSelection){if(N=window.getSelection(),N.getRangeAt&&N.rangeCount){var Q=document.createRange();Q.selectNode(u);N.removeAllRanges();N.addRange(Q)}}else(N=document.selection)&&"Control"!=N.type&&(u=N.createRange(),u.collapse(!0),Q=N.createRange(),
-Q.setEndPoint("StartToStart",u),Q.select())};Graph.prototype.flipEdgePoints=function(u,N,Q){var Y=this.getCellGeometry(u);if(null!=Y){Y=Y.clone();if(null!=Y.points)for(var ia=0;ia<Y.points.length;ia++)N?Y.points[ia].x=Q+(Q-Y.points[ia].x):Y.points[ia].y=Q+(Q-Y.points[ia].y);ia=function(ja){null!=ja&&(N?ja.x=Q+(Q-ja.x):ja.y=Q+(Q-ja.y))};ia(Y.getTerminalPoint(!0));ia(Y.getTerminalPoint(!1));this.model.setGeometry(u,Y)}};Graph.prototype.flipChildren=function(u,N,Q){this.model.beginUpdate();try{for(var Y=
-this.model.getChildCount(u),ia=0;ia<Y;ia++){var ja=this.model.getChildAt(u,ia);if(this.model.isEdge(ja))this.flipEdgePoints(ja,N,Q);else{var oa=this.getCellGeometry(ja);null!=oa&&(oa=oa.clone(),N?oa.x=Q+(Q-oa.x-oa.width):oa.y=Q+(Q-oa.y-oa.height),this.model.setGeometry(ja,oa))}}}finally{this.model.endUpdate()}};Graph.prototype.flipCells=function(u,N){this.model.beginUpdate();try{u=this.model.getTopmostCells(u);for(var Q=[],Y=0;Y<u.length;Y++)if(this.model.isEdge(u[Y])){var ia=this.view.getState(u[Y]);
-null!=ia&&this.flipEdgePoints(u[Y],N,(N?ia.getCenterX():ia.getCenterY())/this.view.scale-(N?ia.origin.x:ia.origin.y)-(N?this.view.translate.x:this.view.translate.y))}else{var ja=this.getCellGeometry(u[Y]);null!=ja&&this.flipChildren(u[Y],N,N?ja.getCenterX()-ja.x:ja.getCenterY()-ja.y);Q.push(u[Y])}this.toggleCellStyles(N?mxConstants.STYLE_FLIPH:mxConstants.STYLE_FLIPV,!1,Q)}finally{this.model.endUpdate()}};Graph.prototype.deleteCells=function(u,N){var Q=null;if(null!=u&&0<u.length){this.model.beginUpdate();
-try{for(var Y=0;Y<u.length;Y++){var ia=this.model.getParent(u[Y]);if(this.isTable(ia)){var ja=this.getCellGeometry(u[Y]),oa=this.getCellGeometry(ia);null!=ja&&null!=oa&&(oa=oa.clone(),oa.height-=ja.height,this.model.setGeometry(ia,oa))}}var ta=this.selectParentAfterDelete?this.model.getParents(u):null;this.removeCells(u,N)}finally{this.model.endUpdate()}if(null!=ta)for(Q=[],Y=0;Y<ta.length;Y++)this.model.contains(ta[Y])&&(this.model.isVertex(ta[Y])||this.model.isEdge(ta[Y]))&&Q.push(ta[Y])}return Q};
-Graph.prototype.insertTableColumn=function(u,N){var Q=this.getModel();Q.beginUpdate();try{var Y=u,ia=0;if(this.isTableCell(u)){var ja=Q.getParent(u);Y=Q.getParent(ja);ia=mxUtils.indexOf(Q.getChildCells(ja,!0),u)}else this.isTableRow(u)?Y=Q.getParent(u):u=Q.getChildCells(Y,!0)[0],N||(ia=Q.getChildCells(u,!0).length-1);var oa=Q.getChildCells(Y,!0),ta=Graph.minTableColumnWidth;for(u=0;u<oa.length;u++){var sa=Q.getChildCells(oa[u],!0)[ia],xa=Q.cloneCell(sa,!1);null==xa&&(xa=this.createVertex());var Ca=
-this.getCellGeometry(xa);xa.value=null;xa.style=mxUtils.setStyle(mxUtils.setStyle(xa.style,"rowspan",null),"colspan",null);if(null!=Ca){null!=Ca.alternateBounds&&(Ca.width=Ca.alternateBounds.width,Ca.height=Ca.alternateBounds.height,Ca.alternateBounds=null);ta=Ca.width;var Oa=this.getCellGeometry(oa[u]);null!=Oa&&(Ca.height=Oa.height)}Q.add(oa[u],xa,ia+(N?0:1))}var Wa=this.getCellGeometry(Y);null!=Wa&&(Wa=Wa.clone(),Wa.width+=ta,Q.setGeometry(Y,Wa))}finally{Q.endUpdate()}};Graph.prototype.deleteLane=
-function(u){var N=this.getModel();N.beginUpdate();try{var Q=null;Q="stackLayout"==this.getCurrentCellStyle(u).childLayout?u:N.getParent(u);var Y=N.getChildCells(Q,!0);0==Y.length?N.remove(Q):(Q==u&&(u=Y[Y.length-1]),N.remove(u))}finally{N.endUpdate()}};Graph.prototype.insertLane=function(u,N){var Q=this.getModel();Q.beginUpdate();try{var Y=null;if("stackLayout"==this.getCurrentCellStyle(u).childLayout){Y=u;var ia=Q.getChildCells(Y,!0);u=ia[N?0:ia.length-1]}else Y=Q.getParent(u);var ja=Y.getIndex(u);
-u=Q.cloneCell(u,!1);u.value=null;Q.add(Y,u,ja+(N?0:1))}finally{Q.endUpdate()}};Graph.prototype.insertTableRow=function(u,N){var Q=this.getModel();Q.beginUpdate();try{var Y=u,ia=u;if(this.isTableCell(u))ia=Q.getParent(u),Y=Q.getParent(ia);else if(this.isTableRow(u))Y=Q.getParent(u);else{var ja=Q.getChildCells(Y,!0);ia=ja[N?0:ja.length-1]}var oa=Q.getChildCells(ia,!0),ta=Y.getIndex(ia);ia=Q.cloneCell(ia,!1);ia.value=null;var sa=this.getCellGeometry(ia);if(null!=sa){for(ja=0;ja<oa.length;ja++){u=Q.cloneCell(oa[ja],
-!1);u.value=null;u.style=mxUtils.setStyle(mxUtils.setStyle(u.style,"rowspan",null),"colspan",null);var xa=this.getCellGeometry(u);null!=xa&&(null!=xa.alternateBounds&&(xa.width=xa.alternateBounds.width,xa.height=xa.alternateBounds.height,xa.alternateBounds=null),xa.height=sa.height);ia.insert(u)}Q.add(Y,ia,ta+(N?0:1));var Ca=this.getCellGeometry(Y);null!=Ca&&(Ca=Ca.clone(),Ca.height+=sa.height,Q.setGeometry(Y,Ca))}}finally{Q.endUpdate()}};Graph.prototype.deleteTableColumn=function(u){var N=this.getModel();
-N.beginUpdate();try{var Q=u,Y=u;this.isTableCell(u)&&(Y=N.getParent(u));this.isTableRow(Y)&&(Q=N.getParent(Y));var ia=N.getChildCells(Q,!0);if(0==ia.length)N.remove(Q);else{this.isTableRow(Y)||(Y=ia[0]);var ja=N.getChildCells(Y,!0);if(1>=ja.length)N.remove(Q);else{var oa=ja.length-1;this.isTableCell(u)&&(oa=mxUtils.indexOf(ja,u));for(Y=u=0;Y<ia.length;Y++){var ta=N.getChildCells(ia[Y],!0)[oa];N.remove(ta);var sa=this.getCellGeometry(ta);null!=sa&&(u=Math.max(u,sa.width))}var xa=this.getCellGeometry(Q);
-null!=xa&&(xa=xa.clone(),xa.width-=u,N.setGeometry(Q,xa))}}}finally{N.endUpdate()}};Graph.prototype.deleteTableRow=function(u){var N=this.getModel();N.beginUpdate();try{var Q=u,Y=u;this.isTableCell(u)&&(u=Y=N.getParent(u));this.isTableRow(u)&&(Q=N.getParent(Y));var ia=N.getChildCells(Q,!0);if(1>=ia.length)N.remove(Q);else{this.isTableRow(Y)||(Y=ia[ia.length-1]);N.remove(Y);u=0;var ja=this.getCellGeometry(Y);null!=ja&&(u=ja.height);var oa=this.getCellGeometry(Q);null!=oa&&(oa=oa.clone(),oa.height-=
-u,N.setGeometry(Q,oa))}}finally{N.endUpdate()}};Graph.prototype.insertRow=function(u,N){for(var Q=u.tBodies[0],Y=Q.rows[0].cells,ia=u=0;ia<Y.length;ia++){var ja=Y[ia].getAttribute("colspan");u+=null!=ja?parseInt(ja):1}N=Q.insertRow(N);for(ia=0;ia<u;ia++)mxUtils.br(N.insertCell(-1));return N.cells[0]};Graph.prototype.deleteRow=function(u,N){u.tBodies[0].deleteRow(N)};Graph.prototype.insertColumn=function(u,N){var Q=u.tHead;if(null!=Q)for(var Y=0;Y<Q.rows.length;Y++){var ia=document.createElement("th");
-Q.rows[Y].appendChild(ia);mxUtils.br(ia)}u=u.tBodies[0];for(Q=0;Q<u.rows.length;Q++)Y=u.rows[Q].insertCell(N),mxUtils.br(Y);return u.rows[0].cells[0<=N?N:u.rows[0].cells.length-1]};Graph.prototype.deleteColumn=function(u,N){if(0<=N){u=u.tBodies[0].rows;for(var Q=0;Q<u.length;Q++)u[Q].cells.length>N&&u[Q].deleteCell(N)}};Graph.prototype.pasteHtmlAtCaret=function(u){if(window.getSelection){var N=window.getSelection();if(N.getRangeAt&&N.rangeCount){N=N.getRangeAt(0);N.deleteContents();var Q=document.createElement("div");
-Q.innerHTML=u;u=document.createDocumentFragment();for(var Y;Y=Q.firstChild;)lastNode=u.appendChild(Y);N.insertNode(u)}}else(N=document.selection)&&"Control"!=N.type&&N.createRange().pasteHTML(u)};Graph.prototype.createLinkForHint=function(u,N,Q){function Y(ja,oa){ja.length>oa&&(ja=ja.substring(0,Math.round(oa/2))+"..."+ja.substring(ja.length-Math.round(oa/4)));return ja}u=null!=u?u:"javascript:void(0);";if(null==N||0==N.length)N=this.isCustomLink(u)?this.getLinkTitle(u):u;var ia=document.createElement("a");
-ia.setAttribute("rel",this.linkRelation);ia.setAttribute("href",this.getAbsoluteUrl(u));ia.setAttribute("title",Y(this.isCustomLink(u)?this.getLinkTitle(u):u,80));null!=this.linkTarget&&ia.setAttribute("target",this.linkTarget);mxUtils.write(ia,Y(N,40));this.isCustomLink(u)&&mxEvent.addListener(ia,"click",mxUtils.bind(this,function(ja){this.customLinkClicked(u,Q);mxEvent.consume(ja)}));return ia};Graph.prototype.initTouch=function(){this.connectionHandler.marker.isEnabled=function(){return null!=
-this.graph.connectionHandler.first};this.addListener(mxEvent.START_EDITING,function(ja,oa){this.popupMenuHandler.hideMenu()});var u=this.updateMouseEvent;this.updateMouseEvent=function(ja){ja=u.apply(this,arguments);if(mxEvent.isTouchEvent(ja.getEvent())&&null==ja.getState()){var oa=this.getCellAt(ja.graphX,ja.graphY);null!=oa&&this.isSwimlane(oa)&&this.hitsSwimlaneContent(oa,ja.graphX,ja.graphY)||(ja.state=this.view.getState(oa),null!=ja.state&&null!=ja.state.shape&&(this.container.style.cursor=
-ja.state.shape.node.style.cursor))}null==ja.getState()&&this.isEnabled()&&(this.container.style.cursor="default");return ja};var N=!1,Q=!1,Y=!1,ia=this.fireMouseEvent;this.fireMouseEvent=function(ja,oa,ta){ja==mxEvent.MOUSE_DOWN&&(oa=this.updateMouseEvent(oa),N=this.isCellSelected(oa.getCell()),Q=this.isSelectionEmpty(),Y=this.popupMenuHandler.isMenuShowing());ia.apply(this,arguments)};this.popupMenuHandler.mouseUp=mxUtils.bind(this,function(ja,oa){if(null!=this.freehand&&!this.freehand.isDrawing()){var ta=
-mxEvent.isMouseEvent(oa.getEvent());this.popupMenuHandler.popupTrigger=!this.isEditing()&&this.isEnabled()&&(null==oa.getState()||!oa.isSource(oa.getState().control))&&(this.popupMenuHandler.popupTrigger||!Y&&!ta&&(Q&&null==oa.getCell()&&this.isSelectionEmpty()||N&&this.isCellSelected(oa.getCell())));ta=!N||ta?null:mxUtils.bind(this,function(sa){window.setTimeout(mxUtils.bind(this,function(){if(!this.isEditing()){var xa=mxUtils.getScrollOrigin();this.popupMenuHandler.popup(oa.getX()+xa.x+1,oa.getY()+
-xa.y+1,sa,oa.getEvent())}}),300)});mxPopupMenuHandler.prototype.mouseUp.apply(this.popupMenuHandler,[ja,oa,ta])}})};mxCellEditor.prototype.isContentEditing=function(){var u=this.graph.view.getState(this.editingCell);return null!=u&&1==u.style.html};mxCellEditor.prototype.isTableSelected=function(){return null!=this.graph.getParentByName(this.graph.getSelectedElement(),"TABLE",this.textarea)};mxCellEditor.prototype.isTextSelected=function(){var u="";window.getSelection?u=window.getSelection():document.getSelection?
-u=document.getSelection():document.selection&&(u=document.selection.createRange().text);return""!=u};mxCellEditor.prototype.insertTab=function(u){var N=this.textarea.ownerDocument.defaultView.getSelection(),Q=N.getRangeAt(0);u=Graph.createTabNode(u);Q.insertNode(u);Q.setStartAfter(u);Q.setEndAfter(u);N.removeAllRanges();N.addRange(Q)};mxCellEditor.prototype.alignText=function(u,N){var Q=this.graph.getView().getState(this.editingCell);if(null!=Q){Q=mxUtils.getValue(Q.style,mxConstants.STYLE_TEXT_DIRECTION,
-mxConstants.DEFAULT_TEXT_DIRECTION);var Y=null!=Q&&"vertical-"==Q.substring(0,9),ia=null!=N&&mxEvent.isShiftDown(N);if(ia||null!=window.getSelection&&null!=window.getSelection().containsNode){var ja=!0;this.graph.processElements(this.textarea,function(oa){ia||Y||window.getSelection().containsNode(oa,!0)?(oa.removeAttribute("align"),oa.style.textAlign=null):ja=!1});(ja||Y)&&this.graph.cellEditor.setAlign(u)}Y||document.execCommand("justify"+u.toLowerCase(),!1,null)}};mxCellEditor.prototype.saveSelection=
-function(){if(window.getSelection){var u=window.getSelection();if(u.getRangeAt&&u.rangeCount){for(var N=[],Q=0,Y=u.rangeCount;Q<Y;++Q)N.push(u.getRangeAt(Q));return N}}else if(document.selection&&document.selection.createRange)return document.selection.createRange();return null};mxCellEditor.prototype.restoreSelection=function(u){try{if(u)if(window.getSelection){sel=window.getSelection();sel.removeAllRanges();for(var N=0,Q=u.length;N<Q;++N)sel.addRange(u[N])}else document.selection&&u.select&&u.select()}catch(Y){}};
-var z=mxCellRenderer.prototype.initializeLabel;mxCellRenderer.prototype.initializeLabel=function(u){null!=u.text&&(u.text.replaceLinefeeds="0"!=mxUtils.getValue(u.style,"nl2Br","1"));z.apply(this,arguments)};var A=mxConstraintHandler.prototype.update;mxConstraintHandler.prototype.update=function(u,N){this.isKeepFocusEvent(u)||!mxEvent.isAltDown(u.getEvent())?A.apply(this,arguments):this.reset()};mxGuide.prototype.createGuideShape=function(u){return new mxPolyline([],mxConstants.GUIDE_COLOR,mxConstants.GUIDE_STROKEWIDTH)};
-mxCellEditor.prototype.escapeCancelsEditing=!1;var B=mxCellEditor.prototype.startEditing;mxCellEditor.prototype.startEditing=function(u,N){u=this.graph.getStartEditingCell(u,N);B.apply(this,arguments);var Q=this.graph.view.getState(u);this.textarea.className=null!=Q&&1==Q.style.html?"mxCellEditor geContentEditable":"mxCellEditor mxPlainTextEditor";this.codeViewMode=!1;this.switchSelectionState=null;this.graph.setSelectionCell(u)};mxCellEditor.prototype.toggleViewMode=function(){var u=this.graph.view.getState(this.editingCell);
-if(null!=u){var N=null!=u&&"0"!=mxUtils.getValue(u.style,"nl2Br","1"),Q=this.saveSelection();if(this.codeViewMode){ta=mxUtils.extractTextWithWhitespace(this.textarea.childNodes);0<ta.length&&"\n"==ta.charAt(ta.length-1)&&(ta=ta.substring(0,ta.length-1));ta=Graph.sanitizeHtml(N?ta.replace(/\n/g,"<br/>"):ta,!0);this.textarea.className="mxCellEditor geContentEditable";sa=mxUtils.getValue(u.style,mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE);N=mxUtils.getValue(u.style,mxConstants.STYLE_FONTFAMILY,
-mxConstants.DEFAULT_FONTFAMILY);var Y=mxUtils.getValue(u.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_LEFT),ia=(mxUtils.getValue(u.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD,ja=(mxUtils.getValue(u.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC,oa=[];(mxUtils.getValue(u.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&oa.push("underline");(mxUtils.getValue(u.style,mxConstants.STYLE_FONTSTYLE,
-0)&mxConstants.FONT_STRIKETHROUGH)==mxConstants.FONT_STRIKETHROUGH&&oa.push("line-through");this.textarea.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?Math.round(sa*mxConstants.LINE_HEIGHT)+"px":mxConstants.LINE_HEIGHT;this.textarea.style.fontSize=Math.round(sa)+"px";this.textarea.style.textDecoration=oa.join(" ");this.textarea.style.fontWeight=ia?"bold":"normal";this.textarea.style.fontStyle=ja?"italic":"";this.textarea.style.fontFamily=N;this.textarea.style.textAlign=Y;this.textarea.style.padding=
-"0px";this.textarea.innerHTML!=ta&&(this.textarea.innerHTML=ta,0==this.textarea.innerHTML.length&&(this.textarea.innerHTML=this.getEmptyLabelText(),this.clearOnChange=0<this.textarea.innerHTML.length));this.codeViewMode=!1}else{this.clearOnChange&&this.textarea.innerHTML==this.getEmptyLabelText()&&(this.clearOnChange=!1,this.textarea.innerText="");var ta=mxUtils.htmlEntities(this.textarea.innerHTML);8!=document.documentMode&&(ta=mxUtils.replaceTrailingNewlines(ta,"<div><br></div>"));ta=Graph.sanitizeHtml(N?
-ta.replace(/\n/g,"").replace(/&lt;br\s*.?&gt;/g,"<br>"):ta,!0);this.textarea.className="mxCellEditor mxPlainTextEditor";var sa=mxConstants.DEFAULT_FONTSIZE;this.textarea.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?Math.round(sa*mxConstants.LINE_HEIGHT)+"px":mxConstants.LINE_HEIGHT;this.textarea.style.fontSize=Math.round(sa)+"px";this.textarea.style.textDecoration="";this.textarea.style.fontWeight="normal";this.textarea.style.fontStyle="";this.textarea.style.fontFamily=mxConstants.DEFAULT_FONTFAMILY;
-this.textarea.style.textAlign="left";this.textarea.style.width="";this.textarea.style.padding="2px";this.textarea.innerHTML!=ta&&(this.textarea.innerHTML=ta);this.codeViewMode=!0}this.textarea.focus();null!=this.switchSelectionState&&this.restoreSelection(this.switchSelectionState);this.switchSelectionState=Q;this.resize()}};var G=mxCellEditor.prototype.resize;mxCellEditor.prototype.resize=function(u,N){if(null!=this.textarea)if(u=this.graph.getView().getState(this.editingCell),this.codeViewMode&&
-null!=u){var Q=u.view.scale;this.bounds=mxRectangle.fromRectangle(u);if(0==this.bounds.width&&0==this.bounds.height){this.bounds.width=160*Q;this.bounds.height=60*Q;var Y=null!=u.text?u.text.margin:null;null==Y&&(Y=mxUtils.getAlignmentAsPoint(mxUtils.getValue(u.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER),mxUtils.getValue(u.style,mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE)));this.bounds.x+=Y.x*this.bounds.width;this.bounds.y+=Y.y*this.bounds.height}this.textarea.style.width=
-Math.round((this.bounds.width-4)/Q)+"px";this.textarea.style.height=Math.round((this.bounds.height-4)/Q)+"px";this.textarea.style.overflow="auto";this.textarea.clientHeight<this.textarea.offsetHeight&&(this.textarea.style.height=Math.round(this.bounds.height/Q)+(this.textarea.offsetHeight-this.textarea.clientHeight)+"px",this.bounds.height=parseInt(this.textarea.style.height)*Q);this.textarea.clientWidth<this.textarea.offsetWidth&&(this.textarea.style.width=Math.round(this.bounds.width/Q)+(this.textarea.offsetWidth-
-this.textarea.clientWidth)+"px",this.bounds.width=parseInt(this.textarea.style.width)*Q);this.textarea.style.left=Math.round(this.bounds.x)+"px";this.textarea.style.top=Math.round(this.bounds.y)+"px";mxUtils.setPrefixedStyle(this.textarea.style,"transform","scale("+Q+","+Q+")")}else this.textarea.style.height="",this.textarea.style.overflow="",G.apply(this,arguments)};mxCellEditorGetInitialValue=mxCellEditor.prototype.getInitialValue;mxCellEditor.prototype.getInitialValue=function(u,N){if("0"==mxUtils.getValue(u.style,
-"html","0"))return mxCellEditorGetInitialValue.apply(this,arguments);var Q=this.graph.getEditingValue(u.cell,N);"1"==mxUtils.getValue(u.style,"nl2Br","1")&&(Q=Q.replace(/\n/g,"<br/>"));return Q=Graph.sanitizeHtml(Q,!0)};mxCellEditorGetCurrentValue=mxCellEditor.prototype.getCurrentValue;mxCellEditor.prototype.getCurrentValue=function(u){if("0"==mxUtils.getValue(u.style,"html","0"))return mxCellEditorGetCurrentValue.apply(this,arguments);var N=Graph.sanitizeHtml(this.textarea.innerHTML,!0);"1"==mxUtils.getValue(u.style,
-"nl2Br","1")?(N=N.replace(/\r\n/g,"<br/>").replace(/\n/g,"<br/>"),0<N.length&&("<br/>"==N.substring(N.length-5)||"<br>"==N.substring(N.length-4))&&(N=N.substring(0,N.lastIndexOf("<br"))+"<div><br/></div>")):N=N.replace(/\r\n/g,"").replace(/\n/g,"");return N};var L=mxCellEditor.prototype.stopEditing;mxCellEditor.prototype.stopEditing=function(u){this.codeViewMode&&this.toggleViewMode();L.apply(this,arguments);this.focusContainer()};mxCellEditor.prototype.focusContainer=function(){try{this.graph.container.focus()}catch(u){}};
-var P=mxCellEditor.prototype.applyValue;mxCellEditor.prototype.applyValue=function(u,N){this.graph.getModel().beginUpdate();try{P.apply(this,arguments),""==N&&this.graph.isCellDeletable(u.cell)&&0==this.graph.model.getChildCount(u.cell)&&this.graph.isTransparentState(u)&&this.graph.removeCells([u.cell],!1)}finally{this.graph.getModel().endUpdate()}};mxCellEditor.prototype.getBackgroundColor=function(u){u=mxUtils.getValue(u.style,mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,null);u==mxConstants.NONE&&(u=
-null);return u};mxCellEditor.prototype.getBorderColor=function(u){u=mxUtils.getValue(u.style,mxConstants.STYLE_LABEL_BORDERCOLOR,null);u==mxConstants.NONE&&(u=null);return u};mxCellEditor.prototype.getMinimumSize=function(u){var N=this.graph.getView().scale;return new mxRectangle(0,0,null==u.text?30:u.text.size*N+20,30)};mxGraphHandlerIsValidDropTarget=mxGraphHandler.prototype.isValidDropTarget;mxGraphHandler.prototype.isValidDropTarget=function(u,N){return mxGraphHandlerIsValidDropTarget.apply(this,
-arguments)&&!mxEvent.isAltDown(N.getEvent)};mxGraphView.prototype.formatUnitText=function(u){return u?e(u,this.unit):u};mxGraphHandler.prototype.updateHint=function(u){if(null!=this.pBounds&&(null!=this.shape||this.livePreviewActive)){null==this.hint&&(this.hint=b(),this.graph.container.appendChild(this.hint));var N=this.graph.view.translate,Q=this.graph.view.scale;u=this.roundLength((this.bounds.x+this.currentDx)/Q-N.x);N=this.roundLength((this.bounds.y+this.currentDy)/Q-N.y);Q=this.graph.view.unit;
-this.hint.innerHTML=e(u,Q)+", "+e(N,Q);this.hint.style.left=this.pBounds.x+this.currentDx+Math.round((this.pBounds.width-this.hint.clientWidth)/2)+"px";this.hint.style.top=this.pBounds.y+this.currentDy+this.pBounds.height+Editor.hintOffset+"px"}};mxGraphHandler.prototype.removeHint=function(){null!=this.hint&&(null!=this.hint.parentNode&&this.hint.parentNode.removeChild(this.hint),this.hint=null)};var J=mxStackLayout.prototype.resizeCell;mxStackLayout.prototype.resizeCell=function(u,N){J.apply(this,
-arguments);var Q=this.graph.getCellStyle(u);if(null==Q.childLayout){var Y=this.graph.model.getParent(u),ia=null!=Y?this.graph.getCellGeometry(Y):null;if(null!=ia&&(Q=this.graph.getCellStyle(Y),"stackLayout"==Q.childLayout)){var ja=parseFloat(mxUtils.getValue(Q,"stackBorder",mxStackLayout.prototype.border));Q="1"==mxUtils.getValue(Q,"horizontalStack","1");var oa=this.graph.getActualStartSize(Y);ia=ia.clone();Q?ia.height=N.height+oa.y+oa.height+2*ja:ia.width=N.width+oa.x+oa.width+2*ja;this.graph.model.setGeometry(Y,
-ia)}}};var fa=mxSelectionCellsHandler.prototype.getHandledSelectionCells;mxSelectionCellsHandler.prototype.getHandledSelectionCells=function(){function u(ta){Q.get(ta)||(Q.put(ta,!0),ia.push(ta))}for(var N=fa.apply(this,arguments),Q=new mxDictionary,Y=this.graph.model,ia=[],ja=0;ja<N.length;ja++){var oa=N[ja];this.graph.isTableCell(oa)?u(Y.getParent(Y.getParent(oa))):this.graph.isTableRow(oa)&&u(Y.getParent(oa));u(oa)}return ia};var ea=mxConnectionHandler.prototype.isStartEvent;mxConnectionHandler.prototype.isStartEvent=
-function(u){return ea.apply(this,arguments)&&!mxEvent.isControlDown(u.getEvent())&&!mxEvent.isShiftDown(u.getEvent())};var T=mxVertexHandler.prototype.isGhostPreview;mxVertexHandler.prototype.isGhostPreview=function(){return T.apply(this,arguments)&&!this.graph.isTable(this.state.cell)&&!this.graph.isTableRow(this.state.cell)&&!this.graph.isTableCell(this.state.cell)&&!this.graph.isSwimlane(this.state.cell)};var ca=mxVertexHandler.prototype.createParentHighlightShape;mxVertexHandler.prototype.createParentHighlightShape=
-function(u){var N=ca.apply(this,arguments);N.stroke="#C0C0C0";N.strokewidth=1;return N};var ka=mxEdgeHandler.prototype.createParentHighlightShape;mxEdgeHandler.prototype.createParentHighlightShape=function(u){var N=ka.apply(this,arguments);N.stroke="#C0C0C0";N.strokewidth=1;return N};mxVertexHandler.prototype.rotationHandleVSpacing=-12;mxVertexHandler.prototype.getRotationHandlePosition=function(){var u=this.getHandlePadding();return new mxPoint(this.bounds.x+this.bounds.width-this.rotationHandleVSpacing+
-u.x/2,this.bounds.y+this.rotationHandleVSpacing-u.y/2)};mxVertexHandler.prototype.isRecursiveResize=function(u,N){return this.graph.isRecursiveVertexResize(u)&&!mxEvent.isAltDown(N.getEvent())};mxVertexHandler.prototype.isCenteredEvent=function(u,N){return mxEvent.isControlDown(N.getEvent())||mxEvent.isMetaDown(N.getEvent())};var ma=mxVertexHandler.prototype.isRotationHandleVisible;mxVertexHandler.prototype.isRotationHandleVisible=function(){return ma.apply(this,arguments)&&!this.graph.isTableCell(this.state.cell)&&
-!this.graph.isTableRow(this.state.cell)&&!this.graph.isTable(this.state.cell)};mxVertexHandler.prototype.getSizerBounds=function(){return this.graph.isTableCell(this.state.cell)?this.graph.view.getState(this.graph.model.getParent(this.graph.model.getParent(this.state.cell))):this.bounds};var aa=mxVertexHandler.prototype.isParentHighlightVisible;mxVertexHandler.prototype.isParentHighlightVisible=function(){return aa.apply(this,arguments)&&!this.graph.isTableCell(this.state.cell)&&!this.graph.isTableRow(this.state.cell)};
-var V=mxVertexHandler.prototype.isCustomHandleVisible;mxVertexHandler.prototype.isCustomHandleVisible=function(u){return u.tableHandle||V.apply(this,arguments)&&(!this.graph.isTable(this.state.cell)||this.graph.isCellSelected(this.state.cell))};mxVertexHandler.prototype.getSelectionBorderInset=function(){var u=0;this.graph.isTableRow(this.state.cell)?u=1:this.graph.isTableCell(this.state.cell)&&(u=2);return u};var da=mxVertexHandler.prototype.getSelectionBorderBounds;mxVertexHandler.prototype.getSelectionBorderBounds=
-function(){return da.apply(this,arguments).grow(-this.getSelectionBorderInset())};var k=null,t=mxVertexHandler.prototype.createCustomHandles;mxVertexHandler.prototype.createCustomHandles=function(){null==k&&(k=mxCellRenderer.defaultShapes.tableLine);var u=t.apply(this,arguments);if(this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell)){var N=function(ab,Ta,Pa){for(var kb=[],cb=0;cb<ab.length;cb++){var $a=ab[cb];kb.push(null==$a?null:new mxPoint((sa+$a.x+Ta)*ja,(xa+$a.y+Pa)*
-ja))}return kb},Q=this,Y=this.graph,ia=Y.model,ja=Y.view.scale,oa=this.state,ta=this.selectionBorder,sa=this.state.origin.x+Y.view.translate.x,xa=this.state.origin.y+Y.view.translate.y;null==u&&(u=[]);var Ca=Y.view.getCellStates(ia.getChildCells(this.state.cell,!0));if(0<Ca.length){var Oa=ia.getChildCells(Ca[0].cell,!0),Wa=Y.getTableLines(this.state.cell,!1,!0),Za=Y.getTableLines(this.state.cell,!0,!1);for(ia=0;ia<Ca.length;ia++)mxUtils.bind(this,function(ab){var Ta=Ca[ab],Pa=null;if(Y.isCellMovable(Ta.cell)){Pa=
-ab<Ca.length-1?Ca[ab+1]:null;Pa=null!=Pa?Y.getCellGeometry(Pa.cell):null;var kb=null!=Pa&&null!=Pa.alternateBounds?Pa.alternateBounds:Pa;Pa=null!=Za[ab]?new k(Za[ab],mxConstants.NONE,1):new mxLine(new mxRectangle,mxConstants.NONE,1,!1);Pa.isDashed=ta.isDashed;Pa.svgStrokeTolerance++;Pa=new mxHandle(Ta,"row-resize",null,Pa);Pa.tableHandle=!0;var cb=0;Pa.shape.node.parentNode.insertBefore(Pa.shape.node,Pa.shape.node.parentNode.firstChild);Pa.redraw=function(){if(null!=this.shape){this.shape.stroke=
-0==cb?mxConstants.NONE:ta.stroke;if(this.shape.constructor==k)this.shape.line=N(Za[ab],0,cb),this.shape.updateBoundsFromLine();else{var gb=Y.getActualStartSize(oa.cell,!0);this.shape.bounds.height=1;this.shape.bounds.y=this.state.y+this.state.height+cb*ja;this.shape.bounds.x=oa.x+(ab==Ca.length-1?0:gb.x*ja);this.shape.bounds.width=oa.width-(ab==Ca.length-1?0:gb.width+gb.x+ja)}this.shape.redraw()}};var $a=!1;Pa.setPosition=function(gb,ib,mb){cb=Math.max(Graph.minTableRowHeight-gb.height,ib.y-gb.y-
-gb.height);$a=mxEvent.isShiftDown(mb.getEvent());null!=kb&&$a&&(cb=Math.min(cb,kb.height-Graph.minTableRowHeight))};Pa.execute=function(gb){if(0!=cb)Y.setTableRowHeight(this.state.cell,cb,!$a);else if(!Q.blockDelayedSelection){var ib=Y.getCellAt(gb.getGraphX(),gb.getGraphY())||oa.cell;Y.graphHandler.selectCellForEvent(ib,gb)}cb=0};Pa.reset=function(){cb=0}}u.push(Pa)})(ia);for(ia=0;ia<Oa.length;ia++)mxUtils.bind(this,function(ab){var Ta=Y.view.getState(Oa[ab]),Pa=Y.getCellGeometry(Oa[ab]),kb=null!=
-Pa.alternateBounds?Pa.alternateBounds:Pa;null==Ta&&(Ta=new mxCellState(Y.view,Oa[ab],Y.getCellStyle(Oa[ab])),Ta.x=oa.x+Pa.x*ja,Ta.y=oa.y+Pa.y*ja,Ta.width=kb.width*ja,Ta.height=kb.height*ja,Ta.updateCachedBounds());Pa=ab<Oa.length-1?Oa[ab+1]:null;Pa=null!=Pa?Y.getCellGeometry(Pa):null;var cb=null!=Pa&&null!=Pa.alternateBounds?Pa.alternateBounds:Pa;Pa=null!=Wa[ab]?new k(Wa[ab],mxConstants.NONE,1):new mxLine(new mxRectangle,mxConstants.NONE,1,!0);Pa.isDashed=ta.isDashed;Pa.svgStrokeTolerance++;Ta=new mxHandle(Ta,
-"col-resize",null,Pa);Ta.tableHandle=!0;var $a=0;Ta.shape.node.parentNode.insertBefore(Ta.shape.node,Ta.shape.node.parentNode.firstChild);Ta.redraw=function(){if(null!=this.shape){this.shape.stroke=0==$a?mxConstants.NONE:ta.stroke;if(this.shape.constructor==k)this.shape.line=N(Wa[ab],$a,0),this.shape.updateBoundsFromLine();else{var ib=Y.getActualStartSize(oa.cell,!0);this.shape.bounds.width=1;this.shape.bounds.x=this.state.x+(kb.width+$a)*ja;this.shape.bounds.y=oa.y+(ab==Oa.length-1?0:ib.y*ja);this.shape.bounds.height=
-oa.height-(ab==Oa.length-1?0:(ib.height+ib.y)*ja)}this.shape.redraw()}};var gb=!1;Ta.setPosition=function(ib,mb,vb){$a=Math.max(Graph.minTableColumnWidth-kb.width,mb.x-ib.x-kb.width);gb=mxEvent.isShiftDown(vb.getEvent());null==cb||gb||($a=Math.min($a,cb.width-Graph.minTableColumnWidth))};Ta.execute=function(ib){if(0!=$a)Y.setTableColumnWidth(this.state.cell,$a,gb);else if(!Q.blockDelayedSelection){var mb=Y.getCellAt(ib.getGraphX(),ib.getGraphY())||oa.cell;Y.graphHandler.selectCellForEvent(mb,ib)}$a=
-0};Ta.positionChanged=function(){};Ta.reset=function(){$a=0};u.push(Ta)})(ia)}}return null!=u?u.reverse():null};var I=mxVertexHandler.prototype.setHandlesVisible;mxVertexHandler.prototype.setHandlesVisible=function(u){I.apply(this,arguments);if(null!=this.moveHandles)for(var N=0;N<this.moveHandles.length;N++)null!=this.moveHandles[N]&&(this.moveHandles[N].node.style.visibility=u?"":"hidden");if(null!=this.cornerHandles)for(N=0;N<this.cornerHandles.length;N++)this.cornerHandles[N].node.style.visibility=
-u?"":"hidden"};mxVertexHandler.prototype.isMoveHandlesVisible=function(){return this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell)};mxVertexHandler.prototype.refreshMoveHandles=function(){var u=this.isMoveHandlesVisible();u&&null==this.moveHandles?this.moveHandles=this.createMoveHandles():u||null==this.moveHandles||this.destroyMoveHandles();if(u&&null==this.moveHandles){for(u=0;u<this.moveHandles.length;u++)null!=this.moveHandles[u]&&this.moveHandles[u].parentNode.removeChild(this.moveHandles[u]);
-this.moveHandles=null}};mxVertexHandler.prototype.createMoveHandles=function(){for(var u=this.graph,N=u.model,Q=[],Y=0;Y<N.getChildCount(this.state.cell);Y++)mxUtils.bind(this,function(ia){if(null!=ia&&N.isVertex(ia.cell)&&u.isCellMovable(ia.cell)){var ja=new mxRectangle(0,0,this.rowHandleImage.width,this.rowHandleImage.height);ja=new mxImageShape(ja,this.rowHandleImage.src);ja.rowState=ia;ja.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?mxConstants.DIALECT_MIXEDHTML:mxConstants.DIALECT_SVG;
-ja.init(this.graph.getView().getOverlayPane());ja.node.style.cursor="move";mxEvent.addGestureListeners(ja.node,mxUtils.bind(this,function(oa){this.graph.popupMenuHandler.hideMenu();this.graph.stopEditing(!1);!this.graph.isToggleEvent(oa)&&this.graph.isCellSelected(ia.cell)||this.graph.selectCellForEvent(ia.cell,oa);mxEvent.isPopupTrigger(oa)||(this.graph.graphHandler.start(this.state.cell,mxEvent.getClientX(oa),mxEvent.getClientY(oa),this.graph.getSelectionCells()),this.graph.graphHandler.cellWasClicked=
-!0,this.graph.isMouseTrigger=mxEvent.isMouseEvent(oa),this.graph.isMouseDown=!0);mxEvent.consume(oa)}),null,mxUtils.bind(this,function(oa){mxEvent.isPopupTrigger(oa)&&(this.graph.popupMenuHandler.popup(mxEvent.getClientX(oa),mxEvent.getClientY(oa),ia.cell,oa),mxEvent.consume(oa))}));Q.push(ja)}else Q.push(null)})(this.graph.view.getState(N.getChildAt(this.state.cell,Y)));return Q};mxVertexHandler.prototype.destroyMoveHandles=function(){if(null!=this.moveHandles){for(var u=0;u<this.moveHandles.length;u++)null!=
-this.moveHandles[u]&&this.moveHandles[u].destroy();this.moveHandles=null}};mxVertexHandler.prototype.destroyCornerHandles=function(){if(null!=this.cornerHandles){for(var u=0;u<this.cornerHandles.length;u++)null!=this.cornerHandles[u]&&null!=this.cornerHandles[u].node&&null!=this.cornerHandles[u].node.parentNode&&this.cornerHandles[u].node.parentNode.removeChild(this.cornerHandles[u].node);this.cornerHandles=null}};var R=mxVertexHandler.prototype.refresh;mxVertexHandler.prototype.refresh=function(){R.apply(this,
-arguments);this.destroyMoveHandles();this.destroyCornerHandles();if(this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell))this.refreshMoveHandles();else if(1==this.graph.getSelectionCount()&&this.graph.isCellMovable(this.state.cell)&&(this.graph.isTableCell(this.state.cell)||this.graph.isTableRow(this.state.cell))){this.cornerHandles=[];for(var u=0;4>u;u++){var N=new mxRectangleShape(new mxRectangle(0,0,6,6),"#ffffff",mxConstants.HANDLE_STROKECOLOR);N.dialect=mxConstants.DIALECT_SVG;
-N.init(this.graph.view.getOverlayPane());this.cornerHandles.push(N)}}this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell)&&this.refreshMoveHandles();u=this.graph.getLinkForCell(this.state.cell);N=this.graph.getLinksForState(this.state);this.updateLinkHint(u,N)};var O=mxVertexHandler.prototype.getHandlePadding;mxVertexHandler.prototype.getHandlePadding=function(){var u=new mxPoint(0,0),N=this.tolerance,Q=this.state.style.shape;null==mxCellRenderer.defaultShapes[Q]&&mxStencilRegistry.getStencil(Q);
-Q=this.graph.isTable(this.state.cell)||this.graph.cellEditor.getEditingCell()==this.state.cell;if(!Q&&null!=this.customHandles)for(var Y=0;Y<this.customHandles.length;Y++)if(null!=this.customHandles[Y]&&null!=this.customHandles[Y].shape&&null!=this.customHandles[Y].shape.bounds){var ia=this.customHandles[Y].shape.bounds,ja=ia.getCenterX(),oa=ia.getCenterY();if(Math.abs(this.state.x-ja)<ia.width/2||Math.abs(this.state.y-oa)<ia.height/2||Math.abs(this.state.x+this.state.width-ja)<ia.width/2||Math.abs(this.state.y+
-this.state.height-oa)<ia.height/2){Q=!0;break}}Q&&null!=this.sizers&&0<this.sizers.length&&null!=this.sizers[0]?(N/=2,this.graph.isTable(this.state.cell)&&(N+=7),u.x=this.sizers[0].bounds.width+N,u.y=this.sizers[0].bounds.height+N):u=O.apply(this,arguments);return u};mxVertexHandler.prototype.updateHint=function(u){if(this.index!=mxEvent.LABEL_HANDLE){null==this.hint&&(this.hint=b(),this.state.view.graph.container.appendChild(this.hint));if(this.index==mxEvent.ROTATION_HANDLE)this.hint.innerHTML=
-this.currentAlpha+"&deg;";else{u=this.state.view.scale;var N=this.state.view.unit;this.hint.innerHTML=e(this.roundLength(this.bounds.width/u),N)+" x "+e(this.roundLength(this.bounds.height/u),N)}u=mxUtils.getBoundingBox(this.bounds,null!=this.currentAlpha?this.currentAlpha:this.state.style[mxConstants.STYLE_ROTATION]||"0");null==u&&(u=this.bounds);this.hint.style.left=u.x+Math.round((u.width-this.hint.clientWidth)/2)+"px";this.hint.style.top=u.y+u.height+Editor.hintOffset+"px";null!=this.linkHint&&
-(this.linkHint.style.display="none")}};mxVertexHandler.prototype.removeHint=function(){mxGraphHandler.prototype.removeHint.apply(this,arguments);null!=this.linkHint&&(this.linkHint.style.display="")};var X=mxEdgeHandler.prototype.refresh;mxEdgeHandler.prototype.refresh=function(){X.apply(this,arguments);var u=this.graph.getLinkForCell(this.state.cell),N=this.graph.getLinksForState(this.state);this.updateLinkHint(u,N)};var Z=mxEdgeHandler.prototype.mouseMove;mxEdgeHandler.prototype.mouseMove=function(u,
-N){Z.apply(this,arguments);null!=this.linkHint&&"none"!=this.linkHint.style.display&&null!=this.graph.graphHandler&&null!=this.graph.graphHandler.first&&(this.linkHint.style.display="none")};var ba=mxEdgeHandler.prototype.mouseUp;mxEdgeHandler.prototype.mouseUp=function(u,N){ba.apply(this,arguments);null!=this.linkHint&&"none"==this.linkHint.style.display&&1==this.graph.getSelectionCount()&&(this.linkHint.style.display="")};mxEdgeHandler.prototype.updateHint=function(u,N,Q){null==this.hint&&(this.hint=
-b(),this.state.view.graph.container.appendChild(this.hint));var Y=this.graph.view.translate,ia=this.graph.view.scale,ja=this.roundLength(N.x/ia-Y.x);Y=this.roundLength(N.y/ia-Y.y);var oa=this.graph.view.unit;this.hint.innerHTML=e(ja,oa)+", "+e(Y,oa);this.hint.style.visibility="visible";null!=Q&&(Q.view.updateEdgeBounds(Q),this.hint.innerHTML+=" ("+(oa==mxConstants.POINTS?Math.round(Q.length/ia):e(Q.length/ia,oa))+")");if(this.isSource||this.isTarget)null!=this.constraintHandler&&null!=this.constraintHandler.currentConstraint&&
-null!=this.constraintHandler.currentFocus?(Q=this.constraintHandler.currentConstraint.point,this.hint.innerHTML="["+Math.round(100*Q.x)+"%, "+Math.round(100*Q.y)+"%]"):this.marker.hasValidState()&&(this.hint.style.visibility="hidden");this.hint.style.left=Math.round(u.getGraphX()-this.hint.clientWidth/2)+"px";this.hint.style.top=Math.max(u.getGraphY(),N.y)+Editor.hintOffset+"px";null!=this.linkHint&&(this.linkHint.style.display="none")};Graph.prototype.expandedImage=Graph.createSvgImage(9,9,'<defs><linearGradient id="grad1" x1="50%" y1="0%" x2="50%" y2="100%"><stop offset="30%" style="stop-color:#f0f0f0;" /><stop offset="100%" style="stop-color:#AFB0B6;" /></linearGradient></defs><rect x="0" y="0" width="9" height="9" stroke="#8A94A5" fill="url(#grad1)" stroke-width="2"/><path d="M 2 4.5 L 7 4.5 z" stroke="#000"/>');
-Graph.prototype.collapsedImage=Graph.createSvgImage(9,9,'<defs><linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="30%" style="stop-color:#f0f0f0;" /><stop offset="100%" style="stop-color:#AFB0B6;" /></linearGradient></defs><rect x="0" y="0" width="9" height="9" stroke="#8A94A5" fill="url(#grad1)" stroke-width="2"/><path d="M 4.5 2 L 4.5 7 M 2 4.5 L 7 4.5 z" stroke="#000"/>');mxEdgeHandler.prototype.removeHint=mxVertexHandler.prototype.removeHint;HoverIcons.prototype.mainHandle=
-Graph.createSvgImage(18,18,'<circle cx="9" cy="9" r="5" stroke="#fff" fill="'+HoverIcons.prototype.arrowFill+'"/>');HoverIcons.prototype.endMainHandle=Graph.createSvgImage(18,18,'<circle cx="9" cy="9" r="6" stroke="#fff" fill="'+HoverIcons.prototype.arrowFill+'"/>');HoverIcons.prototype.secondaryHandle=Graph.createSvgImage(16,16,'<path d="m 8 3 L 13 8 L 8 13 L 3 8 z" stroke="#fff" fill="#fca000"/>');HoverIcons.prototype.fixedHandle=Graph.createSvgImage(22,22,'<circle cx="11" cy="11" r="6" stroke="#fff" fill="#01bd22"/><path d="m 8 8 L 14 14M 8 14 L 14 8" stroke="#fff"/>');
-HoverIcons.prototype.endFixedHandle=Graph.createSvgImage(22,22,'<circle cx="11" cy="11" r="7" stroke="#fff" fill="#01bd22"/><path d="m 8 8 L 14 14M 8 14 L 14 8" stroke="#fff"/>');HoverIcons.prototype.terminalHandle=Graph.createSvgImage(22,22,'<circle cx="11" cy="11" r="6" stroke="#fff" fill="'+HoverIcons.prototype.arrowFill+'"/><circle cx="11" cy="11" r="3" stroke="#fff" fill="transparent"/>');HoverIcons.prototype.endTerminalHandle=Graph.createSvgImage(22,22,'<circle cx="11" cy="11" r="7" stroke="#fff" fill="'+
-HoverIcons.prototype.arrowFill+'"/><circle cx="11" cy="11" r="3" stroke="#fff" fill="transparent"/>');HoverIcons.prototype.rotationHandle=Graph.createSvgImage(16,16,'<path stroke="'+HoverIcons.prototype.arrowFill+'" fill="'+HoverIcons.prototype.arrowFill+'" d="M15.55 5.55L11 1v3.07C7.06 4.56 4 7.92 4 12s3.05 7.44 7 7.93v-2.02c-2.84-.48-5-2.94-5-5.91s2.16-5.43 5-5.91V10l4.55-4.45zM19.93 11c-.17-1.39-.72-2.73-1.62-3.89l-1.42 1.42c.54.75.88 1.6 1.02 2.47h2.02zM13 17.9v2.02c1.39-.17 2.74-.71 3.9-1.61l-1.44-1.44c-.75.54-1.59.89-2.46 1.03zm3.89-2.42l1.42 1.41c.9-1.16 1.45-2.5 1.62-3.89h-2.02c-.14.87-.48 1.72-1.02 2.48z"/>',
+function(u,N,Q){u=u.getElementsByTagName("a");for(var Y=0;Y<u.length;Y++)if(null==u[Y].getAttribute("target")){var ia=u[Y].getAttribute("href");null==ia&&(ia=u[Y].getAttribute("xlink:href"));null!=ia&&(null!=N&&/^https?:\/\//.test(ia)?u[Y].setAttribute("target",N):Q&&this.isCustomLink(ia)&&u[Y].setAttribute("href","javascript:void(0);"))}};Graph.prototype.createSvgCanvas=function(u){u=new mxSvgCanvas2D(u);u.minStrokeWidth=this.cellRenderer.minSvgStrokeWidth;u.pointerEvents=!0;return u};Graph.prototype.getSelectedElement=
+function(){var u=null;if(window.getSelection){var N=window.getSelection();N.getRangeAt&&N.rangeCount&&(u=N.getRangeAt(0).commonAncestorContainer)}else document.selection&&(u=document.selection.createRange().parentElement());return u};Graph.prototype.getSelectedEditingElement=function(){for(var u=this.getSelectedElement();null!=u&&u.nodeType!=mxConstants.NODETYPE_ELEMENT;)u=u.parentNode;null!=u&&u==this.cellEditor.textarea&&1==this.cellEditor.textarea.children.length&&this.cellEditor.textarea.firstChild.nodeType==
+mxConstants.NODETYPE_ELEMENT&&(u=this.cellEditor.textarea.firstChild);return u};Graph.prototype.getParentByName=function(u,N,Q){for(;null!=u&&u.nodeName!=N;){if(u==Q)return null;u=u.parentNode}return u};Graph.prototype.getParentByNames=function(u,N,Q){for(;null!=u&&!(0<=mxUtils.indexOf(N,u.nodeName));){if(u==Q)return null;u=u.parentNode}return u};Graph.prototype.selectNode=function(u){var N=null;if(window.getSelection){if(N=window.getSelection(),N.getRangeAt&&N.rangeCount){var Q=document.createRange();
+Q.selectNode(u);N.removeAllRanges();N.addRange(Q)}}else(N=document.selection)&&"Control"!=N.type&&(u=N.createRange(),u.collapse(!0),Q=N.createRange(),Q.setEndPoint("StartToStart",u),Q.select())};Graph.prototype.flipEdgePoints=function(u,N,Q){var Y=this.getCellGeometry(u);if(null!=Y){Y=Y.clone();if(null!=Y.points)for(var ia=0;ia<Y.points.length;ia++)N?Y.points[ia].x=Q+(Q-Y.points[ia].x):Y.points[ia].y=Q+(Q-Y.points[ia].y);ia=function(la){null!=la&&(N?la.x=Q+(Q-la.x):la.y=Q+(Q-la.y))};ia(Y.getTerminalPoint(!0));
+ia(Y.getTerminalPoint(!1));this.model.setGeometry(u,Y)}};Graph.prototype.flipChildren=function(u,N,Q){this.model.beginUpdate();try{for(var Y=this.model.getChildCount(u),ia=0;ia<Y;ia++){var la=this.model.getChildAt(u,ia);if(this.model.isEdge(la))this.flipEdgePoints(la,N,Q);else{var oa=this.getCellGeometry(la);null!=oa&&(oa=oa.clone(),N?oa.x=Q+(Q-oa.x-oa.width):oa.y=Q+(Q-oa.y-oa.height),this.model.setGeometry(la,oa))}}}finally{this.model.endUpdate()}};Graph.prototype.flipCells=function(u,N){this.model.beginUpdate();
+try{u=this.model.getTopmostCells(u);for(var Q=[],Y=0;Y<u.length;Y++)if(this.model.isEdge(u[Y])){var ia=this.view.getState(u[Y]);null!=ia&&this.flipEdgePoints(u[Y],N,(N?ia.getCenterX():ia.getCenterY())/this.view.scale-(N?ia.origin.x:ia.origin.y)-(N?this.view.translate.x:this.view.translate.y))}else{var la=this.getCellGeometry(u[Y]);null!=la&&this.flipChildren(u[Y],N,N?la.getCenterX()-la.x:la.getCenterY()-la.y);Q.push(u[Y])}this.toggleCellStyles(N?mxConstants.STYLE_FLIPH:mxConstants.STYLE_FLIPV,!1,
+Q)}finally{this.model.endUpdate()}};Graph.prototype.deleteCells=function(u,N){var Q=null;if(null!=u&&0<u.length){this.model.beginUpdate();try{for(var Y=0;Y<u.length;Y++){var ia=this.model.getParent(u[Y]);if(this.isTable(ia)){var la=this.getCellGeometry(u[Y]),oa=this.getCellGeometry(ia);null!=la&&null!=oa&&(oa=oa.clone(),oa.height-=la.height,this.model.setGeometry(ia,oa))}}var ta=this.selectParentAfterDelete?this.model.getParents(u):null;this.removeCells(u,N)}finally{this.model.endUpdate()}if(null!=
+ta)for(Q=[],Y=0;Y<ta.length;Y++)this.model.contains(ta[Y])&&(this.model.isVertex(ta[Y])||this.model.isEdge(ta[Y]))&&Q.push(ta[Y])}return Q};Graph.prototype.insertTableColumn=function(u,N){var Q=this.getModel();Q.beginUpdate();try{var Y=u,ia=0;if(this.isTableCell(u)){var la=Q.getParent(u);Y=Q.getParent(la);ia=mxUtils.indexOf(Q.getChildCells(la,!0),u)}else this.isTableRow(u)?Y=Q.getParent(u):u=Q.getChildCells(Y,!0)[0],N||(ia=Q.getChildCells(u,!0).length-1);var oa=Q.getChildCells(Y,!0),ta=Graph.minTableColumnWidth;
+for(u=0;u<oa.length;u++){var sa=Q.getChildCells(oa[u],!0)[ia],ya=Q.cloneCell(sa,!1);null==ya&&(ya=this.createVertex());var Ha=this.getCellGeometry(ya);ya.value=null;ya.style=mxUtils.setStyle(mxUtils.setStyle(ya.style,"rowspan",null),"colspan",null);if(null!=Ha){null!=Ha.alternateBounds&&(Ha.width=Ha.alternateBounds.width,Ha.height=Ha.alternateBounds.height,Ha.alternateBounds=null);ta=Ha.width;var Oa=this.getCellGeometry(oa[u]);null!=Oa&&(Ha.height=Oa.height)}Q.add(oa[u],ya,ia+(N?0:1))}var Wa=this.getCellGeometry(Y);
+null!=Wa&&(Wa=Wa.clone(),Wa.width+=ta,Q.setGeometry(Y,Wa))}finally{Q.endUpdate()}};Graph.prototype.deleteLane=function(u){var N=this.getModel();N.beginUpdate();try{var Q=null;Q="stackLayout"==this.getCurrentCellStyle(u).childLayout?u:N.getParent(u);var Y=N.getChildCells(Q,!0);0==Y.length?N.remove(Q):(Q==u&&(u=Y[Y.length-1]),N.remove(u))}finally{N.endUpdate()}};Graph.prototype.insertLane=function(u,N){var Q=this.getModel();Q.beginUpdate();try{var Y=null;if("stackLayout"==this.getCurrentCellStyle(u).childLayout){Y=
+u;var ia=Q.getChildCells(Y,!0);u=ia[N?0:ia.length-1]}else Y=Q.getParent(u);var la=Y.getIndex(u);u=Q.cloneCell(u,!1);u.value=null;Q.add(Y,u,la+(N?0:1))}finally{Q.endUpdate()}};Graph.prototype.insertTableRow=function(u,N){var Q=this.getModel();Q.beginUpdate();try{var Y=u,ia=u;if(this.isTableCell(u))ia=Q.getParent(u),Y=Q.getParent(ia);else if(this.isTableRow(u))Y=Q.getParent(u);else{var la=Q.getChildCells(Y,!0);ia=la[N?0:la.length-1]}var oa=Q.getChildCells(ia,!0),ta=Y.getIndex(ia);ia=Q.cloneCell(ia,
+!1);ia.value=null;var sa=this.getCellGeometry(ia);if(null!=sa){for(la=0;la<oa.length;la++){u=Q.cloneCell(oa[la],!1);u.value=null;u.style=mxUtils.setStyle(mxUtils.setStyle(u.style,"rowspan",null),"colspan",null);var ya=this.getCellGeometry(u);null!=ya&&(null!=ya.alternateBounds&&(ya.width=ya.alternateBounds.width,ya.height=ya.alternateBounds.height,ya.alternateBounds=null),ya.height=sa.height);ia.insert(u)}Q.add(Y,ia,ta+(N?0:1));var Ha=this.getCellGeometry(Y);null!=Ha&&(Ha=Ha.clone(),Ha.height+=sa.height,
+Q.setGeometry(Y,Ha))}}finally{Q.endUpdate()}};Graph.prototype.deleteTableColumn=function(u){var N=this.getModel();N.beginUpdate();try{var Q=u,Y=u;this.isTableCell(u)&&(Y=N.getParent(u));this.isTableRow(Y)&&(Q=N.getParent(Y));var ia=N.getChildCells(Q,!0);if(0==ia.length)N.remove(Q);else{this.isTableRow(Y)||(Y=ia[0]);var la=N.getChildCells(Y,!0);if(1>=la.length)N.remove(Q);else{var oa=la.length-1;this.isTableCell(u)&&(oa=mxUtils.indexOf(la,u));for(Y=u=0;Y<ia.length;Y++){var ta=N.getChildCells(ia[Y],
+!0)[oa];N.remove(ta);var sa=this.getCellGeometry(ta);null!=sa&&(u=Math.max(u,sa.width))}var ya=this.getCellGeometry(Q);null!=ya&&(ya=ya.clone(),ya.width-=u,N.setGeometry(Q,ya))}}}finally{N.endUpdate()}};Graph.prototype.deleteTableRow=function(u){var N=this.getModel();N.beginUpdate();try{var Q=u,Y=u;this.isTableCell(u)&&(u=Y=N.getParent(u));this.isTableRow(u)&&(Q=N.getParent(Y));var ia=N.getChildCells(Q,!0);if(1>=ia.length)N.remove(Q);else{this.isTableRow(Y)||(Y=ia[ia.length-1]);N.remove(Y);u=0;var la=
+this.getCellGeometry(Y);null!=la&&(u=la.height);var oa=this.getCellGeometry(Q);null!=oa&&(oa=oa.clone(),oa.height-=u,N.setGeometry(Q,oa))}}finally{N.endUpdate()}};Graph.prototype.insertRow=function(u,N){for(var Q=u.tBodies[0],Y=Q.rows[0].cells,ia=u=0;ia<Y.length;ia++){var la=Y[ia].getAttribute("colspan");u+=null!=la?parseInt(la):1}N=Q.insertRow(N);for(ia=0;ia<u;ia++)mxUtils.br(N.insertCell(-1));return N.cells[0]};Graph.prototype.deleteRow=function(u,N){u.tBodies[0].deleteRow(N)};Graph.prototype.insertColumn=
+function(u,N){var Q=u.tHead;if(null!=Q)for(var Y=0;Y<Q.rows.length;Y++){var ia=document.createElement("th");Q.rows[Y].appendChild(ia);mxUtils.br(ia)}u=u.tBodies[0];for(Q=0;Q<u.rows.length;Q++)Y=u.rows[Q].insertCell(N),mxUtils.br(Y);return u.rows[0].cells[0<=N?N:u.rows[0].cells.length-1]};Graph.prototype.deleteColumn=function(u,N){if(0<=N){u=u.tBodies[0].rows;for(var Q=0;Q<u.length;Q++)u[Q].cells.length>N&&u[Q].deleteCell(N)}};Graph.prototype.pasteHtmlAtCaret=function(u){if(window.getSelection){var N=
+window.getSelection();if(N.getRangeAt&&N.rangeCount){N=N.getRangeAt(0);N.deleteContents();var Q=document.createElement("div");Q.innerHTML=u;u=document.createDocumentFragment();for(var Y;Y=Q.firstChild;)lastNode=u.appendChild(Y);N.insertNode(u)}}else(N=document.selection)&&"Control"!=N.type&&N.createRange().pasteHTML(u)};Graph.prototype.createLinkForHint=function(u,N,Q){function Y(la,oa){la.length>oa&&(la=la.substring(0,Math.round(oa/2))+"..."+la.substring(la.length-Math.round(oa/4)));return la}u=
+null!=u?u:"javascript:void(0);";if(null==N||0==N.length)N=this.isCustomLink(u)?this.getLinkTitle(u):u;var ia=document.createElement("a");ia.setAttribute("rel",this.linkRelation);ia.setAttribute("href",this.getAbsoluteUrl(u));ia.setAttribute("title",Y(this.isCustomLink(u)?this.getLinkTitle(u):u,80));null!=this.linkTarget&&ia.setAttribute("target",this.linkTarget);mxUtils.write(ia,Y(N,40));this.isCustomLink(u)&&mxEvent.addListener(ia,"click",mxUtils.bind(this,function(la){this.customLinkClicked(u,Q);
+mxEvent.consume(la)}));return ia};Graph.prototype.initTouch=function(){this.connectionHandler.marker.isEnabled=function(){return null!=this.graph.connectionHandler.first};this.addListener(mxEvent.START_EDITING,function(la,oa){this.popupMenuHandler.hideMenu()});var u=this.updateMouseEvent;this.updateMouseEvent=function(la){la=u.apply(this,arguments);if(mxEvent.isTouchEvent(la.getEvent())&&null==la.getState()){var oa=this.getCellAt(la.graphX,la.graphY);null!=oa&&this.isSwimlane(oa)&&this.hitsSwimlaneContent(oa,
+la.graphX,la.graphY)||(la.state=this.view.getState(oa),null!=la.state&&null!=la.state.shape&&(this.container.style.cursor=la.state.shape.node.style.cursor))}null==la.getState()&&this.isEnabled()&&(this.container.style.cursor="default");return la};var N=!1,Q=!1,Y=!1,ia=this.fireMouseEvent;this.fireMouseEvent=function(la,oa,ta){la==mxEvent.MOUSE_DOWN&&(oa=this.updateMouseEvent(oa),N=this.isCellSelected(oa.getCell()),Q=this.isSelectionEmpty(),Y=this.popupMenuHandler.isMenuShowing());ia.apply(this,arguments)};
+this.popupMenuHandler.mouseUp=mxUtils.bind(this,function(la,oa){if(null!=this.freehand&&!this.freehand.isDrawing()){var ta=mxEvent.isMouseEvent(oa.getEvent());this.popupMenuHandler.popupTrigger=!this.isEditing()&&this.isEnabled()&&(null==oa.getState()||!oa.isSource(oa.getState().control))&&(this.popupMenuHandler.popupTrigger||!Y&&!ta&&(Q&&null==oa.getCell()&&this.isSelectionEmpty()||N&&this.isCellSelected(oa.getCell())));ta=!N||ta?null:mxUtils.bind(this,function(sa){window.setTimeout(mxUtils.bind(this,
+function(){if(!this.isEditing()){var ya=mxUtils.getScrollOrigin();this.popupMenuHandler.popup(oa.getX()+ya.x+1,oa.getY()+ya.y+1,sa,oa.getEvent())}}),300)});mxPopupMenuHandler.prototype.mouseUp.apply(this.popupMenuHandler,[la,oa,ta])}})};mxCellEditor.prototype.isContentEditing=function(){var u=this.graph.view.getState(this.editingCell);return null!=u&&1==u.style.html};mxCellEditor.prototype.isTableSelected=function(){return null!=this.graph.getParentByName(this.graph.getSelectedElement(),"TABLE",this.textarea)};
+mxCellEditor.prototype.isTextSelected=function(){var u="";window.getSelection?u=window.getSelection():document.getSelection?u=document.getSelection():document.selection&&(u=document.selection.createRange().text);return""!=u};mxCellEditor.prototype.insertTab=function(u){var N=this.textarea.ownerDocument.defaultView.getSelection(),Q=N.getRangeAt(0);u=Graph.createTabNode(u);Q.insertNode(u);Q.setStartAfter(u);Q.setEndAfter(u);N.removeAllRanges();N.addRange(Q)};mxCellEditor.prototype.alignText=function(u,
+N){var Q=this.graph.getView().getState(this.editingCell);if(null!=Q){Q=mxUtils.getValue(Q.style,mxConstants.STYLE_TEXT_DIRECTION,mxConstants.DEFAULT_TEXT_DIRECTION);var Y=null!=Q&&"vertical-"==Q.substring(0,9),ia=null!=N&&mxEvent.isShiftDown(N);if(ia||null!=window.getSelection&&null!=window.getSelection().containsNode){var la=!0;this.graph.processElements(this.textarea,function(oa){ia||Y||window.getSelection().containsNode(oa,!0)?(oa.removeAttribute("align"),oa.style.textAlign=null):la=!1});(la||
+Y)&&this.graph.cellEditor.setAlign(u)}Y||document.execCommand("justify"+u.toLowerCase(),!1,null)}};mxCellEditor.prototype.saveSelection=function(){if(window.getSelection){var u=window.getSelection();if(u.getRangeAt&&u.rangeCount){for(var N=[],Q=0,Y=u.rangeCount;Q<Y;++Q)N.push(u.getRangeAt(Q));return N}}else if(document.selection&&document.selection.createRange)return document.selection.createRange();return null};mxCellEditor.prototype.restoreSelection=function(u){try{if(u)if(window.getSelection){sel=
+window.getSelection();sel.removeAllRanges();for(var N=0,Q=u.length;N<Q;++N)sel.addRange(u[N])}else document.selection&&u.select&&u.select()}catch(Y){}};var z=mxCellRenderer.prototype.initializeLabel;mxCellRenderer.prototype.initializeLabel=function(u){null!=u.text&&(u.text.replaceLinefeeds="0"!=mxUtils.getValue(u.style,"nl2Br","1"));z.apply(this,arguments)};var A=mxConstraintHandler.prototype.update;mxConstraintHandler.prototype.update=function(u,N){this.isKeepFocusEvent(u)||!mxEvent.isAltDown(u.getEvent())?
+A.apply(this,arguments):this.reset()};mxGuide.prototype.createGuideShape=function(u){return new mxPolyline([],mxConstants.GUIDE_COLOR,mxConstants.GUIDE_STROKEWIDTH)};mxCellEditor.prototype.escapeCancelsEditing=!1;var B=mxCellEditor.prototype.startEditing;mxCellEditor.prototype.startEditing=function(u,N){u=this.graph.getStartEditingCell(u,N);B.apply(this,arguments);var Q=this.graph.view.getState(u);this.textarea.className=null!=Q&&1==Q.style.html?"mxCellEditor geContentEditable":"mxCellEditor mxPlainTextEditor";
+this.codeViewMode=!1;this.switchSelectionState=null;this.graph.setSelectionCell(u)};mxCellEditor.prototype.toggleViewMode=function(){var u=this.graph.view.getState(this.editingCell);if(null!=u){var N=null!=u&&"0"!=mxUtils.getValue(u.style,"nl2Br","1"),Q=this.saveSelection();if(this.codeViewMode){ta=mxUtils.extractTextWithWhitespace(this.textarea.childNodes);0<ta.length&&"\n"==ta.charAt(ta.length-1)&&(ta=ta.substring(0,ta.length-1));ta=Graph.sanitizeHtml(N?ta.replace(/\n/g,"<br/>"):ta,!0);this.textarea.className=
+"mxCellEditor geContentEditable";sa=mxUtils.getValue(u.style,mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE);N=mxUtils.getValue(u.style,mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY);var Y=mxUtils.getValue(u.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_LEFT),ia=(mxUtils.getValue(u.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD,la=(mxUtils.getValue(u.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC,
+oa=[];(mxUtils.getValue(u.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&oa.push("underline");(mxUtils.getValue(u.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_STRIKETHROUGH)==mxConstants.FONT_STRIKETHROUGH&&oa.push("line-through");this.textarea.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?Math.round(sa*mxConstants.LINE_HEIGHT)+"px":mxConstants.LINE_HEIGHT;this.textarea.style.fontSize=Math.round(sa)+"px";this.textarea.style.textDecoration=
+oa.join(" ");this.textarea.style.fontWeight=ia?"bold":"normal";this.textarea.style.fontStyle=la?"italic":"";this.textarea.style.fontFamily=N;this.textarea.style.textAlign=Y;this.textarea.style.padding="0px";this.textarea.innerHTML!=ta&&(this.textarea.innerHTML=ta,0==this.textarea.innerHTML.length&&(this.textarea.innerHTML=this.getEmptyLabelText(),this.clearOnChange=0<this.textarea.innerHTML.length));this.codeViewMode=!1}else{this.clearOnChange&&this.textarea.innerHTML==this.getEmptyLabelText()&&(this.clearOnChange=
+!1,this.textarea.innerText="");var ta=mxUtils.htmlEntities(this.textarea.innerHTML);8!=document.documentMode&&(ta=mxUtils.replaceTrailingNewlines(ta,"<div><br></div>"));ta=Graph.sanitizeHtml(N?ta.replace(/\n/g,"").replace(/&lt;br\s*.?&gt;/g,"<br>"):ta,!0);this.textarea.className="mxCellEditor mxPlainTextEditor";var sa=mxConstants.DEFAULT_FONTSIZE;this.textarea.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?Math.round(sa*mxConstants.LINE_HEIGHT)+"px":mxConstants.LINE_HEIGHT;this.textarea.style.fontSize=
+Math.round(sa)+"px";this.textarea.style.textDecoration="";this.textarea.style.fontWeight="normal";this.textarea.style.fontStyle="";this.textarea.style.fontFamily=mxConstants.DEFAULT_FONTFAMILY;this.textarea.style.textAlign="left";this.textarea.style.width="";this.textarea.style.padding="2px";this.textarea.innerHTML!=ta&&(this.textarea.innerHTML=ta);this.codeViewMode=!0}this.textarea.focus();null!=this.switchSelectionState&&this.restoreSelection(this.switchSelectionState);this.switchSelectionState=
+Q;this.resize()}};var G=mxCellEditor.prototype.resize;mxCellEditor.prototype.resize=function(u,N){if(null!=this.textarea)if(u=this.graph.getView().getState(this.editingCell),this.codeViewMode&&null!=u){var Q=u.view.scale;this.bounds=mxRectangle.fromRectangle(u);if(0==this.bounds.width&&0==this.bounds.height){this.bounds.width=160*Q;this.bounds.height=60*Q;var Y=null!=u.text?u.text.margin:null;null==Y&&(Y=mxUtils.getAlignmentAsPoint(mxUtils.getValue(u.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER),
+mxUtils.getValue(u.style,mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE)));this.bounds.x+=Y.x*this.bounds.width;this.bounds.y+=Y.y*this.bounds.height}this.textarea.style.width=Math.round((this.bounds.width-4)/Q)+"px";this.textarea.style.height=Math.round((this.bounds.height-4)/Q)+"px";this.textarea.style.overflow="auto";this.textarea.clientHeight<this.textarea.offsetHeight&&(this.textarea.style.height=Math.round(this.bounds.height/Q)+(this.textarea.offsetHeight-this.textarea.clientHeight)+
+"px",this.bounds.height=parseInt(this.textarea.style.height)*Q);this.textarea.clientWidth<this.textarea.offsetWidth&&(this.textarea.style.width=Math.round(this.bounds.width/Q)+(this.textarea.offsetWidth-this.textarea.clientWidth)+"px",this.bounds.width=parseInt(this.textarea.style.width)*Q);this.textarea.style.left=Math.round(this.bounds.x)+"px";this.textarea.style.top=Math.round(this.bounds.y)+"px";mxUtils.setPrefixedStyle(this.textarea.style,"transform","scale("+Q+","+Q+")")}else this.textarea.style.height=
+"",this.textarea.style.overflow="",G.apply(this,arguments)};mxCellEditorGetInitialValue=mxCellEditor.prototype.getInitialValue;mxCellEditor.prototype.getInitialValue=function(u,N){if("0"==mxUtils.getValue(u.style,"html","0"))return mxCellEditorGetInitialValue.apply(this,arguments);var Q=this.graph.getEditingValue(u.cell,N);"1"==mxUtils.getValue(u.style,"nl2Br","1")&&(Q=Q.replace(/\n/g,"<br/>"));return Q=Graph.sanitizeHtml(Q,!0)};mxCellEditorGetCurrentValue=mxCellEditor.prototype.getCurrentValue;mxCellEditor.prototype.getCurrentValue=
+function(u){if("0"==mxUtils.getValue(u.style,"html","0"))return mxCellEditorGetCurrentValue.apply(this,arguments);var N=Graph.sanitizeHtml(this.textarea.innerHTML,!0);"1"==mxUtils.getValue(u.style,"nl2Br","1")?(N=N.replace(/\r\n/g,"<br/>").replace(/\n/g,"<br/>"),0<N.length&&("<br/>"==N.substring(N.length-5)||"<br>"==N.substring(N.length-4))&&(N=N.substring(0,N.lastIndexOf("<br"))+"<div><br/></div>")):N=N.replace(/\r\n/g,"").replace(/\n/g,"");return N};var L=mxCellEditor.prototype.stopEditing;mxCellEditor.prototype.stopEditing=
+function(u){this.codeViewMode&&this.toggleViewMode();L.apply(this,arguments);this.focusContainer()};mxCellEditor.prototype.focusContainer=function(){try{this.graph.container.focus()}catch(u){}};var P=mxCellEditor.prototype.applyValue;mxCellEditor.prototype.applyValue=function(u,N){this.graph.getModel().beginUpdate();try{P.apply(this,arguments),""==N&&this.graph.isCellDeletable(u.cell)&&0==this.graph.model.getChildCount(u.cell)&&this.graph.isTransparentState(u)&&this.graph.removeCells([u.cell],!1)}finally{this.graph.getModel().endUpdate()}};
+mxCellEditor.prototype.getBackgroundColor=function(u){u=mxUtils.getValue(u.style,mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,null);u==mxConstants.NONE&&(u=null);return u};mxCellEditor.prototype.getBorderColor=function(u){u=mxUtils.getValue(u.style,mxConstants.STYLE_LABEL_BORDERCOLOR,null);u==mxConstants.NONE&&(u=null);return u};mxCellEditor.prototype.getMinimumSize=function(u){var N=this.graph.getView().scale;return new mxRectangle(0,0,null==u.text?30:u.text.size*N+20,30)};mxGraphHandlerIsValidDropTarget=
+mxGraphHandler.prototype.isValidDropTarget;mxGraphHandler.prototype.isValidDropTarget=function(u,N){return mxGraphHandlerIsValidDropTarget.apply(this,arguments)&&!mxEvent.isAltDown(N.getEvent)};mxGraphView.prototype.formatUnitText=function(u){return u?e(u,this.unit):u};mxGraphHandler.prototype.updateHint=function(u){if(null!=this.pBounds&&(null!=this.shape||this.livePreviewActive)){null==this.hint&&(this.hint=b(),this.graph.container.appendChild(this.hint));var N=this.graph.view.translate,Q=this.graph.view.scale;
+u=this.roundLength((this.bounds.x+this.currentDx)/Q-N.x);N=this.roundLength((this.bounds.y+this.currentDy)/Q-N.y);Q=this.graph.view.unit;this.hint.innerHTML=e(u,Q)+", "+e(N,Q);this.hint.style.left=this.pBounds.x+this.currentDx+Math.round((this.pBounds.width-this.hint.clientWidth)/2)+"px";this.hint.style.top=this.pBounds.y+this.currentDy+this.pBounds.height+Editor.hintOffset+"px"}};mxGraphHandler.prototype.removeHint=function(){null!=this.hint&&(null!=this.hint.parentNode&&this.hint.parentNode.removeChild(this.hint),
+this.hint=null)};var J=mxStackLayout.prototype.resizeCell;mxStackLayout.prototype.resizeCell=function(u,N){J.apply(this,arguments);var Q=this.graph.getCellStyle(u);if(null==Q.childLayout){var Y=this.graph.model.getParent(u),ia=null!=Y?this.graph.getCellGeometry(Y):null;if(null!=ia&&(Q=this.graph.getCellStyle(Y),"stackLayout"==Q.childLayout)){var la=parseFloat(mxUtils.getValue(Q,"stackBorder",mxStackLayout.prototype.border));Q="1"==mxUtils.getValue(Q,"horizontalStack","1");var oa=this.graph.getActualStartSize(Y);
+ia=ia.clone();Q?ia.height=N.height+oa.y+oa.height+2*la:ia.width=N.width+oa.x+oa.width+2*la;this.graph.model.setGeometry(Y,ia)}}};var fa=mxSelectionCellsHandler.prototype.getHandledSelectionCells;mxSelectionCellsHandler.prototype.getHandledSelectionCells=function(){function u(ta){Q.get(ta)||(Q.put(ta,!0),ia.push(ta))}for(var N=fa.apply(this,arguments),Q=new mxDictionary,Y=this.graph.model,ia=[],la=0;la<N.length;la++){var oa=N[la];this.graph.isTableCell(oa)?u(Y.getParent(Y.getParent(oa))):this.graph.isTableRow(oa)&&
+u(Y.getParent(oa));u(oa)}return ia};var ea=mxConnectionHandler.prototype.isStartEvent;mxConnectionHandler.prototype.isStartEvent=function(u){return ea.apply(this,arguments)&&!mxEvent.isControlDown(u.getEvent())&&!mxEvent.isShiftDown(u.getEvent())};var T=mxVertexHandler.prototype.isGhostPreview;mxVertexHandler.prototype.isGhostPreview=function(){return T.apply(this,arguments)&&!this.graph.isTable(this.state.cell)&&!this.graph.isTableRow(this.state.cell)&&!this.graph.isTableCell(this.state.cell)&&!this.graph.isSwimlane(this.state.cell)};
+var ca=mxVertexHandler.prototype.createParentHighlightShape;mxVertexHandler.prototype.createParentHighlightShape=function(u){var N=ca.apply(this,arguments);N.stroke="#C0C0C0";N.strokewidth=1;return N};var ja=mxEdgeHandler.prototype.createParentHighlightShape;mxEdgeHandler.prototype.createParentHighlightShape=function(u){var N=ja.apply(this,arguments);N.stroke="#C0C0C0";N.strokewidth=1;return N};mxVertexHandler.prototype.rotationHandleVSpacing=-12;mxVertexHandler.prototype.getRotationHandlePosition=
+function(){var u=this.getHandlePadding();return new mxPoint(this.bounds.x+this.bounds.width-this.rotationHandleVSpacing+u.x/2,this.bounds.y+this.rotationHandleVSpacing-u.y/2)};mxVertexHandler.prototype.isRecursiveResize=function(u,N){return this.graph.isRecursiveVertexResize(u)&&!mxEvent.isAltDown(N.getEvent())};mxVertexHandler.prototype.isCenteredEvent=function(u,N){return mxEvent.isControlDown(N.getEvent())||mxEvent.isMetaDown(N.getEvent())};var ma=mxVertexHandler.prototype.isRotationHandleVisible;
+mxVertexHandler.prototype.isRotationHandleVisible=function(){return ma.apply(this,arguments)&&!this.graph.isTableCell(this.state.cell)&&!this.graph.isTableRow(this.state.cell)&&!this.graph.isTable(this.state.cell)};mxVertexHandler.prototype.getSizerBounds=function(){return this.graph.isTableCell(this.state.cell)?this.graph.view.getState(this.graph.model.getParent(this.graph.model.getParent(this.state.cell))):this.bounds};var aa=mxVertexHandler.prototype.isParentHighlightVisible;mxVertexHandler.prototype.isParentHighlightVisible=
+function(){return aa.apply(this,arguments)&&!this.graph.isTableCell(this.state.cell)&&!this.graph.isTableRow(this.state.cell)};var V=mxVertexHandler.prototype.isCustomHandleVisible;mxVertexHandler.prototype.isCustomHandleVisible=function(u){return u.tableHandle||V.apply(this,arguments)&&(!this.graph.isTable(this.state.cell)||this.graph.isCellSelected(this.state.cell))};mxVertexHandler.prototype.getSelectionBorderInset=function(){var u=0;this.graph.isTableRow(this.state.cell)?u=1:this.graph.isTableCell(this.state.cell)&&
+(u=2);return u};var da=mxVertexHandler.prototype.getSelectionBorderBounds;mxVertexHandler.prototype.getSelectionBorderBounds=function(){return da.apply(this,arguments).grow(-this.getSelectionBorderInset())};var k=null,t=mxVertexHandler.prototype.createCustomHandles;mxVertexHandler.prototype.createCustomHandles=function(){null==k&&(k=mxCellRenderer.defaultShapes.tableLine);var u=t.apply(this,arguments);if(this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell)){var N=function(ab,
+Ta,Pa){for(var kb=[],cb=0;cb<ab.length;cb++){var $a=ab[cb];kb.push(null==$a?null:new mxPoint((sa+$a.x+Ta)*la,(ya+$a.y+Pa)*la))}return kb},Q=this,Y=this.graph,ia=Y.model,la=Y.view.scale,oa=this.state,ta=this.selectionBorder,sa=this.state.origin.x+Y.view.translate.x,ya=this.state.origin.y+Y.view.translate.y;null==u&&(u=[]);var Ha=Y.view.getCellStates(ia.getChildCells(this.state.cell,!0));if(0<Ha.length){var Oa=ia.getChildCells(Ha[0].cell,!0),Wa=Y.getTableLines(this.state.cell,!1,!0),Za=Y.getTableLines(this.state.cell,
+!0,!1);for(ia=0;ia<Ha.length;ia++)mxUtils.bind(this,function(ab){var Ta=Ha[ab],Pa=null;if(Y.isCellMovable(Ta.cell)){Pa=ab<Ha.length-1?Ha[ab+1]:null;Pa=null!=Pa?Y.getCellGeometry(Pa.cell):null;var kb=null!=Pa&&null!=Pa.alternateBounds?Pa.alternateBounds:Pa;Pa=null!=Za[ab]?new k(Za[ab],mxConstants.NONE,1):new mxLine(new mxRectangle,mxConstants.NONE,1,!1);Pa.isDashed=ta.isDashed;Pa.svgStrokeTolerance++;Pa=new mxHandle(Ta,"row-resize",null,Pa);Pa.tableHandle=!0;var cb=0;Pa.shape.node.parentNode.insertBefore(Pa.shape.node,
+Pa.shape.node.parentNode.firstChild);Pa.redraw=function(){if(null!=this.shape){this.shape.stroke=0==cb?mxConstants.NONE:ta.stroke;if(this.shape.constructor==k)this.shape.line=N(Za[ab],0,cb),this.shape.updateBoundsFromLine();else{var gb=Y.getActualStartSize(oa.cell,!0);this.shape.bounds.height=1;this.shape.bounds.y=this.state.y+this.state.height+cb*la;this.shape.bounds.x=oa.x+(ab==Ha.length-1?0:gb.x*la);this.shape.bounds.width=oa.width-(ab==Ha.length-1?0:gb.width+gb.x+la)}this.shape.redraw()}};var $a=
+!1;Pa.setPosition=function(gb,ib,mb){cb=Math.max(Graph.minTableRowHeight-gb.height,ib.y-gb.y-gb.height);$a=mxEvent.isShiftDown(mb.getEvent());null!=kb&&$a&&(cb=Math.min(cb,kb.height-Graph.minTableRowHeight))};Pa.execute=function(gb){if(0!=cb)Y.setTableRowHeight(this.state.cell,cb,!$a);else if(!Q.blockDelayedSelection){var ib=Y.getCellAt(gb.getGraphX(),gb.getGraphY())||oa.cell;Y.graphHandler.selectCellForEvent(ib,gb)}cb=0};Pa.reset=function(){cb=0}}u.push(Pa)})(ia);for(ia=0;ia<Oa.length;ia++)mxUtils.bind(this,
+function(ab){var Ta=Y.view.getState(Oa[ab]),Pa=Y.getCellGeometry(Oa[ab]),kb=null!=Pa.alternateBounds?Pa.alternateBounds:Pa;null==Ta&&(Ta=new mxCellState(Y.view,Oa[ab],Y.getCellStyle(Oa[ab])),Ta.x=oa.x+Pa.x*la,Ta.y=oa.y+Pa.y*la,Ta.width=kb.width*la,Ta.height=kb.height*la,Ta.updateCachedBounds());Pa=ab<Oa.length-1?Oa[ab+1]:null;Pa=null!=Pa?Y.getCellGeometry(Pa):null;var cb=null!=Pa&&null!=Pa.alternateBounds?Pa.alternateBounds:Pa;Pa=null!=Wa[ab]?new k(Wa[ab],mxConstants.NONE,1):new mxLine(new mxRectangle,
+mxConstants.NONE,1,!0);Pa.isDashed=ta.isDashed;Pa.svgStrokeTolerance++;Ta=new mxHandle(Ta,"col-resize",null,Pa);Ta.tableHandle=!0;var $a=0;Ta.shape.node.parentNode.insertBefore(Ta.shape.node,Ta.shape.node.parentNode.firstChild);Ta.redraw=function(){if(null!=this.shape){this.shape.stroke=0==$a?mxConstants.NONE:ta.stroke;if(this.shape.constructor==k)this.shape.line=N(Wa[ab],$a,0),this.shape.updateBoundsFromLine();else{var ib=Y.getActualStartSize(oa.cell,!0);this.shape.bounds.width=1;this.shape.bounds.x=
+this.state.x+(kb.width+$a)*la;this.shape.bounds.y=oa.y+(ab==Oa.length-1?0:ib.y*la);this.shape.bounds.height=oa.height-(ab==Oa.length-1?0:(ib.height+ib.y)*la)}this.shape.redraw()}};var gb=!1;Ta.setPosition=function(ib,mb,vb){$a=Math.max(Graph.minTableColumnWidth-kb.width,mb.x-ib.x-kb.width);gb=mxEvent.isShiftDown(vb.getEvent());null==cb||gb||($a=Math.min($a,cb.width-Graph.minTableColumnWidth))};Ta.execute=function(ib){if(0!=$a)Y.setTableColumnWidth(this.state.cell,$a,gb);else if(!Q.blockDelayedSelection){var mb=
+Y.getCellAt(ib.getGraphX(),ib.getGraphY())||oa.cell;Y.graphHandler.selectCellForEvent(mb,ib)}$a=0};Ta.positionChanged=function(){};Ta.reset=function(){$a=0};u.push(Ta)})(ia)}}return null!=u?u.reverse():null};var I=mxVertexHandler.prototype.setHandlesVisible;mxVertexHandler.prototype.setHandlesVisible=function(u){I.apply(this,arguments);if(null!=this.moveHandles)for(var N=0;N<this.moveHandles.length;N++)null!=this.moveHandles[N]&&(this.moveHandles[N].node.style.visibility=u?"":"hidden");if(null!=this.cornerHandles)for(N=
+0;N<this.cornerHandles.length;N++)this.cornerHandles[N].node.style.visibility=u?"":"hidden"};mxVertexHandler.prototype.isMoveHandlesVisible=function(){return this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell)};mxVertexHandler.prototype.refreshMoveHandles=function(){var u=this.isMoveHandlesVisible();u&&null==this.moveHandles?this.moveHandles=this.createMoveHandles():u||null==this.moveHandles||this.destroyMoveHandles();if(u&&null==this.moveHandles){for(u=0;u<this.moveHandles.length;u++)null!=
+this.moveHandles[u]&&this.moveHandles[u].parentNode.removeChild(this.moveHandles[u]);this.moveHandles=null}};mxVertexHandler.prototype.createMoveHandles=function(){for(var u=this.graph,N=u.model,Q=[],Y=0;Y<N.getChildCount(this.state.cell);Y++)mxUtils.bind(this,function(ia){if(null!=ia&&N.isVertex(ia.cell)&&u.isCellMovable(ia.cell)){var la=new mxRectangle(0,0,this.rowHandleImage.width,this.rowHandleImage.height);la=new mxImageShape(la,this.rowHandleImage.src);la.rowState=ia;la.dialect=this.graph.dialect!=
+mxConstants.DIALECT_SVG?mxConstants.DIALECT_MIXEDHTML:mxConstants.DIALECT_SVG;la.init(this.graph.getView().getOverlayPane());la.node.style.cursor="move";mxEvent.addGestureListeners(la.node,mxUtils.bind(this,function(oa){this.graph.popupMenuHandler.hideMenu();this.graph.stopEditing(!1);!this.graph.isToggleEvent(oa)&&this.graph.isCellSelected(ia.cell)||this.graph.selectCellForEvent(ia.cell,oa);mxEvent.isPopupTrigger(oa)||(this.graph.graphHandler.start(this.state.cell,mxEvent.getClientX(oa),mxEvent.getClientY(oa),
+this.graph.getSelectionCells()),this.graph.graphHandler.cellWasClicked=!0,this.graph.isMouseTrigger=mxEvent.isMouseEvent(oa),this.graph.isMouseDown=!0);mxEvent.consume(oa)}),null,mxUtils.bind(this,function(oa){mxEvent.isPopupTrigger(oa)&&(this.graph.popupMenuHandler.popup(mxEvent.getClientX(oa),mxEvent.getClientY(oa),ia.cell,oa),mxEvent.consume(oa))}));Q.push(la)}else Q.push(null)})(this.graph.view.getState(N.getChildAt(this.state.cell,Y)));return Q};mxVertexHandler.prototype.destroyMoveHandles=function(){if(null!=
+this.moveHandles){for(var u=0;u<this.moveHandles.length;u++)null!=this.moveHandles[u]&&this.moveHandles[u].destroy();this.moveHandles=null}};mxVertexHandler.prototype.destroyCornerHandles=function(){if(null!=this.cornerHandles){for(var u=0;u<this.cornerHandles.length;u++)null!=this.cornerHandles[u]&&null!=this.cornerHandles[u].node&&null!=this.cornerHandles[u].node.parentNode&&this.cornerHandles[u].node.parentNode.removeChild(this.cornerHandles[u].node);this.cornerHandles=null}};var R=mxVertexHandler.prototype.refresh;
+mxVertexHandler.prototype.refresh=function(){R.apply(this,arguments);this.destroyMoveHandles();this.destroyCornerHandles();if(this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell))this.refreshMoveHandles();else if(1==this.graph.getSelectionCount()&&this.graph.isCellMovable(this.state.cell)&&(this.graph.isTableCell(this.state.cell)||this.graph.isTableRow(this.state.cell))){this.cornerHandles=[];for(var u=0;4>u;u++){var N=new mxRectangleShape(new mxRectangle(0,0,6,6),"#ffffff",
+mxConstants.HANDLE_STROKECOLOR);N.dialect=mxConstants.DIALECT_SVG;N.init(this.graph.view.getOverlayPane());this.cornerHandles.push(N)}}this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell)&&this.refreshMoveHandles();u=this.graph.getLinkForCell(this.state.cell);N=this.graph.getLinksForState(this.state);this.updateLinkHint(u,N)};var O=mxVertexHandler.prototype.getHandlePadding;mxVertexHandler.prototype.getHandlePadding=function(){var u=new mxPoint(0,0),N=this.tolerance,Q=this.state.style.shape;
+null==mxCellRenderer.defaultShapes[Q]&&mxStencilRegistry.getStencil(Q);Q=this.graph.isTable(this.state.cell)||this.graph.cellEditor.getEditingCell()==this.state.cell;if(!Q&&null!=this.customHandles)for(var Y=0;Y<this.customHandles.length;Y++)if(null!=this.customHandles[Y]&&null!=this.customHandles[Y].shape&&null!=this.customHandles[Y].shape.bounds){var ia=this.customHandles[Y].shape.bounds,la=ia.getCenterX(),oa=ia.getCenterY();if(Math.abs(this.state.x-la)<ia.width/2||Math.abs(this.state.y-oa)<ia.height/
+2||Math.abs(this.state.x+this.state.width-la)<ia.width/2||Math.abs(this.state.y+this.state.height-oa)<ia.height/2){Q=!0;break}}Q&&null!=this.sizers&&0<this.sizers.length&&null!=this.sizers[0]?(N/=2,this.graph.isTable(this.state.cell)&&(N+=7),u.x=this.sizers[0].bounds.width+N,u.y=this.sizers[0].bounds.height+N):u=O.apply(this,arguments);return u};mxVertexHandler.prototype.updateHint=function(u){if(this.index!=mxEvent.LABEL_HANDLE){null==this.hint&&(this.hint=b(),this.state.view.graph.container.appendChild(this.hint));
+if(this.index==mxEvent.ROTATION_HANDLE)this.hint.innerHTML=this.currentAlpha+"&deg;";else{u=this.state.view.scale;var N=this.state.view.unit;this.hint.innerHTML=e(this.roundLength(this.bounds.width/u),N)+" x "+e(this.roundLength(this.bounds.height/u),N)}u=mxUtils.getBoundingBox(this.bounds,null!=this.currentAlpha?this.currentAlpha:this.state.style[mxConstants.STYLE_ROTATION]||"0");null==u&&(u=this.bounds);this.hint.style.left=u.x+Math.round((u.width-this.hint.clientWidth)/2)+"px";this.hint.style.top=
+u.y+u.height+Editor.hintOffset+"px";null!=this.linkHint&&(this.linkHint.style.display="none")}};mxVertexHandler.prototype.removeHint=function(){mxGraphHandler.prototype.removeHint.apply(this,arguments);null!=this.linkHint&&(this.linkHint.style.display="")};var X=mxEdgeHandler.prototype.refresh;mxEdgeHandler.prototype.refresh=function(){X.apply(this,arguments);var u=this.graph.getLinkForCell(this.state.cell),N=this.graph.getLinksForState(this.state);this.updateLinkHint(u,N)};var Z=mxEdgeHandler.prototype.mouseMove;
+mxEdgeHandler.prototype.mouseMove=function(u,N){Z.apply(this,arguments);null!=this.linkHint&&"none"!=this.linkHint.style.display&&null!=this.graph.graphHandler&&null!=this.graph.graphHandler.first&&(this.linkHint.style.display="none")};var ba=mxEdgeHandler.prototype.mouseUp;mxEdgeHandler.prototype.mouseUp=function(u,N){ba.apply(this,arguments);null!=this.linkHint&&"none"==this.linkHint.style.display&&1==this.graph.getSelectionCount()&&(this.linkHint.style.display="")};mxEdgeHandler.prototype.updateHint=
+function(u,N,Q){null==this.hint&&(this.hint=b(),this.state.view.graph.container.appendChild(this.hint));var Y=this.graph.view.translate,ia=this.graph.view.scale,la=this.roundLength(N.x/ia-Y.x);Y=this.roundLength(N.y/ia-Y.y);var oa=this.graph.view.unit;this.hint.innerHTML=e(la,oa)+", "+e(Y,oa);this.hint.style.visibility="visible";null!=Q&&(Q.view.updateEdgeBounds(Q),this.hint.innerHTML+=" ("+(oa==mxConstants.POINTS?Math.round(Q.length/ia):e(Q.length/ia,oa))+")");if(this.isSource||this.isTarget)null!=
+this.constraintHandler&&null!=this.constraintHandler.currentConstraint&&null!=this.constraintHandler.currentFocus?(Q=this.constraintHandler.currentConstraint.point,this.hint.innerHTML="["+Math.round(100*Q.x)+"%, "+Math.round(100*Q.y)+"%]"):this.marker.hasValidState()&&(this.hint.style.visibility="hidden");this.hint.style.left=Math.round(u.getGraphX()-this.hint.clientWidth/2)+"px";this.hint.style.top=Math.max(u.getGraphY(),N.y)+Editor.hintOffset+"px";null!=this.linkHint&&(this.linkHint.style.display=
+"none")};Graph.prototype.expandedImage=Graph.createSvgImage(9,9,'<defs><linearGradient id="grad1" x1="50%" y1="0%" x2="50%" y2="100%"><stop offset="30%" style="stop-color:#f0f0f0;" /><stop offset="100%" style="stop-color:#AFB0B6;" /></linearGradient></defs><rect x="0" y="0" width="9" height="9" stroke="#8A94A5" fill="url(#grad1)" stroke-width="2"/><path d="M 2 4.5 L 7 4.5 z" stroke="#000"/>');Graph.prototype.collapsedImage=Graph.createSvgImage(9,9,'<defs><linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="30%" style="stop-color:#f0f0f0;" /><stop offset="100%" style="stop-color:#AFB0B6;" /></linearGradient></defs><rect x="0" y="0" width="9" height="9" stroke="#8A94A5" fill="url(#grad1)" stroke-width="2"/><path d="M 4.5 2 L 4.5 7 M 2 4.5 L 7 4.5 z" stroke="#000"/>');
+mxEdgeHandler.prototype.removeHint=mxVertexHandler.prototype.removeHint;HoverIcons.prototype.mainHandle=Graph.createSvgImage(18,18,'<circle cx="9" cy="9" r="5" stroke="#fff" fill="'+HoverIcons.prototype.arrowFill+'"/>');HoverIcons.prototype.endMainHandle=Graph.createSvgImage(18,18,'<circle cx="9" cy="9" r="6" stroke="#fff" fill="'+HoverIcons.prototype.arrowFill+'"/>');HoverIcons.prototype.secondaryHandle=Graph.createSvgImage(16,16,'<path d="m 8 3 L 13 8 L 8 13 L 3 8 z" stroke="#fff" fill="#fca000"/>');
+HoverIcons.prototype.fixedHandle=Graph.createSvgImage(22,22,'<circle cx="11" cy="11" r="6" stroke="#fff" fill="#01bd22"/><path d="m 8 8 L 14 14M 8 14 L 14 8" stroke="#fff"/>');HoverIcons.prototype.endFixedHandle=Graph.createSvgImage(22,22,'<circle cx="11" cy="11" r="7" stroke="#fff" fill="#01bd22"/><path d="m 8 8 L 14 14M 8 14 L 14 8" stroke="#fff"/>');HoverIcons.prototype.terminalHandle=Graph.createSvgImage(22,22,'<circle cx="11" cy="11" r="6" stroke="#fff" fill="'+HoverIcons.prototype.arrowFill+
+'"/><circle cx="11" cy="11" r="3" stroke="#fff" fill="transparent"/>');HoverIcons.prototype.endTerminalHandle=Graph.createSvgImage(22,22,'<circle cx="11" cy="11" r="7" stroke="#fff" fill="'+HoverIcons.prototype.arrowFill+'"/><circle cx="11" cy="11" r="3" stroke="#fff" fill="transparent"/>');HoverIcons.prototype.rotationHandle=Graph.createSvgImage(16,16,'<path stroke="'+HoverIcons.prototype.arrowFill+'" fill="'+HoverIcons.prototype.arrowFill+'" d="M15.55 5.55L11 1v3.07C7.06 4.56 4 7.92 4 12s3.05 7.44 7 7.93v-2.02c-2.84-.48-5-2.94-5-5.91s2.16-5.43 5-5.91V10l4.55-4.45zM19.93 11c-.17-1.39-.72-2.73-1.62-3.89l-1.42 1.42c.54.75.88 1.6 1.02 2.47h2.02zM13 17.9v2.02c1.39-.17 2.74-.71 3.9-1.61l-1.44-1.44c-.75.54-1.59.89-2.46 1.03zm3.89-2.42l1.42 1.41c.9-1.16 1.45-2.5 1.62-3.89h-2.02c-.14.87-.48 1.72-1.02 2.48z"/>',
24,24);mxConstraintHandler.prototype.pointImage=Graph.createSvgImage(5,5,'<path d="m 0 0 L 5 5 M 0 5 L 5 0" stroke-width="2" style="stroke-opacity:0.4" stroke="#ffffff"/><path d="m 0 0 L 5 5 M 0 5 L 5 0" stroke="'+HoverIcons.prototype.arrowFill+'"/>');mxVertexHandler.TABLE_HANDLE_COLOR="#fca000";mxVertexHandler.prototype.handleImage=HoverIcons.prototype.mainHandle;mxVertexHandler.prototype.secondaryHandleImage=HoverIcons.prototype.secondaryHandle;mxVertexHandler.prototype.rowHandleImage=Graph.createSvgImage(14,
12,'<rect x="2" y="2" width="10" height="3" stroke-width="1" stroke="#ffffff" fill="'+HoverIcons.prototype.arrowFill+'"/><rect x="2" y="7" width="10" height="3" stroke-width="1" stroke="#ffffff" fill="'+HoverIcons.prototype.arrowFill+'"/>');mxEdgeHandler.prototype.handleImage=HoverIcons.prototype.mainHandle;mxEdgeHandler.prototype.endHandleImage=HoverIcons.prototype.endMainHandle;mxEdgeHandler.prototype.terminalHandleImage=HoverIcons.prototype.terminalHandle;mxEdgeHandler.prototype.endTerminalHandleImage=
HoverIcons.prototype.endTerminalHandle;mxEdgeHandler.prototype.fixedHandleImage=HoverIcons.prototype.fixedHandle;mxEdgeHandler.prototype.endFixedHandleImage=HoverIcons.prototype.endFixedHandle;mxEdgeHandler.prototype.labelHandleImage=HoverIcons.prototype.secondaryHandle;mxOutline.prototype.sizerImage=HoverIcons.prototype.mainHandle;null!=window.Sidebar&&(Sidebar.prototype.triangleUp=HoverIcons.prototype.triangleUp,Sidebar.prototype.triangleRight=HoverIcons.prototype.triangleRight,Sidebar.prototype.triangleDown=
@@ -2688,29 +2686,29 @@ HoverIcons.prototype.triangleDown,Sidebar.prototype.triangleLeft=HoverIcons.prot
!0;mxVertexHandler.prototype.parentHighlightEnabled=!0;mxEdgeHandler.prototype.parentHighlightEnabled=!0;mxEdgeHandler.prototype.dblClickRemoveEnabled=!0;mxEdgeHandler.prototype.straightRemoveEnabled=!0;mxEdgeHandler.prototype.virtualBendsEnabled=!0;mxEdgeHandler.prototype.mergeRemoveEnabled=!0;mxEdgeHandler.prototype.manageLabelHandle=!0;mxEdgeHandler.prototype.outlineConnect=!0;mxEdgeHandler.prototype.isAddVirtualBendEvent=function(u){return!mxEvent.isShiftDown(u.getEvent())};mxEdgeHandler.prototype.isCustomHandleEvent=
function(u){return!mxEvent.isShiftDown(u.getEvent())};if(Graph.touchStyle){if(mxClient.IS_TOUCH||0<navigator.maxTouchPoints||0<navigator.msMaxTouchPoints)mxShape.prototype.svgStrokeTolerance=18,mxVertexHandler.prototype.tolerance=12,mxEdgeHandler.prototype.tolerance=12,Graph.prototype.tolerance=12,mxVertexHandler.prototype.rotationHandleVSpacing=-16,mxConstraintHandler.prototype.getTolerance=function(u){return mxEvent.isMouseEvent(u.getEvent())?4:this.graph.getTolerance()};mxPanningHandler.prototype.isPanningTrigger=
function(u){var N=u.getEvent();return null==u.getState()&&!mxEvent.isMouseEvent(N)||mxEvent.isPopupTrigger(N)&&(null==u.getState()||mxEvent.isControlDown(N)||mxEvent.isShiftDown(N))}}else mxPanningHandler.prototype.isPanningTrigger=function(u){var N=u.getEvent();return mxEvent.isLeftMouseButton(N)&&(this.useLeftButtonForPanning&&null==u.getState()||mxEvent.isControlDown(N)&&!mxEvent.isShiftDown(N))||this.usePopupTrigger&&mxEvent.isPopupTrigger(N)};mxRubberband.prototype.isSpaceEvent=function(u){return this.graph.isEnabled()&&
-!this.graph.isCellLocked(this.graph.getDefaultParent())&&(mxEvent.isControlDown(u.getEvent())||mxEvent.isMetaDown(u.getEvent()))&&mxEvent.isShiftDown(u.getEvent())&&mxEvent.isAltDown(u.getEvent())};mxRubberband.prototype.cancelled=!1;mxRubberband.prototype.cancel=function(){this.isActive()&&(this.cancelled=!0,this.reset())};mxRubberband.prototype.mouseUp=function(u,N){if(this.cancelled)this.cancelled=!1,N.consume();else{var Q=null!=this.div&&"none"!=this.div.style.display,Y=null,ia=null,ja=u=null;
-null!=this.first&&null!=this.currentX&&null!=this.currentY&&(Y=this.first.x,ia=this.first.y,u=(this.currentX-Y)/this.graph.view.scale,ja=(this.currentY-ia)/this.graph.view.scale,mxEvent.isAltDown(N.getEvent())||(u=this.graph.snap(u),ja=this.graph.snap(ja),this.graph.isGridEnabled()||(Math.abs(u)<this.graph.tolerance&&(u=0),Math.abs(ja)<this.graph.tolerance&&(ja=0))));this.reset();if(Q){if(this.isSpaceEvent(N)){this.graph.model.beginUpdate();try{var oa=this.graph.getCellsBeyond(Y,ia,this.graph.getDefaultParent(),
-!0,!0);for(Q=0;Q<oa.length;Q++)if(this.graph.isCellMovable(oa[Q])){var ta=this.graph.view.getState(oa[Q]),sa=this.graph.getCellGeometry(oa[Q]);null!=ta&&null!=sa&&(sa=sa.clone(),sa.translate(u,ja),this.graph.model.setGeometry(oa[Q],sa))}}finally{this.graph.model.endUpdate()}}else oa=new mxRectangle(this.x,this.y,this.width,this.height),this.graph.selectRegion(oa,N.getEvent());N.consume()}}};mxRubberband.prototype.mouseMove=function(u,N){if(!N.isConsumed()&&null!=this.first){var Q=mxUtils.getScrollOrigin(this.graph.container);
-u=mxUtils.getOffset(this.graph.container);Q.x-=u.x;Q.y-=u.y;u=N.getX()+Q.x;Q=N.getY()+Q.y;var Y=this.first.x-u,ia=this.first.y-Q,ja=this.graph.tolerance;if(null!=this.div||Math.abs(Y)>ja||Math.abs(ia)>ja)null==this.div&&(this.div=this.createShape()),mxUtils.clearSelection(),this.update(u,Q),this.isSpaceEvent(N)?(u=this.x+this.width,Q=this.y+this.height,Y=this.graph.view.scale,mxEvent.isAltDown(N.getEvent())||(this.width=this.graph.snap(this.width/Y)*Y,this.height=this.graph.snap(this.height/Y)*Y,
+!this.graph.isCellLocked(this.graph.getDefaultParent())&&(mxEvent.isControlDown(u.getEvent())||mxEvent.isMetaDown(u.getEvent()))&&mxEvent.isShiftDown(u.getEvent())&&mxEvent.isAltDown(u.getEvent())};mxRubberband.prototype.cancelled=!1;mxRubberband.prototype.cancel=function(){this.isActive()&&(this.cancelled=!0,this.reset())};mxRubberband.prototype.mouseUp=function(u,N){if(this.cancelled)this.cancelled=!1,N.consume();else{var Q=null!=this.div&&"none"!=this.div.style.display,Y=null,ia=null,la=u=null;
+null!=this.first&&null!=this.currentX&&null!=this.currentY&&(Y=this.first.x,ia=this.first.y,u=(this.currentX-Y)/this.graph.view.scale,la=(this.currentY-ia)/this.graph.view.scale,mxEvent.isAltDown(N.getEvent())||(u=this.graph.snap(u),la=this.graph.snap(la),this.graph.isGridEnabled()||(Math.abs(u)<this.graph.tolerance&&(u=0),Math.abs(la)<this.graph.tolerance&&(la=0))));this.reset();if(Q){if(this.isSpaceEvent(N)){this.graph.model.beginUpdate();try{var oa=this.graph.getCellsBeyond(Y,ia,this.graph.getDefaultParent(),
+!0,!0);for(Q=0;Q<oa.length;Q++)if(this.graph.isCellMovable(oa[Q])){var ta=this.graph.view.getState(oa[Q]),sa=this.graph.getCellGeometry(oa[Q]);null!=ta&&null!=sa&&(sa=sa.clone(),sa.translate(u,la),this.graph.model.setGeometry(oa[Q],sa))}}finally{this.graph.model.endUpdate()}}else oa=new mxRectangle(this.x,this.y,this.width,this.height),this.graph.selectRegion(oa,N.getEvent());N.consume()}}};mxRubberband.prototype.mouseMove=function(u,N){if(!N.isConsumed()&&null!=this.first){var Q=mxUtils.getScrollOrigin(this.graph.container);
+u=mxUtils.getOffset(this.graph.container);Q.x-=u.x;Q.y-=u.y;u=N.getX()+Q.x;Q=N.getY()+Q.y;var Y=this.first.x-u,ia=this.first.y-Q,la=this.graph.tolerance;if(null!=this.div||Math.abs(Y)>la||Math.abs(ia)>la)null==this.div&&(this.div=this.createShape()),mxUtils.clearSelection(),this.update(u,Q),this.isSpaceEvent(N)?(u=this.x+this.width,Q=this.y+this.height,Y=this.graph.view.scale,mxEvent.isAltDown(N.getEvent())||(this.width=this.graph.snap(this.width/Y)*Y,this.height=this.graph.snap(this.height/Y)*Y,
this.graph.isGridEnabled()||(this.width<this.graph.tolerance&&(this.width=0),this.height<this.graph.tolerance&&(this.height=0)),this.x<this.first.x&&(this.x=u-this.width),this.y<this.first.y&&(this.y=Q-this.height)),this.div.style.borderStyle="dashed",this.div.style.backgroundColor="white",this.div.style.left=this.x+"px",this.div.style.top=this.y+"px",this.div.style.width=Math.max(0,this.width)+"px",this.div.style.height=this.graph.container.clientHeight+"px",this.div.style.borderWidth=0>=this.width?
"0px 1px 0px 0px":"0px 1px 0px 1px",null==this.secondDiv&&(this.secondDiv=this.div.cloneNode(!0),this.div.parentNode.appendChild(this.secondDiv)),this.secondDiv.style.left=this.x+"px",this.secondDiv.style.top=this.y+"px",this.secondDiv.style.width=this.graph.container.clientWidth+"px",this.secondDiv.style.height=Math.max(0,this.height)+"px",this.secondDiv.style.borderWidth=0>=this.height?"1px 0px 0px 0px":"1px 0px 1px 0px"):(this.div.style.backgroundColor="",this.div.style.borderWidth="",this.div.style.borderStyle=
-"",null!=this.secondDiv&&(this.secondDiv.parentNode.removeChild(this.secondDiv),this.secondDiv=null)),N.consume()}};var la=mxRubberband.prototype.reset;mxRubberband.prototype.reset=function(){null!=this.secondDiv&&(this.secondDiv.parentNode.removeChild(this.secondDiv),this.secondDiv=null);la.apply(this,arguments)};var qa=(new Date).getTime(),pa=0,ra=mxEdgeHandler.prototype.updatePreviewState;mxEdgeHandler.prototype.updatePreviewState=function(u,N,Q,Y){ra.apply(this,arguments);Q!=this.currentTerminalState?
+"",null!=this.secondDiv&&(this.secondDiv.parentNode.removeChild(this.secondDiv),this.secondDiv=null)),N.consume()}};var ka=mxRubberband.prototype.reset;mxRubberband.prototype.reset=function(){null!=this.secondDiv&&(this.secondDiv.parentNode.removeChild(this.secondDiv),this.secondDiv=null);ka.apply(this,arguments)};var qa=(new Date).getTime(),pa=0,ra=mxEdgeHandler.prototype.updatePreviewState;mxEdgeHandler.prototype.updatePreviewState=function(u,N,Q,Y){ra.apply(this,arguments);Q!=this.currentTerminalState?
(qa=(new Date).getTime(),pa=0):pa=(new Date).getTime()-qa;this.currentTerminalState=Q};var ua=mxEdgeHandler.prototype.isOutlineConnectEvent;mxEdgeHandler.prototype.isOutlineConnectEvent=function(u){return mxEvent.isShiftDown(u.getEvent())&&mxEvent.isAltDown(u.getEvent())?!1:null!=this.currentTerminalState&&u.getState()==this.currentTerminalState&&2E3<pa||(null==this.currentTerminalState||"0"!=mxUtils.getValue(this.currentTerminalState.style,"outlineConnect","1"))&&ua.apply(this,arguments)};mxEdgeHandler.prototype.createHandleShape=
function(u,N,Q){N=null!=u&&0==u;var Y=this.state.getVisibleTerminalState(N);u=null!=u&&(0==u||u>=this.state.absolutePoints.length-1||this.constructor==mxElbowEdgeHandler&&2==u)?this.graph.getConnectionConstraint(this.state,Y,N):null;Q=null!=(null!=u?this.graph.getConnectionPoint(this.state.getVisibleTerminalState(N),u):null)?Q?this.endFixedHandleImage:this.fixedHandleImage:null!=u&&null!=Y?Q?this.endTerminalHandleImage:this.terminalHandleImage:Q?this.endHandleImage:this.handleImage;if(null!=Q)return Q=
new mxImageShape(new mxRectangle(0,0,Q.width,Q.height),Q.src),Q.preserveImageAspect=!1,Q;Q=mxConstants.HANDLE_SIZE;this.preferHtml&&--Q;return new mxRectangleShape(new mxRectangle(0,0,Q,Q),mxConstants.HANDLE_FILLCOLOR,mxConstants.HANDLE_STROKECOLOR)};var Ba=mxVertexHandler.prototype.createSizerShape;mxVertexHandler.prototype.createSizerShape=function(u,N,Q,Y){Y=N==mxEvent.ROTATION_HANDLE?HoverIcons.prototype.rotationHandle:N==mxEvent.LABEL_HANDLE?this.secondaryHandleImage:Y;return Ba.apply(this,arguments)};
-var ya=mxGraphHandler.prototype.getBoundingBox;mxGraphHandler.prototype.getBoundingBox=function(u){if(null!=u&&1==u.length){var N=this.graph.getModel(),Q=N.getParent(u[0]),Y=this.graph.getCellGeometry(u[0]);if(N.isEdge(Q)&&null!=Y&&Y.relative&&(N=this.graph.view.getState(u[0]),null!=N&&2>N.width&&2>N.height&&null!=N.text&&null!=N.text.boundingBox))return mxRectangle.fromRectangle(N.text.boundingBox)}return ya.apply(this,arguments)};var Aa=mxGraphHandler.prototype.getGuideStates;mxGraphHandler.prototype.getGuideStates=
+var xa=mxGraphHandler.prototype.getBoundingBox;mxGraphHandler.prototype.getBoundingBox=function(u){if(null!=u&&1==u.length){var N=this.graph.getModel(),Q=N.getParent(u[0]),Y=this.graph.getCellGeometry(u[0]);if(N.isEdge(Q)&&null!=Y&&Y.relative&&(N=this.graph.view.getState(u[0]),null!=N&&2>N.width&&2>N.height&&null!=N.text&&null!=N.text.boundingBox))return mxRectangle.fromRectangle(N.text.boundingBox)}return xa.apply(this,arguments)};var Aa=mxGraphHandler.prototype.getGuideStates;mxGraphHandler.prototype.getGuideStates=
function(){for(var u=Aa.apply(this,arguments),N=[],Q=0;Q<u.length;Q++)"1"!=mxUtils.getValue(u[Q].style,"part","0")&&N.push(u[Q]);return N};var Na=mxVertexHandler.prototype.getSelectionBounds;mxVertexHandler.prototype.getSelectionBounds=function(u){var N=this.graph.getModel(),Q=N.getParent(u.cell),Y=this.graph.getCellGeometry(u.cell);return N.isEdge(Q)&&null!=Y&&Y.relative&&2>u.width&&2>u.height&&null!=u.text&&null!=u.text.boundingBox?(N=u.text.unrotatedBoundingBox||u.text.boundingBox,new mxRectangle(Math.round(N.x),
Math.round(N.y),Math.round(N.width),Math.round(N.height))):Na.apply(this,arguments)};var va=mxVertexHandler.prototype.mouseDown;mxVertexHandler.prototype.mouseDown=function(u,N){var Q=this.graph.getModel(),Y=Q.getParent(this.state.cell),ia=this.graph.getCellGeometry(this.state.cell);(this.getHandleForEvent(N)==mxEvent.ROTATION_HANDLE||!Q.isEdge(Y)||null==ia||!ia.relative||null==this.state||2<=this.state.width||2<=this.state.height)&&va.apply(this,arguments)};mxVertexHandler.prototype.rotateClick=
function(){var u=mxUtils.getValue(this.state.style,mxConstants.STYLE_STROKECOLOR,mxConstants.NONE),N=mxUtils.getValue(this.state.style,mxConstants.STYLE_FILLCOLOR,mxConstants.NONE);this.state.view.graph.model.isVertex(this.state.cell)&&u==mxConstants.NONE&&N==mxConstants.NONE?(u=mxUtils.mod(mxUtils.getValue(this.state.style,mxConstants.STYLE_ROTATION,0)+90,360),this.state.view.graph.setCellStyles(mxConstants.STYLE_ROTATION,u,[this.state.cell])):this.state.view.graph.turnShapes([this.state.cell])};
-var Da=mxVertexHandler.prototype.mouseMove;mxVertexHandler.prototype.mouseMove=function(u,N){Da.apply(this,arguments);null!=this.graph.graphHandler.first&&(null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.style.display="none"),null!=this.linkHint&&"none"!=this.linkHint.style.display&&(this.linkHint.style.display="none"))};var Ha=mxVertexHandler.prototype.mouseUp;mxVertexHandler.prototype.mouseUp=function(u,N){Ha.apply(this,arguments);null!=this.rotationShape&&null!=
+var Ca=mxVertexHandler.prototype.mouseMove;mxVertexHandler.prototype.mouseMove=function(u,N){Ca.apply(this,arguments);null!=this.graph.graphHandler.first&&(null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.style.display="none"),null!=this.linkHint&&"none"!=this.linkHint.style.display&&(this.linkHint.style.display="none"))};var Ga=mxVertexHandler.prototype.mouseUp;mxVertexHandler.prototype.mouseUp=function(u,N){Ga.apply(this,arguments);null!=this.rotationShape&&null!=
this.rotationShape.node&&(this.rotationShape.node.style.display=1==this.graph.getSelectionCount()?"":"none");null!=this.linkHint&&"none"==this.linkHint.style.display&&1==this.graph.getSelectionCount()&&(this.linkHint.style.display="");this.blockDelayedSelection=null};mxVertexHandler.prototype.updateLinkHint=function(u,N){try{if(null==u&&(null==N||0==N.length))null!=this.linkHint&&(this.linkHint.parentNode.removeChild(this.linkHint),this.linkHint=null);else if(null!=u||null!=N&&0<N.length){var Q=document.createElement("img");
Q.className="geAdaptiveAsset";Q.setAttribute("src",Editor.editImage);Q.setAttribute("title",mxResources.get("editLink"));Q.setAttribute("width","14");Q.setAttribute("height","14");Q.style.paddingLeft="8px";Q.style.marginLeft="auto";Q.style.marginBottom="-1px";Q.style.cursor="pointer";var Y=Q.cloneNode(!0);Y.setAttribute("src",Editor.trashImage);Y.setAttribute("title",mxResources.get("removeIt",[mxResources.get("link")]));Y.style.paddingLeft="4px";Y.style.marginLeft="0";null==this.linkHint&&(this.linkHint=
b(),mxUtils.setPrefixedStyle(this.linkHint.style,"transform","translate(-50%,0)"),this.linkHint.style.padding="6px 8px 6px 8px",this.linkHint.style.opacity="1",this.linkHint.style.filter="",this.graph.container.appendChild(this.linkHint),mxEvent.addListener(this.linkHint,"mouseenter",mxUtils.bind(this,function(){this.graph.tooltipHandler.hide()})));this.linkHint.innerText="";if(null!=u){var ia=document.createElement("div");ia.style.display="flex";ia.style.alignItems="center";ia.appendChild(this.graph.createLinkForHint(u,
-null,this.state.cell));this.linkHint.appendChild(ia);if(this.graph.isEnabled()&&"function"===typeof this.graph.editLink&&!this.graph.isCellLocked(this.state.cell)){var ja=Q.cloneNode(!0);ia.appendChild(ja);mxEvent.addListener(ja,"click",mxUtils.bind(this,function(ta){this.graph.setSelectionCell(this.state.cell);this.graph.editLink();mxEvent.consume(ta)}));var oa=Y.cloneNode(!0);ia.appendChild(oa);mxEvent.addListener(oa,"click",mxUtils.bind(this,function(ta){this.graph.setLinkForCell(this.state.cell,
-null);mxEvent.consume(ta)}))}}if(null!=N)for(ia=0;ia<N.length;ia++)mxUtils.bind(this,function(ta,sa){var xa=document.createElement("div");xa.style.display="flex";xa.style.alignItems="center";xa.style.marginTop=null!=u||0<sa?"6px":"0px";xa.appendChild(this.graph.createLinkForHint(ta.getAttribute("href"),mxUtils.getTextContent(ta),this.state.cell));var Ca=Q.cloneNode(!0);xa.appendChild(Ca);var Oa=mxUtils.bind(this,function(Wa){var Za=document.createElement("div");Za.innerHTML=Graph.sanitizeHtml(this.graph.getLabel(this.state.cell));
-var ab=Za.getElementsByTagName("a")[sa];if(null!=ab){if(null==Wa||""==Wa){for(Wa=ab.cloneNode(!0).firstChild;null!=Wa;)ab.parentNode.insertBefore(Wa.cloneNode(!0),ab),Wa=Wa.nextSibling;ab.parentNode.removeChild(ab)}else ab.setAttribute("href",Wa);this.graph.labelChanged(this.state.cell,Za.innerHTML)}});mxEvent.addListener(Ca,"click",mxUtils.bind(this,function(Wa){this.graph.showLinkDialog(ta.getAttribute("href")||"",mxResources.get("ok"),Oa);mxEvent.consume(Wa)}));Ca=Y.cloneNode(!0);xa.appendChild(Ca);
-mxEvent.addListener(Ca,"click",mxUtils.bind(this,function(Wa){Oa();mxEvent.consume(Wa)}));this.linkHint.appendChild(xa)})(N[ia],ia)}null!=this.linkHint&&Graph.sanitizeNode(this.linkHint)}catch(ta){}};mxEdgeHandler.prototype.updateLinkHint=mxVertexHandler.prototype.updateLinkHint;var La=mxEdgeHandler.prototype.createConstraintHandler;mxEdgeHandler.prototype.createConstraintHandler=function(){var u=La.apply(this,arguments);u.isEnabled=mxUtils.bind(this,function(){return this.state.view.graph.connectionHandler.isEnabled()});
-return u};var Ea=mxConnectionHandler.prototype.init;mxConnectionHandler.prototype.init=function(){Ea.apply(this,arguments);this.constraintHandler.isEnabled=mxUtils.bind(this,function(){return this.graph.connectionHandler.isEnabled()})};var za=mxVertexHandler.prototype.redrawHandles;mxVertexHandler.prototype.redrawHandles=function(){if(null!=this.moveHandles)for(var u=0;u<this.moveHandles.length;u++)null!=this.moveHandles[u]&&(this.moveHandles[u].bounds.x=Math.round(this.moveHandles[u].rowState.x+
+null,this.state.cell));this.linkHint.appendChild(ia);if(this.graph.isEnabled()&&"function"===typeof this.graph.editLink&&!this.graph.isCellLocked(this.state.cell)){var la=Q.cloneNode(!0);ia.appendChild(la);mxEvent.addListener(la,"click",mxUtils.bind(this,function(ta){this.graph.setSelectionCell(this.state.cell);this.graph.editLink();mxEvent.consume(ta)}));var oa=Y.cloneNode(!0);ia.appendChild(oa);mxEvent.addListener(oa,"click",mxUtils.bind(this,function(ta){this.graph.setLinkForCell(this.state.cell,
+null);mxEvent.consume(ta)}))}}if(null!=N)for(ia=0;ia<N.length;ia++)mxUtils.bind(this,function(ta,sa){var ya=document.createElement("div");ya.style.display="flex";ya.style.alignItems="center";ya.style.marginTop=null!=u||0<sa?"6px":"0px";ya.appendChild(this.graph.createLinkForHint(ta.getAttribute("href"),mxUtils.getTextContent(ta),this.state.cell));var Ha=Q.cloneNode(!0);ya.appendChild(Ha);var Oa=mxUtils.bind(this,function(Wa){var Za=document.createElement("div");Za.innerHTML=Graph.sanitizeHtml(this.graph.getLabel(this.state.cell));
+var ab=Za.getElementsByTagName("a")[sa];if(null!=ab){if(null==Wa||""==Wa){for(Wa=ab.cloneNode(!0).firstChild;null!=Wa;)ab.parentNode.insertBefore(Wa.cloneNode(!0),ab),Wa=Wa.nextSibling;ab.parentNode.removeChild(ab)}else ab.setAttribute("href",Wa);this.graph.labelChanged(this.state.cell,Za.innerHTML)}});mxEvent.addListener(Ha,"click",mxUtils.bind(this,function(Wa){this.graph.showLinkDialog(ta.getAttribute("href")||"",mxResources.get("ok"),Oa);mxEvent.consume(Wa)}));Ha=Y.cloneNode(!0);ya.appendChild(Ha);
+mxEvent.addListener(Ha,"click",mxUtils.bind(this,function(Wa){Oa();mxEvent.consume(Wa)}));this.linkHint.appendChild(ya)})(N[ia],ia)}null!=this.linkHint&&Graph.sanitizeNode(this.linkHint)}catch(ta){}};mxEdgeHandler.prototype.updateLinkHint=mxVertexHandler.prototype.updateLinkHint;var La=mxEdgeHandler.prototype.createConstraintHandler;mxEdgeHandler.prototype.createConstraintHandler=function(){var u=La.apply(this,arguments);u.isEnabled=mxUtils.bind(this,function(){return this.state.view.graph.connectionHandler.isEnabled()});
+return u};var Da=mxConnectionHandler.prototype.init;mxConnectionHandler.prototype.init=function(){Da.apply(this,arguments);this.constraintHandler.isEnabled=mxUtils.bind(this,function(){return this.graph.connectionHandler.isEnabled()})};var za=mxVertexHandler.prototype.redrawHandles;mxVertexHandler.prototype.redrawHandles=function(){if(null!=this.moveHandles)for(var u=0;u<this.moveHandles.length;u++)null!=this.moveHandles[u]&&(this.moveHandles[u].bounds.x=Math.round(this.moveHandles[u].rowState.x+
this.moveHandles[u].rowState.width-this.moveHandles[u].bounds.width/2),this.moveHandles[u].bounds.y=Math.round(this.moveHandles[u].rowState.y+(this.moveHandles[u].rowState.height-this.moveHandles[u].bounds.height)/2),this.moveHandles[u].redraw());if(null!=this.cornerHandles){u=this.getSelectionBorderInset();var N=this.cornerHandles,Q=N[0].bounds.height/2;N[0].bounds.x=this.state.x-N[0].bounds.width/2+u;N[0].bounds.y=this.state.y-Q+u;N[0].redraw();N[1].bounds.x=N[0].bounds.x+this.state.width-2*u;N[1].bounds.y=
N[0].bounds.y;N[1].redraw();N[2].bounds.x=N[0].bounds.x;N[2].bounds.y=this.state.y+this.state.height-2*u;N[2].redraw();N[3].bounds.x=N[1].bounds.x;N[3].bounds.y=N[2].bounds.y;N[3].redraw();for(u=0;u<this.cornerHandles.length;u++)this.cornerHandles[u].node.style.display=1==this.graph.getSelectionCount()?"":"none"}null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.setAttribute("title",mxResources.get("rotateTooltip")),this.rotationShape.node.style.display=null!=this.moveHandles||
1!=this.graph.getSelectionCount()||null!=this.index&&this.index!=mxEvent.ROTATION_HANDLE?"none":"");za.apply(this);null!=this.state&&null!=this.linkHint&&(u=new mxPoint(this.state.getCenterX(),this.state.getCenterY()),N=new mxRectangle(this.state.x,this.state.y-22,this.state.width+24,this.state.height+22),Q=mxUtils.getBoundingBox(N,this.state.style[mxConstants.STYLE_ROTATION]||"0",u),u=null!=Q?mxUtils.getBoundingBox(this.state,this.state.style[mxConstants.STYLE_ROTATION]||"0"):this.state,N=null!=
@@ -2720,14 +2718,14 @@ null!=this.state&&null!=this.linkHint)){var u=this.state;null!=this.state.text&&
"")};var Ma=mxEdgeHandler.prototype.destroy;mxEdgeHandler.prototype.destroy=function(){Ma.apply(this,arguments);null!=this.linkHint&&(this.linkHint.parentNode.removeChild(this.linkHint),this.linkHint=null);null!=this.changeHandler&&(this.graph.getModel().removeListener(this.changeHandler),this.graph.getSelectionModel().removeListener(this.changeHandler),this.changeHandler=null)}}();(function(){function b(d,m,y){mxShape.call(this);this.line=d;this.stroke=m;this.strokewidth=null!=y?y:1;this.updateBoundsFromLine()}function e(){mxSwimlane.call(this)}function g(){mxSwimlane.call(this)}function n(){mxCylinder.call(this)}function v(){mxConnector.call(this)}function q(){mxCylinder.call(this)}function C(){mxActor.call(this)}function H(){mxCylinder.call(this)}function U(){mxCylinder.call(this)}function F(){mxCylinder.call(this)}function K(){mxCylinder.call(this)}function S(){mxShape.call(this)}
function W(){mxShape.call(this)}function c(d,m,y,p){mxShape.call(this);this.bounds=d;this.fill=m;this.stroke=y;this.strokewidth=null!=p?p:1}function f(){mxActor.call(this)}function l(){mxCylinder.call(this)}function z(){mxCylinder.call(this)}function A(){mxActor.call(this)}function B(){mxActor.call(this)}function G(){mxActor.call(this)}function L(){mxActor.call(this)}function P(){mxActor.call(this)}function J(){mxActor.call(this)}function fa(){mxActor.call(this)}function ea(d,m){this.canvas=d;this.canvas.setLineJoin("round");
this.canvas.setLineCap("round");this.defaultVariation=m;this.originalLineTo=this.canvas.lineTo;this.canvas.lineTo=mxUtils.bind(this,ea.prototype.lineTo);this.originalMoveTo=this.canvas.moveTo;this.canvas.moveTo=mxUtils.bind(this,ea.prototype.moveTo);this.originalClose=this.canvas.close;this.canvas.close=mxUtils.bind(this,ea.prototype.close);this.originalQuadTo=this.canvas.quadTo;this.canvas.quadTo=mxUtils.bind(this,ea.prototype.quadTo);this.originalCurveTo=this.canvas.curveTo;this.canvas.curveTo=
-mxUtils.bind(this,ea.prototype.curveTo);this.originalArcTo=this.canvas.arcTo;this.canvas.arcTo=mxUtils.bind(this,ea.prototype.arcTo)}function T(){mxRectangleShape.call(this)}function ca(){mxRectangleShape.call(this)}function ka(){mxActor.call(this)}function ma(){mxActor.call(this)}function aa(){mxActor.call(this)}function V(){mxRectangleShape.call(this)}function da(){mxRectangleShape.call(this)}function k(){mxCylinder.call(this)}function t(){mxShape.call(this)}function I(){mxShape.call(this)}function R(){mxEllipse.call(this)}
-function O(){mxShape.call(this)}function X(){mxShape.call(this)}function Z(){mxRectangleShape.call(this)}function ba(){mxShape.call(this)}function la(){mxShape.call(this)}function qa(){mxShape.call(this)}function pa(){mxShape.call(this)}function ra(){mxShape.call(this)}function ua(){mxCylinder.call(this)}function Ba(){mxCylinder.call(this)}function ya(){mxRectangleShape.call(this)}function Aa(){mxDoubleEllipse.call(this)}function Na(){mxDoubleEllipse.call(this)}function va(){mxArrowConnector.call(this);
-this.spacing=0}function Da(){mxArrowConnector.call(this);this.spacing=0}function Ha(){mxActor.call(this)}function La(){mxRectangleShape.call(this)}function Ea(){mxActor.call(this)}function za(){mxActor.call(this)}function Ra(){mxActor.call(this)}function Ja(){mxActor.call(this)}function Qa(){mxActor.call(this)}function Ma(){mxActor.call(this)}function u(){mxActor.call(this)}function N(){mxActor.call(this)}function Q(){mxActor.call(this)}function Y(){mxActor.call(this)}function ia(){mxEllipse.call(this)}
-function ja(){mxEllipse.call(this)}function oa(){mxEllipse.call(this)}function ta(){mxRhombus.call(this)}function sa(){mxEllipse.call(this)}function xa(){mxEllipse.call(this)}function Ca(){mxEllipse.call(this)}function Oa(){mxEllipse.call(this)}function Wa(){mxActor.call(this)}function Za(){mxActor.call(this)}function ab(){mxActor.call(this)}function Ta(d,m,y,p){mxShape.call(this);this.bounds=d;this.fill=m;this.stroke=y;this.strokewidth=null!=p?p:1;this.rectStyle="square";this.size=10;this.absoluteCornerSize=
+mxUtils.bind(this,ea.prototype.curveTo);this.originalArcTo=this.canvas.arcTo;this.canvas.arcTo=mxUtils.bind(this,ea.prototype.arcTo)}function T(){mxRectangleShape.call(this)}function ca(){mxRectangleShape.call(this)}function ja(){mxActor.call(this)}function ma(){mxActor.call(this)}function aa(){mxActor.call(this)}function V(){mxRectangleShape.call(this)}function da(){mxRectangleShape.call(this)}function k(){mxCylinder.call(this)}function t(){mxShape.call(this)}function I(){mxShape.call(this)}function R(){mxEllipse.call(this)}
+function O(){mxShape.call(this)}function X(){mxShape.call(this)}function Z(){mxRectangleShape.call(this)}function ba(){mxShape.call(this)}function ka(){mxShape.call(this)}function qa(){mxShape.call(this)}function pa(){mxShape.call(this)}function ra(){mxShape.call(this)}function ua(){mxCylinder.call(this)}function Ba(){mxCylinder.call(this)}function xa(){mxRectangleShape.call(this)}function Aa(){mxDoubleEllipse.call(this)}function Na(){mxDoubleEllipse.call(this)}function va(){mxArrowConnector.call(this);
+this.spacing=0}function Ca(){mxArrowConnector.call(this);this.spacing=0}function Ga(){mxActor.call(this)}function La(){mxRectangleShape.call(this)}function Da(){mxActor.call(this)}function za(){mxActor.call(this)}function Ra(){mxActor.call(this)}function Ja(){mxActor.call(this)}function Qa(){mxActor.call(this)}function Ma(){mxActor.call(this)}function u(){mxActor.call(this)}function N(){mxActor.call(this)}function Q(){mxActor.call(this)}function Y(){mxActor.call(this)}function ia(){mxEllipse.call(this)}
+function la(){mxEllipse.call(this)}function oa(){mxEllipse.call(this)}function ta(){mxRhombus.call(this)}function sa(){mxEllipse.call(this)}function ya(){mxEllipse.call(this)}function Ha(){mxEllipse.call(this)}function Oa(){mxEllipse.call(this)}function Wa(){mxActor.call(this)}function Za(){mxActor.call(this)}function ab(){mxActor.call(this)}function Ta(d,m,y,p){mxShape.call(this);this.bounds=d;this.fill=m;this.stroke=y;this.strokewidth=null!=p?p:1;this.rectStyle="square";this.size=10;this.absoluteCornerSize=
!0;this.indent=2;this.rectOutline="single"}function Pa(){mxConnector.call(this)}function kb(d,m,y,p,x,D,E,ha,M,wa){E+=M;var na=p.clone();p.x-=x*(2*E+M);p.y-=D*(2*E+M);x*=E+M;D*=E+M;return function(){d.ellipse(na.x-x-E,na.y-D-E,2*E,2*E);wa?d.fillAndStroke():d.stroke()}}mxUtils.extend(b,mxShape);b.prototype.updateBoundsFromLine=function(){var d=null;if(null!=this.line)for(var m=0;m<this.line.length;m++){var y=this.line[m];null!=y&&(y=new mxRectangle(y.x,y.y,this.strokewidth,this.strokewidth),null==
d?d=y:d.add(y))}this.bounds=null!=d?d:new mxRectangle};b.prototype.paintVertexShape=function(d,m,y,p,x){this.paintTableLine(d,this.line,0,0)};b.prototype.paintTableLine=function(d,m,y,p){if(null!=m){var x=null;d.begin();for(var D=0;D<m.length;D++){var E=m[D];null!=E&&(null==x?d.moveTo(E.x+y,E.y+p):null!=x&&d.lineTo(E.x+y,E.y+p));x=E}d.end();d.stroke()}};b.prototype.intersectsRectangle=function(d){var m=!1;if(mxShape.prototype.intersectsRectangle.apply(this,arguments)&&null!=this.line)for(var y=null,
p=0;p<this.line.length&&!m;p++){var x=this.line[p];null!=x&&null!=y&&(m=mxUtils.rectangleIntersectsSegment(d,y,x));y=x}return m};mxCellRenderer.registerShape("tableLine",b);mxUtils.extend(e,mxSwimlane);e.prototype.getLabelBounds=function(d){return 0==this.getTitleSize()?mxShape.prototype.getLabelBounds.apply(this,arguments):mxSwimlane.prototype.getLabelBounds.apply(this,arguments)};e.prototype.paintVertexShape=function(d,m,y,p,x){var D=null!=this.state?this.state.view.graph.isCellCollapsed(this.state.cell):
-!1,E=this.isHorizontal(),ha=this.getTitleSize();0==ha||this.outline?Ca.prototype.paintVertexShape.apply(this,arguments):(mxSwimlane.prototype.paintVertexShape.apply(this,arguments),d.translate(-m,-y));D||this.outline||!(E&&ha<x||!E&&ha<p)||this.paintForeground(d,m,y,p,x)};e.prototype.paintForeground=function(d,m,y,p,x){if(null!=this.state){var D=this.flipH,E=this.flipV;if(this.direction==mxConstants.DIRECTION_NORTH||this.direction==mxConstants.DIRECTION_SOUTH){var ha=D;D=E;E=ha}d.rotate(-this.getShapeRotation(),
+!1,E=this.isHorizontal(),ha=this.getTitleSize();0==ha||this.outline?Ha.prototype.paintVertexShape.apply(this,arguments):(mxSwimlane.prototype.paintVertexShape.apply(this,arguments),d.translate(-m,-y));D||this.outline||!(E&&ha<x||!E&&ha<p)||this.paintForeground(d,m,y,p,x)};e.prototype.paintForeground=function(d,m,y,p,x){if(null!=this.state){var D=this.flipH,E=this.flipV;if(this.direction==mxConstants.DIRECTION_NORTH||this.direction==mxConstants.DIRECTION_SOUTH){var ha=D;D=E;E=ha}d.rotate(-this.getShapeRotation(),
D,E,m+p/2,y+x/2);s=this.scale;m=this.bounds.x/s;y=this.bounds.y/s;p=this.bounds.width/s;x=this.bounds.height/s;this.paintTableForeground(d,m,y,p,x)}};e.prototype.paintTableForeground=function(d,m,y,p,x){p=this.state.view.graph.getTableLines(this.state.cell,"0"!=mxUtils.getValue(this.state.style,"rowLines","1"),"0"!=mxUtils.getValue(this.state.style,"columnLines","1"));for(x=0;x<p.length;x++)b.prototype.paintTableLine(d,p[x],m,y)};e.prototype.configurePointerEvents=function(d){0==this.getTitleSize()?
d.pointerEvents=!1:mxSwimlane.prototype.configurePointerEvents.apply(this,arguments)};mxCellRenderer.registerShape("table",e);mxUtils.extend(g,e);g.prototype.paintForeground=function(){};mxCellRenderer.registerShape("tableRow",g);mxUtils.extend(n,mxCylinder);n.prototype.size=20;n.prototype.darkOpacity=0;n.prototype.darkOpacity2=0;n.prototype.paintVertexShape=function(d,m,y,p,x){var D=Math.max(0,Math.min(p,Math.min(x,parseFloat(mxUtils.getValue(this.style,"size",this.size))))),E=Math.max(-1,Math.min(1,
parseFloat(mxUtils.getValue(this.style,"darkOpacity",this.darkOpacity)))),ha=Math.max(-1,Math.min(1,parseFloat(mxUtils.getValue(this.style,"darkOpacity2",this.darkOpacity2))));d.translate(m,y);d.begin();d.moveTo(0,0);d.lineTo(p-D,0);d.lineTo(p,D);d.lineTo(p,x);d.lineTo(D,x);d.lineTo(0,x-D);d.lineTo(0,0);d.close();d.end();d.fillAndStroke();this.outline||(d.setShadow(!1),0!=E&&(d.setFillAlpha(Math.abs(E)),d.setFillColor(0>E?"#FFFFFF":"#000000"),d.begin(),d.moveTo(0,0),d.lineTo(p-D,0),d.lineTo(p,D),
@@ -2771,16 +2769,16 @@ null!=this.fill&&this.fill!=mxConstants.NONE||null!=this.stroke&&this.stroke!=mx
D,y),d.lineTo(m+p-D,y),d.quadTo(m+p,y,m+p,y+D),d.lineTo(m+p,y+x-D),d.quadTo(m+p,y+x,m+p-D,y+x),d.lineTo(m+D,y+x),d.quadTo(m,y+x,m,y+x-D),d.lineTo(m,y+D),d.quadTo(m,y,m+D,y)):(d.moveTo(m,y),d.lineTo(m+p,y),d.lineTo(m+p,y+x),d.lineTo(m,y+x),d.lineTo(m,y)),d.close(),d.end(),d.fillAndStroke()}};mxUtils.extend(T,mxRectangleShape);T.prototype.size=.1;T.prototype.fixedSize=!1;T.prototype.isHtmlAllowed=function(){return!1};T.prototype.getLabelBounds=function(d){if(mxUtils.getValue(this.state.style,mxConstants.STYLE_HORIZONTAL,
!0)==(null==this.direction||this.direction==mxConstants.DIRECTION_EAST||this.direction==mxConstants.DIRECTION_WEST)){var m=d.width,y=d.height;d=new mxRectangle(d.x,d.y,m,y);var p=m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));if(this.isRounded){var x=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100;p=Math.max(p,Math.min(m*x,y*x))}d.x+=Math.round(p);d.width-=Math.round(2*p);return d}return d};T.prototype.paintForeground=
function(d,m,y,p,x){var D=mxUtils.getValue(this.style,"fixedSize",this.fixedSize),E=parseFloat(mxUtils.getValue(this.style,"size",this.size));E=D?Math.max(0,Math.min(p,E)):p*Math.max(0,Math.min(1,E));this.isRounded&&(D=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100,E=Math.max(E,Math.min(p*D,x*D)));E=Math.round(E);d.begin();d.moveTo(m+E,y);d.lineTo(m+E,y+x);d.moveTo(m+p-E,y);d.lineTo(m+p-E,y+x);d.end();d.stroke();mxRectangleShape.prototype.paintForeground.apply(this,
-arguments)};mxCellRenderer.registerShape("process",T);mxCellRenderer.registerShape("process2",T);mxUtils.extend(ca,mxRectangleShape);ca.prototype.paintBackground=function(d,m,y,p,x){d.setFillColor(mxConstants.NONE);d.rect(m,y,p,x);d.fill()};ca.prototype.paintForeground=function(d,m,y,p,x){};mxCellRenderer.registerShape("transparent",ca);mxUtils.extend(ka,mxHexagon);ka.prototype.size=30;ka.prototype.position=.5;ka.prototype.position2=.5;ka.prototype.base=20;ka.prototype.getLabelMargins=function(){return new mxRectangle(0,
-0,0,parseFloat(mxUtils.getValue(this.style,"size",this.size))*this.scale)};ka.prototype.isRoundable=function(){return!0};ka.prototype.redrawPath=function(d,m,y,p,x){m=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;y=Math.max(0,Math.min(x,parseFloat(mxUtils.getValue(this.style,"size",this.size))));var D=p*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"position",this.position)))),E=p*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"position2",
-this.position2)))),ha=Math.max(0,Math.min(p,parseFloat(mxUtils.getValue(this.style,"base",this.base))));this.addPoints(d,[new mxPoint(0,0),new mxPoint(p,0),new mxPoint(p,x-y),new mxPoint(Math.min(p,D+ha),x-y),new mxPoint(E,x),new mxPoint(Math.max(0,D),x-y),new mxPoint(0,x-y)],this.isRounded,m,!0,[4])};mxCellRenderer.registerShape("callout",ka);mxUtils.extend(ma,mxActor);ma.prototype.size=.2;ma.prototype.fixedSize=20;ma.prototype.isRoundable=function(){return!0};ma.prototype.redrawPath=function(d,
+arguments)};mxCellRenderer.registerShape("process",T);mxCellRenderer.registerShape("process2",T);mxUtils.extend(ca,mxRectangleShape);ca.prototype.paintBackground=function(d,m,y,p,x){d.setFillColor(mxConstants.NONE);d.rect(m,y,p,x);d.fill()};ca.prototype.paintForeground=function(d,m,y,p,x){};mxCellRenderer.registerShape("transparent",ca);mxUtils.extend(ja,mxHexagon);ja.prototype.size=30;ja.prototype.position=.5;ja.prototype.position2=.5;ja.prototype.base=20;ja.prototype.getLabelMargins=function(){return new mxRectangle(0,
+0,0,parseFloat(mxUtils.getValue(this.style,"size",this.size))*this.scale)};ja.prototype.isRoundable=function(){return!0};ja.prototype.redrawPath=function(d,m,y,p,x){m=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;y=Math.max(0,Math.min(x,parseFloat(mxUtils.getValue(this.style,"size",this.size))));var D=p*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"position",this.position)))),E=p*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"position2",
+this.position2)))),ha=Math.max(0,Math.min(p,parseFloat(mxUtils.getValue(this.style,"base",this.base))));this.addPoints(d,[new mxPoint(0,0),new mxPoint(p,0),new mxPoint(p,x-y),new mxPoint(Math.min(p,D+ha),x-y),new mxPoint(E,x),new mxPoint(Math.max(0,D),x-y),new mxPoint(0,x-y)],this.isRounded,m,!0,[4])};mxCellRenderer.registerShape("callout",ja);mxUtils.extend(ma,mxActor);ma.prototype.size=.2;ma.prototype.fixedSize=20;ma.prototype.isRoundable=function(){return!0};ma.prototype.redrawPath=function(d,
m,y,p,x){m="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(p,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize)))):p*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));y=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(d,[new mxPoint(0,0),new mxPoint(p-m,0),new mxPoint(p,x/2),new mxPoint(p-m,x),new mxPoint(0,x),new mxPoint(m,x/2)],this.isRounded,y,!0);d.end()};mxCellRenderer.registerShape("step",
ma);mxUtils.extend(aa,mxHexagon);aa.prototype.size=.25;aa.prototype.fixedSize=20;aa.prototype.isRoundable=function(){return!0};aa.prototype.redrawPath=function(d,m,y,p,x){m="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(.5*p,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize)))):p*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));y=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(d,[new mxPoint(m,
0),new mxPoint(p-m,0),new mxPoint(p,.5*x),new mxPoint(p-m,x),new mxPoint(m,x),new mxPoint(0,.5*x)],this.isRounded,y,!0)};mxCellRenderer.registerShape("hexagon",aa);mxUtils.extend(V,mxRectangleShape);V.prototype.isHtmlAllowed=function(){return!1};V.prototype.paintForeground=function(d,m,y,p,x){var D=Math.min(p/5,x/5)+1;d.begin();d.moveTo(m+p/2,y+D);d.lineTo(m+p/2,y+x-D);d.moveTo(m+D,y+x/2);d.lineTo(m+p-D,y+x/2);d.end();d.stroke();mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxCellRenderer.registerShape("plus",
V);var qb=mxRhombus.prototype.paintVertexShape;mxRhombus.prototype.getLabelBounds=function(d){if(1==this.style["double"]){var m=(2*Math.max(2,this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||0))*this.scale;return new mxRectangle(d.x+m,d.y+m,d.width-2*m,d.height-2*m)}return d};mxRhombus.prototype.paintVertexShape=function(d,m,y,p,x){qb.apply(this,arguments);if(!this.outline&&1==this.style["double"]){var D=2*Math.max(2,this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||
0);m+=D;y+=D;p-=2*D;x-=2*D;0<p&&0<x&&(d.setShadow(!1),qb.apply(this,[d,m,y,p,x]))}};mxUtils.extend(da,mxRectangleShape);da.prototype.isHtmlAllowed=function(){return!1};da.prototype.getLabelBounds=function(d){if(1==this.style["double"]){var m=(Math.max(2,this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||0))*this.scale;return new mxRectangle(d.x+m,d.y+m,d.width-2*m,d.height-2*m)}return d};da.prototype.paintForeground=function(d,m,y,p,x){if(null!=this.style){if(!this.outline&&1==this.style["double"]){var D=
Math.max(2,this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||0);m+=D;y+=D;p-=2*D;x-=2*D;0<p&&0<x&&mxRectangleShape.prototype.paintBackground.apply(this,arguments)}d.setDashed(!1);D=0;do{var E=mxCellRenderer.defaultShapes[this.style["symbol"+D]];if(null!=E){var ha=this.style["symbol"+D+"Align"],M=this.style["symbol"+D+"VerticalAlign"],wa=this.style["symbol"+D+"Width"],na=this.style["symbol"+D+"Height"],Ya=this.style["symbol"+D+"Spacing"]||0,hb=this.style["symbol"+D+"VSpacing"]||
-Ya,bb=this.style["symbol"+D+"ArcSpacing"];null!=bb&&(bb*=this.getArcSize(p+this.strokewidth,x+this.strokewidth),Ya+=bb,hb+=bb);bb=m;var Fa=y;bb=ha==mxConstants.ALIGN_CENTER?bb+(p-wa)/2:ha==mxConstants.ALIGN_RIGHT?bb+(p-wa-Ya):bb+Ya;Fa=M==mxConstants.ALIGN_MIDDLE?Fa+(x-na)/2:M==mxConstants.ALIGN_BOTTOM?Fa+(x-na-hb):Fa+hb;d.save();ha=new E;ha.style=this.style;E.prototype.paintVertexShape.call(ha,d,bb,Fa,wa,na);d.restore()}D++}while(null!=E)}mxRectangleShape.prototype.paintForeground.apply(this,arguments)};
+Ya,bb=this.style["symbol"+D+"ArcSpacing"];null!=bb&&(bb*=this.getArcSize(p+this.strokewidth,x+this.strokewidth),Ya+=bb,hb+=bb);bb=m;var Ea=y;bb=ha==mxConstants.ALIGN_CENTER?bb+(p-wa)/2:ha==mxConstants.ALIGN_RIGHT?bb+(p-wa-Ya):bb+Ya;Ea=M==mxConstants.ALIGN_MIDDLE?Ea+(x-na)/2:M==mxConstants.ALIGN_BOTTOM?Ea+(x-na-hb):Ea+hb;d.save();ha=new E;ha.style=this.style;E.prototype.paintVertexShape.call(ha,d,bb,Ea,wa,na);d.restore()}D++}while(null!=E)}mxRectangleShape.prototype.paintForeground.apply(this,arguments)};
mxCellRenderer.registerShape("ext",da);mxUtils.extend(k,mxCylinder);k.prototype.redrawPath=function(d,m,y,p,x,D){D?(d.moveTo(0,0),d.lineTo(p/2,x/2),d.lineTo(p,0),d.end()):(d.moveTo(0,0),d.lineTo(p,0),d.lineTo(p,x),d.lineTo(0,x),d.close())};mxCellRenderer.registerShape("message",k);mxUtils.extend(t,mxShape);t.prototype.paintBackground=function(d,m,y,p,x){d.translate(m,y);d.ellipse(p/4,0,p/2,x/4);d.fillAndStroke();d.begin();d.moveTo(p/2,x/4);d.lineTo(p/2,2*x/3);d.moveTo(p/2,x/3);d.lineTo(0,x/3);d.moveTo(p/
2,x/3);d.lineTo(p,x/3);d.moveTo(p/2,2*x/3);d.lineTo(0,x);d.moveTo(p/2,2*x/3);d.lineTo(p,x);d.end();d.stroke()};mxCellRenderer.registerShape("umlActor",t);mxUtils.extend(I,mxShape);I.prototype.getLabelMargins=function(d){return new mxRectangle(d.width/6,0,0,0)};I.prototype.paintBackground=function(d,m,y,p,x){d.translate(m,y);d.begin();d.moveTo(0,x/4);d.lineTo(0,3*x/4);d.end();d.stroke();d.begin();d.moveTo(0,x/2);d.lineTo(p/6,x/2);d.end();d.stroke();d.ellipse(p/6,0,5*p/6,x);d.fillAndStroke()};mxCellRenderer.registerShape("umlBoundary",
I);mxUtils.extend(R,mxEllipse);R.prototype.paintVertexShape=function(d,m,y,p,x){mxEllipse.prototype.paintVertexShape.apply(this,arguments);d.begin();d.moveTo(m+p/8,y+x);d.lineTo(m+7*p/8,y+x);d.end();d.stroke()};mxCellRenderer.registerShape("umlEntity",R);mxUtils.extend(O,mxShape);O.prototype.paintVertexShape=function(d,m,y,p,x){d.translate(m,y);d.begin();d.moveTo(p,0);d.lineTo(0,x);d.moveTo(0,0);d.lineTo(p,x);d.end();d.stroke()};mxCellRenderer.registerShape("umlDestroy",O);mxUtils.extend(X,mxShape);
@@ -2793,7 +2791,7 @@ D))};mxCellRenderer.registerShape("umlLifeline",Z);mxUtils.extend(ba,mxShape);ba
d.lineTo(m+p,y);d.lineTo(m+p,y+x);d.lineTo(m,y+x);d.lineTo(m,y+ha);d.stroke()};mxCellRenderer.registerShape("umlFrame",ba);mxPerimeter.CenterPerimeter=function(d,m,y,p){return new mxPoint(d.getCenterX(),d.getCenterY())};mxStyleRegistry.putValue("centerPerimeter",mxPerimeter.CenterPerimeter);mxPerimeter.LifelinePerimeter=function(d,m,y,p){p=Z.prototype.size;null!=m&&(p=mxUtils.getValue(m.style,"size",p)*m.view.scale);m=parseFloat(m.style[mxConstants.STYLE_STROKEWIDTH]||1)*m.view.scale/2-1;y.x<d.getCenterX()&&
(m=-1*(m+1));return new mxPoint(d.getCenterX()+m,Math.min(d.y+d.height,Math.max(d.y+p,y.y)))};mxStyleRegistry.putValue("lifelinePerimeter",mxPerimeter.LifelinePerimeter);mxPerimeter.OrthogonalPerimeter=function(d,m,y,p){p=!0;return mxPerimeter.RectanglePerimeter.apply(this,arguments)};mxStyleRegistry.putValue("orthogonalPerimeter",mxPerimeter.OrthogonalPerimeter);mxPerimeter.BackbonePerimeter=function(d,m,y,p){p=parseFloat(m.style[mxConstants.STYLE_STROKEWIDTH]||1)*m.view.scale/2-1;null!=m.style.backboneSize&&
(p+=parseFloat(m.style.backboneSize)*m.view.scale/2-1);if("south"==m.style[mxConstants.STYLE_DIRECTION]||"north"==m.style[mxConstants.STYLE_DIRECTION])return y.x<d.getCenterX()&&(p=-1*(p+1)),new mxPoint(d.getCenterX()+p,Math.min(d.y+d.height,Math.max(d.y,y.y)));y.y<d.getCenterY()&&(p=-1*(p+1));return new mxPoint(Math.min(d.x+d.width,Math.max(d.x,y.x)),d.getCenterY()+p)};mxStyleRegistry.putValue("backbonePerimeter",mxPerimeter.BackbonePerimeter);mxPerimeter.CalloutPerimeter=function(d,m,y,p){return mxPerimeter.RectanglePerimeter(mxUtils.getDirectedBounds(d,
-new mxRectangle(0,0,0,Math.max(0,Math.min(d.height,parseFloat(mxUtils.getValue(m.style,"size",ka.prototype.size))*m.view.scale))),m.style),m,y,p)};mxStyleRegistry.putValue("calloutPerimeter",mxPerimeter.CalloutPerimeter);mxPerimeter.ParallelogramPerimeter=function(d,m,y,p){var x="0"!=mxUtils.getValue(m.style,"fixedSize","0"),D=x?L.prototype.fixedSize:L.prototype.size;null!=m&&(D=mxUtils.getValue(m.style,"size",D));x&&(D*=m.view.scale);var E=d.x,ha=d.y,M=d.width,wa=d.height;m=null!=m?mxUtils.getValue(m.style,
+new mxRectangle(0,0,0,Math.max(0,Math.min(d.height,parseFloat(mxUtils.getValue(m.style,"size",ja.prototype.size))*m.view.scale))),m.style),m,y,p)};mxStyleRegistry.putValue("calloutPerimeter",mxPerimeter.CalloutPerimeter);mxPerimeter.ParallelogramPerimeter=function(d,m,y,p){var x="0"!=mxUtils.getValue(m.style,"fixedSize","0"),D=x?L.prototype.fixedSize:L.prototype.size;null!=m&&(D=mxUtils.getValue(m.style,"size",D));x&&(D*=m.view.scale);var E=d.x,ha=d.y,M=d.width,wa=d.height;m=null!=m?mxUtils.getValue(m.style,
mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;m==mxConstants.DIRECTION_NORTH||m==mxConstants.DIRECTION_SOUTH?(x=x?Math.max(0,Math.min(wa,D)):wa*Math.max(0,Math.min(1,D)),ha=[new mxPoint(E,ha),new mxPoint(E+M,ha+x),new mxPoint(E+M,ha+wa),new mxPoint(E,ha+wa-x),new mxPoint(E,ha)]):(x=x?Math.max(0,Math.min(.5*M,D)):M*Math.max(0,Math.min(1,D)),ha=[new mxPoint(E+x,ha),new mxPoint(E+M,ha),new mxPoint(E+M-x,ha+wa),new mxPoint(E,ha+wa),new mxPoint(E+x,ha)]);wa=d.getCenterX();
d=d.getCenterY();d=new mxPoint(wa,d);p&&(y.x<E||y.x>E+M?d.y=y.y:d.x=y.x);return mxUtils.getPerimeterPoint(ha,d,y)};mxStyleRegistry.putValue("parallelogramPerimeter",mxPerimeter.ParallelogramPerimeter);mxPerimeter.TrapezoidPerimeter=function(d,m,y,p){var x="0"!=mxUtils.getValue(m.style,"fixedSize","0"),D=x?P.prototype.fixedSize:P.prototype.size;null!=m&&(D=mxUtils.getValue(m.style,"size",D));x&&(D*=m.view.scale);var E=d.x,ha=d.y,M=d.width,wa=d.height;m=null!=m?mxUtils.getValue(m.style,mxConstants.STYLE_DIRECTION,
mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;m==mxConstants.DIRECTION_EAST?(x=x?Math.max(0,Math.min(.5*M,D)):M*Math.max(0,Math.min(1,D)),ha=[new mxPoint(E+x,ha),new mxPoint(E+M-x,ha),new mxPoint(E+M,ha+wa),new mxPoint(E,ha+wa),new mxPoint(E+x,ha)]):m==mxConstants.DIRECTION_WEST?(x=x?Math.max(0,Math.min(M,D)):M*Math.max(0,Math.min(1,D)),ha=[new mxPoint(E,ha),new mxPoint(E+M,ha),new mxPoint(E+M-x,ha+wa),new mxPoint(E+x,ha+wa),new mxPoint(E,ha)]):m==mxConstants.DIRECTION_NORTH?(x=x?Math.max(0,
@@ -2803,19 +2801,19 @@ Math.min(1,D)),ha=[new mxPoint(E,ha),new mxPoint(E+M-x,ha),new mxPoint(E+M,d),ne
ha+x),new mxPoint(na,ha),new mxPoint(E+M,ha+x),new mxPoint(E+M,ha+wa),new mxPoint(na,ha+wa-x),new mxPoint(E,ha+wa),new mxPoint(E,ha+x)]):(x=x?Math.max(0,Math.min(wa,D)):wa*Math.max(0,Math.min(1,D)),ha=[new mxPoint(E,ha),new mxPoint(na,ha+x),new mxPoint(E+M,ha),new mxPoint(E+M,ha+wa-x),new mxPoint(na,ha+wa),new mxPoint(E,ha+wa-x),new mxPoint(E,ha)]);na=new mxPoint(na,d);p&&(y.x<E||y.x>E+M?na.y=y.y:na.x=y.x);return mxUtils.getPerimeterPoint(ha,na,y)};mxStyleRegistry.putValue("stepPerimeter",mxPerimeter.StepPerimeter);
mxPerimeter.HexagonPerimeter2=function(d,m,y,p){var x="0"!=mxUtils.getValue(m.style,"fixedSize","0"),D=x?aa.prototype.fixedSize:aa.prototype.size;null!=m&&(D=mxUtils.getValue(m.style,"size",D));x&&(D*=m.view.scale);var E=d.x,ha=d.y,M=d.width,wa=d.height,na=d.getCenterX();d=d.getCenterY();m=null!=m?mxUtils.getValue(m.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;m==mxConstants.DIRECTION_NORTH||m==mxConstants.DIRECTION_SOUTH?(x=x?Math.max(0,Math.min(wa,D)):
wa*Math.max(0,Math.min(1,D)),ha=[new mxPoint(na,ha),new mxPoint(E+M,ha+x),new mxPoint(E+M,ha+wa-x),new mxPoint(na,ha+wa),new mxPoint(E,ha+wa-x),new mxPoint(E,ha+x),new mxPoint(na,ha)]):(x=x?Math.max(0,Math.min(M,D)):M*Math.max(0,Math.min(1,D)),ha=[new mxPoint(E+x,ha),new mxPoint(E+M-x,ha),new mxPoint(E+M,d),new mxPoint(E+M-x,ha+wa),new mxPoint(E+x,ha+wa),new mxPoint(E,d),new mxPoint(E+x,ha)]);na=new mxPoint(na,d);p&&(y.x<E||y.x>E+M?na.y=y.y:na.x=y.x);return mxUtils.getPerimeterPoint(ha,na,y)};mxStyleRegistry.putValue("hexagonPerimeter2",
-mxPerimeter.HexagonPerimeter2);mxUtils.extend(la,mxShape);la.prototype.size=10;la.prototype.paintBackground=function(d,m,y,p,x){var D=parseFloat(mxUtils.getValue(this.style,"size",this.size));d.translate(m,y);d.ellipse((p-D)/2,0,D,D);d.fillAndStroke();d.begin();d.moveTo(p/2,D);d.lineTo(p/2,x);d.end();d.stroke()};mxCellRenderer.registerShape("lollipop",la);mxUtils.extend(qa,mxShape);qa.prototype.size=10;qa.prototype.inset=2;qa.prototype.paintBackground=function(d,m,y,p,x){var D=parseFloat(mxUtils.getValue(this.style,
+mxPerimeter.HexagonPerimeter2);mxUtils.extend(ka,mxShape);ka.prototype.size=10;ka.prototype.paintBackground=function(d,m,y,p,x){var D=parseFloat(mxUtils.getValue(this.style,"size",this.size));d.translate(m,y);d.ellipse((p-D)/2,0,D,D);d.fillAndStroke();d.begin();d.moveTo(p/2,D);d.lineTo(p/2,x);d.end();d.stroke()};mxCellRenderer.registerShape("lollipop",ka);mxUtils.extend(qa,mxShape);qa.prototype.size=10;qa.prototype.inset=2;qa.prototype.paintBackground=function(d,m,y,p,x){var D=parseFloat(mxUtils.getValue(this.style,
"size",this.size)),E=parseFloat(mxUtils.getValue(this.style,"inset",this.inset))+this.strokewidth;d.translate(m,y);d.begin();d.moveTo(p/2,D+E);d.lineTo(p/2,x);d.end();d.stroke();d.begin();d.moveTo((p-D)/2-E,D/2);d.quadTo((p-D)/2-E,D+E,p/2,D+E);d.quadTo((p+D)/2+E,D+E,(p+D)/2+E,D/2);d.end();d.stroke()};mxCellRenderer.registerShape("requires",qa);mxUtils.extend(pa,mxShape);pa.prototype.paintBackground=function(d,m,y,p,x){d.translate(m,y);d.begin();d.moveTo(0,0);d.quadTo(p,0,p,x/2);d.quadTo(p,x,0,x);
d.end();d.stroke()};mxCellRenderer.registerShape("requiredInterface",pa);mxUtils.extend(ra,mxShape);ra.prototype.inset=2;ra.prototype.paintBackground=function(d,m,y,p,x){var D=parseFloat(mxUtils.getValue(this.style,"inset",this.inset))+this.strokewidth;d.translate(m,y);d.ellipse(0,D,p-2*D,x-2*D);d.fillAndStroke();d.begin();d.moveTo(p/2,0);d.quadTo(p,0,p,x/2);d.quadTo(p,x,p/2,x);d.end();d.stroke()};mxCellRenderer.registerShape("providedRequiredInterface",ra);mxUtils.extend(ua,mxCylinder);ua.prototype.jettyWidth=
20;ua.prototype.jettyHeight=10;ua.prototype.redrawPath=function(d,m,y,p,x,D){var E=parseFloat(mxUtils.getValue(this.style,"jettyWidth",this.jettyWidth));m=parseFloat(mxUtils.getValue(this.style,"jettyHeight",this.jettyHeight));y=E/2;E=y+E/2;var ha=Math.min(m,x-m),M=Math.min(ha+2*m,x-m);D?(d.moveTo(y,ha),d.lineTo(E,ha),d.lineTo(E,ha+m),d.lineTo(y,ha+m),d.moveTo(y,M),d.lineTo(E,M),d.lineTo(E,M+m),d.lineTo(y,M+m)):(d.moveTo(y,0),d.lineTo(p,0),d.lineTo(p,x),d.lineTo(y,x),d.lineTo(y,M+m),d.lineTo(0,M+
m),d.lineTo(0,M),d.lineTo(y,M),d.lineTo(y,ha+m),d.lineTo(0,ha+m),d.lineTo(0,ha),d.lineTo(y,ha),d.close());d.end()};mxCellRenderer.registerShape("module",ua);mxUtils.extend(Ba,mxCylinder);Ba.prototype.jettyWidth=32;Ba.prototype.jettyHeight=12;Ba.prototype.redrawPath=function(d,m,y,p,x,D){var E=parseFloat(mxUtils.getValue(this.style,"jettyWidth",this.jettyWidth));m=parseFloat(mxUtils.getValue(this.style,"jettyHeight",this.jettyHeight));y=E/2;E=y+E/2;var ha=.3*x-m/2,M=.7*x-m/2;D?(d.moveTo(y,ha),d.lineTo(E,
-ha),d.lineTo(E,ha+m),d.lineTo(y,ha+m),d.moveTo(y,M),d.lineTo(E,M),d.lineTo(E,M+m),d.lineTo(y,M+m)):(d.moveTo(y,0),d.lineTo(p,0),d.lineTo(p,x),d.lineTo(y,x),d.lineTo(y,M+m),d.lineTo(0,M+m),d.lineTo(0,M),d.lineTo(y,M),d.lineTo(y,ha+m),d.lineTo(0,ha+m),d.lineTo(0,ha),d.lineTo(y,ha),d.close());d.end()};mxCellRenderer.registerShape("component",Ba);mxUtils.extend(ya,mxRectangleShape);ya.prototype.paintForeground=function(d,m,y,p,x){var D=p/2,E=x/2,ha=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,
-mxConstants.LINE_ARCSIZE)/2;d.begin();this.addPoints(d,[new mxPoint(m+D,y),new mxPoint(m+p,y+E),new mxPoint(m+D,y+x),new mxPoint(m,y+E)],this.isRounded,ha,!0);d.stroke();mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxCellRenderer.registerShape("associativeEntity",ya);mxUtils.extend(Aa,mxDoubleEllipse);Aa.prototype.outerStroke=!0;Aa.prototype.paintVertexShape=function(d,m,y,p,x){var D=Math.min(4,Math.min(p/5,x/5));0<p&&0<x&&(d.ellipse(m+D,y+D,p-2*D,x-2*D),d.fillAndStroke());d.setShadow(!1);
+ha),d.lineTo(E,ha+m),d.lineTo(y,ha+m),d.moveTo(y,M),d.lineTo(E,M),d.lineTo(E,M+m),d.lineTo(y,M+m)):(d.moveTo(y,0),d.lineTo(p,0),d.lineTo(p,x),d.lineTo(y,x),d.lineTo(y,M+m),d.lineTo(0,M+m),d.lineTo(0,M),d.lineTo(y,M),d.lineTo(y,ha+m),d.lineTo(0,ha+m),d.lineTo(0,ha),d.lineTo(y,ha),d.close());d.end()};mxCellRenderer.registerShape("component",Ba);mxUtils.extend(xa,mxRectangleShape);xa.prototype.paintForeground=function(d,m,y,p,x){var D=p/2,E=x/2,ha=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,
+mxConstants.LINE_ARCSIZE)/2;d.begin();this.addPoints(d,[new mxPoint(m+D,y),new mxPoint(m+p,y+E),new mxPoint(m+D,y+x),new mxPoint(m,y+E)],this.isRounded,ha,!0);d.stroke();mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxCellRenderer.registerShape("associativeEntity",xa);mxUtils.extend(Aa,mxDoubleEllipse);Aa.prototype.outerStroke=!0;Aa.prototype.paintVertexShape=function(d,m,y,p,x){var D=Math.min(4,Math.min(p/5,x/5));0<p&&0<x&&(d.ellipse(m+D,y+D,p-2*D,x-2*D),d.fillAndStroke());d.setShadow(!1);
this.outerStroke&&(d.ellipse(m,y,p,x),d.stroke())};mxCellRenderer.registerShape("endState",Aa);mxUtils.extend(Na,Aa);Na.prototype.outerStroke=!1;mxCellRenderer.registerShape("startState",Na);mxUtils.extend(va,mxArrowConnector);va.prototype.defaultWidth=4;va.prototype.isOpenEnded=function(){return!0};va.prototype.getEdgeWidth=function(){return mxUtils.getNumber(this.style,"width",this.defaultWidth)+Math.max(0,this.strokewidth-1)};va.prototype.isArrowRounded=function(){return this.isRounded};mxCellRenderer.registerShape("link",
-va);mxUtils.extend(Da,mxArrowConnector);Da.prototype.defaultWidth=10;Da.prototype.defaultArrowWidth=20;Da.prototype.getStartArrowWidth=function(){return this.getEdgeWidth()+mxUtils.getNumber(this.style,"startWidth",this.defaultArrowWidth)};Da.prototype.getEndArrowWidth=function(){return this.getEdgeWidth()+mxUtils.getNumber(this.style,"endWidth",this.defaultArrowWidth)};Da.prototype.getEdgeWidth=function(){return mxUtils.getNumber(this.style,"width",this.defaultWidth)+Math.max(0,this.strokewidth-
-1)};mxCellRenderer.registerShape("flexArrow",Da);mxUtils.extend(Ha,mxActor);Ha.prototype.size=30;Ha.prototype.isRoundable=function(){return!0};Ha.prototype.redrawPath=function(d,m,y,p,x){m=Math.min(x,parseFloat(mxUtils.getValue(this.style,"size",this.size)));y=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(d,[new mxPoint(0,x),new mxPoint(0,m),new mxPoint(p,0),new mxPoint(p,x)],this.isRounded,y,!0);d.end()};mxCellRenderer.registerShape("manualInput",
-Ha);mxUtils.extend(La,mxRectangleShape);La.prototype.dx=20;La.prototype.dy=20;La.prototype.isHtmlAllowed=function(){return!1};La.prototype.paintForeground=function(d,m,y,p,x){mxRectangleShape.prototype.paintForeground.apply(this,arguments);var D=0;if(this.isRounded){var E=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100;D=Math.max(D,Math.min(p*E,x*E))}E=Math.max(D,Math.min(p,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));D=Math.max(D,Math.min(x,
-parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));d.begin();d.moveTo(m,y+D);d.lineTo(m+p,y+D);d.end();d.stroke();d.begin();d.moveTo(m+E,y);d.lineTo(m+E,y+x);d.end();d.stroke()};mxCellRenderer.registerShape("internalStorage",La);mxUtils.extend(Ea,mxActor);Ea.prototype.dx=20;Ea.prototype.dy=20;Ea.prototype.redrawPath=function(d,m,y,p,x){m=Math.max(0,Math.min(p,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));y=Math.max(0,Math.min(x,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));
-parseFloat(mxUtils.getValue(this.style,"size",this.size));var D=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(d,[new mxPoint(0,0),new mxPoint(p,0),new mxPoint(p,y),new mxPoint(m,y),new mxPoint(m,x),new mxPoint(0,x)],this.isRounded,D,!0);d.end()};mxCellRenderer.registerShape("corner",Ea);mxUtils.extend(za,mxActor);za.prototype.redrawPath=function(d,m,y,p,x){d.moveTo(0,0);d.lineTo(0,x);d.end();d.moveTo(p,0);d.lineTo(p,x);d.end();d.moveTo(0,x/2);d.lineTo(p,
+va);mxUtils.extend(Ca,mxArrowConnector);Ca.prototype.defaultWidth=10;Ca.prototype.defaultArrowWidth=20;Ca.prototype.getStartArrowWidth=function(){return this.getEdgeWidth()+mxUtils.getNumber(this.style,"startWidth",this.defaultArrowWidth)};Ca.prototype.getEndArrowWidth=function(){return this.getEdgeWidth()+mxUtils.getNumber(this.style,"endWidth",this.defaultArrowWidth)};Ca.prototype.getEdgeWidth=function(){return mxUtils.getNumber(this.style,"width",this.defaultWidth)+Math.max(0,this.strokewidth-
+1)};mxCellRenderer.registerShape("flexArrow",Ca);mxUtils.extend(Ga,mxActor);Ga.prototype.size=30;Ga.prototype.isRoundable=function(){return!0};Ga.prototype.redrawPath=function(d,m,y,p,x){m=Math.min(x,parseFloat(mxUtils.getValue(this.style,"size",this.size)));y=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(d,[new mxPoint(0,x),new mxPoint(0,m),new mxPoint(p,0),new mxPoint(p,x)],this.isRounded,y,!0);d.end()};mxCellRenderer.registerShape("manualInput",
+Ga);mxUtils.extend(La,mxRectangleShape);La.prototype.dx=20;La.prototype.dy=20;La.prototype.isHtmlAllowed=function(){return!1};La.prototype.paintForeground=function(d,m,y,p,x){mxRectangleShape.prototype.paintForeground.apply(this,arguments);var D=0;if(this.isRounded){var E=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100;D=Math.max(D,Math.min(p*E,x*E))}E=Math.max(D,Math.min(p,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));D=Math.max(D,Math.min(x,
+parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));d.begin();d.moveTo(m,y+D);d.lineTo(m+p,y+D);d.end();d.stroke();d.begin();d.moveTo(m+E,y);d.lineTo(m+E,y+x);d.end();d.stroke()};mxCellRenderer.registerShape("internalStorage",La);mxUtils.extend(Da,mxActor);Da.prototype.dx=20;Da.prototype.dy=20;Da.prototype.redrawPath=function(d,m,y,p,x){m=Math.max(0,Math.min(p,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));y=Math.max(0,Math.min(x,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));
+parseFloat(mxUtils.getValue(this.style,"size",this.size));var D=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(d,[new mxPoint(0,0),new mxPoint(p,0),new mxPoint(p,y),new mxPoint(m,y),new mxPoint(m,x),new mxPoint(0,x)],this.isRounded,D,!0);d.end()};mxCellRenderer.registerShape("corner",Da);mxUtils.extend(za,mxActor);za.prototype.redrawPath=function(d,m,y,p,x){d.moveTo(0,0);d.lineTo(0,x);d.end();d.moveTo(p,0);d.lineTo(p,x);d.end();d.moveTo(0,x/2);d.lineTo(p,
x/2);d.end()};mxCellRenderer.registerShape("crossbar",za);mxUtils.extend(Ra,mxActor);Ra.prototype.dx=20;Ra.prototype.dy=20;Ra.prototype.redrawPath=function(d,m,y,p,x){m=Math.max(0,Math.min(p,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));y=Math.max(0,Math.min(x,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));parseFloat(mxUtils.getValue(this.style,"size",this.size));var D=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(d,[new mxPoint(0,
0),new mxPoint(p,0),new mxPoint(p,y),new mxPoint((p+m)/2,y),new mxPoint((p+m)/2,x),new mxPoint((p-m)/2,x),new mxPoint((p-m)/2,y),new mxPoint(0,y)],this.isRounded,D,!0);d.end()};mxCellRenderer.registerShape("tee",Ra);mxUtils.extend(Ja,mxActor);Ja.prototype.arrowWidth=.3;Ja.prototype.arrowSize=.2;Ja.prototype.redrawPath=function(d,m,y,p,x){var D=x*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",this.arrowWidth))));m=p*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,
"arrowSize",this.arrowSize))));y=(x-D)/2;D=y+D;var E=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(d,[new mxPoint(0,y),new mxPoint(p-m,y),new mxPoint(p-m,0),new mxPoint(p,x/2),new mxPoint(p-m,x),new mxPoint(p-m,D),new mxPoint(0,D)],this.isRounded,E,!0);d.end()};mxCellRenderer.registerShape("singleArrow",Ja);mxUtils.extend(Qa,mxActor);Qa.prototype.redrawPath=function(d,m,y,p,x){var D=x*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",
@@ -2824,12 +2822,12 @@ Qa);mxUtils.extend(Ma,mxActor);Ma.prototype.size=.1;Ma.prototype.fixedSize=20;Ma
mxUtils.extend(u,mxActor);u.prototype.redrawPath=function(d,m,y,p,x){d.moveTo(0,0);d.quadTo(p,0,p,x/2);d.quadTo(p,x,0,x);d.close();d.end()};mxCellRenderer.registerShape("or",u);mxUtils.extend(N,mxActor);N.prototype.redrawPath=function(d,m,y,p,x){d.moveTo(0,0);d.quadTo(p,0,p,x/2);d.quadTo(p,x,0,x);d.quadTo(p/2,x/2,0,0);d.close();d.end()};mxCellRenderer.registerShape("xor",N);mxUtils.extend(Q,mxActor);Q.prototype.size=20;Q.prototype.isRoundable=function(){return!0};Q.prototype.redrawPath=function(d,
m,y,p,x){m=Math.min(p/2,Math.min(x,parseFloat(mxUtils.getValue(this.style,"size",this.size))));y=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(d,[new mxPoint(m,0),new mxPoint(p-m,0),new mxPoint(p,.8*m),new mxPoint(p,x),new mxPoint(0,x),new mxPoint(0,.8*m)],this.isRounded,y,!0);d.end()};mxCellRenderer.registerShape("loopLimit",Q);mxUtils.extend(Y,mxActor);Y.prototype.size=.375;Y.prototype.isRoundable=function(){return!0};Y.prototype.redrawPath=function(d,
m,y,p,x){m=x*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));y=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(d,[new mxPoint(0,0),new mxPoint(p,0),new mxPoint(p,x-m),new mxPoint(p/2,x),new mxPoint(0,x-m)],this.isRounded,y,!0);d.end()};mxCellRenderer.registerShape("offPageConnector",Y);mxUtils.extend(ia,mxEllipse);ia.prototype.paintVertexShape=function(d,m,y,p,x){mxEllipse.prototype.paintVertexShape.apply(this,arguments);
-d.begin();d.moveTo(m+p/2,y+x);d.lineTo(m+p,y+x);d.end();d.stroke()};mxCellRenderer.registerShape("tapeData",ia);mxUtils.extend(ja,mxEllipse);ja.prototype.paintVertexShape=function(d,m,y,p,x){mxEllipse.prototype.paintVertexShape.apply(this,arguments);d.setShadow(!1);d.begin();d.moveTo(m,y+x/2);d.lineTo(m+p,y+x/2);d.end();d.stroke();d.begin();d.moveTo(m+p/2,y);d.lineTo(m+p/2,y+x);d.end();d.stroke()};mxCellRenderer.registerShape("orEllipse",ja);mxUtils.extend(oa,mxEllipse);oa.prototype.paintVertexShape=
+d.begin();d.moveTo(m+p/2,y+x);d.lineTo(m+p,y+x);d.end();d.stroke()};mxCellRenderer.registerShape("tapeData",ia);mxUtils.extend(la,mxEllipse);la.prototype.paintVertexShape=function(d,m,y,p,x){mxEllipse.prototype.paintVertexShape.apply(this,arguments);d.setShadow(!1);d.begin();d.moveTo(m,y+x/2);d.lineTo(m+p,y+x/2);d.end();d.stroke();d.begin();d.moveTo(m+p/2,y);d.lineTo(m+p/2,y+x);d.end();d.stroke()};mxCellRenderer.registerShape("orEllipse",la);mxUtils.extend(oa,mxEllipse);oa.prototype.paintVertexShape=
function(d,m,y,p,x){mxEllipse.prototype.paintVertexShape.apply(this,arguments);d.setShadow(!1);d.begin();d.moveTo(m+.145*p,y+.145*x);d.lineTo(m+.855*p,y+.855*x);d.end();d.stroke();d.begin();d.moveTo(m+.855*p,y+.145*x);d.lineTo(m+.145*p,y+.855*x);d.end();d.stroke()};mxCellRenderer.registerShape("sumEllipse",oa);mxUtils.extend(ta,mxRhombus);ta.prototype.paintVertexShape=function(d,m,y,p,x){mxRhombus.prototype.paintVertexShape.apply(this,arguments);d.setShadow(!1);d.begin();d.moveTo(m,y+x/2);d.lineTo(m+
-p,y+x/2);d.end();d.stroke()};mxCellRenderer.registerShape("sortShape",ta);mxUtils.extend(sa,mxEllipse);sa.prototype.paintVertexShape=function(d,m,y,p,x){d.begin();d.moveTo(m,y);d.lineTo(m+p,y);d.lineTo(m+p/2,y+x/2);d.close();d.fillAndStroke();d.begin();d.moveTo(m,y+x);d.lineTo(m+p,y+x);d.lineTo(m+p/2,y+x/2);d.close();d.fillAndStroke()};mxCellRenderer.registerShape("collate",sa);mxUtils.extend(xa,mxEllipse);xa.prototype.paintVertexShape=function(d,m,y,p,x){var D=d.state.strokeWidth/2,E=10+2*D,ha=y+
-x-E/2;d.begin();d.moveTo(m,y);d.lineTo(m,y+x);d.moveTo(m+D,ha);d.lineTo(m+D+E,ha-E/2);d.moveTo(m+D,ha);d.lineTo(m+D+E,ha+E/2);d.moveTo(m+D,ha);d.lineTo(m+p-D,ha);d.moveTo(m+p,y);d.lineTo(m+p,y+x);d.moveTo(m+p-D,ha);d.lineTo(m+p-E-D,ha-E/2);d.moveTo(m+p-D,ha);d.lineTo(m+p-E-D,ha+E/2);d.end();d.stroke()};mxCellRenderer.registerShape("dimension",xa);mxUtils.extend(Ca,mxEllipse);Ca.prototype.drawHidden=!0;Ca.prototype.paintVertexShape=function(d,m,y,p,x){this.outline||d.setStrokeColor(null);if(null!=
+p,y+x/2);d.end();d.stroke()};mxCellRenderer.registerShape("sortShape",ta);mxUtils.extend(sa,mxEllipse);sa.prototype.paintVertexShape=function(d,m,y,p,x){d.begin();d.moveTo(m,y);d.lineTo(m+p,y);d.lineTo(m+p/2,y+x/2);d.close();d.fillAndStroke();d.begin();d.moveTo(m,y+x);d.lineTo(m+p,y+x);d.lineTo(m+p/2,y+x/2);d.close();d.fillAndStroke()};mxCellRenderer.registerShape("collate",sa);mxUtils.extend(ya,mxEllipse);ya.prototype.paintVertexShape=function(d,m,y,p,x){var D=d.state.strokeWidth/2,E=10+2*D,ha=y+
+x-E/2;d.begin();d.moveTo(m,y);d.lineTo(m,y+x);d.moveTo(m+D,ha);d.lineTo(m+D+E,ha-E/2);d.moveTo(m+D,ha);d.lineTo(m+D+E,ha+E/2);d.moveTo(m+D,ha);d.lineTo(m+p-D,ha);d.moveTo(m+p,y);d.lineTo(m+p,y+x);d.moveTo(m+p-D,ha);d.lineTo(m+p-E-D,ha-E/2);d.moveTo(m+p-D,ha);d.lineTo(m+p-E-D,ha+E/2);d.end();d.stroke()};mxCellRenderer.registerShape("dimension",ya);mxUtils.extend(Ha,mxEllipse);Ha.prototype.drawHidden=!0;Ha.prototype.paintVertexShape=function(d,m,y,p,x){this.outline||d.setStrokeColor(null);if(null!=
this.style){var D=d.pointerEvents,E=null!=this.fill&&this.fill!=mxConstants.NONE;"1"==mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1")||E||(d.pointerEvents=!1);var ha="1"==mxUtils.getValue(this.style,"top","1"),M="1"==mxUtils.getValue(this.style,"left","1"),wa="1"==mxUtils.getValue(this.style,"right","1"),na="1"==mxUtils.getValue(this.style,"bottom","1");this.drawHidden||E||this.outline||ha||wa||na||M?(d.rect(m,y,p,x),d.fill(),d.pointerEvents=D,d.setStrokeColor(this.stroke),d.setLineCap("square"),
-d.begin(),d.moveTo(m,y),this.outline||ha?d.lineTo(m+p,y):d.moveTo(m+p,y),this.outline||wa?d.lineTo(m+p,y+x):d.moveTo(m+p,y+x),this.outline||na?d.lineTo(m,y+x):d.moveTo(m,y+x),(this.outline||M)&&d.lineTo(m,y),d.end(),d.stroke(),d.setLineCap("flat")):d.setStrokeColor(this.stroke)}};mxCellRenderer.registerShape("partialRectangle",Ca);mxUtils.extend(Oa,mxEllipse);Oa.prototype.paintVertexShape=function(d,m,y,p,x){mxEllipse.prototype.paintVertexShape.apply(this,arguments);d.setShadow(!1);d.begin();"vertical"==
+d.begin(),d.moveTo(m,y),this.outline||ha?d.lineTo(m+p,y):d.moveTo(m+p,y),this.outline||wa?d.lineTo(m+p,y+x):d.moveTo(m+p,y+x),this.outline||na?d.lineTo(m,y+x):d.moveTo(m,y+x),(this.outline||M)&&d.lineTo(m,y),d.end(),d.stroke(),d.setLineCap("flat")):d.setStrokeColor(this.stroke)}};mxCellRenderer.registerShape("partialRectangle",Ha);mxUtils.extend(Oa,mxEllipse);Oa.prototype.paintVertexShape=function(d,m,y,p,x){mxEllipse.prototype.paintVertexShape.apply(this,arguments);d.setShadow(!1);d.begin();"vertical"==
mxUtils.getValue(this.style,"line")?(d.moveTo(m+p/2,y),d.lineTo(m+p/2,y+x)):(d.moveTo(m,y+x/2),d.lineTo(m+p,y+x/2));d.end();d.stroke()};mxCellRenderer.registerShape("lineEllipse",Oa);mxUtils.extend(Wa,mxActor);Wa.prototype.redrawPath=function(d,m,y,p,x){m=Math.min(p,x/2);d.moveTo(0,0);d.lineTo(p-m,0);d.quadTo(p,0,p,x/2);d.quadTo(p,x,p-m,x);d.lineTo(0,x);d.close();d.end()};mxCellRenderer.registerShape("delay",Wa);mxUtils.extend(Za,mxActor);Za.prototype.size=.2;Za.prototype.redrawPath=function(d,m,
y,p,x){m=Math.min(x,p);var D=Math.max(0,Math.min(m,m*parseFloat(mxUtils.getValue(this.style,"size",this.size))));m=(x-D)/2;y=m+D;var E=(p-D)/2;D=E+D;d.moveTo(0,m);d.lineTo(E,m);d.lineTo(E,0);d.lineTo(D,0);d.lineTo(D,m);d.lineTo(p,m);d.lineTo(p,y);d.lineTo(D,y);d.lineTo(D,x);d.lineTo(E,x);d.lineTo(E,y);d.lineTo(0,y);d.close();d.end()};mxCellRenderer.registerShape("cross",Za);mxUtils.extend(ab,mxActor);ab.prototype.size=.25;ab.prototype.redrawPath=function(d,m,y,p,x){m=Math.min(p,x/2);y=Math.min(p-
m,Math.max(0,parseFloat(mxUtils.getValue(this.style,"size",this.size)))*p);d.moveTo(0,x/2);d.lineTo(y,0);d.lineTo(p-m,0);d.quadTo(p,0,p,x/2);d.quadTo(p,x,p-m,x);d.lineTo(y,x);d.close();d.end()};mxCellRenderer.registerShape("display",ab);mxUtils.extend(Ta,mxActor);Ta.prototype.cst={RECT2:"mxgraph.basic.rect"};Ta.prototype.customProperties=[{name:"rectStyle",dispName:"Style",type:"enum",defVal:"square",enumList:[{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},
@@ -2839,34 +2837,34 @@ dispName:"Left ",type:"bool",defVal:!0},{name:"topLeftStyle",dispName:"Top Left
{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]},{name:"bottomRightStyle",dispName:"Bottom Right Style",type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]},{name:"bottomLeftStyle",dispName:"Bottom Left Style",type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},
{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]}];Ta.prototype.paintVertexShape=function(d,m,y,p,x){d.translate(m,y);this.strictDrawShape(d,0,0,p,x)};Ta.prototype.strictDrawShape=function(d,m,y,p,x,D){var E=D&&D.rectStyle?D.rectStyle:mxUtils.getValue(this.style,"rectStyle",this.rectStyle),ha=D&&D.absoluteCornerSize?D.absoluteCornerSize:mxUtils.getValue(this.style,"absoluteCornerSize",
this.absoluteCornerSize),M=D&&D.size?D.size:Math.max(0,Math.min(p,parseFloat(mxUtils.getValue(this.style,"size",this.size)))),wa=D&&D.rectOutline?D.rectOutline:mxUtils.getValue(this.style,"rectOutline",this.rectOutline),na=D&&D.indent?D.indent:Math.max(0,Math.min(p,parseFloat(mxUtils.getValue(this.style,"indent",this.indent)))),Ya=D&&D.dashed?D.dashed:mxUtils.getValue(this.style,"dashed",!1),hb=D&&D.dashPattern?D.dashPattern:mxUtils.getValue(this.style,"dashPattern",null),bb=D&&D.relIndent?D.relIndent:
-Math.max(0,Math.min(50,na)),Fa=D&&D.top?D.top:mxUtils.getValue(this.style,"top",!0),Ka=D&&D.right?D.right:mxUtils.getValue(this.style,"right",!0),Ia=D&&D.bottom?D.bottom:mxUtils.getValue(this.style,"bottom",!0),Ga=D&&D.left?D.left:mxUtils.getValue(this.style,"left",!0),Sa=D&&D.topLeftStyle?D.topLeftStyle:mxUtils.getValue(this.style,"topLeftStyle","default"),Ua=D&&D.topRightStyle?D.topRightStyle:mxUtils.getValue(this.style,"topRightStyle","default"),Va=D&&D.bottomRightStyle?D.bottomRightStyle:mxUtils.getValue(this.style,
+Math.max(0,Math.min(50,na)),Ea=D&&D.top?D.top:mxUtils.getValue(this.style,"top",!0),Ka=D&&D.right?D.right:mxUtils.getValue(this.style,"right",!0),Ia=D&&D.bottom?D.bottom:mxUtils.getValue(this.style,"bottom",!0),Fa=D&&D.left?D.left:mxUtils.getValue(this.style,"left",!0),Sa=D&&D.topLeftStyle?D.topLeftStyle:mxUtils.getValue(this.style,"topLeftStyle","default"),Ua=D&&D.topRightStyle?D.topRightStyle:mxUtils.getValue(this.style,"topRightStyle","default"),Va=D&&D.bottomRightStyle?D.bottomRightStyle:mxUtils.getValue(this.style,
"bottomRightStyle","default"),Xa=D&&D.bottomLeftStyle?D.bottomLeftStyle:mxUtils.getValue(this.style,"bottomLeftStyle","default"),Fb=D&&D.fillColor?D.fillColor:mxUtils.getValue(this.style,"fillColor","#ffffff");D&&D.strokeColor||mxUtils.getValue(this.style,"strokeColor","#000000");var Gb=D&&D.strokeWidth?D.strokeWidth:mxUtils.getValue(this.style,"strokeWidth","1"),Cb=D&&D.fillColor2?D.fillColor2:mxUtils.getValue(this.style,"fillColor2","none"),Eb=D&&D.gradientColor2?D.gradientColor2:mxUtils.getValue(this.style,
-"gradientColor2","none"),Hb=D&&D.gradientDirection2?D.gradientDirection2:mxUtils.getValue(this.style,"gradientDirection2","south"),Ib=D&&D.opacity?D.opacity:mxUtils.getValue(this.style,"opacity","100"),Jb=Math.max(0,Math.min(50,M));D=Ta.prototype;d.setDashed(Ya);hb&&""!=hb&&d.setDashPattern(hb);d.setStrokeWidth(Gb);M=Math.min(.5*x,.5*p,M);ha||(M=Jb*Math.min(p,x)/100);M=Math.min(M,.5*Math.min(p,x));ha||(na=Math.min(bb*Math.min(p,x)/100));na=Math.min(na,.5*Math.min(p,x)-M);(Fa||Ka||Ia||Ga)&&"frame"!=
-wa&&(d.begin(),Fa?D.moveNW(d,m,y,p,x,E,Sa,M,Ga):d.moveTo(0,0),Fa&&D.paintNW(d,m,y,p,x,E,Sa,M,Ga),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),Ka&&D.paintNE(d,m,y,p,x,E,Ua,M,Fa),D.paintRight(d,m,y,p,x,E,Va,M,Ia),Ia&&D.paintSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Ga),Ga&&D.paintSW(d,m,y,p,x,E,Xa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Fa),d.close(),d.fill(),d.setShadow(!1),d.setFillColor(Cb),Ya=ha=Ib,"none"==Cb&&(ha=0),"none"==Eb&&(Ya=0),d.setGradient(Cb,Eb,0,0,p,x,Hb,ha,Ya),d.begin(),Fa?D.moveNWInner(d,
-m,y,p,x,E,Sa,M,na,Fa,Ga):d.moveTo(na,0),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Ga),Ga&&Ia&&D.paintSWInner(d,m,y,p,x,E,Xa,M,na,Ia),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia),Ia&&Ka&&D.paintSEInner(d,m,y,p,x,E,Va,M,na),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Fa,Ka),Ka&&Fa&&D.paintNEInner(d,m,y,p,x,E,Ua,M,na),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Ga,Fa),Fa&&Ga&&D.paintNWInner(d,m,y,p,x,E,Sa,M,na),d.fill(),"none"==Fb&&(d.begin(),D.paintFolds(d,m,y,p,x,E,Sa,Ua,Va,Xa,M,Fa,Ka,Ia,Ga),d.stroke()));Fa||Ka||
-Ia||!Ga?Fa||Ka||!Ia||Ga?!Fa&&!Ka&&Ia&&Ga?"frame"!=wa?(d.begin(),D.moveSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Ga),D.paintSW(d,m,y,p,x,E,Xa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Fa),"double"==wa&&(D.moveNWInner(d,m,y,p,x,E,Sa,M,na,Fa,Ga),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Ga),D.paintSWInner(d,m,y,p,x,E,Xa,M,na,Ia),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia)),d.stroke()):(d.begin(),D.moveSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Ga),D.paintSW(d,m,y,p,x,E,Xa,M,Ia),D.paintLeft(d,
-m,y,p,x,E,Sa,M,Fa),D.lineNWInner(d,m,y,p,x,E,Sa,M,na,Fa,Ga),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Ga),D.paintSWInner(d,m,y,p,x,E,Xa,M,na,Ia),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia),d.close(),d.fillAndStroke()):Fa||!Ka||Ia||Ga?!Fa&&Ka&&!Ia&&Ga?"frame"!=wa?(d.begin(),D.moveSW(d,m,y,p,x,E,Sa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Fa),"double"==wa&&(D.moveNWInner(d,m,y,p,x,E,Sa,M,na,Fa,Ga),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Ga)),d.stroke(),d.begin(),D.moveNE(d,m,y,p,x,E,Ua,M,Fa),D.paintRight(d,
-m,y,p,x,E,Va,M,Ia),"double"==wa&&(D.moveSEInner(d,m,y,p,x,E,Va,M,na,Ia),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Fa,Ka)),d.stroke()):(d.begin(),D.moveSW(d,m,y,p,x,E,Sa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Fa),D.lineNWInner(d,m,y,p,x,E,Sa,M,na,Fa,Ga),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Ga),d.close(),d.fillAndStroke(),d.begin(),D.moveNE(d,m,y,p,x,E,Ua,M,Fa),D.paintRight(d,m,y,p,x,E,Va,M,Ia),D.lineSEInner(d,m,y,p,x,E,Va,M,na,Ia),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Fa,Ka),d.close(),d.fillAndStroke()):
-!Fa&&Ka&&Ia&&!Ga?"frame"!=wa?(d.begin(),D.moveNE(d,m,y,p,x,E,Ua,M,Fa),D.paintRight(d,m,y,p,x,E,Va,M,Ia),D.paintSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Ga),"double"==wa&&(D.moveSWInner(d,m,y,p,x,E,Xa,M,na,Ga),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia),D.paintSEInner(d,m,y,p,x,E,Va,M,na),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Fa,Ka)),d.stroke()):(d.begin(),D.moveNE(d,m,y,p,x,E,Ua,M,Fa),D.paintRight(d,m,y,p,x,E,Va,M,Ia),D.paintSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Ga),
-D.lineSWInner(d,m,y,p,x,E,Xa,M,na,Ga),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia),D.paintSEInner(d,m,y,p,x,E,Va,M,na),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Fa,Ka),d.close(),d.fillAndStroke()):!Fa&&Ka&&Ia&&Ga?"frame"!=wa?(d.begin(),D.moveNE(d,m,y,p,x,E,Ua,M,Fa),D.paintRight(d,m,y,p,x,E,Va,M,Ia),D.paintSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Ga),D.paintSW(d,m,y,p,x,E,Xa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Fa),"double"==wa&&(D.moveNWInner(d,m,y,p,x,E,Sa,M,na,Fa,Ga),D.paintLeftInner(d,
-m,y,p,x,E,Xa,M,na,Ia,Ga),D.paintSWInner(d,m,y,p,x,E,Xa,M,na,Ia),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia),D.paintSEInner(d,m,y,p,x,E,Va,M,na),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Fa,Ka)),d.stroke()):(d.begin(),D.moveNE(d,m,y,p,x,E,Ua,M,Fa),D.paintRight(d,m,y,p,x,E,Va,M,Ia),D.paintSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Ga),D.paintSW(d,m,y,p,x,E,Xa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Fa),D.lineNWInner(d,m,y,p,x,E,Sa,M,na,Fa,Ga),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Ga),D.paintSWInner(d,
-m,y,p,x,E,Xa,M,na,Ia),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia),D.paintSEInner(d,m,y,p,x,E,Va,M,na),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Fa,Ka),d.close(),d.fillAndStroke()):!Fa||Ka||Ia||Ga?Fa&&!Ka&&!Ia&&Ga?"frame"!=wa?(d.begin(),D.moveSW(d,m,y,p,x,E,Xa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Fa),D.paintNW(d,m,y,p,x,E,Sa,M,Ga),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),"double"==wa&&(D.moveNEInner(d,m,y,p,x,E,Ua,M,na,Ka),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Ga,Fa),D.paintNWInner(d,m,y,p,x,E,Sa,M,na),D.paintLeftInner(d,
-m,y,p,x,E,Xa,M,na,Ia,Ga)),d.stroke()):(d.begin(),D.moveSW(d,m,y,p,x,E,Xa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Fa),D.paintNW(d,m,y,p,x,E,Sa,M,Ga),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),D.lineNEInner(d,m,y,p,x,E,Ua,M,na,Ka),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Ga,Fa),D.paintNWInner(d,m,y,p,x,E,Sa,M,na),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Ga),d.close(),d.fillAndStroke()):Fa&&!Ka&&Ia&&!Ga?"frame"!=wa?(d.begin(),D.moveNW(d,m,y,p,x,E,Sa,M,Ga),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),"double"==wa&&(D.moveNEInner(d,m,y,
-p,x,E,Ua,M,na,Ka),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Ga,Fa)),d.stroke(),d.begin(),D.moveSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Ga),"double"==wa&&(D.moveSWInner(d,m,y,p,x,E,Xa,M,na,Ga),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia)),d.stroke()):(d.begin(),D.moveNW(d,m,y,p,x,E,Sa,M,Ga),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),D.lineNEInner(d,m,y,p,x,E,Ua,M,na,Ka),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Ga,Fa),d.close(),d.fillAndStroke(),d.begin(),D.moveSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,
-p,x,E,Xa,M,Ga),D.lineSWInner(d,m,y,p,x,E,Xa,M,na,Ga),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia),d.close(),d.fillAndStroke()):Fa&&!Ka&&Ia&&Ga?"frame"!=wa?(d.begin(),D.moveSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Ga),D.paintSW(d,m,y,p,x,E,Xa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Fa),D.paintNW(d,m,y,p,x,E,Sa,M,Ga),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),"double"==wa&&(D.moveNEInner(d,m,y,p,x,E,Ua,M,na,Ka),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Ga,Fa),D.paintNWInner(d,m,y,p,x,E,Sa,M,na),D.paintLeftInner(d,
-m,y,p,x,E,Xa,M,na,Ia,Ga),D.paintSWInner(d,m,y,p,x,E,Xa,M,na,Ia),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia)),d.stroke()):(d.begin(),D.moveSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Ga),D.paintSW(d,m,y,p,x,E,Xa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Fa),D.paintNW(d,m,y,p,x,E,Sa,M,Ga),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),D.lineNEInner(d,m,y,p,x,E,Ua,M,na,Ka),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Ga,Fa),D.paintNWInner(d,m,y,p,x,E,Sa,M,na),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Ga),D.paintSWInner(d,
-m,y,p,x,E,Xa,M,na,Ia),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia),d.close(),d.fillAndStroke()):Fa&&Ka&&!Ia&&!Ga?"frame"!=wa?(d.begin(),D.moveNW(d,m,y,p,x,E,Sa,M,Ga),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),D.paintNE(d,m,y,p,x,E,Ua,M,Fa),D.paintRight(d,m,y,p,x,E,Va,M,Ia),"double"==wa&&(D.moveSEInner(d,m,y,p,x,E,Va,M,na,Ia),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Fa,Ka),D.paintNEInner(d,m,y,p,x,E,Ua,M,na),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Ga,Fa)),d.stroke()):(d.begin(),D.moveNW(d,m,y,p,x,E,Sa,M,Ga),D.paintTop(d,
-m,y,p,x,E,Ua,M,Ka),D.paintNE(d,m,y,p,x,E,Ua,M,Fa),D.paintRight(d,m,y,p,x,E,Va,M,Ia),D.lineSEInner(d,m,y,p,x,E,Va,M,na,Ia),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Fa,Ka),D.paintNEInner(d,m,y,p,x,E,Ua,M,na),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Ga,Fa),d.close(),d.fillAndStroke()):Fa&&Ka&&!Ia&&Ga?"frame"!=wa?(d.begin(),D.moveSW(d,m,y,p,x,E,Xa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Fa),D.paintNW(d,m,y,p,x,E,Sa,M,Ga),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),D.paintNE(d,m,y,p,x,E,Ua,M,Fa),D.paintRight(d,m,y,p,x,E,Va,M,
-Ia),"double"==wa&&(D.moveSEInner(d,m,y,p,x,E,Va,M,na,Ia),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Fa,Ka),D.paintNEInner(d,m,y,p,x,E,Ua,M,na),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Ga,Fa),D.paintNWInner(d,m,y,p,x,E,Sa,M,na),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Ga)),d.stroke()):(d.begin(),D.moveSW(d,m,y,p,x,E,Xa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Fa),D.paintNW(d,m,y,p,x,E,Sa,M,Ga),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),D.paintNE(d,m,y,p,x,E,Ua,M,Fa),D.paintRight(d,m,y,p,x,E,Va,M,Ia),D.lineSEInner(d,m,y,p,x,E,
-Va,M,na,Ia),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Fa,Ka),D.paintNEInner(d,m,y,p,x,E,Ua,M,na),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Ga,Fa),D.paintNWInner(d,m,y,p,x,E,Sa,M,na),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Ga),d.close(),d.fillAndStroke()):Fa&&Ka&&Ia&&!Ga?"frame"!=wa?(d.begin(),D.moveNW(d,m,y,p,x,E,Sa,M,Ga),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),D.paintNE(d,m,y,p,x,E,Ua,M,Fa),D.paintRight(d,m,y,p,x,E,Va,M,Ia),D.paintSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Ga),"double"==wa&&(D.moveSWInner(d,
-m,y,p,x,E,Xa,M,na,Ga),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia),D.paintSEInner(d,m,y,p,x,E,Va,M,na),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Fa,Ka),D.paintNEInner(d,m,y,p,x,E,Ua,M,na),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Ga,Fa)),d.stroke()):(d.begin(),D.moveNW(d,m,y,p,x,E,Sa,M,Ga),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),D.paintNE(d,m,y,p,x,E,Ua,M,Fa),D.paintRight(d,m,y,p,x,E,Va,M,Ia),D.paintSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Ga),D.lineSWInner(d,m,y,p,x,E,Xa,M,na,Ga),D.paintBottomInner(d,
-m,y,p,x,E,Va,M,na,Ka,Ia),D.paintSEInner(d,m,y,p,x,E,Va,M,na),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Fa,Ka),D.paintNEInner(d,m,y,p,x,E,Ua,M,na),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Ga,Fa),d.close(),d.fillAndStroke()):Fa&&Ka&&Ia&&Ga&&("frame"!=wa?(d.begin(),D.moveNW(d,m,y,p,x,E,Sa,M,Ga),D.paintNW(d,m,y,p,x,E,Sa,M,Ga),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),D.paintNE(d,m,y,p,x,E,Ua,M,Fa),D.paintRight(d,m,y,p,x,E,Va,M,Ia),D.paintSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Ga),D.paintSW(d,m,y,p,x,E,Xa,
-M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Fa),d.close(),"double"==wa&&(D.moveSWInner(d,m,y,p,x,E,Xa,M,na,Ga),D.paintSWInner(d,m,y,p,x,E,Xa,M,na,Ia),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia),D.paintSEInner(d,m,y,p,x,E,Va,M,na),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Fa,Ka),D.paintNEInner(d,m,y,p,x,E,Ua,M,na),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Ga,Fa),D.paintNWInner(d,m,y,p,x,E,Sa,M,na),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Ga),d.close()),d.stroke()):(d.begin(),D.moveNW(d,m,y,p,x,E,Sa,M,Ga),D.paintNW(d,
-m,y,p,x,E,Sa,M,Ga),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),D.paintNE(d,m,y,p,x,E,Ua,M,Fa),D.paintRight(d,m,y,p,x,E,Va,M,Ia),D.paintSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Ga),D.paintSW(d,m,y,p,x,E,Xa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Fa),d.close(),D.moveSWInner(d,m,y,p,x,E,Xa,M,na,Ga),D.paintSWInner(d,m,y,p,x,E,Xa,M,na,Ia),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia),D.paintSEInner(d,m,y,p,x,E,Va,M,na),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Fa,Ka),D.paintNEInner(d,m,y,p,x,E,Ua,M,na),D.paintTopInner(d,
-m,y,p,x,E,Sa,M,na,Ga,Fa),D.paintNWInner(d,m,y,p,x,E,Sa,M,na),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Ga),d.close(),d.fillAndStroke())):"frame"!=wa?(d.begin(),D.moveNW(d,m,y,p,x,E,Sa,M,Ga),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),"double"==wa&&(D.moveNEInner(d,m,y,p,x,E,Ua,M,na,Ka),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Ga,Fa)),d.stroke()):(d.begin(),D.moveNW(d,m,y,p,x,E,Sa,M,Ga),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),D.lineNEInner(d,m,y,p,x,E,Ua,M,na,Ka),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Ga,Fa),d.close(),d.fillAndStroke()):
-"frame"!=wa?(d.begin(),D.moveNE(d,m,y,p,x,E,Ua,M,Fa),D.paintRight(d,m,y,p,x,E,Va,M,Ia),"double"==wa&&(D.moveSEInner(d,m,y,p,x,E,Va,M,na,Ia),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Fa,Ka)),d.stroke()):(d.begin(),D.moveNE(d,m,y,p,x,E,Ua,M,Fa),D.paintRight(d,m,y,p,x,E,Va,M,Ia),D.lineSEInner(d,m,y,p,x,E,Va,M,na,Ia),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Fa,Ka),d.close(),d.fillAndStroke()):"frame"!=wa?(d.begin(),D.moveSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Ga),"double"==wa&&(D.moveSWInner(d,
-m,y,p,x,E,Xa,M,na,Ga),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia)),d.stroke()):(d.begin(),D.moveSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Ga),D.lineSWInner(d,m,y,p,x,E,Xa,M,na,Ga),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia),d.close(),d.fillAndStroke()):"frame"!=wa?(d.begin(),D.moveSW(d,m,y,p,x,E,Sa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Fa),"double"==wa&&(D.moveNWInner(d,m,y,p,x,E,Sa,M,na,Fa,Ga),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Ga)),d.stroke()):(d.begin(),D.moveSW(d,m,y,p,x,E,
-Sa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Fa),D.lineNWInner(d,m,y,p,x,E,Sa,M,na,Fa,Ga),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Ga),d.close(),d.fillAndStroke());d.begin();D.paintFolds(d,m,y,p,x,E,Sa,Ua,Va,Xa,M,Fa,Ka,Ia,Ga);d.stroke()};Ta.prototype.moveNW=function(d,m,y,p,x,D,E,ha,M){"square"==E||"default"==E&&"square"==D||!M?d.moveTo(0,0):d.moveTo(0,ha)};Ta.prototype.moveNE=function(d,m,y,p,x,D,E,ha,M){"square"==E||"default"==E&&"square"==D||!M?d.moveTo(p,0):d.moveTo(p-ha,0)};Ta.prototype.moveSE=function(d,
+"gradientColor2","none"),Hb=D&&D.gradientDirection2?D.gradientDirection2:mxUtils.getValue(this.style,"gradientDirection2","south"),Ib=D&&D.opacity?D.opacity:mxUtils.getValue(this.style,"opacity","100"),Jb=Math.max(0,Math.min(50,M));D=Ta.prototype;d.setDashed(Ya);hb&&""!=hb&&d.setDashPattern(hb);d.setStrokeWidth(Gb);M=Math.min(.5*x,.5*p,M);ha||(M=Jb*Math.min(p,x)/100);M=Math.min(M,.5*Math.min(p,x));ha||(na=Math.min(bb*Math.min(p,x)/100));na=Math.min(na,.5*Math.min(p,x)-M);(Ea||Ka||Ia||Fa)&&"frame"!=
+wa&&(d.begin(),Ea?D.moveNW(d,m,y,p,x,E,Sa,M,Fa):d.moveTo(0,0),Ea&&D.paintNW(d,m,y,p,x,E,Sa,M,Fa),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),Ka&&D.paintNE(d,m,y,p,x,E,Ua,M,Ea),D.paintRight(d,m,y,p,x,E,Va,M,Ia),Ia&&D.paintSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Fa),Fa&&D.paintSW(d,m,y,p,x,E,Xa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Ea),d.close(),d.fill(),d.setShadow(!1),d.setFillColor(Cb),Ya=ha=Ib,"none"==Cb&&(ha=0),"none"==Eb&&(Ya=0),d.setGradient(Cb,Eb,0,0,p,x,Hb,ha,Ya),d.begin(),Ea?D.moveNWInner(d,
+m,y,p,x,E,Sa,M,na,Ea,Fa):d.moveTo(na,0),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Fa),Fa&&Ia&&D.paintSWInner(d,m,y,p,x,E,Xa,M,na,Ia),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia),Ia&&Ka&&D.paintSEInner(d,m,y,p,x,E,Va,M,na),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Ea,Ka),Ka&&Ea&&D.paintNEInner(d,m,y,p,x,E,Ua,M,na),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Fa,Ea),Ea&&Fa&&D.paintNWInner(d,m,y,p,x,E,Sa,M,na),d.fill(),"none"==Fb&&(d.begin(),D.paintFolds(d,m,y,p,x,E,Sa,Ua,Va,Xa,M,Ea,Ka,Ia,Fa),d.stroke()));Ea||Ka||
+Ia||!Fa?Ea||Ka||!Ia||Fa?!Ea&&!Ka&&Ia&&Fa?"frame"!=wa?(d.begin(),D.moveSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Fa),D.paintSW(d,m,y,p,x,E,Xa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Ea),"double"==wa&&(D.moveNWInner(d,m,y,p,x,E,Sa,M,na,Ea,Fa),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Fa),D.paintSWInner(d,m,y,p,x,E,Xa,M,na,Ia),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia)),d.stroke()):(d.begin(),D.moveSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Fa),D.paintSW(d,m,y,p,x,E,Xa,M,Ia),D.paintLeft(d,
+m,y,p,x,E,Sa,M,Ea),D.lineNWInner(d,m,y,p,x,E,Sa,M,na,Ea,Fa),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Fa),D.paintSWInner(d,m,y,p,x,E,Xa,M,na,Ia),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia),d.close(),d.fillAndStroke()):Ea||!Ka||Ia||Fa?!Ea&&Ka&&!Ia&&Fa?"frame"!=wa?(d.begin(),D.moveSW(d,m,y,p,x,E,Sa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Ea),"double"==wa&&(D.moveNWInner(d,m,y,p,x,E,Sa,M,na,Ea,Fa),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Fa)),d.stroke(),d.begin(),D.moveNE(d,m,y,p,x,E,Ua,M,Ea),D.paintRight(d,
+m,y,p,x,E,Va,M,Ia),"double"==wa&&(D.moveSEInner(d,m,y,p,x,E,Va,M,na,Ia),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Ea,Ka)),d.stroke()):(d.begin(),D.moveSW(d,m,y,p,x,E,Sa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Ea),D.lineNWInner(d,m,y,p,x,E,Sa,M,na,Ea,Fa),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Fa),d.close(),d.fillAndStroke(),d.begin(),D.moveNE(d,m,y,p,x,E,Ua,M,Ea),D.paintRight(d,m,y,p,x,E,Va,M,Ia),D.lineSEInner(d,m,y,p,x,E,Va,M,na,Ia),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Ea,Ka),d.close(),d.fillAndStroke()):
+!Ea&&Ka&&Ia&&!Fa?"frame"!=wa?(d.begin(),D.moveNE(d,m,y,p,x,E,Ua,M,Ea),D.paintRight(d,m,y,p,x,E,Va,M,Ia),D.paintSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Fa),"double"==wa&&(D.moveSWInner(d,m,y,p,x,E,Xa,M,na,Fa),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia),D.paintSEInner(d,m,y,p,x,E,Va,M,na),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Ea,Ka)),d.stroke()):(d.begin(),D.moveNE(d,m,y,p,x,E,Ua,M,Ea),D.paintRight(d,m,y,p,x,E,Va,M,Ia),D.paintSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Fa),
+D.lineSWInner(d,m,y,p,x,E,Xa,M,na,Fa),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia),D.paintSEInner(d,m,y,p,x,E,Va,M,na),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Ea,Ka),d.close(),d.fillAndStroke()):!Ea&&Ka&&Ia&&Fa?"frame"!=wa?(d.begin(),D.moveNE(d,m,y,p,x,E,Ua,M,Ea),D.paintRight(d,m,y,p,x,E,Va,M,Ia),D.paintSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Fa),D.paintSW(d,m,y,p,x,E,Xa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Ea),"double"==wa&&(D.moveNWInner(d,m,y,p,x,E,Sa,M,na,Ea,Fa),D.paintLeftInner(d,
+m,y,p,x,E,Xa,M,na,Ia,Fa),D.paintSWInner(d,m,y,p,x,E,Xa,M,na,Ia),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia),D.paintSEInner(d,m,y,p,x,E,Va,M,na),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Ea,Ka)),d.stroke()):(d.begin(),D.moveNE(d,m,y,p,x,E,Ua,M,Ea),D.paintRight(d,m,y,p,x,E,Va,M,Ia),D.paintSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Fa),D.paintSW(d,m,y,p,x,E,Xa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Ea),D.lineNWInner(d,m,y,p,x,E,Sa,M,na,Ea,Fa),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Fa),D.paintSWInner(d,
+m,y,p,x,E,Xa,M,na,Ia),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia),D.paintSEInner(d,m,y,p,x,E,Va,M,na),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Ea,Ka),d.close(),d.fillAndStroke()):!Ea||Ka||Ia||Fa?Ea&&!Ka&&!Ia&&Fa?"frame"!=wa?(d.begin(),D.moveSW(d,m,y,p,x,E,Xa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Ea),D.paintNW(d,m,y,p,x,E,Sa,M,Fa),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),"double"==wa&&(D.moveNEInner(d,m,y,p,x,E,Ua,M,na,Ka),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Fa,Ea),D.paintNWInner(d,m,y,p,x,E,Sa,M,na),D.paintLeftInner(d,
+m,y,p,x,E,Xa,M,na,Ia,Fa)),d.stroke()):(d.begin(),D.moveSW(d,m,y,p,x,E,Xa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Ea),D.paintNW(d,m,y,p,x,E,Sa,M,Fa),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),D.lineNEInner(d,m,y,p,x,E,Ua,M,na,Ka),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Fa,Ea),D.paintNWInner(d,m,y,p,x,E,Sa,M,na),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Fa),d.close(),d.fillAndStroke()):Ea&&!Ka&&Ia&&!Fa?"frame"!=wa?(d.begin(),D.moveNW(d,m,y,p,x,E,Sa,M,Fa),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),"double"==wa&&(D.moveNEInner(d,m,y,
+p,x,E,Ua,M,na,Ka),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Fa,Ea)),d.stroke(),d.begin(),D.moveSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Fa),"double"==wa&&(D.moveSWInner(d,m,y,p,x,E,Xa,M,na,Fa),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia)),d.stroke()):(d.begin(),D.moveNW(d,m,y,p,x,E,Sa,M,Fa),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),D.lineNEInner(d,m,y,p,x,E,Ua,M,na,Ka),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Fa,Ea),d.close(),d.fillAndStroke(),d.begin(),D.moveSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,
+p,x,E,Xa,M,Fa),D.lineSWInner(d,m,y,p,x,E,Xa,M,na,Fa),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia),d.close(),d.fillAndStroke()):Ea&&!Ka&&Ia&&Fa?"frame"!=wa?(d.begin(),D.moveSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Fa),D.paintSW(d,m,y,p,x,E,Xa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Ea),D.paintNW(d,m,y,p,x,E,Sa,M,Fa),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),"double"==wa&&(D.moveNEInner(d,m,y,p,x,E,Ua,M,na,Ka),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Fa,Ea),D.paintNWInner(d,m,y,p,x,E,Sa,M,na),D.paintLeftInner(d,
+m,y,p,x,E,Xa,M,na,Ia,Fa),D.paintSWInner(d,m,y,p,x,E,Xa,M,na,Ia),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia)),d.stroke()):(d.begin(),D.moveSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Fa),D.paintSW(d,m,y,p,x,E,Xa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Ea),D.paintNW(d,m,y,p,x,E,Sa,M,Fa),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),D.lineNEInner(d,m,y,p,x,E,Ua,M,na,Ka),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Fa,Ea),D.paintNWInner(d,m,y,p,x,E,Sa,M,na),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Fa),D.paintSWInner(d,
+m,y,p,x,E,Xa,M,na,Ia),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia),d.close(),d.fillAndStroke()):Ea&&Ka&&!Ia&&!Fa?"frame"!=wa?(d.begin(),D.moveNW(d,m,y,p,x,E,Sa,M,Fa),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),D.paintNE(d,m,y,p,x,E,Ua,M,Ea),D.paintRight(d,m,y,p,x,E,Va,M,Ia),"double"==wa&&(D.moveSEInner(d,m,y,p,x,E,Va,M,na,Ia),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Ea,Ka),D.paintNEInner(d,m,y,p,x,E,Ua,M,na),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Fa,Ea)),d.stroke()):(d.begin(),D.moveNW(d,m,y,p,x,E,Sa,M,Fa),D.paintTop(d,
+m,y,p,x,E,Ua,M,Ka),D.paintNE(d,m,y,p,x,E,Ua,M,Ea),D.paintRight(d,m,y,p,x,E,Va,M,Ia),D.lineSEInner(d,m,y,p,x,E,Va,M,na,Ia),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Ea,Ka),D.paintNEInner(d,m,y,p,x,E,Ua,M,na),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Fa,Ea),d.close(),d.fillAndStroke()):Ea&&Ka&&!Ia&&Fa?"frame"!=wa?(d.begin(),D.moveSW(d,m,y,p,x,E,Xa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Ea),D.paintNW(d,m,y,p,x,E,Sa,M,Fa),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),D.paintNE(d,m,y,p,x,E,Ua,M,Ea),D.paintRight(d,m,y,p,x,E,Va,M,
+Ia),"double"==wa&&(D.moveSEInner(d,m,y,p,x,E,Va,M,na,Ia),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Ea,Ka),D.paintNEInner(d,m,y,p,x,E,Ua,M,na),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Fa,Ea),D.paintNWInner(d,m,y,p,x,E,Sa,M,na),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Fa)),d.stroke()):(d.begin(),D.moveSW(d,m,y,p,x,E,Xa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Ea),D.paintNW(d,m,y,p,x,E,Sa,M,Fa),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),D.paintNE(d,m,y,p,x,E,Ua,M,Ea),D.paintRight(d,m,y,p,x,E,Va,M,Ia),D.lineSEInner(d,m,y,p,x,E,
+Va,M,na,Ia),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Ea,Ka),D.paintNEInner(d,m,y,p,x,E,Ua,M,na),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Fa,Ea),D.paintNWInner(d,m,y,p,x,E,Sa,M,na),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Fa),d.close(),d.fillAndStroke()):Ea&&Ka&&Ia&&!Fa?"frame"!=wa?(d.begin(),D.moveNW(d,m,y,p,x,E,Sa,M,Fa),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),D.paintNE(d,m,y,p,x,E,Ua,M,Ea),D.paintRight(d,m,y,p,x,E,Va,M,Ia),D.paintSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Fa),"double"==wa&&(D.moveSWInner(d,
+m,y,p,x,E,Xa,M,na,Fa),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia),D.paintSEInner(d,m,y,p,x,E,Va,M,na),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Ea,Ka),D.paintNEInner(d,m,y,p,x,E,Ua,M,na),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Fa,Ea)),d.stroke()):(d.begin(),D.moveNW(d,m,y,p,x,E,Sa,M,Fa),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),D.paintNE(d,m,y,p,x,E,Ua,M,Ea),D.paintRight(d,m,y,p,x,E,Va,M,Ia),D.paintSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Fa),D.lineSWInner(d,m,y,p,x,E,Xa,M,na,Fa),D.paintBottomInner(d,
+m,y,p,x,E,Va,M,na,Ka,Ia),D.paintSEInner(d,m,y,p,x,E,Va,M,na),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Ea,Ka),D.paintNEInner(d,m,y,p,x,E,Ua,M,na),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Fa,Ea),d.close(),d.fillAndStroke()):Ea&&Ka&&Ia&&Fa&&("frame"!=wa?(d.begin(),D.moveNW(d,m,y,p,x,E,Sa,M,Fa),D.paintNW(d,m,y,p,x,E,Sa,M,Fa),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),D.paintNE(d,m,y,p,x,E,Ua,M,Ea),D.paintRight(d,m,y,p,x,E,Va,M,Ia),D.paintSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Fa),D.paintSW(d,m,y,p,x,E,Xa,
+M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Ea),d.close(),"double"==wa&&(D.moveSWInner(d,m,y,p,x,E,Xa,M,na,Fa),D.paintSWInner(d,m,y,p,x,E,Xa,M,na,Ia),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia),D.paintSEInner(d,m,y,p,x,E,Va,M,na),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Ea,Ka),D.paintNEInner(d,m,y,p,x,E,Ua,M,na),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Fa,Ea),D.paintNWInner(d,m,y,p,x,E,Sa,M,na),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Fa),d.close()),d.stroke()):(d.begin(),D.moveNW(d,m,y,p,x,E,Sa,M,Fa),D.paintNW(d,
+m,y,p,x,E,Sa,M,Fa),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),D.paintNE(d,m,y,p,x,E,Ua,M,Ea),D.paintRight(d,m,y,p,x,E,Va,M,Ia),D.paintSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Fa),D.paintSW(d,m,y,p,x,E,Xa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Ea),d.close(),D.moveSWInner(d,m,y,p,x,E,Xa,M,na,Fa),D.paintSWInner(d,m,y,p,x,E,Xa,M,na,Ia),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia),D.paintSEInner(d,m,y,p,x,E,Va,M,na),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Ea,Ka),D.paintNEInner(d,m,y,p,x,E,Ua,M,na),D.paintTopInner(d,
+m,y,p,x,E,Sa,M,na,Fa,Ea),D.paintNWInner(d,m,y,p,x,E,Sa,M,na),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Fa),d.close(),d.fillAndStroke())):"frame"!=wa?(d.begin(),D.moveNW(d,m,y,p,x,E,Sa,M,Fa),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),"double"==wa&&(D.moveNEInner(d,m,y,p,x,E,Ua,M,na,Ka),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Fa,Ea)),d.stroke()):(d.begin(),D.moveNW(d,m,y,p,x,E,Sa,M,Fa),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),D.lineNEInner(d,m,y,p,x,E,Ua,M,na,Ka),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Fa,Ea),d.close(),d.fillAndStroke()):
+"frame"!=wa?(d.begin(),D.moveNE(d,m,y,p,x,E,Ua,M,Ea),D.paintRight(d,m,y,p,x,E,Va,M,Ia),"double"==wa&&(D.moveSEInner(d,m,y,p,x,E,Va,M,na,Ia),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Ea,Ka)),d.stroke()):(d.begin(),D.moveNE(d,m,y,p,x,E,Ua,M,Ea),D.paintRight(d,m,y,p,x,E,Va,M,Ia),D.lineSEInner(d,m,y,p,x,E,Va,M,na,Ia),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Ea,Ka),d.close(),d.fillAndStroke()):"frame"!=wa?(d.begin(),D.moveSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Fa),"double"==wa&&(D.moveSWInner(d,
+m,y,p,x,E,Xa,M,na,Fa),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia)),d.stroke()):(d.begin(),D.moveSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Fa),D.lineSWInner(d,m,y,p,x,E,Xa,M,na,Fa),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia),d.close(),d.fillAndStroke()):"frame"!=wa?(d.begin(),D.moveSW(d,m,y,p,x,E,Sa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Ea),"double"==wa&&(D.moveNWInner(d,m,y,p,x,E,Sa,M,na,Ea,Fa),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Fa)),d.stroke()):(d.begin(),D.moveSW(d,m,y,p,x,E,
+Sa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Ea),D.lineNWInner(d,m,y,p,x,E,Sa,M,na,Ea,Fa),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Fa),d.close(),d.fillAndStroke());d.begin();D.paintFolds(d,m,y,p,x,E,Sa,Ua,Va,Xa,M,Ea,Ka,Ia,Fa);d.stroke()};Ta.prototype.moveNW=function(d,m,y,p,x,D,E,ha,M){"square"==E||"default"==E&&"square"==D||!M?d.moveTo(0,0):d.moveTo(0,ha)};Ta.prototype.moveNE=function(d,m,y,p,x,D,E,ha,M){"square"==E||"default"==E&&"square"==D||!M?d.moveTo(p,0):d.moveTo(p-ha,0)};Ta.prototype.moveSE=function(d,
m,y,p,x,D,E,ha,M){"square"==E||"default"==E&&"square"==D||!M?d.moveTo(p,x):d.moveTo(p,x-ha)};Ta.prototype.moveSW=function(d,m,y,p,x,D,E,ha,M){"square"==E||"default"==E&&"square"==D||!M?d.moveTo(0,x):d.moveTo(ha,x)};Ta.prototype.paintNW=function(d,m,y,p,x,D,E,ha,M){if(M)if("rounded"==E||"default"==E&&"rounded"==D||"invRound"==E||"default"==E&&"invRound"==D){m=0;if("rounded"==E||"default"==E&&"rounded"==D)m=1;d.arcTo(ha,ha,0,0,m,ha,0)}else("snip"==E||"default"==E&&"snip"==D||"fold"==E||"default"==E&&
"fold"==D)&&d.lineTo(ha,0);else d.lineTo(0,0)};Ta.prototype.paintTop=function(d,m,y,p,x,D,E,ha,M){"square"==E||"default"==E&&"square"==D||!M?d.lineTo(p,0):d.lineTo(p-ha,0)};Ta.prototype.paintNE=function(d,m,y,p,x,D,E,ha,M){if(M)if("rounded"==E||"default"==E&&"rounded"==D||"invRound"==E||"default"==E&&"invRound"==D){m=0;if("rounded"==E||"default"==E&&"rounded"==D)m=1;d.arcTo(ha,ha,0,0,m,p,ha)}else("snip"==E||"default"==E&&"snip"==D||"fold"==E||"default"==E&&"fold"==D)&&d.lineTo(p,ha);else d.lineTo(p,
0)};Ta.prototype.paintRight=function(d,m,y,p,x,D,E,ha,M){"square"==E||"default"==E&&"square"==D||!M?d.lineTo(p,x):d.lineTo(p,x-ha)};Ta.prototype.paintLeft=function(d,m,y,p,x,D,E,ha,M){"square"==E||"default"==E&&"square"==D||!M?d.lineTo(0,0):d.lineTo(0,ha)};Ta.prototype.paintSE=function(d,m,y,p,x,D,E,ha,M){if(M)if("rounded"==E||"default"==E&&"rounded"==D||"invRound"==E||"default"==E&&"invRound"==D){m=0;if("rounded"==E||"default"==E&&"rounded"==D)m=1;d.arcTo(ha,ha,0,0,m,p-ha,x)}else("snip"==E||"default"==
@@ -2882,8 +2880,8 @@ E&&"fold"==D)&&d.lineTo(M,x-ha-M):d.lineTo(0,x-M)};Ta.prototype.moveSEInner=func
x-M):"rounded"==E||"default"==E&&"rounded"==D||"snip"==E||"default"==E&&"snip"==D?d.lineTo(p-M,x-ha-.5*M):("invRound"==E||"default"==E&&"invRound"==D||"fold"==E||"default"==E&&"fold"==D)&&d.lineTo(p-M,x-ha-M):d.lineTo(p-M,x)};Ta.prototype.moveNEInner=function(d,m,y,p,x,D,E,ha,M,wa){wa?"square"==E||"default"==E&&"square"==D||wa?d.moveTo(p-M,M):"rounded"==E||"default"==E&&"rounded"==D||"snip"==E||"default"==E&&"snip"==D?d.moveTo(p-M,ha+.5*M):("invRound"==E||"default"==E&&"invRound"==D||"fold"==E||"default"==
E&&"fold"==D)&&d.moveTo(p-M,ha+M):d.moveTo(p,M)};Ta.prototype.lineNEInner=function(d,m,y,p,x,D,E,ha,M,wa){wa?"square"==E||"default"==E&&"square"==D||wa?d.lineTo(p-M,M):"rounded"==E||"default"==E&&"rounded"==D||"snip"==E||"default"==E&&"snip"==D?d.lineTo(p-M,ha+.5*M):("invRound"==E||"default"==E&&"invRound"==D||"fold"==E||"default"==E&&"fold"==D)&&d.lineTo(p-M,ha+M):d.lineTo(p,M)};Ta.prototype.moveNWInner=function(d,m,y,p,x,D,E,ha,M,wa,na){wa||na?!wa&&na?d.moveTo(M,0):wa&&!na?d.moveTo(0,M):"square"==
E||"default"==E&&"square"==D?d.moveTo(M,M):"rounded"==E||"default"==E&&"rounded"==D||"snip"==E||"default"==E&&"snip"==D?d.moveTo(M,ha+.5*M):("invRound"==E||"default"==E&&"invRound"==D||"fold"==E||"default"==E&&"fold"==D)&&d.moveTo(M,ha+M):d.moveTo(0,0)};Ta.prototype.lineNWInner=function(d,m,y,p,x,D,E,ha,M,wa,na){wa||na?!wa&&na?d.lineTo(M,0):wa&&!na?d.lineTo(0,M):"square"==E||"default"==E&&"square"==D?d.lineTo(M,M):"rounded"==E||"default"==E&&"rounded"==D||"snip"==E||"default"==E&&"snip"==D?d.lineTo(M,
-ha+.5*M):("invRound"==E||"default"==E&&"invRound"==D||"fold"==E||"default"==E&&"fold"==D)&&d.lineTo(M,ha+M):d.lineTo(0,0)};Ta.prototype.paintFolds=function(d,m,y,p,x,D,E,ha,M,wa,na,Ya,hb,bb,Fa){if("fold"==D||"fold"==E||"fold"==ha||"fold"==M||"fold"==wa)("fold"==E||"default"==E&&"fold"==D)&&Ya&&Fa&&(d.moveTo(0,na),d.lineTo(na,na),d.lineTo(na,0)),("fold"==ha||"default"==ha&&"fold"==D)&&Ya&&hb&&(d.moveTo(p-na,0),d.lineTo(p-na,na),d.lineTo(p,na)),("fold"==M||"default"==M&&"fold"==D)&&bb&&hb&&(d.moveTo(p-
-na,x),d.lineTo(p-na,x-na),d.lineTo(p,x-na)),("fold"==wa||"default"==wa&&"fold"==D)&&bb&&Fa&&(d.moveTo(0,x-na),d.lineTo(na,x-na),d.lineTo(na,x))};mxCellRenderer.registerShape(Ta.prototype.cst.RECT2,Ta);Ta.prototype.constraints=null;mxUtils.extend(Pa,mxConnector);Pa.prototype.origPaintEdgeShape=Pa.prototype.paintEdgeShape;Pa.prototype.paintEdgeShape=function(d,m,y){for(var p=[],x=0;x<m.length;x++)p.push(mxUtils.clone(m[x]));x=d.state.dashed;var D=d.state.fixDash;Pa.prototype.origPaintEdgeShape.apply(this,
+ha+.5*M):("invRound"==E||"default"==E&&"invRound"==D||"fold"==E||"default"==E&&"fold"==D)&&d.lineTo(M,ha+M):d.lineTo(0,0)};Ta.prototype.paintFolds=function(d,m,y,p,x,D,E,ha,M,wa,na,Ya,hb,bb,Ea){if("fold"==D||"fold"==E||"fold"==ha||"fold"==M||"fold"==wa)("fold"==E||"default"==E&&"fold"==D)&&Ya&&Ea&&(d.moveTo(0,na),d.lineTo(na,na),d.lineTo(na,0)),("fold"==ha||"default"==ha&&"fold"==D)&&Ya&&hb&&(d.moveTo(p-na,0),d.lineTo(p-na,na),d.lineTo(p,na)),("fold"==M||"default"==M&&"fold"==D)&&bb&&hb&&(d.moveTo(p-
+na,x),d.lineTo(p-na,x-na),d.lineTo(p,x-na)),("fold"==wa||"default"==wa&&"fold"==D)&&bb&&Ea&&(d.moveTo(0,x-na),d.lineTo(na,x-na),d.lineTo(na,x))};mxCellRenderer.registerShape(Ta.prototype.cst.RECT2,Ta);Ta.prototype.constraints=null;mxUtils.extend(Pa,mxConnector);Pa.prototype.origPaintEdgeShape=Pa.prototype.paintEdgeShape;Pa.prototype.paintEdgeShape=function(d,m,y){for(var p=[],x=0;x<m.length;x++)p.push(mxUtils.clone(m[x]));x=d.state.dashed;var D=d.state.fixDash;Pa.prototype.origPaintEdgeShape.apply(this,
[d,p,y]);3<=d.state.strokeWidth&&(p=mxUtils.getValue(this.style,"fillColor",null),null!=p&&(d.setStrokeColor(p),d.setStrokeWidth(d.state.strokeWidth-2),d.setDashed(x,D),Pa.prototype.origPaintEdgeShape.apply(this,[d,m,y])))};mxCellRenderer.registerShape("filledEdge",Pa);"undefined"!==typeof StyleFormatPanel&&function(){var d=StyleFormatPanel.prototype.getCustomColors;StyleFormatPanel.prototype.getCustomColors=function(){var m=this.editorUi.getSelectionState(),y=d.apply(this,arguments);"umlFrame"==
m.style.shape&&y.push({title:mxResources.get("laneColor"),key:"swimlaneFillColor",defaultValue:"default"});return y}}();mxMarker.addMarker("dash",function(d,m,y,p,x,D,E,ha,M,wa){var na=x*(E+M+1),Ya=D*(E+M+1);return function(){d.begin();d.moveTo(p.x-na/2-Ya/2,p.y-Ya/2+na/2);d.lineTo(p.x+Ya/2-3*na/2,p.y-3*Ya/2-na/2);d.stroke()}});mxMarker.addMarker("box",function(d,m,y,p,x,D,E,ha,M,wa){var na=x*(E+M+1),Ya=D*(E+M+1),hb=p.x+na/2,bb=p.y+Ya/2;p.x-=na;p.y-=Ya;return function(){d.begin();d.moveTo(hb-na/2-
Ya/2,bb-Ya/2+na/2);d.lineTo(hb-na/2+Ya/2,bb-Ya/2-na/2);d.lineTo(hb+Ya/2-3*na/2,bb-3*Ya/2-na/2);d.lineTo(hb-Ya/2-3*na/2,bb-3*Ya/2+na/2);d.close();wa?d.fillAndStroke():d.stroke()}});mxMarker.addMarker("cross",function(d,m,y,p,x,D,E,ha,M,wa){var na=x*(E+M+1),Ya=D*(E+M+1);return function(){d.begin();d.moveTo(p.x-na/2-Ya/2,p.y-Ya/2+na/2);d.lineTo(p.x+Ya/2-3*na/2,p.y-3*Ya/2-na/2);d.moveTo(p.x-na/2+Ya/2,p.y-Ya/2-na/2);d.lineTo(p.x-Ya/2-3*na/2,p.y-3*Ya/2+na/2);d.stroke()}});mxMarker.addMarker("circle",kb);
@@ -2916,14 +2914,14 @@ Math.min(m.width,mxUtils.getValue(this.state.style,"width",ba.prototype.width)))
"0"!=mxUtils.getValue(this.state.style,"fixedSize","0"),x=parseFloat(mxUtils.getValue(this.state.style,"size",T.prototype.size));return p?new mxPoint(y.x+x,y.y+y.height/4):new mxPoint(y.x+y.width*x,y.y+y.height/4)},function(y,p){y="0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?Math.max(0,Math.min(.5*y.width,p.x-y.x)):Math.max(0,Math.min(.5,(p.x-y.x)/y.width));this.state.style.size=y},!1)];mxUtils.getValue(d.style,mxConstants.STYLE_ROUNDED,!1)&&m.push(tb(d));return m},cross:function(d){return[db(d,
["size"],function(m){var y=Math.min(m.width,m.height);y=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"size",Za.prototype.size)))*y/2;return new mxPoint(m.getCenterX()-y,m.getCenterY()-y)},function(m,y){var p=Math.min(m.width,m.height);this.state.style.size=Math.max(0,Math.min(1,Math.min(Math.max(0,m.getCenterY()-y.y)/p*2,Math.max(0,m.getCenterX()-y.x)/p*2)))})]},note:function(d){return[db(d,["size"],function(m){var y=Math.max(0,Math.min(m.width,Math.min(m.height,parseFloat(mxUtils.getValue(this.state.style,
"size",F.prototype.size)))));return new mxPoint(m.x+m.width-y,m.y+y)},function(m,y){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(m.width,m.x+m.width-y.x),Math.min(m.height,y.y-m.y))))})]},note2:function(d){return[db(d,["size"],function(m){var y=Math.max(0,Math.min(m.width,Math.min(m.height,parseFloat(mxUtils.getValue(this.state.style,"size",K.prototype.size)))));return new mxPoint(m.x+m.width-y,m.y+y)},function(m,y){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(m.width,
-m.x+m.width-y.x),Math.min(m.height,y.y-m.y))))})]},manualInput:function(d){var m=[db(d,["size"],function(y){var p=Math.max(0,Math.min(y.height,mxUtils.getValue(this.state.style,"size",Ha.prototype.size)));return new mxPoint(y.x+y.width/4,y.y+3*p/4)},function(y,p){this.state.style.size=Math.round(Math.max(0,Math.min(y.height,4*(p.y-y.y)/3)))},!1)];mxUtils.getValue(d.style,mxConstants.STYLE_ROUNDED,!1)&&m.push(tb(d));return m},dataStorage:function(d){return[db(d,["size"],function(m){var y="0"!=mxUtils.getValue(this.state.style,
+m.x+m.width-y.x),Math.min(m.height,y.y-m.y))))})]},manualInput:function(d){var m=[db(d,["size"],function(y){var p=Math.max(0,Math.min(y.height,mxUtils.getValue(this.state.style,"size",Ga.prototype.size)));return new mxPoint(y.x+y.width/4,y.y+3*p/4)},function(y,p){this.state.style.size=Math.round(Math.max(0,Math.min(y.height,4*(p.y-y.y)/3)))},!1)];mxUtils.getValue(d.style,mxConstants.STYLE_ROUNDED,!1)&&m.push(tb(d));return m},dataStorage:function(d){return[db(d,["size"],function(m){var y="0"!=mxUtils.getValue(this.state.style,
"fixedSize","0"),p=parseFloat(mxUtils.getValue(this.state.style,"size",y?Ma.prototype.fixedSize:Ma.prototype.size));return new mxPoint(m.x+m.width-p*(y?1:m.width),m.getCenterY())},function(m,y){m="0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?Math.max(0,Math.min(m.width,m.x+m.width-y.x)):Math.max(0,Math.min(1,(m.x+m.width-y.x)/m.width));this.state.style.size=m},!1)]},callout:function(d){var m=[db(d,["size","position"],function(y){var p=Math.max(0,Math.min(y.height,mxUtils.getValue(this.state.style,
-"size",ka.prototype.size))),x=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",ka.prototype.position)));mxUtils.getValue(this.state.style,"base",ka.prototype.base);return new mxPoint(y.x+x*y.width,y.y+y.height-p)},function(y,p){mxUtils.getValue(this.state.style,"base",ka.prototype.base);this.state.style.size=Math.round(Math.max(0,Math.min(y.height,y.y+y.height-p.y)));this.state.style.position=Math.round(100*Math.max(0,Math.min(1,(p.x-y.x)/y.width)))/100},!1),db(d,["position2"],function(y){var p=
-Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position2",ka.prototype.position2)));return new mxPoint(y.x+p*y.width,y.y+y.height)},function(y,p){this.state.style.position2=Math.round(100*Math.max(0,Math.min(1,(p.x-y.x)/y.width)))/100},!1),db(d,["base"],function(y){var p=Math.max(0,Math.min(y.height,mxUtils.getValue(this.state.style,"size",ka.prototype.size))),x=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",ka.prototype.position))),D=Math.max(0,Math.min(y.width,mxUtils.getValue(this.state.style,
-"base",ka.prototype.base)));return new mxPoint(y.x+Math.min(y.width,x*y.width+D),y.y+y.height-p)},function(y,p){var x=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",ka.prototype.position)));this.state.style.base=Math.round(Math.max(0,Math.min(y.width,p.x-y.x-x*y.width)))},!1)];mxUtils.getValue(d.style,mxConstants.STYLE_ROUNDED,!1)&&m.push(tb(d));return m},internalStorage:function(d){var m=[db(d,["dx","dy"],function(y){var p=Math.max(0,Math.min(y.width,mxUtils.getValue(this.state.style,
+"size",ja.prototype.size))),x=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",ja.prototype.position)));mxUtils.getValue(this.state.style,"base",ja.prototype.base);return new mxPoint(y.x+x*y.width,y.y+y.height-p)},function(y,p){mxUtils.getValue(this.state.style,"base",ja.prototype.base);this.state.style.size=Math.round(Math.max(0,Math.min(y.height,y.y+y.height-p.y)));this.state.style.position=Math.round(100*Math.max(0,Math.min(1,(p.x-y.x)/y.width)))/100},!1),db(d,["position2"],function(y){var p=
+Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position2",ja.prototype.position2)));return new mxPoint(y.x+p*y.width,y.y+y.height)},function(y,p){this.state.style.position2=Math.round(100*Math.max(0,Math.min(1,(p.x-y.x)/y.width)))/100},!1),db(d,["base"],function(y){var p=Math.max(0,Math.min(y.height,mxUtils.getValue(this.state.style,"size",ja.prototype.size))),x=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",ja.prototype.position))),D=Math.max(0,Math.min(y.width,mxUtils.getValue(this.state.style,
+"base",ja.prototype.base)));return new mxPoint(y.x+Math.min(y.width,x*y.width+D),y.y+y.height-p)},function(y,p){var x=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",ja.prototype.position)));this.state.style.base=Math.round(Math.max(0,Math.min(y.width,p.x-y.x-x*y.width)))},!1)];mxUtils.getValue(d.style,mxConstants.STYLE_ROUNDED,!1)&&m.push(tb(d));return m},internalStorage:function(d){var m=[db(d,["dx","dy"],function(y){var p=Math.max(0,Math.min(y.width,mxUtils.getValue(this.state.style,
"dx",La.prototype.dx))),x=Math.max(0,Math.min(y.height,mxUtils.getValue(this.state.style,"dy",La.prototype.dy)));return new mxPoint(y.x+p,y.y+x)},function(y,p){this.state.style.dx=Math.round(Math.max(0,Math.min(y.width,p.x-y.x)));this.state.style.dy=Math.round(Math.max(0,Math.min(y.height,p.y-y.y)))},!1)];mxUtils.getValue(d.style,mxConstants.STYLE_ROUNDED,!1)&&m.push(tb(d));return m},module:function(d){return[db(d,["jettyWidth","jettyHeight"],function(m){var y=Math.max(0,Math.min(m.width,mxUtils.getValue(this.state.style,
-"jettyWidth",ua.prototype.jettyWidth))),p=Math.max(0,Math.min(m.height,mxUtils.getValue(this.state.style,"jettyHeight",ua.prototype.jettyHeight)));return new mxPoint(m.x+y/2,m.y+2*p)},function(m,y){this.state.style.jettyWidth=Math.round(2*Math.max(0,Math.min(m.width,y.x-m.x)));this.state.style.jettyHeight=Math.round(Math.max(0,Math.min(m.height,y.y-m.y))/2)})]},corner:function(d){return[db(d,["dx","dy"],function(m){var y=Math.max(0,Math.min(m.width,mxUtils.getValue(this.state.style,"dx",Ea.prototype.dx))),
-p=Math.max(0,Math.min(m.height,mxUtils.getValue(this.state.style,"dy",Ea.prototype.dy)));return new mxPoint(m.x+y,m.y+p)},function(m,y){this.state.style.dx=Math.round(Math.max(0,Math.min(m.width,y.x-m.x)));this.state.style.dy=Math.round(Math.max(0,Math.min(m.height,y.y-m.y)))},!1)]},tee:function(d){return[db(d,["dx","dy"],function(m){var y=Math.max(0,Math.min(m.width,mxUtils.getValue(this.state.style,"dx",Ra.prototype.dx))),p=Math.max(0,Math.min(m.height,mxUtils.getValue(this.state.style,"dy",Ra.prototype.dy)));
+"jettyWidth",ua.prototype.jettyWidth))),p=Math.max(0,Math.min(m.height,mxUtils.getValue(this.state.style,"jettyHeight",ua.prototype.jettyHeight)));return new mxPoint(m.x+y/2,m.y+2*p)},function(m,y){this.state.style.jettyWidth=Math.round(2*Math.max(0,Math.min(m.width,y.x-m.x)));this.state.style.jettyHeight=Math.round(Math.max(0,Math.min(m.height,y.y-m.y))/2)})]},corner:function(d){return[db(d,["dx","dy"],function(m){var y=Math.max(0,Math.min(m.width,mxUtils.getValue(this.state.style,"dx",Da.prototype.dx))),
+p=Math.max(0,Math.min(m.height,mxUtils.getValue(this.state.style,"dy",Da.prototype.dy)));return new mxPoint(m.x+y,m.y+p)},function(m,y){this.state.style.dx=Math.round(Math.max(0,Math.min(m.width,y.x-m.x)));this.state.style.dy=Math.round(Math.max(0,Math.min(m.height,y.y-m.y)))},!1)]},tee:function(d){return[db(d,["dx","dy"],function(m){var y=Math.max(0,Math.min(m.width,mxUtils.getValue(this.state.style,"dx",Ra.prototype.dx))),p=Math.max(0,Math.min(m.height,mxUtils.getValue(this.state.style,"dy",Ra.prototype.dy)));
return new mxPoint(m.x+(m.width+y)/2,m.y+p)},function(m,y){this.state.style.dx=Math.round(Math.max(0,2*Math.min(m.width/2,y.x-m.x-m.width/2)));this.state.style.dy=Math.round(Math.max(0,Math.min(m.height,y.y-m.y)))},!1)]},singleArrow:lb(1),doubleArrow:lb(.5),"mxgraph.arrows2.wedgeArrow":ub(20,20),"mxgraph.arrows2.wedgeArrowDashed":ub(20,20),"mxgraph.arrows2.wedgeArrowDashed2":ub(20,20),folder:function(d){return[db(d,["tabWidth","tabHeight"],function(m){var y=Math.max(0,Math.min(m.width,mxUtils.getValue(this.state.style,
"tabWidth",l.prototype.tabWidth))),p=Math.max(0,Math.min(m.height,mxUtils.getValue(this.state.style,"tabHeight",l.prototype.tabHeight)));mxUtils.getValue(this.state.style,"tabPosition",l.prototype.tabPosition)==mxConstants.ALIGN_RIGHT&&(y=m.width-y);return new mxPoint(m.x+y,m.y+p)},function(m,y){var p=Math.max(0,Math.min(m.width,y.x-m.x));mxUtils.getValue(this.state.style,"tabPosition",l.prototype.tabPosition)==mxConstants.ALIGN_RIGHT&&(p=m.width-p);this.state.style.tabWidth=Math.round(p);this.state.style.tabHeight=
Math.round(Math.max(0,Math.min(m.height,y.y-m.y)))},!1)]},document:function(d){return[db(d,["size"],function(m){var y=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",G.prototype.size))));return new mxPoint(m.x+3*m.width/4,m.y+(1-y)*m.height)},function(m,y){this.state.style.size=Math.max(0,Math.min(1,(m.y+m.height-y.y)/m.height))},!1)]},tape:function(d){return[db(d,["size"],function(m){var y=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",B.prototype.size))));
@@ -2933,16 +2931,16 @@ return new mxPoint(y.x+p,y.y+p)},function(y,p){this.state.style.size=Math.round(
!0,ma.prototype.fixedSize),hexagon:pb(aa.prototype.size,!0,.5,!0,aa.prototype.fixedSize),curlyBracket:pb(J.prototype.size,!1),display:pb(ab.prototype.size,!1),cube:sb(1,n.prototype.size,!1),card:sb(.5,A.prototype.size,!0),loopLimit:sb(.5,Q.prototype.size,!0),trapezoid:wb(.5,P.prototype.size,P.prototype.fixedSize),parallelogram:wb(1,L.prototype.size,L.prototype.fixedSize)};Graph.createHandle=db;Graph.handleFactory=xb;var yb=mxVertexHandler.prototype.createCustomHandles;mxVertexHandler.prototype.createCustomHandles=
function(){var d=yb.apply(this,arguments);if(this.graph.isCellRotatable(this.state.cell)){var m=this.state.style.shape;null==mxCellRenderer.defaultShapes[m]&&null==mxStencilRegistry.getStencil(m)?m=mxConstants.SHAPE_RECTANGLE:this.state.view.graph.isSwimlane(this.state.cell)&&(m=mxConstants.SHAPE_SWIMLANE);m=xb[m];null==m&&null!=this.state.shape&&this.state.shape.isRoundable()&&(m=xb[mxConstants.SHAPE_RECTANGLE]);null!=m&&(m=m(this.state),null!=m&&(d=null==d?m:d.concat(m)))}return d};mxEdgeHandler.prototype.createCustomHandles=
function(){var d=this.state.style.shape;null==mxCellRenderer.defaultShapes[d]&&null==mxStencilRegistry.getStencil(d)&&(d=mxConstants.SHAPE_CONNECTOR);d=xb[d];return null!=d?d(this.state):null}}else Graph.createHandle=function(){},Graph.handleFactory={};var ob=new mxPoint(1,0),zb=new mxPoint(1,0),Ab=mxUtils.toRadians(-30);ob=mxUtils.getRotatedPoint(ob,Math.cos(Ab),Math.sin(Ab));var Bb=mxUtils.toRadians(-150);zb=mxUtils.getRotatedPoint(zb,Math.cos(Bb),Math.sin(Bb));mxEdgeStyle.IsometricConnector=function(d,
-m,y,p,x){var D=d.view;p=null!=p&&0<p.length?p[0]:null;var E=d.absolutePoints,ha=E[0];E=E[E.length-1];null!=p&&(p=D.transformControlPoint(d,p));null==ha&&null!=m&&(ha=new mxPoint(m.getCenterX(),m.getCenterY()));null==E&&null!=y&&(E=new mxPoint(y.getCenterX(),y.getCenterY()));var M=ob.x,wa=ob.y,na=zb.x,Ya=zb.y,hb="horizontal"==mxUtils.getValue(d.style,"elbow","horizontal");if(null!=E&&null!=ha){d=function(Fa,Ka,Ia){Fa-=bb.x;var Ga=Ka-bb.y;Ka=(Ya*Fa-na*Ga)/(M*Ya-wa*na);Fa=(wa*Fa-M*Ga)/(wa*na-M*Ya);hb?
-(Ia&&(bb=new mxPoint(bb.x+M*Ka,bb.y+wa*Ka),x.push(bb)),bb=new mxPoint(bb.x+na*Fa,bb.y+Ya*Fa)):(Ia&&(bb=new mxPoint(bb.x+na*Fa,bb.y+Ya*Fa),x.push(bb)),bb=new mxPoint(bb.x+M*Ka,bb.y+wa*Ka));x.push(bb)};var bb=ha;null==p&&(p=new mxPoint(ha.x+(E.x-ha.x)/2,ha.y+(E.y-ha.y)/2));d(p.x,p.y,!0);d(E.x,E.y,!1)}};mxStyleRegistry.putValue("isometricEdgeStyle",mxEdgeStyle.IsometricConnector);var Db=Graph.prototype.createEdgeHandler;Graph.prototype.createEdgeHandler=function(d,m){if(m==mxEdgeStyle.IsometricConnector){var y=
+m,y,p,x){var D=d.view;p=null!=p&&0<p.length?p[0]:null;var E=d.absolutePoints,ha=E[0];E=E[E.length-1];null!=p&&(p=D.transformControlPoint(d,p));null==ha&&null!=m&&(ha=new mxPoint(m.getCenterX(),m.getCenterY()));null==E&&null!=y&&(E=new mxPoint(y.getCenterX(),y.getCenterY()));var M=ob.x,wa=ob.y,na=zb.x,Ya=zb.y,hb="horizontal"==mxUtils.getValue(d.style,"elbow","horizontal");if(null!=E&&null!=ha){d=function(Ea,Ka,Ia){Ea-=bb.x;var Fa=Ka-bb.y;Ka=(Ya*Ea-na*Fa)/(M*Ya-wa*na);Ea=(wa*Ea-M*Fa)/(wa*na-M*Ya);hb?
+(Ia&&(bb=new mxPoint(bb.x+M*Ka,bb.y+wa*Ka),x.push(bb)),bb=new mxPoint(bb.x+na*Ea,bb.y+Ya*Ea)):(Ia&&(bb=new mxPoint(bb.x+na*Ea,bb.y+Ya*Ea),x.push(bb)),bb=new mxPoint(bb.x+M*Ka,bb.y+wa*Ka));x.push(bb)};var bb=ha;null==p&&(p=new mxPoint(ha.x+(E.x-ha.x)/2,ha.y+(E.y-ha.y)/2));d(p.x,p.y,!0);d(E.x,E.y,!1)}};mxStyleRegistry.putValue("isometricEdgeStyle",mxEdgeStyle.IsometricConnector);var Db=Graph.prototype.createEdgeHandler;Graph.prototype.createEdgeHandler=function(d,m){if(m==mxEdgeStyle.IsometricConnector){var y=
new mxElbowEdgeHandler(d);y.snapToTerminals=!1;return y}return Db.apply(this,arguments)};C.prototype.constraints=[];H.prototype.getConstraints=function(d,m,y){d=[];var p=Math.tan(mxUtils.toRadians(30)),x=(.5-p)/2;p=Math.min(m,y/(.5+p));m=(m-p)/2;y=(y-p)/2;d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,y+.25*p));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m+.5*p,y+p*x));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m+p,y+.25*p));d.push(new mxConnectionConstraint(new mxPoint(0,
0),!1,null,m+p,y+.75*p));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m+.5*p,y+(1-x)*p));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,y+.75*p));return d};S.prototype.getConstraints=function(d,m,y){d=[];var p=Math.max(.01,Math.min(94,parseFloat(mxUtils.getValue(this.style,"isoAngle",this.isoAngle))))*Math.PI/200;p=Math.min(m*Math.tan(p),.5*y);d.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,p));d.push(new mxConnectionConstraint(new mxPoint(1,
-.5),!1));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,y-p));d.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,y-p));d.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,p));return d};ka.prototype.getConstraints=function(d,m,y){d=[];mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE);var p=Math.max(0,Math.min(y,parseFloat(mxUtils.getValue(this.style,
+.5),!1));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,y-p));d.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,y-p));d.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,p));return d};ja.prototype.getConstraints=function(d,m,y){d=[];mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE);var p=Math.max(0,Math.min(y,parseFloat(mxUtils.getValue(this.style,
"size",this.size))));parseFloat(mxUtils.getValue(this.style,"position",this.position));var x=m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"position2",this.position2))));parseFloat(mxUtils.getValue(this.style,"base",this.base));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1));d.push(new mxConnectionConstraint(new mxPoint(.25,0),!1));d.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));d.push(new mxConnectionConstraint(new mxPoint(.75,0),!1));d.push(new mxConnectionConstraint(new mxPoint(1,
0),!1));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.5*(y-p)));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,y-p));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,x,y));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,y-p));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(y-p)));m>=2*p&&d.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));return d};mxRectangleShape.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,
0),!0),new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),
new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0)];mxEllipse.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(.5,
-0),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(1,.5))];Ca.prototype.constraints=mxRectangleShape.prototype.constraints;mxImageShape.prototype.constraints=mxRectangleShape.prototype.constraints;mxSwimlane.prototype.constraints=mxRectangleShape.prototype.constraints;V.prototype.constraints=mxRectangleShape.prototype.constraints;mxLabel.prototype.constraints=mxRectangleShape.prototype.constraints;F.prototype.getConstraints=
+0),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(1,.5))];Ha.prototype.constraints=mxRectangleShape.prototype.constraints;mxImageShape.prototype.constraints=mxRectangleShape.prototype.constraints;mxSwimlane.prototype.constraints=mxRectangleShape.prototype.constraints;V.prototype.constraints=mxRectangleShape.prototype.constraints;mxLabel.prototype.constraints=mxRectangleShape.prototype.constraints;F.prototype.getConstraints=
function(d,m,y){d=[];var p=Math.max(0,Math.min(m,Math.min(y,parseFloat(mxUtils.getValue(this.style,"size",this.size)))));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m-p),0));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-p,0));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-.5*p,.5*p));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,p));d.push(new mxConnectionConstraint(new mxPoint(0,
0),!1,null,m,.5*(y+p)));d.push(new mxConnectionConstraint(new mxPoint(1,1),!1));d.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));d.push(new mxConnectionConstraint(new mxPoint(0,1),!1));d.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));m>=2*p&&d.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));return d};A.prototype.getConstraints=function(d,m,y){d=[];var p=Math.max(0,Math.min(m,Math.min(y,parseFloat(mxUtils.getValue(this.style,"size",this.size)))));d.push(new mxConnectionConstraint(new mxPoint(1,
0),!1));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m+p),0));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,p,0));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*p,.5*p));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,p));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(y+p)));d.push(new mxConnectionConstraint(new mxPoint(0,1),!1));d.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));d.push(new mxConnectionConstraint(new mxPoint(1,
@@ -2954,7 +2952,7 @@ function(d,m,y){d=[];var p=Math.max(0,Math.min(m,Math.min(y,parseFloat(mxUtils.g
"tabPosition",this.tabPosition)?(d.push(new mxConnectionConstraint(new mxPoint(0,0),!1)),d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*p,0)),d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,p,0)),d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,p,x)),d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m+p),x))):(d.push(new mxConnectionConstraint(new mxPoint(1,0),!1)),d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-.5*p,0)),d.push(new mxConnectionConstraint(new mxPoint(0,
0),!1,null,m-p,0)),d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-p,x)),d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m-p),x)));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,x));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.25*(y-x)+x));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.5*(y-x)+x));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.75*(y-x)+x));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,
null,m,y));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,x));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.25*(y-x)+x));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(y-x)+x));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.75*(y-x)+x));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,y));d.push(new mxConnectionConstraint(new mxPoint(.25,1),!1));d.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));d.push(new mxConnectionConstraint(new mxPoint(.75,
-1),!1));return d};La.prototype.constraints=mxRectangleShape.prototype.constraints;Ma.prototype.constraints=mxRectangleShape.prototype.constraints;ia.prototype.constraints=mxEllipse.prototype.constraints;ja.prototype.constraints=mxEllipse.prototype.constraints;oa.prototype.constraints=mxEllipse.prototype.constraints;Oa.prototype.constraints=mxEllipse.prototype.constraints;Ha.prototype.constraints=mxRectangleShape.prototype.constraints;Wa.prototype.constraints=mxRectangleShape.prototype.constraints;
+1),!1));return d};La.prototype.constraints=mxRectangleShape.prototype.constraints;Ma.prototype.constraints=mxRectangleShape.prototype.constraints;ia.prototype.constraints=mxEllipse.prototype.constraints;la.prototype.constraints=mxEllipse.prototype.constraints;oa.prototype.constraints=mxEllipse.prototype.constraints;Oa.prototype.constraints=mxEllipse.prototype.constraints;Ga.prototype.constraints=mxRectangleShape.prototype.constraints;Wa.prototype.constraints=mxRectangleShape.prototype.constraints;
ab.prototype.getConstraints=function(d,m,y){d=[];var p=Math.min(m,y/2),x=Math.min(m-p,Math.max(0,parseFloat(mxUtils.getValue(this.style,"size",this.size)))*m);d.push(new mxConnectionConstraint(new mxPoint(0,.5),!1,null));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,x,0));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(x+m-p),0));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-p,0));d.push(new mxConnectionConstraint(new mxPoint(1,.5),!1,null));d.push(new mxConnectionConstraint(new mxPoint(0,
0),!1,null,m-p,y));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(x+m-p),y));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,x,y));return d};ua.prototype.getConstraints=function(d,m,y){m=parseFloat(mxUtils.getValue(d,"jettyWidth",ua.prototype.jettyWidth))/2;d=parseFloat(mxUtils.getValue(d,"jettyHeight",ua.prototype.jettyHeight));var p=[new mxConnectionConstraint(new mxPoint(0,0),!1,null,m),new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,
0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(0,1),!1,null,m),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0),new mxConnectionConstraint(new mxPoint(1,1),
@@ -2966,14 +2964,14 @@ mxCylinder.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.15,.05
1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0)];f.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!1),new mxConnectionConstraint(new mxPoint(.5,.25),!1),new mxConnectionConstraint(new mxPoint(1,0),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.75,.5),!1),new mxConnectionConstraint(new mxPoint(0,1),!1),new mxConnectionConstraint(new mxPoint(.5,.75),!1),new mxConnectionConstraint(new mxPoint(1,1),!1)];B.prototype.constraints=
[new mxConnectionConstraint(new mxPoint(0,.35),!1),new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(0,.65),!1),new mxConnectionConstraint(new mxPoint(1,.35),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(1,.65),!1),new mxConnectionConstraint(new mxPoint(.25,1),!1),new mxConnectionConstraint(new mxPoint(.75,0),!1)];ma.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,
0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0)];
-mxLine.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.75,.5),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1)];la.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.5,0),!1),new mxConnectionConstraint(new mxPoint(.5,1),!1)];mxDoubleEllipse.prototype.constraints=mxEllipse.prototype.constraints;mxRhombus.prototype.constraints=mxEllipse.prototype.constraints;mxTriangle.prototype.constraints=
+mxLine.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.75,.5),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1)];ka.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.5,0),!1),new mxConnectionConstraint(new mxPoint(.5,1),!1)];mxDoubleEllipse.prototype.constraints=mxEllipse.prototype.constraints;mxRhombus.prototype.constraints=mxEllipse.prototype.constraints;mxTriangle.prototype.constraints=
[new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0)];mxHexagon.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.375,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.625,0),!0),new mxConnectionConstraint(new mxPoint(0,
.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.375,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.625,1),!0)];mxCloud.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,.25),!1),new mxConnectionConstraint(new mxPoint(.4,
.1),!1),new mxConnectionConstraint(new mxPoint(.16,.55),!1),new mxConnectionConstraint(new mxPoint(.07,.4),!1),new mxConnectionConstraint(new mxPoint(.31,.8),!1),new mxConnectionConstraint(new mxPoint(.13,.77),!1),new mxConnectionConstraint(new mxPoint(.8,.8),!1),new mxConnectionConstraint(new mxPoint(.55,.95),!1),new mxConnectionConstraint(new mxPoint(.875,.5),!1),new mxConnectionConstraint(new mxPoint(.96,.7),!1),new mxConnectionConstraint(new mxPoint(.625,.2),!1),new mxConnectionConstraint(new mxPoint(.88,
.25),!1)];L.prototype.constraints=mxRectangleShape.prototype.constraints;P.prototype.constraints=mxRectangleShape.prototype.constraints;G.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),
!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0)];mxArrow.prototype.constraints=null;Ra.prototype.getConstraints=function(d,m,y){d=[];var p=Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,"dx",this.dx)))),x=Math.max(0,Math.min(y,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1));d.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));d.push(new mxConnectionConstraint(new mxPoint(1,
0),!1));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.5*x));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,x));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.75*m+.25*p,x));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m+p),x));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m+p),.5*(y+x)));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m+p),y));d.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));d.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,.5*(m-p),y));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m-p),.5*(y+x)));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m-p),x));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.25*m-.25*p,x));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,x));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*x));return d};Ea.prototype.getConstraints=function(d,m,y){d=[];var p=Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,
+0),!1,null,.5*(m-p),y));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m-p),.5*(y+x)));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m-p),x));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.25*m-.25*p,x));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,x));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*x));return d};Da.prototype.getConstraints=function(d,m,y){d=[];var p=Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,
"dx",this.dx)))),x=Math.max(0,Math.min(y,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1));d.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));d.push(new mxConnectionConstraint(new mxPoint(1,0),!1));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.5*x));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,x));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m+p),x));d.push(new mxConnectionConstraint(new mxPoint(0,
0),!1,null,p,x));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,p,.5*(y+x)));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,p,y));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*p,y));d.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));d.push(new mxConnectionConstraint(new mxPoint(0,1),!1));return d};za.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!1),new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(0,
1),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.5,.5),!1),new mxConnectionConstraint(new mxPoint(.75,.5),!1),new mxConnectionConstraint(new mxPoint(1,0),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(1,1),!1)];Ja.prototype.getConstraints=function(d,m,y){d=[];var p=y*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",this.arrowWidth)))),x=m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,
@@ -3220,33 +3218,33 @@ t.isVertex(t.getParent(k.vertices[0])):!1}},{name:"editable",dispName:"Editable"
type:"bool",defVal:!1},{name:"resizeHeight",dispName:"Resize Height",type:"bool",defVal:!1},{name:"rotatable",dispName:"Rotatable",type:"bool",defVal:!0},{name:"cloneable",dispName:"Cloneable",type:"bool",defVal:!0},{name:"deletable",dispName:"Deletable",type:"bool",defVal:!0},{name:"treeFolding",dispName:"Tree Folding",type:"bool",defVal:!1},{name:"treeMoving",dispName:"Tree Moving",type:"bool",defVal:!1},{name:"pointerEvents",dispName:"Pointer Events",type:"bool",defVal:!0,isVisible:function(k,
t){var I=mxUtils.getValue(k.style,mxConstants.STYLE_FILLCOLOR,null);return!mxShape.forceFilledPointerEvents||t.editorUi.editor.graph.isSwimlane(k.vertices[0])||null==I||I==mxConstants.NONE||0==mxUtils.getValue(k.style,mxConstants.STYLE_FILL_OPACITY,100)||0==mxUtils.getValue(k.style,mxConstants.STYLE_OPACITY,100)||null!=k.style.pointerEvents}},{name:"moveCells",dispName:"Move Cells on Fold",type:"bool",defVal:!1,isVisible:function(k,t){return 0<k.vertices.length&&t.editorUi.editor.graph.isContainer(k.vertices[0])}}].concat(Editor.commonProperties);
Editor.defaultCsvValue='##\n## Example CSV import. Use ## for comments and # for configuration. Paste CSV below.\n## The following names are reserved and should not be used (or ignored):\n## id, tooltip, placeholder(s), link and label (see below)\n##\n#\n## Node label with placeholders and HTML.\n## Default is \'%name_of_first_column%\'.\n#\n# label: %name%<br><i style="color:gray;">%position%</i><br><a href="mailto:%email%">Email</a>\n#\n## Node style (placeholders are replaced once).\n## Default is the current style for nodes.\n#\n# style: label;image=%image%;whiteSpace=wrap;html=1;rounded=1;fillColor=%fill%;strokeColor=%stroke%;\n#\n## Parent style for nodes with child nodes (placeholders are replaced once).\n#\n# parentstyle: swimlane;whiteSpace=wrap;html=1;childLayout=stackLayout;horizontal=1;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;\n#\n## Style to be used for objects not in the CSV. If this is - then such objects are ignored,\n## else they are created using this as their style, eg. whiteSpace=wrap;html=1;\n#\n# unknownStyle: -\n#\n## Optional column name that contains a reference to a named style in styles.\n## Default is the current style for nodes.\n#\n# stylename: -\n#\n## JSON for named styles of the form {"name": "style", "name": "style"} where style is a cell style with\n## placeholders that are replaced once.\n#\n# styles: -\n#\n## JSON for variables in styles of the form {"name": "value", "name": "value"} where name is a string\n## that will replace a placeholder in a style.\n#\n# vars: -\n#\n## Optional column name that contains a reference to a named label in labels.\n## Default is the current label.\n#\n# labelname: -\n#\n## JSON for named labels of the form {"name": "label", "name": "label"} where label is a cell label with\n## placeholders.\n#\n# labels: -\n#\n## Uses the given column name as the identity for cells (updates existing cells).\n## Default is no identity (empty value or -).\n#\n# identity: -\n#\n## Uses the given column name as the parent reference for cells. Default is no parent (empty or -).\n## The identity above is used for resolving the reference so it must be specified.\n#\n# parent: -\n#\n## Adds a prefix to the identity of cells to make sure they do not collide with existing cells (whose\n## IDs are numbers from 0..n, sometimes with a GUID prefix in the context of realtime collaboration).\n## Default is csvimport-.\n#\n# namespace: csvimport-\n#\n## Connections between rows ("from": source colum, "to": target column).\n## Label, style and invert are optional. Defaults are \'\', current style and false.\n## If placeholders are used in the style, they are replaced with data from the source.\n## An optional placeholders can be set to target to use data from the target instead.\n## In addition to label, an optional fromlabel and tolabel can be used to name the column\n## that contains the text for the label in the edges source or target (invert ignored).\n## In addition to those, an optional source and targetlabel can be used to specify a label\n## that contains placeholders referencing the respective columns in the source or target row.\n## The label is created in the form fromlabel + sourcelabel + label + tolabel + targetlabel.\n## Additional labels can be added by using an optional labels array with entries of the\n## form {"label": string, "x": number, "y": number, "dx": number, "dy": number} where\n## x is from -1 to 1 along the edge, y is orthogonal, and dx/dy are offsets in pixels.\n## An optional placeholders with the string value "source" or "target" can be specified\n## to replace placeholders in the additional label with data from the source or target.\n## An optional data object can be specified to define the metadata for the connector.\n## The target column may contain a comma-separated list of values.\n## Multiple connect entries are allowed.\n#\n# connect: {"from": "manager", "to": "name", "invert": true, "label": "manages", \\\n# "style": "curved=1;endArrow=blockThin;endFill=1;fontSize=11;"}\n# connect: {"from": "refs", "to": "id", "style": "curved=1;fontSize=11;"}\n#\n## Node x-coordinate. Possible value is a column name. Default is empty. Layouts will\n## override this value.\n#\n# left: \n#\n## Node y-coordinate. Possible value is a column name. Default is empty. Layouts will\n## override this value.\n#\n# top: \n#\n## Node width. Possible value is a number (in px), auto or an @ sign followed by a column\n## name that contains the value for the width. Default is auto.\n#\n# width: auto\n#\n## Node height. Possible value is a number (in px), auto, width or an @ sign followed by a column\n## name that contains the value for the height. Default is auto.\n#\n# height: auto\n#\n## Collapsed state for vertices. Possible values are true or false. Default is false.\n#\n# collapsed: false\n#\n## Padding for autosize. Default is 0.\n#\n# padding: -12\n#\n## Comma-separated list of ignored columns for metadata. (These can be\n## used for connections and styles but will not be added as metadata.)\n#\n# ignore: id,image,fill,stroke,refs,manager\n#\n## Column to be renamed to link attribute (used as link).\n#\n# link: url\n#\n## Spacing between nodes. Default is 40.\n#\n# nodespacing: 40\n#\n## Spacing between levels of hierarchical layouts. Default is 100.\n#\n# levelspacing: 100\n#\n## Spacing between parallel edges. Default is 40. Use 0 to disable.\n#\n# edgespacing: 40\n#\n## Name or JSON of layout. Possible values are auto, none, verticaltree, horizontaltree,\n## verticalflow, horizontalflow, organic, circle, orgchart or a JSON string as used in\n## Layout, Apply. Default is auto.\n#\n# layout: auto\n#\n## ---- CSV below this line. First line are column names. ----\nname,position,id,location,manager,email,fill,stroke,refs,url,image\nTessa Miller,CFO,emi,Office 1,,[email protected],default,#6c8ebf,,https://www.draw.io,https://cdn3.iconfinder.com/data/icons/user-avatars-1/512/users-3-128.png\nEdward Morrison,Brand Manager,emo,Office 2,Tessa Miller,[email protected],default,#82b366,,https://www.draw.io,https://cdn3.iconfinder.com/data/icons/user-avatars-1/512/users-10-3-128.png\nAlison Donovan,System Admin,rdo,Office 3,Tessa Miller,[email protected],default,#82b366,"emo,tva",https://www.draw.io,https://cdn3.iconfinder.com/data/icons/user-avatars-1/512/users-2-128.png\nEvan Valet,HR Director,tva,Office 4,Tessa Miller,[email protected],default,#82b366,,https://www.draw.io,https://cdn3.iconfinder.com/data/icons/user-avatars-1/512/users-9-2-128.png\n';
-Editor.createRoughCanvas=function(k){var t=rough.canvas({getContext:function(){return k}});t.draw=function(I){var R=I.sets||[];I=I.options||this.getDefaultOptions();for(var O=0;O<R.length;O++){var X=R[O];switch(X.type){case "path":null!=I.stroke&&this._drawToContext(k,X,I);break;case "fillPath":this._drawToContext(k,X,I);break;case "fillSketch":this.fillSketch(k,X,I)}}};t.fillSketch=function(I,R,O){var X=k.state.strokeColor,Z=k.state.strokeWidth,ba=k.state.strokeAlpha,la=k.state.dashed,qa=O.fillWeight;
-0>qa&&(qa=O.strokeWidth/2);k.setStrokeAlpha(k.state.fillAlpha);k.setStrokeColor(O.fill||"");k.setStrokeWidth(qa);k.setDashed(!1);this._drawToContext(I,R,O);k.setDashed(la);k.setStrokeWidth(Z);k.setStrokeColor(X);k.setStrokeAlpha(ba)};t._drawToContext=function(I,R,O){I.begin();for(var X=0;X<R.ops.length;X++){var Z=R.ops[X],ba=Z.data;switch(Z.op){case "move":I.moveTo(ba[0],ba[1]);break;case "bcurveTo":I.curveTo(ba[0],ba[1],ba[2],ba[3],ba[4],ba[5]);break;case "lineTo":I.lineTo(ba[0],ba[1])}}I.end();
+Editor.createRoughCanvas=function(k){var t=rough.canvas({getContext:function(){return k}});t.draw=function(I){var R=I.sets||[];I=I.options||this.getDefaultOptions();for(var O=0;O<R.length;O++){var X=R[O];switch(X.type){case "path":null!=I.stroke&&this._drawToContext(k,X,I);break;case "fillPath":this._drawToContext(k,X,I);break;case "fillSketch":this.fillSketch(k,X,I)}}};t.fillSketch=function(I,R,O){var X=k.state.strokeColor,Z=k.state.strokeWidth,ba=k.state.strokeAlpha,ka=k.state.dashed,qa=O.fillWeight;
+0>qa&&(qa=O.strokeWidth/2);k.setStrokeAlpha(k.state.fillAlpha);k.setStrokeColor(O.fill||"");k.setStrokeWidth(qa);k.setDashed(!1);this._drawToContext(I,R,O);k.setDashed(ka);k.setStrokeWidth(Z);k.setStrokeColor(X);k.setStrokeAlpha(ba)};t._drawToContext=function(I,R,O){I.begin();for(var X=0;X<R.ops.length;X++){var Z=R.ops[X],ba=Z.data;switch(Z.op){case "move":I.moveTo(ba[0],ba[1]);break;case "bcurveTo":I.curveTo(ba[0],ba[1],ba[2],ba[3],ba[4],ba[5]);break;case "lineTo":I.lineTo(ba[0],ba[1])}}I.end();
"fillPath"===R.type&&O.filled?I.fill():I.stroke()};return t};(function(){function k(X,Z,ba){this.canvas=X;this.rc=Z;this.shape=ba;this.canvas.setLineJoin("round");this.canvas.setLineCap("round");this.originalBegin=this.canvas.begin;this.canvas.begin=mxUtils.bind(this,k.prototype.begin);this.originalEnd=this.canvas.end;this.canvas.end=mxUtils.bind(this,k.prototype.end);this.originalRect=this.canvas.rect;this.canvas.rect=mxUtils.bind(this,k.prototype.rect);this.originalRoundrect=this.canvas.roundrect;
this.canvas.roundrect=mxUtils.bind(this,k.prototype.roundrect);this.originalEllipse=this.canvas.ellipse;this.canvas.ellipse=mxUtils.bind(this,k.prototype.ellipse);this.originalLineTo=this.canvas.lineTo;this.canvas.lineTo=mxUtils.bind(this,k.prototype.lineTo);this.originalMoveTo=this.canvas.moveTo;this.canvas.moveTo=mxUtils.bind(this,k.prototype.moveTo);this.originalQuadTo=this.canvas.quadTo;this.canvas.quadTo=mxUtils.bind(this,k.prototype.quadTo);this.originalCurveTo=this.canvas.curveTo;this.canvas.curveTo=
mxUtils.bind(this,k.prototype.curveTo);this.originalArcTo=this.canvas.arcTo;this.canvas.arcTo=mxUtils.bind(this,k.prototype.arcTo);this.originalClose=this.canvas.close;this.canvas.close=mxUtils.bind(this,k.prototype.close);this.originalFill=this.canvas.fill;this.canvas.fill=mxUtils.bind(this,k.prototype.fill);this.originalStroke=this.canvas.stroke;this.canvas.stroke=mxUtils.bind(this,k.prototype.stroke);this.originalFillAndStroke=this.canvas.fillAndStroke;this.canvas.fillAndStroke=mxUtils.bind(this,
-k.prototype.fillAndStroke);this.path=[];this.passThrough=!1}k.prototype.moveOp="M";k.prototype.lineOp="L";k.prototype.quadOp="Q";k.prototype.curveOp="C";k.prototype.closeOp="Z";k.prototype.getStyle=function(X,Z){var ba=1;if(null!=this.shape.state){var la=this.shape.state.cell.id;if(null!=la)for(var qa=0;qa<la.length;qa++)ba=(ba<<5)-ba+la.charCodeAt(qa)<<0}ba={strokeWidth:this.canvas.state.strokeWidth,seed:ba,preserveVertices:!0};la=this.rc.getDefaultOptions();ba.stroke=X?this.canvas.state.strokeColor===
-mxConstants.NONE?"transparent":this.canvas.state.strokeColor:mxConstants.NONE;X=null;(ba.filled=Z)?(ba.fill=this.canvas.state.fillColor===mxConstants.NONE?"":this.canvas.state.fillColor,X=this.canvas.state.gradientColor===mxConstants.NONE?null:this.canvas.state.gradientColor):ba.fill="";ba.bowing=mxUtils.getValue(this.shape.style,"bowing",la.bowing);ba.hachureAngle=mxUtils.getValue(this.shape.style,"hachureAngle",la.hachureAngle);ba.curveFitting=mxUtils.getValue(this.shape.style,"curveFitting",la.curveFitting);
-ba.roughness=mxUtils.getValue(this.shape.style,"jiggle",la.roughness);ba.simplification=mxUtils.getValue(this.shape.style,"simplification",la.simplification);ba.disableMultiStroke=mxUtils.getValue(this.shape.style,"disableMultiStroke",la.disableMultiStroke);ba.disableMultiStrokeFill=mxUtils.getValue(this.shape.style,"disableMultiStrokeFill",la.disableMultiStrokeFill);Z=mxUtils.getValue(this.shape.style,"hachureGap",-1);ba.hachureGap="auto"==Z?-1:Z;ba.dashGap=mxUtils.getValue(this.shape.style,"dashGap",
+k.prototype.fillAndStroke);this.path=[];this.passThrough=!1}k.prototype.moveOp="M";k.prototype.lineOp="L";k.prototype.quadOp="Q";k.prototype.curveOp="C";k.prototype.closeOp="Z";k.prototype.getStyle=function(X,Z){var ba=1;if(null!=this.shape.state){var ka=this.shape.state.cell.id;if(null!=ka)for(var qa=0;qa<ka.length;qa++)ba=(ba<<5)-ba+ka.charCodeAt(qa)<<0}ba={strokeWidth:this.canvas.state.strokeWidth,seed:ba,preserveVertices:!0};ka=this.rc.getDefaultOptions();ba.stroke=X?this.canvas.state.strokeColor===
+mxConstants.NONE?"transparent":this.canvas.state.strokeColor:mxConstants.NONE;X=null;(ba.filled=Z)?(ba.fill=this.canvas.state.fillColor===mxConstants.NONE?"":this.canvas.state.fillColor,X=this.canvas.state.gradientColor===mxConstants.NONE?null:this.canvas.state.gradientColor):ba.fill="";ba.bowing=mxUtils.getValue(this.shape.style,"bowing",ka.bowing);ba.hachureAngle=mxUtils.getValue(this.shape.style,"hachureAngle",ka.hachureAngle);ba.curveFitting=mxUtils.getValue(this.shape.style,"curveFitting",ka.curveFitting);
+ba.roughness=mxUtils.getValue(this.shape.style,"jiggle",ka.roughness);ba.simplification=mxUtils.getValue(this.shape.style,"simplification",ka.simplification);ba.disableMultiStroke=mxUtils.getValue(this.shape.style,"disableMultiStroke",ka.disableMultiStroke);ba.disableMultiStrokeFill=mxUtils.getValue(this.shape.style,"disableMultiStrokeFill",ka.disableMultiStrokeFill);Z=mxUtils.getValue(this.shape.style,"hachureGap",-1);ba.hachureGap="auto"==Z?-1:Z;ba.dashGap=mxUtils.getValue(this.shape.style,"dashGap",
Z);ba.dashOffset=mxUtils.getValue(this.shape.style,"dashOffset",Z);ba.zigzagOffset=mxUtils.getValue(this.shape.style,"zigzagOffset",Z);Z=mxUtils.getValue(this.shape.style,"fillWeight",-1);ba.fillWeight="auto"==Z?-1:Z;Z=mxUtils.getValue(this.shape.style,"fillStyle","auto");"dots"==Z&&(Z="auto");"auto"==Z&&(Z=[mxUtils.hex2rgb("#ffffff")],null!=this.shape.state&&Z.push(mxUtils.hex2rgb(this.shape.state.view.graph.shapeBackgroundColor)),Editor.isDarkMode()&&Z.push(mxUtils.hex2rgb(Editor.darkColor)),Z=
-null!=ba.fill&&(null!=X||0<=mxUtils.indexOf(Z,mxUtils.hex2rgb(ba.fill)))?"solid":la.fillStyle);ba.fillStyle=Z;return ba};k.prototype.begin=function(){this.passThrough?this.originalBegin.apply(this.canvas,arguments):this.path=[]};k.prototype.end=function(){this.passThrough&&this.originalEnd.apply(this.canvas,arguments)};k.prototype.addOp=function(){if(null!=this.path&&(this.path.push(arguments[0]),2<arguments.length))for(var X=2;X<arguments.length;X+=2)this.lastX=arguments[X-1],this.lastY=arguments[X],
+null!=ba.fill&&(null!=X||0<=mxUtils.indexOf(Z,mxUtils.hex2rgb(ba.fill)))?"solid":ka.fillStyle);ba.fillStyle=Z;return ba};k.prototype.begin=function(){this.passThrough?this.originalBegin.apply(this.canvas,arguments):this.path=[]};k.prototype.end=function(){this.passThrough&&this.originalEnd.apply(this.canvas,arguments)};k.prototype.addOp=function(){if(null!=this.path&&(this.path.push(arguments[0]),2<arguments.length))for(var X=2;X<arguments.length;X+=2)this.lastX=arguments[X-1],this.lastY=arguments[X],
this.path.push(this.canvas.format(this.lastX)),this.path.push(this.canvas.format(this.lastY))};k.prototype.lineTo=function(X,Z){this.passThrough?this.originalLineTo.apply(this.canvas,arguments):(this.addOp(this.lineOp,X,Z),this.lastX=X,this.lastY=Z)};k.prototype.moveTo=function(X,Z){this.passThrough?this.originalMoveTo.apply(this.canvas,arguments):(this.addOp(this.moveOp,X,Z),this.lastX=X,this.lastY=Z,this.firstX=X,this.firstY=Z)};k.prototype.close=function(){this.passThrough?this.originalClose.apply(this.canvas,
-arguments):this.addOp(this.closeOp)};k.prototype.quadTo=function(X,Z,ba,la){this.passThrough?this.originalQuadTo.apply(this.canvas,arguments):(this.addOp(this.quadOp,X,Z,ba,la),this.lastX=ba,this.lastY=la)};k.prototype.curveTo=function(X,Z,ba,la,qa,pa){this.passThrough?this.originalCurveTo.apply(this.canvas,arguments):(this.addOp(this.curveOp,X,Z,ba,la,qa,pa),this.lastX=qa,this.lastY=pa)};k.prototype.arcTo=function(X,Z,ba,la,qa,pa,ra){if(this.passThrough)this.originalArcTo.apply(this.canvas,arguments);
-else{var ua=mxUtils.arcToCurves(this.lastX,this.lastY,X,Z,ba,la,qa,pa,ra);if(null!=ua)for(var Ba=0;Ba<ua.length;Ba+=6)this.curveTo(ua[Ba],ua[Ba+1],ua[Ba+2],ua[Ba+3],ua[Ba+4],ua[Ba+5]);this.lastX=pa;this.lastY=ra}};k.prototype.rect=function(X,Z,ba,la){this.passThrough?this.originalRect.apply(this.canvas,arguments):(this.path=[],this.nextShape=this.rc.generator.rectangle(X,Z,ba,la,this.getStyle(!0,!0)))};k.prototype.ellipse=function(X,Z,ba,la){this.passThrough?this.originalEllipse.apply(this.canvas,
-arguments):(this.path=[],this.nextShape=this.rc.generator.ellipse(X+ba/2,Z+la/2,ba,la,this.getStyle(!0,!0)))};k.prototype.roundrect=function(X,Z,ba,la,qa,pa){this.passThrough?this.originalRoundrect.apply(this.canvas,arguments):(this.begin(),this.moveTo(X+qa,Z),this.lineTo(X+ba-qa,Z),this.quadTo(X+ba,Z,X+ba,Z+pa),this.lineTo(X+ba,Z+la-pa),this.quadTo(X+ba,Z+la,X+ba-qa,Z+la),this.lineTo(X+qa,Z+la),this.quadTo(X,Z+la,X,Z+la-pa),this.lineTo(X,Z+pa),this.quadTo(X,Z,X+qa,Z))};k.prototype.drawPath=function(X){if(0<
+arguments):this.addOp(this.closeOp)};k.prototype.quadTo=function(X,Z,ba,ka){this.passThrough?this.originalQuadTo.apply(this.canvas,arguments):(this.addOp(this.quadOp,X,Z,ba,ka),this.lastX=ba,this.lastY=ka)};k.prototype.curveTo=function(X,Z,ba,ka,qa,pa){this.passThrough?this.originalCurveTo.apply(this.canvas,arguments):(this.addOp(this.curveOp,X,Z,ba,ka,qa,pa),this.lastX=qa,this.lastY=pa)};k.prototype.arcTo=function(X,Z,ba,ka,qa,pa,ra){if(this.passThrough)this.originalArcTo.apply(this.canvas,arguments);
+else{var ua=mxUtils.arcToCurves(this.lastX,this.lastY,X,Z,ba,ka,qa,pa,ra);if(null!=ua)for(var Ba=0;Ba<ua.length;Ba+=6)this.curveTo(ua[Ba],ua[Ba+1],ua[Ba+2],ua[Ba+3],ua[Ba+4],ua[Ba+5]);this.lastX=pa;this.lastY=ra}};k.prototype.rect=function(X,Z,ba,ka){this.passThrough?this.originalRect.apply(this.canvas,arguments):(this.path=[],this.nextShape=this.rc.generator.rectangle(X,Z,ba,ka,this.getStyle(!0,!0)))};k.prototype.ellipse=function(X,Z,ba,ka){this.passThrough?this.originalEllipse.apply(this.canvas,
+arguments):(this.path=[],this.nextShape=this.rc.generator.ellipse(X+ba/2,Z+ka/2,ba,ka,this.getStyle(!0,!0)))};k.prototype.roundrect=function(X,Z,ba,ka,qa,pa){this.passThrough?this.originalRoundrect.apply(this.canvas,arguments):(this.begin(),this.moveTo(X+qa,Z),this.lineTo(X+ba-qa,Z),this.quadTo(X+ba,Z,X+ba,Z+pa),this.lineTo(X+ba,Z+ka-pa),this.quadTo(X+ba,Z+ka,X+ba-qa,Z+ka),this.lineTo(X+qa,Z+ka),this.quadTo(X,Z+ka,X,Z+ka-pa),this.lineTo(X,Z+pa),this.quadTo(X,Z,X+qa,Z))};k.prototype.drawPath=function(X){if(0<
this.path.length){this.passThrough=!0;try{this.rc.path(this.path.join(" "),X)}catch(ba){}this.passThrough=!1}else if(null!=this.nextShape){for(var Z in X)this.nextShape.options[Z]=X[Z];X.stroke!=mxConstants.NONE&&null!=X.stroke||delete this.nextShape.options.stroke;X.filled||delete this.nextShape.options.fill;this.passThrough=!0;this.rc.draw(this.nextShape);this.passThrough=!1}};k.prototype.stroke=function(){this.passThrough?this.originalStroke.apply(this.canvas,arguments):this.drawPath(this.getStyle(!0,
!1))};k.prototype.fill=function(){this.passThrough?this.originalFill.apply(this.canvas,arguments):this.drawPath(this.getStyle(!1,!0))};k.prototype.fillAndStroke=function(){this.passThrough?this.originalFillAndStroke.apply(this.canvas,arguments):this.drawPath(this.getStyle(!0,!0))};k.prototype.destroy=function(){this.canvas.lineTo=this.originalLineTo;this.canvas.moveTo=this.originalMoveTo;this.canvas.close=this.originalClose;this.canvas.quadTo=this.originalQuadTo;this.canvas.curveTo=this.originalCurveTo;
this.canvas.arcTo=this.originalArcTo;this.canvas.close=this.originalClose;this.canvas.fill=this.originalFill;this.canvas.stroke=this.originalStroke;this.canvas.fillAndStroke=this.originalFillAndStroke;this.canvas.begin=this.originalBegin;this.canvas.end=this.originalEnd;this.canvas.rect=this.originalRect;this.canvas.ellipse=this.originalEllipse;this.canvas.roundrect=this.originalRoundrect};mxShape.prototype.createRoughCanvas=function(X){return new k(X,Editor.createRoughCanvas(X),this)};var t=mxShape.prototype.createHandJiggle;
-mxShape.prototype.createHandJiggle=function(X){return this.outline||null==this.style||"0"==mxUtils.getValue(this.style,"sketch","0")?t.apply(this,arguments):"comic"==mxUtils.getValue(this.style,"sketchStyle","rough")?this.createComicCanvas(X):this.createRoughCanvas(X)};var I=mxImageShape.prototype.paintVertexShape;mxImageShape.prototype.paintVertexShape=function(X,Z,ba,la,qa){null!=X.handJiggle&&X.handJiggle.passThrough||I.apply(this,arguments)};var R=mxShape.prototype.paint;mxShape.prototype.paint=
-function(X){var Z=X.addTolerance,ba=!0;null!=this.style&&(ba="1"==mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1"));if(null!=X.handJiggle&&X.handJiggle.constructor==k&&!this.outline){X.save();var la=this.fill,qa=this.stroke;this.stroke=this.fill=null;var pa=this.configurePointerEvents,ra=X.setStrokeColor;X.setStrokeColor=function(){};var ua=X.setFillColor;X.setFillColor=function(){};ba||null==la||(this.configurePointerEvents=function(){});X.handJiggle.passThrough=!0;R.apply(this,
-arguments);X.handJiggle.passThrough=!1;X.setFillColor=ua;X.setStrokeColor=ra;this.configurePointerEvents=pa;this.stroke=qa;this.fill=la;X.restore();ba&&null!=la&&(X.addTolerance=function(){})}R.apply(this,arguments);X.addTolerance=Z};var O=mxShape.prototype.paintGlassEffect;mxShape.prototype.paintGlassEffect=function(X,Z,ba,la,qa,pa){null!=X.handJiggle&&X.handJiggle.constructor==k?(X.handJiggle.passThrough=!0,O.apply(this,arguments),X.handJiggle.passThrough=!1):O.apply(this,arguments)}})();Editor.fastCompress=
+mxShape.prototype.createHandJiggle=function(X){return this.outline||null==this.style||"0"==mxUtils.getValue(this.style,"sketch","0")?t.apply(this,arguments):"comic"==mxUtils.getValue(this.style,"sketchStyle","rough")?this.createComicCanvas(X):this.createRoughCanvas(X)};var I=mxImageShape.prototype.paintVertexShape;mxImageShape.prototype.paintVertexShape=function(X,Z,ba,ka,qa){null!=X.handJiggle&&X.handJiggle.passThrough||I.apply(this,arguments)};var R=mxShape.prototype.paint;mxShape.prototype.paint=
+function(X){var Z=X.addTolerance,ba=!0;null!=this.style&&(ba="1"==mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1"));if(null!=X.handJiggle&&X.handJiggle.constructor==k&&!this.outline){X.save();var ka=this.fill,qa=this.stroke;this.stroke=this.fill=null;var pa=this.configurePointerEvents,ra=X.setStrokeColor;X.setStrokeColor=function(){};var ua=X.setFillColor;X.setFillColor=function(){};ba||null==ka||(this.configurePointerEvents=function(){});X.handJiggle.passThrough=!0;R.apply(this,
+arguments);X.handJiggle.passThrough=!1;X.setFillColor=ua;X.setStrokeColor=ra;this.configurePointerEvents=pa;this.stroke=qa;this.fill=ka;X.restore();ba&&null!=ka&&(X.addTolerance=function(){})}R.apply(this,arguments);X.addTolerance=Z};var O=mxShape.prototype.paintGlassEffect;mxShape.prototype.paintGlassEffect=function(X,Z,ba,ka,qa,pa){null!=X.handJiggle&&X.handJiggle.constructor==k?(X.handJiggle.passThrough=!0,O.apply(this,arguments),X.handJiggle.passThrough=!1):O.apply(this,arguments)}})();Editor.fastCompress=
function(k){return null==k||0==k.length||"undefined"===typeof pako?k:Graph.arrayBufferToString(pako.deflateRaw(k))};Editor.fastDecompress=function(k){return null==k||0==k.length||"undefined"===typeof pako?k:pako.inflateRaw(Graph.stringToArrayBuffer(atob(k)),{to:"string"})};Editor.extractGraphModel=function(k,t,I){if(null!=k&&"undefined"!==typeof pako){var R=k.ownerDocument.getElementsByTagName("div"),O=[];if(null!=R&&0<R.length)for(var X=0;X<R.length;X++)if("mxgraph"==R[X].getAttribute("class")){O.push(R[X]);
break}0<O.length&&(R=O[0].getAttribute("data-mxgraph"),null!=R?(O=JSON.parse(R),null!=O&&null!=O.xml&&(k=mxUtils.parseXml(O.xml),k=k.documentElement)):(O=O[0].getElementsByTagName("div"),0<O.length&&(R=mxUtils.getTextContent(O[0]),R=Graph.decompress(R,null,I),0<R.length&&(k=mxUtils.parseXml(R),k=k.documentElement))))}if(null!=k&&"svg"==k.nodeName)if(R=k.getAttribute("content"),null!=R&&"<"!=R.charAt(0)&&"%"!=R.charAt(0)&&(R=unescape(window.atob?atob(R):Base64.decode(cont,R))),null!=R&&"%"==R.charAt(0)&&
(R=decodeURIComponent(R)),null!=R&&0<R.length)k=mxUtils.parseXml(R).documentElement;else throw{message:mxResources.get("notADiagramFile")};null==k||t||(O=null,"diagram"==k.nodeName?O=k:"mxfile"==k.nodeName&&(R=k.getElementsByTagName("diagram"),0<R.length&&(O=R[Math.max(0,Math.min(R.length-1,urlParams.page||0))])),null!=O&&(k=Editor.parseDiagramNode(O,I)));null==k||"mxGraphModel"==k.nodeName||t&&"mxfile"==k.nodeName||(k=null);return k};Editor.parseDiagramNode=function(k,t,I){Editor.validateDiagramNode(k);
var R=mxUtils.trim(mxUtils.getTextContent(k)),O=null;0<R.length?(t=Graph.decompress(R,null,t),null!=t&&0<t.length&&(O=mxUtils.parseXml(t).documentElement)):(k=mxUtils.getChildNodes(k),0<k.length&&(O=k[0],I&&(O=Editor.parseDiagramNode(O,t,!1)),t=mxUtils.createXmlDocument(),t.appendChild(t.importNode(O,!0)),O=t.documentElement));return O};Editor.getDiagramNodeXml=function(k){Editor.validateDiagramNode(k);var t=mxUtils.getNodeValue(k),I=null;0<t.length?I=Graph.decompress(t):(k=k.getElementsByTagName("mxGraphModel"),
null!=k&&0<k.length&&(I=mxUtils.getXml(k[0])));return I};Editor.validateDiagramNode=function(k){if(0==mxUtils.trim(mxUtils.getTextContent(k)).length&&0==mxUtils.getChildNodes(k).length){var t=new mxCodec,I=new mxGraphModel;k.appendChild(t.encode(I))}return k};Editor.extractGraphModelFromPdf=function(k){var t=null;k=k.substring(k.indexOf(",")+1);k=window.atob&&!mxClient.IS_SF?atob(k):Base64.decode(k,!0);if("%PDF-1.7"==k.substring(0,8)){var I=k.indexOf("EmbeddedFile");if(-1<I){var R=k.indexOf("stream",
I)+9;if(0<k.substring(I,R).indexOf("application#2Fvnd.jgraph.mxfile")){var O=k.indexOf("endstream",R-1);return pako.inflateRaw(Graph.stringToArrayBuffer(k.substring(R,O)),{to:"string"})}}for(I=k.indexOf("/ObjStm");0<I;){R=k.indexOf("stream",I)+9;O=k.indexOf("endstream",R-1);R=pako.inflateRaw(Graph.stringToArrayBuffer(k.substring(R,O)),{to:"string"});O=R.indexOf("/Subject <");if(0<O){I=R.substring(O+14,R.indexOf(">",O));if(null!=I){t=I;I=[];for(R=0;R<t.length;R+=2)O=t.substr(R,2),"00"!=O&&I.push(String.fromCharCode(parseInt(O,
-16)));t=I.join("")}break}I=k.indexOf("/ObjStm",I+1)}}if(null==t&&"%PDF-1.4"==k.substring(0,8)){I="";O=R=0;for(var X=[],Z=null;O<k.length;){var ba=k.charCodeAt(O);O+=1;10!=ba&&(I+=String.fromCharCode(ba));ba=="/Subject (%3Cmxfile".charCodeAt(R)?R++:R=0;if(19==R){var la=k.indexOf("%3C%2Fmxfile%3E",O)+15;O-=9;if(la>O){t=k.substring(O,la);break}}10==ba&&("endobj"==I?Z=null:"obj"==I.substring(I.length-3,I.length)||"xref"==I||"trailer"==I?(Z=[],X[I.split(" ")[0]]=Z):null!=Z&&Z.push(I),I="")}}null==t&&null!=
+16)));t=I.join("")}break}I=k.indexOf("/ObjStm",I+1)}}if(null==t&&"%PDF-1.4"==k.substring(0,8)){I="";O=R=0;for(var X=[],Z=null;O<k.length;){var ba=k.charCodeAt(O);O+=1;10!=ba&&(I+=String.fromCharCode(ba));ba=="/Subject (%3Cmxfile".charCodeAt(R)?R++:R=0;if(19==R){var ka=k.indexOf("%3C%2Fmxfile%3E",O)+15;O-=9;if(ka>O){t=k.substring(O,ka);break}}10==ba&&("endobj"==I?Z=null:"obj"==I.substring(I.length-3,I.length)||"xref"==I||"trailer"==I?(Z=[],X[I.split(" ")[0]]=Z):null!=Z&&Z.push(I),I="")}}null==t&&null!=
X&&(t=Editor.extractGraphModelFromXref(X));null!=t&&(t=decodeURIComponent(t.replace(/\\\(/g,"(").replace(/\\\)/g,")")));return t};Editor.extractGraphModelFromXref=function(k){var t=k.trailer,I=null;null!=t&&(t=/.* \/Info (\d+) (\d+) R/g.exec(t.join("\n")),null!=t&&0<t.length&&(t=k[t[1]],null!=t&&(t=/.* \/Subject (\d+) (\d+) R/g.exec(t.join("\n")),null!=t&&0<t.length&&(k=k[t[1]],null!=k&&(k=k.join("\n"),I=k.substring(1,k.length-1))))));return I};Editor.extractParserError=function(k,t){var I=null;k=
null!=k?k.getElementsByTagName("parsererror"):null;null!=k&&0<k.length&&(I=t||mxResources.get("invalidChars"),t=k[0].getElementsByTagName("div"),0<t.length&&(I=mxUtils.getTextContent(t[0])));return null!=I?mxUtils.trim(I):I};Editor.addRetryToError=function(k,t){null!=k&&(k=null!=k.error?k.error:k,null==k.retry&&(k.retry=t))};Editor.mermaidToDrawio=function(k,t,I){if("function"===typeof mxMermaidToDrawio)return mxMermaidToDrawio(k,t,I)};Editor.configure=function(k){if(null!=k){Editor.config=k;Editor.configVersion=
k.version;k.debug&&(urlParams.test="1");null!=k.defaultFonts&&(Menus.prototype.defaultFonts=k.defaultFonts);null!=k.presetColors&&(ColorDialog.prototype.presetColors=k.presetColors);null!=k.defaultColors&&(ColorDialog.prototype.defaultColors=k.defaultColors);null!=k.colorNames&&(ColorDialog.prototype.colorNames=k.colorNames);null!=k.defaultColorSchemes&&(StyleFormatPanel.prototype.defaultColorSchemes=k.defaultColorSchemes);null!=k.defaultEdgeLength&&(Graph.prototype.defaultEdgeLength=k.defaultEdgeLength);
@@ -3273,35 +3271,35 @@ k?k:!0;var I=e.apply(this,arguments);null!=this.graph.currentStyle&&"default-sty
"^"+O.url}),I.setAttribute("extFonts",R.join("|")));return I};Editor.prototype.isDataSvg=function(k){try{var t=mxUtils.parseXml(k).documentElement.getAttribute("content");if(null!=t&&(null!=t&&"<"!=t.charAt(0)&&"%"!=t.charAt(0)&&(t=unescape(window.atob?atob(t):Base64.decode(cont,t))),null!=t&&"%"==t.charAt(0)&&(t=decodeURIComponent(t)),null!=t&&0<t.length)){var I=mxUtils.parseXml(t).documentElement;return"mxfile"==I.nodeName||"mxGraphModel"==I.nodeName}}catch(R){}return!1};Editor.prototype.extractGraphModel=
function(k,t,I){return Editor.extractGraphModel.apply(this,arguments)};var g=Editor.prototype.resetGraph;Editor.prototype.resetGraph=function(){this.graph.mathEnabled="1"==urlParams.math;this.graph.view.x0=null;this.graph.view.y0=null;this.graph.useCssTransforms=!mxClient.NO_FO&&this.isChromelessView()&&this.graph.isCssTransformsSupported();this.graph.updateCssTransform();g.apply(this,arguments)};var n=Editor.prototype.updateGraphComponents;Editor.prototype.updateGraphComponents=function(){n.apply(this,
arguments);this.graph.useCssTransforms=!mxClient.NO_FO&&this.isChromelessView()&&this.graph.isCssTransformsSupported();this.graph.updateCssTransform()};Editor.initMath=function(k,t){if("undefined"===typeof window.MathJax&&!mxClient.IS_IE&&!mxClient.IS_IE11){var I=function(){R=null;if(0<Editor.mathJaxQueue.length)Editor.doMathJaxRender(Editor.mathJaxQueue.shift());else Editor.onMathJaxDone()};k=null!=k?k:DRAW_MATH_URL+"/startup.js";Editor.mathJaxQueue=[];var R=null;Editor.doMathJaxRender=function(Z){try{null==
-R?(MathJax.typesetClear([Z]),MathJax.typeset([Z]),I()):R!=Z&&Editor.mathJaxQueue.push(Z)}catch(ba){MathJax.typesetClear([Z]),null!=ba.retry?(R=Z,ba.retry.then(function(){MathJax.typesetPromise([Z]).then(I)["catch"](function(la){console.log("Error in MathJax.typesetPromise: "+la.toString());I()})})["catch"](function(la){console.log("Error in MathJax.retry: "+la.toString());I()})):null!=window.console&&console.log("Error in MathJax.typeset: "+ba.toString())}};window.MathJax=null!=t?t:{options:{skipHtmlTags:{"[+]":["text"]},
+R?(MathJax.typesetClear([Z]),MathJax.typeset([Z]),I()):R!=Z&&Editor.mathJaxQueue.push(Z)}catch(ba){MathJax.typesetClear([Z]),null!=ba.retry?(R=Z,ba.retry.then(function(){MathJax.typesetPromise([Z]).then(I)["catch"](function(ka){console.log("Error in MathJax.typesetPromise: "+ka.toString());I()})})["catch"](function(ka){console.log("Error in MathJax.retry: "+ka.toString());I()})):null!=window.console&&console.log("Error in MathJax.typeset: "+ba.toString())}};window.MathJax=null!=t?t:{options:{skipHtmlTags:{"[+]":["text"]},
ignoreHtmlClass:"geDisableMathJax"},loader:{load:["html"==urlParams["math-output"]?"output/chtml":"output/svg","input/tex","input/asciimath","ui/safe"]},startup:{pageReady:function(){for(var Z=0;Z<Editor.mathJaxQueue.length;Z++)Editor.doMathJaxRender(Editor.mathJaxQueue[Z])}}};Editor.MathJaxRender=function(Z){"undefined"!==typeof MathJax&&"function"===typeof MathJax.typeset?Editor.doMathJaxRender(Z):Editor.mathJaxQueue.push(Z)};Editor.onMathJaxDone=function(){};var O=Editor.prototype.init;Editor.prototype.init=
-function(){O.apply(this,arguments);var Z=mxUtils.bind(this,function(ba,la){null!=this.graph.container&&this.graph.mathEnabled&&Editor.MathJaxRender(this.graph.container)});this.graph.model.addListener(mxEvent.CHANGE,Z);this.graph.addListener(mxEvent.REFRESH,Z)};t=document.getElementsByTagName("script");if(null!=t&&0<t.length){var X=document.createElement("script");X.setAttribute("type","text/javascript");X.setAttribute("src",k);t[0].parentNode.appendChild(X)}}};Editor.prototype.csvToArray=function(k){if(0<
+function(){O.apply(this,arguments);var Z=mxUtils.bind(this,function(ba,ka){null!=this.graph.container&&this.graph.mathEnabled&&Editor.MathJaxRender(this.graph.container)});this.graph.model.addListener(mxEvent.CHANGE,Z);this.graph.addListener(mxEvent.REFRESH,Z)};t=document.getElementsByTagName("script");if(null!=t&&0<t.length){var X=document.createElement("script");X.setAttribute("type","text/javascript");X.setAttribute("src",k);t[0].parentNode.appendChild(X)}}};Editor.prototype.csvToArray=function(k){if(0<
k.length){var t="",I=[""],R=0,O=!0,X;k=$jscomp.makeIterator(k);for(X=k.next();!X.done;X=k.next())X=X.value,'"'===X?(O&&X===t&&(I[R]+=X),O=!O):","===X&&O?X=I[++R]="":I[R]+=X,t=X;return I}return[]};Editor.prototype.getProxiedUrl=function(k){if((/test\.draw\.io$/.test(window.location.hostname)||/app\.diagrams\.net$/.test(window.location.hostname))&&!this.isCorsEnabledForUrl(k)){var t=EditorUi.isVisioFilename(k);t=/\.png$/i.test(k)||/\.pdf$/i.test(k)||t;var I="t="+(new Date).getTime();k=PROXY_URL+"?url="+
encodeURIComponent(k)+"&"+I+(t?"&base64=1":"")}return k};Editor.prototype.isCorsEnabledForUrl=function(k){if(mxClient.IS_CHROMEAPP||EditorUi.isElectronApp||k.substring(0,window.location.origin.length)==window.location.origin)return!0;null!=urlParams.cors&&null==this.corsRegExp&&(this.corsRegExp=new RegExp(decodeURIComponent(urlParams.cors)));return null!=this.corsRegExp&&this.corsRegExp.test(k)||"https://raw.githubusercontent.com/"===k.substring(0,34)||"https://fonts.googleapis.com/"===k.substring(0,
29)||"https://fonts.gstatic.com/"===k.substring(0,26)};Editor.prototype.createImageUrlConverter=function(){var k=new mxUrlConverter;k.updateBaseUrl();var t=k.convert,I=this;k.convert=function(R){null!=R&&navigator.onLine&&("http://"!=R.substring(0,7)&&"https://"!=R.substring(0,8)||R.substring(0,k.baseUrl.length)==k.baseUrl||I.crossOriginImages&&I.isCorsEnabledForUrl(R)?"chrome-extension://"!=R.substring(0,19)&&(R=t.apply(this,arguments)):R=PROXY_URL+"?url="+encodeURIComponent(R));return R};return k};
Editor.createSvgDataUri=function(k){return"data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(k)))};Editor.prototype.convertImageToDataUri=function(k,t,I,R,O){try{var X=!0,Z=window.setTimeout(mxUtils.bind(this,function(){X=!1;t(k)}),this.timeout),ba=mxUtils.bind(this,function(){null!=R?this.convertImageToDataUri(k,t,I,R,!0):t(k)});if(/(\.svg)$/i.test(k)&&!O)mxUtils.get(k,mxUtils.bind(this,function(qa){window.clearTimeout(Z);X&&(200>qa.getStatus()||299<qa.getStatus()?ba():t(Editor.createSvgDataUri(qa.getText())))}),
-mxUtils.bind(this,function(){window.clearTimeout(Z);X&&ba()}));else{var la=new Image;this.crossOriginImages&&(la.crossOrigin="anonymous");la.onload=function(){window.clearTimeout(Z);if(X)try{R=null!=R&&O?R:1;var qa=document.createElement("canvas"),pa=qa.getContext("2d");pa.scale(R,R);qa.height=la.height*R;qa.width=la.width*R;pa.drawImage(la,0,0);t(qa.toDataURL())}catch(ra){t(k)}};la.onerror=function(){window.clearTimeout(Z);X&&(null!=I?I():t(k))};la.src=k}}catch(qa){null!=I?I():t(k)}};Editor.prototype.convertImages=
-function(k,t,I,R){function O(){0<X.length?X.shift()():t(k)}null==R&&(R=this.createImageUrlConverter());var X=[],Z=I||{};I=mxUtils.bind(this,function(ba,la){ba=k.getElementsByTagName(ba);for(var qa=0;qa<ba.length;qa++)mxUtils.bind(this,function(pa){X.push(mxUtils.bind(this,function(){try{if(null!=pa){var ra=R.convert(pa.getAttribute(la));if(null!=ra&&"data:"!=ra.substring(0,5)){var ua=Z[ra];null==ua?this.convertImageToDataUri(ra,function(Ba){null!=Ba&&(Z[ra]=Ba,pa.setAttribute(la,Ba));O()},null,Editor.svgRasterScale):
-(pa.setAttribute(la,ua),O())}else null!=ra&&pa.setAttribute(la,ra),O()}}catch(Ba){O()}}))})(ba[qa])});I("image","xlink:href");I("img","src");O()};Editor.base64Encode=function(k){for(var t="",I=0,R=k.length,O,X,Z;I<R;){O=k.charCodeAt(I++)&255;if(I==R){t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(O>>2);t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((O&3)<<4);t+="==";break}X=k.charCodeAt(I++);if(I==R){t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(O>>
+mxUtils.bind(this,function(){window.clearTimeout(Z);X&&ba()}));else{var ka=new Image;this.crossOriginImages&&(ka.crossOrigin="anonymous");ka.onload=function(){window.clearTimeout(Z);if(X)try{R=null!=R&&O?R:1;var qa=document.createElement("canvas"),pa=qa.getContext("2d");pa.scale(R,R);qa.height=ka.height*R;qa.width=ka.width*R;pa.drawImage(ka,0,0);t(qa.toDataURL())}catch(ra){t(k)}};ka.onerror=function(){window.clearTimeout(Z);X&&(null!=I?I():t(k))};ka.src=k}}catch(qa){null!=I?I():t(k)}};Editor.prototype.convertImages=
+function(k,t,I,R){function O(){0<X.length?X.shift()():t(k)}null==R&&(R=this.createImageUrlConverter());var X=[],Z=I||{};I=mxUtils.bind(this,function(ba,ka){ba=k.getElementsByTagName(ba);for(var qa=0;qa<ba.length;qa++)mxUtils.bind(this,function(pa){X.push(mxUtils.bind(this,function(){try{if(null!=pa){var ra=R.convert(pa.getAttribute(ka));if(null!=ra&&"data:"!=ra.substring(0,5)){var ua=Z[ra];null==ua?this.convertImageToDataUri(ra,function(Ba){null!=Ba&&(Z[ra]=Ba,pa.setAttribute(ka,Ba));O()},null,Editor.svgRasterScale):
+(pa.setAttribute(ka,ua),O())}else null!=ra&&pa.setAttribute(ka,ra),O()}}catch(Ba){O()}}))})(ba[qa])});I("image","xlink:href");I("img","src");O()};Editor.base64Encode=function(k){for(var t="",I=0,R=k.length,O,X,Z;I<R;){O=k.charCodeAt(I++)&255;if(I==R){t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(O>>2);t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((O&3)<<4);t+="==";break}X=k.charCodeAt(I++);if(I==R){t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(O>>
2);t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((O&3)<<4|(X&240)>>4);t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((X&15)<<2);t+="=";break}Z=k.charCodeAt(I++);t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(O>>2);t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((O&3)<<4|(X&240)>>4);t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((X&15)<<2|(Z&192)>>6);
-t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(Z&63)}return t};Editor.prototype.loadUrl=function(k,t,I,R,O,X,Z,ba){try{var la=!Z&&(R||/(\.png)($|\?)/i.test(k)||/(\.jpe?g)($|\?)/i.test(k)||/(\.gif)($|\?)/i.test(k)||/(\.pdf)($|\?)/i.test(k));O=null!=O?O:!0;var qa=mxUtils.bind(this,function(){mxUtils.get(k,mxUtils.bind(this,function(pa){if(200<=pa.getStatus()&&299>=pa.getStatus()){if(null!=t){var ra=pa.getText();if(la){if((9==document.documentMode||10==document.documentMode)&&
+t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(Z&63)}return t};Editor.prototype.loadUrl=function(k,t,I,R,O,X,Z,ba){try{var ka=!Z&&(R||/(\.png)($|\?)/i.test(k)||/(\.jpe?g)($|\?)/i.test(k)||/(\.gif)($|\?)/i.test(k)||/(\.pdf)($|\?)/i.test(k));O=null!=O?O:!0;var qa=mxUtils.bind(this,function(){mxUtils.get(k,mxUtils.bind(this,function(pa){if(200<=pa.getStatus()&&299>=pa.getStatus()){if(null!=t){var ra=pa.getText();if(ka){if((9==document.documentMode||10==document.documentMode)&&
"undefined"!==typeof window.mxUtilsBinaryToArray){pa=mxUtilsBinaryToArray(pa.request.responseBody).toArray();ra=Array(pa.length);for(var ua=0;ua<pa.length;ua++)ra[ua]=String.fromCharCode(pa[ua]);ra=ra.join("")}X=null!=X?X:"data:image/png;base64,";ra=X+Editor.base64Encode(ra)}t(ra)}}else null!=I&&(0==pa.getStatus()?I({message:mxResources.get("accessDenied")},pa):404==pa.getStatus()?I({message:mxResources.get("fileNotFound"),code:pa.getStatus()},pa):I({message:this.getErrorMessage(pa)},pa))}),function(pa){null!=
-I&&I({message:mxResources.get("error")+" "+pa.getStatus()})},la,this.timeout,function(){O&&null!=I&&I({code:App.ERROR_TIMEOUT,retry:qa})},ba)});qa()}catch(pa){null!=I&&I(pa)}};Editor.prototype.getErrorMessage=function(k){var t=mxResources.get("error")+" "+k.getStatus();try{var I=k.getText(),R=JSON.parse(I);null!=R&&null!=R.error&&null!=R.error.message&&(t=R.error.message+" ("+t+")")}catch(O){}return t};Editor.prototype.absoluteCssFonts=function(k){var t=null;if(null!=k){var I=k.split("url(");if(0<
+I&&I({message:mxResources.get("error")+" "+pa.getStatus()})},ka,this.timeout,function(){O&&null!=I&&I({code:App.ERROR_TIMEOUT,retry:qa})},ba)});qa()}catch(pa){null!=I&&I(pa)}};Editor.prototype.getErrorMessage=function(k){var t=mxResources.get("error")+" "+k.getStatus();try{var I=k.getText(),R=JSON.parse(I);null!=R&&null!=R.error&&null!=R.error.message&&(t=R.error.message+" ("+t+")")}catch(O){}return t};Editor.prototype.absoluteCssFonts=function(k){var t=null;if(null!=k){var I=k.split("url(");if(0<
I.length){t=[I[0]];k=window.location.pathname;var R=null!=k?k.lastIndexOf("/"):-1;0<=R&&(k=k.substring(0,R+1));R=document.getElementsByTagName("base");var O=null;null!=R&&0<R.length&&(O=R[0].getAttribute("href"));for(var X=1;X<I.length;X++)if(R=I[X].indexOf(")"),0<R){var Z=Editor.trimCssUrl(I[X].substring(0,R));this.graph.isRelativeUrl(Z)&&(Z=null!=O?O+Z:window.location.protocol+"//"+window.location.hostname+("/"==Z.charAt(0)?"":k)+Z);t.push('url("'+Z+'"'+I[X].substring(R))}else t.push(I[X])}else t=
-[k]}return null!=t?t.join(""):null};Editor.prototype.mapFontUrl=function(k,t,I){/^https?:\/\//.test(t)&&!this.isCorsEnabledForUrl(t)&&(t=PROXY_URL+"?url="+encodeURIComponent(t));I(k,t)};Editor.prototype.embedCssFonts=function(k,t){var I=k.split("url("),R=0;null==this.cachedFonts&&(this.cachedFonts={});var O=mxUtils.bind(this,function(){if(0==R){for(var la=[I[0]],qa=1;qa<I.length;qa++){var pa=I[qa].indexOf(")");la.push('url("');la.push(this.cachedFonts[Editor.trimCssUrl(I[qa].substring(0,pa))]);la.push('"'+
-I[qa].substring(pa))}t(la.join(""))}});if(0<I.length){for(k=1;k<I.length;k++){var X=I[k].indexOf(")"),Z=null,ba=I[k].indexOf("format(",X);0<ba&&(Z=Editor.trimCssUrl(I[k].substring(ba+7,I[k].indexOf(")",ba))));mxUtils.bind(this,function(la){if(null==this.cachedFonts[la]){this.cachedFonts[la]=la;R++;var qa="application/x-font-ttf";if("svg"==Z||/(\.svg)($|\?)/i.test(la))qa="image/svg+xml";else if("otf"==Z||"embedded-opentype"==Z||/(\.otf)($|\?)/i.test(la))qa="application/x-font-opentype";else if("woff"==
-Z||/(\.woff)($|\?)/i.test(la))qa="application/font-woff";else if("woff2"==Z||/(\.woff2)($|\?)/i.test(la))qa="application/font-woff2";else if("eot"==Z||/(\.eot)($|\?)/i.test(la))qa="application/vnd.ms-fontobject";else if("sfnt"==Z||/(\.sfnt)($|\?)/i.test(la))qa="application/font-sfnt";this.mapFontUrl(qa,la,mxUtils.bind(this,function(pa,ra){this.loadUrl(ra,mxUtils.bind(this,function(ua){this.cachedFonts[la]=ua;R--;O()}),mxUtils.bind(this,function(ua){R--;O()}),!0,null,"data:"+pa+";charset=utf-8;base64,")}))}})(Editor.trimCssUrl(I[k].substring(0,
+[k]}return null!=t?t.join(""):null};Editor.prototype.mapFontUrl=function(k,t,I){/^https?:\/\//.test(t)&&!this.isCorsEnabledForUrl(t)&&(t=PROXY_URL+"?url="+encodeURIComponent(t));I(k,t)};Editor.prototype.embedCssFonts=function(k,t){var I=k.split("url("),R=0;null==this.cachedFonts&&(this.cachedFonts={});var O=mxUtils.bind(this,function(){if(0==R){for(var ka=[I[0]],qa=1;qa<I.length;qa++){var pa=I[qa].indexOf(")");ka.push('url("');ka.push(this.cachedFonts[Editor.trimCssUrl(I[qa].substring(0,pa))]);ka.push('"'+
+I[qa].substring(pa))}t(ka.join(""))}});if(0<I.length){for(k=1;k<I.length;k++){var X=I[k].indexOf(")"),Z=null,ba=I[k].indexOf("format(",X);0<ba&&(Z=Editor.trimCssUrl(I[k].substring(ba+7,I[k].indexOf(")",ba))));mxUtils.bind(this,function(ka){if(null==this.cachedFonts[ka]){this.cachedFonts[ka]=ka;R++;var qa="application/x-font-ttf";if("svg"==Z||/(\.svg)($|\?)/i.test(ka))qa="image/svg+xml";else if("otf"==Z||"embedded-opentype"==Z||/(\.otf)($|\?)/i.test(ka))qa="application/x-font-opentype";else if("woff"==
+Z||/(\.woff)($|\?)/i.test(ka))qa="application/font-woff";else if("woff2"==Z||/(\.woff2)($|\?)/i.test(ka))qa="application/font-woff2";else if("eot"==Z||/(\.eot)($|\?)/i.test(ka))qa="application/vnd.ms-fontobject";else if("sfnt"==Z||/(\.sfnt)($|\?)/i.test(ka))qa="application/font-sfnt";this.mapFontUrl(qa,ka,mxUtils.bind(this,function(pa,ra){this.loadUrl(ra,mxUtils.bind(this,function(ua){this.cachedFonts[ka]=ua;R--;O()}),mxUtils.bind(this,function(ua){R--;O()}),!0,null,"data:"+pa+";charset=utf-8;base64,")}))}})(Editor.trimCssUrl(I[k].substring(0,
X)),Z)}O()}else t(k)};Editor.prototype.loadFonts=function(k){null!=this.fontCss&&null==this.resolvedFontCss?this.embedCssFonts(this.fontCss,mxUtils.bind(this,function(t){this.resolvedFontCss=t;null!=k&&k()})):null!=k&&k()};Editor.prototype.createGoogleFontCache=function(){var k={},t;for(t in Graph.fontMapping)Graph.isCssFontUrl(t)&&(k[t]=Graph.fontMapping[t]);return k};Editor.prototype.embedExtFonts=function(k){var t=this.graph.getCustomFonts();if(0<t.length){var I=[],R=0;null==this.cachedGoogleFonts&&
-(this.cachedGoogleFonts=this.createGoogleFontCache());for(var O=mxUtils.bind(this,function(){0==R&&this.embedCssFonts(I.join(""),k)}),X=0;X<t.length;X++)mxUtils.bind(this,function(Z,ba){Graph.isCssFontUrl(ba)?null==this.cachedGoogleFonts[ba]?(R++,this.loadUrl(Graph.rewriteGoogleFontUrl(ba),mxUtils.bind(this,function(la){this.cachedGoogleFonts[ba]=la;I.push(la+"\n");R--;O()}),mxUtils.bind(this,function(la){R--;I.push("@import url("+ba+");\n");O()}))):I.push(this.cachedGoogleFonts[ba]+"\n"):I.push('@font-face {font-family: "'+
+(this.cachedGoogleFonts=this.createGoogleFontCache());for(var O=mxUtils.bind(this,function(){0==R&&this.embedCssFonts(I.join(""),k)}),X=0;X<t.length;X++)mxUtils.bind(this,function(Z,ba){Graph.isCssFontUrl(ba)?null==this.cachedGoogleFonts[ba]?(R++,this.loadUrl(Graph.rewriteGoogleFontUrl(ba),mxUtils.bind(this,function(ka){this.cachedGoogleFonts[ba]=ka;I.push(ka+"\n");R--;O()}),mxUtils.bind(this,function(ka){R--;I.push("@import url("+ba+");\n");O()}))):I.push(this.cachedGoogleFonts[ba]+"\n"):I.push('@font-face {font-family: "'+
Z+'";src: url("'+ba+'")}\n')})(t[X].name,t[X].url);O()}else k()};Editor.prototype.addMathCss=function(k){k=k.getElementsByTagName("defs");if(null!=k&&0<k.length)for(var t=document.getElementsByTagName("style"),I=0;I<t.length;I++){var R=mxUtils.getTextContent(t[I]);0>R.indexOf("mxPageSelector")&&0<R.indexOf("MathJax")&&k[0].appendChild(t[I].cloneNode(!0))}};Editor.prototype.addFontCss=function(k,t){t=null!=t?t:this.absoluteCssFonts(this.fontCss);if(null!=t){var I=mxUtils.getSvgDefs(k),R=t.split("\n");
t=[];for(var O=[],X=0;X<R.length;X++)"@import"==R[X].substring(0,7)?t.push(R[X]):O.push(R[X]);k=k.ownerDocument;k=null!=k.createElementNS?k.createElementNS(mxConstants.NS_SVG,"style"):k.createElement("style");k.setAttribute("type","text/css");0<t.length&&(mxUtils.setTextContent(k,t.join("\n")),I.appendChild(k));0<O.length&&(k=k.cloneNode(!1),mxUtils.setTextContent(k,O.join("\n")),I.appendChild(k))}};Editor.prototype.isExportToCanvas=function(){return mxClient.IS_CHROMEAPP||this.useCanvasForExport};
-Editor.prototype.getMaxCanvasScale=function(k,t,I){var R=mxClient.IS_FF?8192:16384;return Math.min(I,Math.min(R/k,R/t))};Editor.prototype.exportToCanvas=function(k,t,I,R,O,X,Z,ba,la,qa,pa,ra,ua,Ba,ya,Aa,Na,va){try{X=null!=X?X:!0;Z=null!=Z?Z:!0;ra=null!=ra?ra:this.graph;ua=null!=ua?ua:0;var Da=la?null:ra.background;Da==mxConstants.NONE&&(Da=null);null==Da&&(Da=R);null==Da&&0==la&&(Da="dark"==Aa?Editor.darkColor:"#ffffff");this.convertImages(ra.getSvg(null,null,ua,Ba,null,Z,null,null,null,qa,null,Aa,
-Na,va),mxUtils.bind(this,function(Ha){try{var La=new Image;La.onload=mxUtils.bind(this,function(){try{var za=function(){mxClient.IS_SF?window.setTimeout(function(){Ma.drawImage(La,0,0);k(Ra,Ha)},0):(Ma.drawImage(La,0,0),k(Ra,Ha))},Ra=document.createElement("canvas"),Ja=parseInt(Ha.getAttribute("width")),Qa=parseInt(Ha.getAttribute("height"));ba=null!=ba?ba:1;null!=t&&(ba=X?Math.min(1,Math.min(3*t/(4*Qa),t/Ja)):t/Ja);ba=this.getMaxCanvasScale(Ja,Qa,ba);Ja=Math.ceil(ba*Ja);Qa=Math.ceil(ba*Qa);Ra.setAttribute("width",
-Ja);Ra.setAttribute("height",Qa);var Ma=Ra.getContext("2d");null!=Da&&(Ma.beginPath(),Ma.rect(0,0,Ja,Qa),Ma.fillStyle=Da,Ma.fill());1!=ba&&Ma.scale(ba,ba);if(ya){var u=ra.view,N=u.scale;u.scale=1;var Q=btoa(unescape(encodeURIComponent(u.createSvgGrid(u.gridColor))));u.scale=N;Q="data:image/svg+xml;base64,"+Q;var Y=ra.gridSize*u.gridSteps*ba,ia=ra.getGraphBounds(),ja=u.translate.x*N,oa=u.translate.y*N,ta=ja+(ia.x-ja)/N-ua,sa=oa+(ia.y-oa)/N-ua,xa=new Image;xa.onload=function(){try{for(var Ca=-Math.round(Y-
-mxUtils.mod((ja-ta)*ba,Y)),Oa=-Math.round(Y-mxUtils.mod((oa-sa)*ba,Y));Ca<Ja;Ca+=Y)for(var Wa=Oa;Wa<Qa;Wa+=Y)Ma.drawImage(xa,Ca/ba,Wa/ba);za()}catch(Za){null!=O&&O(Za)}};xa.onerror=function(Ca){null!=O&&O(Ca)};xa.src=Q}else za()}catch(Ca){null!=O&&O(Ca)}});La.onerror=function(za){null!=O&&O(za)};qa&&this.graph.addSvgShadow(Ha);this.graph.mathEnabled&&this.addMathCss(Ha);var Ea=mxUtils.bind(this,function(){try{null!=this.resolvedFontCss&&this.addFontCss(Ha,this.resolvedFontCss),La.src=Editor.createSvgDataUri(mxUtils.getXml(Ha))}catch(za){null!=
-O&&O(za)}});this.embedExtFonts(mxUtils.bind(this,function(za){try{null!=za&&this.addFontCss(Ha,za),this.loadFonts(Ea)}catch(Ra){null!=O&&O(Ra)}}))}catch(za){null!=O&&O(za)}}),I,pa)}catch(Ha){null!=O&&O(Ha)}};Editor.crcTable=[];for(var v=0;256>v;v++)for(var q=v,C=0;8>C;C++)q=1==(q&1)?3988292384^q>>>1:q>>>1,Editor.crcTable[v]=q;Editor.updateCRC=function(k,t,I,R){for(var O=0;O<R;O++)k=Editor.crcTable[(k^t.charCodeAt(I+O))&255]^k>>>8;return k};Editor.crc32=function(k){for(var t=-1,I=0;I<k.length;I++)t=
-t>>>8^Editor.crcTable[(t^k.charCodeAt(I))&255];return(t^-1)>>>0};Editor.writeGraphModelToPng=function(k,t,I,R,O){function X(pa,ra){var ua=la;la+=ra;return pa.substring(ua,la)}function Z(pa){pa=X(pa,4);return pa.charCodeAt(3)+(pa.charCodeAt(2)<<8)+(pa.charCodeAt(1)<<16)+(pa.charCodeAt(0)<<24)}function ba(pa){return String.fromCharCode(pa>>24&255,pa>>16&255,pa>>8&255,pa&255)}k=k.substring(k.indexOf(",")+1);k=window.atob?atob(k):Base64.decode(k,!0);var la=0;if(X(k,8)!=String.fromCharCode(137)+"PNG"+
-String.fromCharCode(13,10,26,10))null!=O&&O();else if(X(k,4),"IHDR"!=X(k,4))null!=O&&O();else{X(k,17);O=k.substring(0,la);do{var qa=Z(k);if("IDAT"==X(k,4)){O=k.substring(0,la-8);"pHYs"==t&&"dpi"==I?(I=Math.round(R/.0254),I=ba(I)+ba(I)+String.fromCharCode(1)):I=I+String.fromCharCode(0)+("zTXt"==t?String.fromCharCode(0):"")+R;R=4294967295;R=Editor.updateCRC(R,t,0,4);R=Editor.updateCRC(R,I,0,I.length);O+=ba(I.length)+t+I+ba(R^4294967295);O+=k.substring(la-8,k.length);break}O+=k.substring(la-8,la-4+qa);
+Editor.prototype.getMaxCanvasScale=function(k,t,I){var R=mxClient.IS_FF?8192:16384;return Math.min(I,Math.min(R/k,R/t))};Editor.prototype.exportToCanvas=function(k,t,I,R,O,X,Z,ba,ka,qa,pa,ra,ua,Ba,xa,Aa,Na,va){try{X=null!=X?X:!0;Z=null!=Z?Z:!0;ra=null!=ra?ra:this.graph;ua=null!=ua?ua:0;var Ca=ka?null:ra.background;Ca==mxConstants.NONE&&(Ca=null);null==Ca&&(Ca=R);null==Ca&&0==ka&&(Ca="dark"==Aa?Editor.darkColor:"#ffffff");this.convertImages(ra.getSvg(null,null,ua,Ba,null,Z,null,null,null,qa,null,Aa,
+Na,va),mxUtils.bind(this,function(Ga){try{var La=new Image;La.onload=mxUtils.bind(this,function(){try{var za=function(){mxClient.IS_SF?window.setTimeout(function(){Ma.drawImage(La,0,0);k(Ra,Ga)},0):(Ma.drawImage(La,0,0),k(Ra,Ga))},Ra=document.createElement("canvas"),Ja=parseInt(Ga.getAttribute("width")),Qa=parseInt(Ga.getAttribute("height"));ba=null!=ba?ba:1;null!=t&&(ba=X?Math.min(1,Math.min(3*t/(4*Qa),t/Ja)):t/Ja);ba=this.getMaxCanvasScale(Ja,Qa,ba);Ja=Math.ceil(ba*Ja);Qa=Math.ceil(ba*Qa);Ra.setAttribute("width",
+Ja);Ra.setAttribute("height",Qa);var Ma=Ra.getContext("2d");null!=Ca&&(Ma.beginPath(),Ma.rect(0,0,Ja,Qa),Ma.fillStyle=Ca,Ma.fill());1!=ba&&Ma.scale(ba,ba);if(xa){var u=ra.view,N=u.scale;u.scale=1;var Q=btoa(unescape(encodeURIComponent(u.createSvgGrid(u.gridColor))));u.scale=N;Q="data:image/svg+xml;base64,"+Q;var Y=ra.gridSize*u.gridSteps*ba,ia=ra.getGraphBounds(),la=u.translate.x*N,oa=u.translate.y*N,ta=la+(ia.x-la)/N-ua,sa=oa+(ia.y-oa)/N-ua,ya=new Image;ya.onload=function(){try{for(var Ha=-Math.round(Y-
+mxUtils.mod((la-ta)*ba,Y)),Oa=-Math.round(Y-mxUtils.mod((oa-sa)*ba,Y));Ha<Ja;Ha+=Y)for(var Wa=Oa;Wa<Qa;Wa+=Y)Ma.drawImage(ya,Ha/ba,Wa/ba);za()}catch(Za){null!=O&&O(Za)}};ya.onerror=function(Ha){null!=O&&O(Ha)};ya.src=Q}else za()}catch(Ha){null!=O&&O(Ha)}});La.onerror=function(za){null!=O&&O(za)};qa&&this.graph.addSvgShadow(Ga);this.graph.mathEnabled&&this.addMathCss(Ga);var Da=mxUtils.bind(this,function(){try{null!=this.resolvedFontCss&&this.addFontCss(Ga,this.resolvedFontCss),La.src=Editor.createSvgDataUri(mxUtils.getXml(Ga))}catch(za){null!=
+O&&O(za)}});this.embedExtFonts(mxUtils.bind(this,function(za){try{null!=za&&this.addFontCss(Ga,za),this.loadFonts(Da)}catch(Ra){null!=O&&O(Ra)}}))}catch(za){null!=O&&O(za)}}),I,pa)}catch(Ga){null!=O&&O(Ga)}};Editor.crcTable=[];for(var v=0;256>v;v++)for(var q=v,C=0;8>C;C++)q=1==(q&1)?3988292384^q>>>1:q>>>1,Editor.crcTable[v]=q;Editor.updateCRC=function(k,t,I,R){for(var O=0;O<R;O++)k=Editor.crcTable[(k^t.charCodeAt(I+O))&255]^k>>>8;return k};Editor.crc32=function(k){for(var t=-1,I=0;I<k.length;I++)t=
+t>>>8^Editor.crcTable[(t^k.charCodeAt(I))&255];return(t^-1)>>>0};Editor.writeGraphModelToPng=function(k,t,I,R,O){function X(pa,ra){var ua=ka;ka+=ra;return pa.substring(ua,ka)}function Z(pa){pa=X(pa,4);return pa.charCodeAt(3)+(pa.charCodeAt(2)<<8)+(pa.charCodeAt(1)<<16)+(pa.charCodeAt(0)<<24)}function ba(pa){return String.fromCharCode(pa>>24&255,pa>>16&255,pa>>8&255,pa&255)}k=k.substring(k.indexOf(",")+1);k=window.atob?atob(k):Base64.decode(k,!0);var ka=0;if(X(k,8)!=String.fromCharCode(137)+"PNG"+
+String.fromCharCode(13,10,26,10))null!=O&&O();else if(X(k,4),"IHDR"!=X(k,4))null!=O&&O();else{X(k,17);O=k.substring(0,ka);do{var qa=Z(k);if("IDAT"==X(k,4)){O=k.substring(0,ka-8);"pHYs"==t&&"dpi"==I?(I=Math.round(R/.0254),I=ba(I)+ba(I)+String.fromCharCode(1)):I=I+String.fromCharCode(0)+("zTXt"==t?String.fromCharCode(0):"")+R;R=4294967295;R=Editor.updateCRC(R,t,0,4);R=Editor.updateCRC(R,I,0,I.length);O+=ba(I.length)+t+I+ba(R^4294967295);O+=k.substring(ka-8,k.length);break}O+=k.substring(ka-8,ka-4+qa);
X(k,qa);X(k,4)}while(qa);return"data:image/png;base64,"+(window.btoa?btoa(O):Base64.encode(O,!0))}};if(window.ColorDialog){FilenameDialog.filenameHelpLink="https://www.drawio.com/doc/faq/save-file-formats";var H=ColorDialog.addRecentColor;ColorDialog.addRecentColor=function(k,t){H.apply(this,arguments);mxSettings.setRecentColors(ColorDialog.recentColors);mxSettings.save()};var U=ColorDialog.resetRecentColors;ColorDialog.resetRecentColors=function(){U.apply(this,arguments);mxSettings.setRecentColors(ColorDialog.recentColors);
mxSettings.save()}}"undefined"!==typeof window.EditDataDialog&&(EditDataDialog.getDisplayIdForCell=function(k,t){var I=null;null!=k.editor.graph.getModel().getParent(t)?I=t.getId():null!=k.currentPage&&(I=k.currentPage.getId());return I});if(null!=window.StyleFormatPanel){var F=Format.prototype.init;Format.prototype.init=function(){F.apply(this,arguments);this.editorUi.editor.addListener("fileLoaded",this.update)};var K=Format.prototype.refresh;Format.prototype.refresh=function(){null!=this.editorUi.getCurrentFile()||
"1"==urlParams.embed||this.editorUi.editor.chromeless?K.apply(this,arguments):this.clear()};DiagramFormatPanel.prototype.isMathOptionVisible=function(k){return"simple"==Editor.currentTheme||"sketch"==Editor.currentTheme||"min"==Editor.currentTheme};var S=DiagramFormatPanel.prototype.addOptions;DiagramFormatPanel.prototype.addOptions=function(k){k=S.apply(this,arguments);var t=this.editorUi,I=t.editor.graph;if(I.isEnabled()){var R=t.getCurrentFile();null!=R&&R.isAutosaveOptional()&&k.appendChild(this.createOption(mxResources.get("autosave"),
@@ -3329,38 +3327,38 @@ defVal:"none",enumList:[{val:"none",dispName:"Default"},{val:"umlActor",dispName
stroke:"#3700CC",font:"#ffffff"},{fill:"#d80073",stroke:"#A50040",font:"#ffffff"},{fill:"#a20025",stroke:"#6F0000",font:"#ffffff"}],[{fill:"#e51400",stroke:"#B20000",font:"#ffffff"},{fill:"#fa6800",stroke:"#C73500",font:"#000000"},{fill:"#f0a30a",stroke:"#BD7000",font:"#000000"},{fill:"#e3c800",stroke:"#B09500",font:"#000000"},{fill:"#6d8764",stroke:"#3A5431",font:"#ffffff"},{fill:"#647687",stroke:"#314354",font:"#ffffff"},{fill:"#76608a",stroke:"#432D57",font:"#ffffff"},{fill:"#a0522d",stroke:"#6D1F00",
font:"#ffffff"}],[{fill:"",stroke:""},{fill:mxConstants.NONE,stroke:""},{fill:"#fad7ac",stroke:"#b46504"},{fill:"#fad9d5",stroke:"#ae4132"},{fill:"#b0e3e6",stroke:"#0e8088"},{fill:"#b1ddf0",stroke:"#10739e"},{fill:"#d0cee2",stroke:"#56517e"},{fill:"#bac8d3",stroke:"#23445d"}],[{fill:"",stroke:""},{fill:"#f5f5f5",stroke:"#666666",gradient:"#b3b3b3"},{fill:"#dae8fc",stroke:"#6c8ebf",gradient:"#7ea6e0"},{fill:"#d5e8d4",stroke:"#82b366",gradient:"#97d077"},{fill:"#ffcd28",stroke:"#d79b00",gradient:"#ffa500"},
{fill:"#fff2cc",stroke:"#d6b656",gradient:"#ffd966"},{fill:"#f8cecc",stroke:"#b85450",gradient:"#ea6b66"},{fill:"#e6d0de",stroke:"#996185",gradient:"#d5739d"}],[{fill:"",stroke:""},{fill:"#eeeeee",stroke:"#36393d"},{fill:"#f9f7ed",stroke:"#36393d"},{fill:"#ffcc99",stroke:"#36393d"},{fill:"#cce5ff",stroke:"#36393d"},{fill:"#ffff88",stroke:"#36393d"},{fill:"#cdeb8b",stroke:"#36393d"},{fill:"#ffcccc",stroke:"#36393d"}]];StyleFormatPanel.prototype.customColorSchemes=null;StyleFormatPanel.prototype.findCommonProperties=
-function(k,t,I){if(null!=t){var R=function(X){if(null!=X)if(I)for(var Z=0;Z<X.length;Z++)t[X[Z].name]=X[Z];else for(var ba in t){var la=!1;for(Z=0;Z<X.length;Z++)if(X[Z].name==ba&&X[Z].type==t[ba].type){la=!0;break}la||delete t[ba]}},O=this.editorUi.editor.graph.view.getState(k);null!=O&&null!=O.shape&&(O.shape.commonCustomPropAdded||(O.shape.commonCustomPropAdded=!0,O.shape.customProperties=O.shape.customProperties||[],O.cell.vertex?Array.prototype.push.apply(O.shape.customProperties,Editor.commonVertexProperties):
+function(k,t,I){if(null!=t){var R=function(X){if(null!=X)if(I)for(var Z=0;Z<X.length;Z++)t[X[Z].name]=X[Z];else for(var ba in t){var ka=!1;for(Z=0;Z<X.length;Z++)if(X[Z].name==ba&&X[Z].type==t[ba].type){ka=!0;break}ka||delete t[ba]}},O=this.editorUi.editor.graph.view.getState(k);null!=O&&null!=O.shape&&(O.shape.commonCustomPropAdded||(O.shape.commonCustomPropAdded=!0,O.shape.customProperties=O.shape.customProperties||[],O.cell.vertex?Array.prototype.push.apply(O.shape.customProperties,Editor.commonVertexProperties):
Array.prototype.push.apply(O.shape.customProperties,Editor.commonEdgeProperties)),R(O.shape.customProperties));k=k.getAttribute("customProperties");if(null!=k)try{R(JSON.parse(k))}catch(X){}}};var W=StyleFormatPanel.prototype.init;StyleFormatPanel.prototype.init=function(){var k=this.editorUi.getSelectionState();null!=this.defaultColorSchemes&&0<this.defaultColorSchemes.length&&"image"!=k.style.shape&&!k.containsLabel&&0<k.cells.length&&this.container.appendChild(this.addStyles(this.createPanel()));
W.apply(this,arguments);if(Editor.enableCustomProperties){for(var t={},I=k.vertices,R=k.edges,O=0;O<I.length;O++)this.findCommonProperties(I[O],t,0==O);for(O=0;O<R.length;O++)this.findCommonProperties(R[O],t,0==I.length&&0==O);null!=Object.getOwnPropertyNames&&0<Object.getOwnPropertyNames(t).length&&this.container.appendChild(this.addProperties(this.createPanel(),t,k))}};var c=StyleFormatPanel.prototype.addStyleOps;StyleFormatPanel.prototype.addStyleOps=function(k){var t=this.editorUi.getSelectionState();
-1==t.cells.length?this.addActions(k,["copyStyle","pasteStyle"]):1<=t.cells.length&&this.addActions(k,["pasteStyle","pasteData"]);c.apply(this,arguments);return k};EditorUi.prototype.propertiesCollapsed=!0;BaseFormatPanel.prototype.addProperties=function(k,t,I,R){function O(Ma,u,N,Q,Y){if(null!=N.valueChanged)N.valueChanged(u,Y);else{ua.getModel().beginUpdate();try{Y=[];var ia=[];if(null!=N.index){for(var ja=[],oa=N.parentRow.nextSibling;oa&&oa.getAttribute("data-pName")==Ma;)ja.push(oa.getAttribute("data-pValue")),
-oa=oa.nextSibling;N.index<ja.length?null!=Q?ja.splice(Q,1):ja[N.index]=u:ja.push(u);null!=N.size&&ja.length>N.size&&(ja=ja.slice(0,N.size));u=ja.join(",");null!=N.countProperty&&(ua.setCellStyles(N.countProperty,ja.length,ua.getSelectionCells()),Y.push(N.countProperty),ia.push(ja.length))}ua.setCellStyles(Ma,u,ua.getSelectionCells());Y.push(Ma);ia.push(u);if(null!=N.dependentProps)for(Ma=0;Ma<N.dependentProps.length;Ma++){var ta=N.dependentPropsDefVal[Ma],sa=N.dependentPropsVals[Ma];if(sa.length>
-u)sa=sa.slice(0,u);else for(var xa=sa.length;xa<u;xa++)sa.push(ta);sa=sa.join(",");ua.setCellStyles(N.dependentProps[Ma],sa,ua.getSelectionCells());Y.push(N.dependentProps[Ma]);ia.push(sa)}if("function"==typeof N.onChange)N.onChange(ua,u);ra.editorUi.fireEvent(new mxEventObject("styleChanged","keys",Y,"values",ia,"cells",ua.getSelectionCells()))}finally{ua.getModel().endUpdate()}}}function X(Ma,u,N){var Q=mxUtils.getOffset(k,!0),Y=mxUtils.getOffset(Ma,!0);u.style.position="absolute";u.style.left=
+1==t.cells.length?this.addActions(k,["copyStyle","pasteStyle"]):1<=t.cells.length&&this.addActions(k,["pasteStyle","pasteData"]);c.apply(this,arguments);return k};EditorUi.prototype.propertiesCollapsed=!0;BaseFormatPanel.prototype.addProperties=function(k,t,I,R){function O(Ma,u,N,Q,Y){if(null!=N.valueChanged)N.valueChanged(u,Y);else{ua.getModel().beginUpdate();try{Y=[];var ia=[];if(null!=N.index){for(var la=[],oa=N.parentRow.nextSibling;oa&&oa.getAttribute("data-pName")==Ma;)la.push(oa.getAttribute("data-pValue")),
+oa=oa.nextSibling;N.index<la.length?null!=Q?la.splice(Q,1):la[N.index]=u:la.push(u);null!=N.size&&la.length>N.size&&(la=la.slice(0,N.size));u=la.join(",");null!=N.countProperty&&(ua.setCellStyles(N.countProperty,la.length,ua.getSelectionCells()),Y.push(N.countProperty),ia.push(la.length))}ua.setCellStyles(Ma,u,ua.getSelectionCells());Y.push(Ma);ia.push(u);if(null!=N.dependentProps)for(Ma=0;Ma<N.dependentProps.length;Ma++){var ta=N.dependentPropsDefVal[Ma],sa=N.dependentPropsVals[Ma];if(sa.length>
+u)sa=sa.slice(0,u);else for(var ya=sa.length;ya<u;ya++)sa.push(ta);sa=sa.join(",");ua.setCellStyles(N.dependentProps[Ma],sa,ua.getSelectionCells());Y.push(N.dependentProps[Ma]);ia.push(sa)}if("function"==typeof N.onChange)N.onChange(ua,u);ra.editorUi.fireEvent(new mxEventObject("styleChanged","keys",Y,"values",ia,"cells",ua.getSelectionCells()))}finally{ua.getModel().endUpdate()}}}function X(Ma,u,N){var Q=mxUtils.getOffset(k,!0),Y=mxUtils.getOffset(Ma,!0);u.style.position="absolute";u.style.left=
Y.x-Q.x+"px";u.style.top=Y.y-Q.y+"px";u.style.width=Ma.offsetWidth+"px";u.style.height=Ma.offsetHeight-(N?4:0)+"px";u.style.zIndex=5}function Z(Ma,u,N){var Q=document.createElement("div");Q.style.width="32px";Q.style.height="4px";Q.style.margin="2px";Q.style.border="1px solid black";Q.style.background=u&&"none"!=u?u:"url('"+Dialog.prototype.noColorImage+"')";btn=mxUtils.button("",mxUtils.bind(ra,function(Y){this.editorUi.pickColor(u,function(ia){Q.style.background="none"==ia?"url('"+Dialog.prototype.noColorImage+
-"')":ia;O(Ma,ia,N)});mxEvent.consume(Y)}));btn.style.height="12px";btn.style.width="40px";btn.className="geColorBtn";btn.appendChild(Q);return btn}function ba(Ma,u,N,Q,Y,ia,ja){null!=u&&(u=u.split(","),Ba.push({name:Ma,values:u,type:N,defVal:Q,countProperty:Y,parentRow:ia,isDeletable:!0,flipBkg:ja}));btn=mxUtils.button("+",mxUtils.bind(ra,function(oa){for(var ta=ia,sa=0;null!=ta.nextSibling;)if(ta.nextSibling.getAttribute("data-pName")==Ma)ta=ta.nextSibling,sa++;else break;var xa={type:N,parentRow:ia,
-index:sa,isDeletable:!0,defVal:Q,countProperty:Y};sa=pa(Ma,"",xa,0==sa%2,ja);O(Ma,Q,xa);ta.parentNode.insertBefore(sa,ta.nextSibling);mxEvent.consume(oa)}));btn.style.height="16px";btn.style.width="25px";btn.className="geColorBtn";return btn}function la(Ma,u,N,Q,Y,ia,ja){if(0<Y){var oa=Array(Y);u=null!=u?u.split(","):[];for(var ta=0;ta<Y;ta++)oa[ta]=null!=u[ta]?u[ta]:null!=Q?Q:"";Ba.push({name:Ma,values:oa,type:N,defVal:Q,parentRow:ia,flipBkg:ja,size:Y})}return document.createElement("div")}function qa(Ma,
-u,N){var Q=document.createElement("input");Q.type="checkbox";Q.checked="1"==u;mxEvent.addListener(Q,"change",function(){O(Ma,Q.checked?"1":"0",N)});return Q}function pa(Ma,u,N,Q,Y){var ia=N.dispName,ja=N.type,oa=document.createElement("tr");oa.className="gePropRow"+(Y?"Dark":"")+(Q?"Alt":"")+" gePropNonHeaderRow";oa.setAttribute("data-pName",Ma);oa.setAttribute("data-pValue",u);Q=!1;null!=N.index&&(oa.setAttribute("data-index",N.index),ia=(null!=ia?ia:"")+"["+N.index+"]",Q=!0);var ta=document.createElement("td");
-ta.className="gePropRowCell";ia=mxResources.get(ia,null,ia);mxUtils.write(ta,ia);ta.setAttribute("title",ia);Q&&(ta.style.textAlign="right");oa.appendChild(ta);ta=document.createElement("td");ta.className="gePropRowCell";ta.setAttribute("title",null!=u?u:mxResources.get("none"));if("color"==ja)ta.appendChild(Z(Ma,u,N));else if("bool"==ja||"boolean"==ja)ta.appendChild(qa(Ma,u,N));else if("enum"==ja){var sa=N.enumList;for(Y=0;Y<sa.length;Y++)if(ia=sa[Y],ia.val==u){mxUtils.write(ta,mxResources.get(ia.dispName,
-null,ia.dispName));break}mxEvent.addListener(ta,"click",mxUtils.bind(ra,function(){var xa=document.createElement("select"),Ca=null;X(ta,xa);for(var Oa=0;Oa<sa.length;Oa++){var Wa=sa[Oa],Za=document.createElement("option");Za.value=mxUtils.htmlEntities(Wa.val);mxUtils.write(Za,mxResources.get(Wa.dispName,null,Wa.dispName));xa.appendChild(Za);null==Wa.val&&(Za.value="null",Ca=Za)}xa.value=null==u&&null!=Ca?"null":u;k.appendChild(xa);mxEvent.addListener(xa,"change",function(){var ab=mxUtils.htmlEntities(xa.value);
-if(xa[xa.selectedIndex]==Ca||"null"==ab.value)ab=null;O(Ma,ab,N)});xa.focus();mxEvent.addListener(xa,"blur",function(){k.removeChild(xa)})}))}else"dynamicArr"==ja?ta.appendChild(ba(Ma,u,N.subType,N.subDefVal,N.countProperty,oa,Y)):"staticArr"==ja?ta.appendChild(la(Ma,u,N.subType,N.subDefVal,N.size,oa,Y)):"readOnly"==ja?(Y=document.createElement("input"),Y.setAttribute("readonly",""),Y.value=u,Y.style.borderWidth="0px","id"==Ma?(Y.style.width="190px",Y.style.position="relative",Y.style.right="6px",
-Y.style.float="right",Y.style.background="none",Y.style.textAlign="right",oa.firstChild.setAttribute("colspan","2"),Y.setAttribute("title",u),oa.firstChild.appendChild(Y)):(Y.style.width="96px",ta.appendChild(Y))):(ta.innerHTML=mxUtils.htmlEntities(decodeURIComponent(u)),mxEvent.addListener(ta,"click",mxUtils.bind(ra,function(){function xa(){var Oa=Ca.value;Oa=0==Oa.length&&"string"!=ja&&"numbers"!=ja?0:Oa;N.allowAuto&&(null!=Oa.trim&&"auto"==Oa.trim().toLowerCase()?(Oa="auto",ja="string"):(Oa=parseFloat(Oa),
-Oa=isNaN(Oa)?0:Oa));null!=N.min&&Oa<N.min?Oa=N.min:null!=N.max&&Oa>N.max&&(Oa=N.max);var Wa=null;try{Wa="numbers"==ja?Oa.match(/\d+/g).map(Number).join(" "):encodeURIComponent(("int"==ja?parseInt(Oa):Oa)+"")}catch(Za){}O(Ma,Wa,N,null,Ca)}var Ca=document.createElement("input");X(ta,Ca,!0);Ca.value=decodeURIComponent(u);Ca.className="gePropEditor";"int"!=ja&&"float"!=ja||N.allowAuto||(Ca.type="number",Ca.step="int"==ja?"1":"any",null!=N.min&&(Ca.min=parseFloat(N.min)),null!=N.max&&(Ca.max=parseFloat(N.max)));
-k.appendChild(Ca);mxEvent.addListener(Ca,"keypress",function(Oa){13==Oa.keyCode&&xa()});Ca.focus();mxEvent.addListener(Ca,"blur",function(){xa()})})));N.isDeletable&&(Y=mxUtils.button("-",mxUtils.bind(ra,function(xa){O(Ma,"",N,N.index);mxEvent.consume(xa)})),Y.style.height="16px",Y.style.width="25px",Y.style.float="right",Y.className="geColorBtn",ta.appendChild(Y));oa.appendChild(ta);return oa}var ra=this,ua=this.editorUi.editor.graph,Ba=[];k.style.position="relative";k.style.padding="0";var ya=document.createElement("table");
-ya.className="geProperties";ya.style.whiteSpace="nowrap";ya.style.width="100%";var Aa=document.createElement("tr");Aa.className="gePropHeader";var Na=document.createElement("th");Na.className="gePropHeaderCell";var va=document.createElement("img");va.src=Sidebar.prototype.expandedImage;va.style.verticalAlign="middle";Na.appendChild(va);mxUtils.write(Na,mxResources.get("property"));Aa.style.cursor="pointer";var Da=function(){var Ma=ya.querySelectorAll(".gePropNonHeaderRow");if(ra.editorUi.propertiesCollapsed){va.src=
-Sidebar.prototype.collapsedImage;var u="none";for(var N=k.childNodes.length-1;0<=N;N--)try{var Q=k.childNodes[N],Y=Q.nodeName.toUpperCase();"INPUT"!=Y&&"SELECT"!=Y||k.removeChild(Q)}catch(ia){}}else va.src=Sidebar.prototype.expandedImage,u="";for(N=0;N<Ma.length;N++)Ma[N].style.display=u};mxEvent.addListener(Aa,"click",function(){ra.editorUi.propertiesCollapsed=!ra.editorUi.propertiesCollapsed;Da()});Aa.appendChild(Na);Na=document.createElement("th");Na.className="gePropHeaderCell";Na.innerHTML=mxResources.get("value");
-Aa.appendChild(Na);ya.appendChild(Aa);var Ha=Na=!1;Aa=null;1==I.vertices.length&&0==I.edges.length?Aa=I.vertices[0].id:0==I.vertices.length&&1==I.edges.length&&(Aa=I.edges[0].id);null==Aa||R||ya.appendChild(pa("id",mxUtils.htmlEntities(Aa),{dispName:"id",type:"readOnly"},!0,!1));for(var La in t)if(R=t[La],"function"!=typeof R.isVisible||R.isVisible(I,this)){var Ea=null!=R.getValue?R.getValue():null!=I.style[La]?mxUtils.htmlEntities(I.style[La]+""):null!=R.getDefaultValue?R.getDefaultValue(I,this):
-R.defVal;if("separator"==R.type)Ha=!Ha;else{if("staticArr"==R.type)R.size=parseInt(I.style[R.sizeProperty]||t[R.sizeProperty].defVal)||0;else if(null!=R.dependentProps){var za=R.dependentProps,Ra=[],Ja=[];for(Aa=0;Aa<za.length;Aa++){var Qa=I.style[za[Aa]];Ja.push(t[za[Aa]].subDefVal);Ra.push(null!=Qa?Qa.split(","):[])}R.dependentPropsDefVal=Ja;R.dependentPropsVals=Ra}ya.appendChild(pa(La,Ea,R,Na,Ha));Na=!Na}}for(Aa=0;Aa<Ba.length;Aa++)for(R=Ba[Aa],t=R.parentRow,I=0;I<R.values.length;I++)La=pa(R.name,
-R.values[I],{type:R.type,parentRow:R.parentRow,isDeletable:R.isDeletable,index:I,defVal:R.defVal,countProperty:R.countProperty,size:R.size},0==I%2,R.flipBkg),t.parentNode.insertBefore(La,t.nextSibling),t=La;k.appendChild(ya);Da();return k};StyleFormatPanel.prototype.addStyles=function(k){if(null!=this.defaultColorSchemes){var t=function(ya){mxEvent.addListener(ya,"mouseenter",function(){ya.style.opacity="1"});mxEvent.addListener(ya,"mouseleave",function(){ya.style.opacity="0.5"})},I=this.editorUi,
+"')":ia;O(Ma,ia,N)});mxEvent.consume(Y)}));btn.style.height="12px";btn.style.width="40px";btn.className="geColorBtn";btn.appendChild(Q);return btn}function ba(Ma,u,N,Q,Y,ia,la){null!=u&&(u=u.split(","),Ba.push({name:Ma,values:u,type:N,defVal:Q,countProperty:Y,parentRow:ia,isDeletable:!0,flipBkg:la}));btn=mxUtils.button("+",mxUtils.bind(ra,function(oa){for(var ta=ia,sa=0;null!=ta.nextSibling;)if(ta.nextSibling.getAttribute("data-pName")==Ma)ta=ta.nextSibling,sa++;else break;var ya={type:N,parentRow:ia,
+index:sa,isDeletable:!0,defVal:Q,countProperty:Y};sa=pa(Ma,"",ya,0==sa%2,la);O(Ma,Q,ya);ta.parentNode.insertBefore(sa,ta.nextSibling);mxEvent.consume(oa)}));btn.style.height="16px";btn.style.width="25px";btn.className="geColorBtn";return btn}function ka(Ma,u,N,Q,Y,ia,la){if(0<Y){var oa=Array(Y);u=null!=u?u.split(","):[];for(var ta=0;ta<Y;ta++)oa[ta]=null!=u[ta]?u[ta]:null!=Q?Q:"";Ba.push({name:Ma,values:oa,type:N,defVal:Q,parentRow:ia,flipBkg:la,size:Y})}return document.createElement("div")}function qa(Ma,
+u,N){var Q=document.createElement("input");Q.type="checkbox";Q.checked="1"==u;mxEvent.addListener(Q,"change",function(){O(Ma,Q.checked?"1":"0",N)});return Q}function pa(Ma,u,N,Q,Y){var ia=N.dispName,la=N.type,oa=document.createElement("tr");oa.className="gePropRow"+(Y?"Dark":"")+(Q?"Alt":"")+" gePropNonHeaderRow";oa.setAttribute("data-pName",Ma);oa.setAttribute("data-pValue",u);Q=!1;null!=N.index&&(oa.setAttribute("data-index",N.index),ia=(null!=ia?ia:"")+"["+N.index+"]",Q=!0);var ta=document.createElement("td");
+ta.className="gePropRowCell";ia=mxResources.get(ia,null,ia);mxUtils.write(ta,ia);ta.setAttribute("title",ia);Q&&(ta.style.textAlign="right");oa.appendChild(ta);ta=document.createElement("td");ta.className="gePropRowCell";ta.setAttribute("title",null!=u?u:mxResources.get("none"));if("color"==la)ta.appendChild(Z(Ma,u,N));else if("bool"==la||"boolean"==la)ta.appendChild(qa(Ma,u,N));else if("enum"==la){var sa=N.enumList;for(Y=0;Y<sa.length;Y++)if(ia=sa[Y],ia.val==u){mxUtils.write(ta,mxResources.get(ia.dispName,
+null,ia.dispName));break}mxEvent.addListener(ta,"click",mxUtils.bind(ra,function(){var ya=document.createElement("select"),Ha=null;X(ta,ya);for(var Oa=0;Oa<sa.length;Oa++){var Wa=sa[Oa],Za=document.createElement("option");Za.value=mxUtils.htmlEntities(Wa.val);mxUtils.write(Za,mxResources.get(Wa.dispName,null,Wa.dispName));ya.appendChild(Za);null==Wa.val&&(Za.value="null",Ha=Za)}ya.value=null==u&&null!=Ha?"null":u;k.appendChild(ya);mxEvent.addListener(ya,"change",function(){var ab=mxUtils.htmlEntities(ya.value);
+if(ya[ya.selectedIndex]==Ha||"null"==ab.value)ab=null;O(Ma,ab,N)});ya.focus();mxEvent.addListener(ya,"blur",function(){k.removeChild(ya)})}))}else"dynamicArr"==la?ta.appendChild(ba(Ma,u,N.subType,N.subDefVal,N.countProperty,oa,Y)):"staticArr"==la?ta.appendChild(ka(Ma,u,N.subType,N.subDefVal,N.size,oa,Y)):"readOnly"==la?(Y=document.createElement("input"),Y.setAttribute("readonly",""),Y.value=u,Y.style.borderWidth="0px","id"==Ma?(Y.style.width="190px",Y.style.position="relative",Y.style.right="6px",
+Y.style.float="right",Y.style.background="none",Y.style.textAlign="right",oa.firstChild.setAttribute("colspan","2"),Y.setAttribute("title",u),oa.firstChild.appendChild(Y)):(Y.style.width="96px",ta.appendChild(Y))):(ta.innerHTML=mxUtils.htmlEntities(decodeURIComponent(u)),mxEvent.addListener(ta,"click",mxUtils.bind(ra,function(){function ya(){var Oa=Ha.value;Oa=0==Oa.length&&"string"!=la&&"numbers"!=la?0:Oa;N.allowAuto&&(null!=Oa.trim&&"auto"==Oa.trim().toLowerCase()?(Oa="auto",la="string"):(Oa=parseFloat(Oa),
+Oa=isNaN(Oa)?0:Oa));null!=N.min&&Oa<N.min?Oa=N.min:null!=N.max&&Oa>N.max&&(Oa=N.max);var Wa=null;try{Wa="numbers"==la?Oa.match(/\d+/g).map(Number).join(" "):encodeURIComponent(("int"==la?parseInt(Oa):Oa)+"")}catch(Za){}O(Ma,Wa,N,null,Ha)}var Ha=document.createElement("input");X(ta,Ha,!0);Ha.value=decodeURIComponent(u);Ha.className="gePropEditor";"int"!=la&&"float"!=la||N.allowAuto||(Ha.type="number",Ha.step="int"==la?"1":"any",null!=N.min&&(Ha.min=parseFloat(N.min)),null!=N.max&&(Ha.max=parseFloat(N.max)));
+k.appendChild(Ha);mxEvent.addListener(Ha,"keypress",function(Oa){13==Oa.keyCode&&ya()});Ha.focus();mxEvent.addListener(Ha,"blur",function(){ya()})})));N.isDeletable&&(Y=mxUtils.button("-",mxUtils.bind(ra,function(ya){O(Ma,"",N,N.index);mxEvent.consume(ya)})),Y.style.height="16px",Y.style.width="25px",Y.style.float="right",Y.className="geColorBtn",ta.appendChild(Y));oa.appendChild(ta);return oa}var ra=this,ua=this.editorUi.editor.graph,Ba=[];k.style.position="relative";k.style.padding="0";var xa=document.createElement("table");
+xa.className="geProperties";xa.style.whiteSpace="nowrap";xa.style.width="100%";var Aa=document.createElement("tr");Aa.className="gePropHeader";var Na=document.createElement("th");Na.className="gePropHeaderCell";var va=document.createElement("img");va.src=Sidebar.prototype.expandedImage;va.style.verticalAlign="middle";Na.appendChild(va);mxUtils.write(Na,mxResources.get("property"));Aa.style.cursor="pointer";var Ca=function(){var Ma=xa.querySelectorAll(".gePropNonHeaderRow");if(ra.editorUi.propertiesCollapsed){va.src=
+Sidebar.prototype.collapsedImage;var u="none";for(var N=k.childNodes.length-1;0<=N;N--)try{var Q=k.childNodes[N],Y=Q.nodeName.toUpperCase();"INPUT"!=Y&&"SELECT"!=Y||k.removeChild(Q)}catch(ia){}}else va.src=Sidebar.prototype.expandedImage,u="";for(N=0;N<Ma.length;N++)Ma[N].style.display=u};mxEvent.addListener(Aa,"click",function(){ra.editorUi.propertiesCollapsed=!ra.editorUi.propertiesCollapsed;Ca()});Aa.appendChild(Na);Na=document.createElement("th");Na.className="gePropHeaderCell";Na.innerHTML=mxResources.get("value");
+Aa.appendChild(Na);xa.appendChild(Aa);var Ga=Na=!1;Aa=null;1==I.vertices.length&&0==I.edges.length?Aa=I.vertices[0].id:0==I.vertices.length&&1==I.edges.length&&(Aa=I.edges[0].id);null==Aa||R||xa.appendChild(pa("id",mxUtils.htmlEntities(Aa),{dispName:"id",type:"readOnly"},!0,!1));for(var La in t)if(R=t[La],"function"!=typeof R.isVisible||R.isVisible(I,this)){var Da=null!=R.getValue?R.getValue():null!=I.style[La]?mxUtils.htmlEntities(I.style[La]+""):null!=R.getDefaultValue?R.getDefaultValue(I,this):
+R.defVal;if("separator"==R.type)Ga=!Ga;else{if("staticArr"==R.type)R.size=parseInt(I.style[R.sizeProperty]||t[R.sizeProperty].defVal)||0;else if(null!=R.dependentProps){var za=R.dependentProps,Ra=[],Ja=[];for(Aa=0;Aa<za.length;Aa++){var Qa=I.style[za[Aa]];Ja.push(t[za[Aa]].subDefVal);Ra.push(null!=Qa?Qa.split(","):[])}R.dependentPropsDefVal=Ja;R.dependentPropsVals=Ra}xa.appendChild(pa(La,Da,R,Na,Ga));Na=!Na}}for(Aa=0;Aa<Ba.length;Aa++)for(R=Ba[Aa],t=R.parentRow,I=0;I<R.values.length;I++)La=pa(R.name,
+R.values[I],{type:R.type,parentRow:R.parentRow,isDeletable:R.isDeletable,index:I,defVal:R.defVal,countProperty:R.countProperty,size:R.size},0==I%2,R.flipBkg),t.parentNode.insertBefore(La,t.nextSibling),t=La;k.appendChild(xa);Ca();return k};StyleFormatPanel.prototype.addStyles=function(k){if(null!=this.defaultColorSchemes){var t=function(xa){mxEvent.addListener(xa,"mouseenter",function(){xa.style.opacity="1"});mxEvent.addListener(xa,"mouseleave",function(){xa.style.opacity="0.5"})},I=this.editorUi,
R=I.editor.graph,O=document.createElement("div");O.style.whiteSpace="nowrap";O.style.paddingLeft="24px";O.style.paddingRight="20px";k.style.paddingLeft="16px";k.style.paddingBottom="6px";k.style.position="relative";k.appendChild(O);var X="plain-gray plain-blue plain-green plain-turquoise plain-orange plain-yellow plain-red plain-pink plain-purple gray blue green turquoise orange yellow red pink purple".split(" "),Z=document.createElement("div");Z.style.whiteSpace="nowrap";Z.style.position="relative";
-Z.style.textAlign="center";Z.style.width="210px";for(var ba=[],la=0;la<this.defaultColorSchemes.length;la++){var qa=document.createElement("div");qa.style.display="inline-block";qa.style.width="6px";qa.style.height="6px";qa.style.marginLeft="4px";qa.style.marginRight="3px";qa.style.borderRadius="3px";qa.style.cursor="pointer";qa.style.background="transparent";qa.style.border="1px solid #b5b6b7";mxUtils.bind(this,function(ya){mxEvent.addListener(qa,"click",mxUtils.bind(this,function(){pa(ya)}))})(la);
-ba.push(qa);Z.appendChild(qa)}var pa=mxUtils.bind(this,function(ya){null!=ba[ya]&&(null!=this.format.currentScheme&&null!=ba[this.format.currentScheme]&&(ba[this.format.currentScheme].style.background="transparent"),this.format.currentScheme=ya,ra(this.defaultColorSchemes[this.format.currentScheme]),ba[this.format.currentScheme].style.background="#84d7ff")}),ra=mxUtils.bind(this,function(ya){var Aa=mxUtils.bind(this,function(va){var Da=mxUtils.button("",mxUtils.bind(this,function(Ea){R.getModel().beginUpdate();
-try{for(var za=I.getSelectionState().cells,Ra=0;Ra<za.length;Ra++){for(var Ja=R.getModel().getStyle(za[Ra]),Qa=0;Qa<X.length;Qa++)Ja=mxUtils.removeStylename(Ja,X[Qa]);var Ma=R.getModel().isVertex(za[Ra])?R.defaultVertexStyle:R.defaultEdgeStyle;null!=va?(mxEvent.isShiftDown(Ea)||(Ja=""==va.fill?mxUtils.setStyle(Ja,mxConstants.STYLE_FILLCOLOR,null):mxUtils.setStyle(Ja,mxConstants.STYLE_FILLCOLOR,va.fill||mxUtils.getValue(Ma,mxConstants.STYLE_FILLCOLOR,null)),Ja=mxUtils.setStyle(Ja,mxConstants.STYLE_GRADIENTCOLOR,
-va.gradient||mxUtils.getValue(Ma,mxConstants.STYLE_GRADIENTCOLOR,null)),mxEvent.isControlDown(Ea)||mxClient.IS_MAC&&mxEvent.isMetaDown(Ea)||!R.getModel().isVertex(za[Ra])||(Ja=mxUtils.setStyle(Ja,mxConstants.STYLE_FONTCOLOR,va.font||mxUtils.getValue(Ma,mxConstants.STYLE_FONTCOLOR,null)))),mxEvent.isAltDown(Ea)||(Ja=""==va.stroke?mxUtils.setStyle(Ja,mxConstants.STYLE_STROKECOLOR,null):mxUtils.setStyle(Ja,mxConstants.STYLE_STROKECOLOR,va.stroke||mxUtils.getValue(Ma,mxConstants.STYLE_STROKECOLOR,null)))):
+Z.style.textAlign="center";Z.style.width="210px";for(var ba=[],ka=0;ka<this.defaultColorSchemes.length;ka++){var qa=document.createElement("div");qa.style.display="inline-block";qa.style.width="6px";qa.style.height="6px";qa.style.marginLeft="4px";qa.style.marginRight="3px";qa.style.borderRadius="3px";qa.style.cursor="pointer";qa.style.background="transparent";qa.style.border="1px solid #b5b6b7";mxUtils.bind(this,function(xa){mxEvent.addListener(qa,"click",mxUtils.bind(this,function(){pa(xa)}))})(ka);
+ba.push(qa);Z.appendChild(qa)}var pa=mxUtils.bind(this,function(xa){null!=ba[xa]&&(null!=this.format.currentScheme&&null!=ba[this.format.currentScheme]&&(ba[this.format.currentScheme].style.background="transparent"),this.format.currentScheme=xa,ra(this.defaultColorSchemes[this.format.currentScheme]),ba[this.format.currentScheme].style.background="#84d7ff")}),ra=mxUtils.bind(this,function(xa){var Aa=mxUtils.bind(this,function(va){var Ca=mxUtils.button("",mxUtils.bind(this,function(Da){R.getModel().beginUpdate();
+try{for(var za=I.getSelectionState().cells,Ra=0;Ra<za.length;Ra++){for(var Ja=R.getModel().getStyle(za[Ra]),Qa=0;Qa<X.length;Qa++)Ja=mxUtils.removeStylename(Ja,X[Qa]);var Ma=R.getModel().isVertex(za[Ra])?R.defaultVertexStyle:R.defaultEdgeStyle;null!=va?(mxEvent.isShiftDown(Da)||(Ja=""==va.fill?mxUtils.setStyle(Ja,mxConstants.STYLE_FILLCOLOR,null):mxUtils.setStyle(Ja,mxConstants.STYLE_FILLCOLOR,va.fill||mxUtils.getValue(Ma,mxConstants.STYLE_FILLCOLOR,null)),Ja=mxUtils.setStyle(Ja,mxConstants.STYLE_GRADIENTCOLOR,
+va.gradient||mxUtils.getValue(Ma,mxConstants.STYLE_GRADIENTCOLOR,null)),mxEvent.isControlDown(Da)||mxClient.IS_MAC&&mxEvent.isMetaDown(Da)||!R.getModel().isVertex(za[Ra])||(Ja=mxUtils.setStyle(Ja,mxConstants.STYLE_FONTCOLOR,va.font||mxUtils.getValue(Ma,mxConstants.STYLE_FONTCOLOR,null)))),mxEvent.isAltDown(Da)||(Ja=""==va.stroke?mxUtils.setStyle(Ja,mxConstants.STYLE_STROKECOLOR,null):mxUtils.setStyle(Ja,mxConstants.STYLE_STROKECOLOR,va.stroke||mxUtils.getValue(Ma,mxConstants.STYLE_STROKECOLOR,null)))):
(Ja=mxUtils.setStyle(Ja,mxConstants.STYLE_FILLCOLOR,mxUtils.getValue(Ma,mxConstants.STYLE_FILLCOLOR,"#ffffff")),Ja=mxUtils.setStyle(Ja,mxConstants.STYLE_STROKECOLOR,mxUtils.getValue(Ma,mxConstants.STYLE_STROKECOLOR,"#000000")),Ja=mxUtils.setStyle(Ja,mxConstants.STYLE_GRADIENTCOLOR,mxUtils.getValue(Ma,mxConstants.STYLE_GRADIENTCOLOR,null)),R.getModel().isVertex(za[Ra])&&(Ja=mxUtils.setStyle(Ja,mxConstants.STYLE_FONTCOLOR,mxUtils.getValue(Ma,mxConstants.STYLE_FONTCOLOR,null))));R.getModel().setStyle(za[Ra],
-Ja)}}finally{R.getModel().endUpdate()}}));Da.className="geStyleButton";Da.style.width="36px";Da.style.height=10>=this.defaultColorSchemes.length?"24px":"30px";Da.style.margin="0px 6px 6px 0px";if(null!=va){var Ha=Editor.isDarkMode()?"2px solid":"1px solid";null!=va.border&&(Ha=va.border);null!=va.gradient?mxClient.IS_IE&&10>document.documentMode?Da.style.filter="progid:DXImageTransform.Microsoft.Gradient(StartColorStr='"+va.fill+"', EndColorStr='"+va.gradient+"', GradientType=0)":Da.style.backgroundImage=
-"linear-gradient("+va.fill+" 0px,"+va.gradient+" 100%)":va.fill==mxConstants.NONE?Da.style.background="url('"+Dialog.prototype.noColorImage+"')":Da.style.backgroundColor=""==va.fill?mxUtils.getValue(R.defaultVertexStyle,mxConstants.STYLE_FILLCOLOR,Editor.isDarkMode()?Editor.darkColor:"#ffffff"):va.fill||mxUtils.getValue(R.defaultVertexStyle,mxConstants.STYLE_FILLCOLOR,Editor.isDarkMode()?Editor.darkColor:"#ffffff");Da.style.border=va.stroke==mxConstants.NONE?Ha+" transparent":""==va.stroke?Ha+" "+
-mxUtils.getValue(R.defaultVertexStyle,mxConstants.STYLE_STROKECOLOR,Editor.isDarkMode()?"#ffffff":Editor.darkColor):Ha+" "+(va.stroke||mxUtils.getValue(R.defaultVertexStyle,mxConstants.STYLE_STROKECOLOR,Editor.isDarkMode()?"#ffffff":Editor.darkColor));null!=va.title&&Da.setAttribute("title",va.title)}else{Ha=mxUtils.getValue(R.defaultVertexStyle,mxConstants.STYLE_FILLCOLOR,"#ffffff");var La=mxUtils.getValue(R.defaultVertexStyle,mxConstants.STYLE_STROKECOLOR,"#000000");Da.style.backgroundColor=Ha;
-Da.style.border="1px solid "+La}Da.style.borderRadius="0";O.appendChild(Da)});O.innerText="";if(null!=ya)for(var Na=0;Na<ya.length;Na++)0<Na&&0==mxUtils.mod(Na,4)&&mxUtils.br(O),Aa(ya[Na])});null==this.format.currentScheme?pa(Math.min(ba.length-1,Editor.isDarkMode()?1:"1"==urlParams.sketch?5:0)):pa(this.format.currentScheme);la=10>=this.defaultColorSchemes.length?28:8;var ua=document.createElement("div");ua.style.cssText="position:absolute;left:10px;top:8px;bottom:"+la+"px;width:20px;margin:4px;opacity:0.5;background-repeat:no-repeat;background-position:center center;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAQBAMAAADQT4M0AAAAIVBMVEUAAAB2dnZ4eHh3d3d1dXVxcXF2dnZ2dnZ2dnZxcXF2dnYmb3w1AAAACnRSTlMAfCTkhhvb7cQSPH2JPgAAADRJREFUCNdjwACMAmBKaiGYs2oJmLPKAZ3DabU8AMRTXpUKopislqFyVzCAuUZgikkBZjoAcMYLnp53P/UAAAAASUVORK5CYII=);";
-mxEvent.addListener(ua,"click",mxUtils.bind(this,function(){pa(mxUtils.mod(this.format.currentScheme-1,this.defaultColorSchemes.length))}));var Ba=document.createElement("div");Ba.style.cssText="position:absolute;left:202px;top:8px;bottom:"+la+"px;width:20px;margin:4px;opacity:0.5;background-repeat:no-repeat;background-position:center center;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAQBAMAAADQT4M0AAAAIVBMVEUAAAB2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnYBuwCcAAAACnRSTlMAfCTkhhvb7cQSPH2JPgAAADZJREFUCNdjQAOMAmBKaiGY8loF5rKswsZlrVo8AUiFrTICcbIWK8A5DF1gDoMymMPApIAwHwCS0Qx/U7qCBQAAAABJRU5ErkJggg==);";
+Ja)}}finally{R.getModel().endUpdate()}}));Ca.className="geStyleButton";Ca.style.width="36px";Ca.style.height=10>=this.defaultColorSchemes.length?"24px":"30px";Ca.style.margin="0px 6px 6px 0px";if(null!=va){var Ga=Editor.isDarkMode()?"2px solid":"1px solid";null!=va.border&&(Ga=va.border);null!=va.gradient?mxClient.IS_IE&&10>document.documentMode?Ca.style.filter="progid:DXImageTransform.Microsoft.Gradient(StartColorStr='"+va.fill+"', EndColorStr='"+va.gradient+"', GradientType=0)":Ca.style.backgroundImage=
+"linear-gradient("+va.fill+" 0px,"+va.gradient+" 100%)":va.fill==mxConstants.NONE?Ca.style.background="url('"+Dialog.prototype.noColorImage+"')":Ca.style.backgroundColor=""==va.fill?mxUtils.getValue(R.defaultVertexStyle,mxConstants.STYLE_FILLCOLOR,Editor.isDarkMode()?Editor.darkColor:"#ffffff"):va.fill||mxUtils.getValue(R.defaultVertexStyle,mxConstants.STYLE_FILLCOLOR,Editor.isDarkMode()?Editor.darkColor:"#ffffff");Ca.style.border=va.stroke==mxConstants.NONE?Ga+" transparent":""==va.stroke?Ga+" "+
+mxUtils.getValue(R.defaultVertexStyle,mxConstants.STYLE_STROKECOLOR,Editor.isDarkMode()?"#ffffff":Editor.darkColor):Ga+" "+(va.stroke||mxUtils.getValue(R.defaultVertexStyle,mxConstants.STYLE_STROKECOLOR,Editor.isDarkMode()?"#ffffff":Editor.darkColor));null!=va.title&&Ca.setAttribute("title",va.title)}else{Ga=mxUtils.getValue(R.defaultVertexStyle,mxConstants.STYLE_FILLCOLOR,"#ffffff");var La=mxUtils.getValue(R.defaultVertexStyle,mxConstants.STYLE_STROKECOLOR,"#000000");Ca.style.backgroundColor=Ga;
+Ca.style.border="1px solid "+La}Ca.style.borderRadius="0";O.appendChild(Ca)});O.innerText="";if(null!=xa)for(var Na=0;Na<xa.length;Na++)0<Na&&0==mxUtils.mod(Na,4)&&mxUtils.br(O),Aa(xa[Na])});null==this.format.currentScheme?pa(Math.min(ba.length-1,Editor.isDarkMode()?1:"1"==urlParams.sketch?5:0)):pa(this.format.currentScheme);ka=10>=this.defaultColorSchemes.length?28:8;var ua=document.createElement("div");ua.style.cssText="position:absolute;left:10px;top:8px;bottom:"+ka+"px;width:20px;margin:4px;opacity:0.5;background-repeat:no-repeat;background-position:center center;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAQBAMAAADQT4M0AAAAIVBMVEUAAAB2dnZ4eHh3d3d1dXVxcXF2dnZ2dnZ2dnZxcXF2dnYmb3w1AAAACnRSTlMAfCTkhhvb7cQSPH2JPgAAADRJREFUCNdjwACMAmBKaiGYs2oJmLPKAZ3DabU8AMRTXpUKopislqFyVzCAuUZgikkBZjoAcMYLnp53P/UAAAAASUVORK5CYII=);";
+mxEvent.addListener(ua,"click",mxUtils.bind(this,function(){pa(mxUtils.mod(this.format.currentScheme-1,this.defaultColorSchemes.length))}));var Ba=document.createElement("div");Ba.style.cssText="position:absolute;left:202px;top:8px;bottom:"+ka+"px;width:20px;margin:4px;opacity:0.5;background-repeat:no-repeat;background-position:center center;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAQBAMAAADQT4M0AAAAIVBMVEUAAAB2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnYBuwCcAAAACnRSTlMAfCTkhhvb7cQSPH2JPgAAADZJREFUCNdjQAOMAmBKaiGY8loF5rKswsZlrVo8AUiFrTICcbIWK8A5DF1gDoMymMPApIAwHwCS0Qx/U7qCBQAAAABJRU5ErkJggg==);";
1<this.defaultColorSchemes.length&&(k.appendChild(ua),k.appendChild(Ba));mxEvent.addListener(Ba,"click",mxUtils.bind(this,function(){pa(mxUtils.mod(this.format.currentScheme+1,this.defaultColorSchemes.length))}));t(ua);t(Ba);ra(this.defaultColorSchemes[this.format.currentScheme]);10>=this.defaultColorSchemes.length&&k.appendChild(Z)}return k}}Graph.fontMapping={"https://fonts.googleapis.com/css?family=Architects+Daughter":'@font-face { font-family: "Architects Daughter"; src: url('+STYLE_PATH+'/fonts/ArchitectsDaughter-Regular.ttf) format("truetype"); }'};
Graph.customFontElements={};Graph.isGoogleFontUrl=function(k){return k.substring(0,Editor.GOOGLE_FONTS.length)==Editor.GOOGLE_FONTS||k.substring(0,Editor.GOOGLE_FONTS_CSS2.length)==Editor.GOOGLE_FONTS_CSS2};Graph.isCssFontUrl=function(k){return Graph.isGoogleFontUrl(k)};Graph.rewriteGoogleFontUrl=function(k){null!=k&&k.substring(0,Editor.GOOGLE_FONTS.length)==Editor.GOOGLE_FONTS&&(k=Editor.GOOGLE_FONTS_CSS2+k.substring(Editor.GOOGLE_FONTS.length)+":wght@400;500");return k};Graph.createFontElement=
function(k,t){var I=Graph.fontMapping[t];null==I&&Graph.isCssFontUrl(t)?(k=document.createElement("link"),k.setAttribute("rel","stylesheet"),k.setAttribute("type","text/css"),k.setAttribute("charset","UTF-8"),k.setAttribute("href",Graph.rewriteGoogleFontUrl(t))):(null==I&&(I='@font-face {\nfont-family: "'+k+'";\nsrc: url("'+t+'");\n}'),k=document.createElement("style"),mxUtils.write(k,I));return k};Graph.addRecentCustomFont=function(k,t){};Graph.addFont=function(k,t,I){if(null!=k&&0<k.length&&null!=
@@ -3369,44 +3367,44 @@ null!=I&&I()}else null!=I&&I()}else null!=I&&I();return k};Graph.getFontUrl=func
null);if(null!=t){var I=mxUtils.getValue(k,mxConstants.STYLE_FONTFAMILY,null);if(null!=I)try{Graph.addFont(I,decodeURIComponent(t))}catch(R){}}}return k};Graph.prototype.defaultThemeName="default-style2";Graph.prototype.lastPasteXml=null;Graph.prototype.pasteCounter=0;Graph.prototype.defaultScrollbars="0"!=urlParams.sb;Graph.prototype.defaultPageVisible="0"!=urlParams.pv;Graph.prototype.shadowId="dropShadow";Graph.prototype.svgShadowColor="#3D4574";Graph.prototype.svgShadowOpacity="0.4";Graph.prototype.svgShadowBlur=
"1.7";Graph.prototype.svgShadowSize="3";Graph.prototype.hiddenTags=[];Graph.prototype.defaultMathEnabled=!1;var f=Graph.prototype.init;Graph.prototype.init=function(){function k(O){t=O}f.apply(this,arguments);this.hiddenTags=[];window.mxFreehand&&(this.freehand=new mxFreehand(this));var t=null;mxEvent.addListener(this.container,"mouseenter",k);mxEvent.addListener(this.container,"mousemove",k);mxEvent.addListener(this.container,"mouseleave",function(O){t=null});this.isMouseInsertPoint=function(){return null!=
t};var I=this.getInsertPoint;this.getInsertPoint=function(){return null!=t?this.getPointForEvent(t):I.apply(this,arguments)};var R=this.layoutManager.getLayout;this.layoutManager.getLayout=function(O){var X=this.graph.getCellStyle(O);if(null!=X&&"rack"==X.childLayout){var Z=new mxStackLayout(this.graph,!1);Z.gridSize=null!=X.rackUnitSize?parseFloat(X.rackUnitSize):"undefined"!==typeof mxRackContainer?mxRackContainer.unitSize:20;Z.marginLeft=X.marginLeft||0;Z.marginRight=X.marginRight||0;Z.marginTop=
-X.marginTop||0;Z.marginBottom=X.marginBottom||0;Z.allowGaps=X.allowGaps||0;Z.horizontal="1"==mxUtils.getValue(X,"horizontalRack","0");Z.resizeParent=!1;Z.fill=!0;return Z}return R.apply(this,arguments)};this.updateGlobalUrlVariables()};var l=Graph.prototype.postProcessCellStyle;Graph.prototype.postProcessCellStyle=function(k,t){return Graph.processFontStyle(l.apply(this,arguments))};var z=mxSvgCanvas2D.prototype.updateTextNodes;mxSvgCanvas2D.prototype.updateTextNodes=function(k,t,I,R,O,X,Z,ba,la,
-qa,pa,ra){z.apply(this,arguments);Graph.processFontAttributes(ra)};var A=mxText.prototype.redraw;mxText.prototype.redraw=function(){A.apply(this,arguments);null!=this.node&&"DIV"==this.node.nodeName&&Graph.processFontAttributes(this.node)};Graph.prototype.createTagsDialog=function(k,t,I,R){function O(){for(var Aa=ba.getSelectionCells(),Na=[],va=0;va<Aa.length;va++)ba.isCellVisible(Aa[va])&&Na.push(Aa[va]);ba.setSelectionCells(Na)}function X(Aa){ba.setHiddenTags(Aa?[]:la.slice());O();ba.refresh()}
-function Z(Aa,Na){pa.innerText="";if(0<Aa.length){var va=document.createElement("table");va.setAttribute("cellpadding","2");va.style.boxSizing="border-box";va.style.tableLayout="fixed";va.style.width="100%";var Da=document.createElement("tbody");if(null!=Aa&&0<Aa.length)for(var Ha=0;Ha<Aa.length;Ha++)(function(La){function Ea(){var u=ba.getCellsForTags([La],null,null,!0);ba.isEnabled()?ba.setSelectionCells(u):ba.highlightCells(u,null,null,70)}var za=0>mxUtils.indexOf(ba.hiddenTags,La),Ra=document.createElement("tr"),
+X.marginTop||0;Z.marginBottom=X.marginBottom||0;Z.allowGaps=X.allowGaps||0;Z.horizontal="1"==mxUtils.getValue(X,"horizontalRack","0");Z.resizeParent=!1;Z.fill=!0;return Z}return R.apply(this,arguments)};this.updateGlobalUrlVariables()};var l=Graph.prototype.postProcessCellStyle;Graph.prototype.postProcessCellStyle=function(k,t){return Graph.processFontStyle(l.apply(this,arguments))};var z=mxSvgCanvas2D.prototype.updateTextNodes;mxSvgCanvas2D.prototype.updateTextNodes=function(k,t,I,R,O,X,Z,ba,ka,
+qa,pa,ra){z.apply(this,arguments);Graph.processFontAttributes(ra)};var A=mxText.prototype.redraw;mxText.prototype.redraw=function(){A.apply(this,arguments);null!=this.node&&"DIV"==this.node.nodeName&&Graph.processFontAttributes(this.node)};Graph.prototype.createTagsDialog=function(k,t,I,R){function O(){for(var Aa=ba.getSelectionCells(),Na=[],va=0;va<Aa.length;va++)ba.isCellVisible(Aa[va])&&Na.push(Aa[va]);ba.setSelectionCells(Na)}function X(Aa){ba.setHiddenTags(Aa?[]:ka.slice());O();ba.refresh()}
+function Z(Aa,Na){pa.innerText="";if(0<Aa.length){var va=document.createElement("table");va.setAttribute("cellpadding","2");va.style.boxSizing="border-box";va.style.tableLayout="fixed";va.style.width="100%";var Ca=document.createElement("tbody");if(null!=Aa&&0<Aa.length)for(var Ga=0;Ga<Aa.length;Ga++)(function(La){function Da(){var u=ba.getCellsForTags([La],null,null,!0);ba.isEnabled()?ba.setSelectionCells(u):ba.highlightCells(u,null,null,70)}var za=0>mxUtils.indexOf(ba.hiddenTags,La),Ra=document.createElement("tr"),
Ja=document.createElement("td");Ja.style.align="center";Ja.style.width="16px";var Qa=document.createElement("img");Qa.setAttribute("src",za?Editor.visibleImage:Editor.hiddenImage);Qa.setAttribute("title",mxResources.get(za?"hideIt":"show",[La]));mxUtils.setOpacity(Qa,za?75:25);Qa.className="geAdaptiveAsset";Qa.style.verticalAlign="middle";Qa.style.cursor="pointer";Qa.style.width="16px";if(t||Editor.isDarkMode())Qa.style.filter="invert(100%)";Ja.appendChild(Qa);mxEvent.addListener(Qa,"click",function(u){mxEvent.isShiftDown(u)?
X(0<=mxUtils.indexOf(ba.hiddenTags,La)):(ba.toggleHiddenTag(La),O(),ba.refresh());mxEvent.consume(u)});Ra.appendChild(Ja);Ja=document.createElement("td");Ja.style.align="center";Ja.style.width="16px";Qa=document.createElement("img");Qa.setAttribute("src",Editor.selectImage);Qa.setAttribute("title",mxResources.get("select"));mxUtils.setOpacity(Qa,za?75:25);Qa.className="geAdaptiveAsset";Qa.style.verticalAlign="middle";Qa.style.cursor="pointer";Qa.style.width="16px";if(t||Editor.isDarkMode())Qa.style.filter=
-"invert(100%)";mxEvent.addListener(Qa,"click",function(u){X(!0);Ea();mxEvent.consume(u)});Ja.appendChild(Qa);Ra.appendChild(Ja);Ja=document.createElement("td");Ja.style.overflow="hidden";Ja.style.whiteSpace="nowrap";Ja.style.textOverflow="ellipsis";Ja.style.verticalAlign="middle";Ja.style.cursor="pointer";Ja.setAttribute("title",La);a=document.createElement("a");mxUtils.write(a,La);a.style.textOverflow="ellipsis";a.style.position="relative";mxUtils.setOpacity(a,za?100:40);Ja.appendChild(a);mxEvent.addListener(Ja,
-"click",function(u){if(mxEvent.isShiftDown(u))X(!0),Ea();else if(za&&0<ba.hiddenTags.length)X(!0);else{var N=la.slice(),Q=mxUtils.indexOf(N,La);N.splice(Q,1);ba.setHiddenTags(N);O();ba.refresh()}mxEvent.consume(u)});Ra.appendChild(Ja);if(ba.isEnabled()){Ja=document.createElement("td");Ja.style.verticalAlign="middle";Ja.style.textAlign="center";Ja.style.width="18px";if(null==Na){Ja.style.align="center";Ja.style.width="16px";Qa=document.createElement("img");Qa.setAttribute("src",Editor.trashImage);
-Qa.setAttribute("title",mxResources.get("removeIt",[La]));mxUtils.setOpacity(Qa,za?75:25);Qa.className="geAdaptiveAsset";Qa.style.verticalAlign="middle";Qa.style.cursor="pointer";Qa.style.width="16px";if(t||Editor.isDarkMode())Qa.style.filter="invert(100%)";mxEvent.addListener(Qa,"click",function(u){var N=mxUtils.indexOf(la,La);0<=N&&la.splice(N,1);ba.removeTagsForCells(ba.model.getDescendants(ba.model.getRoot()),[La]);ba.refresh();mxEvent.consume(u)});Ja.appendChild(Qa)}else{var Ma=document.createElement("input");
-Ma.setAttribute("type","checkbox");Ma.style.margin="0px";Ma.defaultChecked=null!=Na&&0<=mxUtils.indexOf(Na,La);Ma.checked=Ma.defaultChecked;Ma.style.background="transparent";Ma.setAttribute("title",mxResources.get(Ma.defaultChecked?"removeIt":"add",[La]));mxEvent.addListener(Ma,"change",function(u){Ma.checked?ba.addTagsForCells(ba.getSelectionCells(),[La]):ba.removeTagsForCells(ba.getSelectionCells(),[La]);mxEvent.consume(u)});Ja.appendChild(Ma)}Ra.appendChild(Ja)}Da.appendChild(Ra)})(Aa[Ha]);va.appendChild(Da);
-pa.appendChild(va)}}var ba=this,la=ba.hiddenTags.slice(),qa=document.createElement("div");qa.style.userSelect="none";qa.style.overflow="hidden";qa.style.padding="10px";qa.style.height="100%";var pa=document.createElement("div");pa.style.boxSizing="border-box";pa.style.borderRadius="4px";pa.style.userSelect="none";pa.style.overflow="auto";pa.style.position="absolute";pa.style.left="10px";pa.style.right="10px";pa.style.top="10px";pa.style.border=ba.isEnabled()?"1px solid #808080":"none";pa.style.bottom=
-ba.isEnabled()?"48px":"10px";qa.appendChild(pa);var ra=mxUtils.button(mxResources.get("reset"),function(Aa){ba.setHiddenTags([]);mxEvent.isShiftDown(Aa)||(la=ba.hiddenTags.slice());O();ba.refresh()});ra.setAttribute("title",mxResources.get("reset"));ra.className="geBtn";ra.style.margin="0 4px 0 0";var ua=mxUtils.button(mxResources.get("add"),function(){null!=I&&I(la,function(Aa){la=Aa;Ba()})});ua.setAttribute("title",mxResources.get("add"));ua.className="geBtn";ua.style.margin="0";ba.addListener(mxEvent.ROOT,
-function(){la=ba.hiddenTags.slice()});var Ba=mxUtils.bind(this,function(Aa,Na){if(k()){Aa=ba.getAllTags();for(Na=0;Na<Aa.length;Na++)0>mxUtils.indexOf(la,Aa[Na])&&la.push(Aa[Na]);la.sort();ba.isSelectionEmpty()?Z(la):Z(la,ba.getCommonTagsForCells(ba.getSelectionCells()))}});ba.selectionModel.addListener(mxEvent.CHANGE,Ba);ba.model.addListener(mxEvent.CHANGE,Ba);ba.addListener(mxEvent.REFRESH,Ba);var ya=document.createElement("div");ya.style.display="flex";ya.style.alignItems="center";ya.style.boxSizing=
-"border-box";ya.style.whiteSpace="nowrap";ya.style.position="absolute";ya.style.overflow="hidden";ya.style.bottom="6px";ya.style.height="42px";ya.style.right="10px";ya.style.left="10px";ba.isEnabled()&&(ya.appendChild(ra),ya.appendChild(ua),qa.appendChild(ya));null!=R&&ya.appendChild(R);return{div:qa,refresh:Ba}};Graph.prototype.getCustomFonts=function(){var k=this.extFonts;k=null!=k?k.slice():[];for(var t in Graph.customFontElements){var I=Graph.customFontElements[t];k.push({name:I.name,url:I.url})}return k};
+"invert(100%)";mxEvent.addListener(Qa,"click",function(u){X(!0);Da();mxEvent.consume(u)});Ja.appendChild(Qa);Ra.appendChild(Ja);Ja=document.createElement("td");Ja.style.overflow="hidden";Ja.style.whiteSpace="nowrap";Ja.style.textOverflow="ellipsis";Ja.style.verticalAlign="middle";Ja.style.cursor="pointer";Ja.setAttribute("title",La);a=document.createElement("a");mxUtils.write(a,La);a.style.textOverflow="ellipsis";a.style.position="relative";mxUtils.setOpacity(a,za?100:40);Ja.appendChild(a);mxEvent.addListener(Ja,
+"click",function(u){if(mxEvent.isShiftDown(u))X(!0),Da();else if(za&&0<ba.hiddenTags.length)X(!0);else{var N=ka.slice(),Q=mxUtils.indexOf(N,La);N.splice(Q,1);ba.setHiddenTags(N);O();ba.refresh()}mxEvent.consume(u)});Ra.appendChild(Ja);if(ba.isEnabled()){Ja=document.createElement("td");Ja.style.verticalAlign="middle";Ja.style.textAlign="center";Ja.style.width="18px";if(null==Na){Ja.style.align="center";Ja.style.width="16px";Qa=document.createElement("img");Qa.setAttribute("src",Editor.trashImage);
+Qa.setAttribute("title",mxResources.get("removeIt",[La]));mxUtils.setOpacity(Qa,za?75:25);Qa.className="geAdaptiveAsset";Qa.style.verticalAlign="middle";Qa.style.cursor="pointer";Qa.style.width="16px";if(t||Editor.isDarkMode())Qa.style.filter="invert(100%)";mxEvent.addListener(Qa,"click",function(u){var N=mxUtils.indexOf(ka,La);0<=N&&ka.splice(N,1);ba.removeTagsForCells(ba.model.getDescendants(ba.model.getRoot()),[La]);ba.refresh();mxEvent.consume(u)});Ja.appendChild(Qa)}else{var Ma=document.createElement("input");
+Ma.setAttribute("type","checkbox");Ma.style.margin="0px";Ma.defaultChecked=null!=Na&&0<=mxUtils.indexOf(Na,La);Ma.checked=Ma.defaultChecked;Ma.style.background="transparent";Ma.setAttribute("title",mxResources.get(Ma.defaultChecked?"removeIt":"add",[La]));mxEvent.addListener(Ma,"change",function(u){Ma.checked?ba.addTagsForCells(ba.getSelectionCells(),[La]):ba.removeTagsForCells(ba.getSelectionCells(),[La]);mxEvent.consume(u)});Ja.appendChild(Ma)}Ra.appendChild(Ja)}Ca.appendChild(Ra)})(Aa[Ga]);va.appendChild(Ca);
+pa.appendChild(va)}}var ba=this,ka=ba.hiddenTags.slice(),qa=document.createElement("div");qa.style.userSelect="none";qa.style.overflow="hidden";qa.style.padding="10px";qa.style.height="100%";var pa=document.createElement("div");pa.style.boxSizing="border-box";pa.style.borderRadius="4px";pa.style.userSelect="none";pa.style.overflow="auto";pa.style.position="absolute";pa.style.left="10px";pa.style.right="10px";pa.style.top="10px";pa.style.border=ba.isEnabled()?"1px solid #808080":"none";pa.style.bottom=
+ba.isEnabled()?"48px":"10px";qa.appendChild(pa);var ra=mxUtils.button(mxResources.get("reset"),function(Aa){ba.setHiddenTags([]);mxEvent.isShiftDown(Aa)||(ka=ba.hiddenTags.slice());O();ba.refresh()});ra.setAttribute("title",mxResources.get("reset"));ra.className="geBtn";ra.style.margin="0 4px 0 0";var ua=mxUtils.button(mxResources.get("add"),function(){null!=I&&I(ka,function(Aa){ka=Aa;Ba()})});ua.setAttribute("title",mxResources.get("add"));ua.className="geBtn";ua.style.margin="0";ba.addListener(mxEvent.ROOT,
+function(){ka=ba.hiddenTags.slice()});var Ba=mxUtils.bind(this,function(Aa,Na){if(k()){Aa=ba.getAllTags();for(Na=0;Na<Aa.length;Na++)0>mxUtils.indexOf(ka,Aa[Na])&&ka.push(Aa[Na]);ka.sort();ba.isSelectionEmpty()?Z(ka):Z(ka,ba.getCommonTagsForCells(ba.getSelectionCells()))}});ba.selectionModel.addListener(mxEvent.CHANGE,Ba);ba.model.addListener(mxEvent.CHANGE,Ba);ba.addListener(mxEvent.REFRESH,Ba);var xa=document.createElement("div");xa.style.display="flex";xa.style.alignItems="center";xa.style.boxSizing=
+"border-box";xa.style.whiteSpace="nowrap";xa.style.position="absolute";xa.style.overflow="hidden";xa.style.bottom="6px";xa.style.height="42px";xa.style.right="10px";xa.style.left="10px";ba.isEnabled()&&(xa.appendChild(ra),xa.appendChild(ua),qa.appendChild(xa));null!=R&&xa.appendChild(R);return{div:qa,refresh:Ba}};Graph.prototype.getCustomFonts=function(){var k=this.extFonts;k=null!=k?k.slice():[];for(var t in Graph.customFontElements){var I=Graph.customFontElements[t];k.push({name:I.name,url:I.url})}return k};
Graph.prototype.setFont=function(k,t){Graph.addFont(k,t);var I=Editor.guid();document.execCommand("fontname",!1,I);for(var R=this.cellEditor.textarea.getElementsByTagName("font"),O=!1,X=0;X<R.length;X++)R[X].getAttribute("face")==I&&(O=!0,R[X].setAttribute("face",k),null!=t?R[X].setAttribute("data-font-src",t):R[X].removeAttribute("data-font-src"));O||document.execCommand("fontname",!1,k)};var B=Graph.prototype.isFastZoomEnabled;Graph.prototype.isFastZoomEnabled=function(){return B.apply(this,arguments)&&
(!this.shadowVisible||!mxClient.IS_SF)};Graph.prototype.updateGlobalUrlVariables=function(){this.globalVars=Editor.globalVars;if(null!=urlParams.vars)try{this.globalVars=null!=this.globalVars?mxUtils.clone(this.globalVars):{};var k=JSON.parse(decodeURIComponent(urlParams.vars));if(null!=k)for(var t in k)this.globalVars[t]=k[t]}catch(I){null!=window.console&&console.log("Error in vars URL parameter: "+I)}};Graph.prototype.getExportVariables=function(){return null!=this.globalVars?mxUtils.clone(this.globalVars):
{}};var G=Graph.prototype.getGlobalVariable;Graph.prototype.getGlobalVariable=function(k){var t=G.apply(this,arguments);null==t&&null!=this.globalVars&&(t=this.globalVars[k]);return t};Graph.prototype.getDefaultStylesheet=function(){if(null==this.defaultStylesheet){var k=this.themes["default-style2"];this.defaultStylesheet=(new mxCodec(k.ownerDocument)).decode(k)}return this.defaultStylesheet};Graph.prototype.isViewer=function(){return urlParams.viewer};Graph.prototype.adaptBackgroundPage=function(k,
t){if(null!=k&&null!=k.src&&Graph.isPageLink(k.originalSrc))try{var I=Graph.getSvgFromDataUri(k.src);if(null!=I){var R=(new DOMParser).parseFromString(I,"text/xml"),O=R.getElementsByTagName("style"),X=mxUtils.htmlEntities(Graph.createSvgDarkModeCss(),!1);for(I=0;I<O.length;I++)if(O[I].innerHTML==X){O[I].parentNode.removeChild(O[I]);break}if("dark"==t||"auto"==t){var Z=Graph.createSvgDarkModeStyle(R,t);R.getElementsByTagName("defs")[0].appendChild(Z)}k=new mxImage(Editor.createSvgDataUri(mxUtils.getXml(R.documentElement)),
-k.width,k.height,k.x,k.y)}}catch(ba){}return k};var L=Graph.prototype.getSvg;Graph.prototype.getSvg=function(k,t,I,R,O,X,Z,ba,la,qa,pa,ra,ua,Ba,ya,Aa){var Na=null,va=null,Da=null;Editor.enableCssDarkMode||null==this.themes||null==ra||"dark"==ra==("darkTheme"==this.defaultThemeName)||(Na=this.stylesheet,va=this.shapeForegroundColor,Da=this.shapeBackgroundColor,this.shapeForegroundColor="darkTheme"==this.defaultThemeName?"#000000":Editor.lightColor,this.shapeBackgroundColor="darkTheme"==this.defaultThemeName?
-"#ffffff":Editor.darkColor,this.stylesheet=this.getDefaultStylesheet(),this.refresh());var Ha=null;Editor.enableCssDarkMode&&null!=this.backgroundImage&&(Ha=this.backgroundImage,this.backgroundImage=this.adaptBackgroundPage(Ha,ra));var La=L.apply(this,arguments);if(Editor.enableCssDarkMode&&("dark"==ra||"auto"==ra)){var Ea=ya?null:"ge-export-svg-"+ra;null!=Ea&&La.setAttribute("class",Ea);Ea=Graph.createSvgDarkModeStyle(La.ownerDocument,ra,Ea,k);La.getElementsByTagName("defs")[0].appendChild(Ea)}var za=
-this.getCustomFonts();if(pa&&0<za.length){var Ra=La.ownerDocument;Ea=null!=Ra.createElementNS?Ra.createElementNS(mxConstants.NS_SVG,"style"):Ra.createElement("style");null!=Ra.setAttributeNS?Ea.setAttributeNS("type","text/css"):Ea.setAttribute("type","text/css");for(var Ja="",Qa="",Ma=0;Ma<za.length;Ma++){var u=za[Ma].name,N=za[Ma].url;Graph.isCssFontUrl(N)?Ja+="@import url("+Graph.rewriteGoogleFontUrl(N)+");\n":Qa+='@font-face {\nfont-family: "'+u+'";\nsrc: url("'+N+'");\n}\n'}Ea.appendChild(Ra.createTextNode(Ja+
-Qa));La.getElementsByTagName("defs")[0].appendChild(Ea)}Editor.replaceSvgDataUris&&null!=Ha&&null!=Ha.originalSrc&&EditorUi.embedSvgImages(La);this.mathEnabled&&(document.body.appendChild(La),Editor.MathJaxRender(La),La.parentNode.removeChild(La),Ea=La.ownerDocument.getElementById("MJX-SVG-styles"),null!=Ea&&La.getElementsByTagName("defs")[0].appendChild(Ea.cloneNode(!0)));null!=Ha&&(this.backgroundImage=Ha);null!=Na&&(this.shapeBackgroundColor=Da,this.shapeForegroundColor=va,this.stylesheet=Na,this.refresh());
+k.width,k.height,k.x,k.y)}}catch(ba){}return k};var L=Graph.prototype.getSvg;Graph.prototype.getSvg=function(k,t,I,R,O,X,Z,ba,ka,qa,pa,ra,ua,Ba,xa,Aa){var Na=null,va=null,Ca=null;Editor.enableCssDarkMode||null==this.themes||null==ra||"dark"==ra==("darkTheme"==this.defaultThemeName)||(Na=this.stylesheet,va=this.shapeForegroundColor,Ca=this.shapeBackgroundColor,this.shapeForegroundColor="darkTheme"==this.defaultThemeName?"#000000":Editor.lightColor,this.shapeBackgroundColor="darkTheme"==this.defaultThemeName?
+"#ffffff":Editor.darkColor,this.stylesheet=this.getDefaultStylesheet(),this.refresh());var Ga=null;Editor.enableCssDarkMode&&null!=this.backgroundImage&&(Ga=this.backgroundImage,this.backgroundImage=this.adaptBackgroundPage(Ga,ra));var La=L.apply(this,arguments);if(Editor.enableCssDarkMode&&("dark"==ra||"auto"==ra)){var Da=xa?null:"ge-export-svg-"+ra;null!=Da&&La.setAttribute("class",Da);Da=Graph.createSvgDarkModeStyle(La.ownerDocument,ra,Da,k);La.getElementsByTagName("defs")[0].appendChild(Da)}var za=
+this.getCustomFonts();if(pa&&0<za.length){var Ra=La.ownerDocument;Da=null!=Ra.createElementNS?Ra.createElementNS(mxConstants.NS_SVG,"style"):Ra.createElement("style");null!=Ra.setAttributeNS?Da.setAttributeNS("type","text/css"):Da.setAttribute("type","text/css");for(var Ja="",Qa="",Ma=0;Ma<za.length;Ma++){var u=za[Ma].name,N=za[Ma].url;Graph.isCssFontUrl(N)?Ja+="@import url("+Graph.rewriteGoogleFontUrl(N)+");\n":Qa+='@font-face {\nfont-family: "'+u+'";\nsrc: url("'+N+'");\n}\n'}Da.appendChild(Ra.createTextNode(Ja+
+Qa));La.getElementsByTagName("defs")[0].appendChild(Da)}Editor.replaceSvgDataUris&&null!=Ga&&null!=Ga.originalSrc&&EditorUi.embedSvgImages(La);this.mathEnabled&&(document.body.appendChild(La),Editor.MathJaxRender(La),La.parentNode.removeChild(La),Da=La.ownerDocument.getElementById("MJX-SVG-styles"),null!=Da&&La.getElementsByTagName("defs")[0].appendChild(Da.cloneNode(!0)));null!=Ga&&(this.backgroundImage=Ga);null!=Na&&(this.shapeBackgroundColor=Ca,this.shapeForegroundColor=va,this.stylesheet=Na,this.refresh());
return La};var P=mxCellRenderer.prototype.destroy;mxCellRenderer.prototype.destroy=function(k){P.apply(this,arguments);null!=k.secondLabel&&(k.secondLabel.destroy(),k.secondLabel=null)};mxCellRenderer.prototype.getShapesForState=function(k){return[k.shape,k.text,k.secondLabel,k.control]};var J=mxGraphView.prototype.resetValidationState;mxGraphView.prototype.resetValidationState=function(){J.apply(this,arguments);this.enumerationState=0};var fa=mxGraphView.prototype.stateValidated;mxGraphView.prototype.stateValidated=
function(k){null!=k.shape&&this.redrawEnumerationState(k);return fa.apply(this,arguments)};mxGraphView.prototype.createEnumerationValue=function(k){k=decodeURIComponent(mxUtils.getValue(k.style,"enumerateValue",""));""==k&&(k=++this.enumerationState);return'<div style="padding:2px;border:1px solid gray;background:yellow;border-radius:2px;">'+mxUtils.htmlEntities(k)+"</div>"};mxGraphView.prototype.redrawEnumerationState=function(k){var t="1"==mxUtils.getValue(k.style,"enumerate",0);t&&null==k.secondLabel?
(k.secondLabel=new mxText("",new mxRectangle,mxConstants.ALIGN_LEFT,mxConstants.ALIGN_BOTTOM),k.secondLabel.size=12,k.secondLabel.state=k,k.secondLabel.dialect=mxConstants.DIALECT_STRICTHTML,this.graph.cellRenderer.initializeLabel(k,k.secondLabel)):t||null==k.secondLabel||(k.secondLabel.destroy(),k.secondLabel=null);t=k.secondLabel;if(null!=t){var I=k.view.scale,R=this.createEnumerationValue(k);k=this.graph.model.isVertex(k.cell)?new mxRectangle(k.x+k.width-4*I,k.y+4*I,0,0):mxRectangle.fromPoint(k.view.getPoint(k));
t.bounds.equals(k)&&t.value==R&&t.scale==I||(t.bounds=k,t.value=R,t.scale=I,t.redraw())}};var ea=Graph.prototype.refresh;Graph.prototype.refresh=function(){this.refreshBackgroundImage();ea.apply(this,arguments)};Graph.prototype.refreshBackgroundImage=function(){null!=this.backgroundImage&&null!=this.backgroundImage.originalSrc&&(this.setBackgroundImage(this.backgroundImage),this.view.validateBackgroundImage())};var T=Graph.prototype.loadStylesheet;Graph.prototype.loadStylesheet=function(){T.apply(this,
arguments);this.currentStyle="default-style2"};Graph.prototype.handleCustomLink=function(k,t){"data:action/json,"==k.substring(0,17)&&(k=JSON.parse(k.substring(17)),null!=k.actions&&this.executeCustomActions(k.actions,null,t))};Graph.prototype.executeCustomActions=function(k,t,I){if(this.executingCustomActions)this.stoppingCustomActions=!0,null!=this.pendingWaitThread&&window.clearTimeout(this.pendingWaitThread),null!=this.pendingExecuteNextAction&&this.pendingExecuteNextAction(),this.fireEvent(new mxEventObject("stopExecutingCustomActions"));
-else{this.executingCustomActions=!0;var R=!1,O=0,X=0,Z=mxUtils.bind(this,function(){R||(R=!0,this.model.beginUpdate())}),ba=mxUtils.bind(this,function(){R&&(R=!1,this.model.endUpdate())}),la=mxUtils.bind(this,function(){0<O&&O--;0==O&&qa()}),qa=mxUtils.bind(this,function(){if(X<k.length){var pa=this.stoppingCustomActions,ra=k[X++],ua=[];if(null!=ra.open)if(ba(),this.isCustomLink(ra.open)){if(!this.customLinkClicked(ra.open,I))return}else this.openLink(ra.open);null==ra.wait||pa||(this.pendingExecuteNextAction=
-mxUtils.bind(this,function(){this.pendingWaitThread=this.pendingExecuteNextAction=null;la()}),O++,this.pendingWaitThread=window.setTimeout(this.pendingExecuteNextAction,""!=ra.wait?parseInt(ra.wait):1E3),ba());null!=ra.opacity&&null!=ra.opacity.value&&Graph.setOpacityForNodes(this.getNodesForCells(this.getCellsForAction(ra.opacity,!0)),ra.opacity.value);null!=ra.fadeIn&&(O++,Graph.fadeNodes(this.getNodesForCells(this.getCellsForAction(ra.fadeIn,!0)),0,1,la,pa?0:ra.fadeIn.delay));null!=ra.fadeOut&&
-(O++,Graph.fadeNodes(this.getNodesForCells(this.getCellsForAction(ra.fadeOut,!0)),1,0,la,pa?0:ra.fadeOut.delay));null!=ra.wipeIn&&(ua=ua.concat(this.createWipeAnimations(this.getCellsForAction(ra.wipeIn,!0),!0)));null!=ra.wipeOut&&(ua=ua.concat(this.createWipeAnimations(this.getCellsForAction(ra.wipeOut,!0),!1)));null!=ra.toggle&&(Z(),this.toggleCells(this.getCellsForAction(ra.toggle,!0)));if(null!=ra.show){Z();var Ba=this.getCellsForAction(ra.show,!0);Graph.setOpacityForNodes(this.getNodesForCells(Ba),
+else{this.executingCustomActions=!0;var R=!1,O=0,X=0,Z=mxUtils.bind(this,function(){R||(R=!0,this.model.beginUpdate())}),ba=mxUtils.bind(this,function(){R&&(R=!1,this.model.endUpdate())}),ka=mxUtils.bind(this,function(){0<O&&O--;0==O&&qa()}),qa=mxUtils.bind(this,function(){if(X<k.length){var pa=this.stoppingCustomActions,ra=k[X++],ua=[];if(null!=ra.open)if(ba(),this.isCustomLink(ra.open)){if(!this.customLinkClicked(ra.open,I))return}else this.openLink(ra.open);null==ra.wait||pa||(this.pendingExecuteNextAction=
+mxUtils.bind(this,function(){this.pendingWaitThread=this.pendingExecuteNextAction=null;ka()}),O++,this.pendingWaitThread=window.setTimeout(this.pendingExecuteNextAction,""!=ra.wait?parseInt(ra.wait):1E3),ba());null!=ra.opacity&&null!=ra.opacity.value&&Graph.setOpacityForNodes(this.getNodesForCells(this.getCellsForAction(ra.opacity,!0)),ra.opacity.value);null!=ra.fadeIn&&(O++,Graph.fadeNodes(this.getNodesForCells(this.getCellsForAction(ra.fadeIn,!0)),0,1,ka,pa?0:ra.fadeIn.delay));null!=ra.fadeOut&&
+(O++,Graph.fadeNodes(this.getNodesForCells(this.getCellsForAction(ra.fadeOut,!0)),1,0,ka,pa?0:ra.fadeOut.delay));null!=ra.wipeIn&&(ua=ua.concat(this.createWipeAnimations(this.getCellsForAction(ra.wipeIn,!0),!0)));null!=ra.wipeOut&&(ua=ua.concat(this.createWipeAnimations(this.getCellsForAction(ra.wipeOut,!0),!1)));null!=ra.toggle&&(Z(),this.toggleCells(this.getCellsForAction(ra.toggle,!0)));if(null!=ra.show){Z();var Ba=this.getCellsForAction(ra.show,!0);Graph.setOpacityForNodes(this.getNodesForCells(Ba),
1);this.setCellsVisible(Ba,!0)}null!=ra.hide&&(Z(),Ba=this.getCellsForAction(ra.hide,!0),Graph.setOpacityForNodes(this.getNodesForCells(Ba),0),this.setCellsVisible(Ba,!1));null!=ra.toggleStyle&&null!=ra.toggleStyle.key&&(Z(),this.toggleCellStyles(ra.toggleStyle.key,null!=ra.toggleStyle.defaultValue?ra.toggleStyle.defaultValue:"0",this.getCellsForAction(ra.toggleStyle,!0)));null!=ra.style&&null!=ra.style.key&&(Z(),this.setCellStyles(ra.style.key,ra.style.value,this.getCellsForAction(ra.style,!0)));
Ba=[];null!=ra.select&&this.isEnabled()&&(Ba=this.getCellsForAction(ra.select),this.setSelectionCells(Ba));null!=ra.highlight&&(Ba=this.getCellsForAction(ra.highlight),this.highlightCells(Ba,ra.highlight.color,ra.highlight.duration,ra.highlight.opacity));null!=ra.scroll&&(Ba=this.getCellsForAction(ra.scroll));null!=ra.viewbox&&this.fitWindow(ra.viewbox,ra.viewbox.border);0<Ba.length&&this.scrollCellToVisible(Ba[0]);null!=I&&null!=ra.explore&&Graph.exploreFromCell(this,I,ra.explore);if(null!=ra.tags){if(null!=
-ra.tags.toggle){var ya=ra.tags.toggle;0==ya.length&&(ya=this.getAllTags());for(Ba=0;Ba<ya.length;Ba++)this.toggleHiddenTag(ya[Ba])}ya=null;null!=ra.tags.hidden&&(null==ya&&(ya=[]),ya=ya.concat(ra.tags.hidden));if(null!=ra.tags.visible){null==ya&&(ya=[]);var Aa=this.getAllTags();for(Ba=0;Ba<Aa.length;Ba++)0>mxUtils.indexOf(ra.tags.visible,Aa[Ba])&&0>mxUtils.indexOf(ya,Aa[Ba])&&ya.push(Aa[Ba])}null!=ya&&this.setHiddenTags(ya);this.refresh()}0<ua.length&&(O++,this.executeAnimations(ua,la,pa?1:ra.steps,
+ra.tags.toggle){var xa=ra.tags.toggle;0==xa.length&&(xa=this.getAllTags());for(Ba=0;Ba<xa.length;Ba++)this.toggleHiddenTag(xa[Ba])}xa=null;null!=ra.tags.hidden&&(null==xa&&(xa=[]),xa=xa.concat(ra.tags.hidden));if(null!=ra.tags.visible){null==xa&&(xa=[]);var Aa=this.getAllTags();for(Ba=0;Ba<Aa.length;Ba++)0>mxUtils.indexOf(ra.tags.visible,Aa[Ba])&&0>mxUtils.indexOf(xa,Aa[Ba])&&xa.push(Aa[Ba])}null!=xa&&this.setHiddenTags(xa);this.refresh()}0<ua.length&&(O++,this.executeAnimations(ua,ka,pa?1:ra.steps,
pa?0:ra.delay));0==O?qa():ba()}else this.stoppingCustomActions=this.executingCustomActions=!1,ba(),null!=t&&t()});qa()}};Graph.prototype.doUpdateCustomLinksForCell=function(k,t){var I=this.getLinkForCell(t);null!=I&&"data:action/json,"==I.substring(0,17)&&this.setLinkForCell(t,this.updateCustomLink(k,I));if(this.isHtmlLabel(t)){var R=document.createElement("div");R.innerHTML=Graph.sanitizeHtml(this.getLabel(t));for(var O=R.getElementsByTagName("a"),X=!1,Z=0;Z<O.length;Z++)I=O[Z].getAttribute("href"),
null!=I&&"data:action/json,"==I.substring(0,17)&&(O[Z].setAttribute("href",this.updateCustomLink(k,I)),X=!0);X&&this.labelChanged(t,R.innerHTML)}};Graph.prototype.updateCustomLink=function(k,t){if("data:action/json,"==t.substring(0,17))try{var I=JSON.parse(t.substring(17));null!=I.actions&&(this.updateCustomLinkActions(k,I.actions),t="data:action/json,"+JSON.stringify(I))}catch(R){}return t};Graph.prototype.updateCustomLinkActions=function(k,t){for(var I=0;I<t.length;I++){var R=t[I],O;for(O in R)this.updateCustomLinkAction(k,
R[O],"cells"),this.updateCustomLinkAction(k,R[O],"excludeCells")}};Graph.prototype.updateCustomLinkAction=function(k,t,I){if(null!=t&&null!=t[I]){for(var R=[],O=0;O<t[I].length;O++)if("*"==t[I][O])R.push(t[I][O]);else{var X=k[t[I][O]];null!=X?""!=X&&R.push(X):R.push(t[I][O])}t[I]=R}};Graph.prototype.getCellsForAction=function(k,t){t=this.getCellsById(k.cells).concat(this.getCellsForTags(k.tags,null,t));if(null!=k.excludeCells){for(var I=[],R=0;R<t.length;R++)0>k.excludeCells.indexOf(t[R].id)&&I.push(t[R]);
t=I}return t};Graph.prototype.getCellsById=function(k){var t=[];if(null!=k)for(var I=0;I<k.length;I++)if("*"==k[I]){var R=this.model.getRoot();t=t.concat(this.model.filterDescendants(function(X){return X!=R},R))}else{var O=this.model.getCell(k[I]);null!=O&&t.push(O)}return t};var ca=Graph.prototype.isCellVisible;Graph.prototype.isCellVisible=function(k){return ca.apply(this,arguments)&&!this.isAllTagsHidden(this.getTagsForCell(k))};Graph.prototype.setHiddenTags=function(k){this.hiddenTags=k;this.fireEvent(new mxEventObject("hiddenTagsChanged"))};
Graph.prototype.toggleHiddenTag=function(k){var t=mxUtils.indexOf(this.hiddenTags,k);0>t?this.hiddenTags.push(k):0<=t&&this.hiddenTags.splice(t,1);this.fireEvent(new mxEventObject("hiddenTagsChanged"))};Graph.prototype.isAllTagsHidden=function(k){if(null==k||0==k.length||0==this.hiddenTags.length)return!1;k=k.split(" ");if(k.length>this.hiddenTags.length)return!1;for(var t=0;t<k.length;t++)if(0>mxUtils.indexOf(this.hiddenTags,k[t]))return!1;return!0};Graph.prototype.getCellsForTags=function(k,t,I,
-R){var O=[];if(null!=k){t=null!=t?t:this.model.getDescendants(this.model.getRoot());for(var X=0,Z={},ba=0;ba<k.length;ba++)0<k[ba].length&&(Z[k[ba]]=!0,X++);for(ba=0;ba<t.length;ba++)if(I&&this.model.getParent(t[ba])==this.model.root||this.model.isVertex(t[ba])||this.model.isEdge(t[ba])){var la=this.getTagsForCell(t[ba]),qa=!1;if(0<la.length&&(la=la.split(" "),la.length>=k.length)){for(var pa=qa=0;pa<la.length&&qa<X;pa++)null!=Z[la[pa]]&&qa++;qa=qa==X}qa&&(1!=R||this.isCellVisible(t[ba]))&&O.push(t[ba])}}return O};
+R){var O=[];if(null!=k){t=null!=t?t:this.model.getDescendants(this.model.getRoot());for(var X=0,Z={},ba=0;ba<k.length;ba++)0<k[ba].length&&(Z[k[ba]]=!0,X++);for(ba=0;ba<t.length;ba++)if(I&&this.model.getParent(t[ba])==this.model.root||this.model.isVertex(t[ba])||this.model.isEdge(t[ba])){var ka=this.getTagsForCell(t[ba]),qa=!1;if(0<ka.length&&(ka=ka.split(" "),ka.length>=k.length)){for(var pa=qa=0;pa<ka.length&&qa<X;pa++)null!=Z[ka[pa]]&&qa++;qa=qa==X}qa&&(1!=R||this.isCellVisible(t[ba]))&&O.push(t[ba])}}return O};
Graph.prototype.getAllTags=function(){return this.getTagsForCells(this.model.getDescendants(this.model.getRoot()))};Graph.prototype.getCommonTagsForCells=function(k){for(var t=null,I=[],R=0;R<k.length;R++){var O=this.getTagsForCell(k[R]);I=[];if(0<O.length){O=O.split(" ");for(var X={},Z=0;Z<O.length;Z++)if(null==t||null!=t[O[Z]])X[O[Z]]=!0,I.push(O[Z]);t=X}else return[]}return I};Graph.prototype.getTagsForCells=function(k){for(var t=[],I={},R=0;R<k.length;R++){var O=this.getTagsForCell(k[R]);if(0<
O.length){O=O.split(" ");for(var X=0;X<O.length;X++)null==I[O[X]]&&(I[O[X]]=!0,t.push(O[X]))}}return t};Graph.prototype.getTagsForCell=function(k){return this.getAttributeForCell(k,"tags","")};Graph.prototype.addTagsForCells=function(k,t){if(0<k.length&&0<t.length){this.model.beginUpdate();try{for(var I=0;I<k.length;I++){for(var R=this.getTagsForCell(k[I]),O=R.split(" "),X=!1,Z=0;Z<t.length;Z++){var ba=mxUtils.trim(t[Z]);""!=ba&&0>mxUtils.indexOf(O,ba)&&(R=0<R.length?R+" "+ba:ba,X=!0)}X&&this.setAttributeForCell(k[I],
"tags",R)}}finally{this.model.endUpdate()}}};Graph.prototype.removeTagsForCells=function(k,t){if(0<k.length&&0<t.length){this.model.beginUpdate();try{for(var I=0;I<k.length;I++){var R=this.getTagsForCell(k[I]);if(0<R.length){for(var O=R.split(" "),X=!1,Z=0;Z<t.length;Z++){var ba=mxUtils.indexOf(O,t[Z]);0<=ba&&(O.splice(ba,1),X=!0)}X&&this.setAttributeForCell(k[I],"tags",O.join(" "))}}}finally{this.model.endUpdate()}}};Graph.prototype.toggleCells=function(k){this.model.beginUpdate();try{for(var t=
@@ -3429,24 +3427,24 @@ mxStencilRegistry.libraries["mockup/graphics"]=[SHAPES_PATH+"/mockup/mxMockupGra
mxStencilRegistry.libraries.ibmcloud=[STENCIL_PATH+"/ibm_cloud.xml"];mxStencilRegistry.libraries.cabinets=[SHAPES_PATH+"/mxCabinets.js",STENCIL_PATH+"/cabinets.xml"];mxStencilRegistry.libraries.archimate=[SHAPES_PATH+"/mxArchiMate.js"];mxStencilRegistry.libraries.archimate3=[SHAPES_PATH+"/mxArchiMate3.js"];mxStencilRegistry.libraries.sysml=[SHAPES_PATH+"/mxSysML.js"];mxStencilRegistry.libraries.eip=[SHAPES_PATH+"/mxEip.js",STENCIL_PATH+"/eip.xml"];mxStencilRegistry.libraries.networks=[SHAPES_PATH+
"/mxNetworks.js",STENCIL_PATH+"/networks.xml"];mxStencilRegistry.libraries.aws3d=[SHAPES_PATH+"/mxAWS3D.js",STENCIL_PATH+"/aws3d.xml"];mxStencilRegistry.libraries.aws4=[SHAPES_PATH+"/mxAWS4.js",STENCIL_PATH+"/aws4.xml"];mxStencilRegistry.libraries.aws4b=[SHAPES_PATH+"/mxAWS4.js",STENCIL_PATH+"/aws4.xml"];mxStencilRegistry.libraries.uml25=[SHAPES_PATH+"/mxUML25.js"];mxStencilRegistry.libraries.veeam=[STENCIL_PATH+"/veeam/2d.xml",STENCIL_PATH+"/veeam/3d.xml",STENCIL_PATH+"/veeam/veeam.xml"];mxStencilRegistry.libraries.veeam2=
[STENCIL_PATH+"/veeam/2d.xml",STENCIL_PATH+"/veeam/3d.xml",STENCIL_PATH+"/veeam/veeam2.xml"];mxStencilRegistry.libraries.pid2inst=[SHAPES_PATH+"/pid2/mxPidInstruments.js"];mxStencilRegistry.libraries.pid2misc=[SHAPES_PATH+"/pid2/mxPidMisc.js",STENCIL_PATH+"/pid/misc.xml"];mxStencilRegistry.libraries.pid2valves=[SHAPES_PATH+"/pid2/mxPidValves.js"];mxStencilRegistry.libraries.pidFlowSensors=[STENCIL_PATH+"/pid/flow_sensors.xml"];mxStencilRegistry.libraries.salesforce=[STENCIL_PATH+"/salesforce.xml"];
-mxStencilRegistry.libraries.sap=[SHAPES_PATH+"/mxSAP.js",STENCIL_PATH+"/sap.xml"];mxStencilRegistry.libraries.emoji=[SHAPES_PATH+"/emoji/mxEmoji.js"];mxMarker.getPackageForType=function(k){var t=null;null!=k&&0<k.length&&("ER"==k.substring(0,2)?t="mxgraph.er":"sysML"==k.substring(0,5)&&(t="mxgraph.sysml"));return t};var ka=mxMarker.createMarker;mxMarker.createMarker=function(k,t,I,R,O,X,Z,ba,la,qa){if(null!=I&&null==mxMarker.markers[I]){var pa=this.getPackageForType(I);null!=pa&&mxStencilRegistry.getStencil(pa)}return ka.apply(this,
+mxStencilRegistry.libraries.sap=[SHAPES_PATH+"/mxSAP.js",STENCIL_PATH+"/sap.xml"];mxStencilRegistry.libraries.emoji=[SHAPES_PATH+"/emoji/mxEmoji.js"];mxMarker.getPackageForType=function(k){var t=null;null!=k&&0<k.length&&("ER"==k.substring(0,2)?t="mxgraph.er":"sysML"==k.substring(0,5)&&(t="mxgraph.sysml"));return t};var ja=mxMarker.createMarker;mxMarker.createMarker=function(k,t,I,R,O,X,Z,ba,ka,qa){if(null!=I&&null==mxMarker.markers[I]){var pa=this.getPackageForType(I);null!=pa&&mxStencilRegistry.getStencil(pa)}return ja.apply(this,
arguments)};var ma=mxStencil.prototype.drawShape;mxStencil.prototype.drawShape=function(k,t,I,R,O,X){"1"==mxUtils.getValue(t.style,"lineShape",null)&&k.setFillColor(mxUtils.getValue(t.style,mxConstants.STYLE_STROKECOLOR,this.stroke));return ma.apply(this,arguments)};PrintDialog.prototype.create=function(k,t,I){function R(){Ba.value=Math.max(1,Math.min(qa,Math.max(parseInt(Ba.value),parseInt(ua.value))));ua.value=Math.max(1,Math.min(qa,Math.min(parseInt(Ba.value),parseInt(ua.value))))}function O(ta){k.lastPrintPagesRadioChecked=
-ra.checked;k.lastPrintSelectionOnlyChecked=Aa.checked;k.lastPrintCropRadioChecked=va.checked;k.lastPrintFitRadioChecked=Da.checked;ra.checked&&ua.value<Ba.value?(k.lastPrintPagesFromInput=ua.value,k.lastPrintPagesToInput=Ba.value):(k.lastPrintPagesFromInput=null,k.lastPrintPagesToInput=null);Y.value=Math.max(1,Math.min(1600,parseInt(Y.value)))+"%";k.lastPrintZoom=Y.value;k.lastPrintBorder=Q.value;k.lastPrintGrid=ia.checked;k.lastPrintTransparent=ja.checked;k.lastPrintInclude=oa.checked;k.lastPrintSheetsAcross=
-u.value;k.lastPrintSheetsDown=N.value;var sa={};sa.border=parseInt(Q.value);sa.scale=parseInt(Y.value)/100;sa.grid=ia.checked;sa.transparent=ja.checked;sa.includeCopy=oa.checked;sa.sheetsAcross=parseInt(u.value);sa.sheetsDown=parseInt(N.value);sa.pagesFrom=parseInt(ua.value);sa.pagesTo=parseInt(Ba.value);sa.allPages=pa.checked;sa.selection=Aa.checked;sa.pageView=Na.checked;sa.crop=va.checked;sa.fit=Da.checked;return null!=I?I(!ta,sa):k.print(!ta,sa)}var X=k.editor.graph,Z=document.createElement("div"),
-ba=document.createElement("h3");ba.style.width="100%";ba.style.textAlign="center";ba.style.marginTop="0px";mxUtils.write(ba,t||mxResources.get("print"));Z.appendChild(ba);var la=1,qa=1;ba=document.createElement("div");ba.style.whiteSpace="nowrap";var pa=document.createElement("input");pa.style.marginRight="8px";pa.style.marginBottom="8px";pa.setAttribute("type","radio");pa.setAttribute("name","pages-printdialog");ba.appendChild(pa);t=document.createElement("span");mxUtils.write(t,mxResources.get("allPages"));
+ra.checked;k.lastPrintSelectionOnlyChecked=Aa.checked;k.lastPrintCropRadioChecked=va.checked;k.lastPrintFitRadioChecked=Ca.checked;ra.checked&&ua.value<Ba.value?(k.lastPrintPagesFromInput=ua.value,k.lastPrintPagesToInput=Ba.value):(k.lastPrintPagesFromInput=null,k.lastPrintPagesToInput=null);Y.value=Math.max(1,Math.min(1600,parseInt(Y.value)))+"%";k.lastPrintZoom=Y.value;k.lastPrintBorder=Q.value;k.lastPrintGrid=ia.checked;k.lastPrintTransparent=la.checked;k.lastPrintInclude=oa.checked;k.lastPrintSheetsAcross=
+u.value;k.lastPrintSheetsDown=N.value;var sa={};sa.border=parseInt(Q.value);sa.scale=parseInt(Y.value)/100;sa.grid=ia.checked;sa.transparent=la.checked;sa.includeCopy=oa.checked;sa.sheetsAcross=parseInt(u.value);sa.sheetsDown=parseInt(N.value);sa.pagesFrom=parseInt(ua.value);sa.pagesTo=parseInt(Ba.value);sa.allPages=pa.checked;sa.selection=Aa.checked;sa.pageView=Na.checked;sa.crop=va.checked;sa.fit=Ca.checked;return null!=I?I(!ta,sa):k.print(!ta,sa)}var X=k.editor.graph,Z=document.createElement("div"),
+ba=document.createElement("h3");ba.style.width="100%";ba.style.textAlign="center";ba.style.marginTop="0px";mxUtils.write(ba,t||mxResources.get("print"));Z.appendChild(ba);var ka=1,qa=1;ba=document.createElement("div");ba.style.whiteSpace="nowrap";var pa=document.createElement("input");pa.style.marginRight="8px";pa.style.marginBottom="8px";pa.setAttribute("type","radio");pa.setAttribute("name","pages-printdialog");ba.appendChild(pa);t=document.createElement("span");mxUtils.write(t,mxResources.get("allPages"));
mxEvent.addListener(t,"click",function(){pa.checked=!0});ba.appendChild(t);mxUtils.br(ba);var ra=pa.cloneNode(!0);ba.appendChild(ra);t=document.createElement("span");mxUtils.write(t,mxResources.get("pages")+":");ba.appendChild(t);mxEvent.addListener(t,"click",function(){ra.checked=!0});var ua=document.createElement("input");ua.style.margin="0 4px";ua.setAttribute("value","1");ua.setAttribute("type","number");ua.setAttribute("min","1");ua.style.width="40px";ba.appendChild(ua);t=document.createElement("span");
-mxUtils.write(t,mxResources.get("to"));ba.appendChild(t);var Ba=ua.cloneNode(!0);ba.appendChild(Ba);mxEvent.addListener(ua,"focus",function(){ra.checked=!0});mxEvent.addListener(Ba,"focus",function(){ra.checked=!0});mxEvent.addListener(ua,"change",R);mxEvent.addListener(Ba,"change",R);if(null!=k.pages&&(qa=k.pages.length,null!=k.currentPage))for(var ya=0;ya<qa;ya++)if(k.currentPage==k.pages[ya]){la=ya+1;break}null!=k.lastPrintPagesFromInput&&null!=k.lastPrintPagesToInput?(ua.value=Math.min(qa,Math.max(1,
-k.lastPrintPagesFromInput)),Ba.value=Math.min(qa,Math.max(1,k.lastPrintPagesToInput))):(ua.value=la,Ba.value=la);ua.setAttribute("max",qa);Ba.setAttribute("max",qa);ya=mxUtils.button(mxResources.get("currentPage"),function(ta){ua.value=la;Ba.value=la;ra.checked=!0});ya.setAttribute("title",mxResources.get("currentPage"));ya.style.marginLeft="4px";ya.style.maxWidth="100px";ya.style.overflow="hidden";ya.style.textOverflow="ellipsis";ya.style.whiteSpace="nowrap";ba.appendChild(ya);1<qa&&Z.appendChild(ba);
+mxUtils.write(t,mxResources.get("to"));ba.appendChild(t);var Ba=ua.cloneNode(!0);ba.appendChild(Ba);mxEvent.addListener(ua,"focus",function(){ra.checked=!0});mxEvent.addListener(Ba,"focus",function(){ra.checked=!0});mxEvent.addListener(ua,"change",R);mxEvent.addListener(Ba,"change",R);if(null!=k.pages&&(qa=k.pages.length,null!=k.currentPage))for(var xa=0;xa<qa;xa++)if(k.currentPage==k.pages[xa]){ka=xa+1;break}null!=k.lastPrintPagesFromInput&&null!=k.lastPrintPagesToInput?(ua.value=Math.min(qa,Math.max(1,
+k.lastPrintPagesFromInput)),Ba.value=Math.min(qa,Math.max(1,k.lastPrintPagesToInput))):(ua.value=ka,Ba.value=ka);ua.setAttribute("max",qa);Ba.setAttribute("max",qa);xa=mxUtils.button(mxResources.get("currentPage"),function(ta){ua.value=ka;Ba.value=ka;ra.checked=!0});xa.setAttribute("title",mxResources.get("currentPage"));xa.style.marginLeft="4px";xa.style.maxWidth="100px";xa.style.overflow="hidden";xa.style.textOverflow="ellipsis";xa.style.whiteSpace="nowrap";ba.appendChild(xa);1<qa&&Z.appendChild(ba);
ba=document.createElement("div");ba.style.borderBottom="1px solid lightGray";ba.style.paddingBottom="12px";ba.style.marginBottom="12px";ba.style.whiteSpace="nowrap";var Aa=document.createElement("input");Aa.setAttribute("name","pages-printdialog");Aa.setAttribute("type",1==qa?"checkbox":"radio");Aa.style.marginRight="8px";X.isSelectionEmpty()&&Aa.setAttribute("disabled","disabled");X.isEnabled()&&(ba.appendChild(Aa),t=document.createElement("span"),mxUtils.write(t,mxResources.get("selectionOnly")),
ba.appendChild(t));(X.isEnabled()||1<qa)&&Z.appendChild(ba);!k.isPagesEnabled()||k.lastPrintPagesRadioChecked?ra.checked=!0:!X.isSelectionEmpty()&&k.lastPrintSelectionOnlyChecked?Aa.checked=!0:pa.checked=!0;X.isSelectionEmpty()||mxEvent.addListener(t,"click",function(){Aa.checked=!Aa.checked});X=document.createElement("div");X.style.whiteSpace="nowrap";var Na=document.createElement("input");Na.style.marginBottom="8px";Na.style.marginRight="8px";Na.setAttribute("type","radio");Na.setAttribute("name",
"printSize");X.appendChild(Na);t=document.createElement("span");mxUtils.write(t,mxResources.get("pageView"));X.appendChild(t);mxEvent.addListener(X,"click",function(){Na.checked=!0});Z.appendChild(X);X=document.createElement("div");X.style.whiteSpace="nowrap";var va=document.createElement("input");va.style.marginBottom="8px";va.style.marginRight="8px";va.setAttribute("type","radio");va.setAttribute("name","printSize");X.appendChild(va);t=document.createElement("span");mxUtils.write(t,mxResources.get("crop"));
-X.appendChild(t);mxEvent.addListener(X,"click",function(){va.checked=!0});Z.appendChild(X);X=document.createElement("div");X.style.whiteSpace="nowrap";var Da=document.createElement("input");Da.style.marginBottom="8px";Da.style.marginRight="8px";Da.setAttribute("type","radio");Da.setAttribute("name","printSize");t=document.createElement("div");t.style.display="inline-block";t.style.verticalAlign="top";t.style.paddingTop="2px";t.appendChild(Da);X.appendChild(t);ba=document.createElement("table");ba.style.display=
-"inline-block";ba.style.borderSpacing="0";ya=document.createElement("tbody");var Ha=document.createElement("tr"),La=Ha.cloneNode(!0),Ea=document.createElement("td"),za=Ea.cloneNode(!0),Ra=Ea.cloneNode(!0),Ja=Ea.cloneNode(!0),Qa=Ea.cloneNode(!0),Ma=Ea.cloneNode(!0);Ea.style.textAlign="right";Ja.style.textAlign="right";mxUtils.write(Ea,mxResources.get("fitTo"));mxEvent.addListener(X,"click",function(ta){mxEvent.getSource(ta)!=Da&&(Da.checked=!Da.checked)});var u=document.createElement("input");u.style.margin=
-"0 2px";u.style.boxSizing="border-box";u.setAttribute("value",k.lastPrintSheetsAcross||"1");u.setAttribute("min","1");u.setAttribute("type","number");u.style.width="40px";za.appendChild(u);t=document.createElement("span");mxUtils.write(t,mxResources.get("fitToSheetsAcross"));Ra.appendChild(t);mxUtils.write(Ja,mxResources.get("fitToBy"));var N=u.cloneNode(!0);N.setAttribute("value",k.lastPrintSheetsDown||"1");Qa.appendChild(N);mxEvent.addListener(u,"click",function(ta){Da.checked=!0;mxEvent.consume(ta)});
-mxEvent.addListener(N,"click",function(ta){Da.checked=!0;mxEvent.consume(ta)});k.lastPrintCropRadioChecked?va.checked=!0:k.lastPrintFitRadioChecked?Da.checked=!0:Na.checked=!0;t=document.createElement("span");mxUtils.write(t,mxResources.get("fitToSheetsDown"));Ma.appendChild(t);Ha.appendChild(Ea);Ha.appendChild(za);Ha.appendChild(Ra);La.appendChild(Ja);La.appendChild(Qa);La.appendChild(Ma);ya.appendChild(Ha);ya.appendChild(La);ba.appendChild(ya);X.appendChild(ba);Z.appendChild(X);X=document.createElement("div");
+X.appendChild(t);mxEvent.addListener(X,"click",function(){va.checked=!0});Z.appendChild(X);X=document.createElement("div");X.style.whiteSpace="nowrap";var Ca=document.createElement("input");Ca.style.marginBottom="8px";Ca.style.marginRight="8px";Ca.setAttribute("type","radio");Ca.setAttribute("name","printSize");t=document.createElement("div");t.style.display="inline-block";t.style.verticalAlign="top";t.style.paddingTop="2px";t.appendChild(Ca);X.appendChild(t);ba=document.createElement("table");ba.style.display=
+"inline-block";ba.style.borderSpacing="0";xa=document.createElement("tbody");var Ga=document.createElement("tr"),La=Ga.cloneNode(!0),Da=document.createElement("td"),za=Da.cloneNode(!0),Ra=Da.cloneNode(!0),Ja=Da.cloneNode(!0),Qa=Da.cloneNode(!0),Ma=Da.cloneNode(!0);Da.style.textAlign="right";Ja.style.textAlign="right";mxUtils.write(Da,mxResources.get("fitTo"));mxEvent.addListener(X,"click",function(ta){mxEvent.getSource(ta)!=Ca&&(Ca.checked=!Ca.checked)});var u=document.createElement("input");u.style.margin=
+"0 2px";u.style.boxSizing="border-box";u.setAttribute("value",k.lastPrintSheetsAcross||"1");u.setAttribute("min","1");u.setAttribute("type","number");u.style.width="40px";za.appendChild(u);t=document.createElement("span");mxUtils.write(t,mxResources.get("fitToSheetsAcross"));Ra.appendChild(t);mxUtils.write(Ja,mxResources.get("fitToBy"));var N=u.cloneNode(!0);N.setAttribute("value",k.lastPrintSheetsDown||"1");Qa.appendChild(N);mxEvent.addListener(u,"click",function(ta){Ca.checked=!0;mxEvent.consume(ta)});
+mxEvent.addListener(N,"click",function(ta){Ca.checked=!0;mxEvent.consume(ta)});k.lastPrintCropRadioChecked?va.checked=!0:k.lastPrintFitRadioChecked?Ca.checked=!0:Na.checked=!0;t=document.createElement("span");mxUtils.write(t,mxResources.get("fitToSheetsDown"));Ma.appendChild(t);Ga.appendChild(Da);Ga.appendChild(za);Ga.appendChild(Ra);La.appendChild(Ja);La.appendChild(Qa);La.appendChild(Ma);xa.appendChild(Ga);xa.appendChild(La);ba.appendChild(xa);X.appendChild(ba);Z.appendChild(X);X=document.createElement("div");
X.style.borderTop="1px solid lightGray";X.style.whiteSpace="nowrap";X.style.paddingTop="12px";X.style.marginTop="12px";X.style.paddingLeft="8px";mxUtils.write(X,mxResources.get("borderWidth")+":");var Q=document.createElement("input");Q.setAttribute("type","number");Q.setAttribute("min","0");Q.style.width="40px";Q.style.marginLeft="4px";Q.value=null!=k.lastPrintBorder?k.lastPrintBorder:mxPrintPreview.prototype.pageMargin;X.appendChild(Q);t=document.createElement("span");t.style.marginLeft="8px";mxUtils.write(t,
mxResources.get("zoom")+":");X.appendChild(t);var Y=document.createElement("input");Y.style.width="60px";Y.style.marginLeft="4px";Y.value=null!=k.lastPrintZoom?k.lastPrintZoom:"100%";X.appendChild(Y);mxUtils.br(X);var ia=document.createElement("input");ia.setAttribute("type","checkbox");ia.style.marginTop="12px";ia.checked=null!=k.lastPrintGrid?k.lastPrintGrid:!1;X.appendChild(ia);t=document.createElement("span");t.style.marginLeft="4px";t.style.marginRight="8px";mxUtils.write(t,mxResources.get("grid"));
-X.appendChild(t);mxEvent.addListener(t,"click",function(ta){ia.checked=!0;mxEvent.consume(ta)});var ja=document.createElement("input");ja.setAttribute("type","checkbox");ja.style.marginTop="10px";ja.checked=null!=k.lastPrintTransparent?k.lastPrintTransparent:!1;null!=I&&(X.appendChild(ja),t=document.createElement("span"),t.style.marginLeft="4px",mxUtils.write(t,mxResources.get("transparentBackground")),X.appendChild(t),mxEvent.addListener(t,"click",function(ta){ja.checked=!0;mxEvent.consume(ta)}));
+X.appendChild(t);mxEvent.addListener(t,"click",function(ta){ia.checked=!0;mxEvent.consume(ta)});var la=document.createElement("input");la.setAttribute("type","checkbox");la.style.marginTop="10px";la.checked=null!=k.lastPrintTransparent?k.lastPrintTransparent:!1;null!=I&&(X.appendChild(la),t=document.createElement("span"),t.style.marginLeft="4px",mxUtils.write(t,mxResources.get("transparentBackground")),X.appendChild(t),mxEvent.addListener(t,"click",function(ta){la.checked=!0;mxEvent.consume(ta)}));
var oa=document.createElement("input");oa.setAttribute("type","checkbox");oa.style.marginTop="10px";oa.checked=null!=k.lastPrintInclude?k.lastPrintInclude:Editor.defaultIncludeDiagram;null==I||mxClient.IS_CHROMEAPP||"draw.io"!=k.getServiceName()||(mxUtils.br(X),X.appendChild(oa),t=document.createElement("span"),t.style.marginLeft="4px",mxUtils.write(t,mxResources.get("includeCopyOfMyDiagram")),X.appendChild(t),mxEvent.addListener(t,"click",function(ta){oa.checked=!0;mxEvent.consume(ta)}));Z.appendChild(X);
t=document.createElement("div");t.style.marginTop="40px";t.style.textAlign="right";t.style.whiteSpace="nowrap";k.isOffline()||null!=I||t.appendChild(k.createHelpIcon("https://www.drawio.com/doc/faq/print-diagram"));X=mxUtils.button(mxResources.get("cancel"),function(){k.hideDialog()});X.className="geBtn";k.editor.cancelFirst&&t.appendChild(X);PrintDialog.previewEnabled&&null==I&&(ba=mxUtils.button(mxResources.get("preview"),function(){try{k.hideDialog(),O(!1)}catch(ta){k.handleError(ta)}}),ba.className=
"geBtn",t.appendChild(ba));ba=mxUtils.button(mxResources.get(null!=I?"export":PrintDialog.previewEnabled?"print":"ok"),function(){try{k.hideDialog(),O(!0)}catch(ta){k.handleError(ta)}});ba.className="geBtn gePrimaryBtn";t.appendChild(ba);k.editor.cancelFirst||t.appendChild(X);Z.appendChild(t);this.container=Z};var aa=ChangePageSetup.prototype.execute;ChangePageSetup.prototype.execute=function(){null==this.page&&(this.page=this.ui.currentPage);if(this.page!=this.ui.currentPage){if(null!=this.page.viewState){this.ignoreColor||
@@ -3454,7 +3452,7 @@ t=document.createElement("div");t.style.marginTop="40px";t.style.textAlign="righ
(this.ui.setMathEnabled(this.mathEnabled),this.mathEnabled=!this.mathEnabled),null!=this.shadowVisible&&this.shadowVisible!=this.ui.editor.graph.shadowVisible&&(this.ui.editor.graph.setShadowVisible(this.shadowVisible),this.shadowVisible=!this.shadowVisible)};Editor.prototype.useCanvasForExport=!1;try{var V=document.createElement("canvas"),da=new Image;da.onload=function(){try{V.getContext("2d").drawImage(da,0,0);var k=V.toDataURL("image/png");Editor.prototype.useCanvasForExport=null!=k&&6<k.length}catch(t){}};
da.src="data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1px" height="1px" version="1.1"><foreignObject pointer-events="all" width="1" height="1"><div xmlns="http://www.w3.org/1999/xhtml"></div></foreignObject></svg>')))}catch(k){}Editor.prototype.useCanvasForExport=!1})();
(function(){var b=new mxObjectCodec(new ChangePageSetup,["ui","previousColor","previousImage","previousFormat"]);b.beforeDecode=function(e,g,n){n.ui=e.ui;return g};b.afterDecode=function(e,g,n){n.previousColor=n.color;n.previousImage=n.image;n.previousFormat=n.format;null!=n.foldingEnabled&&(n.foldingEnabled=!n.foldingEnabled);null!=n.mathEnabled&&(n.mathEnabled=!n.mathEnabled);null!=n.shadowVisible&&(n.shadowVisible=!n.shadowVisible);return n};mxCodecRegistry.register(b)})();
-(function(){var b=new mxObjectCodec(new ChangeGridColor,["ui"]);b.beforeDecode=function(e,g,n){n.ui=e.ui;return g};mxCodecRegistry.register(b)})();(function(){EditorUi.VERSION="24.8.6";EditorUi.compactUi="atlas"!=Editor.currentTheme||window.DRAWIO_PUBLIC_BUILD;Editor.isDarkMode()&&(mxGraphView.prototype.gridColor=mxGraphView.prototype.defaultDarkGridColor);EditorUi.enableLogging="1"!=urlParams.stealth&&"1"!=urlParams.lockdown&&(/.*\.draw\.io$/.test(window.location.hostname)||/.*\.diagrams\.net$/.test(window.location.hostname))&&"https://preprod.diagrams.net/"!=window.location.hostname&&"support.draw.io"!=window.location.hostname;EditorUi.drawHost=
+(function(){var b=new mxObjectCodec(new ChangeGridColor,["ui"]);b.beforeDecode=function(e,g,n){n.ui=e.ui;return g};mxCodecRegistry.register(b)})();(function(){EditorUi.VERSION="24.8.9";EditorUi.compactUi="atlas"!=Editor.currentTheme||window.DRAWIO_PUBLIC_BUILD;Editor.isDarkMode()&&(mxGraphView.prototype.gridColor=mxGraphView.prototype.defaultDarkGridColor);EditorUi.enableLogging="1"!=urlParams.stealth&&"1"!=urlParams.lockdown&&(/.*\.draw\.io$/.test(window.location.hostname)||/.*\.diagrams\.net$/.test(window.location.hostname))&&"https://preprod.diagrams.net/"!=window.location.hostname&&"support.draw.io"!=window.location.hostname;EditorUi.drawHost=
window.DRAWIO_BASE_URL;EditorUi.lightboxHost=window.DRAWIO_LIGHTBOX_URL;EditorUi.lastErrorMessage=null;EditorUi.ignoredAnonymizedChars="\n\t`~!@#$%^&*()_+{}|:\"<>?-=[];'./,\n\t";EditorUi.templateFile=TEMPLATE_PATH+"/index.xml";EditorUi.cacheUrl=window.REALTIME_URL;null==EditorUi.cacheUrl&&"undefined"!==typeof DrawioFile&&(DrawioFile.SYNC="none");Editor.cacheTimeout=1E4;EditorUi.enablePlantUml=EditorUi.enableLogging;EditorUi.isElectronApp=null!=window&&null!=window.process&&null!=window.process.versions&&
null!=window.process.versions.electron;EditorUi.nativeFileSupport=!mxClient.IS_OP&&!EditorUi.isElectronApp&&"1"!=urlParams.extAuth&&"showSaveFilePicker"in window&&"showOpenFilePicker"in window;EditorUi.enableDrafts=!mxClient.IS_CHROMEAPP&&isLocalStorage&&"0"!=urlParams.drafts;EditorUi.scratchpadHelpLink="https://www.drawio.com/doc/faq/scratchpad";EditorUi.enableHtmlEditOption=!0;EditorUi.mermaidDiagramTypes="flowchart classDiagram sequenceDiagram stateDiagram mindmap graph erDiagram requirementDiagram journey gantt pie gitGraph".split(" ");
EditorUi.defaultMermaidConfig={theme:"neutral",arrowMarkerAbsolute:!1,flowchart:{htmlLabels:!1},sequence:{diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,mirrorActors:!0,bottomMarginAdj:1,useMaxWidth:!0,rightAngles:!1,showSequenceNumbers:!1},gantt:{titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,leftPadding:75,gridLineStartPadding:35,fontSize:11,fontFamily:'"Open-Sans", "sans-serif"',numberSectionStyles:4,axisFormat:"%Y-%m-%d"}};
@@ -3473,10 +3471,10 @@ f.toDataURL("image/jpeg");EditorUi.prototype.jpgSupported=null!==z.match("image/
EditorUi.prototype.getLocalData=function(c,f){f(localStorage.getItem(c))};EditorUi.prototype.setLocalData=function(c,f,l){localStorage.setItem(c,f);null!=l&&l()};EditorUi.prototype.isLocked=function(){var c=this.getCurrentFile();return null!=c&&c.isLocked()};EditorUi.prototype.removeLocalData=function(c,f){localStorage.removeItem(c);f()};EditorUi.prototype.setShareCursorPosition=function(c){this.shareCursorPosition=c;this.fireEvent(new mxEventObject("shareCursorPositionChanged"))};EditorUi.prototype.isShareCursorPosition=
function(){return this.shareCursorPosition};EditorUi.prototype.setShowRemoteCursors=function(c){this.showRemoteCursors=c;this.fireEvent(new mxEventObject("showRemoteCursorsChanged"))};EditorUi.prototype.isShowRemoteCursors=function(){return this.showRemoteCursors};EditorUi.prototype.setMathEnabled=function(c){var f=this.editor.graph;f.mathEnabled=c;null!=f.view.backgroundImage&&(f.view.backgroundImage.destroy(),f.view.backgroundImage=null);this.editor.updateGraphComponents();f.refresh();f.defaultMathEnabled=
c;this.fireEvent(new mxEventObject("mathEnabledChanged"))};EditorUi.prototype.isMathEnabled=function(c){return this.editor.graph.mathEnabled};EditorUi.prototype.isStandaloneApp=function(){return mxClient.IS_CHROMEAPP||EditorUi.isElectronApp||this.isOfflineApp()};EditorUi.prototype.isOfflineApp=function(){return"1"==urlParams.offline};EditorUi.prototype.isOffline=function(c){return this.isOfflineApp()||!navigator.onLine||!c&&("1"==urlParams.stealth||"1"==urlParams.lockdown)};EditorUi.prototype.isExternalDataComms=
-function(){return"1"!=urlParams.offline&&!this.isOffline()&&!this.isOfflineApp()};EditorUi.prototype.createSpinner=function(c,f,l){var z=null==c||null==f;l=null!=l?l:24;var A=new Spinner({lines:12,length:l,width:Math.round(l/3),radius:Math.round(l/2),rotate:0,color:Editor.isDarkMode()?"#c0c0c0":"#000",speed:1.5,trail:60,shadow:!1,hwaccel:!1,zIndex:2E9}),B=this.timeout,G=A.spin,L=null,P=null,J=mxUtils.bind(this,function(ea){null!=ea&&ea()});A.spin=function(ea,T,ca,ka){ka=null!=ka?ka:B;var ma=!1;if(!this.active){var aa=
-Date.now();null!=ca&&(L=window.setTimeout(function(){A.stop();L=null;ca({code:App.ERROR_TIMEOUT,message:mxResources.get("timeout"),retry:P})},ka));G.call(this,ea);this.active=!0;null!=T&&(z&&(f=Math.max(document.body.clientHeight||0,document.documentElement.clientHeight||0)/2,c=document.body.clientWidth/2-2),ma=document.createElement("div"),ma.className="geSpinnerStatus",ma.style.position="absolute",ma.style.whiteSpace="nowrap",ma.style.background="#4B4243",ma.style.color="white",ma.style.fontFamily=
+function(){return"1"!=urlParams.offline&&!this.isOffline()&&!this.isOfflineApp()};EditorUi.prototype.createSpinner=function(c,f,l){var z=null==c||null==f;l=null!=l?l:24;var A=new Spinner({lines:12,length:l,width:Math.round(l/3),radius:Math.round(l/2),rotate:0,color:Editor.isDarkMode()?"#c0c0c0":"#000",speed:1.5,trail:60,shadow:!1,hwaccel:!1,zIndex:2E9}),B=this.timeout,G=A.spin,L=null,P=null,J=mxUtils.bind(this,function(ea){null!=ea&&ea()});A.spin=function(ea,T,ca,ja){ja=null!=ja?ja:B;var ma=!1;if(!this.active){var aa=
+Date.now();null!=ca&&(L=window.setTimeout(function(){A.stop();L=null;ca({code:App.ERROR_TIMEOUT,message:mxResources.get("timeout"),retry:P})},ja));G.call(this,ea);this.active=!0;null!=T&&(z&&(f=Math.max(document.body.clientHeight||0,document.documentElement.clientHeight||0)/2,c=document.body.clientWidth/2-2),ma=document.createElement("div"),ma.className="geSpinnerStatus",ma.style.position="absolute",ma.style.whiteSpace="nowrap",ma.style.background="#4B4243",ma.style.color="white",ma.style.fontFamily=
Editor.defaultHtmlFont,ma.style.fontSize="9pt",ma.style.padding="6px",ma.style.paddingLeft="10px",ma.style.paddingRight="10px",ma.style.zIndex=2E9,ma.style.left=Math.max(0,c)+"px",ma.style.top=Math.max(0,f+70)+"px",mxUtils.setPrefixedStyle(ma.style,"borderRadius","6px"),mxUtils.setPrefixedStyle(ma.style,"transform","translate(-50%,-50%)"),Editor.isDarkMode()||mxUtils.setPrefixedStyle(ma.style,"boxShadow","2px 2px 3px 0px #ddd"),"..."!=T.substring(T.length-3,T.length)&&"!"!=T.charAt(T.length-1)&&(T+=
-"..."),ma.innerHTML=mxUtils.htmlEntities(T),ea.appendChild(ma),A.status=ma);this.pause=mxUtils.bind(this,function(){var V=J;this.active&&(ka=Math.max(0,ka-(Date.now()-aa)),V=mxUtils.bind(this,function(da){this.spin(ea,T,ca,ka);if(null!=da)try{da(),P=mxUtils.bind(this,function(){this.spin(ea,T,ca,ka);try{da()}catch(k){null!=ca&&ca(k)}})}catch(k){null!=ca&&ca(k)}}));this.stop();return V});ma=!0}return ma};var fa=A.stop;A.stop=function(){fa.call(this);this.active&&(this.active=!1,null!=L&&(window.clearTimeout(L),
+"..."),ma.innerHTML=mxUtils.htmlEntities(T),ea.appendChild(ma),A.status=ma);this.pause=mxUtils.bind(this,function(){var V=J;this.active&&(ja=Math.max(0,ja-(Date.now()-aa)),V=mxUtils.bind(this,function(da){this.spin(ea,T,ca,ja);if(null!=da)try{da(),P=mxUtils.bind(this,function(){this.spin(ea,T,ca,ja);try{da()}catch(k){null!=ca&&ca(k)}})}catch(k){null!=ca&&ca(k)}}));this.stop();return V});ma=!0}return ma};var fa=A.stop;A.stop=function(){fa.call(this);this.active&&(this.active=!1,null!=L&&(window.clearTimeout(L),
L=null),null!=A.status&&null!=A.status.parentNode&&A.status.parentNode.removeChild(A.status),A.status=null)};A.pause=function(){return J};return A};EditorUi.prototype.isCompatibleString=function(c){try{var f=mxUtils.parseXml(c),l=this.editor.extractGraphModel(f.documentElement,!0);return null!=l&&0==l.getElementsByTagName("parsererror").length}catch(z){}return!1};EditorUi.isVisioFilename=function(c){return/(\.v(dx|sdx?))($|\?)/i.test(c)||/(\.vs(x|sx?))($|\?)/i.test(c)};EditorUi.prototype.isVisioData=
function(c){return 8<c.length&&(208==c.charCodeAt(0)&&207==c.charCodeAt(1)&&17==c.charCodeAt(2)&&224==c.charCodeAt(3)&&161==c.charCodeAt(4)&&177==c.charCodeAt(5)&&26==c.charCodeAt(6)&&225==c.charCodeAt(7)||80==c.charCodeAt(0)&&75==c.charCodeAt(1)&&3==c.charCodeAt(2)&&4==c.charCodeAt(3)||80==c.charCodeAt(0)&&75==c.charCodeAt(1)&&3==c.charCodeAt(2)&&6==c.charCodeAt(3))};EditorUi.prototype.isRemoteVisioData=function(c){return 8<c.length&&(208==c.charCodeAt(0)&&207==c.charCodeAt(1)&&17==c.charCodeAt(2)&&
224==c.charCodeAt(3)&&161==c.charCodeAt(4)&&177==c.charCodeAt(5)&&26==c.charCodeAt(6)&&225==c.charCodeAt(7)||60==c.charCodeAt(0)&&63==c.charCodeAt(1)&&120==c.charCodeAt(2)&&109==c.charCodeAt(3)&&108==c.charCodeAt(3))};var b=EditorUi.prototype.createKeyHandler;EditorUi.prototype.createKeyHandler=function(c){var f=b.apply(this,arguments);if(!this.editor.chromeless||this.editor.editable){var l=f.getFunction,z=this.editor.graph,A=this;f.getFunction=function(B){if(z.isSelectionEmpty()&&null!=A.pages&&
@@ -3486,10 +3484,10 @@ function(c){var f=e.apply(this,arguments);if(null==f)try{var l=c.indexOf("&lt;mx
c&&0<c.length){var f=c.indexOf('<meta charset="utf-8">');0<=f&&(c=c.slice(0,f)+'<meta charset="utf-8"/>'+c.slice(f+23-1,c.length));c=Graph.zapGremlins(c)}return c};EditorUi.prototype.replaceFileData=function(c,f){EditorUi.debug("EditorUi.replaceFileData",[this],"data",[c],"patches",f);c=this.validateFileData(c);c=null!=c&&0<c.length?mxUtils.parseXml(c).documentElement:null;var l=null!=c?this.editor.extractGraphModel(c,!0):null;null!=l&&(c=l);if(null!=c){l=this.editor.graph;l.model.beginUpdate();try{var z=
null!=this.pages?this.pages.slice():null,A=c.getElementsByTagName("diagram");if(1<A.length||1==A.length&&A[0].hasAttribute("name")){this.fileNode=c;this.pages=null!=this.pages?this.pages:[];for(var B=A.length-1;0<=B;B--){var G=this.updatePageRoot(new DiagramPage(A[B]));null==G.getName()&&G.setName(mxResources.get("pageWithNumber",[B+1]));l.model.execute(new ChangePage(this,G,0==B?G:null,0))}}else null==this.fileNode&&(this.fileNode=c.ownerDocument.createElement("mxfile"),this.currentPage=new DiagramPage(c.ownerDocument.createElement("diagram")),
this.currentPage.setName(mxResources.get("pageWithNumber",[1])),l.model.execute(new ChangePage(this,this.currentPage,this.currentPage,0))),this.editor.setGraphXml(c),null!=this.currentPage&&(this.currentPage.root=this.editor.graph.model.root,l.model.execute(new ChangePage(this,this.currentPage,this.currentPage,0)));if(null!=z)for(B=0;B<z.length;B++)l.model.execute(new ChangePage(this,z[B],null));var L=this.getCurrentFile();null!=L&&L.fileReplaced(f)}finally{l.model.endUpdate()}}};EditorUi.prototype.createFileData=
-function(c,f,l,z,A,B,G,L,P,J,fa,ea,T){f=null!=f?f:this.editor.graph;A=null!=A?A:!1;P=null!=P?P:!0;fa=null!=fa?fa:!Editor.defaultCompressed;var ca=null;if(null==l||l.getMode()==App.MODE_DEVICE||l.getMode()==App.MODE_BROWSER)var ka="_blank";else ca=ka=z;if(null==c)return"";var ma=c;if("mxfile"!=ma.nodeName.toLowerCase()){if(fa){var aa=c.ownerDocument.createElement("diagram");aa.setAttribute("name",mxResources.get("pageWithNumber",[1]));aa.setAttribute("id",Editor.guid());aa.appendChild(c)}else{aa=Graph.zapGremlins(mxUtils.getXml(c));
+function(c,f,l,z,A,B,G,L,P,J,fa,ea,T){f=null!=f?f:this.editor.graph;A=null!=A?A:!1;P=null!=P?P:!0;fa=null!=fa?fa:!Editor.defaultCompressed;var ca=null;if(null==l||l.getMode()==App.MODE_DEVICE||l.getMode()==App.MODE_BROWSER)var ja="_blank";else ca=ja=z;if(null==c)return"";var ma=c;if("mxfile"!=ma.nodeName.toLowerCase()){if(fa){var aa=c.ownerDocument.createElement("diagram");aa.setAttribute("name",mxResources.get("pageWithNumber",[1]));aa.setAttribute("id",Editor.guid());aa.appendChild(c)}else{aa=Graph.zapGremlins(mxUtils.getXml(c));
ma=Graph.compress(aa);if(Graph.decompress(ma)!=aa)return aa;aa=c.ownerDocument.createElement("diagram");aa.setAttribute("name",mxResources.get("pageWithNumber",[1]));aa.setAttribute("id",Editor.guid());mxUtils.setTextContent(aa,ma)}ma=c.ownerDocument.createElement("mxfile");ma.appendChild(aa)}J?(ma=ma.cloneNode(!0),ma.removeAttribute("modified"),ma.removeAttribute("host"),ma.removeAttribute("agent"),ma.removeAttribute("etag"),ma.removeAttribute("userAgent"),ma.removeAttribute("version"),ma.removeAttribute("editor"),
ma.removeAttribute("type")):(ma.removeAttribute("userAgent"),ma.removeAttribute("modified"),ma.removeAttribute("version"),ma.removeAttribute("editor"),ma.removeAttribute("pages"),ma.removeAttribute("type"),ma.removeAttribute("etag"),mxClient.IS_CHROMEAPP?ma.setAttribute("host","Chrome"):EditorUi.isElectronApp?ma.setAttribute("host","Electron"):ma.setAttribute("host",window.location.hostname),ma.setAttribute("agent",null!=navigator.userAgent?navigator.userAgent:navigator.appVersion),ma.setAttribute("version",
-EditorUi.VERSION),1<ma.getElementsByTagName("diagram").length&&null!=this.pages&&ma.setAttribute("pages",this.pages.length));null!=ea&&(ma=ma.cloneNode(!0),ma.setAttribute("scale",ea));null!=T&&(ma=ma.cloneNode(!0),ma.setAttribute("border",T));c=fa?mxUtils.getPrettyXml(ma):mxUtils.getXml(ma);if(!B&&!A&&(G||null!=l&&/(\.html)$/i.test(l.getTitle())))c=this.getHtml2(mxUtils.getXml(ma),f,null!=l?l.getTitle():null,ka,ca);else if(B||!A&&null!=l&&/(\.svg)$/i.test(l.getTitle()))null==l||l.getMode()!=App.MODE_DEVICE&&
+EditorUi.VERSION),1<ma.getElementsByTagName("diagram").length&&null!=this.pages&&ma.setAttribute("pages",this.pages.length));null!=ea&&(ma=ma.cloneNode(!0),ma.setAttribute("scale",ea));null!=T&&(ma=ma.cloneNode(!0),ma.setAttribute("border",T));c=fa?mxUtils.getPrettyXml(ma):mxUtils.getXml(ma);if(!B&&!A&&(G||null!=l&&/(\.html)$/i.test(l.getTitle())))c=this.getHtml2(mxUtils.getXml(ma),f,null!=l?l.getTitle():null,ja,ca);else if(B||!A&&null!=l&&/(\.svg)$/i.test(l.getTitle()))null==l||l.getMode()!=App.MODE_DEVICE&&
l.getMode()!=App.MODE_BROWSER||(z=null),l=this.getSvgFileProperties(ma),c=this.getEmbeddedSvg(c,f,z,null,L,P,ca,null,null,l.scale,l.border);return c};EditorUi.prototype.getXmlFileData=function(c,f,l,z){c=null!=c?c:!0;f=null!=f?f:!1;l=null!=l?l:!Editor.defaultCompressed;var A=this.editor.getGraphXml(c,z);if(c&&null!=this.fileNode&&null!=this.currentPage)if(c=function(P){var J=P.getElementsByTagName("mxGraphModel"),fa=0<J.length?J[0]:null;J=P;null==fa&&l?(fa=mxUtils.getNodeValue(P),0<fa.length&&(fa=
Graph.decompress(fa),null!=fa&&0<fa.length&&(J=P.cloneNode(!1),J.appendChild(mxUtils.parseXml(fa).documentElement)))):null==fa||l?J=P.cloneNode(!0):(J=P.cloneNode(!1),mxUtils.setTextContent(J,Graph.compressNode(fa)));A.appendChild(J)},EditorUi.removeChildNodes(this.currentPage.node),this.currentPage.node.appendChild(A),A=this.fileNode.cloneNode(!1),f)c(this.currentPage.node);else for(f=0;f<this.pages.length;f++){var B=this.pages[f],G=B.node;if(B!=this.currentPage)if(B.needsUpdate){var L=new mxCodec(mxUtils.createXmlDocument());
L=L.encode(new mxGraphModel(B.root));this.editor.graph.saveViewState(B.viewState,L,null,z);EditorUi.removeChildNodes(G);G.appendChild(L);delete B.needsUpdate}else z&&(this.updatePageRoot(B),null!=B.viewState.backgroundImage&&(null!=B.viewState.backgroundImage.originalSrc?B.viewState.backgroundImage=this.createImageForPageLink(B.viewState.backgroundImage.originalSrc,B):Graph.isPageLink(B.viewState.backgroundImage.src)&&(B.viewState.backgroundImage=this.createImageForPageLink(B.viewState.backgroundImage.src,
@@ -3500,7 +3498,7 @@ c[EditorUi.DIFF_INSERT][f].data=mxUtils.getXml(l)}catch(B){c[EditorUi.DIFF_INSER
c.setAttribute(c.attributes[l].name,this.anonymizeString(c.attributes[l].value,f));if(null!=c.childNodes)for(l=0;l<c.childNodes.length;l++)this.anonymizeAttributes(c.childNodes[l],f)};EditorUi.prototype.anonymizeNode=function(c,f){f=c.getElementsByTagName("mxCell");for(var l=0;l<f.length;l++)null!=f[l].getAttribute("value")&&f[l].setAttribute("value","["+f[l].getAttribute("value").length+"]"),null!=f[l].getAttribute("xmlValue")&&f[l].setAttribute("xmlValue","["+f[l].getAttribute("xmlValue").length+
"]"),null!=f[l].getAttribute("style")&&f[l].setAttribute("style","["+f[l].getAttribute("style").length+"]"),null!=f[l].parentNode&&"root"!=f[l].parentNode.nodeName&&null!=f[l].parentNode.parentNode&&(f[l].setAttribute("id",f[l].parentNode.getAttribute("id")),f[l].parentNode.parentNode.replaceChild(f[l],f[l].parentNode));return c};EditorUi.prototype.synchronizeCurrentFile=function(c){var f=this.getCurrentFile();null!=f&&(f.savingFile?this.handleError({message:mxResources.get("busy")}):!c&&f.invalidChecksum?
f.handleFileError(null,!0):this.spinner.spin(document.body,mxResources.get("updatingDocument"))&&(f.clearAutosave(),this.editor.setStatus(""),c?f.reloadFile(mxUtils.bind(this,function(){this.spinner.stop();f.handleFileSuccess("manual"==DrawioFile.SYNC)}),mxUtils.bind(this,function(l){this.spinner.stop();f.handleFileError(l,!0)})):f.synchronizeFile(mxUtils.bind(this,function(){f.handleFileSuccess("manual"==DrawioFile.SYNC)}),mxUtils.bind(this,function(l){f.handleFileError(l,!0)}))))};EditorUi.prototype.getFileData=
-function(c,f,l,z,A,B,G,L,P,J,fa,ea,T){A=null!=A?A:!0;B=null!=B?B:!1;J=null!=J?J:!Editor.defaultCompressed;var ca=this.editor.graph;if(f||!c&&null!=P&&/(\.svg)$/i.test(P.getTitle())){var ka=null!=ca.themes&&"darkTheme"==ca.defaultThemeName;if(ka||null!=this.pages&&this.currentPage!=this.pages[0]){var ma=ca.getGlobalVariable;ca=this.createTemporaryGraph(ka?ca.getDefaultStylesheet():ca.getStylesheet());ca.setBackgroundImage=this.editor.graph.setBackgroundImage;ca.background=this.editor.graph.background;
+function(c,f,l,z,A,B,G,L,P,J,fa,ea,T){A=null!=A?A:!0;B=null!=B?B:!1;J=null!=J?J:!Editor.defaultCompressed;var ca=this.editor.graph;if(f||!c&&null!=P&&/(\.svg)$/i.test(P.getTitle())){var ja=null!=ca.themes&&"darkTheme"==ca.defaultThemeName;if(ja||null!=this.pages&&this.currentPage!=this.pages[0]){var ma=ca.getGlobalVariable;ca=this.createTemporaryGraph(ja?ca.getDefaultStylesheet():ca.getStylesheet());ca.setBackgroundImage=this.editor.graph.setBackgroundImage;ca.background=this.editor.graph.background;
var aa=null!=this.pages?this.pages[0]:null;null==aa||this.currentPage==aa?ca.setBackgroundImage(this.editor.graph.backgroundImage):null!=aa.viewState&&null!=aa.viewState&&ca.setBackgroundImage(aa.viewState.backgroundImage);ca.getGlobalVariable=function(V){return"page"==V&&null!=aa?aa.getName():"pagenumber"==V?1:ma.apply(this,arguments)};document.body.appendChild(ca.container);null!=aa&&ca.model.setRoot(aa.root)}}G=null!=G?G:this.getXmlFileData(A,B,J,fa);P=null!=P?P:this.getCurrentFile();c=this.createFileData(G,
ca,P,window.location.href,c,f,l,z,A,L,J,ea,T);ca!=this.editor.graph&&ca.container.parentNode.removeChild(ca.container);return c};EditorUi.prototype.getHtml=function(c,f,l,z,A,B){B=null!=B?B:!0;var G=null,L=EditorUi.drawHost+"/js/embed-static.min.js";if(null!=f){G=B?f.getGraphBounds():f.getBoundingBox(f.getSelectionCells());var P=f.view.scale;B=Math.floor(G.x/P-f.view.translate.x);P=Math.floor(G.y/P-f.view.translate.y);G=f.background;null==A&&(f=this.getBasenames().join(";"),0<f.length&&(L=EditorUi.drawHost+
"/embed.js?s="+f));c.setAttribute("x0",B);c.setAttribute("y0",P)}null!=c&&(c.setAttribute("pan","1"),c.setAttribute("zoom","1"),c.setAttribute("resize","0"),c.setAttribute("fit","0"),c.setAttribute("border","20"),c.setAttribute("links","1"),null!=z&&c.setAttribute("edit",z));null!=A&&(A=A.replace(/&/g,"&amp;"));c=null!=c?Graph.zapGremlins(mxUtils.getXml(c)):"";z=Graph.compress(c);Graph.decompress(z)!=c&&(z=encodeURIComponent(c));return(null==A?'\x3c!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=5,IE=9" ><![endif]--\x3e\n':
@@ -3512,20 +3510,20 @@ function(c){c=this.validateFileData(c);this.pages=this.fileNode=this.currentPage
l={},0<c.length)){var z=this.getHashObject(),A=null;this.fileNode=f;this.pages=[];for(var B=0;B<c.length;B++){null==c[B].getAttribute("id")&&c[B].setAttribute("id",B);f=new DiagramPage(c[B]);null==f.getName()&&f.setName(mxResources.get("pageWithNumber",[B+1]));this.pages.push(f);if(null==z.pageId&&null!=urlParams["page-id"]&&f.getId()==urlParams["page-id"]||null!=z.pageId&&f.getId()==z.pageId)A=f;if(null==l[f.getId()])l[f.getId()]=f;else throw Error(f.getId()+": Duplicate page ID");}this.currentPage=
null!=A?A:this.pages[Math.max(0,Math.min(this.pages.length-1,urlParams.page||0))];f=this.currentPage.node}null==this.fileNode&&null!=f&&(this.fileNode=f.ownerDocument.createElement("mxfile"),this.currentPage=new DiagramPage(f.ownerDocument.createElement("diagram")),this.currentPage.setName(mxResources.get("pageWithNumber",[1])),this.pages=[this.currentPage]);this.editor.setGraphXml(f);null!=this.currentPage&&(this.currentPage.root=this.editor.graph.model.root,this.currentPage.setDiagramModified(!1),
this.scrollToPage());if(null!=urlParams["layer-ids"])try{var G=decodeURIComponent(urlParams["layer-ids"]).split(" ");f={};for(B=0;B<G.length;B++)f[G[B]]=!0;var L=this.editor.graph.getModel(),P=L.getChildren(L.root);for(B=0;B<P.length;B++){var J=P[B];L.setVisible(J,f[J.id]||!1)}}catch(fa){}};EditorUi.prototype.getBaseFilename=function(c){var f=this.getCurrentFile();f=null!=f&&null!=f.getTitle()?f.getTitle():this.defaultFilename;if(/(\.xml)$/i.test(f)||/(\.html)$/i.test(f)||/(\.svg)$/i.test(f)||/(\.png)$/i.test(f))f=
-f.substring(0,f.lastIndexOf("."));/(\.drawio)$/i.test(f)&&(f=f.substring(0,f.lastIndexOf(".")));!c&&null!=this.pages&&1<this.pages.length&&null!=this.currentPage&&null!=this.currentPage.node.getAttribute("name")&&0<this.currentPage.getName().length&&(f=f+"-"+this.currentPage.getName());return f};EditorUi.prototype.downloadFile=function(c,f,l,z,A,B,G,L,P,J,fa,ea,T,ca,ka,ma){try{z=null!=z?z:this.editor.graph.isSelectionEmpty();var aa=this.getBaseFilename(!A),V=aa+("xml"==c||"pdf"==c&&fa?".drawio":"")+
+f.substring(0,f.lastIndexOf("."));/(\.drawio)$/i.test(f)&&(f=f.substring(0,f.lastIndexOf(".")));!c&&null!=this.pages&&1<this.pages.length&&null!=this.currentPage&&null!=this.currentPage.node.getAttribute("name")&&0<this.currentPage.getName().length&&(f=f+"-"+this.currentPage.getName());return f};EditorUi.prototype.downloadFile=function(c,f,l,z,A,B,G,L,P,J,fa,ea,T,ca,ja,ma){try{z=null!=z?z:this.editor.graph.isSelectionEmpty();var aa=this.getBaseFilename(!A),V=aa+("xml"==c||"pdf"==c&&fa?".drawio":"")+
"."+c;if("xml"==c){var da=Graph.xmlDeclaration+"\n"+this.getFileData(!0,null,null,null,z,A,null,null,null,f);this.saveData(V,c,da,"text/xml")}else if("html"==c)da=this.getHtml2(this.getFileData(!0),this.editor.graph,aa),this.saveData(V,c,da,"text/html");else if("svg"!=c&&"xmlsvg"!=c||!this.spinner.spin(document.body,mxResources.get("export")))"xmlpng"==c?V=aa+".png":"jpeg"==c&&(V=aa+".jpg"),this.saveRequest(V,c,mxUtils.bind(this,function(O,X){try{return this.createDownloadRequest(O,c,z,X,G,A,L,P,
-J,fa,ea,void 0,void 0,!B,T,ca,ka,ma)}catch(Z){this.handleError(Z)}}));else{var k=null,t=mxUtils.bind(this,function(O){O.length<=MAX_REQUEST_SIZE?this.saveData(V,"svg",O,"image/svg+xml"):this.handleError({message:mxResources.get("drawingTooLarge")},mxResources.get("error"),mxUtils.bind(this,function(){mxUtils.popup(k)}))});if("svg"==c){var I=this.editor.graph.background;if(G||I==mxConstants.NONE)I=null;var R=this.editor.graph.getSvg(I,null,null,null,null,z);l&&this.editor.graph.addSvgShadow(R);this.editor.convertImages(R,
-mxUtils.bind(this,mxUtils.bind(this,function(O){this.spinner.stop();t(Graph.xmlDeclaration+"\n"+Graph.svgDoctype+"\n"+mxUtils.getXml(O))})))}else V=aa+".svg",k=this.getFileData(!1,!0,null,mxUtils.bind(this,function(O){this.spinner.stop();t(O)}),z)}}catch(O){this.handleError(O)}};EditorUi.prototype.createDownloadRequest=function(c,f,l,z,A,B,G,L,P,J,fa,ea,T,ca,ka,ma,aa,V){c=this.downloadRequestBuilder(c,f,l,z,A,B,G,L,P,J,fa,ea,T,ca,ka,ma,aa,V);f="";for(var da in c)l=c[da],null!=l&&(f+=da+"="+encodeURIComponent(l)+
-"&");return new mxXmlRequest(EXPORT_URL,f)};EditorUi.prototype.downloadRequestBuilder=function(c,f,l,z,A,B,G,L,P,J,fa,ea,T,ca,ka,ma,aa,V){var da=this.editor.graph,k=da.getGraphBounds();l=this.getFileData(!0,null,null,null,l,0==B?!1:"xmlpng"!=f,null,null,null,!Editor.defaultCompressed,"pdf"==f);var t=null,I=null,R=null;if(!EditorUi.isElectronApp&&(k.width*k.height>MAX_AREA||l.length>MAX_REQUEST_SIZE))throw{message:mxResources.get("drawingTooLarge")};J=J?"1":"0";"pdf"==f&&(null!=fa?(t=fa.from,I=fa.to):
+J,fa,ea,void 0,void 0,!B,T,ca,ja,ma)}catch(Z){this.handleError(Z)}}));else{var k=null,t=mxUtils.bind(this,function(O){O.length<=MAX_REQUEST_SIZE?this.saveData(V,"svg",O,"image/svg+xml"):this.handleError({message:mxResources.get("drawingTooLarge")},mxResources.get("error"),mxUtils.bind(this,function(){mxUtils.popup(k)}))});if("svg"==c){var I=this.editor.graph.background;if(G||I==mxConstants.NONE)I=null;var R=this.editor.graph.getSvg(I,null,null,null,null,z);l&&this.editor.graph.addSvgShadow(R);this.editor.convertImages(R,
+mxUtils.bind(this,mxUtils.bind(this,function(O){this.spinner.stop();t(Graph.xmlDeclaration+"\n"+Graph.svgDoctype+"\n"+mxUtils.getXml(O))})))}else V=aa+".svg",k=this.getFileData(!1,!0,null,mxUtils.bind(this,function(O){this.spinner.stop();t(O)}),z)}}catch(O){this.handleError(O)}};EditorUi.prototype.createDownloadRequest=function(c,f,l,z,A,B,G,L,P,J,fa,ea,T,ca,ja,ma,aa,V){c=this.downloadRequestBuilder(c,f,l,z,A,B,G,L,P,J,fa,ea,T,ca,ja,ma,aa,V);f="";for(var da in c)l=c[da],null!=l&&(f+=da+"="+encodeURIComponent(l)+
+"&");return new mxXmlRequest(EXPORT_URL,f)};EditorUi.prototype.downloadRequestBuilder=function(c,f,l,z,A,B,G,L,P,J,fa,ea,T,ca,ja,ma,aa,V){var da=this.editor.graph,k=da.getGraphBounds();l=this.getFileData(!0,null,null,null,l,0==B?!1:"xmlpng"!=f,null,null,null,!Editor.defaultCompressed,"pdf"==f);var t=null,I=null,R=null;if(!EditorUi.isElectronApp&&(k.width*k.height>MAX_AREA||l.length>MAX_REQUEST_SIZE))throw{message:mxResources.get("drawingTooLarge")};J=J?"1":"0";"pdf"==f&&(null!=fa?(t=fa.from,I=fa.to):
0==B&&(R="1"));"xmlpng"==f&&(J="1",f="png");if(("xmlpng"==f||"svg"==f)&&null!=this.pages&&null!=this.currentPage)for(B=0;B<this.pages.length;B++)if(this.pages[B]==this.currentPage){t=B;break}B=da.background;"png"!=f&&"pdf"!=f&&"svg"!=f||!A?A||null!=B&&B!=mxConstants.NONE||(B="#ffffff"):B=mxConstants.NONE;A={globalVars:da.getExportVariables()};P&&(A.grid={size:da.gridSize,steps:da.view.gridSteps,color:Editor.isDarkMode()&&"pdf"==f?mxGraphView.prototype.defaultGridColor:da.view.gridColor});Graph.translateDiagram&&
-(A.diagramLanguage=Graph.diagramLanguage);return{format:f,from:t,to:I,allPages:R,bg:null!=B?B:mxConstants.NONE,base64:z,embedXml:J,xml:l,filename:null!=c?c:"",extras:JSON.stringify(A),scale:G,border:L,pageMargin:ka,w:ea&&isFinite(ea)?ea:null,h:T&&isFinite(T)?T:null,crop:null!=ca&&ca?"1":"0",fit:null!=ma&&ma?"1":"0",sheetsAcross:aa,sheetsDown:V}};EditorUi.prototype.setMode=function(c,f){this.mode=c};EditorUi.prototype.getDiagramId=function(){var c=window.location.hash;null!=c&&0<c.length&&(c=c.substring(1));
+(A.diagramLanguage=Graph.diagramLanguage);return{format:f,from:t,to:I,allPages:R,bg:null!=B?B:mxConstants.NONE,base64:z,embedXml:J,xml:l,filename:null!=c?c:"",extras:JSON.stringify(A),scale:G,border:L,pageMargin:ja,w:ea&&isFinite(ea)?ea:null,h:T&&isFinite(T)?T:null,crop:null!=ca&&ca?"1":"0",fit:null!=ma&&ma?"1":"0",sheetsAcross:aa,sheetsDown:V}};EditorUi.prototype.setMode=function(c,f){this.mode=c};EditorUi.prototype.getDiagramId=function(){var c=window.location.hash;null!=c&&0<c.length&&(c=c.substring(1));
if(null!=c&&1<c.length){var f=c.indexOf("#");0<=f&&(c=c.substring(0,f))}return c};EditorUi.prototype.getHashObject=function(){var c=window.location.hash,f={};if(null!=c&&0<c.length){var l=c.lastIndexOf("#");if(0<l){c=decodeURIComponent(c.substring(l+1));try{f=JSON.parse(c)}catch(z){}}}return f};EditorUi.prototype.updateHashObject=function(){if(null!=this.currentFile&&null!=this.currentPage&&""!=this.currentFile.getHash()){var c=this.getHashObject();c.pageId=this.currentPage.getId();this.setHashObject(c)}else this.setHashObject(null)};
EditorUi.prototype.setHashObject=function(c){if(Editor.enableHashObjects){var f=window.location.hash;if(null==f||""==f)f="#";var l=f.lastIndexOf("#");0<l&&(f=f.substring(0,l));try{null==c||mxUtils.isEmptyObject(c)||(f=f+"#"+encodeURIComponent(JSON.stringify(c)))}catch(z){}0<l&&0<f.lastIndexOf("#")?window.location.hash=f:window.location.replace(f)}};EditorUi.prototype.loadDescriptor=function(c,f,l){var z=window.location.hash,A=mxUtils.bind(this,function(G){var L=null!=c.data?c.data:"";null!=G&&0<G.length&&
(0<L.length&&(L+="\n"),L+=G);G=new LocalFile(this,"csv"!=c.format&&0<L.length?L:this.emptyDiagramXml,null!=urlParams.title?decodeURIComponent(urlParams.title):this.defaultFilename,!0);G.getHash=function(){return z};this.fileLoaded(G);"csv"==c.format&&this.importCsv(L,mxUtils.bind(this,function(T){this.editor.undoManager.clear();this.editor.setModified(!1);this.editor.setStatus("")}));if(null!=c.update){var P=null!=c.interval?parseInt(c.interval):6E4,J=null,fa=mxUtils.bind(this,function(){var T=this.currentPage;
mxUtils.post(c.update,"xml="+encodeURIComponent(mxUtils.getXml(this.editor.getGraphXml())),mxUtils.bind(this,function(ca){T===this.currentPage&&(200<=ca.getStatus()&&300>=ca.getStatus()?(this.updateDiagram(ca.getText()),ea()):this.handleError({message:mxResources.get("error")+" "+ca.getStatus()}))}),mxUtils.bind(this,function(ca){this.handleError(ca)}))}),ea=mxUtils.bind(this,function(){window.clearTimeout(J);J=window.setTimeout(fa,P)});this.editor.addListener("pageSelected",mxUtils.bind(this,function(){ea();
fa()}));ea();fa()}null!=f&&f()});if(null!=c.url&&0<c.url.length){var B=this.editor.getProxiedUrl(c.url);this.editor.loadUrl(B,mxUtils.bind(this,function(G){A(G)}),mxUtils.bind(this,function(G){null!=l&&l(G)}))}else A("")};EditorUi.prototype.updateDiagram=function(c){function f(k){var t=new mxCellOverlay(k.image||A.warningImage,k.tooltip,k.align,k.valign,k.offset);t.addListener(mxEvent.CLICK,function(I,R){z.alert(k.tooltip)});return t}var l=null,z=this;if(null!=c&&0<c.length&&(l=mxUtils.parseXml(c),
c=null!=l?l.documentElement:null,null!=c&&"updates"==c.nodeName)){var A=this.editor.graph,B=A.getModel();B.beginUpdate();var G=null;try{for(c=c.firstChild;null!=c;){if("update"==c.nodeName){var L=B.getCell(c.getAttribute("id"));if(null!=L){try{var P=c.getAttribute("value");if(null!=P){var J=mxUtils.parseXml(P).documentElement;if(null!=J)if("1"==J.getAttribute("replace-value"))B.setValue(L,J);else for(var fa=J.attributes,ea=0;ea<fa.length;ea++)A.setAttributeForCell(L,fa[ea].nodeName,0<fa[ea].nodeValue.length?
-fa[ea].nodeValue:null)}}catch(k){null!=window.console&&console.log("Error in value for "+L.id+": "+k)}try{var T=c.getAttribute("style");null!=T&&A.model.setStyle(L,T)}catch(k){null!=window.console&&console.log("Error in style for "+L.id+": "+k)}try{var ca=c.getAttribute("icon");if(null!=ca){var ka=0<ca.length?JSON.parse(ca):null;null!=ka&&ka.append||A.removeCellOverlays(L);null!=ka&&A.addCellOverlay(L,f(ka))}}catch(k){null!=window.console&&console.log("Error in icon for "+L.id+": "+k)}try{var ma=
+fa[ea].nodeValue:null)}}catch(k){null!=window.console&&console.log("Error in value for "+L.id+": "+k)}try{var T=c.getAttribute("style");null!=T&&A.model.setStyle(L,T)}catch(k){null!=window.console&&console.log("Error in style for "+L.id+": "+k)}try{var ca=c.getAttribute("icon");if(null!=ca){var ja=0<ca.length?JSON.parse(ca):null;null!=ja&&ja.append||A.removeCellOverlays(L);null!=ja&&A.addCellOverlay(L,f(ja))}}catch(k){null!=window.console&&console.log("Error in icon for "+L.id+": "+k)}try{var ma=
c.getAttribute("geometry");if(null!=ma){ma=JSON.parse(ma);var aa=A.getCellGeometry(L);if(null!=aa){aa=aa.clone();for(key in ma){var V=parseFloat(ma[key]);"dx"==key?aa.x+=V:"dy"==key?aa.y+=V:"dw"==key?aa.width+=V:"dh"==key?aa.height+=V:aa[key]=parseFloat(ma[key])}A.model.setGeometry(L,aa)}}}catch(k){null!=window.console&&console.log("Error in icon for "+L.id+": "+k)}}}else if("model"==c.nodeName){for(var da=c.firstChild;null!=da&&da.nodeType!=mxConstants.NODETYPE_ELEMENT;)da=da.nextSibling;null!=da&&
(new mxCodec(c.firstChild)).decode(da,B)}else if("view"==c.nodeName){if(c.hasAttribute("scale")&&(A.view.scale=parseFloat(c.getAttribute("scale"))),c.hasAttribute("dx")||c.hasAttribute("dy"))A.view.translate=new mxPoint(parseFloat(c.getAttribute("dx")||0),parseFloat(c.getAttribute("dy")||0))}else"fit"==c.nodeName&&(G=c.hasAttribute("max-scale")?parseFloat(c.getAttribute("max-scale")):1);c=c.nextSibling}}finally{B.endUpdate()}null!=G&&this.chromelessResize&&this.chromelessResize(!0,G)}return l};EditorUi.prototype.getCopyFilename=
function(c,f){var l=null!=c&&null!=c.getTitle()?c.getTitle():this.defaultFilename;c="";var z=l.lastIndexOf(".");0<=z&&(c=l.substring(z),l=l.substring(0,z));if(f){f=l;var A=new Date;l=A.getFullYear();z=A.getMonth()+1;var B=A.getDate(),G=A.getHours(),L=A.getMinutes();A=A.getSeconds();l=f+(" "+(l+"-"+z+"-"+B+"-"+G+"-"+L+"-"+A))}return l=mxResources.get("copyOf",[l])+c};EditorUi.prototype.logIfModified=function(c,f){try{null!=c&&f&&EditorUi.debug("File.closed",[c])}catch(l){}};EditorUi.prototype.fileLoaded=
@@ -3546,16 +3544,16 @@ function(){null!=this.sidebarWindow?this.sidebarWindow.window.setVisible(!0):thi
this.openLibraries);break}A={file:c,images:f,title:l,expand:z};this.openLibraries.push(A)}else this.scratchpad=c;B=this.sidebar.palettes[c.getHash()];B=null!=B?B[B.length-1].nextSibling:null;this.removeLibrarySidebar(c.getHash());var G=null,L=mxUtils.bind(this,function(V,da){0==V.length&&c.isEditable()?(null==G&&(G=document.createElement("div"),G.className="geDropTarget",mxUtils.write(G,mxResources.get("dragElementsHere"))),da.appendChild(G)):this.addLibraryEntries(V,da)});null!=this.sidebar&&null!=
f&&this.sidebar.addEntries(f);null==l&&(l=c.getTitle(),null!=l&&/(\.xml)$/i.test(l)&&(l=l.substring(0,l.lastIndexOf("."))));var P=this.sidebar.addPalette(c.getHash(),l,null!=z?z:!0,mxUtils.bind(this,function(V){L(f,V)}));null!=A&&(A.div=P);this.repositionLibrary(B,"L.scratchpad"!=c.getHash());z=P.parentNode.previousSibling;l=z.getAttribute("title");null!=l&&0<l.length&&".scratchpad"!=c.title&&z.setAttribute("title",this.getLibraryStorageHint(c)+"\n"+l);var J=document.createElement("div");J.style.backgroundColor=
"inherit";z.style.position="relative";var fa=document.createElement("img");fa.className="geAdaptiveAsset";fa.setAttribute("src",Editor.crossImage);fa.setAttribute("title",mxResources.get("close"));fa.setAttribute("valign","absmiddle");fa.setAttribute("border","0");fa.style.position="relative";fa.style.top="2px";fa.style.width="14px";fa.style.cursor="pointer";fa.style.margin="0 3px";var ea=null;if(".scratchpad"!=c.title||this.closableScratchpad)J.appendChild(fa),mxEvent.addListener(fa,"click",mxUtils.bind(this,
-function(V){if(!mxEvent.isConsumed(V)){var da=mxUtils.bind(this,function(){null!=A&&mxUtils.remove(A,this.openLibraries);this.closeLibrary(c)});null!=ea?this.confirm(mxResources.get("allChangesLost"),null,da,mxResources.get("cancel"),mxResources.get("discardChanges")):da();mxEvent.consume(V)}}));if(c.isEditable()){var T=this.editor.graph,ca=null;l=mxUtils.bind(this,function(V){this.showLibraryDialog(c.getTitle(),P,f,c,c.getMode());mxEvent.consume(V)});var ka=mxUtils.bind(this,function(V){c.setModified(!0);
+function(V){if(!mxEvent.isConsumed(V)){var da=mxUtils.bind(this,function(){null!=A&&mxUtils.remove(A,this.openLibraries);this.closeLibrary(c)});null!=ea?this.confirm(mxResources.get("allChangesLost"),null,da,mxResources.get("cancel"),mxResources.get("discardChanges")):da();mxEvent.consume(V)}}));if(c.isEditable()){var T=this.editor.graph,ca=null;l=mxUtils.bind(this,function(V){this.showLibraryDialog(c.getTitle(),P,f,c,c.getMode());mxEvent.consume(V)});var ja=mxUtils.bind(this,function(V){c.setModified(!0);
c.isAutosave()?(null!=ca&&null!=ca.parentNode&&ca.parentNode.removeChild(ca),ca=fa.cloneNode(!1),ca.setAttribute("src",Editor.spinImage),ca.setAttribute("title",mxResources.get("saving")),ca.style.cursor="default",ca.style.marginRight="2px",ca.style.marginTop="-2px",J.insertBefore(ca,J.firstChild),this.saveLibrary(c.getTitle(),f,c,c.getMode(),!0,!0,function(){null!=ca&&null!=ca.parentNode&&ca.parentNode.removeChild(ca)})):null==ea&&(ea=fa.cloneNode(!1),ea.setAttribute("src",Editor.saveImage),ea.setAttribute("title",
mxResources.get("save")),J.insertBefore(ea,J.firstChild),mxEvent.addListener(ea,"click",mxUtils.bind(this,function(da){this.saveLibrary(c.getTitle(),f,c,c.getMode(),c.constructor==LocalLibrary,!0,function(){null==ea||c.isModified()||(ea.parentNode.removeChild(ea),ea=null)});mxEvent.consume(da)})))}),ma=mxUtils.bind(this,function(V,da,k,t){V=T.cloneCells(mxUtils.sortCells(T.model.getTopmostCells(V)));for(var I=0;I<V.length;I++){var R=T.getCellGeometry(V[I]);null!=R&&R.translate(-da.x,-da.y)}P.appendChild(this.sidebar.createVertexTemplateFromCells(V,
-da.width,da.height,t||"",!0,null,!1));V=mxUtils.getXml(this.editor.graph.encodeCells(V));Editor.defaultCompressed&&(V=Graph.compress(V));da={xml:V,w:da.width,h:da.height};null!=t&&(da.title=t);f.push(da);ka(k);null!=G&&null!=G.parentNode&&0<f.length&&(G.parentNode.removeChild(G),G=null)}),aa=mxUtils.bind(this,function(V){if(T.isSelectionEmpty())T.getRubberband().isActive()?(T.getRubberband().execute(V),T.getRubberband().reset()):this.showError(mxResources.get("error"),mxResources.get("nothingIsSelected"),
+da.width,da.height,t||"",!0,null,!1));V=mxUtils.getXml(this.editor.graph.encodeCells(V));Editor.defaultCompressed&&(V=Graph.compress(V));da={xml:V,w:da.width,h:da.height};null!=t&&(da.title=t);f.push(da);ja(k);null!=G&&null!=G.parentNode&&0<f.length&&(G.parentNode.removeChild(G),G=null)}),aa=mxUtils.bind(this,function(V){if(T.isSelectionEmpty())T.getRubberband().isActive()?(T.getRubberband().execute(V),T.getRubberband().reset()):this.showError(mxResources.get("error"),mxResources.get("nothingIsSelected"),
mxResources.get("ok"));else{var da=T.getSelectionCells(),k=T.view.getBounds(da);if(null!=k&&0<k.width&&0<k.height){var t=T.view.scale;k.x/=t;k.y/=t;k.width/=t;k.height/=t;k.x-=T.view.translate.x;k.y-=T.view.translate.y;ma(da,k)}else this.showError(mxResources.get("error"),mxResources.get("invalidSel"),mxResources.get("ok"))}mxEvent.consume(V)});mxEvent.addGestureListeners(P,function(){},mxUtils.bind(this,function(V){T.isMouseDown&&null!=T.panningManager&&null!=T.graphHandler.first&&(T.graphHandler.suspend(),
null!=T.graphHandler.hint&&(T.graphHandler.hint.style.visibility="hidden"),P.style.backgroundColor=Editor.isDarkMode()?"#000000":"#fefefe",P.style.cursor="copy",T.panningManager.stop(),T.autoScroll=!1,mxEvent.consume(V))}),mxUtils.bind(this,function(V){T.isMouseDown&&null!=T.panningManager&&null!=T.graphHandler&&(P.style.backgroundColor="",P.style.cursor="default",this.sidebar.showTooltips=!0,T.panningManager.stop(),T.graphHandler.reset(),T.isMouseDown=!1,T.autoScroll=!0,aa(V),mxEvent.consume(V))}));
mxEvent.addListener(P,"mouseleave",mxUtils.bind(this,function(V){T.isMouseDown&&null!=T.graphHandler.first&&(T.graphHandler.resume(),null!=T.graphHandler.hint&&(T.graphHandler.hint.style.visibility="visible"),P.style.backgroundColor="",P.style.cursor="",T.autoScroll=!0)}));Graph.fileSupport&&(mxEvent.addListener(P,"dragover",mxUtils.bind(this,function(V){P.style.backgroundColor=Editor.isDarkMode()?"#000000":"#fefefe";V.dataTransfer.dropEffect="copy";P.style.cursor="copy";this.sidebar.hideTooltip();
V.stopPropagation();V.preventDefault()})),mxEvent.addListener(P,"drop",mxUtils.bind(this,function(V){P.style.cursor="";P.style.backgroundColor="";0<V.dataTransfer.files.length&&this.importFiles(V.dataTransfer.files,0,0,this.maxImageSize,mxUtils.bind(this,function(da,k,t,I,R,O,X,Z,ba){if(null!=da&&"image/"==k.substring(0,6))da="shape=image;verticalLabelPosition=bottom;verticalAlign=top;imageAspect=0;aspect=fixed;image="+this.convertDataUri(da),da=[new mxCell("",new mxGeometry(0,0,R,O),da)],da[0].vertex=
-!0,ma(da,new mxRectangle(0,0,R,O),V,mxEvent.isAltDown(V)?null:X.substring(0,X.lastIndexOf(".")).replace(/_/g," ")),null!=G&&null!=G.parentNode&&0<f.length&&(G.parentNode.removeChild(G),G=null);else{var la=!1,qa=mxUtils.bind(this,function(pa,ra){null!=pa&&"application/pdf"==ra&&(ra=Editor.extractGraphModelFromPdf(pa),null!=ra&&0<ra.length&&(pa=ra));if(null!=pa)if(pa=mxUtils.parseXml(pa),"mxlibrary"==pa.documentElement.nodeName)try{var ua=JSON.parse(mxUtils.getTextContent(pa.documentElement));L(ua,
-P);f=f.concat(ua);ka(V);this.spinner.stop();la=!0}catch(Na){}else if("mxfile"==pa.documentElement.nodeName)try{var Ba=pa.documentElement.getElementsByTagName("diagram");for(ua=0;ua<Ba.length;ua++){var ya=this.stringToCells(Editor.getDiagramNodeXml(Ba[ua])),Aa=this.editor.graph.getBoundingBoxFromGeometry(ya);null!=Aa&&ma(ya,new mxRectangle(0,0,Aa.width,Aa.height),V)}la=!0}catch(Na){null!=window.console&&console.log("error in drop handler:",Na)}la||(this.spinner.stop(),this.handleError({message:mxResources.get("errorLoadingFile")}));
+!0,ma(da,new mxRectangle(0,0,R,O),V,mxEvent.isAltDown(V)?null:X.substring(0,X.lastIndexOf(".")).replace(/_/g," ")),null!=G&&null!=G.parentNode&&0<f.length&&(G.parentNode.removeChild(G),G=null);else{var ka=!1,qa=mxUtils.bind(this,function(pa,ra){null!=pa&&"application/pdf"==ra&&(ra=Editor.extractGraphModelFromPdf(pa),null!=ra&&0<ra.length&&(pa=ra));if(null!=pa)if(pa=mxUtils.parseXml(pa),"mxlibrary"==pa.documentElement.nodeName)try{var ua=JSON.parse(mxUtils.getTextContent(pa.documentElement));L(ua,
+P);f=f.concat(ua);ja(V);this.spinner.stop();ka=!0}catch(Na){}else if("mxfile"==pa.documentElement.nodeName)try{var Ba=pa.documentElement.getElementsByTagName("diagram");for(ua=0;ua<Ba.length;ua++){var xa=this.stringToCells(Editor.getDiagramNodeXml(Ba[ua])),Aa=this.editor.graph.getBoundingBoxFromGeometry(xa);null!=Aa&&ma(xa,new mxRectangle(0,0,Aa.width,Aa.height),V)}ka=!0}catch(Na){null!=window.console&&console.log("error in drop handler:",Na)}ka||(this.spinner.stop(),this.handleError({message:mxResources.get("errorLoadingFile")}));
null!=G&&null!=G.parentNode&&0<f.length&&(G.parentNode.removeChild(G),G=null)});null!=ba&&null!=X&&EditorUi.isVisioFilename(X)?this.importVisio(ba,function(pa){qa(pa,"text/xml")},null,X):(new XMLHttpRequest).upload&&this.isRemoteFileFormat(da,X)&&null!=ba?this.isExternalDataComms()?this.parseFile(ba,mxUtils.bind(this,function(pa){4==pa.readyState&&(this.spinner.stop(),200<=pa.status&&299>=pa.status?qa(pa.responseText,"text/xml"):this.handleError({message:mxResources.get(413==pa.status?"drawingTooLarge":
"invalidOrMissingFile")},mxResources.get("errorLoadingFile")))})):(this.spinner.stop(),this.showError(mxResources.get("error"),mxResources.get("notInOffline"))):qa(da,k)}}));V.stopPropagation();V.preventDefault()})),mxEvent.addListener(P,"dragleave",function(V){P.style.cursor="";P.style.backgroundColor="";V.stopPropagation();V.preventDefault()}));fa=fa.cloneNode(!1);fa.setAttribute("src",Editor.editImage);fa.setAttribute("title",mxResources.get("edit"));J.insertBefore(fa,J.firstChild);mxEvent.addListener(fa,
"click",l);l=fa.cloneNode(!1);l.setAttribute("src",Editor.plusImage);l.setAttribute("title",mxResources.get("add"));J.insertBefore(l,J.firstChild);mxEvent.addListener(l,"click",aa);".scratchpad"==c.title&&(this.addSelectionToScratchpad=aa);this.isOffline()||".scratchpad"!=c.title||null==EditorUi.scratchpadHelpLink||(l=this.createHelpIcon(EditorUi.scratchpadHelpLink),B=l.getElementsByTagName("img")[0],l.style.marginRight="1px",B.style.marginTop="-2px",B.style.opacity="",J.insertBefore(l,J.firstChild))}z.appendChild(J);
@@ -3569,24 +3567,24 @@ this.showSplash()}));c.init()};var g=EditorUi.prototype.createFormat;EditorUi.pr
null!=c.message)try{G||EditorUi.logError("Caught: "+(""==c.message&&null!=c.name)?c.name:c.message,c.filename,c.lineNumber,c.columnNumber,c,"INFO"),"1"!=urlParams.test&&!G||null==window.console||console.error("EditorUi.handleError:",c)}catch(T){}if(null!=P||null!=f){G=mxUtils.htmlEntities(mxResources.get("unknownError"),!1);var J=mxResources.get("ok"),fa=null;f=null!=f?f:mxResources.get("error");if(null!=P){null!=P.retry&&(J=mxResources.get("cancel"),fa=function(){L();P.retry()});if(404==P.code||
404==P.status||403==P.code){G=403==P.code?null!=P.message?mxUtils.htmlEntities(P.message,!1):mxUtils.htmlEntities(mxResources.get("accessDenied"),!1):null!=A?A:mxUtils.htmlEntities(mxResources.get("fileNotFoundOrDenied")+(null!=this.drive&&null!=this.drive.user?" ("+this.drive.user.email+")":""),!1);var ea=null!=A?null:null!=B?B:window.location.hash;if(null!=ea&&("#G"==ea.substring(0,2)||"#Uhttps%3A%2F%2Fdrive.google.com%2Fuc%3Fid%3D"==ea.substring(0,45))&&(null!=c&&null!=c.error&&(null!=c.error.errors&&
0<c.error.errors.length&&"fileAccess"==c.error.errors[0].reason||null!=c.error.data&&0<c.error.data.length&&"fileAccess"==c.error.data[0].reason)||404==P.code||404==P.status)){ea="#U"==ea.substring(0,2)?ea.substring(45,ea.lastIndexOf("%26ex")):ea.substring(2);this.showError(f,G,mxResources.get("tryOpeningViaThisPage"),mxUtils.bind(this,function(){this.editor.graph.openLink("https://drive.google.com/open?id="+ea);null!=z&&z()}),fa,mxResources.get("changeUser"),mxUtils.bind(this,function(){function T(){aa.innerText=
-"";for(var V=0;V<ca.length;V++){var da=document.createElement("option");mxUtils.write(da,ca[V].displayName);da.value=V;aa.appendChild(da);da=document.createElement("option");da.innerHTML="&nbsp;&nbsp;&nbsp;";mxUtils.write(da,"<"+ca[V].email+">");da.setAttribute("disabled","disabled");aa.appendChild(da)}da=document.createElement("option");mxUtils.write(da,mxResources.get("addAccount"));da.value=ca.length;aa.appendChild(da)}var ca=this.drive.getUsersList(),ka=document.createElement("div"),ma=document.createElement("div");
-ma.style.marginBottom="6px";mxUtils.write(ma,mxResources.get("changeUser")+": ");ka.appendChild(ma);var aa=document.createElement("select");aa.style.width="100%";T();mxEvent.addListener(aa,"change",mxUtils.bind(this,function(){var V=aa.value,da=ca.length!=V;da&&this.drive.setUser(ca[V]);this.drive.authorize(da,mxUtils.bind(this,function(){da||(ca=this.drive.getUsersList(),T())}),mxUtils.bind(this,function(k){this.handleError(k)}),!0)}));ka.appendChild(aa);ka=new CustomDialog(this,ka,mxUtils.bind(this,
-function(){this.loadFile(window.location.hash.substr(1),!0)}));this.showDialog(ka.container,300,100,!0,!0)}),mxResources.get("cancel"),mxUtils.bind(this,function(){this.hideDialog();null!=l&&l()}),520,150);return}}null!=P.message?G=""==P.message&&null!=P.name?mxUtils.htmlEntities(P.name,!1):mxUtils.htmlEntities(P.message,!1):null!=P.response&&null!=P.response.error?G=mxUtils.htmlEntities(P.response.error,!1):"undefined"!==typeof window.App&&(P.code==App.ERROR_TIMEOUT?G=mxUtils.htmlEntities(mxResources.get("timeout"),
+"";for(var V=0;V<ca.length;V++){var da=document.createElement("option");mxUtils.write(da,ca[V].displayName);da.value=V;aa.appendChild(da);da=document.createElement("option");da.innerHTML="&nbsp;&nbsp;&nbsp;";mxUtils.write(da,"<"+ca[V].email+">");da.setAttribute("disabled","disabled");aa.appendChild(da)}da=document.createElement("option");mxUtils.write(da,mxResources.get("addAccount"));da.value=ca.length;aa.appendChild(da)}var ca=this.drive.getUsersList(),ja=document.createElement("div"),ma=document.createElement("div");
+ma.style.marginBottom="6px";mxUtils.write(ma,mxResources.get("changeUser")+": ");ja.appendChild(ma);var aa=document.createElement("select");aa.style.width="100%";T();mxEvent.addListener(aa,"change",mxUtils.bind(this,function(){var V=aa.value,da=ca.length!=V;da&&this.drive.setUser(ca[V]);this.drive.authorize(da,mxUtils.bind(this,function(){da||(ca=this.drive.getUsersList(),T())}),mxUtils.bind(this,function(k){this.handleError(k)}),!0)}));ja.appendChild(aa);ja=new CustomDialog(this,ja,mxUtils.bind(this,
+function(){this.loadFile(window.location.hash.substr(1),!0)}));this.showDialog(ja.container,300,100,!0,!0)}),mxResources.get("cancel"),mxUtils.bind(this,function(){this.hideDialog();null!=l&&l()}),520,150);return}}null!=P.message?G=""==P.message&&null!=P.name?mxUtils.htmlEntities(P.name,!1):mxUtils.htmlEntities(P.message,!1):null!=P.response&&null!=P.response.error?G=mxUtils.htmlEntities(P.response.error,!1):"undefined"!==typeof window.App&&(P.code==App.ERROR_TIMEOUT?G=mxUtils.htmlEntities(mxResources.get("timeout"),
!1):P.code==App.ERROR_BUSY?G=mxUtils.htmlEntities(mxResources.get("busy"),!1):"string"===typeof P&&0<P.length&&(G=mxUtils.htmlEntities(P,!1)))}A=c=null;null!=P&&null!=P.helpLink?(c=mxResources.get("help"),A=mxUtils.bind(this,function(){return this.editor.graph.openLink(P.helpLink)})):null!=P&&null!=P.ownerEmail?(c=mxResources.get("contactOwner"),G+=mxUtils.htmlEntities(" ("+c+": "+P.ownerEmail+")",!1),A=mxUtils.bind(this,function(){return this.openLink("mailto:"+mxUtils.htmlEntities(P.ownerEmail))})):
null!=P&&null!=P.alternateAction&&(c=P.alternateAction.label,A=P.alternateAction.funct);this.showError(f,G,J,l,fa,null,null,c,A,null,null,null,z?l:null)}else null!=l&&l()};EditorUi.prototype.alert=function(c,f,l){c=new ErrorDialog(this,null,c,mxResources.get("ok"),f);this.showDialog(c.container,l||340,100,!0,!1);c.init()};EditorUi.prototype.confirm=function(c,f,l,z,A,B){c=null!=c?c:"";var G=null!=this.spinner&&null!=this.spinner.pause?this.spinner.pause():function(){},L=Math.min(220,28*Math.ceil(Math.max(1,
c.length)/50));c=new ConfirmDialog(this,c,function(){G();null!=f&&f()},function(){G();null!=l&&l()},z,A,null,null,null,null,L);this.showDialog(c.container,340,46+L,!0,B);c.init()};EditorUi.prototype.showBanner=function(c,f,l,z,A,B,G,L,P){var J=!1;if(!(this.bannerShowing||this["hideBanner"+c]||isLocalStorage&&null!=mxSettings.settings&&null!=mxSettings.settings["close"+c])){B=null!=B?B:"bottom:10px;left:50%;";G=null!=G?G:"translate(-50%,120%)";L=null!=L?L:"translate(-50%,0%)";var fa=A?500:1E3;J=A?
"padding:4px;border-radius:6px;font-size:11px;height:12px;font-weight:normal;":"font-size:16px;padding:18px 34px 12px 20px;font-weight:bold;";var ea=document.createElement("div");ea.style.cssText="position:absolute;"+B+";max-width:90%;white-space:nowrap;cursor:pointer;z-index:"+mxPopupMenu.prototype.zIndex+";"+J;mxUtils.setPrefixedStyle(ea.style,"transform",G);mxUtils.setPrefixedStyle(ea.style,"transition","all "+fa+"ms ease");ea.className="geBtn gePrimaryBtn"+(A?" geSmallBanner":"");Editor.isDarkMode()||
mxUtils.setPrefixedStyle(ea.style,"box-shadow","1px 1px 2px 0px #ddd");null!=P&&mxUtils.setPrefixedStyle(ea.style,"transform-origin",P);if(!A){var T=document.createElement("img");T.setAttribute("src",IMAGE_PATH+"/logo.png");T.setAttribute("border","0");T.setAttribute("align","absmiddle");T.style.cssText="margin-top:-4px;margin-left:8px;margin-right:12px;width:26px;height:26px;";ea.appendChild(T);T=document.createElement("img");T.setAttribute("src",Dialog.prototype.closeImage);T.setAttribute("title",
mxResources.get(z?"doNotShowAgain":"close"));T.setAttribute("border","0");T.style.cssText=(A?"right:6px;top:9px;":"right:10px;top:12px;")+"position:absolute;filter:invert(1);padding:6px;margin:-6px;cursor:default;";ea.appendChild(T)}mxUtils.write(ea,f);document.body.appendChild(ea);this.bannerShowing=!0;f=document.createElement("div");f.style.cssText="display:flex;align-items:center;justify-content:center;padding-top:6px;font-size:11px;text-align:center;font-weight:normal;";var ca=document.createElement("input");
-ca.setAttribute("type","checkbox");ca.setAttribute("id","geDoNotShowAgainCheckbox");ca.style.marginRight="6px";if(!z){f.appendChild(ca);var ka=document.createElement("label");ka.setAttribute("for","geDoNotShowAgainCheckbox");mxUtils.write(ka,mxResources.get("doNotShowAgain"));f.appendChild(ka);ea.style.paddingBottom=A?"16px":"30px";ea.appendChild(f)}var ma=mxUtils.bind(this,function(){null!=ea.parentNode&&(ea.parentNode.removeChild(ea),this.bannerShowing=!1,ca.checked||z)&&(this["hideBanner"+c]=!0,
-isLocalStorage&&null!=mxSettings.settings&&(mxSettings.settings["close"+c]=Date.now(),mxSettings.save()))});null!=T&&mxEvent.addListener(T,"click",mxUtils.bind(this,function(V){mxEvent.consume(V);ma()}));var aa=mxUtils.bind(this,function(){mxUtils.setPrefixedStyle(ea.style,"transform",G);window.setTimeout(mxUtils.bind(this,function(){ma()}),fa)});mxEvent.addListener(ea,"click",mxUtils.bind(this,function(V){var da=mxEvent.getSource(V);da!=ca&&da!=ka?(null!=l&&l(),ma(),mxEvent.consume(V)):aa()}));window.setTimeout(mxUtils.bind(this,
+ca.setAttribute("type","checkbox");ca.setAttribute("id","geDoNotShowAgainCheckbox");ca.style.marginRight="6px";if(!z){f.appendChild(ca);var ja=document.createElement("label");ja.setAttribute("for","geDoNotShowAgainCheckbox");mxUtils.write(ja,mxResources.get("doNotShowAgain"));f.appendChild(ja);ea.style.paddingBottom=A?"16px":"30px";ea.appendChild(f)}var ma=mxUtils.bind(this,function(){null!=ea.parentNode&&(ea.parentNode.removeChild(ea),this.bannerShowing=!1,ca.checked||z)&&(this["hideBanner"+c]=!0,
+isLocalStorage&&null!=mxSettings.settings&&(mxSettings.settings["close"+c]=Date.now(),mxSettings.save()))});null!=T&&mxEvent.addListener(T,"click",mxUtils.bind(this,function(V){mxEvent.consume(V);ma()}));var aa=mxUtils.bind(this,function(){mxUtils.setPrefixedStyle(ea.style,"transform",G);window.setTimeout(mxUtils.bind(this,function(){ma()}),fa)});mxEvent.addListener(ea,"click",mxUtils.bind(this,function(V){var da=mxEvent.getSource(V);da!=ca&&da!=ja?(null!=l&&l(),ma(),mxEvent.consume(V)):aa()}));window.setTimeout(mxUtils.bind(this,
function(){mxUtils.setPrefixedStyle(ea.style,"transform",L)}),fa/2);window.setTimeout(aa,A?4E3:3E4);J=!0}return J};EditorUi.prototype.setCurrentFile=function(c){null!=c&&(c.opened=new Date);this.currentFile=c};EditorUi.prototype.getCurrentFile=function(){return this.currentFile};EditorUi.prototype.isExportToCanvas=function(){return this.editor.isExportToCanvas()};EditorUi.prototype.createImageDataUri=function(c,f,l,z){c=c.toDataURL("image/"+l);if(null!=c&&6<c.length)null!=f&&(c=Editor.writeGraphModelToPng(c,
"tEXt","mxfile",encodeURIComponent(f))),0<z&&(c=Editor.writeGraphModelToPng(c,"pHYs","dpi",z));else throw{message:mxResources.get("unknownError")};return c};EditorUi.prototype.saveCanvas=function(c,f,l,z,A){var B="jpeg"==l?"jpg":l;z=this.getBaseFilename(z)+(null!=f?".drawio":"")+"."+B;c=this.createImageDataUri(c,f,l,A);this.saveData(z,B,c.substring(c.lastIndexOf(",")+1),"image/"+l,!0)};EditorUi.prototype.isLocalFileSave=function(){return"remote"!=urlParams.save&&(mxClient.IS_IE||"undefined"!==typeof window.Blob&&
"undefined"!==typeof window.URL)&&9!=document.documentMode&&8!=document.documentMode&&7!=document.documentMode||this.isOfflineApp()||mxClient.IS_IOS};EditorUi.prototype.showTextDialog=function(c,f){c=new TextareaDialog(this,c,f,null,null,mxResources.get("close"));this.showDialog(c.container,620,460,!0,!0,null,null,null,null,!0);c.init();document.execCommand("selectall",!1,null)};EditorUi.prototype.doSaveLocalFile=function(c,f,l,z,A,B){"text/xml"!=l||/(\.drawio)$/i.test(f)||/(\.xml)$/i.test(f)||/(\.svg)$/i.test(f)||
/(\.html)$/i.test(f)||(f=f+"."+(null!=B?B:"drawio"));if(window.Blob&&navigator.msSaveOrOpenBlob)c=z?this.base64ToBlob(c,l):new Blob([c],{type:l}),navigator.msSaveOrOpenBlob(c,f);else if(mxClient.IS_IE)l=window.open("about:blank","_blank"),null==l?mxUtils.popup(c,!0):(l.document.write(c),l.document.close(),l.document.execCommand("SaveAs",!0,f),l.close());else if(mxClient.IS_IOS&&this.isOffline())navigator.standalone||null==l||"image/"!=l.substring(0,6)?this.showTextDialog(f+":",c):this.openInNewWindow(c,
l,z);else{var G=document.createElement("a");B=(null==navigator.userAgent||0>navigator.userAgent.indexOf("PaleMoon/"))&&"undefined"!==typeof G.download;if(mxClient.IS_GC&&null!=navigator.userAgent){var L=navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);B=65==(L?parseInt(L[2],10):!1)?!1:B}if(B||this.isOffline()){G.href=URL.createObjectURL(z?this.base64ToBlob(c,l):new Blob([c],{type:l}));B?G.download=f:G.setAttribute("target","_blank");document.body.appendChild(G);try{window.setTimeout(function(){URL.revokeObjectURL(G.href)},
2E4),G.click(),G.parentNode.removeChild(G)}catch(P){}}else this.createEchoRequest(c,f,l,z,A).simulate(document,"_blank")}};EditorUi.prototype.createEchoRequest=function(c,f,l,z,A,B){c="xml="+encodeURIComponent(c);return new mxXmlRequest(SAVE_URL,c+(null!=l?"&mime="+l:"")+(null!=A?"&format="+A:"")+(null!=B?"&base64="+B:"")+(null!=f?"&filename="+encodeURIComponent(f):"")+(z?"&binary=1":""))};EditorUi.prototype.saveLocalFile=function(c,f,l,z,A,B,G,L){B=null!=B?B:!1;G=null!=G?G:"vsdx"!=A&&(!mxClient.IS_IOS||
-!navigator.standalone);var P=mxUtils.bind(this,function(fa,ea,T,ca){try{if("_blank"==ea)if(null!=l&&"image/"==l.substring(0,6))this.openInNewWindow(c,l,z);else if(null!=l&&"text/html"==l.substring(0,9)){var ka=new EmbedDialog(this,c);this.showDialog(ka.container,450,240,!0,!0);ka.init()}else{var ma=window.open("about:blank");null==ma?mxUtils.popup(c,!0):(ma.document.write("<pre>"+mxUtils.htmlEntities(c,!1)+"</pre>"),ma.document.close())}else if(ea==App.MODE_DEVICE||"download"==ea)this.doSaveLocalFile(c,
+!navigator.standalone);var P=mxUtils.bind(this,function(fa,ea,T,ca){try{if("_blank"==ea)if(null!=l&&"image/"==l.substring(0,6))this.openInNewWindow(c,l,z);else if(null!=l&&"text/html"==l.substring(0,9)){var ja=new EmbedDialog(this,c);this.showDialog(ja.container,450,240,!0,!0);ja.init()}else{var ma=window.open("about:blank");null==ma?mxUtils.popup(c,!0):(ma.document.write("<pre>"+mxUtils.htmlEntities(c,!1)+"</pre>"),ma.document.close())}else if(ea==App.MODE_DEVICE||"download"==ea)this.doSaveLocalFile(c,
fa,l,z,null,L);else if(null!=fa&&0<fa.length){var aa=mxUtils.bind(this,function(V){try{this.exportFile(c,fa,l,z,ea,V)}catch(da){this.handleError(da)}});null!=ca?aa(ca):this.pickFolder(ea,aa)}}catch(V){this.handleError(V)}});A=[];B||A.push(App.MODE_BROWSER);G||A.push("_blank");var J=new SaveDialog(this,f,mxUtils.bind(this,function(fa,ea,T){P(fa.value,ea,fa,T);this.hideDialog(null,null,J.container)}),A,c,l,z);this.showDialog(J.container,420,110,!0,!1,mxUtils.bind(this,function(){this.hideDialog()}));
J.init()};EditorUi.prototype.openInNewWindow=function(c,f,l){var z=window.open("about:blank");null==z||null==z.document?mxUtils.popup(c,!0):("image/svg+xml"!=f||mxClient.IS_SVG?"image/svg+xml"!=f||l?(c=l?c:btoa(unescape(encodeURIComponent(c))),z.document.write('<html><img style="max-width:100%;" src="data:'+f+";base64,"+c+'"/></html>')):z.document.write("<html>"+c+"</html>"):z.document.write("<html><pre>"+mxUtils.htmlEntities(c,!1)+"</pre></html>"),z.document.close())};var n=EditorUi.prototype.addChromelessToolbarItems;
EditorUi.prototype.isChromelessImageExportEnabled=function(){return"draw.io"!=this.getServiceName()||/.*\.draw\.io$/.test(window.location.hostname)||/.*\.diagrams\.net$/.test(window.location.hostname)};EditorUi.prototype.addChromelessToolbarItems=function(c){if(null!=urlParams.tags){this.tagsDialog=this.tagsComponent=null;var f=c(mxUtils.bind(this,function(z){null==this.tagsComponent&&(this.tagsComponent=this.editor.graph.createTagsDialog(mxUtils.bind(this,function(){return null!=this.tagsDialog}),
@@ -3601,18 +3599,18 @@ null)}));this.editor.addListener("layersDialogShown",mxUtils.bind(this,function(
speed:1.5,trail:60,shadow:!1,hwaccel:!1,top:"28px",zIndex:2E9});G.spin(this.exportDialog);document.body.appendChild(this.exportDialog);mxEvent.addListener(this.editor.graph.container,"click",A);this.editor.exportToCanvas(mxUtils.bind(this,function(L){G.stop();this.exportDialog.style.width="auto";this.exportDialog.style.height="auto";this.exportDialog.style.padding="10px";var P=this.createImageDataUri(L,null,"png");L=document.createElement("img");L.style.maxWidth="140px";L.style.maxHeight="140px";
L.style.cursor="pointer";L.style.backgroundColor="white";L.setAttribute("title",mxResources.get("openInNewWindow"));L.setAttribute("border","0");L.setAttribute("src",P);this.exportDialog.appendChild(L);mxEvent.addListener(L,"click",mxUtils.bind(this,function(){this.openInNewWindow(P.substring(P.indexOf(",")+1),"image/png",!0);A.apply(this,arguments)}))}),null,this.thumbImageCache,null,mxUtils.bind(this,function(L){G.stop();null!=this.exportDialog&&null!=this.exportDialog.parentNode&&(this.exportDialog.parentNode.removeChild(this.exportDialog),
this.exportDialog=null);this.handleError(L)}),null,null,null,null,null,null,null,Editor.defaultBorder)}mxEvent.consume(z)}),Editor.cameraImage,mxResources.get("export"))}};EditorUi.prototype.saveData=function(c,f,l,z,A){this.isLocalFileSave()?this.saveLocalFile(l,c,z,A,f):this.saveRequest(c,f,mxUtils.bind(this,function(B,G){return this.createEchoRequest(l,B,z,A,f,G)}),l,A,z)};EditorUi.prototype.saveRequest=function(c,f,l,z,A,B,G){G=null!=G?G:!mxClient.IS_IOS||!navigator.standalone;var L=mxUtils.bind(this,
-function(J,fa,ea,T){if("_blank"==fa||null!=J&&0<J.length){var ca=l("_blank"==fa?null:J,fa==App.MODE_DEVICE||"download"==fa||null==fa||"_blank"==fa?"0":"1");null!=ca&&(fa==App.MODE_DEVICE||"download"==fa||"_blank"==fa?ca.simulate(document,"_blank"):(ea=mxUtils.bind(this,function(ka){B=null!=B?B:"pdf"==f?"application/pdf":"image/"+f;if(null!=z)try{this.exportFile(z,J,B,!0,fa,ka)}catch(ma){this.handleError(ma)}else this.spinner.spin(document.body,mxResources.get("saving"))&&ca.send(mxUtils.bind(this,
-function(){this.spinner.stop();if(200<=ca.getStatus()&&299>=ca.getStatus())try{this.exportFile(ca.getText(),J,B,!0,fa,ka)}catch(ma){this.handleError(ma)}else this.handleError({message:mxResources.get("errorSavingFile")})}),mxUtils.bind(this,function(ma){this.spinner.stop();this.handleError(ma)}))}),null!=T?ea(T):this.pickFolder(fa,ea)))}});A=[App.MODE_BROWSER];G||A.push("_blank");var P=new SaveDialog(this,c,mxUtils.bind(this,function(J,fa,ea){L(J.value,fa,J,ea);this.hideDialog(null,null,P.container)}),
+function(J,fa,ea,T){if("_blank"==fa||null!=J&&0<J.length){var ca=l("_blank"==fa?null:J,fa==App.MODE_DEVICE||"download"==fa||null==fa||"_blank"==fa?"0":"1");null!=ca&&(fa==App.MODE_DEVICE||"download"==fa||"_blank"==fa?ca.simulate(document,"_blank"):(ea=mxUtils.bind(this,function(ja){B=null!=B?B:"pdf"==f?"application/pdf":"image/"+f;if(null!=z)try{this.exportFile(z,J,B,!0,fa,ja)}catch(ma){this.handleError(ma)}else this.spinner.spin(document.body,mxResources.get("saving"))&&ca.send(mxUtils.bind(this,
+function(){this.spinner.stop();if(200<=ca.getStatus()&&299>=ca.getStatus())try{this.exportFile(ca.getText(),J,B,!0,fa,ja)}catch(ma){this.handleError(ma)}else this.handleError({message:mxResources.get("errorSavingFile")})}),mxUtils.bind(this,function(ma){this.spinner.stop();this.handleError(ma)}))}),null!=T?ea(T):this.pickFolder(fa,ea)))}});A=[App.MODE_BROWSER];G||A.push("_blank");var P=new SaveDialog(this,c,mxUtils.bind(this,function(J,fa,ea){L(J.value,fa,J,ea);this.hideDialog(null,null,P.container)}),
A,null,"application/pdf");this.showDialog(P.container,420,110,!0,!1,mxUtils.bind(this,function(){this.hideDialog()}));P.init()};EditorUi.prototype.isServices=function(c){return 1!=c};EditorUi.prototype.getEditBlankXml=function(){return this.getFileData(!0)};EditorUi.prototype.exportFile=function(c,f,l,z,A,B){};EditorUi.prototype.getServiceForName=function(c){return null};EditorUi.prototype.getTitleForService=function(c){return mxResources.get(c)};EditorUi.prototype.pickFolder=function(c,f,l){f(null)};
-EditorUi.prototype.exportSvg=function(c,f,l,z,A,B,G,L,P,J,fa,ea,T,ca){if(this.spinner.spin(document.body,mxResources.get("exporting"),mxUtils.bind(this,function(R){Editor.addRetryToError(R,mxUtils.bind(this,function(){this.exportSvg(c,f,l,z,A,B,G,L,P,J,fa,ea,T,ca)}));this.handleError(R)})))try{var ka=this.editor.graph.isSelectionEmpty();l=null!=l?l:ka;var ma=f?null:this.editor.graph.background;ma==mxConstants.NONE&&(ma=null);null==ma&&0==f&&(ma="dark"!=fa||Editor.enableCssDarkMode?"#ffffff":Editor.darkColor);
+EditorUi.prototype.exportSvg=function(c,f,l,z,A,B,G,L,P,J,fa,ea,T,ca){if(this.spinner.spin(document.body,mxResources.get("exporting"),mxUtils.bind(this,function(R){Editor.addRetryToError(R,mxUtils.bind(this,function(){this.exportSvg(c,f,l,z,A,B,G,L,P,J,fa,ea,T,ca)}));this.handleError(R)})))try{var ja=this.editor.graph.isSelectionEmpty();l=null!=l?l:ja;var ma=f?null:this.editor.graph.background;ma==mxConstants.NONE&&(ma=null);null==ma&&0==f&&(ma="dark"!=fa||Editor.enableCssDarkMode?"#ffffff":Editor.darkColor);
var aa=this.editor.graph.addForeignObjectWarning;Editor.foreignObjectImages&&(this.editor.graph.addForeignObjectWarning=function(){});var V=this.editor.graph.getSvg(ma,c,G,L,null,l,null,null,"blank"==J?"_blank":"self"==J?"_top":null,null,!T,fa,ea);this.editor.graph.addForeignObjectWarning=aa;z&&this.editor.graph.addSvgShadow(V);var da=this.getBaseFilename()+(A?".drawio":"")+".svg";ca=null!=ca?ca:mxUtils.bind(this,function(R){this.isLocalFileSave()||R.length<=MAX_REQUEST_SIZE?this.saveData(da,"svg",
R,"image/svg+xml"):this.handleError({message:mxResources.get("drawingTooLarge")},mxResources.get("error"),mxUtils.bind(this,function(){mxUtils.popup(R)}))});var k=mxUtils.bind(this,function(R){this.spinner.stop();A&&R.setAttribute("content",this.getFileData(!0,null,null,null,l,P,null,null,null,null,null,c,G));ca(Graph.xmlDeclaration+"\n"+(A?Graph.svgFileComment+"\n":"")+Graph.svgDoctype+"\n"+mxUtils.getXml(R))});this.editor.graph.mathEnabled&&this.editor.addMathCss(V);var t=mxUtils.bind(this,function(R){Editor.replaceSvgDataUris&&
-B&&EditorUi.embedSvgImages(R);Editor.foreignObjectImages&&T?this.replaceAlternateContent(R,fa,k):k(R)}),I=mxUtils.bind(this,function(R){B&&!this.isOffline()&&this.canvasSupported?(null==this.thumbImageCache&&(this.thumbImageCache={}),this.editor.convertImages(R,t,this.thumbImageCache)):t(R)});T?this.embedFonts(V,I):(this.editor.addFontCss(V),I(V))}catch(R){this.handleError(R)}};EditorUi.prototype.replaceAlternateContent=function(c,f,l){function z(ea,T,ca,ka,ma){var aa=mxUtils.createElementNs(c.ownerDocument,
-mxConstants.NS_SVG,"image");aa.setAttribute("x",T);aa.setAttribute("y",ca+.5);aa.setAttribute("width",ka.width);aa.setAttribute("height",ka.height);null==aa.setAttributeNS?aa.setAttribute("xlink:href",ma):aa.setAttributeNS(mxConstants.NS_XLINK,"xlink:href",ma);ea.replaceChild(aa,ea.lastChild);L()}function A(){if(G<fa.length)fa[G++](A)}var B="";f=c.getElementsByTagName("style");for(var G=0;G<f.length;G++)B+=f[G].innerHTML;f=c.getElementsByTagName("switch");counter=f.length;var L=mxUtils.bind(this,
-function(){counter--;0==counter&&l(c)}),P={},J={},fa=[];for(G=0;G<f.length;G++)mxUtils.bind(this,function(ea){var T=ea.getElementsByTagName("div");if(0<T.length)try{var ca=T[0].cloneNode(!0),ka=parseInt(ca.style.marginLeft),ma=parseInt(ca.style.paddingTop),aa=ca.getElementsByTagName("div")[1],V=T=!1,da=ca.style.alignItems,k=ca.style.justifyContent;if(null!=ca.style.writingMode){var t=ca.style.writingMode;V="vertical-"==t.substring(0,9);T="-rl"==t.substring(t.length-3)}var I=!V&&"1px"==ca.style.width||
+B&&EditorUi.embedSvgImages(R);Editor.foreignObjectImages&&T?this.replaceAlternateContent(R,fa,k):k(R)}),I=mxUtils.bind(this,function(R){B&&!this.isOffline()&&this.canvasSupported?(null==this.thumbImageCache&&(this.thumbImageCache={}),this.editor.convertImages(R,t,this.thumbImageCache)):t(R)});T?this.embedFonts(V,I):(this.editor.addFontCss(V),I(V))}catch(R){this.handleError(R)}};EditorUi.prototype.replaceAlternateContent=function(c,f,l){function z(ea,T,ca,ja,ma){var aa=mxUtils.createElementNs(c.ownerDocument,
+mxConstants.NS_SVG,"image");aa.setAttribute("x",T);aa.setAttribute("y",ca+.5);aa.setAttribute("width",ja.width);aa.setAttribute("height",ja.height);null==aa.setAttributeNS?aa.setAttribute("xlink:href",ma):aa.setAttributeNS(mxConstants.NS_XLINK,"xlink:href",ma);ea.replaceChild(aa,ea.lastChild);L()}function A(){if(G<fa.length)fa[G++](A)}var B="";f=c.getElementsByTagName("style");for(var G=0;G<f.length;G++)B+=f[G].innerHTML;f=c.getElementsByTagName("switch");counter=f.length;var L=mxUtils.bind(this,
+function(){counter--;0==counter&&l(c)}),P={},J={},fa=[];for(G=0;G<f.length;G++)mxUtils.bind(this,function(ea){var T=ea.getElementsByTagName("div");if(0<T.length)try{var ca=T[0].cloneNode(!0),ja=parseInt(ca.style.marginLeft),ma=parseInt(ca.style.paddingTop),aa=ca.getElementsByTagName("div")[1],V=T=!1,da=ca.style.alignItems,k=ca.style.justifyContent;if(null!=ca.style.writingMode){var t=ca.style.writingMode;V="vertical-"==t.substring(0,9);T="-rl"==t.substring(t.length-3)}var I=!V&&"1px"==ca.style.width||
V&&"1px"==ca.style.height;if(!V&&"1px"==ca.style.height||V&&"1px"==ca.style.width)ca.style.alignItems=V&&T?"unsafe flex-end":"unsafe flex-start";I&&(ca.style.justifyContent="unsafe flex-start");ca.style.paddingTop="";ca.style.marginLeft="";var R=ca.outerHTML,O=P[R];null==O&&(ca.style.position="absolute",ca.style.visibility="hidden",document.body.appendChild(ca),t=1,t="1px"==ca.style.width?aa.offsetWidth:parseInt(ca.style.width),I=1,I="1px"==ca.style.height?aa.offsetHeight:parseInt(ca.style.height),
-document.body.removeChild(ca),O=new mxRectangle(ka,ma,t,I),P[R]=O);"1px"==ca.style.height&&("unsafe center"==da?ma-=O.height/2:"unsafe flex-end"==da&&(ma-=O.height));if("1px"==ca.style.width)if(!V&&"unsafe center"==k||V&&"unsafe center"==da)ka-=O.width/2;else if(!V&&"unsafe flex-end"==k||V&&(!T&&"unsafe flex-end"==da||T&&"unsafe flex-start"==da))ka-=O.width;O=new mxRectangle(ka,ma,O.width,O.height+parseInt(aa.style.fontSize)/4);fa.push(mxUtils.bind(this,function(X){var Z=J[R];null==Z?Graph.htmlToPng(R,
-O.width,O.height,mxUtils.bind(this,function(ba){z(ea,ka,ma,O,ba);J[R]=ba;X()}),B):(z(ea,ka,ma,O,Z),X())}))}catch(X){L()}else L()})(f[G]);0==counter&&l(c);G=0;A()};EditorUi.prototype.addRadiobox=function(c,f,l,z,A,B,G){return this.addCheckbox(c,l,z,A,B,G,!0,f)};EditorUi.prototype.addCheckbox=function(c,f,l,z,A,B,G,L){B=null!=B?B:!0;var P=document.createElement("input");P.style.marginRight="8px";P.style.marginTop="16px";P.setAttribute("type",G?"radio":"checkbox");G="geCheckbox-"+Editor.guid();P.id=
+document.body.removeChild(ca),O=new mxRectangle(ja,ma,t,I),P[R]=O);"1px"==ca.style.height&&("unsafe center"==da?ma-=O.height/2:"unsafe flex-end"==da&&(ma-=O.height));if("1px"==ca.style.width)if(!V&&"unsafe center"==k||V&&"unsafe center"==da)ja-=O.width/2;else if(!V&&"unsafe flex-end"==k||V&&(!T&&"unsafe flex-end"==da||T&&"unsafe flex-start"==da))ja-=O.width;O=new mxRectangle(ja,ma,O.width,O.height+parseInt(aa.style.fontSize)/4);fa.push(mxUtils.bind(this,function(X){var Z=J[R];null==Z?Graph.htmlToPng(R,
+O.width,O.height,mxUtils.bind(this,function(ba){z(ea,ja,ma,O,ba);J[R]=ba;X()}),B):(z(ea,ja,ma,O,Z),X())}))}catch(X){L()}else L()})(f[G]);0==counter&&l(c);G=0;A()};EditorUi.prototype.addRadiobox=function(c,f,l,z,A,B,G){return this.addCheckbox(c,l,z,A,B,G,!0,f)};EditorUi.prototype.addCheckbox=function(c,f,l,z,A,B,G,L){B=null!=B?B:!0;var P=document.createElement("input");P.style.marginRight="8px";P.style.marginTop="16px";P.setAttribute("type",G?"radio":"checkbox");G="geCheckbox-"+Editor.guid();P.id=
G;null!=L&&P.setAttribute("name",L);l&&(P.setAttribute("checked","checked"),P.defaultChecked=!0);z&&P.setAttribute("disabled","disabled");B&&(c.appendChild(P),l=document.createElement("label"),mxUtils.write(l,f),l.setAttribute("for",G),c.appendChild(l),A||mxUtils.br(c));return P};EditorUi.prototype.addEditButton=function(c,f){var l=this.addCheckbox(c,mxResources.get("edit")+":",!0,null,!0);l.style.marginLeft="24px";var z=this.getCurrentFile(),A="";null!=z&&z.getMode()!=App.MODE_DEVICE&&z.getMode()!=
App.MODE_BROWSER&&(A=window.location.href);var B=document.createElement("select");B.style.maxWidth="200px";B.style.width="auto";B.style.marginLeft="8px";B.style.marginRight="10px";B.className="geBtn";z=document.createElement("option");z.setAttribute("value","blank");mxUtils.write(z,mxResources.get("makeCopy"));B.appendChild(z);var G=document.createElement("option");G.setAttribute("value","custom");mxUtils.write(G,mxResources.get("custom")+"...");B.appendChild(G);c.appendChild(B);mxEvent.addListener(B,
"change",mxUtils.bind(this,function(){if("custom"==B.value){var L=new FilenameDialog(this,A,mxResources.get("ok"),function(P){null!=P?(A=P,G.setAttribute("title",P)):(B.value="blank",G.removeAttribute("title"))},mxResources.get("url"),null,null,null,null,function(){B.value="blank"});this.showDialog(L.container,300,80,!0,!1);L.init()}}));mxEvent.addListener(l,"change",mxUtils.bind(this,function(){l.checked&&(null==f||f.checked)?B.removeAttribute("disabled"):B.setAttribute("disabled","disabled")}));
@@ -3628,34 +3626,34 @@ c=null!=c?"&fetch="+encodeURIComponent(c):"";ea(f,'<script type="text/javascript
document.createElement("h3");mxUtils.write(B,mxResources.get("html"));B.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:12px";A.appendChild(B);var G=document.createElement("div");G.style.cssText="border-bottom:1px solid lightGray;padding-bottom:8px;margin-bottom:12px;";var L=document.createElement("input");L.style.cssText="margin-right:8px;margin-top:8px;margin-bottom:8px;";L.setAttribute("value","url");L.setAttribute("type","radio");L.setAttribute("name","type-embedhtmldialog");
B=L.cloneNode(!0);B.setAttribute("value","copy");G.appendChild(B);var P=document.createElement("span");mxUtils.write(P,mxResources.get("includeCopyOfMyDiagram"));G.appendChild(P);mxUtils.br(G);G.appendChild(L);P=document.createElement("span");mxUtils.write(P,mxResources.get("publicDiagramUrl"));G.appendChild(P);var J=this.getCurrentFile();null==l&&null!=J&&J.constructor==window.DriveFile&&(P=document.createElement("a"),P.style.paddingLeft="12px",P.style.color="gray",P.style.cursor="pointer",mxUtils.write(P,
mxResources.get("share")),G.appendChild(P),mxEvent.addListener(P,"click",mxUtils.bind(this,function(){this.hideDialog();this.drive.showPermissions(J.getId(),J)})));B.setAttribute("checked","checked");null==l&&L.setAttribute("disabled","disabled");A.appendChild(G);var fa=this.addLinkSection(A),ea=this.addCheckbox(A,mxResources.get("zoom"),!0,null,!0);mxUtils.write(A,":");var T=document.createElement("input");T.setAttribute("type","text");T.style.marginRight="16px";T.style.width="60px";T.style.marginLeft=
-"4px";T.style.marginRight="12px";T.value="100%";A.appendChild(T);var ca=this.addCheckbox(A,mxResources.get("fit"),!0);G=null!=this.pages&&1<this.pages.length;var ka=ka=this.addCheckbox(A,mxResources.get("allPages"),G,!G),ma=this.addCheckbox(A,mxResources.get("layers"),!0),aa=this.addCheckbox(A,mxResources.get("tags"),!0),V=this.addCheckbox(A,mxResources.get("lightbox"),!0),da=null;G=380;if(EditorUi.enableHtmlEditOption){da=this.addEditButton(A,V);var k=da.getEditInput();k.style.marginBottom="16px";
-G+=50;mxEvent.addListener(V,"change",function(){V.checked?k.removeAttribute("disabled"):k.setAttribute("disabled","disabled");k.checked&&V.checked?da.getEditSelect().removeAttribute("disabled"):da.getEditSelect().setAttribute("disabled","disabled")})}c=new CustomDialog(this,A,mxUtils.bind(this,function(){z(L.checked?l:null,ea.checked,T.value,fa.getTarget(),fa.getColor(),ca.checked,ka.checked,ma.checked,aa.checked,V.checked,null!=da?da.getLink():null)}),null,c,f);this.showDialog(c.container,340,G,
+"4px";T.style.marginRight="12px";T.value="100%";A.appendChild(T);var ca=this.addCheckbox(A,mxResources.get("fit"),!0);G=null!=this.pages&&1<this.pages.length;var ja=ja=this.addCheckbox(A,mxResources.get("allPages"),G,!G),ma=this.addCheckbox(A,mxResources.get("layers"),!0),aa=this.addCheckbox(A,mxResources.get("tags"),!0),V=this.addCheckbox(A,mxResources.get("lightbox"),!0),da=null;G=380;if(EditorUi.enableHtmlEditOption){da=this.addEditButton(A,V);var k=da.getEditInput();k.style.marginBottom="16px";
+G+=50;mxEvent.addListener(V,"change",function(){V.checked?k.removeAttribute("disabled"):k.setAttribute("disabled","disabled");k.checked&&V.checked?da.getEditSelect().removeAttribute("disabled"):da.getEditSelect().setAttribute("disabled","disabled")})}c=new CustomDialog(this,A,mxUtils.bind(this,function(){z(L.checked?l:null,ea.checked,T.value,fa.getTarget(),fa.getColor(),ca.checked,ja.checked,ma.checked,aa.checked,V.checked,null!=da?da.getLink():null)}),null,c,f);this.showDialog(c.container,340,G,
!0,!0);B.focus()};EditorUi.prototype.showPublishLinkDialog=function(c,f,l,z,A,B,G,L,P){var J=document.createElement("div");J.style.whiteSpace="nowrap";var fa=document.createElement("h3");mxUtils.write(fa,c||mxResources.get("publish"));fa.style.width="100%";fa.style.textAlign="center";fa.style.marginTop="2px";fa.style.marginBottom="20px";J.appendChild(fa);var ea=document.createElement("select");c=30;ea.className="geBtn";ea.style.marginBottom="8px";ea.style.marginLeft="0px";ea.style.width="100%";ea.style.boxSizing=
"border-box";if(null==L||""==L.getHash())A=null!=A?A:"https://www.drawio.com/doc/faq/publish-diagram-as-link",fa=document.createElement("option"),mxUtils.write(fa,mxResources.get("makeCopy")),fa.setAttribute("value","copy"),ea.appendChild(fa);fa=document.createElement("option");mxUtils.write(fa,mxResources.get("authorizationRequired"));fa.setAttribute("value","auth");ea.appendChild(fa);null!=L&&""!=L.getHash()||fa.setAttribute("disabled","disabled");L=document.createElement("option");L.setAttribute("value",
"public");ea.appendChild(L);null!=G?(mxUtils.write(L,mxResources.get("publicDiagramUrl")),L.setAttribute("title",G),ea.value="public"):(mxUtils.write(L,mxResources.get("publicDiagramUrl")+" ("+mxResources.get("diagramIsNotPublic")+")"),L.setAttribute("disabled","disabled"));J.appendChild(ea);mxUtils.br(J);ea.focus();var T=null,ca=null;if(null!=f||null!=l)c+=30,mxUtils.write(J,mxResources.get("width")+":"),T=document.createElement("input"),T.setAttribute("type","text"),T.style.marginRight="16px",T.style.width=
-"50px",T.style.marginLeft="6px",T.style.marginRight="16px",T.style.marginBottom="10px",T.value="100%",J.appendChild(T),mxUtils.write(J,mxResources.get("height")+":"),ca=document.createElement("input"),ca.setAttribute("type","text"),ca.style.width="50px",ca.style.marginLeft="6px",ca.style.marginBottom="10px",ca.value=l+"px",J.appendChild(ca),mxUtils.br(J);var ka=this.addLinkSection(J,z),ma=null;null!=this.pages&&null!=this.currentPage&&0<this.getPageIndex(this.currentPage)&&(c+=30,f=null!=this.currentPage?
+"50px",T.style.marginLeft="6px",T.style.marginRight="16px",T.style.marginBottom="10px",T.value="100%",J.appendChild(T),mxUtils.write(J,mxResources.get("height")+":"),ca=document.createElement("input"),ca.setAttribute("type","text"),ca.style.width="50px",ca.style.marginLeft="6px",ca.style.marginBottom="10px",ca.value=l+"px",J.appendChild(ca),mxUtils.br(J);var ja=this.addLinkSection(J,z),ma=null;null!=this.pages&&null!=this.currentPage&&0<this.getPageIndex(this.currentPage)&&(c+=30,f=null!=this.currentPage?
this.currentPage.getName():"",16<f.length&&(f=f.substring(0,16)+"..."),ma=this.addCheckbox(J,mxResources.get("selectedPage")+": "+f));var aa=this.addCheckbox(J,mxResources.get("lightbox"),!0,null,null,!z),V=this.addEditButton(J,aa),da=V.getEditInput();z&&(da.style.marginLeft=aa.style.marginLeft,aa.style.display="none",c-=20);var k=this.addCheckbox(J,mxResources.get("layers"),!0);k.style.marginLeft=da.style.marginLeft;k.style.marginTop="8px";var t=this.addCheckbox(J,mxResources.get("tags"),!0);t.style.marginLeft=
da.style.marginLeft;t.style.marginBottom="16px";t.style.marginTop="16px";mxEvent.addListener(aa,"change",function(){aa.checked?(k.removeAttribute("disabled"),da.removeAttribute("disabled"),t.removeAttribute("disabled")):(k.setAttribute("disabled","disabled"),da.setAttribute("disabled","disabled"),t.setAttribute("disabled","disabled"));da.checked&&aa.checked?V.getEditSelect().removeAttribute("disabled"):V.getEditSelect().setAttribute("disabled","disabled")});z=new CustomDialog(this,J,mxUtils.bind(this,
-function(){P(ka.getTarget(),ka.getColor(),null==ma?!1:ma.checked,aa.checked,V.getLink(),k.checked,null!=T?T.value:null,null!=ca?ca.value:null,t.checked,ea.value)}),null,mxResources.get("create"),A,B);this.showDialog(z.container,340,296+c,!0,!0);null!=T?(T.focus(),mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?T.select():document.execCommand("selectAll",!1,null)):null==ea.parentNode;ka.focus()};EditorUi.prototype.showRemoteExportDialog=function(c,f,l,z,A){var B=document.createElement("div");
+function(){P(ja.getTarget(),ja.getColor(),null==ma?!1:ma.checked,aa.checked,V.getLink(),k.checked,null!=T?T.value:null,null!=ca?ca.value:null,t.checked,ea.value)}),null,mxResources.get("create"),A,B);this.showDialog(z.container,340,296+c,!0,!0);null!=T?(T.focus(),mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?T.select():document.execCommand("selectAll",!1,null)):null==ea.parentNode;ja.focus()};EditorUi.prototype.showRemoteExportDialog=function(c,f,l,z,A){var B=document.createElement("div");
B.style.whiteSpace="nowrap";var G=document.createElement("h3");mxUtils.write(G,mxResources.get("image"));G.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:"+(A?"10":"4")+"px";B.appendChild(G);if(A){mxUtils.write(B,mxResources.get("zoom")+":");var L=document.createElement("input");L.setAttribute("type","text");L.style.marginRight="16px";L.style.width="60px";L.style.marginLeft="4px";L.style.marginRight="12px";L.value=this.lastExportZoom||"100%";B.appendChild(L);mxUtils.write(B,
mxResources.get("borderWidth")+":");var P=document.createElement("input");P.setAttribute("type","text");P.style.marginRight="16px";P.style.width="60px";P.style.marginLeft="4px";P.value=this.lastExportBorder||"0";B.appendChild(P);mxUtils.br(B)}var J=this.addCheckbox(B,mxResources.get("selectionOnly"),!1,this.editor.graph.isSelectionEmpty()),fa=z?null:this.addCheckbox(B,mxResources.get("includeCopyOfMyDiagram"),Editor.defaultIncludeDiagram);G=this.editor.graph;var ea=z?null:this.addCheckbox(B,mxResources.get("transparentBackground"),
G.background==mxConstants.NONE||null==G.background);null!=ea&&(ea.style.marginBottom="16px");c=new CustomDialog(this,B,mxUtils.bind(this,function(){var T=parseInt(L.value)/100||1,ca=parseInt(P.value)||0;l(!J.checked,null!=fa?fa.checked:!1,null!=ea?ea.checked:!1,T,ca)}),null,c,f);this.showDialog(c.container,300,(A?25:0)+(z?125:210),!0,!0)};EditorUi.prototype.showExportDialog=function(c,f,l,z,A,B,G,L,P){G=null!=G?G:Editor.defaultIncludeDiagram;var J=document.createElement("div");J.style.whiteSpace=
"nowrap";var fa=this.editor.graph,ea="jpeg"==L||"webp"==L?220:320,T=document.createElement("h3");mxUtils.write(T,c);T.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:10px";J.appendChild(T);mxUtils.write(J,mxResources.get("zoom")+":");var ca=document.createElement("input");ca.setAttribute("type","text");ca.style.marginRight="16px";ca.style.width="60px";ca.style.marginLeft="4px";ca.style.marginRight="12px";ca.value=this.lastExportZoom||"100%";J.appendChild(ca);mxUtils.write(J,
-mxResources.get("borderWidth")+":");var ka=document.createElement("input");ka.setAttribute("type","text");ka.style.marginRight="16px";ka.style.width="60px";ka.style.marginLeft="4px";ka.value=this.lastExportBorder||"0";J.appendChild(ka);mxUtils.br(J);var ma=this.addCheckbox(J,mxResources.get("selectionOnly"),!1,fa.isSelectionEmpty()),aa=document.createElement("input");aa.style.marginTop="16px";aa.style.marginRight="8px";aa.style.marginLeft="24px";aa.setAttribute("disabled","disabled");aa.setAttribute("type",
+mxResources.get("borderWidth")+":");var ja=document.createElement("input");ja.setAttribute("type","text");ja.style.marginRight="16px";ja.style.width="60px";ja.style.marginLeft="4px";ja.value=this.lastExportBorder||"0";J.appendChild(ja);mxUtils.br(J);var ma=this.addCheckbox(J,mxResources.get("selectionOnly"),!1,fa.isSelectionEmpty()),aa=document.createElement("input");aa.style.marginTop="16px";aa.style.marginRight="8px";aa.style.marginLeft="24px";aa.setAttribute("disabled","disabled");aa.setAttribute("type",
"checkbox");var V=document.createElement("select");V.style.marginTop="16px";V.style.marginLeft="8px";c=["selectionOnly","diagram","page"];for(T=0;T<c.length;T++)if(!fa.isSelectionEmpty()||"selectionOnly"!=c[T]){var da=document.createElement("option");mxUtils.write(da,mxResources.get(c[T]));da.setAttribute("value",c[T]);V.appendChild(da)}P?(mxUtils.write(J,mxResources.get("size")+":"),J.appendChild(V),mxUtils.br(J),ea+=26,mxEvent.addListener(V,"change",function(){"selectionOnly"==V.value&&(ma.checked=
!0)})):B&&(J.appendChild(aa),mxUtils.write(J,mxResources.get("crop")),mxUtils.br(J),ea+=30,mxEvent.addListener(ma,"change",function(){ma.checked?aa.removeAttribute("disabled"):aa.setAttribute("disabled","disabled")}));fa.isSelectionEmpty()?P&&(ma.style.display="none",ma.nextSibling.style.display="none",ma.nextSibling.nextSibling.style.display="none",ea-=30):(V.value="diagram",aa.setAttribute("checked","checked"),aa.defaultChecked=!0,mxEvent.addListener(ma,"change",function(){V.value=ma.checked?"selectionOnly":
"diagram"}));var k=this.addCheckbox(J,mxResources.get("transparentBackground"),!1,null,null,"jpeg"!=L&&"webp"!=L),t=null;if(Editor.isDarkMode()||Editor.enableCssDarkMode)t=document.createElement("select"),t.style.maxWidth="260px",t.style.marginLeft="8px",t.style.marginTop="16px",B=document.createElement("option"),B.setAttribute("value","light"),mxUtils.write(B,mxResources.get("light")),t.appendChild(B),P=document.createElement("option"),P.setAttribute("value","dark"),mxUtils.write(P,mxResources.get("dark")),
t.appendChild(P),Editor.enableCssDarkMode&&"svg"==L&&(c=document.createElement("option"),c.setAttribute("value","auto"),mxUtils.write(c,mxResources.get("automatic")),t.appendChild(c)),mxUtils.write(J,mxResources.get("appearance")+":"),J.appendChild(t),mxUtils.br(J),Editor.isDarkMode()||Editor.cssDarkMode?P.setAttribute("selected","selected"):B.setAttribute("selected","selected"),ea+=26;var I=this.addCheckbox(J,mxResources.get("shadow"),fa.shadowVisible),R=null;if("png"==L||"jpeg"==L||"webp"==L)R=
this.addCheckbox(J,mxResources.get("grid"),!1,this.isOffline()||!this.canvasSupported,!1,!0),ea+=30;var O=this.addCheckbox(J,mxResources.get("includeCopyOfMyDiagram")+":",G,null,null,"jpeg"!=L&&"webp"!=L),X=document.createElement("select");X.style.maxWidth="260px";X.style.marginLeft="28px";"png"==L||"svg"==L?(G=function(){O.checked?X.removeAttribute("disabled"):X.setAttribute("disabled","disabled")},fa=document.createElement("option"),fa.setAttribute("value","allPages"),mxUtils.write(fa,mxResources.get("allPages")),
X.appendChild(fa),fa=document.createElement("option"),fa.setAttribute("value","currentPage"),mxUtils.write(fa,mxResources.get("currentPage")),X.appendChild(fa),O.style.marginBottom="12px",X.style.marginBottom="16px",J.appendChild(X),mxUtils.br(J),ea+=20,null!=this.lastEmbedInclude&&(X.value=this.lastEmbedInclude),mxEvent.addListener(O,"change",G),G()):O.style.marginBottom="16px";var Z=document.createElement("input");Z.style.marginBottom="16px";Z.style.marginRight="8px";Z.setAttribute("type","checkbox");
-var ba=document.createElement("input");ba.style.marginBottom="16px";ba.style.marginRight="8px";ba.setAttribute("type","checkbox");f&&(Z.checked=null!=this.lastEmbedImages?this.lastEmbedImages:!0,J.appendChild(Z),mxUtils.write(J,mxResources.get("embedImages")),mxUtils.br(J),ba.checked=null!=this.lastEmbedFonts?this.lastEmbedImages:!0,J.appendChild(ba),mxUtils.write(J,mxResources.get("embedFonts")),mxUtils.br(J),ea+=50);var la=document.createElement("select");la.style.maxWidth="260px";la.style.marginLeft=
-"8px";c=document.createElement("option");c.setAttribute("value","auto");mxUtils.write(c,mxResources.get("automatic"));la.appendChild(c);G=document.createElement("option");G.setAttribute("value","blank");mxUtils.write(G,mxResources.get("openInNewWindow"));la.appendChild(G);G=document.createElement("option");G.setAttribute("value","self");mxUtils.write(G,mxResources.get("openInThisWindow"));la.appendChild(G);G=document.createElement("div");mxUtils.write(G,mxResources.get("LinksLost"));G.style.margin=
-"7px";G.style.display="none";"svg"==L&&(mxUtils.write(J,mxResources.get("links")+":"),J.appendChild(la),J.appendChild(G),mxUtils.br(J),mxUtils.br(J),ea+=50);l=new CustomDialog(this,J,mxUtils.bind(this,function(){this.lastExportBorder=ka.value;this.lastExportZoom=ca.value;this.lastEmbedImages=Z.checked;this.lastEmbedFonts=ba.checked;this.lastEmbedInclude=X.value;A(ca.value,k.checked,!ma.checked,I.checked,O.checked,Z.checked&&f,ka.value,aa.checked,("png"==L||"svg"==L)&&"currentPage"==X.value,la.value,
+var ba=document.createElement("input");ba.style.marginBottom="16px";ba.style.marginRight="8px";ba.setAttribute("type","checkbox");f&&(Z.checked=null!=this.lastEmbedImages?this.lastEmbedImages:!0,J.appendChild(Z),mxUtils.write(J,mxResources.get("embedImages")),mxUtils.br(J),ba.checked=null!=this.lastEmbedFonts?this.lastEmbedImages:!0,J.appendChild(ba),mxUtils.write(J,mxResources.get("embedFonts")),mxUtils.br(J),ea+=50);var ka=document.createElement("select");ka.style.maxWidth="260px";ka.style.marginLeft=
+"8px";c=document.createElement("option");c.setAttribute("value","auto");mxUtils.write(c,mxResources.get("automatic"));ka.appendChild(c);G=document.createElement("option");G.setAttribute("value","blank");mxUtils.write(G,mxResources.get("openInNewWindow"));ka.appendChild(G);G=document.createElement("option");G.setAttribute("value","self");mxUtils.write(G,mxResources.get("openInThisWindow"));ka.appendChild(G);G=document.createElement("div");mxUtils.write(G,mxResources.get("LinksLost"));G.style.margin=
+"7px";G.style.display="none";"svg"==L&&(mxUtils.write(J,mxResources.get("links")+":"),J.appendChild(ka),J.appendChild(G),mxUtils.br(J),mxUtils.br(J),ea+=50);l=new CustomDialog(this,J,mxUtils.bind(this,function(){this.lastExportBorder=ja.value;this.lastExportZoom=ca.value;this.lastEmbedImages=Z.checked;this.lastEmbedFonts=ba.checked;this.lastEmbedInclude=X.value;A(ca.value,k.checked,!ma.checked,I.checked,O.checked,Z.checked&&f,ja.value,aa.checked,("png"==L||"svg"==L)&&"currentPage"==X.value,ka.value,
null!=R?R.checked:null,null!=t?t.value:null,V.value,ba.checked)}),null,l,z);this.showDialog(l.container,340,ea,!0,!0,null,null,null,null,!0);ca.focus();mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?ca.select():document.execCommand("selectAll",!1,null)};EditorUi.prototype.showEmbedImageDialog=function(c,f,l,z,A){var B=document.createElement("div");B.style.whiteSpace="nowrap";var G=this.editor.graph;if(null!=f){var L=document.createElement("h3");mxUtils.write(L,f);L.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:4px";
-B.appendChild(L)}var P=this.addCheckbox(B,mxResources.get("fit"),!0),J=this.addCheckbox(B,mxResources.get("shadow"),G.shadowVisible&&z,!z),fa=this.addCheckbox(B,l),ea=this.addCheckbox(B,mxResources.get("lightbox"),!0),T=this.addEditButton(B,ea),ca=T.getEditInput(),ka=1<G.model.getChildCount(G.model.getRoot()),ma=this.addCheckbox(B,mxResources.get("layers"),ka,!ka);ma.style.marginLeft=ca.style.marginLeft;ma.style.marginBottom="12px";ma.style.marginTop="8px";mxEvent.addListener(ea,"change",function(){ea.checked?
-(ka&&ma.removeAttribute("disabled"),ca.removeAttribute("disabled")):(ma.setAttribute("disabled","disabled"),ca.setAttribute("disabled","disabled"));ca.checked&&ea.checked?T.getEditSelect().removeAttribute("disabled"):T.getEditSelect().setAttribute("disabled","disabled")});f=new CustomDialog(this,B,mxUtils.bind(this,function(){c(P.checked,J.checked,fa.checked,ea.checked,T.getLink(),ma.checked)}),null,mxResources.get("embed"),A);this.showDialog(f.container,280,300,!0,!0)};EditorUi.prototype.createEmbedImage=
-function(c,f,l,z,A,B,G,L){function P(ca){var ka=" ",ma="";z&&(ka=" onclick=\"(function(img){if(img.wnd!=null&&!img.wnd.closed){img.wnd.focus();}else{var r=function(evt){if(evt.data=='ready'&&evt.source==img.wnd){img.wnd.postMessage(decodeURIComponent(img.getAttribute('src')),'*');window.removeEventListener('message',r);}};window.addEventListener('message',r);img.wnd=window.open('"+EditorUi.lightboxHost+"/?client=1"+(null!=fa?"&page="+fa:"")+(A?"&edit=_blank":"")+(B?"&layers=1":"")+"');}})(this);\"",
-ma+="cursor:pointer;");c&&(ma+="max-width:100%;");var aa="";l&&(aa=' width="'+Math.round(J.width)+'" height="'+Math.round(J.height)+'"');G('<img src="'+ca+'"'+aa+(""!=ma?' style="'+ma+'"':"")+ka+"/>")}var J=this.editor.graph.getGraphBounds(),fa=this.getSelectedPageIndex();if(this.isExportToCanvas())this.editor.exportToCanvas(mxUtils.bind(this,function(ca){var ka=z?this.getFileData(!0):null;ca=this.createImageDataUri(ca,ka,"png");P(ca)}),null,null,null,mxUtils.bind(this,function(ca){L({message:mxResources.get("unknownError")})}),
+B.appendChild(L)}var P=this.addCheckbox(B,mxResources.get("fit"),!0),J=this.addCheckbox(B,mxResources.get("shadow"),G.shadowVisible&&z,!z),fa=this.addCheckbox(B,l),ea=this.addCheckbox(B,mxResources.get("lightbox"),!0),T=this.addEditButton(B,ea),ca=T.getEditInput(),ja=1<G.model.getChildCount(G.model.getRoot()),ma=this.addCheckbox(B,mxResources.get("layers"),ja,!ja);ma.style.marginLeft=ca.style.marginLeft;ma.style.marginBottom="12px";ma.style.marginTop="8px";mxEvent.addListener(ea,"change",function(){ea.checked?
+(ja&&ma.removeAttribute("disabled"),ca.removeAttribute("disabled")):(ma.setAttribute("disabled","disabled"),ca.setAttribute("disabled","disabled"));ca.checked&&ea.checked?T.getEditSelect().removeAttribute("disabled"):T.getEditSelect().setAttribute("disabled","disabled")});f=new CustomDialog(this,B,mxUtils.bind(this,function(){c(P.checked,J.checked,fa.checked,ea.checked,T.getLink(),ma.checked)}),null,mxResources.get("embed"),A);this.showDialog(f.container,280,300,!0,!0)};EditorUi.prototype.createEmbedImage=
+function(c,f,l,z,A,B,G,L){function P(ca){var ja=" ",ma="";z&&(ja=" onclick=\"(function(img){if(img.wnd!=null&&!img.wnd.closed){img.wnd.focus();}else{var r=function(evt){if(evt.data=='ready'&&evt.source==img.wnd){img.wnd.postMessage(decodeURIComponent(img.getAttribute('src')),'*');window.removeEventListener('message',r);}};window.addEventListener('message',r);img.wnd=window.open('"+EditorUi.lightboxHost+"/?client=1"+(null!=fa?"&page="+fa:"")+(A?"&edit=_blank":"")+(B?"&layers=1":"")+"');}})(this);\"",
+ma+="cursor:pointer;");c&&(ma+="max-width:100%;");var aa="";l&&(aa=' width="'+Math.round(J.width)+'" height="'+Math.round(J.height)+'"');G('<img src="'+ca+'"'+aa+(""!=ma?' style="'+ma+'"':"")+ja+"/>")}var J=this.editor.graph.getGraphBounds(),fa=this.getSelectedPageIndex();if(this.isExportToCanvas())this.editor.exportToCanvas(mxUtils.bind(this,function(ca){var ja=z?this.getFileData(!0):null;ca=this.createImageDataUri(ca,ja,"png");P(ca)}),null,null,null,mxUtils.bind(this,function(ca){L({message:mxResources.get("unknownError")})}),
null,!0,l?2:1,null,f,null,null,Editor.defaultBorder);else if(f=this.getFileData(!0),J.width*J.height<=MAX_AREA&&f.length<=MAX_REQUEST_SIZE){var ea="";l&&(ea="&w="+Math.round(2*J.width)+"&h="+Math.round(2*J.height));var T=new mxXmlRequest(EXPORT_URL,"format=png&base64=1&embedXml="+(z?"1":"0")+ea+"&xml="+encodeURIComponent(f));T.send(mxUtils.bind(this,function(){200<=T.getStatus()&&299>=T.getStatus()?P("data:image/png;base64,"+T.getText()):L({message:mxResources.get("unknownError")})}))}else L({message:mxResources.get("drawingTooLarge")})};
EditorUi.prototype.createEmbedSvg=function(c,f,l,z,A,B,G){var L=this.editor.graph.getSvg(null,null,null,null,null,null,null,null,null,null,!l),P=L.getElementsByTagName("a");if(null!=P)for(var J=0;J<P.length;J++){var fa=P[J].getAttribute("href");null!=fa&&"#"==fa.charAt(0)&&"_blank"==P[J].getAttribute("target")&&P[J].removeAttribute("target")}z&&L.setAttribute("content",this.getFileData(!0));f&&this.editor.graph.addSvgShadow(L);if(l){var ea=" ",T="";z&&(ea="onclick=\"(function(img){if(img.wnd!=null&&!img.wnd.closed){img.wnd.focus();}else{var r=function(evt){if(evt.data=='ready'&&evt.source==img.wnd){img.wnd.postMessage(decodeURIComponent(img.getAttribute('src')),'*');window.removeEventListener('message',r);}};window.addEventListener('message',r);img.wnd=window.open('"+
EditorUi.lightboxHost+"/?client=1"+(A?"&edit=_blank":"")+(B?"&layers=1":"")+"');}})(this);\"",T+="cursor:pointer;");c&&(T+="max-width:100%;");this.editor.convertImages(L,mxUtils.bind(this,function(ca){G('<img src="'+Editor.createSvgDataUri(mxUtils.getXml(ca))+'"'+(""!=T?' style="'+T+'"':"")+ea+"/>")}))}else T="",z&&(f=this.getSelectedPageIndex(),L.setAttribute("onclick","(function(svg){var src=window.event.target||window.event.srcElement;while (src!=null&&src.nodeName.toLowerCase()!='a'){src=src.parentNode;}if(src==null){if(svg.wnd!=null&&!svg.wnd.closed){svg.wnd.focus();}else{var r=function(evt){if(evt.data=='ready'&&evt.source==svg.wnd){svg.wnd.postMessage(decodeURIComponent(svg.getAttribute('content')),'*');window.removeEventListener('message',r);}};window.addEventListener('message',r);svg.wnd=window.open('"+
@@ -3666,20 +3664,20 @@ EditorUi.prototype.getPngFileProperties=function(c){var f=1,l=0;if(null!=c){if(c
document.body.appendChild(B.container),this.decodeNodeIntoGraph(this.editor.extractGraphModel(mxUtils.parseXml(l).documentElement,!0),B),L=l;else if(G||null!=this.pages&&this.currentPage!=this.pages[0]){B=this.createTemporaryGraph(G?B.getDefaultStylesheet():B.getStylesheet());var P=B.getGlobalVariable;B.setBackgroundImage=this.editor.graph.setBackgroundImage;var J=this.pages[0];this.currentPage==J?B.setBackgroundImage(this.editor.graph.backgroundImage):null!=J.viewState&&null!=J.viewState&&B.setBackgroundImage(J.viewState.backgroundImage);
B.getGlobalVariable=function(fa){return"page"==fa?J.getName():"pagenumber"==fa?1:P.apply(this,arguments)};document.body.appendChild(B.container);B.model.setRoot(J.root)}this.editor.exportToCanvas(mxUtils.bind(this,function(fa){try{null==L&&(L=this.getFileData(!0,null,null,null,null,null,null,null,null,!1));var ea=fa.toDataURL("image/png");ea=Editor.writeGraphModelToPng(ea,"tEXt","mxfile",encodeURIComponent(L));c(ea.substring(ea.lastIndexOf(",")+1));B!=this.editor.graph&&B.container.parentNode.removeChild(B.container)}catch(T){null!=
f&&f(T)}}),null,null,null,mxUtils.bind(this,function(fa){null!=f&&f(fa)}),null,null,z,null,B.shadowVisible,null,B,A,null,null,null,"diagram",null)}catch(fa){null!=f&&f(fa)}};EditorUi.prototype.getEmbeddedSvg=function(c,f,l,z,A,B,G,L,P,J,fa,ea,T){L=null!=L?L:!0;fa=null!=fa?fa:0;G=null!=P?P:f.background;G==mxConstants.NONE&&(G=null);B=f.getSvg(G,J,fa,null,null,B,null,null,null,f.shadowVisible||ea,null,T,"diagram");(f.shadowVisible||ea)&&f.addSvgShadow(B,null,null,0==fa);null!=c&&B.setAttribute("content",
-c);null!=l&&B.setAttribute("resource",l);var ca=mxUtils.bind(this,function(ka){ka=(z?"":Graph.xmlDeclaration+"\n"+Graph.svgFileComment+"\n"+Graph.svgDoctype+"\n")+mxUtils.getXml(ka);null!=A&&A(ka);return ka});f.mathEnabled&&this.editor.addMathCss(B);if(null!=A)this.embedFonts(B,mxUtils.bind(this,function(ka){L?this.editor.convertImages(ka,mxUtils.bind(this,function(ma){ca(ma)})):ca(ka)}));else return ca(B)};EditorUi.prototype.embedFonts=function(c,f){this.editor.loadFonts(mxUtils.bind(this,function(){try{null!=
-this.editor.resolvedFontCss&&this.editor.addFontCss(c,this.editor.resolvedFontCss),this.editor.embedExtFonts(mxUtils.bind(this,function(l){try{null!=l&&this.editor.addFontCss(c,l),f(c)}catch(z){f(c)}}))}catch(l){f(c)}}))};EditorUi.prototype.exportImage=function(c,f,l,z,A,B,G,L,P,J,fa,ea,T){P=null!=P?P:"png";if(this.spinner.spin(document.body,mxResources.get("exporting"),mxUtils.bind(this,function(ka){Editor.addRetryToError(ka,mxUtils.bind(this,function(){this.exportImage(c,f,l,z,A,B,G,L,P,J,fa,ea,
-T)}));this.handleError(ka)}))){var ca=this.editor.graph.isSelectionEmpty();l=null!=l?l:ca;null==this.thumbImageCache&&(this.thumbImageCache={});try{this.editor.exportToCanvas(mxUtils.bind(this,function(ka){this.spinner.stop();try{this.saveCanvas(ka,A?this.getFileData(!0,null,null,null,l,L,null,null,null,null,null,c,B):null,P,null==this.pages||0==this.pages.length,fa)}catch(ma){this.handleError(ma)}}),null,this.thumbImageCache,null,mxUtils.bind(this,function(ka){this.spinner.stop();this.handleError(ka)}),
-null,l,c||1,f,z,null,null,B,G,J,ea,T)}catch(ka){this.spinner.stop(),this.handleError(ka)}}};EditorUi.prototype.isCorsEnabledForUrl=function(c){return this.editor.isCorsEnabledForUrl(c)};EditorUi.prototype.addLocalPagesToMapping=function(c){c=null!=c?c:{};if(null!=this.pages)for(var f=0;f<this.pages.length;f++)c[this.pages[f].getId()]=this.pages[f].getId();return c};EditorUi.prototype.importXml=function(c,f,l,z,A,B,G){f=null!=f?f:0;l=null!=l?l:0;var L=[];try{var P=this.editor.graph;if(null!=c&&0<c.length){P.model.beginUpdate();
+c);null!=l&&B.setAttribute("resource",l);var ca=mxUtils.bind(this,function(ja){ja=(z?"":Graph.xmlDeclaration+"\n"+Graph.svgFileComment+"\n"+Graph.svgDoctype+"\n")+mxUtils.getXml(ja);null!=A&&A(ja);return ja});f.mathEnabled&&this.editor.addMathCss(B);if(null!=A)this.embedFonts(B,mxUtils.bind(this,function(ja){L?this.editor.convertImages(ja,mxUtils.bind(this,function(ma){ca(ma)})):ca(ja)}));else return ca(B)};EditorUi.prototype.embedFonts=function(c,f){this.editor.loadFonts(mxUtils.bind(this,function(){try{null!=
+this.editor.resolvedFontCss&&this.editor.addFontCss(c,this.editor.resolvedFontCss),this.editor.embedExtFonts(mxUtils.bind(this,function(l){try{null!=l&&this.editor.addFontCss(c,l),f(c)}catch(z){f(c)}}))}catch(l){f(c)}}))};EditorUi.prototype.exportImage=function(c,f,l,z,A,B,G,L,P,J,fa,ea,T){P=null!=P?P:"png";if(this.spinner.spin(document.body,mxResources.get("exporting"),mxUtils.bind(this,function(ja){Editor.addRetryToError(ja,mxUtils.bind(this,function(){this.exportImage(c,f,l,z,A,B,G,L,P,J,fa,ea,
+T)}));this.handleError(ja)}))){var ca=this.editor.graph.isSelectionEmpty();l=null!=l?l:ca;null==this.thumbImageCache&&(this.thumbImageCache={});try{this.editor.exportToCanvas(mxUtils.bind(this,function(ja){this.spinner.stop();try{this.saveCanvas(ja,A?this.getFileData(!0,null,null,null,l,L,null,null,null,null,null,c,B):null,P,null==this.pages||0==this.pages.length,fa)}catch(ma){this.handleError(ma)}}),null,this.thumbImageCache,null,mxUtils.bind(this,function(ja){this.spinner.stop();this.handleError(ja)}),
+null,l,c||1,f,z,null,null,B,G,J,ea,T)}catch(ja){this.spinner.stop(),this.handleError(ja)}}};EditorUi.prototype.isCorsEnabledForUrl=function(c){return this.editor.isCorsEnabledForUrl(c)};EditorUi.prototype.addLocalPagesToMapping=function(c){c=null!=c?c:{};if(null!=this.pages)for(var f=0;f<this.pages.length;f++)c[this.pages[f].getId()]=this.pages[f].getId();return c};EditorUi.prototype.importXml=function(c,f,l,z,A,B,G){f=null!=f?f:0;l=null!=l?l:0;var L=[];try{var P=this.editor.graph;if(null!=c&&0<c.length){P.model.beginUpdate();
try{var J=mxUtils.parseXml(c);c={};var fa=this.editor.extractGraphModel(J.documentElement,null!=this.pages);if(null!=fa&&"mxfile"==fa.nodeName&&null!=this.pages){var ea=fa.getElementsByTagName("diagram");if(1==ea.length&&!B){if(fa=Editor.parseDiagramNode(ea[0]),null!=this.currentPage&&(c[ea[0].getAttribute("id")]=this.currentPage.getId(),this.isBlankFile())){var T=ea[0].getAttribute("name");null!=T&&""!=T&&this.editor.graph.model.execute(new RenamePage(this,this.currentPage,T))}}else if(0<ea.length){B=
-[];var ca=0;null!=this.pages&&1==this.pages.length&&this.isDiagramEmpty()&&(c[ea[0].getAttribute("id")]=this.pages[0].getId(),T=ea[0].getAttribute("name"),null!=T&&""!=T&&this.editor.graph.model.execute(new RenamePage(this,this.pages[0],T)),fa=Editor.parseDiagramNode(ea[0]),z=!1,ca=1);for(;ca<ea.length;ca++){var ka=ea[ca].getAttribute("id");ea[ca].removeAttribute("id");var ma=this.updatePageRoot(new DiagramPage(ea[ca]));c[ka]=ea[ca].getAttribute("id");var aa=this.pages.length;null==ma.getName()&&
+[];var ca=0;null!=this.pages&&1==this.pages.length&&this.isDiagramEmpty()&&(c[ea[0].getAttribute("id")]=this.pages[0].getId(),T=ea[0].getAttribute("name"),null!=T&&""!=T&&this.editor.graph.model.execute(new RenamePage(this,this.pages[0],T)),fa=Editor.parseDiagramNode(ea[0]),z=!1,ca=1);for(;ca<ea.length;ca++){var ja=ea[ca].getAttribute("id");ea[ca].removeAttribute("id");var ma=this.updatePageRoot(new DiagramPage(ea[ca]));c[ja]=ea[ca].getAttribute("id");var aa=this.pages.length;null==ma.getName()&&
ma.setName(mxResources.get("pageWithNumber",[aa+1]));P.model.execute(new ChangePage(this,ma,ma,aa,!0));B.push(ma)}this.updatePageLinks(c,B)}}if(null!=fa&&"mxGraphModel"===fa.nodeName){L=P.importGraphModel(fa,f,l,z);if(null!=L)for(this.addLocalPagesToMapping(c),ca=0;ca<L.length;ca++)this.updatePageLinksForCell(c,L[ca]);var V=P.parseBackgroundImage(fa.getAttribute("backgroundImage"));if(null!=V&&null!=V.originalSrc){this.updateBackgroundPageLink(c,V);var da=new ChangePageSetup(this,null,V);da.ignoreColor=
!0;P.model.execute(da)}}G&&P.pasteCellStyles(P.includeDescendants(L),P.defaultVertexStyle,P.defaultEdgeStyle)}finally{P.model.endUpdate()}}}catch(k){if(A)throw k;this.handleError(k)}return L};EditorUi.prototype.updatePageLinks=function(c,f){for(var l=0;l<f.length;l++)this.updatePageLinksForCell(c,f[l].root),null!=f[l].viewState&&this.updateBackgroundPageLink(c,f[l].viewState.backgroundImage)};EditorUi.prototype.updateBackgroundPageLink=function(c,f){try{if(null!=f&&Graph.isPageLink(f.originalSrc)){var l=
c[f.originalSrc.substring(f.originalSrc.indexOf(",")+1)];null!=l&&(f.originalSrc="data:page/id,"+l)}}catch(z){}};EditorUi.prototype.updatePageLinksForCell=function(c,f){var l=document.createElement("div"),z=this.editor.graph,A=z.getLinkForCell(f);null!=A&&z.setLinkForCell(f,this.updatePageLink(c,A));if(z.isHtmlLabel(f)){l.innerHTML=Graph.sanitizeHtml(z.getLabel(f));for(var B=l.getElementsByTagName("a"),G=!1,L=0;L<B.length;L++)A=B[L].getAttribute("href"),null!=A&&(B[L].setAttribute("href",this.updatePageLink(c,
A)),G=!0);G&&z.labelChanged(f,l.innerHTML)}for(L=0;L<z.model.getChildCount(f);L++)this.updatePageLinksForCell(c,z.model.getChildAt(f,L))};EditorUi.prototype.updatePageLink=function(c,f){if(Graph.isPageLink(f)){var l=c[f.substring(f.indexOf(",")+1)];f=null!=l?"data:page/id,"+l:null}else if("data:action/json,"==f.substring(0,17))try{var z=JSON.parse(f.substring(17));if(null!=z.actions){for(var A=0;A<z.actions.length;A++){var B=z.actions[A];if(null!=B.open&&Graph.isPageLink(B.open)){var G=B.open.substring(B.open.indexOf(",")+
1);l=c[G];null!=l?B.open="data:page/id,"+l:null==this.getPageById(G)&&delete B.open}}f="data:action/json,"+JSON.stringify(z)}}catch(L){}return f};EditorUi.prototype.isRemoteVisioFormat=function(c){return/(\.v(sd|dx))($|\?)/i.test(c)||/(\.vs(s|x))($|\?)/i.test(c)};EditorUi.prototype.importVisio=function(c,f,l,z,A){var B=mxUtils.bind(this,function(G){this.loadingExtensions=!1;null!=l?l(G):this.handleError(G)});this.createTimeout(null,mxUtils.bind(this,function(G){z=null!=z?z:c.name;var L=mxUtils.bind(this,
function(J){G.clear()&&B(J)}),P=mxUtils.bind(this,function(){this.loadingExtensions=!1;if(this.doImportVisio){var J=this.isRemoteVisioFormat(z);try{var fa=z.lastIndexOf(".");if(0<=fa&&fa<z.length)z.substring(fa+1).toUpperCase();else{var ea=z.lastIndexOf("/");0<=ea&&ea<z.length&&(z=z.substring(ea+1))}}catch(ca){}if(J)if(null==VSD_CONVERT_URL||this.isOffline())L({message:"draw.io"!=this.getServiceName()?mxResources.get("vsdNoConfig"):mxResources.get("serviceUnavailableOrBlocked")});else{J=new FormData;
-J.append("file1",c,z);var T=new XMLHttpRequest;T.open("POST",VSD_CONVERT_URL+(/(\.vss|\.vsx)$/.test(z)?"?stencil=1":""));T.responseType="blob";this.addRemoteServiceSecurityCheck(T);null!=A&&T.setRequestHeader("x-convert-custom",A);T.onreadystatechange=mxUtils.bind(this,function(){if(4==T.readyState&&G.clear())if(200<=T.status&&299>=T.status)try{var ca=T.response;if("text/xml"==ca.type){var ka=new FileReader;ka.onload=mxUtils.bind(this,function(ma){try{f(ma.target.result)}catch(aa){L({message:mxResources.get("errorLoadingFile")})}});
-ka.readAsText(ca)}else this.doImportVisio(ca,f,L,z)}catch(ma){L(ma)}else try{""==T.responseType||"text"==T.responseType?L({message:T.responseText}):(ka=new FileReader,ka.onload=function(){try{L({message:JSON.parse(ka.result).Message})}catch(ma){L(ma)}},ka.readAsText(T.response))}catch(ma){L({})}});T.send(J)}else if(G.clear())try{this.doImportVisio(c,f,L,z)}catch(ca){L(ca)}}else L({message:mxResources.get("serviceUnavailableOrBlocked")})});this.doImportVisio||this.loadingExtensions||this.isOffline(!0)?
+J.append("file1",c,z);var T=new XMLHttpRequest;T.open("POST",VSD_CONVERT_URL+(/(\.vss|\.vsx)$/.test(z)?"?stencil=1":""));T.responseType="blob";this.addRemoteServiceSecurityCheck(T);null!=A&&T.setRequestHeader("x-convert-custom",A);T.onreadystatechange=mxUtils.bind(this,function(){if(4==T.readyState&&G.clear())if(200<=T.status&&299>=T.status)try{var ca=T.response;if("text/xml"==ca.type){var ja=new FileReader;ja.onload=mxUtils.bind(this,function(ma){try{f(ma.target.result)}catch(aa){L({message:mxResources.get("errorLoadingFile")})}});
+ja.readAsText(ca)}else this.doImportVisio(ca,f,L,z)}catch(ma){L(ma)}else try{""==T.responseType||"text"==T.responseType?L({message:T.responseText}):(ja=new FileReader,ja.onload=function(){try{L({message:JSON.parse(ja.result).Message})}catch(ma){L(ma)}},ja.readAsText(T.response))}catch(ma){L({})}});T.send(J)}else if(G.clear())try{this.doImportVisio(c,f,L,z)}catch(ca){L(ca)}}else L({message:mxResources.get("serviceUnavailableOrBlocked")})});this.doImportVisio||this.loadingExtensions||this.isOffline(!0)?
P():(this.loadingExtensions=!0,mxscript(window.DRAWIO_SERVER_URL+"js/extensions.min.js",P,null,null,null,L))}),B)};EditorUi.prototype.importGraphML=function(c,f,l){var z=mxUtils.bind(this,function(A){this.loadingExtensions=!1;null!=l?l(A):this.handleError(A)});this.createTimeout(null,mxUtils.bind(this,function(A){var B=mxUtils.bind(this,function(L){A.clear()&&z(L)}),G=mxUtils.bind(this,function(){this.loadingExtensions=!1;if(A.clear())if(this.doImportGraphML)try{this.doImportGraphML(c,f,z)}catch(L){B(L)}else B({message:mxResources.get("serviceUnavailableOrBlocked")})});
this.doImportGraphML||this.loadingExtensions||this.isOffline(!0)?G():(this.loadingExtensions=!0,mxscript(window.DRAWIO_SERVER_URL+"js/extensions.min.js",G,null,null,null,B))}),z)};EditorUi.prototype.exportVisio=function(c){if(this.spinner.spin(document.body,mxResources.get("loading"))){var f=mxUtils.bind(this,function(l){this.loadingExtensions=!1;this.handleError(l)});this.createTimeout(null,mxUtils.bind(this,function(l){var z=mxUtils.bind(this,function(B){l.clear()&&f(B)}),A=mxUtils.bind(this,function(){this.loadingExtensions=
!1;if(l.clear())if("undefined"!==typeof VsdxExport)try{this.spinner.stop(),(new VsdxExport(this)).exportCurrentDiagrams(c)||z({message:mxResources.get("unknownError")})}catch(B){z(B)}else z({message:mxResources.get("serviceUnavailableOrBlocked")})});"undefined"!==typeof VsdxExport||this.loadingExtensions||this.isOffline(!0)?window.setTimeout(A,0):(this.loadingExtensions=!0,mxscript(window.DRAWIO_SERVER_URL+"js/extensions.min.js",A,null,null,null,z))}),f)}};EditorUi.prototype.convertLucidChart=function(c,
@@ -3695,12 +3693,12 @@ P.replace(/ xmlns:\S*="http:\/\/www.w3.org\/XML\/1998\/namespace"/g,"").replace(
fa,ea)}else null!=A?A():z({message:mxResources.get("invalidInput")})}catch(ca){z(ca)}});mermaid.mermaidAPI.initialize(f);mermaid.mermaidAPI.render("geMermaidOutput-"+(new Date).getTime(),c).then(function(P){L(P.svg)}).catch(function(P){null!=A?A(P):z(P)})}catch(P){z(P)}});"undefined"!==typeof mermaid||this.loadingMermaid||this.isOffline(!0)?window.setTimeout(G,0):(this.loadingMermaid=!0,"1"==urlParams.dev?("1"==urlParams.mermaidToDrawioTest&&mxMermaidToDrawio.addListener(mxUtils.bind(this,function(L){this.importXml(L,
null,null,null,null,null,!0)})),mxscript("js/mermaid/mermaid.min.js",G,null,null,null,B)):mxscript(window.DRAWIO_SERVER_URL+"js/extensions.min.js",G,null,null,null,B))};EditorUi.prototype.generatePlantUmlImage=function(c,f,l,z){function A(L,P,J){c1=L>>2;c2=(L&3)<<4|P>>4;c3=(P&15)<<2|J>>6;c4=J&63;r="";r+=B(c1&63);r+=B(c2&63);r+=B(c3&63);return r+=B(c4&63)}function B(L){if(10>L)return String.fromCharCode(48+L);L-=10;if(26>L)return String.fromCharCode(65+L);L-=26;if(26>L)return String.fromCharCode(97+
L);L-=26;return 0==L?"-":1==L?"_":"?"}var G=new XMLHttpRequest;G.open("GET",("txt"==f?PLANT_URL+"/txt/":"png"==f?PLANT_URL+"/png/":PLANT_URL+"/svg/")+function(L){r="";for(i=0;i<L.length;i+=3)r=i+2==L.length?r+A(L.charCodeAt(i),L.charCodeAt(i+1),0):i+1==L.length?r+A(L.charCodeAt(i),0,0):r+A(L.charCodeAt(i),L.charCodeAt(i+1),L.charCodeAt(i+2));return r}(Graph.arrayBufferToString(pako.deflateRaw(c))),!0);"txt"!=f&&(G.responseType="blob");G.onload=function(L){if(200<=this.status&&300>this.status)if("txt"==
-f)l(this.response);else{var P=new FileReader;P.readAsDataURL(this.response);P.onloadend=function(J){var fa=new Image;fa.onload=function(){try{var ea=fa.width,T=fa.height;if(0==ea&&0==T){var ca=P.result,ka=ca.indexOf(","),ma=decodeURIComponent(escape(atob(ca.substring(ka+1)))),aa=mxUtils.parseXml(ma).getElementsByTagName("svg");0<aa.length&&(ea=parseFloat(aa[0].getAttribute("width")),T=parseFloat(aa[0].getAttribute("height")))}l(P.result,ea,T)}catch(V){z(V)}};fa.src=P.result};P.onerror=function(J){z(J)}}else z(L)};
+f)l(this.response);else{var P=new FileReader;P.readAsDataURL(this.response);P.onloadend=function(J){var fa=new Image;fa.onload=function(){try{var ea=fa.width,T=fa.height;if(0==ea&&0==T){var ca=P.result,ja=ca.indexOf(","),ma=decodeURIComponent(escape(atob(ca.substring(ja+1)))),aa=mxUtils.parseXml(ma).getElementsByTagName("svg");0<aa.length&&(ea=parseFloat(aa[0].getAttribute("width")),T=parseFloat(aa[0].getAttribute("height")))}l(P.result,ea,T)}catch(V){z(V)}};fa.src=P.result};P.onerror=function(J){z(J)}}else z(L)};
G.onerror=function(L){z(L)};G.send()};EditorUi.prototype.insertAsPreText=function(c,f,l){var z=this.editor.graph,A=null;z.getModel().beginUpdate();try{A=z.insertVertex(null,null,"<pre>"+c+"</pre>",f,l,1,1,"text;html=1;align=left;verticalAlign=top;"),z.updateCellSize(A,!0)}finally{z.getModel().endUpdate()}return A};EditorUi.prototype.insertTextAt=function(c,f,l,z,A,B,G,L){B=null!=B?B:!0;G=null!=G?G:!0;if(null!=c)if(Graph.fileSupport&&(new XMLHttpRequest).upload&&this.isRemoteFileFormat(c))this.isOffline()?
this.showError(mxResources.get("error"),mxResources.get("notInOffline")):this.parseFileData(c.replace(/\s+/g," "),mxUtils.bind(this,function(T){4==T.readyState&&200<=T.status&&299>=T.status&&this.editor.graph.setSelectionCells(this.insertTextAt(T.responseText,f,l,!0))}));else if("data:"==c.substring(0,5)||!this.isOffline()&&(A||/\.(gif|jpg|jpeg|tiff|png|svg)$/i.test(c))){var P=this.editor.graph;if("data:application/pdf;base64,"==c.substring(0,28)){var J=Editor.extractGraphModelFromPdf(c);if(null!=
J&&0<J.length)return this.importXml(J,f,l,B,!0,L)}if(Editor.isPngDataUrl(c)&&(J=Editor.extractGraphModelFromPng(c),null!=J&&0<J.length))return this.importXml(J,f,l,B,!0,L);if("data:image/svg+xml;"==c.substring(0,19))try{J=null;"data:image/svg+xml;base64,"==c.substring(0,26)?(J=c.substring(c.indexOf(",")+1),J=window.atob&&!mxClient.IS_SF?atob(J):Base64.decode(J,!0)):J=decodeURIComponent(c.substring(c.indexOf(",")+1));var fa=this.importXml(J,f,l,B,!0,L);if(0<fa.length)return fa}catch(T){}this.loadImage(c,
-mxUtils.bind(this,function(T){if("data:"==c.substring(0,5))this.resizeImage(T,c,mxUtils.bind(this,function(ma,aa,V){P.setSelectionCell(P.insertVertex(null,null,"",P.snap(f),P.snap(l),aa,V,"shape=image;verticalLabelPosition=bottom;labelBackgroundColor=default;verticalAlign=top;aspect=fixed;imageAspect=0;image="+this.convertDataUri(ma)+";"))}),G,this.maxImageSize);else{var ca=Math.min(1,Math.min(this.maxImageSize/T.width,this.maxImageSize/T.height)),ka=Math.round(T.width*ca);T=Math.round(T.height*ca);
-P.setSelectionCell(P.insertVertex(null,null,"",P.snap(f),P.snap(l),ka,T,"shape=image;verticalLabelPosition=bottom;labelBackgroundColor=default;verticalAlign=top;aspect=fixed;imageAspect=0;image="+c+";"))}}),mxUtils.bind(this,function(){var T=null;P.getModel().beginUpdate();try{T=P.insertVertex(P.getDefaultParent(),null,c,P.snap(f),P.snap(l),1,1,"text;"+(z?"html=1;":"")),P.updateCellSize(T),P.fireEvent(new mxEventObject("textInserted","cells",[T]))}finally{P.getModel().endUpdate()}P.setSelectionCell(T)}))}else{c=
+mxUtils.bind(this,function(T){if("data:"==c.substring(0,5))this.resizeImage(T,c,mxUtils.bind(this,function(ma,aa,V){P.setSelectionCell(P.insertVertex(null,null,"",P.snap(f),P.snap(l),aa,V,"shape=image;verticalLabelPosition=bottom;labelBackgroundColor=default;verticalAlign=top;aspect=fixed;imageAspect=0;image="+this.convertDataUri(ma)+";"))}),G,this.maxImageSize);else{var ca=Math.min(1,Math.min(this.maxImageSize/T.width,this.maxImageSize/T.height)),ja=Math.round(T.width*ca);T=Math.round(T.height*ca);
+P.setSelectionCell(P.insertVertex(null,null,"",P.snap(f),P.snap(l),ja,T,"shape=image;verticalLabelPosition=bottom;labelBackgroundColor=default;verticalAlign=top;aspect=fixed;imageAspect=0;image="+c+";"))}}),mxUtils.bind(this,function(){var T=null;P.getModel().beginUpdate();try{T=P.insertVertex(P.getDefaultParent(),null,c,P.snap(f),P.snap(l),1,1,"text;"+(z?"html=1;":"")),P.updateCellSize(T),P.fireEvent(new mxEventObject("textInserted","cells",[T]))}finally{P.getModel().endUpdate()}P.setSelectionCell(T)}))}else{c=
Graph.zapGremlins(mxUtils.trim(c));if(this.isCompatibleString(c))return this.importXml(c,f,l,B,null,L);if(0<c.length)if(this.isLucidChartData(c))this.convertLucidChart(c,mxUtils.bind(this,function(T){this.editor.graph.setSelectionCells(this.importXml(T,f,l,B,null,L))}),mxUtils.bind(this,function(T){this.handleError(T)}));else{P=this.editor.graph;A=null;P.getModel().beginUpdate();try{A=P.insertVertex(P.getDefaultParent(),null,"",P.snap(f),P.snap(l),1,1,"text;whiteSpace=wrap;"+(z?"html=1;":""));P.fireEvent(new mxEventObject("textInserted",
"cells",[A]));z&&(c=P.sanitizeHtml(c));c.length>this.maxTextBytes&&(c=c.substring(0,this.maxTextBytes)+"...");A.value=c;P.updateCellSize(A);if(0<this.maxTextWidth&&A.geometry.width>this.maxTextWidth){var ea=P.getPreferredSizeForCell(A,this.maxTextWidth);A.geometry.width=ea.width;A.geometry.height=ea.height}Graph.isLink(A.value)&&P.setLinkForCell(A,A.value);A.geometry.width+=P.gridSize;A.geometry.height+=P.gridSize}finally{P.getModel().endUpdate()}return[A]}}return[]};EditorUi.prototype.formatFileSize=
function(c){var f=-1;do c/=1024,f++;while(1024<c);return Math.max(c,.1).toFixed(1)+" kB; MB; GB; TB;PB;EB;ZB;YB".split(";")[f]};EditorUi.prototype.convertDataUri=function(c){if("data:"==c.substring(0,5)){var f=c.indexOf(";");0<f&&(c=c.substring(0,f)+c.substring(c.indexOf(",",f+1)))}return c};EditorUi.prototype.isRemoteFileFormat=function(c,f){return/("contentType":\s*"application\/gliffy\+json")/.test(c)};EditorUi.prototype.isLucidChartData=function(c){return null!=c&&('{"state":"{\\"Properties\\":'==
@@ -3709,58 +3707,58 @@ c.substring(0,26)||'{"Properties":'==c.substring(0,14))};EditorUi.prototype.impo
function(G,L){null!=L&&Graph.fileSupport&&/(\.v(dx|sdx?))($|\?)/i.test(L)?(G=new Blob([G],{type:"application/octet-stream"}),this.importVisio(G,mxUtils.bind(this,function(P){this.importXml(P,0,0,!0)}),null,L)):this.editor.graph.setSelectionCells(this.importXml(G,0,0,!0))}));this.showDialog((new OpenDialog(this)).container,Editor.useLocalStorage?640:360,Editor.useLocalStorage?480:220,!0,!0,function(){window.openFile=null});if(!f){var A=this.dialog,B=A.close;this.dialog.close=mxUtils.bind(this,function(G){Editor.useLocalStorage=
z;B.apply(A,arguments);G&&null==this.getCurrentFile()&&"1"!=urlParams.embed&&this.showSplash()})}}};EditorUi.prototype.importZipFile=function(c,f,l){var z=this,A=mxUtils.bind(this,function(){this.loadingExtensions=!1;"undefined"!==typeof JSZip?JSZip.loadAsync(c).then(function(B){if(mxUtils.isEmptyObject(B.files))l();else{var G=0,L,P=!1;B.forEach(function(J,fa){J=fa.name.toLowerCase();"diagram/diagram.xml"==J?(P=!0,fa.async("string").then(function(ea){0==ea.indexOf("<mxfile ")?f(ea):l()})):0==J.indexOf("versions/")&&
(J=parseInt(J.substr(9)),J>G&&(G=J,L=fa))});0<G?L.async("string").then(function(J){(new XMLHttpRequest).upload&&z.isRemoteFileFormat(J,c.name)?z.isOffline()?z.showError(mxResources.get("error"),mxResources.get("notInOffline"),null,l):z.parseFileData(J,mxUtils.bind(this,function(fa){4==fa.readyState&&(200<=fa.status&&299>=fa.status?f(fa.responseText):l())}),c.name):l()}):P||l()}},function(B){l(B)}):l()});"undefined"!==typeof JSZip||this.loadingExtensions||this.isOffline(!0)?A():(this.loadingExtensions=
-!0,mxscript(window.DRAWIO_SERVER_URL+"js/extensions.min.js",A,null,null,null,l))};EditorUi.prototype.importFile=function(c,f,l,z,A,B,G,L,P,J,fa,ea){J=null!=J?J:!0;var T=!1,ca=null,ka=mxUtils.bind(this,function(ma){var aa=null;null!=ma&&"<mxlibrary"==ma.substring(0,10)?(this.loadLibrary(new LocalLibrary(this,ma,G)),this.showSidebar()):aa=this.importXml(ma,l,z,J,null,null!=ea?mxEvent.isControlDown(ea):null);null!=L&&L(aa)});"image"==f.substring(0,5)?(P=!1,"image/png"==f.substring(0,9)&&(f=fa?null:this.extractGraphModelFromPng(c),
-null!=f&&0<f.length&&(ca=this.importXml(f,l,z,J,null,null!=ea?mxEvent.isControlDown(ea):null),P=!0)),P||(f=this.editor.graph,P=c.indexOf(";"),0<P&&(c=c.substring(0,P)+c.substring(c.indexOf(",",P+1))),J&&f.isGridEnabled()&&(l=f.snap(l),z=f.snap(z)),ca=[f.insertVertex(null,null,"",l,z,A,B,"shape=image;verticalLabelPosition=bottom;labelBackgroundColor=default;verticalAlign=top;aspect=fixed;imageAspect=0;image="+c+";")])):/(\.*<graphml )/.test(c)?(T=!0,this.importGraphML(c,ka)):null!=P&&null!=G&&EditorUi.isVisioFilename(G)?
-(T=!0,this.importVisio(P,ka)):(new XMLHttpRequest).upload&&this.isRemoteFileFormat(c,G)?this.isOffline()?this.showError(mxResources.get("error"),mxResources.get("notInOffline")):(T=!0,A=mxUtils.bind(this,function(ma){4==ma.readyState&&(200<=ma.status&&299>=ma.status?ka(ma.responseText):null!=L&&(L(null),this.showError(mxResources.get("error"),413==ma.status?mxResources.get("diagramTooLarge"):mxResources.get("unknownError"))))}),null!=c?this.parseFileData(c,A,G):this.parseFile(P,A,G)):0==c.indexOf("PK")&&
-null!=P?(T=!0,this.importZipFile(P,ka,mxUtils.bind(this,function(){ca=this.insertTextAt(this.validateFileData(c),l,z,!0,null,J);L(ca)}))):/(\.v(sd|dx))($|\?)/i.test(G)||/(\.vs(s|x))($|\?)/i.test(G)||(ca=this.insertTextAt(this.validateFileData(c),l,z,!0,null,J,null,null!=ea?mxEvent.isControlDown(ea):null));T||null==L||L(ca);return ca};EditorUi.prototype.importFiles=function(c,f,l,z,A,B,G,L,P,J,fa,ea,T){z=null!=z?z:this.maxImageSize;J=null!=J?J:this.maxImageBytes;var ca=null!=f&&null!=l,ka=!0;f=null!=
-f?f:0;l=null!=l?l:0;var ma=!1;if(!mxClient.IS_CHROMEAPP&&null!=c)for(var aa=fa||this.resampleThreshold,V=0;V<c.length;V++)if("image/svg"!==c[V].type.substring(0,9)&&"image/"===c[V].type.substring(0,6)&&c[V].size>aa){ma=!0;break}var da=mxUtils.bind(this,function(){var k=this.editor.graph,t=k.gridSize;A=null!=A?A:mxUtils.bind(this,function(ba,la,qa,pa,ra,ua,Ba,ya,Aa){try{if(null!=ba&&"<mxlibrary"==ba.substring(0,10))return this.spinner.stop(),this.loadLibrary(new LocalLibrary(this,ba,Ba)),this.showSidebar(),
-null;this.isCompatibleString(ba)&&1==c.length&&null!=T&&"drop"==T.type&&this.isBlankFile()&&!this.canUndo()&&(ca=!1,pa=qa=0);return this.importFile(ba,la,qa,pa,ra,ua,Ba,ya,Aa,ca,ea,T)}catch(Na){return this.handleError(Na),null}});B=null!=B?B:mxUtils.bind(this,function(ba){k.setSelectionCells(ba)});if(this.spinner.spin(document.body,mxResources.get("loading")))for(var I=c.length,R=I,O=[],X=mxUtils.bind(this,function(ba,la){O[ba]=la;if(0==--R){this.spinner.stop();if(null!=L)L(O);else{var qa=[];k.getModel().beginUpdate();
-try{for(ba=0;ba<O.length;ba++){var pa=O[ba]();null!=pa&&(qa=qa.concat(pa))}}finally{k.getModel().endUpdate()}}B(qa)}}),Z=0;Z<I;Z++)mxUtils.bind(this,function(ba){var la=c[ba];if(null!=la){var qa=new FileReader;qa.onload=mxUtils.bind(this,function(pa){if(null==G||G(la))try{if("image/"==la.type.substring(0,6))if("image/svg"==la.type.substring(0,9)){var ra=Graph.clipSvgDataUri(pa.target.result),ua=ra.indexOf(","),Ba=decodeURIComponent(escape(atob(ra.substring(ua+1)))),ya=mxUtils.parseXml(Ba),Aa=ya.getElementsByTagName("svg");
-if(0<Aa.length){var Na=Aa[0],va=ea?null:Na.getAttribute("content");null!=va&&"<"!=va.charAt(0)&&"%"!=va.charAt(0)&&(va=unescape(window.atob?atob(va):Base64.decode(va,!0)));null!=va&&"%"==va.charAt(0)&&(va=decodeURIComponent(va));null==va||"<mxfile "!==va.substring(0,8)&&"<mxGraphModel "!==va.substring(0,14)?X(ba,mxUtils.bind(this,function(){try{if(null!=ya){var La=ya.getElementsByTagName("svg");if(0<La.length){var Ea=La[0],za=Ea.getAttribute("width"),Ra=Ea.getAttribute("height");za=null!=za&&"%"!=
-za.charAt(za.length-1)?parseFloat(za):NaN;Ra=null!=Ra&&"%"!=Ra.charAt(Ra.length-1)?parseFloat(Ra):NaN;var Ja=Ea.getAttribute("viewBox");if(null==Ja||0==Ja.length)Ea.setAttribute("viewBox","0 0 "+za+" "+Ra);else if(isNaN(za)||isNaN(Ra)){var Qa=Ja.split(" ");3<Qa.length&&(za=parseFloat(Qa[2]),Ra=parseFloat(Qa[3]))}ra=Editor.createSvgDataUri(mxUtils.getXml(Ea));var Ma=Math.min(1,Math.min(z/Math.max(1,za)),z/Math.max(1,Ra)),u=A(ra,la.type,f+ba*t,l+ba*t,Math.max(1,Math.round(za*Ma)),Math.max(1,Math.round(Ra*
-Ma)),la.name);if(null!=u&&(isNaN(za)||isNaN(Ra))){var N=new Image;N.onload=mxUtils.bind(this,function(){za=Math.max(1,N.width);Ra=Math.max(1,N.height);u[0].geometry.width=za;u[0].geometry.height=Ra;Ea.setAttribute("viewBox","0 0 "+za+" "+Ra);ra=Editor.createSvgDataUri(mxUtils.getXml(Ea));var Q=ra.indexOf(";");0<Q&&(ra=ra.substring(0,Q)+ra.substring(ra.indexOf(",",Q+1)));k.setCellStyles("image",ra,[u[0]])});N.src=Editor.createSvgDataUri(mxUtils.getXml(Ea))}return u}}}catch(Q){}return null})):X(ba,
-mxUtils.bind(this,function(){return A(va,"text/xml",f+ba*t,l+ba*t,0,0,la.name)}))}else X(ba,mxUtils.bind(this,function(){return null}))}else{ua=!1;if("image/png"==la.type){var Da=ea?null:this.extractGraphModelFromPng(pa.target.result);if(null!=Da&&0<Da.length){var Ha=new Image;Ha.src=pa.target.result;X(ba,mxUtils.bind(this,function(){return A(Da,"text/xml",f+ba*t,l+ba*t,Ha.width,Ha.height,la.name)}));ua=!0}}ua||(mxClient.IS_CHROMEAPP?(this.spinner.stop(),this.showError(mxResources.get("error"),mxResources.get("dragAndDropNotSupported"),
-mxResources.get("cancel"),mxUtils.bind(this,function(){}),null,mxResources.get("ok"),mxUtils.bind(this,function(){this.actions.get("import").funct()}))):this.loadImage(pa.target.result,mxUtils.bind(this,function(La){this.resizeImage(La,pa.target.result,mxUtils.bind(this,function(Ea,za,Ra){X(ba,mxUtils.bind(this,function(){if(null!=Ea&&Ea.length<J){var Ja=ka&&this.isResampleImageSize(la.size,fa)?Math.min(1,Math.min(z/za,z/Ra)):1;return A(Ea,la.type,f+ba*t,l+ba*t,Math.round(za*Ja),Math.round(Ra*Ja),
-la.name)}this.handleError({message:mxResources.get("imageTooBig")});return null}))}),ka,z,fa,la.size)}),mxUtils.bind(this,function(){this.handleError({message:mxResources.get("invalidOrMissingFile")})})))}else ra=pa.target.result,A(ra,la.type,f+ba*t,l+ba*t,240,160,la.name,function(La){X(ba,function(){return La})},la)}catch(La){X(ba,mxUtils.bind(this,function(){return null})),null!=window.console&&console.error(La,la)}else X(ba,mxUtils.bind(this,function(){return null}))});EditorUi.isVisioFilename(la.name)?
-A(null,la.type,f+ba*t,l+ba*t,240,160,la.name,function(pa){X(ba,function(){return pa})},la):"image"==la.type.substring(0,5)||"application/pdf"==la.type?qa.readAsDataURL(la):qa.readAsText(la)}})(Z)});if(ma){ma=[];for(V=0;V<c.length;V++)ma.push(c[V]);c=ma;this.confirmImageResize(function(k){ka=k;da()},P)}else da()};EditorUi.prototype.isBlankFile=function(){return null!=this.pages&&1==this.pages.length&&this.isDiagramEmpty()&&this.currentPage.getName()==mxResources.get("pageWithNumber",[1])};EditorUi.prototype.confirmImageResize=
+!0,mxscript(window.DRAWIO_SERVER_URL+"js/extensions.min.js",A,null,null,null,l))};EditorUi.prototype.importFile=function(c,f,l,z,A,B,G,L,P,J,fa,ea){J=null!=J?J:!0;var T=!1,ca=null,ja=mxUtils.bind(this,function(ma){var aa=null;null!=ma&&"<mxlibrary"==ma.substring(0,10)?(this.loadLibrary(new LocalLibrary(this,ma,G)),this.showSidebar()):aa=this.importXml(ma,l,z,J,null,null!=ea?mxEvent.isControlDown(ea):null);null!=L&&L(aa)});"image"==f.substring(0,5)?(P=!1,"image/png"==f.substring(0,9)&&(f=fa?null:this.extractGraphModelFromPng(c),
+null!=f&&0<f.length&&(ca=this.importXml(f,l,z,J,null,null!=ea?mxEvent.isControlDown(ea):null),P=!0)),P||(f=this.editor.graph,P=c.indexOf(";"),0<P&&(c=c.substring(0,P)+c.substring(c.indexOf(",",P+1))),J&&f.isGridEnabled()&&(l=f.snap(l),z=f.snap(z)),ca=[f.insertVertex(null,null,"",l,z,A,B,"shape=image;verticalLabelPosition=bottom;labelBackgroundColor=default;verticalAlign=top;aspect=fixed;imageAspect=0;image="+c+";")])):/(\.*<graphml )/.test(c)?(T=!0,this.importGraphML(c,ja)):null!=P&&null!=G&&EditorUi.isVisioFilename(G)?
+(T=!0,this.importVisio(P,ja)):(new XMLHttpRequest).upload&&this.isRemoteFileFormat(c,G)?this.isOffline()?this.showError(mxResources.get("error"),mxResources.get("notInOffline")):(T=!0,A=mxUtils.bind(this,function(ma){4==ma.readyState&&(200<=ma.status&&299>=ma.status?ja(ma.responseText):null!=L&&(L(null),this.showError(mxResources.get("error"),413==ma.status?mxResources.get("diagramTooLarge"):mxResources.get("unknownError"))))}),null!=c?this.parseFileData(c,A,G):this.parseFile(P,A,G)):0==c.indexOf("PK")&&
+null!=P?(T=!0,this.importZipFile(P,ja,mxUtils.bind(this,function(){ca=this.insertTextAt(this.validateFileData(c),l,z,!0,null,J);L(ca)}))):/(\.v(sd|dx))($|\?)/i.test(G)||/(\.vs(s|x))($|\?)/i.test(G)||(ca=this.insertTextAt(this.validateFileData(c),l,z,!0,null,J,null,null!=ea?mxEvent.isControlDown(ea):null));T||null==L||L(ca);return ca};EditorUi.prototype.importFiles=function(c,f,l,z,A,B,G,L,P,J,fa,ea,T){z=null!=z?z:this.maxImageSize;J=null!=J?J:this.maxImageBytes;var ca=null!=f&&null!=l,ja=!0;f=null!=
+f?f:0;l=null!=l?l:0;var ma=!1;if(!mxClient.IS_CHROMEAPP&&null!=c)for(var aa=fa||this.resampleThreshold,V=0;V<c.length;V++)if("image/svg"!==c[V].type.substring(0,9)&&"image/"===c[V].type.substring(0,6)&&c[V].size>aa){ma=!0;break}var da=mxUtils.bind(this,function(){var k=this.editor.graph,t=k.gridSize;A=null!=A?A:mxUtils.bind(this,function(ba,ka,qa,pa,ra,ua,Ba,xa,Aa){try{if(null!=ba&&"<mxlibrary"==ba.substring(0,10))return this.spinner.stop(),this.loadLibrary(new LocalLibrary(this,ba,Ba)),this.showSidebar(),
+null;this.isCompatibleString(ba)&&1==c.length&&null!=T&&"drop"==T.type&&this.isBlankFile()&&!this.canUndo()&&(ca=!1,pa=qa=0);return this.importFile(ba,ka,qa,pa,ra,ua,Ba,xa,Aa,ca,ea,T)}catch(Na){return this.handleError(Na),null}});B=null!=B?B:mxUtils.bind(this,function(ba){k.setSelectionCells(ba)});if(this.spinner.spin(document.body,mxResources.get("loading")))for(var I=c.length,R=I,O=[],X=mxUtils.bind(this,function(ba,ka){O[ba]=ka;if(0==--R){this.spinner.stop();if(null!=L)L(O);else{var qa=[];k.getModel().beginUpdate();
+try{for(ba=0;ba<O.length;ba++){var pa=O[ba]();null!=pa&&(qa=qa.concat(pa))}}finally{k.getModel().endUpdate()}}B(qa)}}),Z=0;Z<I;Z++)mxUtils.bind(this,function(ba){var ka=c[ba];if(null!=ka){var qa=new FileReader;qa.onload=mxUtils.bind(this,function(pa){if(null==G||G(ka))try{if("image/"==ka.type.substring(0,6))if("image/svg"==ka.type.substring(0,9)){var ra=Graph.clipSvgDataUri(pa.target.result),ua=ra.indexOf(","),Ba=decodeURIComponent(escape(atob(ra.substring(ua+1)))),xa=mxUtils.parseXml(Ba),Aa=xa.getElementsByTagName("svg");
+if(0<Aa.length){var Na=Aa[0],va=ea?null:Na.getAttribute("content");null!=va&&"<"!=va.charAt(0)&&"%"!=va.charAt(0)&&(va=unescape(window.atob?atob(va):Base64.decode(va,!0)));null!=va&&"%"==va.charAt(0)&&(va=decodeURIComponent(va));null==va||"<mxfile "!==va.substring(0,8)&&"<mxGraphModel "!==va.substring(0,14)?X(ba,mxUtils.bind(this,function(){try{if(null!=xa){var La=xa.getElementsByTagName("svg");if(0<La.length){var Da=La[0],za=Da.getAttribute("width"),Ra=Da.getAttribute("height");za=null!=za&&"%"!=
+za.charAt(za.length-1)?parseFloat(za):NaN;Ra=null!=Ra&&"%"!=Ra.charAt(Ra.length-1)?parseFloat(Ra):NaN;var Ja=Da.getAttribute("viewBox");if(null==Ja||0==Ja.length)Da.setAttribute("viewBox","0 0 "+za+" "+Ra);else if(isNaN(za)||isNaN(Ra)){var Qa=Ja.split(" ");3<Qa.length&&(za=parseFloat(Qa[2]),Ra=parseFloat(Qa[3]))}ra=Editor.createSvgDataUri(mxUtils.getXml(Da));var Ma=Math.min(1,Math.min(z/Math.max(1,za)),z/Math.max(1,Ra)),u=A(ra,ka.type,f+ba*t,l+ba*t,Math.max(1,Math.round(za*Ma)),Math.max(1,Math.round(Ra*
+Ma)),ka.name);if(null!=u&&(isNaN(za)||isNaN(Ra))){var N=new Image;N.onload=mxUtils.bind(this,function(){za=Math.max(1,N.width);Ra=Math.max(1,N.height);u[0].geometry.width=za;u[0].geometry.height=Ra;Da.setAttribute("viewBox","0 0 "+za+" "+Ra);ra=Editor.createSvgDataUri(mxUtils.getXml(Da));var Q=ra.indexOf(";");0<Q&&(ra=ra.substring(0,Q)+ra.substring(ra.indexOf(",",Q+1)));k.setCellStyles("image",ra,[u[0]])});N.src=Editor.createSvgDataUri(mxUtils.getXml(Da))}return u}}}catch(Q){}return null})):X(ba,
+mxUtils.bind(this,function(){return A(va,"text/xml",f+ba*t,l+ba*t,0,0,ka.name)}))}else X(ba,mxUtils.bind(this,function(){return null}))}else{ua=!1;if("image/png"==ka.type){var Ca=ea?null:this.extractGraphModelFromPng(pa.target.result);if(null!=Ca&&0<Ca.length){var Ga=new Image;Ga.src=pa.target.result;X(ba,mxUtils.bind(this,function(){return A(Ca,"text/xml",f+ba*t,l+ba*t,Ga.width,Ga.height,ka.name)}));ua=!0}}ua||(mxClient.IS_CHROMEAPP?(this.spinner.stop(),this.showError(mxResources.get("error"),mxResources.get("dragAndDropNotSupported"),
+mxResources.get("cancel"),mxUtils.bind(this,function(){}),null,mxResources.get("ok"),mxUtils.bind(this,function(){this.actions.get("import").funct()}))):this.loadImage(pa.target.result,mxUtils.bind(this,function(La){this.resizeImage(La,pa.target.result,mxUtils.bind(this,function(Da,za,Ra){X(ba,mxUtils.bind(this,function(){if(null!=Da&&Da.length<J){var Ja=ja&&this.isResampleImageSize(ka.size,fa)?Math.min(1,Math.min(z/za,z/Ra)):1;return A(Da,ka.type,f+ba*t,l+ba*t,Math.round(za*Ja),Math.round(Ra*Ja),
+ka.name)}this.handleError({message:mxResources.get("imageTooBig")});return null}))}),ja,z,fa,ka.size)}),mxUtils.bind(this,function(){this.handleError({message:mxResources.get("invalidOrMissingFile")})})))}else ra=pa.target.result,A(ra,ka.type,f+ba*t,l+ba*t,240,160,ka.name,function(La){X(ba,function(){return La})},ka)}catch(La){X(ba,mxUtils.bind(this,function(){return null})),null!=window.console&&console.error(La,ka)}else X(ba,mxUtils.bind(this,function(){return null}))});EditorUi.isVisioFilename(ka.name)?
+A(null,ka.type,f+ba*t,l+ba*t,240,160,ka.name,function(pa){X(ba,function(){return pa})},ka):"image"==ka.type.substring(0,5)||"application/pdf"==ka.type?qa.readAsDataURL(ka):qa.readAsText(ka)}})(Z)});if(ma){ma=[];for(V=0;V<c.length;V++)ma.push(c[V]);c=ma;this.confirmImageResize(function(k){ja=k;da()},P)}else da()};EditorUi.prototype.isBlankFile=function(){return null!=this.pages&&1==this.pages.length&&this.isDiagramEmpty()&&this.currentPage.getName()==mxResources.get("pageWithNumber",[1])};EditorUi.prototype.confirmImageResize=
function(c,f){f=null!=f?f:!1;var l=null!=this.spinner&&null!=this.spinner.pause?this.spinner.pause():function(){},z=isLocalStorage||mxClient.IS_CHROMEAPP?mxSettings.getResizeImages():null,A=function(B,G){if(B||f)mxSettings.setResizeImages(B?G:null),mxSettings.save();l();c(G)};null==z||f?this.showDialog((new ConfirmDialog(this,mxResources.get("resizeLargeImages"),function(B){A(B,!0)},function(B){A(B,!1)},mxResources.get("resize"),mxResources.get("actualSize"),'<img style="margin-top:8px;" src="'+Editor.loResImage+
'"/>','<img style="margin-top:8px;" src="'+Editor.hiResImage+'"/>',isLocalStorage||mxClient.IS_CHROMEAPP)).container,340,isLocalStorage||mxClient.IS_CHROMEAPP?226:200,!0,!0):A(!1,z)};EditorUi.prototype.parseFile=function(c,f,l){l=null!=l?l:c.name;var z=new FileReader;z.onload=mxUtils.bind(this,function(){this.parseFileData(z.result,f,l)});z.readAsText(c)};EditorUi.prototype.parseFileData=function(c,f,l){var z=new XMLHttpRequest;z.open("POST",OPEN_URL);z.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
z.onreadystatechange=function(){f(z)};z.send("format=xml&filename="+encodeURIComponent(l)+"&data="+encodeURIComponent(c));try{EditorUi.logEvent({category:"GLIFFY-IMPORT-FILE",action:"size_"+file.size})}catch(A){}};EditorUi.prototype.isResampleImageSize=function(c,f){f=null!=f?f:this.resampleThreshold;return c>f};EditorUi.prototype.resizeImage=function(c,f,l,z,A,B,G){A=null!=A?A:this.maxImageSize;var L=Math.max(1,c.width),P=Math.max(1,c.height),J=f;if(z&&this.isResampleImageSize(null!=G?G:f.length,
-B))try{var fa=Math.max(L/A,P/A);if(1<fa){var ea=Math.round(L/fa),T=Math.round(P/fa),ca=document.createElement("canvas");ca.width=ea;ca.height=T;ca.getContext("2d").drawImage(c,0,0,ea,T);var ka=ca.toDataURL();if(ka.length<f.length){var ma=document.createElement("canvas");ma.width=ea;ma.height=T;var aa=ma.toDataURL();ka!==aa&&(f=ka,L=ea,P=T)}}}catch(V){}z&&J!=f&&A>this.maxImageSize/2&&f.length>this.maxImageBytes?this.resizeImage(c,f,l,z,A/1.5,B,G):l(f,L,P)};EditorUi.prototype.extractGraphModelFromPng=
+B))try{var fa=Math.max(L/A,P/A);if(1<fa){var ea=Math.round(L/fa),T=Math.round(P/fa),ca=document.createElement("canvas");ca.width=ea;ca.height=T;ca.getContext("2d").drawImage(c,0,0,ea,T);var ja=ca.toDataURL();if(ja.length<f.length){var ma=document.createElement("canvas");ma.width=ea;ma.height=T;var aa=ma.toDataURL();ja!==aa&&(f=ja,L=ea,P=T)}}}catch(V){}z&&J!=f&&A>this.maxImageSize/2&&f.length>this.maxImageBytes?this.resizeImage(c,f,l,z,A/1.5,B,G):l(f,L,P)};EditorUi.prototype.extractGraphModelFromPng=
function(c){return Editor.extractGraphModelFromPng(c)};EditorUi.prototype.loadImage=function(c,f,l){try{var z=new Image;z.onload=function(){z.width=0<z.width?z.width:120;z.height=0<z.height?z.height:120;f(z)};null!=l&&(z.onerror=l);z.src=c}catch(A){if(null!=l)l(A);else throw A;}};EditorUi.prototype.getDefaultSketchMode=function(){var c="1"==urlParams.sketch;return"0"!=(null!=urlParams.rough?urlParams.rough:c)};var v=EditorUi.prototype.createUi;EditorUi.prototype.createUi=function(){Editor.isSettingsEnabled()&&
(null!=mxSettings.settings.sidebarTitles&&(Sidebar.prototype.sidebarTitles=mxSettings.settings.sidebarTitles),this.formatWidth=mxSettings.getFormatWidth(),null!=Editor.config&&null!=Editor.config.enableCssDarkMode||null==mxSettings.settings.enableCssDarkMode||(Editor.enableCssDarkMode=mxSettings.settings.enableCssDarkMode));v.apply(this,arguments);Editor.isSettingsEnabled()&&this.doSetSketchMode(null!=mxSettings.settings.sketchMode&&null==urlParams.rough&&null==urlParams.sketch?mxSettings.settings.sketchMode:
this.getDefaultSketchMode())};var q=EditorUi.prototype.init;EditorUi.prototype.init=function(){mxStencilRegistry.allowEval=mxStencilRegistry.allowEval&&!this.isOfflineApp();var c=this,f=this.editor.graph,l=f.isEnabled;f.isEnabled=function(){return l.apply(this,arguments)&&!c.isLocked()};Graph.touchStyle&&(f.panningHandler.isPanningTrigger=function(t){var I=t.getEvent();return null==t.getState()&&!mxEvent.isMouseEvent(I)&&!f.freehand.isDrawing()||mxEvent.isPopupTrigger(I)&&(null==t.getState()||mxEvent.isControlDown(I)||
-mxEvent.isShiftDown(I))});f.cellEditor.editPlantUmlData=function(t,I,R){var O=JSON.parse(R);I=new TextareaDialog(c,mxResources.get("plantUml")+":",O.data,function(X){null!=X&&c.spinner.spin(document.body,mxResources.get("inserting"))&&c.generatePlantUmlImage(X,O.format,function(Z,ba,la){c.spinner.stop();f.getModel().beginUpdate();try{if("txt"==O.format)f.labelChanged(t,"<pre>"+Z+"</pre>"),f.updateCellSize(t,!0);else{f.setCellStyles("image",c.convertDataUri(Z),[t]);var qa=f.model.getGeometry(t);null!=
-qa&&(qa=qa.clone(),qa.width=ba,qa.height=la,f.cellsResized([t],[qa],!1))}f.setAttributeForCell(t,"plantUmlData",JSON.stringify({data:X,format:O.format}))}finally{f.getModel().endUpdate()}},function(Z){c.handleError(Z)})},null,null,400,220);c.showDialog(I.container,420,300,!0,!0);I.init()};f.cellEditor.editMermaidData=function(t,I,R){var O=JSON.parse(R);I=new TextareaDialog(c,mxResources.get("mermaid")+":",O.data,function(X){null!=X&&c.spinner.spin(document.body,mxResources.get("inserting"))&&c.generateMermaidImage(X,
-O.config,function(Z,ba,la){c.spinner.stop();f.getModel().beginUpdate();try{f.setCellStyles("image",Z,[t]);var qa=f.model.getGeometry(t);null!=qa&&(qa=qa.clone(),qa.width=Math.max(qa.width,ba),qa.height=Math.max(qa.height,la),f.cellsResized([t],[qa],!1));f.setAttributeForCell(t,"mermaidData",JSON.stringify({data:X,config:O.config},null,2))}finally{f.getModel().endUpdate()}},function(Z){c.handleError(Z)})},null,null,400,220);c.showDialog(I.container,420,300,!0,!0);I.init()};var z=f.cellEditor.startEditing;
+mxEvent.isShiftDown(I))});f.cellEditor.editPlantUmlData=function(t,I,R){var O=JSON.parse(R);I=new TextareaDialog(c,mxResources.get("plantUml")+":",O.data,function(X){null!=X&&c.spinner.spin(document.body,mxResources.get("inserting"))&&c.generatePlantUmlImage(X,O.format,function(Z,ba,ka){c.spinner.stop();f.getModel().beginUpdate();try{if("txt"==O.format)f.labelChanged(t,"<pre>"+Z+"</pre>"),f.updateCellSize(t,!0);else{f.setCellStyles("image",c.convertDataUri(Z),[t]);var qa=f.model.getGeometry(t);null!=
+qa&&(qa=qa.clone(),qa.width=ba,qa.height=ka,f.cellsResized([t],[qa],!1))}f.setAttributeForCell(t,"plantUmlData",JSON.stringify({data:X,format:O.format}))}finally{f.getModel().endUpdate()}},function(Z){c.handleError(Z)})},null,null,400,220);c.showDialog(I.container,420,300,!0,!0);I.init()};f.cellEditor.editMermaidData=function(t,I,R){var O=JSON.parse(R);I=new TextareaDialog(c,mxResources.get("mermaid")+":",O.data,function(X){null!=X&&c.spinner.spin(document.body,mxResources.get("inserting"))&&c.generateMermaidImage(X,
+O.config,function(Z,ba,ka){c.spinner.stop();f.getModel().beginUpdate();try{f.setCellStyles("image",Z,[t]);var qa=f.model.getGeometry(t);null!=qa&&(qa=qa.clone(),qa.width=Math.max(qa.width,ba),qa.height=Math.max(qa.height,ka),f.cellsResized([t],[qa],!1));f.setAttributeForCell(t,"mermaidData",JSON.stringify({data:X,config:O.config},null,2))}finally{f.getModel().endUpdate()}},function(Z){c.handleError(Z)})},null,null,400,220);c.showDialog(I.container,420,300,!0,!0);I.init()};var z=f.cellEditor.startEditing;
f.cellEditor.startEditing=function(t,I){try{var R=this.graph.getAttributeForCell(t,"plantUmlData");if(null!=R)this.editPlantUmlData(t,I,R);else if(R=this.graph.getAttributeForCell(t,"mermaidData"),null!=R&&window.isMermaidEnabled)this.editMermaidData(t,I,R);else{var O=f.getCellStyle(t);"1"==mxUtils.getValue(O,"metaEdit","0")?c.showDataDialog(t):z.apply(this,arguments)}}catch(X){c.handleError(X)}};f.getLinkTitle=function(t){return c.getLinkTitle(t)};f.customLinkClicked=function(t,I){var R=!1;try{var O=
this.getGraphBounds();c.handleCustomLink(t,I);R=!0;c.chromelessResize&&!O.equals(this.getGraphBounds())&&(c.chromelessResize(),this.scrollCellToVisible(I))}catch(X){c.handleError(X)}return R};var A=f.parseBackgroundImage;f.parseBackgroundImage=function(t){var I=A.apply(this,arguments);null!=I&&null!=I.src&&Graph.isPageLink(I.src)&&(I={originalSrc:I.src});return I};var B=f.setBackgroundImage;f.setBackgroundImage=function(t){null!=t&&null!=t.originalSrc&&(t=c.createImageForPageLink(t.originalSrc,c.currentPage,
this));B.apply(this,arguments)};this.editor.addListener("pageRenamed",mxUtils.bind(this,function(){f.refreshBackgroundImage()}));this.editor.addListener("pageMoved",mxUtils.bind(this,function(){f.refreshBackgroundImage()}));this.editor.addListener("pagesPatched",mxUtils.bind(this,function(t,I){t=null!=f.backgroundImage?f.backgroundImage.originalSrc:null;if(null!=t){var R=t.indexOf(",");if(0<R)for(t=t.substring(R+1),I=I.getProperty("patches"),R=0;R<I.length;R++)if(null!=I[R][EditorUi.DIFF_UPDATE]&&
null!=I[R][EditorUi.DIFF_UPDATE][t]||null!=I[R][EditorUi.DIFF_REMOVE]&&0<=mxUtils.indexOf(I[R][EditorUi.DIFF_REMOVE],t)){f.refreshBackgroundImage();break}}}));var G=f.getBackgroundImageObject;f.getBackgroundImageObject=function(t,I){var R=G.apply(this,arguments);if(null!=R&&null!=R.originalSrc)if(I){var O=this.stylesheet,X=this.shapeForegroundColor,Z=this.shapeBackgroundColor;null!=this.themes&&"darkTheme"==this.defaultThemeName&&(this.stylesheet=this.getDefaultStylesheet(),this.shapeBackgroundColor=
"#ffffff",this.shapeForegroundColor="#000000");R=c.createImageForPageLink(R.originalSrc,null,null,!0);this.shapeBackgroundColor=Z;this.shapeForegroundColor=X;this.stylesheet=O}else R={src:R.originalSrc};return R};this.isOffline()||"undefined"===typeof window.EditDataDialog||(EditDataDialog.placeholderHelpLink="https://www.drawio.com/doc/faq/predefined-placeholders");if(/viewer\.diagrams\.net$/.test(window.location.hostname)||/embed\.diagrams\.net$/.test(window.location.hostname))this.editor.editBlankUrl=
-"https://app.diagrams.net/";var L=c.editor.getEditBlankUrl;this.editor.getEditBlankUrl=function(t){t=null!=t?t:"";"1"==urlParams.dev&&(t+=(0<t.length?"&":"?")+"dev=1");return L.apply(this,arguments)};var P=f.addClickHandler;f.addClickHandler=function(t,I,R){var O=I;I=function(X,Z,ba){if(null==Z){var la=mxEvent.getSource(X);"a"==la.nodeName.toLowerCase()&&(Z=la.getAttribute("href"))}null!=Z&&f.isCustomLink(Z)&&(mxEvent.isTouchEvent(X)||!mxEvent.isPopupTrigger(X))&&f.customLinkClicked(Z,ba)&&mxEvent.consume(X);
+"https://app.diagrams.net/";var L=c.editor.getEditBlankUrl;this.editor.getEditBlankUrl=function(t){t=null!=t?t:"";"1"==urlParams.dev&&(t+=(0<t.length?"&":"?")+"dev=1");return L.apply(this,arguments)};var P=f.addClickHandler;f.addClickHandler=function(t,I,R){var O=I;I=function(X,Z,ba){if(null==Z){var ka=mxEvent.getSource(X);"a"==ka.nodeName.toLowerCase()&&(Z=ka.getAttribute("href"))}null!=Z&&f.isCustomLink(Z)&&(mxEvent.isTouchEvent(X)||!mxEvent.isPopupTrigger(X))&&f.customLinkClicked(Z,ba)&&mxEvent.consume(X);
null!=O&&O(X,Z,ba)};P.call(this,t,I,R)};q.apply(this,arguments);mxClient.IS_SVG&&this.editor.graph.addSvgShadow(f.view.canvas.ownerSVGElement,null,!0);if(null!=this.menus){var J=Menus.prototype.addPopupMenuItems;this.menus.addPopupMenuItems=function(t,I,R){f.isSelectionEmpty()&&"simple"==Editor.currentTheme&&this.addMenuItems(t,["zoomIn","zoomOut","-"],null,R);J.apply(this,arguments);f.isSelectionEmpty()||null==c.addSelectionToScratchpad||this.addMenuItems(t,["-","addToScratchpad"],null,R);f.isSelectionEmpty()&&
"simple"==Editor.currentTheme&&this.addMenuItems(t,["-","exitGroup","home"],null,R)};var fa=Menus.prototype.addPopupMenuEditItems;this.menus.addPopupMenuEditItems=function(t,I,R){if(c.editor.graph.isSelectionEmpty())fa.apply(this,arguments),c.menus.addMenuItems(t,["copyAsImage"],null,R);else if(this.isShowCellEditItems()?this.addPopupDeleteItem(t,I,R):this.addPopupMenuArrangeItems(t,I,R),this.addMenuItems(t,"- cut copy copyAsImage duplicate -".split(" "),null,R),this.isShowCellEditItems()||this.addPopupDeleteItem(t,
I,R),this.addMenuItems(t,["lockUnlock","-"],null,R),!this.isShowStyleItems()){if(1==f.getSelectionCount()&&!f.isCellLocked(I)&&f.isCellEditable(I)&&(this.addSubmenu("editCell",t,null,mxResources.get("edit")),t.addSeparator(),f.getModel().isEdge(I))){this.addSubmenu("line",t);var O=f.getModel().getGeometry(I);null!=O&&null!=O.points&&0<O.points.length&&this.addMenuItems(t,["clearWaypoints"],null,R)}1==f.getSelectionCount()&&this.addMenuItems(t,["enterGroup"],null,R);O=c.getSelectionState();null!=O.mergeCell?
this.addMenuItem(t,"mergeCells"):(1<O.style.colspan||1<O.style.rowspan)&&this.addMenuItem(t,"unmergeCells")}};this.menus.isShowStyleItems=function(){return"simple"!=Editor.currentTheme&&"sketch"!=Editor.currentTheme&&"min"!=Editor.currentTheme};this.menus.isShowHistoryItems=function(){return"simple"!=Editor.currentTheme};this.menus.isShowArrangeItems=this.menus.isShowStyleItems;this.menus.isShowCellEditItems=this.menus.isShowStyleItems}this.defaultFilename=mxResources.get("untitledDiagram");var ea=
f.getExportVariables;f.getExportVariables=function(){var t=ea.apply(this,arguments),I=c.getCurrentFile();null!=I&&(t.filename=I.getTitle());t.pagecount=null!=c.pages?c.pages.length:1;t.page=null!=c.currentPage?c.currentPage.getName():"";t.pagenumber=null!=c.pages&&null!=c.currentPage?mxUtils.indexOf(c.pages,c.currentPage)+1:1;return t};var T=f.getGlobalVariable;f.getGlobalVariable=function(t){var I=c.getCurrentFile();return"filename"==t&&null!=I?I.getTitle():"page"==t&&null!=c.currentPage?c.currentPage.getName():
-"pagenumber"==t?null!=c.currentPage&&null!=c.pages?mxUtils.indexOf(c.pages,c.currentPage)+1:1:"pagecount"==t?null!=c.pages?c.pages.length:1:T.apply(this,arguments)};var ca=null,ka=null;this.addListener("fileDescriptorChanged",mxUtils.bind(this,function(){var t=this.getCurrentFile(),I=null!=t&&null!=t.getTitle()?t.getTitle():this.defaultFilename;ca!=I&&t==ka&&(f.invalidateDescendantsWithPlaceholders(f.model.getRoot()),f.view.validate());ca=I;ka=t}));var ma=f.labelLinkClicked;f.labelLinkClicked=function(t,
+"pagenumber"==t?null!=c.currentPage&&null!=c.pages?mxUtils.indexOf(c.pages,c.currentPage)+1:1:"pagecount"==t?null!=c.pages?c.pages.length:1:T.apply(this,arguments)};var ca=null,ja=null;this.addListener("fileDescriptorChanged",mxUtils.bind(this,function(){var t=this.getCurrentFile(),I=null!=t&&null!=t.getTitle()?t.getTitle():this.defaultFilename;ca!=I&&t==ja&&(f.invalidateDescendantsWithPlaceholders(f.model.getRoot()),f.view.validate());ca=I;ja=t}));var ma=f.labelLinkClicked;f.labelLinkClicked=function(t,
I,R){var O=I.getAttribute("href");if(null==O||!f.isCustomLink(O)||!mxEvent.isTouchEvent(R)&&mxEvent.isPopupTrigger(R))ma.apply(this,arguments);else{if(!f.isEnabled()||null!=t&&f.isCellLocked(t.cell))f.customLinkClicked(O),f.getRubberband().reset();mxEvent.consume(R)}};this.editor.getOrCreateFilename=function(){var t=c.defaultFilename,I=c.getCurrentFile();null!=I&&(t=null!=I.getTitle()?I.getTitle():t);return t};var aa=this.actions.get("print");aa.setEnabled(!mxClient.IS_IOS||!navigator.standalone);
aa.visible=aa.isEnabled();if(!this.editor.chromeless||this.editor.editable)this.keyHandler.bindAction(70,!0,"findReplace"),this.keyHandler.bindAction(77,!0,"editGeometry",!0),this.keyHandler.bindAction(75,!0,"tags"),this.keyHandler.bindAction(65,!1,"insertText"),this.keyHandler.bindAction(83,!1,"insertNote"),this.keyHandler.bindAction(68,!1,"insertRectangle"),this.keyHandler.bindAction(70,!1,"insertEllipse"),this.keyHandler.bindAction(76,!1,"insertLink"),this.keyHandler.bindAction(82,!1,"insertRhombus"),
this.keyHandler.bindAction(67,!1,"insertEdge"),this.keyHandler.bindAction(88,!1,"insertFreehand"),this.keyHandler.bindAction(75,!0,"toggleShapes",!0),this.keyHandler.bindAction(54,!0,"convertDarkModeColors",!0),this.altShiftActions[81]="copyStyle",this.altShiftActions[87]="pasteStyle",this.altShiftActions[83]="synchronize","1"==urlParams.embedInline&&f.addListener(mxEvent.ESCAPE,function(t,I){null!=I&&f.isEnabled()&&!f.isEditing()&&null!=I.getProperty("event")&&c.actions.get("exit").funct()}),this.installImagePasteHandler(),
this.installNativeClipboardHandler();this.addListener("realtimeStateChanged",mxUtils.bind(this,function(){this.updateUserElement()}));this.spinner=this.createSpinner(null,null,24);Graph.fileSupport&&f.addListener(mxEvent.EDITING_STARTED,mxUtils.bind(this,function(t){var I=f.cellEditor.text2,R=null;null!=I&&(mxEvent.addListener(I,"dragleave",function(O){null!=R&&(R.parentNode.removeChild(R),R=null);O.stopPropagation();O.preventDefault()}),mxEvent.addListener(I,"dragover",mxUtils.bind(this,function(O){null==
-R&&(!mxClient.IS_IE||10<document.documentMode)&&(R=this.highlightElement(I));O.stopPropagation();O.preventDefault()})),mxEvent.addListener(I,"drop",mxUtils.bind(this,function(O){null!=R&&(R.parentNode.removeChild(R),R=null);if(0<O.dataTransfer.files.length)this.importFiles(O.dataTransfer.files,0,0,this.maxImageSize,function(Z,ba,la,qa,pa,ra){f.insertImage(Z,pa,ra)},function(){},function(Z){return"image/"==Z.type.substring(0,6)},function(Z){for(var ba=0;ba<Z.length;ba++)Z[ba]()},mxEvent.isControlDown(O));
-else if(0<=mxUtils.indexOf(O.dataTransfer.types,"text/uri-list")){var X=O.dataTransfer.getData("text/uri-list");/\.(gif|jpg|jpeg|tiff|png|svg)$/i.test(X)?this.loadImage(decodeURIComponent(X),mxUtils.bind(this,function(Z){var ba=Math.max(1,Z.width);Z=Math.max(1,Z.height);var la=this.maxImageSize;la=Math.min(1,Math.min(la/Math.max(1,ba)),la/Math.max(1,Z));f.insertImage(decodeURIComponent(X),ba*la,Z*la)})):document.execCommand("insertHTML",!1,O.dataTransfer.getData("text/plain"))}else 0<=mxUtils.indexOf(O.dataTransfer.types,
+R&&(!mxClient.IS_IE||10<document.documentMode)&&(R=this.highlightElement(I));O.stopPropagation();O.preventDefault()})),mxEvent.addListener(I,"drop",mxUtils.bind(this,function(O){null!=R&&(R.parentNode.removeChild(R),R=null);if(0<O.dataTransfer.files.length)this.importFiles(O.dataTransfer.files,0,0,this.maxImageSize,function(Z,ba,ka,qa,pa,ra){f.insertImage(Z,pa,ra)},function(){},function(Z){return"image/"==Z.type.substring(0,6)},function(Z){for(var ba=0;ba<Z.length;ba++)Z[ba]()},mxEvent.isControlDown(O));
+else if(0<=mxUtils.indexOf(O.dataTransfer.types,"text/uri-list")){var X=O.dataTransfer.getData("text/uri-list");/\.(gif|jpg|jpeg|tiff|png|svg)$/i.test(X)?this.loadImage(decodeURIComponent(X),mxUtils.bind(this,function(Z){var ba=Math.max(1,Z.width);Z=Math.max(1,Z.height);var ka=this.maxImageSize;ka=Math.min(1,Math.min(ka/Math.max(1,ba)),ka/Math.max(1,Z));f.insertImage(decodeURIComponent(X),ba*ka,Z*ka)})):document.execCommand("insertHTML",!1,O.dataTransfer.getData("text/plain"))}else 0<=mxUtils.indexOf(O.dataTransfer.types,
"text/html")?document.execCommand("insertHTML",!1,O.dataTransfer.getData("text/html")):0<=mxUtils.indexOf(O.dataTransfer.types,"text/plain")&&document.execCommand("insertHTML",!1,O.dataTransfer.getData("text/plain"));O.stopPropagation();O.preventDefault()})))}));if(Editor.isSettingsEnabled()){aa=this.editor.graph.view;var V=mxSettings.getUnit();aa.setUnit(V);Editor.pageSizeUnit=V==mxConstants.METERS?mxConstants.MILLIMETERS:V;aa.addListener("unitChanged",function(t,I){t=I.getProperty("unit");mxSettings.setUnit(t);
mxSettings.save();Editor.pageSizeUnit=t==mxConstants.METERS?mxConstants.MILLIMETERS:t});this.ruler=!this.canvasSupported||9==document.documentMode||"1"!=urlParams.ruler&&!mxSettings.isRulerOn()||this.editor.isChromelessView()&&!this.editor.editable?null:new mxDualRuler(this,aa.unit);this.refresh()}if("1"==urlParams.styledev){aa=document.getElementById("geFooter");null!=aa&&(this.styleInput=document.createElement("input"),this.styleInput.setAttribute("type","text"),this.styleInput.style.position="absolute",
this.styleInput.style.top="14px",this.styleInput.style.left="2px",this.styleInput.style.width="98%",this.styleInput.style.visibility="hidden",this.styleInput.style.opacity="0.9",mxEvent.addListener(this.styleInput,"change",mxUtils.bind(this,function(){this.editor.graph.getModel().setStyle(this.editor.graph.getSelectionCell(),this.styleInput.value)})),aa.appendChild(this.styleInput),this.editor.graph.getSelectionModel().addListener(mxEvent.CHANGE,mxUtils.bind(this,function(t,I){0<this.editor.graph.getSelectionCount()?
(t=this.editor.graph.getSelectionCell(),t=this.editor.graph.getModel().getStyle(t),this.styleInput.value=t||"",this.styleInput.style.visibility="visible"):this.styleInput.style.visibility="hidden"})));var da=this.isSelectionAllowed;this.isSelectionAllowed=function(t){return mxEvent.getSource(t)==this.styleInput?!0:da.apply(this,arguments)}}aa=document.getElementById("geInfo");null!=aa&&aa.parentNode.removeChild(aa);if(Graph.fileSupport&&(!this.editor.chromeless||this.editor.editable)){var k=null;
mxEvent.addListener(f.container,"dragleave",function(t){f.isEnabled()&&(null!=k&&(k.parentNode.removeChild(k),k=null),t.stopPropagation(),t.preventDefault())});mxEvent.addListener(f.container,"dragover",mxUtils.bind(this,function(t){null==k&&(!mxClient.IS_IE||10<document.documentMode)&&(k=this.highlightElement(f.container));null!=this.sidebar&&this.sidebar.hideTooltip();t.stopPropagation();t.preventDefault()}));mxEvent.addListener(f.container,"drop",mxUtils.bind(this,function(t){null!=k&&(k.parentNode.removeChild(k),
k=null);if(f.isEnabled()){var I=mxUtils.convertPoint(f.container,mxEvent.getClientX(t),mxEvent.getClientY(t)),R=t.dataTransfer.files,O=f.view.translate,X=f.view.scale,Z=I.x/X-O.x,ba=I.y/X-O.y;if(0<R.length)"1"!=urlParams.embed&&mxEvent.isShiftDown(t)?(this.isBlankFile()&&!this.canUndo()&&null!=this.getCurrentFile()&&this.fileLoaded(null),this.openFiles(R,!0)):(mxEvent.isAltDown(t)&&(ba=Z=null),this.importFiles(R,Z,ba,this.maxImageSize,null,null,null,null,mxEvent.isControlDown(t),null,null,mxEvent.isShiftDown(t),
-t));else{mxEvent.isAltDown(t)&&(ba=Z=0);var la=0<=mxUtils.indexOf(t.dataTransfer.types,"text/uri-list")?t.dataTransfer.getData("text/uri-list"):null;I=this.extractGraphModelFromEvent(t,null!=this.pages);if(null!=I)f.setSelectionCells(this.importXml(I,Z,ba,!0));else if(0<=mxUtils.indexOf(t.dataTransfer.types,"text/html")){var qa=t.dataTransfer.getData("text/html");I=document.createElement("div");I.innerHTML=Graph.sanitizeHtml(qa);var pa=null;R=I.getElementsByTagName("img");null!=R&&1==R.length?(qa=
+t));else{mxEvent.isAltDown(t)&&(ba=Z=0);var ka=0<=mxUtils.indexOf(t.dataTransfer.types,"text/uri-list")?t.dataTransfer.getData("text/uri-list"):null;I=this.extractGraphModelFromEvent(t,null!=this.pages);if(null!=I)f.setSelectionCells(this.importXml(I,Z,ba,!0));else if(0<=mxUtils.indexOf(t.dataTransfer.types,"text/html")){var qa=t.dataTransfer.getData("text/html");I=document.createElement("div");I.innerHTML=Graph.sanitizeHtml(qa);var pa=null;R=I.getElementsByTagName("img");null!=R&&1==R.length?(qa=
R[0].getAttribute("src"),null==qa&&(qa=R[0].getAttribute("srcset")),/\.(gif|jpg|jpeg|tiff|png|svg)$/i.test(qa)||(pa=!0)):(R=I.getElementsByTagName("a"),null!=R&&1==R.length?qa=R[0].getAttribute("href"):(I=I.getElementsByTagName("pre"),null!=I&&1==I.length&&(qa=mxUtils.getTextContent(I[0]))));var ra=!0,ua=mxUtils.bind(this,function(){f.setSelectionCells(this.insertTextAt(qa,Z,ba,!0,pa,null,ra,mxEvent.isControlDown(t)))});pa&&null!=qa&&qa.length>this.resampleThreshold?this.confirmImageResize(function(Ba){ra=
-Ba;ua()},mxEvent.isControlDown(t)):ua()}else null!=la&&/\.(gif|jpg|jpeg|tiff|png|svg)$/i.test(la)?this.loadImage(decodeURIComponent(la),mxUtils.bind(this,function(Ba){var ya=Math.max(1,Ba.width);Ba=Math.max(1,Ba.height);var Aa=this.maxImageSize;Aa=Math.min(1,Math.min(Aa/Math.max(1,ya)),Aa/Math.max(1,Ba));f.setSelectionCell(f.insertVertex(null,null,"",Z,ba,ya*Aa,Ba*Aa,"shape=image;verticalLabelPosition=bottom;labelBackgroundColor=default;verticalAlign=top;aspect=fixed;imageAspect=0;image="+la+";"))}),
-mxUtils.bind(this,function(Ba){f.setSelectionCells(this.insertTextAt(la,Z,ba,!0))})):0<=mxUtils.indexOf(t.dataTransfer.types,"text/plain")&&f.setSelectionCells(this.insertTextAt(t.dataTransfer.getData("text/plain"),Z,ba,!0))}}t.stopPropagation();t.preventDefault()}),!1)}this.initPages();"1"==urlParams.embed&&this.initializeEmbedMode();aa=mxUtils.bind(this,function(){f.refresh();f.view.validateBackground();this.updateDocumentTitle();this.updateTabContainer();this.hideShapePicker()});this.addListener("darkModeChanged",
+Ba;ua()},mxEvent.isControlDown(t)):ua()}else null!=ka&&/\.(gif|jpg|jpeg|tiff|png|svg)$/i.test(ka)?this.loadImage(decodeURIComponent(ka),mxUtils.bind(this,function(Ba){var xa=Math.max(1,Ba.width);Ba=Math.max(1,Ba.height);var Aa=this.maxImageSize;Aa=Math.min(1,Math.min(Aa/Math.max(1,xa)),Aa/Math.max(1,Ba));f.setSelectionCell(f.insertVertex(null,null,"",Z,ba,xa*Aa,Ba*Aa,"shape=image;verticalLabelPosition=bottom;labelBackgroundColor=default;verticalAlign=top;aspect=fixed;imageAspect=0;image="+ka+";"))}),
+mxUtils.bind(this,function(Ba){f.setSelectionCells(this.insertTextAt(ka,Z,ba,!0))})):0<=mxUtils.indexOf(t.dataTransfer.types,"text/plain")&&f.setSelectionCells(this.insertTextAt(t.dataTransfer.getData("text/plain"),Z,ba,!0))}}t.stopPropagation();t.preventDefault()}),!1)}this.initPages();"1"==urlParams.embed&&this.initializeEmbedMode();aa=mxUtils.bind(this,function(){f.refresh();f.view.validateBackground();this.updateDocumentTitle();this.updateTabContainer();this.hideShapePicker()});this.addListener("darkModeChanged",
aa);this.addListener("currentThemeChanged",mxUtils.bind(this,function(){null!=this.sidebar&&this.sidebar.updateEntries();this.updateButtonContainer();this.updateDocumentTitle();this.refresh()}));f.addListener("enabledChanged",mxUtils.bind(this,function(){f.isEnabled()||this.hideShapePicker()}));c=this;mxWindow.prototype.fit=function(){if(Editor.inlineFullscreen||null==c.embedViewport)mxUtils.fit(this.div);else{var t=parseInt(this.div.offsetLeft),I=parseInt(this.div.offsetWidth),R=c.embedViewport.x+
c.embedViewport.width,O=parseInt(this.div.offsetTop),X=parseInt(this.div.offsetHeight),Z=c.embedViewport.y+c.embedViewport.height;this.div.style.left=Math.max(c.embedViewport.x,Math.min(t,R-I))+"px";this.div.style.top=Math.max(c.embedViewport.y,Math.min(O,Z-X))+"px";this.div.style.height=Math.min(c.embedViewport.height,parseInt(this.div.style.height))+"px";this.div.style.width=Math.min(c.embedViewport.width,parseInt(this.div.style.width))+"px"}};if(!this.editor.chromeless||this.editor.editable)if("simple"==
Editor.currentTheme||"sketch"==Editor.currentTheme)aa=Editor.currentTheme,Editor.currentTheme="",this.doSetCurrentTheme(aa,0,mxUtils.bind(this,function(){"1"==urlParams.embedInline?this.initializeInlineEmbedMode():(window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth)<Editor.smallScreenWidth&&this.toggleFormatPanel(!1);this.fireEvent(new mxEventObject("themeInitialized"))}));if("atlas"!=Editor.currentTheme)if(mxClient.IS_IE||mxClient.IS_IE11||"0"==urlParams.dark||"atlas"==
@@ -3857,24 +3855,24 @@ G,L,mxUtils.bind(this,function(P){this.handleError(P)}))}catch(P){this.handleErr
A=mxUtils.getXml(l.encodeCells(z));mxUtils.setTextContent(c,encodeURIComponent(A));f?(l.removeCells(z,!1),l.lastPasteXml=null):(l.lastPasteXml=A,l.pasteCounter=0);c.focus();document.execCommand("selectAll",!1,null)}};EditorUi.prototype.copyXml=function(){var c=null;if(Editor.enableNativeCipboard){var f=this.editor.graph;f.isSelectionEmpty()||(c=mxUtils.sortCells(f.getExportableCells(f.model.getTopmostCells(f.getSelectionCells()))),f=mxUtils.getXml(f.encodeCells(c)),navigator.clipboard.writeText(f))}return c};
EditorUi.prototype.pasteXml=function(c,f,l,z,A){A=null!=A?A:!0;var B=this.editor.graph,G=null;B.lastPasteXml==c?B.pasteCounter++:(B.lastPasteXml=c,B.pasteCounter=0);var L=B.pasteCounter*B.gridSize;if(l||this.isCompatibleString(c))G=this.importXml(c,L,L),B.setSelectionCells(G);else if(f&&1==B.getSelectionCount()){A=B.getStartEditingCell(B.getSelectionCell(),z);if(/\.(gif|jpg|jpeg|tiff|png|svg)$/i.test(c)&&"image"==B.getCurrentCellStyle(A)[mxConstants.STYLE_SHAPE])B.setCellStyles(mxConstants.STYLE_IMAGE,
c,[A]);else{B.model.beginUpdate();try{B.labelChanged(A,c),Graph.isLink(c)&&B.setLinkForCell(A,c)}finally{B.model.endUpdate()}}B.setSelectionCell(A)}else G=B.getInsertPoint(),B.isMouseInsertPoint()&&(L=0,B.lastPasteXml==c&&0<B.pasteCounter&&B.pasteCounter--),G=this.insertTextAt(c,G.x+L,G.y+L,A),B.setSelectionCells(G);B.isSelectionEmpty()||(B.scrollCellToVisible(B.getSelectionCell()),null!=this.hoverIcons&&this.hoverIcons.update(B.view.getState(B.getSelectionCell())));return G};EditorUi.prototype.pasteCells=
-function(c,f,l,z){if(!mxEvent.isConsumed(c)){var A=f,B=!1;if(l&&null!=c.clipboardData&&c.clipboardData.getData){var G=c.clipboardData.getData("text/plain"),L=!1;if(null!=G&&0<G.length&&"%3CmxGraphModel%3E"==G.substring(0,18))try{var P=decodeURIComponent(G);this.isCompatibleString(P)&&(L=!0,G=P)}catch(ka){}L=L?null:c.clipboardData.getData("text/html");null!=L&&0<L.length?(A=this.parseHtmlData(L),B="text/plain"!=A.getAttribute("data-type")):null!=G&&0<G.length&&(A=document.createElement("div"),mxUtils.setTextContent(A,
-L))}G=A.getElementsByTagName("span");if(null!=G&&0<G.length&&"application/vnd.lucid.chart.objects"===G[0].getAttribute("data-lucid-type"))l=G[0].getAttribute("data-lucid-content"),null!=l&&0<l.length&&(this.convertLucidChart(l,mxUtils.bind(this,function(ka){var ma=this.editor.graph;ma.lastPasteXml==ka?ma.pasteCounter++:(ma.lastPasteXml=ka,ma.pasteCounter=0);var aa=ma.pasteCounter*ma.gridSize;ma.setSelectionCells(this.importXml(ka,aa,aa));ma.scrollCellToVisible(ma.getSelectionCell())}),mxUtils.bind(this,
-function(ka){this.handleError(ka)})),mxEvent.consume(c));else{var J=!1,fa="";fa=B?null!=A.textContent&&"<mxfile"==A.textContent.substring(0,7)&&"</mxfile>"==A.textContent.substring(A.textContent.length-9)||"<mxGraphModel"==A.textContent.substring(0,13)&&"</mxGraphModel>"==A.textContent.substring(A.textContent.length-15)?A.textContent.replace(/\u00a0/g," "):A.innerHTML:mxUtils.trim(null==A.innerText?mxUtils.getTextContent(A):A.innerText);try{var ea=fa.lastIndexOf("%3E");0<=ea&&ea<fa.length-3&&(fa=
-fa.substring(0,ea+3))}catch(ka){}try{G=A.getElementsByTagName("span"),(P=null!=G&&0<G.length?mxUtils.trim(decodeURIComponent(G[0].textContent)):decodeURIComponent(fa))&&(this.isCompatibleString(P)||0==P.substring(0,20).replace(/\s/g,"").indexOf('{"isProtected":'))&&(J=!0,fa=P)}catch(ka){}try{if(null!=fa&&0<fa.length){if(0==fa.substring(0,20).replace(/\s/g,"").indexOf('{"isProtected":')){var T=mxUtils.bind(this,function(){try{fa=(new MiroImporter).importMiroJson(JSON.parse(fa)),this.pasteXml(fa,z,
-J,c)}catch(ka){console.log("Miro import error:",ka)}});"undefined"===typeof MiroImporter?mxscript("js/diagramly/miro/MiroImporter.js",T):T()}else this.pasteXml(fa,z,J,c,B);try{mxEvent.consume(c)}catch(ka){}}else if(!l){var ca=this.editor.graph;ca.lastPasteXml=null;ca.pasteCounter=0}}catch(ka){this.handleError(ka)}}}f.innerHTML="&nbsp;"};EditorUi.prototype.showPrintDialog=function(c,f){var l=320;this.editor.graph.isEnabled()&&(l+=40);null!=this.pages&&1<this.pages.length&&(l+=40,this.editor.graph.isEnabled()||
+function(c,f,l,z){if(!mxEvent.isConsumed(c)){var A=f,B=!1;if(l&&null!=c.clipboardData&&c.clipboardData.getData){var G=c.clipboardData.getData("text/plain"),L=!1;if(null!=G&&0<G.length&&"%3CmxGraphModel%3E"==G.substring(0,18))try{var P=decodeURIComponent(G);this.isCompatibleString(P)&&(L=!0,G=P)}catch(ja){}L=L?null:c.clipboardData.getData("text/html");null!=L&&0<L.length?(A=this.parseHtmlData(L),B="text/plain"!=A.getAttribute("data-type")):null!=G&&0<G.length&&(A=document.createElement("div"),mxUtils.setTextContent(A,
+L))}G=A.getElementsByTagName("span");if(null!=G&&0<G.length&&"application/vnd.lucid.chart.objects"===G[0].getAttribute("data-lucid-type"))l=G[0].getAttribute("data-lucid-content"),null!=l&&0<l.length&&(this.convertLucidChart(l,mxUtils.bind(this,function(ja){var ma=this.editor.graph;ma.lastPasteXml==ja?ma.pasteCounter++:(ma.lastPasteXml=ja,ma.pasteCounter=0);var aa=ma.pasteCounter*ma.gridSize;ma.setSelectionCells(this.importXml(ja,aa,aa));ma.scrollCellToVisible(ma.getSelectionCell())}),mxUtils.bind(this,
+function(ja){this.handleError(ja)})),mxEvent.consume(c));else{var J=!1,fa="";fa=B?null!=A.textContent&&"<mxfile"==A.textContent.substring(0,7)&&"</mxfile>"==A.textContent.substring(A.textContent.length-9)||"<mxGraphModel"==A.textContent.substring(0,13)&&"</mxGraphModel>"==A.textContent.substring(A.textContent.length-15)?A.textContent.replace(/\u00a0/g," "):A.innerHTML:mxUtils.trim(null==A.innerText?mxUtils.getTextContent(A):A.innerText);try{var ea=fa.lastIndexOf("%3E");0<=ea&&ea<fa.length-3&&(fa=
+fa.substring(0,ea+3))}catch(ja){}try{G=A.getElementsByTagName("span"),(P=null!=G&&0<G.length?mxUtils.trim(decodeURIComponent(G[0].textContent)):decodeURIComponent(fa))&&(this.isCompatibleString(P)||0==P.substring(0,20).replace(/\s/g,"").indexOf('{"isProtected":'))&&(J=!0,fa=P)}catch(ja){}try{if(null!=fa&&0<fa.length){if(0==fa.substring(0,20).replace(/\s/g,"").indexOf('{"isProtected":')){var T=mxUtils.bind(this,function(){try{fa=(new MiroImporter).importMiroJson(JSON.parse(fa)),this.pasteXml(fa,z,
+J,c)}catch(ja){console.log("Miro import error:",ja)}});"undefined"===typeof MiroImporter?mxscript("js/diagramly/miro/MiroImporter.js",T):T()}else this.pasteXml(fa,z,J,c,B);try{mxEvent.consume(c)}catch(ja){}}else if(!l){var ca=this.editor.graph;ca.lastPasteXml=null;ca.pasteCounter=0}}catch(ja){this.handleError(ja)}}}f.innerHTML="&nbsp;"};EditorUi.prototype.showPrintDialog=function(c,f){var l=320;this.editor.graph.isEnabled()&&(l+=40);null!=this.pages&&1<this.pages.length&&(l+=40,this.editor.graph.isEnabled()||
(l+=10));null==f||mxClient.IS_CHROMEAPP||"draw.io"!=this.getServiceName()||(l+=20);this.showDialog((new PrintDialog(this,c,f)).container,320,l,!0,!0)};EditorUi.prototype.print=function(c,f){var l=this.editor,z=l.graph,A=this.getPageIndex(this.currentPage),B=null!=A?A+1:1;A=null;var G=z.shapeForegroundColor,L=z.shapeBackgroundColor;null!=z.themes&&"darkTheme"==z.defaultThemeName&&(A=z.stylesheet,z.stylesheet=z.getDefaultStylesheet(),z.shapeForegroundColor="#000000",z.shapeBackgroundColor="#ffffff",
-z.refresh());var P=mxUtils.bind(this,function(k,t,I,R){var O=k.useCssTransforms,X=k.currentTranslate,Z=k.currentScale,ba=k.view.translate,la=k.view.scale;k.useCssTransforms&&(k.useCssTransforms=!1,k.currentTranslate=new mxPoint(0,0),k.currentScale=1,k.view.translate=new mxPoint(0,0),k.view.scale=1);var qa=k.getGraphBounds(),pa=0,ra=0,ua=mxRectangle.fromRectangle(k.pageFormat),Ba=f.fit||f.crop||!k.pageVisible,ya=f.scale;ua.width=Math.ceil(ua.width*k.pageScale);ua.height=Math.ceil(ua.height*k.pageScale);
-var Aa=1;if(f.fit){Aa=f.sheetsAcross;var Na=f.sheetsDown;isNaN(ya)||(ua.width=Math.ceil(ua.width*ya),ua.height=Math.ceil(ua.height*ya));Aa=Math.min(ua.height*Na/(qa.height/k.view.scale),ua.width*Aa/(qa.width/k.view.scale))}else Aa=isNaN(ya)?1:ya;Aa*=1;!Ba&&k.pageVisible?(ya=k.getPageLayout(),pa-=ya.x*ua.width,ra-=ya.y*ua.height):Ba=!0;f.crop&&(f.selection&&(qa=z.getBoundingBox(z.getSelectionCells())),ua.width=(qa.width+1)*Aa/k.view.scale,ua.height=(qa.height+1)*Aa/k.view.scale);ua.width=Math.ceil(1*
-ua.width);ua.height=Math.ceil(1*ua.height);R=null!=R?"page/id,"+R:null;if(null==t){t=PrintDialog.createPrintPreview(k,Aa,null,0,pa,ra,Ba);t.title=this.getBaseFilename(!0);t.pageSelector=!1;t.mathEnabled=!1;pa=f.border;isNaN(pa)||(t.pageMargin=pa);f.selection&&(t.isCellVisible=function(Ea){return k.isCellSelected(Ea)});var va=t.writeHead;t.writeHead=function(Ea){va.apply(this,arguments);mxClient.IS_GC&&(Ea.writeln('<style type="text/css">'),Ea.writeln("@media print {"),Ea.writeln(".MathJax svg { shape-rendering: crispEdges; }"),
-Ea.writeln("}"),Ea.writeln("</style>"));null!=l.fontCss&&(Ea.writeln('<style type="text/css">'),Ea.writeln(mxUtils.htmlEntities(l.fontCss,!1,!1,!1)),Ea.writeln("</style>"));for(var za=k.getCustomFonts(),Ra=0;Ra<za.length;Ra++){var Ja=za[Ra].name,Qa=za[Ra].url;Graph.isCssFontUrl(Qa)?Ea.writeln('<link rel="stylesheet" href="'+mxUtils.htmlEntities(Graph.rewriteGoogleFontUrl(Qa))+'" charset="UTF-8" type="text/css">'):(Ea.writeln('<style type="text/css">'),Ea.writeln('@font-face {\nfont-family: "'+mxUtils.htmlEntities(Ja)+
-'";\nsrc: url("'+mxUtils.htmlEntities(Qa)+'");\n}'),Ea.writeln("</style>"))}};if(Editor.enableCssDarkMode){var Da=t.getBackgroundImage;t.getBackgroundImage=function(){return z.adaptBackgroundPage(Da.apply(this,arguments))}}if(Editor.replaceSvgDataUris){var Ha=t.drawBackgroundImage;t.drawBackgroundImage=function(Ea){Ha.apply(this,arguments);null!=Ea.node&&(EditorUi.embedSvgImages(Ea.node),z.disableSvgLinks(Ea.node,function(za){za.setAttribute("href","javascript:void(0)")}))}}var La=t.addGraphFragment;
-t.addGraphFragment=function(Ea,za,Ra,Ja,Qa,Ma){La.apply(this,arguments);this.graph.mathEnabled?this.mathEnabled=this.mathEnabled||!0:Qa.classList.add("geDisableMathJax")};ya=null;pa=z.shapeForegroundColor;ra=z.shapeBackgroundColor;null!=z.themes&&"darkTheme"==z.defaultThemeName&&(ya=z.stylesheet,z.stylesheet=z.getDefaultStylesheet(),z.shapeForegroundColor="#000000",z.shapeBackgroundColor="#ffffff",z.refresh());f.grid&&(t.gridSize=k.gridSize,t.gridSteps=k.view.gridSteps,t.gridColor=Editor.isDarkMode()?
-mxGraphView.prototype.defaultGridColor:k.view.gridColor);t.open(null,null,I,!0,R,ua,f.selection?k.getSelectionCells():null);null!=ya&&(z.shapeForegroundColor=pa,z.shapeBackgroundColor=ra,z.stylesheet=ya,z.refresh())}else{ya=k.background;if(null==ya||""==ya||ya==mxConstants.NONE)ya="#ffffff";t.backgroundColor=ya;t.autoOrigin=Ba;f.grid&&(t.gridSize=k.gridSize,t.gridSteps=k.view.gridSteps,t.gridColor=Editor.isDarkMode()?mxGraphView.prototype.defaultGridColor:k.view.gridColor);t.appendGraph(k,Aa,pa,ra,
+z.refresh());var P=mxUtils.bind(this,function(k,t,I,R){var O=k.useCssTransforms,X=k.currentTranslate,Z=k.currentScale,ba=k.view.translate,ka=k.view.scale;k.useCssTransforms&&(k.useCssTransforms=!1,k.currentTranslate=new mxPoint(0,0),k.currentScale=1,k.view.translate=new mxPoint(0,0),k.view.scale=1);var qa=k.getGraphBounds(),pa=0,ra=0,ua=mxRectangle.fromRectangle(k.pageFormat),Ba=f.fit||f.crop||!k.pageVisible,xa=f.scale;ua.width=Math.ceil(ua.width*k.pageScale);ua.height=Math.ceil(ua.height*k.pageScale);
+var Aa=1;if(f.fit){Aa=f.sheetsAcross;var Na=f.sheetsDown;isNaN(xa)||(ua.width=Math.ceil(ua.width*xa),ua.height=Math.ceil(ua.height*xa));Aa=Math.min(ua.height*Na/(qa.height/k.view.scale),ua.width*Aa/(qa.width/k.view.scale))}else Aa=isNaN(xa)?1:xa;Aa*=1;!Ba&&k.pageVisible?(xa=k.getPageLayout(),pa-=xa.x*ua.width,ra-=xa.y*ua.height):Ba=!0;f.crop&&(f.selection&&(qa=z.getBoundingBox(z.getSelectionCells())),ua.width=(qa.width+1)*Aa/k.view.scale,ua.height=(qa.height+1)*Aa/k.view.scale);ua.width=Math.ceil(1*
+ua.width);ua.height=Math.ceil(1*ua.height);R=null!=R?"page/id,"+R:null;if(null==t){t=PrintDialog.createPrintPreview(k,Aa,null,0,pa,ra,Ba);t.title=this.getBaseFilename(!0);t.pageSelector=!1;t.mathEnabled=!1;pa=f.border;isNaN(pa)||(t.pageMargin=pa);f.selection&&(t.isCellVisible=function(Da){return k.isCellSelected(Da)});var va=t.writeHead;t.writeHead=function(Da){va.apply(this,arguments);mxClient.IS_GC&&(Da.writeln('<style type="text/css">'),Da.writeln("@media print {"),Da.writeln(".MathJax svg { shape-rendering: crispEdges; }"),
+Da.writeln("}"),Da.writeln("</style>"));null!=l.fontCss&&(Da.writeln('<style type="text/css">'),Da.writeln(mxUtils.htmlEntities(l.fontCss,!1,!1,!1)),Da.writeln("</style>"));for(var za=k.getCustomFonts(),Ra=0;Ra<za.length;Ra++){var Ja=za[Ra].name,Qa=za[Ra].url;Graph.isCssFontUrl(Qa)?Da.writeln('<link rel="stylesheet" href="'+mxUtils.htmlEntities(Graph.rewriteGoogleFontUrl(Qa))+'" charset="UTF-8" type="text/css">'):(Da.writeln('<style type="text/css">'),Da.writeln('@font-face {\nfont-family: "'+mxUtils.htmlEntities(Ja)+
+'";\nsrc: url("'+mxUtils.htmlEntities(Qa)+'");\n}'),Da.writeln("</style>"))}};if(Editor.enableCssDarkMode){var Ca=t.getBackgroundImage;t.getBackgroundImage=function(){return z.adaptBackgroundPage(Ca.apply(this,arguments))}}if(Editor.replaceSvgDataUris){var Ga=t.drawBackgroundImage;t.drawBackgroundImage=function(Da){Ga.apply(this,arguments);null!=Da.node&&(EditorUi.embedSvgImages(Da.node),z.disableSvgLinks(Da.node,function(za){za.setAttribute("href","javascript:void(0)")}))}}var La=t.addGraphFragment;
+t.addGraphFragment=function(Da,za,Ra,Ja,Qa,Ma){La.apply(this,arguments);this.graph.mathEnabled?this.mathEnabled=this.mathEnabled||!0:Qa.classList.add("geDisableMathJax")};xa=null;pa=z.shapeForegroundColor;ra=z.shapeBackgroundColor;null!=z.themes&&"darkTheme"==z.defaultThemeName&&(xa=z.stylesheet,z.stylesheet=z.getDefaultStylesheet(),z.shapeForegroundColor="#000000",z.shapeBackgroundColor="#ffffff",z.refresh());f.grid&&(t.gridSize=k.gridSize,t.gridSteps=k.view.gridSteps,t.gridColor=Editor.isDarkMode()?
+mxGraphView.prototype.defaultGridColor:k.view.gridColor);t.open(null,null,I,!0,R,ua,f.selection?k.getSelectionCells():null);null!=xa&&(z.shapeForegroundColor=pa,z.shapeBackgroundColor=ra,z.stylesheet=xa,z.refresh())}else{xa=k.background;if(null==xa||""==xa||xa==mxConstants.NONE)xa="#ffffff";t.backgroundColor=xa;t.autoOrigin=Ba;f.grid&&(t.gridSize=k.gridSize,t.gridSteps=k.view.gridSteps,t.gridColor=Editor.isDarkMode()?mxGraphView.prototype.defaultGridColor:k.view.gridColor);t.appendGraph(k,Aa,pa,ra,
I,!0,R,ua,f.selection?k.getSelectionCells():null);I=k.getCustomFonts();if(null!=t.wnd)for(ua=0;ua<I.length;ua++)pa=I[ua].name,ra=I[ua].url,Graph.isCssFontUrl(ra)?t.wnd.document.writeln('<link rel="stylesheet" href="'+mxUtils.htmlEntities(ra)+'" charset="UTF-8" type="text/css">'):(t.wnd.document.writeln('<style type="text/css">'),t.wnd.document.writeln('@font-face {\nfont-family: "'+mxUtils.htmlEntities(pa)+'";\nsrc: url("'+mxUtils.htmlEntities(ra)+'");\n}'),t.wnd.document.writeln("</style>"))}O&&
-(k.useCssTransforms=O,k.currentTranslate=X,k.currentScale=Z,k.view.translate=ba,k.view.scale=la);return t}),J=f.pagesFrom,fa=f.pagesTo,ea=!f.allPages,T=null;if(EditorUi.isElectronApp)PrintDialog.electronPrint(this,f);else{ea&&(ea=f.selection||J==B&&fa==B);if(!ea&&null!=this.pages&&this.pages.length){ea=0;B=this.pages.length-1;f.allPages||(ea=parseInt(J)-1,B=parseInt(fa)-1);for(var ca=ea;ca<=B;ca++){var ka=this.pages[ca];J=ka==this.currentPage?z:null;if(null==J){J=this.createTemporaryGraph(z.stylesheet);
-J.shapeForegroundColor=z.shapeForegroundColor;J.shapeBackgroundColor=z.shapeBackgroundColor;fa=!0;ea=!1;var ma=null,aa=null;null==ka.viewState&&null==ka.root&&this.updatePageRoot(ka);null!=ka.viewState&&(fa=ka.viewState.pageVisible,ea=ka.viewState.mathEnabled,ma=ka.viewState.background,aa=ka.viewState.backgroundImage,J.pageFormat=ka.viewState.pageFormat,J.gridSize=ka.viewState.gridSize);null!=aa&&null!=aa.originalSrc&&(aa=this.createImageForPageLink(aa.originalSrc,ka));J.background=ma;J.backgroundImage=
-null!=aa?new mxImage(aa.src,aa.width,aa.height,aa.x,aa.y):null;J.pageVisible=fa;J.mathEnabled=ea;var V=J.getGraphBounds;J.getGraphBounds=function(){var k=V.apply(this,arguments),t=this.backgroundImage;if(null!=t&&null!=t.width&&null!=t.height){var I=this.view.translate,R=this.view.scale;k=mxRectangle.fromRectangle(k);k.add(new mxRectangle((I.x+t.x)*R,(I.y+t.y)*R,t.width*R,t.height*R))}return k};var da=J.getGlobalVariable;J.getGlobalVariable=function(k){return"page"==k?ka.getName():"pagenumber"==k?
-ca+1:"pagecount"==k?null!=this.pages?this.pages.length:1:da.apply(this,arguments)};document.body.appendChild(J.container);this.updatePageRoot(ka);J.model.setRoot(ka.root)}T=P(J,T,ca!=B,ka.getId());J!=z&&J.container.parentNode.removeChild(J.container)}}else T=P(z);null==T||null==T.wnd?this.handleError({message:mxResources.get("errorUpdatingPreview")}):(T.mathEnabled&&(P=T.wnd.document,c||(T.wnd.IMMEDIATE_PRINT=!0),P.writeln('<script type="text/javascript" src="js/math-print.js">\x3c/script>')),T.closeDocument(),
+(k.useCssTransforms=O,k.currentTranslate=X,k.currentScale=Z,k.view.translate=ba,k.view.scale=ka);return t}),J=f.pagesFrom,fa=f.pagesTo,ea=!f.allPages,T=null;if(EditorUi.isElectronApp)PrintDialog.electronPrint(this,f);else{ea&&(ea=f.selection||J==B&&fa==B);if(!ea&&null!=this.pages&&this.pages.length){ea=0;B=this.pages.length-1;f.allPages||(ea=parseInt(J)-1,B=parseInt(fa)-1);for(var ca=ea;ca<=B;ca++){var ja=this.pages[ca];J=ja==this.currentPage?z:null;if(null==J){J=this.createTemporaryGraph(z.stylesheet);
+J.shapeForegroundColor=z.shapeForegroundColor;J.shapeBackgroundColor=z.shapeBackgroundColor;fa=!0;ea=!1;var ma=null,aa=null;null==ja.viewState&&null==ja.root&&this.updatePageRoot(ja);null!=ja.viewState&&(fa=ja.viewState.pageVisible,ea=ja.viewState.mathEnabled,ma=ja.viewState.background,aa=ja.viewState.backgroundImage,J.pageFormat=ja.viewState.pageFormat,J.gridSize=ja.viewState.gridSize);null!=aa&&null!=aa.originalSrc&&(aa=this.createImageForPageLink(aa.originalSrc,ja));J.background=ma;J.backgroundImage=
+null!=aa?new mxImage(aa.src,aa.width,aa.height,aa.x,aa.y):null;J.pageVisible=fa;J.mathEnabled=ea;var V=J.getGraphBounds;J.getGraphBounds=function(){var k=V.apply(this,arguments),t=this.backgroundImage;if(null!=t&&null!=t.width&&null!=t.height){var I=this.view.translate,R=this.view.scale;k=mxRectangle.fromRectangle(k);k.add(new mxRectangle((I.x+t.x)*R,(I.y+t.y)*R,t.width*R,t.height*R))}return k};var da=J.getGlobalVariable;J.getGlobalVariable=function(k){return"page"==k?ja.getName():"pagenumber"==k?
+ca+1:"pagecount"==k?null!=this.pages?this.pages.length:1:da.apply(this,arguments)};document.body.appendChild(J.container);this.updatePageRoot(ja);J.model.setRoot(ja.root)}T=P(J,T,ca!=B,ja.getId());J!=z&&J.container.parentNode.removeChild(J.container)}}else T=P(z);null==T||null==T.wnd?this.handleError({message:mxResources.get("errorUpdatingPreview")}):(T.mathEnabled&&(P=T.wnd.document,c||(T.wnd.IMMEDIATE_PRINT=!0),P.writeln('<script type="text/javascript" src="js/math-print.js">\x3c/script>')),T.closeDocument(),
Graph.rewritePageLinks(T.wnd.document,!0),T.mathEnabled||c||PrintDialog.printPreview(T));null!=A&&(z.shapeForegroundColor=G,z.shapeBackgroundColor=L,z.stylesheet=A,z.refresh());return T}};EditorUi.prototype.addFileDropHandler=function(c){if(Graph.fileSupport)for(var f=null,l=0;l<c.length;l++)mxEvent.addListener(c[l],"dragleave",function(z){null!=f&&(f.parentNode.removeChild(f),f=null);z.stopPropagation();z.preventDefault()}),mxEvent.addListener(c[l],"dragover",mxUtils.bind(this,function(z){(this.editor.graph.isEnabled()||
"1"!=urlParams.embed)&&null==f&&(!mxClient.IS_IE||10<document.documentMode&&12>document.documentMode)&&(f=this.highlightElement());z.stopPropagation();z.preventDefault()})),mxEvent.addListener(c[l],"drop",mxUtils.bind(this,function(z){null!=f&&(f.parentNode.removeChild(f),f=null);if(this.editor.graph.isEnabled()||"1"!=urlParams.embed)if(0<z.dataTransfer.files.length)this.hideDialog(),"1"==urlParams.embed?this.importFiles(z.dataTransfer.files,0,0,this.maxImageSize,null,null,null,null,!mxEvent.isControlDown(z)&&
!mxEvent.isShiftDown(z)):this.openFiles(z.dataTransfer.files,!0);else{var A=this.extractGraphModelFromEvent(z);if(null==A){var B=null!=z.dataTransfer?z.dataTransfer:z.clipboardData;null!=B&&(10==document.documentMode||11==document.documentMode?A=B.getData("Text"):(A=null,A=0<=mxUtils.indexOf(B.types,"text/uri-list")?z.dataTransfer.getData("text/uri-list"):0<=mxUtils.indexOf(B.types,"text/html")?B.getData("text/html"):null,null!=A&&0<A.length?(B=document.createElement("div"),B.innerHTML=Graph.sanitizeHtml(A),
@@ -3899,34 +3897,34 @@ EditorUi.prototype.getPublicUrl=function(c,f){null!=c?this.spinner.spin(document
function(c){try{var f=this.editor.graph;f.isEditing()&&f.stopEditing(!f.isInvokesStopCellEditing());var l=window.opener||window.parent;if(this.editor.modified){var z=f.background;if(null==z||z==mxConstants.NONE)z=this.embedExportBackground;this.getEmbeddedSvg(this.getFileData(!0,null,null,null,null,null,null,null,null,!1),f,null,!0,mxUtils.bind(this,function(A){l.postMessage(JSON.stringify({event:"export",point:this.embedExitPoint,exit:null!=c?!c:!0,data:Editor.createSvgDataUri(A)}),"*")}),null,null,
!0,z,1,this.embedExportBorder)}else c||l.postMessage(JSON.stringify({event:"exit",point:this.embedExitPoint}),"*");c||(this.diagramContainer.removeAttribute("data-bounds"),Editor.inlineFullscreen=!1,f.model.clear(),this.editor.undoManager.clear(),this.setBackgroundImage(null),this.editor.modified=!1,"1"!=urlParams.embed&&this.fireEvent(new mxEventObject("editInlineStop")))}catch(A){c||this.handleError(A)}};EditorUi.prototype.installMessageHandler=function(c){var f=null,l=!1,z=!1,A=null,B=mxUtils.bind(this,
function(P,J){this.editor.modified&&"0"!=urlParams.modified?null!=urlParams.modified&&this.editor.setStatus(mxUtils.htmlEntities(mxResources.get(urlParams.modified))):this.editor.setStatus("")});this.editor.graph.model.addListener(mxEvent.CHANGE,B);mxEvent.addListener(window,"message",mxUtils.bind(this,function(P){if(P.source==(window.opener||window.parent)){var J=P.data,fa=null,ea=mxUtils.bind(this,function(va){if(null!=va&&"function"===typeof va.charAt&&"<"!=va.charAt(0))try{Editor.isPngDataUrl(va)?
-va=Editor.extractGraphModelFromPng(va):"data:image/svg+xml;base64,"==va.substring(0,26)?va=atob(va.substring(26)):"data:image/svg+xml;utf8,"==va.substring(0,24)&&(va=va.substring(24)),null!=va&&(""==va.trim()?va=null:"%"==va.charAt(0)?va=decodeURIComponent(va):"<"!=va.charAt(0)&&(va=Graph.decompress(va)))}catch(Da){}return va});if("json"==urlParams.proto){var T=!1;try{J=JSON.parse(J),EditorUi.debug("EditorUi.installMessageHandler",[this],"evt",[P],"data",[J])}catch(va){J=null}try{if(null==J)return;
+va=Editor.extractGraphModelFromPng(va):"data:image/svg+xml;base64,"==va.substring(0,26)?va=atob(va.substring(26)):"data:image/svg+xml;utf8,"==va.substring(0,24)&&(va=va.substring(24)),null!=va&&(""==va.trim()?va=null:"%"==va.charAt(0)?va=decodeURIComponent(va):"<"!=va.charAt(0)&&(va=Graph.decompress(va)))}catch(Ca){}return va});if("json"==urlParams.proto){var T=!1;try{J=JSON.parse(J),EditorUi.debug("EditorUi.installMessageHandler",[this],"evt",[P],"data",[J])}catch(va){J=null}try{if(null==J)return;
if("dialog"==J.action){this.showError(null!=J.titleKey?mxResources.get(J.titleKey):J.title,null!=J.messageKey?mxResources.get(J.messageKey):mxUtils.htmlEntities(J.message),null!=J.buttonKey?mxResources.get(J.buttonKey):J.button);null!=J.modified&&(this.editor.modified=J.modified);return}if("layout"==J.action){this.executeLayouts(this.editor.graph.createLayouts(J.layouts));return}if("prompt"==J.action){this.spinner.stop();var ca=new FilenameDialog(this,J.defaultValue||"",null!=J.okKey?mxResources.get(J.okKey):
-J.ok,function(va){null!=va?G.postMessage(JSON.stringify({event:"prompt",value:va,message:J}),"*"):G.postMessage(JSON.stringify({event:"prompt-cancel",message:J}),"*")},null!=J.titleKey?mxResources.get(J.titleKey):J.title,null,null,null,null,function(){G.postMessage(JSON.stringify({event:"prompt-cancel",message:J}),"*")});this.showDialog(ca.container,300,80,!0,!1);ca.init();return}if("draft"==J.action){var ka=ea(J.xml);this.spinner.stop();ca=new DraftDialog(this,mxResources.get("draftFound",[J.name||
-this.defaultFilename]),ka,mxUtils.bind(this,function(){this.hideDialog();G.postMessage(JSON.stringify({event:"draft",result:"edit",message:J}),"*")}),mxUtils.bind(this,function(){this.hideDialog();G.postMessage(JSON.stringify({event:"draft",result:"discard",message:J}),"*")}),J.editKey?mxResources.get(J.editKey):null,J.discardKey?mxResources.get(J.discardKey):null,J.ignore?mxUtils.bind(this,function(){this.hideDialog();G.postMessage(JSON.stringify({event:"draft",result:"ignore",message:J}),"*")}):
-null);this.showDialog(ca.container,640,480,!0,!1,mxUtils.bind(this,function(va){va&&this.actions.get("exit").funct()}));try{ca.init()}catch(va){G.postMessage(JSON.stringify({event:"draft",error:va.toString(),message:J}),"*")}return}if("template"==J.action){this.spinner.stop();var ma=1==J.enableRecent,aa=1==J.enableSearch,V=1==J.enableCustomTemp;ca=new NewDialog(this,!1,J.templatesOnly?!1:null!=J.callback,mxUtils.bind(this,function(va,Da,Ha,La){va=va||this.emptyDiagramXml;null!=J.callback?G.postMessage(JSON.stringify({event:"template",
-xml:va,blank:va==this.emptyDiagramXml,name:Da,tempUrl:Ha,libs:La,builtIn:!0,message:J}),"*"):(c(va,P,va!=this.emptyDiagramXml,J.toSketch),this.editor.modified||this.editor.setStatus(""))}),null,null,null,null,null,null,null,ma?mxUtils.bind(this,function(va){this.remoteInvoke("getRecentDiagrams",[null],null,va,function(){va(null,"Network Error!")})}):null,aa?mxUtils.bind(this,function(va,Da){this.remoteInvoke("searchDiagrams",[va,null],null,Da,function(){Da(null,"Network Error!")})}):null,mxUtils.bind(this,
-function(va,Da,Ha){G.postMessage(JSON.stringify({event:"template",docUrl:va,info:Da,name:Ha}),"*")}),null,null,V?mxUtils.bind(this,function(va){this.remoteInvoke("getCustomTemplates",null,null,va,function(){va({},0)})}):null,1==J.withoutType);this.showDialog(ca.container,620,460,!0,!1,mxUtils.bind(this,function(va){null!=this.sidebar&&this.sidebar.hideTooltip();va&&this.actions.get("exit").funct()}));ca.init();return}if("textContent"==J.action){var da=this.getDiagramTextContent();G.postMessage(JSON.stringify({event:"textContent",
+J.ok,function(va){null!=va?G.postMessage(JSON.stringify({event:"prompt",value:va,message:J}),"*"):G.postMessage(JSON.stringify({event:"prompt-cancel",message:J}),"*")},null!=J.titleKey?mxResources.get(J.titleKey):J.title,null,null,null,null,function(){G.postMessage(JSON.stringify({event:"prompt-cancel",message:J}),"*")});this.showDialog(ca.container,300,80,!0,!1);ca.init();return}if("draft"==J.action){var ja=ea(J.xml);this.spinner.stop();ca=new DraftDialog(this,mxResources.get("draftFound",[J.name||
+this.defaultFilename]),ja,mxUtils.bind(this,function(){this.hideDialog();G.postMessage(JSON.stringify({event:"draft",result:"edit",message:J}),"*")}),mxUtils.bind(this,function(){this.hideDialog();G.postMessage(JSON.stringify({event:"draft",result:"discard",message:J}),"*")}),J.editKey?mxResources.get(J.editKey):null,J.discardKey?mxResources.get(J.discardKey):null,J.ignore?mxUtils.bind(this,function(){this.hideDialog();G.postMessage(JSON.stringify({event:"draft",result:"ignore",message:J}),"*")}):
+null);this.showDialog(ca.container,640,480,!0,!1,mxUtils.bind(this,function(va){va&&this.actions.get("exit").funct()}));try{ca.init()}catch(va){G.postMessage(JSON.stringify({event:"draft",error:va.toString(),message:J}),"*")}return}if("template"==J.action){this.spinner.stop();var ma=1==J.enableRecent,aa=1==J.enableSearch,V=1==J.enableCustomTemp;ca=new NewDialog(this,!1,J.templatesOnly?!1:null!=J.callback,mxUtils.bind(this,function(va,Ca,Ga,La){va=va||this.emptyDiagramXml;null!=J.callback?G.postMessage(JSON.stringify({event:"template",
+xml:va,blank:va==this.emptyDiagramXml,name:Ca,tempUrl:Ga,libs:La,builtIn:!0,message:J}),"*"):(c(va,P,va!=this.emptyDiagramXml,J.toSketch),this.editor.modified||this.editor.setStatus(""))}),null,null,null,null,null,null,null,ma?mxUtils.bind(this,function(va){this.remoteInvoke("getRecentDiagrams",[null],null,va,function(){va(null,"Network Error!")})}):null,aa?mxUtils.bind(this,function(va,Ca){this.remoteInvoke("searchDiagrams",[va,null],null,Ca,function(){Ca(null,"Network Error!")})}):null,mxUtils.bind(this,
+function(va,Ca,Ga){G.postMessage(JSON.stringify({event:"template",docUrl:va,info:Ca,name:Ga}),"*")}),null,null,V?mxUtils.bind(this,function(va){this.remoteInvoke("getCustomTemplates",null,null,va,function(){va({},0)})}):null,1==J.withoutType);this.showDialog(ca.container,620,460,!0,!1,mxUtils.bind(this,function(va){null!=this.sidebar&&this.sidebar.hideTooltip();va&&this.actions.get("exit").funct()}));ca.init();return}if("textContent"==J.action){var da=this.getDiagramTextContent();G.postMessage(JSON.stringify({event:"textContent",
data:da,message:J}),"*");return}if("status"==J.action){null!=J.messageKey?this.editor.setStatus(mxUtils.htmlEntities(mxResources.get(J.messageKey))):null!=J.message&&this.editor.setStatus(mxUtils.htmlEntities(J.message));null!=J.modified&&(this.editor.modified=J.modified);return}if("spinner"==J.action){var k=null!=J.messageKey?mxResources.get(J.messageKey):J.message;null==J.show||J.show?this.spinner.spin(document.body,k):this.spinner.stop();return}if("exit"==J.action){this.actions.get("exit").funct();
return}if("viewport"==J.action){null!=J.viewport&&(this.embedViewport=J.viewport,this.editor.graph.refresh(),this.fireEvent(new mxEventObject("embedViewportChanged")));return}if("fullscreenChanged"==J.action){ca=null;try{var t=this.diagramContainer.getAttribute("data-scrollState");null!=t&&(this.diagramContainer.removeAttribute("data-scrollState"),ca=JSON.parse(t))}catch(va){}Editor.inlineFullscreen=J.value;this.fireEvent(new mxEventObject("inlineFullscreenChanged"));null!=ca&&this.restoreScrollState(ca);
-return}if("snapshot"==J.action){this.sendEmbeddedSvgExport(!0);return}if("export"==J.action){if("png"==J.format||"xmlpng"==J.format){if(null==J.spin&&null==J.spinKey||this.spinner.spin(document.body,null!=J.spinKey?mxResources.get(J.spinKey):J.spin)){var I=null!=J.xml?J.xml:this.getFileData(!0);this.editor.graph.setEnabled(!1);var R=this.editor.graph,O=mxUtils.bind(this,function(va,Da){if(J.withSvg)J.withSvg=!1,this.getEmbeddedSvg(I,this.editor.graph,null,!0,function(La){O(va,La)},null,null,J.embedImages,
-this.editor.graph.background,J.scale,J.border,J.shadow);else{this.editor.graph.setEnabled(!0);this.spinner.stop();var Ha=this.createLoadMessage("export");Ha.format=J.format;Ha.message=J;Ha.data=va;Ha.svg=Da;Ha.xml=I;G.postMessage(JSON.stringify(Ha),"*")}}),X=mxUtils.bind(this,function(va){null==va&&(va=Editor.blankImage);"xmlpng"==J.format&&(va=Editor.writeGraphModelToPng(va,"tEXt","mxfile",encodeURIComponent(I)));R!=this.editor.graph&&R.container.parentNode.removeChild(R.container);O(va)}),Z=J.pageId||
-(null!=this.pages?J.currentPage?this.currentPage.getId():this.pages[0].getId():null);if(this.isExportToCanvas()){var ba=mxUtils.bind(this,function(){if(null!=this.pages&&this.currentPage.getId()!=Z){var va=R.getGlobalVariable;R=this.createTemporaryGraph(R.getStylesheet());for(var Da,Ha=0;Ha<this.pages.length;Ha++)if(this.pages[Ha].getId()==Z){Da=this.updatePageRoot(this.pages[Ha]);break}null==Da&&(Da=this.currentPage);R.getGlobalVariable=function(Ra){return"page"==Ra?Da.getName():"pagenumber"==Ra?
-1:va.apply(this,arguments)};document.body.appendChild(R.container);R.model.setRoot(Da.root)}if(null!=J.layerIds){var La=R.model,Ea=La.getChildCells(La.getRoot()),za={};for(Ha=0;Ha<J.layerIds.length;Ha++)za[J.layerIds[Ha]]=!0;for(Ha=0;Ha<Ea.length;Ha++)La.setVisible(Ea[Ha],za[Ea[Ha].id]||!1)}Ha=null;J.keepTheme&&(Ha=Editor.cssDarkMode||Editor.isDarkMode()?"dark":"light");this.editor.exportToCanvas(mxUtils.bind(this,function(Ra){X(Ra.toDataURL("image/png"))}),J.width,null,J.background,mxUtils.bind(this,
-function(){X(null)}),null,null,J.scale,J.transparent,J.shadow,null,R,J.border,null,J.grid,Ha)});null!=J.xml&&0<J.xml.length&&(l=!0,this.setFileData(I),l=!1);ba()}else(new mxXmlRequest(EXPORT_URL,"format=png&embedXml="+("xmlpng"==J.format?"1":"0")+(null!=Z?"&pageId="+Z:"")+(null!=J.layerIds&&0<J.layerIds.length?"&extras="+encodeURIComponent(JSON.stringify({layerIds:J.layerIds})):"")+(null!=J.scale?"&scale="+J.scale:"")+"&base64=1&xml="+encodeURIComponent(I))).send(mxUtils.bind(this,function(va){200<=
-va.getStatus()&&299>=va.getStatus()?O("data:image/png;base64,"+va.getText()):X(null)}),mxUtils.bind(this,function(){X(null)}))}}else if(ba=mxUtils.bind(this,function(){var va=this.createLoadMessage("export");va.message=J;if("html2"==J.format||"html"==J.format&&("0"!=urlParams.pages||null!=this.pages&&1<this.pages.length)){var Da=this.getXmlFileData();va.xml=mxUtils.getXml(Da);va.data=this.getFileData(null,null,!0,null,null,null,Da);va.format=J.format}else if("html"==J.format)Da=this.editor.getGraphXml(),
-va.data=this.getHtml(Da,this.editor.graph),va.xml=mxUtils.getXml(Da),va.format=J.format;else{mxSvgCanvas2D.prototype.foAltText=null;Da=null!=J.background?J.background:this.editor.graph.background;Da==mxConstants.NONE&&(Da=null);va.xml=this.getFileData(!0,null,null,null,null,null,null,null,null,!1);va.format="svg";var Ha=mxUtils.bind(this,function(Ea){this.editor.graph.setEnabled(!0);this.spinner.stop();va.data=Editor.createSvgDataUri(Ea);G.postMessage(JSON.stringify(va),"*")}),La=null;J.keepTheme&&
-(La=Editor.cssDarkMode||Editor.isDarkMode()?"dark":"light");if("xmlsvg"==J.format)(null==J.spin&&null==J.spinKey||this.spinner.spin(document.body,null!=J.spinKey?mxResources.get(J.spinKey):J.spin))&&this.getEmbeddedSvg(va.xml,this.editor.graph,null,!0,Ha,null,null,J.embedImages,Da,J.scale,J.border,J.shadow,La);else if(null==J.spin&&null==J.spinKey||this.spinner.spin(document.body,null!=J.spinKey?mxResources.get(J.spinKey):J.spin))this.editor.graph.setEnabled(!1),Da=this.editor.graph.getSvg(Da,J.scale,
-J.border,null,null,null,null,null,null,this.editor.graph.shadowVisible||J.shadow,null,La),(this.editor.graph.shadowVisible||J.shadow)&&this.editor.graph.addSvgShadow(Da),this.embedFonts(Da,mxUtils.bind(this,function(Ea){J.embedImages||null==J.embedImages?this.editor.convertImages(Ea,mxUtils.bind(this,function(za){Ha(mxUtils.getXml(za))})):Ha(mxUtils.getXml(Ea))}));return}G.postMessage(JSON.stringify(va),"*")}),null!=J.xml&&0<J.xml.length){if(this.editor.graph.mathEnabled){var la=Editor.onMathJaxDone;
-Editor.onMathJaxDone=function(){la.apply(this,arguments);ba()}}l=!0;this.setFileData(J.xml);l=!1;this.editor.graph.mathEnabled||ba()}else ba();return}if("load"==J.action){T=J.toSketch;z=1==J.autosave;this.hideDialog();null!=J.modified&&null==urlParams.modified&&(urlParams.modified=J.modified);null!=J.saveAndExit&&null==urlParams.saveAndExit&&(urlParams.saveAndExit=J.saveAndExit);if("1"==urlParams.saveAndExit||"1"==urlParams.publishClose)if(this.actions.get("save").shortcut=null,!this.editor.chromeless||
+return}if("snapshot"==J.action){this.sendEmbeddedSvgExport(!0);return}if("export"==J.action){if("png"==J.format||"xmlpng"==J.format){if(null==J.spin&&null==J.spinKey||this.spinner.spin(document.body,null!=J.spinKey?mxResources.get(J.spinKey):J.spin)){var I=null!=J.xml?J.xml:this.getFileData(!0);this.editor.graph.setEnabled(!1);var R=this.editor.graph,O=mxUtils.bind(this,function(va,Ca){if(J.withSvg)J.withSvg=!1,this.getEmbeddedSvg(I,this.editor.graph,null,!0,function(La){O(va,La)},null,null,J.embedImages,
+this.editor.graph.background,J.scale,J.border,J.shadow);else{this.editor.graph.setEnabled(!0);this.spinner.stop();var Ga=this.createLoadMessage("export");Ga.format=J.format;Ga.message=J;Ga.data=va;Ga.svg=Ca;Ga.xml=I;G.postMessage(JSON.stringify(Ga),"*")}}),X=mxUtils.bind(this,function(va){null==va&&(va=Editor.blankImage);"xmlpng"==J.format&&(va=Editor.writeGraphModelToPng(va,"tEXt","mxfile",encodeURIComponent(I)));R!=this.editor.graph&&R.container.parentNode.removeChild(R.container);O(va)}),Z=J.pageId||
+(null!=this.pages?J.currentPage?this.currentPage.getId():this.pages[0].getId():null);if(this.isExportToCanvas()){var ba=mxUtils.bind(this,function(){if(null!=this.pages&&this.currentPage.getId()!=Z){var va=R.getGlobalVariable;R=this.createTemporaryGraph(R.getStylesheet());for(var Ca,Ga=0;Ga<this.pages.length;Ga++)if(this.pages[Ga].getId()==Z){Ca=this.updatePageRoot(this.pages[Ga]);break}null==Ca&&(Ca=this.currentPage);R.getGlobalVariable=function(Ra){return"page"==Ra?Ca.getName():"pagenumber"==Ra?
+1:va.apply(this,arguments)};document.body.appendChild(R.container);R.model.setRoot(Ca.root)}if(null!=J.layerIds){var La=R.model,Da=La.getChildCells(La.getRoot()),za={};for(Ga=0;Ga<J.layerIds.length;Ga++)za[J.layerIds[Ga]]=!0;for(Ga=0;Ga<Da.length;Ga++)La.setVisible(Da[Ga],za[Da[Ga].id]||!1)}Ga=null;J.keepTheme&&(Ga=Editor.cssDarkMode||Editor.isDarkMode()?"dark":"light");this.editor.exportToCanvas(mxUtils.bind(this,function(Ra){X(Ra.toDataURL("image/png"))}),J.width,null,J.background,mxUtils.bind(this,
+function(){X(null)}),null,null,J.scale,J.transparent,J.shadow,null,R,J.border,null,J.grid,Ga)});null!=J.xml&&0<J.xml.length&&(l=!0,this.setFileData(I),l=!1);ba()}else(new mxXmlRequest(EXPORT_URL,"format=png&embedXml="+("xmlpng"==J.format?"1":"0")+(null!=Z?"&pageId="+Z:"")+(null!=J.layerIds&&0<J.layerIds.length?"&extras="+encodeURIComponent(JSON.stringify({layerIds:J.layerIds})):"")+(null!=J.scale?"&scale="+J.scale:"")+"&base64=1&xml="+encodeURIComponent(I))).send(mxUtils.bind(this,function(va){200<=
+va.getStatus()&&299>=va.getStatus()?O("data:image/png;base64,"+va.getText()):X(null)}),mxUtils.bind(this,function(){X(null)}))}}else if(ba=mxUtils.bind(this,function(){var va=this.createLoadMessage("export");va.message=J;if("html2"==J.format||"html"==J.format&&("0"!=urlParams.pages||null!=this.pages&&1<this.pages.length)){var Ca=this.getXmlFileData();va.xml=mxUtils.getXml(Ca);va.data=this.getFileData(null,null,!0,null,null,null,Ca);va.format=J.format}else if("html"==J.format)Ca=this.editor.getGraphXml(),
+va.data=this.getHtml(Ca,this.editor.graph),va.xml=mxUtils.getXml(Ca),va.format=J.format;else{mxSvgCanvas2D.prototype.foAltText=null;Ca=null!=J.background?J.background:this.editor.graph.background;Ca==mxConstants.NONE&&(Ca=null);va.xml=this.getFileData(!0,null,null,null,null,null,null,null,null,!1);va.format="svg";var Ga=mxUtils.bind(this,function(Da){this.editor.graph.setEnabled(!0);this.spinner.stop();va.data=Editor.createSvgDataUri(Da);G.postMessage(JSON.stringify(va),"*")}),La=null;J.keepTheme&&
+(La=Editor.cssDarkMode||Editor.isDarkMode()?"dark":"light");if("xmlsvg"==J.format)(null==J.spin&&null==J.spinKey||this.spinner.spin(document.body,null!=J.spinKey?mxResources.get(J.spinKey):J.spin))&&this.getEmbeddedSvg(va.xml,this.editor.graph,null,!0,Ga,null,null,J.embedImages,Ca,J.scale,J.border,J.shadow,La);else if(null==J.spin&&null==J.spinKey||this.spinner.spin(document.body,null!=J.spinKey?mxResources.get(J.spinKey):J.spin))this.editor.graph.setEnabled(!1),Ca=this.editor.graph.getSvg(Ca,J.scale,
+J.border,null,null,null,null,null,null,this.editor.graph.shadowVisible||J.shadow,null,La),(this.editor.graph.shadowVisible||J.shadow)&&this.editor.graph.addSvgShadow(Ca),this.embedFonts(Ca,mxUtils.bind(this,function(Da){J.embedImages||null==J.embedImages?this.editor.convertImages(Da,mxUtils.bind(this,function(za){Ga(mxUtils.getXml(za))})):Ga(mxUtils.getXml(Da))}));return}G.postMessage(JSON.stringify(va),"*")}),null!=J.xml&&0<J.xml.length){if(this.editor.graph.mathEnabled){var ka=Editor.onMathJaxDone;
+Editor.onMathJaxDone=function(){ka.apply(this,arguments);ba()}}l=!0;this.setFileData(J.xml);l=!1;this.editor.graph.mathEnabled||ba()}else ba();return}if("load"==J.action){T=J.toSketch;z=1==J.autosave;this.hideDialog();null!=J.modified&&null==urlParams.modified&&(urlParams.modified=J.modified);null!=J.saveAndExit&&null==urlParams.saveAndExit&&(urlParams.saveAndExit=J.saveAndExit);if("1"==urlParams.saveAndExit||"1"==urlParams.publishClose)if(this.actions.get("save").shortcut=null,!this.editor.chromeless||
this.editor.editable)this.keyHandler.bindAction(83,!0,"saveAndExit"),"1"!=urlParams.noSaveBtn&&(this.actions.get("save").shortcut=Editor.ctrlKey+"+Shift+S",this.keyHandler.bindAction(83,!0,"save",!0));null!=J.noSaveBtn&&null==urlParams.noSaveBtn&&(urlParams.noSaveBtn=J.noSaveBtn);if(null!=J.rough){var qa=Editor.sketchMode;this.doSetSketchMode(J.rough);qa!=Editor.sketchMode&&this.fireEvent(new mxEventObject("sketchModeChanged"))}null!=J.dark&&this.setDarkMode(J.dark);null!=J.border&&(this.embedExportBorder=
J.border);null!=J.background&&(this.embedExportBackground=J.background);null!=J.viewport&&(this.embedViewport=J.viewport);this.embedExitPoint=null;if(null!=J.rect){var pa=this.embedExportBorder;this.diagramContainer.style.left=Math.max(60,J.rect.left)+"px";this.diagramContainer.style.top=Math.max(40,J.rect.top)+"px";this.minInlineWidth=J.minWidth;this.minInlineHeight=J.minHeight;this.diagramContainer.style.border="2px solid #295fcc";this.diagramContainer.style.bottom="";this.diagramContainer.style.right=
-"";var ra=J.maxFitScale,ua=J.rect.width+2*pa,Ba=J.rect.height+2*pa;fa=mxUtils.bind(this,function(){var va=mxUtils.getDocumentSize();ua=Math.min(null!=this.minInlineWidth?Math.max(this.minInlineWidth,ua):ua,va.width-80);va=Math.min(null!=this.minInlineHeight?Math.max(this.minInlineHeight,Ba):Ba,va.height-80);this.diagramContainer.style.width=ua+"px";this.diagramContainer.style.height=va+"px";var Da=this.editor.graph;va=Da.maxFitScale;Da.maxFitScale=ra;Da.fit(2*pa,null,null,null,null,null,Ba);this.setPageVisible(!1);
-if(null!=this.minInlineWidth&&Da.getGraphBounds().width<this.minInlineWidth){var Ha=Da.container.scrollTop;this.resetScrollbars();Da.container.scrollTop=Ha}Da.maxFitScale=va;Da.container.scrollTop-=pa;Da.container.scrollLeft-=pa;window.setTimeout(mxUtils.bind(this,function(){this.fireEvent(new mxEventObject("editInlineStart","data",[J]));Da.container.focus();null!=this.formatWindow&&null!=this.formatWindow.window&&this.formatWindow.window.isVisible()&&(this.formatWindow.window.div.style.top=Da.container.style.top);
-var La=Da.getGraphBounds();Da.container.clientWidth>La.width+2*pa&&(Da.container.scrollLeft=La.x+(La.width+pa-Da.container.clientWidth)/2)}),10)})}null!=J.noExitBtn&&null==urlParams.noExitBtn&&(urlParams.noExitBtn=J.noExitBtn);null!=J.title&&null!=this.buttonContainer&&(ka=this.createStatusDiv(""),mxUtils.write(ka,J.title),null!=this.embedFilenameSpan&&this.embedFilenameSpan.parentNode.removeChild(this.embedFilenameSpan),this.buttonContainer.appendChild(ka),this.embedFilenameSpan=ka);try{J.libs&&
-this.sidebar.showEntries(J.libs)}catch(va){}J=null!=J.xmlpng?this.extractGraphModelFromPng(J.xmlpng):null!=J.descriptor?J.descriptor:J.xml}else{if("merge"==J.action){var ya=this.getCurrentFile();null!=ya&&(ka=ea(J.xml),null!=ka&&""!=ka&&ya.mergeFile(new LocalFile(this,ka),function(){G.postMessage(JSON.stringify({event:"merge",message:J}),"*")},function(va){G.postMessage(JSON.stringify({event:"merge",message:J,error:va}),"*")}))}else"remoteInvokeReady"==J.action?this.handleRemoteInvokeReady(G):"remoteInvoke"==
-J.action?this.handleRemoteInvoke(J,P.origin):"remoteInvokeResponse"==J.action?this.handleRemoteInvokeResponse(J):G.postMessage(JSON.stringify({error:"unknownMessage",data:JSON.stringify(J)}),"*");return}}catch(va){this.handleError(va)}}var Aa=mxUtils.bind(this,function(){return"0"!=urlParams.pages||null!=this.pages&&1<this.pages.length?this.getFileData(!0):mxUtils.getXml(this.editor.getGraphXml())}),Na=mxUtils.bind(this,function(va,Da){l=!0;try{c(va,Da,null,T)}catch(Ha){this.handleError(Ha)}l=!1;
-null!=urlParams.modified&&this.editor.setStatus("");A=Aa();z&&null==f&&(f=mxUtils.bind(this,function(Ha,La){Ha=Aa();Ha==A||l||(La=this.createLoadMessage("autosave"),La.xml=Ha,(window.opener||window.parent).postMessage(JSON.stringify(La),"*"));A=Ha}),this.editor.graph.model.addListener(mxEvent.CHANGE,f),this.editor.graph.addListener("gridSizeChanged",f),this.editor.graph.addListener("shadowVisibleChanged",f),this.addListener("pageFormatChanged",f),this.addListener("pageScaleChanged",f),this.addListener("backgroundColorChanged",
-f),this.addListener("backgroundImageChanged",f),this.addListener("foldingEnabledChanged",f),this.addListener("mathEnabledChanged",f),this.addListener("gridEnabledChanged",f),this.addListener("guidesEnabledChanged",f),this.addListener("pageViewChanged",f));if("1"==urlParams.returnbounds||"json"==urlParams.proto)Da=this.createLoadMessage("load"),Da.xml=va,G.postMessage(JSON.stringify(Da),"*");null!=fa&&fa()});null!=J&&"function"===typeof J.substring&&"data:application/vnd.visio;base64,"==J.substring(0,
+"";var ra=J.maxFitScale,ua=J.rect.width+2*pa,Ba=J.rect.height+2*pa;fa=mxUtils.bind(this,function(){var va=mxUtils.getDocumentSize();ua=Math.min(null!=this.minInlineWidth?Math.max(this.minInlineWidth,ua):ua,va.width-80);va=Math.min(null!=this.minInlineHeight?Math.max(this.minInlineHeight,Ba):Ba,va.height-80);this.diagramContainer.style.width=ua+"px";this.diagramContainer.style.height=va+"px";var Ca=this.editor.graph;va=Ca.maxFitScale;Ca.maxFitScale=ra;Ca.fit(2*pa,null,null,null,null,null,Ba);this.setPageVisible(!1);
+if(null!=this.minInlineWidth&&Ca.getGraphBounds().width<this.minInlineWidth){var Ga=Ca.container.scrollTop;this.resetScrollbars();Ca.container.scrollTop=Ga}Ca.maxFitScale=va;Ca.container.scrollTop-=pa;Ca.container.scrollLeft-=pa;window.setTimeout(mxUtils.bind(this,function(){this.fireEvent(new mxEventObject("editInlineStart","data",[J]));Ca.container.focus();null!=this.formatWindow&&null!=this.formatWindow.window&&this.formatWindow.window.isVisible()&&(this.formatWindow.window.div.style.top=Ca.container.style.top);
+var La=Ca.getGraphBounds();Ca.container.clientWidth>La.width+2*pa&&(Ca.container.scrollLeft=La.x+(La.width+pa-Ca.container.clientWidth)/2)}),10)})}null!=J.noExitBtn&&null==urlParams.noExitBtn&&(urlParams.noExitBtn=J.noExitBtn);null!=J.title&&null!=this.buttonContainer&&(ja=this.createStatusDiv(""),mxUtils.write(ja,J.title),null!=this.embedFilenameSpan&&this.embedFilenameSpan.parentNode.removeChild(this.embedFilenameSpan),this.buttonContainer.appendChild(ja),this.embedFilenameSpan=ja);try{J.libs&&
+this.sidebar.showEntries(J.libs)}catch(va){}J=null!=J.xmlpng?this.extractGraphModelFromPng(J.xmlpng):null!=J.descriptor?J.descriptor:J.xml}else{if("merge"==J.action){var xa=this.getCurrentFile();null!=xa&&(ja=ea(J.xml),null!=ja&&""!=ja&&xa.mergeFile(new LocalFile(this,ja),function(){G.postMessage(JSON.stringify({event:"merge",message:J}),"*")},function(va){G.postMessage(JSON.stringify({event:"merge",message:J,error:va}),"*")}))}else"remoteInvokeReady"==J.action?this.handleRemoteInvokeReady(G):"remoteInvoke"==
+J.action?this.handleRemoteInvoke(J,P.origin):"remoteInvokeResponse"==J.action?this.handleRemoteInvokeResponse(J):G.postMessage(JSON.stringify({error:"unknownMessage",data:JSON.stringify(J)}),"*");return}}catch(va){this.handleError(va)}}var Aa=mxUtils.bind(this,function(){return"0"!=urlParams.pages||null!=this.pages&&1<this.pages.length?this.getFileData(!0):mxUtils.getXml(this.editor.getGraphXml())}),Na=mxUtils.bind(this,function(va,Ca){l=!0;try{c(va,Ca,null,T)}catch(Ga){this.handleError(Ga)}l=!1;
+null!=urlParams.modified&&this.editor.setStatus("");A=Aa();z&&null==f&&(f=mxUtils.bind(this,function(Ga,La){Ga=Aa();Ga==A||l||(La=this.createLoadMessage("autosave"),La.xml=Ga,(window.opener||window.parent).postMessage(JSON.stringify(La),"*"));A=Ga}),this.editor.graph.model.addListener(mxEvent.CHANGE,f),this.editor.graph.addListener("gridSizeChanged",f),this.editor.graph.addListener("shadowVisibleChanged",f),this.addListener("pageFormatChanged",f),this.addListener("pageScaleChanged",f),this.addListener("backgroundColorChanged",
+f),this.addListener("backgroundImageChanged",f),this.addListener("foldingEnabledChanged",f),this.addListener("mathEnabledChanged",f),this.addListener("gridEnabledChanged",f),this.addListener("guidesEnabledChanged",f),this.addListener("pageViewChanged",f));if("1"==urlParams.returnbounds||"json"==urlParams.proto)Ca=this.createLoadMessage("load"),Ca.xml=va,G.postMessage(JSON.stringify(Ca),"*");null!=fa&&fa()});null!=J&&"function"===typeof J.substring&&"data:application/vnd.visio;base64,"==J.substring(0,
34)?(ea="0M8R4KGxGuE"==J.substring(34,45)?"raw.vsd":"raw.vsdx",this.importVisio(this.base64ToBlob(J.substring(J.indexOf(",")+1)),function(va){Na(va,P)},mxUtils.bind(this,function(va){this.handleError(va)}),ea)):null!=J&&"function"===typeof J.substring&&(new XMLHttpRequest).upload&&this.isRemoteFileFormat(J,"")?this.isOffline()?this.showError(mxResources.get("error"),mxResources.get("notInOffline")):this.parseFileData(J,mxUtils.bind(this,function(va){4==va.readyState&&(200<=va.status&&299>=va.status&&
"<mxGraphModel"==va.responseText.substring(0,13)?Na(va.responseText,P):this.handleError({message:413==va.status?mxResources.get("diagramTooLarge"):mxResources.get("unknownError")}))}),""):null!=J&&"function"===typeof J.substring&&this.isLucidChartData(J)?this.convertLucidChart(J,mxUtils.bind(this,function(va){Na(va)}),mxUtils.bind(this,function(va){this.handleError(va)})):null==J||"object"!==typeof J||null==J.format||null==J.data&&null==J.url?(J=ea(J),Na(J,P)):this.loadDescriptor(J,mxUtils.bind(this,
function(va){Na(Aa(),P)}),mxUtils.bind(this,function(va){this.handleError(va,mxResources.get("errorLoadingFile"))}))}}));var G=window.opener||window.parent;B="json"==urlParams.proto?JSON.stringify({event:"init"}):urlParams.ready||"ready";G.postMessage(B,"*");if("json"==urlParams.proto){var L=this.editor.graph.openLink;this.editor.graph.openLink=function(P,J,fa){L.apply(this,arguments);G.postMessage(JSON.stringify({event:"openLink",href:P,target:J,allowOpener:fa}),"*")}}};EditorUi.prototype.createEmbedButton=
@@ -3938,24 +3936,24 @@ mxResources.get("csv")+":",Editor.defaultCsvValue,mxUtils.bind(this,function(c){
c,mxUtils.bind(this,function(l){if(0<l.length)try{var z=JSON.parse(l);this.executeLayouts(this.editor.graph.createLayouts(z));this.customLayoutConfig=z;this.hideDialog()}catch(A){this.handleError(A)}}),null,null,null,null,mxUtils.bind(this,function(l,z){var A=mxUtils.button(mxResources.get("copy"),mxUtils.bind(this,function(){try{var B=z.value;z.value=JSON.stringify(JSON.parse(B));z.focus();mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?z.select():document.execCommand("selectAll",!1,null);
document.execCommand("copy");this.alert(mxResources.get("copiedToClipboard"));z.value=B}catch(G){this.handleError(G)}}));A.setAttribute("title","copy");A.className="geBtn";l.appendChild(A)}),!0,null,null,"https://www.drawio.com/doc/faq/apply-layouts");this.showDialog(f.container,620,460,!0,!0);f.init()}))};EditorUi.prototype.loadOrgChartLayouts=function(c){this.createTimeout(null,mxUtils.bind(this,function(f){var l=mxUtils.bind(this,function(){this.loadingOrgChart=!1;f.clear()&&(Graph.layoutNames.push("mxOrgChartLayout"),
this.spinner.stop(),c())}),z=mxUtils.bind(this,function(A){this.loadingOrgChart=!1;f.clear()&&this.handleError(A)});"undefined"!==typeof mxOrgChartLayout||this.loadingOrgChart||this.isOffline(!0)?l():this.spinner.spin(document.body,mxResources.get("loading"))&&(this.loadingOrgChart=!0,"1"==urlParams.dev?mxscript("js/orgchart/bridge.min.js",function(){mxscript("js/orgchart/bridge.collections.min.js",function(){mxscript("js/orgchart/OrgChart.Layout.min.js",function(){mxscript("js/orgchart/mxOrgChartLayout.js",
-l,null,null,null,z)},null,null,null,z)},null,null,null,z)},null,null,null,z):mxscript(window.DRAWIO_SERVER_URL+"js/orgchart.min.js",l,null,null,null,z))}),onerror)};EditorUi.prototype.importCsv=function(c,f){this.loadOrgChartLayouts(mxUtils.bind(this,function(){this.doImportCsv(c,f)}))};EditorUi.prototype.doImportCsv=function(c,f){try{var l=c.split("\n"),z=[],A=[],B=[],G={};if(0<l.length){var L={},P=this.editor.graph,J=null,fa=null,ea=null,T=null,ca=null,ka=null,ma=null,aa="whiteSpace=wrap;html=1;",
-V=null,da=null,k="",t="auto",I="auto",R=!1,O=null,X=null,Z=40,ba=40,la=100,qa=0,pa=mxUtils.bind(this,function(){null!=f?f(Ca):(P.setSelectionCells(Ca),P.scrollCellToVisible(P.getSelectionCell()));null!=this.chromelessResize&&window.setTimeout(mxUtils.bind(this,function(){this.chromelessResize(!0)}),0)}),ra=P.getFreeInsertPoint(),ua=ra.x,Ba=ra.y;ra=Ba;var ya=null,Aa="auto";da=null;for(var Na=[],va=null,Da=null,Ha=0;Ha<l.length&&"#"==l[Ha].charAt(0);){c=l[Ha].replace(/\r$/,"");for(Ha++;Ha<l.length&&
-"\\"==c.charAt(c.length-1)&&"#"==l[Ha].charAt(0);)c=c.substring(0,c.length-1)+mxUtils.trim(l[Ha].substring(1)),Ha++;if("#"!=c.charAt(1)){var La=c.indexOf(":");if(0<La){var Ea=mxUtils.trim(c.substring(1,La)),za=mxUtils.trim(c.substring(La+1));"label"==Ea?ya=Graph.sanitizeHtml(za):"labelname"==Ea&&0<za.length&&"-"!=za?ca=za:"labels"==Ea&&0<za.length&&"-"!=za?ma=JSON.parse(za):"style"==Ea?fa=za:"parentstyle"==Ea?aa=za:"unknownStyle"==Ea&&"-"!=za?ka=za:"stylename"==Ea&&0<za.length&&"-"!=za?T=za:"styles"==
-Ea&&0<za.length&&"-"!=za?ea=JSON.parse(za):"vars"==Ea&&0<za.length&&"-"!=za?J=JSON.parse(za):"identity"==Ea&&0<za.length&&"-"!=za?V=za:"parent"==Ea&&0<za.length&&"-"!=za?da=za:"namespace"==Ea&&0<za.length&&"-"!=za?k=za:"width"==Ea?t=za:"height"==Ea?I=za:"collapsed"==Ea&&"-"!=za?R="true"==za:"left"==Ea&&0<za.length?O=za:"top"==Ea&&0<za.length?X=za:"ignore"==Ea?Da=za.split(","):"connect"==Ea?Na.push(JSON.parse(za)):"link"==Ea?va=za:"padding"==Ea?qa=parseFloat(za):"edgespacing"==Ea?Z=parseFloat(za):
-"nodespacing"==Ea?ba=parseFloat(za):"levelspacing"==Ea?la=parseFloat(za):"layout"==Ea&&(Aa=za)}}}if(null==l[Ha])throw Error(mxResources.get("invalidOrMissingFile"));var Ra=this.editor.csvToArray(l[Ha].replace(/\r$/,""));La=c=null;Ea=[];for(za=0;za<Ra.length;za++)V==Ra[za]&&(c=za),da==Ra[za]&&(La=za),Ea.push(mxUtils.trim(Ra[za]).replace(/[^a-z0-9]+/ig,"_").replace(/^\d+/,"").replace(/_+$/,""));null==ya&&(ya="%"+Ea[0]+"%");if(null!=Na)for(var Ja=0;Ja<Na.length;Ja++)null==L[Na[Ja].to]&&(L[Na[Ja].to]=
-{});V=[];for(za=Ha+1;za<l.length;za++){var Qa=this.editor.csvToArray(l[za].replace(/\r$/,""));if(null==Qa){var Ma=40<l[za].length?l[za].substring(0,40)+"...":l[za];throw Error(Ma+" ("+za+"):\n"+mxResources.get("containsValidationErrors"));}0<Qa.length&&V.push(Qa)}P.model.beginUpdate();try{for(za=0;za<V.length;za++){Qa=V[za];var u=null,N=null!=c?k+Qa[c]:null;l=!1;null!=N&&(u=P.model.getCell(N),l=null==u||0<=mxUtils.indexOf(z,u));var Q=new mxCell(ya,new mxGeometry(ua,ra,0,0),fa||"whiteSpace=wrap;html=1;");
-Q.collapsed=R;Q.vertex=!0;Q.id=N;null==u||l||P.model.setCollapsed(u,R);for(var Y=0;Y<Qa.length;Y++)P.setAttributeForCell(Q,Ea[Y],Qa[Y]),null==u||l||P.setAttributeForCell(u,Ea[Y],Qa[Y]);if(null!=ca&&null!=ma){var ia=ma[Q.getAttribute(ca)];null!=ia&&(P.labelChanged(Q,ia),null==u||l||P.cellLabelChanged(u,ia))}if(null!=T&&null!=ea){var ja=ea[Q.getAttribute(T)];null!=ja&&(Q.style=ja)}P.setAttributeForCell(Q,"placeholders","1");Q.style=P.replacePlaceholders(Q,Q.style,J);null==u||l?P.fireEvent(new mxEventObject("cellsInserted",
-"cells",[Q])):(P.model.setStyle(u,Q.style),0>mxUtils.indexOf(B,u)&&B.push(u),P.fireEvent(new mxEventObject("cellsInserted","cells",[u])));l=null!=u;u=Q;if(!l)for(Ja=0;Ja<Na.length;Ja++)L[Na[Ja].to][u.getAttribute(Na[Ja].to)]=u;null!=va&&"link"!=va&&(P.setLinkForCell(u,u.getAttribute(va)),P.setAttributeForCell(u,va,null));var oa=this.editor.graph.getPreferredSizeForCell(u);da=null!=La?P.model.getCell(k+Qa[La]):null;if(u.vertex){Ma=null!=da?0:ua;Ha=null!=da?0:Ba;null!=O&&null!=u.getAttribute(O)&&(u.geometry.x=
-Ma+parseFloat(u.getAttribute(O)));null!=X&&null!=u.getAttribute(X)&&(u.geometry.y=Ha+parseFloat(u.getAttribute(X)));var ta="@"==t.charAt(0)?u.getAttribute(t.substring(1)):null;u.geometry.width=null!=ta&&"auto"!=ta?parseFloat(u.getAttribute(t.substring(1))):"auto"==t||"auto"==ta?oa.width+qa:parseFloat(t);var sa="@"==I.charAt(0)?u.getAttribute(I.substring(1)):null;u.geometry.height=null!=sa&&"auto"!=sa&&"width"!=I?parseFloat(sa):"auto"==I||"auto"==sa?oa.height+qa:"width"==I?u.geometry.width:parseFloat(I);
-ra+=u.geometry.height+ba}l?(null==G[N]&&(G[N]=[]),G[N].push(u)):(z.push(u),null!=da?(da.style=P.replacePlaceholders(da,aa,J),P.addCell(u,da),A.push(da)):B.push(P.addCell(u)))}for(za=0;za<A.length;za++)ta="@"==t.charAt(0)?A[za].getAttribute(t.substring(1)):null,sa="@"==I.charAt(0)?A[za].getAttribute(I.substring(1)):null,"auto"!=t&&"auto"!=ta||"auto"!=I&&"auto"!=sa||P.updateGroupBounds([A[za]],qa,!0);var xa=B.slice(),Ca=B.slice();for(Ja=0;Ja<Na.length;Ja++){var Oa=Na[Ja];for(za=0;za<z.length;za++){u=
-z[za];var Wa=mxUtils.bind(this,function(jb,qb,eb){var rb=qb.getAttribute(eb.from);if(null!=rb&&""!=rb){rb=rb.split(",");for(var ub=0;ub<rb.length;ub++){var lb=L[eb.to][rb[ub]];if(null==lb&&null!=ka){lb=new mxCell(rb[ub],new mxGeometry(ua,Ba,0,0),ka);lb.style=P.replacePlaceholders(qb,lb.style,J);var nb=this.editor.graph.getPreferredSizeForCell(lb);lb.geometry.width=nb.width+qa;lb.geometry.height=nb.height+qa;L[eb.to][rb[ub]]=lb;lb.vertex=!0;lb.id=rb[ub];B.push(P.addCell(lb))}if(null!=lb){nb=eb.label;
+l,null,null,null,z)},null,null,null,z)},null,null,null,z)},null,null,null,z):mxscript(window.DRAWIO_SERVER_URL+"js/orgchart.min.js",l,null,null,null,z))}),onerror)};EditorUi.prototype.importCsv=function(c,f){this.loadOrgChartLayouts(mxUtils.bind(this,function(){this.doImportCsv(c,f)}))};EditorUi.prototype.doImportCsv=function(c,f){try{var l=c.split("\n"),z=[],A=[],B=[],G={};if(0<l.length){var L={},P=this.editor.graph,J=null,fa=null,ea=null,T=null,ca=null,ja=null,ma=null,aa="whiteSpace=wrap;html=1;",
+V=null,da=null,k="",t="auto",I="auto",R=!1,O=null,X=null,Z=40,ba=40,ka=100,qa=0,pa=mxUtils.bind(this,function(){null!=f?f(Ha):(P.setSelectionCells(Ha),P.scrollCellToVisible(P.getSelectionCell()));null!=this.chromelessResize&&window.setTimeout(mxUtils.bind(this,function(){this.chromelessResize(!0)}),0)}),ra=P.getFreeInsertPoint(),ua=ra.x,Ba=ra.y;ra=Ba;var xa=null,Aa="auto";da=null;for(var Na=[],va=null,Ca=null,Ga=0;Ga<l.length&&"#"==l[Ga].charAt(0);){c=l[Ga].replace(/\r$/,"");for(Ga++;Ga<l.length&&
+"\\"==c.charAt(c.length-1)&&"#"==l[Ga].charAt(0);)c=c.substring(0,c.length-1)+mxUtils.trim(l[Ga].substring(1)),Ga++;if("#"!=c.charAt(1)){var La=c.indexOf(":");if(0<La){var Da=mxUtils.trim(c.substring(1,La)),za=mxUtils.trim(c.substring(La+1));"label"==Da?xa=Graph.sanitizeHtml(za):"labelname"==Da&&0<za.length&&"-"!=za?ca=za:"labels"==Da&&0<za.length&&"-"!=za?ma=JSON.parse(za):"style"==Da?fa=za:"parentstyle"==Da?aa=za:"unknownStyle"==Da&&"-"!=za?ja=za:"stylename"==Da&&0<za.length&&"-"!=za?T=za:"styles"==
+Da&&0<za.length&&"-"!=za?ea=JSON.parse(za):"vars"==Da&&0<za.length&&"-"!=za?J=JSON.parse(za):"identity"==Da&&0<za.length&&"-"!=za?V=za:"parent"==Da&&0<za.length&&"-"!=za?da=za:"namespace"==Da&&0<za.length&&"-"!=za?k=za:"width"==Da?t=za:"height"==Da?I=za:"collapsed"==Da&&"-"!=za?R="true"==za:"left"==Da&&0<za.length?O=za:"top"==Da&&0<za.length?X=za:"ignore"==Da?Ca=za.split(","):"connect"==Da?Na.push(JSON.parse(za)):"link"==Da?va=za:"padding"==Da?qa=parseFloat(za):"edgespacing"==Da?Z=parseFloat(za):
+"nodespacing"==Da?ba=parseFloat(za):"levelspacing"==Da?ka=parseFloat(za):"layout"==Da&&(Aa=za)}}}if(null==l[Ga])throw Error(mxResources.get("invalidOrMissingFile"));var Ra=this.editor.csvToArray(l[Ga].replace(/\r$/,""));La=c=null;Da=[];for(za=0;za<Ra.length;za++)V==Ra[za]&&(c=za),da==Ra[za]&&(La=za),Da.push(mxUtils.trim(Ra[za]).replace(/[^a-z0-9]+/ig,"_").replace(/^\d+/,"").replace(/_+$/,""));null==xa&&(xa="%"+Da[0]+"%");if(null!=Na)for(var Ja=0;Ja<Na.length;Ja++)null==L[Na[Ja].to]&&(L[Na[Ja].to]=
+{});V=[];for(za=Ga+1;za<l.length;za++){var Qa=this.editor.csvToArray(l[za].replace(/\r$/,""));if(null==Qa){var Ma=40<l[za].length?l[za].substring(0,40)+"...":l[za];throw Error(Ma+" ("+za+"):\n"+mxResources.get("containsValidationErrors"));}0<Qa.length&&V.push(Qa)}P.model.beginUpdate();try{for(za=0;za<V.length;za++){Qa=V[za];var u=null,N=null!=c?k+Qa[c]:null;l=!1;null!=N&&(u=P.model.getCell(N),l=null==u||0<=mxUtils.indexOf(z,u));var Q=new mxCell(xa,new mxGeometry(ua,ra,0,0),fa||"whiteSpace=wrap;html=1;");
+Q.collapsed=R;Q.vertex=!0;Q.id=N;null==u||l||P.model.setCollapsed(u,R);for(var Y=0;Y<Qa.length;Y++)P.setAttributeForCell(Q,Da[Y],Qa[Y]),null==u||l||P.setAttributeForCell(u,Da[Y],Qa[Y]);if(null!=ca&&null!=ma){var ia=ma[Q.getAttribute(ca)];null!=ia&&(P.labelChanged(Q,ia),null==u||l||P.cellLabelChanged(u,ia))}if(null!=T&&null!=ea){var la=ea[Q.getAttribute(T)];null!=la&&(Q.style=la)}P.setAttributeForCell(Q,"placeholders","1");Q.style=P.replacePlaceholders(Q,Q.style,J);null==u||l?P.fireEvent(new mxEventObject("cellsInserted",
+"cells",[Q])):(P.model.setStyle(u,Q.style),0>mxUtils.indexOf(B,u)&&B.push(u),P.fireEvent(new mxEventObject("cellsInserted","cells",[u])));l=null!=u;u=Q;if(!l)for(Ja=0;Ja<Na.length;Ja++)L[Na[Ja].to][u.getAttribute(Na[Ja].to)]=u;null!=va&&"link"!=va&&(P.setLinkForCell(u,u.getAttribute(va)),P.setAttributeForCell(u,va,null));var oa=this.editor.graph.getPreferredSizeForCell(u);da=null!=La?P.model.getCell(k+Qa[La]):null;if(u.vertex){Ma=null!=da?0:ua;Ga=null!=da?0:Ba;null!=O&&null!=u.getAttribute(O)&&(u.geometry.x=
+Ma+parseFloat(u.getAttribute(O)));null!=X&&null!=u.getAttribute(X)&&(u.geometry.y=Ga+parseFloat(u.getAttribute(X)));var ta="@"==t.charAt(0)?u.getAttribute(t.substring(1)):null;u.geometry.width=null!=ta&&"auto"!=ta?parseFloat(u.getAttribute(t.substring(1))):"auto"==t||"auto"==ta?oa.width+qa:parseFloat(t);var sa="@"==I.charAt(0)?u.getAttribute(I.substring(1)):null;u.geometry.height=null!=sa&&"auto"!=sa&&"width"!=I?parseFloat(sa):"auto"==I||"auto"==sa?oa.height+qa:"width"==I?u.geometry.width:parseFloat(I);
+ra+=u.geometry.height+ba}l?(null==G[N]&&(G[N]=[]),G[N].push(u)):(z.push(u),null!=da?(da.style=P.replacePlaceholders(da,aa,J),P.addCell(u,da),A.push(da)):B.push(P.addCell(u)))}for(za=0;za<A.length;za++)ta="@"==t.charAt(0)?A[za].getAttribute(t.substring(1)):null,sa="@"==I.charAt(0)?A[za].getAttribute(I.substring(1)):null,"auto"!=t&&"auto"!=ta||"auto"!=I&&"auto"!=sa||P.updateGroupBounds([A[za]],qa,!0);var ya=B.slice(),Ha=B.slice();for(Ja=0;Ja<Na.length;Ja++){var Oa=Na[Ja];for(za=0;za<z.length;za++){u=
+z[za];var Wa=mxUtils.bind(this,function(jb,qb,eb){var rb=qb.getAttribute(eb.from);if(null!=rb&&""!=rb){rb=rb.split(",");for(var ub=0;ub<rb.length;ub++){var lb=L[eb.to][rb[ub]];if(null==lb&&null!=ja){lb=new mxCell(rb[ub],new mxGeometry(ua,Ba,0,0),ja);lb.style=P.replacePlaceholders(qb,lb.style,J);var nb=this.editor.graph.getPreferredSizeForCell(lb);lb.geometry.width=nb.width+qa;lb.geometry.height=nb.height+qa;L[eb.to][rb[ub]]=lb;lb.vertex=!0;lb.id=rb[ub];B.push(P.addCell(lb))}if(null!=lb){nb=eb.label;
null!=eb.fromlabel&&(nb=(qb.getAttribute(eb.fromlabel)||"")+(nb||""));null!=eb.sourcelabel&&(nb=P.replacePlaceholders(qb,eb.sourcelabel,J)+(nb||""));null!=eb.tolabel&&(nb=(nb||"")+(lb.getAttribute(eb.tolabel)||""));null!=eb.targetlabel&&(nb=(nb||"")+P.replacePlaceholders(lb,eb.targetlabel,J));var sb="target"==eb.placeholders==!eb.invert?lb:jb;sb=null!=eb.style?P.replacePlaceholders(sb,eb.style,J):P.createCurrentEdgeStyle();nb=P.insertEdge(null,null,nb||"",eb.invert?lb:jb,eb.invert?jb:lb,sb);if(null!=
eb.labels)for(sb=0;sb<eb.labels.length;sb++){var pb=eb.labels[sb],wb=new mxCell(pb.label||sb,new mxGeometry(null!=pb.x?pb.x:0,null!=pb.y?pb.y:0,0,0),"resizable=0;html=1;");wb.vertex=!0;wb.connectable=!1;wb.geometry.relative=!0;null!=pb.placeholders&&(wb.value=P.replacePlaceholders("target"==pb.placeholders==!eb.invert?lb:jb,wb.value,J));if(null!=pb.dx||null!=pb.dy)wb.geometry.offset=new mxPoint(null!=pb.dx?pb.dx:0,null!=pb.dy?pb.dy:0);nb.insert(wb)}if(null!=eb.data)for(var fb in eb.data)P.setAttributeForCell(nb,
-fb,eb.data[fb]);Ca.push(nb);mxUtils.remove(eb.invert?jb:lb,xa)}}}});Wa(u,u,Oa);if(null!=G[u.id])for(Y=0;Y<G[u.id].length;Y++)Wa(u,G[u.id][Y],Oa)}}if(null!=Da)for(za=0;za<z.length;za++)for(u=z[za],Y=0;Y<Da.length;Y++)P.setAttributeForCell(u,mxUtils.trim(Da[Y]),null);if(0<B.length){var Za=new mxParallelEdgeLayout(P);Za.spacing=Z;Za.checkOverlap=!0;var ab=function(){0<Za.spacing&&Za.execute(P.getDefaultParent());for(var jb=0;jb<B.length;jb++){var qb=P.getCellGeometry(B[jb]);qb.x=Math.round(P.snap(qb.x));
+fb,eb.data[fb]);Ha.push(nb);mxUtils.remove(eb.invert?jb:lb,ya)}}}});Wa(u,u,Oa);if(null!=G[u.id])for(Y=0;Y<G[u.id].length;Y++)Wa(u,G[u.id][Y],Oa)}}if(null!=Ca)for(za=0;za<z.length;za++)for(u=z[za],Y=0;Y<Ca.length;Y++)P.setAttributeForCell(u,mxUtils.trim(Ca[Y]),null);if(0<B.length){var Za=new mxParallelEdgeLayout(P);Za.spacing=Z;Za.checkOverlap=!0;var ab=function(){0<Za.spacing&&Za.execute(P.getDefaultParent());for(var jb=0;jb<B.length;jb++){var qb=P.getCellGeometry(B[jb]);qb.x=Math.round(P.snap(qb.x));
qb.y=Math.round(P.snap(qb.y));"auto"==t&&(qb.width=Math.round(P.snap(qb.width)));"auto"==I&&(qb.height=Math.round(P.snap(qb.height)))}};if("["==Aa.charAt(0)){var Ta=pa;P.view.validate();this.executeLayouts(P.createLayouts(JSON.parse(Aa)),function(){ab();Ta()});pa=null}else if("circle"==Aa){var Pa=new mxCircleLayout(P);Pa.disableEdgeStyle=!1;Pa.resetEdges=!1;var kb=Pa.isVertexIgnored;Pa.isVertexIgnored=function(jb){return kb.apply(this,arguments)||0>mxUtils.indexOf(B,jb)};this.executeLayout(function(){Pa.execute(P.getDefaultParent());
-ab()},!0,pa);pa=null}else if("horizontaltree"==Aa||"verticaltree"==Aa||"auto"==Aa&&Ca.length==2*B.length-1&&1==xa.length){P.view.validate();var cb=new mxCompactTreeLayout(P,"horizontaltree"==Aa);cb.levelDistance=ba;cb.edgeRouting=!1;cb.resetEdges=!1;cb.sortEdges=!0;this.executeLayout(function(){cb.execute(P.getDefaultParent(),0<xa.length?xa[0]:null)},!0,pa);pa=null}else if("horizontalflow"==Aa||"verticalflow"==Aa||"auto"==Aa&&1==xa.length){P.view.validate();var $a=new mxHierarchicalLayout(P,"horizontalflow"==
-Aa?mxConstants.DIRECTION_WEST:mxConstants.DIRECTION_NORTH);$a.intraCellSpacing=ba;$a.parallelEdgeSpacing=Z;$a.interRankCellSpacing=la;$a.disableEdgeStyle=!1;this.executeLayout(function(){$a.execute(P.getDefaultParent(),Ca);P.moveCells(Ca,ua,Ba)},!0,pa);pa=null}else if("orgchart"==Aa){P.view.validate();var gb=new mxOrgChartLayout(P,2,la,ba),ib=gb.isVertexIgnored;gb.isVertexIgnored=function(jb){return ib.apply(this,arguments)||0>mxUtils.indexOf(B,jb)};this.executeLayout(function(){gb.execute(P.getDefaultParent());
-ab()},!0,pa);pa=null}else if("organic"==Aa||"auto"==Aa&&Ca.length>B.length){P.view.validate();var mb=new mxFastOrganicLayout(P);mb.forceConstant=3*ba;mb.disableEdgeStyle=!1;mb.resetEdges=!1;var vb=mb.isVertexIgnored;mb.isVertexIgnored=function(jb){return vb.apply(this,arguments)||0>mxUtils.indexOf(B,jb)};this.executeLayout(function(){mb.execute(P.getDefaultParent());ab()},!0,pa);pa=null}}this.hideDialog()}finally{P.model.endUpdate()}null!=pa&&pa()}}catch(jb){this.handleError(jb)}};EditorUi.prototype.getSearch=
+ab()},!0,pa);pa=null}else if("horizontaltree"==Aa||"verticaltree"==Aa||"auto"==Aa&&Ha.length==2*B.length-1&&1==ya.length){P.view.validate();var cb=new mxCompactTreeLayout(P,"horizontaltree"==Aa);cb.levelDistance=ba;cb.edgeRouting=!1;cb.resetEdges=!1;cb.sortEdges=!0;this.executeLayout(function(){cb.execute(P.getDefaultParent(),0<ya.length?ya[0]:null)},!0,pa);pa=null}else if("horizontalflow"==Aa||"verticalflow"==Aa||"auto"==Aa&&1==ya.length){P.view.validate();var $a=new mxHierarchicalLayout(P,"horizontalflow"==
+Aa?mxConstants.DIRECTION_WEST:mxConstants.DIRECTION_NORTH);$a.intraCellSpacing=ba;$a.parallelEdgeSpacing=Z;$a.interRankCellSpacing=ka;$a.disableEdgeStyle=!1;this.executeLayout(function(){$a.execute(P.getDefaultParent(),Ha);P.moveCells(Ha,ua,Ba)},!0,pa);pa=null}else if("orgchart"==Aa){P.view.validate();var gb=new mxOrgChartLayout(P,2,ka,ba),ib=gb.isVertexIgnored;gb.isVertexIgnored=function(jb){return ib.apply(this,arguments)||0>mxUtils.indexOf(B,jb)};this.executeLayout(function(){gb.execute(P.getDefaultParent());
+ab()},!0,pa);pa=null}else if("organic"==Aa||"auto"==Aa&&Ha.length>B.length){P.view.validate();var mb=new mxFastOrganicLayout(P);mb.forceConstant=3*ba;mb.disableEdgeStyle=!1;mb.resetEdges=!1;var vb=mb.isVertexIgnored;mb.isVertexIgnored=function(jb){return vb.apply(this,arguments)||0>mxUtils.indexOf(B,jb)};this.executeLayout(function(){mb.execute(P.getDefaultParent());ab()},!0,pa);pa=null}}this.hideDialog()}finally{P.model.endUpdate()}null!=pa&&pa()}}catch(jb){this.handleError(jb)}};EditorUi.prototype.getSearch=
function(c){var f="";if("1"!=urlParams.offline&&"1"!=urlParams.demo&&null!=c&&0<window.location.search.length){var l="?",z;for(z in urlParams)0>mxUtils.indexOf(c,z)&&null!=urlParams[z]&&(f+=l+z+"="+urlParams[z],l="&")}else f=window.location.search;return f};EditorUi.prototype.getUrl=function(c){c=null!=c?c:window.location.pathname;var f=0<c.indexOf("?")?1:0;if("1"==urlParams.offline)c+=window.location.search;else{var l="tmp libs clibs state fileId code share notitle data url embed client create title splash".split(" "),
z;for(z in urlParams)0>mxUtils.indexOf(l,z)&&(c=0==f?c+"?":c+"&",null!=urlParams[z]&&(c+=z+"="+urlParams[z],f++))}return c};EditorUi.prototype.showLinkDialog=function(c,f,l,z,A){c=new LinkDialog(this,c,f,l,!0,z,A);this.showDialog(c.container,440,120,!0,!0);c.init()};EditorUi.prototype.getServiceCount=function(c){var f=1;null==this.drive&&"function"!==typeof window.DriveClient||f++;null==this.dropbox&&"function"!==typeof window.DropboxClient||f++;null==this.oneDrive&&"function"!==typeof window.OneDriveClient||
f++;null!=this.gitHub&&f++;null!=this.gitLab&&f++;c&&isLocalStorage&&"1"==urlParams.browser&&f++;return f};EditorUi.prototype.updateUi=function(){this.updateButtonContainer();this.updateActionStates();var c=this.getCurrentFile(),f=null!=c||"1"==urlParams.embed&&this.editor.graph.isEnabled();this.menus.get("viewPanels").setEnabled(f);this.menus.get("viewZoom").setEnabled(f);var l=("1"!=urlParams.embed||"1"==urlParams.embedRT||!this.editor.graph.isEnabled())&&(null==c||c.isRestricted());this.actions.get("makeCopy").setEnabled(!l);
@@ -3970,11 +3968,11 @@ f);this.actions.get("makeCopy").setEnabled(null!=f&&!f.isRestricted());this.acti
this.diagramContainer.style.visibility);this.actions.get("rename").setEnabled(null!=f&&f.isRenamable()||"1"==urlParams.embed);this.actions.get("close").setEnabled(null!=f);this.actions.get("properties").setEnabled(null!=f);this.menus.get("publish").setEnabled(null!=f&&!f.isRestricted());f=this.actions.get("findReplace");f.setEnabled("hidden"!=this.diagramContainer.style.visibility);f.label=mxResources.get("find")+(c.isEnabled()?"/"+mxResources.get("replace"):"");c=c.view.getState(c.getSelectionCell());
this.actions.get("editShape").setEnabled(z&&null!=c&&null!=c.shape&&null!=c.shape.stencil)};var W=EditorUi.prototype.destroy;EditorUi.prototype.destroy=function(){null!=this.exportDialog&&(this.exportDialog.parentNode.removeChild(this.exportDialog),this.exportDialog=null);W.apply(this,arguments)};null!=window.ExportDialog&&(ExportDialog.showXmlOption=!1,ExportDialog.showGifOption=!1,ExportDialog.exportFile=function(c,f,l,z,A,B,G,L){var P=c.editor.graph;if("xml"==l)c.hideDialog(),c.saveData(f,"xml",
mxUtils.getXml(c.editor.getGraphXml()),"text/xml");else if("svg"==l)c.hideDialog(),c.saveData(f,"svg",mxUtils.getXml(P.getSvg(z,A,B)),"image/svg+xml");else{var J=c.getFileData(!0,null,null,null,null,!0),fa=P.getGraphBounds(),ea=Math.floor(fa.width*A/P.view.scale),T=Math.floor(fa.height*A/P.view.scale);if(J.length<=MAX_REQUEST_SIZE&&ea*T<MAX_AREA)if(c.hideDialog(),"png"!=l&&"jpg"!=l&&"jpeg"!=l||!c.isExportToCanvas()){var ca={globalVars:P.getExportVariables()};L&&(ca.grid={size:P.gridSize,steps:P.view.gridSteps,
-color:P.view.gridColor});c.saveRequest(f,l,function(ka,ma){return new mxXmlRequest(EXPORT_URL,"format="+l+"&base64="+(ma||"0")+(null!=ka?"&filename="+encodeURIComponent(ka):"")+"&extras="+encodeURIComponent(JSON.stringify(ca))+(0<G?"&dpi="+G:"")+"&bg="+(null!=z?z:"none")+"&w="+ea+"&h="+T+"&border="+B+"&xml="+encodeURIComponent(J))})}else"png"==l?c.exportImage(A,null==z||"none"==z,!0,!1,!1,B,!0,!1,null,L,G):c.exportImage(A,!1,!0,!1,!1,B,!0,!1,"jpeg",L);else mxUtils.alert(mxResources.get("drawingTooLarge"))}});
+color:P.view.gridColor});c.saveRequest(f,l,function(ja,ma){return new mxXmlRequest(EXPORT_URL,"format="+l+"&base64="+(ma||"0")+(null!=ja?"&filename="+encodeURIComponent(ja):"")+"&extras="+encodeURIComponent(JSON.stringify(ca))+(0<G?"&dpi="+G:"")+"&bg="+(null!=z?z:"none")+"&w="+ea+"&h="+T+"&border="+B+"&xml="+encodeURIComponent(J))})}else"png"==l?c.exportImage(A,null==z||"none"==z,!0,!1,!1,B,!0,!1,null,L,G):c.exportImage(A,!1,!0,!1,!1,B,!0,!1,"jpeg",L);else mxUtils.alert(mxResources.get("drawingTooLarge"))}});
EditorUi.prototype.getDiagramTextContent=function(){this.editor.graph.setEnabled(!1);var c=this.editor.graph,f="";if(null!=this.pages)for(var l=0;l<this.pages.length;l++){var z=c;this.currentPage!=this.pages[l]&&(z=this.createTemporaryGraph(c.getStylesheet()),this.updatePageRoot(this.pages[l]),z.model.setRoot(this.pages[l].root));f+=this.pages[l].getName()+" "+z.getIndexableText()+" "}else f=c.getIndexableText();this.editor.graph.setEnabled(!0);return f};EditorUi.prototype.showRemotelyStoredLibrary=
function(c){var f={},l=document.createElement("div");l.style.whiteSpace="nowrap";var z=document.createElement("h3");mxUtils.write(z,mxUtils.htmlEntities(c));z.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:12px";l.appendChild(z);var A=document.createElement("div");A.style.cssText="border:1px solid lightGray;overflow: auto;height:300px";A.innerHTML='<div style="text-align:center;padding:8px;"><img src="'+IMAGE_PATH+'/spin.gif"></div>';var B={};try{var G=mxSettings.getCustomLibraries();
for(c=0;c<G.length;c++){var L=G[c];if("R"==L.substring(0,1)){var P=JSON.parse(decodeURIComponent(L.substring(1)));B[P[0]]={id:P[0],title:P[1],downloadUrl:P[2]}}}}catch(J){}this.remoteInvoke("getCustomLibraries",null,null,function(J){A.innerText="";if(0==J.length)A.innerHTML='<div style="text-align:center;padding-top:20px;color:gray;">'+mxUtils.htmlEntities(mxResources.get("noLibraries"))+"</div>";else for(var fa=0;fa<J.length;fa++){var ea=J[fa];B[ea.id]&&(f[ea.id]=ea);var T=this.addCheckbox(A,ea.title,
-B[ea.id]);(function(ca,ka){mxEvent.addListener(ka,"change",function(){this.checked?f[ca.id]=ca:delete f[ca.id]})})(ea,T)}},mxUtils.bind(this,function(J){A.innerText="";var fa=document.createElement("div");fa.style.padding="8px";fa.style.textAlign="center";mxUtils.write(fa,mxResources.get("error")+": ");mxUtils.write(fa,null!=J&&null!=J.message?J.message:mxResources.get("unknownError"));A.appendChild(fa)}));l.appendChild(A);l=new CustomDialog(this,l,mxUtils.bind(this,function(){this.spinner.spin(document.body,
+B[ea.id]);(function(ca,ja){mxEvent.addListener(ja,"change",function(){this.checked?f[ca.id]=ca:delete f[ca.id]})})(ea,T)}},mxUtils.bind(this,function(J){A.innerText="";var fa=document.createElement("div");fa.style.padding="8px";fa.style.textAlign="center";mxUtils.write(fa,mxResources.get("error")+": ");mxUtils.write(fa,null!=J&&null!=J.message?J.message:mxResources.get("unknownError"));A.appendChild(fa)}));l.appendChild(A);l=new CustomDialog(this,l,mxUtils.bind(this,function(){this.spinner.spin(document.body,
mxResources.get("loading"));var J=0,fa;for(fa in f)null==B[fa]&&(J++,mxUtils.bind(this,function(ea){this.remoteInvoke("getFileContent",[ea.downloadUrl],null,mxUtils.bind(this,function(T){J--;0==J&&this.spinner.stop();try{this.loadLibrary(new RemoteLibrary(this,T,ea)),this.showSidebar()}catch(ca){this.handleError(ca,mxResources.get("errorLoadingFile"))}}),mxUtils.bind(this,function(){J--;0==J&&this.spinner.stop();this.handleError(null,mxResources.get("errorLoadingFile"))}))})(f[fa]));for(fa in B)f[fa]||
this.closeLibrary(new RemoteLibrary(this,null,B[fa]));0==J&&this.spinner.stop()}),null,null,"https://www.drawio.com/doc/faq/custom-libraries-confluence-cloud");this.showDialog(l.container,340,390,!0,!0,null,null,null,null,!0)};EditorUi.prototype.remoteInvokableFns={getDiagramTextContent:{isAsync:!1},getLocalStorageFile:{isAsync:!1,allowedDomains:["app.diagrams.net"]},getLocalStorageFileNames:{isAsync:!1,allowedDomains:["app.diagrams.net"]},setMigratedFlag:{isAsync:!1,allowedDomains:["app.diagrams.net"]}};
EditorUi.prototype.remoteInvokeCallbacks=[];EditorUi.prototype.remoteInvokeQueue=[];EditorUi.prototype.handleRemoteInvokeReady=function(c){this.remoteWin=c;for(var f=0;f<this.remoteInvokeQueue.length;f++)c.postMessage(this.remoteInvokeQueue[f],"*");this.remoteInvokeQueue=[]};EditorUi.prototype.handleRemoteInvokeResponse=function(c){var f=c.msgMarkers,l=this.remoteInvokeCallbacks[f.callbackId];if(null==l)throw Error("No callback for "+(null!=f?f.callbackId:"null"));c.error?l.error&&l.error(c.error.errResp):
@@ -3983,9 +3981,9 @@ this.remoteInvokeCallbacks.push({callback:L,error:P});c=JSON.stringify({event:"r
A=this.remoteInvokableFns[z];if(null!=A&&"function"===typeof this[z]){if(A.allowedDomains){for(var B=!1,G=0;G<A.allowedDomains.length;G++)if(f=="https://"+A.allowedDomains[G]){B=!0;break}if(!B){l(null,"Invalid Call: "+z+" is not allowed.");return}}var L=c.functionArgs;Array.isArray(L)||(L=[]);if(A.isAsync)L.push(function(){l(Array.prototype.slice.apply(arguments))}),L.push(function(J){l(null,J||"Unkown Error")}),this[z].apply(this,L);else{var P=this[z].apply(this,L);l([P])}}else l(null,"Invalid Call: "+
z+" is not found.")}catch(J){l(null,"Invalid Call: An error occurred, "+J.message)}};EditorUi.prototype.openDatabase=function(c,f){if(null==this.database){var l=window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB;if(null!=l)try{var z=l.open("database",2);z.onupgradeneeded=function(A){try{var B=z.result;1>A.oldVersion&&B.createObjectStore("objects",{keyPath:"key"});2>A.oldVersion&&(B.createObjectStore("files",{keyPath:"title"}),B.createObjectStore("filesInfo",{keyPath:"title"}),EditorUi.migrateStorageFiles=
isLocalStorage)}catch(G){null!=f&&f(G)}};z.onsuccess=mxUtils.bind(this,function(A){try{var B=z.result;this.database=B;EditorUi.migrateStorageFiles&&(StorageFile.migrate(B),EditorUi.migrateStorageFiles=!1);"app.diagrams.net"!=location.host||this.drawioMigrationStarted||(this.drawioMigrationStarted=!0,this.getDatabaseItem(".drawioMigrated3",mxUtils.bind(this,function(G){if(!G||"1"==urlParams.forceMigration){var L=document.createElement("iframe");L.style.display="none";L.setAttribute("src","https://www.draw.io?embed=1&proto=json&forceMigration="+
-urlParams.forceMigration);document.body.appendChild(L);var P=!0,J=!1,fa,ea=0,T=mxUtils.bind(this,function(){J=!0;this.setDatabaseItem(".drawioMigrated3",!0);L.contentWindow.postMessage(JSON.stringify({action:"remoteInvoke",funtionName:"setMigratedFlag"}),"*")}),ca=mxUtils.bind(this,function(){ea++;ka()}),ka=mxUtils.bind(this,function(){try{if(ea>=fa.length)T();else{var aa=fa[ea];StorageFile.getFileContent(this,aa,mxUtils.bind(this,function(V){null==V||".scratchpad"==aa&&V==this.emptyLibraryXml?L.contentWindow.postMessage(JSON.stringify({action:"remoteInvoke",
+urlParams.forceMigration);document.body.appendChild(L);var P=!0,J=!1,fa,ea=0,T=mxUtils.bind(this,function(){J=!0;this.setDatabaseItem(".drawioMigrated3",!0);L.contentWindow.postMessage(JSON.stringify({action:"remoteInvoke",funtionName:"setMigratedFlag"}),"*")}),ca=mxUtils.bind(this,function(){ea++;ja()}),ja=mxUtils.bind(this,function(){try{if(ea>=fa.length)T();else{var aa=fa[ea];StorageFile.getFileContent(this,aa,mxUtils.bind(this,function(V){null==V||".scratchpad"==aa&&V==this.emptyLibraryXml?L.contentWindow.postMessage(JSON.stringify({action:"remoteInvoke",
funtionName:"getLocalStorageFile",functionArgs:[aa]}),"*"):ca()}),ca)}}catch(V){console.log(V)}}),ma=mxUtils.bind(this,function(aa){try{this.setDatabaseItem(null,[{title:aa.title,size:aa.data.length,lastModified:Date.now(),type:aa.isLib?"L":"F"},{title:aa.title,data:aa.data}],ca,ca,["filesInfo","files"])}catch(V){console.log(V)}});G=mxUtils.bind(this,function(aa){try{if(aa.source==L.contentWindow){var V={};try{V=JSON.parse(aa.data)}catch(da){}"init"==V.event?(L.contentWindow.postMessage(JSON.stringify({action:"remoteInvokeReady"}),
-"*"),L.contentWindow.postMessage(JSON.stringify({action:"remoteInvoke",funtionName:"getLocalStorageFileNames"}),"*")):"remoteInvokeResponse"!=V.event||J||(P?null!=V.resp&&0<V.resp.length&&null!=V.resp[0]?(fa=V.resp[0],P=!1,ka()):T():null!=V.resp&&0<V.resp.length&&null!=V.resp[0]?ma(V.resp[0]):ca())}}catch(da){console.log(da)}});window.addEventListener("message",G)}})));c(B);B.onversionchange=function(){B.close()}}catch(G){null!=f?f(G):null!=window.console&&console.warn(G)}});z.onerror=f;z.onblocked=
+"*"),L.contentWindow.postMessage(JSON.stringify({action:"remoteInvoke",funtionName:"getLocalStorageFileNames"}),"*")):"remoteInvokeResponse"!=V.event||J||(P?null!=V.resp&&0<V.resp.length&&null!=V.resp[0]?(fa=V.resp[0],P=!1,ja()):T():null!=V.resp&&0<V.resp.length&&null!=V.resp[0]?ma(V.resp[0]):ca())}}catch(da){console.log(da)}});window.addEventListener("message",G)}})));c(B);B.onversionchange=function(){B.close()}}catch(G){null!=f?f(G):null!=window.console&&console.warn(G)}});z.onerror=f;z.onblocked=
function(){}}catch(A){null!=f?f(A):null!=window.console&&console.error(A)}else null!=f&&f(Error("IndexedDB not supported"))}else c(this.database)};EditorUi.prototype.setDatabaseItem=function(c,f,l,z,A){this.openDatabase(mxUtils.bind(this,function(B){try{A=A||"objects";Array.isArray(A)||(A=[A],c=[c],f=[f]);var G=B.transaction(A,"readwrite");G.oncomplete=l;G.onerror=z;for(B=0;B<A.length;B++)G.objectStore(A[B]).put(null!=c&&null!=c[B]?{key:c[B],data:f[B]}:f[B])}catch(L){null!=z&&z(L)}}),z)};EditorUi.prototype.removeDatabaseItem=
function(c,f,l,z){this.openDatabase(mxUtils.bind(this,function(A){try{z=z||"objects";Array.isArray(z)||(z=[z],c=[c]);var B=A.transaction(z,"readwrite");B.oncomplete=f;B.onerror=l;for(A=0;A<z.length;A++)B.objectStore(z[A]).delete(c[A])}catch(G){null!=l&&l(G)}}),l)};EditorUi.prototype.getDatabaseItem=function(c,f,l,z){this.openDatabase(mxUtils.bind(this,function(A){try{z=z||"objects";var B=A.transaction([z],"readonly").objectStore(z).get(c);B.onsuccess=function(){f(B.result)};B.onerror=l}catch(G){null!=
l&&l(G)}}),l)};EditorUi.prototype.getDatabaseItems=function(c,f,l){this.openDatabase(mxUtils.bind(this,function(z){try{l=l||"objects";var A=z.transaction([l],"readonly").objectStore(l).openCursor(IDBKeyRange.lowerBound(0)),B=[];A.onsuccess=function(G){null==G.target.result?c(B):(B.push(G.target.result.value),G.target.result.continue())};A.onerror=f}catch(G){null!=f&&f(G)}}),f)};EditorUi.prototype.getDatabaseItemKeys=function(c,f,l){this.openDatabase(mxUtils.bind(this,function(z){try{l=l||"objects";
@@ -3993,32 +3991,32 @@ var A=z.transaction([l],"readonly").objectStore(l).getAllKeys();A.onsuccess=func
EditorUi.prototype.getComments=function(c,f){var l=this.getCurrentFile();null!=l?l.getComments(c,f):c([])};EditorUi.prototype.addComment=function(c,f,l){var z=this.getCurrentFile();null!=z?z.addComment(c,f,l):f(Date.now())};EditorUi.prototype.canReplyToReplies=function(){var c=this.getCurrentFile();return null!=c?c.canReplyToReplies():!0};EditorUi.prototype.canComment=function(){var c=this.getCurrentFile();return null!=c?c.canComment():!0};EditorUi.prototype.newComment=function(c,f){var l=this.getCurrentFile();
return null!=l?l.newComment(c,f):new DrawioComment(this,null,c,Date.now(),Date.now(),!1,f)};EditorUi.prototype.isRevisionHistorySupported=function(){var c=this.getCurrentFile();return null!=c&&c.isRevisionHistorySupported()};EditorUi.prototype.getRevisions=function(c,f){var l=this.getCurrentFile();null!=l&&l.getRevisions?l.getRevisions(c,f):f({message:mxResources.get("unknownError")})};EditorUi.prototype.isRevisionHistoryEnabled=function(){var c=this.getCurrentFile();return null!=c&&(c.constructor==
DriveFile&&c.isEditable()||c.constructor==DropboxFile)};EditorUi.prototype.getServiceName=function(){return"draw.io"};EditorUi.prototype.addRemoteServiceSecurityCheck=function(c){c.setRequestHeader("Content-Language","da, mi, en, de-DE")};EditorUi.prototype.loadUrl=function(c,f,l,z,A,B,G,L){EditorUi.logEvent("SHOULD NOT BE CALLED: loadUrl");return this.editor.loadUrl(c,f,l,z,A,B,G,L)};EditorUi.prototype.loadFonts=function(c){EditorUi.logEvent("SHOULD NOT BE CALLED: loadFonts");return this.editor.loadFonts(c)};
-EditorUi.prototype.createSvgDataUri=function(c){EditorUi.logEvent("SHOULD NOT BE CALLED: createSvgDataUri");return Editor.createSvgDataUri(c)};EditorUi.prototype.embedCssFonts=function(c,f){EditorUi.logEvent("SHOULD NOT BE CALLED: embedCssFonts");return this.editor.embedCssFonts(c,f)};EditorUi.prototype.embedExtFonts=function(c){EditorUi.logEvent("SHOULD NOT BE CALLED: embedExtFonts");return this.editor.embedExtFonts(c)};EditorUi.prototype.exportToCanvas=function(c,f,l,z,A,B,G,L,P,J,fa,ea,T,ca,ka,
-ma){EditorUi.logEvent("SHOULD NOT BE CALLED: exportToCanvas");return this.editor.exportToCanvas(c,f,l,z,A,B,G,L,P,J,fa,ea,T,ca,ka,ma)};EditorUi.prototype.createImageUrlConverter=function(){EditorUi.logEvent("SHOULD NOT BE CALLED: createImageUrlConverter");return this.editor.createImageUrlConverter()};EditorUi.prototype.convertImages=function(c,f,l,z){EditorUi.logEvent("SHOULD NOT BE CALLED: convertImages");return this.editor.convertImages(c,f,l,z)};EditorUi.prototype.convertImageToDataUri=function(c,
+EditorUi.prototype.createSvgDataUri=function(c){EditorUi.logEvent("SHOULD NOT BE CALLED: createSvgDataUri");return Editor.createSvgDataUri(c)};EditorUi.prototype.embedCssFonts=function(c,f){EditorUi.logEvent("SHOULD NOT BE CALLED: embedCssFonts");return this.editor.embedCssFonts(c,f)};EditorUi.prototype.embedExtFonts=function(c){EditorUi.logEvent("SHOULD NOT BE CALLED: embedExtFonts");return this.editor.embedExtFonts(c)};EditorUi.prototype.exportToCanvas=function(c,f,l,z,A,B,G,L,P,J,fa,ea,T,ca,ja,
+ma){EditorUi.logEvent("SHOULD NOT BE CALLED: exportToCanvas");return this.editor.exportToCanvas(c,f,l,z,A,B,G,L,P,J,fa,ea,T,ca,ja,ma)};EditorUi.prototype.createImageUrlConverter=function(){EditorUi.logEvent("SHOULD NOT BE CALLED: createImageUrlConverter");return this.editor.createImageUrlConverter()};EditorUi.prototype.convertImages=function(c,f,l,z){EditorUi.logEvent("SHOULD NOT BE CALLED: convertImages");return this.editor.convertImages(c,f,l,z)};EditorUi.prototype.convertImageToDataUri=function(c,
f){EditorUi.logEvent("SHOULD NOT BE CALLED: convertImageToDataUri");return this.editor.convertImageToDataUri(c,f)};EditorUi.prototype.base64Encode=function(c){EditorUi.logEvent("SHOULD NOT BE CALLED: base64Encode");return Editor.base64Encode(c)};EditorUi.prototype.updateCRC=function(c,f,l,z){EditorUi.logEvent("SHOULD NOT BE CALLED: updateCRC");return Editor.updateCRC(c,f,l,z)};EditorUi.prototype.crc32=function(c){EditorUi.logEvent("SHOULD NOT BE CALLED: crc32");return Editor.crc32(c)};EditorUi.prototype.writeGraphModelToPng=
function(c,f,l,z,A){EditorUi.logEvent("SHOULD NOT BE CALLED: writeGraphModelToPng");return Editor.writeGraphModelToPng(c,f,l,z,A)};EditorUi.prototype.getLocalStorageFileNames=function(){if("1"==localStorage.getItem(".localStorageMigrated")&&"1"!=urlParams.forceMigration)return null;for(var c=[],f=0;f<localStorage.length;f++){var l=localStorage.key(f),z=localStorage.getItem(l);if(0<l.length&&(".scratchpad"==l||"."!=l.charAt(0))&&0<z.length){var A="<mxfile "===z.substring(0,8)||"<?xml"===z.substring(0,
5)||"\x3c!--[if IE]>"===z.substring(0,12);z="<mxlibrary>"===z.substring(0,11);(A||z)&&c.push(l)}}return c};EditorUi.prototype.getLocalStorageFile=function(c){if("1"==localStorage.getItem(".localStorageMigrated")&&"1"!=urlParams.forceMigration)return null;var f=localStorage.getItem(c);return{title:c,data:f,isLib:"<mxlibrary>"===f.substring(0,11)}};EditorUi.prototype.setMigratedFlag=function(){localStorage.setItem(".localStorageMigrated","1")}})();
-var CommentsWindow=function(b,e,g,n,v,q){function C(){for(var T=B.getElementsByTagName("div"),ca=0,ka=0;ka<T.length;ka++)"none"!=T[ka].style.display&&T[ka].parentNode==B&&ca++;G.style.display=0==ca?"block":"none"}function H(T,ca,ka,ma){function aa(){ca.removeChild(k);ca.removeChild(t);da.style.display="block";V.style.display="block"}l={div:ca,comment:T,saveCallback:ka,deleteOnCancel:ma};var V=ca.querySelector(".geCommentTxt"),da=ca.querySelector(".geCommentActionsList"),k=document.createElement("textarea");
-k.className="geCommentEditTxtArea";k.style.minHeight=V.offsetHeight+"px";k.value=T.content;ca.insertBefore(k,V);var t=document.createElement("div");t.className="geCommentEditBtns";var I=mxUtils.button(mxResources.get("cancel"),function(){ma?(ca.parentNode.removeChild(ca),C()):aa();l=null});I.className="geCommentEditBtn";t.appendChild(I);var R=mxUtils.button(mxResources.get("save"),function(){V.innerText="";T.content=k.value;mxUtils.write(V,T.content);aa();ka(T);l=null});mxEvent.addListener(k,"keydown",
-mxUtils.bind(this,function(O){mxEvent.isConsumed(O)||((mxEvent.isControlDown(O)||mxClient.IS_MAC&&mxEvent.isMetaDown(O))&&13==O.keyCode?(R.click(),mxEvent.consume(O)):27==O.keyCode&&(I.click(),mxEvent.consume(O)))}));R.focus();R.className="geCommentEditBtn gePrimaryBtn";t.appendChild(R);ca.insertBefore(t,V);da.style.display="none";V.style.display="none";k.focus()}function U(T,ca){ca.innerText="";T=new Date(T.modifiedDate);var ka=b.timeSince(T);null==ka&&(ka=mxResources.get("lessThanAMinute"));mxUtils.write(ca,
-mxResources.get("timeAgo",[ka],"{1} ago"));ca.setAttribute("title",T.toLocaleDateString()+" "+T.toLocaleTimeString())}function F(T){var ca=document.createElement("img");ca.className="geCommentBusyImg";ca.src=IMAGE_PATH+"/spin.gif";T.appendChild(ca);T.busyImg=ca}function K(T){T.style.border="1px solid red";T.busyImg.parentNode==T&&T.removeChild(T.busyImg)}function S(T){T.style.border="";T.busyImg.parentNode==T&&T.removeChild(T.busyImg)}function W(T,ca,ka,ma,aa){function V(Z,ba,la){var qa=document.createElement("li");
-qa.className="geCommentAction";var pa=document.createElement("a");pa.className="geCommentActionLnk";mxUtils.write(pa,Z);qa.appendChild(pa);mxEvent.addListener(pa,"click",function(ra){ba(ra,T);ra.preventDefault();mxEvent.consume(ra)});X.appendChild(qa);la&&(qa.style.display="none")}function da(){function Z(qa){ba.push(la);if(null!=qa.replies)for(var pa=0;pa<qa.replies.length;pa++)la=la.nextSibling,Z(qa.replies[pa])}var ba=[],la=t;Z(T);return{pdiv:la,replies:ba}}function k(Z,ba,la,qa,pa){function ra(){F(Aa);
-T.addReply(ya,function(Na){ya.id=Na;T.replies.push(ya);S(Aa);la&&la()},function(Na){ua();K(Aa);b.handleError(Na,null,null,null,mxUtils.htmlEntities(mxResources.get("objectNotFound")))},qa,pa)}function ua(){H(ya,Aa,function(Na){ra()},!0)}var Ba=da().pdiv,ya=b.newComment(Z,b.getCurrentUser());ya.pCommentId=T.id;null==T.replies&&(T.replies=[]);var Aa=W(ya,T.replies,Ba,ma+1);ba?ua():ra()}if(aa||!T.isResolved){G.style.display="none";var t=document.createElement("div");t.className="geCommentContainer";
+var CommentsWindow=function(b,e,g,n,v,q){function C(){for(var T=B.getElementsByTagName("div"),ca=0,ja=0;ja<T.length;ja++)"none"!=T[ja].style.display&&T[ja].parentNode==B&&ca++;G.style.display=0==ca?"block":"none"}function H(T,ca,ja,ma){function aa(){ca.removeChild(k);ca.removeChild(t);da.style.display="block";V.style.display="block"}l={div:ca,comment:T,saveCallback:ja,deleteOnCancel:ma};var V=ca.querySelector(".geCommentTxt"),da=ca.querySelector(".geCommentActionsList"),k=document.createElement("textarea");
+k.className="geCommentEditTxtArea";k.style.minHeight=V.offsetHeight+"px";k.value=T.content;ca.insertBefore(k,V);var t=document.createElement("div");t.className="geCommentEditBtns";var I=mxUtils.button(mxResources.get("cancel"),function(){ma?(ca.parentNode.removeChild(ca),C()):aa();l=null});I.className="geCommentEditBtn";t.appendChild(I);var R=mxUtils.button(mxResources.get("save"),function(){V.innerText="";T.content=k.value;mxUtils.write(V,T.content);aa();ja(T);l=null});mxEvent.addListener(k,"keydown",
+mxUtils.bind(this,function(O){mxEvent.isConsumed(O)||((mxEvent.isControlDown(O)||mxClient.IS_MAC&&mxEvent.isMetaDown(O))&&13==O.keyCode?(R.click(),mxEvent.consume(O)):27==O.keyCode&&(I.click(),mxEvent.consume(O)))}));R.focus();R.className="geCommentEditBtn gePrimaryBtn";t.appendChild(R);ca.insertBefore(t,V);da.style.display="none";V.style.display="none";k.focus()}function U(T,ca){ca.innerText="";T=new Date(T.modifiedDate);var ja=b.timeSince(T);null==ja&&(ja=mxResources.get("lessThanAMinute"));mxUtils.write(ca,
+mxResources.get("timeAgo",[ja],"{1} ago"));ca.setAttribute("title",T.toLocaleDateString()+" "+T.toLocaleTimeString())}function F(T){var ca=document.createElement("img");ca.className="geCommentBusyImg";ca.src=IMAGE_PATH+"/spin.gif";T.appendChild(ca);T.busyImg=ca}function K(T){T.style.border="1px solid red";T.busyImg.parentNode==T&&T.removeChild(T.busyImg)}function S(T){T.style.border="";T.busyImg.parentNode==T&&T.removeChild(T.busyImg)}function W(T,ca,ja,ma,aa){function V(Z,ba,ka){var qa=document.createElement("li");
+qa.className="geCommentAction";var pa=document.createElement("a");pa.className="geCommentActionLnk";mxUtils.write(pa,Z);qa.appendChild(pa);mxEvent.addListener(pa,"click",function(ra){ba(ra,T);ra.preventDefault();mxEvent.consume(ra)});X.appendChild(qa);ka&&(qa.style.display="none")}function da(){function Z(qa){ba.push(ka);if(null!=qa.replies)for(var pa=0;pa<qa.replies.length;pa++)ka=ka.nextSibling,Z(qa.replies[pa])}var ba=[],ka=t;Z(T);return{pdiv:ka,replies:ba}}function k(Z,ba,ka,qa,pa){function ra(){F(Aa);
+T.addReply(xa,function(Na){xa.id=Na;T.replies.push(xa);S(Aa);ka&&ka()},function(Na){ua();K(Aa);b.handleError(Na,null,null,null,mxUtils.htmlEntities(mxResources.get("objectNotFound")))},qa,pa)}function ua(){H(xa,Aa,function(Na){ra()},!0)}var Ba=da().pdiv,xa=b.newComment(Z,b.getCurrentUser());xa.pCommentId=T.id;null==T.replies&&(T.replies=[]);var Aa=W(xa,T.replies,Ba,ma+1);ba?ua():ra()}if(aa||!T.isResolved){G.style.display="none";var t=document.createElement("div");t.className="geCommentContainer";
t.setAttribute("data-commentId",T.id);t.style.marginLeft=20*ma+5+"px";T.isResolved&&!Editor.isDarkMode()&&(t.style.backgroundColor="ghostWhite");var I=document.createElement("div");I.className="geCommentHeader";var R=document.createElement("img");R.className="geCommentUserImg";R.src=null!=T.user&&null!=T.user.pictureUrl?T.user.pictureUrl:Editor.userImage;I.appendChild(R);R=document.createElement("div");R.className="geCommentHeaderTxt";I.appendChild(R);var O=document.createElement("div");O.className=
"geCommentUsername";mxUtils.write(O,null!=T.user?T.user.displayName:mxResources.get("unknownUser"));R.appendChild(O);O=document.createElement("div");O.className="geCommentDate";O.setAttribute("data-commentId",T.id);U(T,O);R.appendChild(O);t.appendChild(I);I=document.createElement("div");I.className="geCommentTxt";mxUtils.write(I,T.content||"");t.appendChild(I);T.isLocked&&(t.style.opacity="0.5");I=document.createElement("div");I.className="geCommentActions";var X=document.createElement("ul");X.className=
"geCommentActionsList";I.appendChild(X);c||T.isLocked||0!=ma&&!f||V(mxResources.get("reply"),function(){k("",!0)},T.isResolved);R=b.getCurrentUser();null==R||null==T.user||R.id!=T.user.id||c||T.isLocked||(V(mxResources.get("edit"),function(){function Z(){H(T,t,function(){F(t);T.editComment(T.content,function(){S(t)},function(ba){K(t);Z();b.handleError(ba,null,null,null,mxUtils.htmlEntities(mxResources.get("objectNotFound")))})})}Z()},T.isResolved),V(mxResources.get("delete"),function(){b.confirm(mxResources.get("areYouSure"),
function(){F(t);T.deleteComment(function(Z){if(!0===Z){Z=t.querySelector(".geCommentTxt");Z.innerText="";mxUtils.write(Z,mxResources.get("msgDeleted"));var ba=t.querySelectorAll(".geCommentAction");for(Z=0;Z<ba.length;Z++)ba[Z].parentNode.removeChild(ba[Z]);S(t);t.style.opacity="0.5"}else{ba=da(T).replies;for(Z=0;Z<ba.length;Z++)B.removeChild(ba[Z]);for(Z=0;Z<ca.length;Z++)if(ca[Z]==T){ca.splice(Z,1);break}G.style.display=0==B.getElementsByTagName("div").length?"block":"none"}},function(Z){K(t);b.handleError(Z,
-null,null,null,mxUtils.htmlEntities(mxResources.get("objectNotFound")))})})},T.isResolved));c||T.isLocked||0!=ma||V(T.isResolved?mxResources.get("reopen"):mxResources.get("resolve"),function(Z){function ba(){var la=Z.target;la.innerText="";T.isResolved=!T.isResolved;mxUtils.write(la,T.isResolved?mxResources.get("reopen"):mxResources.get("resolve"));for(var qa=T.isResolved?"none":"",pa=da(T).replies,ra=Editor.isDarkMode()?"transparent":T.isResolved?"ghostWhite":"white",ua=0;ua<pa.length;ua++){pa[ua].style.backgroundColor=
-ra;for(var Ba=pa[ua].querySelectorAll(".geCommentAction"),ya=0;ya<Ba.length;ya++)Ba[ya]!=la.parentNode&&(Ba[ya].style.display=qa);J||(pa[ua].style.display="none")}C()}T.isResolved?k(mxResources.get("reOpened")+": ",!0,ba,!1,!0):k(mxResources.get("markedAsResolved"),!1,ba,!0)});t.appendChild(I);null!=ka?B.insertBefore(t,ka.nextSibling):B.appendChild(t);for(ka=0;null!=T.replies&&ka<T.replies.length;ka++)I=T.replies[ka],I.isResolved=T.isResolved,W(I,T.replies,null,ma+1,aa);null!=l&&(l.comment.id==T.id?
+null,null,null,mxUtils.htmlEntities(mxResources.get("objectNotFound")))})})},T.isResolved));c||T.isLocked||0!=ma||V(T.isResolved?mxResources.get("reopen"):mxResources.get("resolve"),function(Z){function ba(){var ka=Z.target;ka.innerText="";T.isResolved=!T.isResolved;mxUtils.write(ka,T.isResolved?mxResources.get("reopen"):mxResources.get("resolve"));for(var qa=T.isResolved?"none":"",pa=da(T).replies,ra=Editor.isDarkMode()?"transparent":T.isResolved?"ghostWhite":"white",ua=0;ua<pa.length;ua++){pa[ua].style.backgroundColor=
+ra;for(var Ba=pa[ua].querySelectorAll(".geCommentAction"),xa=0;xa<Ba.length;xa++)Ba[xa]!=ka.parentNode&&(Ba[xa].style.display=qa);J||(pa[ua].style.display="none")}C()}T.isResolved?k(mxResources.get("reOpened")+": ",!0,ba,!1,!0):k(mxResources.get("markedAsResolved"),!1,ba,!0)});t.appendChild(I);null!=ja?B.insertBefore(t,ja.nextSibling):B.appendChild(t);for(ja=0;null!=T.replies&&ja<T.replies.length;ja++)I=T.replies[ja],I.isResolved=T.isResolved,W(I,T.replies,null,ma+1,aa);null!=l&&(l.comment.id==T.id?
(aa=T.content,T.content=l.comment.content,H(T,t,l.saveCallback,l.deleteOnCancel),T.content=aa):null==l.comment.id&&l.comment.pCommentId==T.id&&(B.appendChild(l.div),H(l.comment,l.div,l.saveCallback,l.deleteOnCancel)));return t}}var c=!b.canComment(),f=b.canReplyToReplies(),l=null,z=document.createElement("div");z.className="geCommentsWin";z.style.background=Editor.isDarkMode()?Editor.darkColor:"whiteSmoke";var A=EditorUi.compactUi?"26px":"30px",B=document.createElement("div");B.className="geCommentsList";
B.style.backgroundColor=Editor.isDarkMode()?Editor.darkColor:"whiteSmoke";B.style.bottom=parseInt(A)+7+"px";z.appendChild(B);var G=document.createElement("span");G.style.cssText="display:none;padding-top:10px;text-align:center;";mxUtils.write(G,mxResources.get("noCommentsFound"));var L=document.createElement("div");L.className="geToolbarContainer geCommentsToolbar";L.style.height=A;L.style.padding=EditorUi.compactUi?"4px 0px 3px 0px":"1px";A=document.createElement("a");A.className="geButton";if(!c){var P=
-A.cloneNode();P.innerHTML='<div class="geSprite geSprite-plus" style="display:inline-block;"></div>';P.setAttribute("title",mxResources.get("create")+"...");mxEvent.addListener(P,"click",function(T){function ca(){H(ka,ma,function(aa){F(ma);b.addComment(aa,function(V){aa.id=V;fa.push(aa);S(ma)},function(V){K(ma);ca();b.handleError(V,null,null,null,mxUtils.htmlEntities(mxResources.get("objectNotFound")))})},!0)}var ka=b.newComment("",b.getCurrentUser()),ma=W(ka,fa,null,0);ca();T.preventDefault();mxEvent.consume(T)});
+A.cloneNode();P.innerHTML='<div class="geSprite geSprite-plus" style="display:inline-block;"></div>';P.setAttribute("title",mxResources.get("create")+"...");mxEvent.addListener(P,"click",function(T){function ca(){H(ja,ma,function(aa){F(ma);b.addComment(aa,function(V){aa.id=V;fa.push(aa);S(ma)},function(V){K(ma);ca();b.handleError(V,null,null,null,mxUtils.htmlEntities(mxResources.get("objectNotFound")))})},!0)}var ja=b.newComment("",b.getCurrentUser()),ma=W(ja,fa,null,0);ca();T.preventDefault();mxEvent.consume(T)});
L.appendChild(P)}P=A.cloneNode();P.innerHTML='<img class="geAdaptiveAsset" src="'+IMAGE_PATH+'/check.png" style="width: 16px; padding: 2px;">';P.setAttribute("title",mxResources.get("showResolved"));P.className="geButton";var J=!1;mxEvent.addListener(P,"click",function(T){this.className=(J=!J)?"geButton geCheckedBtn":"geButton";ea();T.preventDefault();mxEvent.consume(T)});L.appendChild(P);b.commentsRefreshNeeded()&&(P=A.cloneNode(),P.innerHTML='<img class="geAdaptiveAsset" src="'+IMAGE_PATH+'/update16.png" style="width: 16px; padding: 2px;">',
P.setAttribute("title",mxResources.get("refresh")),P.className="geButton",mxEvent.addListener(P,"click",function(T){ea();T.preventDefault();mxEvent.consume(T)}),L.appendChild(P));b.commentsSaveNeeded()&&(A=A.cloneNode(),A.innerHTML='<img src="'+IMAGE_PATH+'/save.png" style="width: 20px; padding: 2px;">',A.setAttribute("title",mxResources.get("save")),A.className="geButton geAdaptiveAsset",mxEvent.addListener(A,"click",function(T){q();T.preventDefault();mxEvent.consume(T)}),L.appendChild(A));z.appendChild(L);
-var fa=[],ea=mxUtils.bind(this,function(){this.hasError=!1;if(null!=l)try{l.div=l.div.cloneNode(!0);var T=l.div.querySelector(".geCommentEditTxtArea"),ca=l.div.querySelector(".geCommentEditBtns");l.comment.content=T.value;T.parentNode.removeChild(T);ca.parentNode.removeChild(ca)}catch(ka){b.handleError(ka)}B.innerHTML='<div style="padding-top:10px;text-align:center;"><img src="'+IMAGE_PATH+'/spin.gif" valign="middle"> '+mxUtils.htmlEntities(mxResources.get("loading"))+"...</div>";f=b.canReplyToReplies();
-b.commentsSupported()?b.getComments(function(ka){function ma(aa){if(null!=aa){aa.sort(function(da,k){return new Date(da.modifiedDate)-new Date(k.modifiedDate)});for(var V=0;V<aa.length;V++)ma(aa[V].replies)}}ka.sort(function(aa,V){return new Date(aa.modifiedDate)-new Date(V.modifiedDate)});B.innerText="";B.appendChild(G);G.style.display="block";fa=ka;for(ka=0;ka<fa.length;ka++)ma(fa[ka].replies),W(fa[ka],fa,null,0,J);null!=l&&null==l.comment.id&&null==l.comment.pCommentId&&(B.appendChild(l.div),H(l.comment,
-l.div,l.saveCallback,l.deleteOnCancel))},mxUtils.bind(this,function(ka){B.innerHTML=mxUtils.htmlEntities(mxResources.get("error")+(ka&&ka.message?": "+ka.message:""));this.hasError=!0})):B.innerHTML=mxUtils.htmlEntities(mxResources.get("error"))});ea();this.refreshComments=ea;L=mxUtils.bind(this,function(){function T(V){var da=ka[V.id];if(null!=da)for(U(V,da),da=0;null!=V.replies&&da<V.replies.length;da++)T(V.replies[da])}if(this.window.isVisible()){for(var ca=B.querySelectorAll(".geCommentDate"),
-ka={},ma=0;ma<ca.length;ma++){var aa=ca[ma];ka[aa.getAttribute("data-commentId")]=aa}for(ma=0;ma<fa.length;ma++)T(fa[ma])}});setInterval(L,6E4);this.refreshCommentsTime=L;this.window=new mxWindow(mxResources.get("comments"),z,e,g,n,v,!0,!0);this.window.minimumSize=new mxRectangle(0,0,260,200);this.window.destroyOnClose=!1;this.window.setMaximizable(!1);this.window.setResizable(!0);this.window.setClosable(!0);this.window.setVisible(!0);this.window.addListener(mxEvent.SHOW,mxUtils.bind(this,function(){this.window.fit()}));
+var fa=[],ea=mxUtils.bind(this,function(){this.hasError=!1;if(null!=l)try{l.div=l.div.cloneNode(!0);var T=l.div.querySelector(".geCommentEditTxtArea"),ca=l.div.querySelector(".geCommentEditBtns");l.comment.content=T.value;T.parentNode.removeChild(T);ca.parentNode.removeChild(ca)}catch(ja){b.handleError(ja)}B.innerHTML='<div style="padding-top:10px;text-align:center;"><img src="'+IMAGE_PATH+'/spin.gif" valign="middle"> '+mxUtils.htmlEntities(mxResources.get("loading"))+"...</div>";f=b.canReplyToReplies();
+b.commentsSupported()?b.getComments(function(ja){function ma(aa){if(null!=aa){aa.sort(function(da,k){return new Date(da.modifiedDate)-new Date(k.modifiedDate)});for(var V=0;V<aa.length;V++)ma(aa[V].replies)}}ja.sort(function(aa,V){return new Date(aa.modifiedDate)-new Date(V.modifiedDate)});B.innerText="";B.appendChild(G);G.style.display="block";fa=ja;for(ja=0;ja<fa.length;ja++)ma(fa[ja].replies),W(fa[ja],fa,null,0,J);null!=l&&null==l.comment.id&&null==l.comment.pCommentId&&(B.appendChild(l.div),H(l.comment,
+l.div,l.saveCallback,l.deleteOnCancel))},mxUtils.bind(this,function(ja){B.innerHTML=mxUtils.htmlEntities(mxResources.get("error")+(ja&&ja.message?": "+ja.message:""));this.hasError=!0})):B.innerHTML=mxUtils.htmlEntities(mxResources.get("error"))});ea();this.refreshComments=ea;L=mxUtils.bind(this,function(){function T(V){var da=ja[V.id];if(null!=da)for(U(V,da),da=0;null!=V.replies&&da<V.replies.length;da++)T(V.replies[da])}if(this.window.isVisible()){for(var ca=B.querySelectorAll(".geCommentDate"),
+ja={},ma=0;ma<ca.length;ma++){var aa=ca[ma];ja[aa.getAttribute("data-commentId")]=aa}for(ma=0;ma<fa.length;ma++)T(fa[ma])}});setInterval(L,6E4);this.refreshCommentsTime=L;this.window=new mxWindow(mxResources.get("comments"),z,e,g,n,v,!0,!0);this.window.minimumSize=new mxRectangle(0,0,260,200);this.window.destroyOnClose=!1;this.window.setMaximizable(!1);this.window.setResizable(!0);this.window.setClosable(!0);this.window.setVisible(!0);this.window.addListener(mxEvent.SHOW,mxUtils.bind(this,function(){this.window.fit()}));
b.installResizeHandler(this,!0)},ConfirmDialog=function(b,e,g,n,v,q,C,H,U,F,K){var S=document.createElement("div");S.style.textAlign="center";K=null!=K?K:44;var W=document.createElement("div");W.style.padding="6px";W.style.overflow="auto";W.style.maxHeight=K+"px";W.style.lineHeight="1.2em";mxUtils.write(W,e);S.appendChild(W);null!=F&&(W=document.createElement("div"),W.style.padding="6px 0 6px 0",e=document.createElement("img"),e.setAttribute("src",F),W.appendChild(e),S.appendChild(W));F=document.createElement("div");
F.style.textAlign="center";F.style.whiteSpace="nowrap";var c=document.createElement("input");c.setAttribute("type","checkbox");q=mxUtils.button(q||mxResources.get("cancel"),function(){b.hideDialog();null!=n&&n(c.checked)});q.className="geBtn";null!=H&&(q.innerHTML=H+"<br>"+q.innerHTML,q.style.paddingBottom="8px",q.style.paddingTop="8px",q.style.height="auto",q.style.width="40%");b.editor.cancelFirst&&F.appendChild(q);var f=mxUtils.button(v||mxResources.get("ok"),function(){b.hideDialog();null!=g&&
g(c.checked)});F.appendChild(f);null!=C?(f.innerHTML=C+"<br>"+f.innerHTML+"<br>",f.style.paddingBottom="8px",f.style.paddingTop="8px",f.style.height="auto",f.className="geBtn",f.style.width="40%"):f.className="geBtn gePrimaryBtn";b.editor.cancelFirst||F.appendChild(q);S.appendChild(F);U?(F.style.marginTop="10px",W=document.createElement("p"),W.style.marginTop="20px",W.style.marginBottom="0px",W.appendChild(c),v=document.createElement("span"),mxUtils.write(v," "+mxResources.get("rememberThisSetting")),
@@ -4100,12 +4098,12 @@ function(F){return this.isTreeEdge(F)}))};Graph.prototype.getIncomingTreeEdges=f
(V="1"==f.getCurrentCellStyle(aa).treeMoving);return V}function q(aa){var V=!1;null!=aa&&(aa=l.getParent(aa),V=f.view.getState(aa),V="tree"==(null!=V?V.style:f.getCellStyle(aa)).containerType);return V}function C(aa){var V=!1;null!=aa&&(aa=l.getParent(aa),V=f.view.getState(aa),f.view.getState(aa),V=null!=(null!=V?V.style:f.getCellStyle(aa)).childLayout);return V}function H(aa){aa=f.view.getState(aa);if(null!=aa){var V=f.getIncomingTreeEdges(aa.cell);if(0<V.length&&(V=f.view.getState(V[0]),null!=V&&
(V=V.absolutePoints,null!=V&&0<V.length&&(V=V[V.length-1],null!=V)))){if(V.y==aa.y&&Math.abs(V.x-aa.getCenterX())<aa.width/2)return mxConstants.DIRECTION_SOUTH;if(V.y==aa.y+aa.height&&Math.abs(V.x-aa.getCenterX())<aa.width/2)return mxConstants.DIRECTION_NORTH;if(V.x>aa.getCenterX())return mxConstants.DIRECTION_WEST}}return mxConstants.DIRECTION_EAST}function U(aa,V){V=null!=V?V:!0;f.model.beginUpdate();try{var da=f.model.getParent(aa),k=f.getIncomingTreeEdges(aa),t=f.cloneCells([k[0],aa]);f.model.setTerminal(t[0],
f.model.getTerminal(k[0],!0),!0);var I=H(aa),R=da.geometry;I==mxConstants.DIRECTION_SOUTH||I==mxConstants.DIRECTION_NORTH?t[1].geometry.x+=V?aa.geometry.width+10:-t[1].geometry.width-10:t[1].geometry.y+=V?aa.geometry.height+10:-t[1].geometry.height-10;f.view.currentRoot!=da&&(t[1].geometry.x-=R.x,t[1].geometry.y-=R.y);var O=f.view.getState(aa),X=f.view.scale;if(null!=O){var Z=mxRectangle.fromRectangle(O);I==mxConstants.DIRECTION_SOUTH||I==mxConstants.DIRECTION_NORTH?Z.x+=(V?aa.geometry.width+10:-t[1].geometry.width-
-10)*X:Z.y+=(V?aa.geometry.height+10:-t[1].geometry.height-10)*X;var ba=f.getOutgoingTreeEdges(f.model.getTerminal(k[0],!0));if(null!=ba){for(var la=I==mxConstants.DIRECTION_SOUTH||I==mxConstants.DIRECTION_NORTH,qa=R=k=0;qa<ba.length;qa++){var pa=f.model.getTerminal(ba[qa],!1);if(I==H(pa)){var ra=f.view.getState(pa);pa!=aa&&null!=ra&&(la&&V!=ra.getCenterX()<O.getCenterX()||!la&&V!=ra.getCenterY()<O.getCenterY())&&mxUtils.intersects(Z,ra)&&(k=10+Math.max(k,(Math.min(Z.x+Z.width,ra.x+ra.width)-Math.max(Z.x,
-ra.x))/X),R=10+Math.max(R,(Math.min(Z.y+Z.height,ra.y+ra.height)-Math.max(Z.y,ra.y))/X))}}la?R=0:k=0;for(qa=0;qa<ba.length;qa++)if(pa=f.model.getTerminal(ba[qa],!1),I==H(pa)&&(ra=f.view.getState(pa),pa!=aa&&null!=ra&&(la&&V!=ra.getCenterX()<O.getCenterX()||!la&&V!=ra.getCenterY()<O.getCenterY()))){var ua=[];f.traverse(ra.cell,!0,function(Ba,ya){var Aa=null!=ya&&f.isTreeEdge(ya);Aa&&ua.push(ya);(null==ya||Aa)&&ua.push(Ba);return null==ya||Aa});f.moveCells(ua,(V?1:-1)*k,(V?1:-1)*R)}}}return f.addCells(t,
-da)}finally{f.model.endUpdate()}}function F(aa){f.model.beginUpdate();try{var V=H(aa),da=f.getIncomingTreeEdges(aa),k=f.cloneCells([da[0],aa]);f.model.setTerminal(da[0],k[1],!1);f.model.setTerminal(k[0],k[1],!0);f.model.setTerminal(k[0],aa,!1);var t=f.model.getParent(aa),I=t.geometry,R=[];f.view.currentRoot!=t&&(k[1].geometry.x-=I.x,k[1].geometry.y-=I.y);f.traverse(aa,!0,function(Z,ba){var la=null!=ba&&f.isTreeEdge(ba);la&&R.push(ba);(null==ba||la)&&R.push(Z);return null==ba||la});var O=aa.geometry.width+
+10)*X:Z.y+=(V?aa.geometry.height+10:-t[1].geometry.height-10)*X;var ba=f.getOutgoingTreeEdges(f.model.getTerminal(k[0],!0));if(null!=ba){for(var ka=I==mxConstants.DIRECTION_SOUTH||I==mxConstants.DIRECTION_NORTH,qa=R=k=0;qa<ba.length;qa++){var pa=f.model.getTerminal(ba[qa],!1);if(I==H(pa)){var ra=f.view.getState(pa);pa!=aa&&null!=ra&&(ka&&V!=ra.getCenterX()<O.getCenterX()||!ka&&V!=ra.getCenterY()<O.getCenterY())&&mxUtils.intersects(Z,ra)&&(k=10+Math.max(k,(Math.min(Z.x+Z.width,ra.x+ra.width)-Math.max(Z.x,
+ra.x))/X),R=10+Math.max(R,(Math.min(Z.y+Z.height,ra.y+ra.height)-Math.max(Z.y,ra.y))/X))}}ka?R=0:k=0;for(qa=0;qa<ba.length;qa++)if(pa=f.model.getTerminal(ba[qa],!1),I==H(pa)&&(ra=f.view.getState(pa),pa!=aa&&null!=ra&&(ka&&V!=ra.getCenterX()<O.getCenterX()||!ka&&V!=ra.getCenterY()<O.getCenterY()))){var ua=[];f.traverse(ra.cell,!0,function(Ba,xa){var Aa=null!=xa&&f.isTreeEdge(xa);Aa&&ua.push(xa);(null==xa||Aa)&&ua.push(Ba);return null==xa||Aa});f.moveCells(ua,(V?1:-1)*k,(V?1:-1)*R)}}}return f.addCells(t,
+da)}finally{f.model.endUpdate()}}function F(aa){f.model.beginUpdate();try{var V=H(aa),da=f.getIncomingTreeEdges(aa),k=f.cloneCells([da[0],aa]);f.model.setTerminal(da[0],k[1],!1);f.model.setTerminal(k[0],k[1],!0);f.model.setTerminal(k[0],aa,!1);var t=f.model.getParent(aa),I=t.geometry,R=[];f.view.currentRoot!=t&&(k[1].geometry.x-=I.x,k[1].geometry.y-=I.y);f.traverse(aa,!0,function(Z,ba){var ka=null!=ba&&f.isTreeEdge(ba);ka&&R.push(ba);(null==ba||ka)&&R.push(Z);return null==ba||ka});var O=aa.geometry.width+
40,X=aa.geometry.height+40;V==mxConstants.DIRECTION_SOUTH?O=0:V==mxConstants.DIRECTION_NORTH?(O=0,X=-X):V==mxConstants.DIRECTION_WEST?(O=-O,X=0):V==mxConstants.DIRECTION_EAST&&(X=0);f.moveCells(R,O,X);return f.addCells(k,t)}finally{f.model.endUpdate()}}function K(aa,V){f.model.beginUpdate();try{var da=f.model.getParent(aa),k=f.getIncomingTreeEdges(aa),t=H(aa);0==k.length&&(k=[f.createEdge(da,null,"",null,null,f.createCurrentEdgeStyle())],t=V);var I=f.cloneCells([k[0],aa]);f.model.setTerminal(I[0],
-aa,!0);null==f.model.getTerminal(I[0],!1)&&(f.model.setTerminal(I[0],I[1],!1),f.applyNewEdgeStyle(I[1],[I[0]],t));k=f.getOutgoingTreeEdges(aa);var R=da.geometry;V=[];f.view.currentRoot==da&&(R=new mxRectangle);for(var O=0;O<k.length;O++){var X=f.model.getTerminal(k[O],!1);null!=X&&V.push(X)}var Z=f.view.getBounds(V),ba=f.view.translate,la=f.view.scale;t==mxConstants.DIRECTION_SOUTH?(I[1].geometry.x=null==Z?aa.geometry.x+(aa.geometry.width-I[1].geometry.width)/2:(Z.x+Z.width)/la-ba.x-R.x+10,I[1].geometry.y+=
-I[1].geometry.height-R.y+40):t==mxConstants.DIRECTION_NORTH?(I[1].geometry.x=null==Z?aa.geometry.x+(aa.geometry.width-I[1].geometry.width)/2:(Z.x+Z.width)/la-ba.x+-R.x+10,I[1].geometry.y-=I[1].geometry.height+R.y+40):(I[1].geometry.x=t==mxConstants.DIRECTION_WEST?I[1].geometry.x-(I[1].geometry.width+R.x+40):I[1].geometry.x+(I[1].geometry.width-R.x+40),I[1].geometry.y=null==Z?aa.geometry.y+(aa.geometry.height-I[1].geometry.height)/2:(Z.y+Z.height)/la-ba.y+-R.y+10);return f.addCells(I,da)}finally{f.model.endUpdate()}}
+aa,!0);null==f.model.getTerminal(I[0],!1)&&(f.model.setTerminal(I[0],I[1],!1),f.applyNewEdgeStyle(I[1],[I[0]],t));k=f.getOutgoingTreeEdges(aa);var R=da.geometry;V=[];f.view.currentRoot==da&&(R=new mxRectangle);for(var O=0;O<k.length;O++){var X=f.model.getTerminal(k[O],!1);null!=X&&V.push(X)}var Z=f.view.getBounds(V),ba=f.view.translate,ka=f.view.scale;t==mxConstants.DIRECTION_SOUTH?(I[1].geometry.x=null==Z?aa.geometry.x+(aa.geometry.width-I[1].geometry.width)/2:(Z.x+Z.width)/ka-ba.x-R.x+10,I[1].geometry.y+=
+I[1].geometry.height-R.y+40):t==mxConstants.DIRECTION_NORTH?(I[1].geometry.x=null==Z?aa.geometry.x+(aa.geometry.width-I[1].geometry.width)/2:(Z.x+Z.width)/ka-ba.x+-R.x+10,I[1].geometry.y-=I[1].geometry.height+R.y+40):(I[1].geometry.x=t==mxConstants.DIRECTION_WEST?I[1].geometry.x-(I[1].geometry.width+R.x+40):I[1].geometry.x+(I[1].geometry.width-R.x+40),I[1].geometry.y=null==Z?aa.geometry.y+(aa.geometry.height-I[1].geometry.height)/2:(Z.y+Z.height)/ka-ba.y+-R.y+10);return f.addCells(I,da)}finally{f.model.endUpdate()}}
function S(aa,V,da){aa=f.getOutgoingTreeEdges(aa);da=f.view.getState(da);var k=[];if(null!=da&&null!=aa){for(var t=0;t<aa.length;t++){var I=f.view.getState(f.model.getTerminal(aa[t],!1));null!=I&&(!V&&Math.min(I.x+I.width,da.x+da.width)>=Math.max(I.x,da.x)||V&&Math.min(I.y+I.height,da.y+da.height)>=Math.max(I.y,da.y))&&k.push(I)}k.sort(function(R,O){return V?R.x+R.width-O.x-O.width:R.y+R.height-O.y-O.height})}return k}function W(aa,V){var da=H(aa),k=V==mxConstants.DIRECTION_EAST||V==mxConstants.DIRECTION_WEST;
(da==mxConstants.DIRECTION_EAST||da==mxConstants.DIRECTION_WEST)==k&&da!=V?c.actions.get("selectParent").funct():da==V?(V=f.getOutgoingTreeEdges(aa),null!=V&&0<V.length&&f.setSelectionCell(f.model.getTerminal(V[0],!1))):(da=f.getIncomingTreeEdges(aa),null!=da&&0<da.length&&(k=S(f.model.getTerminal(da[0],!0),k,aa),aa=f.view.getState(aa),null!=aa&&(aa=mxUtils.indexOf(k,aa),0<=aa&&(aa+=V==mxConstants.DIRECTION_NORTH||V==mxConstants.DIRECTION_WEST?-1:1,0<=aa&&aa<=k.length-1&&f.setSelectionCell(k[aa].cell)))))}
var c=this,f=c.editor.graph,l=f.getModel(),z=c.menus.createPopupMenu;c.menus.createPopupMenu=function(aa,V,da){z.apply(this,arguments);if(1==f.getSelectionCount()){V=f.getSelectionCell();var k=f.getOutgoingTreeEdges(V);aa.addSeparator();0<k.length&&(n(f.getSelectionCell())&&this.addMenuItems(aa,["selectChildren"],null,da),this.addMenuItems(aa,["selectDescendants"],null,da));n(f.getSelectionCell())?(aa.addSeparator(),0<f.getIncomingTreeEdges(V).length&&this.addMenuItems(aa,["selectSiblings","selectParent"],
@@ -4115,9 +4113,9 @@ f.getIncomingTreeEdges(V),null!=aa&&0<aa.length?f.setSelectionCell(f.model.getTe
(aa=f.model.getChildren(f.model.getParent(V)));f.setSelectionCells(aa)}},null,null,"Alt+Shift+S");var A=f.removeCells;f.removeCells=function(aa,V){V=null!=V?V:!0;null==aa&&(aa=this.getDeletableCells(this.getSelectionCells()));V&&(aa=this.getDeletableCells(this.addAllEdges(aa)));for(var da=[],k=0;k<aa.length;k++){var t=aa[k];l.isEdge(t)&&q(t)&&(da.push(t),t=l.getTerminal(t,!1));if(n(t)){var I=[];f.traverse(t,!0,function(R,O){var X=null!=O&&f.isTreeEdge(O);X&&I.push(O);(null==O||X)&&I.push(R);return null==
O||X});0<I.length&&(da=da.concat(I),t=f.getIncomingTreeEdges(aa[k]),aa=aa.concat(t))}else null!=t&&da.push(aa[k])}aa=da;return A.apply(this,arguments)};c.hoverIcons.getStateAt=function(aa,V,da){return n(aa.cell)?null:this.graph.view.getState(this.graph.getCellAt(V,da))};var B=f.duplicateCells;f.duplicateCells=function(aa,V){aa=null!=aa?aa:this.getSelectionCells();for(var da=aa.slice(0),k=0;k<da.length;k++){var t=f.view.getState(da[k]);if(null!=t&&n(t.cell)){var I=f.getIncomingTreeEdges(t.cell);for(t=
0;t<I.length;t++)mxUtils.remove(I[t],aa)}}this.model.beginUpdate();try{var R=B.call(this,aa,V);if(R.length==aa.length)for(k=0;k<aa.length;k++)if(n(aa[k])){var O=f.getIncomingTreeEdges(R[k]);I=f.getIncomingTreeEdges(aa[k]);if(0==O.length&&0<I.length){var X=this.cloneCell(I[0]);this.addEdge(X,f.getDefaultParent(),this.model.getTerminal(I[0],!0),R[k])}}}finally{this.model.endUpdate()}return R};var G=f.moveCells;f.moveCells=function(aa,V,da,k,t,I,R){for(var O=null,X=[],Z=0;Z<aa.length;Z++)(v(aa[Z])||
-n(aa[Z]))&&!C(aa[Z])&&this.isCellCollapsed(aa[Z])?X=X.concat(this.getSubtree(aa[Z])):X.push(aa[Z]);aa=mxUtils.removeDuplicates(X);this.model.beginUpdate();try{X=t;var ba=this.getCurrentCellStyle(t);if(null!=aa&&n(t)&&"1"==mxUtils.getValue(ba,"treeFolding","0")){for(Z=0;Z<aa.length;Z++)if(n(aa[Z])||f.model.isEdge(aa[Z])&&null==f.model.getTerminal(aa[Z],!0)){t=f.model.getParent(aa[Z]);break}if(null!=X&&t!=X&&null!=this.view.getState(aa[0])){var la=f.getIncomingTreeEdges(aa[0]);if(0<la.length){var qa=
-f.view.getState(f.model.getTerminal(la[0],!0));if(null!=qa){var pa=f.view.getState(X);null!=pa&&(V=(pa.getCenterX()-qa.getCenterX())/f.view.scale,da=(pa.getCenterY()-qa.getCenterY())/f.view.scale)}}}}O=G.apply(this,arguments);if(null!=O&&null!=aa&&O.length==aa.length)for(Z=0;Z<O.length;Z++)if(this.model.isEdge(O[Z]))n(X)&&0>mxUtils.indexOf(O,this.model.getTerminal(O[Z],!0))&&this.model.setTerminal(O[Z],X,!0);else if(n(aa[Z])&&(la=f.getIncomingTreeEdges(aa[Z]),0<la.length))if(!k)n(X)&&0>mxUtils.indexOf(aa,
-this.model.getTerminal(la[0],!0))&&this.model.setTerminal(la[0],X,!0);else if(0==f.getIncomingTreeEdges(O[Z]).length){ba=X;if(null==ba||ba==f.model.getParent(aa[Z]))ba=f.model.getTerminal(la[0],!0);k=this.cloneCell(la[0]);this.addEdge(k,f.getDefaultParent(),ba,O[Z])}}finally{this.model.endUpdate()}return O};if(null!=c.sidebar){var L=c.sidebar.dropAndConnect;c.sidebar.dropAndConnect=function(aa,V,da,k){var t=f.model,I=null;t.beginUpdate();try{if(I=L.apply(this,arguments),n(aa))for(var R=0;R<I.length;R++)if(t.isEdge(I[R])&&
+n(aa[Z]))&&!C(aa[Z])&&this.isCellCollapsed(aa[Z])?X=X.concat(this.getSubtree(aa[Z])):X.push(aa[Z]);aa=mxUtils.removeDuplicates(X);this.model.beginUpdate();try{X=t;var ba=this.getCurrentCellStyle(t);if(null!=aa&&n(t)&&"1"==mxUtils.getValue(ba,"treeFolding","0")){for(Z=0;Z<aa.length;Z++)if(n(aa[Z])||f.model.isEdge(aa[Z])&&null==f.model.getTerminal(aa[Z],!0)){t=f.model.getParent(aa[Z]);break}if(null!=X&&t!=X&&null!=this.view.getState(aa[0])){var ka=f.getIncomingTreeEdges(aa[0]);if(0<ka.length){var qa=
+f.view.getState(f.model.getTerminal(ka[0],!0));if(null!=qa){var pa=f.view.getState(X);null!=pa&&(V=(pa.getCenterX()-qa.getCenterX())/f.view.scale,da=(pa.getCenterY()-qa.getCenterY())/f.view.scale)}}}}O=G.apply(this,arguments);if(null!=O&&null!=aa&&O.length==aa.length)for(Z=0;Z<O.length;Z++)if(this.model.isEdge(O[Z]))n(X)&&0>mxUtils.indexOf(O,this.model.getTerminal(O[Z],!0))&&this.model.setTerminal(O[Z],X,!0);else if(n(aa[Z])&&(ka=f.getIncomingTreeEdges(aa[Z]),0<ka.length))if(!k)n(X)&&0>mxUtils.indexOf(aa,
+this.model.getTerminal(ka[0],!0))&&this.model.setTerminal(ka[0],X,!0);else if(0==f.getIncomingTreeEdges(O[Z]).length){ba=X;if(null==ba||ba==f.model.getParent(aa[Z]))ba=f.model.getTerminal(ka[0],!0);k=this.cloneCell(ka[0]);this.addEdge(k,f.getDefaultParent(),ba,O[Z])}}finally{this.model.endUpdate()}return O};if(null!=c.sidebar){var L=c.sidebar.dropAndConnect;c.sidebar.dropAndConnect=function(aa,V,da,k){var t=f.model,I=null;t.beginUpdate();try{if(I=L.apply(this,arguments),n(aa))for(var R=0;R<I.length;R++)if(t.isEdge(I[R])&&
null==t.getTerminal(I[R],!0)){t.setTerminal(I[R],aa,!0);var O=f.getCellGeometry(I[R]);O.points=null;null!=O.getTerminalPoint(!0)&&O.setTerminalPoint(null,!0)}}finally{t.endUpdate()}return I}}var P={67:c.actions.get("selectChildren"),88:c.actions.get("selectDescendants"),80:c.actions.get("selectParent"),83:c.actions.get("selectSiblings")},J={67:c.actions.get("copyStyle"),86:c.actions.get("pasteStyle")},fa=c.onKeyDown;c.onKeyDown=function(aa){try{var V=f.getSelectionCell();if(f.isEnabled()&&!f.isEditing()&&
null!=V){var da=mxEvent.isAltDown(aa)&&mxEvent.isShiftDown(aa)?P[aa.keyCode]:mxEvent.isAltDown(aa)?J[aa.keyCode]:null;null!=da?(da.funct(aa),mxEvent.consume(aa)):n(V)&&(da=null,0<f.getIncomingTreeEdges(V).length&&(9==aa.which?da=mxEvent.isShiftDown(aa)?F(V):K(V):13==aa.which&&(da=U(V,!mxEvent.isShiftDown(aa)))),null!=da&&0<da.length?(1==da.length&&f.model.isEdge(da[0])?f.setSelectionCell(f.model.getTerminal(da[0],!1)):f.setSelectionCell(da[da.length-1]),null!=c.hoverIcons&&c.hoverIcons.update(f.view.getState(V)),
f.startEditingAtCell(V),mxEvent.consume(aa)):37==aa.keyCode?(W(V,mxConstants.DIRECTION_WEST),mxEvent.consume(aa)):38==aa.keyCode?(W(V,mxConstants.DIRECTION_NORTH),mxEvent.consume(aa)):39==aa.keyCode?(W(V,mxConstants.DIRECTION_EAST),mxEvent.consume(aa)):40==aa.keyCode&&(W(V,mxConstants.DIRECTION_SOUTH),mxEvent.consume(aa)))}}catch(k){c.handleError(k)}mxEvent.isConsumed(aa)||fa.apply(this,arguments)};var ea=f.connectVertex;f.connectVertex=function(aa,V,da,k,t,I,R){var O=f.getIncomingTreeEdges(aa);if(n(aa)){var X=
@@ -4125,7 +4123,7 @@ H(aa),Z=X==mxConstants.DIRECTION_EAST||X==mxConstants.DIRECTION_WEST,ba=V==mxCon
k||t});return V};var T=mxVertexHandler.prototype.refresh;mxVertexHandler.prototype.refresh=function(){T.apply(this,arguments);(v(this.state.cell)||n(this.state.cell))&&!C(this.state.cell)&&0<this.graph.getOutgoingTreeEdges(this.state.cell).length&&!this.graph.isCellCollapsed(this.state.cell)?null==this.moveHandle&&(this.moveHandle=mxUtils.createImage(Editor.moveImage),this.moveHandle.setAttribute("title","Move Subtree"),this.moveHandle.style.position="absolute",this.moveHandle.style.cursor="pointer",
this.moveHandle.style.width="24px",this.moveHandle.style.height="24px",this.graph.container.appendChild(this.moveHandle),this.redrawMoveHandle(),mxEvent.addGestureListeners(this.moveHandle,mxUtils.bind(this,function(aa){this.graph.graphHandler.start(this.state.cell,mxEvent.getClientX(aa),mxEvent.getClientY(aa),this.graph.getSubtree(this.state.cell));this.graph.graphHandler.cellWasClicked=!0;this.graph.isMouseTrigger=mxEvent.isMouseEvent(aa);this.graph.isMouseDown=!0;c.hoverIcons.reset();mxEvent.consume(aa)}))):
null!=this.moveHandle&&(this.moveHandle.parentNode.removeChild(this.moveHandle),this.moveHandle=null)};var ca=mxVertexHandler.prototype.redrawHandles;mxVertexHandler.prototype.redrawHandles=function(){ca.apply(this,arguments);this.redrawMoveHandle()};mxVertexHandler.prototype.redrawMoveHandle=function(){null!=this.moveHandle&&(this.moveHandle.style.left=this.state.x+this.state.width+(40>this.state.width?10:0)+2+"px",this.moveHandle.style.top=this.state.y+this.state.height+(40>this.state.height?10:
-0)+2+"px")};var ka=mxVertexHandler.prototype.setHandlesVisible;mxVertexHandler.prototype.setHandlesVisible=function(aa){ka.apply(this,arguments);null!=this.moveHandle&&(this.moveHandle.style.display=aa?"":"none")};var ma=mxVertexHandler.prototype.destroy;mxVertexHandler.prototype.destroy=function(aa,V){ma.apply(this,arguments);null!=this.moveHandle&&(this.moveHandle.parentNode.removeChild(this.moveHandle),this.moveHandle=null)}};if("undefined"!==typeof Sidebar){var g=Sidebar.prototype.createAdvancedShapes;
+0)+2+"px")};var ja=mxVertexHandler.prototype.setHandlesVisible;mxVertexHandler.prototype.setHandlesVisible=function(aa){ja.apply(this,arguments);null!=this.moveHandle&&(this.moveHandle.style.display=aa?"":"none")};var ma=mxVertexHandler.prototype.destroy;mxVertexHandler.prototype.destroy=function(aa,V){ma.apply(this,arguments);null!=this.moveHandle&&(this.moveHandle.parentNode.removeChild(this.moveHandle),this.moveHandle=null)}};if("undefined"!==typeof Sidebar){var g=Sidebar.prototype.createAdvancedShapes;
Sidebar.prototype.createAdvancedShapes=function(){var n=g.apply(this,arguments),v=this.graph,q=this;return n.concat([this.addEntry("tree container",function(){var C=new mxCell("Tree Container",new mxGeometry(0,0,400,320),"swimlane;startSize=20;horizontal=1;containerType=tree;");C.vertex=!0;var H=new mxCell("Parent",new mxGeometry(140,60,120,40),'whiteSpace=wrap;html=1;treeFolding=1;treeMoving=1;newEdgeStyle={"edgeStyle":"elbowEdgeStyle","startArrow":"none","endArrow":"none"};');H.vertex=!0;var U=
new mxCell("Child",new mxGeometry(140,140,120,40),'whiteSpace=wrap;html=1;treeFolding=1;treeMoving=1;newEdgeStyle={"edgeStyle":"elbowEdgeStyle","startArrow":"none","endArrow":"none"};');U.vertex=!0;var F=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=elbowEdgeStyle;elbow=vertical;sourcePerimeterSpacing=0;targetPerimeterSpacing=0;startArrow=none;endArrow=none;rounded=0;curved=0;");F.geometry.relative=!0;F.edge=!0;H.insertEdge(F,!0);U.insertEdge(F,!1);C.insert(F);C.insert(H);C.insert(U);return q.createVertexTemplateFromCells([C],
C.geometry.width,C.geometry.height,C.value)}),this.addEntry("tree mindmap mindmaps central idea branch topic",function(){var C=new mxCell("Mindmap",new mxGeometry(0,0,420,126),"swimlane;startSize=20;horizontal=1;containerType=tree;");C.vertex=!0;var H=new mxCell("Central Idea",new mxGeometry(160,60,100,40),'ellipse;whiteSpace=wrap;html=1;align=center;treeFolding=1;treeMoving=1;newEdgeStyle={"edgeStyle":"entityRelationEdgeStyle","startArrow":"none","endArrow":"none","segment":10,"curved":1,"sourcePerimeterSpacing":0,"targetPerimeterSpacing":0};');
@@ -4162,26 +4160,26 @@ EditorUi.prototype.chromelessWindowResize=function(){};var F=Menus.prototype.ini
mxResources.get("mermaid")+"...","mermaid");W.showDialog(l.container,620,420,!0,!1);l.init()}));var c="horizontalFlow verticalFlow - horizontalTree verticalTree radialTree - organic circle".split(" "),f=function(l,z,A,B){l.addItem(A,null,mxUtils.bind(this,function(){var G=new CreateGraphDialog(W,A,B);W.showDialog(G.container,620,420,!0,!1);G.init()}),z)};this.put("insertLayout",new Menu(mxUtils.bind(this,function(l,z){for(var A=0;A<c.length;A++)"-"==c[A]?l.addSeparator(z):f(l,z,mxResources.get(c[A])+
"...",c[A])})))};EditorUi.prototype.installFormatToolbar=function(W){var c=this.editor.graph,f=document.createElement("div");f.style.cssText="position:absolute;top:10px;z-index:1;border-radius:4px;box-shadow:0px 0px 3px 1px #d1d1d1;padding:6px;white-space:nowrap;background-color:#fff;transform:translate(-50%, 0);left:50%;";c.getSelectionModel().addListener(mxEvent.CHANGE,mxUtils.bind(this,function(l,z){0<c.getSelectionCount()?(W.appendChild(f),f.innerHTML="Selected: "+c.getSelectionCount()):null!=
f.parentNode&&f.parentNode.removeChild(f)}))};var K=!1;EditorUi.prototype.initFormatWindow=function(){if(!K&&null!=this.formatWindow){K=!0;var W=this.formatWindow.window.toggleMinimized,c=240;this.formatWindow.window.toggleMinimized=function(){W.apply(this,arguments);this.minimized?(c=parseInt(this.div.style.width),this.div.style.width="140px",this.table.style.width="140px",this.div.style.left=parseInt(this.div.style.left)+c-140+"px"):(this.div.style.width=c+"px",this.table.style.width=this.div.style.width,
-this.div.style.left=Math.max(0,parseInt(this.div.style.left)-c+140)+"px");this.fit()};mxEvent.addListener(this.formatWindow.window.title,"dblclick",mxUtils.bind(this,function(f){mxEvent.getSource(f)==this.formatWindow.window.title&&this.formatWindow.window.toggleMinimized()}))}};var S=EditorUi.prototype.init;EditorUi.prototype.init=function(){function W(la,qa,pa){var ra=B.menus.get(la),ua=J.addMenu(mxResources.get(la),mxUtils.bind(this,function(){ua.classList.contains("mxDisabled")||ra.funct.apply(this,
-arguments)}),P);ua.className="geMenuItem";ua.style.display="inline-block";ua.style.boxSizing="border-box";ua.style.top="6px";ua.style.marginRight="6px";ua.style.height="30px";ua.style.paddingTop="6px";ua.style.paddingBottom="6px";ua.style.cursor="pointer";ua.setAttribute("title",mxResources.get(la));B.menus.menuCreated(ra,ua,"geMenuItem");null!=pa?(ua.style.backgroundImage="url("+pa+")",ua.style.backgroundPosition="center center",ua.style.backgroundRepeat="no-repeat",ua.style.backgroundSize="24px 24px",
-ua.style.width="34px",ua.innerText=""):qa||(ua.style.backgroundImage="url("+mxWindow.prototype.normalizeImage+")",ua.style.backgroundPosition="right 6px center",ua.style.backgroundRepeat="no-repeat",ua.style.paddingRight="22px");return ua}function c(la,qa,pa,ra,ua,Ba){var ya=document.createElement("a");ya.className="geMenuItem";ya.style.display="inline-block";ya.style.boxSizing="border-box";ya.style.height="30px";ya.style.padding="6px";ya.style.position="relative";ya.style.verticalAlign="top";ya.style.top=
-"0px";null!=B.statusContainer?L.insertBefore(ya,B.statusContainer):L.appendChild(ya);null!=Ba?(ya.style.backgroundImage="url("+Ba+")",ya.style.backgroundPosition="center center",ya.style.backgroundRepeat="no-repeat",ya.style.backgroundSize="24px 24px",ya.style.width="34px"):mxUtils.write(ya,la);mxEvent.addListener(ya,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(Aa){Aa.preventDefault()}));mxEvent.addListener(ya,"click",function(Aa){"disabled"!=ya.getAttribute("disabled")&&
-qa(Aa);mxEvent.consume(Aa)});null==pa&&(ya.style.marginRight="4px");null!=ra&&ya.setAttribute("title",ra);null!=ua&&(la=function(){ua.isEnabled()?(ya.removeAttribute("disabled"),ya.style.cursor="pointer"):(ya.setAttribute("disabled","disabled"),ya.style.cursor="default")},ua.addListener("stateChanged",la),G.addListener("enabledChanged",la),la());return ya}function f(la,qa,pa){pa=document.createElement("div");pa.className="geMenuItem";pa.style.display="inline-block";pa.style.verticalAlign="top";pa.style.marginRight=
-"6px";pa.style.padding="0 4px 0 4px";pa.style.height="30px";pa.style.position="relative";pa.style.top="0px";for(var ra=0;ra<la.length;ra++)null!=la[ra]&&(la[ra].style.margin="0px",la[ra].style.boxShadow="none",pa.appendChild(la[ra]));null!=qa&&mxUtils.setOpacity(pa,qa);null!=B.statusContainer?L.insertBefore(pa,B.statusContainer):L.appendChild(pa);return pa}function l(){for(var la=L.firstChild;null!=la;){var qa=la.nextSibling;"geMenuItem"!=la.className&&"geItem"!=la.className||la.parentNode.removeChild(la);
-la=qa}P=L.firstChild;n=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth;la=1E3>n;var pa=null;la||(pa=W("diagram"));qa=la?W("diagram",null,Editor.menuImage):null;null!=qa&&(pa=qa);f([pa,c(mxResources.get("shapes"),B.actions.get("toggleShapes").funct,null,mxResources.get("shapes"),B.actions.get("image"),la?Editor.shapesImage:null),c(mxResources.get("format"),B.actions.get("format").funct,null,mxResources.get("format")+" ("+B.actions.get("format").shortcut+")",B.actions.get("image"),
-la?Editor.formatImage:null)],la?60:null);qa=W("insert",!0,la?T:null);f([qa,c(mxResources.get("delete"),B.actions.get("delete").funct,null,mxResources.get("delete"),B.actions.get("delete"),la?Editor.trashImage:null)],la?60:null);G.isEnabled()||qa.classList.add("mxDisabled");411<=n&&(f([R,O],60),520<=n&&f([X,640<=n?c("",V.funct,!0,mxResources.get("zoomIn")+" ("+Editor.ctrlKey+" +)",V,Editor.zoomInImage):null,640<=n?c("",da.funct,!0,mxResources.get("zoomOut")+" ("+Editor.ctrlKey+" -)",da,Editor.zoomOutImage):
+this.div.style.left=Math.max(0,parseInt(this.div.style.left)-c+140)+"px");this.fit()};mxEvent.addListener(this.formatWindow.window.title,"dblclick",mxUtils.bind(this,function(f){mxEvent.getSource(f)==this.formatWindow.window.title&&this.formatWindow.window.toggleMinimized()}))}};var S=EditorUi.prototype.init;EditorUi.prototype.init=function(){function W(ka,qa,pa){var ra=B.menus.get(ka),ua=J.addMenu(mxResources.get(ka),mxUtils.bind(this,function(){ua.classList.contains("mxDisabled")||ra.funct.apply(this,
+arguments)}),P);ua.className="geMenuItem";ua.style.display="inline-block";ua.style.boxSizing="border-box";ua.style.top="6px";ua.style.marginRight="6px";ua.style.height="30px";ua.style.paddingTop="6px";ua.style.paddingBottom="6px";ua.style.cursor="pointer";ua.setAttribute("title",mxResources.get(ka));B.menus.menuCreated(ra,ua,"geMenuItem");null!=pa?(ua.style.backgroundImage="url("+pa+")",ua.style.backgroundPosition="center center",ua.style.backgroundRepeat="no-repeat",ua.style.backgroundSize="24px 24px",
+ua.style.width="34px",ua.innerText=""):qa||(ua.style.backgroundImage="url("+mxWindow.prototype.normalizeImage+")",ua.style.backgroundPosition="right 6px center",ua.style.backgroundRepeat="no-repeat",ua.style.paddingRight="22px");return ua}function c(ka,qa,pa,ra,ua,Ba){var xa=document.createElement("a");xa.className="geMenuItem";xa.style.display="inline-block";xa.style.boxSizing="border-box";xa.style.height="30px";xa.style.padding="6px";xa.style.position="relative";xa.style.verticalAlign="top";xa.style.top=
+"0px";null!=B.statusContainer?L.insertBefore(xa,B.statusContainer):L.appendChild(xa);null!=Ba?(xa.style.backgroundImage="url("+Ba+")",xa.style.backgroundPosition="center center",xa.style.backgroundRepeat="no-repeat",xa.style.backgroundSize="24px 24px",xa.style.width="34px"):mxUtils.write(xa,ka);mxEvent.addListener(xa,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(Aa){Aa.preventDefault()}));mxEvent.addListener(xa,"click",function(Aa){"disabled"!=xa.getAttribute("disabled")&&
+qa(Aa);mxEvent.consume(Aa)});null==pa&&(xa.style.marginRight="4px");null!=ra&&xa.setAttribute("title",ra);null!=ua&&(ka=function(){ua.isEnabled()?(xa.removeAttribute("disabled"),xa.style.cursor="pointer"):(xa.setAttribute("disabled","disabled"),xa.style.cursor="default")},ua.addListener("stateChanged",ka),G.addListener("enabledChanged",ka),ka());return xa}function f(ka,qa,pa){pa=document.createElement("div");pa.className="geMenuItem";pa.style.display="inline-block";pa.style.verticalAlign="top";pa.style.marginRight=
+"6px";pa.style.padding="0 4px 0 4px";pa.style.height="30px";pa.style.position="relative";pa.style.top="0px";for(var ra=0;ra<ka.length;ra++)null!=ka[ra]&&(ka[ra].style.margin="0px",ka[ra].style.boxShadow="none",pa.appendChild(ka[ra]));null!=qa&&mxUtils.setOpacity(pa,qa);null!=B.statusContainer?L.insertBefore(pa,B.statusContainer):L.appendChild(pa);return pa}function l(){for(var ka=L.firstChild;null!=ka;){var qa=ka.nextSibling;"geMenuItem"!=ka.className&&"geItem"!=ka.className||ka.parentNode.removeChild(ka);
+ka=qa}P=L.firstChild;n=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth;ka=1E3>n;var pa=null;ka||(pa=W("diagram"));qa=ka?W("diagram",null,Editor.menuImage):null;null!=qa&&(pa=qa);f([pa,c(mxResources.get("shapes"),B.actions.get("toggleShapes").funct,null,mxResources.get("shapes"),B.actions.get("image"),ka?Editor.shapesImage:null),c(mxResources.get("format"),B.actions.get("format").funct,null,mxResources.get("format")+" ("+B.actions.get("format").shortcut+")",B.actions.get("image"),
+ka?Editor.formatImage:null)],ka?60:null);qa=W("insert",!0,ka?T:null);f([qa,c(mxResources.get("delete"),B.actions.get("delete").funct,null,mxResources.get("delete"),B.actions.get("delete"),ka?Editor.trashImage:null)],ka?60:null);G.isEnabled()||qa.classList.add("mxDisabled");411<=n&&(f([R,O],60),520<=n&&f([X,640<=n?c("",V.funct,!0,mxResources.get("zoomIn")+" ("+Editor.ctrlKey+" +)",V,Editor.zoomInImage):null,640<=n?c("",da.funct,!0,mxResources.get("zoomOut")+" ("+Editor.ctrlKey+" -)",da,Editor.zoomOutImage):
null],60))}S.apply(this,arguments);var z=Editor.enableCustomLibraries&&("1"!=urlParams.embed||"1"==urlParams.libraries),A=document.createElement("div");A.style.cssText="position:absolute;left:0px;right:0px;top:0px;overflow-y:auto;overflow-x:hidden;";A.style.bottom=z?"32px":"0px";this.sidebar=this.createSidebar(A);if(1E3<=n||null!=urlParams.clibs||null!=urlParams.libs||null!=urlParams["search-shapes"])g(this,!0),null!=this.sidebar&&null!=urlParams["search-shapes"]&&null!=this.sidebar.searchShapes&&
(this.sidebar.searchShapes(urlParams["search-shapes"]),this.sidebar.showEntries("search"));EditorUi.windowed&&1E3<=n&&(b(this,!0),this.formatWindow.window.setVisible(!0));var B=this,G=B.editor.graph;B.toolbar=this.createToolbar(B.createDiv("geToolbar"));B.defaultLibraryName=mxResources.get("untitledLibrary");var L=document.createElement("div");L.className="geMenubarContainer";var P=null,J=new Menubar(B,L);B.statusContainer=B.createStatusContainer();B.statusContainer.style.position="relative";B.statusContainer.style.maxWidth=
-"";B.statusContainer.style.color="gray";B.statusContainer.style.cursor="default";var fa=B.hideCurrentMenu;B.hideCurrentMenu=function(){fa.apply(this,arguments);this.editor.graph.popupMenuHandler.hideMenu()};var ea=B.descriptorChanged;B.descriptorChanged=function(){ea.apply(this,arguments);var la=B.getCurrentFile();if(null!=la&&null!=la.getTitle()){var qa=la.getMode();"google"==qa?qa="googleDrive":"github"==qa?qa="gitHub":"gitlab"==qa?qa="gitLab":"onedrive"==qa&&(qa="oneDrive");qa=mxResources.get(qa);
-L.setAttribute("title",la.getTitle()+(null!=qa?" ("+qa+")":""))}else L.removeAttribute("title")};B.setStatusText(B.editor.getStatus());L.appendChild(B.statusContainer);B.buttonContainer=document.createElement("div");B.buttonContainer.style.cssText="display:flex;justify-content:flex-end;padding-right:10px;gap:6px;white-space:nowrap;background-color:inherit;align-items:center;min-width:0;margin-left:auto;";L.appendChild(B.buttonContainer);B.menubarContainer=B.buttonContainer;B.tabContainer=document.createElement("div");
+"";B.statusContainer.style.color="gray";B.statusContainer.style.cursor="default";var fa=B.hideCurrentMenu;B.hideCurrentMenu=function(){fa.apply(this,arguments);this.editor.graph.popupMenuHandler.hideMenu()};var ea=B.descriptorChanged;B.descriptorChanged=function(){ea.apply(this,arguments);var ka=B.getCurrentFile();if(null!=ka&&null!=ka.getTitle()){var qa=ka.getMode();"google"==qa?qa="googleDrive":"github"==qa?qa="gitHub":"gitlab"==qa?qa="gitLab":"onedrive"==qa&&(qa="oneDrive");qa=mxResources.get(qa);
+L.setAttribute("title",ka.getTitle()+(null!=qa?" ("+qa+")":""))}else L.removeAttribute("title")};B.setStatusText(B.editor.getStatus());L.appendChild(B.statusContainer);B.buttonContainer=document.createElement("div");B.buttonContainer.style.cssText="display:flex;justify-content:flex-end;padding-right:10px;gap:6px;white-space:nowrap;background-color:inherit;align-items:center;min-width:0;margin-left:auto;";L.appendChild(B.buttonContainer);B.menubarContainer=B.buttonContainer;B.tabContainer=document.createElement("div");
B.tabContainer.className="geTabContainer geTabItem";B.tabContainer.style.cssText="position:absolute;left:0px;right:0px;bottom:0px;height:30px;white-space:nowrap;visibility:hidden;";z=B.diagramContainer.parentNode;A=document.createElement("div");A.style.cssText="position:absolute;top:0px;left:0px;right:0px;bottom:0px;overflow:hidden;";B.diagramContainer.style.top="47px";var T=Editor.addBoxImage;if(null!=B.hoverIcons){var ca=B.hoverIcons.update;B.hoverIcons.update=function(){G.freehand.isDrawing()||
-ca.apply(this,arguments)}}if(null!=G.freehand){var ka=G.freehand.createStyle;G.freehand.createStyle=function(la){return ka.apply(this,arguments)+"sketch=0;"}}B.editor.addListener("statusChanged",mxUtils.bind(this,function(){B.setStatusText(B.editor.getStatus())}));B.setStatusText(B.editor.getStatus());var ma=B.menus.get("viewZoom");if(null!=ma){var aa=function(la){if(mxEvent.isAltDown(la))B.hideCurrentMenu(),B.actions.get("customZoom").funct(),mxEvent.consume(la);else if("geMenuItem"==mxEvent.getSource(la).className||
-mxEvent.isShiftDown(la))B.hideCurrentMenu(),B.actions.get("smartFit").funct(),mxEvent.consume(la)},V=B.actions.get("zoomIn"),da=B.actions.get("zoomOut"),k=B.actions.get("resetView"),t=B.actions.get("undo"),I=B.actions.get("redo"),R=c("",t.funct,null,mxResources.get("undo")+" ("+t.shortcut+")",t,Editor.undoImage),O=c("",I.funct,null,mxResources.get("redo")+" ("+I.shortcut+")",I,Editor.redoImage),X=c("",aa,!0,mxResources.get("fit")+" ("+Editor.ctrlKey+"+H)",k,Editor.zoomFitImage);L.style.cssText="position:absolute;left:0px;right:0px;top:0px;height:30px;padding:8px;text-align:left;white-space:nowrap;";
+ca.apply(this,arguments)}}if(null!=G.freehand){var ja=G.freehand.createStyle;G.freehand.createStyle=function(ka){return ja.apply(this,arguments)+"sketch=0;"}}B.editor.addListener("statusChanged",mxUtils.bind(this,function(){B.setStatusText(B.editor.getStatus())}));B.setStatusText(B.editor.getStatus());var ma=B.menus.get("viewZoom");if(null!=ma){var aa=function(ka){if(mxEvent.isAltDown(ka))B.hideCurrentMenu(),B.actions.get("customZoom").funct(),mxEvent.consume(ka);else if("geMenuItem"==mxEvent.getSource(ka).className||
+mxEvent.isShiftDown(ka))B.hideCurrentMenu(),B.actions.get("smartFit").funct(),mxEvent.consume(ka)},V=B.actions.get("zoomIn"),da=B.actions.get("zoomOut"),k=B.actions.get("resetView"),t=B.actions.get("undo"),I=B.actions.get("redo"),R=c("",t.funct,null,mxResources.get("undo")+" ("+t.shortcut+")",t,Editor.undoImage),O=c("",I.funct,null,mxResources.get("redo")+" ("+I.shortcut+")",I,Editor.redoImage),X=c("",aa,!0,mxResources.get("fit")+" ("+Editor.ctrlKey+"+H)",k,Editor.zoomFitImage);L.style.cssText="position:absolute;left:0px;right:0px;top:0px;height:30px;padding:8px;text-align:left;white-space:nowrap;";
this.tabContainer.style.right="70px";var Z=J.addMenu("100%",ma.funct);Z.setAttribute("title",mxResources.get("zoom")+" (Alt+Mousewheel)");Z.className="geTabItem";Z.style.height=B.tabContainerHeight+"px";Z.style.position="absolute";Z.style.display="0"!=urlParams.pages?"flex":"none";Z.style.alignItems="center";Z.style.justifyContent="center";Z.style.paddingRight="11px";Z.style.whiteSpace="nowrap";Z.style.overflow="hidden";Z.style.fontSize="11px";Z.style.width="51px";Z.style.right="0px";Z.style.bottom=
-"0px";Z.style.boxSizing="content-box";Z.style.backgroundImage="url("+mxWindow.prototype.minimizeImage+")";Z.style.backgroundPosition="right 6px top 15px";Z.style.backgroundRepeat="no-repeat";Z.style.backgroundSize="10px";Z.style.zIndex="1";A.appendChild(Z);(function(la){mxEvent.addListener(la,"click",aa);var qa=mxUtils.bind(this,function(pa,ra,ua){la.innerText="";mxUtils.write(la,Math.round(100*B.editor.graph.view.scale*(null!=ua?ua:1))+"%")});B.editor.graph.view.addListener(mxEvent.EVENT_SCALE,qa);
+"0px";Z.style.boxSizing="content-box";Z.style.backgroundImage="url("+mxWindow.prototype.minimizeImage+")";Z.style.backgroundPosition="right 6px top 15px";Z.style.backgroundRepeat="no-repeat";Z.style.backgroundSize="10px";Z.style.zIndex="1";A.appendChild(Z);(function(ka){mxEvent.addListener(ka,"click",aa);var qa=mxUtils.bind(this,function(pa,ra,ua){ka.innerText="";mxUtils.write(ka,Math.round(100*B.editor.graph.view.scale*(null!=ua?ua:1))+"%")});B.editor.graph.view.addListener(mxEvent.EVENT_SCALE,qa);
B.editor.addListener("resetGraphView",qa);B.editor.addListener("pageSelected",qa);B.editor.graph.addListener("zoomPreview",mxUtils.bind(this,function(pa,ra){qa(pa,ra,ra.getProperty("factor"))}))})(Z);var ba=B.setGraphEnabled;B.setGraphEnabled=function(){ba.apply(this,arguments);null!=this.tabContainer&&(Z.style.visibility=this.tabContainer.style.visibility,this.diagramContainer.style.bottom="0"!=urlParams.pages&&"hidden"!=this.tabContainer.style.visibility?this.tabContainerHeight+"px":"0px")}}A.appendChild(L);
A.appendChild(B.diagramContainer);z.appendChild(A);B.updateTabContainer();!EditorUi.windowed&&1E3<=n&&b(this,!0);A.appendChild(B.tabContainer);l();B.addListener("lockedChanged",l);mxEvent.addListener(window,"resize",function(){l();null!=B.sidebarWindow&&B.sidebarWindow.window.fit();null!=B.formatWindow&&B.formatWindow.window.fit();null!=B.actions.outlineWindow&&B.actions.outlineWindow.window.fit();null!=B.actions.layersWindow&&B.actions.layersWindow.window.fit();null!=B.menus.chatWindow&&B.menus.chatWindow.window.fit();
-null!=B.menus.tagsWindow&&B.menus.tagsWindow.window.fit();null!=B.menus.findWindow&&B.menus.findWindow.window.fit();null!=B.menus.findReplaceWindow&&B.menus.findReplaceWindow.window.fit()})}}};(function(){var b=!1;"min"!=uiTheme||b||mxClient.IS_CHROMEAPP||(EditorUi.initMinimalTheme(),b=!0);var e=EditorUi.initTheme;EditorUi.initTheme=function(){e.apply(this,arguments);"min"!=uiTheme||b||(this.initMinimalTheme(),b=!0)}})();DrawioComment=function(b,e,g,n,v,q,C){this.file=b;this.id=e;this.content=g;this.modifiedDate=n;this.createdDate=v;this.isResolved=q;this.user=C;this.replies=[]};DrawioComment.prototype.addReplyDirect=function(b){null!=b&&this.replies.push(b)};DrawioComment.prototype.addReply=function(b,e,g,n,v){e()};DrawioComment.prototype.editComment=function(b,e,g){e()};DrawioComment.prototype.deleteComment=function(b,e){b()};DrawioUser=function(b,e,g,n,v){this.id=b;this.email=e;this.displayName=g;this.pictureUrl=n;this.locale=v};mxResources.parse('# *DO NOT DIRECTLY EDIT THIS FILE, IT IS AUTOMATICALLY GENERATED AND IT IS BASED ON:*\n# https://docs.google.com/spreadsheet/ccc?key=0AmQEO36liL4FdDJLWVNMaVV2UmRKSnpXU09MYkdGbEE\nabout=About\naboutDrawio=About draw.io\naccessDenied=Access Denied\naccounts=Accounts\naction=Action\nactualSize=Actual Size\nadd=Add\naddAccount=Add account\naddedFile=Added {1}\naddImages=Add Images\naddImageUrl=Add Image URL\naddLayer=Add Layer\naddProperty=Add Property\naddress=Address\naddToExistingDrawing=Add to Existing Drawing\naddToScratchpad=Add to Scratchpad\naddWaypoint=Add Waypoint\nadjustTo=Adjust to\nadvanced=Advanced\nsmartTemplate=Smart Template\nalign=Align\nalignment=Alignment\nallChangesLost=All changes will be lost!\nallPages=All Pages\nallProjects=All Projects\nallSpaces=All Spaces\nallTags=All Tags\nanchor=Anchor\nandroid=Android\nangle=Angle\nanimations=Animations\narc=Arc\nareYouSure=Are you sure?\nensureDataSaved=Please ensure your data is saved before closing.\nallChangesSaved=All changes saved\nallChangesSavedInDrive=All changes saved in Drive\nallowPopups=Allow pop-ups to avoid this dialog.\nallowRelativeUrl=Allow relative URL\nalreadyConnected=Nodes already connected\nappearance=Appearance\napply=Apply\narchiMate21=ArchiMate 2.1\narrange=Arrange\narrow=Arrow\narrows=Arrows\naskMeAnything=Ask me anything\nasNew=As New\natlas=Atlas\nauthor=Author\nauthorizationRequired=Authorization required\nauthorizeThisAppIn=Authorize this app in {1}:\nauthorize=Authorize\nauthorizing=Authorizing\nautomatic=Automatic\nautosave=Autosave\nautosize=Autosize\nattachments=Attachments\naws=AWS\naws3d=AWS 3D\nazure=Azure\nback=Back\nbackground=Background\nbackgroundColor=Background Color\nbackgroundImage=Background Image\nbasic=Basic\nbeta=beta\nblankDrawing=Blank Drawing\nblankDiagram=Blank Diagram\nblock=Block\nblockquote=Blockquote\nblog=Blog\nbold=Bold\nbootstrap=Bootstrap\nborder=Border\nborderColor=Border Color\nborderWidth=Border Width\nbottom=Bottom\nbottomAlign=Bottom Align\nbottomLeft=Bottom Left\nbottomRight=Bottom Right\nbpmn=BPMN\nbringForward=Bring Forward\nbrowser=Browser\nbulletedList=Bulleted List\nbusiness=Business\nbusy=Operation in progress\ncabinets=Cabinets\ncancel=Cancel\ncenter=Center\ncannotLoad=Load attempts failed. Please try again later.\ncannotLogin=Log in attempts failed. Please try again later.\ncannotOpenFile=Cannot open file\nchange=Change\nchangeOrientation=Change Orientation\nchangeUser=Change user\nchangeStorage=Change storage\nchangesNotSaved=Changes have not been saved\nclassDiagram=Class Diagram\nuserJoined={1} has joined\nuserLeft={1} has left\nchatWindowTitle=Chat\nchooseAnOption=Choose an option\nchromeApp=Chrome App\ncollaborativeEditingNotice=Important Notice for Collaborative Editing\ncompare=Compare\ncompressed=Compressed\ncommitMessage=Commit Message\nconfigLinkWarn=This link configures draw.io. Only click OK if you trust whoever gave you it!\nconfigLinkConfirm=Click OK to configure and restart draw.io.\ncontainer=Container\ncsv=CSV\ndark=Dark\ndiagramLanguage=Diagram Language\ndiagramType=Diagram type\ndiagramXmlDesc=XML File\ndiagramHtmlDesc=HTML File\ndiagramPngDesc=Editable Bitmap Image\ndiagramSvgDesc=Editable Vector Image\ndidYouMeanToExportToPdf=Did you mean to export to PDF?\ndisabled=Disabled\ndraftFound=A draft for \'{1}\' has been found. Load it into the editor or discard it to continue.\ndraftRevisionMismatch=There is a different version of this diagram on a shared draft of this page. Please edit the diagram from the draft to ensure you are working with the latest version.\nselectDraft=Select a draft to continue editing:\ndragAndDropNotSupported=Drag and drop not supported for images. Would you like to import instead?\ndropboxCharsNotAllowed=The following characters are not allowed: / : ? * " |\ncheck=Check\nchecksum=Checksum\ncircle=Circle\ncisco=Cisco\nclassic=Classic\nclearDefaultStyle=Clear Default Style\nclearWaypoints=Clear Waypoints\nclipart=Clipart\nclose=Close\nclosingFile=Closing file\nrealtimeCollaboration=Real-Time Collaboration\ncollaborate=Collaborate\ncollaborator=Collaborator\ncollaborators=Collaborators\ncollapse=Collapse\ncollapseExpand=Collapse/Expand\ncollapse-expand=Click to collapse/expand\nShift-click to move neighbors \nAlt-click to protect group size\ncollapsible=Collapsible\ncomic=Comic\ncomment=Comment\ncommentsNotes=Comments/Notes\ncompress=Compress\nconfiguration=Configuration\nconnect=Connect\nconnecting=Connecting\nconnectWithDrive=Connect with Google Drive\nconnection=Connection\nconnectionArrows=Connection Arrows\nconnectionPoints=Connection Points\nconstrainProportions=Constrain Proportions\ncontainsValidationErrors=Contains validation errors\ncopiedToClipboard=Copied to clipboard\ncopy=Copy\ncopyConnect=Copy on connect\ncopyCreated=A copy of the file was created.\ncopyData=Copy Data\ncopyOf=Copy of {1}\ncopyOfDrawing=Copy of Drawing\ncopySize=Copy Size\ncopyStyle=Copy Style\ncreate=Create\ncreateBlankDiagram=Create Blank Diagram\ncreateNewDiagram=Create New Diagram\ncreateRevision=Create Revision\ncreateShape=Create Shape\ncrop=Crop\ncurved=Curved\ncustom=Custom\ncurrent=Current\ncurrentPage=Current page\ncut=Cut\ndashed=Dashed\ndecideLater=Decide later\ndefault=Default\ndelete=Delete\ndeleteAll=Delete all\ndeleteColumn=Delete column\ndeleteLibrary401=Insufficient permissions to delete this library\ndeleteLibrary404=Selected library could not be found\ndeleteLibrary500=Error deleting library\ndeleteLibraryConfirm=You are about to permanently delete this library. Are you sure you want to do this?\ndeleteRow=Delete Row\ndescription=Description\ndescribeYourDiagram=Describe your diagram\ndevice=Device\ndiagram=Diagram\ndiagramContent=Diagram Content\ndiagramLocked=Diagram has been locked to prevent further data loss.\ndiagramLockedBySince=The diagram is locked by {1} since {2} ago\ndiagramName=Diagram Name\ndiagramIsPublic=Diagram is public\ndiagramIsNotPublic=Diagram is not public\ndiamond=Diamond\ndiamondThin=Diamond (thin)\ndidYouKnow=Did you know...\ndirection=Direction\ndiscard=Discard\ndiscardChangesAndReconnect=Discard Changes and Reconnect\ngoogleDriveMissingClickHere=Google Drive missing? Click here!\ndiscardChanges=Discard Changes\ndisconnected=Disconnected\ndistribute=Distribute\ndone=Done\ndoNotShowAgain=Do not show again\ndotted=Dotted\ndoubleClickOrientation=Doubleclick to change orientation\ndoubleClickTooltip=Doubleclick to insert text\ndoubleClickChangeProperty=Doubleclick to change property name\ndownload=Download\ndownloadDesktop=Get Desktop\ndownloadAs=Download as\nclickHereToSave=Click here to save.\ndpi=DPI\ndraftDiscarded=Draft discarded\ndraftSaved=Draft saved\ndragElementsHere=Drag elements here\ndragImagesHere=Drag images or URLs here\ndragUrlsHere=Drag URLs here\ndraw.io=draw.io\ndrawing=Drawing{1}\ndrawingEmpty=Drawing is empty\ndrawingTooLarge=Drawing is too large\ndrawioForWork=Draw.io for GSuite\ndropbox=Dropbox\nduplicate=Duplicate\nduplicateIt=Duplicate {1}\ndivider=Divider\ndx=Dx\ndy=Dy\neast=East\nedit=Edit\neditData=Edit Data\neditDiagram=Edit Diagram\neditGeometry=Edit Geometry\neditImage=Edit Image\neditImageUrl=Edit Image URL\neditLink=Edit Link\neditShape=Edit Shape\neditStyle=Edit Style\neditText=Edit Text\neditTooltip=Edit Tooltip\nglass=Glass\ngoogleImages=Google Images\nimageSearch=Image Search\neip=EIP\nembed=Embed\nembedFonts=Embed Fonts\nembedImages=Embed Images\nmainEmbedNotice=Paste this into the page\nelectrical=Electrical\nellipse=Ellipse\nembedNotice=Paste this once at the end of the page\nenterGroup=Enter Group\nenterName=Enter Name\nenterPropertyName=Enter Property Name\nenterValue=Enter Value\nentityRelation=Entity Relation\nentityRelationshipDiagram=Entity Relationship Diagram\nerror=Error\nerrorDeletingFile=Error deleting file\nerrorLoadingFile=Error loading file\nerrorRenamingFile=Error renaming file\nerrorRenamingFileNotFound=Error renaming file. File was not found.\nerrorRenamingFileForbidden=Error renaming file. Insufficient access rights.\nerrorSavingDraft=Error saving draft\nerrorSavingFile=Error saving file\nerrorSavingFileUnknown=Error authorizing with Google\'s servers. Please refresh the page to re-attempt.\nerrorSavingFileForbidden=Error saving file. Insufficient access rights.\nerrorSavingFileNameConflict=Could not save diagram. Current page already contains file named \'{1}\'.\nerrorSavingFileNotFound=Error saving file. File was not found.\nerrorSavingFileReadOnlyMode=Could not save diagram while read-only mode is active.\nerrorSavingFileSessionTimeout=Your session has ended. Please <a target=\'_blank\' href=\'{1}\'>{2}</a> and return to this tab to try to save again.\nerrorSendingFeedback=Error sending feedback.\nerrorUpdatingPreview=Error updating preview.\nexit=Exit\nexitGroup=Exit Group\nexpand=Expand\nexplore=Explore\nexport=Export\nexporting=Exporting\nexportAs=Export as\nexportOptionsDisabled=Export options disabled\nexportOptionsDisabledDetails=The owner has disabled options to download, print or copy for commenters and viewers on this file.\nexternalChanges=External Changes\nextras=Extras\nfacebook=Facebook\nfailedToSaveTryReconnect=Failed to save, trying to reconnect\nfeatureRequest=Feature Request\nfeedback=Feedback\nfeedbackSent=Feedback successfully sent.\nfloorplans=Floorplans\nfile=File\nfileChangedOverwriteDialog=The file has been modified. Do you want to save the file and overwrite those changes?\nfileChangedSyncDialog=The file has been modified.\nfileChangedSync=The file has been modified. Click here to synchronize.\noverwrite=Overwrite\nsynchronize=Synchronize\nfilename=Filename\nfileExists=File already exists\nfileMovedToTrash=File was moved to trash\nfileNearlyFullSeeFaq=File nearly full, please see FAQ\nfileNotFound=File not found\nrepositoryNotFound=Repository not found\nfileNotFoundOrDenied=The file was not found. It does not exist or you do not have access.\nfileNotLoaded=File not loaded\nfileNotSaved=File not saved\nfileOpenLocation=How would you like to open these file(s)?\nfiletypeHtml=.html causes file to save as HTML with redirect to cloud URL\nfiletypePng=.png causes file to save as PNG with embedded data\nfiletypeSvg=.svg causes file to save as SVG with embedded data\nfileWillBeSavedInAppFolder={1} will be saved in the app folder.\nfill=Fill\nfillColor=Fill Color\nfilterCards=Filter Cards\nfind=Find\nfit=Fit\nfitContainer=Resize Container\nfitIntoContainer=Fit into Container\nfitPage=Fit Page\nfitPageWidth=Fit Page Width\nfitTo=Fit to\nfitToSheetsAcross=sheet(s) across\nfitToBy=by\nfitToSheetsDown=sheet(s) down\nfitTwoPages=Two Pages\nfitWindow=Fit Window\nflip=Flip\nflipH=Flip Horizontal\nflipV=Flip Vertical\nflowAnimation=Flow Animation\nflowchart=Flowchart\nfolder=Folder\nfont=Font\nfontColor=Font Color\nfontFamily=Font Family\nfontSize=Font Size\nforbidden=You are not authorized to access this file\nformat=Format\nformatPanel=Format Panel\nformatted=Formatted\nformattedText=Formatted Text\nformatPng=PNG\nformatGif=GIF\nformatJpg=JPEG\nformatPdf=PDF\nformatSql=SQL\nformatSvg=SVG\nformatHtmlEmbedded=HTML\nformatSvgEmbedded=SVG (with XML)\nformatVsdx=VSDX\nformatVssx=VSSX\nformatWebp=WebP\nformatXmlPlain=XML (Plain)\nformatXml=XML\nforum=Discussion/Help Forums\nfreehand=Freehand\nfromTemplate=From Template\nfromTemplateUrl=From Template URL\nfromText=From Text\nfromUrl=From URL\nfromThisPage=From this page\nfullscreen=Fullscreen\ngap=Gap\ngcp=GCP\ngeneral=General\ngetNotionChromeExtension=Get the Notion Chrome Extension\ngithub=GitHub\ngitlab=GitLab\ngliffy=Gliffy\nglobal=Global\ngoogleDocs=Google Docs\ngoogleDrive=Google Drive\ngoogleGadget=Google Gadget\ngoogleSharingNotAvailable=Sharing is only available via Google Drive. Please click Open below and share from the more actions menu:\ngoogleSlides=Google Slides\ngoogleSites=Google Sites\ngoogleSheets=Google Sheets\ngradient=Gradient\ngradientColor=Color\ngrid=Grid\ngridColor=Grid Color\ngridSize=Grid Size\ngroup=Group\nguides=Guides\nhateApp=I hate draw.io\nheading=Heading\nheight=Height\nhelp=Help\nhelpTranslate=Help us translate this application\nhide=Hide\nhideIt=Hide {1}\nhidden=Hidden\nhighContrast=High Contrast\nhome=Home\nhorizontal=Horizontal\nhorizontalFlow=Horizontal Flow\nhorizontalTree=Horizontal Tree\nhowTranslate=How good is the translation in your language?\nhtml=HTML\nhtmlText=HTML Text\nid=ID\niframe=IFrame\nignore=Ignore\nimage=Image\nimageUrl=Image URL\nimages=Images\nimagePreviewError=This image couldn\'t be loaded for preview. Please check the URL.\nimageTooBig=Image too big\nimgur=Imgur\nimport=Import\nimportFrom=Import from\nimproveContrast=Improve Contrast\nincludeCopyOfMyDiagram=Include a copy of my diagram\nincreaseIndent=Increase Indent\ndecreaseIndent=Decrease Indent\ninsert=Insert\ninsertColumnBefore=Insert Column Left\ninsertColumnAfter=Insert Column Right\ninsertEllipse=Insert Ellipse\ninsertImage=Insert Image\ninsertHorizontalRule=Insert Horizontal Rule\ninsertLink=Insert Link\ninsertPage=Insert Page\ninsertRectangle=Insert Rectangle\ninsertRhombus=Insert Rhombus\ninsertRowBefore=Insert Row Above\ninsertRowAfter=Insert Row After\ninsertText=Insert Text\ninserting=Inserting\ninstallApp=Install App\ninvalidFilename=Diagram names must not contain the following characters: / | : ; { } < > & + ? = "\ninvalidLicenseSeeThisPage=Your license is invalid, please see this <a target="_blank" href="https://www.drawio.com/doc/faq/license-drawio-confluence-jira-cloud">page</a>.\ninvalidInput=Invalid input\ninvalidName=Invalid name\ninvalidOrMissingFile=Invalid or missing file\ninvalidPublicUrl=Invalid public URL\nisometric=Isometric\nios=iOS\nitalic=Italic\nkennedy=Kennedy\nkeyboardShortcuts=Keyboard Shortcuts\nlabels=Labels\nlayers=Layers\nlandscape=Landscape\nlanguage=Language\nleanMapping=Lean Mapping\nlastChange=Last change {1} ago\nlessThanAMinute=less than a minute\nlicensingError=Licensing Error\nlicenseHasExpired=The license for {1} has expired on {2}. Click here.\nlicenseRequired=This feature requires draw.io to be licensed.\nlicenseWillExpire=The license for {1} will expire on {2}. Click here.\nlight=Light\nlineJumps=Line jumps\nlinkAccountRequired=If the diagram is not public a Google account is required to view the link.\nlinkText=Link Text\nlist=List\nminute=minute\nminutes=minutes\nhours=hours\ndays=days\nmonths=months\nyears=years\nrestartForChangeRequired=Changes will take effect after a restart of the application.\nlaneColor=Lanecolor\nlanguageCode=Language Code\nlastModified=Last modified\nlayout=Layout\nleft=Left\nleftAlign=Left Align\nleftToRight=Left to right\nlibraryTooltip=Drag and drop shapes here or click + to insert. Double click to edit.\nlightbox=Lightbox\nline=Line\nlineend=Line end\nlineheight=Line Height\nlinestart=Line start\nlinewidth=Linewidth\nlink=Link\nlinks=Links\nloading=Loading\nlocked=Locked\nlockUnlock=Lock/Unlock\nloggedOut=Logged Out\nlogIn=log in\nloveIt=I love {1}\nlucidchart=Lucidchart\nmaps=Maps\nmathematicalTypesetting=Mathematical Typesetting\nmakeCopy=Make a Copy\nmanual=Manual\nmerge=Merge\nmermaid=Mermaid\nmicrosoftOffice=Microsoft Office\nmicrosoftExcel=Microsoft Excel\nmicrosoftPowerPoint=Microsoft PowerPoint\nmicrosoftWord=Microsoft Word\nmiddle=Middle\nminimal=Minimal\nmisc=Misc\nmockups=Mockups\nmodern=Modern\nmodificationDate=Modification date\nmodifiedBy=Modified by\nmore=More\nmoreResults=More Results\nmoreShapes=More Shapes\nmove=Move\nmoveToFolder=Move to Folder\nmoving=Moving\nmoveSelectionTo=Move selection to {1}\nmyDrive=My Drive\nmyFiles=My Files\nname=Name\nnavigation=Navigation\nnetwork=Network\nnetworking=Networking\nnew=New\nnewLibrary=New Library\nnextPage=Next Page\nno=No\nnoPickFolder=No, pick folder\nnoAttachments=No attachments found\nnoColor=No Color\nnoFiles=No Files\nnoFileSelected=No file selected\nnoLibraries=No libraries found\nnoMoreResults=No more results\nnone=None\nnoOtherViewers=No other viewers\nnoPlugins=No plugins\nnoPreview=No preview\nnoResponse=No response from server\nnoResultsFor=No results for \'{1}\'\nnoRevisions=No revisions\nnoSearchResults=No search results found\nnoPageContentOrNotSaved=No anchors found on this page or it hasn\'t been saved yet\nnormal=Normal\nnorth=North\nnotADiagramFile=Not a diagram file\nnotALibraryFile=Not a library file\nnotAvailable=Not available\nnotAUtf8File=Not a UTF-8 file\nnotConnected=Not connected\nnote=Note\nnotion=Notion\nnotSatisfiedWithImport=Not satisfied with the import?\nnotUsingService=Not using {1}?\nnumberedList=Numbered list\noffline=Offline\nok=OK\noneDrive=OneDrive\nonline=Online\nopacity=Opacity\nopen=Open\nopenArrow=Open Arrow\nopenExistingDiagram=Open Existing Diagram\nopenFile=Open File\nopenFrom=Open from\nopenLibrary=Open Library\nopenLibraryFrom=Open Library from\nopenLink=Open Link\nopenInNewWindow=Open in New Window\nopenInThisWindow=Open in This Window\nopenIt=Open {1}\nopenRecent=Open Recent\nopenSupported=Supported formats are files saved from this software (.xml), .vsdx and .gliffy\noptions=Options\norganic=Organic\norgChart=Org Chart\northogonal=Orthogonal\notherViewer=other viewer\notherViewers=other viewers\noutline=Outline\noval=Oval\npage=Page\npageContent=Page Content\npageNotFound=Page not found\npageWithNumber=Page-{1}\npages=Pages\npageTabs=Page Tabs\npageView=Page View\npageSetup=Page Setup\npageScale=Page Scale\npan=Pan\npanTooltip=Space+Drag to pan\npaperSize=Paper Size\npattern=Pattern\nparallels=Parallels\npaste=Paste\npasteData=Paste Data\npasteHere=Paste here\npasteSize=Paste Size\npasteStyle=Paste Style\nperimeter=Perimeter\npermissionAnyone=Anyone can edit\npermissionAuthor=Owner and admins can edit\npickFolder=Pick a folder\npickLibraryDialogTitle=Select Library\npublicDiagramUrl=Public URL of the diagram\nplaceholders=Placeholders\nplantUml=PlantUML\nplugins=Plugins\npluginUrl=Plugin URL\npluginWarning=The page has requested to load the following plugin(s):\n \n {1}\n \n Would you like to load these plugin(s) now?\n \n NOTE : Only allow plugins to run if you fully understand the security implications of doing so.\n\nplusTooltip=Click to connect and clone (ctrl+click to clone, shift+click to connect). Drag to connect (ctrl+drag to clone).\nportrait=Portrait\nposition=Position\nposterPrint=Poster Print\npreferences=Preferences\npreview=Preview\npreviousPage=Previous Page\npresentationMode=Presentation Mode\nprint=Print\nprocEng=Proc. Eng.\nproject=Project\npriority=Priority\nprocessForHiringNewEmployee=Process for hiring a new employee\nproperties=Properties\npublish=Publish\nquickStart=Quick Start Video\nrack=Rack\nradial=Radial\nradialTree=Radial Tree\nreadOnly=Read-only\nreconnecting=Reconnecting\nrecentlyUpdated=Recently Updated\nrecentlyViewed=Recently Viewed\nrectangle=Rectangle\nredirectToNewApp=This file was created or modified in a newer version of this app. You will be redirected now.\nrealtimeTimeout=It looks like you\'ve made a few changes while offline. We\'re sorry, these changes cannot be saved.\nredo=Redo\nrefresh=Refresh\nregularExpression=Regular Expression\nrelative=Relative\nrelativeUrlNotAllowed=Relative URL not allowed\nrememberMe=Remember me\nrememberThisSetting=Remember this setting\nremoveFormat=Clear Formatting\nremoveFromGroup=Remove from Group\nremoveIt=Remove {1}\nremoveWaypoint=Remove Waypoint\nrename=Rename\nrenamed=Renamed\nrenameIt=Rename {1}\nrenaming=Renaming\nreplace=Replace\nreplaceIt={1} already exists. Do you want to replace it?\nreplaceExistingDrawing=Replace existing drawing\nrequired=required\nrequirementDiagram=Requirement Diagram\nreset=Reset\nresetView=Reset View\nresize=Resize\nresizeLargeImages=Do you want to resize large images to make the application run faster?\nretina=Retina\nresponsive=Responsive\nrestore=Restore\nrestoring=Restoring\nretryingIn=Retrying in {1} second(s)\nretryingLoad=Load failed. Retrying...\nretryingLogin=Login time out. Retrying...\nreverse=Reverse\nrevision=Revision\nrevisionHistory=Revision History\nrhombus=Rhombus\nright=Right\nrightAlign=Right Align\nrightToLeft=Right to left\nrotate=Rotate\nrotateTooltip=Click and drag to rotate, click to turn shape only by 90 degrees\nrotation=Rotation\nrounded=Rounded\nsave=Save\nsaveAndExit=Save & Exit\nsaveAs=Save As\nsaveAsXmlFile=Save as XML file?\nsaved=Saved\nsaveDiagramFirst=Please save the diagram first\nsaveDiagramsTo=Save diagrams to\nsaveLibrary403=Insufficient permissions to edit this library\nsaveLibrary500=There was an error while saving the library\nsaveLibraryReadOnly=Could not save library while read-only mode is active\nsaving=Saving\nscratchpad=Scratchpad\nscrollbars=Scrollbars\nsearch=Search\nsearchShapes=Search Shapes\nselectAll=Select All\nselectionOnly=Selection Only\nselectCard=Select Card\nselectEdges=Select Edges\nselectedPage=Selected Page\nselectFile=Select File\nselectFolder=Select Folder\nselectFont=Select Font\nselectNone=Select None\nselectTemplate=Select Template\nselectVertices=Select Vertices\nsendBackward=Send Backward\nsendMessage=Send\nsendYourFeedback=Send your feedback\nsequenceDiagram=Sequence Diagram\nserviceUnavailableOrBlocked=Service unavailable or blocked\nsessionExpired=Your session has expired. Please refresh the browser window.\nsessionTimeoutOnSave=Your session has timed out and you have been disconnected from the Google Drive. Press OK to login and save.\nsetAsDefaultStyle=Set as Default Style\nsettings=Settings\nshadow=Shadow\nshape=Shape\nshapes=Shapes\nshare=Share\nshareCursor=Share Mouse Cursor\nshareLink=Link for shared editing\nsharingAvailable=Sharing available for Google Drive and OneDrive files.\nsaveItToGoogleDriveToCollaborate=You\'ll need to save "{1}" to Google Drive before you can collaborate.\nsaveToGoogleDrive=Save to Google Drive\nsharp=Sharp\nshow=Show\nshowRemoteCursors=Show Remote Mouse Cursors\nshowStartScreen=Show Start Screen\nsidebarTooltip=Click or drag and drop shapes. Shift+click to change selection. Alt+click to insert and connect.\nsigns=Signs\nsignOut=Sign out\nsimple=Simple\nsimpleArrow=Simple Arrow\nsimpleViewer=Simple Viewer\nsize=Size\nsketch=Sketch\nsmoothing=Smoothing\nsnapToGrid=Snap to Grid\nsolid=Solid\nsourceSpacing=Source Spacing\nsouth=South\nsoftware=Software\nspace=Space\nspacing=Spacing\nspecialLink=Special Link\nstateDiagram=State Diagram\nstandard=Standard\nstartDrawing=Start drawing\nstopDrawing=Stop drawing\nstarting=Starting\nstraight=Straight\nstrikethrough=Strikethrough\nstrokeColor=Line Color\nstyle=Style\nsubscript=Subscript\nsummary=Summary\nsuperscript=Superscript\nsupport=Support\nswap=Swap\nswimlaneDiagram=Swimlane Diagram\nsysml=SysML\ntags=Tags\ntable=Table\ntables=Tables\ntakeOver=Take Over\ntargetSpacing=Target Spacing\ntemplate=Template\ntemplates=Templates\ntext=Text\ntextAlignment=Text Alignment\ntextOpacity=Text Opacity\ntheme=Theme\ntimeout=Timeout\ntitle=Title\nto=to\ntoBack=To Back\ntoFront=To Front\ntooLargeUseDownload=Too large, use download instead.\ntoolbar=Toolbar\ntooltips=Tooltips\ntop=Top\ntopAlign=Top Align\ntopLeft=Top Left\ntopRight=Top Right\ntransparent=Transparent\ntransparentBackground=Transparent Background\ntrello=Trello\ntryAgain=Try again\ntryOpeningViaThisPage=Try opening via this page\nturn=Rotate shape only by 90°\ntype=Type\ntwitter=Twitter\numl=UML\nunassigned=Unassigned\nunderline=Underline\nundo=Undo\nungroup=Ungroup\nunmerge=Unmerge\nunsavedChanges=Unsaved changes\nunsavedChangesClickHereToSave=Unsaved changes. Click here to save.\nuntitled=Untitled\nuntitledDiagram=Untitled Diagram\nuntitledLayer=Untitled Layer\nuntitledLibrary=Untitled Library\nunknownError=Unknown error\nunknownUser=Unknown user\nupdateExistingDrawing=Update existing drawing\nupdateFile=Update {1}\nupdatingDocument=Updating Document. Please wait...\nupdatingPreview=Updating Preview. Please wait...\nupdatingSelection=Updating Selection. Please wait...\nupload=Upload\nurl=URL\nuseBlackAndWhite=Use black and white\nuseCurrentSettings=Use current settings\nuseOffline=Use Offline\nuserDefined=User-defined\nuseRootFolder=Use root folder?\nuserManual=User Manual\nvertical=Vertical\nverticalFlow=Vertical Flow\nverticalTree=Vertical Tree\nview=View\nviewerSettings=Viewer Settings\nviewUrl=Link to view: {1}\nvoiceAssistant=Voice Assistant (beta)\nwarning=Warning\nwaypoints=Waypoints\nwest=West\nwhere=Where\nwidth=Width\nwiki=Wiki\nwordWrap=Word Wrap\nwritingDirection=Writing Direction\nyes=Yes\nyourEmailAddress=Your email address\nzoom=Zoom\nzoomIn=Zoom In\nzoomOut=Zoom Out\nbasic=Basic\nbusinessprocess=Business Processes\ncharts=Charts\nengineering=Engineering\nflowcharts=Flowcharts\ngmdl=Material Design\nmindmaps=Mindmaps\nmockups=Mockups\nnetworkdiagrams=Network Diagrams\nnothingIsSelected=Nothing is selected\nother=Other\nsoftwaredesign=Software Design\nvenndiagrams=Venn Diagrams\nwebEmailOrOther=Web, email or any other internet address\nwebLink=Web Link\nwireframes=Wireframes\nproperty=Property\nvalue=Value\nshowMore=Show More\nshowLess=Show Less\nmyDiagrams=My Diagrams\nallDiagrams=All Diagrams\nrecentlyUsed=Recently used\nlistView=List view\ngridView=Grid view\nresultsFor=Results for \'{1}\'\noneDriveCharsNotAllowed=The following characters are not allowed: ~ " # % * : < > ? / { | }\noneDriveInvalidDeviceName=The specified device name is invalid\nofficeNotLoggedOD=You are not logged in to OneDrive. Please open draw.io task pane and login first.\nofficeSelectSingleDiag=Please select a single draw.io diagram only without other contents.\nofficeSelectDiag=Please select a draw.io diagram.\nofficeCannotFindDiagram=Cannot find a draw.io diagram in the selection\nnoDiagrams=No diagrams found\nauthFailed=Authentication failed\nofficeFailedAuthMsg=Unable to successfully authenticate user or authorize application.\nconvertingDiagramFailed=Converting diagram failed\nofficeCopyImgErrMsg=Due to some limitations in the host application, the image could not be inserted. Please manually copy the image then paste it to the document.\ninsertingImageFailed=Inserting image failed\nofficeCopyImgInst=Instructions: Right-click the image below. Select "Copy image" from the context menu. Then, in the document, right-click and select "Paste" from the context menu.\nfolderEmpty=Folder is empty\nrecent=Recent\nsharedWithMe=Shared With Me\nsharepointSites=Sharepoint Sites\nerrorFetchingFolder=Error fetching folder items\nerrorAuthOD=Error authenticating to OneDrive\nofficeMainHeader=Adds draw.io diagrams to your document.\nofficeStepsHeader=This add-in performs the following steps:\nofficeStep1=Connects to Microsoft OneDrive, Google Drive or your device.\nofficeStep2=Select a draw.io diagram.\nofficeStep3=Insert the diagram into the document.\nofficeAuthPopupInfo=Please complete the authentication in the pop-up window.\nofficeSelDiag=Select draw.io Diagram:\nfiles=Files\nshared=Shared\nsharepoint=Sharepoint\nofficeManualUpdateInst=Instructions: Copy draw.io diagram from the document. Then, in the box below, right-click and select "Paste" from the context menu.\nofficeClickToEdit=Click icon to start editing:\npasteDiagram=Paste draw.io diagram here\nconnectOD=Connect to OneDrive\nselectChildren=Select Children\nselectSiblings=Select Siblings\nselectParent=Select Parent\nselectDescendants=Select Descendants\nlastSaved=Last saved {1} ago\nresolve=Resolve\nreopen=Re-open\nshowResolved=Show Resolved\nreply=Reply\nobjectNotFound=Object not found\nreOpened=Re-opened\nmarkedAsResolved=Marked as resolved\nnoCommentsFound=No comments found\ncomments=Comments\ntimeAgo={1} ago\nconfluenceCloud=Confluence Cloud\nlibraries=Libraries\nconfAnchor=Confluence Page Anchor\nconfTimeout=The connection has timed out\nconfSrvTakeTooLong=The server at {1} is taking too long to respond.\nconfCannotInsertNew=Cannot insert draw.io diagram to a new Confluence page\nconfSaveTry=Please save the page and try again.\nconfCannotGetID=Unable to determine page ID\nconfContactAdmin=Please contact your Confluence administrator.\nreadErr=Read Error\neditingErr=Editing Error\nconfExtEditNotPossible=This diagram cannot be edited externally. Please try editing it while editing the page\nconfEditedExt=Diagram/Page edited externally\ndiagNotFound=Diagram Not Found\nconfEditedExtRefresh=Diagram/Page is edited externally. Please refresh the page.\nconfCannotEditDraftDelOrExt=Cannot edit diagrams in a draft page, diagram is deleted from the page, or diagram is edited externally. Please check the page.\nretBack=Return back\nconfDiagNotPublished=The diagram does not belong to a published page\ncreatedByDraw=Created by draw.io\nfilenameShort=Filename too short\ninvalidChars=Invalid characters\nalreadyExst={1} already exists\ndraftReadErr=Draft Read Error\ndiagCantLoad=Diagram cannot be loaded\ndraftWriteErr=Draft Write Error\ndraftCantCreate=Draft could not be created\nconfDuplName=Duplicate diagram name detected. Please pick another name.\nconfSessionExpired=Looks like your session expired. Log in again to keep working.\nlogin=Login\ndrawPrev=draw.io preview\ndrawDiag=draw.io diagram\ninvalidCallFnNotFound=Invalid Call: {1} not found\ninvalidCallErrOccured=Invalid Call: An error occurred, {1}\nanonymous=Anonymous\nconfGotoPage=Go to containing page\nshowComments=Show Comments\nconfError=Error: {1}\ngliffyImport=Gliffy Import\ngliffyImportInst1=Click the "Start Import" button to import all Gliffy diagrams to draw.io.\ngliffyImportInst2=Please note that the import procedure will take some time and the browser window must remain open until the import is completed.\nstartImport=Start Import\ndrawConfig=draw.io Configuration\ncustomLib=Custom Libraries\ncustomTemp=Custom Templates\npageIdsExp=Page IDs Export\ndrawReindex=draw.io re-indexing (beta)\nworking=Working\ndrawConfigNotFoundInst=draw.io Configuration Space (DRAWIOCONFIG) does not exist. This space is needed to store draw.io configuration files and custom libraries/templates.\ncreateConfSp=Create Config Space\nunexpErrRefresh=Unexpected error, please refresh the page and try again.\nconfigJSONInst=Write draw.io JSON configuration in the editor below then click save. If you need help, please refer to\nthisPage=this page\ncurCustLib=Current Custom Libraries\nlibName=Library Name\naction=Action\ndrawConfID=draw.io Config ID\naddLibInst=Click the "Add Library" button to upload a new library.\naddLib=Add Library\ncustomTempInst1=Custom templates are draw.io diagrams saved in children pages of\ncustomTempInst2=For more details, please refer to\ntempsPage=Templates page\npageIdsExpInst1=Select export target, then click the "Start Export" button to export all pages IDs.\npageIdsExpInst2=Please note that the export procedure will take some time and the browser window must remain open until the export is completed.\nstartExp=Start Export\nrefreshDrawIndex=Refresh draw.io Diagrams Index\nreindexInst1=Click the "Start Indexing" button to refresh draw.io diagrams index.\nreindexInst2=Please note that the indexing procedure will take some time and the browser window must remain open until the indexing is completed.\nstartIndexing=Start Indexing\nconfAPageFoundFetch=Page "{1}" found. Fetching\nconfAAllDiagDone=All {1} diagrams processed. Process finished.\nconfAStartedProcessing=Started processing page "{1}"\nconfAAllDiagInPageDone=All {1} diagrams in page "{2}" processed successfully.\nconfAPartialDiagDone={1} out of {2} {3} diagrams in page "{4}" processed successfully.\nconfAUpdatePageFailed=Updating page "{1}" failed.\nconfANoDiagFoundInPage=No {1} diagrams found in page "{2}".\nconfAFetchPageFailed=Fetching the page failed.\nconfANoDiagFound=No {1} diagrams found. Process finished.\nconfASearchFailed=Searching for {1} diagrams failed. Please try again later.\nconfAGliffyDiagFound={2} diagram "{1}" found. Importing\nconfAGliffyDiagImported={2} diagram "{1}" imported successfully.\nconfASavingImpGliffyFailed=Saving imported {2} diagram "{1}" failed.\nconfAImportedFromByDraw=Imported from "{1}" by draw.io\nconfAImportGliffyFailed=Importing {2} diagram "{1}" failed.\nconfAFetchGliffyFailed=Fetching {2} diagram "{1}" failed.\nconfACheckBrokenDiagLnk=Checking for broken diagrams links.\nconfADelDiagLinkOf=Deleting diagram link of "{1}"\nconfADupLnk=(duplicate link)\nconfADelDiagLnkFailed=Deleting diagram link of "{1}" failed.\nconfAUnexpErrProcessPage=Unexpected error during processing the page with id: {1}\nconfADiagFoundIndex=Diagram "{1}" found. Indexing\nconfADiagIndexSucc=Diagram "{1}" indexed successfully.\nconfAIndexDiagFailed=Indexing diagram "{1}" failed.\nconfASkipDiagOtherPage=Skipped "{1}" as it belongs to another page!\nconfADiagUptoDate=Diagram "{1}" is up to date.\nconfACheckPagesWDraw=Checking pages having draw.io diagrams.\nconfAErrOccured=An error occurred!\nsavedSucc=Saved successfully\nconfASaveFailedErr=Saving Failed (Unexpected Error)\ncharacter=Character\nconfAConfPageDesc=This page contains draw.io configuration file (configuration.json) as attachment\nconfALibPageDesc=This page contains draw.io custom libraries as attachments\nconfATempPageDesc=This page contains draw.io custom templates as attachments\nworking=Working\nconfAConfSpaceDesc=This space is used to store draw.io configuration files and custom libraries/templates\nconfANoCustLib=No Custom Libraries\ndelFailed=Delete failed!\nshowID=Show ID\nconfAIncorrectLibFileType=Incorrect file type. Libraries should be XML files.\nuploading=Uploading\nconfALibExist=This library already exists\nconfAUploadSucc=Uploaded successfully\nconfAUploadFailErr=Upload Failed (Unexpected Error)\nhiResPreview=High Res Preview\nofficeNotLoggedGD=You are not logged in to Google Drive. Please open draw.io task pane and login first.\nofficePopupInfo=Please complete the process in the pop-up window.\npickODFile=Pick OneDrive File\ncreateODFile=Create OneDrive File\npickGDriveFile=Pick Google Drive File\ncreateGDriveFile=Create Google Drive File\npickDeviceFile=Pick Device File\nvsdNoConfig="vsdurl" is not configured\nruler=Ruler\nunits=Units\npoints=Points\ninches=Inches\nmillimeters=Millimeters\nconfEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.\nconfDiagEditedExt=Diagram is edited in another session. It will be saved as a new attachment version but the page will show other session\'s modifications.\nmacroNotFound=Macro Not Found\nconfAInvalidPageIdsFormat=Incorrect Page IDs file format\nconfACollectingCurPages=Collecting current pages\nconfABuildingPagesMap=Building pages mapping\nconfAProcessDrawDiag=Started processing imported draw.io diagrams\nconfAProcessDrawDiagDone=Finished processing imported draw.io diagrams\nconfAProcessImpPages=Started processing imported pages\nconfAErrPrcsDiagInPage=Error processing draw.io diagrams in page "{1}"\nconfAPrcsDiagInPage=Processing draw.io diagrams in page "{1}"\nconfAImpDiagram=Importing diagram "{1}"\nconfAImpDiagramFailed=Importing diagram "{1}" failed. Cannot find its new page ID. Maybe it points to a page that is not imported.\nconfAImpDiagramError=Error importing diagram "{1}". Cannot fetch or save the diagram. Cannot fix this diagram links.\nconfAUpdateDgrmCCFailed=Updating link to diagram "{1}" failed.\nconfImpDiagramSuccess=Updating diagram "{1}" done successfully.\nconfANoLnksInDrgm=No links to update in: {1}\nconfAUpdateLnkToPg=Updated link to page: "{1}" in diagram: "{2}"\nconfAUpdateLBLnkToPg=Updated lightbox link to page: "{1}" in diagram: "{2}"\nconfAUpdateLnkBase=Updated base URL from: "{1}" to: "{2}" in diagram: "{3}"\nconfAPageIdsImpDone=Page IDs Import finished\nconfAPrcsMacrosInPage=Processing draw.io macros in page "{1}"\nconfAErrFetchPage=Error fetching page "{1}"\nconfAFixingMacro=Fixing macro of diagram "{1}"\nconfAErrReadingExpFile=Error reading export file\nconfAPrcsDiagInPageDone=Processing draw.io diagrams in page "{1}" finished\nconfAFixingMacroSkipped=Fixing macro of diagram "{1}" failed. Cannot find its new page ID. Maybe it points to a page that is not imported.\npageIdsExpTrg=Export target\nconfALucidDiagImgImported={2} diagram "{1}" image extracted successfully\nconfASavingLucidDiagImgFailed=Extracting {2} diagram "{1}" image failed\nconfGetInfoFailed=Fetching file info from {1} failed.\nconfCheckCacheFailed=Cannot get cached file info.\nconfReadFileErr=Cannot read "{1}" file from {2}.\nconfSaveCacheFailed=Unexpected error. Cannot save cached file\norgChartType=Org Chart Type\nlinear=Linear\nhanger2=Hanger 2\nhanger4=Hanger 4\nfishbone1=Fishbone 1\nfishbone2=Fishbone 2\n1ColumnLeft=Single Column Left\n1ColumnRight=Single Column Right\nsmart=Smart\nparentChildSpacing=Parent Child Spacing\nsiblingSpacing=Sibling Spacing\nconfNoPermErr=Sorry, you don\'t have enough permissions to view this embedded diagram from page {1}\ncopyAsImage=Copy as Image\ncopyAsText=Copy as Text\nlucidImport=Lucidchart Import\nlucidImportInst1=Click the "Start Import" button to import all Lucidchart diagrams.\ninstallFirst=Please install {1} first\ndrawioChromeExt=draw.io Chrome Extension\nloginFirstThen=Please login to {1} first, then {2}\nerrFetchDocList=Error: Couldn\'t fetch documents list\nbuiltinPlugins=Built-in Plugins\nextPlugins=External Plugins\nbackupFound=Backup file found\nchromeOnly=This feature only works in Google Chrome\nmsgDeleted=This message has been deleted\nconfAErrFetchDrawList=Error fetching diagrams list. Some diagrams are skipped.\nconfAErrCheckDrawDiag=Cannot check diagram {1}\nconfAErrFetchPageList=Error fetching pages list\nconfADiagImportIncom={1} diagram "{2}" is imported partially and may have missing shapes\ninvalidSel=Invalid selection\ndiagNameEmptyErr=Diagram name cannot be empty\nopenDiagram=Open Diagram\nnewDiagram=New diagram\neditable=Editable\nconfAReimportStarted=Re-import {1} diagrams started...\nspaceFilter=Filter by spaces\ncurViewState=Current Viewer State\npageLayers=Page and Layers\ncustomize=Customize\nfirstPage=First Page (All Layers)\ncurEditorState=Current Editor State\nnoAnchorsFound=No anchors found\nattachment=Attachment\ncurDiagram=Current Diagram\nrecentDiags=Recent Diagrams\ncsvImport=CSV Import\nchooseFile=Choose a file...\nchoose=Choose\ngdriveFname=Google Drive filename\nwidthOfViewer=Width of the viewer (px)\nheightOfViewer=Height of the viewer (px)\nautoSetViewerSize=Automatically set the size of the viewer\nthumbnail=Thumbnail\nprevInDraw=Preview in draw.io\nonedriveFname=OneDrive filename\ndiagFname=Diagram filename\ndiagUrl=Diagram URL\nshowDiag=Show Diagram\ndiagPreview=Diagram Preview\ncsvFileUrl=CSV File URL\ngenerate=Generate\nselectDiag2Insert=Please select a diagram to insert it.\nerrShowingDiag=Unexpected error. Cannot show diagram\nnoRecentDiags=No recent diagrams found\nfetchingRecentFailed=Failed to fetch recent diagrams\nuseSrch2FindDiags=Use the search box to find draw.io diagrams\ncantReadChckPerms=Cannot read the specified diagram. Please check you have read permission on that file.\ncantFetchChckPerms=Cannot fetch diagram info. Please check you have read permission on that file.\nsearchFailed=Searching failed. Please try again later.\nplsTypeStr=Please type a search string.\nunsupportedFileChckUrl=Unsupported file. Please check the specified URL\ndiagNotFoundChckUrl=Diagram not found or cannot be accessed. Please check the specified URL\ncsvNotFoundChckUrl=CSV file not found or cannot be accessed. Please check the specified URL\ncantReadUpload=Cannot read the uploaded diagram\nselect=Select\nerrCantGetIdType=Unexpected Error: Cannot get content id or type.\nerrGAuthWinBlocked=Error: Google Authentication window blocked\nauthDrawAccess=Authorize draw.io to access {1}\nconnTimeout=The connection has timed out\nerrAuthSrvc=Error authenticating to {1}\nplsSelectFile=Please select a file\nmustBgtZ={1} must be greater than zero\ncantLoadPrev=Cannot load file preview.\nerrAccessFile=Error: Access Denied. You do not have permission to access "{1}".\nnoPrevAvail=No preview is available.\npersonalAccNotSup=Personal accounts are not supported.\nerrSavingTryLater=Error occurred during saving, please try again later.\nplsEnterFld=Please enter {1}\ninvalidDiagUrl=Invalid Diagram URL\nunsupportedVsdx=Unsupported vsdx file\nunsupportedImg=Unsupported image file\nunsupportedFormat=Unsupported file format\nplsSelectSingleFile=Please select a single file only\nattCorrupt=Attachment file "{1}" is corrupted\nloadAttFailed=Failed to load attachment "{1}"\nembedDrawDiag=Embed draw.io Diagram\naddDiagram=Add Diagram\nembedDiagram=Embed Diagram\neditOwningPg=Edit owning page\ndeepIndexing=Deep Indexing (Index diagrams that aren\'t used in any page also)\nconfADeepIndexStarted=Deep Indexing Started\nconfADeepIndexDone=Deep Indexing Done\nofficeNoDiagramsSelected=No diagrams found in the selection\nofficeNoDiagramsInDoc=No diagrams found in the document\nofficeNotSupported=This feature is not supported in this host application\nsomeImagesFailed={1} out of {2} failed due to the following errors\nimportingNoUsedDiagrams=Importing {1} Diagrams not used in pages\nimportingDrafts=Importing {1} Diagrams in drafts\nprocessingDrafts=Processing drafts\nupdatingDrafts=Updating drafts\nupdateDrafts=Update drafts\nnotifications=Notifications\ndrawioImp=draw.io Import\nconfALibsImp=Importing draw.io Libraries\nconfALibsImpFailed=Importing {1} library failed\ncontributors=Contributors\ndrawDiagrams=draw.io Diagrams\nerrFileNotFoundOrNoPer=Error: Access Denied. File not found or you do not have permission to access "{1}" on {2}.\nconfACheckPagesWEmbed=Checking pages having embedded draw.io diagrams.\nconfADelBrokenEmbedDiagLnk=Removing broken embedded diagram links\nreplaceWith=Replace with\nreplaceAll=Replace All\nconfASkipDiagModified=Skipped "{1}" as it was modified after initial import\nreplFind=Replace/Find\nmatchesRepl={1} matches replaced\ndraftErrDataLoss=An error occurred while reading the draft file. The diagram cannot be edited now to prevent any possible data loss. Please try again later or contact support.\nibm=IBM\nlinkToDiagramHint=Add a link to this diagram. The diagram can only be edited from the page that owns it.\nlinkToDiagram=Link to Diagram\nchangedBy=Changed By\nlastModifiedOn=Last modified on\nsearchResults=Search Results\nshowAllTemps=Show all templates\nnotionToken=Notion Token\nselectDB=Select Database\nnoDBs=No Databases\ndiagramEdited={1} diagram "{2}" edited\nconfDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?\nconfFileTooBigErr=File size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration.\nowner=Owner\nrepository=Repository\nbranch=Branch\nmeters=Meters\nteamsNoEditingMsg=Editor functionality is only available in Desktop environment (in MS Teams App or a web browser)\ncontactOwner=Contact Owner\nviewerOnlyMsg=You cannot edit the diagrams in the mobile platform, please use the desktop client or a web browser.\nwebsite=Website\ncheck4Updates=Check for updates\nattWriteFailedRetry={1}: Attachment write failed, trying again in {2} seconds...\nconfPartialPageList=We couldn\'t fetch all pages due to an error in Confluence. Continuing using {1} pages only.\nspellCheck=Spell checker\nnoChange=No Change\nlblToSvg=Convert labels to SVG\ntxtSettings=Text Settings\nLinksLost=Links will be lost\narcSize=Arc Size\neditConnectionPoints=Edit Connection Points\nnotInOffline=Not supported while offline\nnotInDesktop=Not supported in Desktop App\nconfConfigSpaceArchived=draw.io Configuration space (DRAWIOCONFIG) is archived. Please restore it first.\nconfACleanOldVerStarted=Cleaning old diagram draft versions started\nconfACleanOldVerDone=Cleaning old diagram draft versions finished\nconfACleaningFile=Cleaning diagram draft "{1}" old versions\nconfAFileCleaned=Cleaning diagram draft "{1}" done\nconfAFileCleanFailed=Cleaning diagram draft "{1}" failed\nconfACleanOnly=Clean Diagram Drafts Only\nbrush=Brush\nopenDevTools=Open Developer Tools\nautoBkp=Automatic Backup\nconfAIgnoreCollectErr=Ignore collecting current pages errors\ndrafts=Drafts\ndraftSaveInt=Draft save interval [sec] (0 to disable)\npluginsDisabled=External plugins disabled.\nextExpNotConfigured=External image service is not configured\npathFilename=Path/Filename\nconfAHugeInstances=Very Large Instances\nconfAHugeInstancesDesc=If this instance includes 100,000+ pages, it is faster to request the current instance pages list from Atlassian. Please contact our support for more details.\nchoosePageIDsFile=Choose current page IDs csv file\nchooseDrawioPsgesFile=Choose pages with draw.io diagrams csv file\nprivate=Private\ndiagramTooLarge=The diagram is too large, please reduce its size and try again.\nselectAdminUsers=Select Admin Users\nxyzTeam={1} Team\naddTeamTitle=Adding a new draw.io Team\naddTeamInst1=To create a new draw.io Team, you need to create a new Atlassian group with "drawio-" prefix (e.g, a group named "drawio-marketing").\naddTeamInst2=Then, configure which team member can edit/add configuration, templates, and libraries from this page.\ndrawioTeams=draw.io Teams\nmembers=Members\nadminEditors=Admins/Editors\nallowAll=Allow all\nnoTeams=No teams found\nerrorLoadingTeams=Error Loading Teams\nnoTeamMembers=No team members found\nerrLoadTMembers=Error loading team members\nerrCreateTeamPage=Error creating team "{1}" page in "draw.io Configuration" space, please check you have the required permissions.\ngotoConfigPage=Please create the space from draw.io "Configuration" page.\nnoAdminsSelected=No admins/editors selected\nerrCreateConfigFile=Error creating "configuration.json" file, please check you have the required permissions.\nerrSetPageRestr=Error setting page restrictions\nnotAdmin4Team=You are not an admin for this team\nconfigUpdated=Configuration updated, restart the editor if you want to work with last configuration.\noutOfDateRevisionAlert=You are editing a historical revision of the diagram, please review the revision and open it to replace the latest version. Or close and overwrite/merge later.\nconfAErrFaqs=There are {1} error(s), the following instructions may help fixing most of the cases. (Please download the log for future references)\nconfA403ErrFaq=There are ({1}) 403 error(s). The current users must have add (write) permissions on all pages and attachments. Even admins sometimes are not allowed to write to some pages via page restrictions\nconfA404ErrFaq=There are ({1}) 404 error(s). The attachment/page is not found. This is due to improper migration or the diagram file (an attachment of the page) is deleted.\nconfA500ErrFaq=There are ({1}) 500 error(s). An internal server error in Confluence Cloud. Such errors are due to overloading the server and usually fixed by retrying the process.\nconfAOtherErrFaq=There are ({1}) other error(s). Please check the error description. If the description is not clear, please contact our support.\nconfAReplaceBaseUrl=Replace Base URL in diagram links when no page ID mapping is found\ndrawSvgPrev=draw.io SVG preview\ngoogleFonts=Google Fonts\ndiagDupl=Duplicate Diagram Detected\ndiagDuplMsg=This diagram is used in multiple places, which can result in unexpected results when edited. We\'ve created an independent copy. Please open the editor again.\ndiagDuplNoEditMsg=This diagram is used in multiple places. Please edit it within its own page.\nconfCloudMigConfirm=Warning: This process will edit many pages and diagrams, so it is recommended to stop the Synchrony service during the process. Do you want to proceed?\nconfCloudMigNotice=In the Cloud instance, please add linkAdjustments to draw.io configuration as follows {1}. Without this configuration, links in diagrams pointing to Confluence pages will not work.\nconfALogsPageDesc=This page contains logs of draw.io long running services as attachments\nconfEditOnlyInPageEditor=Can only be edited within Confluence page editor\nconfEvalWarn=Evaluation License - Not for production use\notherUsersEditing=Other user(s) are editing this diagram\nfirstTimeGD=First time to access this file?\ndrawioGDAppNotInstalled=draw.io Google Drive app is not installed, please install it first\nConfDC415Error=Saving drafts is blocked. If you have "Attachment Checker for Confluence" app, please update to the latest version.\n');Graph.prototype.defaultThemes["default-style2"]=mxUtils.parseXml('<mxStylesheet><add as="defaultVertex"><add as="shape" value="label"/><add as="perimeter" value="rectanglePerimeter"/><add as="fontSize" value="12"/><add as="fontFamily" value="Helvetica"/><add as="align" value="center"/><add as="verticalAlign" value="middle"/><add as="fillColor" value="default"/><add as="strokeColor" value="default"/><add as="fontColor" value="default"/></add><add as="defaultEdge"><add as="shape" value="connector"/><add as="labelBackgroundColor" value="default"/><add as="endArrow" value="classic"/><add as="fontSize" value="11"/><add as="fontFamily" value="Helvetica"/><add as="align" value="center"/><add as="verticalAlign" value="middle"/><add as="rounded" value="1"/><add as="strokeColor" value="default"/><add as="fontColor" value="default"/></add><add as="text"><add as="fillColor" value="none"/><add as="gradientColor" value="none"/><add as="strokeColor" value="none"/><add as="align" value="left"/><add as="verticalAlign" value="top"/></add><add as="edgeLabel" extend="text"><add as="labelBackgroundColor" value="default"/><add as="fontSize" value="11"/></add><add as="label"><add as="fontStyle" value="1"/><add as="align" value="left"/><add as="verticalAlign" value="middle"/><add as="spacing" value="2"/><add as="spacingLeft" value="52"/><add as="imageWidth" value="42"/><add as="imageHeight" value="42"/><add as="rounded" value="1"/></add><add as="icon" extend="label"><add as="align" value="center"/><add as="imageAlign" value="center"/><add as="verticalLabelPosition" value="bottom"/><add as="verticalAlign" value="top"/><add as="spacingTop" value="4"/><add as="labelBackgroundColor" value="default"/><add as="spacing" value="0"/><add as="spacingLeft" value="0"/><add as="spacingTop" value="6"/><add as="fontStyle" value="0"/><add as="imageWidth" value="48"/><add as="imageHeight" value="48"/></add><add as="swimlane"><add as="shape" value="swimlane"/><add as="fontSize" value="12"/><add as="fontStyle" value="1"/><add as="startSize" value="23"/></add><add as="group"><add as="verticalAlign" value="top"/><add as="fillColor" value="none"/><add as="strokeColor" value="none"/><add as="gradientColor" value="none"/><add as="pointerEvents" value="0"/></add><add as="ellipse"><add as="shape" value="ellipse"/><add as="perimeter" value="ellipsePerimeter"/></add><add as="rhombus"><add as="shape" value="rhombus"/><add as="perimeter" value="rhombusPerimeter"/></add><add as="triangle"><add as="shape" value="triangle"/><add as="perimeter" value="trianglePerimeter"/></add><add as="line"><add as="shape" value="line"/><add as="strokeWidth" value="4"/><add as="labelBackgroundColor" value="default"/><add as="verticalAlign" value="top"/><add as="spacingTop" value="8"/></add><add as="image"><add as="shape" value="image"/><add as="labelBackgroundColor" value="default"/><add as="verticalAlign" value="top"/><add as="verticalLabelPosition" value="bottom"/></add><add as="roundImage" extend="image"><add as="perimeter" value="ellipsePerimeter"/></add><add as="rhombusImage" extend="image"><add as="perimeter" value="rhombusPerimeter"/></add><add as="arrow"><add as="shape" value="arrow"/><add as="edgeStyle" value="none"/><add as="fillColor" value="default"/></add><add as="fancy"><add as="shadow" value="1"/><add as="glass" value="1"/></add><add as="gray" extend="fancy"><add as="gradientColor" value="#B3B3B3"/><add as="fillColor" value="#F5F5F5"/><add as="strokeColor" value="#666666"/></add><add as="blue" extend="fancy"><add as="gradientColor" value="#7EA6E0"/><add as="fillColor" value="#DAE8FC"/><add as="strokeColor" value="#6C8EBF"/></add><add as="green" extend="fancy"><add as="gradientColor" value="#97D077"/><add as="fillColor" value="#D5E8D4"/><add as="strokeColor" value="#82B366"/></add><add as="turquoise" extend="fancy"><add as="gradientColor" value="#67AB9F"/><add as="fillColor" value="#D5E8D4"/><add as="strokeColor" value="#6A9153"/></add><add as="yellow" extend="fancy"><add as="gradientColor" value="#FFD966"/><add as="fillColor" value="#FFF2CC"/><add as="strokeColor" value="#D6B656"/></add><add as="orange" extend="fancy"><add as="gradientColor" value="#FFA500"/><add as="fillColor" value="#FFCD28"/><add as="strokeColor" value="#D79B00"/></add><add as="red" extend="fancy"><add as="gradientColor" value="#EA6B66"/><add as="fillColor" value="#F8CECC"/><add as="strokeColor" value="#B85450"/></add><add as="pink" extend="fancy"><add as="gradientColor" value="#B5739D"/><add as="fillColor" value="#E6D0DE"/><add as="strokeColor" value="#996185"/></add><add as="purple" extend="fancy"><add as="gradientColor" value="#8C6C9C"/><add as="fillColor" value="#E1D5E7"/><add as="strokeColor" value="#9673A6"/></add><add as="plain-gray"><add as="gradientColor" value="#B3B3B3"/><add as="fillColor" value="#F5F5F5"/><add as="strokeColor" value="#666666"/></add><add as="plain-blue"><add as="gradientColor" value="#7EA6E0"/><add as="fillColor" value="#DAE8FC"/><add as="strokeColor" value="#6C8EBF"/></add><add as="plain-green"><add as="gradientColor" value="#97D077"/><add as="fillColor" value="#D5E8D4"/><add as="strokeColor" value="#82B366"/></add><add as="plain-turquoise"><add as="gradientColor" value="#67AB9F"/><add as="fillColor" value="#D5E8D4"/><add as="strokeColor" value="#6A9153"/></add><add as="plain-yellow"><add as="gradientColor" value="#FFD966"/><add as="fillColor" value="#FFF2CC"/><add as="strokeColor" value="#D6B656"/></add><add as="plain-orange"><add as="gradientColor" value="#FFA500"/><add as="fillColor" value="#FFCD28"/><add as="strokeColor" value="#D79B00"/></add><add as="plain-red"><add as="gradientColor" value="#EA6B66"/><add as="fillColor" value="#F8CECC"/><add as="strokeColor" value="#B85450"/></add><add as="plain-pink"><add as="gradientColor" value="#B5739D"/><add as="fillColor" value="#E6D0DE"/><add as="strokeColor" value="#996185"/></add><add as="plain-purple"><add as="gradientColor" value="#8C6C9C"/><add as="fillColor" value="#E1D5E7"/><add as="strokeColor" value="#9673A6"/></add></mxStylesheet>').documentElement;
+null!=B.menus.tagsWindow&&B.menus.tagsWindow.window.fit();null!=B.menus.findWindow&&B.menus.findWindow.window.fit();null!=B.menus.findReplaceWindow&&B.menus.findReplaceWindow.window.fit()})}}};(function(){var b=!1;"min"!=uiTheme||b||mxClient.IS_CHROMEAPP||(EditorUi.initMinimalTheme(),b=!0);var e=EditorUi.initTheme;EditorUi.initTheme=function(){e.apply(this,arguments);"min"!=uiTheme||b||(this.initMinimalTheme(),b=!0)}})();DrawioComment=function(b,e,g,n,v,q,C){this.file=b;this.id=e;this.content=g;this.modifiedDate=n;this.createdDate=v;this.isResolved=q;this.user=C;this.replies=[]};DrawioComment.prototype.addReplyDirect=function(b){null!=b&&this.replies.push(b)};DrawioComment.prototype.addReply=function(b,e,g,n,v){e()};DrawioComment.prototype.editComment=function(b,e,g){e()};DrawioComment.prototype.deleteComment=function(b,e){b()};DrawioUser=function(b,e,g,n,v){this.id=b;this.email=e;this.displayName=g;this.pictureUrl=n;this.locale=v};mxResources.parse('# *DO NOT DIRECTLY EDIT THIS FILE, IT IS AUTOMATICALLY GENERATED AND IT IS BASED ON:*\n# https://docs.google.com/spreadsheet/ccc?key=0AmQEO36liL4FdDJLWVNMaVV2UmRKSnpXU09MYkdGbEE\nabout=About\naboutDrawio=About draw.io\naccessDenied=Access Denied\naccounts=Accounts\naction=Action\nactualSize=Actual Size\nadaptiveColors=Adaptive Colors\nadd=Add\naddAccount=Add account\naddedFile=Added {1}\naddImages=Add Images\naddImageUrl=Add Image URL\naddLayer=Add Layer\naddProperty=Add Property\naddress=Address\naddToExistingDrawing=Add to Existing Drawing\naddToScratchpad=Add to Scratchpad\naddWaypoint=Add Waypoint\nadjustTo=Adjust to\nadvanced=Advanced\nsmartTemplate=Smart Template\nalign=Align\nalignment=Alignment\nallChangesLost=All changes will be lost!\nallPages=All Pages\nallProjects=All Projects\nallSpaces=All Spaces\nallTags=All Tags\nanchor=Anchor\nandroid=Android\nangle=Angle\nanimations=Animations\narc=Arc\nareYouSure=Are you sure?\nensureDataSaved=Please ensure your data is saved before closing.\nallChangesSaved=All changes saved\nallChangesSavedInDrive=All changes saved in Drive\nallowPopups=Allow pop-ups to avoid this dialog.\nallowRelativeUrl=Allow relative URL\nalreadyConnected=Nodes already connected\nappearance=Appearance\napply=Apply\narchiMate21=ArchiMate 2.1\narrange=Arrange\narrow=Arrow\narrows=Arrows\naskMeAnything=Ask me anything\nasNew=As New\natlas=Atlas\nauthor=Author\nauthorizationRequired=Authorization required\nauthorizeThisAppIn=Authorize this app in {1}:\nauthorize=Authorize\nauthorizing=Authorizing\nautomatic=Automatic\nautosave=Autosave\nautosize=Autosize\nattachments=Attachments\naws=AWS\naws3d=AWS 3D\nazure=Azure\nback=Back\nbackground=Background\nbackgroundColor=Background Color\nbackgroundImage=Background Image\nbasic=Basic\nbeta=beta\nblankDrawing=Blank Drawing\nblankDiagram=Blank Diagram\nblock=Block\nblockquote=Blockquote\nblog=Blog\nbold=Bold\nbootstrap=Bootstrap\nborder=Border\nborderColor=Border Color\nborderWidth=Border Width\nbottom=Bottom\nbottomAlign=Bottom Align\nbottomLeft=Bottom Left\nbottomRight=Bottom Right\nbpmn=BPMN\nbringForward=Bring Forward\nbrowser=Browser\nbulletedList=Bulleted List\nbusiness=Business\nbusy=Operation in progress\ncabinets=Cabinets\ncancel=Cancel\ncenter=Center\ncannotLoad=Load attempts failed. Please try again later.\ncannotLogin=Log in attempts failed. Please try again later.\ncannotOpenFile=Cannot open file\nchange=Change\nchangeOrientation=Change Orientation\nchangeUser=Change user\nchangeStorage=Change storage\nchangesNotSaved=Changes have not been saved\nclassDiagram=Class Diagram\nuserJoined={1} has joined\nuserLeft={1} has left\nchatWindowTitle=Chat\nchooseAnOption=Choose an option\nchromeApp=Chrome App\ncollaborativeEditingNotice=Important Notice for Collaborative Editing\ncompare=Compare\ncompressed=Compressed\ncommitMessage=Commit Message\nconfigLinkWarn=This link configures draw.io. Only click OK if you trust whoever gave you it!\nconfigLinkConfirm=Click OK to configure and restart draw.io.\ncontainer=Container\ncsv=CSV\ndark=Dark\ndiagramLanguage=Diagram Language\ndiagramType=Diagram type\ndiagramXmlDesc=XML File\ndiagramHtmlDesc=HTML File\ndiagramPngDesc=Editable Bitmap Image\ndiagramSvgDesc=Editable Vector Image\ndidYouMeanToExportToPdf=Did you mean to export to PDF?\ndisabled=Disabled\ndraftFound=A draft for \'{1}\' has been found. Load it into the editor or discard it to continue.\ndraftRevisionMismatch=There is a different version of this diagram on a shared draft of this page. Please edit the diagram from the draft to ensure you are working with the latest version.\nselectDraft=Select a draft to continue editing:\ndragAndDropNotSupported=Drag and drop not supported for images. Would you like to import instead?\ndropboxCharsNotAllowed=The following characters are not allowed: / : ? * " |\ncheck=Check\nchecksum=Checksum\ncircle=Circle\ncisco=Cisco\nclassic=Classic\nclearDefaultStyle=Clear Default Style\nclearWaypoints=Clear Waypoints\nclipart=Clipart\nclose=Close\nclosingFile=Closing file\nrealtimeCollaboration=Real-Time Collaboration\ncollaborate=Collaborate\ncollaborator=Collaborator\ncollaborators=Collaborators\ncollapse=Collapse\ncollapseExpand=Collapse/Expand\ncollapse-expand=Click to collapse/expand\nShift-click to move neighbors \nAlt-click to protect group size\ncollapsible=Collapsible\ncomic=Comic\ncomment=Comment\ncommentsNotes=Comments/Notes\ncompress=Compress\nconfiguration=Configuration\nconnect=Connect\nconnecting=Connecting\nconnectWithDrive=Connect with Google Drive\nconnection=Connection\nconnectionArrows=Connection Arrows\nconnectionPoints=Connection Points\nconstrainProportions=Constrain Proportions\ncontainsValidationErrors=Contains validation errors\ncopiedToClipboard=Copied to clipboard\ncopy=Copy\ncopyConnect=Copy on connect\ncopyCreated=A copy of the file was created.\ncopyData=Copy Data\ncopyOf=Copy of {1}\ncopyOfDrawing=Copy of Drawing\ncopySize=Copy Size\ncopyStyle=Copy Style\ncreate=Create\ncreateBlankDiagram=Create Blank Diagram\ncreateNewDiagram=Create New Diagram\ncreateRevision=Create Revision\ncreateShape=Create Shape\ncrop=Crop\ncurved=Curved\ncustom=Custom\ncurrent=Current\ncurrentPage=Current page\ncut=Cut\ndashed=Dashed\ndecideLater=Decide later\ndefault=Default\ndelete=Delete\ndeleteAll=Delete all\ndeleteColumn=Delete column\ndeleteLibrary401=Insufficient permissions to delete this library\ndeleteLibrary404=Selected library could not be found\ndeleteLibrary500=Error deleting library\ndeleteLibraryConfirm=You are about to permanently delete this library. Are you sure you want to do this?\ndeleteRow=Delete Row\ndescription=Description\ndescribeYourDiagram=Describe your diagram\ndevice=Device\ndiagram=Diagram\ndiagramContent=Diagram Content\ndiagramLocked=Diagram has been locked to prevent further data loss.\ndiagramLockedBySince=The diagram is locked by {1} since {2} ago\ndiagramName=Diagram Name\ndiagramIsPublic=Diagram is public\ndiagramIsNotPublic=Diagram is not public\ndiamond=Diamond\ndiamondThin=Diamond (thin)\ndidYouKnow=Did you know...\ndirection=Direction\ndiscard=Discard\ndiscardChangesAndReconnect=Discard Changes and Reconnect\ngoogleDriveMissingClickHere=Google Drive missing? Click here!\ndiscardChanges=Discard Changes\ndisconnected=Disconnected\ndistribute=Distribute\ndone=Done\ndoNotShowAgain=Do not show again\ndotted=Dotted\ndoubleClickOrientation=Doubleclick to change orientation\ndoubleClickTooltip=Doubleclick to insert text\ndoubleClickChangeProperty=Doubleclick to change property name\ndownload=Download\ndownloadDesktop=Get Desktop\ndownloadAs=Download as\nclickHereToSave=Click here to save.\ndpi=DPI\ndraftDiscarded=Draft discarded\ndraftSaved=Draft saved\ndragElementsHere=Drag elements here\ndragImagesHere=Drag images or URLs here\ndragUrlsHere=Drag URLs here\ndraw.io=draw.io\ndrawing=Drawing{1}\ndrawingEmpty=Drawing is empty\ndrawingTooLarge=Drawing is too large\ndrawioForWork=Draw.io for GSuite\ndropbox=Dropbox\nduplicate=Duplicate\nduplicateIt=Duplicate {1}\ndivider=Divider\ndx=Dx\ndy=Dy\neast=East\nedit=Edit\neditData=Edit Data\neditDiagram=Edit Diagram\neditGeometry=Edit Geometry\neditImage=Edit Image\neditImageUrl=Edit Image URL\neditLink=Edit Link\neditShape=Edit Shape\neditStyle=Edit Style\neditText=Edit Text\neditTooltip=Edit Tooltip\nglass=Glass\ngoogleImages=Google Images\nimageSearch=Image Search\neip=EIP\nembed=Embed\nembedFonts=Embed Fonts\nembedImages=Embed Images\nmainEmbedNotice=Paste this into the page\nelectrical=Electrical\nellipse=Ellipse\nembedNotice=Paste this once at the end of the page\nenterGroup=Enter Group\nenterName=Enter Name\nenterPropertyName=Enter Property Name\nenterValue=Enter Value\nentityRelation=Entity Relation\nentityRelationshipDiagram=Entity Relationship Diagram\nerror=Error\nerrorDeletingFile=Error deleting file\nerrorLoadingFile=Error loading file\nerrorRenamingFile=Error renaming file\nerrorRenamingFileNotFound=Error renaming file. File was not found.\nerrorRenamingFileForbidden=Error renaming file. Insufficient access rights.\nerrorSavingDraft=Error saving draft\nerrorSavingFile=Error saving file\nerrorSavingFileUnknown=Error authorizing with Google\'s servers. Please refresh the page to re-attempt.\nerrorSavingFileForbidden=Error saving file. Insufficient access rights.\nerrorSavingFileNameConflict=Could not save diagram. Current page already contains file named \'{1}\'.\nerrorSavingFileNotFound=Error saving file. File was not found.\nerrorSavingFileReadOnlyMode=Could not save diagram while read-only mode is active.\nerrorSavingFileSessionTimeout=Your session has ended. Please <a target=\'_blank\' href=\'{1}\'>{2}</a> and return to this tab to try to save again.\nerrorSendingFeedback=Error sending feedback.\nerrorUpdatingPreview=Error updating preview.\nexit=Exit\nexitGroup=Exit Group\nexpand=Expand\nexplore=Explore\nexport=Export\nexporting=Exporting\nexportAs=Export as\nexportOptionsDisabled=Export options disabled\nexportOptionsDisabledDetails=The owner has disabled options to download, print or copy for commenters and viewers on this file.\nexternalChanges=External Changes\nextras=Extras\nfacebook=Facebook\nfailedToSaveTryReconnect=Failed to save, trying to reconnect\nfeatureRequest=Feature Request\nfeedback=Feedback\nfeedbackSent=Feedback successfully sent.\nfloorplans=Floorplans\nfile=File\nfileChangedOverwriteDialog=The file has been modified. Do you want to save the file and overwrite those changes?\nfileChangedSyncDialog=The file has been modified.\nfileChangedSync=The file has been modified. Click here to synchronize.\noverwrite=Overwrite\nsynchronize=Synchronize\nfilename=Filename\nfileExists=File already exists\nfileMovedToTrash=File was moved to trash\nfileNearlyFullSeeFaq=File nearly full, please see FAQ\nfileNotFound=File not found\nrepositoryNotFound=Repository not found\nfileNotFoundOrDenied=The file was not found. It does not exist or you do not have access.\nfileNotLoaded=File not loaded\nfileNotSaved=File not saved\nfileOpenLocation=How would you like to open these file(s)?\nfiletypeHtml=.html causes file to save as HTML with redirect to cloud URL\nfiletypePng=.png causes file to save as PNG with embedded data\nfiletypeSvg=.svg causes file to save as SVG with embedded data\nfileWillBeSavedInAppFolder={1} will be saved in the app folder.\nfill=Fill\nfillColor=Fill Color\nfilterCards=Filter Cards\nfind=Find\nfit=Fit\nfitContainer=Resize Container\nfitIntoContainer=Fit into Container\nfitPage=Fit Page\nfitPageWidth=Fit Page Width\nfitTo=Fit to\nfitToSheetsAcross=sheet(s) across\nfitToBy=by\nfitToSheetsDown=sheet(s) down\nfitTwoPages=Two Pages\nfitWindow=Fit Window\nflip=Flip\nflipH=Flip Horizontal\nflipV=Flip Vertical\nflowAnimation=Flow Animation\nflowchart=Flowchart\nfolder=Folder\nfont=Font\nfontColor=Font Color\nfontFamily=Font Family\nfontSize=Font Size\nforbidden=You are not authorized to access this file\nformat=Format\nformatPanel=Format Panel\nformatted=Formatted\nformattedText=Formatted Text\nformatPng=PNG\nformatGif=GIF\nformatJpg=JPEG\nformatPdf=PDF\nformatSql=SQL\nformatSvg=SVG\nformatHtmlEmbedded=HTML\nformatSvgEmbedded=SVG (with XML)\nformatVsdx=VSDX\nformatVssx=VSSX\nformatWebp=WebP\nformatXmlPlain=XML (Plain)\nformatXml=XML\nforum=Discussion/Help Forums\nfreehand=Freehand\nfromTemplate=From Template\nfromTemplateUrl=From Template URL\nfromText=From Text\nfromUrl=From URL\nfromThisPage=From this page\nfullscreen=Fullscreen\ngap=Gap\ngcp=GCP\ngeneral=General\ngetNotionChromeExtension=Get the Notion Chrome Extension\ngithub=GitHub\ngitlab=GitLab\ngliffy=Gliffy\nglobal=Global\ngoogleDocs=Google Docs\ngoogleDrive=Google Drive\ngoogleGadget=Google Gadget\ngoogleSharingNotAvailable=Sharing is only available via Google Drive. Please click Open below and share from the more actions menu:\ngoogleSlides=Google Slides\ngoogleSites=Google Sites\ngoogleSheets=Google Sheets\ngradient=Gradient\ngradientColor=Color\ngrid=Grid\ngridColor=Grid Color\ngridSize=Grid Size\ngroup=Group\nguides=Guides\nhateApp=I hate draw.io\nheading=Heading\nheight=Height\nhelp=Help\nhelpTranslate=Help us translate this application\nhide=Hide\nhideIt=Hide {1}\nhidden=Hidden\nhighContrast=High Contrast\nhome=Home\nhorizontal=Horizontal\nhorizontalFlow=Horizontal Flow\nhorizontalTree=Horizontal Tree\nhowTranslate=How good is the translation in your language?\nhtml=HTML\nhtmlText=HTML Text\nid=ID\niframe=IFrame\nignore=Ignore\nimage=Image\nimageUrl=Image URL\nimages=Images\nimagePreviewError=This image couldn\'t be loaded for preview. Please check the URL.\nimageTooBig=Image too big\nimgur=Imgur\nimport=Import\nimportFrom=Import from\nimproveContrast=Improve Contrast\nincludeCopyOfMyDiagram=Include a copy of my diagram\nincreaseIndent=Increase Indent\ndecreaseIndent=Decrease Indent\ninsert=Insert\ninsertColumnBefore=Insert Column Left\ninsertColumnAfter=Insert Column Right\ninsertEllipse=Insert Ellipse\ninsertImage=Insert Image\ninsertHorizontalRule=Insert Horizontal Rule\ninsertLink=Insert Link\ninsertPage=Insert Page\ninsertRectangle=Insert Rectangle\ninsertRhombus=Insert Rhombus\ninsertRowBefore=Insert Row Above\ninsertRowAfter=Insert Row After\ninsertText=Insert Text\ninserting=Inserting\ninstallApp=Install App\ninvalidFilename=Diagram names must not contain the following characters: / | : ; { } < > & + ? = "\ninvalidLicenseSeeThisPage=Your license is invalid, please see this <a target="_blank" href="https://www.drawio.com/doc/faq/license-drawio-confluence-jira-cloud">page</a>.\ninvalidInput=Invalid input\ninvalidName=Invalid name\ninvalidOrMissingFile=Invalid or missing file\ninvalidPublicUrl=Invalid public URL\nisometric=Isometric\nios=iOS\nitalic=Italic\nkennedy=Kennedy\nkeyboardShortcuts=Keyboard Shortcuts\nlabels=Labels\nlayers=Layers\nlandscape=Landscape\nlanguage=Language\nleanMapping=Lean Mapping\nlastChange=Last change {1} ago\nlessThanAMinute=less than a minute\nlicensingError=Licensing Error\nlicenseHasExpired=The license for {1} has expired on {2}. Click here.\nlicenseRequired=This feature requires draw.io to be licensed.\nlicenseWillExpire=The license for {1} will expire on {2}. Click here.\nlight=Light\nlineJumps=Line jumps\nlinkAccountRequired=If the diagram is not public a Google account is required to view the link.\nlinkText=Link Text\nlist=List\nminute=minute\nminutes=minutes\nhours=hours\ndays=days\nmonths=months\nyears=years\nrestartForChangeRequired=Changes will take effect after a restart of the application.\nlaneColor=Lanecolor\nlanguageCode=Language Code\nlastModified=Last modified\nlayout=Layout\nleft=Left\nleftAlign=Left Align\nleftToRight=Left to right\nlibraryTooltip=Drag and drop shapes here or click + to insert. Double click to edit.\nlightbox=Lightbox\nline=Line\nlineend=Line end\nlineheight=Line Height\nlinestart=Line start\nlinewidth=Linewidth\nlink=Link\nlinks=Links\nloading=Loading\nlocked=Locked\nlockUnlock=Lock/Unlock\nloggedOut=Logged Out\nlogIn=log in\nloveIt=I love {1}\nlucidchart=Lucidchart\nmaps=Maps\nmathematicalTypesetting=Mathematical Typesetting\nmakeCopy=Make a Copy\nmanual=Manual\nmerge=Merge\nmermaid=Mermaid\nmicrosoftOffice=Microsoft Office\nmicrosoftExcel=Microsoft Excel\nmicrosoftPowerPoint=Microsoft PowerPoint\nmicrosoftWord=Microsoft Word\nmiddle=Middle\nminimal=Minimal\nmisc=Misc\nmockups=Mockups\nmodern=Modern\nmodificationDate=Modification date\nmodifiedBy=Modified by\nmore=More\nmoreResults=More Results\nmoreShapes=More Shapes\nmove=Move\nmoveToFolder=Move to Folder\nmoving=Moving\nmoveSelectionTo=Move selection to {1}\nmyDrive=My Drive\nmyFiles=My Files\nname=Name\nnavigation=Navigation\nnetwork=Network\nnetworking=Networking\nnew=New\nnewLibrary=New Library\nnextPage=Next Page\nno=No\nnoPickFolder=No, pick folder\nnoAttachments=No attachments found\nnoColor=No Color\nnoFiles=No Files\nnoFileSelected=No file selected\nnoLibraries=No libraries found\nnoMoreResults=No more results\nnone=None\nnoOtherViewers=No other viewers\nnoPlugins=No plugins\nnoPreview=No preview\nnoResponse=No response from server\nnoResultsFor=No results for \'{1}\'\nnoRevisions=No revisions\nnoSearchResults=No search results found\nnoPageContentOrNotSaved=No anchors found on this page or it hasn\'t been saved yet\nnormal=Normal\nnorth=North\nnotADiagramFile=Not a diagram file\nnotALibraryFile=Not a library file\nnotAvailable=Not available\nnotAUtf8File=Not a UTF-8 file\nnotConnected=Not connected\nnote=Note\nnotion=Notion\nnotSatisfiedWithImport=Not satisfied with the import?\nnotUsingService=Not using {1}?\nnumberedList=Numbered list\noffline=Offline\nok=OK\noneDrive=OneDrive\nonline=Online\nopacity=Opacity\nopen=Open\nopenArrow=Open Arrow\nopenExistingDiagram=Open Existing Diagram\nopenFile=Open File\nopenFrom=Open from\nopenLibrary=Open Library\nopenLibraryFrom=Open Library from\nopenLink=Open Link\nopenInNewWindow=Open in New Window\nopenInThisWindow=Open in This Window\nopenIt=Open {1}\nopenRecent=Open Recent\nopenSupported=Supported formats are files saved from this software (.xml), .vsdx and .gliffy\noptions=Options\norganic=Organic\norgChart=Org Chart\northogonal=Orthogonal\notherViewer=other viewer\notherViewers=other viewers\noutline=Outline\noval=Oval\npage=Page\npageContent=Page Content\npageNotFound=Page not found\npageWithNumber=Page-{1}\npages=Pages\npageTabs=Page Tabs\npageView=Page View\npageSetup=Page Setup\npageScale=Page Scale\npan=Pan\npanTooltip=Space+Drag to pan\npaperSize=Paper Size\npattern=Pattern\nparallels=Parallels\npaste=Paste\npasteData=Paste Data\npasteHere=Paste here\npasteSize=Paste Size\npasteStyle=Paste Style\nperimeter=Perimeter\npermissionAnyone=Anyone can edit\npermissionAuthor=Owner and admins can edit\npickFolder=Pick a folder\npickLibraryDialogTitle=Select Library\npublicDiagramUrl=Public URL of the diagram\nplaceholders=Placeholders\nplantUml=PlantUML\nplugins=Plugins\npluginUrl=Plugin URL\npluginWarning=The page has requested to load the following plugin(s):\n \n {1}\n \n Would you like to load these plugin(s) now?\n \n NOTE : Only allow plugins to run if you fully understand the security implications of doing so.\n\nplusTooltip=Click to connect and clone (ctrl+click to clone, shift+click to connect). Drag to connect (ctrl+drag to clone).\nportrait=Portrait\nposition=Position\nposterPrint=Poster Print\npreferences=Preferences\npreview=Preview\npreviousPage=Previous Page\npresentationMode=Presentation Mode\nprint=Print\nprocEng=Proc. Eng.\nproject=Project\npriority=Priority\nprocessForHiringNewEmployee=Process for hiring a new employee\nproperties=Properties\npublish=Publish\nquickStart=Quick Start Video\nrack=Rack\nradial=Radial\nradialTree=Radial Tree\nreadOnly=Read-only\nreconnecting=Reconnecting\nrecentlyUpdated=Recently Updated\nrecentlyViewed=Recently Viewed\nrectangle=Rectangle\nredirectToNewApp=This file was created or modified in a newer version of this app. You will be redirected now.\nrealtimeTimeout=It looks like you\'ve made a few changes while offline. We\'re sorry, these changes cannot be saved.\nredo=Redo\nrefresh=Refresh\nregularExpression=Regular Expression\nrelative=Relative\nrelativeUrlNotAllowed=Relative URL not allowed\nrememberMe=Remember me\nrememberThisSetting=Remember this setting\nremoveFormat=Clear Formatting\nremoveFromGroup=Remove from Group\nremoveIt=Remove {1}\nremoveWaypoint=Remove Waypoint\nrename=Rename\nrenamed=Renamed\nrenameIt=Rename {1}\nrenaming=Renaming\nreplace=Replace\nreplaceIt={1} already exists. Do you want to replace it?\nreplaceExistingDrawing=Replace existing drawing\nrequired=required\nrequirementDiagram=Requirement Diagram\nreset=Reset\nresetView=Reset View\nresize=Resize\nresizeLargeImages=Do you want to resize large images to make the application run faster?\nretina=Retina\nresponsive=Responsive\nrestore=Restore\nrestoring=Restoring\nretryingIn=Retrying in {1} second(s)\nretryingLoad=Load failed. Retrying...\nretryingLogin=Login time out. Retrying...\nreverse=Reverse\nrevision=Revision\nrevisionHistory=Revision History\nrhombus=Rhombus\nright=Right\nrightAlign=Right Align\nrightToLeft=Right to left\nrotate=Rotate\nrotateTooltip=Click and drag to rotate, click to turn shape only by 90 degrees\nrotation=Rotation\nrounded=Rounded\nsave=Save\nsaveAndExit=Save & Exit\nsaveAs=Save As\nsaveAsXmlFile=Save as XML file?\nsaved=Saved\nsaveDiagramFirst=Please save the diagram first\nsaveDiagramsTo=Save diagrams to\nsaveLibrary403=Insufficient permissions to edit this library\nsaveLibrary500=There was an error while saving the library\nsaveLibraryReadOnly=Could not save library while read-only mode is active\nsaving=Saving\nscratchpad=Scratchpad\nscrollbars=Scrollbars\nsearch=Search\nsearchShapes=Search Shapes\nselectAll=Select All\nselectionOnly=Selection Only\nselectCard=Select Card\nselectEdges=Select Edges\nselectedPage=Selected Page\nselectFile=Select File\nselectFolder=Select Folder\nselectFont=Select Font\nselectNone=Select None\nselectTemplate=Select Template\nselectVertices=Select Vertices\nsendBackward=Send Backward\nsendMessage=Send\nsendYourFeedback=Send your feedback\nsequenceDiagram=Sequence Diagram\nserviceUnavailableOrBlocked=Service unavailable or blocked\nsessionExpired=Your session has expired. Please refresh the browser window.\nsessionTimeoutOnSave=Your session has timed out and you have been disconnected from the Google Drive. Press OK to login and save.\nsetAsDefaultStyle=Set as Default Style\nsettings=Settings\nshadow=Shadow\nshape=Shape\nshapes=Shapes\nshare=Share\nshareCursor=Share Mouse Cursor\nshareLink=Link for shared editing\nsharingAvailable=Sharing available for Google Drive and OneDrive files.\nsaveItToGoogleDriveToCollaborate=You\'ll need to save "{1}" to Google Drive before you can collaborate.\nsaveToGoogleDrive=Save to Google Drive\nsharp=Sharp\nshow=Show\nshowRemoteCursors=Show Remote Mouse Cursors\nshowStartScreen=Show Start Screen\nsidebarTooltip=Click or drag and drop shapes. Shift+click to change selection. Alt+click to insert and connect.\nsigns=Signs\nsignOut=Sign out\nsimple=Simple\nsimpleArrow=Simple Arrow\nsimpleViewer=Simple Viewer\nsize=Size\nsketch=Sketch\nsmoothing=Smoothing\nsnapToGrid=Snap to Grid\nsolid=Solid\nsourceSpacing=Source Spacing\nsouth=South\nsoftware=Software\nspace=Space\nspacing=Spacing\nspecialLink=Special Link\nstateDiagram=State Diagram\nstandard=Standard\nstartDrawing=Start drawing\nstopDrawing=Stop drawing\nstarting=Starting\nstraight=Straight\nstrikethrough=Strikethrough\nstrokeColor=Line Color\nstyle=Style\nsubscript=Subscript\nsummary=Summary\nsuperscript=Superscript\nsupport=Support\nswap=Swap\nswimlaneDiagram=Swimlane Diagram\nsysml=SysML\ntags=Tags\ntable=Table\ntables=Tables\ntakeOver=Take Over\ntargetSpacing=Target Spacing\ntemplate=Template\ntemplates=Templates\ntext=Text\ntextAlignment=Text Alignment\ntextOpacity=Text Opacity\ntheme=Theme\ntimeout=Timeout\ntitle=Title\nto=to\ntoBack=To Back\ntoFront=To Front\ntooLargeUseDownload=Too large, use download instead.\ntoolbar=Toolbar\ntooltips=Tooltips\ntop=Top\ntopAlign=Top Align\ntopLeft=Top Left\ntopRight=Top Right\ntransparent=Transparent\ntransparentBackground=Transparent Background\ntrello=Trello\ntryAgain=Try again\ntryOpeningViaThisPage=Try opening via this page\nturn=Rotate shape only by 90°\ntype=Type\ntwitter=Twitter\numl=UML\nunassigned=Unassigned\nunderline=Underline\nundo=Undo\nungroup=Ungroup\nunmerge=Unmerge\nunsavedChanges=Unsaved changes\nunsavedChangesClickHereToSave=Unsaved changes. Click here to save.\nuntitled=Untitled\nuntitledDiagram=Untitled Diagram\nuntitledLayer=Untitled Layer\nuntitledLibrary=Untitled Library\nunknownError=Unknown error\nunknownUser=Unknown user\nupdateExistingDrawing=Update existing drawing\nupdateFile=Update {1}\nupdatingDocument=Updating Document. Please wait...\nupdatingPreview=Updating Preview. Please wait...\nupdatingSelection=Updating Selection. Please wait...\nupload=Upload\nurl=URL\nuseBlackAndWhite=Use black and white\nuseCurrentSettings=Use current settings\nuseOffline=Use Offline\nuserDefined=User-defined\nuseRootFolder=Use root folder?\nuserManual=User Manual\nvertical=Vertical\nverticalFlow=Vertical Flow\nverticalTree=Vertical Tree\nview=View\nviewerSettings=Viewer Settings\nviewUrl=Link to view: {1}\nvoiceAssistant=Voice Assistant (beta)\nwarning=Warning\nwaypoints=Waypoints\nwest=West\nwhere=Where\nwidth=Width\nwiki=Wiki\nwordWrap=Word Wrap\nwritingDirection=Writing Direction\nyes=Yes\nyourEmailAddress=Your email address\nzoom=Zoom\nzoomIn=Zoom In\nzoomOut=Zoom Out\nbasic=Basic\nbusinessprocess=Business Processes\ncharts=Charts\nengineering=Engineering\nflowcharts=Flowcharts\ngmdl=Material Design\nmindmaps=Mindmaps\nmockups=Mockups\nnetworkdiagrams=Network Diagrams\nnothingIsSelected=Nothing is selected\nother=Other\nsoftwaredesign=Software Design\nvenndiagrams=Venn Diagrams\nwebEmailOrOther=Web, email or any other internet address\nwebLink=Web Link\nwireframes=Wireframes\nproperty=Property\nvalue=Value\nshowMore=Show More\nshowLess=Show Less\nmyDiagrams=My Diagrams\nallDiagrams=All Diagrams\nrecentlyUsed=Recently used\nlistView=List view\ngridView=Grid view\nresultsFor=Results for \'{1}\'\noneDriveCharsNotAllowed=The following characters are not allowed: ~ " # % * : < > ? / { | }\noneDriveInvalidDeviceName=The specified device name is invalid\nofficeNotLoggedOD=You are not logged in to OneDrive. Please open draw.io task pane and login first.\nofficeSelectSingleDiag=Please select a single draw.io diagram only without other contents.\nofficeSelectDiag=Please select a draw.io diagram.\nofficeCannotFindDiagram=Cannot find a draw.io diagram in the selection\nnoDiagrams=No diagrams found\nauthFailed=Authentication failed\nofficeFailedAuthMsg=Unable to successfully authenticate user or authorize application.\nconvertingDiagramFailed=Converting diagram failed\nofficeCopyImgErrMsg=Due to some limitations in the host application, the image could not be inserted. Please manually copy the image then paste it to the document.\ninsertingImageFailed=Inserting image failed\nofficeCopyImgInst=Instructions: Right-click the image below. Select "Copy image" from the context menu. Then, in the document, right-click and select "Paste" from the context menu.\nfolderEmpty=Folder is empty\nrecent=Recent\nsharedWithMe=Shared With Me\nsharepointSites=Sharepoint Sites\nerrorFetchingFolder=Error fetching folder items\nerrorAuthOD=Error authenticating to OneDrive\nofficeMainHeader=Adds draw.io diagrams to your document.\nofficeStepsHeader=This add-in performs the following steps:\nofficeStep1=Connects to Microsoft OneDrive, Google Drive or your device.\nofficeStep2=Select a draw.io diagram.\nofficeStep3=Insert the diagram into the document.\nofficeAuthPopupInfo=Please complete the authentication in the pop-up window.\nofficeSelDiag=Select draw.io Diagram:\nfiles=Files\nshared=Shared\nsharepoint=Sharepoint\nofficeManualUpdateInst=Instructions: Copy draw.io diagram from the document. Then, in the box below, right-click and select "Paste" from the context menu.\nofficeClickToEdit=Click icon to start editing:\npasteDiagram=Paste draw.io diagram here\nconnectOD=Connect to OneDrive\nselectChildren=Select Children\nselectSiblings=Select Siblings\nselectParent=Select Parent\nselectDescendants=Select Descendants\nlastSaved=Last saved {1} ago\nresolve=Resolve\nreopen=Re-open\nshowResolved=Show Resolved\nreply=Reply\nobjectNotFound=Object not found\nreOpened=Re-opened\nmarkedAsResolved=Marked as resolved\nnoCommentsFound=No comments found\ncomments=Comments\ntimeAgo={1} ago\nconfluenceCloud=Confluence Cloud\nlibraries=Libraries\nconfAnchor=Confluence Page Anchor\nconfTimeout=The connection has timed out\nconfSrvTakeTooLong=The server at {1} is taking too long to respond.\nconfCannotInsertNew=Cannot insert draw.io diagram to a new Confluence page\nconfSaveTry=Please save the page and try again.\nconfCannotGetID=Unable to determine page ID\nconfContactAdmin=Please contact your Confluence administrator.\nreadErr=Read Error\neditingErr=Editing Error\nconfExtEditNotPossible=This diagram cannot be edited externally. Please try editing it while editing the page\nconfEditedExt=Diagram/Page edited externally\ndiagNotFound=Diagram Not Found\nconfEditedExtRefresh=Diagram/Page is edited externally. Please refresh the page.\nconfCannotEditDraftDelOrExt=Cannot edit diagrams in a draft page, diagram is deleted from the page, or diagram is edited externally. Please check the page.\nretBack=Return back\nconfDiagNotPublished=The diagram does not belong to a published page\ncreatedByDraw=Created by draw.io\nfilenameShort=Filename too short\ninvalidChars=Invalid characters\nalreadyExst={1} already exists\ndraftReadErr=Draft Read Error\ndiagCantLoad=Diagram cannot be loaded\ndraftWriteErr=Draft Write Error\ndraftCantCreate=Draft could not be created\nconfDuplName=Duplicate diagram name detected. Please pick another name.\nconfSessionExpired=Looks like your session expired. Log in again to keep working.\nlogin=Login\ndrawPrev=draw.io preview\ndrawDiag=draw.io diagram\ninvalidCallFnNotFound=Invalid Call: {1} not found\ninvalidCallErrOccured=Invalid Call: An error occurred, {1}\nanonymous=Anonymous\nconfGotoPage=Go to containing page\nshowComments=Show Comments\nconfError=Error: {1}\ngliffyImport=Gliffy Import\ngliffyImportInst1=Click the "Start Import" button to import all Gliffy diagrams to draw.io.\ngliffyImportInst2=Please note that the import procedure will take some time and the browser window must remain open until the import is completed.\nstartImport=Start Import\ndrawConfig=draw.io Configuration\ncustomLib=Custom Libraries\ncustomTemp=Custom Templates\npageIdsExp=Page IDs Export\ndrawReindex=draw.io re-indexing (beta)\nworking=Working\ndrawConfigNotFoundInst=draw.io Configuration Space (DRAWIOCONFIG) does not exist. This space is needed to store draw.io configuration files and custom libraries/templates.\ncreateConfSp=Create Config Space\nunexpErrRefresh=Unexpected error, please refresh the page and try again.\nconfigJSONInst=Write draw.io JSON configuration in the editor below then click save. If you need help, please refer to\nthisPage=this page\ncurCustLib=Current Custom Libraries\nlibName=Library Name\naction=Action\ndrawConfID=draw.io Config ID\naddLibInst=Click the "Add Library" button to upload a new library.\naddLib=Add Library\ncustomTempInst1=Custom templates are draw.io diagrams saved in children pages of\ncustomTempInst2=For more details, please refer to\ntempsPage=Templates page\npageIdsExpInst1=Select export target, then click the "Start Export" button to export all pages IDs.\npageIdsExpInst2=Please note that the export procedure will take some time and the browser window must remain open until the export is completed.\nstartExp=Start Export\nrefreshDrawIndex=Refresh draw.io Diagrams Index\nreindexInst1=Click the "Start Indexing" button to refresh draw.io diagrams index.\nreindexInst2=Please note that the indexing procedure will take some time and the browser window must remain open until the indexing is completed.\nstartIndexing=Start Indexing\nconfAPageFoundFetch=Page "{1}" found. Fetching\nconfAAllDiagDone=All {1} diagrams processed. Process finished.\nconfAStartedProcessing=Started processing page "{1}"\nconfAAllDiagInPageDone=All {1} diagrams in page "{2}" processed successfully.\nconfAPartialDiagDone={1} out of {2} {3} diagrams in page "{4}" processed successfully.\nconfAUpdatePageFailed=Updating page "{1}" failed.\nconfANoDiagFoundInPage=No {1} diagrams found in page "{2}".\nconfAFetchPageFailed=Fetching the page failed.\nconfANoDiagFound=No {1} diagrams found. Process finished.\nconfASearchFailed=Searching for {1} diagrams failed. Please try again later.\nconfAGliffyDiagFound={2} diagram "{1}" found. Importing\nconfAGliffyDiagImported={2} diagram "{1}" imported successfully.\nconfASavingImpGliffyFailed=Saving imported {2} diagram "{1}" failed.\nconfAImportedFromByDraw=Imported from "{1}" by draw.io\nconfAImportGliffyFailed=Importing {2} diagram "{1}" failed.\nconfAFetchGliffyFailed=Fetching {2} diagram "{1}" failed.\nconfACheckBrokenDiagLnk=Checking for broken diagrams links.\nconfADelDiagLinkOf=Deleting diagram link of "{1}"\nconfADupLnk=(duplicate link)\nconfADelDiagLnkFailed=Deleting diagram link of "{1}" failed.\nconfAUnexpErrProcessPage=Unexpected error during processing the page with id: {1}\nconfADiagFoundIndex=Diagram "{1}" found. Indexing\nconfADiagIndexSucc=Diagram "{1}" indexed successfully.\nconfAIndexDiagFailed=Indexing diagram "{1}" failed.\nconfASkipDiagOtherPage=Skipped "{1}" as it belongs to another page!\nconfADiagUptoDate=Diagram "{1}" is up to date.\nconfACheckPagesWDraw=Checking pages having draw.io diagrams.\nconfAErrOccured=An error occurred!\nsavedSucc=Saved successfully\nconfASaveFailedErr=Saving Failed (Unexpected Error)\ncharacter=Character\nconfAConfPageDesc=This page contains draw.io configuration file (configuration.json) as attachment\nconfALibPageDesc=This page contains draw.io custom libraries as attachments\nconfATempPageDesc=This page contains draw.io custom templates as attachments\nworking=Working\nconfAConfSpaceDesc=This space is used to store draw.io configuration files and custom libraries/templates\nconfANoCustLib=No Custom Libraries\ndelFailed=Delete failed!\nshowID=Show ID\nconfAIncorrectLibFileType=Incorrect file type. Libraries should be XML files.\nuploading=Uploading\nconfALibExist=This library already exists\nconfAUploadSucc=Uploaded successfully\nconfAUploadFailErr=Upload Failed (Unexpected Error)\nhiResPreview=High Res Preview\nofficeNotLoggedGD=You are not logged in to Google Drive. Please open draw.io task pane and login first.\nofficePopupInfo=Please complete the process in the pop-up window.\npickODFile=Pick OneDrive File\ncreateODFile=Create OneDrive File\npickGDriveFile=Pick Google Drive File\ncreateGDriveFile=Create Google Drive File\npickDeviceFile=Pick Device File\nvsdNoConfig="vsdurl" is not configured\nruler=Ruler\nunits=Units\npoints=Points\ninches=Inches\nmillimeters=Millimeters\nconfEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.\nconfDiagEditedExt=Diagram is edited in another session. It will be saved as a new attachment version but the page will show other session\'s modifications.\nmacroNotFound=Macro Not Found\nconfAInvalidPageIdsFormat=Incorrect Page IDs file format\nconfACollectingCurPages=Collecting current pages\nconfABuildingPagesMap=Building pages mapping\nconfAProcessDrawDiag=Started processing imported draw.io diagrams\nconfAProcessDrawDiagDone=Finished processing imported draw.io diagrams\nconfAProcessImpPages=Started processing imported pages\nconfAErrPrcsDiagInPage=Error processing draw.io diagrams in page "{1}"\nconfAPrcsDiagInPage=Processing draw.io diagrams in page "{1}"\nconfAImpDiagram=Importing diagram "{1}"\nconfAImpDiagramFailed=Importing diagram "{1}" failed. Cannot find its new page ID. Maybe it points to a page that is not imported.\nconfAImpDiagramError=Error importing diagram "{1}". Cannot fetch or save the diagram. Cannot fix this diagram links.\nconfAUpdateDgrmCCFailed=Updating link to diagram "{1}" failed.\nconfImpDiagramSuccess=Updating diagram "{1}" done successfully.\nconfANoLnksInDrgm=No links to update in: {1}\nconfAUpdateLnkToPg=Updated link to page: "{1}" in diagram: "{2}"\nconfAUpdateLBLnkToPg=Updated lightbox link to page: "{1}" in diagram: "{2}"\nconfAUpdateLnkBase=Updated base URL from: "{1}" to: "{2}" in diagram: "{3}"\nconfAPageIdsImpDone=Page IDs Import finished\nconfAPrcsMacrosInPage=Processing draw.io macros in page "{1}"\nconfAErrFetchPage=Error fetching page "{1}"\nconfAFixingMacro=Fixing macro of diagram "{1}"\nconfAErrReadingExpFile=Error reading export file\nconfAPrcsDiagInPageDone=Processing draw.io diagrams in page "{1}" finished\nconfAFixingMacroSkipped=Fixing macro of diagram "{1}" failed. Cannot find its new page ID. Maybe it points to a page that is not imported.\npageIdsExpTrg=Export target\nconfALucidDiagImgImported={2} diagram "{1}" image extracted successfully\nconfASavingLucidDiagImgFailed=Extracting {2} diagram "{1}" image failed\nconfGetInfoFailed=Fetching file info from {1} failed.\nconfCheckCacheFailed=Cannot get cached file info.\nconfReadFileErr=Cannot read "{1}" file from {2}.\nconfSaveCacheFailed=Unexpected error. Cannot save cached file\norgChartType=Org Chart Type\nlinear=Linear\nhanger2=Hanger 2\nhanger4=Hanger 4\nfishbone1=Fishbone 1\nfishbone2=Fishbone 2\n1ColumnLeft=Single Column Left\n1ColumnRight=Single Column Right\nsmart=Smart\nparentChildSpacing=Parent Child Spacing\nsiblingSpacing=Sibling Spacing\nconfNoPermErr=Sorry, you don\'t have enough permissions to view this embedded diagram from page {1}\ncopyAsImage=Copy as Image\ncopyAsText=Copy as Text\nlucidImport=Lucidchart Import\nlucidImportInst1=Click the "Start Import" button to import all Lucidchart diagrams.\ninstallFirst=Please install {1} first\ndrawioChromeExt=draw.io Chrome Extension\nloginFirstThen=Please login to {1} first, then {2}\nerrFetchDocList=Error: Couldn\'t fetch documents list\nbuiltinPlugins=Built-in Plugins\nextPlugins=External Plugins\nbackupFound=Backup file found\nchromeOnly=This feature only works in Google Chrome\nmsgDeleted=This message has been deleted\nconfAErrFetchDrawList=Error fetching diagrams list. Some diagrams are skipped.\nconfAErrCheckDrawDiag=Cannot check diagram {1}\nconfAErrFetchPageList=Error fetching pages list\nconfADiagImportIncom={1} diagram "{2}" is imported partially and may have missing shapes\ninvalidSel=Invalid selection\ndiagNameEmptyErr=Diagram name cannot be empty\nopenDiagram=Open Diagram\nnewDiagram=New diagram\neditable=Editable\nconfAReimportStarted=Re-import {1} diagrams started...\nspaceFilter=Filter by spaces\ncurViewState=Current Viewer State\npageLayers=Page and Layers\ncustomize=Customize\nfirstPage=First Page (All Layers)\ncurEditorState=Current Editor State\nnoAnchorsFound=No anchors found\nattachment=Attachment\ncurDiagram=Current Diagram\nrecentDiags=Recent Diagrams\ncsvImport=CSV Import\nchooseFile=Choose a file...\nchoose=Choose\ngdriveFname=Google Drive filename\nwidthOfViewer=Width of the viewer (px)\nheightOfViewer=Height of the viewer (px)\nautoSetViewerSize=Automatically set the size of the viewer\nthumbnail=Thumbnail\nprevInDraw=Preview in draw.io\nonedriveFname=OneDrive filename\ndiagFname=Diagram filename\ndiagUrl=Diagram URL\nshowDiag=Show Diagram\ndiagPreview=Diagram Preview\ncsvFileUrl=CSV File URL\ngenerate=Generate\nselectDiag2Insert=Please select a diagram to insert it.\nerrShowingDiag=Unexpected error. Cannot show diagram\nnoRecentDiags=No recent diagrams found\nfetchingRecentFailed=Failed to fetch recent diagrams\nuseSrch2FindDiags=Use the search box to find draw.io diagrams\ncantReadChckPerms=Cannot read the specified diagram. Please check you have read permission on that file.\ncantFetchChckPerms=Cannot fetch diagram info. Please check you have read permission on that file.\nsearchFailed=Searching failed. Please try again later.\nplsTypeStr=Please type a search string.\nunsupportedFileChckUrl=Unsupported file. Please check the specified URL\ndiagNotFoundChckUrl=Diagram not found or cannot be accessed. Please check the specified URL\ncsvNotFoundChckUrl=CSV file not found or cannot be accessed. Please check the specified URL\ncantReadUpload=Cannot read the uploaded diagram\nselect=Select\nerrCantGetIdType=Unexpected Error: Cannot get content id or type.\nerrGAuthWinBlocked=Error: Google Authentication window blocked\nauthDrawAccess=Authorize draw.io to access {1}\nconnTimeout=The connection has timed out\nerrAuthSrvc=Error authenticating to {1}\nplsSelectFile=Please select a file\nmustBgtZ={1} must be greater than zero\ncantLoadPrev=Cannot load file preview.\nerrAccessFile=Error: Access Denied. You do not have permission to access "{1}".\nnoPrevAvail=No preview is available.\npersonalAccNotSup=Personal accounts are not supported.\nerrSavingTryLater=Error occurred during saving, please try again later.\nplsEnterFld=Please enter {1}\ninvalidDiagUrl=Invalid Diagram URL\nunsupportedVsdx=Unsupported vsdx file\nunsupportedImg=Unsupported image file\nunsupportedFormat=Unsupported file format\nplsSelectSingleFile=Please select a single file only\nattCorrupt=Attachment file "{1}" is corrupted\nloadAttFailed=Failed to load attachment "{1}"\nembedDrawDiag=Embed draw.io Diagram\naddDiagram=Add Diagram\nembedDiagram=Embed Diagram\neditOwningPg=Edit owning page\ndeepIndexing=Deep Indexing (Index diagrams that aren\'t used in any page also)\nconfADeepIndexStarted=Deep Indexing Started\nconfADeepIndexDone=Deep Indexing Done\nofficeNoDiagramsSelected=No diagrams found in the selection\nofficeNoDiagramsInDoc=No diagrams found in the document\nofficeNotSupported=This feature is not supported in this host application\nsomeImagesFailed={1} out of {2} failed due to the following errors\nimportingNoUsedDiagrams=Importing {1} Diagrams not used in pages\nimportingDrafts=Importing {1} Diagrams in drafts\nprocessingDrafts=Processing drafts\nupdatingDrafts=Updating drafts\nupdateDrafts=Update drafts\nnotifications=Notifications\ndrawioImp=draw.io Import\nconfALibsImp=Importing draw.io Libraries\nconfALibsImpFailed=Importing {1} library failed\ncontributors=Contributors\ndrawDiagrams=draw.io Diagrams\nerrFileNotFoundOrNoPer=Error: Access Denied. File not found or you do not have permission to access "{1}" on {2}.\nconfACheckPagesWEmbed=Checking pages having embedded draw.io diagrams.\nconfADelBrokenEmbedDiagLnk=Removing broken embedded diagram links\nreplaceWith=Replace with\nreplaceAll=Replace All\nconfASkipDiagModified=Skipped "{1}" as it was modified after initial import\nreplFind=Replace/Find\nmatchesRepl={1} matches replaced\ndraftErrDataLoss=An error occurred while reading the draft file. The diagram cannot be edited now to prevent any possible data loss. Please try again later or contact support.\nibm=IBM\nlinkToDiagramHint=Add a link to this diagram. The diagram can only be edited from the page that owns it.\nlinkToDiagram=Link to Diagram\nchangedBy=Changed By\nlastModifiedOn=Last modified on\nsearchResults=Search Results\nshowAllTemps=Show all templates\nnotionToken=Notion Token\nselectDB=Select Database\nnoDBs=No Databases\ndiagramEdited={1} diagram "{2}" edited\nconfDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?\nconfFileTooBigErr=File size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration.\nowner=Owner\nrepository=Repository\nbranch=Branch\nmeters=Meters\nteamsNoEditingMsg=Editor functionality is only available in Desktop environment (in MS Teams App or a web browser)\ncontactOwner=Contact Owner\nviewerOnlyMsg=You cannot edit the diagrams in the mobile platform, please use the desktop client or a web browser.\nwebsite=Website\ncheck4Updates=Check for updates\nattWriteFailedRetry={1}: Attachment write failed, trying again in {2} seconds...\nconfPartialPageList=We couldn\'t fetch all pages due to an error in Confluence. Continuing using {1} pages only.\nspellCheck=Spell checker\nnoChange=No Change\nlblToSvg=Convert labels to SVG\ntxtSettings=Text Settings\nLinksLost=Links will be lost\narcSize=Arc Size\neditConnectionPoints=Edit Connection Points\nnotInOffline=Not supported while offline\nnotInDesktop=Not supported in Desktop App\nconfConfigSpaceArchived=draw.io Configuration space (DRAWIOCONFIG) is archived. Please restore it first.\nconfACleanOldVerStarted=Cleaning old diagram draft versions started\nconfACleanOldVerDone=Cleaning old diagram draft versions finished\nconfACleaningFile=Cleaning diagram draft "{1}" old versions\nconfAFileCleaned=Cleaning diagram draft "{1}" done\nconfAFileCleanFailed=Cleaning diagram draft "{1}" failed\nconfACleanOnly=Clean Diagram Drafts Only\nbrush=Brush\nopenDevTools=Open Developer Tools\nautoBkp=Automatic Backup\nconfAIgnoreCollectErr=Ignore collecting current pages errors\ndrafts=Drafts\ndraftSaveInt=Draft save interval [sec] (0 to disable)\npluginsDisabled=External plugins disabled.\nextExpNotConfigured=External image service is not configured\npathFilename=Path/Filename\nconfAHugeInstances=Very Large Instances\nconfAHugeInstancesDesc=If this instance includes 100,000+ pages, it is faster to request the current instance pages list from Atlassian. Please contact our support for more details.\nchoosePageIDsFile=Choose current page IDs csv file\nchooseDrawioPsgesFile=Choose pages with draw.io diagrams csv file\nprivate=Private\ndiagramTooLarge=The diagram is too large, please reduce its size and try again.\nselectAdminUsers=Select Admin Users\nxyzTeam={1} Team\naddTeamTitle=Adding a new draw.io Team\naddTeamInst1=To create a new draw.io Team, you need to create a new Atlassian group with "drawio-" prefix (e.g, a group named "drawio-marketing").\naddTeamInst2=Then, configure which team member can edit/add configuration, templates, and libraries from this page.\ndrawioTeams=draw.io Teams\nmembers=Members\nadminEditors=Admins/Editors\nallowAll=Allow all\nnoTeams=No teams found\nerrorLoadingTeams=Error Loading Teams\nnoTeamMembers=No team members found\nerrLoadTMembers=Error loading team members\nerrCreateTeamPage=Error creating team "{1}" page in "draw.io Configuration" space, please check you have the required permissions.\ngotoConfigPage=Please create the space from draw.io "Configuration" page.\nnoAdminsSelected=No admins/editors selected\nerrCreateConfigFile=Error creating "configuration.json" file, please check you have the required permissions.\nerrSetPageRestr=Error setting page restrictions\nnotAdmin4Team=You are not an admin for this team\nconfigUpdated=Configuration updated, restart the editor if you want to work with last configuration.\noutOfDateRevisionAlert=You are editing a historical revision of the diagram, please review the revision and open it to replace the latest version. Or close and overwrite/merge later.\nconfAErrFaqs=There are {1} error(s), the following instructions may help fixing most of the cases. (Please download the log for future references)\nconfA403ErrFaq=There are ({1}) 403 error(s). The current users must have add (write) permissions on all pages and attachments. Even admins sometimes are not allowed to write to some pages via page restrictions\nconfA404ErrFaq=There are ({1}) 404 error(s). The attachment/page is not found. This is due to improper migration or the diagram file (an attachment of the page) is deleted.\nconfA500ErrFaq=There are ({1}) 500 error(s). An internal server error in Confluence Cloud. Such errors are due to overloading the server and usually fixed by retrying the process.\nconfAOtherErrFaq=There are ({1}) other error(s). Please check the error description. If the description is not clear, please contact our support.\nconfAReplaceBaseUrl=Replace Base URL in diagram links when no page ID mapping is found\ndrawSvgPrev=draw.io SVG preview\ngoogleFonts=Google Fonts\ndiagDupl=Duplicate Diagram Detected\ndiagDuplMsg=This diagram is used in multiple places, which can result in unexpected results when edited. We\'ve created an independent copy. Please open the editor again.\ndiagDuplNoEditMsg=This diagram is used in multiple places. Please edit it within its own page.\nconfCloudMigConfirm=Warning: This process will edit many pages and diagrams, so it is recommended to stop the Synchrony service during the process. Do you want to proceed?\nconfCloudMigNotice=In the Cloud instance, please add linkAdjustments to draw.io configuration as follows {1}. Without this configuration, links in diagrams pointing to Confluence pages will not work.\nconfALogsPageDesc=This page contains logs of draw.io long running services as attachments\nconfEditOnlyInPageEditor=Can only be edited within Confluence page editor\nconfEvalWarn=Evaluation License - Not for production use\notherUsersEditing=Other user(s) are editing this diagram\nfirstTimeGD=First time to access this file?\ndrawioGDAppNotInstalled=draw.io Google Drive app is not installed, please install it first\nConfDC415Error=Saving drafts is blocked. If you have "Attachment Checker for Confluence" app, please update to the latest version.\n');Graph.prototype.defaultThemes["default-style2"]=mxUtils.parseXml('<mxStylesheet><add as="defaultVertex"><add as="shape" value="label"/><add as="perimeter" value="rectanglePerimeter"/><add as="fontSize" value="12"/><add as="fontFamily" value="Helvetica"/><add as="align" value="center"/><add as="verticalAlign" value="middle"/><add as="fillColor" value="default"/><add as="strokeColor" value="default"/><add as="fontColor" value="default"/></add><add as="defaultEdge"><add as="shape" value="connector"/><add as="labelBackgroundColor" value="default"/><add as="endArrow" value="classic"/><add as="fontSize" value="11"/><add as="fontFamily" value="Helvetica"/><add as="align" value="center"/><add as="verticalAlign" value="middle"/><add as="rounded" value="1"/><add as="strokeColor" value="default"/><add as="fontColor" value="default"/></add><add as="text"><add as="fillColor" value="none"/><add as="gradientColor" value="none"/><add as="strokeColor" value="none"/><add as="align" value="left"/><add as="verticalAlign" value="top"/></add><add as="edgeLabel" extend="text"><add as="labelBackgroundColor" value="default"/><add as="fontSize" value="11"/></add><add as="label"><add as="fontStyle" value="1"/><add as="align" value="left"/><add as="verticalAlign" value="middle"/><add as="spacing" value="2"/><add as="spacingLeft" value="52"/><add as="imageWidth" value="42"/><add as="imageHeight" value="42"/><add as="rounded" value="1"/></add><add as="icon" extend="label"><add as="align" value="center"/><add as="imageAlign" value="center"/><add as="verticalLabelPosition" value="bottom"/><add as="verticalAlign" value="top"/><add as="spacingTop" value="4"/><add as="labelBackgroundColor" value="default"/><add as="spacing" value="0"/><add as="spacingLeft" value="0"/><add as="spacingTop" value="6"/><add as="fontStyle" value="0"/><add as="imageWidth" value="48"/><add as="imageHeight" value="48"/></add><add as="swimlane"><add as="shape" value="swimlane"/><add as="fontSize" value="12"/><add as="fontStyle" value="1"/><add as="startSize" value="23"/></add><add as="group"><add as="verticalAlign" value="top"/><add as="fillColor" value="none"/><add as="strokeColor" value="none"/><add as="gradientColor" value="none"/><add as="pointerEvents" value="0"/></add><add as="ellipse"><add as="shape" value="ellipse"/><add as="perimeter" value="ellipsePerimeter"/></add><add as="rhombus"><add as="shape" value="rhombus"/><add as="perimeter" value="rhombusPerimeter"/></add><add as="triangle"><add as="shape" value="triangle"/><add as="perimeter" value="trianglePerimeter"/></add><add as="line"><add as="shape" value="line"/><add as="strokeWidth" value="4"/><add as="labelBackgroundColor" value="default"/><add as="verticalAlign" value="top"/><add as="spacingTop" value="8"/></add><add as="image"><add as="shape" value="image"/><add as="labelBackgroundColor" value="default"/><add as="verticalAlign" value="top"/><add as="verticalLabelPosition" value="bottom"/></add><add as="roundImage" extend="image"><add as="perimeter" value="ellipsePerimeter"/></add><add as="rhombusImage" extend="image"><add as="perimeter" value="rhombusPerimeter"/></add><add as="arrow"><add as="shape" value="arrow"/><add as="edgeStyle" value="none"/><add as="fillColor" value="default"/></add><add as="fancy"><add as="shadow" value="1"/><add as="glass" value="1"/></add><add as="gray" extend="fancy"><add as="gradientColor" value="#B3B3B3"/><add as="fillColor" value="#F5F5F5"/><add as="strokeColor" value="#666666"/></add><add as="blue" extend="fancy"><add as="gradientColor" value="#7EA6E0"/><add as="fillColor" value="#DAE8FC"/><add as="strokeColor" value="#6C8EBF"/></add><add as="green" extend="fancy"><add as="gradientColor" value="#97D077"/><add as="fillColor" value="#D5E8D4"/><add as="strokeColor" value="#82B366"/></add><add as="turquoise" extend="fancy"><add as="gradientColor" value="#67AB9F"/><add as="fillColor" value="#D5E8D4"/><add as="strokeColor" value="#6A9153"/></add><add as="yellow" extend="fancy"><add as="gradientColor" value="#FFD966"/><add as="fillColor" value="#FFF2CC"/><add as="strokeColor" value="#D6B656"/></add><add as="orange" extend="fancy"><add as="gradientColor" value="#FFA500"/><add as="fillColor" value="#FFCD28"/><add as="strokeColor" value="#D79B00"/></add><add as="red" extend="fancy"><add as="gradientColor" value="#EA6B66"/><add as="fillColor" value="#F8CECC"/><add as="strokeColor" value="#B85450"/></add><add as="pink" extend="fancy"><add as="gradientColor" value="#B5739D"/><add as="fillColor" value="#E6D0DE"/><add as="strokeColor" value="#996185"/></add><add as="purple" extend="fancy"><add as="gradientColor" value="#8C6C9C"/><add as="fillColor" value="#E1D5E7"/><add as="strokeColor" value="#9673A6"/></add><add as="plain-gray"><add as="gradientColor" value="#B3B3B3"/><add as="fillColor" value="#F5F5F5"/><add as="strokeColor" value="#666666"/></add><add as="plain-blue"><add as="gradientColor" value="#7EA6E0"/><add as="fillColor" value="#DAE8FC"/><add as="strokeColor" value="#6C8EBF"/></add><add as="plain-green"><add as="gradientColor" value="#97D077"/><add as="fillColor" value="#D5E8D4"/><add as="strokeColor" value="#82B366"/></add><add as="plain-turquoise"><add as="gradientColor" value="#67AB9F"/><add as="fillColor" value="#D5E8D4"/><add as="strokeColor" value="#6A9153"/></add><add as="plain-yellow"><add as="gradientColor" value="#FFD966"/><add as="fillColor" value="#FFF2CC"/><add as="strokeColor" value="#D6B656"/></add><add as="plain-orange"><add as="gradientColor" value="#FFA500"/><add as="fillColor" value="#FFCD28"/><add as="strokeColor" value="#D79B00"/></add><add as="plain-red"><add as="gradientColor" value="#EA6B66"/><add as="fillColor" value="#F8CECC"/><add as="strokeColor" value="#B85450"/></add><add as="plain-pink"><add as="gradientColor" value="#B5739D"/><add as="fillColor" value="#E6D0DE"/><add as="strokeColor" value="#996185"/></add><add as="plain-purple"><add as="gradientColor" value="#8C6C9C"/><add as="fillColor" value="#E1D5E7"/><add as="strokeColor" value="#9673A6"/></add></mxStylesheet>').documentElement;
Graph.prototype.defaultThemes.darkTheme=Graph.prototype.defaultThemes["default-style2"];Editor.currentTheme="";window.uiTheme="";GraphViewer=function(b,e,g){this.init(b,e,g)};mxUtils.extend(GraphViewer,mxEventSource);GraphViewer.prototype.editBlankUrl="1"==urlParams.dev?"https://test.draw.io/":"https://app.diagrams.net/";GraphViewer.prototype.imageBaseUrl=window.DRAWIO_BASE_URL+"/";GraphViewer.prototype.toolbarHeight="BackCompat"==document.compatMode?24:26;GraphViewer.prototype.lightboxChrome=!0;GraphViewer.prototype.lightboxZIndex=999;GraphViewer.prototype.toolbarZIndex=999;
GraphViewer.prototype.autoFit=!1;GraphViewer.prototype.autoCrop=!1;GraphViewer.prototype.autoOrigin=!0;GraphViewer.prototype.center=!1;GraphViewer.prototype.forceCenter=!1;GraphViewer.prototype.allowZoomIn=!1;GraphViewer.prototype.allowZoomOut=!0;GraphViewer.prototype.showTitleAsTooltip=!1;GraphViewer.prototype.checkVisibleState=!0;GraphViewer.prototype.minHeight=28;GraphViewer.prototype.minWidth=100;GraphViewer.prototype.responsive=!1;GraphViewer.prototype.darkMode=!1;
GraphViewer.prototype.init=function(b,e,g){this.graphConfig=null!=g?g:{};this.autoFit=null!=this.graphConfig["auto-fit"]?this.graphConfig["auto-fit"]:this.autoFit;this.autoCrop=null!=this.graphConfig["auto-crop"]?this.graphConfig["auto-crop"]:this.autoCrop;this.autoOrigin=null!=this.graphConfig["auto-origin"]?this.graphConfig["auto-origin"]:this.autoOrigin;this.allowZoomOut=null!=this.graphConfig["allow-zoom-out"]?this.graphConfig["allow-zoom-out"]:this.allowZoomOut;this.allowZoomIn=null!=this.graphConfig["allow-zoom-in"]?
@@ -4222,11 +4220,11 @@ this.toolbarZIndex;e.style.backgroundColor="#eee";e.style.height=this.toolbarHei
g=window.setTimeout(mxUtils.bind(this,function(){mxUtils.setOpacity(e,0);g=null;n=window.setTimeout(mxUtils.bind(this,function(){e.style.display="none";n=null}),100)}),ea||200)}),q=mxUtils.bind(this,function(ea){null!=g&&(window.clearTimeout(g),fadeThead=null);null!=n&&(window.clearTimeout(n),fadeThead2=null);e.style.display="";mxUtils.setOpacity(e,ea||30)});mxEvent.addListener(this.graph.container,mxClient.IS_POINTER?"pointermove":"mousemove",mxUtils.bind(this,function(ea){mxEvent.isTouchEvent(ea)||
(q(30),v())}));mxEvent.addListener(e,mxClient.IS_POINTER?"pointermove":"mousemove",function(ea){mxEvent.consume(ea)});mxEvent.addListener(e,"mouseenter",mxUtils.bind(this,function(ea){q(100)}));mxEvent.addListener(e,"mousemove",mxUtils.bind(this,function(ea){q(100);mxEvent.consume(ea)}));mxEvent.addListener(e,"mouseleave",mxUtils.bind(this,function(ea){mxEvent.isTouchEvent(ea)||q(30)}));var C=this.graph,H=C.getTolerance();C.addMouseListener({startX:0,startY:0,scrollLeft:0,scrollTop:0,mouseDown:function(ea,
T){this.startX=T.getGraphX();this.startY=T.getGraphY();this.scrollLeft=C.container.scrollLeft;this.scrollTop=C.container.scrollTop},mouseMove:function(ea,T){},mouseUp:function(ea,T){mxEvent.isTouchEvent(T.getEvent())&&Math.abs(this.scrollLeft-C.container.scrollLeft)<H&&Math.abs(this.scrollTop-C.container.scrollTop)<H&&Math.abs(this.startX-T.getGraphX())<H&&Math.abs(this.startY-T.getGraphY())<H&&(0<parseFloat(e.style.opacity||0)?v():q(30))}})}for(var U=this.toolbarItems,F=0,K=mxUtils.bind(this,function(ea,
-T,ca,ka){ea=this.createToolbarButton(ea,T,ca,ka);e.appendChild(ea);F++;return ea}),S=this.graph.getModel(),W=null,c=null,f=null,l=null,z=0;z<U.length;z++){var A=U[z];if("pages"==A){l=b.ownerDocument.createElement("div");l.style.cssText="display:inline-flex;position:relative;align-items:center;padding:4px;font-family:Helvetica,Arial;font-size:12px;;cursor:default;color:#000;";mxUtils.setOpacity(l,70);var B=K(mxUtils.bind(this,function(){this.selectPage(this.currentPage-1)}),Editor.previousImage,mxResources.get("previousPage")||
+T,ca,ja){ea=this.createToolbarButton(ea,T,ca,ja);e.appendChild(ea);F++;return ea}),S=this.graph.getModel(),W=null,c=null,f=null,l=null,z=0;z<U.length;z++){var A=U[z];if("pages"==A){l=b.ownerDocument.createElement("div");l.style.cssText="display:inline-flex;position:relative;align-items:center;padding:4px;font-family:Helvetica,Arial;font-size:12px;;cursor:default;color:#000;";mxUtils.setOpacity(l,70);var B=K(mxUtils.bind(this,function(){this.selectPage(this.currentPage-1)}),Editor.previousImage,mxResources.get("previousPage")||
"Previous Page");B.style.borderRightStyle="none";B.style.paddingLeft="0px";B.style.paddingRight="0px";e.appendChild(l);var G=K(mxUtils.bind(this,function(){this.selectPage(this.currentPage+1)}),Editor.nextImage,mxResources.get("nextPage")||"Next Page");G.style.paddingLeft="0px";G.style.paddingRight="0px";A=mxUtils.bind(this,function(){l.innerText="";mxUtils.write(l,this.currentPage+1+" / "+this.diagrams.length);l.style.display=1<this.diagrams.length?"inline-flex":"none";B.style.display=l.style.display;
G.style.display=l.style.display});this.addListener("graphChanged",A);A()}else if("zoom"==A)this.zoomEnabled&&(K(mxUtils.bind(this,function(){this.graph.zoomOut()}),Editor.zoomOutImage,mxResources.get("zoomOut")||"Zoom Out"),K(mxUtils.bind(this,function(){this.graph.zoomIn()}),Editor.zoomInImage,mxResources.get("zoomIn")||"Zoom In"),K(mxUtils.bind(this,function(){this.graph.view.scaleAndTranslate(this.graph.initialViewState.scale,this.graph.initialViewState.translate.x,this.graph.initialViewState.translate.y)}),
-Editor.zoomFitImage,mxResources.get("fit")||"Fit"));else if("layers"==A){if(this.layersEnabled){var L=K(mxUtils.bind(this,function(ea){if(null!=W)W.parentNode.removeChild(W),W=null;else{W=this.graph.createLayersDialog(mxUtils.bind(this,function(){if(this.autoCrop)this.crop();else if(this.autoOrigin){var ca=this.graph.getGraphBounds(),ka=this.graph.view;0>ca.x||0>ca.y?(this.crop(),this.graph.originalViewState=this.graph.initialViewState,this.graph.initialViewState={translate:ka.translate.clone(),scale:ka.scale}):
-null!=this.graph.originalViewState&&0<ca.x/ka.scale+this.graph.originalViewState.translate.x-ka.translate.x&&0<ca.y/ka.scale+this.graph.originalViewState.translate.y-ka.translate.y&&(ka.setTranslate(this.graph.originalViewState.translate.x,this.graph.originalViewState.translate.y),this.graph.originalViewState=null,this.graph.initialViewState={translate:ka.translate.clone(),scale:ka.scale})}}));mxEvent.addListener(W,"mouseleave",function(){W.parentNode.removeChild(W);W=null});ea=L.getBoundingClientRect();
+Editor.zoomFitImage,mxResources.get("fit")||"Fit"));else if("layers"==A){if(this.layersEnabled){var L=K(mxUtils.bind(this,function(ea){if(null!=W)W.parentNode.removeChild(W),W=null;else{W=this.graph.createLayersDialog(mxUtils.bind(this,function(){if(this.autoCrop)this.crop();else if(this.autoOrigin){var ca=this.graph.getGraphBounds(),ja=this.graph.view;0>ca.x||0>ca.y?(this.crop(),this.graph.originalViewState=this.graph.initialViewState,this.graph.initialViewState={translate:ja.translate.clone(),scale:ja.scale}):
+null!=this.graph.originalViewState&&0<ca.x/ja.scale+this.graph.originalViewState.translate.x-ja.translate.x&&0<ca.y/ja.scale+this.graph.originalViewState.translate.y-ja.translate.y&&(ja.setTranslate(this.graph.originalViewState.translate.x,this.graph.originalViewState.translate.y),this.graph.originalViewState=null,this.graph.initialViewState={translate:ja.translate.clone(),scale:ja.scale})}}));mxEvent.addListener(W,"mouseleave",function(){W.parentNode.removeChild(W);W=null});ea=L.getBoundingClientRect();
W.style.width="140px";W.style.padding="2px 0px 2px 0px";W.style.border="1px solid #d0d0d0";W.style.backgroundColor="#eee";W.style.fontFamily=Editor.defaultHtmlFont;W.style.fontSize="11px";W.style.overflowY="auto";W.style.maxHeight=this.graph.container.clientHeight-this.toolbarHeight-10+"px";W.style.zIndex=this.toolbarZIndex+1;W.style.color="#000";mxUtils.setOpacity(W,85);var T=mxUtils.getDocumentScrollOrigin(document);W.style.left=T.x+ea.left-1+"px";W.style.top=T.y+ea.bottom-2+"px";this.darkMode&&
(W.style.filter="invert(93%) hue-rotate(180deg)");document.body.appendChild(W)}}),Editor.layersImage,mxResources.get("layers")||"Layers");S.addListener(mxEvent.CHANGE,function(){L.style.display=1<S.getChildCount(S.root)?"inline-flex":"none"});L.style.display=1<S.getChildCount(S.root)?"inline-flex":"none"}}else if("tags"==A){if(this.tagsEnabled){var P=K(mxUtils.bind(this,function(ea){null==c&&(c=this.graph.createTagsDialog(mxUtils.bind(this,function(){return!0})),c.div.getElementsByTagName("div")[0].style.position=
"",c.div.style.maxHeight="160px",c.div.style.maxWidth="120px",c.div.style.padding="2px",c.div.style.overflow="auto",c.div.style.height="auto",c.div.style.position="fixed",c.div.style.fontFamily=Editor.defaultHtmlFont,c.div.style.fontSize="11px",c.div.style.backgroundColor="#eee",c.div.style.color="#000",c.div.style.border="1px solid #d0d0d0",c.div.style.zIndex=this.toolbarZIndex+1,this.darkMode&&(c.div.style.filter="invert(93%) hue-rotate(180deg)"),mxUtils.setOpacity(c.div,85));if(null!=f)f.parentNode.removeChild(f),
@@ -4235,7 +4233,7 @@ null!=f&&0==this.graph.getAllTags().length&&(f.parentNode.removeChild(f),f=null)
A.image,A.title,A.enabled)))}null!=this.graph.minimumContainerSize&&(this.graph.minimumContainerSize.width=34*F);null!=this.graphConfig.title&&(U=b.ownerDocument.createElement("div"),U.style.cssText="display:inline-flex;position:relative;align-items:center;padding:6px;font-family:Helvetica,Arial;font-size:12px;cursor:default;color:#000;",U.setAttribute("title",this.graphConfig.titleTooltip||this.graphConfig.title),mxUtils.write(U,this.graphConfig.title),mxUtils.setOpacity(U,70),e.appendChild(U),this.filename=
U);this.minToolbarWidth=34*F;var J=b.style.border,fa=mxUtils.bind(this,function(){e.style.width="inline"==this.graphConfig["toolbar-position"]?"auto":Math.max(this.minToolbarWidth,b.offsetWidth)+"px";e.style.border="1px solid #d0d0d0";if(1!=this.graphConfig["toolbar-nohide"]){var ea=b.getBoundingClientRect(),T=mxUtils.getScrollOrigin(document.body);T="relative"===document.body.style.position?document.body.getBoundingClientRect():{left:-T.x,top:-T.y};ea={left:ea.left-T.left,top:ea.top-T.top,bottom:ea.bottom-
T.top,right:ea.right-T.left};e.style.left=ea.left+"px";"bottom"==this.graphConfig["toolbar-position"]?e.style.top=ea.bottom-1+"px":"inline"!=this.graphConfig["toolbar-position"]?(e.style.marginTop=-this.toolbarHeight+"px",e.style.top=ea.top+1+"px"):e.style.top=ea.top+"px";"1px solid transparent"==J&&(b.style.border="1px solid #d0d0d0");document.body.appendChild(e);var ca=mxUtils.bind(this,function(){null!=e.parentNode&&e.parentNode.removeChild(e);null!=f&&(f.parentNode.removeChild(f),f=null);null!=
-W&&(W.parentNode.removeChild(W),W=null);b.style.border=J});mxEvent.addListener(document,"mousemove",function(ka){for(ka=mxEvent.getSource(ka);null!=ka;){if(ka==b||ka==e||ka==W||ka==f)return;ka=ka.parentNode}ca()});mxEvent.addListener(document.body,"mouseleave",function(ka){ca()})}else e.style.top=-this.toolbarHeight+"px",e.classList.remove("geDarkMode"),b.appendChild(e)});1!=this.graphConfig["toolbar-nohide"]?mxEvent.addListener(b,"mouseenter",fa):fa();this.responsive&&"undefined"!==typeof ResizeObserver&&
+W&&(W.parentNode.removeChild(W),W=null);b.style.border=J});mxEvent.addListener(document,"mousemove",function(ja){for(ja=mxEvent.getSource(ja);null!=ja;){if(ja==b||ja==e||ja==W||ja==f)return;ja=ja.parentNode}ca()});mxEvent.addListener(document.body,"mouseleave",function(ja){ca()})}else e.style.top=-this.toolbarHeight+"px",e.classList.remove("geDarkMode"),b.appendChild(e)});1!=this.graphConfig["toolbar-nohide"]?mxEvent.addListener(b,"mouseenter",fa):fa();this.responsive&&"undefined"!==typeof ResizeObserver&&
(new ResizeObserver(function(){null!=e.parentNode&&fa()})).observe(b)};
GraphViewer.prototype.createToolbarButton=function(b,e,g,n){var v=document.createElement("div");v.style.borderRight="1px solid #d0d0d0";v.style.display="inline-flex";v.style.alignItems="center";v.style.padding="6px";mxEvent.addListener(v,"click",b);null!=g&&v.setAttribute("title",g);b=document.createElement("img");b.setAttribute("border","0");b.setAttribute("src",e);b.style.width="18px";b.className="geAdaptiveAsset";null==n||n?(mxEvent.addListener(v,"mouseenter",function(){v.style.backgroundColor=
"#ddd"}),mxEvent.addListener(v,"mouseleave",function(){v.style.backgroundColor="#eee"}),mxUtils.setOpacity(b,60),v.style.cursor="pointer"):mxUtils.setOpacity(v,30);v.appendChild(b);return v};
@@ -4265,7 +4263,7 @@ GraphViewer.useResizeSensor=!0;
(function(){var b=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(g){return window.setTimeout(g,20)},e=function(g,n){function v(){this.q=[];this.add=function(l){this.q.push(l)};var c,f;this.call=function(){c=0;for(f=this.q.length;c<f;c++)this.q[c].call()}}function q(c,f){return c.currentStyle?c.currentStyle[f]:window.getComputedStyle?window.getComputedStyle(c,null).getPropertyValue(f):c.style[f]}function C(c,f){if(!c.resizedAttached)c.resizedAttached=
new v,c.resizedAttached.add(f);else if(c.resizedAttached){c.resizedAttached.add(f);return}c.resizeSensor=document.createElement("div");c.resizeSensor.className="resize-sensor";c.resizeSensor.style.cssText="position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: hidden; z-index: -1; visibility: hidden;";c.resizeSensor.innerHTML='<div class="resize-sensor-expand" style="position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: hidden; z-index: -1; visibility: hidden;"><div style="position: absolute; left: 0; top: 0; transition: 0s;"></div></div><div class="resize-sensor-shrink" style="position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: hidden; z-index: -1; visibility: hidden;"><div style="position: absolute; left: 0; top: 0; transition: 0s; width: 200%; height: 200%"></div></div>';
c.appendChild(c.resizeSensor);"static"==q(c,"position")&&(c.style.position="relative");var l=c.resizeSensor.childNodes[0],z=l.childNodes[0],A=c.resizeSensor.childNodes[1],B=function(){z.style.width="100000px";z.style.height="100000px";l.scrollLeft=1E5;l.scrollTop=1E5;A.scrollLeft=1E5;A.scrollTop=1E5};B();var G=!1,L=function(){c.resizedAttached&&(G&&(c.resizedAttached.call(),G=!1),b(L))};b(L);var P,J,fa,ea;f=function(){if((fa=c.offsetWidth)!=P||(ea=c.offsetHeight)!=J)G=!0,P=fa,J=ea;B()};var T=function(ca,
-ka,ma){ca.attachEvent?ca.attachEvent("on"+ka,ma):ca.addEventListener(ka,ma)};T(l,"scroll",f);T(A,"scroll",f)}var H=function(){GraphViewer.resizeSensorEnabled&&n()};if(GraphViewer.useResizeObserver&&"undefined"!==typeof ResizeObserver){var U=null,F=!1;(new ResizeObserver(function(){F||(null!=U&&window.clearTimeout(U),U=window.setTimeout(function(){F=!0;H();U=null;F=!1},200))})).observe(g)}else{var K=Object.prototype.toString.call(g),S="[object Array]"===K||"[object NodeList]"===K||"[object HTMLCollection]"===
+ja,ma){ca.attachEvent?ca.attachEvent("on"+ja,ma):ca.addEventListener(ja,ma)};T(l,"scroll",f);T(A,"scroll",f)}var H=function(){GraphViewer.resizeSensorEnabled&&n()};if(GraphViewer.useResizeObserver&&"undefined"!==typeof ResizeObserver){var U=null,F=!1;(new ResizeObserver(function(){F||(null!=U&&window.clearTimeout(U),U=window.setTimeout(function(){F=!0;H();U=null;F=!1},200))})).observe(g)}else{var K=Object.prototype.toString.call(g),S="[object Array]"===K||"[object NodeList]"===K||"[object HTMLCollection]"===
K||"undefined"!==typeof jQuery&&g instanceof jQuery||"undefined"!==typeof Elements&&g instanceof Elements;if(S){K=0;for(var W=g.length;K<W;K++)C(g[K],H)}else C(g,H);this.detach=function(){if(S)for(var c=0,f=g.length;c<f;c++)e.detach(g[c]);else e.detach(g)}}};e.detach=function(g){g.resizeSensor&&(g.removeChild(g.resizeSensor),delete g.resizeSensor,delete g.resizedAttached)};window.ResizeSensor=e})();
function mxBpmnShape(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxBpmnShape,mxShape);
mxBpmnShape.prototype.customProperties=[{name:"symbol",dispName:"Event",type:"enum",defVal:"general",enumList:[{val:"general",dispName:"General"},{val:"message",dispName:"Message"},{val:"timer",dispName:"Timer"},{val:"escalation",dispName:"Escalation"},{val:"conditional",dispName:"Conditional"},{val:"link",dispName:"Link"},{val:"error",dispName:"Error"},{val:"cancel",dispName:"Cancel"},{val:"compensation",dispName:"Compensation"},{val:"signal",dispName:"Signal"},{val:"multiple",dispName:"Multiple"},
@@ -7509,14 +7507,14 @@ mxRackRackCabinet2.prototype.paintVertexShape=function(a,d,e,b,c){var f=parseFlo
mxRackRackCabinet2.prototype.foreground=function(a,d,e){var b=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"#f4f4f4");a.setFillColor(b);a.rect(0,0,d,21);a.fillAndStroke();a.rect(0,e-21,d,21);a.fillAndStroke();a.rect(0,21,9,e-42);a.fillAndStroke();a.rect(d-9,21,9,e-42);a.fillAndStroke();a.ellipse(2.5,7.5,6,6);a.stroke();a.ellipse(d-8.5,7.5,6,6);a.stroke();a.ellipse(2.5,e-13.5,6,6);a.stroke();a.ellipse(d-8.5,e-13.5,6,6);a.stroke()};
mxRackRackCabinet2.prototype.sideText=function(a,d,e,b,c,f){var g=mxUtils.getValue(this.style,mxRackRackCabinet2.prototype.cst.TEXT_COLOR,"#666666"),h=mxUtils.getValue(this.style,"startUnit",1);a.setFontSize(c);a.setFontColor(g);if(f===mxRackRackCabinet2.prototype.cst.DIR_ASC)for(f=0;f<e;f++)a.text(-c,21+.5*b+f*b,0,0,(f+h).toString(),mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);else if(f===mxRackRackCabinet2.prototype.cst.DIR_DESC||f===mxRackRackCabinet2.prototype.cst.DIR_ON)for(f=
0;f<e;f++)a.text(-c,d-21-.5*b-f*b,0,0,(f+h).toString(),mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.setStrokeColor(g);a.begin();for(f=0;f<e+1;f++)a.moveTo(-2*c,21+f*b),a.lineTo(0,21+f*b);a.stroke()};function mxRackRackCabinet3(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxRackRackCabinet3,mxShape);
-mxRackRackCabinet3.prototype.cst={SHAPE_RACK_RACK_CABINET:"mxgraph.rackGeneral.rackCabinet3",UNIT_NUM:"unitNum",UNIT_HEIGHT:"rackUnitSize",TEXT_COLOR:"textColor",NUM_DIR:"numDir",NUMBER_DISPLAY:"numDisp",ON:"on",OFF:"off",DIR_ASC:"ascend",DIR_DESC:"descend",TEXT_SIZE:"textSize"};
-mxRackRackCabinet3.prototype.customProperties=[{name:"startUnit",dispName:"Starting unit",type:"int",defVal:1},{name:"rackUnitSize",dispName:"Unit height",type:"float",defVal:14.8},{name:"fillColor2",dispName:"Panel Color",type:"color",defVal:"#ffffff"},{name:"textColor",dispName:"Number text color",type:"color",defVal:"#666666"},{name:"textSize",dispName:"Text size",type:"float",defVal:"12"},{name:"numDisp",dispName:"Display Numbers",type:"enum",defVal:"descend",enumList:[{val:"off",dispName:"Off"},
-{val:"ascend",dispName:"Ascending"},{val:"descend",dispName:"Descending"}],onChange:function(a,d){a.setCellStyles("marginLeft","off"==d?9:33,a.getSelectionCells())}}];
-mxRackRackCabinet3.prototype.paintVertexShape=function(a,d,e,b,c){var f=parseFloat(mxUtils.getValue(this.style,mxRackRackCabinet3.prototype.cst.UNIT_HEIGHT,"14.8")),g=Math.round((c-42)/f),h=parseFloat(mxUtils.getValue(this.style,mxRackRackCabinet3.prototype.cst.TEXT_SIZE,"12")),k=mxUtils.getValue(this.style,mxRackRackCabinet3.prototype.cst.NUMBER_DISPLAY,mxRackRackCabinet3.prototype.cst.ON);k!==mxRackRackCabinet3.prototype.cst.OFF?(a.translate(d+2*h,e),b-=2*h):a.translate(d,e);c=g*f+42;this.background(a,
-b,c);a.setShadow(!1);this.foreground(a,b,c);k!==mxRackRackCabinet3.prototype.cst.OFF&&this.sideText(a,c,g,f,h,k)};mxRackRackCabinet3.prototype.background=function(a,d,e){var b=mxUtils.getValue(this.style,"fillColor2","#ffffff");a.setFillColor(b);a.rect(0,0,d,e);a.fillAndStroke()};
+mxRackRackCabinet3.prototype.cst={SHAPE_RACK_RACK_CABINET:"mxgraph.rackGeneral.rackCabinet3",UNIT_NUM:"unitNum",UNIT_HEIGHT:"rackUnitSize",UNIT_DIR_LEFT:"rackUnitDirLeft",TEXT_COLOR:"textColor",NUM_DIR:"numDir",NUMBER_DISPLAY:"numDisp",ON:"on",OFF:"off",DIR_ASC:"ascend",DIR_DESC:"descend",TEXT_SIZE:"textSize"};
+mxRackRackCabinet3.prototype.customProperties=[{name:"startUnit",dispName:"Starting unit",type:"int",defVal:1},{name:"rackUnitDirLeft",dispName:"Numbering on left",type:"boolean",defVal:!0},{name:"rackUnitSize",dispName:"Unit height",type:"float",defVal:14.8},{name:"fillColor2",dispName:"Panel Color",type:"color",defVal:"#ffffff"},{name:"textColor",dispName:"Number text color",type:"color",defVal:"#666666"},{name:"textSize",dispName:"Text size",type:"float",defVal:"12"},{name:"numDisp",dispName:"Display Numbers",
+type:"enum",defVal:"descend",enumList:[{val:"off",dispName:"Off"},{val:"ascend",dispName:"Ascending"},{val:"descend",dispName:"Descending"}],onChange:function(a,d){a.setCellStyles("marginLeft","off"==d?9:33,a.getSelectionCells())}}];
+mxRackRackCabinet3.prototype.paintVertexShape=function(a,d,e,b,c){var f=parseFloat(mxUtils.getValue(this.style,mxRackRackCabinet3.prototype.cst.UNIT_HEIGHT,"14.8")),g=Math.round((c-42)/f),h=parseFloat(mxUtils.getValue(this.style,mxRackRackCabinet3.prototype.cst.TEXT_SIZE,"12")),k=mxUtils.getValue(this.style,mxRackRackCabinet3.prototype.cst.NUMBER_DISPLAY,mxRackRackCabinet3.prototype.cst.ON),l=mxUtils.getValue(this.style,mxRackRackCabinet3.prototype.cst.UNIT_DIR_LEFT,!0);k!==mxRackRackCabinet3.prototype.cst.OFF?
+(l?a.translate(d+2*h,e):a.translate(d,e),b-=2*h):a.translate(d,e);c=g*f+42;this.background(a,b,c);a.setShadow(!1);this.foreground(a,b,c);k!==mxRackRackCabinet3.prototype.cst.OFF&&this.sideText(a,c,b,g,f,h,k,l)};mxRackRackCabinet3.prototype.background=function(a,d,e){var b=mxUtils.getValue(this.style,"fillColor2","#ffffff");a.setFillColor(b);a.rect(0,0,d,e);a.fillAndStroke()};
mxRackRackCabinet3.prototype.foreground=function(a,d,e){var b=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"#f4f4f4");a.setFillColor(b);a.rect(0,0,d,21);a.fillAndStroke();a.rect(0,e-21,d,21);a.fillAndStroke();a.rect(0,21,9,e-42);a.fillAndStroke();a.rect(d-9,21,9,e-42);a.fillAndStroke();a.ellipse(2.5,7.5,6,6);a.stroke();a.ellipse(d-8.5,7.5,6,6);a.stroke();a.ellipse(2.5,e-13.5,6,6);a.stroke();a.ellipse(d-8.5,e-13.5,6,6);a.stroke()};
-mxRackRackCabinet3.prototype.sideText=function(a,d,e,b,c,f){var g=mxUtils.getValue(this.style,mxRackRackCabinet3.prototype.cst.TEXT_COLOR,"#666666"),h=mxUtils.getValue(this.style,"startUnit",1);a.setFontSize(c);a.setFontColor(g);if(f===mxRackRackCabinet3.prototype.cst.DIR_ASC)for(f=0;f<e;f++)a.text(-c,21+.5*b+f*b,0,0,(f+h).toString(),mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);else if(f===mxRackRackCabinet3.prototype.cst.DIR_DESC||f===mxRackRackCabinet3.prototype.cst.DIR_ON)for(f=
-0;f<e;f++)a.text(-c,d-21-.5*b-f*b,0,0,(f+h).toString(),mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.setStrokeColor(g);a.begin();for(f=0;f<e+1;f++)a.moveTo(-2*c,21+f*b),a.lineTo(0,21+f*b);a.stroke()};function mxRackHorCableDuct1U(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxRackHorCableDuct1U,mxShape);mxRackHorCableDuct1U.prototype.cst={SHAPE_RACK_HOR_CABLE_DUCT_1U:"mxgraph.rackGeneral.horCableDuct1U"};
+mxRackRackCabinet3.prototype.sideText=function(a,d,e,b,c,f,g,h){var k=mxUtils.getValue(this.style,mxRackRackCabinet3.prototype.cst.TEXT_COLOR,"#666666"),l=mxUtils.getValue(this.style,"startUnit",1);a.setFontSize(f);a.setFontColor(k);var m=0;h||(m=e+2*f);if(g===mxRackRackCabinet3.prototype.cst.DIR_ASC)for(e=0;e<b;e++)a.text(m-f,21+.5*c+e*c,0,0,(e+l).toString(),mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);else if(g===mxRackRackCabinet3.prototype.cst.DIR_DESC||g===mxRackRackCabinet3.prototype.cst.DIR_ON)for(e=
+0;e<b;e++)a.text(m-f,d-21-.5*c-e*c,0,0,(e+l).toString(),mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.setStrokeColor(k);a.begin();for(e=0;e<b+1;e++)a.moveTo(m-2*f,21+e*c),a.lineTo(m,21+e*c);a.stroke()};function mxRackHorCableDuct1U(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxRackHorCableDuct1U,mxShape);mxRackHorCableDuct1U.prototype.cst={SHAPE_RACK_HOR_CABLE_DUCT_1U:"mxgraph.rackGeneral.horCableDuct1U"};
mxRackHorCableDuct1U.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,b,c);a.setShadow(!1);this.foreground(a,b,c)};mxRackHorCableDuct1U.prototype.background=function(a,d,e){a.rect(0,0,160.9,14.8);a.fillAndStroke()};
mxRackHorCableDuct1U.prototype.foreground=function(a,d,e){a.rect(12,0,3,7);a.stroke();a.rect(12,7,3,7.8);a.stroke();a.rect(45.5,0,3,7);a.stroke();a.rect(45.5,7,3,7.8);a.stroke();a.rect(79,0,3,7);a.stroke();a.rect(79,7,3,7.8);a.stroke();a.rect(112.5,0,3,7);a.stroke();a.rect(112.5,7,3,7.8);a.stroke();a.rect(146,0,3,7);a.stroke();a.rect(146,7,3,7.8);a.stroke()};function mxRackHorCableDuct2U(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}
mxUtils.extend(mxRackHorCableDuct2U,mxShape);mxRackHorCableDuct2U.prototype.cst={SHAPE_RACK_HOR_CABLE_DUCT_2U:"mxgraph.rackGeneral.horCableDuct2U"};mxRackHorCableDuct2U.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,b,c);a.setShadow(!1);this.foreground(a,b,c)};mxRackHorCableDuct2U.prototype.background=function(a,d,e){a.rect(0,0,160.9,29.6);a.fillAndStroke()};
diff --git a/src/main/webapp/js/viewer.min.js b/src/main/webapp/js/viewer.min.js
index 605d024d4..99e44658d 100644
--- a/src/main/webapp/js/viewer.min.js
+++ b/src/main/webapp/js/viewer.min.js
@@ -2,8 +2,8 @@ window.PROXY_URL=window.PROXY_URL||"https://viewer.diagrams.net/proxy";window.ST
window.mxImageBasePath=window.mxImageBasePath||"https://viewer.diagrams.net/mxgraph/images";window.mxBasePath=window.mxBasePath||"https://viewer.diagrams.net/mxgraph/";window.mxLoadStylesheets=window.mxLoadStylesheets||!1;
//fgnass.github.com/spin.js#v2.0.0
!function(a,b){"object"==typeof exports?module.exports=b():"function"==typeof define&&define.amd?define(b):a.Spinner=b()}(this,function(){"use strict";function a(a,b){var c,d=document.createElement(a||"div");for(c in b)d[c]=b[c];return d}function b(a){for(var b=1,c=arguments.length;c>b;b++)a.appendChild(arguments[b]);return a}function c(a,b,c,d){var e=["opacity",b,~~(100*a),c,d].join("-"),f=.01+c/d*100,g=Math.max(1-(1-a)/b*(100-f),a),h=j.substring(0,j.indexOf("Animation")).toLowerCase(),i=h&&"-"+h+"-"||"";return l[e]||(m.insertRule("@"+i+"keyframes "+e+"{0%{opacity:"+g+"}"+f+"%{opacity:"+a+"}"+(f+.01)+"%{opacity:1}"+(f+b)%100+"%{opacity:"+a+"}100%{opacity:"+g+"}}",m.cssRules.length),l[e]=1),e}function d(a,b){var c,d,e=a.style;for(b=b.charAt(0).toUpperCase()+b.slice(1),d=0;d<k.length;d++)if(c=k[d]+b,void 0!==e[c])return c;return void 0!==e[b]?b:void 0}function e(a,b){for(var c in b)a.style[d(a,c)||c]=b[c];return a}function f(a){for(var b=1;b<arguments.length;b++){var c=arguments[b];for(var d in c)void 0===a[d]&&(a[d]=c[d])}return a}function g(a,b){return"string"==typeof a?a:a[b%a.length]}function h(a){this.opts=f(a||{},h.defaults,n)}function i(){function c(b,c){return a("<"+b+' xmlns="urn:schemas-microsoft.com:vml" class="spin-vml">',c)}m.addRule(".spin-vml","behavior:url(#default#VML)"),h.prototype.lines=function(a,d){function f(){return e(c("group",{coordsize:k+" "+k,coordorigin:-j+" "+-j}),{width:k,height:k})}function h(a,h,i){b(m,b(e(f(),{rotation:360/d.lines*a+"deg",left:~~h}),b(e(c("roundrect",{arcsize:d.corners}),{width:j,height:d.width,left:d.radius,top:-d.width>>1,filter:i}),c("fill",{color:g(d.color,a),opacity:d.opacity}),c("stroke",{opacity:0}))))}var i,j=d.length+d.width,k=2*j,l=2*-(d.width+d.length)+"px",m=e(f(),{position:"absolute",top:l,left:l});if(d.shadow)for(i=1;i<=d.lines;i++)h(i,-2,"progid:DXImageTransform.Microsoft.Blur(pixelradius=2,makeshadow=1,shadowopacity=.3)");for(i=1;i<=d.lines;i++)h(i);return b(a,m)},h.prototype.opacity=function(a,b,c,d){var e=a.firstChild;d=d.shadow&&d.lines||0,e&&b+d<e.childNodes.length&&(e=e.childNodes[b+d],e=e&&e.firstChild,e=e&&e.firstChild,e&&(e.opacity=c))}}var j,k=["webkit","Moz","ms","O"],l={},m=function(){var c=a("style",{type:"text/css"});return b(document.getElementsByTagName("head")[0],c),c.sheet||c.styleSheet}(),n={lines:12,length:7,width:5,radius:10,rotate:0,corners:1,color:"#000",direction:1,speed:1,trail:100,opacity:.25,fps:20,zIndex:2e9,className:"spinner",top:"50%",left:"50%",position:"absolute"};h.defaults={},f(h.prototype,{spin:function(b){this.stop();{var c=this,d=c.opts,f=c.el=e(a(0,{className:d.className}),{position:d.position,width:0,zIndex:d.zIndex});d.radius+d.length+d.width}if(b&&(b.insertBefore(f,b.firstChild||null),e(f,{left:d.left,top:d.top})),f.setAttribute("role","progressbar"),c.lines(f,c.opts),!j){var g,h=0,i=(d.lines-1)*(1-d.direction)/2,k=d.fps,l=k/d.speed,m=(1-d.opacity)/(l*d.trail/100),n=l/d.lines;!function o(){h++;for(var a=0;a<d.lines;a++)g=Math.max(1-(h+(d.lines-a)*n)%l*m,d.opacity),c.opacity(f,a*d.direction+i,g,d);c.timeout=c.el&&setTimeout(o,~~(1e3/k))}()}return c},stop:function(){var a=this.el;return a&&(clearTimeout(this.timeout),a.parentNode&&a.parentNode.removeChild(a),this.el=void 0),this},lines:function(d,f){function h(b,c){return e(a(),{position:"absolute",width:f.length+f.width+"px",height:f.width+"px",background:b,boxShadow:c,transformOrigin:"left",transform:"rotate("+~~(360/f.lines*k+f.rotate)+"deg) translate("+f.radius+"px,0)",borderRadius:(f.corners*f.width>>1)+"px"})}for(var i,k=0,l=(f.lines-1)*(1-f.direction)/2;k<f.lines;k++)i=e(a(),{position:"absolute",top:1+~(f.width/2)+"px",transform:f.hwaccel?"translate3d(0,0,0)":"",opacity:f.opacity,animation:j&&c(f.opacity,f.trail,l+k*f.direction,f.lines)+" "+1/f.speed+"s linear infinite"}),f.shadow&&b(i,e(h("#000","0 0 4px #000"),{top:"2px"})),b(d,b(i,h(g(f.color,k),"0 0 1px rgba(0,0,0,.1)")));return d},opacity:function(a,b,c){b<a.childNodes.length&&(a.childNodes[b].style.opacity=c)}});var o=e(a("group"),{behavior:"url(#default#VML)"});return!d(o,"transform")&&o.adj?i():j=d(o,"animation"),h});
-/*! @license DOMPurify 3.1.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.5/LICENSE */
-!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).DOMPurify=t()}(this,(function(){"use strict";const{entries:e,setPrototypeOf:t,isFrozen:n,getPrototypeOf:o,getOwnPropertyDescriptor:r}=Object;let{freeze:i,seal:a,create:l}=Object,{apply:c,construct:s}="undefined"!=typeof Reflect&&Reflect;i||(i=function(e){return e}),a||(a=function(e){return e}),c||(c=function(e,t,n){return e.apply(t,n)}),s||(s=function(e,t){return new e(...t)});const u=b(Array.prototype.forEach),m=b(Array.prototype.pop),p=b(Array.prototype.push),f=b(String.prototype.toLowerCase),d=b(String.prototype.toString),h=b(String.prototype.match),g=b(String.prototype.replace),T=b(String.prototype.indexOf),y=b(String.prototype.trim),E=b(Object.prototype.hasOwnProperty),_=b(RegExp.prototype.test),A=(N=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return s(N,t)});var N;function b(e){return function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return c(e,t,o)}}function S(e,o){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f;t&&t(e,null);let i=o.length;for(;i--;){let t=o[i];if("string"==typeof t){const e=r(t);e!==t&&(n(o)||(o[i]=e),t=e)}e[t]=!0}return e}function R(e){for(let t=0;t<e.length;t++){E(e,t)||(e[t]=null)}return e}function w(t){const n=l(null);for(const[o,r]of e(t)){E(t,o)&&(Array.isArray(r)?n[o]=R(r):r&&"object"==typeof r&&r.constructor===Object?n[o]=w(r):n[o]=r)}return n}function C(e,t){for(;null!==e;){const n=r(e,t);if(n){if(n.get)return b(n.get);if("function"==typeof n.value)return b(n.value)}e=o(e)}return function(){return null}}const L=i(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),D=i(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),v=i(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),O=i(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),x=i(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),k=i(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),M=i(["#text"]),I=i(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),U=i(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),P=i(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),F=i(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),H=a(/\{\{[\w\W]*|[\w\W]*\}\}/gm),z=a(/<%[\w\W]*|[\w\W]*%>/gm),B=a(/\${[\w\W]*}/gm),W=a(/^data-[\-\w.\u00B7-\uFFFF]/),G=a(/^aria-[\-\w]+$/),Y=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),j=a(/^(?:\w+script|data):/i),X=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),q=a(/^html$/i),$=a(/^[a-z][.\w]*(-[.\w]+)+$/i);var K=Object.freeze({__proto__:null,MUSTACHE_EXPR:H,ERB_EXPR:z,TMPLIT_EXPR:B,DATA_ATTR:W,ARIA_ATTR:G,IS_ALLOWED_URI:Y,IS_SCRIPT_OR_DATA:j,ATTR_WHITESPACE:X,DOCTYPE_NAME:q,CUSTOM_ELEMENT:$});const V=1,Z=3,J=7,Q=8,ee=9,te=function(){return"undefined"==typeof window?null:window},ne=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const o="data-tt-policy-suffix";t&&t.hasAttribute(o)&&(n=t.getAttribute(o));const r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}};var oe=function t(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:te();const o=e=>t(e);if(o.version="3.1.5",o.removed=[],!n||!n.document||n.document.nodeType!==ee)return o.isSupported=!1,o;let{document:r}=n;const a=r,c=a.currentScript,{DocumentFragment:s,HTMLTemplateElement:N,Node:b,Element:R,NodeFilter:H,NamedNodeMap:z=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:B,DOMParser:W,trustedTypes:G}=n,j=R.prototype,X=C(j,"cloneNode"),$=C(j,"nextSibling"),oe=C(j,"childNodes"),re=C(j,"parentNode");if("function"==typeof N){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let ie,ae="";const{implementation:le,createNodeIterator:ce,createDocumentFragment:se,getElementsByTagName:ue}=r,{importNode:me}=a;let pe={};o.isSupported="function"==typeof e&&"function"==typeof re&&le&&void 0!==le.createHTMLDocument;const{MUSTACHE_EXPR:fe,ERB_EXPR:de,TMPLIT_EXPR:he,DATA_ATTR:ge,ARIA_ATTR:Te,IS_SCRIPT_OR_DATA:ye,ATTR_WHITESPACE:Ee,CUSTOM_ELEMENT:_e}=K;let{IS_ALLOWED_URI:Ae}=K,Ne=null;const be=S({},[...L,...D,...v,...x,...M]);let Se=null;const Re=S({},[...I,...U,...P,...F]);let we=Object.seal(l(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}})),Ce=null,Le=null,De=!0,ve=!0,Oe=!1,xe=!0,ke=!1,Me=!0,Ie=!1,Ue=!1,Pe=!1,Fe=!1,He=!1,ze=!1,Be=!0,We=!1;const Ge="user-content-";let Ye=!0,je=!1,Xe={},qe=null;const $e=S({},["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 Ke=null;const Ve=S({},["audio","video","img","source","image","track"]);let Ze=null;const Je=S({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Qe="http://www.w3.org/1998/Math/MathML",et="http://www.w3.org/2000/svg",tt="http://www.w3.org/1999/xhtml";let nt=tt,ot=!1,rt=null;const it=S({},[Qe,et,tt],d);let at=null;const lt=["application/xhtml+xml","text/html"],ct="text/html";let st=null,ut=null;const mt=r.createElement("form"),pt=function(e){return e instanceof RegExp||e instanceof Function},ft=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!ut||ut!==e){if(e&&"object"==typeof e||(e={}),e=w(e),at=-1===lt.indexOf(e.PARSER_MEDIA_TYPE)?ct:e.PARSER_MEDIA_TYPE,st="application/xhtml+xml"===at?d:f,Ne=E(e,"ALLOWED_TAGS")?S({},e.ALLOWED_TAGS,st):be,Se=E(e,"ALLOWED_ATTR")?S({},e.ALLOWED_ATTR,st):Re,rt=E(e,"ALLOWED_NAMESPACES")?S({},e.ALLOWED_NAMESPACES,d):it,Ze=E(e,"ADD_URI_SAFE_ATTR")?S(w(Je),e.ADD_URI_SAFE_ATTR,st):Je,Ke=E(e,"ADD_DATA_URI_TAGS")?S(w(Ve),e.ADD_DATA_URI_TAGS,st):Ve,qe=E(e,"FORBID_CONTENTS")?S({},e.FORBID_CONTENTS,st):$e,Ce=E(e,"FORBID_TAGS")?S({},e.FORBID_TAGS,st):{},Le=E(e,"FORBID_ATTR")?S({},e.FORBID_ATTR,st):{},Xe=!!E(e,"USE_PROFILES")&&e.USE_PROFILES,De=!1!==e.ALLOW_ARIA_ATTR,ve=!1!==e.ALLOW_DATA_ATTR,Oe=e.ALLOW_UNKNOWN_PROTOCOLS||!1,xe=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,ke=e.SAFE_FOR_TEMPLATES||!1,Me=!1!==e.SAFE_FOR_XML,Ie=e.WHOLE_DOCUMENT||!1,Fe=e.RETURN_DOM||!1,He=e.RETURN_DOM_FRAGMENT||!1,ze=e.RETURN_TRUSTED_TYPE||!1,Pe=e.FORCE_BODY||!1,Be=!1!==e.SANITIZE_DOM,We=e.SANITIZE_NAMED_PROPS||!1,Ye=!1!==e.KEEP_CONTENT,je=e.IN_PLACE||!1,Ae=e.ALLOWED_URI_REGEXP||Y,nt=e.NAMESPACE||tt,we=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&pt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(we.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&pt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(we.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(we.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ke&&(ve=!1),He&&(Fe=!0),Xe&&(Ne=S({},M),Se=[],!0===Xe.html&&(S(Ne,L),S(Se,I)),!0===Xe.svg&&(S(Ne,D),S(Se,U),S(Se,F)),!0===Xe.svgFilters&&(S(Ne,v),S(Se,U),S(Se,F)),!0===Xe.mathMl&&(S(Ne,x),S(Se,P),S(Se,F))),e.ADD_TAGS&&(Ne===be&&(Ne=w(Ne)),S(Ne,e.ADD_TAGS,st)),e.ADD_ATTR&&(Se===Re&&(Se=w(Se)),S(Se,e.ADD_ATTR,st)),e.ADD_URI_SAFE_ATTR&&S(Ze,e.ADD_URI_SAFE_ATTR,st),e.FORBID_CONTENTS&&(qe===$e&&(qe=w(qe)),S(qe,e.FORBID_CONTENTS,st)),Ye&&(Ne["#text"]=!0),Ie&&S(Ne,["html","head","body"]),Ne.table&&(S(Ne,["tbody"]),delete Ce.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ie=e.TRUSTED_TYPES_POLICY,ae=ie.createHTML("")}else void 0===ie&&(ie=ne(G,c)),null!==ie&&"string"==typeof ae&&(ae=ie.createHTML(""));i&&i(e),ut=e}},dt=S({},["mi","mo","mn","ms","mtext"]),ht=S({},["foreignobject","annotation-xml"]),gt=S({},["title","style","font","a","script"]),Tt=S({},[...D,...v,...O]),yt=S({},[...x,...k]),Et=function(e){let t=re(e);t&&t.tagName||(t={namespaceURI:nt,tagName:"template"});const n=f(e.tagName),o=f(t.tagName);return!!rt[e.namespaceURI]&&(e.namespaceURI===et?t.namespaceURI===tt?"svg"===n:t.namespaceURI===Qe?"svg"===n&&("annotation-xml"===o||dt[o]):Boolean(Tt[n]):e.namespaceURI===Qe?t.namespaceURI===tt?"math"===n:t.namespaceURI===et?"math"===n&&ht[o]:Boolean(yt[n]):e.namespaceURI===tt?!(t.namespaceURI===et&&!ht[o])&&(!(t.namespaceURI===Qe&&!dt[o])&&(!yt[n]&&(gt[n]||!Tt[n]))):!("application/xhtml+xml"!==at||!rt[e.namespaceURI]))},_t=function(e){p(o.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.remove()}},At=function(e,t){try{p(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){p(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!Se[e])if(Fe||He)try{_t(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Nt=function(e){let t=null,n=null;if(Pe)e="<remove></remove>"+e;else{const t=h(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===at&&nt===tt&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const o=ie?ie.createHTML(e):e;if(nt===tt)try{t=(new W).parseFromString(o,at)}catch(e){}if(!t||!t.documentElement){t=le.createDocument(nt,"template",null);try{t.documentElement.innerHTML=ot?ae:o}catch(e){}}const i=t.body||t.documentElement;return e&&n&&i.insertBefore(r.createTextNode(n),i.childNodes[0]||null),nt===tt?ue.call(t,Ie?"html":"body")[0]:Ie?t.documentElement:i},bt=function(e){return ce.call(e.ownerDocument||e,e,H.SHOW_ELEMENT|H.SHOW_COMMENT|H.SHOW_TEXT|H.SHOW_PROCESSING_INSTRUCTION|H.SHOW_CDATA_SECTION,null)},St=function(e){return e instanceof B&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof z)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Rt=function(e){return"function"==typeof b&&e instanceof b},wt=function(e,t,n){pe[e]&&u(pe[e],(e=>{e.call(o,t,n,ut)}))},Ct=function(e){let t=null;if(wt("beforeSanitizeElements",e,null),St(e))return _t(e),!0;const n=st(e.nodeName);if(wt("uponSanitizeElement",e,{tagName:n,allowedTags:Ne}),e.hasChildNodes()&&!Rt(e.firstElementChild)&&_(/<[/\w]/g,e.innerHTML)&&_(/<[/\w]/g,e.textContent))return _t(e),!0;if(e.nodeType===J)return _t(e),!0;if(Me&&e.nodeType===Q&&_(/<[/\w]/g,e.data))return _t(e),!0;if(!Ne[n]||Ce[n]){if(!Ce[n]&&Dt(n)){if(we.tagNameCheck instanceof RegExp&&_(we.tagNameCheck,n))return!1;if(we.tagNameCheck instanceof Function&&we.tagNameCheck(n))return!1}if(Ye&&!qe[n]){const t=re(e)||e.parentNode,n=oe(e)||e.childNodes;if(n&&t){for(let o=n.length-1;o>=0;--o){const r=X(n[o],!0);r.__removalCount=(e.__removalCount||0)+1,t.insertBefore(r,$(e))}}}return _t(e),!0}return e instanceof R&&!Et(e)?(_t(e),!0):"noscript"!==n&&"noembed"!==n&&"noframes"!==n||!_(/<\/no(script|embed|frames)/i,e.innerHTML)?(ke&&e.nodeType===Z&&(t=e.textContent,u([fe,de,he],(e=>{t=g(t,e," ")})),e.textContent!==t&&(p(o.removed,{element:e.cloneNode()}),e.textContent=t)),wt("afterSanitizeElements",e,null),!1):(_t(e),!0)},Lt=function(e,t,n){if(Be&&("id"===t||"name"===t)&&(n in r||n in mt))return!1;if(ve&&!Le[t]&&_(ge,t));else if(De&&_(Te,t));else if(!Se[t]||Le[t]){if(!(Dt(e)&&(we.tagNameCheck instanceof RegExp&&_(we.tagNameCheck,e)||we.tagNameCheck instanceof Function&&we.tagNameCheck(e))&&(we.attributeNameCheck instanceof RegExp&&_(we.attributeNameCheck,t)||we.attributeNameCheck instanceof Function&&we.attributeNameCheck(t))||"is"===t&&we.allowCustomizedBuiltInElements&&(we.tagNameCheck instanceof RegExp&&_(we.tagNameCheck,n)||we.tagNameCheck instanceof Function&&we.tagNameCheck(n))))return!1}else if(Ze[t]);else if(_(Ae,g(n,Ee,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==T(n,"data:")||!Ke[e]){if(Oe&&!_(ye,g(n,Ee,"")));else if(n)return!1}else;return!0},Dt=function(e){return"annotation-xml"!==e&&h(e,_e)},vt=function(e){wt("beforeSanitizeAttributes",e,null);const{attributes:t}=e;if(!t)return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Se};let r=t.length;for(;r--;){const i=t[r],{name:a,namespaceURI:l,value:c}=i,s=st(a);let p="value"===a?c:y(c);if(n.attrName=s,n.attrValue=p,n.keepAttr=!0,n.forceKeepAttr=void 0,wt("uponSanitizeAttribute",e,n),p=n.attrValue,n.forceKeepAttr)continue;if(At(a,e),!n.keepAttr)continue;if(!xe&&_(/\/>/i,p)){At(a,e);continue}if(Me&&_(/((--!?|])>)|<\/(style|title)/i,p)){At(a,e);continue}ke&&u([fe,de,he],(e=>{p=g(p,e," ")}));const f=st(e.nodeName);if(Lt(f,s,p)){if(!We||"id"!==s&&"name"!==s||(At(a,e),p=Ge+p),ie&&"object"==typeof G&&"function"==typeof G.getAttributeType)if(l);else switch(G.getAttributeType(f,s)){case"TrustedHTML":p=ie.createHTML(p);break;case"TrustedScriptURL":p=ie.createScriptURL(p)}try{l?e.setAttributeNS(l,a,p):e.setAttribute(a,p),St(e)?_t(e):m(o.removed)}catch(e){}}}wt("afterSanitizeAttributes",e,null)},Ot=function e(t){let n=null;const o=bt(t);for(wt("beforeSanitizeShadowDOM",t,null);n=o.nextNode();)wt("uponSanitizeShadowNode",n,null),Ct(n)||(n.content instanceof s&&e(n.content),vt(n));wt("afterSanitizeShadowDOM",t,null)};return o.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,r=null,i=null,l=null;if(ot=!e,ot&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Rt(e)){if("function"!=typeof e.toString)throw A("toString is not a function");if("string"!=typeof(e=e.toString()))throw A("dirty is not a string, aborting")}if(!o.isSupported)return e;if(Ue||ft(t),o.removed=[],"string"==typeof e&&(je=!1),je){if(e.nodeName){const t=st(e.nodeName);if(!Ne[t]||Ce[t])throw A("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof b)n=Nt("\x3c!----\x3e"),r=n.ownerDocument.importNode(e,!0),r.nodeType===V&&"BODY"===r.nodeName||"HTML"===r.nodeName?n=r:n.appendChild(r);else{if(!Fe&&!ke&&!Ie&&-1===e.indexOf("<"))return ie&&ze?ie.createHTML(e):e;if(n=Nt(e),!n)return Fe?null:ze?ae:""}n&&Pe&&_t(n.firstChild);const c=bt(je?e:n);for(;i=c.nextNode();)Ct(i)||(i.content instanceof s&&Ot(i.content),vt(i));if(je)return e;if(Fe){if(He)for(l=se.call(n.ownerDocument);n.firstChild;)l.appendChild(n.firstChild);else l=n;return(Se.shadowroot||Se.shadowrootmode)&&(l=me.call(a,l,!0)),l}let m=Ie?n.outerHTML:n.innerHTML;return Ie&&Ne["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&_(q,n.ownerDocument.doctype.name)&&(m="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+m),ke&&u([fe,de,he],(e=>{m=g(m,e," ")})),ie&&ze?ie.createHTML(m):m},o.setConfig=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};ft(e),Ue=!0},o.clearConfig=function(){ut=null,Ue=!1},o.isValidAttribute=function(e,t,n){ut||ft({});const o=st(e),r=st(t);return Lt(o,r,n)},o.addHook=function(e,t){"function"==typeof t&&(pe[e]=pe[e]||[],p(pe[e],t))},o.removeHook=function(e){if(pe[e])return m(pe[e])},o.removeHooks=function(e){pe[e]&&(pe[e]=[])},o.removeAllHooks=function(){pe={}},o}();return oe}));
+/*! @license DOMPurify 3.2.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.1/LICENSE */
+!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).DOMPurify=t()}(this,(function(){"use strict";const{entries:e,setPrototypeOf:t,isFrozen:n,getPrototypeOf:o,getOwnPropertyDescriptor:r}=Object;let{freeze:i,seal:a,create:l}=Object,{apply:c,construct:s}="undefined"!=typeof Reflect&&Reflect;i||(i=function(e){return e}),a||(a=function(e){return e}),c||(c=function(e,t,n){return e.apply(t,n)}),s||(s=function(e,t){return new e(...t)});const u=b(Array.prototype.forEach),m=b(Array.prototype.pop),p=b(Array.prototype.push),f=b(String.prototype.toLowerCase),d=b(String.prototype.toString),h=b(String.prototype.match),g=b(String.prototype.replace),T=b(String.prototype.indexOf),y=b(String.prototype.trim),E=b(Object.prototype.hasOwnProperty),_=b(RegExp.prototype.test),A=(N=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return s(N,t)});var N;function b(e){return function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return c(e,t,o)}}function S(e,o){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f;t&&t(e,null);let i=o.length;for(;i--;){let t=o[i];if("string"==typeof t){const e=r(t);e!==t&&(n(o)||(o[i]=e),t=e)}e[t]=!0}return e}function R(e){for(let t=0;t<e.length;t++){E(e,t)||(e[t]=null)}return e}function w(t){const n=l(null);for(const[o,r]of e(t)){E(t,o)&&(Array.isArray(r)?n[o]=R(r):r&&"object"==typeof r&&r.constructor===Object?n[o]=w(r):n[o]=r)}return n}function L(e,t){for(;null!==e;){const n=r(e,t);if(n){if(n.get)return b(n.get);if("function"==typeof n.value)return b(n.value)}e=o(e)}return function(){return null}}const v=i(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),C=i(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),O=i(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),D=i(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),x=i(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),k=i(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),I=i(["#text"]),M=i(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),U=i(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),P=i(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),H=i(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),F=a(/\{\{[\w\W]*|[\w\W]*\}\}/gm),z=a(/<%[\w\W]*|[\w\W]*%>/gm),B=a(/\${[\w\W]*}/gm),W=a(/^data-[\-\w.\u00B7-\uFFFF]/),G=a(/^aria-[\-\w]+$/),Y=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),j=a(/^(?:\w+script|data):/i),X=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),q=a(/^html$/i),K=a(/^[a-z][.\w]*(-[.\w]+)+$/i);var $=Object.freeze({__proto__:null,ARIA_ATTR:G,ATTR_WHITESPACE:X,CUSTOM_ELEMENT:K,DATA_ATTR:W,DOCTYPE_NAME:q,ERB_EXPR:z,IS_ALLOWED_URI:Y,IS_SCRIPT_OR_DATA:j,MUSTACHE_EXPR:F,TMPLIT_EXPR:B});const V=1,Z=3,J=7,Q=8,ee=9,te=function(){return"undefined"==typeof window?null:window};var ne=function t(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:te();const o=e=>t(e);if(o.version="3.2.1",o.removed=[],!n||!n.document||n.document.nodeType!==ee)return o.isSupported=!1,o;let{document:r}=n;const a=r,c=a.currentScript,{DocumentFragment:s,HTMLTemplateElement:N,Node:b,Element:R,NodeFilter:F,NamedNodeMap:z=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:B,DOMParser:W,trustedTypes:G}=n,j=R.prototype,X=L(j,"cloneNode"),K=L(j,"remove"),ne=L(j,"nextSibling"),oe=L(j,"childNodes"),re=L(j,"parentNode");if("function"==typeof N){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let ie,ae="";const{implementation:le,createNodeIterator:ce,createDocumentFragment:se,getElementsByTagName:ue}=r,{importNode:me}=a;let pe={};o.isSupported="function"==typeof e&&"function"==typeof re&&le&&void 0!==le.createHTMLDocument;const{MUSTACHE_EXPR:fe,ERB_EXPR:de,TMPLIT_EXPR:he,DATA_ATTR:ge,ARIA_ATTR:Te,IS_SCRIPT_OR_DATA:ye,ATTR_WHITESPACE:Ee,CUSTOM_ELEMENT:_e}=$;let{IS_ALLOWED_URI:Ae}=$,Ne=null;const be=S({},[...v,...C,...O,...x,...I]);let Se=null;const Re=S({},[...M,...U,...P,...H]);let we=Object.seal(l(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}})),Le=null,ve=null,Ce=!0,Oe=!0,De=!1,xe=!0,ke=!1,Ie=!0,Me=!1,Ue=!1,Pe=!1,He=!1,Fe=!1,ze=!1,Be=!0,We=!1,Ge=!0,Ye=!1,je={},Xe=null;const qe=S({},["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 Ke=null;const $e=S({},["audio","video","img","source","image","track"]);let Ve=null;const Ze=S({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Je="http://www.w3.org/1998/Math/MathML",Qe="http://www.w3.org/2000/svg",et="http://www.w3.org/1999/xhtml";let tt=et,nt=!1,ot=null;const rt=S({},[Je,Qe,et],d);let it=S({},["mi","mo","mn","ms","mtext"]),at=S({},["annotation-xml"]);const lt=S({},["title","style","font","a","script"]);let ct=null;const st=["application/xhtml+xml","text/html"];let ut=null,mt=null;const pt=r.createElement("form"),ft=function(e){return e instanceof RegExp||e instanceof Function},dt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!mt||mt!==e){if(e&&"object"==typeof e||(e={}),e=w(e),ct=-1===st.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,ut="application/xhtml+xml"===ct?d:f,Ne=E(e,"ALLOWED_TAGS")?S({},e.ALLOWED_TAGS,ut):be,Se=E(e,"ALLOWED_ATTR")?S({},e.ALLOWED_ATTR,ut):Re,ot=E(e,"ALLOWED_NAMESPACES")?S({},e.ALLOWED_NAMESPACES,d):rt,Ve=E(e,"ADD_URI_SAFE_ATTR")?S(w(Ze),e.ADD_URI_SAFE_ATTR,ut):Ze,Ke=E(e,"ADD_DATA_URI_TAGS")?S(w($e),e.ADD_DATA_URI_TAGS,ut):$e,Xe=E(e,"FORBID_CONTENTS")?S({},e.FORBID_CONTENTS,ut):qe,Le=E(e,"FORBID_TAGS")?S({},e.FORBID_TAGS,ut):{},ve=E(e,"FORBID_ATTR")?S({},e.FORBID_ATTR,ut):{},je=!!E(e,"USE_PROFILES")&&e.USE_PROFILES,Ce=!1!==e.ALLOW_ARIA_ATTR,Oe=!1!==e.ALLOW_DATA_ATTR,De=e.ALLOW_UNKNOWN_PROTOCOLS||!1,xe=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,ke=e.SAFE_FOR_TEMPLATES||!1,Ie=!1!==e.SAFE_FOR_XML,Me=e.WHOLE_DOCUMENT||!1,He=e.RETURN_DOM||!1,Fe=e.RETURN_DOM_FRAGMENT||!1,ze=e.RETURN_TRUSTED_TYPE||!1,Pe=e.FORCE_BODY||!1,Be=!1!==e.SANITIZE_DOM,We=e.SANITIZE_NAMED_PROPS||!1,Ge=!1!==e.KEEP_CONTENT,Ye=e.IN_PLACE||!1,Ae=e.ALLOWED_URI_REGEXP||Y,tt=e.NAMESPACE||et,it=e.MATHML_TEXT_INTEGRATION_POINTS||it,at=e.HTML_INTEGRATION_POINTS||at,we=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&ft(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(we.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&ft(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(we.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(we.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ke&&(Oe=!1),Fe&&(He=!0),je&&(Ne=S({},I),Se=[],!0===je.html&&(S(Ne,v),S(Se,M)),!0===je.svg&&(S(Ne,C),S(Se,U),S(Se,H)),!0===je.svgFilters&&(S(Ne,O),S(Se,U),S(Se,H)),!0===je.mathMl&&(S(Ne,x),S(Se,P),S(Se,H))),e.ADD_TAGS&&(Ne===be&&(Ne=w(Ne)),S(Ne,e.ADD_TAGS,ut)),e.ADD_ATTR&&(Se===Re&&(Se=w(Se)),S(Se,e.ADD_ATTR,ut)),e.ADD_URI_SAFE_ATTR&&S(Ve,e.ADD_URI_SAFE_ATTR,ut),e.FORBID_CONTENTS&&(Xe===qe&&(Xe=w(Xe)),S(Xe,e.FORBID_CONTENTS,ut)),Ge&&(Ne["#text"]=!0),Me&&S(Ne,["html","head","body"]),Ne.table&&(S(Ne,["tbody"]),delete Le.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ie=e.TRUSTED_TYPES_POLICY,ae=ie.createHTML("")}else void 0===ie&&(ie=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const o="data-tt-policy-suffix";t&&t.hasAttribute(o)&&(n=t.getAttribute(o));const r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}}(G,c)),null!==ie&&"string"==typeof ae&&(ae=ie.createHTML(""));i&&i(e),mt=e}},ht=S({},[...C,...O,...D]),gt=S({},[...x,...k]),Tt=function(e){p(o.removed,{element:e});try{re(e).removeChild(e)}catch(t){K(e)}},yt=function(e,t){try{p(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){p(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!Se[e])if(He||Fe)try{Tt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Et=function(e){let t=null,n=null;if(Pe)e="<remove></remove>"+e;else{const t=h(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===ct&&tt===et&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const o=ie?ie.createHTML(e):e;if(tt===et)try{t=(new W).parseFromString(o,ct)}catch(e){}if(!t||!t.documentElement){t=le.createDocument(tt,"template",null);try{t.documentElement.innerHTML=nt?ae:o}catch(e){}}const i=t.body||t.documentElement;return e&&n&&i.insertBefore(r.createTextNode(n),i.childNodes[0]||null),tt===et?ue.call(t,Me?"html":"body")[0]:Me?t.documentElement:i},_t=function(e){return ce.call(e.ownerDocument||e,e,F.SHOW_ELEMENT|F.SHOW_COMMENT|F.SHOW_TEXT|F.SHOW_PROCESSING_INSTRUCTION|F.SHOW_CDATA_SECTION,null)},At=function(e){return e instanceof B&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof z)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Nt=function(e){return"function"==typeof b&&e instanceof b};function bt(e,t,n){pe[e]&&u(pe[e],(e=>{e.call(o,t,n,mt)}))}const St=function(e){let t=null;if(bt("beforeSanitizeElements",e,null),At(e))return Tt(e),!0;const n=ut(e.nodeName);if(bt("uponSanitizeElement",e,{tagName:n,allowedTags:Ne}),e.hasChildNodes()&&!Nt(e.firstElementChild)&&_(/<[/\w]/g,e.innerHTML)&&_(/<[/\w]/g,e.textContent))return Tt(e),!0;if(e.nodeType===J)return Tt(e),!0;if(Ie&&e.nodeType===Q&&_(/<[/\w]/g,e.data))return Tt(e),!0;if(!Ne[n]||Le[n]){if(!Le[n]&&wt(n)){if(we.tagNameCheck instanceof RegExp&&_(we.tagNameCheck,n))return!1;if(we.tagNameCheck instanceof Function&&we.tagNameCheck(n))return!1}if(Ge&&!Xe[n]){const t=re(e)||e.parentNode,n=oe(e)||e.childNodes;if(n&&t){for(let o=n.length-1;o>=0;--o){const r=X(n[o],!0);r.__removalCount=(e.__removalCount||0)+1,t.insertBefore(r,ne(e))}}}return Tt(e),!0}return e instanceof R&&!function(e){let t=re(e);t&&t.tagName||(t={namespaceURI:tt,tagName:"template"});const n=f(e.tagName),o=f(t.tagName);return!!ot[e.namespaceURI]&&(e.namespaceURI===Qe?t.namespaceURI===et?"svg"===n:t.namespaceURI===Je?"svg"===n&&("annotation-xml"===o||it[o]):Boolean(ht[n]):e.namespaceURI===Je?t.namespaceURI===et?"math"===n:t.namespaceURI===Qe?"math"===n&&at[o]:Boolean(gt[n]):e.namespaceURI===et?!(t.namespaceURI===Qe&&!at[o])&&!(t.namespaceURI===Je&&!it[o])&&!gt[n]&&(lt[n]||!ht[n]):!("application/xhtml+xml"!==ct||!ot[e.namespaceURI]))}(e)?(Tt(e),!0):"noscript"!==n&&"noembed"!==n&&"noframes"!==n||!_(/<\/no(script|embed|frames)/i,e.innerHTML)?(ke&&e.nodeType===Z&&(t=e.textContent,u([fe,de,he],(e=>{t=g(t,e," ")})),e.textContent!==t&&(p(o.removed,{element:e.cloneNode()}),e.textContent=t)),bt("afterSanitizeElements",e,null),!1):(Tt(e),!0)},Rt=function(e,t,n){if(Be&&("id"===t||"name"===t)&&(n in r||n in pt))return!1;if(Oe&&!ve[t]&&_(ge,t));else if(Ce&&_(Te,t));else if(!Se[t]||ve[t]){if(!(wt(e)&&(we.tagNameCheck instanceof RegExp&&_(we.tagNameCheck,e)||we.tagNameCheck instanceof Function&&we.tagNameCheck(e))&&(we.attributeNameCheck instanceof RegExp&&_(we.attributeNameCheck,t)||we.attributeNameCheck instanceof Function&&we.attributeNameCheck(t))||"is"===t&&we.allowCustomizedBuiltInElements&&(we.tagNameCheck instanceof RegExp&&_(we.tagNameCheck,n)||we.tagNameCheck instanceof Function&&we.tagNameCheck(n))))return!1}else if(Ve[t]);else if(_(Ae,g(n,Ee,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==T(n,"data:")||!Ke[e]){if(De&&!_(ye,g(n,Ee,"")));else if(n)return!1}else;return!0},wt=function(e){return"annotation-xml"!==e&&h(e,_e)},Lt=function(e){bt("beforeSanitizeAttributes",e,null);const{attributes:t}=e;if(!t)return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Se,forceKeepAttr:void 0};let r=t.length;for(;r--;){const i=t[r],{name:a,namespaceURI:l,value:c}=i,s=ut(a);let p="value"===a?c:y(c);if(n.attrName=s,n.attrValue=p,n.keepAttr=!0,n.forceKeepAttr=void 0,bt("uponSanitizeAttribute",e,n),p=n.attrValue,!We||"id"!==s&&"name"!==s||(yt(a,e),p="user-content-"+p),Ie&&_(/((--!?|])>)|<\/(style|title)/i,p)){yt(a,e);continue}if(n.forceKeepAttr)continue;if(yt(a,e),!n.keepAttr)continue;if(!xe&&_(/\/>/i,p)){yt(a,e);continue}ke&&u([fe,de,he],(e=>{p=g(p,e," ")}));const f=ut(e.nodeName);if(Rt(f,s,p)){if(ie&&"object"==typeof G&&"function"==typeof G.getAttributeType)if(l);else switch(G.getAttributeType(f,s)){case"TrustedHTML":p=ie.createHTML(p);break;case"TrustedScriptURL":p=ie.createScriptURL(p)}try{l?e.setAttributeNS(l,a,p):e.setAttribute(a,p),At(e)?Tt(e):m(o.removed)}catch(e){}}}bt("afterSanitizeAttributes",e,null)},vt=function e(t){let n=null;const o=_t(t);for(bt("beforeSanitizeShadowDOM",t,null);n=o.nextNode();)bt("uponSanitizeShadowNode",n,null),St(n)||(n.content instanceof s&&e(n.content),Lt(n));bt("afterSanitizeShadowDOM",t,null)};return o.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,r=null,i=null,l=null;if(nt=!e,nt&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Nt(e)){if("function"!=typeof e.toString)throw A("toString is not a function");if("string"!=typeof(e=e.toString()))throw A("dirty is not a string, aborting")}if(!o.isSupported)return e;if(Ue||dt(t),o.removed=[],"string"==typeof e&&(Ye=!1),Ye){if(e.nodeName){const t=ut(e.nodeName);if(!Ne[t]||Le[t])throw A("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof b)n=Et("\x3c!----\x3e"),r=n.ownerDocument.importNode(e,!0),r.nodeType===V&&"BODY"===r.nodeName||"HTML"===r.nodeName?n=r:n.appendChild(r);else{if(!He&&!ke&&!Me&&-1===e.indexOf("<"))return ie&&ze?ie.createHTML(e):e;if(n=Et(e),!n)return He?null:ze?ae:""}n&&Pe&&Tt(n.firstChild);const c=_t(Ye?e:n);for(;i=c.nextNode();)St(i)||(i.content instanceof s&&vt(i.content),Lt(i));if(Ye)return e;if(He){if(Fe)for(l=se.call(n.ownerDocument);n.firstChild;)l.appendChild(n.firstChild);else l=n;return(Se.shadowroot||Se.shadowrootmode)&&(l=me.call(a,l,!0)),l}let m=Me?n.outerHTML:n.innerHTML;return Me&&Ne["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&_(q,n.ownerDocument.doctype.name)&&(m="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+m),ke&&u([fe,de,he],(e=>{m=g(m,e," ")})),ie&&ze?ie.createHTML(m):m},o.setConfig=function(){dt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Ue=!0},o.clearConfig=function(){mt=null,Ue=!1},o.isValidAttribute=function(e,t,n){mt||dt({});const o=ut(e),r=ut(t);return Rt(o,r,n)},o.addHook=function(e,t){"function"==typeof t&&(pe[e]=pe[e]||[],p(pe[e],t))},o.removeHook=function(e){if(pe[e])return m(pe[e])},o.removeHooks=function(e){pe[e]&&(pe[e]=[])},o.removeAllHooks=function(){pe={}},o}();return ne}));
/*! pako 2.1.0 https://github.com/nodeca/pako @license (MIT AND Zlib) */
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).pako={})}(this,(function(t){"use strict";function e(t){for(var e=t.length;--e>=0;)t[e]=0}var a=256,n=286,i=30,r=15,s=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),o=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),l=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),h=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),d=new Array(576);e(d);var _=new Array(60);e(_);var f=new Array(512);e(f);var u=new Array(256);e(u);var c=new Array(29);e(c);var w,m,b,g=new Array(i);function p(t,e,a,n,i){this.static_tree=t,this.extra_bits=e,this.extra_base=a,this.elems=n,this.max_length=i,this.has_stree=t&&t.length}function v(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}e(g);var k=function(t){return t<256?f[t]:f[256+(t>>>7)]},y=function(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255},x=function(t,e,a){t.bi_valid>16-a?(t.bi_buf|=e<<t.bi_valid&65535,y(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=a-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=a)},z=function(t,e,a){x(t,a[2*e],a[2*e+1])},A=function(t,e){var a=0;do{a|=1&t,t>>>=1,a<<=1}while(--e>0);return a>>>1},E=function(t,e,a){var n,i,s=new Array(16),o=0;for(n=1;n<=r;n++)o=o+a[n-1]<<1,s[n]=o;for(i=0;i<=e;i++){var l=t[2*i+1];0!==l&&(t[2*i]=A(s[l]++,l))}},R=function(t){var e;for(e=0;e<n;e++)t.dyn_ltree[2*e]=0;for(e=0;e<i;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.sym_next=t.matches=0},Z=function(t){t.bi_valid>8?y(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},S=function(t,e,a,n){var i=2*e,r=2*a;return t[i]<t[r]||t[i]===t[r]&&n[e]<=n[a]},U=function(t,e,a){for(var n=t.heap[a],i=a<<1;i<=t.heap_len&&(i<t.heap_len&&S(e,t.heap[i+1],t.heap[i],t.depth)&&i++,!S(e,n,t.heap[i],t.depth));)t.heap[a]=t.heap[i],a=i,i<<=1;t.heap[a]=n},D=function(t,e,n){var i,r,l,h,d=0;if(0!==t.sym_next)do{i=255&t.pending_buf[t.sym_buf+d++],i+=(255&t.pending_buf[t.sym_buf+d++])<<8,r=t.pending_buf[t.sym_buf+d++],0===i?z(t,r,e):(l=u[r],z(t,l+a+1,e),0!==(h=s[l])&&(r-=c[l],x(t,r,h)),i--,l=k(i),z(t,l,n),0!==(h=o[l])&&(i-=g[l],x(t,i,h)))}while(d<t.sym_next);z(t,256,e)},T=function(t,e){var a,n,i,s=e.dyn_tree,o=e.stat_desc.static_tree,l=e.stat_desc.has_stree,h=e.stat_desc.elems,d=-1;for(t.heap_len=0,t.heap_max=573,a=0;a<h;a++)0!==s[2*a]?(t.heap[++t.heap_len]=d=a,t.depth[a]=0):s[2*a+1]=0;for(;t.heap_len<2;)s[2*(i=t.heap[++t.heap_len]=d<2?++d:0)]=1,t.depth[i]=0,t.opt_len--,l&&(t.static_len-=o[2*i+1]);for(e.max_code=d,a=t.heap_len>>1;a>=1;a--)U(t,s,a);i=h;do{a=t.heap[1],t.heap[1]=t.heap[t.heap_len--],U(t,s,1),n=t.heap[1],t.heap[--t.heap_max]=a,t.heap[--t.heap_max]=n,s[2*i]=s[2*a]+s[2*n],t.depth[i]=(t.depth[a]>=t.depth[n]?t.depth[a]:t.depth[n])+1,s[2*a+1]=s[2*n+1]=i,t.heap[1]=i++,U(t,s,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var a,n,i,s,o,l,h=e.dyn_tree,d=e.max_code,_=e.stat_desc.static_tree,f=e.stat_desc.has_stree,u=e.stat_desc.extra_bits,c=e.stat_desc.extra_base,w=e.stat_desc.max_length,m=0;for(s=0;s<=r;s++)t.bl_count[s]=0;for(h[2*t.heap[t.heap_max]+1]=0,a=t.heap_max+1;a<573;a++)(s=h[2*h[2*(n=t.heap[a])+1]+1]+1)>w&&(s=w,m++),h[2*n+1]=s,n>d||(t.bl_count[s]++,o=0,n>=c&&(o=u[n-c]),l=h[2*n],t.opt_len+=l*(s+o),f&&(t.static_len+=l*(_[2*n+1]+o)));if(0!==m){do{for(s=w-1;0===t.bl_count[s];)s--;t.bl_count[s]--,t.bl_count[s+1]+=2,t.bl_count[w]--,m-=2}while(m>0);for(s=w;0!==s;s--)for(n=t.bl_count[s];0!==n;)(i=t.heap[--a])>d||(h[2*i+1]!==s&&(t.opt_len+=(s-h[2*i+1])*h[2*i],h[2*i+1]=s),n--)}}(t,e),E(s,d,t.bl_count)},O=function(t,e,a){var n,i,r=-1,s=e[1],o=0,l=7,h=4;for(0===s&&(l=138,h=3),e[2*(a+1)+1]=65535,n=0;n<=a;n++)i=s,s=e[2*(n+1)+1],++o<l&&i===s||(o<h?t.bl_tree[2*i]+=o:0!==i?(i!==r&&t.bl_tree[2*i]++,t.bl_tree[32]++):o<=10?t.bl_tree[34]++:t.bl_tree[36]++,o=0,r=i,0===s?(l=138,h=3):i===s?(l=6,h=3):(l=7,h=4))},I=function(t,e,a){var n,i,r=-1,s=e[1],o=0,l=7,h=4;for(0===s&&(l=138,h=3),n=0;n<=a;n++)if(i=s,s=e[2*(n+1)+1],!(++o<l&&i===s)){if(o<h)do{z(t,i,t.bl_tree)}while(0!=--o);else 0!==i?(i!==r&&(z(t,i,t.bl_tree),o--),z(t,16,t.bl_tree),x(t,o-3,2)):o<=10?(z(t,17,t.bl_tree),x(t,o-3,3)):(z(t,18,t.bl_tree),x(t,o-11,7));o=0,r=i,0===s?(l=138,h=3):i===s?(l=6,h=3):(l=7,h=4)}},F=!1,L=function(t,e,a,n){x(t,0+(n?1:0),3),Z(t),y(t,a),y(t,~a),a&&t.pending_buf.set(t.window.subarray(e,e+a),t.pending),t.pending+=a},N=function(t,e,n,i){var r,s,o=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,n=4093624447;for(e=0;e<=31;e++,n>>>=1)if(1&n&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<a;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),T(t,t.l_desc),T(t,t.d_desc),o=function(t){var e;for(O(t,t.dyn_ltree,t.l_desc.max_code),O(t,t.dyn_dtree,t.d_desc.max_code),T(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*h[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),r=t.opt_len+3+7>>>3,(s=t.static_len+3+7>>>3)<=r&&(r=s)):r=s=n+5,n+4<=r&&-1!==e?L(t,e,n,i):4===t.strategy||s===r?(x(t,2+(i?1:0),3),D(t,d,_)):(x(t,4+(i?1:0),3),function(t,e,a,n){var i;for(x(t,e-257,5),x(t,a-1,5),x(t,n-4,4),i=0;i<n;i++)x(t,t.bl_tree[2*h[i]+1],3);I(t,t.dyn_ltree,e-1),I(t,t.dyn_dtree,a-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,o+1),D(t,t.dyn_ltree,t.dyn_dtree)),R(t),i&&Z(t)},B={_tr_init:function(t){F||(!function(){var t,e,a,h,v,k=new Array(16);for(a=0,h=0;h<28;h++)for(c[h]=a,t=0;t<1<<s[h];t++)u[a++]=h;for(u[a-1]=h,v=0,h=0;h<16;h++)for(g[h]=v,t=0;t<1<<o[h];t++)f[v++]=h;for(v>>=7;h<i;h++)for(g[h]=v<<7,t=0;t<1<<o[h]-7;t++)f[256+v++]=h;for(e=0;e<=r;e++)k[e]=0;for(t=0;t<=143;)d[2*t+1]=8,t++,k[8]++;for(;t<=255;)d[2*t+1]=9,t++,k[9]++;for(;t<=279;)d[2*t+1]=7,t++,k[7]++;for(;t<=287;)d[2*t+1]=8,t++,k[8]++;for(E(d,287,k),t=0;t<i;t++)_[2*t+1]=5,_[2*t]=A(t,5);w=new p(d,s,257,n,r),m=new p(_,o,0,i,r),b=new p(new Array(0),l,0,19,7)}(),F=!0),t.l_desc=new v(t.dyn_ltree,w),t.d_desc=new v(t.dyn_dtree,m),t.bl_desc=new v(t.bl_tree,b),t.bi_buf=0,t.bi_valid=0,R(t)},_tr_stored_block:L,_tr_flush_block:N,_tr_tally:function(t,e,n){return t.pending_buf[t.sym_buf+t.sym_next++]=e,t.pending_buf[t.sym_buf+t.sym_next++]=e>>8,t.pending_buf[t.sym_buf+t.sym_next++]=n,0===e?t.dyn_ltree[2*n]++:(t.matches++,e--,t.dyn_ltree[2*(u[n]+a+1)]++,t.dyn_dtree[2*k(e)]++),t.sym_next===t.sym_end},_tr_align:function(t){x(t,2,3),z(t,256,d),function(t){16===t.bi_valid?(y(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}},C=function(t,e,a,n){for(var i=65535&t|0,r=t>>>16&65535|0,s=0;0!==a;){a-=s=a>2e3?2e3:a;do{r=r+(i=i+e[n++]|0)|0}while(--s);i%=65521,r%=65521}return i|r<<16|0},M=new Uint32Array(function(){for(var t,e=[],a=0;a<256;a++){t=a;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[a]=t}return e}()),H=function(t,e,a,n){var i=M,r=n+a;t^=-1;for(var s=n;s<r;s++)t=t>>>8^i[255&(t^e[s])];return-1^t},j={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},K={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8},P=B._tr_init,Y=B._tr_stored_block,G=B._tr_flush_block,X=B._tr_tally,W=B._tr_align,q=K.Z_NO_FLUSH,J=K.Z_PARTIAL_FLUSH,Q=K.Z_FULL_FLUSH,V=K.Z_FINISH,$=K.Z_BLOCK,tt=K.Z_OK,et=K.Z_STREAM_END,at=K.Z_STREAM_ERROR,nt=K.Z_DATA_ERROR,it=K.Z_BUF_ERROR,rt=K.Z_DEFAULT_COMPRESSION,st=K.Z_FILTERED,ot=K.Z_HUFFMAN_ONLY,lt=K.Z_RLE,ht=K.Z_FIXED,dt=K.Z_DEFAULT_STRATEGY,_t=K.Z_UNKNOWN,ft=K.Z_DEFLATED,ut=258,ct=262,wt=42,mt=113,bt=666,gt=function(t,e){return t.msg=j[e],e},pt=function(t){return 2*t-(t>4?9:0)},vt=function(t){for(var e=t.length;--e>=0;)t[e]=0},kt=function(t){var e,a,n,i=t.w_size;n=e=t.hash_size;do{a=t.head[--n],t.head[n]=a>=i?a-i:0}while(--e);n=e=i;do{a=t.prev[--n],t.prev[n]=a>=i?a-i:0}while(--e)},yt=function(t,e,a){return(e<<t.hash_shift^a)&t.hash_mask},xt=function(t){var e=t.state,a=e.pending;a>t.avail_out&&(a=t.avail_out),0!==a&&(t.output.set(e.pending_buf.subarray(e.pending_out,e.pending_out+a),t.next_out),t.next_out+=a,e.pending_out+=a,t.total_out+=a,t.avail_out-=a,e.pending-=a,0===e.pending&&(e.pending_out=0))},zt=function(t,e){G(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,xt(t.strm)},At=function(t,e){t.pending_buf[t.pending++]=e},Et=function(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},Rt=function(t,e,a,n){var i=t.avail_in;return i>n&&(i=n),0===i?0:(t.avail_in-=i,e.set(t.input.subarray(t.next_in,t.next_in+i),a),1===t.state.wrap?t.adler=C(t.adler,e,i,a):2===t.state.wrap&&(t.adler=H(t.adler,e,i,a)),t.next_in+=i,t.total_in+=i,i)},Zt=function(t,e){var a,n,i=t.max_chain_length,r=t.strstart,s=t.prev_length,o=t.nice_match,l=t.strstart>t.w_size-ct?t.strstart-(t.w_size-ct):0,h=t.window,d=t.w_mask,_=t.prev,f=t.strstart+ut,u=h[r+s-1],c=h[r+s];t.prev_length>=t.good_match&&(i>>=2),o>t.lookahead&&(o=t.lookahead);do{if(h[(a=e)+s]===c&&h[a+s-1]===u&&h[a]===h[r]&&h[++a]===h[r+1]){r+=2,a++;do{}while(h[++r]===h[++a]&&h[++r]===h[++a]&&h[++r]===h[++a]&&h[++r]===h[++a]&&h[++r]===h[++a]&&h[++r]===h[++a]&&h[++r]===h[++a]&&h[++r]===h[++a]&&r<f);if(n=ut-(f-r),r=f-ut,n>s){if(t.match_start=e,s=n,n>=o)break;u=h[r+s-1],c=h[r+s]}}}while((e=_[e&d])>l&&0!=--i);return s<=t.lookahead?s:t.lookahead},St=function(t){var e,a,n,i=t.w_size;do{if(a=t.window_size-t.lookahead-t.strstart,t.strstart>=i+(i-ct)&&(t.window.set(t.window.subarray(i,i+i-a),0),t.match_start-=i,t.strstart-=i,t.block_start-=i,t.insert>t.strstart&&(t.insert=t.strstart),kt(t),a+=i),0===t.strm.avail_in)break;if(e=Rt(t.strm,t.window,t.strstart+t.lookahead,a),t.lookahead+=e,t.lookahead+t.insert>=3)for(n=t.strstart-t.insert,t.ins_h=t.window[n],t.ins_h=yt(t,t.ins_h,t.window[n+1]);t.insert&&(t.ins_h=yt(t,t.ins_h,t.window[n+3-1]),t.prev[n&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=n,n++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<ct&&0!==t.strm.avail_in)},Ut=function(t,e){var a,n,i,r=t.pending_buf_size-5>t.w_size?t.w_size:t.pending_buf_size-5,s=0,o=t.strm.avail_in;do{if(a=65535,i=t.bi_valid+42>>3,t.strm.avail_out<i)break;if(i=t.strm.avail_out-i,a>(n=t.strstart-t.block_start)+t.strm.avail_in&&(a=n+t.strm.avail_in),a>i&&(a=i),a<r&&(0===a&&e!==V||e===q||a!==n+t.strm.avail_in))break;s=e===V&&a===n+t.strm.avail_in?1:0,Y(t,0,0,s),t.pending_buf[t.pending-4]=a,t.pending_buf[t.pending-3]=a>>8,t.pending_buf[t.pending-2]=~a,t.pending_buf[t.pending-1]=~a>>8,xt(t.strm),n&&(n>a&&(n=a),t.strm.output.set(t.window.subarray(t.block_start,t.block_start+n),t.strm.next_out),t.strm.next_out+=n,t.strm.avail_out-=n,t.strm.total_out+=n,t.block_start+=n,a-=n),a&&(Rt(t.strm,t.strm.output,t.strm.next_out,a),t.strm.next_out+=a,t.strm.avail_out-=a,t.strm.total_out+=a)}while(0===s);return(o-=t.strm.avail_in)&&(o>=t.w_size?(t.matches=2,t.window.set(t.strm.input.subarray(t.strm.next_in-t.w_size,t.strm.next_in),0),t.strstart=t.w_size,t.insert=t.strstart):(t.window_size-t.strstart<=o&&(t.strstart-=t.w_size,t.window.set(t.window.subarray(t.w_size,t.w_size+t.strstart),0),t.matches<2&&t.matches++,t.insert>t.strstart&&(t.insert=t.strstart)),t.window.set(t.strm.input.subarray(t.strm.next_in-o,t.strm.next_in),t.strstart),t.strstart+=o,t.insert+=o>t.w_size-t.insert?t.w_size-t.insert:o),t.block_start=t.strstart),t.high_water<t.strstart&&(t.high_water=t.strstart),s?4:e!==q&&e!==V&&0===t.strm.avail_in&&t.strstart===t.block_start?2:(i=t.window_size-t.strstart,t.strm.avail_in>i&&t.block_start>=t.w_size&&(t.block_start-=t.w_size,t.strstart-=t.w_size,t.window.set(t.window.subarray(t.w_size,t.w_size+t.strstart),0),t.matches<2&&t.matches++,i+=t.w_size,t.insert>t.strstart&&(t.insert=t.strstart)),i>t.strm.avail_in&&(i=t.strm.avail_in),i&&(Rt(t.strm,t.window,t.strstart,i),t.strstart+=i,t.insert+=i>t.w_size-t.insert?t.w_size-t.insert:i),t.high_water<t.strstart&&(t.high_water=t.strstart),i=t.bi_valid+42>>3,r=(i=t.pending_buf_size-i>65535?65535:t.pending_buf_size-i)>t.w_size?t.w_size:i,((n=t.strstart-t.block_start)>=r||(n||e===V)&&e!==q&&0===t.strm.avail_in&&n<=i)&&(a=n>i?i:n,s=e===V&&0===t.strm.avail_in&&a===n?1:0,Y(t,t.block_start,a,s),t.block_start+=a,xt(t.strm)),s?3:1)},Dt=function(t,e){for(var a,n;;){if(t.lookahead<ct){if(St(t),t.lookahead<ct&&e===q)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=yt(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==a&&t.strstart-a<=t.w_size-ct&&(t.match_length=Zt(t,a)),t.match_length>=3)if(n=X(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=yt(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=yt(t,t.ins_h,t.window[t.strstart+1]);else n=X(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(zt(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(zt(t,!1),0===t.strm.avail_out)?1:2},Tt=function(t,e){for(var a,n,i;;){if(t.lookahead<ct){if(St(t),t.lookahead<ct&&e===q)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=yt(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==a&&t.prev_length<t.max_lazy_match&&t.strstart-a<=t.w_size-ct&&(t.match_length=Zt(t,a),t.match_length<=5&&(t.strategy===st||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){i=t.strstart+t.lookahead-3,n=X(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=i&&(t.ins_h=yt(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,n&&(zt(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((n=X(t,0,t.window[t.strstart-1]))&&zt(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(n=X(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(zt(t,!1),0===t.strm.avail_out)?1:2};function Ot(t,e,a,n,i){this.good_length=t,this.max_lazy=e,this.nice_length=a,this.max_chain=n,this.func=i}var It=[new Ot(0,0,0,0,Ut),new Ot(4,4,8,4,Dt),new Ot(4,5,16,8,Dt),new Ot(4,6,32,32,Dt),new Ot(4,4,16,16,Tt),new Ot(8,16,32,32,Tt),new Ot(8,16,128,128,Tt),new Ot(8,32,128,256,Tt),new Ot(32,128,258,1024,Tt),new Ot(32,258,258,4096,Tt)];function Ft(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=ft,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),vt(this.dyn_ltree),vt(this.dyn_dtree),vt(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),vt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),vt(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}var Lt=function(t){if(!t)return 1;var e=t.state;return!e||e.strm!==t||e.status!==wt&&57!==e.status&&69!==e.status&&73!==e.status&&91!==e.status&&103!==e.status&&e.status!==mt&&e.status!==bt?1:0},Nt=function(t){if(Lt(t))return gt(t,at);t.total_in=t.total_out=0,t.data_type=_t;var e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=2===e.wrap?57:e.wrap?wt:mt,t.adler=2===e.wrap?0:1,e.last_flush=-2,P(e),tt},Bt=function(t){var e,a=Nt(t);return a===tt&&((e=t.state).window_size=2*e.w_size,vt(e.head),e.max_lazy_match=It[e.level].max_lazy,e.good_match=It[e.level].good_length,e.nice_match=It[e.level].nice_length,e.max_chain_length=It[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=2,e.match_available=0,e.ins_h=0),a},Ct=function(t,e,a,n,i,r){if(!t)return at;var s=1;if(e===rt&&(e=6),n<0?(s=0,n=-n):n>15&&(s=2,n-=16),i<1||i>9||a!==ft||n<8||n>15||e<0||e>9||r<0||r>ht||8===n&&1!==s)return gt(t,at);8===n&&(n=9);var o=new Ft;return t.state=o,o.strm=t,o.status=wt,o.wrap=s,o.gzhead=null,o.w_bits=n,o.w_size=1<<o.w_bits,o.w_mask=o.w_size-1,o.hash_bits=i+7,o.hash_size=1<<o.hash_bits,o.hash_mask=o.hash_size-1,o.hash_shift=~~((o.hash_bits+3-1)/3),o.window=new Uint8Array(2*o.w_size),o.head=new Uint16Array(o.hash_size),o.prev=new Uint16Array(o.w_size),o.lit_bufsize=1<<i+6,o.pending_buf_size=4*o.lit_bufsize,o.pending_buf=new Uint8Array(o.pending_buf_size),o.sym_buf=o.lit_bufsize,o.sym_end=3*(o.lit_bufsize-1),o.level=e,o.strategy=r,o.method=a,Bt(t)},Mt={deflateInit:function(t,e){return Ct(t,e,ft,15,8,dt)},deflateInit2:Ct,deflateReset:Bt,deflateResetKeep:Nt,deflateSetHeader:function(t,e){return Lt(t)||2!==t.state.wrap?at:(t.state.gzhead=e,tt)},deflate:function(t,e){if(Lt(t)||e>$||e<0)return t?gt(t,at):at;var a=t.state;if(!t.output||0!==t.avail_in&&!t.input||a.status===bt&&e!==V)return gt(t,0===t.avail_out?it:at);var n=a.last_flush;if(a.last_flush=e,0!==a.pending){if(xt(t),0===t.avail_out)return a.last_flush=-1,tt}else if(0===t.avail_in&&pt(e)<=pt(n)&&e!==V)return gt(t,it);if(a.status===bt&&0!==t.avail_in)return gt(t,it);if(a.status===wt&&0===a.wrap&&(a.status=mt),a.status===wt){var i=ft+(a.w_bits-8<<4)<<8;if(i|=(a.strategy>=ot||a.level<2?0:a.level<6?1:6===a.level?2:3)<<6,0!==a.strstart&&(i|=32),Et(a,i+=31-i%31),0!==a.strstart&&(Et(a,t.adler>>>16),Et(a,65535&t.adler)),t.adler=1,a.status=mt,xt(t),0!==a.pending)return a.last_flush=-1,tt}if(57===a.status)if(t.adler=0,At(a,31),At(a,139),At(a,8),a.gzhead)At(a,(a.gzhead.text?1:0)+(a.gzhead.hcrc?2:0)+(a.gzhead.extra?4:0)+(a.gzhead.name?8:0)+(a.gzhead.comment?16:0)),At(a,255&a.gzhead.time),At(a,a.gzhead.time>>8&255),At(a,a.gzhead.time>>16&255),At(a,a.gzhead.time>>24&255),At(a,9===a.level?2:a.strategy>=ot||a.level<2?4:0),At(a,255&a.gzhead.os),a.gzhead.extra&&a.gzhead.extra.length&&(At(a,255&a.gzhead.extra.length),At(a,a.gzhead.extra.length>>8&255)),a.gzhead.hcrc&&(t.adler=H(t.adler,a.pending_buf,a.pending,0)),a.gzindex=0,a.status=69;else if(At(a,0),At(a,0),At(a,0),At(a,0),At(a,0),At(a,9===a.level?2:a.strategy>=ot||a.level<2?4:0),At(a,3),a.status=mt,xt(t),0!==a.pending)return a.last_flush=-1,tt;if(69===a.status){if(a.gzhead.extra){for(var r=a.pending,s=(65535&a.gzhead.extra.length)-a.gzindex;a.pending+s>a.pending_buf_size;){var o=a.pending_buf_size-a.pending;if(a.pending_buf.set(a.gzhead.extra.subarray(a.gzindex,a.gzindex+o),a.pending),a.pending=a.pending_buf_size,a.gzhead.hcrc&&a.pending>r&&(t.adler=H(t.adler,a.pending_buf,a.pending-r,r)),a.gzindex+=o,xt(t),0!==a.pending)return a.last_flush=-1,tt;r=0,s-=o}var l=new Uint8Array(a.gzhead.extra);a.pending_buf.set(l.subarray(a.gzindex,a.gzindex+s),a.pending),a.pending+=s,a.gzhead.hcrc&&a.pending>r&&(t.adler=H(t.adler,a.pending_buf,a.pending-r,r)),a.gzindex=0}a.status=73}if(73===a.status){if(a.gzhead.name){var h,d=a.pending;do{if(a.pending===a.pending_buf_size){if(a.gzhead.hcrc&&a.pending>d&&(t.adler=H(t.adler,a.pending_buf,a.pending-d,d)),xt(t),0!==a.pending)return a.last_flush=-1,tt;d=0}h=a.gzindex<a.gzhead.name.length?255&a.gzhead.name.charCodeAt(a.gzindex++):0,At(a,h)}while(0!==h);a.gzhead.hcrc&&a.pending>d&&(t.adler=H(t.adler,a.pending_buf,a.pending-d,d)),a.gzindex=0}a.status=91}if(91===a.status){if(a.gzhead.comment){var _,f=a.pending;do{if(a.pending===a.pending_buf_size){if(a.gzhead.hcrc&&a.pending>f&&(t.adler=H(t.adler,a.pending_buf,a.pending-f,f)),xt(t),0!==a.pending)return a.last_flush=-1,tt;f=0}_=a.gzindex<a.gzhead.comment.length?255&a.gzhead.comment.charCodeAt(a.gzindex++):0,At(a,_)}while(0!==_);a.gzhead.hcrc&&a.pending>f&&(t.adler=H(t.adler,a.pending_buf,a.pending-f,f))}a.status=103}if(103===a.status){if(a.gzhead.hcrc){if(a.pending+2>a.pending_buf_size&&(xt(t),0!==a.pending))return a.last_flush=-1,tt;At(a,255&t.adler),At(a,t.adler>>8&255),t.adler=0}if(a.status=mt,xt(t),0!==a.pending)return a.last_flush=-1,tt}if(0!==t.avail_in||0!==a.lookahead||e!==q&&a.status!==bt){var u=0===a.level?Ut(a,e):a.strategy===ot?function(t,e){for(var a;;){if(0===t.lookahead&&(St(t),0===t.lookahead)){if(e===q)return 1;break}if(t.match_length=0,a=X(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,a&&(zt(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(zt(t,!1),0===t.strm.avail_out)?1:2}(a,e):a.strategy===lt?function(t,e){for(var a,n,i,r,s=t.window;;){if(t.lookahead<=ut){if(St(t),t.lookahead<=ut&&e===q)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(n=s[i=t.strstart-1])===s[++i]&&n===s[++i]&&n===s[++i]){r=t.strstart+ut;do{}while(n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&i<r);t.match_length=ut-(r-i),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(a=X(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(a=X(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),a&&(zt(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(zt(t,!1),0===t.strm.avail_out)?1:2}(a,e):It[a.level].func(a,e);if(3!==u&&4!==u||(a.status=bt),1===u||3===u)return 0===t.avail_out&&(a.last_flush=-1),tt;if(2===u&&(e===J?W(a):e!==$&&(Y(a,0,0,!1),e===Q&&(vt(a.head),0===a.lookahead&&(a.strstart=0,a.block_start=0,a.insert=0))),xt(t),0===t.avail_out))return a.last_flush=-1,tt}return e!==V?tt:a.wrap<=0?et:(2===a.wrap?(At(a,255&t.adler),At(a,t.adler>>8&255),At(a,t.adler>>16&255),At(a,t.adler>>24&255),At(a,255&t.total_in),At(a,t.total_in>>8&255),At(a,t.total_in>>16&255),At(a,t.total_in>>24&255)):(Et(a,t.adler>>>16),Et(a,65535&t.adler)),xt(t),a.wrap>0&&(a.wrap=-a.wrap),0!==a.pending?tt:et)},deflateEnd:function(t){if(Lt(t))return at;var e=t.state.status;return t.state=null,e===mt?gt(t,nt):tt},deflateSetDictionary:function(t,e){var a=e.length;if(Lt(t))return at;var n=t.state,i=n.wrap;if(2===i||1===i&&n.status!==wt||n.lookahead)return at;if(1===i&&(t.adler=C(t.adler,e,a,0)),n.wrap=0,a>=n.w_size){0===i&&(vt(n.head),n.strstart=0,n.block_start=0,n.insert=0);var r=new Uint8Array(n.w_size);r.set(e.subarray(a-n.w_size,a),0),e=r,a=n.w_size}var s=t.avail_in,o=t.next_in,l=t.input;for(t.avail_in=a,t.next_in=0,t.input=e,St(n);n.lookahead>=3;){var h=n.strstart,d=n.lookahead-2;do{n.ins_h=yt(n,n.ins_h,n.window[h+3-1]),n.prev[h&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=h,h++}while(--d);n.strstart=h,n.lookahead=2,St(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=2,n.match_available=0,t.next_in=o,t.input=l,t.avail_in=s,n.wrap=i,tt},deflateInfo:"pako deflate (from Nodeca project)"};function Ht(t){return Ht="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},Ht(t)}var jt=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},Kt=function(t){for(var e=Array.prototype.slice.call(arguments,1);e.length;){var a=e.shift();if(a){if("object"!==Ht(a))throw new TypeError(a+"must be non-object");for(var n in a)jt(a,n)&&(t[n]=a[n])}}return t},Pt=function(t){for(var e=0,a=0,n=t.length;a<n;a++)e+=t[a].length;for(var i=new Uint8Array(e),r=0,s=0,o=t.length;r<o;r++){var l=t[r];i.set(l,s),s+=l.length}return i},Yt=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){Yt=!1}for(var Gt=new Uint8Array(256),Xt=0;Xt<256;Xt++)Gt[Xt]=Xt>=252?6:Xt>=248?5:Xt>=240?4:Xt>=224?3:Xt>=192?2:1;Gt[254]=Gt[254]=1;var Wt=function(t){if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(t);var e,a,n,i,r,s=t.length,o=0;for(i=0;i<s;i++)55296==(64512&(a=t.charCodeAt(i)))&&i+1<s&&56320==(64512&(n=t.charCodeAt(i+1)))&&(a=65536+(a-55296<<10)+(n-56320),i++),o+=a<128?1:a<2048?2:a<65536?3:4;for(e=new Uint8Array(o),r=0,i=0;r<o;i++)55296==(64512&(a=t.charCodeAt(i)))&&i+1<s&&56320==(64512&(n=t.charCodeAt(i+1)))&&(a=65536+(a-55296<<10)+(n-56320),i++),a<128?e[r++]=a:a<2048?(e[r++]=192|a>>>6,e[r++]=128|63&a):a<65536?(e[r++]=224|a>>>12,e[r++]=128|a>>>6&63,e[r++]=128|63&a):(e[r++]=240|a>>>18,e[r++]=128|a>>>12&63,e[r++]=128|a>>>6&63,e[r++]=128|63&a);return e},qt=function(t,e){var a,n,i=e||t.length;if("function"==typeof TextDecoder&&TextDecoder.prototype.decode)return(new TextDecoder).decode(t.subarray(0,e));var r=new Array(2*i);for(n=0,a=0;a<i;){var s=t[a++];if(s<128)r[n++]=s;else{var o=Gt[s];if(o>4)r[n++]=65533,a+=o-1;else{for(s&=2===o?31:3===o?15:7;o>1&&a<i;)s=s<<6|63&t[a++],o--;o>1?r[n++]=65533:s<65536?r[n++]=s:(s-=65536,r[n++]=55296|s>>10&1023,r[n++]=56320|1023&s)}}}return function(t,e){if(e<65534&&t.subarray&&Yt)return String.fromCharCode.apply(null,t.length===e?t:t.subarray(0,e));for(var a="",n=0;n<e;n++)a+=String.fromCharCode(t[n]);return a}(r,n)},Jt=function(t,e){(e=e||t.length)>t.length&&(e=t.length);for(var a=e-1;a>=0&&128==(192&t[a]);)a--;return a<0||0===a?e:a+Gt[t[a]]>e?a:e};var Qt=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0},Vt=Object.prototype.toString,$t=K.Z_NO_FLUSH,te=K.Z_SYNC_FLUSH,ee=K.Z_FULL_FLUSH,ae=K.Z_FINISH,ne=K.Z_OK,ie=K.Z_STREAM_END,re=K.Z_DEFAULT_COMPRESSION,se=K.Z_DEFAULT_STRATEGY,oe=K.Z_DEFLATED;function le(t){this.options=Kt({level:re,method:oe,chunkSize:16384,windowBits:15,memLevel:8,strategy:se},t||{});var e=this.options;e.raw&&e.windowBits>0?e.windowBits=-e.windowBits:e.gzip&&e.windowBits>0&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Qt,this.strm.avail_out=0;var a=Mt.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(a!==ne)throw new Error(j[a]);if(e.header&&Mt.deflateSetHeader(this.strm,e.header),e.dictionary){var n;if(n="string"==typeof e.dictionary?Wt(e.dictionary):"[object ArrayBuffer]"===Vt.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,(a=Mt.deflateSetDictionary(this.strm,n))!==ne)throw new Error(j[a]);this._dict_set=!0}}function he(t,e){var a=new le(e);if(a.push(t,!0),a.err)throw a.msg||j[a.err];return a.result}le.prototype.push=function(t,e){var a,n,i=this.strm,r=this.options.chunkSize;if(this.ended)return!1;for(n=e===~~e?e:!0===e?ae:$t,"string"==typeof t?i.input=Wt(t):"[object ArrayBuffer]"===Vt.call(t)?i.input=new Uint8Array(t):i.input=t,i.next_in=0,i.avail_in=i.input.length;;)if(0===i.avail_out&&(i.output=new Uint8Array(r),i.next_out=0,i.avail_out=r),(n===te||n===ee)&&i.avail_out<=6)this.onData(i.output.subarray(0,i.next_out)),i.avail_out=0;else{if((a=Mt.deflate(i,n))===ie)return i.next_out>0&&this.onData(i.output.subarray(0,i.next_out)),a=Mt.deflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===ne;if(0!==i.avail_out){if(n>0&&i.next_out>0)this.onData(i.output.subarray(0,i.next_out)),i.avail_out=0;else if(0===i.avail_in)break}else this.onData(i.output)}return!0},le.prototype.onData=function(t){this.chunks.push(t)},le.prototype.onEnd=function(t){t===ne&&(this.result=Pt(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};var de={Deflate:le,deflate:he,deflateRaw:function(t,e){return(e=e||{}).raw=!0,he(t,e)},gzip:function(t,e){return(e=e||{}).gzip=!0,he(t,e)},constants:K},_e=16209,fe=function(t,e){var a,n,i,r,s,o,l,h,d,_,f,u,c,w,m,b,g,p,v,k,y,x,z,A,E=t.state;a=t.next_in,z=t.input,n=a+(t.avail_in-5),i=t.next_out,A=t.output,r=i-(e-t.avail_out),s=i+(t.avail_out-257),o=E.dmax,l=E.wsize,h=E.whave,d=E.wnext,_=E.window,f=E.hold,u=E.bits,c=E.lencode,w=E.distcode,m=(1<<E.lenbits)-1,b=(1<<E.distbits)-1;t:do{u<15&&(f+=z[a++]<<u,u+=8,f+=z[a++]<<u,u+=8),g=c[f&m];e:for(;;){if(f>>>=p=g>>>24,u-=p,0===(p=g>>>16&255))A[i++]=65535&g;else{if(!(16&p)){if(0==(64&p)){g=c[(65535&g)+(f&(1<<p)-1)];continue e}if(32&p){E.mode=16191;break t}t.msg="invalid literal/length code",E.mode=_e;break t}v=65535&g,(p&=15)&&(u<p&&(f+=z[a++]<<u,u+=8),v+=f&(1<<p)-1,f>>>=p,u-=p),u<15&&(f+=z[a++]<<u,u+=8,f+=z[a++]<<u,u+=8),g=w[f&b];a:for(;;){if(f>>>=p=g>>>24,u-=p,!(16&(p=g>>>16&255))){if(0==(64&p)){g=w[(65535&g)+(f&(1<<p)-1)];continue a}t.msg="invalid distance code",E.mode=_e;break t}if(k=65535&g,u<(p&=15)&&(f+=z[a++]<<u,(u+=8)<p&&(f+=z[a++]<<u,u+=8)),(k+=f&(1<<p)-1)>o){t.msg="invalid distance too far back",E.mode=_e;break t}if(f>>>=p,u-=p,k>(p=i-r)){if((p=k-p)>h&&E.sane){t.msg="invalid distance too far back",E.mode=_e;break t}if(y=0,x=_,0===d){if(y+=l-p,p<v){v-=p;do{A[i++]=_[y++]}while(--p);y=i-k,x=A}}else if(d<p){if(y+=l+d-p,(p-=d)<v){v-=p;do{A[i++]=_[y++]}while(--p);if(y=0,d<v){v-=p=d;do{A[i++]=_[y++]}while(--p);y=i-k,x=A}}}else if(y+=d-p,p<v){v-=p;do{A[i++]=_[y++]}while(--p);y=i-k,x=A}for(;v>2;)A[i++]=x[y++],A[i++]=x[y++],A[i++]=x[y++],v-=3;v&&(A[i++]=x[y++],v>1&&(A[i++]=x[y++]))}else{y=i-k;do{A[i++]=A[y++],A[i++]=A[y++],A[i++]=A[y++],v-=3}while(v>2);v&&(A[i++]=A[y++],v>1&&(A[i++]=A[y++]))}break}}break}}while(a<n&&i<s);a-=v=u>>3,f&=(1<<(u-=v<<3))-1,t.next_in=a,t.next_out=i,t.avail_in=a<n?n-a+5:5-(a-n),t.avail_out=i<s?s-i+257:257-(i-s),E.hold=f,E.bits=u},ue=15,ce=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),we=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),me=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),be=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]),ge=function(t,e,a,n,i,r,s,o){var l,h,d,_,f,u,c,w,m,b=o.bits,g=0,p=0,v=0,k=0,y=0,x=0,z=0,A=0,E=0,R=0,Z=null,S=new Uint16Array(16),U=new Uint16Array(16),D=null;for(g=0;g<=ue;g++)S[g]=0;for(p=0;p<n;p++)S[e[a+p]]++;for(y=b,k=ue;k>=1&&0===S[k];k--);if(y>k&&(y=k),0===k)return i[r++]=20971520,i[r++]=20971520,o.bits=1,0;for(v=1;v<k&&0===S[v];v++);for(y<v&&(y=v),A=1,g=1;g<=ue;g++)if(A<<=1,(A-=S[g])<0)return-1;if(A>0&&(0===t||1!==k))return-1;for(U[1]=0,g=1;g<ue;g++)U[g+1]=U[g]+S[g];for(p=0;p<n;p++)0!==e[a+p]&&(s[U[e[a+p]]++]=p);if(0===t?(Z=D=s,u=20):1===t?(Z=ce,D=we,u=257):(Z=me,D=be,u=0),R=0,p=0,g=v,f=r,x=y,z=0,d=-1,_=(E=1<<y)-1,1===t&&E>852||2===t&&E>592)return 1;for(;;){c=g-z,s[p]+1<u?(w=0,m=s[p]):s[p]>=u?(w=D[s[p]-u],m=Z[s[p]-u]):(w=96,m=0),l=1<<g-z,v=h=1<<x;do{i[f+(R>>z)+(h-=l)]=c<<24|w<<16|m|0}while(0!==h);for(l=1<<g-1;R&l;)l>>=1;if(0!==l?(R&=l-1,R+=l):R=0,p++,0==--S[g]){if(g===k)break;g=e[a+s[p]]}if(g>y&&(R&_)!==d){for(0===z&&(z=y),f+=v,A=1<<(x=g-z);x+z<k&&!((A-=S[x+z])<=0);)x++,A<<=1;if(E+=1<<x,1===t&&E>852||2===t&&E>592)return 1;i[d=R&_]=y<<24|x<<16|f-r|0}}return 0!==R&&(i[f+R]=g-z<<24|64<<16|0),o.bits=y,0},pe=K.Z_FINISH,ve=K.Z_BLOCK,ke=K.Z_TREES,ye=K.Z_OK,xe=K.Z_STREAM_END,ze=K.Z_NEED_DICT,Ae=K.Z_STREAM_ERROR,Ee=K.Z_DATA_ERROR,Re=K.Z_MEM_ERROR,Ze=K.Z_BUF_ERROR,Se=K.Z_DEFLATED,Ue=16180,De=16190,Te=16191,Oe=16192,Ie=16194,Fe=16199,Le=16200,Ne=16206,Be=16209,Ce=function(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)};function Me(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}var He,je,Ke=function(t){if(!t)return 1;var e=t.state;return!e||e.strm!==t||e.mode<Ue||e.mode>16211?1:0},Pe=function(t){if(Ke(t))return Ae;var e=t.state;return t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=Ue,e.last=0,e.havedict=0,e.flags=-1,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new Int32Array(852),e.distcode=e.distdyn=new Int32Array(592),e.sane=1,e.back=-1,ye},Ye=function(t){if(Ke(t))return Ae;var e=t.state;return e.wsize=0,e.whave=0,e.wnext=0,Pe(t)},Ge=function(t,e){var a;if(Ke(t))return Ae;var n=t.state;return e<0?(a=0,e=-e):(a=5+(e>>4),e<48&&(e&=15)),e&&(e<8||e>15)?Ae:(null!==n.window&&n.wbits!==e&&(n.window=null),n.wrap=a,n.wbits=e,Ye(t))},Xe=function(t,e){if(!t)return Ae;var a=new Me;t.state=a,a.strm=t,a.window=null,a.mode=Ue;var n=Ge(t,e);return n!==ye&&(t.state=null),n},We=!0,qe=function(t){if(We){He=new Int32Array(512),je=new Int32Array(32);for(var e=0;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(ge(1,t.lens,0,288,He,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;ge(2,t.lens,0,32,je,0,t.work,{bits:5}),We=!1}t.lencode=He,t.lenbits=9,t.distcode=je,t.distbits=5},Je=function(t,e,a,n){var i,r=t.state;return null===r.window&&(r.wsize=1<<r.wbits,r.wnext=0,r.whave=0,r.window=new Uint8Array(r.wsize)),n>=r.wsize?(r.window.set(e.subarray(a-r.wsize,a),0),r.wnext=0,r.whave=r.wsize):((i=r.wsize-r.wnext)>n&&(i=n),r.window.set(e.subarray(a-n,a-n+i),r.wnext),(n-=i)?(r.window.set(e.subarray(a-n,a),0),r.wnext=n,r.whave=r.wsize):(r.wnext+=i,r.wnext===r.wsize&&(r.wnext=0),r.whave<r.wsize&&(r.whave+=i))),0},Qe={inflateReset:Ye,inflateReset2:Ge,inflateResetKeep:Pe,inflateInit:function(t){return Xe(t,15)},inflateInit2:Xe,inflate:function(t,e){var a,n,i,r,s,o,l,h,d,_,f,u,c,w,m,b,g,p,v,k,y,x,z,A,E=0,R=new Uint8Array(4),Z=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(Ke(t)||!t.output||!t.input&&0!==t.avail_in)return Ae;(a=t.state).mode===Te&&(a.mode=Oe),s=t.next_out,i=t.output,l=t.avail_out,r=t.next_in,n=t.input,o=t.avail_in,h=a.hold,d=a.bits,_=o,f=l,x=ye;t:for(;;)switch(a.mode){case Ue:if(0===a.wrap){a.mode=Oe;break}for(;d<16;){if(0===o)break t;o--,h+=n[r++]<<d,d+=8}if(2&a.wrap&&35615===h){0===a.wbits&&(a.wbits=15),a.check=0,R[0]=255&h,R[1]=h>>>8&255,a.check=H(a.check,R,2,0),h=0,d=0,a.mode=16181;break}if(a.head&&(a.head.done=!1),!(1&a.wrap)||(((255&h)<<8)+(h>>8))%31){t.msg="incorrect header check",a.mode=Be;break}if((15&h)!==Se){t.msg="unknown compression method",a.mode=Be;break}if(d-=4,y=8+(15&(h>>>=4)),0===a.wbits&&(a.wbits=y),y>15||y>a.wbits){t.msg="invalid window size",a.mode=Be;break}a.dmax=1<<a.wbits,a.flags=0,t.adler=a.check=1,a.mode=512&h?16189:Te,h=0,d=0;break;case 16181:for(;d<16;){if(0===o)break t;o--,h+=n[r++]<<d,d+=8}if(a.flags=h,(255&a.flags)!==Se){t.msg="unknown compression method",a.mode=Be;break}if(57344&a.flags){t.msg="unknown header flags set",a.mode=Be;break}a.head&&(a.head.text=h>>8&1),512&a.flags&&4&a.wrap&&(R[0]=255&h,R[1]=h>>>8&255,a.check=H(a.check,R,2,0)),h=0,d=0,a.mode=16182;case 16182:for(;d<32;){if(0===o)break t;o--,h+=n[r++]<<d,d+=8}a.head&&(a.head.time=h),512&a.flags&&4&a.wrap&&(R[0]=255&h,R[1]=h>>>8&255,R[2]=h>>>16&255,R[3]=h>>>24&255,a.check=H(a.check,R,4,0)),h=0,d=0,a.mode=16183;case 16183:for(;d<16;){if(0===o)break t;o--,h+=n[r++]<<d,d+=8}a.head&&(a.head.xflags=255&h,a.head.os=h>>8),512&a.flags&&4&a.wrap&&(R[0]=255&h,R[1]=h>>>8&255,a.check=H(a.check,R,2,0)),h=0,d=0,a.mode=16184;case 16184:if(1024&a.flags){for(;d<16;){if(0===o)break t;o--,h+=n[r++]<<d,d+=8}a.length=h,a.head&&(a.head.extra_len=h),512&a.flags&&4&a.wrap&&(R[0]=255&h,R[1]=h>>>8&255,a.check=H(a.check,R,2,0)),h=0,d=0}else a.head&&(a.head.extra=null);a.mode=16185;case 16185:if(1024&a.flags&&((u=a.length)>o&&(u=o),u&&(a.head&&(y=a.head.extra_len-a.length,a.head.extra||(a.head.extra=new Uint8Array(a.head.extra_len)),a.head.extra.set(n.subarray(r,r+u),y)),512&a.flags&&4&a.wrap&&(a.check=H(a.check,n,u,r)),o-=u,r+=u,a.length-=u),a.length))break t;a.length=0,a.mode=16186;case 16186:if(2048&a.flags){if(0===o)break t;u=0;do{y=n[r+u++],a.head&&y&&a.length<65536&&(a.head.name+=String.fromCharCode(y))}while(y&&u<o);if(512&a.flags&&4&a.wrap&&(a.check=H(a.check,n,u,r)),o-=u,r+=u,y)break t}else a.head&&(a.head.name=null);a.length=0,a.mode=16187;case 16187:if(4096&a.flags){if(0===o)break t;u=0;do{y=n[r+u++],a.head&&y&&a.length<65536&&(a.head.comment+=String.fromCharCode(y))}while(y&&u<o);if(512&a.flags&&4&a.wrap&&(a.check=H(a.check,n,u,r)),o-=u,r+=u,y)break t}else a.head&&(a.head.comment=null);a.mode=16188;case 16188:if(512&a.flags){for(;d<16;){if(0===o)break t;o--,h+=n[r++]<<d,d+=8}if(4&a.wrap&&h!==(65535&a.check)){t.msg="header crc mismatch",a.mode=Be;break}h=0,d=0}a.head&&(a.head.hcrc=a.flags>>9&1,a.head.done=!0),t.adler=a.check=0,a.mode=Te;break;case 16189:for(;d<32;){if(0===o)break t;o--,h+=n[r++]<<d,d+=8}t.adler=a.check=Ce(h),h=0,d=0,a.mode=De;case De:if(0===a.havedict)return t.next_out=s,t.avail_out=l,t.next_in=r,t.avail_in=o,a.hold=h,a.bits=d,ze;t.adler=a.check=1,a.mode=Te;case Te:if(e===ve||e===ke)break t;case Oe:if(a.last){h>>>=7&d,d-=7&d,a.mode=Ne;break}for(;d<3;){if(0===o)break t;o--,h+=n[r++]<<d,d+=8}switch(a.last=1&h,d-=1,3&(h>>>=1)){case 0:a.mode=16193;break;case 1:if(qe(a),a.mode=Fe,e===ke){h>>>=2,d-=2;break t}break;case 2:a.mode=16196;break;case 3:t.msg="invalid block type",a.mode=Be}h>>>=2,d-=2;break;case 16193:for(h>>>=7&d,d-=7&d;d<32;){if(0===o)break t;o--,h+=n[r++]<<d,d+=8}if((65535&h)!=(h>>>16^65535)){t.msg="invalid stored block lengths",a.mode=Be;break}if(a.length=65535&h,h=0,d=0,a.mode=Ie,e===ke)break t;case Ie:a.mode=16195;case 16195:if(u=a.length){if(u>o&&(u=o),u>l&&(u=l),0===u)break t;i.set(n.subarray(r,r+u),s),o-=u,r+=u,l-=u,s+=u,a.length-=u;break}a.mode=Te;break;case 16196:for(;d<14;){if(0===o)break t;o--,h+=n[r++]<<d,d+=8}if(a.nlen=257+(31&h),h>>>=5,d-=5,a.ndist=1+(31&h),h>>>=5,d-=5,a.ncode=4+(15&h),h>>>=4,d-=4,a.nlen>286||a.ndist>30){t.msg="too many length or distance symbols",a.mode=Be;break}a.have=0,a.mode=16197;case 16197:for(;a.have<a.ncode;){for(;d<3;){if(0===o)break t;o--,h+=n[r++]<<d,d+=8}a.lens[Z[a.have++]]=7&h,h>>>=3,d-=3}for(;a.have<19;)a.lens[Z[a.have++]]=0;if(a.lencode=a.lendyn,a.lenbits=7,z={bits:a.lenbits},x=ge(0,a.lens,0,19,a.lencode,0,a.work,z),a.lenbits=z.bits,x){t.msg="invalid code lengths set",a.mode=Be;break}a.have=0,a.mode=16198;case 16198:for(;a.have<a.nlen+a.ndist;){for(;b=(E=a.lencode[h&(1<<a.lenbits)-1])>>>16&255,g=65535&E,!((m=E>>>24)<=d);){if(0===o)break t;o--,h+=n[r++]<<d,d+=8}if(g<16)h>>>=m,d-=m,a.lens[a.have++]=g;else{if(16===g){for(A=m+2;d<A;){if(0===o)break t;o--,h+=n[r++]<<d,d+=8}if(h>>>=m,d-=m,0===a.have){t.msg="invalid bit length repeat",a.mode=Be;break}y=a.lens[a.have-1],u=3+(3&h),h>>>=2,d-=2}else if(17===g){for(A=m+3;d<A;){if(0===o)break t;o--,h+=n[r++]<<d,d+=8}d-=m,y=0,u=3+(7&(h>>>=m)),h>>>=3,d-=3}else{for(A=m+7;d<A;){if(0===o)break t;o--,h+=n[r++]<<d,d+=8}d-=m,y=0,u=11+(127&(h>>>=m)),h>>>=7,d-=7}if(a.have+u>a.nlen+a.ndist){t.msg="invalid bit length repeat",a.mode=Be;break}for(;u--;)a.lens[a.have++]=y}}if(a.mode===Be)break;if(0===a.lens[256]){t.msg="invalid code -- missing end-of-block",a.mode=Be;break}if(a.lenbits=9,z={bits:a.lenbits},x=ge(1,a.lens,0,a.nlen,a.lencode,0,a.work,z),a.lenbits=z.bits,x){t.msg="invalid literal/lengths set",a.mode=Be;break}if(a.distbits=6,a.distcode=a.distdyn,z={bits:a.distbits},x=ge(2,a.lens,a.nlen,a.ndist,a.distcode,0,a.work,z),a.distbits=z.bits,x){t.msg="invalid distances set",a.mode=Be;break}if(a.mode=Fe,e===ke)break t;case Fe:a.mode=Le;case Le:if(o>=6&&l>=258){t.next_out=s,t.avail_out=l,t.next_in=r,t.avail_in=o,a.hold=h,a.bits=d,fe(t,f),s=t.next_out,i=t.output,l=t.avail_out,r=t.next_in,n=t.input,o=t.avail_in,h=a.hold,d=a.bits,a.mode===Te&&(a.back=-1);break}for(a.back=0;b=(E=a.lencode[h&(1<<a.lenbits)-1])>>>16&255,g=65535&E,!((m=E>>>24)<=d);){if(0===o)break t;o--,h+=n[r++]<<d,d+=8}if(b&&0==(240&b)){for(p=m,v=b,k=g;b=(E=a.lencode[k+((h&(1<<p+v)-1)>>p)])>>>16&255,g=65535&E,!(p+(m=E>>>24)<=d);){if(0===o)break t;o--,h+=n[r++]<<d,d+=8}h>>>=p,d-=p,a.back+=p}if(h>>>=m,d-=m,a.back+=m,a.length=g,0===b){a.mode=16205;break}if(32&b){a.back=-1,a.mode=Te;break}if(64&b){t.msg="invalid literal/length code",a.mode=Be;break}a.extra=15&b,a.mode=16201;case 16201:if(a.extra){for(A=a.extra;d<A;){if(0===o)break t;o--,h+=n[r++]<<d,d+=8}a.length+=h&(1<<a.extra)-1,h>>>=a.extra,d-=a.extra,a.back+=a.extra}a.was=a.length,a.mode=16202;case 16202:for(;b=(E=a.distcode[h&(1<<a.distbits)-1])>>>16&255,g=65535&E,!((m=E>>>24)<=d);){if(0===o)break t;o--,h+=n[r++]<<d,d+=8}if(0==(240&b)){for(p=m,v=b,k=g;b=(E=a.distcode[k+((h&(1<<p+v)-1)>>p)])>>>16&255,g=65535&E,!(p+(m=E>>>24)<=d);){if(0===o)break t;o--,h+=n[r++]<<d,d+=8}h>>>=p,d-=p,a.back+=p}if(h>>>=m,d-=m,a.back+=m,64&b){t.msg="invalid distance code",a.mode=Be;break}a.offset=g,a.extra=15&b,a.mode=16203;case 16203:if(a.extra){for(A=a.extra;d<A;){if(0===o)break t;o--,h+=n[r++]<<d,d+=8}a.offset+=h&(1<<a.extra)-1,h>>>=a.extra,d-=a.extra,a.back+=a.extra}if(a.offset>a.dmax){t.msg="invalid distance too far back",a.mode=Be;break}a.mode=16204;case 16204:if(0===l)break t;if(u=f-l,a.offset>u){if((u=a.offset-u)>a.whave&&a.sane){t.msg="invalid distance too far back",a.mode=Be;break}u>a.wnext?(u-=a.wnext,c=a.wsize-u):c=a.wnext-u,u>a.length&&(u=a.length),w=a.window}else w=i,c=s-a.offset,u=a.length;u>l&&(u=l),l-=u,a.length-=u;do{i[s++]=w[c++]}while(--u);0===a.length&&(a.mode=Le);break;case 16205:if(0===l)break t;i[s++]=a.length,l--,a.mode=Le;break;case Ne:if(a.wrap){for(;d<32;){if(0===o)break t;o--,h|=n[r++]<<d,d+=8}if(f-=l,t.total_out+=f,a.total+=f,4&a.wrap&&f&&(t.adler=a.check=a.flags?H(a.check,i,f,s-f):C(a.check,i,f,s-f)),f=l,4&a.wrap&&(a.flags?h:Ce(h))!==a.check){t.msg="incorrect data check",a.mode=Be;break}h=0,d=0}a.mode=16207;case 16207:if(a.wrap&&a.flags){for(;d<32;){if(0===o)break t;o--,h+=n[r++]<<d,d+=8}if(4&a.wrap&&h!==(4294967295&a.total)){t.msg="incorrect length check",a.mode=Be;break}h=0,d=0}a.mode=16208;case 16208:x=xe;break t;case Be:x=Ee;break t;case 16210:return Re;default:return Ae}return t.next_out=s,t.avail_out=l,t.next_in=r,t.avail_in=o,a.hold=h,a.bits=d,(a.wsize||f!==t.avail_out&&a.mode<Be&&(a.mode<Ne||e!==pe))&&Je(t,t.output,t.next_out,f-t.avail_out),_-=t.avail_in,f-=t.avail_out,t.total_in+=_,t.total_out+=f,a.total+=f,4&a.wrap&&f&&(t.adler=a.check=a.flags?H(a.check,i,f,t.next_out-f):C(a.check,i,f,t.next_out-f)),t.data_type=a.bits+(a.last?64:0)+(a.mode===Te?128:0)+(a.mode===Fe||a.mode===Ie?256:0),(0===_&&0===f||e===pe)&&x===ye&&(x=Ze),x},inflateEnd:function(t){if(Ke(t))return Ae;var e=t.state;return e.window&&(e.window=null),t.state=null,ye},inflateGetHeader:function(t,e){if(Ke(t))return Ae;var a=t.state;return 0==(2&a.wrap)?Ae:(a.head=e,e.done=!1,ye)},inflateSetDictionary:function(t,e){var a,n=e.length;return Ke(t)||0!==(a=t.state).wrap&&a.mode!==De?Ae:a.mode===De&&C(1,e,n,0)!==a.check?Ee:Je(t,e,n,n)?(a.mode=16210,Re):(a.havedict=1,ye)},inflateInfo:"pako inflate (from Nodeca project)"};var Ve=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1},$e=Object.prototype.toString,ta=K.Z_NO_FLUSH,ea=K.Z_FINISH,aa=K.Z_OK,na=K.Z_STREAM_END,ia=K.Z_NEED_DICT,ra=K.Z_STREAM_ERROR,sa=K.Z_DATA_ERROR,oa=K.Z_MEM_ERROR;function la(t){this.options=Kt({chunkSize:65536,windowBits:15,to:""},t||{});var e=this.options;e.raw&&e.windowBits>=0&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(e.windowBits>=0&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),e.windowBits>15&&e.windowBits<48&&0==(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Qt,this.strm.avail_out=0;var a=Qe.inflateInit2(this.strm,e.windowBits);if(a!==aa)throw new Error(j[a]);if(this.header=new Ve,Qe.inflateGetHeader(this.strm,this.header),e.dictionary&&("string"==typeof e.dictionary?e.dictionary=Wt(e.dictionary):"[object ArrayBuffer]"===$e.call(e.dictionary)&&(e.dictionary=new Uint8Array(e.dictionary)),e.raw&&(a=Qe.inflateSetDictionary(this.strm,e.dictionary))!==aa))throw new Error(j[a])}function ha(t,e){var a=new la(e);if(a.push(t),a.err)throw a.msg||j[a.err];return a.result}la.prototype.push=function(t,e){var a,n,i,r=this.strm,s=this.options.chunkSize,o=this.options.dictionary;if(this.ended)return!1;for(n=e===~~e?e:!0===e?ea:ta,"[object ArrayBuffer]"===$e.call(t)?r.input=new Uint8Array(t):r.input=t,r.next_in=0,r.avail_in=r.input.length;;){for(0===r.avail_out&&(r.output=new Uint8Array(s),r.next_out=0,r.avail_out=s),(a=Qe.inflate(r,n))===ia&&o&&((a=Qe.inflateSetDictionary(r,o))===aa?a=Qe.inflate(r,n):a===sa&&(a=ia));r.avail_in>0&&a===na&&r.state.wrap>0&&0!==t[r.next_in];)Qe.inflateReset(r),a=Qe.inflate(r,n);switch(a){case ra:case sa:case ia:case oa:return this.onEnd(a),this.ended=!0,!1}if(i=r.avail_out,r.next_out&&(0===r.avail_out||a===na))if("string"===this.options.to){var l=Jt(r.output,r.next_out),h=r.next_out-l,d=qt(r.output,l);r.next_out=h,r.avail_out=s-h,h&&r.output.set(r.output.subarray(l,l+h),0),this.onData(d)}else this.onData(r.output.length===r.next_out?r.output:r.output.subarray(0,r.next_out));if(a!==aa||0!==i){if(a===na)return a=Qe.inflateEnd(this.strm),this.onEnd(a),this.ended=!0,!0;if(0===r.avail_in)break}}return!0},la.prototype.onData=function(t){this.chunks.push(t)},la.prototype.onEnd=function(t){t===aa&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=Pt(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};var da={Inflate:la,inflate:ha,inflateRaw:function(t,e){return(e=e||{}).raw=!0,ha(t,e)},ungzip:ha,constants:K},_a=de.Deflate,fa=de.deflate,ua=de.deflateRaw,ca=de.gzip,wa=da.Inflate,ma=da.inflate,ba=da.inflateRaw,ga=da.ungzip,pa=K,va={Deflate:_a,deflate:fa,deflateRaw:ua,gzip:ca,Inflate:wa,inflate:ma,inflateRaw:ba,ungzip:ga,constants:pa};t.Deflate=_a,t.Inflate=wa,t.constants=pa,t.default=va,t.deflate=fa,t.deflateRaw=ua,t.gzip=ca,t.inflate=ma,t.inflateRaw=ba,t.ungzip=ga,Object.defineProperty(t,"__esModule",{value:!0})}));
var rough=function(){"use strict";function t(t,e,s){if(t&&t.length){const[n,o]=e,a=Math.PI/180*s,h=Math.cos(a),r=Math.sin(a);for(const e of t){const[t,s]=e;e[0]=(t-n)*h-(s-o)*r+n,e[1]=(t-n)*r+(s-o)*h+o}}}function e(t,e){return t[0]===e[0]&&t[1]===e[1]}function s(s,n,o,a=1){const h=o,r=Math.max(n,.1),i=s[0]&&s[0][0]&&"number"==typeof s[0][0]?[s]:s,c=[0,0];if(h)for(const e of i)t(e,c,h);const l=function(t,s,n){const o=[];for(const s of t){const t=[...s];e(t[0],t[t.length-1])||t.push([t[0][0],t[0][1]]),t.length>2&&o.push(t)}const a=[];s=Math.max(s,.1);const h=[];for(const t of o)for(let e=0;e<t.length-1;e++){const s=t[e],n=t[e+1];if(s[1]!==n[1]){const t=Math.min(s[1],n[1]);h.push({ymin:t,ymax:Math.max(s[1],n[1]),x:t===s[1]?s[0]:n[0],islope:(n[0]-s[0])/(n[1]-s[1])})}}if(h.sort(((t,e)=>t.ymin<e.ymin?-1:t.ymin>e.ymin?1:t.x<e.x?-1:t.x>e.x?1:t.ymax===e.ymax?0:(t.ymax-e.ymax)/Math.abs(t.ymax-e.ymax))),!h.length)return a;let r=[],i=h[0].ymin,c=0;for(;r.length||h.length;){if(h.length){let t=-1;for(let e=0;e<h.length&&!(h[e].ymin>i);e++)t=e;h.splice(0,t+1).forEach((t=>{r.push({s:i,edge:t})}))}if(r=r.filter((t=>!(t.edge.ymax<=i))),r.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!==n||c%s==0)&&r.length>1)for(let t=0;t<r.length;t+=2){const e=t+1;if(e>=r.length)break;const s=r[t].edge,n=r[e].edge;a.push([[Math.round(s.x),i],[Math.round(n.x),i]])}i+=n,r.forEach((t=>{t.edge.x=t.edge.x+n*t.edge.islope})),c++}return a}(i,r,a);if(h){for(const e of i)t(e,c,-h);!function(e,s,n){const o=[];e.forEach((t=>o.push(...t))),t(o,s,n)}(l,c,-h)}return l}function n(t,e){var n;const o=e.hachureAngle+90;let a=e.hachureGap;a<0&&(a=4*e.strokeWidth),a=Math.round(Math.max(a,.1));let h=1;return e.roughness>=1&&((null===(n=e.randomizer)||void 0===n?void 0:n.next())||Math.random())>.7&&(h=a),s(t,a,o,h||1)}class o{constructor(t){this.helper=t}fillPolygons(t,e){return this._fillPolygons(t,e)}_fillPolygons(t,e){const s=n(t,e);return{type:"fillSketch",ops:this.renderLines(s,e)}}renderLines(t,e){const s=[];for(const n of t)s.push(...this.helper.doubleLineOps(n[0][0],n[0][1],n[1][0],n[1][1],e));return s}}function a(t){const e=t[0],s=t[1];return Math.sqrt(Math.pow(e[0]-s[0],2)+Math.pow(e[1]-s[1],2))}class h extends o{fillPolygons(t,e){let s=e.hachureGap;s<0&&(s=4*e.strokeWidth),s=Math.max(s,.1);const o=n(t,Object.assign({},e,{hachureGap:s})),h=Math.PI/180*e.hachureAngle,r=[],i=.5*s*Math.cos(h),c=.5*s*Math.sin(h);for(const[t,e]of o)a([t,e])&&r.push([[t[0]-i,t[1]+c],[...e]],[[t[0]+i,t[1]-c],[...e]]);return{type:"fillSketch",ops:this.renderLines(r,e)}}}class r extends o{fillPolygons(t,e){const s=this._fillPolygons(t,e),n=Object.assign({},e,{hachureAngle:e.hachureAngle+90}),o=this._fillPolygons(t,n);return s.ops=s.ops.concat(o.ops),s}}class i{constructor(t){this.helper=t}fillPolygons(t,e){const s=n(t,e=Object.assign({},e,{hachureAngle:0}));return this.dotsOnLines(s,e)}dotsOnLines(t,e){const s=[];let n=e.hachureGap;n<0&&(n=4*e.strokeWidth),n=Math.max(n,.1);let o=e.fillWeight;o<0&&(o=e.strokeWidth/2);const h=n/4;for(const r of t){const t=a(r),i=t/n,c=Math.ceil(i)-1,l=t-c*n,u=(r[0][0]+r[1][0])/2-n/4,p=Math.min(r[0][1],r[1][1]);for(let t=0;t<c;t++){const a=p+l+t*n,r=u-h+2*Math.random()*h,i=a-h+2*Math.random()*h,c=this.helper.ellipse(r,i,o,o,e);s.push(...c.ops)}}return{type:"fillSketch",ops:s}}}class c{constructor(t){this.helper=t}fillPolygons(t,e){const s=n(t,e);return{type:"fillSketch",ops:this.dashedLine(s,e)}}dashedLine(t,e){const s=e.dashOffset<0?e.hachureGap<0?4*e.strokeWidth:e.hachureGap:e.dashOffset,n=e.dashGap<0?e.hachureGap<0?4*e.strokeWidth:e.hachureGap:e.dashGap,o=[];return t.forEach((t=>{const h=a(t),r=Math.floor(h/(s+n)),i=(h+n-r*(s+n))/2;let c=t[0],l=t[1];c[0]>l[0]&&(c=t[1],l=t[0]);const u=Math.atan((l[1]-c[1])/(l[0]-c[0]));for(let t=0;t<r;t++){const a=t*(s+n),h=a+s,r=[c[0]+a*Math.cos(u)+i*Math.cos(u),c[1]+a*Math.sin(u)+i*Math.sin(u)],l=[c[0]+h*Math.cos(u)+i*Math.cos(u),c[1]+h*Math.sin(u)+i*Math.sin(u)];o.push(...this.helper.doubleLineOps(r[0],r[1],l[0],l[1],e))}})),o}}class l{constructor(t){this.helper=t}fillPolygons(t,e){const s=e.hachureGap<0?4*e.strokeWidth:e.hachureGap,o=e.zigzagOffset<0?s:e.zigzagOffset,a=n(t,e=Object.assign({},e,{hachureGap:s+o}));return{type:"fillSketch",ops:this.zigzagLines(a,o,e)}}zigzagLines(t,e,s){const n=[];return t.forEach((t=>{const o=a(t),h=Math.round(o/(2*e));let r=t[0],i=t[1];r[0]>i[0]&&(r=t[1],i=t[0]);const c=Math.atan((i[1]-r[1])/(i[0]-r[0]));for(let t=0;t<h;t++){const o=2*t*e,a=2*(t+1)*e,h=Math.sqrt(2*Math.pow(e,2)),i=[r[0]+o*Math.cos(c),r[1]+o*Math.sin(c)],l=[r[0]+a*Math.cos(c),r[1]+a*Math.sin(c)],u=[i[0]+h*Math.cos(c+Math.PI/4),i[1]+h*Math.sin(c+Math.PI/4)];n.push(...this.helper.doubleLineOps(i[0],i[1],u[0],u[1],s),...this.helper.doubleLineOps(u[0],u[1],l[0],l[1],s))}})),n}}const u={};class p{constructor(t){this.seed=t}next(){return this.seed?(2**31-1&(this.seed=Math.imul(48271,this.seed)))/2**31:Math.random()}}const f=0,d=1,g=2,M={A:7,a:7,C:6,c:6,H:1,h:1,L:2,l:2,M:2,m:2,Q:4,q:4,S:4,s:4,T:2,t:2,V:1,v:1,Z:0,z:0};function k(t,e){return t.type===e}function b(t){const e=[],s=function(t){const e=new Array;for(;""!==t;)if(t.match(/^([ \t\r\n,]+)/))t=t.substr(RegExp.$1.length);else if(t.match(/^([aAcChHlLmMqQsStTvVzZ])/))e[e.length]={type:f,text:RegExp.$1},t=t.substr(RegExp.$1.length);else{if(!t.match(/^(([-+]?[0-9]+(\.[0-9]*)?|[-+]?\.[0-9]+)([eE][-+]?[0-9]+)?)/))return[];e[e.length]={type:d,text:`${parseFloat(RegExp.$1)}`},t=t.substr(RegExp.$1.length)}return e[e.length]={type:g,text:""},e}(t);let n="BOD",o=0,a=s[o];for(;!k(a,g);){let h=0;const r=[];if("BOD"===n){if("M"!==a.text&&"m"!==a.text)return b("M0,0"+t);o++,h=M[a.text],n=a.text}else k(a,d)?h=M[n]:(o++,h=M[a.text],n=a.text);if(!(o+h<s.length))throw new Error("Path data ended short");for(let t=o;t<o+h;t++){const e=s[t];if(!k(e,d))throw new Error("Param not a number: "+n+","+e.text);r[r.length]=+e.text}if("number"!=typeof M[n])throw new Error("Bad segment: "+n);{const t={key:n,data:r};e.push(t),o+=h,a=s[o],"M"===n&&(n="L"),"m"===n&&(n="l")}}return e}function y(t){let e=0,s=0,n=0,o=0;const a=[];for(const{key:h,data:r}of t)switch(h){case"M":a.push({key:"M",data:[...r]}),[e,s]=r,[n,o]=r;break;case"m":e+=r[0],s+=r[1],a.push({key:"M",data:[e,s]}),n=e,o=s;break;case"L":a.push({key:"L",data:[...r]}),[e,s]=r;break;case"l":e+=r[0],s+=r[1],a.push({key:"L",data:[e,s]});break;case"C":a.push({key:"C",data:[...r]}),e=r[4],s=r[5];break;case"c":{const t=r.map(((t,n)=>n%2?t+s:t+e));a.push({key:"C",data:t}),e=t[4],s=t[5];break}case"Q":a.push({key:"Q",data:[...r]}),e=r[2],s=r[3];break;case"q":{const t=r.map(((t,n)=>n%2?t+s:t+e));a.push({key:"Q",data:t}),e=t[2],s=t[3];break}case"A":a.push({key:"A",data:[...r]}),e=r[5],s=r[6];break;case"a":e+=r[5],s+=r[6],a.push({key:"A",data:[r[0],r[1],r[2],r[3],r[4],e,s]});break;case"H":a.push({key:"H",data:[...r]}),e=r[0];break;case"h":e+=r[0],a.push({key:"H",data:[e]});break;case"V":a.push({key:"V",data:[...r]}),s=r[0];break;case"v":s+=r[0],a.push({key:"V",data:[s]});break;case"S":a.push({key:"S",data:[...r]}),e=r[2],s=r[3];break;case"s":{const t=r.map(((t,n)=>n%2?t+s:t+e));a.push({key:"S",data:t}),e=t[2],s=t[3];break}case"T":a.push({key:"T",data:[...r]}),e=r[0],s=r[1];break;case"t":e+=r[0],s+=r[1],a.push({key:"T",data:[e,s]});break;case"Z":case"z":a.push({key:"Z",data:[]}),e=n,s=o}return a}function m(t){const e=[];let s="",n=0,o=0,a=0,h=0,r=0,i=0;for(const{key:c,data:l}of t){switch(c){case"M":e.push({key:"M",data:[...l]}),[n,o]=l,[a,h]=l;break;case"C":e.push({key:"C",data:[...l]}),n=l[4],o=l[5],r=l[2],i=l[3];break;case"L":e.push({key:"L",data:[...l]}),[n,o]=l;break;case"H":n=l[0],e.push({key:"L",data:[n,o]});break;case"V":o=l[0],e.push({key:"L",data:[n,o]});break;case"S":{let t=0,a=0;"C"===s||"S"===s?(t=n+(n-r),a=o+(o-i)):(t=n,a=o),e.push({key:"C",data:[t,a,...l]}),r=l[0],i=l[1],n=l[2],o=l[3];break}case"T":{const[t,a]=l;let h=0,c=0;"Q"===s||"T"===s?(h=n+(n-r),c=o+(o-i)):(h=n,c=o);const u=n+2*(h-n)/3,p=o+2*(c-o)/3,f=t+2*(h-t)/3,d=a+2*(c-a)/3;e.push({key:"C",data:[u,p,f,d,t,a]}),r=h,i=c,n=t,o=a;break}case"Q":{const[t,s,a,h]=l,c=n+2*(t-n)/3,u=o+2*(s-o)/3,p=a+2*(t-a)/3,f=h+2*(s-h)/3;e.push({key:"C",data:[c,u,p,f,a,h]}),r=t,i=s,n=a,o=h;break}case"A":{const t=Math.abs(l[0]),s=Math.abs(l[1]),a=l[2],h=l[3],r=l[4],i=l[5],c=l[6];if(0===t||0===s)e.push({key:"C",data:[n,o,i,c,i,c]}),n=i,o=c;else if(n!==i||o!==c){x(n,o,i,c,t,s,a,h,r).forEach((function(t){e.push({key:"C",data:t})})),n=i,o=c}break}case"Z":e.push({key:"Z",data:[]}),n=a,o=h}s=c}return e}function w(t,e,s){return[t*Math.cos(s)-e*Math.sin(s),t*Math.sin(s)+e*Math.cos(s)]}function x(t,e,s,n,o,a,h,r,i,c){const l=(u=h,Math.PI*u/180);var u;let p=[],f=0,d=0,g=0,M=0;if(c)[f,d,g,M]=c;else{[t,e]=w(t,e,-l),[s,n]=w(s,n,-l);const h=(t-s)/2,c=(e-n)/2;let u=h*h/(o*o)+c*c/(a*a);u>1&&(u=Math.sqrt(u),o*=u,a*=u);const p=o*o,k=a*a,b=p*k-p*c*c-k*h*h,y=p*c*c+k*h*h,m=(r===i?-1:1)*Math.sqrt(Math.abs(b/y));g=m*o*c/a+(t+s)/2,M=m*-a*h/o+(e+n)/2,f=Math.asin(parseFloat(((e-M)/a).toFixed(9))),d=Math.asin(parseFloat(((n-M)/a).toFixed(9))),t<g&&(f=Math.PI-f),s<g&&(d=Math.PI-d),f<0&&(f=2*Math.PI+f),d<0&&(d=2*Math.PI+d),i&&f>d&&(f-=2*Math.PI),!i&&d>f&&(d-=2*Math.PI)}let k=d-f;if(Math.abs(k)>120*Math.PI/180){const t=d,e=s,r=n;d=i&&d>f?f+120*Math.PI/180*1:f+120*Math.PI/180*-1,p=x(s=g+o*Math.cos(d),n=M+a*Math.sin(d),e,r,o,a,h,0,i,[d,t,g,M])}k=d-f;const b=Math.cos(f),y=Math.sin(f),m=Math.cos(d),P=Math.sin(d),v=Math.tan(k/4),S=4/3*o*v,O=4/3*a*v,L=[t,e],T=[t+S*y,e-O*b],D=[s+S*P,n-O*m],A=[s,n];if(T[0]=2*L[0]-T[0],T[1]=2*L[1]-T[1],c)return[T,D,A].concat(p);{p=[T,D,A].concat(p);const t=[];for(let e=0;e<p.length;e+=3){const s=w(p[e][0],p[e][1],l),n=w(p[e+1][0],p[e+1][1],l),o=w(p[e+2][0],p[e+2][1],l);t.push([s[0],s[1],n[0],n[1],o[0],o[1]])}return t}}const P={randOffset:function(t,e){return G(t,e)},randOffsetWithRange:function(t,e,s){return E(t,e,s)},ellipse:function(t,e,s,n,o){const a=T(s,n,o);return D(t,e,o,a).opset},doubleLineOps:function(t,e,s,n,o){return $(t,e,s,n,o,!0)}};function v(t,e,s,n,o){return{type:"path",ops:$(t,e,s,n,o)}}function S(t,e,s){const n=(t||[]).length;if(n>2){const o=[];for(let e=0;e<n-1;e++)o.push(...$(t[e][0],t[e][1],t[e+1][0],t[e+1][1],s));return e&&o.push(...$(t[n-1][0],t[n-1][1],t[0][0],t[0][1],s)),{type:"path",ops:o}}return 2===n?v(t[0][0],t[0][1],t[1][0],t[1][1],s):{type:"path",ops:[]}}function O(t,e,s,n,o){return function(t,e){return S(t,!0,e)}([[t,e],[t+s,e],[t+s,e+n],[t,e+n]],o)}function L(t,e){if(t.length){const s="number"==typeof t[0][0]?[t]:t,n=j(s[0],1*(1+.2*e.roughness),e),o=e.disableMultiStroke?[]:j(s[0],1.5*(1+.22*e.roughness),z(e));for(let t=1;t<s.length;t++){const a=s[t];if(a.length){const t=j(a,1*(1+.2*e.roughness),e),s=e.disableMultiStroke?[]:j(a,1.5*(1+.22*e.roughness),z(e));for(const e of t)"move"!==e.op&&n.push(e);for(const t of s)"move"!==t.op&&o.push(t)}}return{type:"path",ops:n.concat(o)}}return{type:"path",ops:[]}}function T(t,e,s){const n=Math.sqrt(2*Math.PI*Math.sqrt((Math.pow(t/2,2)+Math.pow(e/2,2))/2)),o=Math.ceil(Math.max(s.curveStepCount,s.curveStepCount/Math.sqrt(200)*n)),a=2*Math.PI/o;let h=Math.abs(t/2),r=Math.abs(e/2);const i=1-s.curveFitting;return h+=G(h*i,s),r+=G(r*i,s),{increment:a,rx:h,ry:r}}function D(t,e,s,n){const[o,a]=F(n.increment,t,e,n.rx,n.ry,1,n.increment*E(.1,E(.4,1,s),s),s);let h=q(o,null,s);if(!s.disableMultiStroke&&0!==s.roughness){const[o]=F(n.increment,t,e,n.rx,n.ry,1.5,0,s),a=q(o,null,s);h=h.concat(a)}return{estimatedPoints:a,opset:{type:"path",ops:h}}}function A(t,e,s,n,o,a,h,r,i){const c=t,l=e;let u=Math.abs(s/2),p=Math.abs(n/2);u+=G(.01*u,i),p+=G(.01*p,i);let f=o,d=a;for(;f<0;)f+=2*Math.PI,d+=2*Math.PI;d-f>2*Math.PI&&(f=0,d=2*Math.PI);const g=2*Math.PI/i.curveStepCount,M=Math.min(g/2,(d-f)/2),k=V(M,c,l,u,p,f,d,1,i);if(!i.disableMultiStroke){const t=V(M,c,l,u,p,f,d,1.5,i);k.push(...t)}return h&&(r?k.push(...$(c,l,c+u*Math.cos(f),l+p*Math.sin(f),i),...$(c,l,c+u*Math.cos(d),l+p*Math.sin(d),i)):k.push({op:"lineTo",data:[c,l]},{op:"lineTo",data:[c+u*Math.cos(f),l+p*Math.sin(f)]})),{type:"path",ops:k}}function _(t,e){const s=m(y(b(t))),n=[];let o=[0,0],a=[0,0];for(const{key:t,data:h}of s)switch(t){case"M":a=[h[0],h[1]],o=[h[0],h[1]];break;case"L":n.push(...$(a[0],a[1],h[0],h[1],e)),a=[h[0],h[1]];break;case"C":{const[t,s,o,r,i,c]=h;n.push(...Z(t,s,o,r,i,c,a,e)),a=[i,c];break}case"Z":n.push(...$(a[0],a[1],o[0],o[1],e)),a=[o[0],o[1]]}return{type:"path",ops:n}}function I(t,e){const s=[];for(const n of t)if(n.length){const t=e.maxRandomnessOffset||0,o=n.length;if(o>2){s.push({op:"move",data:[n[0][0]+G(t,e),n[0][1]+G(t,e)]});for(let a=1;a<o;a++)s.push({op:"lineTo",data:[n[a][0]+G(t,e),n[a][1]+G(t,e)]})}}return{type:"fillPath",ops:s}}function C(t,e){return function(t,e){let s=t.fillStyle||"hachure";if(!u[s])switch(s){case"zigzag":u[s]||(u[s]=new h(e));break;case"cross-hatch":u[s]||(u[s]=new r(e));break;case"dots":u[s]||(u[s]=new i(e));break;case"dashed":u[s]||(u[s]=new c(e));break;case"zigzag-line":u[s]||(u[s]=new l(e));break;default:s="hachure",u[s]||(u[s]=new o(e))}return u[s]}(e,P).fillPolygons(t,e)}function z(t){const e=Object.assign({},t);return e.randomizer=void 0,t.seed&&(e.seed=t.seed+1),e}function W(t){return t.randomizer||(t.randomizer=new p(t.seed||0)),t.randomizer.next()}function E(t,e,s,n=1){return s.roughness*n*(W(s)*(e-t)+t)}function G(t,e,s=1){return E(-t,t,e,s)}function $(t,e,s,n,o,a=!1){const h=a?o.disableMultiStrokeFill:o.disableMultiStroke,r=R(t,e,s,n,o,!0,!1);if(h)return r;const i=R(t,e,s,n,o,!0,!0);return r.concat(i)}function R(t,e,s,n,o,a,h){const r=Math.pow(t-s,2)+Math.pow(e-n,2),i=Math.sqrt(r);let c=1;c=i<200?1:i>500?.4:-.0016668*i+1.233334;let l=o.maxRandomnessOffset||0;l*l*100>r&&(l=i/10);const u=l/2,p=.2+.2*W(o);let f=o.bowing*o.maxRandomnessOffset*(n-e)/200,d=o.bowing*o.maxRandomnessOffset*(t-s)/200;f=G(f,o,c),d=G(d,o,c);const g=[],M=()=>G(u,o,c),k=()=>G(l,o,c),b=o.preserveVertices;return a&&(h?g.push({op:"move",data:[t+(b?0:M()),e+(b?0:M())]}):g.push({op:"move",data:[t+(b?0:G(l,o,c)),e+(b?0:G(l,o,c))]})),h?g.push({op:"bcurveTo",data:[f+t+(s-t)*p+M(),d+e+(n-e)*p+M(),f+t+2*(s-t)*p+M(),d+e+2*(n-e)*p+M(),s+(b?0:M()),n+(b?0:M())]}):g.push({op:"bcurveTo",data:[f+t+(s-t)*p+k(),d+e+(n-e)*p+k(),f+t+2*(s-t)*p+k(),d+e+2*(n-e)*p+k(),s+(b?0:k()),n+(b?0:k())]}),g}function j(t,e,s){if(!t.length)return[];const n=[];n.push([t[0][0]+G(e,s),t[0][1]+G(e,s)]),n.push([t[0][0]+G(e,s),t[0][1]+G(e,s)]);for(let o=1;o<t.length;o++)n.push([t[o][0]+G(e,s),t[o][1]+G(e,s)]),o===t.length-1&&n.push([t[o][0]+G(e,s),t[o][1]+G(e,s)]);return q(n,null,s)}function q(t,e,s){const n=t.length,o=[];if(n>3){const a=[],h=1-s.curveTightness;o.push({op:"move",data:[t[1][0],t[1][1]]});for(let e=1;e+2<n;e++){const s=t[e];a[0]=[s[0],s[1]],a[1]=[s[0]+(h*t[e+1][0]-h*t[e-1][0])/6,s[1]+(h*t[e+1][1]-h*t[e-1][1])/6],a[2]=[t[e+1][0]+(h*t[e][0]-h*t[e+2][0])/6,t[e+1][1]+(h*t[e][1]-h*t[e+2][1])/6],a[3]=[t[e+1][0],t[e+1][1]],o.push({op:"bcurveTo",data:[a[1][0],a[1][1],a[2][0],a[2][1],a[3][0],a[3][1]]})}if(e&&2===e.length){const t=s.maxRandomnessOffset;o.push({op:"lineTo",data:[e[0]+G(t,s),e[1]+G(t,s)]})}}else 3===n?(o.push({op:"move",data:[t[1][0],t[1][1]]}),o.push({op:"bcurveTo",data:[t[1][0],t[1][1],t[2][0],t[2][1],t[2][0],t[2][1]]})):2===n&&o.push(...R(t[0][0],t[0][1],t[1][0],t[1][1],s,!0,!0));return o}function F(t,e,s,n,o,a,h,r){const i=[],c=[];if(0===r.roughness){t/=4,c.push([e+n*Math.cos(-t),s+o*Math.sin(-t)]);for(let a=0;a<=2*Math.PI;a+=t){const t=[e+n*Math.cos(a),s+o*Math.sin(a)];i.push(t),c.push(t)}c.push([e+n*Math.cos(0),s+o*Math.sin(0)]),c.push([e+n*Math.cos(t),s+o*Math.sin(t)])}else{const l=G(.5,r)-Math.PI/2;c.push([G(a,r)+e+.9*n*Math.cos(l-t),G(a,r)+s+.9*o*Math.sin(l-t)]);const u=2*Math.PI+l-.01;for(let h=l;h<u;h+=t){const t=[G(a,r)+e+n*Math.cos(h),G(a,r)+s+o*Math.sin(h)];i.push(t),c.push(t)}c.push([G(a,r)+e+n*Math.cos(l+2*Math.PI+.5*h),G(a,r)+s+o*Math.sin(l+2*Math.PI+.5*h)]),c.push([G(a,r)+e+.98*n*Math.cos(l+h),G(a,r)+s+.98*o*Math.sin(l+h)]),c.push([G(a,r)+e+.9*n*Math.cos(l+.5*h),G(a,r)+s+.9*o*Math.sin(l+.5*h)])}return[c,i]}function V(t,e,s,n,o,a,h,r,i){const c=a+G(.1,i),l=[];l.push([G(r,i)+e+.9*n*Math.cos(c-t),G(r,i)+s+.9*o*Math.sin(c-t)]);for(let a=c;a<=h;a+=t)l.push([G(r,i)+e+n*Math.cos(a),G(r,i)+s+o*Math.sin(a)]);return l.push([e+n*Math.cos(h),s+o*Math.sin(h)]),l.push([e+n*Math.cos(h),s+o*Math.sin(h)]),q(l,null,i)}function Z(t,e,s,n,o,a,h,r){const i=[],c=[r.maxRandomnessOffset||1,(r.maxRandomnessOffset||1)+.3];let l=[0,0];const u=r.disableMultiStroke?1:2,p=r.preserveVertices;for(let f=0;f<u;f++)0===f?i.push({op:"move",data:[h[0],h[1]]}):i.push({op:"move",data:[h[0]+(p?0:G(c[0],r)),h[1]+(p?0:G(c[0],r))]}),l=p?[o,a]:[o+G(c[f],r),a+G(c[f],r)],i.push({op:"bcurveTo",data:[t+G(c[f],r),e+G(c[f],r),s+G(c[f],r),n+G(c[f],r),l[0],l[1]]});return i}function Q(t){return[...t]}function H(t,e=0){const s=t.length;if(s<3)throw new Error("A curve must have at least three points.");const n=[];if(3===s)n.push(Q(t[0]),Q(t[1]),Q(t[2]),Q(t[2]));else{const s=[];s.push(t[0],t[0]);for(let e=1;e<t.length;e++)s.push(t[e]),e===t.length-1&&s.push(t[e]);const o=[],a=1-e;n.push(Q(s[0]));for(let t=1;t+2<s.length;t++){const e=s[t];o[0]=[e[0],e[1]],o[1]=[e[0]+(a*s[t+1][0]-a*s[t-1][0])/6,e[1]+(a*s[t+1][1]-a*s[t-1][1])/6],o[2]=[s[t+1][0]+(a*s[t][0]-a*s[t+2][0])/6,s[t+1][1]+(a*s[t][1]-a*s[t+2][1])/6],o[3]=[s[t+1][0],s[t+1][1]],n.push(o[1],o[2],o[3])}}return n}function N(t,e){return Math.pow(t[0]-e[0],2)+Math.pow(t[1]-e[1],2)}function B(t,e,s){const n=N(e,s);if(0===n)return N(t,e);let o=((t[0]-e[0])*(s[0]-e[0])+(t[1]-e[1])*(s[1]-e[1]))/n;return o=Math.max(0,Math.min(1,o)),N(t,J(e,s,o))}function J(t,e,s){return[t[0]+(e[0]-t[0])*s,t[1]+(e[1]-t[1])*s]}function K(t,e,s,n){const o=n||[];if(function(t,e){const s=t[e+0],n=t[e+1],o=t[e+2],a=t[e+3];let h=3*n[0]-2*s[0]-a[0];h*=h;let r=3*n[1]-2*s[1]-a[1];r*=r;let i=3*o[0]-2*a[0]-s[0];i*=i;let c=3*o[1]-2*a[1]-s[1];return c*=c,h<i&&(h=i),r<c&&(r=c),h+r}(t,e)<s){const s=t[e+0];if(o.length){(a=o[o.length-1],h=s,Math.sqrt(N(a,h)))>1&&o.push(s)}else o.push(s);o.push(t[e+3])}else{const n=.5,a=t[e+0],h=t[e+1],r=t[e+2],i=t[e+3],c=J(a,h,n),l=J(h,r,n),u=J(r,i,n),p=J(c,l,n),f=J(l,u,n),d=J(p,f,n);K([a,c,p,d],0,s,o),K([d,f,u,i],0,s,o)}var a,h;return o}function U(t,e){return X(t,0,t.length,e)}function X(t,e,s,n,o){const a=o||[],h=t[e],r=t[s-1];let i=0,c=1;for(let n=e+1;n<s-1;++n){const e=B(t[n],h,r);e>i&&(i=e,c=n)}return Math.sqrt(i)>n?(X(t,e,c+1,n,a),X(t,c,s,n,a)):(a.length||a.push(h),a.push(r)),a}function Y(t,e=.15,s){const n=[],o=(t.length-1)/3;for(let s=0;s<o;s++){K(t,3*s,e,n)}return s&&s>0?X(n,0,n.length,s):n}const tt="none";class et{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,s){return{shape:t,sets:e||[],options:s||this.defaultOptions}}line(t,e,s,n,o){const a=this._o(o);return this._d("line",[v(t,e,s,n,a)],a)}rectangle(t,e,s,n,o){const a=this._o(o),h=[],r=O(t,e,s,n,a);if(a.fill){const o=[[t,e],[t+s,e],[t+s,e+n],[t,e+n]];"solid"===a.fillStyle?h.push(I([o],a)):h.push(C([o],a))}return a.stroke!==tt&&h.push(r),this._d("rectangle",h,a)}ellipse(t,e,s,n,o){const a=this._o(o),h=[],r=T(s,n,a),i=D(t,e,a,r);if(a.fill)if("solid"===a.fillStyle){const s=D(t,e,a,r).opset;s.type="fillPath",h.push(s)}else h.push(C([i.estimatedPoints],a));return a.stroke!==tt&&h.push(i.opset),this._d("ellipse",h,a)}circle(t,e,s,n){const o=this.ellipse(t,e,s,s,n);return o.shape="circle",o}linearPath(t,e){const s=this._o(e);return this._d("linearPath",[S(t,!1,s)],s)}arc(t,e,s,n,o,a,h=!1,r){const i=this._o(r),c=[],l=A(t,e,s,n,o,a,h,!0,i);if(h&&i.fill)if("solid"===i.fillStyle){const h=Object.assign({},i);h.disableMultiStroke=!0;const r=A(t,e,s,n,o,a,!0,!1,h);r.type="fillPath",c.push(r)}else c.push(function(t,e,s,n,o,a,h){const r=t,i=e;let c=Math.abs(s/2),l=Math.abs(n/2);c+=G(.01*c,h),l+=G(.01*l,h);let u=o,p=a;for(;u<0;)u+=2*Math.PI,p+=2*Math.PI;p-u>2*Math.PI&&(u=0,p=2*Math.PI);const f=(p-u)/h.curveStepCount,d=[];for(let t=u;t<=p;t+=f)d.push([r+c*Math.cos(t),i+l*Math.sin(t)]);return d.push([r+c*Math.cos(p),i+l*Math.sin(p)]),d.push([r,i]),C([d],h)}(t,e,s,n,o,a,i));return i.stroke!==tt&&c.push(l),this._d("arc",c,i)}curve(t,e){const s=this._o(e),n=[],o=L(t,s);if(s.fill&&s.fill!==tt)if("solid"===s.fillStyle){const e=L(t,Object.assign(Object.assign({},s),{disableMultiStroke:!0,roughness:s.roughness?s.roughness+s.fillShapeRoughnessGain:0}));n.push({type:"fillPath",ops:this._mergedShape(e.ops)})}else{const e=[],o=t;if(o.length){const t="number"==typeof o[0][0]?[o]:o;for(const n of t)n.length<3?e.push(...n):3===n.length?e.push(...Y(H([n[0],n[0],n[1],n[2]]),10,(1+s.roughness)/2)):e.push(...Y(H(n),10,(1+s.roughness)/2))}e.length&&n.push(C([e],s))}return s.stroke!==tt&&n.push(o),this._d("curve",n,s)}polygon(t,e){const s=this._o(e),n=[],o=S(t,!0,s);return s.fill&&("solid"===s.fillStyle?n.push(I([t],s)):n.push(C([t],s))),s.stroke!==tt&&n.push(o),this._d("polygon",n,s)}path(t,e){const s=this._o(e),n=[];if(!t)return this._d("path",n,s);t=(t||"").replace(/\n/g," ").replace(/(-\s)/g,"-").replace("/(ss)/g"," ");const o=s.fill&&"transparent"!==s.fill&&s.fill!==tt,a=s.stroke!==tt,h=!!(s.simplification&&s.simplification<1),r=function(t,e,s){const n=m(y(b(t))),o=[];let a=[],h=[0,0],r=[];const i=()=>{r.length>=4&&a.push(...Y(r,e)),r=[]},c=()=>{i(),a.length&&(o.push(a),a=[])};for(const{key:t,data:e}of n)switch(t){case"M":c(),h=[e[0],e[1]],a.push(h);break;case"L":i(),a.push([e[0],e[1]]);break;case"C":if(!r.length){const t=a.length?a[a.length-1]:h;r.push([t[0],t[1]])}r.push([e[0],e[1]]),r.push([e[2],e[3]]),r.push([e[4],e[5]]);break;case"Z":i(),a.push([h[0],h[1]])}if(c(),!s)return o;const l=[];for(const t of o){const e=U(t,s);e.length&&l.push(e)}return l}(t,1,h?4-4*(s.simplification||1):(1+s.roughness)/2),i=_(t,s);if(o)if("solid"===s.fillStyle)if(1===r.length){const e=_(t,Object.assign(Object.assign({},s),{disableMultiStroke:!0,roughness:s.roughness?s.roughness+s.fillShapeRoughnessGain:0}));n.push({type:"fillPath",ops:this._mergedShape(e.ops)})}else n.push(I(r,s));else n.push(C(r,s));return a&&(h?r.forEach((t=>{n.push(S(t,!1,s))})):n.push(i)),this._d("path",n,s)}opsToPath(t,e){let s="";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":s+=`M${t[0]} ${t[1]} `;break;case"bcurveTo":s+=`C${t[0]} ${t[1]}, ${t[2]} ${t[3]}, ${t[4]} ${t[5]} `;break;case"lineTo":s+=`L${t[0]} ${t[1]} `}}return s.trim()}toPaths(t){const e=t.sets||[],s=t.options||this.defaultOptions,n=[];for(const t of e){let e=null;switch(t.type){case"path":e={d:this.opsToPath(t),stroke:s.stroke,strokeWidth:s.strokeWidth,fill:tt};break;case"fillPath":e={d:this.opsToPath(t),stroke:tt,strokeWidth:0,fill:s.fill||tt};break;case"fillSketch":e=this.fillSketch(t,s)}e&&n.push(e)}return n}fillSketch(t,e){let s=e.fillWeight;return s<0&&(s=e.strokeWidth/2),{d:this.opsToPath(t),stroke:e.fill||tt,strokeWidth:s,fill:tt}}_mergedShape(t){return t.filter(((t,e)=>0===e||"move"!==t.op))}}class st{constructor(t,e){this.canvas=t,this.ctx=this.canvas.getContext("2d"),this.gen=new et(e)}draw(t){const e=t.sets||[],s=t.options||this.getDefaultOptions(),n=this.ctx,o=t.options.fixedDecimalPlaceDigits;for(const a of e)switch(a.type){case"path":n.save(),n.strokeStyle="none"===s.stroke?"transparent":s.stroke,n.lineWidth=s.strokeWidth,s.strokeLineDash&&n.setLineDash(s.strokeLineDash),s.strokeLineDashOffset&&(n.lineDashOffset=s.strokeLineDashOffset),this._drawToContext(n,a,o),n.restore();break;case"fillPath":{n.save(),n.fillStyle=s.fill||"";const e="curve"===t.shape||"polygon"===t.shape||"path"===t.shape?"evenodd":"nonzero";this._drawToContext(n,a,o,e),n.restore();break}case"fillSketch":this.fillSketch(n,a,s)}}fillSketch(t,e,s){let n=s.fillWeight;n<0&&(n=s.strokeWidth/2),t.save(),s.fillLineDash&&t.setLineDash(s.fillLineDash),s.fillLineDashOffset&&(t.lineDashOffset=s.fillLineDashOffset),t.strokeStyle=s.fill||"",t.lineWidth=n,this._drawToContext(t,e,s.fixedDecimalPlaceDigits),t.restore()}_drawToContext(t,e,s,n="nonzero"){t.beginPath();for(const n of e.ops){const e="number"==typeof s&&s>=0?n.data.map((t=>+t.toFixed(s))):n.data;switch(n.op){case"move":t.moveTo(e[0],e[1]);break;case"bcurveTo":t.bezierCurveTo(e[0],e[1],e[2],e[3],e[4],e[5]);break;case"lineTo":t.lineTo(e[0],e[1])}}"fillPath"===e.type?t.fill(n):t.stroke()}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}line(t,e,s,n,o){const a=this.gen.line(t,e,s,n,o);return this.draw(a),a}rectangle(t,e,s,n,o){const a=this.gen.rectangle(t,e,s,n,o);return this.draw(a),a}ellipse(t,e,s,n,o){const a=this.gen.ellipse(t,e,s,n,o);return this.draw(a),a}circle(t,e,s,n){const o=this.gen.circle(t,e,s,n);return this.draw(o),o}linearPath(t,e){const s=this.gen.linearPath(t,e);return this.draw(s),s}polygon(t,e){const s=this.gen.polygon(t,e);return this.draw(s),s}arc(t,e,s,n,o,a,h=!1,r){const i=this.gen.arc(t,e,s,n,o,a,h,r);return this.draw(i),i}curve(t,e){const s=this.gen.curve(t,e);return this.draw(s),s}path(t,e){const s=this.gen.path(t,e);return this.draw(s),s}}const nt="http://www.w3.org/2000/svg";class ot{constructor(t,e){this.svg=t,this.gen=new et(e)}draw(t){const e=t.sets||[],s=t.options||this.getDefaultOptions(),n=this.svg.ownerDocument||window.document,o=n.createElementNS(nt,"g"),a=t.options.fixedDecimalPlaceDigits;for(const h of e){let e=null;switch(h.type){case"path":e=n.createElementNS(nt,"path"),e.setAttribute("d",this.opsToPath(h,a)),e.setAttribute("stroke",s.stroke),e.setAttribute("stroke-width",s.strokeWidth+""),e.setAttribute("fill","none"),s.strokeLineDash&&e.setAttribute("stroke-dasharray",s.strokeLineDash.join(" ").trim()),s.strokeLineDashOffset&&e.setAttribute("stroke-dashoffset",`${s.strokeLineDashOffset}`);break;case"fillPath":e=n.createElementNS(nt,"path"),e.setAttribute("d",this.opsToPath(h,a)),e.setAttribute("stroke","none"),e.setAttribute("stroke-width","0"),e.setAttribute("fill",s.fill||""),"curve"!==t.shape&&"polygon"!==t.shape||e.setAttribute("fill-rule","evenodd");break;case"fillSketch":e=this.fillSketch(n,h,s)}e&&o.appendChild(e)}return o}fillSketch(t,e,s){let n=s.fillWeight;n<0&&(n=s.strokeWidth/2);const o=t.createElementNS(nt,"path");return o.setAttribute("d",this.opsToPath(e,s.fixedDecimalPlaceDigits)),o.setAttribute("stroke",s.fill||""),o.setAttribute("stroke-width",n+""),o.setAttribute("fill","none"),s.fillLineDash&&o.setAttribute("stroke-dasharray",s.fillLineDash.join(" ").trim()),s.fillLineDashOffset&&o.setAttribute("stroke-dashoffset",`${s.fillLineDashOffset}`),o}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}opsToPath(t,e){return this.gen.opsToPath(t,e)}line(t,e,s,n,o){const a=this.gen.line(t,e,s,n,o);return this.draw(a)}rectangle(t,e,s,n,o){const a=this.gen.rectangle(t,e,s,n,o);return this.draw(a)}ellipse(t,e,s,n,o){const a=this.gen.ellipse(t,e,s,n,o);return this.draw(a)}circle(t,e,s,n){const o=this.gen.circle(t,e,s,n);return this.draw(o)}linearPath(t,e){const s=this.gen.linearPath(t,e);return this.draw(s)}polygon(t,e){const s=this.gen.polygon(t,e);return this.draw(s)}arc(t,e,s,n,o,a,h=!1,r){const i=this.gen.arc(t,e,s,n,o,a,h,r);return this.draw(i)}curve(t,e){const s=this.gen.curve(t,e);return this.draw(s)}path(t,e){const s=this.gen.path(t,e);return this.draw(s)}}return{canvas:(t,e)=>new st(t,e),svg:(t,e)=>new ot(t,e),generator:t=>new et(t),newSeed:()=>et.newSeed()}}();
@@ -30,7 +30,7 @@ if("1"==urlParams.offline||"1"==urlParams.demo||"1"==urlParams.stealth||"1"==url
"se.diagrams.net"==window.location.hostname&&(urlParams.db="0",urlParams.od="0",urlParams.gh="0",urlParams.gl="0",urlParams.tr="0",urlParams.plugins="0",urlParams.mode="google",urlParams.lockdown="1",window.DRAWIO_GOOGLE_APP_ID=window.DRAWIO_GOOGLE_APP_ID||"184079235871",window.DRAWIO_GOOGLE_CLIENT_ID=window.DRAWIO_GOOGLE_CLIENT_ID||"184079235871-pjf5nn0lff27lk8qf0770gmffiv9gt61.apps.googleusercontent.com");"trello"==urlParams.mode&&(urlParams.tr="1");
"embed.diagrams.net"==window.location.hostname&&(urlParams.embed="1");(null==window.location.hash||1>=window.location.hash.length)&&null!=urlParams.open&&(window.location.hash=urlParams.open);"function"!==typeof window.structuredClone&&(window.structuredClone=function(a){return a});window.urlParams=window.urlParams||{};window.DOM_PURIFY_CONFIG=window.DOM_PURIFY_CONFIG||{ADD_TAGS:["use","foreignObject"],FORBID_TAGS:["form"],ALLOWED_URI_REGEXP:/^((?!javascript:).)*$/i,ADD_ATTR:["target","content","pointer-events","requiredFeatures"]};window.MAX_REQUEST_SIZE=window.MAX_REQUEST_SIZE||10485760;window.MAX_AREA=window.MAX_AREA||225E6;window.EXPORT_URL=window.EXPORT_URL||"/export";window.SAVE_URL=window.SAVE_URL||"/save";window.OPEN_URL=window.OPEN_URL||"/open";
window.RESOURCES_PATH=window.RESOURCES_PATH||"resources";window.RESOURCE_BASE=window.RESOURCE_BASE||window.RESOURCES_PATH+"/grapheditor";window.STENCIL_PATH=window.STENCIL_PATH||"stencils";window.IMAGE_PATH=window.IMAGE_PATH||"images";window.STYLE_PATH=window.STYLE_PATH||"styles";window.CSS_PATH=window.CSS_PATH||"styles";window.OPEN_FORM=window.OPEN_FORM||"open.html";window.mxBasePath=window.mxBasePath||"mxgraph";window.mxImageBasePath=window.mxImageBasePath||"mxgraph/images";
-window.mxLanguage=window.mxLanguage||urlParams.lang;window.mxLanguages=window.mxLanguages||["de","se"];var mxClient={VERSION:"24.8.6",IS_IE:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("MSIE"),IS_IE11:null!=navigator.userAgent&&!!navigator.userAgent.match(/Trident\/7\./),IS_EDGE:null!=navigator.userAgent&&!!navigator.userAgent.match(/Edge\//),IS_EM:"spellcheck"in document.createElement("textarea")&&8==document.documentMode,VML_PREFIX:"v",OFFICE_PREFIX:"o",IS_NS:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Mozilla/")&&0>navigator.userAgent.indexOf("MSIE")&&0>navigator.userAgent.indexOf("Edge/"),
+window.mxLanguage=window.mxLanguage||urlParams.lang;window.mxLanguages=window.mxLanguages||["de","se"];var mxClient={VERSION:"24.8.9",IS_IE:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("MSIE"),IS_IE11:null!=navigator.userAgent&&!!navigator.userAgent.match(/Trident\/7\./),IS_EDGE:null!=navigator.userAgent&&!!navigator.userAgent.match(/Edge\//),IS_EM:"spellcheck"in document.createElement("textarea")&&8==document.documentMode,VML_PREFIX:"v",OFFICE_PREFIX:"o",IS_NS:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Mozilla/")&&0>navigator.userAgent.indexOf("MSIE")&&0>navigator.userAgent.indexOf("Edge/"),
IS_OP:null!=navigator.userAgent&&(0<=navigator.userAgent.indexOf("Opera/")||0<=navigator.userAgent.indexOf("OPR/")),IS_OT:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Presto/")&&0>navigator.userAgent.indexOf("Presto/2.4.")&&0>navigator.userAgent.indexOf("Presto/2.3.")&&0>navigator.userAgent.indexOf("Presto/2.2.")&&0>navigator.userAgent.indexOf("Presto/2.1.")&&0>navigator.userAgent.indexOf("Presto/2.0.")&&0>navigator.userAgent.indexOf("Presto/1."),IS_SF:/Apple Computer, Inc/.test(navigator.vendor),
IS_ANDROID:0<=navigator.appVersion.indexOf("Android"),IS_IOS:/iP(hone|od|ad)/.test(navigator.platform)||navigator.userAgent.match(/Mac/)&&navigator.maxTouchPoints&&2<navigator.maxTouchPoints,IS_WEBVIEW:/((iPhone|iPod|iPad).*AppleWebKit(?!.*Version)|; wv)/i.test(navigator.userAgent),IS_GC:/Google Inc/.test(navigator.vendor),IS_CHROMEAPP:null!=window.chrome&&null!=chrome.app&&null!=chrome.app.runtime,IS_FF:-1<navigator.userAgent.toLowerCase().indexOf("firefox"),IS_MT:0<=navigator.userAgent.indexOf("Firefox/")&&
0>navigator.userAgent.indexOf("Firefox/1.")&&0>navigator.userAgent.indexOf("Firefox/2.")||0<=navigator.userAgent.indexOf("Iceweasel/")&&0>navigator.userAgent.indexOf("Iceweasel/1.")&&0>navigator.userAgent.indexOf("Iceweasel/2.")||0<=navigator.userAgent.indexOf("SeaMonkey/")&&0>navigator.userAgent.indexOf("SeaMonkey/1.")||0<=navigator.userAgent.indexOf("Iceape/")&&0>navigator.userAgent.indexOf("Iceape/1."),IS_SVG:"MICROSOFT INTERNET EXPLORER"!=navigator.appName.toUpperCase(),NO_FO:!document.createElementNS||
@@ -77,57 +77,57 @@ null!=b?b:" ",c=null!=c?c:"",d=null!=d?d:"\n",null!=a.namespaceURI&&a.namespace
0<a.length&&f.push(c+"\x3c!--"+a+"--\x3e"+d);else if(a.nodeType==mxConstants.NODETYPE_TEXT)a=mxUtils.trim(mxUtils.getTextContent(a)),0<a.length&&f.push(c+mxUtils.htmlEntities(a,!1,!1)+d);else if(a.nodeType==mxConstants.NODETYPE_CDATA)a=mxUtils.getTextContent(a),0<a.length&&f.push(c+"<![CDATA["+a+"]]"+d);else{f.push(c+"<"+a.nodeName);g=a.attributes;if(null!=g)for(var k=0;k<g.length;k++){var l=mxUtils.htmlEntities(g[k].value);f.push(" "+g[k].nodeName+'="'+l+'"')}g=a.firstChild;if(null!=g){for(f.push(">"+
d);null!=g;)f.push(mxUtils.getPrettyXml(g,b,c+b,d,e)),g=g.nextSibling;f.push(c+"</"+a.nodeName+">"+d)}else f.push(" />"+d)}return f.join("")},extractTextWithWhitespace:function(a){function b(e){if(1!=e.length||"BR"!=e[0].nodeName&&"\n"!=e[0].innerHTML)for(var f=0;f<e.length;f++){var g=e[f];"BR"==g.nodeName||"\n"==g.innerHTML||(1==e.length||0==f)&&"DIV"==g.nodeName&&"<br>"==g.innerHTML.toLowerCase()?d.push("\n"):(3===g.nodeType||4===g.nodeType?0<g.nodeValue.length&&d.push(g.nodeValue):8!==g.nodeType&&
0<g.childNodes.length&&b(g.childNodes),f<e.length-1&&0<=mxUtils.indexOf(c,e[f+1].nodeName)&&d.push("\n"))}}var c="BLOCKQUOTE DIV H1 H2 H3 H4 H5 H6 OL P PRE TABLE UL".split(" "),d=[];b(a);return d.join("")},replaceTrailingNewlines:function(a,b){for(var c="";0<a.length&&"\n"==a.charAt(a.length-1);)a=a.substring(0,a.length-1),c+=b;return a+c},getNodeValue:function(a){a=a.firstChild;for(var b=[];null!=a;)a.nodeType!=mxConstants.NODETYPE_TEXT&&a.nodeType!=mxConstants.NODETYPE_CDATA||null==a.nodeValue||
-b.push(mxUtils.trim(a.nodeValue)),a=a.nextSibling;return 0<b.length?b.join(""):""},getTextContent:function(a){return mxClient.IS_IE&&void 0!==a.innerText?a.innerText:null!=a?a[void 0===a.textContent?"text":"textContent"]:""},setTextContent:function(a,b){void 0!==a.innerText?a.innerText=b:a[void 0===a.textContent?"text":"textContent"]=b},getInnerHtml:function(){return mxClient.IS_IE?function(a){return null!=a?a.innerHTML:""}:function(a){return null!=a?(new XMLSerializer).serializeToString(a):""}}(),
-getOuterHtml:function(){return mxClient.IS_IE?function(a){if(null!=a){if(null!=a.outerHTML)return a.outerHTML;var b=[];b.push("<"+a.nodeName);var c=a.attributes;if(null!=c)for(var d=0;d<c.length;d++){var e=c[d].value;null!=e&&0<e.length&&(b.push(" "),b.push(c[d].nodeName),b.push('="'),b.push(e),b.push('"'))}0==a.innerHTML.length?b.push("/>"):(b.push(">"),b.push(a.innerHTML),b.push("</"+a.nodeName+">"));return b.join("")}return""}:function(a){return null!=a?(new XMLSerializer).serializeToString(a):
-""}}(),write:function(a,b){b=a.ownerDocument.createTextNode(b);null!=a&&a.appendChild(b);return b},writeln:function(a,b){b=a.ownerDocument.createTextNode(b);null!=a&&(a.appendChild(b),a.appendChild(document.createElement("br")));return b},br:function(a,b){b=b||1;for(var c=null,d=0;d<b;d++)null!=a&&(c=a.ownerDocument.createElement("br"),a.appendChild(c));return c},button:function(a,b,c,d){c=null!=c?c:document;c=c.createElement("button");mxUtils.write(c,a);mxEvent.addListener(c,"click",function(e){b(e)});
-null!=d&&(c.className=d);return c},para:function(a,b){var c=document.createElement("p");mxUtils.write(c,b);null!=a&&a.appendChild(c);return c},addTransparentBackgroundFilter:function(a){a.style.filter+="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+mxClient.imageBasePath+"/transparent.gif', sizingMethod='scale')"},linkAction:function(a,b,c,d,e){return mxUtils.link(a,b,function(){c.execute(d)},e)},linkInvoke:function(a,b,c,d,e,f){return mxUtils.link(a,b,function(){c[d](e)},f)},link:function(a,
-b,c,d){var e=document.createElement("span");e.style.color="blue";e.style.textDecoration="underline";e.style.cursor="pointer";null!=d&&(e.style.paddingLeft=d+"px");mxEvent.addListener(e,"click",c);mxUtils.write(e,b);null!=a&&a.appendChild(e);return e},getDocumentSize:function(){var a=document.body,b=document.documentElement;try{return new mxRectangle(0,0,a.clientWidth||b.clientWidth,Math.max(a.clientHeight||0,b.clientHeight))}catch(c){return new mxRectangle}},fit:function(a,b){b=b||0;var c=mxUtils.getDocumentSize(),
-d=parseInt(a.offsetLeft),e=parseInt(a.offsetWidth),f=mxUtils.getDocumentScrollOrigin(a.ownerDocument),g=f.x;f=f.y;var k=g+c.width-b;d+e>k&&(a.style.left=Math.max(g+b,k-e)+"px");d=parseInt(a.offsetTop);e=parseInt(a.offsetHeight);c=f+c.height-b;d+e>c&&(a.style.top=Math.max(f+b,c-e)+"px")},load:function(a){a=new mxXmlRequest(a,null,"GET",!1);a.send();return a},get:function(a,b,c,d,e,f,g){a=new mxXmlRequest(a,null,"GET");var k=a.setRequestHeaders;g&&(a.setRequestHeaders=function(l,m){k.apply(this,arguments);
-for(var n in g)l.setRequestHeader(n,g[n])});null!=d&&a.setBinary(d);a.send(b,c,e,f);return a},getAll:function(a,b,c){for(var d=a.length,e=[],f=0,g=function(){0==f&&null!=c&&c();f++},k=0;k<a.length;k++)(function(l,m){mxUtils.get(l,function(n){var p=n.getStatus();200>p||299<p?g():(e[m]=n,d--,0==d&&b(e))},g)})(a[k],k);0==d&&b(e)},post:function(a,b,c,d){return(new mxXmlRequest(a,b)).send(c,d)},submit:function(a,b,c,d){return(new mxXmlRequest(a,b)).simulate(c,d)},loadInto:function(a,b,c){mxClient.IS_IE?
-b.onreadystatechange=function(){4==b.readyState&&c()}:b.addEventListener("load",c,!1);b.load(a)},getValue:function(a,b,c){a=null!=a?a[b]:null;null==a&&(a=c);return a},getNumber:function(a,b,c){a=null!=a?a[b]:null;null==a&&(a=c||0);return Number(a)},getColor:function(a,b,c){a=null!=a?a[b]:null;null==a?a=c:a==mxConstants.NONE&&(a=null);return a},isEmptyObject:function(a){for(var b in a)return!1;return!0},clone:function(a,b,c){c=null!=c?c:!1;var d=null;if(null!=a&&"function"==typeof a.constructor)if(a.constructor===
-Element)d=a.cloneNode(null!=c?!c:!1);else{d=new a.constructor;for(var e in a)e!=mxObjectIdentity.FIELD_NAME&&(null==b||0>mxUtils.indexOf(b,e))&&(d[e]=c||"object"!=typeof a[e]?a[e]:mxUtils.clone(a[e]))}return d},equalPoints:function(a,b){if(null==a&&null!=b||null!=a&&null==b||null!=a&&null!=b&&a.length!=b.length)return!1;if(null!=a&&null!=b)for(var c=0;c<a.length;c++)if(null!=a[c]&&null==b[c]||null==a[c]&&null!=b[c]||null!=a[c]&&null!=b[c]&&(a[c].x!=b[c].x||a[c].y!=b[c].y))return!1;return!0},equalEntries:function(a,
-b){var c=0;if(null==a&&null!=b||null!=a&&null==b||null!=a&&null!=b&&a.length!=b.length)return!1;if(null!=a&&null!=b){for(var d in b)c++;for(d in a)if(c--,!(mxUtils.isNaN(a[d])&&mxUtils.isNaN(b[d])||a[d]==b[d]))return!1}return 0==c},removeDuplicates:function(a){for(var b=new mxDictionary,c=[],d=0;d<a.length;d++)b.get(a[d])||(c.push(a[d]),b.put(a[d],!0));return c},isNaN:function(a){return"number"==typeof a&&isNaN(a)},extend:function(a,b){var c=function(){};c.prototype=b.prototype;a.prototype=new c;
-a.prototype.constructor=a},toString:function(a){var b="",c;for(c in a)try{if(null==a[c])b+=c+" = [null]\n";else if("function"==typeof a[c])b+=c+" => [Function]\n";else if("object"==typeof a[c]){var d=mxUtils.getFunctionName(a[c].constructor);b+=c+" => ["+d+"]\n"}else b+=c+" = "+a[c]+"\n"}catch(e){b+=c+"="+e.message}return b},toRadians:function(a){return Math.PI*a/180},toDegree:function(a){return 180*a/Math.PI},arcToCurves:function(a,b,c,d,e,f,g,k,l){k-=a;l-=b;if(0===c||0===d)return E;c=Math.abs(c);
-d=Math.abs(d);var m=-k/2,n=-l/2,p=Math.cos(e*Math.PI/180);E=Math.sin(e*Math.PI/180);e=p*m+E*n;m=-1*E*m+p*n;n=e*e;var r=m*m,q=c*c,t=d*d,u=n/q+r/t;1<u?(c*=Math.sqrt(u),d*=Math.sqrt(u),f=0):(u=1,f===g&&(u=-1),f=u*Math.sqrt((q*t-q*r-t*n)/(q*r+t*n)));n=f*c*m/d;r=-1*f*d*e/c;k=p*n-E*r+k/2;l=E*n+p*r+l/2;q=Math.atan2((m-r)/d,(e-n)/c)-Math.atan2(0,1);f=0<=q?q:2*Math.PI+q;q=Math.atan2((-m-r)/d,(-e-n)/c)-Math.atan2((m-r)/d,(e-n)/c);e=0<=q?q:2*Math.PI+q;0==g&&0<e?e-=2*Math.PI:0!=g&&0>e&&(e+=2*Math.PI);g=2*e/Math.PI;
-g=Math.ceil(0>g?-1*g:g);e/=g;m=8/3*Math.sin(e/4)*Math.sin(e/4)/Math.sin(e/2);n=p*c;p*=d;c*=E;d*=E;var v=Math.cos(f),z=Math.sin(f);r=-m*(n*z+d*v);q=-m*(c*z-p*v);for(var E=[],C=0;C<g;++C){f+=e;v=Math.cos(f);z=Math.sin(f);t=n*v-d*z+k;u=c*v+p*z+l;var F=-m*(n*z+d*v);v=-m*(c*z-p*v);z=6*C;E[z]=Number(r+a);E[z+1]=Number(q+b);E[z+2]=Number(t-F+a);E[z+3]=Number(u-v+b);E[z+4]=Number(t+a);E[z+5]=Number(u+b);r=t+F;q=u+v}return E},getBoundingBox:function(a,b,c){var d=null;if(null!=a&&null!=b&&0!=b){b=mxUtils.toRadians(b);
-d=Math.cos(b);var e=Math.sin(b);c=null!=c?c:new mxPoint(a.x+a.width/2,a.y+a.height/2);var f=new mxPoint(a.x,a.y);b=new mxPoint(a.x+a.width,a.y);var g=new mxPoint(b.x,a.y+a.height);a=new mxPoint(a.x,g.y);f=mxUtils.getRotatedPoint(f,d,e,c);b=mxUtils.getRotatedPoint(b,d,e,c);g=mxUtils.getRotatedPoint(g,d,e,c);a=mxUtils.getRotatedPoint(a,d,e,c);d=new mxRectangle(f.x,f.y,0,0);d.add(new mxRectangle(b.x,b.y,0,0));d.add(new mxRectangle(g.x,g.y,0,0));d.add(new mxRectangle(a.x,a.y,0,0))}return d},getRotatedPoint:function(a,
-b,c,d){d=null!=d?d:new mxPoint;var e=a.x-d.x;a=a.y-d.y;return new mxPoint(e*b-a*c+d.x,a*b+e*c+d.y)},getPortConstraints:function(a,b,c,d){b=mxUtils.getValue(a.style,mxConstants.STYLE_PORT_CONSTRAINT,mxUtils.getValue(b.style,c?mxConstants.STYLE_SOURCE_PORT_CONSTRAINT:mxConstants.STYLE_TARGET_PORT_CONSTRAINT,null));if(null==b)return d;d=b.toString();b=mxConstants.DIRECTION_MASK_NONE;c=0;1==mxUtils.getValue(a.style,mxConstants.STYLE_PORT_CONSTRAINT_ROTATION,0)&&(c=mxUtils.getValue(a.style,mxConstants.STYLE_ROTATION,
-0));a=0;45<c?(a=1,135<=c&&(a=2)):-45>c&&(a=3,-135>=c&&(a=2));if(0<=d.indexOf(mxConstants.DIRECTION_NORTH))switch(a){case 0:b|=mxConstants.DIRECTION_MASK_NORTH;break;case 1:b|=mxConstants.DIRECTION_MASK_EAST;break;case 2:b|=mxConstants.DIRECTION_MASK_SOUTH;break;case 3:b|=mxConstants.DIRECTION_MASK_WEST}if(0<=d.indexOf(mxConstants.DIRECTION_WEST))switch(a){case 0:b|=mxConstants.DIRECTION_MASK_WEST;break;case 1:b|=mxConstants.DIRECTION_MASK_NORTH;break;case 2:b|=mxConstants.DIRECTION_MASK_EAST;break;
-case 3:b|=mxConstants.DIRECTION_MASK_SOUTH}if(0<=d.indexOf(mxConstants.DIRECTION_SOUTH))switch(a){case 0:b|=mxConstants.DIRECTION_MASK_SOUTH;break;case 1:b|=mxConstants.DIRECTION_MASK_WEST;break;case 2:b|=mxConstants.DIRECTION_MASK_NORTH;break;case 3:b|=mxConstants.DIRECTION_MASK_EAST}if(0<=d.indexOf(mxConstants.DIRECTION_EAST))switch(a){case 0:b|=mxConstants.DIRECTION_MASK_EAST;break;case 1:b|=mxConstants.DIRECTION_MASK_SOUTH;break;case 2:b|=mxConstants.DIRECTION_MASK_WEST;break;case 3:b|=mxConstants.DIRECTION_MASK_NORTH}return b},
-reversePortConstraints:function(a){var b=(a&mxConstants.DIRECTION_MASK_WEST)<<3;b|=(a&mxConstants.DIRECTION_MASK_NORTH)<<1;b|=(a&mxConstants.DIRECTION_MASK_SOUTH)>>1;return b|(a&mxConstants.DIRECTION_MASK_EAST)>>3},findNearestSegment:function(a,b,c){var d=-1;if(0<a.absolutePoints.length)for(var e=a.absolutePoints[0],f=null,g=1;g<a.absolutePoints.length;g++){var k=a.absolutePoints[g];e=mxUtils.ptSegDistSq(e.x,e.y,k.x,k.y,b,c);if(null==f||e<f)f=e,d=g-1;e=k}return d},getDirectedBounds:function(a,b,c,
-d,e){var f=mxUtils.getValue(c,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST);d=null!=d?d:mxUtils.getValue(c,mxConstants.STYLE_FLIPH,!1);e=null!=e?e:mxUtils.getValue(c,mxConstants.STYLE_FLIPV,!1);b.x=Math.round(Math.max(0,Math.min(a.width,b.x)));b.y=Math.round(Math.max(0,Math.min(a.height,b.y)));b.width=Math.round(Math.max(0,Math.min(a.width,b.width)));b.height=Math.round(Math.max(0,Math.min(a.height,b.height)));if(e&&(f==mxConstants.DIRECTION_SOUTH||f==mxConstants.DIRECTION_NORTH)||d&&(f==
-mxConstants.DIRECTION_EAST||f==mxConstants.DIRECTION_WEST))c=b.x,b.x=b.width,b.width=c;if(d&&(f==mxConstants.DIRECTION_SOUTH||f==mxConstants.DIRECTION_NORTH)||e&&(f==mxConstants.DIRECTION_EAST||f==mxConstants.DIRECTION_WEST))c=b.y,b.y=b.height,b.height=c;d=mxRectangle.fromRectangle(b);f==mxConstants.DIRECTION_SOUTH?(d.y=b.x,d.x=b.height,d.width=b.y,d.height=b.width):f==mxConstants.DIRECTION_WEST?(d.y=b.height,d.x=b.width,d.width=b.x,d.height=b.y):f==mxConstants.DIRECTION_NORTH&&(d.y=b.width,d.x=b.y,
-d.width=b.height,d.height=b.x);return new mxRectangle(a.x+d.x,a.y+d.y,a.width-d.width-d.x,a.height-d.height-d.y)},getPerimeterPoint:function(a,b,c){for(var d=null,e=0;e<a.length-1;e++){var f=mxUtils.intersection(a[e].x,a[e].y,a[e+1].x,a[e+1].y,b.x,b.y,c.x,c.y);if(null!=f){var g=c.x-f.x,k=c.y-f.y;f={p:f,distSq:k*k+g*g};null!=f&&(null==d||d.distSq>f.distSq)&&(d=f)}}return null!=d?d.p:null},intersectsPoints:function(a,b){for(var c=0;c<b.length-1;c++)if(mxUtils.rectangleIntersectsSegment(a,b[c],b[c+1]))return!0;
-return!1},rectangleIntersectsSegment:function(a,b,c){var d=a.y,e=a.x,f=d+a.height,g=e+a.width;a=b.x;var k=c.x;b.x>c.x&&(a=c.x,k=b.x);k>g&&(k=g);a<e&&(a=e);if(a>k)return!1;e=b.y;g=c.y;var l=c.x-b.x;1E-7<Math.abs(l)&&(c=(c.y-b.y)/l,b=b.y-c*b.x,e=c*a+b,g=c*k+b);e>g&&(b=g,g=e,e=b);g>f&&(g=f);e<d&&(e=d);return e>g?!1:!0},contains:function(a,b,c){return a.x<=b&&a.x+a.width>=b&&a.y<=c&&a.y+a.height>=c},intersects:function(a,b,c){var d=a.width,e=a.height,f=b.width,g=b.height;if(!c&&(0>=f||0>=g||0>=d||0>=
-e))return!1;c=a.x;a=a.y;var k=b.x;b=b.y;f+=k;g+=b;d+=c;e+=a;return(f<k||f>c)&&(g<b||g>a)&&(d<c||d>k)&&(e<a||e>b)},intersectsHotspot:function(a,b,c,d,e,f){d=null!=d?d:1;e=null!=e?e:0;f=null!=f?f:0;if(0<d){var g=a.getCenterX(),k=a.getCenterY(),l=a.width,m=a.height,n=mxUtils.getValue(a.style,mxConstants.STYLE_STARTSIZE)*a.view.scale;0<n&&(mxUtils.getValue(a.style,mxConstants.STYLE_HORIZONTAL,!0)?(k=a.y+n/2,m=n):(g=a.x+n/2,l=n));l=Math.max(e,l*d);m=Math.max(e,m*d);0<f&&(l=Math.min(l,f),m=Math.min(m,f));
-d=new mxRectangle(g-l/2,k-m/2,l,m);g=mxUtils.toRadians(mxUtils.getValue(a.style,mxConstants.STYLE_ROTATION)||0);0!=g&&(e=Math.cos(-g),f=Math.sin(-g),g=new mxPoint(a.getCenterX(),a.getCenterY()),a=mxUtils.getRotatedPoint(new mxPoint(b,c),e,f,g),b=a.x,c=a.y);return mxUtils.contains(d,b,c)}return!0},getOffset:function(a,b){for(var c=0,d=0,e=!1,f=a,g=document.body,k=document.documentElement;null!=f&&f!=g&&f!=k&&!e;){var l=mxUtils.getCurrentStyle(f);null!=l&&(e=e||"fixed"==l.position);f=f.parentNode}b||
-e||(b=mxUtils.getDocumentScrollOrigin(a.ownerDocument),c+=b.x,d+=b.y);a=a.getBoundingClientRect();null!=a&&(c+=a.left,d+=a.top);return new mxPoint(c,d)},getDocumentScrollOrigin:function(a){a=a.defaultView||a.parentWindow;return new mxPoint(null!=a&&void 0!==window.pageXOffset?window.pageXOffset:(document.documentElement||document.body.parentNode||document.body).scrollLeft,null!=a&&void 0!==window.pageYOffset?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop)},
-getScrollOrigin:function(a,b,c){b=null!=b?b:!1;c=null!=c?c:!0;for(var d=null!=a?a.ownerDocument:document,e=d.body,f=d.documentElement,g=new mxPoint,k=!1;null!=a&&a!=e&&a!=f;){isNaN(a.scrollLeft)||isNaN(a.scrollTop)||(g.x+=a.scrollLeft,g.y+=a.scrollTop);var l=mxUtils.getCurrentStyle(a);null!=l&&(k=k||"fixed"==l.position);a=b?a.parentNode:null}!k&&c&&(a=mxUtils.getDocumentScrollOrigin(d),g.x+=a.x,g.y+=a.y);return g},convertPoint:function(a,b,c){var d=mxUtils.getScrollOrigin(a,!1);a=mxUtils.getOffset(a);
-a.x-=d.x;a.y-=d.y;return new mxPoint(b-a.x,c-a.y)},removeJavascriptProtocol:function(a){for(a=null!=a?mxUtils.zapGremlins(a):null;null!=a&&"javascript:"===mxUtils.ltrim(a.toLowerCase()).substring(0,11);)a=a.substring(a.toLowerCase().indexOf(":")+1);return a},zapGremlins:function(a){for(var b=0,c=[],d=0;d<a.length;d++){var e=a.charCodeAt(d);(32<=e||9==e||10==e||13==e)&&65535!=e&&65534!=e||(c.push(a.substring(b,d)),b=d+1)}0<b&&b<a.length&&c.push(a.substring(b));return 0==c.length?a:c.join("")},ltrim:function(a,
-b){return null!=a?a.replace(new RegExp("^["+(b||"\\s|\\0")+"]+","g"),""):null},rtrim:function(a,b){return null!=a?a.replace(new RegExp("["+(b||"\\s|\\0")+"]+$","g"),""):null},trim:function(a,b){return mxUtils.ltrim(mxUtils.rtrim(a,b),b)},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)&&("string"!=typeof a||0>a.toLowerCase().indexOf("0x"))},isInteger:function(a){return String(parseInt(a))===String(a)},mod:function(a,b){return(a%b+b)%b},intersection:function(a,b,c,d,e,f,g,k){var l=(k-
-f)*(c-a)-(g-e)*(d-b);g=((g-e)*(b-f)-(k-f)*(a-e))/l;e=((c-a)*(b-f)-(d-b)*(a-e))/l;return 0<=g&&1>=g&&0<=e&&1>=e?new mxPoint(a+g*(c-a),b+g*(d-b)):null},ptSegDistSq:function(a,b,c,d,e,f){c-=a;d-=b;e-=a;f-=b;0>=e*c+f*d?c=0:(e=c-e,f=d-f,a=e*c+f*d,c=0>=a?0:a*a/(c*c+d*d));e=e*e+f*f-c;0>e&&(e=0);return e},ptLineDist:function(a,b,c,d,e,f){return Math.abs((d-b)*e-(c-a)*f+c*b-d*a)/Math.sqrt((d-b)*(d-b)+(c-a)*(c-a))},relativeCcw:function(a,b,c,d,e,f){c-=a;d-=b;e-=a;f-=b;a=e*d-f*c;0==a&&(a=e*c+f*d,0<a&&(a=(e-
-c)*c+(f-d)*d,0>a&&(a=0)));return 0>a?-1:0<a?1:0},animateChanges:function(a,b){mxEffects.animateChanges.apply(this,arguments)},cascadeOpacity:function(a,b,c){mxEffects.cascadeOpacity.apply(this,arguments)},fadeOut:function(a,b,c,d,e,f){mxEffects.fadeOut.apply(this,arguments)},setOpacity:function(a,b){mxClient.IS_IE&&("undefined"===typeof document.documentMode||9>document.documentMode)?a.style.filter=100<=b?"":"alpha(opacity="+b+")":a.style.opacity=b/100},createElementNs:function(a,b,c){if(null!=a.createElementNS)return a.createElementNS(b,
-c);a=a.createElement(c);null!=namespace&&a.setAttribute("xmlns",b);return a},createImage:function(a){var b=document.createElement("img");b.setAttribute("src",a);b.setAttribute("border","0");return b},sortCells:function(a,b){b=null!=b?b:!0;var c=new mxDictionary;a.sort(function(d,e){var f=c.get(d);null==f&&(f=mxCellPath.create(d).split(mxCellPath.PATH_SEPARATOR),c.put(d,f));d=c.get(e);null==d&&(d=mxCellPath.create(e).split(mxCellPath.PATH_SEPARATOR),c.put(e,d));e=mxCellPath.compare(f,d);return 0==
-e?0:0<e==b?1:-1});return a},getStylename:function(a){return null!=a&&(a=a.split(";")[0],0>a.indexOf("="))?a:""},getStylenames:function(a){var b=[];if(null!=a){a=a.split(";");for(var c=0;c<a.length;c++)0>a[c].indexOf("=")&&b.push(a[c])}return b},indexOfStylename:function(a,b){if(null!=a&&null!=b){a=a.split(";");for(var c=0,d=0;d<a.length;d++){if(a[d]==b)return c;c+=a[d].length+1}}return-1},addStylename:function(a,b){0>mxUtils.indexOfStylename(a,b)&&(null==a?a="":0<a.length&&";"!=a.charAt(a.length-
-1)&&(a+=";"),a+=b);return a},removeStylename:function(a,b){var c=[];if(null!=a){a=a.split(";");for(var d=0;d<a.length;d++)a[d]!=b&&c.push(a[d])}return c.join(";")},removeAllStylenames:function(a){var b=[];if(null!=a){a=a.split(";");for(var c=0;c<a.length;c++)0<=a[c].indexOf("=")&&b.push(a[c])}return b.join(";")},setCellStyles:function(a,b,c,d){if(null!=b&&0<b.length){a.beginUpdate();try{for(var e=0;e<b.length;e++)if(null!=b[e]){var f=mxUtils.setStyle(a.getStyle(b[e]),c,d);a.setStyle(b[e],f)}}finally{a.endUpdate()}}},
-parseHexColor:function(a,b){var c=null;if(null!=a&&7<=a.length&&"#"==a.charAt(0)){c=parseInt(a.substring(1,3),16);var d=parseInt(a.substring(3,5),16),e=parseInt(a.substring(5,7),16);b=null!=b?b:1;7<a.length&&(b=parseInt(a.substring(7,9),16)/255);c={r:c,g:d,b:e,a:b}}return c},hex2rgb:function(a){var b=mxUtils.parseHexColor(a);null!=b&&(a="rgb("+b.r+", "+b.g+", "+b.b+")");return a},hex2rgba:function(a,b){b=mxUtils.parseHexColor(a,b);null!=b&&(a="rgba("+b.r+", "+b.g+", "+b.b+", "+b.a+")");return a},
-rgba2hex:function(a){return(rgb=a&&a.match?a.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i):a)&&4===rgb.length?"#"+("0"+parseInt(rgb[1],10).toString(16)).slice(-2)+("0"+parseInt(rgb[2],10).toString(16)).slice(-2)+("0"+parseInt(rgb[3],10).toString(16)).slice(-2):a},setStyle:function(a,b,c){var d=null!=c&&("undefined"==typeof c.length||0<c.length);if(null==a||0==a.length)d&&(a=b+"="+c+";");else if(a.substring(0,b.length+1)==b+"="){var e=a.indexOf(";");a=d?b+"="+c+(0>e?
-";":a.substring(e)):0>e||e==a.length-1?"":a.substring(e+1)}else{var f=a.indexOf(";"+b+"=");0>f?d&&(d=";"==a.charAt(a.length-1)?"":";",a=a+d+b+"="+c+";"):(e=a.indexOf(";",f+1),a=d?a.substring(0,f+1)+b+"="+c+(0>e?";":a.substring(e)):a.substring(0,f)+(0>e?";":a.substring(e)))}return a},setCellStyleFlags:function(a,b,c,d,e){if(null!=b&&0<b.length){a.beginUpdate();try{for(var f=0;f<b.length;f++)if(null!=b[f]){var g=mxUtils.setStyleFlag(a.getStyle(b[f]),c,d,e);a.setStyle(b[f],g)}}finally{a.endUpdate()}}},
-setStyleFlag:function(a,b,c,d){if(null==a||0==a.length)a=d||null==d?b+"="+c:b+"=0";else{var e=a.indexOf(b+"=");if(0>e)e=";"==a.charAt(a.length-1)?"":";",a=d||null==d?a+e+b+"="+c:a+e+b+"=0";else{var f=a.indexOf(";",e),g=0>f?a.substring(e+b.length+1):a.substring(e+b.length+1,f);g=null==d?parseInt(g)^c:d?parseInt(g)|c:parseInt(g)&~c;a=a.substring(0,e)+b+"="+g+(0<=f?a.substring(f):"")}}return a},getAlignmentAsPoint:function(a,b){var c=-.5,d=-.5;a==mxConstants.ALIGN_LEFT?c=0:a==mxConstants.ALIGN_RIGHT&&
-(c=-1);b==mxConstants.ALIGN_TOP?d=0:b==mxConstants.ALIGN_BOTTOM&&(d=-1);return new mxPoint(c,d)},getSizeForString:function(a,b,c,d,e){b=null!=b?b:mxConstants.DEFAULT_FONTSIZE;c=null!=c?c:mxConstants.DEFAULT_FONTFAMILY;var f=document.createElement("div");f.style.fontFamily=c;f.style.fontSize=Math.round(b)+"px";f.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?b*mxConstants.LINE_HEIGHT+"px":mxConstants.LINE_HEIGHT*mxSvgCanvas2D.prototype.lineHeightCorrection;null!=e&&((e&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD&&
-(f.style.fontWeight="bold"),(e&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC&&(f.style.fontStyle="italic"),b=[],(e&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&b.push("underline"),(e&mxConstants.FONT_STRIKETHROUGH)==mxConstants.FONT_STRIKETHROUGH&&b.push("line-through"),0<b.length&&(f.style.textDecoration=b.join(" ")));f.style.position="absolute";f.style.visibility="hidden";f.style.display="inline-block";f.style.zoom="1";null!=d?(f.style.width=d+"px",f.style.whiteSpace="normal"):f.style.whiteSpace=
-"nowrap";f.innerHTML=a;document.body.appendChild(f);a=new mxRectangle(0,0,f.offsetWidth,f.offsetHeight);document.body.removeChild(f);return a},getViewXml:function(a,b,c,d,e){d=null!=d?d:0;e=null!=e?e:0;b=null!=b?b:1;null==c&&(c=[a.getModel().getRoot()]);var f=a.getView(),g=null,k=f.isEventsEnabled();f.setEventsEnabled(!1);var l=f.drawPane,m=f.overlayPane;a.dialect==mxConstants.DIALECT_SVG?(f.drawPane=document.createElementNS(mxConstants.NS_SVG,"g"),f.canvas.appendChild(f.drawPane),f.overlayPane=document.createElementNS(mxConstants.NS_SVG,
-"g")):(f.drawPane=f.drawPane.cloneNode(!1),f.canvas.appendChild(f.drawPane),f.overlayPane=f.overlayPane.cloneNode(!1));f.canvas.appendChild(f.overlayPane);var n=f.getTranslate();f.translate=new mxPoint(d,e);b=new mxTemporaryCellStates(a.getView(),b,c);try{g=(new mxCodec).encode(a.getView())}finally{b.destroy(),f.translate=n,f.canvas.removeChild(f.drawPane),f.canvas.removeChild(f.overlayPane),f.drawPane=l,f.overlayPane=m,f.setEventsEnabled(k)}return g},getScaleForPageCount:function(a,b,c,d){if(1>a)return 1;
-c=null!=c?c:mxConstants.PAGE_FORMAT_A4_PORTRAIT;d=null!=d?d:0;var e=c.width-2*d;c=c.height-2*d;d=mxRectangle.fromRectangle(b.getGraphBounds());b=b.getView().getScale();d.width/=b;d.height/=b;b=d.width;var f=Math.sqrt(a);d=Math.sqrt(b/d.height/(e/c));c=f*d;d=f/d;if(1>c&&d>a){var g=d/a;d=a;c/=g}1>d&&c>a&&(g=c/a,c=a,d/=g);g=Math.ceil(c)*Math.ceil(d);for(f=0;g>a;){g=Math.floor(c)/c;var k=Math.floor(d)/d;1==g&&(g=Math.floor(c-1)/c);1==k&&(k=Math.floor(d-1)/d);g=g>k?g:k;c*=g;d*=g;g=Math.ceil(c)*Math.ceil(d);
-f++;if(10<f)break}return e*c/b*.99999},show:function(a,b,c,d,e,f){c=null!=c?c:0;d=null!=d?d:0;null==b?b=window.open().document:b.open();9==document.documentMode&&b.writeln('\x3c!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=9"><![endif]--\x3e');var g=a.getGraphBounds(),k=Math.ceil(c-g.x),l=Math.ceil(d-g.y);null==e&&(e=Math.ceil(g.width+c)+Math.ceil(Math.ceil(g.x)-g.x));null==f&&(f=Math.ceil(g.height+d)+Math.ceil(Math.ceil(g.y)-g.y));if(mxClient.IS_IE||11==document.documentMode){d="<html><head>";
-g=document.getElementsByTagName("base");for(c=0;c<g.length;c++)d+=g[c].outerHTML;d+="<style>";for(c=0;c<document.styleSheets.length;c++)try{d+=document.styleSheets[c].cssText}catch(m){}d=d+'</style></head><body style="margin:0px;"><div style="position:absolute;overflow:hidden;width:'+(e+"px;height:"+f+'px;"><div style="position:relative;left:'+k+"px;top:"+l+'px;">')+a.container.innerHTML;b.writeln(d+"</div></div></body><html>");b.close()}else{b.writeln("<html><head>");g=document.getElementsByTagName("base");
-for(c=0;c<g.length;c++)b.writeln(mxUtils.getOuterHtml(g[c]));d=document.getElementsByTagName("link");for(c=0;c<d.length;c++)b.writeln(mxUtils.getOuterHtml(d[c]));d=document.getElementsByTagName("style");for(c=0;c<d.length;c++)b.writeln(mxUtils.getOuterHtml(d[c]));b.writeln('</head><body style="margin:0px;"></body></html>');b.close();c=b.createElement("div");c.position="absolute";c.overflow="hidden";c.style.width=e+"px";c.style.height=f+"px";e=b.createElement("div");e.style.position="absolute";e.style.left=
-k+"px";e.style.top=l+"px";f=a.container.firstChild;for(d=null;null!=f;)g=f.cloneNode(!0),f==a.view.drawPane.ownerSVGElement?(c.appendChild(g),d=g):e.appendChild(g),f=f.nextSibling;b.body.appendChild(c);null!=e.firstChild&&b.body.appendChild(e);null!=d&&(d.style.minWidth="",d.style.minHeight="",d.firstChild.setAttribute("transform","translate("+k+","+l+")"))}mxUtils.removeCursors(b.body);return b},printScreen:function(a){var b=window.open();mxUtils.show(a,b.document);a=function(){b.focus();b.print();
-b.close()};mxClient.IS_GC?b.setTimeout(a,500):a()},popup:function(a,b){if(b){var c=document.createElement("div");c.style.overflow="scroll";c.style.width="636px";c.style.height="460px";b=document.createElement("pre");b.innerHTML=mxUtils.htmlEntities(a,!1).replace(/\n/g,"<br>").replace(/ /g,"&nbsp;");c.appendChild(b);c=new mxWindow("Popup Window",c,document.body.clientWidth/2-320,Math.max(document.body.clientHeight||0,document.documentElement.clientHeight)/2-240,640,480,!1,!0);c.setClosable(!0);c.setVisible(!0)}else mxClient.IS_NS?
-(c=window.open(),c.document.writeln("<pre>"+mxUtils.htmlEntities(a)+"</pre"),c.document.close()):(c=window.open(),b=c.document.createElement("pre"),b.innerHTML=mxUtils.htmlEntities(a,!1).replace(/\n/g,"<br>").replace(/ /g,"&nbsp;"),c.document.body.appendChild(b))},alert:function(a){alert(a)},prompt:function(a,b){return prompt(a,null!=b?b:"")},confirm:function(a){return confirm(a)},error:function(a,b,c,d){var e=document.createElement("div");e.style.padding="20px";var f=document.createElement("img");
-f.setAttribute("src",d||mxUtils.errorImage);f.setAttribute("valign","bottom");f.style.verticalAlign="middle";e.appendChild(f);e.appendChild(document.createTextNode(" "));e.appendChild(document.createTextNode(" "));e.appendChild(document.createTextNode(" "));mxUtils.write(e,a);a=document.body.clientWidth;d=document.body.clientHeight||document.documentElement.clientHeight;var g=new mxWindow(mxResources.get(mxUtils.errorResource)||mxUtils.errorResource,e,(a-b)/2,d/4,b,null,!1,!0);c&&(mxUtils.br(e),b=
-document.createElement("p"),c=document.createElement("button"),mxClient.IS_IE?c.style.cssText="float:right":c.setAttribute("style","float:right"),mxEvent.addListener(c,"click",function(k){g.destroy()}),mxUtils.write(c,mxResources.get(mxUtils.closeResource)||mxUtils.closeResource),b.appendChild(c),e.appendChild(b),mxUtils.br(e),g.setClosable(!0));g.setVisible(!0);return g},makeDraggable:function(a,b,c,d,e,f,g,k,l,m){a=new mxDragSource(a,c);a.dragOffset=new mxPoint(null!=e?e:0,null!=f?f:mxConstants.TOOLTIP_VERTICAL_OFFSET);
-a.autoscroll=g;a.setGuidesEnabled(!1);null!=l&&(a.highlightDropTargets=l);null!=m&&(a.getDropTarget=m);a.getGraphForEvent=function(n){return"function"==typeof b?b(n):b};null!=d&&(a.createDragElement=function(){return d.cloneNode(!0)},k&&(a.createPreviewElement=function(n){var p=d.cloneNode(!0),r=parseInt(p.style.width),q=parseInt(p.style.height);p.style.width=Math.round(r*n.view.scale)+"px";p.style.height=Math.round(q*n.view.scale)+"px";return p}));return a},format:function(a){return parseFloat(parseFloat(a).toFixed(2))}},
+b.push(mxUtils.trim(a.nodeValue)),a=a.nextSibling;return 0<b.length?b.join(""):""},getTextContent:function(a){return null!=a?a[void 0===a.textContent?"text":"textContent"]:""},setTextContent:function(a,b){void 0!==a.innerText?a.innerText=b:a[void 0===a.textContent?"text":"textContent"]=b},getInnerHtml:function(){return mxClient.IS_IE?function(a){return null!=a?a.innerHTML:""}:function(a){return null!=a?(new XMLSerializer).serializeToString(a):""}}(),getOuterHtml:function(){return mxClient.IS_IE?function(a){if(null!=
+a){if(null!=a.outerHTML)return a.outerHTML;var b=[];b.push("<"+a.nodeName);var c=a.attributes;if(null!=c)for(var d=0;d<c.length;d++){var e=c[d].value;null!=e&&0<e.length&&(b.push(" "),b.push(c[d].nodeName),b.push('="'),b.push(e),b.push('"'))}0==a.innerHTML.length?b.push("/>"):(b.push(">"),b.push(a.innerHTML),b.push("</"+a.nodeName+">"));return b.join("")}return""}:function(a){return null!=a?(new XMLSerializer).serializeToString(a):""}}(),write:function(a,b){b=a.ownerDocument.createTextNode(b);null!=
+a&&a.appendChild(b);return b},writeln:function(a,b){b=a.ownerDocument.createTextNode(b);null!=a&&(a.appendChild(b),a.appendChild(document.createElement("br")));return b},br:function(a,b){b=b||1;for(var c=null,d=0;d<b;d++)null!=a&&(c=a.ownerDocument.createElement("br"),a.appendChild(c));return c},button:function(a,b,c,d){c=null!=c?c:document;c=c.createElement("button");mxUtils.write(c,a);mxEvent.addListener(c,"click",function(e){b(e)});null!=d&&(c.className=d);return c},para:function(a,b){var c=document.createElement("p");
+mxUtils.write(c,b);null!=a&&a.appendChild(c);return c},addTransparentBackgroundFilter:function(a){a.style.filter+="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+mxClient.imageBasePath+"/transparent.gif', sizingMethod='scale')"},linkAction:function(a,b,c,d,e){return mxUtils.link(a,b,function(){c.execute(d)},e)},linkInvoke:function(a,b,c,d,e,f){return mxUtils.link(a,b,function(){c[d](e)},f)},link:function(a,b,c,d){var e=document.createElement("span");e.style.color="blue";e.style.textDecoration=
+"underline";e.style.cursor="pointer";null!=d&&(e.style.paddingLeft=d+"px");mxEvent.addListener(e,"click",c);mxUtils.write(e,b);null!=a&&a.appendChild(e);return e},getDocumentSize:function(){var a=document.body,b=document.documentElement;try{return new mxRectangle(0,0,a.clientWidth||b.clientWidth,Math.max(a.clientHeight||0,b.clientHeight))}catch(c){return new mxRectangle}},fit:function(a,b){b=b||0;var c=mxUtils.getDocumentSize(),d=parseInt(a.offsetLeft),e=parseInt(a.offsetWidth),f=mxUtils.getDocumentScrollOrigin(a.ownerDocument),
+g=f.x;f=f.y;var k=g+c.width-b;d+e>k&&(a.style.left=Math.max(g+b,k-e)+"px");d=parseInt(a.offsetTop);e=parseInt(a.offsetHeight);c=f+c.height-b;d+e>c&&(a.style.top=Math.max(f+b,c-e)+"px")},load:function(a){a=new mxXmlRequest(a,null,"GET",!1);a.send();return a},get:function(a,b,c,d,e,f,g){a=new mxXmlRequest(a,null,"GET");var k=a.setRequestHeaders;g&&(a.setRequestHeaders=function(l,m){k.apply(this,arguments);for(var n in g)l.setRequestHeader(n,g[n])});null!=d&&a.setBinary(d);a.send(b,c,e,f);return a},
+getAll:function(a,b,c){for(var d=a.length,e=[],f=0,g=function(){0==f&&null!=c&&c();f++},k=0;k<a.length;k++)(function(l,m){mxUtils.get(l,function(n){var p=n.getStatus();200>p||299<p?g():(e[m]=n,d--,0==d&&b(e))},g)})(a[k],k);0==d&&b(e)},post:function(a,b,c,d){return(new mxXmlRequest(a,b)).send(c,d)},submit:function(a,b,c,d){return(new mxXmlRequest(a,b)).simulate(c,d)},loadInto:function(a,b,c){mxClient.IS_IE?b.onreadystatechange=function(){4==b.readyState&&c()}:b.addEventListener("load",c,!1);b.load(a)},
+getValue:function(a,b,c){a=null!=a?a[b]:null;null==a&&(a=c);return a},getNumber:function(a,b,c){a=null!=a?a[b]:null;null==a&&(a=c||0);return Number(a)},getColor:function(a,b,c){a=null!=a?a[b]:null;null==a?a=c:a==mxConstants.NONE&&(a=null);return a},isEmptyObject:function(a){for(var b in a)return!1;return!0},clone:function(a,b,c){c=null!=c?c:!1;var d=null;if(null!=a&&"function"==typeof a.constructor)if(a.constructor===Element)d=a.cloneNode(null!=c?!c:!1);else{d=new a.constructor;for(var e in a)e!=
+mxObjectIdentity.FIELD_NAME&&(null==b||0>mxUtils.indexOf(b,e))&&(d[e]=c||"object"!=typeof a[e]?a[e]:mxUtils.clone(a[e]))}return d},equalPoints:function(a,b){if(null==a&&null!=b||null!=a&&null==b||null!=a&&null!=b&&a.length!=b.length)return!1;if(null!=a&&null!=b)for(var c=0;c<a.length;c++)if(null!=a[c]&&null==b[c]||null==a[c]&&null!=b[c]||null!=a[c]&&null!=b[c]&&(a[c].x!=b[c].x||a[c].y!=b[c].y))return!1;return!0},equalEntries:function(a,b){var c=0;if(null==a&&null!=b||null!=a&&null==b||null!=a&&null!=
+b&&a.length!=b.length)return!1;if(null!=a&&null!=b){for(var d in b)c++;for(d in a)if(c--,!(mxUtils.isNaN(a[d])&&mxUtils.isNaN(b[d])||a[d]==b[d]))return!1}return 0==c},removeDuplicates:function(a){for(var b=new mxDictionary,c=[],d=0;d<a.length;d++)b.get(a[d])||(c.push(a[d]),b.put(a[d],!0));return c},isNaN:function(a){return"number"==typeof a&&isNaN(a)},extend:function(a,b){var c=function(){};c.prototype=b.prototype;a.prototype=new c;a.prototype.constructor=a},toString:function(a){var b="",c;for(c in a)try{if(null==
+a[c])b+=c+" = [null]\n";else if("function"==typeof a[c])b+=c+" => [Function]\n";else if("object"==typeof a[c]){var d=mxUtils.getFunctionName(a[c].constructor);b+=c+" => ["+d+"]\n"}else b+=c+" = "+a[c]+"\n"}catch(e){b+=c+"="+e.message}return b},toRadians:function(a){return Math.PI*a/180},toDegree:function(a){return 180*a/Math.PI},arcToCurves:function(a,b,c,d,e,f,g,k,l){k-=a;l-=b;if(0===c||0===d)return E;c=Math.abs(c);d=Math.abs(d);var m=-k/2,n=-l/2,p=Math.cos(e*Math.PI/180);E=Math.sin(e*Math.PI/180);
+e=p*m+E*n;m=-1*E*m+p*n;n=e*e;var r=m*m,q=c*c,t=d*d,u=n/q+r/t;1<u?(c*=Math.sqrt(u),d*=Math.sqrt(u),f=0):(u=1,f===g&&(u=-1),f=u*Math.sqrt((q*t-q*r-t*n)/(q*r+t*n)));n=f*c*m/d;r=-1*f*d*e/c;k=p*n-E*r+k/2;l=E*n+p*r+l/2;q=Math.atan2((m-r)/d,(e-n)/c)-Math.atan2(0,1);f=0<=q?q:2*Math.PI+q;q=Math.atan2((-m-r)/d,(-e-n)/c)-Math.atan2((m-r)/d,(e-n)/c);e=0<=q?q:2*Math.PI+q;0==g&&0<e?e-=2*Math.PI:0!=g&&0>e&&(e+=2*Math.PI);g=2*e/Math.PI;g=Math.ceil(0>g?-1*g:g);e/=g;m=8/3*Math.sin(e/4)*Math.sin(e/4)/Math.sin(e/2);
+n=p*c;p*=d;c*=E;d*=E;var v=Math.cos(f),z=Math.sin(f);r=-m*(n*z+d*v);q=-m*(c*z-p*v);for(var E=[],C=0;C<g;++C){f+=e;v=Math.cos(f);z=Math.sin(f);t=n*v-d*z+k;u=c*v+p*z+l;var F=-m*(n*z+d*v);v=-m*(c*z-p*v);z=6*C;E[z]=Number(r+a);E[z+1]=Number(q+b);E[z+2]=Number(t-F+a);E[z+3]=Number(u-v+b);E[z+4]=Number(t+a);E[z+5]=Number(u+b);r=t+F;q=u+v}return E},getBoundingBox:function(a,b,c){var d=null;if(null!=a&&null!=b&&0!=b){b=mxUtils.toRadians(b);d=Math.cos(b);var e=Math.sin(b);c=null!=c?c:new mxPoint(a.x+a.width/
+2,a.y+a.height/2);var f=new mxPoint(a.x,a.y);b=new mxPoint(a.x+a.width,a.y);var g=new mxPoint(b.x,a.y+a.height);a=new mxPoint(a.x,g.y);f=mxUtils.getRotatedPoint(f,d,e,c);b=mxUtils.getRotatedPoint(b,d,e,c);g=mxUtils.getRotatedPoint(g,d,e,c);a=mxUtils.getRotatedPoint(a,d,e,c);d=new mxRectangle(f.x,f.y,0,0);d.add(new mxRectangle(b.x,b.y,0,0));d.add(new mxRectangle(g.x,g.y,0,0));d.add(new mxRectangle(a.x,a.y,0,0))}return d},getRotatedPoint:function(a,b,c,d){d=null!=d?d:new mxPoint;var e=a.x-d.x;a=a.y-
+d.y;return new mxPoint(e*b-a*c+d.x,a*b+e*c+d.y)},getPortConstraints:function(a,b,c,d){b=mxUtils.getValue(a.style,mxConstants.STYLE_PORT_CONSTRAINT,mxUtils.getValue(b.style,c?mxConstants.STYLE_SOURCE_PORT_CONSTRAINT:mxConstants.STYLE_TARGET_PORT_CONSTRAINT,null));if(null==b)return d;d=b.toString();b=mxConstants.DIRECTION_MASK_NONE;c=0;1==mxUtils.getValue(a.style,mxConstants.STYLE_PORT_CONSTRAINT_ROTATION,0)&&(c=mxUtils.getValue(a.style,mxConstants.STYLE_ROTATION,0));a=0;45<c?(a=1,135<=c&&(a=2)):-45>
+c&&(a=3,-135>=c&&(a=2));if(0<=d.indexOf(mxConstants.DIRECTION_NORTH))switch(a){case 0:b|=mxConstants.DIRECTION_MASK_NORTH;break;case 1:b|=mxConstants.DIRECTION_MASK_EAST;break;case 2:b|=mxConstants.DIRECTION_MASK_SOUTH;break;case 3:b|=mxConstants.DIRECTION_MASK_WEST}if(0<=d.indexOf(mxConstants.DIRECTION_WEST))switch(a){case 0:b|=mxConstants.DIRECTION_MASK_WEST;break;case 1:b|=mxConstants.DIRECTION_MASK_NORTH;break;case 2:b|=mxConstants.DIRECTION_MASK_EAST;break;case 3:b|=mxConstants.DIRECTION_MASK_SOUTH}if(0<=
+d.indexOf(mxConstants.DIRECTION_SOUTH))switch(a){case 0:b|=mxConstants.DIRECTION_MASK_SOUTH;break;case 1:b|=mxConstants.DIRECTION_MASK_WEST;break;case 2:b|=mxConstants.DIRECTION_MASK_NORTH;break;case 3:b|=mxConstants.DIRECTION_MASK_EAST}if(0<=d.indexOf(mxConstants.DIRECTION_EAST))switch(a){case 0:b|=mxConstants.DIRECTION_MASK_EAST;break;case 1:b|=mxConstants.DIRECTION_MASK_SOUTH;break;case 2:b|=mxConstants.DIRECTION_MASK_WEST;break;case 3:b|=mxConstants.DIRECTION_MASK_NORTH}return b},reversePortConstraints:function(a){var b=
+(a&mxConstants.DIRECTION_MASK_WEST)<<3;b|=(a&mxConstants.DIRECTION_MASK_NORTH)<<1;b|=(a&mxConstants.DIRECTION_MASK_SOUTH)>>1;return b|(a&mxConstants.DIRECTION_MASK_EAST)>>3},findNearestSegment:function(a,b,c){var d=-1;if(0<a.absolutePoints.length)for(var e=a.absolutePoints[0],f=null,g=1;g<a.absolutePoints.length;g++){var k=a.absolutePoints[g];e=mxUtils.ptSegDistSq(e.x,e.y,k.x,k.y,b,c);if(null==f||e<f)f=e,d=g-1;e=k}return d},getDirectedBounds:function(a,b,c,d,e){var f=mxUtils.getValue(c,mxConstants.STYLE_DIRECTION,
+mxConstants.DIRECTION_EAST);d=null!=d?d:mxUtils.getValue(c,mxConstants.STYLE_FLIPH,!1);e=null!=e?e:mxUtils.getValue(c,mxConstants.STYLE_FLIPV,!1);b.x=Math.round(Math.max(0,Math.min(a.width,b.x)));b.y=Math.round(Math.max(0,Math.min(a.height,b.y)));b.width=Math.round(Math.max(0,Math.min(a.width,b.width)));b.height=Math.round(Math.max(0,Math.min(a.height,b.height)));if(e&&(f==mxConstants.DIRECTION_SOUTH||f==mxConstants.DIRECTION_NORTH)||d&&(f==mxConstants.DIRECTION_EAST||f==mxConstants.DIRECTION_WEST))c=
+b.x,b.x=b.width,b.width=c;if(d&&(f==mxConstants.DIRECTION_SOUTH||f==mxConstants.DIRECTION_NORTH)||e&&(f==mxConstants.DIRECTION_EAST||f==mxConstants.DIRECTION_WEST))c=b.y,b.y=b.height,b.height=c;d=mxRectangle.fromRectangle(b);f==mxConstants.DIRECTION_SOUTH?(d.y=b.x,d.x=b.height,d.width=b.y,d.height=b.width):f==mxConstants.DIRECTION_WEST?(d.y=b.height,d.x=b.width,d.width=b.x,d.height=b.y):f==mxConstants.DIRECTION_NORTH&&(d.y=b.width,d.x=b.y,d.width=b.height,d.height=b.x);return new mxRectangle(a.x+
+d.x,a.y+d.y,a.width-d.width-d.x,a.height-d.height-d.y)},getPerimeterPoint:function(a,b,c){for(var d=null,e=0;e<a.length-1;e++){var f=mxUtils.intersection(a[e].x,a[e].y,a[e+1].x,a[e+1].y,b.x,b.y,c.x,c.y);if(null!=f){var g=c.x-f.x,k=c.y-f.y;f={p:f,distSq:k*k+g*g};null!=f&&(null==d||d.distSq>f.distSq)&&(d=f)}}return null!=d?d.p:null},intersectsPoints:function(a,b){for(var c=0;c<b.length-1;c++)if(mxUtils.rectangleIntersectsSegment(a,b[c],b[c+1]))return!0;return!1},rectangleIntersectsSegment:function(a,
+b,c){var d=a.y,e=a.x,f=d+a.height,g=e+a.width;a=b.x;var k=c.x;b.x>c.x&&(a=c.x,k=b.x);k>g&&(k=g);a<e&&(a=e);if(a>k)return!1;e=b.y;g=c.y;var l=c.x-b.x;1E-7<Math.abs(l)&&(c=(c.y-b.y)/l,b=b.y-c*b.x,e=c*a+b,g=c*k+b);e>g&&(b=g,g=e,e=b);g>f&&(g=f);e<d&&(e=d);return e>g?!1:!0},contains:function(a,b,c){return a.x<=b&&a.x+a.width>=b&&a.y<=c&&a.y+a.height>=c},intersects:function(a,b,c){var d=a.width,e=a.height,f=b.width,g=b.height;if(!c&&(0>=f||0>=g||0>=d||0>=e))return!1;c=a.x;a=a.y;var k=b.x;b=b.y;f+=k;g+=
+b;d+=c;e+=a;return(f<k||f>c)&&(g<b||g>a)&&(d<c||d>k)&&(e<a||e>b)},intersectsHotspot:function(a,b,c,d,e,f){d=null!=d?d:1;e=null!=e?e:0;f=null!=f?f:0;if(0<d){var g=a.getCenterX(),k=a.getCenterY(),l=a.width,m=a.height,n=mxUtils.getValue(a.style,mxConstants.STYLE_STARTSIZE)*a.view.scale;0<n&&(mxUtils.getValue(a.style,mxConstants.STYLE_HORIZONTAL,!0)?(k=a.y+n/2,m=n):(g=a.x+n/2,l=n));l=Math.max(e,l*d);m=Math.max(e,m*d);0<f&&(l=Math.min(l,f),m=Math.min(m,f));d=new mxRectangle(g-l/2,k-m/2,l,m);g=mxUtils.toRadians(mxUtils.getValue(a.style,
+mxConstants.STYLE_ROTATION)||0);0!=g&&(e=Math.cos(-g),f=Math.sin(-g),g=new mxPoint(a.getCenterX(),a.getCenterY()),a=mxUtils.getRotatedPoint(new mxPoint(b,c),e,f,g),b=a.x,c=a.y);return mxUtils.contains(d,b,c)}return!0},getOffset:function(a,b){for(var c=0,d=0,e=!1,f=a,g=document.body,k=document.documentElement;null!=f&&f!=g&&f!=k&&!e;){var l=mxUtils.getCurrentStyle(f);null!=l&&(e=e||"fixed"==l.position);f=f.parentNode}b||e||(b=mxUtils.getDocumentScrollOrigin(a.ownerDocument),c+=b.x,d+=b.y);a=a.getBoundingClientRect();
+null!=a&&(c+=a.left,d+=a.top);return new mxPoint(c,d)},getDocumentScrollOrigin:function(a){a=a.defaultView||a.parentWindow;return new mxPoint(null!=a&&void 0!==window.pageXOffset?window.pageXOffset:(document.documentElement||document.body.parentNode||document.body).scrollLeft,null!=a&&void 0!==window.pageYOffset?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop)},getScrollOrigin:function(a,b,c){b=null!=b?b:!1;c=null!=c?c:!0;for(var d=null!=a?a.ownerDocument:
+document,e=d.body,f=d.documentElement,g=new mxPoint,k=!1;null!=a&&a!=e&&a!=f;){isNaN(a.scrollLeft)||isNaN(a.scrollTop)||(g.x+=a.scrollLeft,g.y+=a.scrollTop);var l=mxUtils.getCurrentStyle(a);null!=l&&(k=k||"fixed"==l.position);a=b?a.parentNode:null}!k&&c&&(a=mxUtils.getDocumentScrollOrigin(d),g.x+=a.x,g.y+=a.y);return g},convertPoint:function(a,b,c){var d=mxUtils.getScrollOrigin(a,!1);a=mxUtils.getOffset(a);a.x-=d.x;a.y-=d.y;return new mxPoint(b-a.x,c-a.y)},removeJavascriptProtocol:function(a){for(a=
+null!=a?mxUtils.zapGremlins(a):null;null!=a&&"javascript:"===mxUtils.ltrim(a.toLowerCase()).substring(0,11);)a=a.substring(a.toLowerCase().indexOf(":")+1);return a},zapGremlins:function(a){for(var b=0,c=[],d=0;d<a.length;d++){var e=a.charCodeAt(d);(32<=e||9==e||10==e||13==e)&&65535!=e&&65534!=e||(c.push(a.substring(b,d)),b=d+1)}0<b&&b<a.length&&c.push(a.substring(b));return 0==c.length?a:c.join("")},ltrim:function(a,b){return null!=a?a.replace(new RegExp("^["+(b||"\\s|\\0")+"]+","g"),""):null},rtrim:function(a,
+b){return null!=a?a.replace(new RegExp("["+(b||"\\s|\\0")+"]+$","g"),""):null},trim:function(a,b){return mxUtils.ltrim(mxUtils.rtrim(a,b),b)},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)&&("string"!=typeof a||0>a.toLowerCase().indexOf("0x"))},isInteger:function(a){return String(parseInt(a))===String(a)},mod:function(a,b){return(a%b+b)%b},intersection:function(a,b,c,d,e,f,g,k){var l=(k-f)*(c-a)-(g-e)*(d-b);g=((g-e)*(b-f)-(k-f)*(a-e))/l;e=((c-a)*(b-f)-(d-b)*(a-e))/l;return 0<=g&&1>=
+g&&0<=e&&1>=e?new mxPoint(a+g*(c-a),b+g*(d-b)):null},ptSegDistSq:function(a,b,c,d,e,f){c-=a;d-=b;e-=a;f-=b;0>=e*c+f*d?c=0:(e=c-e,f=d-f,a=e*c+f*d,c=0>=a?0:a*a/(c*c+d*d));e=e*e+f*f-c;0>e&&(e=0);return e},ptLineDist:function(a,b,c,d,e,f){return Math.abs((d-b)*e-(c-a)*f+c*b-d*a)/Math.sqrt((d-b)*(d-b)+(c-a)*(c-a))},relativeCcw:function(a,b,c,d,e,f){c-=a;d-=b;e-=a;f-=b;a=e*d-f*c;0==a&&(a=e*c+f*d,0<a&&(a=(e-c)*c+(f-d)*d,0>a&&(a=0)));return 0>a?-1:0<a?1:0},animateChanges:function(a,b){mxEffects.animateChanges.apply(this,
+arguments)},cascadeOpacity:function(a,b,c){mxEffects.cascadeOpacity.apply(this,arguments)},fadeOut:function(a,b,c,d,e,f){mxEffects.fadeOut.apply(this,arguments)},setOpacity:function(a,b){mxClient.IS_IE&&("undefined"===typeof document.documentMode||9>document.documentMode)?a.style.filter=100<=b?"":"alpha(opacity="+b+")":a.style.opacity=b/100},createElementNs:function(a,b,c){if(null!=a.createElementNS)return a.createElementNS(b,c);a=a.createElement(c);null!=namespace&&a.setAttribute("xmlns",b);return a},
+createImage:function(a){var b=document.createElement("img");b.setAttribute("src",a);b.setAttribute("border","0");return b},sortCells:function(a,b){b=null!=b?b:!0;var c=new mxDictionary;a.sort(function(d,e){var f=c.get(d);null==f&&(f=mxCellPath.create(d).split(mxCellPath.PATH_SEPARATOR),c.put(d,f));d=c.get(e);null==d&&(d=mxCellPath.create(e).split(mxCellPath.PATH_SEPARATOR),c.put(e,d));e=mxCellPath.compare(f,d);return 0==e?0:0<e==b?1:-1});return a},getStylename:function(a){return null!=a&&(a=a.split(";")[0],
+0>a.indexOf("="))?a:""},getStylenames:function(a){var b=[];if(null!=a){a=a.split(";");for(var c=0;c<a.length;c++)0>a[c].indexOf("=")&&b.push(a[c])}return b},indexOfStylename:function(a,b){if(null!=a&&null!=b){a=a.split(";");for(var c=0,d=0;d<a.length;d++){if(a[d]==b)return c;c+=a[d].length+1}}return-1},addStylename:function(a,b){0>mxUtils.indexOfStylename(a,b)&&(null==a?a="":0<a.length&&";"!=a.charAt(a.length-1)&&(a+=";"),a+=b);return a},removeStylename:function(a,b){var c=[];if(null!=a){a=a.split(";");
+for(var d=0;d<a.length;d++)a[d]!=b&&c.push(a[d])}return c.join(";")},removeAllStylenames:function(a){var b=[];if(null!=a){a=a.split(";");for(var c=0;c<a.length;c++)0<=a[c].indexOf("=")&&b.push(a[c])}return b.join(";")},setCellStyles:function(a,b,c,d){if(null!=b&&0<b.length){a.beginUpdate();try{for(var e=0;e<b.length;e++)if(null!=b[e]){var f=mxUtils.setStyle(a.getStyle(b[e]),c,d);a.setStyle(b[e],f)}}finally{a.endUpdate()}}},parseHexColor:function(a,b){var c=null;if(null!=a&&7<=a.length&&"#"==a.charAt(0)){c=
+parseInt(a.substring(1,3),16);var d=parseInt(a.substring(3,5),16),e=parseInt(a.substring(5,7),16);b=null!=b?b:1;7<a.length&&(b=parseInt(a.substring(7,9),16)/255);c={r:c,g:d,b:e,a:b}}return c},hex2rgb:function(a){var b=mxUtils.parseHexColor(a);null!=b&&(a="rgb("+b.r+", "+b.g+", "+b.b+")");return a},hex2rgba:function(a,b){b=mxUtils.parseHexColor(a,b);null!=b&&(a="rgba("+b.r+", "+b.g+", "+b.b+", "+b.a+")");return a},rgba2hex:function(a){return(rgb=a&&a.match?a.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i):
+a)&&4===rgb.length?"#"+("0"+parseInt(rgb[1],10).toString(16)).slice(-2)+("0"+parseInt(rgb[2],10).toString(16)).slice(-2)+("0"+parseInt(rgb[3],10).toString(16)).slice(-2):a},setStyle:function(a,b,c){var d=null!=c&&("undefined"==typeof c.length||0<c.length);if(null==a||0==a.length)d&&(a=b+"="+c+";");else if(a.substring(0,b.length+1)==b+"="){var e=a.indexOf(";");a=d?b+"="+c+(0>e?";":a.substring(e)):0>e||e==a.length-1?"":a.substring(e+1)}else{var f=a.indexOf(";"+b+"=");0>f?d&&(d=";"==a.charAt(a.length-
+1)?"":";",a=a+d+b+"="+c+";"):(e=a.indexOf(";",f+1),a=d?a.substring(0,f+1)+b+"="+c+(0>e?";":a.substring(e)):a.substring(0,f)+(0>e?";":a.substring(e)))}return a},setCellStyleFlags:function(a,b,c,d,e){if(null!=b&&0<b.length){a.beginUpdate();try{for(var f=0;f<b.length;f++)if(null!=b[f]){var g=mxUtils.setStyleFlag(a.getStyle(b[f]),c,d,e);a.setStyle(b[f],g)}}finally{a.endUpdate()}}},setStyleFlag:function(a,b,c,d){if(null==a||0==a.length)a=d||null==d?b+"="+c:b+"=0";else{var e=a.indexOf(b+"=");if(0>e)e=";"==
+a.charAt(a.length-1)?"":";",a=d||null==d?a+e+b+"="+c:a+e+b+"=0";else{var f=a.indexOf(";",e),g=0>f?a.substring(e+b.length+1):a.substring(e+b.length+1,f);g=null==d?parseInt(g)^c:d?parseInt(g)|c:parseInt(g)&~c;a=a.substring(0,e)+b+"="+g+(0<=f?a.substring(f):"")}}return a},getAlignmentAsPoint:function(a,b){var c=-.5,d=-.5;a==mxConstants.ALIGN_LEFT?c=0:a==mxConstants.ALIGN_RIGHT&&(c=-1);b==mxConstants.ALIGN_TOP?d=0:b==mxConstants.ALIGN_BOTTOM&&(d=-1);return new mxPoint(c,d)},getSizeForString:function(a,
+b,c,d,e){b=null!=b?b:mxConstants.DEFAULT_FONTSIZE;c=null!=c?c:mxConstants.DEFAULT_FONTFAMILY;var f=document.createElement("div");f.style.fontFamily=c;f.style.fontSize=Math.round(b)+"px";f.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?b*mxConstants.LINE_HEIGHT+"px":mxConstants.LINE_HEIGHT*mxSvgCanvas2D.prototype.lineHeightCorrection;null!=e&&((e&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD&&(f.style.fontWeight="bold"),(e&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC&&(f.style.fontStyle="italic"),
+b=[],(e&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&b.push("underline"),(e&mxConstants.FONT_STRIKETHROUGH)==mxConstants.FONT_STRIKETHROUGH&&b.push("line-through"),0<b.length&&(f.style.textDecoration=b.join(" ")));f.style.position="absolute";f.style.visibility="hidden";f.style.display="inline-block";f.style.zoom="1";null!=d?(f.style.width=d+"px",f.style.whiteSpace="normal"):f.style.whiteSpace="nowrap";f.innerHTML=a;document.body.appendChild(f);a=new mxRectangle(0,0,f.offsetWidth,f.offsetHeight);
+document.body.removeChild(f);return a},getViewXml:function(a,b,c,d,e){d=null!=d?d:0;e=null!=e?e:0;b=null!=b?b:1;null==c&&(c=[a.getModel().getRoot()]);var f=a.getView(),g=null,k=f.isEventsEnabled();f.setEventsEnabled(!1);var l=f.drawPane,m=f.overlayPane;a.dialect==mxConstants.DIALECT_SVG?(f.drawPane=document.createElementNS(mxConstants.NS_SVG,"g"),f.canvas.appendChild(f.drawPane),f.overlayPane=document.createElementNS(mxConstants.NS_SVG,"g")):(f.drawPane=f.drawPane.cloneNode(!1),f.canvas.appendChild(f.drawPane),
+f.overlayPane=f.overlayPane.cloneNode(!1));f.canvas.appendChild(f.overlayPane);var n=f.getTranslate();f.translate=new mxPoint(d,e);b=new mxTemporaryCellStates(a.getView(),b,c);try{g=(new mxCodec).encode(a.getView())}finally{b.destroy(),f.translate=n,f.canvas.removeChild(f.drawPane),f.canvas.removeChild(f.overlayPane),f.drawPane=l,f.overlayPane=m,f.setEventsEnabled(k)}return g},getScaleForPageCount:function(a,b,c,d){if(1>a)return 1;c=null!=c?c:mxConstants.PAGE_FORMAT_A4_PORTRAIT;d=null!=d?d:0;var e=
+c.width-2*d;c=c.height-2*d;d=mxRectangle.fromRectangle(b.getGraphBounds());b=b.getView().getScale();d.width/=b;d.height/=b;b=d.width;var f=Math.sqrt(a);d=Math.sqrt(b/d.height/(e/c));c=f*d;d=f/d;if(1>c&&d>a){var g=d/a;d=a;c/=g}1>d&&c>a&&(g=c/a,c=a,d/=g);g=Math.ceil(c)*Math.ceil(d);for(f=0;g>a;){g=Math.floor(c)/c;var k=Math.floor(d)/d;1==g&&(g=Math.floor(c-1)/c);1==k&&(k=Math.floor(d-1)/d);g=g>k?g:k;c*=g;d*=g;g=Math.ceil(c)*Math.ceil(d);f++;if(10<f)break}return e*c/b*.99999},show:function(a,b,c,d,e,
+f){c=null!=c?c:0;d=null!=d?d:0;null==b?b=window.open().document:b.open();9==document.documentMode&&b.writeln('\x3c!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=9"><![endif]--\x3e');var g=a.getGraphBounds(),k=Math.ceil(c-g.x),l=Math.ceil(d-g.y);null==e&&(e=Math.ceil(g.width+c)+Math.ceil(Math.ceil(g.x)-g.x));null==f&&(f=Math.ceil(g.height+d)+Math.ceil(Math.ceil(g.y)-g.y));if(mxClient.IS_IE||11==document.documentMode){d="<html><head>";g=document.getElementsByTagName("base");for(c=0;c<g.length;c++)d+=
+g[c].outerHTML;d+="<style>";for(c=0;c<document.styleSheets.length;c++)try{d+=document.styleSheets[c].cssText}catch(m){}d=d+'</style></head><body style="margin:0px;"><div style="position:absolute;overflow:hidden;width:'+(e+"px;height:"+f+'px;"><div style="position:relative;left:'+k+"px;top:"+l+'px;">')+a.container.innerHTML;b.writeln(d+"</div></div></body><html>");b.close()}else{b.writeln("<html><head>");g=document.getElementsByTagName("base");for(c=0;c<g.length;c++)b.writeln(mxUtils.getOuterHtml(g[c]));
+d=document.getElementsByTagName("link");for(c=0;c<d.length;c++)b.writeln(mxUtils.getOuterHtml(d[c]));d=document.getElementsByTagName("style");for(c=0;c<d.length;c++)b.writeln(mxUtils.getOuterHtml(d[c]));b.writeln('</head><body style="margin:0px;"></body></html>');b.close();c=b.createElement("div");c.position="absolute";c.overflow="hidden";c.style.width=e+"px";c.style.height=f+"px";e=b.createElement("div");e.style.position="absolute";e.style.left=k+"px";e.style.top=l+"px";f=a.container.firstChild;
+for(d=null;null!=f;)g=f.cloneNode(!0),f==a.view.drawPane.ownerSVGElement?(c.appendChild(g),d=g):e.appendChild(g),f=f.nextSibling;b.body.appendChild(c);null!=e.firstChild&&b.body.appendChild(e);null!=d&&(d.style.minWidth="",d.style.minHeight="",d.firstChild.setAttribute("transform","translate("+k+","+l+")"))}mxUtils.removeCursors(b.body);return b},printScreen:function(a){var b=window.open();mxUtils.show(a,b.document);a=function(){b.focus();b.print();b.close()};mxClient.IS_GC?b.setTimeout(a,500):a()},
+popup:function(a,b){if(b){var c=document.createElement("div");c.style.overflow="scroll";c.style.width="636px";c.style.height="460px";b=document.createElement("pre");b.innerHTML=mxUtils.htmlEntities(a,!1).replace(/\n/g,"<br>").replace(/ /g,"&nbsp;");c.appendChild(b);c=new mxWindow("Popup Window",c,document.body.clientWidth/2-320,Math.max(document.body.clientHeight||0,document.documentElement.clientHeight)/2-240,640,480,!1,!0);c.setClosable(!0);c.setVisible(!0)}else mxClient.IS_NS?(c=window.open(),
+c.document.writeln("<pre>"+mxUtils.htmlEntities(a)+"</pre"),c.document.close()):(c=window.open(),b=c.document.createElement("pre"),b.innerHTML=mxUtils.htmlEntities(a,!1).replace(/\n/g,"<br>").replace(/ /g,"&nbsp;"),c.document.body.appendChild(b))},alert:function(a){alert(a)},prompt:function(a,b){return prompt(a,null!=b?b:"")},confirm:function(a){return confirm(a)},error:function(a,b,c,d){var e=document.createElement("div");e.style.padding="20px";var f=document.createElement("img");f.setAttribute("src",
+d||mxUtils.errorImage);f.setAttribute("valign","bottom");f.style.verticalAlign="middle";e.appendChild(f);e.appendChild(document.createTextNode(" "));e.appendChild(document.createTextNode(" "));e.appendChild(document.createTextNode(" "));mxUtils.write(e,a);a=document.body.clientWidth;d=document.body.clientHeight||document.documentElement.clientHeight;var g=new mxWindow(mxResources.get(mxUtils.errorResource)||mxUtils.errorResource,e,(a-b)/2,d/4,b,null,!1,!0);c&&(mxUtils.br(e),b=document.createElement("p"),
+c=document.createElement("button"),mxClient.IS_IE?c.style.cssText="float:right":c.setAttribute("style","float:right"),mxEvent.addListener(c,"click",function(k){g.destroy()}),mxUtils.write(c,mxResources.get(mxUtils.closeResource)||mxUtils.closeResource),b.appendChild(c),e.appendChild(b),mxUtils.br(e),g.setClosable(!0));g.setVisible(!0);return g},makeDraggable:function(a,b,c,d,e,f,g,k,l,m){a=new mxDragSource(a,c);a.dragOffset=new mxPoint(null!=e?e:0,null!=f?f:mxConstants.TOOLTIP_VERTICAL_OFFSET);a.autoscroll=
+g;a.setGuidesEnabled(!1);null!=l&&(a.highlightDropTargets=l);null!=m&&(a.getDropTarget=m);a.getGraphForEvent=function(n){return"function"==typeof b?b(n):b};null!=d&&(a.createDragElement=function(){return d.cloneNode(!0)},k&&(a.createPreviewElement=function(n){var p=d.cloneNode(!0),r=parseInt(p.style.width),q=parseInt(p.style.height);p.style.width=Math.round(r*n.view.scale)+"px";p.style.height=Math.round(q*n.view.scale)+"px";return p}));return a},format:function(a){return parseFloat(parseFloat(a).toFixed(2))}},
mxConstants={DEFAULT_HOTSPOT:.3,MIN_HOTSPOT_SIZE:8,MAX_HOTSPOT_SIZE:0,RENDERING_HINT_EXACT:"exact",RENDERING_HINT_FASTER:"faster",RENDERING_HINT_FASTEST:"fastest",DIALECT_SVG:"svg",DIALECT_MIXEDHTML:"mixedHtml",DIALECT_PREFERHTML:"preferHtml",DIALECT_STRICTHTML:"strictHtml",NS_SVG:"http://www.w3.org/2000/svg",NS_XHTML:"http://www.w3.org/1999/xhtml",NS_XLINK:"http://www.w3.org/1999/xlink",SHADOWCOLOR:"#808080",VML_SHADOWCOLOR:"#808080",SHADOW_OFFSET_X:2,SHADOW_OFFSET_Y:3,SHADOW_BLUR:2,SHADOW_OPACITY:1,
NODETYPE_ELEMENT:1,NODETYPE_ATTRIBUTE:2,NODETYPE_TEXT:3,NODETYPE_CDATA:4,NODETYPE_ENTITY_REFERENCE:5,NODETYPE_ENTITY:6,NODETYPE_PROCESSING_INSTRUCTION:7,NODETYPE_COMMENT:8,NODETYPE_DOCUMENT:9,NODETYPE_DOCUMENTTYPE:10,NODETYPE_DOCUMENT_FRAGMENT:11,NODETYPE_NOTATION:12,TOOLTIP_VERTICAL_OFFSET:16,DEFAULT_VALID_COLOR:"#00FF00",DEFAULT_INVALID_COLOR:"#FF0000",OUTLINE_HIGHLIGHT_COLOR:"#00FF00",OUTLINE_HIGHLIGHT_STROKEWIDTH:5,HIGHLIGHT_STROKEWIDTH:3,HIGHLIGHT_SIZE:2,HIGHLIGHT_OPACITY:100,CURSOR_MOVABLE_VERTEX:"move",
CURSOR_MOVABLE_EDGE:"move",CURSOR_LABEL_HANDLE:"default",CURSOR_TERMINAL_HANDLE:"pointer",CURSOR_BEND_HANDLE:"crosshair",CURSOR_VIRTUAL_BEND_HANDLE:"crosshair",CURSOR_CONNECT:"pointer",HIGHLIGHT_COLOR:"#00FF00",CONNECT_TARGET_COLOR:"#0000FF",INVALID_CONNECT_TARGET_COLOR:"#FF0000",DROP_TARGET_COLOR:"#0000FF",VALID_COLOR:"#00FF00",INVALID_COLOR:"#FF0000",EDGE_SELECTION_COLOR:"#00FF00",VERTEX_SELECTION_COLOR:"#00FF00",VERTEX_SELECTION_STROKEWIDTH:1,EDGE_SELECTION_STROKEWIDTH:1,VERTEX_SELECTION_DASHED:!0,
@@ -2034,28 +2034,28 @@ mxGraphHandler.prototype.shouldRemoveCellsFromParent=function(C,H,U){for(var F=0
U)/F);return new mxRectangle(this.scale*(this.translate.x+K*S),this.scale*(this.translate.y+W*F),this.scale*(Math.ceil(Math.max(1,H+C.width/this.scale)/S)-K)*S,this.scale*(Math.ceil(Math.max(1,U+C.height/this.scale)/F)-W)*F)};var n=mxGraph.prototype.panGraph;mxGraph.prototype.panGraph=function(C,H){n.apply(this,arguments);this.dialect==mxConstants.DIALECT_SVG||null==this.view.backgroundPageShape||this.useScrollbarsForPanning&&mxUtils.hasScrollbars(this.container)||(this.view.backgroundPageShape.node.style.marginLeft=
C+"px",this.view.backgroundPageShape.node.style.marginTop=H+"px")};var v=mxPopupMenu.prototype.addItem;mxPopupMenu.prototype.addItem=function(C,H,U,F,K,S){var W=v.apply(this,arguments);null==S||S||mxEvent.addListener(W,"mousedown",function(c){mxEvent.consume(c)});return W};var q=mxGraphHandler.prototype.isPropagateSelectionCell;mxGraphHandler.prototype.isPropagateSelectionCell=function(C,H,U){var F=this.graph.model.getParent(C);if(H){var K=this.graph.model.isEdge(C)?null:this.graph.getCellGeometry(C);
K=!this.graph.model.isEdge(F)&&!this.graph.isSiblingSelected(C)&&(null!=K&&K.relative||!this.graph.isContainer(F)||this.graph.isPart(C))}else if(K=q.apply(this,arguments),this.graph.isTableCell(C)||this.graph.isTableRow(C))K=F,this.graph.isTable(K)||(K=this.graph.model.getParent(K)),K=!this.graph.selectionCellsHandler.isHandled(K)||this.graph.isCellSelected(K)&&this.graph.isToggleEvent(U.getEvent())||this.graph.isCellSelected(C)&&!this.graph.isToggleEvent(U.getEvent())||this.graph.isTableCell(C)&&
-this.graph.isCellSelected(F);return K};mxPopupMenuHandler.prototype.getCellForPopupEvent=function(C){C=C.getCell();for(var H=this.graph.getModel(),U=H.getParent(C),F=this.graph.view.getState(U),K=this.graph.isCellSelected(C);null!=F&&(H.isVertex(U)||H.isEdge(U));){var S=this.graph.isCellSelected(U);K=K||S;if(S||!K&&(this.graph.isTableCell(C)||this.graph.isTableRow(C)))C=U;U=H.getParent(U)}return C}})();EditorUi=function(b,e,g){mxEventSource.call(this);this.destroyFunctions=[];this.editor=b||new Editor;this.container=e||document.body;var n=this,v=this.editor.graph;v.lightbox=g;var q=v.getGraphBounds;v.getGraphBounds=function(){var T=q.apply(this,arguments),ca=this.backgroundImage;if(null!=ca&&null!=ca.width&&null!=ca.height){var ka=this.view.translate,ma=this.view.scale;T=mxRectangle.fromRectangle(T);T.add(new mxRectangle((ka.x+ca.x)*ma,(ka.y+ca.y)*ma,ca.width*ma,ca.height*ma))}return T};v.useCssTransforms&&
+this.graph.isCellSelected(F);return K};mxPopupMenuHandler.prototype.getCellForPopupEvent=function(C){C=C.getCell();for(var H=this.graph.getModel(),U=H.getParent(C),F=this.graph.view.getState(U),K=this.graph.isCellSelected(C);null!=F&&(H.isVertex(U)||H.isEdge(U));){var S=this.graph.isCellSelected(U);K=K||S;if(S||!K&&(this.graph.isTableCell(C)||this.graph.isTableRow(C)))C=U;U=H.getParent(U)}return C}})();EditorUi=function(b,e,g){mxEventSource.call(this);this.destroyFunctions=[];this.editor=b||new Editor;this.container=e||document.body;var n=this,v=this.editor.graph;v.lightbox=g;var q=v.getGraphBounds;v.getGraphBounds=function(){var T=q.apply(this,arguments),ca=this.backgroundImage;if(null!=ca&&null!=ca.width&&null!=ca.height){var ja=this.view.translate,ma=this.view.scale;T=mxRectangle.fromRectangle(T);T.add(new mxRectangle((ja.x+ca.x)*ma,(ja.y+ca.y)*ma,ca.width*ma,ca.height*ma))}return T};v.useCssTransforms&&
(this.lazyZoomDelay=0);mxClient.IS_SVG?mxPopupMenu.prototype.submenuImage="data:image/gif;base64,R0lGODlhCQAJAIAAAP///zMzMyH5BAEAAAAALAAAAAAJAAkAAAIPhI8WebHsHopSOVgb26AAADs=":(new Image).src=mxPopupMenu.prototype.submenuImage;mxClient.IS_SVG||null==mxConnectionHandler.prototype.connectImage||((new Image).src=mxConnectionHandler.prototype.connectImage.src);this.selectionStateListener=mxUtils.bind(this,function(T,ca){this.clearSelectionState()});v.getSelectionModel().addListener(mxEvent.CHANGE,this.selectionStateListener);
v.getModel().addListener(mxEvent.CHANGE,this.selectionStateListener);v.addListener(mxEvent.EDITING_STARTED,this.selectionStateListener);v.addListener(mxEvent.EDITING_STOPPED,this.selectionStateListener);v.getView().addListener("unitChanged",this.selectionStateListener);if(this.editor.chromeless&&!this.editor.editable){this.footerHeight=0;v.isEnabled=function(){return!1};v.panningHandler.isForcePanningEvent=function(T){for(var ca=T.getSource();null!=ca&&ca!=v.container;){if("foreignObject"===ca.nodeName||
-"text"===ca.nodeName)return!1;ca=ca.parentNode}return!mxEvent.isPopupTrigger(T.getEvent())};var C=v.panningHandler.start;v.panningHandler.start=function(){C.apply(this,arguments);mxUtils.clearSelection()}}this.actions=new Actions(this);this.menus=this.createMenus();if(!v.standalone){var H=!1,U=!1;this.setDefaultStyle=function(T){try{v.getModel().isEdge(T)?U=v.pasteEdgeStyle=!1:H=!1;var ca=v.getCellStyle(T,!1),ka=[],ma=[],aa;for(aa in ca)ka.push(ca[aa]),ma.push(aa);v.getModel().isEdge(T)?v.currentEdgeStyle=
-{}:v.currentVertexStyle={};this.fireEvent(new mxEventObject("styleChanged","keys",ma,"values",ka,"cells",[T],"force",!0));v.getModel().isEdge(T)?U=v.pasteEdgeStyle=!0:H=!0}catch(V){this.handleError(V)}};this.clearDefaultStyle=function(){v.currentEdgeStyle=mxUtils.clone(v.defaultEdgeStyle);v.currentVertexStyle=mxUtils.clone(v.defaultVertexStyle);H=U=v.pasteEdgeStyle=!1;this.fireEvent(new mxEventObject("styleChanged","keys",[],"values",[],"cells",[]))};v.addListener("cellsInserted",function(T,ca){v.pasteCellStyles(v.includeDescendants(ca.getProperty("cells")))});
+"text"===ca.nodeName)return!1;ca=ca.parentNode}return!mxEvent.isPopupTrigger(T.getEvent())};var C=v.panningHandler.start;v.panningHandler.start=function(){C.apply(this,arguments);mxUtils.clearSelection()}}this.actions=new Actions(this);this.menus=this.createMenus();if(!v.standalone){var H=!1,U=!1;this.setDefaultStyle=function(T){try{v.getModel().isEdge(T)?U=v.pasteEdgeStyle=!1:H=!1;var ca=v.getCellStyle(T,!1),ja=[],ma=[],aa;for(aa in ca)ja.push(ca[aa]),ma.push(aa);v.getModel().isEdge(T)?v.currentEdgeStyle=
+{}:v.currentVertexStyle={};this.fireEvent(new mxEventObject("styleChanged","keys",ma,"values",ja,"cells",[T],"force",!0));v.getModel().isEdge(T)?U=v.pasteEdgeStyle=!0:H=!0}catch(V){this.handleError(V)}};this.clearDefaultStyle=function(){v.currentEdgeStyle=mxUtils.clone(v.defaultEdgeStyle);v.currentVertexStyle=mxUtils.clone(v.defaultVertexStyle);H=U=v.pasteEdgeStyle=!1;this.fireEvent(new mxEventObject("styleChanged","keys",[],"values",[],"cells",[]))};v.addListener("cellsInserted",function(T,ca){v.pasteCellStyles(v.includeDescendants(ca.getProperty("cells")))});
v.addListener("textInserted",function(T,ca){v.pasteCellStyles(ca.getProperty("cells"))});this.createDivs();this.createUi();this.refresh();var F=mxUtils.bind(this,function(T){null==T&&(T=window.event);return v.isEditing()||null!=T&&this.isSelectionAllowed(T)});this.container!=document.body||this.editor.chromeless&&!this.editor.editable||(this.menubarContainer.onselectstart=F,this.menubarContainer.onmousedown=F,this.toolbarContainer.onselectstart=F,this.toolbarContainer.onmousedown=F,this.diagramContainer.onselectstart=
F,this.diagramContainer.onmousedown=F,this.sidebarContainer.onselectstart=F,this.sidebarContainer.onmousedown=F,this.formatContainer.onselectstart=F,this.formatContainer.onmousedown=F,this.footerContainer.onselectstart=F,this.footerContainer.onmousedown=F,null!=this.tabContainer&&(this.tabContainer.onselectstart=F),mxClient.IS_IOS&&(e=function(){var T=null;if(/iP(hone|od|ad)/.test(navigator.platform)){var ca=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);try{T=[parseInt(ca[1],10),parseInt(ca[2],
-10),parseInt(ca[3]||0,10)]}catch(ka){}}return T}(),null!=e&&16<=e[0]&&(mxUtils.setPrefixedStyle(this.menubarContainer.style,"userSelect","none"),mxUtils.setPrefixedStyle(this.diagramContainer.style,"userSelect","none"),mxUtils.setPrefixedStyle(this.sidebarContainer.style,"userSelect","none"),mxUtils.setPrefixedStyle(this.formatContainer.style,"userSelect","none"),mxUtils.setPrefixedStyle(this.footerContainer.style,"userSelect","none"),null!=this.tabContainer&&mxUtils.setPrefixedStyle(this.tabContainer.style,
+10),parseInt(ca[3]||0,10)]}catch(ja){}}return T}(),null!=e&&16<=e[0]&&(mxUtils.setPrefixedStyle(this.menubarContainer.style,"userSelect","none"),mxUtils.setPrefixedStyle(this.diagramContainer.style,"userSelect","none"),mxUtils.setPrefixedStyle(this.sidebarContainer.style,"userSelect","none"),mxUtils.setPrefixedStyle(this.formatContainer.style,"userSelect","none"),mxUtils.setPrefixedStyle(this.footerContainer.style,"userSelect","none"),null!=this.tabContainer&&mxUtils.setPrefixedStyle(this.tabContainer.style,
"userSelect","none"))));!this.editor.chromeless||this.editor.editable?(e=function(T){if(null!=T){var ca=mxEvent.getSource(T);if("A"==ca.nodeName)for(;null!=ca;){if("geHint"==ca.className)return!0;ca=ca.parentNode}}return F(T)},mxClient.IS_IE&&("undefined"===typeof document.documentMode||9>document.documentMode)?mxEvent.addListener(this.diagramContainer,"contextmenu",e):this.diagramContainer.oncontextmenu=e):v.panningHandler.usePopupTrigger=!1;v.init(this.diagramContainer);mxClient.IS_SVG&&null!=v.view.getDrawPane()&&
(e=v.view.getDrawPane().ownerSVGElement,null!=e&&(e.style.position="absolute"));this.hoverIcons=this.createHoverIcons();if(null!=v.graphHandler){var K=v.graphHandler.start;v.graphHandler.start=function(){null!=n.hoverIcons&&n.hoverIcons.reset();K.apply(this,arguments)}}mxEvent.addListener(this.diagramContainer,"mousemove",mxUtils.bind(this,function(T){var ca=mxUtils.getOffset(this.diagramContainer);0<mxEvent.getClientX(T)-ca.x-this.diagramContainer.clientWidth||0<mxEvent.getClientY(T)-ca.y-this.diagramContainer.clientHeight?
this.diagramContainer.setAttribute("title",mxResources.get("panTooltip")):this.diagramContainer.removeAttribute("title")}));var S=this.hoverIcons.isResetEvent;this.hoverIcons.isResetEvent=function(T,ca){return n.isSpaceDown()||S.apply(this,arguments)};this.keydownHandler=mxUtils.bind(this,function(T){16==T.which?this.shiftDown=!0:32!=T.which||v.isEditing()?mxEvent.isConsumed(T)||27!=T.keyCode||this.hideDialog(null,!0):(this.spaceDown=!0,this.hoverIcons.reset(),v.container.style.cursor="move",v.isEditing()||
mxEvent.getSource(T)!=v.container||mxEvent.consume(T))});mxEvent.addListener(document,"keydown",this.keydownHandler);this.keyupHandler=mxUtils.bind(this,function(T){v.container.style.cursor="";this.shiftDown=this.spaceDown=!1});mxEvent.addListener(document,"keyup",this.keyupHandler);var W=v.panningHandler.isForcePanningEvent;v.panningHandler.isForcePanningEvent=function(T){return W.apply(this,arguments)||n.isSpaceDown()||mxEvent.isMouseEvent(T.getEvent())&&(this.usePopupTrigger||!mxEvent.isPopupTrigger(T.getEvent()))&&
(!mxEvent.isControlDown(T.getEvent())&&mxEvent.isRightMouseButton(T.getEvent())||mxEvent.isMiddleMouseButton(T.getEvent()))};var c=v.cellEditor.isStopEditingEvent;v.cellEditor.isStopEditingEvent=function(T){return c.apply(this,arguments)||13==T.keyCode&&(!mxClient.IS_SF&&mxEvent.isControlDown(T)||mxClient.IS_MAC&&mxEvent.isMetaDown(T)||mxClient.IS_SF&&mxEvent.isShiftDown(T))};var f=v.isZoomWheelEvent;v.isZoomWheelEvent=function(){return n.isSpaceDown()||f.apply(this,arguments)};var l=!1,z=null,A=
-null,B=null,G=mxUtils.bind(this,function(){if(null!=this.toolbar&&l!=v.cellEditor.isContentEditing()){for(var T=this.toolbar.container.firstChild,ca=[];null!=T;){var ka=T.nextSibling;0>mxUtils.indexOf(this.toolbar.staticElements,T)&&(T.parentNode.removeChild(T),ca.push(T));T=ka}T=this.toolbar.fontMenu;ka=this.toolbar.sizeMenu;if(null==B)this.toolbar.createTextToolbar();else{for(var ma=0;ma<B.length;ma++)this.toolbar.container.appendChild(B[ma]);this.toolbar.fontMenu=z;this.toolbar.sizeMenu=A}l=v.cellEditor.isContentEditing();
-z=T;A=ka;B=ca}}),L=v.cellEditor.startEditing;v.cellEditor.startEditing=function(){L.apply(this,arguments);G();if(v.cellEditor.isContentEditing()){var T=!1,ca=function(){T||(T=!0,window.setTimeout(function(){var ka=v.getSelectedEditingElement();null!=ka&&(ka=mxUtils.getCurrentStyle(ka),null!=ka&&null!=n.toolbar&&(n.toolbar.setFontName(mxUtils.getCssFontFamily(ka.fontFamily)),n.toolbar.setFontSize(parseInt(ka.fontSize))));T=!1},0))};mxEvent.addListener(v.cellEditor.textarea,"input",ca);mxEvent.addListener(v.cellEditor.textarea,
-"touchend",ca);mxEvent.addListener(v.cellEditor.textarea,"mouseup",ca);mxEvent.addListener(v.cellEditor.textarea,"keyup",ca);ca()}};var P=v.cellEditor.stopEditing;v.cellEditor.stopEditing=function(T,ca){try{P.apply(this,arguments),G()}catch(ka){n.handleError(ka)}};v.container.setAttribute("tabindex","0");v.container.style.cursor="default";if(window.self===window.top&&null!=v.container.parentNode)try{v.container.focus()}catch(T){}var J=v.fireMouseEvent;v.fireMouseEvent=function(T,ca,ka){try{T==mxEvent.MOUSE_DOWN&&
-this.container.focus(),J.apply(this,arguments)}catch(ma){n.handleError(ma)}};var fa=v.foldCells;v.foldCells=function(T,ca,ka,ma,aa){try{fa.apply(this,arguments)}catch(V){n.handleError(V)}};v.popupMenuHandler.autoExpand=!0;null!=this.menus&&(v.popupMenuHandler.factoryMethod=mxUtils.bind(this,function(T,ca,ka){this.menus.createPopupMenu(T,ca,ka)}));mxEvent.addGestureListeners(document,mxUtils.bind(this,function(T){v.popupMenuHandler.hideMenu()}));this.keyHandler=this.createKeyHandler(b);this.getKeyHandler=
-function(){return keyHandler};v.connectionHandler.addListener(mxEvent.CONNECT,function(T,ca){var ka=[ca.getProperty("cell")];ca.getProperty("terminalInserted")&&(ka.push(ca.getProperty("terminal")),window.setTimeout(function(){null!=n.hoverIcons&&n.hoverIcons.update(v.view.getState(ka[ka.length-1]))},0));v.pasteCellStyles(ka)});this.addListener("styleChanged",mxUtils.bind(this,function(T,ca){T=ca.getProperty("force");(this.updateDefaultStyle||T)&&v.copyCellStyles(ca.getProperty("cells"),ca.getProperty("keys"),
+null,B=null,G=mxUtils.bind(this,function(){if(null!=this.toolbar&&l!=v.cellEditor.isContentEditing()){for(var T=this.toolbar.container.firstChild,ca=[];null!=T;){var ja=T.nextSibling;0>mxUtils.indexOf(this.toolbar.staticElements,T)&&(T.parentNode.removeChild(T),ca.push(T));T=ja}T=this.toolbar.fontMenu;ja=this.toolbar.sizeMenu;if(null==B)this.toolbar.createTextToolbar();else{for(var ma=0;ma<B.length;ma++)this.toolbar.container.appendChild(B[ma]);this.toolbar.fontMenu=z;this.toolbar.sizeMenu=A}l=v.cellEditor.isContentEditing();
+z=T;A=ja;B=ca}}),L=v.cellEditor.startEditing;v.cellEditor.startEditing=function(){L.apply(this,arguments);G();if(v.cellEditor.isContentEditing()){var T=!1,ca=function(){T||(T=!0,window.setTimeout(function(){var ja=v.getSelectedEditingElement();null!=ja&&(ja=mxUtils.getCurrentStyle(ja),null!=ja&&null!=n.toolbar&&(n.toolbar.setFontName(mxUtils.getCssFontFamily(ja.fontFamily)),n.toolbar.setFontSize(parseInt(ja.fontSize))));T=!1},0))};mxEvent.addListener(v.cellEditor.textarea,"input",ca);mxEvent.addListener(v.cellEditor.textarea,
+"touchend",ca);mxEvent.addListener(v.cellEditor.textarea,"mouseup",ca);mxEvent.addListener(v.cellEditor.textarea,"keyup",ca);ca()}};var P=v.cellEditor.stopEditing;v.cellEditor.stopEditing=function(T,ca){try{P.apply(this,arguments),G()}catch(ja){n.handleError(ja)}};v.container.setAttribute("tabindex","0");v.container.style.cursor="default";if(window.self===window.top&&null!=v.container.parentNode)try{v.container.focus()}catch(T){}var J=v.fireMouseEvent;v.fireMouseEvent=function(T,ca,ja){try{T==mxEvent.MOUSE_DOWN&&
+this.container.focus(),J.apply(this,arguments)}catch(ma){n.handleError(ma)}};var fa=v.foldCells;v.foldCells=function(T,ca,ja,ma,aa){try{fa.apply(this,arguments)}catch(V){n.handleError(V)}};v.popupMenuHandler.autoExpand=!0;null!=this.menus&&(v.popupMenuHandler.factoryMethod=mxUtils.bind(this,function(T,ca,ja){this.menus.createPopupMenu(T,ca,ja)}));mxEvent.addGestureListeners(document,mxUtils.bind(this,function(T){v.popupMenuHandler.hideMenu()}));this.keyHandler=this.createKeyHandler(b);this.getKeyHandler=
+function(){return keyHandler};v.connectionHandler.addListener(mxEvent.CONNECT,function(T,ca){var ja=[ca.getProperty("cell")];ca.getProperty("terminalInserted")&&(ja.push(ca.getProperty("terminal")),window.setTimeout(function(){null!=n.hoverIcons&&n.hoverIcons.update(v.view.getState(ja[ja.length-1]))},0));v.pasteCellStyles(ja)});this.addListener("styleChanged",mxUtils.bind(this,function(T,ca){T=ca.getProperty("force");(this.updateDefaultStyle||T)&&v.copyCellStyles(ca.getProperty("cells"),ca.getProperty("keys"),
ca.getProperty("values"),v.currentVertexStyle,v.currentEdgeStyle,H,U);null!=this.toolbar&&(this.toolbar.setFontName(v.currentVertexStyle.fontFamily||Menus.prototype.defaultFont),this.toolbar.setFontSize(v.currentVertexStyle.fontSize||Menus.prototype.defaultFontSize),null!=this.toolbar.edgeStyleMenu&&(this.toolbar.edgeStyleMenu.getElementsByTagName("div")[0].className="orthogonalEdgeStyle"==v.currentEdgeStyle.edgeStyle&&"1"==v.currentEdgeStyle.curved?"geSprite geSprite-curved":"straight"==v.currentEdgeStyle.edgeStyle||
"none"==v.currentEdgeStyle.edgeStyle||null==v.currentEdgeStyle.edgeStyle?"geSprite geSprite-straight":"entityRelationEdgeStyle"==v.currentEdgeStyle.edgeStyle?"geSprite geSprite-entity":"elbowEdgeStyle"==v.currentEdgeStyle.edgeStyle?"geSprite geSprite-"+("vertical"==v.currentEdgeStyle.elbow?"verticalelbow":"horizontalelbow"):"isometricEdgeStyle"==v.currentEdgeStyle.edgeStyle?"geSprite geSprite-"+("vertical"==v.currentEdgeStyle.elbow?"verticalisometric":"horizontalisometric"):"geSprite geSprite-orthogonal"),
-null!=this.toolbar.edgeShapeMenu&&(this.toolbar.edgeShapeMenu.getElementsByTagName("div")[0].className="link"==v.currentEdgeStyle.shape?"geSprite geSprite-linkedge":"flexArrow"==v.currentEdgeStyle.shape?"geSprite geSprite-arrow":"arrow"==v.currentEdgeStyle.shape?"geSprite geSprite-simplearrow":"geSprite geSprite-connection"))}));null!=this.toolbar&&(b=mxUtils.bind(this,function(){var T=v.currentVertexStyle.fontFamily||"Helvetica",ca=String(v.currentVertexStyle.fontSize||"12"),ka=v.getView().getState(v.getSelectionCell());
-null!=ka&&(T=ka.style[mxConstants.STYLE_FONTFAMILY]||T,ca=ka.style[mxConstants.STYLE_FONTSIZE]||ca,10<T.length&&(T=T.substring(0,8)+"..."));this.toolbar.setFontName(T);this.toolbar.setFontSize(ca)}),v.getSelectionModel().addListener(mxEvent.CHANGE,b),v.getModel().addListener(mxEvent.CHANGE,b));v.addListener(mxEvent.CELLS_ADDED,function(T,ca){T=ca.getProperty("cells");ca=ca.getProperty("parent");null!=ca&&v.getModel().isLayer(ca)&&!v.isCellVisible(ca)&&null!=T&&0<T.length&&v.getModel().setVisible(ca,
+null!=this.toolbar.edgeShapeMenu&&(this.toolbar.edgeShapeMenu.getElementsByTagName("div")[0].className="link"==v.currentEdgeStyle.shape?"geSprite geSprite-linkedge":"flexArrow"==v.currentEdgeStyle.shape?"geSprite geSprite-arrow":"arrow"==v.currentEdgeStyle.shape?"geSprite geSprite-simplearrow":"geSprite geSprite-connection"))}));null!=this.toolbar&&(b=mxUtils.bind(this,function(){var T=v.currentVertexStyle.fontFamily||"Helvetica",ca=String(v.currentVertexStyle.fontSize||"12"),ja=v.getView().getState(v.getSelectionCell());
+null!=ja&&(T=ja.style[mxConstants.STYLE_FONTFAMILY]||T,ca=ja.style[mxConstants.STYLE_FONTSIZE]||ca,10<T.length&&(T=T.substring(0,8)+"..."));this.toolbar.setFontName(T);this.toolbar.setFontSize(ca)}),v.getSelectionModel().addListener(mxEvent.CHANGE,b),v.getModel().addListener(mxEvent.CHANGE,b));v.addListener(mxEvent.CELLS_ADDED,function(T,ca){T=ca.getProperty("cells");ca=ca.getProperty("parent");null!=ca&&v.getModel().isLayer(ca)&&!v.isCellVisible(ca)&&null!=T&&0<T.length&&v.getModel().setVisible(ca,
!0)});Graph.selectParentLayer&&v.selectionModel.addListener(mxEvent.CHANGE,function(){if(v.isEnabled()&&!v.isSelectionEmpty()){var T=v.getLayerForCells(v.getSelectionCells());null!=T&&v.setDefaultParent(T)}});this.gestureHandler=mxUtils.bind(this,function(T){null!=this.currentMenu&&mxEvent.getSource(T)!=this.currentMenu.div&&this.hideCurrentMenu()});mxEvent.addGestureListeners(document,this.gestureHandler);var ea=null;this.resizeHandler=mxUtils.bind(this,function(){null!=ea&&window.clearTimeout(ea);
ea=window.setTimeout(mxUtils.bind(this,function(){ea=null;this.windowResized()}),100)});mxEvent.addListener(window,"resize",this.resizeHandler);this.orientationChangeHandler=mxUtils.bind(this,function(){this.refresh()});mxEvent.addListener(window,"orientationchange",this.orientationChangeHandler);mxClient.IS_IOS&&!window.navigator.standalone&&"undefined"!==typeof Menus&&(this.scrollHandler=mxUtils.bind(this,function(){window.scrollTo(0,0)}),mxEvent.addListener(window,"scroll",this.scrollHandler));
this.editor.addListener("resetGraphView",mxUtils.bind(this,function(){this.resetScrollbars()}));this.addListener("gridEnabledChanged",mxUtils.bind(this,function(){v.view.validateBackground()}));this.addListener("backgroundColorChanged",mxUtils.bind(this,function(){v.view.validateBackground()}));v.addListener("gridSizeChanged",mxUtils.bind(this,function(){v.isGridEnabled()&&v.view.validateBackground()}));this.editor.resetGraph()}this.init();v.standalone||this.open()};EditorUi.compactUi=!0;
@@ -2112,9 +2112,9 @@ EditorUi.prototype.initClipboard=function(){var b=this,e=mxClipboard.cut;mxClipb
null;q.cellEditor.isContentEditing()?document.execCommand("paste",!1,null):C=g.apply(this,arguments);b.updatePasteActionStates();return C};var n=this.editor.graph.cellEditor.startEditing;this.editor.graph.cellEditor.startEditing=function(){n.apply(this,arguments);b.updatePasteActionStates()};var v=this.editor.graph.cellEditor.stopEditing;this.editor.graph.cellEditor.stopEditing=function(q,C){v.apply(this,arguments);b.updatePasteActionStates()};this.updatePasteActionStates()};
EditorUi.prototype.lazyZoomDelay=20;EditorUi.prototype.wheelZoomDelay=500;EditorUi.prototype.buttonZoomDelay=600;
EditorUi.prototype.initCanvas=function(){var b=this.editor.graph;b.timerAutoScroll=!0;b.getPagePadding=function(){return new mxPoint(Math.max(0,Math.round((b.container.offsetWidth-34)/b.view.scale)),Math.max(0,Math.round((b.container.offsetHeight-34)/b.view.scale)))};b.view.getBackgroundPageBounds=function(){var O=this.graph.getPageLayout(),X=this.graph.getPageSize();return new mxRectangle(this.scale*(this.translate.x+O.x*X.width),this.scale*(this.translate.y+O.y*X.height),this.scale*O.width*X.width,
-this.scale*O.height*X.height)};b.getPreferredPageSize=function(O,X,Z){O=this.getPageLayout();X=this.getPageSize();return new mxRectangle(0,0,O.width*X.width,O.height*X.height)};var e=null,g=this;if(this.editor.isChromelessView()){this.chromelessResize=e=mxUtils.bind(this,function(O,X,Z,ba){if(null!=b.container&&!b.isViewer()){Z=null!=Z?Z:0;ba=null!=ba?ba:0;var la=b.pageVisible?b.view.getBackgroundPageBounds():b.getGraphBounds(),qa=mxUtils.hasScrollbars(b.container),pa=b.view.translate,ra=b.view.scale,
-ua=mxRectangle.fromRectangle(la);ua.x=ua.x/ra-pa.x;ua.y=ua.y/ra-pa.y;ua.width/=ra;ua.height/=ra;pa=b.container.scrollTop;var Ba=b.container.scrollLeft,ya=8<=document.documentMode?20:14;if(8==document.documentMode||9==document.documentMode)ya+=3;var Aa=b.container.offsetWidth-ya;ya=b.container.offsetHeight-ya;O=O?Math.max(.3,Math.min(X||1,Aa/ua.width)):ra;X=(Aa-O*ua.width)/2/O;var Na=0==this.lightboxVerticalDivider?0:(ya-O*ua.height)/this.lightboxVerticalDivider/O;qa&&(X=Math.max(X,0),Na=Math.max(Na,
-0));if(qa||la.width<Aa||la.height<ya)b.view.scaleAndTranslate(O,Math.floor(X-ua.x),Math.floor(Na-ua.y)),b.container.scrollTop=pa*O/ra,b.container.scrollLeft=Ba*O/ra;else if(0!=Z||0!=ba)la=b.view.translate,b.view.setTranslate(Math.floor(la.x+Z/ra),Math.floor(la.y+ba/ra))}});this.chromelessWindowResize=mxUtils.bind(this,function(){this.chromelessResize(!1)});var n=mxUtils.bind(this,function(){this.chromelessWindowResize(!1)});mxEvent.addListener(window,"resize",n);this.destroyFunctions.push(function(){mxEvent.removeListener(window,
+this.scale*O.height*X.height)};b.getPreferredPageSize=function(O,X,Z){O=this.getPageLayout();X=this.getPageSize();return new mxRectangle(0,0,O.width*X.width,O.height*X.height)};var e=null,g=this;if(this.editor.isChromelessView()){this.chromelessResize=e=mxUtils.bind(this,function(O,X,Z,ba){if(null!=b.container&&!b.isViewer()){Z=null!=Z?Z:0;ba=null!=ba?ba:0;var ka=b.pageVisible?b.view.getBackgroundPageBounds():b.getGraphBounds(),qa=mxUtils.hasScrollbars(b.container),pa=b.view.translate,ra=b.view.scale,
+ua=mxRectangle.fromRectangle(ka);ua.x=ua.x/ra-pa.x;ua.y=ua.y/ra-pa.y;ua.width/=ra;ua.height/=ra;pa=b.container.scrollTop;var Ba=b.container.scrollLeft,xa=8<=document.documentMode?20:14;if(8==document.documentMode||9==document.documentMode)xa+=3;var Aa=b.container.offsetWidth-xa;xa=b.container.offsetHeight-xa;O=O?Math.max(.3,Math.min(X||1,Aa/ua.width)):ra;X=(Aa-O*ua.width)/2/O;var Na=0==this.lightboxVerticalDivider?0:(xa-O*ua.height)/this.lightboxVerticalDivider/O;qa&&(X=Math.max(X,0),Na=Math.max(Na,
+0));if(qa||ka.width<Aa||ka.height<xa)b.view.scaleAndTranslate(O,Math.floor(X-ua.x),Math.floor(Na-ua.y)),b.container.scrollTop=pa*O/ra,b.container.scrollLeft=Ba*O/ra;else if(0!=Z||0!=ba)ka=b.view.translate,b.view.setTranslate(Math.floor(ka.x+Z/ra),Math.floor(ka.y+ba/ra))}});this.chromelessWindowResize=mxUtils.bind(this,function(){this.chromelessResize(!1)});var n=mxUtils.bind(this,function(){this.chromelessWindowResize(!1)});mxEvent.addListener(window,"resize",n);this.destroyFunctions.push(function(){mxEvent.removeListener(window,
"resize",n)});this.editor.addListener("resetGraphView",mxUtils.bind(this,function(){this.chromelessResize(!0)}));this.actions.get("zoomIn").funct=mxUtils.bind(this,function(O){b.zoomIn();this.chromelessResize(!1)});this.actions.get("zoomOut").funct=mxUtils.bind(this,function(O){b.zoomOut();this.chromelessResize(!1)});if("0"!=urlParams.toolbar){var v=JSON.parse(decodeURIComponent(urlParams["toolbar-config"]||"{}"));this.chromelessToolbar=document.createElement("div");this.chromelessToolbar.style.position=
"fixed";this.chromelessToolbar.style.overflow="hidden";this.chromelessToolbar.style.boxSizing="border-box";this.chromelessToolbar.style.whiteSpace="nowrap";this.chromelessToolbar.style.padding="10px 10px 8px 10px";this.chromelessToolbar.style.left=b.isViewer()?"0":"50%";mxClient.IS_IE||mxClient.IS_IE11?(this.chromelessToolbar.style.backgroundColor="#ffffff",this.chromelessToolbar.style.border="3px solid black"):this.chromelessToolbar.style.backgroundColor="#000000";mxUtils.setPrefixedStyle(this.chromelessToolbar.style,
"borderRadius","16px");mxUtils.setPrefixedStyle(this.chromelessToolbar.style,"transition","opacity 600ms ease-in-out");var q=mxUtils.bind(this,function(){var O=mxUtils.getCurrentStyle(b.container);b.isViewer()?this.chromelessToolbar.style.top="0":this.chromelessToolbar.style.bottom=(null!=O?parseInt(O["margin-bottom"]||0):0)+(null!=this.tabContainer?20+parseInt(this.tabContainer.style.height):20)+"px"});this.editor.addListener("resetGraphView",q);q();var C=0;q=mxUtils.bind(this,function(O,X,Z){C++;
@@ -2136,17 +2136,17 @@ document.body))&&q(mxUtils.bind(this,function(O){"1"==urlParams.close||v.closeBt
"mouseleave",mxUtils.bind(this,function(O){mxEvent.isTouchEvent(O)||A(30)}));var J=b.getTolerance();b.addMouseListener({startX:0,startY:0,scrollLeft:0,scrollTop:0,mouseDown:function(O,X){this.startX=X.getGraphX();this.startY=X.getGraphY();this.scrollLeft=b.container.scrollLeft;this.scrollTop=b.container.scrollTop},mouseMove:function(O,X){},mouseUp:function(O,X){mxEvent.isTouchEvent(X.getEvent())&&Math.abs(this.scrollLeft-b.container.scrollLeft)<J&&Math.abs(this.scrollTop-b.container.scrollTop)<J&&
Math.abs(this.startX-X.getGraphX())<J&&Math.abs(this.startY-X.getGraphY())<J&&(0<parseFloat(g.chromelessToolbar.style.opacity||0)?z():A(30))}})}this.editor.editable||this.addChromelessClickHandler()}else if(this.editor.extendCanvas){var fa=b.view.validate,ea=new mxPoint,T=!1,ca=null;b.view.validate=function(){if(null!=b.container&&mxUtils.hasScrollbars(b.container)){if(null!=g.currentPage&&ca!=g.currentPage){ca=g.currentPage;T=!0;var O=b.getBoundingBoxFromGeometry(b.model.getCells(),!0,null,!0);null==
O&&(O=new mxRectangle(b.view.translate.x*b.view.scale,b.view.translate.y*b.view.scale));O=b.getPageLayout(O,ea,1);var X=b.getDefaultTranslate(O);this.x0=O.x;this.y0=O.y;if(X.x!=this.translate.x||X.y!=this.translate.y)this.invalidate(),this.translate.x=X.x,this.translate.y=X.y}X=b.getPagePadding();var Z=b.getPageSize();O=X.x-(this.x0||0)*Z.width;X=X.y-(this.y0||0)*Z.height;if(this.translate.x!=O||this.translate.y!=X)this.invalidate(),this.translate.x=O,this.translate.y=X}fa.apply(this,arguments)};
-if(!b.isViewer()){var ka=b.sizeDidChange;b.sizeDidChange=function(){var O=T;T=!1;if(null!=this.container&&mxUtils.hasScrollbars(this.container)){this.updateMinimumSize();if(!this.autoTranslate){var X=this.getPageLayout(),Z=this.getDefaultTranslate(X),ba=this.view.translate.x,la=this.view.translate.y;if(Z.x!=ba||Z.y!=la){this.view.x0=X.x;this.view.y0=X.y;this.autoTranslate=!0;this.view.setTranslate(Z.x,Z.y);this.autoTranslate=!1;O||(this.container.scrollLeft+=Math.round((Z.x-ba)*this.view.scale),this.container.scrollTop+=
-Math.round((Z.y-la)*this.view.scale));return}}ka.apply(this,arguments)}else this.fireEvent(new mxEventObject(mxEvent.SIZE,"bounds",this.getGraphBounds()))}}}var ma=b.view.getBackgroundPane(),aa=b.view.getDrawPane();b.cumulativeZoomFactor=1;var V=null,da=null,k=null,t=null,I=null,R=function(O){null!=V&&window.clearTimeout(V);0<=O&&window.setTimeout(function(){if(!b.isMouseDown||t)V=window.setTimeout(mxUtils.bind(this,function(){b.isFastZoomEnabled()&&(null!=b.view.backgroundPageShape&&null!=b.view.backgroundPageShape.node&&
+if(!b.isViewer()){var ja=b.sizeDidChange;b.sizeDidChange=function(){var O=T;T=!1;if(null!=this.container&&mxUtils.hasScrollbars(this.container)){this.updateMinimumSize();if(!this.autoTranslate){var X=this.getPageLayout(),Z=this.getDefaultTranslate(X),ba=this.view.translate.x,ka=this.view.translate.y;if(Z.x!=ba||Z.y!=ka){this.view.x0=X.x;this.view.y0=X.y;this.autoTranslate=!0;this.view.setTranslate(Z.x,Z.y);this.autoTranslate=!1;O||(this.container.scrollLeft+=Math.round((Z.x-ba)*this.view.scale),this.container.scrollTop+=
+Math.round((Z.y-ka)*this.view.scale));return}}ja.apply(this,arguments)}else this.fireEvent(new mxEventObject(mxEvent.SIZE,"bounds",this.getGraphBounds()))}}}var ma=b.view.getBackgroundPane(),aa=b.view.getDrawPane();b.cumulativeZoomFactor=1;var V=null,da=null,k=null,t=null,I=null,R=function(O){null!=V&&window.clearTimeout(V);0<=O&&window.setTimeout(function(){if(!b.isMouseDown||t)V=window.setTimeout(mxUtils.bind(this,function(){b.isFastZoomEnabled()&&(null!=b.view.backgroundPageShape&&null!=b.view.backgroundPageShape.node&&
(mxUtils.setPrefixedStyle(b.view.backgroundPageShape.node.style,"transform-origin",null),mxUtils.setPrefixedStyle(b.view.backgroundPageShape.node.style,"transform",null)),aa.style.transformOrigin="",ma.style.transformOrigin="",mxClient.IS_SF?(aa.style.transform="scale(1)",ma.style.transform="scale(1)",window.setTimeout(function(){aa.style.transform="";ma.style.transform=""},0)):(aa.style.transform="",ma.style.transform=""),b.view.getDecoratorPane().style.opacity="",b.view.getOverlayPane().style.opacity=
-"");var X=new mxPoint(b.container.scrollLeft,b.container.scrollTop),Z=mxUtils.getOffset(b.container),ba=b.view.scale,la=0,qa=0;null!=da&&(la=b.container.offsetWidth/2-da.x+Z.x,qa=b.container.offsetHeight/2-da.y+Z.y);b.zoom(b.cumulativeZoomFactor,null,b.isFastZoomEnabled()?20:null);b.view.scale!=ba&&(null!=k&&(la+=X.x-k.x,qa+=X.y-k.y),null!=e&&g.chromelessResize(!1,null,la*(b.cumulativeZoomFactor-1),qa*(b.cumulativeZoomFactor-1)),!mxUtils.hasScrollbars(b.container)||0==la&&0==qa||(b.container.scrollLeft-=
-la*(b.cumulativeZoomFactor-1),b.container.scrollTop-=qa*(b.cumulativeZoomFactor-1)));null!=I&&aa.setAttribute("filter",I);b.cumulativeZoomFactor=1;I=t=da=k=V=null}),null!=O?O:b.isFastZoomEnabled()?g.wheelZoomDelay:g.lazyZoomDelay)},0)};b.lazyZoom=function(O,X,Z,ba){ba=null!=ba?ba:this.zoomFactor;(X=X||!b.scrollbars)&&(da=new mxPoint(b.container.offsetLeft+b.container.clientWidth/2,b.container.offsetTop+b.container.clientHeight/2));O?.15>=this.view.scale*this.cumulativeZoomFactor?this.cumulativeZoomFactor*=
+"");var X=new mxPoint(b.container.scrollLeft,b.container.scrollTop),Z=mxUtils.getOffset(b.container),ba=b.view.scale,ka=0,qa=0;null!=da&&(ka=b.container.offsetWidth/2-da.x+Z.x,qa=b.container.offsetHeight/2-da.y+Z.y);b.zoom(b.cumulativeZoomFactor,null,b.isFastZoomEnabled()?20:null);b.view.scale!=ba&&(null!=k&&(ka+=X.x-k.x,qa+=X.y-k.y),null!=e&&g.chromelessResize(!1,null,ka*(b.cumulativeZoomFactor-1),qa*(b.cumulativeZoomFactor-1)),!mxUtils.hasScrollbars(b.container)||0==ka&&0==qa||(b.container.scrollLeft-=
+ka*(b.cumulativeZoomFactor-1),b.container.scrollTop-=qa*(b.cumulativeZoomFactor-1)));null!=I&&aa.setAttribute("filter",I);b.cumulativeZoomFactor=1;I=t=da=k=V=null}),null!=O?O:b.isFastZoomEnabled()?g.wheelZoomDelay:g.lazyZoomDelay)},0)};b.lazyZoom=function(O,X,Z,ba){ba=null!=ba?ba:this.zoomFactor;(X=X||!b.scrollbars)&&(da=new mxPoint(b.container.offsetLeft+b.container.clientWidth/2,b.container.offsetTop+b.container.clientHeight/2));O?.15>=this.view.scale*this.cumulativeZoomFactor?this.cumulativeZoomFactor*=
(this.view.scale+.05)/this.view.scale:(this.cumulativeZoomFactor*=ba,this.cumulativeZoomFactor=Math.round(this.view.scale*this.cumulativeZoomFactor*100)/100/this.view.scale):.15>=this.view.scale*this.cumulativeZoomFactor?this.cumulativeZoomFactor*=(this.view.scale-.05)/this.view.scale:(this.cumulativeZoomFactor/=ba,this.cumulativeZoomFactor=Math.round(this.view.scale*this.cumulativeZoomFactor*100)/100/this.view.scale);this.cumulativeZoomFactor=Math.max(.05,Math.min(this.view.scale*this.cumulativeZoomFactor,
-160))/this.view.scale;if(b.isFastZoomEnabled()){null==I&&""!=aa.getAttribute("filter")&&(I=aa.getAttribute("filter"),aa.removeAttribute("filter"));k=new mxPoint(b.container.scrollLeft,b.container.scrollTop);O=Math.round(Math.round(this.view.scale*this.cumulativeZoomFactor*100)/100*20)/(20*this.view.scale);ba=X||null==da?b.container.scrollLeft+b.container.clientWidth/2:da.x+b.container.scrollLeft-b.container.offsetLeft;var la=X||null==da?b.container.scrollTop+b.container.clientHeight/2:da.y+b.container.scrollTop-
-b.container.offsetTop;aa.style.transformOrigin=ba+"px "+la+"px";aa.style.transform="scale("+O+")";ma.style.transformOrigin=ba+"px "+la+"px";ma.style.transform="scale("+O+")";null!=b.view.backgroundPageShape&&null!=b.view.backgroundPageShape.node?(ba=b.view.backgroundPageShape.node,mxUtils.setPrefixedStyle(ba.style,"transform-origin",(X||null==da?b.container.clientWidth/2+b.container.scrollLeft-ba.offsetLeft+"px":da.x+b.container.scrollLeft-ba.offsetLeft-b.container.offsetLeft+"px")+" "+(X||null==
-da?b.container.clientHeight/2+b.container.scrollTop-ba.offsetTop+"px":da.y+b.container.scrollTop-ba.offsetTop-b.container.offsetTop+"px")),mxUtils.setPrefixedStyle(ba.style,"transform","scale("+O+")")):b.view.validateBackgroundStyles(O,ba,la);b.view.getDecoratorPane().style.opacity="0";b.view.getOverlayPane().style.opacity="0";null!=g.hoverIcons&&g.hoverIcons.reset();b.fireEvent(new mxEventObject("zoomPreview","factor",O))}R(b.isFastZoomEnabled()?Z:0)};mxEvent.addGestureListeners(b.container,function(O){null!=
-V&&window.clearTimeout(V)},null,function(O){1!=b.cumulativeZoomFactor&&R(0)});mxEvent.addListener(b.container,"scroll",function(O){null==V||b.isMouseDown||1==b.cumulativeZoomFactor||R(0)});mxEvent.addMouseWheelListener(mxUtils.bind(this,function(O,X,Z,ba,la){b.fireEvent(new mxEventObject("wheel"));if(null==this.dialogs||0==this.dialogs.length)if(!b.scrollbars&&!Z&&b.isScrollWheelEvent(O))Z=b.view.getTranslate(),ba=40/b.view.scale,mxEvent.isShiftDown(O)?b.view.setTranslate(Z.x+(X?-ba:ba),Z.y):b.view.setTranslate(Z.x,
-Z.y+(X?ba:-ba));else if(Z||b.isZoomWheelEvent(O))for(var qa=mxEvent.getSource(O);null!=qa;){if(qa==b.container)return b.tooltipHandler.hideTooltip(),da=null!=ba&&null!=la?new mxPoint(ba,la):new mxPoint(mxEvent.getClientX(O),mxEvent.getClientY(O)),t=Z,Z=b.zoomFactor,ba=null,O.ctrlKey&&null!=O.deltaY&&40>Math.abs(O.deltaY)&&Math.round(O.deltaY)!=O.deltaY?Z=1+Math.abs(O.deltaY)/20*(Z-1):null!=O.movementY&&"pointermove"==O.type&&(Z=1+Math.max(1,Math.abs(O.movementY))/20*(Z-1),ba=-1),b.lazyZoom(X,null,
+160))/this.view.scale;if(b.isFastZoomEnabled()){null==I&&""!=aa.getAttribute("filter")&&(I=aa.getAttribute("filter"),aa.removeAttribute("filter"));k=new mxPoint(b.container.scrollLeft,b.container.scrollTop);O=Math.round(Math.round(this.view.scale*this.cumulativeZoomFactor*100)/100*20)/(20*this.view.scale);ba=X||null==da?b.container.scrollLeft+b.container.clientWidth/2:da.x+b.container.scrollLeft-b.container.offsetLeft;var ka=X||null==da?b.container.scrollTop+b.container.clientHeight/2:da.y+b.container.scrollTop-
+b.container.offsetTop;aa.style.transformOrigin=ba+"px "+ka+"px";aa.style.transform="scale("+O+")";ma.style.transformOrigin=ba+"px "+ka+"px";ma.style.transform="scale("+O+")";null!=b.view.backgroundPageShape&&null!=b.view.backgroundPageShape.node?(ba=b.view.backgroundPageShape.node,mxUtils.setPrefixedStyle(ba.style,"transform-origin",(X||null==da?b.container.clientWidth/2+b.container.scrollLeft-ba.offsetLeft+"px":da.x+b.container.scrollLeft-ba.offsetLeft-b.container.offsetLeft+"px")+" "+(X||null==
+da?b.container.clientHeight/2+b.container.scrollTop-ba.offsetTop+"px":da.y+b.container.scrollTop-ba.offsetTop-b.container.offsetTop+"px")),mxUtils.setPrefixedStyle(ba.style,"transform","scale("+O+")")):b.view.validateBackgroundStyles(O,ba,ka);b.view.getDecoratorPane().style.opacity="0";b.view.getOverlayPane().style.opacity="0";null!=g.hoverIcons&&g.hoverIcons.reset();b.fireEvent(new mxEventObject("zoomPreview","factor",O))}R(b.isFastZoomEnabled()?Z:0)};mxEvent.addGestureListeners(b.container,function(O){null!=
+V&&window.clearTimeout(V)},null,function(O){1!=b.cumulativeZoomFactor&&R(0)});mxEvent.addListener(b.container,"scroll",function(O){null==V||b.isMouseDown||1==b.cumulativeZoomFactor||R(0)});mxEvent.addMouseWheelListener(mxUtils.bind(this,function(O,X,Z,ba,ka){b.fireEvent(new mxEventObject("wheel"));if(null==this.dialogs||0==this.dialogs.length)if(!b.scrollbars&&!Z&&b.isScrollWheelEvent(O))Z=b.view.getTranslate(),ba=40/b.view.scale,mxEvent.isShiftDown(O)?b.view.setTranslate(Z.x+(X?-ba:ba),Z.y):b.view.setTranslate(Z.x,
+Z.y+(X?ba:-ba));else if(Z||b.isZoomWheelEvent(O))for(var qa=mxEvent.getSource(O);null!=qa;){if(qa==b.container)return b.tooltipHandler.hideTooltip(),da=null!=ba&&null!=ka?new mxPoint(ba,ka):new mxPoint(mxEvent.getClientX(O),mxEvent.getClientY(O)),t=Z,Z=b.zoomFactor,ba=null,O.ctrlKey&&null!=O.deltaY&&40>Math.abs(O.deltaY)&&Math.round(O.deltaY)!=O.deltaY?Z=1+Math.abs(O.deltaY)/20*(Z-1):null!=O.movementY&&"pointermove"==O.type&&(Z=1+Math.max(1,Math.abs(O.movementY))/20*(Z-1),ba=-1),b.lazyZoom(X,null,
ba,Z),mxEvent.consume(O),!1;qa=qa.parentNode}}),b.container);b.panningHandler.zoomGraph=function(O){b.cumulativeZoomFactor=O.scale;b.lazyZoom(0<O.scale,!0);mxEvent.consume(O)}};EditorUi.prototype.addChromelessToolbarItems=function(b){b(mxUtils.bind(this,function(e){this.actions.get("print").funct();mxEvent.consume(e)}),Editor.printImage,mxResources.get("print"))};EditorUi.prototype.isPagesEnabled=function(){return this.editor.editable||"1"!=urlParams["hide-pages"]};
EditorUi.prototype.createTemporaryGraph=function(b){return Graph.createOffscreenGraph(b)};EditorUi.prototype.addChromelessClickHandler=function(){var b=urlParams.highlight;null!=b&&0<b.length&&(b="#"+b);this.editor.graph.addClickHandler(b)};EditorUi.prototype.toggleFormatPanel=function(b){b=null!=b?b:0==this.formatWidth;null!=this.format&&(this.formatWidth=b?240:0,this.formatContainer.style.width=this.formatWidth+"px",this.refresh(),this.format.refresh(),this.fireEvent(new mxEventObject("formatWidthChanged")))};
EditorUi.prototype.isFormatPanelVisible=function(){return 0<this.formatWidth};EditorUi.prototype.lightboxFit=function(b){if(this.isDiagramEmpty())this.editor.graph.view.setScale(1);else{var e=urlParams.border,g=60;null!=e&&(g=parseInt(e));this.editor.graph.maxFitScale=this.lightboxMaxFitScale;this.editor.graph.fit(g,null,null,null,null,null,b);this.editor.graph.maxFitScale=null}};
@@ -2285,8 +2285,8 @@ arguments)||!mxClient.IS_CHROMEOS&&mxEvent.isShiftDown(V)};var P=l.isForceRubber
"move")}));this.panningHandler.addListener(mxEvent.PAN_END,mxUtils.bind(this,function(){this.isEnabled()&&(this.container.style.cursor=J)}));this.popupMenuHandler.autoExpand=!0;this.popupMenuHandler.isSelectOnPopup=function(V){return mxEvent.isMouseEvent(V.getEvent())};var fa=this.click;this.click=function(V){var da=null==V.state&&null!=V.sourceState&&this.isCellLocked(this.getLayerForCell(V.sourceState.cell));if(this.isEnabled()&&!da||V.isConsumed())return fa.apply(this,arguments);var k=da?V.sourceState.cell:
V.getCell();if(null!=k){var t=this.getClickableLinkForCell(k);null!=t?this.isCustomLink(t)?this.customLinkClicked(t,k):this.openLink(t):da&&this.clearSelection()}};this.tooltipHandler.getStateForEvent=function(V){return V.sourceState};var ea=this.tooltipHandler.show;this.tooltipHandler.show=function(){ea.apply(this,arguments);if(null!=this.div)for(var V=this.div.getElementsByTagName("a"),da=0;da<V.length;da++)null!=V[da].getAttribute("href")&&null==V[da].getAttribute("target")&&V[da].setAttribute("target",
"_blank")};this.tooltipHandler.getStateForEvent=function(V){return V.sourceState};this.getCursorForMouseEvent=function(V){var da=null==V.state&&null!=V.sourceState&&this.isCellLocked(V.sourceState.cell);return this.getCursorForCell(da?V.sourceState.cell:V.getCell())};var T=this.getCursorForCell;this.getCursorForCell=function(V){if(!this.isEnabled()||this.isCellLocked(V)){if(null!=this.getClickableLinkForCell(V))return"pointer";if(this.isCellLocked(V))return"default"}return T.apply(this,arguments)};
-this.selectRegion=function(V,da){var k=mxEvent.isAltDown(da)?V:null;V=this.getCells(V.x,V.y,V.width,V.height,null,null,k,null,!0);if(this.isToggleEvent(da))for(k=0;k<V.length;k++)this.selectCellForEvent(V[k],da);else this.selectCellsForEvent(V,da);return V};var ca=this.graphHandler.shouldRemoveCellsFromParent;this.graphHandler.shouldRemoveCellsFromParent=function(V,da,k){return this.graph.isCellSelected(V)?!1:ca.apply(this,arguments)};var ka=this.updateMouseEvent;this.updateMouseEvent=function(V){V=
-ka.apply(this,arguments);null!=V.state&&this.isCellLocked(this.getLayerForCell(V.getCell()))&&(null==this.getLinkForCell(V.getCell())?V.state=this.view.getState(this.getCellAt(V.getGraphX(),V.getGraphY(),null,null,null,mxUtils.bind(this,function(da,k,t){return V.state==da||this.isCellLocked(this.getLayerForCell(da.cell))&&null==this.getLinkForCell(da.cell)}))):V.state=null);return V};var ma=this.isCellSelectable;this.isCellSelectable=function(V){return ma.apply(this,arguments)&&!this.isCellLocked(this.getLayerForCell(V))};
+this.selectRegion=function(V,da){var k=mxEvent.isAltDown(da)?V:null;V=this.getCells(V.x,V.y,V.width,V.height,null,null,k,null,!0);if(this.isToggleEvent(da))for(k=0;k<V.length;k++)this.selectCellForEvent(V[k],da);else this.selectCellsForEvent(V,da);return V};var ca=this.graphHandler.shouldRemoveCellsFromParent;this.graphHandler.shouldRemoveCellsFromParent=function(V,da,k){return this.graph.isCellSelected(V)?!1:ca.apply(this,arguments)};var ja=this.updateMouseEvent;this.updateMouseEvent=function(V){V=
+ja.apply(this,arguments);null!=V.state&&this.isCellLocked(this.getLayerForCell(V.getCell()))&&(null==this.getLinkForCell(V.getCell())?V.state=this.view.getState(this.getCellAt(V.getGraphX(),V.getGraphY(),null,null,null,mxUtils.bind(this,function(da,k,t){return V.state==da||this.isCellLocked(this.getLayerForCell(da.cell))&&null==this.getLinkForCell(da.cell)}))):V.state=null);return V};var ma=this.isCellSelectable;this.isCellSelectable=function(V){return ma.apply(this,arguments)&&!this.isCellLocked(this.getLayerForCell(V))};
this.isCellLocked=function(V){for(;null!=V;){if("1"==mxUtils.getValue(this.getCurrentCellStyle(V),"locked","0"))return!0;V=this.model.getParent(V)}return!1};var aa=null;this.addListener(mxEvent.FIRE_MOUSE_EVENT,mxUtils.bind(this,function(V,da){"mouseDown"==da.getProperty("eventName")&&(V=da.getProperty("event").getState(),aa=null==V||this.isSelectionEmpty()||this.isCellSelected(V.cell)?null:this.getSelectionCells())}));this.addListener(mxEvent.TAP_AND_HOLD,mxUtils.bind(this,function(V,da){if(!mxEvent.isMultiTouchEvent(da)){V=
da.getProperty("event");var k=da.getProperty("cell");null==k?(V=mxUtils.convertPoint(this.container,mxEvent.getClientX(V),mxEvent.getClientY(V)),l.start(V.x,V.y)):null!=aa?this.addSelectionCells(aa):1<this.getSelectionCount()&&this.isCellSelected(k)&&this.removeSelectionCell(k);aa=null;da.consume()}}));this.connectionHandler.selectCells=function(V,da){this.graph.setSelectionCell(da||V)};this.connectionHandler.constraintHandler.isStateIgnored=function(V,da){var k=V.view.graph;return da&&(k.isCellSelected(V.cell)||
k.isTableRow(V.cell)&&k.selectionCellsHandler.isHandled(k.model.getParent(V.cell)))};this.selectionModel.addListener(mxEvent.CHANGE,mxUtils.bind(this,function(){var V=this.connectionHandler.constraintHandler;null!=V.currentFocus&&V.isStateIgnored(V.currentFocus,!0)&&(V.currentFocus=null,V.constraints=null,V.destroyIcons());V.destroyFocusHighlight()}));Graph.touchStyle&&this.initTouch()}this.currentTranslate=new mxPoint(0,0)};
@@ -2316,7 +2316,7 @@ Graph.exploreFromCell=function(b,e,g){pageSize=null!=g&&null!=g.pageSize?g.pageS
";curved=1;noEdgeStyle=1;entryX=none;entryY=none;exitX=none;exitY=none;labelBackgroundColor=#ffffffc0;textOpacity=100;"),L[B].setTerminal(f,null==L[B].getTerminal(!0)),l=0;l<L[B].getChildCount();l++){var P=L[B].getChildAt(l);null!=P.geometry&&P.geometry.relative&&(P.setStyle(P.getStyle()+";labelBackgroundColor=#ffffffc0;textOpacity=100;"),P.geometry.offset=new mxPoint(0,0),P.geometry.y=0,P.geometry.x=.5>P.geometry.x?-.8:.5<P.geometry.x?.8:0)}if(0<S.startIndex){var J=K.createVertex(null,null,mxResources.get("previousPage")+
" ("+Math.ceil((S.startIndex||0)/pageSize)+"/"+Math.ceil(z.length/pageSize)+")",0,0,120,30,"fillColor=green;fontColor=white;strokeColor=green;rounded=1;");J.referenceCell=f;J.startIndex=Math.max(0,(S.startIndex||0)-pageSize);L.splice(0,0,J)}if(z.length>(S.startIndex||0)+pageSize){var fa=K.createVertex(null,null,mxResources.get("nextPage")+" ("+(Math.ceil((S.startIndex||0)/pageSize)+2)+"/"+Math.ceil(z.length/pageSize)+")",0,0,120,30,"fillColor=green;fontColor=white;strokeColor=green;rounded=1;");fa.referenceCell=
f;fa.startIndex=(S.startIndex||0)+pageSize;L.splice(0,0,fa)}for(var ea in K.getModel().cells){var T=K.getModel().getCell(ea);T!=K.rootCell&&!K.getModel().isAncestor(K.rootCell,T)&&K.getModel().isVertex(T)&&K.removeCells([T])}K.addCells(L);var ca=K.getModel().getGeometry(K.rootCell);null!=ca&&(ca=ca.clone(),ca.x=W-ca.width/2,ca.y=c-ca.height/3,K.getModel().setGeometry(K.rootCell,ca));S=[];for(ea in K.getModel().cells)T=K.getModel().getCell(ea),T!=K.rootCell&&K.getModel().isVertex(T)&&K.getModel().getParent(T)==
-K.getDefaultParent()&&(S.push(T),ca=K.getModel().getGeometry(T),null!=ca&&(ca.x=W-ca.width/2,ca.y=c-ca.height/2));var ka=S.length,ma=2*Math.PI/ka,aa=Math.max(minSize,Math.min(K.container.scrollWidth/2.5-80,K.container.scrollHeight/2.5-80));for(W=0;W<ka;W++)ca=K.getModel().getGeometry(S[W]),null!=ca&&(ca=ca.clone(),ca.x+=aa*Math.sin(W*ma),ca.y+=aa*Math.cos(W*ma),K.getModel().setGeometry(S[W],ca))}finally{K.getModel().endUpdate()}}}var C=document.createElement("div");C.style.position="absolute";C.style.display=
+K.getDefaultParent()&&(S.push(T),ca=K.getModel().getGeometry(T),null!=ca&&(ca.x=W-ca.width/2,ca.y=c-ca.height/2));var ja=S.length,ma=2*Math.PI/ja,aa=Math.max(minSize,Math.min(K.container.scrollWidth/2.5-80,K.container.scrollHeight/2.5-80));for(W=0;W<ja;W++)ca=K.getModel().getGeometry(S[W]),null!=ca&&(ca=ca.clone(),ca.x+=aa*Math.sin(W*ma),ca.y+=aa*Math.cos(W*ma),K.getModel().setGeometry(S[W],ca))}finally{K.getModel().endUpdate()}}}var C=document.createElement("div");C.style.position="absolute";C.style.display=
"block";C.style.background=Editor.isDarkMode()?Editor.darkColor:"#ffffff";C.style.width="100%";C.style.height="100%";C.style.left="0px";C.style.top="0px";C.style.zIndex=2;var H=document.createElement("img");H.setAttribute("src",Editor.closeBlackImage);H.style.position="absolute";H.style.cursor="pointer";H.style.right="10px";H.style.top="10px";C.appendChild(H);var U=document.createElement("div");U.style.position="absolute";U.style.cursor="pointer";U.style.right="38px";U.style.top="14px";U.style.textAlign=
"right";U.style.verticalAlign="top";mxUtils.write(U,mxResources.get("close"));C.appendChild(U);document.body.appendChild(C);var F=function(K){27==K.keyCode&&H.click()};mxEvent.addListener(document,"keydown",F);(function(K){if(mxClient.isBrowserSupported()){var S=new Graph(K);S.keepEdgesInBackground=!0;S.isCellResizable=function(){return!1};S.isCellRotatable=function(){return!1};S.getCursorForCell=function(A){return this.model.isVertex(A)?"pointer":null};S.getFoldingImage=function(){return null};var W=
function(){mxEvent.removeListener(document,"keydown",F);K.parentNode.removeChild(K);n.scrollCellToVisible(v)};mxEvent.addListener(H,"click",W);mxEvent.addListener(U,"click",W);S.setEnabled(!1);var c=S.click;S.click=function(A){var B=A.getCell(),G=null!=B?null!=B.referenceCell?B.referenceCell:B:null;null!=B&&S.rootCell!=B&&0<S.getEdges(G).length?q(S,B):c.apply(this,arguments)};W=S.container.scrollWidth/2;var f=S.container.scrollHeight/3;S.model.beginUpdate();var l=S.importCells([v])[0];l.sourceCellId=
@@ -2507,9 +2507,9 @@ arguments);null!=W&&S&&this.graph.model.isEdge(W.cell)&&null!=W.style&&1!=W.styl
null;if(null!=K)for(var S=0;S<K.length;S++)if("hidden"!=K[S].getAttribute("visibility"))return K[S];return null};mxShape.prototype.addFlowAnimationToShape=function(){null!=this.state&&this.state.view.graph.addFlowAnimationToNode(this.getFlowAnimationPath(),this.state.style,this.state.view.scale,this.state.view.graph.addFlowAnimationStyle())};mxShape.prototype.paint=function(K){g.apply(this,arguments);this.isFlowAnimationEnabled()&&this.addFlowAnimationToShape()};var n=mxCellRenderer.prototype.isShapeInvalid;
mxCellRenderer.prototype.isShapeInvalid=function(K,S){return n.apply(this,arguments)||null!=K.routedPoints&&null!=S.routedPoints&&!mxUtils.equalPoints(S.routedPoints,K.routedPoints)};var v=mxGraphView.prototype.updateCellState;mxGraphView.prototype.updateCellState=function(K){v.apply(this,arguments);this.graph.model.isEdge(K.cell)&&1!=K.style[mxConstants.STYLE_CURVED]&&this.updateLineJumps(K)};mxGraphView.prototype.updateLineJumps=function(K){var S=K.absolutePoints;if(Graph.lineJumpsEnabled){var W=
null!=K.routedPoints,c=null;if(null!=S&&null!=this.validEdges&&"none"!==mxUtils.getValue(K.style,"jumpStyle","none")){var f=function(ma,aa,V){var da=new mxPoint(aa,V);da.type=ma;c.push(da);da=null!=K.routedPoints?K.routedPoints[c.length-1]:null;return null==da||da.type!=ma||da.x!=aa||da.y!=V},l=.5*this.scale;W=!1;c=[];for(var z=0;z<S.length-1;z++){for(var A=S[z+1],B=S[z],G=[],L=S[z+2];z<S.length-2&&mxUtils.ptSegDistSq(B.x,B.y,L.x,L.y,A.x,A.y)<1*this.scale*this.scale;)A=L,z++,L=S[z+2];W=f(0,B.x,B.y)||
-W;for(var P=0;P<this.validEdges.length;P++){var J=this.validEdges[P],fa=J.absolutePoints;if(null!=fa&&mxUtils.intersects(K,J)&&"1"!=J.style.noJump){var ea=null;for(J=0;J<fa.length-1;J++){var T=fa[J+1],ca=fa[J];for(L=fa[J+2];J<fa.length-2&&mxUtils.ptSegDistSq(ca.x,ca.y,L.x,L.y,T.x,T.y)<1*this.scale*this.scale;)T=L,J++,L=fa[J+2];var ka=mxUtils.intersection(B.x,B.y,A.x,A.y,ca.x,ca.y,T.x,T.y);if(null!=ka&&(Math.abs(ka.x-B.x)>l||Math.abs(ka.y-B.y)>l)&&(Math.abs(ka.x-A.x)>l||Math.abs(ka.y-A.y)>l)&&(null==
-ea||mxUtils.ptLineDist(B.x,B.y,A.x,A.y,ea.x,ea.y)>l||mxUtils.ptLineDist(B.x,B.y,A.x,A.y,ca.x,ca.y)>l)&&(null==L||mxUtils.ptLineDist(B.x,B.y,A.x,A.y,L.x,L.y)>l||mxUtils.ptLineDist(B.x,B.y,A.x,A.y,T.x,T.y)>l)){L=ka.x-B.x;ea=ka.y-B.y;ka={distSq:L*L+ea*ea,x:ka.x,y:ka.y};for(L=0;L<G.length;L++)if(G[L].distSq>ka.distSq){G.splice(L,0,ka);ka=null;break}null==ka||0!=G.length&&G[G.length-1].x===ka.x&&G[G.length-1].y===ka.y||G.push(ka)}ea=ca}}}for(J=0;J<G.length;J++)W=f(1,G[J].x,G[J].y)||W}ka=S[S.length-1];
-W=f(0,ka.x,ka.y)||W}K.routedPoints=c;return W}return!1};var q=mxConnector.prototype.paintLine;mxConnector.prototype.paintLine=function(K,S,W){this.routedPoints=null!=this.state?this.state.routedPoints:null;if(this.outline||null==this.state||null==this.style||null==this.state.routedPoints||0==this.state.routedPoints.length)q.apply(this,arguments);else{var c=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2,f=(parseInt(mxUtils.getValue(this.style,"jumpSize",Graph.defaultJumpSize))-
+W;for(var P=0;P<this.validEdges.length;P++){var J=this.validEdges[P],fa=J.absolutePoints;if(null!=fa&&mxUtils.intersects(K,J)&&"1"!=J.style.noJump){var ea=null;for(J=0;J<fa.length-1;J++){var T=fa[J+1],ca=fa[J];for(L=fa[J+2];J<fa.length-2&&mxUtils.ptSegDistSq(ca.x,ca.y,L.x,L.y,T.x,T.y)<1*this.scale*this.scale;)T=L,J++,L=fa[J+2];var ja=mxUtils.intersection(B.x,B.y,A.x,A.y,ca.x,ca.y,T.x,T.y);if(null!=ja&&(Math.abs(ja.x-B.x)>l||Math.abs(ja.y-B.y)>l)&&(Math.abs(ja.x-A.x)>l||Math.abs(ja.y-A.y)>l)&&(null==
+ea||mxUtils.ptLineDist(B.x,B.y,A.x,A.y,ea.x,ea.y)>l||mxUtils.ptLineDist(B.x,B.y,A.x,A.y,ca.x,ca.y)>l)&&(null==L||mxUtils.ptLineDist(B.x,B.y,A.x,A.y,L.x,L.y)>l||mxUtils.ptLineDist(B.x,B.y,A.x,A.y,T.x,T.y)>l)){L=ja.x-B.x;ea=ja.y-B.y;ja={distSq:L*L+ea*ea,x:ja.x,y:ja.y};for(L=0;L<G.length;L++)if(G[L].distSq>ja.distSq){G.splice(L,0,ja);ja=null;break}null==ja||0!=G.length&&G[G.length-1].x===ja.x&&G[G.length-1].y===ja.y||G.push(ja)}ea=ca}}}for(J=0;J<G.length;J++)W=f(1,G[J].x,G[J].y)||W}ja=S[S.length-1];
+W=f(0,ja.x,ja.y)||W}K.routedPoints=c;return W}return!1};var q=mxConnector.prototype.paintLine;mxConnector.prototype.paintLine=function(K,S,W){this.routedPoints=null!=this.state?this.state.routedPoints:null;if(this.outline||null==this.state||null==this.style||null==this.state.routedPoints||0==this.state.routedPoints.length)q.apply(this,arguments);else{var c=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2,f=(parseInt(mxUtils.getValue(this.style,"jumpSize",Graph.defaultJumpSize))-
2)/2+this.strokewidth,l=mxUtils.getValue(this.style,"jumpStyle","none"),z=!0,A=null,B=null,G=[],L=null;K.begin();for(var P=0;P<this.state.routedPoints.length;P++){var J=this.state.routedPoints[P],fa=new mxPoint(J.x/this.scale,J.y/this.scale);0==P?fa=S[0]:P==this.state.routedPoints.length-1&&(fa=S[S.length-1]);var ea=!1;if(null!=A&&1==J.type){var T=this.state.routedPoints[P+1];J=T.x/this.scale-fa.x;T=T.y/this.scale-fa.y;J=J*J+T*T;null==L&&(L=new mxPoint(fa.x-A.x,fa.y-A.y),B=Math.sqrt(L.x*L.x+L.y*L.y),
0<B?(L.x=L.x*f/B,L.y=L.y*f/B):L=null);J>f*f&&0<B&&(J=A.x-fa.x,T=A.y-fa.y,J=J*J+T*T,J>f*f&&(ea=new mxPoint(fa.x-L.x,fa.y-L.y),J=new mxPoint(fa.x+L.x,fa.y+L.y),G.push(ea),this.addPoints(K,G,W,c,!1,null,z),G=0>Math.round(L.x)||0==Math.round(L.x)&&0>=Math.round(L.y)?1:-1,z=!1,"sharp"==l?(K.lineTo(ea.x-L.y*G,ea.y+L.x*G),K.lineTo(J.x-L.y*G,J.y+L.x*G),K.lineTo(J.x,J.y)):"line"==l?(K.moveTo(ea.x+L.y*G,ea.y-L.x*G),K.lineTo(ea.x-L.y*G,ea.y+L.x*G),K.moveTo(J.x-L.y*G,J.y+L.x*G),K.lineTo(J.x+L.y*G,J.y-L.x*G),
K.moveTo(J.x,J.y)):"arc"==l?(G*=1.3,K.curveTo(ea.x-L.y*G,ea.y+L.x*G,J.x-L.y*G,J.y+L.x*G,J.x,J.y)):(K.moveTo(J.x,J.y),z=!0),G=[J],ea=!0))}else L=null;ea||(G.push(fa),A=fa)}this.addPoints(K,G,W,c,!1,null,z);K.stroke()}};var C=mxGraphView.prototype.getFixedTerminalPoint;mxGraphView.prototype.getFixedTerminalPoint=function(K,S,W,c){return null!=S&&"centerPerimeter"==S.style[mxConstants.STYLE_PERIMETER]?new mxPoint(S.getCenterX(),S.getCenterY()):C.apply(this,arguments)};var H=mxGraphView.prototype.updateFloatingTerminalPoint;
@@ -2535,152 +2535,150 @@ var q=mxConnectionHandler.prototype.createShape;mxConnectionHandler.prototype.cr
return u};Graph.prototype.defaultVertexStyle={};Graph.prototype.defaultEdgeStyle={edgeStyle:"orthogonalEdgeStyle",rounded:"0",jettySize:"auto",orthogonalLoop:"1"};Graph.prototype.createCurrentEdgeStyle=function(){for(var u="edgeStyle="+(this.currentEdgeStyle.edgeStyle||"none")+";",N="shape curved rounded comic sketch fillWeight hachureGap hachureAngle jiggle disableMultiStroke disableMultiStrokeFill fillStyle curveFitting simplification comicStyle jumpStyle jumpSize".split(" "),Q=0;Q<N.length;Q++)null!=
this.currentEdgeStyle[N[Q]]&&(u+=N[Q]+"="+this.currentEdgeStyle[N[Q]]+";");null!=this.currentEdgeStyle.orthogonalLoop?u+="orthogonalLoop="+this.currentEdgeStyle.orthogonalLoop+";":null!=Graph.prototype.defaultEdgeStyle.orthogonalLoop&&(u+="orthogonalLoop="+Graph.prototype.defaultEdgeStyle.orthogonalLoop+";");null!=this.currentEdgeStyle.jettySize?u+="jettySize="+this.currentEdgeStyle.jettySize+";":null!=Graph.prototype.defaultEdgeStyle.jettySize&&(u+="jettySize="+Graph.prototype.defaultEdgeStyle.jettySize+
";");"elbowEdgeStyle"==this.currentEdgeStyle.edgeStyle&&null!=this.currentEdgeStyle.elbow&&(u+="elbow="+this.currentEdgeStyle.elbow+";");return u=null!=this.currentEdgeStyle.html?u+("html="+this.currentEdgeStyle.html+";"):u+"html=1;"};Graph.prototype.getPagePadding=function(){return new mxPoint(0,0)};Graph.prototype.loadStylesheet=function(){var u=null!=this.themes?this.themes[this.defaultThemeName]:mxStyleRegistry.dynamicLoading?mxUtils.load(STYLE_PATH+"/default.xml").getDocumentElement():null;null!=
-u&&(new mxCodec(u.ownerDocument)).decode(u,this.getStylesheet())};Graph.prototype.createCellLookup=function(u,N){N=null!=N?N:{};for(var Q=0;Q<u.length;Q++){var Y=u[Q];N[mxObjectIdentity.get(Y)]=Y.getId();for(var ia=this.model.getChildCount(Y),ja=0;ja<ia;ja++)this.createCellLookup([this.model.getChildAt(Y,ja)],N)}return N};Graph.prototype.createCellMapping=function(u,N,Q){Q=null!=Q?Q:{};for(var Y in u){var ia=N[Y];null==Q[ia]&&(Q[ia]=u[Y].getId()||"")}return Q};Graph.prototype.importGraphModel=function(u,
-N,Q,Y){N=null!=N?N:0;Q=null!=Q?Q:0;var ia=new mxCodec(u.ownerDocument),ja=new mxGraphModel;ia.decode(u,ja);u=[];ia={};var oa={},ta=ja.getChildren(this.cloneCell(ja.root,this.isCloneInvalidEdges(),ia));if(null!=ta){var sa=this.createCellLookup([ja.root]);ta=ta.slice();this.model.beginUpdate();try{if(1!=ta.length||this.isCellLocked(this.getDefaultParent()))for(ja=0;ja<ta.length;ja++)xa=this.model.getChildren(this.moveCells([ta[ja]],N,Q,!1,this.model.getRoot())[0]),null!=xa&&(u=u.concat(xa));else{var xa=
-ja.getChildren(ta[0]);null!=xa&&(u=this.moveCells(xa,N,Q,!1,this.getDefaultParent()),oa[ja.getChildAt(ja.root,0).getId()]=this.getDefaultParent().getId())}if(null!=u&&(this.createCellMapping(ia,sa,oa),this.updateCustomLinks(oa,u),Y)){this.isGridEnabled()&&(N=this.snap(N),Q=this.snap(Q));var Ca=this.getBoundingBoxFromGeometry(u,!0);null!=Ca&&this.moveCells(u,N-Ca.x,Q-Ca.y)}}finally{this.model.endUpdate()}}return u};Graph.prototype.encodeCells=function(u){for(var N={},Q=this.cloneCells(u,null,N),Y=
-new mxDictionary,ia=0;ia<u.length;ia++)Y.put(u[ia],!0);var ja=new mxCodec,oa=new mxGraphModel,ta=oa.getChildAt(oa.getRoot(),0);for(ia=0;ia<Q.length;ia++){oa.add(ta,Q[ia]);var sa=this.view.getState(u[ia]);if(null!=sa){var xa=this.getCellGeometry(Q[ia]);null!=xa&&xa.relative&&!this.model.isEdge(u[ia])&&null==Y.get(this.model.getParent(u[ia]))&&(xa.offset=null,xa.relative=!1,xa.x=sa.x/sa.view.scale-sa.view.translate.x,xa.y=sa.y/sa.view.scale-sa.view.translate.y)}}this.updateCustomLinks(this.createCellMapping(N,
-this.createCellLookup(u)),Q);return ja.encode(oa)};Graph.prototype.isSwimlane=function(u,N){var Q=null;null==u||this.model.isEdge(u)||this.model.getParent(u)==this.model.getRoot()||(Q=this.getCurrentCellStyle(u,N)[mxConstants.STYLE_SHAPE]);return Q==mxConstants.SHAPE_SWIMLANE||"table"==Q||"tableRow"==Q};var H=Graph.prototype.isCellEditable;Graph.prototype.isCellEditable=function(u){return null!=u&&H.apply(this,arguments)?this.isTableCell(u)||this.isTableRow(u)?this.isCellEditable(this.model.getParent(u)):
+u&&(new mxCodec(u.ownerDocument)).decode(u,this.getStylesheet())};Graph.prototype.createCellLookup=function(u,N){N=null!=N?N:{};for(var Q=0;Q<u.length;Q++){var Y=u[Q];N[mxObjectIdentity.get(Y)]=Y.getId();for(var ia=this.model.getChildCount(Y),la=0;la<ia;la++)this.createCellLookup([this.model.getChildAt(Y,la)],N)}return N};Graph.prototype.createCellMapping=function(u,N,Q){Q=null!=Q?Q:{};for(var Y in u){var ia=N[Y];null==Q[ia]&&(Q[ia]=u[Y].getId()||"")}return Q};Graph.prototype.importGraphModel=function(u,
+N,Q,Y){N=null!=N?N:0;Q=null!=Q?Q:0;var ia=new mxCodec(u.ownerDocument),la=new mxGraphModel;ia.decode(u,la);u=[];ia={};var oa={},ta=la.getChildren(this.cloneCell(la.root,this.isCloneInvalidEdges(),ia));if(null!=ta){var sa=this.createCellLookup([la.root]);ta=ta.slice();this.model.beginUpdate();try{if(1!=ta.length||this.isCellLocked(this.getDefaultParent()))for(la=0;la<ta.length;la++)ya=this.model.getChildren(this.moveCells([ta[la]],N,Q,!1,this.model.getRoot())[0]),null!=ya&&(u=u.concat(ya));else{var ya=
+la.getChildren(ta[0]);null!=ya&&(u=this.moveCells(ya,N,Q,!1,this.getDefaultParent()),oa[la.getChildAt(la.root,0).getId()]=this.getDefaultParent().getId())}if(null!=u&&(this.createCellMapping(ia,sa,oa),this.updateCustomLinks(oa,u),Y)){this.isGridEnabled()&&(N=this.snap(N),Q=this.snap(Q));var Ha=this.getBoundingBoxFromGeometry(u,!0);null!=Ha&&this.moveCells(u,N-Ha.x,Q-Ha.y)}}finally{this.model.endUpdate()}}return u};Graph.prototype.encodeCells=function(u){for(var N={},Q=this.cloneCells(u,null,N),Y=
+new mxDictionary,ia=0;ia<u.length;ia++)Y.put(u[ia],!0);var la=new mxCodec,oa=new mxGraphModel,ta=oa.getChildAt(oa.getRoot(),0);for(ia=0;ia<Q.length;ia++){oa.add(ta,Q[ia]);var sa=this.view.getState(u[ia]);if(null!=sa){var ya=this.getCellGeometry(Q[ia]);null!=ya&&ya.relative&&!this.model.isEdge(u[ia])&&null==Y.get(this.model.getParent(u[ia]))&&(ya.offset=null,ya.relative=!1,ya.x=sa.x/sa.view.scale-sa.view.translate.x,ya.y=sa.y/sa.view.scale-sa.view.translate.y)}}this.updateCustomLinks(this.createCellMapping(N,
+this.createCellLookup(u)),Q);return la.encode(oa)};Graph.prototype.isSwimlane=function(u,N){var Q=null;null==u||this.model.isEdge(u)||this.model.getParent(u)==this.model.getRoot()||(Q=this.getCurrentCellStyle(u,N)[mxConstants.STYLE_SHAPE]);return Q==mxConstants.SHAPE_SWIMLANE||"table"==Q||"tableRow"==Q};var H=Graph.prototype.isCellEditable;Graph.prototype.isCellEditable=function(u){return null!=u&&H.apply(this,arguments)?this.isTableCell(u)||this.isTableRow(u)?this.isCellEditable(this.model.getParent(u)):
!0:!1};var U=Graph.prototype.isCellMovable;Graph.prototype.isCellMovable=function(u){return null!=u&&U.apply(this,arguments)?this.isTableCell(u)||this.isTableRow(u)?this.isCellMovable(this.model.getParent(u)):!0:!1};var F=Graph.prototype.isExtendParent;Graph.prototype.isExtendParent=function(u){var N=this.model.getParent(u);if(null!=N){var Q=this.getCurrentCellStyle(N);if(null!=Q.expand)return"0"!=Q.expand}return F.apply(this,arguments)&&(null==N||!this.isTable(N))};var K=Graph.prototype.splitEdge;
-Graph.prototype.splitEdge=function(u,N,Q,Y,ia,ja,oa,ta){null==ta&&(ta=this.model.getParent(u),this.isTable(ta)||this.isTableRow(ta))&&(ta=this.getCellAt(ja,oa,null,!0,!1));Q=null;this.model.beginUpdate();try{Q=K.apply(this,[u,N,Q,Y,ia,ja,oa,ta]);this.model.setValue(Q,"");var sa=this.getChildCells(Q,!0);for(N=0;N<sa.length;N++){var xa=this.getCellGeometry(sa[N]);null!=xa&&xa.relative&&0<xa.x&&this.model.remove(sa[N])}var Ca=this.getChildCells(u,!0);for(N=0;N<Ca.length;N++)xa=this.getCellGeometry(Ca[N]),
-null!=xa&&xa.relative&&0>=xa.x&&this.model.remove(Ca[N]);var Oa=this.model.getTerminal(Q,!1);if(null!=Oa){var Wa=this.getCurrentCellStyle(Oa);null!=Wa&&"1"==Wa.snapToPoint&&(this.setCellStyles(mxConstants.STYLE_EXIT_X,null,[u]),this.setCellStyles(mxConstants.STYLE_EXIT_Y,null,[u]),this.setCellStyles(mxConstants.STYLE_ENTRY_X,null,[Q]),this.setCellStyles(mxConstants.STYLE_ENTRY_Y,null,[Q]))}}finally{this.model.endUpdate()}return Q};var S=Graph.prototype.selectCell;Graph.prototype.selectCell=function(u,
-N,Q){if(N||Q)S.apply(this,arguments);else{var Y=this.getSelectionCell(),ia=null,ja=[],oa=mxUtils.bind(this,function(ta){if(null!=this.view.getState(ta)&&(this.model.isVertex(ta)||this.model.isEdge(ta)))if(ja.push(ta),ta==Y)ia=ja.length-1;else if(u&&null==Y&&0<ja.length||null!=ia&&u&&ja.length>ia||!u&&0<ia)return;for(var sa=0;sa<this.model.getChildCount(ta);sa++)oa(this.model.getChildAt(ta,sa))});oa(this.model.root);0<ja.length&&(ia=null!=ia?mxUtils.mod(ia+(u?1:-1),ja.length):0,this.setSelectionCell(ja[ia]))}};
-Graph.prototype.swapShapes=function(u,N){if(this.model.isVertex(u)&&this.model.isVertex(N)&&2==this.getMovableCells([u,N]).length){var Q=this.getCellGeometry(u),Y=this.getCellGeometry(N);if(null!=Q&&null!=Y){var ia=Q.clone(),ja=Y.clone();this.model.beginUpdate();try{ia.x=Y.getCenterX()-Q.width/2,ia.y=Y.getCenterY()-Q.height/2,ja.x=Q.getCenterX()-Y.width/2,ja.y=Q.getCenterY()-Y.height/2,this.model.setGeometry(u,ia),this.model.setGeometry(N,ja)}finally{this.model.endUpdate()}}}};var W=Graph.prototype.moveCells;
-Graph.prototype.moveCells=function(u,N,Q,Y,ia,ja,oa){oa=null!=oa?oa:{};if(this.isTable(ia)){for(var ta=[],sa=0;sa<u.length;sa++)this.isTable(u[sa])?ta=ta.concat(this.model.getChildCells(u[sa],!0).reverse()):ta.push(u[sa]);u=ta}this.model.beginUpdate();try{ta=[];for(sa=0;sa<u.length;sa++)if(null!=ia&&this.isTableRow(u[sa])){var xa=this.model.getParent(u[sa]),Ca=this.getCellGeometry(u[sa]);this.isTable(xa)&&ta.push(xa);if(null!=xa&&null!=Ca&&this.isTable(xa)&&this.isTable(ia)&&(Y||xa!=ia)){if(!Y){var Oa=
-this.getCellGeometry(xa);null!=Oa&&(Oa=Oa.clone(),Oa.height-=Ca.height,this.model.setGeometry(xa,Oa))}Oa=this.getCellGeometry(ia);null!=Oa&&(Oa=Oa.clone(),Oa.height+=Ca.height,this.model.setGeometry(ia,Oa));var Wa=this.model.getChildCells(ia,!0);if(0<Wa.length){u[sa]=Y?this.cloneCell(u[sa]):u[sa];var Za=this.model.getChildCells(u[sa],!0),ab=this.model.getChildCells(Wa[0],!0),Ta=ab.length-Za.length;if(0<Ta)for(var Pa=0;Pa<Ta;Pa++){var kb=this.cloneCell(Za[Za.length-1]);null!=kb&&(kb.value="",this.model.add(u[sa],
+Graph.prototype.splitEdge=function(u,N,Q,Y,ia,la,oa,ta){null==ta&&(ta=this.model.getParent(u),this.isTable(ta)||this.isTableRow(ta))&&(ta=this.getCellAt(la,oa,null,!0,!1));Q=null;this.model.beginUpdate();try{Q=K.apply(this,[u,N,Q,Y,ia,la,oa,ta]);this.model.setValue(Q,"");var sa=this.getChildCells(Q,!0);for(N=0;N<sa.length;N++){var ya=this.getCellGeometry(sa[N]);null!=ya&&ya.relative&&0<ya.x&&this.model.remove(sa[N])}var Ha=this.getChildCells(u,!0);for(N=0;N<Ha.length;N++)ya=this.getCellGeometry(Ha[N]),
+null!=ya&&ya.relative&&0>=ya.x&&this.model.remove(Ha[N]);var Oa=this.model.getTerminal(Q,!1);if(null!=Oa){var Wa=this.getCurrentCellStyle(Oa);null!=Wa&&"1"==Wa.snapToPoint&&(this.setCellStyles(mxConstants.STYLE_EXIT_X,null,[u]),this.setCellStyles(mxConstants.STYLE_EXIT_Y,null,[u]),this.setCellStyles(mxConstants.STYLE_ENTRY_X,null,[Q]),this.setCellStyles(mxConstants.STYLE_ENTRY_Y,null,[Q]))}}finally{this.model.endUpdate()}return Q};var S=Graph.prototype.selectCell;Graph.prototype.selectCell=function(u,
+N,Q){if(N||Q)S.apply(this,arguments);else{var Y=this.getSelectionCell(),ia=null,la=[],oa=mxUtils.bind(this,function(ta){if(null!=this.view.getState(ta)&&(this.model.isVertex(ta)||this.model.isEdge(ta)))if(la.push(ta),ta==Y)ia=la.length-1;else if(u&&null==Y&&0<la.length||null!=ia&&u&&la.length>ia||!u&&0<ia)return;for(var sa=0;sa<this.model.getChildCount(ta);sa++)oa(this.model.getChildAt(ta,sa))});oa(this.model.root);0<la.length&&(ia=null!=ia?mxUtils.mod(ia+(u?1:-1),la.length):0,this.setSelectionCell(la[ia]))}};
+Graph.prototype.swapShapes=function(u,N){if(this.model.isVertex(u)&&this.model.isVertex(N)&&2==this.getMovableCells([u,N]).length){var Q=this.getCellGeometry(u),Y=this.getCellGeometry(N);if(null!=Q&&null!=Y){var ia=Q.clone(),la=Y.clone();this.model.beginUpdate();try{ia.x=Y.getCenterX()-Q.width/2,ia.y=Y.getCenterY()-Q.height/2,la.x=Q.getCenterX()-Y.width/2,la.y=Q.getCenterY()-Y.height/2,this.model.setGeometry(u,ia),this.model.setGeometry(N,la)}finally{this.model.endUpdate()}}}};var W=Graph.prototype.moveCells;
+Graph.prototype.moveCells=function(u,N,Q,Y,ia,la,oa){oa=null!=oa?oa:{};if(this.isTable(ia)){for(var ta=[],sa=0;sa<u.length;sa++)this.isTable(u[sa])?ta=ta.concat(this.model.getChildCells(u[sa],!0).reverse()):ta.push(u[sa]);u=ta}this.model.beginUpdate();try{ta=[];for(sa=0;sa<u.length;sa++)if(null!=ia&&this.isTableRow(u[sa])){var ya=this.model.getParent(u[sa]),Ha=this.getCellGeometry(u[sa]);this.isTable(ya)&&ta.push(ya);if(null!=ya&&null!=Ha&&this.isTable(ya)&&this.isTable(ia)&&(Y||ya!=ia)){if(!Y){var Oa=
+this.getCellGeometry(ya);null!=Oa&&(Oa=Oa.clone(),Oa.height-=Ha.height,this.model.setGeometry(ya,Oa))}Oa=this.getCellGeometry(ia);null!=Oa&&(Oa=Oa.clone(),Oa.height+=Ha.height,this.model.setGeometry(ia,Oa));var Wa=this.model.getChildCells(ia,!0);if(0<Wa.length){u[sa]=Y?this.cloneCell(u[sa]):u[sa];var Za=this.model.getChildCells(u[sa],!0),ab=this.model.getChildCells(Wa[0],!0),Ta=ab.length-Za.length;if(0<Ta)for(var Pa=0;Pa<Ta;Pa++){var kb=this.cloneCell(Za[Za.length-1]);null!=kb&&(kb.value="",this.model.add(u[sa],
kb))}else if(0>Ta)for(Pa=0;Pa>Ta;Pa--)this.model.remove(Za[Za.length+Pa-1]);Za=this.model.getChildCells(u[sa],!0);for(Pa=0;Pa<ab.length;Pa++){var cb=this.getCellGeometry(ab[Pa]),$a=this.getCellGeometry(Za[Pa]);null!=cb&&null!=$a&&($a=$a.clone(),$a.width=cb.width,this.model.setGeometry(Za[Pa],$a))}}}}var gb=W.apply(this,arguments);for(sa=0;sa<ta.length;sa++)!Y&&this.model.contains(ta[sa])&&0==this.model.getChildCount(ta[sa])&&this.model.remove(ta[sa]);Y&&this.updateCustomLinks(this.createCellMapping(oa,
-this.createCellLookup(u)),gb)}finally{this.model.endUpdate()}return gb};var c=Graph.prototype.removeCells;Graph.prototype.removeCells=function(u,N){var Q=[];this.model.beginUpdate();try{for(var Y=0;Y<u.length;Y++)if(this.isTableCell(u[Y])){var ia=this.model.getParent(u[Y]),ja=this.model.getParent(ia);1==this.model.getChildCount(ia)&&1==this.model.getChildCount(ja)?0>mxUtils.indexOf(u,ja)&&0>mxUtils.indexOf(Q,ja)&&Q.push(ja):this.labelChanged(u[Y],"")}else{if(this.isTableRow(u[Y])&&(ja=this.model.getParent(u[Y]),
-0>mxUtils.indexOf(u,ja)&&0>mxUtils.indexOf(Q,ja))){for(var oa=this.model.getChildCells(ja,!0),ta=0,sa=0;sa<oa.length;sa++)0<=mxUtils.indexOf(u,oa[sa])&&ta++;ta==oa.length&&Q.push(ja)}Q.push(u[Y])}Q=c.apply(this,[Q,N])}finally{this.model.endUpdate()}return Q};Graph.prototype.updateCustomLinks=function(u,N,Q){Q=null!=Q?Q:new Graph;for(var Y=0;Y<N.length;Y++)null!=N[Y]&&Q.updateCustomLinksForCell(u,N[Y],Q)};Graph.prototype.updateCustomLinksForCell=function(u,N){this.doUpdateCustomLinksForCell(u,N);for(var Q=
-this.model.getChildCount(N),Y=0;Y<Q;Y++)this.updateCustomLinksForCell(u,this.model.getChildAt(N,Y))};Graph.prototype.doUpdateCustomLinksForCell=function(u,N){};Graph.prototype.getAllConnectionConstraints=function(u,N){if(null!=u){N=mxUtils.getValue(u.style,"points",null);if(null!=N){u=[];try{var Q=JSON.parse(N);for(N=0;N<Q.length;N++){var Y=Q[N];u.push(new mxConnectionConstraint(new mxPoint(Y[0],Y[1]),2<Y.length?"0"!=Y[2]:!0,null,3<Y.length?Y[3]:0,4<Y.length?Y[4]:0))}}catch(ja){}return u}if(null!=
+this.createCellLookup(u)),gb)}finally{this.model.endUpdate()}return gb};var c=Graph.prototype.removeCells;Graph.prototype.removeCells=function(u,N){var Q=[];this.model.beginUpdate();try{for(var Y=0;Y<u.length;Y++)if(this.isTableCell(u[Y])){var ia=this.model.getParent(u[Y]),la=this.model.getParent(ia);1==this.model.getChildCount(ia)&&1==this.model.getChildCount(la)?0>mxUtils.indexOf(u,la)&&0>mxUtils.indexOf(Q,la)&&Q.push(la):this.labelChanged(u[Y],"")}else{if(this.isTableRow(u[Y])&&(la=this.model.getParent(u[Y]),
+0>mxUtils.indexOf(u,la)&&0>mxUtils.indexOf(Q,la))){for(var oa=this.model.getChildCells(la,!0),ta=0,sa=0;sa<oa.length;sa++)0<=mxUtils.indexOf(u,oa[sa])&&ta++;ta==oa.length&&Q.push(la)}Q.push(u[Y])}Q=c.apply(this,[Q,N])}finally{this.model.endUpdate()}return Q};Graph.prototype.updateCustomLinks=function(u,N,Q){Q=null!=Q?Q:new Graph;for(var Y=0;Y<N.length;Y++)null!=N[Y]&&Q.updateCustomLinksForCell(u,N[Y],Q)};Graph.prototype.updateCustomLinksForCell=function(u,N){this.doUpdateCustomLinksForCell(u,N);for(var Q=
+this.model.getChildCount(N),Y=0;Y<Q;Y++)this.updateCustomLinksForCell(u,this.model.getChildAt(N,Y))};Graph.prototype.doUpdateCustomLinksForCell=function(u,N){};Graph.prototype.getAllConnectionConstraints=function(u,N){if(null!=u){N=mxUtils.getValue(u.style,"points",null);if(null!=N){u=[];try{var Q=JSON.parse(N);for(N=0;N<Q.length;N++){var Y=Q[N];u.push(new mxConnectionConstraint(new mxPoint(Y[0],Y[1]),2<Y.length?"0"!=Y[2]:!0,null,3<Y.length?Y[3]:0,4<Y.length?Y[4]:0))}}catch(la){}return u}if(null!=
u.shape&&null!=u.shape.bounds){Y=u.shape.direction;N=u.shape.bounds;var ia=u.shape.scale;Q=N.width/ia;N=N.height/ia;if(Y==mxConstants.DIRECTION_NORTH||Y==mxConstants.DIRECTION_SOUTH)Y=Q,Q=N,N=Y;N=u.shape.getConstraints(u.style,Q,N);if(null!=N)return N;if(null!=u.shape.stencil&&null!=u.shape.stencil.constraints)return u.shape.stencil.constraints;if(null!=u.shape.constraints)return u.shape.constraints}}return null};Graph.prototype.flipEdge=function(u){if(null!=u){var N=this.getCurrentCellStyle(u);N=
mxUtils.getValue(N,mxConstants.STYLE_ELBOW,mxConstants.ELBOW_HORIZONTAL)==mxConstants.ELBOW_HORIZONTAL?mxConstants.ELBOW_VERTICAL:mxConstants.ELBOW_HORIZONTAL;this.setCellStyles(mxConstants.STYLE_ELBOW,N,[u])}};Graph.prototype.isValidRoot=function(u){for(var N=this.model.getChildCount(u),Q=0,Y=0;Y<N;Y++){var ia=this.model.getChildAt(u,Y);this.model.isVertex(ia)&&(ia=this.getCellGeometry(ia),null==ia||ia.relative||Q++)}return 0<Q||this.isContainer(u)};Graph.prototype.isValidDropTarget=function(u,N,
-Q){for(var Y=this.getCurrentCellStyle(u),ia=!0,ja=!0,oa=0;oa<N.length&&ja;oa++)ia=ia&&this.isTable(N[oa]),ja=ja&&this.isTableRow(N[oa]);return!this.isCellLocked(u)&&(this.isTargetShape(u,N,Q)||("1"!=mxUtils.getValue(Y,"part","0")||this.isContainer(u))&&"0"!=mxUtils.getValue(Y,"dropTarget","1")&&(mxGraph.prototype.isValidDropTarget.apply(this,arguments)||this.isContainer(u))&&!this.isTableRow(u)&&(!this.isTable(u)||ja||ia))};Graph.prototype.createGroupCell=function(){var u=mxGraph.prototype.createGroupCell.apply(this,
+Q){for(var Y=this.getCurrentCellStyle(u),ia=!0,la=!0,oa=0;oa<N.length&&la;oa++)ia=ia&&this.isTable(N[oa]),la=la&&this.isTableRow(N[oa]);return!this.isCellLocked(u)&&(this.isTargetShape(u,N,Q)||("1"!=mxUtils.getValue(Y,"part","0")||this.isContainer(u))&&"0"!=mxUtils.getValue(Y,"dropTarget","1")&&(mxGraph.prototype.isValidDropTarget.apply(this,arguments)||this.isContainer(u))&&!this.isTableRow(u)&&(!this.isTable(u)||la||ia))};Graph.prototype.createGroupCell=function(){var u=mxGraph.prototype.createGroupCell.apply(this,
arguments);u.setStyle("group");return u};Graph.prototype.isExtendParentsOnAdd=function(u){var N=mxGraph.prototype.isExtendParentsOnAdd.apply(this,arguments);if(N&&null!=u&&null!=this.layoutManager){var Q=this.model.getParent(u);null!=Q&&(Q=this.layoutManager.getLayout(Q),null!=Q&&Q.constructor==mxStackLayout&&(N=!1))}return N};Graph.prototype.getPreferredSizeForCell=function(u,N,Q){Q=null!=Q?Q:this.gridEnabled;var Y=mxGraph.prototype.getPreferredSizeForCell.apply(this,arguments);null!=Y&&(Y.width+=
-10,Y.height+=4,Q&&(Y.width=this.snap(Y.width),Y.height=this.snap(Y.height)));return Y};Graph.prototype.turnShapes=function(u,N){var Q=this.getModel(),Y=[];Q.beginUpdate();try{for(var ia=0;ia<u.length;ia++){var ja=u[ia];if(Q.isEdge(ja)){var oa=Q.getTerminal(ja,!0),ta=Q.getTerminal(ja,!1);Q.setTerminal(ja,ta,!0);Q.setTerminal(ja,oa,!1);var sa=Q.getGeometry(ja);if(null!=sa){sa=sa.clone();null!=sa.points&&sa.points.reverse();var xa=sa.getTerminalPoint(!0),Ca=sa.getTerminalPoint(!1);sa.setTerminalPoint(xa,
-!1);sa.setTerminalPoint(Ca,!0);Q.setGeometry(ja,sa);var Oa=this.view.getState(ja),Wa=this.view.getState(oa),Za=this.view.getState(ta);if(null!=Oa){var ab=null!=Wa?this.getConnectionConstraint(Oa,Wa,!0):null,Ta=null!=Za?this.getConnectionConstraint(Oa,Za,!1):null;this.setConnectionConstraint(ja,oa,!0,Ta);this.setConnectionConstraint(ja,ta,!1,ab);var Pa=mxUtils.getValue(Oa.style,mxConstants.STYLE_SOURCE_PERIMETER_SPACING);this.setCellStyles(mxConstants.STYLE_SOURCE_PERIMETER_SPACING,mxUtils.getValue(Oa.style,
-mxConstants.STYLE_TARGET_PERIMETER_SPACING),[ja]);this.setCellStyles(mxConstants.STYLE_TARGET_PERIMETER_SPACING,Pa,[ja])}Y.push(ja)}}else if(Q.isVertex(ja)&&(sa=this.getCellGeometry(ja),null!=sa)){if(!(this.isTable(ja)||this.isTableRow(ja)||this.isTableCell(ja)||this.isSwimlane(ja))){sa=sa.clone();sa.x+=sa.width/2-sa.height/2;sa.y+=sa.height/2-sa.width/2;var kb=sa.width;sa.width=sa.height;sa.height=kb;Q.setGeometry(ja,sa)}var cb=this.view.getState(ja);if(null!=cb){var $a=[mxConstants.DIRECTION_EAST,
-mxConstants.DIRECTION_SOUTH,mxConstants.DIRECTION_WEST,mxConstants.DIRECTION_NORTH],gb=mxUtils.getValue(cb.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST);this.setCellStyles(mxConstants.STYLE_DIRECTION,$a[mxUtils.mod(mxUtils.indexOf($a,gb)+(N?-1:1),$a.length)],[ja])}Y.push(ja)}}}finally{Q.endUpdate()}return Y};Graph.prototype.stencilHasPlaceholders=function(u){if(null!=u&&null!=u.fgNode)for(u=u.fgNode.firstChild;null!=u;){if("text"==u.nodeName&&"1"==u.getAttribute("placeholders"))return!0;
+10,Y.height+=4,Q&&(Y.width=this.snap(Y.width),Y.height=this.snap(Y.height)));return Y};Graph.prototype.turnShapes=function(u,N){var Q=this.getModel(),Y=[];Q.beginUpdate();try{for(var ia=0;ia<u.length;ia++){var la=u[ia];if(Q.isEdge(la)){var oa=Q.getTerminal(la,!0),ta=Q.getTerminal(la,!1);Q.setTerminal(la,ta,!0);Q.setTerminal(la,oa,!1);var sa=Q.getGeometry(la);if(null!=sa){sa=sa.clone();null!=sa.points&&sa.points.reverse();var ya=sa.getTerminalPoint(!0),Ha=sa.getTerminalPoint(!1);sa.setTerminalPoint(ya,
+!1);sa.setTerminalPoint(Ha,!0);Q.setGeometry(la,sa);var Oa=this.view.getState(la),Wa=this.view.getState(oa),Za=this.view.getState(ta);if(null!=Oa){var ab=null!=Wa?this.getConnectionConstraint(Oa,Wa,!0):null,Ta=null!=Za?this.getConnectionConstraint(Oa,Za,!1):null;this.setConnectionConstraint(la,oa,!0,Ta);this.setConnectionConstraint(la,ta,!1,ab);var Pa=mxUtils.getValue(Oa.style,mxConstants.STYLE_SOURCE_PERIMETER_SPACING);this.setCellStyles(mxConstants.STYLE_SOURCE_PERIMETER_SPACING,mxUtils.getValue(Oa.style,
+mxConstants.STYLE_TARGET_PERIMETER_SPACING),[la]);this.setCellStyles(mxConstants.STYLE_TARGET_PERIMETER_SPACING,Pa,[la])}Y.push(la)}}else if(Q.isVertex(la)&&(sa=this.getCellGeometry(la),null!=sa)){if(!(this.isTable(la)||this.isTableRow(la)||this.isTableCell(la)||this.isSwimlane(la))){sa=sa.clone();sa.x+=sa.width/2-sa.height/2;sa.y+=sa.height/2-sa.width/2;var kb=sa.width;sa.width=sa.height;sa.height=kb;Q.setGeometry(la,sa)}var cb=this.view.getState(la);if(null!=cb){var $a=[mxConstants.DIRECTION_EAST,
+mxConstants.DIRECTION_SOUTH,mxConstants.DIRECTION_WEST,mxConstants.DIRECTION_NORTH],gb=mxUtils.getValue(cb.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST);this.setCellStyles(mxConstants.STYLE_DIRECTION,$a[mxUtils.mod(mxUtils.indexOf($a,gb)+(N?-1:1),$a.length)],[la])}Y.push(la)}}}finally{Q.endUpdate()}return Y};Graph.prototype.stencilHasPlaceholders=function(u){if(null!=u&&null!=u.fgNode)for(u=u.fgNode.firstChild;null!=u;){if("text"==u.nodeName&&"1"==u.getAttribute("placeholders"))return!0;
u=u.nextSibling}return!1};var f=Graph.prototype.processChange;Graph.prototype.processChange=function(u){if(u instanceof mxGeometryChange&&(this.isTableCell(u.cell)||this.isTableRow(u.cell))&&(null==u.previous&&null!=u.geometry||null!=u.previous&&!u.previous.equals(u.geometry))){var N=u.cell;this.isTableCell(N)&&(N=this.model.getParent(N));this.isTableRow(N)&&(N=this.model.getParent(N));var Q=this.view.getState(N);null!=Q&&null!=Q.shape&&(this.view.invalidate(N),Q.shape.bounds=null)}f.apply(this,arguments);
u instanceof mxValueChange&&null!=u.cell&&null!=u.cell.value&&"object"==typeof u.cell.value&&this.invalidateDescendantsWithPlaceholders(u.cell)};Graph.prototype.invalidateDescendantsWithPlaceholders=function(u){u=this.model.getDescendants(u);if(0<u.length)for(var N=0;N<u.length;N++){var Q=this.view.getState(u[N]);null!=Q&&null!=Q.shape&&null!=Q.shape.stencil&&this.stencilHasPlaceholders(Q.shape.stencil)?this.removeStateForCell(u[N]):this.isReplacePlaceholders(u[N])&&this.view.invalidate(u[N],!1,!1)}};
Graph.prototype.replaceElement=function(u,N){N=u.ownerDocument.createElement(null!=N?N:"span");for(var Q=Array.prototype.slice.call(u.attributes);attr=Q.pop();)N.setAttribute(attr.nodeName,attr.nodeValue);N.innerHTML=u.innerHTML;u.parentNode.replaceChild(N,u)};Graph.prototype.processElements=function(u,N){if(null!=u){u=u.getElementsByTagName("*");for(var Q=0;Q<u.length;Q++)null!=u[Q]&&N(u[Q])}};Graph.prototype.updateLabelElements=function(u,N,Q){u=null!=u?u:this.getSelectionCells();for(var Y=document.createElement("div"),
-ia=0;ia<u.length;ia++){var ja=this.getCurrentCellStyle(u[ia]);if(null!=ja&&"1"==ja.html&&(ja=this.convertValueToString(u[ia]),null!=ja&&0<ja.length)){Y.innerHTML=Graph.sanitizeHtml(ja);for(var oa=Y.getElementsByTagName(null!=Q?Q:"*"),ta=0;ta<oa.length;ta++)N(oa[ta]);Y.innerHTML!=ja&&this.cellLabelChanged(u[ia],Y.innerHTML)}}};Graph.prototype.cellLabelChanged=function(u,N,Q){N=Graph.zapGremlins(N);this.model.beginUpdate();try{if(null!=u.value&&"object"==typeof u.value){if(this.isReplacePlaceholders(u)&&
-null!=u.getAttribute("placeholder"))for(var Y=u.getAttribute("placeholder"),ia=u;null!=ia;){if(ia==this.model.getRoot()||null!=ia.value&&"object"==typeof ia.value&&ia.hasAttribute(Y)){this.setAttributeForCell(ia,Y,N);break}ia=this.model.getParent(ia)}var ja=u.value.cloneNode(!0);Graph.translateDiagram&&null!=Graph.diagramLanguage&&ja.hasAttribute("label_"+Graph.diagramLanguage)?ja.setAttribute("label_"+Graph.diagramLanguage,N):ja.setAttribute("label",N);N=ja}mxGraph.prototype.cellLabelChanged.apply(this,
-arguments)}finally{this.model.endUpdate()}};Graph.prototype.cellsRemoved=function(u){if(null!=u){for(var N=new mxDictionary,Q=0;Q<u.length;Q++)N.put(u[Q],!0);var Y=[];for(Q=0;Q<u.length;Q++){var ia=this.model.getParent(u[Q]);null==ia||N.get(ia)||(N.put(ia,!0),Y.push(ia))}for(Q=0;Q<Y.length;Q++)if(ia=this.view.getState(Y[Q]),null!=ia&&(this.model.isEdge(ia.cell)||this.model.isVertex(ia.cell))&&this.isCellDeletable(ia.cell)&&this.isTransparentState(ia)){for(var ja=!0,oa=0;oa<this.model.getChildCount(ia.cell)&&
-ja;oa++)N.get(this.model.getChildAt(ia.cell,oa))||(ja=!1);ja&&u.push(ia.cell)}}mxGraph.prototype.cellsRemoved.apply(this,arguments)};Graph.prototype.removeCellsAfterUngroup=function(u){for(var N=[],Q=0;Q<u.length;Q++)this.isCellDeletable(u[Q])&&this.isTransparentState(this.view.getState(u[Q]))&&N.push(u[Q]);u=N;mxGraph.prototype.removeCellsAfterUngroup.apply(this,arguments)};Graph.prototype.setLinkForCell=function(u,N){this.setAttributeForCell(u,"link",N)};Graph.prototype.setTooltipForCell=function(u,
+ia=0;ia<u.length;ia++){var la=this.getCurrentCellStyle(u[ia]);if(null!=la&&"1"==la.html&&(la=this.convertValueToString(u[ia]),null!=la&&0<la.length)){Y.innerHTML=Graph.sanitizeHtml(la);for(var oa=Y.getElementsByTagName(null!=Q?Q:"*"),ta=0;ta<oa.length;ta++)N(oa[ta]);Y.innerHTML!=la&&this.cellLabelChanged(u[ia],Y.innerHTML)}}};Graph.prototype.cellLabelChanged=function(u,N,Q){N=Graph.zapGremlins(N);this.model.beginUpdate();try{if(null!=u.value&&"object"==typeof u.value){if(this.isReplacePlaceholders(u)&&
+null!=u.getAttribute("placeholder"))for(var Y=u.getAttribute("placeholder"),ia=u;null!=ia;){if(ia==this.model.getRoot()||null!=ia.value&&"object"==typeof ia.value&&ia.hasAttribute(Y)){this.setAttributeForCell(ia,Y,N);break}ia=this.model.getParent(ia)}var la=u.value.cloneNode(!0);Graph.translateDiagram&&null!=Graph.diagramLanguage&&la.hasAttribute("label_"+Graph.diagramLanguage)?la.setAttribute("label_"+Graph.diagramLanguage,N):la.setAttribute("label",N);N=la}mxGraph.prototype.cellLabelChanged.apply(this,
+arguments)}finally{this.model.endUpdate()}};Graph.prototype.cellsRemoved=function(u){if(null!=u){for(var N=new mxDictionary,Q=0;Q<u.length;Q++)N.put(u[Q],!0);var Y=[];for(Q=0;Q<u.length;Q++){var ia=this.model.getParent(u[Q]);null==ia||N.get(ia)||(N.put(ia,!0),Y.push(ia))}for(Q=0;Q<Y.length;Q++)if(ia=this.view.getState(Y[Q]),null!=ia&&(this.model.isEdge(ia.cell)||this.model.isVertex(ia.cell))&&this.isCellDeletable(ia.cell)&&this.isTransparentState(ia)){for(var la=!0,oa=0;oa<this.model.getChildCount(ia.cell)&&
+la;oa++)N.get(this.model.getChildAt(ia.cell,oa))||(la=!1);la&&u.push(ia.cell)}}mxGraph.prototype.cellsRemoved.apply(this,arguments)};Graph.prototype.removeCellsAfterUngroup=function(u){for(var N=[],Q=0;Q<u.length;Q++)this.isCellDeletable(u[Q])&&this.isTransparentState(this.view.getState(u[Q]))&&N.push(u[Q]);u=N;mxGraph.prototype.removeCellsAfterUngroup.apply(this,arguments)};Graph.prototype.setLinkForCell=function(u,N){this.setAttributeForCell(u,"link",N)};Graph.prototype.setTooltipForCell=function(u,
N){var Q="tooltip";Graph.translateDiagram&&null!=Graph.diagramLanguage&&mxUtils.isNode(u.value)&&u.value.hasAttribute("tooltip_"+Graph.diagramLanguage)&&(Q="tooltip_"+Graph.diagramLanguage);this.setAttributeForCell(u,Q,N)};Graph.prototype.getAttributeForCell=function(u,N,Q){u=null!=u.value&&"object"===typeof u.value?u.value.getAttribute(N):null;return null!=u?u:Q};Graph.prototype.setAttributeForCell=function(u,N,Q){if(null!=u.value&&"object"==typeof u.value)var Y=u.value.cloneNode(!0);else Y=mxUtils.createXmlDocument().createElement("UserObject"),
Y.setAttribute("label",u.value||"");null!=Q?Y.setAttribute(N,Q):Y.removeAttribute(N);this.model.setValue(u,Y)};Graph.prototype.isTargetShape=function(u,N,Q){u=mxUtils.getValue(this.getCurrentCellStyle(u),mxConstants.STYLE_SHAPE,"");for(Q=0;Q<N.length;Q++){var Y=mxUtils.getValue(this.getCurrentCellStyle(N[Q]),"targetShapes","").split(",");if(0<=mxUtils.indexOf(Y,u))return!0}return!1};var l=Graph.prototype.getDropTarget;Graph.prototype.getDropTarget=function(u,N,Q,Y){if(mxEvent.isAltDown(N))return null;
-for(var ia=0;ia<u.length;ia++){var ja=this.model.getParent(u[ia]);if(this.model.isEdge(ja)&&0>mxUtils.indexOf(u,ja))return null}ja=l.apply(this,arguments);var oa=!0;for(ia=0;ia<u.length&&oa;ia++)oa=oa&&this.isTableRow(u[ia]);oa&&(this.isTableCell(ja)&&(ja=this.model.getParent(ja)),this.isTableRow(ja)&&(ja=this.model.getParent(ja)),this.isTable(ja)||(ja=null));return ja};Graph.prototype.click=function(u){mxGraph.prototype.click.call(this,u);this.firstClickState=u.getState();this.firstClickSource=u.getSource()};
+for(var ia=0;ia<u.length;ia++){var la=this.model.getParent(u[ia]);if(this.model.isEdge(la)&&0>mxUtils.indexOf(u,la))return null}la=l.apply(this,arguments);var oa=!0;for(ia=0;ia<u.length&&oa;ia++)oa=oa&&this.isTableRow(u[ia]);oa&&(this.isTableCell(la)&&(la=this.model.getParent(la)),this.isTableRow(la)&&(la=this.model.getParent(la)),this.isTable(la)||(la=null));return la};Graph.prototype.click=function(u){mxGraph.prototype.click.call(this,u);this.firstClickState=u.getState();this.firstClickSource=u.getSource()};
Graph.prototype.dblClick=function(u,N){this.isEnabled()&&(N=this.insertTextForEvent(u,N),mxGraph.prototype.dblClick.call(this,u,N))};Graph.prototype.insertTextForEvent=function(u,N){var Q=mxUtils.convertPoint(this.container,mxEvent.getClientX(u),mxEvent.getClientY(u));if(null!=u&&!this.model.isVertex(N)){var Y=this.model.isEdge(N)?this.view.getState(N):null,ia=mxEvent.getSource(u);this.firstClickState!=Y||this.firstClickSource!=ia||null!=Y&&null!=Y.text&&null!=Y.text.node&&null!=Y.text.boundingBox&&
(mxUtils.contains(Y.text.boundingBox,Q.x,Q.y)||mxUtils.isAncestorNode(Y.text.node,mxEvent.getSource(u)))||(null!=Y||this.isCellLocked(this.getDefaultParent()))&&(null==Y||this.isCellLocked(Y.cell))||!(null!=Y||mxClient.IS_SVG&&ia==this.view.getCanvas().ownerSVGElement)||(null==Y&&(Y=this.view.getState(this.getCellAt(Q.x,Q.y))),N=this.addText(Q.x,Q.y,Y))}return N};Graph.prototype.getInsertPoint=function(){var u=this.getGridSize(),N=this.container.scrollLeft/this.view.scale-this.view.translate.x,Q=
this.container.scrollTop/this.view.scale-this.view.translate.y;if(this.pageVisible){var Y=this.getPageLayout(),ia=this.getPageSize();N=Math.max(N,Y.x*ia.width);Q=Math.max(Q,Y.y*ia.height)}return new mxPoint(this.snap(N+u),this.snap(Q+u))};Graph.prototype.getFreeInsertPoint=function(){var u=this.view,N=this.getGraphBounds(),Q=this.getInsertPoint(),Y=this.snap(Math.round(Math.max(Q.x,N.x/u.scale-u.translate.x+(0==N.width?2*this.gridSize:0))));u=this.snap(Math.round(Math.max(Q.y,(N.y+N.height)/u.scale-
u.translate.y+2*this.gridSize)));return new mxPoint(Y,u)};Graph.prototype.getCenterInsertPoint=function(u){u=null!=u?u:new mxRectangle;return mxUtils.hasScrollbars(this.container)?new mxPoint(this.snap(Math.round((this.container.scrollLeft+this.container.clientWidth/2)/this.view.scale-this.view.translate.x-u.width/2)),this.snap(Math.round((this.container.scrollTop+this.container.clientHeight/2)/this.view.scale-this.view.translate.y-u.height/2))):new mxPoint(this.snap(Math.round(this.container.clientWidth/
2/this.view.scale-this.view.translate.x-u.width/2)),this.snap(Math.round(this.container.clientHeight/2/this.view.scale-this.view.translate.y-u.height/2)))};Graph.prototype.isMouseInsertPoint=function(){return!1};Graph.prototype.appendFontSize=function(u,N){u=null!=u?u:"";null!=N&&(0<u.length&&";"!=u.charAt(u.length-1)&&(u+=";"),u+="fontSize="+N+";");return u};Graph.prototype.addText=function(u,N,Q){var Y=new mxCell;Y.value="Text";Y.geometry=new mxGeometry(0,0,0,0);Y.vertex=!0;if(null!=Q&&this.model.isEdge(Q.cell)){Y.style=
-"edgeLabel;"+this.appendFontSize("html=1;align=center;verticalAlign=middle;resizable=0;points=[];",this.edgeFontSize);Y.geometry.relative=!0;Y.connectable=!1;var ia=this.view.getRelativePoint(Q,u,N);Y.geometry.x=Math.round(1E4*ia.x)/1E4;Y.geometry.y=Math.round(ia.y);Y.geometry.offset=new mxPoint(0,0);ia=this.view.getPoint(Q,Y.geometry);var ja=this.view.scale;Y.geometry.offset=new mxPoint(Math.round((u-ia.x)/ja),Math.round((N-ia.y)/ja))}else ia=this.view.translate,Y.style="text;"+this.appendFontSize("html=1;align=center;verticalAlign=middle;resizable=0;points=[];",
+"edgeLabel;"+this.appendFontSize("html=1;align=center;verticalAlign=middle;resizable=0;points=[];",this.edgeFontSize);Y.geometry.relative=!0;Y.connectable=!1;var ia=this.view.getRelativePoint(Q,u,N);Y.geometry.x=Math.round(1E4*ia.x)/1E4;Y.geometry.y=Math.round(ia.y);Y.geometry.offset=new mxPoint(0,0);ia=this.view.getPoint(Q,Y.geometry);var la=this.view.scale;Y.geometry.offset=new mxPoint(Math.round((u-ia.x)/la),Math.round((N-ia.y)/la))}else ia=this.view.translate,Y.style="text;"+this.appendFontSize("html=1;align=center;verticalAlign=middle;resizable=0;points=[];",
this.vertexFontSize),Y.geometry.width=40,Y.geometry.height=20,Y.geometry.x=Math.round(u/this.view.scale)-ia.x-(null!=Q?Q.origin.x:0),Y.geometry.y=Math.round(N/this.view.scale)-ia.y-(null!=Q?Q.origin.y:0),Y.style+="autosize=1;";this.getModel().beginUpdate();try{this.addCells([Y],null!=Q?Q.cell:null),this.fireEvent(new mxEventObject("textInserted","cells",[Y])),this.autoSizeCell(Y)}finally{this.getModel().endUpdate()}return Y};Graph.prototype.addClickHandler=function(u,N,Q){var Y=mxUtils.bind(this,
-function(){var sa=this.container.getElementsByTagName("a");if(null!=sa)for(var xa=0;xa<sa.length;xa++){var Ca=this.getAbsoluteUrl(sa[xa].getAttribute("href"));null!=Ca&&(sa[xa].setAttribute("rel",this.linkRelation),sa[xa].setAttribute("href",Ca),null!=N&&mxEvent.addGestureListeners(sa[xa],null,null,N))}});this.model.addListener(mxEvent.CHANGE,Y);Y();var ia=this.container.style.cursor,ja=this.getTolerance(),oa=this,ta={currentState:null,currentLink:null,currentTarget:null,highlight:null!=u&&""!=u&&
-u!=mxConstants.NONE?new mxCellHighlight(oa,u,4):null,startX:0,startY:0,scrollLeft:0,scrollTop:0,updateCurrentState:function(sa){var xa=sa.sourceState;if(null==xa||null==oa.getLinkForCell(xa.cell))sa=oa.getCellAt(sa.getGraphX(),sa.getGraphY(),null,null,null,function(Ca,Oa,Wa){return null==oa.getLinkForCell(Ca.cell)}),xa=null==xa||oa.model.isAncestor(sa,xa.cell)?oa.view.getState(sa):null;xa!=this.currentState&&(null!=this.currentState&&this.clear(),this.currentState=xa,null!=this.currentState&&this.activate(this.currentState))},
-mouseDown:function(sa,xa){this.startX=xa.getGraphX();this.startY=xa.getGraphY();this.scrollLeft=oa.container.scrollLeft;this.scrollTop=oa.container.scrollTop;null==this.currentLink&&"auto"==oa.container.style.overflow&&(oa.container.style.cursor="move");this.updateCurrentState(xa)},mouseMove:function(sa,xa){if(oa.isMouseDown)null!=this.currentLink&&(sa=Math.abs(this.startX-xa.getGraphX()),xa=Math.abs(this.startY-xa.getGraphY()),(sa>ja||xa>ja)&&this.clear());else{for(sa=xa.getSource();null!=sa&&"a"!=
-sa.nodeName.toLowerCase();)sa=sa.parentNode;null!=sa?this.clear():(null!=oa.tooltipHandler&&null!=this.currentLink&&null!=this.currentState&&oa.tooltipHandler.reset(xa,!0,this.currentState),(null==this.currentState||xa.getState()!=this.currentState&&null!=xa.sourceState||!oa.intersects(this.currentState,xa.getGraphX(),xa.getGraphY()))&&this.updateCurrentState(xa))}},mouseUp:function(sa,xa){var Ca=xa.getSource();for(sa=xa.getEvent();null!=Ca&&"a"!=Ca.nodeName.toLowerCase();)Ca=Ca.parentNode;null==
-Ca&&Math.abs(this.scrollLeft-oa.container.scrollLeft)<ja&&Math.abs(this.scrollTop-oa.container.scrollTop)<ja&&(null==xa.sourceState||!xa.isSource(xa.sourceState.control))&&((mxEvent.isLeftMouseButton(sa)||mxEvent.isMiddleMouseButton(sa))&&!mxEvent.isPopupTrigger(sa)||mxEvent.isTouchEvent(sa))&&(null!=this.currentLink?(Ca=oa.isBlankLink(this.currentLink),"data:"!==this.currentLink.substring(0,5)&&Ca||null==N||N(sa,this.currentLink,null!=this.currentState?this.currentState.cell:null),mxEvent.isConsumed(sa)||
-(sa=null!=this.currentTarget?this.currentTarget:mxEvent.isMiddleMouseButton(sa)?"_blank":Ca?oa.linkTarget:"_top",oa.openLink(this.currentLink,sa),xa.consume())):null!=Q&&!xa.isConsumed()&&Math.abs(this.scrollLeft-oa.container.scrollLeft)<ja&&Math.abs(this.scrollTop-oa.container.scrollTop)<ja&&Math.abs(this.startX-xa.getGraphX())<ja&&Math.abs(this.startY-xa.getGraphY())<ja&&Q(xa.getEvent()));this.clear()},activate:function(sa){this.currentLink=oa.getAbsoluteUrl(oa.getLinkForCell(sa.cell));null!=this.currentLink&&
+function(){var sa=this.container.getElementsByTagName("a");if(null!=sa)for(var ya=0;ya<sa.length;ya++){var Ha=this.getAbsoluteUrl(sa[ya].getAttribute("href"));null!=Ha&&(sa[ya].setAttribute("rel",this.linkRelation),sa[ya].setAttribute("href",Ha),null!=N&&mxEvent.addGestureListeners(sa[ya],null,null,N))}});this.model.addListener(mxEvent.CHANGE,Y);Y();var ia=this.container.style.cursor,la=this.getTolerance(),oa=this,ta={currentState:null,currentLink:null,currentTarget:null,highlight:null!=u&&""!=u&&
+u!=mxConstants.NONE?new mxCellHighlight(oa,u,4):null,startX:0,startY:0,scrollLeft:0,scrollTop:0,updateCurrentState:function(sa){var ya=sa.sourceState;if(null==ya||null==oa.getLinkForCell(ya.cell))sa=oa.getCellAt(sa.getGraphX(),sa.getGraphY(),null,null,null,function(Ha,Oa,Wa){return null==oa.getLinkForCell(Ha.cell)}),ya=null==ya||oa.model.isAncestor(sa,ya.cell)?oa.view.getState(sa):null;ya!=this.currentState&&(null!=this.currentState&&this.clear(),this.currentState=ya,null!=this.currentState&&this.activate(this.currentState))},
+mouseDown:function(sa,ya){this.startX=ya.getGraphX();this.startY=ya.getGraphY();this.scrollLeft=oa.container.scrollLeft;this.scrollTop=oa.container.scrollTop;null==this.currentLink&&"auto"==oa.container.style.overflow&&(oa.container.style.cursor="move");this.updateCurrentState(ya)},mouseMove:function(sa,ya){if(oa.isMouseDown)null!=this.currentLink&&(sa=Math.abs(this.startX-ya.getGraphX()),ya=Math.abs(this.startY-ya.getGraphY()),(sa>la||ya>la)&&this.clear());else{for(sa=ya.getSource();null!=sa&&"a"!=
+sa.nodeName.toLowerCase();)sa=sa.parentNode;null!=sa?this.clear():(null!=oa.tooltipHandler&&null!=this.currentLink&&null!=this.currentState&&oa.tooltipHandler.reset(ya,!0,this.currentState),(null==this.currentState||ya.getState()!=this.currentState&&null!=ya.sourceState||!oa.intersects(this.currentState,ya.getGraphX(),ya.getGraphY()))&&this.updateCurrentState(ya))}},mouseUp:function(sa,ya){var Ha=ya.getSource();for(sa=ya.getEvent();null!=Ha&&"a"!=Ha.nodeName.toLowerCase();)Ha=Ha.parentNode;null==
+Ha&&Math.abs(this.scrollLeft-oa.container.scrollLeft)<la&&Math.abs(this.scrollTop-oa.container.scrollTop)<la&&(null==ya.sourceState||!ya.isSource(ya.sourceState.control))&&((mxEvent.isLeftMouseButton(sa)||mxEvent.isMiddleMouseButton(sa))&&!mxEvent.isPopupTrigger(sa)||mxEvent.isTouchEvent(sa))&&(null!=this.currentLink?(Ha=oa.isBlankLink(this.currentLink),"data:"!==this.currentLink.substring(0,5)&&Ha||null==N||N(sa,this.currentLink,null!=this.currentState?this.currentState.cell:null),mxEvent.isConsumed(sa)||
+(sa=null!=this.currentTarget?this.currentTarget:mxEvent.isMiddleMouseButton(sa)?"_blank":Ha?oa.linkTarget:"_top",oa.openLink(this.currentLink,sa),ya.consume())):null!=Q&&!ya.isConsumed()&&Math.abs(this.scrollLeft-oa.container.scrollLeft)<la&&Math.abs(this.scrollTop-oa.container.scrollTop)<la&&Math.abs(this.startX-ya.getGraphX())<la&&Math.abs(this.startY-ya.getGraphY())<la&&Q(ya.getEvent()));this.clear()},activate:function(sa){this.currentLink=oa.getAbsoluteUrl(oa.getLinkForCell(sa.cell));null!=this.currentLink&&
(this.currentTarget=oa.getLinkTargetForCell(sa.cell),oa.container.style.cursor="pointer",null!=this.highlight&&this.highlight.highlight(sa))},clear:function(){null!=oa.container&&(oa.container.style.cursor=ia);this.currentLink=this.currentState=this.currentTarget=null;null!=this.highlight&&this.highlight.hide();null!=oa.tooltipHandler&&oa.tooltipHandler.hide()}};oa.click=function(sa){};oa.addMouseListener(ta);mxEvent.addListener(document,"mouseleave",function(sa){ta.clear()})};Graph.prototype.duplicateCells=
-function(u,N){u=null!=u?u:this.getSelectionCells();N=null!=N?N:!0;for(var Q=0;Q<u.length;Q++)this.isTableCell(u[Q])&&(u[Q]=this.model.getParent(u[Q]));u=this.model.getTopmostCells(u);var Y=this.getModel(),ia=this.gridSize,ja=[];Y.beginUpdate();try{var oa={},ta=this.createCellLookup(u),sa=this.cloneCells(u,!1,oa,!0);for(Q=0;Q<u.length;Q++){var xa=Y.getParent(u[Q]);if(null!=xa){var Ca=this.moveCells([sa[Q]],ia,ia,!1)[0];ja.push(Ca);if(N)Y.add(xa,sa[Q]);else{var Oa=xa.getIndex(u[Q]);Y.add(xa,sa[Q],Oa+
-1)}if(this.isTable(xa)){var Wa=this.getCellGeometry(sa[Q]),Za=this.getCellGeometry(xa);null!=Wa&&null!=Za&&(Za=Za.clone(),Za.height+=Wa.height,Y.setGeometry(xa,Za))}}else ja.push(sa[Q])}this.updateCustomLinks(this.createCellMapping(oa,ta),sa,this);this.fireEvent(new mxEventObject(mxEvent.CELLS_ADDED,"cells",sa))}finally{Y.endUpdate()}return ja};Graph.prototype.insertImage=function(u,N,Q){if(null!=u&&null!=this.cellEditor.textarea){for(var Y=this.cellEditor.textarea.getElementsByTagName("img"),ia=
-[],ja=0;ja<Y.length;ja++)ia.push(Y[ja]);document.execCommand("insertimage",!1,u);u=this.cellEditor.textarea.getElementsByTagName("img");if(u.length==ia.length+1)for(ja=u.length-1;0<=ja;ja--)if(0==ja||u[ja]!=ia[ja-1]){u[ja].setAttribute("width",N);u[ja].setAttribute("height",Q);break}}};Graph.prototype.insertLink=function(u){if(null!=this.cellEditor.textarea)if(0==u.length)document.execCommand("unlink",!1);else if(mxClient.IS_FF){for(var N=this.cellEditor.textarea.getElementsByTagName("a"),Q=[],Y=
+function(u,N){u=null!=u?u:this.getSelectionCells();N=null!=N?N:!0;for(var Q=0;Q<u.length;Q++)this.isTableCell(u[Q])&&(u[Q]=this.model.getParent(u[Q]));u=this.model.getTopmostCells(u);var Y=this.getModel(),ia=this.gridSize,la=[];Y.beginUpdate();try{var oa={},ta=this.createCellLookup(u),sa=this.cloneCells(u,!1,oa,!0);for(Q=0;Q<u.length;Q++){var ya=Y.getParent(u[Q]);if(null!=ya){var Ha=this.moveCells([sa[Q]],ia,ia,!1)[0];la.push(Ha);if(N)Y.add(ya,sa[Q]);else{var Oa=ya.getIndex(u[Q]);Y.add(ya,sa[Q],Oa+
+1)}if(this.isTable(ya)){var Wa=this.getCellGeometry(sa[Q]),Za=this.getCellGeometry(ya);null!=Wa&&null!=Za&&(Za=Za.clone(),Za.height+=Wa.height,Y.setGeometry(ya,Za))}}else la.push(sa[Q])}this.updateCustomLinks(this.createCellMapping(oa,ta),sa,this);this.fireEvent(new mxEventObject(mxEvent.CELLS_ADDED,"cells",sa))}finally{Y.endUpdate()}return la};Graph.prototype.insertImage=function(u,N,Q){if(null!=u&&null!=this.cellEditor.textarea){for(var Y=this.cellEditor.textarea.getElementsByTagName("img"),ia=
+[],la=0;la<Y.length;la++)ia.push(Y[la]);document.execCommand("insertimage",!1,u);u=this.cellEditor.textarea.getElementsByTagName("img");if(u.length==ia.length+1)for(la=u.length-1;0<=la;la--)if(0==la||u[la]!=ia[la-1]){u[la].setAttribute("width",N);u[la].setAttribute("height",Q);break}}};Graph.prototype.insertLink=function(u){if(null!=this.cellEditor.textarea)if(0==u.length)document.execCommand("unlink",!1);else if(mxClient.IS_FF){for(var N=this.cellEditor.textarea.getElementsByTagName("a"),Q=[],Y=
0;Y<N.length;Y++)Q.push(N[Y]);document.execCommand("createlink",!1,mxUtils.trim(u));N=this.cellEditor.textarea.getElementsByTagName("a");if(N.length==Q.length+1)for(Y=N.length-1;0<=Y;Y--)if(N[Y]!=Q[Y-1]){for(N=N[Y].getElementsByTagName("a");0<N.length;){for(Q=N[0].parentNode;null!=N[0].firstChild;)Q.insertBefore(N[0].firstChild,N[0]);Q.removeChild(N[0])}break}}else document.execCommand("createlink",!1,mxUtils.trim(u))};Graph.prototype.isCellResizable=function(u){var N=mxGraph.prototype.isCellResizable.apply(this,
-arguments),Q=this.getCurrentCellStyle(u);return!this.isTableCell(u)&&!this.isTableRow(u)&&(N||"0"!=mxUtils.getValue(Q,mxConstants.STYLE_RESIZABLE,"1")&&"wrap"==Q[mxConstants.STYLE_WHITE_SPACE])};Graph.prototype.distributeCells=function(u,N,Q){null==N&&(N=this.getSelectionCells());if(null!=N&&1<N.length){for(var Y=[],ia=null,ja=null,oa=0,ta=0;ta<N.length;ta++)if(this.getModel().isVertex(N[ta])){var sa=this.view.getState(N[ta]);if(null!=sa){var xa=u?sa.getCenterX():sa.getCenterY();ia=null!=ia?Math.max(ia,
-xa):xa;ja=null!=ja?Math.min(ja,xa):xa;Q&&(oa+=u?sa.width:sa.height);Y.push(sa)}}if(2<Y.length){Y.sort(function(ab,Ta){return u?ab.x-Ta.x:ab.y-Ta.y});Q&&(oa-=u?Y[0].width/2+Y[Y.length-1].width/2:Y[0].height/2+Y[Y.length-1].height/2);sa=this.view.translate;xa=this.view.scale;ja=ja/xa-(u?sa.x:sa.y);ia=ia/xa-(u?sa.x:sa.y);this.getModel().beginUpdate();try{var Ca=(ia-ja-oa)/(Y.length-1),Oa=ja+(Q?u?Y[0].width/2:Y[0].height/2:0);for(ta=1;ta<Y.length-1;ta++){var Wa=this.view.getState(this.model.getParent(Y[ta].cell)),
-Za=this.getCellGeometry(Y[ta].cell);Oa+=Ca;null!=Za&&null!=Wa&&(Za=Za.clone(),u?Za.x=Math.round(Oa-(Q?0:Za.width/2))-Wa.origin.x:Za.y=Math.round(Oa-(Q?0:Za.height/2))-Wa.origin.y,this.getModel().setGeometry(Y[ta].cell,Za));Q&&(Oa+=u?Y[ta].width:Y[ta].height)}}finally{this.getModel().endUpdate()}}}return N};Graph.prototype.isCloneEvent=function(u){return mxClient.IS_MAC&&mxEvent.isMetaDown(u)||mxEvent.isControlDown(u)};Graph.prototype.createSvgImageExport=function(){var u=new mxImageExport;u.addCellData=
-function(Q,Y,ia){Y.setAttribute("data-cell-id",Q.id);if(ia)if(mxUtils.isNode(Q.value))for(ia=0;ia<Q.value.attributes.length;ia++){var ja=Q.value.attributes[ia];Y.setAttribute("data-cell-"+ja.name,ja.value)}else if("object"===typeof Q.value)for(ja in Q.value)Y.setAttribute("data-cell-"+ja,Q.value[ja]);else null!=Q.value&&Y.setAttribute("data-cell-value",Q.value);return Y};var N=u.visitStatesRecursive;u.visitStatesRecursive=function(Q,Y,ia){if(null!=Q){var ja=Y.root,oa=Y.root.ownerDocument;Y.root=this.addCellData(Q.cell,
-null!=oa.createElementNS?oa.createElementNS(mxConstants.NS_SVG,"g"):oa.createElement("g"),Editor.addSvgMetadata);ja.appendChild(Y.root);N.apply(this,arguments);Y.root=ja}};u.getLinkForCellState=mxUtils.bind(this,function(Q,Y){return this.getLinkForCell(Q.cell)});u.getTitleForCellState=mxUtils.bind(this,function(Q,Y){return Editor.convertHtmlToText(this.convertValueToTooltip(Q.cell))});return u};Graph.prototype.parseBackgroundImage=function(u){var N=null;null!=u&&0<u.length&&(u=JSON.parse(u),N=new mxImage(u.src,
-u.width,u.height));return N};Graph.prototype.getBackgroundImageObject=function(u){return u};Graph.prototype.getSvg=function(u,N,Q,Y,ia,ja,oa,ta,sa,xa,Ca,Oa,Wa,Za,ab,Ta){var Pa=null;if(null!=Za)for(Pa=new mxDictionary,Ca=0;Ca<Za.length;Ca++)Pa.put(Za[Ca],!0);Za=this.useCssTransforms;var kb=this.enableFlowAnimation;this.enableFlowAnimation=!1;Za&&(this.useCssTransforms=!1,this.view.revalidate(),this.sizeDidChange());try{N=null!=N?N:1;Q=null!=Q?Q:0;ia=null!=ia?ia:!0;ja=null!=ja?ja:!0;oa=null!=oa?oa:
-!0;xa=null!=xa?xa:!1;var cb="page"==Wa?this.view.getBackgroundPageBounds():ja&&null==Pa||Y||"diagram"==Wa?this.getGraphBounds():this.getBoundingBox(this.getSelectionCells()),$a=this.backgroundImage,gb=this.view.translate,ib=this.view.scale;"diagram"==Wa&&null!=$a&&null!=$a.width&&null!=$a.height&&(cb=mxRectangle.fromRectangle(cb),cb.add(new mxRectangle((gb.x+$a.x)*ib,(gb.y+$a.y)*ib,$a.width*ib,$a.height*ib)));if(null==cb)throw Error(mxResources.get("drawingEmpty"));Y=u;null!=Y&&"dark"==Oa&&Editor.enableCssDarkMode&&
-(Y=Graph.invertColor(u));Oa=N/ib;Wa=ia?-.5:0;var mb=Graph.createSvgNode(Wa,Wa,Math.max(1,Math.ceil(cb.width*Oa)+2*Q)+(xa&&0==Q?5:0),Math.max(1,Math.ceil(cb.height*Oa)+2*Q)+(xa&&0==Q?5:0),Y),vb=mb.ownerDocument;if(null!=u){var jb=mxUtils.createElementNs(vb,mxConstants.NS_SVG,"rect");jb.setAttribute("fill",u);jb.setAttribute("width","100%");jb.setAttribute("height","100%");jb.setAttribute("x","0");jb.setAttribute("y","0");mb.appendChild(jb)}var qb=mxUtils.createElementNs(vb,mxConstants.NS_SVG,"g");
+arguments),Q=this.getCurrentCellStyle(u);return!this.isTableCell(u)&&!this.isTableRow(u)&&(N||"0"!=mxUtils.getValue(Q,mxConstants.STYLE_RESIZABLE,"1")&&"wrap"==Q[mxConstants.STYLE_WHITE_SPACE])};Graph.prototype.distributeCells=function(u,N,Q){null==N&&(N=this.getSelectionCells());if(null!=N&&1<N.length){for(var Y=[],ia=null,la=null,oa=0,ta=0;ta<N.length;ta++)if(this.getModel().isVertex(N[ta])){var sa=this.view.getState(N[ta]);if(null!=sa){var ya=u?sa.getCenterX():sa.getCenterY();ia=null!=ia?Math.max(ia,
+ya):ya;la=null!=la?Math.min(la,ya):ya;Q&&(oa+=u?sa.width:sa.height);Y.push(sa)}}if(2<Y.length){Y.sort(function(ab,Ta){return u?ab.x-Ta.x:ab.y-Ta.y});Q&&(oa-=u?Y[0].width/2+Y[Y.length-1].width/2:Y[0].height/2+Y[Y.length-1].height/2);sa=this.view.translate;ya=this.view.scale;la=la/ya-(u?sa.x:sa.y);ia=ia/ya-(u?sa.x:sa.y);this.getModel().beginUpdate();try{var Ha=(ia-la-oa)/(Y.length-1),Oa=la+(Q?u?Y[0].width/2:Y[0].height/2:0);for(ta=1;ta<Y.length-1;ta++){var Wa=this.view.getState(this.model.getParent(Y[ta].cell)),
+Za=this.getCellGeometry(Y[ta].cell);Oa+=Ha;null!=Za&&null!=Wa&&(Za=Za.clone(),u?Za.x=Math.round(Oa-(Q?0:Za.width/2))-Wa.origin.x:Za.y=Math.round(Oa-(Q?0:Za.height/2))-Wa.origin.y,this.getModel().setGeometry(Y[ta].cell,Za));Q&&(Oa+=u?Y[ta].width:Y[ta].height)}}finally{this.getModel().endUpdate()}}}return N};Graph.prototype.isCloneEvent=function(u){return mxClient.IS_MAC&&mxEvent.isMetaDown(u)||mxEvent.isControlDown(u)};Graph.prototype.createSvgImageExport=function(){var u=new mxImageExport;u.addCellData=
+function(Q,Y,ia){Y.setAttribute("data-cell-id",Q.id);if(ia)if(mxUtils.isNode(Q.value))for(ia=0;ia<Q.value.attributes.length;ia++){var la=Q.value.attributes[ia];Y.setAttribute("data-cell-"+la.name,la.value)}else if("object"===typeof Q.value)for(la in Q.value)Y.setAttribute("data-cell-"+la,Q.value[la]);else null!=Q.value&&Y.setAttribute("data-cell-value",Q.value);return Y};var N=u.visitStatesRecursive;u.visitStatesRecursive=function(Q,Y,ia){if(null!=Q){var la=Y.root,oa=Y.root.ownerDocument;Y.root=this.addCellData(Q.cell,
+null!=oa.createElementNS?oa.createElementNS(mxConstants.NS_SVG,"g"):oa.createElement("g"),Editor.addSvgMetadata);la.appendChild(Y.root);N.apply(this,arguments);Y.root=la}};u.getLinkForCellState=mxUtils.bind(this,function(Q,Y){return this.getLinkForCell(Q.cell)});u.getTitleForCellState=mxUtils.bind(this,function(Q,Y){return Editor.convertHtmlToText(this.convertValueToTooltip(Q.cell))});return u};Graph.prototype.parseBackgroundImage=function(u){var N=null;null!=u&&0<u.length&&(u=JSON.parse(u),N=new mxImage(u.src,
+u.width,u.height));return N};Graph.prototype.getBackgroundImageObject=function(u){return u};Graph.prototype.getSvg=function(u,N,Q,Y,ia,la,oa,ta,sa,ya,Ha,Oa,Wa,Za,ab,Ta){var Pa=null;if(null!=Za)for(Pa=new mxDictionary,Ha=0;Ha<Za.length;Ha++)Pa.put(Za[Ha],!0);Za=this.useCssTransforms;var kb=this.enableFlowAnimation;this.enableFlowAnimation=!1;Za&&(this.useCssTransforms=!1,this.view.revalidate(),this.sizeDidChange());try{N=null!=N?N:1;Q=null!=Q?Q:0;ia=null!=ia?ia:!0;la=null!=la?la:!0;oa=null!=oa?oa:
+!0;ya=null!=ya?ya:!1;var cb="page"==Wa?this.view.getBackgroundPageBounds():la&&null==Pa||Y||"diagram"==Wa?this.getGraphBounds():this.getBoundingBox(this.getSelectionCells()),$a=this.backgroundImage,gb=this.view.translate,ib=this.view.scale;"diagram"==Wa&&null!=$a&&null!=$a.width&&null!=$a.height&&(cb=mxRectangle.fromRectangle(cb),cb.add(new mxRectangle((gb.x+$a.x)*ib,(gb.y+$a.y)*ib,$a.width*ib,$a.height*ib)));if(null==cb)throw Error(mxResources.get("drawingEmpty"));Y=u;null!=Y&&"dark"==Oa&&Editor.enableCssDarkMode&&
+(Y=Graph.invertColor(u));Oa=N/ib;Wa=ia?-.5:0;var mb=Graph.createSvgNode(Wa,Wa,Math.max(1,Math.ceil(cb.width*Oa)+2*Q)+(ya&&0==Q?5:0),Math.max(1,Math.ceil(cb.height*Oa)+2*Q)+(ya&&0==Q?5:0),Y),vb=mb.ownerDocument;if(null!=u){var jb=mxUtils.createElementNs(vb,mxConstants.NS_SVG,"rect");jb.setAttribute("fill",u);jb.setAttribute("width","100%");jb.setAttribute("height","100%");jb.setAttribute("x","0");jb.setAttribute("y","0");mb.appendChild(jb)}var qb=mxUtils.createElementNs(vb,mxConstants.NS_SVG,"g");
mb.appendChild(qb);var eb=this.createSvgCanvas(qb);eb.foOffset=ia?-.5:0;eb.textOffset=ia?-.5:0;eb.imageOffset=ia?-.5:0;eb.translate(Math.floor(Q/N-cb.x/ib),Math.floor(Q/N-cb.y/ib));var rb=document.createElement("div"),ub=eb.getAlternateText;eb.getAlternateText=function(fb,tb,db,xb,yb,ob,zb,Ab,Bb,Db,d,m,y){if(null!=ob&&0<this.state.fontSize)try{mxUtils.isNode(ob)?ob=ob.innerText:(rb.innerHTML=ob,ob=mxUtils.extractTextWithWhitespace(rb.childNodes));for(var p=Math.ceil(2*xb/this.state.fontSize),x=[],
D=0,E=0;(0==p||D<p)&&E<ob.length;){var ha=ob.charCodeAt(E);if(10==ha||13==ha){if(0<D)break}else x.push(ob.charAt(E)),255>ha&&D++;E++}x.length<ob.length&&1<ob.length-x.length&&(ob=mxUtils.trim(x.join(""))+"...");return ob}catch(M){return ub.apply(this,arguments)}else return ub.apply(this,arguments)};null!=$a&&null!=$a.width&&null!=$a.height&&(u=ib/N,Wa=new mxRectangle(($a.x+gb.x)*u,($a.y+gb.y)*u,$a.width*u,$a.height*u),mxUtils.intersects(cb,Wa)&&eb.image($a.x+gb.x,$a.y+gb.y,$a.width,$a.height,$a.src,
!0));eb.scale(Oa);eb.textEnabled=oa;ta=null!=ta?ta:this.createSvgImageExport();var lb=ta.getLinkForCellState;ta.getLinkForCellState=function(fb,tb){var db=fb.view.graph.getAbsoluteUrl(lb.apply(this,arguments));return null==db||fb.view.graph.isCustomLink(db)?null:db};ta.getLinkTargetForCellState=function(fb,tb){return fb.view.graph.getLinkTargetForCell(fb.cell)};var nb=ta.drawCellState,sb=null,pb=mxUtils.bind(this,function(){if(null==sb){sb="ge-flow-animation-"+Editor.guid();var fb=null!=vb.createElementNS?
-vb.createElementNS(mxConstants.NS_SVG,"style"):vb.createElement("style");fb.innerHTML=this.createFlowAnimationCss(sb);vb.getElementsByTagName("defs")[0].appendChild(fb)}return sb});ta.drawCellState=function(fb,tb){for(var db=fb.view.graph,xb=null!=Pa?Pa.get(fb.cell):db.isCellSelected(fb.cell),yb=db.model.getParent(fb.cell);!(ja&&null==Pa||xb)&&null!=yb;)xb=null!=Pa?Pa.get(yb):db.isCellSelected(yb),yb=db.model.getParent(yb);if(null!=fb.shape)try{var ob=fb.shape.isFlowAnimationEnabled,zb=fb.shape.addFlowAnimationToShape;
-fb.shape.isFlowAnimationEnabled=function(){return kb&&db.model.isEdge(fb.cell)&&"1"==mxUtils.getValue(fb.style,"flowAnimation","0")};fb.shape.addFlowAnimationToShape=function(){db.addFlowAnimationToNode(this.getFlowAnimationPath(),fb.style,N,pb())};if(ja&&null==Pa||xb)db.view.redrawEnumerationState(fb),nb.apply(this,arguments),this.doDrawShape(fb.secondLabel,tb)}finally{fb.shape.isFlowAnimationEnabled=ob,fb.shape.addFlowAnimationToShape=zb}};var wb=null!=this.view.currentRoot?this.view.currentRoot:
+vb.createElementNS(mxConstants.NS_SVG,"style"):vb.createElement("style");fb.innerHTML=this.createFlowAnimationCss(sb);vb.getElementsByTagName("defs")[0].appendChild(fb)}return sb});ta.drawCellState=function(fb,tb){for(var db=fb.view.graph,xb=null!=Pa?Pa.get(fb.cell):db.isCellSelected(fb.cell),yb=db.model.getParent(fb.cell);!(la&&null==Pa||xb)&&null!=yb;)xb=null!=Pa?Pa.get(yb):db.isCellSelected(yb),yb=db.model.getParent(yb);if(null!=fb.shape)try{var ob=fb.shape.isFlowAnimationEnabled,zb=fb.shape.addFlowAnimationToShape;
+fb.shape.isFlowAnimationEnabled=function(){return kb&&db.model.isEdge(fb.cell)&&"1"==mxUtils.getValue(fb.style,"flowAnimation","0")};fb.shape.addFlowAnimationToShape=function(){db.addFlowAnimationToNode(this.getFlowAnimationPath(),fb.style,N,pb())};if(la&&null==Pa||xb)db.view.redrawEnumerationState(fb),nb.apply(this,arguments),this.doDrawShape(fb.secondLabel,tb)}finally{fb.shape.isFlowAnimationEnabled=ob,fb.shape.addFlowAnimationToShape=zb}};var wb=null!=this.view.currentRoot?this.view.currentRoot:
this.model.root;ta.drawState(this.getView().getState(wb),eb);this.addForeignObjectWarning(eb,mb);Ta?this.disableSvgLinks(mb):this.updateSvgLinks(mb,sa,!0);return mb}finally{this.enableFlowAnimation=kb,Za&&(this.useCssTransforms=!0,this.view.revalidate(),this.sizeDidChange())}};Graph.prototype.addForeignObjectWarning=function(u,N){if("0"!=urlParams["svg-warning"]&&0<N.getElementsByTagName("foreignObject").length){var Q=u.createElement("switch"),Y=u.createElement("g");Y.setAttribute("requiredFeatures",
"http://www.w3.org/TR/SVG11/feature#Extensibility");var ia=u.createElement("a");ia.setAttribute("transform","translate(0,-5)");null==ia.setAttributeNS||N.ownerDocument!=document&&null==document.documentMode?(ia.setAttribute("xlink:href",Graph.foreignObjectWarningLink),ia.setAttribute("target","_blank")):(ia.setAttributeNS(mxConstants.NS_XLINK,"xlink:href",Graph.foreignObjectWarningLink),ia.setAttributeNS(mxConstants.NS_XLINK,"target","_blank"));u=u.createElement("text");u.setAttribute("text-anchor",
"middle");u.setAttribute("font-size","10px");u.setAttribute("x","50%");u.setAttribute("y","100%");mxUtils.write(u,Graph.foreignObjectWarningText);Q.appendChild(Y);ia.appendChild(u);Q.appendChild(ia);N.appendChild(Q)}};Graph.prototype.disableSvgLinks=function(u,N){u=u.getElementsByTagName("a");for(var Q=0;Q<u.length;Q++){var Y=u[Q].getAttribute("href");null==Y&&(Y=u[Q].getAttribute("xlink:href"));null!=Y&&(u[Q].style.pointerEvents="none",u[Q].setAttribute("href",""));N&&N(u[Q])}};Graph.prototype.updateSvgLinks=
-function(u,N,Q){u=u.getElementsByTagName("a");for(var Y=0;Y<u.length;Y++)if(null==u[Y].getAttribute("target")){var ia=u[Y].getAttribute("href");null==ia&&(ia=u[Y].getAttribute("xlink:href"));null!=ia&&(null!=N&&/^https?:\/\//.test(ia)?u[Y].setAttribute("target",N):Q&&this.isCustomLink(ia)&&u[Y].setAttribute("href","javascript:void(0);"))}};Graph.prototype.createSvgCanvas=function(u){u=new mxSvgCanvas2D(u);u.minStrokeWidth=this.cellRenderer.minSvgStrokeWidth;u.pointerEvents=!0;return u};Graph.prototype.getSelectedTextBlocks=
-function(){function u(oa){if(oa.firstChild)return oa.firstChild;for(;oa;){if(oa.nextSibling)return oa.nextSibling;oa=oa.parentNode}}function N(oa){var ta=oa.startContainer,sa=oa.endContainer;oa=oa.commonAncestorContainer;var xa=[],Ca;for(Ca=ta.parentNode;Ca&&(xa.push(Ca),Ca!=oa);Ca=Ca.parentNode);xa.reverse();for(Ca=ta;Ca&&(xa.push(Ca),Ca!=sa);Ca=u(Ca));return xa}var Q=[this.getSelectedElement()];if(window.getSelection){var Y=window.getSelection();Y.getRangeAt&&Y.rangeCount&&(Q=N(Y.getRangeAt(0)))}Y=
-[];for(var ia=0;ia<Q.length;ia++)for(var ja=Q[ia];null!=this.cellEditor.textarea&&this.cellEditor.textarea.contains(ja)&&ja!=this.cellEditor.textarea&&null!=ja.parentNode;)if(ja.nodeType==mxConstants.NODETYPE_ELEMENT&&"block"==mxUtils.getCurrentStyle(ja).display){0>mxUtils.indexOf(Y,ja)&&Y.push(ja);break}else ja=ja.parentNode;return Y};Graph.prototype.getSelectedElement=function(){var u=null;if(window.getSelection){var N=window.getSelection();N.getRangeAt&&N.rangeCount&&(u=N.getRangeAt(0).commonAncestorContainer)}else document.selection&&
-(u=document.selection.createRange().parentElement());return u};Graph.prototype.getSelectedEditingElement=function(){for(var u=this.getSelectedElement();null!=u&&u.nodeType!=mxConstants.NODETYPE_ELEMENT;)u=u.parentNode;null!=u&&u==this.cellEditor.textarea&&1==this.cellEditor.textarea.children.length&&this.cellEditor.textarea.firstChild.nodeType==mxConstants.NODETYPE_ELEMENT&&(u=this.cellEditor.textarea.firstChild);return u};Graph.prototype.getParentByName=function(u,N,Q){for(;null!=u&&u.nodeName!=
-N;){if(u==Q)return null;u=u.parentNode}return u};Graph.prototype.getParentByNames=function(u,N,Q){for(;null!=u&&!(0<=mxUtils.indexOf(N,u.nodeName));){if(u==Q)return null;u=u.parentNode}return u};Graph.prototype.selectNode=function(u){var N=null;if(window.getSelection){if(N=window.getSelection(),N.getRangeAt&&N.rangeCount){var Q=document.createRange();Q.selectNode(u);N.removeAllRanges();N.addRange(Q)}}else(N=document.selection)&&"Control"!=N.type&&(u=N.createRange(),u.collapse(!0),Q=N.createRange(),
-Q.setEndPoint("StartToStart",u),Q.select())};Graph.prototype.flipEdgePoints=function(u,N,Q){var Y=this.getCellGeometry(u);if(null!=Y){Y=Y.clone();if(null!=Y.points)for(var ia=0;ia<Y.points.length;ia++)N?Y.points[ia].x=Q+(Q-Y.points[ia].x):Y.points[ia].y=Q+(Q-Y.points[ia].y);ia=function(ja){null!=ja&&(N?ja.x=Q+(Q-ja.x):ja.y=Q+(Q-ja.y))};ia(Y.getTerminalPoint(!0));ia(Y.getTerminalPoint(!1));this.model.setGeometry(u,Y)}};Graph.prototype.flipChildren=function(u,N,Q){this.model.beginUpdate();try{for(var Y=
-this.model.getChildCount(u),ia=0;ia<Y;ia++){var ja=this.model.getChildAt(u,ia);if(this.model.isEdge(ja))this.flipEdgePoints(ja,N,Q);else{var oa=this.getCellGeometry(ja);null!=oa&&(oa=oa.clone(),N?oa.x=Q+(Q-oa.x-oa.width):oa.y=Q+(Q-oa.y-oa.height),this.model.setGeometry(ja,oa))}}}finally{this.model.endUpdate()}};Graph.prototype.flipCells=function(u,N){this.model.beginUpdate();try{u=this.model.getTopmostCells(u);for(var Q=[],Y=0;Y<u.length;Y++)if(this.model.isEdge(u[Y])){var ia=this.view.getState(u[Y]);
-null!=ia&&this.flipEdgePoints(u[Y],N,(N?ia.getCenterX():ia.getCenterY())/this.view.scale-(N?ia.origin.x:ia.origin.y)-(N?this.view.translate.x:this.view.translate.y))}else{var ja=this.getCellGeometry(u[Y]);null!=ja&&this.flipChildren(u[Y],N,N?ja.getCenterX()-ja.x:ja.getCenterY()-ja.y);Q.push(u[Y])}this.toggleCellStyles(N?mxConstants.STYLE_FLIPH:mxConstants.STYLE_FLIPV,!1,Q)}finally{this.model.endUpdate()}};Graph.prototype.deleteCells=function(u,N){var Q=null;if(null!=u&&0<u.length){this.model.beginUpdate();
-try{for(var Y=0;Y<u.length;Y++){var ia=this.model.getParent(u[Y]);if(this.isTable(ia)){var ja=this.getCellGeometry(u[Y]),oa=this.getCellGeometry(ia);null!=ja&&null!=oa&&(oa=oa.clone(),oa.height-=ja.height,this.model.setGeometry(ia,oa))}}var ta=this.selectParentAfterDelete?this.model.getParents(u):null;this.removeCells(u,N)}finally{this.model.endUpdate()}if(null!=ta)for(Q=[],Y=0;Y<ta.length;Y++)this.model.contains(ta[Y])&&(this.model.isVertex(ta[Y])||this.model.isEdge(ta[Y]))&&Q.push(ta[Y])}return Q};
-Graph.prototype.insertTableColumn=function(u,N){var Q=this.getModel();Q.beginUpdate();try{var Y=u,ia=0;if(this.isTableCell(u)){var ja=Q.getParent(u);Y=Q.getParent(ja);ia=mxUtils.indexOf(Q.getChildCells(ja,!0),u)}else this.isTableRow(u)?Y=Q.getParent(u):u=Q.getChildCells(Y,!0)[0],N||(ia=Q.getChildCells(u,!0).length-1);var oa=Q.getChildCells(Y,!0),ta=Graph.minTableColumnWidth;for(u=0;u<oa.length;u++){var sa=Q.getChildCells(oa[u],!0)[ia],xa=Q.cloneCell(sa,!1);null==xa&&(xa=this.createVertex());var Ca=
-this.getCellGeometry(xa);xa.value=null;xa.style=mxUtils.setStyle(mxUtils.setStyle(xa.style,"rowspan",null),"colspan",null);if(null!=Ca){null!=Ca.alternateBounds&&(Ca.width=Ca.alternateBounds.width,Ca.height=Ca.alternateBounds.height,Ca.alternateBounds=null);ta=Ca.width;var Oa=this.getCellGeometry(oa[u]);null!=Oa&&(Ca.height=Oa.height)}Q.add(oa[u],xa,ia+(N?0:1))}var Wa=this.getCellGeometry(Y);null!=Wa&&(Wa=Wa.clone(),Wa.width+=ta,Q.setGeometry(Y,Wa))}finally{Q.endUpdate()}};Graph.prototype.deleteLane=
-function(u){var N=this.getModel();N.beginUpdate();try{var Q=null;Q="stackLayout"==this.getCurrentCellStyle(u).childLayout?u:N.getParent(u);var Y=N.getChildCells(Q,!0);0==Y.length?N.remove(Q):(Q==u&&(u=Y[Y.length-1]),N.remove(u))}finally{N.endUpdate()}};Graph.prototype.insertLane=function(u,N){var Q=this.getModel();Q.beginUpdate();try{var Y=null;if("stackLayout"==this.getCurrentCellStyle(u).childLayout){Y=u;var ia=Q.getChildCells(Y,!0);u=ia[N?0:ia.length-1]}else Y=Q.getParent(u);var ja=Y.getIndex(u);
-u=Q.cloneCell(u,!1);u.value=null;Q.add(Y,u,ja+(N?0:1))}finally{Q.endUpdate()}};Graph.prototype.insertTableRow=function(u,N){var Q=this.getModel();Q.beginUpdate();try{var Y=u,ia=u;if(this.isTableCell(u))ia=Q.getParent(u),Y=Q.getParent(ia);else if(this.isTableRow(u))Y=Q.getParent(u);else{var ja=Q.getChildCells(Y,!0);ia=ja[N?0:ja.length-1]}var oa=Q.getChildCells(ia,!0),ta=Y.getIndex(ia);ia=Q.cloneCell(ia,!1);ia.value=null;var sa=this.getCellGeometry(ia);if(null!=sa){for(ja=0;ja<oa.length;ja++){u=Q.cloneCell(oa[ja],
-!1);u.value=null;u.style=mxUtils.setStyle(mxUtils.setStyle(u.style,"rowspan",null),"colspan",null);var xa=this.getCellGeometry(u);null!=xa&&(null!=xa.alternateBounds&&(xa.width=xa.alternateBounds.width,xa.height=xa.alternateBounds.height,xa.alternateBounds=null),xa.height=sa.height);ia.insert(u)}Q.add(Y,ia,ta+(N?0:1));var Ca=this.getCellGeometry(Y);null!=Ca&&(Ca=Ca.clone(),Ca.height+=sa.height,Q.setGeometry(Y,Ca))}}finally{Q.endUpdate()}};Graph.prototype.deleteTableColumn=function(u){var N=this.getModel();
-N.beginUpdate();try{var Q=u,Y=u;this.isTableCell(u)&&(Y=N.getParent(u));this.isTableRow(Y)&&(Q=N.getParent(Y));var ia=N.getChildCells(Q,!0);if(0==ia.length)N.remove(Q);else{this.isTableRow(Y)||(Y=ia[0]);var ja=N.getChildCells(Y,!0);if(1>=ja.length)N.remove(Q);else{var oa=ja.length-1;this.isTableCell(u)&&(oa=mxUtils.indexOf(ja,u));for(Y=u=0;Y<ia.length;Y++){var ta=N.getChildCells(ia[Y],!0)[oa];N.remove(ta);var sa=this.getCellGeometry(ta);null!=sa&&(u=Math.max(u,sa.width))}var xa=this.getCellGeometry(Q);
-null!=xa&&(xa=xa.clone(),xa.width-=u,N.setGeometry(Q,xa))}}}finally{N.endUpdate()}};Graph.prototype.deleteTableRow=function(u){var N=this.getModel();N.beginUpdate();try{var Q=u,Y=u;this.isTableCell(u)&&(u=Y=N.getParent(u));this.isTableRow(u)&&(Q=N.getParent(Y));var ia=N.getChildCells(Q,!0);if(1>=ia.length)N.remove(Q);else{this.isTableRow(Y)||(Y=ia[ia.length-1]);N.remove(Y);u=0;var ja=this.getCellGeometry(Y);null!=ja&&(u=ja.height);var oa=this.getCellGeometry(Q);null!=oa&&(oa=oa.clone(),oa.height-=
-u,N.setGeometry(Q,oa))}}finally{N.endUpdate()}};Graph.prototype.insertRow=function(u,N){for(var Q=u.tBodies[0],Y=Q.rows[0].cells,ia=u=0;ia<Y.length;ia++){var ja=Y[ia].getAttribute("colspan");u+=null!=ja?parseInt(ja):1}N=Q.insertRow(N);for(ia=0;ia<u;ia++)mxUtils.br(N.insertCell(-1));return N.cells[0]};Graph.prototype.deleteRow=function(u,N){u.tBodies[0].deleteRow(N)};Graph.prototype.insertColumn=function(u,N){var Q=u.tHead;if(null!=Q)for(var Y=0;Y<Q.rows.length;Y++){var ia=document.createElement("th");
-Q.rows[Y].appendChild(ia);mxUtils.br(ia)}u=u.tBodies[0];for(Q=0;Q<u.rows.length;Q++)Y=u.rows[Q].insertCell(N),mxUtils.br(Y);return u.rows[0].cells[0<=N?N:u.rows[0].cells.length-1]};Graph.prototype.deleteColumn=function(u,N){if(0<=N){u=u.tBodies[0].rows;for(var Q=0;Q<u.length;Q++)u[Q].cells.length>N&&u[Q].deleteCell(N)}};Graph.prototype.pasteHtmlAtCaret=function(u){if(window.getSelection){var N=window.getSelection();if(N.getRangeAt&&N.rangeCount){N=N.getRangeAt(0);N.deleteContents();var Q=document.createElement("div");
-Q.innerHTML=u;u=document.createDocumentFragment();for(var Y;Y=Q.firstChild;)lastNode=u.appendChild(Y);N.insertNode(u)}}else(N=document.selection)&&"Control"!=N.type&&N.createRange().pasteHTML(u)};Graph.prototype.createLinkForHint=function(u,N,Q){function Y(ja,oa){ja.length>oa&&(ja=ja.substring(0,Math.round(oa/2))+"..."+ja.substring(ja.length-Math.round(oa/4)));return ja}u=null!=u?u:"javascript:void(0);";if(null==N||0==N.length)N=this.isCustomLink(u)?this.getLinkTitle(u):u;var ia=document.createElement("a");
-ia.setAttribute("rel",this.linkRelation);ia.setAttribute("href",this.getAbsoluteUrl(u));ia.setAttribute("title",Y(this.isCustomLink(u)?this.getLinkTitle(u):u,80));null!=this.linkTarget&&ia.setAttribute("target",this.linkTarget);mxUtils.write(ia,Y(N,40));this.isCustomLink(u)&&mxEvent.addListener(ia,"click",mxUtils.bind(this,function(ja){this.customLinkClicked(u,Q);mxEvent.consume(ja)}));return ia};Graph.prototype.initTouch=function(){this.connectionHandler.marker.isEnabled=function(){return null!=
-this.graph.connectionHandler.first};this.addListener(mxEvent.START_EDITING,function(ja,oa){this.popupMenuHandler.hideMenu()});var u=this.updateMouseEvent;this.updateMouseEvent=function(ja){ja=u.apply(this,arguments);if(mxEvent.isTouchEvent(ja.getEvent())&&null==ja.getState()){var oa=this.getCellAt(ja.graphX,ja.graphY);null!=oa&&this.isSwimlane(oa)&&this.hitsSwimlaneContent(oa,ja.graphX,ja.graphY)||(ja.state=this.view.getState(oa),null!=ja.state&&null!=ja.state.shape&&(this.container.style.cursor=
-ja.state.shape.node.style.cursor))}null==ja.getState()&&this.isEnabled()&&(this.container.style.cursor="default");return ja};var N=!1,Q=!1,Y=!1,ia=this.fireMouseEvent;this.fireMouseEvent=function(ja,oa,ta){ja==mxEvent.MOUSE_DOWN&&(oa=this.updateMouseEvent(oa),N=this.isCellSelected(oa.getCell()),Q=this.isSelectionEmpty(),Y=this.popupMenuHandler.isMenuShowing());ia.apply(this,arguments)};this.popupMenuHandler.mouseUp=mxUtils.bind(this,function(ja,oa){if(null!=this.freehand&&!this.freehand.isDrawing()){var ta=
-mxEvent.isMouseEvent(oa.getEvent());this.popupMenuHandler.popupTrigger=!this.isEditing()&&this.isEnabled()&&(null==oa.getState()||!oa.isSource(oa.getState().control))&&(this.popupMenuHandler.popupTrigger||!Y&&!ta&&(Q&&null==oa.getCell()&&this.isSelectionEmpty()||N&&this.isCellSelected(oa.getCell())));ta=!N||ta?null:mxUtils.bind(this,function(sa){window.setTimeout(mxUtils.bind(this,function(){if(!this.isEditing()){var xa=mxUtils.getScrollOrigin();this.popupMenuHandler.popup(oa.getX()+xa.x+1,oa.getY()+
-xa.y+1,sa,oa.getEvent())}}),300)});mxPopupMenuHandler.prototype.mouseUp.apply(this.popupMenuHandler,[ja,oa,ta])}})};mxCellEditor.prototype.isContentEditing=function(){var u=this.graph.view.getState(this.editingCell);return null!=u&&1==u.style.html};mxCellEditor.prototype.isTableSelected=function(){return null!=this.graph.getParentByName(this.graph.getSelectedElement(),"TABLE",this.textarea)};mxCellEditor.prototype.isTextSelected=function(){var u="";window.getSelection?u=window.getSelection():document.getSelection?
-u=document.getSelection():document.selection&&(u=document.selection.createRange().text);return""!=u};mxCellEditor.prototype.insertTab=function(u){var N=this.textarea.ownerDocument.defaultView.getSelection(),Q=N.getRangeAt(0);u=Graph.createTabNode(u);Q.insertNode(u);Q.setStartAfter(u);Q.setEndAfter(u);N.removeAllRanges();N.addRange(Q)};mxCellEditor.prototype.alignText=function(u,N){var Q=this.graph.getView().getState(this.editingCell);if(null!=Q){Q=mxUtils.getValue(Q.style,mxConstants.STYLE_TEXT_DIRECTION,
-mxConstants.DEFAULT_TEXT_DIRECTION);var Y=null!=Q&&"vertical-"==Q.substring(0,9),ia=null!=N&&mxEvent.isShiftDown(N);if(ia||null!=window.getSelection&&null!=window.getSelection().containsNode){var ja=!0;this.graph.processElements(this.textarea,function(oa){ia||Y||window.getSelection().containsNode(oa,!0)?(oa.removeAttribute("align"),oa.style.textAlign=null):ja=!1});(ja||Y)&&this.graph.cellEditor.setAlign(u)}Y||document.execCommand("justify"+u.toLowerCase(),!1,null)}};mxCellEditor.prototype.saveSelection=
-function(){if(window.getSelection){var u=window.getSelection();if(u.getRangeAt&&u.rangeCount){for(var N=[],Q=0,Y=u.rangeCount;Q<Y;++Q)N.push(u.getRangeAt(Q));return N}}else if(document.selection&&document.selection.createRange)return document.selection.createRange();return null};mxCellEditor.prototype.restoreSelection=function(u){try{if(u)if(window.getSelection){sel=window.getSelection();sel.removeAllRanges();for(var N=0,Q=u.length;N<Q;++N)sel.addRange(u[N])}else document.selection&&u.select&&u.select()}catch(Y){}};
-var z=mxCellRenderer.prototype.initializeLabel;mxCellRenderer.prototype.initializeLabel=function(u){null!=u.text&&(u.text.replaceLinefeeds="0"!=mxUtils.getValue(u.style,"nl2Br","1"));z.apply(this,arguments)};var A=mxConstraintHandler.prototype.update;mxConstraintHandler.prototype.update=function(u,N){this.isKeepFocusEvent(u)||!mxEvent.isAltDown(u.getEvent())?A.apply(this,arguments):this.reset()};mxGuide.prototype.createGuideShape=function(u){return new mxPolyline([],mxConstants.GUIDE_COLOR,mxConstants.GUIDE_STROKEWIDTH)};
-mxCellEditor.prototype.escapeCancelsEditing=!1;var B=mxCellEditor.prototype.startEditing;mxCellEditor.prototype.startEditing=function(u,N){u=this.graph.getStartEditingCell(u,N);B.apply(this,arguments);var Q=this.graph.view.getState(u);this.textarea.className=null!=Q&&1==Q.style.html?"mxCellEditor geContentEditable":"mxCellEditor mxPlainTextEditor";this.codeViewMode=!1;this.switchSelectionState=null;this.graph.setSelectionCell(u)};mxCellEditor.prototype.toggleViewMode=function(){var u=this.graph.view.getState(this.editingCell);
-if(null!=u){var N=null!=u&&"0"!=mxUtils.getValue(u.style,"nl2Br","1"),Q=this.saveSelection();if(this.codeViewMode){ta=mxUtils.extractTextWithWhitespace(this.textarea.childNodes);0<ta.length&&"\n"==ta.charAt(ta.length-1)&&(ta=ta.substring(0,ta.length-1));ta=Graph.sanitizeHtml(N?ta.replace(/\n/g,"<br/>"):ta,!0);this.textarea.className="mxCellEditor geContentEditable";sa=mxUtils.getValue(u.style,mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE);N=mxUtils.getValue(u.style,mxConstants.STYLE_FONTFAMILY,
-mxConstants.DEFAULT_FONTFAMILY);var Y=mxUtils.getValue(u.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_LEFT),ia=(mxUtils.getValue(u.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD,ja=(mxUtils.getValue(u.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC,oa=[];(mxUtils.getValue(u.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&oa.push("underline");(mxUtils.getValue(u.style,mxConstants.STYLE_FONTSTYLE,
-0)&mxConstants.FONT_STRIKETHROUGH)==mxConstants.FONT_STRIKETHROUGH&&oa.push("line-through");this.textarea.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?Math.round(sa*mxConstants.LINE_HEIGHT)+"px":mxConstants.LINE_HEIGHT;this.textarea.style.fontSize=Math.round(sa)+"px";this.textarea.style.textDecoration=oa.join(" ");this.textarea.style.fontWeight=ia?"bold":"normal";this.textarea.style.fontStyle=ja?"italic":"";this.textarea.style.fontFamily=N;this.textarea.style.textAlign=Y;this.textarea.style.padding=
-"0px";this.textarea.innerHTML!=ta&&(this.textarea.innerHTML=ta,0==this.textarea.innerHTML.length&&(this.textarea.innerHTML=this.getEmptyLabelText(),this.clearOnChange=0<this.textarea.innerHTML.length));this.codeViewMode=!1}else{this.clearOnChange&&this.textarea.innerHTML==this.getEmptyLabelText()&&(this.clearOnChange=!1,this.textarea.innerText="");var ta=mxUtils.htmlEntities(this.textarea.innerHTML);8!=document.documentMode&&(ta=mxUtils.replaceTrailingNewlines(ta,"<div><br></div>"));ta=Graph.sanitizeHtml(N?
-ta.replace(/\n/g,"").replace(/&lt;br\s*.?&gt;/g,"<br>"):ta,!0);this.textarea.className="mxCellEditor mxPlainTextEditor";var sa=mxConstants.DEFAULT_FONTSIZE;this.textarea.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?Math.round(sa*mxConstants.LINE_HEIGHT)+"px":mxConstants.LINE_HEIGHT;this.textarea.style.fontSize=Math.round(sa)+"px";this.textarea.style.textDecoration="";this.textarea.style.fontWeight="normal";this.textarea.style.fontStyle="";this.textarea.style.fontFamily=mxConstants.DEFAULT_FONTFAMILY;
-this.textarea.style.textAlign="left";this.textarea.style.width="";this.textarea.style.padding="2px";this.textarea.innerHTML!=ta&&(this.textarea.innerHTML=ta);this.codeViewMode=!0}this.textarea.focus();null!=this.switchSelectionState&&this.restoreSelection(this.switchSelectionState);this.switchSelectionState=Q;this.resize()}};var G=mxCellEditor.prototype.resize;mxCellEditor.prototype.resize=function(u,N){if(null!=this.textarea)if(u=this.graph.getView().getState(this.editingCell),this.codeViewMode&&
-null!=u){var Q=u.view.scale;this.bounds=mxRectangle.fromRectangle(u);if(0==this.bounds.width&&0==this.bounds.height){this.bounds.width=160*Q;this.bounds.height=60*Q;var Y=null!=u.text?u.text.margin:null;null==Y&&(Y=mxUtils.getAlignmentAsPoint(mxUtils.getValue(u.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER),mxUtils.getValue(u.style,mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE)));this.bounds.x+=Y.x*this.bounds.width;this.bounds.y+=Y.y*this.bounds.height}this.textarea.style.width=
-Math.round((this.bounds.width-4)/Q)+"px";this.textarea.style.height=Math.round((this.bounds.height-4)/Q)+"px";this.textarea.style.overflow="auto";this.textarea.clientHeight<this.textarea.offsetHeight&&(this.textarea.style.height=Math.round(this.bounds.height/Q)+(this.textarea.offsetHeight-this.textarea.clientHeight)+"px",this.bounds.height=parseInt(this.textarea.style.height)*Q);this.textarea.clientWidth<this.textarea.offsetWidth&&(this.textarea.style.width=Math.round(this.bounds.width/Q)+(this.textarea.offsetWidth-
-this.textarea.clientWidth)+"px",this.bounds.width=parseInt(this.textarea.style.width)*Q);this.textarea.style.left=Math.round(this.bounds.x)+"px";this.textarea.style.top=Math.round(this.bounds.y)+"px";mxUtils.setPrefixedStyle(this.textarea.style,"transform","scale("+Q+","+Q+")")}else this.textarea.style.height="",this.textarea.style.overflow="",G.apply(this,arguments)};mxCellEditorGetInitialValue=mxCellEditor.prototype.getInitialValue;mxCellEditor.prototype.getInitialValue=function(u,N){if("0"==mxUtils.getValue(u.style,
-"html","0"))return mxCellEditorGetInitialValue.apply(this,arguments);var Q=this.graph.getEditingValue(u.cell,N);"1"==mxUtils.getValue(u.style,"nl2Br","1")&&(Q=Q.replace(/\n/g,"<br/>"));return Q=Graph.sanitizeHtml(Q,!0)};mxCellEditorGetCurrentValue=mxCellEditor.prototype.getCurrentValue;mxCellEditor.prototype.getCurrentValue=function(u){if("0"==mxUtils.getValue(u.style,"html","0"))return mxCellEditorGetCurrentValue.apply(this,arguments);var N=Graph.sanitizeHtml(this.textarea.innerHTML,!0);"1"==mxUtils.getValue(u.style,
-"nl2Br","1")?(N=N.replace(/\r\n/g,"<br/>").replace(/\n/g,"<br/>"),0<N.length&&("<br/>"==N.substring(N.length-5)||"<br>"==N.substring(N.length-4))&&(N=N.substring(0,N.lastIndexOf("<br"))+"<div><br/></div>")):N=N.replace(/\r\n/g,"").replace(/\n/g,"");return N};var L=mxCellEditor.prototype.stopEditing;mxCellEditor.prototype.stopEditing=function(u){this.codeViewMode&&this.toggleViewMode();L.apply(this,arguments);this.focusContainer()};mxCellEditor.prototype.focusContainer=function(){try{this.graph.container.focus()}catch(u){}};
-var P=mxCellEditor.prototype.applyValue;mxCellEditor.prototype.applyValue=function(u,N){this.graph.getModel().beginUpdate();try{P.apply(this,arguments),""==N&&this.graph.isCellDeletable(u.cell)&&0==this.graph.model.getChildCount(u.cell)&&this.graph.isTransparentState(u)&&this.graph.removeCells([u.cell],!1)}finally{this.graph.getModel().endUpdate()}};mxCellEditor.prototype.getBackgroundColor=function(u){u=mxUtils.getValue(u.style,mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,null);u==mxConstants.NONE&&(u=
-null);return u};mxCellEditor.prototype.getBorderColor=function(u){u=mxUtils.getValue(u.style,mxConstants.STYLE_LABEL_BORDERCOLOR,null);u==mxConstants.NONE&&(u=null);return u};mxCellEditor.prototype.getMinimumSize=function(u){var N=this.graph.getView().scale;return new mxRectangle(0,0,null==u.text?30:u.text.size*N+20,30)};mxGraphHandlerIsValidDropTarget=mxGraphHandler.prototype.isValidDropTarget;mxGraphHandler.prototype.isValidDropTarget=function(u,N){return mxGraphHandlerIsValidDropTarget.apply(this,
-arguments)&&!mxEvent.isAltDown(N.getEvent)};mxGraphView.prototype.formatUnitText=function(u){return u?e(u,this.unit):u};mxGraphHandler.prototype.updateHint=function(u){if(null!=this.pBounds&&(null!=this.shape||this.livePreviewActive)){null==this.hint&&(this.hint=b(),this.graph.container.appendChild(this.hint));var N=this.graph.view.translate,Q=this.graph.view.scale;u=this.roundLength((this.bounds.x+this.currentDx)/Q-N.x);N=this.roundLength((this.bounds.y+this.currentDy)/Q-N.y);Q=this.graph.view.unit;
-this.hint.innerHTML=e(u,Q)+", "+e(N,Q);this.hint.style.left=this.pBounds.x+this.currentDx+Math.round((this.pBounds.width-this.hint.clientWidth)/2)+"px";this.hint.style.top=this.pBounds.y+this.currentDy+this.pBounds.height+Editor.hintOffset+"px"}};mxGraphHandler.prototype.removeHint=function(){null!=this.hint&&(null!=this.hint.parentNode&&this.hint.parentNode.removeChild(this.hint),this.hint=null)};var J=mxStackLayout.prototype.resizeCell;mxStackLayout.prototype.resizeCell=function(u,N){J.apply(this,
-arguments);var Q=this.graph.getCellStyle(u);if(null==Q.childLayout){var Y=this.graph.model.getParent(u),ia=null!=Y?this.graph.getCellGeometry(Y):null;if(null!=ia&&(Q=this.graph.getCellStyle(Y),"stackLayout"==Q.childLayout)){var ja=parseFloat(mxUtils.getValue(Q,"stackBorder",mxStackLayout.prototype.border));Q="1"==mxUtils.getValue(Q,"horizontalStack","1");var oa=this.graph.getActualStartSize(Y);ia=ia.clone();Q?ia.height=N.height+oa.y+oa.height+2*ja:ia.width=N.width+oa.x+oa.width+2*ja;this.graph.model.setGeometry(Y,
-ia)}}};var fa=mxSelectionCellsHandler.prototype.getHandledSelectionCells;mxSelectionCellsHandler.prototype.getHandledSelectionCells=function(){function u(ta){Q.get(ta)||(Q.put(ta,!0),ia.push(ta))}for(var N=fa.apply(this,arguments),Q=new mxDictionary,Y=this.graph.model,ia=[],ja=0;ja<N.length;ja++){var oa=N[ja];this.graph.isTableCell(oa)?u(Y.getParent(Y.getParent(oa))):this.graph.isTableRow(oa)&&u(Y.getParent(oa));u(oa)}return ia};var ea=mxConnectionHandler.prototype.isStartEvent;mxConnectionHandler.prototype.isStartEvent=
-function(u){return ea.apply(this,arguments)&&!mxEvent.isControlDown(u.getEvent())&&!mxEvent.isShiftDown(u.getEvent())};var T=mxVertexHandler.prototype.isGhostPreview;mxVertexHandler.prototype.isGhostPreview=function(){return T.apply(this,arguments)&&!this.graph.isTable(this.state.cell)&&!this.graph.isTableRow(this.state.cell)&&!this.graph.isTableCell(this.state.cell)&&!this.graph.isSwimlane(this.state.cell)};var ca=mxVertexHandler.prototype.createParentHighlightShape;mxVertexHandler.prototype.createParentHighlightShape=
-function(u){var N=ca.apply(this,arguments);N.stroke="#C0C0C0";N.strokewidth=1;return N};var ka=mxEdgeHandler.prototype.createParentHighlightShape;mxEdgeHandler.prototype.createParentHighlightShape=function(u){var N=ka.apply(this,arguments);N.stroke="#C0C0C0";N.strokewidth=1;return N};mxVertexHandler.prototype.rotationHandleVSpacing=-12;mxVertexHandler.prototype.getRotationHandlePosition=function(){var u=this.getHandlePadding();return new mxPoint(this.bounds.x+this.bounds.width-this.rotationHandleVSpacing+
-u.x/2,this.bounds.y+this.rotationHandleVSpacing-u.y/2)};mxVertexHandler.prototype.isRecursiveResize=function(u,N){return this.graph.isRecursiveVertexResize(u)&&!mxEvent.isAltDown(N.getEvent())};mxVertexHandler.prototype.isCenteredEvent=function(u,N){return mxEvent.isControlDown(N.getEvent())||mxEvent.isMetaDown(N.getEvent())};var ma=mxVertexHandler.prototype.isRotationHandleVisible;mxVertexHandler.prototype.isRotationHandleVisible=function(){return ma.apply(this,arguments)&&!this.graph.isTableCell(this.state.cell)&&
-!this.graph.isTableRow(this.state.cell)&&!this.graph.isTable(this.state.cell)};mxVertexHandler.prototype.getSizerBounds=function(){return this.graph.isTableCell(this.state.cell)?this.graph.view.getState(this.graph.model.getParent(this.graph.model.getParent(this.state.cell))):this.bounds};var aa=mxVertexHandler.prototype.isParentHighlightVisible;mxVertexHandler.prototype.isParentHighlightVisible=function(){return aa.apply(this,arguments)&&!this.graph.isTableCell(this.state.cell)&&!this.graph.isTableRow(this.state.cell)};
-var V=mxVertexHandler.prototype.isCustomHandleVisible;mxVertexHandler.prototype.isCustomHandleVisible=function(u){return u.tableHandle||V.apply(this,arguments)&&(!this.graph.isTable(this.state.cell)||this.graph.isCellSelected(this.state.cell))};mxVertexHandler.prototype.getSelectionBorderInset=function(){var u=0;this.graph.isTableRow(this.state.cell)?u=1:this.graph.isTableCell(this.state.cell)&&(u=2);return u};var da=mxVertexHandler.prototype.getSelectionBorderBounds;mxVertexHandler.prototype.getSelectionBorderBounds=
-function(){return da.apply(this,arguments).grow(-this.getSelectionBorderInset())};var k=null,t=mxVertexHandler.prototype.createCustomHandles;mxVertexHandler.prototype.createCustomHandles=function(){null==k&&(k=mxCellRenderer.defaultShapes.tableLine);var u=t.apply(this,arguments);if(this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell)){var N=function(ab,Ta,Pa){for(var kb=[],cb=0;cb<ab.length;cb++){var $a=ab[cb];kb.push(null==$a?null:new mxPoint((sa+$a.x+Ta)*ja,(xa+$a.y+Pa)*
-ja))}return kb},Q=this,Y=this.graph,ia=Y.model,ja=Y.view.scale,oa=this.state,ta=this.selectionBorder,sa=this.state.origin.x+Y.view.translate.x,xa=this.state.origin.y+Y.view.translate.y;null==u&&(u=[]);var Ca=Y.view.getCellStates(ia.getChildCells(this.state.cell,!0));if(0<Ca.length){var Oa=ia.getChildCells(Ca[0].cell,!0),Wa=Y.getTableLines(this.state.cell,!1,!0),Za=Y.getTableLines(this.state.cell,!0,!1);for(ia=0;ia<Ca.length;ia++)mxUtils.bind(this,function(ab){var Ta=Ca[ab],Pa=null;if(Y.isCellMovable(Ta.cell)){Pa=
-ab<Ca.length-1?Ca[ab+1]:null;Pa=null!=Pa?Y.getCellGeometry(Pa.cell):null;var kb=null!=Pa&&null!=Pa.alternateBounds?Pa.alternateBounds:Pa;Pa=null!=Za[ab]?new k(Za[ab],mxConstants.NONE,1):new mxLine(new mxRectangle,mxConstants.NONE,1,!1);Pa.isDashed=ta.isDashed;Pa.svgStrokeTolerance++;Pa=new mxHandle(Ta,"row-resize",null,Pa);Pa.tableHandle=!0;var cb=0;Pa.shape.node.parentNode.insertBefore(Pa.shape.node,Pa.shape.node.parentNode.firstChild);Pa.redraw=function(){if(null!=this.shape){this.shape.stroke=
-0==cb?mxConstants.NONE:ta.stroke;if(this.shape.constructor==k)this.shape.line=N(Za[ab],0,cb),this.shape.updateBoundsFromLine();else{var gb=Y.getActualStartSize(oa.cell,!0);this.shape.bounds.height=1;this.shape.bounds.y=this.state.y+this.state.height+cb*ja;this.shape.bounds.x=oa.x+(ab==Ca.length-1?0:gb.x*ja);this.shape.bounds.width=oa.width-(ab==Ca.length-1?0:gb.width+gb.x+ja)}this.shape.redraw()}};var $a=!1;Pa.setPosition=function(gb,ib,mb){cb=Math.max(Graph.minTableRowHeight-gb.height,ib.y-gb.y-
-gb.height);$a=mxEvent.isShiftDown(mb.getEvent());null!=kb&&$a&&(cb=Math.min(cb,kb.height-Graph.minTableRowHeight))};Pa.execute=function(gb){if(0!=cb)Y.setTableRowHeight(this.state.cell,cb,!$a);else if(!Q.blockDelayedSelection){var ib=Y.getCellAt(gb.getGraphX(),gb.getGraphY())||oa.cell;Y.graphHandler.selectCellForEvent(ib,gb)}cb=0};Pa.reset=function(){cb=0}}u.push(Pa)})(ia);for(ia=0;ia<Oa.length;ia++)mxUtils.bind(this,function(ab){var Ta=Y.view.getState(Oa[ab]),Pa=Y.getCellGeometry(Oa[ab]),kb=null!=
-Pa.alternateBounds?Pa.alternateBounds:Pa;null==Ta&&(Ta=new mxCellState(Y.view,Oa[ab],Y.getCellStyle(Oa[ab])),Ta.x=oa.x+Pa.x*ja,Ta.y=oa.y+Pa.y*ja,Ta.width=kb.width*ja,Ta.height=kb.height*ja,Ta.updateCachedBounds());Pa=ab<Oa.length-1?Oa[ab+1]:null;Pa=null!=Pa?Y.getCellGeometry(Pa):null;var cb=null!=Pa&&null!=Pa.alternateBounds?Pa.alternateBounds:Pa;Pa=null!=Wa[ab]?new k(Wa[ab],mxConstants.NONE,1):new mxLine(new mxRectangle,mxConstants.NONE,1,!0);Pa.isDashed=ta.isDashed;Pa.svgStrokeTolerance++;Ta=new mxHandle(Ta,
-"col-resize",null,Pa);Ta.tableHandle=!0;var $a=0;Ta.shape.node.parentNode.insertBefore(Ta.shape.node,Ta.shape.node.parentNode.firstChild);Ta.redraw=function(){if(null!=this.shape){this.shape.stroke=0==$a?mxConstants.NONE:ta.stroke;if(this.shape.constructor==k)this.shape.line=N(Wa[ab],$a,0),this.shape.updateBoundsFromLine();else{var ib=Y.getActualStartSize(oa.cell,!0);this.shape.bounds.width=1;this.shape.bounds.x=this.state.x+(kb.width+$a)*ja;this.shape.bounds.y=oa.y+(ab==Oa.length-1?0:ib.y*ja);this.shape.bounds.height=
-oa.height-(ab==Oa.length-1?0:(ib.height+ib.y)*ja)}this.shape.redraw()}};var gb=!1;Ta.setPosition=function(ib,mb,vb){$a=Math.max(Graph.minTableColumnWidth-kb.width,mb.x-ib.x-kb.width);gb=mxEvent.isShiftDown(vb.getEvent());null==cb||gb||($a=Math.min($a,cb.width-Graph.minTableColumnWidth))};Ta.execute=function(ib){if(0!=$a)Y.setTableColumnWidth(this.state.cell,$a,gb);else if(!Q.blockDelayedSelection){var mb=Y.getCellAt(ib.getGraphX(),ib.getGraphY())||oa.cell;Y.graphHandler.selectCellForEvent(mb,ib)}$a=
-0};Ta.positionChanged=function(){};Ta.reset=function(){$a=0};u.push(Ta)})(ia)}}return null!=u?u.reverse():null};var I=mxVertexHandler.prototype.setHandlesVisible;mxVertexHandler.prototype.setHandlesVisible=function(u){I.apply(this,arguments);if(null!=this.moveHandles)for(var N=0;N<this.moveHandles.length;N++)null!=this.moveHandles[N]&&(this.moveHandles[N].node.style.visibility=u?"":"hidden");if(null!=this.cornerHandles)for(N=0;N<this.cornerHandles.length;N++)this.cornerHandles[N].node.style.visibility=
-u?"":"hidden"};mxVertexHandler.prototype.isMoveHandlesVisible=function(){return this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell)};mxVertexHandler.prototype.refreshMoveHandles=function(){var u=this.isMoveHandlesVisible();u&&null==this.moveHandles?this.moveHandles=this.createMoveHandles():u||null==this.moveHandles||this.destroyMoveHandles();if(u&&null==this.moveHandles){for(u=0;u<this.moveHandles.length;u++)null!=this.moveHandles[u]&&this.moveHandles[u].parentNode.removeChild(this.moveHandles[u]);
-this.moveHandles=null}};mxVertexHandler.prototype.createMoveHandles=function(){for(var u=this.graph,N=u.model,Q=[],Y=0;Y<N.getChildCount(this.state.cell);Y++)mxUtils.bind(this,function(ia){if(null!=ia&&N.isVertex(ia.cell)&&u.isCellMovable(ia.cell)){var ja=new mxRectangle(0,0,this.rowHandleImage.width,this.rowHandleImage.height);ja=new mxImageShape(ja,this.rowHandleImage.src);ja.rowState=ia;ja.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?mxConstants.DIALECT_MIXEDHTML:mxConstants.DIALECT_SVG;
-ja.init(this.graph.getView().getOverlayPane());ja.node.style.cursor="move";mxEvent.addGestureListeners(ja.node,mxUtils.bind(this,function(oa){this.graph.popupMenuHandler.hideMenu();this.graph.stopEditing(!1);!this.graph.isToggleEvent(oa)&&this.graph.isCellSelected(ia.cell)||this.graph.selectCellForEvent(ia.cell,oa);mxEvent.isPopupTrigger(oa)||(this.graph.graphHandler.start(this.state.cell,mxEvent.getClientX(oa),mxEvent.getClientY(oa),this.graph.getSelectionCells()),this.graph.graphHandler.cellWasClicked=
-!0,this.graph.isMouseTrigger=mxEvent.isMouseEvent(oa),this.graph.isMouseDown=!0);mxEvent.consume(oa)}),null,mxUtils.bind(this,function(oa){mxEvent.isPopupTrigger(oa)&&(this.graph.popupMenuHandler.popup(mxEvent.getClientX(oa),mxEvent.getClientY(oa),ia.cell,oa),mxEvent.consume(oa))}));Q.push(ja)}else Q.push(null)})(this.graph.view.getState(N.getChildAt(this.state.cell,Y)));return Q};mxVertexHandler.prototype.destroyMoveHandles=function(){if(null!=this.moveHandles){for(var u=0;u<this.moveHandles.length;u++)null!=
-this.moveHandles[u]&&this.moveHandles[u].destroy();this.moveHandles=null}};mxVertexHandler.prototype.destroyCornerHandles=function(){if(null!=this.cornerHandles){for(var u=0;u<this.cornerHandles.length;u++)null!=this.cornerHandles[u]&&null!=this.cornerHandles[u].node&&null!=this.cornerHandles[u].node.parentNode&&this.cornerHandles[u].node.parentNode.removeChild(this.cornerHandles[u].node);this.cornerHandles=null}};var R=mxVertexHandler.prototype.refresh;mxVertexHandler.prototype.refresh=function(){R.apply(this,
-arguments);this.destroyMoveHandles();this.destroyCornerHandles();if(this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell))this.refreshMoveHandles();else if(1==this.graph.getSelectionCount()&&this.graph.isCellMovable(this.state.cell)&&(this.graph.isTableCell(this.state.cell)||this.graph.isTableRow(this.state.cell))){this.cornerHandles=[];for(var u=0;4>u;u++){var N=new mxRectangleShape(new mxRectangle(0,0,6,6),"#ffffff",mxConstants.HANDLE_STROKECOLOR);N.dialect=mxConstants.DIALECT_SVG;
-N.init(this.graph.view.getOverlayPane());this.cornerHandles.push(N)}}this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell)&&this.refreshMoveHandles();u=this.graph.getLinkForCell(this.state.cell);N=this.graph.getLinksForState(this.state);this.updateLinkHint(u,N)};var O=mxVertexHandler.prototype.getHandlePadding;mxVertexHandler.prototype.getHandlePadding=function(){var u=new mxPoint(0,0),N=this.tolerance,Q=this.state.style.shape;null==mxCellRenderer.defaultShapes[Q]&&mxStencilRegistry.getStencil(Q);
-Q=this.graph.isTable(this.state.cell)||this.graph.cellEditor.getEditingCell()==this.state.cell;if(!Q&&null!=this.customHandles)for(var Y=0;Y<this.customHandles.length;Y++)if(null!=this.customHandles[Y]&&null!=this.customHandles[Y].shape&&null!=this.customHandles[Y].shape.bounds){var ia=this.customHandles[Y].shape.bounds,ja=ia.getCenterX(),oa=ia.getCenterY();if(Math.abs(this.state.x-ja)<ia.width/2||Math.abs(this.state.y-oa)<ia.height/2||Math.abs(this.state.x+this.state.width-ja)<ia.width/2||Math.abs(this.state.y+
-this.state.height-oa)<ia.height/2){Q=!0;break}}Q&&null!=this.sizers&&0<this.sizers.length&&null!=this.sizers[0]?(N/=2,this.graph.isTable(this.state.cell)&&(N+=7),u.x=this.sizers[0].bounds.width+N,u.y=this.sizers[0].bounds.height+N):u=O.apply(this,arguments);return u};mxVertexHandler.prototype.updateHint=function(u){if(this.index!=mxEvent.LABEL_HANDLE){null==this.hint&&(this.hint=b(),this.state.view.graph.container.appendChild(this.hint));if(this.index==mxEvent.ROTATION_HANDLE)this.hint.innerHTML=
-this.currentAlpha+"&deg;";else{u=this.state.view.scale;var N=this.state.view.unit;this.hint.innerHTML=e(this.roundLength(this.bounds.width/u),N)+" x "+e(this.roundLength(this.bounds.height/u),N)}u=mxUtils.getBoundingBox(this.bounds,null!=this.currentAlpha?this.currentAlpha:this.state.style[mxConstants.STYLE_ROTATION]||"0");null==u&&(u=this.bounds);this.hint.style.left=u.x+Math.round((u.width-this.hint.clientWidth)/2)+"px";this.hint.style.top=u.y+u.height+Editor.hintOffset+"px";null!=this.linkHint&&
-(this.linkHint.style.display="none")}};mxVertexHandler.prototype.removeHint=function(){mxGraphHandler.prototype.removeHint.apply(this,arguments);null!=this.linkHint&&(this.linkHint.style.display="")};var X=mxEdgeHandler.prototype.refresh;mxEdgeHandler.prototype.refresh=function(){X.apply(this,arguments);var u=this.graph.getLinkForCell(this.state.cell),N=this.graph.getLinksForState(this.state);this.updateLinkHint(u,N)};var Z=mxEdgeHandler.prototype.mouseMove;mxEdgeHandler.prototype.mouseMove=function(u,
-N){Z.apply(this,arguments);null!=this.linkHint&&"none"!=this.linkHint.style.display&&null!=this.graph.graphHandler&&null!=this.graph.graphHandler.first&&(this.linkHint.style.display="none")};var ba=mxEdgeHandler.prototype.mouseUp;mxEdgeHandler.prototype.mouseUp=function(u,N){ba.apply(this,arguments);null!=this.linkHint&&"none"==this.linkHint.style.display&&1==this.graph.getSelectionCount()&&(this.linkHint.style.display="")};mxEdgeHandler.prototype.updateHint=function(u,N,Q){null==this.hint&&(this.hint=
-b(),this.state.view.graph.container.appendChild(this.hint));var Y=this.graph.view.translate,ia=this.graph.view.scale,ja=this.roundLength(N.x/ia-Y.x);Y=this.roundLength(N.y/ia-Y.y);var oa=this.graph.view.unit;this.hint.innerHTML=e(ja,oa)+", "+e(Y,oa);this.hint.style.visibility="visible";null!=Q&&(Q.view.updateEdgeBounds(Q),this.hint.innerHTML+=" ("+(oa==mxConstants.POINTS?Math.round(Q.length/ia):e(Q.length/ia,oa))+")");if(this.isSource||this.isTarget)null!=this.constraintHandler&&null!=this.constraintHandler.currentConstraint&&
-null!=this.constraintHandler.currentFocus?(Q=this.constraintHandler.currentConstraint.point,this.hint.innerHTML="["+Math.round(100*Q.x)+"%, "+Math.round(100*Q.y)+"%]"):this.marker.hasValidState()&&(this.hint.style.visibility="hidden");this.hint.style.left=Math.round(u.getGraphX()-this.hint.clientWidth/2)+"px";this.hint.style.top=Math.max(u.getGraphY(),N.y)+Editor.hintOffset+"px";null!=this.linkHint&&(this.linkHint.style.display="none")};Graph.prototype.expandedImage=Graph.createSvgImage(9,9,'<defs><linearGradient id="grad1" x1="50%" y1="0%" x2="50%" y2="100%"><stop offset="30%" style="stop-color:#f0f0f0;" /><stop offset="100%" style="stop-color:#AFB0B6;" /></linearGradient></defs><rect x="0" y="0" width="9" height="9" stroke="#8A94A5" fill="url(#grad1)" stroke-width="2"/><path d="M 2 4.5 L 7 4.5 z" stroke="#000"/>');
-Graph.prototype.collapsedImage=Graph.createSvgImage(9,9,'<defs><linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="30%" style="stop-color:#f0f0f0;" /><stop offset="100%" style="stop-color:#AFB0B6;" /></linearGradient></defs><rect x="0" y="0" width="9" height="9" stroke="#8A94A5" fill="url(#grad1)" stroke-width="2"/><path d="M 4.5 2 L 4.5 7 M 2 4.5 L 7 4.5 z" stroke="#000"/>');mxEdgeHandler.prototype.removeHint=mxVertexHandler.prototype.removeHint;HoverIcons.prototype.mainHandle=
-Graph.createSvgImage(18,18,'<circle cx="9" cy="9" r="5" stroke="#fff" fill="'+HoverIcons.prototype.arrowFill+'"/>');HoverIcons.prototype.endMainHandle=Graph.createSvgImage(18,18,'<circle cx="9" cy="9" r="6" stroke="#fff" fill="'+HoverIcons.prototype.arrowFill+'"/>');HoverIcons.prototype.secondaryHandle=Graph.createSvgImage(16,16,'<path d="m 8 3 L 13 8 L 8 13 L 3 8 z" stroke="#fff" fill="#fca000"/>');HoverIcons.prototype.fixedHandle=Graph.createSvgImage(22,22,'<circle cx="11" cy="11" r="6" stroke="#fff" fill="#01bd22"/><path d="m 8 8 L 14 14M 8 14 L 14 8" stroke="#fff"/>');
-HoverIcons.prototype.endFixedHandle=Graph.createSvgImage(22,22,'<circle cx="11" cy="11" r="7" stroke="#fff" fill="#01bd22"/><path d="m 8 8 L 14 14M 8 14 L 14 8" stroke="#fff"/>');HoverIcons.prototype.terminalHandle=Graph.createSvgImage(22,22,'<circle cx="11" cy="11" r="6" stroke="#fff" fill="'+HoverIcons.prototype.arrowFill+'"/><circle cx="11" cy="11" r="3" stroke="#fff" fill="transparent"/>');HoverIcons.prototype.endTerminalHandle=Graph.createSvgImage(22,22,'<circle cx="11" cy="11" r="7" stroke="#fff" fill="'+
-HoverIcons.prototype.arrowFill+'"/><circle cx="11" cy="11" r="3" stroke="#fff" fill="transparent"/>');HoverIcons.prototype.rotationHandle=Graph.createSvgImage(16,16,'<path stroke="'+HoverIcons.prototype.arrowFill+'" fill="'+HoverIcons.prototype.arrowFill+'" d="M15.55 5.55L11 1v3.07C7.06 4.56 4 7.92 4 12s3.05 7.44 7 7.93v-2.02c-2.84-.48-5-2.94-5-5.91s2.16-5.43 5-5.91V10l4.55-4.45zM19.93 11c-.17-1.39-.72-2.73-1.62-3.89l-1.42 1.42c.54.75.88 1.6 1.02 2.47h2.02zM13 17.9v2.02c1.39-.17 2.74-.71 3.9-1.61l-1.44-1.44c-.75.54-1.59.89-2.46 1.03zm3.89-2.42l1.42 1.41c.9-1.16 1.45-2.5 1.62-3.89h-2.02c-.14.87-.48 1.72-1.02 2.48z"/>',
+function(u,N,Q){u=u.getElementsByTagName("a");for(var Y=0;Y<u.length;Y++)if(null==u[Y].getAttribute("target")){var ia=u[Y].getAttribute("href");null==ia&&(ia=u[Y].getAttribute("xlink:href"));null!=ia&&(null!=N&&/^https?:\/\//.test(ia)?u[Y].setAttribute("target",N):Q&&this.isCustomLink(ia)&&u[Y].setAttribute("href","javascript:void(0);"))}};Graph.prototype.createSvgCanvas=function(u){u=new mxSvgCanvas2D(u);u.minStrokeWidth=this.cellRenderer.minSvgStrokeWidth;u.pointerEvents=!0;return u};Graph.prototype.getSelectedElement=
+function(){var u=null;if(window.getSelection){var N=window.getSelection();N.getRangeAt&&N.rangeCount&&(u=N.getRangeAt(0).commonAncestorContainer)}else document.selection&&(u=document.selection.createRange().parentElement());return u};Graph.prototype.getSelectedEditingElement=function(){for(var u=this.getSelectedElement();null!=u&&u.nodeType!=mxConstants.NODETYPE_ELEMENT;)u=u.parentNode;null!=u&&u==this.cellEditor.textarea&&1==this.cellEditor.textarea.children.length&&this.cellEditor.textarea.firstChild.nodeType==
+mxConstants.NODETYPE_ELEMENT&&(u=this.cellEditor.textarea.firstChild);return u};Graph.prototype.getParentByName=function(u,N,Q){for(;null!=u&&u.nodeName!=N;){if(u==Q)return null;u=u.parentNode}return u};Graph.prototype.getParentByNames=function(u,N,Q){for(;null!=u&&!(0<=mxUtils.indexOf(N,u.nodeName));){if(u==Q)return null;u=u.parentNode}return u};Graph.prototype.selectNode=function(u){var N=null;if(window.getSelection){if(N=window.getSelection(),N.getRangeAt&&N.rangeCount){var Q=document.createRange();
+Q.selectNode(u);N.removeAllRanges();N.addRange(Q)}}else(N=document.selection)&&"Control"!=N.type&&(u=N.createRange(),u.collapse(!0),Q=N.createRange(),Q.setEndPoint("StartToStart",u),Q.select())};Graph.prototype.flipEdgePoints=function(u,N,Q){var Y=this.getCellGeometry(u);if(null!=Y){Y=Y.clone();if(null!=Y.points)for(var ia=0;ia<Y.points.length;ia++)N?Y.points[ia].x=Q+(Q-Y.points[ia].x):Y.points[ia].y=Q+(Q-Y.points[ia].y);ia=function(la){null!=la&&(N?la.x=Q+(Q-la.x):la.y=Q+(Q-la.y))};ia(Y.getTerminalPoint(!0));
+ia(Y.getTerminalPoint(!1));this.model.setGeometry(u,Y)}};Graph.prototype.flipChildren=function(u,N,Q){this.model.beginUpdate();try{for(var Y=this.model.getChildCount(u),ia=0;ia<Y;ia++){var la=this.model.getChildAt(u,ia);if(this.model.isEdge(la))this.flipEdgePoints(la,N,Q);else{var oa=this.getCellGeometry(la);null!=oa&&(oa=oa.clone(),N?oa.x=Q+(Q-oa.x-oa.width):oa.y=Q+(Q-oa.y-oa.height),this.model.setGeometry(la,oa))}}}finally{this.model.endUpdate()}};Graph.prototype.flipCells=function(u,N){this.model.beginUpdate();
+try{u=this.model.getTopmostCells(u);for(var Q=[],Y=0;Y<u.length;Y++)if(this.model.isEdge(u[Y])){var ia=this.view.getState(u[Y]);null!=ia&&this.flipEdgePoints(u[Y],N,(N?ia.getCenterX():ia.getCenterY())/this.view.scale-(N?ia.origin.x:ia.origin.y)-(N?this.view.translate.x:this.view.translate.y))}else{var la=this.getCellGeometry(u[Y]);null!=la&&this.flipChildren(u[Y],N,N?la.getCenterX()-la.x:la.getCenterY()-la.y);Q.push(u[Y])}this.toggleCellStyles(N?mxConstants.STYLE_FLIPH:mxConstants.STYLE_FLIPV,!1,
+Q)}finally{this.model.endUpdate()}};Graph.prototype.deleteCells=function(u,N){var Q=null;if(null!=u&&0<u.length){this.model.beginUpdate();try{for(var Y=0;Y<u.length;Y++){var ia=this.model.getParent(u[Y]);if(this.isTable(ia)){var la=this.getCellGeometry(u[Y]),oa=this.getCellGeometry(ia);null!=la&&null!=oa&&(oa=oa.clone(),oa.height-=la.height,this.model.setGeometry(ia,oa))}}var ta=this.selectParentAfterDelete?this.model.getParents(u):null;this.removeCells(u,N)}finally{this.model.endUpdate()}if(null!=
+ta)for(Q=[],Y=0;Y<ta.length;Y++)this.model.contains(ta[Y])&&(this.model.isVertex(ta[Y])||this.model.isEdge(ta[Y]))&&Q.push(ta[Y])}return Q};Graph.prototype.insertTableColumn=function(u,N){var Q=this.getModel();Q.beginUpdate();try{var Y=u,ia=0;if(this.isTableCell(u)){var la=Q.getParent(u);Y=Q.getParent(la);ia=mxUtils.indexOf(Q.getChildCells(la,!0),u)}else this.isTableRow(u)?Y=Q.getParent(u):u=Q.getChildCells(Y,!0)[0],N||(ia=Q.getChildCells(u,!0).length-1);var oa=Q.getChildCells(Y,!0),ta=Graph.minTableColumnWidth;
+for(u=0;u<oa.length;u++){var sa=Q.getChildCells(oa[u],!0)[ia],ya=Q.cloneCell(sa,!1);null==ya&&(ya=this.createVertex());var Ha=this.getCellGeometry(ya);ya.value=null;ya.style=mxUtils.setStyle(mxUtils.setStyle(ya.style,"rowspan",null),"colspan",null);if(null!=Ha){null!=Ha.alternateBounds&&(Ha.width=Ha.alternateBounds.width,Ha.height=Ha.alternateBounds.height,Ha.alternateBounds=null);ta=Ha.width;var Oa=this.getCellGeometry(oa[u]);null!=Oa&&(Ha.height=Oa.height)}Q.add(oa[u],ya,ia+(N?0:1))}var Wa=this.getCellGeometry(Y);
+null!=Wa&&(Wa=Wa.clone(),Wa.width+=ta,Q.setGeometry(Y,Wa))}finally{Q.endUpdate()}};Graph.prototype.deleteLane=function(u){var N=this.getModel();N.beginUpdate();try{var Q=null;Q="stackLayout"==this.getCurrentCellStyle(u).childLayout?u:N.getParent(u);var Y=N.getChildCells(Q,!0);0==Y.length?N.remove(Q):(Q==u&&(u=Y[Y.length-1]),N.remove(u))}finally{N.endUpdate()}};Graph.prototype.insertLane=function(u,N){var Q=this.getModel();Q.beginUpdate();try{var Y=null;if("stackLayout"==this.getCurrentCellStyle(u).childLayout){Y=
+u;var ia=Q.getChildCells(Y,!0);u=ia[N?0:ia.length-1]}else Y=Q.getParent(u);var la=Y.getIndex(u);u=Q.cloneCell(u,!1);u.value=null;Q.add(Y,u,la+(N?0:1))}finally{Q.endUpdate()}};Graph.prototype.insertTableRow=function(u,N){var Q=this.getModel();Q.beginUpdate();try{var Y=u,ia=u;if(this.isTableCell(u))ia=Q.getParent(u),Y=Q.getParent(ia);else if(this.isTableRow(u))Y=Q.getParent(u);else{var la=Q.getChildCells(Y,!0);ia=la[N?0:la.length-1]}var oa=Q.getChildCells(ia,!0),ta=Y.getIndex(ia);ia=Q.cloneCell(ia,
+!1);ia.value=null;var sa=this.getCellGeometry(ia);if(null!=sa){for(la=0;la<oa.length;la++){u=Q.cloneCell(oa[la],!1);u.value=null;u.style=mxUtils.setStyle(mxUtils.setStyle(u.style,"rowspan",null),"colspan",null);var ya=this.getCellGeometry(u);null!=ya&&(null!=ya.alternateBounds&&(ya.width=ya.alternateBounds.width,ya.height=ya.alternateBounds.height,ya.alternateBounds=null),ya.height=sa.height);ia.insert(u)}Q.add(Y,ia,ta+(N?0:1));var Ha=this.getCellGeometry(Y);null!=Ha&&(Ha=Ha.clone(),Ha.height+=sa.height,
+Q.setGeometry(Y,Ha))}}finally{Q.endUpdate()}};Graph.prototype.deleteTableColumn=function(u){var N=this.getModel();N.beginUpdate();try{var Q=u,Y=u;this.isTableCell(u)&&(Y=N.getParent(u));this.isTableRow(Y)&&(Q=N.getParent(Y));var ia=N.getChildCells(Q,!0);if(0==ia.length)N.remove(Q);else{this.isTableRow(Y)||(Y=ia[0]);var la=N.getChildCells(Y,!0);if(1>=la.length)N.remove(Q);else{var oa=la.length-1;this.isTableCell(u)&&(oa=mxUtils.indexOf(la,u));for(Y=u=0;Y<ia.length;Y++){var ta=N.getChildCells(ia[Y],
+!0)[oa];N.remove(ta);var sa=this.getCellGeometry(ta);null!=sa&&(u=Math.max(u,sa.width))}var ya=this.getCellGeometry(Q);null!=ya&&(ya=ya.clone(),ya.width-=u,N.setGeometry(Q,ya))}}}finally{N.endUpdate()}};Graph.prototype.deleteTableRow=function(u){var N=this.getModel();N.beginUpdate();try{var Q=u,Y=u;this.isTableCell(u)&&(u=Y=N.getParent(u));this.isTableRow(u)&&(Q=N.getParent(Y));var ia=N.getChildCells(Q,!0);if(1>=ia.length)N.remove(Q);else{this.isTableRow(Y)||(Y=ia[ia.length-1]);N.remove(Y);u=0;var la=
+this.getCellGeometry(Y);null!=la&&(u=la.height);var oa=this.getCellGeometry(Q);null!=oa&&(oa=oa.clone(),oa.height-=u,N.setGeometry(Q,oa))}}finally{N.endUpdate()}};Graph.prototype.insertRow=function(u,N){for(var Q=u.tBodies[0],Y=Q.rows[0].cells,ia=u=0;ia<Y.length;ia++){var la=Y[ia].getAttribute("colspan");u+=null!=la?parseInt(la):1}N=Q.insertRow(N);for(ia=0;ia<u;ia++)mxUtils.br(N.insertCell(-1));return N.cells[0]};Graph.prototype.deleteRow=function(u,N){u.tBodies[0].deleteRow(N)};Graph.prototype.insertColumn=
+function(u,N){var Q=u.tHead;if(null!=Q)for(var Y=0;Y<Q.rows.length;Y++){var ia=document.createElement("th");Q.rows[Y].appendChild(ia);mxUtils.br(ia)}u=u.tBodies[0];for(Q=0;Q<u.rows.length;Q++)Y=u.rows[Q].insertCell(N),mxUtils.br(Y);return u.rows[0].cells[0<=N?N:u.rows[0].cells.length-1]};Graph.prototype.deleteColumn=function(u,N){if(0<=N){u=u.tBodies[0].rows;for(var Q=0;Q<u.length;Q++)u[Q].cells.length>N&&u[Q].deleteCell(N)}};Graph.prototype.pasteHtmlAtCaret=function(u){if(window.getSelection){var N=
+window.getSelection();if(N.getRangeAt&&N.rangeCount){N=N.getRangeAt(0);N.deleteContents();var Q=document.createElement("div");Q.innerHTML=u;u=document.createDocumentFragment();for(var Y;Y=Q.firstChild;)lastNode=u.appendChild(Y);N.insertNode(u)}}else(N=document.selection)&&"Control"!=N.type&&N.createRange().pasteHTML(u)};Graph.prototype.createLinkForHint=function(u,N,Q){function Y(la,oa){la.length>oa&&(la=la.substring(0,Math.round(oa/2))+"..."+la.substring(la.length-Math.round(oa/4)));return la}u=
+null!=u?u:"javascript:void(0);";if(null==N||0==N.length)N=this.isCustomLink(u)?this.getLinkTitle(u):u;var ia=document.createElement("a");ia.setAttribute("rel",this.linkRelation);ia.setAttribute("href",this.getAbsoluteUrl(u));ia.setAttribute("title",Y(this.isCustomLink(u)?this.getLinkTitle(u):u,80));null!=this.linkTarget&&ia.setAttribute("target",this.linkTarget);mxUtils.write(ia,Y(N,40));this.isCustomLink(u)&&mxEvent.addListener(ia,"click",mxUtils.bind(this,function(la){this.customLinkClicked(u,Q);
+mxEvent.consume(la)}));return ia};Graph.prototype.initTouch=function(){this.connectionHandler.marker.isEnabled=function(){return null!=this.graph.connectionHandler.first};this.addListener(mxEvent.START_EDITING,function(la,oa){this.popupMenuHandler.hideMenu()});var u=this.updateMouseEvent;this.updateMouseEvent=function(la){la=u.apply(this,arguments);if(mxEvent.isTouchEvent(la.getEvent())&&null==la.getState()){var oa=this.getCellAt(la.graphX,la.graphY);null!=oa&&this.isSwimlane(oa)&&this.hitsSwimlaneContent(oa,
+la.graphX,la.graphY)||(la.state=this.view.getState(oa),null!=la.state&&null!=la.state.shape&&(this.container.style.cursor=la.state.shape.node.style.cursor))}null==la.getState()&&this.isEnabled()&&(this.container.style.cursor="default");return la};var N=!1,Q=!1,Y=!1,ia=this.fireMouseEvent;this.fireMouseEvent=function(la,oa,ta){la==mxEvent.MOUSE_DOWN&&(oa=this.updateMouseEvent(oa),N=this.isCellSelected(oa.getCell()),Q=this.isSelectionEmpty(),Y=this.popupMenuHandler.isMenuShowing());ia.apply(this,arguments)};
+this.popupMenuHandler.mouseUp=mxUtils.bind(this,function(la,oa){if(null!=this.freehand&&!this.freehand.isDrawing()){var ta=mxEvent.isMouseEvent(oa.getEvent());this.popupMenuHandler.popupTrigger=!this.isEditing()&&this.isEnabled()&&(null==oa.getState()||!oa.isSource(oa.getState().control))&&(this.popupMenuHandler.popupTrigger||!Y&&!ta&&(Q&&null==oa.getCell()&&this.isSelectionEmpty()||N&&this.isCellSelected(oa.getCell())));ta=!N||ta?null:mxUtils.bind(this,function(sa){window.setTimeout(mxUtils.bind(this,
+function(){if(!this.isEditing()){var ya=mxUtils.getScrollOrigin();this.popupMenuHandler.popup(oa.getX()+ya.x+1,oa.getY()+ya.y+1,sa,oa.getEvent())}}),300)});mxPopupMenuHandler.prototype.mouseUp.apply(this.popupMenuHandler,[la,oa,ta])}})};mxCellEditor.prototype.isContentEditing=function(){var u=this.graph.view.getState(this.editingCell);return null!=u&&1==u.style.html};mxCellEditor.prototype.isTableSelected=function(){return null!=this.graph.getParentByName(this.graph.getSelectedElement(),"TABLE",this.textarea)};
+mxCellEditor.prototype.isTextSelected=function(){var u="";window.getSelection?u=window.getSelection():document.getSelection?u=document.getSelection():document.selection&&(u=document.selection.createRange().text);return""!=u};mxCellEditor.prototype.insertTab=function(u){var N=this.textarea.ownerDocument.defaultView.getSelection(),Q=N.getRangeAt(0);u=Graph.createTabNode(u);Q.insertNode(u);Q.setStartAfter(u);Q.setEndAfter(u);N.removeAllRanges();N.addRange(Q)};mxCellEditor.prototype.alignText=function(u,
+N){var Q=this.graph.getView().getState(this.editingCell);if(null!=Q){Q=mxUtils.getValue(Q.style,mxConstants.STYLE_TEXT_DIRECTION,mxConstants.DEFAULT_TEXT_DIRECTION);var Y=null!=Q&&"vertical-"==Q.substring(0,9),ia=null!=N&&mxEvent.isShiftDown(N);if(ia||null!=window.getSelection&&null!=window.getSelection().containsNode){var la=!0;this.graph.processElements(this.textarea,function(oa){ia||Y||window.getSelection().containsNode(oa,!0)?(oa.removeAttribute("align"),oa.style.textAlign=null):la=!1});(la||
+Y)&&this.graph.cellEditor.setAlign(u)}Y||document.execCommand("justify"+u.toLowerCase(),!1,null)}};mxCellEditor.prototype.saveSelection=function(){if(window.getSelection){var u=window.getSelection();if(u.getRangeAt&&u.rangeCount){for(var N=[],Q=0,Y=u.rangeCount;Q<Y;++Q)N.push(u.getRangeAt(Q));return N}}else if(document.selection&&document.selection.createRange)return document.selection.createRange();return null};mxCellEditor.prototype.restoreSelection=function(u){try{if(u)if(window.getSelection){sel=
+window.getSelection();sel.removeAllRanges();for(var N=0,Q=u.length;N<Q;++N)sel.addRange(u[N])}else document.selection&&u.select&&u.select()}catch(Y){}};var z=mxCellRenderer.prototype.initializeLabel;mxCellRenderer.prototype.initializeLabel=function(u){null!=u.text&&(u.text.replaceLinefeeds="0"!=mxUtils.getValue(u.style,"nl2Br","1"));z.apply(this,arguments)};var A=mxConstraintHandler.prototype.update;mxConstraintHandler.prototype.update=function(u,N){this.isKeepFocusEvent(u)||!mxEvent.isAltDown(u.getEvent())?
+A.apply(this,arguments):this.reset()};mxGuide.prototype.createGuideShape=function(u){return new mxPolyline([],mxConstants.GUIDE_COLOR,mxConstants.GUIDE_STROKEWIDTH)};mxCellEditor.prototype.escapeCancelsEditing=!1;var B=mxCellEditor.prototype.startEditing;mxCellEditor.prototype.startEditing=function(u,N){u=this.graph.getStartEditingCell(u,N);B.apply(this,arguments);var Q=this.graph.view.getState(u);this.textarea.className=null!=Q&&1==Q.style.html?"mxCellEditor geContentEditable":"mxCellEditor mxPlainTextEditor";
+this.codeViewMode=!1;this.switchSelectionState=null;this.graph.setSelectionCell(u)};mxCellEditor.prototype.toggleViewMode=function(){var u=this.graph.view.getState(this.editingCell);if(null!=u){var N=null!=u&&"0"!=mxUtils.getValue(u.style,"nl2Br","1"),Q=this.saveSelection();if(this.codeViewMode){ta=mxUtils.extractTextWithWhitespace(this.textarea.childNodes);0<ta.length&&"\n"==ta.charAt(ta.length-1)&&(ta=ta.substring(0,ta.length-1));ta=Graph.sanitizeHtml(N?ta.replace(/\n/g,"<br/>"):ta,!0);this.textarea.className=
+"mxCellEditor geContentEditable";sa=mxUtils.getValue(u.style,mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE);N=mxUtils.getValue(u.style,mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY);var Y=mxUtils.getValue(u.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_LEFT),ia=(mxUtils.getValue(u.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD,la=(mxUtils.getValue(u.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC,
+oa=[];(mxUtils.getValue(u.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&oa.push("underline");(mxUtils.getValue(u.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_STRIKETHROUGH)==mxConstants.FONT_STRIKETHROUGH&&oa.push("line-through");this.textarea.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?Math.round(sa*mxConstants.LINE_HEIGHT)+"px":mxConstants.LINE_HEIGHT;this.textarea.style.fontSize=Math.round(sa)+"px";this.textarea.style.textDecoration=
+oa.join(" ");this.textarea.style.fontWeight=ia?"bold":"normal";this.textarea.style.fontStyle=la?"italic":"";this.textarea.style.fontFamily=N;this.textarea.style.textAlign=Y;this.textarea.style.padding="0px";this.textarea.innerHTML!=ta&&(this.textarea.innerHTML=ta,0==this.textarea.innerHTML.length&&(this.textarea.innerHTML=this.getEmptyLabelText(),this.clearOnChange=0<this.textarea.innerHTML.length));this.codeViewMode=!1}else{this.clearOnChange&&this.textarea.innerHTML==this.getEmptyLabelText()&&(this.clearOnChange=
+!1,this.textarea.innerText="");var ta=mxUtils.htmlEntities(this.textarea.innerHTML);8!=document.documentMode&&(ta=mxUtils.replaceTrailingNewlines(ta,"<div><br></div>"));ta=Graph.sanitizeHtml(N?ta.replace(/\n/g,"").replace(/&lt;br\s*.?&gt;/g,"<br>"):ta,!0);this.textarea.className="mxCellEditor mxPlainTextEditor";var sa=mxConstants.DEFAULT_FONTSIZE;this.textarea.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?Math.round(sa*mxConstants.LINE_HEIGHT)+"px":mxConstants.LINE_HEIGHT;this.textarea.style.fontSize=
+Math.round(sa)+"px";this.textarea.style.textDecoration="";this.textarea.style.fontWeight="normal";this.textarea.style.fontStyle="";this.textarea.style.fontFamily=mxConstants.DEFAULT_FONTFAMILY;this.textarea.style.textAlign="left";this.textarea.style.width="";this.textarea.style.padding="2px";this.textarea.innerHTML!=ta&&(this.textarea.innerHTML=ta);this.codeViewMode=!0}this.textarea.focus();null!=this.switchSelectionState&&this.restoreSelection(this.switchSelectionState);this.switchSelectionState=
+Q;this.resize()}};var G=mxCellEditor.prototype.resize;mxCellEditor.prototype.resize=function(u,N){if(null!=this.textarea)if(u=this.graph.getView().getState(this.editingCell),this.codeViewMode&&null!=u){var Q=u.view.scale;this.bounds=mxRectangle.fromRectangle(u);if(0==this.bounds.width&&0==this.bounds.height){this.bounds.width=160*Q;this.bounds.height=60*Q;var Y=null!=u.text?u.text.margin:null;null==Y&&(Y=mxUtils.getAlignmentAsPoint(mxUtils.getValue(u.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER),
+mxUtils.getValue(u.style,mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE)));this.bounds.x+=Y.x*this.bounds.width;this.bounds.y+=Y.y*this.bounds.height}this.textarea.style.width=Math.round((this.bounds.width-4)/Q)+"px";this.textarea.style.height=Math.round((this.bounds.height-4)/Q)+"px";this.textarea.style.overflow="auto";this.textarea.clientHeight<this.textarea.offsetHeight&&(this.textarea.style.height=Math.round(this.bounds.height/Q)+(this.textarea.offsetHeight-this.textarea.clientHeight)+
+"px",this.bounds.height=parseInt(this.textarea.style.height)*Q);this.textarea.clientWidth<this.textarea.offsetWidth&&(this.textarea.style.width=Math.round(this.bounds.width/Q)+(this.textarea.offsetWidth-this.textarea.clientWidth)+"px",this.bounds.width=parseInt(this.textarea.style.width)*Q);this.textarea.style.left=Math.round(this.bounds.x)+"px";this.textarea.style.top=Math.round(this.bounds.y)+"px";mxUtils.setPrefixedStyle(this.textarea.style,"transform","scale("+Q+","+Q+")")}else this.textarea.style.height=
+"",this.textarea.style.overflow="",G.apply(this,arguments)};mxCellEditorGetInitialValue=mxCellEditor.prototype.getInitialValue;mxCellEditor.prototype.getInitialValue=function(u,N){if("0"==mxUtils.getValue(u.style,"html","0"))return mxCellEditorGetInitialValue.apply(this,arguments);var Q=this.graph.getEditingValue(u.cell,N);"1"==mxUtils.getValue(u.style,"nl2Br","1")&&(Q=Q.replace(/\n/g,"<br/>"));return Q=Graph.sanitizeHtml(Q,!0)};mxCellEditorGetCurrentValue=mxCellEditor.prototype.getCurrentValue;mxCellEditor.prototype.getCurrentValue=
+function(u){if("0"==mxUtils.getValue(u.style,"html","0"))return mxCellEditorGetCurrentValue.apply(this,arguments);var N=Graph.sanitizeHtml(this.textarea.innerHTML,!0);"1"==mxUtils.getValue(u.style,"nl2Br","1")?(N=N.replace(/\r\n/g,"<br/>").replace(/\n/g,"<br/>"),0<N.length&&("<br/>"==N.substring(N.length-5)||"<br>"==N.substring(N.length-4))&&(N=N.substring(0,N.lastIndexOf("<br"))+"<div><br/></div>")):N=N.replace(/\r\n/g,"").replace(/\n/g,"");return N};var L=mxCellEditor.prototype.stopEditing;mxCellEditor.prototype.stopEditing=
+function(u){this.codeViewMode&&this.toggleViewMode();L.apply(this,arguments);this.focusContainer()};mxCellEditor.prototype.focusContainer=function(){try{this.graph.container.focus()}catch(u){}};var P=mxCellEditor.prototype.applyValue;mxCellEditor.prototype.applyValue=function(u,N){this.graph.getModel().beginUpdate();try{P.apply(this,arguments),""==N&&this.graph.isCellDeletable(u.cell)&&0==this.graph.model.getChildCount(u.cell)&&this.graph.isTransparentState(u)&&this.graph.removeCells([u.cell],!1)}finally{this.graph.getModel().endUpdate()}};
+mxCellEditor.prototype.getBackgroundColor=function(u){u=mxUtils.getValue(u.style,mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,null);u==mxConstants.NONE&&(u=null);return u};mxCellEditor.prototype.getBorderColor=function(u){u=mxUtils.getValue(u.style,mxConstants.STYLE_LABEL_BORDERCOLOR,null);u==mxConstants.NONE&&(u=null);return u};mxCellEditor.prototype.getMinimumSize=function(u){var N=this.graph.getView().scale;return new mxRectangle(0,0,null==u.text?30:u.text.size*N+20,30)};mxGraphHandlerIsValidDropTarget=
+mxGraphHandler.prototype.isValidDropTarget;mxGraphHandler.prototype.isValidDropTarget=function(u,N){return mxGraphHandlerIsValidDropTarget.apply(this,arguments)&&!mxEvent.isAltDown(N.getEvent)};mxGraphView.prototype.formatUnitText=function(u){return u?e(u,this.unit):u};mxGraphHandler.prototype.updateHint=function(u){if(null!=this.pBounds&&(null!=this.shape||this.livePreviewActive)){null==this.hint&&(this.hint=b(),this.graph.container.appendChild(this.hint));var N=this.graph.view.translate,Q=this.graph.view.scale;
+u=this.roundLength((this.bounds.x+this.currentDx)/Q-N.x);N=this.roundLength((this.bounds.y+this.currentDy)/Q-N.y);Q=this.graph.view.unit;this.hint.innerHTML=e(u,Q)+", "+e(N,Q);this.hint.style.left=this.pBounds.x+this.currentDx+Math.round((this.pBounds.width-this.hint.clientWidth)/2)+"px";this.hint.style.top=this.pBounds.y+this.currentDy+this.pBounds.height+Editor.hintOffset+"px"}};mxGraphHandler.prototype.removeHint=function(){null!=this.hint&&(null!=this.hint.parentNode&&this.hint.parentNode.removeChild(this.hint),
+this.hint=null)};var J=mxStackLayout.prototype.resizeCell;mxStackLayout.prototype.resizeCell=function(u,N){J.apply(this,arguments);var Q=this.graph.getCellStyle(u);if(null==Q.childLayout){var Y=this.graph.model.getParent(u),ia=null!=Y?this.graph.getCellGeometry(Y):null;if(null!=ia&&(Q=this.graph.getCellStyle(Y),"stackLayout"==Q.childLayout)){var la=parseFloat(mxUtils.getValue(Q,"stackBorder",mxStackLayout.prototype.border));Q="1"==mxUtils.getValue(Q,"horizontalStack","1");var oa=this.graph.getActualStartSize(Y);
+ia=ia.clone();Q?ia.height=N.height+oa.y+oa.height+2*la:ia.width=N.width+oa.x+oa.width+2*la;this.graph.model.setGeometry(Y,ia)}}};var fa=mxSelectionCellsHandler.prototype.getHandledSelectionCells;mxSelectionCellsHandler.prototype.getHandledSelectionCells=function(){function u(ta){Q.get(ta)||(Q.put(ta,!0),ia.push(ta))}for(var N=fa.apply(this,arguments),Q=new mxDictionary,Y=this.graph.model,ia=[],la=0;la<N.length;la++){var oa=N[la];this.graph.isTableCell(oa)?u(Y.getParent(Y.getParent(oa))):this.graph.isTableRow(oa)&&
+u(Y.getParent(oa));u(oa)}return ia};var ea=mxConnectionHandler.prototype.isStartEvent;mxConnectionHandler.prototype.isStartEvent=function(u){return ea.apply(this,arguments)&&!mxEvent.isControlDown(u.getEvent())&&!mxEvent.isShiftDown(u.getEvent())};var T=mxVertexHandler.prototype.isGhostPreview;mxVertexHandler.prototype.isGhostPreview=function(){return T.apply(this,arguments)&&!this.graph.isTable(this.state.cell)&&!this.graph.isTableRow(this.state.cell)&&!this.graph.isTableCell(this.state.cell)&&!this.graph.isSwimlane(this.state.cell)};
+var ca=mxVertexHandler.prototype.createParentHighlightShape;mxVertexHandler.prototype.createParentHighlightShape=function(u){var N=ca.apply(this,arguments);N.stroke="#C0C0C0";N.strokewidth=1;return N};var ja=mxEdgeHandler.prototype.createParentHighlightShape;mxEdgeHandler.prototype.createParentHighlightShape=function(u){var N=ja.apply(this,arguments);N.stroke="#C0C0C0";N.strokewidth=1;return N};mxVertexHandler.prototype.rotationHandleVSpacing=-12;mxVertexHandler.prototype.getRotationHandlePosition=
+function(){var u=this.getHandlePadding();return new mxPoint(this.bounds.x+this.bounds.width-this.rotationHandleVSpacing+u.x/2,this.bounds.y+this.rotationHandleVSpacing-u.y/2)};mxVertexHandler.prototype.isRecursiveResize=function(u,N){return this.graph.isRecursiveVertexResize(u)&&!mxEvent.isAltDown(N.getEvent())};mxVertexHandler.prototype.isCenteredEvent=function(u,N){return mxEvent.isControlDown(N.getEvent())||mxEvent.isMetaDown(N.getEvent())};var ma=mxVertexHandler.prototype.isRotationHandleVisible;
+mxVertexHandler.prototype.isRotationHandleVisible=function(){return ma.apply(this,arguments)&&!this.graph.isTableCell(this.state.cell)&&!this.graph.isTableRow(this.state.cell)&&!this.graph.isTable(this.state.cell)};mxVertexHandler.prototype.getSizerBounds=function(){return this.graph.isTableCell(this.state.cell)?this.graph.view.getState(this.graph.model.getParent(this.graph.model.getParent(this.state.cell))):this.bounds};var aa=mxVertexHandler.prototype.isParentHighlightVisible;mxVertexHandler.prototype.isParentHighlightVisible=
+function(){return aa.apply(this,arguments)&&!this.graph.isTableCell(this.state.cell)&&!this.graph.isTableRow(this.state.cell)};var V=mxVertexHandler.prototype.isCustomHandleVisible;mxVertexHandler.prototype.isCustomHandleVisible=function(u){return u.tableHandle||V.apply(this,arguments)&&(!this.graph.isTable(this.state.cell)||this.graph.isCellSelected(this.state.cell))};mxVertexHandler.prototype.getSelectionBorderInset=function(){var u=0;this.graph.isTableRow(this.state.cell)?u=1:this.graph.isTableCell(this.state.cell)&&
+(u=2);return u};var da=mxVertexHandler.prototype.getSelectionBorderBounds;mxVertexHandler.prototype.getSelectionBorderBounds=function(){return da.apply(this,arguments).grow(-this.getSelectionBorderInset())};var k=null,t=mxVertexHandler.prototype.createCustomHandles;mxVertexHandler.prototype.createCustomHandles=function(){null==k&&(k=mxCellRenderer.defaultShapes.tableLine);var u=t.apply(this,arguments);if(this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell)){var N=function(ab,
+Ta,Pa){for(var kb=[],cb=0;cb<ab.length;cb++){var $a=ab[cb];kb.push(null==$a?null:new mxPoint((sa+$a.x+Ta)*la,(ya+$a.y+Pa)*la))}return kb},Q=this,Y=this.graph,ia=Y.model,la=Y.view.scale,oa=this.state,ta=this.selectionBorder,sa=this.state.origin.x+Y.view.translate.x,ya=this.state.origin.y+Y.view.translate.y;null==u&&(u=[]);var Ha=Y.view.getCellStates(ia.getChildCells(this.state.cell,!0));if(0<Ha.length){var Oa=ia.getChildCells(Ha[0].cell,!0),Wa=Y.getTableLines(this.state.cell,!1,!0),Za=Y.getTableLines(this.state.cell,
+!0,!1);for(ia=0;ia<Ha.length;ia++)mxUtils.bind(this,function(ab){var Ta=Ha[ab],Pa=null;if(Y.isCellMovable(Ta.cell)){Pa=ab<Ha.length-1?Ha[ab+1]:null;Pa=null!=Pa?Y.getCellGeometry(Pa.cell):null;var kb=null!=Pa&&null!=Pa.alternateBounds?Pa.alternateBounds:Pa;Pa=null!=Za[ab]?new k(Za[ab],mxConstants.NONE,1):new mxLine(new mxRectangle,mxConstants.NONE,1,!1);Pa.isDashed=ta.isDashed;Pa.svgStrokeTolerance++;Pa=new mxHandle(Ta,"row-resize",null,Pa);Pa.tableHandle=!0;var cb=0;Pa.shape.node.parentNode.insertBefore(Pa.shape.node,
+Pa.shape.node.parentNode.firstChild);Pa.redraw=function(){if(null!=this.shape){this.shape.stroke=0==cb?mxConstants.NONE:ta.stroke;if(this.shape.constructor==k)this.shape.line=N(Za[ab],0,cb),this.shape.updateBoundsFromLine();else{var gb=Y.getActualStartSize(oa.cell,!0);this.shape.bounds.height=1;this.shape.bounds.y=this.state.y+this.state.height+cb*la;this.shape.bounds.x=oa.x+(ab==Ha.length-1?0:gb.x*la);this.shape.bounds.width=oa.width-(ab==Ha.length-1?0:gb.width+gb.x+la)}this.shape.redraw()}};var $a=
+!1;Pa.setPosition=function(gb,ib,mb){cb=Math.max(Graph.minTableRowHeight-gb.height,ib.y-gb.y-gb.height);$a=mxEvent.isShiftDown(mb.getEvent());null!=kb&&$a&&(cb=Math.min(cb,kb.height-Graph.minTableRowHeight))};Pa.execute=function(gb){if(0!=cb)Y.setTableRowHeight(this.state.cell,cb,!$a);else if(!Q.blockDelayedSelection){var ib=Y.getCellAt(gb.getGraphX(),gb.getGraphY())||oa.cell;Y.graphHandler.selectCellForEvent(ib,gb)}cb=0};Pa.reset=function(){cb=0}}u.push(Pa)})(ia);for(ia=0;ia<Oa.length;ia++)mxUtils.bind(this,
+function(ab){var Ta=Y.view.getState(Oa[ab]),Pa=Y.getCellGeometry(Oa[ab]),kb=null!=Pa.alternateBounds?Pa.alternateBounds:Pa;null==Ta&&(Ta=new mxCellState(Y.view,Oa[ab],Y.getCellStyle(Oa[ab])),Ta.x=oa.x+Pa.x*la,Ta.y=oa.y+Pa.y*la,Ta.width=kb.width*la,Ta.height=kb.height*la,Ta.updateCachedBounds());Pa=ab<Oa.length-1?Oa[ab+1]:null;Pa=null!=Pa?Y.getCellGeometry(Pa):null;var cb=null!=Pa&&null!=Pa.alternateBounds?Pa.alternateBounds:Pa;Pa=null!=Wa[ab]?new k(Wa[ab],mxConstants.NONE,1):new mxLine(new mxRectangle,
+mxConstants.NONE,1,!0);Pa.isDashed=ta.isDashed;Pa.svgStrokeTolerance++;Ta=new mxHandle(Ta,"col-resize",null,Pa);Ta.tableHandle=!0;var $a=0;Ta.shape.node.parentNode.insertBefore(Ta.shape.node,Ta.shape.node.parentNode.firstChild);Ta.redraw=function(){if(null!=this.shape){this.shape.stroke=0==$a?mxConstants.NONE:ta.stroke;if(this.shape.constructor==k)this.shape.line=N(Wa[ab],$a,0),this.shape.updateBoundsFromLine();else{var ib=Y.getActualStartSize(oa.cell,!0);this.shape.bounds.width=1;this.shape.bounds.x=
+this.state.x+(kb.width+$a)*la;this.shape.bounds.y=oa.y+(ab==Oa.length-1?0:ib.y*la);this.shape.bounds.height=oa.height-(ab==Oa.length-1?0:(ib.height+ib.y)*la)}this.shape.redraw()}};var gb=!1;Ta.setPosition=function(ib,mb,vb){$a=Math.max(Graph.minTableColumnWidth-kb.width,mb.x-ib.x-kb.width);gb=mxEvent.isShiftDown(vb.getEvent());null==cb||gb||($a=Math.min($a,cb.width-Graph.minTableColumnWidth))};Ta.execute=function(ib){if(0!=$a)Y.setTableColumnWidth(this.state.cell,$a,gb);else if(!Q.blockDelayedSelection){var mb=
+Y.getCellAt(ib.getGraphX(),ib.getGraphY())||oa.cell;Y.graphHandler.selectCellForEvent(mb,ib)}$a=0};Ta.positionChanged=function(){};Ta.reset=function(){$a=0};u.push(Ta)})(ia)}}return null!=u?u.reverse():null};var I=mxVertexHandler.prototype.setHandlesVisible;mxVertexHandler.prototype.setHandlesVisible=function(u){I.apply(this,arguments);if(null!=this.moveHandles)for(var N=0;N<this.moveHandles.length;N++)null!=this.moveHandles[N]&&(this.moveHandles[N].node.style.visibility=u?"":"hidden");if(null!=this.cornerHandles)for(N=
+0;N<this.cornerHandles.length;N++)this.cornerHandles[N].node.style.visibility=u?"":"hidden"};mxVertexHandler.prototype.isMoveHandlesVisible=function(){return this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell)};mxVertexHandler.prototype.refreshMoveHandles=function(){var u=this.isMoveHandlesVisible();u&&null==this.moveHandles?this.moveHandles=this.createMoveHandles():u||null==this.moveHandles||this.destroyMoveHandles();if(u&&null==this.moveHandles){for(u=0;u<this.moveHandles.length;u++)null!=
+this.moveHandles[u]&&this.moveHandles[u].parentNode.removeChild(this.moveHandles[u]);this.moveHandles=null}};mxVertexHandler.prototype.createMoveHandles=function(){for(var u=this.graph,N=u.model,Q=[],Y=0;Y<N.getChildCount(this.state.cell);Y++)mxUtils.bind(this,function(ia){if(null!=ia&&N.isVertex(ia.cell)&&u.isCellMovable(ia.cell)){var la=new mxRectangle(0,0,this.rowHandleImage.width,this.rowHandleImage.height);la=new mxImageShape(la,this.rowHandleImage.src);la.rowState=ia;la.dialect=this.graph.dialect!=
+mxConstants.DIALECT_SVG?mxConstants.DIALECT_MIXEDHTML:mxConstants.DIALECT_SVG;la.init(this.graph.getView().getOverlayPane());la.node.style.cursor="move";mxEvent.addGestureListeners(la.node,mxUtils.bind(this,function(oa){this.graph.popupMenuHandler.hideMenu();this.graph.stopEditing(!1);!this.graph.isToggleEvent(oa)&&this.graph.isCellSelected(ia.cell)||this.graph.selectCellForEvent(ia.cell,oa);mxEvent.isPopupTrigger(oa)||(this.graph.graphHandler.start(this.state.cell,mxEvent.getClientX(oa),mxEvent.getClientY(oa),
+this.graph.getSelectionCells()),this.graph.graphHandler.cellWasClicked=!0,this.graph.isMouseTrigger=mxEvent.isMouseEvent(oa),this.graph.isMouseDown=!0);mxEvent.consume(oa)}),null,mxUtils.bind(this,function(oa){mxEvent.isPopupTrigger(oa)&&(this.graph.popupMenuHandler.popup(mxEvent.getClientX(oa),mxEvent.getClientY(oa),ia.cell,oa),mxEvent.consume(oa))}));Q.push(la)}else Q.push(null)})(this.graph.view.getState(N.getChildAt(this.state.cell,Y)));return Q};mxVertexHandler.prototype.destroyMoveHandles=function(){if(null!=
+this.moveHandles){for(var u=0;u<this.moveHandles.length;u++)null!=this.moveHandles[u]&&this.moveHandles[u].destroy();this.moveHandles=null}};mxVertexHandler.prototype.destroyCornerHandles=function(){if(null!=this.cornerHandles){for(var u=0;u<this.cornerHandles.length;u++)null!=this.cornerHandles[u]&&null!=this.cornerHandles[u].node&&null!=this.cornerHandles[u].node.parentNode&&this.cornerHandles[u].node.parentNode.removeChild(this.cornerHandles[u].node);this.cornerHandles=null}};var R=mxVertexHandler.prototype.refresh;
+mxVertexHandler.prototype.refresh=function(){R.apply(this,arguments);this.destroyMoveHandles();this.destroyCornerHandles();if(this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell))this.refreshMoveHandles();else if(1==this.graph.getSelectionCount()&&this.graph.isCellMovable(this.state.cell)&&(this.graph.isTableCell(this.state.cell)||this.graph.isTableRow(this.state.cell))){this.cornerHandles=[];for(var u=0;4>u;u++){var N=new mxRectangleShape(new mxRectangle(0,0,6,6),"#ffffff",
+mxConstants.HANDLE_STROKECOLOR);N.dialect=mxConstants.DIALECT_SVG;N.init(this.graph.view.getOverlayPane());this.cornerHandles.push(N)}}this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell)&&this.refreshMoveHandles();u=this.graph.getLinkForCell(this.state.cell);N=this.graph.getLinksForState(this.state);this.updateLinkHint(u,N)};var O=mxVertexHandler.prototype.getHandlePadding;mxVertexHandler.prototype.getHandlePadding=function(){var u=new mxPoint(0,0),N=this.tolerance,Q=this.state.style.shape;
+null==mxCellRenderer.defaultShapes[Q]&&mxStencilRegistry.getStencil(Q);Q=this.graph.isTable(this.state.cell)||this.graph.cellEditor.getEditingCell()==this.state.cell;if(!Q&&null!=this.customHandles)for(var Y=0;Y<this.customHandles.length;Y++)if(null!=this.customHandles[Y]&&null!=this.customHandles[Y].shape&&null!=this.customHandles[Y].shape.bounds){var ia=this.customHandles[Y].shape.bounds,la=ia.getCenterX(),oa=ia.getCenterY();if(Math.abs(this.state.x-la)<ia.width/2||Math.abs(this.state.y-oa)<ia.height/
+2||Math.abs(this.state.x+this.state.width-la)<ia.width/2||Math.abs(this.state.y+this.state.height-oa)<ia.height/2){Q=!0;break}}Q&&null!=this.sizers&&0<this.sizers.length&&null!=this.sizers[0]?(N/=2,this.graph.isTable(this.state.cell)&&(N+=7),u.x=this.sizers[0].bounds.width+N,u.y=this.sizers[0].bounds.height+N):u=O.apply(this,arguments);return u};mxVertexHandler.prototype.updateHint=function(u){if(this.index!=mxEvent.LABEL_HANDLE){null==this.hint&&(this.hint=b(),this.state.view.graph.container.appendChild(this.hint));
+if(this.index==mxEvent.ROTATION_HANDLE)this.hint.innerHTML=this.currentAlpha+"&deg;";else{u=this.state.view.scale;var N=this.state.view.unit;this.hint.innerHTML=e(this.roundLength(this.bounds.width/u),N)+" x "+e(this.roundLength(this.bounds.height/u),N)}u=mxUtils.getBoundingBox(this.bounds,null!=this.currentAlpha?this.currentAlpha:this.state.style[mxConstants.STYLE_ROTATION]||"0");null==u&&(u=this.bounds);this.hint.style.left=u.x+Math.round((u.width-this.hint.clientWidth)/2)+"px";this.hint.style.top=
+u.y+u.height+Editor.hintOffset+"px";null!=this.linkHint&&(this.linkHint.style.display="none")}};mxVertexHandler.prototype.removeHint=function(){mxGraphHandler.prototype.removeHint.apply(this,arguments);null!=this.linkHint&&(this.linkHint.style.display="")};var X=mxEdgeHandler.prototype.refresh;mxEdgeHandler.prototype.refresh=function(){X.apply(this,arguments);var u=this.graph.getLinkForCell(this.state.cell),N=this.graph.getLinksForState(this.state);this.updateLinkHint(u,N)};var Z=mxEdgeHandler.prototype.mouseMove;
+mxEdgeHandler.prototype.mouseMove=function(u,N){Z.apply(this,arguments);null!=this.linkHint&&"none"!=this.linkHint.style.display&&null!=this.graph.graphHandler&&null!=this.graph.graphHandler.first&&(this.linkHint.style.display="none")};var ba=mxEdgeHandler.prototype.mouseUp;mxEdgeHandler.prototype.mouseUp=function(u,N){ba.apply(this,arguments);null!=this.linkHint&&"none"==this.linkHint.style.display&&1==this.graph.getSelectionCount()&&(this.linkHint.style.display="")};mxEdgeHandler.prototype.updateHint=
+function(u,N,Q){null==this.hint&&(this.hint=b(),this.state.view.graph.container.appendChild(this.hint));var Y=this.graph.view.translate,ia=this.graph.view.scale,la=this.roundLength(N.x/ia-Y.x);Y=this.roundLength(N.y/ia-Y.y);var oa=this.graph.view.unit;this.hint.innerHTML=e(la,oa)+", "+e(Y,oa);this.hint.style.visibility="visible";null!=Q&&(Q.view.updateEdgeBounds(Q),this.hint.innerHTML+=" ("+(oa==mxConstants.POINTS?Math.round(Q.length/ia):e(Q.length/ia,oa))+")");if(this.isSource||this.isTarget)null!=
+this.constraintHandler&&null!=this.constraintHandler.currentConstraint&&null!=this.constraintHandler.currentFocus?(Q=this.constraintHandler.currentConstraint.point,this.hint.innerHTML="["+Math.round(100*Q.x)+"%, "+Math.round(100*Q.y)+"%]"):this.marker.hasValidState()&&(this.hint.style.visibility="hidden");this.hint.style.left=Math.round(u.getGraphX()-this.hint.clientWidth/2)+"px";this.hint.style.top=Math.max(u.getGraphY(),N.y)+Editor.hintOffset+"px";null!=this.linkHint&&(this.linkHint.style.display=
+"none")};Graph.prototype.expandedImage=Graph.createSvgImage(9,9,'<defs><linearGradient id="grad1" x1="50%" y1="0%" x2="50%" y2="100%"><stop offset="30%" style="stop-color:#f0f0f0;" /><stop offset="100%" style="stop-color:#AFB0B6;" /></linearGradient></defs><rect x="0" y="0" width="9" height="9" stroke="#8A94A5" fill="url(#grad1)" stroke-width="2"/><path d="M 2 4.5 L 7 4.5 z" stroke="#000"/>');Graph.prototype.collapsedImage=Graph.createSvgImage(9,9,'<defs><linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="30%" style="stop-color:#f0f0f0;" /><stop offset="100%" style="stop-color:#AFB0B6;" /></linearGradient></defs><rect x="0" y="0" width="9" height="9" stroke="#8A94A5" fill="url(#grad1)" stroke-width="2"/><path d="M 4.5 2 L 4.5 7 M 2 4.5 L 7 4.5 z" stroke="#000"/>');
+mxEdgeHandler.prototype.removeHint=mxVertexHandler.prototype.removeHint;HoverIcons.prototype.mainHandle=Graph.createSvgImage(18,18,'<circle cx="9" cy="9" r="5" stroke="#fff" fill="'+HoverIcons.prototype.arrowFill+'"/>');HoverIcons.prototype.endMainHandle=Graph.createSvgImage(18,18,'<circle cx="9" cy="9" r="6" stroke="#fff" fill="'+HoverIcons.prototype.arrowFill+'"/>');HoverIcons.prototype.secondaryHandle=Graph.createSvgImage(16,16,'<path d="m 8 3 L 13 8 L 8 13 L 3 8 z" stroke="#fff" fill="#fca000"/>');
+HoverIcons.prototype.fixedHandle=Graph.createSvgImage(22,22,'<circle cx="11" cy="11" r="6" stroke="#fff" fill="#01bd22"/><path d="m 8 8 L 14 14M 8 14 L 14 8" stroke="#fff"/>');HoverIcons.prototype.endFixedHandle=Graph.createSvgImage(22,22,'<circle cx="11" cy="11" r="7" stroke="#fff" fill="#01bd22"/><path d="m 8 8 L 14 14M 8 14 L 14 8" stroke="#fff"/>');HoverIcons.prototype.terminalHandle=Graph.createSvgImage(22,22,'<circle cx="11" cy="11" r="6" stroke="#fff" fill="'+HoverIcons.prototype.arrowFill+
+'"/><circle cx="11" cy="11" r="3" stroke="#fff" fill="transparent"/>');HoverIcons.prototype.endTerminalHandle=Graph.createSvgImage(22,22,'<circle cx="11" cy="11" r="7" stroke="#fff" fill="'+HoverIcons.prototype.arrowFill+'"/><circle cx="11" cy="11" r="3" stroke="#fff" fill="transparent"/>');HoverIcons.prototype.rotationHandle=Graph.createSvgImage(16,16,'<path stroke="'+HoverIcons.prototype.arrowFill+'" fill="'+HoverIcons.prototype.arrowFill+'" d="M15.55 5.55L11 1v3.07C7.06 4.56 4 7.92 4 12s3.05 7.44 7 7.93v-2.02c-2.84-.48-5-2.94-5-5.91s2.16-5.43 5-5.91V10l4.55-4.45zM19.93 11c-.17-1.39-.72-2.73-1.62-3.89l-1.42 1.42c.54.75.88 1.6 1.02 2.47h2.02zM13 17.9v2.02c1.39-.17 2.74-.71 3.9-1.61l-1.44-1.44c-.75.54-1.59.89-2.46 1.03zm3.89-2.42l1.42 1.41c.9-1.16 1.45-2.5 1.62-3.89h-2.02c-.14.87-.48 1.72-1.02 2.48z"/>',
24,24);mxConstraintHandler.prototype.pointImage=Graph.createSvgImage(5,5,'<path d="m 0 0 L 5 5 M 0 5 L 5 0" stroke-width="2" style="stroke-opacity:0.4" stroke="#ffffff"/><path d="m 0 0 L 5 5 M 0 5 L 5 0" stroke="'+HoverIcons.prototype.arrowFill+'"/>');mxVertexHandler.TABLE_HANDLE_COLOR="#fca000";mxVertexHandler.prototype.handleImage=HoverIcons.prototype.mainHandle;mxVertexHandler.prototype.secondaryHandleImage=HoverIcons.prototype.secondaryHandle;mxVertexHandler.prototype.rowHandleImage=Graph.createSvgImage(14,
12,'<rect x="2" y="2" width="10" height="3" stroke-width="1" stroke="#ffffff" fill="'+HoverIcons.prototype.arrowFill+'"/><rect x="2" y="7" width="10" height="3" stroke-width="1" stroke="#ffffff" fill="'+HoverIcons.prototype.arrowFill+'"/>');mxEdgeHandler.prototype.handleImage=HoverIcons.prototype.mainHandle;mxEdgeHandler.prototype.endHandleImage=HoverIcons.prototype.endMainHandle;mxEdgeHandler.prototype.terminalHandleImage=HoverIcons.prototype.terminalHandle;mxEdgeHandler.prototype.endTerminalHandleImage=
HoverIcons.prototype.endTerminalHandle;mxEdgeHandler.prototype.fixedHandleImage=HoverIcons.prototype.fixedHandle;mxEdgeHandler.prototype.endFixedHandleImage=HoverIcons.prototype.endFixedHandle;mxEdgeHandler.prototype.labelHandleImage=HoverIcons.prototype.secondaryHandle;mxOutline.prototype.sizerImage=HoverIcons.prototype.mainHandle;null!=window.Sidebar&&(Sidebar.prototype.triangleUp=HoverIcons.prototype.triangleUp,Sidebar.prototype.triangleRight=HoverIcons.prototype.triangleRight,Sidebar.prototype.triangleDown=
@@ -2688,29 +2686,29 @@ HoverIcons.prototype.triangleDown,Sidebar.prototype.triangleLeft=HoverIcons.prot
!0;mxVertexHandler.prototype.parentHighlightEnabled=!0;mxEdgeHandler.prototype.parentHighlightEnabled=!0;mxEdgeHandler.prototype.dblClickRemoveEnabled=!0;mxEdgeHandler.prototype.straightRemoveEnabled=!0;mxEdgeHandler.prototype.virtualBendsEnabled=!0;mxEdgeHandler.prototype.mergeRemoveEnabled=!0;mxEdgeHandler.prototype.manageLabelHandle=!0;mxEdgeHandler.prototype.outlineConnect=!0;mxEdgeHandler.prototype.isAddVirtualBendEvent=function(u){return!mxEvent.isShiftDown(u.getEvent())};mxEdgeHandler.prototype.isCustomHandleEvent=
function(u){return!mxEvent.isShiftDown(u.getEvent())};if(Graph.touchStyle){if(mxClient.IS_TOUCH||0<navigator.maxTouchPoints||0<navigator.msMaxTouchPoints)mxShape.prototype.svgStrokeTolerance=18,mxVertexHandler.prototype.tolerance=12,mxEdgeHandler.prototype.tolerance=12,Graph.prototype.tolerance=12,mxVertexHandler.prototype.rotationHandleVSpacing=-16,mxConstraintHandler.prototype.getTolerance=function(u){return mxEvent.isMouseEvent(u.getEvent())?4:this.graph.getTolerance()};mxPanningHandler.prototype.isPanningTrigger=
function(u){var N=u.getEvent();return null==u.getState()&&!mxEvent.isMouseEvent(N)||mxEvent.isPopupTrigger(N)&&(null==u.getState()||mxEvent.isControlDown(N)||mxEvent.isShiftDown(N))}}else mxPanningHandler.prototype.isPanningTrigger=function(u){var N=u.getEvent();return mxEvent.isLeftMouseButton(N)&&(this.useLeftButtonForPanning&&null==u.getState()||mxEvent.isControlDown(N)&&!mxEvent.isShiftDown(N))||this.usePopupTrigger&&mxEvent.isPopupTrigger(N)};mxRubberband.prototype.isSpaceEvent=function(u){return this.graph.isEnabled()&&
-!this.graph.isCellLocked(this.graph.getDefaultParent())&&(mxEvent.isControlDown(u.getEvent())||mxEvent.isMetaDown(u.getEvent()))&&mxEvent.isShiftDown(u.getEvent())&&mxEvent.isAltDown(u.getEvent())};mxRubberband.prototype.cancelled=!1;mxRubberband.prototype.cancel=function(){this.isActive()&&(this.cancelled=!0,this.reset())};mxRubberband.prototype.mouseUp=function(u,N){if(this.cancelled)this.cancelled=!1,N.consume();else{var Q=null!=this.div&&"none"!=this.div.style.display,Y=null,ia=null,ja=u=null;
-null!=this.first&&null!=this.currentX&&null!=this.currentY&&(Y=this.first.x,ia=this.first.y,u=(this.currentX-Y)/this.graph.view.scale,ja=(this.currentY-ia)/this.graph.view.scale,mxEvent.isAltDown(N.getEvent())||(u=this.graph.snap(u),ja=this.graph.snap(ja),this.graph.isGridEnabled()||(Math.abs(u)<this.graph.tolerance&&(u=0),Math.abs(ja)<this.graph.tolerance&&(ja=0))));this.reset();if(Q){if(this.isSpaceEvent(N)){this.graph.model.beginUpdate();try{var oa=this.graph.getCellsBeyond(Y,ia,this.graph.getDefaultParent(),
-!0,!0);for(Q=0;Q<oa.length;Q++)if(this.graph.isCellMovable(oa[Q])){var ta=this.graph.view.getState(oa[Q]),sa=this.graph.getCellGeometry(oa[Q]);null!=ta&&null!=sa&&(sa=sa.clone(),sa.translate(u,ja),this.graph.model.setGeometry(oa[Q],sa))}}finally{this.graph.model.endUpdate()}}else oa=new mxRectangle(this.x,this.y,this.width,this.height),this.graph.selectRegion(oa,N.getEvent());N.consume()}}};mxRubberband.prototype.mouseMove=function(u,N){if(!N.isConsumed()&&null!=this.first){var Q=mxUtils.getScrollOrigin(this.graph.container);
-u=mxUtils.getOffset(this.graph.container);Q.x-=u.x;Q.y-=u.y;u=N.getX()+Q.x;Q=N.getY()+Q.y;var Y=this.first.x-u,ia=this.first.y-Q,ja=this.graph.tolerance;if(null!=this.div||Math.abs(Y)>ja||Math.abs(ia)>ja)null==this.div&&(this.div=this.createShape()),mxUtils.clearSelection(),this.update(u,Q),this.isSpaceEvent(N)?(u=this.x+this.width,Q=this.y+this.height,Y=this.graph.view.scale,mxEvent.isAltDown(N.getEvent())||(this.width=this.graph.snap(this.width/Y)*Y,this.height=this.graph.snap(this.height/Y)*Y,
+!this.graph.isCellLocked(this.graph.getDefaultParent())&&(mxEvent.isControlDown(u.getEvent())||mxEvent.isMetaDown(u.getEvent()))&&mxEvent.isShiftDown(u.getEvent())&&mxEvent.isAltDown(u.getEvent())};mxRubberband.prototype.cancelled=!1;mxRubberband.prototype.cancel=function(){this.isActive()&&(this.cancelled=!0,this.reset())};mxRubberband.prototype.mouseUp=function(u,N){if(this.cancelled)this.cancelled=!1,N.consume();else{var Q=null!=this.div&&"none"!=this.div.style.display,Y=null,ia=null,la=u=null;
+null!=this.first&&null!=this.currentX&&null!=this.currentY&&(Y=this.first.x,ia=this.first.y,u=(this.currentX-Y)/this.graph.view.scale,la=(this.currentY-ia)/this.graph.view.scale,mxEvent.isAltDown(N.getEvent())||(u=this.graph.snap(u),la=this.graph.snap(la),this.graph.isGridEnabled()||(Math.abs(u)<this.graph.tolerance&&(u=0),Math.abs(la)<this.graph.tolerance&&(la=0))));this.reset();if(Q){if(this.isSpaceEvent(N)){this.graph.model.beginUpdate();try{var oa=this.graph.getCellsBeyond(Y,ia,this.graph.getDefaultParent(),
+!0,!0);for(Q=0;Q<oa.length;Q++)if(this.graph.isCellMovable(oa[Q])){var ta=this.graph.view.getState(oa[Q]),sa=this.graph.getCellGeometry(oa[Q]);null!=ta&&null!=sa&&(sa=sa.clone(),sa.translate(u,la),this.graph.model.setGeometry(oa[Q],sa))}}finally{this.graph.model.endUpdate()}}else oa=new mxRectangle(this.x,this.y,this.width,this.height),this.graph.selectRegion(oa,N.getEvent());N.consume()}}};mxRubberband.prototype.mouseMove=function(u,N){if(!N.isConsumed()&&null!=this.first){var Q=mxUtils.getScrollOrigin(this.graph.container);
+u=mxUtils.getOffset(this.graph.container);Q.x-=u.x;Q.y-=u.y;u=N.getX()+Q.x;Q=N.getY()+Q.y;var Y=this.first.x-u,ia=this.first.y-Q,la=this.graph.tolerance;if(null!=this.div||Math.abs(Y)>la||Math.abs(ia)>la)null==this.div&&(this.div=this.createShape()),mxUtils.clearSelection(),this.update(u,Q),this.isSpaceEvent(N)?(u=this.x+this.width,Q=this.y+this.height,Y=this.graph.view.scale,mxEvent.isAltDown(N.getEvent())||(this.width=this.graph.snap(this.width/Y)*Y,this.height=this.graph.snap(this.height/Y)*Y,
this.graph.isGridEnabled()||(this.width<this.graph.tolerance&&(this.width=0),this.height<this.graph.tolerance&&(this.height=0)),this.x<this.first.x&&(this.x=u-this.width),this.y<this.first.y&&(this.y=Q-this.height)),this.div.style.borderStyle="dashed",this.div.style.backgroundColor="white",this.div.style.left=this.x+"px",this.div.style.top=this.y+"px",this.div.style.width=Math.max(0,this.width)+"px",this.div.style.height=this.graph.container.clientHeight+"px",this.div.style.borderWidth=0>=this.width?
"0px 1px 0px 0px":"0px 1px 0px 1px",null==this.secondDiv&&(this.secondDiv=this.div.cloneNode(!0),this.div.parentNode.appendChild(this.secondDiv)),this.secondDiv.style.left=this.x+"px",this.secondDiv.style.top=this.y+"px",this.secondDiv.style.width=this.graph.container.clientWidth+"px",this.secondDiv.style.height=Math.max(0,this.height)+"px",this.secondDiv.style.borderWidth=0>=this.height?"1px 0px 0px 0px":"1px 0px 1px 0px"):(this.div.style.backgroundColor="",this.div.style.borderWidth="",this.div.style.borderStyle=
-"",null!=this.secondDiv&&(this.secondDiv.parentNode.removeChild(this.secondDiv),this.secondDiv=null)),N.consume()}};var la=mxRubberband.prototype.reset;mxRubberband.prototype.reset=function(){null!=this.secondDiv&&(this.secondDiv.parentNode.removeChild(this.secondDiv),this.secondDiv=null);la.apply(this,arguments)};var qa=(new Date).getTime(),pa=0,ra=mxEdgeHandler.prototype.updatePreviewState;mxEdgeHandler.prototype.updatePreviewState=function(u,N,Q,Y){ra.apply(this,arguments);Q!=this.currentTerminalState?
+"",null!=this.secondDiv&&(this.secondDiv.parentNode.removeChild(this.secondDiv),this.secondDiv=null)),N.consume()}};var ka=mxRubberband.prototype.reset;mxRubberband.prototype.reset=function(){null!=this.secondDiv&&(this.secondDiv.parentNode.removeChild(this.secondDiv),this.secondDiv=null);ka.apply(this,arguments)};var qa=(new Date).getTime(),pa=0,ra=mxEdgeHandler.prototype.updatePreviewState;mxEdgeHandler.prototype.updatePreviewState=function(u,N,Q,Y){ra.apply(this,arguments);Q!=this.currentTerminalState?
(qa=(new Date).getTime(),pa=0):pa=(new Date).getTime()-qa;this.currentTerminalState=Q};var ua=mxEdgeHandler.prototype.isOutlineConnectEvent;mxEdgeHandler.prototype.isOutlineConnectEvent=function(u){return mxEvent.isShiftDown(u.getEvent())&&mxEvent.isAltDown(u.getEvent())?!1:null!=this.currentTerminalState&&u.getState()==this.currentTerminalState&&2E3<pa||(null==this.currentTerminalState||"0"!=mxUtils.getValue(this.currentTerminalState.style,"outlineConnect","1"))&&ua.apply(this,arguments)};mxEdgeHandler.prototype.createHandleShape=
function(u,N,Q){N=null!=u&&0==u;var Y=this.state.getVisibleTerminalState(N);u=null!=u&&(0==u||u>=this.state.absolutePoints.length-1||this.constructor==mxElbowEdgeHandler&&2==u)?this.graph.getConnectionConstraint(this.state,Y,N):null;Q=null!=(null!=u?this.graph.getConnectionPoint(this.state.getVisibleTerminalState(N),u):null)?Q?this.endFixedHandleImage:this.fixedHandleImage:null!=u&&null!=Y?Q?this.endTerminalHandleImage:this.terminalHandleImage:Q?this.endHandleImage:this.handleImage;if(null!=Q)return Q=
new mxImageShape(new mxRectangle(0,0,Q.width,Q.height),Q.src),Q.preserveImageAspect=!1,Q;Q=mxConstants.HANDLE_SIZE;this.preferHtml&&--Q;return new mxRectangleShape(new mxRectangle(0,0,Q,Q),mxConstants.HANDLE_FILLCOLOR,mxConstants.HANDLE_STROKECOLOR)};var Ba=mxVertexHandler.prototype.createSizerShape;mxVertexHandler.prototype.createSizerShape=function(u,N,Q,Y){Y=N==mxEvent.ROTATION_HANDLE?HoverIcons.prototype.rotationHandle:N==mxEvent.LABEL_HANDLE?this.secondaryHandleImage:Y;return Ba.apply(this,arguments)};
-var ya=mxGraphHandler.prototype.getBoundingBox;mxGraphHandler.prototype.getBoundingBox=function(u){if(null!=u&&1==u.length){var N=this.graph.getModel(),Q=N.getParent(u[0]),Y=this.graph.getCellGeometry(u[0]);if(N.isEdge(Q)&&null!=Y&&Y.relative&&(N=this.graph.view.getState(u[0]),null!=N&&2>N.width&&2>N.height&&null!=N.text&&null!=N.text.boundingBox))return mxRectangle.fromRectangle(N.text.boundingBox)}return ya.apply(this,arguments)};var Aa=mxGraphHandler.prototype.getGuideStates;mxGraphHandler.prototype.getGuideStates=
+var xa=mxGraphHandler.prototype.getBoundingBox;mxGraphHandler.prototype.getBoundingBox=function(u){if(null!=u&&1==u.length){var N=this.graph.getModel(),Q=N.getParent(u[0]),Y=this.graph.getCellGeometry(u[0]);if(N.isEdge(Q)&&null!=Y&&Y.relative&&(N=this.graph.view.getState(u[0]),null!=N&&2>N.width&&2>N.height&&null!=N.text&&null!=N.text.boundingBox))return mxRectangle.fromRectangle(N.text.boundingBox)}return xa.apply(this,arguments)};var Aa=mxGraphHandler.prototype.getGuideStates;mxGraphHandler.prototype.getGuideStates=
function(){for(var u=Aa.apply(this,arguments),N=[],Q=0;Q<u.length;Q++)"1"!=mxUtils.getValue(u[Q].style,"part","0")&&N.push(u[Q]);return N};var Na=mxVertexHandler.prototype.getSelectionBounds;mxVertexHandler.prototype.getSelectionBounds=function(u){var N=this.graph.getModel(),Q=N.getParent(u.cell),Y=this.graph.getCellGeometry(u.cell);return N.isEdge(Q)&&null!=Y&&Y.relative&&2>u.width&&2>u.height&&null!=u.text&&null!=u.text.boundingBox?(N=u.text.unrotatedBoundingBox||u.text.boundingBox,new mxRectangle(Math.round(N.x),
Math.round(N.y),Math.round(N.width),Math.round(N.height))):Na.apply(this,arguments)};var va=mxVertexHandler.prototype.mouseDown;mxVertexHandler.prototype.mouseDown=function(u,N){var Q=this.graph.getModel(),Y=Q.getParent(this.state.cell),ia=this.graph.getCellGeometry(this.state.cell);(this.getHandleForEvent(N)==mxEvent.ROTATION_HANDLE||!Q.isEdge(Y)||null==ia||!ia.relative||null==this.state||2<=this.state.width||2<=this.state.height)&&va.apply(this,arguments)};mxVertexHandler.prototype.rotateClick=
function(){var u=mxUtils.getValue(this.state.style,mxConstants.STYLE_STROKECOLOR,mxConstants.NONE),N=mxUtils.getValue(this.state.style,mxConstants.STYLE_FILLCOLOR,mxConstants.NONE);this.state.view.graph.model.isVertex(this.state.cell)&&u==mxConstants.NONE&&N==mxConstants.NONE?(u=mxUtils.mod(mxUtils.getValue(this.state.style,mxConstants.STYLE_ROTATION,0)+90,360),this.state.view.graph.setCellStyles(mxConstants.STYLE_ROTATION,u,[this.state.cell])):this.state.view.graph.turnShapes([this.state.cell])};
-var Da=mxVertexHandler.prototype.mouseMove;mxVertexHandler.prototype.mouseMove=function(u,N){Da.apply(this,arguments);null!=this.graph.graphHandler.first&&(null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.style.display="none"),null!=this.linkHint&&"none"!=this.linkHint.style.display&&(this.linkHint.style.display="none"))};var Ha=mxVertexHandler.prototype.mouseUp;mxVertexHandler.prototype.mouseUp=function(u,N){Ha.apply(this,arguments);null!=this.rotationShape&&null!=
+var Ca=mxVertexHandler.prototype.mouseMove;mxVertexHandler.prototype.mouseMove=function(u,N){Ca.apply(this,arguments);null!=this.graph.graphHandler.first&&(null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.style.display="none"),null!=this.linkHint&&"none"!=this.linkHint.style.display&&(this.linkHint.style.display="none"))};var Ga=mxVertexHandler.prototype.mouseUp;mxVertexHandler.prototype.mouseUp=function(u,N){Ga.apply(this,arguments);null!=this.rotationShape&&null!=
this.rotationShape.node&&(this.rotationShape.node.style.display=1==this.graph.getSelectionCount()?"":"none");null!=this.linkHint&&"none"==this.linkHint.style.display&&1==this.graph.getSelectionCount()&&(this.linkHint.style.display="");this.blockDelayedSelection=null};mxVertexHandler.prototype.updateLinkHint=function(u,N){try{if(null==u&&(null==N||0==N.length))null!=this.linkHint&&(this.linkHint.parentNode.removeChild(this.linkHint),this.linkHint=null);else if(null!=u||null!=N&&0<N.length){var Q=document.createElement("img");
Q.className="geAdaptiveAsset";Q.setAttribute("src",Editor.editImage);Q.setAttribute("title",mxResources.get("editLink"));Q.setAttribute("width","14");Q.setAttribute("height","14");Q.style.paddingLeft="8px";Q.style.marginLeft="auto";Q.style.marginBottom="-1px";Q.style.cursor="pointer";var Y=Q.cloneNode(!0);Y.setAttribute("src",Editor.trashImage);Y.setAttribute("title",mxResources.get("removeIt",[mxResources.get("link")]));Y.style.paddingLeft="4px";Y.style.marginLeft="0";null==this.linkHint&&(this.linkHint=
b(),mxUtils.setPrefixedStyle(this.linkHint.style,"transform","translate(-50%,0)"),this.linkHint.style.padding="6px 8px 6px 8px",this.linkHint.style.opacity="1",this.linkHint.style.filter="",this.graph.container.appendChild(this.linkHint),mxEvent.addListener(this.linkHint,"mouseenter",mxUtils.bind(this,function(){this.graph.tooltipHandler.hide()})));this.linkHint.innerText="";if(null!=u){var ia=document.createElement("div");ia.style.display="flex";ia.style.alignItems="center";ia.appendChild(this.graph.createLinkForHint(u,
-null,this.state.cell));this.linkHint.appendChild(ia);if(this.graph.isEnabled()&&"function"===typeof this.graph.editLink&&!this.graph.isCellLocked(this.state.cell)){var ja=Q.cloneNode(!0);ia.appendChild(ja);mxEvent.addListener(ja,"click",mxUtils.bind(this,function(ta){this.graph.setSelectionCell(this.state.cell);this.graph.editLink();mxEvent.consume(ta)}));var oa=Y.cloneNode(!0);ia.appendChild(oa);mxEvent.addListener(oa,"click",mxUtils.bind(this,function(ta){this.graph.setLinkForCell(this.state.cell,
-null);mxEvent.consume(ta)}))}}if(null!=N)for(ia=0;ia<N.length;ia++)mxUtils.bind(this,function(ta,sa){var xa=document.createElement("div");xa.style.display="flex";xa.style.alignItems="center";xa.style.marginTop=null!=u||0<sa?"6px":"0px";xa.appendChild(this.graph.createLinkForHint(ta.getAttribute("href"),mxUtils.getTextContent(ta),this.state.cell));var Ca=Q.cloneNode(!0);xa.appendChild(Ca);var Oa=mxUtils.bind(this,function(Wa){var Za=document.createElement("div");Za.innerHTML=Graph.sanitizeHtml(this.graph.getLabel(this.state.cell));
-var ab=Za.getElementsByTagName("a")[sa];if(null!=ab){if(null==Wa||""==Wa){for(Wa=ab.cloneNode(!0).firstChild;null!=Wa;)ab.parentNode.insertBefore(Wa.cloneNode(!0),ab),Wa=Wa.nextSibling;ab.parentNode.removeChild(ab)}else ab.setAttribute("href",Wa);this.graph.labelChanged(this.state.cell,Za.innerHTML)}});mxEvent.addListener(Ca,"click",mxUtils.bind(this,function(Wa){this.graph.showLinkDialog(ta.getAttribute("href")||"",mxResources.get("ok"),Oa);mxEvent.consume(Wa)}));Ca=Y.cloneNode(!0);xa.appendChild(Ca);
-mxEvent.addListener(Ca,"click",mxUtils.bind(this,function(Wa){Oa();mxEvent.consume(Wa)}));this.linkHint.appendChild(xa)})(N[ia],ia)}null!=this.linkHint&&Graph.sanitizeNode(this.linkHint)}catch(ta){}};mxEdgeHandler.prototype.updateLinkHint=mxVertexHandler.prototype.updateLinkHint;var La=mxEdgeHandler.prototype.createConstraintHandler;mxEdgeHandler.prototype.createConstraintHandler=function(){var u=La.apply(this,arguments);u.isEnabled=mxUtils.bind(this,function(){return this.state.view.graph.connectionHandler.isEnabled()});
-return u};var Ea=mxConnectionHandler.prototype.init;mxConnectionHandler.prototype.init=function(){Ea.apply(this,arguments);this.constraintHandler.isEnabled=mxUtils.bind(this,function(){return this.graph.connectionHandler.isEnabled()})};var za=mxVertexHandler.prototype.redrawHandles;mxVertexHandler.prototype.redrawHandles=function(){if(null!=this.moveHandles)for(var u=0;u<this.moveHandles.length;u++)null!=this.moveHandles[u]&&(this.moveHandles[u].bounds.x=Math.round(this.moveHandles[u].rowState.x+
+null,this.state.cell));this.linkHint.appendChild(ia);if(this.graph.isEnabled()&&"function"===typeof this.graph.editLink&&!this.graph.isCellLocked(this.state.cell)){var la=Q.cloneNode(!0);ia.appendChild(la);mxEvent.addListener(la,"click",mxUtils.bind(this,function(ta){this.graph.setSelectionCell(this.state.cell);this.graph.editLink();mxEvent.consume(ta)}));var oa=Y.cloneNode(!0);ia.appendChild(oa);mxEvent.addListener(oa,"click",mxUtils.bind(this,function(ta){this.graph.setLinkForCell(this.state.cell,
+null);mxEvent.consume(ta)}))}}if(null!=N)for(ia=0;ia<N.length;ia++)mxUtils.bind(this,function(ta,sa){var ya=document.createElement("div");ya.style.display="flex";ya.style.alignItems="center";ya.style.marginTop=null!=u||0<sa?"6px":"0px";ya.appendChild(this.graph.createLinkForHint(ta.getAttribute("href"),mxUtils.getTextContent(ta),this.state.cell));var Ha=Q.cloneNode(!0);ya.appendChild(Ha);var Oa=mxUtils.bind(this,function(Wa){var Za=document.createElement("div");Za.innerHTML=Graph.sanitizeHtml(this.graph.getLabel(this.state.cell));
+var ab=Za.getElementsByTagName("a")[sa];if(null!=ab){if(null==Wa||""==Wa){for(Wa=ab.cloneNode(!0).firstChild;null!=Wa;)ab.parentNode.insertBefore(Wa.cloneNode(!0),ab),Wa=Wa.nextSibling;ab.parentNode.removeChild(ab)}else ab.setAttribute("href",Wa);this.graph.labelChanged(this.state.cell,Za.innerHTML)}});mxEvent.addListener(Ha,"click",mxUtils.bind(this,function(Wa){this.graph.showLinkDialog(ta.getAttribute("href")||"",mxResources.get("ok"),Oa);mxEvent.consume(Wa)}));Ha=Y.cloneNode(!0);ya.appendChild(Ha);
+mxEvent.addListener(Ha,"click",mxUtils.bind(this,function(Wa){Oa();mxEvent.consume(Wa)}));this.linkHint.appendChild(ya)})(N[ia],ia)}null!=this.linkHint&&Graph.sanitizeNode(this.linkHint)}catch(ta){}};mxEdgeHandler.prototype.updateLinkHint=mxVertexHandler.prototype.updateLinkHint;var La=mxEdgeHandler.prototype.createConstraintHandler;mxEdgeHandler.prototype.createConstraintHandler=function(){var u=La.apply(this,arguments);u.isEnabled=mxUtils.bind(this,function(){return this.state.view.graph.connectionHandler.isEnabled()});
+return u};var Da=mxConnectionHandler.prototype.init;mxConnectionHandler.prototype.init=function(){Da.apply(this,arguments);this.constraintHandler.isEnabled=mxUtils.bind(this,function(){return this.graph.connectionHandler.isEnabled()})};var za=mxVertexHandler.prototype.redrawHandles;mxVertexHandler.prototype.redrawHandles=function(){if(null!=this.moveHandles)for(var u=0;u<this.moveHandles.length;u++)null!=this.moveHandles[u]&&(this.moveHandles[u].bounds.x=Math.round(this.moveHandles[u].rowState.x+
this.moveHandles[u].rowState.width-this.moveHandles[u].bounds.width/2),this.moveHandles[u].bounds.y=Math.round(this.moveHandles[u].rowState.y+(this.moveHandles[u].rowState.height-this.moveHandles[u].bounds.height)/2),this.moveHandles[u].redraw());if(null!=this.cornerHandles){u=this.getSelectionBorderInset();var N=this.cornerHandles,Q=N[0].bounds.height/2;N[0].bounds.x=this.state.x-N[0].bounds.width/2+u;N[0].bounds.y=this.state.y-Q+u;N[0].redraw();N[1].bounds.x=N[0].bounds.x+this.state.width-2*u;N[1].bounds.y=
N[0].bounds.y;N[1].redraw();N[2].bounds.x=N[0].bounds.x;N[2].bounds.y=this.state.y+this.state.height-2*u;N[2].redraw();N[3].bounds.x=N[1].bounds.x;N[3].bounds.y=N[2].bounds.y;N[3].redraw();for(u=0;u<this.cornerHandles.length;u++)this.cornerHandles[u].node.style.display=1==this.graph.getSelectionCount()?"":"none"}null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.setAttribute("title",mxResources.get("rotateTooltip")),this.rotationShape.node.style.display=null!=this.moveHandles||
1!=this.graph.getSelectionCount()||null!=this.index&&this.index!=mxEvent.ROTATION_HANDLE?"none":"");za.apply(this);null!=this.state&&null!=this.linkHint&&(u=new mxPoint(this.state.getCenterX(),this.state.getCenterY()),N=new mxRectangle(this.state.x,this.state.y-22,this.state.width+24,this.state.height+22),Q=mxUtils.getBoundingBox(N,this.state.style[mxConstants.STYLE_ROTATION]||"0",u),u=null!=Q?mxUtils.getBoundingBox(this.state,this.state.style[mxConstants.STYLE_ROTATION]||"0"):this.state,N=null!=
@@ -2720,14 +2718,14 @@ null!=this.state&&null!=this.linkHint)){var u=this.state;null!=this.state.text&&
"")};var Ma=mxEdgeHandler.prototype.destroy;mxEdgeHandler.prototype.destroy=function(){Ma.apply(this,arguments);null!=this.linkHint&&(this.linkHint.parentNode.removeChild(this.linkHint),this.linkHint=null);null!=this.changeHandler&&(this.graph.getModel().removeListener(this.changeHandler),this.graph.getSelectionModel().removeListener(this.changeHandler),this.changeHandler=null)}}();(function(){function b(d,m,y){mxShape.call(this);this.line=d;this.stroke=m;this.strokewidth=null!=y?y:1;this.updateBoundsFromLine()}function e(){mxSwimlane.call(this)}function g(){mxSwimlane.call(this)}function n(){mxCylinder.call(this)}function v(){mxConnector.call(this)}function q(){mxCylinder.call(this)}function C(){mxActor.call(this)}function H(){mxCylinder.call(this)}function U(){mxCylinder.call(this)}function F(){mxCylinder.call(this)}function K(){mxCylinder.call(this)}function S(){mxShape.call(this)}
function W(){mxShape.call(this)}function c(d,m,y,p){mxShape.call(this);this.bounds=d;this.fill=m;this.stroke=y;this.strokewidth=null!=p?p:1}function f(){mxActor.call(this)}function l(){mxCylinder.call(this)}function z(){mxCylinder.call(this)}function A(){mxActor.call(this)}function B(){mxActor.call(this)}function G(){mxActor.call(this)}function L(){mxActor.call(this)}function P(){mxActor.call(this)}function J(){mxActor.call(this)}function fa(){mxActor.call(this)}function ea(d,m){this.canvas=d;this.canvas.setLineJoin("round");
this.canvas.setLineCap("round");this.defaultVariation=m;this.originalLineTo=this.canvas.lineTo;this.canvas.lineTo=mxUtils.bind(this,ea.prototype.lineTo);this.originalMoveTo=this.canvas.moveTo;this.canvas.moveTo=mxUtils.bind(this,ea.prototype.moveTo);this.originalClose=this.canvas.close;this.canvas.close=mxUtils.bind(this,ea.prototype.close);this.originalQuadTo=this.canvas.quadTo;this.canvas.quadTo=mxUtils.bind(this,ea.prototype.quadTo);this.originalCurveTo=this.canvas.curveTo;this.canvas.curveTo=
-mxUtils.bind(this,ea.prototype.curveTo);this.originalArcTo=this.canvas.arcTo;this.canvas.arcTo=mxUtils.bind(this,ea.prototype.arcTo)}function T(){mxRectangleShape.call(this)}function ca(){mxRectangleShape.call(this)}function ka(){mxActor.call(this)}function ma(){mxActor.call(this)}function aa(){mxActor.call(this)}function V(){mxRectangleShape.call(this)}function da(){mxRectangleShape.call(this)}function k(){mxCylinder.call(this)}function t(){mxShape.call(this)}function I(){mxShape.call(this)}function R(){mxEllipse.call(this)}
-function O(){mxShape.call(this)}function X(){mxShape.call(this)}function Z(){mxRectangleShape.call(this)}function ba(){mxShape.call(this)}function la(){mxShape.call(this)}function qa(){mxShape.call(this)}function pa(){mxShape.call(this)}function ra(){mxShape.call(this)}function ua(){mxCylinder.call(this)}function Ba(){mxCylinder.call(this)}function ya(){mxRectangleShape.call(this)}function Aa(){mxDoubleEllipse.call(this)}function Na(){mxDoubleEllipse.call(this)}function va(){mxArrowConnector.call(this);
-this.spacing=0}function Da(){mxArrowConnector.call(this);this.spacing=0}function Ha(){mxActor.call(this)}function La(){mxRectangleShape.call(this)}function Ea(){mxActor.call(this)}function za(){mxActor.call(this)}function Ra(){mxActor.call(this)}function Ja(){mxActor.call(this)}function Qa(){mxActor.call(this)}function Ma(){mxActor.call(this)}function u(){mxActor.call(this)}function N(){mxActor.call(this)}function Q(){mxActor.call(this)}function Y(){mxActor.call(this)}function ia(){mxEllipse.call(this)}
-function ja(){mxEllipse.call(this)}function oa(){mxEllipse.call(this)}function ta(){mxRhombus.call(this)}function sa(){mxEllipse.call(this)}function xa(){mxEllipse.call(this)}function Ca(){mxEllipse.call(this)}function Oa(){mxEllipse.call(this)}function Wa(){mxActor.call(this)}function Za(){mxActor.call(this)}function ab(){mxActor.call(this)}function Ta(d,m,y,p){mxShape.call(this);this.bounds=d;this.fill=m;this.stroke=y;this.strokewidth=null!=p?p:1;this.rectStyle="square";this.size=10;this.absoluteCornerSize=
+mxUtils.bind(this,ea.prototype.curveTo);this.originalArcTo=this.canvas.arcTo;this.canvas.arcTo=mxUtils.bind(this,ea.prototype.arcTo)}function T(){mxRectangleShape.call(this)}function ca(){mxRectangleShape.call(this)}function ja(){mxActor.call(this)}function ma(){mxActor.call(this)}function aa(){mxActor.call(this)}function V(){mxRectangleShape.call(this)}function da(){mxRectangleShape.call(this)}function k(){mxCylinder.call(this)}function t(){mxShape.call(this)}function I(){mxShape.call(this)}function R(){mxEllipse.call(this)}
+function O(){mxShape.call(this)}function X(){mxShape.call(this)}function Z(){mxRectangleShape.call(this)}function ba(){mxShape.call(this)}function ka(){mxShape.call(this)}function qa(){mxShape.call(this)}function pa(){mxShape.call(this)}function ra(){mxShape.call(this)}function ua(){mxCylinder.call(this)}function Ba(){mxCylinder.call(this)}function xa(){mxRectangleShape.call(this)}function Aa(){mxDoubleEllipse.call(this)}function Na(){mxDoubleEllipse.call(this)}function va(){mxArrowConnector.call(this);
+this.spacing=0}function Ca(){mxArrowConnector.call(this);this.spacing=0}function Ga(){mxActor.call(this)}function La(){mxRectangleShape.call(this)}function Da(){mxActor.call(this)}function za(){mxActor.call(this)}function Ra(){mxActor.call(this)}function Ja(){mxActor.call(this)}function Qa(){mxActor.call(this)}function Ma(){mxActor.call(this)}function u(){mxActor.call(this)}function N(){mxActor.call(this)}function Q(){mxActor.call(this)}function Y(){mxActor.call(this)}function ia(){mxEllipse.call(this)}
+function la(){mxEllipse.call(this)}function oa(){mxEllipse.call(this)}function ta(){mxRhombus.call(this)}function sa(){mxEllipse.call(this)}function ya(){mxEllipse.call(this)}function Ha(){mxEllipse.call(this)}function Oa(){mxEllipse.call(this)}function Wa(){mxActor.call(this)}function Za(){mxActor.call(this)}function ab(){mxActor.call(this)}function Ta(d,m,y,p){mxShape.call(this);this.bounds=d;this.fill=m;this.stroke=y;this.strokewidth=null!=p?p:1;this.rectStyle="square";this.size=10;this.absoluteCornerSize=
!0;this.indent=2;this.rectOutline="single"}function Pa(){mxConnector.call(this)}function kb(d,m,y,p,x,D,E,ha,M,wa){E+=M;var na=p.clone();p.x-=x*(2*E+M);p.y-=D*(2*E+M);x*=E+M;D*=E+M;return function(){d.ellipse(na.x-x-E,na.y-D-E,2*E,2*E);wa?d.fillAndStroke():d.stroke()}}mxUtils.extend(b,mxShape);b.prototype.updateBoundsFromLine=function(){var d=null;if(null!=this.line)for(var m=0;m<this.line.length;m++){var y=this.line[m];null!=y&&(y=new mxRectangle(y.x,y.y,this.strokewidth,this.strokewidth),null==
d?d=y:d.add(y))}this.bounds=null!=d?d:new mxRectangle};b.prototype.paintVertexShape=function(d,m,y,p,x){this.paintTableLine(d,this.line,0,0)};b.prototype.paintTableLine=function(d,m,y,p){if(null!=m){var x=null;d.begin();for(var D=0;D<m.length;D++){var E=m[D];null!=E&&(null==x?d.moveTo(E.x+y,E.y+p):null!=x&&d.lineTo(E.x+y,E.y+p));x=E}d.end();d.stroke()}};b.prototype.intersectsRectangle=function(d){var m=!1;if(mxShape.prototype.intersectsRectangle.apply(this,arguments)&&null!=this.line)for(var y=null,
p=0;p<this.line.length&&!m;p++){var x=this.line[p];null!=x&&null!=y&&(m=mxUtils.rectangleIntersectsSegment(d,y,x));y=x}return m};mxCellRenderer.registerShape("tableLine",b);mxUtils.extend(e,mxSwimlane);e.prototype.getLabelBounds=function(d){return 0==this.getTitleSize()?mxShape.prototype.getLabelBounds.apply(this,arguments):mxSwimlane.prototype.getLabelBounds.apply(this,arguments)};e.prototype.paintVertexShape=function(d,m,y,p,x){var D=null!=this.state?this.state.view.graph.isCellCollapsed(this.state.cell):
-!1,E=this.isHorizontal(),ha=this.getTitleSize();0==ha||this.outline?Ca.prototype.paintVertexShape.apply(this,arguments):(mxSwimlane.prototype.paintVertexShape.apply(this,arguments),d.translate(-m,-y));D||this.outline||!(E&&ha<x||!E&&ha<p)||this.paintForeground(d,m,y,p,x)};e.prototype.paintForeground=function(d,m,y,p,x){if(null!=this.state){var D=this.flipH,E=this.flipV;if(this.direction==mxConstants.DIRECTION_NORTH||this.direction==mxConstants.DIRECTION_SOUTH){var ha=D;D=E;E=ha}d.rotate(-this.getShapeRotation(),
+!1,E=this.isHorizontal(),ha=this.getTitleSize();0==ha||this.outline?Ha.prototype.paintVertexShape.apply(this,arguments):(mxSwimlane.prototype.paintVertexShape.apply(this,arguments),d.translate(-m,-y));D||this.outline||!(E&&ha<x||!E&&ha<p)||this.paintForeground(d,m,y,p,x)};e.prototype.paintForeground=function(d,m,y,p,x){if(null!=this.state){var D=this.flipH,E=this.flipV;if(this.direction==mxConstants.DIRECTION_NORTH||this.direction==mxConstants.DIRECTION_SOUTH){var ha=D;D=E;E=ha}d.rotate(-this.getShapeRotation(),
D,E,m+p/2,y+x/2);s=this.scale;m=this.bounds.x/s;y=this.bounds.y/s;p=this.bounds.width/s;x=this.bounds.height/s;this.paintTableForeground(d,m,y,p,x)}};e.prototype.paintTableForeground=function(d,m,y,p,x){p=this.state.view.graph.getTableLines(this.state.cell,"0"!=mxUtils.getValue(this.state.style,"rowLines","1"),"0"!=mxUtils.getValue(this.state.style,"columnLines","1"));for(x=0;x<p.length;x++)b.prototype.paintTableLine(d,p[x],m,y)};e.prototype.configurePointerEvents=function(d){0==this.getTitleSize()?
d.pointerEvents=!1:mxSwimlane.prototype.configurePointerEvents.apply(this,arguments)};mxCellRenderer.registerShape("table",e);mxUtils.extend(g,e);g.prototype.paintForeground=function(){};mxCellRenderer.registerShape("tableRow",g);mxUtils.extend(n,mxCylinder);n.prototype.size=20;n.prototype.darkOpacity=0;n.prototype.darkOpacity2=0;n.prototype.paintVertexShape=function(d,m,y,p,x){var D=Math.max(0,Math.min(p,Math.min(x,parseFloat(mxUtils.getValue(this.style,"size",this.size))))),E=Math.max(-1,Math.min(1,
parseFloat(mxUtils.getValue(this.style,"darkOpacity",this.darkOpacity)))),ha=Math.max(-1,Math.min(1,parseFloat(mxUtils.getValue(this.style,"darkOpacity2",this.darkOpacity2))));d.translate(m,y);d.begin();d.moveTo(0,0);d.lineTo(p-D,0);d.lineTo(p,D);d.lineTo(p,x);d.lineTo(D,x);d.lineTo(0,x-D);d.lineTo(0,0);d.close();d.end();d.fillAndStroke();this.outline||(d.setShadow(!1),0!=E&&(d.setFillAlpha(Math.abs(E)),d.setFillColor(0>E?"#FFFFFF":"#000000"),d.begin(),d.moveTo(0,0),d.lineTo(p-D,0),d.lineTo(p,D),
@@ -2771,16 +2769,16 @@ null!=this.fill&&this.fill!=mxConstants.NONE||null!=this.stroke&&this.stroke!=mx
D,y),d.lineTo(m+p-D,y),d.quadTo(m+p,y,m+p,y+D),d.lineTo(m+p,y+x-D),d.quadTo(m+p,y+x,m+p-D,y+x),d.lineTo(m+D,y+x),d.quadTo(m,y+x,m,y+x-D),d.lineTo(m,y+D),d.quadTo(m,y,m+D,y)):(d.moveTo(m,y),d.lineTo(m+p,y),d.lineTo(m+p,y+x),d.lineTo(m,y+x),d.lineTo(m,y)),d.close(),d.end(),d.fillAndStroke()}};mxUtils.extend(T,mxRectangleShape);T.prototype.size=.1;T.prototype.fixedSize=!1;T.prototype.isHtmlAllowed=function(){return!1};T.prototype.getLabelBounds=function(d){if(mxUtils.getValue(this.state.style,mxConstants.STYLE_HORIZONTAL,
!0)==(null==this.direction||this.direction==mxConstants.DIRECTION_EAST||this.direction==mxConstants.DIRECTION_WEST)){var m=d.width,y=d.height;d=new mxRectangle(d.x,d.y,m,y);var p=m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));if(this.isRounded){var x=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100;p=Math.max(p,Math.min(m*x,y*x))}d.x+=Math.round(p);d.width-=Math.round(2*p);return d}return d};T.prototype.paintForeground=
function(d,m,y,p,x){var D=mxUtils.getValue(this.style,"fixedSize",this.fixedSize),E=parseFloat(mxUtils.getValue(this.style,"size",this.size));E=D?Math.max(0,Math.min(p,E)):p*Math.max(0,Math.min(1,E));this.isRounded&&(D=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100,E=Math.max(E,Math.min(p*D,x*D)));E=Math.round(E);d.begin();d.moveTo(m+E,y);d.lineTo(m+E,y+x);d.moveTo(m+p-E,y);d.lineTo(m+p-E,y+x);d.end();d.stroke();mxRectangleShape.prototype.paintForeground.apply(this,
-arguments)};mxCellRenderer.registerShape("process",T);mxCellRenderer.registerShape("process2",T);mxUtils.extend(ca,mxRectangleShape);ca.prototype.paintBackground=function(d,m,y,p,x){d.setFillColor(mxConstants.NONE);d.rect(m,y,p,x);d.fill()};ca.prototype.paintForeground=function(d,m,y,p,x){};mxCellRenderer.registerShape("transparent",ca);mxUtils.extend(ka,mxHexagon);ka.prototype.size=30;ka.prototype.position=.5;ka.prototype.position2=.5;ka.prototype.base=20;ka.prototype.getLabelMargins=function(){return new mxRectangle(0,
-0,0,parseFloat(mxUtils.getValue(this.style,"size",this.size))*this.scale)};ka.prototype.isRoundable=function(){return!0};ka.prototype.redrawPath=function(d,m,y,p,x){m=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;y=Math.max(0,Math.min(x,parseFloat(mxUtils.getValue(this.style,"size",this.size))));var D=p*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"position",this.position)))),E=p*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"position2",
-this.position2)))),ha=Math.max(0,Math.min(p,parseFloat(mxUtils.getValue(this.style,"base",this.base))));this.addPoints(d,[new mxPoint(0,0),new mxPoint(p,0),new mxPoint(p,x-y),new mxPoint(Math.min(p,D+ha),x-y),new mxPoint(E,x),new mxPoint(Math.max(0,D),x-y),new mxPoint(0,x-y)],this.isRounded,m,!0,[4])};mxCellRenderer.registerShape("callout",ka);mxUtils.extend(ma,mxActor);ma.prototype.size=.2;ma.prototype.fixedSize=20;ma.prototype.isRoundable=function(){return!0};ma.prototype.redrawPath=function(d,
+arguments)};mxCellRenderer.registerShape("process",T);mxCellRenderer.registerShape("process2",T);mxUtils.extend(ca,mxRectangleShape);ca.prototype.paintBackground=function(d,m,y,p,x){d.setFillColor(mxConstants.NONE);d.rect(m,y,p,x);d.fill()};ca.prototype.paintForeground=function(d,m,y,p,x){};mxCellRenderer.registerShape("transparent",ca);mxUtils.extend(ja,mxHexagon);ja.prototype.size=30;ja.prototype.position=.5;ja.prototype.position2=.5;ja.prototype.base=20;ja.prototype.getLabelMargins=function(){return new mxRectangle(0,
+0,0,parseFloat(mxUtils.getValue(this.style,"size",this.size))*this.scale)};ja.prototype.isRoundable=function(){return!0};ja.prototype.redrawPath=function(d,m,y,p,x){m=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;y=Math.max(0,Math.min(x,parseFloat(mxUtils.getValue(this.style,"size",this.size))));var D=p*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"position",this.position)))),E=p*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"position2",
+this.position2)))),ha=Math.max(0,Math.min(p,parseFloat(mxUtils.getValue(this.style,"base",this.base))));this.addPoints(d,[new mxPoint(0,0),new mxPoint(p,0),new mxPoint(p,x-y),new mxPoint(Math.min(p,D+ha),x-y),new mxPoint(E,x),new mxPoint(Math.max(0,D),x-y),new mxPoint(0,x-y)],this.isRounded,m,!0,[4])};mxCellRenderer.registerShape("callout",ja);mxUtils.extend(ma,mxActor);ma.prototype.size=.2;ma.prototype.fixedSize=20;ma.prototype.isRoundable=function(){return!0};ma.prototype.redrawPath=function(d,
m,y,p,x){m="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(p,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize)))):p*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));y=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(d,[new mxPoint(0,0),new mxPoint(p-m,0),new mxPoint(p,x/2),new mxPoint(p-m,x),new mxPoint(0,x),new mxPoint(m,x/2)],this.isRounded,y,!0);d.end()};mxCellRenderer.registerShape("step",
ma);mxUtils.extend(aa,mxHexagon);aa.prototype.size=.25;aa.prototype.fixedSize=20;aa.prototype.isRoundable=function(){return!0};aa.prototype.redrawPath=function(d,m,y,p,x){m="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(.5*p,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize)))):p*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));y=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(d,[new mxPoint(m,
0),new mxPoint(p-m,0),new mxPoint(p,.5*x),new mxPoint(p-m,x),new mxPoint(m,x),new mxPoint(0,.5*x)],this.isRounded,y,!0)};mxCellRenderer.registerShape("hexagon",aa);mxUtils.extend(V,mxRectangleShape);V.prototype.isHtmlAllowed=function(){return!1};V.prototype.paintForeground=function(d,m,y,p,x){var D=Math.min(p/5,x/5)+1;d.begin();d.moveTo(m+p/2,y+D);d.lineTo(m+p/2,y+x-D);d.moveTo(m+D,y+x/2);d.lineTo(m+p-D,y+x/2);d.end();d.stroke();mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxCellRenderer.registerShape("plus",
V);var qb=mxRhombus.prototype.paintVertexShape;mxRhombus.prototype.getLabelBounds=function(d){if(1==this.style["double"]){var m=(2*Math.max(2,this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||0))*this.scale;return new mxRectangle(d.x+m,d.y+m,d.width-2*m,d.height-2*m)}return d};mxRhombus.prototype.paintVertexShape=function(d,m,y,p,x){qb.apply(this,arguments);if(!this.outline&&1==this.style["double"]){var D=2*Math.max(2,this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||
0);m+=D;y+=D;p-=2*D;x-=2*D;0<p&&0<x&&(d.setShadow(!1),qb.apply(this,[d,m,y,p,x]))}};mxUtils.extend(da,mxRectangleShape);da.prototype.isHtmlAllowed=function(){return!1};da.prototype.getLabelBounds=function(d){if(1==this.style["double"]){var m=(Math.max(2,this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||0))*this.scale;return new mxRectangle(d.x+m,d.y+m,d.width-2*m,d.height-2*m)}return d};da.prototype.paintForeground=function(d,m,y,p,x){if(null!=this.style){if(!this.outline&&1==this.style["double"]){var D=
Math.max(2,this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||0);m+=D;y+=D;p-=2*D;x-=2*D;0<p&&0<x&&mxRectangleShape.prototype.paintBackground.apply(this,arguments)}d.setDashed(!1);D=0;do{var E=mxCellRenderer.defaultShapes[this.style["symbol"+D]];if(null!=E){var ha=this.style["symbol"+D+"Align"],M=this.style["symbol"+D+"VerticalAlign"],wa=this.style["symbol"+D+"Width"],na=this.style["symbol"+D+"Height"],Ya=this.style["symbol"+D+"Spacing"]||0,hb=this.style["symbol"+D+"VSpacing"]||
-Ya,bb=this.style["symbol"+D+"ArcSpacing"];null!=bb&&(bb*=this.getArcSize(p+this.strokewidth,x+this.strokewidth),Ya+=bb,hb+=bb);bb=m;var Fa=y;bb=ha==mxConstants.ALIGN_CENTER?bb+(p-wa)/2:ha==mxConstants.ALIGN_RIGHT?bb+(p-wa-Ya):bb+Ya;Fa=M==mxConstants.ALIGN_MIDDLE?Fa+(x-na)/2:M==mxConstants.ALIGN_BOTTOM?Fa+(x-na-hb):Fa+hb;d.save();ha=new E;ha.style=this.style;E.prototype.paintVertexShape.call(ha,d,bb,Fa,wa,na);d.restore()}D++}while(null!=E)}mxRectangleShape.prototype.paintForeground.apply(this,arguments)};
+Ya,bb=this.style["symbol"+D+"ArcSpacing"];null!=bb&&(bb*=this.getArcSize(p+this.strokewidth,x+this.strokewidth),Ya+=bb,hb+=bb);bb=m;var Ea=y;bb=ha==mxConstants.ALIGN_CENTER?bb+(p-wa)/2:ha==mxConstants.ALIGN_RIGHT?bb+(p-wa-Ya):bb+Ya;Ea=M==mxConstants.ALIGN_MIDDLE?Ea+(x-na)/2:M==mxConstants.ALIGN_BOTTOM?Ea+(x-na-hb):Ea+hb;d.save();ha=new E;ha.style=this.style;E.prototype.paintVertexShape.call(ha,d,bb,Ea,wa,na);d.restore()}D++}while(null!=E)}mxRectangleShape.prototype.paintForeground.apply(this,arguments)};
mxCellRenderer.registerShape("ext",da);mxUtils.extend(k,mxCylinder);k.prototype.redrawPath=function(d,m,y,p,x,D){D?(d.moveTo(0,0),d.lineTo(p/2,x/2),d.lineTo(p,0),d.end()):(d.moveTo(0,0),d.lineTo(p,0),d.lineTo(p,x),d.lineTo(0,x),d.close())};mxCellRenderer.registerShape("message",k);mxUtils.extend(t,mxShape);t.prototype.paintBackground=function(d,m,y,p,x){d.translate(m,y);d.ellipse(p/4,0,p/2,x/4);d.fillAndStroke();d.begin();d.moveTo(p/2,x/4);d.lineTo(p/2,2*x/3);d.moveTo(p/2,x/3);d.lineTo(0,x/3);d.moveTo(p/
2,x/3);d.lineTo(p,x/3);d.moveTo(p/2,2*x/3);d.lineTo(0,x);d.moveTo(p/2,2*x/3);d.lineTo(p,x);d.end();d.stroke()};mxCellRenderer.registerShape("umlActor",t);mxUtils.extend(I,mxShape);I.prototype.getLabelMargins=function(d){return new mxRectangle(d.width/6,0,0,0)};I.prototype.paintBackground=function(d,m,y,p,x){d.translate(m,y);d.begin();d.moveTo(0,x/4);d.lineTo(0,3*x/4);d.end();d.stroke();d.begin();d.moveTo(0,x/2);d.lineTo(p/6,x/2);d.end();d.stroke();d.ellipse(p/6,0,5*p/6,x);d.fillAndStroke()};mxCellRenderer.registerShape("umlBoundary",
I);mxUtils.extend(R,mxEllipse);R.prototype.paintVertexShape=function(d,m,y,p,x){mxEllipse.prototype.paintVertexShape.apply(this,arguments);d.begin();d.moveTo(m+p/8,y+x);d.lineTo(m+7*p/8,y+x);d.end();d.stroke()};mxCellRenderer.registerShape("umlEntity",R);mxUtils.extend(O,mxShape);O.prototype.paintVertexShape=function(d,m,y,p,x){d.translate(m,y);d.begin();d.moveTo(p,0);d.lineTo(0,x);d.moveTo(0,0);d.lineTo(p,x);d.end();d.stroke()};mxCellRenderer.registerShape("umlDestroy",O);mxUtils.extend(X,mxShape);
@@ -2793,7 +2791,7 @@ D))};mxCellRenderer.registerShape("umlLifeline",Z);mxUtils.extend(ba,mxShape);ba
d.lineTo(m+p,y);d.lineTo(m+p,y+x);d.lineTo(m,y+x);d.lineTo(m,y+ha);d.stroke()};mxCellRenderer.registerShape("umlFrame",ba);mxPerimeter.CenterPerimeter=function(d,m,y,p){return new mxPoint(d.getCenterX(),d.getCenterY())};mxStyleRegistry.putValue("centerPerimeter",mxPerimeter.CenterPerimeter);mxPerimeter.LifelinePerimeter=function(d,m,y,p){p=Z.prototype.size;null!=m&&(p=mxUtils.getValue(m.style,"size",p)*m.view.scale);m=parseFloat(m.style[mxConstants.STYLE_STROKEWIDTH]||1)*m.view.scale/2-1;y.x<d.getCenterX()&&
(m=-1*(m+1));return new mxPoint(d.getCenterX()+m,Math.min(d.y+d.height,Math.max(d.y+p,y.y)))};mxStyleRegistry.putValue("lifelinePerimeter",mxPerimeter.LifelinePerimeter);mxPerimeter.OrthogonalPerimeter=function(d,m,y,p){p=!0;return mxPerimeter.RectanglePerimeter.apply(this,arguments)};mxStyleRegistry.putValue("orthogonalPerimeter",mxPerimeter.OrthogonalPerimeter);mxPerimeter.BackbonePerimeter=function(d,m,y,p){p=parseFloat(m.style[mxConstants.STYLE_STROKEWIDTH]||1)*m.view.scale/2-1;null!=m.style.backboneSize&&
(p+=parseFloat(m.style.backboneSize)*m.view.scale/2-1);if("south"==m.style[mxConstants.STYLE_DIRECTION]||"north"==m.style[mxConstants.STYLE_DIRECTION])return y.x<d.getCenterX()&&(p=-1*(p+1)),new mxPoint(d.getCenterX()+p,Math.min(d.y+d.height,Math.max(d.y,y.y)));y.y<d.getCenterY()&&(p=-1*(p+1));return new mxPoint(Math.min(d.x+d.width,Math.max(d.x,y.x)),d.getCenterY()+p)};mxStyleRegistry.putValue("backbonePerimeter",mxPerimeter.BackbonePerimeter);mxPerimeter.CalloutPerimeter=function(d,m,y,p){return mxPerimeter.RectanglePerimeter(mxUtils.getDirectedBounds(d,
-new mxRectangle(0,0,0,Math.max(0,Math.min(d.height,parseFloat(mxUtils.getValue(m.style,"size",ka.prototype.size))*m.view.scale))),m.style),m,y,p)};mxStyleRegistry.putValue("calloutPerimeter",mxPerimeter.CalloutPerimeter);mxPerimeter.ParallelogramPerimeter=function(d,m,y,p){var x="0"!=mxUtils.getValue(m.style,"fixedSize","0"),D=x?L.prototype.fixedSize:L.prototype.size;null!=m&&(D=mxUtils.getValue(m.style,"size",D));x&&(D*=m.view.scale);var E=d.x,ha=d.y,M=d.width,wa=d.height;m=null!=m?mxUtils.getValue(m.style,
+new mxRectangle(0,0,0,Math.max(0,Math.min(d.height,parseFloat(mxUtils.getValue(m.style,"size",ja.prototype.size))*m.view.scale))),m.style),m,y,p)};mxStyleRegistry.putValue("calloutPerimeter",mxPerimeter.CalloutPerimeter);mxPerimeter.ParallelogramPerimeter=function(d,m,y,p){var x="0"!=mxUtils.getValue(m.style,"fixedSize","0"),D=x?L.prototype.fixedSize:L.prototype.size;null!=m&&(D=mxUtils.getValue(m.style,"size",D));x&&(D*=m.view.scale);var E=d.x,ha=d.y,M=d.width,wa=d.height;m=null!=m?mxUtils.getValue(m.style,
mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;m==mxConstants.DIRECTION_NORTH||m==mxConstants.DIRECTION_SOUTH?(x=x?Math.max(0,Math.min(wa,D)):wa*Math.max(0,Math.min(1,D)),ha=[new mxPoint(E,ha),new mxPoint(E+M,ha+x),new mxPoint(E+M,ha+wa),new mxPoint(E,ha+wa-x),new mxPoint(E,ha)]):(x=x?Math.max(0,Math.min(.5*M,D)):M*Math.max(0,Math.min(1,D)),ha=[new mxPoint(E+x,ha),new mxPoint(E+M,ha),new mxPoint(E+M-x,ha+wa),new mxPoint(E,ha+wa),new mxPoint(E+x,ha)]);wa=d.getCenterX();
d=d.getCenterY();d=new mxPoint(wa,d);p&&(y.x<E||y.x>E+M?d.y=y.y:d.x=y.x);return mxUtils.getPerimeterPoint(ha,d,y)};mxStyleRegistry.putValue("parallelogramPerimeter",mxPerimeter.ParallelogramPerimeter);mxPerimeter.TrapezoidPerimeter=function(d,m,y,p){var x="0"!=mxUtils.getValue(m.style,"fixedSize","0"),D=x?P.prototype.fixedSize:P.prototype.size;null!=m&&(D=mxUtils.getValue(m.style,"size",D));x&&(D*=m.view.scale);var E=d.x,ha=d.y,M=d.width,wa=d.height;m=null!=m?mxUtils.getValue(m.style,mxConstants.STYLE_DIRECTION,
mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;m==mxConstants.DIRECTION_EAST?(x=x?Math.max(0,Math.min(.5*M,D)):M*Math.max(0,Math.min(1,D)),ha=[new mxPoint(E+x,ha),new mxPoint(E+M-x,ha),new mxPoint(E+M,ha+wa),new mxPoint(E,ha+wa),new mxPoint(E+x,ha)]):m==mxConstants.DIRECTION_WEST?(x=x?Math.max(0,Math.min(M,D)):M*Math.max(0,Math.min(1,D)),ha=[new mxPoint(E,ha),new mxPoint(E+M,ha),new mxPoint(E+M-x,ha+wa),new mxPoint(E+x,ha+wa),new mxPoint(E,ha)]):m==mxConstants.DIRECTION_NORTH?(x=x?Math.max(0,
@@ -2803,19 +2801,19 @@ Math.min(1,D)),ha=[new mxPoint(E,ha),new mxPoint(E+M-x,ha),new mxPoint(E+M,d),ne
ha+x),new mxPoint(na,ha),new mxPoint(E+M,ha+x),new mxPoint(E+M,ha+wa),new mxPoint(na,ha+wa-x),new mxPoint(E,ha+wa),new mxPoint(E,ha+x)]):(x=x?Math.max(0,Math.min(wa,D)):wa*Math.max(0,Math.min(1,D)),ha=[new mxPoint(E,ha),new mxPoint(na,ha+x),new mxPoint(E+M,ha),new mxPoint(E+M,ha+wa-x),new mxPoint(na,ha+wa),new mxPoint(E,ha+wa-x),new mxPoint(E,ha)]);na=new mxPoint(na,d);p&&(y.x<E||y.x>E+M?na.y=y.y:na.x=y.x);return mxUtils.getPerimeterPoint(ha,na,y)};mxStyleRegistry.putValue("stepPerimeter",mxPerimeter.StepPerimeter);
mxPerimeter.HexagonPerimeter2=function(d,m,y,p){var x="0"!=mxUtils.getValue(m.style,"fixedSize","0"),D=x?aa.prototype.fixedSize:aa.prototype.size;null!=m&&(D=mxUtils.getValue(m.style,"size",D));x&&(D*=m.view.scale);var E=d.x,ha=d.y,M=d.width,wa=d.height,na=d.getCenterX();d=d.getCenterY();m=null!=m?mxUtils.getValue(m.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;m==mxConstants.DIRECTION_NORTH||m==mxConstants.DIRECTION_SOUTH?(x=x?Math.max(0,Math.min(wa,D)):
wa*Math.max(0,Math.min(1,D)),ha=[new mxPoint(na,ha),new mxPoint(E+M,ha+x),new mxPoint(E+M,ha+wa-x),new mxPoint(na,ha+wa),new mxPoint(E,ha+wa-x),new mxPoint(E,ha+x),new mxPoint(na,ha)]):(x=x?Math.max(0,Math.min(M,D)):M*Math.max(0,Math.min(1,D)),ha=[new mxPoint(E+x,ha),new mxPoint(E+M-x,ha),new mxPoint(E+M,d),new mxPoint(E+M-x,ha+wa),new mxPoint(E+x,ha+wa),new mxPoint(E,d),new mxPoint(E+x,ha)]);na=new mxPoint(na,d);p&&(y.x<E||y.x>E+M?na.y=y.y:na.x=y.x);return mxUtils.getPerimeterPoint(ha,na,y)};mxStyleRegistry.putValue("hexagonPerimeter2",
-mxPerimeter.HexagonPerimeter2);mxUtils.extend(la,mxShape);la.prototype.size=10;la.prototype.paintBackground=function(d,m,y,p,x){var D=parseFloat(mxUtils.getValue(this.style,"size",this.size));d.translate(m,y);d.ellipse((p-D)/2,0,D,D);d.fillAndStroke();d.begin();d.moveTo(p/2,D);d.lineTo(p/2,x);d.end();d.stroke()};mxCellRenderer.registerShape("lollipop",la);mxUtils.extend(qa,mxShape);qa.prototype.size=10;qa.prototype.inset=2;qa.prototype.paintBackground=function(d,m,y,p,x){var D=parseFloat(mxUtils.getValue(this.style,
+mxPerimeter.HexagonPerimeter2);mxUtils.extend(ka,mxShape);ka.prototype.size=10;ka.prototype.paintBackground=function(d,m,y,p,x){var D=parseFloat(mxUtils.getValue(this.style,"size",this.size));d.translate(m,y);d.ellipse((p-D)/2,0,D,D);d.fillAndStroke();d.begin();d.moveTo(p/2,D);d.lineTo(p/2,x);d.end();d.stroke()};mxCellRenderer.registerShape("lollipop",ka);mxUtils.extend(qa,mxShape);qa.prototype.size=10;qa.prototype.inset=2;qa.prototype.paintBackground=function(d,m,y,p,x){var D=parseFloat(mxUtils.getValue(this.style,
"size",this.size)),E=parseFloat(mxUtils.getValue(this.style,"inset",this.inset))+this.strokewidth;d.translate(m,y);d.begin();d.moveTo(p/2,D+E);d.lineTo(p/2,x);d.end();d.stroke();d.begin();d.moveTo((p-D)/2-E,D/2);d.quadTo((p-D)/2-E,D+E,p/2,D+E);d.quadTo((p+D)/2+E,D+E,(p+D)/2+E,D/2);d.end();d.stroke()};mxCellRenderer.registerShape("requires",qa);mxUtils.extend(pa,mxShape);pa.prototype.paintBackground=function(d,m,y,p,x){d.translate(m,y);d.begin();d.moveTo(0,0);d.quadTo(p,0,p,x/2);d.quadTo(p,x,0,x);
d.end();d.stroke()};mxCellRenderer.registerShape("requiredInterface",pa);mxUtils.extend(ra,mxShape);ra.prototype.inset=2;ra.prototype.paintBackground=function(d,m,y,p,x){var D=parseFloat(mxUtils.getValue(this.style,"inset",this.inset))+this.strokewidth;d.translate(m,y);d.ellipse(0,D,p-2*D,x-2*D);d.fillAndStroke();d.begin();d.moveTo(p/2,0);d.quadTo(p,0,p,x/2);d.quadTo(p,x,p/2,x);d.end();d.stroke()};mxCellRenderer.registerShape("providedRequiredInterface",ra);mxUtils.extend(ua,mxCylinder);ua.prototype.jettyWidth=
20;ua.prototype.jettyHeight=10;ua.prototype.redrawPath=function(d,m,y,p,x,D){var E=parseFloat(mxUtils.getValue(this.style,"jettyWidth",this.jettyWidth));m=parseFloat(mxUtils.getValue(this.style,"jettyHeight",this.jettyHeight));y=E/2;E=y+E/2;var ha=Math.min(m,x-m),M=Math.min(ha+2*m,x-m);D?(d.moveTo(y,ha),d.lineTo(E,ha),d.lineTo(E,ha+m),d.lineTo(y,ha+m),d.moveTo(y,M),d.lineTo(E,M),d.lineTo(E,M+m),d.lineTo(y,M+m)):(d.moveTo(y,0),d.lineTo(p,0),d.lineTo(p,x),d.lineTo(y,x),d.lineTo(y,M+m),d.lineTo(0,M+
m),d.lineTo(0,M),d.lineTo(y,M),d.lineTo(y,ha+m),d.lineTo(0,ha+m),d.lineTo(0,ha),d.lineTo(y,ha),d.close());d.end()};mxCellRenderer.registerShape("module",ua);mxUtils.extend(Ba,mxCylinder);Ba.prototype.jettyWidth=32;Ba.prototype.jettyHeight=12;Ba.prototype.redrawPath=function(d,m,y,p,x,D){var E=parseFloat(mxUtils.getValue(this.style,"jettyWidth",this.jettyWidth));m=parseFloat(mxUtils.getValue(this.style,"jettyHeight",this.jettyHeight));y=E/2;E=y+E/2;var ha=.3*x-m/2,M=.7*x-m/2;D?(d.moveTo(y,ha),d.lineTo(E,
-ha),d.lineTo(E,ha+m),d.lineTo(y,ha+m),d.moveTo(y,M),d.lineTo(E,M),d.lineTo(E,M+m),d.lineTo(y,M+m)):(d.moveTo(y,0),d.lineTo(p,0),d.lineTo(p,x),d.lineTo(y,x),d.lineTo(y,M+m),d.lineTo(0,M+m),d.lineTo(0,M),d.lineTo(y,M),d.lineTo(y,ha+m),d.lineTo(0,ha+m),d.lineTo(0,ha),d.lineTo(y,ha),d.close());d.end()};mxCellRenderer.registerShape("component",Ba);mxUtils.extend(ya,mxRectangleShape);ya.prototype.paintForeground=function(d,m,y,p,x){var D=p/2,E=x/2,ha=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,
-mxConstants.LINE_ARCSIZE)/2;d.begin();this.addPoints(d,[new mxPoint(m+D,y),new mxPoint(m+p,y+E),new mxPoint(m+D,y+x),new mxPoint(m,y+E)],this.isRounded,ha,!0);d.stroke();mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxCellRenderer.registerShape("associativeEntity",ya);mxUtils.extend(Aa,mxDoubleEllipse);Aa.prototype.outerStroke=!0;Aa.prototype.paintVertexShape=function(d,m,y,p,x){var D=Math.min(4,Math.min(p/5,x/5));0<p&&0<x&&(d.ellipse(m+D,y+D,p-2*D,x-2*D),d.fillAndStroke());d.setShadow(!1);
+ha),d.lineTo(E,ha+m),d.lineTo(y,ha+m),d.moveTo(y,M),d.lineTo(E,M),d.lineTo(E,M+m),d.lineTo(y,M+m)):(d.moveTo(y,0),d.lineTo(p,0),d.lineTo(p,x),d.lineTo(y,x),d.lineTo(y,M+m),d.lineTo(0,M+m),d.lineTo(0,M),d.lineTo(y,M),d.lineTo(y,ha+m),d.lineTo(0,ha+m),d.lineTo(0,ha),d.lineTo(y,ha),d.close());d.end()};mxCellRenderer.registerShape("component",Ba);mxUtils.extend(xa,mxRectangleShape);xa.prototype.paintForeground=function(d,m,y,p,x){var D=p/2,E=x/2,ha=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,
+mxConstants.LINE_ARCSIZE)/2;d.begin();this.addPoints(d,[new mxPoint(m+D,y),new mxPoint(m+p,y+E),new mxPoint(m+D,y+x),new mxPoint(m,y+E)],this.isRounded,ha,!0);d.stroke();mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxCellRenderer.registerShape("associativeEntity",xa);mxUtils.extend(Aa,mxDoubleEllipse);Aa.prototype.outerStroke=!0;Aa.prototype.paintVertexShape=function(d,m,y,p,x){var D=Math.min(4,Math.min(p/5,x/5));0<p&&0<x&&(d.ellipse(m+D,y+D,p-2*D,x-2*D),d.fillAndStroke());d.setShadow(!1);
this.outerStroke&&(d.ellipse(m,y,p,x),d.stroke())};mxCellRenderer.registerShape("endState",Aa);mxUtils.extend(Na,Aa);Na.prototype.outerStroke=!1;mxCellRenderer.registerShape("startState",Na);mxUtils.extend(va,mxArrowConnector);va.prototype.defaultWidth=4;va.prototype.isOpenEnded=function(){return!0};va.prototype.getEdgeWidth=function(){return mxUtils.getNumber(this.style,"width",this.defaultWidth)+Math.max(0,this.strokewidth-1)};va.prototype.isArrowRounded=function(){return this.isRounded};mxCellRenderer.registerShape("link",
-va);mxUtils.extend(Da,mxArrowConnector);Da.prototype.defaultWidth=10;Da.prototype.defaultArrowWidth=20;Da.prototype.getStartArrowWidth=function(){return this.getEdgeWidth()+mxUtils.getNumber(this.style,"startWidth",this.defaultArrowWidth)};Da.prototype.getEndArrowWidth=function(){return this.getEdgeWidth()+mxUtils.getNumber(this.style,"endWidth",this.defaultArrowWidth)};Da.prototype.getEdgeWidth=function(){return mxUtils.getNumber(this.style,"width",this.defaultWidth)+Math.max(0,this.strokewidth-
-1)};mxCellRenderer.registerShape("flexArrow",Da);mxUtils.extend(Ha,mxActor);Ha.prototype.size=30;Ha.prototype.isRoundable=function(){return!0};Ha.prototype.redrawPath=function(d,m,y,p,x){m=Math.min(x,parseFloat(mxUtils.getValue(this.style,"size",this.size)));y=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(d,[new mxPoint(0,x),new mxPoint(0,m),new mxPoint(p,0),new mxPoint(p,x)],this.isRounded,y,!0);d.end()};mxCellRenderer.registerShape("manualInput",
-Ha);mxUtils.extend(La,mxRectangleShape);La.prototype.dx=20;La.prototype.dy=20;La.prototype.isHtmlAllowed=function(){return!1};La.prototype.paintForeground=function(d,m,y,p,x){mxRectangleShape.prototype.paintForeground.apply(this,arguments);var D=0;if(this.isRounded){var E=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100;D=Math.max(D,Math.min(p*E,x*E))}E=Math.max(D,Math.min(p,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));D=Math.max(D,Math.min(x,
-parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));d.begin();d.moveTo(m,y+D);d.lineTo(m+p,y+D);d.end();d.stroke();d.begin();d.moveTo(m+E,y);d.lineTo(m+E,y+x);d.end();d.stroke()};mxCellRenderer.registerShape("internalStorage",La);mxUtils.extend(Ea,mxActor);Ea.prototype.dx=20;Ea.prototype.dy=20;Ea.prototype.redrawPath=function(d,m,y,p,x){m=Math.max(0,Math.min(p,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));y=Math.max(0,Math.min(x,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));
-parseFloat(mxUtils.getValue(this.style,"size",this.size));var D=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(d,[new mxPoint(0,0),new mxPoint(p,0),new mxPoint(p,y),new mxPoint(m,y),new mxPoint(m,x),new mxPoint(0,x)],this.isRounded,D,!0);d.end()};mxCellRenderer.registerShape("corner",Ea);mxUtils.extend(za,mxActor);za.prototype.redrawPath=function(d,m,y,p,x){d.moveTo(0,0);d.lineTo(0,x);d.end();d.moveTo(p,0);d.lineTo(p,x);d.end();d.moveTo(0,x/2);d.lineTo(p,
+va);mxUtils.extend(Ca,mxArrowConnector);Ca.prototype.defaultWidth=10;Ca.prototype.defaultArrowWidth=20;Ca.prototype.getStartArrowWidth=function(){return this.getEdgeWidth()+mxUtils.getNumber(this.style,"startWidth",this.defaultArrowWidth)};Ca.prototype.getEndArrowWidth=function(){return this.getEdgeWidth()+mxUtils.getNumber(this.style,"endWidth",this.defaultArrowWidth)};Ca.prototype.getEdgeWidth=function(){return mxUtils.getNumber(this.style,"width",this.defaultWidth)+Math.max(0,this.strokewidth-
+1)};mxCellRenderer.registerShape("flexArrow",Ca);mxUtils.extend(Ga,mxActor);Ga.prototype.size=30;Ga.prototype.isRoundable=function(){return!0};Ga.prototype.redrawPath=function(d,m,y,p,x){m=Math.min(x,parseFloat(mxUtils.getValue(this.style,"size",this.size)));y=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(d,[new mxPoint(0,x),new mxPoint(0,m),new mxPoint(p,0),new mxPoint(p,x)],this.isRounded,y,!0);d.end()};mxCellRenderer.registerShape("manualInput",
+Ga);mxUtils.extend(La,mxRectangleShape);La.prototype.dx=20;La.prototype.dy=20;La.prototype.isHtmlAllowed=function(){return!1};La.prototype.paintForeground=function(d,m,y,p,x){mxRectangleShape.prototype.paintForeground.apply(this,arguments);var D=0;if(this.isRounded){var E=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100;D=Math.max(D,Math.min(p*E,x*E))}E=Math.max(D,Math.min(p,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));D=Math.max(D,Math.min(x,
+parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));d.begin();d.moveTo(m,y+D);d.lineTo(m+p,y+D);d.end();d.stroke();d.begin();d.moveTo(m+E,y);d.lineTo(m+E,y+x);d.end();d.stroke()};mxCellRenderer.registerShape("internalStorage",La);mxUtils.extend(Da,mxActor);Da.prototype.dx=20;Da.prototype.dy=20;Da.prototype.redrawPath=function(d,m,y,p,x){m=Math.max(0,Math.min(p,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));y=Math.max(0,Math.min(x,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));
+parseFloat(mxUtils.getValue(this.style,"size",this.size));var D=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(d,[new mxPoint(0,0),new mxPoint(p,0),new mxPoint(p,y),new mxPoint(m,y),new mxPoint(m,x),new mxPoint(0,x)],this.isRounded,D,!0);d.end()};mxCellRenderer.registerShape("corner",Da);mxUtils.extend(za,mxActor);za.prototype.redrawPath=function(d,m,y,p,x){d.moveTo(0,0);d.lineTo(0,x);d.end();d.moveTo(p,0);d.lineTo(p,x);d.end();d.moveTo(0,x/2);d.lineTo(p,
x/2);d.end()};mxCellRenderer.registerShape("crossbar",za);mxUtils.extend(Ra,mxActor);Ra.prototype.dx=20;Ra.prototype.dy=20;Ra.prototype.redrawPath=function(d,m,y,p,x){m=Math.max(0,Math.min(p,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));y=Math.max(0,Math.min(x,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));parseFloat(mxUtils.getValue(this.style,"size",this.size));var D=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(d,[new mxPoint(0,
0),new mxPoint(p,0),new mxPoint(p,y),new mxPoint((p+m)/2,y),new mxPoint((p+m)/2,x),new mxPoint((p-m)/2,x),new mxPoint((p-m)/2,y),new mxPoint(0,y)],this.isRounded,D,!0);d.end()};mxCellRenderer.registerShape("tee",Ra);mxUtils.extend(Ja,mxActor);Ja.prototype.arrowWidth=.3;Ja.prototype.arrowSize=.2;Ja.prototype.redrawPath=function(d,m,y,p,x){var D=x*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",this.arrowWidth))));m=p*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,
"arrowSize",this.arrowSize))));y=(x-D)/2;D=y+D;var E=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(d,[new mxPoint(0,y),new mxPoint(p-m,y),new mxPoint(p-m,0),new mxPoint(p,x/2),new mxPoint(p-m,x),new mxPoint(p-m,D),new mxPoint(0,D)],this.isRounded,E,!0);d.end()};mxCellRenderer.registerShape("singleArrow",Ja);mxUtils.extend(Qa,mxActor);Qa.prototype.redrawPath=function(d,m,y,p,x){var D=x*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",
@@ -2824,12 +2822,12 @@ Qa);mxUtils.extend(Ma,mxActor);Ma.prototype.size=.1;Ma.prototype.fixedSize=20;Ma
mxUtils.extend(u,mxActor);u.prototype.redrawPath=function(d,m,y,p,x){d.moveTo(0,0);d.quadTo(p,0,p,x/2);d.quadTo(p,x,0,x);d.close();d.end()};mxCellRenderer.registerShape("or",u);mxUtils.extend(N,mxActor);N.prototype.redrawPath=function(d,m,y,p,x){d.moveTo(0,0);d.quadTo(p,0,p,x/2);d.quadTo(p,x,0,x);d.quadTo(p/2,x/2,0,0);d.close();d.end()};mxCellRenderer.registerShape("xor",N);mxUtils.extend(Q,mxActor);Q.prototype.size=20;Q.prototype.isRoundable=function(){return!0};Q.prototype.redrawPath=function(d,
m,y,p,x){m=Math.min(p/2,Math.min(x,parseFloat(mxUtils.getValue(this.style,"size",this.size))));y=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(d,[new mxPoint(m,0),new mxPoint(p-m,0),new mxPoint(p,.8*m),new mxPoint(p,x),new mxPoint(0,x),new mxPoint(0,.8*m)],this.isRounded,y,!0);d.end()};mxCellRenderer.registerShape("loopLimit",Q);mxUtils.extend(Y,mxActor);Y.prototype.size=.375;Y.prototype.isRoundable=function(){return!0};Y.prototype.redrawPath=function(d,
m,y,p,x){m=x*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));y=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(d,[new mxPoint(0,0),new mxPoint(p,0),new mxPoint(p,x-m),new mxPoint(p/2,x),new mxPoint(0,x-m)],this.isRounded,y,!0);d.end()};mxCellRenderer.registerShape("offPageConnector",Y);mxUtils.extend(ia,mxEllipse);ia.prototype.paintVertexShape=function(d,m,y,p,x){mxEllipse.prototype.paintVertexShape.apply(this,arguments);
-d.begin();d.moveTo(m+p/2,y+x);d.lineTo(m+p,y+x);d.end();d.stroke()};mxCellRenderer.registerShape("tapeData",ia);mxUtils.extend(ja,mxEllipse);ja.prototype.paintVertexShape=function(d,m,y,p,x){mxEllipse.prototype.paintVertexShape.apply(this,arguments);d.setShadow(!1);d.begin();d.moveTo(m,y+x/2);d.lineTo(m+p,y+x/2);d.end();d.stroke();d.begin();d.moveTo(m+p/2,y);d.lineTo(m+p/2,y+x);d.end();d.stroke()};mxCellRenderer.registerShape("orEllipse",ja);mxUtils.extend(oa,mxEllipse);oa.prototype.paintVertexShape=
+d.begin();d.moveTo(m+p/2,y+x);d.lineTo(m+p,y+x);d.end();d.stroke()};mxCellRenderer.registerShape("tapeData",ia);mxUtils.extend(la,mxEllipse);la.prototype.paintVertexShape=function(d,m,y,p,x){mxEllipse.prototype.paintVertexShape.apply(this,arguments);d.setShadow(!1);d.begin();d.moveTo(m,y+x/2);d.lineTo(m+p,y+x/2);d.end();d.stroke();d.begin();d.moveTo(m+p/2,y);d.lineTo(m+p/2,y+x);d.end();d.stroke()};mxCellRenderer.registerShape("orEllipse",la);mxUtils.extend(oa,mxEllipse);oa.prototype.paintVertexShape=
function(d,m,y,p,x){mxEllipse.prototype.paintVertexShape.apply(this,arguments);d.setShadow(!1);d.begin();d.moveTo(m+.145*p,y+.145*x);d.lineTo(m+.855*p,y+.855*x);d.end();d.stroke();d.begin();d.moveTo(m+.855*p,y+.145*x);d.lineTo(m+.145*p,y+.855*x);d.end();d.stroke()};mxCellRenderer.registerShape("sumEllipse",oa);mxUtils.extend(ta,mxRhombus);ta.prototype.paintVertexShape=function(d,m,y,p,x){mxRhombus.prototype.paintVertexShape.apply(this,arguments);d.setShadow(!1);d.begin();d.moveTo(m,y+x/2);d.lineTo(m+
-p,y+x/2);d.end();d.stroke()};mxCellRenderer.registerShape("sortShape",ta);mxUtils.extend(sa,mxEllipse);sa.prototype.paintVertexShape=function(d,m,y,p,x){d.begin();d.moveTo(m,y);d.lineTo(m+p,y);d.lineTo(m+p/2,y+x/2);d.close();d.fillAndStroke();d.begin();d.moveTo(m,y+x);d.lineTo(m+p,y+x);d.lineTo(m+p/2,y+x/2);d.close();d.fillAndStroke()};mxCellRenderer.registerShape("collate",sa);mxUtils.extend(xa,mxEllipse);xa.prototype.paintVertexShape=function(d,m,y,p,x){var D=d.state.strokeWidth/2,E=10+2*D,ha=y+
-x-E/2;d.begin();d.moveTo(m,y);d.lineTo(m,y+x);d.moveTo(m+D,ha);d.lineTo(m+D+E,ha-E/2);d.moveTo(m+D,ha);d.lineTo(m+D+E,ha+E/2);d.moveTo(m+D,ha);d.lineTo(m+p-D,ha);d.moveTo(m+p,y);d.lineTo(m+p,y+x);d.moveTo(m+p-D,ha);d.lineTo(m+p-E-D,ha-E/2);d.moveTo(m+p-D,ha);d.lineTo(m+p-E-D,ha+E/2);d.end();d.stroke()};mxCellRenderer.registerShape("dimension",xa);mxUtils.extend(Ca,mxEllipse);Ca.prototype.drawHidden=!0;Ca.prototype.paintVertexShape=function(d,m,y,p,x){this.outline||d.setStrokeColor(null);if(null!=
+p,y+x/2);d.end();d.stroke()};mxCellRenderer.registerShape("sortShape",ta);mxUtils.extend(sa,mxEllipse);sa.prototype.paintVertexShape=function(d,m,y,p,x){d.begin();d.moveTo(m,y);d.lineTo(m+p,y);d.lineTo(m+p/2,y+x/2);d.close();d.fillAndStroke();d.begin();d.moveTo(m,y+x);d.lineTo(m+p,y+x);d.lineTo(m+p/2,y+x/2);d.close();d.fillAndStroke()};mxCellRenderer.registerShape("collate",sa);mxUtils.extend(ya,mxEllipse);ya.prototype.paintVertexShape=function(d,m,y,p,x){var D=d.state.strokeWidth/2,E=10+2*D,ha=y+
+x-E/2;d.begin();d.moveTo(m,y);d.lineTo(m,y+x);d.moveTo(m+D,ha);d.lineTo(m+D+E,ha-E/2);d.moveTo(m+D,ha);d.lineTo(m+D+E,ha+E/2);d.moveTo(m+D,ha);d.lineTo(m+p-D,ha);d.moveTo(m+p,y);d.lineTo(m+p,y+x);d.moveTo(m+p-D,ha);d.lineTo(m+p-E-D,ha-E/2);d.moveTo(m+p-D,ha);d.lineTo(m+p-E-D,ha+E/2);d.end();d.stroke()};mxCellRenderer.registerShape("dimension",ya);mxUtils.extend(Ha,mxEllipse);Ha.prototype.drawHidden=!0;Ha.prototype.paintVertexShape=function(d,m,y,p,x){this.outline||d.setStrokeColor(null);if(null!=
this.style){var D=d.pointerEvents,E=null!=this.fill&&this.fill!=mxConstants.NONE;"1"==mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1")||E||(d.pointerEvents=!1);var ha="1"==mxUtils.getValue(this.style,"top","1"),M="1"==mxUtils.getValue(this.style,"left","1"),wa="1"==mxUtils.getValue(this.style,"right","1"),na="1"==mxUtils.getValue(this.style,"bottom","1");this.drawHidden||E||this.outline||ha||wa||na||M?(d.rect(m,y,p,x),d.fill(),d.pointerEvents=D,d.setStrokeColor(this.stroke),d.setLineCap("square"),
-d.begin(),d.moveTo(m,y),this.outline||ha?d.lineTo(m+p,y):d.moveTo(m+p,y),this.outline||wa?d.lineTo(m+p,y+x):d.moveTo(m+p,y+x),this.outline||na?d.lineTo(m,y+x):d.moveTo(m,y+x),(this.outline||M)&&d.lineTo(m,y),d.end(),d.stroke(),d.setLineCap("flat")):d.setStrokeColor(this.stroke)}};mxCellRenderer.registerShape("partialRectangle",Ca);mxUtils.extend(Oa,mxEllipse);Oa.prototype.paintVertexShape=function(d,m,y,p,x){mxEllipse.prototype.paintVertexShape.apply(this,arguments);d.setShadow(!1);d.begin();"vertical"==
+d.begin(),d.moveTo(m,y),this.outline||ha?d.lineTo(m+p,y):d.moveTo(m+p,y),this.outline||wa?d.lineTo(m+p,y+x):d.moveTo(m+p,y+x),this.outline||na?d.lineTo(m,y+x):d.moveTo(m,y+x),(this.outline||M)&&d.lineTo(m,y),d.end(),d.stroke(),d.setLineCap("flat")):d.setStrokeColor(this.stroke)}};mxCellRenderer.registerShape("partialRectangle",Ha);mxUtils.extend(Oa,mxEllipse);Oa.prototype.paintVertexShape=function(d,m,y,p,x){mxEllipse.prototype.paintVertexShape.apply(this,arguments);d.setShadow(!1);d.begin();"vertical"==
mxUtils.getValue(this.style,"line")?(d.moveTo(m+p/2,y),d.lineTo(m+p/2,y+x)):(d.moveTo(m,y+x/2),d.lineTo(m+p,y+x/2));d.end();d.stroke()};mxCellRenderer.registerShape("lineEllipse",Oa);mxUtils.extend(Wa,mxActor);Wa.prototype.redrawPath=function(d,m,y,p,x){m=Math.min(p,x/2);d.moveTo(0,0);d.lineTo(p-m,0);d.quadTo(p,0,p,x/2);d.quadTo(p,x,p-m,x);d.lineTo(0,x);d.close();d.end()};mxCellRenderer.registerShape("delay",Wa);mxUtils.extend(Za,mxActor);Za.prototype.size=.2;Za.prototype.redrawPath=function(d,m,
y,p,x){m=Math.min(x,p);var D=Math.max(0,Math.min(m,m*parseFloat(mxUtils.getValue(this.style,"size",this.size))));m=(x-D)/2;y=m+D;var E=(p-D)/2;D=E+D;d.moveTo(0,m);d.lineTo(E,m);d.lineTo(E,0);d.lineTo(D,0);d.lineTo(D,m);d.lineTo(p,m);d.lineTo(p,y);d.lineTo(D,y);d.lineTo(D,x);d.lineTo(E,x);d.lineTo(E,y);d.lineTo(0,y);d.close();d.end()};mxCellRenderer.registerShape("cross",Za);mxUtils.extend(ab,mxActor);ab.prototype.size=.25;ab.prototype.redrawPath=function(d,m,y,p,x){m=Math.min(p,x/2);y=Math.min(p-
m,Math.max(0,parseFloat(mxUtils.getValue(this.style,"size",this.size)))*p);d.moveTo(0,x/2);d.lineTo(y,0);d.lineTo(p-m,0);d.quadTo(p,0,p,x/2);d.quadTo(p,x,p-m,x);d.lineTo(y,x);d.close();d.end()};mxCellRenderer.registerShape("display",ab);mxUtils.extend(Ta,mxActor);Ta.prototype.cst={RECT2:"mxgraph.basic.rect"};Ta.prototype.customProperties=[{name:"rectStyle",dispName:"Style",type:"enum",defVal:"square",enumList:[{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},
@@ -2839,34 +2837,34 @@ dispName:"Left ",type:"bool",defVal:!0},{name:"topLeftStyle",dispName:"Top Left
{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]},{name:"bottomRightStyle",dispName:"Bottom Right Style",type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]},{name:"bottomLeftStyle",dispName:"Bottom Left Style",type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},
{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]}];Ta.prototype.paintVertexShape=function(d,m,y,p,x){d.translate(m,y);this.strictDrawShape(d,0,0,p,x)};Ta.prototype.strictDrawShape=function(d,m,y,p,x,D){var E=D&&D.rectStyle?D.rectStyle:mxUtils.getValue(this.style,"rectStyle",this.rectStyle),ha=D&&D.absoluteCornerSize?D.absoluteCornerSize:mxUtils.getValue(this.style,"absoluteCornerSize",
this.absoluteCornerSize),M=D&&D.size?D.size:Math.max(0,Math.min(p,parseFloat(mxUtils.getValue(this.style,"size",this.size)))),wa=D&&D.rectOutline?D.rectOutline:mxUtils.getValue(this.style,"rectOutline",this.rectOutline),na=D&&D.indent?D.indent:Math.max(0,Math.min(p,parseFloat(mxUtils.getValue(this.style,"indent",this.indent)))),Ya=D&&D.dashed?D.dashed:mxUtils.getValue(this.style,"dashed",!1),hb=D&&D.dashPattern?D.dashPattern:mxUtils.getValue(this.style,"dashPattern",null),bb=D&&D.relIndent?D.relIndent:
-Math.max(0,Math.min(50,na)),Fa=D&&D.top?D.top:mxUtils.getValue(this.style,"top",!0),Ka=D&&D.right?D.right:mxUtils.getValue(this.style,"right",!0),Ia=D&&D.bottom?D.bottom:mxUtils.getValue(this.style,"bottom",!0),Ga=D&&D.left?D.left:mxUtils.getValue(this.style,"left",!0),Sa=D&&D.topLeftStyle?D.topLeftStyle:mxUtils.getValue(this.style,"topLeftStyle","default"),Ua=D&&D.topRightStyle?D.topRightStyle:mxUtils.getValue(this.style,"topRightStyle","default"),Va=D&&D.bottomRightStyle?D.bottomRightStyle:mxUtils.getValue(this.style,
+Math.max(0,Math.min(50,na)),Ea=D&&D.top?D.top:mxUtils.getValue(this.style,"top",!0),Ka=D&&D.right?D.right:mxUtils.getValue(this.style,"right",!0),Ia=D&&D.bottom?D.bottom:mxUtils.getValue(this.style,"bottom",!0),Fa=D&&D.left?D.left:mxUtils.getValue(this.style,"left",!0),Sa=D&&D.topLeftStyle?D.topLeftStyle:mxUtils.getValue(this.style,"topLeftStyle","default"),Ua=D&&D.topRightStyle?D.topRightStyle:mxUtils.getValue(this.style,"topRightStyle","default"),Va=D&&D.bottomRightStyle?D.bottomRightStyle:mxUtils.getValue(this.style,
"bottomRightStyle","default"),Xa=D&&D.bottomLeftStyle?D.bottomLeftStyle:mxUtils.getValue(this.style,"bottomLeftStyle","default"),Fb=D&&D.fillColor?D.fillColor:mxUtils.getValue(this.style,"fillColor","#ffffff");D&&D.strokeColor||mxUtils.getValue(this.style,"strokeColor","#000000");var Gb=D&&D.strokeWidth?D.strokeWidth:mxUtils.getValue(this.style,"strokeWidth","1"),Cb=D&&D.fillColor2?D.fillColor2:mxUtils.getValue(this.style,"fillColor2","none"),Eb=D&&D.gradientColor2?D.gradientColor2:mxUtils.getValue(this.style,
-"gradientColor2","none"),Hb=D&&D.gradientDirection2?D.gradientDirection2:mxUtils.getValue(this.style,"gradientDirection2","south"),Ib=D&&D.opacity?D.opacity:mxUtils.getValue(this.style,"opacity","100"),Jb=Math.max(0,Math.min(50,M));D=Ta.prototype;d.setDashed(Ya);hb&&""!=hb&&d.setDashPattern(hb);d.setStrokeWidth(Gb);M=Math.min(.5*x,.5*p,M);ha||(M=Jb*Math.min(p,x)/100);M=Math.min(M,.5*Math.min(p,x));ha||(na=Math.min(bb*Math.min(p,x)/100));na=Math.min(na,.5*Math.min(p,x)-M);(Fa||Ka||Ia||Ga)&&"frame"!=
-wa&&(d.begin(),Fa?D.moveNW(d,m,y,p,x,E,Sa,M,Ga):d.moveTo(0,0),Fa&&D.paintNW(d,m,y,p,x,E,Sa,M,Ga),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),Ka&&D.paintNE(d,m,y,p,x,E,Ua,M,Fa),D.paintRight(d,m,y,p,x,E,Va,M,Ia),Ia&&D.paintSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Ga),Ga&&D.paintSW(d,m,y,p,x,E,Xa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Fa),d.close(),d.fill(),d.setShadow(!1),d.setFillColor(Cb),Ya=ha=Ib,"none"==Cb&&(ha=0),"none"==Eb&&(Ya=0),d.setGradient(Cb,Eb,0,0,p,x,Hb,ha,Ya),d.begin(),Fa?D.moveNWInner(d,
-m,y,p,x,E,Sa,M,na,Fa,Ga):d.moveTo(na,0),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Ga),Ga&&Ia&&D.paintSWInner(d,m,y,p,x,E,Xa,M,na,Ia),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia),Ia&&Ka&&D.paintSEInner(d,m,y,p,x,E,Va,M,na),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Fa,Ka),Ka&&Fa&&D.paintNEInner(d,m,y,p,x,E,Ua,M,na),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Ga,Fa),Fa&&Ga&&D.paintNWInner(d,m,y,p,x,E,Sa,M,na),d.fill(),"none"==Fb&&(d.begin(),D.paintFolds(d,m,y,p,x,E,Sa,Ua,Va,Xa,M,Fa,Ka,Ia,Ga),d.stroke()));Fa||Ka||
-Ia||!Ga?Fa||Ka||!Ia||Ga?!Fa&&!Ka&&Ia&&Ga?"frame"!=wa?(d.begin(),D.moveSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Ga),D.paintSW(d,m,y,p,x,E,Xa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Fa),"double"==wa&&(D.moveNWInner(d,m,y,p,x,E,Sa,M,na,Fa,Ga),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Ga),D.paintSWInner(d,m,y,p,x,E,Xa,M,na,Ia),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia)),d.stroke()):(d.begin(),D.moveSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Ga),D.paintSW(d,m,y,p,x,E,Xa,M,Ia),D.paintLeft(d,
-m,y,p,x,E,Sa,M,Fa),D.lineNWInner(d,m,y,p,x,E,Sa,M,na,Fa,Ga),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Ga),D.paintSWInner(d,m,y,p,x,E,Xa,M,na,Ia),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia),d.close(),d.fillAndStroke()):Fa||!Ka||Ia||Ga?!Fa&&Ka&&!Ia&&Ga?"frame"!=wa?(d.begin(),D.moveSW(d,m,y,p,x,E,Sa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Fa),"double"==wa&&(D.moveNWInner(d,m,y,p,x,E,Sa,M,na,Fa,Ga),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Ga)),d.stroke(),d.begin(),D.moveNE(d,m,y,p,x,E,Ua,M,Fa),D.paintRight(d,
-m,y,p,x,E,Va,M,Ia),"double"==wa&&(D.moveSEInner(d,m,y,p,x,E,Va,M,na,Ia),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Fa,Ka)),d.stroke()):(d.begin(),D.moveSW(d,m,y,p,x,E,Sa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Fa),D.lineNWInner(d,m,y,p,x,E,Sa,M,na,Fa,Ga),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Ga),d.close(),d.fillAndStroke(),d.begin(),D.moveNE(d,m,y,p,x,E,Ua,M,Fa),D.paintRight(d,m,y,p,x,E,Va,M,Ia),D.lineSEInner(d,m,y,p,x,E,Va,M,na,Ia),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Fa,Ka),d.close(),d.fillAndStroke()):
-!Fa&&Ka&&Ia&&!Ga?"frame"!=wa?(d.begin(),D.moveNE(d,m,y,p,x,E,Ua,M,Fa),D.paintRight(d,m,y,p,x,E,Va,M,Ia),D.paintSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Ga),"double"==wa&&(D.moveSWInner(d,m,y,p,x,E,Xa,M,na,Ga),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia),D.paintSEInner(d,m,y,p,x,E,Va,M,na),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Fa,Ka)),d.stroke()):(d.begin(),D.moveNE(d,m,y,p,x,E,Ua,M,Fa),D.paintRight(d,m,y,p,x,E,Va,M,Ia),D.paintSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Ga),
-D.lineSWInner(d,m,y,p,x,E,Xa,M,na,Ga),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia),D.paintSEInner(d,m,y,p,x,E,Va,M,na),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Fa,Ka),d.close(),d.fillAndStroke()):!Fa&&Ka&&Ia&&Ga?"frame"!=wa?(d.begin(),D.moveNE(d,m,y,p,x,E,Ua,M,Fa),D.paintRight(d,m,y,p,x,E,Va,M,Ia),D.paintSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Ga),D.paintSW(d,m,y,p,x,E,Xa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Fa),"double"==wa&&(D.moveNWInner(d,m,y,p,x,E,Sa,M,na,Fa,Ga),D.paintLeftInner(d,
-m,y,p,x,E,Xa,M,na,Ia,Ga),D.paintSWInner(d,m,y,p,x,E,Xa,M,na,Ia),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia),D.paintSEInner(d,m,y,p,x,E,Va,M,na),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Fa,Ka)),d.stroke()):(d.begin(),D.moveNE(d,m,y,p,x,E,Ua,M,Fa),D.paintRight(d,m,y,p,x,E,Va,M,Ia),D.paintSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Ga),D.paintSW(d,m,y,p,x,E,Xa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Fa),D.lineNWInner(d,m,y,p,x,E,Sa,M,na,Fa,Ga),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Ga),D.paintSWInner(d,
-m,y,p,x,E,Xa,M,na,Ia),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia),D.paintSEInner(d,m,y,p,x,E,Va,M,na),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Fa,Ka),d.close(),d.fillAndStroke()):!Fa||Ka||Ia||Ga?Fa&&!Ka&&!Ia&&Ga?"frame"!=wa?(d.begin(),D.moveSW(d,m,y,p,x,E,Xa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Fa),D.paintNW(d,m,y,p,x,E,Sa,M,Ga),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),"double"==wa&&(D.moveNEInner(d,m,y,p,x,E,Ua,M,na,Ka),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Ga,Fa),D.paintNWInner(d,m,y,p,x,E,Sa,M,na),D.paintLeftInner(d,
-m,y,p,x,E,Xa,M,na,Ia,Ga)),d.stroke()):(d.begin(),D.moveSW(d,m,y,p,x,E,Xa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Fa),D.paintNW(d,m,y,p,x,E,Sa,M,Ga),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),D.lineNEInner(d,m,y,p,x,E,Ua,M,na,Ka),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Ga,Fa),D.paintNWInner(d,m,y,p,x,E,Sa,M,na),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Ga),d.close(),d.fillAndStroke()):Fa&&!Ka&&Ia&&!Ga?"frame"!=wa?(d.begin(),D.moveNW(d,m,y,p,x,E,Sa,M,Ga),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),"double"==wa&&(D.moveNEInner(d,m,y,
-p,x,E,Ua,M,na,Ka),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Ga,Fa)),d.stroke(),d.begin(),D.moveSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Ga),"double"==wa&&(D.moveSWInner(d,m,y,p,x,E,Xa,M,na,Ga),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia)),d.stroke()):(d.begin(),D.moveNW(d,m,y,p,x,E,Sa,M,Ga),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),D.lineNEInner(d,m,y,p,x,E,Ua,M,na,Ka),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Ga,Fa),d.close(),d.fillAndStroke(),d.begin(),D.moveSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,
-p,x,E,Xa,M,Ga),D.lineSWInner(d,m,y,p,x,E,Xa,M,na,Ga),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia),d.close(),d.fillAndStroke()):Fa&&!Ka&&Ia&&Ga?"frame"!=wa?(d.begin(),D.moveSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Ga),D.paintSW(d,m,y,p,x,E,Xa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Fa),D.paintNW(d,m,y,p,x,E,Sa,M,Ga),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),"double"==wa&&(D.moveNEInner(d,m,y,p,x,E,Ua,M,na,Ka),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Ga,Fa),D.paintNWInner(d,m,y,p,x,E,Sa,M,na),D.paintLeftInner(d,
-m,y,p,x,E,Xa,M,na,Ia,Ga),D.paintSWInner(d,m,y,p,x,E,Xa,M,na,Ia),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia)),d.stroke()):(d.begin(),D.moveSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Ga),D.paintSW(d,m,y,p,x,E,Xa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Fa),D.paintNW(d,m,y,p,x,E,Sa,M,Ga),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),D.lineNEInner(d,m,y,p,x,E,Ua,M,na,Ka),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Ga,Fa),D.paintNWInner(d,m,y,p,x,E,Sa,M,na),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Ga),D.paintSWInner(d,
-m,y,p,x,E,Xa,M,na,Ia),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia),d.close(),d.fillAndStroke()):Fa&&Ka&&!Ia&&!Ga?"frame"!=wa?(d.begin(),D.moveNW(d,m,y,p,x,E,Sa,M,Ga),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),D.paintNE(d,m,y,p,x,E,Ua,M,Fa),D.paintRight(d,m,y,p,x,E,Va,M,Ia),"double"==wa&&(D.moveSEInner(d,m,y,p,x,E,Va,M,na,Ia),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Fa,Ka),D.paintNEInner(d,m,y,p,x,E,Ua,M,na),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Ga,Fa)),d.stroke()):(d.begin(),D.moveNW(d,m,y,p,x,E,Sa,M,Ga),D.paintTop(d,
-m,y,p,x,E,Ua,M,Ka),D.paintNE(d,m,y,p,x,E,Ua,M,Fa),D.paintRight(d,m,y,p,x,E,Va,M,Ia),D.lineSEInner(d,m,y,p,x,E,Va,M,na,Ia),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Fa,Ka),D.paintNEInner(d,m,y,p,x,E,Ua,M,na),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Ga,Fa),d.close(),d.fillAndStroke()):Fa&&Ka&&!Ia&&Ga?"frame"!=wa?(d.begin(),D.moveSW(d,m,y,p,x,E,Xa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Fa),D.paintNW(d,m,y,p,x,E,Sa,M,Ga),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),D.paintNE(d,m,y,p,x,E,Ua,M,Fa),D.paintRight(d,m,y,p,x,E,Va,M,
-Ia),"double"==wa&&(D.moveSEInner(d,m,y,p,x,E,Va,M,na,Ia),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Fa,Ka),D.paintNEInner(d,m,y,p,x,E,Ua,M,na),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Ga,Fa),D.paintNWInner(d,m,y,p,x,E,Sa,M,na),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Ga)),d.stroke()):(d.begin(),D.moveSW(d,m,y,p,x,E,Xa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Fa),D.paintNW(d,m,y,p,x,E,Sa,M,Ga),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),D.paintNE(d,m,y,p,x,E,Ua,M,Fa),D.paintRight(d,m,y,p,x,E,Va,M,Ia),D.lineSEInner(d,m,y,p,x,E,
-Va,M,na,Ia),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Fa,Ka),D.paintNEInner(d,m,y,p,x,E,Ua,M,na),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Ga,Fa),D.paintNWInner(d,m,y,p,x,E,Sa,M,na),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Ga),d.close(),d.fillAndStroke()):Fa&&Ka&&Ia&&!Ga?"frame"!=wa?(d.begin(),D.moveNW(d,m,y,p,x,E,Sa,M,Ga),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),D.paintNE(d,m,y,p,x,E,Ua,M,Fa),D.paintRight(d,m,y,p,x,E,Va,M,Ia),D.paintSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Ga),"double"==wa&&(D.moveSWInner(d,
-m,y,p,x,E,Xa,M,na,Ga),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia),D.paintSEInner(d,m,y,p,x,E,Va,M,na),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Fa,Ka),D.paintNEInner(d,m,y,p,x,E,Ua,M,na),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Ga,Fa)),d.stroke()):(d.begin(),D.moveNW(d,m,y,p,x,E,Sa,M,Ga),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),D.paintNE(d,m,y,p,x,E,Ua,M,Fa),D.paintRight(d,m,y,p,x,E,Va,M,Ia),D.paintSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Ga),D.lineSWInner(d,m,y,p,x,E,Xa,M,na,Ga),D.paintBottomInner(d,
-m,y,p,x,E,Va,M,na,Ka,Ia),D.paintSEInner(d,m,y,p,x,E,Va,M,na),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Fa,Ka),D.paintNEInner(d,m,y,p,x,E,Ua,M,na),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Ga,Fa),d.close(),d.fillAndStroke()):Fa&&Ka&&Ia&&Ga&&("frame"!=wa?(d.begin(),D.moveNW(d,m,y,p,x,E,Sa,M,Ga),D.paintNW(d,m,y,p,x,E,Sa,M,Ga),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),D.paintNE(d,m,y,p,x,E,Ua,M,Fa),D.paintRight(d,m,y,p,x,E,Va,M,Ia),D.paintSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Ga),D.paintSW(d,m,y,p,x,E,Xa,
-M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Fa),d.close(),"double"==wa&&(D.moveSWInner(d,m,y,p,x,E,Xa,M,na,Ga),D.paintSWInner(d,m,y,p,x,E,Xa,M,na,Ia),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia),D.paintSEInner(d,m,y,p,x,E,Va,M,na),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Fa,Ka),D.paintNEInner(d,m,y,p,x,E,Ua,M,na),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Ga,Fa),D.paintNWInner(d,m,y,p,x,E,Sa,M,na),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Ga),d.close()),d.stroke()):(d.begin(),D.moveNW(d,m,y,p,x,E,Sa,M,Ga),D.paintNW(d,
-m,y,p,x,E,Sa,M,Ga),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),D.paintNE(d,m,y,p,x,E,Ua,M,Fa),D.paintRight(d,m,y,p,x,E,Va,M,Ia),D.paintSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Ga),D.paintSW(d,m,y,p,x,E,Xa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Fa),d.close(),D.moveSWInner(d,m,y,p,x,E,Xa,M,na,Ga),D.paintSWInner(d,m,y,p,x,E,Xa,M,na,Ia),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia),D.paintSEInner(d,m,y,p,x,E,Va,M,na),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Fa,Ka),D.paintNEInner(d,m,y,p,x,E,Ua,M,na),D.paintTopInner(d,
-m,y,p,x,E,Sa,M,na,Ga,Fa),D.paintNWInner(d,m,y,p,x,E,Sa,M,na),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Ga),d.close(),d.fillAndStroke())):"frame"!=wa?(d.begin(),D.moveNW(d,m,y,p,x,E,Sa,M,Ga),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),"double"==wa&&(D.moveNEInner(d,m,y,p,x,E,Ua,M,na,Ka),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Ga,Fa)),d.stroke()):(d.begin(),D.moveNW(d,m,y,p,x,E,Sa,M,Ga),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),D.lineNEInner(d,m,y,p,x,E,Ua,M,na,Ka),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Ga,Fa),d.close(),d.fillAndStroke()):
-"frame"!=wa?(d.begin(),D.moveNE(d,m,y,p,x,E,Ua,M,Fa),D.paintRight(d,m,y,p,x,E,Va,M,Ia),"double"==wa&&(D.moveSEInner(d,m,y,p,x,E,Va,M,na,Ia),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Fa,Ka)),d.stroke()):(d.begin(),D.moveNE(d,m,y,p,x,E,Ua,M,Fa),D.paintRight(d,m,y,p,x,E,Va,M,Ia),D.lineSEInner(d,m,y,p,x,E,Va,M,na,Ia),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Fa,Ka),d.close(),d.fillAndStroke()):"frame"!=wa?(d.begin(),D.moveSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Ga),"double"==wa&&(D.moveSWInner(d,
-m,y,p,x,E,Xa,M,na,Ga),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia)),d.stroke()):(d.begin(),D.moveSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Ga),D.lineSWInner(d,m,y,p,x,E,Xa,M,na,Ga),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia),d.close(),d.fillAndStroke()):"frame"!=wa?(d.begin(),D.moveSW(d,m,y,p,x,E,Sa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Fa),"double"==wa&&(D.moveNWInner(d,m,y,p,x,E,Sa,M,na,Fa,Ga),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Ga)),d.stroke()):(d.begin(),D.moveSW(d,m,y,p,x,E,
-Sa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Fa),D.lineNWInner(d,m,y,p,x,E,Sa,M,na,Fa,Ga),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Ga),d.close(),d.fillAndStroke());d.begin();D.paintFolds(d,m,y,p,x,E,Sa,Ua,Va,Xa,M,Fa,Ka,Ia,Ga);d.stroke()};Ta.prototype.moveNW=function(d,m,y,p,x,D,E,ha,M){"square"==E||"default"==E&&"square"==D||!M?d.moveTo(0,0):d.moveTo(0,ha)};Ta.prototype.moveNE=function(d,m,y,p,x,D,E,ha,M){"square"==E||"default"==E&&"square"==D||!M?d.moveTo(p,0):d.moveTo(p-ha,0)};Ta.prototype.moveSE=function(d,
+"gradientColor2","none"),Hb=D&&D.gradientDirection2?D.gradientDirection2:mxUtils.getValue(this.style,"gradientDirection2","south"),Ib=D&&D.opacity?D.opacity:mxUtils.getValue(this.style,"opacity","100"),Jb=Math.max(0,Math.min(50,M));D=Ta.prototype;d.setDashed(Ya);hb&&""!=hb&&d.setDashPattern(hb);d.setStrokeWidth(Gb);M=Math.min(.5*x,.5*p,M);ha||(M=Jb*Math.min(p,x)/100);M=Math.min(M,.5*Math.min(p,x));ha||(na=Math.min(bb*Math.min(p,x)/100));na=Math.min(na,.5*Math.min(p,x)-M);(Ea||Ka||Ia||Fa)&&"frame"!=
+wa&&(d.begin(),Ea?D.moveNW(d,m,y,p,x,E,Sa,M,Fa):d.moveTo(0,0),Ea&&D.paintNW(d,m,y,p,x,E,Sa,M,Fa),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),Ka&&D.paintNE(d,m,y,p,x,E,Ua,M,Ea),D.paintRight(d,m,y,p,x,E,Va,M,Ia),Ia&&D.paintSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Fa),Fa&&D.paintSW(d,m,y,p,x,E,Xa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Ea),d.close(),d.fill(),d.setShadow(!1),d.setFillColor(Cb),Ya=ha=Ib,"none"==Cb&&(ha=0),"none"==Eb&&(Ya=0),d.setGradient(Cb,Eb,0,0,p,x,Hb,ha,Ya),d.begin(),Ea?D.moveNWInner(d,
+m,y,p,x,E,Sa,M,na,Ea,Fa):d.moveTo(na,0),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Fa),Fa&&Ia&&D.paintSWInner(d,m,y,p,x,E,Xa,M,na,Ia),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia),Ia&&Ka&&D.paintSEInner(d,m,y,p,x,E,Va,M,na),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Ea,Ka),Ka&&Ea&&D.paintNEInner(d,m,y,p,x,E,Ua,M,na),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Fa,Ea),Ea&&Fa&&D.paintNWInner(d,m,y,p,x,E,Sa,M,na),d.fill(),"none"==Fb&&(d.begin(),D.paintFolds(d,m,y,p,x,E,Sa,Ua,Va,Xa,M,Ea,Ka,Ia,Fa),d.stroke()));Ea||Ka||
+Ia||!Fa?Ea||Ka||!Ia||Fa?!Ea&&!Ka&&Ia&&Fa?"frame"!=wa?(d.begin(),D.moveSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Fa),D.paintSW(d,m,y,p,x,E,Xa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Ea),"double"==wa&&(D.moveNWInner(d,m,y,p,x,E,Sa,M,na,Ea,Fa),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Fa),D.paintSWInner(d,m,y,p,x,E,Xa,M,na,Ia),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia)),d.stroke()):(d.begin(),D.moveSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Fa),D.paintSW(d,m,y,p,x,E,Xa,M,Ia),D.paintLeft(d,
+m,y,p,x,E,Sa,M,Ea),D.lineNWInner(d,m,y,p,x,E,Sa,M,na,Ea,Fa),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Fa),D.paintSWInner(d,m,y,p,x,E,Xa,M,na,Ia),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia),d.close(),d.fillAndStroke()):Ea||!Ka||Ia||Fa?!Ea&&Ka&&!Ia&&Fa?"frame"!=wa?(d.begin(),D.moveSW(d,m,y,p,x,E,Sa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Ea),"double"==wa&&(D.moveNWInner(d,m,y,p,x,E,Sa,M,na,Ea,Fa),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Fa)),d.stroke(),d.begin(),D.moveNE(d,m,y,p,x,E,Ua,M,Ea),D.paintRight(d,
+m,y,p,x,E,Va,M,Ia),"double"==wa&&(D.moveSEInner(d,m,y,p,x,E,Va,M,na,Ia),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Ea,Ka)),d.stroke()):(d.begin(),D.moveSW(d,m,y,p,x,E,Sa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Ea),D.lineNWInner(d,m,y,p,x,E,Sa,M,na,Ea,Fa),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Fa),d.close(),d.fillAndStroke(),d.begin(),D.moveNE(d,m,y,p,x,E,Ua,M,Ea),D.paintRight(d,m,y,p,x,E,Va,M,Ia),D.lineSEInner(d,m,y,p,x,E,Va,M,na,Ia),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Ea,Ka),d.close(),d.fillAndStroke()):
+!Ea&&Ka&&Ia&&!Fa?"frame"!=wa?(d.begin(),D.moveNE(d,m,y,p,x,E,Ua,M,Ea),D.paintRight(d,m,y,p,x,E,Va,M,Ia),D.paintSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Fa),"double"==wa&&(D.moveSWInner(d,m,y,p,x,E,Xa,M,na,Fa),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia),D.paintSEInner(d,m,y,p,x,E,Va,M,na),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Ea,Ka)),d.stroke()):(d.begin(),D.moveNE(d,m,y,p,x,E,Ua,M,Ea),D.paintRight(d,m,y,p,x,E,Va,M,Ia),D.paintSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Fa),
+D.lineSWInner(d,m,y,p,x,E,Xa,M,na,Fa),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia),D.paintSEInner(d,m,y,p,x,E,Va,M,na),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Ea,Ka),d.close(),d.fillAndStroke()):!Ea&&Ka&&Ia&&Fa?"frame"!=wa?(d.begin(),D.moveNE(d,m,y,p,x,E,Ua,M,Ea),D.paintRight(d,m,y,p,x,E,Va,M,Ia),D.paintSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Fa),D.paintSW(d,m,y,p,x,E,Xa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Ea),"double"==wa&&(D.moveNWInner(d,m,y,p,x,E,Sa,M,na,Ea,Fa),D.paintLeftInner(d,
+m,y,p,x,E,Xa,M,na,Ia,Fa),D.paintSWInner(d,m,y,p,x,E,Xa,M,na,Ia),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia),D.paintSEInner(d,m,y,p,x,E,Va,M,na),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Ea,Ka)),d.stroke()):(d.begin(),D.moveNE(d,m,y,p,x,E,Ua,M,Ea),D.paintRight(d,m,y,p,x,E,Va,M,Ia),D.paintSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Fa),D.paintSW(d,m,y,p,x,E,Xa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Ea),D.lineNWInner(d,m,y,p,x,E,Sa,M,na,Ea,Fa),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Fa),D.paintSWInner(d,
+m,y,p,x,E,Xa,M,na,Ia),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia),D.paintSEInner(d,m,y,p,x,E,Va,M,na),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Ea,Ka),d.close(),d.fillAndStroke()):!Ea||Ka||Ia||Fa?Ea&&!Ka&&!Ia&&Fa?"frame"!=wa?(d.begin(),D.moveSW(d,m,y,p,x,E,Xa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Ea),D.paintNW(d,m,y,p,x,E,Sa,M,Fa),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),"double"==wa&&(D.moveNEInner(d,m,y,p,x,E,Ua,M,na,Ka),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Fa,Ea),D.paintNWInner(d,m,y,p,x,E,Sa,M,na),D.paintLeftInner(d,
+m,y,p,x,E,Xa,M,na,Ia,Fa)),d.stroke()):(d.begin(),D.moveSW(d,m,y,p,x,E,Xa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Ea),D.paintNW(d,m,y,p,x,E,Sa,M,Fa),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),D.lineNEInner(d,m,y,p,x,E,Ua,M,na,Ka),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Fa,Ea),D.paintNWInner(d,m,y,p,x,E,Sa,M,na),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Fa),d.close(),d.fillAndStroke()):Ea&&!Ka&&Ia&&!Fa?"frame"!=wa?(d.begin(),D.moveNW(d,m,y,p,x,E,Sa,M,Fa),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),"double"==wa&&(D.moveNEInner(d,m,y,
+p,x,E,Ua,M,na,Ka),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Fa,Ea)),d.stroke(),d.begin(),D.moveSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Fa),"double"==wa&&(D.moveSWInner(d,m,y,p,x,E,Xa,M,na,Fa),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia)),d.stroke()):(d.begin(),D.moveNW(d,m,y,p,x,E,Sa,M,Fa),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),D.lineNEInner(d,m,y,p,x,E,Ua,M,na,Ka),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Fa,Ea),d.close(),d.fillAndStroke(),d.begin(),D.moveSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,
+p,x,E,Xa,M,Fa),D.lineSWInner(d,m,y,p,x,E,Xa,M,na,Fa),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia),d.close(),d.fillAndStroke()):Ea&&!Ka&&Ia&&Fa?"frame"!=wa?(d.begin(),D.moveSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Fa),D.paintSW(d,m,y,p,x,E,Xa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Ea),D.paintNW(d,m,y,p,x,E,Sa,M,Fa),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),"double"==wa&&(D.moveNEInner(d,m,y,p,x,E,Ua,M,na,Ka),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Fa,Ea),D.paintNWInner(d,m,y,p,x,E,Sa,M,na),D.paintLeftInner(d,
+m,y,p,x,E,Xa,M,na,Ia,Fa),D.paintSWInner(d,m,y,p,x,E,Xa,M,na,Ia),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia)),d.stroke()):(d.begin(),D.moveSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Fa),D.paintSW(d,m,y,p,x,E,Xa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Ea),D.paintNW(d,m,y,p,x,E,Sa,M,Fa),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),D.lineNEInner(d,m,y,p,x,E,Ua,M,na,Ka),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Fa,Ea),D.paintNWInner(d,m,y,p,x,E,Sa,M,na),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Fa),D.paintSWInner(d,
+m,y,p,x,E,Xa,M,na,Ia),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia),d.close(),d.fillAndStroke()):Ea&&Ka&&!Ia&&!Fa?"frame"!=wa?(d.begin(),D.moveNW(d,m,y,p,x,E,Sa,M,Fa),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),D.paintNE(d,m,y,p,x,E,Ua,M,Ea),D.paintRight(d,m,y,p,x,E,Va,M,Ia),"double"==wa&&(D.moveSEInner(d,m,y,p,x,E,Va,M,na,Ia),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Ea,Ka),D.paintNEInner(d,m,y,p,x,E,Ua,M,na),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Fa,Ea)),d.stroke()):(d.begin(),D.moveNW(d,m,y,p,x,E,Sa,M,Fa),D.paintTop(d,
+m,y,p,x,E,Ua,M,Ka),D.paintNE(d,m,y,p,x,E,Ua,M,Ea),D.paintRight(d,m,y,p,x,E,Va,M,Ia),D.lineSEInner(d,m,y,p,x,E,Va,M,na,Ia),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Ea,Ka),D.paintNEInner(d,m,y,p,x,E,Ua,M,na),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Fa,Ea),d.close(),d.fillAndStroke()):Ea&&Ka&&!Ia&&Fa?"frame"!=wa?(d.begin(),D.moveSW(d,m,y,p,x,E,Xa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Ea),D.paintNW(d,m,y,p,x,E,Sa,M,Fa),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),D.paintNE(d,m,y,p,x,E,Ua,M,Ea),D.paintRight(d,m,y,p,x,E,Va,M,
+Ia),"double"==wa&&(D.moveSEInner(d,m,y,p,x,E,Va,M,na,Ia),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Ea,Ka),D.paintNEInner(d,m,y,p,x,E,Ua,M,na),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Fa,Ea),D.paintNWInner(d,m,y,p,x,E,Sa,M,na),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Fa)),d.stroke()):(d.begin(),D.moveSW(d,m,y,p,x,E,Xa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Ea),D.paintNW(d,m,y,p,x,E,Sa,M,Fa),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),D.paintNE(d,m,y,p,x,E,Ua,M,Ea),D.paintRight(d,m,y,p,x,E,Va,M,Ia),D.lineSEInner(d,m,y,p,x,E,
+Va,M,na,Ia),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Ea,Ka),D.paintNEInner(d,m,y,p,x,E,Ua,M,na),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Fa,Ea),D.paintNWInner(d,m,y,p,x,E,Sa,M,na),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Fa),d.close(),d.fillAndStroke()):Ea&&Ka&&Ia&&!Fa?"frame"!=wa?(d.begin(),D.moveNW(d,m,y,p,x,E,Sa,M,Fa),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),D.paintNE(d,m,y,p,x,E,Ua,M,Ea),D.paintRight(d,m,y,p,x,E,Va,M,Ia),D.paintSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Fa),"double"==wa&&(D.moveSWInner(d,
+m,y,p,x,E,Xa,M,na,Fa),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia),D.paintSEInner(d,m,y,p,x,E,Va,M,na),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Ea,Ka),D.paintNEInner(d,m,y,p,x,E,Ua,M,na),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Fa,Ea)),d.stroke()):(d.begin(),D.moveNW(d,m,y,p,x,E,Sa,M,Fa),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),D.paintNE(d,m,y,p,x,E,Ua,M,Ea),D.paintRight(d,m,y,p,x,E,Va,M,Ia),D.paintSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Fa),D.lineSWInner(d,m,y,p,x,E,Xa,M,na,Fa),D.paintBottomInner(d,
+m,y,p,x,E,Va,M,na,Ka,Ia),D.paintSEInner(d,m,y,p,x,E,Va,M,na),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Ea,Ka),D.paintNEInner(d,m,y,p,x,E,Ua,M,na),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Fa,Ea),d.close(),d.fillAndStroke()):Ea&&Ka&&Ia&&Fa&&("frame"!=wa?(d.begin(),D.moveNW(d,m,y,p,x,E,Sa,M,Fa),D.paintNW(d,m,y,p,x,E,Sa,M,Fa),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),D.paintNE(d,m,y,p,x,E,Ua,M,Ea),D.paintRight(d,m,y,p,x,E,Va,M,Ia),D.paintSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Fa),D.paintSW(d,m,y,p,x,E,Xa,
+M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Ea),d.close(),"double"==wa&&(D.moveSWInner(d,m,y,p,x,E,Xa,M,na,Fa),D.paintSWInner(d,m,y,p,x,E,Xa,M,na,Ia),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia),D.paintSEInner(d,m,y,p,x,E,Va,M,na),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Ea,Ka),D.paintNEInner(d,m,y,p,x,E,Ua,M,na),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Fa,Ea),D.paintNWInner(d,m,y,p,x,E,Sa,M,na),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Fa),d.close()),d.stroke()):(d.begin(),D.moveNW(d,m,y,p,x,E,Sa,M,Fa),D.paintNW(d,
+m,y,p,x,E,Sa,M,Fa),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),D.paintNE(d,m,y,p,x,E,Ua,M,Ea),D.paintRight(d,m,y,p,x,E,Va,M,Ia),D.paintSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Fa),D.paintSW(d,m,y,p,x,E,Xa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Ea),d.close(),D.moveSWInner(d,m,y,p,x,E,Xa,M,na,Fa),D.paintSWInner(d,m,y,p,x,E,Xa,M,na,Ia),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia),D.paintSEInner(d,m,y,p,x,E,Va,M,na),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Ea,Ka),D.paintNEInner(d,m,y,p,x,E,Ua,M,na),D.paintTopInner(d,
+m,y,p,x,E,Sa,M,na,Fa,Ea),D.paintNWInner(d,m,y,p,x,E,Sa,M,na),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Fa),d.close(),d.fillAndStroke())):"frame"!=wa?(d.begin(),D.moveNW(d,m,y,p,x,E,Sa,M,Fa),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),"double"==wa&&(D.moveNEInner(d,m,y,p,x,E,Ua,M,na,Ka),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Fa,Ea)),d.stroke()):(d.begin(),D.moveNW(d,m,y,p,x,E,Sa,M,Fa),D.paintTop(d,m,y,p,x,E,Ua,M,Ka),D.lineNEInner(d,m,y,p,x,E,Ua,M,na,Ka),D.paintTopInner(d,m,y,p,x,E,Sa,M,na,Fa,Ea),d.close(),d.fillAndStroke()):
+"frame"!=wa?(d.begin(),D.moveNE(d,m,y,p,x,E,Ua,M,Ea),D.paintRight(d,m,y,p,x,E,Va,M,Ia),"double"==wa&&(D.moveSEInner(d,m,y,p,x,E,Va,M,na,Ia),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Ea,Ka)),d.stroke()):(d.begin(),D.moveNE(d,m,y,p,x,E,Ua,M,Ea),D.paintRight(d,m,y,p,x,E,Va,M,Ia),D.lineSEInner(d,m,y,p,x,E,Va,M,na,Ia),D.paintRightInner(d,m,y,p,x,E,Ua,M,na,Ea,Ka),d.close(),d.fillAndStroke()):"frame"!=wa?(d.begin(),D.moveSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Fa),"double"==wa&&(D.moveSWInner(d,
+m,y,p,x,E,Xa,M,na,Fa),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia)),d.stroke()):(d.begin(),D.moveSE(d,m,y,p,x,E,Va,M,Ka),D.paintBottom(d,m,y,p,x,E,Xa,M,Fa),D.lineSWInner(d,m,y,p,x,E,Xa,M,na,Fa),D.paintBottomInner(d,m,y,p,x,E,Va,M,na,Ka,Ia),d.close(),d.fillAndStroke()):"frame"!=wa?(d.begin(),D.moveSW(d,m,y,p,x,E,Sa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Ea),"double"==wa&&(D.moveNWInner(d,m,y,p,x,E,Sa,M,na,Ea,Fa),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Fa)),d.stroke()):(d.begin(),D.moveSW(d,m,y,p,x,E,
+Sa,M,Ia),D.paintLeft(d,m,y,p,x,E,Sa,M,Ea),D.lineNWInner(d,m,y,p,x,E,Sa,M,na,Ea,Fa),D.paintLeftInner(d,m,y,p,x,E,Xa,M,na,Ia,Fa),d.close(),d.fillAndStroke());d.begin();D.paintFolds(d,m,y,p,x,E,Sa,Ua,Va,Xa,M,Ea,Ka,Ia,Fa);d.stroke()};Ta.prototype.moveNW=function(d,m,y,p,x,D,E,ha,M){"square"==E||"default"==E&&"square"==D||!M?d.moveTo(0,0):d.moveTo(0,ha)};Ta.prototype.moveNE=function(d,m,y,p,x,D,E,ha,M){"square"==E||"default"==E&&"square"==D||!M?d.moveTo(p,0):d.moveTo(p-ha,0)};Ta.prototype.moveSE=function(d,
m,y,p,x,D,E,ha,M){"square"==E||"default"==E&&"square"==D||!M?d.moveTo(p,x):d.moveTo(p,x-ha)};Ta.prototype.moveSW=function(d,m,y,p,x,D,E,ha,M){"square"==E||"default"==E&&"square"==D||!M?d.moveTo(0,x):d.moveTo(ha,x)};Ta.prototype.paintNW=function(d,m,y,p,x,D,E,ha,M){if(M)if("rounded"==E||"default"==E&&"rounded"==D||"invRound"==E||"default"==E&&"invRound"==D){m=0;if("rounded"==E||"default"==E&&"rounded"==D)m=1;d.arcTo(ha,ha,0,0,m,ha,0)}else("snip"==E||"default"==E&&"snip"==D||"fold"==E||"default"==E&&
"fold"==D)&&d.lineTo(ha,0);else d.lineTo(0,0)};Ta.prototype.paintTop=function(d,m,y,p,x,D,E,ha,M){"square"==E||"default"==E&&"square"==D||!M?d.lineTo(p,0):d.lineTo(p-ha,0)};Ta.prototype.paintNE=function(d,m,y,p,x,D,E,ha,M){if(M)if("rounded"==E||"default"==E&&"rounded"==D||"invRound"==E||"default"==E&&"invRound"==D){m=0;if("rounded"==E||"default"==E&&"rounded"==D)m=1;d.arcTo(ha,ha,0,0,m,p,ha)}else("snip"==E||"default"==E&&"snip"==D||"fold"==E||"default"==E&&"fold"==D)&&d.lineTo(p,ha);else d.lineTo(p,
0)};Ta.prototype.paintRight=function(d,m,y,p,x,D,E,ha,M){"square"==E||"default"==E&&"square"==D||!M?d.lineTo(p,x):d.lineTo(p,x-ha)};Ta.prototype.paintLeft=function(d,m,y,p,x,D,E,ha,M){"square"==E||"default"==E&&"square"==D||!M?d.lineTo(0,0):d.lineTo(0,ha)};Ta.prototype.paintSE=function(d,m,y,p,x,D,E,ha,M){if(M)if("rounded"==E||"default"==E&&"rounded"==D||"invRound"==E||"default"==E&&"invRound"==D){m=0;if("rounded"==E||"default"==E&&"rounded"==D)m=1;d.arcTo(ha,ha,0,0,m,p-ha,x)}else("snip"==E||"default"==
@@ -2882,8 +2880,8 @@ E&&"fold"==D)&&d.lineTo(M,x-ha-M):d.lineTo(0,x-M)};Ta.prototype.moveSEInner=func
x-M):"rounded"==E||"default"==E&&"rounded"==D||"snip"==E||"default"==E&&"snip"==D?d.lineTo(p-M,x-ha-.5*M):("invRound"==E||"default"==E&&"invRound"==D||"fold"==E||"default"==E&&"fold"==D)&&d.lineTo(p-M,x-ha-M):d.lineTo(p-M,x)};Ta.prototype.moveNEInner=function(d,m,y,p,x,D,E,ha,M,wa){wa?"square"==E||"default"==E&&"square"==D||wa?d.moveTo(p-M,M):"rounded"==E||"default"==E&&"rounded"==D||"snip"==E||"default"==E&&"snip"==D?d.moveTo(p-M,ha+.5*M):("invRound"==E||"default"==E&&"invRound"==D||"fold"==E||"default"==
E&&"fold"==D)&&d.moveTo(p-M,ha+M):d.moveTo(p,M)};Ta.prototype.lineNEInner=function(d,m,y,p,x,D,E,ha,M,wa){wa?"square"==E||"default"==E&&"square"==D||wa?d.lineTo(p-M,M):"rounded"==E||"default"==E&&"rounded"==D||"snip"==E||"default"==E&&"snip"==D?d.lineTo(p-M,ha+.5*M):("invRound"==E||"default"==E&&"invRound"==D||"fold"==E||"default"==E&&"fold"==D)&&d.lineTo(p-M,ha+M):d.lineTo(p,M)};Ta.prototype.moveNWInner=function(d,m,y,p,x,D,E,ha,M,wa,na){wa||na?!wa&&na?d.moveTo(M,0):wa&&!na?d.moveTo(0,M):"square"==
E||"default"==E&&"square"==D?d.moveTo(M,M):"rounded"==E||"default"==E&&"rounded"==D||"snip"==E||"default"==E&&"snip"==D?d.moveTo(M,ha+.5*M):("invRound"==E||"default"==E&&"invRound"==D||"fold"==E||"default"==E&&"fold"==D)&&d.moveTo(M,ha+M):d.moveTo(0,0)};Ta.prototype.lineNWInner=function(d,m,y,p,x,D,E,ha,M,wa,na){wa||na?!wa&&na?d.lineTo(M,0):wa&&!na?d.lineTo(0,M):"square"==E||"default"==E&&"square"==D?d.lineTo(M,M):"rounded"==E||"default"==E&&"rounded"==D||"snip"==E||"default"==E&&"snip"==D?d.lineTo(M,
-ha+.5*M):("invRound"==E||"default"==E&&"invRound"==D||"fold"==E||"default"==E&&"fold"==D)&&d.lineTo(M,ha+M):d.lineTo(0,0)};Ta.prototype.paintFolds=function(d,m,y,p,x,D,E,ha,M,wa,na,Ya,hb,bb,Fa){if("fold"==D||"fold"==E||"fold"==ha||"fold"==M||"fold"==wa)("fold"==E||"default"==E&&"fold"==D)&&Ya&&Fa&&(d.moveTo(0,na),d.lineTo(na,na),d.lineTo(na,0)),("fold"==ha||"default"==ha&&"fold"==D)&&Ya&&hb&&(d.moveTo(p-na,0),d.lineTo(p-na,na),d.lineTo(p,na)),("fold"==M||"default"==M&&"fold"==D)&&bb&&hb&&(d.moveTo(p-
-na,x),d.lineTo(p-na,x-na),d.lineTo(p,x-na)),("fold"==wa||"default"==wa&&"fold"==D)&&bb&&Fa&&(d.moveTo(0,x-na),d.lineTo(na,x-na),d.lineTo(na,x))};mxCellRenderer.registerShape(Ta.prototype.cst.RECT2,Ta);Ta.prototype.constraints=null;mxUtils.extend(Pa,mxConnector);Pa.prototype.origPaintEdgeShape=Pa.prototype.paintEdgeShape;Pa.prototype.paintEdgeShape=function(d,m,y){for(var p=[],x=0;x<m.length;x++)p.push(mxUtils.clone(m[x]));x=d.state.dashed;var D=d.state.fixDash;Pa.prototype.origPaintEdgeShape.apply(this,
+ha+.5*M):("invRound"==E||"default"==E&&"invRound"==D||"fold"==E||"default"==E&&"fold"==D)&&d.lineTo(M,ha+M):d.lineTo(0,0)};Ta.prototype.paintFolds=function(d,m,y,p,x,D,E,ha,M,wa,na,Ya,hb,bb,Ea){if("fold"==D||"fold"==E||"fold"==ha||"fold"==M||"fold"==wa)("fold"==E||"default"==E&&"fold"==D)&&Ya&&Ea&&(d.moveTo(0,na),d.lineTo(na,na),d.lineTo(na,0)),("fold"==ha||"default"==ha&&"fold"==D)&&Ya&&hb&&(d.moveTo(p-na,0),d.lineTo(p-na,na),d.lineTo(p,na)),("fold"==M||"default"==M&&"fold"==D)&&bb&&hb&&(d.moveTo(p-
+na,x),d.lineTo(p-na,x-na),d.lineTo(p,x-na)),("fold"==wa||"default"==wa&&"fold"==D)&&bb&&Ea&&(d.moveTo(0,x-na),d.lineTo(na,x-na),d.lineTo(na,x))};mxCellRenderer.registerShape(Ta.prototype.cst.RECT2,Ta);Ta.prototype.constraints=null;mxUtils.extend(Pa,mxConnector);Pa.prototype.origPaintEdgeShape=Pa.prototype.paintEdgeShape;Pa.prototype.paintEdgeShape=function(d,m,y){for(var p=[],x=0;x<m.length;x++)p.push(mxUtils.clone(m[x]));x=d.state.dashed;var D=d.state.fixDash;Pa.prototype.origPaintEdgeShape.apply(this,
[d,p,y]);3<=d.state.strokeWidth&&(p=mxUtils.getValue(this.style,"fillColor",null),null!=p&&(d.setStrokeColor(p),d.setStrokeWidth(d.state.strokeWidth-2),d.setDashed(x,D),Pa.prototype.origPaintEdgeShape.apply(this,[d,m,y])))};mxCellRenderer.registerShape("filledEdge",Pa);"undefined"!==typeof StyleFormatPanel&&function(){var d=StyleFormatPanel.prototype.getCustomColors;StyleFormatPanel.prototype.getCustomColors=function(){var m=this.editorUi.getSelectionState(),y=d.apply(this,arguments);"umlFrame"==
m.style.shape&&y.push({title:mxResources.get("laneColor"),key:"swimlaneFillColor",defaultValue:"default"});return y}}();mxMarker.addMarker("dash",function(d,m,y,p,x,D,E,ha,M,wa){var na=x*(E+M+1),Ya=D*(E+M+1);return function(){d.begin();d.moveTo(p.x-na/2-Ya/2,p.y-Ya/2+na/2);d.lineTo(p.x+Ya/2-3*na/2,p.y-3*Ya/2-na/2);d.stroke()}});mxMarker.addMarker("box",function(d,m,y,p,x,D,E,ha,M,wa){var na=x*(E+M+1),Ya=D*(E+M+1),hb=p.x+na/2,bb=p.y+Ya/2;p.x-=na;p.y-=Ya;return function(){d.begin();d.moveTo(hb-na/2-
Ya/2,bb-Ya/2+na/2);d.lineTo(hb-na/2+Ya/2,bb-Ya/2-na/2);d.lineTo(hb+Ya/2-3*na/2,bb-3*Ya/2-na/2);d.lineTo(hb-Ya/2-3*na/2,bb-3*Ya/2+na/2);d.close();wa?d.fillAndStroke():d.stroke()}});mxMarker.addMarker("cross",function(d,m,y,p,x,D,E,ha,M,wa){var na=x*(E+M+1),Ya=D*(E+M+1);return function(){d.begin();d.moveTo(p.x-na/2-Ya/2,p.y-Ya/2+na/2);d.lineTo(p.x+Ya/2-3*na/2,p.y-3*Ya/2-na/2);d.moveTo(p.x-na/2+Ya/2,p.y-Ya/2-na/2);d.lineTo(p.x-Ya/2-3*na/2,p.y-3*Ya/2+na/2);d.stroke()}});mxMarker.addMarker("circle",kb);
@@ -2916,14 +2914,14 @@ Math.min(m.width,mxUtils.getValue(this.state.style,"width",ba.prototype.width)))
"0"!=mxUtils.getValue(this.state.style,"fixedSize","0"),x=parseFloat(mxUtils.getValue(this.state.style,"size",T.prototype.size));return p?new mxPoint(y.x+x,y.y+y.height/4):new mxPoint(y.x+y.width*x,y.y+y.height/4)},function(y,p){y="0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?Math.max(0,Math.min(.5*y.width,p.x-y.x)):Math.max(0,Math.min(.5,(p.x-y.x)/y.width));this.state.style.size=y},!1)];mxUtils.getValue(d.style,mxConstants.STYLE_ROUNDED,!1)&&m.push(tb(d));return m},cross:function(d){return[db(d,
["size"],function(m){var y=Math.min(m.width,m.height);y=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"size",Za.prototype.size)))*y/2;return new mxPoint(m.getCenterX()-y,m.getCenterY()-y)},function(m,y){var p=Math.min(m.width,m.height);this.state.style.size=Math.max(0,Math.min(1,Math.min(Math.max(0,m.getCenterY()-y.y)/p*2,Math.max(0,m.getCenterX()-y.x)/p*2)))})]},note:function(d){return[db(d,["size"],function(m){var y=Math.max(0,Math.min(m.width,Math.min(m.height,parseFloat(mxUtils.getValue(this.state.style,
"size",F.prototype.size)))));return new mxPoint(m.x+m.width-y,m.y+y)},function(m,y){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(m.width,m.x+m.width-y.x),Math.min(m.height,y.y-m.y))))})]},note2:function(d){return[db(d,["size"],function(m){var y=Math.max(0,Math.min(m.width,Math.min(m.height,parseFloat(mxUtils.getValue(this.state.style,"size",K.prototype.size)))));return new mxPoint(m.x+m.width-y,m.y+y)},function(m,y){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(m.width,
-m.x+m.width-y.x),Math.min(m.height,y.y-m.y))))})]},manualInput:function(d){var m=[db(d,["size"],function(y){var p=Math.max(0,Math.min(y.height,mxUtils.getValue(this.state.style,"size",Ha.prototype.size)));return new mxPoint(y.x+y.width/4,y.y+3*p/4)},function(y,p){this.state.style.size=Math.round(Math.max(0,Math.min(y.height,4*(p.y-y.y)/3)))},!1)];mxUtils.getValue(d.style,mxConstants.STYLE_ROUNDED,!1)&&m.push(tb(d));return m},dataStorage:function(d){return[db(d,["size"],function(m){var y="0"!=mxUtils.getValue(this.state.style,
+m.x+m.width-y.x),Math.min(m.height,y.y-m.y))))})]},manualInput:function(d){var m=[db(d,["size"],function(y){var p=Math.max(0,Math.min(y.height,mxUtils.getValue(this.state.style,"size",Ga.prototype.size)));return new mxPoint(y.x+y.width/4,y.y+3*p/4)},function(y,p){this.state.style.size=Math.round(Math.max(0,Math.min(y.height,4*(p.y-y.y)/3)))},!1)];mxUtils.getValue(d.style,mxConstants.STYLE_ROUNDED,!1)&&m.push(tb(d));return m},dataStorage:function(d){return[db(d,["size"],function(m){var y="0"!=mxUtils.getValue(this.state.style,
"fixedSize","0"),p=parseFloat(mxUtils.getValue(this.state.style,"size",y?Ma.prototype.fixedSize:Ma.prototype.size));return new mxPoint(m.x+m.width-p*(y?1:m.width),m.getCenterY())},function(m,y){m="0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?Math.max(0,Math.min(m.width,m.x+m.width-y.x)):Math.max(0,Math.min(1,(m.x+m.width-y.x)/m.width));this.state.style.size=m},!1)]},callout:function(d){var m=[db(d,["size","position"],function(y){var p=Math.max(0,Math.min(y.height,mxUtils.getValue(this.state.style,
-"size",ka.prototype.size))),x=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",ka.prototype.position)));mxUtils.getValue(this.state.style,"base",ka.prototype.base);return new mxPoint(y.x+x*y.width,y.y+y.height-p)},function(y,p){mxUtils.getValue(this.state.style,"base",ka.prototype.base);this.state.style.size=Math.round(Math.max(0,Math.min(y.height,y.y+y.height-p.y)));this.state.style.position=Math.round(100*Math.max(0,Math.min(1,(p.x-y.x)/y.width)))/100},!1),db(d,["position2"],function(y){var p=
-Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position2",ka.prototype.position2)));return new mxPoint(y.x+p*y.width,y.y+y.height)},function(y,p){this.state.style.position2=Math.round(100*Math.max(0,Math.min(1,(p.x-y.x)/y.width)))/100},!1),db(d,["base"],function(y){var p=Math.max(0,Math.min(y.height,mxUtils.getValue(this.state.style,"size",ka.prototype.size))),x=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",ka.prototype.position))),D=Math.max(0,Math.min(y.width,mxUtils.getValue(this.state.style,
-"base",ka.prototype.base)));return new mxPoint(y.x+Math.min(y.width,x*y.width+D),y.y+y.height-p)},function(y,p){var x=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",ka.prototype.position)));this.state.style.base=Math.round(Math.max(0,Math.min(y.width,p.x-y.x-x*y.width)))},!1)];mxUtils.getValue(d.style,mxConstants.STYLE_ROUNDED,!1)&&m.push(tb(d));return m},internalStorage:function(d){var m=[db(d,["dx","dy"],function(y){var p=Math.max(0,Math.min(y.width,mxUtils.getValue(this.state.style,
+"size",ja.prototype.size))),x=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",ja.prototype.position)));mxUtils.getValue(this.state.style,"base",ja.prototype.base);return new mxPoint(y.x+x*y.width,y.y+y.height-p)},function(y,p){mxUtils.getValue(this.state.style,"base",ja.prototype.base);this.state.style.size=Math.round(Math.max(0,Math.min(y.height,y.y+y.height-p.y)));this.state.style.position=Math.round(100*Math.max(0,Math.min(1,(p.x-y.x)/y.width)))/100},!1),db(d,["position2"],function(y){var p=
+Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position2",ja.prototype.position2)));return new mxPoint(y.x+p*y.width,y.y+y.height)},function(y,p){this.state.style.position2=Math.round(100*Math.max(0,Math.min(1,(p.x-y.x)/y.width)))/100},!1),db(d,["base"],function(y){var p=Math.max(0,Math.min(y.height,mxUtils.getValue(this.state.style,"size",ja.prototype.size))),x=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",ja.prototype.position))),D=Math.max(0,Math.min(y.width,mxUtils.getValue(this.state.style,
+"base",ja.prototype.base)));return new mxPoint(y.x+Math.min(y.width,x*y.width+D),y.y+y.height-p)},function(y,p){var x=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",ja.prototype.position)));this.state.style.base=Math.round(Math.max(0,Math.min(y.width,p.x-y.x-x*y.width)))},!1)];mxUtils.getValue(d.style,mxConstants.STYLE_ROUNDED,!1)&&m.push(tb(d));return m},internalStorage:function(d){var m=[db(d,["dx","dy"],function(y){var p=Math.max(0,Math.min(y.width,mxUtils.getValue(this.state.style,
"dx",La.prototype.dx))),x=Math.max(0,Math.min(y.height,mxUtils.getValue(this.state.style,"dy",La.prototype.dy)));return new mxPoint(y.x+p,y.y+x)},function(y,p){this.state.style.dx=Math.round(Math.max(0,Math.min(y.width,p.x-y.x)));this.state.style.dy=Math.round(Math.max(0,Math.min(y.height,p.y-y.y)))},!1)];mxUtils.getValue(d.style,mxConstants.STYLE_ROUNDED,!1)&&m.push(tb(d));return m},module:function(d){return[db(d,["jettyWidth","jettyHeight"],function(m){var y=Math.max(0,Math.min(m.width,mxUtils.getValue(this.state.style,
-"jettyWidth",ua.prototype.jettyWidth))),p=Math.max(0,Math.min(m.height,mxUtils.getValue(this.state.style,"jettyHeight",ua.prototype.jettyHeight)));return new mxPoint(m.x+y/2,m.y+2*p)},function(m,y){this.state.style.jettyWidth=Math.round(2*Math.max(0,Math.min(m.width,y.x-m.x)));this.state.style.jettyHeight=Math.round(Math.max(0,Math.min(m.height,y.y-m.y))/2)})]},corner:function(d){return[db(d,["dx","dy"],function(m){var y=Math.max(0,Math.min(m.width,mxUtils.getValue(this.state.style,"dx",Ea.prototype.dx))),
-p=Math.max(0,Math.min(m.height,mxUtils.getValue(this.state.style,"dy",Ea.prototype.dy)));return new mxPoint(m.x+y,m.y+p)},function(m,y){this.state.style.dx=Math.round(Math.max(0,Math.min(m.width,y.x-m.x)));this.state.style.dy=Math.round(Math.max(0,Math.min(m.height,y.y-m.y)))},!1)]},tee:function(d){return[db(d,["dx","dy"],function(m){var y=Math.max(0,Math.min(m.width,mxUtils.getValue(this.state.style,"dx",Ra.prototype.dx))),p=Math.max(0,Math.min(m.height,mxUtils.getValue(this.state.style,"dy",Ra.prototype.dy)));
+"jettyWidth",ua.prototype.jettyWidth))),p=Math.max(0,Math.min(m.height,mxUtils.getValue(this.state.style,"jettyHeight",ua.prototype.jettyHeight)));return new mxPoint(m.x+y/2,m.y+2*p)},function(m,y){this.state.style.jettyWidth=Math.round(2*Math.max(0,Math.min(m.width,y.x-m.x)));this.state.style.jettyHeight=Math.round(Math.max(0,Math.min(m.height,y.y-m.y))/2)})]},corner:function(d){return[db(d,["dx","dy"],function(m){var y=Math.max(0,Math.min(m.width,mxUtils.getValue(this.state.style,"dx",Da.prototype.dx))),
+p=Math.max(0,Math.min(m.height,mxUtils.getValue(this.state.style,"dy",Da.prototype.dy)));return new mxPoint(m.x+y,m.y+p)},function(m,y){this.state.style.dx=Math.round(Math.max(0,Math.min(m.width,y.x-m.x)));this.state.style.dy=Math.round(Math.max(0,Math.min(m.height,y.y-m.y)))},!1)]},tee:function(d){return[db(d,["dx","dy"],function(m){var y=Math.max(0,Math.min(m.width,mxUtils.getValue(this.state.style,"dx",Ra.prototype.dx))),p=Math.max(0,Math.min(m.height,mxUtils.getValue(this.state.style,"dy",Ra.prototype.dy)));
return new mxPoint(m.x+(m.width+y)/2,m.y+p)},function(m,y){this.state.style.dx=Math.round(Math.max(0,2*Math.min(m.width/2,y.x-m.x-m.width/2)));this.state.style.dy=Math.round(Math.max(0,Math.min(m.height,y.y-m.y)))},!1)]},singleArrow:lb(1),doubleArrow:lb(.5),"mxgraph.arrows2.wedgeArrow":ub(20,20),"mxgraph.arrows2.wedgeArrowDashed":ub(20,20),"mxgraph.arrows2.wedgeArrowDashed2":ub(20,20),folder:function(d){return[db(d,["tabWidth","tabHeight"],function(m){var y=Math.max(0,Math.min(m.width,mxUtils.getValue(this.state.style,
"tabWidth",l.prototype.tabWidth))),p=Math.max(0,Math.min(m.height,mxUtils.getValue(this.state.style,"tabHeight",l.prototype.tabHeight)));mxUtils.getValue(this.state.style,"tabPosition",l.prototype.tabPosition)==mxConstants.ALIGN_RIGHT&&(y=m.width-y);return new mxPoint(m.x+y,m.y+p)},function(m,y){var p=Math.max(0,Math.min(m.width,y.x-m.x));mxUtils.getValue(this.state.style,"tabPosition",l.prototype.tabPosition)==mxConstants.ALIGN_RIGHT&&(p=m.width-p);this.state.style.tabWidth=Math.round(p);this.state.style.tabHeight=
Math.round(Math.max(0,Math.min(m.height,y.y-m.y)))},!1)]},document:function(d){return[db(d,["size"],function(m){var y=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",G.prototype.size))));return new mxPoint(m.x+3*m.width/4,m.y+(1-y)*m.height)},function(m,y){this.state.style.size=Math.max(0,Math.min(1,(m.y+m.height-y.y)/m.height))},!1)]},tape:function(d){return[db(d,["size"],function(m){var y=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",B.prototype.size))));
@@ -2933,16 +2931,16 @@ return new mxPoint(y.x+p,y.y+p)},function(y,p){this.state.style.size=Math.round(
!0,ma.prototype.fixedSize),hexagon:pb(aa.prototype.size,!0,.5,!0,aa.prototype.fixedSize),curlyBracket:pb(J.prototype.size,!1),display:pb(ab.prototype.size,!1),cube:sb(1,n.prototype.size,!1),card:sb(.5,A.prototype.size,!0),loopLimit:sb(.5,Q.prototype.size,!0),trapezoid:wb(.5,P.prototype.size,P.prototype.fixedSize),parallelogram:wb(1,L.prototype.size,L.prototype.fixedSize)};Graph.createHandle=db;Graph.handleFactory=xb;var yb=mxVertexHandler.prototype.createCustomHandles;mxVertexHandler.prototype.createCustomHandles=
function(){var d=yb.apply(this,arguments);if(this.graph.isCellRotatable(this.state.cell)){var m=this.state.style.shape;null==mxCellRenderer.defaultShapes[m]&&null==mxStencilRegistry.getStencil(m)?m=mxConstants.SHAPE_RECTANGLE:this.state.view.graph.isSwimlane(this.state.cell)&&(m=mxConstants.SHAPE_SWIMLANE);m=xb[m];null==m&&null!=this.state.shape&&this.state.shape.isRoundable()&&(m=xb[mxConstants.SHAPE_RECTANGLE]);null!=m&&(m=m(this.state),null!=m&&(d=null==d?m:d.concat(m)))}return d};mxEdgeHandler.prototype.createCustomHandles=
function(){var d=this.state.style.shape;null==mxCellRenderer.defaultShapes[d]&&null==mxStencilRegistry.getStencil(d)&&(d=mxConstants.SHAPE_CONNECTOR);d=xb[d];return null!=d?d(this.state):null}}else Graph.createHandle=function(){},Graph.handleFactory={};var ob=new mxPoint(1,0),zb=new mxPoint(1,0),Ab=mxUtils.toRadians(-30);ob=mxUtils.getRotatedPoint(ob,Math.cos(Ab),Math.sin(Ab));var Bb=mxUtils.toRadians(-150);zb=mxUtils.getRotatedPoint(zb,Math.cos(Bb),Math.sin(Bb));mxEdgeStyle.IsometricConnector=function(d,
-m,y,p,x){var D=d.view;p=null!=p&&0<p.length?p[0]:null;var E=d.absolutePoints,ha=E[0];E=E[E.length-1];null!=p&&(p=D.transformControlPoint(d,p));null==ha&&null!=m&&(ha=new mxPoint(m.getCenterX(),m.getCenterY()));null==E&&null!=y&&(E=new mxPoint(y.getCenterX(),y.getCenterY()));var M=ob.x,wa=ob.y,na=zb.x,Ya=zb.y,hb="horizontal"==mxUtils.getValue(d.style,"elbow","horizontal");if(null!=E&&null!=ha){d=function(Fa,Ka,Ia){Fa-=bb.x;var Ga=Ka-bb.y;Ka=(Ya*Fa-na*Ga)/(M*Ya-wa*na);Fa=(wa*Fa-M*Ga)/(wa*na-M*Ya);hb?
-(Ia&&(bb=new mxPoint(bb.x+M*Ka,bb.y+wa*Ka),x.push(bb)),bb=new mxPoint(bb.x+na*Fa,bb.y+Ya*Fa)):(Ia&&(bb=new mxPoint(bb.x+na*Fa,bb.y+Ya*Fa),x.push(bb)),bb=new mxPoint(bb.x+M*Ka,bb.y+wa*Ka));x.push(bb)};var bb=ha;null==p&&(p=new mxPoint(ha.x+(E.x-ha.x)/2,ha.y+(E.y-ha.y)/2));d(p.x,p.y,!0);d(E.x,E.y,!1)}};mxStyleRegistry.putValue("isometricEdgeStyle",mxEdgeStyle.IsometricConnector);var Db=Graph.prototype.createEdgeHandler;Graph.prototype.createEdgeHandler=function(d,m){if(m==mxEdgeStyle.IsometricConnector){var y=
+m,y,p,x){var D=d.view;p=null!=p&&0<p.length?p[0]:null;var E=d.absolutePoints,ha=E[0];E=E[E.length-1];null!=p&&(p=D.transformControlPoint(d,p));null==ha&&null!=m&&(ha=new mxPoint(m.getCenterX(),m.getCenterY()));null==E&&null!=y&&(E=new mxPoint(y.getCenterX(),y.getCenterY()));var M=ob.x,wa=ob.y,na=zb.x,Ya=zb.y,hb="horizontal"==mxUtils.getValue(d.style,"elbow","horizontal");if(null!=E&&null!=ha){d=function(Ea,Ka,Ia){Ea-=bb.x;var Fa=Ka-bb.y;Ka=(Ya*Ea-na*Fa)/(M*Ya-wa*na);Ea=(wa*Ea-M*Fa)/(wa*na-M*Ya);hb?
+(Ia&&(bb=new mxPoint(bb.x+M*Ka,bb.y+wa*Ka),x.push(bb)),bb=new mxPoint(bb.x+na*Ea,bb.y+Ya*Ea)):(Ia&&(bb=new mxPoint(bb.x+na*Ea,bb.y+Ya*Ea),x.push(bb)),bb=new mxPoint(bb.x+M*Ka,bb.y+wa*Ka));x.push(bb)};var bb=ha;null==p&&(p=new mxPoint(ha.x+(E.x-ha.x)/2,ha.y+(E.y-ha.y)/2));d(p.x,p.y,!0);d(E.x,E.y,!1)}};mxStyleRegistry.putValue("isometricEdgeStyle",mxEdgeStyle.IsometricConnector);var Db=Graph.prototype.createEdgeHandler;Graph.prototype.createEdgeHandler=function(d,m){if(m==mxEdgeStyle.IsometricConnector){var y=
new mxElbowEdgeHandler(d);y.snapToTerminals=!1;return y}return Db.apply(this,arguments)};C.prototype.constraints=[];H.prototype.getConstraints=function(d,m,y){d=[];var p=Math.tan(mxUtils.toRadians(30)),x=(.5-p)/2;p=Math.min(m,y/(.5+p));m=(m-p)/2;y=(y-p)/2;d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,y+.25*p));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m+.5*p,y+p*x));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m+p,y+.25*p));d.push(new mxConnectionConstraint(new mxPoint(0,
0),!1,null,m+p,y+.75*p));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m+.5*p,y+(1-x)*p));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,y+.75*p));return d};S.prototype.getConstraints=function(d,m,y){d=[];var p=Math.max(.01,Math.min(94,parseFloat(mxUtils.getValue(this.style,"isoAngle",this.isoAngle))))*Math.PI/200;p=Math.min(m*Math.tan(p),.5*y);d.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,p));d.push(new mxConnectionConstraint(new mxPoint(1,
-.5),!1));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,y-p));d.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,y-p));d.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,p));return d};ka.prototype.getConstraints=function(d,m,y){d=[];mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE);var p=Math.max(0,Math.min(y,parseFloat(mxUtils.getValue(this.style,
+.5),!1));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,y-p));d.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,y-p));d.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,p));return d};ja.prototype.getConstraints=function(d,m,y){d=[];mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE);var p=Math.max(0,Math.min(y,parseFloat(mxUtils.getValue(this.style,
"size",this.size))));parseFloat(mxUtils.getValue(this.style,"position",this.position));var x=m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"position2",this.position2))));parseFloat(mxUtils.getValue(this.style,"base",this.base));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1));d.push(new mxConnectionConstraint(new mxPoint(.25,0),!1));d.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));d.push(new mxConnectionConstraint(new mxPoint(.75,0),!1));d.push(new mxConnectionConstraint(new mxPoint(1,
0),!1));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.5*(y-p)));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,y-p));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,x,y));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,y-p));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(y-p)));m>=2*p&&d.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));return d};mxRectangleShape.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,
0),!0),new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),
new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0)];mxEllipse.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(.5,
-0),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(1,.5))];Ca.prototype.constraints=mxRectangleShape.prototype.constraints;mxImageShape.prototype.constraints=mxRectangleShape.prototype.constraints;mxSwimlane.prototype.constraints=mxRectangleShape.prototype.constraints;V.prototype.constraints=mxRectangleShape.prototype.constraints;mxLabel.prototype.constraints=mxRectangleShape.prototype.constraints;F.prototype.getConstraints=
+0),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(1,.5))];Ha.prototype.constraints=mxRectangleShape.prototype.constraints;mxImageShape.prototype.constraints=mxRectangleShape.prototype.constraints;mxSwimlane.prototype.constraints=mxRectangleShape.prototype.constraints;V.prototype.constraints=mxRectangleShape.prototype.constraints;mxLabel.prototype.constraints=mxRectangleShape.prototype.constraints;F.prototype.getConstraints=
function(d,m,y){d=[];var p=Math.max(0,Math.min(m,Math.min(y,parseFloat(mxUtils.getValue(this.style,"size",this.size)))));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m-p),0));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-p,0));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-.5*p,.5*p));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,p));d.push(new mxConnectionConstraint(new mxPoint(0,
0),!1,null,m,.5*(y+p)));d.push(new mxConnectionConstraint(new mxPoint(1,1),!1));d.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));d.push(new mxConnectionConstraint(new mxPoint(0,1),!1));d.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));m>=2*p&&d.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));return d};A.prototype.getConstraints=function(d,m,y){d=[];var p=Math.max(0,Math.min(m,Math.min(y,parseFloat(mxUtils.getValue(this.style,"size",this.size)))));d.push(new mxConnectionConstraint(new mxPoint(1,
0),!1));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m+p),0));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,p,0));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*p,.5*p));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,p));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(y+p)));d.push(new mxConnectionConstraint(new mxPoint(0,1),!1));d.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));d.push(new mxConnectionConstraint(new mxPoint(1,
@@ -2954,7 +2952,7 @@ function(d,m,y){d=[];var p=Math.max(0,Math.min(m,Math.min(y,parseFloat(mxUtils.g
"tabPosition",this.tabPosition)?(d.push(new mxConnectionConstraint(new mxPoint(0,0),!1)),d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*p,0)),d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,p,0)),d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,p,x)),d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m+p),x))):(d.push(new mxConnectionConstraint(new mxPoint(1,0),!1)),d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-.5*p,0)),d.push(new mxConnectionConstraint(new mxPoint(0,
0),!1,null,m-p,0)),d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-p,x)),d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m-p),x)));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,x));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.25*(y-x)+x));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.5*(y-x)+x));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.75*(y-x)+x));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,
null,m,y));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,x));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.25*(y-x)+x));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(y-x)+x));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.75*(y-x)+x));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,y));d.push(new mxConnectionConstraint(new mxPoint(.25,1),!1));d.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));d.push(new mxConnectionConstraint(new mxPoint(.75,
-1),!1));return d};La.prototype.constraints=mxRectangleShape.prototype.constraints;Ma.prototype.constraints=mxRectangleShape.prototype.constraints;ia.prototype.constraints=mxEllipse.prototype.constraints;ja.prototype.constraints=mxEllipse.prototype.constraints;oa.prototype.constraints=mxEllipse.prototype.constraints;Oa.prototype.constraints=mxEllipse.prototype.constraints;Ha.prototype.constraints=mxRectangleShape.prototype.constraints;Wa.prototype.constraints=mxRectangleShape.prototype.constraints;
+1),!1));return d};La.prototype.constraints=mxRectangleShape.prototype.constraints;Ma.prototype.constraints=mxRectangleShape.prototype.constraints;ia.prototype.constraints=mxEllipse.prototype.constraints;la.prototype.constraints=mxEllipse.prototype.constraints;oa.prototype.constraints=mxEllipse.prototype.constraints;Oa.prototype.constraints=mxEllipse.prototype.constraints;Ga.prototype.constraints=mxRectangleShape.prototype.constraints;Wa.prototype.constraints=mxRectangleShape.prototype.constraints;
ab.prototype.getConstraints=function(d,m,y){d=[];var p=Math.min(m,y/2),x=Math.min(m-p,Math.max(0,parseFloat(mxUtils.getValue(this.style,"size",this.size)))*m);d.push(new mxConnectionConstraint(new mxPoint(0,.5),!1,null));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,x,0));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(x+m-p),0));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-p,0));d.push(new mxConnectionConstraint(new mxPoint(1,.5),!1,null));d.push(new mxConnectionConstraint(new mxPoint(0,
0),!1,null,m-p,y));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(x+m-p),y));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,x,y));return d};ua.prototype.getConstraints=function(d,m,y){m=parseFloat(mxUtils.getValue(d,"jettyWidth",ua.prototype.jettyWidth))/2;d=parseFloat(mxUtils.getValue(d,"jettyHeight",ua.prototype.jettyHeight));var p=[new mxConnectionConstraint(new mxPoint(0,0),!1,null,m),new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,
0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(0,1),!1,null,m),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0),new mxConnectionConstraint(new mxPoint(1,1),
@@ -2966,14 +2964,14 @@ mxCylinder.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.15,.05
1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0)];f.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!1),new mxConnectionConstraint(new mxPoint(.5,.25),!1),new mxConnectionConstraint(new mxPoint(1,0),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.75,.5),!1),new mxConnectionConstraint(new mxPoint(0,1),!1),new mxConnectionConstraint(new mxPoint(.5,.75),!1),new mxConnectionConstraint(new mxPoint(1,1),!1)];B.prototype.constraints=
[new mxConnectionConstraint(new mxPoint(0,.35),!1),new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(0,.65),!1),new mxConnectionConstraint(new mxPoint(1,.35),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(1,.65),!1),new mxConnectionConstraint(new mxPoint(.25,1),!1),new mxConnectionConstraint(new mxPoint(.75,0),!1)];ma.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,
0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0)];
-mxLine.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.75,.5),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1)];la.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.5,0),!1),new mxConnectionConstraint(new mxPoint(.5,1),!1)];mxDoubleEllipse.prototype.constraints=mxEllipse.prototype.constraints;mxRhombus.prototype.constraints=mxEllipse.prototype.constraints;mxTriangle.prototype.constraints=
+mxLine.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.75,.5),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1)];ka.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.5,0),!1),new mxConnectionConstraint(new mxPoint(.5,1),!1)];mxDoubleEllipse.prototype.constraints=mxEllipse.prototype.constraints;mxRhombus.prototype.constraints=mxEllipse.prototype.constraints;mxTriangle.prototype.constraints=
[new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0)];mxHexagon.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.375,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.625,0),!0),new mxConnectionConstraint(new mxPoint(0,
.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.375,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.625,1),!0)];mxCloud.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,.25),!1),new mxConnectionConstraint(new mxPoint(.4,
.1),!1),new mxConnectionConstraint(new mxPoint(.16,.55),!1),new mxConnectionConstraint(new mxPoint(.07,.4),!1),new mxConnectionConstraint(new mxPoint(.31,.8),!1),new mxConnectionConstraint(new mxPoint(.13,.77),!1),new mxConnectionConstraint(new mxPoint(.8,.8),!1),new mxConnectionConstraint(new mxPoint(.55,.95),!1),new mxConnectionConstraint(new mxPoint(.875,.5),!1),new mxConnectionConstraint(new mxPoint(.96,.7),!1),new mxConnectionConstraint(new mxPoint(.625,.2),!1),new mxConnectionConstraint(new mxPoint(.88,
.25),!1)];L.prototype.constraints=mxRectangleShape.prototype.constraints;P.prototype.constraints=mxRectangleShape.prototype.constraints;G.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),
!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0)];mxArrow.prototype.constraints=null;Ra.prototype.getConstraints=function(d,m,y){d=[];var p=Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,"dx",this.dx)))),x=Math.max(0,Math.min(y,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1));d.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));d.push(new mxConnectionConstraint(new mxPoint(1,
0),!1));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.5*x));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,x));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.75*m+.25*p,x));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m+p),x));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m+p),.5*(y+x)));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m+p),y));d.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));d.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,.5*(m-p),y));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m-p),.5*(y+x)));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m-p),x));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.25*m-.25*p,x));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,x));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*x));return d};Ea.prototype.getConstraints=function(d,m,y){d=[];var p=Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,
+0),!1,null,.5*(m-p),y));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m-p),.5*(y+x)));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m-p),x));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.25*m-.25*p,x));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,x));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*x));return d};Da.prototype.getConstraints=function(d,m,y){d=[];var p=Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,
"dx",this.dx)))),x=Math.max(0,Math.min(y,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1));d.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));d.push(new mxConnectionConstraint(new mxPoint(1,0),!1));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.5*x));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,x));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m+p),x));d.push(new mxConnectionConstraint(new mxPoint(0,
0),!1,null,p,x));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,p,.5*(y+x)));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,p,y));d.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*p,y));d.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));d.push(new mxConnectionConstraint(new mxPoint(0,1),!1));return d};za.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!1),new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(0,
1),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.5,.5),!1),new mxConnectionConstraint(new mxPoint(.75,.5),!1),new mxConnectionConstraint(new mxPoint(1,0),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(1,1),!1)];Ja.prototype.getConstraints=function(d,m,y){d=[];var p=y*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",this.arrowWidth)))),x=m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,
@@ -3220,33 +3218,33 @@ t.isVertex(t.getParent(k.vertices[0])):!1}},{name:"editable",dispName:"Editable"
type:"bool",defVal:!1},{name:"resizeHeight",dispName:"Resize Height",type:"bool",defVal:!1},{name:"rotatable",dispName:"Rotatable",type:"bool",defVal:!0},{name:"cloneable",dispName:"Cloneable",type:"bool",defVal:!0},{name:"deletable",dispName:"Deletable",type:"bool",defVal:!0},{name:"treeFolding",dispName:"Tree Folding",type:"bool",defVal:!1},{name:"treeMoving",dispName:"Tree Moving",type:"bool",defVal:!1},{name:"pointerEvents",dispName:"Pointer Events",type:"bool",defVal:!0,isVisible:function(k,
t){var I=mxUtils.getValue(k.style,mxConstants.STYLE_FILLCOLOR,null);return!mxShape.forceFilledPointerEvents||t.editorUi.editor.graph.isSwimlane(k.vertices[0])||null==I||I==mxConstants.NONE||0==mxUtils.getValue(k.style,mxConstants.STYLE_FILL_OPACITY,100)||0==mxUtils.getValue(k.style,mxConstants.STYLE_OPACITY,100)||null!=k.style.pointerEvents}},{name:"moveCells",dispName:"Move Cells on Fold",type:"bool",defVal:!1,isVisible:function(k,t){return 0<k.vertices.length&&t.editorUi.editor.graph.isContainer(k.vertices[0])}}].concat(Editor.commonProperties);
Editor.defaultCsvValue='##\n## Example CSV import. Use ## for comments and # for configuration. Paste CSV below.\n## The following names are reserved and should not be used (or ignored):\n## id, tooltip, placeholder(s), link and label (see below)\n##\n#\n## Node label with placeholders and HTML.\n## Default is \'%name_of_first_column%\'.\n#\n# label: %name%<br><i style="color:gray;">%position%</i><br><a href="mailto:%email%">Email</a>\n#\n## Node style (placeholders are replaced once).\n## Default is the current style for nodes.\n#\n# style: label;image=%image%;whiteSpace=wrap;html=1;rounded=1;fillColor=%fill%;strokeColor=%stroke%;\n#\n## Parent style for nodes with child nodes (placeholders are replaced once).\n#\n# parentstyle: swimlane;whiteSpace=wrap;html=1;childLayout=stackLayout;horizontal=1;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;\n#\n## Style to be used for objects not in the CSV. If this is - then such objects are ignored,\n## else they are created using this as their style, eg. whiteSpace=wrap;html=1;\n#\n# unknownStyle: -\n#\n## Optional column name that contains a reference to a named style in styles.\n## Default is the current style for nodes.\n#\n# stylename: -\n#\n## JSON for named styles of the form {"name": "style", "name": "style"} where style is a cell style with\n## placeholders that are replaced once.\n#\n# styles: -\n#\n## JSON for variables in styles of the form {"name": "value", "name": "value"} where name is a string\n## that will replace a placeholder in a style.\n#\n# vars: -\n#\n## Optional column name that contains a reference to a named label in labels.\n## Default is the current label.\n#\n# labelname: -\n#\n## JSON for named labels of the form {"name": "label", "name": "label"} where label is a cell label with\n## placeholders.\n#\n# labels: -\n#\n## Uses the given column name as the identity for cells (updates existing cells).\n## Default is no identity (empty value or -).\n#\n# identity: -\n#\n## Uses the given column name as the parent reference for cells. Default is no parent (empty or -).\n## The identity above is used for resolving the reference so it must be specified.\n#\n# parent: -\n#\n## Adds a prefix to the identity of cells to make sure they do not collide with existing cells (whose\n## IDs are numbers from 0..n, sometimes with a GUID prefix in the context of realtime collaboration).\n## Default is csvimport-.\n#\n# namespace: csvimport-\n#\n## Connections between rows ("from": source colum, "to": target column).\n## Label, style and invert are optional. Defaults are \'\', current style and false.\n## If placeholders are used in the style, they are replaced with data from the source.\n## An optional placeholders can be set to target to use data from the target instead.\n## In addition to label, an optional fromlabel and tolabel can be used to name the column\n## that contains the text for the label in the edges source or target (invert ignored).\n## In addition to those, an optional source and targetlabel can be used to specify a label\n## that contains placeholders referencing the respective columns in the source or target row.\n## The label is created in the form fromlabel + sourcelabel + label + tolabel + targetlabel.\n## Additional labels can be added by using an optional labels array with entries of the\n## form {"label": string, "x": number, "y": number, "dx": number, "dy": number} where\n## x is from -1 to 1 along the edge, y is orthogonal, and dx/dy are offsets in pixels.\n## An optional placeholders with the string value "source" or "target" can be specified\n## to replace placeholders in the additional label with data from the source or target.\n## An optional data object can be specified to define the metadata for the connector.\n## The target column may contain a comma-separated list of values.\n## Multiple connect entries are allowed.\n#\n# connect: {"from": "manager", "to": "name", "invert": true, "label": "manages", \\\n# "style": "curved=1;endArrow=blockThin;endFill=1;fontSize=11;"}\n# connect: {"from": "refs", "to": "id", "style": "curved=1;fontSize=11;"}\n#\n## Node x-coordinate. Possible value is a column name. Default is empty. Layouts will\n## override this value.\n#\n# left: \n#\n## Node y-coordinate. Possible value is a column name. Default is empty. Layouts will\n## override this value.\n#\n# top: \n#\n## Node width. Possible value is a number (in px), auto or an @ sign followed by a column\n## name that contains the value for the width. Default is auto.\n#\n# width: auto\n#\n## Node height. Possible value is a number (in px), auto, width or an @ sign followed by a column\n## name that contains the value for the height. Default is auto.\n#\n# height: auto\n#\n## Collapsed state for vertices. Possible values are true or false. Default is false.\n#\n# collapsed: false\n#\n## Padding for autosize. Default is 0.\n#\n# padding: -12\n#\n## Comma-separated list of ignored columns for metadata. (These can be\n## used for connections and styles but will not be added as metadata.)\n#\n# ignore: id,image,fill,stroke,refs,manager\n#\n## Column to be renamed to link attribute (used as link).\n#\n# link: url\n#\n## Spacing between nodes. Default is 40.\n#\n# nodespacing: 40\n#\n## Spacing between levels of hierarchical layouts. Default is 100.\n#\n# levelspacing: 100\n#\n## Spacing between parallel edges. Default is 40. Use 0 to disable.\n#\n# edgespacing: 40\n#\n## Name or JSON of layout. Possible values are auto, none, verticaltree, horizontaltree,\n## verticalflow, horizontalflow, organic, circle, orgchart or a JSON string as used in\n## Layout, Apply. Default is auto.\n#\n# layout: auto\n#\n## ---- CSV below this line. First line are column names. ----\nname,position,id,location,manager,email,fill,stroke,refs,url,image\nTessa Miller,CFO,emi,Office 1,,[email protected],default,#6c8ebf,,https://www.draw.io,https://cdn3.iconfinder.com/data/icons/user-avatars-1/512/users-3-128.png\nEdward Morrison,Brand Manager,emo,Office 2,Tessa Miller,[email protected],default,#82b366,,https://www.draw.io,https://cdn3.iconfinder.com/data/icons/user-avatars-1/512/users-10-3-128.png\nAlison Donovan,System Admin,rdo,Office 3,Tessa Miller,[email protected],default,#82b366,"emo,tva",https://www.draw.io,https://cdn3.iconfinder.com/data/icons/user-avatars-1/512/users-2-128.png\nEvan Valet,HR Director,tva,Office 4,Tessa Miller,[email protected],default,#82b366,,https://www.draw.io,https://cdn3.iconfinder.com/data/icons/user-avatars-1/512/users-9-2-128.png\n';
-Editor.createRoughCanvas=function(k){var t=rough.canvas({getContext:function(){return k}});t.draw=function(I){var R=I.sets||[];I=I.options||this.getDefaultOptions();for(var O=0;O<R.length;O++){var X=R[O];switch(X.type){case "path":null!=I.stroke&&this._drawToContext(k,X,I);break;case "fillPath":this._drawToContext(k,X,I);break;case "fillSketch":this.fillSketch(k,X,I)}}};t.fillSketch=function(I,R,O){var X=k.state.strokeColor,Z=k.state.strokeWidth,ba=k.state.strokeAlpha,la=k.state.dashed,qa=O.fillWeight;
-0>qa&&(qa=O.strokeWidth/2);k.setStrokeAlpha(k.state.fillAlpha);k.setStrokeColor(O.fill||"");k.setStrokeWidth(qa);k.setDashed(!1);this._drawToContext(I,R,O);k.setDashed(la);k.setStrokeWidth(Z);k.setStrokeColor(X);k.setStrokeAlpha(ba)};t._drawToContext=function(I,R,O){I.begin();for(var X=0;X<R.ops.length;X++){var Z=R.ops[X],ba=Z.data;switch(Z.op){case "move":I.moveTo(ba[0],ba[1]);break;case "bcurveTo":I.curveTo(ba[0],ba[1],ba[2],ba[3],ba[4],ba[5]);break;case "lineTo":I.lineTo(ba[0],ba[1])}}I.end();
+Editor.createRoughCanvas=function(k){var t=rough.canvas({getContext:function(){return k}});t.draw=function(I){var R=I.sets||[];I=I.options||this.getDefaultOptions();for(var O=0;O<R.length;O++){var X=R[O];switch(X.type){case "path":null!=I.stroke&&this._drawToContext(k,X,I);break;case "fillPath":this._drawToContext(k,X,I);break;case "fillSketch":this.fillSketch(k,X,I)}}};t.fillSketch=function(I,R,O){var X=k.state.strokeColor,Z=k.state.strokeWidth,ba=k.state.strokeAlpha,ka=k.state.dashed,qa=O.fillWeight;
+0>qa&&(qa=O.strokeWidth/2);k.setStrokeAlpha(k.state.fillAlpha);k.setStrokeColor(O.fill||"");k.setStrokeWidth(qa);k.setDashed(!1);this._drawToContext(I,R,O);k.setDashed(ka);k.setStrokeWidth(Z);k.setStrokeColor(X);k.setStrokeAlpha(ba)};t._drawToContext=function(I,R,O){I.begin();for(var X=0;X<R.ops.length;X++){var Z=R.ops[X],ba=Z.data;switch(Z.op){case "move":I.moveTo(ba[0],ba[1]);break;case "bcurveTo":I.curveTo(ba[0],ba[1],ba[2],ba[3],ba[4],ba[5]);break;case "lineTo":I.lineTo(ba[0],ba[1])}}I.end();
"fillPath"===R.type&&O.filled?I.fill():I.stroke()};return t};(function(){function k(X,Z,ba){this.canvas=X;this.rc=Z;this.shape=ba;this.canvas.setLineJoin("round");this.canvas.setLineCap("round");this.originalBegin=this.canvas.begin;this.canvas.begin=mxUtils.bind(this,k.prototype.begin);this.originalEnd=this.canvas.end;this.canvas.end=mxUtils.bind(this,k.prototype.end);this.originalRect=this.canvas.rect;this.canvas.rect=mxUtils.bind(this,k.prototype.rect);this.originalRoundrect=this.canvas.roundrect;
this.canvas.roundrect=mxUtils.bind(this,k.prototype.roundrect);this.originalEllipse=this.canvas.ellipse;this.canvas.ellipse=mxUtils.bind(this,k.prototype.ellipse);this.originalLineTo=this.canvas.lineTo;this.canvas.lineTo=mxUtils.bind(this,k.prototype.lineTo);this.originalMoveTo=this.canvas.moveTo;this.canvas.moveTo=mxUtils.bind(this,k.prototype.moveTo);this.originalQuadTo=this.canvas.quadTo;this.canvas.quadTo=mxUtils.bind(this,k.prototype.quadTo);this.originalCurveTo=this.canvas.curveTo;this.canvas.curveTo=
mxUtils.bind(this,k.prototype.curveTo);this.originalArcTo=this.canvas.arcTo;this.canvas.arcTo=mxUtils.bind(this,k.prototype.arcTo);this.originalClose=this.canvas.close;this.canvas.close=mxUtils.bind(this,k.prototype.close);this.originalFill=this.canvas.fill;this.canvas.fill=mxUtils.bind(this,k.prototype.fill);this.originalStroke=this.canvas.stroke;this.canvas.stroke=mxUtils.bind(this,k.prototype.stroke);this.originalFillAndStroke=this.canvas.fillAndStroke;this.canvas.fillAndStroke=mxUtils.bind(this,
-k.prototype.fillAndStroke);this.path=[];this.passThrough=!1}k.prototype.moveOp="M";k.prototype.lineOp="L";k.prototype.quadOp="Q";k.prototype.curveOp="C";k.prototype.closeOp="Z";k.prototype.getStyle=function(X,Z){var ba=1;if(null!=this.shape.state){var la=this.shape.state.cell.id;if(null!=la)for(var qa=0;qa<la.length;qa++)ba=(ba<<5)-ba+la.charCodeAt(qa)<<0}ba={strokeWidth:this.canvas.state.strokeWidth,seed:ba,preserveVertices:!0};la=this.rc.getDefaultOptions();ba.stroke=X?this.canvas.state.strokeColor===
-mxConstants.NONE?"transparent":this.canvas.state.strokeColor:mxConstants.NONE;X=null;(ba.filled=Z)?(ba.fill=this.canvas.state.fillColor===mxConstants.NONE?"":this.canvas.state.fillColor,X=this.canvas.state.gradientColor===mxConstants.NONE?null:this.canvas.state.gradientColor):ba.fill="";ba.bowing=mxUtils.getValue(this.shape.style,"bowing",la.bowing);ba.hachureAngle=mxUtils.getValue(this.shape.style,"hachureAngle",la.hachureAngle);ba.curveFitting=mxUtils.getValue(this.shape.style,"curveFitting",la.curveFitting);
-ba.roughness=mxUtils.getValue(this.shape.style,"jiggle",la.roughness);ba.simplification=mxUtils.getValue(this.shape.style,"simplification",la.simplification);ba.disableMultiStroke=mxUtils.getValue(this.shape.style,"disableMultiStroke",la.disableMultiStroke);ba.disableMultiStrokeFill=mxUtils.getValue(this.shape.style,"disableMultiStrokeFill",la.disableMultiStrokeFill);Z=mxUtils.getValue(this.shape.style,"hachureGap",-1);ba.hachureGap="auto"==Z?-1:Z;ba.dashGap=mxUtils.getValue(this.shape.style,"dashGap",
+k.prototype.fillAndStroke);this.path=[];this.passThrough=!1}k.prototype.moveOp="M";k.prototype.lineOp="L";k.prototype.quadOp="Q";k.prototype.curveOp="C";k.prototype.closeOp="Z";k.prototype.getStyle=function(X,Z){var ba=1;if(null!=this.shape.state){var ka=this.shape.state.cell.id;if(null!=ka)for(var qa=0;qa<ka.length;qa++)ba=(ba<<5)-ba+ka.charCodeAt(qa)<<0}ba={strokeWidth:this.canvas.state.strokeWidth,seed:ba,preserveVertices:!0};ka=this.rc.getDefaultOptions();ba.stroke=X?this.canvas.state.strokeColor===
+mxConstants.NONE?"transparent":this.canvas.state.strokeColor:mxConstants.NONE;X=null;(ba.filled=Z)?(ba.fill=this.canvas.state.fillColor===mxConstants.NONE?"":this.canvas.state.fillColor,X=this.canvas.state.gradientColor===mxConstants.NONE?null:this.canvas.state.gradientColor):ba.fill="";ba.bowing=mxUtils.getValue(this.shape.style,"bowing",ka.bowing);ba.hachureAngle=mxUtils.getValue(this.shape.style,"hachureAngle",ka.hachureAngle);ba.curveFitting=mxUtils.getValue(this.shape.style,"curveFitting",ka.curveFitting);
+ba.roughness=mxUtils.getValue(this.shape.style,"jiggle",ka.roughness);ba.simplification=mxUtils.getValue(this.shape.style,"simplification",ka.simplification);ba.disableMultiStroke=mxUtils.getValue(this.shape.style,"disableMultiStroke",ka.disableMultiStroke);ba.disableMultiStrokeFill=mxUtils.getValue(this.shape.style,"disableMultiStrokeFill",ka.disableMultiStrokeFill);Z=mxUtils.getValue(this.shape.style,"hachureGap",-1);ba.hachureGap="auto"==Z?-1:Z;ba.dashGap=mxUtils.getValue(this.shape.style,"dashGap",
Z);ba.dashOffset=mxUtils.getValue(this.shape.style,"dashOffset",Z);ba.zigzagOffset=mxUtils.getValue(this.shape.style,"zigzagOffset",Z);Z=mxUtils.getValue(this.shape.style,"fillWeight",-1);ba.fillWeight="auto"==Z?-1:Z;Z=mxUtils.getValue(this.shape.style,"fillStyle","auto");"dots"==Z&&(Z="auto");"auto"==Z&&(Z=[mxUtils.hex2rgb("#ffffff")],null!=this.shape.state&&Z.push(mxUtils.hex2rgb(this.shape.state.view.graph.shapeBackgroundColor)),Editor.isDarkMode()&&Z.push(mxUtils.hex2rgb(Editor.darkColor)),Z=
-null!=ba.fill&&(null!=X||0<=mxUtils.indexOf(Z,mxUtils.hex2rgb(ba.fill)))?"solid":la.fillStyle);ba.fillStyle=Z;return ba};k.prototype.begin=function(){this.passThrough?this.originalBegin.apply(this.canvas,arguments):this.path=[]};k.prototype.end=function(){this.passThrough&&this.originalEnd.apply(this.canvas,arguments)};k.prototype.addOp=function(){if(null!=this.path&&(this.path.push(arguments[0]),2<arguments.length))for(var X=2;X<arguments.length;X+=2)this.lastX=arguments[X-1],this.lastY=arguments[X],
+null!=ba.fill&&(null!=X||0<=mxUtils.indexOf(Z,mxUtils.hex2rgb(ba.fill)))?"solid":ka.fillStyle);ba.fillStyle=Z;return ba};k.prototype.begin=function(){this.passThrough?this.originalBegin.apply(this.canvas,arguments):this.path=[]};k.prototype.end=function(){this.passThrough&&this.originalEnd.apply(this.canvas,arguments)};k.prototype.addOp=function(){if(null!=this.path&&(this.path.push(arguments[0]),2<arguments.length))for(var X=2;X<arguments.length;X+=2)this.lastX=arguments[X-1],this.lastY=arguments[X],
this.path.push(this.canvas.format(this.lastX)),this.path.push(this.canvas.format(this.lastY))};k.prototype.lineTo=function(X,Z){this.passThrough?this.originalLineTo.apply(this.canvas,arguments):(this.addOp(this.lineOp,X,Z),this.lastX=X,this.lastY=Z)};k.prototype.moveTo=function(X,Z){this.passThrough?this.originalMoveTo.apply(this.canvas,arguments):(this.addOp(this.moveOp,X,Z),this.lastX=X,this.lastY=Z,this.firstX=X,this.firstY=Z)};k.prototype.close=function(){this.passThrough?this.originalClose.apply(this.canvas,
-arguments):this.addOp(this.closeOp)};k.prototype.quadTo=function(X,Z,ba,la){this.passThrough?this.originalQuadTo.apply(this.canvas,arguments):(this.addOp(this.quadOp,X,Z,ba,la),this.lastX=ba,this.lastY=la)};k.prototype.curveTo=function(X,Z,ba,la,qa,pa){this.passThrough?this.originalCurveTo.apply(this.canvas,arguments):(this.addOp(this.curveOp,X,Z,ba,la,qa,pa),this.lastX=qa,this.lastY=pa)};k.prototype.arcTo=function(X,Z,ba,la,qa,pa,ra){if(this.passThrough)this.originalArcTo.apply(this.canvas,arguments);
-else{var ua=mxUtils.arcToCurves(this.lastX,this.lastY,X,Z,ba,la,qa,pa,ra);if(null!=ua)for(var Ba=0;Ba<ua.length;Ba+=6)this.curveTo(ua[Ba],ua[Ba+1],ua[Ba+2],ua[Ba+3],ua[Ba+4],ua[Ba+5]);this.lastX=pa;this.lastY=ra}};k.prototype.rect=function(X,Z,ba,la){this.passThrough?this.originalRect.apply(this.canvas,arguments):(this.path=[],this.nextShape=this.rc.generator.rectangle(X,Z,ba,la,this.getStyle(!0,!0)))};k.prototype.ellipse=function(X,Z,ba,la){this.passThrough?this.originalEllipse.apply(this.canvas,
-arguments):(this.path=[],this.nextShape=this.rc.generator.ellipse(X+ba/2,Z+la/2,ba,la,this.getStyle(!0,!0)))};k.prototype.roundrect=function(X,Z,ba,la,qa,pa){this.passThrough?this.originalRoundrect.apply(this.canvas,arguments):(this.begin(),this.moveTo(X+qa,Z),this.lineTo(X+ba-qa,Z),this.quadTo(X+ba,Z,X+ba,Z+pa),this.lineTo(X+ba,Z+la-pa),this.quadTo(X+ba,Z+la,X+ba-qa,Z+la),this.lineTo(X+qa,Z+la),this.quadTo(X,Z+la,X,Z+la-pa),this.lineTo(X,Z+pa),this.quadTo(X,Z,X+qa,Z))};k.prototype.drawPath=function(X){if(0<
+arguments):this.addOp(this.closeOp)};k.prototype.quadTo=function(X,Z,ba,ka){this.passThrough?this.originalQuadTo.apply(this.canvas,arguments):(this.addOp(this.quadOp,X,Z,ba,ka),this.lastX=ba,this.lastY=ka)};k.prototype.curveTo=function(X,Z,ba,ka,qa,pa){this.passThrough?this.originalCurveTo.apply(this.canvas,arguments):(this.addOp(this.curveOp,X,Z,ba,ka,qa,pa),this.lastX=qa,this.lastY=pa)};k.prototype.arcTo=function(X,Z,ba,ka,qa,pa,ra){if(this.passThrough)this.originalArcTo.apply(this.canvas,arguments);
+else{var ua=mxUtils.arcToCurves(this.lastX,this.lastY,X,Z,ba,ka,qa,pa,ra);if(null!=ua)for(var Ba=0;Ba<ua.length;Ba+=6)this.curveTo(ua[Ba],ua[Ba+1],ua[Ba+2],ua[Ba+3],ua[Ba+4],ua[Ba+5]);this.lastX=pa;this.lastY=ra}};k.prototype.rect=function(X,Z,ba,ka){this.passThrough?this.originalRect.apply(this.canvas,arguments):(this.path=[],this.nextShape=this.rc.generator.rectangle(X,Z,ba,ka,this.getStyle(!0,!0)))};k.prototype.ellipse=function(X,Z,ba,ka){this.passThrough?this.originalEllipse.apply(this.canvas,
+arguments):(this.path=[],this.nextShape=this.rc.generator.ellipse(X+ba/2,Z+ka/2,ba,ka,this.getStyle(!0,!0)))};k.prototype.roundrect=function(X,Z,ba,ka,qa,pa){this.passThrough?this.originalRoundrect.apply(this.canvas,arguments):(this.begin(),this.moveTo(X+qa,Z),this.lineTo(X+ba-qa,Z),this.quadTo(X+ba,Z,X+ba,Z+pa),this.lineTo(X+ba,Z+ka-pa),this.quadTo(X+ba,Z+ka,X+ba-qa,Z+ka),this.lineTo(X+qa,Z+ka),this.quadTo(X,Z+ka,X,Z+ka-pa),this.lineTo(X,Z+pa),this.quadTo(X,Z,X+qa,Z))};k.prototype.drawPath=function(X){if(0<
this.path.length){this.passThrough=!0;try{this.rc.path(this.path.join(" "),X)}catch(ba){}this.passThrough=!1}else if(null!=this.nextShape){for(var Z in X)this.nextShape.options[Z]=X[Z];X.stroke!=mxConstants.NONE&&null!=X.stroke||delete this.nextShape.options.stroke;X.filled||delete this.nextShape.options.fill;this.passThrough=!0;this.rc.draw(this.nextShape);this.passThrough=!1}};k.prototype.stroke=function(){this.passThrough?this.originalStroke.apply(this.canvas,arguments):this.drawPath(this.getStyle(!0,
!1))};k.prototype.fill=function(){this.passThrough?this.originalFill.apply(this.canvas,arguments):this.drawPath(this.getStyle(!1,!0))};k.prototype.fillAndStroke=function(){this.passThrough?this.originalFillAndStroke.apply(this.canvas,arguments):this.drawPath(this.getStyle(!0,!0))};k.prototype.destroy=function(){this.canvas.lineTo=this.originalLineTo;this.canvas.moveTo=this.originalMoveTo;this.canvas.close=this.originalClose;this.canvas.quadTo=this.originalQuadTo;this.canvas.curveTo=this.originalCurveTo;
this.canvas.arcTo=this.originalArcTo;this.canvas.close=this.originalClose;this.canvas.fill=this.originalFill;this.canvas.stroke=this.originalStroke;this.canvas.fillAndStroke=this.originalFillAndStroke;this.canvas.begin=this.originalBegin;this.canvas.end=this.originalEnd;this.canvas.rect=this.originalRect;this.canvas.ellipse=this.originalEllipse;this.canvas.roundrect=this.originalRoundrect};mxShape.prototype.createRoughCanvas=function(X){return new k(X,Editor.createRoughCanvas(X),this)};var t=mxShape.prototype.createHandJiggle;
-mxShape.prototype.createHandJiggle=function(X){return this.outline||null==this.style||"0"==mxUtils.getValue(this.style,"sketch","0")?t.apply(this,arguments):"comic"==mxUtils.getValue(this.style,"sketchStyle","rough")?this.createComicCanvas(X):this.createRoughCanvas(X)};var I=mxImageShape.prototype.paintVertexShape;mxImageShape.prototype.paintVertexShape=function(X,Z,ba,la,qa){null!=X.handJiggle&&X.handJiggle.passThrough||I.apply(this,arguments)};var R=mxShape.prototype.paint;mxShape.prototype.paint=
-function(X){var Z=X.addTolerance,ba=!0;null!=this.style&&(ba="1"==mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1"));if(null!=X.handJiggle&&X.handJiggle.constructor==k&&!this.outline){X.save();var la=this.fill,qa=this.stroke;this.stroke=this.fill=null;var pa=this.configurePointerEvents,ra=X.setStrokeColor;X.setStrokeColor=function(){};var ua=X.setFillColor;X.setFillColor=function(){};ba||null==la||(this.configurePointerEvents=function(){});X.handJiggle.passThrough=!0;R.apply(this,
-arguments);X.handJiggle.passThrough=!1;X.setFillColor=ua;X.setStrokeColor=ra;this.configurePointerEvents=pa;this.stroke=qa;this.fill=la;X.restore();ba&&null!=la&&(X.addTolerance=function(){})}R.apply(this,arguments);X.addTolerance=Z};var O=mxShape.prototype.paintGlassEffect;mxShape.prototype.paintGlassEffect=function(X,Z,ba,la,qa,pa){null!=X.handJiggle&&X.handJiggle.constructor==k?(X.handJiggle.passThrough=!0,O.apply(this,arguments),X.handJiggle.passThrough=!1):O.apply(this,arguments)}})();Editor.fastCompress=
+mxShape.prototype.createHandJiggle=function(X){return this.outline||null==this.style||"0"==mxUtils.getValue(this.style,"sketch","0")?t.apply(this,arguments):"comic"==mxUtils.getValue(this.style,"sketchStyle","rough")?this.createComicCanvas(X):this.createRoughCanvas(X)};var I=mxImageShape.prototype.paintVertexShape;mxImageShape.prototype.paintVertexShape=function(X,Z,ba,ka,qa){null!=X.handJiggle&&X.handJiggle.passThrough||I.apply(this,arguments)};var R=mxShape.prototype.paint;mxShape.prototype.paint=
+function(X){var Z=X.addTolerance,ba=!0;null!=this.style&&(ba="1"==mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1"));if(null!=X.handJiggle&&X.handJiggle.constructor==k&&!this.outline){X.save();var ka=this.fill,qa=this.stroke;this.stroke=this.fill=null;var pa=this.configurePointerEvents,ra=X.setStrokeColor;X.setStrokeColor=function(){};var ua=X.setFillColor;X.setFillColor=function(){};ba||null==ka||(this.configurePointerEvents=function(){});X.handJiggle.passThrough=!0;R.apply(this,
+arguments);X.handJiggle.passThrough=!1;X.setFillColor=ua;X.setStrokeColor=ra;this.configurePointerEvents=pa;this.stroke=qa;this.fill=ka;X.restore();ba&&null!=ka&&(X.addTolerance=function(){})}R.apply(this,arguments);X.addTolerance=Z};var O=mxShape.prototype.paintGlassEffect;mxShape.prototype.paintGlassEffect=function(X,Z,ba,ka,qa,pa){null!=X.handJiggle&&X.handJiggle.constructor==k?(X.handJiggle.passThrough=!0,O.apply(this,arguments),X.handJiggle.passThrough=!1):O.apply(this,arguments)}})();Editor.fastCompress=
function(k){return null==k||0==k.length||"undefined"===typeof pako?k:Graph.arrayBufferToString(pako.deflateRaw(k))};Editor.fastDecompress=function(k){return null==k||0==k.length||"undefined"===typeof pako?k:pako.inflateRaw(Graph.stringToArrayBuffer(atob(k)),{to:"string"})};Editor.extractGraphModel=function(k,t,I){if(null!=k&&"undefined"!==typeof pako){var R=k.ownerDocument.getElementsByTagName("div"),O=[];if(null!=R&&0<R.length)for(var X=0;X<R.length;X++)if("mxgraph"==R[X].getAttribute("class")){O.push(R[X]);
break}0<O.length&&(R=O[0].getAttribute("data-mxgraph"),null!=R?(O=JSON.parse(R),null!=O&&null!=O.xml&&(k=mxUtils.parseXml(O.xml),k=k.documentElement)):(O=O[0].getElementsByTagName("div"),0<O.length&&(R=mxUtils.getTextContent(O[0]),R=Graph.decompress(R,null,I),0<R.length&&(k=mxUtils.parseXml(R),k=k.documentElement))))}if(null!=k&&"svg"==k.nodeName)if(R=k.getAttribute("content"),null!=R&&"<"!=R.charAt(0)&&"%"!=R.charAt(0)&&(R=unescape(window.atob?atob(R):Base64.decode(cont,R))),null!=R&&"%"==R.charAt(0)&&
(R=decodeURIComponent(R)),null!=R&&0<R.length)k=mxUtils.parseXml(R).documentElement;else throw{message:mxResources.get("notADiagramFile")};null==k||t||(O=null,"diagram"==k.nodeName?O=k:"mxfile"==k.nodeName&&(R=k.getElementsByTagName("diagram"),0<R.length&&(O=R[Math.max(0,Math.min(R.length-1,urlParams.page||0))])),null!=O&&(k=Editor.parseDiagramNode(O,I)));null==k||"mxGraphModel"==k.nodeName||t&&"mxfile"==k.nodeName||(k=null);return k};Editor.parseDiagramNode=function(k,t,I){Editor.validateDiagramNode(k);
var R=mxUtils.trim(mxUtils.getTextContent(k)),O=null;0<R.length?(t=Graph.decompress(R,null,t),null!=t&&0<t.length&&(O=mxUtils.parseXml(t).documentElement)):(k=mxUtils.getChildNodes(k),0<k.length&&(O=k[0],I&&(O=Editor.parseDiagramNode(O,t,!1)),t=mxUtils.createXmlDocument(),t.appendChild(t.importNode(O,!0)),O=t.documentElement));return O};Editor.getDiagramNodeXml=function(k){Editor.validateDiagramNode(k);var t=mxUtils.getNodeValue(k),I=null;0<t.length?I=Graph.decompress(t):(k=k.getElementsByTagName("mxGraphModel"),
null!=k&&0<k.length&&(I=mxUtils.getXml(k[0])));return I};Editor.validateDiagramNode=function(k){if(0==mxUtils.trim(mxUtils.getTextContent(k)).length&&0==mxUtils.getChildNodes(k).length){var t=new mxCodec,I=new mxGraphModel;k.appendChild(t.encode(I))}return k};Editor.extractGraphModelFromPdf=function(k){var t=null;k=k.substring(k.indexOf(",")+1);k=window.atob&&!mxClient.IS_SF?atob(k):Base64.decode(k,!0);if("%PDF-1.7"==k.substring(0,8)){var I=k.indexOf("EmbeddedFile");if(-1<I){var R=k.indexOf("stream",
I)+9;if(0<k.substring(I,R).indexOf("application#2Fvnd.jgraph.mxfile")){var O=k.indexOf("endstream",R-1);return pako.inflateRaw(Graph.stringToArrayBuffer(k.substring(R,O)),{to:"string"})}}for(I=k.indexOf("/ObjStm");0<I;){R=k.indexOf("stream",I)+9;O=k.indexOf("endstream",R-1);R=pako.inflateRaw(Graph.stringToArrayBuffer(k.substring(R,O)),{to:"string"});O=R.indexOf("/Subject <");if(0<O){I=R.substring(O+14,R.indexOf(">",O));if(null!=I){t=I;I=[];for(R=0;R<t.length;R+=2)O=t.substr(R,2),"00"!=O&&I.push(String.fromCharCode(parseInt(O,
-16)));t=I.join("")}break}I=k.indexOf("/ObjStm",I+1)}}if(null==t&&"%PDF-1.4"==k.substring(0,8)){I="";O=R=0;for(var X=[],Z=null;O<k.length;){var ba=k.charCodeAt(O);O+=1;10!=ba&&(I+=String.fromCharCode(ba));ba=="/Subject (%3Cmxfile".charCodeAt(R)?R++:R=0;if(19==R){var la=k.indexOf("%3C%2Fmxfile%3E",O)+15;O-=9;if(la>O){t=k.substring(O,la);break}}10==ba&&("endobj"==I?Z=null:"obj"==I.substring(I.length-3,I.length)||"xref"==I||"trailer"==I?(Z=[],X[I.split(" ")[0]]=Z):null!=Z&&Z.push(I),I="")}}null==t&&null!=
+16)));t=I.join("")}break}I=k.indexOf("/ObjStm",I+1)}}if(null==t&&"%PDF-1.4"==k.substring(0,8)){I="";O=R=0;for(var X=[],Z=null;O<k.length;){var ba=k.charCodeAt(O);O+=1;10!=ba&&(I+=String.fromCharCode(ba));ba=="/Subject (%3Cmxfile".charCodeAt(R)?R++:R=0;if(19==R){var ka=k.indexOf("%3C%2Fmxfile%3E",O)+15;O-=9;if(ka>O){t=k.substring(O,ka);break}}10==ba&&("endobj"==I?Z=null:"obj"==I.substring(I.length-3,I.length)||"xref"==I||"trailer"==I?(Z=[],X[I.split(" ")[0]]=Z):null!=Z&&Z.push(I),I="")}}null==t&&null!=
X&&(t=Editor.extractGraphModelFromXref(X));null!=t&&(t=decodeURIComponent(t.replace(/\\\(/g,"(").replace(/\\\)/g,")")));return t};Editor.extractGraphModelFromXref=function(k){var t=k.trailer,I=null;null!=t&&(t=/.* \/Info (\d+) (\d+) R/g.exec(t.join("\n")),null!=t&&0<t.length&&(t=k[t[1]],null!=t&&(t=/.* \/Subject (\d+) (\d+) R/g.exec(t.join("\n")),null!=t&&0<t.length&&(k=k[t[1]],null!=k&&(k=k.join("\n"),I=k.substring(1,k.length-1))))));return I};Editor.extractParserError=function(k,t){var I=null;k=
null!=k?k.getElementsByTagName("parsererror"):null;null!=k&&0<k.length&&(I=t||mxResources.get("invalidChars"),t=k[0].getElementsByTagName("div"),0<t.length&&(I=mxUtils.getTextContent(t[0])));return null!=I?mxUtils.trim(I):I};Editor.addRetryToError=function(k,t){null!=k&&(k=null!=k.error?k.error:k,null==k.retry&&(k.retry=t))};Editor.mermaidToDrawio=function(k,t,I){if("function"===typeof mxMermaidToDrawio)return mxMermaidToDrawio(k,t,I)};Editor.configure=function(k){if(null!=k){Editor.config=k;Editor.configVersion=
k.version;k.debug&&(urlParams.test="1");null!=k.defaultFonts&&(Menus.prototype.defaultFonts=k.defaultFonts);null!=k.presetColors&&(ColorDialog.prototype.presetColors=k.presetColors);null!=k.defaultColors&&(ColorDialog.prototype.defaultColors=k.defaultColors);null!=k.colorNames&&(ColorDialog.prototype.colorNames=k.colorNames);null!=k.defaultColorSchemes&&(StyleFormatPanel.prototype.defaultColorSchemes=k.defaultColorSchemes);null!=k.defaultEdgeLength&&(Graph.prototype.defaultEdgeLength=k.defaultEdgeLength);
@@ -3273,35 +3271,35 @@ k?k:!0;var I=e.apply(this,arguments);null!=this.graph.currentStyle&&"default-sty
"^"+O.url}),I.setAttribute("extFonts",R.join("|")));return I};Editor.prototype.isDataSvg=function(k){try{var t=mxUtils.parseXml(k).documentElement.getAttribute("content");if(null!=t&&(null!=t&&"<"!=t.charAt(0)&&"%"!=t.charAt(0)&&(t=unescape(window.atob?atob(t):Base64.decode(cont,t))),null!=t&&"%"==t.charAt(0)&&(t=decodeURIComponent(t)),null!=t&&0<t.length)){var I=mxUtils.parseXml(t).documentElement;return"mxfile"==I.nodeName||"mxGraphModel"==I.nodeName}}catch(R){}return!1};Editor.prototype.extractGraphModel=
function(k,t,I){return Editor.extractGraphModel.apply(this,arguments)};var g=Editor.prototype.resetGraph;Editor.prototype.resetGraph=function(){this.graph.mathEnabled="1"==urlParams.math;this.graph.view.x0=null;this.graph.view.y0=null;this.graph.useCssTransforms=!mxClient.NO_FO&&this.isChromelessView()&&this.graph.isCssTransformsSupported();this.graph.updateCssTransform();g.apply(this,arguments)};var n=Editor.prototype.updateGraphComponents;Editor.prototype.updateGraphComponents=function(){n.apply(this,
arguments);this.graph.useCssTransforms=!mxClient.NO_FO&&this.isChromelessView()&&this.graph.isCssTransformsSupported();this.graph.updateCssTransform()};Editor.initMath=function(k,t){if("undefined"===typeof window.MathJax&&!mxClient.IS_IE&&!mxClient.IS_IE11){var I=function(){R=null;if(0<Editor.mathJaxQueue.length)Editor.doMathJaxRender(Editor.mathJaxQueue.shift());else Editor.onMathJaxDone()};k=null!=k?k:DRAW_MATH_URL+"/startup.js";Editor.mathJaxQueue=[];var R=null;Editor.doMathJaxRender=function(Z){try{null==
-R?(MathJax.typesetClear([Z]),MathJax.typeset([Z]),I()):R!=Z&&Editor.mathJaxQueue.push(Z)}catch(ba){MathJax.typesetClear([Z]),null!=ba.retry?(R=Z,ba.retry.then(function(){MathJax.typesetPromise([Z]).then(I)["catch"](function(la){console.log("Error in MathJax.typesetPromise: "+la.toString());I()})})["catch"](function(la){console.log("Error in MathJax.retry: "+la.toString());I()})):null!=window.console&&console.log("Error in MathJax.typeset: "+ba.toString())}};window.MathJax=null!=t?t:{options:{skipHtmlTags:{"[+]":["text"]},
+R?(MathJax.typesetClear([Z]),MathJax.typeset([Z]),I()):R!=Z&&Editor.mathJaxQueue.push(Z)}catch(ba){MathJax.typesetClear([Z]),null!=ba.retry?(R=Z,ba.retry.then(function(){MathJax.typesetPromise([Z]).then(I)["catch"](function(ka){console.log("Error in MathJax.typesetPromise: "+ka.toString());I()})})["catch"](function(ka){console.log("Error in MathJax.retry: "+ka.toString());I()})):null!=window.console&&console.log("Error in MathJax.typeset: "+ba.toString())}};window.MathJax=null!=t?t:{options:{skipHtmlTags:{"[+]":["text"]},
ignoreHtmlClass:"geDisableMathJax"},loader:{load:["html"==urlParams["math-output"]?"output/chtml":"output/svg","input/tex","input/asciimath","ui/safe"]},startup:{pageReady:function(){for(var Z=0;Z<Editor.mathJaxQueue.length;Z++)Editor.doMathJaxRender(Editor.mathJaxQueue[Z])}}};Editor.MathJaxRender=function(Z){"undefined"!==typeof MathJax&&"function"===typeof MathJax.typeset?Editor.doMathJaxRender(Z):Editor.mathJaxQueue.push(Z)};Editor.onMathJaxDone=function(){};var O=Editor.prototype.init;Editor.prototype.init=
-function(){O.apply(this,arguments);var Z=mxUtils.bind(this,function(ba,la){null!=this.graph.container&&this.graph.mathEnabled&&Editor.MathJaxRender(this.graph.container)});this.graph.model.addListener(mxEvent.CHANGE,Z);this.graph.addListener(mxEvent.REFRESH,Z)};t=document.getElementsByTagName("script");if(null!=t&&0<t.length){var X=document.createElement("script");X.setAttribute("type","text/javascript");X.setAttribute("src",k);t[0].parentNode.appendChild(X)}}};Editor.prototype.csvToArray=function(k){if(0<
+function(){O.apply(this,arguments);var Z=mxUtils.bind(this,function(ba,ka){null!=this.graph.container&&this.graph.mathEnabled&&Editor.MathJaxRender(this.graph.container)});this.graph.model.addListener(mxEvent.CHANGE,Z);this.graph.addListener(mxEvent.REFRESH,Z)};t=document.getElementsByTagName("script");if(null!=t&&0<t.length){var X=document.createElement("script");X.setAttribute("type","text/javascript");X.setAttribute("src",k);t[0].parentNode.appendChild(X)}}};Editor.prototype.csvToArray=function(k){if(0<
k.length){var t="",I=[""],R=0,O=!0,X;k=$jscomp.makeIterator(k);for(X=k.next();!X.done;X=k.next())X=X.value,'"'===X?(O&&X===t&&(I[R]+=X),O=!O):","===X&&O?X=I[++R]="":I[R]+=X,t=X;return I}return[]};Editor.prototype.getProxiedUrl=function(k){if((/test\.draw\.io$/.test(window.location.hostname)||/app\.diagrams\.net$/.test(window.location.hostname))&&!this.isCorsEnabledForUrl(k)){var t=EditorUi.isVisioFilename(k);t=/\.png$/i.test(k)||/\.pdf$/i.test(k)||t;var I="t="+(new Date).getTime();k=PROXY_URL+"?url="+
encodeURIComponent(k)+"&"+I+(t?"&base64=1":"")}return k};Editor.prototype.isCorsEnabledForUrl=function(k){if(mxClient.IS_CHROMEAPP||EditorUi.isElectronApp||k.substring(0,window.location.origin.length)==window.location.origin)return!0;null!=urlParams.cors&&null==this.corsRegExp&&(this.corsRegExp=new RegExp(decodeURIComponent(urlParams.cors)));return null!=this.corsRegExp&&this.corsRegExp.test(k)||"https://raw.githubusercontent.com/"===k.substring(0,34)||"https://fonts.googleapis.com/"===k.substring(0,
29)||"https://fonts.gstatic.com/"===k.substring(0,26)};Editor.prototype.createImageUrlConverter=function(){var k=new mxUrlConverter;k.updateBaseUrl();var t=k.convert,I=this;k.convert=function(R){null!=R&&navigator.onLine&&("http://"!=R.substring(0,7)&&"https://"!=R.substring(0,8)||R.substring(0,k.baseUrl.length)==k.baseUrl||I.crossOriginImages&&I.isCorsEnabledForUrl(R)?"chrome-extension://"!=R.substring(0,19)&&(R=t.apply(this,arguments)):R=PROXY_URL+"?url="+encodeURIComponent(R));return R};return k};
Editor.createSvgDataUri=function(k){return"data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(k)))};Editor.prototype.convertImageToDataUri=function(k,t,I,R,O){try{var X=!0,Z=window.setTimeout(mxUtils.bind(this,function(){X=!1;t(k)}),this.timeout),ba=mxUtils.bind(this,function(){null!=R?this.convertImageToDataUri(k,t,I,R,!0):t(k)});if(/(\.svg)$/i.test(k)&&!O)mxUtils.get(k,mxUtils.bind(this,function(qa){window.clearTimeout(Z);X&&(200>qa.getStatus()||299<qa.getStatus()?ba():t(Editor.createSvgDataUri(qa.getText())))}),
-mxUtils.bind(this,function(){window.clearTimeout(Z);X&&ba()}));else{var la=new Image;this.crossOriginImages&&(la.crossOrigin="anonymous");la.onload=function(){window.clearTimeout(Z);if(X)try{R=null!=R&&O?R:1;var qa=document.createElement("canvas"),pa=qa.getContext("2d");pa.scale(R,R);qa.height=la.height*R;qa.width=la.width*R;pa.drawImage(la,0,0);t(qa.toDataURL())}catch(ra){t(k)}};la.onerror=function(){window.clearTimeout(Z);X&&(null!=I?I():t(k))};la.src=k}}catch(qa){null!=I?I():t(k)}};Editor.prototype.convertImages=
-function(k,t,I,R){function O(){0<X.length?X.shift()():t(k)}null==R&&(R=this.createImageUrlConverter());var X=[],Z=I||{};I=mxUtils.bind(this,function(ba,la){ba=k.getElementsByTagName(ba);for(var qa=0;qa<ba.length;qa++)mxUtils.bind(this,function(pa){X.push(mxUtils.bind(this,function(){try{if(null!=pa){var ra=R.convert(pa.getAttribute(la));if(null!=ra&&"data:"!=ra.substring(0,5)){var ua=Z[ra];null==ua?this.convertImageToDataUri(ra,function(Ba){null!=Ba&&(Z[ra]=Ba,pa.setAttribute(la,Ba));O()},null,Editor.svgRasterScale):
-(pa.setAttribute(la,ua),O())}else null!=ra&&pa.setAttribute(la,ra),O()}}catch(Ba){O()}}))})(ba[qa])});I("image","xlink:href");I("img","src");O()};Editor.base64Encode=function(k){for(var t="",I=0,R=k.length,O,X,Z;I<R;){O=k.charCodeAt(I++)&255;if(I==R){t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(O>>2);t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((O&3)<<4);t+="==";break}X=k.charCodeAt(I++);if(I==R){t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(O>>
+mxUtils.bind(this,function(){window.clearTimeout(Z);X&&ba()}));else{var ka=new Image;this.crossOriginImages&&(ka.crossOrigin="anonymous");ka.onload=function(){window.clearTimeout(Z);if(X)try{R=null!=R&&O?R:1;var qa=document.createElement("canvas"),pa=qa.getContext("2d");pa.scale(R,R);qa.height=ka.height*R;qa.width=ka.width*R;pa.drawImage(ka,0,0);t(qa.toDataURL())}catch(ra){t(k)}};ka.onerror=function(){window.clearTimeout(Z);X&&(null!=I?I():t(k))};ka.src=k}}catch(qa){null!=I?I():t(k)}};Editor.prototype.convertImages=
+function(k,t,I,R){function O(){0<X.length?X.shift()():t(k)}null==R&&(R=this.createImageUrlConverter());var X=[],Z=I||{};I=mxUtils.bind(this,function(ba,ka){ba=k.getElementsByTagName(ba);for(var qa=0;qa<ba.length;qa++)mxUtils.bind(this,function(pa){X.push(mxUtils.bind(this,function(){try{if(null!=pa){var ra=R.convert(pa.getAttribute(ka));if(null!=ra&&"data:"!=ra.substring(0,5)){var ua=Z[ra];null==ua?this.convertImageToDataUri(ra,function(Ba){null!=Ba&&(Z[ra]=Ba,pa.setAttribute(ka,Ba));O()},null,Editor.svgRasterScale):
+(pa.setAttribute(ka,ua),O())}else null!=ra&&pa.setAttribute(ka,ra),O()}}catch(Ba){O()}}))})(ba[qa])});I("image","xlink:href");I("img","src");O()};Editor.base64Encode=function(k){for(var t="",I=0,R=k.length,O,X,Z;I<R;){O=k.charCodeAt(I++)&255;if(I==R){t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(O>>2);t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((O&3)<<4);t+="==";break}X=k.charCodeAt(I++);if(I==R){t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(O>>
2);t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((O&3)<<4|(X&240)>>4);t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((X&15)<<2);t+="=";break}Z=k.charCodeAt(I++);t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(O>>2);t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((O&3)<<4|(X&240)>>4);t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((X&15)<<2|(Z&192)>>6);
-t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(Z&63)}return t};Editor.prototype.loadUrl=function(k,t,I,R,O,X,Z,ba){try{var la=!Z&&(R||/(\.png)($|\?)/i.test(k)||/(\.jpe?g)($|\?)/i.test(k)||/(\.gif)($|\?)/i.test(k)||/(\.pdf)($|\?)/i.test(k));O=null!=O?O:!0;var qa=mxUtils.bind(this,function(){mxUtils.get(k,mxUtils.bind(this,function(pa){if(200<=pa.getStatus()&&299>=pa.getStatus()){if(null!=t){var ra=pa.getText();if(la){if((9==document.documentMode||10==document.documentMode)&&
+t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(Z&63)}return t};Editor.prototype.loadUrl=function(k,t,I,R,O,X,Z,ba){try{var ka=!Z&&(R||/(\.png)($|\?)/i.test(k)||/(\.jpe?g)($|\?)/i.test(k)||/(\.gif)($|\?)/i.test(k)||/(\.pdf)($|\?)/i.test(k));O=null!=O?O:!0;var qa=mxUtils.bind(this,function(){mxUtils.get(k,mxUtils.bind(this,function(pa){if(200<=pa.getStatus()&&299>=pa.getStatus()){if(null!=t){var ra=pa.getText();if(ka){if((9==document.documentMode||10==document.documentMode)&&
"undefined"!==typeof window.mxUtilsBinaryToArray){pa=mxUtilsBinaryToArray(pa.request.responseBody).toArray();ra=Array(pa.length);for(var ua=0;ua<pa.length;ua++)ra[ua]=String.fromCharCode(pa[ua]);ra=ra.join("")}X=null!=X?X:"data:image/png;base64,";ra=X+Editor.base64Encode(ra)}t(ra)}}else null!=I&&(0==pa.getStatus()?I({message:mxResources.get("accessDenied")},pa):404==pa.getStatus()?I({message:mxResources.get("fileNotFound"),code:pa.getStatus()},pa):I({message:this.getErrorMessage(pa)},pa))}),function(pa){null!=
-I&&I({message:mxResources.get("error")+" "+pa.getStatus()})},la,this.timeout,function(){O&&null!=I&&I({code:App.ERROR_TIMEOUT,retry:qa})},ba)});qa()}catch(pa){null!=I&&I(pa)}};Editor.prototype.getErrorMessage=function(k){var t=mxResources.get("error")+" "+k.getStatus();try{var I=k.getText(),R=JSON.parse(I);null!=R&&null!=R.error&&null!=R.error.message&&(t=R.error.message+" ("+t+")")}catch(O){}return t};Editor.prototype.absoluteCssFonts=function(k){var t=null;if(null!=k){var I=k.split("url(");if(0<
+I&&I({message:mxResources.get("error")+" "+pa.getStatus()})},ka,this.timeout,function(){O&&null!=I&&I({code:App.ERROR_TIMEOUT,retry:qa})},ba)});qa()}catch(pa){null!=I&&I(pa)}};Editor.prototype.getErrorMessage=function(k){var t=mxResources.get("error")+" "+k.getStatus();try{var I=k.getText(),R=JSON.parse(I);null!=R&&null!=R.error&&null!=R.error.message&&(t=R.error.message+" ("+t+")")}catch(O){}return t};Editor.prototype.absoluteCssFonts=function(k){var t=null;if(null!=k){var I=k.split("url(");if(0<
I.length){t=[I[0]];k=window.location.pathname;var R=null!=k?k.lastIndexOf("/"):-1;0<=R&&(k=k.substring(0,R+1));R=document.getElementsByTagName("base");var O=null;null!=R&&0<R.length&&(O=R[0].getAttribute("href"));for(var X=1;X<I.length;X++)if(R=I[X].indexOf(")"),0<R){var Z=Editor.trimCssUrl(I[X].substring(0,R));this.graph.isRelativeUrl(Z)&&(Z=null!=O?O+Z:window.location.protocol+"//"+window.location.hostname+("/"==Z.charAt(0)?"":k)+Z);t.push('url("'+Z+'"'+I[X].substring(R))}else t.push(I[X])}else t=
-[k]}return null!=t?t.join(""):null};Editor.prototype.mapFontUrl=function(k,t,I){/^https?:\/\//.test(t)&&!this.isCorsEnabledForUrl(t)&&(t=PROXY_URL+"?url="+encodeURIComponent(t));I(k,t)};Editor.prototype.embedCssFonts=function(k,t){var I=k.split("url("),R=0;null==this.cachedFonts&&(this.cachedFonts={});var O=mxUtils.bind(this,function(){if(0==R){for(var la=[I[0]],qa=1;qa<I.length;qa++){var pa=I[qa].indexOf(")");la.push('url("');la.push(this.cachedFonts[Editor.trimCssUrl(I[qa].substring(0,pa))]);la.push('"'+
-I[qa].substring(pa))}t(la.join(""))}});if(0<I.length){for(k=1;k<I.length;k++){var X=I[k].indexOf(")"),Z=null,ba=I[k].indexOf("format(",X);0<ba&&(Z=Editor.trimCssUrl(I[k].substring(ba+7,I[k].indexOf(")",ba))));mxUtils.bind(this,function(la){if(null==this.cachedFonts[la]){this.cachedFonts[la]=la;R++;var qa="application/x-font-ttf";if("svg"==Z||/(\.svg)($|\?)/i.test(la))qa="image/svg+xml";else if("otf"==Z||"embedded-opentype"==Z||/(\.otf)($|\?)/i.test(la))qa="application/x-font-opentype";else if("woff"==
-Z||/(\.woff)($|\?)/i.test(la))qa="application/font-woff";else if("woff2"==Z||/(\.woff2)($|\?)/i.test(la))qa="application/font-woff2";else if("eot"==Z||/(\.eot)($|\?)/i.test(la))qa="application/vnd.ms-fontobject";else if("sfnt"==Z||/(\.sfnt)($|\?)/i.test(la))qa="application/font-sfnt";this.mapFontUrl(qa,la,mxUtils.bind(this,function(pa,ra){this.loadUrl(ra,mxUtils.bind(this,function(ua){this.cachedFonts[la]=ua;R--;O()}),mxUtils.bind(this,function(ua){R--;O()}),!0,null,"data:"+pa+";charset=utf-8;base64,")}))}})(Editor.trimCssUrl(I[k].substring(0,
+[k]}return null!=t?t.join(""):null};Editor.prototype.mapFontUrl=function(k,t,I){/^https?:\/\//.test(t)&&!this.isCorsEnabledForUrl(t)&&(t=PROXY_URL+"?url="+encodeURIComponent(t));I(k,t)};Editor.prototype.embedCssFonts=function(k,t){var I=k.split("url("),R=0;null==this.cachedFonts&&(this.cachedFonts={});var O=mxUtils.bind(this,function(){if(0==R){for(var ka=[I[0]],qa=1;qa<I.length;qa++){var pa=I[qa].indexOf(")");ka.push('url("');ka.push(this.cachedFonts[Editor.trimCssUrl(I[qa].substring(0,pa))]);ka.push('"'+
+I[qa].substring(pa))}t(ka.join(""))}});if(0<I.length){for(k=1;k<I.length;k++){var X=I[k].indexOf(")"),Z=null,ba=I[k].indexOf("format(",X);0<ba&&(Z=Editor.trimCssUrl(I[k].substring(ba+7,I[k].indexOf(")",ba))));mxUtils.bind(this,function(ka){if(null==this.cachedFonts[ka]){this.cachedFonts[ka]=ka;R++;var qa="application/x-font-ttf";if("svg"==Z||/(\.svg)($|\?)/i.test(ka))qa="image/svg+xml";else if("otf"==Z||"embedded-opentype"==Z||/(\.otf)($|\?)/i.test(ka))qa="application/x-font-opentype";else if("woff"==
+Z||/(\.woff)($|\?)/i.test(ka))qa="application/font-woff";else if("woff2"==Z||/(\.woff2)($|\?)/i.test(ka))qa="application/font-woff2";else if("eot"==Z||/(\.eot)($|\?)/i.test(ka))qa="application/vnd.ms-fontobject";else if("sfnt"==Z||/(\.sfnt)($|\?)/i.test(ka))qa="application/font-sfnt";this.mapFontUrl(qa,ka,mxUtils.bind(this,function(pa,ra){this.loadUrl(ra,mxUtils.bind(this,function(ua){this.cachedFonts[ka]=ua;R--;O()}),mxUtils.bind(this,function(ua){R--;O()}),!0,null,"data:"+pa+";charset=utf-8;base64,")}))}})(Editor.trimCssUrl(I[k].substring(0,
X)),Z)}O()}else t(k)};Editor.prototype.loadFonts=function(k){null!=this.fontCss&&null==this.resolvedFontCss?this.embedCssFonts(this.fontCss,mxUtils.bind(this,function(t){this.resolvedFontCss=t;null!=k&&k()})):null!=k&&k()};Editor.prototype.createGoogleFontCache=function(){var k={},t;for(t in Graph.fontMapping)Graph.isCssFontUrl(t)&&(k[t]=Graph.fontMapping[t]);return k};Editor.prototype.embedExtFonts=function(k){var t=this.graph.getCustomFonts();if(0<t.length){var I=[],R=0;null==this.cachedGoogleFonts&&
-(this.cachedGoogleFonts=this.createGoogleFontCache());for(var O=mxUtils.bind(this,function(){0==R&&this.embedCssFonts(I.join(""),k)}),X=0;X<t.length;X++)mxUtils.bind(this,function(Z,ba){Graph.isCssFontUrl(ba)?null==this.cachedGoogleFonts[ba]?(R++,this.loadUrl(Graph.rewriteGoogleFontUrl(ba),mxUtils.bind(this,function(la){this.cachedGoogleFonts[ba]=la;I.push(la+"\n");R--;O()}),mxUtils.bind(this,function(la){R--;I.push("@import url("+ba+");\n");O()}))):I.push(this.cachedGoogleFonts[ba]+"\n"):I.push('@font-face {font-family: "'+
+(this.cachedGoogleFonts=this.createGoogleFontCache());for(var O=mxUtils.bind(this,function(){0==R&&this.embedCssFonts(I.join(""),k)}),X=0;X<t.length;X++)mxUtils.bind(this,function(Z,ba){Graph.isCssFontUrl(ba)?null==this.cachedGoogleFonts[ba]?(R++,this.loadUrl(Graph.rewriteGoogleFontUrl(ba),mxUtils.bind(this,function(ka){this.cachedGoogleFonts[ba]=ka;I.push(ka+"\n");R--;O()}),mxUtils.bind(this,function(ka){R--;I.push("@import url("+ba+");\n");O()}))):I.push(this.cachedGoogleFonts[ba]+"\n"):I.push('@font-face {font-family: "'+
Z+'";src: url("'+ba+'")}\n')})(t[X].name,t[X].url);O()}else k()};Editor.prototype.addMathCss=function(k){k=k.getElementsByTagName("defs");if(null!=k&&0<k.length)for(var t=document.getElementsByTagName("style"),I=0;I<t.length;I++){var R=mxUtils.getTextContent(t[I]);0>R.indexOf("mxPageSelector")&&0<R.indexOf("MathJax")&&k[0].appendChild(t[I].cloneNode(!0))}};Editor.prototype.addFontCss=function(k,t){t=null!=t?t:this.absoluteCssFonts(this.fontCss);if(null!=t){var I=mxUtils.getSvgDefs(k),R=t.split("\n");
t=[];for(var O=[],X=0;X<R.length;X++)"@import"==R[X].substring(0,7)?t.push(R[X]):O.push(R[X]);k=k.ownerDocument;k=null!=k.createElementNS?k.createElementNS(mxConstants.NS_SVG,"style"):k.createElement("style");k.setAttribute("type","text/css");0<t.length&&(mxUtils.setTextContent(k,t.join("\n")),I.appendChild(k));0<O.length&&(k=k.cloneNode(!1),mxUtils.setTextContent(k,O.join("\n")),I.appendChild(k))}};Editor.prototype.isExportToCanvas=function(){return mxClient.IS_CHROMEAPP||this.useCanvasForExport};
-Editor.prototype.getMaxCanvasScale=function(k,t,I){var R=mxClient.IS_FF?8192:16384;return Math.min(I,Math.min(R/k,R/t))};Editor.prototype.exportToCanvas=function(k,t,I,R,O,X,Z,ba,la,qa,pa,ra,ua,Ba,ya,Aa,Na,va){try{X=null!=X?X:!0;Z=null!=Z?Z:!0;ra=null!=ra?ra:this.graph;ua=null!=ua?ua:0;var Da=la?null:ra.background;Da==mxConstants.NONE&&(Da=null);null==Da&&(Da=R);null==Da&&0==la&&(Da="dark"==Aa?Editor.darkColor:"#ffffff");this.convertImages(ra.getSvg(null,null,ua,Ba,null,Z,null,null,null,qa,null,Aa,
-Na,va),mxUtils.bind(this,function(Ha){try{var La=new Image;La.onload=mxUtils.bind(this,function(){try{var za=function(){mxClient.IS_SF?window.setTimeout(function(){Ma.drawImage(La,0,0);k(Ra,Ha)},0):(Ma.drawImage(La,0,0),k(Ra,Ha))},Ra=document.createElement("canvas"),Ja=parseInt(Ha.getAttribute("width")),Qa=parseInt(Ha.getAttribute("height"));ba=null!=ba?ba:1;null!=t&&(ba=X?Math.min(1,Math.min(3*t/(4*Qa),t/Ja)):t/Ja);ba=this.getMaxCanvasScale(Ja,Qa,ba);Ja=Math.ceil(ba*Ja);Qa=Math.ceil(ba*Qa);Ra.setAttribute("width",
-Ja);Ra.setAttribute("height",Qa);var Ma=Ra.getContext("2d");null!=Da&&(Ma.beginPath(),Ma.rect(0,0,Ja,Qa),Ma.fillStyle=Da,Ma.fill());1!=ba&&Ma.scale(ba,ba);if(ya){var u=ra.view,N=u.scale;u.scale=1;var Q=btoa(unescape(encodeURIComponent(u.createSvgGrid(u.gridColor))));u.scale=N;Q="data:image/svg+xml;base64,"+Q;var Y=ra.gridSize*u.gridSteps*ba,ia=ra.getGraphBounds(),ja=u.translate.x*N,oa=u.translate.y*N,ta=ja+(ia.x-ja)/N-ua,sa=oa+(ia.y-oa)/N-ua,xa=new Image;xa.onload=function(){try{for(var Ca=-Math.round(Y-
-mxUtils.mod((ja-ta)*ba,Y)),Oa=-Math.round(Y-mxUtils.mod((oa-sa)*ba,Y));Ca<Ja;Ca+=Y)for(var Wa=Oa;Wa<Qa;Wa+=Y)Ma.drawImage(xa,Ca/ba,Wa/ba);za()}catch(Za){null!=O&&O(Za)}};xa.onerror=function(Ca){null!=O&&O(Ca)};xa.src=Q}else za()}catch(Ca){null!=O&&O(Ca)}});La.onerror=function(za){null!=O&&O(za)};qa&&this.graph.addSvgShadow(Ha);this.graph.mathEnabled&&this.addMathCss(Ha);var Ea=mxUtils.bind(this,function(){try{null!=this.resolvedFontCss&&this.addFontCss(Ha,this.resolvedFontCss),La.src=Editor.createSvgDataUri(mxUtils.getXml(Ha))}catch(za){null!=
-O&&O(za)}});this.embedExtFonts(mxUtils.bind(this,function(za){try{null!=za&&this.addFontCss(Ha,za),this.loadFonts(Ea)}catch(Ra){null!=O&&O(Ra)}}))}catch(za){null!=O&&O(za)}}),I,pa)}catch(Ha){null!=O&&O(Ha)}};Editor.crcTable=[];for(var v=0;256>v;v++)for(var q=v,C=0;8>C;C++)q=1==(q&1)?3988292384^q>>>1:q>>>1,Editor.crcTable[v]=q;Editor.updateCRC=function(k,t,I,R){for(var O=0;O<R;O++)k=Editor.crcTable[(k^t.charCodeAt(I+O))&255]^k>>>8;return k};Editor.crc32=function(k){for(var t=-1,I=0;I<k.length;I++)t=
-t>>>8^Editor.crcTable[(t^k.charCodeAt(I))&255];return(t^-1)>>>0};Editor.writeGraphModelToPng=function(k,t,I,R,O){function X(pa,ra){var ua=la;la+=ra;return pa.substring(ua,la)}function Z(pa){pa=X(pa,4);return pa.charCodeAt(3)+(pa.charCodeAt(2)<<8)+(pa.charCodeAt(1)<<16)+(pa.charCodeAt(0)<<24)}function ba(pa){return String.fromCharCode(pa>>24&255,pa>>16&255,pa>>8&255,pa&255)}k=k.substring(k.indexOf(",")+1);k=window.atob?atob(k):Base64.decode(k,!0);var la=0;if(X(k,8)!=String.fromCharCode(137)+"PNG"+
-String.fromCharCode(13,10,26,10))null!=O&&O();else if(X(k,4),"IHDR"!=X(k,4))null!=O&&O();else{X(k,17);O=k.substring(0,la);do{var qa=Z(k);if("IDAT"==X(k,4)){O=k.substring(0,la-8);"pHYs"==t&&"dpi"==I?(I=Math.round(R/.0254),I=ba(I)+ba(I)+String.fromCharCode(1)):I=I+String.fromCharCode(0)+("zTXt"==t?String.fromCharCode(0):"")+R;R=4294967295;R=Editor.updateCRC(R,t,0,4);R=Editor.updateCRC(R,I,0,I.length);O+=ba(I.length)+t+I+ba(R^4294967295);O+=k.substring(la-8,k.length);break}O+=k.substring(la-8,la-4+qa);
+Editor.prototype.getMaxCanvasScale=function(k,t,I){var R=mxClient.IS_FF?8192:16384;return Math.min(I,Math.min(R/k,R/t))};Editor.prototype.exportToCanvas=function(k,t,I,R,O,X,Z,ba,ka,qa,pa,ra,ua,Ba,xa,Aa,Na,va){try{X=null!=X?X:!0;Z=null!=Z?Z:!0;ra=null!=ra?ra:this.graph;ua=null!=ua?ua:0;var Ca=ka?null:ra.background;Ca==mxConstants.NONE&&(Ca=null);null==Ca&&(Ca=R);null==Ca&&0==ka&&(Ca="dark"==Aa?Editor.darkColor:"#ffffff");this.convertImages(ra.getSvg(null,null,ua,Ba,null,Z,null,null,null,qa,null,Aa,
+Na,va),mxUtils.bind(this,function(Ga){try{var La=new Image;La.onload=mxUtils.bind(this,function(){try{var za=function(){mxClient.IS_SF?window.setTimeout(function(){Ma.drawImage(La,0,0);k(Ra,Ga)},0):(Ma.drawImage(La,0,0),k(Ra,Ga))},Ra=document.createElement("canvas"),Ja=parseInt(Ga.getAttribute("width")),Qa=parseInt(Ga.getAttribute("height"));ba=null!=ba?ba:1;null!=t&&(ba=X?Math.min(1,Math.min(3*t/(4*Qa),t/Ja)):t/Ja);ba=this.getMaxCanvasScale(Ja,Qa,ba);Ja=Math.ceil(ba*Ja);Qa=Math.ceil(ba*Qa);Ra.setAttribute("width",
+Ja);Ra.setAttribute("height",Qa);var Ma=Ra.getContext("2d");null!=Ca&&(Ma.beginPath(),Ma.rect(0,0,Ja,Qa),Ma.fillStyle=Ca,Ma.fill());1!=ba&&Ma.scale(ba,ba);if(xa){var u=ra.view,N=u.scale;u.scale=1;var Q=btoa(unescape(encodeURIComponent(u.createSvgGrid(u.gridColor))));u.scale=N;Q="data:image/svg+xml;base64,"+Q;var Y=ra.gridSize*u.gridSteps*ba,ia=ra.getGraphBounds(),la=u.translate.x*N,oa=u.translate.y*N,ta=la+(ia.x-la)/N-ua,sa=oa+(ia.y-oa)/N-ua,ya=new Image;ya.onload=function(){try{for(var Ha=-Math.round(Y-
+mxUtils.mod((la-ta)*ba,Y)),Oa=-Math.round(Y-mxUtils.mod((oa-sa)*ba,Y));Ha<Ja;Ha+=Y)for(var Wa=Oa;Wa<Qa;Wa+=Y)Ma.drawImage(ya,Ha/ba,Wa/ba);za()}catch(Za){null!=O&&O(Za)}};ya.onerror=function(Ha){null!=O&&O(Ha)};ya.src=Q}else za()}catch(Ha){null!=O&&O(Ha)}});La.onerror=function(za){null!=O&&O(za)};qa&&this.graph.addSvgShadow(Ga);this.graph.mathEnabled&&this.addMathCss(Ga);var Da=mxUtils.bind(this,function(){try{null!=this.resolvedFontCss&&this.addFontCss(Ga,this.resolvedFontCss),La.src=Editor.createSvgDataUri(mxUtils.getXml(Ga))}catch(za){null!=
+O&&O(za)}});this.embedExtFonts(mxUtils.bind(this,function(za){try{null!=za&&this.addFontCss(Ga,za),this.loadFonts(Da)}catch(Ra){null!=O&&O(Ra)}}))}catch(za){null!=O&&O(za)}}),I,pa)}catch(Ga){null!=O&&O(Ga)}};Editor.crcTable=[];for(var v=0;256>v;v++)for(var q=v,C=0;8>C;C++)q=1==(q&1)?3988292384^q>>>1:q>>>1,Editor.crcTable[v]=q;Editor.updateCRC=function(k,t,I,R){for(var O=0;O<R;O++)k=Editor.crcTable[(k^t.charCodeAt(I+O))&255]^k>>>8;return k};Editor.crc32=function(k){for(var t=-1,I=0;I<k.length;I++)t=
+t>>>8^Editor.crcTable[(t^k.charCodeAt(I))&255];return(t^-1)>>>0};Editor.writeGraphModelToPng=function(k,t,I,R,O){function X(pa,ra){var ua=ka;ka+=ra;return pa.substring(ua,ka)}function Z(pa){pa=X(pa,4);return pa.charCodeAt(3)+(pa.charCodeAt(2)<<8)+(pa.charCodeAt(1)<<16)+(pa.charCodeAt(0)<<24)}function ba(pa){return String.fromCharCode(pa>>24&255,pa>>16&255,pa>>8&255,pa&255)}k=k.substring(k.indexOf(",")+1);k=window.atob?atob(k):Base64.decode(k,!0);var ka=0;if(X(k,8)!=String.fromCharCode(137)+"PNG"+
+String.fromCharCode(13,10,26,10))null!=O&&O();else if(X(k,4),"IHDR"!=X(k,4))null!=O&&O();else{X(k,17);O=k.substring(0,ka);do{var qa=Z(k);if("IDAT"==X(k,4)){O=k.substring(0,ka-8);"pHYs"==t&&"dpi"==I?(I=Math.round(R/.0254),I=ba(I)+ba(I)+String.fromCharCode(1)):I=I+String.fromCharCode(0)+("zTXt"==t?String.fromCharCode(0):"")+R;R=4294967295;R=Editor.updateCRC(R,t,0,4);R=Editor.updateCRC(R,I,0,I.length);O+=ba(I.length)+t+I+ba(R^4294967295);O+=k.substring(ka-8,k.length);break}O+=k.substring(ka-8,ka-4+qa);
X(k,qa);X(k,4)}while(qa);return"data:image/png;base64,"+(window.btoa?btoa(O):Base64.encode(O,!0))}};if(window.ColorDialog){FilenameDialog.filenameHelpLink="https://www.drawio.com/doc/faq/save-file-formats";var H=ColorDialog.addRecentColor;ColorDialog.addRecentColor=function(k,t){H.apply(this,arguments);mxSettings.setRecentColors(ColorDialog.recentColors);mxSettings.save()};var U=ColorDialog.resetRecentColors;ColorDialog.resetRecentColors=function(){U.apply(this,arguments);mxSettings.setRecentColors(ColorDialog.recentColors);
mxSettings.save()}}"undefined"!==typeof window.EditDataDialog&&(EditDataDialog.getDisplayIdForCell=function(k,t){var I=null;null!=k.editor.graph.getModel().getParent(t)?I=t.getId():null!=k.currentPage&&(I=k.currentPage.getId());return I});if(null!=window.StyleFormatPanel){var F=Format.prototype.init;Format.prototype.init=function(){F.apply(this,arguments);this.editorUi.editor.addListener("fileLoaded",this.update)};var K=Format.prototype.refresh;Format.prototype.refresh=function(){null!=this.editorUi.getCurrentFile()||
"1"==urlParams.embed||this.editorUi.editor.chromeless?K.apply(this,arguments):this.clear()};DiagramFormatPanel.prototype.isMathOptionVisible=function(k){return"simple"==Editor.currentTheme||"sketch"==Editor.currentTheme||"min"==Editor.currentTheme};var S=DiagramFormatPanel.prototype.addOptions;DiagramFormatPanel.prototype.addOptions=function(k){k=S.apply(this,arguments);var t=this.editorUi,I=t.editor.graph;if(I.isEnabled()){var R=t.getCurrentFile();null!=R&&R.isAutosaveOptional()&&k.appendChild(this.createOption(mxResources.get("autosave"),
@@ -3329,38 +3327,38 @@ defVal:"none",enumList:[{val:"none",dispName:"Default"},{val:"umlActor",dispName
stroke:"#3700CC",font:"#ffffff"},{fill:"#d80073",stroke:"#A50040",font:"#ffffff"},{fill:"#a20025",stroke:"#6F0000",font:"#ffffff"}],[{fill:"#e51400",stroke:"#B20000",font:"#ffffff"},{fill:"#fa6800",stroke:"#C73500",font:"#000000"},{fill:"#f0a30a",stroke:"#BD7000",font:"#000000"},{fill:"#e3c800",stroke:"#B09500",font:"#000000"},{fill:"#6d8764",stroke:"#3A5431",font:"#ffffff"},{fill:"#647687",stroke:"#314354",font:"#ffffff"},{fill:"#76608a",stroke:"#432D57",font:"#ffffff"},{fill:"#a0522d",stroke:"#6D1F00",
font:"#ffffff"}],[{fill:"",stroke:""},{fill:mxConstants.NONE,stroke:""},{fill:"#fad7ac",stroke:"#b46504"},{fill:"#fad9d5",stroke:"#ae4132"},{fill:"#b0e3e6",stroke:"#0e8088"},{fill:"#b1ddf0",stroke:"#10739e"},{fill:"#d0cee2",stroke:"#56517e"},{fill:"#bac8d3",stroke:"#23445d"}],[{fill:"",stroke:""},{fill:"#f5f5f5",stroke:"#666666",gradient:"#b3b3b3"},{fill:"#dae8fc",stroke:"#6c8ebf",gradient:"#7ea6e0"},{fill:"#d5e8d4",stroke:"#82b366",gradient:"#97d077"},{fill:"#ffcd28",stroke:"#d79b00",gradient:"#ffa500"},
{fill:"#fff2cc",stroke:"#d6b656",gradient:"#ffd966"},{fill:"#f8cecc",stroke:"#b85450",gradient:"#ea6b66"},{fill:"#e6d0de",stroke:"#996185",gradient:"#d5739d"}],[{fill:"",stroke:""},{fill:"#eeeeee",stroke:"#36393d"},{fill:"#f9f7ed",stroke:"#36393d"},{fill:"#ffcc99",stroke:"#36393d"},{fill:"#cce5ff",stroke:"#36393d"},{fill:"#ffff88",stroke:"#36393d"},{fill:"#cdeb8b",stroke:"#36393d"},{fill:"#ffcccc",stroke:"#36393d"}]];StyleFormatPanel.prototype.customColorSchemes=null;StyleFormatPanel.prototype.findCommonProperties=
-function(k,t,I){if(null!=t){var R=function(X){if(null!=X)if(I)for(var Z=0;Z<X.length;Z++)t[X[Z].name]=X[Z];else for(var ba in t){var la=!1;for(Z=0;Z<X.length;Z++)if(X[Z].name==ba&&X[Z].type==t[ba].type){la=!0;break}la||delete t[ba]}},O=this.editorUi.editor.graph.view.getState(k);null!=O&&null!=O.shape&&(O.shape.commonCustomPropAdded||(O.shape.commonCustomPropAdded=!0,O.shape.customProperties=O.shape.customProperties||[],O.cell.vertex?Array.prototype.push.apply(O.shape.customProperties,Editor.commonVertexProperties):
+function(k,t,I){if(null!=t){var R=function(X){if(null!=X)if(I)for(var Z=0;Z<X.length;Z++)t[X[Z].name]=X[Z];else for(var ba in t){var ka=!1;for(Z=0;Z<X.length;Z++)if(X[Z].name==ba&&X[Z].type==t[ba].type){ka=!0;break}ka||delete t[ba]}},O=this.editorUi.editor.graph.view.getState(k);null!=O&&null!=O.shape&&(O.shape.commonCustomPropAdded||(O.shape.commonCustomPropAdded=!0,O.shape.customProperties=O.shape.customProperties||[],O.cell.vertex?Array.prototype.push.apply(O.shape.customProperties,Editor.commonVertexProperties):
Array.prototype.push.apply(O.shape.customProperties,Editor.commonEdgeProperties)),R(O.shape.customProperties));k=k.getAttribute("customProperties");if(null!=k)try{R(JSON.parse(k))}catch(X){}}};var W=StyleFormatPanel.prototype.init;StyleFormatPanel.prototype.init=function(){var k=this.editorUi.getSelectionState();null!=this.defaultColorSchemes&&0<this.defaultColorSchemes.length&&"image"!=k.style.shape&&!k.containsLabel&&0<k.cells.length&&this.container.appendChild(this.addStyles(this.createPanel()));
W.apply(this,arguments);if(Editor.enableCustomProperties){for(var t={},I=k.vertices,R=k.edges,O=0;O<I.length;O++)this.findCommonProperties(I[O],t,0==O);for(O=0;O<R.length;O++)this.findCommonProperties(R[O],t,0==I.length&&0==O);null!=Object.getOwnPropertyNames&&0<Object.getOwnPropertyNames(t).length&&this.container.appendChild(this.addProperties(this.createPanel(),t,k))}};var c=StyleFormatPanel.prototype.addStyleOps;StyleFormatPanel.prototype.addStyleOps=function(k){var t=this.editorUi.getSelectionState();
-1==t.cells.length?this.addActions(k,["copyStyle","pasteStyle"]):1<=t.cells.length&&this.addActions(k,["pasteStyle","pasteData"]);c.apply(this,arguments);return k};EditorUi.prototype.propertiesCollapsed=!0;BaseFormatPanel.prototype.addProperties=function(k,t,I,R){function O(Ma,u,N,Q,Y){if(null!=N.valueChanged)N.valueChanged(u,Y);else{ua.getModel().beginUpdate();try{Y=[];var ia=[];if(null!=N.index){for(var ja=[],oa=N.parentRow.nextSibling;oa&&oa.getAttribute("data-pName")==Ma;)ja.push(oa.getAttribute("data-pValue")),
-oa=oa.nextSibling;N.index<ja.length?null!=Q?ja.splice(Q,1):ja[N.index]=u:ja.push(u);null!=N.size&&ja.length>N.size&&(ja=ja.slice(0,N.size));u=ja.join(",");null!=N.countProperty&&(ua.setCellStyles(N.countProperty,ja.length,ua.getSelectionCells()),Y.push(N.countProperty),ia.push(ja.length))}ua.setCellStyles(Ma,u,ua.getSelectionCells());Y.push(Ma);ia.push(u);if(null!=N.dependentProps)for(Ma=0;Ma<N.dependentProps.length;Ma++){var ta=N.dependentPropsDefVal[Ma],sa=N.dependentPropsVals[Ma];if(sa.length>
-u)sa=sa.slice(0,u);else for(var xa=sa.length;xa<u;xa++)sa.push(ta);sa=sa.join(",");ua.setCellStyles(N.dependentProps[Ma],sa,ua.getSelectionCells());Y.push(N.dependentProps[Ma]);ia.push(sa)}if("function"==typeof N.onChange)N.onChange(ua,u);ra.editorUi.fireEvent(new mxEventObject("styleChanged","keys",Y,"values",ia,"cells",ua.getSelectionCells()))}finally{ua.getModel().endUpdate()}}}function X(Ma,u,N){var Q=mxUtils.getOffset(k,!0),Y=mxUtils.getOffset(Ma,!0);u.style.position="absolute";u.style.left=
+1==t.cells.length?this.addActions(k,["copyStyle","pasteStyle"]):1<=t.cells.length&&this.addActions(k,["pasteStyle","pasteData"]);c.apply(this,arguments);return k};EditorUi.prototype.propertiesCollapsed=!0;BaseFormatPanel.prototype.addProperties=function(k,t,I,R){function O(Ma,u,N,Q,Y){if(null!=N.valueChanged)N.valueChanged(u,Y);else{ua.getModel().beginUpdate();try{Y=[];var ia=[];if(null!=N.index){for(var la=[],oa=N.parentRow.nextSibling;oa&&oa.getAttribute("data-pName")==Ma;)la.push(oa.getAttribute("data-pValue")),
+oa=oa.nextSibling;N.index<la.length?null!=Q?la.splice(Q,1):la[N.index]=u:la.push(u);null!=N.size&&la.length>N.size&&(la=la.slice(0,N.size));u=la.join(",");null!=N.countProperty&&(ua.setCellStyles(N.countProperty,la.length,ua.getSelectionCells()),Y.push(N.countProperty),ia.push(la.length))}ua.setCellStyles(Ma,u,ua.getSelectionCells());Y.push(Ma);ia.push(u);if(null!=N.dependentProps)for(Ma=0;Ma<N.dependentProps.length;Ma++){var ta=N.dependentPropsDefVal[Ma],sa=N.dependentPropsVals[Ma];if(sa.length>
+u)sa=sa.slice(0,u);else for(var ya=sa.length;ya<u;ya++)sa.push(ta);sa=sa.join(",");ua.setCellStyles(N.dependentProps[Ma],sa,ua.getSelectionCells());Y.push(N.dependentProps[Ma]);ia.push(sa)}if("function"==typeof N.onChange)N.onChange(ua,u);ra.editorUi.fireEvent(new mxEventObject("styleChanged","keys",Y,"values",ia,"cells",ua.getSelectionCells()))}finally{ua.getModel().endUpdate()}}}function X(Ma,u,N){var Q=mxUtils.getOffset(k,!0),Y=mxUtils.getOffset(Ma,!0);u.style.position="absolute";u.style.left=
Y.x-Q.x+"px";u.style.top=Y.y-Q.y+"px";u.style.width=Ma.offsetWidth+"px";u.style.height=Ma.offsetHeight-(N?4:0)+"px";u.style.zIndex=5}function Z(Ma,u,N){var Q=document.createElement("div");Q.style.width="32px";Q.style.height="4px";Q.style.margin="2px";Q.style.border="1px solid black";Q.style.background=u&&"none"!=u?u:"url('"+Dialog.prototype.noColorImage+"')";btn=mxUtils.button("",mxUtils.bind(ra,function(Y){this.editorUi.pickColor(u,function(ia){Q.style.background="none"==ia?"url('"+Dialog.prototype.noColorImage+
-"')":ia;O(Ma,ia,N)});mxEvent.consume(Y)}));btn.style.height="12px";btn.style.width="40px";btn.className="geColorBtn";btn.appendChild(Q);return btn}function ba(Ma,u,N,Q,Y,ia,ja){null!=u&&(u=u.split(","),Ba.push({name:Ma,values:u,type:N,defVal:Q,countProperty:Y,parentRow:ia,isDeletable:!0,flipBkg:ja}));btn=mxUtils.button("+",mxUtils.bind(ra,function(oa){for(var ta=ia,sa=0;null!=ta.nextSibling;)if(ta.nextSibling.getAttribute("data-pName")==Ma)ta=ta.nextSibling,sa++;else break;var xa={type:N,parentRow:ia,
-index:sa,isDeletable:!0,defVal:Q,countProperty:Y};sa=pa(Ma,"",xa,0==sa%2,ja);O(Ma,Q,xa);ta.parentNode.insertBefore(sa,ta.nextSibling);mxEvent.consume(oa)}));btn.style.height="16px";btn.style.width="25px";btn.className="geColorBtn";return btn}function la(Ma,u,N,Q,Y,ia,ja){if(0<Y){var oa=Array(Y);u=null!=u?u.split(","):[];for(var ta=0;ta<Y;ta++)oa[ta]=null!=u[ta]?u[ta]:null!=Q?Q:"";Ba.push({name:Ma,values:oa,type:N,defVal:Q,parentRow:ia,flipBkg:ja,size:Y})}return document.createElement("div")}function qa(Ma,
-u,N){var Q=document.createElement("input");Q.type="checkbox";Q.checked="1"==u;mxEvent.addListener(Q,"change",function(){O(Ma,Q.checked?"1":"0",N)});return Q}function pa(Ma,u,N,Q,Y){var ia=N.dispName,ja=N.type,oa=document.createElement("tr");oa.className="gePropRow"+(Y?"Dark":"")+(Q?"Alt":"")+" gePropNonHeaderRow";oa.setAttribute("data-pName",Ma);oa.setAttribute("data-pValue",u);Q=!1;null!=N.index&&(oa.setAttribute("data-index",N.index),ia=(null!=ia?ia:"")+"["+N.index+"]",Q=!0);var ta=document.createElement("td");
-ta.className="gePropRowCell";ia=mxResources.get(ia,null,ia);mxUtils.write(ta,ia);ta.setAttribute("title",ia);Q&&(ta.style.textAlign="right");oa.appendChild(ta);ta=document.createElement("td");ta.className="gePropRowCell";ta.setAttribute("title",null!=u?u:mxResources.get("none"));if("color"==ja)ta.appendChild(Z(Ma,u,N));else if("bool"==ja||"boolean"==ja)ta.appendChild(qa(Ma,u,N));else if("enum"==ja){var sa=N.enumList;for(Y=0;Y<sa.length;Y++)if(ia=sa[Y],ia.val==u){mxUtils.write(ta,mxResources.get(ia.dispName,
-null,ia.dispName));break}mxEvent.addListener(ta,"click",mxUtils.bind(ra,function(){var xa=document.createElement("select"),Ca=null;X(ta,xa);for(var Oa=0;Oa<sa.length;Oa++){var Wa=sa[Oa],Za=document.createElement("option");Za.value=mxUtils.htmlEntities(Wa.val);mxUtils.write(Za,mxResources.get(Wa.dispName,null,Wa.dispName));xa.appendChild(Za);null==Wa.val&&(Za.value="null",Ca=Za)}xa.value=null==u&&null!=Ca?"null":u;k.appendChild(xa);mxEvent.addListener(xa,"change",function(){var ab=mxUtils.htmlEntities(xa.value);
-if(xa[xa.selectedIndex]==Ca||"null"==ab.value)ab=null;O(Ma,ab,N)});xa.focus();mxEvent.addListener(xa,"blur",function(){k.removeChild(xa)})}))}else"dynamicArr"==ja?ta.appendChild(ba(Ma,u,N.subType,N.subDefVal,N.countProperty,oa,Y)):"staticArr"==ja?ta.appendChild(la(Ma,u,N.subType,N.subDefVal,N.size,oa,Y)):"readOnly"==ja?(Y=document.createElement("input"),Y.setAttribute("readonly",""),Y.value=u,Y.style.borderWidth="0px","id"==Ma?(Y.style.width="190px",Y.style.position="relative",Y.style.right="6px",
-Y.style.float="right",Y.style.background="none",Y.style.textAlign="right",oa.firstChild.setAttribute("colspan","2"),Y.setAttribute("title",u),oa.firstChild.appendChild(Y)):(Y.style.width="96px",ta.appendChild(Y))):(ta.innerHTML=mxUtils.htmlEntities(decodeURIComponent(u)),mxEvent.addListener(ta,"click",mxUtils.bind(ra,function(){function xa(){var Oa=Ca.value;Oa=0==Oa.length&&"string"!=ja&&"numbers"!=ja?0:Oa;N.allowAuto&&(null!=Oa.trim&&"auto"==Oa.trim().toLowerCase()?(Oa="auto",ja="string"):(Oa=parseFloat(Oa),
-Oa=isNaN(Oa)?0:Oa));null!=N.min&&Oa<N.min?Oa=N.min:null!=N.max&&Oa>N.max&&(Oa=N.max);var Wa=null;try{Wa="numbers"==ja?Oa.match(/\d+/g).map(Number).join(" "):encodeURIComponent(("int"==ja?parseInt(Oa):Oa)+"")}catch(Za){}O(Ma,Wa,N,null,Ca)}var Ca=document.createElement("input");X(ta,Ca,!0);Ca.value=decodeURIComponent(u);Ca.className="gePropEditor";"int"!=ja&&"float"!=ja||N.allowAuto||(Ca.type="number",Ca.step="int"==ja?"1":"any",null!=N.min&&(Ca.min=parseFloat(N.min)),null!=N.max&&(Ca.max=parseFloat(N.max)));
-k.appendChild(Ca);mxEvent.addListener(Ca,"keypress",function(Oa){13==Oa.keyCode&&xa()});Ca.focus();mxEvent.addListener(Ca,"blur",function(){xa()})})));N.isDeletable&&(Y=mxUtils.button("-",mxUtils.bind(ra,function(xa){O(Ma,"",N,N.index);mxEvent.consume(xa)})),Y.style.height="16px",Y.style.width="25px",Y.style.float="right",Y.className="geColorBtn",ta.appendChild(Y));oa.appendChild(ta);return oa}var ra=this,ua=this.editorUi.editor.graph,Ba=[];k.style.position="relative";k.style.padding="0";var ya=document.createElement("table");
-ya.className="geProperties";ya.style.whiteSpace="nowrap";ya.style.width="100%";var Aa=document.createElement("tr");Aa.className="gePropHeader";var Na=document.createElement("th");Na.className="gePropHeaderCell";var va=document.createElement("img");va.src=Sidebar.prototype.expandedImage;va.style.verticalAlign="middle";Na.appendChild(va);mxUtils.write(Na,mxResources.get("property"));Aa.style.cursor="pointer";var Da=function(){var Ma=ya.querySelectorAll(".gePropNonHeaderRow");if(ra.editorUi.propertiesCollapsed){va.src=
-Sidebar.prototype.collapsedImage;var u="none";for(var N=k.childNodes.length-1;0<=N;N--)try{var Q=k.childNodes[N],Y=Q.nodeName.toUpperCase();"INPUT"!=Y&&"SELECT"!=Y||k.removeChild(Q)}catch(ia){}}else va.src=Sidebar.prototype.expandedImage,u="";for(N=0;N<Ma.length;N++)Ma[N].style.display=u};mxEvent.addListener(Aa,"click",function(){ra.editorUi.propertiesCollapsed=!ra.editorUi.propertiesCollapsed;Da()});Aa.appendChild(Na);Na=document.createElement("th");Na.className="gePropHeaderCell";Na.innerHTML=mxResources.get("value");
-Aa.appendChild(Na);ya.appendChild(Aa);var Ha=Na=!1;Aa=null;1==I.vertices.length&&0==I.edges.length?Aa=I.vertices[0].id:0==I.vertices.length&&1==I.edges.length&&(Aa=I.edges[0].id);null==Aa||R||ya.appendChild(pa("id",mxUtils.htmlEntities(Aa),{dispName:"id",type:"readOnly"},!0,!1));for(var La in t)if(R=t[La],"function"!=typeof R.isVisible||R.isVisible(I,this)){var Ea=null!=R.getValue?R.getValue():null!=I.style[La]?mxUtils.htmlEntities(I.style[La]+""):null!=R.getDefaultValue?R.getDefaultValue(I,this):
-R.defVal;if("separator"==R.type)Ha=!Ha;else{if("staticArr"==R.type)R.size=parseInt(I.style[R.sizeProperty]||t[R.sizeProperty].defVal)||0;else if(null!=R.dependentProps){var za=R.dependentProps,Ra=[],Ja=[];for(Aa=0;Aa<za.length;Aa++){var Qa=I.style[za[Aa]];Ja.push(t[za[Aa]].subDefVal);Ra.push(null!=Qa?Qa.split(","):[])}R.dependentPropsDefVal=Ja;R.dependentPropsVals=Ra}ya.appendChild(pa(La,Ea,R,Na,Ha));Na=!Na}}for(Aa=0;Aa<Ba.length;Aa++)for(R=Ba[Aa],t=R.parentRow,I=0;I<R.values.length;I++)La=pa(R.name,
-R.values[I],{type:R.type,parentRow:R.parentRow,isDeletable:R.isDeletable,index:I,defVal:R.defVal,countProperty:R.countProperty,size:R.size},0==I%2,R.flipBkg),t.parentNode.insertBefore(La,t.nextSibling),t=La;k.appendChild(ya);Da();return k};StyleFormatPanel.prototype.addStyles=function(k){if(null!=this.defaultColorSchemes){var t=function(ya){mxEvent.addListener(ya,"mouseenter",function(){ya.style.opacity="1"});mxEvent.addListener(ya,"mouseleave",function(){ya.style.opacity="0.5"})},I=this.editorUi,
+"')":ia;O(Ma,ia,N)});mxEvent.consume(Y)}));btn.style.height="12px";btn.style.width="40px";btn.className="geColorBtn";btn.appendChild(Q);return btn}function ba(Ma,u,N,Q,Y,ia,la){null!=u&&(u=u.split(","),Ba.push({name:Ma,values:u,type:N,defVal:Q,countProperty:Y,parentRow:ia,isDeletable:!0,flipBkg:la}));btn=mxUtils.button("+",mxUtils.bind(ra,function(oa){for(var ta=ia,sa=0;null!=ta.nextSibling;)if(ta.nextSibling.getAttribute("data-pName")==Ma)ta=ta.nextSibling,sa++;else break;var ya={type:N,parentRow:ia,
+index:sa,isDeletable:!0,defVal:Q,countProperty:Y};sa=pa(Ma,"",ya,0==sa%2,la);O(Ma,Q,ya);ta.parentNode.insertBefore(sa,ta.nextSibling);mxEvent.consume(oa)}));btn.style.height="16px";btn.style.width="25px";btn.className="geColorBtn";return btn}function ka(Ma,u,N,Q,Y,ia,la){if(0<Y){var oa=Array(Y);u=null!=u?u.split(","):[];for(var ta=0;ta<Y;ta++)oa[ta]=null!=u[ta]?u[ta]:null!=Q?Q:"";Ba.push({name:Ma,values:oa,type:N,defVal:Q,parentRow:ia,flipBkg:la,size:Y})}return document.createElement("div")}function qa(Ma,
+u,N){var Q=document.createElement("input");Q.type="checkbox";Q.checked="1"==u;mxEvent.addListener(Q,"change",function(){O(Ma,Q.checked?"1":"0",N)});return Q}function pa(Ma,u,N,Q,Y){var ia=N.dispName,la=N.type,oa=document.createElement("tr");oa.className="gePropRow"+(Y?"Dark":"")+(Q?"Alt":"")+" gePropNonHeaderRow";oa.setAttribute("data-pName",Ma);oa.setAttribute("data-pValue",u);Q=!1;null!=N.index&&(oa.setAttribute("data-index",N.index),ia=(null!=ia?ia:"")+"["+N.index+"]",Q=!0);var ta=document.createElement("td");
+ta.className="gePropRowCell";ia=mxResources.get(ia,null,ia);mxUtils.write(ta,ia);ta.setAttribute("title",ia);Q&&(ta.style.textAlign="right");oa.appendChild(ta);ta=document.createElement("td");ta.className="gePropRowCell";ta.setAttribute("title",null!=u?u:mxResources.get("none"));if("color"==la)ta.appendChild(Z(Ma,u,N));else if("bool"==la||"boolean"==la)ta.appendChild(qa(Ma,u,N));else if("enum"==la){var sa=N.enumList;for(Y=0;Y<sa.length;Y++)if(ia=sa[Y],ia.val==u){mxUtils.write(ta,mxResources.get(ia.dispName,
+null,ia.dispName));break}mxEvent.addListener(ta,"click",mxUtils.bind(ra,function(){var ya=document.createElement("select"),Ha=null;X(ta,ya);for(var Oa=0;Oa<sa.length;Oa++){var Wa=sa[Oa],Za=document.createElement("option");Za.value=mxUtils.htmlEntities(Wa.val);mxUtils.write(Za,mxResources.get(Wa.dispName,null,Wa.dispName));ya.appendChild(Za);null==Wa.val&&(Za.value="null",Ha=Za)}ya.value=null==u&&null!=Ha?"null":u;k.appendChild(ya);mxEvent.addListener(ya,"change",function(){var ab=mxUtils.htmlEntities(ya.value);
+if(ya[ya.selectedIndex]==Ha||"null"==ab.value)ab=null;O(Ma,ab,N)});ya.focus();mxEvent.addListener(ya,"blur",function(){k.removeChild(ya)})}))}else"dynamicArr"==la?ta.appendChild(ba(Ma,u,N.subType,N.subDefVal,N.countProperty,oa,Y)):"staticArr"==la?ta.appendChild(ka(Ma,u,N.subType,N.subDefVal,N.size,oa,Y)):"readOnly"==la?(Y=document.createElement("input"),Y.setAttribute("readonly",""),Y.value=u,Y.style.borderWidth="0px","id"==Ma?(Y.style.width="190px",Y.style.position="relative",Y.style.right="6px",
+Y.style.float="right",Y.style.background="none",Y.style.textAlign="right",oa.firstChild.setAttribute("colspan","2"),Y.setAttribute("title",u),oa.firstChild.appendChild(Y)):(Y.style.width="96px",ta.appendChild(Y))):(ta.innerHTML=mxUtils.htmlEntities(decodeURIComponent(u)),mxEvent.addListener(ta,"click",mxUtils.bind(ra,function(){function ya(){var Oa=Ha.value;Oa=0==Oa.length&&"string"!=la&&"numbers"!=la?0:Oa;N.allowAuto&&(null!=Oa.trim&&"auto"==Oa.trim().toLowerCase()?(Oa="auto",la="string"):(Oa=parseFloat(Oa),
+Oa=isNaN(Oa)?0:Oa));null!=N.min&&Oa<N.min?Oa=N.min:null!=N.max&&Oa>N.max&&(Oa=N.max);var Wa=null;try{Wa="numbers"==la?Oa.match(/\d+/g).map(Number).join(" "):encodeURIComponent(("int"==la?parseInt(Oa):Oa)+"")}catch(Za){}O(Ma,Wa,N,null,Ha)}var Ha=document.createElement("input");X(ta,Ha,!0);Ha.value=decodeURIComponent(u);Ha.className="gePropEditor";"int"!=la&&"float"!=la||N.allowAuto||(Ha.type="number",Ha.step="int"==la?"1":"any",null!=N.min&&(Ha.min=parseFloat(N.min)),null!=N.max&&(Ha.max=parseFloat(N.max)));
+k.appendChild(Ha);mxEvent.addListener(Ha,"keypress",function(Oa){13==Oa.keyCode&&ya()});Ha.focus();mxEvent.addListener(Ha,"blur",function(){ya()})})));N.isDeletable&&(Y=mxUtils.button("-",mxUtils.bind(ra,function(ya){O(Ma,"",N,N.index);mxEvent.consume(ya)})),Y.style.height="16px",Y.style.width="25px",Y.style.float="right",Y.className="geColorBtn",ta.appendChild(Y));oa.appendChild(ta);return oa}var ra=this,ua=this.editorUi.editor.graph,Ba=[];k.style.position="relative";k.style.padding="0";var xa=document.createElement("table");
+xa.className="geProperties";xa.style.whiteSpace="nowrap";xa.style.width="100%";var Aa=document.createElement("tr");Aa.className="gePropHeader";var Na=document.createElement("th");Na.className="gePropHeaderCell";var va=document.createElement("img");va.src=Sidebar.prototype.expandedImage;va.style.verticalAlign="middle";Na.appendChild(va);mxUtils.write(Na,mxResources.get("property"));Aa.style.cursor="pointer";var Ca=function(){var Ma=xa.querySelectorAll(".gePropNonHeaderRow");if(ra.editorUi.propertiesCollapsed){va.src=
+Sidebar.prototype.collapsedImage;var u="none";for(var N=k.childNodes.length-1;0<=N;N--)try{var Q=k.childNodes[N],Y=Q.nodeName.toUpperCase();"INPUT"!=Y&&"SELECT"!=Y||k.removeChild(Q)}catch(ia){}}else va.src=Sidebar.prototype.expandedImage,u="";for(N=0;N<Ma.length;N++)Ma[N].style.display=u};mxEvent.addListener(Aa,"click",function(){ra.editorUi.propertiesCollapsed=!ra.editorUi.propertiesCollapsed;Ca()});Aa.appendChild(Na);Na=document.createElement("th");Na.className="gePropHeaderCell";Na.innerHTML=mxResources.get("value");
+Aa.appendChild(Na);xa.appendChild(Aa);var Ga=Na=!1;Aa=null;1==I.vertices.length&&0==I.edges.length?Aa=I.vertices[0].id:0==I.vertices.length&&1==I.edges.length&&(Aa=I.edges[0].id);null==Aa||R||xa.appendChild(pa("id",mxUtils.htmlEntities(Aa),{dispName:"id",type:"readOnly"},!0,!1));for(var La in t)if(R=t[La],"function"!=typeof R.isVisible||R.isVisible(I,this)){var Da=null!=R.getValue?R.getValue():null!=I.style[La]?mxUtils.htmlEntities(I.style[La]+""):null!=R.getDefaultValue?R.getDefaultValue(I,this):
+R.defVal;if("separator"==R.type)Ga=!Ga;else{if("staticArr"==R.type)R.size=parseInt(I.style[R.sizeProperty]||t[R.sizeProperty].defVal)||0;else if(null!=R.dependentProps){var za=R.dependentProps,Ra=[],Ja=[];for(Aa=0;Aa<za.length;Aa++){var Qa=I.style[za[Aa]];Ja.push(t[za[Aa]].subDefVal);Ra.push(null!=Qa?Qa.split(","):[])}R.dependentPropsDefVal=Ja;R.dependentPropsVals=Ra}xa.appendChild(pa(La,Da,R,Na,Ga));Na=!Na}}for(Aa=0;Aa<Ba.length;Aa++)for(R=Ba[Aa],t=R.parentRow,I=0;I<R.values.length;I++)La=pa(R.name,
+R.values[I],{type:R.type,parentRow:R.parentRow,isDeletable:R.isDeletable,index:I,defVal:R.defVal,countProperty:R.countProperty,size:R.size},0==I%2,R.flipBkg),t.parentNode.insertBefore(La,t.nextSibling),t=La;k.appendChild(xa);Ca();return k};StyleFormatPanel.prototype.addStyles=function(k){if(null!=this.defaultColorSchemes){var t=function(xa){mxEvent.addListener(xa,"mouseenter",function(){xa.style.opacity="1"});mxEvent.addListener(xa,"mouseleave",function(){xa.style.opacity="0.5"})},I=this.editorUi,
R=I.editor.graph,O=document.createElement("div");O.style.whiteSpace="nowrap";O.style.paddingLeft="24px";O.style.paddingRight="20px";k.style.paddingLeft="16px";k.style.paddingBottom="6px";k.style.position="relative";k.appendChild(O);var X="plain-gray plain-blue plain-green plain-turquoise plain-orange plain-yellow plain-red plain-pink plain-purple gray blue green turquoise orange yellow red pink purple".split(" "),Z=document.createElement("div");Z.style.whiteSpace="nowrap";Z.style.position="relative";
-Z.style.textAlign="center";Z.style.width="210px";for(var ba=[],la=0;la<this.defaultColorSchemes.length;la++){var qa=document.createElement("div");qa.style.display="inline-block";qa.style.width="6px";qa.style.height="6px";qa.style.marginLeft="4px";qa.style.marginRight="3px";qa.style.borderRadius="3px";qa.style.cursor="pointer";qa.style.background="transparent";qa.style.border="1px solid #b5b6b7";mxUtils.bind(this,function(ya){mxEvent.addListener(qa,"click",mxUtils.bind(this,function(){pa(ya)}))})(la);
-ba.push(qa);Z.appendChild(qa)}var pa=mxUtils.bind(this,function(ya){null!=ba[ya]&&(null!=this.format.currentScheme&&null!=ba[this.format.currentScheme]&&(ba[this.format.currentScheme].style.background="transparent"),this.format.currentScheme=ya,ra(this.defaultColorSchemes[this.format.currentScheme]),ba[this.format.currentScheme].style.background="#84d7ff")}),ra=mxUtils.bind(this,function(ya){var Aa=mxUtils.bind(this,function(va){var Da=mxUtils.button("",mxUtils.bind(this,function(Ea){R.getModel().beginUpdate();
-try{for(var za=I.getSelectionState().cells,Ra=0;Ra<za.length;Ra++){for(var Ja=R.getModel().getStyle(za[Ra]),Qa=0;Qa<X.length;Qa++)Ja=mxUtils.removeStylename(Ja,X[Qa]);var Ma=R.getModel().isVertex(za[Ra])?R.defaultVertexStyle:R.defaultEdgeStyle;null!=va?(mxEvent.isShiftDown(Ea)||(Ja=""==va.fill?mxUtils.setStyle(Ja,mxConstants.STYLE_FILLCOLOR,null):mxUtils.setStyle(Ja,mxConstants.STYLE_FILLCOLOR,va.fill||mxUtils.getValue(Ma,mxConstants.STYLE_FILLCOLOR,null)),Ja=mxUtils.setStyle(Ja,mxConstants.STYLE_GRADIENTCOLOR,
-va.gradient||mxUtils.getValue(Ma,mxConstants.STYLE_GRADIENTCOLOR,null)),mxEvent.isControlDown(Ea)||mxClient.IS_MAC&&mxEvent.isMetaDown(Ea)||!R.getModel().isVertex(za[Ra])||(Ja=mxUtils.setStyle(Ja,mxConstants.STYLE_FONTCOLOR,va.font||mxUtils.getValue(Ma,mxConstants.STYLE_FONTCOLOR,null)))),mxEvent.isAltDown(Ea)||(Ja=""==va.stroke?mxUtils.setStyle(Ja,mxConstants.STYLE_STROKECOLOR,null):mxUtils.setStyle(Ja,mxConstants.STYLE_STROKECOLOR,va.stroke||mxUtils.getValue(Ma,mxConstants.STYLE_STROKECOLOR,null)))):
+Z.style.textAlign="center";Z.style.width="210px";for(var ba=[],ka=0;ka<this.defaultColorSchemes.length;ka++){var qa=document.createElement("div");qa.style.display="inline-block";qa.style.width="6px";qa.style.height="6px";qa.style.marginLeft="4px";qa.style.marginRight="3px";qa.style.borderRadius="3px";qa.style.cursor="pointer";qa.style.background="transparent";qa.style.border="1px solid #b5b6b7";mxUtils.bind(this,function(xa){mxEvent.addListener(qa,"click",mxUtils.bind(this,function(){pa(xa)}))})(ka);
+ba.push(qa);Z.appendChild(qa)}var pa=mxUtils.bind(this,function(xa){null!=ba[xa]&&(null!=this.format.currentScheme&&null!=ba[this.format.currentScheme]&&(ba[this.format.currentScheme].style.background="transparent"),this.format.currentScheme=xa,ra(this.defaultColorSchemes[this.format.currentScheme]),ba[this.format.currentScheme].style.background="#84d7ff")}),ra=mxUtils.bind(this,function(xa){var Aa=mxUtils.bind(this,function(va){var Ca=mxUtils.button("",mxUtils.bind(this,function(Da){R.getModel().beginUpdate();
+try{for(var za=I.getSelectionState().cells,Ra=0;Ra<za.length;Ra++){for(var Ja=R.getModel().getStyle(za[Ra]),Qa=0;Qa<X.length;Qa++)Ja=mxUtils.removeStylename(Ja,X[Qa]);var Ma=R.getModel().isVertex(za[Ra])?R.defaultVertexStyle:R.defaultEdgeStyle;null!=va?(mxEvent.isShiftDown(Da)||(Ja=""==va.fill?mxUtils.setStyle(Ja,mxConstants.STYLE_FILLCOLOR,null):mxUtils.setStyle(Ja,mxConstants.STYLE_FILLCOLOR,va.fill||mxUtils.getValue(Ma,mxConstants.STYLE_FILLCOLOR,null)),Ja=mxUtils.setStyle(Ja,mxConstants.STYLE_GRADIENTCOLOR,
+va.gradient||mxUtils.getValue(Ma,mxConstants.STYLE_GRADIENTCOLOR,null)),mxEvent.isControlDown(Da)||mxClient.IS_MAC&&mxEvent.isMetaDown(Da)||!R.getModel().isVertex(za[Ra])||(Ja=mxUtils.setStyle(Ja,mxConstants.STYLE_FONTCOLOR,va.font||mxUtils.getValue(Ma,mxConstants.STYLE_FONTCOLOR,null)))),mxEvent.isAltDown(Da)||(Ja=""==va.stroke?mxUtils.setStyle(Ja,mxConstants.STYLE_STROKECOLOR,null):mxUtils.setStyle(Ja,mxConstants.STYLE_STROKECOLOR,va.stroke||mxUtils.getValue(Ma,mxConstants.STYLE_STROKECOLOR,null)))):
(Ja=mxUtils.setStyle(Ja,mxConstants.STYLE_FILLCOLOR,mxUtils.getValue(Ma,mxConstants.STYLE_FILLCOLOR,"#ffffff")),Ja=mxUtils.setStyle(Ja,mxConstants.STYLE_STROKECOLOR,mxUtils.getValue(Ma,mxConstants.STYLE_STROKECOLOR,"#000000")),Ja=mxUtils.setStyle(Ja,mxConstants.STYLE_GRADIENTCOLOR,mxUtils.getValue(Ma,mxConstants.STYLE_GRADIENTCOLOR,null)),R.getModel().isVertex(za[Ra])&&(Ja=mxUtils.setStyle(Ja,mxConstants.STYLE_FONTCOLOR,mxUtils.getValue(Ma,mxConstants.STYLE_FONTCOLOR,null))));R.getModel().setStyle(za[Ra],
-Ja)}}finally{R.getModel().endUpdate()}}));Da.className="geStyleButton";Da.style.width="36px";Da.style.height=10>=this.defaultColorSchemes.length?"24px":"30px";Da.style.margin="0px 6px 6px 0px";if(null!=va){var Ha=Editor.isDarkMode()?"2px solid":"1px solid";null!=va.border&&(Ha=va.border);null!=va.gradient?mxClient.IS_IE&&10>document.documentMode?Da.style.filter="progid:DXImageTransform.Microsoft.Gradient(StartColorStr='"+va.fill+"', EndColorStr='"+va.gradient+"', GradientType=0)":Da.style.backgroundImage=
-"linear-gradient("+va.fill+" 0px,"+va.gradient+" 100%)":va.fill==mxConstants.NONE?Da.style.background="url('"+Dialog.prototype.noColorImage+"')":Da.style.backgroundColor=""==va.fill?mxUtils.getValue(R.defaultVertexStyle,mxConstants.STYLE_FILLCOLOR,Editor.isDarkMode()?Editor.darkColor:"#ffffff"):va.fill||mxUtils.getValue(R.defaultVertexStyle,mxConstants.STYLE_FILLCOLOR,Editor.isDarkMode()?Editor.darkColor:"#ffffff");Da.style.border=va.stroke==mxConstants.NONE?Ha+" transparent":""==va.stroke?Ha+" "+
-mxUtils.getValue(R.defaultVertexStyle,mxConstants.STYLE_STROKECOLOR,Editor.isDarkMode()?"#ffffff":Editor.darkColor):Ha+" "+(va.stroke||mxUtils.getValue(R.defaultVertexStyle,mxConstants.STYLE_STROKECOLOR,Editor.isDarkMode()?"#ffffff":Editor.darkColor));null!=va.title&&Da.setAttribute("title",va.title)}else{Ha=mxUtils.getValue(R.defaultVertexStyle,mxConstants.STYLE_FILLCOLOR,"#ffffff");var La=mxUtils.getValue(R.defaultVertexStyle,mxConstants.STYLE_STROKECOLOR,"#000000");Da.style.backgroundColor=Ha;
-Da.style.border="1px solid "+La}Da.style.borderRadius="0";O.appendChild(Da)});O.innerText="";if(null!=ya)for(var Na=0;Na<ya.length;Na++)0<Na&&0==mxUtils.mod(Na,4)&&mxUtils.br(O),Aa(ya[Na])});null==this.format.currentScheme?pa(Math.min(ba.length-1,Editor.isDarkMode()?1:"1"==urlParams.sketch?5:0)):pa(this.format.currentScheme);la=10>=this.defaultColorSchemes.length?28:8;var ua=document.createElement("div");ua.style.cssText="position:absolute;left:10px;top:8px;bottom:"+la+"px;width:20px;margin:4px;opacity:0.5;background-repeat:no-repeat;background-position:center center;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAQBAMAAADQT4M0AAAAIVBMVEUAAAB2dnZ4eHh3d3d1dXVxcXF2dnZ2dnZ2dnZxcXF2dnYmb3w1AAAACnRSTlMAfCTkhhvb7cQSPH2JPgAAADRJREFUCNdjwACMAmBKaiGYs2oJmLPKAZ3DabU8AMRTXpUKopislqFyVzCAuUZgikkBZjoAcMYLnp53P/UAAAAASUVORK5CYII=);";
-mxEvent.addListener(ua,"click",mxUtils.bind(this,function(){pa(mxUtils.mod(this.format.currentScheme-1,this.defaultColorSchemes.length))}));var Ba=document.createElement("div");Ba.style.cssText="position:absolute;left:202px;top:8px;bottom:"+la+"px;width:20px;margin:4px;opacity:0.5;background-repeat:no-repeat;background-position:center center;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAQBAMAAADQT4M0AAAAIVBMVEUAAAB2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnYBuwCcAAAACnRSTlMAfCTkhhvb7cQSPH2JPgAAADZJREFUCNdjQAOMAmBKaiGY8loF5rKswsZlrVo8AUiFrTICcbIWK8A5DF1gDoMymMPApIAwHwCS0Qx/U7qCBQAAAABJRU5ErkJggg==);";
+Ja)}}finally{R.getModel().endUpdate()}}));Ca.className="geStyleButton";Ca.style.width="36px";Ca.style.height=10>=this.defaultColorSchemes.length?"24px":"30px";Ca.style.margin="0px 6px 6px 0px";if(null!=va){var Ga=Editor.isDarkMode()?"2px solid":"1px solid";null!=va.border&&(Ga=va.border);null!=va.gradient?mxClient.IS_IE&&10>document.documentMode?Ca.style.filter="progid:DXImageTransform.Microsoft.Gradient(StartColorStr='"+va.fill+"', EndColorStr='"+va.gradient+"', GradientType=0)":Ca.style.backgroundImage=
+"linear-gradient("+va.fill+" 0px,"+va.gradient+" 100%)":va.fill==mxConstants.NONE?Ca.style.background="url('"+Dialog.prototype.noColorImage+"')":Ca.style.backgroundColor=""==va.fill?mxUtils.getValue(R.defaultVertexStyle,mxConstants.STYLE_FILLCOLOR,Editor.isDarkMode()?Editor.darkColor:"#ffffff"):va.fill||mxUtils.getValue(R.defaultVertexStyle,mxConstants.STYLE_FILLCOLOR,Editor.isDarkMode()?Editor.darkColor:"#ffffff");Ca.style.border=va.stroke==mxConstants.NONE?Ga+" transparent":""==va.stroke?Ga+" "+
+mxUtils.getValue(R.defaultVertexStyle,mxConstants.STYLE_STROKECOLOR,Editor.isDarkMode()?"#ffffff":Editor.darkColor):Ga+" "+(va.stroke||mxUtils.getValue(R.defaultVertexStyle,mxConstants.STYLE_STROKECOLOR,Editor.isDarkMode()?"#ffffff":Editor.darkColor));null!=va.title&&Ca.setAttribute("title",va.title)}else{Ga=mxUtils.getValue(R.defaultVertexStyle,mxConstants.STYLE_FILLCOLOR,"#ffffff");var La=mxUtils.getValue(R.defaultVertexStyle,mxConstants.STYLE_STROKECOLOR,"#000000");Ca.style.backgroundColor=Ga;
+Ca.style.border="1px solid "+La}Ca.style.borderRadius="0";O.appendChild(Ca)});O.innerText="";if(null!=xa)for(var Na=0;Na<xa.length;Na++)0<Na&&0==mxUtils.mod(Na,4)&&mxUtils.br(O),Aa(xa[Na])});null==this.format.currentScheme?pa(Math.min(ba.length-1,Editor.isDarkMode()?1:"1"==urlParams.sketch?5:0)):pa(this.format.currentScheme);ka=10>=this.defaultColorSchemes.length?28:8;var ua=document.createElement("div");ua.style.cssText="position:absolute;left:10px;top:8px;bottom:"+ka+"px;width:20px;margin:4px;opacity:0.5;background-repeat:no-repeat;background-position:center center;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAQBAMAAADQT4M0AAAAIVBMVEUAAAB2dnZ4eHh3d3d1dXVxcXF2dnZ2dnZ2dnZxcXF2dnYmb3w1AAAACnRSTlMAfCTkhhvb7cQSPH2JPgAAADRJREFUCNdjwACMAmBKaiGYs2oJmLPKAZ3DabU8AMRTXpUKopislqFyVzCAuUZgikkBZjoAcMYLnp53P/UAAAAASUVORK5CYII=);";
+mxEvent.addListener(ua,"click",mxUtils.bind(this,function(){pa(mxUtils.mod(this.format.currentScheme-1,this.defaultColorSchemes.length))}));var Ba=document.createElement("div");Ba.style.cssText="position:absolute;left:202px;top:8px;bottom:"+ka+"px;width:20px;margin:4px;opacity:0.5;background-repeat:no-repeat;background-position:center center;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAQBAMAAADQT4M0AAAAIVBMVEUAAAB2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnYBuwCcAAAACnRSTlMAfCTkhhvb7cQSPH2JPgAAADZJREFUCNdjQAOMAmBKaiGY8loF5rKswsZlrVo8AUiFrTICcbIWK8A5DF1gDoMymMPApIAwHwCS0Qx/U7qCBQAAAABJRU5ErkJggg==);";
1<this.defaultColorSchemes.length&&(k.appendChild(ua),k.appendChild(Ba));mxEvent.addListener(Ba,"click",mxUtils.bind(this,function(){pa(mxUtils.mod(this.format.currentScheme+1,this.defaultColorSchemes.length))}));t(ua);t(Ba);ra(this.defaultColorSchemes[this.format.currentScheme]);10>=this.defaultColorSchemes.length&&k.appendChild(Z)}return k}}Graph.fontMapping={"https://fonts.googleapis.com/css?family=Architects+Daughter":'@font-face { font-family: "Architects Daughter"; src: url('+STYLE_PATH+'/fonts/ArchitectsDaughter-Regular.ttf) format("truetype"); }'};
Graph.customFontElements={};Graph.isGoogleFontUrl=function(k){return k.substring(0,Editor.GOOGLE_FONTS.length)==Editor.GOOGLE_FONTS||k.substring(0,Editor.GOOGLE_FONTS_CSS2.length)==Editor.GOOGLE_FONTS_CSS2};Graph.isCssFontUrl=function(k){return Graph.isGoogleFontUrl(k)};Graph.rewriteGoogleFontUrl=function(k){null!=k&&k.substring(0,Editor.GOOGLE_FONTS.length)==Editor.GOOGLE_FONTS&&(k=Editor.GOOGLE_FONTS_CSS2+k.substring(Editor.GOOGLE_FONTS.length)+":wght@400;500");return k};Graph.createFontElement=
function(k,t){var I=Graph.fontMapping[t];null==I&&Graph.isCssFontUrl(t)?(k=document.createElement("link"),k.setAttribute("rel","stylesheet"),k.setAttribute("type","text/css"),k.setAttribute("charset","UTF-8"),k.setAttribute("href",Graph.rewriteGoogleFontUrl(t))):(null==I&&(I='@font-face {\nfont-family: "'+k+'";\nsrc: url("'+t+'");\n}'),k=document.createElement("style"),mxUtils.write(k,I));return k};Graph.addRecentCustomFont=function(k,t){};Graph.addFont=function(k,t,I){if(null!=k&&0<k.length&&null!=
@@ -3369,44 +3367,44 @@ null!=I&&I()}else null!=I&&I()}else null!=I&&I();return k};Graph.getFontUrl=func
null);if(null!=t){var I=mxUtils.getValue(k,mxConstants.STYLE_FONTFAMILY,null);if(null!=I)try{Graph.addFont(I,decodeURIComponent(t))}catch(R){}}}return k};Graph.prototype.defaultThemeName="default-style2";Graph.prototype.lastPasteXml=null;Graph.prototype.pasteCounter=0;Graph.prototype.defaultScrollbars="0"!=urlParams.sb;Graph.prototype.defaultPageVisible="0"!=urlParams.pv;Graph.prototype.shadowId="dropShadow";Graph.prototype.svgShadowColor="#3D4574";Graph.prototype.svgShadowOpacity="0.4";Graph.prototype.svgShadowBlur=
"1.7";Graph.prototype.svgShadowSize="3";Graph.prototype.hiddenTags=[];Graph.prototype.defaultMathEnabled=!1;var f=Graph.prototype.init;Graph.prototype.init=function(){function k(O){t=O}f.apply(this,arguments);this.hiddenTags=[];window.mxFreehand&&(this.freehand=new mxFreehand(this));var t=null;mxEvent.addListener(this.container,"mouseenter",k);mxEvent.addListener(this.container,"mousemove",k);mxEvent.addListener(this.container,"mouseleave",function(O){t=null});this.isMouseInsertPoint=function(){return null!=
t};var I=this.getInsertPoint;this.getInsertPoint=function(){return null!=t?this.getPointForEvent(t):I.apply(this,arguments)};var R=this.layoutManager.getLayout;this.layoutManager.getLayout=function(O){var X=this.graph.getCellStyle(O);if(null!=X&&"rack"==X.childLayout){var Z=new mxStackLayout(this.graph,!1);Z.gridSize=null!=X.rackUnitSize?parseFloat(X.rackUnitSize):"undefined"!==typeof mxRackContainer?mxRackContainer.unitSize:20;Z.marginLeft=X.marginLeft||0;Z.marginRight=X.marginRight||0;Z.marginTop=
-X.marginTop||0;Z.marginBottom=X.marginBottom||0;Z.allowGaps=X.allowGaps||0;Z.horizontal="1"==mxUtils.getValue(X,"horizontalRack","0");Z.resizeParent=!1;Z.fill=!0;return Z}return R.apply(this,arguments)};this.updateGlobalUrlVariables()};var l=Graph.prototype.postProcessCellStyle;Graph.prototype.postProcessCellStyle=function(k,t){return Graph.processFontStyle(l.apply(this,arguments))};var z=mxSvgCanvas2D.prototype.updateTextNodes;mxSvgCanvas2D.prototype.updateTextNodes=function(k,t,I,R,O,X,Z,ba,la,
-qa,pa,ra){z.apply(this,arguments);Graph.processFontAttributes(ra)};var A=mxText.prototype.redraw;mxText.prototype.redraw=function(){A.apply(this,arguments);null!=this.node&&"DIV"==this.node.nodeName&&Graph.processFontAttributes(this.node)};Graph.prototype.createTagsDialog=function(k,t,I,R){function O(){for(var Aa=ba.getSelectionCells(),Na=[],va=0;va<Aa.length;va++)ba.isCellVisible(Aa[va])&&Na.push(Aa[va]);ba.setSelectionCells(Na)}function X(Aa){ba.setHiddenTags(Aa?[]:la.slice());O();ba.refresh()}
-function Z(Aa,Na){pa.innerText="";if(0<Aa.length){var va=document.createElement("table");va.setAttribute("cellpadding","2");va.style.boxSizing="border-box";va.style.tableLayout="fixed";va.style.width="100%";var Da=document.createElement("tbody");if(null!=Aa&&0<Aa.length)for(var Ha=0;Ha<Aa.length;Ha++)(function(La){function Ea(){var u=ba.getCellsForTags([La],null,null,!0);ba.isEnabled()?ba.setSelectionCells(u):ba.highlightCells(u,null,null,70)}var za=0>mxUtils.indexOf(ba.hiddenTags,La),Ra=document.createElement("tr"),
+X.marginTop||0;Z.marginBottom=X.marginBottom||0;Z.allowGaps=X.allowGaps||0;Z.horizontal="1"==mxUtils.getValue(X,"horizontalRack","0");Z.resizeParent=!1;Z.fill=!0;return Z}return R.apply(this,arguments)};this.updateGlobalUrlVariables()};var l=Graph.prototype.postProcessCellStyle;Graph.prototype.postProcessCellStyle=function(k,t){return Graph.processFontStyle(l.apply(this,arguments))};var z=mxSvgCanvas2D.prototype.updateTextNodes;mxSvgCanvas2D.prototype.updateTextNodes=function(k,t,I,R,O,X,Z,ba,ka,
+qa,pa,ra){z.apply(this,arguments);Graph.processFontAttributes(ra)};var A=mxText.prototype.redraw;mxText.prototype.redraw=function(){A.apply(this,arguments);null!=this.node&&"DIV"==this.node.nodeName&&Graph.processFontAttributes(this.node)};Graph.prototype.createTagsDialog=function(k,t,I,R){function O(){for(var Aa=ba.getSelectionCells(),Na=[],va=0;va<Aa.length;va++)ba.isCellVisible(Aa[va])&&Na.push(Aa[va]);ba.setSelectionCells(Na)}function X(Aa){ba.setHiddenTags(Aa?[]:ka.slice());O();ba.refresh()}
+function Z(Aa,Na){pa.innerText="";if(0<Aa.length){var va=document.createElement("table");va.setAttribute("cellpadding","2");va.style.boxSizing="border-box";va.style.tableLayout="fixed";va.style.width="100%";var Ca=document.createElement("tbody");if(null!=Aa&&0<Aa.length)for(var Ga=0;Ga<Aa.length;Ga++)(function(La){function Da(){var u=ba.getCellsForTags([La],null,null,!0);ba.isEnabled()?ba.setSelectionCells(u):ba.highlightCells(u,null,null,70)}var za=0>mxUtils.indexOf(ba.hiddenTags,La),Ra=document.createElement("tr"),
Ja=document.createElement("td");Ja.style.align="center";Ja.style.width="16px";var Qa=document.createElement("img");Qa.setAttribute("src",za?Editor.visibleImage:Editor.hiddenImage);Qa.setAttribute("title",mxResources.get(za?"hideIt":"show",[La]));mxUtils.setOpacity(Qa,za?75:25);Qa.className="geAdaptiveAsset";Qa.style.verticalAlign="middle";Qa.style.cursor="pointer";Qa.style.width="16px";if(t||Editor.isDarkMode())Qa.style.filter="invert(100%)";Ja.appendChild(Qa);mxEvent.addListener(Qa,"click",function(u){mxEvent.isShiftDown(u)?
X(0<=mxUtils.indexOf(ba.hiddenTags,La)):(ba.toggleHiddenTag(La),O(),ba.refresh());mxEvent.consume(u)});Ra.appendChild(Ja);Ja=document.createElement("td");Ja.style.align="center";Ja.style.width="16px";Qa=document.createElement("img");Qa.setAttribute("src",Editor.selectImage);Qa.setAttribute("title",mxResources.get("select"));mxUtils.setOpacity(Qa,za?75:25);Qa.className="geAdaptiveAsset";Qa.style.verticalAlign="middle";Qa.style.cursor="pointer";Qa.style.width="16px";if(t||Editor.isDarkMode())Qa.style.filter=
-"invert(100%)";mxEvent.addListener(Qa,"click",function(u){X(!0);Ea();mxEvent.consume(u)});Ja.appendChild(Qa);Ra.appendChild(Ja);Ja=document.createElement("td");Ja.style.overflow="hidden";Ja.style.whiteSpace="nowrap";Ja.style.textOverflow="ellipsis";Ja.style.verticalAlign="middle";Ja.style.cursor="pointer";Ja.setAttribute("title",La);a=document.createElement("a");mxUtils.write(a,La);a.style.textOverflow="ellipsis";a.style.position="relative";mxUtils.setOpacity(a,za?100:40);Ja.appendChild(a);mxEvent.addListener(Ja,
-"click",function(u){if(mxEvent.isShiftDown(u))X(!0),Ea();else if(za&&0<ba.hiddenTags.length)X(!0);else{var N=la.slice(),Q=mxUtils.indexOf(N,La);N.splice(Q,1);ba.setHiddenTags(N);O();ba.refresh()}mxEvent.consume(u)});Ra.appendChild(Ja);if(ba.isEnabled()){Ja=document.createElement("td");Ja.style.verticalAlign="middle";Ja.style.textAlign="center";Ja.style.width="18px";if(null==Na){Ja.style.align="center";Ja.style.width="16px";Qa=document.createElement("img");Qa.setAttribute("src",Editor.trashImage);
-Qa.setAttribute("title",mxResources.get("removeIt",[La]));mxUtils.setOpacity(Qa,za?75:25);Qa.className="geAdaptiveAsset";Qa.style.verticalAlign="middle";Qa.style.cursor="pointer";Qa.style.width="16px";if(t||Editor.isDarkMode())Qa.style.filter="invert(100%)";mxEvent.addListener(Qa,"click",function(u){var N=mxUtils.indexOf(la,La);0<=N&&la.splice(N,1);ba.removeTagsForCells(ba.model.getDescendants(ba.model.getRoot()),[La]);ba.refresh();mxEvent.consume(u)});Ja.appendChild(Qa)}else{var Ma=document.createElement("input");
-Ma.setAttribute("type","checkbox");Ma.style.margin="0px";Ma.defaultChecked=null!=Na&&0<=mxUtils.indexOf(Na,La);Ma.checked=Ma.defaultChecked;Ma.style.background="transparent";Ma.setAttribute("title",mxResources.get(Ma.defaultChecked?"removeIt":"add",[La]));mxEvent.addListener(Ma,"change",function(u){Ma.checked?ba.addTagsForCells(ba.getSelectionCells(),[La]):ba.removeTagsForCells(ba.getSelectionCells(),[La]);mxEvent.consume(u)});Ja.appendChild(Ma)}Ra.appendChild(Ja)}Da.appendChild(Ra)})(Aa[Ha]);va.appendChild(Da);
-pa.appendChild(va)}}var ba=this,la=ba.hiddenTags.slice(),qa=document.createElement("div");qa.style.userSelect="none";qa.style.overflow="hidden";qa.style.padding="10px";qa.style.height="100%";var pa=document.createElement("div");pa.style.boxSizing="border-box";pa.style.borderRadius="4px";pa.style.userSelect="none";pa.style.overflow="auto";pa.style.position="absolute";pa.style.left="10px";pa.style.right="10px";pa.style.top="10px";pa.style.border=ba.isEnabled()?"1px solid #808080":"none";pa.style.bottom=
-ba.isEnabled()?"48px":"10px";qa.appendChild(pa);var ra=mxUtils.button(mxResources.get("reset"),function(Aa){ba.setHiddenTags([]);mxEvent.isShiftDown(Aa)||(la=ba.hiddenTags.slice());O();ba.refresh()});ra.setAttribute("title",mxResources.get("reset"));ra.className="geBtn";ra.style.margin="0 4px 0 0";var ua=mxUtils.button(mxResources.get("add"),function(){null!=I&&I(la,function(Aa){la=Aa;Ba()})});ua.setAttribute("title",mxResources.get("add"));ua.className="geBtn";ua.style.margin="0";ba.addListener(mxEvent.ROOT,
-function(){la=ba.hiddenTags.slice()});var Ba=mxUtils.bind(this,function(Aa,Na){if(k()){Aa=ba.getAllTags();for(Na=0;Na<Aa.length;Na++)0>mxUtils.indexOf(la,Aa[Na])&&la.push(Aa[Na]);la.sort();ba.isSelectionEmpty()?Z(la):Z(la,ba.getCommonTagsForCells(ba.getSelectionCells()))}});ba.selectionModel.addListener(mxEvent.CHANGE,Ba);ba.model.addListener(mxEvent.CHANGE,Ba);ba.addListener(mxEvent.REFRESH,Ba);var ya=document.createElement("div");ya.style.display="flex";ya.style.alignItems="center";ya.style.boxSizing=
-"border-box";ya.style.whiteSpace="nowrap";ya.style.position="absolute";ya.style.overflow="hidden";ya.style.bottom="6px";ya.style.height="42px";ya.style.right="10px";ya.style.left="10px";ba.isEnabled()&&(ya.appendChild(ra),ya.appendChild(ua),qa.appendChild(ya));null!=R&&ya.appendChild(R);return{div:qa,refresh:Ba}};Graph.prototype.getCustomFonts=function(){var k=this.extFonts;k=null!=k?k.slice():[];for(var t in Graph.customFontElements){var I=Graph.customFontElements[t];k.push({name:I.name,url:I.url})}return k};
+"invert(100%)";mxEvent.addListener(Qa,"click",function(u){X(!0);Da();mxEvent.consume(u)});Ja.appendChild(Qa);Ra.appendChild(Ja);Ja=document.createElement("td");Ja.style.overflow="hidden";Ja.style.whiteSpace="nowrap";Ja.style.textOverflow="ellipsis";Ja.style.verticalAlign="middle";Ja.style.cursor="pointer";Ja.setAttribute("title",La);a=document.createElement("a");mxUtils.write(a,La);a.style.textOverflow="ellipsis";a.style.position="relative";mxUtils.setOpacity(a,za?100:40);Ja.appendChild(a);mxEvent.addListener(Ja,
+"click",function(u){if(mxEvent.isShiftDown(u))X(!0),Da();else if(za&&0<ba.hiddenTags.length)X(!0);else{var N=ka.slice(),Q=mxUtils.indexOf(N,La);N.splice(Q,1);ba.setHiddenTags(N);O();ba.refresh()}mxEvent.consume(u)});Ra.appendChild(Ja);if(ba.isEnabled()){Ja=document.createElement("td");Ja.style.verticalAlign="middle";Ja.style.textAlign="center";Ja.style.width="18px";if(null==Na){Ja.style.align="center";Ja.style.width="16px";Qa=document.createElement("img");Qa.setAttribute("src",Editor.trashImage);
+Qa.setAttribute("title",mxResources.get("removeIt",[La]));mxUtils.setOpacity(Qa,za?75:25);Qa.className="geAdaptiveAsset";Qa.style.verticalAlign="middle";Qa.style.cursor="pointer";Qa.style.width="16px";if(t||Editor.isDarkMode())Qa.style.filter="invert(100%)";mxEvent.addListener(Qa,"click",function(u){var N=mxUtils.indexOf(ka,La);0<=N&&ka.splice(N,1);ba.removeTagsForCells(ba.model.getDescendants(ba.model.getRoot()),[La]);ba.refresh();mxEvent.consume(u)});Ja.appendChild(Qa)}else{var Ma=document.createElement("input");
+Ma.setAttribute("type","checkbox");Ma.style.margin="0px";Ma.defaultChecked=null!=Na&&0<=mxUtils.indexOf(Na,La);Ma.checked=Ma.defaultChecked;Ma.style.background="transparent";Ma.setAttribute("title",mxResources.get(Ma.defaultChecked?"removeIt":"add",[La]));mxEvent.addListener(Ma,"change",function(u){Ma.checked?ba.addTagsForCells(ba.getSelectionCells(),[La]):ba.removeTagsForCells(ba.getSelectionCells(),[La]);mxEvent.consume(u)});Ja.appendChild(Ma)}Ra.appendChild(Ja)}Ca.appendChild(Ra)})(Aa[Ga]);va.appendChild(Ca);
+pa.appendChild(va)}}var ba=this,ka=ba.hiddenTags.slice(),qa=document.createElement("div");qa.style.userSelect="none";qa.style.overflow="hidden";qa.style.padding="10px";qa.style.height="100%";var pa=document.createElement("div");pa.style.boxSizing="border-box";pa.style.borderRadius="4px";pa.style.userSelect="none";pa.style.overflow="auto";pa.style.position="absolute";pa.style.left="10px";pa.style.right="10px";pa.style.top="10px";pa.style.border=ba.isEnabled()?"1px solid #808080":"none";pa.style.bottom=
+ba.isEnabled()?"48px":"10px";qa.appendChild(pa);var ra=mxUtils.button(mxResources.get("reset"),function(Aa){ba.setHiddenTags([]);mxEvent.isShiftDown(Aa)||(ka=ba.hiddenTags.slice());O();ba.refresh()});ra.setAttribute("title",mxResources.get("reset"));ra.className="geBtn";ra.style.margin="0 4px 0 0";var ua=mxUtils.button(mxResources.get("add"),function(){null!=I&&I(ka,function(Aa){ka=Aa;Ba()})});ua.setAttribute("title",mxResources.get("add"));ua.className="geBtn";ua.style.margin="0";ba.addListener(mxEvent.ROOT,
+function(){ka=ba.hiddenTags.slice()});var Ba=mxUtils.bind(this,function(Aa,Na){if(k()){Aa=ba.getAllTags();for(Na=0;Na<Aa.length;Na++)0>mxUtils.indexOf(ka,Aa[Na])&&ka.push(Aa[Na]);ka.sort();ba.isSelectionEmpty()?Z(ka):Z(ka,ba.getCommonTagsForCells(ba.getSelectionCells()))}});ba.selectionModel.addListener(mxEvent.CHANGE,Ba);ba.model.addListener(mxEvent.CHANGE,Ba);ba.addListener(mxEvent.REFRESH,Ba);var xa=document.createElement("div");xa.style.display="flex";xa.style.alignItems="center";xa.style.boxSizing=
+"border-box";xa.style.whiteSpace="nowrap";xa.style.position="absolute";xa.style.overflow="hidden";xa.style.bottom="6px";xa.style.height="42px";xa.style.right="10px";xa.style.left="10px";ba.isEnabled()&&(xa.appendChild(ra),xa.appendChild(ua),qa.appendChild(xa));null!=R&&xa.appendChild(R);return{div:qa,refresh:Ba}};Graph.prototype.getCustomFonts=function(){var k=this.extFonts;k=null!=k?k.slice():[];for(var t in Graph.customFontElements){var I=Graph.customFontElements[t];k.push({name:I.name,url:I.url})}return k};
Graph.prototype.setFont=function(k,t){Graph.addFont(k,t);var I=Editor.guid();document.execCommand("fontname",!1,I);for(var R=this.cellEditor.textarea.getElementsByTagName("font"),O=!1,X=0;X<R.length;X++)R[X].getAttribute("face")==I&&(O=!0,R[X].setAttribute("face",k),null!=t?R[X].setAttribute("data-font-src",t):R[X].removeAttribute("data-font-src"));O||document.execCommand("fontname",!1,k)};var B=Graph.prototype.isFastZoomEnabled;Graph.prototype.isFastZoomEnabled=function(){return B.apply(this,arguments)&&
(!this.shadowVisible||!mxClient.IS_SF)};Graph.prototype.updateGlobalUrlVariables=function(){this.globalVars=Editor.globalVars;if(null!=urlParams.vars)try{this.globalVars=null!=this.globalVars?mxUtils.clone(this.globalVars):{};var k=JSON.parse(decodeURIComponent(urlParams.vars));if(null!=k)for(var t in k)this.globalVars[t]=k[t]}catch(I){null!=window.console&&console.log("Error in vars URL parameter: "+I)}};Graph.prototype.getExportVariables=function(){return null!=this.globalVars?mxUtils.clone(this.globalVars):
{}};var G=Graph.prototype.getGlobalVariable;Graph.prototype.getGlobalVariable=function(k){var t=G.apply(this,arguments);null==t&&null!=this.globalVars&&(t=this.globalVars[k]);return t};Graph.prototype.getDefaultStylesheet=function(){if(null==this.defaultStylesheet){var k=this.themes["default-style2"];this.defaultStylesheet=(new mxCodec(k.ownerDocument)).decode(k)}return this.defaultStylesheet};Graph.prototype.isViewer=function(){return urlParams.viewer};Graph.prototype.adaptBackgroundPage=function(k,
t){if(null!=k&&null!=k.src&&Graph.isPageLink(k.originalSrc))try{var I=Graph.getSvgFromDataUri(k.src);if(null!=I){var R=(new DOMParser).parseFromString(I,"text/xml"),O=R.getElementsByTagName("style"),X=mxUtils.htmlEntities(Graph.createSvgDarkModeCss(),!1);for(I=0;I<O.length;I++)if(O[I].innerHTML==X){O[I].parentNode.removeChild(O[I]);break}if("dark"==t||"auto"==t){var Z=Graph.createSvgDarkModeStyle(R,t);R.getElementsByTagName("defs")[0].appendChild(Z)}k=new mxImage(Editor.createSvgDataUri(mxUtils.getXml(R.documentElement)),
-k.width,k.height,k.x,k.y)}}catch(ba){}return k};var L=Graph.prototype.getSvg;Graph.prototype.getSvg=function(k,t,I,R,O,X,Z,ba,la,qa,pa,ra,ua,Ba,ya,Aa){var Na=null,va=null,Da=null;Editor.enableCssDarkMode||null==this.themes||null==ra||"dark"==ra==("darkTheme"==this.defaultThemeName)||(Na=this.stylesheet,va=this.shapeForegroundColor,Da=this.shapeBackgroundColor,this.shapeForegroundColor="darkTheme"==this.defaultThemeName?"#000000":Editor.lightColor,this.shapeBackgroundColor="darkTheme"==this.defaultThemeName?
-"#ffffff":Editor.darkColor,this.stylesheet=this.getDefaultStylesheet(),this.refresh());var Ha=null;Editor.enableCssDarkMode&&null!=this.backgroundImage&&(Ha=this.backgroundImage,this.backgroundImage=this.adaptBackgroundPage(Ha,ra));var La=L.apply(this,arguments);if(Editor.enableCssDarkMode&&("dark"==ra||"auto"==ra)){var Ea=ya?null:"ge-export-svg-"+ra;null!=Ea&&La.setAttribute("class",Ea);Ea=Graph.createSvgDarkModeStyle(La.ownerDocument,ra,Ea,k);La.getElementsByTagName("defs")[0].appendChild(Ea)}var za=
-this.getCustomFonts();if(pa&&0<za.length){var Ra=La.ownerDocument;Ea=null!=Ra.createElementNS?Ra.createElementNS(mxConstants.NS_SVG,"style"):Ra.createElement("style");null!=Ra.setAttributeNS?Ea.setAttributeNS("type","text/css"):Ea.setAttribute("type","text/css");for(var Ja="",Qa="",Ma=0;Ma<za.length;Ma++){var u=za[Ma].name,N=za[Ma].url;Graph.isCssFontUrl(N)?Ja+="@import url("+Graph.rewriteGoogleFontUrl(N)+");\n":Qa+='@font-face {\nfont-family: "'+u+'";\nsrc: url("'+N+'");\n}\n'}Ea.appendChild(Ra.createTextNode(Ja+
-Qa));La.getElementsByTagName("defs")[0].appendChild(Ea)}Editor.replaceSvgDataUris&&null!=Ha&&null!=Ha.originalSrc&&EditorUi.embedSvgImages(La);this.mathEnabled&&(document.body.appendChild(La),Editor.MathJaxRender(La),La.parentNode.removeChild(La),Ea=La.ownerDocument.getElementById("MJX-SVG-styles"),null!=Ea&&La.getElementsByTagName("defs")[0].appendChild(Ea.cloneNode(!0)));null!=Ha&&(this.backgroundImage=Ha);null!=Na&&(this.shapeBackgroundColor=Da,this.shapeForegroundColor=va,this.stylesheet=Na,this.refresh());
+k.width,k.height,k.x,k.y)}}catch(ba){}return k};var L=Graph.prototype.getSvg;Graph.prototype.getSvg=function(k,t,I,R,O,X,Z,ba,ka,qa,pa,ra,ua,Ba,xa,Aa){var Na=null,va=null,Ca=null;Editor.enableCssDarkMode||null==this.themes||null==ra||"dark"==ra==("darkTheme"==this.defaultThemeName)||(Na=this.stylesheet,va=this.shapeForegroundColor,Ca=this.shapeBackgroundColor,this.shapeForegroundColor="darkTheme"==this.defaultThemeName?"#000000":Editor.lightColor,this.shapeBackgroundColor="darkTheme"==this.defaultThemeName?
+"#ffffff":Editor.darkColor,this.stylesheet=this.getDefaultStylesheet(),this.refresh());var Ga=null;Editor.enableCssDarkMode&&null!=this.backgroundImage&&(Ga=this.backgroundImage,this.backgroundImage=this.adaptBackgroundPage(Ga,ra));var La=L.apply(this,arguments);if(Editor.enableCssDarkMode&&("dark"==ra||"auto"==ra)){var Da=xa?null:"ge-export-svg-"+ra;null!=Da&&La.setAttribute("class",Da);Da=Graph.createSvgDarkModeStyle(La.ownerDocument,ra,Da,k);La.getElementsByTagName("defs")[0].appendChild(Da)}var za=
+this.getCustomFonts();if(pa&&0<za.length){var Ra=La.ownerDocument;Da=null!=Ra.createElementNS?Ra.createElementNS(mxConstants.NS_SVG,"style"):Ra.createElement("style");null!=Ra.setAttributeNS?Da.setAttributeNS("type","text/css"):Da.setAttribute("type","text/css");for(var Ja="",Qa="",Ma=0;Ma<za.length;Ma++){var u=za[Ma].name,N=za[Ma].url;Graph.isCssFontUrl(N)?Ja+="@import url("+Graph.rewriteGoogleFontUrl(N)+");\n":Qa+='@font-face {\nfont-family: "'+u+'";\nsrc: url("'+N+'");\n}\n'}Da.appendChild(Ra.createTextNode(Ja+
+Qa));La.getElementsByTagName("defs")[0].appendChild(Da)}Editor.replaceSvgDataUris&&null!=Ga&&null!=Ga.originalSrc&&EditorUi.embedSvgImages(La);this.mathEnabled&&(document.body.appendChild(La),Editor.MathJaxRender(La),La.parentNode.removeChild(La),Da=La.ownerDocument.getElementById("MJX-SVG-styles"),null!=Da&&La.getElementsByTagName("defs")[0].appendChild(Da.cloneNode(!0)));null!=Ga&&(this.backgroundImage=Ga);null!=Na&&(this.shapeBackgroundColor=Ca,this.shapeForegroundColor=va,this.stylesheet=Na,this.refresh());
return La};var P=mxCellRenderer.prototype.destroy;mxCellRenderer.prototype.destroy=function(k){P.apply(this,arguments);null!=k.secondLabel&&(k.secondLabel.destroy(),k.secondLabel=null)};mxCellRenderer.prototype.getShapesForState=function(k){return[k.shape,k.text,k.secondLabel,k.control]};var J=mxGraphView.prototype.resetValidationState;mxGraphView.prototype.resetValidationState=function(){J.apply(this,arguments);this.enumerationState=0};var fa=mxGraphView.prototype.stateValidated;mxGraphView.prototype.stateValidated=
function(k){null!=k.shape&&this.redrawEnumerationState(k);return fa.apply(this,arguments)};mxGraphView.prototype.createEnumerationValue=function(k){k=decodeURIComponent(mxUtils.getValue(k.style,"enumerateValue",""));""==k&&(k=++this.enumerationState);return'<div style="padding:2px;border:1px solid gray;background:yellow;border-radius:2px;">'+mxUtils.htmlEntities(k)+"</div>"};mxGraphView.prototype.redrawEnumerationState=function(k){var t="1"==mxUtils.getValue(k.style,"enumerate",0);t&&null==k.secondLabel?
(k.secondLabel=new mxText("",new mxRectangle,mxConstants.ALIGN_LEFT,mxConstants.ALIGN_BOTTOM),k.secondLabel.size=12,k.secondLabel.state=k,k.secondLabel.dialect=mxConstants.DIALECT_STRICTHTML,this.graph.cellRenderer.initializeLabel(k,k.secondLabel)):t||null==k.secondLabel||(k.secondLabel.destroy(),k.secondLabel=null);t=k.secondLabel;if(null!=t){var I=k.view.scale,R=this.createEnumerationValue(k);k=this.graph.model.isVertex(k.cell)?new mxRectangle(k.x+k.width-4*I,k.y+4*I,0,0):mxRectangle.fromPoint(k.view.getPoint(k));
t.bounds.equals(k)&&t.value==R&&t.scale==I||(t.bounds=k,t.value=R,t.scale=I,t.redraw())}};var ea=Graph.prototype.refresh;Graph.prototype.refresh=function(){this.refreshBackgroundImage();ea.apply(this,arguments)};Graph.prototype.refreshBackgroundImage=function(){null!=this.backgroundImage&&null!=this.backgroundImage.originalSrc&&(this.setBackgroundImage(this.backgroundImage),this.view.validateBackgroundImage())};var T=Graph.prototype.loadStylesheet;Graph.prototype.loadStylesheet=function(){T.apply(this,
arguments);this.currentStyle="default-style2"};Graph.prototype.handleCustomLink=function(k,t){"data:action/json,"==k.substring(0,17)&&(k=JSON.parse(k.substring(17)),null!=k.actions&&this.executeCustomActions(k.actions,null,t))};Graph.prototype.executeCustomActions=function(k,t,I){if(this.executingCustomActions)this.stoppingCustomActions=!0,null!=this.pendingWaitThread&&window.clearTimeout(this.pendingWaitThread),null!=this.pendingExecuteNextAction&&this.pendingExecuteNextAction(),this.fireEvent(new mxEventObject("stopExecutingCustomActions"));
-else{this.executingCustomActions=!0;var R=!1,O=0,X=0,Z=mxUtils.bind(this,function(){R||(R=!0,this.model.beginUpdate())}),ba=mxUtils.bind(this,function(){R&&(R=!1,this.model.endUpdate())}),la=mxUtils.bind(this,function(){0<O&&O--;0==O&&qa()}),qa=mxUtils.bind(this,function(){if(X<k.length){var pa=this.stoppingCustomActions,ra=k[X++],ua=[];if(null!=ra.open)if(ba(),this.isCustomLink(ra.open)){if(!this.customLinkClicked(ra.open,I))return}else this.openLink(ra.open);null==ra.wait||pa||(this.pendingExecuteNextAction=
-mxUtils.bind(this,function(){this.pendingWaitThread=this.pendingExecuteNextAction=null;la()}),O++,this.pendingWaitThread=window.setTimeout(this.pendingExecuteNextAction,""!=ra.wait?parseInt(ra.wait):1E3),ba());null!=ra.opacity&&null!=ra.opacity.value&&Graph.setOpacityForNodes(this.getNodesForCells(this.getCellsForAction(ra.opacity,!0)),ra.opacity.value);null!=ra.fadeIn&&(O++,Graph.fadeNodes(this.getNodesForCells(this.getCellsForAction(ra.fadeIn,!0)),0,1,la,pa?0:ra.fadeIn.delay));null!=ra.fadeOut&&
-(O++,Graph.fadeNodes(this.getNodesForCells(this.getCellsForAction(ra.fadeOut,!0)),1,0,la,pa?0:ra.fadeOut.delay));null!=ra.wipeIn&&(ua=ua.concat(this.createWipeAnimations(this.getCellsForAction(ra.wipeIn,!0),!0)));null!=ra.wipeOut&&(ua=ua.concat(this.createWipeAnimations(this.getCellsForAction(ra.wipeOut,!0),!1)));null!=ra.toggle&&(Z(),this.toggleCells(this.getCellsForAction(ra.toggle,!0)));if(null!=ra.show){Z();var Ba=this.getCellsForAction(ra.show,!0);Graph.setOpacityForNodes(this.getNodesForCells(Ba),
+else{this.executingCustomActions=!0;var R=!1,O=0,X=0,Z=mxUtils.bind(this,function(){R||(R=!0,this.model.beginUpdate())}),ba=mxUtils.bind(this,function(){R&&(R=!1,this.model.endUpdate())}),ka=mxUtils.bind(this,function(){0<O&&O--;0==O&&qa()}),qa=mxUtils.bind(this,function(){if(X<k.length){var pa=this.stoppingCustomActions,ra=k[X++],ua=[];if(null!=ra.open)if(ba(),this.isCustomLink(ra.open)){if(!this.customLinkClicked(ra.open,I))return}else this.openLink(ra.open);null==ra.wait||pa||(this.pendingExecuteNextAction=
+mxUtils.bind(this,function(){this.pendingWaitThread=this.pendingExecuteNextAction=null;ka()}),O++,this.pendingWaitThread=window.setTimeout(this.pendingExecuteNextAction,""!=ra.wait?parseInt(ra.wait):1E3),ba());null!=ra.opacity&&null!=ra.opacity.value&&Graph.setOpacityForNodes(this.getNodesForCells(this.getCellsForAction(ra.opacity,!0)),ra.opacity.value);null!=ra.fadeIn&&(O++,Graph.fadeNodes(this.getNodesForCells(this.getCellsForAction(ra.fadeIn,!0)),0,1,ka,pa?0:ra.fadeIn.delay));null!=ra.fadeOut&&
+(O++,Graph.fadeNodes(this.getNodesForCells(this.getCellsForAction(ra.fadeOut,!0)),1,0,ka,pa?0:ra.fadeOut.delay));null!=ra.wipeIn&&(ua=ua.concat(this.createWipeAnimations(this.getCellsForAction(ra.wipeIn,!0),!0)));null!=ra.wipeOut&&(ua=ua.concat(this.createWipeAnimations(this.getCellsForAction(ra.wipeOut,!0),!1)));null!=ra.toggle&&(Z(),this.toggleCells(this.getCellsForAction(ra.toggle,!0)));if(null!=ra.show){Z();var Ba=this.getCellsForAction(ra.show,!0);Graph.setOpacityForNodes(this.getNodesForCells(Ba),
1);this.setCellsVisible(Ba,!0)}null!=ra.hide&&(Z(),Ba=this.getCellsForAction(ra.hide,!0),Graph.setOpacityForNodes(this.getNodesForCells(Ba),0),this.setCellsVisible(Ba,!1));null!=ra.toggleStyle&&null!=ra.toggleStyle.key&&(Z(),this.toggleCellStyles(ra.toggleStyle.key,null!=ra.toggleStyle.defaultValue?ra.toggleStyle.defaultValue:"0",this.getCellsForAction(ra.toggleStyle,!0)));null!=ra.style&&null!=ra.style.key&&(Z(),this.setCellStyles(ra.style.key,ra.style.value,this.getCellsForAction(ra.style,!0)));
Ba=[];null!=ra.select&&this.isEnabled()&&(Ba=this.getCellsForAction(ra.select),this.setSelectionCells(Ba));null!=ra.highlight&&(Ba=this.getCellsForAction(ra.highlight),this.highlightCells(Ba,ra.highlight.color,ra.highlight.duration,ra.highlight.opacity));null!=ra.scroll&&(Ba=this.getCellsForAction(ra.scroll));null!=ra.viewbox&&this.fitWindow(ra.viewbox,ra.viewbox.border);0<Ba.length&&this.scrollCellToVisible(Ba[0]);null!=I&&null!=ra.explore&&Graph.exploreFromCell(this,I,ra.explore);if(null!=ra.tags){if(null!=
-ra.tags.toggle){var ya=ra.tags.toggle;0==ya.length&&(ya=this.getAllTags());for(Ba=0;Ba<ya.length;Ba++)this.toggleHiddenTag(ya[Ba])}ya=null;null!=ra.tags.hidden&&(null==ya&&(ya=[]),ya=ya.concat(ra.tags.hidden));if(null!=ra.tags.visible){null==ya&&(ya=[]);var Aa=this.getAllTags();for(Ba=0;Ba<Aa.length;Ba++)0>mxUtils.indexOf(ra.tags.visible,Aa[Ba])&&0>mxUtils.indexOf(ya,Aa[Ba])&&ya.push(Aa[Ba])}null!=ya&&this.setHiddenTags(ya);this.refresh()}0<ua.length&&(O++,this.executeAnimations(ua,la,pa?1:ra.steps,
+ra.tags.toggle){var xa=ra.tags.toggle;0==xa.length&&(xa=this.getAllTags());for(Ba=0;Ba<xa.length;Ba++)this.toggleHiddenTag(xa[Ba])}xa=null;null!=ra.tags.hidden&&(null==xa&&(xa=[]),xa=xa.concat(ra.tags.hidden));if(null!=ra.tags.visible){null==xa&&(xa=[]);var Aa=this.getAllTags();for(Ba=0;Ba<Aa.length;Ba++)0>mxUtils.indexOf(ra.tags.visible,Aa[Ba])&&0>mxUtils.indexOf(xa,Aa[Ba])&&xa.push(Aa[Ba])}null!=xa&&this.setHiddenTags(xa);this.refresh()}0<ua.length&&(O++,this.executeAnimations(ua,ka,pa?1:ra.steps,
pa?0:ra.delay));0==O?qa():ba()}else this.stoppingCustomActions=this.executingCustomActions=!1,ba(),null!=t&&t()});qa()}};Graph.prototype.doUpdateCustomLinksForCell=function(k,t){var I=this.getLinkForCell(t);null!=I&&"data:action/json,"==I.substring(0,17)&&this.setLinkForCell(t,this.updateCustomLink(k,I));if(this.isHtmlLabel(t)){var R=document.createElement("div");R.innerHTML=Graph.sanitizeHtml(this.getLabel(t));for(var O=R.getElementsByTagName("a"),X=!1,Z=0;Z<O.length;Z++)I=O[Z].getAttribute("href"),
null!=I&&"data:action/json,"==I.substring(0,17)&&(O[Z].setAttribute("href",this.updateCustomLink(k,I)),X=!0);X&&this.labelChanged(t,R.innerHTML)}};Graph.prototype.updateCustomLink=function(k,t){if("data:action/json,"==t.substring(0,17))try{var I=JSON.parse(t.substring(17));null!=I.actions&&(this.updateCustomLinkActions(k,I.actions),t="data:action/json,"+JSON.stringify(I))}catch(R){}return t};Graph.prototype.updateCustomLinkActions=function(k,t){for(var I=0;I<t.length;I++){var R=t[I],O;for(O in R)this.updateCustomLinkAction(k,
R[O],"cells"),this.updateCustomLinkAction(k,R[O],"excludeCells")}};Graph.prototype.updateCustomLinkAction=function(k,t,I){if(null!=t&&null!=t[I]){for(var R=[],O=0;O<t[I].length;O++)if("*"==t[I][O])R.push(t[I][O]);else{var X=k[t[I][O]];null!=X?""!=X&&R.push(X):R.push(t[I][O])}t[I]=R}};Graph.prototype.getCellsForAction=function(k,t){t=this.getCellsById(k.cells).concat(this.getCellsForTags(k.tags,null,t));if(null!=k.excludeCells){for(var I=[],R=0;R<t.length;R++)0>k.excludeCells.indexOf(t[R].id)&&I.push(t[R]);
t=I}return t};Graph.prototype.getCellsById=function(k){var t=[];if(null!=k)for(var I=0;I<k.length;I++)if("*"==k[I]){var R=this.model.getRoot();t=t.concat(this.model.filterDescendants(function(X){return X!=R},R))}else{var O=this.model.getCell(k[I]);null!=O&&t.push(O)}return t};var ca=Graph.prototype.isCellVisible;Graph.prototype.isCellVisible=function(k){return ca.apply(this,arguments)&&!this.isAllTagsHidden(this.getTagsForCell(k))};Graph.prototype.setHiddenTags=function(k){this.hiddenTags=k;this.fireEvent(new mxEventObject("hiddenTagsChanged"))};
Graph.prototype.toggleHiddenTag=function(k){var t=mxUtils.indexOf(this.hiddenTags,k);0>t?this.hiddenTags.push(k):0<=t&&this.hiddenTags.splice(t,1);this.fireEvent(new mxEventObject("hiddenTagsChanged"))};Graph.prototype.isAllTagsHidden=function(k){if(null==k||0==k.length||0==this.hiddenTags.length)return!1;k=k.split(" ");if(k.length>this.hiddenTags.length)return!1;for(var t=0;t<k.length;t++)if(0>mxUtils.indexOf(this.hiddenTags,k[t]))return!1;return!0};Graph.prototype.getCellsForTags=function(k,t,I,
-R){var O=[];if(null!=k){t=null!=t?t:this.model.getDescendants(this.model.getRoot());for(var X=0,Z={},ba=0;ba<k.length;ba++)0<k[ba].length&&(Z[k[ba]]=!0,X++);for(ba=0;ba<t.length;ba++)if(I&&this.model.getParent(t[ba])==this.model.root||this.model.isVertex(t[ba])||this.model.isEdge(t[ba])){var la=this.getTagsForCell(t[ba]),qa=!1;if(0<la.length&&(la=la.split(" "),la.length>=k.length)){for(var pa=qa=0;pa<la.length&&qa<X;pa++)null!=Z[la[pa]]&&qa++;qa=qa==X}qa&&(1!=R||this.isCellVisible(t[ba]))&&O.push(t[ba])}}return O};
+R){var O=[];if(null!=k){t=null!=t?t:this.model.getDescendants(this.model.getRoot());for(var X=0,Z={},ba=0;ba<k.length;ba++)0<k[ba].length&&(Z[k[ba]]=!0,X++);for(ba=0;ba<t.length;ba++)if(I&&this.model.getParent(t[ba])==this.model.root||this.model.isVertex(t[ba])||this.model.isEdge(t[ba])){var ka=this.getTagsForCell(t[ba]),qa=!1;if(0<ka.length&&(ka=ka.split(" "),ka.length>=k.length)){for(var pa=qa=0;pa<ka.length&&qa<X;pa++)null!=Z[ka[pa]]&&qa++;qa=qa==X}qa&&(1!=R||this.isCellVisible(t[ba]))&&O.push(t[ba])}}return O};
Graph.prototype.getAllTags=function(){return this.getTagsForCells(this.model.getDescendants(this.model.getRoot()))};Graph.prototype.getCommonTagsForCells=function(k){for(var t=null,I=[],R=0;R<k.length;R++){var O=this.getTagsForCell(k[R]);I=[];if(0<O.length){O=O.split(" ");for(var X={},Z=0;Z<O.length;Z++)if(null==t||null!=t[O[Z]])X[O[Z]]=!0,I.push(O[Z]);t=X}else return[]}return I};Graph.prototype.getTagsForCells=function(k){for(var t=[],I={},R=0;R<k.length;R++){var O=this.getTagsForCell(k[R]);if(0<
O.length){O=O.split(" ");for(var X=0;X<O.length;X++)null==I[O[X]]&&(I[O[X]]=!0,t.push(O[X]))}}return t};Graph.prototype.getTagsForCell=function(k){return this.getAttributeForCell(k,"tags","")};Graph.prototype.addTagsForCells=function(k,t){if(0<k.length&&0<t.length){this.model.beginUpdate();try{for(var I=0;I<k.length;I++){for(var R=this.getTagsForCell(k[I]),O=R.split(" "),X=!1,Z=0;Z<t.length;Z++){var ba=mxUtils.trim(t[Z]);""!=ba&&0>mxUtils.indexOf(O,ba)&&(R=0<R.length?R+" "+ba:ba,X=!0)}X&&this.setAttributeForCell(k[I],
"tags",R)}}finally{this.model.endUpdate()}}};Graph.prototype.removeTagsForCells=function(k,t){if(0<k.length&&0<t.length){this.model.beginUpdate();try{for(var I=0;I<k.length;I++){var R=this.getTagsForCell(k[I]);if(0<R.length){for(var O=R.split(" "),X=!1,Z=0;Z<t.length;Z++){var ba=mxUtils.indexOf(O,t[Z]);0<=ba&&(O.splice(ba,1),X=!0)}X&&this.setAttributeForCell(k[I],"tags",O.join(" "))}}}finally{this.model.endUpdate()}}};Graph.prototype.toggleCells=function(k){this.model.beginUpdate();try{for(var t=
@@ -3429,24 +3427,24 @@ mxStencilRegistry.libraries["mockup/graphics"]=[SHAPES_PATH+"/mockup/mxMockupGra
mxStencilRegistry.libraries.ibmcloud=[STENCIL_PATH+"/ibm_cloud.xml"];mxStencilRegistry.libraries.cabinets=[SHAPES_PATH+"/mxCabinets.js",STENCIL_PATH+"/cabinets.xml"];mxStencilRegistry.libraries.archimate=[SHAPES_PATH+"/mxArchiMate.js"];mxStencilRegistry.libraries.archimate3=[SHAPES_PATH+"/mxArchiMate3.js"];mxStencilRegistry.libraries.sysml=[SHAPES_PATH+"/mxSysML.js"];mxStencilRegistry.libraries.eip=[SHAPES_PATH+"/mxEip.js",STENCIL_PATH+"/eip.xml"];mxStencilRegistry.libraries.networks=[SHAPES_PATH+
"/mxNetworks.js",STENCIL_PATH+"/networks.xml"];mxStencilRegistry.libraries.aws3d=[SHAPES_PATH+"/mxAWS3D.js",STENCIL_PATH+"/aws3d.xml"];mxStencilRegistry.libraries.aws4=[SHAPES_PATH+"/mxAWS4.js",STENCIL_PATH+"/aws4.xml"];mxStencilRegistry.libraries.aws4b=[SHAPES_PATH+"/mxAWS4.js",STENCIL_PATH+"/aws4.xml"];mxStencilRegistry.libraries.uml25=[SHAPES_PATH+"/mxUML25.js"];mxStencilRegistry.libraries.veeam=[STENCIL_PATH+"/veeam/2d.xml",STENCIL_PATH+"/veeam/3d.xml",STENCIL_PATH+"/veeam/veeam.xml"];mxStencilRegistry.libraries.veeam2=
[STENCIL_PATH+"/veeam/2d.xml",STENCIL_PATH+"/veeam/3d.xml",STENCIL_PATH+"/veeam/veeam2.xml"];mxStencilRegistry.libraries.pid2inst=[SHAPES_PATH+"/pid2/mxPidInstruments.js"];mxStencilRegistry.libraries.pid2misc=[SHAPES_PATH+"/pid2/mxPidMisc.js",STENCIL_PATH+"/pid/misc.xml"];mxStencilRegistry.libraries.pid2valves=[SHAPES_PATH+"/pid2/mxPidValves.js"];mxStencilRegistry.libraries.pidFlowSensors=[STENCIL_PATH+"/pid/flow_sensors.xml"];mxStencilRegistry.libraries.salesforce=[STENCIL_PATH+"/salesforce.xml"];
-mxStencilRegistry.libraries.sap=[SHAPES_PATH+"/mxSAP.js",STENCIL_PATH+"/sap.xml"];mxStencilRegistry.libraries.emoji=[SHAPES_PATH+"/emoji/mxEmoji.js"];mxMarker.getPackageForType=function(k){var t=null;null!=k&&0<k.length&&("ER"==k.substring(0,2)?t="mxgraph.er":"sysML"==k.substring(0,5)&&(t="mxgraph.sysml"));return t};var ka=mxMarker.createMarker;mxMarker.createMarker=function(k,t,I,R,O,X,Z,ba,la,qa){if(null!=I&&null==mxMarker.markers[I]){var pa=this.getPackageForType(I);null!=pa&&mxStencilRegistry.getStencil(pa)}return ka.apply(this,
+mxStencilRegistry.libraries.sap=[SHAPES_PATH+"/mxSAP.js",STENCIL_PATH+"/sap.xml"];mxStencilRegistry.libraries.emoji=[SHAPES_PATH+"/emoji/mxEmoji.js"];mxMarker.getPackageForType=function(k){var t=null;null!=k&&0<k.length&&("ER"==k.substring(0,2)?t="mxgraph.er":"sysML"==k.substring(0,5)&&(t="mxgraph.sysml"));return t};var ja=mxMarker.createMarker;mxMarker.createMarker=function(k,t,I,R,O,X,Z,ba,ka,qa){if(null!=I&&null==mxMarker.markers[I]){var pa=this.getPackageForType(I);null!=pa&&mxStencilRegistry.getStencil(pa)}return ja.apply(this,
arguments)};var ma=mxStencil.prototype.drawShape;mxStencil.prototype.drawShape=function(k,t,I,R,O,X){"1"==mxUtils.getValue(t.style,"lineShape",null)&&k.setFillColor(mxUtils.getValue(t.style,mxConstants.STYLE_STROKECOLOR,this.stroke));return ma.apply(this,arguments)};PrintDialog.prototype.create=function(k,t,I){function R(){Ba.value=Math.max(1,Math.min(qa,Math.max(parseInt(Ba.value),parseInt(ua.value))));ua.value=Math.max(1,Math.min(qa,Math.min(parseInt(Ba.value),parseInt(ua.value))))}function O(ta){k.lastPrintPagesRadioChecked=
-ra.checked;k.lastPrintSelectionOnlyChecked=Aa.checked;k.lastPrintCropRadioChecked=va.checked;k.lastPrintFitRadioChecked=Da.checked;ra.checked&&ua.value<Ba.value?(k.lastPrintPagesFromInput=ua.value,k.lastPrintPagesToInput=Ba.value):(k.lastPrintPagesFromInput=null,k.lastPrintPagesToInput=null);Y.value=Math.max(1,Math.min(1600,parseInt(Y.value)))+"%";k.lastPrintZoom=Y.value;k.lastPrintBorder=Q.value;k.lastPrintGrid=ia.checked;k.lastPrintTransparent=ja.checked;k.lastPrintInclude=oa.checked;k.lastPrintSheetsAcross=
-u.value;k.lastPrintSheetsDown=N.value;var sa={};sa.border=parseInt(Q.value);sa.scale=parseInt(Y.value)/100;sa.grid=ia.checked;sa.transparent=ja.checked;sa.includeCopy=oa.checked;sa.sheetsAcross=parseInt(u.value);sa.sheetsDown=parseInt(N.value);sa.pagesFrom=parseInt(ua.value);sa.pagesTo=parseInt(Ba.value);sa.allPages=pa.checked;sa.selection=Aa.checked;sa.pageView=Na.checked;sa.crop=va.checked;sa.fit=Da.checked;return null!=I?I(!ta,sa):k.print(!ta,sa)}var X=k.editor.graph,Z=document.createElement("div"),
-ba=document.createElement("h3");ba.style.width="100%";ba.style.textAlign="center";ba.style.marginTop="0px";mxUtils.write(ba,t||mxResources.get("print"));Z.appendChild(ba);var la=1,qa=1;ba=document.createElement("div");ba.style.whiteSpace="nowrap";var pa=document.createElement("input");pa.style.marginRight="8px";pa.style.marginBottom="8px";pa.setAttribute("type","radio");pa.setAttribute("name","pages-printdialog");ba.appendChild(pa);t=document.createElement("span");mxUtils.write(t,mxResources.get("allPages"));
+ra.checked;k.lastPrintSelectionOnlyChecked=Aa.checked;k.lastPrintCropRadioChecked=va.checked;k.lastPrintFitRadioChecked=Ca.checked;ra.checked&&ua.value<Ba.value?(k.lastPrintPagesFromInput=ua.value,k.lastPrintPagesToInput=Ba.value):(k.lastPrintPagesFromInput=null,k.lastPrintPagesToInput=null);Y.value=Math.max(1,Math.min(1600,parseInt(Y.value)))+"%";k.lastPrintZoom=Y.value;k.lastPrintBorder=Q.value;k.lastPrintGrid=ia.checked;k.lastPrintTransparent=la.checked;k.lastPrintInclude=oa.checked;k.lastPrintSheetsAcross=
+u.value;k.lastPrintSheetsDown=N.value;var sa={};sa.border=parseInt(Q.value);sa.scale=parseInt(Y.value)/100;sa.grid=ia.checked;sa.transparent=la.checked;sa.includeCopy=oa.checked;sa.sheetsAcross=parseInt(u.value);sa.sheetsDown=parseInt(N.value);sa.pagesFrom=parseInt(ua.value);sa.pagesTo=parseInt(Ba.value);sa.allPages=pa.checked;sa.selection=Aa.checked;sa.pageView=Na.checked;sa.crop=va.checked;sa.fit=Ca.checked;return null!=I?I(!ta,sa):k.print(!ta,sa)}var X=k.editor.graph,Z=document.createElement("div"),
+ba=document.createElement("h3");ba.style.width="100%";ba.style.textAlign="center";ba.style.marginTop="0px";mxUtils.write(ba,t||mxResources.get("print"));Z.appendChild(ba);var ka=1,qa=1;ba=document.createElement("div");ba.style.whiteSpace="nowrap";var pa=document.createElement("input");pa.style.marginRight="8px";pa.style.marginBottom="8px";pa.setAttribute("type","radio");pa.setAttribute("name","pages-printdialog");ba.appendChild(pa);t=document.createElement("span");mxUtils.write(t,mxResources.get("allPages"));
mxEvent.addListener(t,"click",function(){pa.checked=!0});ba.appendChild(t);mxUtils.br(ba);var ra=pa.cloneNode(!0);ba.appendChild(ra);t=document.createElement("span");mxUtils.write(t,mxResources.get("pages")+":");ba.appendChild(t);mxEvent.addListener(t,"click",function(){ra.checked=!0});var ua=document.createElement("input");ua.style.margin="0 4px";ua.setAttribute("value","1");ua.setAttribute("type","number");ua.setAttribute("min","1");ua.style.width="40px";ba.appendChild(ua);t=document.createElement("span");
-mxUtils.write(t,mxResources.get("to"));ba.appendChild(t);var Ba=ua.cloneNode(!0);ba.appendChild(Ba);mxEvent.addListener(ua,"focus",function(){ra.checked=!0});mxEvent.addListener(Ba,"focus",function(){ra.checked=!0});mxEvent.addListener(ua,"change",R);mxEvent.addListener(Ba,"change",R);if(null!=k.pages&&(qa=k.pages.length,null!=k.currentPage))for(var ya=0;ya<qa;ya++)if(k.currentPage==k.pages[ya]){la=ya+1;break}null!=k.lastPrintPagesFromInput&&null!=k.lastPrintPagesToInput?(ua.value=Math.min(qa,Math.max(1,
-k.lastPrintPagesFromInput)),Ba.value=Math.min(qa,Math.max(1,k.lastPrintPagesToInput))):(ua.value=la,Ba.value=la);ua.setAttribute("max",qa);Ba.setAttribute("max",qa);ya=mxUtils.button(mxResources.get("currentPage"),function(ta){ua.value=la;Ba.value=la;ra.checked=!0});ya.setAttribute("title",mxResources.get("currentPage"));ya.style.marginLeft="4px";ya.style.maxWidth="100px";ya.style.overflow="hidden";ya.style.textOverflow="ellipsis";ya.style.whiteSpace="nowrap";ba.appendChild(ya);1<qa&&Z.appendChild(ba);
+mxUtils.write(t,mxResources.get("to"));ba.appendChild(t);var Ba=ua.cloneNode(!0);ba.appendChild(Ba);mxEvent.addListener(ua,"focus",function(){ra.checked=!0});mxEvent.addListener(Ba,"focus",function(){ra.checked=!0});mxEvent.addListener(ua,"change",R);mxEvent.addListener(Ba,"change",R);if(null!=k.pages&&(qa=k.pages.length,null!=k.currentPage))for(var xa=0;xa<qa;xa++)if(k.currentPage==k.pages[xa]){ka=xa+1;break}null!=k.lastPrintPagesFromInput&&null!=k.lastPrintPagesToInput?(ua.value=Math.min(qa,Math.max(1,
+k.lastPrintPagesFromInput)),Ba.value=Math.min(qa,Math.max(1,k.lastPrintPagesToInput))):(ua.value=ka,Ba.value=ka);ua.setAttribute("max",qa);Ba.setAttribute("max",qa);xa=mxUtils.button(mxResources.get("currentPage"),function(ta){ua.value=ka;Ba.value=ka;ra.checked=!0});xa.setAttribute("title",mxResources.get("currentPage"));xa.style.marginLeft="4px";xa.style.maxWidth="100px";xa.style.overflow="hidden";xa.style.textOverflow="ellipsis";xa.style.whiteSpace="nowrap";ba.appendChild(xa);1<qa&&Z.appendChild(ba);
ba=document.createElement("div");ba.style.borderBottom="1px solid lightGray";ba.style.paddingBottom="12px";ba.style.marginBottom="12px";ba.style.whiteSpace="nowrap";var Aa=document.createElement("input");Aa.setAttribute("name","pages-printdialog");Aa.setAttribute("type",1==qa?"checkbox":"radio");Aa.style.marginRight="8px";X.isSelectionEmpty()&&Aa.setAttribute("disabled","disabled");X.isEnabled()&&(ba.appendChild(Aa),t=document.createElement("span"),mxUtils.write(t,mxResources.get("selectionOnly")),
ba.appendChild(t));(X.isEnabled()||1<qa)&&Z.appendChild(ba);!k.isPagesEnabled()||k.lastPrintPagesRadioChecked?ra.checked=!0:!X.isSelectionEmpty()&&k.lastPrintSelectionOnlyChecked?Aa.checked=!0:pa.checked=!0;X.isSelectionEmpty()||mxEvent.addListener(t,"click",function(){Aa.checked=!Aa.checked});X=document.createElement("div");X.style.whiteSpace="nowrap";var Na=document.createElement("input");Na.style.marginBottom="8px";Na.style.marginRight="8px";Na.setAttribute("type","radio");Na.setAttribute("name",
"printSize");X.appendChild(Na);t=document.createElement("span");mxUtils.write(t,mxResources.get("pageView"));X.appendChild(t);mxEvent.addListener(X,"click",function(){Na.checked=!0});Z.appendChild(X);X=document.createElement("div");X.style.whiteSpace="nowrap";var va=document.createElement("input");va.style.marginBottom="8px";va.style.marginRight="8px";va.setAttribute("type","radio");va.setAttribute("name","printSize");X.appendChild(va);t=document.createElement("span");mxUtils.write(t,mxResources.get("crop"));
-X.appendChild(t);mxEvent.addListener(X,"click",function(){va.checked=!0});Z.appendChild(X);X=document.createElement("div");X.style.whiteSpace="nowrap";var Da=document.createElement("input");Da.style.marginBottom="8px";Da.style.marginRight="8px";Da.setAttribute("type","radio");Da.setAttribute("name","printSize");t=document.createElement("div");t.style.display="inline-block";t.style.verticalAlign="top";t.style.paddingTop="2px";t.appendChild(Da);X.appendChild(t);ba=document.createElement("table");ba.style.display=
-"inline-block";ba.style.borderSpacing="0";ya=document.createElement("tbody");var Ha=document.createElement("tr"),La=Ha.cloneNode(!0),Ea=document.createElement("td"),za=Ea.cloneNode(!0),Ra=Ea.cloneNode(!0),Ja=Ea.cloneNode(!0),Qa=Ea.cloneNode(!0),Ma=Ea.cloneNode(!0);Ea.style.textAlign="right";Ja.style.textAlign="right";mxUtils.write(Ea,mxResources.get("fitTo"));mxEvent.addListener(X,"click",function(ta){mxEvent.getSource(ta)!=Da&&(Da.checked=!Da.checked)});var u=document.createElement("input");u.style.margin=
-"0 2px";u.style.boxSizing="border-box";u.setAttribute("value",k.lastPrintSheetsAcross||"1");u.setAttribute("min","1");u.setAttribute("type","number");u.style.width="40px";za.appendChild(u);t=document.createElement("span");mxUtils.write(t,mxResources.get("fitToSheetsAcross"));Ra.appendChild(t);mxUtils.write(Ja,mxResources.get("fitToBy"));var N=u.cloneNode(!0);N.setAttribute("value",k.lastPrintSheetsDown||"1");Qa.appendChild(N);mxEvent.addListener(u,"click",function(ta){Da.checked=!0;mxEvent.consume(ta)});
-mxEvent.addListener(N,"click",function(ta){Da.checked=!0;mxEvent.consume(ta)});k.lastPrintCropRadioChecked?va.checked=!0:k.lastPrintFitRadioChecked?Da.checked=!0:Na.checked=!0;t=document.createElement("span");mxUtils.write(t,mxResources.get("fitToSheetsDown"));Ma.appendChild(t);Ha.appendChild(Ea);Ha.appendChild(za);Ha.appendChild(Ra);La.appendChild(Ja);La.appendChild(Qa);La.appendChild(Ma);ya.appendChild(Ha);ya.appendChild(La);ba.appendChild(ya);X.appendChild(ba);Z.appendChild(X);X=document.createElement("div");
+X.appendChild(t);mxEvent.addListener(X,"click",function(){va.checked=!0});Z.appendChild(X);X=document.createElement("div");X.style.whiteSpace="nowrap";var Ca=document.createElement("input");Ca.style.marginBottom="8px";Ca.style.marginRight="8px";Ca.setAttribute("type","radio");Ca.setAttribute("name","printSize");t=document.createElement("div");t.style.display="inline-block";t.style.verticalAlign="top";t.style.paddingTop="2px";t.appendChild(Ca);X.appendChild(t);ba=document.createElement("table");ba.style.display=
+"inline-block";ba.style.borderSpacing="0";xa=document.createElement("tbody");var Ga=document.createElement("tr"),La=Ga.cloneNode(!0),Da=document.createElement("td"),za=Da.cloneNode(!0),Ra=Da.cloneNode(!0),Ja=Da.cloneNode(!0),Qa=Da.cloneNode(!0),Ma=Da.cloneNode(!0);Da.style.textAlign="right";Ja.style.textAlign="right";mxUtils.write(Da,mxResources.get("fitTo"));mxEvent.addListener(X,"click",function(ta){mxEvent.getSource(ta)!=Ca&&(Ca.checked=!Ca.checked)});var u=document.createElement("input");u.style.margin=
+"0 2px";u.style.boxSizing="border-box";u.setAttribute("value",k.lastPrintSheetsAcross||"1");u.setAttribute("min","1");u.setAttribute("type","number");u.style.width="40px";za.appendChild(u);t=document.createElement("span");mxUtils.write(t,mxResources.get("fitToSheetsAcross"));Ra.appendChild(t);mxUtils.write(Ja,mxResources.get("fitToBy"));var N=u.cloneNode(!0);N.setAttribute("value",k.lastPrintSheetsDown||"1");Qa.appendChild(N);mxEvent.addListener(u,"click",function(ta){Ca.checked=!0;mxEvent.consume(ta)});
+mxEvent.addListener(N,"click",function(ta){Ca.checked=!0;mxEvent.consume(ta)});k.lastPrintCropRadioChecked?va.checked=!0:k.lastPrintFitRadioChecked?Ca.checked=!0:Na.checked=!0;t=document.createElement("span");mxUtils.write(t,mxResources.get("fitToSheetsDown"));Ma.appendChild(t);Ga.appendChild(Da);Ga.appendChild(za);Ga.appendChild(Ra);La.appendChild(Ja);La.appendChild(Qa);La.appendChild(Ma);xa.appendChild(Ga);xa.appendChild(La);ba.appendChild(xa);X.appendChild(ba);Z.appendChild(X);X=document.createElement("div");
X.style.borderTop="1px solid lightGray";X.style.whiteSpace="nowrap";X.style.paddingTop="12px";X.style.marginTop="12px";X.style.paddingLeft="8px";mxUtils.write(X,mxResources.get("borderWidth")+":");var Q=document.createElement("input");Q.setAttribute("type","number");Q.setAttribute("min","0");Q.style.width="40px";Q.style.marginLeft="4px";Q.value=null!=k.lastPrintBorder?k.lastPrintBorder:mxPrintPreview.prototype.pageMargin;X.appendChild(Q);t=document.createElement("span");t.style.marginLeft="8px";mxUtils.write(t,
mxResources.get("zoom")+":");X.appendChild(t);var Y=document.createElement("input");Y.style.width="60px";Y.style.marginLeft="4px";Y.value=null!=k.lastPrintZoom?k.lastPrintZoom:"100%";X.appendChild(Y);mxUtils.br(X);var ia=document.createElement("input");ia.setAttribute("type","checkbox");ia.style.marginTop="12px";ia.checked=null!=k.lastPrintGrid?k.lastPrintGrid:!1;X.appendChild(ia);t=document.createElement("span");t.style.marginLeft="4px";t.style.marginRight="8px";mxUtils.write(t,mxResources.get("grid"));
-X.appendChild(t);mxEvent.addListener(t,"click",function(ta){ia.checked=!0;mxEvent.consume(ta)});var ja=document.createElement("input");ja.setAttribute("type","checkbox");ja.style.marginTop="10px";ja.checked=null!=k.lastPrintTransparent?k.lastPrintTransparent:!1;null!=I&&(X.appendChild(ja),t=document.createElement("span"),t.style.marginLeft="4px",mxUtils.write(t,mxResources.get("transparentBackground")),X.appendChild(t),mxEvent.addListener(t,"click",function(ta){ja.checked=!0;mxEvent.consume(ta)}));
+X.appendChild(t);mxEvent.addListener(t,"click",function(ta){ia.checked=!0;mxEvent.consume(ta)});var la=document.createElement("input");la.setAttribute("type","checkbox");la.style.marginTop="10px";la.checked=null!=k.lastPrintTransparent?k.lastPrintTransparent:!1;null!=I&&(X.appendChild(la),t=document.createElement("span"),t.style.marginLeft="4px",mxUtils.write(t,mxResources.get("transparentBackground")),X.appendChild(t),mxEvent.addListener(t,"click",function(ta){la.checked=!0;mxEvent.consume(ta)}));
var oa=document.createElement("input");oa.setAttribute("type","checkbox");oa.style.marginTop="10px";oa.checked=null!=k.lastPrintInclude?k.lastPrintInclude:Editor.defaultIncludeDiagram;null==I||mxClient.IS_CHROMEAPP||"draw.io"!=k.getServiceName()||(mxUtils.br(X),X.appendChild(oa),t=document.createElement("span"),t.style.marginLeft="4px",mxUtils.write(t,mxResources.get("includeCopyOfMyDiagram")),X.appendChild(t),mxEvent.addListener(t,"click",function(ta){oa.checked=!0;mxEvent.consume(ta)}));Z.appendChild(X);
t=document.createElement("div");t.style.marginTop="40px";t.style.textAlign="right";t.style.whiteSpace="nowrap";k.isOffline()||null!=I||t.appendChild(k.createHelpIcon("https://www.drawio.com/doc/faq/print-diagram"));X=mxUtils.button(mxResources.get("cancel"),function(){k.hideDialog()});X.className="geBtn";k.editor.cancelFirst&&t.appendChild(X);PrintDialog.previewEnabled&&null==I&&(ba=mxUtils.button(mxResources.get("preview"),function(){try{k.hideDialog(),O(!1)}catch(ta){k.handleError(ta)}}),ba.className=
"geBtn",t.appendChild(ba));ba=mxUtils.button(mxResources.get(null!=I?"export":PrintDialog.previewEnabled?"print":"ok"),function(){try{k.hideDialog(),O(!0)}catch(ta){k.handleError(ta)}});ba.className="geBtn gePrimaryBtn";t.appendChild(ba);k.editor.cancelFirst||t.appendChild(X);Z.appendChild(t);this.container=Z};var aa=ChangePageSetup.prototype.execute;ChangePageSetup.prototype.execute=function(){null==this.page&&(this.page=this.ui.currentPage);if(this.page!=this.ui.currentPage){if(null!=this.page.viewState){this.ignoreColor||
@@ -3454,7 +3452,7 @@ t=document.createElement("div");t.style.marginTop="40px";t.style.textAlign="righ
(this.ui.setMathEnabled(this.mathEnabled),this.mathEnabled=!this.mathEnabled),null!=this.shadowVisible&&this.shadowVisible!=this.ui.editor.graph.shadowVisible&&(this.ui.editor.graph.setShadowVisible(this.shadowVisible),this.shadowVisible=!this.shadowVisible)};Editor.prototype.useCanvasForExport=!1;try{var V=document.createElement("canvas"),da=new Image;da.onload=function(){try{V.getContext("2d").drawImage(da,0,0);var k=V.toDataURL("image/png");Editor.prototype.useCanvasForExport=null!=k&&6<k.length}catch(t){}};
da.src="data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1px" height="1px" version="1.1"><foreignObject pointer-events="all" width="1" height="1"><div xmlns="http://www.w3.org/1999/xhtml"></div></foreignObject></svg>')))}catch(k){}Editor.prototype.useCanvasForExport=!1})();
(function(){var b=new mxObjectCodec(new ChangePageSetup,["ui","previousColor","previousImage","previousFormat"]);b.beforeDecode=function(e,g,n){n.ui=e.ui;return g};b.afterDecode=function(e,g,n){n.previousColor=n.color;n.previousImage=n.image;n.previousFormat=n.format;null!=n.foldingEnabled&&(n.foldingEnabled=!n.foldingEnabled);null!=n.mathEnabled&&(n.mathEnabled=!n.mathEnabled);null!=n.shadowVisible&&(n.shadowVisible=!n.shadowVisible);return n};mxCodecRegistry.register(b)})();
-(function(){var b=new mxObjectCodec(new ChangeGridColor,["ui"]);b.beforeDecode=function(e,g,n){n.ui=e.ui;return g};mxCodecRegistry.register(b)})();(function(){EditorUi.VERSION="24.8.6";EditorUi.compactUi="atlas"!=Editor.currentTheme||window.DRAWIO_PUBLIC_BUILD;Editor.isDarkMode()&&(mxGraphView.prototype.gridColor=mxGraphView.prototype.defaultDarkGridColor);EditorUi.enableLogging="1"!=urlParams.stealth&&"1"!=urlParams.lockdown&&(/.*\.draw\.io$/.test(window.location.hostname)||/.*\.diagrams\.net$/.test(window.location.hostname))&&"https://preprod.diagrams.net/"!=window.location.hostname&&"support.draw.io"!=window.location.hostname;EditorUi.drawHost=
+(function(){var b=new mxObjectCodec(new ChangeGridColor,["ui"]);b.beforeDecode=function(e,g,n){n.ui=e.ui;return g};mxCodecRegistry.register(b)})();(function(){EditorUi.VERSION="24.8.9";EditorUi.compactUi="atlas"!=Editor.currentTheme||window.DRAWIO_PUBLIC_BUILD;Editor.isDarkMode()&&(mxGraphView.prototype.gridColor=mxGraphView.prototype.defaultDarkGridColor);EditorUi.enableLogging="1"!=urlParams.stealth&&"1"!=urlParams.lockdown&&(/.*\.draw\.io$/.test(window.location.hostname)||/.*\.diagrams\.net$/.test(window.location.hostname))&&"https://preprod.diagrams.net/"!=window.location.hostname&&"support.draw.io"!=window.location.hostname;EditorUi.drawHost=
window.DRAWIO_BASE_URL;EditorUi.lightboxHost=window.DRAWIO_LIGHTBOX_URL;EditorUi.lastErrorMessage=null;EditorUi.ignoredAnonymizedChars="\n\t`~!@#$%^&*()_+{}|:\"<>?-=[];'./,\n\t";EditorUi.templateFile=TEMPLATE_PATH+"/index.xml";EditorUi.cacheUrl=window.REALTIME_URL;null==EditorUi.cacheUrl&&"undefined"!==typeof DrawioFile&&(DrawioFile.SYNC="none");Editor.cacheTimeout=1E4;EditorUi.enablePlantUml=EditorUi.enableLogging;EditorUi.isElectronApp=null!=window&&null!=window.process&&null!=window.process.versions&&
null!=window.process.versions.electron;EditorUi.nativeFileSupport=!mxClient.IS_OP&&!EditorUi.isElectronApp&&"1"!=urlParams.extAuth&&"showSaveFilePicker"in window&&"showOpenFilePicker"in window;EditorUi.enableDrafts=!mxClient.IS_CHROMEAPP&&isLocalStorage&&"0"!=urlParams.drafts;EditorUi.scratchpadHelpLink="https://www.drawio.com/doc/faq/scratchpad";EditorUi.enableHtmlEditOption=!0;EditorUi.mermaidDiagramTypes="flowchart classDiagram sequenceDiagram stateDiagram mindmap graph erDiagram requirementDiagram journey gantt pie gitGraph".split(" ");
EditorUi.defaultMermaidConfig={theme:"neutral",arrowMarkerAbsolute:!1,flowchart:{htmlLabels:!1},sequence:{diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,mirrorActors:!0,bottomMarginAdj:1,useMaxWidth:!0,rightAngles:!1,showSequenceNumbers:!1},gantt:{titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,leftPadding:75,gridLineStartPadding:35,fontSize:11,fontFamily:'"Open-Sans", "sans-serif"',numberSectionStyles:4,axisFormat:"%Y-%m-%d"}};
@@ -3473,10 +3471,10 @@ f.toDataURL("image/jpeg");EditorUi.prototype.jpgSupported=null!==z.match("image/
EditorUi.prototype.getLocalData=function(c,f){f(localStorage.getItem(c))};EditorUi.prototype.setLocalData=function(c,f,l){localStorage.setItem(c,f);null!=l&&l()};EditorUi.prototype.isLocked=function(){var c=this.getCurrentFile();return null!=c&&c.isLocked()};EditorUi.prototype.removeLocalData=function(c,f){localStorage.removeItem(c);f()};EditorUi.prototype.setShareCursorPosition=function(c){this.shareCursorPosition=c;this.fireEvent(new mxEventObject("shareCursorPositionChanged"))};EditorUi.prototype.isShareCursorPosition=
function(){return this.shareCursorPosition};EditorUi.prototype.setShowRemoteCursors=function(c){this.showRemoteCursors=c;this.fireEvent(new mxEventObject("showRemoteCursorsChanged"))};EditorUi.prototype.isShowRemoteCursors=function(){return this.showRemoteCursors};EditorUi.prototype.setMathEnabled=function(c){var f=this.editor.graph;f.mathEnabled=c;null!=f.view.backgroundImage&&(f.view.backgroundImage.destroy(),f.view.backgroundImage=null);this.editor.updateGraphComponents();f.refresh();f.defaultMathEnabled=
c;this.fireEvent(new mxEventObject("mathEnabledChanged"))};EditorUi.prototype.isMathEnabled=function(c){return this.editor.graph.mathEnabled};EditorUi.prototype.isStandaloneApp=function(){return mxClient.IS_CHROMEAPP||EditorUi.isElectronApp||this.isOfflineApp()};EditorUi.prototype.isOfflineApp=function(){return"1"==urlParams.offline};EditorUi.prototype.isOffline=function(c){return this.isOfflineApp()||!navigator.onLine||!c&&("1"==urlParams.stealth||"1"==urlParams.lockdown)};EditorUi.prototype.isExternalDataComms=
-function(){return"1"!=urlParams.offline&&!this.isOffline()&&!this.isOfflineApp()};EditorUi.prototype.createSpinner=function(c,f,l){var z=null==c||null==f;l=null!=l?l:24;var A=new Spinner({lines:12,length:l,width:Math.round(l/3),radius:Math.round(l/2),rotate:0,color:Editor.isDarkMode()?"#c0c0c0":"#000",speed:1.5,trail:60,shadow:!1,hwaccel:!1,zIndex:2E9}),B=this.timeout,G=A.spin,L=null,P=null,J=mxUtils.bind(this,function(ea){null!=ea&&ea()});A.spin=function(ea,T,ca,ka){ka=null!=ka?ka:B;var ma=!1;if(!this.active){var aa=
-Date.now();null!=ca&&(L=window.setTimeout(function(){A.stop();L=null;ca({code:App.ERROR_TIMEOUT,message:mxResources.get("timeout"),retry:P})},ka));G.call(this,ea);this.active=!0;null!=T&&(z&&(f=Math.max(document.body.clientHeight||0,document.documentElement.clientHeight||0)/2,c=document.body.clientWidth/2-2),ma=document.createElement("div"),ma.className="geSpinnerStatus",ma.style.position="absolute",ma.style.whiteSpace="nowrap",ma.style.background="#4B4243",ma.style.color="white",ma.style.fontFamily=
+function(){return"1"!=urlParams.offline&&!this.isOffline()&&!this.isOfflineApp()};EditorUi.prototype.createSpinner=function(c,f,l){var z=null==c||null==f;l=null!=l?l:24;var A=new Spinner({lines:12,length:l,width:Math.round(l/3),radius:Math.round(l/2),rotate:0,color:Editor.isDarkMode()?"#c0c0c0":"#000",speed:1.5,trail:60,shadow:!1,hwaccel:!1,zIndex:2E9}),B=this.timeout,G=A.spin,L=null,P=null,J=mxUtils.bind(this,function(ea){null!=ea&&ea()});A.spin=function(ea,T,ca,ja){ja=null!=ja?ja:B;var ma=!1;if(!this.active){var aa=
+Date.now();null!=ca&&(L=window.setTimeout(function(){A.stop();L=null;ca({code:App.ERROR_TIMEOUT,message:mxResources.get("timeout"),retry:P})},ja));G.call(this,ea);this.active=!0;null!=T&&(z&&(f=Math.max(document.body.clientHeight||0,document.documentElement.clientHeight||0)/2,c=document.body.clientWidth/2-2),ma=document.createElement("div"),ma.className="geSpinnerStatus",ma.style.position="absolute",ma.style.whiteSpace="nowrap",ma.style.background="#4B4243",ma.style.color="white",ma.style.fontFamily=
Editor.defaultHtmlFont,ma.style.fontSize="9pt",ma.style.padding="6px",ma.style.paddingLeft="10px",ma.style.paddingRight="10px",ma.style.zIndex=2E9,ma.style.left=Math.max(0,c)+"px",ma.style.top=Math.max(0,f+70)+"px",mxUtils.setPrefixedStyle(ma.style,"borderRadius","6px"),mxUtils.setPrefixedStyle(ma.style,"transform","translate(-50%,-50%)"),Editor.isDarkMode()||mxUtils.setPrefixedStyle(ma.style,"boxShadow","2px 2px 3px 0px #ddd"),"..."!=T.substring(T.length-3,T.length)&&"!"!=T.charAt(T.length-1)&&(T+=
-"..."),ma.innerHTML=mxUtils.htmlEntities(T),ea.appendChild(ma),A.status=ma);this.pause=mxUtils.bind(this,function(){var V=J;this.active&&(ka=Math.max(0,ka-(Date.now()-aa)),V=mxUtils.bind(this,function(da){this.spin(ea,T,ca,ka);if(null!=da)try{da(),P=mxUtils.bind(this,function(){this.spin(ea,T,ca,ka);try{da()}catch(k){null!=ca&&ca(k)}})}catch(k){null!=ca&&ca(k)}}));this.stop();return V});ma=!0}return ma};var fa=A.stop;A.stop=function(){fa.call(this);this.active&&(this.active=!1,null!=L&&(window.clearTimeout(L),
+"..."),ma.innerHTML=mxUtils.htmlEntities(T),ea.appendChild(ma),A.status=ma);this.pause=mxUtils.bind(this,function(){var V=J;this.active&&(ja=Math.max(0,ja-(Date.now()-aa)),V=mxUtils.bind(this,function(da){this.spin(ea,T,ca,ja);if(null!=da)try{da(),P=mxUtils.bind(this,function(){this.spin(ea,T,ca,ja);try{da()}catch(k){null!=ca&&ca(k)}})}catch(k){null!=ca&&ca(k)}}));this.stop();return V});ma=!0}return ma};var fa=A.stop;A.stop=function(){fa.call(this);this.active&&(this.active=!1,null!=L&&(window.clearTimeout(L),
L=null),null!=A.status&&null!=A.status.parentNode&&A.status.parentNode.removeChild(A.status),A.status=null)};A.pause=function(){return J};return A};EditorUi.prototype.isCompatibleString=function(c){try{var f=mxUtils.parseXml(c),l=this.editor.extractGraphModel(f.documentElement,!0);return null!=l&&0==l.getElementsByTagName("parsererror").length}catch(z){}return!1};EditorUi.isVisioFilename=function(c){return/(\.v(dx|sdx?))($|\?)/i.test(c)||/(\.vs(x|sx?))($|\?)/i.test(c)};EditorUi.prototype.isVisioData=
function(c){return 8<c.length&&(208==c.charCodeAt(0)&&207==c.charCodeAt(1)&&17==c.charCodeAt(2)&&224==c.charCodeAt(3)&&161==c.charCodeAt(4)&&177==c.charCodeAt(5)&&26==c.charCodeAt(6)&&225==c.charCodeAt(7)||80==c.charCodeAt(0)&&75==c.charCodeAt(1)&&3==c.charCodeAt(2)&&4==c.charCodeAt(3)||80==c.charCodeAt(0)&&75==c.charCodeAt(1)&&3==c.charCodeAt(2)&&6==c.charCodeAt(3))};EditorUi.prototype.isRemoteVisioData=function(c){return 8<c.length&&(208==c.charCodeAt(0)&&207==c.charCodeAt(1)&&17==c.charCodeAt(2)&&
224==c.charCodeAt(3)&&161==c.charCodeAt(4)&&177==c.charCodeAt(5)&&26==c.charCodeAt(6)&&225==c.charCodeAt(7)||60==c.charCodeAt(0)&&63==c.charCodeAt(1)&&120==c.charCodeAt(2)&&109==c.charCodeAt(3)&&108==c.charCodeAt(3))};var b=EditorUi.prototype.createKeyHandler;EditorUi.prototype.createKeyHandler=function(c){var f=b.apply(this,arguments);if(!this.editor.chromeless||this.editor.editable){var l=f.getFunction,z=this.editor.graph,A=this;f.getFunction=function(B){if(z.isSelectionEmpty()&&null!=A.pages&&
@@ -3486,10 +3484,10 @@ function(c){var f=e.apply(this,arguments);if(null==f)try{var l=c.indexOf("&lt;mx
c&&0<c.length){var f=c.indexOf('<meta charset="utf-8">');0<=f&&(c=c.slice(0,f)+'<meta charset="utf-8"/>'+c.slice(f+23-1,c.length));c=Graph.zapGremlins(c)}return c};EditorUi.prototype.replaceFileData=function(c,f){EditorUi.debug("EditorUi.replaceFileData",[this],"data",[c],"patches",f);c=this.validateFileData(c);c=null!=c&&0<c.length?mxUtils.parseXml(c).documentElement:null;var l=null!=c?this.editor.extractGraphModel(c,!0):null;null!=l&&(c=l);if(null!=c){l=this.editor.graph;l.model.beginUpdate();try{var z=
null!=this.pages?this.pages.slice():null,A=c.getElementsByTagName("diagram");if(1<A.length||1==A.length&&A[0].hasAttribute("name")){this.fileNode=c;this.pages=null!=this.pages?this.pages:[];for(var B=A.length-1;0<=B;B--){var G=this.updatePageRoot(new DiagramPage(A[B]));null==G.getName()&&G.setName(mxResources.get("pageWithNumber",[B+1]));l.model.execute(new ChangePage(this,G,0==B?G:null,0))}}else null==this.fileNode&&(this.fileNode=c.ownerDocument.createElement("mxfile"),this.currentPage=new DiagramPage(c.ownerDocument.createElement("diagram")),
this.currentPage.setName(mxResources.get("pageWithNumber",[1])),l.model.execute(new ChangePage(this,this.currentPage,this.currentPage,0))),this.editor.setGraphXml(c),null!=this.currentPage&&(this.currentPage.root=this.editor.graph.model.root,l.model.execute(new ChangePage(this,this.currentPage,this.currentPage,0)));if(null!=z)for(B=0;B<z.length;B++)l.model.execute(new ChangePage(this,z[B],null));var L=this.getCurrentFile();null!=L&&L.fileReplaced(f)}finally{l.model.endUpdate()}}};EditorUi.prototype.createFileData=
-function(c,f,l,z,A,B,G,L,P,J,fa,ea,T){f=null!=f?f:this.editor.graph;A=null!=A?A:!1;P=null!=P?P:!0;fa=null!=fa?fa:!Editor.defaultCompressed;var ca=null;if(null==l||l.getMode()==App.MODE_DEVICE||l.getMode()==App.MODE_BROWSER)var ka="_blank";else ca=ka=z;if(null==c)return"";var ma=c;if("mxfile"!=ma.nodeName.toLowerCase()){if(fa){var aa=c.ownerDocument.createElement("diagram");aa.setAttribute("name",mxResources.get("pageWithNumber",[1]));aa.setAttribute("id",Editor.guid());aa.appendChild(c)}else{aa=Graph.zapGremlins(mxUtils.getXml(c));
+function(c,f,l,z,A,B,G,L,P,J,fa,ea,T){f=null!=f?f:this.editor.graph;A=null!=A?A:!1;P=null!=P?P:!0;fa=null!=fa?fa:!Editor.defaultCompressed;var ca=null;if(null==l||l.getMode()==App.MODE_DEVICE||l.getMode()==App.MODE_BROWSER)var ja="_blank";else ca=ja=z;if(null==c)return"";var ma=c;if("mxfile"!=ma.nodeName.toLowerCase()){if(fa){var aa=c.ownerDocument.createElement("diagram");aa.setAttribute("name",mxResources.get("pageWithNumber",[1]));aa.setAttribute("id",Editor.guid());aa.appendChild(c)}else{aa=Graph.zapGremlins(mxUtils.getXml(c));
ma=Graph.compress(aa);if(Graph.decompress(ma)!=aa)return aa;aa=c.ownerDocument.createElement("diagram");aa.setAttribute("name",mxResources.get("pageWithNumber",[1]));aa.setAttribute("id",Editor.guid());mxUtils.setTextContent(aa,ma)}ma=c.ownerDocument.createElement("mxfile");ma.appendChild(aa)}J?(ma=ma.cloneNode(!0),ma.removeAttribute("modified"),ma.removeAttribute("host"),ma.removeAttribute("agent"),ma.removeAttribute("etag"),ma.removeAttribute("userAgent"),ma.removeAttribute("version"),ma.removeAttribute("editor"),
ma.removeAttribute("type")):(ma.removeAttribute("userAgent"),ma.removeAttribute("modified"),ma.removeAttribute("version"),ma.removeAttribute("editor"),ma.removeAttribute("pages"),ma.removeAttribute("type"),ma.removeAttribute("etag"),mxClient.IS_CHROMEAPP?ma.setAttribute("host","Chrome"):EditorUi.isElectronApp?ma.setAttribute("host","Electron"):ma.setAttribute("host",window.location.hostname),ma.setAttribute("agent",null!=navigator.userAgent?navigator.userAgent:navigator.appVersion),ma.setAttribute("version",
-EditorUi.VERSION),1<ma.getElementsByTagName("diagram").length&&null!=this.pages&&ma.setAttribute("pages",this.pages.length));null!=ea&&(ma=ma.cloneNode(!0),ma.setAttribute("scale",ea));null!=T&&(ma=ma.cloneNode(!0),ma.setAttribute("border",T));c=fa?mxUtils.getPrettyXml(ma):mxUtils.getXml(ma);if(!B&&!A&&(G||null!=l&&/(\.html)$/i.test(l.getTitle())))c=this.getHtml2(mxUtils.getXml(ma),f,null!=l?l.getTitle():null,ka,ca);else if(B||!A&&null!=l&&/(\.svg)$/i.test(l.getTitle()))null==l||l.getMode()!=App.MODE_DEVICE&&
+EditorUi.VERSION),1<ma.getElementsByTagName("diagram").length&&null!=this.pages&&ma.setAttribute("pages",this.pages.length));null!=ea&&(ma=ma.cloneNode(!0),ma.setAttribute("scale",ea));null!=T&&(ma=ma.cloneNode(!0),ma.setAttribute("border",T));c=fa?mxUtils.getPrettyXml(ma):mxUtils.getXml(ma);if(!B&&!A&&(G||null!=l&&/(\.html)$/i.test(l.getTitle())))c=this.getHtml2(mxUtils.getXml(ma),f,null!=l?l.getTitle():null,ja,ca);else if(B||!A&&null!=l&&/(\.svg)$/i.test(l.getTitle()))null==l||l.getMode()!=App.MODE_DEVICE&&
l.getMode()!=App.MODE_BROWSER||(z=null),l=this.getSvgFileProperties(ma),c=this.getEmbeddedSvg(c,f,z,null,L,P,ca,null,null,l.scale,l.border);return c};EditorUi.prototype.getXmlFileData=function(c,f,l,z){c=null!=c?c:!0;f=null!=f?f:!1;l=null!=l?l:!Editor.defaultCompressed;var A=this.editor.getGraphXml(c,z);if(c&&null!=this.fileNode&&null!=this.currentPage)if(c=function(P){var J=P.getElementsByTagName("mxGraphModel"),fa=0<J.length?J[0]:null;J=P;null==fa&&l?(fa=mxUtils.getNodeValue(P),0<fa.length&&(fa=
Graph.decompress(fa),null!=fa&&0<fa.length&&(J=P.cloneNode(!1),J.appendChild(mxUtils.parseXml(fa).documentElement)))):null==fa||l?J=P.cloneNode(!0):(J=P.cloneNode(!1),mxUtils.setTextContent(J,Graph.compressNode(fa)));A.appendChild(J)},EditorUi.removeChildNodes(this.currentPage.node),this.currentPage.node.appendChild(A),A=this.fileNode.cloneNode(!1),f)c(this.currentPage.node);else for(f=0;f<this.pages.length;f++){var B=this.pages[f],G=B.node;if(B!=this.currentPage)if(B.needsUpdate){var L=new mxCodec(mxUtils.createXmlDocument());
L=L.encode(new mxGraphModel(B.root));this.editor.graph.saveViewState(B.viewState,L,null,z);EditorUi.removeChildNodes(G);G.appendChild(L);delete B.needsUpdate}else z&&(this.updatePageRoot(B),null!=B.viewState.backgroundImage&&(null!=B.viewState.backgroundImage.originalSrc?B.viewState.backgroundImage=this.createImageForPageLink(B.viewState.backgroundImage.originalSrc,B):Graph.isPageLink(B.viewState.backgroundImage.src)&&(B.viewState.backgroundImage=this.createImageForPageLink(B.viewState.backgroundImage.src,
@@ -3500,7 +3498,7 @@ c[EditorUi.DIFF_INSERT][f].data=mxUtils.getXml(l)}catch(B){c[EditorUi.DIFF_INSER
c.setAttribute(c.attributes[l].name,this.anonymizeString(c.attributes[l].value,f));if(null!=c.childNodes)for(l=0;l<c.childNodes.length;l++)this.anonymizeAttributes(c.childNodes[l],f)};EditorUi.prototype.anonymizeNode=function(c,f){f=c.getElementsByTagName("mxCell");for(var l=0;l<f.length;l++)null!=f[l].getAttribute("value")&&f[l].setAttribute("value","["+f[l].getAttribute("value").length+"]"),null!=f[l].getAttribute("xmlValue")&&f[l].setAttribute("xmlValue","["+f[l].getAttribute("xmlValue").length+
"]"),null!=f[l].getAttribute("style")&&f[l].setAttribute("style","["+f[l].getAttribute("style").length+"]"),null!=f[l].parentNode&&"root"!=f[l].parentNode.nodeName&&null!=f[l].parentNode.parentNode&&(f[l].setAttribute("id",f[l].parentNode.getAttribute("id")),f[l].parentNode.parentNode.replaceChild(f[l],f[l].parentNode));return c};EditorUi.prototype.synchronizeCurrentFile=function(c){var f=this.getCurrentFile();null!=f&&(f.savingFile?this.handleError({message:mxResources.get("busy")}):!c&&f.invalidChecksum?
f.handleFileError(null,!0):this.spinner.spin(document.body,mxResources.get("updatingDocument"))&&(f.clearAutosave(),this.editor.setStatus(""),c?f.reloadFile(mxUtils.bind(this,function(){this.spinner.stop();f.handleFileSuccess("manual"==DrawioFile.SYNC)}),mxUtils.bind(this,function(l){this.spinner.stop();f.handleFileError(l,!0)})):f.synchronizeFile(mxUtils.bind(this,function(){f.handleFileSuccess("manual"==DrawioFile.SYNC)}),mxUtils.bind(this,function(l){f.handleFileError(l,!0)}))))};EditorUi.prototype.getFileData=
-function(c,f,l,z,A,B,G,L,P,J,fa,ea,T){A=null!=A?A:!0;B=null!=B?B:!1;J=null!=J?J:!Editor.defaultCompressed;var ca=this.editor.graph;if(f||!c&&null!=P&&/(\.svg)$/i.test(P.getTitle())){var ka=null!=ca.themes&&"darkTheme"==ca.defaultThemeName;if(ka||null!=this.pages&&this.currentPage!=this.pages[0]){var ma=ca.getGlobalVariable;ca=this.createTemporaryGraph(ka?ca.getDefaultStylesheet():ca.getStylesheet());ca.setBackgroundImage=this.editor.graph.setBackgroundImage;ca.background=this.editor.graph.background;
+function(c,f,l,z,A,B,G,L,P,J,fa,ea,T){A=null!=A?A:!0;B=null!=B?B:!1;J=null!=J?J:!Editor.defaultCompressed;var ca=this.editor.graph;if(f||!c&&null!=P&&/(\.svg)$/i.test(P.getTitle())){var ja=null!=ca.themes&&"darkTheme"==ca.defaultThemeName;if(ja||null!=this.pages&&this.currentPage!=this.pages[0]){var ma=ca.getGlobalVariable;ca=this.createTemporaryGraph(ja?ca.getDefaultStylesheet():ca.getStylesheet());ca.setBackgroundImage=this.editor.graph.setBackgroundImage;ca.background=this.editor.graph.background;
var aa=null!=this.pages?this.pages[0]:null;null==aa||this.currentPage==aa?ca.setBackgroundImage(this.editor.graph.backgroundImage):null!=aa.viewState&&null!=aa.viewState&&ca.setBackgroundImage(aa.viewState.backgroundImage);ca.getGlobalVariable=function(V){return"page"==V&&null!=aa?aa.getName():"pagenumber"==V?1:ma.apply(this,arguments)};document.body.appendChild(ca.container);null!=aa&&ca.model.setRoot(aa.root)}}G=null!=G?G:this.getXmlFileData(A,B,J,fa);P=null!=P?P:this.getCurrentFile();c=this.createFileData(G,
ca,P,window.location.href,c,f,l,z,A,L,J,ea,T);ca!=this.editor.graph&&ca.container.parentNode.removeChild(ca.container);return c};EditorUi.prototype.getHtml=function(c,f,l,z,A,B){B=null!=B?B:!0;var G=null,L=EditorUi.drawHost+"/js/embed-static.min.js";if(null!=f){G=B?f.getGraphBounds():f.getBoundingBox(f.getSelectionCells());var P=f.view.scale;B=Math.floor(G.x/P-f.view.translate.x);P=Math.floor(G.y/P-f.view.translate.y);G=f.background;null==A&&(f=this.getBasenames().join(";"),0<f.length&&(L=EditorUi.drawHost+
"/embed.js?s="+f));c.setAttribute("x0",B);c.setAttribute("y0",P)}null!=c&&(c.setAttribute("pan","1"),c.setAttribute("zoom","1"),c.setAttribute("resize","0"),c.setAttribute("fit","0"),c.setAttribute("border","20"),c.setAttribute("links","1"),null!=z&&c.setAttribute("edit",z));null!=A&&(A=A.replace(/&/g,"&amp;"));c=null!=c?Graph.zapGremlins(mxUtils.getXml(c)):"";z=Graph.compress(c);Graph.decompress(z)!=c&&(z=encodeURIComponent(c));return(null==A?'\x3c!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=5,IE=9" ><![endif]--\x3e\n':
@@ -3512,20 +3510,20 @@ function(c){c=this.validateFileData(c);this.pages=this.fileNode=this.currentPage
l={},0<c.length)){var z=this.getHashObject(),A=null;this.fileNode=f;this.pages=[];for(var B=0;B<c.length;B++){null==c[B].getAttribute("id")&&c[B].setAttribute("id",B);f=new DiagramPage(c[B]);null==f.getName()&&f.setName(mxResources.get("pageWithNumber",[B+1]));this.pages.push(f);if(null==z.pageId&&null!=urlParams["page-id"]&&f.getId()==urlParams["page-id"]||null!=z.pageId&&f.getId()==z.pageId)A=f;if(null==l[f.getId()])l[f.getId()]=f;else throw Error(f.getId()+": Duplicate page ID");}this.currentPage=
null!=A?A:this.pages[Math.max(0,Math.min(this.pages.length-1,urlParams.page||0))];f=this.currentPage.node}null==this.fileNode&&null!=f&&(this.fileNode=f.ownerDocument.createElement("mxfile"),this.currentPage=new DiagramPage(f.ownerDocument.createElement("diagram")),this.currentPage.setName(mxResources.get("pageWithNumber",[1])),this.pages=[this.currentPage]);this.editor.setGraphXml(f);null!=this.currentPage&&(this.currentPage.root=this.editor.graph.model.root,this.currentPage.setDiagramModified(!1),
this.scrollToPage());if(null!=urlParams["layer-ids"])try{var G=decodeURIComponent(urlParams["layer-ids"]).split(" ");f={};for(B=0;B<G.length;B++)f[G[B]]=!0;var L=this.editor.graph.getModel(),P=L.getChildren(L.root);for(B=0;B<P.length;B++){var J=P[B];L.setVisible(J,f[J.id]||!1)}}catch(fa){}};EditorUi.prototype.getBaseFilename=function(c){var f=this.getCurrentFile();f=null!=f&&null!=f.getTitle()?f.getTitle():this.defaultFilename;if(/(\.xml)$/i.test(f)||/(\.html)$/i.test(f)||/(\.svg)$/i.test(f)||/(\.png)$/i.test(f))f=
-f.substring(0,f.lastIndexOf("."));/(\.drawio)$/i.test(f)&&(f=f.substring(0,f.lastIndexOf(".")));!c&&null!=this.pages&&1<this.pages.length&&null!=this.currentPage&&null!=this.currentPage.node.getAttribute("name")&&0<this.currentPage.getName().length&&(f=f+"-"+this.currentPage.getName());return f};EditorUi.prototype.downloadFile=function(c,f,l,z,A,B,G,L,P,J,fa,ea,T,ca,ka,ma){try{z=null!=z?z:this.editor.graph.isSelectionEmpty();var aa=this.getBaseFilename(!A),V=aa+("xml"==c||"pdf"==c&&fa?".drawio":"")+
+f.substring(0,f.lastIndexOf("."));/(\.drawio)$/i.test(f)&&(f=f.substring(0,f.lastIndexOf(".")));!c&&null!=this.pages&&1<this.pages.length&&null!=this.currentPage&&null!=this.currentPage.node.getAttribute("name")&&0<this.currentPage.getName().length&&(f=f+"-"+this.currentPage.getName());return f};EditorUi.prototype.downloadFile=function(c,f,l,z,A,B,G,L,P,J,fa,ea,T,ca,ja,ma){try{z=null!=z?z:this.editor.graph.isSelectionEmpty();var aa=this.getBaseFilename(!A),V=aa+("xml"==c||"pdf"==c&&fa?".drawio":"")+
"."+c;if("xml"==c){var da=Graph.xmlDeclaration+"\n"+this.getFileData(!0,null,null,null,z,A,null,null,null,f);this.saveData(V,c,da,"text/xml")}else if("html"==c)da=this.getHtml2(this.getFileData(!0),this.editor.graph,aa),this.saveData(V,c,da,"text/html");else if("svg"!=c&&"xmlsvg"!=c||!this.spinner.spin(document.body,mxResources.get("export")))"xmlpng"==c?V=aa+".png":"jpeg"==c&&(V=aa+".jpg"),this.saveRequest(V,c,mxUtils.bind(this,function(O,X){try{return this.createDownloadRequest(O,c,z,X,G,A,L,P,
-J,fa,ea,void 0,void 0,!B,T,ca,ka,ma)}catch(Z){this.handleError(Z)}}));else{var k=null,t=mxUtils.bind(this,function(O){O.length<=MAX_REQUEST_SIZE?this.saveData(V,"svg",O,"image/svg+xml"):this.handleError({message:mxResources.get("drawingTooLarge")},mxResources.get("error"),mxUtils.bind(this,function(){mxUtils.popup(k)}))});if("svg"==c){var I=this.editor.graph.background;if(G||I==mxConstants.NONE)I=null;var R=this.editor.graph.getSvg(I,null,null,null,null,z);l&&this.editor.graph.addSvgShadow(R);this.editor.convertImages(R,
-mxUtils.bind(this,mxUtils.bind(this,function(O){this.spinner.stop();t(Graph.xmlDeclaration+"\n"+Graph.svgDoctype+"\n"+mxUtils.getXml(O))})))}else V=aa+".svg",k=this.getFileData(!1,!0,null,mxUtils.bind(this,function(O){this.spinner.stop();t(O)}),z)}}catch(O){this.handleError(O)}};EditorUi.prototype.createDownloadRequest=function(c,f,l,z,A,B,G,L,P,J,fa,ea,T,ca,ka,ma,aa,V){c=this.downloadRequestBuilder(c,f,l,z,A,B,G,L,P,J,fa,ea,T,ca,ka,ma,aa,V);f="";for(var da in c)l=c[da],null!=l&&(f+=da+"="+encodeURIComponent(l)+
-"&");return new mxXmlRequest(EXPORT_URL,f)};EditorUi.prototype.downloadRequestBuilder=function(c,f,l,z,A,B,G,L,P,J,fa,ea,T,ca,ka,ma,aa,V){var da=this.editor.graph,k=da.getGraphBounds();l=this.getFileData(!0,null,null,null,l,0==B?!1:"xmlpng"!=f,null,null,null,!Editor.defaultCompressed,"pdf"==f);var t=null,I=null,R=null;if(!EditorUi.isElectronApp&&(k.width*k.height>MAX_AREA||l.length>MAX_REQUEST_SIZE))throw{message:mxResources.get("drawingTooLarge")};J=J?"1":"0";"pdf"==f&&(null!=fa?(t=fa.from,I=fa.to):
+J,fa,ea,void 0,void 0,!B,T,ca,ja,ma)}catch(Z){this.handleError(Z)}}));else{var k=null,t=mxUtils.bind(this,function(O){O.length<=MAX_REQUEST_SIZE?this.saveData(V,"svg",O,"image/svg+xml"):this.handleError({message:mxResources.get("drawingTooLarge")},mxResources.get("error"),mxUtils.bind(this,function(){mxUtils.popup(k)}))});if("svg"==c){var I=this.editor.graph.background;if(G||I==mxConstants.NONE)I=null;var R=this.editor.graph.getSvg(I,null,null,null,null,z);l&&this.editor.graph.addSvgShadow(R);this.editor.convertImages(R,
+mxUtils.bind(this,mxUtils.bind(this,function(O){this.spinner.stop();t(Graph.xmlDeclaration+"\n"+Graph.svgDoctype+"\n"+mxUtils.getXml(O))})))}else V=aa+".svg",k=this.getFileData(!1,!0,null,mxUtils.bind(this,function(O){this.spinner.stop();t(O)}),z)}}catch(O){this.handleError(O)}};EditorUi.prototype.createDownloadRequest=function(c,f,l,z,A,B,G,L,P,J,fa,ea,T,ca,ja,ma,aa,V){c=this.downloadRequestBuilder(c,f,l,z,A,B,G,L,P,J,fa,ea,T,ca,ja,ma,aa,V);f="";for(var da in c)l=c[da],null!=l&&(f+=da+"="+encodeURIComponent(l)+
+"&");return new mxXmlRequest(EXPORT_URL,f)};EditorUi.prototype.downloadRequestBuilder=function(c,f,l,z,A,B,G,L,P,J,fa,ea,T,ca,ja,ma,aa,V){var da=this.editor.graph,k=da.getGraphBounds();l=this.getFileData(!0,null,null,null,l,0==B?!1:"xmlpng"!=f,null,null,null,!Editor.defaultCompressed,"pdf"==f);var t=null,I=null,R=null;if(!EditorUi.isElectronApp&&(k.width*k.height>MAX_AREA||l.length>MAX_REQUEST_SIZE))throw{message:mxResources.get("drawingTooLarge")};J=J?"1":"0";"pdf"==f&&(null!=fa?(t=fa.from,I=fa.to):
0==B&&(R="1"));"xmlpng"==f&&(J="1",f="png");if(("xmlpng"==f||"svg"==f)&&null!=this.pages&&null!=this.currentPage)for(B=0;B<this.pages.length;B++)if(this.pages[B]==this.currentPage){t=B;break}B=da.background;"png"!=f&&"pdf"!=f&&"svg"!=f||!A?A||null!=B&&B!=mxConstants.NONE||(B="#ffffff"):B=mxConstants.NONE;A={globalVars:da.getExportVariables()};P&&(A.grid={size:da.gridSize,steps:da.view.gridSteps,color:Editor.isDarkMode()&&"pdf"==f?mxGraphView.prototype.defaultGridColor:da.view.gridColor});Graph.translateDiagram&&
-(A.diagramLanguage=Graph.diagramLanguage);return{format:f,from:t,to:I,allPages:R,bg:null!=B?B:mxConstants.NONE,base64:z,embedXml:J,xml:l,filename:null!=c?c:"",extras:JSON.stringify(A),scale:G,border:L,pageMargin:ka,w:ea&&isFinite(ea)?ea:null,h:T&&isFinite(T)?T:null,crop:null!=ca&&ca?"1":"0",fit:null!=ma&&ma?"1":"0",sheetsAcross:aa,sheetsDown:V}};EditorUi.prototype.setMode=function(c,f){this.mode=c};EditorUi.prototype.getDiagramId=function(){var c=window.location.hash;null!=c&&0<c.length&&(c=c.substring(1));
+(A.diagramLanguage=Graph.diagramLanguage);return{format:f,from:t,to:I,allPages:R,bg:null!=B?B:mxConstants.NONE,base64:z,embedXml:J,xml:l,filename:null!=c?c:"",extras:JSON.stringify(A),scale:G,border:L,pageMargin:ja,w:ea&&isFinite(ea)?ea:null,h:T&&isFinite(T)?T:null,crop:null!=ca&&ca?"1":"0",fit:null!=ma&&ma?"1":"0",sheetsAcross:aa,sheetsDown:V}};EditorUi.prototype.setMode=function(c,f){this.mode=c};EditorUi.prototype.getDiagramId=function(){var c=window.location.hash;null!=c&&0<c.length&&(c=c.substring(1));
if(null!=c&&1<c.length){var f=c.indexOf("#");0<=f&&(c=c.substring(0,f))}return c};EditorUi.prototype.getHashObject=function(){var c=window.location.hash,f={};if(null!=c&&0<c.length){var l=c.lastIndexOf("#");if(0<l){c=decodeURIComponent(c.substring(l+1));try{f=JSON.parse(c)}catch(z){}}}return f};EditorUi.prototype.updateHashObject=function(){if(null!=this.currentFile&&null!=this.currentPage&&""!=this.currentFile.getHash()){var c=this.getHashObject();c.pageId=this.currentPage.getId();this.setHashObject(c)}else this.setHashObject(null)};
EditorUi.prototype.setHashObject=function(c){if(Editor.enableHashObjects){var f=window.location.hash;if(null==f||""==f)f="#";var l=f.lastIndexOf("#");0<l&&(f=f.substring(0,l));try{null==c||mxUtils.isEmptyObject(c)||(f=f+"#"+encodeURIComponent(JSON.stringify(c)))}catch(z){}0<l&&0<f.lastIndexOf("#")?window.location.hash=f:window.location.replace(f)}};EditorUi.prototype.loadDescriptor=function(c,f,l){var z=window.location.hash,A=mxUtils.bind(this,function(G){var L=null!=c.data?c.data:"";null!=G&&0<G.length&&
(0<L.length&&(L+="\n"),L+=G);G=new LocalFile(this,"csv"!=c.format&&0<L.length?L:this.emptyDiagramXml,null!=urlParams.title?decodeURIComponent(urlParams.title):this.defaultFilename,!0);G.getHash=function(){return z};this.fileLoaded(G);"csv"==c.format&&this.importCsv(L,mxUtils.bind(this,function(T){this.editor.undoManager.clear();this.editor.setModified(!1);this.editor.setStatus("")}));if(null!=c.update){var P=null!=c.interval?parseInt(c.interval):6E4,J=null,fa=mxUtils.bind(this,function(){var T=this.currentPage;
mxUtils.post(c.update,"xml="+encodeURIComponent(mxUtils.getXml(this.editor.getGraphXml())),mxUtils.bind(this,function(ca){T===this.currentPage&&(200<=ca.getStatus()&&300>=ca.getStatus()?(this.updateDiagram(ca.getText()),ea()):this.handleError({message:mxResources.get("error")+" "+ca.getStatus()}))}),mxUtils.bind(this,function(ca){this.handleError(ca)}))}),ea=mxUtils.bind(this,function(){window.clearTimeout(J);J=window.setTimeout(fa,P)});this.editor.addListener("pageSelected",mxUtils.bind(this,function(){ea();
fa()}));ea();fa()}null!=f&&f()});if(null!=c.url&&0<c.url.length){var B=this.editor.getProxiedUrl(c.url);this.editor.loadUrl(B,mxUtils.bind(this,function(G){A(G)}),mxUtils.bind(this,function(G){null!=l&&l(G)}))}else A("")};EditorUi.prototype.updateDiagram=function(c){function f(k){var t=new mxCellOverlay(k.image||A.warningImage,k.tooltip,k.align,k.valign,k.offset);t.addListener(mxEvent.CLICK,function(I,R){z.alert(k.tooltip)});return t}var l=null,z=this;if(null!=c&&0<c.length&&(l=mxUtils.parseXml(c),
c=null!=l?l.documentElement:null,null!=c&&"updates"==c.nodeName)){var A=this.editor.graph,B=A.getModel();B.beginUpdate();var G=null;try{for(c=c.firstChild;null!=c;){if("update"==c.nodeName){var L=B.getCell(c.getAttribute("id"));if(null!=L){try{var P=c.getAttribute("value");if(null!=P){var J=mxUtils.parseXml(P).documentElement;if(null!=J)if("1"==J.getAttribute("replace-value"))B.setValue(L,J);else for(var fa=J.attributes,ea=0;ea<fa.length;ea++)A.setAttributeForCell(L,fa[ea].nodeName,0<fa[ea].nodeValue.length?
-fa[ea].nodeValue:null)}}catch(k){null!=window.console&&console.log("Error in value for "+L.id+": "+k)}try{var T=c.getAttribute("style");null!=T&&A.model.setStyle(L,T)}catch(k){null!=window.console&&console.log("Error in style for "+L.id+": "+k)}try{var ca=c.getAttribute("icon");if(null!=ca){var ka=0<ca.length?JSON.parse(ca):null;null!=ka&&ka.append||A.removeCellOverlays(L);null!=ka&&A.addCellOverlay(L,f(ka))}}catch(k){null!=window.console&&console.log("Error in icon for "+L.id+": "+k)}try{var ma=
+fa[ea].nodeValue:null)}}catch(k){null!=window.console&&console.log("Error in value for "+L.id+": "+k)}try{var T=c.getAttribute("style");null!=T&&A.model.setStyle(L,T)}catch(k){null!=window.console&&console.log("Error in style for "+L.id+": "+k)}try{var ca=c.getAttribute("icon");if(null!=ca){var ja=0<ca.length?JSON.parse(ca):null;null!=ja&&ja.append||A.removeCellOverlays(L);null!=ja&&A.addCellOverlay(L,f(ja))}}catch(k){null!=window.console&&console.log("Error in icon for "+L.id+": "+k)}try{var ma=
c.getAttribute("geometry");if(null!=ma){ma=JSON.parse(ma);var aa=A.getCellGeometry(L);if(null!=aa){aa=aa.clone();for(key in ma){var V=parseFloat(ma[key]);"dx"==key?aa.x+=V:"dy"==key?aa.y+=V:"dw"==key?aa.width+=V:"dh"==key?aa.height+=V:aa[key]=parseFloat(ma[key])}A.model.setGeometry(L,aa)}}}catch(k){null!=window.console&&console.log("Error in icon for "+L.id+": "+k)}}}else if("model"==c.nodeName){for(var da=c.firstChild;null!=da&&da.nodeType!=mxConstants.NODETYPE_ELEMENT;)da=da.nextSibling;null!=da&&
(new mxCodec(c.firstChild)).decode(da,B)}else if("view"==c.nodeName){if(c.hasAttribute("scale")&&(A.view.scale=parseFloat(c.getAttribute("scale"))),c.hasAttribute("dx")||c.hasAttribute("dy"))A.view.translate=new mxPoint(parseFloat(c.getAttribute("dx")||0),parseFloat(c.getAttribute("dy")||0))}else"fit"==c.nodeName&&(G=c.hasAttribute("max-scale")?parseFloat(c.getAttribute("max-scale")):1);c=c.nextSibling}}finally{B.endUpdate()}null!=G&&this.chromelessResize&&this.chromelessResize(!0,G)}return l};EditorUi.prototype.getCopyFilename=
function(c,f){var l=null!=c&&null!=c.getTitle()?c.getTitle():this.defaultFilename;c="";var z=l.lastIndexOf(".");0<=z&&(c=l.substring(z),l=l.substring(0,z));if(f){f=l;var A=new Date;l=A.getFullYear();z=A.getMonth()+1;var B=A.getDate(),G=A.getHours(),L=A.getMinutes();A=A.getSeconds();l=f+(" "+(l+"-"+z+"-"+B+"-"+G+"-"+L+"-"+A))}return l=mxResources.get("copyOf",[l])+c};EditorUi.prototype.logIfModified=function(c,f){try{null!=c&&f&&EditorUi.debug("File.closed",[c])}catch(l){}};EditorUi.prototype.fileLoaded=
@@ -3546,16 +3544,16 @@ function(){null!=this.sidebarWindow?this.sidebarWindow.window.setVisible(!0):thi
this.openLibraries);break}A={file:c,images:f,title:l,expand:z};this.openLibraries.push(A)}else this.scratchpad=c;B=this.sidebar.palettes[c.getHash()];B=null!=B?B[B.length-1].nextSibling:null;this.removeLibrarySidebar(c.getHash());var G=null,L=mxUtils.bind(this,function(V,da){0==V.length&&c.isEditable()?(null==G&&(G=document.createElement("div"),G.className="geDropTarget",mxUtils.write(G,mxResources.get("dragElementsHere"))),da.appendChild(G)):this.addLibraryEntries(V,da)});null!=this.sidebar&&null!=
f&&this.sidebar.addEntries(f);null==l&&(l=c.getTitle(),null!=l&&/(\.xml)$/i.test(l)&&(l=l.substring(0,l.lastIndexOf("."))));var P=this.sidebar.addPalette(c.getHash(),l,null!=z?z:!0,mxUtils.bind(this,function(V){L(f,V)}));null!=A&&(A.div=P);this.repositionLibrary(B,"L.scratchpad"!=c.getHash());z=P.parentNode.previousSibling;l=z.getAttribute("title");null!=l&&0<l.length&&".scratchpad"!=c.title&&z.setAttribute("title",this.getLibraryStorageHint(c)+"\n"+l);var J=document.createElement("div");J.style.backgroundColor=
"inherit";z.style.position="relative";var fa=document.createElement("img");fa.className="geAdaptiveAsset";fa.setAttribute("src",Editor.crossImage);fa.setAttribute("title",mxResources.get("close"));fa.setAttribute("valign","absmiddle");fa.setAttribute("border","0");fa.style.position="relative";fa.style.top="2px";fa.style.width="14px";fa.style.cursor="pointer";fa.style.margin="0 3px";var ea=null;if(".scratchpad"!=c.title||this.closableScratchpad)J.appendChild(fa),mxEvent.addListener(fa,"click",mxUtils.bind(this,
-function(V){if(!mxEvent.isConsumed(V)){var da=mxUtils.bind(this,function(){null!=A&&mxUtils.remove(A,this.openLibraries);this.closeLibrary(c)});null!=ea?this.confirm(mxResources.get("allChangesLost"),null,da,mxResources.get("cancel"),mxResources.get("discardChanges")):da();mxEvent.consume(V)}}));if(c.isEditable()){var T=this.editor.graph,ca=null;l=mxUtils.bind(this,function(V){this.showLibraryDialog(c.getTitle(),P,f,c,c.getMode());mxEvent.consume(V)});var ka=mxUtils.bind(this,function(V){c.setModified(!0);
+function(V){if(!mxEvent.isConsumed(V)){var da=mxUtils.bind(this,function(){null!=A&&mxUtils.remove(A,this.openLibraries);this.closeLibrary(c)});null!=ea?this.confirm(mxResources.get("allChangesLost"),null,da,mxResources.get("cancel"),mxResources.get("discardChanges")):da();mxEvent.consume(V)}}));if(c.isEditable()){var T=this.editor.graph,ca=null;l=mxUtils.bind(this,function(V){this.showLibraryDialog(c.getTitle(),P,f,c,c.getMode());mxEvent.consume(V)});var ja=mxUtils.bind(this,function(V){c.setModified(!0);
c.isAutosave()?(null!=ca&&null!=ca.parentNode&&ca.parentNode.removeChild(ca),ca=fa.cloneNode(!1),ca.setAttribute("src",Editor.spinImage),ca.setAttribute("title",mxResources.get("saving")),ca.style.cursor="default",ca.style.marginRight="2px",ca.style.marginTop="-2px",J.insertBefore(ca,J.firstChild),this.saveLibrary(c.getTitle(),f,c,c.getMode(),!0,!0,function(){null!=ca&&null!=ca.parentNode&&ca.parentNode.removeChild(ca)})):null==ea&&(ea=fa.cloneNode(!1),ea.setAttribute("src",Editor.saveImage),ea.setAttribute("title",
mxResources.get("save")),J.insertBefore(ea,J.firstChild),mxEvent.addListener(ea,"click",mxUtils.bind(this,function(da){this.saveLibrary(c.getTitle(),f,c,c.getMode(),c.constructor==LocalLibrary,!0,function(){null==ea||c.isModified()||(ea.parentNode.removeChild(ea),ea=null)});mxEvent.consume(da)})))}),ma=mxUtils.bind(this,function(V,da,k,t){V=T.cloneCells(mxUtils.sortCells(T.model.getTopmostCells(V)));for(var I=0;I<V.length;I++){var R=T.getCellGeometry(V[I]);null!=R&&R.translate(-da.x,-da.y)}P.appendChild(this.sidebar.createVertexTemplateFromCells(V,
-da.width,da.height,t||"",!0,null,!1));V=mxUtils.getXml(this.editor.graph.encodeCells(V));Editor.defaultCompressed&&(V=Graph.compress(V));da={xml:V,w:da.width,h:da.height};null!=t&&(da.title=t);f.push(da);ka(k);null!=G&&null!=G.parentNode&&0<f.length&&(G.parentNode.removeChild(G),G=null)}),aa=mxUtils.bind(this,function(V){if(T.isSelectionEmpty())T.getRubberband().isActive()?(T.getRubberband().execute(V),T.getRubberband().reset()):this.showError(mxResources.get("error"),mxResources.get("nothingIsSelected"),
+da.width,da.height,t||"",!0,null,!1));V=mxUtils.getXml(this.editor.graph.encodeCells(V));Editor.defaultCompressed&&(V=Graph.compress(V));da={xml:V,w:da.width,h:da.height};null!=t&&(da.title=t);f.push(da);ja(k);null!=G&&null!=G.parentNode&&0<f.length&&(G.parentNode.removeChild(G),G=null)}),aa=mxUtils.bind(this,function(V){if(T.isSelectionEmpty())T.getRubberband().isActive()?(T.getRubberband().execute(V),T.getRubberband().reset()):this.showError(mxResources.get("error"),mxResources.get("nothingIsSelected"),
mxResources.get("ok"));else{var da=T.getSelectionCells(),k=T.view.getBounds(da);if(null!=k&&0<k.width&&0<k.height){var t=T.view.scale;k.x/=t;k.y/=t;k.width/=t;k.height/=t;k.x-=T.view.translate.x;k.y-=T.view.translate.y;ma(da,k)}else this.showError(mxResources.get("error"),mxResources.get("invalidSel"),mxResources.get("ok"))}mxEvent.consume(V)});mxEvent.addGestureListeners(P,function(){},mxUtils.bind(this,function(V){T.isMouseDown&&null!=T.panningManager&&null!=T.graphHandler.first&&(T.graphHandler.suspend(),
null!=T.graphHandler.hint&&(T.graphHandler.hint.style.visibility="hidden"),P.style.backgroundColor=Editor.isDarkMode()?"#000000":"#fefefe",P.style.cursor="copy",T.panningManager.stop(),T.autoScroll=!1,mxEvent.consume(V))}),mxUtils.bind(this,function(V){T.isMouseDown&&null!=T.panningManager&&null!=T.graphHandler&&(P.style.backgroundColor="",P.style.cursor="default",this.sidebar.showTooltips=!0,T.panningManager.stop(),T.graphHandler.reset(),T.isMouseDown=!1,T.autoScroll=!0,aa(V),mxEvent.consume(V))}));
mxEvent.addListener(P,"mouseleave",mxUtils.bind(this,function(V){T.isMouseDown&&null!=T.graphHandler.first&&(T.graphHandler.resume(),null!=T.graphHandler.hint&&(T.graphHandler.hint.style.visibility="visible"),P.style.backgroundColor="",P.style.cursor="",T.autoScroll=!0)}));Graph.fileSupport&&(mxEvent.addListener(P,"dragover",mxUtils.bind(this,function(V){P.style.backgroundColor=Editor.isDarkMode()?"#000000":"#fefefe";V.dataTransfer.dropEffect="copy";P.style.cursor="copy";this.sidebar.hideTooltip();
V.stopPropagation();V.preventDefault()})),mxEvent.addListener(P,"drop",mxUtils.bind(this,function(V){P.style.cursor="";P.style.backgroundColor="";0<V.dataTransfer.files.length&&this.importFiles(V.dataTransfer.files,0,0,this.maxImageSize,mxUtils.bind(this,function(da,k,t,I,R,O,X,Z,ba){if(null!=da&&"image/"==k.substring(0,6))da="shape=image;verticalLabelPosition=bottom;verticalAlign=top;imageAspect=0;aspect=fixed;image="+this.convertDataUri(da),da=[new mxCell("",new mxGeometry(0,0,R,O),da)],da[0].vertex=
-!0,ma(da,new mxRectangle(0,0,R,O),V,mxEvent.isAltDown(V)?null:X.substring(0,X.lastIndexOf(".")).replace(/_/g," ")),null!=G&&null!=G.parentNode&&0<f.length&&(G.parentNode.removeChild(G),G=null);else{var la=!1,qa=mxUtils.bind(this,function(pa,ra){null!=pa&&"application/pdf"==ra&&(ra=Editor.extractGraphModelFromPdf(pa),null!=ra&&0<ra.length&&(pa=ra));if(null!=pa)if(pa=mxUtils.parseXml(pa),"mxlibrary"==pa.documentElement.nodeName)try{var ua=JSON.parse(mxUtils.getTextContent(pa.documentElement));L(ua,
-P);f=f.concat(ua);ka(V);this.spinner.stop();la=!0}catch(Na){}else if("mxfile"==pa.documentElement.nodeName)try{var Ba=pa.documentElement.getElementsByTagName("diagram");for(ua=0;ua<Ba.length;ua++){var ya=this.stringToCells(Editor.getDiagramNodeXml(Ba[ua])),Aa=this.editor.graph.getBoundingBoxFromGeometry(ya);null!=Aa&&ma(ya,new mxRectangle(0,0,Aa.width,Aa.height),V)}la=!0}catch(Na){null!=window.console&&console.log("error in drop handler:",Na)}la||(this.spinner.stop(),this.handleError({message:mxResources.get("errorLoadingFile")}));
+!0,ma(da,new mxRectangle(0,0,R,O),V,mxEvent.isAltDown(V)?null:X.substring(0,X.lastIndexOf(".")).replace(/_/g," ")),null!=G&&null!=G.parentNode&&0<f.length&&(G.parentNode.removeChild(G),G=null);else{var ka=!1,qa=mxUtils.bind(this,function(pa,ra){null!=pa&&"application/pdf"==ra&&(ra=Editor.extractGraphModelFromPdf(pa),null!=ra&&0<ra.length&&(pa=ra));if(null!=pa)if(pa=mxUtils.parseXml(pa),"mxlibrary"==pa.documentElement.nodeName)try{var ua=JSON.parse(mxUtils.getTextContent(pa.documentElement));L(ua,
+P);f=f.concat(ua);ja(V);this.spinner.stop();ka=!0}catch(Na){}else if("mxfile"==pa.documentElement.nodeName)try{var Ba=pa.documentElement.getElementsByTagName("diagram");for(ua=0;ua<Ba.length;ua++){var xa=this.stringToCells(Editor.getDiagramNodeXml(Ba[ua])),Aa=this.editor.graph.getBoundingBoxFromGeometry(xa);null!=Aa&&ma(xa,new mxRectangle(0,0,Aa.width,Aa.height),V)}ka=!0}catch(Na){null!=window.console&&console.log("error in drop handler:",Na)}ka||(this.spinner.stop(),this.handleError({message:mxResources.get("errorLoadingFile")}));
null!=G&&null!=G.parentNode&&0<f.length&&(G.parentNode.removeChild(G),G=null)});null!=ba&&null!=X&&EditorUi.isVisioFilename(X)?this.importVisio(ba,function(pa){qa(pa,"text/xml")},null,X):(new XMLHttpRequest).upload&&this.isRemoteFileFormat(da,X)&&null!=ba?this.isExternalDataComms()?this.parseFile(ba,mxUtils.bind(this,function(pa){4==pa.readyState&&(this.spinner.stop(),200<=pa.status&&299>=pa.status?qa(pa.responseText,"text/xml"):this.handleError({message:mxResources.get(413==pa.status?"drawingTooLarge":
"invalidOrMissingFile")},mxResources.get("errorLoadingFile")))})):(this.spinner.stop(),this.showError(mxResources.get("error"),mxResources.get("notInOffline"))):qa(da,k)}}));V.stopPropagation();V.preventDefault()})),mxEvent.addListener(P,"dragleave",function(V){P.style.cursor="";P.style.backgroundColor="";V.stopPropagation();V.preventDefault()}));fa=fa.cloneNode(!1);fa.setAttribute("src",Editor.editImage);fa.setAttribute("title",mxResources.get("edit"));J.insertBefore(fa,J.firstChild);mxEvent.addListener(fa,
"click",l);l=fa.cloneNode(!1);l.setAttribute("src",Editor.plusImage);l.setAttribute("title",mxResources.get("add"));J.insertBefore(l,J.firstChild);mxEvent.addListener(l,"click",aa);".scratchpad"==c.title&&(this.addSelectionToScratchpad=aa);this.isOffline()||".scratchpad"!=c.title||null==EditorUi.scratchpadHelpLink||(l=this.createHelpIcon(EditorUi.scratchpadHelpLink),B=l.getElementsByTagName("img")[0],l.style.marginRight="1px",B.style.marginTop="-2px",B.style.opacity="",J.insertBefore(l,J.firstChild))}z.appendChild(J);
@@ -3569,24 +3567,24 @@ this.showSplash()}));c.init()};var g=EditorUi.prototype.createFormat;EditorUi.pr
null!=c.message)try{G||EditorUi.logError("Caught: "+(""==c.message&&null!=c.name)?c.name:c.message,c.filename,c.lineNumber,c.columnNumber,c,"INFO"),"1"!=urlParams.test&&!G||null==window.console||console.error("EditorUi.handleError:",c)}catch(T){}if(null!=P||null!=f){G=mxUtils.htmlEntities(mxResources.get("unknownError"),!1);var J=mxResources.get("ok"),fa=null;f=null!=f?f:mxResources.get("error");if(null!=P){null!=P.retry&&(J=mxResources.get("cancel"),fa=function(){L();P.retry()});if(404==P.code||
404==P.status||403==P.code){G=403==P.code?null!=P.message?mxUtils.htmlEntities(P.message,!1):mxUtils.htmlEntities(mxResources.get("accessDenied"),!1):null!=A?A:mxUtils.htmlEntities(mxResources.get("fileNotFoundOrDenied")+(null!=this.drive&&null!=this.drive.user?" ("+this.drive.user.email+")":""),!1);var ea=null!=A?null:null!=B?B:window.location.hash;if(null!=ea&&("#G"==ea.substring(0,2)||"#Uhttps%3A%2F%2Fdrive.google.com%2Fuc%3Fid%3D"==ea.substring(0,45))&&(null!=c&&null!=c.error&&(null!=c.error.errors&&
0<c.error.errors.length&&"fileAccess"==c.error.errors[0].reason||null!=c.error.data&&0<c.error.data.length&&"fileAccess"==c.error.data[0].reason)||404==P.code||404==P.status)){ea="#U"==ea.substring(0,2)?ea.substring(45,ea.lastIndexOf("%26ex")):ea.substring(2);this.showError(f,G,mxResources.get("tryOpeningViaThisPage"),mxUtils.bind(this,function(){this.editor.graph.openLink("https://drive.google.com/open?id="+ea);null!=z&&z()}),fa,mxResources.get("changeUser"),mxUtils.bind(this,function(){function T(){aa.innerText=
-"";for(var V=0;V<ca.length;V++){var da=document.createElement("option");mxUtils.write(da,ca[V].displayName);da.value=V;aa.appendChild(da);da=document.createElement("option");da.innerHTML="&nbsp;&nbsp;&nbsp;";mxUtils.write(da,"<"+ca[V].email+">");da.setAttribute("disabled","disabled");aa.appendChild(da)}da=document.createElement("option");mxUtils.write(da,mxResources.get("addAccount"));da.value=ca.length;aa.appendChild(da)}var ca=this.drive.getUsersList(),ka=document.createElement("div"),ma=document.createElement("div");
-ma.style.marginBottom="6px";mxUtils.write(ma,mxResources.get("changeUser")+": ");ka.appendChild(ma);var aa=document.createElement("select");aa.style.width="100%";T();mxEvent.addListener(aa,"change",mxUtils.bind(this,function(){var V=aa.value,da=ca.length!=V;da&&this.drive.setUser(ca[V]);this.drive.authorize(da,mxUtils.bind(this,function(){da||(ca=this.drive.getUsersList(),T())}),mxUtils.bind(this,function(k){this.handleError(k)}),!0)}));ka.appendChild(aa);ka=new CustomDialog(this,ka,mxUtils.bind(this,
-function(){this.loadFile(window.location.hash.substr(1),!0)}));this.showDialog(ka.container,300,100,!0,!0)}),mxResources.get("cancel"),mxUtils.bind(this,function(){this.hideDialog();null!=l&&l()}),520,150);return}}null!=P.message?G=""==P.message&&null!=P.name?mxUtils.htmlEntities(P.name,!1):mxUtils.htmlEntities(P.message,!1):null!=P.response&&null!=P.response.error?G=mxUtils.htmlEntities(P.response.error,!1):"undefined"!==typeof window.App&&(P.code==App.ERROR_TIMEOUT?G=mxUtils.htmlEntities(mxResources.get("timeout"),
+"";for(var V=0;V<ca.length;V++){var da=document.createElement("option");mxUtils.write(da,ca[V].displayName);da.value=V;aa.appendChild(da);da=document.createElement("option");da.innerHTML="&nbsp;&nbsp;&nbsp;";mxUtils.write(da,"<"+ca[V].email+">");da.setAttribute("disabled","disabled");aa.appendChild(da)}da=document.createElement("option");mxUtils.write(da,mxResources.get("addAccount"));da.value=ca.length;aa.appendChild(da)}var ca=this.drive.getUsersList(),ja=document.createElement("div"),ma=document.createElement("div");
+ma.style.marginBottom="6px";mxUtils.write(ma,mxResources.get("changeUser")+": ");ja.appendChild(ma);var aa=document.createElement("select");aa.style.width="100%";T();mxEvent.addListener(aa,"change",mxUtils.bind(this,function(){var V=aa.value,da=ca.length!=V;da&&this.drive.setUser(ca[V]);this.drive.authorize(da,mxUtils.bind(this,function(){da||(ca=this.drive.getUsersList(),T())}),mxUtils.bind(this,function(k){this.handleError(k)}),!0)}));ja.appendChild(aa);ja=new CustomDialog(this,ja,mxUtils.bind(this,
+function(){this.loadFile(window.location.hash.substr(1),!0)}));this.showDialog(ja.container,300,100,!0,!0)}),mxResources.get("cancel"),mxUtils.bind(this,function(){this.hideDialog();null!=l&&l()}),520,150);return}}null!=P.message?G=""==P.message&&null!=P.name?mxUtils.htmlEntities(P.name,!1):mxUtils.htmlEntities(P.message,!1):null!=P.response&&null!=P.response.error?G=mxUtils.htmlEntities(P.response.error,!1):"undefined"!==typeof window.App&&(P.code==App.ERROR_TIMEOUT?G=mxUtils.htmlEntities(mxResources.get("timeout"),
!1):P.code==App.ERROR_BUSY?G=mxUtils.htmlEntities(mxResources.get("busy"),!1):"string"===typeof P&&0<P.length&&(G=mxUtils.htmlEntities(P,!1)))}A=c=null;null!=P&&null!=P.helpLink?(c=mxResources.get("help"),A=mxUtils.bind(this,function(){return this.editor.graph.openLink(P.helpLink)})):null!=P&&null!=P.ownerEmail?(c=mxResources.get("contactOwner"),G+=mxUtils.htmlEntities(" ("+c+": "+P.ownerEmail+")",!1),A=mxUtils.bind(this,function(){return this.openLink("mailto:"+mxUtils.htmlEntities(P.ownerEmail))})):
null!=P&&null!=P.alternateAction&&(c=P.alternateAction.label,A=P.alternateAction.funct);this.showError(f,G,J,l,fa,null,null,c,A,null,null,null,z?l:null)}else null!=l&&l()};EditorUi.prototype.alert=function(c,f,l){c=new ErrorDialog(this,null,c,mxResources.get("ok"),f);this.showDialog(c.container,l||340,100,!0,!1);c.init()};EditorUi.prototype.confirm=function(c,f,l,z,A,B){c=null!=c?c:"";var G=null!=this.spinner&&null!=this.spinner.pause?this.spinner.pause():function(){},L=Math.min(220,28*Math.ceil(Math.max(1,
c.length)/50));c=new ConfirmDialog(this,c,function(){G();null!=f&&f()},function(){G();null!=l&&l()},z,A,null,null,null,null,L);this.showDialog(c.container,340,46+L,!0,B);c.init()};EditorUi.prototype.showBanner=function(c,f,l,z,A,B,G,L,P){var J=!1;if(!(this.bannerShowing||this["hideBanner"+c]||isLocalStorage&&null!=mxSettings.settings&&null!=mxSettings.settings["close"+c])){B=null!=B?B:"bottom:10px;left:50%;";G=null!=G?G:"translate(-50%,120%)";L=null!=L?L:"translate(-50%,0%)";var fa=A?500:1E3;J=A?
"padding:4px;border-radius:6px;font-size:11px;height:12px;font-weight:normal;":"font-size:16px;padding:18px 34px 12px 20px;font-weight:bold;";var ea=document.createElement("div");ea.style.cssText="position:absolute;"+B+";max-width:90%;white-space:nowrap;cursor:pointer;z-index:"+mxPopupMenu.prototype.zIndex+";"+J;mxUtils.setPrefixedStyle(ea.style,"transform",G);mxUtils.setPrefixedStyle(ea.style,"transition","all "+fa+"ms ease");ea.className="geBtn gePrimaryBtn"+(A?" geSmallBanner":"");Editor.isDarkMode()||
mxUtils.setPrefixedStyle(ea.style,"box-shadow","1px 1px 2px 0px #ddd");null!=P&&mxUtils.setPrefixedStyle(ea.style,"transform-origin",P);if(!A){var T=document.createElement("img");T.setAttribute("src",IMAGE_PATH+"/logo.png");T.setAttribute("border","0");T.setAttribute("align","absmiddle");T.style.cssText="margin-top:-4px;margin-left:8px;margin-right:12px;width:26px;height:26px;";ea.appendChild(T);T=document.createElement("img");T.setAttribute("src",Dialog.prototype.closeImage);T.setAttribute("title",
mxResources.get(z?"doNotShowAgain":"close"));T.setAttribute("border","0");T.style.cssText=(A?"right:6px;top:9px;":"right:10px;top:12px;")+"position:absolute;filter:invert(1);padding:6px;margin:-6px;cursor:default;";ea.appendChild(T)}mxUtils.write(ea,f);document.body.appendChild(ea);this.bannerShowing=!0;f=document.createElement("div");f.style.cssText="display:flex;align-items:center;justify-content:center;padding-top:6px;font-size:11px;text-align:center;font-weight:normal;";var ca=document.createElement("input");
-ca.setAttribute("type","checkbox");ca.setAttribute("id","geDoNotShowAgainCheckbox");ca.style.marginRight="6px";if(!z){f.appendChild(ca);var ka=document.createElement("label");ka.setAttribute("for","geDoNotShowAgainCheckbox");mxUtils.write(ka,mxResources.get("doNotShowAgain"));f.appendChild(ka);ea.style.paddingBottom=A?"16px":"30px";ea.appendChild(f)}var ma=mxUtils.bind(this,function(){null!=ea.parentNode&&(ea.parentNode.removeChild(ea),this.bannerShowing=!1,ca.checked||z)&&(this["hideBanner"+c]=!0,
-isLocalStorage&&null!=mxSettings.settings&&(mxSettings.settings["close"+c]=Date.now(),mxSettings.save()))});null!=T&&mxEvent.addListener(T,"click",mxUtils.bind(this,function(V){mxEvent.consume(V);ma()}));var aa=mxUtils.bind(this,function(){mxUtils.setPrefixedStyle(ea.style,"transform",G);window.setTimeout(mxUtils.bind(this,function(){ma()}),fa)});mxEvent.addListener(ea,"click",mxUtils.bind(this,function(V){var da=mxEvent.getSource(V);da!=ca&&da!=ka?(null!=l&&l(),ma(),mxEvent.consume(V)):aa()}));window.setTimeout(mxUtils.bind(this,
+ca.setAttribute("type","checkbox");ca.setAttribute("id","geDoNotShowAgainCheckbox");ca.style.marginRight="6px";if(!z){f.appendChild(ca);var ja=document.createElement("label");ja.setAttribute("for","geDoNotShowAgainCheckbox");mxUtils.write(ja,mxResources.get("doNotShowAgain"));f.appendChild(ja);ea.style.paddingBottom=A?"16px":"30px";ea.appendChild(f)}var ma=mxUtils.bind(this,function(){null!=ea.parentNode&&(ea.parentNode.removeChild(ea),this.bannerShowing=!1,ca.checked||z)&&(this["hideBanner"+c]=!0,
+isLocalStorage&&null!=mxSettings.settings&&(mxSettings.settings["close"+c]=Date.now(),mxSettings.save()))});null!=T&&mxEvent.addListener(T,"click",mxUtils.bind(this,function(V){mxEvent.consume(V);ma()}));var aa=mxUtils.bind(this,function(){mxUtils.setPrefixedStyle(ea.style,"transform",G);window.setTimeout(mxUtils.bind(this,function(){ma()}),fa)});mxEvent.addListener(ea,"click",mxUtils.bind(this,function(V){var da=mxEvent.getSource(V);da!=ca&&da!=ja?(null!=l&&l(),ma(),mxEvent.consume(V)):aa()}));window.setTimeout(mxUtils.bind(this,
function(){mxUtils.setPrefixedStyle(ea.style,"transform",L)}),fa/2);window.setTimeout(aa,A?4E3:3E4);J=!0}return J};EditorUi.prototype.setCurrentFile=function(c){null!=c&&(c.opened=new Date);this.currentFile=c};EditorUi.prototype.getCurrentFile=function(){return this.currentFile};EditorUi.prototype.isExportToCanvas=function(){return this.editor.isExportToCanvas()};EditorUi.prototype.createImageDataUri=function(c,f,l,z){c=c.toDataURL("image/"+l);if(null!=c&&6<c.length)null!=f&&(c=Editor.writeGraphModelToPng(c,
"tEXt","mxfile",encodeURIComponent(f))),0<z&&(c=Editor.writeGraphModelToPng(c,"pHYs","dpi",z));else throw{message:mxResources.get("unknownError")};return c};EditorUi.prototype.saveCanvas=function(c,f,l,z,A){var B="jpeg"==l?"jpg":l;z=this.getBaseFilename(z)+(null!=f?".drawio":"")+"."+B;c=this.createImageDataUri(c,f,l,A);this.saveData(z,B,c.substring(c.lastIndexOf(",")+1),"image/"+l,!0)};EditorUi.prototype.isLocalFileSave=function(){return"remote"!=urlParams.save&&(mxClient.IS_IE||"undefined"!==typeof window.Blob&&
"undefined"!==typeof window.URL)&&9!=document.documentMode&&8!=document.documentMode&&7!=document.documentMode||this.isOfflineApp()||mxClient.IS_IOS};EditorUi.prototype.showTextDialog=function(c,f){c=new TextareaDialog(this,c,f,null,null,mxResources.get("close"));this.showDialog(c.container,620,460,!0,!0,null,null,null,null,!0);c.init();document.execCommand("selectall",!1,null)};EditorUi.prototype.doSaveLocalFile=function(c,f,l,z,A,B){"text/xml"!=l||/(\.drawio)$/i.test(f)||/(\.xml)$/i.test(f)||/(\.svg)$/i.test(f)||
/(\.html)$/i.test(f)||(f=f+"."+(null!=B?B:"drawio"));if(window.Blob&&navigator.msSaveOrOpenBlob)c=z?this.base64ToBlob(c,l):new Blob([c],{type:l}),navigator.msSaveOrOpenBlob(c,f);else if(mxClient.IS_IE)l=window.open("about:blank","_blank"),null==l?mxUtils.popup(c,!0):(l.document.write(c),l.document.close(),l.document.execCommand("SaveAs",!0,f),l.close());else if(mxClient.IS_IOS&&this.isOffline())navigator.standalone||null==l||"image/"!=l.substring(0,6)?this.showTextDialog(f+":",c):this.openInNewWindow(c,
l,z);else{var G=document.createElement("a");B=(null==navigator.userAgent||0>navigator.userAgent.indexOf("PaleMoon/"))&&"undefined"!==typeof G.download;if(mxClient.IS_GC&&null!=navigator.userAgent){var L=navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);B=65==(L?parseInt(L[2],10):!1)?!1:B}if(B||this.isOffline()){G.href=URL.createObjectURL(z?this.base64ToBlob(c,l):new Blob([c],{type:l}));B?G.download=f:G.setAttribute("target","_blank");document.body.appendChild(G);try{window.setTimeout(function(){URL.revokeObjectURL(G.href)},
2E4),G.click(),G.parentNode.removeChild(G)}catch(P){}}else this.createEchoRequest(c,f,l,z,A).simulate(document,"_blank")}};EditorUi.prototype.createEchoRequest=function(c,f,l,z,A,B){c="xml="+encodeURIComponent(c);return new mxXmlRequest(SAVE_URL,c+(null!=l?"&mime="+l:"")+(null!=A?"&format="+A:"")+(null!=B?"&base64="+B:"")+(null!=f?"&filename="+encodeURIComponent(f):"")+(z?"&binary=1":""))};EditorUi.prototype.saveLocalFile=function(c,f,l,z,A,B,G,L){B=null!=B?B:!1;G=null!=G?G:"vsdx"!=A&&(!mxClient.IS_IOS||
-!navigator.standalone);var P=mxUtils.bind(this,function(fa,ea,T,ca){try{if("_blank"==ea)if(null!=l&&"image/"==l.substring(0,6))this.openInNewWindow(c,l,z);else if(null!=l&&"text/html"==l.substring(0,9)){var ka=new EmbedDialog(this,c);this.showDialog(ka.container,450,240,!0,!0);ka.init()}else{var ma=window.open("about:blank");null==ma?mxUtils.popup(c,!0):(ma.document.write("<pre>"+mxUtils.htmlEntities(c,!1)+"</pre>"),ma.document.close())}else if(ea==App.MODE_DEVICE||"download"==ea)this.doSaveLocalFile(c,
+!navigator.standalone);var P=mxUtils.bind(this,function(fa,ea,T,ca){try{if("_blank"==ea)if(null!=l&&"image/"==l.substring(0,6))this.openInNewWindow(c,l,z);else if(null!=l&&"text/html"==l.substring(0,9)){var ja=new EmbedDialog(this,c);this.showDialog(ja.container,450,240,!0,!0);ja.init()}else{var ma=window.open("about:blank");null==ma?mxUtils.popup(c,!0):(ma.document.write("<pre>"+mxUtils.htmlEntities(c,!1)+"</pre>"),ma.document.close())}else if(ea==App.MODE_DEVICE||"download"==ea)this.doSaveLocalFile(c,
fa,l,z,null,L);else if(null!=fa&&0<fa.length){var aa=mxUtils.bind(this,function(V){try{this.exportFile(c,fa,l,z,ea,V)}catch(da){this.handleError(da)}});null!=ca?aa(ca):this.pickFolder(ea,aa)}}catch(V){this.handleError(V)}});A=[];B||A.push(App.MODE_BROWSER);G||A.push("_blank");var J=new SaveDialog(this,f,mxUtils.bind(this,function(fa,ea,T){P(fa.value,ea,fa,T);this.hideDialog(null,null,J.container)}),A,c,l,z);this.showDialog(J.container,420,110,!0,!1,mxUtils.bind(this,function(){this.hideDialog()}));
J.init()};EditorUi.prototype.openInNewWindow=function(c,f,l){var z=window.open("about:blank");null==z||null==z.document?mxUtils.popup(c,!0):("image/svg+xml"!=f||mxClient.IS_SVG?"image/svg+xml"!=f||l?(c=l?c:btoa(unescape(encodeURIComponent(c))),z.document.write('<html><img style="max-width:100%;" src="data:'+f+";base64,"+c+'"/></html>')):z.document.write("<html>"+c+"</html>"):z.document.write("<html><pre>"+mxUtils.htmlEntities(c,!1)+"</pre></html>"),z.document.close())};var n=EditorUi.prototype.addChromelessToolbarItems;
EditorUi.prototype.isChromelessImageExportEnabled=function(){return"draw.io"!=this.getServiceName()||/.*\.draw\.io$/.test(window.location.hostname)||/.*\.diagrams\.net$/.test(window.location.hostname)};EditorUi.prototype.addChromelessToolbarItems=function(c){if(null!=urlParams.tags){this.tagsDialog=this.tagsComponent=null;var f=c(mxUtils.bind(this,function(z){null==this.tagsComponent&&(this.tagsComponent=this.editor.graph.createTagsDialog(mxUtils.bind(this,function(){return null!=this.tagsDialog}),
@@ -3601,18 +3599,18 @@ null)}));this.editor.addListener("layersDialogShown",mxUtils.bind(this,function(
speed:1.5,trail:60,shadow:!1,hwaccel:!1,top:"28px",zIndex:2E9});G.spin(this.exportDialog);document.body.appendChild(this.exportDialog);mxEvent.addListener(this.editor.graph.container,"click",A);this.editor.exportToCanvas(mxUtils.bind(this,function(L){G.stop();this.exportDialog.style.width="auto";this.exportDialog.style.height="auto";this.exportDialog.style.padding="10px";var P=this.createImageDataUri(L,null,"png");L=document.createElement("img");L.style.maxWidth="140px";L.style.maxHeight="140px";
L.style.cursor="pointer";L.style.backgroundColor="white";L.setAttribute("title",mxResources.get("openInNewWindow"));L.setAttribute("border","0");L.setAttribute("src",P);this.exportDialog.appendChild(L);mxEvent.addListener(L,"click",mxUtils.bind(this,function(){this.openInNewWindow(P.substring(P.indexOf(",")+1),"image/png",!0);A.apply(this,arguments)}))}),null,this.thumbImageCache,null,mxUtils.bind(this,function(L){G.stop();null!=this.exportDialog&&null!=this.exportDialog.parentNode&&(this.exportDialog.parentNode.removeChild(this.exportDialog),
this.exportDialog=null);this.handleError(L)}),null,null,null,null,null,null,null,Editor.defaultBorder)}mxEvent.consume(z)}),Editor.cameraImage,mxResources.get("export"))}};EditorUi.prototype.saveData=function(c,f,l,z,A){this.isLocalFileSave()?this.saveLocalFile(l,c,z,A,f):this.saveRequest(c,f,mxUtils.bind(this,function(B,G){return this.createEchoRequest(l,B,z,A,f,G)}),l,A,z)};EditorUi.prototype.saveRequest=function(c,f,l,z,A,B,G){G=null!=G?G:!mxClient.IS_IOS||!navigator.standalone;var L=mxUtils.bind(this,
-function(J,fa,ea,T){if("_blank"==fa||null!=J&&0<J.length){var ca=l("_blank"==fa?null:J,fa==App.MODE_DEVICE||"download"==fa||null==fa||"_blank"==fa?"0":"1");null!=ca&&(fa==App.MODE_DEVICE||"download"==fa||"_blank"==fa?ca.simulate(document,"_blank"):(ea=mxUtils.bind(this,function(ka){B=null!=B?B:"pdf"==f?"application/pdf":"image/"+f;if(null!=z)try{this.exportFile(z,J,B,!0,fa,ka)}catch(ma){this.handleError(ma)}else this.spinner.spin(document.body,mxResources.get("saving"))&&ca.send(mxUtils.bind(this,
-function(){this.spinner.stop();if(200<=ca.getStatus()&&299>=ca.getStatus())try{this.exportFile(ca.getText(),J,B,!0,fa,ka)}catch(ma){this.handleError(ma)}else this.handleError({message:mxResources.get("errorSavingFile")})}),mxUtils.bind(this,function(ma){this.spinner.stop();this.handleError(ma)}))}),null!=T?ea(T):this.pickFolder(fa,ea)))}});A=[App.MODE_BROWSER];G||A.push("_blank");var P=new SaveDialog(this,c,mxUtils.bind(this,function(J,fa,ea){L(J.value,fa,J,ea);this.hideDialog(null,null,P.container)}),
+function(J,fa,ea,T){if("_blank"==fa||null!=J&&0<J.length){var ca=l("_blank"==fa?null:J,fa==App.MODE_DEVICE||"download"==fa||null==fa||"_blank"==fa?"0":"1");null!=ca&&(fa==App.MODE_DEVICE||"download"==fa||"_blank"==fa?ca.simulate(document,"_blank"):(ea=mxUtils.bind(this,function(ja){B=null!=B?B:"pdf"==f?"application/pdf":"image/"+f;if(null!=z)try{this.exportFile(z,J,B,!0,fa,ja)}catch(ma){this.handleError(ma)}else this.spinner.spin(document.body,mxResources.get("saving"))&&ca.send(mxUtils.bind(this,
+function(){this.spinner.stop();if(200<=ca.getStatus()&&299>=ca.getStatus())try{this.exportFile(ca.getText(),J,B,!0,fa,ja)}catch(ma){this.handleError(ma)}else this.handleError({message:mxResources.get("errorSavingFile")})}),mxUtils.bind(this,function(ma){this.spinner.stop();this.handleError(ma)}))}),null!=T?ea(T):this.pickFolder(fa,ea)))}});A=[App.MODE_BROWSER];G||A.push("_blank");var P=new SaveDialog(this,c,mxUtils.bind(this,function(J,fa,ea){L(J.value,fa,J,ea);this.hideDialog(null,null,P.container)}),
A,null,"application/pdf");this.showDialog(P.container,420,110,!0,!1,mxUtils.bind(this,function(){this.hideDialog()}));P.init()};EditorUi.prototype.isServices=function(c){return 1!=c};EditorUi.prototype.getEditBlankXml=function(){return this.getFileData(!0)};EditorUi.prototype.exportFile=function(c,f,l,z,A,B){};EditorUi.prototype.getServiceForName=function(c){return null};EditorUi.prototype.getTitleForService=function(c){return mxResources.get(c)};EditorUi.prototype.pickFolder=function(c,f,l){f(null)};
-EditorUi.prototype.exportSvg=function(c,f,l,z,A,B,G,L,P,J,fa,ea,T,ca){if(this.spinner.spin(document.body,mxResources.get("exporting"),mxUtils.bind(this,function(R){Editor.addRetryToError(R,mxUtils.bind(this,function(){this.exportSvg(c,f,l,z,A,B,G,L,P,J,fa,ea,T,ca)}));this.handleError(R)})))try{var ka=this.editor.graph.isSelectionEmpty();l=null!=l?l:ka;var ma=f?null:this.editor.graph.background;ma==mxConstants.NONE&&(ma=null);null==ma&&0==f&&(ma="dark"!=fa||Editor.enableCssDarkMode?"#ffffff":Editor.darkColor);
+EditorUi.prototype.exportSvg=function(c,f,l,z,A,B,G,L,P,J,fa,ea,T,ca){if(this.spinner.spin(document.body,mxResources.get("exporting"),mxUtils.bind(this,function(R){Editor.addRetryToError(R,mxUtils.bind(this,function(){this.exportSvg(c,f,l,z,A,B,G,L,P,J,fa,ea,T,ca)}));this.handleError(R)})))try{var ja=this.editor.graph.isSelectionEmpty();l=null!=l?l:ja;var ma=f?null:this.editor.graph.background;ma==mxConstants.NONE&&(ma=null);null==ma&&0==f&&(ma="dark"!=fa||Editor.enableCssDarkMode?"#ffffff":Editor.darkColor);
var aa=this.editor.graph.addForeignObjectWarning;Editor.foreignObjectImages&&(this.editor.graph.addForeignObjectWarning=function(){});var V=this.editor.graph.getSvg(ma,c,G,L,null,l,null,null,"blank"==J?"_blank":"self"==J?"_top":null,null,!T,fa,ea);this.editor.graph.addForeignObjectWarning=aa;z&&this.editor.graph.addSvgShadow(V);var da=this.getBaseFilename()+(A?".drawio":"")+".svg";ca=null!=ca?ca:mxUtils.bind(this,function(R){this.isLocalFileSave()||R.length<=MAX_REQUEST_SIZE?this.saveData(da,"svg",
R,"image/svg+xml"):this.handleError({message:mxResources.get("drawingTooLarge")},mxResources.get("error"),mxUtils.bind(this,function(){mxUtils.popup(R)}))});var k=mxUtils.bind(this,function(R){this.spinner.stop();A&&R.setAttribute("content",this.getFileData(!0,null,null,null,l,P,null,null,null,null,null,c,G));ca(Graph.xmlDeclaration+"\n"+(A?Graph.svgFileComment+"\n":"")+Graph.svgDoctype+"\n"+mxUtils.getXml(R))});this.editor.graph.mathEnabled&&this.editor.addMathCss(V);var t=mxUtils.bind(this,function(R){Editor.replaceSvgDataUris&&
-B&&EditorUi.embedSvgImages(R);Editor.foreignObjectImages&&T?this.replaceAlternateContent(R,fa,k):k(R)}),I=mxUtils.bind(this,function(R){B&&!this.isOffline()&&this.canvasSupported?(null==this.thumbImageCache&&(this.thumbImageCache={}),this.editor.convertImages(R,t,this.thumbImageCache)):t(R)});T?this.embedFonts(V,I):(this.editor.addFontCss(V),I(V))}catch(R){this.handleError(R)}};EditorUi.prototype.replaceAlternateContent=function(c,f,l){function z(ea,T,ca,ka,ma){var aa=mxUtils.createElementNs(c.ownerDocument,
-mxConstants.NS_SVG,"image");aa.setAttribute("x",T);aa.setAttribute("y",ca+.5);aa.setAttribute("width",ka.width);aa.setAttribute("height",ka.height);null==aa.setAttributeNS?aa.setAttribute("xlink:href",ma):aa.setAttributeNS(mxConstants.NS_XLINK,"xlink:href",ma);ea.replaceChild(aa,ea.lastChild);L()}function A(){if(G<fa.length)fa[G++](A)}var B="";f=c.getElementsByTagName("style");for(var G=0;G<f.length;G++)B+=f[G].innerHTML;f=c.getElementsByTagName("switch");counter=f.length;var L=mxUtils.bind(this,
-function(){counter--;0==counter&&l(c)}),P={},J={},fa=[];for(G=0;G<f.length;G++)mxUtils.bind(this,function(ea){var T=ea.getElementsByTagName("div");if(0<T.length)try{var ca=T[0].cloneNode(!0),ka=parseInt(ca.style.marginLeft),ma=parseInt(ca.style.paddingTop),aa=ca.getElementsByTagName("div")[1],V=T=!1,da=ca.style.alignItems,k=ca.style.justifyContent;if(null!=ca.style.writingMode){var t=ca.style.writingMode;V="vertical-"==t.substring(0,9);T="-rl"==t.substring(t.length-3)}var I=!V&&"1px"==ca.style.width||
+B&&EditorUi.embedSvgImages(R);Editor.foreignObjectImages&&T?this.replaceAlternateContent(R,fa,k):k(R)}),I=mxUtils.bind(this,function(R){B&&!this.isOffline()&&this.canvasSupported?(null==this.thumbImageCache&&(this.thumbImageCache={}),this.editor.convertImages(R,t,this.thumbImageCache)):t(R)});T?this.embedFonts(V,I):(this.editor.addFontCss(V),I(V))}catch(R){this.handleError(R)}};EditorUi.prototype.replaceAlternateContent=function(c,f,l){function z(ea,T,ca,ja,ma){var aa=mxUtils.createElementNs(c.ownerDocument,
+mxConstants.NS_SVG,"image");aa.setAttribute("x",T);aa.setAttribute("y",ca+.5);aa.setAttribute("width",ja.width);aa.setAttribute("height",ja.height);null==aa.setAttributeNS?aa.setAttribute("xlink:href",ma):aa.setAttributeNS(mxConstants.NS_XLINK,"xlink:href",ma);ea.replaceChild(aa,ea.lastChild);L()}function A(){if(G<fa.length)fa[G++](A)}var B="";f=c.getElementsByTagName("style");for(var G=0;G<f.length;G++)B+=f[G].innerHTML;f=c.getElementsByTagName("switch");counter=f.length;var L=mxUtils.bind(this,
+function(){counter--;0==counter&&l(c)}),P={},J={},fa=[];for(G=0;G<f.length;G++)mxUtils.bind(this,function(ea){var T=ea.getElementsByTagName("div");if(0<T.length)try{var ca=T[0].cloneNode(!0),ja=parseInt(ca.style.marginLeft),ma=parseInt(ca.style.paddingTop),aa=ca.getElementsByTagName("div")[1],V=T=!1,da=ca.style.alignItems,k=ca.style.justifyContent;if(null!=ca.style.writingMode){var t=ca.style.writingMode;V="vertical-"==t.substring(0,9);T="-rl"==t.substring(t.length-3)}var I=!V&&"1px"==ca.style.width||
V&&"1px"==ca.style.height;if(!V&&"1px"==ca.style.height||V&&"1px"==ca.style.width)ca.style.alignItems=V&&T?"unsafe flex-end":"unsafe flex-start";I&&(ca.style.justifyContent="unsafe flex-start");ca.style.paddingTop="";ca.style.marginLeft="";var R=ca.outerHTML,O=P[R];null==O&&(ca.style.position="absolute",ca.style.visibility="hidden",document.body.appendChild(ca),t=1,t="1px"==ca.style.width?aa.offsetWidth:parseInt(ca.style.width),I=1,I="1px"==ca.style.height?aa.offsetHeight:parseInt(ca.style.height),
-document.body.removeChild(ca),O=new mxRectangle(ka,ma,t,I),P[R]=O);"1px"==ca.style.height&&("unsafe center"==da?ma-=O.height/2:"unsafe flex-end"==da&&(ma-=O.height));if("1px"==ca.style.width)if(!V&&"unsafe center"==k||V&&"unsafe center"==da)ka-=O.width/2;else if(!V&&"unsafe flex-end"==k||V&&(!T&&"unsafe flex-end"==da||T&&"unsafe flex-start"==da))ka-=O.width;O=new mxRectangle(ka,ma,O.width,O.height+parseInt(aa.style.fontSize)/4);fa.push(mxUtils.bind(this,function(X){var Z=J[R];null==Z?Graph.htmlToPng(R,
-O.width,O.height,mxUtils.bind(this,function(ba){z(ea,ka,ma,O,ba);J[R]=ba;X()}),B):(z(ea,ka,ma,O,Z),X())}))}catch(X){L()}else L()})(f[G]);0==counter&&l(c);G=0;A()};EditorUi.prototype.addRadiobox=function(c,f,l,z,A,B,G){return this.addCheckbox(c,l,z,A,B,G,!0,f)};EditorUi.prototype.addCheckbox=function(c,f,l,z,A,B,G,L){B=null!=B?B:!0;var P=document.createElement("input");P.style.marginRight="8px";P.style.marginTop="16px";P.setAttribute("type",G?"radio":"checkbox");G="geCheckbox-"+Editor.guid();P.id=
+document.body.removeChild(ca),O=new mxRectangle(ja,ma,t,I),P[R]=O);"1px"==ca.style.height&&("unsafe center"==da?ma-=O.height/2:"unsafe flex-end"==da&&(ma-=O.height));if("1px"==ca.style.width)if(!V&&"unsafe center"==k||V&&"unsafe center"==da)ja-=O.width/2;else if(!V&&"unsafe flex-end"==k||V&&(!T&&"unsafe flex-end"==da||T&&"unsafe flex-start"==da))ja-=O.width;O=new mxRectangle(ja,ma,O.width,O.height+parseInt(aa.style.fontSize)/4);fa.push(mxUtils.bind(this,function(X){var Z=J[R];null==Z?Graph.htmlToPng(R,
+O.width,O.height,mxUtils.bind(this,function(ba){z(ea,ja,ma,O,ba);J[R]=ba;X()}),B):(z(ea,ja,ma,O,Z),X())}))}catch(X){L()}else L()})(f[G]);0==counter&&l(c);G=0;A()};EditorUi.prototype.addRadiobox=function(c,f,l,z,A,B,G){return this.addCheckbox(c,l,z,A,B,G,!0,f)};EditorUi.prototype.addCheckbox=function(c,f,l,z,A,B,G,L){B=null!=B?B:!0;var P=document.createElement("input");P.style.marginRight="8px";P.style.marginTop="16px";P.setAttribute("type",G?"radio":"checkbox");G="geCheckbox-"+Editor.guid();P.id=
G;null!=L&&P.setAttribute("name",L);l&&(P.setAttribute("checked","checked"),P.defaultChecked=!0);z&&P.setAttribute("disabled","disabled");B&&(c.appendChild(P),l=document.createElement("label"),mxUtils.write(l,f),l.setAttribute("for",G),c.appendChild(l),A||mxUtils.br(c));return P};EditorUi.prototype.addEditButton=function(c,f){var l=this.addCheckbox(c,mxResources.get("edit")+":",!0,null,!0);l.style.marginLeft="24px";var z=this.getCurrentFile(),A="";null!=z&&z.getMode()!=App.MODE_DEVICE&&z.getMode()!=
App.MODE_BROWSER&&(A=window.location.href);var B=document.createElement("select");B.style.maxWidth="200px";B.style.width="auto";B.style.marginLeft="8px";B.style.marginRight="10px";B.className="geBtn";z=document.createElement("option");z.setAttribute("value","blank");mxUtils.write(z,mxResources.get("makeCopy"));B.appendChild(z);var G=document.createElement("option");G.setAttribute("value","custom");mxUtils.write(G,mxResources.get("custom")+"...");B.appendChild(G);c.appendChild(B);mxEvent.addListener(B,
"change",mxUtils.bind(this,function(){if("custom"==B.value){var L=new FilenameDialog(this,A,mxResources.get("ok"),function(P){null!=P?(A=P,G.setAttribute("title",P)):(B.value="blank",G.removeAttribute("title"))},mxResources.get("url"),null,null,null,null,function(){B.value="blank"});this.showDialog(L.container,300,80,!0,!1);L.init()}}));mxEvent.addListener(l,"change",mxUtils.bind(this,function(){l.checked&&(null==f||f.checked)?B.removeAttribute("disabled"):B.setAttribute("disabled","disabled")}));
@@ -3628,34 +3626,34 @@ c=null!=c?"&fetch="+encodeURIComponent(c):"";ea(f,'<script type="text/javascript
document.createElement("h3");mxUtils.write(B,mxResources.get("html"));B.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:12px";A.appendChild(B);var G=document.createElement("div");G.style.cssText="border-bottom:1px solid lightGray;padding-bottom:8px;margin-bottom:12px;";var L=document.createElement("input");L.style.cssText="margin-right:8px;margin-top:8px;margin-bottom:8px;";L.setAttribute("value","url");L.setAttribute("type","radio");L.setAttribute("name","type-embedhtmldialog");
B=L.cloneNode(!0);B.setAttribute("value","copy");G.appendChild(B);var P=document.createElement("span");mxUtils.write(P,mxResources.get("includeCopyOfMyDiagram"));G.appendChild(P);mxUtils.br(G);G.appendChild(L);P=document.createElement("span");mxUtils.write(P,mxResources.get("publicDiagramUrl"));G.appendChild(P);var J=this.getCurrentFile();null==l&&null!=J&&J.constructor==window.DriveFile&&(P=document.createElement("a"),P.style.paddingLeft="12px",P.style.color="gray",P.style.cursor="pointer",mxUtils.write(P,
mxResources.get("share")),G.appendChild(P),mxEvent.addListener(P,"click",mxUtils.bind(this,function(){this.hideDialog();this.drive.showPermissions(J.getId(),J)})));B.setAttribute("checked","checked");null==l&&L.setAttribute("disabled","disabled");A.appendChild(G);var fa=this.addLinkSection(A),ea=this.addCheckbox(A,mxResources.get("zoom"),!0,null,!0);mxUtils.write(A,":");var T=document.createElement("input");T.setAttribute("type","text");T.style.marginRight="16px";T.style.width="60px";T.style.marginLeft=
-"4px";T.style.marginRight="12px";T.value="100%";A.appendChild(T);var ca=this.addCheckbox(A,mxResources.get("fit"),!0);G=null!=this.pages&&1<this.pages.length;var ka=ka=this.addCheckbox(A,mxResources.get("allPages"),G,!G),ma=this.addCheckbox(A,mxResources.get("layers"),!0),aa=this.addCheckbox(A,mxResources.get("tags"),!0),V=this.addCheckbox(A,mxResources.get("lightbox"),!0),da=null;G=380;if(EditorUi.enableHtmlEditOption){da=this.addEditButton(A,V);var k=da.getEditInput();k.style.marginBottom="16px";
-G+=50;mxEvent.addListener(V,"change",function(){V.checked?k.removeAttribute("disabled"):k.setAttribute("disabled","disabled");k.checked&&V.checked?da.getEditSelect().removeAttribute("disabled"):da.getEditSelect().setAttribute("disabled","disabled")})}c=new CustomDialog(this,A,mxUtils.bind(this,function(){z(L.checked?l:null,ea.checked,T.value,fa.getTarget(),fa.getColor(),ca.checked,ka.checked,ma.checked,aa.checked,V.checked,null!=da?da.getLink():null)}),null,c,f);this.showDialog(c.container,340,G,
+"4px";T.style.marginRight="12px";T.value="100%";A.appendChild(T);var ca=this.addCheckbox(A,mxResources.get("fit"),!0);G=null!=this.pages&&1<this.pages.length;var ja=ja=this.addCheckbox(A,mxResources.get("allPages"),G,!G),ma=this.addCheckbox(A,mxResources.get("layers"),!0),aa=this.addCheckbox(A,mxResources.get("tags"),!0),V=this.addCheckbox(A,mxResources.get("lightbox"),!0),da=null;G=380;if(EditorUi.enableHtmlEditOption){da=this.addEditButton(A,V);var k=da.getEditInput();k.style.marginBottom="16px";
+G+=50;mxEvent.addListener(V,"change",function(){V.checked?k.removeAttribute("disabled"):k.setAttribute("disabled","disabled");k.checked&&V.checked?da.getEditSelect().removeAttribute("disabled"):da.getEditSelect().setAttribute("disabled","disabled")})}c=new CustomDialog(this,A,mxUtils.bind(this,function(){z(L.checked?l:null,ea.checked,T.value,fa.getTarget(),fa.getColor(),ca.checked,ja.checked,ma.checked,aa.checked,V.checked,null!=da?da.getLink():null)}),null,c,f);this.showDialog(c.container,340,G,
!0,!0);B.focus()};EditorUi.prototype.showPublishLinkDialog=function(c,f,l,z,A,B,G,L,P){var J=document.createElement("div");J.style.whiteSpace="nowrap";var fa=document.createElement("h3");mxUtils.write(fa,c||mxResources.get("publish"));fa.style.width="100%";fa.style.textAlign="center";fa.style.marginTop="2px";fa.style.marginBottom="20px";J.appendChild(fa);var ea=document.createElement("select");c=30;ea.className="geBtn";ea.style.marginBottom="8px";ea.style.marginLeft="0px";ea.style.width="100%";ea.style.boxSizing=
"border-box";if(null==L||""==L.getHash())A=null!=A?A:"https://www.drawio.com/doc/faq/publish-diagram-as-link",fa=document.createElement("option"),mxUtils.write(fa,mxResources.get("makeCopy")),fa.setAttribute("value","copy"),ea.appendChild(fa);fa=document.createElement("option");mxUtils.write(fa,mxResources.get("authorizationRequired"));fa.setAttribute("value","auth");ea.appendChild(fa);null!=L&&""!=L.getHash()||fa.setAttribute("disabled","disabled");L=document.createElement("option");L.setAttribute("value",
"public");ea.appendChild(L);null!=G?(mxUtils.write(L,mxResources.get("publicDiagramUrl")),L.setAttribute("title",G),ea.value="public"):(mxUtils.write(L,mxResources.get("publicDiagramUrl")+" ("+mxResources.get("diagramIsNotPublic")+")"),L.setAttribute("disabled","disabled"));J.appendChild(ea);mxUtils.br(J);ea.focus();var T=null,ca=null;if(null!=f||null!=l)c+=30,mxUtils.write(J,mxResources.get("width")+":"),T=document.createElement("input"),T.setAttribute("type","text"),T.style.marginRight="16px",T.style.width=
-"50px",T.style.marginLeft="6px",T.style.marginRight="16px",T.style.marginBottom="10px",T.value="100%",J.appendChild(T),mxUtils.write(J,mxResources.get("height")+":"),ca=document.createElement("input"),ca.setAttribute("type","text"),ca.style.width="50px",ca.style.marginLeft="6px",ca.style.marginBottom="10px",ca.value=l+"px",J.appendChild(ca),mxUtils.br(J);var ka=this.addLinkSection(J,z),ma=null;null!=this.pages&&null!=this.currentPage&&0<this.getPageIndex(this.currentPage)&&(c+=30,f=null!=this.currentPage?
+"50px",T.style.marginLeft="6px",T.style.marginRight="16px",T.style.marginBottom="10px",T.value="100%",J.appendChild(T),mxUtils.write(J,mxResources.get("height")+":"),ca=document.createElement("input"),ca.setAttribute("type","text"),ca.style.width="50px",ca.style.marginLeft="6px",ca.style.marginBottom="10px",ca.value=l+"px",J.appendChild(ca),mxUtils.br(J);var ja=this.addLinkSection(J,z),ma=null;null!=this.pages&&null!=this.currentPage&&0<this.getPageIndex(this.currentPage)&&(c+=30,f=null!=this.currentPage?
this.currentPage.getName():"",16<f.length&&(f=f.substring(0,16)+"..."),ma=this.addCheckbox(J,mxResources.get("selectedPage")+": "+f));var aa=this.addCheckbox(J,mxResources.get("lightbox"),!0,null,null,!z),V=this.addEditButton(J,aa),da=V.getEditInput();z&&(da.style.marginLeft=aa.style.marginLeft,aa.style.display="none",c-=20);var k=this.addCheckbox(J,mxResources.get("layers"),!0);k.style.marginLeft=da.style.marginLeft;k.style.marginTop="8px";var t=this.addCheckbox(J,mxResources.get("tags"),!0);t.style.marginLeft=
da.style.marginLeft;t.style.marginBottom="16px";t.style.marginTop="16px";mxEvent.addListener(aa,"change",function(){aa.checked?(k.removeAttribute("disabled"),da.removeAttribute("disabled"),t.removeAttribute("disabled")):(k.setAttribute("disabled","disabled"),da.setAttribute("disabled","disabled"),t.setAttribute("disabled","disabled"));da.checked&&aa.checked?V.getEditSelect().removeAttribute("disabled"):V.getEditSelect().setAttribute("disabled","disabled")});z=new CustomDialog(this,J,mxUtils.bind(this,
-function(){P(ka.getTarget(),ka.getColor(),null==ma?!1:ma.checked,aa.checked,V.getLink(),k.checked,null!=T?T.value:null,null!=ca?ca.value:null,t.checked,ea.value)}),null,mxResources.get("create"),A,B);this.showDialog(z.container,340,296+c,!0,!0);null!=T?(T.focus(),mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?T.select():document.execCommand("selectAll",!1,null)):null==ea.parentNode;ka.focus()};EditorUi.prototype.showRemoteExportDialog=function(c,f,l,z,A){var B=document.createElement("div");
+function(){P(ja.getTarget(),ja.getColor(),null==ma?!1:ma.checked,aa.checked,V.getLink(),k.checked,null!=T?T.value:null,null!=ca?ca.value:null,t.checked,ea.value)}),null,mxResources.get("create"),A,B);this.showDialog(z.container,340,296+c,!0,!0);null!=T?(T.focus(),mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?T.select():document.execCommand("selectAll",!1,null)):null==ea.parentNode;ja.focus()};EditorUi.prototype.showRemoteExportDialog=function(c,f,l,z,A){var B=document.createElement("div");
B.style.whiteSpace="nowrap";var G=document.createElement("h3");mxUtils.write(G,mxResources.get("image"));G.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:"+(A?"10":"4")+"px";B.appendChild(G);if(A){mxUtils.write(B,mxResources.get("zoom")+":");var L=document.createElement("input");L.setAttribute("type","text");L.style.marginRight="16px";L.style.width="60px";L.style.marginLeft="4px";L.style.marginRight="12px";L.value=this.lastExportZoom||"100%";B.appendChild(L);mxUtils.write(B,
mxResources.get("borderWidth")+":");var P=document.createElement("input");P.setAttribute("type","text");P.style.marginRight="16px";P.style.width="60px";P.style.marginLeft="4px";P.value=this.lastExportBorder||"0";B.appendChild(P);mxUtils.br(B)}var J=this.addCheckbox(B,mxResources.get("selectionOnly"),!1,this.editor.graph.isSelectionEmpty()),fa=z?null:this.addCheckbox(B,mxResources.get("includeCopyOfMyDiagram"),Editor.defaultIncludeDiagram);G=this.editor.graph;var ea=z?null:this.addCheckbox(B,mxResources.get("transparentBackground"),
G.background==mxConstants.NONE||null==G.background);null!=ea&&(ea.style.marginBottom="16px");c=new CustomDialog(this,B,mxUtils.bind(this,function(){var T=parseInt(L.value)/100||1,ca=parseInt(P.value)||0;l(!J.checked,null!=fa?fa.checked:!1,null!=ea?ea.checked:!1,T,ca)}),null,c,f);this.showDialog(c.container,300,(A?25:0)+(z?125:210),!0,!0)};EditorUi.prototype.showExportDialog=function(c,f,l,z,A,B,G,L,P){G=null!=G?G:Editor.defaultIncludeDiagram;var J=document.createElement("div");J.style.whiteSpace=
"nowrap";var fa=this.editor.graph,ea="jpeg"==L||"webp"==L?220:320,T=document.createElement("h3");mxUtils.write(T,c);T.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:10px";J.appendChild(T);mxUtils.write(J,mxResources.get("zoom")+":");var ca=document.createElement("input");ca.setAttribute("type","text");ca.style.marginRight="16px";ca.style.width="60px";ca.style.marginLeft="4px";ca.style.marginRight="12px";ca.value=this.lastExportZoom||"100%";J.appendChild(ca);mxUtils.write(J,
-mxResources.get("borderWidth")+":");var ka=document.createElement("input");ka.setAttribute("type","text");ka.style.marginRight="16px";ka.style.width="60px";ka.style.marginLeft="4px";ka.value=this.lastExportBorder||"0";J.appendChild(ka);mxUtils.br(J);var ma=this.addCheckbox(J,mxResources.get("selectionOnly"),!1,fa.isSelectionEmpty()),aa=document.createElement("input");aa.style.marginTop="16px";aa.style.marginRight="8px";aa.style.marginLeft="24px";aa.setAttribute("disabled","disabled");aa.setAttribute("type",
+mxResources.get("borderWidth")+":");var ja=document.createElement("input");ja.setAttribute("type","text");ja.style.marginRight="16px";ja.style.width="60px";ja.style.marginLeft="4px";ja.value=this.lastExportBorder||"0";J.appendChild(ja);mxUtils.br(J);var ma=this.addCheckbox(J,mxResources.get("selectionOnly"),!1,fa.isSelectionEmpty()),aa=document.createElement("input");aa.style.marginTop="16px";aa.style.marginRight="8px";aa.style.marginLeft="24px";aa.setAttribute("disabled","disabled");aa.setAttribute("type",
"checkbox");var V=document.createElement("select");V.style.marginTop="16px";V.style.marginLeft="8px";c=["selectionOnly","diagram","page"];for(T=0;T<c.length;T++)if(!fa.isSelectionEmpty()||"selectionOnly"!=c[T]){var da=document.createElement("option");mxUtils.write(da,mxResources.get(c[T]));da.setAttribute("value",c[T]);V.appendChild(da)}P?(mxUtils.write(J,mxResources.get("size")+":"),J.appendChild(V),mxUtils.br(J),ea+=26,mxEvent.addListener(V,"change",function(){"selectionOnly"==V.value&&(ma.checked=
!0)})):B&&(J.appendChild(aa),mxUtils.write(J,mxResources.get("crop")),mxUtils.br(J),ea+=30,mxEvent.addListener(ma,"change",function(){ma.checked?aa.removeAttribute("disabled"):aa.setAttribute("disabled","disabled")}));fa.isSelectionEmpty()?P&&(ma.style.display="none",ma.nextSibling.style.display="none",ma.nextSibling.nextSibling.style.display="none",ea-=30):(V.value="diagram",aa.setAttribute("checked","checked"),aa.defaultChecked=!0,mxEvent.addListener(ma,"change",function(){V.value=ma.checked?"selectionOnly":
"diagram"}));var k=this.addCheckbox(J,mxResources.get("transparentBackground"),!1,null,null,"jpeg"!=L&&"webp"!=L),t=null;if(Editor.isDarkMode()||Editor.enableCssDarkMode)t=document.createElement("select"),t.style.maxWidth="260px",t.style.marginLeft="8px",t.style.marginTop="16px",B=document.createElement("option"),B.setAttribute("value","light"),mxUtils.write(B,mxResources.get("light")),t.appendChild(B),P=document.createElement("option"),P.setAttribute("value","dark"),mxUtils.write(P,mxResources.get("dark")),
t.appendChild(P),Editor.enableCssDarkMode&&"svg"==L&&(c=document.createElement("option"),c.setAttribute("value","auto"),mxUtils.write(c,mxResources.get("automatic")),t.appendChild(c)),mxUtils.write(J,mxResources.get("appearance")+":"),J.appendChild(t),mxUtils.br(J),Editor.isDarkMode()||Editor.cssDarkMode?P.setAttribute("selected","selected"):B.setAttribute("selected","selected"),ea+=26;var I=this.addCheckbox(J,mxResources.get("shadow"),fa.shadowVisible),R=null;if("png"==L||"jpeg"==L||"webp"==L)R=
this.addCheckbox(J,mxResources.get("grid"),!1,this.isOffline()||!this.canvasSupported,!1,!0),ea+=30;var O=this.addCheckbox(J,mxResources.get("includeCopyOfMyDiagram")+":",G,null,null,"jpeg"!=L&&"webp"!=L),X=document.createElement("select");X.style.maxWidth="260px";X.style.marginLeft="28px";"png"==L||"svg"==L?(G=function(){O.checked?X.removeAttribute("disabled"):X.setAttribute("disabled","disabled")},fa=document.createElement("option"),fa.setAttribute("value","allPages"),mxUtils.write(fa,mxResources.get("allPages")),
X.appendChild(fa),fa=document.createElement("option"),fa.setAttribute("value","currentPage"),mxUtils.write(fa,mxResources.get("currentPage")),X.appendChild(fa),O.style.marginBottom="12px",X.style.marginBottom="16px",J.appendChild(X),mxUtils.br(J),ea+=20,null!=this.lastEmbedInclude&&(X.value=this.lastEmbedInclude),mxEvent.addListener(O,"change",G),G()):O.style.marginBottom="16px";var Z=document.createElement("input");Z.style.marginBottom="16px";Z.style.marginRight="8px";Z.setAttribute("type","checkbox");
-var ba=document.createElement("input");ba.style.marginBottom="16px";ba.style.marginRight="8px";ba.setAttribute("type","checkbox");f&&(Z.checked=null!=this.lastEmbedImages?this.lastEmbedImages:!0,J.appendChild(Z),mxUtils.write(J,mxResources.get("embedImages")),mxUtils.br(J),ba.checked=null!=this.lastEmbedFonts?this.lastEmbedImages:!0,J.appendChild(ba),mxUtils.write(J,mxResources.get("embedFonts")),mxUtils.br(J),ea+=50);var la=document.createElement("select");la.style.maxWidth="260px";la.style.marginLeft=
-"8px";c=document.createElement("option");c.setAttribute("value","auto");mxUtils.write(c,mxResources.get("automatic"));la.appendChild(c);G=document.createElement("option");G.setAttribute("value","blank");mxUtils.write(G,mxResources.get("openInNewWindow"));la.appendChild(G);G=document.createElement("option");G.setAttribute("value","self");mxUtils.write(G,mxResources.get("openInThisWindow"));la.appendChild(G);G=document.createElement("div");mxUtils.write(G,mxResources.get("LinksLost"));G.style.margin=
-"7px";G.style.display="none";"svg"==L&&(mxUtils.write(J,mxResources.get("links")+":"),J.appendChild(la),J.appendChild(G),mxUtils.br(J),mxUtils.br(J),ea+=50);l=new CustomDialog(this,J,mxUtils.bind(this,function(){this.lastExportBorder=ka.value;this.lastExportZoom=ca.value;this.lastEmbedImages=Z.checked;this.lastEmbedFonts=ba.checked;this.lastEmbedInclude=X.value;A(ca.value,k.checked,!ma.checked,I.checked,O.checked,Z.checked&&f,ka.value,aa.checked,("png"==L||"svg"==L)&&"currentPage"==X.value,la.value,
+var ba=document.createElement("input");ba.style.marginBottom="16px";ba.style.marginRight="8px";ba.setAttribute("type","checkbox");f&&(Z.checked=null!=this.lastEmbedImages?this.lastEmbedImages:!0,J.appendChild(Z),mxUtils.write(J,mxResources.get("embedImages")),mxUtils.br(J),ba.checked=null!=this.lastEmbedFonts?this.lastEmbedImages:!0,J.appendChild(ba),mxUtils.write(J,mxResources.get("embedFonts")),mxUtils.br(J),ea+=50);var ka=document.createElement("select");ka.style.maxWidth="260px";ka.style.marginLeft=
+"8px";c=document.createElement("option");c.setAttribute("value","auto");mxUtils.write(c,mxResources.get("automatic"));ka.appendChild(c);G=document.createElement("option");G.setAttribute("value","blank");mxUtils.write(G,mxResources.get("openInNewWindow"));ka.appendChild(G);G=document.createElement("option");G.setAttribute("value","self");mxUtils.write(G,mxResources.get("openInThisWindow"));ka.appendChild(G);G=document.createElement("div");mxUtils.write(G,mxResources.get("LinksLost"));G.style.margin=
+"7px";G.style.display="none";"svg"==L&&(mxUtils.write(J,mxResources.get("links")+":"),J.appendChild(ka),J.appendChild(G),mxUtils.br(J),mxUtils.br(J),ea+=50);l=new CustomDialog(this,J,mxUtils.bind(this,function(){this.lastExportBorder=ja.value;this.lastExportZoom=ca.value;this.lastEmbedImages=Z.checked;this.lastEmbedFonts=ba.checked;this.lastEmbedInclude=X.value;A(ca.value,k.checked,!ma.checked,I.checked,O.checked,Z.checked&&f,ja.value,aa.checked,("png"==L||"svg"==L)&&"currentPage"==X.value,ka.value,
null!=R?R.checked:null,null!=t?t.value:null,V.value,ba.checked)}),null,l,z);this.showDialog(l.container,340,ea,!0,!0,null,null,null,null,!0);ca.focus();mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?ca.select():document.execCommand("selectAll",!1,null)};EditorUi.prototype.showEmbedImageDialog=function(c,f,l,z,A){var B=document.createElement("div");B.style.whiteSpace="nowrap";var G=this.editor.graph;if(null!=f){var L=document.createElement("h3");mxUtils.write(L,f);L.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:4px";
-B.appendChild(L)}var P=this.addCheckbox(B,mxResources.get("fit"),!0),J=this.addCheckbox(B,mxResources.get("shadow"),G.shadowVisible&&z,!z),fa=this.addCheckbox(B,l),ea=this.addCheckbox(B,mxResources.get("lightbox"),!0),T=this.addEditButton(B,ea),ca=T.getEditInput(),ka=1<G.model.getChildCount(G.model.getRoot()),ma=this.addCheckbox(B,mxResources.get("layers"),ka,!ka);ma.style.marginLeft=ca.style.marginLeft;ma.style.marginBottom="12px";ma.style.marginTop="8px";mxEvent.addListener(ea,"change",function(){ea.checked?
-(ka&&ma.removeAttribute("disabled"),ca.removeAttribute("disabled")):(ma.setAttribute("disabled","disabled"),ca.setAttribute("disabled","disabled"));ca.checked&&ea.checked?T.getEditSelect().removeAttribute("disabled"):T.getEditSelect().setAttribute("disabled","disabled")});f=new CustomDialog(this,B,mxUtils.bind(this,function(){c(P.checked,J.checked,fa.checked,ea.checked,T.getLink(),ma.checked)}),null,mxResources.get("embed"),A);this.showDialog(f.container,280,300,!0,!0)};EditorUi.prototype.createEmbedImage=
-function(c,f,l,z,A,B,G,L){function P(ca){var ka=" ",ma="";z&&(ka=" onclick=\"(function(img){if(img.wnd!=null&&!img.wnd.closed){img.wnd.focus();}else{var r=function(evt){if(evt.data=='ready'&&evt.source==img.wnd){img.wnd.postMessage(decodeURIComponent(img.getAttribute('src')),'*');window.removeEventListener('message',r);}};window.addEventListener('message',r);img.wnd=window.open('"+EditorUi.lightboxHost+"/?client=1"+(null!=fa?"&page="+fa:"")+(A?"&edit=_blank":"")+(B?"&layers=1":"")+"');}})(this);\"",
-ma+="cursor:pointer;");c&&(ma+="max-width:100%;");var aa="";l&&(aa=' width="'+Math.round(J.width)+'" height="'+Math.round(J.height)+'"');G('<img src="'+ca+'"'+aa+(""!=ma?' style="'+ma+'"':"")+ka+"/>")}var J=this.editor.graph.getGraphBounds(),fa=this.getSelectedPageIndex();if(this.isExportToCanvas())this.editor.exportToCanvas(mxUtils.bind(this,function(ca){var ka=z?this.getFileData(!0):null;ca=this.createImageDataUri(ca,ka,"png");P(ca)}),null,null,null,mxUtils.bind(this,function(ca){L({message:mxResources.get("unknownError")})}),
+B.appendChild(L)}var P=this.addCheckbox(B,mxResources.get("fit"),!0),J=this.addCheckbox(B,mxResources.get("shadow"),G.shadowVisible&&z,!z),fa=this.addCheckbox(B,l),ea=this.addCheckbox(B,mxResources.get("lightbox"),!0),T=this.addEditButton(B,ea),ca=T.getEditInput(),ja=1<G.model.getChildCount(G.model.getRoot()),ma=this.addCheckbox(B,mxResources.get("layers"),ja,!ja);ma.style.marginLeft=ca.style.marginLeft;ma.style.marginBottom="12px";ma.style.marginTop="8px";mxEvent.addListener(ea,"change",function(){ea.checked?
+(ja&&ma.removeAttribute("disabled"),ca.removeAttribute("disabled")):(ma.setAttribute("disabled","disabled"),ca.setAttribute("disabled","disabled"));ca.checked&&ea.checked?T.getEditSelect().removeAttribute("disabled"):T.getEditSelect().setAttribute("disabled","disabled")});f=new CustomDialog(this,B,mxUtils.bind(this,function(){c(P.checked,J.checked,fa.checked,ea.checked,T.getLink(),ma.checked)}),null,mxResources.get("embed"),A);this.showDialog(f.container,280,300,!0,!0)};EditorUi.prototype.createEmbedImage=
+function(c,f,l,z,A,B,G,L){function P(ca){var ja=" ",ma="";z&&(ja=" onclick=\"(function(img){if(img.wnd!=null&&!img.wnd.closed){img.wnd.focus();}else{var r=function(evt){if(evt.data=='ready'&&evt.source==img.wnd){img.wnd.postMessage(decodeURIComponent(img.getAttribute('src')),'*');window.removeEventListener('message',r);}};window.addEventListener('message',r);img.wnd=window.open('"+EditorUi.lightboxHost+"/?client=1"+(null!=fa?"&page="+fa:"")+(A?"&edit=_blank":"")+(B?"&layers=1":"")+"');}})(this);\"",
+ma+="cursor:pointer;");c&&(ma+="max-width:100%;");var aa="";l&&(aa=' width="'+Math.round(J.width)+'" height="'+Math.round(J.height)+'"');G('<img src="'+ca+'"'+aa+(""!=ma?' style="'+ma+'"':"")+ja+"/>")}var J=this.editor.graph.getGraphBounds(),fa=this.getSelectedPageIndex();if(this.isExportToCanvas())this.editor.exportToCanvas(mxUtils.bind(this,function(ca){var ja=z?this.getFileData(!0):null;ca=this.createImageDataUri(ca,ja,"png");P(ca)}),null,null,null,mxUtils.bind(this,function(ca){L({message:mxResources.get("unknownError")})}),
null,!0,l?2:1,null,f,null,null,Editor.defaultBorder);else if(f=this.getFileData(!0),J.width*J.height<=MAX_AREA&&f.length<=MAX_REQUEST_SIZE){var ea="";l&&(ea="&w="+Math.round(2*J.width)+"&h="+Math.round(2*J.height));var T=new mxXmlRequest(EXPORT_URL,"format=png&base64=1&embedXml="+(z?"1":"0")+ea+"&xml="+encodeURIComponent(f));T.send(mxUtils.bind(this,function(){200<=T.getStatus()&&299>=T.getStatus()?P("data:image/png;base64,"+T.getText()):L({message:mxResources.get("unknownError")})}))}else L({message:mxResources.get("drawingTooLarge")})};
EditorUi.prototype.createEmbedSvg=function(c,f,l,z,A,B,G){var L=this.editor.graph.getSvg(null,null,null,null,null,null,null,null,null,null,!l),P=L.getElementsByTagName("a");if(null!=P)for(var J=0;J<P.length;J++){var fa=P[J].getAttribute("href");null!=fa&&"#"==fa.charAt(0)&&"_blank"==P[J].getAttribute("target")&&P[J].removeAttribute("target")}z&&L.setAttribute("content",this.getFileData(!0));f&&this.editor.graph.addSvgShadow(L);if(l){var ea=" ",T="";z&&(ea="onclick=\"(function(img){if(img.wnd!=null&&!img.wnd.closed){img.wnd.focus();}else{var r=function(evt){if(evt.data=='ready'&&evt.source==img.wnd){img.wnd.postMessage(decodeURIComponent(img.getAttribute('src')),'*');window.removeEventListener('message',r);}};window.addEventListener('message',r);img.wnd=window.open('"+
EditorUi.lightboxHost+"/?client=1"+(A?"&edit=_blank":"")+(B?"&layers=1":"")+"');}})(this);\"",T+="cursor:pointer;");c&&(T+="max-width:100%;");this.editor.convertImages(L,mxUtils.bind(this,function(ca){G('<img src="'+Editor.createSvgDataUri(mxUtils.getXml(ca))+'"'+(""!=T?' style="'+T+'"':"")+ea+"/>")}))}else T="",z&&(f=this.getSelectedPageIndex(),L.setAttribute("onclick","(function(svg){var src=window.event.target||window.event.srcElement;while (src!=null&&src.nodeName.toLowerCase()!='a'){src=src.parentNode;}if(src==null){if(svg.wnd!=null&&!svg.wnd.closed){svg.wnd.focus();}else{var r=function(evt){if(evt.data=='ready'&&evt.source==svg.wnd){svg.wnd.postMessage(decodeURIComponent(svg.getAttribute('content')),'*');window.removeEventListener('message',r);}};window.addEventListener('message',r);svg.wnd=window.open('"+
@@ -3666,20 +3664,20 @@ EditorUi.prototype.getPngFileProperties=function(c){var f=1,l=0;if(null!=c){if(c
document.body.appendChild(B.container),this.decodeNodeIntoGraph(this.editor.extractGraphModel(mxUtils.parseXml(l).documentElement,!0),B),L=l;else if(G||null!=this.pages&&this.currentPage!=this.pages[0]){B=this.createTemporaryGraph(G?B.getDefaultStylesheet():B.getStylesheet());var P=B.getGlobalVariable;B.setBackgroundImage=this.editor.graph.setBackgroundImage;var J=this.pages[0];this.currentPage==J?B.setBackgroundImage(this.editor.graph.backgroundImage):null!=J.viewState&&null!=J.viewState&&B.setBackgroundImage(J.viewState.backgroundImage);
B.getGlobalVariable=function(fa){return"page"==fa?J.getName():"pagenumber"==fa?1:P.apply(this,arguments)};document.body.appendChild(B.container);B.model.setRoot(J.root)}this.editor.exportToCanvas(mxUtils.bind(this,function(fa){try{null==L&&(L=this.getFileData(!0,null,null,null,null,null,null,null,null,!1));var ea=fa.toDataURL("image/png");ea=Editor.writeGraphModelToPng(ea,"tEXt","mxfile",encodeURIComponent(L));c(ea.substring(ea.lastIndexOf(",")+1));B!=this.editor.graph&&B.container.parentNode.removeChild(B.container)}catch(T){null!=
f&&f(T)}}),null,null,null,mxUtils.bind(this,function(fa){null!=f&&f(fa)}),null,null,z,null,B.shadowVisible,null,B,A,null,null,null,"diagram",null)}catch(fa){null!=f&&f(fa)}};EditorUi.prototype.getEmbeddedSvg=function(c,f,l,z,A,B,G,L,P,J,fa,ea,T){L=null!=L?L:!0;fa=null!=fa?fa:0;G=null!=P?P:f.background;G==mxConstants.NONE&&(G=null);B=f.getSvg(G,J,fa,null,null,B,null,null,null,f.shadowVisible||ea,null,T,"diagram");(f.shadowVisible||ea)&&f.addSvgShadow(B,null,null,0==fa);null!=c&&B.setAttribute("content",
-c);null!=l&&B.setAttribute("resource",l);var ca=mxUtils.bind(this,function(ka){ka=(z?"":Graph.xmlDeclaration+"\n"+Graph.svgFileComment+"\n"+Graph.svgDoctype+"\n")+mxUtils.getXml(ka);null!=A&&A(ka);return ka});f.mathEnabled&&this.editor.addMathCss(B);if(null!=A)this.embedFonts(B,mxUtils.bind(this,function(ka){L?this.editor.convertImages(ka,mxUtils.bind(this,function(ma){ca(ma)})):ca(ka)}));else return ca(B)};EditorUi.prototype.embedFonts=function(c,f){this.editor.loadFonts(mxUtils.bind(this,function(){try{null!=
-this.editor.resolvedFontCss&&this.editor.addFontCss(c,this.editor.resolvedFontCss),this.editor.embedExtFonts(mxUtils.bind(this,function(l){try{null!=l&&this.editor.addFontCss(c,l),f(c)}catch(z){f(c)}}))}catch(l){f(c)}}))};EditorUi.prototype.exportImage=function(c,f,l,z,A,B,G,L,P,J,fa,ea,T){P=null!=P?P:"png";if(this.spinner.spin(document.body,mxResources.get("exporting"),mxUtils.bind(this,function(ka){Editor.addRetryToError(ka,mxUtils.bind(this,function(){this.exportImage(c,f,l,z,A,B,G,L,P,J,fa,ea,
-T)}));this.handleError(ka)}))){var ca=this.editor.graph.isSelectionEmpty();l=null!=l?l:ca;null==this.thumbImageCache&&(this.thumbImageCache={});try{this.editor.exportToCanvas(mxUtils.bind(this,function(ka){this.spinner.stop();try{this.saveCanvas(ka,A?this.getFileData(!0,null,null,null,l,L,null,null,null,null,null,c,B):null,P,null==this.pages||0==this.pages.length,fa)}catch(ma){this.handleError(ma)}}),null,this.thumbImageCache,null,mxUtils.bind(this,function(ka){this.spinner.stop();this.handleError(ka)}),
-null,l,c||1,f,z,null,null,B,G,J,ea,T)}catch(ka){this.spinner.stop(),this.handleError(ka)}}};EditorUi.prototype.isCorsEnabledForUrl=function(c){return this.editor.isCorsEnabledForUrl(c)};EditorUi.prototype.addLocalPagesToMapping=function(c){c=null!=c?c:{};if(null!=this.pages)for(var f=0;f<this.pages.length;f++)c[this.pages[f].getId()]=this.pages[f].getId();return c};EditorUi.prototype.importXml=function(c,f,l,z,A,B,G){f=null!=f?f:0;l=null!=l?l:0;var L=[];try{var P=this.editor.graph;if(null!=c&&0<c.length){P.model.beginUpdate();
+c);null!=l&&B.setAttribute("resource",l);var ca=mxUtils.bind(this,function(ja){ja=(z?"":Graph.xmlDeclaration+"\n"+Graph.svgFileComment+"\n"+Graph.svgDoctype+"\n")+mxUtils.getXml(ja);null!=A&&A(ja);return ja});f.mathEnabled&&this.editor.addMathCss(B);if(null!=A)this.embedFonts(B,mxUtils.bind(this,function(ja){L?this.editor.convertImages(ja,mxUtils.bind(this,function(ma){ca(ma)})):ca(ja)}));else return ca(B)};EditorUi.prototype.embedFonts=function(c,f){this.editor.loadFonts(mxUtils.bind(this,function(){try{null!=
+this.editor.resolvedFontCss&&this.editor.addFontCss(c,this.editor.resolvedFontCss),this.editor.embedExtFonts(mxUtils.bind(this,function(l){try{null!=l&&this.editor.addFontCss(c,l),f(c)}catch(z){f(c)}}))}catch(l){f(c)}}))};EditorUi.prototype.exportImage=function(c,f,l,z,A,B,G,L,P,J,fa,ea,T){P=null!=P?P:"png";if(this.spinner.spin(document.body,mxResources.get("exporting"),mxUtils.bind(this,function(ja){Editor.addRetryToError(ja,mxUtils.bind(this,function(){this.exportImage(c,f,l,z,A,B,G,L,P,J,fa,ea,
+T)}));this.handleError(ja)}))){var ca=this.editor.graph.isSelectionEmpty();l=null!=l?l:ca;null==this.thumbImageCache&&(this.thumbImageCache={});try{this.editor.exportToCanvas(mxUtils.bind(this,function(ja){this.spinner.stop();try{this.saveCanvas(ja,A?this.getFileData(!0,null,null,null,l,L,null,null,null,null,null,c,B):null,P,null==this.pages||0==this.pages.length,fa)}catch(ma){this.handleError(ma)}}),null,this.thumbImageCache,null,mxUtils.bind(this,function(ja){this.spinner.stop();this.handleError(ja)}),
+null,l,c||1,f,z,null,null,B,G,J,ea,T)}catch(ja){this.spinner.stop(),this.handleError(ja)}}};EditorUi.prototype.isCorsEnabledForUrl=function(c){return this.editor.isCorsEnabledForUrl(c)};EditorUi.prototype.addLocalPagesToMapping=function(c){c=null!=c?c:{};if(null!=this.pages)for(var f=0;f<this.pages.length;f++)c[this.pages[f].getId()]=this.pages[f].getId();return c};EditorUi.prototype.importXml=function(c,f,l,z,A,B,G){f=null!=f?f:0;l=null!=l?l:0;var L=[];try{var P=this.editor.graph;if(null!=c&&0<c.length){P.model.beginUpdate();
try{var J=mxUtils.parseXml(c);c={};var fa=this.editor.extractGraphModel(J.documentElement,null!=this.pages);if(null!=fa&&"mxfile"==fa.nodeName&&null!=this.pages){var ea=fa.getElementsByTagName("diagram");if(1==ea.length&&!B){if(fa=Editor.parseDiagramNode(ea[0]),null!=this.currentPage&&(c[ea[0].getAttribute("id")]=this.currentPage.getId(),this.isBlankFile())){var T=ea[0].getAttribute("name");null!=T&&""!=T&&this.editor.graph.model.execute(new RenamePage(this,this.currentPage,T))}}else if(0<ea.length){B=
-[];var ca=0;null!=this.pages&&1==this.pages.length&&this.isDiagramEmpty()&&(c[ea[0].getAttribute("id")]=this.pages[0].getId(),T=ea[0].getAttribute("name"),null!=T&&""!=T&&this.editor.graph.model.execute(new RenamePage(this,this.pages[0],T)),fa=Editor.parseDiagramNode(ea[0]),z=!1,ca=1);for(;ca<ea.length;ca++){var ka=ea[ca].getAttribute("id");ea[ca].removeAttribute("id");var ma=this.updatePageRoot(new DiagramPage(ea[ca]));c[ka]=ea[ca].getAttribute("id");var aa=this.pages.length;null==ma.getName()&&
+[];var ca=0;null!=this.pages&&1==this.pages.length&&this.isDiagramEmpty()&&(c[ea[0].getAttribute("id")]=this.pages[0].getId(),T=ea[0].getAttribute("name"),null!=T&&""!=T&&this.editor.graph.model.execute(new RenamePage(this,this.pages[0],T)),fa=Editor.parseDiagramNode(ea[0]),z=!1,ca=1);for(;ca<ea.length;ca++){var ja=ea[ca].getAttribute("id");ea[ca].removeAttribute("id");var ma=this.updatePageRoot(new DiagramPage(ea[ca]));c[ja]=ea[ca].getAttribute("id");var aa=this.pages.length;null==ma.getName()&&
ma.setName(mxResources.get("pageWithNumber",[aa+1]));P.model.execute(new ChangePage(this,ma,ma,aa,!0));B.push(ma)}this.updatePageLinks(c,B)}}if(null!=fa&&"mxGraphModel"===fa.nodeName){L=P.importGraphModel(fa,f,l,z);if(null!=L)for(this.addLocalPagesToMapping(c),ca=0;ca<L.length;ca++)this.updatePageLinksForCell(c,L[ca]);var V=P.parseBackgroundImage(fa.getAttribute("backgroundImage"));if(null!=V&&null!=V.originalSrc){this.updateBackgroundPageLink(c,V);var da=new ChangePageSetup(this,null,V);da.ignoreColor=
!0;P.model.execute(da)}}G&&P.pasteCellStyles(P.includeDescendants(L),P.defaultVertexStyle,P.defaultEdgeStyle)}finally{P.model.endUpdate()}}}catch(k){if(A)throw k;this.handleError(k)}return L};EditorUi.prototype.updatePageLinks=function(c,f){for(var l=0;l<f.length;l++)this.updatePageLinksForCell(c,f[l].root),null!=f[l].viewState&&this.updateBackgroundPageLink(c,f[l].viewState.backgroundImage)};EditorUi.prototype.updateBackgroundPageLink=function(c,f){try{if(null!=f&&Graph.isPageLink(f.originalSrc)){var l=
c[f.originalSrc.substring(f.originalSrc.indexOf(",")+1)];null!=l&&(f.originalSrc="data:page/id,"+l)}}catch(z){}};EditorUi.prototype.updatePageLinksForCell=function(c,f){var l=document.createElement("div"),z=this.editor.graph,A=z.getLinkForCell(f);null!=A&&z.setLinkForCell(f,this.updatePageLink(c,A));if(z.isHtmlLabel(f)){l.innerHTML=Graph.sanitizeHtml(z.getLabel(f));for(var B=l.getElementsByTagName("a"),G=!1,L=0;L<B.length;L++)A=B[L].getAttribute("href"),null!=A&&(B[L].setAttribute("href",this.updatePageLink(c,
A)),G=!0);G&&z.labelChanged(f,l.innerHTML)}for(L=0;L<z.model.getChildCount(f);L++)this.updatePageLinksForCell(c,z.model.getChildAt(f,L))};EditorUi.prototype.updatePageLink=function(c,f){if(Graph.isPageLink(f)){var l=c[f.substring(f.indexOf(",")+1)];f=null!=l?"data:page/id,"+l:null}else if("data:action/json,"==f.substring(0,17))try{var z=JSON.parse(f.substring(17));if(null!=z.actions){for(var A=0;A<z.actions.length;A++){var B=z.actions[A];if(null!=B.open&&Graph.isPageLink(B.open)){var G=B.open.substring(B.open.indexOf(",")+
1);l=c[G];null!=l?B.open="data:page/id,"+l:null==this.getPageById(G)&&delete B.open}}f="data:action/json,"+JSON.stringify(z)}}catch(L){}return f};EditorUi.prototype.isRemoteVisioFormat=function(c){return/(\.v(sd|dx))($|\?)/i.test(c)||/(\.vs(s|x))($|\?)/i.test(c)};EditorUi.prototype.importVisio=function(c,f,l,z,A){var B=mxUtils.bind(this,function(G){this.loadingExtensions=!1;null!=l?l(G):this.handleError(G)});this.createTimeout(null,mxUtils.bind(this,function(G){z=null!=z?z:c.name;var L=mxUtils.bind(this,
function(J){G.clear()&&B(J)}),P=mxUtils.bind(this,function(){this.loadingExtensions=!1;if(this.doImportVisio){var J=this.isRemoteVisioFormat(z);try{var fa=z.lastIndexOf(".");if(0<=fa&&fa<z.length)z.substring(fa+1).toUpperCase();else{var ea=z.lastIndexOf("/");0<=ea&&ea<z.length&&(z=z.substring(ea+1))}}catch(ca){}if(J)if(null==VSD_CONVERT_URL||this.isOffline())L({message:"draw.io"!=this.getServiceName()?mxResources.get("vsdNoConfig"):mxResources.get("serviceUnavailableOrBlocked")});else{J=new FormData;
-J.append("file1",c,z);var T=new XMLHttpRequest;T.open("POST",VSD_CONVERT_URL+(/(\.vss|\.vsx)$/.test(z)?"?stencil=1":""));T.responseType="blob";this.addRemoteServiceSecurityCheck(T);null!=A&&T.setRequestHeader("x-convert-custom",A);T.onreadystatechange=mxUtils.bind(this,function(){if(4==T.readyState&&G.clear())if(200<=T.status&&299>=T.status)try{var ca=T.response;if("text/xml"==ca.type){var ka=new FileReader;ka.onload=mxUtils.bind(this,function(ma){try{f(ma.target.result)}catch(aa){L({message:mxResources.get("errorLoadingFile")})}});
-ka.readAsText(ca)}else this.doImportVisio(ca,f,L,z)}catch(ma){L(ma)}else try{""==T.responseType||"text"==T.responseType?L({message:T.responseText}):(ka=new FileReader,ka.onload=function(){try{L({message:JSON.parse(ka.result).Message})}catch(ma){L(ma)}},ka.readAsText(T.response))}catch(ma){L({})}});T.send(J)}else if(G.clear())try{this.doImportVisio(c,f,L,z)}catch(ca){L(ca)}}else L({message:mxResources.get("serviceUnavailableOrBlocked")})});this.doImportVisio||this.loadingExtensions||this.isOffline(!0)?
+J.append("file1",c,z);var T=new XMLHttpRequest;T.open("POST",VSD_CONVERT_URL+(/(\.vss|\.vsx)$/.test(z)?"?stencil=1":""));T.responseType="blob";this.addRemoteServiceSecurityCheck(T);null!=A&&T.setRequestHeader("x-convert-custom",A);T.onreadystatechange=mxUtils.bind(this,function(){if(4==T.readyState&&G.clear())if(200<=T.status&&299>=T.status)try{var ca=T.response;if("text/xml"==ca.type){var ja=new FileReader;ja.onload=mxUtils.bind(this,function(ma){try{f(ma.target.result)}catch(aa){L({message:mxResources.get("errorLoadingFile")})}});
+ja.readAsText(ca)}else this.doImportVisio(ca,f,L,z)}catch(ma){L(ma)}else try{""==T.responseType||"text"==T.responseType?L({message:T.responseText}):(ja=new FileReader,ja.onload=function(){try{L({message:JSON.parse(ja.result).Message})}catch(ma){L(ma)}},ja.readAsText(T.response))}catch(ma){L({})}});T.send(J)}else if(G.clear())try{this.doImportVisio(c,f,L,z)}catch(ca){L(ca)}}else L({message:mxResources.get("serviceUnavailableOrBlocked")})});this.doImportVisio||this.loadingExtensions||this.isOffline(!0)?
P():(this.loadingExtensions=!0,mxscript(window.DRAWIO_SERVER_URL+"js/extensions.min.js",P,null,null,null,L))}),B)};EditorUi.prototype.importGraphML=function(c,f,l){var z=mxUtils.bind(this,function(A){this.loadingExtensions=!1;null!=l?l(A):this.handleError(A)});this.createTimeout(null,mxUtils.bind(this,function(A){var B=mxUtils.bind(this,function(L){A.clear()&&z(L)}),G=mxUtils.bind(this,function(){this.loadingExtensions=!1;if(A.clear())if(this.doImportGraphML)try{this.doImportGraphML(c,f,z)}catch(L){B(L)}else B({message:mxResources.get("serviceUnavailableOrBlocked")})});
this.doImportGraphML||this.loadingExtensions||this.isOffline(!0)?G():(this.loadingExtensions=!0,mxscript(window.DRAWIO_SERVER_URL+"js/extensions.min.js",G,null,null,null,B))}),z)};EditorUi.prototype.exportVisio=function(c){if(this.spinner.spin(document.body,mxResources.get("loading"))){var f=mxUtils.bind(this,function(l){this.loadingExtensions=!1;this.handleError(l)});this.createTimeout(null,mxUtils.bind(this,function(l){var z=mxUtils.bind(this,function(B){l.clear()&&f(B)}),A=mxUtils.bind(this,function(){this.loadingExtensions=
!1;if(l.clear())if("undefined"!==typeof VsdxExport)try{this.spinner.stop(),(new VsdxExport(this)).exportCurrentDiagrams(c)||z({message:mxResources.get("unknownError")})}catch(B){z(B)}else z({message:mxResources.get("serviceUnavailableOrBlocked")})});"undefined"!==typeof VsdxExport||this.loadingExtensions||this.isOffline(!0)?window.setTimeout(A,0):(this.loadingExtensions=!0,mxscript(window.DRAWIO_SERVER_URL+"js/extensions.min.js",A,null,null,null,z))}),f)}};EditorUi.prototype.convertLucidChart=function(c,
@@ -3695,12 +3693,12 @@ P.replace(/ xmlns:\S*="http:\/\/www.w3.org\/XML\/1998\/namespace"/g,"").replace(
fa,ea)}else null!=A?A():z({message:mxResources.get("invalidInput")})}catch(ca){z(ca)}});mermaid.mermaidAPI.initialize(f);mermaid.mermaidAPI.render("geMermaidOutput-"+(new Date).getTime(),c).then(function(P){L(P.svg)}).catch(function(P){null!=A?A(P):z(P)})}catch(P){z(P)}});"undefined"!==typeof mermaid||this.loadingMermaid||this.isOffline(!0)?window.setTimeout(G,0):(this.loadingMermaid=!0,"1"==urlParams.dev?("1"==urlParams.mermaidToDrawioTest&&mxMermaidToDrawio.addListener(mxUtils.bind(this,function(L){this.importXml(L,
null,null,null,null,null,!0)})),mxscript("js/mermaid/mermaid.min.js",G,null,null,null,B)):mxscript(window.DRAWIO_SERVER_URL+"js/extensions.min.js",G,null,null,null,B))};EditorUi.prototype.generatePlantUmlImage=function(c,f,l,z){function A(L,P,J){c1=L>>2;c2=(L&3)<<4|P>>4;c3=(P&15)<<2|J>>6;c4=J&63;r="";r+=B(c1&63);r+=B(c2&63);r+=B(c3&63);return r+=B(c4&63)}function B(L){if(10>L)return String.fromCharCode(48+L);L-=10;if(26>L)return String.fromCharCode(65+L);L-=26;if(26>L)return String.fromCharCode(97+
L);L-=26;return 0==L?"-":1==L?"_":"?"}var G=new XMLHttpRequest;G.open("GET",("txt"==f?PLANT_URL+"/txt/":"png"==f?PLANT_URL+"/png/":PLANT_URL+"/svg/")+function(L){r="";for(i=0;i<L.length;i+=3)r=i+2==L.length?r+A(L.charCodeAt(i),L.charCodeAt(i+1),0):i+1==L.length?r+A(L.charCodeAt(i),0,0):r+A(L.charCodeAt(i),L.charCodeAt(i+1),L.charCodeAt(i+2));return r}(Graph.arrayBufferToString(pako.deflateRaw(c))),!0);"txt"!=f&&(G.responseType="blob");G.onload=function(L){if(200<=this.status&&300>this.status)if("txt"==
-f)l(this.response);else{var P=new FileReader;P.readAsDataURL(this.response);P.onloadend=function(J){var fa=new Image;fa.onload=function(){try{var ea=fa.width,T=fa.height;if(0==ea&&0==T){var ca=P.result,ka=ca.indexOf(","),ma=decodeURIComponent(escape(atob(ca.substring(ka+1)))),aa=mxUtils.parseXml(ma).getElementsByTagName("svg");0<aa.length&&(ea=parseFloat(aa[0].getAttribute("width")),T=parseFloat(aa[0].getAttribute("height")))}l(P.result,ea,T)}catch(V){z(V)}};fa.src=P.result};P.onerror=function(J){z(J)}}else z(L)};
+f)l(this.response);else{var P=new FileReader;P.readAsDataURL(this.response);P.onloadend=function(J){var fa=new Image;fa.onload=function(){try{var ea=fa.width,T=fa.height;if(0==ea&&0==T){var ca=P.result,ja=ca.indexOf(","),ma=decodeURIComponent(escape(atob(ca.substring(ja+1)))),aa=mxUtils.parseXml(ma).getElementsByTagName("svg");0<aa.length&&(ea=parseFloat(aa[0].getAttribute("width")),T=parseFloat(aa[0].getAttribute("height")))}l(P.result,ea,T)}catch(V){z(V)}};fa.src=P.result};P.onerror=function(J){z(J)}}else z(L)};
G.onerror=function(L){z(L)};G.send()};EditorUi.prototype.insertAsPreText=function(c,f,l){var z=this.editor.graph,A=null;z.getModel().beginUpdate();try{A=z.insertVertex(null,null,"<pre>"+c+"</pre>",f,l,1,1,"text;html=1;align=left;verticalAlign=top;"),z.updateCellSize(A,!0)}finally{z.getModel().endUpdate()}return A};EditorUi.prototype.insertTextAt=function(c,f,l,z,A,B,G,L){B=null!=B?B:!0;G=null!=G?G:!0;if(null!=c)if(Graph.fileSupport&&(new XMLHttpRequest).upload&&this.isRemoteFileFormat(c))this.isOffline()?
this.showError(mxResources.get("error"),mxResources.get("notInOffline")):this.parseFileData(c.replace(/\s+/g," "),mxUtils.bind(this,function(T){4==T.readyState&&200<=T.status&&299>=T.status&&this.editor.graph.setSelectionCells(this.insertTextAt(T.responseText,f,l,!0))}));else if("data:"==c.substring(0,5)||!this.isOffline()&&(A||/\.(gif|jpg|jpeg|tiff|png|svg)$/i.test(c))){var P=this.editor.graph;if("data:application/pdf;base64,"==c.substring(0,28)){var J=Editor.extractGraphModelFromPdf(c);if(null!=
J&&0<J.length)return this.importXml(J,f,l,B,!0,L)}if(Editor.isPngDataUrl(c)&&(J=Editor.extractGraphModelFromPng(c),null!=J&&0<J.length))return this.importXml(J,f,l,B,!0,L);if("data:image/svg+xml;"==c.substring(0,19))try{J=null;"data:image/svg+xml;base64,"==c.substring(0,26)?(J=c.substring(c.indexOf(",")+1),J=window.atob&&!mxClient.IS_SF?atob(J):Base64.decode(J,!0)):J=decodeURIComponent(c.substring(c.indexOf(",")+1));var fa=this.importXml(J,f,l,B,!0,L);if(0<fa.length)return fa}catch(T){}this.loadImage(c,
-mxUtils.bind(this,function(T){if("data:"==c.substring(0,5))this.resizeImage(T,c,mxUtils.bind(this,function(ma,aa,V){P.setSelectionCell(P.insertVertex(null,null,"",P.snap(f),P.snap(l),aa,V,"shape=image;verticalLabelPosition=bottom;labelBackgroundColor=default;verticalAlign=top;aspect=fixed;imageAspect=0;image="+this.convertDataUri(ma)+";"))}),G,this.maxImageSize);else{var ca=Math.min(1,Math.min(this.maxImageSize/T.width,this.maxImageSize/T.height)),ka=Math.round(T.width*ca);T=Math.round(T.height*ca);
-P.setSelectionCell(P.insertVertex(null,null,"",P.snap(f),P.snap(l),ka,T,"shape=image;verticalLabelPosition=bottom;labelBackgroundColor=default;verticalAlign=top;aspect=fixed;imageAspect=0;image="+c+";"))}}),mxUtils.bind(this,function(){var T=null;P.getModel().beginUpdate();try{T=P.insertVertex(P.getDefaultParent(),null,c,P.snap(f),P.snap(l),1,1,"text;"+(z?"html=1;":"")),P.updateCellSize(T),P.fireEvent(new mxEventObject("textInserted","cells",[T]))}finally{P.getModel().endUpdate()}P.setSelectionCell(T)}))}else{c=
+mxUtils.bind(this,function(T){if("data:"==c.substring(0,5))this.resizeImage(T,c,mxUtils.bind(this,function(ma,aa,V){P.setSelectionCell(P.insertVertex(null,null,"",P.snap(f),P.snap(l),aa,V,"shape=image;verticalLabelPosition=bottom;labelBackgroundColor=default;verticalAlign=top;aspect=fixed;imageAspect=0;image="+this.convertDataUri(ma)+";"))}),G,this.maxImageSize);else{var ca=Math.min(1,Math.min(this.maxImageSize/T.width,this.maxImageSize/T.height)),ja=Math.round(T.width*ca);T=Math.round(T.height*ca);
+P.setSelectionCell(P.insertVertex(null,null,"",P.snap(f),P.snap(l),ja,T,"shape=image;verticalLabelPosition=bottom;labelBackgroundColor=default;verticalAlign=top;aspect=fixed;imageAspect=0;image="+c+";"))}}),mxUtils.bind(this,function(){var T=null;P.getModel().beginUpdate();try{T=P.insertVertex(P.getDefaultParent(),null,c,P.snap(f),P.snap(l),1,1,"text;"+(z?"html=1;":"")),P.updateCellSize(T),P.fireEvent(new mxEventObject("textInserted","cells",[T]))}finally{P.getModel().endUpdate()}P.setSelectionCell(T)}))}else{c=
Graph.zapGremlins(mxUtils.trim(c));if(this.isCompatibleString(c))return this.importXml(c,f,l,B,null,L);if(0<c.length)if(this.isLucidChartData(c))this.convertLucidChart(c,mxUtils.bind(this,function(T){this.editor.graph.setSelectionCells(this.importXml(T,f,l,B,null,L))}),mxUtils.bind(this,function(T){this.handleError(T)}));else{P=this.editor.graph;A=null;P.getModel().beginUpdate();try{A=P.insertVertex(P.getDefaultParent(),null,"",P.snap(f),P.snap(l),1,1,"text;whiteSpace=wrap;"+(z?"html=1;":""));P.fireEvent(new mxEventObject("textInserted",
"cells",[A]));z&&(c=P.sanitizeHtml(c));c.length>this.maxTextBytes&&(c=c.substring(0,this.maxTextBytes)+"...");A.value=c;P.updateCellSize(A);if(0<this.maxTextWidth&&A.geometry.width>this.maxTextWidth){var ea=P.getPreferredSizeForCell(A,this.maxTextWidth);A.geometry.width=ea.width;A.geometry.height=ea.height}Graph.isLink(A.value)&&P.setLinkForCell(A,A.value);A.geometry.width+=P.gridSize;A.geometry.height+=P.gridSize}finally{P.getModel().endUpdate()}return[A]}}return[]};EditorUi.prototype.formatFileSize=
function(c){var f=-1;do c/=1024,f++;while(1024<c);return Math.max(c,.1).toFixed(1)+" kB; MB; GB; TB;PB;EB;ZB;YB".split(";")[f]};EditorUi.prototype.convertDataUri=function(c){if("data:"==c.substring(0,5)){var f=c.indexOf(";");0<f&&(c=c.substring(0,f)+c.substring(c.indexOf(",",f+1)))}return c};EditorUi.prototype.isRemoteFileFormat=function(c,f){return/("contentType":\s*"application\/gliffy\+json")/.test(c)};EditorUi.prototype.isLucidChartData=function(c){return null!=c&&('{"state":"{\\"Properties\\":'==
@@ -3709,58 +3707,58 @@ c.substring(0,26)||'{"Properties":'==c.substring(0,14))};EditorUi.prototype.impo
function(G,L){null!=L&&Graph.fileSupport&&/(\.v(dx|sdx?))($|\?)/i.test(L)?(G=new Blob([G],{type:"application/octet-stream"}),this.importVisio(G,mxUtils.bind(this,function(P){this.importXml(P,0,0,!0)}),null,L)):this.editor.graph.setSelectionCells(this.importXml(G,0,0,!0))}));this.showDialog((new OpenDialog(this)).container,Editor.useLocalStorage?640:360,Editor.useLocalStorage?480:220,!0,!0,function(){window.openFile=null});if(!f){var A=this.dialog,B=A.close;this.dialog.close=mxUtils.bind(this,function(G){Editor.useLocalStorage=
z;B.apply(A,arguments);G&&null==this.getCurrentFile()&&"1"!=urlParams.embed&&this.showSplash()})}}};EditorUi.prototype.importZipFile=function(c,f,l){var z=this,A=mxUtils.bind(this,function(){this.loadingExtensions=!1;"undefined"!==typeof JSZip?JSZip.loadAsync(c).then(function(B){if(mxUtils.isEmptyObject(B.files))l();else{var G=0,L,P=!1;B.forEach(function(J,fa){J=fa.name.toLowerCase();"diagram/diagram.xml"==J?(P=!0,fa.async("string").then(function(ea){0==ea.indexOf("<mxfile ")?f(ea):l()})):0==J.indexOf("versions/")&&
(J=parseInt(J.substr(9)),J>G&&(G=J,L=fa))});0<G?L.async("string").then(function(J){(new XMLHttpRequest).upload&&z.isRemoteFileFormat(J,c.name)?z.isOffline()?z.showError(mxResources.get("error"),mxResources.get("notInOffline"),null,l):z.parseFileData(J,mxUtils.bind(this,function(fa){4==fa.readyState&&(200<=fa.status&&299>=fa.status?f(fa.responseText):l())}),c.name):l()}):P||l()}},function(B){l(B)}):l()});"undefined"!==typeof JSZip||this.loadingExtensions||this.isOffline(!0)?A():(this.loadingExtensions=
-!0,mxscript(window.DRAWIO_SERVER_URL+"js/extensions.min.js",A,null,null,null,l))};EditorUi.prototype.importFile=function(c,f,l,z,A,B,G,L,P,J,fa,ea){J=null!=J?J:!0;var T=!1,ca=null,ka=mxUtils.bind(this,function(ma){var aa=null;null!=ma&&"<mxlibrary"==ma.substring(0,10)?(this.loadLibrary(new LocalLibrary(this,ma,G)),this.showSidebar()):aa=this.importXml(ma,l,z,J,null,null!=ea?mxEvent.isControlDown(ea):null);null!=L&&L(aa)});"image"==f.substring(0,5)?(P=!1,"image/png"==f.substring(0,9)&&(f=fa?null:this.extractGraphModelFromPng(c),
-null!=f&&0<f.length&&(ca=this.importXml(f,l,z,J,null,null!=ea?mxEvent.isControlDown(ea):null),P=!0)),P||(f=this.editor.graph,P=c.indexOf(";"),0<P&&(c=c.substring(0,P)+c.substring(c.indexOf(",",P+1))),J&&f.isGridEnabled()&&(l=f.snap(l),z=f.snap(z)),ca=[f.insertVertex(null,null,"",l,z,A,B,"shape=image;verticalLabelPosition=bottom;labelBackgroundColor=default;verticalAlign=top;aspect=fixed;imageAspect=0;image="+c+";")])):/(\.*<graphml )/.test(c)?(T=!0,this.importGraphML(c,ka)):null!=P&&null!=G&&EditorUi.isVisioFilename(G)?
-(T=!0,this.importVisio(P,ka)):(new XMLHttpRequest).upload&&this.isRemoteFileFormat(c,G)?this.isOffline()?this.showError(mxResources.get("error"),mxResources.get("notInOffline")):(T=!0,A=mxUtils.bind(this,function(ma){4==ma.readyState&&(200<=ma.status&&299>=ma.status?ka(ma.responseText):null!=L&&(L(null),this.showError(mxResources.get("error"),413==ma.status?mxResources.get("diagramTooLarge"):mxResources.get("unknownError"))))}),null!=c?this.parseFileData(c,A,G):this.parseFile(P,A,G)):0==c.indexOf("PK")&&
-null!=P?(T=!0,this.importZipFile(P,ka,mxUtils.bind(this,function(){ca=this.insertTextAt(this.validateFileData(c),l,z,!0,null,J);L(ca)}))):/(\.v(sd|dx))($|\?)/i.test(G)||/(\.vs(s|x))($|\?)/i.test(G)||(ca=this.insertTextAt(this.validateFileData(c),l,z,!0,null,J,null,null!=ea?mxEvent.isControlDown(ea):null));T||null==L||L(ca);return ca};EditorUi.prototype.importFiles=function(c,f,l,z,A,B,G,L,P,J,fa,ea,T){z=null!=z?z:this.maxImageSize;J=null!=J?J:this.maxImageBytes;var ca=null!=f&&null!=l,ka=!0;f=null!=
-f?f:0;l=null!=l?l:0;var ma=!1;if(!mxClient.IS_CHROMEAPP&&null!=c)for(var aa=fa||this.resampleThreshold,V=0;V<c.length;V++)if("image/svg"!==c[V].type.substring(0,9)&&"image/"===c[V].type.substring(0,6)&&c[V].size>aa){ma=!0;break}var da=mxUtils.bind(this,function(){var k=this.editor.graph,t=k.gridSize;A=null!=A?A:mxUtils.bind(this,function(ba,la,qa,pa,ra,ua,Ba,ya,Aa){try{if(null!=ba&&"<mxlibrary"==ba.substring(0,10))return this.spinner.stop(),this.loadLibrary(new LocalLibrary(this,ba,Ba)),this.showSidebar(),
-null;this.isCompatibleString(ba)&&1==c.length&&null!=T&&"drop"==T.type&&this.isBlankFile()&&!this.canUndo()&&(ca=!1,pa=qa=0);return this.importFile(ba,la,qa,pa,ra,ua,Ba,ya,Aa,ca,ea,T)}catch(Na){return this.handleError(Na),null}});B=null!=B?B:mxUtils.bind(this,function(ba){k.setSelectionCells(ba)});if(this.spinner.spin(document.body,mxResources.get("loading")))for(var I=c.length,R=I,O=[],X=mxUtils.bind(this,function(ba,la){O[ba]=la;if(0==--R){this.spinner.stop();if(null!=L)L(O);else{var qa=[];k.getModel().beginUpdate();
-try{for(ba=0;ba<O.length;ba++){var pa=O[ba]();null!=pa&&(qa=qa.concat(pa))}}finally{k.getModel().endUpdate()}}B(qa)}}),Z=0;Z<I;Z++)mxUtils.bind(this,function(ba){var la=c[ba];if(null!=la){var qa=new FileReader;qa.onload=mxUtils.bind(this,function(pa){if(null==G||G(la))try{if("image/"==la.type.substring(0,6))if("image/svg"==la.type.substring(0,9)){var ra=Graph.clipSvgDataUri(pa.target.result),ua=ra.indexOf(","),Ba=decodeURIComponent(escape(atob(ra.substring(ua+1)))),ya=mxUtils.parseXml(Ba),Aa=ya.getElementsByTagName("svg");
-if(0<Aa.length){var Na=Aa[0],va=ea?null:Na.getAttribute("content");null!=va&&"<"!=va.charAt(0)&&"%"!=va.charAt(0)&&(va=unescape(window.atob?atob(va):Base64.decode(va,!0)));null!=va&&"%"==va.charAt(0)&&(va=decodeURIComponent(va));null==va||"<mxfile "!==va.substring(0,8)&&"<mxGraphModel "!==va.substring(0,14)?X(ba,mxUtils.bind(this,function(){try{if(null!=ya){var La=ya.getElementsByTagName("svg");if(0<La.length){var Ea=La[0],za=Ea.getAttribute("width"),Ra=Ea.getAttribute("height");za=null!=za&&"%"!=
-za.charAt(za.length-1)?parseFloat(za):NaN;Ra=null!=Ra&&"%"!=Ra.charAt(Ra.length-1)?parseFloat(Ra):NaN;var Ja=Ea.getAttribute("viewBox");if(null==Ja||0==Ja.length)Ea.setAttribute("viewBox","0 0 "+za+" "+Ra);else if(isNaN(za)||isNaN(Ra)){var Qa=Ja.split(" ");3<Qa.length&&(za=parseFloat(Qa[2]),Ra=parseFloat(Qa[3]))}ra=Editor.createSvgDataUri(mxUtils.getXml(Ea));var Ma=Math.min(1,Math.min(z/Math.max(1,za)),z/Math.max(1,Ra)),u=A(ra,la.type,f+ba*t,l+ba*t,Math.max(1,Math.round(za*Ma)),Math.max(1,Math.round(Ra*
-Ma)),la.name);if(null!=u&&(isNaN(za)||isNaN(Ra))){var N=new Image;N.onload=mxUtils.bind(this,function(){za=Math.max(1,N.width);Ra=Math.max(1,N.height);u[0].geometry.width=za;u[0].geometry.height=Ra;Ea.setAttribute("viewBox","0 0 "+za+" "+Ra);ra=Editor.createSvgDataUri(mxUtils.getXml(Ea));var Q=ra.indexOf(";");0<Q&&(ra=ra.substring(0,Q)+ra.substring(ra.indexOf(",",Q+1)));k.setCellStyles("image",ra,[u[0]])});N.src=Editor.createSvgDataUri(mxUtils.getXml(Ea))}return u}}}catch(Q){}return null})):X(ba,
-mxUtils.bind(this,function(){return A(va,"text/xml",f+ba*t,l+ba*t,0,0,la.name)}))}else X(ba,mxUtils.bind(this,function(){return null}))}else{ua=!1;if("image/png"==la.type){var Da=ea?null:this.extractGraphModelFromPng(pa.target.result);if(null!=Da&&0<Da.length){var Ha=new Image;Ha.src=pa.target.result;X(ba,mxUtils.bind(this,function(){return A(Da,"text/xml",f+ba*t,l+ba*t,Ha.width,Ha.height,la.name)}));ua=!0}}ua||(mxClient.IS_CHROMEAPP?(this.spinner.stop(),this.showError(mxResources.get("error"),mxResources.get("dragAndDropNotSupported"),
-mxResources.get("cancel"),mxUtils.bind(this,function(){}),null,mxResources.get("ok"),mxUtils.bind(this,function(){this.actions.get("import").funct()}))):this.loadImage(pa.target.result,mxUtils.bind(this,function(La){this.resizeImage(La,pa.target.result,mxUtils.bind(this,function(Ea,za,Ra){X(ba,mxUtils.bind(this,function(){if(null!=Ea&&Ea.length<J){var Ja=ka&&this.isResampleImageSize(la.size,fa)?Math.min(1,Math.min(z/za,z/Ra)):1;return A(Ea,la.type,f+ba*t,l+ba*t,Math.round(za*Ja),Math.round(Ra*Ja),
-la.name)}this.handleError({message:mxResources.get("imageTooBig")});return null}))}),ka,z,fa,la.size)}),mxUtils.bind(this,function(){this.handleError({message:mxResources.get("invalidOrMissingFile")})})))}else ra=pa.target.result,A(ra,la.type,f+ba*t,l+ba*t,240,160,la.name,function(La){X(ba,function(){return La})},la)}catch(La){X(ba,mxUtils.bind(this,function(){return null})),null!=window.console&&console.error(La,la)}else X(ba,mxUtils.bind(this,function(){return null}))});EditorUi.isVisioFilename(la.name)?
-A(null,la.type,f+ba*t,l+ba*t,240,160,la.name,function(pa){X(ba,function(){return pa})},la):"image"==la.type.substring(0,5)||"application/pdf"==la.type?qa.readAsDataURL(la):qa.readAsText(la)}})(Z)});if(ma){ma=[];for(V=0;V<c.length;V++)ma.push(c[V]);c=ma;this.confirmImageResize(function(k){ka=k;da()},P)}else da()};EditorUi.prototype.isBlankFile=function(){return null!=this.pages&&1==this.pages.length&&this.isDiagramEmpty()&&this.currentPage.getName()==mxResources.get("pageWithNumber",[1])};EditorUi.prototype.confirmImageResize=
+!0,mxscript(window.DRAWIO_SERVER_URL+"js/extensions.min.js",A,null,null,null,l))};EditorUi.prototype.importFile=function(c,f,l,z,A,B,G,L,P,J,fa,ea){J=null!=J?J:!0;var T=!1,ca=null,ja=mxUtils.bind(this,function(ma){var aa=null;null!=ma&&"<mxlibrary"==ma.substring(0,10)?(this.loadLibrary(new LocalLibrary(this,ma,G)),this.showSidebar()):aa=this.importXml(ma,l,z,J,null,null!=ea?mxEvent.isControlDown(ea):null);null!=L&&L(aa)});"image"==f.substring(0,5)?(P=!1,"image/png"==f.substring(0,9)&&(f=fa?null:this.extractGraphModelFromPng(c),
+null!=f&&0<f.length&&(ca=this.importXml(f,l,z,J,null,null!=ea?mxEvent.isControlDown(ea):null),P=!0)),P||(f=this.editor.graph,P=c.indexOf(";"),0<P&&(c=c.substring(0,P)+c.substring(c.indexOf(",",P+1))),J&&f.isGridEnabled()&&(l=f.snap(l),z=f.snap(z)),ca=[f.insertVertex(null,null,"",l,z,A,B,"shape=image;verticalLabelPosition=bottom;labelBackgroundColor=default;verticalAlign=top;aspect=fixed;imageAspect=0;image="+c+";")])):/(\.*<graphml )/.test(c)?(T=!0,this.importGraphML(c,ja)):null!=P&&null!=G&&EditorUi.isVisioFilename(G)?
+(T=!0,this.importVisio(P,ja)):(new XMLHttpRequest).upload&&this.isRemoteFileFormat(c,G)?this.isOffline()?this.showError(mxResources.get("error"),mxResources.get("notInOffline")):(T=!0,A=mxUtils.bind(this,function(ma){4==ma.readyState&&(200<=ma.status&&299>=ma.status?ja(ma.responseText):null!=L&&(L(null),this.showError(mxResources.get("error"),413==ma.status?mxResources.get("diagramTooLarge"):mxResources.get("unknownError"))))}),null!=c?this.parseFileData(c,A,G):this.parseFile(P,A,G)):0==c.indexOf("PK")&&
+null!=P?(T=!0,this.importZipFile(P,ja,mxUtils.bind(this,function(){ca=this.insertTextAt(this.validateFileData(c),l,z,!0,null,J);L(ca)}))):/(\.v(sd|dx))($|\?)/i.test(G)||/(\.vs(s|x))($|\?)/i.test(G)||(ca=this.insertTextAt(this.validateFileData(c),l,z,!0,null,J,null,null!=ea?mxEvent.isControlDown(ea):null));T||null==L||L(ca);return ca};EditorUi.prototype.importFiles=function(c,f,l,z,A,B,G,L,P,J,fa,ea,T){z=null!=z?z:this.maxImageSize;J=null!=J?J:this.maxImageBytes;var ca=null!=f&&null!=l,ja=!0;f=null!=
+f?f:0;l=null!=l?l:0;var ma=!1;if(!mxClient.IS_CHROMEAPP&&null!=c)for(var aa=fa||this.resampleThreshold,V=0;V<c.length;V++)if("image/svg"!==c[V].type.substring(0,9)&&"image/"===c[V].type.substring(0,6)&&c[V].size>aa){ma=!0;break}var da=mxUtils.bind(this,function(){var k=this.editor.graph,t=k.gridSize;A=null!=A?A:mxUtils.bind(this,function(ba,ka,qa,pa,ra,ua,Ba,xa,Aa){try{if(null!=ba&&"<mxlibrary"==ba.substring(0,10))return this.spinner.stop(),this.loadLibrary(new LocalLibrary(this,ba,Ba)),this.showSidebar(),
+null;this.isCompatibleString(ba)&&1==c.length&&null!=T&&"drop"==T.type&&this.isBlankFile()&&!this.canUndo()&&(ca=!1,pa=qa=0);return this.importFile(ba,ka,qa,pa,ra,ua,Ba,xa,Aa,ca,ea,T)}catch(Na){return this.handleError(Na),null}});B=null!=B?B:mxUtils.bind(this,function(ba){k.setSelectionCells(ba)});if(this.spinner.spin(document.body,mxResources.get("loading")))for(var I=c.length,R=I,O=[],X=mxUtils.bind(this,function(ba,ka){O[ba]=ka;if(0==--R){this.spinner.stop();if(null!=L)L(O);else{var qa=[];k.getModel().beginUpdate();
+try{for(ba=0;ba<O.length;ba++){var pa=O[ba]();null!=pa&&(qa=qa.concat(pa))}}finally{k.getModel().endUpdate()}}B(qa)}}),Z=0;Z<I;Z++)mxUtils.bind(this,function(ba){var ka=c[ba];if(null!=ka){var qa=new FileReader;qa.onload=mxUtils.bind(this,function(pa){if(null==G||G(ka))try{if("image/"==ka.type.substring(0,6))if("image/svg"==ka.type.substring(0,9)){var ra=Graph.clipSvgDataUri(pa.target.result),ua=ra.indexOf(","),Ba=decodeURIComponent(escape(atob(ra.substring(ua+1)))),xa=mxUtils.parseXml(Ba),Aa=xa.getElementsByTagName("svg");
+if(0<Aa.length){var Na=Aa[0],va=ea?null:Na.getAttribute("content");null!=va&&"<"!=va.charAt(0)&&"%"!=va.charAt(0)&&(va=unescape(window.atob?atob(va):Base64.decode(va,!0)));null!=va&&"%"==va.charAt(0)&&(va=decodeURIComponent(va));null==va||"<mxfile "!==va.substring(0,8)&&"<mxGraphModel "!==va.substring(0,14)?X(ba,mxUtils.bind(this,function(){try{if(null!=xa){var La=xa.getElementsByTagName("svg");if(0<La.length){var Da=La[0],za=Da.getAttribute("width"),Ra=Da.getAttribute("height");za=null!=za&&"%"!=
+za.charAt(za.length-1)?parseFloat(za):NaN;Ra=null!=Ra&&"%"!=Ra.charAt(Ra.length-1)?parseFloat(Ra):NaN;var Ja=Da.getAttribute("viewBox");if(null==Ja||0==Ja.length)Da.setAttribute("viewBox","0 0 "+za+" "+Ra);else if(isNaN(za)||isNaN(Ra)){var Qa=Ja.split(" ");3<Qa.length&&(za=parseFloat(Qa[2]),Ra=parseFloat(Qa[3]))}ra=Editor.createSvgDataUri(mxUtils.getXml(Da));var Ma=Math.min(1,Math.min(z/Math.max(1,za)),z/Math.max(1,Ra)),u=A(ra,ka.type,f+ba*t,l+ba*t,Math.max(1,Math.round(za*Ma)),Math.max(1,Math.round(Ra*
+Ma)),ka.name);if(null!=u&&(isNaN(za)||isNaN(Ra))){var N=new Image;N.onload=mxUtils.bind(this,function(){za=Math.max(1,N.width);Ra=Math.max(1,N.height);u[0].geometry.width=za;u[0].geometry.height=Ra;Da.setAttribute("viewBox","0 0 "+za+" "+Ra);ra=Editor.createSvgDataUri(mxUtils.getXml(Da));var Q=ra.indexOf(";");0<Q&&(ra=ra.substring(0,Q)+ra.substring(ra.indexOf(",",Q+1)));k.setCellStyles("image",ra,[u[0]])});N.src=Editor.createSvgDataUri(mxUtils.getXml(Da))}return u}}}catch(Q){}return null})):X(ba,
+mxUtils.bind(this,function(){return A(va,"text/xml",f+ba*t,l+ba*t,0,0,ka.name)}))}else X(ba,mxUtils.bind(this,function(){return null}))}else{ua=!1;if("image/png"==ka.type){var Ca=ea?null:this.extractGraphModelFromPng(pa.target.result);if(null!=Ca&&0<Ca.length){var Ga=new Image;Ga.src=pa.target.result;X(ba,mxUtils.bind(this,function(){return A(Ca,"text/xml",f+ba*t,l+ba*t,Ga.width,Ga.height,ka.name)}));ua=!0}}ua||(mxClient.IS_CHROMEAPP?(this.spinner.stop(),this.showError(mxResources.get("error"),mxResources.get("dragAndDropNotSupported"),
+mxResources.get("cancel"),mxUtils.bind(this,function(){}),null,mxResources.get("ok"),mxUtils.bind(this,function(){this.actions.get("import").funct()}))):this.loadImage(pa.target.result,mxUtils.bind(this,function(La){this.resizeImage(La,pa.target.result,mxUtils.bind(this,function(Da,za,Ra){X(ba,mxUtils.bind(this,function(){if(null!=Da&&Da.length<J){var Ja=ja&&this.isResampleImageSize(ka.size,fa)?Math.min(1,Math.min(z/za,z/Ra)):1;return A(Da,ka.type,f+ba*t,l+ba*t,Math.round(za*Ja),Math.round(Ra*Ja),
+ka.name)}this.handleError({message:mxResources.get("imageTooBig")});return null}))}),ja,z,fa,ka.size)}),mxUtils.bind(this,function(){this.handleError({message:mxResources.get("invalidOrMissingFile")})})))}else ra=pa.target.result,A(ra,ka.type,f+ba*t,l+ba*t,240,160,ka.name,function(La){X(ba,function(){return La})},ka)}catch(La){X(ba,mxUtils.bind(this,function(){return null})),null!=window.console&&console.error(La,ka)}else X(ba,mxUtils.bind(this,function(){return null}))});EditorUi.isVisioFilename(ka.name)?
+A(null,ka.type,f+ba*t,l+ba*t,240,160,ka.name,function(pa){X(ba,function(){return pa})},ka):"image"==ka.type.substring(0,5)||"application/pdf"==ka.type?qa.readAsDataURL(ka):qa.readAsText(ka)}})(Z)});if(ma){ma=[];for(V=0;V<c.length;V++)ma.push(c[V]);c=ma;this.confirmImageResize(function(k){ja=k;da()},P)}else da()};EditorUi.prototype.isBlankFile=function(){return null!=this.pages&&1==this.pages.length&&this.isDiagramEmpty()&&this.currentPage.getName()==mxResources.get("pageWithNumber",[1])};EditorUi.prototype.confirmImageResize=
function(c,f){f=null!=f?f:!1;var l=null!=this.spinner&&null!=this.spinner.pause?this.spinner.pause():function(){},z=isLocalStorage||mxClient.IS_CHROMEAPP?mxSettings.getResizeImages():null,A=function(B,G){if(B||f)mxSettings.setResizeImages(B?G:null),mxSettings.save();l();c(G)};null==z||f?this.showDialog((new ConfirmDialog(this,mxResources.get("resizeLargeImages"),function(B){A(B,!0)},function(B){A(B,!1)},mxResources.get("resize"),mxResources.get("actualSize"),'<img style="margin-top:8px;" src="'+Editor.loResImage+
'"/>','<img style="margin-top:8px;" src="'+Editor.hiResImage+'"/>',isLocalStorage||mxClient.IS_CHROMEAPP)).container,340,isLocalStorage||mxClient.IS_CHROMEAPP?226:200,!0,!0):A(!1,z)};EditorUi.prototype.parseFile=function(c,f,l){l=null!=l?l:c.name;var z=new FileReader;z.onload=mxUtils.bind(this,function(){this.parseFileData(z.result,f,l)});z.readAsText(c)};EditorUi.prototype.parseFileData=function(c,f,l){var z=new XMLHttpRequest;z.open("POST",OPEN_URL);z.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
z.onreadystatechange=function(){f(z)};z.send("format=xml&filename="+encodeURIComponent(l)+"&data="+encodeURIComponent(c));try{EditorUi.logEvent({category:"GLIFFY-IMPORT-FILE",action:"size_"+file.size})}catch(A){}};EditorUi.prototype.isResampleImageSize=function(c,f){f=null!=f?f:this.resampleThreshold;return c>f};EditorUi.prototype.resizeImage=function(c,f,l,z,A,B,G){A=null!=A?A:this.maxImageSize;var L=Math.max(1,c.width),P=Math.max(1,c.height),J=f;if(z&&this.isResampleImageSize(null!=G?G:f.length,
-B))try{var fa=Math.max(L/A,P/A);if(1<fa){var ea=Math.round(L/fa),T=Math.round(P/fa),ca=document.createElement("canvas");ca.width=ea;ca.height=T;ca.getContext("2d").drawImage(c,0,0,ea,T);var ka=ca.toDataURL();if(ka.length<f.length){var ma=document.createElement("canvas");ma.width=ea;ma.height=T;var aa=ma.toDataURL();ka!==aa&&(f=ka,L=ea,P=T)}}}catch(V){}z&&J!=f&&A>this.maxImageSize/2&&f.length>this.maxImageBytes?this.resizeImage(c,f,l,z,A/1.5,B,G):l(f,L,P)};EditorUi.prototype.extractGraphModelFromPng=
+B))try{var fa=Math.max(L/A,P/A);if(1<fa){var ea=Math.round(L/fa),T=Math.round(P/fa),ca=document.createElement("canvas");ca.width=ea;ca.height=T;ca.getContext("2d").drawImage(c,0,0,ea,T);var ja=ca.toDataURL();if(ja.length<f.length){var ma=document.createElement("canvas");ma.width=ea;ma.height=T;var aa=ma.toDataURL();ja!==aa&&(f=ja,L=ea,P=T)}}}catch(V){}z&&J!=f&&A>this.maxImageSize/2&&f.length>this.maxImageBytes?this.resizeImage(c,f,l,z,A/1.5,B,G):l(f,L,P)};EditorUi.prototype.extractGraphModelFromPng=
function(c){return Editor.extractGraphModelFromPng(c)};EditorUi.prototype.loadImage=function(c,f,l){try{var z=new Image;z.onload=function(){z.width=0<z.width?z.width:120;z.height=0<z.height?z.height:120;f(z)};null!=l&&(z.onerror=l);z.src=c}catch(A){if(null!=l)l(A);else throw A;}};EditorUi.prototype.getDefaultSketchMode=function(){var c="1"==urlParams.sketch;return"0"!=(null!=urlParams.rough?urlParams.rough:c)};var v=EditorUi.prototype.createUi;EditorUi.prototype.createUi=function(){Editor.isSettingsEnabled()&&
(null!=mxSettings.settings.sidebarTitles&&(Sidebar.prototype.sidebarTitles=mxSettings.settings.sidebarTitles),this.formatWidth=mxSettings.getFormatWidth(),null!=Editor.config&&null!=Editor.config.enableCssDarkMode||null==mxSettings.settings.enableCssDarkMode||(Editor.enableCssDarkMode=mxSettings.settings.enableCssDarkMode));v.apply(this,arguments);Editor.isSettingsEnabled()&&this.doSetSketchMode(null!=mxSettings.settings.sketchMode&&null==urlParams.rough&&null==urlParams.sketch?mxSettings.settings.sketchMode:
this.getDefaultSketchMode())};var q=EditorUi.prototype.init;EditorUi.prototype.init=function(){mxStencilRegistry.allowEval=mxStencilRegistry.allowEval&&!this.isOfflineApp();var c=this,f=this.editor.graph,l=f.isEnabled;f.isEnabled=function(){return l.apply(this,arguments)&&!c.isLocked()};Graph.touchStyle&&(f.panningHandler.isPanningTrigger=function(t){var I=t.getEvent();return null==t.getState()&&!mxEvent.isMouseEvent(I)&&!f.freehand.isDrawing()||mxEvent.isPopupTrigger(I)&&(null==t.getState()||mxEvent.isControlDown(I)||
-mxEvent.isShiftDown(I))});f.cellEditor.editPlantUmlData=function(t,I,R){var O=JSON.parse(R);I=new TextareaDialog(c,mxResources.get("plantUml")+":",O.data,function(X){null!=X&&c.spinner.spin(document.body,mxResources.get("inserting"))&&c.generatePlantUmlImage(X,O.format,function(Z,ba,la){c.spinner.stop();f.getModel().beginUpdate();try{if("txt"==O.format)f.labelChanged(t,"<pre>"+Z+"</pre>"),f.updateCellSize(t,!0);else{f.setCellStyles("image",c.convertDataUri(Z),[t]);var qa=f.model.getGeometry(t);null!=
-qa&&(qa=qa.clone(),qa.width=ba,qa.height=la,f.cellsResized([t],[qa],!1))}f.setAttributeForCell(t,"plantUmlData",JSON.stringify({data:X,format:O.format}))}finally{f.getModel().endUpdate()}},function(Z){c.handleError(Z)})},null,null,400,220);c.showDialog(I.container,420,300,!0,!0);I.init()};f.cellEditor.editMermaidData=function(t,I,R){var O=JSON.parse(R);I=new TextareaDialog(c,mxResources.get("mermaid")+":",O.data,function(X){null!=X&&c.spinner.spin(document.body,mxResources.get("inserting"))&&c.generateMermaidImage(X,
-O.config,function(Z,ba,la){c.spinner.stop();f.getModel().beginUpdate();try{f.setCellStyles("image",Z,[t]);var qa=f.model.getGeometry(t);null!=qa&&(qa=qa.clone(),qa.width=Math.max(qa.width,ba),qa.height=Math.max(qa.height,la),f.cellsResized([t],[qa],!1));f.setAttributeForCell(t,"mermaidData",JSON.stringify({data:X,config:O.config},null,2))}finally{f.getModel().endUpdate()}},function(Z){c.handleError(Z)})},null,null,400,220);c.showDialog(I.container,420,300,!0,!0);I.init()};var z=f.cellEditor.startEditing;
+mxEvent.isShiftDown(I))});f.cellEditor.editPlantUmlData=function(t,I,R){var O=JSON.parse(R);I=new TextareaDialog(c,mxResources.get("plantUml")+":",O.data,function(X){null!=X&&c.spinner.spin(document.body,mxResources.get("inserting"))&&c.generatePlantUmlImage(X,O.format,function(Z,ba,ka){c.spinner.stop();f.getModel().beginUpdate();try{if("txt"==O.format)f.labelChanged(t,"<pre>"+Z+"</pre>"),f.updateCellSize(t,!0);else{f.setCellStyles("image",c.convertDataUri(Z),[t]);var qa=f.model.getGeometry(t);null!=
+qa&&(qa=qa.clone(),qa.width=ba,qa.height=ka,f.cellsResized([t],[qa],!1))}f.setAttributeForCell(t,"plantUmlData",JSON.stringify({data:X,format:O.format}))}finally{f.getModel().endUpdate()}},function(Z){c.handleError(Z)})},null,null,400,220);c.showDialog(I.container,420,300,!0,!0);I.init()};f.cellEditor.editMermaidData=function(t,I,R){var O=JSON.parse(R);I=new TextareaDialog(c,mxResources.get("mermaid")+":",O.data,function(X){null!=X&&c.spinner.spin(document.body,mxResources.get("inserting"))&&c.generateMermaidImage(X,
+O.config,function(Z,ba,ka){c.spinner.stop();f.getModel().beginUpdate();try{f.setCellStyles("image",Z,[t]);var qa=f.model.getGeometry(t);null!=qa&&(qa=qa.clone(),qa.width=Math.max(qa.width,ba),qa.height=Math.max(qa.height,ka),f.cellsResized([t],[qa],!1));f.setAttributeForCell(t,"mermaidData",JSON.stringify({data:X,config:O.config},null,2))}finally{f.getModel().endUpdate()}},function(Z){c.handleError(Z)})},null,null,400,220);c.showDialog(I.container,420,300,!0,!0);I.init()};var z=f.cellEditor.startEditing;
f.cellEditor.startEditing=function(t,I){try{var R=this.graph.getAttributeForCell(t,"plantUmlData");if(null!=R)this.editPlantUmlData(t,I,R);else if(R=this.graph.getAttributeForCell(t,"mermaidData"),null!=R&&window.isMermaidEnabled)this.editMermaidData(t,I,R);else{var O=f.getCellStyle(t);"1"==mxUtils.getValue(O,"metaEdit","0")?c.showDataDialog(t):z.apply(this,arguments)}}catch(X){c.handleError(X)}};f.getLinkTitle=function(t){return c.getLinkTitle(t)};f.customLinkClicked=function(t,I){var R=!1;try{var O=
this.getGraphBounds();c.handleCustomLink(t,I);R=!0;c.chromelessResize&&!O.equals(this.getGraphBounds())&&(c.chromelessResize(),this.scrollCellToVisible(I))}catch(X){c.handleError(X)}return R};var A=f.parseBackgroundImage;f.parseBackgroundImage=function(t){var I=A.apply(this,arguments);null!=I&&null!=I.src&&Graph.isPageLink(I.src)&&(I={originalSrc:I.src});return I};var B=f.setBackgroundImage;f.setBackgroundImage=function(t){null!=t&&null!=t.originalSrc&&(t=c.createImageForPageLink(t.originalSrc,c.currentPage,
this));B.apply(this,arguments)};this.editor.addListener("pageRenamed",mxUtils.bind(this,function(){f.refreshBackgroundImage()}));this.editor.addListener("pageMoved",mxUtils.bind(this,function(){f.refreshBackgroundImage()}));this.editor.addListener("pagesPatched",mxUtils.bind(this,function(t,I){t=null!=f.backgroundImage?f.backgroundImage.originalSrc:null;if(null!=t){var R=t.indexOf(",");if(0<R)for(t=t.substring(R+1),I=I.getProperty("patches"),R=0;R<I.length;R++)if(null!=I[R][EditorUi.DIFF_UPDATE]&&
null!=I[R][EditorUi.DIFF_UPDATE][t]||null!=I[R][EditorUi.DIFF_REMOVE]&&0<=mxUtils.indexOf(I[R][EditorUi.DIFF_REMOVE],t)){f.refreshBackgroundImage();break}}}));var G=f.getBackgroundImageObject;f.getBackgroundImageObject=function(t,I){var R=G.apply(this,arguments);if(null!=R&&null!=R.originalSrc)if(I){var O=this.stylesheet,X=this.shapeForegroundColor,Z=this.shapeBackgroundColor;null!=this.themes&&"darkTheme"==this.defaultThemeName&&(this.stylesheet=this.getDefaultStylesheet(),this.shapeBackgroundColor=
"#ffffff",this.shapeForegroundColor="#000000");R=c.createImageForPageLink(R.originalSrc,null,null,!0);this.shapeBackgroundColor=Z;this.shapeForegroundColor=X;this.stylesheet=O}else R={src:R.originalSrc};return R};this.isOffline()||"undefined"===typeof window.EditDataDialog||(EditDataDialog.placeholderHelpLink="https://www.drawio.com/doc/faq/predefined-placeholders");if(/viewer\.diagrams\.net$/.test(window.location.hostname)||/embed\.diagrams\.net$/.test(window.location.hostname))this.editor.editBlankUrl=
-"https://app.diagrams.net/";var L=c.editor.getEditBlankUrl;this.editor.getEditBlankUrl=function(t){t=null!=t?t:"";"1"==urlParams.dev&&(t+=(0<t.length?"&":"?")+"dev=1");return L.apply(this,arguments)};var P=f.addClickHandler;f.addClickHandler=function(t,I,R){var O=I;I=function(X,Z,ba){if(null==Z){var la=mxEvent.getSource(X);"a"==la.nodeName.toLowerCase()&&(Z=la.getAttribute("href"))}null!=Z&&f.isCustomLink(Z)&&(mxEvent.isTouchEvent(X)||!mxEvent.isPopupTrigger(X))&&f.customLinkClicked(Z,ba)&&mxEvent.consume(X);
+"https://app.diagrams.net/";var L=c.editor.getEditBlankUrl;this.editor.getEditBlankUrl=function(t){t=null!=t?t:"";"1"==urlParams.dev&&(t+=(0<t.length?"&":"?")+"dev=1");return L.apply(this,arguments)};var P=f.addClickHandler;f.addClickHandler=function(t,I,R){var O=I;I=function(X,Z,ba){if(null==Z){var ka=mxEvent.getSource(X);"a"==ka.nodeName.toLowerCase()&&(Z=ka.getAttribute("href"))}null!=Z&&f.isCustomLink(Z)&&(mxEvent.isTouchEvent(X)||!mxEvent.isPopupTrigger(X))&&f.customLinkClicked(Z,ba)&&mxEvent.consume(X);
null!=O&&O(X,Z,ba)};P.call(this,t,I,R)};q.apply(this,arguments);mxClient.IS_SVG&&this.editor.graph.addSvgShadow(f.view.canvas.ownerSVGElement,null,!0);if(null!=this.menus){var J=Menus.prototype.addPopupMenuItems;this.menus.addPopupMenuItems=function(t,I,R){f.isSelectionEmpty()&&"simple"==Editor.currentTheme&&this.addMenuItems(t,["zoomIn","zoomOut","-"],null,R);J.apply(this,arguments);f.isSelectionEmpty()||null==c.addSelectionToScratchpad||this.addMenuItems(t,["-","addToScratchpad"],null,R);f.isSelectionEmpty()&&
"simple"==Editor.currentTheme&&this.addMenuItems(t,["-","exitGroup","home"],null,R)};var fa=Menus.prototype.addPopupMenuEditItems;this.menus.addPopupMenuEditItems=function(t,I,R){if(c.editor.graph.isSelectionEmpty())fa.apply(this,arguments),c.menus.addMenuItems(t,["copyAsImage"],null,R);else if(this.isShowCellEditItems()?this.addPopupDeleteItem(t,I,R):this.addPopupMenuArrangeItems(t,I,R),this.addMenuItems(t,"- cut copy copyAsImage duplicate -".split(" "),null,R),this.isShowCellEditItems()||this.addPopupDeleteItem(t,
I,R),this.addMenuItems(t,["lockUnlock","-"],null,R),!this.isShowStyleItems()){if(1==f.getSelectionCount()&&!f.isCellLocked(I)&&f.isCellEditable(I)&&(this.addSubmenu("editCell",t,null,mxResources.get("edit")),t.addSeparator(),f.getModel().isEdge(I))){this.addSubmenu("line",t);var O=f.getModel().getGeometry(I);null!=O&&null!=O.points&&0<O.points.length&&this.addMenuItems(t,["clearWaypoints"],null,R)}1==f.getSelectionCount()&&this.addMenuItems(t,["enterGroup"],null,R);O=c.getSelectionState();null!=O.mergeCell?
this.addMenuItem(t,"mergeCells"):(1<O.style.colspan||1<O.style.rowspan)&&this.addMenuItem(t,"unmergeCells")}};this.menus.isShowStyleItems=function(){return"simple"!=Editor.currentTheme&&"sketch"!=Editor.currentTheme&&"min"!=Editor.currentTheme};this.menus.isShowHistoryItems=function(){return"simple"!=Editor.currentTheme};this.menus.isShowArrangeItems=this.menus.isShowStyleItems;this.menus.isShowCellEditItems=this.menus.isShowStyleItems}this.defaultFilename=mxResources.get("untitledDiagram");var ea=
f.getExportVariables;f.getExportVariables=function(){var t=ea.apply(this,arguments),I=c.getCurrentFile();null!=I&&(t.filename=I.getTitle());t.pagecount=null!=c.pages?c.pages.length:1;t.page=null!=c.currentPage?c.currentPage.getName():"";t.pagenumber=null!=c.pages&&null!=c.currentPage?mxUtils.indexOf(c.pages,c.currentPage)+1:1;return t};var T=f.getGlobalVariable;f.getGlobalVariable=function(t){var I=c.getCurrentFile();return"filename"==t&&null!=I?I.getTitle():"page"==t&&null!=c.currentPage?c.currentPage.getName():
-"pagenumber"==t?null!=c.currentPage&&null!=c.pages?mxUtils.indexOf(c.pages,c.currentPage)+1:1:"pagecount"==t?null!=c.pages?c.pages.length:1:T.apply(this,arguments)};var ca=null,ka=null;this.addListener("fileDescriptorChanged",mxUtils.bind(this,function(){var t=this.getCurrentFile(),I=null!=t&&null!=t.getTitle()?t.getTitle():this.defaultFilename;ca!=I&&t==ka&&(f.invalidateDescendantsWithPlaceholders(f.model.getRoot()),f.view.validate());ca=I;ka=t}));var ma=f.labelLinkClicked;f.labelLinkClicked=function(t,
+"pagenumber"==t?null!=c.currentPage&&null!=c.pages?mxUtils.indexOf(c.pages,c.currentPage)+1:1:"pagecount"==t?null!=c.pages?c.pages.length:1:T.apply(this,arguments)};var ca=null,ja=null;this.addListener("fileDescriptorChanged",mxUtils.bind(this,function(){var t=this.getCurrentFile(),I=null!=t&&null!=t.getTitle()?t.getTitle():this.defaultFilename;ca!=I&&t==ja&&(f.invalidateDescendantsWithPlaceholders(f.model.getRoot()),f.view.validate());ca=I;ja=t}));var ma=f.labelLinkClicked;f.labelLinkClicked=function(t,
I,R){var O=I.getAttribute("href");if(null==O||!f.isCustomLink(O)||!mxEvent.isTouchEvent(R)&&mxEvent.isPopupTrigger(R))ma.apply(this,arguments);else{if(!f.isEnabled()||null!=t&&f.isCellLocked(t.cell))f.customLinkClicked(O),f.getRubberband().reset();mxEvent.consume(R)}};this.editor.getOrCreateFilename=function(){var t=c.defaultFilename,I=c.getCurrentFile();null!=I&&(t=null!=I.getTitle()?I.getTitle():t);return t};var aa=this.actions.get("print");aa.setEnabled(!mxClient.IS_IOS||!navigator.standalone);
aa.visible=aa.isEnabled();if(!this.editor.chromeless||this.editor.editable)this.keyHandler.bindAction(70,!0,"findReplace"),this.keyHandler.bindAction(77,!0,"editGeometry",!0),this.keyHandler.bindAction(75,!0,"tags"),this.keyHandler.bindAction(65,!1,"insertText"),this.keyHandler.bindAction(83,!1,"insertNote"),this.keyHandler.bindAction(68,!1,"insertRectangle"),this.keyHandler.bindAction(70,!1,"insertEllipse"),this.keyHandler.bindAction(76,!1,"insertLink"),this.keyHandler.bindAction(82,!1,"insertRhombus"),
this.keyHandler.bindAction(67,!1,"insertEdge"),this.keyHandler.bindAction(88,!1,"insertFreehand"),this.keyHandler.bindAction(75,!0,"toggleShapes",!0),this.keyHandler.bindAction(54,!0,"convertDarkModeColors",!0),this.altShiftActions[81]="copyStyle",this.altShiftActions[87]="pasteStyle",this.altShiftActions[83]="synchronize","1"==urlParams.embedInline&&f.addListener(mxEvent.ESCAPE,function(t,I){null!=I&&f.isEnabled()&&!f.isEditing()&&null!=I.getProperty("event")&&c.actions.get("exit").funct()}),this.installImagePasteHandler(),
this.installNativeClipboardHandler();this.addListener("realtimeStateChanged",mxUtils.bind(this,function(){this.updateUserElement()}));this.spinner=this.createSpinner(null,null,24);Graph.fileSupport&&f.addListener(mxEvent.EDITING_STARTED,mxUtils.bind(this,function(t){var I=f.cellEditor.text2,R=null;null!=I&&(mxEvent.addListener(I,"dragleave",function(O){null!=R&&(R.parentNode.removeChild(R),R=null);O.stopPropagation();O.preventDefault()}),mxEvent.addListener(I,"dragover",mxUtils.bind(this,function(O){null==
-R&&(!mxClient.IS_IE||10<document.documentMode)&&(R=this.highlightElement(I));O.stopPropagation();O.preventDefault()})),mxEvent.addListener(I,"drop",mxUtils.bind(this,function(O){null!=R&&(R.parentNode.removeChild(R),R=null);if(0<O.dataTransfer.files.length)this.importFiles(O.dataTransfer.files,0,0,this.maxImageSize,function(Z,ba,la,qa,pa,ra){f.insertImage(Z,pa,ra)},function(){},function(Z){return"image/"==Z.type.substring(0,6)},function(Z){for(var ba=0;ba<Z.length;ba++)Z[ba]()},mxEvent.isControlDown(O));
-else if(0<=mxUtils.indexOf(O.dataTransfer.types,"text/uri-list")){var X=O.dataTransfer.getData("text/uri-list");/\.(gif|jpg|jpeg|tiff|png|svg)$/i.test(X)?this.loadImage(decodeURIComponent(X),mxUtils.bind(this,function(Z){var ba=Math.max(1,Z.width);Z=Math.max(1,Z.height);var la=this.maxImageSize;la=Math.min(1,Math.min(la/Math.max(1,ba)),la/Math.max(1,Z));f.insertImage(decodeURIComponent(X),ba*la,Z*la)})):document.execCommand("insertHTML",!1,O.dataTransfer.getData("text/plain"))}else 0<=mxUtils.indexOf(O.dataTransfer.types,
+R&&(!mxClient.IS_IE||10<document.documentMode)&&(R=this.highlightElement(I));O.stopPropagation();O.preventDefault()})),mxEvent.addListener(I,"drop",mxUtils.bind(this,function(O){null!=R&&(R.parentNode.removeChild(R),R=null);if(0<O.dataTransfer.files.length)this.importFiles(O.dataTransfer.files,0,0,this.maxImageSize,function(Z,ba,ka,qa,pa,ra){f.insertImage(Z,pa,ra)},function(){},function(Z){return"image/"==Z.type.substring(0,6)},function(Z){for(var ba=0;ba<Z.length;ba++)Z[ba]()},mxEvent.isControlDown(O));
+else if(0<=mxUtils.indexOf(O.dataTransfer.types,"text/uri-list")){var X=O.dataTransfer.getData("text/uri-list");/\.(gif|jpg|jpeg|tiff|png|svg)$/i.test(X)?this.loadImage(decodeURIComponent(X),mxUtils.bind(this,function(Z){var ba=Math.max(1,Z.width);Z=Math.max(1,Z.height);var ka=this.maxImageSize;ka=Math.min(1,Math.min(ka/Math.max(1,ba)),ka/Math.max(1,Z));f.insertImage(decodeURIComponent(X),ba*ka,Z*ka)})):document.execCommand("insertHTML",!1,O.dataTransfer.getData("text/plain"))}else 0<=mxUtils.indexOf(O.dataTransfer.types,
"text/html")?document.execCommand("insertHTML",!1,O.dataTransfer.getData("text/html")):0<=mxUtils.indexOf(O.dataTransfer.types,"text/plain")&&document.execCommand("insertHTML",!1,O.dataTransfer.getData("text/plain"));O.stopPropagation();O.preventDefault()})))}));if(Editor.isSettingsEnabled()){aa=this.editor.graph.view;var V=mxSettings.getUnit();aa.setUnit(V);Editor.pageSizeUnit=V==mxConstants.METERS?mxConstants.MILLIMETERS:V;aa.addListener("unitChanged",function(t,I){t=I.getProperty("unit");mxSettings.setUnit(t);
mxSettings.save();Editor.pageSizeUnit=t==mxConstants.METERS?mxConstants.MILLIMETERS:t});this.ruler=!this.canvasSupported||9==document.documentMode||"1"!=urlParams.ruler&&!mxSettings.isRulerOn()||this.editor.isChromelessView()&&!this.editor.editable?null:new mxDualRuler(this,aa.unit);this.refresh()}if("1"==urlParams.styledev){aa=document.getElementById("geFooter");null!=aa&&(this.styleInput=document.createElement("input"),this.styleInput.setAttribute("type","text"),this.styleInput.style.position="absolute",
this.styleInput.style.top="14px",this.styleInput.style.left="2px",this.styleInput.style.width="98%",this.styleInput.style.visibility="hidden",this.styleInput.style.opacity="0.9",mxEvent.addListener(this.styleInput,"change",mxUtils.bind(this,function(){this.editor.graph.getModel().setStyle(this.editor.graph.getSelectionCell(),this.styleInput.value)})),aa.appendChild(this.styleInput),this.editor.graph.getSelectionModel().addListener(mxEvent.CHANGE,mxUtils.bind(this,function(t,I){0<this.editor.graph.getSelectionCount()?
(t=this.editor.graph.getSelectionCell(),t=this.editor.graph.getModel().getStyle(t),this.styleInput.value=t||"",this.styleInput.style.visibility="visible"):this.styleInput.style.visibility="hidden"})));var da=this.isSelectionAllowed;this.isSelectionAllowed=function(t){return mxEvent.getSource(t)==this.styleInput?!0:da.apply(this,arguments)}}aa=document.getElementById("geInfo");null!=aa&&aa.parentNode.removeChild(aa);if(Graph.fileSupport&&(!this.editor.chromeless||this.editor.editable)){var k=null;
mxEvent.addListener(f.container,"dragleave",function(t){f.isEnabled()&&(null!=k&&(k.parentNode.removeChild(k),k=null),t.stopPropagation(),t.preventDefault())});mxEvent.addListener(f.container,"dragover",mxUtils.bind(this,function(t){null==k&&(!mxClient.IS_IE||10<document.documentMode)&&(k=this.highlightElement(f.container));null!=this.sidebar&&this.sidebar.hideTooltip();t.stopPropagation();t.preventDefault()}));mxEvent.addListener(f.container,"drop",mxUtils.bind(this,function(t){null!=k&&(k.parentNode.removeChild(k),
k=null);if(f.isEnabled()){var I=mxUtils.convertPoint(f.container,mxEvent.getClientX(t),mxEvent.getClientY(t)),R=t.dataTransfer.files,O=f.view.translate,X=f.view.scale,Z=I.x/X-O.x,ba=I.y/X-O.y;if(0<R.length)"1"!=urlParams.embed&&mxEvent.isShiftDown(t)?(this.isBlankFile()&&!this.canUndo()&&null!=this.getCurrentFile()&&this.fileLoaded(null),this.openFiles(R,!0)):(mxEvent.isAltDown(t)&&(ba=Z=null),this.importFiles(R,Z,ba,this.maxImageSize,null,null,null,null,mxEvent.isControlDown(t),null,null,mxEvent.isShiftDown(t),
-t));else{mxEvent.isAltDown(t)&&(ba=Z=0);var la=0<=mxUtils.indexOf(t.dataTransfer.types,"text/uri-list")?t.dataTransfer.getData("text/uri-list"):null;I=this.extractGraphModelFromEvent(t,null!=this.pages);if(null!=I)f.setSelectionCells(this.importXml(I,Z,ba,!0));else if(0<=mxUtils.indexOf(t.dataTransfer.types,"text/html")){var qa=t.dataTransfer.getData("text/html");I=document.createElement("div");I.innerHTML=Graph.sanitizeHtml(qa);var pa=null;R=I.getElementsByTagName("img");null!=R&&1==R.length?(qa=
+t));else{mxEvent.isAltDown(t)&&(ba=Z=0);var ka=0<=mxUtils.indexOf(t.dataTransfer.types,"text/uri-list")?t.dataTransfer.getData("text/uri-list"):null;I=this.extractGraphModelFromEvent(t,null!=this.pages);if(null!=I)f.setSelectionCells(this.importXml(I,Z,ba,!0));else if(0<=mxUtils.indexOf(t.dataTransfer.types,"text/html")){var qa=t.dataTransfer.getData("text/html");I=document.createElement("div");I.innerHTML=Graph.sanitizeHtml(qa);var pa=null;R=I.getElementsByTagName("img");null!=R&&1==R.length?(qa=
R[0].getAttribute("src"),null==qa&&(qa=R[0].getAttribute("srcset")),/\.(gif|jpg|jpeg|tiff|png|svg)$/i.test(qa)||(pa=!0)):(R=I.getElementsByTagName("a"),null!=R&&1==R.length?qa=R[0].getAttribute("href"):(I=I.getElementsByTagName("pre"),null!=I&&1==I.length&&(qa=mxUtils.getTextContent(I[0]))));var ra=!0,ua=mxUtils.bind(this,function(){f.setSelectionCells(this.insertTextAt(qa,Z,ba,!0,pa,null,ra,mxEvent.isControlDown(t)))});pa&&null!=qa&&qa.length>this.resampleThreshold?this.confirmImageResize(function(Ba){ra=
-Ba;ua()},mxEvent.isControlDown(t)):ua()}else null!=la&&/\.(gif|jpg|jpeg|tiff|png|svg)$/i.test(la)?this.loadImage(decodeURIComponent(la),mxUtils.bind(this,function(Ba){var ya=Math.max(1,Ba.width);Ba=Math.max(1,Ba.height);var Aa=this.maxImageSize;Aa=Math.min(1,Math.min(Aa/Math.max(1,ya)),Aa/Math.max(1,Ba));f.setSelectionCell(f.insertVertex(null,null,"",Z,ba,ya*Aa,Ba*Aa,"shape=image;verticalLabelPosition=bottom;labelBackgroundColor=default;verticalAlign=top;aspect=fixed;imageAspect=0;image="+la+";"))}),
-mxUtils.bind(this,function(Ba){f.setSelectionCells(this.insertTextAt(la,Z,ba,!0))})):0<=mxUtils.indexOf(t.dataTransfer.types,"text/plain")&&f.setSelectionCells(this.insertTextAt(t.dataTransfer.getData("text/plain"),Z,ba,!0))}}t.stopPropagation();t.preventDefault()}),!1)}this.initPages();"1"==urlParams.embed&&this.initializeEmbedMode();aa=mxUtils.bind(this,function(){f.refresh();f.view.validateBackground();this.updateDocumentTitle();this.updateTabContainer();this.hideShapePicker()});this.addListener("darkModeChanged",
+Ba;ua()},mxEvent.isControlDown(t)):ua()}else null!=ka&&/\.(gif|jpg|jpeg|tiff|png|svg)$/i.test(ka)?this.loadImage(decodeURIComponent(ka),mxUtils.bind(this,function(Ba){var xa=Math.max(1,Ba.width);Ba=Math.max(1,Ba.height);var Aa=this.maxImageSize;Aa=Math.min(1,Math.min(Aa/Math.max(1,xa)),Aa/Math.max(1,Ba));f.setSelectionCell(f.insertVertex(null,null,"",Z,ba,xa*Aa,Ba*Aa,"shape=image;verticalLabelPosition=bottom;labelBackgroundColor=default;verticalAlign=top;aspect=fixed;imageAspect=0;image="+ka+";"))}),
+mxUtils.bind(this,function(Ba){f.setSelectionCells(this.insertTextAt(ka,Z,ba,!0))})):0<=mxUtils.indexOf(t.dataTransfer.types,"text/plain")&&f.setSelectionCells(this.insertTextAt(t.dataTransfer.getData("text/plain"),Z,ba,!0))}}t.stopPropagation();t.preventDefault()}),!1)}this.initPages();"1"==urlParams.embed&&this.initializeEmbedMode();aa=mxUtils.bind(this,function(){f.refresh();f.view.validateBackground();this.updateDocumentTitle();this.updateTabContainer();this.hideShapePicker()});this.addListener("darkModeChanged",
aa);this.addListener("currentThemeChanged",mxUtils.bind(this,function(){null!=this.sidebar&&this.sidebar.updateEntries();this.updateButtonContainer();this.updateDocumentTitle();this.refresh()}));f.addListener("enabledChanged",mxUtils.bind(this,function(){f.isEnabled()||this.hideShapePicker()}));c=this;mxWindow.prototype.fit=function(){if(Editor.inlineFullscreen||null==c.embedViewport)mxUtils.fit(this.div);else{var t=parseInt(this.div.offsetLeft),I=parseInt(this.div.offsetWidth),R=c.embedViewport.x+
c.embedViewport.width,O=parseInt(this.div.offsetTop),X=parseInt(this.div.offsetHeight),Z=c.embedViewport.y+c.embedViewport.height;this.div.style.left=Math.max(c.embedViewport.x,Math.min(t,R-I))+"px";this.div.style.top=Math.max(c.embedViewport.y,Math.min(O,Z-X))+"px";this.div.style.height=Math.min(c.embedViewport.height,parseInt(this.div.style.height))+"px";this.div.style.width=Math.min(c.embedViewport.width,parseInt(this.div.style.width))+"px"}};if(!this.editor.chromeless||this.editor.editable)if("simple"==
Editor.currentTheme||"sketch"==Editor.currentTheme)aa=Editor.currentTheme,Editor.currentTheme="",this.doSetCurrentTheme(aa,0,mxUtils.bind(this,function(){"1"==urlParams.embedInline?this.initializeInlineEmbedMode():(window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth)<Editor.smallScreenWidth&&this.toggleFormatPanel(!1);this.fireEvent(new mxEventObject("themeInitialized"))}));if("atlas"!=Editor.currentTheme)if(mxClient.IS_IE||mxClient.IS_IE11||"0"==urlParams.dark||"atlas"==
@@ -3857,24 +3855,24 @@ G,L,mxUtils.bind(this,function(P){this.handleError(P)}))}catch(P){this.handleErr
A=mxUtils.getXml(l.encodeCells(z));mxUtils.setTextContent(c,encodeURIComponent(A));f?(l.removeCells(z,!1),l.lastPasteXml=null):(l.lastPasteXml=A,l.pasteCounter=0);c.focus();document.execCommand("selectAll",!1,null)}};EditorUi.prototype.copyXml=function(){var c=null;if(Editor.enableNativeCipboard){var f=this.editor.graph;f.isSelectionEmpty()||(c=mxUtils.sortCells(f.getExportableCells(f.model.getTopmostCells(f.getSelectionCells()))),f=mxUtils.getXml(f.encodeCells(c)),navigator.clipboard.writeText(f))}return c};
EditorUi.prototype.pasteXml=function(c,f,l,z,A){A=null!=A?A:!0;var B=this.editor.graph,G=null;B.lastPasteXml==c?B.pasteCounter++:(B.lastPasteXml=c,B.pasteCounter=0);var L=B.pasteCounter*B.gridSize;if(l||this.isCompatibleString(c))G=this.importXml(c,L,L),B.setSelectionCells(G);else if(f&&1==B.getSelectionCount()){A=B.getStartEditingCell(B.getSelectionCell(),z);if(/\.(gif|jpg|jpeg|tiff|png|svg)$/i.test(c)&&"image"==B.getCurrentCellStyle(A)[mxConstants.STYLE_SHAPE])B.setCellStyles(mxConstants.STYLE_IMAGE,
c,[A]);else{B.model.beginUpdate();try{B.labelChanged(A,c),Graph.isLink(c)&&B.setLinkForCell(A,c)}finally{B.model.endUpdate()}}B.setSelectionCell(A)}else G=B.getInsertPoint(),B.isMouseInsertPoint()&&(L=0,B.lastPasteXml==c&&0<B.pasteCounter&&B.pasteCounter--),G=this.insertTextAt(c,G.x+L,G.y+L,A),B.setSelectionCells(G);B.isSelectionEmpty()||(B.scrollCellToVisible(B.getSelectionCell()),null!=this.hoverIcons&&this.hoverIcons.update(B.view.getState(B.getSelectionCell())));return G};EditorUi.prototype.pasteCells=
-function(c,f,l,z){if(!mxEvent.isConsumed(c)){var A=f,B=!1;if(l&&null!=c.clipboardData&&c.clipboardData.getData){var G=c.clipboardData.getData("text/plain"),L=!1;if(null!=G&&0<G.length&&"%3CmxGraphModel%3E"==G.substring(0,18))try{var P=decodeURIComponent(G);this.isCompatibleString(P)&&(L=!0,G=P)}catch(ka){}L=L?null:c.clipboardData.getData("text/html");null!=L&&0<L.length?(A=this.parseHtmlData(L),B="text/plain"!=A.getAttribute("data-type")):null!=G&&0<G.length&&(A=document.createElement("div"),mxUtils.setTextContent(A,
-L))}G=A.getElementsByTagName("span");if(null!=G&&0<G.length&&"application/vnd.lucid.chart.objects"===G[0].getAttribute("data-lucid-type"))l=G[0].getAttribute("data-lucid-content"),null!=l&&0<l.length&&(this.convertLucidChart(l,mxUtils.bind(this,function(ka){var ma=this.editor.graph;ma.lastPasteXml==ka?ma.pasteCounter++:(ma.lastPasteXml=ka,ma.pasteCounter=0);var aa=ma.pasteCounter*ma.gridSize;ma.setSelectionCells(this.importXml(ka,aa,aa));ma.scrollCellToVisible(ma.getSelectionCell())}),mxUtils.bind(this,
-function(ka){this.handleError(ka)})),mxEvent.consume(c));else{var J=!1,fa="";fa=B?null!=A.textContent&&"<mxfile"==A.textContent.substring(0,7)&&"</mxfile>"==A.textContent.substring(A.textContent.length-9)||"<mxGraphModel"==A.textContent.substring(0,13)&&"</mxGraphModel>"==A.textContent.substring(A.textContent.length-15)?A.textContent.replace(/\u00a0/g," "):A.innerHTML:mxUtils.trim(null==A.innerText?mxUtils.getTextContent(A):A.innerText);try{var ea=fa.lastIndexOf("%3E");0<=ea&&ea<fa.length-3&&(fa=
-fa.substring(0,ea+3))}catch(ka){}try{G=A.getElementsByTagName("span"),(P=null!=G&&0<G.length?mxUtils.trim(decodeURIComponent(G[0].textContent)):decodeURIComponent(fa))&&(this.isCompatibleString(P)||0==P.substring(0,20).replace(/\s/g,"").indexOf('{"isProtected":'))&&(J=!0,fa=P)}catch(ka){}try{if(null!=fa&&0<fa.length){if(0==fa.substring(0,20).replace(/\s/g,"").indexOf('{"isProtected":')){var T=mxUtils.bind(this,function(){try{fa=(new MiroImporter).importMiroJson(JSON.parse(fa)),this.pasteXml(fa,z,
-J,c)}catch(ka){console.log("Miro import error:",ka)}});"undefined"===typeof MiroImporter?mxscript("js/diagramly/miro/MiroImporter.js",T):T()}else this.pasteXml(fa,z,J,c,B);try{mxEvent.consume(c)}catch(ka){}}else if(!l){var ca=this.editor.graph;ca.lastPasteXml=null;ca.pasteCounter=0}}catch(ka){this.handleError(ka)}}}f.innerHTML="&nbsp;"};EditorUi.prototype.showPrintDialog=function(c,f){var l=320;this.editor.graph.isEnabled()&&(l+=40);null!=this.pages&&1<this.pages.length&&(l+=40,this.editor.graph.isEnabled()||
+function(c,f,l,z){if(!mxEvent.isConsumed(c)){var A=f,B=!1;if(l&&null!=c.clipboardData&&c.clipboardData.getData){var G=c.clipboardData.getData("text/plain"),L=!1;if(null!=G&&0<G.length&&"%3CmxGraphModel%3E"==G.substring(0,18))try{var P=decodeURIComponent(G);this.isCompatibleString(P)&&(L=!0,G=P)}catch(ja){}L=L?null:c.clipboardData.getData("text/html");null!=L&&0<L.length?(A=this.parseHtmlData(L),B="text/plain"!=A.getAttribute("data-type")):null!=G&&0<G.length&&(A=document.createElement("div"),mxUtils.setTextContent(A,
+L))}G=A.getElementsByTagName("span");if(null!=G&&0<G.length&&"application/vnd.lucid.chart.objects"===G[0].getAttribute("data-lucid-type"))l=G[0].getAttribute("data-lucid-content"),null!=l&&0<l.length&&(this.convertLucidChart(l,mxUtils.bind(this,function(ja){var ma=this.editor.graph;ma.lastPasteXml==ja?ma.pasteCounter++:(ma.lastPasteXml=ja,ma.pasteCounter=0);var aa=ma.pasteCounter*ma.gridSize;ma.setSelectionCells(this.importXml(ja,aa,aa));ma.scrollCellToVisible(ma.getSelectionCell())}),mxUtils.bind(this,
+function(ja){this.handleError(ja)})),mxEvent.consume(c));else{var J=!1,fa="";fa=B?null!=A.textContent&&"<mxfile"==A.textContent.substring(0,7)&&"</mxfile>"==A.textContent.substring(A.textContent.length-9)||"<mxGraphModel"==A.textContent.substring(0,13)&&"</mxGraphModel>"==A.textContent.substring(A.textContent.length-15)?A.textContent.replace(/\u00a0/g," "):A.innerHTML:mxUtils.trim(null==A.innerText?mxUtils.getTextContent(A):A.innerText);try{var ea=fa.lastIndexOf("%3E");0<=ea&&ea<fa.length-3&&(fa=
+fa.substring(0,ea+3))}catch(ja){}try{G=A.getElementsByTagName("span"),(P=null!=G&&0<G.length?mxUtils.trim(decodeURIComponent(G[0].textContent)):decodeURIComponent(fa))&&(this.isCompatibleString(P)||0==P.substring(0,20).replace(/\s/g,"").indexOf('{"isProtected":'))&&(J=!0,fa=P)}catch(ja){}try{if(null!=fa&&0<fa.length){if(0==fa.substring(0,20).replace(/\s/g,"").indexOf('{"isProtected":')){var T=mxUtils.bind(this,function(){try{fa=(new MiroImporter).importMiroJson(JSON.parse(fa)),this.pasteXml(fa,z,
+J,c)}catch(ja){console.log("Miro import error:",ja)}});"undefined"===typeof MiroImporter?mxscript("js/diagramly/miro/MiroImporter.js",T):T()}else this.pasteXml(fa,z,J,c,B);try{mxEvent.consume(c)}catch(ja){}}else if(!l){var ca=this.editor.graph;ca.lastPasteXml=null;ca.pasteCounter=0}}catch(ja){this.handleError(ja)}}}f.innerHTML="&nbsp;"};EditorUi.prototype.showPrintDialog=function(c,f){var l=320;this.editor.graph.isEnabled()&&(l+=40);null!=this.pages&&1<this.pages.length&&(l+=40,this.editor.graph.isEnabled()||
(l+=10));null==f||mxClient.IS_CHROMEAPP||"draw.io"!=this.getServiceName()||(l+=20);this.showDialog((new PrintDialog(this,c,f)).container,320,l,!0,!0)};EditorUi.prototype.print=function(c,f){var l=this.editor,z=l.graph,A=this.getPageIndex(this.currentPage),B=null!=A?A+1:1;A=null;var G=z.shapeForegroundColor,L=z.shapeBackgroundColor;null!=z.themes&&"darkTheme"==z.defaultThemeName&&(A=z.stylesheet,z.stylesheet=z.getDefaultStylesheet(),z.shapeForegroundColor="#000000",z.shapeBackgroundColor="#ffffff",
-z.refresh());var P=mxUtils.bind(this,function(k,t,I,R){var O=k.useCssTransforms,X=k.currentTranslate,Z=k.currentScale,ba=k.view.translate,la=k.view.scale;k.useCssTransforms&&(k.useCssTransforms=!1,k.currentTranslate=new mxPoint(0,0),k.currentScale=1,k.view.translate=new mxPoint(0,0),k.view.scale=1);var qa=k.getGraphBounds(),pa=0,ra=0,ua=mxRectangle.fromRectangle(k.pageFormat),Ba=f.fit||f.crop||!k.pageVisible,ya=f.scale;ua.width=Math.ceil(ua.width*k.pageScale);ua.height=Math.ceil(ua.height*k.pageScale);
-var Aa=1;if(f.fit){Aa=f.sheetsAcross;var Na=f.sheetsDown;isNaN(ya)||(ua.width=Math.ceil(ua.width*ya),ua.height=Math.ceil(ua.height*ya));Aa=Math.min(ua.height*Na/(qa.height/k.view.scale),ua.width*Aa/(qa.width/k.view.scale))}else Aa=isNaN(ya)?1:ya;Aa*=1;!Ba&&k.pageVisible?(ya=k.getPageLayout(),pa-=ya.x*ua.width,ra-=ya.y*ua.height):Ba=!0;f.crop&&(f.selection&&(qa=z.getBoundingBox(z.getSelectionCells())),ua.width=(qa.width+1)*Aa/k.view.scale,ua.height=(qa.height+1)*Aa/k.view.scale);ua.width=Math.ceil(1*
-ua.width);ua.height=Math.ceil(1*ua.height);R=null!=R?"page/id,"+R:null;if(null==t){t=PrintDialog.createPrintPreview(k,Aa,null,0,pa,ra,Ba);t.title=this.getBaseFilename(!0);t.pageSelector=!1;t.mathEnabled=!1;pa=f.border;isNaN(pa)||(t.pageMargin=pa);f.selection&&(t.isCellVisible=function(Ea){return k.isCellSelected(Ea)});var va=t.writeHead;t.writeHead=function(Ea){va.apply(this,arguments);mxClient.IS_GC&&(Ea.writeln('<style type="text/css">'),Ea.writeln("@media print {"),Ea.writeln(".MathJax svg { shape-rendering: crispEdges; }"),
-Ea.writeln("}"),Ea.writeln("</style>"));null!=l.fontCss&&(Ea.writeln('<style type="text/css">'),Ea.writeln(mxUtils.htmlEntities(l.fontCss,!1,!1,!1)),Ea.writeln("</style>"));for(var za=k.getCustomFonts(),Ra=0;Ra<za.length;Ra++){var Ja=za[Ra].name,Qa=za[Ra].url;Graph.isCssFontUrl(Qa)?Ea.writeln('<link rel="stylesheet" href="'+mxUtils.htmlEntities(Graph.rewriteGoogleFontUrl(Qa))+'" charset="UTF-8" type="text/css">'):(Ea.writeln('<style type="text/css">'),Ea.writeln('@font-face {\nfont-family: "'+mxUtils.htmlEntities(Ja)+
-'";\nsrc: url("'+mxUtils.htmlEntities(Qa)+'");\n}'),Ea.writeln("</style>"))}};if(Editor.enableCssDarkMode){var Da=t.getBackgroundImage;t.getBackgroundImage=function(){return z.adaptBackgroundPage(Da.apply(this,arguments))}}if(Editor.replaceSvgDataUris){var Ha=t.drawBackgroundImage;t.drawBackgroundImage=function(Ea){Ha.apply(this,arguments);null!=Ea.node&&(EditorUi.embedSvgImages(Ea.node),z.disableSvgLinks(Ea.node,function(za){za.setAttribute("href","javascript:void(0)")}))}}var La=t.addGraphFragment;
-t.addGraphFragment=function(Ea,za,Ra,Ja,Qa,Ma){La.apply(this,arguments);this.graph.mathEnabled?this.mathEnabled=this.mathEnabled||!0:Qa.classList.add("geDisableMathJax")};ya=null;pa=z.shapeForegroundColor;ra=z.shapeBackgroundColor;null!=z.themes&&"darkTheme"==z.defaultThemeName&&(ya=z.stylesheet,z.stylesheet=z.getDefaultStylesheet(),z.shapeForegroundColor="#000000",z.shapeBackgroundColor="#ffffff",z.refresh());f.grid&&(t.gridSize=k.gridSize,t.gridSteps=k.view.gridSteps,t.gridColor=Editor.isDarkMode()?
-mxGraphView.prototype.defaultGridColor:k.view.gridColor);t.open(null,null,I,!0,R,ua,f.selection?k.getSelectionCells():null);null!=ya&&(z.shapeForegroundColor=pa,z.shapeBackgroundColor=ra,z.stylesheet=ya,z.refresh())}else{ya=k.background;if(null==ya||""==ya||ya==mxConstants.NONE)ya="#ffffff";t.backgroundColor=ya;t.autoOrigin=Ba;f.grid&&(t.gridSize=k.gridSize,t.gridSteps=k.view.gridSteps,t.gridColor=Editor.isDarkMode()?mxGraphView.prototype.defaultGridColor:k.view.gridColor);t.appendGraph(k,Aa,pa,ra,
+z.refresh());var P=mxUtils.bind(this,function(k,t,I,R){var O=k.useCssTransforms,X=k.currentTranslate,Z=k.currentScale,ba=k.view.translate,ka=k.view.scale;k.useCssTransforms&&(k.useCssTransforms=!1,k.currentTranslate=new mxPoint(0,0),k.currentScale=1,k.view.translate=new mxPoint(0,0),k.view.scale=1);var qa=k.getGraphBounds(),pa=0,ra=0,ua=mxRectangle.fromRectangle(k.pageFormat),Ba=f.fit||f.crop||!k.pageVisible,xa=f.scale;ua.width=Math.ceil(ua.width*k.pageScale);ua.height=Math.ceil(ua.height*k.pageScale);
+var Aa=1;if(f.fit){Aa=f.sheetsAcross;var Na=f.sheetsDown;isNaN(xa)||(ua.width=Math.ceil(ua.width*xa),ua.height=Math.ceil(ua.height*xa));Aa=Math.min(ua.height*Na/(qa.height/k.view.scale),ua.width*Aa/(qa.width/k.view.scale))}else Aa=isNaN(xa)?1:xa;Aa*=1;!Ba&&k.pageVisible?(xa=k.getPageLayout(),pa-=xa.x*ua.width,ra-=xa.y*ua.height):Ba=!0;f.crop&&(f.selection&&(qa=z.getBoundingBox(z.getSelectionCells())),ua.width=(qa.width+1)*Aa/k.view.scale,ua.height=(qa.height+1)*Aa/k.view.scale);ua.width=Math.ceil(1*
+ua.width);ua.height=Math.ceil(1*ua.height);R=null!=R?"page/id,"+R:null;if(null==t){t=PrintDialog.createPrintPreview(k,Aa,null,0,pa,ra,Ba);t.title=this.getBaseFilename(!0);t.pageSelector=!1;t.mathEnabled=!1;pa=f.border;isNaN(pa)||(t.pageMargin=pa);f.selection&&(t.isCellVisible=function(Da){return k.isCellSelected(Da)});var va=t.writeHead;t.writeHead=function(Da){va.apply(this,arguments);mxClient.IS_GC&&(Da.writeln('<style type="text/css">'),Da.writeln("@media print {"),Da.writeln(".MathJax svg { shape-rendering: crispEdges; }"),
+Da.writeln("}"),Da.writeln("</style>"));null!=l.fontCss&&(Da.writeln('<style type="text/css">'),Da.writeln(mxUtils.htmlEntities(l.fontCss,!1,!1,!1)),Da.writeln("</style>"));for(var za=k.getCustomFonts(),Ra=0;Ra<za.length;Ra++){var Ja=za[Ra].name,Qa=za[Ra].url;Graph.isCssFontUrl(Qa)?Da.writeln('<link rel="stylesheet" href="'+mxUtils.htmlEntities(Graph.rewriteGoogleFontUrl(Qa))+'" charset="UTF-8" type="text/css">'):(Da.writeln('<style type="text/css">'),Da.writeln('@font-face {\nfont-family: "'+mxUtils.htmlEntities(Ja)+
+'";\nsrc: url("'+mxUtils.htmlEntities(Qa)+'");\n}'),Da.writeln("</style>"))}};if(Editor.enableCssDarkMode){var Ca=t.getBackgroundImage;t.getBackgroundImage=function(){return z.adaptBackgroundPage(Ca.apply(this,arguments))}}if(Editor.replaceSvgDataUris){var Ga=t.drawBackgroundImage;t.drawBackgroundImage=function(Da){Ga.apply(this,arguments);null!=Da.node&&(EditorUi.embedSvgImages(Da.node),z.disableSvgLinks(Da.node,function(za){za.setAttribute("href","javascript:void(0)")}))}}var La=t.addGraphFragment;
+t.addGraphFragment=function(Da,za,Ra,Ja,Qa,Ma){La.apply(this,arguments);this.graph.mathEnabled?this.mathEnabled=this.mathEnabled||!0:Qa.classList.add("geDisableMathJax")};xa=null;pa=z.shapeForegroundColor;ra=z.shapeBackgroundColor;null!=z.themes&&"darkTheme"==z.defaultThemeName&&(xa=z.stylesheet,z.stylesheet=z.getDefaultStylesheet(),z.shapeForegroundColor="#000000",z.shapeBackgroundColor="#ffffff",z.refresh());f.grid&&(t.gridSize=k.gridSize,t.gridSteps=k.view.gridSteps,t.gridColor=Editor.isDarkMode()?
+mxGraphView.prototype.defaultGridColor:k.view.gridColor);t.open(null,null,I,!0,R,ua,f.selection?k.getSelectionCells():null);null!=xa&&(z.shapeForegroundColor=pa,z.shapeBackgroundColor=ra,z.stylesheet=xa,z.refresh())}else{xa=k.background;if(null==xa||""==xa||xa==mxConstants.NONE)xa="#ffffff";t.backgroundColor=xa;t.autoOrigin=Ba;f.grid&&(t.gridSize=k.gridSize,t.gridSteps=k.view.gridSteps,t.gridColor=Editor.isDarkMode()?mxGraphView.prototype.defaultGridColor:k.view.gridColor);t.appendGraph(k,Aa,pa,ra,
I,!0,R,ua,f.selection?k.getSelectionCells():null);I=k.getCustomFonts();if(null!=t.wnd)for(ua=0;ua<I.length;ua++)pa=I[ua].name,ra=I[ua].url,Graph.isCssFontUrl(ra)?t.wnd.document.writeln('<link rel="stylesheet" href="'+mxUtils.htmlEntities(ra)+'" charset="UTF-8" type="text/css">'):(t.wnd.document.writeln('<style type="text/css">'),t.wnd.document.writeln('@font-face {\nfont-family: "'+mxUtils.htmlEntities(pa)+'";\nsrc: url("'+mxUtils.htmlEntities(ra)+'");\n}'),t.wnd.document.writeln("</style>"))}O&&
-(k.useCssTransforms=O,k.currentTranslate=X,k.currentScale=Z,k.view.translate=ba,k.view.scale=la);return t}),J=f.pagesFrom,fa=f.pagesTo,ea=!f.allPages,T=null;if(EditorUi.isElectronApp)PrintDialog.electronPrint(this,f);else{ea&&(ea=f.selection||J==B&&fa==B);if(!ea&&null!=this.pages&&this.pages.length){ea=0;B=this.pages.length-1;f.allPages||(ea=parseInt(J)-1,B=parseInt(fa)-1);for(var ca=ea;ca<=B;ca++){var ka=this.pages[ca];J=ka==this.currentPage?z:null;if(null==J){J=this.createTemporaryGraph(z.stylesheet);
-J.shapeForegroundColor=z.shapeForegroundColor;J.shapeBackgroundColor=z.shapeBackgroundColor;fa=!0;ea=!1;var ma=null,aa=null;null==ka.viewState&&null==ka.root&&this.updatePageRoot(ka);null!=ka.viewState&&(fa=ka.viewState.pageVisible,ea=ka.viewState.mathEnabled,ma=ka.viewState.background,aa=ka.viewState.backgroundImage,J.pageFormat=ka.viewState.pageFormat,J.gridSize=ka.viewState.gridSize);null!=aa&&null!=aa.originalSrc&&(aa=this.createImageForPageLink(aa.originalSrc,ka));J.background=ma;J.backgroundImage=
-null!=aa?new mxImage(aa.src,aa.width,aa.height,aa.x,aa.y):null;J.pageVisible=fa;J.mathEnabled=ea;var V=J.getGraphBounds;J.getGraphBounds=function(){var k=V.apply(this,arguments),t=this.backgroundImage;if(null!=t&&null!=t.width&&null!=t.height){var I=this.view.translate,R=this.view.scale;k=mxRectangle.fromRectangle(k);k.add(new mxRectangle((I.x+t.x)*R,(I.y+t.y)*R,t.width*R,t.height*R))}return k};var da=J.getGlobalVariable;J.getGlobalVariable=function(k){return"page"==k?ka.getName():"pagenumber"==k?
-ca+1:"pagecount"==k?null!=this.pages?this.pages.length:1:da.apply(this,arguments)};document.body.appendChild(J.container);this.updatePageRoot(ka);J.model.setRoot(ka.root)}T=P(J,T,ca!=B,ka.getId());J!=z&&J.container.parentNode.removeChild(J.container)}}else T=P(z);null==T||null==T.wnd?this.handleError({message:mxResources.get("errorUpdatingPreview")}):(T.mathEnabled&&(P=T.wnd.document,c||(T.wnd.IMMEDIATE_PRINT=!0),P.writeln('<script type="text/javascript" src="js/math-print.js">\x3c/script>')),T.closeDocument(),
+(k.useCssTransforms=O,k.currentTranslate=X,k.currentScale=Z,k.view.translate=ba,k.view.scale=ka);return t}),J=f.pagesFrom,fa=f.pagesTo,ea=!f.allPages,T=null;if(EditorUi.isElectronApp)PrintDialog.electronPrint(this,f);else{ea&&(ea=f.selection||J==B&&fa==B);if(!ea&&null!=this.pages&&this.pages.length){ea=0;B=this.pages.length-1;f.allPages||(ea=parseInt(J)-1,B=parseInt(fa)-1);for(var ca=ea;ca<=B;ca++){var ja=this.pages[ca];J=ja==this.currentPage?z:null;if(null==J){J=this.createTemporaryGraph(z.stylesheet);
+J.shapeForegroundColor=z.shapeForegroundColor;J.shapeBackgroundColor=z.shapeBackgroundColor;fa=!0;ea=!1;var ma=null,aa=null;null==ja.viewState&&null==ja.root&&this.updatePageRoot(ja);null!=ja.viewState&&(fa=ja.viewState.pageVisible,ea=ja.viewState.mathEnabled,ma=ja.viewState.background,aa=ja.viewState.backgroundImage,J.pageFormat=ja.viewState.pageFormat,J.gridSize=ja.viewState.gridSize);null!=aa&&null!=aa.originalSrc&&(aa=this.createImageForPageLink(aa.originalSrc,ja));J.background=ma;J.backgroundImage=
+null!=aa?new mxImage(aa.src,aa.width,aa.height,aa.x,aa.y):null;J.pageVisible=fa;J.mathEnabled=ea;var V=J.getGraphBounds;J.getGraphBounds=function(){var k=V.apply(this,arguments),t=this.backgroundImage;if(null!=t&&null!=t.width&&null!=t.height){var I=this.view.translate,R=this.view.scale;k=mxRectangle.fromRectangle(k);k.add(new mxRectangle((I.x+t.x)*R,(I.y+t.y)*R,t.width*R,t.height*R))}return k};var da=J.getGlobalVariable;J.getGlobalVariable=function(k){return"page"==k?ja.getName():"pagenumber"==k?
+ca+1:"pagecount"==k?null!=this.pages?this.pages.length:1:da.apply(this,arguments)};document.body.appendChild(J.container);this.updatePageRoot(ja);J.model.setRoot(ja.root)}T=P(J,T,ca!=B,ja.getId());J!=z&&J.container.parentNode.removeChild(J.container)}}else T=P(z);null==T||null==T.wnd?this.handleError({message:mxResources.get("errorUpdatingPreview")}):(T.mathEnabled&&(P=T.wnd.document,c||(T.wnd.IMMEDIATE_PRINT=!0),P.writeln('<script type="text/javascript" src="js/math-print.js">\x3c/script>')),T.closeDocument(),
Graph.rewritePageLinks(T.wnd.document,!0),T.mathEnabled||c||PrintDialog.printPreview(T));null!=A&&(z.shapeForegroundColor=G,z.shapeBackgroundColor=L,z.stylesheet=A,z.refresh());return T}};EditorUi.prototype.addFileDropHandler=function(c){if(Graph.fileSupport)for(var f=null,l=0;l<c.length;l++)mxEvent.addListener(c[l],"dragleave",function(z){null!=f&&(f.parentNode.removeChild(f),f=null);z.stopPropagation();z.preventDefault()}),mxEvent.addListener(c[l],"dragover",mxUtils.bind(this,function(z){(this.editor.graph.isEnabled()||
"1"!=urlParams.embed)&&null==f&&(!mxClient.IS_IE||10<document.documentMode&&12>document.documentMode)&&(f=this.highlightElement());z.stopPropagation();z.preventDefault()})),mxEvent.addListener(c[l],"drop",mxUtils.bind(this,function(z){null!=f&&(f.parentNode.removeChild(f),f=null);if(this.editor.graph.isEnabled()||"1"!=urlParams.embed)if(0<z.dataTransfer.files.length)this.hideDialog(),"1"==urlParams.embed?this.importFiles(z.dataTransfer.files,0,0,this.maxImageSize,null,null,null,null,!mxEvent.isControlDown(z)&&
!mxEvent.isShiftDown(z)):this.openFiles(z.dataTransfer.files,!0);else{var A=this.extractGraphModelFromEvent(z);if(null==A){var B=null!=z.dataTransfer?z.dataTransfer:z.clipboardData;null!=B&&(10==document.documentMode||11==document.documentMode?A=B.getData("Text"):(A=null,A=0<=mxUtils.indexOf(B.types,"text/uri-list")?z.dataTransfer.getData("text/uri-list"):0<=mxUtils.indexOf(B.types,"text/html")?B.getData("text/html"):null,null!=A&&0<A.length?(B=document.createElement("div"),B.innerHTML=Graph.sanitizeHtml(A),
@@ -3899,34 +3897,34 @@ EditorUi.prototype.getPublicUrl=function(c,f){null!=c?this.spinner.spin(document
function(c){try{var f=this.editor.graph;f.isEditing()&&f.stopEditing(!f.isInvokesStopCellEditing());var l=window.opener||window.parent;if(this.editor.modified){var z=f.background;if(null==z||z==mxConstants.NONE)z=this.embedExportBackground;this.getEmbeddedSvg(this.getFileData(!0,null,null,null,null,null,null,null,null,!1),f,null,!0,mxUtils.bind(this,function(A){l.postMessage(JSON.stringify({event:"export",point:this.embedExitPoint,exit:null!=c?!c:!0,data:Editor.createSvgDataUri(A)}),"*")}),null,null,
!0,z,1,this.embedExportBorder)}else c||l.postMessage(JSON.stringify({event:"exit",point:this.embedExitPoint}),"*");c||(this.diagramContainer.removeAttribute("data-bounds"),Editor.inlineFullscreen=!1,f.model.clear(),this.editor.undoManager.clear(),this.setBackgroundImage(null),this.editor.modified=!1,"1"!=urlParams.embed&&this.fireEvent(new mxEventObject("editInlineStop")))}catch(A){c||this.handleError(A)}};EditorUi.prototype.installMessageHandler=function(c){var f=null,l=!1,z=!1,A=null,B=mxUtils.bind(this,
function(P,J){this.editor.modified&&"0"!=urlParams.modified?null!=urlParams.modified&&this.editor.setStatus(mxUtils.htmlEntities(mxResources.get(urlParams.modified))):this.editor.setStatus("")});this.editor.graph.model.addListener(mxEvent.CHANGE,B);mxEvent.addListener(window,"message",mxUtils.bind(this,function(P){if(P.source==(window.opener||window.parent)){var J=P.data,fa=null,ea=mxUtils.bind(this,function(va){if(null!=va&&"function"===typeof va.charAt&&"<"!=va.charAt(0))try{Editor.isPngDataUrl(va)?
-va=Editor.extractGraphModelFromPng(va):"data:image/svg+xml;base64,"==va.substring(0,26)?va=atob(va.substring(26)):"data:image/svg+xml;utf8,"==va.substring(0,24)&&(va=va.substring(24)),null!=va&&(""==va.trim()?va=null:"%"==va.charAt(0)?va=decodeURIComponent(va):"<"!=va.charAt(0)&&(va=Graph.decompress(va)))}catch(Da){}return va});if("json"==urlParams.proto){var T=!1;try{J=JSON.parse(J),EditorUi.debug("EditorUi.installMessageHandler",[this],"evt",[P],"data",[J])}catch(va){J=null}try{if(null==J)return;
+va=Editor.extractGraphModelFromPng(va):"data:image/svg+xml;base64,"==va.substring(0,26)?va=atob(va.substring(26)):"data:image/svg+xml;utf8,"==va.substring(0,24)&&(va=va.substring(24)),null!=va&&(""==va.trim()?va=null:"%"==va.charAt(0)?va=decodeURIComponent(va):"<"!=va.charAt(0)&&(va=Graph.decompress(va)))}catch(Ca){}return va});if("json"==urlParams.proto){var T=!1;try{J=JSON.parse(J),EditorUi.debug("EditorUi.installMessageHandler",[this],"evt",[P],"data",[J])}catch(va){J=null}try{if(null==J)return;
if("dialog"==J.action){this.showError(null!=J.titleKey?mxResources.get(J.titleKey):J.title,null!=J.messageKey?mxResources.get(J.messageKey):mxUtils.htmlEntities(J.message),null!=J.buttonKey?mxResources.get(J.buttonKey):J.button);null!=J.modified&&(this.editor.modified=J.modified);return}if("layout"==J.action){this.executeLayouts(this.editor.graph.createLayouts(J.layouts));return}if("prompt"==J.action){this.spinner.stop();var ca=new FilenameDialog(this,J.defaultValue||"",null!=J.okKey?mxResources.get(J.okKey):
-J.ok,function(va){null!=va?G.postMessage(JSON.stringify({event:"prompt",value:va,message:J}),"*"):G.postMessage(JSON.stringify({event:"prompt-cancel",message:J}),"*")},null!=J.titleKey?mxResources.get(J.titleKey):J.title,null,null,null,null,function(){G.postMessage(JSON.stringify({event:"prompt-cancel",message:J}),"*")});this.showDialog(ca.container,300,80,!0,!1);ca.init();return}if("draft"==J.action){var ka=ea(J.xml);this.spinner.stop();ca=new DraftDialog(this,mxResources.get("draftFound",[J.name||
-this.defaultFilename]),ka,mxUtils.bind(this,function(){this.hideDialog();G.postMessage(JSON.stringify({event:"draft",result:"edit",message:J}),"*")}),mxUtils.bind(this,function(){this.hideDialog();G.postMessage(JSON.stringify({event:"draft",result:"discard",message:J}),"*")}),J.editKey?mxResources.get(J.editKey):null,J.discardKey?mxResources.get(J.discardKey):null,J.ignore?mxUtils.bind(this,function(){this.hideDialog();G.postMessage(JSON.stringify({event:"draft",result:"ignore",message:J}),"*")}):
-null);this.showDialog(ca.container,640,480,!0,!1,mxUtils.bind(this,function(va){va&&this.actions.get("exit").funct()}));try{ca.init()}catch(va){G.postMessage(JSON.stringify({event:"draft",error:va.toString(),message:J}),"*")}return}if("template"==J.action){this.spinner.stop();var ma=1==J.enableRecent,aa=1==J.enableSearch,V=1==J.enableCustomTemp;ca=new NewDialog(this,!1,J.templatesOnly?!1:null!=J.callback,mxUtils.bind(this,function(va,Da,Ha,La){va=va||this.emptyDiagramXml;null!=J.callback?G.postMessage(JSON.stringify({event:"template",
-xml:va,blank:va==this.emptyDiagramXml,name:Da,tempUrl:Ha,libs:La,builtIn:!0,message:J}),"*"):(c(va,P,va!=this.emptyDiagramXml,J.toSketch),this.editor.modified||this.editor.setStatus(""))}),null,null,null,null,null,null,null,ma?mxUtils.bind(this,function(va){this.remoteInvoke("getRecentDiagrams",[null],null,va,function(){va(null,"Network Error!")})}):null,aa?mxUtils.bind(this,function(va,Da){this.remoteInvoke("searchDiagrams",[va,null],null,Da,function(){Da(null,"Network Error!")})}):null,mxUtils.bind(this,
-function(va,Da,Ha){G.postMessage(JSON.stringify({event:"template",docUrl:va,info:Da,name:Ha}),"*")}),null,null,V?mxUtils.bind(this,function(va){this.remoteInvoke("getCustomTemplates",null,null,va,function(){va({},0)})}):null,1==J.withoutType);this.showDialog(ca.container,620,460,!0,!1,mxUtils.bind(this,function(va){null!=this.sidebar&&this.sidebar.hideTooltip();va&&this.actions.get("exit").funct()}));ca.init();return}if("textContent"==J.action){var da=this.getDiagramTextContent();G.postMessage(JSON.stringify({event:"textContent",
+J.ok,function(va){null!=va?G.postMessage(JSON.stringify({event:"prompt",value:va,message:J}),"*"):G.postMessage(JSON.stringify({event:"prompt-cancel",message:J}),"*")},null!=J.titleKey?mxResources.get(J.titleKey):J.title,null,null,null,null,function(){G.postMessage(JSON.stringify({event:"prompt-cancel",message:J}),"*")});this.showDialog(ca.container,300,80,!0,!1);ca.init();return}if("draft"==J.action){var ja=ea(J.xml);this.spinner.stop();ca=new DraftDialog(this,mxResources.get("draftFound",[J.name||
+this.defaultFilename]),ja,mxUtils.bind(this,function(){this.hideDialog();G.postMessage(JSON.stringify({event:"draft",result:"edit",message:J}),"*")}),mxUtils.bind(this,function(){this.hideDialog();G.postMessage(JSON.stringify({event:"draft",result:"discard",message:J}),"*")}),J.editKey?mxResources.get(J.editKey):null,J.discardKey?mxResources.get(J.discardKey):null,J.ignore?mxUtils.bind(this,function(){this.hideDialog();G.postMessage(JSON.stringify({event:"draft",result:"ignore",message:J}),"*")}):
+null);this.showDialog(ca.container,640,480,!0,!1,mxUtils.bind(this,function(va){va&&this.actions.get("exit").funct()}));try{ca.init()}catch(va){G.postMessage(JSON.stringify({event:"draft",error:va.toString(),message:J}),"*")}return}if("template"==J.action){this.spinner.stop();var ma=1==J.enableRecent,aa=1==J.enableSearch,V=1==J.enableCustomTemp;ca=new NewDialog(this,!1,J.templatesOnly?!1:null!=J.callback,mxUtils.bind(this,function(va,Ca,Ga,La){va=va||this.emptyDiagramXml;null!=J.callback?G.postMessage(JSON.stringify({event:"template",
+xml:va,blank:va==this.emptyDiagramXml,name:Ca,tempUrl:Ga,libs:La,builtIn:!0,message:J}),"*"):(c(va,P,va!=this.emptyDiagramXml,J.toSketch),this.editor.modified||this.editor.setStatus(""))}),null,null,null,null,null,null,null,ma?mxUtils.bind(this,function(va){this.remoteInvoke("getRecentDiagrams",[null],null,va,function(){va(null,"Network Error!")})}):null,aa?mxUtils.bind(this,function(va,Ca){this.remoteInvoke("searchDiagrams",[va,null],null,Ca,function(){Ca(null,"Network Error!")})}):null,mxUtils.bind(this,
+function(va,Ca,Ga){G.postMessage(JSON.stringify({event:"template",docUrl:va,info:Ca,name:Ga}),"*")}),null,null,V?mxUtils.bind(this,function(va){this.remoteInvoke("getCustomTemplates",null,null,va,function(){va({},0)})}):null,1==J.withoutType);this.showDialog(ca.container,620,460,!0,!1,mxUtils.bind(this,function(va){null!=this.sidebar&&this.sidebar.hideTooltip();va&&this.actions.get("exit").funct()}));ca.init();return}if("textContent"==J.action){var da=this.getDiagramTextContent();G.postMessage(JSON.stringify({event:"textContent",
data:da,message:J}),"*");return}if("status"==J.action){null!=J.messageKey?this.editor.setStatus(mxUtils.htmlEntities(mxResources.get(J.messageKey))):null!=J.message&&this.editor.setStatus(mxUtils.htmlEntities(J.message));null!=J.modified&&(this.editor.modified=J.modified);return}if("spinner"==J.action){var k=null!=J.messageKey?mxResources.get(J.messageKey):J.message;null==J.show||J.show?this.spinner.spin(document.body,k):this.spinner.stop();return}if("exit"==J.action){this.actions.get("exit").funct();
return}if("viewport"==J.action){null!=J.viewport&&(this.embedViewport=J.viewport,this.editor.graph.refresh(),this.fireEvent(new mxEventObject("embedViewportChanged")));return}if("fullscreenChanged"==J.action){ca=null;try{var t=this.diagramContainer.getAttribute("data-scrollState");null!=t&&(this.diagramContainer.removeAttribute("data-scrollState"),ca=JSON.parse(t))}catch(va){}Editor.inlineFullscreen=J.value;this.fireEvent(new mxEventObject("inlineFullscreenChanged"));null!=ca&&this.restoreScrollState(ca);
-return}if("snapshot"==J.action){this.sendEmbeddedSvgExport(!0);return}if("export"==J.action){if("png"==J.format||"xmlpng"==J.format){if(null==J.spin&&null==J.spinKey||this.spinner.spin(document.body,null!=J.spinKey?mxResources.get(J.spinKey):J.spin)){var I=null!=J.xml?J.xml:this.getFileData(!0);this.editor.graph.setEnabled(!1);var R=this.editor.graph,O=mxUtils.bind(this,function(va,Da){if(J.withSvg)J.withSvg=!1,this.getEmbeddedSvg(I,this.editor.graph,null,!0,function(La){O(va,La)},null,null,J.embedImages,
-this.editor.graph.background,J.scale,J.border,J.shadow);else{this.editor.graph.setEnabled(!0);this.spinner.stop();var Ha=this.createLoadMessage("export");Ha.format=J.format;Ha.message=J;Ha.data=va;Ha.svg=Da;Ha.xml=I;G.postMessage(JSON.stringify(Ha),"*")}}),X=mxUtils.bind(this,function(va){null==va&&(va=Editor.blankImage);"xmlpng"==J.format&&(va=Editor.writeGraphModelToPng(va,"tEXt","mxfile",encodeURIComponent(I)));R!=this.editor.graph&&R.container.parentNode.removeChild(R.container);O(va)}),Z=J.pageId||
-(null!=this.pages?J.currentPage?this.currentPage.getId():this.pages[0].getId():null);if(this.isExportToCanvas()){var ba=mxUtils.bind(this,function(){if(null!=this.pages&&this.currentPage.getId()!=Z){var va=R.getGlobalVariable;R=this.createTemporaryGraph(R.getStylesheet());for(var Da,Ha=0;Ha<this.pages.length;Ha++)if(this.pages[Ha].getId()==Z){Da=this.updatePageRoot(this.pages[Ha]);break}null==Da&&(Da=this.currentPage);R.getGlobalVariable=function(Ra){return"page"==Ra?Da.getName():"pagenumber"==Ra?
-1:va.apply(this,arguments)};document.body.appendChild(R.container);R.model.setRoot(Da.root)}if(null!=J.layerIds){var La=R.model,Ea=La.getChildCells(La.getRoot()),za={};for(Ha=0;Ha<J.layerIds.length;Ha++)za[J.layerIds[Ha]]=!0;for(Ha=0;Ha<Ea.length;Ha++)La.setVisible(Ea[Ha],za[Ea[Ha].id]||!1)}Ha=null;J.keepTheme&&(Ha=Editor.cssDarkMode||Editor.isDarkMode()?"dark":"light");this.editor.exportToCanvas(mxUtils.bind(this,function(Ra){X(Ra.toDataURL("image/png"))}),J.width,null,J.background,mxUtils.bind(this,
-function(){X(null)}),null,null,J.scale,J.transparent,J.shadow,null,R,J.border,null,J.grid,Ha)});null!=J.xml&&0<J.xml.length&&(l=!0,this.setFileData(I),l=!1);ba()}else(new mxXmlRequest(EXPORT_URL,"format=png&embedXml="+("xmlpng"==J.format?"1":"0")+(null!=Z?"&pageId="+Z:"")+(null!=J.layerIds&&0<J.layerIds.length?"&extras="+encodeURIComponent(JSON.stringify({layerIds:J.layerIds})):"")+(null!=J.scale?"&scale="+J.scale:"")+"&base64=1&xml="+encodeURIComponent(I))).send(mxUtils.bind(this,function(va){200<=
-va.getStatus()&&299>=va.getStatus()?O("data:image/png;base64,"+va.getText()):X(null)}),mxUtils.bind(this,function(){X(null)}))}}else if(ba=mxUtils.bind(this,function(){var va=this.createLoadMessage("export");va.message=J;if("html2"==J.format||"html"==J.format&&("0"!=urlParams.pages||null!=this.pages&&1<this.pages.length)){var Da=this.getXmlFileData();va.xml=mxUtils.getXml(Da);va.data=this.getFileData(null,null,!0,null,null,null,Da);va.format=J.format}else if("html"==J.format)Da=this.editor.getGraphXml(),
-va.data=this.getHtml(Da,this.editor.graph),va.xml=mxUtils.getXml(Da),va.format=J.format;else{mxSvgCanvas2D.prototype.foAltText=null;Da=null!=J.background?J.background:this.editor.graph.background;Da==mxConstants.NONE&&(Da=null);va.xml=this.getFileData(!0,null,null,null,null,null,null,null,null,!1);va.format="svg";var Ha=mxUtils.bind(this,function(Ea){this.editor.graph.setEnabled(!0);this.spinner.stop();va.data=Editor.createSvgDataUri(Ea);G.postMessage(JSON.stringify(va),"*")}),La=null;J.keepTheme&&
-(La=Editor.cssDarkMode||Editor.isDarkMode()?"dark":"light");if("xmlsvg"==J.format)(null==J.spin&&null==J.spinKey||this.spinner.spin(document.body,null!=J.spinKey?mxResources.get(J.spinKey):J.spin))&&this.getEmbeddedSvg(va.xml,this.editor.graph,null,!0,Ha,null,null,J.embedImages,Da,J.scale,J.border,J.shadow,La);else if(null==J.spin&&null==J.spinKey||this.spinner.spin(document.body,null!=J.spinKey?mxResources.get(J.spinKey):J.spin))this.editor.graph.setEnabled(!1),Da=this.editor.graph.getSvg(Da,J.scale,
-J.border,null,null,null,null,null,null,this.editor.graph.shadowVisible||J.shadow,null,La),(this.editor.graph.shadowVisible||J.shadow)&&this.editor.graph.addSvgShadow(Da),this.embedFonts(Da,mxUtils.bind(this,function(Ea){J.embedImages||null==J.embedImages?this.editor.convertImages(Ea,mxUtils.bind(this,function(za){Ha(mxUtils.getXml(za))})):Ha(mxUtils.getXml(Ea))}));return}G.postMessage(JSON.stringify(va),"*")}),null!=J.xml&&0<J.xml.length){if(this.editor.graph.mathEnabled){var la=Editor.onMathJaxDone;
-Editor.onMathJaxDone=function(){la.apply(this,arguments);ba()}}l=!0;this.setFileData(J.xml);l=!1;this.editor.graph.mathEnabled||ba()}else ba();return}if("load"==J.action){T=J.toSketch;z=1==J.autosave;this.hideDialog();null!=J.modified&&null==urlParams.modified&&(urlParams.modified=J.modified);null!=J.saveAndExit&&null==urlParams.saveAndExit&&(urlParams.saveAndExit=J.saveAndExit);if("1"==urlParams.saveAndExit||"1"==urlParams.publishClose)if(this.actions.get("save").shortcut=null,!this.editor.chromeless||
+return}if("snapshot"==J.action){this.sendEmbeddedSvgExport(!0);return}if("export"==J.action){if("png"==J.format||"xmlpng"==J.format){if(null==J.spin&&null==J.spinKey||this.spinner.spin(document.body,null!=J.spinKey?mxResources.get(J.spinKey):J.spin)){var I=null!=J.xml?J.xml:this.getFileData(!0);this.editor.graph.setEnabled(!1);var R=this.editor.graph,O=mxUtils.bind(this,function(va,Ca){if(J.withSvg)J.withSvg=!1,this.getEmbeddedSvg(I,this.editor.graph,null,!0,function(La){O(va,La)},null,null,J.embedImages,
+this.editor.graph.background,J.scale,J.border,J.shadow);else{this.editor.graph.setEnabled(!0);this.spinner.stop();var Ga=this.createLoadMessage("export");Ga.format=J.format;Ga.message=J;Ga.data=va;Ga.svg=Ca;Ga.xml=I;G.postMessage(JSON.stringify(Ga),"*")}}),X=mxUtils.bind(this,function(va){null==va&&(va=Editor.blankImage);"xmlpng"==J.format&&(va=Editor.writeGraphModelToPng(va,"tEXt","mxfile",encodeURIComponent(I)));R!=this.editor.graph&&R.container.parentNode.removeChild(R.container);O(va)}),Z=J.pageId||
+(null!=this.pages?J.currentPage?this.currentPage.getId():this.pages[0].getId():null);if(this.isExportToCanvas()){var ba=mxUtils.bind(this,function(){if(null!=this.pages&&this.currentPage.getId()!=Z){var va=R.getGlobalVariable;R=this.createTemporaryGraph(R.getStylesheet());for(var Ca,Ga=0;Ga<this.pages.length;Ga++)if(this.pages[Ga].getId()==Z){Ca=this.updatePageRoot(this.pages[Ga]);break}null==Ca&&(Ca=this.currentPage);R.getGlobalVariable=function(Ra){return"page"==Ra?Ca.getName():"pagenumber"==Ra?
+1:va.apply(this,arguments)};document.body.appendChild(R.container);R.model.setRoot(Ca.root)}if(null!=J.layerIds){var La=R.model,Da=La.getChildCells(La.getRoot()),za={};for(Ga=0;Ga<J.layerIds.length;Ga++)za[J.layerIds[Ga]]=!0;for(Ga=0;Ga<Da.length;Ga++)La.setVisible(Da[Ga],za[Da[Ga].id]||!1)}Ga=null;J.keepTheme&&(Ga=Editor.cssDarkMode||Editor.isDarkMode()?"dark":"light");this.editor.exportToCanvas(mxUtils.bind(this,function(Ra){X(Ra.toDataURL("image/png"))}),J.width,null,J.background,mxUtils.bind(this,
+function(){X(null)}),null,null,J.scale,J.transparent,J.shadow,null,R,J.border,null,J.grid,Ga)});null!=J.xml&&0<J.xml.length&&(l=!0,this.setFileData(I),l=!1);ba()}else(new mxXmlRequest(EXPORT_URL,"format=png&embedXml="+("xmlpng"==J.format?"1":"0")+(null!=Z?"&pageId="+Z:"")+(null!=J.layerIds&&0<J.layerIds.length?"&extras="+encodeURIComponent(JSON.stringify({layerIds:J.layerIds})):"")+(null!=J.scale?"&scale="+J.scale:"")+"&base64=1&xml="+encodeURIComponent(I))).send(mxUtils.bind(this,function(va){200<=
+va.getStatus()&&299>=va.getStatus()?O("data:image/png;base64,"+va.getText()):X(null)}),mxUtils.bind(this,function(){X(null)}))}}else if(ba=mxUtils.bind(this,function(){var va=this.createLoadMessage("export");va.message=J;if("html2"==J.format||"html"==J.format&&("0"!=urlParams.pages||null!=this.pages&&1<this.pages.length)){var Ca=this.getXmlFileData();va.xml=mxUtils.getXml(Ca);va.data=this.getFileData(null,null,!0,null,null,null,Ca);va.format=J.format}else if("html"==J.format)Ca=this.editor.getGraphXml(),
+va.data=this.getHtml(Ca,this.editor.graph),va.xml=mxUtils.getXml(Ca),va.format=J.format;else{mxSvgCanvas2D.prototype.foAltText=null;Ca=null!=J.background?J.background:this.editor.graph.background;Ca==mxConstants.NONE&&(Ca=null);va.xml=this.getFileData(!0,null,null,null,null,null,null,null,null,!1);va.format="svg";var Ga=mxUtils.bind(this,function(Da){this.editor.graph.setEnabled(!0);this.spinner.stop();va.data=Editor.createSvgDataUri(Da);G.postMessage(JSON.stringify(va),"*")}),La=null;J.keepTheme&&
+(La=Editor.cssDarkMode||Editor.isDarkMode()?"dark":"light");if("xmlsvg"==J.format)(null==J.spin&&null==J.spinKey||this.spinner.spin(document.body,null!=J.spinKey?mxResources.get(J.spinKey):J.spin))&&this.getEmbeddedSvg(va.xml,this.editor.graph,null,!0,Ga,null,null,J.embedImages,Ca,J.scale,J.border,J.shadow,La);else if(null==J.spin&&null==J.spinKey||this.spinner.spin(document.body,null!=J.spinKey?mxResources.get(J.spinKey):J.spin))this.editor.graph.setEnabled(!1),Ca=this.editor.graph.getSvg(Ca,J.scale,
+J.border,null,null,null,null,null,null,this.editor.graph.shadowVisible||J.shadow,null,La),(this.editor.graph.shadowVisible||J.shadow)&&this.editor.graph.addSvgShadow(Ca),this.embedFonts(Ca,mxUtils.bind(this,function(Da){J.embedImages||null==J.embedImages?this.editor.convertImages(Da,mxUtils.bind(this,function(za){Ga(mxUtils.getXml(za))})):Ga(mxUtils.getXml(Da))}));return}G.postMessage(JSON.stringify(va),"*")}),null!=J.xml&&0<J.xml.length){if(this.editor.graph.mathEnabled){var ka=Editor.onMathJaxDone;
+Editor.onMathJaxDone=function(){ka.apply(this,arguments);ba()}}l=!0;this.setFileData(J.xml);l=!1;this.editor.graph.mathEnabled||ba()}else ba();return}if("load"==J.action){T=J.toSketch;z=1==J.autosave;this.hideDialog();null!=J.modified&&null==urlParams.modified&&(urlParams.modified=J.modified);null!=J.saveAndExit&&null==urlParams.saveAndExit&&(urlParams.saveAndExit=J.saveAndExit);if("1"==urlParams.saveAndExit||"1"==urlParams.publishClose)if(this.actions.get("save").shortcut=null,!this.editor.chromeless||
this.editor.editable)this.keyHandler.bindAction(83,!0,"saveAndExit"),"1"!=urlParams.noSaveBtn&&(this.actions.get("save").shortcut=Editor.ctrlKey+"+Shift+S",this.keyHandler.bindAction(83,!0,"save",!0));null!=J.noSaveBtn&&null==urlParams.noSaveBtn&&(urlParams.noSaveBtn=J.noSaveBtn);if(null!=J.rough){var qa=Editor.sketchMode;this.doSetSketchMode(J.rough);qa!=Editor.sketchMode&&this.fireEvent(new mxEventObject("sketchModeChanged"))}null!=J.dark&&this.setDarkMode(J.dark);null!=J.border&&(this.embedExportBorder=
J.border);null!=J.background&&(this.embedExportBackground=J.background);null!=J.viewport&&(this.embedViewport=J.viewport);this.embedExitPoint=null;if(null!=J.rect){var pa=this.embedExportBorder;this.diagramContainer.style.left=Math.max(60,J.rect.left)+"px";this.diagramContainer.style.top=Math.max(40,J.rect.top)+"px";this.minInlineWidth=J.minWidth;this.minInlineHeight=J.minHeight;this.diagramContainer.style.border="2px solid #295fcc";this.diagramContainer.style.bottom="";this.diagramContainer.style.right=
-"";var ra=J.maxFitScale,ua=J.rect.width+2*pa,Ba=J.rect.height+2*pa;fa=mxUtils.bind(this,function(){var va=mxUtils.getDocumentSize();ua=Math.min(null!=this.minInlineWidth?Math.max(this.minInlineWidth,ua):ua,va.width-80);va=Math.min(null!=this.minInlineHeight?Math.max(this.minInlineHeight,Ba):Ba,va.height-80);this.diagramContainer.style.width=ua+"px";this.diagramContainer.style.height=va+"px";var Da=this.editor.graph;va=Da.maxFitScale;Da.maxFitScale=ra;Da.fit(2*pa,null,null,null,null,null,Ba);this.setPageVisible(!1);
-if(null!=this.minInlineWidth&&Da.getGraphBounds().width<this.minInlineWidth){var Ha=Da.container.scrollTop;this.resetScrollbars();Da.container.scrollTop=Ha}Da.maxFitScale=va;Da.container.scrollTop-=pa;Da.container.scrollLeft-=pa;window.setTimeout(mxUtils.bind(this,function(){this.fireEvent(new mxEventObject("editInlineStart","data",[J]));Da.container.focus();null!=this.formatWindow&&null!=this.formatWindow.window&&this.formatWindow.window.isVisible()&&(this.formatWindow.window.div.style.top=Da.container.style.top);
-var La=Da.getGraphBounds();Da.container.clientWidth>La.width+2*pa&&(Da.container.scrollLeft=La.x+(La.width+pa-Da.container.clientWidth)/2)}),10)})}null!=J.noExitBtn&&null==urlParams.noExitBtn&&(urlParams.noExitBtn=J.noExitBtn);null!=J.title&&null!=this.buttonContainer&&(ka=this.createStatusDiv(""),mxUtils.write(ka,J.title),null!=this.embedFilenameSpan&&this.embedFilenameSpan.parentNode.removeChild(this.embedFilenameSpan),this.buttonContainer.appendChild(ka),this.embedFilenameSpan=ka);try{J.libs&&
-this.sidebar.showEntries(J.libs)}catch(va){}J=null!=J.xmlpng?this.extractGraphModelFromPng(J.xmlpng):null!=J.descriptor?J.descriptor:J.xml}else{if("merge"==J.action){var ya=this.getCurrentFile();null!=ya&&(ka=ea(J.xml),null!=ka&&""!=ka&&ya.mergeFile(new LocalFile(this,ka),function(){G.postMessage(JSON.stringify({event:"merge",message:J}),"*")},function(va){G.postMessage(JSON.stringify({event:"merge",message:J,error:va}),"*")}))}else"remoteInvokeReady"==J.action?this.handleRemoteInvokeReady(G):"remoteInvoke"==
-J.action?this.handleRemoteInvoke(J,P.origin):"remoteInvokeResponse"==J.action?this.handleRemoteInvokeResponse(J):G.postMessage(JSON.stringify({error:"unknownMessage",data:JSON.stringify(J)}),"*");return}}catch(va){this.handleError(va)}}var Aa=mxUtils.bind(this,function(){return"0"!=urlParams.pages||null!=this.pages&&1<this.pages.length?this.getFileData(!0):mxUtils.getXml(this.editor.getGraphXml())}),Na=mxUtils.bind(this,function(va,Da){l=!0;try{c(va,Da,null,T)}catch(Ha){this.handleError(Ha)}l=!1;
-null!=urlParams.modified&&this.editor.setStatus("");A=Aa();z&&null==f&&(f=mxUtils.bind(this,function(Ha,La){Ha=Aa();Ha==A||l||(La=this.createLoadMessage("autosave"),La.xml=Ha,(window.opener||window.parent).postMessage(JSON.stringify(La),"*"));A=Ha}),this.editor.graph.model.addListener(mxEvent.CHANGE,f),this.editor.graph.addListener("gridSizeChanged",f),this.editor.graph.addListener("shadowVisibleChanged",f),this.addListener("pageFormatChanged",f),this.addListener("pageScaleChanged",f),this.addListener("backgroundColorChanged",
-f),this.addListener("backgroundImageChanged",f),this.addListener("foldingEnabledChanged",f),this.addListener("mathEnabledChanged",f),this.addListener("gridEnabledChanged",f),this.addListener("guidesEnabledChanged",f),this.addListener("pageViewChanged",f));if("1"==urlParams.returnbounds||"json"==urlParams.proto)Da=this.createLoadMessage("load"),Da.xml=va,G.postMessage(JSON.stringify(Da),"*");null!=fa&&fa()});null!=J&&"function"===typeof J.substring&&"data:application/vnd.visio;base64,"==J.substring(0,
+"";var ra=J.maxFitScale,ua=J.rect.width+2*pa,Ba=J.rect.height+2*pa;fa=mxUtils.bind(this,function(){var va=mxUtils.getDocumentSize();ua=Math.min(null!=this.minInlineWidth?Math.max(this.minInlineWidth,ua):ua,va.width-80);va=Math.min(null!=this.minInlineHeight?Math.max(this.minInlineHeight,Ba):Ba,va.height-80);this.diagramContainer.style.width=ua+"px";this.diagramContainer.style.height=va+"px";var Ca=this.editor.graph;va=Ca.maxFitScale;Ca.maxFitScale=ra;Ca.fit(2*pa,null,null,null,null,null,Ba);this.setPageVisible(!1);
+if(null!=this.minInlineWidth&&Ca.getGraphBounds().width<this.minInlineWidth){var Ga=Ca.container.scrollTop;this.resetScrollbars();Ca.container.scrollTop=Ga}Ca.maxFitScale=va;Ca.container.scrollTop-=pa;Ca.container.scrollLeft-=pa;window.setTimeout(mxUtils.bind(this,function(){this.fireEvent(new mxEventObject("editInlineStart","data",[J]));Ca.container.focus();null!=this.formatWindow&&null!=this.formatWindow.window&&this.formatWindow.window.isVisible()&&(this.formatWindow.window.div.style.top=Ca.container.style.top);
+var La=Ca.getGraphBounds();Ca.container.clientWidth>La.width+2*pa&&(Ca.container.scrollLeft=La.x+(La.width+pa-Ca.container.clientWidth)/2)}),10)})}null!=J.noExitBtn&&null==urlParams.noExitBtn&&(urlParams.noExitBtn=J.noExitBtn);null!=J.title&&null!=this.buttonContainer&&(ja=this.createStatusDiv(""),mxUtils.write(ja,J.title),null!=this.embedFilenameSpan&&this.embedFilenameSpan.parentNode.removeChild(this.embedFilenameSpan),this.buttonContainer.appendChild(ja),this.embedFilenameSpan=ja);try{J.libs&&
+this.sidebar.showEntries(J.libs)}catch(va){}J=null!=J.xmlpng?this.extractGraphModelFromPng(J.xmlpng):null!=J.descriptor?J.descriptor:J.xml}else{if("merge"==J.action){var xa=this.getCurrentFile();null!=xa&&(ja=ea(J.xml),null!=ja&&""!=ja&&xa.mergeFile(new LocalFile(this,ja),function(){G.postMessage(JSON.stringify({event:"merge",message:J}),"*")},function(va){G.postMessage(JSON.stringify({event:"merge",message:J,error:va}),"*")}))}else"remoteInvokeReady"==J.action?this.handleRemoteInvokeReady(G):"remoteInvoke"==
+J.action?this.handleRemoteInvoke(J,P.origin):"remoteInvokeResponse"==J.action?this.handleRemoteInvokeResponse(J):G.postMessage(JSON.stringify({error:"unknownMessage",data:JSON.stringify(J)}),"*");return}}catch(va){this.handleError(va)}}var Aa=mxUtils.bind(this,function(){return"0"!=urlParams.pages||null!=this.pages&&1<this.pages.length?this.getFileData(!0):mxUtils.getXml(this.editor.getGraphXml())}),Na=mxUtils.bind(this,function(va,Ca){l=!0;try{c(va,Ca,null,T)}catch(Ga){this.handleError(Ga)}l=!1;
+null!=urlParams.modified&&this.editor.setStatus("");A=Aa();z&&null==f&&(f=mxUtils.bind(this,function(Ga,La){Ga=Aa();Ga==A||l||(La=this.createLoadMessage("autosave"),La.xml=Ga,(window.opener||window.parent).postMessage(JSON.stringify(La),"*"));A=Ga}),this.editor.graph.model.addListener(mxEvent.CHANGE,f),this.editor.graph.addListener("gridSizeChanged",f),this.editor.graph.addListener("shadowVisibleChanged",f),this.addListener("pageFormatChanged",f),this.addListener("pageScaleChanged",f),this.addListener("backgroundColorChanged",
+f),this.addListener("backgroundImageChanged",f),this.addListener("foldingEnabledChanged",f),this.addListener("mathEnabledChanged",f),this.addListener("gridEnabledChanged",f),this.addListener("guidesEnabledChanged",f),this.addListener("pageViewChanged",f));if("1"==urlParams.returnbounds||"json"==urlParams.proto)Ca=this.createLoadMessage("load"),Ca.xml=va,G.postMessage(JSON.stringify(Ca),"*");null!=fa&&fa()});null!=J&&"function"===typeof J.substring&&"data:application/vnd.visio;base64,"==J.substring(0,
34)?(ea="0M8R4KGxGuE"==J.substring(34,45)?"raw.vsd":"raw.vsdx",this.importVisio(this.base64ToBlob(J.substring(J.indexOf(",")+1)),function(va){Na(va,P)},mxUtils.bind(this,function(va){this.handleError(va)}),ea)):null!=J&&"function"===typeof J.substring&&(new XMLHttpRequest).upload&&this.isRemoteFileFormat(J,"")?this.isOffline()?this.showError(mxResources.get("error"),mxResources.get("notInOffline")):this.parseFileData(J,mxUtils.bind(this,function(va){4==va.readyState&&(200<=va.status&&299>=va.status&&
"<mxGraphModel"==va.responseText.substring(0,13)?Na(va.responseText,P):this.handleError({message:413==va.status?mxResources.get("diagramTooLarge"):mxResources.get("unknownError")}))}),""):null!=J&&"function"===typeof J.substring&&this.isLucidChartData(J)?this.convertLucidChart(J,mxUtils.bind(this,function(va){Na(va)}),mxUtils.bind(this,function(va){this.handleError(va)})):null==J||"object"!==typeof J||null==J.format||null==J.data&&null==J.url?(J=ea(J),Na(J,P)):this.loadDescriptor(J,mxUtils.bind(this,
function(va){Na(Aa(),P)}),mxUtils.bind(this,function(va){this.handleError(va,mxResources.get("errorLoadingFile"))}))}}));var G=window.opener||window.parent;B="json"==urlParams.proto?JSON.stringify({event:"init"}):urlParams.ready||"ready";G.postMessage(B,"*");if("json"==urlParams.proto){var L=this.editor.graph.openLink;this.editor.graph.openLink=function(P,J,fa){L.apply(this,arguments);G.postMessage(JSON.stringify({event:"openLink",href:P,target:J,allowOpener:fa}),"*")}}};EditorUi.prototype.createEmbedButton=
@@ -3938,24 +3936,24 @@ mxResources.get("csv")+":",Editor.defaultCsvValue,mxUtils.bind(this,function(c){
c,mxUtils.bind(this,function(l){if(0<l.length)try{var z=JSON.parse(l);this.executeLayouts(this.editor.graph.createLayouts(z));this.customLayoutConfig=z;this.hideDialog()}catch(A){this.handleError(A)}}),null,null,null,null,mxUtils.bind(this,function(l,z){var A=mxUtils.button(mxResources.get("copy"),mxUtils.bind(this,function(){try{var B=z.value;z.value=JSON.stringify(JSON.parse(B));z.focus();mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?z.select():document.execCommand("selectAll",!1,null);
document.execCommand("copy");this.alert(mxResources.get("copiedToClipboard"));z.value=B}catch(G){this.handleError(G)}}));A.setAttribute("title","copy");A.className="geBtn";l.appendChild(A)}),!0,null,null,"https://www.drawio.com/doc/faq/apply-layouts");this.showDialog(f.container,620,460,!0,!0);f.init()}))};EditorUi.prototype.loadOrgChartLayouts=function(c){this.createTimeout(null,mxUtils.bind(this,function(f){var l=mxUtils.bind(this,function(){this.loadingOrgChart=!1;f.clear()&&(Graph.layoutNames.push("mxOrgChartLayout"),
this.spinner.stop(),c())}),z=mxUtils.bind(this,function(A){this.loadingOrgChart=!1;f.clear()&&this.handleError(A)});"undefined"!==typeof mxOrgChartLayout||this.loadingOrgChart||this.isOffline(!0)?l():this.spinner.spin(document.body,mxResources.get("loading"))&&(this.loadingOrgChart=!0,"1"==urlParams.dev?mxscript("js/orgchart/bridge.min.js",function(){mxscript("js/orgchart/bridge.collections.min.js",function(){mxscript("js/orgchart/OrgChart.Layout.min.js",function(){mxscript("js/orgchart/mxOrgChartLayout.js",
-l,null,null,null,z)},null,null,null,z)},null,null,null,z)},null,null,null,z):mxscript(window.DRAWIO_SERVER_URL+"js/orgchart.min.js",l,null,null,null,z))}),onerror)};EditorUi.prototype.importCsv=function(c,f){this.loadOrgChartLayouts(mxUtils.bind(this,function(){this.doImportCsv(c,f)}))};EditorUi.prototype.doImportCsv=function(c,f){try{var l=c.split("\n"),z=[],A=[],B=[],G={};if(0<l.length){var L={},P=this.editor.graph,J=null,fa=null,ea=null,T=null,ca=null,ka=null,ma=null,aa="whiteSpace=wrap;html=1;",
-V=null,da=null,k="",t="auto",I="auto",R=!1,O=null,X=null,Z=40,ba=40,la=100,qa=0,pa=mxUtils.bind(this,function(){null!=f?f(Ca):(P.setSelectionCells(Ca),P.scrollCellToVisible(P.getSelectionCell()));null!=this.chromelessResize&&window.setTimeout(mxUtils.bind(this,function(){this.chromelessResize(!0)}),0)}),ra=P.getFreeInsertPoint(),ua=ra.x,Ba=ra.y;ra=Ba;var ya=null,Aa="auto";da=null;for(var Na=[],va=null,Da=null,Ha=0;Ha<l.length&&"#"==l[Ha].charAt(0);){c=l[Ha].replace(/\r$/,"");for(Ha++;Ha<l.length&&
-"\\"==c.charAt(c.length-1)&&"#"==l[Ha].charAt(0);)c=c.substring(0,c.length-1)+mxUtils.trim(l[Ha].substring(1)),Ha++;if("#"!=c.charAt(1)){var La=c.indexOf(":");if(0<La){var Ea=mxUtils.trim(c.substring(1,La)),za=mxUtils.trim(c.substring(La+1));"label"==Ea?ya=Graph.sanitizeHtml(za):"labelname"==Ea&&0<za.length&&"-"!=za?ca=za:"labels"==Ea&&0<za.length&&"-"!=za?ma=JSON.parse(za):"style"==Ea?fa=za:"parentstyle"==Ea?aa=za:"unknownStyle"==Ea&&"-"!=za?ka=za:"stylename"==Ea&&0<za.length&&"-"!=za?T=za:"styles"==
-Ea&&0<za.length&&"-"!=za?ea=JSON.parse(za):"vars"==Ea&&0<za.length&&"-"!=za?J=JSON.parse(za):"identity"==Ea&&0<za.length&&"-"!=za?V=za:"parent"==Ea&&0<za.length&&"-"!=za?da=za:"namespace"==Ea&&0<za.length&&"-"!=za?k=za:"width"==Ea?t=za:"height"==Ea?I=za:"collapsed"==Ea&&"-"!=za?R="true"==za:"left"==Ea&&0<za.length?O=za:"top"==Ea&&0<za.length?X=za:"ignore"==Ea?Da=za.split(","):"connect"==Ea?Na.push(JSON.parse(za)):"link"==Ea?va=za:"padding"==Ea?qa=parseFloat(za):"edgespacing"==Ea?Z=parseFloat(za):
-"nodespacing"==Ea?ba=parseFloat(za):"levelspacing"==Ea?la=parseFloat(za):"layout"==Ea&&(Aa=za)}}}if(null==l[Ha])throw Error(mxResources.get("invalidOrMissingFile"));var Ra=this.editor.csvToArray(l[Ha].replace(/\r$/,""));La=c=null;Ea=[];for(za=0;za<Ra.length;za++)V==Ra[za]&&(c=za),da==Ra[za]&&(La=za),Ea.push(mxUtils.trim(Ra[za]).replace(/[^a-z0-9]+/ig,"_").replace(/^\d+/,"").replace(/_+$/,""));null==ya&&(ya="%"+Ea[0]+"%");if(null!=Na)for(var Ja=0;Ja<Na.length;Ja++)null==L[Na[Ja].to]&&(L[Na[Ja].to]=
-{});V=[];for(za=Ha+1;za<l.length;za++){var Qa=this.editor.csvToArray(l[za].replace(/\r$/,""));if(null==Qa){var Ma=40<l[za].length?l[za].substring(0,40)+"...":l[za];throw Error(Ma+" ("+za+"):\n"+mxResources.get("containsValidationErrors"));}0<Qa.length&&V.push(Qa)}P.model.beginUpdate();try{for(za=0;za<V.length;za++){Qa=V[za];var u=null,N=null!=c?k+Qa[c]:null;l=!1;null!=N&&(u=P.model.getCell(N),l=null==u||0<=mxUtils.indexOf(z,u));var Q=new mxCell(ya,new mxGeometry(ua,ra,0,0),fa||"whiteSpace=wrap;html=1;");
-Q.collapsed=R;Q.vertex=!0;Q.id=N;null==u||l||P.model.setCollapsed(u,R);for(var Y=0;Y<Qa.length;Y++)P.setAttributeForCell(Q,Ea[Y],Qa[Y]),null==u||l||P.setAttributeForCell(u,Ea[Y],Qa[Y]);if(null!=ca&&null!=ma){var ia=ma[Q.getAttribute(ca)];null!=ia&&(P.labelChanged(Q,ia),null==u||l||P.cellLabelChanged(u,ia))}if(null!=T&&null!=ea){var ja=ea[Q.getAttribute(T)];null!=ja&&(Q.style=ja)}P.setAttributeForCell(Q,"placeholders","1");Q.style=P.replacePlaceholders(Q,Q.style,J);null==u||l?P.fireEvent(new mxEventObject("cellsInserted",
-"cells",[Q])):(P.model.setStyle(u,Q.style),0>mxUtils.indexOf(B,u)&&B.push(u),P.fireEvent(new mxEventObject("cellsInserted","cells",[u])));l=null!=u;u=Q;if(!l)for(Ja=0;Ja<Na.length;Ja++)L[Na[Ja].to][u.getAttribute(Na[Ja].to)]=u;null!=va&&"link"!=va&&(P.setLinkForCell(u,u.getAttribute(va)),P.setAttributeForCell(u,va,null));var oa=this.editor.graph.getPreferredSizeForCell(u);da=null!=La?P.model.getCell(k+Qa[La]):null;if(u.vertex){Ma=null!=da?0:ua;Ha=null!=da?0:Ba;null!=O&&null!=u.getAttribute(O)&&(u.geometry.x=
-Ma+parseFloat(u.getAttribute(O)));null!=X&&null!=u.getAttribute(X)&&(u.geometry.y=Ha+parseFloat(u.getAttribute(X)));var ta="@"==t.charAt(0)?u.getAttribute(t.substring(1)):null;u.geometry.width=null!=ta&&"auto"!=ta?parseFloat(u.getAttribute(t.substring(1))):"auto"==t||"auto"==ta?oa.width+qa:parseFloat(t);var sa="@"==I.charAt(0)?u.getAttribute(I.substring(1)):null;u.geometry.height=null!=sa&&"auto"!=sa&&"width"!=I?parseFloat(sa):"auto"==I||"auto"==sa?oa.height+qa:"width"==I?u.geometry.width:parseFloat(I);
-ra+=u.geometry.height+ba}l?(null==G[N]&&(G[N]=[]),G[N].push(u)):(z.push(u),null!=da?(da.style=P.replacePlaceholders(da,aa,J),P.addCell(u,da),A.push(da)):B.push(P.addCell(u)))}for(za=0;za<A.length;za++)ta="@"==t.charAt(0)?A[za].getAttribute(t.substring(1)):null,sa="@"==I.charAt(0)?A[za].getAttribute(I.substring(1)):null,"auto"!=t&&"auto"!=ta||"auto"!=I&&"auto"!=sa||P.updateGroupBounds([A[za]],qa,!0);var xa=B.slice(),Ca=B.slice();for(Ja=0;Ja<Na.length;Ja++){var Oa=Na[Ja];for(za=0;za<z.length;za++){u=
-z[za];var Wa=mxUtils.bind(this,function(jb,qb,eb){var rb=qb.getAttribute(eb.from);if(null!=rb&&""!=rb){rb=rb.split(",");for(var ub=0;ub<rb.length;ub++){var lb=L[eb.to][rb[ub]];if(null==lb&&null!=ka){lb=new mxCell(rb[ub],new mxGeometry(ua,Ba,0,0),ka);lb.style=P.replacePlaceholders(qb,lb.style,J);var nb=this.editor.graph.getPreferredSizeForCell(lb);lb.geometry.width=nb.width+qa;lb.geometry.height=nb.height+qa;L[eb.to][rb[ub]]=lb;lb.vertex=!0;lb.id=rb[ub];B.push(P.addCell(lb))}if(null!=lb){nb=eb.label;
+l,null,null,null,z)},null,null,null,z)},null,null,null,z)},null,null,null,z):mxscript(window.DRAWIO_SERVER_URL+"js/orgchart.min.js",l,null,null,null,z))}),onerror)};EditorUi.prototype.importCsv=function(c,f){this.loadOrgChartLayouts(mxUtils.bind(this,function(){this.doImportCsv(c,f)}))};EditorUi.prototype.doImportCsv=function(c,f){try{var l=c.split("\n"),z=[],A=[],B=[],G={};if(0<l.length){var L={},P=this.editor.graph,J=null,fa=null,ea=null,T=null,ca=null,ja=null,ma=null,aa="whiteSpace=wrap;html=1;",
+V=null,da=null,k="",t="auto",I="auto",R=!1,O=null,X=null,Z=40,ba=40,ka=100,qa=0,pa=mxUtils.bind(this,function(){null!=f?f(Ha):(P.setSelectionCells(Ha),P.scrollCellToVisible(P.getSelectionCell()));null!=this.chromelessResize&&window.setTimeout(mxUtils.bind(this,function(){this.chromelessResize(!0)}),0)}),ra=P.getFreeInsertPoint(),ua=ra.x,Ba=ra.y;ra=Ba;var xa=null,Aa="auto";da=null;for(var Na=[],va=null,Ca=null,Ga=0;Ga<l.length&&"#"==l[Ga].charAt(0);){c=l[Ga].replace(/\r$/,"");for(Ga++;Ga<l.length&&
+"\\"==c.charAt(c.length-1)&&"#"==l[Ga].charAt(0);)c=c.substring(0,c.length-1)+mxUtils.trim(l[Ga].substring(1)),Ga++;if("#"!=c.charAt(1)){var La=c.indexOf(":");if(0<La){var Da=mxUtils.trim(c.substring(1,La)),za=mxUtils.trim(c.substring(La+1));"label"==Da?xa=Graph.sanitizeHtml(za):"labelname"==Da&&0<za.length&&"-"!=za?ca=za:"labels"==Da&&0<za.length&&"-"!=za?ma=JSON.parse(za):"style"==Da?fa=za:"parentstyle"==Da?aa=za:"unknownStyle"==Da&&"-"!=za?ja=za:"stylename"==Da&&0<za.length&&"-"!=za?T=za:"styles"==
+Da&&0<za.length&&"-"!=za?ea=JSON.parse(za):"vars"==Da&&0<za.length&&"-"!=za?J=JSON.parse(za):"identity"==Da&&0<za.length&&"-"!=za?V=za:"parent"==Da&&0<za.length&&"-"!=za?da=za:"namespace"==Da&&0<za.length&&"-"!=za?k=za:"width"==Da?t=za:"height"==Da?I=za:"collapsed"==Da&&"-"!=za?R="true"==za:"left"==Da&&0<za.length?O=za:"top"==Da&&0<za.length?X=za:"ignore"==Da?Ca=za.split(","):"connect"==Da?Na.push(JSON.parse(za)):"link"==Da?va=za:"padding"==Da?qa=parseFloat(za):"edgespacing"==Da?Z=parseFloat(za):
+"nodespacing"==Da?ba=parseFloat(za):"levelspacing"==Da?ka=parseFloat(za):"layout"==Da&&(Aa=za)}}}if(null==l[Ga])throw Error(mxResources.get("invalidOrMissingFile"));var Ra=this.editor.csvToArray(l[Ga].replace(/\r$/,""));La=c=null;Da=[];for(za=0;za<Ra.length;za++)V==Ra[za]&&(c=za),da==Ra[za]&&(La=za),Da.push(mxUtils.trim(Ra[za]).replace(/[^a-z0-9]+/ig,"_").replace(/^\d+/,"").replace(/_+$/,""));null==xa&&(xa="%"+Da[0]+"%");if(null!=Na)for(var Ja=0;Ja<Na.length;Ja++)null==L[Na[Ja].to]&&(L[Na[Ja].to]=
+{});V=[];for(za=Ga+1;za<l.length;za++){var Qa=this.editor.csvToArray(l[za].replace(/\r$/,""));if(null==Qa){var Ma=40<l[za].length?l[za].substring(0,40)+"...":l[za];throw Error(Ma+" ("+za+"):\n"+mxResources.get("containsValidationErrors"));}0<Qa.length&&V.push(Qa)}P.model.beginUpdate();try{for(za=0;za<V.length;za++){Qa=V[za];var u=null,N=null!=c?k+Qa[c]:null;l=!1;null!=N&&(u=P.model.getCell(N),l=null==u||0<=mxUtils.indexOf(z,u));var Q=new mxCell(xa,new mxGeometry(ua,ra,0,0),fa||"whiteSpace=wrap;html=1;");
+Q.collapsed=R;Q.vertex=!0;Q.id=N;null==u||l||P.model.setCollapsed(u,R);for(var Y=0;Y<Qa.length;Y++)P.setAttributeForCell(Q,Da[Y],Qa[Y]),null==u||l||P.setAttributeForCell(u,Da[Y],Qa[Y]);if(null!=ca&&null!=ma){var ia=ma[Q.getAttribute(ca)];null!=ia&&(P.labelChanged(Q,ia),null==u||l||P.cellLabelChanged(u,ia))}if(null!=T&&null!=ea){var la=ea[Q.getAttribute(T)];null!=la&&(Q.style=la)}P.setAttributeForCell(Q,"placeholders","1");Q.style=P.replacePlaceholders(Q,Q.style,J);null==u||l?P.fireEvent(new mxEventObject("cellsInserted",
+"cells",[Q])):(P.model.setStyle(u,Q.style),0>mxUtils.indexOf(B,u)&&B.push(u),P.fireEvent(new mxEventObject("cellsInserted","cells",[u])));l=null!=u;u=Q;if(!l)for(Ja=0;Ja<Na.length;Ja++)L[Na[Ja].to][u.getAttribute(Na[Ja].to)]=u;null!=va&&"link"!=va&&(P.setLinkForCell(u,u.getAttribute(va)),P.setAttributeForCell(u,va,null));var oa=this.editor.graph.getPreferredSizeForCell(u);da=null!=La?P.model.getCell(k+Qa[La]):null;if(u.vertex){Ma=null!=da?0:ua;Ga=null!=da?0:Ba;null!=O&&null!=u.getAttribute(O)&&(u.geometry.x=
+Ma+parseFloat(u.getAttribute(O)));null!=X&&null!=u.getAttribute(X)&&(u.geometry.y=Ga+parseFloat(u.getAttribute(X)));var ta="@"==t.charAt(0)?u.getAttribute(t.substring(1)):null;u.geometry.width=null!=ta&&"auto"!=ta?parseFloat(u.getAttribute(t.substring(1))):"auto"==t||"auto"==ta?oa.width+qa:parseFloat(t);var sa="@"==I.charAt(0)?u.getAttribute(I.substring(1)):null;u.geometry.height=null!=sa&&"auto"!=sa&&"width"!=I?parseFloat(sa):"auto"==I||"auto"==sa?oa.height+qa:"width"==I?u.geometry.width:parseFloat(I);
+ra+=u.geometry.height+ba}l?(null==G[N]&&(G[N]=[]),G[N].push(u)):(z.push(u),null!=da?(da.style=P.replacePlaceholders(da,aa,J),P.addCell(u,da),A.push(da)):B.push(P.addCell(u)))}for(za=0;za<A.length;za++)ta="@"==t.charAt(0)?A[za].getAttribute(t.substring(1)):null,sa="@"==I.charAt(0)?A[za].getAttribute(I.substring(1)):null,"auto"!=t&&"auto"!=ta||"auto"!=I&&"auto"!=sa||P.updateGroupBounds([A[za]],qa,!0);var ya=B.slice(),Ha=B.slice();for(Ja=0;Ja<Na.length;Ja++){var Oa=Na[Ja];for(za=0;za<z.length;za++){u=
+z[za];var Wa=mxUtils.bind(this,function(jb,qb,eb){var rb=qb.getAttribute(eb.from);if(null!=rb&&""!=rb){rb=rb.split(",");for(var ub=0;ub<rb.length;ub++){var lb=L[eb.to][rb[ub]];if(null==lb&&null!=ja){lb=new mxCell(rb[ub],new mxGeometry(ua,Ba,0,0),ja);lb.style=P.replacePlaceholders(qb,lb.style,J);var nb=this.editor.graph.getPreferredSizeForCell(lb);lb.geometry.width=nb.width+qa;lb.geometry.height=nb.height+qa;L[eb.to][rb[ub]]=lb;lb.vertex=!0;lb.id=rb[ub];B.push(P.addCell(lb))}if(null!=lb){nb=eb.label;
null!=eb.fromlabel&&(nb=(qb.getAttribute(eb.fromlabel)||"")+(nb||""));null!=eb.sourcelabel&&(nb=P.replacePlaceholders(qb,eb.sourcelabel,J)+(nb||""));null!=eb.tolabel&&(nb=(nb||"")+(lb.getAttribute(eb.tolabel)||""));null!=eb.targetlabel&&(nb=(nb||"")+P.replacePlaceholders(lb,eb.targetlabel,J));var sb="target"==eb.placeholders==!eb.invert?lb:jb;sb=null!=eb.style?P.replacePlaceholders(sb,eb.style,J):P.createCurrentEdgeStyle();nb=P.insertEdge(null,null,nb||"",eb.invert?lb:jb,eb.invert?jb:lb,sb);if(null!=
eb.labels)for(sb=0;sb<eb.labels.length;sb++){var pb=eb.labels[sb],wb=new mxCell(pb.label||sb,new mxGeometry(null!=pb.x?pb.x:0,null!=pb.y?pb.y:0,0,0),"resizable=0;html=1;");wb.vertex=!0;wb.connectable=!1;wb.geometry.relative=!0;null!=pb.placeholders&&(wb.value=P.replacePlaceholders("target"==pb.placeholders==!eb.invert?lb:jb,wb.value,J));if(null!=pb.dx||null!=pb.dy)wb.geometry.offset=new mxPoint(null!=pb.dx?pb.dx:0,null!=pb.dy?pb.dy:0);nb.insert(wb)}if(null!=eb.data)for(var fb in eb.data)P.setAttributeForCell(nb,
-fb,eb.data[fb]);Ca.push(nb);mxUtils.remove(eb.invert?jb:lb,xa)}}}});Wa(u,u,Oa);if(null!=G[u.id])for(Y=0;Y<G[u.id].length;Y++)Wa(u,G[u.id][Y],Oa)}}if(null!=Da)for(za=0;za<z.length;za++)for(u=z[za],Y=0;Y<Da.length;Y++)P.setAttributeForCell(u,mxUtils.trim(Da[Y]),null);if(0<B.length){var Za=new mxParallelEdgeLayout(P);Za.spacing=Z;Za.checkOverlap=!0;var ab=function(){0<Za.spacing&&Za.execute(P.getDefaultParent());for(var jb=0;jb<B.length;jb++){var qb=P.getCellGeometry(B[jb]);qb.x=Math.round(P.snap(qb.x));
+fb,eb.data[fb]);Ha.push(nb);mxUtils.remove(eb.invert?jb:lb,ya)}}}});Wa(u,u,Oa);if(null!=G[u.id])for(Y=0;Y<G[u.id].length;Y++)Wa(u,G[u.id][Y],Oa)}}if(null!=Ca)for(za=0;za<z.length;za++)for(u=z[za],Y=0;Y<Ca.length;Y++)P.setAttributeForCell(u,mxUtils.trim(Ca[Y]),null);if(0<B.length){var Za=new mxParallelEdgeLayout(P);Za.spacing=Z;Za.checkOverlap=!0;var ab=function(){0<Za.spacing&&Za.execute(P.getDefaultParent());for(var jb=0;jb<B.length;jb++){var qb=P.getCellGeometry(B[jb]);qb.x=Math.round(P.snap(qb.x));
qb.y=Math.round(P.snap(qb.y));"auto"==t&&(qb.width=Math.round(P.snap(qb.width)));"auto"==I&&(qb.height=Math.round(P.snap(qb.height)))}};if("["==Aa.charAt(0)){var Ta=pa;P.view.validate();this.executeLayouts(P.createLayouts(JSON.parse(Aa)),function(){ab();Ta()});pa=null}else if("circle"==Aa){var Pa=new mxCircleLayout(P);Pa.disableEdgeStyle=!1;Pa.resetEdges=!1;var kb=Pa.isVertexIgnored;Pa.isVertexIgnored=function(jb){return kb.apply(this,arguments)||0>mxUtils.indexOf(B,jb)};this.executeLayout(function(){Pa.execute(P.getDefaultParent());
-ab()},!0,pa);pa=null}else if("horizontaltree"==Aa||"verticaltree"==Aa||"auto"==Aa&&Ca.length==2*B.length-1&&1==xa.length){P.view.validate();var cb=new mxCompactTreeLayout(P,"horizontaltree"==Aa);cb.levelDistance=ba;cb.edgeRouting=!1;cb.resetEdges=!1;cb.sortEdges=!0;this.executeLayout(function(){cb.execute(P.getDefaultParent(),0<xa.length?xa[0]:null)},!0,pa);pa=null}else if("horizontalflow"==Aa||"verticalflow"==Aa||"auto"==Aa&&1==xa.length){P.view.validate();var $a=new mxHierarchicalLayout(P,"horizontalflow"==
-Aa?mxConstants.DIRECTION_WEST:mxConstants.DIRECTION_NORTH);$a.intraCellSpacing=ba;$a.parallelEdgeSpacing=Z;$a.interRankCellSpacing=la;$a.disableEdgeStyle=!1;this.executeLayout(function(){$a.execute(P.getDefaultParent(),Ca);P.moveCells(Ca,ua,Ba)},!0,pa);pa=null}else if("orgchart"==Aa){P.view.validate();var gb=new mxOrgChartLayout(P,2,la,ba),ib=gb.isVertexIgnored;gb.isVertexIgnored=function(jb){return ib.apply(this,arguments)||0>mxUtils.indexOf(B,jb)};this.executeLayout(function(){gb.execute(P.getDefaultParent());
-ab()},!0,pa);pa=null}else if("organic"==Aa||"auto"==Aa&&Ca.length>B.length){P.view.validate();var mb=new mxFastOrganicLayout(P);mb.forceConstant=3*ba;mb.disableEdgeStyle=!1;mb.resetEdges=!1;var vb=mb.isVertexIgnored;mb.isVertexIgnored=function(jb){return vb.apply(this,arguments)||0>mxUtils.indexOf(B,jb)};this.executeLayout(function(){mb.execute(P.getDefaultParent());ab()},!0,pa);pa=null}}this.hideDialog()}finally{P.model.endUpdate()}null!=pa&&pa()}}catch(jb){this.handleError(jb)}};EditorUi.prototype.getSearch=
+ab()},!0,pa);pa=null}else if("horizontaltree"==Aa||"verticaltree"==Aa||"auto"==Aa&&Ha.length==2*B.length-1&&1==ya.length){P.view.validate();var cb=new mxCompactTreeLayout(P,"horizontaltree"==Aa);cb.levelDistance=ba;cb.edgeRouting=!1;cb.resetEdges=!1;cb.sortEdges=!0;this.executeLayout(function(){cb.execute(P.getDefaultParent(),0<ya.length?ya[0]:null)},!0,pa);pa=null}else if("horizontalflow"==Aa||"verticalflow"==Aa||"auto"==Aa&&1==ya.length){P.view.validate();var $a=new mxHierarchicalLayout(P,"horizontalflow"==
+Aa?mxConstants.DIRECTION_WEST:mxConstants.DIRECTION_NORTH);$a.intraCellSpacing=ba;$a.parallelEdgeSpacing=Z;$a.interRankCellSpacing=ka;$a.disableEdgeStyle=!1;this.executeLayout(function(){$a.execute(P.getDefaultParent(),Ha);P.moveCells(Ha,ua,Ba)},!0,pa);pa=null}else if("orgchart"==Aa){P.view.validate();var gb=new mxOrgChartLayout(P,2,ka,ba),ib=gb.isVertexIgnored;gb.isVertexIgnored=function(jb){return ib.apply(this,arguments)||0>mxUtils.indexOf(B,jb)};this.executeLayout(function(){gb.execute(P.getDefaultParent());
+ab()},!0,pa);pa=null}else if("organic"==Aa||"auto"==Aa&&Ha.length>B.length){P.view.validate();var mb=new mxFastOrganicLayout(P);mb.forceConstant=3*ba;mb.disableEdgeStyle=!1;mb.resetEdges=!1;var vb=mb.isVertexIgnored;mb.isVertexIgnored=function(jb){return vb.apply(this,arguments)||0>mxUtils.indexOf(B,jb)};this.executeLayout(function(){mb.execute(P.getDefaultParent());ab()},!0,pa);pa=null}}this.hideDialog()}finally{P.model.endUpdate()}null!=pa&&pa()}}catch(jb){this.handleError(jb)}};EditorUi.prototype.getSearch=
function(c){var f="";if("1"!=urlParams.offline&&"1"!=urlParams.demo&&null!=c&&0<window.location.search.length){var l="?",z;for(z in urlParams)0>mxUtils.indexOf(c,z)&&null!=urlParams[z]&&(f+=l+z+"="+urlParams[z],l="&")}else f=window.location.search;return f};EditorUi.prototype.getUrl=function(c){c=null!=c?c:window.location.pathname;var f=0<c.indexOf("?")?1:0;if("1"==urlParams.offline)c+=window.location.search;else{var l="tmp libs clibs state fileId code share notitle data url embed client create title splash".split(" "),
z;for(z in urlParams)0>mxUtils.indexOf(l,z)&&(c=0==f?c+"?":c+"&",null!=urlParams[z]&&(c+=z+"="+urlParams[z],f++))}return c};EditorUi.prototype.showLinkDialog=function(c,f,l,z,A){c=new LinkDialog(this,c,f,l,!0,z,A);this.showDialog(c.container,440,120,!0,!0);c.init()};EditorUi.prototype.getServiceCount=function(c){var f=1;null==this.drive&&"function"!==typeof window.DriveClient||f++;null==this.dropbox&&"function"!==typeof window.DropboxClient||f++;null==this.oneDrive&&"function"!==typeof window.OneDriveClient||
f++;null!=this.gitHub&&f++;null!=this.gitLab&&f++;c&&isLocalStorage&&"1"==urlParams.browser&&f++;return f};EditorUi.prototype.updateUi=function(){this.updateButtonContainer();this.updateActionStates();var c=this.getCurrentFile(),f=null!=c||"1"==urlParams.embed&&this.editor.graph.isEnabled();this.menus.get("viewPanels").setEnabled(f);this.menus.get("viewZoom").setEnabled(f);var l=("1"!=urlParams.embed||"1"==urlParams.embedRT||!this.editor.graph.isEnabled())&&(null==c||c.isRestricted());this.actions.get("makeCopy").setEnabled(!l);
@@ -3970,11 +3968,11 @@ f);this.actions.get("makeCopy").setEnabled(null!=f&&!f.isRestricted());this.acti
this.diagramContainer.style.visibility);this.actions.get("rename").setEnabled(null!=f&&f.isRenamable()||"1"==urlParams.embed);this.actions.get("close").setEnabled(null!=f);this.actions.get("properties").setEnabled(null!=f);this.menus.get("publish").setEnabled(null!=f&&!f.isRestricted());f=this.actions.get("findReplace");f.setEnabled("hidden"!=this.diagramContainer.style.visibility);f.label=mxResources.get("find")+(c.isEnabled()?"/"+mxResources.get("replace"):"");c=c.view.getState(c.getSelectionCell());
this.actions.get("editShape").setEnabled(z&&null!=c&&null!=c.shape&&null!=c.shape.stencil)};var W=EditorUi.prototype.destroy;EditorUi.prototype.destroy=function(){null!=this.exportDialog&&(this.exportDialog.parentNode.removeChild(this.exportDialog),this.exportDialog=null);W.apply(this,arguments)};null!=window.ExportDialog&&(ExportDialog.showXmlOption=!1,ExportDialog.showGifOption=!1,ExportDialog.exportFile=function(c,f,l,z,A,B,G,L){var P=c.editor.graph;if("xml"==l)c.hideDialog(),c.saveData(f,"xml",
mxUtils.getXml(c.editor.getGraphXml()),"text/xml");else if("svg"==l)c.hideDialog(),c.saveData(f,"svg",mxUtils.getXml(P.getSvg(z,A,B)),"image/svg+xml");else{var J=c.getFileData(!0,null,null,null,null,!0),fa=P.getGraphBounds(),ea=Math.floor(fa.width*A/P.view.scale),T=Math.floor(fa.height*A/P.view.scale);if(J.length<=MAX_REQUEST_SIZE&&ea*T<MAX_AREA)if(c.hideDialog(),"png"!=l&&"jpg"!=l&&"jpeg"!=l||!c.isExportToCanvas()){var ca={globalVars:P.getExportVariables()};L&&(ca.grid={size:P.gridSize,steps:P.view.gridSteps,
-color:P.view.gridColor});c.saveRequest(f,l,function(ka,ma){return new mxXmlRequest(EXPORT_URL,"format="+l+"&base64="+(ma||"0")+(null!=ka?"&filename="+encodeURIComponent(ka):"")+"&extras="+encodeURIComponent(JSON.stringify(ca))+(0<G?"&dpi="+G:"")+"&bg="+(null!=z?z:"none")+"&w="+ea+"&h="+T+"&border="+B+"&xml="+encodeURIComponent(J))})}else"png"==l?c.exportImage(A,null==z||"none"==z,!0,!1,!1,B,!0,!1,null,L,G):c.exportImage(A,!1,!0,!1,!1,B,!0,!1,"jpeg",L);else mxUtils.alert(mxResources.get("drawingTooLarge"))}});
+color:P.view.gridColor});c.saveRequest(f,l,function(ja,ma){return new mxXmlRequest(EXPORT_URL,"format="+l+"&base64="+(ma||"0")+(null!=ja?"&filename="+encodeURIComponent(ja):"")+"&extras="+encodeURIComponent(JSON.stringify(ca))+(0<G?"&dpi="+G:"")+"&bg="+(null!=z?z:"none")+"&w="+ea+"&h="+T+"&border="+B+"&xml="+encodeURIComponent(J))})}else"png"==l?c.exportImage(A,null==z||"none"==z,!0,!1,!1,B,!0,!1,null,L,G):c.exportImage(A,!1,!0,!1,!1,B,!0,!1,"jpeg",L);else mxUtils.alert(mxResources.get("drawingTooLarge"))}});
EditorUi.prototype.getDiagramTextContent=function(){this.editor.graph.setEnabled(!1);var c=this.editor.graph,f="";if(null!=this.pages)for(var l=0;l<this.pages.length;l++){var z=c;this.currentPage!=this.pages[l]&&(z=this.createTemporaryGraph(c.getStylesheet()),this.updatePageRoot(this.pages[l]),z.model.setRoot(this.pages[l].root));f+=this.pages[l].getName()+" "+z.getIndexableText()+" "}else f=c.getIndexableText();this.editor.graph.setEnabled(!0);return f};EditorUi.prototype.showRemotelyStoredLibrary=
function(c){var f={},l=document.createElement("div");l.style.whiteSpace="nowrap";var z=document.createElement("h3");mxUtils.write(z,mxUtils.htmlEntities(c));z.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:12px";l.appendChild(z);var A=document.createElement("div");A.style.cssText="border:1px solid lightGray;overflow: auto;height:300px";A.innerHTML='<div style="text-align:center;padding:8px;"><img src="'+IMAGE_PATH+'/spin.gif"></div>';var B={};try{var G=mxSettings.getCustomLibraries();
for(c=0;c<G.length;c++){var L=G[c];if("R"==L.substring(0,1)){var P=JSON.parse(decodeURIComponent(L.substring(1)));B[P[0]]={id:P[0],title:P[1],downloadUrl:P[2]}}}}catch(J){}this.remoteInvoke("getCustomLibraries",null,null,function(J){A.innerText="";if(0==J.length)A.innerHTML='<div style="text-align:center;padding-top:20px;color:gray;">'+mxUtils.htmlEntities(mxResources.get("noLibraries"))+"</div>";else for(var fa=0;fa<J.length;fa++){var ea=J[fa];B[ea.id]&&(f[ea.id]=ea);var T=this.addCheckbox(A,ea.title,
-B[ea.id]);(function(ca,ka){mxEvent.addListener(ka,"change",function(){this.checked?f[ca.id]=ca:delete f[ca.id]})})(ea,T)}},mxUtils.bind(this,function(J){A.innerText="";var fa=document.createElement("div");fa.style.padding="8px";fa.style.textAlign="center";mxUtils.write(fa,mxResources.get("error")+": ");mxUtils.write(fa,null!=J&&null!=J.message?J.message:mxResources.get("unknownError"));A.appendChild(fa)}));l.appendChild(A);l=new CustomDialog(this,l,mxUtils.bind(this,function(){this.spinner.spin(document.body,
+B[ea.id]);(function(ca,ja){mxEvent.addListener(ja,"change",function(){this.checked?f[ca.id]=ca:delete f[ca.id]})})(ea,T)}},mxUtils.bind(this,function(J){A.innerText="";var fa=document.createElement("div");fa.style.padding="8px";fa.style.textAlign="center";mxUtils.write(fa,mxResources.get("error")+": ");mxUtils.write(fa,null!=J&&null!=J.message?J.message:mxResources.get("unknownError"));A.appendChild(fa)}));l.appendChild(A);l=new CustomDialog(this,l,mxUtils.bind(this,function(){this.spinner.spin(document.body,
mxResources.get("loading"));var J=0,fa;for(fa in f)null==B[fa]&&(J++,mxUtils.bind(this,function(ea){this.remoteInvoke("getFileContent",[ea.downloadUrl],null,mxUtils.bind(this,function(T){J--;0==J&&this.spinner.stop();try{this.loadLibrary(new RemoteLibrary(this,T,ea)),this.showSidebar()}catch(ca){this.handleError(ca,mxResources.get("errorLoadingFile"))}}),mxUtils.bind(this,function(){J--;0==J&&this.spinner.stop();this.handleError(null,mxResources.get("errorLoadingFile"))}))})(f[fa]));for(fa in B)f[fa]||
this.closeLibrary(new RemoteLibrary(this,null,B[fa]));0==J&&this.spinner.stop()}),null,null,"https://www.drawio.com/doc/faq/custom-libraries-confluence-cloud");this.showDialog(l.container,340,390,!0,!0,null,null,null,null,!0)};EditorUi.prototype.remoteInvokableFns={getDiagramTextContent:{isAsync:!1},getLocalStorageFile:{isAsync:!1,allowedDomains:["app.diagrams.net"]},getLocalStorageFileNames:{isAsync:!1,allowedDomains:["app.diagrams.net"]},setMigratedFlag:{isAsync:!1,allowedDomains:["app.diagrams.net"]}};
EditorUi.prototype.remoteInvokeCallbacks=[];EditorUi.prototype.remoteInvokeQueue=[];EditorUi.prototype.handleRemoteInvokeReady=function(c){this.remoteWin=c;for(var f=0;f<this.remoteInvokeQueue.length;f++)c.postMessage(this.remoteInvokeQueue[f],"*");this.remoteInvokeQueue=[]};EditorUi.prototype.handleRemoteInvokeResponse=function(c){var f=c.msgMarkers,l=this.remoteInvokeCallbacks[f.callbackId];if(null==l)throw Error("No callback for "+(null!=f?f.callbackId:"null"));c.error?l.error&&l.error(c.error.errResp):
@@ -3983,9 +3981,9 @@ this.remoteInvokeCallbacks.push({callback:L,error:P});c=JSON.stringify({event:"r
A=this.remoteInvokableFns[z];if(null!=A&&"function"===typeof this[z]){if(A.allowedDomains){for(var B=!1,G=0;G<A.allowedDomains.length;G++)if(f=="https://"+A.allowedDomains[G]){B=!0;break}if(!B){l(null,"Invalid Call: "+z+" is not allowed.");return}}var L=c.functionArgs;Array.isArray(L)||(L=[]);if(A.isAsync)L.push(function(){l(Array.prototype.slice.apply(arguments))}),L.push(function(J){l(null,J||"Unkown Error")}),this[z].apply(this,L);else{var P=this[z].apply(this,L);l([P])}}else l(null,"Invalid Call: "+
z+" is not found.")}catch(J){l(null,"Invalid Call: An error occurred, "+J.message)}};EditorUi.prototype.openDatabase=function(c,f){if(null==this.database){var l=window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB;if(null!=l)try{var z=l.open("database",2);z.onupgradeneeded=function(A){try{var B=z.result;1>A.oldVersion&&B.createObjectStore("objects",{keyPath:"key"});2>A.oldVersion&&(B.createObjectStore("files",{keyPath:"title"}),B.createObjectStore("filesInfo",{keyPath:"title"}),EditorUi.migrateStorageFiles=
isLocalStorage)}catch(G){null!=f&&f(G)}};z.onsuccess=mxUtils.bind(this,function(A){try{var B=z.result;this.database=B;EditorUi.migrateStorageFiles&&(StorageFile.migrate(B),EditorUi.migrateStorageFiles=!1);"app.diagrams.net"!=location.host||this.drawioMigrationStarted||(this.drawioMigrationStarted=!0,this.getDatabaseItem(".drawioMigrated3",mxUtils.bind(this,function(G){if(!G||"1"==urlParams.forceMigration){var L=document.createElement("iframe");L.style.display="none";L.setAttribute("src","https://www.draw.io?embed=1&proto=json&forceMigration="+
-urlParams.forceMigration);document.body.appendChild(L);var P=!0,J=!1,fa,ea=0,T=mxUtils.bind(this,function(){J=!0;this.setDatabaseItem(".drawioMigrated3",!0);L.contentWindow.postMessage(JSON.stringify({action:"remoteInvoke",funtionName:"setMigratedFlag"}),"*")}),ca=mxUtils.bind(this,function(){ea++;ka()}),ka=mxUtils.bind(this,function(){try{if(ea>=fa.length)T();else{var aa=fa[ea];StorageFile.getFileContent(this,aa,mxUtils.bind(this,function(V){null==V||".scratchpad"==aa&&V==this.emptyLibraryXml?L.contentWindow.postMessage(JSON.stringify({action:"remoteInvoke",
+urlParams.forceMigration);document.body.appendChild(L);var P=!0,J=!1,fa,ea=0,T=mxUtils.bind(this,function(){J=!0;this.setDatabaseItem(".drawioMigrated3",!0);L.contentWindow.postMessage(JSON.stringify({action:"remoteInvoke",funtionName:"setMigratedFlag"}),"*")}),ca=mxUtils.bind(this,function(){ea++;ja()}),ja=mxUtils.bind(this,function(){try{if(ea>=fa.length)T();else{var aa=fa[ea];StorageFile.getFileContent(this,aa,mxUtils.bind(this,function(V){null==V||".scratchpad"==aa&&V==this.emptyLibraryXml?L.contentWindow.postMessage(JSON.stringify({action:"remoteInvoke",
funtionName:"getLocalStorageFile",functionArgs:[aa]}),"*"):ca()}),ca)}}catch(V){console.log(V)}}),ma=mxUtils.bind(this,function(aa){try{this.setDatabaseItem(null,[{title:aa.title,size:aa.data.length,lastModified:Date.now(),type:aa.isLib?"L":"F"},{title:aa.title,data:aa.data}],ca,ca,["filesInfo","files"])}catch(V){console.log(V)}});G=mxUtils.bind(this,function(aa){try{if(aa.source==L.contentWindow){var V={};try{V=JSON.parse(aa.data)}catch(da){}"init"==V.event?(L.contentWindow.postMessage(JSON.stringify({action:"remoteInvokeReady"}),
-"*"),L.contentWindow.postMessage(JSON.stringify({action:"remoteInvoke",funtionName:"getLocalStorageFileNames"}),"*")):"remoteInvokeResponse"!=V.event||J||(P?null!=V.resp&&0<V.resp.length&&null!=V.resp[0]?(fa=V.resp[0],P=!1,ka()):T():null!=V.resp&&0<V.resp.length&&null!=V.resp[0]?ma(V.resp[0]):ca())}}catch(da){console.log(da)}});window.addEventListener("message",G)}})));c(B);B.onversionchange=function(){B.close()}}catch(G){null!=f?f(G):null!=window.console&&console.warn(G)}});z.onerror=f;z.onblocked=
+"*"),L.contentWindow.postMessage(JSON.stringify({action:"remoteInvoke",funtionName:"getLocalStorageFileNames"}),"*")):"remoteInvokeResponse"!=V.event||J||(P?null!=V.resp&&0<V.resp.length&&null!=V.resp[0]?(fa=V.resp[0],P=!1,ja()):T():null!=V.resp&&0<V.resp.length&&null!=V.resp[0]?ma(V.resp[0]):ca())}}catch(da){console.log(da)}});window.addEventListener("message",G)}})));c(B);B.onversionchange=function(){B.close()}}catch(G){null!=f?f(G):null!=window.console&&console.warn(G)}});z.onerror=f;z.onblocked=
function(){}}catch(A){null!=f?f(A):null!=window.console&&console.error(A)}else null!=f&&f(Error("IndexedDB not supported"))}else c(this.database)};EditorUi.prototype.setDatabaseItem=function(c,f,l,z,A){this.openDatabase(mxUtils.bind(this,function(B){try{A=A||"objects";Array.isArray(A)||(A=[A],c=[c],f=[f]);var G=B.transaction(A,"readwrite");G.oncomplete=l;G.onerror=z;for(B=0;B<A.length;B++)G.objectStore(A[B]).put(null!=c&&null!=c[B]?{key:c[B],data:f[B]}:f[B])}catch(L){null!=z&&z(L)}}),z)};EditorUi.prototype.removeDatabaseItem=
function(c,f,l,z){this.openDatabase(mxUtils.bind(this,function(A){try{z=z||"objects";Array.isArray(z)||(z=[z],c=[c]);var B=A.transaction(z,"readwrite");B.oncomplete=f;B.onerror=l;for(A=0;A<z.length;A++)B.objectStore(z[A]).delete(c[A])}catch(G){null!=l&&l(G)}}),l)};EditorUi.prototype.getDatabaseItem=function(c,f,l,z){this.openDatabase(mxUtils.bind(this,function(A){try{z=z||"objects";var B=A.transaction([z],"readonly").objectStore(z).get(c);B.onsuccess=function(){f(B.result)};B.onerror=l}catch(G){null!=
l&&l(G)}}),l)};EditorUi.prototype.getDatabaseItems=function(c,f,l){this.openDatabase(mxUtils.bind(this,function(z){try{l=l||"objects";var A=z.transaction([l],"readonly").objectStore(l).openCursor(IDBKeyRange.lowerBound(0)),B=[];A.onsuccess=function(G){null==G.target.result?c(B):(B.push(G.target.result.value),G.target.result.continue())};A.onerror=f}catch(G){null!=f&&f(G)}}),f)};EditorUi.prototype.getDatabaseItemKeys=function(c,f,l){this.openDatabase(mxUtils.bind(this,function(z){try{l=l||"objects";
@@ -3993,32 +3991,32 @@ var A=z.transaction([l],"readonly").objectStore(l).getAllKeys();A.onsuccess=func
EditorUi.prototype.getComments=function(c,f){var l=this.getCurrentFile();null!=l?l.getComments(c,f):c([])};EditorUi.prototype.addComment=function(c,f,l){var z=this.getCurrentFile();null!=z?z.addComment(c,f,l):f(Date.now())};EditorUi.prototype.canReplyToReplies=function(){var c=this.getCurrentFile();return null!=c?c.canReplyToReplies():!0};EditorUi.prototype.canComment=function(){var c=this.getCurrentFile();return null!=c?c.canComment():!0};EditorUi.prototype.newComment=function(c,f){var l=this.getCurrentFile();
return null!=l?l.newComment(c,f):new DrawioComment(this,null,c,Date.now(),Date.now(),!1,f)};EditorUi.prototype.isRevisionHistorySupported=function(){var c=this.getCurrentFile();return null!=c&&c.isRevisionHistorySupported()};EditorUi.prototype.getRevisions=function(c,f){var l=this.getCurrentFile();null!=l&&l.getRevisions?l.getRevisions(c,f):f({message:mxResources.get("unknownError")})};EditorUi.prototype.isRevisionHistoryEnabled=function(){var c=this.getCurrentFile();return null!=c&&(c.constructor==
DriveFile&&c.isEditable()||c.constructor==DropboxFile)};EditorUi.prototype.getServiceName=function(){return"draw.io"};EditorUi.prototype.addRemoteServiceSecurityCheck=function(c){c.setRequestHeader("Content-Language","da, mi, en, de-DE")};EditorUi.prototype.loadUrl=function(c,f,l,z,A,B,G,L){EditorUi.logEvent("SHOULD NOT BE CALLED: loadUrl");return this.editor.loadUrl(c,f,l,z,A,B,G,L)};EditorUi.prototype.loadFonts=function(c){EditorUi.logEvent("SHOULD NOT BE CALLED: loadFonts");return this.editor.loadFonts(c)};
-EditorUi.prototype.createSvgDataUri=function(c){EditorUi.logEvent("SHOULD NOT BE CALLED: createSvgDataUri");return Editor.createSvgDataUri(c)};EditorUi.prototype.embedCssFonts=function(c,f){EditorUi.logEvent("SHOULD NOT BE CALLED: embedCssFonts");return this.editor.embedCssFonts(c,f)};EditorUi.prototype.embedExtFonts=function(c){EditorUi.logEvent("SHOULD NOT BE CALLED: embedExtFonts");return this.editor.embedExtFonts(c)};EditorUi.prototype.exportToCanvas=function(c,f,l,z,A,B,G,L,P,J,fa,ea,T,ca,ka,
-ma){EditorUi.logEvent("SHOULD NOT BE CALLED: exportToCanvas");return this.editor.exportToCanvas(c,f,l,z,A,B,G,L,P,J,fa,ea,T,ca,ka,ma)};EditorUi.prototype.createImageUrlConverter=function(){EditorUi.logEvent("SHOULD NOT BE CALLED: createImageUrlConverter");return this.editor.createImageUrlConverter()};EditorUi.prototype.convertImages=function(c,f,l,z){EditorUi.logEvent("SHOULD NOT BE CALLED: convertImages");return this.editor.convertImages(c,f,l,z)};EditorUi.prototype.convertImageToDataUri=function(c,
+EditorUi.prototype.createSvgDataUri=function(c){EditorUi.logEvent("SHOULD NOT BE CALLED: createSvgDataUri");return Editor.createSvgDataUri(c)};EditorUi.prototype.embedCssFonts=function(c,f){EditorUi.logEvent("SHOULD NOT BE CALLED: embedCssFonts");return this.editor.embedCssFonts(c,f)};EditorUi.prototype.embedExtFonts=function(c){EditorUi.logEvent("SHOULD NOT BE CALLED: embedExtFonts");return this.editor.embedExtFonts(c)};EditorUi.prototype.exportToCanvas=function(c,f,l,z,A,B,G,L,P,J,fa,ea,T,ca,ja,
+ma){EditorUi.logEvent("SHOULD NOT BE CALLED: exportToCanvas");return this.editor.exportToCanvas(c,f,l,z,A,B,G,L,P,J,fa,ea,T,ca,ja,ma)};EditorUi.prototype.createImageUrlConverter=function(){EditorUi.logEvent("SHOULD NOT BE CALLED: createImageUrlConverter");return this.editor.createImageUrlConverter()};EditorUi.prototype.convertImages=function(c,f,l,z){EditorUi.logEvent("SHOULD NOT BE CALLED: convertImages");return this.editor.convertImages(c,f,l,z)};EditorUi.prototype.convertImageToDataUri=function(c,
f){EditorUi.logEvent("SHOULD NOT BE CALLED: convertImageToDataUri");return this.editor.convertImageToDataUri(c,f)};EditorUi.prototype.base64Encode=function(c){EditorUi.logEvent("SHOULD NOT BE CALLED: base64Encode");return Editor.base64Encode(c)};EditorUi.prototype.updateCRC=function(c,f,l,z){EditorUi.logEvent("SHOULD NOT BE CALLED: updateCRC");return Editor.updateCRC(c,f,l,z)};EditorUi.prototype.crc32=function(c){EditorUi.logEvent("SHOULD NOT BE CALLED: crc32");return Editor.crc32(c)};EditorUi.prototype.writeGraphModelToPng=
function(c,f,l,z,A){EditorUi.logEvent("SHOULD NOT BE CALLED: writeGraphModelToPng");return Editor.writeGraphModelToPng(c,f,l,z,A)};EditorUi.prototype.getLocalStorageFileNames=function(){if("1"==localStorage.getItem(".localStorageMigrated")&&"1"!=urlParams.forceMigration)return null;for(var c=[],f=0;f<localStorage.length;f++){var l=localStorage.key(f),z=localStorage.getItem(l);if(0<l.length&&(".scratchpad"==l||"."!=l.charAt(0))&&0<z.length){var A="<mxfile "===z.substring(0,8)||"<?xml"===z.substring(0,
5)||"\x3c!--[if IE]>"===z.substring(0,12);z="<mxlibrary>"===z.substring(0,11);(A||z)&&c.push(l)}}return c};EditorUi.prototype.getLocalStorageFile=function(c){if("1"==localStorage.getItem(".localStorageMigrated")&&"1"!=urlParams.forceMigration)return null;var f=localStorage.getItem(c);return{title:c,data:f,isLib:"<mxlibrary>"===f.substring(0,11)}};EditorUi.prototype.setMigratedFlag=function(){localStorage.setItem(".localStorageMigrated","1")}})();
-var CommentsWindow=function(b,e,g,n,v,q){function C(){for(var T=B.getElementsByTagName("div"),ca=0,ka=0;ka<T.length;ka++)"none"!=T[ka].style.display&&T[ka].parentNode==B&&ca++;G.style.display=0==ca?"block":"none"}function H(T,ca,ka,ma){function aa(){ca.removeChild(k);ca.removeChild(t);da.style.display="block";V.style.display="block"}l={div:ca,comment:T,saveCallback:ka,deleteOnCancel:ma};var V=ca.querySelector(".geCommentTxt"),da=ca.querySelector(".geCommentActionsList"),k=document.createElement("textarea");
-k.className="geCommentEditTxtArea";k.style.minHeight=V.offsetHeight+"px";k.value=T.content;ca.insertBefore(k,V);var t=document.createElement("div");t.className="geCommentEditBtns";var I=mxUtils.button(mxResources.get("cancel"),function(){ma?(ca.parentNode.removeChild(ca),C()):aa();l=null});I.className="geCommentEditBtn";t.appendChild(I);var R=mxUtils.button(mxResources.get("save"),function(){V.innerText="";T.content=k.value;mxUtils.write(V,T.content);aa();ka(T);l=null});mxEvent.addListener(k,"keydown",
-mxUtils.bind(this,function(O){mxEvent.isConsumed(O)||((mxEvent.isControlDown(O)||mxClient.IS_MAC&&mxEvent.isMetaDown(O))&&13==O.keyCode?(R.click(),mxEvent.consume(O)):27==O.keyCode&&(I.click(),mxEvent.consume(O)))}));R.focus();R.className="geCommentEditBtn gePrimaryBtn";t.appendChild(R);ca.insertBefore(t,V);da.style.display="none";V.style.display="none";k.focus()}function U(T,ca){ca.innerText="";T=new Date(T.modifiedDate);var ka=b.timeSince(T);null==ka&&(ka=mxResources.get("lessThanAMinute"));mxUtils.write(ca,
-mxResources.get("timeAgo",[ka],"{1} ago"));ca.setAttribute("title",T.toLocaleDateString()+" "+T.toLocaleTimeString())}function F(T){var ca=document.createElement("img");ca.className="geCommentBusyImg";ca.src=IMAGE_PATH+"/spin.gif";T.appendChild(ca);T.busyImg=ca}function K(T){T.style.border="1px solid red";T.busyImg.parentNode==T&&T.removeChild(T.busyImg)}function S(T){T.style.border="";T.busyImg.parentNode==T&&T.removeChild(T.busyImg)}function W(T,ca,ka,ma,aa){function V(Z,ba,la){var qa=document.createElement("li");
-qa.className="geCommentAction";var pa=document.createElement("a");pa.className="geCommentActionLnk";mxUtils.write(pa,Z);qa.appendChild(pa);mxEvent.addListener(pa,"click",function(ra){ba(ra,T);ra.preventDefault();mxEvent.consume(ra)});X.appendChild(qa);la&&(qa.style.display="none")}function da(){function Z(qa){ba.push(la);if(null!=qa.replies)for(var pa=0;pa<qa.replies.length;pa++)la=la.nextSibling,Z(qa.replies[pa])}var ba=[],la=t;Z(T);return{pdiv:la,replies:ba}}function k(Z,ba,la,qa,pa){function ra(){F(Aa);
-T.addReply(ya,function(Na){ya.id=Na;T.replies.push(ya);S(Aa);la&&la()},function(Na){ua();K(Aa);b.handleError(Na,null,null,null,mxUtils.htmlEntities(mxResources.get("objectNotFound")))},qa,pa)}function ua(){H(ya,Aa,function(Na){ra()},!0)}var Ba=da().pdiv,ya=b.newComment(Z,b.getCurrentUser());ya.pCommentId=T.id;null==T.replies&&(T.replies=[]);var Aa=W(ya,T.replies,Ba,ma+1);ba?ua():ra()}if(aa||!T.isResolved){G.style.display="none";var t=document.createElement("div");t.className="geCommentContainer";
+var CommentsWindow=function(b,e,g,n,v,q){function C(){for(var T=B.getElementsByTagName("div"),ca=0,ja=0;ja<T.length;ja++)"none"!=T[ja].style.display&&T[ja].parentNode==B&&ca++;G.style.display=0==ca?"block":"none"}function H(T,ca,ja,ma){function aa(){ca.removeChild(k);ca.removeChild(t);da.style.display="block";V.style.display="block"}l={div:ca,comment:T,saveCallback:ja,deleteOnCancel:ma};var V=ca.querySelector(".geCommentTxt"),da=ca.querySelector(".geCommentActionsList"),k=document.createElement("textarea");
+k.className="geCommentEditTxtArea";k.style.minHeight=V.offsetHeight+"px";k.value=T.content;ca.insertBefore(k,V);var t=document.createElement("div");t.className="geCommentEditBtns";var I=mxUtils.button(mxResources.get("cancel"),function(){ma?(ca.parentNode.removeChild(ca),C()):aa();l=null});I.className="geCommentEditBtn";t.appendChild(I);var R=mxUtils.button(mxResources.get("save"),function(){V.innerText="";T.content=k.value;mxUtils.write(V,T.content);aa();ja(T);l=null});mxEvent.addListener(k,"keydown",
+mxUtils.bind(this,function(O){mxEvent.isConsumed(O)||((mxEvent.isControlDown(O)||mxClient.IS_MAC&&mxEvent.isMetaDown(O))&&13==O.keyCode?(R.click(),mxEvent.consume(O)):27==O.keyCode&&(I.click(),mxEvent.consume(O)))}));R.focus();R.className="geCommentEditBtn gePrimaryBtn";t.appendChild(R);ca.insertBefore(t,V);da.style.display="none";V.style.display="none";k.focus()}function U(T,ca){ca.innerText="";T=new Date(T.modifiedDate);var ja=b.timeSince(T);null==ja&&(ja=mxResources.get("lessThanAMinute"));mxUtils.write(ca,
+mxResources.get("timeAgo",[ja],"{1} ago"));ca.setAttribute("title",T.toLocaleDateString()+" "+T.toLocaleTimeString())}function F(T){var ca=document.createElement("img");ca.className="geCommentBusyImg";ca.src=IMAGE_PATH+"/spin.gif";T.appendChild(ca);T.busyImg=ca}function K(T){T.style.border="1px solid red";T.busyImg.parentNode==T&&T.removeChild(T.busyImg)}function S(T){T.style.border="";T.busyImg.parentNode==T&&T.removeChild(T.busyImg)}function W(T,ca,ja,ma,aa){function V(Z,ba,ka){var qa=document.createElement("li");
+qa.className="geCommentAction";var pa=document.createElement("a");pa.className="geCommentActionLnk";mxUtils.write(pa,Z);qa.appendChild(pa);mxEvent.addListener(pa,"click",function(ra){ba(ra,T);ra.preventDefault();mxEvent.consume(ra)});X.appendChild(qa);ka&&(qa.style.display="none")}function da(){function Z(qa){ba.push(ka);if(null!=qa.replies)for(var pa=0;pa<qa.replies.length;pa++)ka=ka.nextSibling,Z(qa.replies[pa])}var ba=[],ka=t;Z(T);return{pdiv:ka,replies:ba}}function k(Z,ba,ka,qa,pa){function ra(){F(Aa);
+T.addReply(xa,function(Na){xa.id=Na;T.replies.push(xa);S(Aa);ka&&ka()},function(Na){ua();K(Aa);b.handleError(Na,null,null,null,mxUtils.htmlEntities(mxResources.get("objectNotFound")))},qa,pa)}function ua(){H(xa,Aa,function(Na){ra()},!0)}var Ba=da().pdiv,xa=b.newComment(Z,b.getCurrentUser());xa.pCommentId=T.id;null==T.replies&&(T.replies=[]);var Aa=W(xa,T.replies,Ba,ma+1);ba?ua():ra()}if(aa||!T.isResolved){G.style.display="none";var t=document.createElement("div");t.className="geCommentContainer";
t.setAttribute("data-commentId",T.id);t.style.marginLeft=20*ma+5+"px";T.isResolved&&!Editor.isDarkMode()&&(t.style.backgroundColor="ghostWhite");var I=document.createElement("div");I.className="geCommentHeader";var R=document.createElement("img");R.className="geCommentUserImg";R.src=null!=T.user&&null!=T.user.pictureUrl?T.user.pictureUrl:Editor.userImage;I.appendChild(R);R=document.createElement("div");R.className="geCommentHeaderTxt";I.appendChild(R);var O=document.createElement("div");O.className=
"geCommentUsername";mxUtils.write(O,null!=T.user?T.user.displayName:mxResources.get("unknownUser"));R.appendChild(O);O=document.createElement("div");O.className="geCommentDate";O.setAttribute("data-commentId",T.id);U(T,O);R.appendChild(O);t.appendChild(I);I=document.createElement("div");I.className="geCommentTxt";mxUtils.write(I,T.content||"");t.appendChild(I);T.isLocked&&(t.style.opacity="0.5");I=document.createElement("div");I.className="geCommentActions";var X=document.createElement("ul");X.className=
"geCommentActionsList";I.appendChild(X);c||T.isLocked||0!=ma&&!f||V(mxResources.get("reply"),function(){k("",!0)},T.isResolved);R=b.getCurrentUser();null==R||null==T.user||R.id!=T.user.id||c||T.isLocked||(V(mxResources.get("edit"),function(){function Z(){H(T,t,function(){F(t);T.editComment(T.content,function(){S(t)},function(ba){K(t);Z();b.handleError(ba,null,null,null,mxUtils.htmlEntities(mxResources.get("objectNotFound")))})})}Z()},T.isResolved),V(mxResources.get("delete"),function(){b.confirm(mxResources.get("areYouSure"),
function(){F(t);T.deleteComment(function(Z){if(!0===Z){Z=t.querySelector(".geCommentTxt");Z.innerText="";mxUtils.write(Z,mxResources.get("msgDeleted"));var ba=t.querySelectorAll(".geCommentAction");for(Z=0;Z<ba.length;Z++)ba[Z].parentNode.removeChild(ba[Z]);S(t);t.style.opacity="0.5"}else{ba=da(T).replies;for(Z=0;Z<ba.length;Z++)B.removeChild(ba[Z]);for(Z=0;Z<ca.length;Z++)if(ca[Z]==T){ca.splice(Z,1);break}G.style.display=0==B.getElementsByTagName("div").length?"block":"none"}},function(Z){K(t);b.handleError(Z,
-null,null,null,mxUtils.htmlEntities(mxResources.get("objectNotFound")))})})},T.isResolved));c||T.isLocked||0!=ma||V(T.isResolved?mxResources.get("reopen"):mxResources.get("resolve"),function(Z){function ba(){var la=Z.target;la.innerText="";T.isResolved=!T.isResolved;mxUtils.write(la,T.isResolved?mxResources.get("reopen"):mxResources.get("resolve"));for(var qa=T.isResolved?"none":"",pa=da(T).replies,ra=Editor.isDarkMode()?"transparent":T.isResolved?"ghostWhite":"white",ua=0;ua<pa.length;ua++){pa[ua].style.backgroundColor=
-ra;for(var Ba=pa[ua].querySelectorAll(".geCommentAction"),ya=0;ya<Ba.length;ya++)Ba[ya]!=la.parentNode&&(Ba[ya].style.display=qa);J||(pa[ua].style.display="none")}C()}T.isResolved?k(mxResources.get("reOpened")+": ",!0,ba,!1,!0):k(mxResources.get("markedAsResolved"),!1,ba,!0)});t.appendChild(I);null!=ka?B.insertBefore(t,ka.nextSibling):B.appendChild(t);for(ka=0;null!=T.replies&&ka<T.replies.length;ka++)I=T.replies[ka],I.isResolved=T.isResolved,W(I,T.replies,null,ma+1,aa);null!=l&&(l.comment.id==T.id?
+null,null,null,mxUtils.htmlEntities(mxResources.get("objectNotFound")))})})},T.isResolved));c||T.isLocked||0!=ma||V(T.isResolved?mxResources.get("reopen"):mxResources.get("resolve"),function(Z){function ba(){var ka=Z.target;ka.innerText="";T.isResolved=!T.isResolved;mxUtils.write(ka,T.isResolved?mxResources.get("reopen"):mxResources.get("resolve"));for(var qa=T.isResolved?"none":"",pa=da(T).replies,ra=Editor.isDarkMode()?"transparent":T.isResolved?"ghostWhite":"white",ua=0;ua<pa.length;ua++){pa[ua].style.backgroundColor=
+ra;for(var Ba=pa[ua].querySelectorAll(".geCommentAction"),xa=0;xa<Ba.length;xa++)Ba[xa]!=ka.parentNode&&(Ba[xa].style.display=qa);J||(pa[ua].style.display="none")}C()}T.isResolved?k(mxResources.get("reOpened")+": ",!0,ba,!1,!0):k(mxResources.get("markedAsResolved"),!1,ba,!0)});t.appendChild(I);null!=ja?B.insertBefore(t,ja.nextSibling):B.appendChild(t);for(ja=0;null!=T.replies&&ja<T.replies.length;ja++)I=T.replies[ja],I.isResolved=T.isResolved,W(I,T.replies,null,ma+1,aa);null!=l&&(l.comment.id==T.id?
(aa=T.content,T.content=l.comment.content,H(T,t,l.saveCallback,l.deleteOnCancel),T.content=aa):null==l.comment.id&&l.comment.pCommentId==T.id&&(B.appendChild(l.div),H(l.comment,l.div,l.saveCallback,l.deleteOnCancel)));return t}}var c=!b.canComment(),f=b.canReplyToReplies(),l=null,z=document.createElement("div");z.className="geCommentsWin";z.style.background=Editor.isDarkMode()?Editor.darkColor:"whiteSmoke";var A=EditorUi.compactUi?"26px":"30px",B=document.createElement("div");B.className="geCommentsList";
B.style.backgroundColor=Editor.isDarkMode()?Editor.darkColor:"whiteSmoke";B.style.bottom=parseInt(A)+7+"px";z.appendChild(B);var G=document.createElement("span");G.style.cssText="display:none;padding-top:10px;text-align:center;";mxUtils.write(G,mxResources.get("noCommentsFound"));var L=document.createElement("div");L.className="geToolbarContainer geCommentsToolbar";L.style.height=A;L.style.padding=EditorUi.compactUi?"4px 0px 3px 0px":"1px";A=document.createElement("a");A.className="geButton";if(!c){var P=
-A.cloneNode();P.innerHTML='<div class="geSprite geSprite-plus" style="display:inline-block;"></div>';P.setAttribute("title",mxResources.get("create")+"...");mxEvent.addListener(P,"click",function(T){function ca(){H(ka,ma,function(aa){F(ma);b.addComment(aa,function(V){aa.id=V;fa.push(aa);S(ma)},function(V){K(ma);ca();b.handleError(V,null,null,null,mxUtils.htmlEntities(mxResources.get("objectNotFound")))})},!0)}var ka=b.newComment("",b.getCurrentUser()),ma=W(ka,fa,null,0);ca();T.preventDefault();mxEvent.consume(T)});
+A.cloneNode();P.innerHTML='<div class="geSprite geSprite-plus" style="display:inline-block;"></div>';P.setAttribute("title",mxResources.get("create")+"...");mxEvent.addListener(P,"click",function(T){function ca(){H(ja,ma,function(aa){F(ma);b.addComment(aa,function(V){aa.id=V;fa.push(aa);S(ma)},function(V){K(ma);ca();b.handleError(V,null,null,null,mxUtils.htmlEntities(mxResources.get("objectNotFound")))})},!0)}var ja=b.newComment("",b.getCurrentUser()),ma=W(ja,fa,null,0);ca();T.preventDefault();mxEvent.consume(T)});
L.appendChild(P)}P=A.cloneNode();P.innerHTML='<img class="geAdaptiveAsset" src="'+IMAGE_PATH+'/check.png" style="width: 16px; padding: 2px;">';P.setAttribute("title",mxResources.get("showResolved"));P.className="geButton";var J=!1;mxEvent.addListener(P,"click",function(T){this.className=(J=!J)?"geButton geCheckedBtn":"geButton";ea();T.preventDefault();mxEvent.consume(T)});L.appendChild(P);b.commentsRefreshNeeded()&&(P=A.cloneNode(),P.innerHTML='<img class="geAdaptiveAsset" src="'+IMAGE_PATH+'/update16.png" style="width: 16px; padding: 2px;">',
P.setAttribute("title",mxResources.get("refresh")),P.className="geButton",mxEvent.addListener(P,"click",function(T){ea();T.preventDefault();mxEvent.consume(T)}),L.appendChild(P));b.commentsSaveNeeded()&&(A=A.cloneNode(),A.innerHTML='<img src="'+IMAGE_PATH+'/save.png" style="width: 20px; padding: 2px;">',A.setAttribute("title",mxResources.get("save")),A.className="geButton geAdaptiveAsset",mxEvent.addListener(A,"click",function(T){q();T.preventDefault();mxEvent.consume(T)}),L.appendChild(A));z.appendChild(L);
-var fa=[],ea=mxUtils.bind(this,function(){this.hasError=!1;if(null!=l)try{l.div=l.div.cloneNode(!0);var T=l.div.querySelector(".geCommentEditTxtArea"),ca=l.div.querySelector(".geCommentEditBtns");l.comment.content=T.value;T.parentNode.removeChild(T);ca.parentNode.removeChild(ca)}catch(ka){b.handleError(ka)}B.innerHTML='<div style="padding-top:10px;text-align:center;"><img src="'+IMAGE_PATH+'/spin.gif" valign="middle"> '+mxUtils.htmlEntities(mxResources.get("loading"))+"...</div>";f=b.canReplyToReplies();
-b.commentsSupported()?b.getComments(function(ka){function ma(aa){if(null!=aa){aa.sort(function(da,k){return new Date(da.modifiedDate)-new Date(k.modifiedDate)});for(var V=0;V<aa.length;V++)ma(aa[V].replies)}}ka.sort(function(aa,V){return new Date(aa.modifiedDate)-new Date(V.modifiedDate)});B.innerText="";B.appendChild(G);G.style.display="block";fa=ka;for(ka=0;ka<fa.length;ka++)ma(fa[ka].replies),W(fa[ka],fa,null,0,J);null!=l&&null==l.comment.id&&null==l.comment.pCommentId&&(B.appendChild(l.div),H(l.comment,
-l.div,l.saveCallback,l.deleteOnCancel))},mxUtils.bind(this,function(ka){B.innerHTML=mxUtils.htmlEntities(mxResources.get("error")+(ka&&ka.message?": "+ka.message:""));this.hasError=!0})):B.innerHTML=mxUtils.htmlEntities(mxResources.get("error"))});ea();this.refreshComments=ea;L=mxUtils.bind(this,function(){function T(V){var da=ka[V.id];if(null!=da)for(U(V,da),da=0;null!=V.replies&&da<V.replies.length;da++)T(V.replies[da])}if(this.window.isVisible()){for(var ca=B.querySelectorAll(".geCommentDate"),
-ka={},ma=0;ma<ca.length;ma++){var aa=ca[ma];ka[aa.getAttribute("data-commentId")]=aa}for(ma=0;ma<fa.length;ma++)T(fa[ma])}});setInterval(L,6E4);this.refreshCommentsTime=L;this.window=new mxWindow(mxResources.get("comments"),z,e,g,n,v,!0,!0);this.window.minimumSize=new mxRectangle(0,0,260,200);this.window.destroyOnClose=!1;this.window.setMaximizable(!1);this.window.setResizable(!0);this.window.setClosable(!0);this.window.setVisible(!0);this.window.addListener(mxEvent.SHOW,mxUtils.bind(this,function(){this.window.fit()}));
+var fa=[],ea=mxUtils.bind(this,function(){this.hasError=!1;if(null!=l)try{l.div=l.div.cloneNode(!0);var T=l.div.querySelector(".geCommentEditTxtArea"),ca=l.div.querySelector(".geCommentEditBtns");l.comment.content=T.value;T.parentNode.removeChild(T);ca.parentNode.removeChild(ca)}catch(ja){b.handleError(ja)}B.innerHTML='<div style="padding-top:10px;text-align:center;"><img src="'+IMAGE_PATH+'/spin.gif" valign="middle"> '+mxUtils.htmlEntities(mxResources.get("loading"))+"...</div>";f=b.canReplyToReplies();
+b.commentsSupported()?b.getComments(function(ja){function ma(aa){if(null!=aa){aa.sort(function(da,k){return new Date(da.modifiedDate)-new Date(k.modifiedDate)});for(var V=0;V<aa.length;V++)ma(aa[V].replies)}}ja.sort(function(aa,V){return new Date(aa.modifiedDate)-new Date(V.modifiedDate)});B.innerText="";B.appendChild(G);G.style.display="block";fa=ja;for(ja=0;ja<fa.length;ja++)ma(fa[ja].replies),W(fa[ja],fa,null,0,J);null!=l&&null==l.comment.id&&null==l.comment.pCommentId&&(B.appendChild(l.div),H(l.comment,
+l.div,l.saveCallback,l.deleteOnCancel))},mxUtils.bind(this,function(ja){B.innerHTML=mxUtils.htmlEntities(mxResources.get("error")+(ja&&ja.message?": "+ja.message:""));this.hasError=!0})):B.innerHTML=mxUtils.htmlEntities(mxResources.get("error"))});ea();this.refreshComments=ea;L=mxUtils.bind(this,function(){function T(V){var da=ja[V.id];if(null!=da)for(U(V,da),da=0;null!=V.replies&&da<V.replies.length;da++)T(V.replies[da])}if(this.window.isVisible()){for(var ca=B.querySelectorAll(".geCommentDate"),
+ja={},ma=0;ma<ca.length;ma++){var aa=ca[ma];ja[aa.getAttribute("data-commentId")]=aa}for(ma=0;ma<fa.length;ma++)T(fa[ma])}});setInterval(L,6E4);this.refreshCommentsTime=L;this.window=new mxWindow(mxResources.get("comments"),z,e,g,n,v,!0,!0);this.window.minimumSize=new mxRectangle(0,0,260,200);this.window.destroyOnClose=!1;this.window.setMaximizable(!1);this.window.setResizable(!0);this.window.setClosable(!0);this.window.setVisible(!0);this.window.addListener(mxEvent.SHOW,mxUtils.bind(this,function(){this.window.fit()}));
b.installResizeHandler(this,!0)},ConfirmDialog=function(b,e,g,n,v,q,C,H,U,F,K){var S=document.createElement("div");S.style.textAlign="center";K=null!=K?K:44;var W=document.createElement("div");W.style.padding="6px";W.style.overflow="auto";W.style.maxHeight=K+"px";W.style.lineHeight="1.2em";mxUtils.write(W,e);S.appendChild(W);null!=F&&(W=document.createElement("div"),W.style.padding="6px 0 6px 0",e=document.createElement("img"),e.setAttribute("src",F),W.appendChild(e),S.appendChild(W));F=document.createElement("div");
F.style.textAlign="center";F.style.whiteSpace="nowrap";var c=document.createElement("input");c.setAttribute("type","checkbox");q=mxUtils.button(q||mxResources.get("cancel"),function(){b.hideDialog();null!=n&&n(c.checked)});q.className="geBtn";null!=H&&(q.innerHTML=H+"<br>"+q.innerHTML,q.style.paddingBottom="8px",q.style.paddingTop="8px",q.style.height="auto",q.style.width="40%");b.editor.cancelFirst&&F.appendChild(q);var f=mxUtils.button(v||mxResources.get("ok"),function(){b.hideDialog();null!=g&&
g(c.checked)});F.appendChild(f);null!=C?(f.innerHTML=C+"<br>"+f.innerHTML+"<br>",f.style.paddingBottom="8px",f.style.paddingTop="8px",f.style.height="auto",f.className="geBtn",f.style.width="40%"):f.className="geBtn gePrimaryBtn";b.editor.cancelFirst||F.appendChild(q);S.appendChild(F);U?(F.style.marginTop="10px",W=document.createElement("p"),W.style.marginTop="20px",W.style.marginBottom="0px",W.appendChild(c),v=document.createElement("span"),mxUtils.write(v," "+mxResources.get("rememberThisSetting")),
@@ -4100,12 +4098,12 @@ function(F){return this.isTreeEdge(F)}))};Graph.prototype.getIncomingTreeEdges=f
(V="1"==f.getCurrentCellStyle(aa).treeMoving);return V}function q(aa){var V=!1;null!=aa&&(aa=l.getParent(aa),V=f.view.getState(aa),V="tree"==(null!=V?V.style:f.getCellStyle(aa)).containerType);return V}function C(aa){var V=!1;null!=aa&&(aa=l.getParent(aa),V=f.view.getState(aa),f.view.getState(aa),V=null!=(null!=V?V.style:f.getCellStyle(aa)).childLayout);return V}function H(aa){aa=f.view.getState(aa);if(null!=aa){var V=f.getIncomingTreeEdges(aa.cell);if(0<V.length&&(V=f.view.getState(V[0]),null!=V&&
(V=V.absolutePoints,null!=V&&0<V.length&&(V=V[V.length-1],null!=V)))){if(V.y==aa.y&&Math.abs(V.x-aa.getCenterX())<aa.width/2)return mxConstants.DIRECTION_SOUTH;if(V.y==aa.y+aa.height&&Math.abs(V.x-aa.getCenterX())<aa.width/2)return mxConstants.DIRECTION_NORTH;if(V.x>aa.getCenterX())return mxConstants.DIRECTION_WEST}}return mxConstants.DIRECTION_EAST}function U(aa,V){V=null!=V?V:!0;f.model.beginUpdate();try{var da=f.model.getParent(aa),k=f.getIncomingTreeEdges(aa),t=f.cloneCells([k[0],aa]);f.model.setTerminal(t[0],
f.model.getTerminal(k[0],!0),!0);var I=H(aa),R=da.geometry;I==mxConstants.DIRECTION_SOUTH||I==mxConstants.DIRECTION_NORTH?t[1].geometry.x+=V?aa.geometry.width+10:-t[1].geometry.width-10:t[1].geometry.y+=V?aa.geometry.height+10:-t[1].geometry.height-10;f.view.currentRoot!=da&&(t[1].geometry.x-=R.x,t[1].geometry.y-=R.y);var O=f.view.getState(aa),X=f.view.scale;if(null!=O){var Z=mxRectangle.fromRectangle(O);I==mxConstants.DIRECTION_SOUTH||I==mxConstants.DIRECTION_NORTH?Z.x+=(V?aa.geometry.width+10:-t[1].geometry.width-
-10)*X:Z.y+=(V?aa.geometry.height+10:-t[1].geometry.height-10)*X;var ba=f.getOutgoingTreeEdges(f.model.getTerminal(k[0],!0));if(null!=ba){for(var la=I==mxConstants.DIRECTION_SOUTH||I==mxConstants.DIRECTION_NORTH,qa=R=k=0;qa<ba.length;qa++){var pa=f.model.getTerminal(ba[qa],!1);if(I==H(pa)){var ra=f.view.getState(pa);pa!=aa&&null!=ra&&(la&&V!=ra.getCenterX()<O.getCenterX()||!la&&V!=ra.getCenterY()<O.getCenterY())&&mxUtils.intersects(Z,ra)&&(k=10+Math.max(k,(Math.min(Z.x+Z.width,ra.x+ra.width)-Math.max(Z.x,
-ra.x))/X),R=10+Math.max(R,(Math.min(Z.y+Z.height,ra.y+ra.height)-Math.max(Z.y,ra.y))/X))}}la?R=0:k=0;for(qa=0;qa<ba.length;qa++)if(pa=f.model.getTerminal(ba[qa],!1),I==H(pa)&&(ra=f.view.getState(pa),pa!=aa&&null!=ra&&(la&&V!=ra.getCenterX()<O.getCenterX()||!la&&V!=ra.getCenterY()<O.getCenterY()))){var ua=[];f.traverse(ra.cell,!0,function(Ba,ya){var Aa=null!=ya&&f.isTreeEdge(ya);Aa&&ua.push(ya);(null==ya||Aa)&&ua.push(Ba);return null==ya||Aa});f.moveCells(ua,(V?1:-1)*k,(V?1:-1)*R)}}}return f.addCells(t,
-da)}finally{f.model.endUpdate()}}function F(aa){f.model.beginUpdate();try{var V=H(aa),da=f.getIncomingTreeEdges(aa),k=f.cloneCells([da[0],aa]);f.model.setTerminal(da[0],k[1],!1);f.model.setTerminal(k[0],k[1],!0);f.model.setTerminal(k[0],aa,!1);var t=f.model.getParent(aa),I=t.geometry,R=[];f.view.currentRoot!=t&&(k[1].geometry.x-=I.x,k[1].geometry.y-=I.y);f.traverse(aa,!0,function(Z,ba){var la=null!=ba&&f.isTreeEdge(ba);la&&R.push(ba);(null==ba||la)&&R.push(Z);return null==ba||la});var O=aa.geometry.width+
+10)*X:Z.y+=(V?aa.geometry.height+10:-t[1].geometry.height-10)*X;var ba=f.getOutgoingTreeEdges(f.model.getTerminal(k[0],!0));if(null!=ba){for(var ka=I==mxConstants.DIRECTION_SOUTH||I==mxConstants.DIRECTION_NORTH,qa=R=k=0;qa<ba.length;qa++){var pa=f.model.getTerminal(ba[qa],!1);if(I==H(pa)){var ra=f.view.getState(pa);pa!=aa&&null!=ra&&(ka&&V!=ra.getCenterX()<O.getCenterX()||!ka&&V!=ra.getCenterY()<O.getCenterY())&&mxUtils.intersects(Z,ra)&&(k=10+Math.max(k,(Math.min(Z.x+Z.width,ra.x+ra.width)-Math.max(Z.x,
+ra.x))/X),R=10+Math.max(R,(Math.min(Z.y+Z.height,ra.y+ra.height)-Math.max(Z.y,ra.y))/X))}}ka?R=0:k=0;for(qa=0;qa<ba.length;qa++)if(pa=f.model.getTerminal(ba[qa],!1),I==H(pa)&&(ra=f.view.getState(pa),pa!=aa&&null!=ra&&(ka&&V!=ra.getCenterX()<O.getCenterX()||!ka&&V!=ra.getCenterY()<O.getCenterY()))){var ua=[];f.traverse(ra.cell,!0,function(Ba,xa){var Aa=null!=xa&&f.isTreeEdge(xa);Aa&&ua.push(xa);(null==xa||Aa)&&ua.push(Ba);return null==xa||Aa});f.moveCells(ua,(V?1:-1)*k,(V?1:-1)*R)}}}return f.addCells(t,
+da)}finally{f.model.endUpdate()}}function F(aa){f.model.beginUpdate();try{var V=H(aa),da=f.getIncomingTreeEdges(aa),k=f.cloneCells([da[0],aa]);f.model.setTerminal(da[0],k[1],!1);f.model.setTerminal(k[0],k[1],!0);f.model.setTerminal(k[0],aa,!1);var t=f.model.getParent(aa),I=t.geometry,R=[];f.view.currentRoot!=t&&(k[1].geometry.x-=I.x,k[1].geometry.y-=I.y);f.traverse(aa,!0,function(Z,ba){var ka=null!=ba&&f.isTreeEdge(ba);ka&&R.push(ba);(null==ba||ka)&&R.push(Z);return null==ba||ka});var O=aa.geometry.width+
40,X=aa.geometry.height+40;V==mxConstants.DIRECTION_SOUTH?O=0:V==mxConstants.DIRECTION_NORTH?(O=0,X=-X):V==mxConstants.DIRECTION_WEST?(O=-O,X=0):V==mxConstants.DIRECTION_EAST&&(X=0);f.moveCells(R,O,X);return f.addCells(k,t)}finally{f.model.endUpdate()}}function K(aa,V){f.model.beginUpdate();try{var da=f.model.getParent(aa),k=f.getIncomingTreeEdges(aa),t=H(aa);0==k.length&&(k=[f.createEdge(da,null,"",null,null,f.createCurrentEdgeStyle())],t=V);var I=f.cloneCells([k[0],aa]);f.model.setTerminal(I[0],
-aa,!0);null==f.model.getTerminal(I[0],!1)&&(f.model.setTerminal(I[0],I[1],!1),f.applyNewEdgeStyle(I[1],[I[0]],t));k=f.getOutgoingTreeEdges(aa);var R=da.geometry;V=[];f.view.currentRoot==da&&(R=new mxRectangle);for(var O=0;O<k.length;O++){var X=f.model.getTerminal(k[O],!1);null!=X&&V.push(X)}var Z=f.view.getBounds(V),ba=f.view.translate,la=f.view.scale;t==mxConstants.DIRECTION_SOUTH?(I[1].geometry.x=null==Z?aa.geometry.x+(aa.geometry.width-I[1].geometry.width)/2:(Z.x+Z.width)/la-ba.x-R.x+10,I[1].geometry.y+=
-I[1].geometry.height-R.y+40):t==mxConstants.DIRECTION_NORTH?(I[1].geometry.x=null==Z?aa.geometry.x+(aa.geometry.width-I[1].geometry.width)/2:(Z.x+Z.width)/la-ba.x+-R.x+10,I[1].geometry.y-=I[1].geometry.height+R.y+40):(I[1].geometry.x=t==mxConstants.DIRECTION_WEST?I[1].geometry.x-(I[1].geometry.width+R.x+40):I[1].geometry.x+(I[1].geometry.width-R.x+40),I[1].geometry.y=null==Z?aa.geometry.y+(aa.geometry.height-I[1].geometry.height)/2:(Z.y+Z.height)/la-ba.y+-R.y+10);return f.addCells(I,da)}finally{f.model.endUpdate()}}
+aa,!0);null==f.model.getTerminal(I[0],!1)&&(f.model.setTerminal(I[0],I[1],!1),f.applyNewEdgeStyle(I[1],[I[0]],t));k=f.getOutgoingTreeEdges(aa);var R=da.geometry;V=[];f.view.currentRoot==da&&(R=new mxRectangle);for(var O=0;O<k.length;O++){var X=f.model.getTerminal(k[O],!1);null!=X&&V.push(X)}var Z=f.view.getBounds(V),ba=f.view.translate,ka=f.view.scale;t==mxConstants.DIRECTION_SOUTH?(I[1].geometry.x=null==Z?aa.geometry.x+(aa.geometry.width-I[1].geometry.width)/2:(Z.x+Z.width)/ka-ba.x-R.x+10,I[1].geometry.y+=
+I[1].geometry.height-R.y+40):t==mxConstants.DIRECTION_NORTH?(I[1].geometry.x=null==Z?aa.geometry.x+(aa.geometry.width-I[1].geometry.width)/2:(Z.x+Z.width)/ka-ba.x+-R.x+10,I[1].geometry.y-=I[1].geometry.height+R.y+40):(I[1].geometry.x=t==mxConstants.DIRECTION_WEST?I[1].geometry.x-(I[1].geometry.width+R.x+40):I[1].geometry.x+(I[1].geometry.width-R.x+40),I[1].geometry.y=null==Z?aa.geometry.y+(aa.geometry.height-I[1].geometry.height)/2:(Z.y+Z.height)/ka-ba.y+-R.y+10);return f.addCells(I,da)}finally{f.model.endUpdate()}}
function S(aa,V,da){aa=f.getOutgoingTreeEdges(aa);da=f.view.getState(da);var k=[];if(null!=da&&null!=aa){for(var t=0;t<aa.length;t++){var I=f.view.getState(f.model.getTerminal(aa[t],!1));null!=I&&(!V&&Math.min(I.x+I.width,da.x+da.width)>=Math.max(I.x,da.x)||V&&Math.min(I.y+I.height,da.y+da.height)>=Math.max(I.y,da.y))&&k.push(I)}k.sort(function(R,O){return V?R.x+R.width-O.x-O.width:R.y+R.height-O.y-O.height})}return k}function W(aa,V){var da=H(aa),k=V==mxConstants.DIRECTION_EAST||V==mxConstants.DIRECTION_WEST;
(da==mxConstants.DIRECTION_EAST||da==mxConstants.DIRECTION_WEST)==k&&da!=V?c.actions.get("selectParent").funct():da==V?(V=f.getOutgoingTreeEdges(aa),null!=V&&0<V.length&&f.setSelectionCell(f.model.getTerminal(V[0],!1))):(da=f.getIncomingTreeEdges(aa),null!=da&&0<da.length&&(k=S(f.model.getTerminal(da[0],!0),k,aa),aa=f.view.getState(aa),null!=aa&&(aa=mxUtils.indexOf(k,aa),0<=aa&&(aa+=V==mxConstants.DIRECTION_NORTH||V==mxConstants.DIRECTION_WEST?-1:1,0<=aa&&aa<=k.length-1&&f.setSelectionCell(k[aa].cell)))))}
var c=this,f=c.editor.graph,l=f.getModel(),z=c.menus.createPopupMenu;c.menus.createPopupMenu=function(aa,V,da){z.apply(this,arguments);if(1==f.getSelectionCount()){V=f.getSelectionCell();var k=f.getOutgoingTreeEdges(V);aa.addSeparator();0<k.length&&(n(f.getSelectionCell())&&this.addMenuItems(aa,["selectChildren"],null,da),this.addMenuItems(aa,["selectDescendants"],null,da));n(f.getSelectionCell())?(aa.addSeparator(),0<f.getIncomingTreeEdges(V).length&&this.addMenuItems(aa,["selectSiblings","selectParent"],
@@ -4115,9 +4113,9 @@ f.getIncomingTreeEdges(V),null!=aa&&0<aa.length?f.setSelectionCell(f.model.getTe
(aa=f.model.getChildren(f.model.getParent(V)));f.setSelectionCells(aa)}},null,null,"Alt+Shift+S");var A=f.removeCells;f.removeCells=function(aa,V){V=null!=V?V:!0;null==aa&&(aa=this.getDeletableCells(this.getSelectionCells()));V&&(aa=this.getDeletableCells(this.addAllEdges(aa)));for(var da=[],k=0;k<aa.length;k++){var t=aa[k];l.isEdge(t)&&q(t)&&(da.push(t),t=l.getTerminal(t,!1));if(n(t)){var I=[];f.traverse(t,!0,function(R,O){var X=null!=O&&f.isTreeEdge(O);X&&I.push(O);(null==O||X)&&I.push(R);return null==
O||X});0<I.length&&(da=da.concat(I),t=f.getIncomingTreeEdges(aa[k]),aa=aa.concat(t))}else null!=t&&da.push(aa[k])}aa=da;return A.apply(this,arguments)};c.hoverIcons.getStateAt=function(aa,V,da){return n(aa.cell)?null:this.graph.view.getState(this.graph.getCellAt(V,da))};var B=f.duplicateCells;f.duplicateCells=function(aa,V){aa=null!=aa?aa:this.getSelectionCells();for(var da=aa.slice(0),k=0;k<da.length;k++){var t=f.view.getState(da[k]);if(null!=t&&n(t.cell)){var I=f.getIncomingTreeEdges(t.cell);for(t=
0;t<I.length;t++)mxUtils.remove(I[t],aa)}}this.model.beginUpdate();try{var R=B.call(this,aa,V);if(R.length==aa.length)for(k=0;k<aa.length;k++)if(n(aa[k])){var O=f.getIncomingTreeEdges(R[k]);I=f.getIncomingTreeEdges(aa[k]);if(0==O.length&&0<I.length){var X=this.cloneCell(I[0]);this.addEdge(X,f.getDefaultParent(),this.model.getTerminal(I[0],!0),R[k])}}}finally{this.model.endUpdate()}return R};var G=f.moveCells;f.moveCells=function(aa,V,da,k,t,I,R){for(var O=null,X=[],Z=0;Z<aa.length;Z++)(v(aa[Z])||
-n(aa[Z]))&&!C(aa[Z])&&this.isCellCollapsed(aa[Z])?X=X.concat(this.getSubtree(aa[Z])):X.push(aa[Z]);aa=mxUtils.removeDuplicates(X);this.model.beginUpdate();try{X=t;var ba=this.getCurrentCellStyle(t);if(null!=aa&&n(t)&&"1"==mxUtils.getValue(ba,"treeFolding","0")){for(Z=0;Z<aa.length;Z++)if(n(aa[Z])||f.model.isEdge(aa[Z])&&null==f.model.getTerminal(aa[Z],!0)){t=f.model.getParent(aa[Z]);break}if(null!=X&&t!=X&&null!=this.view.getState(aa[0])){var la=f.getIncomingTreeEdges(aa[0]);if(0<la.length){var qa=
-f.view.getState(f.model.getTerminal(la[0],!0));if(null!=qa){var pa=f.view.getState(X);null!=pa&&(V=(pa.getCenterX()-qa.getCenterX())/f.view.scale,da=(pa.getCenterY()-qa.getCenterY())/f.view.scale)}}}}O=G.apply(this,arguments);if(null!=O&&null!=aa&&O.length==aa.length)for(Z=0;Z<O.length;Z++)if(this.model.isEdge(O[Z]))n(X)&&0>mxUtils.indexOf(O,this.model.getTerminal(O[Z],!0))&&this.model.setTerminal(O[Z],X,!0);else if(n(aa[Z])&&(la=f.getIncomingTreeEdges(aa[Z]),0<la.length))if(!k)n(X)&&0>mxUtils.indexOf(aa,
-this.model.getTerminal(la[0],!0))&&this.model.setTerminal(la[0],X,!0);else if(0==f.getIncomingTreeEdges(O[Z]).length){ba=X;if(null==ba||ba==f.model.getParent(aa[Z]))ba=f.model.getTerminal(la[0],!0);k=this.cloneCell(la[0]);this.addEdge(k,f.getDefaultParent(),ba,O[Z])}}finally{this.model.endUpdate()}return O};if(null!=c.sidebar){var L=c.sidebar.dropAndConnect;c.sidebar.dropAndConnect=function(aa,V,da,k){var t=f.model,I=null;t.beginUpdate();try{if(I=L.apply(this,arguments),n(aa))for(var R=0;R<I.length;R++)if(t.isEdge(I[R])&&
+n(aa[Z]))&&!C(aa[Z])&&this.isCellCollapsed(aa[Z])?X=X.concat(this.getSubtree(aa[Z])):X.push(aa[Z]);aa=mxUtils.removeDuplicates(X);this.model.beginUpdate();try{X=t;var ba=this.getCurrentCellStyle(t);if(null!=aa&&n(t)&&"1"==mxUtils.getValue(ba,"treeFolding","0")){for(Z=0;Z<aa.length;Z++)if(n(aa[Z])||f.model.isEdge(aa[Z])&&null==f.model.getTerminal(aa[Z],!0)){t=f.model.getParent(aa[Z]);break}if(null!=X&&t!=X&&null!=this.view.getState(aa[0])){var ka=f.getIncomingTreeEdges(aa[0]);if(0<ka.length){var qa=
+f.view.getState(f.model.getTerminal(ka[0],!0));if(null!=qa){var pa=f.view.getState(X);null!=pa&&(V=(pa.getCenterX()-qa.getCenterX())/f.view.scale,da=(pa.getCenterY()-qa.getCenterY())/f.view.scale)}}}}O=G.apply(this,arguments);if(null!=O&&null!=aa&&O.length==aa.length)for(Z=0;Z<O.length;Z++)if(this.model.isEdge(O[Z]))n(X)&&0>mxUtils.indexOf(O,this.model.getTerminal(O[Z],!0))&&this.model.setTerminal(O[Z],X,!0);else if(n(aa[Z])&&(ka=f.getIncomingTreeEdges(aa[Z]),0<ka.length))if(!k)n(X)&&0>mxUtils.indexOf(aa,
+this.model.getTerminal(ka[0],!0))&&this.model.setTerminal(ka[0],X,!0);else if(0==f.getIncomingTreeEdges(O[Z]).length){ba=X;if(null==ba||ba==f.model.getParent(aa[Z]))ba=f.model.getTerminal(ka[0],!0);k=this.cloneCell(ka[0]);this.addEdge(k,f.getDefaultParent(),ba,O[Z])}}finally{this.model.endUpdate()}return O};if(null!=c.sidebar){var L=c.sidebar.dropAndConnect;c.sidebar.dropAndConnect=function(aa,V,da,k){var t=f.model,I=null;t.beginUpdate();try{if(I=L.apply(this,arguments),n(aa))for(var R=0;R<I.length;R++)if(t.isEdge(I[R])&&
null==t.getTerminal(I[R],!0)){t.setTerminal(I[R],aa,!0);var O=f.getCellGeometry(I[R]);O.points=null;null!=O.getTerminalPoint(!0)&&O.setTerminalPoint(null,!0)}}finally{t.endUpdate()}return I}}var P={67:c.actions.get("selectChildren"),88:c.actions.get("selectDescendants"),80:c.actions.get("selectParent"),83:c.actions.get("selectSiblings")},J={67:c.actions.get("copyStyle"),86:c.actions.get("pasteStyle")},fa=c.onKeyDown;c.onKeyDown=function(aa){try{var V=f.getSelectionCell();if(f.isEnabled()&&!f.isEditing()&&
null!=V){var da=mxEvent.isAltDown(aa)&&mxEvent.isShiftDown(aa)?P[aa.keyCode]:mxEvent.isAltDown(aa)?J[aa.keyCode]:null;null!=da?(da.funct(aa),mxEvent.consume(aa)):n(V)&&(da=null,0<f.getIncomingTreeEdges(V).length&&(9==aa.which?da=mxEvent.isShiftDown(aa)?F(V):K(V):13==aa.which&&(da=U(V,!mxEvent.isShiftDown(aa)))),null!=da&&0<da.length?(1==da.length&&f.model.isEdge(da[0])?f.setSelectionCell(f.model.getTerminal(da[0],!1)):f.setSelectionCell(da[da.length-1]),null!=c.hoverIcons&&c.hoverIcons.update(f.view.getState(V)),
f.startEditingAtCell(V),mxEvent.consume(aa)):37==aa.keyCode?(W(V,mxConstants.DIRECTION_WEST),mxEvent.consume(aa)):38==aa.keyCode?(W(V,mxConstants.DIRECTION_NORTH),mxEvent.consume(aa)):39==aa.keyCode?(W(V,mxConstants.DIRECTION_EAST),mxEvent.consume(aa)):40==aa.keyCode&&(W(V,mxConstants.DIRECTION_SOUTH),mxEvent.consume(aa)))}}catch(k){c.handleError(k)}mxEvent.isConsumed(aa)||fa.apply(this,arguments)};var ea=f.connectVertex;f.connectVertex=function(aa,V,da,k,t,I,R){var O=f.getIncomingTreeEdges(aa);if(n(aa)){var X=
@@ -4125,7 +4123,7 @@ H(aa),Z=X==mxConstants.DIRECTION_EAST||X==mxConstants.DIRECTION_WEST,ba=V==mxCon
k||t});return V};var T=mxVertexHandler.prototype.refresh;mxVertexHandler.prototype.refresh=function(){T.apply(this,arguments);(v(this.state.cell)||n(this.state.cell))&&!C(this.state.cell)&&0<this.graph.getOutgoingTreeEdges(this.state.cell).length&&!this.graph.isCellCollapsed(this.state.cell)?null==this.moveHandle&&(this.moveHandle=mxUtils.createImage(Editor.moveImage),this.moveHandle.setAttribute("title","Move Subtree"),this.moveHandle.style.position="absolute",this.moveHandle.style.cursor="pointer",
this.moveHandle.style.width="24px",this.moveHandle.style.height="24px",this.graph.container.appendChild(this.moveHandle),this.redrawMoveHandle(),mxEvent.addGestureListeners(this.moveHandle,mxUtils.bind(this,function(aa){this.graph.graphHandler.start(this.state.cell,mxEvent.getClientX(aa),mxEvent.getClientY(aa),this.graph.getSubtree(this.state.cell));this.graph.graphHandler.cellWasClicked=!0;this.graph.isMouseTrigger=mxEvent.isMouseEvent(aa);this.graph.isMouseDown=!0;c.hoverIcons.reset();mxEvent.consume(aa)}))):
null!=this.moveHandle&&(this.moveHandle.parentNode.removeChild(this.moveHandle),this.moveHandle=null)};var ca=mxVertexHandler.prototype.redrawHandles;mxVertexHandler.prototype.redrawHandles=function(){ca.apply(this,arguments);this.redrawMoveHandle()};mxVertexHandler.prototype.redrawMoveHandle=function(){null!=this.moveHandle&&(this.moveHandle.style.left=this.state.x+this.state.width+(40>this.state.width?10:0)+2+"px",this.moveHandle.style.top=this.state.y+this.state.height+(40>this.state.height?10:
-0)+2+"px")};var ka=mxVertexHandler.prototype.setHandlesVisible;mxVertexHandler.prototype.setHandlesVisible=function(aa){ka.apply(this,arguments);null!=this.moveHandle&&(this.moveHandle.style.display=aa?"":"none")};var ma=mxVertexHandler.prototype.destroy;mxVertexHandler.prototype.destroy=function(aa,V){ma.apply(this,arguments);null!=this.moveHandle&&(this.moveHandle.parentNode.removeChild(this.moveHandle),this.moveHandle=null)}};if("undefined"!==typeof Sidebar){var g=Sidebar.prototype.createAdvancedShapes;
+0)+2+"px")};var ja=mxVertexHandler.prototype.setHandlesVisible;mxVertexHandler.prototype.setHandlesVisible=function(aa){ja.apply(this,arguments);null!=this.moveHandle&&(this.moveHandle.style.display=aa?"":"none")};var ma=mxVertexHandler.prototype.destroy;mxVertexHandler.prototype.destroy=function(aa,V){ma.apply(this,arguments);null!=this.moveHandle&&(this.moveHandle.parentNode.removeChild(this.moveHandle),this.moveHandle=null)}};if("undefined"!==typeof Sidebar){var g=Sidebar.prototype.createAdvancedShapes;
Sidebar.prototype.createAdvancedShapes=function(){var n=g.apply(this,arguments),v=this.graph,q=this;return n.concat([this.addEntry("tree container",function(){var C=new mxCell("Tree Container",new mxGeometry(0,0,400,320),"swimlane;startSize=20;horizontal=1;containerType=tree;");C.vertex=!0;var H=new mxCell("Parent",new mxGeometry(140,60,120,40),'whiteSpace=wrap;html=1;treeFolding=1;treeMoving=1;newEdgeStyle={"edgeStyle":"elbowEdgeStyle","startArrow":"none","endArrow":"none"};');H.vertex=!0;var U=
new mxCell("Child",new mxGeometry(140,140,120,40),'whiteSpace=wrap;html=1;treeFolding=1;treeMoving=1;newEdgeStyle={"edgeStyle":"elbowEdgeStyle","startArrow":"none","endArrow":"none"};');U.vertex=!0;var F=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=elbowEdgeStyle;elbow=vertical;sourcePerimeterSpacing=0;targetPerimeterSpacing=0;startArrow=none;endArrow=none;rounded=0;curved=0;");F.geometry.relative=!0;F.edge=!0;H.insertEdge(F,!0);U.insertEdge(F,!1);C.insert(F);C.insert(H);C.insert(U);return q.createVertexTemplateFromCells([C],
C.geometry.width,C.geometry.height,C.value)}),this.addEntry("tree mindmap mindmaps central idea branch topic",function(){var C=new mxCell("Mindmap",new mxGeometry(0,0,420,126),"swimlane;startSize=20;horizontal=1;containerType=tree;");C.vertex=!0;var H=new mxCell("Central Idea",new mxGeometry(160,60,100,40),'ellipse;whiteSpace=wrap;html=1;align=center;treeFolding=1;treeMoving=1;newEdgeStyle={"edgeStyle":"entityRelationEdgeStyle","startArrow":"none","endArrow":"none","segment":10,"curved":1,"sourcePerimeterSpacing":0,"targetPerimeterSpacing":0};');
@@ -4162,26 +4160,26 @@ EditorUi.prototype.chromelessWindowResize=function(){};var F=Menus.prototype.ini
mxResources.get("mermaid")+"...","mermaid");W.showDialog(l.container,620,420,!0,!1);l.init()}));var c="horizontalFlow verticalFlow - horizontalTree verticalTree radialTree - organic circle".split(" "),f=function(l,z,A,B){l.addItem(A,null,mxUtils.bind(this,function(){var G=new CreateGraphDialog(W,A,B);W.showDialog(G.container,620,420,!0,!1);G.init()}),z)};this.put("insertLayout",new Menu(mxUtils.bind(this,function(l,z){for(var A=0;A<c.length;A++)"-"==c[A]?l.addSeparator(z):f(l,z,mxResources.get(c[A])+
"...",c[A])})))};EditorUi.prototype.installFormatToolbar=function(W){var c=this.editor.graph,f=document.createElement("div");f.style.cssText="position:absolute;top:10px;z-index:1;border-radius:4px;box-shadow:0px 0px 3px 1px #d1d1d1;padding:6px;white-space:nowrap;background-color:#fff;transform:translate(-50%, 0);left:50%;";c.getSelectionModel().addListener(mxEvent.CHANGE,mxUtils.bind(this,function(l,z){0<c.getSelectionCount()?(W.appendChild(f),f.innerHTML="Selected: "+c.getSelectionCount()):null!=
f.parentNode&&f.parentNode.removeChild(f)}))};var K=!1;EditorUi.prototype.initFormatWindow=function(){if(!K&&null!=this.formatWindow){K=!0;var W=this.formatWindow.window.toggleMinimized,c=240;this.formatWindow.window.toggleMinimized=function(){W.apply(this,arguments);this.minimized?(c=parseInt(this.div.style.width),this.div.style.width="140px",this.table.style.width="140px",this.div.style.left=parseInt(this.div.style.left)+c-140+"px"):(this.div.style.width=c+"px",this.table.style.width=this.div.style.width,
-this.div.style.left=Math.max(0,parseInt(this.div.style.left)-c+140)+"px");this.fit()};mxEvent.addListener(this.formatWindow.window.title,"dblclick",mxUtils.bind(this,function(f){mxEvent.getSource(f)==this.formatWindow.window.title&&this.formatWindow.window.toggleMinimized()}))}};var S=EditorUi.prototype.init;EditorUi.prototype.init=function(){function W(la,qa,pa){var ra=B.menus.get(la),ua=J.addMenu(mxResources.get(la),mxUtils.bind(this,function(){ua.classList.contains("mxDisabled")||ra.funct.apply(this,
-arguments)}),P);ua.className="geMenuItem";ua.style.display="inline-block";ua.style.boxSizing="border-box";ua.style.top="6px";ua.style.marginRight="6px";ua.style.height="30px";ua.style.paddingTop="6px";ua.style.paddingBottom="6px";ua.style.cursor="pointer";ua.setAttribute("title",mxResources.get(la));B.menus.menuCreated(ra,ua,"geMenuItem");null!=pa?(ua.style.backgroundImage="url("+pa+")",ua.style.backgroundPosition="center center",ua.style.backgroundRepeat="no-repeat",ua.style.backgroundSize="24px 24px",
-ua.style.width="34px",ua.innerText=""):qa||(ua.style.backgroundImage="url("+mxWindow.prototype.normalizeImage+")",ua.style.backgroundPosition="right 6px center",ua.style.backgroundRepeat="no-repeat",ua.style.paddingRight="22px");return ua}function c(la,qa,pa,ra,ua,Ba){var ya=document.createElement("a");ya.className="geMenuItem";ya.style.display="inline-block";ya.style.boxSizing="border-box";ya.style.height="30px";ya.style.padding="6px";ya.style.position="relative";ya.style.verticalAlign="top";ya.style.top=
-"0px";null!=B.statusContainer?L.insertBefore(ya,B.statusContainer):L.appendChild(ya);null!=Ba?(ya.style.backgroundImage="url("+Ba+")",ya.style.backgroundPosition="center center",ya.style.backgroundRepeat="no-repeat",ya.style.backgroundSize="24px 24px",ya.style.width="34px"):mxUtils.write(ya,la);mxEvent.addListener(ya,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(Aa){Aa.preventDefault()}));mxEvent.addListener(ya,"click",function(Aa){"disabled"!=ya.getAttribute("disabled")&&
-qa(Aa);mxEvent.consume(Aa)});null==pa&&(ya.style.marginRight="4px");null!=ra&&ya.setAttribute("title",ra);null!=ua&&(la=function(){ua.isEnabled()?(ya.removeAttribute("disabled"),ya.style.cursor="pointer"):(ya.setAttribute("disabled","disabled"),ya.style.cursor="default")},ua.addListener("stateChanged",la),G.addListener("enabledChanged",la),la());return ya}function f(la,qa,pa){pa=document.createElement("div");pa.className="geMenuItem";pa.style.display="inline-block";pa.style.verticalAlign="top";pa.style.marginRight=
-"6px";pa.style.padding="0 4px 0 4px";pa.style.height="30px";pa.style.position="relative";pa.style.top="0px";for(var ra=0;ra<la.length;ra++)null!=la[ra]&&(la[ra].style.margin="0px",la[ra].style.boxShadow="none",pa.appendChild(la[ra]));null!=qa&&mxUtils.setOpacity(pa,qa);null!=B.statusContainer?L.insertBefore(pa,B.statusContainer):L.appendChild(pa);return pa}function l(){for(var la=L.firstChild;null!=la;){var qa=la.nextSibling;"geMenuItem"!=la.className&&"geItem"!=la.className||la.parentNode.removeChild(la);
-la=qa}P=L.firstChild;n=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth;la=1E3>n;var pa=null;la||(pa=W("diagram"));qa=la?W("diagram",null,Editor.menuImage):null;null!=qa&&(pa=qa);f([pa,c(mxResources.get("shapes"),B.actions.get("toggleShapes").funct,null,mxResources.get("shapes"),B.actions.get("image"),la?Editor.shapesImage:null),c(mxResources.get("format"),B.actions.get("format").funct,null,mxResources.get("format")+" ("+B.actions.get("format").shortcut+")",B.actions.get("image"),
-la?Editor.formatImage:null)],la?60:null);qa=W("insert",!0,la?T:null);f([qa,c(mxResources.get("delete"),B.actions.get("delete").funct,null,mxResources.get("delete"),B.actions.get("delete"),la?Editor.trashImage:null)],la?60:null);G.isEnabled()||qa.classList.add("mxDisabled");411<=n&&(f([R,O],60),520<=n&&f([X,640<=n?c("",V.funct,!0,mxResources.get("zoomIn")+" ("+Editor.ctrlKey+" +)",V,Editor.zoomInImage):null,640<=n?c("",da.funct,!0,mxResources.get("zoomOut")+" ("+Editor.ctrlKey+" -)",da,Editor.zoomOutImage):
+this.div.style.left=Math.max(0,parseInt(this.div.style.left)-c+140)+"px");this.fit()};mxEvent.addListener(this.formatWindow.window.title,"dblclick",mxUtils.bind(this,function(f){mxEvent.getSource(f)==this.formatWindow.window.title&&this.formatWindow.window.toggleMinimized()}))}};var S=EditorUi.prototype.init;EditorUi.prototype.init=function(){function W(ka,qa,pa){var ra=B.menus.get(ka),ua=J.addMenu(mxResources.get(ka),mxUtils.bind(this,function(){ua.classList.contains("mxDisabled")||ra.funct.apply(this,
+arguments)}),P);ua.className="geMenuItem";ua.style.display="inline-block";ua.style.boxSizing="border-box";ua.style.top="6px";ua.style.marginRight="6px";ua.style.height="30px";ua.style.paddingTop="6px";ua.style.paddingBottom="6px";ua.style.cursor="pointer";ua.setAttribute("title",mxResources.get(ka));B.menus.menuCreated(ra,ua,"geMenuItem");null!=pa?(ua.style.backgroundImage="url("+pa+")",ua.style.backgroundPosition="center center",ua.style.backgroundRepeat="no-repeat",ua.style.backgroundSize="24px 24px",
+ua.style.width="34px",ua.innerText=""):qa||(ua.style.backgroundImage="url("+mxWindow.prototype.normalizeImage+")",ua.style.backgroundPosition="right 6px center",ua.style.backgroundRepeat="no-repeat",ua.style.paddingRight="22px");return ua}function c(ka,qa,pa,ra,ua,Ba){var xa=document.createElement("a");xa.className="geMenuItem";xa.style.display="inline-block";xa.style.boxSizing="border-box";xa.style.height="30px";xa.style.padding="6px";xa.style.position="relative";xa.style.verticalAlign="top";xa.style.top=
+"0px";null!=B.statusContainer?L.insertBefore(xa,B.statusContainer):L.appendChild(xa);null!=Ba?(xa.style.backgroundImage="url("+Ba+")",xa.style.backgroundPosition="center center",xa.style.backgroundRepeat="no-repeat",xa.style.backgroundSize="24px 24px",xa.style.width="34px"):mxUtils.write(xa,ka);mxEvent.addListener(xa,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(Aa){Aa.preventDefault()}));mxEvent.addListener(xa,"click",function(Aa){"disabled"!=xa.getAttribute("disabled")&&
+qa(Aa);mxEvent.consume(Aa)});null==pa&&(xa.style.marginRight="4px");null!=ra&&xa.setAttribute("title",ra);null!=ua&&(ka=function(){ua.isEnabled()?(xa.removeAttribute("disabled"),xa.style.cursor="pointer"):(xa.setAttribute("disabled","disabled"),xa.style.cursor="default")},ua.addListener("stateChanged",ka),G.addListener("enabledChanged",ka),ka());return xa}function f(ka,qa,pa){pa=document.createElement("div");pa.className="geMenuItem";pa.style.display="inline-block";pa.style.verticalAlign="top";pa.style.marginRight=
+"6px";pa.style.padding="0 4px 0 4px";pa.style.height="30px";pa.style.position="relative";pa.style.top="0px";for(var ra=0;ra<ka.length;ra++)null!=ka[ra]&&(ka[ra].style.margin="0px",ka[ra].style.boxShadow="none",pa.appendChild(ka[ra]));null!=qa&&mxUtils.setOpacity(pa,qa);null!=B.statusContainer?L.insertBefore(pa,B.statusContainer):L.appendChild(pa);return pa}function l(){for(var ka=L.firstChild;null!=ka;){var qa=ka.nextSibling;"geMenuItem"!=ka.className&&"geItem"!=ka.className||ka.parentNode.removeChild(ka);
+ka=qa}P=L.firstChild;n=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth;ka=1E3>n;var pa=null;ka||(pa=W("diagram"));qa=ka?W("diagram",null,Editor.menuImage):null;null!=qa&&(pa=qa);f([pa,c(mxResources.get("shapes"),B.actions.get("toggleShapes").funct,null,mxResources.get("shapes"),B.actions.get("image"),ka?Editor.shapesImage:null),c(mxResources.get("format"),B.actions.get("format").funct,null,mxResources.get("format")+" ("+B.actions.get("format").shortcut+")",B.actions.get("image"),
+ka?Editor.formatImage:null)],ka?60:null);qa=W("insert",!0,ka?T:null);f([qa,c(mxResources.get("delete"),B.actions.get("delete").funct,null,mxResources.get("delete"),B.actions.get("delete"),ka?Editor.trashImage:null)],ka?60:null);G.isEnabled()||qa.classList.add("mxDisabled");411<=n&&(f([R,O],60),520<=n&&f([X,640<=n?c("",V.funct,!0,mxResources.get("zoomIn")+" ("+Editor.ctrlKey+" +)",V,Editor.zoomInImage):null,640<=n?c("",da.funct,!0,mxResources.get("zoomOut")+" ("+Editor.ctrlKey+" -)",da,Editor.zoomOutImage):
null],60))}S.apply(this,arguments);var z=Editor.enableCustomLibraries&&("1"!=urlParams.embed||"1"==urlParams.libraries),A=document.createElement("div");A.style.cssText="position:absolute;left:0px;right:0px;top:0px;overflow-y:auto;overflow-x:hidden;";A.style.bottom=z?"32px":"0px";this.sidebar=this.createSidebar(A);if(1E3<=n||null!=urlParams.clibs||null!=urlParams.libs||null!=urlParams["search-shapes"])g(this,!0),null!=this.sidebar&&null!=urlParams["search-shapes"]&&null!=this.sidebar.searchShapes&&
(this.sidebar.searchShapes(urlParams["search-shapes"]),this.sidebar.showEntries("search"));EditorUi.windowed&&1E3<=n&&(b(this,!0),this.formatWindow.window.setVisible(!0));var B=this,G=B.editor.graph;B.toolbar=this.createToolbar(B.createDiv("geToolbar"));B.defaultLibraryName=mxResources.get("untitledLibrary");var L=document.createElement("div");L.className="geMenubarContainer";var P=null,J=new Menubar(B,L);B.statusContainer=B.createStatusContainer();B.statusContainer.style.position="relative";B.statusContainer.style.maxWidth=
-"";B.statusContainer.style.color="gray";B.statusContainer.style.cursor="default";var fa=B.hideCurrentMenu;B.hideCurrentMenu=function(){fa.apply(this,arguments);this.editor.graph.popupMenuHandler.hideMenu()};var ea=B.descriptorChanged;B.descriptorChanged=function(){ea.apply(this,arguments);var la=B.getCurrentFile();if(null!=la&&null!=la.getTitle()){var qa=la.getMode();"google"==qa?qa="googleDrive":"github"==qa?qa="gitHub":"gitlab"==qa?qa="gitLab":"onedrive"==qa&&(qa="oneDrive");qa=mxResources.get(qa);
-L.setAttribute("title",la.getTitle()+(null!=qa?" ("+qa+")":""))}else L.removeAttribute("title")};B.setStatusText(B.editor.getStatus());L.appendChild(B.statusContainer);B.buttonContainer=document.createElement("div");B.buttonContainer.style.cssText="display:flex;justify-content:flex-end;padding-right:10px;gap:6px;white-space:nowrap;background-color:inherit;align-items:center;min-width:0;margin-left:auto;";L.appendChild(B.buttonContainer);B.menubarContainer=B.buttonContainer;B.tabContainer=document.createElement("div");
+"";B.statusContainer.style.color="gray";B.statusContainer.style.cursor="default";var fa=B.hideCurrentMenu;B.hideCurrentMenu=function(){fa.apply(this,arguments);this.editor.graph.popupMenuHandler.hideMenu()};var ea=B.descriptorChanged;B.descriptorChanged=function(){ea.apply(this,arguments);var ka=B.getCurrentFile();if(null!=ka&&null!=ka.getTitle()){var qa=ka.getMode();"google"==qa?qa="googleDrive":"github"==qa?qa="gitHub":"gitlab"==qa?qa="gitLab":"onedrive"==qa&&(qa="oneDrive");qa=mxResources.get(qa);
+L.setAttribute("title",ka.getTitle()+(null!=qa?" ("+qa+")":""))}else L.removeAttribute("title")};B.setStatusText(B.editor.getStatus());L.appendChild(B.statusContainer);B.buttonContainer=document.createElement("div");B.buttonContainer.style.cssText="display:flex;justify-content:flex-end;padding-right:10px;gap:6px;white-space:nowrap;background-color:inherit;align-items:center;min-width:0;margin-left:auto;";L.appendChild(B.buttonContainer);B.menubarContainer=B.buttonContainer;B.tabContainer=document.createElement("div");
B.tabContainer.className="geTabContainer geTabItem";B.tabContainer.style.cssText="position:absolute;left:0px;right:0px;bottom:0px;height:30px;white-space:nowrap;visibility:hidden;";z=B.diagramContainer.parentNode;A=document.createElement("div");A.style.cssText="position:absolute;top:0px;left:0px;right:0px;bottom:0px;overflow:hidden;";B.diagramContainer.style.top="47px";var T=Editor.addBoxImage;if(null!=B.hoverIcons){var ca=B.hoverIcons.update;B.hoverIcons.update=function(){G.freehand.isDrawing()||
-ca.apply(this,arguments)}}if(null!=G.freehand){var ka=G.freehand.createStyle;G.freehand.createStyle=function(la){return ka.apply(this,arguments)+"sketch=0;"}}B.editor.addListener("statusChanged",mxUtils.bind(this,function(){B.setStatusText(B.editor.getStatus())}));B.setStatusText(B.editor.getStatus());var ma=B.menus.get("viewZoom");if(null!=ma){var aa=function(la){if(mxEvent.isAltDown(la))B.hideCurrentMenu(),B.actions.get("customZoom").funct(),mxEvent.consume(la);else if("geMenuItem"==mxEvent.getSource(la).className||
-mxEvent.isShiftDown(la))B.hideCurrentMenu(),B.actions.get("smartFit").funct(),mxEvent.consume(la)},V=B.actions.get("zoomIn"),da=B.actions.get("zoomOut"),k=B.actions.get("resetView"),t=B.actions.get("undo"),I=B.actions.get("redo"),R=c("",t.funct,null,mxResources.get("undo")+" ("+t.shortcut+")",t,Editor.undoImage),O=c("",I.funct,null,mxResources.get("redo")+" ("+I.shortcut+")",I,Editor.redoImage),X=c("",aa,!0,mxResources.get("fit")+" ("+Editor.ctrlKey+"+H)",k,Editor.zoomFitImage);L.style.cssText="position:absolute;left:0px;right:0px;top:0px;height:30px;padding:8px;text-align:left;white-space:nowrap;";
+ca.apply(this,arguments)}}if(null!=G.freehand){var ja=G.freehand.createStyle;G.freehand.createStyle=function(ka){return ja.apply(this,arguments)+"sketch=0;"}}B.editor.addListener("statusChanged",mxUtils.bind(this,function(){B.setStatusText(B.editor.getStatus())}));B.setStatusText(B.editor.getStatus());var ma=B.menus.get("viewZoom");if(null!=ma){var aa=function(ka){if(mxEvent.isAltDown(ka))B.hideCurrentMenu(),B.actions.get("customZoom").funct(),mxEvent.consume(ka);else if("geMenuItem"==mxEvent.getSource(ka).className||
+mxEvent.isShiftDown(ka))B.hideCurrentMenu(),B.actions.get("smartFit").funct(),mxEvent.consume(ka)},V=B.actions.get("zoomIn"),da=B.actions.get("zoomOut"),k=B.actions.get("resetView"),t=B.actions.get("undo"),I=B.actions.get("redo"),R=c("",t.funct,null,mxResources.get("undo")+" ("+t.shortcut+")",t,Editor.undoImage),O=c("",I.funct,null,mxResources.get("redo")+" ("+I.shortcut+")",I,Editor.redoImage),X=c("",aa,!0,mxResources.get("fit")+" ("+Editor.ctrlKey+"+H)",k,Editor.zoomFitImage);L.style.cssText="position:absolute;left:0px;right:0px;top:0px;height:30px;padding:8px;text-align:left;white-space:nowrap;";
this.tabContainer.style.right="70px";var Z=J.addMenu("100%",ma.funct);Z.setAttribute("title",mxResources.get("zoom")+" (Alt+Mousewheel)");Z.className="geTabItem";Z.style.height=B.tabContainerHeight+"px";Z.style.position="absolute";Z.style.display="0"!=urlParams.pages?"flex":"none";Z.style.alignItems="center";Z.style.justifyContent="center";Z.style.paddingRight="11px";Z.style.whiteSpace="nowrap";Z.style.overflow="hidden";Z.style.fontSize="11px";Z.style.width="51px";Z.style.right="0px";Z.style.bottom=
-"0px";Z.style.boxSizing="content-box";Z.style.backgroundImage="url("+mxWindow.prototype.minimizeImage+")";Z.style.backgroundPosition="right 6px top 15px";Z.style.backgroundRepeat="no-repeat";Z.style.backgroundSize="10px";Z.style.zIndex="1";A.appendChild(Z);(function(la){mxEvent.addListener(la,"click",aa);var qa=mxUtils.bind(this,function(pa,ra,ua){la.innerText="";mxUtils.write(la,Math.round(100*B.editor.graph.view.scale*(null!=ua?ua:1))+"%")});B.editor.graph.view.addListener(mxEvent.EVENT_SCALE,qa);
+"0px";Z.style.boxSizing="content-box";Z.style.backgroundImage="url("+mxWindow.prototype.minimizeImage+")";Z.style.backgroundPosition="right 6px top 15px";Z.style.backgroundRepeat="no-repeat";Z.style.backgroundSize="10px";Z.style.zIndex="1";A.appendChild(Z);(function(ka){mxEvent.addListener(ka,"click",aa);var qa=mxUtils.bind(this,function(pa,ra,ua){ka.innerText="";mxUtils.write(ka,Math.round(100*B.editor.graph.view.scale*(null!=ua?ua:1))+"%")});B.editor.graph.view.addListener(mxEvent.EVENT_SCALE,qa);
B.editor.addListener("resetGraphView",qa);B.editor.addListener("pageSelected",qa);B.editor.graph.addListener("zoomPreview",mxUtils.bind(this,function(pa,ra){qa(pa,ra,ra.getProperty("factor"))}))})(Z);var ba=B.setGraphEnabled;B.setGraphEnabled=function(){ba.apply(this,arguments);null!=this.tabContainer&&(Z.style.visibility=this.tabContainer.style.visibility,this.diagramContainer.style.bottom="0"!=urlParams.pages&&"hidden"!=this.tabContainer.style.visibility?this.tabContainerHeight+"px":"0px")}}A.appendChild(L);
A.appendChild(B.diagramContainer);z.appendChild(A);B.updateTabContainer();!EditorUi.windowed&&1E3<=n&&b(this,!0);A.appendChild(B.tabContainer);l();B.addListener("lockedChanged",l);mxEvent.addListener(window,"resize",function(){l();null!=B.sidebarWindow&&B.sidebarWindow.window.fit();null!=B.formatWindow&&B.formatWindow.window.fit();null!=B.actions.outlineWindow&&B.actions.outlineWindow.window.fit();null!=B.actions.layersWindow&&B.actions.layersWindow.window.fit();null!=B.menus.chatWindow&&B.menus.chatWindow.window.fit();
-null!=B.menus.tagsWindow&&B.menus.tagsWindow.window.fit();null!=B.menus.findWindow&&B.menus.findWindow.window.fit();null!=B.menus.findReplaceWindow&&B.menus.findReplaceWindow.window.fit()})}}};(function(){var b=!1;"min"!=uiTheme||b||mxClient.IS_CHROMEAPP||(EditorUi.initMinimalTheme(),b=!0);var e=EditorUi.initTheme;EditorUi.initTheme=function(){e.apply(this,arguments);"min"!=uiTheme||b||(this.initMinimalTheme(),b=!0)}})();DrawioComment=function(b,e,g,n,v,q,C){this.file=b;this.id=e;this.content=g;this.modifiedDate=n;this.createdDate=v;this.isResolved=q;this.user=C;this.replies=[]};DrawioComment.prototype.addReplyDirect=function(b){null!=b&&this.replies.push(b)};DrawioComment.prototype.addReply=function(b,e,g,n,v){e()};DrawioComment.prototype.editComment=function(b,e,g){e()};DrawioComment.prototype.deleteComment=function(b,e){b()};DrawioUser=function(b,e,g,n,v){this.id=b;this.email=e;this.displayName=g;this.pictureUrl=n;this.locale=v};mxResources.parse('# *DO NOT DIRECTLY EDIT THIS FILE, IT IS AUTOMATICALLY GENERATED AND IT IS BASED ON:*\n# https://docs.google.com/spreadsheet/ccc?key=0AmQEO36liL4FdDJLWVNMaVV2UmRKSnpXU09MYkdGbEE\nabout=About\naboutDrawio=About draw.io\naccessDenied=Access Denied\naccounts=Accounts\naction=Action\nactualSize=Actual Size\nadd=Add\naddAccount=Add account\naddedFile=Added {1}\naddImages=Add Images\naddImageUrl=Add Image URL\naddLayer=Add Layer\naddProperty=Add Property\naddress=Address\naddToExistingDrawing=Add to Existing Drawing\naddToScratchpad=Add to Scratchpad\naddWaypoint=Add Waypoint\nadjustTo=Adjust to\nadvanced=Advanced\nsmartTemplate=Smart Template\nalign=Align\nalignment=Alignment\nallChangesLost=All changes will be lost!\nallPages=All Pages\nallProjects=All Projects\nallSpaces=All Spaces\nallTags=All Tags\nanchor=Anchor\nandroid=Android\nangle=Angle\nanimations=Animations\narc=Arc\nareYouSure=Are you sure?\nensureDataSaved=Please ensure your data is saved before closing.\nallChangesSaved=All changes saved\nallChangesSavedInDrive=All changes saved in Drive\nallowPopups=Allow pop-ups to avoid this dialog.\nallowRelativeUrl=Allow relative URL\nalreadyConnected=Nodes already connected\nappearance=Appearance\napply=Apply\narchiMate21=ArchiMate 2.1\narrange=Arrange\narrow=Arrow\narrows=Arrows\naskMeAnything=Ask me anything\nasNew=As New\natlas=Atlas\nauthor=Author\nauthorizationRequired=Authorization required\nauthorizeThisAppIn=Authorize this app in {1}:\nauthorize=Authorize\nauthorizing=Authorizing\nautomatic=Automatic\nautosave=Autosave\nautosize=Autosize\nattachments=Attachments\naws=AWS\naws3d=AWS 3D\nazure=Azure\nback=Back\nbackground=Background\nbackgroundColor=Background Color\nbackgroundImage=Background Image\nbasic=Basic\nbeta=beta\nblankDrawing=Blank Drawing\nblankDiagram=Blank Diagram\nblock=Block\nblockquote=Blockquote\nblog=Blog\nbold=Bold\nbootstrap=Bootstrap\nborder=Border\nborderColor=Border Color\nborderWidth=Border Width\nbottom=Bottom\nbottomAlign=Bottom Align\nbottomLeft=Bottom Left\nbottomRight=Bottom Right\nbpmn=BPMN\nbringForward=Bring Forward\nbrowser=Browser\nbulletedList=Bulleted List\nbusiness=Business\nbusy=Operation in progress\ncabinets=Cabinets\ncancel=Cancel\ncenter=Center\ncannotLoad=Load attempts failed. Please try again later.\ncannotLogin=Log in attempts failed. Please try again later.\ncannotOpenFile=Cannot open file\nchange=Change\nchangeOrientation=Change Orientation\nchangeUser=Change user\nchangeStorage=Change storage\nchangesNotSaved=Changes have not been saved\nclassDiagram=Class Diagram\nuserJoined={1} has joined\nuserLeft={1} has left\nchatWindowTitle=Chat\nchooseAnOption=Choose an option\nchromeApp=Chrome App\ncollaborativeEditingNotice=Important Notice for Collaborative Editing\ncompare=Compare\ncompressed=Compressed\ncommitMessage=Commit Message\nconfigLinkWarn=This link configures draw.io. Only click OK if you trust whoever gave you it!\nconfigLinkConfirm=Click OK to configure and restart draw.io.\ncontainer=Container\ncsv=CSV\ndark=Dark\ndiagramLanguage=Diagram Language\ndiagramType=Diagram type\ndiagramXmlDesc=XML File\ndiagramHtmlDesc=HTML File\ndiagramPngDesc=Editable Bitmap Image\ndiagramSvgDesc=Editable Vector Image\ndidYouMeanToExportToPdf=Did you mean to export to PDF?\ndisabled=Disabled\ndraftFound=A draft for \'{1}\' has been found. Load it into the editor or discard it to continue.\ndraftRevisionMismatch=There is a different version of this diagram on a shared draft of this page. Please edit the diagram from the draft to ensure you are working with the latest version.\nselectDraft=Select a draft to continue editing:\ndragAndDropNotSupported=Drag and drop not supported for images. Would you like to import instead?\ndropboxCharsNotAllowed=The following characters are not allowed: / : ? * " |\ncheck=Check\nchecksum=Checksum\ncircle=Circle\ncisco=Cisco\nclassic=Classic\nclearDefaultStyle=Clear Default Style\nclearWaypoints=Clear Waypoints\nclipart=Clipart\nclose=Close\nclosingFile=Closing file\nrealtimeCollaboration=Real-Time Collaboration\ncollaborate=Collaborate\ncollaborator=Collaborator\ncollaborators=Collaborators\ncollapse=Collapse\ncollapseExpand=Collapse/Expand\ncollapse-expand=Click to collapse/expand\nShift-click to move neighbors \nAlt-click to protect group size\ncollapsible=Collapsible\ncomic=Comic\ncomment=Comment\ncommentsNotes=Comments/Notes\ncompress=Compress\nconfiguration=Configuration\nconnect=Connect\nconnecting=Connecting\nconnectWithDrive=Connect with Google Drive\nconnection=Connection\nconnectionArrows=Connection Arrows\nconnectionPoints=Connection Points\nconstrainProportions=Constrain Proportions\ncontainsValidationErrors=Contains validation errors\ncopiedToClipboard=Copied to clipboard\ncopy=Copy\ncopyConnect=Copy on connect\ncopyCreated=A copy of the file was created.\ncopyData=Copy Data\ncopyOf=Copy of {1}\ncopyOfDrawing=Copy of Drawing\ncopySize=Copy Size\ncopyStyle=Copy Style\ncreate=Create\ncreateBlankDiagram=Create Blank Diagram\ncreateNewDiagram=Create New Diagram\ncreateRevision=Create Revision\ncreateShape=Create Shape\ncrop=Crop\ncurved=Curved\ncustom=Custom\ncurrent=Current\ncurrentPage=Current page\ncut=Cut\ndashed=Dashed\ndecideLater=Decide later\ndefault=Default\ndelete=Delete\ndeleteAll=Delete all\ndeleteColumn=Delete column\ndeleteLibrary401=Insufficient permissions to delete this library\ndeleteLibrary404=Selected library could not be found\ndeleteLibrary500=Error deleting library\ndeleteLibraryConfirm=You are about to permanently delete this library. Are you sure you want to do this?\ndeleteRow=Delete Row\ndescription=Description\ndescribeYourDiagram=Describe your diagram\ndevice=Device\ndiagram=Diagram\ndiagramContent=Diagram Content\ndiagramLocked=Diagram has been locked to prevent further data loss.\ndiagramLockedBySince=The diagram is locked by {1} since {2} ago\ndiagramName=Diagram Name\ndiagramIsPublic=Diagram is public\ndiagramIsNotPublic=Diagram is not public\ndiamond=Diamond\ndiamondThin=Diamond (thin)\ndidYouKnow=Did you know...\ndirection=Direction\ndiscard=Discard\ndiscardChangesAndReconnect=Discard Changes and Reconnect\ngoogleDriveMissingClickHere=Google Drive missing? Click here!\ndiscardChanges=Discard Changes\ndisconnected=Disconnected\ndistribute=Distribute\ndone=Done\ndoNotShowAgain=Do not show again\ndotted=Dotted\ndoubleClickOrientation=Doubleclick to change orientation\ndoubleClickTooltip=Doubleclick to insert text\ndoubleClickChangeProperty=Doubleclick to change property name\ndownload=Download\ndownloadDesktop=Get Desktop\ndownloadAs=Download as\nclickHereToSave=Click here to save.\ndpi=DPI\ndraftDiscarded=Draft discarded\ndraftSaved=Draft saved\ndragElementsHere=Drag elements here\ndragImagesHere=Drag images or URLs here\ndragUrlsHere=Drag URLs here\ndraw.io=draw.io\ndrawing=Drawing{1}\ndrawingEmpty=Drawing is empty\ndrawingTooLarge=Drawing is too large\ndrawioForWork=Draw.io for GSuite\ndropbox=Dropbox\nduplicate=Duplicate\nduplicateIt=Duplicate {1}\ndivider=Divider\ndx=Dx\ndy=Dy\neast=East\nedit=Edit\neditData=Edit Data\neditDiagram=Edit Diagram\neditGeometry=Edit Geometry\neditImage=Edit Image\neditImageUrl=Edit Image URL\neditLink=Edit Link\neditShape=Edit Shape\neditStyle=Edit Style\neditText=Edit Text\neditTooltip=Edit Tooltip\nglass=Glass\ngoogleImages=Google Images\nimageSearch=Image Search\neip=EIP\nembed=Embed\nembedFonts=Embed Fonts\nembedImages=Embed Images\nmainEmbedNotice=Paste this into the page\nelectrical=Electrical\nellipse=Ellipse\nembedNotice=Paste this once at the end of the page\nenterGroup=Enter Group\nenterName=Enter Name\nenterPropertyName=Enter Property Name\nenterValue=Enter Value\nentityRelation=Entity Relation\nentityRelationshipDiagram=Entity Relationship Diagram\nerror=Error\nerrorDeletingFile=Error deleting file\nerrorLoadingFile=Error loading file\nerrorRenamingFile=Error renaming file\nerrorRenamingFileNotFound=Error renaming file. File was not found.\nerrorRenamingFileForbidden=Error renaming file. Insufficient access rights.\nerrorSavingDraft=Error saving draft\nerrorSavingFile=Error saving file\nerrorSavingFileUnknown=Error authorizing with Google\'s servers. Please refresh the page to re-attempt.\nerrorSavingFileForbidden=Error saving file. Insufficient access rights.\nerrorSavingFileNameConflict=Could not save diagram. Current page already contains file named \'{1}\'.\nerrorSavingFileNotFound=Error saving file. File was not found.\nerrorSavingFileReadOnlyMode=Could not save diagram while read-only mode is active.\nerrorSavingFileSessionTimeout=Your session has ended. Please <a target=\'_blank\' href=\'{1}\'>{2}</a> and return to this tab to try to save again.\nerrorSendingFeedback=Error sending feedback.\nerrorUpdatingPreview=Error updating preview.\nexit=Exit\nexitGroup=Exit Group\nexpand=Expand\nexplore=Explore\nexport=Export\nexporting=Exporting\nexportAs=Export as\nexportOptionsDisabled=Export options disabled\nexportOptionsDisabledDetails=The owner has disabled options to download, print or copy for commenters and viewers on this file.\nexternalChanges=External Changes\nextras=Extras\nfacebook=Facebook\nfailedToSaveTryReconnect=Failed to save, trying to reconnect\nfeatureRequest=Feature Request\nfeedback=Feedback\nfeedbackSent=Feedback successfully sent.\nfloorplans=Floorplans\nfile=File\nfileChangedOverwriteDialog=The file has been modified. Do you want to save the file and overwrite those changes?\nfileChangedSyncDialog=The file has been modified.\nfileChangedSync=The file has been modified. Click here to synchronize.\noverwrite=Overwrite\nsynchronize=Synchronize\nfilename=Filename\nfileExists=File already exists\nfileMovedToTrash=File was moved to trash\nfileNearlyFullSeeFaq=File nearly full, please see FAQ\nfileNotFound=File not found\nrepositoryNotFound=Repository not found\nfileNotFoundOrDenied=The file was not found. It does not exist or you do not have access.\nfileNotLoaded=File not loaded\nfileNotSaved=File not saved\nfileOpenLocation=How would you like to open these file(s)?\nfiletypeHtml=.html causes file to save as HTML with redirect to cloud URL\nfiletypePng=.png causes file to save as PNG with embedded data\nfiletypeSvg=.svg causes file to save as SVG with embedded data\nfileWillBeSavedInAppFolder={1} will be saved in the app folder.\nfill=Fill\nfillColor=Fill Color\nfilterCards=Filter Cards\nfind=Find\nfit=Fit\nfitContainer=Resize Container\nfitIntoContainer=Fit into Container\nfitPage=Fit Page\nfitPageWidth=Fit Page Width\nfitTo=Fit to\nfitToSheetsAcross=sheet(s) across\nfitToBy=by\nfitToSheetsDown=sheet(s) down\nfitTwoPages=Two Pages\nfitWindow=Fit Window\nflip=Flip\nflipH=Flip Horizontal\nflipV=Flip Vertical\nflowAnimation=Flow Animation\nflowchart=Flowchart\nfolder=Folder\nfont=Font\nfontColor=Font Color\nfontFamily=Font Family\nfontSize=Font Size\nforbidden=You are not authorized to access this file\nformat=Format\nformatPanel=Format Panel\nformatted=Formatted\nformattedText=Formatted Text\nformatPng=PNG\nformatGif=GIF\nformatJpg=JPEG\nformatPdf=PDF\nformatSql=SQL\nformatSvg=SVG\nformatHtmlEmbedded=HTML\nformatSvgEmbedded=SVG (with XML)\nformatVsdx=VSDX\nformatVssx=VSSX\nformatWebp=WebP\nformatXmlPlain=XML (Plain)\nformatXml=XML\nforum=Discussion/Help Forums\nfreehand=Freehand\nfromTemplate=From Template\nfromTemplateUrl=From Template URL\nfromText=From Text\nfromUrl=From URL\nfromThisPage=From this page\nfullscreen=Fullscreen\ngap=Gap\ngcp=GCP\ngeneral=General\ngetNotionChromeExtension=Get the Notion Chrome Extension\ngithub=GitHub\ngitlab=GitLab\ngliffy=Gliffy\nglobal=Global\ngoogleDocs=Google Docs\ngoogleDrive=Google Drive\ngoogleGadget=Google Gadget\ngoogleSharingNotAvailable=Sharing is only available via Google Drive. Please click Open below and share from the more actions menu:\ngoogleSlides=Google Slides\ngoogleSites=Google Sites\ngoogleSheets=Google Sheets\ngradient=Gradient\ngradientColor=Color\ngrid=Grid\ngridColor=Grid Color\ngridSize=Grid Size\ngroup=Group\nguides=Guides\nhateApp=I hate draw.io\nheading=Heading\nheight=Height\nhelp=Help\nhelpTranslate=Help us translate this application\nhide=Hide\nhideIt=Hide {1}\nhidden=Hidden\nhighContrast=High Contrast\nhome=Home\nhorizontal=Horizontal\nhorizontalFlow=Horizontal Flow\nhorizontalTree=Horizontal Tree\nhowTranslate=How good is the translation in your language?\nhtml=HTML\nhtmlText=HTML Text\nid=ID\niframe=IFrame\nignore=Ignore\nimage=Image\nimageUrl=Image URL\nimages=Images\nimagePreviewError=This image couldn\'t be loaded for preview. Please check the URL.\nimageTooBig=Image too big\nimgur=Imgur\nimport=Import\nimportFrom=Import from\nimproveContrast=Improve Contrast\nincludeCopyOfMyDiagram=Include a copy of my diagram\nincreaseIndent=Increase Indent\ndecreaseIndent=Decrease Indent\ninsert=Insert\ninsertColumnBefore=Insert Column Left\ninsertColumnAfter=Insert Column Right\ninsertEllipse=Insert Ellipse\ninsertImage=Insert Image\ninsertHorizontalRule=Insert Horizontal Rule\ninsertLink=Insert Link\ninsertPage=Insert Page\ninsertRectangle=Insert Rectangle\ninsertRhombus=Insert Rhombus\ninsertRowBefore=Insert Row Above\ninsertRowAfter=Insert Row After\ninsertText=Insert Text\ninserting=Inserting\ninstallApp=Install App\ninvalidFilename=Diagram names must not contain the following characters: / | : ; { } < > & + ? = "\ninvalidLicenseSeeThisPage=Your license is invalid, please see this <a target="_blank" href="https://www.drawio.com/doc/faq/license-drawio-confluence-jira-cloud">page</a>.\ninvalidInput=Invalid input\ninvalidName=Invalid name\ninvalidOrMissingFile=Invalid or missing file\ninvalidPublicUrl=Invalid public URL\nisometric=Isometric\nios=iOS\nitalic=Italic\nkennedy=Kennedy\nkeyboardShortcuts=Keyboard Shortcuts\nlabels=Labels\nlayers=Layers\nlandscape=Landscape\nlanguage=Language\nleanMapping=Lean Mapping\nlastChange=Last change {1} ago\nlessThanAMinute=less than a minute\nlicensingError=Licensing Error\nlicenseHasExpired=The license for {1} has expired on {2}. Click here.\nlicenseRequired=This feature requires draw.io to be licensed.\nlicenseWillExpire=The license for {1} will expire on {2}. Click here.\nlight=Light\nlineJumps=Line jumps\nlinkAccountRequired=If the diagram is not public a Google account is required to view the link.\nlinkText=Link Text\nlist=List\nminute=minute\nminutes=minutes\nhours=hours\ndays=days\nmonths=months\nyears=years\nrestartForChangeRequired=Changes will take effect after a restart of the application.\nlaneColor=Lanecolor\nlanguageCode=Language Code\nlastModified=Last modified\nlayout=Layout\nleft=Left\nleftAlign=Left Align\nleftToRight=Left to right\nlibraryTooltip=Drag and drop shapes here or click + to insert. Double click to edit.\nlightbox=Lightbox\nline=Line\nlineend=Line end\nlineheight=Line Height\nlinestart=Line start\nlinewidth=Linewidth\nlink=Link\nlinks=Links\nloading=Loading\nlocked=Locked\nlockUnlock=Lock/Unlock\nloggedOut=Logged Out\nlogIn=log in\nloveIt=I love {1}\nlucidchart=Lucidchart\nmaps=Maps\nmathematicalTypesetting=Mathematical Typesetting\nmakeCopy=Make a Copy\nmanual=Manual\nmerge=Merge\nmermaid=Mermaid\nmicrosoftOffice=Microsoft Office\nmicrosoftExcel=Microsoft Excel\nmicrosoftPowerPoint=Microsoft PowerPoint\nmicrosoftWord=Microsoft Word\nmiddle=Middle\nminimal=Minimal\nmisc=Misc\nmockups=Mockups\nmodern=Modern\nmodificationDate=Modification date\nmodifiedBy=Modified by\nmore=More\nmoreResults=More Results\nmoreShapes=More Shapes\nmove=Move\nmoveToFolder=Move to Folder\nmoving=Moving\nmoveSelectionTo=Move selection to {1}\nmyDrive=My Drive\nmyFiles=My Files\nname=Name\nnavigation=Navigation\nnetwork=Network\nnetworking=Networking\nnew=New\nnewLibrary=New Library\nnextPage=Next Page\nno=No\nnoPickFolder=No, pick folder\nnoAttachments=No attachments found\nnoColor=No Color\nnoFiles=No Files\nnoFileSelected=No file selected\nnoLibraries=No libraries found\nnoMoreResults=No more results\nnone=None\nnoOtherViewers=No other viewers\nnoPlugins=No plugins\nnoPreview=No preview\nnoResponse=No response from server\nnoResultsFor=No results for \'{1}\'\nnoRevisions=No revisions\nnoSearchResults=No search results found\nnoPageContentOrNotSaved=No anchors found on this page or it hasn\'t been saved yet\nnormal=Normal\nnorth=North\nnotADiagramFile=Not a diagram file\nnotALibraryFile=Not a library file\nnotAvailable=Not available\nnotAUtf8File=Not a UTF-8 file\nnotConnected=Not connected\nnote=Note\nnotion=Notion\nnotSatisfiedWithImport=Not satisfied with the import?\nnotUsingService=Not using {1}?\nnumberedList=Numbered list\noffline=Offline\nok=OK\noneDrive=OneDrive\nonline=Online\nopacity=Opacity\nopen=Open\nopenArrow=Open Arrow\nopenExistingDiagram=Open Existing Diagram\nopenFile=Open File\nopenFrom=Open from\nopenLibrary=Open Library\nopenLibraryFrom=Open Library from\nopenLink=Open Link\nopenInNewWindow=Open in New Window\nopenInThisWindow=Open in This Window\nopenIt=Open {1}\nopenRecent=Open Recent\nopenSupported=Supported formats are files saved from this software (.xml), .vsdx and .gliffy\noptions=Options\norganic=Organic\norgChart=Org Chart\northogonal=Orthogonal\notherViewer=other viewer\notherViewers=other viewers\noutline=Outline\noval=Oval\npage=Page\npageContent=Page Content\npageNotFound=Page not found\npageWithNumber=Page-{1}\npages=Pages\npageTabs=Page Tabs\npageView=Page View\npageSetup=Page Setup\npageScale=Page Scale\npan=Pan\npanTooltip=Space+Drag to pan\npaperSize=Paper Size\npattern=Pattern\nparallels=Parallels\npaste=Paste\npasteData=Paste Data\npasteHere=Paste here\npasteSize=Paste Size\npasteStyle=Paste Style\nperimeter=Perimeter\npermissionAnyone=Anyone can edit\npermissionAuthor=Owner and admins can edit\npickFolder=Pick a folder\npickLibraryDialogTitle=Select Library\npublicDiagramUrl=Public URL of the diagram\nplaceholders=Placeholders\nplantUml=PlantUML\nplugins=Plugins\npluginUrl=Plugin URL\npluginWarning=The page has requested to load the following plugin(s):\n \n {1}\n \n Would you like to load these plugin(s) now?\n \n NOTE : Only allow plugins to run if you fully understand the security implications of doing so.\n\nplusTooltip=Click to connect and clone (ctrl+click to clone, shift+click to connect). Drag to connect (ctrl+drag to clone).\nportrait=Portrait\nposition=Position\nposterPrint=Poster Print\npreferences=Preferences\npreview=Preview\npreviousPage=Previous Page\npresentationMode=Presentation Mode\nprint=Print\nprocEng=Proc. Eng.\nproject=Project\npriority=Priority\nprocessForHiringNewEmployee=Process for hiring a new employee\nproperties=Properties\npublish=Publish\nquickStart=Quick Start Video\nrack=Rack\nradial=Radial\nradialTree=Radial Tree\nreadOnly=Read-only\nreconnecting=Reconnecting\nrecentlyUpdated=Recently Updated\nrecentlyViewed=Recently Viewed\nrectangle=Rectangle\nredirectToNewApp=This file was created or modified in a newer version of this app. You will be redirected now.\nrealtimeTimeout=It looks like you\'ve made a few changes while offline. We\'re sorry, these changes cannot be saved.\nredo=Redo\nrefresh=Refresh\nregularExpression=Regular Expression\nrelative=Relative\nrelativeUrlNotAllowed=Relative URL not allowed\nrememberMe=Remember me\nrememberThisSetting=Remember this setting\nremoveFormat=Clear Formatting\nremoveFromGroup=Remove from Group\nremoveIt=Remove {1}\nremoveWaypoint=Remove Waypoint\nrename=Rename\nrenamed=Renamed\nrenameIt=Rename {1}\nrenaming=Renaming\nreplace=Replace\nreplaceIt={1} already exists. Do you want to replace it?\nreplaceExistingDrawing=Replace existing drawing\nrequired=required\nrequirementDiagram=Requirement Diagram\nreset=Reset\nresetView=Reset View\nresize=Resize\nresizeLargeImages=Do you want to resize large images to make the application run faster?\nretina=Retina\nresponsive=Responsive\nrestore=Restore\nrestoring=Restoring\nretryingIn=Retrying in {1} second(s)\nretryingLoad=Load failed. Retrying...\nretryingLogin=Login time out. Retrying...\nreverse=Reverse\nrevision=Revision\nrevisionHistory=Revision History\nrhombus=Rhombus\nright=Right\nrightAlign=Right Align\nrightToLeft=Right to left\nrotate=Rotate\nrotateTooltip=Click and drag to rotate, click to turn shape only by 90 degrees\nrotation=Rotation\nrounded=Rounded\nsave=Save\nsaveAndExit=Save & Exit\nsaveAs=Save As\nsaveAsXmlFile=Save as XML file?\nsaved=Saved\nsaveDiagramFirst=Please save the diagram first\nsaveDiagramsTo=Save diagrams to\nsaveLibrary403=Insufficient permissions to edit this library\nsaveLibrary500=There was an error while saving the library\nsaveLibraryReadOnly=Could not save library while read-only mode is active\nsaving=Saving\nscratchpad=Scratchpad\nscrollbars=Scrollbars\nsearch=Search\nsearchShapes=Search Shapes\nselectAll=Select All\nselectionOnly=Selection Only\nselectCard=Select Card\nselectEdges=Select Edges\nselectedPage=Selected Page\nselectFile=Select File\nselectFolder=Select Folder\nselectFont=Select Font\nselectNone=Select None\nselectTemplate=Select Template\nselectVertices=Select Vertices\nsendBackward=Send Backward\nsendMessage=Send\nsendYourFeedback=Send your feedback\nsequenceDiagram=Sequence Diagram\nserviceUnavailableOrBlocked=Service unavailable or blocked\nsessionExpired=Your session has expired. Please refresh the browser window.\nsessionTimeoutOnSave=Your session has timed out and you have been disconnected from the Google Drive. Press OK to login and save.\nsetAsDefaultStyle=Set as Default Style\nsettings=Settings\nshadow=Shadow\nshape=Shape\nshapes=Shapes\nshare=Share\nshareCursor=Share Mouse Cursor\nshareLink=Link for shared editing\nsharingAvailable=Sharing available for Google Drive and OneDrive files.\nsaveItToGoogleDriveToCollaborate=You\'ll need to save "{1}" to Google Drive before you can collaborate.\nsaveToGoogleDrive=Save to Google Drive\nsharp=Sharp\nshow=Show\nshowRemoteCursors=Show Remote Mouse Cursors\nshowStartScreen=Show Start Screen\nsidebarTooltip=Click or drag and drop shapes. Shift+click to change selection. Alt+click to insert and connect.\nsigns=Signs\nsignOut=Sign out\nsimple=Simple\nsimpleArrow=Simple Arrow\nsimpleViewer=Simple Viewer\nsize=Size\nsketch=Sketch\nsmoothing=Smoothing\nsnapToGrid=Snap to Grid\nsolid=Solid\nsourceSpacing=Source Spacing\nsouth=South\nsoftware=Software\nspace=Space\nspacing=Spacing\nspecialLink=Special Link\nstateDiagram=State Diagram\nstandard=Standard\nstartDrawing=Start drawing\nstopDrawing=Stop drawing\nstarting=Starting\nstraight=Straight\nstrikethrough=Strikethrough\nstrokeColor=Line Color\nstyle=Style\nsubscript=Subscript\nsummary=Summary\nsuperscript=Superscript\nsupport=Support\nswap=Swap\nswimlaneDiagram=Swimlane Diagram\nsysml=SysML\ntags=Tags\ntable=Table\ntables=Tables\ntakeOver=Take Over\ntargetSpacing=Target Spacing\ntemplate=Template\ntemplates=Templates\ntext=Text\ntextAlignment=Text Alignment\ntextOpacity=Text Opacity\ntheme=Theme\ntimeout=Timeout\ntitle=Title\nto=to\ntoBack=To Back\ntoFront=To Front\ntooLargeUseDownload=Too large, use download instead.\ntoolbar=Toolbar\ntooltips=Tooltips\ntop=Top\ntopAlign=Top Align\ntopLeft=Top Left\ntopRight=Top Right\ntransparent=Transparent\ntransparentBackground=Transparent Background\ntrello=Trello\ntryAgain=Try again\ntryOpeningViaThisPage=Try opening via this page\nturn=Rotate shape only by 90°\ntype=Type\ntwitter=Twitter\numl=UML\nunassigned=Unassigned\nunderline=Underline\nundo=Undo\nungroup=Ungroup\nunmerge=Unmerge\nunsavedChanges=Unsaved changes\nunsavedChangesClickHereToSave=Unsaved changes. Click here to save.\nuntitled=Untitled\nuntitledDiagram=Untitled Diagram\nuntitledLayer=Untitled Layer\nuntitledLibrary=Untitled Library\nunknownError=Unknown error\nunknownUser=Unknown user\nupdateExistingDrawing=Update existing drawing\nupdateFile=Update {1}\nupdatingDocument=Updating Document. Please wait...\nupdatingPreview=Updating Preview. Please wait...\nupdatingSelection=Updating Selection. Please wait...\nupload=Upload\nurl=URL\nuseBlackAndWhite=Use black and white\nuseCurrentSettings=Use current settings\nuseOffline=Use Offline\nuserDefined=User-defined\nuseRootFolder=Use root folder?\nuserManual=User Manual\nvertical=Vertical\nverticalFlow=Vertical Flow\nverticalTree=Vertical Tree\nview=View\nviewerSettings=Viewer Settings\nviewUrl=Link to view: {1}\nvoiceAssistant=Voice Assistant (beta)\nwarning=Warning\nwaypoints=Waypoints\nwest=West\nwhere=Where\nwidth=Width\nwiki=Wiki\nwordWrap=Word Wrap\nwritingDirection=Writing Direction\nyes=Yes\nyourEmailAddress=Your email address\nzoom=Zoom\nzoomIn=Zoom In\nzoomOut=Zoom Out\nbasic=Basic\nbusinessprocess=Business Processes\ncharts=Charts\nengineering=Engineering\nflowcharts=Flowcharts\ngmdl=Material Design\nmindmaps=Mindmaps\nmockups=Mockups\nnetworkdiagrams=Network Diagrams\nnothingIsSelected=Nothing is selected\nother=Other\nsoftwaredesign=Software Design\nvenndiagrams=Venn Diagrams\nwebEmailOrOther=Web, email or any other internet address\nwebLink=Web Link\nwireframes=Wireframes\nproperty=Property\nvalue=Value\nshowMore=Show More\nshowLess=Show Less\nmyDiagrams=My Diagrams\nallDiagrams=All Diagrams\nrecentlyUsed=Recently used\nlistView=List view\ngridView=Grid view\nresultsFor=Results for \'{1}\'\noneDriveCharsNotAllowed=The following characters are not allowed: ~ " # % * : < > ? / { | }\noneDriveInvalidDeviceName=The specified device name is invalid\nofficeNotLoggedOD=You are not logged in to OneDrive. Please open draw.io task pane and login first.\nofficeSelectSingleDiag=Please select a single draw.io diagram only without other contents.\nofficeSelectDiag=Please select a draw.io diagram.\nofficeCannotFindDiagram=Cannot find a draw.io diagram in the selection\nnoDiagrams=No diagrams found\nauthFailed=Authentication failed\nofficeFailedAuthMsg=Unable to successfully authenticate user or authorize application.\nconvertingDiagramFailed=Converting diagram failed\nofficeCopyImgErrMsg=Due to some limitations in the host application, the image could not be inserted. Please manually copy the image then paste it to the document.\ninsertingImageFailed=Inserting image failed\nofficeCopyImgInst=Instructions: Right-click the image below. Select "Copy image" from the context menu. Then, in the document, right-click and select "Paste" from the context menu.\nfolderEmpty=Folder is empty\nrecent=Recent\nsharedWithMe=Shared With Me\nsharepointSites=Sharepoint Sites\nerrorFetchingFolder=Error fetching folder items\nerrorAuthOD=Error authenticating to OneDrive\nofficeMainHeader=Adds draw.io diagrams to your document.\nofficeStepsHeader=This add-in performs the following steps:\nofficeStep1=Connects to Microsoft OneDrive, Google Drive or your device.\nofficeStep2=Select a draw.io diagram.\nofficeStep3=Insert the diagram into the document.\nofficeAuthPopupInfo=Please complete the authentication in the pop-up window.\nofficeSelDiag=Select draw.io Diagram:\nfiles=Files\nshared=Shared\nsharepoint=Sharepoint\nofficeManualUpdateInst=Instructions: Copy draw.io diagram from the document. Then, in the box below, right-click and select "Paste" from the context menu.\nofficeClickToEdit=Click icon to start editing:\npasteDiagram=Paste draw.io diagram here\nconnectOD=Connect to OneDrive\nselectChildren=Select Children\nselectSiblings=Select Siblings\nselectParent=Select Parent\nselectDescendants=Select Descendants\nlastSaved=Last saved {1} ago\nresolve=Resolve\nreopen=Re-open\nshowResolved=Show Resolved\nreply=Reply\nobjectNotFound=Object not found\nreOpened=Re-opened\nmarkedAsResolved=Marked as resolved\nnoCommentsFound=No comments found\ncomments=Comments\ntimeAgo={1} ago\nconfluenceCloud=Confluence Cloud\nlibraries=Libraries\nconfAnchor=Confluence Page Anchor\nconfTimeout=The connection has timed out\nconfSrvTakeTooLong=The server at {1} is taking too long to respond.\nconfCannotInsertNew=Cannot insert draw.io diagram to a new Confluence page\nconfSaveTry=Please save the page and try again.\nconfCannotGetID=Unable to determine page ID\nconfContactAdmin=Please contact your Confluence administrator.\nreadErr=Read Error\neditingErr=Editing Error\nconfExtEditNotPossible=This diagram cannot be edited externally. Please try editing it while editing the page\nconfEditedExt=Diagram/Page edited externally\ndiagNotFound=Diagram Not Found\nconfEditedExtRefresh=Diagram/Page is edited externally. Please refresh the page.\nconfCannotEditDraftDelOrExt=Cannot edit diagrams in a draft page, diagram is deleted from the page, or diagram is edited externally. Please check the page.\nretBack=Return back\nconfDiagNotPublished=The diagram does not belong to a published page\ncreatedByDraw=Created by draw.io\nfilenameShort=Filename too short\ninvalidChars=Invalid characters\nalreadyExst={1} already exists\ndraftReadErr=Draft Read Error\ndiagCantLoad=Diagram cannot be loaded\ndraftWriteErr=Draft Write Error\ndraftCantCreate=Draft could not be created\nconfDuplName=Duplicate diagram name detected. Please pick another name.\nconfSessionExpired=Looks like your session expired. Log in again to keep working.\nlogin=Login\ndrawPrev=draw.io preview\ndrawDiag=draw.io diagram\ninvalidCallFnNotFound=Invalid Call: {1} not found\ninvalidCallErrOccured=Invalid Call: An error occurred, {1}\nanonymous=Anonymous\nconfGotoPage=Go to containing page\nshowComments=Show Comments\nconfError=Error: {1}\ngliffyImport=Gliffy Import\ngliffyImportInst1=Click the "Start Import" button to import all Gliffy diagrams to draw.io.\ngliffyImportInst2=Please note that the import procedure will take some time and the browser window must remain open until the import is completed.\nstartImport=Start Import\ndrawConfig=draw.io Configuration\ncustomLib=Custom Libraries\ncustomTemp=Custom Templates\npageIdsExp=Page IDs Export\ndrawReindex=draw.io re-indexing (beta)\nworking=Working\ndrawConfigNotFoundInst=draw.io Configuration Space (DRAWIOCONFIG) does not exist. This space is needed to store draw.io configuration files and custom libraries/templates.\ncreateConfSp=Create Config Space\nunexpErrRefresh=Unexpected error, please refresh the page and try again.\nconfigJSONInst=Write draw.io JSON configuration in the editor below then click save. If you need help, please refer to\nthisPage=this page\ncurCustLib=Current Custom Libraries\nlibName=Library Name\naction=Action\ndrawConfID=draw.io Config ID\naddLibInst=Click the "Add Library" button to upload a new library.\naddLib=Add Library\ncustomTempInst1=Custom templates are draw.io diagrams saved in children pages of\ncustomTempInst2=For more details, please refer to\ntempsPage=Templates page\npageIdsExpInst1=Select export target, then click the "Start Export" button to export all pages IDs.\npageIdsExpInst2=Please note that the export procedure will take some time and the browser window must remain open until the export is completed.\nstartExp=Start Export\nrefreshDrawIndex=Refresh draw.io Diagrams Index\nreindexInst1=Click the "Start Indexing" button to refresh draw.io diagrams index.\nreindexInst2=Please note that the indexing procedure will take some time and the browser window must remain open until the indexing is completed.\nstartIndexing=Start Indexing\nconfAPageFoundFetch=Page "{1}" found. Fetching\nconfAAllDiagDone=All {1} diagrams processed. Process finished.\nconfAStartedProcessing=Started processing page "{1}"\nconfAAllDiagInPageDone=All {1} diagrams in page "{2}" processed successfully.\nconfAPartialDiagDone={1} out of {2} {3} diagrams in page "{4}" processed successfully.\nconfAUpdatePageFailed=Updating page "{1}" failed.\nconfANoDiagFoundInPage=No {1} diagrams found in page "{2}".\nconfAFetchPageFailed=Fetching the page failed.\nconfANoDiagFound=No {1} diagrams found. Process finished.\nconfASearchFailed=Searching for {1} diagrams failed. Please try again later.\nconfAGliffyDiagFound={2} diagram "{1}" found. Importing\nconfAGliffyDiagImported={2} diagram "{1}" imported successfully.\nconfASavingImpGliffyFailed=Saving imported {2} diagram "{1}" failed.\nconfAImportedFromByDraw=Imported from "{1}" by draw.io\nconfAImportGliffyFailed=Importing {2} diagram "{1}" failed.\nconfAFetchGliffyFailed=Fetching {2} diagram "{1}" failed.\nconfACheckBrokenDiagLnk=Checking for broken diagrams links.\nconfADelDiagLinkOf=Deleting diagram link of "{1}"\nconfADupLnk=(duplicate link)\nconfADelDiagLnkFailed=Deleting diagram link of "{1}" failed.\nconfAUnexpErrProcessPage=Unexpected error during processing the page with id: {1}\nconfADiagFoundIndex=Diagram "{1}" found. Indexing\nconfADiagIndexSucc=Diagram "{1}" indexed successfully.\nconfAIndexDiagFailed=Indexing diagram "{1}" failed.\nconfASkipDiagOtherPage=Skipped "{1}" as it belongs to another page!\nconfADiagUptoDate=Diagram "{1}" is up to date.\nconfACheckPagesWDraw=Checking pages having draw.io diagrams.\nconfAErrOccured=An error occurred!\nsavedSucc=Saved successfully\nconfASaveFailedErr=Saving Failed (Unexpected Error)\ncharacter=Character\nconfAConfPageDesc=This page contains draw.io configuration file (configuration.json) as attachment\nconfALibPageDesc=This page contains draw.io custom libraries as attachments\nconfATempPageDesc=This page contains draw.io custom templates as attachments\nworking=Working\nconfAConfSpaceDesc=This space is used to store draw.io configuration files and custom libraries/templates\nconfANoCustLib=No Custom Libraries\ndelFailed=Delete failed!\nshowID=Show ID\nconfAIncorrectLibFileType=Incorrect file type. Libraries should be XML files.\nuploading=Uploading\nconfALibExist=This library already exists\nconfAUploadSucc=Uploaded successfully\nconfAUploadFailErr=Upload Failed (Unexpected Error)\nhiResPreview=High Res Preview\nofficeNotLoggedGD=You are not logged in to Google Drive. Please open draw.io task pane and login first.\nofficePopupInfo=Please complete the process in the pop-up window.\npickODFile=Pick OneDrive File\ncreateODFile=Create OneDrive File\npickGDriveFile=Pick Google Drive File\ncreateGDriveFile=Create Google Drive File\npickDeviceFile=Pick Device File\nvsdNoConfig="vsdurl" is not configured\nruler=Ruler\nunits=Units\npoints=Points\ninches=Inches\nmillimeters=Millimeters\nconfEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.\nconfDiagEditedExt=Diagram is edited in another session. It will be saved as a new attachment version but the page will show other session\'s modifications.\nmacroNotFound=Macro Not Found\nconfAInvalidPageIdsFormat=Incorrect Page IDs file format\nconfACollectingCurPages=Collecting current pages\nconfABuildingPagesMap=Building pages mapping\nconfAProcessDrawDiag=Started processing imported draw.io diagrams\nconfAProcessDrawDiagDone=Finished processing imported draw.io diagrams\nconfAProcessImpPages=Started processing imported pages\nconfAErrPrcsDiagInPage=Error processing draw.io diagrams in page "{1}"\nconfAPrcsDiagInPage=Processing draw.io diagrams in page "{1}"\nconfAImpDiagram=Importing diagram "{1}"\nconfAImpDiagramFailed=Importing diagram "{1}" failed. Cannot find its new page ID. Maybe it points to a page that is not imported.\nconfAImpDiagramError=Error importing diagram "{1}". Cannot fetch or save the diagram. Cannot fix this diagram links.\nconfAUpdateDgrmCCFailed=Updating link to diagram "{1}" failed.\nconfImpDiagramSuccess=Updating diagram "{1}" done successfully.\nconfANoLnksInDrgm=No links to update in: {1}\nconfAUpdateLnkToPg=Updated link to page: "{1}" in diagram: "{2}"\nconfAUpdateLBLnkToPg=Updated lightbox link to page: "{1}" in diagram: "{2}"\nconfAUpdateLnkBase=Updated base URL from: "{1}" to: "{2}" in diagram: "{3}"\nconfAPageIdsImpDone=Page IDs Import finished\nconfAPrcsMacrosInPage=Processing draw.io macros in page "{1}"\nconfAErrFetchPage=Error fetching page "{1}"\nconfAFixingMacro=Fixing macro of diagram "{1}"\nconfAErrReadingExpFile=Error reading export file\nconfAPrcsDiagInPageDone=Processing draw.io diagrams in page "{1}" finished\nconfAFixingMacroSkipped=Fixing macro of diagram "{1}" failed. Cannot find its new page ID. Maybe it points to a page that is not imported.\npageIdsExpTrg=Export target\nconfALucidDiagImgImported={2} diagram "{1}" image extracted successfully\nconfASavingLucidDiagImgFailed=Extracting {2} diagram "{1}" image failed\nconfGetInfoFailed=Fetching file info from {1} failed.\nconfCheckCacheFailed=Cannot get cached file info.\nconfReadFileErr=Cannot read "{1}" file from {2}.\nconfSaveCacheFailed=Unexpected error. Cannot save cached file\norgChartType=Org Chart Type\nlinear=Linear\nhanger2=Hanger 2\nhanger4=Hanger 4\nfishbone1=Fishbone 1\nfishbone2=Fishbone 2\n1ColumnLeft=Single Column Left\n1ColumnRight=Single Column Right\nsmart=Smart\nparentChildSpacing=Parent Child Spacing\nsiblingSpacing=Sibling Spacing\nconfNoPermErr=Sorry, you don\'t have enough permissions to view this embedded diagram from page {1}\ncopyAsImage=Copy as Image\ncopyAsText=Copy as Text\nlucidImport=Lucidchart Import\nlucidImportInst1=Click the "Start Import" button to import all Lucidchart diagrams.\ninstallFirst=Please install {1} first\ndrawioChromeExt=draw.io Chrome Extension\nloginFirstThen=Please login to {1} first, then {2}\nerrFetchDocList=Error: Couldn\'t fetch documents list\nbuiltinPlugins=Built-in Plugins\nextPlugins=External Plugins\nbackupFound=Backup file found\nchromeOnly=This feature only works in Google Chrome\nmsgDeleted=This message has been deleted\nconfAErrFetchDrawList=Error fetching diagrams list. Some diagrams are skipped.\nconfAErrCheckDrawDiag=Cannot check diagram {1}\nconfAErrFetchPageList=Error fetching pages list\nconfADiagImportIncom={1} diagram "{2}" is imported partially and may have missing shapes\ninvalidSel=Invalid selection\ndiagNameEmptyErr=Diagram name cannot be empty\nopenDiagram=Open Diagram\nnewDiagram=New diagram\neditable=Editable\nconfAReimportStarted=Re-import {1} diagrams started...\nspaceFilter=Filter by spaces\ncurViewState=Current Viewer State\npageLayers=Page and Layers\ncustomize=Customize\nfirstPage=First Page (All Layers)\ncurEditorState=Current Editor State\nnoAnchorsFound=No anchors found\nattachment=Attachment\ncurDiagram=Current Diagram\nrecentDiags=Recent Diagrams\ncsvImport=CSV Import\nchooseFile=Choose a file...\nchoose=Choose\ngdriveFname=Google Drive filename\nwidthOfViewer=Width of the viewer (px)\nheightOfViewer=Height of the viewer (px)\nautoSetViewerSize=Automatically set the size of the viewer\nthumbnail=Thumbnail\nprevInDraw=Preview in draw.io\nonedriveFname=OneDrive filename\ndiagFname=Diagram filename\ndiagUrl=Diagram URL\nshowDiag=Show Diagram\ndiagPreview=Diagram Preview\ncsvFileUrl=CSV File URL\ngenerate=Generate\nselectDiag2Insert=Please select a diagram to insert it.\nerrShowingDiag=Unexpected error. Cannot show diagram\nnoRecentDiags=No recent diagrams found\nfetchingRecentFailed=Failed to fetch recent diagrams\nuseSrch2FindDiags=Use the search box to find draw.io diagrams\ncantReadChckPerms=Cannot read the specified diagram. Please check you have read permission on that file.\ncantFetchChckPerms=Cannot fetch diagram info. Please check you have read permission on that file.\nsearchFailed=Searching failed. Please try again later.\nplsTypeStr=Please type a search string.\nunsupportedFileChckUrl=Unsupported file. Please check the specified URL\ndiagNotFoundChckUrl=Diagram not found or cannot be accessed. Please check the specified URL\ncsvNotFoundChckUrl=CSV file not found or cannot be accessed. Please check the specified URL\ncantReadUpload=Cannot read the uploaded diagram\nselect=Select\nerrCantGetIdType=Unexpected Error: Cannot get content id or type.\nerrGAuthWinBlocked=Error: Google Authentication window blocked\nauthDrawAccess=Authorize draw.io to access {1}\nconnTimeout=The connection has timed out\nerrAuthSrvc=Error authenticating to {1}\nplsSelectFile=Please select a file\nmustBgtZ={1} must be greater than zero\ncantLoadPrev=Cannot load file preview.\nerrAccessFile=Error: Access Denied. You do not have permission to access "{1}".\nnoPrevAvail=No preview is available.\npersonalAccNotSup=Personal accounts are not supported.\nerrSavingTryLater=Error occurred during saving, please try again later.\nplsEnterFld=Please enter {1}\ninvalidDiagUrl=Invalid Diagram URL\nunsupportedVsdx=Unsupported vsdx file\nunsupportedImg=Unsupported image file\nunsupportedFormat=Unsupported file format\nplsSelectSingleFile=Please select a single file only\nattCorrupt=Attachment file "{1}" is corrupted\nloadAttFailed=Failed to load attachment "{1}"\nembedDrawDiag=Embed draw.io Diagram\naddDiagram=Add Diagram\nembedDiagram=Embed Diagram\neditOwningPg=Edit owning page\ndeepIndexing=Deep Indexing (Index diagrams that aren\'t used in any page also)\nconfADeepIndexStarted=Deep Indexing Started\nconfADeepIndexDone=Deep Indexing Done\nofficeNoDiagramsSelected=No diagrams found in the selection\nofficeNoDiagramsInDoc=No diagrams found in the document\nofficeNotSupported=This feature is not supported in this host application\nsomeImagesFailed={1} out of {2} failed due to the following errors\nimportingNoUsedDiagrams=Importing {1} Diagrams not used in pages\nimportingDrafts=Importing {1} Diagrams in drafts\nprocessingDrafts=Processing drafts\nupdatingDrafts=Updating drafts\nupdateDrafts=Update drafts\nnotifications=Notifications\ndrawioImp=draw.io Import\nconfALibsImp=Importing draw.io Libraries\nconfALibsImpFailed=Importing {1} library failed\ncontributors=Contributors\ndrawDiagrams=draw.io Diagrams\nerrFileNotFoundOrNoPer=Error: Access Denied. File not found or you do not have permission to access "{1}" on {2}.\nconfACheckPagesWEmbed=Checking pages having embedded draw.io diagrams.\nconfADelBrokenEmbedDiagLnk=Removing broken embedded diagram links\nreplaceWith=Replace with\nreplaceAll=Replace All\nconfASkipDiagModified=Skipped "{1}" as it was modified after initial import\nreplFind=Replace/Find\nmatchesRepl={1} matches replaced\ndraftErrDataLoss=An error occurred while reading the draft file. The diagram cannot be edited now to prevent any possible data loss. Please try again later or contact support.\nibm=IBM\nlinkToDiagramHint=Add a link to this diagram. The diagram can only be edited from the page that owns it.\nlinkToDiagram=Link to Diagram\nchangedBy=Changed By\nlastModifiedOn=Last modified on\nsearchResults=Search Results\nshowAllTemps=Show all templates\nnotionToken=Notion Token\nselectDB=Select Database\nnoDBs=No Databases\ndiagramEdited={1} diagram "{2}" edited\nconfDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?\nconfFileTooBigErr=File size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration.\nowner=Owner\nrepository=Repository\nbranch=Branch\nmeters=Meters\nteamsNoEditingMsg=Editor functionality is only available in Desktop environment (in MS Teams App or a web browser)\ncontactOwner=Contact Owner\nviewerOnlyMsg=You cannot edit the diagrams in the mobile platform, please use the desktop client or a web browser.\nwebsite=Website\ncheck4Updates=Check for updates\nattWriteFailedRetry={1}: Attachment write failed, trying again in {2} seconds...\nconfPartialPageList=We couldn\'t fetch all pages due to an error in Confluence. Continuing using {1} pages only.\nspellCheck=Spell checker\nnoChange=No Change\nlblToSvg=Convert labels to SVG\ntxtSettings=Text Settings\nLinksLost=Links will be lost\narcSize=Arc Size\neditConnectionPoints=Edit Connection Points\nnotInOffline=Not supported while offline\nnotInDesktop=Not supported in Desktop App\nconfConfigSpaceArchived=draw.io Configuration space (DRAWIOCONFIG) is archived. Please restore it first.\nconfACleanOldVerStarted=Cleaning old diagram draft versions started\nconfACleanOldVerDone=Cleaning old diagram draft versions finished\nconfACleaningFile=Cleaning diagram draft "{1}" old versions\nconfAFileCleaned=Cleaning diagram draft "{1}" done\nconfAFileCleanFailed=Cleaning diagram draft "{1}" failed\nconfACleanOnly=Clean Diagram Drafts Only\nbrush=Brush\nopenDevTools=Open Developer Tools\nautoBkp=Automatic Backup\nconfAIgnoreCollectErr=Ignore collecting current pages errors\ndrafts=Drafts\ndraftSaveInt=Draft save interval [sec] (0 to disable)\npluginsDisabled=External plugins disabled.\nextExpNotConfigured=External image service is not configured\npathFilename=Path/Filename\nconfAHugeInstances=Very Large Instances\nconfAHugeInstancesDesc=If this instance includes 100,000+ pages, it is faster to request the current instance pages list from Atlassian. Please contact our support for more details.\nchoosePageIDsFile=Choose current page IDs csv file\nchooseDrawioPsgesFile=Choose pages with draw.io diagrams csv file\nprivate=Private\ndiagramTooLarge=The diagram is too large, please reduce its size and try again.\nselectAdminUsers=Select Admin Users\nxyzTeam={1} Team\naddTeamTitle=Adding a new draw.io Team\naddTeamInst1=To create a new draw.io Team, you need to create a new Atlassian group with "drawio-" prefix (e.g, a group named "drawio-marketing").\naddTeamInst2=Then, configure which team member can edit/add configuration, templates, and libraries from this page.\ndrawioTeams=draw.io Teams\nmembers=Members\nadminEditors=Admins/Editors\nallowAll=Allow all\nnoTeams=No teams found\nerrorLoadingTeams=Error Loading Teams\nnoTeamMembers=No team members found\nerrLoadTMembers=Error loading team members\nerrCreateTeamPage=Error creating team "{1}" page in "draw.io Configuration" space, please check you have the required permissions.\ngotoConfigPage=Please create the space from draw.io "Configuration" page.\nnoAdminsSelected=No admins/editors selected\nerrCreateConfigFile=Error creating "configuration.json" file, please check you have the required permissions.\nerrSetPageRestr=Error setting page restrictions\nnotAdmin4Team=You are not an admin for this team\nconfigUpdated=Configuration updated, restart the editor if you want to work with last configuration.\noutOfDateRevisionAlert=You are editing a historical revision of the diagram, please review the revision and open it to replace the latest version. Or close and overwrite/merge later.\nconfAErrFaqs=There are {1} error(s), the following instructions may help fixing most of the cases. (Please download the log for future references)\nconfA403ErrFaq=There are ({1}) 403 error(s). The current users must have add (write) permissions on all pages and attachments. Even admins sometimes are not allowed to write to some pages via page restrictions\nconfA404ErrFaq=There are ({1}) 404 error(s). The attachment/page is not found. This is due to improper migration or the diagram file (an attachment of the page) is deleted.\nconfA500ErrFaq=There are ({1}) 500 error(s). An internal server error in Confluence Cloud. Such errors are due to overloading the server and usually fixed by retrying the process.\nconfAOtherErrFaq=There are ({1}) other error(s). Please check the error description. If the description is not clear, please contact our support.\nconfAReplaceBaseUrl=Replace Base URL in diagram links when no page ID mapping is found\ndrawSvgPrev=draw.io SVG preview\ngoogleFonts=Google Fonts\ndiagDupl=Duplicate Diagram Detected\ndiagDuplMsg=This diagram is used in multiple places, which can result in unexpected results when edited. We\'ve created an independent copy. Please open the editor again.\ndiagDuplNoEditMsg=This diagram is used in multiple places. Please edit it within its own page.\nconfCloudMigConfirm=Warning: This process will edit many pages and diagrams, so it is recommended to stop the Synchrony service during the process. Do you want to proceed?\nconfCloudMigNotice=In the Cloud instance, please add linkAdjustments to draw.io configuration as follows {1}. Without this configuration, links in diagrams pointing to Confluence pages will not work.\nconfALogsPageDesc=This page contains logs of draw.io long running services as attachments\nconfEditOnlyInPageEditor=Can only be edited within Confluence page editor\nconfEvalWarn=Evaluation License - Not for production use\notherUsersEditing=Other user(s) are editing this diagram\nfirstTimeGD=First time to access this file?\ndrawioGDAppNotInstalled=draw.io Google Drive app is not installed, please install it first\nConfDC415Error=Saving drafts is blocked. If you have "Attachment Checker for Confluence" app, please update to the latest version.\n');Graph.prototype.defaultThemes["default-style2"]=mxUtils.parseXml('<mxStylesheet><add as="defaultVertex"><add as="shape" value="label"/><add as="perimeter" value="rectanglePerimeter"/><add as="fontSize" value="12"/><add as="fontFamily" value="Helvetica"/><add as="align" value="center"/><add as="verticalAlign" value="middle"/><add as="fillColor" value="default"/><add as="strokeColor" value="default"/><add as="fontColor" value="default"/></add><add as="defaultEdge"><add as="shape" value="connector"/><add as="labelBackgroundColor" value="default"/><add as="endArrow" value="classic"/><add as="fontSize" value="11"/><add as="fontFamily" value="Helvetica"/><add as="align" value="center"/><add as="verticalAlign" value="middle"/><add as="rounded" value="1"/><add as="strokeColor" value="default"/><add as="fontColor" value="default"/></add><add as="text"><add as="fillColor" value="none"/><add as="gradientColor" value="none"/><add as="strokeColor" value="none"/><add as="align" value="left"/><add as="verticalAlign" value="top"/></add><add as="edgeLabel" extend="text"><add as="labelBackgroundColor" value="default"/><add as="fontSize" value="11"/></add><add as="label"><add as="fontStyle" value="1"/><add as="align" value="left"/><add as="verticalAlign" value="middle"/><add as="spacing" value="2"/><add as="spacingLeft" value="52"/><add as="imageWidth" value="42"/><add as="imageHeight" value="42"/><add as="rounded" value="1"/></add><add as="icon" extend="label"><add as="align" value="center"/><add as="imageAlign" value="center"/><add as="verticalLabelPosition" value="bottom"/><add as="verticalAlign" value="top"/><add as="spacingTop" value="4"/><add as="labelBackgroundColor" value="default"/><add as="spacing" value="0"/><add as="spacingLeft" value="0"/><add as="spacingTop" value="6"/><add as="fontStyle" value="0"/><add as="imageWidth" value="48"/><add as="imageHeight" value="48"/></add><add as="swimlane"><add as="shape" value="swimlane"/><add as="fontSize" value="12"/><add as="fontStyle" value="1"/><add as="startSize" value="23"/></add><add as="group"><add as="verticalAlign" value="top"/><add as="fillColor" value="none"/><add as="strokeColor" value="none"/><add as="gradientColor" value="none"/><add as="pointerEvents" value="0"/></add><add as="ellipse"><add as="shape" value="ellipse"/><add as="perimeter" value="ellipsePerimeter"/></add><add as="rhombus"><add as="shape" value="rhombus"/><add as="perimeter" value="rhombusPerimeter"/></add><add as="triangle"><add as="shape" value="triangle"/><add as="perimeter" value="trianglePerimeter"/></add><add as="line"><add as="shape" value="line"/><add as="strokeWidth" value="4"/><add as="labelBackgroundColor" value="default"/><add as="verticalAlign" value="top"/><add as="spacingTop" value="8"/></add><add as="image"><add as="shape" value="image"/><add as="labelBackgroundColor" value="default"/><add as="verticalAlign" value="top"/><add as="verticalLabelPosition" value="bottom"/></add><add as="roundImage" extend="image"><add as="perimeter" value="ellipsePerimeter"/></add><add as="rhombusImage" extend="image"><add as="perimeter" value="rhombusPerimeter"/></add><add as="arrow"><add as="shape" value="arrow"/><add as="edgeStyle" value="none"/><add as="fillColor" value="default"/></add><add as="fancy"><add as="shadow" value="1"/><add as="glass" value="1"/></add><add as="gray" extend="fancy"><add as="gradientColor" value="#B3B3B3"/><add as="fillColor" value="#F5F5F5"/><add as="strokeColor" value="#666666"/></add><add as="blue" extend="fancy"><add as="gradientColor" value="#7EA6E0"/><add as="fillColor" value="#DAE8FC"/><add as="strokeColor" value="#6C8EBF"/></add><add as="green" extend="fancy"><add as="gradientColor" value="#97D077"/><add as="fillColor" value="#D5E8D4"/><add as="strokeColor" value="#82B366"/></add><add as="turquoise" extend="fancy"><add as="gradientColor" value="#67AB9F"/><add as="fillColor" value="#D5E8D4"/><add as="strokeColor" value="#6A9153"/></add><add as="yellow" extend="fancy"><add as="gradientColor" value="#FFD966"/><add as="fillColor" value="#FFF2CC"/><add as="strokeColor" value="#D6B656"/></add><add as="orange" extend="fancy"><add as="gradientColor" value="#FFA500"/><add as="fillColor" value="#FFCD28"/><add as="strokeColor" value="#D79B00"/></add><add as="red" extend="fancy"><add as="gradientColor" value="#EA6B66"/><add as="fillColor" value="#F8CECC"/><add as="strokeColor" value="#B85450"/></add><add as="pink" extend="fancy"><add as="gradientColor" value="#B5739D"/><add as="fillColor" value="#E6D0DE"/><add as="strokeColor" value="#996185"/></add><add as="purple" extend="fancy"><add as="gradientColor" value="#8C6C9C"/><add as="fillColor" value="#E1D5E7"/><add as="strokeColor" value="#9673A6"/></add><add as="plain-gray"><add as="gradientColor" value="#B3B3B3"/><add as="fillColor" value="#F5F5F5"/><add as="strokeColor" value="#666666"/></add><add as="plain-blue"><add as="gradientColor" value="#7EA6E0"/><add as="fillColor" value="#DAE8FC"/><add as="strokeColor" value="#6C8EBF"/></add><add as="plain-green"><add as="gradientColor" value="#97D077"/><add as="fillColor" value="#D5E8D4"/><add as="strokeColor" value="#82B366"/></add><add as="plain-turquoise"><add as="gradientColor" value="#67AB9F"/><add as="fillColor" value="#D5E8D4"/><add as="strokeColor" value="#6A9153"/></add><add as="plain-yellow"><add as="gradientColor" value="#FFD966"/><add as="fillColor" value="#FFF2CC"/><add as="strokeColor" value="#D6B656"/></add><add as="plain-orange"><add as="gradientColor" value="#FFA500"/><add as="fillColor" value="#FFCD28"/><add as="strokeColor" value="#D79B00"/></add><add as="plain-red"><add as="gradientColor" value="#EA6B66"/><add as="fillColor" value="#F8CECC"/><add as="strokeColor" value="#B85450"/></add><add as="plain-pink"><add as="gradientColor" value="#B5739D"/><add as="fillColor" value="#E6D0DE"/><add as="strokeColor" value="#996185"/></add><add as="plain-purple"><add as="gradientColor" value="#8C6C9C"/><add as="fillColor" value="#E1D5E7"/><add as="strokeColor" value="#9673A6"/></add></mxStylesheet>').documentElement;
+null!=B.menus.tagsWindow&&B.menus.tagsWindow.window.fit();null!=B.menus.findWindow&&B.menus.findWindow.window.fit();null!=B.menus.findReplaceWindow&&B.menus.findReplaceWindow.window.fit()})}}};(function(){var b=!1;"min"!=uiTheme||b||mxClient.IS_CHROMEAPP||(EditorUi.initMinimalTheme(),b=!0);var e=EditorUi.initTheme;EditorUi.initTheme=function(){e.apply(this,arguments);"min"!=uiTheme||b||(this.initMinimalTheme(),b=!0)}})();DrawioComment=function(b,e,g,n,v,q,C){this.file=b;this.id=e;this.content=g;this.modifiedDate=n;this.createdDate=v;this.isResolved=q;this.user=C;this.replies=[]};DrawioComment.prototype.addReplyDirect=function(b){null!=b&&this.replies.push(b)};DrawioComment.prototype.addReply=function(b,e,g,n,v){e()};DrawioComment.prototype.editComment=function(b,e,g){e()};DrawioComment.prototype.deleteComment=function(b,e){b()};DrawioUser=function(b,e,g,n,v){this.id=b;this.email=e;this.displayName=g;this.pictureUrl=n;this.locale=v};mxResources.parse('# *DO NOT DIRECTLY EDIT THIS FILE, IT IS AUTOMATICALLY GENERATED AND IT IS BASED ON:*\n# https://docs.google.com/spreadsheet/ccc?key=0AmQEO36liL4FdDJLWVNMaVV2UmRKSnpXU09MYkdGbEE\nabout=About\naboutDrawio=About draw.io\naccessDenied=Access Denied\naccounts=Accounts\naction=Action\nactualSize=Actual Size\nadaptiveColors=Adaptive Colors\nadd=Add\naddAccount=Add account\naddedFile=Added {1}\naddImages=Add Images\naddImageUrl=Add Image URL\naddLayer=Add Layer\naddProperty=Add Property\naddress=Address\naddToExistingDrawing=Add to Existing Drawing\naddToScratchpad=Add to Scratchpad\naddWaypoint=Add Waypoint\nadjustTo=Adjust to\nadvanced=Advanced\nsmartTemplate=Smart Template\nalign=Align\nalignment=Alignment\nallChangesLost=All changes will be lost!\nallPages=All Pages\nallProjects=All Projects\nallSpaces=All Spaces\nallTags=All Tags\nanchor=Anchor\nandroid=Android\nangle=Angle\nanimations=Animations\narc=Arc\nareYouSure=Are you sure?\nensureDataSaved=Please ensure your data is saved before closing.\nallChangesSaved=All changes saved\nallChangesSavedInDrive=All changes saved in Drive\nallowPopups=Allow pop-ups to avoid this dialog.\nallowRelativeUrl=Allow relative URL\nalreadyConnected=Nodes already connected\nappearance=Appearance\napply=Apply\narchiMate21=ArchiMate 2.1\narrange=Arrange\narrow=Arrow\narrows=Arrows\naskMeAnything=Ask me anything\nasNew=As New\natlas=Atlas\nauthor=Author\nauthorizationRequired=Authorization required\nauthorizeThisAppIn=Authorize this app in {1}:\nauthorize=Authorize\nauthorizing=Authorizing\nautomatic=Automatic\nautosave=Autosave\nautosize=Autosize\nattachments=Attachments\naws=AWS\naws3d=AWS 3D\nazure=Azure\nback=Back\nbackground=Background\nbackgroundColor=Background Color\nbackgroundImage=Background Image\nbasic=Basic\nbeta=beta\nblankDrawing=Blank Drawing\nblankDiagram=Blank Diagram\nblock=Block\nblockquote=Blockquote\nblog=Blog\nbold=Bold\nbootstrap=Bootstrap\nborder=Border\nborderColor=Border Color\nborderWidth=Border Width\nbottom=Bottom\nbottomAlign=Bottom Align\nbottomLeft=Bottom Left\nbottomRight=Bottom Right\nbpmn=BPMN\nbringForward=Bring Forward\nbrowser=Browser\nbulletedList=Bulleted List\nbusiness=Business\nbusy=Operation in progress\ncabinets=Cabinets\ncancel=Cancel\ncenter=Center\ncannotLoad=Load attempts failed. Please try again later.\ncannotLogin=Log in attempts failed. Please try again later.\ncannotOpenFile=Cannot open file\nchange=Change\nchangeOrientation=Change Orientation\nchangeUser=Change user\nchangeStorage=Change storage\nchangesNotSaved=Changes have not been saved\nclassDiagram=Class Diagram\nuserJoined={1} has joined\nuserLeft={1} has left\nchatWindowTitle=Chat\nchooseAnOption=Choose an option\nchromeApp=Chrome App\ncollaborativeEditingNotice=Important Notice for Collaborative Editing\ncompare=Compare\ncompressed=Compressed\ncommitMessage=Commit Message\nconfigLinkWarn=This link configures draw.io. Only click OK if you trust whoever gave you it!\nconfigLinkConfirm=Click OK to configure and restart draw.io.\ncontainer=Container\ncsv=CSV\ndark=Dark\ndiagramLanguage=Diagram Language\ndiagramType=Diagram type\ndiagramXmlDesc=XML File\ndiagramHtmlDesc=HTML File\ndiagramPngDesc=Editable Bitmap Image\ndiagramSvgDesc=Editable Vector Image\ndidYouMeanToExportToPdf=Did you mean to export to PDF?\ndisabled=Disabled\ndraftFound=A draft for \'{1}\' has been found. Load it into the editor or discard it to continue.\ndraftRevisionMismatch=There is a different version of this diagram on a shared draft of this page. Please edit the diagram from the draft to ensure you are working with the latest version.\nselectDraft=Select a draft to continue editing:\ndragAndDropNotSupported=Drag and drop not supported for images. Would you like to import instead?\ndropboxCharsNotAllowed=The following characters are not allowed: / : ? * " |\ncheck=Check\nchecksum=Checksum\ncircle=Circle\ncisco=Cisco\nclassic=Classic\nclearDefaultStyle=Clear Default Style\nclearWaypoints=Clear Waypoints\nclipart=Clipart\nclose=Close\nclosingFile=Closing file\nrealtimeCollaboration=Real-Time Collaboration\ncollaborate=Collaborate\ncollaborator=Collaborator\ncollaborators=Collaborators\ncollapse=Collapse\ncollapseExpand=Collapse/Expand\ncollapse-expand=Click to collapse/expand\nShift-click to move neighbors \nAlt-click to protect group size\ncollapsible=Collapsible\ncomic=Comic\ncomment=Comment\ncommentsNotes=Comments/Notes\ncompress=Compress\nconfiguration=Configuration\nconnect=Connect\nconnecting=Connecting\nconnectWithDrive=Connect with Google Drive\nconnection=Connection\nconnectionArrows=Connection Arrows\nconnectionPoints=Connection Points\nconstrainProportions=Constrain Proportions\ncontainsValidationErrors=Contains validation errors\ncopiedToClipboard=Copied to clipboard\ncopy=Copy\ncopyConnect=Copy on connect\ncopyCreated=A copy of the file was created.\ncopyData=Copy Data\ncopyOf=Copy of {1}\ncopyOfDrawing=Copy of Drawing\ncopySize=Copy Size\ncopyStyle=Copy Style\ncreate=Create\ncreateBlankDiagram=Create Blank Diagram\ncreateNewDiagram=Create New Diagram\ncreateRevision=Create Revision\ncreateShape=Create Shape\ncrop=Crop\ncurved=Curved\ncustom=Custom\ncurrent=Current\ncurrentPage=Current page\ncut=Cut\ndashed=Dashed\ndecideLater=Decide later\ndefault=Default\ndelete=Delete\ndeleteAll=Delete all\ndeleteColumn=Delete column\ndeleteLibrary401=Insufficient permissions to delete this library\ndeleteLibrary404=Selected library could not be found\ndeleteLibrary500=Error deleting library\ndeleteLibraryConfirm=You are about to permanently delete this library. Are you sure you want to do this?\ndeleteRow=Delete Row\ndescription=Description\ndescribeYourDiagram=Describe your diagram\ndevice=Device\ndiagram=Diagram\ndiagramContent=Diagram Content\ndiagramLocked=Diagram has been locked to prevent further data loss.\ndiagramLockedBySince=The diagram is locked by {1} since {2} ago\ndiagramName=Diagram Name\ndiagramIsPublic=Diagram is public\ndiagramIsNotPublic=Diagram is not public\ndiamond=Diamond\ndiamondThin=Diamond (thin)\ndidYouKnow=Did you know...\ndirection=Direction\ndiscard=Discard\ndiscardChangesAndReconnect=Discard Changes and Reconnect\ngoogleDriveMissingClickHere=Google Drive missing? Click here!\ndiscardChanges=Discard Changes\ndisconnected=Disconnected\ndistribute=Distribute\ndone=Done\ndoNotShowAgain=Do not show again\ndotted=Dotted\ndoubleClickOrientation=Doubleclick to change orientation\ndoubleClickTooltip=Doubleclick to insert text\ndoubleClickChangeProperty=Doubleclick to change property name\ndownload=Download\ndownloadDesktop=Get Desktop\ndownloadAs=Download as\nclickHereToSave=Click here to save.\ndpi=DPI\ndraftDiscarded=Draft discarded\ndraftSaved=Draft saved\ndragElementsHere=Drag elements here\ndragImagesHere=Drag images or URLs here\ndragUrlsHere=Drag URLs here\ndraw.io=draw.io\ndrawing=Drawing{1}\ndrawingEmpty=Drawing is empty\ndrawingTooLarge=Drawing is too large\ndrawioForWork=Draw.io for GSuite\ndropbox=Dropbox\nduplicate=Duplicate\nduplicateIt=Duplicate {1}\ndivider=Divider\ndx=Dx\ndy=Dy\neast=East\nedit=Edit\neditData=Edit Data\neditDiagram=Edit Diagram\neditGeometry=Edit Geometry\neditImage=Edit Image\neditImageUrl=Edit Image URL\neditLink=Edit Link\neditShape=Edit Shape\neditStyle=Edit Style\neditText=Edit Text\neditTooltip=Edit Tooltip\nglass=Glass\ngoogleImages=Google Images\nimageSearch=Image Search\neip=EIP\nembed=Embed\nembedFonts=Embed Fonts\nembedImages=Embed Images\nmainEmbedNotice=Paste this into the page\nelectrical=Electrical\nellipse=Ellipse\nembedNotice=Paste this once at the end of the page\nenterGroup=Enter Group\nenterName=Enter Name\nenterPropertyName=Enter Property Name\nenterValue=Enter Value\nentityRelation=Entity Relation\nentityRelationshipDiagram=Entity Relationship Diagram\nerror=Error\nerrorDeletingFile=Error deleting file\nerrorLoadingFile=Error loading file\nerrorRenamingFile=Error renaming file\nerrorRenamingFileNotFound=Error renaming file. File was not found.\nerrorRenamingFileForbidden=Error renaming file. Insufficient access rights.\nerrorSavingDraft=Error saving draft\nerrorSavingFile=Error saving file\nerrorSavingFileUnknown=Error authorizing with Google\'s servers. Please refresh the page to re-attempt.\nerrorSavingFileForbidden=Error saving file. Insufficient access rights.\nerrorSavingFileNameConflict=Could not save diagram. Current page already contains file named \'{1}\'.\nerrorSavingFileNotFound=Error saving file. File was not found.\nerrorSavingFileReadOnlyMode=Could not save diagram while read-only mode is active.\nerrorSavingFileSessionTimeout=Your session has ended. Please <a target=\'_blank\' href=\'{1}\'>{2}</a> and return to this tab to try to save again.\nerrorSendingFeedback=Error sending feedback.\nerrorUpdatingPreview=Error updating preview.\nexit=Exit\nexitGroup=Exit Group\nexpand=Expand\nexplore=Explore\nexport=Export\nexporting=Exporting\nexportAs=Export as\nexportOptionsDisabled=Export options disabled\nexportOptionsDisabledDetails=The owner has disabled options to download, print or copy for commenters and viewers on this file.\nexternalChanges=External Changes\nextras=Extras\nfacebook=Facebook\nfailedToSaveTryReconnect=Failed to save, trying to reconnect\nfeatureRequest=Feature Request\nfeedback=Feedback\nfeedbackSent=Feedback successfully sent.\nfloorplans=Floorplans\nfile=File\nfileChangedOverwriteDialog=The file has been modified. Do you want to save the file and overwrite those changes?\nfileChangedSyncDialog=The file has been modified.\nfileChangedSync=The file has been modified. Click here to synchronize.\noverwrite=Overwrite\nsynchronize=Synchronize\nfilename=Filename\nfileExists=File already exists\nfileMovedToTrash=File was moved to trash\nfileNearlyFullSeeFaq=File nearly full, please see FAQ\nfileNotFound=File not found\nrepositoryNotFound=Repository not found\nfileNotFoundOrDenied=The file was not found. It does not exist or you do not have access.\nfileNotLoaded=File not loaded\nfileNotSaved=File not saved\nfileOpenLocation=How would you like to open these file(s)?\nfiletypeHtml=.html causes file to save as HTML with redirect to cloud URL\nfiletypePng=.png causes file to save as PNG with embedded data\nfiletypeSvg=.svg causes file to save as SVG with embedded data\nfileWillBeSavedInAppFolder={1} will be saved in the app folder.\nfill=Fill\nfillColor=Fill Color\nfilterCards=Filter Cards\nfind=Find\nfit=Fit\nfitContainer=Resize Container\nfitIntoContainer=Fit into Container\nfitPage=Fit Page\nfitPageWidth=Fit Page Width\nfitTo=Fit to\nfitToSheetsAcross=sheet(s) across\nfitToBy=by\nfitToSheetsDown=sheet(s) down\nfitTwoPages=Two Pages\nfitWindow=Fit Window\nflip=Flip\nflipH=Flip Horizontal\nflipV=Flip Vertical\nflowAnimation=Flow Animation\nflowchart=Flowchart\nfolder=Folder\nfont=Font\nfontColor=Font Color\nfontFamily=Font Family\nfontSize=Font Size\nforbidden=You are not authorized to access this file\nformat=Format\nformatPanel=Format Panel\nformatted=Formatted\nformattedText=Formatted Text\nformatPng=PNG\nformatGif=GIF\nformatJpg=JPEG\nformatPdf=PDF\nformatSql=SQL\nformatSvg=SVG\nformatHtmlEmbedded=HTML\nformatSvgEmbedded=SVG (with XML)\nformatVsdx=VSDX\nformatVssx=VSSX\nformatWebp=WebP\nformatXmlPlain=XML (Plain)\nformatXml=XML\nforum=Discussion/Help Forums\nfreehand=Freehand\nfromTemplate=From Template\nfromTemplateUrl=From Template URL\nfromText=From Text\nfromUrl=From URL\nfromThisPage=From this page\nfullscreen=Fullscreen\ngap=Gap\ngcp=GCP\ngeneral=General\ngetNotionChromeExtension=Get the Notion Chrome Extension\ngithub=GitHub\ngitlab=GitLab\ngliffy=Gliffy\nglobal=Global\ngoogleDocs=Google Docs\ngoogleDrive=Google Drive\ngoogleGadget=Google Gadget\ngoogleSharingNotAvailable=Sharing is only available via Google Drive. Please click Open below and share from the more actions menu:\ngoogleSlides=Google Slides\ngoogleSites=Google Sites\ngoogleSheets=Google Sheets\ngradient=Gradient\ngradientColor=Color\ngrid=Grid\ngridColor=Grid Color\ngridSize=Grid Size\ngroup=Group\nguides=Guides\nhateApp=I hate draw.io\nheading=Heading\nheight=Height\nhelp=Help\nhelpTranslate=Help us translate this application\nhide=Hide\nhideIt=Hide {1}\nhidden=Hidden\nhighContrast=High Contrast\nhome=Home\nhorizontal=Horizontal\nhorizontalFlow=Horizontal Flow\nhorizontalTree=Horizontal Tree\nhowTranslate=How good is the translation in your language?\nhtml=HTML\nhtmlText=HTML Text\nid=ID\niframe=IFrame\nignore=Ignore\nimage=Image\nimageUrl=Image URL\nimages=Images\nimagePreviewError=This image couldn\'t be loaded for preview. Please check the URL.\nimageTooBig=Image too big\nimgur=Imgur\nimport=Import\nimportFrom=Import from\nimproveContrast=Improve Contrast\nincludeCopyOfMyDiagram=Include a copy of my diagram\nincreaseIndent=Increase Indent\ndecreaseIndent=Decrease Indent\ninsert=Insert\ninsertColumnBefore=Insert Column Left\ninsertColumnAfter=Insert Column Right\ninsertEllipse=Insert Ellipse\ninsertImage=Insert Image\ninsertHorizontalRule=Insert Horizontal Rule\ninsertLink=Insert Link\ninsertPage=Insert Page\ninsertRectangle=Insert Rectangle\ninsertRhombus=Insert Rhombus\ninsertRowBefore=Insert Row Above\ninsertRowAfter=Insert Row After\ninsertText=Insert Text\ninserting=Inserting\ninstallApp=Install App\ninvalidFilename=Diagram names must not contain the following characters: / | : ; { } < > & + ? = "\ninvalidLicenseSeeThisPage=Your license is invalid, please see this <a target="_blank" href="https://www.drawio.com/doc/faq/license-drawio-confluence-jira-cloud">page</a>.\ninvalidInput=Invalid input\ninvalidName=Invalid name\ninvalidOrMissingFile=Invalid or missing file\ninvalidPublicUrl=Invalid public URL\nisometric=Isometric\nios=iOS\nitalic=Italic\nkennedy=Kennedy\nkeyboardShortcuts=Keyboard Shortcuts\nlabels=Labels\nlayers=Layers\nlandscape=Landscape\nlanguage=Language\nleanMapping=Lean Mapping\nlastChange=Last change {1} ago\nlessThanAMinute=less than a minute\nlicensingError=Licensing Error\nlicenseHasExpired=The license for {1} has expired on {2}. Click here.\nlicenseRequired=This feature requires draw.io to be licensed.\nlicenseWillExpire=The license for {1} will expire on {2}. Click here.\nlight=Light\nlineJumps=Line jumps\nlinkAccountRequired=If the diagram is not public a Google account is required to view the link.\nlinkText=Link Text\nlist=List\nminute=minute\nminutes=minutes\nhours=hours\ndays=days\nmonths=months\nyears=years\nrestartForChangeRequired=Changes will take effect after a restart of the application.\nlaneColor=Lanecolor\nlanguageCode=Language Code\nlastModified=Last modified\nlayout=Layout\nleft=Left\nleftAlign=Left Align\nleftToRight=Left to right\nlibraryTooltip=Drag and drop shapes here or click + to insert. Double click to edit.\nlightbox=Lightbox\nline=Line\nlineend=Line end\nlineheight=Line Height\nlinestart=Line start\nlinewidth=Linewidth\nlink=Link\nlinks=Links\nloading=Loading\nlocked=Locked\nlockUnlock=Lock/Unlock\nloggedOut=Logged Out\nlogIn=log in\nloveIt=I love {1}\nlucidchart=Lucidchart\nmaps=Maps\nmathematicalTypesetting=Mathematical Typesetting\nmakeCopy=Make a Copy\nmanual=Manual\nmerge=Merge\nmermaid=Mermaid\nmicrosoftOffice=Microsoft Office\nmicrosoftExcel=Microsoft Excel\nmicrosoftPowerPoint=Microsoft PowerPoint\nmicrosoftWord=Microsoft Word\nmiddle=Middle\nminimal=Minimal\nmisc=Misc\nmockups=Mockups\nmodern=Modern\nmodificationDate=Modification date\nmodifiedBy=Modified by\nmore=More\nmoreResults=More Results\nmoreShapes=More Shapes\nmove=Move\nmoveToFolder=Move to Folder\nmoving=Moving\nmoveSelectionTo=Move selection to {1}\nmyDrive=My Drive\nmyFiles=My Files\nname=Name\nnavigation=Navigation\nnetwork=Network\nnetworking=Networking\nnew=New\nnewLibrary=New Library\nnextPage=Next Page\nno=No\nnoPickFolder=No, pick folder\nnoAttachments=No attachments found\nnoColor=No Color\nnoFiles=No Files\nnoFileSelected=No file selected\nnoLibraries=No libraries found\nnoMoreResults=No more results\nnone=None\nnoOtherViewers=No other viewers\nnoPlugins=No plugins\nnoPreview=No preview\nnoResponse=No response from server\nnoResultsFor=No results for \'{1}\'\nnoRevisions=No revisions\nnoSearchResults=No search results found\nnoPageContentOrNotSaved=No anchors found on this page or it hasn\'t been saved yet\nnormal=Normal\nnorth=North\nnotADiagramFile=Not a diagram file\nnotALibraryFile=Not a library file\nnotAvailable=Not available\nnotAUtf8File=Not a UTF-8 file\nnotConnected=Not connected\nnote=Note\nnotion=Notion\nnotSatisfiedWithImport=Not satisfied with the import?\nnotUsingService=Not using {1}?\nnumberedList=Numbered list\noffline=Offline\nok=OK\noneDrive=OneDrive\nonline=Online\nopacity=Opacity\nopen=Open\nopenArrow=Open Arrow\nopenExistingDiagram=Open Existing Diagram\nopenFile=Open File\nopenFrom=Open from\nopenLibrary=Open Library\nopenLibraryFrom=Open Library from\nopenLink=Open Link\nopenInNewWindow=Open in New Window\nopenInThisWindow=Open in This Window\nopenIt=Open {1}\nopenRecent=Open Recent\nopenSupported=Supported formats are files saved from this software (.xml), .vsdx and .gliffy\noptions=Options\norganic=Organic\norgChart=Org Chart\northogonal=Orthogonal\notherViewer=other viewer\notherViewers=other viewers\noutline=Outline\noval=Oval\npage=Page\npageContent=Page Content\npageNotFound=Page not found\npageWithNumber=Page-{1}\npages=Pages\npageTabs=Page Tabs\npageView=Page View\npageSetup=Page Setup\npageScale=Page Scale\npan=Pan\npanTooltip=Space+Drag to pan\npaperSize=Paper Size\npattern=Pattern\nparallels=Parallels\npaste=Paste\npasteData=Paste Data\npasteHere=Paste here\npasteSize=Paste Size\npasteStyle=Paste Style\nperimeter=Perimeter\npermissionAnyone=Anyone can edit\npermissionAuthor=Owner and admins can edit\npickFolder=Pick a folder\npickLibraryDialogTitle=Select Library\npublicDiagramUrl=Public URL of the diagram\nplaceholders=Placeholders\nplantUml=PlantUML\nplugins=Plugins\npluginUrl=Plugin URL\npluginWarning=The page has requested to load the following plugin(s):\n \n {1}\n \n Would you like to load these plugin(s) now?\n \n NOTE : Only allow plugins to run if you fully understand the security implications of doing so.\n\nplusTooltip=Click to connect and clone (ctrl+click to clone, shift+click to connect). Drag to connect (ctrl+drag to clone).\nportrait=Portrait\nposition=Position\nposterPrint=Poster Print\npreferences=Preferences\npreview=Preview\npreviousPage=Previous Page\npresentationMode=Presentation Mode\nprint=Print\nprocEng=Proc. Eng.\nproject=Project\npriority=Priority\nprocessForHiringNewEmployee=Process for hiring a new employee\nproperties=Properties\npublish=Publish\nquickStart=Quick Start Video\nrack=Rack\nradial=Radial\nradialTree=Radial Tree\nreadOnly=Read-only\nreconnecting=Reconnecting\nrecentlyUpdated=Recently Updated\nrecentlyViewed=Recently Viewed\nrectangle=Rectangle\nredirectToNewApp=This file was created or modified in a newer version of this app. You will be redirected now.\nrealtimeTimeout=It looks like you\'ve made a few changes while offline. We\'re sorry, these changes cannot be saved.\nredo=Redo\nrefresh=Refresh\nregularExpression=Regular Expression\nrelative=Relative\nrelativeUrlNotAllowed=Relative URL not allowed\nrememberMe=Remember me\nrememberThisSetting=Remember this setting\nremoveFormat=Clear Formatting\nremoveFromGroup=Remove from Group\nremoveIt=Remove {1}\nremoveWaypoint=Remove Waypoint\nrename=Rename\nrenamed=Renamed\nrenameIt=Rename {1}\nrenaming=Renaming\nreplace=Replace\nreplaceIt={1} already exists. Do you want to replace it?\nreplaceExistingDrawing=Replace existing drawing\nrequired=required\nrequirementDiagram=Requirement Diagram\nreset=Reset\nresetView=Reset View\nresize=Resize\nresizeLargeImages=Do you want to resize large images to make the application run faster?\nretina=Retina\nresponsive=Responsive\nrestore=Restore\nrestoring=Restoring\nretryingIn=Retrying in {1} second(s)\nretryingLoad=Load failed. Retrying...\nretryingLogin=Login time out. Retrying...\nreverse=Reverse\nrevision=Revision\nrevisionHistory=Revision History\nrhombus=Rhombus\nright=Right\nrightAlign=Right Align\nrightToLeft=Right to left\nrotate=Rotate\nrotateTooltip=Click and drag to rotate, click to turn shape only by 90 degrees\nrotation=Rotation\nrounded=Rounded\nsave=Save\nsaveAndExit=Save & Exit\nsaveAs=Save As\nsaveAsXmlFile=Save as XML file?\nsaved=Saved\nsaveDiagramFirst=Please save the diagram first\nsaveDiagramsTo=Save diagrams to\nsaveLibrary403=Insufficient permissions to edit this library\nsaveLibrary500=There was an error while saving the library\nsaveLibraryReadOnly=Could not save library while read-only mode is active\nsaving=Saving\nscratchpad=Scratchpad\nscrollbars=Scrollbars\nsearch=Search\nsearchShapes=Search Shapes\nselectAll=Select All\nselectionOnly=Selection Only\nselectCard=Select Card\nselectEdges=Select Edges\nselectedPage=Selected Page\nselectFile=Select File\nselectFolder=Select Folder\nselectFont=Select Font\nselectNone=Select None\nselectTemplate=Select Template\nselectVertices=Select Vertices\nsendBackward=Send Backward\nsendMessage=Send\nsendYourFeedback=Send your feedback\nsequenceDiagram=Sequence Diagram\nserviceUnavailableOrBlocked=Service unavailable or blocked\nsessionExpired=Your session has expired. Please refresh the browser window.\nsessionTimeoutOnSave=Your session has timed out and you have been disconnected from the Google Drive. Press OK to login and save.\nsetAsDefaultStyle=Set as Default Style\nsettings=Settings\nshadow=Shadow\nshape=Shape\nshapes=Shapes\nshare=Share\nshareCursor=Share Mouse Cursor\nshareLink=Link for shared editing\nsharingAvailable=Sharing available for Google Drive and OneDrive files.\nsaveItToGoogleDriveToCollaborate=You\'ll need to save "{1}" to Google Drive before you can collaborate.\nsaveToGoogleDrive=Save to Google Drive\nsharp=Sharp\nshow=Show\nshowRemoteCursors=Show Remote Mouse Cursors\nshowStartScreen=Show Start Screen\nsidebarTooltip=Click or drag and drop shapes. Shift+click to change selection. Alt+click to insert and connect.\nsigns=Signs\nsignOut=Sign out\nsimple=Simple\nsimpleArrow=Simple Arrow\nsimpleViewer=Simple Viewer\nsize=Size\nsketch=Sketch\nsmoothing=Smoothing\nsnapToGrid=Snap to Grid\nsolid=Solid\nsourceSpacing=Source Spacing\nsouth=South\nsoftware=Software\nspace=Space\nspacing=Spacing\nspecialLink=Special Link\nstateDiagram=State Diagram\nstandard=Standard\nstartDrawing=Start drawing\nstopDrawing=Stop drawing\nstarting=Starting\nstraight=Straight\nstrikethrough=Strikethrough\nstrokeColor=Line Color\nstyle=Style\nsubscript=Subscript\nsummary=Summary\nsuperscript=Superscript\nsupport=Support\nswap=Swap\nswimlaneDiagram=Swimlane Diagram\nsysml=SysML\ntags=Tags\ntable=Table\ntables=Tables\ntakeOver=Take Over\ntargetSpacing=Target Spacing\ntemplate=Template\ntemplates=Templates\ntext=Text\ntextAlignment=Text Alignment\ntextOpacity=Text Opacity\ntheme=Theme\ntimeout=Timeout\ntitle=Title\nto=to\ntoBack=To Back\ntoFront=To Front\ntooLargeUseDownload=Too large, use download instead.\ntoolbar=Toolbar\ntooltips=Tooltips\ntop=Top\ntopAlign=Top Align\ntopLeft=Top Left\ntopRight=Top Right\ntransparent=Transparent\ntransparentBackground=Transparent Background\ntrello=Trello\ntryAgain=Try again\ntryOpeningViaThisPage=Try opening via this page\nturn=Rotate shape only by 90°\ntype=Type\ntwitter=Twitter\numl=UML\nunassigned=Unassigned\nunderline=Underline\nundo=Undo\nungroup=Ungroup\nunmerge=Unmerge\nunsavedChanges=Unsaved changes\nunsavedChangesClickHereToSave=Unsaved changes. Click here to save.\nuntitled=Untitled\nuntitledDiagram=Untitled Diagram\nuntitledLayer=Untitled Layer\nuntitledLibrary=Untitled Library\nunknownError=Unknown error\nunknownUser=Unknown user\nupdateExistingDrawing=Update existing drawing\nupdateFile=Update {1}\nupdatingDocument=Updating Document. Please wait...\nupdatingPreview=Updating Preview. Please wait...\nupdatingSelection=Updating Selection. Please wait...\nupload=Upload\nurl=URL\nuseBlackAndWhite=Use black and white\nuseCurrentSettings=Use current settings\nuseOffline=Use Offline\nuserDefined=User-defined\nuseRootFolder=Use root folder?\nuserManual=User Manual\nvertical=Vertical\nverticalFlow=Vertical Flow\nverticalTree=Vertical Tree\nview=View\nviewerSettings=Viewer Settings\nviewUrl=Link to view: {1}\nvoiceAssistant=Voice Assistant (beta)\nwarning=Warning\nwaypoints=Waypoints\nwest=West\nwhere=Where\nwidth=Width\nwiki=Wiki\nwordWrap=Word Wrap\nwritingDirection=Writing Direction\nyes=Yes\nyourEmailAddress=Your email address\nzoom=Zoom\nzoomIn=Zoom In\nzoomOut=Zoom Out\nbasic=Basic\nbusinessprocess=Business Processes\ncharts=Charts\nengineering=Engineering\nflowcharts=Flowcharts\ngmdl=Material Design\nmindmaps=Mindmaps\nmockups=Mockups\nnetworkdiagrams=Network Diagrams\nnothingIsSelected=Nothing is selected\nother=Other\nsoftwaredesign=Software Design\nvenndiagrams=Venn Diagrams\nwebEmailOrOther=Web, email or any other internet address\nwebLink=Web Link\nwireframes=Wireframes\nproperty=Property\nvalue=Value\nshowMore=Show More\nshowLess=Show Less\nmyDiagrams=My Diagrams\nallDiagrams=All Diagrams\nrecentlyUsed=Recently used\nlistView=List view\ngridView=Grid view\nresultsFor=Results for \'{1}\'\noneDriveCharsNotAllowed=The following characters are not allowed: ~ " # % * : < > ? / { | }\noneDriveInvalidDeviceName=The specified device name is invalid\nofficeNotLoggedOD=You are not logged in to OneDrive. Please open draw.io task pane and login first.\nofficeSelectSingleDiag=Please select a single draw.io diagram only without other contents.\nofficeSelectDiag=Please select a draw.io diagram.\nofficeCannotFindDiagram=Cannot find a draw.io diagram in the selection\nnoDiagrams=No diagrams found\nauthFailed=Authentication failed\nofficeFailedAuthMsg=Unable to successfully authenticate user or authorize application.\nconvertingDiagramFailed=Converting diagram failed\nofficeCopyImgErrMsg=Due to some limitations in the host application, the image could not be inserted. Please manually copy the image then paste it to the document.\ninsertingImageFailed=Inserting image failed\nofficeCopyImgInst=Instructions: Right-click the image below. Select "Copy image" from the context menu. Then, in the document, right-click and select "Paste" from the context menu.\nfolderEmpty=Folder is empty\nrecent=Recent\nsharedWithMe=Shared With Me\nsharepointSites=Sharepoint Sites\nerrorFetchingFolder=Error fetching folder items\nerrorAuthOD=Error authenticating to OneDrive\nofficeMainHeader=Adds draw.io diagrams to your document.\nofficeStepsHeader=This add-in performs the following steps:\nofficeStep1=Connects to Microsoft OneDrive, Google Drive or your device.\nofficeStep2=Select a draw.io diagram.\nofficeStep3=Insert the diagram into the document.\nofficeAuthPopupInfo=Please complete the authentication in the pop-up window.\nofficeSelDiag=Select draw.io Diagram:\nfiles=Files\nshared=Shared\nsharepoint=Sharepoint\nofficeManualUpdateInst=Instructions: Copy draw.io diagram from the document. Then, in the box below, right-click and select "Paste" from the context menu.\nofficeClickToEdit=Click icon to start editing:\npasteDiagram=Paste draw.io diagram here\nconnectOD=Connect to OneDrive\nselectChildren=Select Children\nselectSiblings=Select Siblings\nselectParent=Select Parent\nselectDescendants=Select Descendants\nlastSaved=Last saved {1} ago\nresolve=Resolve\nreopen=Re-open\nshowResolved=Show Resolved\nreply=Reply\nobjectNotFound=Object not found\nreOpened=Re-opened\nmarkedAsResolved=Marked as resolved\nnoCommentsFound=No comments found\ncomments=Comments\ntimeAgo={1} ago\nconfluenceCloud=Confluence Cloud\nlibraries=Libraries\nconfAnchor=Confluence Page Anchor\nconfTimeout=The connection has timed out\nconfSrvTakeTooLong=The server at {1} is taking too long to respond.\nconfCannotInsertNew=Cannot insert draw.io diagram to a new Confluence page\nconfSaveTry=Please save the page and try again.\nconfCannotGetID=Unable to determine page ID\nconfContactAdmin=Please contact your Confluence administrator.\nreadErr=Read Error\neditingErr=Editing Error\nconfExtEditNotPossible=This diagram cannot be edited externally. Please try editing it while editing the page\nconfEditedExt=Diagram/Page edited externally\ndiagNotFound=Diagram Not Found\nconfEditedExtRefresh=Diagram/Page is edited externally. Please refresh the page.\nconfCannotEditDraftDelOrExt=Cannot edit diagrams in a draft page, diagram is deleted from the page, or diagram is edited externally. Please check the page.\nretBack=Return back\nconfDiagNotPublished=The diagram does not belong to a published page\ncreatedByDraw=Created by draw.io\nfilenameShort=Filename too short\ninvalidChars=Invalid characters\nalreadyExst={1} already exists\ndraftReadErr=Draft Read Error\ndiagCantLoad=Diagram cannot be loaded\ndraftWriteErr=Draft Write Error\ndraftCantCreate=Draft could not be created\nconfDuplName=Duplicate diagram name detected. Please pick another name.\nconfSessionExpired=Looks like your session expired. Log in again to keep working.\nlogin=Login\ndrawPrev=draw.io preview\ndrawDiag=draw.io diagram\ninvalidCallFnNotFound=Invalid Call: {1} not found\ninvalidCallErrOccured=Invalid Call: An error occurred, {1}\nanonymous=Anonymous\nconfGotoPage=Go to containing page\nshowComments=Show Comments\nconfError=Error: {1}\ngliffyImport=Gliffy Import\ngliffyImportInst1=Click the "Start Import" button to import all Gliffy diagrams to draw.io.\ngliffyImportInst2=Please note that the import procedure will take some time and the browser window must remain open until the import is completed.\nstartImport=Start Import\ndrawConfig=draw.io Configuration\ncustomLib=Custom Libraries\ncustomTemp=Custom Templates\npageIdsExp=Page IDs Export\ndrawReindex=draw.io re-indexing (beta)\nworking=Working\ndrawConfigNotFoundInst=draw.io Configuration Space (DRAWIOCONFIG) does not exist. This space is needed to store draw.io configuration files and custom libraries/templates.\ncreateConfSp=Create Config Space\nunexpErrRefresh=Unexpected error, please refresh the page and try again.\nconfigJSONInst=Write draw.io JSON configuration in the editor below then click save. If you need help, please refer to\nthisPage=this page\ncurCustLib=Current Custom Libraries\nlibName=Library Name\naction=Action\ndrawConfID=draw.io Config ID\naddLibInst=Click the "Add Library" button to upload a new library.\naddLib=Add Library\ncustomTempInst1=Custom templates are draw.io diagrams saved in children pages of\ncustomTempInst2=For more details, please refer to\ntempsPage=Templates page\npageIdsExpInst1=Select export target, then click the "Start Export" button to export all pages IDs.\npageIdsExpInst2=Please note that the export procedure will take some time and the browser window must remain open until the export is completed.\nstartExp=Start Export\nrefreshDrawIndex=Refresh draw.io Diagrams Index\nreindexInst1=Click the "Start Indexing" button to refresh draw.io diagrams index.\nreindexInst2=Please note that the indexing procedure will take some time and the browser window must remain open until the indexing is completed.\nstartIndexing=Start Indexing\nconfAPageFoundFetch=Page "{1}" found. Fetching\nconfAAllDiagDone=All {1} diagrams processed. Process finished.\nconfAStartedProcessing=Started processing page "{1}"\nconfAAllDiagInPageDone=All {1} diagrams in page "{2}" processed successfully.\nconfAPartialDiagDone={1} out of {2} {3} diagrams in page "{4}" processed successfully.\nconfAUpdatePageFailed=Updating page "{1}" failed.\nconfANoDiagFoundInPage=No {1} diagrams found in page "{2}".\nconfAFetchPageFailed=Fetching the page failed.\nconfANoDiagFound=No {1} diagrams found. Process finished.\nconfASearchFailed=Searching for {1} diagrams failed. Please try again later.\nconfAGliffyDiagFound={2} diagram "{1}" found. Importing\nconfAGliffyDiagImported={2} diagram "{1}" imported successfully.\nconfASavingImpGliffyFailed=Saving imported {2} diagram "{1}" failed.\nconfAImportedFromByDraw=Imported from "{1}" by draw.io\nconfAImportGliffyFailed=Importing {2} diagram "{1}" failed.\nconfAFetchGliffyFailed=Fetching {2} diagram "{1}" failed.\nconfACheckBrokenDiagLnk=Checking for broken diagrams links.\nconfADelDiagLinkOf=Deleting diagram link of "{1}"\nconfADupLnk=(duplicate link)\nconfADelDiagLnkFailed=Deleting diagram link of "{1}" failed.\nconfAUnexpErrProcessPage=Unexpected error during processing the page with id: {1}\nconfADiagFoundIndex=Diagram "{1}" found. Indexing\nconfADiagIndexSucc=Diagram "{1}" indexed successfully.\nconfAIndexDiagFailed=Indexing diagram "{1}" failed.\nconfASkipDiagOtherPage=Skipped "{1}" as it belongs to another page!\nconfADiagUptoDate=Diagram "{1}" is up to date.\nconfACheckPagesWDraw=Checking pages having draw.io diagrams.\nconfAErrOccured=An error occurred!\nsavedSucc=Saved successfully\nconfASaveFailedErr=Saving Failed (Unexpected Error)\ncharacter=Character\nconfAConfPageDesc=This page contains draw.io configuration file (configuration.json) as attachment\nconfALibPageDesc=This page contains draw.io custom libraries as attachments\nconfATempPageDesc=This page contains draw.io custom templates as attachments\nworking=Working\nconfAConfSpaceDesc=This space is used to store draw.io configuration files and custom libraries/templates\nconfANoCustLib=No Custom Libraries\ndelFailed=Delete failed!\nshowID=Show ID\nconfAIncorrectLibFileType=Incorrect file type. Libraries should be XML files.\nuploading=Uploading\nconfALibExist=This library already exists\nconfAUploadSucc=Uploaded successfully\nconfAUploadFailErr=Upload Failed (Unexpected Error)\nhiResPreview=High Res Preview\nofficeNotLoggedGD=You are not logged in to Google Drive. Please open draw.io task pane and login first.\nofficePopupInfo=Please complete the process in the pop-up window.\npickODFile=Pick OneDrive File\ncreateODFile=Create OneDrive File\npickGDriveFile=Pick Google Drive File\ncreateGDriveFile=Create Google Drive File\npickDeviceFile=Pick Device File\nvsdNoConfig="vsdurl" is not configured\nruler=Ruler\nunits=Units\npoints=Points\ninches=Inches\nmillimeters=Millimeters\nconfEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.\nconfDiagEditedExt=Diagram is edited in another session. It will be saved as a new attachment version but the page will show other session\'s modifications.\nmacroNotFound=Macro Not Found\nconfAInvalidPageIdsFormat=Incorrect Page IDs file format\nconfACollectingCurPages=Collecting current pages\nconfABuildingPagesMap=Building pages mapping\nconfAProcessDrawDiag=Started processing imported draw.io diagrams\nconfAProcessDrawDiagDone=Finished processing imported draw.io diagrams\nconfAProcessImpPages=Started processing imported pages\nconfAErrPrcsDiagInPage=Error processing draw.io diagrams in page "{1}"\nconfAPrcsDiagInPage=Processing draw.io diagrams in page "{1}"\nconfAImpDiagram=Importing diagram "{1}"\nconfAImpDiagramFailed=Importing diagram "{1}" failed. Cannot find its new page ID. Maybe it points to a page that is not imported.\nconfAImpDiagramError=Error importing diagram "{1}". Cannot fetch or save the diagram. Cannot fix this diagram links.\nconfAUpdateDgrmCCFailed=Updating link to diagram "{1}" failed.\nconfImpDiagramSuccess=Updating diagram "{1}" done successfully.\nconfANoLnksInDrgm=No links to update in: {1}\nconfAUpdateLnkToPg=Updated link to page: "{1}" in diagram: "{2}"\nconfAUpdateLBLnkToPg=Updated lightbox link to page: "{1}" in diagram: "{2}"\nconfAUpdateLnkBase=Updated base URL from: "{1}" to: "{2}" in diagram: "{3}"\nconfAPageIdsImpDone=Page IDs Import finished\nconfAPrcsMacrosInPage=Processing draw.io macros in page "{1}"\nconfAErrFetchPage=Error fetching page "{1}"\nconfAFixingMacro=Fixing macro of diagram "{1}"\nconfAErrReadingExpFile=Error reading export file\nconfAPrcsDiagInPageDone=Processing draw.io diagrams in page "{1}" finished\nconfAFixingMacroSkipped=Fixing macro of diagram "{1}" failed. Cannot find its new page ID. Maybe it points to a page that is not imported.\npageIdsExpTrg=Export target\nconfALucidDiagImgImported={2} diagram "{1}" image extracted successfully\nconfASavingLucidDiagImgFailed=Extracting {2} diagram "{1}" image failed\nconfGetInfoFailed=Fetching file info from {1} failed.\nconfCheckCacheFailed=Cannot get cached file info.\nconfReadFileErr=Cannot read "{1}" file from {2}.\nconfSaveCacheFailed=Unexpected error. Cannot save cached file\norgChartType=Org Chart Type\nlinear=Linear\nhanger2=Hanger 2\nhanger4=Hanger 4\nfishbone1=Fishbone 1\nfishbone2=Fishbone 2\n1ColumnLeft=Single Column Left\n1ColumnRight=Single Column Right\nsmart=Smart\nparentChildSpacing=Parent Child Spacing\nsiblingSpacing=Sibling Spacing\nconfNoPermErr=Sorry, you don\'t have enough permissions to view this embedded diagram from page {1}\ncopyAsImage=Copy as Image\ncopyAsText=Copy as Text\nlucidImport=Lucidchart Import\nlucidImportInst1=Click the "Start Import" button to import all Lucidchart diagrams.\ninstallFirst=Please install {1} first\ndrawioChromeExt=draw.io Chrome Extension\nloginFirstThen=Please login to {1} first, then {2}\nerrFetchDocList=Error: Couldn\'t fetch documents list\nbuiltinPlugins=Built-in Plugins\nextPlugins=External Plugins\nbackupFound=Backup file found\nchromeOnly=This feature only works in Google Chrome\nmsgDeleted=This message has been deleted\nconfAErrFetchDrawList=Error fetching diagrams list. Some diagrams are skipped.\nconfAErrCheckDrawDiag=Cannot check diagram {1}\nconfAErrFetchPageList=Error fetching pages list\nconfADiagImportIncom={1} diagram "{2}" is imported partially and may have missing shapes\ninvalidSel=Invalid selection\ndiagNameEmptyErr=Diagram name cannot be empty\nopenDiagram=Open Diagram\nnewDiagram=New diagram\neditable=Editable\nconfAReimportStarted=Re-import {1} diagrams started...\nspaceFilter=Filter by spaces\ncurViewState=Current Viewer State\npageLayers=Page and Layers\ncustomize=Customize\nfirstPage=First Page (All Layers)\ncurEditorState=Current Editor State\nnoAnchorsFound=No anchors found\nattachment=Attachment\ncurDiagram=Current Diagram\nrecentDiags=Recent Diagrams\ncsvImport=CSV Import\nchooseFile=Choose a file...\nchoose=Choose\ngdriveFname=Google Drive filename\nwidthOfViewer=Width of the viewer (px)\nheightOfViewer=Height of the viewer (px)\nautoSetViewerSize=Automatically set the size of the viewer\nthumbnail=Thumbnail\nprevInDraw=Preview in draw.io\nonedriveFname=OneDrive filename\ndiagFname=Diagram filename\ndiagUrl=Diagram URL\nshowDiag=Show Diagram\ndiagPreview=Diagram Preview\ncsvFileUrl=CSV File URL\ngenerate=Generate\nselectDiag2Insert=Please select a diagram to insert it.\nerrShowingDiag=Unexpected error. Cannot show diagram\nnoRecentDiags=No recent diagrams found\nfetchingRecentFailed=Failed to fetch recent diagrams\nuseSrch2FindDiags=Use the search box to find draw.io diagrams\ncantReadChckPerms=Cannot read the specified diagram. Please check you have read permission on that file.\ncantFetchChckPerms=Cannot fetch diagram info. Please check you have read permission on that file.\nsearchFailed=Searching failed. Please try again later.\nplsTypeStr=Please type a search string.\nunsupportedFileChckUrl=Unsupported file. Please check the specified URL\ndiagNotFoundChckUrl=Diagram not found or cannot be accessed. Please check the specified URL\ncsvNotFoundChckUrl=CSV file not found or cannot be accessed. Please check the specified URL\ncantReadUpload=Cannot read the uploaded diagram\nselect=Select\nerrCantGetIdType=Unexpected Error: Cannot get content id or type.\nerrGAuthWinBlocked=Error: Google Authentication window blocked\nauthDrawAccess=Authorize draw.io to access {1}\nconnTimeout=The connection has timed out\nerrAuthSrvc=Error authenticating to {1}\nplsSelectFile=Please select a file\nmustBgtZ={1} must be greater than zero\ncantLoadPrev=Cannot load file preview.\nerrAccessFile=Error: Access Denied. You do not have permission to access "{1}".\nnoPrevAvail=No preview is available.\npersonalAccNotSup=Personal accounts are not supported.\nerrSavingTryLater=Error occurred during saving, please try again later.\nplsEnterFld=Please enter {1}\ninvalidDiagUrl=Invalid Diagram URL\nunsupportedVsdx=Unsupported vsdx file\nunsupportedImg=Unsupported image file\nunsupportedFormat=Unsupported file format\nplsSelectSingleFile=Please select a single file only\nattCorrupt=Attachment file "{1}" is corrupted\nloadAttFailed=Failed to load attachment "{1}"\nembedDrawDiag=Embed draw.io Diagram\naddDiagram=Add Diagram\nembedDiagram=Embed Diagram\neditOwningPg=Edit owning page\ndeepIndexing=Deep Indexing (Index diagrams that aren\'t used in any page also)\nconfADeepIndexStarted=Deep Indexing Started\nconfADeepIndexDone=Deep Indexing Done\nofficeNoDiagramsSelected=No diagrams found in the selection\nofficeNoDiagramsInDoc=No diagrams found in the document\nofficeNotSupported=This feature is not supported in this host application\nsomeImagesFailed={1} out of {2} failed due to the following errors\nimportingNoUsedDiagrams=Importing {1} Diagrams not used in pages\nimportingDrafts=Importing {1} Diagrams in drafts\nprocessingDrafts=Processing drafts\nupdatingDrafts=Updating drafts\nupdateDrafts=Update drafts\nnotifications=Notifications\ndrawioImp=draw.io Import\nconfALibsImp=Importing draw.io Libraries\nconfALibsImpFailed=Importing {1} library failed\ncontributors=Contributors\ndrawDiagrams=draw.io Diagrams\nerrFileNotFoundOrNoPer=Error: Access Denied. File not found or you do not have permission to access "{1}" on {2}.\nconfACheckPagesWEmbed=Checking pages having embedded draw.io diagrams.\nconfADelBrokenEmbedDiagLnk=Removing broken embedded diagram links\nreplaceWith=Replace with\nreplaceAll=Replace All\nconfASkipDiagModified=Skipped "{1}" as it was modified after initial import\nreplFind=Replace/Find\nmatchesRepl={1} matches replaced\ndraftErrDataLoss=An error occurred while reading the draft file. The diagram cannot be edited now to prevent any possible data loss. Please try again later or contact support.\nibm=IBM\nlinkToDiagramHint=Add a link to this diagram. The diagram can only be edited from the page that owns it.\nlinkToDiagram=Link to Diagram\nchangedBy=Changed By\nlastModifiedOn=Last modified on\nsearchResults=Search Results\nshowAllTemps=Show all templates\nnotionToken=Notion Token\nselectDB=Select Database\nnoDBs=No Databases\ndiagramEdited={1} diagram "{2}" edited\nconfDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?\nconfFileTooBigErr=File size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration.\nowner=Owner\nrepository=Repository\nbranch=Branch\nmeters=Meters\nteamsNoEditingMsg=Editor functionality is only available in Desktop environment (in MS Teams App or a web browser)\ncontactOwner=Contact Owner\nviewerOnlyMsg=You cannot edit the diagrams in the mobile platform, please use the desktop client or a web browser.\nwebsite=Website\ncheck4Updates=Check for updates\nattWriteFailedRetry={1}: Attachment write failed, trying again in {2} seconds...\nconfPartialPageList=We couldn\'t fetch all pages due to an error in Confluence. Continuing using {1} pages only.\nspellCheck=Spell checker\nnoChange=No Change\nlblToSvg=Convert labels to SVG\ntxtSettings=Text Settings\nLinksLost=Links will be lost\narcSize=Arc Size\neditConnectionPoints=Edit Connection Points\nnotInOffline=Not supported while offline\nnotInDesktop=Not supported in Desktop App\nconfConfigSpaceArchived=draw.io Configuration space (DRAWIOCONFIG) is archived. Please restore it first.\nconfACleanOldVerStarted=Cleaning old diagram draft versions started\nconfACleanOldVerDone=Cleaning old diagram draft versions finished\nconfACleaningFile=Cleaning diagram draft "{1}" old versions\nconfAFileCleaned=Cleaning diagram draft "{1}" done\nconfAFileCleanFailed=Cleaning diagram draft "{1}" failed\nconfACleanOnly=Clean Diagram Drafts Only\nbrush=Brush\nopenDevTools=Open Developer Tools\nautoBkp=Automatic Backup\nconfAIgnoreCollectErr=Ignore collecting current pages errors\ndrafts=Drafts\ndraftSaveInt=Draft save interval [sec] (0 to disable)\npluginsDisabled=External plugins disabled.\nextExpNotConfigured=External image service is not configured\npathFilename=Path/Filename\nconfAHugeInstances=Very Large Instances\nconfAHugeInstancesDesc=If this instance includes 100,000+ pages, it is faster to request the current instance pages list from Atlassian. Please contact our support for more details.\nchoosePageIDsFile=Choose current page IDs csv file\nchooseDrawioPsgesFile=Choose pages with draw.io diagrams csv file\nprivate=Private\ndiagramTooLarge=The diagram is too large, please reduce its size and try again.\nselectAdminUsers=Select Admin Users\nxyzTeam={1} Team\naddTeamTitle=Adding a new draw.io Team\naddTeamInst1=To create a new draw.io Team, you need to create a new Atlassian group with "drawio-" prefix (e.g, a group named "drawio-marketing").\naddTeamInst2=Then, configure which team member can edit/add configuration, templates, and libraries from this page.\ndrawioTeams=draw.io Teams\nmembers=Members\nadminEditors=Admins/Editors\nallowAll=Allow all\nnoTeams=No teams found\nerrorLoadingTeams=Error Loading Teams\nnoTeamMembers=No team members found\nerrLoadTMembers=Error loading team members\nerrCreateTeamPage=Error creating team "{1}" page in "draw.io Configuration" space, please check you have the required permissions.\ngotoConfigPage=Please create the space from draw.io "Configuration" page.\nnoAdminsSelected=No admins/editors selected\nerrCreateConfigFile=Error creating "configuration.json" file, please check you have the required permissions.\nerrSetPageRestr=Error setting page restrictions\nnotAdmin4Team=You are not an admin for this team\nconfigUpdated=Configuration updated, restart the editor if you want to work with last configuration.\noutOfDateRevisionAlert=You are editing a historical revision of the diagram, please review the revision and open it to replace the latest version. Or close and overwrite/merge later.\nconfAErrFaqs=There are {1} error(s), the following instructions may help fixing most of the cases. (Please download the log for future references)\nconfA403ErrFaq=There are ({1}) 403 error(s). The current users must have add (write) permissions on all pages and attachments. Even admins sometimes are not allowed to write to some pages via page restrictions\nconfA404ErrFaq=There are ({1}) 404 error(s). The attachment/page is not found. This is due to improper migration or the diagram file (an attachment of the page) is deleted.\nconfA500ErrFaq=There are ({1}) 500 error(s). An internal server error in Confluence Cloud. Such errors are due to overloading the server and usually fixed by retrying the process.\nconfAOtherErrFaq=There are ({1}) other error(s). Please check the error description. If the description is not clear, please contact our support.\nconfAReplaceBaseUrl=Replace Base URL in diagram links when no page ID mapping is found\ndrawSvgPrev=draw.io SVG preview\ngoogleFonts=Google Fonts\ndiagDupl=Duplicate Diagram Detected\ndiagDuplMsg=This diagram is used in multiple places, which can result in unexpected results when edited. We\'ve created an independent copy. Please open the editor again.\ndiagDuplNoEditMsg=This diagram is used in multiple places. Please edit it within its own page.\nconfCloudMigConfirm=Warning: This process will edit many pages and diagrams, so it is recommended to stop the Synchrony service during the process. Do you want to proceed?\nconfCloudMigNotice=In the Cloud instance, please add linkAdjustments to draw.io configuration as follows {1}. Without this configuration, links in diagrams pointing to Confluence pages will not work.\nconfALogsPageDesc=This page contains logs of draw.io long running services as attachments\nconfEditOnlyInPageEditor=Can only be edited within Confluence page editor\nconfEvalWarn=Evaluation License - Not for production use\notherUsersEditing=Other user(s) are editing this diagram\nfirstTimeGD=First time to access this file?\ndrawioGDAppNotInstalled=draw.io Google Drive app is not installed, please install it first\nConfDC415Error=Saving drafts is blocked. If you have "Attachment Checker for Confluence" app, please update to the latest version.\n');Graph.prototype.defaultThemes["default-style2"]=mxUtils.parseXml('<mxStylesheet><add as="defaultVertex"><add as="shape" value="label"/><add as="perimeter" value="rectanglePerimeter"/><add as="fontSize" value="12"/><add as="fontFamily" value="Helvetica"/><add as="align" value="center"/><add as="verticalAlign" value="middle"/><add as="fillColor" value="default"/><add as="strokeColor" value="default"/><add as="fontColor" value="default"/></add><add as="defaultEdge"><add as="shape" value="connector"/><add as="labelBackgroundColor" value="default"/><add as="endArrow" value="classic"/><add as="fontSize" value="11"/><add as="fontFamily" value="Helvetica"/><add as="align" value="center"/><add as="verticalAlign" value="middle"/><add as="rounded" value="1"/><add as="strokeColor" value="default"/><add as="fontColor" value="default"/></add><add as="text"><add as="fillColor" value="none"/><add as="gradientColor" value="none"/><add as="strokeColor" value="none"/><add as="align" value="left"/><add as="verticalAlign" value="top"/></add><add as="edgeLabel" extend="text"><add as="labelBackgroundColor" value="default"/><add as="fontSize" value="11"/></add><add as="label"><add as="fontStyle" value="1"/><add as="align" value="left"/><add as="verticalAlign" value="middle"/><add as="spacing" value="2"/><add as="spacingLeft" value="52"/><add as="imageWidth" value="42"/><add as="imageHeight" value="42"/><add as="rounded" value="1"/></add><add as="icon" extend="label"><add as="align" value="center"/><add as="imageAlign" value="center"/><add as="verticalLabelPosition" value="bottom"/><add as="verticalAlign" value="top"/><add as="spacingTop" value="4"/><add as="labelBackgroundColor" value="default"/><add as="spacing" value="0"/><add as="spacingLeft" value="0"/><add as="spacingTop" value="6"/><add as="fontStyle" value="0"/><add as="imageWidth" value="48"/><add as="imageHeight" value="48"/></add><add as="swimlane"><add as="shape" value="swimlane"/><add as="fontSize" value="12"/><add as="fontStyle" value="1"/><add as="startSize" value="23"/></add><add as="group"><add as="verticalAlign" value="top"/><add as="fillColor" value="none"/><add as="strokeColor" value="none"/><add as="gradientColor" value="none"/><add as="pointerEvents" value="0"/></add><add as="ellipse"><add as="shape" value="ellipse"/><add as="perimeter" value="ellipsePerimeter"/></add><add as="rhombus"><add as="shape" value="rhombus"/><add as="perimeter" value="rhombusPerimeter"/></add><add as="triangle"><add as="shape" value="triangle"/><add as="perimeter" value="trianglePerimeter"/></add><add as="line"><add as="shape" value="line"/><add as="strokeWidth" value="4"/><add as="labelBackgroundColor" value="default"/><add as="verticalAlign" value="top"/><add as="spacingTop" value="8"/></add><add as="image"><add as="shape" value="image"/><add as="labelBackgroundColor" value="default"/><add as="verticalAlign" value="top"/><add as="verticalLabelPosition" value="bottom"/></add><add as="roundImage" extend="image"><add as="perimeter" value="ellipsePerimeter"/></add><add as="rhombusImage" extend="image"><add as="perimeter" value="rhombusPerimeter"/></add><add as="arrow"><add as="shape" value="arrow"/><add as="edgeStyle" value="none"/><add as="fillColor" value="default"/></add><add as="fancy"><add as="shadow" value="1"/><add as="glass" value="1"/></add><add as="gray" extend="fancy"><add as="gradientColor" value="#B3B3B3"/><add as="fillColor" value="#F5F5F5"/><add as="strokeColor" value="#666666"/></add><add as="blue" extend="fancy"><add as="gradientColor" value="#7EA6E0"/><add as="fillColor" value="#DAE8FC"/><add as="strokeColor" value="#6C8EBF"/></add><add as="green" extend="fancy"><add as="gradientColor" value="#97D077"/><add as="fillColor" value="#D5E8D4"/><add as="strokeColor" value="#82B366"/></add><add as="turquoise" extend="fancy"><add as="gradientColor" value="#67AB9F"/><add as="fillColor" value="#D5E8D4"/><add as="strokeColor" value="#6A9153"/></add><add as="yellow" extend="fancy"><add as="gradientColor" value="#FFD966"/><add as="fillColor" value="#FFF2CC"/><add as="strokeColor" value="#D6B656"/></add><add as="orange" extend="fancy"><add as="gradientColor" value="#FFA500"/><add as="fillColor" value="#FFCD28"/><add as="strokeColor" value="#D79B00"/></add><add as="red" extend="fancy"><add as="gradientColor" value="#EA6B66"/><add as="fillColor" value="#F8CECC"/><add as="strokeColor" value="#B85450"/></add><add as="pink" extend="fancy"><add as="gradientColor" value="#B5739D"/><add as="fillColor" value="#E6D0DE"/><add as="strokeColor" value="#996185"/></add><add as="purple" extend="fancy"><add as="gradientColor" value="#8C6C9C"/><add as="fillColor" value="#E1D5E7"/><add as="strokeColor" value="#9673A6"/></add><add as="plain-gray"><add as="gradientColor" value="#B3B3B3"/><add as="fillColor" value="#F5F5F5"/><add as="strokeColor" value="#666666"/></add><add as="plain-blue"><add as="gradientColor" value="#7EA6E0"/><add as="fillColor" value="#DAE8FC"/><add as="strokeColor" value="#6C8EBF"/></add><add as="plain-green"><add as="gradientColor" value="#97D077"/><add as="fillColor" value="#D5E8D4"/><add as="strokeColor" value="#82B366"/></add><add as="plain-turquoise"><add as="gradientColor" value="#67AB9F"/><add as="fillColor" value="#D5E8D4"/><add as="strokeColor" value="#6A9153"/></add><add as="plain-yellow"><add as="gradientColor" value="#FFD966"/><add as="fillColor" value="#FFF2CC"/><add as="strokeColor" value="#D6B656"/></add><add as="plain-orange"><add as="gradientColor" value="#FFA500"/><add as="fillColor" value="#FFCD28"/><add as="strokeColor" value="#D79B00"/></add><add as="plain-red"><add as="gradientColor" value="#EA6B66"/><add as="fillColor" value="#F8CECC"/><add as="strokeColor" value="#B85450"/></add><add as="plain-pink"><add as="gradientColor" value="#B5739D"/><add as="fillColor" value="#E6D0DE"/><add as="strokeColor" value="#996185"/></add><add as="plain-purple"><add as="gradientColor" value="#8C6C9C"/><add as="fillColor" value="#E1D5E7"/><add as="strokeColor" value="#9673A6"/></add></mxStylesheet>').documentElement;
Graph.prototype.defaultThemes.darkTheme=Graph.prototype.defaultThemes["default-style2"];Editor.currentTheme="";window.uiTheme="";GraphViewer=function(b,e,g){this.init(b,e,g)};mxUtils.extend(GraphViewer,mxEventSource);GraphViewer.prototype.editBlankUrl="1"==urlParams.dev?"https://test.draw.io/":"https://app.diagrams.net/";GraphViewer.prototype.imageBaseUrl=window.DRAWIO_BASE_URL+"/";GraphViewer.prototype.toolbarHeight="BackCompat"==document.compatMode?24:26;GraphViewer.prototype.lightboxChrome=!0;GraphViewer.prototype.lightboxZIndex=999;GraphViewer.prototype.toolbarZIndex=999;
GraphViewer.prototype.autoFit=!1;GraphViewer.prototype.autoCrop=!1;GraphViewer.prototype.autoOrigin=!0;GraphViewer.prototype.center=!1;GraphViewer.prototype.forceCenter=!1;GraphViewer.prototype.allowZoomIn=!1;GraphViewer.prototype.allowZoomOut=!0;GraphViewer.prototype.showTitleAsTooltip=!1;GraphViewer.prototype.checkVisibleState=!0;GraphViewer.prototype.minHeight=28;GraphViewer.prototype.minWidth=100;GraphViewer.prototype.responsive=!1;GraphViewer.prototype.darkMode=!1;
GraphViewer.prototype.init=function(b,e,g){this.graphConfig=null!=g?g:{};this.autoFit=null!=this.graphConfig["auto-fit"]?this.graphConfig["auto-fit"]:this.autoFit;this.autoCrop=null!=this.graphConfig["auto-crop"]?this.graphConfig["auto-crop"]:this.autoCrop;this.autoOrigin=null!=this.graphConfig["auto-origin"]?this.graphConfig["auto-origin"]:this.autoOrigin;this.allowZoomOut=null!=this.graphConfig["allow-zoom-out"]?this.graphConfig["allow-zoom-out"]:this.allowZoomOut;this.allowZoomIn=null!=this.graphConfig["allow-zoom-in"]?
@@ -4222,11 +4220,11 @@ this.toolbarZIndex;e.style.backgroundColor="#eee";e.style.height=this.toolbarHei
g=window.setTimeout(mxUtils.bind(this,function(){mxUtils.setOpacity(e,0);g=null;n=window.setTimeout(mxUtils.bind(this,function(){e.style.display="none";n=null}),100)}),ea||200)}),q=mxUtils.bind(this,function(ea){null!=g&&(window.clearTimeout(g),fadeThead=null);null!=n&&(window.clearTimeout(n),fadeThead2=null);e.style.display="";mxUtils.setOpacity(e,ea||30)});mxEvent.addListener(this.graph.container,mxClient.IS_POINTER?"pointermove":"mousemove",mxUtils.bind(this,function(ea){mxEvent.isTouchEvent(ea)||
(q(30),v())}));mxEvent.addListener(e,mxClient.IS_POINTER?"pointermove":"mousemove",function(ea){mxEvent.consume(ea)});mxEvent.addListener(e,"mouseenter",mxUtils.bind(this,function(ea){q(100)}));mxEvent.addListener(e,"mousemove",mxUtils.bind(this,function(ea){q(100);mxEvent.consume(ea)}));mxEvent.addListener(e,"mouseleave",mxUtils.bind(this,function(ea){mxEvent.isTouchEvent(ea)||q(30)}));var C=this.graph,H=C.getTolerance();C.addMouseListener({startX:0,startY:0,scrollLeft:0,scrollTop:0,mouseDown:function(ea,
T){this.startX=T.getGraphX();this.startY=T.getGraphY();this.scrollLeft=C.container.scrollLeft;this.scrollTop=C.container.scrollTop},mouseMove:function(ea,T){},mouseUp:function(ea,T){mxEvent.isTouchEvent(T.getEvent())&&Math.abs(this.scrollLeft-C.container.scrollLeft)<H&&Math.abs(this.scrollTop-C.container.scrollTop)<H&&Math.abs(this.startX-T.getGraphX())<H&&Math.abs(this.startY-T.getGraphY())<H&&(0<parseFloat(e.style.opacity||0)?v():q(30))}})}for(var U=this.toolbarItems,F=0,K=mxUtils.bind(this,function(ea,
-T,ca,ka){ea=this.createToolbarButton(ea,T,ca,ka);e.appendChild(ea);F++;return ea}),S=this.graph.getModel(),W=null,c=null,f=null,l=null,z=0;z<U.length;z++){var A=U[z];if("pages"==A){l=b.ownerDocument.createElement("div");l.style.cssText="display:inline-flex;position:relative;align-items:center;padding:4px;font-family:Helvetica,Arial;font-size:12px;;cursor:default;color:#000;";mxUtils.setOpacity(l,70);var B=K(mxUtils.bind(this,function(){this.selectPage(this.currentPage-1)}),Editor.previousImage,mxResources.get("previousPage")||
+T,ca,ja){ea=this.createToolbarButton(ea,T,ca,ja);e.appendChild(ea);F++;return ea}),S=this.graph.getModel(),W=null,c=null,f=null,l=null,z=0;z<U.length;z++){var A=U[z];if("pages"==A){l=b.ownerDocument.createElement("div");l.style.cssText="display:inline-flex;position:relative;align-items:center;padding:4px;font-family:Helvetica,Arial;font-size:12px;;cursor:default;color:#000;";mxUtils.setOpacity(l,70);var B=K(mxUtils.bind(this,function(){this.selectPage(this.currentPage-1)}),Editor.previousImage,mxResources.get("previousPage")||
"Previous Page");B.style.borderRightStyle="none";B.style.paddingLeft="0px";B.style.paddingRight="0px";e.appendChild(l);var G=K(mxUtils.bind(this,function(){this.selectPage(this.currentPage+1)}),Editor.nextImage,mxResources.get("nextPage")||"Next Page");G.style.paddingLeft="0px";G.style.paddingRight="0px";A=mxUtils.bind(this,function(){l.innerText="";mxUtils.write(l,this.currentPage+1+" / "+this.diagrams.length);l.style.display=1<this.diagrams.length?"inline-flex":"none";B.style.display=l.style.display;
G.style.display=l.style.display});this.addListener("graphChanged",A);A()}else if("zoom"==A)this.zoomEnabled&&(K(mxUtils.bind(this,function(){this.graph.zoomOut()}),Editor.zoomOutImage,mxResources.get("zoomOut")||"Zoom Out"),K(mxUtils.bind(this,function(){this.graph.zoomIn()}),Editor.zoomInImage,mxResources.get("zoomIn")||"Zoom In"),K(mxUtils.bind(this,function(){this.graph.view.scaleAndTranslate(this.graph.initialViewState.scale,this.graph.initialViewState.translate.x,this.graph.initialViewState.translate.y)}),
-Editor.zoomFitImage,mxResources.get("fit")||"Fit"));else if("layers"==A){if(this.layersEnabled){var L=K(mxUtils.bind(this,function(ea){if(null!=W)W.parentNode.removeChild(W),W=null;else{W=this.graph.createLayersDialog(mxUtils.bind(this,function(){if(this.autoCrop)this.crop();else if(this.autoOrigin){var ca=this.graph.getGraphBounds(),ka=this.graph.view;0>ca.x||0>ca.y?(this.crop(),this.graph.originalViewState=this.graph.initialViewState,this.graph.initialViewState={translate:ka.translate.clone(),scale:ka.scale}):
-null!=this.graph.originalViewState&&0<ca.x/ka.scale+this.graph.originalViewState.translate.x-ka.translate.x&&0<ca.y/ka.scale+this.graph.originalViewState.translate.y-ka.translate.y&&(ka.setTranslate(this.graph.originalViewState.translate.x,this.graph.originalViewState.translate.y),this.graph.originalViewState=null,this.graph.initialViewState={translate:ka.translate.clone(),scale:ka.scale})}}));mxEvent.addListener(W,"mouseleave",function(){W.parentNode.removeChild(W);W=null});ea=L.getBoundingClientRect();
+Editor.zoomFitImage,mxResources.get("fit")||"Fit"));else if("layers"==A){if(this.layersEnabled){var L=K(mxUtils.bind(this,function(ea){if(null!=W)W.parentNode.removeChild(W),W=null;else{W=this.graph.createLayersDialog(mxUtils.bind(this,function(){if(this.autoCrop)this.crop();else if(this.autoOrigin){var ca=this.graph.getGraphBounds(),ja=this.graph.view;0>ca.x||0>ca.y?(this.crop(),this.graph.originalViewState=this.graph.initialViewState,this.graph.initialViewState={translate:ja.translate.clone(),scale:ja.scale}):
+null!=this.graph.originalViewState&&0<ca.x/ja.scale+this.graph.originalViewState.translate.x-ja.translate.x&&0<ca.y/ja.scale+this.graph.originalViewState.translate.y-ja.translate.y&&(ja.setTranslate(this.graph.originalViewState.translate.x,this.graph.originalViewState.translate.y),this.graph.originalViewState=null,this.graph.initialViewState={translate:ja.translate.clone(),scale:ja.scale})}}));mxEvent.addListener(W,"mouseleave",function(){W.parentNode.removeChild(W);W=null});ea=L.getBoundingClientRect();
W.style.width="140px";W.style.padding="2px 0px 2px 0px";W.style.border="1px solid #d0d0d0";W.style.backgroundColor="#eee";W.style.fontFamily=Editor.defaultHtmlFont;W.style.fontSize="11px";W.style.overflowY="auto";W.style.maxHeight=this.graph.container.clientHeight-this.toolbarHeight-10+"px";W.style.zIndex=this.toolbarZIndex+1;W.style.color="#000";mxUtils.setOpacity(W,85);var T=mxUtils.getDocumentScrollOrigin(document);W.style.left=T.x+ea.left-1+"px";W.style.top=T.y+ea.bottom-2+"px";this.darkMode&&
(W.style.filter="invert(93%) hue-rotate(180deg)");document.body.appendChild(W)}}),Editor.layersImage,mxResources.get("layers")||"Layers");S.addListener(mxEvent.CHANGE,function(){L.style.display=1<S.getChildCount(S.root)?"inline-flex":"none"});L.style.display=1<S.getChildCount(S.root)?"inline-flex":"none"}}else if("tags"==A){if(this.tagsEnabled){var P=K(mxUtils.bind(this,function(ea){null==c&&(c=this.graph.createTagsDialog(mxUtils.bind(this,function(){return!0})),c.div.getElementsByTagName("div")[0].style.position=
"",c.div.style.maxHeight="160px",c.div.style.maxWidth="120px",c.div.style.padding="2px",c.div.style.overflow="auto",c.div.style.height="auto",c.div.style.position="fixed",c.div.style.fontFamily=Editor.defaultHtmlFont,c.div.style.fontSize="11px",c.div.style.backgroundColor="#eee",c.div.style.color="#000",c.div.style.border="1px solid #d0d0d0",c.div.style.zIndex=this.toolbarZIndex+1,this.darkMode&&(c.div.style.filter="invert(93%) hue-rotate(180deg)"),mxUtils.setOpacity(c.div,85));if(null!=f)f.parentNode.removeChild(f),
@@ -4235,7 +4233,7 @@ null!=f&&0==this.graph.getAllTags().length&&(f.parentNode.removeChild(f),f=null)
A.image,A.title,A.enabled)))}null!=this.graph.minimumContainerSize&&(this.graph.minimumContainerSize.width=34*F);null!=this.graphConfig.title&&(U=b.ownerDocument.createElement("div"),U.style.cssText="display:inline-flex;position:relative;align-items:center;padding:6px;font-family:Helvetica,Arial;font-size:12px;cursor:default;color:#000;",U.setAttribute("title",this.graphConfig.titleTooltip||this.graphConfig.title),mxUtils.write(U,this.graphConfig.title),mxUtils.setOpacity(U,70),e.appendChild(U),this.filename=
U);this.minToolbarWidth=34*F;var J=b.style.border,fa=mxUtils.bind(this,function(){e.style.width="inline"==this.graphConfig["toolbar-position"]?"auto":Math.max(this.minToolbarWidth,b.offsetWidth)+"px";e.style.border="1px solid #d0d0d0";if(1!=this.graphConfig["toolbar-nohide"]){var ea=b.getBoundingClientRect(),T=mxUtils.getScrollOrigin(document.body);T="relative"===document.body.style.position?document.body.getBoundingClientRect():{left:-T.x,top:-T.y};ea={left:ea.left-T.left,top:ea.top-T.top,bottom:ea.bottom-
T.top,right:ea.right-T.left};e.style.left=ea.left+"px";"bottom"==this.graphConfig["toolbar-position"]?e.style.top=ea.bottom-1+"px":"inline"!=this.graphConfig["toolbar-position"]?(e.style.marginTop=-this.toolbarHeight+"px",e.style.top=ea.top+1+"px"):e.style.top=ea.top+"px";"1px solid transparent"==J&&(b.style.border="1px solid #d0d0d0");document.body.appendChild(e);var ca=mxUtils.bind(this,function(){null!=e.parentNode&&e.parentNode.removeChild(e);null!=f&&(f.parentNode.removeChild(f),f=null);null!=
-W&&(W.parentNode.removeChild(W),W=null);b.style.border=J});mxEvent.addListener(document,"mousemove",function(ka){for(ka=mxEvent.getSource(ka);null!=ka;){if(ka==b||ka==e||ka==W||ka==f)return;ka=ka.parentNode}ca()});mxEvent.addListener(document.body,"mouseleave",function(ka){ca()})}else e.style.top=-this.toolbarHeight+"px",e.classList.remove("geDarkMode"),b.appendChild(e)});1!=this.graphConfig["toolbar-nohide"]?mxEvent.addListener(b,"mouseenter",fa):fa();this.responsive&&"undefined"!==typeof ResizeObserver&&
+W&&(W.parentNode.removeChild(W),W=null);b.style.border=J});mxEvent.addListener(document,"mousemove",function(ja){for(ja=mxEvent.getSource(ja);null!=ja;){if(ja==b||ja==e||ja==W||ja==f)return;ja=ja.parentNode}ca()});mxEvent.addListener(document.body,"mouseleave",function(ja){ca()})}else e.style.top=-this.toolbarHeight+"px",e.classList.remove("geDarkMode"),b.appendChild(e)});1!=this.graphConfig["toolbar-nohide"]?mxEvent.addListener(b,"mouseenter",fa):fa();this.responsive&&"undefined"!==typeof ResizeObserver&&
(new ResizeObserver(function(){null!=e.parentNode&&fa()})).observe(b)};
GraphViewer.prototype.createToolbarButton=function(b,e,g,n){var v=document.createElement("div");v.style.borderRight="1px solid #d0d0d0";v.style.display="inline-flex";v.style.alignItems="center";v.style.padding="6px";mxEvent.addListener(v,"click",b);null!=g&&v.setAttribute("title",g);b=document.createElement("img");b.setAttribute("border","0");b.setAttribute("src",e);b.style.width="18px";b.className="geAdaptiveAsset";null==n||n?(mxEvent.addListener(v,"mouseenter",function(){v.style.backgroundColor=
"#ddd"}),mxEvent.addListener(v,"mouseleave",function(){v.style.backgroundColor="#eee"}),mxUtils.setOpacity(b,60),v.style.cursor="pointer"):mxUtils.setOpacity(v,30);v.appendChild(b);return v};
@@ -4265,6 +4263,6 @@ GraphViewer.useResizeSensor=!0;
(function(){var b=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(g){return window.setTimeout(g,20)},e=function(g,n){function v(){this.q=[];this.add=function(l){this.q.push(l)};var c,f;this.call=function(){c=0;for(f=this.q.length;c<f;c++)this.q[c].call()}}function q(c,f){return c.currentStyle?c.currentStyle[f]:window.getComputedStyle?window.getComputedStyle(c,null).getPropertyValue(f):c.style[f]}function C(c,f){if(!c.resizedAttached)c.resizedAttached=
new v,c.resizedAttached.add(f);else if(c.resizedAttached){c.resizedAttached.add(f);return}c.resizeSensor=document.createElement("div");c.resizeSensor.className="resize-sensor";c.resizeSensor.style.cssText="position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: hidden; z-index: -1; visibility: hidden;";c.resizeSensor.innerHTML='<div class="resize-sensor-expand" style="position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: hidden; z-index: -1; visibility: hidden;"><div style="position: absolute; left: 0; top: 0; transition: 0s;"></div></div><div class="resize-sensor-shrink" style="position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: hidden; z-index: -1; visibility: hidden;"><div style="position: absolute; left: 0; top: 0; transition: 0s; width: 200%; height: 200%"></div></div>';
c.appendChild(c.resizeSensor);"static"==q(c,"position")&&(c.style.position="relative");var l=c.resizeSensor.childNodes[0],z=l.childNodes[0],A=c.resizeSensor.childNodes[1],B=function(){z.style.width="100000px";z.style.height="100000px";l.scrollLeft=1E5;l.scrollTop=1E5;A.scrollLeft=1E5;A.scrollTop=1E5};B();var G=!1,L=function(){c.resizedAttached&&(G&&(c.resizedAttached.call(),G=!1),b(L))};b(L);var P,J,fa,ea;f=function(){if((fa=c.offsetWidth)!=P||(ea=c.offsetHeight)!=J)G=!0,P=fa,J=ea;B()};var T=function(ca,
-ka,ma){ca.attachEvent?ca.attachEvent("on"+ka,ma):ca.addEventListener(ka,ma)};T(l,"scroll",f);T(A,"scroll",f)}var H=function(){GraphViewer.resizeSensorEnabled&&n()};if(GraphViewer.useResizeObserver&&"undefined"!==typeof ResizeObserver){var U=null,F=!1;(new ResizeObserver(function(){F||(null!=U&&window.clearTimeout(U),U=window.setTimeout(function(){F=!0;H();U=null;F=!1},200))})).observe(g)}else{var K=Object.prototype.toString.call(g),S="[object Array]"===K||"[object NodeList]"===K||"[object HTMLCollection]"===
+ja,ma){ca.attachEvent?ca.attachEvent("on"+ja,ma):ca.addEventListener(ja,ma)};T(l,"scroll",f);T(A,"scroll",f)}var H=function(){GraphViewer.resizeSensorEnabled&&n()};if(GraphViewer.useResizeObserver&&"undefined"!==typeof ResizeObserver){var U=null,F=!1;(new ResizeObserver(function(){F||(null!=U&&window.clearTimeout(U),U=window.setTimeout(function(){F=!0;H();U=null;F=!1},200))})).observe(g)}else{var K=Object.prototype.toString.call(g),S="[object Array]"===K||"[object NodeList]"===K||"[object HTMLCollection]"===
K||"undefined"!==typeof jQuery&&g instanceof jQuery||"undefined"!==typeof Elements&&g instanceof Elements;if(S){K=0;for(var W=g.length;K<W;K++)C(g[K],H)}else C(g,H);this.detach=function(){if(S)for(var c=0,f=g.length;c<f;c++)e.detach(g[c]);else e.detach(g)}}};e.detach=function(g){g.resizeSensor&&(g.removeChild(g.resizeSensor),delete g.resizeSensor,delete g.resizedAttached)};window.ResizeSensor=e})();
(function(){Editor.initMath();GraphViewer.initCss();if(null!=window.onDrawioViewerLoad)window.onDrawioViewerLoad();else GraphViewer.processElements()})();
diff --git a/src/main/webapp/resources/dia.txt b/src/main/webapp/resources/dia.txt
index b0f331325..a681ca79a 100644
--- a/src/main/webapp/resources/dia.txt
+++ b/src/main/webapp/resources/dia.txt
@@ -6,6 +6,7 @@ accessDenied=Access Denied
accounts=Accounts
action=Action
actualSize=Actual Size
+adaptiveColors=Adaptive Colors
add=Add
addAccount=Add account
addedFile=Added {1}
diff --git a/src/main/webapp/resources/dia_am.txt b/src/main/webapp/resources/dia_am.txt
index 08f2927c3..9a5e9e8b8 100644
--- a/src/main/webapp/resources/dia_am.txt
+++ b/src/main/webapp/resources/dia_am.txt
@@ -6,6 +6,7 @@ accessDenied=Access Denied
accounts=Accounts
action=Action
actualSize=Actual Size
+adaptiveColors=ተስማሚ ቀለሞች
add=Add
addAccount=Add account
addedFile=Added {1}
diff --git a/src/main/webapp/resources/dia_ar.txt b/src/main/webapp/resources/dia_ar.txt
index deea3b849..277db3e3b 100644
--- a/src/main/webapp/resources/dia_ar.txt
+++ b/src/main/webapp/resources/dia_ar.txt
@@ -6,6 +6,7 @@ accessDenied=‫غير مسموح بالدخول‬
accounts=Accounts
action=‫فعل‬
actualSize=‫الحجم الحقيقي‬
+adaptiveColors=‫الألوان التكيفية‬
add=‫إضافة‬
addAccount=‫إضافة حساب‬
addedFile=‫تمت إضافة {1}‬
diff --git a/src/main/webapp/resources/dia_bg.txt b/src/main/webapp/resources/dia_bg.txt
index f12ca996b..ae7438443 100644
--- a/src/main/webapp/resources/dia_bg.txt
+++ b/src/main/webapp/resources/dia_bg.txt
@@ -6,6 +6,7 @@ accessDenied=user
accounts=Accounts
action=Действие
actualSize=Действителен размер
+adaptiveColors=Адаптивни Цветове
add=Добавяне
addAccount=Добавяне на акаунт
addedFile=Добавен {1}
diff --git a/src/main/webapp/resources/dia_bn.txt b/src/main/webapp/resources/dia_bn.txt
index dff312dcf..43c9cd75b 100644
--- a/src/main/webapp/resources/dia_bn.txt
+++ b/src/main/webapp/resources/dia_bn.txt
@@ -6,6 +6,7 @@ accessDenied=Access Denied
accounts=Accounts
action=Action
actualSize=Actual Size
+adaptiveColors=অভিযোজিত রং
add=Add
addAccount=Add account
addedFile=Added {1}
diff --git a/src/main/webapp/resources/dia_bs.txt b/src/main/webapp/resources/dia_bs.txt
index 22160e58b..bb81c468b 100644
--- a/src/main/webapp/resources/dia_bs.txt
+++ b/src/main/webapp/resources/dia_bs.txt
@@ -6,6 +6,7 @@ accessDenied=Pristup odbijen
accounts=Accounts
action=Action
actualSize=Prirodna veličina
+adaptiveColors=Adaptive Colors
add=Dodaj
addAccount=Add account
addedFile=Dodato {1}
diff --git a/src/main/webapp/resources/dia_ca.txt b/src/main/webapp/resources/dia_ca.txt
index b74ab0527..d9be94d23 100644
--- a/src/main/webapp/resources/dia_ca.txt
+++ b/src/main/webapp/resources/dia_ca.txt
@@ -6,6 +6,7 @@ accessDenied=Accés denegat
accounts=Comptes
action=Acció
actualSize=Mida real
+adaptiveColors=Colors adaptatius
add=Afegeix
addAccount=Afegeix un compte
addedFile={1} afegit
diff --git a/src/main/webapp/resources/dia_cs.txt b/src/main/webapp/resources/dia_cs.txt
index f70e3b485..527187f59 100644
--- a/src/main/webapp/resources/dia_cs.txt
+++ b/src/main/webapp/resources/dia_cs.txt
@@ -6,6 +6,7 @@ accessDenied=Přístup odepřen
accounts=Účty
action=Akce
actualSize=Skutečná velikost
+adaptiveColors=Adaptivní barvy
add=Přidat
addAccount=Přidat účet
addedFile=Přidáno: {1}
diff --git a/src/main/webapp/resources/dia_da.txt b/src/main/webapp/resources/dia_da.txt
index cee99bdd5..1b1202302 100644
--- a/src/main/webapp/resources/dia_da.txt
+++ b/src/main/webapp/resources/dia_da.txt
@@ -6,6 +6,7 @@ accessDenied=Adgang nægtet
accounts=Accounts
action=Action
actualSize=Faktisk størrelse
+adaptiveColors=Adaptive farver
add=Tilføj
addAccount=Add account
addedFile=Tilføjet {1}
diff --git a/src/main/webapp/resources/dia_de.txt b/src/main/webapp/resources/dia_de.txt
index 5426e3010..3374734f2 100644
--- a/src/main/webapp/resources/dia_de.txt
+++ b/src/main/webapp/resources/dia_de.txt
@@ -6,6 +6,7 @@ accessDenied=Zugriff verweigert
accounts=Konten
action=Aktion
actualSize=Tatsächliche Größe
+adaptiveColors=Adaptive Farben
add=Einfügen
addAccount=Konto hinzufügen
addedFile={1} eingefügt
diff --git a/src/main/webapp/resources/dia_el.txt b/src/main/webapp/resources/dia_el.txt
index fbb497b28..81e18b7df 100644
--- a/src/main/webapp/resources/dia_el.txt
+++ b/src/main/webapp/resources/dia_el.txt
@@ -6,6 +6,7 @@ accessDenied=Άρνηση πρόσβασης
accounts=Accounts
action=Ενέργεια
actualSize=Πραγματικό Μέγεθος
+adaptiveColors=Προσαρμόσιμα Χρώματα
add=Προσθήκη
addAccount=Προσθήκη λογαριασμού
addedFile=Προστέθηκε {1}
diff --git a/src/main/webapp/resources/dia_eo.txt b/src/main/webapp/resources/dia_eo.txt
index 46075cc6b..41579cf36 100644
--- a/src/main/webapp/resources/dia_eo.txt
+++ b/src/main/webapp/resources/dia_eo.txt
@@ -6,6 +6,7 @@ accessDenied=Aliro rifuzita
accounts=Accounts
action=Ago
actualSize=Vera grandeco
+adaptiveColors=Adaptaj koloroj
add=Aldoni
addAccount=Aldoni konton
addedFile={1} aldonita
diff --git a/src/main/webapp/resources/dia_es.txt b/src/main/webapp/resources/dia_es.txt
index 159fbd9af..a315e6a8f 100644
--- a/src/main/webapp/resources/dia_es.txt
+++ b/src/main/webapp/resources/dia_es.txt
@@ -6,6 +6,7 @@ accessDenied=Acceso denegado
accounts=Accounts
action=Acción
actualSize=Tamaño real
+adaptiveColors=Colores adaptables
add=Agregar
addAccount=Agregar cuenta
addedFile=Agregado {1}
diff --git a/src/main/webapp/resources/dia_et.txt b/src/main/webapp/resources/dia_et.txt
index 579372c6a..3264d0556 100644
--- a/src/main/webapp/resources/dia_et.txt
+++ b/src/main/webapp/resources/dia_et.txt
@@ -6,6 +6,7 @@ accessDenied=Ligipääs keelatud
accounts=Accounts
action=Tegevus
actualSize=Tegelik suurus
+adaptiveColors=Kohanevad värvid
add=Lisa
addAccount=Lisa konto
addedFile=Lisatud {1}
diff --git a/src/main/webapp/resources/dia_eu.txt b/src/main/webapp/resources/dia_eu.txt
index e0be1eb5e..8573134c6 100644
--- a/src/main/webapp/resources/dia_eu.txt
+++ b/src/main/webapp/resources/dia_eu.txt
@@ -6,6 +6,7 @@ accessDenied=Sarbidea ukatuta
accounts=Kontuak
action=Ekintza
actualSize=Uneko tamaina
+adaptiveColors=Kolore egokigarriak
add=Gehitu
addAccount=Gehitu kontua
addedFile=Gehituta {1}
diff --git a/src/main/webapp/resources/dia_fa.txt b/src/main/webapp/resources/dia_fa.txt
index 8e863f9aa..045b45302 100644
--- a/src/main/webapp/resources/dia_fa.txt
+++ b/src/main/webapp/resources/dia_fa.txt
@@ -6,6 +6,7 @@ accessDenied=‫دسترسی مجاز نیست.‬
accounts=Accounts
action=Action
actualSize=‫سایز واقعی‬
+adaptiveColors=‫رنگ های تطبیقی‬
add=‫افزودن‬
addAccount=Add account
addedFile=‫اضافه شد {1}‬
diff --git a/src/main/webapp/resources/dia_fi.txt b/src/main/webapp/resources/dia_fi.txt
index 0de6065a2..419d64d05 100644
--- a/src/main/webapp/resources/dia_fi.txt
+++ b/src/main/webapp/resources/dia_fi.txt
@@ -6,6 +6,7 @@ accessDenied=Pääsy kielletty
accounts=Tilit
action=Toiminto
actualSize=Oikea koko
+adaptiveColors=Mukautuvat värit
add=Lisää
addAccount=Lisää tili
addedFile=Lisätty {1}
diff --git a/src/main/webapp/resources/dia_fil.txt b/src/main/webapp/resources/dia_fil.txt
index 10fb2248f..bef7415aa 100644
--- a/src/main/webapp/resources/dia_fil.txt
+++ b/src/main/webapp/resources/dia_fil.txt
@@ -6,6 +6,7 @@ accessDenied=Tinanggihan ang pagpasok
accounts=Accounts
action=Action
actualSize=Aktwal na sukat
+adaptiveColors=Mga kulay ng adaptive
add=Magdagdag
addAccount=Add account
addedFile=Idinagdag
diff --git a/src/main/webapp/resources/dia_fr.txt b/src/main/webapp/resources/dia_fr.txt
index 9fb0690b1..ceeb21a89 100644
--- a/src/main/webapp/resources/dia_fr.txt
+++ b/src/main/webapp/resources/dia_fr.txt
@@ -6,6 +6,7 @@ accessDenied=Accès refusé
accounts=Comptes
action=Action
actualSize=Taille réelle
+adaptiveColors=Couleurs adaptatives
add=Ajouter
addAccount=Ajouter un compte
addedFile=Ajouté(e) {1}
diff --git a/src/main/webapp/resources/dia_gl.txt b/src/main/webapp/resources/dia_gl.txt
index 402321159..c657894f6 100644
--- a/src/main/webapp/resources/dia_gl.txt
+++ b/src/main/webapp/resources/dia_gl.txt
@@ -6,6 +6,7 @@ accessDenied=Acceso denegado
accounts=Accounts
action=Acción
actualSize=Tamaño actual
+adaptiveColors=Cores adaptativas
add=Engadir
addAccount=Engadir conta
addedFile=Engadido {1}
diff --git a/src/main/webapp/resources/dia_gu.txt b/src/main/webapp/resources/dia_gu.txt
index 7a8f5ab88..aa55811fb 100644
--- a/src/main/webapp/resources/dia_gu.txt
+++ b/src/main/webapp/resources/dia_gu.txt
@@ -6,6 +6,7 @@ accessDenied=Access Denied
accounts=Accounts
action=Action
actualSize=Actual Size
+adaptiveColors=અનુકૂલનશીલ રંગો
add=Add
addAccount=Add account
addedFile=Added {1}
diff --git a/src/main/webapp/resources/dia_he.txt b/src/main/webapp/resources/dia_he.txt
index 7d4c9d78b..ab5051521 100644
--- a/src/main/webapp/resources/dia_he.txt
+++ b/src/main/webapp/resources/dia_he.txt
@@ -6,6 +6,7 @@ accessDenied=‫הגישה דחתה‬
accounts=Accounts
action=‫פעולה‬
actualSize=‫גודל אמיתי‬
+adaptiveColors=‫צבעים מסתגלים‬
add=‫הוסף‬
addAccount=‫הוסף חשבון‬
addedFile=‫נוסף {1}‬
diff --git a/src/main/webapp/resources/dia_hi.txt b/src/main/webapp/resources/dia_hi.txt
index e6258e25a..3232383a1 100644
--- a/src/main/webapp/resources/dia_hi.txt
+++ b/src/main/webapp/resources/dia_hi.txt
@@ -6,6 +6,7 @@ accessDenied=Access Denied
accounts=Accounts
action=Action
actualSize=Actual Size
+adaptiveColors=अनुकूली रंग
add=Add
addAccount=Add account
addedFile=Added {1}
diff --git a/src/main/webapp/resources/dia_hr.txt b/src/main/webapp/resources/dia_hr.txt
index c3998ce20..bdff3d0e0 100644
--- a/src/main/webapp/resources/dia_hr.txt
+++ b/src/main/webapp/resources/dia_hr.txt
@@ -6,6 +6,7 @@ accessDenied=Access Denied
accounts=Accounts
action=Action
actualSize=Actual Size
+adaptiveColors=Prilagodljive boje
add=Add
addAccount=Add account
addedFile=Added {1}
diff --git a/src/main/webapp/resources/dia_hu.txt b/src/main/webapp/resources/dia_hu.txt
index 9168f3e15..3d42e3674 100644
--- a/src/main/webapp/resources/dia_hu.txt
+++ b/src/main/webapp/resources/dia_hu.txt
@@ -6,6 +6,7 @@ accessDenied=Hozzáférés elutasítva
accounts=Accounts
action=Művelet
actualSize=Aktuális méret
+adaptiveColors=Adaptív színek
add=Hozzáad
addAccount=Fiók hozzáadása
addedFile={1} hozzáadva
diff --git a/src/main/webapp/resources/dia_i18n.txt b/src/main/webapp/resources/dia_i18n.txt
index 6545e2ac1..3a6f8fda0 100644
--- a/src/main/webapp/resources/dia_i18n.txt
+++ b/src/main/webapp/resources/dia_i18n.txt
@@ -6,6 +6,7 @@ accessDenied=accessDenied
accounts=accounts
action=action
actualSize=actualSize
+adaptiveColors=adaptiveColors
add=add
addAccount=addAccount
addedFile=addedFile
diff --git a/src/main/webapp/resources/dia_id.txt b/src/main/webapp/resources/dia_id.txt
index 5182c49ac..8c4ad80db 100644
--- a/src/main/webapp/resources/dia_id.txt
+++ b/src/main/webapp/resources/dia_id.txt
@@ -6,6 +6,7 @@ accessDenied=Akses Ditolak
accounts=Akun
action=Aksi
actualSize=Ukuran Aktual
+adaptiveColors=Warna Adaptif
add=Tambahkan
addAccount=Tambahkan akun
addedFile={1} ditambahkan
diff --git a/src/main/webapp/resources/dia_it.txt b/src/main/webapp/resources/dia_it.txt
index 5189c23d6..54093c619 100644
--- a/src/main/webapp/resources/dia_it.txt
+++ b/src/main/webapp/resources/dia_it.txt
@@ -6,6 +6,7 @@ accessDenied=Accesso negato
accounts=Account
action=Azione
actualSize=Dimensioni attuali
+adaptiveColors=Colori adattivi
add=Aggiungi
addAccount=Aggiungi account
addedFile={1} aggiunto
diff --git a/src/main/webapp/resources/dia_ja.txt b/src/main/webapp/resources/dia_ja.txt
index 997460f39..8b67fc66b 100644
--- a/src/main/webapp/resources/dia_ja.txt
+++ b/src/main/webapp/resources/dia_ja.txt
@@ -6,6 +6,7 @@ accessDenied=アクセス拒否されました
accounts=Accounts
action=Action
actualSize=実寸
+adaptiveColors=アダプティブカラー
add=追加する
addAccount=アカウントを追加する
addedFile={1} を追加しました。
diff --git a/src/main/webapp/resources/dia_kn.txt b/src/main/webapp/resources/dia_kn.txt
index e1c78daa4..6f783e2df 100644
--- a/src/main/webapp/resources/dia_kn.txt
+++ b/src/main/webapp/resources/dia_kn.txt
@@ -6,6 +6,7 @@ accessDenied=Access Denied
accounts=Accounts
action=Action
actualSize=Actual Size
+adaptiveColors=ಅಡಾಪ್ಟಿವ್ ಬಣ್ಣಗಳು
add=Add
addAccount=Add account
addedFile=Added {1}
diff --git a/src/main/webapp/resources/dia_ko.txt b/src/main/webapp/resources/dia_ko.txt
index 383ad4354..32db8540c 100644
--- a/src/main/webapp/resources/dia_ko.txt
+++ b/src/main/webapp/resources/dia_ko.txt
@@ -6,6 +6,7 @@ accessDenied=접근이 거부되었습니다.
accounts=계정
action=액션
actualSize=실제 크기
+adaptiveColors=적응형 색상
add=추가
addAccount=계정 추가
addedFile={1}이 추가되었습니다.
diff --git a/src/main/webapp/resources/dia_lt.txt b/src/main/webapp/resources/dia_lt.txt
index b40c1ca72..0a73d872a 100644
--- a/src/main/webapp/resources/dia_lt.txt
+++ b/src/main/webapp/resources/dia_lt.txt
@@ -6,6 +6,7 @@ accessDenied=Prieiga draudžiama
accounts=Accounts
action=Veiksmas
actualSize=Esamas dydis
+adaptiveColors=Prisitaikančios spalvos
add=Pridėti
addAccount=Pridėti paskyrą
addedFile=Pridėta
diff --git a/src/main/webapp/resources/dia_lv.txt b/src/main/webapp/resources/dia_lv.txt
index 0b115c1ee..c031e6282 100644
--- a/src/main/webapp/resources/dia_lv.txt
+++ b/src/main/webapp/resources/dia_lv.txt
@@ -6,6 +6,7 @@ accessDenied=Piekļuve liegta
accounts=Konti
action=Darbība
actualSize=Patiesais izmērs
+adaptiveColors=Adaptīvās krāsas
add=Pievienot
addAccount=Pievienot kontu
addedFile=Pievienots {1}
diff --git a/src/main/webapp/resources/dia_ml.txt b/src/main/webapp/resources/dia_ml.txt
index aeaff3cbc..3eb816a67 100644
--- a/src/main/webapp/resources/dia_ml.txt
+++ b/src/main/webapp/resources/dia_ml.txt
@@ -6,6 +6,7 @@ accessDenied=Access Denied
accounts=Accounts
action=Action
actualSize=Actual Size
+adaptiveColors=അഡാപ്റ്റീവ് നിറങ്ങൾ
add=Add
addAccount=Add account
addedFile=Added {1}
diff --git a/src/main/webapp/resources/dia_mr.txt b/src/main/webapp/resources/dia_mr.txt
index 19eb57c87..832dec248 100644
--- a/src/main/webapp/resources/dia_mr.txt
+++ b/src/main/webapp/resources/dia_mr.txt
@@ -6,6 +6,7 @@ accessDenied=Access Denied
accounts=Accounts
action=Action
actualSize=Actual Size
+adaptiveColors=अनुकूली रंग
add=Add
addAccount=Add account
addedFile=Added {1}
diff --git a/src/main/webapp/resources/dia_ms.txt b/src/main/webapp/resources/dia_ms.txt
index 23c2758d9..a6e2659a2 100644
--- a/src/main/webapp/resources/dia_ms.txt
+++ b/src/main/webapp/resources/dia_ms.txt
@@ -6,6 +6,7 @@ accessDenied=Akses Ditolak
accounts=Accounts
action=Action
actualSize=Saiz Sebenar
+adaptiveColors=Warna Adaptif
add=Tambah
addAccount=Add account
addedFile=Tambah {1}
diff --git a/src/main/webapp/resources/dia_my.txt b/src/main/webapp/resources/dia_my.txt
index c84ccc962..9766220fb 100644
--- a/src/main/webapp/resources/dia_my.txt
+++ b/src/main/webapp/resources/dia_my.txt
@@ -6,6 +6,7 @@ accessDenied=Access Denied
accounts=Accounts
action=Action
actualSize=Actual Size
+adaptiveColors=အလိုက်သင့်အရောင်များ
add=Add
addAccount=Add account
addedFile=Added {1}
diff --git a/src/main/webapp/resources/dia_nl.txt b/src/main/webapp/resources/dia_nl.txt
index c5eba40df..621bbb8b4 100644
--- a/src/main/webapp/resources/dia_nl.txt
+++ b/src/main/webapp/resources/dia_nl.txt
@@ -6,6 +6,7 @@ accessDenied=Toegang geweigerd
accounts=Accounts
action=Actie
actualSize=Ware grootte
+adaptiveColors=Adaptieve kleuren
add=Toevoegen
addAccount=Account toevoegen
addedFile={1} toegevoegd
diff --git a/src/main/webapp/resources/dia_no.txt b/src/main/webapp/resources/dia_no.txt
index 42e16fedb..6f767f109 100644
--- a/src/main/webapp/resources/dia_no.txt
+++ b/src/main/webapp/resources/dia_no.txt
@@ -6,6 +6,7 @@ accessDenied=Tilgang nektet
accounts=Accounts
action=Action
actualSize=Faktisk størrelse
+adaptiveColors=Adaptive farger
add=Legg til
addAccount=Add account
addedFile=Fil lagt til
diff --git a/src/main/webapp/resources/dia_pl.txt b/src/main/webapp/resources/dia_pl.txt
index 1dc0a788a..bca28b1d5 100644
--- a/src/main/webapp/resources/dia_pl.txt
+++ b/src/main/webapp/resources/dia_pl.txt
@@ -6,6 +6,7 @@ accessDenied=Brak dostępu
accounts=Konta
action=Działanie
actualSize=Rozmiar rzeczywisty
+adaptiveColors=Kolory adaptacyjne
add=Dodaj
addAccount=Dodaj konto
addedFile=Dodano {1}
diff --git a/src/main/webapp/resources/dia_pt-br.txt b/src/main/webapp/resources/dia_pt-br.txt
index d493c7b26..b2a35f443 100644
--- a/src/main/webapp/resources/dia_pt-br.txt
+++ b/src/main/webapp/resources/dia_pt-br.txt
@@ -6,6 +6,7 @@ accessDenied=Acesso negado
accounts=Contas
action=Ação
actualSize=Tamanho real
+adaptiveColors=Cores adaptáveis
add=Adicionar
addAccount=Adicionar conta
addedFile=Adicionou {1}
diff --git a/src/main/webapp/resources/dia_pt.txt b/src/main/webapp/resources/dia_pt.txt
index 812c4947e..a367d78be 100644
--- a/src/main/webapp/resources/dia_pt.txt
+++ b/src/main/webapp/resources/dia_pt.txt
@@ -6,6 +6,7 @@ accessDenied=Acesso Negado
accounts=Accounts
action=Action
actualSize=Tamanho real
+adaptiveColors=Cores adaptáveis
add=Adicionar
addAccount=Add account
addedFile=Adicionado {1}
diff --git a/src/main/webapp/resources/dia_ro.txt b/src/main/webapp/resources/dia_ro.txt
index 41bbc85e6..250fc7d5b 100644
--- a/src/main/webapp/resources/dia_ro.txt
+++ b/src/main/webapp/resources/dia_ro.txt
@@ -6,6 +6,7 @@ accessDenied=Acces refuzat
accounts=Conturi
action=Acțiune
actualSize=Dimensiune reală
+adaptiveColors=Culori adaptive
add=Adaugă
addAccount=Adaugă cont
addedFile=Adăugat {1}
diff --git a/src/main/webapp/resources/dia_ru.txt b/src/main/webapp/resources/dia_ru.txt
index b91ac6eae..0257ad818 100644
--- a/src/main/webapp/resources/dia_ru.txt
+++ b/src/main/webapp/resources/dia_ru.txt
@@ -6,6 +6,7 @@ accessDenied=Доступ запрещён
accounts=Аккаунты
action=Действие
actualSize=Фактический размер
+adaptiveColors=Адаптивные Цвета
add=Добавить
addAccount=Добавить аккаунт
addedFile=Добавлено {1}
diff --git a/src/main/webapp/resources/dia_si.txt b/src/main/webapp/resources/dia_si.txt
index 30bf90838..5789b32e3 100644
--- a/src/main/webapp/resources/dia_si.txt
+++ b/src/main/webapp/resources/dia_si.txt
@@ -6,6 +6,7 @@ accessDenied=Access Denied
accounts=Accounts
action=Action
actualSize=Actual Size
+adaptiveColors=අනුවර්තන වර්ණ
add=Add
addAccount=Add account
addedFile=Added {1}
diff --git a/src/main/webapp/resources/dia_sk.txt b/src/main/webapp/resources/dia_sk.txt
index fa9ca1d25..65f9b61c0 100644
--- a/src/main/webapp/resources/dia_sk.txt
+++ b/src/main/webapp/resources/dia_sk.txt
@@ -6,6 +6,7 @@ accessDenied=Access Denied
accounts=Accounts
action=Action
actualSize=Actual Size
+adaptiveColors=Adaptívne farby
add=Add
addAccount=Add account
addedFile=Added {1}
diff --git a/src/main/webapp/resources/dia_sl.txt b/src/main/webapp/resources/dia_sl.txt
index ca706e7d7..94a9c1a9f 100644
--- a/src/main/webapp/resources/dia_sl.txt
+++ b/src/main/webapp/resources/dia_sl.txt
@@ -6,6 +6,7 @@ accessDenied=Access Denied
accounts=Accounts
action=Action
actualSize=Actual Size
+adaptiveColors=Prilagodljive barve
add=Add
addAccount=Add account
addedFile=Added {1}
diff --git a/src/main/webapp/resources/dia_sr.txt b/src/main/webapp/resources/dia_sr.txt
index e92cc2e43..dafa294cc 100644
--- a/src/main/webapp/resources/dia_sr.txt
+++ b/src/main/webapp/resources/dia_sr.txt
@@ -6,6 +6,7 @@ accessDenied=Pristup je odbijen
accounts=Accounts
action=Action
actualSize=Prirodna veličina
+adaptiveColors=Адаптиве Цолорс
add=Dodaj
addAccount=Add account
addedFile=Dodat {1}
diff --git a/src/main/webapp/resources/dia_sv.txt b/src/main/webapp/resources/dia_sv.txt
index 8ecd2feb8..79aef87c0 100644
--- a/src/main/webapp/resources/dia_sv.txt
+++ b/src/main/webapp/resources/dia_sv.txt
@@ -6,6 +6,7 @@ accessDenied=Åtkomst nekad
accounts=Accounts
action=Action
actualSize=Verklig storlek
+adaptiveColors=Adaptiva färger
add=Lägg till
addAccount=Lägg till konto
addedFile={1} tillagd
diff --git a/src/main/webapp/resources/dia_sw.txt b/src/main/webapp/resources/dia_sw.txt
index 3817ee4f8..9414327f2 100644
--- a/src/main/webapp/resources/dia_sw.txt
+++ b/src/main/webapp/resources/dia_sw.txt
@@ -6,6 +6,7 @@ accessDenied=Access Denied
accounts=Accounts
action=Action
actualSize=Actual Size
+adaptiveColors=Rangi zinazobadilika
add=Add
addAccount=Add account
addedFile=Added {1}
diff --git a/src/main/webapp/resources/dia_ta.txt b/src/main/webapp/resources/dia_ta.txt
index 6848d2e70..a4d859984 100644
--- a/src/main/webapp/resources/dia_ta.txt
+++ b/src/main/webapp/resources/dia_ta.txt
@@ -6,6 +6,7 @@ accessDenied=Access Denied
accounts=Accounts
action=Action
actualSize=Actual Size
+adaptiveColors=தகவமைப்பு நிறங்கள்
add=Add
addAccount=Add account
addedFile=Added {1}
diff --git a/src/main/webapp/resources/dia_te.txt b/src/main/webapp/resources/dia_te.txt
index e45ed1d95..9b3414d54 100644
--- a/src/main/webapp/resources/dia_te.txt
+++ b/src/main/webapp/resources/dia_te.txt
@@ -6,6 +6,7 @@ accessDenied=Access Denied
accounts=Accounts
action=Action
actualSize=Actual Size
+adaptiveColors=అనుకూల రంగులు
add=Add
addAccount=Add account
addedFile=Added {1}
diff --git a/src/main/webapp/resources/dia_th.txt b/src/main/webapp/resources/dia_th.txt
index 738f45f70..480484cca 100644
--- a/src/main/webapp/resources/dia_th.txt
+++ b/src/main/webapp/resources/dia_th.txt
@@ -6,6 +6,7 @@ accessDenied=ปฏิเสธการเข้าถึง
accounts=Accounts
action=Action
actualSize=ขนาดปกติ
+adaptiveColors=สีที่ปรับเปลี่ยนได้
add=เพิ่ม
addAccount=Add account
addedFile=Info kohta
diff --git a/src/main/webapp/resources/dia_tr.txt b/src/main/webapp/resources/dia_tr.txt
index cd225167d..6ff2d0b0d 100644
--- a/src/main/webapp/resources/dia_tr.txt
+++ b/src/main/webapp/resources/dia_tr.txt
@@ -6,6 +6,7 @@ accessDenied=erişim engellendi
accounts=Accounts
action=Eylem
actualSize=Gerçek boyut
+adaptiveColors=Uyarlanabilir renkler
add=Ekle
addAccount=Hesap ekle
addedFile=Eklendi
diff --git a/src/main/webapp/resources/dia_uk.txt b/src/main/webapp/resources/dia_uk.txt
index bdb47240f..cd3ec3055 100644
--- a/src/main/webapp/resources/dia_uk.txt
+++ b/src/main/webapp/resources/dia_uk.txt
@@ -6,6 +6,7 @@ accessDenied=Доступ заборонено
accounts=Accounts
action=Дія
actualSize=Фактичний розмір
+adaptiveColors=Адаптивні Кольори
add=Додати
addAccount=Додати профіль
addedFile=Додано {1}
diff --git a/src/main/webapp/resources/dia_vi.txt b/src/main/webapp/resources/dia_vi.txt
index 880a5780a..da0586bf2 100644
--- a/src/main/webapp/resources/dia_vi.txt
+++ b/src/main/webapp/resources/dia_vi.txt
@@ -6,6 +6,7 @@ accessDenied=Truy cập bị từ chối
accounts=Accounts
action=Action
actualSize=Kích thước thực tế
+adaptiveColors=Màu SắC Thích ỨNg
add=Thêm
addAccount=Add account
addedFile=Đã thêm {1}
diff --git a/src/main/webapp/resources/dia_zh-tw.txt b/src/main/webapp/resources/dia_zh-tw.txt
index 005e5af87..7a63e0074 100644
--- a/src/main/webapp/resources/dia_zh-tw.txt
+++ b/src/main/webapp/resources/dia_zh-tw.txt
@@ -6,6 +6,7 @@ accessDenied=存取遭拒
accounts=帳號
action=動作
actualSize=實際尺寸
+adaptiveColors=自適應顏色
add=新增
addAccount=新增帳號
addedFile=已新增 {1}
diff --git a/src/main/webapp/resources/dia_zh.txt b/src/main/webapp/resources/dia_zh.txt
index 5a4ff1c4b..746c76a79 100644
--- a/src/main/webapp/resources/dia_zh.txt
+++ b/src/main/webapp/resources/dia_zh.txt
@@ -6,6 +6,7 @@ accessDenied=没有权限访问
accounts=账号
action=操作
actualSize=实际尺寸
+adaptiveColors=自适应颜色
add=添加
addAccount=添加账户
addedFile=已添加 {1}
diff --git a/src/main/webapp/service-worker.js b/src/main/webapp/service-worker.js
index 990167226..c7f20be32 100644
--- a/src/main/webapp/service-worker.js
+++ b/src/main/webapp/service-worker.js
@@ -1,2 +1,2 @@
-if(!self.define){const e=e=>{"require"!==e&&(e+=".js");let i=Promise.resolve();return r[e]||(i=new Promise((async i=>{if("document"in self){const r=document.createElement("script");r.src=e,document.head.appendChild(r),r.onload=i}else importScripts(e),i()}))),i.then((()=>{if(!r[e])throw new Error(`Module ${e} didn’t register its module`);return r[e]}))},i=(i,r)=>{Promise.all(i.map(e)).then((e=>r(1===e.length?e[0]:e)))},r={require:Promise.resolve(i)};self.define=(i,a,c)=>{r[i]||(r[i]=Promise.resolve().then((()=>{let r={};const s={uri:location.origin+i.slice(1)};return Promise.all(a.map((i=>{switch(i){case"exports":return r;case"module":return s;default:return e(i)}}))).then((e=>{const i=c(...e);return r.default||(r.default=i),r}))})))}}define("./service-worker.js",["./workbox-eb9c7348"],(function(e){"use strict";self.skipWaiting(),e.precacheAndRoute([{url:"js/app.min.js",revision:"77c801c3595605a8b85a16f9360e9ed8"},{url:"js/extensions.min.js",revision:"9ea2abc3d306fd7007a61a4812f8e676"},{url:"js/orgchart.min.js",revision:"619d8c4dab47b81868916df31f55478b"},{url:"js/stencils.min.js",revision:"268d3bc034b828a054b71ec4b5257c85"},{url:"js/shapes-14-6-5.min.js",revision:"5250b59331323b051c9cca4a303a21a9"},{url:"js/math-print.js",revision:"cf64f6a493a8cb5079f2b70813e478d7"},{url:"index.html",revision:"7c03d89e4ef93f3ad72024066acb7dab"},{url:"open.html",revision:"d71816b3b00e769fc6019fcdd6921662"},{url:"shortcuts.svg",revision:"2381dd779ce6cfee954042a7f784c7e6"},{url:"styles/fonts/ArchitectsDaughter-Regular.ttf",revision:"31c2153c0530e32553b31a49b3d70736"},{url:"styles/grapheditor.css",revision:"eb372ca44df4bfd349518c83e46d3d44"},{url:"styles/atlas.css",revision:"0a6cc8a503b96f634e40309aadf6b803"},{url:"styles/dark.css",revision:"99dc5495d36d5ebaddababefde083c8c"},{url:"js/dropbox/Dropbox-sdk.min.js",revision:"4b9842892aa37b156db0a8364b7a83b0"},{url:"js/onedrive/OneDrive.js",revision:"505e8280346666f7ee801bc59521fa67"},{url:"js/viewer-static.min.js",revision:"3825a1efcc7aa4e32018b78e9b2fced3"},{url:"connect/jira/editor-1-3-3.html",revision:"a583c5c1dac9945f6f4087c880e26854"},{url:"connect/jira/viewerPanel-1-3-12.html",revision:"801fc4ef821f5a3986902998da85b53a"},{url:"connect/jira/fullScreenViewer-1-3-3.html",revision:"b20590b5ba995880eb6778e092a3fd50"},{url:"connect/jira/viewerPanel.js",revision:"3def6121aa291841a38320ebffc51457"},{url:"connect/jira/spinner.gif",revision:"7d857ab9d86123e93d74d48e958fe743"},{url:"connect/jira/editor.js",revision:"c41221a9a51ff293f05ed13c7b142e5c"},{url:"connect/jira/fullscreen-viewer-init.js",revision:"d3269625ce04b7a277b779ff175957d0"},{url:"connect/jira/fullscreen-viewer.js",revision:"8eceb2fe587296dd11f9c8f6eae34c20"},{url:"plugins/connectJira.js",revision:"a623cbaff61a608c1ce79e3867075235"},{url:"plugins/cConf-comments.js",revision:"8af574bd1ae86be37b83b094a5011a4f"},{url:"plugins/cConf-1-4-8.js",revision:"d144c0fd8a181075878b67d1e83cb081"},{url:"connect/confluence/connectUtils-1-4-8.js",revision:"9b52f0da25a33f10ebef4483cf992dd5"},{url:"connect/new_common/cac.js",revision:"740dce44cf53499f476ee8edc37d09a0"},{url:"connect/gdrive_common/gac.js",revision:"3bb38a5d9186a896ed04808e921ef888"},{url:"connect/onedrive_common/ac.js",revision:"5fb6ff1a73f54a9086b7a7e1f613b8ed"},{url:"connect/confluence/viewer-init.js",revision:"b82e366bf57ecced9435c2a8ba9cb9b9"},{url:"connect/confluence/viewer.js",revision:"31f1ddc6c37993cf429b9024c82e230c"},{url:"connect/confluence/viewer-1-4-42.html",revision:"4a9a11f6de154cbd7a2df9e45790daf1"},{url:"connect/confluence/macroEditor-1-4-8.html",revision:"b2908e71f755a069fe6487e1e705736c"},{url:"connect/confluence/includeDiagram-1-4-8.js",revision:"a71935d0acd4b0a6ee70795b0f298699"},{url:"connect/confluence/includeDiagram.html",revision:"532e7cfd62f4b4d9de3d86a38910ca45"},{url:"connect/confluence/macro-editor.js",revision:"03a8dcfc69612b44b6e75e6926a956fc"},{url:"math/es5/startup.js",revision:"dc7130cdc866593293dbb5dde11ceb40"},{url:"math/es5/core.js",revision:"f71bc0bfb7d2ac8261747f97a5d47dd4"},{url:"math/es5/ui/safe.js",revision:"8c1fcfee7c879588ad409edcdd9cce53"},{url:"math/es5/output/svg.js",revision:"4f55967d16197ebb01b86356d8ab179a"},{url:"math/es5/input/tex.js",revision:"5c4f470da2ccb1acf85041fcecd6fff6"},{url:"math/es5/input/asciimath.js",revision:"c2d4076dd8e26d509bfe3a378e71cfa7"},{url:"math/es5/output/svg/fonts/tex.js",revision:"6eab785a3788ea805bd2b552d1f0aab8"},{url:"resources/dia.txt",revision:"83f3cc0f709fc7a51ef28e70cdfe370b"},{url:"resources/dia_am.txt",revision:"0ef16596a780e7f44122301c3f9a79f1"},{url:"resources/dia_ar.txt",revision:"f2573f4208d89c6773c62457aa77735e"},{url:"resources/dia_bg.txt",revision:"4d24dbb36bf156a8cd707f88afca3299"},{url:"resources/dia_bn.txt",revision:"cf19debb37e984b289ffbcc9750b77c6"},{url:"resources/dia_bs.txt",revision:"a3c004a2613f0ce64756f12c23a3bddf"},{url:"resources/dia_ca.txt",revision:"ebe62641923b8443f2a6969167be6159"},{url:"resources/dia_cs.txt",revision:"6d85e308446931b804ab9302ed523c45"},{url:"resources/dia_da.txt",revision:"f6a71f581b517b21418f5ffd5ca89cfd"},{url:"resources/dia_de.txt",revision:"dea6cb237a28cd571d57711a2c88e043"},{url:"resources/dia_el.txt",revision:"d826708c6bc889b4082d4b72cc738563"},{url:"resources/dia_eo.txt",revision:"6ebc1e9344d0e05b3bc24d83ee20f465"},{url:"resources/dia_es.txt",revision:"36141f05248cbefd7b2bb36b9bca1e01"},{url:"resources/dia_et.txt",revision:"cf5d49b782fe269751e75d4006ad1ff3"},{url:"resources/dia_eu.txt",revision:"a36e071a25dbcea490b91325dfba8ca3"},{url:"resources/dia_fa.txt",revision:"2f9520a52c5dc28adf55d563e16e1874"},{url:"resources/dia_fi.txt",revision:"43bc8145db4e61e91aa579e1244d4e25"},{url:"resources/dia_fil.txt",revision:"4e4e5af5229d1b18db92036713081cf1"},{url:"resources/dia_fr.txt",revision:"d13a2905a02ec33efae185c5e414306e"},{url:"resources/dia_gl.txt",revision:"ec63892db1a77aeb3ce55a01f0fee749"},{url:"resources/dia_gu.txt",revision:"7f84ee54736803f56d1ff12938ef7670"},{url:"resources/dia_he.txt",revision:"3c008b24ba83a551ba588245813f7181"},{url:"resources/dia_hi.txt",revision:"2923d02132336ae84d1c81da86528626"},{url:"resources/dia_hr.txt",revision:"aff0e085dd17ac1b5f5aaa464735add5"},{url:"resources/dia_hu.txt",revision:"1b27a027fd9b643d26bcd564a91d34bb"},{url:"resources/dia_id.txt",revision:"752361386c8b0e27115f282033e2d0f4"},{url:"resources/dia_it.txt",revision:"40b89d64ba52ab565771384b00348d9c"},{url:"resources/dia_ja.txt",revision:"58e16c9cdcffdd41804a3ecd45b198a2"},{url:"resources/dia_kn.txt",revision:"1f457cb3448fb7e5d34aeb9b7a1e386b"},{url:"resources/dia_ko.txt",revision:"a35816db9b078f7844de6253485c2e4f"},{url:"resources/dia_lt.txt",revision:"c5536cc6a3b7a92c38545f58cc852f2b"},{url:"resources/dia_lv.txt",revision:"f3f88e2ecefa731546e46e1a61facd99"},{url:"resources/dia_ml.txt",revision:"996f5137a704971ffea0f6b0ae177db3"},{url:"resources/dia_mr.txt",revision:"9c2fb9092526b092fb3ddb350d95d208"},{url:"resources/dia_ms.txt",revision:"bf427c7783f19f9786bd30eb41b4ea73"},{url:"resources/dia_my.txt",revision:"5d93e9c25c4af1757f6a00b8ff90e588"},{url:"resources/dia_nl.txt",revision:"9d3d192cd5faaa4c614f1f1a0c99a2f5"},{url:"resources/dia_no.txt",revision:"8d7cfd063452207ce418b2e422d8496f"},{url:"resources/dia_pl.txt",revision:"825e629f58f0c62167868548c4d67bfc"},{url:"resources/dia_pt-br.txt",revision:"ca31e5f8b6df241980458f0b340f3ff5"},{url:"resources/dia_pt.txt",revision:"0bae2aebc0094cfe754d8cf101848758"},{url:"resources/dia_ro.txt",revision:"f10287ac29fd33ffd91eb497786ae6c2"},{url:"resources/dia_ru.txt",revision:"04db8fb420085c49af8dba4dbab6e1a8"},{url:"resources/dia_si.txt",revision:"63ce377bf66ac62ad96e403a4a7aa554"},{url:"resources/dia_sk.txt",revision:"d4a6caac86b6acfd2d3eb5837f660c80"},{url:"resources/dia_sl.txt",revision:"ccdb5017f70932f6f59a5f3709d9d62d"},{url:"resources/dia_sr.txt",revision:"950a449d58e63d9e5e66c979c84a6421"},{url:"resources/dia_sv.txt",revision:"201049ab5aa61ef60ff19da9fd90d21c"},{url:"resources/dia_sw.txt",revision:"605053216d3b5c0720155554ec9fbe7a"},{url:"resources/dia_ta.txt",revision:"ffcf2c25bc75c2645d1d57169859eb9e"},{url:"resources/dia_te.txt",revision:"372611a410e0fda6f6fff0dde8b9f65d"},{url:"resources/dia_th.txt",revision:"16bf4cbdb3c99648418ed86ad4d482c3"},{url:"resources/dia_tr.txt",revision:"62c62d65cd844d9d1c89ab85b1c5d769"},{url:"resources/dia_uk.txt",revision:"47d33fe951e2adf7e9dc48f8b76276b4"},{url:"resources/dia_vi.txt",revision:"f6f7cfb6c7f373efccbcffab2378da26"},{url:"resources/dia_zh-tw.txt",revision:"586570b78114821ca0e339643401381d"},{url:"resources/dia_zh.txt",revision:"97e73fa9d5b67ff8d8dba84f37d632c0"},{url:"favicon.ico",revision:"83014b0f32b6c7b15b66cf3c6d6d7c16"},{url:"images/manifest.json",revision:"38d3a7e4b63e8175f0aab6f03e000f07"},{url:"images/logo.png",revision:"e4e0d092abdb1e668b5ec41a7fe0713c"},{url:"images/drawlogo.svg",revision:"4bf4d14ebcf072d8bd4c5a1c89e88fc6"},{url:"images/drawlogo48.png",revision:"8b13428373aca67b895364d025f42417"},{url:"images/drawlogo-gray.svg",revision:"0aabacbc0873816e1e09e4736ae44c7d"},{url:"images/drawlogo-text-bottom.svg",revision:"f6c438823ab31f290940bd4feb8dd9c2"},{url:"images/default-user.jpg",revision:"2c399696a87c8921f12d2f9e1990cc6e"},{url:"images/logo-flat-small.png",revision:"4b178e59ff499d6dd1894fc498b59877"},{url:"images/apple-touch-icon.png",revision:"732c29e21332a926318a7005d21ec450"},{url:"images/icon-192-maskable.png",revision:"47e006d0ce4a35eb5beaa97f0c2bfed0"},{url:"images/icon-192.png",revision:"d022403d52435d76afec82c4e24a17ef"},{url:"images/icon-512-maskable.png",revision:"cf152feeb01fb21f3148a71a3540266e"},{url:"images/icon-512.png",revision:"a3a0df7e7a385244b74073f81ecc45de"},{url:"images/delete.png",revision:"5f2350f2fd20f1a229637aed32ed8f29"},{url:"images/droptarget.png",revision:"bbf7f563fb6784de1ce96f329519b043"},{url:"images/help.png",revision:"9266c6c3915bd33c243d80037d37bf61"},{url:"images/download.png",revision:"35418dd7bd48d87502c71b578cc6c37f"},{url:"images/logo-flat.png",revision:"038070ab43aee6e54a791211859fc67b"},{url:"images/google-drive-logo.svg",revision:"5d9f2f5bbc7dcc252730a0072bb23059"},{url:"images/onedrive-logo.svg",revision:"3645b344ec0634c1290dd58d7dc87b97"},{url:"images/dropbox-logo.svg",revision:"e6be408c77cf9c82d41ac64fa854280a"},{url:"images/github-logo.svg",revision:"a1a999b69a275eac0cb918360ac05ae1"},{url:"images/gitlab-logo.svg",revision:"0faea8c818899e58533e153c44b10517"},{url:"images/trello-logo.svg",revision:"006fd0d7d70d7e95dc691674cb12e044"},{url:"images/osa_drive-harddisk.png",revision:"b954e1ae772087c5b4c6ae797e1f9649"},{url:"images/osa_database.png",revision:"c350d9d9b95f37b6cfe798b40ede5fb0"},{url:"images/google-drive-logo-white.svg",revision:"f329d8b1be7778515a85b93fc35d9f26"},{url:"images/dropbox-logo-white.svg",revision:"4ea8299ac3bc31a16f199ee3aec223bf"},{url:"images/onedrive-logo-white.svg",revision:"b3602fa0fc947009cff3f33a581cff4d"},{url:"images/github-logo-white.svg",revision:"537b1127b3ca0f95b45782d1304fb77a"},{url:"images/gitlab-logo-white.svg",revision:"5fede9ac2f394c716b8c23e3fddc3910"},{url:"images/trello-logo-white-orange.svg",revision:"e2a0a52ba3766682f138138d10a75eb5"},{url:"images/logo-confluence.png",revision:"ed1e55d44ae5eba8f999aba2c93e8331"},{url:"images/logo-jira.png",revision:"f8d460555a0d1f87cfd901e940666629"},{url:"images/clear.gif",revision:"db13c778e4382e0b55258d0f811d5d70"},{url:"images/spin.gif",revision:"487cbb40b9ced439aa1ad914e816d773"},{url:"images/checkmark.gif",revision:"ba764ce62f2bf952df5bbc2bb4d381c5"},{url:"images/hs.png",revision:"fefa1a03d92ebad25c88dca94a0b63db"},{url:"images/aui-wait.gif",revision:"5a474bcbd8d2f2826f03d10ea44bf60e"},{url:"mxgraph/css/common.css",revision:"7985b4d1692766a7db52cbdd10893ad9"},{url:"mxgraph/images/expanded.gif",revision:"2b67c2c035af1e9a5cc814f0d22074cf"},{url:"mxgraph/images/collapsed.gif",revision:"73cc826da002a3d740ca4ce6ec5c1f4a"},{url:"mxgraph/images/maximize.gif",revision:"5cd13d6925493ab51e876694cc1c2ec2"},{url:"mxgraph/images/minimize.gif",revision:"8957741b9b0f86af9438775f2aadbb54"},{url:"mxgraph/images/close.gif",revision:"8b84669812ac7382984fca35de8da48b"},{url:"mxgraph/images/resize.gif",revision:"a6477612b3567a34033f9cac6184eed3"},{url:"mxgraph/images/separator.gif",revision:"7819742ff106c97da7a801c2372bbbe5"},{url:"mxgraph/images/window.gif",revision:"fd9a21dd4181f98052a202a0a01f18ab"},{url:"mxgraph/images/window-title.gif",revision:"3fb1d6c43246cdf991a11dfe826dfe99"},{url:"mxgraph/images/button.gif",revision:"00759bdc3ad218fa739f584369541809"},{url:"mxgraph/images/point.gif",revision:"83a43717b284902442620f61bc4e9fa6"}],{ignoreURLParametersMatching:[/.*/]})}));
+if(!self.define){let e,i={};const r=(r,a)=>(r=new URL(r+".js",a).href,i[r]||new Promise((i=>{if("document"in self){const e=document.createElement("script");e.src=r,e.onload=i,document.head.appendChild(e)}else e=r,importScripts(r),i()})).then((()=>{let e=i[r];if(!e)throw new Error(`Module ${r} didn’t register its module`);return e})));self.define=(a,c)=>{const s=e||("document"in self?document.currentScript.src:"")||location.href;if(i[s])return;let d={};const o=e=>r(e,s),f={module:{uri:s},exports:d,require:o};i[s]=Promise.all(a.map((e=>f[e]||o(e)))).then((e=>(c(...e),d)))}}define(["./workbox-72a83b64"],(function(e){"use strict";self.skipWaiting(),e.precacheAndRoute([{url:"js/app.min.js",revision:"2cfef335ed6d3649c05f6a8a70bc3ec4"},{url:"js/extensions.min.js",revision:"9ea2abc3d306fd7007a61a4812f8e676"},{url:"js/orgchart.min.js",revision:"619d8c4dab47b81868916df31f55478b"},{url:"js/stencils.min.js",revision:"f760278d924467fb1d2289448c73fe27"},{url:"js/shapes-14-6-5.min.js",revision:"317413c8e37c127ada9a5c84ffd3463d"},{url:"js/math-print.js",revision:"cf64f6a493a8cb5079f2b70813e478d7"},{url:"index.html",revision:"7c03d89e4ef93f3ad72024066acb7dab"},{url:"open.html",revision:"d71816b3b00e769fc6019fcdd6921662"},{url:"shortcuts.svg",revision:"2381dd779ce6cfee954042a7f784c7e6"},{url:"styles/fonts/ArchitectsDaughter-Regular.ttf",revision:"31c2153c0530e32553b31a49b3d70736"},{url:"styles/grapheditor.css",revision:"eb372ca44df4bfd349518c83e46d3d44"},{url:"styles/atlas.css",revision:"0a6cc8a503b96f634e40309aadf6b803"},{url:"styles/dark.css",revision:"99dc5495d36d5ebaddababefde083c8c"},{url:"js/dropbox/Dropbox-sdk.min.js",revision:"4b9842892aa37b156db0a8364b7a83b0"},{url:"js/onedrive/OneDrive.js",revision:"505e8280346666f7ee801bc59521fa67"},{url:"js/viewer-static.min.js",revision:"b70aba36847e3f835a50e45cd4f7858b"},{url:"connect/jira/editor-1-3-3.html",revision:"41dc8af9576b47f359cff19fff7a41c2"},{url:"connect/jira/viewerPanel-1-3-12.html",revision:"cabb87beb09767120fc706653b2aabf6"},{url:"connect/jira/fullScreenViewer-1-3-3.html",revision:"abed474e47c0c41a5ad2366b4828f77a"},{url:"connect/jira/viewerPanel.js",revision:"3def6121aa291841a38320ebffc51457"},{url:"connect/jira/spinner.gif",revision:"7d857ab9d86123e93d74d48e958fe743"},{url:"connect/jira/editor.js",revision:"c41221a9a51ff293f05ed13c7b142e5c"},{url:"connect/jira/fullscreen-viewer-init.js",revision:"d3269625ce04b7a277b779ff175957d0"},{url:"connect/jira/fullscreen-viewer.js",revision:"8eceb2fe587296dd11f9c8f6eae34c20"},{url:"plugins/connectJira.js",revision:"a623cbaff61a608c1ce79e3867075235"},{url:"plugins/cConf-comments.js",revision:"8af574bd1ae86be37b83b094a5011a4f"},{url:"plugins/cConf-1-4-8.js",revision:"d144c0fd8a181075878b67d1e83cb081"},{url:"connect/confluence/connectUtils-1-4-8.js",revision:"9b52f0da25a33f10ebef4483cf992dd5"},{url:"connect/new_common/cac.js",revision:"740dce44cf53499f476ee8edc37d09a0"},{url:"connect/gdrive_common/gac.js",revision:"3bb38a5d9186a896ed04808e921ef888"},{url:"connect/onedrive_common/ac.js",revision:"5fb6ff1a73f54a9086b7a7e1f613b8ed"},{url:"connect/confluence/viewer-init.js",revision:"b82e366bf57ecced9435c2a8ba9cb9b9"},{url:"connect/confluence/viewer.js",revision:"31f1ddc6c37993cf429b9024c82e230c"},{url:"connect/confluence/viewer-1-4-42.html",revision:"69c1bca25fd4889bf832e8441c972268"},{url:"connect/confluence/macroEditor-1-4-8.html",revision:"4ad77ae3f08c19eddac932b2fa8c7068"},{url:"connect/confluence/includeDiagram-1-4-8.js",revision:"a71935d0acd4b0a6ee70795b0f298699"},{url:"connect/confluence/includeDiagram.html",revision:"9613fec05b19ddef081ca6e9d8b057bf"},{url:"connect/confluence/macro-editor.js",revision:"03a8dcfc69612b44b6e75e6926a956fc"},{url:"math/es5/startup.js",revision:"dc7130cdc866593293dbb5dde11ceb40"},{url:"math/es5/core.js",revision:"f71bc0bfb7d2ac8261747f97a5d47dd4"},{url:"math/es5/ui/safe.js",revision:"8c1fcfee7c879588ad409edcdd9cce53"},{url:"math/es5/output/svg.js",revision:"4f55967d16197ebb01b86356d8ab179a"},{url:"math/es5/input/tex.js",revision:"5c4f470da2ccb1acf85041fcecd6fff6"},{url:"math/es5/input/asciimath.js",revision:"c2d4076dd8e26d509bfe3a378e71cfa7"},{url:"math/es5/output/svg/fonts/tex.js",revision:"6eab785a3788ea805bd2b552d1f0aab8"},{url:"resources/dia.txt",revision:"73927d303703a329ff06d681553e993d"},{url:"resources/dia_am.txt",revision:"8d60c82458b57bb9ccc7b0c4f6ed3f79"},{url:"resources/dia_ar.txt",revision:"e278657437cf14eeedbb3b641d3ba8c0"},{url:"resources/dia_bg.txt",revision:"61c2ef14ee768be21fcb22b1928f7cac"},{url:"resources/dia_bn.txt",revision:"45e3683c1150ad2e139f42fedaf9e7aa"},{url:"resources/dia_bs.txt",revision:"ed33364ad4282d0e29775ca2e2f351e0"},{url:"resources/dia_ca.txt",revision:"c7738eb1369c5d1fc58f8b6ce1dd77dc"},{url:"resources/dia_cs.txt",revision:"ba2fd4196222285218549625600a530f"},{url:"resources/dia_da.txt",revision:"b3eb739977ead9876a8afe0103ad7e36"},{url:"resources/dia_de.txt",revision:"95357e2d517ad36e2db9ed683914f9b3"},{url:"resources/dia_el.txt",revision:"faa7d843ef32aba9b9f11e367ca362d5"},{url:"resources/dia_eo.txt",revision:"619ff072153d5897b7184ee0fe925f18"},{url:"resources/dia_es.txt",revision:"1feb3c63ee76afc71ebec607c8a9347a"},{url:"resources/dia_et.txt",revision:"67482775f1ff0d1b2cb31f6226c519d3"},{url:"resources/dia_eu.txt",revision:"a7dce4832af9f1d0b4e5f5bf189ef328"},{url:"resources/dia_fa.txt",revision:"743a891d016470e8e0a3651be32fb3c5"},{url:"resources/dia_fi.txt",revision:"ff5f6fc52b3670969dc6b0e29ea04142"},{url:"resources/dia_fil.txt",revision:"637b4984bb64580b4ef61e28ef7ca664"},{url:"resources/dia_fr.txt",revision:"fe1a22a639cfea2d8700ffff8cca375a"},{url:"resources/dia_gl.txt",revision:"a89e3f7e7cb3b6867d3e74eb949894dd"},{url:"resources/dia_gu.txt",revision:"769be61a373049c5d3b358201f1acb65"},{url:"resources/dia_he.txt",revision:"238e53f20884ef57b1a9c06bd800b9ef"},{url:"resources/dia_hi.txt",revision:"755e1872b614c9a5b27c5459062c8320"},{url:"resources/dia_hr.txt",revision:"adf6788e96b0e3f0029cbae30a4faefb"},{url:"resources/dia_hu.txt",revision:"c645a78fdda2843acd6aa9d9bf60a6e8"},{url:"resources/dia_id.txt",revision:"79811cc3aae6a3da83b2bd2b3b2386e9"},{url:"resources/dia_it.txt",revision:"57b0f8eb2319f99f96b79507966f4e6f"},{url:"resources/dia_ja.txt",revision:"b4b10c93e53b13dbd3e407532813b9e0"},{url:"resources/dia_kn.txt",revision:"7cbbba0381a1a6cdeade3bc28ac01962"},{url:"resources/dia_ko.txt",revision:"943b020ff0430e9f81fe3e1875423b7d"},{url:"resources/dia_lt.txt",revision:"94aff34cd118d39d79abacf2a16aea7d"},{url:"resources/dia_lv.txt",revision:"325ed2d9ffa2ddc493d9ed10d46007ad"},{url:"resources/dia_ml.txt",revision:"fc666763d3fbff227411defda23b1942"},{url:"resources/dia_mr.txt",revision:"e8746ae5b0123155bdd837ae7f01b5f5"},{url:"resources/dia_ms.txt",revision:"e1600b30e6517d4dc4a7002ce675c641"},{url:"resources/dia_my.txt",revision:"4acfe58eb8f47895f188af8bfd33659c"},{url:"resources/dia_nl.txt",revision:"080b0279f277325e2e00991482187a1d"},{url:"resources/dia_no.txt",revision:"6f0812d787ab931475343320d2547158"},{url:"resources/dia_pl.txt",revision:"3c7d08a5fefc693e6b6b4521a3c0a6cc"},{url:"resources/dia_pt-br.txt",revision:"5d7431a638a268dfedd3bc7f463e17d6"},{url:"resources/dia_pt.txt",revision:"981210fd60e7fd0831fcd6d26ca26f74"},{url:"resources/dia_ro.txt",revision:"1d77510ecd2b1b1c26640dfe77e00f48"},{url:"resources/dia_ru.txt",revision:"4c2d2f96df120afc4c3b3c58d0bc6ebc"},{url:"resources/dia_si.txt",revision:"2db82ba649f3ab7d578a73b247b06c4f"},{url:"resources/dia_sk.txt",revision:"4b9033183a2c90ccf0f75136fd7b14b0"},{url:"resources/dia_sl.txt",revision:"c27148e1c9480a35642162595480ff1f"},{url:"resources/dia_sr.txt",revision:"ef3562ada2e69e5d33609d58a677b6db"},{url:"resources/dia_sv.txt",revision:"7357682c42f6d47729b6b1784aaa5e9b"},{url:"resources/dia_sw.txt",revision:"377dd914bd645c2348e342bf55306439"},{url:"resources/dia_ta.txt",revision:"00ce65e244e159a2dcb93b9829a2e603"},{url:"resources/dia_te.txt",revision:"8aaca1c42eb1c027a77138f0fccc85c7"},{url:"resources/dia_th.txt",revision:"c2be3eae6995b41ba466651629c69143"},{url:"resources/dia_tr.txt",revision:"9571764eb899cc108c6fb2631d694ca3"},{url:"resources/dia_uk.txt",revision:"76e4f285ac8c648d3b3fbc6ab59aad17"},{url:"resources/dia_vi.txt",revision:"ced105b1a1ea57902c88fdd36ab041c0"},{url:"resources/dia_zh-tw.txt",revision:"ce0a47eca469dbb93e8c4f26aba7ea73"},{url:"resources/dia_zh.txt",revision:"a69a22b12a4ced3f62285b2521355755"},{url:"favicon.ico",revision:"83014b0f32b6c7b15b66cf3c6d6d7c16"},{url:"images/manifest.json",revision:"38d3a7e4b63e8175f0aab6f03e000f07"},{url:"images/logo.png",revision:"e4e0d092abdb1e668b5ec41a7fe0713c"},{url:"images/drawlogo.svg",revision:"4bf4d14ebcf072d8bd4c5a1c89e88fc6"},{url:"images/drawlogo48.png",revision:"8b13428373aca67b895364d025f42417"},{url:"images/drawlogo-gray.svg",revision:"0aabacbc0873816e1e09e4736ae44c7d"},{url:"images/drawlogo-text-bottom.svg",revision:"f6c438823ab31f290940bd4feb8dd9c2"},{url:"images/default-user.jpg",revision:"2c399696a87c8921f12d2f9e1990cc6e"},{url:"images/logo-flat-small.png",revision:"4b178e59ff499d6dd1894fc498b59877"},{url:"images/apple-touch-icon.png",revision:"732c29e21332a926318a7005d21ec450"},{url:"images/icon-192-maskable.png",revision:"47e006d0ce4a35eb5beaa97f0c2bfed0"},{url:"images/icon-192.png",revision:"d022403d52435d76afec82c4e24a17ef"},{url:"images/icon-512-maskable.png",revision:"cf152feeb01fb21f3148a71a3540266e"},{url:"images/icon-512.png",revision:"a3a0df7e7a385244b74073f81ecc45de"},{url:"images/delete.png",revision:"5f2350f2fd20f1a229637aed32ed8f29"},{url:"images/droptarget.png",revision:"bbf7f563fb6784de1ce96f329519b043"},{url:"images/help.png",revision:"9266c6c3915bd33c243d80037d37bf61"},{url:"images/download.png",revision:"35418dd7bd48d87502c71b578cc6c37f"},{url:"images/logo-flat.png",revision:"038070ab43aee6e54a791211859fc67b"},{url:"images/google-drive-logo.svg",revision:"5d9f2f5bbc7dcc252730a0072bb23059"},{url:"images/onedrive-logo.svg",revision:"3645b344ec0634c1290dd58d7dc87b97"},{url:"images/dropbox-logo.svg",revision:"e6be408c77cf9c82d41ac64fa854280a"},{url:"images/github-logo.svg",revision:"a1a999b69a275eac0cb918360ac05ae1"},{url:"images/gitlab-logo.svg",revision:"0faea8c818899e58533e153c44b10517"},{url:"images/trello-logo.svg",revision:"006fd0d7d70d7e95dc691674cb12e044"},{url:"images/osa_drive-harddisk.png",revision:"b954e1ae772087c5b4c6ae797e1f9649"},{url:"images/osa_database.png",revision:"c350d9d9b95f37b6cfe798b40ede5fb0"},{url:"images/google-drive-logo-white.svg",revision:"f329d8b1be7778515a85b93fc35d9f26"},{url:"images/dropbox-logo-white.svg",revision:"4ea8299ac3bc31a16f199ee3aec223bf"},{url:"images/onedrive-logo-white.svg",revision:"b3602fa0fc947009cff3f33a581cff4d"},{url:"images/github-logo-white.svg",revision:"537b1127b3ca0f95b45782d1304fb77a"},{url:"images/gitlab-logo-white.svg",revision:"5fede9ac2f394c716b8c23e3fddc3910"},{url:"images/trello-logo-white-orange.svg",revision:"e2a0a52ba3766682f138138d10a75eb5"},{url:"images/logo-confluence.png",revision:"ed1e55d44ae5eba8f999aba2c93e8331"},{url:"images/logo-jira.png",revision:"f8d460555a0d1f87cfd901e940666629"},{url:"images/clear.gif",revision:"db13c778e4382e0b55258d0f811d5d70"},{url:"images/spin.gif",revision:"487cbb40b9ced439aa1ad914e816d773"},{url:"images/checkmark.gif",revision:"ba764ce62f2bf952df5bbc2bb4d381c5"},{url:"images/hs.png",revision:"fefa1a03d92ebad25c88dca94a0b63db"},{url:"images/aui-wait.gif",revision:"5a474bcbd8d2f2826f03d10ea44bf60e"},{url:"mxgraph/css/common.css",revision:"7985b4d1692766a7db52cbdd10893ad9"},{url:"mxgraph/images/expanded.gif",revision:"2b67c2c035af1e9a5cc814f0d22074cf"},{url:"mxgraph/images/collapsed.gif",revision:"73cc826da002a3d740ca4ce6ec5c1f4a"},{url:"mxgraph/images/maximize.gif",revision:"5cd13d6925493ab51e876694cc1c2ec2"},{url:"mxgraph/images/minimize.gif",revision:"8957741b9b0f86af9438775f2aadbb54"},{url:"mxgraph/images/close.gif",revision:"8b84669812ac7382984fca35de8da48b"},{url:"mxgraph/images/resize.gif",revision:"a6477612b3567a34033f9cac6184eed3"},{url:"mxgraph/images/separator.gif",revision:"7819742ff106c97da7a801c2372bbbe5"},{url:"mxgraph/images/window.gif",revision:"fd9a21dd4181f98052a202a0a01f18ab"},{url:"mxgraph/images/window-title.gif",revision:"3fb1d6c43246cdf991a11dfe826dfe99"},{url:"mxgraph/images/button.gif",revision:"00759bdc3ad218fa739f584369541809"},{url:"mxgraph/images/point.gif",revision:"83a43717b284902442620f61bc4e9fa6"}],{ignoreURLParametersMatching:[/.*/]})}));
//# sourceMappingURL=service-worker.js.map
diff --git a/src/main/webapp/service-worker.js.map b/src/main/webapp/service-worker.js.map
index 94f6b1f5e..939d01eec 100644
--- a/src/main/webapp/service-worker.js.map
+++ b/src/main/webapp/service-worker.js.map
@@ -1 +1 @@
-{"version":3,"file":"service-worker.js","sources":["../../../../../tmp/eb9d4362be3ea4f76bea58145b58d5be/service-worker.js"],"sourcesContent":["import {precacheAndRoute as workbox_precaching_precacheAndRoute} from '/usr/lib/node_modules/workbox-cli/node_modules/workbox-precaching/precacheAndRoute.mjs';/**\n * Welcome to your Workbox-powered service worker!\n *\n * You'll need to register this file in your web app.\n * See https://goo.gl/nhQhGp\n *\n * The rest of the code is auto-generated. Please don't update this file\n * directly; instead, make changes to your Workbox build configuration\n * and re-run your build process.\n * See https://goo.gl/2aRDsh\n */\n\n\n\n\n\n\n\n\nself.skipWaiting();\n\n\n\n\n/**\n * The precacheAndRoute() method efficiently caches and responds to\n * requests for URLs in the manifest.\n * See https://goo.gl/S9QRab\n */\nworkbox_precaching_precacheAndRoute([\n {\n \"url\": \"js/app.min.js\",\n \"revision\": \"77c801c3595605a8b85a16f9360e9ed8\"\n },\n {\n \"url\": \"js/extensions.min.js\",\n \"revision\": \"9ea2abc3d306fd7007a61a4812f8e676\"\n },\n {\n \"url\": \"js/orgchart.min.js\",\n \"revision\": \"619d8c4dab47b81868916df31f55478b\"\n },\n {\n \"url\": \"js/stencils.min.js\",\n \"revision\": \"268d3bc034b828a054b71ec4b5257c85\"\n },\n {\n \"url\": \"js/shapes-14-6-5.min.js\",\n \"revision\": \"5250b59331323b051c9cca4a303a21a9\"\n },\n {\n \"url\": \"js/math-print.js\",\n \"revision\": \"cf64f6a493a8cb5079f2b70813e478d7\"\n },\n {\n \"url\": \"index.html\",\n \"revision\": \"7c03d89e4ef93f3ad72024066acb7dab\"\n },\n {\n \"url\": \"open.html\",\n \"revision\": \"d71816b3b00e769fc6019fcdd6921662\"\n },\n {\n \"url\": \"shortcuts.svg\",\n \"revision\": \"2381dd779ce6cfee954042a7f784c7e6\"\n },\n {\n \"url\": \"styles/fonts/ArchitectsDaughter-Regular.ttf\",\n \"revision\": \"31c2153c0530e32553b31a49b3d70736\"\n },\n {\n \"url\": \"styles/grapheditor.css\",\n \"revision\": \"eb372ca44df4bfd349518c83e46d3d44\"\n },\n {\n \"url\": \"styles/atlas.css\",\n \"revision\": \"0a6cc8a503b96f634e40309aadf6b803\"\n },\n {\n \"url\": \"styles/dark.css\",\n \"revision\": \"99dc5495d36d5ebaddababefde083c8c\"\n },\n {\n \"url\": \"js/dropbox/Dropbox-sdk.min.js\",\n \"revision\": \"4b9842892aa37b156db0a8364b7a83b0\"\n },\n {\n \"url\": \"js/onedrive/OneDrive.js\",\n \"revision\": \"505e8280346666f7ee801bc59521fa67\"\n },\n {\n \"url\": \"js/viewer-static.min.js\",\n \"revision\": \"3825a1efcc7aa4e32018b78e9b2fced3\"\n },\n {\n \"url\": \"connect/jira/editor-1-3-3.html\",\n \"revision\": \"a583c5c1dac9945f6f4087c880e26854\"\n },\n {\n \"url\": \"connect/jira/viewerPanel-1-3-12.html\",\n \"revision\": \"801fc4ef821f5a3986902998da85b53a\"\n },\n {\n \"url\": \"connect/jira/fullScreenViewer-1-3-3.html\",\n \"revision\": \"b20590b5ba995880eb6778e092a3fd50\"\n },\n {\n \"url\": \"connect/jira/viewerPanel.js\",\n \"revision\": \"3def6121aa291841a38320ebffc51457\"\n },\n {\n \"url\": \"connect/jira/spinner.gif\",\n \"revision\": \"7d857ab9d86123e93d74d48e958fe743\"\n },\n {\n \"url\": \"connect/jira/editor.js\",\n \"revision\": \"c41221a9a51ff293f05ed13c7b142e5c\"\n },\n {\n \"url\": \"connect/jira/fullscreen-viewer-init.js\",\n \"revision\": \"d3269625ce04b7a277b779ff175957d0\"\n },\n {\n \"url\": \"connect/jira/fullscreen-viewer.js\",\n \"revision\": \"8eceb2fe587296dd11f9c8f6eae34c20\"\n },\n {\n \"url\": \"plugins/connectJira.js\",\n \"revision\": \"a623cbaff61a608c1ce79e3867075235\"\n },\n {\n \"url\": \"plugins/cConf-comments.js\",\n \"revision\": \"8af574bd1ae86be37b83b094a5011a4f\"\n },\n {\n \"url\": \"plugins/cConf-1-4-8.js\",\n \"revision\": \"d144c0fd8a181075878b67d1e83cb081\"\n },\n {\n \"url\": \"connect/confluence/connectUtils-1-4-8.js\",\n \"revision\": \"9b52f0da25a33f10ebef4483cf992dd5\"\n },\n {\n \"url\": \"connect/new_common/cac.js\",\n \"revision\": \"740dce44cf53499f476ee8edc37d09a0\"\n },\n {\n \"url\": \"connect/gdrive_common/gac.js\",\n \"revision\": \"3bb38a5d9186a896ed04808e921ef888\"\n },\n {\n \"url\": \"connect/onedrive_common/ac.js\",\n \"revision\": \"5fb6ff1a73f54a9086b7a7e1f613b8ed\"\n },\n {\n \"url\": \"connect/confluence/viewer-init.js\",\n \"revision\": \"b82e366bf57ecced9435c2a8ba9cb9b9\"\n },\n {\n \"url\": \"connect/confluence/viewer.js\",\n \"revision\": \"31f1ddc6c37993cf429b9024c82e230c\"\n },\n {\n \"url\": \"connect/confluence/viewer-1-4-42.html\",\n \"revision\": \"4a9a11f6de154cbd7a2df9e45790daf1\"\n },\n {\n \"url\": \"connect/confluence/macroEditor-1-4-8.html\",\n \"revision\": \"b2908e71f755a069fe6487e1e705736c\"\n },\n {\n \"url\": \"connect/confluence/includeDiagram-1-4-8.js\",\n \"revision\": \"a71935d0acd4b0a6ee70795b0f298699\"\n },\n {\n \"url\": \"connect/confluence/includeDiagram.html\",\n \"revision\": \"532e7cfd62f4b4d9de3d86a38910ca45\"\n },\n {\n \"url\": \"connect/confluence/macro-editor.js\",\n \"revision\": \"03a8dcfc69612b44b6e75e6926a956fc\"\n },\n {\n \"url\": \"math/es5/startup.js\",\n \"revision\": \"dc7130cdc866593293dbb5dde11ceb40\"\n },\n {\n \"url\": \"math/es5/core.js\",\n \"revision\": \"f71bc0bfb7d2ac8261747f97a5d47dd4\"\n },\n {\n \"url\": \"math/es5/ui/safe.js\",\n \"revision\": \"8c1fcfee7c879588ad409edcdd9cce53\"\n },\n {\n \"url\": \"math/es5/output/svg.js\",\n \"revision\": \"4f55967d16197ebb01b86356d8ab179a\"\n },\n {\n \"url\": \"math/es5/input/tex.js\",\n \"revision\": \"5c4f470da2ccb1acf85041fcecd6fff6\"\n },\n {\n \"url\": \"math/es5/input/asciimath.js\",\n \"revision\": \"c2d4076dd8e26d509bfe3a378e71cfa7\"\n },\n {\n \"url\": \"math/es5/output/svg/fonts/tex.js\",\n \"revision\": \"6eab785a3788ea805bd2b552d1f0aab8\"\n },\n {\n \"url\": \"resources/dia.txt\",\n \"revision\": \"83f3cc0f709fc7a51ef28e70cdfe370b\"\n },\n {\n \"url\": \"resources/dia_am.txt\",\n \"revision\": \"0ef16596a780e7f44122301c3f9a79f1\"\n },\n {\n \"url\": \"resources/dia_ar.txt\",\n \"revision\": \"f2573f4208d89c6773c62457aa77735e\"\n },\n {\n \"url\": \"resources/dia_bg.txt\",\n \"revision\": \"4d24dbb36bf156a8cd707f88afca3299\"\n },\n {\n \"url\": \"resources/dia_bn.txt\",\n \"revision\": \"cf19debb37e984b289ffbcc9750b77c6\"\n },\n {\n \"url\": \"resources/dia_bs.txt\",\n \"revision\": \"a3c004a2613f0ce64756f12c23a3bddf\"\n },\n {\n \"url\": \"resources/dia_ca.txt\",\n \"revision\": \"ebe62641923b8443f2a6969167be6159\"\n },\n {\n \"url\": \"resources/dia_cs.txt\",\n \"revision\": \"6d85e308446931b804ab9302ed523c45\"\n },\n {\n \"url\": \"resources/dia_da.txt\",\n \"revision\": \"f6a71f581b517b21418f5ffd5ca89cfd\"\n },\n {\n \"url\": \"resources/dia_de.txt\",\n \"revision\": \"dea6cb237a28cd571d57711a2c88e043\"\n },\n {\n \"url\": \"resources/dia_el.txt\",\n \"revision\": \"d826708c6bc889b4082d4b72cc738563\"\n },\n {\n \"url\": \"resources/dia_eo.txt\",\n \"revision\": \"6ebc1e9344d0e05b3bc24d83ee20f465\"\n },\n {\n \"url\": \"resources/dia_es.txt\",\n \"revision\": \"36141f05248cbefd7b2bb36b9bca1e01\"\n },\n {\n \"url\": \"resources/dia_et.txt\",\n \"revision\": \"cf5d49b782fe269751e75d4006ad1ff3\"\n },\n {\n \"url\": \"resources/dia_eu.txt\",\n \"revision\": \"a36e071a25dbcea490b91325dfba8ca3\"\n },\n {\n \"url\": \"resources/dia_fa.txt\",\n \"revision\": \"2f9520a52c5dc28adf55d563e16e1874\"\n },\n {\n \"url\": \"resources/dia_fi.txt\",\n \"revision\": \"43bc8145db4e61e91aa579e1244d4e25\"\n },\n {\n \"url\": \"resources/dia_fil.txt\",\n \"revision\": \"4e4e5af5229d1b18db92036713081cf1\"\n },\n {\n \"url\": \"resources/dia_fr.txt\",\n \"revision\": \"d13a2905a02ec33efae185c5e414306e\"\n },\n {\n \"url\": \"resources/dia_gl.txt\",\n \"revision\": \"ec63892db1a77aeb3ce55a01f0fee749\"\n },\n {\n \"url\": \"resources/dia_gu.txt\",\n \"revision\": \"7f84ee54736803f56d1ff12938ef7670\"\n },\n {\n \"url\": \"resources/dia_he.txt\",\n \"revision\": \"3c008b24ba83a551ba588245813f7181\"\n },\n {\n \"url\": \"resources/dia_hi.txt\",\n \"revision\": \"2923d02132336ae84d1c81da86528626\"\n },\n {\n \"url\": \"resources/dia_hr.txt\",\n \"revision\": \"aff0e085dd17ac1b5f5aaa464735add5\"\n },\n {\n \"url\": \"resources/dia_hu.txt\",\n \"revision\": \"1b27a027fd9b643d26bcd564a91d34bb\"\n },\n {\n \"url\": \"resources/dia_id.txt\",\n \"revision\": \"752361386c8b0e27115f282033e2d0f4\"\n },\n {\n \"url\": \"resources/dia_it.txt\",\n \"revision\": \"40b89d64ba52ab565771384b00348d9c\"\n },\n {\n \"url\": \"resources/dia_ja.txt\",\n \"revision\": \"58e16c9cdcffdd41804a3ecd45b198a2\"\n },\n {\n \"url\": \"resources/dia_kn.txt\",\n \"revision\": \"1f457cb3448fb7e5d34aeb9b7a1e386b\"\n },\n {\n \"url\": \"resources/dia_ko.txt\",\n \"revision\": \"a35816db9b078f7844de6253485c2e4f\"\n },\n {\n \"url\": \"resources/dia_lt.txt\",\n \"revision\": \"c5536cc6a3b7a92c38545f58cc852f2b\"\n },\n {\n \"url\": \"resources/dia_lv.txt\",\n \"revision\": \"f3f88e2ecefa731546e46e1a61facd99\"\n },\n {\n \"url\": \"resources/dia_ml.txt\",\n \"revision\": \"996f5137a704971ffea0f6b0ae177db3\"\n },\n {\n \"url\": \"resources/dia_mr.txt\",\n \"revision\": \"9c2fb9092526b092fb3ddb350d95d208\"\n },\n {\n \"url\": \"resources/dia_ms.txt\",\n \"revision\": \"bf427c7783f19f9786bd30eb41b4ea73\"\n },\n {\n \"url\": \"resources/dia_my.txt\",\n \"revision\": \"5d93e9c25c4af1757f6a00b8ff90e588\"\n },\n {\n \"url\": \"resources/dia_nl.txt\",\n \"revision\": \"9d3d192cd5faaa4c614f1f1a0c99a2f5\"\n },\n {\n \"url\": \"resources/dia_no.txt\",\n \"revision\": \"8d7cfd063452207ce418b2e422d8496f\"\n },\n {\n \"url\": \"resources/dia_pl.txt\",\n \"revision\": \"825e629f58f0c62167868548c4d67bfc\"\n },\n {\n \"url\": \"resources/dia_pt-br.txt\",\n \"revision\": \"ca31e5f8b6df241980458f0b340f3ff5\"\n },\n {\n \"url\": \"resources/dia_pt.txt\",\n \"revision\": \"0bae2aebc0094cfe754d8cf101848758\"\n },\n {\n \"url\": \"resources/dia_ro.txt\",\n \"revision\": \"f10287ac29fd33ffd91eb497786ae6c2\"\n },\n {\n \"url\": \"resources/dia_ru.txt\",\n \"revision\": \"04db8fb420085c49af8dba4dbab6e1a8\"\n },\n {\n \"url\": \"resources/dia_si.txt\",\n \"revision\": \"63ce377bf66ac62ad96e403a4a7aa554\"\n },\n {\n \"url\": \"resources/dia_sk.txt\",\n \"revision\": \"d4a6caac86b6acfd2d3eb5837f660c80\"\n },\n {\n \"url\": \"resources/dia_sl.txt\",\n \"revision\": \"ccdb5017f70932f6f59a5f3709d9d62d\"\n },\n {\n \"url\": \"resources/dia_sr.txt\",\n \"revision\": \"950a449d58e63d9e5e66c979c84a6421\"\n },\n {\n \"url\": \"resources/dia_sv.txt\",\n \"revision\": \"201049ab5aa61ef60ff19da9fd90d21c\"\n },\n {\n \"url\": \"resources/dia_sw.txt\",\n \"revision\": \"605053216d3b5c0720155554ec9fbe7a\"\n },\n {\n \"url\": \"resources/dia_ta.txt\",\n \"revision\": \"ffcf2c25bc75c2645d1d57169859eb9e\"\n },\n {\n \"url\": \"resources/dia_te.txt\",\n \"revision\": \"372611a410e0fda6f6fff0dde8b9f65d\"\n },\n {\n \"url\": \"resources/dia_th.txt\",\n \"revision\": \"16bf4cbdb3c99648418ed86ad4d482c3\"\n },\n {\n \"url\": \"resources/dia_tr.txt\",\n \"revision\": \"62c62d65cd844d9d1c89ab85b1c5d769\"\n },\n {\n \"url\": \"resources/dia_uk.txt\",\n \"revision\": \"47d33fe951e2adf7e9dc48f8b76276b4\"\n },\n {\n \"url\": \"resources/dia_vi.txt\",\n \"revision\": \"f6f7cfb6c7f373efccbcffab2378da26\"\n },\n {\n \"url\": \"resources/dia_zh-tw.txt\",\n \"revision\": \"586570b78114821ca0e339643401381d\"\n },\n {\n \"url\": \"resources/dia_zh.txt\",\n \"revision\": \"97e73fa9d5b67ff8d8dba84f37d632c0\"\n },\n {\n \"url\": \"favicon.ico\",\n \"revision\": \"83014b0f32b6c7b15b66cf3c6d6d7c16\"\n },\n {\n \"url\": \"images/manifest.json\",\n \"revision\": \"38d3a7e4b63e8175f0aab6f03e000f07\"\n },\n {\n \"url\": \"images/logo.png\",\n \"revision\": \"e4e0d092abdb1e668b5ec41a7fe0713c\"\n },\n {\n \"url\": \"images/drawlogo.svg\",\n \"revision\": \"4bf4d14ebcf072d8bd4c5a1c89e88fc6\"\n },\n {\n \"url\": \"images/drawlogo48.png\",\n \"revision\": \"8b13428373aca67b895364d025f42417\"\n },\n {\n \"url\": \"images/drawlogo-gray.svg\",\n \"revision\": \"0aabacbc0873816e1e09e4736ae44c7d\"\n },\n {\n \"url\": \"images/drawlogo-text-bottom.svg\",\n \"revision\": \"f6c438823ab31f290940bd4feb8dd9c2\"\n },\n {\n \"url\": \"images/default-user.jpg\",\n \"revision\": \"2c399696a87c8921f12d2f9e1990cc6e\"\n },\n {\n \"url\": \"images/logo-flat-small.png\",\n \"revision\": \"4b178e59ff499d6dd1894fc498b59877\"\n },\n {\n \"url\": \"images/apple-touch-icon.png\",\n \"revision\": \"732c29e21332a926318a7005d21ec450\"\n },\n {\n \"url\": \"images/icon-192-maskable.png\",\n \"revision\": \"47e006d0ce4a35eb5beaa97f0c2bfed0\"\n },\n {\n \"url\": \"images/icon-192.png\",\n \"revision\": \"d022403d52435d76afec82c4e24a17ef\"\n },\n {\n \"url\": \"images/icon-512-maskable.png\",\n \"revision\": \"cf152feeb01fb21f3148a71a3540266e\"\n },\n {\n \"url\": \"images/icon-512.png\",\n \"revision\": \"a3a0df7e7a385244b74073f81ecc45de\"\n },\n {\n \"url\": \"images/delete.png\",\n \"revision\": \"5f2350f2fd20f1a229637aed32ed8f29\"\n },\n {\n \"url\": \"images/droptarget.png\",\n \"revision\": \"bbf7f563fb6784de1ce96f329519b043\"\n },\n {\n \"url\": \"images/help.png\",\n \"revision\": \"9266c6c3915bd33c243d80037d37bf61\"\n },\n {\n \"url\": \"images/download.png\",\n \"revision\": \"35418dd7bd48d87502c71b578cc6c37f\"\n },\n {\n \"url\": \"images/logo-flat.png\",\n \"revision\": \"038070ab43aee6e54a791211859fc67b\"\n },\n {\n \"url\": \"images/google-drive-logo.svg\",\n \"revision\": \"5d9f2f5bbc7dcc252730a0072bb23059\"\n },\n {\n \"url\": \"images/onedrive-logo.svg\",\n \"revision\": \"3645b344ec0634c1290dd58d7dc87b97\"\n },\n {\n \"url\": \"images/dropbox-logo.svg\",\n \"revision\": \"e6be408c77cf9c82d41ac64fa854280a\"\n },\n {\n \"url\": \"images/github-logo.svg\",\n \"revision\": \"a1a999b69a275eac0cb918360ac05ae1\"\n },\n {\n \"url\": \"images/gitlab-logo.svg\",\n \"revision\": \"0faea8c818899e58533e153c44b10517\"\n },\n {\n \"url\": \"images/trello-logo.svg\",\n \"revision\": \"006fd0d7d70d7e95dc691674cb12e044\"\n },\n {\n \"url\": \"images/osa_drive-harddisk.png\",\n \"revision\": \"b954e1ae772087c5b4c6ae797e1f9649\"\n },\n {\n \"url\": \"images/osa_database.png\",\n \"revision\": \"c350d9d9b95f37b6cfe798b40ede5fb0\"\n },\n {\n \"url\": \"images/google-drive-logo-white.svg\",\n \"revision\": \"f329d8b1be7778515a85b93fc35d9f26\"\n },\n {\n \"url\": \"images/dropbox-logo-white.svg\",\n \"revision\": \"4ea8299ac3bc31a16f199ee3aec223bf\"\n },\n {\n \"url\": \"images/onedrive-logo-white.svg\",\n \"revision\": \"b3602fa0fc947009cff3f33a581cff4d\"\n },\n {\n \"url\": \"images/github-logo-white.svg\",\n \"revision\": \"537b1127b3ca0f95b45782d1304fb77a\"\n },\n {\n \"url\": \"images/gitlab-logo-white.svg\",\n \"revision\": \"5fede9ac2f394c716b8c23e3fddc3910\"\n },\n {\n \"url\": \"images/trello-logo-white-orange.svg\",\n \"revision\": \"e2a0a52ba3766682f138138d10a75eb5\"\n },\n {\n \"url\": \"images/logo-confluence.png\",\n \"revision\": \"ed1e55d44ae5eba8f999aba2c93e8331\"\n },\n {\n \"url\": \"images/logo-jira.png\",\n \"revision\": \"f8d460555a0d1f87cfd901e940666629\"\n },\n {\n \"url\": \"images/clear.gif\",\n \"revision\": \"db13c778e4382e0b55258d0f811d5d70\"\n },\n {\n \"url\": \"images/spin.gif\",\n \"revision\": \"487cbb40b9ced439aa1ad914e816d773\"\n },\n {\n \"url\": \"images/checkmark.gif\",\n \"revision\": \"ba764ce62f2bf952df5bbc2bb4d381c5\"\n },\n {\n \"url\": \"images/hs.png\",\n \"revision\": \"fefa1a03d92ebad25c88dca94a0b63db\"\n },\n {\n \"url\": \"images/aui-wait.gif\",\n \"revision\": \"5a474bcbd8d2f2826f03d10ea44bf60e\"\n },\n {\n \"url\": \"mxgraph/css/common.css\",\n \"revision\": \"7985b4d1692766a7db52cbdd10893ad9\"\n },\n {\n \"url\": \"mxgraph/images/expanded.gif\",\n \"revision\": \"2b67c2c035af1e9a5cc814f0d22074cf\"\n },\n {\n \"url\": \"mxgraph/images/collapsed.gif\",\n \"revision\": \"73cc826da002a3d740ca4ce6ec5c1f4a\"\n },\n {\n \"url\": \"mxgraph/images/maximize.gif\",\n \"revision\": \"5cd13d6925493ab51e876694cc1c2ec2\"\n },\n {\n \"url\": \"mxgraph/images/minimize.gif\",\n \"revision\": \"8957741b9b0f86af9438775f2aadbb54\"\n },\n {\n \"url\": \"mxgraph/images/close.gif\",\n \"revision\": \"8b84669812ac7382984fca35de8da48b\"\n },\n {\n \"url\": \"mxgraph/images/resize.gif\",\n \"revision\": \"a6477612b3567a34033f9cac6184eed3\"\n },\n {\n \"url\": \"mxgraph/images/separator.gif\",\n \"revision\": \"7819742ff106c97da7a801c2372bbbe5\"\n },\n {\n \"url\": \"mxgraph/images/window.gif\",\n \"revision\": \"fd9a21dd4181f98052a202a0a01f18ab\"\n },\n {\n \"url\": \"mxgraph/images/window-title.gif\",\n \"revision\": \"3fb1d6c43246cdf991a11dfe826dfe99\"\n },\n {\n \"url\": \"mxgraph/images/button.gif\",\n \"revision\": \"00759bdc3ad218fa739f584369541809\"\n },\n {\n \"url\": \"mxgraph/images/point.gif\",\n \"revision\": \"83a43717b284902442620f61bc4e9fa6\"\n }\n], {\n \"ignoreURLParametersMatching\": [/.*/]\n});\n\n\n\n\n\n\n\n\n"],"names":["self","skipWaiting","workbox_precaching_precacheAndRoute","url","revision","ignoreURLParametersMatching"],"mappings":"szBAmBAA,KAAKC,cAULC,EAAAA,iBAAoC,CAClC,CACEC,IAAO,gBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,qBACPC,SAAY,oCAEd,CACED,IAAO,qBACPC,SAAY,oCAEd,CACED,IAAO,0BACPC,SAAY,oCAEd,CACED,IAAO,mBACPC,SAAY,oCAEd,CACED,IAAO,aACPC,SAAY,oCAEd,CACED,IAAO,YACPC,SAAY,oCAEd,CACED,IAAO,gBACPC,SAAY,oCAEd,CACED,IAAO,8CACPC,SAAY,oCAEd,CACED,IAAO,yBACPC,SAAY,oCAEd,CACED,IAAO,mBACPC,SAAY,oCAEd,CACED,IAAO,kBACPC,SAAY,oCAEd,CACED,IAAO,gCACPC,SAAY,oCAEd,CACED,IAAO,0BACPC,SAAY,oCAEd,CACED,IAAO,0BACPC,SAAY,oCAEd,CACED,IAAO,iCACPC,SAAY,oCAEd,CACED,IAAO,uCACPC,SAAY,oCAEd,CACED,IAAO,2CACPC,SAAY,oCAEd,CACED,IAAO,8BACPC,SAAY,oCAEd,CACED,IAAO,2BACPC,SAAY,oCAEd,CACED,IAAO,yBACPC,SAAY,oCAEd,CACED,IAAO,yCACPC,SAAY,oCAEd,CACED,IAAO,oCACPC,SAAY,oCAEd,CACED,IAAO,yBACPC,SAAY,oCAEd,CACED,IAAO,4BACPC,SAAY,oCAEd,CACED,IAAO,yBACPC,SAAY,oCAEd,CACED,IAAO,2CACPC,SAAY,oCAEd,CACED,IAAO,4BACPC,SAAY,oCAEd,CACED,IAAO,+BACPC,SAAY,oCAEd,CACED,IAAO,gCACPC,SAAY,oCAEd,CACED,IAAO,oCACPC,SAAY,oCAEd,CACED,IAAO,+BACPC,SAAY,oCAEd,CACED,IAAO,wCACPC,SAAY,oCAEd,CACED,IAAO,4CACPC,SAAY,oCAEd,CACED,IAAO,6CACPC,SAAY,oCAEd,CACED,IAAO,yCACPC,SAAY,oCAEd,CACED,IAAO,qCACPC,SAAY,oCAEd,CACED,IAAO,sBACPC,SAAY,oCAEd,CACED,IAAO,mBACPC,SAAY,oCAEd,CACED,IAAO,sBACPC,SAAY,oCAEd,CACED,IAAO,yBACPC,SAAY,oCAEd,CACED,IAAO,wBACPC,SAAY,oCAEd,CACED,IAAO,8BACPC,SAAY,oCAEd,CACED,IAAO,mCACPC,SAAY,oCAEd,CACED,IAAO,oBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,wBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,0BACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,0BACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,cACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,kBACPC,SAAY,oCAEd,CACED,IAAO,sBACPC,SAAY,oCAEd,CACED,IAAO,wBACPC,SAAY,oCAEd,CACED,IAAO,2BACPC,SAAY,oCAEd,CACED,IAAO,kCACPC,SAAY,oCAEd,CACED,IAAO,0BACPC,SAAY,oCAEd,CACED,IAAO,6BACPC,SAAY,oCAEd,CACED,IAAO,8BACPC,SAAY,oCAEd,CACED,IAAO,+BACPC,SAAY,oCAEd,CACED,IAAO,sBACPC,SAAY,oCAEd,CACED,IAAO,+BACPC,SAAY,oCAEd,CACED,IAAO,sBACPC,SAAY,oCAEd,CACED,IAAO,oBACPC,SAAY,oCAEd,CACED,IAAO,wBACPC,SAAY,oCAEd,CACED,IAAO,kBACPC,SAAY,oCAEd,CACED,IAAO,sBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,+BACPC,SAAY,oCAEd,CACED,IAAO,2BACPC,SAAY,oCAEd,CACED,IAAO,0BACPC,SAAY,oCAEd,CACED,IAAO,yBACPC,SAAY,oCAEd,CACED,IAAO,yBACPC,SAAY,oCAEd,CACED,IAAO,yBACPC,SAAY,oCAEd,CACED,IAAO,gCACPC,SAAY,oCAEd,CACED,IAAO,0BACPC,SAAY,oCAEd,CACED,IAAO,qCACPC,SAAY,oCAEd,CACED,IAAO,gCACPC,SAAY,oCAEd,CACED,IAAO,iCACPC,SAAY,oCAEd,CACED,IAAO,+BACPC,SAAY,oCAEd,CACED,IAAO,+BACPC,SAAY,oCAEd,CACED,IAAO,sCACPC,SAAY,oCAEd,CACED,IAAO,6BACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,mBACPC,SAAY,oCAEd,CACED,IAAO,kBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,gBACPC,SAAY,oCAEd,CACED,IAAO,sBACPC,SAAY,oCAEd,CACED,IAAO,yBACPC,SAAY,oCAEd,CACED,IAAO,8BACPC,SAAY,oCAEd,CACED,IAAO,+BACPC,SAAY,oCAEd,CACED,IAAO,8BACPC,SAAY,oCAEd,CACED,IAAO,8BACPC,SAAY,oCAEd,CACED,IAAO,2BACPC,SAAY,oCAEd,CACED,IAAO,4BACPC,SAAY,oCAEd,CACED,IAAO,+BACPC,SAAY,oCAEd,CACED,IAAO,4BACPC,SAAY,oCAEd,CACED,IAAO,kCACPC,SAAY,oCAEd,CACED,IAAO,4BACPC,SAAY,oCAEd,CACED,IAAO,2BACPC,SAAY,qCAEb,CACDC,4BAA+B,CAAC"}
\ No newline at end of file
+{"version":3,"file":"service-worker.js","sources":["../../../../../../private/var/folders/5p/vxfp3wpj4slfjt2m12dxyp9c0000gn/T/0b1aa67ca5d2da9f80654af5b4c212f3/service-worker.js"],"sourcesContent":["import {precacheAndRoute as workbox_precaching_precacheAndRoute} from '/opt/homebrew/lib/node_modules/workbox-cli/node_modules/workbox-precaching/precacheAndRoute.mjs';/**\n * Welcome to your Workbox-powered service worker!\n *\n * You'll need to register this file in your web app.\n * See https://goo.gl/nhQhGp\n *\n * The rest of the code is auto-generated. Please don't update this file\n * directly; instead, make changes to your Workbox build configuration\n * and re-run your build process.\n * See https://goo.gl/2aRDsh\n */\n\n\n\n\n\n\n\n\nself.skipWaiting();\n\n\n\n\n/**\n * The precacheAndRoute() method efficiently caches and responds to\n * requests for URLs in the manifest.\n * See https://goo.gl/S9QRab\n */\nworkbox_precaching_precacheAndRoute([\n {\n \"url\": \"js/app.min.js\",\n \"revision\": \"2cfef335ed6d3649c05f6a8a70bc3ec4\"\n },\n {\n \"url\": \"js/extensions.min.js\",\n \"revision\": \"9ea2abc3d306fd7007a61a4812f8e676\"\n },\n {\n \"url\": \"js/orgchart.min.js\",\n \"revision\": \"619d8c4dab47b81868916df31f55478b\"\n },\n {\n \"url\": \"js/stencils.min.js\",\n \"revision\": \"f760278d924467fb1d2289448c73fe27\"\n },\n {\n \"url\": \"js/shapes-14-6-5.min.js\",\n \"revision\": \"317413c8e37c127ada9a5c84ffd3463d\"\n },\n {\n \"url\": \"js/math-print.js\",\n \"revision\": \"cf64f6a493a8cb5079f2b70813e478d7\"\n },\n {\n \"url\": \"index.html\",\n \"revision\": \"7c03d89e4ef93f3ad72024066acb7dab\"\n },\n {\n \"url\": \"open.html\",\n \"revision\": \"d71816b3b00e769fc6019fcdd6921662\"\n },\n {\n \"url\": \"shortcuts.svg\",\n \"revision\": \"2381dd779ce6cfee954042a7f784c7e6\"\n },\n {\n \"url\": \"styles/fonts/ArchitectsDaughter-Regular.ttf\",\n \"revision\": \"31c2153c0530e32553b31a49b3d70736\"\n },\n {\n \"url\": \"styles/grapheditor.css\",\n \"revision\": \"eb372ca44df4bfd349518c83e46d3d44\"\n },\n {\n \"url\": \"styles/atlas.css\",\n \"revision\": \"0a6cc8a503b96f634e40309aadf6b803\"\n },\n {\n \"url\": \"styles/dark.css\",\n \"revision\": \"99dc5495d36d5ebaddababefde083c8c\"\n },\n {\n \"url\": \"js/dropbox/Dropbox-sdk.min.js\",\n \"revision\": \"4b9842892aa37b156db0a8364b7a83b0\"\n },\n {\n \"url\": \"js/onedrive/OneDrive.js\",\n \"revision\": \"505e8280346666f7ee801bc59521fa67\"\n },\n {\n \"url\": \"js/viewer-static.min.js\",\n \"revision\": \"b70aba36847e3f835a50e45cd4f7858b\"\n },\n {\n \"url\": \"connect/jira/editor-1-3-3.html\",\n \"revision\": \"41dc8af9576b47f359cff19fff7a41c2\"\n },\n {\n \"url\": \"connect/jira/viewerPanel-1-3-12.html\",\n \"revision\": \"cabb87beb09767120fc706653b2aabf6\"\n },\n {\n \"url\": \"connect/jira/fullScreenViewer-1-3-3.html\",\n \"revision\": \"abed474e47c0c41a5ad2366b4828f77a\"\n },\n {\n \"url\": \"connect/jira/viewerPanel.js\",\n \"revision\": \"3def6121aa291841a38320ebffc51457\"\n },\n {\n \"url\": \"connect/jira/spinner.gif\",\n \"revision\": \"7d857ab9d86123e93d74d48e958fe743\"\n },\n {\n \"url\": \"connect/jira/editor.js\",\n \"revision\": \"c41221a9a51ff293f05ed13c7b142e5c\"\n },\n {\n \"url\": \"connect/jira/fullscreen-viewer-init.js\",\n \"revision\": \"d3269625ce04b7a277b779ff175957d0\"\n },\n {\n \"url\": \"connect/jira/fullscreen-viewer.js\",\n \"revision\": \"8eceb2fe587296dd11f9c8f6eae34c20\"\n },\n {\n \"url\": \"plugins/connectJira.js\",\n \"revision\": \"a623cbaff61a608c1ce79e3867075235\"\n },\n {\n \"url\": \"plugins/cConf-comments.js\",\n \"revision\": \"8af574bd1ae86be37b83b094a5011a4f\"\n },\n {\n \"url\": \"plugins/cConf-1-4-8.js\",\n \"revision\": \"d144c0fd8a181075878b67d1e83cb081\"\n },\n {\n \"url\": \"connect/confluence/connectUtils-1-4-8.js\",\n \"revision\": \"9b52f0da25a33f10ebef4483cf992dd5\"\n },\n {\n \"url\": \"connect/new_common/cac.js\",\n \"revision\": \"740dce44cf53499f476ee8edc37d09a0\"\n },\n {\n \"url\": \"connect/gdrive_common/gac.js\",\n \"revision\": \"3bb38a5d9186a896ed04808e921ef888\"\n },\n {\n \"url\": \"connect/onedrive_common/ac.js\",\n \"revision\": \"5fb6ff1a73f54a9086b7a7e1f613b8ed\"\n },\n {\n \"url\": \"connect/confluence/viewer-init.js\",\n \"revision\": \"b82e366bf57ecced9435c2a8ba9cb9b9\"\n },\n {\n \"url\": \"connect/confluence/viewer.js\",\n \"revision\": \"31f1ddc6c37993cf429b9024c82e230c\"\n },\n {\n \"url\": \"connect/confluence/viewer-1-4-42.html\",\n \"revision\": \"69c1bca25fd4889bf832e8441c972268\"\n },\n {\n \"url\": \"connect/confluence/macroEditor-1-4-8.html\",\n \"revision\": \"4ad77ae3f08c19eddac932b2fa8c7068\"\n },\n {\n \"url\": \"connect/confluence/includeDiagram-1-4-8.js\",\n \"revision\": \"a71935d0acd4b0a6ee70795b0f298699\"\n },\n {\n \"url\": \"connect/confluence/includeDiagram.html\",\n \"revision\": \"9613fec05b19ddef081ca6e9d8b057bf\"\n },\n {\n \"url\": \"connect/confluence/macro-editor.js\",\n \"revision\": \"03a8dcfc69612b44b6e75e6926a956fc\"\n },\n {\n \"url\": \"math/es5/startup.js\",\n \"revision\": \"dc7130cdc866593293dbb5dde11ceb40\"\n },\n {\n \"url\": \"math/es5/core.js\",\n \"revision\": \"f71bc0bfb7d2ac8261747f97a5d47dd4\"\n },\n {\n \"url\": \"math/es5/ui/safe.js\",\n \"revision\": \"8c1fcfee7c879588ad409edcdd9cce53\"\n },\n {\n \"url\": \"math/es5/output/svg.js\",\n \"revision\": \"4f55967d16197ebb01b86356d8ab179a\"\n },\n {\n \"url\": \"math/es5/input/tex.js\",\n \"revision\": \"5c4f470da2ccb1acf85041fcecd6fff6\"\n },\n {\n \"url\": \"math/es5/input/asciimath.js\",\n \"revision\": \"c2d4076dd8e26d509bfe3a378e71cfa7\"\n },\n {\n \"url\": \"math/es5/output/svg/fonts/tex.js\",\n \"revision\": \"6eab785a3788ea805bd2b552d1f0aab8\"\n },\n {\n \"url\": \"resources/dia.txt\",\n \"revision\": \"73927d303703a329ff06d681553e993d\"\n },\n {\n \"url\": \"resources/dia_am.txt\",\n \"revision\": \"8d60c82458b57bb9ccc7b0c4f6ed3f79\"\n },\n {\n \"url\": \"resources/dia_ar.txt\",\n \"revision\": \"e278657437cf14eeedbb3b641d3ba8c0\"\n },\n {\n \"url\": \"resources/dia_bg.txt\",\n \"revision\": \"61c2ef14ee768be21fcb22b1928f7cac\"\n },\n {\n \"url\": \"resources/dia_bn.txt\",\n \"revision\": \"45e3683c1150ad2e139f42fedaf9e7aa\"\n },\n {\n \"url\": \"resources/dia_bs.txt\",\n \"revision\": \"ed33364ad4282d0e29775ca2e2f351e0\"\n },\n {\n \"url\": \"resources/dia_ca.txt\",\n \"revision\": \"c7738eb1369c5d1fc58f8b6ce1dd77dc\"\n },\n {\n \"url\": \"resources/dia_cs.txt\",\n \"revision\": \"ba2fd4196222285218549625600a530f\"\n },\n {\n \"url\": \"resources/dia_da.txt\",\n \"revision\": \"b3eb739977ead9876a8afe0103ad7e36\"\n },\n {\n \"url\": \"resources/dia_de.txt\",\n \"revision\": \"95357e2d517ad36e2db9ed683914f9b3\"\n },\n {\n \"url\": \"resources/dia_el.txt\",\n \"revision\": \"faa7d843ef32aba9b9f11e367ca362d5\"\n },\n {\n \"url\": \"resources/dia_eo.txt\",\n \"revision\": \"619ff072153d5897b7184ee0fe925f18\"\n },\n {\n \"url\": \"resources/dia_es.txt\",\n \"revision\": \"1feb3c63ee76afc71ebec607c8a9347a\"\n },\n {\n \"url\": \"resources/dia_et.txt\",\n \"revision\": \"67482775f1ff0d1b2cb31f6226c519d3\"\n },\n {\n \"url\": \"resources/dia_eu.txt\",\n \"revision\": \"a7dce4832af9f1d0b4e5f5bf189ef328\"\n },\n {\n \"url\": \"resources/dia_fa.txt\",\n \"revision\": \"743a891d016470e8e0a3651be32fb3c5\"\n },\n {\n \"url\": \"resources/dia_fi.txt\",\n \"revision\": \"ff5f6fc52b3670969dc6b0e29ea04142\"\n },\n {\n \"url\": \"resources/dia_fil.txt\",\n \"revision\": \"637b4984bb64580b4ef61e28ef7ca664\"\n },\n {\n \"url\": \"resources/dia_fr.txt\",\n \"revision\": \"fe1a22a639cfea2d8700ffff8cca375a\"\n },\n {\n \"url\": \"resources/dia_gl.txt\",\n \"revision\": \"a89e3f7e7cb3b6867d3e74eb949894dd\"\n },\n {\n \"url\": \"resources/dia_gu.txt\",\n \"revision\": \"769be61a373049c5d3b358201f1acb65\"\n },\n {\n \"url\": \"resources/dia_he.txt\",\n \"revision\": \"238e53f20884ef57b1a9c06bd800b9ef\"\n },\n {\n \"url\": \"resources/dia_hi.txt\",\n \"revision\": \"755e1872b614c9a5b27c5459062c8320\"\n },\n {\n \"url\": \"resources/dia_hr.txt\",\n \"revision\": \"adf6788e96b0e3f0029cbae30a4faefb\"\n },\n {\n \"url\": \"resources/dia_hu.txt\",\n \"revision\": \"c645a78fdda2843acd6aa9d9bf60a6e8\"\n },\n {\n \"url\": \"resources/dia_id.txt\",\n \"revision\": \"79811cc3aae6a3da83b2bd2b3b2386e9\"\n },\n {\n \"url\": \"resources/dia_it.txt\",\n \"revision\": \"57b0f8eb2319f99f96b79507966f4e6f\"\n },\n {\n \"url\": \"resources/dia_ja.txt\",\n \"revision\": \"b4b10c93e53b13dbd3e407532813b9e0\"\n },\n {\n \"url\": \"resources/dia_kn.txt\",\n \"revision\": \"7cbbba0381a1a6cdeade3bc28ac01962\"\n },\n {\n \"url\": \"resources/dia_ko.txt\",\n \"revision\": \"943b020ff0430e9f81fe3e1875423b7d\"\n },\n {\n \"url\": \"resources/dia_lt.txt\",\n \"revision\": \"94aff34cd118d39d79abacf2a16aea7d\"\n },\n {\n \"url\": \"resources/dia_lv.txt\",\n \"revision\": \"325ed2d9ffa2ddc493d9ed10d46007ad\"\n },\n {\n \"url\": \"resources/dia_ml.txt\",\n \"revision\": \"fc666763d3fbff227411defda23b1942\"\n },\n {\n \"url\": \"resources/dia_mr.txt\",\n \"revision\": \"e8746ae5b0123155bdd837ae7f01b5f5\"\n },\n {\n \"url\": \"resources/dia_ms.txt\",\n \"revision\": \"e1600b30e6517d4dc4a7002ce675c641\"\n },\n {\n \"url\": \"resources/dia_my.txt\",\n \"revision\": \"4acfe58eb8f47895f188af8bfd33659c\"\n },\n {\n \"url\": \"resources/dia_nl.txt\",\n \"revision\": \"080b0279f277325e2e00991482187a1d\"\n },\n {\n \"url\": \"resources/dia_no.txt\",\n \"revision\": \"6f0812d787ab931475343320d2547158\"\n },\n {\n \"url\": \"resources/dia_pl.txt\",\n \"revision\": \"3c7d08a5fefc693e6b6b4521a3c0a6cc\"\n },\n {\n \"url\": \"resources/dia_pt-br.txt\",\n \"revision\": \"5d7431a638a268dfedd3bc7f463e17d6\"\n },\n {\n \"url\": \"resources/dia_pt.txt\",\n \"revision\": \"981210fd60e7fd0831fcd6d26ca26f74\"\n },\n {\n \"url\": \"resources/dia_ro.txt\",\n \"revision\": \"1d77510ecd2b1b1c26640dfe77e00f48\"\n },\n {\n \"url\": \"resources/dia_ru.txt\",\n \"revision\": \"4c2d2f96df120afc4c3b3c58d0bc6ebc\"\n },\n {\n \"url\": \"resources/dia_si.txt\",\n \"revision\": \"2db82ba649f3ab7d578a73b247b06c4f\"\n },\n {\n \"url\": \"resources/dia_sk.txt\",\n \"revision\": \"4b9033183a2c90ccf0f75136fd7b14b0\"\n },\n {\n \"url\": \"resources/dia_sl.txt\",\n \"revision\": \"c27148e1c9480a35642162595480ff1f\"\n },\n {\n \"url\": \"resources/dia_sr.txt\",\n \"revision\": \"ef3562ada2e69e5d33609d58a677b6db\"\n },\n {\n \"url\": \"resources/dia_sv.txt\",\n \"revision\": \"7357682c42f6d47729b6b1784aaa5e9b\"\n },\n {\n \"url\": \"resources/dia_sw.txt\",\n \"revision\": \"377dd914bd645c2348e342bf55306439\"\n },\n {\n \"url\": \"resources/dia_ta.txt\",\n \"revision\": \"00ce65e244e159a2dcb93b9829a2e603\"\n },\n {\n \"url\": \"resources/dia_te.txt\",\n \"revision\": \"8aaca1c42eb1c027a77138f0fccc85c7\"\n },\n {\n \"url\": \"resources/dia_th.txt\",\n \"revision\": \"c2be3eae6995b41ba466651629c69143\"\n },\n {\n \"url\": \"resources/dia_tr.txt\",\n \"revision\": \"9571764eb899cc108c6fb2631d694ca3\"\n },\n {\n \"url\": \"resources/dia_uk.txt\",\n \"revision\": \"76e4f285ac8c648d3b3fbc6ab59aad17\"\n },\n {\n \"url\": \"resources/dia_vi.txt\",\n \"revision\": \"ced105b1a1ea57902c88fdd36ab041c0\"\n },\n {\n \"url\": \"resources/dia_zh-tw.txt\",\n \"revision\": \"ce0a47eca469dbb93e8c4f26aba7ea73\"\n },\n {\n \"url\": \"resources/dia_zh.txt\",\n \"revision\": \"a69a22b12a4ced3f62285b2521355755\"\n },\n {\n \"url\": \"favicon.ico\",\n \"revision\": \"83014b0f32b6c7b15b66cf3c6d6d7c16\"\n },\n {\n \"url\": \"images/manifest.json\",\n \"revision\": \"38d3a7e4b63e8175f0aab6f03e000f07\"\n },\n {\n \"url\": \"images/logo.png\",\n \"revision\": \"e4e0d092abdb1e668b5ec41a7fe0713c\"\n },\n {\n \"url\": \"images/drawlogo.svg\",\n \"revision\": \"4bf4d14ebcf072d8bd4c5a1c89e88fc6\"\n },\n {\n \"url\": \"images/drawlogo48.png\",\n \"revision\": \"8b13428373aca67b895364d025f42417\"\n },\n {\n \"url\": \"images/drawlogo-gray.svg\",\n \"revision\": \"0aabacbc0873816e1e09e4736ae44c7d\"\n },\n {\n \"url\": \"images/drawlogo-text-bottom.svg\",\n \"revision\": \"f6c438823ab31f290940bd4feb8dd9c2\"\n },\n {\n \"url\": \"images/default-user.jpg\",\n \"revision\": \"2c399696a87c8921f12d2f9e1990cc6e\"\n },\n {\n \"url\": \"images/logo-flat-small.png\",\n \"revision\": \"4b178e59ff499d6dd1894fc498b59877\"\n },\n {\n \"url\": \"images/apple-touch-icon.png\",\n \"revision\": \"732c29e21332a926318a7005d21ec450\"\n },\n {\n \"url\": \"images/icon-192-maskable.png\",\n \"revision\": \"47e006d0ce4a35eb5beaa97f0c2bfed0\"\n },\n {\n \"url\": \"images/icon-192.png\",\n \"revision\": \"d022403d52435d76afec82c4e24a17ef\"\n },\n {\n \"url\": \"images/icon-512-maskable.png\",\n \"revision\": \"cf152feeb01fb21f3148a71a3540266e\"\n },\n {\n \"url\": \"images/icon-512.png\",\n \"revision\": \"a3a0df7e7a385244b74073f81ecc45de\"\n },\n {\n \"url\": \"images/delete.png\",\n \"revision\": \"5f2350f2fd20f1a229637aed32ed8f29\"\n },\n {\n \"url\": \"images/droptarget.png\",\n \"revision\": \"bbf7f563fb6784de1ce96f329519b043\"\n },\n {\n \"url\": \"images/help.png\",\n \"revision\": \"9266c6c3915bd33c243d80037d37bf61\"\n },\n {\n \"url\": \"images/download.png\",\n \"revision\": \"35418dd7bd48d87502c71b578cc6c37f\"\n },\n {\n \"url\": \"images/logo-flat.png\",\n \"revision\": \"038070ab43aee6e54a791211859fc67b\"\n },\n {\n \"url\": \"images/google-drive-logo.svg\",\n \"revision\": \"5d9f2f5bbc7dcc252730a0072bb23059\"\n },\n {\n \"url\": \"images/onedrive-logo.svg\",\n \"revision\": \"3645b344ec0634c1290dd58d7dc87b97\"\n },\n {\n \"url\": \"images/dropbox-logo.svg\",\n \"revision\": \"e6be408c77cf9c82d41ac64fa854280a\"\n },\n {\n \"url\": \"images/github-logo.svg\",\n \"revision\": \"a1a999b69a275eac0cb918360ac05ae1\"\n },\n {\n \"url\": \"images/gitlab-logo.svg\",\n \"revision\": \"0faea8c818899e58533e153c44b10517\"\n },\n {\n \"url\": \"images/trello-logo.svg\",\n \"revision\": \"006fd0d7d70d7e95dc691674cb12e044\"\n },\n {\n \"url\": \"images/osa_drive-harddisk.png\",\n \"revision\": \"b954e1ae772087c5b4c6ae797e1f9649\"\n },\n {\n \"url\": \"images/osa_database.png\",\n \"revision\": \"c350d9d9b95f37b6cfe798b40ede5fb0\"\n },\n {\n \"url\": \"images/google-drive-logo-white.svg\",\n \"revision\": \"f329d8b1be7778515a85b93fc35d9f26\"\n },\n {\n \"url\": \"images/dropbox-logo-white.svg\",\n \"revision\": \"4ea8299ac3bc31a16f199ee3aec223bf\"\n },\n {\n \"url\": \"images/onedrive-logo-white.svg\",\n \"revision\": \"b3602fa0fc947009cff3f33a581cff4d\"\n },\n {\n \"url\": \"images/github-logo-white.svg\",\n \"revision\": \"537b1127b3ca0f95b45782d1304fb77a\"\n },\n {\n \"url\": \"images/gitlab-logo-white.svg\",\n \"revision\": \"5fede9ac2f394c716b8c23e3fddc3910\"\n },\n {\n \"url\": \"images/trello-logo-white-orange.svg\",\n \"revision\": \"e2a0a52ba3766682f138138d10a75eb5\"\n },\n {\n \"url\": \"images/logo-confluence.png\",\n \"revision\": \"ed1e55d44ae5eba8f999aba2c93e8331\"\n },\n {\n \"url\": \"images/logo-jira.png\",\n \"revision\": \"f8d460555a0d1f87cfd901e940666629\"\n },\n {\n \"url\": \"images/clear.gif\",\n \"revision\": \"db13c778e4382e0b55258d0f811d5d70\"\n },\n {\n \"url\": \"images/spin.gif\",\n \"revision\": \"487cbb40b9ced439aa1ad914e816d773\"\n },\n {\n \"url\": \"images/checkmark.gif\",\n \"revision\": \"ba764ce62f2bf952df5bbc2bb4d381c5\"\n },\n {\n \"url\": \"images/hs.png\",\n \"revision\": \"fefa1a03d92ebad25c88dca94a0b63db\"\n },\n {\n \"url\": \"images/aui-wait.gif\",\n \"revision\": \"5a474bcbd8d2f2826f03d10ea44bf60e\"\n },\n {\n \"url\": \"mxgraph/css/common.css\",\n \"revision\": \"7985b4d1692766a7db52cbdd10893ad9\"\n },\n {\n \"url\": \"mxgraph/images/expanded.gif\",\n \"revision\": \"2b67c2c035af1e9a5cc814f0d22074cf\"\n },\n {\n \"url\": \"mxgraph/images/collapsed.gif\",\n \"revision\": \"73cc826da002a3d740ca4ce6ec5c1f4a\"\n },\n {\n \"url\": \"mxgraph/images/maximize.gif\",\n \"revision\": \"5cd13d6925493ab51e876694cc1c2ec2\"\n },\n {\n \"url\": \"mxgraph/images/minimize.gif\",\n \"revision\": \"8957741b9b0f86af9438775f2aadbb54\"\n },\n {\n \"url\": \"mxgraph/images/close.gif\",\n \"revision\": \"8b84669812ac7382984fca35de8da48b\"\n },\n {\n \"url\": \"mxgraph/images/resize.gif\",\n \"revision\": \"a6477612b3567a34033f9cac6184eed3\"\n },\n {\n \"url\": \"mxgraph/images/separator.gif\",\n \"revision\": \"7819742ff106c97da7a801c2372bbbe5\"\n },\n {\n \"url\": \"mxgraph/images/window.gif\",\n \"revision\": \"fd9a21dd4181f98052a202a0a01f18ab\"\n },\n {\n \"url\": \"mxgraph/images/window-title.gif\",\n \"revision\": \"3fb1d6c43246cdf991a11dfe826dfe99\"\n },\n {\n \"url\": \"mxgraph/images/button.gif\",\n \"revision\": \"00759bdc3ad218fa739f584369541809\"\n },\n {\n \"url\": \"mxgraph/images/point.gif\",\n \"revision\": \"83a43717b284902442620f61bc4e9fa6\"\n }\n], {\n \"ignoreURLParametersMatching\": [/.*/]\n});\n\n\n\n\n\n\n\n\n"],"names":["self","skipWaiting","workbox_precaching_precacheAndRoute","url","revision","ignoreURLParametersMatching"],"mappings":"0nBAmBAA,KAAKC,cAULC,EAAAA,iBAAoC,CAClC,CACEC,IAAO,gBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,qBACKC,SAAA,oCAEd,CACED,IAAO,qBACKC,SAAA,oCAEd,CACED,IAAO,0BACKC,SAAA,oCAEd,CACED,IAAO,mBACKC,SAAA,oCAEd,CACED,IAAO,aACKC,SAAA,oCAEd,CACED,IAAO,YACKC,SAAA,oCAEd,CACED,IAAO,gBACKC,SAAA,oCAEd,CACED,IAAO,8CACKC,SAAA,oCAEd,CACED,IAAO,yBACKC,SAAA,oCAEd,CACED,IAAO,mBACKC,SAAA,oCAEd,CACED,IAAO,kBACKC,SAAA,oCAEd,CACED,IAAO,gCACKC,SAAA,oCAEd,CACED,IAAO,0BACKC,SAAA,oCAEd,CACED,IAAO,0BACKC,SAAA,oCAEd,CACED,IAAO,iCACKC,SAAA,oCAEd,CACED,IAAO,uCACKC,SAAA,oCAEd,CACED,IAAO,2CACKC,SAAA,oCAEd,CACED,IAAO,8BACKC,SAAA,oCAEd,CACED,IAAO,2BACKC,SAAA,oCAEd,CACED,IAAO,yBACKC,SAAA,oCAEd,CACED,IAAO,yCACKC,SAAA,oCAEd,CACED,IAAO,oCACKC,SAAA,oCAEd,CACED,IAAO,yBACKC,SAAA,oCAEd,CACED,IAAO,4BACKC,SAAA,oCAEd,CACED,IAAO,yBACKC,SAAA,oCAEd,CACED,IAAO,2CACKC,SAAA,oCAEd,CACED,IAAO,4BACKC,SAAA,oCAEd,CACED,IAAO,+BACKC,SAAA,oCAEd,CACED,IAAO,gCACKC,SAAA,oCAEd,CACED,IAAO,oCACKC,SAAA,oCAEd,CACED,IAAO,+BACKC,SAAA,oCAEd,CACED,IAAO,wCACKC,SAAA,oCAEd,CACED,IAAO,4CACKC,SAAA,oCAEd,CACED,IAAO,6CACKC,SAAA,oCAEd,CACED,IAAO,yCACKC,SAAA,oCAEd,CACED,IAAO,qCACKC,SAAA,oCAEd,CACED,IAAO,sBACKC,SAAA,oCAEd,CACED,IAAO,mBACKC,SAAA,oCAEd,CACED,IAAO,sBACKC,SAAA,oCAEd,CACED,IAAO,yBACKC,SAAA,oCAEd,CACED,IAAO,wBACKC,SAAA,oCAEd,CACED,IAAO,8BACKC,SAAA,oCAEd,CACED,IAAO,mCACKC,SAAA,oCAEd,CACED,IAAO,oBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,wBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,0BACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,0BACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,cACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,kBACKC,SAAA,oCAEd,CACED,IAAO,sBACKC,SAAA,oCAEd,CACED,IAAO,wBACKC,SAAA,oCAEd,CACED,IAAO,2BACKC,SAAA,oCAEd,CACED,IAAO,kCACKC,SAAA,oCAEd,CACED,IAAO,0BACKC,SAAA,oCAEd,CACED,IAAO,6BACKC,SAAA,oCAEd,CACED,IAAO,8BACKC,SAAA,oCAEd,CACED,IAAO,+BACKC,SAAA,oCAEd,CACED,IAAO,sBACKC,SAAA,oCAEd,CACED,IAAO,+BACKC,SAAA,oCAEd,CACED,IAAO,sBACKC,SAAA,oCAEd,CACED,IAAO,oBACKC,SAAA,oCAEd,CACED,IAAO,wBACKC,SAAA,oCAEd,CACED,IAAO,kBACKC,SAAA,oCAEd,CACED,IAAO,sBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,+BACKC,SAAA,oCAEd,CACED,IAAO,2BACKC,SAAA,oCAEd,CACED,IAAO,0BACKC,SAAA,oCAEd,CACED,IAAO,yBACKC,SAAA,oCAEd,CACED,IAAO,yBACKC,SAAA,oCAEd,CACED,IAAO,yBACKC,SAAA,oCAEd,CACED,IAAO,gCACKC,SAAA,oCAEd,CACED,IAAO,0BACKC,SAAA,oCAEd,CACED,IAAO,qCACKC,SAAA,oCAEd,CACED,IAAO,gCACKC,SAAA,oCAEd,CACED,IAAO,iCACKC,SAAA,oCAEd,CACED,IAAO,+BACKC,SAAA,oCAEd,CACED,IAAO,+BACKC,SAAA,oCAEd,CACED,IAAO,sCACKC,SAAA,oCAEd,CACED,IAAO,6BACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,mBACKC,SAAA,oCAEd,CACED,IAAO,kBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,gBACKC,SAAA,oCAEd,CACED,IAAO,sBACKC,SAAA,oCAEd,CACED,IAAO,yBACKC,SAAA,oCAEd,CACED,IAAO,8BACKC,SAAA,oCAEd,CACED,IAAO,+BACKC,SAAA,oCAEd,CACED,IAAO,8BACKC,SAAA,oCAEd,CACED,IAAO,8BACKC,SAAA,oCAEd,CACED,IAAO,2BACKC,SAAA,oCAEd,CACED,IAAO,4BACKC,SAAA,oCAEd,CACED,IAAO,+BACKC,SAAA,oCAEd,CACED,IAAO,4BACKC,SAAA,oCAEd,CACED,IAAO,kCACKC,SAAA,oCAEd,CACED,IAAO,4BACKC,SAAA,oCAEd,CACED,IAAO,2BACKC,SAAA,qCAEb,CACDC,4BAA+B,CAAC"}
\ No newline at end of file
diff --git a/src/main/webapp/workbox-72a83b64.js b/src/main/webapp/workbox-72a83b64.js
new file mode 100644
index 000000000..041626f23
--- /dev/null
+++ b/src/main/webapp/workbox-72a83b64.js
@@ -0,0 +1,2 @@
+define(["exports"],(function(t){"use strict";try{self["workbox:core:6.5.1"]&&_()}catch(t){}const e=(t,...e)=>{let s=t;return e.length>0&&(s+=` :: ${JSON.stringify(e)}`),s};class s extends Error{constructor(t,s){super(e(t,s)),this.name=t,this.details=s}}try{self["workbox:routing:6.5.1"]&&_()}catch(t){}const n=t=>t&&"object"==typeof t?t:{handle:t};class i{constructor(t,e,s="GET"){this.handler=n(e),this.match=t,this.method=s}setCatchHandler(t){this.catchHandler=n(t)}}class r extends i{constructor(t,e,s){super((({url:e})=>{const s=t.exec(e.href);if(s&&(e.origin===location.origin||0===s.index))return s.slice(1)}),e,s)}}class o{constructor(){this.t=new Map,this.i=new Map}get routes(){return this.t}addFetchListener(){self.addEventListener("fetch",(t=>{const{request:e}=t,s=this.handleRequest({request:e,event:t});s&&t.respondWith(s)}))}addCacheListener(){self.addEventListener("message",(t=>{if(t.data&&"CACHE_URLS"===t.data.type){const{payload:e}=t.data,s=Promise.all(e.urlsToCache.map((e=>{"string"==typeof e&&(e=[e]);const s=new Request(...e);return this.handleRequest({request:s,event:t})})));t.waitUntil(s),t.ports&&t.ports[0]&&s.then((()=>t.ports[0].postMessage(!0)))}}))}handleRequest({request:t,event:e}){const s=new URL(t.url,location.href);if(!s.protocol.startsWith("http"))return;const n=s.origin===location.origin,{params:i,route:r}=this.findMatchingRoute({event:e,request:t,sameOrigin:n,url:s});let o=r&&r.handler;const a=t.method;if(!o&&this.i.has(a)&&(o=this.i.get(a)),!o)return;let c;try{c=o.handle({url:s,request:t,event:e,params:i})}catch(t){c=Promise.reject(t)}const h=r&&r.catchHandler;return c instanceof Promise&&(this.o||h)&&(c=c.catch((async n=>{if(h)try{return await h.handle({url:s,request:t,event:e,params:i})}catch(t){t instanceof Error&&(n=t)}if(this.o)return this.o.handle({url:s,request:t,event:e});throw n}))),c}findMatchingRoute({url:t,sameOrigin:e,request:s,event:n}){const i=this.t.get(s.method)||[];for(const r of i){let i;const o=r.match({url:t,sameOrigin:e,request:s,event:n});if(o)return i=o,(Array.isArray(i)&&0===i.length||o.constructor===Object&&0===Object.keys(o).length||"boolean"==typeof o)&&(i=void 0),{route:r,params:i}}return{}}setDefaultHandler(t,e="GET"){this.i.set(e,n(t))}setCatchHandler(t){this.o=n(t)}registerRoute(t){this.t.has(t.method)||this.t.set(t.method,[]),this.t.get(t.method).push(t)}unregisterRoute(t){if(!this.t.has(t.method))throw new s("unregister-route-but-not-found-with-method",{method:t.method});const e=this.t.get(t.method).indexOf(t);if(!(e>-1))throw new s("unregister-route-route-not-registered");this.t.get(t.method).splice(e,1)}}let a;const c={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:"undefined"!=typeof registration?registration.scope:""},h=t=>[c.prefix,t,c.suffix].filter((t=>t&&t.length>0)).join("-"),u=t=>t||h(c.precache),l=t=>t||h(c.runtime);function f(t,e){const s=e();return t.waitUntil(s),s}try{self["workbox:precaching:6.5.1"]&&_()}catch(t){}function w(t){if(!t)throw new s("add-to-cache-list-unexpected-type",{entry:t});if("string"==typeof t){const e=new URL(t,location.href);return{cacheKey:e.href,url:e.href}}const{revision:e,url:n}=t;if(!n)throw new s("add-to-cache-list-unexpected-type",{entry:t});if(!e){const t=new URL(n,location.href);return{cacheKey:t.href,url:t.href}}const i=new URL(n,location.href),r=new URL(n,location.href);return i.searchParams.set("__WB_REVISION__",e),{cacheKey:i.href,url:r.href}}class d{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:t,state:e})=>{e&&(e.originalRequest=t)},this.cachedResponseWillBeUsed=async({event:t,state:e,cachedResponse:s})=>{if("install"===t.type&&e&&e.originalRequest&&e.originalRequest instanceof Request){const t=e.originalRequest.url;s?this.notUpdatedURLs.push(t):this.updatedURLs.push(t)}return s}}}class p{constructor({precacheController:t}){this.cacheKeyWillBeUsed=async({request:t,params:e})=>{const s=(null==e?void 0:e.cacheKey)||this.h.getCacheKeyForURL(t.url);return s?new Request(s,{headers:t.headers}):t},this.h=t}}let y;async function g(t,e){let n=null;if(t.url){n=new URL(t.url).origin}if(n!==self.location.origin)throw new s("cross-origin-copy-response",{origin:n});const i=t.clone(),r={headers:new Headers(i.headers),status:i.status,statusText:i.statusText},o=e?e(r):r,a=function(){if(void 0===y){const t=new Response("");if("body"in t)try{new Response(t.body),y=!0}catch(t){y=!1}y=!1}return y}()?i.body:await i.blob();return new Response(a,o)}function R(t,e){const s=new URL(t);for(const t of e)s.searchParams.delete(t);return s.href}class m{constructor(){this.promise=new Promise(((t,e)=>{this.resolve=t,this.reject=e}))}}const v=new Set;try{self["workbox:strategies:6.5.1"]&&_()}catch(t){}function q(t){return"string"==typeof t?new Request(t):t}class U{constructor(t,e){this.u={},Object.assign(this,e),this.event=e.event,this.l=t,this.p=new m,this.g=[],this.R=[...t.plugins],this.m=new Map;for(const t of this.R)this.m.set(t,{});this.event.waitUntil(this.p.promise)}async fetch(t){const{event:e}=this;let n=q(t);if("navigate"===n.mode&&e instanceof FetchEvent&&e.preloadResponse){const t=await e.preloadResponse;if(t)return t}const i=this.hasCallback("fetchDidFail")?n.clone():null;try{for(const t of this.iterateCallbacks("requestWillFetch"))n=await t({request:n.clone(),event:e})}catch(t){if(t instanceof Error)throw new s("plugin-error-request-will-fetch",{thrownErrorMessage:t.message})}const r=n.clone();try{let t;t=await fetch(n,"navigate"===n.mode?void 0:this.l.fetchOptions);for(const s of this.iterateCallbacks("fetchDidSucceed"))t=await s({event:e,request:r,response:t});return t}catch(t){throw i&&await this.runCallbacks("fetchDidFail",{error:t,event:e,originalRequest:i.clone(),request:r.clone()}),t}}async fetchAndCachePut(t){const e=await this.fetch(t),s=e.clone();return this.waitUntil(this.cachePut(t,s)),e}async cacheMatch(t){const e=q(t);let s;const{cacheName:n,matchOptions:i}=this.l,r=await this.getCacheKey(e,"read"),o=Object.assign(Object.assign({},i),{cacheName:n});s=await caches.match(r,o);for(const t of this.iterateCallbacks("cachedResponseWillBeUsed"))s=await t({cacheName:n,matchOptions:i,cachedResponse:s,request:r,event:this.event})||void 0;return s}async cachePut(t,e){const n=q(t);var i;await(i=0,new Promise((t=>setTimeout(t,i))));const r=await this.getCacheKey(n,"write");if(!e)throw new s("cache-put-with-no-response",{url:(o=r.url,new URL(String(o),location.href).href.replace(new RegExp(`^${location.origin}`),""))});var o;const a=await this.v(e);if(!a)return!1;const{cacheName:c,matchOptions:h}=this.l,u=await self.caches.open(c),l=this.hasCallback("cacheDidUpdate"),f=l?await async function(t,e,s,n){const i=R(e.url,s);if(e.url===i)return t.match(e,n);const r=Object.assign(Object.assign({},n),{ignoreSearch:!0}),o=await t.keys(e,r);for(const e of o)if(i===R(e.url,s))return t.match(e,n)}(u,r.clone(),["__WB_REVISION__"],h):null;try{await u.put(r,l?a.clone():a)}catch(t){if(t instanceof Error)throw"QuotaExceededError"===t.name&&await async function(){for(const t of v)await t()}(),t}for(const t of this.iterateCallbacks("cacheDidUpdate"))await t({cacheName:c,oldResponse:f,newResponse:a.clone(),request:r,event:this.event});return!0}async getCacheKey(t,e){const s=`${t.url} | ${e}`;if(!this.u[s]){let n=t;for(const t of this.iterateCallbacks("cacheKeyWillBeUsed"))n=q(await t({mode:e,request:n,event:this.event,params:this.params}));this.u[s]=n}return this.u[s]}hasCallback(t){for(const e of this.l.plugins)if(t in e)return!0;return!1}async runCallbacks(t,e){for(const s of this.iterateCallbacks(t))await s(e)}*iterateCallbacks(t){for(const e of this.l.plugins)if("function"==typeof e[t]){const s=this.m.get(e),n=n=>{const i=Object.assign(Object.assign({},n),{state:s});return e[t](i)};yield n}}waitUntil(t){return this.g.push(t),t}async doneWaiting(){let t;for(;t=this.g.shift();)await t}destroy(){this.p.resolve(null)}async v(t){let e=t,s=!1;for(const t of this.iterateCallbacks("cacheWillUpdate"))if(e=await t({request:this.request,response:e,event:this.event})||void 0,s=!0,!e)break;return s||e&&200!==e.status&&(e=void 0),e}}class L extends class{constructor(t={}){this.cacheName=l(t.cacheName),this.plugins=t.plugins||[],this.fetchOptions=t.fetchOptions,this.matchOptions=t.matchOptions}handle(t){const[e]=this.handleAll(t);return e}handleAll(t){t instanceof FetchEvent&&(t={event:t,request:t.request});const e=t.event,s="string"==typeof t.request?new Request(t.request):t.request,n="params"in t?t.params:void 0,i=new U(this,{event:e,request:s,params:n}),r=this.q(i,s,e);return[r,this.U(r,i,s,e)]}async q(t,e,n){let i;await t.runCallbacks("handlerWillStart",{event:n,request:e});try{if(i=await this.L(e,t),!i||"error"===i.type)throw new s("no-response",{url:e.url})}catch(s){if(s instanceof Error)for(const r of t.iterateCallbacks("handlerDidError"))if(i=await r({error:s,event:n,request:e}),i)break;if(!i)throw s}for(const s of t.iterateCallbacks("handlerWillRespond"))i=await s({event:n,request:e,response:i});return i}async U(t,e,s,n){let i,r;try{i=await t}catch(r){}try{await e.runCallbacks("handlerDidRespond",{event:n,request:s,response:i}),await e.doneWaiting()}catch(t){t instanceof Error&&(r=t)}if(await e.runCallbacks("handlerDidComplete",{event:n,request:s,response:i,error:r}),e.destroy(),r)throw r}}{constructor(t={}){t.cacheName=u(t.cacheName),super(t),this._=!1!==t.fallbackToNetwork,this.plugins.push(L.copyRedirectedCacheableResponsesPlugin)}async L(t,e){const s=await e.cacheMatch(t);return s||(e.event&&"install"===e.event.type?await this.C(t,e):await this.O(t,e))}async O(t,e){let n;const i=e.params||{};if(!this._)throw new s("missing-precache-entry",{cacheName:this.cacheName,url:t.url});{const s=i.integrity,r=t.integrity,o=!r||r===s;n=await e.fetch(new Request(t,{integrity:r||s})),s&&o&&(this.N(),await e.cachePut(t,n.clone()))}return n}async C(t,e){this.N();const n=await e.fetch(t);if(!await e.cachePut(t,n.clone()))throw new s("bad-precaching-response",{url:t.url,status:n.status});return n}N(){let t=null,e=0;for(const[s,n]of this.plugins.entries())n!==L.copyRedirectedCacheableResponsesPlugin&&(n===L.defaultPrecacheCacheabilityPlugin&&(t=s),n.cacheWillUpdate&&e++);0===e?this.plugins.push(L.defaultPrecacheCacheabilityPlugin):e>1&&null!==t&&this.plugins.splice(t,1)}}L.defaultPrecacheCacheabilityPlugin={cacheWillUpdate:async({response:t})=>!t||t.status>=400?null:t},L.copyRedirectedCacheableResponsesPlugin={cacheWillUpdate:async({response:t})=>t.redirected?await g(t):t};class b{constructor({cacheName:t,plugins:e=[],fallbackToNetwork:s=!0}={}){this.k=new Map,this.K=new Map,this.T=new Map,this.l=new L({cacheName:u(t),plugins:[...e,new p({precacheController:this})],fallbackToNetwork:s}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}get strategy(){return this.l}precache(t){this.addToCacheList(t),this.W||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this.W=!0)}addToCacheList(t){const e=[];for(const n of t){"string"==typeof n?e.push(n):n&&void 0===n.revision&&e.push(n.url);const{cacheKey:t,url:i}=w(n),r="string"!=typeof n&&n.revision?"reload":"default";if(this.k.has(i)&&this.k.get(i)!==t)throw new s("add-to-cache-list-conflicting-entries",{firstEntry:this.k.get(i),secondEntry:t});if("string"!=typeof n&&n.integrity){if(this.T.has(t)&&this.T.get(t)!==n.integrity)throw new s("add-to-cache-list-conflicting-integrities",{url:i});this.T.set(t,n.integrity)}if(this.k.set(i,t),this.K.set(i,r),e.length>0){const t=`Workbox is precaching URLs without revision info: ${e.join(", ")}\nThis is generally NOT safe. Learn more at https://bit.ly/wb-precache`;console.warn(t)}}}install(t){return f(t,(async()=>{const e=new d;this.strategy.plugins.push(e);for(const[e,s]of this.k){const n=this.T.get(s),i=this.K.get(e),r=new Request(e,{integrity:n,cache:i,credentials:"same-origin"});await Promise.all(this.strategy.handleAll({params:{cacheKey:s},request:r,event:t}))}const{updatedURLs:s,notUpdatedURLs:n}=e;return{updatedURLs:s,notUpdatedURLs:n}}))}activate(t){return f(t,(async()=>{const t=await self.caches.open(this.strategy.cacheName),e=await t.keys(),s=new Set(this.k.values()),n=[];for(const i of e)s.has(i.url)||(await t.delete(i),n.push(i.url));return{deletedURLs:n}}))}getURLsToCacheKeys(){return this.k}getCachedURLs(){return[...this.k.keys()]}getCacheKeyForURL(t){const e=new URL(t,location.href);return this.k.get(e.href)}getIntegrityForCacheKey(t){return this.T.get(t)}async matchPrecache(t){const e=t instanceof Request?t.url:t,s=this.getCacheKeyForURL(e);if(s){return(await self.caches.open(this.strategy.cacheName)).match(s)}}createHandlerBoundToURL(t){const e=this.getCacheKeyForURL(t);if(!e)throw new s("non-precached-url",{url:t});return s=>(s.request=new Request(t),s.params=Object.assign({cacheKey:e},s.params),this.strategy.handle(s))}}let C;const E=()=>(C||(C=new b),C);class O extends i{constructor(t,e){super((({request:s})=>{const n=t.getURLsToCacheKeys();for(const i of function*(t,{ignoreURLParametersMatching:e=[/^utm_/,/^fbclid$/],directoryIndex:s="index.html",cleanURLs:n=!0,urlManipulation:i}={}){const r=new URL(t,location.href);r.hash="",yield r.href;const o=function(t,e=[]){for(const s of[...t.searchParams.keys()])e.some((t=>t.test(s)))&&t.searchParams.delete(s);return t}(r,e);if(yield o.href,s&&o.pathname.endsWith("/")){const t=new URL(o.href);t.pathname+=s,yield t.href}if(n){const t=new URL(o.href);t.pathname+=".html",yield t.href}if(i){const t=i({url:r});for(const e of t)yield e.href}}(s.url,e)){const e=n.get(i);if(e){return{cacheKey:e,integrity:t.getIntegrityForCacheKey(e)}}}}),t.strategy)}}function x(t){const e=E();!function(t,e,n){let c;if("string"==typeof t){const s=new URL(t,location.href);c=new i((({url:t})=>t.href===s.href),e,n)}else if(t instanceof RegExp)c=new r(t,e,n);else if("function"==typeof t)c=new i(t,e,n);else{if(!(t instanceof i))throw new s("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});c=t}(a||(a=new o,a.addFetchListener(),a.addCacheListener()),a).registerRoute(c)}(new O(e,t))}t.precacheAndRoute=function(t,e){!function(t){E().precache(t)}(t),x(e)}}));
+//# sourceMappingURL=workbox-72a83b64.js.map
diff --git a/src/main/webapp/workbox-72a83b64.js.map b/src/main/webapp/workbox-72a83b64.js.map
new file mode 100644
index 000000000..8a652dbbc
--- /dev/null
+++ b/src/main/webapp/workbox-72a83b64.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"workbox-72a83b64.js","sources":["../../../../../../opt/homebrew/lib/node_modules/workbox-cli/node_modules/workbox-core/_version.js","../../../../../../opt/homebrew/lib/node_modules/workbox-cli/node_modules/workbox-core/_private/logger.js","../../../../../../opt/homebrew/lib/node_modules/workbox-cli/node_modules/workbox-core/models/messages/messageGenerator.js","../../../../../../opt/homebrew/lib/node_modules/workbox-cli/node_modules/workbox-core/_private/WorkboxError.js","../../../../../../opt/homebrew/lib/node_modules/workbox-cli/node_modules/workbox-routing/_version.js","../../../../../../opt/homebrew/lib/node_modules/workbox-cli/node_modules/workbox-routing/utils/constants.js","../../../../../../opt/homebrew/lib/node_modules/workbox-cli/node_modules/workbox-routing/utils/normalizeHandler.js","../../../../../../opt/homebrew/lib/node_modules/workbox-cli/node_modules/workbox-routing/Route.js","../../../../../../opt/homebrew/lib/node_modules/workbox-cli/node_modules/workbox-routing/RegExpRoute.js","../../../../../../opt/homebrew/lib/node_modules/workbox-cli/node_modules/workbox-routing/Router.js","../../../../../../opt/homebrew/lib/node_modules/workbox-cli/node_modules/workbox-routing/utils/getOrCreateDefaultRouter.js","../../../../../../opt/homebrew/lib/node_modules/workbox-cli/node_modules/workbox-core/_private/cacheNames.js","../../../../../../opt/homebrew/lib/node_modules/workbox-cli/node_modules/workbox-core/_private/waitUntil.js","../../../../../../opt/homebrew/lib/node_modules/workbox-cli/node_modules/workbox-precaching/_version.js","../../../../../../opt/homebrew/lib/node_modules/workbox-cli/node_modules/workbox-precaching/utils/createCacheKey.js","../../../../../../opt/homebrew/lib/node_modules/workbox-cli/node_modules/workbox-precaching/utils/PrecacheInstallReportPlugin.js","../../../../../../opt/homebrew/lib/node_modules/workbox-cli/node_modules/workbox-precaching/utils/PrecacheCacheKeyPlugin.js","../../../../../../opt/homebrew/lib/node_modules/workbox-cli/node_modules/workbox-core/_private/canConstructResponseFromBodyStream.js","../../../../../../opt/homebrew/lib/node_modules/workbox-cli/node_modules/workbox-core/copyResponse.js","../../../../../../opt/homebrew/lib/node_modules/workbox-cli/node_modules/workbox-core/_private/cacheMatchIgnoreParams.js","../../../../../../opt/homebrew/lib/node_modules/workbox-cli/node_modules/workbox-core/_private/Deferred.js","../../../../../../opt/homebrew/lib/node_modules/workbox-cli/node_modules/workbox-core/models/quotaErrorCallbacks.js","../../../../../../opt/homebrew/lib/node_modules/workbox-cli/node_modules/workbox-strategies/_version.js","../../../../../../opt/homebrew/lib/node_modules/workbox-cli/node_modules/workbox-strategies/StrategyHandler.js","../../../../../../opt/homebrew/lib/node_modules/workbox-cli/node_modules/workbox-core/_private/timeout.js","../../../../../../opt/homebrew/lib/node_modules/workbox-cli/node_modules/workbox-core/_private/getFriendlyURL.js","../../../../../../opt/homebrew/lib/node_modules/workbox-cli/node_modules/workbox-core/_private/executeQuotaErrorCallbacks.js","../../../../../../opt/homebrew/lib/node_modules/workbox-cli/node_modules/workbox-precaching/PrecacheStrategy.js","../../../../../../opt/homebrew/lib/node_modules/workbox-cli/node_modules/workbox-strategies/Strategy.js","../../../../../../opt/homebrew/lib/node_modules/workbox-cli/node_modules/workbox-precaching/PrecacheController.js","../../../../../../opt/homebrew/lib/node_modules/workbox-cli/node_modules/workbox-precaching/utils/getOrCreatePrecacheController.js","../../../../../../opt/homebrew/lib/node_modules/workbox-cli/node_modules/workbox-precaching/PrecacheRoute.js","../../../../../../opt/homebrew/lib/node_modules/workbox-cli/node_modules/workbox-precaching/utils/generateURLVariations.js","../../../../../../opt/homebrew/lib/node_modules/workbox-cli/node_modules/workbox-precaching/utils/removeIgnoredSearchParams.js","../../../../../../opt/homebrew/lib/node_modules/workbox-cli/node_modules/workbox-precaching/addRoute.js","../../../../../../opt/homebrew/lib/node_modules/workbox-cli/node_modules/workbox-routing/registerRoute.js","../../../../../../opt/homebrew/lib/node_modules/workbox-cli/node_modules/workbox-precaching/precacheAndRoute.js","../../../../../../opt/homebrew/lib/node_modules/workbox-cli/node_modules/workbox-precaching/precache.js"],"sourcesContent":["\"use strict\";\n// @ts-ignore\ntry {\n self['workbox:core:6.5.1'] && _();\n}\ncatch (e) { }\n","/*\n Copyright 2019 Google LLC\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\nconst logger = (process.env.NODE_ENV === 'production'\n ? null\n : (() => {\n // Don't overwrite this value if it's already set.\n // See https://github.com/GoogleChrome/workbox/pull/2284#issuecomment-560470923\n if (!('__WB_DISABLE_DEV_LOGS' in self)) {\n self.__WB_DISABLE_DEV_LOGS = false;\n }\n let inGroup = false;\n const methodToColorMap = {\n debug: `#7f8c8d`,\n log: `#2ecc71`,\n warn: `#f39c12`,\n error: `#c0392b`,\n groupCollapsed: `#3498db`,\n groupEnd: null, // No colored prefix on groupEnd\n };\n const print = function (method, args) {\n if (self.__WB_DISABLE_DEV_LOGS) {\n return;\n }\n if (method === 'groupCollapsed') {\n // Safari doesn't print all console.groupCollapsed() arguments:\n // https://bugs.webkit.org/show_bug.cgi?id=182754\n if (/^((?!chrome|android).)*safari/i.test(navigator.userAgent)) {\n console[method](...args);\n return;\n }\n }\n const styles = [\n `background: ${methodToColorMap[method]}`,\n `border-radius: 0.5em`,\n `color: white`,\n `font-weight: bold`,\n `padding: 2px 0.5em`,\n ];\n // When in a group, the workbox prefix is not displayed.\n const logPrefix = inGroup ? [] : ['%cworkbox', styles.join(';')];\n console[method](...logPrefix, ...args);\n if (method === 'groupCollapsed') {\n inGroup = true;\n }\n if (method === 'groupEnd') {\n inGroup = false;\n }\n };\n // eslint-disable-next-line @typescript-eslint/ban-types\n const api = {};\n const loggerMethods = Object.keys(methodToColorMap);\n for (const key of loggerMethods) {\n const method = key;\n api[method] = (...args) => {\n print(method, args);\n };\n }\n return api;\n })());\nexport { logger };\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { messages } from './messages.js';\nimport '../../_version.js';\nconst fallback = (code, ...args) => {\n let msg = code;\n if (args.length > 0) {\n msg += ` :: ${JSON.stringify(args)}`;\n }\n return msg;\n};\nconst generatorFunction = (code, details = {}) => {\n const message = messages[code];\n if (!message) {\n throw new Error(`Unable to find message for code '${code}'.`);\n }\n return message(details);\n};\nexport const messageGenerator = process.env.NODE_ENV === 'production' ? fallback : generatorFunction;\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { messageGenerator } from '../models/messages/messageGenerator.js';\nimport '../_version.js';\n/**\n * Workbox errors should be thrown with this class.\n * This allows use to ensure the type easily in tests,\n * helps developers identify errors from workbox\n * easily and allows use to optimise error\n * messages correctly.\n *\n * @private\n */\nclass WorkboxError extends Error {\n /**\n *\n * @param {string} errorCode The error code that\n * identifies this particular error.\n * @param {Object=} details Any relevant arguments\n * that will help developers identify issues should\n * be added as a key on the context object.\n */\n constructor(errorCode, details) {\n const message = messageGenerator(errorCode, details);\n super(message);\n this.name = errorCode;\n this.details = details;\n }\n}\nexport { WorkboxError };\n","\"use strict\";\n// @ts-ignore\ntry {\n self['workbox:routing:6.5.1'] && _();\n}\ncatch (e) { }\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\n/**\n * The default HTTP method, 'GET', used when there's no specific method\n * configured for a route.\n *\n * @type {string}\n *\n * @private\n */\nexport const defaultMethod = 'GET';\n/**\n * The list of valid HTTP methods associated with requests that could be routed.\n *\n * @type {Array<string>}\n *\n * @private\n */\nexport const validMethods = [\n 'DELETE',\n 'GET',\n 'HEAD',\n 'PATCH',\n 'POST',\n 'PUT',\n];\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { assert } from 'workbox-core/_private/assert.js';\nimport '../_version.js';\n/**\n * @param {function()|Object} handler Either a function, or an object with a\n * 'handle' method.\n * @return {Object} An object with a handle method.\n *\n * @private\n */\nexport const normalizeHandler = (handler) => {\n if (handler && typeof handler === 'object') {\n if (process.env.NODE_ENV !== 'production') {\n assert.hasMethod(handler, 'handle', {\n moduleName: 'workbox-routing',\n className: 'Route',\n funcName: 'constructor',\n paramName: 'handler',\n });\n }\n return handler;\n }\n else {\n if (process.env.NODE_ENV !== 'production') {\n assert.isType(handler, 'function', {\n moduleName: 'workbox-routing',\n className: 'Route',\n funcName: 'constructor',\n paramName: 'handler',\n });\n }\n return { handle: handler };\n }\n};\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { assert } from 'workbox-core/_private/assert.js';\nimport { defaultMethod, validMethods } from './utils/constants.js';\nimport { normalizeHandler } from './utils/normalizeHandler.js';\nimport './_version.js';\n/**\n * A `Route` consists of a pair of callback functions, \"match\" and \"handler\".\n * The \"match\" callback determine if a route should be used to \"handle\" a\n * request by returning a non-falsy value if it can. The \"handler\" callback\n * is called when there is a match and should return a Promise that resolves\n * to a `Response`.\n *\n * @memberof workbox-routing\n */\nclass Route {\n /**\n * Constructor for Route class.\n *\n * @param {workbox-routing~matchCallback} match\n * A callback function that determines whether the route matches a given\n * `fetch` event by returning a non-falsy value.\n * @param {workbox-routing~handlerCallback} handler A callback\n * function that returns a Promise resolving to a Response.\n * @param {string} [method='GET'] The HTTP method to match the Route\n * against.\n */\n constructor(match, handler, method = defaultMethod) {\n if (process.env.NODE_ENV !== 'production') {\n assert.isType(match, 'function', {\n moduleName: 'workbox-routing',\n className: 'Route',\n funcName: 'constructor',\n paramName: 'match',\n });\n if (method) {\n assert.isOneOf(method, validMethods, { paramName: 'method' });\n }\n }\n // These values are referenced directly by Router so cannot be\n // altered by minificaton.\n this.handler = normalizeHandler(handler);\n this.match = match;\n this.method = method;\n }\n /**\n *\n * @param {workbox-routing-handlerCallback} handler A callback\n * function that returns a Promise resolving to a Response\n */\n setCatchHandler(handler) {\n this.catchHandler = normalizeHandler(handler);\n }\n}\nexport { Route };\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { assert } from 'workbox-core/_private/assert.js';\nimport { logger } from 'workbox-core/_private/logger.js';\nimport { Route } from './Route.js';\nimport './_version.js';\n/**\n * RegExpRoute makes it easy to create a regular expression based\n * {@link workbox-routing.Route}.\n *\n * For same-origin requests the RegExp only needs to match part of the URL. For\n * requests against third-party servers, you must define a RegExp that matches\n * the start of the URL.\n *\n * @memberof workbox-routing\n * @extends workbox-routing.Route\n */\nclass RegExpRoute extends Route {\n /**\n * If the regular expression contains\n * [capture groups]{@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp#grouping-back-references},\n * the captured values will be passed to the\n * {@link workbox-routing~handlerCallback} `params`\n * argument.\n *\n * @param {RegExp} regExp The regular expression to match against URLs.\n * @param {workbox-routing~handlerCallback} handler A callback\n * function that returns a Promise resulting in a Response.\n * @param {string} [method='GET'] The HTTP method to match the Route\n * against.\n */\n constructor(regExp, handler, method) {\n if (process.env.NODE_ENV !== 'production') {\n assert.isInstance(regExp, RegExp, {\n moduleName: 'workbox-routing',\n className: 'RegExpRoute',\n funcName: 'constructor',\n paramName: 'pattern',\n });\n }\n const match = ({ url }) => {\n const result = regExp.exec(url.href);\n // Return immediately if there's no match.\n if (!result) {\n return;\n }\n // Require that the match start at the first character in the URL string\n // if it's a cross-origin request.\n // See https://github.com/GoogleChrome/workbox/issues/281 for the context\n // behind this behavior.\n if (url.origin !== location.origin && result.index !== 0) {\n if (process.env.NODE_ENV !== 'production') {\n logger.debug(`The regular expression '${regExp.toString()}' only partially matched ` +\n `against the cross-origin URL '${url.toString()}'. RegExpRoute's will only ` +\n `handle cross-origin requests if they match the entire URL.`);\n }\n return;\n }\n // If the route matches, but there aren't any capture groups defined, then\n // this will return [], which is truthy and therefore sufficient to\n // indicate a match.\n // If there are capture groups, then it will return their values.\n return result.slice(1);\n };\n super(match, handler, method);\n }\n}\nexport { RegExpRoute };\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { assert } from 'workbox-core/_private/assert.js';\nimport { getFriendlyURL } from 'workbox-core/_private/getFriendlyURL.js';\nimport { defaultMethod } from './utils/constants.js';\nimport { logger } from 'workbox-core/_private/logger.js';\nimport { normalizeHandler } from './utils/normalizeHandler.js';\nimport { WorkboxError } from 'workbox-core/_private/WorkboxError.js';\nimport './_version.js';\n/**\n * The Router can be used to process a `FetchEvent` using one or more\n * {@link workbox-routing.Route}, responding with a `Response` if\n * a matching route exists.\n *\n * If no route matches a given a request, the Router will use a \"default\"\n * handler if one is defined.\n *\n * Should the matching Route throw an error, the Router will use a \"catch\"\n * handler if one is defined to gracefully deal with issues and respond with a\n * Request.\n *\n * If a request matches multiple routes, the **earliest** registered route will\n * be used to respond to the request.\n *\n * @memberof workbox-routing\n */\nclass Router {\n /**\n * Initializes a new Router.\n */\n constructor() {\n this._routes = new Map();\n this._defaultHandlerMap = new Map();\n }\n /**\n * @return {Map<string, Array<workbox-routing.Route>>} routes A `Map` of HTTP\n * method name ('GET', etc.) to an array of all the corresponding `Route`\n * instances that are registered.\n */\n get routes() {\n return this._routes;\n }\n /**\n * Adds a fetch event listener to respond to events when a route matches\n * the event's request.\n */\n addFetchListener() {\n // See https://github.com/Microsoft/TypeScript/issues/28357#issuecomment-436484705\n self.addEventListener('fetch', ((event) => {\n const { request } = event;\n const responsePromise = this.handleRequest({ request, event });\n if (responsePromise) {\n event.respondWith(responsePromise);\n }\n }));\n }\n /**\n * Adds a message event listener for URLs to cache from the window.\n * This is useful to cache resources loaded on the page prior to when the\n * service worker started controlling it.\n *\n * The format of the message data sent from the window should be as follows.\n * Where the `urlsToCache` array may consist of URL strings or an array of\n * URL string + `requestInit` object (the same as you'd pass to `fetch()`).\n *\n * ```\n * {\n * type: 'CACHE_URLS',\n * payload: {\n * urlsToCache: [\n * './script1.js',\n * './script2.js',\n * ['./script3.js', {mode: 'no-cors'}],\n * ],\n * },\n * }\n * ```\n */\n addCacheListener() {\n // See https://github.com/Microsoft/TypeScript/issues/28357#issuecomment-436484705\n self.addEventListener('message', ((event) => {\n // event.data is type 'any'\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n if (event.data && event.data.type === 'CACHE_URLS') {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const { payload } = event.data;\n if (process.env.NODE_ENV !== 'production') {\n logger.debug(`Caching URLs from the window`, payload.urlsToCache);\n }\n const requestPromises = Promise.all(payload.urlsToCache.map((entry) => {\n if (typeof entry === 'string') {\n entry = [entry];\n }\n const request = new Request(...entry);\n return this.handleRequest({ request, event });\n // TODO(philipwalton): TypeScript errors without this typecast for\n // some reason (probably a bug). The real type here should work but\n // doesn't: `Array<Promise<Response> | undefined>`.\n })); // TypeScript\n event.waitUntil(requestPromises);\n // If a MessageChannel was used, reply to the message on success.\n if (event.ports && event.ports[0]) {\n void requestPromises.then(() => event.ports[0].postMessage(true));\n }\n }\n }));\n }\n /**\n * Apply the routing rules to a FetchEvent object to get a Response from an\n * appropriate Route's handler.\n *\n * @param {Object} options\n * @param {Request} options.request The request to handle.\n * @param {ExtendableEvent} options.event The event that triggered the\n * request.\n * @return {Promise<Response>|undefined} A promise is returned if a\n * registered route can handle the request. If there is no matching\n * route and there's no `defaultHandler`, `undefined` is returned.\n */\n handleRequest({ request, event, }) {\n if (process.env.NODE_ENV !== 'production') {\n assert.isInstance(request, Request, {\n moduleName: 'workbox-routing',\n className: 'Router',\n funcName: 'handleRequest',\n paramName: 'options.request',\n });\n }\n const url = new URL(request.url, location.href);\n if (!url.protocol.startsWith('http')) {\n if (process.env.NODE_ENV !== 'production') {\n logger.debug(`Workbox Router only supports URLs that start with 'http'.`);\n }\n return;\n }\n const sameOrigin = url.origin === location.origin;\n const { params, route } = this.findMatchingRoute({\n event,\n request,\n sameOrigin,\n url,\n });\n let handler = route && route.handler;\n const debugMessages = [];\n if (process.env.NODE_ENV !== 'production') {\n if (handler) {\n debugMessages.push([`Found a route to handle this request:`, route]);\n if (params) {\n debugMessages.push([\n `Passing the following params to the route's handler:`,\n params,\n ]);\n }\n }\n }\n // If we don't have a handler because there was no matching route, then\n // fall back to defaultHandler if that's defined.\n const method = request.method;\n if (!handler && this._defaultHandlerMap.has(method)) {\n if (process.env.NODE_ENV !== 'production') {\n debugMessages.push(`Failed to find a matching route. Falling ` +\n `back to the default handler for ${method}.`);\n }\n handler = this._defaultHandlerMap.get(method);\n }\n if (!handler) {\n if (process.env.NODE_ENV !== 'production') {\n // No handler so Workbox will do nothing. If logs is set of debug\n // i.e. verbose, we should print out this information.\n logger.debug(`No route found for: ${getFriendlyURL(url)}`);\n }\n return;\n }\n if (process.env.NODE_ENV !== 'production') {\n // We have a handler, meaning Workbox is going to handle the route.\n // print the routing details to the console.\n logger.groupCollapsed(`Router is responding to: ${getFriendlyURL(url)}`);\n debugMessages.forEach((msg) => {\n if (Array.isArray(msg)) {\n logger.log(...msg);\n }\n else {\n logger.log(msg);\n }\n });\n logger.groupEnd();\n }\n // Wrap in try and catch in case the handle method throws a synchronous\n // error. It should still callback to the catch handler.\n let responsePromise;\n try {\n responsePromise = handler.handle({ url, request, event, params });\n }\n catch (err) {\n responsePromise = Promise.reject(err);\n }\n // Get route's catch handler, if it exists\n const catchHandler = route && route.catchHandler;\n if (responsePromise instanceof Promise &&\n (this._catchHandler || catchHandler)) {\n responsePromise = responsePromise.catch(async (err) => {\n // If there's a route catch handler, process that first\n if (catchHandler) {\n if (process.env.NODE_ENV !== 'production') {\n // Still include URL here as it will be async from the console group\n // and may not make sense without the URL\n logger.groupCollapsed(`Error thrown when responding to: ` +\n ` ${getFriendlyURL(url)}. Falling back to route's Catch Handler.`);\n logger.error(`Error thrown by:`, route);\n logger.error(err);\n logger.groupEnd();\n }\n try {\n return await catchHandler.handle({ url, request, event, params });\n }\n catch (catchErr) {\n if (catchErr instanceof Error) {\n err = catchErr;\n }\n }\n }\n if (this._catchHandler) {\n if (process.env.NODE_ENV !== 'production') {\n // Still include URL here as it will be async from the console group\n // and may not make sense without the URL\n logger.groupCollapsed(`Error thrown when responding to: ` +\n ` ${getFriendlyURL(url)}. Falling back to global Catch Handler.`);\n logger.error(`Error thrown by:`, route);\n logger.error(err);\n logger.groupEnd();\n }\n return this._catchHandler.handle({ url, request, event });\n }\n throw err;\n });\n }\n return responsePromise;\n }\n /**\n * Checks a request and URL (and optionally an event) against the list of\n * registered routes, and if there's a match, returns the corresponding\n * route along with any params generated by the match.\n *\n * @param {Object} options\n * @param {URL} options.url\n * @param {boolean} options.sameOrigin The result of comparing `url.origin`\n * against the current origin.\n * @param {Request} options.request The request to match.\n * @param {Event} options.event The corresponding event.\n * @return {Object} An object with `route` and `params` properties.\n * They are populated if a matching route was found or `undefined`\n * otherwise.\n */\n findMatchingRoute({ url, sameOrigin, request, event, }) {\n const routes = this._routes.get(request.method) || [];\n for (const route of routes) {\n let params;\n // route.match returns type any, not possible to change right now.\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const matchResult = route.match({ url, sameOrigin, request, event });\n if (matchResult) {\n if (process.env.NODE_ENV !== 'production') {\n // Warn developers that using an async matchCallback is almost always\n // not the right thing to do.\n if (matchResult instanceof Promise) {\n logger.warn(`While routing ${getFriendlyURL(url)}, an async ` +\n `matchCallback function was used. Please convert the ` +\n `following route to use a synchronous matchCallback function:`, route);\n }\n }\n // See https://github.com/GoogleChrome/workbox/issues/2079\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n params = matchResult;\n if (Array.isArray(params) && params.length === 0) {\n // Instead of passing an empty array in as params, use undefined.\n params = undefined;\n }\n else if (matchResult.constructor === Object && // eslint-disable-line\n Object.keys(matchResult).length === 0) {\n // Instead of passing an empty object in as params, use undefined.\n params = undefined;\n }\n else if (typeof matchResult === 'boolean') {\n // For the boolean value true (rather than just something truth-y),\n // don't set params.\n // See https://github.com/GoogleChrome/workbox/pull/2134#issuecomment-513924353\n params = undefined;\n }\n // Return early if have a match.\n return { route, params };\n }\n }\n // If no match was found above, return and empty object.\n return {};\n }\n /**\n * Define a default `handler` that's called when no routes explicitly\n * match the incoming request.\n *\n * Each HTTP method ('GET', 'POST', etc.) gets its own default handler.\n *\n * Without a default handler, unmatched requests will go against the\n * network as if there were no service worker present.\n *\n * @param {workbox-routing~handlerCallback} handler A callback\n * function that returns a Promise resulting in a Response.\n * @param {string} [method='GET'] The HTTP method to associate with this\n * default handler. Each method has its own default.\n */\n setDefaultHandler(handler, method = defaultMethod) {\n this._defaultHandlerMap.set(method, normalizeHandler(handler));\n }\n /**\n * If a Route throws an error while handling a request, this `handler`\n * will be called and given a chance to provide a response.\n *\n * @param {workbox-routing~handlerCallback} handler A callback\n * function that returns a Promise resulting in a Response.\n */\n setCatchHandler(handler) {\n this._catchHandler = normalizeHandler(handler);\n }\n /**\n * Registers a route with the router.\n *\n * @param {workbox-routing.Route} route The route to register.\n */\n registerRoute(route) {\n if (process.env.NODE_ENV !== 'production') {\n assert.isType(route, 'object', {\n moduleName: 'workbox-routing',\n className: 'Router',\n funcName: 'registerRoute',\n paramName: 'route',\n });\n assert.hasMethod(route, 'match', {\n moduleName: 'workbox-routing',\n className: 'Router',\n funcName: 'registerRoute',\n paramName: 'route',\n });\n assert.isType(route.handler, 'object', {\n moduleName: 'workbox-routing',\n className: 'Router',\n funcName: 'registerRoute',\n paramName: 'route',\n });\n assert.hasMethod(route.handler, 'handle', {\n moduleName: 'workbox-routing',\n className: 'Router',\n funcName: 'registerRoute',\n paramName: 'route.handler',\n });\n assert.isType(route.method, 'string', {\n moduleName: 'workbox-routing',\n className: 'Router',\n funcName: 'registerRoute',\n paramName: 'route.method',\n });\n }\n if (!this._routes.has(route.method)) {\n this._routes.set(route.method, []);\n }\n // Give precedence to all of the earlier routes by adding this additional\n // route to the end of the array.\n this._routes.get(route.method).push(route);\n }\n /**\n * Unregisters a route with the router.\n *\n * @param {workbox-routing.Route} route The route to unregister.\n */\n unregisterRoute(route) {\n if (!this._routes.has(route.method)) {\n throw new WorkboxError('unregister-route-but-not-found-with-method', {\n method: route.method,\n });\n }\n const routeIndex = this._routes.get(route.method).indexOf(route);\n if (routeIndex > -1) {\n this._routes.get(route.method).splice(routeIndex, 1);\n }\n else {\n throw new WorkboxError('unregister-route-route-not-registered');\n }\n }\n}\nexport { Router };\n","/*\n Copyright 2019 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { Router } from '../Router.js';\nimport '../_version.js';\nlet defaultRouter;\n/**\n * Creates a new, singleton Router instance if one does not exist. If one\n * does already exist, that instance is returned.\n *\n * @private\n * @return {Router}\n */\nexport const getOrCreateDefaultRouter = () => {\n if (!defaultRouter) {\n defaultRouter = new Router();\n // The helpers that use the default Router assume these listeners exist.\n defaultRouter.addFetchListener();\n defaultRouter.addCacheListener();\n }\n return defaultRouter;\n};\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\nconst _cacheNameDetails = {\n googleAnalytics: 'googleAnalytics',\n precache: 'precache-v2',\n prefix: 'workbox',\n runtime: 'runtime',\n suffix: typeof registration !== 'undefined' ? registration.scope : '',\n};\nconst _createCacheName = (cacheName) => {\n return [_cacheNameDetails.prefix, cacheName, _cacheNameDetails.suffix]\n .filter((value) => value && value.length > 0)\n .join('-');\n};\nconst eachCacheNameDetail = (fn) => {\n for (const key of Object.keys(_cacheNameDetails)) {\n fn(key);\n }\n};\nexport const cacheNames = {\n updateDetails: (details) => {\n eachCacheNameDetail((key) => {\n if (typeof details[key] === 'string') {\n _cacheNameDetails[key] = details[key];\n }\n });\n },\n getGoogleAnalyticsName: (userCacheName) => {\n return userCacheName || _createCacheName(_cacheNameDetails.googleAnalytics);\n },\n getPrecacheName: (userCacheName) => {\n return userCacheName || _createCacheName(_cacheNameDetails.precache);\n },\n getPrefix: () => {\n return _cacheNameDetails.prefix;\n },\n getRuntimeName: (userCacheName) => {\n return userCacheName || _createCacheName(_cacheNameDetails.runtime);\n },\n getSuffix: () => {\n return _cacheNameDetails.suffix;\n },\n};\n","/*\n Copyright 2020 Google LLC\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\n/**\n * A utility method that makes it easier to use `event.waitUntil` with\n * async functions and return the result.\n *\n * @param {ExtendableEvent} event\n * @param {Function} asyncFn\n * @return {Function}\n * @private\n */\nfunction waitUntil(event, asyncFn) {\n const returnPromise = asyncFn();\n event.waitUntil(returnPromise);\n return returnPromise;\n}\nexport { waitUntil };\n","\"use strict\";\n// @ts-ignore\ntry {\n self['workbox:precaching:6.5.1'] && _();\n}\ncatch (e) { }\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { WorkboxError } from 'workbox-core/_private/WorkboxError.js';\nimport '../_version.js';\n// Name of the search parameter used to store revision info.\nconst REVISION_SEARCH_PARAM = '__WB_REVISION__';\n/**\n * Converts a manifest entry into a versioned URL suitable for precaching.\n *\n * @param {Object|string} entry\n * @return {string} A URL with versioning info.\n *\n * @private\n * @memberof workbox-precaching\n */\nexport function createCacheKey(entry) {\n if (!entry) {\n throw new WorkboxError('add-to-cache-list-unexpected-type', { entry });\n }\n // If a precache manifest entry is a string, it's assumed to be a versioned\n // URL, like '/app.abcd1234.js'. Return as-is.\n if (typeof entry === 'string') {\n const urlObject = new URL(entry, location.href);\n return {\n cacheKey: urlObject.href,\n url: urlObject.href,\n };\n }\n const { revision, url } = entry;\n if (!url) {\n throw new WorkboxError('add-to-cache-list-unexpected-type', { entry });\n }\n // If there's just a URL and no revision, then it's also assumed to be a\n // versioned URL.\n if (!revision) {\n const urlObject = new URL(url, location.href);\n return {\n cacheKey: urlObject.href,\n url: urlObject.href,\n };\n }\n // Otherwise, construct a properly versioned URL using the custom Workbox\n // search parameter along with the revision info.\n const cacheKeyURL = new URL(url, location.href);\n const originalURL = new URL(url, location.href);\n cacheKeyURL.searchParams.set(REVISION_SEARCH_PARAM, revision);\n return {\n cacheKey: cacheKeyURL.href,\n url: originalURL.href,\n };\n}\n","/*\n Copyright 2020 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\n/**\n * A plugin, designed to be used with PrecacheController, to determine the\n * of assets that were updated (or not updated) during the install event.\n *\n * @private\n */\nclass PrecacheInstallReportPlugin {\n constructor() {\n this.updatedURLs = [];\n this.notUpdatedURLs = [];\n this.handlerWillStart = async ({ request, state, }) => {\n // TODO: `state` should never be undefined...\n if (state) {\n state.originalRequest = request;\n }\n };\n this.cachedResponseWillBeUsed = async ({ event, state, cachedResponse, }) => {\n if (event.type === 'install') {\n if (state &&\n state.originalRequest &&\n state.originalRequest instanceof Request) {\n // TODO: `state` should never be undefined...\n const url = state.originalRequest.url;\n if (cachedResponse) {\n this.notUpdatedURLs.push(url);\n }\n else {\n this.updatedURLs.push(url);\n }\n }\n }\n return cachedResponse;\n };\n }\n}\nexport { PrecacheInstallReportPlugin };\n","/*\n Copyright 2020 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\n/**\n * A plugin, designed to be used with PrecacheController, to translate URLs into\n * the corresponding cache key, based on the current revision info.\n *\n * @private\n */\nclass PrecacheCacheKeyPlugin {\n constructor({ precacheController }) {\n this.cacheKeyWillBeUsed = async ({ request, params, }) => {\n // Params is type any, can't change right now.\n /* eslint-disable */\n const cacheKey = (params === null || params === void 0 ? void 0 : params.cacheKey) ||\n this._precacheController.getCacheKeyForURL(request.url);\n /* eslint-enable */\n return cacheKey\n ? new Request(cacheKey, { headers: request.headers })\n : request;\n };\n this._precacheController = precacheController;\n }\n}\nexport { PrecacheCacheKeyPlugin };\n","/*\n Copyright 2019 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\nlet supportStatus;\n/**\n * A utility function that determines whether the current browser supports\n * constructing a new `Response` from a `response.body` stream.\n *\n * @return {boolean} `true`, if the current browser can successfully\n * construct a `Response` from a `response.body` stream, `false` otherwise.\n *\n * @private\n */\nfunction canConstructResponseFromBodyStream() {\n if (supportStatus === undefined) {\n const testResponse = new Response('');\n if ('body' in testResponse) {\n try {\n new Response(testResponse.body);\n supportStatus = true;\n }\n catch (error) {\n supportStatus = false;\n }\n }\n supportStatus = false;\n }\n return supportStatus;\n}\nexport { canConstructResponseFromBodyStream };\n","/*\n Copyright 2019 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { canConstructResponseFromBodyStream } from './_private/canConstructResponseFromBodyStream.js';\nimport { WorkboxError } from './_private/WorkboxError.js';\nimport './_version.js';\n/**\n * Allows developers to copy a response and modify its `headers`, `status`,\n * or `statusText` values (the values settable via a\n * [`ResponseInit`]{@link https://developer.mozilla.org/en-US/docs/Web/API/Response/Response#Syntax}\n * object in the constructor).\n * To modify these values, pass a function as the second argument. That\n * function will be invoked with a single object with the response properties\n * `{headers, status, statusText}`. The return value of this function will\n * be used as the `ResponseInit` for the new `Response`. To change the values\n * either modify the passed parameter(s) and return it, or return a totally\n * new object.\n *\n * This method is intentionally limited to same-origin responses, regardless of\n * whether CORS was used or not.\n *\n * @param {Response} response\n * @param {Function} modifier\n * @memberof workbox-core\n */\nasync function copyResponse(response, modifier) {\n let origin = null;\n // If response.url isn't set, assume it's cross-origin and keep origin null.\n if (response.url) {\n const responseURL = new URL(response.url);\n origin = responseURL.origin;\n }\n if (origin !== self.location.origin) {\n throw new WorkboxError('cross-origin-copy-response', { origin });\n }\n const clonedResponse = response.clone();\n // Create a fresh `ResponseInit` object by cloning the headers.\n const responseInit = {\n headers: new Headers(clonedResponse.headers),\n status: clonedResponse.status,\n statusText: clonedResponse.statusText,\n };\n // Apply any user modifications.\n const modifiedResponseInit = modifier ? modifier(responseInit) : responseInit;\n // Create the new response from the body stream and `ResponseInit`\n // modifications. Note: not all browsers support the Response.body stream,\n // so fall back to reading the entire body into memory as a blob.\n const body = canConstructResponseFromBodyStream()\n ? clonedResponse.body\n : await clonedResponse.blob();\n return new Response(body, modifiedResponseInit);\n}\nexport { copyResponse };\n","/*\n Copyright 2020 Google LLC\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\nfunction stripParams(fullURL, ignoreParams) {\n const strippedURL = new URL(fullURL);\n for (const param of ignoreParams) {\n strippedURL.searchParams.delete(param);\n }\n return strippedURL.href;\n}\n/**\n * Matches an item in the cache, ignoring specific URL params. This is similar\n * to the `ignoreSearch` option, but it allows you to ignore just specific\n * params (while continuing to match on the others).\n *\n * @private\n * @param {Cache} cache\n * @param {Request} request\n * @param {Object} matchOptions\n * @param {Array<string>} ignoreParams\n * @return {Promise<Response|undefined>}\n */\nasync function cacheMatchIgnoreParams(cache, request, ignoreParams, matchOptions) {\n const strippedRequestURL = stripParams(request.url, ignoreParams);\n // If the request doesn't include any ignored params, match as normal.\n if (request.url === strippedRequestURL) {\n return cache.match(request, matchOptions);\n }\n // Otherwise, match by comparing keys\n const keysOptions = Object.assign(Object.assign({}, matchOptions), { ignoreSearch: true });\n const cacheKeys = await cache.keys(request, keysOptions);\n for (const cacheKey of cacheKeys) {\n const strippedCacheKeyURL = stripParams(cacheKey.url, ignoreParams);\n if (strippedRequestURL === strippedCacheKeyURL) {\n return cache.match(cacheKey, matchOptions);\n }\n }\n return;\n}\nexport { cacheMatchIgnoreParams };\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\n/**\n * The Deferred class composes Promises in a way that allows for them to be\n * resolved or rejected from outside the constructor. In most cases promises\n * should be used directly, but Deferreds can be necessary when the logic to\n * resolve a promise must be separate.\n *\n * @private\n */\nclass Deferred {\n /**\n * Creates a promise and exposes its resolve and reject functions as methods.\n */\n constructor() {\n this.promise = new Promise((resolve, reject) => {\n this.resolve = resolve;\n this.reject = reject;\n });\n }\n}\nexport { Deferred };\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\n// Callbacks to be executed whenever there's a quota error.\n// Can't change Function type right now.\n// eslint-disable-next-line @typescript-eslint/ban-types\nconst quotaErrorCallbacks = new Set();\nexport { quotaErrorCallbacks };\n","\"use strict\";\n// @ts-ignore\ntry {\n self['workbox:strategies:6.5.1'] && _();\n}\ncatch (e) { }\n","/*\n Copyright 2020 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { assert } from 'workbox-core/_private/assert.js';\nimport { cacheMatchIgnoreParams } from 'workbox-core/_private/cacheMatchIgnoreParams.js';\nimport { Deferred } from 'workbox-core/_private/Deferred.js';\nimport { executeQuotaErrorCallbacks } from 'workbox-core/_private/executeQuotaErrorCallbacks.js';\nimport { getFriendlyURL } from 'workbox-core/_private/getFriendlyURL.js';\nimport { logger } from 'workbox-core/_private/logger.js';\nimport { timeout } from 'workbox-core/_private/timeout.js';\nimport { WorkboxError } from 'workbox-core/_private/WorkboxError.js';\nimport './_version.js';\nfunction toRequest(input) {\n return typeof input === 'string' ? new Request(input) : input;\n}\n/**\n * A class created every time a Strategy instance instance calls\n * {@link workbox-strategies.Strategy~handle} or\n * {@link workbox-strategies.Strategy~handleAll} that wraps all fetch and\n * cache actions around plugin callbacks and keeps track of when the strategy\n * is \"done\" (i.e. all added `event.waitUntil()` promises have resolved).\n *\n * @memberof workbox-strategies\n */\nclass StrategyHandler {\n /**\n * Creates a new instance associated with the passed strategy and event\n * that's handling the request.\n *\n * The constructor also initializes the state that will be passed to each of\n * the plugins handling this request.\n *\n * @param {workbox-strategies.Strategy} strategy\n * @param {Object} options\n * @param {Request|string} options.request A request to run this strategy for.\n * @param {ExtendableEvent} options.event The event associated with the\n * request.\n * @param {URL} [options.url]\n * @param {*} [options.params] The return value from the\n * {@link workbox-routing~matchCallback} (if applicable).\n */\n constructor(strategy, options) {\n this._cacheKeys = {};\n /**\n * The request the strategy is performing (passed to the strategy's\n * `handle()` or `handleAll()` method).\n * @name request\n * @instance\n * @type {Request}\n * @memberof workbox-strategies.StrategyHandler\n */\n /**\n * The event associated with this request.\n * @name event\n * @instance\n * @type {ExtendableEvent}\n * @memberof workbox-strategies.StrategyHandler\n */\n /**\n * A `URL` instance of `request.url` (if passed to the strategy's\n * `handle()` or `handleAll()` method).\n * Note: the `url` param will be present if the strategy was invoked\n * from a workbox `Route` object.\n * @name url\n * @instance\n * @type {URL|undefined}\n * @memberof workbox-strategies.StrategyHandler\n */\n /**\n * A `param` value (if passed to the strategy's\n * `handle()` or `handleAll()` method).\n * Note: the `param` param will be present if the strategy was invoked\n * from a workbox `Route` object and the\n * {@link workbox-routing~matchCallback} returned\n * a truthy value (it will be that value).\n * @name params\n * @instance\n * @type {*|undefined}\n * @memberof workbox-strategies.StrategyHandler\n */\n if (process.env.NODE_ENV !== 'production') {\n assert.isInstance(options.event, ExtendableEvent, {\n moduleName: 'workbox-strategies',\n className: 'StrategyHandler',\n funcName: 'constructor',\n paramName: 'options.event',\n });\n }\n Object.assign(this, options);\n this.event = options.event;\n this._strategy = strategy;\n this._handlerDeferred = new Deferred();\n this._extendLifetimePromises = [];\n // Copy the plugins list (since it's mutable on the strategy),\n // so any mutations don't affect this handler instance.\n this._plugins = [...strategy.plugins];\n this._pluginStateMap = new Map();\n for (const plugin of this._plugins) {\n this._pluginStateMap.set(plugin, {});\n }\n this.event.waitUntil(this._handlerDeferred.promise);\n }\n /**\n * Fetches a given request (and invokes any applicable plugin callback\n * methods) using the `fetchOptions` (for non-navigation requests) and\n * `plugins` defined on the `Strategy` object.\n *\n * The following plugin lifecycle methods are invoked when using this method:\n * - `requestWillFetch()`\n * - `fetchDidSucceed()`\n * - `fetchDidFail()`\n *\n * @param {Request|string} input The URL or request to fetch.\n * @return {Promise<Response>}\n */\n async fetch(input) {\n const { event } = this;\n let request = toRequest(input);\n if (request.mode === 'navigate' &&\n event instanceof FetchEvent &&\n event.preloadResponse) {\n const possiblePreloadResponse = (await event.preloadResponse);\n if (possiblePreloadResponse) {\n if (process.env.NODE_ENV !== 'production') {\n logger.log(`Using a preloaded navigation response for ` +\n `'${getFriendlyURL(request.url)}'`);\n }\n return possiblePreloadResponse;\n }\n }\n // If there is a fetchDidFail plugin, we need to save a clone of the\n // original request before it's either modified by a requestWillFetch\n // plugin or before the original request's body is consumed via fetch().\n const originalRequest = this.hasCallback('fetchDidFail')\n ? request.clone()\n : null;\n try {\n for (const cb of this.iterateCallbacks('requestWillFetch')) {\n request = await cb({ request: request.clone(), event });\n }\n }\n catch (err) {\n if (err instanceof Error) {\n throw new WorkboxError('plugin-error-request-will-fetch', {\n thrownErrorMessage: err.message,\n });\n }\n }\n // The request can be altered by plugins with `requestWillFetch` making\n // the original request (most likely from a `fetch` event) different\n // from the Request we make. Pass both to `fetchDidFail` to aid debugging.\n const pluginFilteredRequest = request.clone();\n try {\n let fetchResponse;\n // See https://github.com/GoogleChrome/workbox/issues/1796\n fetchResponse = await fetch(request, request.mode === 'navigate' ? undefined : this._strategy.fetchOptions);\n if (process.env.NODE_ENV !== 'production') {\n logger.debug(`Network request for ` +\n `'${getFriendlyURL(request.url)}' returned a response with ` +\n `status '${fetchResponse.status}'.`);\n }\n for (const callback of this.iterateCallbacks('fetchDidSucceed')) {\n fetchResponse = await callback({\n event,\n request: pluginFilteredRequest,\n response: fetchResponse,\n });\n }\n return fetchResponse;\n }\n catch (error) {\n if (process.env.NODE_ENV !== 'production') {\n logger.log(`Network request for ` +\n `'${getFriendlyURL(request.url)}' threw an error.`, error);\n }\n // `originalRequest` will only exist if a `fetchDidFail` callback\n // is being used (see above).\n if (originalRequest) {\n await this.runCallbacks('fetchDidFail', {\n error: error,\n event,\n originalRequest: originalRequest.clone(),\n request: pluginFilteredRequest.clone(),\n });\n }\n throw error;\n }\n }\n /**\n * Calls `this.fetch()` and (in the background) runs `this.cachePut()` on\n * the response generated by `this.fetch()`.\n *\n * The call to `this.cachePut()` automatically invokes `this.waitUntil()`,\n * so you do not have to manually call `waitUntil()` on the event.\n *\n * @param {Request|string} input The request or URL to fetch and cache.\n * @return {Promise<Response>}\n */\n async fetchAndCachePut(input) {\n const response = await this.fetch(input);\n const responseClone = response.clone();\n void this.waitUntil(this.cachePut(input, responseClone));\n return response;\n }\n /**\n * Matches a request from the cache (and invokes any applicable plugin\n * callback methods) using the `cacheName`, `matchOptions`, and `plugins`\n * defined on the strategy object.\n *\n * The following plugin lifecycle methods are invoked when using this method:\n * - cacheKeyWillByUsed()\n * - cachedResponseWillByUsed()\n *\n * @param {Request|string} key The Request or URL to use as the cache key.\n * @return {Promise<Response|undefined>} A matching response, if found.\n */\n async cacheMatch(key) {\n const request = toRequest(key);\n let cachedResponse;\n const { cacheName, matchOptions } = this._strategy;\n const effectiveRequest = await this.getCacheKey(request, 'read');\n const multiMatchOptions = Object.assign(Object.assign({}, matchOptions), { cacheName });\n cachedResponse = await caches.match(effectiveRequest, multiMatchOptions);\n if (process.env.NODE_ENV !== 'production') {\n if (cachedResponse) {\n logger.debug(`Found a cached response in '${cacheName}'.`);\n }\n else {\n logger.debug(`No cached response found in '${cacheName}'.`);\n }\n }\n for (const callback of this.iterateCallbacks('cachedResponseWillBeUsed')) {\n cachedResponse =\n (await callback({\n cacheName,\n matchOptions,\n cachedResponse,\n request: effectiveRequest,\n event: this.event,\n })) || undefined;\n }\n return cachedResponse;\n }\n /**\n * Puts a request/response pair in the cache (and invokes any applicable\n * plugin callback methods) using the `cacheName` and `plugins` defined on\n * the strategy object.\n *\n * The following plugin lifecycle methods are invoked when using this method:\n * - cacheKeyWillByUsed()\n * - cacheWillUpdate()\n * - cacheDidUpdate()\n *\n * @param {Request|string} key The request or URL to use as the cache key.\n * @param {Response} response The response to cache.\n * @return {Promise<boolean>} `false` if a cacheWillUpdate caused the response\n * not be cached, and `true` otherwise.\n */\n async cachePut(key, response) {\n const request = toRequest(key);\n // Run in the next task to avoid blocking other cache reads.\n // https://github.com/w3c/ServiceWorker/issues/1397\n await timeout(0);\n const effectiveRequest = await this.getCacheKey(request, 'write');\n if (process.env.NODE_ENV !== 'production') {\n if (effectiveRequest.method && effectiveRequest.method !== 'GET') {\n throw new WorkboxError('attempt-to-cache-non-get-request', {\n url: getFriendlyURL(effectiveRequest.url),\n method: effectiveRequest.method,\n });\n }\n // See https://github.com/GoogleChrome/workbox/issues/2818\n const vary = response.headers.get('Vary');\n if (vary) {\n logger.debug(`The response for ${getFriendlyURL(effectiveRequest.url)} ` +\n `has a 'Vary: ${vary}' header. ` +\n `Consider setting the {ignoreVary: true} option on your strategy ` +\n `to ensure cache matching and deletion works as expected.`);\n }\n }\n if (!response) {\n if (process.env.NODE_ENV !== 'production') {\n logger.error(`Cannot cache non-existent response for ` +\n `'${getFriendlyURL(effectiveRequest.url)}'.`);\n }\n throw new WorkboxError('cache-put-with-no-response', {\n url: getFriendlyURL(effectiveRequest.url),\n });\n }\n const responseToCache = await this._ensureResponseSafeToCache(response);\n if (!responseToCache) {\n if (process.env.NODE_ENV !== 'production') {\n logger.debug(`Response '${getFriendlyURL(effectiveRequest.url)}' ` +\n `will not be cached.`, responseToCache);\n }\n return false;\n }\n const { cacheName, matchOptions } = this._strategy;\n const cache = await self.caches.open(cacheName);\n const hasCacheUpdateCallback = this.hasCallback('cacheDidUpdate');\n const oldResponse = hasCacheUpdateCallback\n ? await cacheMatchIgnoreParams(\n // TODO(philipwalton): the `__WB_REVISION__` param is a precaching\n // feature. Consider into ways to only add this behavior if using\n // precaching.\n cache, effectiveRequest.clone(), ['__WB_REVISION__'], matchOptions)\n : null;\n if (process.env.NODE_ENV !== 'production') {\n logger.debug(`Updating the '${cacheName}' cache with a new Response ` +\n `for ${getFriendlyURL(effectiveRequest.url)}.`);\n }\n try {\n await cache.put(effectiveRequest, hasCacheUpdateCallback ? responseToCache.clone() : responseToCache);\n }\n catch (error) {\n if (error instanceof Error) {\n // See https://developer.mozilla.org/en-US/docs/Web/API/DOMException#exception-QuotaExceededError\n if (error.name === 'QuotaExceededError') {\n await executeQuotaErrorCallbacks();\n }\n throw error;\n }\n }\n for (const callback of this.iterateCallbacks('cacheDidUpdate')) {\n await callback({\n cacheName,\n oldResponse,\n newResponse: responseToCache.clone(),\n request: effectiveRequest,\n event: this.event,\n });\n }\n return true;\n }\n /**\n * Checks the list of plugins for the `cacheKeyWillBeUsed` callback, and\n * executes any of those callbacks found in sequence. The final `Request`\n * object returned by the last plugin is treated as the cache key for cache\n * reads and/or writes. If no `cacheKeyWillBeUsed` plugin callbacks have\n * been registered, the passed request is returned unmodified\n *\n * @param {Request} request\n * @param {string} mode\n * @return {Promise<Request>}\n */\n async getCacheKey(request, mode) {\n const key = `${request.url} | ${mode}`;\n if (!this._cacheKeys[key]) {\n let effectiveRequest = request;\n for (const callback of this.iterateCallbacks('cacheKeyWillBeUsed')) {\n effectiveRequest = toRequest(await callback({\n mode,\n request: effectiveRequest,\n event: this.event,\n // params has a type any can't change right now.\n params: this.params, // eslint-disable-line\n }));\n }\n this._cacheKeys[key] = effectiveRequest;\n }\n return this._cacheKeys[key];\n }\n /**\n * Returns true if the strategy has at least one plugin with the given\n * callback.\n *\n * @param {string} name The name of the callback to check for.\n * @return {boolean}\n */\n hasCallback(name) {\n for (const plugin of this._strategy.plugins) {\n if (name in plugin) {\n return true;\n }\n }\n return false;\n }\n /**\n * Runs all plugin callbacks matching the given name, in order, passing the\n * given param object (merged ith the current plugin state) as the only\n * argument.\n *\n * Note: since this method runs all plugins, it's not suitable for cases\n * where the return value of a callback needs to be applied prior to calling\n * the next callback. See\n * {@link workbox-strategies.StrategyHandler#iterateCallbacks}\n * below for how to handle that case.\n *\n * @param {string} name The name of the callback to run within each plugin.\n * @param {Object} param The object to pass as the first (and only) param\n * when executing each callback. This object will be merged with the\n * current plugin state prior to callback execution.\n */\n async runCallbacks(name, param) {\n for (const callback of this.iterateCallbacks(name)) {\n // TODO(philipwalton): not sure why `any` is needed. It seems like\n // this should work with `as WorkboxPluginCallbackParam[C]`.\n await callback(param);\n }\n }\n /**\n * Accepts a callback and returns an iterable of matching plugin callbacks,\n * where each callback is wrapped with the current handler state (i.e. when\n * you call each callback, whatever object parameter you pass it will\n * be merged with the plugin's current state).\n *\n * @param {string} name The name fo the callback to run\n * @return {Array<Function>}\n */\n *iterateCallbacks(name) {\n for (const plugin of this._strategy.plugins) {\n if (typeof plugin[name] === 'function') {\n const state = this._pluginStateMap.get(plugin);\n const statefulCallback = (param) => {\n const statefulParam = Object.assign(Object.assign({}, param), { state });\n // TODO(philipwalton): not sure why `any` is needed. It seems like\n // this should work with `as WorkboxPluginCallbackParam[C]`.\n return plugin[name](statefulParam);\n };\n yield statefulCallback;\n }\n }\n }\n /**\n * Adds a promise to the\n * [extend lifetime promises]{@link https://w3c.github.io/ServiceWorker/#extendableevent-extend-lifetime-promises}\n * of the event event associated with the request being handled (usually a\n * `FetchEvent`).\n *\n * Note: you can await\n * {@link workbox-strategies.StrategyHandler~doneWaiting}\n * to know when all added promises have settled.\n *\n * @param {Promise} promise A promise to add to the extend lifetime promises\n * of the event that triggered the request.\n */\n waitUntil(promise) {\n this._extendLifetimePromises.push(promise);\n return promise;\n }\n /**\n * Returns a promise that resolves once all promises passed to\n * {@link workbox-strategies.StrategyHandler~waitUntil}\n * have settled.\n *\n * Note: any work done after `doneWaiting()` settles should be manually\n * passed to an event's `waitUntil()` method (not this handler's\n * `waitUntil()` method), otherwise the service worker thread my be killed\n * prior to your work completing.\n */\n async doneWaiting() {\n let promise;\n while ((promise = this._extendLifetimePromises.shift())) {\n await promise;\n }\n }\n /**\n * Stops running the strategy and immediately resolves any pending\n * `waitUntil()` promises.\n */\n destroy() {\n this._handlerDeferred.resolve(null);\n }\n /**\n * This method will call cacheWillUpdate on the available plugins (or use\n * status === 200) to determine if the Response is safe and valid to cache.\n *\n * @param {Request} options.request\n * @param {Response} options.response\n * @return {Promise<Response|undefined>}\n *\n * @private\n */\n async _ensureResponseSafeToCache(response) {\n let responseToCache = response;\n let pluginsUsed = false;\n for (const callback of this.iterateCallbacks('cacheWillUpdate')) {\n responseToCache =\n (await callback({\n request: this.request,\n response: responseToCache,\n event: this.event,\n })) || undefined;\n pluginsUsed = true;\n if (!responseToCache) {\n break;\n }\n }\n if (!pluginsUsed) {\n if (responseToCache && responseToCache.status !== 200) {\n responseToCache = undefined;\n }\n if (process.env.NODE_ENV !== 'production') {\n if (responseToCache) {\n if (responseToCache.status !== 200) {\n if (responseToCache.status === 0) {\n logger.warn(`The response for '${this.request.url}' ` +\n `is an opaque response. The caching strategy that you're ` +\n `using will not cache opaque responses by default.`);\n }\n else {\n logger.debug(`The response for '${this.request.url}' ` +\n `returned a status code of '${response.status}' and won't ` +\n `be cached as a result.`);\n }\n }\n }\n }\n }\n return responseToCache;\n }\n}\nexport { StrategyHandler };\n","/*\n Copyright 2019 Google LLC\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\n/**\n * Returns a promise that resolves and the passed number of milliseconds.\n * This utility is an async/await-friendly version of `setTimeout`.\n *\n * @param {number} ms\n * @return {Promise}\n * @private\n */\nexport function timeout(ms) {\n return new Promise((resolve) => setTimeout(resolve, ms));\n}\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\nconst getFriendlyURL = (url) => {\n const urlObj = new URL(String(url), location.href);\n // See https://github.com/GoogleChrome/workbox/issues/2323\n // We want to include everything, except for the origin if it's same-origin.\n return urlObj.href.replace(new RegExp(`^${location.origin}`), '');\n};\nexport { getFriendlyURL };\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { logger } from '../_private/logger.js';\nimport { quotaErrorCallbacks } from '../models/quotaErrorCallbacks.js';\nimport '../_version.js';\n/**\n * Runs all of the callback functions, one at a time sequentially, in the order\n * in which they were registered.\n *\n * @memberof workbox-core\n * @private\n */\nasync function executeQuotaErrorCallbacks() {\n if (process.env.NODE_ENV !== 'production') {\n logger.log(`About to run ${quotaErrorCallbacks.size} ` +\n `callbacks to clean up caches.`);\n }\n for (const callback of quotaErrorCallbacks) {\n await callback();\n if (process.env.NODE_ENV !== 'production') {\n logger.log(callback, 'is complete.');\n }\n }\n if (process.env.NODE_ENV !== 'production') {\n logger.log('Finished running callbacks.');\n }\n}\nexport { executeQuotaErrorCallbacks };\n","/*\n Copyright 2020 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { copyResponse } from 'workbox-core/copyResponse.js';\nimport { cacheNames } from 'workbox-core/_private/cacheNames.js';\nimport { getFriendlyURL } from 'workbox-core/_private/getFriendlyURL.js';\nimport { logger } from 'workbox-core/_private/logger.js';\nimport { WorkboxError } from 'workbox-core/_private/WorkboxError.js';\nimport { Strategy } from 'workbox-strategies/Strategy.js';\nimport './_version.js';\n/**\n * A {@link workbox-strategies.Strategy} implementation\n * specifically designed to work with\n * {@link workbox-precaching.PrecacheController}\n * to both cache and fetch precached assets.\n *\n * Note: an instance of this class is created automatically when creating a\n * `PrecacheController`; it's generally not necessary to create this yourself.\n *\n * @extends workbox-strategies.Strategy\n * @memberof workbox-precaching\n */\nclass PrecacheStrategy extends Strategy {\n /**\n *\n * @param {Object} [options]\n * @param {string} [options.cacheName] Cache name to store and retrieve\n * requests. Defaults to the cache names provided by\n * {@link workbox-core.cacheNames}.\n * @param {Array<Object>} [options.plugins] {@link https://developers.google.com/web/tools/workbox/guides/using-plugins|Plugins}\n * to use in conjunction with this caching strategy.\n * @param {Object} [options.fetchOptions] Values passed along to the\n * {@link https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters|init}\n * of all fetch() requests made by this strategy.\n * @param {Object} [options.matchOptions] The\n * {@link https://w3c.github.io/ServiceWorker/#dictdef-cachequeryoptions|CacheQueryOptions}\n * for any `cache.match()` or `cache.put()` calls made by this strategy.\n * @param {boolean} [options.fallbackToNetwork=true] Whether to attempt to\n * get the response from the network if there's a precache miss.\n */\n constructor(options = {}) {\n options.cacheName = cacheNames.getPrecacheName(options.cacheName);\n super(options);\n this._fallbackToNetwork =\n options.fallbackToNetwork === false ? false : true;\n // Redirected responses cannot be used to satisfy a navigation request, so\n // any redirected response must be \"copied\" rather than cloned, so the new\n // response doesn't contain the `redirected` flag. See:\n // https://bugs.chromium.org/p/chromium/issues/detail?id=669363&desc=2#c1\n this.plugins.push(PrecacheStrategy.copyRedirectedCacheableResponsesPlugin);\n }\n /**\n * @private\n * @param {Request|string} request A request to run this strategy for.\n * @param {workbox-strategies.StrategyHandler} handler The event that\n * triggered the request.\n * @return {Promise<Response>}\n */\n async _handle(request, handler) {\n const response = await handler.cacheMatch(request);\n if (response) {\n return response;\n }\n // If this is an `install` event for an entry that isn't already cached,\n // then populate the cache.\n if (handler.event && handler.event.type === 'install') {\n return await this._handleInstall(request, handler);\n }\n // Getting here means something went wrong. An entry that should have been\n // precached wasn't found in the cache.\n return await this._handleFetch(request, handler);\n }\n async _handleFetch(request, handler) {\n let response;\n const params = (handler.params || {});\n // Fall back to the network if we're configured to do so.\n if (this._fallbackToNetwork) {\n if (process.env.NODE_ENV !== 'production') {\n logger.warn(`The precached response for ` +\n `${getFriendlyURL(request.url)} in ${this.cacheName} was not ` +\n `found. Falling back to the network.`);\n }\n const integrityInManifest = params.integrity;\n const integrityInRequest = request.integrity;\n const noIntegrityConflict = !integrityInRequest || integrityInRequest === integrityInManifest;\n response = await handler.fetch(new Request(request, {\n integrity: integrityInRequest || integrityInManifest,\n }));\n // It's only \"safe\" to repair the cache if we're using SRI to guarantee\n // that the response matches the precache manifest's expectations,\n // and there's either a) no integrity property in the incoming request\n // or b) there is an integrity, and it matches the precache manifest.\n // See https://github.com/GoogleChrome/workbox/issues/2858\n if (integrityInManifest && noIntegrityConflict) {\n this._useDefaultCacheabilityPluginIfNeeded();\n const wasCached = await handler.cachePut(request, response.clone());\n if (process.env.NODE_ENV !== 'production') {\n if (wasCached) {\n logger.log(`A response for ${getFriendlyURL(request.url)} ` +\n `was used to \"repair\" the precache.`);\n }\n }\n }\n }\n else {\n // This shouldn't normally happen, but there are edge cases:\n // https://github.com/GoogleChrome/workbox/issues/1441\n throw new WorkboxError('missing-precache-entry', {\n cacheName: this.cacheName,\n url: request.url,\n });\n }\n if (process.env.NODE_ENV !== 'production') {\n const cacheKey = params.cacheKey || (await handler.getCacheKey(request, 'read'));\n // Workbox is going to handle the route.\n // print the routing details to the console.\n logger.groupCollapsed(`Precaching is responding to: ` + getFriendlyURL(request.url));\n logger.log(`Serving the precached url: ${getFriendlyURL(cacheKey instanceof Request ? cacheKey.url : cacheKey)}`);\n logger.groupCollapsed(`View request details here.`);\n logger.log(request);\n logger.groupEnd();\n logger.groupCollapsed(`View response details here.`);\n logger.log(response);\n logger.groupEnd();\n logger.groupEnd();\n }\n return response;\n }\n async _handleInstall(request, handler) {\n this._useDefaultCacheabilityPluginIfNeeded();\n const response = await handler.fetch(request);\n // Make sure we defer cachePut() until after we know the response\n // should be cached; see https://github.com/GoogleChrome/workbox/issues/2737\n const wasCached = await handler.cachePut(request, response.clone());\n if (!wasCached) {\n // Throwing here will lead to the `install` handler failing, which\n // we want to do if *any* of the responses aren't safe to cache.\n throw new WorkboxError('bad-precaching-response', {\n url: request.url,\n status: response.status,\n });\n }\n return response;\n }\n /**\n * This method is complex, as there a number of things to account for:\n *\n * The `plugins` array can be set at construction, and/or it might be added to\n * to at any time before the strategy is used.\n *\n * At the time the strategy is used (i.e. during an `install` event), there\n * needs to be at least one plugin that implements `cacheWillUpdate` in the\n * array, other than `copyRedirectedCacheableResponsesPlugin`.\n *\n * - If this method is called and there are no suitable `cacheWillUpdate`\n * plugins, we need to add `defaultPrecacheCacheabilityPlugin`.\n *\n * - If this method is called and there is exactly one `cacheWillUpdate`, then\n * we don't have to do anything (this might be a previously added\n * `defaultPrecacheCacheabilityPlugin`, or it might be a custom plugin).\n *\n * - If this method is called and there is more than one `cacheWillUpdate`,\n * then we need to check if one is `defaultPrecacheCacheabilityPlugin`. If so,\n * we need to remove it. (This situation is unlikely, but it could happen if\n * the strategy is used multiple times, the first without a `cacheWillUpdate`,\n * and then later on after manually adding a custom `cacheWillUpdate`.)\n *\n * See https://github.com/GoogleChrome/workbox/issues/2737 for more context.\n *\n * @private\n */\n _useDefaultCacheabilityPluginIfNeeded() {\n let defaultPluginIndex = null;\n let cacheWillUpdatePluginCount = 0;\n for (const [index, plugin] of this.plugins.entries()) {\n // Ignore the copy redirected plugin when determining what to do.\n if (plugin === PrecacheStrategy.copyRedirectedCacheableResponsesPlugin) {\n continue;\n }\n // Save the default plugin's index, in case it needs to be removed.\n if (plugin === PrecacheStrategy.defaultPrecacheCacheabilityPlugin) {\n defaultPluginIndex = index;\n }\n if (plugin.cacheWillUpdate) {\n cacheWillUpdatePluginCount++;\n }\n }\n if (cacheWillUpdatePluginCount === 0) {\n this.plugins.push(PrecacheStrategy.defaultPrecacheCacheabilityPlugin);\n }\n else if (cacheWillUpdatePluginCount > 1 && defaultPluginIndex !== null) {\n // Only remove the default plugin; multiple custom plugins are allowed.\n this.plugins.splice(defaultPluginIndex, 1);\n }\n // Nothing needs to be done if cacheWillUpdatePluginCount is 1\n }\n}\nPrecacheStrategy.defaultPrecacheCacheabilityPlugin = {\n async cacheWillUpdate({ response }) {\n if (!response || response.status >= 400) {\n return null;\n }\n return response;\n },\n};\nPrecacheStrategy.copyRedirectedCacheableResponsesPlugin = {\n async cacheWillUpdate({ response }) {\n return response.redirected ? await copyResponse(response) : response;\n },\n};\nexport { PrecacheStrategy };\n","/*\n Copyright 2020 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { cacheNames } from 'workbox-core/_private/cacheNames.js';\nimport { WorkboxError } from 'workbox-core/_private/WorkboxError.js';\nimport { logger } from 'workbox-core/_private/logger.js';\nimport { getFriendlyURL } from 'workbox-core/_private/getFriendlyURL.js';\nimport { StrategyHandler } from './StrategyHandler.js';\nimport './_version.js';\n/**\n * An abstract base class that all other strategy classes must extend from:\n *\n * @memberof workbox-strategies\n */\nclass Strategy {\n /**\n * Creates a new instance of the strategy and sets all documented option\n * properties as public instance properties.\n *\n * Note: if a custom strategy class extends the base Strategy class and does\n * not need more than these properties, it does not need to define its own\n * constructor.\n *\n * @param {Object} [options]\n * @param {string} [options.cacheName] Cache name to store and retrieve\n * requests. Defaults to the cache names provided by\n * {@link workbox-core.cacheNames}.\n * @param {Array<Object>} [options.plugins] [Plugins]{@link https://developers.google.com/web/tools/workbox/guides/using-plugins}\n * to use in conjunction with this caching strategy.\n * @param {Object} [options.fetchOptions] Values passed along to the\n * [`init`](https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters)\n * of [non-navigation](https://github.com/GoogleChrome/workbox/issues/1796)\n * `fetch()` requests made by this strategy.\n * @param {Object} [options.matchOptions] The\n * [`CacheQueryOptions`]{@link https://w3c.github.io/ServiceWorker/#dictdef-cachequeryoptions}\n * for any `cache.match()` or `cache.put()` calls made by this strategy.\n */\n constructor(options = {}) {\n /**\n * Cache name to store and retrieve\n * requests. Defaults to the cache names provided by\n * {@link workbox-core.cacheNames}.\n *\n * @type {string}\n */\n this.cacheName = cacheNames.getRuntimeName(options.cacheName);\n /**\n * The list\n * [Plugins]{@link https://developers.google.com/web/tools/workbox/guides/using-plugins}\n * used by this strategy.\n *\n * @type {Array<Object>}\n */\n this.plugins = options.plugins || [];\n /**\n * Values passed along to the\n * [`init`]{@link https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters}\n * of all fetch() requests made by this strategy.\n *\n * @type {Object}\n */\n this.fetchOptions = options.fetchOptions;\n /**\n * The\n * [`CacheQueryOptions`]{@link https://w3c.github.io/ServiceWorker/#dictdef-cachequeryoptions}\n * for any `cache.match()` or `cache.put()` calls made by this strategy.\n *\n * @type {Object}\n */\n this.matchOptions = options.matchOptions;\n }\n /**\n * Perform a request strategy and returns a `Promise` that will resolve with\n * a `Response`, invoking all relevant plugin callbacks.\n *\n * When a strategy instance is registered with a Workbox\n * {@link workbox-routing.Route}, this method is automatically\n * called when the route matches.\n *\n * Alternatively, this method can be used in a standalone `FetchEvent`\n * listener by passing it to `event.respondWith()`.\n *\n * @param {FetchEvent|Object} options A `FetchEvent` or an object with the\n * properties listed below.\n * @param {Request|string} options.request A request to run this strategy for.\n * @param {ExtendableEvent} options.event The event associated with the\n * request.\n * @param {URL} [options.url]\n * @param {*} [options.params]\n */\n handle(options) {\n const [responseDone] = this.handleAll(options);\n return responseDone;\n }\n /**\n * Similar to {@link workbox-strategies.Strategy~handle}, but\n * instead of just returning a `Promise` that resolves to a `Response` it\n * it will return an tuple of `[response, done]` promises, where the former\n * (`response`) is equivalent to what `handle()` returns, and the latter is a\n * Promise that will resolve once any promises that were added to\n * `event.waitUntil()` as part of performing the strategy have completed.\n *\n * You can await the `done` promise to ensure any extra work performed by\n * the strategy (usually caching responses) completes successfully.\n *\n * @param {FetchEvent|Object} options A `FetchEvent` or an object with the\n * properties listed below.\n * @param {Request|string} options.request A request to run this strategy for.\n * @param {ExtendableEvent} options.event The event associated with the\n * request.\n * @param {URL} [options.url]\n * @param {*} [options.params]\n * @return {Array<Promise>} A tuple of [response, done]\n * promises that can be used to determine when the response resolves as\n * well as when the handler has completed all its work.\n */\n handleAll(options) {\n // Allow for flexible options to be passed.\n if (options instanceof FetchEvent) {\n options = {\n event: options,\n request: options.request,\n };\n }\n const event = options.event;\n const request = typeof options.request === 'string'\n ? new Request(options.request)\n : options.request;\n const params = 'params' in options ? options.params : undefined;\n const handler = new StrategyHandler(this, { event, request, params });\n const responseDone = this._getResponse(handler, request, event);\n const handlerDone = this._awaitComplete(responseDone, handler, request, event);\n // Return an array of promises, suitable for use with Promise.all().\n return [responseDone, handlerDone];\n }\n async _getResponse(handler, request, event) {\n await handler.runCallbacks('handlerWillStart', { event, request });\n let response = undefined;\n try {\n response = await this._handle(request, handler);\n // The \"official\" Strategy subclasses all throw this error automatically,\n // but in case a third-party Strategy doesn't, ensure that we have a\n // consistent failure when there's no response or an error response.\n if (!response || response.type === 'error') {\n throw new WorkboxError('no-response', { url: request.url });\n }\n }\n catch (error) {\n if (error instanceof Error) {\n for (const callback of handler.iterateCallbacks('handlerDidError')) {\n response = await callback({ error, event, request });\n if (response) {\n break;\n }\n }\n }\n if (!response) {\n throw error;\n }\n else if (process.env.NODE_ENV !== 'production') {\n logger.log(`While responding to '${getFriendlyURL(request.url)}', ` +\n `an ${error instanceof Error ? error.toString() : ''} error occurred. Using a fallback response provided by ` +\n `a handlerDidError plugin.`);\n }\n }\n for (const callback of handler.iterateCallbacks('handlerWillRespond')) {\n response = await callback({ event, request, response });\n }\n return response;\n }\n async _awaitComplete(responseDone, handler, request, event) {\n let response;\n let error;\n try {\n response = await responseDone;\n }\n catch (error) {\n // Ignore errors, as response errors should be caught via the `response`\n // promise above. The `done` promise will only throw for errors in\n // promises passed to `handler.waitUntil()`.\n }\n try {\n await handler.runCallbacks('handlerDidRespond', {\n event,\n request,\n response,\n });\n await handler.doneWaiting();\n }\n catch (waitUntilError) {\n if (waitUntilError instanceof Error) {\n error = waitUntilError;\n }\n }\n await handler.runCallbacks('handlerDidComplete', {\n event,\n request,\n response,\n error: error,\n });\n handler.destroy();\n if (error) {\n throw error;\n }\n }\n}\nexport { Strategy };\n/**\n * Classes extending the `Strategy` based class should implement this method,\n * and leverage the {@link workbox-strategies.StrategyHandler}\n * arg to perform all fetching and cache logic, which will ensure all relevant\n * cache, cache options, fetch options and plugins are used (per the current\n * strategy instance).\n *\n * @name _handle\n * @instance\n * @abstract\n * @function\n * @param {Request} request\n * @param {workbox-strategies.StrategyHandler} handler\n * @return {Promise<Response>}\n *\n * @memberof workbox-strategies.Strategy\n */\n","/*\n Copyright 2019 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { assert } from 'workbox-core/_private/assert.js';\nimport { cacheNames } from 'workbox-core/_private/cacheNames.js';\nimport { logger } from 'workbox-core/_private/logger.js';\nimport { WorkboxError } from 'workbox-core/_private/WorkboxError.js';\nimport { waitUntil } from 'workbox-core/_private/waitUntil.js';\nimport { createCacheKey } from './utils/createCacheKey.js';\nimport { PrecacheInstallReportPlugin } from './utils/PrecacheInstallReportPlugin.js';\nimport { PrecacheCacheKeyPlugin } from './utils/PrecacheCacheKeyPlugin.js';\nimport { printCleanupDetails } from './utils/printCleanupDetails.js';\nimport { printInstallDetails } from './utils/printInstallDetails.js';\nimport { PrecacheStrategy } from './PrecacheStrategy.js';\nimport './_version.js';\n/**\n * Performs efficient precaching of assets.\n *\n * @memberof workbox-precaching\n */\nclass PrecacheController {\n /**\n * Create a new PrecacheController.\n *\n * @param {Object} [options]\n * @param {string} [options.cacheName] The cache to use for precaching.\n * @param {string} [options.plugins] Plugins to use when precaching as well\n * as responding to fetch events for precached assets.\n * @param {boolean} [options.fallbackToNetwork=true] Whether to attempt to\n * get the response from the network if there's a precache miss.\n */\n constructor({ cacheName, plugins = [], fallbackToNetwork = true, } = {}) {\n this._urlsToCacheKeys = new Map();\n this._urlsToCacheModes = new Map();\n this._cacheKeysToIntegrities = new Map();\n this._strategy = new PrecacheStrategy({\n cacheName: cacheNames.getPrecacheName(cacheName),\n plugins: [\n ...plugins,\n new PrecacheCacheKeyPlugin({ precacheController: this }),\n ],\n fallbackToNetwork,\n });\n // Bind the install and activate methods to the instance.\n this.install = this.install.bind(this);\n this.activate = this.activate.bind(this);\n }\n /**\n * @type {workbox-precaching.PrecacheStrategy} The strategy created by this controller and\n * used to cache assets and respond to fetch events.\n */\n get strategy() {\n return this._strategy;\n }\n /**\n * Adds items to the precache list, removing any duplicates and\n * stores the files in the\n * {@link workbox-core.cacheNames|\"precache cache\"} when the service\n * worker installs.\n *\n * This method can be called multiple times.\n *\n * @param {Array<Object|string>} [entries=[]] Array of entries to precache.\n */\n precache(entries) {\n this.addToCacheList(entries);\n if (!this._installAndActiveListenersAdded) {\n self.addEventListener('install', this.install);\n self.addEventListener('activate', this.activate);\n this._installAndActiveListenersAdded = true;\n }\n }\n /**\n * This method will add items to the precache list, removing duplicates\n * and ensuring the information is valid.\n *\n * @param {Array<workbox-precaching.PrecacheController.PrecacheEntry|string>} entries\n * Array of entries to precache.\n */\n addToCacheList(entries) {\n if (process.env.NODE_ENV !== 'production') {\n assert.isArray(entries, {\n moduleName: 'workbox-precaching',\n className: 'PrecacheController',\n funcName: 'addToCacheList',\n paramName: 'entries',\n });\n }\n const urlsToWarnAbout = [];\n for (const entry of entries) {\n // See https://github.com/GoogleChrome/workbox/issues/2259\n if (typeof entry === 'string') {\n urlsToWarnAbout.push(entry);\n }\n else if (entry && entry.revision === undefined) {\n urlsToWarnAbout.push(entry.url);\n }\n const { cacheKey, url } = createCacheKey(entry);\n const cacheMode = typeof entry !== 'string' && entry.revision ? 'reload' : 'default';\n if (this._urlsToCacheKeys.has(url) &&\n this._urlsToCacheKeys.get(url) !== cacheKey) {\n throw new WorkboxError('add-to-cache-list-conflicting-entries', {\n firstEntry: this._urlsToCacheKeys.get(url),\n secondEntry: cacheKey,\n });\n }\n if (typeof entry !== 'string' && entry.integrity) {\n if (this._cacheKeysToIntegrities.has(cacheKey) &&\n this._cacheKeysToIntegrities.get(cacheKey) !== entry.integrity) {\n throw new WorkboxError('add-to-cache-list-conflicting-integrities', {\n url,\n });\n }\n this._cacheKeysToIntegrities.set(cacheKey, entry.integrity);\n }\n this._urlsToCacheKeys.set(url, cacheKey);\n this._urlsToCacheModes.set(url, cacheMode);\n if (urlsToWarnAbout.length > 0) {\n const warningMessage = `Workbox is precaching URLs without revision ` +\n `info: ${urlsToWarnAbout.join(', ')}\\nThis is generally NOT safe. ` +\n `Learn more at https://bit.ly/wb-precache`;\n if (process.env.NODE_ENV === 'production') {\n // Use console directly to display this warning without bloating\n // bundle sizes by pulling in all of the logger codebase in prod.\n console.warn(warningMessage);\n }\n else {\n logger.warn(warningMessage);\n }\n }\n }\n }\n /**\n * Precaches new and updated assets. Call this method from the service worker\n * install event.\n *\n * Note: this method calls `event.waitUntil()` for you, so you do not need\n * to call it yourself in your event handlers.\n *\n * @param {ExtendableEvent} event\n * @return {Promise<workbox-precaching.InstallResult>}\n */\n install(event) {\n // waitUntil returns Promise<any>\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n return waitUntil(event, async () => {\n const installReportPlugin = new PrecacheInstallReportPlugin();\n this.strategy.plugins.push(installReportPlugin);\n // Cache entries one at a time.\n // See https://github.com/GoogleChrome/workbox/issues/2528\n for (const [url, cacheKey] of this._urlsToCacheKeys) {\n const integrity = this._cacheKeysToIntegrities.get(cacheKey);\n const cacheMode = this._urlsToCacheModes.get(url);\n const request = new Request(url, {\n integrity,\n cache: cacheMode,\n credentials: 'same-origin',\n });\n await Promise.all(this.strategy.handleAll({\n params: { cacheKey },\n request,\n event,\n }));\n }\n const { updatedURLs, notUpdatedURLs } = installReportPlugin;\n if (process.env.NODE_ENV !== 'production') {\n printInstallDetails(updatedURLs, notUpdatedURLs);\n }\n return { updatedURLs, notUpdatedURLs };\n });\n }\n /**\n * Deletes assets that are no longer present in the current precache manifest.\n * Call this method from the service worker activate event.\n *\n * Note: this method calls `event.waitUntil()` for you, so you do not need\n * to call it yourself in your event handlers.\n *\n * @param {ExtendableEvent} event\n * @return {Promise<workbox-precaching.CleanupResult>}\n */\n activate(event) {\n // waitUntil returns Promise<any>\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n return waitUntil(event, async () => {\n const cache = await self.caches.open(this.strategy.cacheName);\n const currentlyCachedRequests = await cache.keys();\n const expectedCacheKeys = new Set(this._urlsToCacheKeys.values());\n const deletedURLs = [];\n for (const request of currentlyCachedRequests) {\n if (!expectedCacheKeys.has(request.url)) {\n await cache.delete(request);\n deletedURLs.push(request.url);\n }\n }\n if (process.env.NODE_ENV !== 'production') {\n printCleanupDetails(deletedURLs);\n }\n return { deletedURLs };\n });\n }\n /**\n * Returns a mapping of a precached URL to the corresponding cache key, taking\n * into account the revision information for the URL.\n *\n * @return {Map<string, string>} A URL to cache key mapping.\n */\n getURLsToCacheKeys() {\n return this._urlsToCacheKeys;\n }\n /**\n * Returns a list of all the URLs that have been precached by the current\n * service worker.\n *\n * @return {Array<string>} The precached URLs.\n */\n getCachedURLs() {\n return [...this._urlsToCacheKeys.keys()];\n }\n /**\n * Returns the cache key used for storing a given URL. If that URL is\n * unversioned, like `/index.html', then the cache key will be the original\n * URL with a search parameter appended to it.\n *\n * @param {string} url A URL whose cache key you want to look up.\n * @return {string} The versioned URL that corresponds to a cache key\n * for the original URL, or undefined if that URL isn't precached.\n */\n getCacheKeyForURL(url) {\n const urlObject = new URL(url, location.href);\n return this._urlsToCacheKeys.get(urlObject.href);\n }\n /**\n * @param {string} url A cache key whose SRI you want to look up.\n * @return {string} The subresource integrity associated with the cache key,\n * or undefined if it's not set.\n */\n getIntegrityForCacheKey(cacheKey) {\n return this._cacheKeysToIntegrities.get(cacheKey);\n }\n /**\n * This acts as a drop-in replacement for\n * [`cache.match()`](https://developer.mozilla.org/en-US/docs/Web/API/Cache/match)\n * with the following differences:\n *\n * - It knows what the name of the precache is, and only checks in that cache.\n * - It allows you to pass in an \"original\" URL without versioning parameters,\n * and it will automatically look up the correct cache key for the currently\n * active revision of that URL.\n *\n * E.g., `matchPrecache('index.html')` will find the correct precached\n * response for the currently active service worker, even if the actual cache\n * key is `'/index.html?__WB_REVISION__=1234abcd'`.\n *\n * @param {string|Request} request The key (without revisioning parameters)\n * to look up in the precache.\n * @return {Promise<Response|undefined>}\n */\n async matchPrecache(request) {\n const url = request instanceof Request ? request.url : request;\n const cacheKey = this.getCacheKeyForURL(url);\n if (cacheKey) {\n const cache = await self.caches.open(this.strategy.cacheName);\n return cache.match(cacheKey);\n }\n return undefined;\n }\n /**\n * Returns a function that looks up `url` in the precache (taking into\n * account revision information), and returns the corresponding `Response`.\n *\n * @param {string} url The precached URL which will be used to lookup the\n * `Response`.\n * @return {workbox-routing~handlerCallback}\n */\n createHandlerBoundToURL(url) {\n const cacheKey = this.getCacheKeyForURL(url);\n if (!cacheKey) {\n throw new WorkboxError('non-precached-url', { url });\n }\n return (options) => {\n options.request = new Request(url);\n options.params = Object.assign({ cacheKey }, options.params);\n return this.strategy.handle(options);\n };\n }\n}\nexport { PrecacheController };\n","/*\n Copyright 2019 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { PrecacheController } from '../PrecacheController.js';\nimport '../_version.js';\nlet precacheController;\n/**\n * @return {PrecacheController}\n * @private\n */\nexport const getOrCreatePrecacheController = () => {\n if (!precacheController) {\n precacheController = new PrecacheController();\n }\n return precacheController;\n};\n","/*\n Copyright 2020 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { logger } from 'workbox-core/_private/logger.js';\nimport { getFriendlyURL } from 'workbox-core/_private/getFriendlyURL.js';\nimport { Route } from 'workbox-routing/Route.js';\nimport { generateURLVariations } from './utils/generateURLVariations.js';\nimport './_version.js';\n/**\n * A subclass of {@link workbox-routing.Route} that takes a\n * {@link workbox-precaching.PrecacheController}\n * instance and uses it to match incoming requests and handle fetching\n * responses from the precache.\n *\n * @memberof workbox-precaching\n * @extends workbox-routing.Route\n */\nclass PrecacheRoute extends Route {\n /**\n * @param {PrecacheController} precacheController A `PrecacheController`\n * instance used to both match requests and respond to fetch events.\n * @param {Object} [options] Options to control how requests are matched\n * against the list of precached URLs.\n * @param {string} [options.directoryIndex=index.html] The `directoryIndex` will\n * check cache entries for a URLs ending with '/' to see if there is a hit when\n * appending the `directoryIndex` value.\n * @param {Array<RegExp>} [options.ignoreURLParametersMatching=[/^utm_/, /^fbclid$/]] An\n * array of regex's to remove search params when looking for a cache match.\n * @param {boolean} [options.cleanURLs=true] The `cleanURLs` option will\n * check the cache for the URL with a `.html` added to the end of the end.\n * @param {workbox-precaching~urlManipulation} [options.urlManipulation]\n * This is a function that should take a URL and return an array of\n * alternative URLs that should be checked for precache matches.\n */\n constructor(precacheController, options) {\n const match = ({ request, }) => {\n const urlsToCacheKeys = precacheController.getURLsToCacheKeys();\n for (const possibleURL of generateURLVariations(request.url, options)) {\n const cacheKey = urlsToCacheKeys.get(possibleURL);\n if (cacheKey) {\n const integrity = precacheController.getIntegrityForCacheKey(cacheKey);\n return { cacheKey, integrity };\n }\n }\n if (process.env.NODE_ENV !== 'production') {\n logger.debug(`Precaching did not find a match for ` + getFriendlyURL(request.url));\n }\n return;\n };\n super(match, precacheController.strategy);\n }\n}\nexport { PrecacheRoute };\n","/*\n Copyright 2019 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { removeIgnoredSearchParams } from './removeIgnoredSearchParams.js';\nimport '../_version.js';\n/**\n * Generator function that yields possible variations on the original URL to\n * check, one at a time.\n *\n * @param {string} url\n * @param {Object} options\n *\n * @private\n * @memberof workbox-precaching\n */\nexport function* generateURLVariations(url, { ignoreURLParametersMatching = [/^utm_/, /^fbclid$/], directoryIndex = 'index.html', cleanURLs = true, urlManipulation, } = {}) {\n const urlObject = new URL(url, location.href);\n urlObject.hash = '';\n yield urlObject.href;\n const urlWithoutIgnoredParams = removeIgnoredSearchParams(urlObject, ignoreURLParametersMatching);\n yield urlWithoutIgnoredParams.href;\n if (directoryIndex && urlWithoutIgnoredParams.pathname.endsWith('/')) {\n const directoryURL = new URL(urlWithoutIgnoredParams.href);\n directoryURL.pathname += directoryIndex;\n yield directoryURL.href;\n }\n if (cleanURLs) {\n const cleanURL = new URL(urlWithoutIgnoredParams.href);\n cleanURL.pathname += '.html';\n yield cleanURL.href;\n }\n if (urlManipulation) {\n const additionalURLs = urlManipulation({ url: urlObject });\n for (const urlToAttempt of additionalURLs) {\n yield urlToAttempt.href;\n }\n }\n}\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\n/**\n * Removes any URL search parameters that should be ignored.\n *\n * @param {URL} urlObject The original URL.\n * @param {Array<RegExp>} ignoreURLParametersMatching RegExps to test against\n * each search parameter name. Matches mean that the search parameter should be\n * ignored.\n * @return {URL} The URL with any ignored search parameters removed.\n *\n * @private\n * @memberof workbox-precaching\n */\nexport function removeIgnoredSearchParams(urlObject, ignoreURLParametersMatching = []) {\n // Convert the iterable into an array at the start of the loop to make sure\n // deletion doesn't mess up iteration.\n for (const paramName of [...urlObject.searchParams.keys()]) {\n if (ignoreURLParametersMatching.some((regExp) => regExp.test(paramName))) {\n urlObject.searchParams.delete(paramName);\n }\n }\n return urlObject;\n}\n","/*\n Copyright 2019 Google LLC\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { registerRoute } from 'workbox-routing/registerRoute.js';\nimport { getOrCreatePrecacheController } from './utils/getOrCreatePrecacheController.js';\nimport { PrecacheRoute } from './PrecacheRoute.js';\nimport './_version.js';\n/**\n * Add a `fetch` listener to the service worker that will\n * respond to\n * [network requests]{@link https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API/Using_Service_Workers#Custom_responses_to_requests}\n * with precached assets.\n *\n * Requests for assets that aren't precached, the `FetchEvent` will not be\n * responded to, allowing the event to fall through to other `fetch` event\n * listeners.\n *\n * @param {Object} [options] See the {@link workbox-precaching.PrecacheRoute}\n * options.\n *\n * @memberof workbox-precaching\n */\nfunction addRoute(options) {\n const precacheController = getOrCreatePrecacheController();\n const precacheRoute = new PrecacheRoute(precacheController, options);\n registerRoute(precacheRoute);\n}\nexport { addRoute };\n","/*\n Copyright 2019 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { logger } from 'workbox-core/_private/logger.js';\nimport { WorkboxError } from 'workbox-core/_private/WorkboxError.js';\nimport { Route } from './Route.js';\nimport { RegExpRoute } from './RegExpRoute.js';\nimport { getOrCreateDefaultRouter } from './utils/getOrCreateDefaultRouter.js';\nimport './_version.js';\n/**\n * Easily register a RegExp, string, or function with a caching\n * strategy to a singleton Router instance.\n *\n * This method will generate a Route for you if needed and\n * call {@link workbox-routing.Router#registerRoute}.\n *\n * @param {RegExp|string|workbox-routing.Route~matchCallback|workbox-routing.Route} capture\n * If the capture param is a `Route`, all other arguments will be ignored.\n * @param {workbox-routing~handlerCallback} [handler] A callback\n * function that returns a Promise resulting in a Response. This parameter\n * is required if `capture` is not a `Route` object.\n * @param {string} [method='GET'] The HTTP method to match the Route\n * against.\n * @return {workbox-routing.Route} The generated `Route`.\n *\n * @memberof workbox-routing\n */\nfunction registerRoute(capture, handler, method) {\n let route;\n if (typeof capture === 'string') {\n const captureUrl = new URL(capture, location.href);\n if (process.env.NODE_ENV !== 'production') {\n if (!(capture.startsWith('/') || capture.startsWith('http'))) {\n throw new WorkboxError('invalid-string', {\n moduleName: 'workbox-routing',\n funcName: 'registerRoute',\n paramName: 'capture',\n });\n }\n // We want to check if Express-style wildcards are in the pathname only.\n // TODO: Remove this log message in v4.\n const valueToCheck = capture.startsWith('http')\n ? captureUrl.pathname\n : capture;\n // See https://github.com/pillarjs/path-to-regexp#parameters\n const wildcards = '[*:?+]';\n if (new RegExp(`${wildcards}`).exec(valueToCheck)) {\n logger.debug(`The '$capture' parameter contains an Express-style wildcard ` +\n `character (${wildcards}). Strings are now always interpreted as ` +\n `exact matches; use a RegExp for partial or wildcard matches.`);\n }\n }\n const matchCallback = ({ url }) => {\n if (process.env.NODE_ENV !== 'production') {\n if (url.pathname === captureUrl.pathname &&\n url.origin !== captureUrl.origin) {\n logger.debug(`${capture} only partially matches the cross-origin URL ` +\n `${url.toString()}. This route will only handle cross-origin requests ` +\n `if they match the entire URL.`);\n }\n }\n return url.href === captureUrl.href;\n };\n // If `capture` is a string then `handler` and `method` must be present.\n route = new Route(matchCallback, handler, method);\n }\n else if (capture instanceof RegExp) {\n // If `capture` is a `RegExp` then `handler` and `method` must be present.\n route = new RegExpRoute(capture, handler, method);\n }\n else if (typeof capture === 'function') {\n // If `capture` is a function then `handler` and `method` must be present.\n route = new Route(capture, handler, method);\n }\n else if (capture instanceof Route) {\n route = capture;\n }\n else {\n throw new WorkboxError('unsupported-route-type', {\n moduleName: 'workbox-routing',\n funcName: 'registerRoute',\n paramName: 'capture',\n });\n }\n const defaultRouter = getOrCreateDefaultRouter();\n defaultRouter.registerRoute(route);\n return route;\n}\nexport { registerRoute };\n","/*\n Copyright 2019 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { addRoute } from './addRoute.js';\nimport { precache } from './precache.js';\nimport './_version.js';\n/**\n * This method will add entries to the precache list and add a route to\n * respond to fetch events.\n *\n * This is a convenience method that will call\n * {@link workbox-precaching.precache} and\n * {@link workbox-precaching.addRoute} in a single call.\n *\n * @param {Array<Object|string>} entries Array of entries to precache.\n * @param {Object} [options] See the\n * {@link workbox-precaching.PrecacheRoute} options.\n *\n * @memberof workbox-precaching\n */\nfunction precacheAndRoute(entries, options) {\n precache(entries);\n addRoute(options);\n}\nexport { precacheAndRoute };\n","/*\n Copyright 2019 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { getOrCreatePrecacheController } from './utils/getOrCreatePrecacheController.js';\nimport './_version.js';\n/**\n * Adds items to the precache list, removing any duplicates and\n * stores the files in the\n * {@link workbox-core.cacheNames|\"precache cache\"} when the service\n * worker installs.\n *\n * This method can be called multiple times.\n *\n * Please note: This method **will not** serve any of the cached files for you.\n * It only precaches files. To respond to a network request you call\n * {@link workbox-precaching.addRoute}.\n *\n * If you have a single array of files to precache, you can just call\n * {@link workbox-precaching.precacheAndRoute}.\n *\n * @param {Array<Object|string>} [entries=[]] Array of entries to precache.\n *\n * @memberof workbox-precaching\n */\nfunction precache(entries) {\n const precacheController = getOrCreatePrecacheController();\n precacheController.precache(entries);\n}\nexport { precache };\n"],"names":["self","_","e","messageGenerator","code","args","msg","length","JSON","stringify","WorkboxError","Error","constructor","errorCode","details","super","name","normalizeHandler","handler","handle","Route","match","method","this","setCatchHandler","catchHandler","RegExpRoute","regExp","url","result","exec","href","origin","location","index","slice","Router","_routes","Map","_defaultHandlerMap","routes","addFetchListener","addEventListener","event","request","responsePromise","handleRequest","respondWith","addCacheListener","data","type","payload","requestPromises","Promise","all","urlsToCache","map","entry","Request","waitUntil","ports","then","postMessage","URL","protocol","startsWith","sameOrigin","params","route","findMatchingRoute","has","get","err","reject","_catchHandler","catch","async","catchErr","matchResult","Array","isArray","Object","keys","undefined","setDefaultHandler","set","registerRoute","push","unregisterRoute","routeIndex","indexOf","splice","defaultRouter","_cacheNameDetails","googleAnalytics","precache","prefix","runtime","suffix","registration","scope","_createCacheName","cacheName","filter","value","join","cacheNames","userCacheName","asyncFn","returnPromise","createCacheKey","urlObject","cacheKey","revision","cacheKeyURL","originalURL","searchParams","PrecacheInstallReportPlugin","updatedURLs","notUpdatedURLs","handlerWillStart","state","originalRequest","cachedResponseWillBeUsed","cachedResponse","PrecacheCacheKeyPlugin","precacheController","cacheKeyWillBeUsed","_precacheController","getCacheKeyForURL","headers","supportStatus","copyResponse","response","modifier","clonedResponse","clone","responseInit","Headers","status","statusText","modifiedResponseInit","body","testResponse","Response","error","canConstructResponseFromBodyStream","blob","stripParams","fullURL","ignoreParams","strippedURL","param","delete","Deferred","promise","resolve","quotaErrorCallbacks","Set","toRequest","input","StrategyHandler","strategy","options","_cacheKeys","assign","_strategy","_handlerDeferred","_extendLifetimePromises","_plugins","plugins","_pluginStateMap","plugin","fetch","mode","FetchEvent","preloadResponse","possiblePreloadResponse","hasCallback","cb","iterateCallbacks","thrownErrorMessage","message","pluginFilteredRequest","fetchResponse","fetchOptions","callback","runCallbacks","fetchAndCachePut","responseClone","cachePut","cacheMatch","key","matchOptions","effectiveRequest","getCacheKey","multiMatchOptions","caches","ms","setTimeout","String","replace","RegExp","responseToCache","_ensureResponseSafeToCache","cache","open","hasCacheUpdateCallback","oldResponse","strippedRequestURL","keysOptions","ignoreSearch","cacheKeys","cacheMatchIgnoreParams","put","executeQuotaErrorCallbacks","newResponse","statefulCallback","statefulParam","shift","destroy","pluginsUsed","PrecacheStrategy","responseDone","handleAll","_getResponse","_awaitComplete","_handle","doneWaiting","waitUntilError","_fallbackToNetwork","fallbackToNetwork","copyRedirectedCacheableResponsesPlugin","_handleInstall","_handleFetch","integrityInManifest","integrity","integrityInRequest","noIntegrityConflict","_useDefaultCacheabilityPluginIfNeeded","defaultPluginIndex","cacheWillUpdatePluginCount","entries","defaultPrecacheCacheabilityPlugin","cacheWillUpdate","redirected","PrecacheController","_urlsToCacheKeys","_urlsToCacheModes","_cacheKeysToIntegrities","install","bind","activate","addToCacheList","_installAndActiveListenersAdded","urlsToWarnAbout","cacheMode","firstEntry","secondEntry","warningMessage","console","warn","installReportPlugin","credentials","currentlyCachedRequests","expectedCacheKeys","values","deletedURLs","getURLsToCacheKeys","getCachedURLs","getIntegrityForCacheKey","matchPrecache","createHandlerBoundToURL","getOrCreatePrecacheController","PrecacheRoute","urlsToCacheKeys","possibleURL","ignoreURLParametersMatching","directoryIndex","cleanURLs","urlManipulation","hash","urlWithoutIgnoredParams","paramName","some","test","removeIgnoredSearchParams","pathname","endsWith","directoryURL","cleanURL","additionalURLs","urlToAttempt","generateURLVariations","addRoute","capture","captureUrl","moduleName","funcName"],"mappings":"6CAEA,IACIA,KAAK,uBAAyBC,IAElC,MAAOC,ICEP,MCgBaC,EAdI,CAACC,KAASC,KACnBC,IAAAA,EAAMF,EAIV,OAHIC,EAAKE,OAAS,IACdD,GAAQ,OAAME,KAAKC,UAAUJ,MAE1BC,GCIX,MAAMI,UAAqBC,MASvBC,YAAYC,EAAWC,GAEnBC,MADgBZ,EAAiBU,EAAWC,IAEvCE,KAAAA,KAAOH,EACPC,KAAAA,QAAUA,GC7BvB,IACId,KAAK,0BAA4BC,IAErC,MAAOC,ICWA,MCAMe,EAAoBC,GACzBA,GAA8B,iBAAZA,EASXA,EAWA,CAAEC,OAAQD,GCjBzB,MAAME,EAYFR,YAAYS,EAAOH,EAASI,EFhBH,OE8BrBC,KAAKL,QAAUD,EAAiBC,GAC3BG,KAAAA,MAAQA,EACRC,KAAAA,OAASA,EAOlBE,gBAAgBN,GACZK,KAAKE,aAAeR,EAAiBC,IClC7C,MA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