13.9.1 release

This commit is contained in:
David Benson [draw.io] 2020-11-05 07:00:21 +00:00
parent 7121378ab7
commit 5747ec349c
9 changed files with 310 additions and 283 deletions

View file

@ -1,3 +1,7 @@
04-NOV-2020: 13.9.1
- Improves Lucidchart import
04-NOV-2020: 13.9.0
- Disables Trello in IE11

View file

@ -1 +1 @@
13.9.0
13.9.1

View file

@ -3,13 +3,15 @@
// NOTE: Modified to support data URIs for images, ie. data:image/*
// Modified to allow "word-break: break-word" in styles. It is done by adding "break-word" which is at index 55 of J array J[55] to "cssLitGroup" of "word-break"
// Modified to support justify-content. Add possible values to J array below ["flex-start,flex-end,center,space-between,space-around,initial".split(",")], then in L map (the variable after J), add its definition ["justify-content":{cssPropBits:0,cssLitGroup:[J[81]],cssFns:[]}]
// Added support for flex-direction (next J index is 83)
// Added support for align-items (next J index is 84)
(function(){var c=void 0,n=!0,s=null,C=!1,J=["aliceblue,antiquewhite,aqua,aquamarine,azure,beige,bisque,black,blanchedalmond,blue,blueviolet,brown,burlywood,cadetblue,chartreuse,chocolate,coral,cornflowerblue,cornsilk,crimson,cyan,darkblue,darkcyan,darkgoldenrod,darkgray,darkgreen,darkkhaki,darkmagenta,darkolivegreen,darkorange,darkorchid,darkred,darksalmon,darkseagreen,darkslateblue,darkslategray,darkturquoise,darkviolet,deeppink,deepskyblue,dimgray,dodgerblue,firebrick,floralwhite,forestgreen,fuchsia,gainsboro,ghostwhite,gold,goldenrod,gray,green,greenyellow,honeydew,hotpink,indianred,indigo,ivory,khaki,lavender,lavenderblush,lawngreen,lemonchiffon,lightblue,lightcoral,lightcyan,lightgoldenrodyellow,lightgreen,lightgrey,lightpink,lightsalmon,lightseagreen,lightskyblue,lightslategray,lightsteelblue,lightyellow,lime,limegreen,linen,magenta,maroon,mediumaquamarine,mediumblue,mediumorchid,mediumpurple,mediumseagreen,mediumslateblue,mediumspringgreen,mediumturquoise,mediumvioletred,midnightblue,mintcream,mistyrose,moccasin,navajowhite,navy,oldlace,olive,olivedrab,orange,orangered,orchid,palegoldenrod,palegreen,paleturquoise,palevioletred,papayawhip,peachpuff,peru,pink,plum,powderblue,purple,red,rosybrown,royalblue,saddlebrown,salmon,sandybrown,seagreen,seashell,sienna,silver,skyblue,slateblue,slategray,snow,springgreen,steelblue,tan,teal,thistle,tomato,transparent,turquoise,violet,wheat,white,whitesmoke,yellow,yellowgreen".split(","),
"all-scroll,col-resize,crosshair,default,e-resize,hand,help,move,n-resize,ne-resize,no-drop,not-allowed,nw-resize,pointer,progress,row-resize,s-resize,se-resize,sw-resize,text,vertical-text,w-resize,wait".split(","),"armenian,decimal,decimal-leading-zero,disc,georgian,lower-alpha,lower-greek,lower-latin,lower-roman,square,upper-alpha,upper-latin,upper-roman".split(","),"100,200,300,400,500,600,700,800,900,bold,bolder,lighter".split(","),"block-level,inline-level,table-caption,table-cell,table-column,table-column-group,table-footer-group,table-header-group,table-row,table-row-group".split(","),
"condensed,expanded,extra-condensed,extra-expanded,narrower,semi-condensed,semi-expanded,ultra-condensed,ultra-expanded,wider".split(","),"inherit,inline,inline-block,inline-box,inline-flex,inline-grid,inline-list-item,inline-stack,inline-table,run-in".split(","),"behind,center-left,center-right,far-left,far-right,left-side,leftwards,right-side,rightwards".split(","),"large,larger,small,smaller,x-large,x-small,xx-large,xx-small".split(","),"dashed,dotted,double,groove,outset,ridge,solid".split(","),
"ease,ease-in,ease-in-out,ease-out,linear,step-end,step-start".split(","),"at,closest-corner,closest-side,ellipse,farthest-corner,farthest-side".split(","),"baseline,middle,sub,super,text-bottom,text-top".split(","),"caption,icon,menu,message-box,small-caption,status-bar".split(","),"fast,faster,slow,slower,x-fast,x-slow".split(","),["above","below","higher","level","lower"],["cursive","fantasy","monospace","sans-serif","serif"],["loud","silent","soft","x-loud","x-soft"],["no-repeat","repeat-x","repeat-y",
"round","space"],["blink","line-through","overline","underline"],["block","flex","grid","table"],["high","low","x-high","x-low"],["nowrap","pre","pre-line","pre-wrap"],["absolute","relative","static"],["alternate","alternate-reverse","reverse"],["border-box","content-box","padding-box"],["capitalize","lowercase","uppercase"],["child","female","male"],["=","opacity"],["backwards","forwards"],["bidi-override","embed"],["bottom","top"],["break-all","keep-all"],["clip","ellipsis"],["contain","cover"],
["continuous","digits"],["end","start"],["flat","preserve-3d"],["hide","show"],["horizontal","vertical"],["inside","outside"],["italic","oblique"],["left","right"],["ltr","rtl"],["no-content","no-display"],["paused","running"],["suppress","unrestricted"],["thick","thin"],[","],["/"],["all"],["always"],["auto"],["avoid"],["both"],["break-word"],["center"],["circle"],["code"],["collapse"],["contents"],["fixed"],["hidden"],["infinite"],["inset"],["invert"],["justify"],["list-item"],["local"],["medium"],
["mix"],["none"],["normal"],["once"],["repeat"],["scroll"],["separate"],["small-caps"],["spell-out"],["to"],["visible"], "flex-start,flex-end,center,space-between,space-around,initial".split(",")],L={animation:{cssPropBits:517,cssLitGroup:[J[10],J[24],J[29],J[45],J[48],J[54],J[63],J[71],J[72]],cssFns:["cubic-bezier()","steps()"]},"animation-delay":{cssPropBits:5,cssLitGroup:[J[48]],cssFns:[]},"animation-direction":{cssPropBits:0,cssLitGroup:[J[24],J[48],J[72]],cssFns:[]},"animation-duration":"animation-delay","animation-fill-mode":{cssPropBits:0,cssLitGroup:[J[29],J[48],
["mix"],["none"],["normal"],["once"],["repeat"],["scroll"],["separate"],["small-caps"],["spell-out"],["to"],["visible"], "flex-start,flex-end,center,space-between,space-around,initial".split(","), "row|row-reverse|column|column-reverse|initial".split("|"), "stretch|center|flex-start|flex-end|baseline|initial".split("|")],L={animation:{cssPropBits:517,cssLitGroup:[J[10],J[24],J[29],J[45],J[48],J[54],J[63],J[71],J[72]],cssFns:["cubic-bezier()","steps()"]},"animation-delay":{cssPropBits:5,cssLitGroup:[J[48]],cssFns:[]},"animation-direction":{cssPropBits:0,cssLitGroup:[J[24],J[48],J[72]],cssFns:[]},"animation-duration":"animation-delay","animation-fill-mode":{cssPropBits:0,cssLitGroup:[J[29],J[48],
J[54],J[71]],cssFns:[]},"animation-iteration-count":{cssPropBits:5,cssLitGroup:[J[48],J[63]],cssFns:[]},"animation-name":{cssPropBits:512,cssLitGroup:[J[48],J[71]],cssFns:[]},"animation-play-state":{cssPropBits:0,cssLitGroup:[J[45],J[48]],cssFns:[]},"animation-timing-function":{cssPropBits:0,cssLitGroup:[J[10],J[48]],cssFns:["cubic-bezier()","steps()"]},appearance:{cssPropBits:0,cssLitGroup:[J[71]],cssFns:[]},azimuth:{cssPropBits:5,cssLitGroup:[J[7],J[42],J[56]],cssFns:[]},"backface-visibility":{cssPropBits:0,
cssLitGroup:[J[59],J[62],J[80]],cssFns:[]},background:{cssPropBits:23,cssLitGroup:[J[0],J[18],J[25],J[31],J[34],J[42],J[48],J[49],J[52],J[56],J[61],J[68],J[71],J[74],J[75]],cssFns:"image(),linear-gradient(),radial-gradient(),repeating-linear-gradient(),repeating-radial-gradient(),rgb(),rgba()".split(",")},"background-attachment":{cssPropBits:0,cssLitGroup:[J[48],J[61],J[68],J[75]],cssFns:[]},"background-color":{cssPropBits:2,cssLitGroup:[J[0]],cssFns:["rgb()","rgba()"]},"background-image":{cssPropBits:16,
cssLitGroup:[J[48],J[71]],cssFns:["image()","linear-gradient()","radial-gradient()","repeating-linear-gradient()","repeating-radial-gradient()"]},"background-position":{cssPropBits:5,cssLitGroup:[J[31],J[42],J[48],J[56]],cssFns:[]},"background-repeat":{cssPropBits:0,cssLitGroup:[J[18],J[48],J[74]],cssFns:[]},"background-size":{cssPropBits:5,cssLitGroup:[J[34],J[48],J[52]],cssFns:[]},border:{cssPropBits:7,cssLitGroup:[J[0],J[9],J[47],J[62],J[64],J[69],J[71]],cssFns:["rgb()","rgba()"]},"border-bottom":"border",
@ -30,7 +32,7 @@ cssLitGroup:[J[46],J[71],J[72]],cssFns:[]},top:"bottom",transform:{cssPropBits:0
cssFns:[]},"white-space":{cssPropBits:0,cssLitGroup:[J[22],J[72]],cssFns:[]},width:"min-height","word-break":{cssPropBits:0,cssLitGroup:[J[32],J[72],J[55]],cssFns:[]},"word-spacing":"letter-spacing","word-wrap":"overflow-wrap","z-index":"bottom",zoom:"line-height","cubic-bezier()":"animation-delay","steps()":{cssPropBits:5,cssLitGroup:[J[36],J[48]],cssFns:[]},"image()":{cssPropBits:18,cssLitGroup:[J[0],J[48]],cssFns:["rgb()","rgba()"]},"linear-gradient()":{cssPropBits:7,cssLitGroup:[J[0],J[31],J[42],J[48],
J[79]],cssFns:["rgb()","rgba()"]},"radial-gradient()":{cssPropBits:7,cssLitGroup:[J[0],J[11],J[31],J[42],J[48],J[56],J[57]],cssFns:["rgb()","rgba()"]},"repeating-linear-gradient()":"linear-gradient()","repeating-radial-gradient()":"radial-gradient()","rgb()":{cssPropBits:1,cssLitGroup:[J[48]],cssFns:[]},"rgba()":"rgb()","rect()":{cssPropBits:5,cssLitGroup:[J[48],J[52]],cssFns:[]},"alpha()":{cssPropBits:1,cssLitGroup:[J[28]],cssFns:[]},"matrix()":"animation-delay","perspective()":"border-bottom-left-radius",
"rotate()":"border-bottom-left-radius","rotate3d()":"animation-delay","rotatex()":"border-bottom-left-radius","rotatey()":"border-bottom-left-radius","rotatez()":"border-bottom-left-radius","scale()":"animation-delay","scale3d()":"animation-delay","scalex()":"border-bottom-left-radius","scaley()":"border-bottom-left-radius","scalez()":"border-bottom-left-radius","skew()":"animation-delay","skewx()":"border-bottom-left-radius","skewy()":"border-bottom-left-radius","translate()":"animation-delay","translate3d()":"animation-delay",
"translatex()":"border-bottom-left-radius","translatey()":"border-bottom-left-radius","translatez()":"border-bottom-left-radius", "justify-content":{cssPropBits:0,cssLitGroup:[J[81]],cssFns:[]}},O;for(O in L)"string"===typeof L[O]&&Object.hasOwnProperty.call(L,O)&&(L[O]=L[L[O]]);"undefined"!==typeof window&&(window.cssSchema=L);var U,X;
"translatex()":"border-bottom-left-radius","translatey()":"border-bottom-left-radius","translatez()":"border-bottom-left-radius", "justify-content":{cssPropBits:0,cssLitGroup:[J[81]],cssFns:[]}, "flex-direction":{cssPropBits:0,cssLitGroup:[J[82]],cssFns:[]}, "align-items":{cssPropBits:0,cssLitGroup:[J[83]],cssFns:[]}},O;for(O in L)"string"===typeof L[O]&&Object.hasOwnProperty.call(L,O)&&(L[O]=L[L[O]]);"undefined"!==typeof window&&(window.cssSchema=L);var U,X;
(function(){function g(a){var f=parseInt(a.substring(1),16);return 65535<f?(f-=65536,String.fromCharCode(55296+(f>>10),56320+(f&1023))):f==f?String.fromCharCode(f):" ">a[1]?"":a[1]}function w(a,f){return'"'+a.replace(/[\u0000-\u001f\\\"<>]/g,f)+'"'}function M(a){return E[a]||(E[a]="\\"+a.charCodeAt(0).toString(16)+" ")}function x(a){return e[a]||(e[a]=("\u0010">a?"%0":"%")+a.charCodeAt(0).toString(16))}var E={"\\":"\\\\"},e={"\\":"%5c"},v=RegExp("\\uFEFF|U[+][0-9A-F?]{1,6}(?:-[0-9A-F]{1,6})?|url[(][\\t\\n\\f ]*(?:\"(?:'|[^'\"\\n\\f\\\\]|\\\\[\\s\\S])*\"|'(?:\"|[^'\"\\n\\f\\\\]|\\\\[\\s\\S])*'|(?:[\\t\\x21\\x23-\\x26\\x28-\\x5b\\x5d-\\x7e]|[\\u0080-\\ud7ff\\ue000-\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]|\\\\(?:[0-9a-fA-F]{1,6}[\\t\\n\\f ]?|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]))*)[\\t\\n\\f ]*[)]|(?!url[(])-?(?:[a-zA-Z_]|[\\u0080-\\ud7ff\\ue000-\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]|\\\\(?:[0-9a-fA-F]{1,6}[\\t\\n\\f ]?|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]))(?:[a-zA-Z0-9_-]|[\\u0080-\\ud7ff\\ue000-\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]|\\\\(?:[0-9a-fA-F]{1,6}[\\t\\n\\f ]?|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]))*[(]|(?:@?-?(?:[a-zA-Z_]|[\\u0080-\\ud7ff\\ue000-\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]|\\\\(?:[0-9a-fA-F]{1,6}[\\t\\n\\f ]?|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]))|#)(?:[a-zA-Z0-9_-]|[\\u0080-\\ud7ff\\ue000-\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]|\\\\(?:[0-9a-fA-F]{1,6}[\\t\\n\\f ]?|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]))*|\"(?:'|[^'\"\\n\\f\\\\]|\\\\[\\s\\S])*\"|'(?:\"|[^'\"\\n\\f\\\\]|\\\\[\\s\\S])*'|[-+]?(?:[0-9]+(?:[.][0-9]+)?|[.][0-9]+)(?:%|-?(?:[a-zA-Z_]|[\\u0080-\\ud7ff\\ue000-\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]|\\\\(?:[0-9a-fA-F]{1,6}[\\t\\n\\f ]?|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]))(?:[a-zA-Z0-9_-]|[\\u0080-\\ud7ff\\ue000-\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]|\\\\(?:[0-9a-fA-F]{1,6}[\\t\\n\\f ]?|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]))*)?|<\!--|--\>|[\\t\\n\\f ]+|/(?:[*][^*]*[*]+(?:[^/][^*]*[*]+)*/|/[^\\n\\f]*)|[~|^$*]=|[^\"'\\\\/]|/(?![/*])","gi"),
b=RegExp("\\\\(?:(?:[0-9a-fA-F]{1,6}[\\t\\n\\f ]?|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff])|[\\n\\f])","g"),a=RegExp("^url\\([\\t\\n\\f ]*[\"']?|[\"']?[\\t\\n\\f ]*\\)$","gi");X=function(a){return a.replace(b,g)};U=function(b){for(var b=(""+b).replace(/\r\n?/g,"\n").match(v)||[],f=0,h=" ",d=0,y=b.length;d<y;++d){var l=X(b[d]),V=l.length,g=l.charCodeAt(0),l=34==g||39==g?w(l.substring(1,V-1),M):47==g&&1<V||"\\"==l||"--\>"==l||"<\!--"==l||"\ufeff"==l||32>=g?" ":
/url\(/i.test(l)?"url("+w(l.replace(a,""),x)+")":l;if(h!=l||" "!=l)b[f++]=h=l}b.length=f;return b}})();"undefined"!==typeof window&&(window.lexCss=U,window.decodeCss=X);var Y=function(){function g(d){d=(""+d).match(k);return!d?s:new e(v(d[1]),v(d[2]),v(d[3]),v(d[4]),v(d[5]),v(d[6]),v(d[7]))}function w(d,a){return"string"==typeof d?encodeURI(d).replace(a,M):s}function M(d){d=d.charCodeAt(0);return"%"+"0123456789ABCDEF".charAt(d>>4&15)+"0123456789ABCDEF".charAt(d&15)}function x(d){if(d===s)return s;for(var d=d.replace(/(^|\/)\.(?:\/|$)/g,"$1").replace(/\/{2,}/g,"/"),a=b,h;(h=d.replace(a,"$1"))!=d;d=h);return d}function E(d,h){var b=d.T(),f=h.K();f?b.ga(h.j):f=h.X();
@ -10087,7 +10089,7 @@ g=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});g.classNa
(this.page.viewState.pageFormat=this.format),null!=this.mathEnabled&&(this.page.viewState.mathEnabled=this.mathEnabled),null!=this.shadowVisible&&(this.page.viewState.shadowVisible=this.shadowVisible)):(H.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 J=document.createElement("canvas"),I=new Image;I.onload=function(){try{J.getContext("2d").drawImage(I,0,0);var a=J.toDataURL("image/png");Editor.prototype.useCanvasForExport=null!=a&&6<a.length}catch(M){}};I.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){}})();
(function(){var a=new mxObjectCodec(new ChangePageSetup,["ui","previousColor","previousImage","previousFormat"]);a.beforeDecode=function(a,c,b){b.ui=a.ui;return c};a.afterDecode=function(a,c,b){b.previousColor=b.color;b.previousImage=b.image;b.previousFormat=b.format;null!=b.foldingEnabled&&(b.foldingEnabled=!b.foldingEnabled);null!=b.mathEnabled&&(b.mathEnabled=!b.mathEnabled);null!=b.shadowVisible&&(b.shadowVisible=!b.shadowVisible);return b};mxCodecRegistry.register(a)})();
(function(){var a=new mxObjectCodec(new ChangeGridColor,["ui"]);a.beforeDecode=function(a,c,b){b.ui=a.ui;return c};mxCodecRegistry.register(a)})();(function(){EditorUi.VERSION="13.9.0";EditorUi.compactUi="atlas"!=uiTheme;mxGraphView.prototype.defaultDarkGridColor="#6e6e6e";"dark"==uiTheme&&(mxGraphView.prototype.gridColor=mxGraphView.prototype.defaultDarkGridColor);EditorUi.enableLogging="1"!=urlParams.stealth&&(/.*\.draw\.io$/.test(window.location.hostname)||/.*\.diagrams\.net$/.test(window.location.hostname))&&"support.draw.io"!=window.location.hostname;EditorUi.drawHost=window.DRAWIO_BASE_URL;EditorUi.lightboxHost=window.DRAWIO_LIGHTBOX_URL;
(function(){var a=new mxObjectCodec(new ChangeGridColor,["ui"]);a.beforeDecode=function(a,c,b){b.ui=a.ui;return c};mxCodecRegistry.register(a)})();(function(){EditorUi.VERSION="13.9.1";EditorUi.compactUi="atlas"!=uiTheme;mxGraphView.prototype.defaultDarkGridColor="#6e6e6e";"dark"==uiTheme&&(mxGraphView.prototype.gridColor=mxGraphView.prototype.defaultDarkGridColor);EditorUi.enableLogging="1"!=urlParams.stealth&&(/.*\.draw\.io$/.test(window.location.hostname)||/.*\.diagrams\.net$/.test(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="1"==urlParams.dev?"/cache":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.enableDrafts=!mxClient.IS_CHROMEAPP&&!EditorUi.isElectronApp&&isLocalStorage&&"0"!=urlParams.drafts;EditorUi.scratchpadHelpLink="https://desk.draw.io/support/solutions/articles/16000042367";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"}};EditorUi.logError=function(a,b,c,d,f,g,q){g=null!=g?g:0<=a.indexOf("NetworkError")||0<=a.indexOf("SecurityError")||0<=a.indexOf("NS_ERROR_FAILURE")||0<=a.indexOf("out of memory")?"CONFIG":"SEVERE";if(EditorUi.enableLogging&&"1"!=urlParams.dev)try{if(a!=EditorUi.lastErrorMessage&&(null==a||null==b||-1==a.indexOf("Script error")&&

View file

@ -3923,16 +3923,17 @@ LucidImporter = {};
if (!listActive)
{
var tmp = styles['a']? styles['a'].v : 'center';
var jc = tmp;
if (tmp == 'left')
{
tmp = 'flex-start';
jc = 'flex-start';
}
else if (tmp == 'right')
{
tmp = 'flex-end';
jc = 'flex-end';
}
str += 'display: flex; justify-content: ' + tmp + ';';
str += 'display: flex; font-size: 0; line-height: 1; align-items: baseline; justify-content: ' + jc + '; text-align: ' + tmp + ';';
}
if (styles['il'])
@ -3956,7 +3957,13 @@ LucidImporter = {};
}
str += '">';
if (!listActive)
{
str += '<span>';
openBlockTags.push('span');
}
return str;
};
@ -3984,10 +3991,7 @@ LucidImporter = {};
openTags.push('span');
tagCount++;
if (styles['s'])
{
str += 'font-size:' + Math.floor(styles['s'].v * scale) + 'px;';
}
str += 'font-size:' + (styles['s']? Math.floor(styles['s'].v * scale) : defaultFontSize) + 'px;';
if (styles['c'])
{
@ -4128,7 +4132,9 @@ LucidImporter = {};
if (curS - curE > 0)
{
html += endTag(txt, curE, curS);
//NOTE: After the fix in end where we add dummy start and end, this shouldn't be called
//End any open tag and add remaining text with current style
html += startTag(curStyles) + endTag(txt, curE, curS);
}
while(s != null && s.s == curS)
@ -4153,6 +4159,13 @@ LucidImporter = {};
html += endTag(txt, curS, curE);
curS = curE;
//Next start should be immidiately after this end or we add a dummy one
if (openTagsCount.length == 0 && (s == null || s.s != curE))
{
m.splice(i, 0, {s: curE, n: 'dummy', v: ''});
ends.splice(j, 0, {e: s? s.s : maxE, n: 'dummy', v: ''});
}
}
else
{
@ -4328,7 +4341,7 @@ LucidImporter = {};
function getLabelStyle(properties, noLblStyle)
{
var style = 'whiteSpace=wrap;' + (noLblStyle? 'overflow=block;html=1;' :
var style = 'whiteSpace=wrap;' + (noLblStyle? 'overflow=block;html=1;fontSize=' + defaultFontSize + ';' :
getFontSize(properties) +
getFontColor(properties) +
getFontStyle(properties) +
@ -4354,8 +4367,10 @@ LucidImporter = {};
}
s += 'whiteSpace=wrap;' +
(noLblStyle? (hasStyle(style, 'overflow')? '' : 'overflow=block;') + (hasStyle(style, 'html')? '' : 'html=1;') :
addStyle(mxConstants.STYLE_FONTSIZE, style, properties, action, cell) +
(noLblStyle? (hasStyle(style, 'overflow')? '' : 'overflow=block;') +
(hasStyle(style, 'html')? '' : 'html=1;') + 'fontSize=' + defaultFontSize + ';'
:
addStyle(mxConstants.STYLE_FONTSIZE, style, properties, action, cell) +
addStyle(mxConstants.STYLE_FONTCOLOR, style, properties, action, cell) +
addStyle(mxConstants.STYLE_FONTSTYLE, style, properties, action, cell) +
addStyle(mxConstants.STYLE_ALIGN, style, properties, action, cell) +
@ -4363,7 +4378,7 @@ LucidImporter = {};
addStyle(mxConstants.STYLE_SPACING_RIGHT, style, properties, action, cell) +
addStyle(mxConstants.STYLE_SPACING_TOP, style, properties, action, cell) +
addStyle(mxConstants.STYLE_SPACING_BOTTOM, style, properties, action, cell)
) +
) +
addStyle(mxConstants.STYLE_SPACING, style, properties, action, cell) +
addStyle(mxConstants.STYLE_VERTICAL_ALIGN, style, properties, action, cell) +
addStyle(mxConstants.STYLE_STROKECOLOR, style, properties, action, cell) +
@ -6529,7 +6544,7 @@ LucidImporter = {};
if (hasTxt)
{
v.value = convertText(p[mainTxtFld]);
v.style += (isLastLblHTML? 'overflow=block;' :
v.style += (isLastLblHTML? 'overflow=block;fontSize=' + defaultFontSize + ';' :
getFontSize(p[mainTxtFld]) +
getFontColor(p[mainTxtFld]) +
getFontStyle(p[mainTxtFld]) +
@ -6576,7 +6591,7 @@ LucidImporter = {};
lane[j].value = convertText(p[curLane]);
lane[j].style +=
addAllStyles(lane[j].style, p, a, lane[j], isLastLblHTML) +
(isLastLblHTML? '' :
(isLastLblHTML? 'fontSize=' + defaultFontSize + ';' :
getFontSize(p[curLane]) +
getFontColor(p[curLane]) +
getFontStyle(p[curLane]) +
@ -6676,7 +6691,7 @@ LucidImporter = {};
r.value = convertText(p[curRow]);
r.style +=
addAllStyles(r.style, p, a, r, isLastLblHTML) +
(isLastLblHTML? '' :
(isLastLblHTML? 'fontSize=' + defaultFontSize + ';' :
getFontSize(p[curRow]) +
getFontColor(p[curRow]) +
getFontStyle(p[curRow]) +
@ -6714,7 +6729,7 @@ LucidImporter = {};
c.value = convertText(p[curCol]);
c.style +=
addAllStyles(c.style, p, a, c, isLastLblHTML) +
(isLastLblHTML? '' :
(isLastLblHTML? 'fontSize=' + defaultFontSize + ';' :
getFontSize(p[curCol]) +
getFontColor(p[curCol]) +
getFontStyle(p[curCol]) +
@ -7510,7 +7525,7 @@ LucidImporter = {};
v.insert(tab[i]);
tab[i].value = convertText(p["Tab_" + i]);
tab[i].style += (isLastLblHTML? 'overflow=block;html=1;' :
tab[i].style += (isLastLblHTML? 'overflow=block;html=1;fontSize=' + defaultFontSize + ';' :
getFontSize(p["Tab_" + i]) +
getFontColor(p["Tab_" + i]) +
getFontStyle(p["Tab_" + i]) +
@ -7787,7 +7802,7 @@ LucidImporter = {};
case 'iOSBasicCell' :
v.value = convertText(p.text);
v.style += 'shape=partialRectangle;left=0;top=0;right=0;fillColor=#ffffff;strokeColor=#C8C7CC;spacing=0;align=left;spacingLeft=' + (p.SeparatorInset * scale) + ';';
v.style += (isLastLblHTML? '' :
v.style += (isLastLblHTML? 'fontSize=' + defaultFontSize + ';' :
getFontSize(p.text) +
getFontColor(p.text) +
getFontStyle(p.text)) +
@ -7834,7 +7849,7 @@ LucidImporter = {};
case 'iOSSubtitleCell' :
v.style += 'shape=partialRectangle;left=0;top=0;right=0;fillColor=#ffffff;strokeColor=#C8C7CC;align=left;spacing=0;verticalAlign=top;spacingLeft=' + (p.SeparatorInset * scale) + ';';
v.value = convertText(p.subtext);
v.style += (isLastLblHTML? '' :
v.style += (isLastLblHTML? 'fontSize=' + defaultFontSize + ';' :
getFontSize(p.subtext) +
getFontColor(p.subtext) +
getFontStyle(p.subtext));
@ -7844,8 +7859,8 @@ LucidImporter = {};
subtext.vertex = true;
v.insert(subtext);
subtext.value = convertText(p.text);
subtext.style += (isLastLblHTML? 'html=1;' :
getFontSize(p.text) +
subtext.style += (isLastLblHTML? 'html=1;fontSize=' + defaultFontSize + ';':
getFontSize(p.text) +
getFontColor(p.text) +
getFontStyle(p.text));
@ -7889,8 +7904,8 @@ LucidImporter = {};
case 'iOSRightDetailCell' :
v.style += 'shape=partialRectangle;left=0;top=0;right=0;fillColor=#ffffff;strokeColor=#C8C7CC;align=left;spacing=0;verticalAlign=middle;spacingLeft=' + (p.SeparatorInset * scale) + ';';
v.value = convertText(p.subtext);
v.style += (isLastLblHTML? '' :
getFontSize(p.subtext) +
v.style += (isLastLblHTML? 'fontSize=' + defaultFontSize + ';' :
getFontSize(p.subtext) +
getFontColor(p.subtext) +
getFontStyle(p.subtext));
v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
@ -7946,8 +7961,8 @@ LucidImporter = {};
subtext.vertex = true;
v.insert(subtext);
subtext.value = convertText(p.text);
subtext.style += (isLastLblHTML? 'html=1;' :
getFontSize(p.text) +
subtext.style += (isLastLblHTML? 'html=1;fontSize=' + defaultFontSize + ';' :
getFontSize(p.text) +
getFontColor(p.text) +
getFontStyle(p.text));
@ -7961,8 +7976,8 @@ LucidImporter = {};
text.vertex = true;
v.insert(text);
text.value = convertText(p.subtext);
text.style += (isLastLblHTML? 'html=1;' :
getFontSize(p.subtext) +
text.style += (isLastLblHTML? 'html=1;fontSize=' + defaultFontSize + ';' :
getFontSize(p.subtext) +
getFontColor(p.subtext) +
getFontStyle(p.subtext));
@ -7970,8 +7985,8 @@ LucidImporter = {};
subtext.vertex = true;
v.insert(subtext);
subtext.value = convertText(p.text);
subtext.style += (isLastLblHTML? 'html=1;' :
getFontSize(p.text) +
subtext.style += (isLastLblHTML? 'html=1;fontSize=' + defaultFontSize + ';' :
getFontSize(p.text) +
getFontColor(p.text) +
getFontStyle(p.text));
@ -8019,7 +8034,7 @@ LucidImporter = {};
text1.vertex = true;
v.insert(text1);
text1.value = convertText(p.text);
text1.style += (isLastLblHTML? 'html=1;' :
text1.style += (isLastLblHTML? 'html=1;fontSize=' + defaultFontSize + ';' :
getFontSize(p.text) +
getFontColor(p.text) +
getFontStyle(p.text));
@ -8028,7 +8043,7 @@ LucidImporter = {};
text2.vertex = true;
v.insert(text2);
text2.value = convertText(p["bottom-text"]);
text2.style += (isLastLblHTML? 'html=1;' :
text2.style += (isLastLblHTML? 'html=1;fontSize=' + defaultFontSize + ';' :
getFontSize(p["bottom-text"]) +
getFontColor(p["bottom-text"]) +
getFontStyle(p["bottom-text"]));
@ -8038,8 +8053,8 @@ LucidImporter = {};
case 'iOSTablePlainHeaderFooter' :
v.style += 'fillColor=#F7F7F7;strokeColor=none;align=left;spacingLeft=5;spacing=0;';
v.value = convertText(p.text);
v.style += (isLastLblHTML? '' :
getFontSize(p.text) +
v.style += (isLastLblHTML? 'fontSize=' + defaultFontSize + ';' :
getFontSize(p.text) +
getFontColor(p.text) +
getFontStyle(p.text));
v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
@ -8895,7 +8910,7 @@ LucidImporter = {};
cell.value = convertText(cellLbl);
cell.style +=
addAllStyles(cell.style, p, a, cell, isLastLblHTML) +
(isLastLblHTML? '' :
(isLastLblHTML? 'fontSize=' + defaultFontSize + ';' :
getFontSize(cellLbl) +
getFontColor(cellLbl) +
getFontStyle(cellLbl) +
@ -10356,7 +10371,6 @@ LucidImporter = {};
v.insert(item1);
item1.value = convertText(p.PoweredText);
item1.style += (isLastLblHTML? '' :
'fontSize=6;' +
getFontColor(p.PoweredText) +
getFontStyle(p.PoweredText) +
getTextAlignment(p.PoweredText) +
@ -10365,6 +10379,7 @@ LucidImporter = {};
getTextBottomSpacing(p.PoweredText) +
getTextGlobalSpacing(p.PoweredText)
) +
'fontSize=6;' +
getTextVerticalAlignment(p.PoweredText);
item1.style += addAllStyles(item1.style, p, a, item1, isLastLblHTML);
}
@ -10453,7 +10468,7 @@ LucidImporter = {};
case 'UI2WindowBlock' :
v.value = convertText(p.Title);
v.style += 'shape=mxgraph.mockup.containers.window;mainText=;align=center;verticalAlign=top;spacing=5;' +
(isLastLblHTML? '' :
(isLastLblHTML? 'fontSize=' + defaultFontSize + ';' :
getFontSize(p.Title) +
getFontColor(p.Title) +
getFontStyle(p.Title));

View file

@ -1,159 +1,160 @@
LucidImporter={};
(function(){function f(a,b){function d(a){var b="",d=a.t,k=a.l||{};if(null==d||0!=ya&&ya==d.v&&l==k.v)null==d&&(ya&&(b+=c(!0),ya=!1),b+='<div style="',E.push("div"));else{ya&&(b+=c(!0));ya=d.v;l=k.v;"ul"==d.v?(b+="<ul ",E.push("ul")):(b+="<ol ",E.push("ol"));b+='style="margin: 0px; padding: 10px;list-style-position: inside; list-style-type:';if("hl"==d.v)b+="upper-roman";else switch(k.v){case "auto":b+="disc";break;case "inv":b+="circle";break;case "disc":b+="circle";break;case "trib":b+="square";
break;case "square":b+="square";break;case "dash":b+="square";break;case "heart":b+="disc";break;default:b+="decimal"}b+='">'}null!=d&&(b+='<li style="text-align:'+(a.a?a.a.v:"center")+'">',E.push("li"),b+='<span style="',E.push("span"));ya||(d=a.a?a.a.v:"center","left"==d?d="flex-start":"right"==d&&(d="flex-end"),b+="display: flex; justify-content: "+d+";");a.il&&(b+="margin-left: "+Math.max(0,Math.round(.6*a.il.v-(ya?28:0)))+"px;");a.ir&&(b+="margin-right: "+Math.round(.6*a.ir.v)+"px;");a.mt&&(b+=
"margin-top: "+Math.round(.6*a.mt.v)+"px;");a.mb&&(b+="margin-bottom: "+Math.round(.6*a.mb.v)+"px;");return b+'">'}function k(a){if(0==Object.keys(a).length)return"";var b="",d=0;if(a.lk){var k=a.lk;null!=k.v&&0<k.v.length&&"ext"==k.v[0].tp&&(b+='<a href="'+k.v[0].url+'">',A.push("a"),d++)}b+='<span style="';A.push("span");d++;a.s&&(b+="font-size:"+Math.floor(.6*a.s.v)+"px;");a.c&&(k=a.c.v,null!=k&&("#"!=k.charAt(0)&&(k="#"+k),k=k.substring(0,7),b+="color:"+k+";"));if(a.b&&a.b.v||a.fc&&a.fc.v&&0==
a.fc.v.indexOf("Bold"))b+="font-weight: bold;";a.i&&a.i.v&&(b+="font-style: italic;");a.u&&a.u.v&&(b+="text-decoration: underline;");b+='">';D.push(d);return b}function c(a){var b="";do{var d=E.pop();if(!a&&ya&&("ul"==d||"ol"==d)){E.push(d);break}b+="</"+d+">"}while(0<E.length);return b}function n(a,b,d,k){a=a?a.substring(b,d):"";ya&&(a=a.trim());a=a.replace(/</g,"&lt;").replace(/>/g,"&gt;");do for(b=D.pop(),d=0;d<b;d++){var c=A.pop();a+="</"+c+">"}while(k&&0<A.length);return a}var f={a:!0,il:!0,
ir:!0,mt:!0,mb:!0,p:!0,t:!0,l:!0},w={lk:!0,s:!0,c:!0,b:!0,fc:!0,i:!0,u:!0};b.sort(function(a,b){return a.s-b.s});for(var m=b.filter(function(a){return w[a.n]}),x=b.filter(function(a){return f[a.n]}),z=[0],g=0;0<(g=a.indexOf("\n",g));)g++,z.push(g);for(var p=0,g=0;g<x.length;g++){if(x[g].s>z[p])x.splice(g,0,{s:z[p],n:"a",v:"center"});else{for(;g<x.length&&x[g].s==z[p];)g++;g--}p++}null!=z[p]&&x.push({s:z[p],n:"a",v:"center"});z="";p=m.slice();p.sort(function(a,b){return a.e-b.e});for(var va=g=0,B=
0,e={},C={},A=[],D=[],E=[],T=!1,ya=!1,l,y=0,S=0,N=a.length,ca=!0;B<x.length||ca;){ca=!1;if(B<x.length){var M=x[B],R=x[B].s;T&&(C={},z+=n(a,N,y,!0),y=N,z+=c());for(;null!=M&&M.s==R;)C[M.n]=M,M=x[++B];N=null!=M?M.s:a.length;z+=d(C);T&&(z+=k(e));T=!0}for(;g>=va&&(g<m.length||va<p.length);)if(M=m[g],R=p[va],M&&R&&M.s<R.e){if(M.s>N)break;y=M.s;for(0<y-S&&(z+=n(a,S,y));null!=M&&M.s==y;)e[M.n]=M,M=m[++g];z+=k(e)}else if(R){if(R.e>N)break;S=R.e;do delete e[R.n],R=p[++va];while(null!=R&&R.e==S);z+=n(a,y,S);
y=S}else break}z+=n(null,null,null,!0);T&&(z+=c(!0));return z}function g(a){y=!1;var b=null!=a.Text?a.Text:null!=a.Value?a.Value:a.Lane_0;null==b&&null!=a.State?null!=a.State.t&&(b=a.State):null==b&&null!=a.Note?null!=a.Note.t&&(b=a.Note):null==b&&null!=a.Title?null!=a.Title.t&&(b=a.Title):null!=a.t&&(b=a);null==b&&null!=a.TextAreas?null!=a.TextAreas.Text&&null!=a.TextAreas.Text.Value&&null!=a.TextAreas.Text.Value.t&&(b=a.TextAreas.Text.Value):null==b&&null!=a.t0&&null!=a.t0.t&&(b=a.t0);if(null!=
b){if(null!=b.t){a=b.t;a=a.replace(/\u2028/g,"\n");b=b.m;try{for(var d=0;d<b.length;d++)if(0<b[d].s||null!=b[d].e&&b[d].e<a.length||"t"==b[d].n){y=!0;break}if(y)return f(a,b)}catch(Rb){console.log(Rb)}a=a.replace(/</g,"&lt;");return a=a.replace(/>/g,"&gt;")}if(null!=b.Value&&null!=b.Value.t)return b.Value.t=b.Value.t.replace(/</g,"&lt;"),b.Value.t=b.Value.t.replace(/>/g,"&gt;"),b.Value.t}return""}function p(a){return null!=a.Action?a.Action:a}function e(a){if(null!=a.Text){if(null!=a.Text.m)return a.Text.m}else if(null!=
a.TextAreas){if(null!=a.TextAreas.Text&&null!=a.TextAreas.Text.Value&&null!=a.TextAreas.Text.Value.m)return a.TextAreas.Text.Value.m}else{if(null!=a.m)return a.m;if(null!=a.Title&&null!=a.Title.m)return a.Title.m}return null}function m(b,c){return"whiteSpace=wrap;"+(c?"overflow=block;html=1;":a(b)+d(b)+k(b)+w(b)+x(b)+z(b)+B(b)+A(b))+C(b)+D(b)}function c(a,d,k,c,n){var h="";null!=a&&""!=a&&";"!=a.charAt(a.length-1)&&(h=";");return h+="whiteSpace=wrap;"+(n?(dc(a,"overflow")?"":"overflow=block;")+(dc(a,
"html")?"":"html=1;"):b(mxConstants.STYLE_FONTSIZE,a,d,k,c)+b(mxConstants.STYLE_FONTCOLOR,a,d,k,c)+b(mxConstants.STYLE_FONTSTYLE,a,d,k,c)+b(mxConstants.STYLE_ALIGN,a,d,k,c)+b(mxConstants.STYLE_SPACING_LEFT,a,d,k,c)+b(mxConstants.STYLE_SPACING_RIGHT,a,d,k,c)+b(mxConstants.STYLE_SPACING_TOP,a,d,k,c)+b(mxConstants.STYLE_SPACING_BOTTOM,a,d,k,c))+b(mxConstants.STYLE_SPACING,a,d,k,c)+b(mxConstants.STYLE_VERTICAL_ALIGN,a,d,k,c)+b(mxConstants.STYLE_STROKECOLOR,a,d,k,c)+b(mxConstants.STYLE_OPACITY,a,d,k,c)+
b(mxConstants.STYLE_ROUNDED,a,d,k,c)+b(mxConstants.STYLE_ROTATION,a,d,k,c)+b(mxConstants.STYLE_FLIPH,a,d,k,c)+b(mxConstants.STYLE_FLIPV,a,d,k,c)+b(mxConstants.STYLE_SHADOW,a,d,k,c)+b(mxConstants.STYLE_FILLCOLOR,a,d,k,c)+b(mxConstants.STYLE_DASHED,a,d,k,c)+b(mxConstants.STYLE_STROKEWIDTH,a,d,k,c)+b(mxConstants.STYLE_IMAGE,a,d,k,c)}function b(b,c,n,f,h){if(!dc(c,b))switch(b){case mxConstants.STYLE_FONTSIZE:return a(n);case mxConstants.STYLE_FONTCOLOR:return d(n);case mxConstants.STYLE_FONTSTYLE:return k(n);
case mxConstants.STYLE_ALIGN:return w(n);case mxConstants.STYLE_SPACING_LEFT:return x(n);case mxConstants.STYLE_SPACING_RIGHT:return z(n);case mxConstants.STYLE_SPACING_TOP:return B(n);case mxConstants.STYLE_SPACING_BOTTOM:return A(n);case mxConstants.STYLE_SPACING:return C(n);case mxConstants.STYLE_VERTICAL_ALIGN:return D(n);case mxConstants.STYLE_STROKECOLOR:return E(n,f);case mxConstants.STYLE_OPACITY:return O(n,f,h);case mxConstants.STYLE_ROUNDED:return b=!h.edge&&!h.style.includes("rounded")&&
null!=n.Rounding&&0<n.Rounding?"rounded=1;absoluteArcSize=1;arcSize="+Math.round(.6*n.Rounding)+";":"",b;case mxConstants.STYLE_ROTATION:return T(n,f,h);case mxConstants.STYLE_FLIPH:return b=n.FlipX?"flipH=1;":"",b;case mxConstants.STYLE_FLIPV:return b=n.FlipY?"flipV=1;":"",b;case mxConstants.STYLE_SHADOW:return ca(n);case mxConstants.STYLE_FILLCOLOR:return M(n,f);case mxConstants.STYLE_DASHED:return ma(n);case mxConstants.STYLE_STROKEWIDTH:return ea(n);case mxConstants.STYLE_IMAGE:return ec(n,f)}return""}
function a(a){a=e(a);if(null!=a)for(var b=0;b<a.length;){var d=a[b];if("s"==d.n&&null!=d.v)return"fontSize="+Math.floor(.6*d.v)+";";b++}return"fontSize=11;"}function d(a){a=e(a);if(null!=a)for(var b=0;b<a.length;){var d=a[b];if("c"==d.n&&null!=d.v)return a=d.v,"#"!=a.charAt(0)&&(a="#"+a),a=a.substring(0,7),mxConstants.STYLE_FONTCOLOR+"="+a+";";b++}return""}function k(a){return n(e(a))}function n(a){if(null!=a){var b=0,d=!1;if(null!=a)for(var k=0;!d&&k<a.length;){var c=a[k];"b"==c.n?null!=c.v&&c.v&&
(d=!0,b+=1):"fc"==c.n&&"Bold"==c.v&&(d=!0,b+=1);k++}d=!1;if(null!=a)for(k=0;!d&&k<a.length;)c=a[k],"i"==c.n&&null!=c.v&&c.v&&(d=!0,b+=2),k++;d=!1;if(null!=a)for(k=0;!d&&k<a.length;)c=a[k],"u"==c.n&&null!=c.v&&c.v&&(d=!0,b+=4),k++;if(0<b)return"fontStyle="+b+";"}return""}function w(a){a=e(a);if(null!=a)for(var b=0;b<a.length;){var d=a[b];if("a"==d.n&&null!=d.v)return"align="+d.v+";";b++}return""}function x(a){var b=e(a);if(null!=b)for(var d=0;d<b.length;){var k=b[d];if(null!=k.v){if("il"==k.n)return"spacingLeft="+
.6*k.v+";";w(a)}d++}return""}function z(a){a=e(a);if(null!=a)for(var b=0;b<a.length;){var d=a[b];if("ir"==d.n&&null!=d.v)return"spacingRight="+d.v+";";b++}return""}function B(a){a=e(a);if(null!=a)for(var b=0;b<a.length;){var d=a[b];if("mt"==d.n&&null!=d.v)return"spacingTop="+d.v+";";b++}return""}function A(a){a=e(a);if(null!=a)for(var b=0;b<a.length;){var d=a[b];if("mb"==d.n&&null!=d.v)return"spacingBottom="+d.v+";";b++}return""}function C(a){return"number"===typeof a.InsetMargin?"spacing="+Math.max(0,
Math.round(.6*parseInt(a.InsetMargin)))+";":""}function D(a){return null!=a.Text_VAlign&&"string"===typeof a.Text_VAlign?"verticalAlign="+a.Text_VAlign+";":null!=a.Title_VAlign&&"string"===typeof a.Title_VAlign?"verticalAlign="+a.Title_VAlign+";":Fa(mxConstants.STYLE_VERTICAL_ALIGN,a.TextVAlign,"middle")}function E(a,b){return 0==a.LineWidth?mxConstants.STYLE_STROKECOLOR+"=none;":Fa(mxConstants.STYLE_STROKECOLOR,S(a.LineColor),"#000000")}function G(a){return null!=a?mxConstants.STYLE_FILLCOLOR+"="+
S(a)+";":""}function N(a){return null!=a?"swimlaneFillColor="+S(a)+";":""}function O(a,b,d){b="";if("string"===typeof a.LineColor&&7<a.LineColor.length){var k="0x"+a.LineColor.substring(a.LineColor.length-2,a.LineColor.length);d.style.includes("strokeOpacity")||(b+="strokeOpacity="+Math.round(parseInt(k)/2.55)+";")}"string"===typeof a.FillColor&&7<a.FillColor.length&&(a="0x"+a.FillColor.substring(a.FillColor.length-2,a.FillColor.length),d.style.includes("fillOpacity")||(b+="fillOpacity="+Math.round(parseInt(a)/
2.55)+";"));return b}function T(a,b,d){var k="";if(null!=a.Rotation){a=mxUtils.toDegree(parseFloat(a.Rotation));var c=!0;0!=a&&("UMLSwimLaneBlockV2"==b.Class||(0<=b.Class.indexOf("Rotated")||-90==a||270==a)&&(0<=b.Class.indexOf("Pool")||0<=b.Class.indexOf("SwimLane")))?(a+=90,d.geometry.rotate90(),d.geometry.isRotated=!0,c=!1):0<=mxUtils.indexOf(md,b.Class)?(a-=90,d.geometry.rotate90()):0<=mxUtils.indexOf(nd,b.Class)&&(a+=180);0!=a&&(k+="rotation="+a+";");c||(k+="horizontal=0;")}return k}function ca(a){return null!=
a.Shadow?mxConstants.STYLE_SHADOW+"=1;":""}function S(a){(a=a?a.substring(0,7):null)&&"#"!=a.charAt(0)&&"r"!=a.charAt(0).toLowerCase()&&(a="#"+a);return a}function R(a,b){return a&&7<a.length?b+"="+Math.round(parseInt("0x"+a.substr(7))/2.55)+";":""}function M(a,b){if(null!=a.FillColor)if("object"===typeof a.FillColor){if(null!=a.FillColor.cs&&1<a.FillColor.cs.length)return Fa(mxConstants.STYLE_FILLCOLOR,S(a.FillColor.cs[0].c))+Fa(mxConstants.STYLE_GRADIENTCOLOR,S(a.FillColor.cs[1].c))}else return"string"===
typeof a.FillColor?Fa(mxConstants.STYLE_FILLCOLOR,S(a.FillColor),"#FFFFFF"):Fa(mxConstants.STYLE_FILLCOLOR,"none");return""}function ma(a){return"dotted"==a.StrokeStyle?"dashed=1;dashPattern=1 4;":"dashdot"==a.StrokeStyle?"dashed=1;dashPattern=10 5 1 5;":"dashdotdot"==a.StrokeStyle?"dashed=1;dashPattern=10 5 1 5 1 5;":"dotdotdot"==a.StrokeStyle?"dashed=1;dashPattern=1 2;":"longdash"==a.StrokeStyle?"dashed=1;dashPattern=16 6;":"dashlongdash"==a.StrokeStyle?"dashed=1;dashPattern=10 6 16 6;":"dashed24"==
a.StrokeStyle?"dashed=1;dashPattern=3 8;":"dashed32"==a.StrokeStyle?"dashed=1;dashPattern=6 5;":"dashed44"==a.StrokeStyle?"dashed=1;dashPattern=8 8;":null!=a.StrokeStyle&&"dashed"==a.StrokeStyle.substring(0,6)?"dashed=1;":""}function ea(a){return null!=a.LineWidth?Fa(mxConstants.STYLE_STROKEWIDTH,Math.round(.6*parseFloat(a.LineWidth)),"1"):""}function ec(a,b,d){"ImageSearchBlock2"==b.Class?d=a.URL:"UserImage2Block"==b.Class&&null!=a.ImageFillProps&&null!=a.ImageFillProps.url?d=a.ImageFillProps.url:
a.FillColor&&a.FillColor.url&&(d=a.FillColor.url);if(null!=d){if(null!=LucidImporter.imgSrcRepl)for(a=0;a<LucidImporter.imgSrcRepl.length;a++)b=LucidImporter.imgSrcRepl[a],d=d.replace(b.searchVal,b.replVal);return"image="+d+";"}return""}function ja(a,b,d,k){for(var c=b,n=0;null!=k.getAttributeForCell(a,c);)n++,c=b+"_"+n;k.setAttributeForCell(a,c,null!=d?d:"")}function fc(a,b,d,k,n,f){var h=p(b);if(null!=h){var w=Hb[h.Class];null!=w?a.style+=w+";":a.edge||(console.log("No mapping found for: "+h.Class),
LucidImporter.hasUnknownShapes=!0);w=null!=h.Properties?h.Properties:h;if(null!=w){a.value=f?"":g(w);a.style+=c(a.style,w,h,a,y);a.style.includes("strokeColor")||(a.style+=E(w,h));if(null!=w.Link&&0<w.Link.length&&"ext"==w.Link[0].tp)d.setAttributeForCell(a,"link",w.Link[0].url);else if(null!=w.Text){a:{f=e(w.Text);if(null!=f)for(var x=0;x<f.length;x++)if(f[x].n=null!=f[x].v&&0<f[x].v.length&&"ext"==f[x].v[0].tp){f=f[x].v[0].url;break a}f=null}null!=f&&d.setAttributeForCell(a,"link",f)}f=[];var x=
d.convertValueToString(a),z=!1;if(null!=x){for(var B=0;match=od.exec(x);){var Rb=match[0],z=!0;if(2<Rb.length){var A=Rb.substring(2,Rb.length-2);"documentName"==A?A="filename":"pageName"==A?A="page":"totalPages"==A?A="pagecount":"page"==A?A="pagenumber":"date:"==A.substring(0,5)?A="date{"+A.substring(5).replace(/MMMM/g,"mmmm").replace(/MM/g,"mm").replace(/YYYY/g,"yyyy")+"}":"lastModifiedTime"==A.substring(0,16)?A=A.replace(/MMMM/g,"mmmm").replace(/MM/g,"mm").replace(/YYYY/g,"yyyy"):"i18nDate:"==A.substring(0,
9)&&(A="date{"+A.substring(9).replace(/i18nShort/g,"shortDate").replace(/i18nMediumWithTime/g,"mmm d, yyyy hh:MM TT")+"}");A="%"+A+"%";f.push(x.substring(B,match.index)+(null!=A?A:Rb));B=match.index+Rb.length}}z&&(f.push(x.substring(B)),d.setAttributeForCell(a,"label",f.join("")),d.setAttributeForCell(a,"placeholders","1"))}for(var C in w)if(w.hasOwnProperty(C)&&C.toString().startsWith("ShapeData_"))try{var D=w[C],T=mxUtils.trim(D.Label).replace(/[^a-z0-9]+/ig,"_").replace(/^\d+/,"").replace(/_+$/,
"");ja(a,T,D.Value,d)}catch(ue){window.console&&console.log("Ignored "+C+":",ue)}w.Title&&w.Text&&"ExtShape"!=h.Class.substr(0,8)&&(h=a.geometry,h=new mxCell(g(w.Title),new mxGeometry(0,h.height,h.width,10),"strokeColor=none;fillColor=none;"),h.vertex=!0,a.insert(h),h.style+=m(w.Title,y));if(a.edge){a.style=null!=w.Rounding&&"diagonal"!=w.Shape?a.style+("rounded=1;arcSize="+w.Rounding+";"):a.style+"rounded=0;";if("diagonal"!=w.Shape)if(null!=w.ElbowPoints&&0<w.ElbowPoints.length)for(a.geometry.points=
[],h=0;h<w.ElbowPoints.length;h++)a.geometry.points.push(new mxPoint(Math.round(.6*w.ElbowPoints[h].x+Ib),Math.round(.6*w.ElbowPoints[h].y+Jb)));else"elbow"==w.Shape?a.style+="edgeStyle=orthogonalEdgeStyle;":null!=w.Endpoint1.Block&&null!=w.Endpoint2.Block&&(a.style+="edgeStyle=orthogonalEdgeStyle;","curve"==w.Shape&&(a.style+="curved=1;"));if(w.LineJumps||LucidImporter.globalProps.LineJumps)a.style+="jumpStyle=arc;";null!=w.Endpoint1.Style&&(null!=Sb[w.Endpoint1.Style]?a.style+="startArrow="+Sb[w.Endpoint1.Style]+
";":(LucidImporter.hasUnknownShapes=!0,window.console&&console.log("Unknown endpoint style: "+w.Endpoint1.Style)));null!=w.Endpoint2.Style&&(null!=Sb[w.Endpoint2.Style]?a.style+="endArrow="+Sb[w.Endpoint2.Style].replace(/startSize/g,"endSize")+";":(LucidImporter.hasUnknownShapes=!0,window.console&&console.log("Unknown endpoint style: "+w.Endpoint2.Style)));C=null!=w.ElbowControlPoints&&0<w.ElbowControlPoints.length?w.ElbowControlPoints:null!=w.BezierJoints&&0<w.BezierJoints.length?w.BezierJoints:
w.Joints;if(null!=C)for(a.geometry.points=[],h=0;h<C.length;h++)D=C[h].p?C[h].p:C[h],a.geometry.points.push(new mxPoint(Math.round(.6*D.x+Ib),Math.round(.6*D.y+Jb)));h=!1;if((null==a.geometry.points||0==a.geometry.points.length)&&null!=w.Endpoint1.Block&&w.Endpoint1.Block==w.Endpoint2.Block&&null!=k&&null!=n){h=new mxPoint(Math.round(k.geometry.x+k.geometry.width*w.Endpoint1.LinkX),Math.round(k.geometry.y+k.geometry.height*w.Endpoint1.LinkY));C=new mxPoint(Math.round(n.geometry.x+n.geometry.width*
w.Endpoint2.LinkX),Math.round(n.geometry.y+n.geometry.height*w.Endpoint2.LinkY));Ib=h.x==C.x?Math.abs(h.x-k.geometry.x)<k.geometry.width/2?-20:20:0;Jb=h.y==C.y?Math.abs(h.y-k.geometry.y)<k.geometry.height/2?-20:20:0;var S=new mxPoint(h.x+Ib,h.y+Jb),va=new mxPoint(C.x+Ib,C.y+Jb);S.generated=!0;va.generated=!0;a.geometry.points=[S,va];h=h.x==C.x}null!=k&&k.geometry.isRotated||(S=Bb(a,w.Endpoint1,!0,h));null!=k&&null!=S&&(null==k.stylePoints&&(k.stylePoints=[]),k.stylePoints.push(S),LucidImporter.stylePointsSet.add(k));
null!=n&&n.geometry.isRotated||(va=Bb(a,w.Endpoint2,!1,h));null!=n&&null!=va&&(null==n.stylePoints&&(n.stylePoints=[]),n.stylePoints.push(va),LucidImporter.stylePointsSet.add(n))}}}null!=b.id&&ja(a,"lucidchartObjectId",b.id,d)}function tc(a,b){var d=p(a),k=d.Properties,n=k.BoundingBox;null==a.Class||"AWS"!==a.Class.substring(0,3)&&"Amazon"!==a.Class.substring(0,6)||a.Class.includes("AWS19")||(n.h-=20);v=new mxCell("",new mxGeometry(Math.round(.6*n.x+Ib),Math.round(.6*n.y+Jb),Math.round(.6*n.w),Math.round(.6*
n.h)),"html=1;overflow=block;whiteSpace=wrap;");v.vertex=!0;fc(v,a,b);v.zOrder=k.ZOrder;null!=v&&0<=v.style.indexOf(";grIcon=")&&(n=new mxCell("",new mxGeometry(v.geometry.x,v.geometry.y,v.geometry.width,v.geometry.height),"html=1;overflow=block;whiteSpace=wrap;"),n.vertex=!0,n.style+=c(n.style,k,d,n),v.geometry.x=0,v.geometry.y=0,v.style+="part=1;",n.insert(v),v=n);Md(v,k);return v}function pa(a,b,d,k){var n=new mxCell("",new mxGeometry(0,0,100,100),"html=1;jettySize=18;");n.geometry.relative=!0;
n.edge=!0;fc(n,a,b,d,k,!0);b=p(a).Properties;d=null!=b?b.TextAreas:a.TextAreas;if(null!=d){for(k=0;null!=d["t"+k];){var c=d["t"+k],n=na(c,n);k++}for(k=0;null!=d["m"+k]||1>k;)c=d["m"+k],null!=c&&(n=na(c,n,a)),k++;null!=d.Text&&(n=na(d.Text,n,a));d=null!=b?b.TextAreas:a.TextAreas;null!=d.Message&&(n=na(d.Message,n,a))}return n}function na(a,b,d){var k=2*(parseFloat(a.Location)-.5);isNaN(k)&&null!=a.Text&&null!=a.Text.Location&&(k=2*(parseFloat(a.Text.Location)-.5));d=mxCell;var c=g(a),k=new mxGeometry(isNaN(k)?
0:k,0,0,0),f="11",w="";if(null!=a&&null!=a.Value&&null!=a.Value.m)for(var w=n(a.Value.m),m=0;m<a.Value.m.length;m++)if("s"==a.Value.m[m].n)f=.6*parseFloat(a.Value.m[m].v);else if("c"==a.Value.m[m].n){var x=a.Value.m[m].v;null!=x&&("#"!=x.charAt(0)&&(x="#"+x),x=x.substring(0,7));w+="fontColor="+x+";"}a=new d(c,k,"text;html=1;resizable=0;labelBackgroundColor=#ffffff;align=center;verticalAlign=middle;"+(w+";fontSize="+f+";"));a.geometry.relative=!0;a.vertex=!0;b.insert(a);return b}function Fa(a,b,d,
k){null!=b&&null!=k&&(b=k(b));return null!=b&&b!=d?a+"="+b+";":""}function Bb(a,b,d,k,n){if(null!=b&&null!=b.LinkX&&null!=b.LinkY&&(b.LinkX=Math.round(1E3*b.LinkX)/1E3,b.LinkY=Math.round(1E3*b.LinkY)/1E3,a.style+=(k?"":(d?"exitX":"entryX")+"="+b.LinkX+";")+(n?"":(d?"exitY":"entryY")+"="+b.LinkY+";")+(d?"exitPerimeter":"entryPerimeter")+"=0;",b.Inside))return"["+b.LinkX+","+b.LinkY+",0]"}function Ga(a,b,d){try{null!=a.Action&&null!=a.Action.Properties&&(a=a.Action.Properties);var k=new mxCell("",new mxGeometry,
"group;dropTarget=0;");k.vertex=!0;var n=Infinity,c=Infinity,f=-Infinity,w=-Infinity,m=a.Members,x=[],z;for(z in m){var g=b[z];null!=g?x.push(g):d[z]=k}x.sort(function(a,b){var d=a.zOrder,k=b.zOrder;return null!=d&&null!=k?d-k:0});for(b=0;b<x.length;b++)g=x[b],n=Math.min(n,g.geometry.x),c=Math.min(c,g.geometry.y),f=Math.max(f,g.geometry.x+g.geometry.width),w=Math.max(w,g.geometry.y+g.geometry.height),g.parent=k,k.insert(g,b);k.geometry.x=n;k.geometry.y=c;k.geometry.width=f-n;k.geometry.height=w-c;
if(null!=k.children)for(b=0;b<k.children.length;b++){var p=k.children[b].geometry;p.x-=n;p.y-=c}a.IsState?k.lucidLayerInfo={name:a.Name,visible:!a.Hidden,locked:a.Restrictions.b&&a.Restrictions.p&&a.Restrictions.c}:a.Hidden&&(k.visible=!1);return k}catch(we){console.log(we)}}function Xc(a,b,d){a.getModel().beginUpdate();try{var k=function(b,d){function k(a,b){null==a||a.generated||(a.x-=b.x,a.y-=b.y)}var h=null!=d.Endpoint1.Block?c[d.Endpoint1.Block]:null,w=null!=d.Endpoint2.Block?c[d.Endpoint2.Block]:
null,x=pa(b,a,h,w);null==h&&null!=d.Endpoint1&&x.geometry.setTerminalPoint(new mxPoint(Math.round(.6*d.Endpoint1.x),Math.round(.6*d.Endpoint1.y)),!0);null==w&&null!=d.Endpoint2&&x.geometry.setTerminalPoint(new mxPoint(Math.round(.6*d.Endpoint2.x),Math.round(.6*d.Endpoint2.y)),!1);var m=f[b.id];if(null!=m){var l=x.geometry,z=m.geometry;k(l.sourcePoint,z);k(l.targetPoint,z);k(l.offset,z);l=l.points;if(null!=l)for(var g=0;g<l.length;g++)k(l[g],z)}n.push(a.addCell(x,m,null,h,w))},n=[],c={},f={},w=[];
if(null!=b.Blocks){for(var m in b.Blocks){var x=b.Blocks[m];x.id=m;var z=!1;null!=Hb[x.Class]&&"mxCompositeShape"==Hb[x.Class]&&(c[x.id]=Yc(x,n,a),w.push(x),z=!0);z||(c[x.id]=tc(x,a),w.push(x))}if(null!=b.Generators)for(m in b.Generators)"OrgChart2018"==b.Generators[m].ClassName&&(LucidImporter.hasUnknownShapes=!0,console.log("Lucid diagram has an Org Chart!"))}else{for(var g=0;g<b.Objects.length;g++)x=b.Objects[g],null!=x.Action&&"mxCompositeShape"==Hb[x.Action.Class]?c[x.id]=Yc(x,n,a):x.IsBlock&&
null!=x.Action&&null!=x.Action.Properties?c[x.id]=tc(x,a):x.IsGenerator&&x.GeneratorData&&x.GeneratorData.p&&"OrgChart2018"==x.GeneratorData.p.ClassName&&(LucidImporter.hasUnknownShapes=!0,console.log("Lucid diagram has an Org Chart!")),w.push(x);for(g=0;g<b.Objects.length;g++)if(x=b.Objects[g],x.IsGroup){var B=Ga(x,c,f);B&&(c[x.id]=B,w.push(x))}}if(null!=b.Groups)try{for(m in b.Groups)if(x=b.Groups[m],x.id=m,B=Ga(x,c,f))c[x.id]=B,w.push(x)}catch(xe){console.log(xe)}if(null!=b.Lines)for(m in b.Lines)x=
b.Lines[m],x.id=m,w.push(x);w.sort(function(a,b){a=p(a);b=p(b);var d=null!=a.Properties?a.Properties.ZOrder:a.ZOrder,k=null!=b.Properties?b.Properties.ZOrder:b.ZOrder;return null!=d&&null!=k?d-k:0});for(g=0;g<w.length;g++){var x=w[g],e=c[x.id];if(null!=e){if(null==e.parent)if(e.lucidLayerInfo){var A=new mxCell;a.addCell(A,a.model.root);A.setVisible(e.lucidLayerInfo.visible);e.lucidLayerInfo.locked&&A.setStyle("locked=1;");A.setValue(e.lucidLayerInfo.name);delete e.lucidLayerInfo;a.addCell(e,A)}else n.push(a.addCell(e))}else x.IsLine&&
null!=x.Action&&null!=x.Action.Properties?k(x,x.Action.Properties):null!=x.StrokeStyle&&k(x,x)}LucidImporter.stylePointsSet.forEach(function(a){a.style="points=["+a.stylePoints.join(",")+"];"+a.style;delete a.stylePoints});d||a.setSelectionCells(n)}finally{a.getModel().endUpdate()}}function qa(){var a=new Graph;a.setExtendParents(!1);a.setExtendParentsOnAdd(!1);a.setConstrainChildren(!1);a.setHtmlLabels(!0);a.getModel().maintainEdgeParent=!1;return a}function Tb(a,b,d,k,n,c,f,w){this.nurbsValues=
[1,3,0,0,100*(a+d),100-100*(1-(b+k)),0,1,100*(n+f),100-100*(1-(c+w)),0,1]}function Nd(a,b){try{for(var d=[],k=b.BoundingBox.w,n=b.BoundingBox.h,c=0;c<b.Shapes.length;c++){var f=b.Shapes[c],w=f.FillColor,x=f.StrokeColor,m=f.LineWidth,z=f.Points,g=f.Lines,p=['<shape strokewidth="inherit"><foreground>'];p.push("<path>");for(var B=null,e=0;e<g.length;e++){var A=g[e];if(B!=A.p1){var C=z[A.p1].x,D=z[A.p1].y,C=100*C/k,D=100*D/n,C=Math.round(100*C)/100,D=Math.round(100*D)/100;p.push('<move x="'+C+'" y="'+
D+'"/>')}if(null!=A.n1){var E;var T=z[A.p2].x,y=z[A.p2].y,S=k,l=n,N=new Tb(z[A.p1].x,z[A.p1].y,A.n1.x,A.n1.y,z[A.p2].x,z[A.p2].y,A.n2.x,A.n2.y);if(2<=N.getSize()){N.getX(0);N.getY(0);N.getX(1);N.getY(1);for(var T=Math.round(100*T/S*100)/100,y=Math.round(100*y/l*100)/100,S=[],l=[],ca=[],M=N.getSize(),R=0;R<M-1;R+=3)S.push(new mxPoint(N.getX(R),N.getY(R))),l.push(new mxPoint(N.getX(R+1),N.getY(R+1))),R<M-2?ca.push(new mxPoint(N.getX(R+2),N.getY(R+2))):ca.push(new mxPoint(T,y));for(var G="",R=0;R<S.length;R++)G+=
'<curve x1="'+S[R].x+'" y1="'+S[R].y+'" x2="'+l[R].x+'" y2="'+l[R].y+'" x3="'+ca[R].x+'" y3="'+ca[R].y+'"/>';E=G}else E=void 0;p.push(E)}else C=z[A.p2].x,D=z[A.p2].y,C=100*C/k,D=100*D/n,C=Math.round(100*C)/100,D=Math.round(100*D)/100,p.push('<line x="'+C+'" y="'+D+'"/>');B=A.p2}p.push("</path>");p.push("<fillstroke/>");p.push("</foreground></shape>");d.push({shapeStencil:"stencil("+Graph.compress(p.join(""))+")",FillColor:w,LineColor:x,LineWidth:m})}LucidImporter.stencilsMap[a]={text:b.Text,w:k,h:n,
stencils:d}}catch(ld){console.log("Stencil parsing error:",ld)}}function wb(a,b,d,k,n,c,f,w){a=new mxCell("",new mxGeometry(a,b,0,0),"strokeColor=none;fillColor=none;");a.vertex=!0;f.insert(a);c=[a];d=d.clone();w.insertEdge(d,!1);a.insertEdge(d,!0);c.push(d);k.push(n.addCell(d,null,null,null,null))}function ta(a,b,d,k,n,c,f,w,x){a=new mxCell("",new mxGeometry(a,b,0,0),"strokeColor=none;fillColor=none;");a.vertex=!0;x.insert(a);d=new mxCell("",new mxGeometry(d,k,0,0),"strokeColor=none;fillColor=none;");
d.vertex=!0;x.insert(d);w=[d];n=n.clone();a.insertEdge(n,!0);d.insertEdge(n,!1);w.push(n);c.push(f.addCell(n,null,null,null,null))}function fa(a,b,d,k,n,f){k.style="rounded=1;absoluteArcSize=1;fillColor=#ffffff;arcSize=2;strokeColor=#dddddd;";k.style+=c(k.style,n,f,k);b=g(n);k.vertex=!0;a=new mxCell(b,new mxGeometry(0,.5,24,24),"dashed=0;connectable=0;html=1;strokeColor=none;"+mxConstants.STYLE_SHAPE+"=mxgraph.gcp2."+a+";part=1;shadow=0;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=5;");
a.style+=c(a.style,n,f,a,y);a.geometry.relative=!0;a.geometry.offset=new mxPoint(5,-12);a.vertex=!0;k.insert(a)}function ka(a,b,d,k,n,f,w,x){n="transparent"!=a?mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.":mxConstants.STYLE_SHAPE+"=";f.style="rounded=1;absoluteArcSize=1;arcSize=2;verticalAlign=bottom;fillColor=#ffffff;strokeColor=#dddddd;whiteSpace=wrap;";f.style+=c(f.style,w,x,f);f.value=g(w);f.vertex=!0;a=new mxCell(null,new mxGeometry(.5,0,.7*k*b,.7*k*d),n+a+";part=1;dashed=0;connectable=0;html=1;strokeColor=none;shadow=0;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(-b*k*.35,10+(1-d)*k*.35);a.vertex=!0;a.style+=c(a.style,w,x,a,y);f.insert(a)}function dc(a,b){return null==a||null==b||!a.includes(";"+b+"=")&&a.substring(0,b.length+1)!=b+"="?!1:!0}function Yc(b,n,f){var e=p(b),h=e.Properties,ja=h.BoundingBox,t=Math.round(.6*ja.w),r=Math.round(.6*ja.h),pa=Math.round(.6*ja.x+Ib),na=Math.round(.6*ja.y+Jb);null==b.Class||"GCPInputDatabase"!==b.Class&&"GCPInputRecord"!==b.Class&&"GCPInputPayment"!==b.Class&&"GCPInputGateway"!==
b.Class&&"GCPInputLocalCompute"!==b.Class&&"GCPInputBeacon"!==b.Class&&"GCPInputStorage"!==b.Class&&"GCPInputList"!==b.Class&&"GCPInputStream"!==b.Class&&"GCPInputMobileDevices"!==b.Class&&"GCPInputCircuitBoard"!==b.Class&&"GCPInputLive"!==b.Class&&"GCPInputUsers"!==b.Class&&"GCPInputLaptop"!==b.Class&&"GCPInputApplication"!==b.Class&&"GCPInputLightbulb"!==b.Class&&"GCPInputGame"!==b.Class&&"GCPInputDesktop"!==b.Class&&"GCPInputDesktopAndMobile"!==b.Class&&"GCPInputWebcam"!==b.Class&&"GCPInputSpeaker"!==
b.Class&&"GCPInputRetail"!==b.Class&&"GCPInputReport"!==b.Class&&"GCPInputPhone"!==b.Class&&"GCPInputBlank"!==b.Class||(r+=20);v=new mxCell("",new mxGeometry(pa,na,t,r),"html=1;overflow=block;whiteSpace=wrap;");v.vertex=!0;v.zOrder=h.ZOrder;var Bb=null!=b.Class?b.Class:null!=e?e.Class:null;switch(Bb){case "BraceNoteBlock":case "UI2BraceNoteBlock":var tc=!1;null!=h.BraceDirection&&"Right"==h.BraceDirection&&(tc=!0);var va=null,qa=null;tc?(va=new mxCell("",new mxGeometry(t-.125*r,0,.125*r,r),"shape=curlyBracket;rounded=1;"),
qa=new mxCell("",new mxGeometry(0,0,t-.125*r,r),"strokeColor=none;fillColor=none;")):(va=new mxCell("",new mxGeometry(0,0,.125*r,r),"shape=curlyBracket;rounded=1;flipH=1;"),qa=new mxCell("",new mxGeometry(.125*r,0,t-.125*r,r),"strokeColor=none;fillColor=none;"));v.style="strokeColor=none;fillColor=none;";v.style+=c(v.style,h,e,v);va.vertex=!0;v.insert(va);va.style+=c(va.style,h,e,va);qa.vertex=!0;qa.value=g(h);v.insert(qa);qa.style+=c(qa.style,h,e,qa,y);break;case "BPMNAdvancedPoolBlockRotated":case "UMLMultiLanePoolRotatedBlock":case "UMLMultiLanePoolBlock":case "BPMNAdvancedPoolBlock":case "AdvancedSwimLaneBlockRotated":case "AdvancedSwimLaneBlock":case "UMLSwimLaneBlockV2":var Ga=
"MainText",ya=null,Xc="HeaderFill_",Tb="BodyFill_",Vc=25,Hb=25,sc=0;if(null!=h.Lanes)sc=h.Lanes.length;else if(null!=h.PrimaryLane){for(var Sb=function(a){if(a)32>a?a=32:208<a&&(a=208);else return 0;return.6*a},sc=h.PrimaryLane.length,l=r=t=0;l<sc;l++)t+=h.PrimaryLane[l];for(l=0;l<h.SecondaryLane.length;l++)r+=h.SecondaryLane[l];Vc=Sb(h.PrimaryPoolTitleHeight);Hb=Sb(h.PrimaryLaneTitleHeight);t*=.6;r=.6*r+Vc+Hb;v.geometry.width=t;v.geometry.height=r;Ga="poolPrimaryTitleKey";Xc="PrimaryLaneHeaderFill_";
Tb="CellFill_0,";ya=h.PrimaryLaneTextAreaIds;if(null==ya)for(ya=[],l=0;l<sc;l++)ya.push("Primary_"+l)}if(0==h.IsPrimaryLaneVertical){h.Rotation=-1.5707963267948966;var dc=v.geometry.x,Yc=v.geometry.y}var kd=0!=h.Rotation,Ld=0<Bb.indexOf("Pool"),md=0==Bb.indexOf("BPMN"),ld=null!=h[Ga];v.style=(Ld?"swimlane;startSize="+Vc+";":"fillColor=none;strokeColor=none;pointerEvents=0;")+"html=1;whiteSpace=wrap;container=1;collapsible=0;childLayout=stackLayout;resizeParent=1;dropTarget=0;"+(kd?"horizontalStack=0;":
"");v.style+=c(v.style,h,e,v);ld&&(v.value=g(h[Ga]),v.style+=(y?"overflow=block;":a(h[Ga])+d(h[Ga])+k(h[Ga])+w(h[Ga],v)+x(h[Ga])+z(h[Ga])+B(h[Ga])+A(h[Ga]))+C(h[Ga])+D(h[Ga]));for(var Kd=0,Ab=[],nd="swimlane;html=1;whiteSpace=wrap;container=1;connectable=0;collapsible=0;startSize="+Hb+";dropTarget=0;rounded=0;"+(kd?"horizontal=0;":"")+(md?"swimlaneLine=0;fillColor=none;":""),V=h.Rotation=0;V<sc;V++){if(null==ya)var Wc=parseFloat(h.Lanes[V].p),l=parseInt(h.Lanes[V].tid)||V,Xa="Lane_"+l;else Wc=.6*
h.PrimaryLane[V]/t,l=V,Xa=ya[V];var Od=t*Kd,Zc=Ld?Vc:0;Ab.push(new mxCell("",kd?new mxGeometry(Zc,Od,r-Zc,t*Wc):new mxGeometry(Od,Zc,t*Wc,r-Zc),nd));Ab[V].vertex=!0;v.insert(Ab[V]);Ab[V].value=g(h[Xa]);Ab[V].style+=c(Ab[V].style,h,e,Ab[V],y)+(y?"":a(h[Xa])+d(h[Xa])+k(h[Xa])+w(h[Xa],Ab[V])+x(h[Xa])+z(h[Xa])+B(h[Xa])+A(h[Xa]))+C(h[Xa])+D(h[Xa])+G(h[Xc+l])+N(h[Tb+l]);Kd+=Wc}null!=dc&&(v.geometry.x=dc,v.geometry.y=Yc);break;case "UMLMultidimensionalSwimlane":var Vb=0,Wb=0,pd=null,qd=null;if(null!=h.Rows&&
null!=h.Columns)var Vb=h.Rows.length,Wb=h.Columns.length,uc=.6*h.TitleHeight||25,vc=.6*h.TitleWidth||25;else if(null!=h.PrimaryLane&&null!=h.SecondaryLane){Vb=h.SecondaryLane.length;Wb=h.PrimaryLane.length;vc=.6*h.SecondaryLaneTitleHeight||25;uc=.6*h.PrimaryLaneTitleHeight||25;for(l=r=t=0;l<Vb;l++)r+=h.SecondaryLane[l];for(l=0;l<Wb;l++)t+=h.PrimaryLane[l];t=.6*t+vc;r=.6*r+uc;v.geometry.width=t;v.geometry.height=r;pd=h.SecondaryLaneTextAreaIds;qd=h.PrimaryLaneTextAreaIds}v.style="group;";var rd=new mxCell("",
new mxGeometry(0,uc,t,r-uc),"fillColor=none;strokeColor=none;html=1;whiteSpace=wrap;container=1;collapsible=0;childLayout=stackLayout;resizeParent=1;dropTarget=0;horizontalStack=0;");rd.vertex=!0;var sd=new mxCell("",new mxGeometry(vc,0,t-vc,r),"fillColor=none;strokeColor=none;html=1;whiteSpace=wrap;container=1;collapsible=0;childLayout=stackLayout;resizeParent=1;dropTarget=0;");sd.vertex=!0;v.insert(rd);v.insert(sd);for(var na=0,od="swimlane;html=1;whiteSpace=wrap;container=1;connectable=0;collapsible=0;dropTarget=0;horizontal=0;startSize="+
vc+";",V=0;V<Vb;V++){if(null==pd)var td=.6*parseInt(h.Rows[V].height),l=parseInt(h.Rows[V].id)||V,Ya="Row_"+l;else td=.6*h.SecondaryLane[V],Ya=pd[V];var Kb=new mxCell("",new mxGeometry(0,na,t,td),od),na=na+td;Kb.vertex=!0;rd.insert(Kb);Kb.value=g(h[Ya]);Kb.style+=c(Kb.style,h,e,Kb,y)+(y?"":a(h[Ya])+d(h[Ya])+k(h[Ya])+w(h[Ya],Kb)+x(h[Ya])+z(h[Ya])+B(h[Ya])+A(h[Ya]))+C(h[Ya])+D(h[Ya])}for(var ye="swimlane;html=1;whiteSpace=wrap;container=1;connectable=0;collapsible=0;dropTarget=0;startSize="+uc+";",
V=pa=0;V<Wb;V++){if(null==qd)var gc=.6*parseInt(h.Columns[V].width),l=parseInt(h.Columns[V].id)||V,Za="Column_"+l;else gc=.6*h.PrimaryLane[V],Za=qd[V];var Lb=new mxCell("",new mxGeometry(pa,0,gc,r),ye),pa=pa+gc;Lb.vertex=!0;sd.insert(Lb);Lb.value=g(h[Za]);Lb.style+=c(Lb.style,h,e,Lb,y)+(y?"":a(h[Za])+d(h[Za])+k(h[Za])+w(h[Za],Lb)+x(h[Za])+z(h[Za])+B(h[Za])+A(h[Za]))+C(h[Za])+D(h[Za])}break;case "AndroidDevice":if(null!=h.AndroidDeviceName){v.style="fillColor=#000000;strokeColor=#000000;";var Mb=null,
wc=null,xc=null;if("Tablet"==h.AndroidDeviceName||"Mini Tablet"==h.AndroidDeviceName||"custom"==h.AndroidDeviceName&&"Tablet"==h.CustomDeviceType)v.style+="shape=mxgraph.android.tab2;",Mb=new mxCell("",new mxGeometry(.112*t,.077*r,.77*t,.85*r),""),h.KeyboardShown&&(wc=new mxCell("",new mxGeometry(.112*t,.727*r,.77*t,.2*r),"shape=mxgraph.android.keyboard;")),h.FullScreen||(xc=new mxCell("",new mxGeometry(.112*t,.077*r,.77*t,.03*r),"shape=mxgraph.android.statusBar;strokeColor=#33b5e5;fillColor=#000000;fontColor=#33b5e5;fontSize="+
.015*r+";"));else if("Large Phone"==h.AndroidDeviceName||"Phone"==h.AndroidDeviceName||"custom"==h.AndroidDeviceName&&"Phone"==h.CustomDeviceType)v.style+="shape=mxgraph.android.phone2;",Mb=new mxCell("",new mxGeometry(.04*t,.092*r,.92*t,.816*r),""),h.KeyboardShown&&(wc=new mxCell("",new mxGeometry(.04*t,.708*r,.92*t,.2*r),"shape=mxgraph.android.keyboard;")),h.FullScreen||(xc=new mxCell("",new mxGeometry(.04*t,.092*r,.92*t,.03*r),"shape=mxgraph.android.statusBar;strokeColor=#33b5e5;fillColor=#000000;fontColor=#33b5e5;fontSize="+
.015*r+";"));Mb.vertex=!0;v.insert(Mb);"Dark"==h.Scheme?Mb.style+="fillColor=#111111;":"Light"==h.Scheme&&(Mb.style+="fillColor=#ffffff;");null!=wc&&(wc.vertex=!0,v.insert(wc));null!=xc&&(xc.vertex=!0,v.insert(xc))}v.style+=c(v.style,h,e,v);break;case "AndroidAlertDialog":var fb=new mxCell("",new mxGeometry(0,0,t,30),"strokeColor=none;fillColor=none;spacingLeft=9;");fb.vertex=!0;v.insert(fb);var ia=new mxCell("",new mxGeometry(0,25,t,10),"shape=line;strokeColor=#33B5E5;");ia.vertex=!0;v.insert(ia);
var yc=new mxCell("",new mxGeometry(0,30,t,r-30),"strokeColor=none;fillColor=none;verticalAlign=top;");yc.vertex=!0;v.insert(yc);var wa=new mxCell("",new mxGeometry(0,r-25,.5*t,25),"fillColor=none;");wa.vertex=!0;v.insert(wa);var xa=new mxCell("",new mxGeometry(.5*t,r-25,.5*t,25),"fillColor=none;");xa.vertex=!0;v.insert(xa);fb.value=g(h.DialogTitle);fb.style+=m(h.DialogTitle,y);yc.value=g(h.DialogText);yc.style+=m(h.DialogText,y);wa.value=g(h.Button_0);wa.style+=m(h.Button_0,y);xa.value=g(h.Button_1);
xa.style+=m(h.Button_1,y);"Dark"==h.Scheme?(v.style+="strokeColor=#353535;fillColor=#282828;shadow=1;",wa.style+="strokeColor=#353535;",xa.style+="strokeColor=#353535;"):(v.style+="strokeColor=none;fillColor=#ffffff;shadow=1;",wa.style+="strokeColor=#E2E2E2;",xa.style+="strokeColor=#E2E2E2;");v.style+=c(v.style,h,e,v);break;case "AndroidDateDialog":case "AndroidTimeDialog":fb=new mxCell("",new mxGeometry(0,0,t,30),"strokeColor=none;fillColor=none;spacingLeft=9;");fb.vertex=!0;v.insert(fb);fb.value=
g(h.DialogTitle);fb.style+=m(h.DialogTitle,y);ia=new mxCell("",new mxGeometry(0,25,t,10),"shape=line;strokeColor=#33B5E5;");ia.vertex=!0;v.insert(ia);wa=new mxCell("",new mxGeometry(0,r-25,.5*t,25),"fillColor=none;");wa.vertex=!0;v.insert(wa);wa.value=g(h.Button_0);wa.style+=m(h.Button_0,y);xa=new mxCell("",new mxGeometry(.5*t,r-25,.5*t,25),"fillColor=none;");xa.vertex=!0;v.insert(xa);xa.value=g(h.Button_1);xa.style+=m(h.Button_1,y);var hc=new mxCell("",new mxGeometry(.5*t-4,41,8,4),"shape=triangle;direction=north;");
hc.vertex=!0;v.insert(hc);var ic=new mxCell("",new mxGeometry(.25*t-4,41,8,4),"shape=triangle;direction=north;");ic.vertex=!0;v.insert(ic);var jc=new mxCell("",new mxGeometry(.75*t-4,41,8,4),"shape=triangle;direction=north;");jc.vertex=!0;v.insert(jc);var zc=new mxCell("",new mxGeometry(.375*t,50,.2*t,15),"strokeColor=none;fillColor=none;");zc.vertex=!0;v.insert(zc);zc.value=g(h.Label_1);zc.style+=m(h.Label_1,y);var Ac=new mxCell("",new mxGeometry(.125*t,50,.2*t,15),"strokeColor=none;fillColor=none;");
Ac.vertex=!0;v.insert(Ac);Ac.value=g(h.Label_0);Ac.style+=m(h.Label_0,y);var kc=null;"AndroidDateDialog"==b.Class&&(kc=new mxCell("",new mxGeometry(.625*t,50,.2*t,15),"strokeColor=none;fillColor=none;"),kc.vertex=!0,v.insert(kc),kc.value=g(h.Label_2),kc.style+=m(h.Label_2,y));var La=new mxCell("",new mxGeometry(.43*t,60,.14*t,10),"shape=line;strokeColor=#33B5E5;");La.vertex=!0;v.insert(La);var Ma=new mxCell("",new mxGeometry(.18*t,60,.14*t,10),"shape=line;strokeColor=#33B5E5;");Ma.vertex=!0;v.insert(Ma);
var Pd=new mxCell("",new mxGeometry(.68*t,60,.14*t,10),"shape=line;strokeColor=#33B5E5;");Pd.vertex=!0;v.insert(Pd);var Bc=new mxCell("",new mxGeometry(.375*t,65,.2*t,15),"strokeColor=none;fillColor=none;");Bc.vertex=!0;v.insert(Bc);Bc.value=g(h.Label_4);Bc.style+=m(h.Label_4,y);var lc=null;"AndroidTimeDialog"==b.Class&&(lc=new mxCell("",new mxGeometry(.3*t,65,.1*t,15),"strokeColor=none;fillColor=none;"),lc.vertex=!0,v.insert(lc),lc.value=g(h.Label_Colon),lc.style+=m(h.Label_Colon,y));var Cc=new mxCell("",
new mxGeometry(.125*t,65,.2*t,15),"strokeColor=none;fillColor=none;");Cc.vertex=!0;v.insert(Cc);Cc.value=g(h.Label_3);Cc.style+=m(h.Label_3,y);var Dc=new mxCell("",new mxGeometry(.625*t,65,.2*t,15),"strokeColor=none;fillColor=none;");Dc.vertex=!0;v.insert(Dc);Dc.value=g(h.Label_5);Dc.style+=m(h.Label_5,y);var Qd=new mxCell("",new mxGeometry(.43*t,75,.14*t,10),"shape=line;strokeColor=#33B5E5;");Qd.vertex=!0;v.insert(Qd);var Rd=new mxCell("",new mxGeometry(.18*t,75,.14*t,10),"shape=line;strokeColor=#33B5E5;");
Rd.vertex=!0;v.insert(Rd);var Sd=new mxCell("",new mxGeometry(.68*t,75,.14*t,10),"shape=line;strokeColor=#33B5E5;");Sd.vertex=!0;v.insert(Sd);var Ec=new mxCell("",new mxGeometry(.375*t,80,.2*t,15),"strokeColor=none;fillColor=none;");Ec.vertex=!0;v.insert(Ec);Ec.value=g(h.Label_7);Ec.style+=m(h.Label_7,y);var Fc=new mxCell("",new mxGeometry(.125*t,80,.2*t,15),"strokeColor=none;fillColor=none;");Fc.vertex=!0;v.insert(Fc);Fc.value=g(h.Label_6);Fc.style+=m(h.Label_6,y);var Gc=new mxCell("",new mxGeometry(.625*
t,80,.2*t,15),"strokeColor=none;fillColor=none;");Gc.vertex=!0;v.insert(Gc);Gc.value=g(h.Label_8);Gc.style+=m(h.Label_8,y);var mc=new mxCell("",new mxGeometry(.5*t-4,99,8,4),"shape=triangle;direction=south;");mc.vertex=!0;v.insert(mc);var nc=new mxCell("",new mxGeometry(.25*t-4,99,8,4),"shape=triangle;direction=south;");nc.vertex=!0;v.insert(nc);var oc=new mxCell("",new mxGeometry(.75*t-4,99,8,4),"shape=triangle;direction=south;");oc.vertex=!0;v.insert(oc);"Dark"==h.Scheme?(v.style+="strokeColor=#353535;fillColor=#282828;shadow=1;",
wa.style+="strokeColor=#353535;",xa.style+="strokeColor=#353535;",hc.style+="strokeColor=none;fillColor=#7E7E7E;",ic.style+="strokeColor=none;fillColor=#7E7E7E;",jc.style+="strokeColor=none;fillColor=#7E7E7E;",mc.style+="strokeColor=none;fillColor=#7E7E7E;",nc.style+="strokeColor=none;fillColor=#7E7E7E;",oc.style+="strokeColor=none;fillColor=#7E7E7E;"):(v.style+="strokeColor=none;fillColor=#ffffff;shadow=1;",wa.style+="strokeColor=#E2E2E2;",xa.style+="strokeColor=#E2E2E2;",hc.style+="strokeColor=none;fillColor=#939393;",
ic.style+="strokeColor=none;fillColor=#939393;",jc.style+="strokeColor=none;fillColor=#939393;",mc.style+="strokeColor=none;fillColor=#939393;",nc.style+="strokeColor=none;fillColor=#939393;",oc.style+="strokeColor=none;fillColor=#939393;");v.style+=c(v.style,h,e,v);break;case "AndroidListItems":var Ha=r,Cb=0;if(h.ShowHeader){var Cb=8,Hc=new mxCell("",new mxGeometry(0,0,t,Cb),"strokeColor=none;fillColor=none;");Hc.vertex=!0;v.insert(Hc);Hc.value=g(h.Header);Hc.style+=m(h.Header,y);var Ha=Ha-Cb,Td=
new mxCell("",new mxGeometry(0,Cb-2,t,4),"shape=line;strokeColor=#999999;");Td.vertex=!0;v.insert(Td)}var gb=parseInt(h.Items);0<gb&&(Ha/=gb);for(var I=[],ia=[],l=0;l<gb;l++)I[l]=new mxCell("",new mxGeometry(0,Cb+l*Ha,t,Ha),"strokeColor=none;fillColor=none;"),I[l].vertex=!0,v.insert(I[l]),I[l].value=g(h["Item_"+l]),I[l].style+=m(h["Item_"+l],y),0<l&&(ia[l]=new mxCell("",new mxGeometry(0,Cb+l*Ha-2,t,4),"shape=line;"),ia[l].vertex=!0,v.insert(ia[l]),ia[l].style="Dark"==h.Scheme?ia[l].style+"strokeColor=#ffffff;":
ia[l].style+"strokeColor=#D9D9D9;");v.style="Dark"==h.Scheme?v.style+"strokeColor=none;fillColor=#111111;":v.style+"strokeColor=none;fillColor=#ffffff;";v.style+=c(v.style,h,e,v);break;case "AndroidTabs":var hb=parseInt(h.Tabs),Ra=t;0<hb&&(Ra/=hb);for(var ga=[],ia=[],l=0;l<hb;l++)ga[l]=new mxCell("",new mxGeometry(l*Ra,0,Ra,r),"strokeColor=none;fillColor=none;"),ga[l].vertex=!0,v.insert(ga[l]),ga[l].value=g(h["Tab_"+l]),ga[l].style+=m(h["Tab_"+l],y),0<l&&(ia[l]=new mxCell("",new mxGeometry(l*Ra-2,
.2*r,4,.6*r),"shape=line;direction=north;"),ia[l].vertex=!0,v.insert(ia[l]),ia[l].style="Dark"==h.Scheme?ia[l].style+"strokeColor=#484848;":ia[l].style+"strokeColor=#CCCCCC;");var Ud=new mxCell("",new mxGeometry(h.Selected*Ra+2,r-3,Ra-4,3),"strokeColor=none;fillColor=#33B5E5;");Ud.vertex=!0;v.insert(Ud);v.style="Dark"==h.Scheme?v.style+"strokeColor=none;fillColor=#333333;":v.style+"strokeColor=none;fillColor=#DDDDDD;";v.style+=c(v.style,h,e,v);break;case "AndroidProgressBar":v=new mxCell("",new mxGeometry(Math.round(pa),
Math.round(na+.25*r),Math.round(t),Math.round(.5*r)),"html=1;overflow=block;whiteSpace=wrap;");v.vertex=!0;var Ic=new mxCell("",new mxGeometry(0,0,t*h.BarPosition,Math.round(.5*r)),"strokeColor=none;fillColor=#33B5E5;");Ic.vertex=!0;v.insert(Ic);v.style="Dark"==h.Scheme?v.style+"strokeColor=none;fillColor=#474747;":v.style+"strokeColor=none;fillColor=#BBBBBB;";v.style+=c(v.style,h,e,v);break;case "AndroidImageBlock":v.style="Dark"==h.Scheme?v.style+"shape=mxgraph.mockup.graphics.simpleIcon;strokeColor=#7E7E7E;fillColor=#111111;":
v.style+"shape=mxgraph.mockup.graphics.simpleIcon;strokeColor=#939393;fillColor=#ffffff;";v.style+=c(v.style,h,e,v);break;case "AndroidTextBlock":v.style="Dark"==h.Scheme?h.ShowBorder?v.style+"fillColor=#111111;strokeColor=#ffffff;":v.style+"fillColor=#111111;strokeColor=none;":h.ShowBorder?v.style+"fillColor=#ffffff;strokeColor=#000000;":v.style+"fillColor=#ffffff;strokeColor=none;";v.value=g(h.Label);v.style+=m(h.Label,y);v.style+=c(v.style,h,e,v,y);break;case "AndroidActionBar":v.style+="strokeColor=none;";
(function(){function f(a,b){function d(a){var b="",d=a.t,k=a.l||{};if(null==d||0!=ja&&ja==d.v&&l==k.v)null==d&&(ja&&(b+=c(!0),ja=!1),b+='<div style="',E.push("div"));else{ja&&(b+=c(!0));ja=d.v;l=k.v;"ul"==d.v?(b+="<ul ",E.push("ul")):(b+="<ol ",E.push("ol"));b+='style="margin: 0px; padding: 10px;list-style-position: inside; list-style-type:';if("hl"==d.v)b+="upper-roman";else switch(k.v){case "auto":b+="disc";break;case "inv":b+="circle";break;case "disc":b+="circle";break;case "trib":b+="square";
break;case "square":b+="square";break;case "dash":b+="square";break;case "heart":b+="disc";break;default:b+="decimal"}b+='">'}null!=d&&(b+='<li style="text-align:'+(a.a?a.a.v:"center")+'">',E.push("li"),b+='<span style="',E.push("span"));ja||(k=d=a.a?a.a.v:"center","left"==d?k="flex-start":"right"==d&&(k="flex-end"),b+="display: flex; font-size: 0; line-height: 1; align-items: baseline; justify-content: "+k+"; text-align: "+d+";");a.il&&(b+="margin-left: "+Math.max(0,Math.round(.6*a.il.v-(ja?28:0)))+
"px;");a.ir&&(b+="margin-right: "+Math.round(.6*a.ir.v)+"px;");a.mt&&(b+="margin-top: "+Math.round(.6*a.mt.v)+"px;");a.mb&&(b+="margin-bottom: "+Math.round(.6*a.mb.v)+"px;");b+='">';ja||(b+="<span>",E.push("span"));return b}function k(a){if(0==Object.keys(a).length)return"";var b="",d=0;if(a.lk){var k=a.lk;null!=k.v&&0<k.v.length&&"ext"==k.v[0].tp&&(b+='<a href="'+k.v[0].url+'">',A.push("a"),d++)}b+='<span style="';A.push("span");d++;b+="font-size:"+(a.s?Math.floor(.6*a.s.v):"11")+"px;";a.c&&(k=a.c.v,
null!=k&&("#"!=k.charAt(0)&&(k="#"+k),k=k.substring(0,7),b+="color:"+k+";"));if(a.b&&a.b.v||a.fc&&a.fc.v&&0==a.fc.v.indexOf("Bold"))b+="font-weight: bold;";a.i&&a.i.v&&(b+="font-style: italic;");a.u&&a.u.v&&(b+="text-decoration: underline;");b+='">';D.push(d);return b}function c(a){var b="";do{var d=E.pop();if(!a&&ja&&("ul"==d||"ol"==d)){E.push(d);break}b+="</"+d+">"}while(0<E.length);return b}function n(a,b,d,k){a=a?a.substring(b,d):"";ja&&(a=a.trim());a=a.replace(/</g,"&lt;").replace(/>/g,"&gt;");
do for(b=D.pop(),d=0;d<b;d++){var c=A.pop();a+="</"+c+">"}while(k&&0<A.length);return a}var f={a:!0,il:!0,ir:!0,mt:!0,mb:!0,p:!0,t:!0,l:!0},w={lk:!0,s:!0,c:!0,b:!0,fc:!0,i:!0,u:!0};b.sort(function(a,b){return a.s-b.s});for(var m=b.filter(function(a){return w[a.n]}),x=b.filter(function(a){return f[a.n]}),z=[0],g=0;0<(g=a.indexOf("\n",g));)g++,z.push(g);for(var p=0,g=0;g<x.length;g++){if(x[g].s>z[p])x.splice(g,0,{s:z[p],n:"a",v:"center"});else{for(;g<x.length&&x[g].s==z[p];)g++;g--}p++}null!=z[p]&&
x.push({s:z[p],n:"a",v:"center"});z="";p=m.slice();p.sort(function(a,b){return a.e-b.e});for(var va=g=0,B=0,e={},C={},A=[],D=[],E=[],T=!1,ja=!1,l,y=0,S=0,N=a.length,ca=!0;B<x.length||ca;){ca=!1;if(B<x.length){var K=x[B],R=x[B].s;T&&(C={},z+=n(a,N,y,!0),y=N,z+=c());for(;null!=K&&K.s==R;)C[K.n]=K,K=x[++B];N=null!=K?K.s:a.length;z+=d(C);T&&(z+=k(e));T=!0}for(;g>=va&&(g<m.length||va<p.length);)if(K=m[g],R=p[va],K&&R&&K.s<R.e){if(K.s>N)break;y=K.s;for(0<y-S&&(z+=k(e)+n(a,S,y));null!=K&&K.s==y;)e[K.n]=
K,K=m[++g];z+=k(e)}else if(R){if(R.e>N)break;S=R.e;do delete e[R.n],R=p[++va];while(null!=R&&R.e==S);z+=n(a,y,S);y=S;0!=D.length||null!=K&&K.s==S||(m.splice(g,0,{s:S,n:"dummy",v:""}),p.splice(va,0,{e:K?K.s:N,n:"dummy",v:""}))}else break}z+=n(null,null,null,!0);T&&(z+=c(!0));return z}function g(a){y=!1;var b=null!=a.Text?a.Text:null!=a.Value?a.Value:a.Lane_0;null==b&&null!=a.State?null!=a.State.t&&(b=a.State):null==b&&null!=a.Note?null!=a.Note.t&&(b=a.Note):null==b&&null!=a.Title?null!=a.Title.t&&
(b=a.Title):null!=a.t&&(b=a);null==b&&null!=a.TextAreas?null!=a.TextAreas.Text&&null!=a.TextAreas.Text.Value&&null!=a.TextAreas.Text.Value.t&&(b=a.TextAreas.Text.Value):null==b&&null!=a.t0&&null!=a.t0.t&&(b=a.t0);if(null!=b){if(null!=b.t){a=b.t;a=a.replace(/\u2028/g,"\n");b=b.m;try{for(var d=0;d<b.length;d++)if(0<b[d].s||null!=b[d].e&&b[d].e<a.length||"t"==b[d].n){y=!0;break}if(y)return f(a,b)}catch(Rb){console.log(Rb)}a=a.replace(/</g,"&lt;");return a=a.replace(/>/g,"&gt;")}if(null!=b.Value&&null!=
b.Value.t)return b.Value.t=b.Value.t.replace(/</g,"&lt;"),b.Value.t=b.Value.t.replace(/>/g,"&gt;"),b.Value.t}return""}function p(a){return null!=a.Action?a.Action:a}function e(a){if(null!=a.Text){if(null!=a.Text.m)return a.Text.m}else if(null!=a.TextAreas){if(null!=a.TextAreas.Text&&null!=a.TextAreas.Text.Value&&null!=a.TextAreas.Text.Value.m)return a.TextAreas.Text.Value.m}else{if(null!=a.m)return a.m;if(null!=a.Title&&null!=a.Title.m)return a.Title.m}return null}function m(b,c){return"whiteSpace=wrap;"+
(c?"overflow=block;html=1;fontSize=11;":a(b)+d(b)+k(b)+w(b)+x(b)+z(b)+B(b)+A(b))+C(b)+D(b)}function c(a,d,k,c,n){var h="";null!=a&&""!=a&&";"!=a.charAt(a.length-1)&&(h=";");return h+="whiteSpace=wrap;"+(n?(dc(a,"overflow")?"":"overflow=block;")+(dc(a,"html")?"":"html=1;")+"fontSize=11;":b(mxConstants.STYLE_FONTSIZE,a,d,k,c)+b(mxConstants.STYLE_FONTCOLOR,a,d,k,c)+b(mxConstants.STYLE_FONTSTYLE,a,d,k,c)+b(mxConstants.STYLE_ALIGN,a,d,k,c)+b(mxConstants.STYLE_SPACING_LEFT,a,d,k,c)+b(mxConstants.STYLE_SPACING_RIGHT,
a,d,k,c)+b(mxConstants.STYLE_SPACING_TOP,a,d,k,c)+b(mxConstants.STYLE_SPACING_BOTTOM,a,d,k,c))+b(mxConstants.STYLE_SPACING,a,d,k,c)+b(mxConstants.STYLE_VERTICAL_ALIGN,a,d,k,c)+b(mxConstants.STYLE_STROKECOLOR,a,d,k,c)+b(mxConstants.STYLE_OPACITY,a,d,k,c)+b(mxConstants.STYLE_ROUNDED,a,d,k,c)+b(mxConstants.STYLE_ROTATION,a,d,k,c)+b(mxConstants.STYLE_FLIPH,a,d,k,c)+b(mxConstants.STYLE_FLIPV,a,d,k,c)+b(mxConstants.STYLE_SHADOW,a,d,k,c)+b(mxConstants.STYLE_FILLCOLOR,a,d,k,c)+b(mxConstants.STYLE_DASHED,
a,d,k,c)+b(mxConstants.STYLE_STROKEWIDTH,a,d,k,c)+b(mxConstants.STYLE_IMAGE,a,d,k,c)}function b(b,c,n,f,h){if(!dc(c,b))switch(b){case mxConstants.STYLE_FONTSIZE:return a(n);case mxConstants.STYLE_FONTCOLOR:return d(n);case mxConstants.STYLE_FONTSTYLE:return k(n);case mxConstants.STYLE_ALIGN:return w(n);case mxConstants.STYLE_SPACING_LEFT:return x(n);case mxConstants.STYLE_SPACING_RIGHT:return z(n);case mxConstants.STYLE_SPACING_TOP:return B(n);case mxConstants.STYLE_SPACING_BOTTOM:return A(n);case mxConstants.STYLE_SPACING:return C(n);
case mxConstants.STYLE_VERTICAL_ALIGN:return D(n);case mxConstants.STYLE_STROKECOLOR:return E(n,f);case mxConstants.STYLE_OPACITY:return O(n,f,h);case mxConstants.STYLE_ROUNDED:return b=!h.edge&&!h.style.includes("rounded")&&null!=n.Rounding&&0<n.Rounding?"rounded=1;absoluteArcSize=1;arcSize="+Math.round(.6*n.Rounding)+";":"",b;case mxConstants.STYLE_ROTATION:return T(n,f,h);case mxConstants.STYLE_FLIPH:return b=n.FlipX?"flipH=1;":"",b;case mxConstants.STYLE_FLIPV:return b=n.FlipY?"flipV=1;":"",b;
case mxConstants.STYLE_SHADOW:return ca(n);case mxConstants.STYLE_FILLCOLOR:return K(n,f);case mxConstants.STYLE_DASHED:return na(n);case mxConstants.STYLE_STROKEWIDTH:return ea(n);case mxConstants.STYLE_IMAGE:return ec(n,f)}return""}function a(a){a=e(a);if(null!=a)for(var b=0;b<a.length;){var d=a[b];if("s"==d.n&&null!=d.v)return"fontSize="+Math.floor(.6*d.v)+";";b++}return"fontSize=11;"}function d(a){a=e(a);if(null!=a)for(var b=0;b<a.length;){var d=a[b];if("c"==d.n&&null!=d.v)return a=d.v,"#"!=a.charAt(0)&&
(a="#"+a),a=a.substring(0,7),mxConstants.STYLE_FONTCOLOR+"="+a+";";b++}return""}function k(a){return n(e(a))}function n(a){if(null!=a){var b=0,d=!1;if(null!=a)for(var k=0;!d&&k<a.length;){var c=a[k];"b"==c.n?null!=c.v&&c.v&&(d=!0,b+=1):"fc"==c.n&&"Bold"==c.v&&(d=!0,b+=1);k++}d=!1;if(null!=a)for(k=0;!d&&k<a.length;)c=a[k],"i"==c.n&&null!=c.v&&c.v&&(d=!0,b+=2),k++;d=!1;if(null!=a)for(k=0;!d&&k<a.length;)c=a[k],"u"==c.n&&null!=c.v&&c.v&&(d=!0,b+=4),k++;if(0<b)return"fontStyle="+b+";"}return""}function w(a){a=
e(a);if(null!=a)for(var b=0;b<a.length;){var d=a[b];if("a"==d.n&&null!=d.v)return"align="+d.v+";";b++}return""}function x(a){var b=e(a);if(null!=b)for(var d=0;d<b.length;){var k=b[d];if(null!=k.v){if("il"==k.n)return"spacingLeft="+.6*k.v+";";w(a)}d++}return""}function z(a){a=e(a);if(null!=a)for(var b=0;b<a.length;){var d=a[b];if("ir"==d.n&&null!=d.v)return"spacingRight="+d.v+";";b++}return""}function B(a){a=e(a);if(null!=a)for(var b=0;b<a.length;){var d=a[b];if("mt"==d.n&&null!=d.v)return"spacingTop="+
d.v+";";b++}return""}function A(a){a=e(a);if(null!=a)for(var b=0;b<a.length;){var d=a[b];if("mb"==d.n&&null!=d.v)return"spacingBottom="+d.v+";";b++}return""}function C(a){return"number"===typeof a.InsetMargin?"spacing="+Math.max(0,Math.round(.6*parseInt(a.InsetMargin)))+";":""}function D(a){return null!=a.Text_VAlign&&"string"===typeof a.Text_VAlign?"verticalAlign="+a.Text_VAlign+";":null!=a.Title_VAlign&&"string"===typeof a.Title_VAlign?"verticalAlign="+a.Title_VAlign+";":Fa(mxConstants.STYLE_VERTICAL_ALIGN,
a.TextVAlign,"middle")}function E(a,b){return 0==a.LineWidth?mxConstants.STYLE_STROKECOLOR+"=none;":Fa(mxConstants.STYLE_STROKECOLOR,S(a.LineColor),"#000000")}function G(a){return null!=a?mxConstants.STYLE_FILLCOLOR+"="+S(a)+";":""}function N(a){return null!=a?"swimlaneFillColor="+S(a)+";":""}function O(a,b,d){b="";if("string"===typeof a.LineColor&&7<a.LineColor.length){var k="0x"+a.LineColor.substring(a.LineColor.length-2,a.LineColor.length);d.style.includes("strokeOpacity")||(b+="strokeOpacity="+
Math.round(parseInt(k)/2.55)+";")}"string"===typeof a.FillColor&&7<a.FillColor.length&&(a="0x"+a.FillColor.substring(a.FillColor.length-2,a.FillColor.length),d.style.includes("fillOpacity")||(b+="fillOpacity="+Math.round(parseInt(a)/2.55)+";"));return b}function T(a,b,d){var k="";if(null!=a.Rotation){a=mxUtils.toDegree(parseFloat(a.Rotation));var c=!0;0!=a&&("UMLSwimLaneBlockV2"==b.Class||(0<=b.Class.indexOf("Rotated")||-90==a||270==a)&&(0<=b.Class.indexOf("Pool")||0<=b.Class.indexOf("SwimLane")))?
(a+=90,d.geometry.rotate90(),d.geometry.isRotated=!0,c=!1):0<=mxUtils.indexOf(md,b.Class)?(a-=90,d.geometry.rotate90()):0<=mxUtils.indexOf(nd,b.Class)&&(a+=180);0!=a&&(k+="rotation="+a+";");c||(k+="horizontal=0;")}return k}function ca(a){return null!=a.Shadow?mxConstants.STYLE_SHADOW+"=1;":""}function S(a){(a=a?a.substring(0,7):null)&&"#"!=a.charAt(0)&&"r"!=a.charAt(0).toLowerCase()&&(a="#"+a);return a}function R(a,b){return a&&7<a.length?b+"="+Math.round(parseInt("0x"+a.substr(7))/2.55)+";":""}function K(a,
b){if(null!=a.FillColor)if("object"===typeof a.FillColor){if(null!=a.FillColor.cs&&1<a.FillColor.cs.length)return Fa(mxConstants.STYLE_FILLCOLOR,S(a.FillColor.cs[0].c))+Fa(mxConstants.STYLE_GRADIENTCOLOR,S(a.FillColor.cs[1].c))}else return"string"===typeof a.FillColor?Fa(mxConstants.STYLE_FILLCOLOR,S(a.FillColor),"#FFFFFF"):Fa(mxConstants.STYLE_FILLCOLOR,"none");return""}function na(a){return"dotted"==a.StrokeStyle?"dashed=1;dashPattern=1 4;":"dashdot"==a.StrokeStyle?"dashed=1;dashPattern=10 5 1 5;":
"dashdotdot"==a.StrokeStyle?"dashed=1;dashPattern=10 5 1 5 1 5;":"dotdotdot"==a.StrokeStyle?"dashed=1;dashPattern=1 2;":"longdash"==a.StrokeStyle?"dashed=1;dashPattern=16 6;":"dashlongdash"==a.StrokeStyle?"dashed=1;dashPattern=10 6 16 6;":"dashed24"==a.StrokeStyle?"dashed=1;dashPattern=3 8;":"dashed32"==a.StrokeStyle?"dashed=1;dashPattern=6 5;":"dashed44"==a.StrokeStyle?"dashed=1;dashPattern=8 8;":null!=a.StrokeStyle&&"dashed"==a.StrokeStyle.substring(0,6)?"dashed=1;":""}function ea(a){return null!=
a.LineWidth?Fa(mxConstants.STYLE_STROKEWIDTH,Math.round(.6*parseFloat(a.LineWidth)),"1"):""}function ec(a,b,d){"ImageSearchBlock2"==b.Class?d=a.URL:"UserImage2Block"==b.Class&&null!=a.ImageFillProps&&null!=a.ImageFillProps.url?d=a.ImageFillProps.url:a.FillColor&&a.FillColor.url&&(d=a.FillColor.url);if(null!=d){if(null!=LucidImporter.imgSrcRepl)for(a=0;a<LucidImporter.imgSrcRepl.length;a++)b=LucidImporter.imgSrcRepl[a],d=d.replace(b.searchVal,b.replVal);return"image="+d+";"}return""}function ka(a,
b,d,k){for(var c=b,n=0;null!=k.getAttributeForCell(a,c);)n++,c=b+"_"+n;k.setAttributeForCell(a,c,null!=d?d:"")}function fc(a,b,d,k,n,f){var h=p(b);if(null!=h){var w=Hb[h.Class];null!=w?a.style+=w+";":a.edge||(console.log("No mapping found for: "+h.Class),LucidImporter.hasUnknownShapes=!0);w=null!=h.Properties?h.Properties:h;if(null!=w){a.value=f?"":g(w);a.style+=c(a.style,w,h,a,y);a.style.includes("strokeColor")||(a.style+=E(w,h));if(null!=w.Link&&0<w.Link.length&&"ext"==w.Link[0].tp)d.setAttributeForCell(a,
"link",w.Link[0].url);else if(null!=w.Text){a:{f=e(w.Text);if(null!=f)for(var x=0;x<f.length;x++)if(f[x].n=null!=f[x].v&&0<f[x].v.length&&"ext"==f[x].v[0].tp){f=f[x].v[0].url;break a}f=null}null!=f&&d.setAttributeForCell(a,"link",f)}f=[];var x=d.convertValueToString(a),z=!1;if(null!=x){for(var B=0;match=od.exec(x);){var Rb=match[0],z=!0;if(2<Rb.length){var A=Rb.substring(2,Rb.length-2);"documentName"==A?A="filename":"pageName"==A?A="page":"totalPages"==A?A="pagecount":"page"==A?A="pagenumber":"date:"==
A.substring(0,5)?A="date{"+A.substring(5).replace(/MMMM/g,"mmmm").replace(/MM/g,"mm").replace(/YYYY/g,"yyyy")+"}":"lastModifiedTime"==A.substring(0,16)?A=A.replace(/MMMM/g,"mmmm").replace(/MM/g,"mm").replace(/YYYY/g,"yyyy"):"i18nDate:"==A.substring(0,9)&&(A="date{"+A.substring(9).replace(/i18nShort/g,"shortDate").replace(/i18nMediumWithTime/g,"mmm d, yyyy hh:MM TT")+"}");A="%"+A+"%";f.push(x.substring(B,match.index)+(null!=A?A:Rb));B=match.index+Rb.length}}z&&(f.push(x.substring(B)),d.setAttributeForCell(a,
"label",f.join("")),d.setAttributeForCell(a,"placeholders","1"))}for(var C in w)if(w.hasOwnProperty(C)&&C.toString().startsWith("ShapeData_"))try{var D=w[C],T=mxUtils.trim(D.Label).replace(/[^a-z0-9]+/ig,"_").replace(/^\d+/,"").replace(/_+$/,"");ka(a,T,D.Value,d)}catch(ue){window.console&&console.log("Ignored "+C+":",ue)}w.Title&&w.Text&&"ExtShape"!=h.Class.substr(0,8)&&(h=a.geometry,h=new mxCell(g(w.Title),new mxGeometry(0,h.height,h.width,10),"strokeColor=none;fillColor=none;"),h.vertex=!0,a.insert(h),
h.style+=m(w.Title,y));if(a.edge){a.style=null!=w.Rounding&&"diagonal"!=w.Shape?a.style+("rounded=1;arcSize="+w.Rounding+";"):a.style+"rounded=0;";if("diagonal"!=w.Shape)if(null!=w.ElbowPoints&&0<w.ElbowPoints.length)for(a.geometry.points=[],h=0;h<w.ElbowPoints.length;h++)a.geometry.points.push(new mxPoint(Math.round(.6*w.ElbowPoints[h].x+Ib),Math.round(.6*w.ElbowPoints[h].y+Jb)));else"elbow"==w.Shape?a.style+="edgeStyle=orthogonalEdgeStyle;":null!=w.Endpoint1.Block&&null!=w.Endpoint2.Block&&(a.style+=
"edgeStyle=orthogonalEdgeStyle;","curve"==w.Shape&&(a.style+="curved=1;"));if(w.LineJumps||LucidImporter.globalProps.LineJumps)a.style+="jumpStyle=arc;";null!=w.Endpoint1.Style&&(null!=Sb[w.Endpoint1.Style]?a.style+="startArrow="+Sb[w.Endpoint1.Style]+";":(LucidImporter.hasUnknownShapes=!0,window.console&&console.log("Unknown endpoint style: "+w.Endpoint1.Style)));null!=w.Endpoint2.Style&&(null!=Sb[w.Endpoint2.Style]?a.style+="endArrow="+Sb[w.Endpoint2.Style].replace(/startSize/g,"endSize")+";":(LucidImporter.hasUnknownShapes=
!0,window.console&&console.log("Unknown endpoint style: "+w.Endpoint2.Style)));C=null!=w.ElbowControlPoints&&0<w.ElbowControlPoints.length?w.ElbowControlPoints:null!=w.BezierJoints&&0<w.BezierJoints.length?w.BezierJoints:w.Joints;if(null!=C)for(a.geometry.points=[],h=0;h<C.length;h++)D=C[h].p?C[h].p:C[h],a.geometry.points.push(new mxPoint(Math.round(.6*D.x+Ib),Math.round(.6*D.y+Jb)));h=!1;if((null==a.geometry.points||0==a.geometry.points.length)&&null!=w.Endpoint1.Block&&w.Endpoint1.Block==w.Endpoint2.Block&&
null!=k&&null!=n){h=new mxPoint(Math.round(k.geometry.x+k.geometry.width*w.Endpoint1.LinkX),Math.round(k.geometry.y+k.geometry.height*w.Endpoint1.LinkY));C=new mxPoint(Math.round(n.geometry.x+n.geometry.width*w.Endpoint2.LinkX),Math.round(n.geometry.y+n.geometry.height*w.Endpoint2.LinkY));Ib=h.x==C.x?Math.abs(h.x-k.geometry.x)<k.geometry.width/2?-20:20:0;Jb=h.y==C.y?Math.abs(h.y-k.geometry.y)<k.geometry.height/2?-20:20:0;var S=new mxPoint(h.x+Ib,h.y+Jb),va=new mxPoint(C.x+Ib,C.y+Jb);S.generated=!0;
va.generated=!0;a.geometry.points=[S,va];h=h.x==C.x}null!=k&&k.geometry.isRotated||(S=Ab(a,w.Endpoint1,!0,h));null!=k&&null!=S&&(null==k.stylePoints&&(k.stylePoints=[]),k.stylePoints.push(S),LucidImporter.stylePointsSet.add(k));null!=n&&n.geometry.isRotated||(va=Ab(a,w.Endpoint2,!1,h));null!=n&&null!=va&&(null==n.stylePoints&&(n.stylePoints=[]),n.stylePoints.push(va),LucidImporter.stylePointsSet.add(n))}}}null!=b.id&&ka(a,"lucidchartObjectId",b.id,d)}function tc(a,b){var d=p(a),k=d.Properties,n=k.BoundingBox;
null==a.Class||"AWS"!==a.Class.substring(0,3)&&"Amazon"!==a.Class.substring(0,6)||a.Class.includes("AWS19")||(n.h-=20);v=new mxCell("",new mxGeometry(Math.round(.6*n.x+Ib),Math.round(.6*n.y+Jb),Math.round(.6*n.w),Math.round(.6*n.h)),"html=1;overflow=block;whiteSpace=wrap;");v.vertex=!0;fc(v,a,b);v.zOrder=k.ZOrder;null!=v&&0<=v.style.indexOf(";grIcon=")&&(n=new mxCell("",new mxGeometry(v.geometry.x,v.geometry.y,v.geometry.width,v.geometry.height),"html=1;overflow=block;whiteSpace=wrap;"),n.vertex=
!0,n.style+=c(n.style,k,d,n),v.geometry.x=0,v.geometry.y=0,v.style+="part=1;",n.insert(v),v=n);Md(v,k);return v}function qa(a,b,d,k){var n=new mxCell("",new mxGeometry(0,0,100,100),"html=1;jettySize=18;");n.geometry.relative=!0;n.edge=!0;fc(n,a,b,d,k,!0);b=p(a).Properties;d=null!=b?b.TextAreas:a.TextAreas;if(null!=d){for(k=0;null!=d["t"+k];){var c=d["t"+k],n=oa(c,n);k++}for(k=0;null!=d["m"+k]||1>k;)c=d["m"+k],null!=c&&(n=oa(c,n,a)),k++;null!=d.Text&&(n=oa(d.Text,n,a));d=null!=b?b.TextAreas:a.TextAreas;
null!=d.Message&&(n=oa(d.Message,n,a))}return n}function oa(a,b,d){var k=2*(parseFloat(a.Location)-.5);isNaN(k)&&null!=a.Text&&null!=a.Text.Location&&(k=2*(parseFloat(a.Text.Location)-.5));d=mxCell;var c=g(a),k=new mxGeometry(isNaN(k)?0:k,0,0,0),f="11",w="";if(null!=a&&null!=a.Value&&null!=a.Value.m)for(var w=n(a.Value.m),m=0;m<a.Value.m.length;m++)if("s"==a.Value.m[m].n)f=.6*parseFloat(a.Value.m[m].v);else if("c"==a.Value.m[m].n){var x=a.Value.m[m].v;null!=x&&("#"!=x.charAt(0)&&(x="#"+x),x=x.substring(0,
7));w+="fontColor="+x+";"}a=new d(c,k,"text;html=1;resizable=0;labelBackgroundColor=#ffffff;align=center;verticalAlign=middle;"+(w+";fontSize="+f+";"));a.geometry.relative=!0;a.vertex=!0;b.insert(a);return b}function Fa(a,b,d,k){null!=b&&null!=k&&(b=k(b));return null!=b&&b!=d?a+"="+b+";":""}function Ab(a,b,d,k,n){if(null!=b&&null!=b.LinkX&&null!=b.LinkY&&(b.LinkX=Math.round(1E3*b.LinkX)/1E3,b.LinkY=Math.round(1E3*b.LinkY)/1E3,a.style+=(k?"":(d?"exitX":"entryX")+"="+b.LinkX+";")+(n?"":(d?"exitY":"entryY")+
"="+b.LinkY+";")+(d?"exitPerimeter":"entryPerimeter")+"=0;",b.Inside))return"["+b.LinkX+","+b.LinkY+",0]"}function Bb(a,b,d){try{null!=a.Action&&null!=a.Action.Properties&&(a=a.Action.Properties);var k=new mxCell("",new mxGeometry,"group;dropTarget=0;");k.vertex=!0;var n=Infinity,c=Infinity,f=-Infinity,w=-Infinity,m=a.Members,x=[],z;for(z in m){var g=b[z];null!=g?x.push(g):d[z]=k}x.sort(function(a,b){var d=a.zOrder,k=b.zOrder;return null!=d&&null!=k?d-k:0});for(b=0;b<x.length;b++)g=x[b],n=Math.min(n,
g.geometry.x),c=Math.min(c,g.geometry.y),f=Math.max(f,g.geometry.x+g.geometry.width),w=Math.max(w,g.geometry.y+g.geometry.height),g.parent=k,k.insert(g,b);k.geometry.x=n;k.geometry.y=c;k.geometry.width=f-n;k.geometry.height=w-c;if(null!=k.children)for(b=0;b<k.children.length;b++){var p=k.children[b].geometry;p.x-=n;p.y-=c}a.IsState?k.lucidLayerInfo={name:a.Name,visible:!a.Hidden,locked:a.Restrictions.b&&a.Restrictions.p&&a.Restrictions.c}:a.Hidden&&(k.visible=!1);return k}catch(we){console.log(we)}}
function Xc(a,b,d){a.getModel().beginUpdate();try{var k=function(b,d){function k(a,b){null==a||a.generated||(a.x-=b.x,a.y-=b.y)}var h=null!=d.Endpoint1.Block?c[d.Endpoint1.Block]:null,w=null!=d.Endpoint2.Block?c[d.Endpoint2.Block]:null,x=qa(b,a,h,w);null==h&&null!=d.Endpoint1&&x.geometry.setTerminalPoint(new mxPoint(Math.round(.6*d.Endpoint1.x),Math.round(.6*d.Endpoint1.y)),!0);null==w&&null!=d.Endpoint2&&x.geometry.setTerminalPoint(new mxPoint(Math.round(.6*d.Endpoint2.x),Math.round(.6*d.Endpoint2.y)),
!1);var m=f[b.id];if(null!=m){var l=x.geometry,z=m.geometry;k(l.sourcePoint,z);k(l.targetPoint,z);k(l.offset,z);l=l.points;if(null!=l)for(var g=0;g<l.length;g++)k(l[g],z)}n.push(a.addCell(x,m,null,h,w))},n=[],c={},f={},w=[];if(null!=b.Blocks){for(var m in b.Blocks){var x=b.Blocks[m];x.id=m;var z=!1;null!=Hb[x.Class]&&"mxCompositeShape"==Hb[x.Class]&&(c[x.id]=Yc(x,n,a),w.push(x),z=!0);z||(c[x.id]=tc(x,a),w.push(x))}if(null!=b.Generators)for(m in b.Generators)"OrgChart2018"==b.Generators[m].ClassName&&
(LucidImporter.hasUnknownShapes=!0,console.log("Lucid diagram has an Org Chart!"))}else{for(var g=0;g<b.Objects.length;g++)x=b.Objects[g],null!=x.Action&&"mxCompositeShape"==Hb[x.Action.Class]?c[x.id]=Yc(x,n,a):x.IsBlock&&null!=x.Action&&null!=x.Action.Properties?c[x.id]=tc(x,a):x.IsGenerator&&x.GeneratorData&&x.GeneratorData.p&&"OrgChart2018"==x.GeneratorData.p.ClassName&&(LucidImporter.hasUnknownShapes=!0,console.log("Lucid diagram has an Org Chart!")),w.push(x);for(g=0;g<b.Objects.length;g++)if(x=
b.Objects[g],x.IsGroup){var B=Bb(x,c,f);B&&(c[x.id]=B,w.push(x))}}if(null!=b.Groups)try{for(m in b.Groups)if(x=b.Groups[m],x.id=m,B=Bb(x,c,f))c[x.id]=B,w.push(x)}catch(xe){console.log(xe)}if(null!=b.Lines)for(m in b.Lines)x=b.Lines[m],x.id=m,w.push(x);w.sort(function(a,b){a=p(a);b=p(b);var d=null!=a.Properties?a.Properties.ZOrder:a.ZOrder,k=null!=b.Properties?b.Properties.ZOrder:b.ZOrder;return null!=d&&null!=k?d-k:0});for(g=0;g<w.length;g++){var x=w[g],e=c[x.id];if(null!=e){if(null==e.parent)if(e.lucidLayerInfo){var A=
new mxCell;a.addCell(A,a.model.root);A.setVisible(e.lucidLayerInfo.visible);e.lucidLayerInfo.locked&&A.setStyle("locked=1;");A.setValue(e.lucidLayerInfo.name);delete e.lucidLayerInfo;a.addCell(e,A)}else n.push(a.addCell(e))}else x.IsLine&&null!=x.Action&&null!=x.Action.Properties?k(x,x.Action.Properties):null!=x.StrokeStyle&&k(x,x)}LucidImporter.stylePointsSet.forEach(function(a){a.style="points=["+a.stylePoints.join(",")+"];"+a.style;delete a.stylePoints});d||a.setSelectionCells(n)}finally{a.getModel().endUpdate()}}
function ra(){var a=new Graph;a.setExtendParents(!1);a.setExtendParentsOnAdd(!1);a.setConstrainChildren(!1);a.setHtmlLabels(!0);a.getModel().maintainEdgeParent=!1;return a}function Tb(a,b,d,k,n,c,f,w){this.nurbsValues=[1,3,0,0,100*(a+d),100-100*(1-(b+k)),0,1,100*(n+f),100-100*(1-(c+w)),0,1]}function Nd(a,b){try{for(var d=[],k=b.BoundingBox.w,n=b.BoundingBox.h,c=0;c<b.Shapes.length;c++){var f=b.Shapes[c],w=f.FillColor,x=f.StrokeColor,m=f.LineWidth,z=f.Points,g=f.Lines,p=['<shape strokewidth="inherit"><foreground>'];
p.push("<path>");for(var B=null,e=0;e<g.length;e++){var A=g[e];if(B!=A.p1){var C=z[A.p1].x,D=z[A.p1].y,C=100*C/k,D=100*D/n,C=Math.round(100*C)/100,D=Math.round(100*D)/100;p.push('<move x="'+C+'" y="'+D+'"/>')}if(null!=A.n1){var E;var T=z[A.p2].x,y=z[A.p2].y,S=k,l=n,N=new Tb(z[A.p1].x,z[A.p1].y,A.n1.x,A.n1.y,z[A.p2].x,z[A.p2].y,A.n2.x,A.n2.y);if(2<=N.getSize()){N.getX(0);N.getY(0);N.getX(1);N.getY(1);for(var T=Math.round(100*T/S*100)/100,y=Math.round(100*y/l*100)/100,S=[],l=[],K=[],ca=N.getSize(),
R=0;R<ca-1;R+=3)S.push(new mxPoint(N.getX(R),N.getY(R))),l.push(new mxPoint(N.getX(R+1),N.getY(R+1))),R<ca-2?K.push(new mxPoint(N.getX(R+2),N.getY(R+2))):K.push(new mxPoint(T,y));for(var G="",R=0;R<S.length;R++)G+='<curve x1="'+S[R].x+'" y1="'+S[R].y+'" x2="'+l[R].x+'" y2="'+l[R].y+'" x3="'+K[R].x+'" y3="'+K[R].y+'"/>';E=G}else E=void 0;p.push(E)}else C=z[A.p2].x,D=z[A.p2].y,C=100*C/k,D=100*D/n,C=Math.round(100*C)/100,D=Math.round(100*D)/100,p.push('<line x="'+C+'" y="'+D+'"/>');B=A.p2}p.push("</path>");
p.push("<fillstroke/>");p.push("</foreground></shape>");d.push({shapeStencil:"stencil("+Graph.compress(p.join(""))+")",FillColor:w,LineColor:x,LineWidth:m})}LucidImporter.stencilsMap[a]={text:b.Text,w:k,h:n,stencils:d}}catch(ld){console.log("Stencil parsing error:",ld)}}function vb(a,b,d,k,n,c,f,w){a=new mxCell("",new mxGeometry(a,b,0,0),"strokeColor=none;fillColor=none;");a.vertex=!0;f.insert(a);c=[a];d=d.clone();w.insertEdge(d,!1);a.insertEdge(d,!0);c.push(d);k.push(n.addCell(d,null,null,null,null))}
function ua(a,b,d,k,n,c,f,w,x){a=new mxCell("",new mxGeometry(a,b,0,0),"strokeColor=none;fillColor=none;");a.vertex=!0;x.insert(a);d=new mxCell("",new mxGeometry(d,k,0,0),"strokeColor=none;fillColor=none;");d.vertex=!0;x.insert(d);w=[d];n=n.clone();a.insertEdge(n,!0);d.insertEdge(n,!1);w.push(n);c.push(f.addCell(n,null,null,null,null))}function fa(a,b,d,k,n,f){k.style="rounded=1;absoluteArcSize=1;fillColor=#ffffff;arcSize=2;strokeColor=#dddddd;";k.style+=c(k.style,n,f,k);b=g(n);k.vertex=!0;a=new mxCell(b,
new mxGeometry(0,.5,24,24),"dashed=0;connectable=0;html=1;strokeColor=none;"+mxConstants.STYLE_SHAPE+"=mxgraph.gcp2."+a+";part=1;shadow=0;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=5;");a.style+=c(a.style,n,f,a,y);a.geometry.relative=!0;a.geometry.offset=new mxPoint(5,-12);a.vertex=!0;k.insert(a)}function la(a,b,d,k,n,f,w,x){n="transparent"!=a?mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.":mxConstants.STYLE_SHAPE+"=";f.style="rounded=1;absoluteArcSize=1;arcSize=2;verticalAlign=bottom;fillColor=#ffffff;strokeColor=#dddddd;whiteSpace=wrap;";
f.style+=c(f.style,w,x,f);f.value=g(w);f.vertex=!0;a=new mxCell(null,new mxGeometry(.5,0,.7*k*b,.7*k*d),n+a+";part=1;dashed=0;connectable=0;html=1;strokeColor=none;shadow=0;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-b*k*.35,10+(1-d)*k*.35);a.vertex=!0;a.style+=c(a.style,w,x,a,y);f.insert(a)}function dc(a,b){return null==a||null==b||!a.includes(";"+b+"=")&&a.substring(0,b.length+1)!=b+"="?!1:!0}function Yc(b,n,f){var e=p(b),h=e.Properties,ka=h.BoundingBox,t=Math.round(.6*ka.w),r=Math.round(.6*
ka.h),qa=Math.round(.6*ka.x+Ib),oa=Math.round(.6*ka.y+Jb);null==b.Class||"GCPInputDatabase"!==b.Class&&"GCPInputRecord"!==b.Class&&"GCPInputPayment"!==b.Class&&"GCPInputGateway"!==b.Class&&"GCPInputLocalCompute"!==b.Class&&"GCPInputBeacon"!==b.Class&&"GCPInputStorage"!==b.Class&&"GCPInputList"!==b.Class&&"GCPInputStream"!==b.Class&&"GCPInputMobileDevices"!==b.Class&&"GCPInputCircuitBoard"!==b.Class&&"GCPInputLive"!==b.Class&&"GCPInputUsers"!==b.Class&&"GCPInputLaptop"!==b.Class&&"GCPInputApplication"!==
b.Class&&"GCPInputLightbulb"!==b.Class&&"GCPInputGame"!==b.Class&&"GCPInputDesktop"!==b.Class&&"GCPInputDesktopAndMobile"!==b.Class&&"GCPInputWebcam"!==b.Class&&"GCPInputSpeaker"!==b.Class&&"GCPInputRetail"!==b.Class&&"GCPInputReport"!==b.Class&&"GCPInputPhone"!==b.Class&&"GCPInputBlank"!==b.Class||(r+=20);v=new mxCell("",new mxGeometry(qa,oa,t,r),"html=1;overflow=block;whiteSpace=wrap;");v.vertex=!0;v.zOrder=h.ZOrder;var Ab=null!=b.Class?b.Class:null!=e?e.Class:null;switch(Ab){case "BraceNoteBlock":case "UI2BraceNoteBlock":var tc=
!1;null!=h.BraceDirection&&"Right"==h.BraceDirection&&(tc=!0);var va=null,ra=null;tc?(va=new mxCell("",new mxGeometry(t-.125*r,0,.125*r,r),"shape=curlyBracket;rounded=1;"),ra=new mxCell("",new mxGeometry(0,0,t-.125*r,r),"strokeColor=none;fillColor=none;")):(va=new mxCell("",new mxGeometry(0,0,.125*r,r),"shape=curlyBracket;rounded=1;flipH=1;"),ra=new mxCell("",new mxGeometry(.125*r,0,t-.125*r,r),"strokeColor=none;fillColor=none;"));v.style="strokeColor=none;fillColor=none;";v.style+=c(v.style,h,e,
v);va.vertex=!0;v.insert(va);va.style+=c(va.style,h,e,va);ra.vertex=!0;ra.value=g(h);v.insert(ra);ra.style+=c(ra.style,h,e,ra,y);break;case "BPMNAdvancedPoolBlockRotated":case "UMLMultiLanePoolRotatedBlock":case "UMLMultiLanePoolBlock":case "BPMNAdvancedPoolBlock":case "AdvancedSwimLaneBlockRotated":case "AdvancedSwimLaneBlock":case "UMLSwimLaneBlockV2":var ja="MainText",Bb=null,Xc="HeaderFill_",Tb="BodyFill_",Vc=25,Hb=25,sc=0;if(null!=h.Lanes)sc=h.Lanes.length;else if(null!=h.PrimaryLane){for(var Sb=
function(a){if(a)32>a?a=32:208<a&&(a=208);else return 0;return.6*a},sc=h.PrimaryLane.length,l=r=t=0;l<sc;l++)t+=h.PrimaryLane[l];for(l=0;l<h.SecondaryLane.length;l++)r+=h.SecondaryLane[l];Vc=Sb(h.PrimaryPoolTitleHeight);Hb=Sb(h.PrimaryLaneTitleHeight);t*=.6;r=.6*r+Vc+Hb;v.geometry.width=t;v.geometry.height=r;ja="poolPrimaryTitleKey";Xc="PrimaryLaneHeaderFill_";Tb="CellFill_0,";Bb=h.PrimaryLaneTextAreaIds;if(null==Bb)for(Bb=[],l=0;l<sc;l++)Bb.push("Primary_"+l)}if(0==h.IsPrimaryLaneVertical){h.Rotation=
-1.5707963267948966;var dc=v.geometry.x,Yc=v.geometry.y}var kd=0!=h.Rotation,Ld=0<Ab.indexOf("Pool"),md=0==Ab.indexOf("BPMN"),ld=null!=h[ja];v.style=(Ld?"swimlane;startSize="+Vc+";":"fillColor=none;strokeColor=none;pointerEvents=0;")+"html=1;whiteSpace=wrap;container=1;collapsible=0;childLayout=stackLayout;resizeParent=1;dropTarget=0;"+(kd?"horizontalStack=0;":"");v.style+=c(v.style,h,e,v);ld&&(v.value=g(h[ja]),v.style+=(y?"overflow=block;fontSize=11;":a(h[ja])+d(h[ja])+k(h[ja])+w(h[ja],v)+x(h[ja])+
z(h[ja])+B(h[ja])+A(h[ja]))+C(h[ja])+D(h[ja]));for(var Kd=0,zb=[],nd="swimlane;html=1;whiteSpace=wrap;container=1;connectable=0;collapsible=0;startSize="+Hb+";dropTarget=0;rounded=0;"+(kd?"horizontal=0;":"")+(md?"swimlaneLine=0;fillColor=none;":""),V=h.Rotation=0;V<sc;V++){if(null==Bb)var Wc=parseFloat(h.Lanes[V].p),l=parseInt(h.Lanes[V].tid)||V,Wa="Lane_"+l;else Wc=.6*h.PrimaryLane[V]/t,l=V,Wa=Bb[V];var Od=t*Kd,Zc=Ld?Vc:0;zb.push(new mxCell("",kd?new mxGeometry(Zc,Od,r-Zc,t*Wc):new mxGeometry(Od,
Zc,t*Wc,r-Zc),nd));zb[V].vertex=!0;v.insert(zb[V]);zb[V].value=g(h[Wa]);zb[V].style+=c(zb[V].style,h,e,zb[V],y)+(y?"fontSize=11;":a(h[Wa])+d(h[Wa])+k(h[Wa])+w(h[Wa],zb[V])+x(h[Wa])+z(h[Wa])+B(h[Wa])+A(h[Wa]))+C(h[Wa])+D(h[Wa])+G(h[Xc+l])+N(h[Tb+l]);Kd+=Wc}null!=dc&&(v.geometry.x=dc,v.geometry.y=Yc);break;case "UMLMultidimensionalSwimlane":var Vb=0,Wb=0,pd=null,qd=null;if(null!=h.Rows&&null!=h.Columns)var Vb=h.Rows.length,Wb=h.Columns.length,uc=.6*h.TitleHeight||25,vc=.6*h.TitleWidth||25;else if(null!=
h.PrimaryLane&&null!=h.SecondaryLane){Vb=h.SecondaryLane.length;Wb=h.PrimaryLane.length;vc=.6*h.SecondaryLaneTitleHeight||25;uc=.6*h.PrimaryLaneTitleHeight||25;for(l=r=t=0;l<Vb;l++)r+=h.SecondaryLane[l];for(l=0;l<Wb;l++)t+=h.PrimaryLane[l];t=.6*t+vc;r=.6*r+uc;v.geometry.width=t;v.geometry.height=r;pd=h.SecondaryLaneTextAreaIds;qd=h.PrimaryLaneTextAreaIds}v.style="group;";var rd=new mxCell("",new mxGeometry(0,uc,t,r-uc),"fillColor=none;strokeColor=none;html=1;whiteSpace=wrap;container=1;collapsible=0;childLayout=stackLayout;resizeParent=1;dropTarget=0;horizontalStack=0;");
rd.vertex=!0;var sd=new mxCell("",new mxGeometry(vc,0,t-vc,r),"fillColor=none;strokeColor=none;html=1;whiteSpace=wrap;container=1;collapsible=0;childLayout=stackLayout;resizeParent=1;dropTarget=0;");sd.vertex=!0;v.insert(rd);v.insert(sd);for(var oa=0,od="swimlane;html=1;whiteSpace=wrap;container=1;connectable=0;collapsible=0;dropTarget=0;horizontal=0;startSize="+vc+";",V=0;V<Vb;V++){if(null==pd)var td=.6*parseInt(h.Rows[V].height),l=parseInt(h.Rows[V].id)||V,Xa="Row_"+l;else td=.6*h.SecondaryLane[V],
Xa=pd[V];var Kb=new mxCell("",new mxGeometry(0,oa,t,td),od),oa=oa+td;Kb.vertex=!0;rd.insert(Kb);Kb.value=g(h[Xa]);Kb.style+=c(Kb.style,h,e,Kb,y)+(y?"fontSize=11;":a(h[Xa])+d(h[Xa])+k(h[Xa])+w(h[Xa],Kb)+x(h[Xa])+z(h[Xa])+B(h[Xa])+A(h[Xa]))+C(h[Xa])+D(h[Xa])}for(var ye="swimlane;html=1;whiteSpace=wrap;container=1;connectable=0;collapsible=0;dropTarget=0;startSize="+uc+";",V=qa=0;V<Wb;V++){if(null==qd)var gc=.6*parseInt(h.Columns[V].width),l=parseInt(h.Columns[V].id)||V,Ya="Column_"+l;else gc=.6*h.PrimaryLane[V],
Ya=qd[V];var Lb=new mxCell("",new mxGeometry(qa,0,gc,r),ye),qa=qa+gc;Lb.vertex=!0;sd.insert(Lb);Lb.value=g(h[Ya]);Lb.style+=c(Lb.style,h,e,Lb,y)+(y?"fontSize=11;":a(h[Ya])+d(h[Ya])+k(h[Ya])+w(h[Ya],Lb)+x(h[Ya])+z(h[Ya])+B(h[Ya])+A(h[Ya]))+C(h[Ya])+D(h[Ya])}break;case "AndroidDevice":if(null!=h.AndroidDeviceName){v.style="fillColor=#000000;strokeColor=#000000;";var Mb=null,wc=null,xc=null;if("Tablet"==h.AndroidDeviceName||"Mini Tablet"==h.AndroidDeviceName||"custom"==h.AndroidDeviceName&&"Tablet"==
h.CustomDeviceType)v.style+="shape=mxgraph.android.tab2;",Mb=new mxCell("",new mxGeometry(.112*t,.077*r,.77*t,.85*r),""),h.KeyboardShown&&(wc=new mxCell("",new mxGeometry(.112*t,.727*r,.77*t,.2*r),"shape=mxgraph.android.keyboard;")),h.FullScreen||(xc=new mxCell("",new mxGeometry(.112*t,.077*r,.77*t,.03*r),"shape=mxgraph.android.statusBar;strokeColor=#33b5e5;fillColor=#000000;fontColor=#33b5e5;fontSize="+.015*r+";"));else if("Large Phone"==h.AndroidDeviceName||"Phone"==h.AndroidDeviceName||"custom"==
h.AndroidDeviceName&&"Phone"==h.CustomDeviceType)v.style+="shape=mxgraph.android.phone2;",Mb=new mxCell("",new mxGeometry(.04*t,.092*r,.92*t,.816*r),""),h.KeyboardShown&&(wc=new mxCell("",new mxGeometry(.04*t,.708*r,.92*t,.2*r),"shape=mxgraph.android.keyboard;")),h.FullScreen||(xc=new mxCell("",new mxGeometry(.04*t,.092*r,.92*t,.03*r),"shape=mxgraph.android.statusBar;strokeColor=#33b5e5;fillColor=#000000;fontColor=#33b5e5;fontSize="+.015*r+";"));Mb.vertex=!0;v.insert(Mb);"Dark"==h.Scheme?Mb.style+=
"fillColor=#111111;":"Light"==h.Scheme&&(Mb.style+="fillColor=#ffffff;");null!=wc&&(wc.vertex=!0,v.insert(wc));null!=xc&&(xc.vertex=!0,v.insert(xc))}v.style+=c(v.style,h,e,v);break;case "AndroidAlertDialog":var eb=new mxCell("",new mxGeometry(0,0,t,30),"strokeColor=none;fillColor=none;spacingLeft=9;");eb.vertex=!0;v.insert(eb);var ia=new mxCell("",new mxGeometry(0,25,t,10),"shape=line;strokeColor=#33B5E5;");ia.vertex=!0;v.insert(ia);var yc=new mxCell("",new mxGeometry(0,30,t,r-30),"strokeColor=none;fillColor=none;verticalAlign=top;");
yc.vertex=!0;v.insert(yc);var xa=new mxCell("",new mxGeometry(0,r-25,.5*t,25),"fillColor=none;");xa.vertex=!0;v.insert(xa);var ya=new mxCell("",new mxGeometry(.5*t,r-25,.5*t,25),"fillColor=none;");ya.vertex=!0;v.insert(ya);eb.value=g(h.DialogTitle);eb.style+=m(h.DialogTitle,y);yc.value=g(h.DialogText);yc.style+=m(h.DialogText,y);xa.value=g(h.Button_0);xa.style+=m(h.Button_0,y);ya.value=g(h.Button_1);ya.style+=m(h.Button_1,y);"Dark"==h.Scheme?(v.style+="strokeColor=#353535;fillColor=#282828;shadow=1;",
xa.style+="strokeColor=#353535;",ya.style+="strokeColor=#353535;"):(v.style+="strokeColor=none;fillColor=#ffffff;shadow=1;",xa.style+="strokeColor=#E2E2E2;",ya.style+="strokeColor=#E2E2E2;");v.style+=c(v.style,h,e,v);break;case "AndroidDateDialog":case "AndroidTimeDialog":eb=new mxCell("",new mxGeometry(0,0,t,30),"strokeColor=none;fillColor=none;spacingLeft=9;");eb.vertex=!0;v.insert(eb);eb.value=g(h.DialogTitle);eb.style+=m(h.DialogTitle,y);ia=new mxCell("",new mxGeometry(0,25,t,10),"shape=line;strokeColor=#33B5E5;");
ia.vertex=!0;v.insert(ia);xa=new mxCell("",new mxGeometry(0,r-25,.5*t,25),"fillColor=none;");xa.vertex=!0;v.insert(xa);xa.value=g(h.Button_0);xa.style+=m(h.Button_0,y);ya=new mxCell("",new mxGeometry(.5*t,r-25,.5*t,25),"fillColor=none;");ya.vertex=!0;v.insert(ya);ya.value=g(h.Button_1);ya.style+=m(h.Button_1,y);var hc=new mxCell("",new mxGeometry(.5*t-4,41,8,4),"shape=triangle;direction=north;");hc.vertex=!0;v.insert(hc);var ic=new mxCell("",new mxGeometry(.25*t-4,41,8,4),"shape=triangle;direction=north;");
ic.vertex=!0;v.insert(ic);var jc=new mxCell("",new mxGeometry(.75*t-4,41,8,4),"shape=triangle;direction=north;");jc.vertex=!0;v.insert(jc);var zc=new mxCell("",new mxGeometry(.375*t,50,.2*t,15),"strokeColor=none;fillColor=none;");zc.vertex=!0;v.insert(zc);zc.value=g(h.Label_1);zc.style+=m(h.Label_1,y);var Ac=new mxCell("",new mxGeometry(.125*t,50,.2*t,15),"strokeColor=none;fillColor=none;");Ac.vertex=!0;v.insert(Ac);Ac.value=g(h.Label_0);Ac.style+=m(h.Label_0,y);var kc=null;"AndroidDateDialog"==b.Class&&
(kc=new mxCell("",new mxGeometry(.625*t,50,.2*t,15),"strokeColor=none;fillColor=none;"),kc.vertex=!0,v.insert(kc),kc.value=g(h.Label_2),kc.style+=m(h.Label_2,y));var Ka=new mxCell("",new mxGeometry(.43*t,60,.14*t,10),"shape=line;strokeColor=#33B5E5;");Ka.vertex=!0;v.insert(Ka);var La=new mxCell("",new mxGeometry(.18*t,60,.14*t,10),"shape=line;strokeColor=#33B5E5;");La.vertex=!0;v.insert(La);var Pd=new mxCell("",new mxGeometry(.68*t,60,.14*t,10),"shape=line;strokeColor=#33B5E5;");Pd.vertex=!0;v.insert(Pd);
var Bc=new mxCell("",new mxGeometry(.375*t,65,.2*t,15),"strokeColor=none;fillColor=none;");Bc.vertex=!0;v.insert(Bc);Bc.value=g(h.Label_4);Bc.style+=m(h.Label_4,y);var lc=null;"AndroidTimeDialog"==b.Class&&(lc=new mxCell("",new mxGeometry(.3*t,65,.1*t,15),"strokeColor=none;fillColor=none;"),lc.vertex=!0,v.insert(lc),lc.value=g(h.Label_Colon),lc.style+=m(h.Label_Colon,y));var Cc=new mxCell("",new mxGeometry(.125*t,65,.2*t,15),"strokeColor=none;fillColor=none;");Cc.vertex=!0;v.insert(Cc);Cc.value=g(h.Label_3);
Cc.style+=m(h.Label_3,y);var Dc=new mxCell("",new mxGeometry(.625*t,65,.2*t,15),"strokeColor=none;fillColor=none;");Dc.vertex=!0;v.insert(Dc);Dc.value=g(h.Label_5);Dc.style+=m(h.Label_5,y);var Qd=new mxCell("",new mxGeometry(.43*t,75,.14*t,10),"shape=line;strokeColor=#33B5E5;");Qd.vertex=!0;v.insert(Qd);var Rd=new mxCell("",new mxGeometry(.18*t,75,.14*t,10),"shape=line;strokeColor=#33B5E5;");Rd.vertex=!0;v.insert(Rd);var Sd=new mxCell("",new mxGeometry(.68*t,75,.14*t,10),"shape=line;strokeColor=#33B5E5;");
Sd.vertex=!0;v.insert(Sd);var Ec=new mxCell("",new mxGeometry(.375*t,80,.2*t,15),"strokeColor=none;fillColor=none;");Ec.vertex=!0;v.insert(Ec);Ec.value=g(h.Label_7);Ec.style+=m(h.Label_7,y);var Fc=new mxCell("",new mxGeometry(.125*t,80,.2*t,15),"strokeColor=none;fillColor=none;");Fc.vertex=!0;v.insert(Fc);Fc.value=g(h.Label_6);Fc.style+=m(h.Label_6,y);var Gc=new mxCell("",new mxGeometry(.625*t,80,.2*t,15),"strokeColor=none;fillColor=none;");Gc.vertex=!0;v.insert(Gc);Gc.value=g(h.Label_8);Gc.style+=
m(h.Label_8,y);var mc=new mxCell("",new mxGeometry(.5*t-4,99,8,4),"shape=triangle;direction=south;");mc.vertex=!0;v.insert(mc);var nc=new mxCell("",new mxGeometry(.25*t-4,99,8,4),"shape=triangle;direction=south;");nc.vertex=!0;v.insert(nc);var oc=new mxCell("",new mxGeometry(.75*t-4,99,8,4),"shape=triangle;direction=south;");oc.vertex=!0;v.insert(oc);"Dark"==h.Scheme?(v.style+="strokeColor=#353535;fillColor=#282828;shadow=1;",xa.style+="strokeColor=#353535;",ya.style+="strokeColor=#353535;",hc.style+=
"strokeColor=none;fillColor=#7E7E7E;",ic.style+="strokeColor=none;fillColor=#7E7E7E;",jc.style+="strokeColor=none;fillColor=#7E7E7E;",mc.style+="strokeColor=none;fillColor=#7E7E7E;",nc.style+="strokeColor=none;fillColor=#7E7E7E;",oc.style+="strokeColor=none;fillColor=#7E7E7E;"):(v.style+="strokeColor=none;fillColor=#ffffff;shadow=1;",xa.style+="strokeColor=#E2E2E2;",ya.style+="strokeColor=#E2E2E2;",hc.style+="strokeColor=none;fillColor=#939393;",ic.style+="strokeColor=none;fillColor=#939393;",jc.style+=
"strokeColor=none;fillColor=#939393;",mc.style+="strokeColor=none;fillColor=#939393;",nc.style+="strokeColor=none;fillColor=#939393;",oc.style+="strokeColor=none;fillColor=#939393;");v.style+=c(v.style,h,e,v);break;case "AndroidListItems":var Ga=r,Cb=0;if(h.ShowHeader){var Cb=8,Hc=new mxCell("",new mxGeometry(0,0,t,Cb),"strokeColor=none;fillColor=none;");Hc.vertex=!0;v.insert(Hc);Hc.value=g(h.Header);Hc.style+=m(h.Header,y);var Ga=Ga-Cb,Td=new mxCell("",new mxGeometry(0,Cb-2,t,4),"shape=line;strokeColor=#999999;");
Td.vertex=!0;v.insert(Td)}var fb=parseInt(h.Items);0<fb&&(Ga/=fb);for(var I=[],ia=[],l=0;l<fb;l++)I[l]=new mxCell("",new mxGeometry(0,Cb+l*Ga,t,Ga),"strokeColor=none;fillColor=none;"),I[l].vertex=!0,v.insert(I[l]),I[l].value=g(h["Item_"+l]),I[l].style+=m(h["Item_"+l],y),0<l&&(ia[l]=new mxCell("",new mxGeometry(0,Cb+l*Ga-2,t,4),"shape=line;"),ia[l].vertex=!0,v.insert(ia[l]),ia[l].style="Dark"==h.Scheme?ia[l].style+"strokeColor=#ffffff;":ia[l].style+"strokeColor=#D9D9D9;");v.style="Dark"==h.Scheme?
v.style+"strokeColor=none;fillColor=#111111;":v.style+"strokeColor=none;fillColor=#ffffff;";v.style+=c(v.style,h,e,v);break;case "AndroidTabs":var gb=parseInt(h.Tabs),Qa=t;0<gb&&(Qa/=gb);for(var ga=[],ia=[],l=0;l<gb;l++)ga[l]=new mxCell("",new mxGeometry(l*Qa,0,Qa,r),"strokeColor=none;fillColor=none;"),ga[l].vertex=!0,v.insert(ga[l]),ga[l].value=g(h["Tab_"+l]),ga[l].style+=m(h["Tab_"+l],y),0<l&&(ia[l]=new mxCell("",new mxGeometry(l*Qa-2,.2*r,4,.6*r),"shape=line;direction=north;"),ia[l].vertex=!0,
v.insert(ia[l]),ia[l].style="Dark"==h.Scheme?ia[l].style+"strokeColor=#484848;":ia[l].style+"strokeColor=#CCCCCC;");var Ud=new mxCell("",new mxGeometry(h.Selected*Qa+2,r-3,Qa-4,3),"strokeColor=none;fillColor=#33B5E5;");Ud.vertex=!0;v.insert(Ud);v.style="Dark"==h.Scheme?v.style+"strokeColor=none;fillColor=#333333;":v.style+"strokeColor=none;fillColor=#DDDDDD;";v.style+=c(v.style,h,e,v);break;case "AndroidProgressBar":v=new mxCell("",new mxGeometry(Math.round(qa),Math.round(oa+.25*r),Math.round(t),
Math.round(.5*r)),"html=1;overflow=block;whiteSpace=wrap;");v.vertex=!0;var Ic=new mxCell("",new mxGeometry(0,0,t*h.BarPosition,Math.round(.5*r)),"strokeColor=none;fillColor=#33B5E5;");Ic.vertex=!0;v.insert(Ic);v.style="Dark"==h.Scheme?v.style+"strokeColor=none;fillColor=#474747;":v.style+"strokeColor=none;fillColor=#BBBBBB;";v.style+=c(v.style,h,e,v);break;case "AndroidImageBlock":v.style="Dark"==h.Scheme?v.style+"shape=mxgraph.mockup.graphics.simpleIcon;strokeColor=#7E7E7E;fillColor=#111111;":v.style+
"shape=mxgraph.mockup.graphics.simpleIcon;strokeColor=#939393;fillColor=#ffffff;";v.style+=c(v.style,h,e,v);break;case "AndroidTextBlock":v.style="Dark"==h.Scheme?h.ShowBorder?v.style+"fillColor=#111111;strokeColor=#ffffff;":v.style+"fillColor=#111111;strokeColor=none;":h.ShowBorder?v.style+"fillColor=#ffffff;strokeColor=#000000;":v.style+"fillColor=#ffffff;strokeColor=none;";v.value=g(h.Label);v.style+=m(h.Label,y);v.style+=c(v.style,h,e,v,y);break;case "AndroidActionBar":v.style+="strokeColor=none;";
switch(h.BarBackground){case "Blue":v.style+="fillColor=#002E3E;";break;case "Gray":v.style+="fillColor=#DDDDDD;";break;case "Dark Gray":v.style+="fillColor=#474747;";break;case "White":v.style+="fillColor=#ffffff;"}if(h.HighlightShow){var Db=null,Db=h.HighlightTop?new mxCell("",new mxGeometry(0,0,t,2),"strokeColor=none;"):new mxCell("",new mxGeometry(0,r-2,t,2),"strokeColor=none;");Db.vertex=!0;v.insert(Db);switch(h.HighlightColor){case "Blue":Db.style+="fillColor=#33B5E5;";break;case "Dark Gray":Db.style+=
"fillColor=#B0B0B0;";break;case "White":Db.style+="fillColor=#ffffff;"}}if(h.VlignShow){var pc=new mxCell("",new mxGeometry(20,5,2,r-10),"shape=line;direction=north;");pc.vertex=!0;v.insert(pc);switch(h.VlignColor){case "Blue":pc.style+="strokeColor=#244C5A;";break;case "White":pc.style+="strokeColor=#ffffff;"}}v.style+=c(v.style,h,e,v);break;case "AndroidButton":v.value=g(h.Label);v.style+=m(h.Label,y)+"shape=partialRectangle;left=0;right=0;";v.style="Dark"==h.Scheme?v.style+"fillColor=#474747;strokeColor=#C6C5C6;bottom=0;":
v.style+"fillColor=#DFE0DF;strokeColor=#C6C5C6;top=0;";v.style+=c(v.style,h,e,v);break;case "AndroidTextBox":v.value=g(h.Label);v.style+=m(h.Label,y);var Jc=new mxCell("",new mxGeometry(2,r-6,t-4,4),"shape=partialRectangle;top=0;fillColor=none;");Jc.vertex=!0;v.insert(Jc);v.style="Dark"==h.Scheme?v.style+"fillColor=#111111;strokeColor=none;":v.style+"fillColor=#ffffff;strokeColor=none;";Jc.style=h.TextFocused?Jc.style+"strokeColor=#33B5E5;":Jc.style+"strokeColor=#A9A9A9;";v.style+=c(v.style,h,e,v);
break;case "AndroidRadioButton":var Xb=null;h.Checked&&(Xb=new mxCell("",new mxGeometry(.15*t,.15*r,.7*t,.7*r),"ellipse;fillColor=#33B5E5;strokeWidth=1;"),Xb.vertex=!0,v.insert(Xb));"Dark"==h.Scheme?(v.style+="shape=ellipse;perimeter=ellipsePerimeter;strokeWidth=1;strokeColor=#272727;",h.Checked?(Xb.style+="strokeColor=#1F5C73;",v.style+="fillColor=#193C49;"):v.style+="fillColor=#111111;"):(v.style+="shape=ellipse;perimeter=ellipsePerimeter;strokeWidth=1;fillColor=#ffffff;strokeColor=#5C5C5C;",h.Checked&&
(Xb.style+="strokeColor=#999999;"));v.style+=c(v.style,h,e,v);break;case "AndroidCheckBox":var ud=null;h.Checked&&(ud=new mxCell("",new mxGeometry(.25*t,.05*-r,t,.8*r),"shape=mxgraph.ios7.misc.check;strokeColor=#33B5E5;strokeWidth=2;"),ud.vertex=!0,v.insert(ud));v.style="Dark"==h.Scheme?v.style+"strokeWidth=1;strokeColor=#272727;fillColor=#111111;":v.style+"strokeWidth=1;strokeColor=#5C5C5C;fillColor=#ffffff;";v.style+=c(v.style,h,e,v);break;case "AndroidToggle":v.style="Dark"==h.Scheme?h.Checked?
v.style+"shape=mxgraph.android.switch_on;fillColor=#666666;":v.style+"shape=mxgraph.android.switch_off;fillColor=#666666;":h.Checked?v.style+"shape=mxgraph.android.switch_on;fillColor=#E6E6E6;":v.style+"shape=mxgraph.android.switch_off;fillColor=#E6E6E6;";v.style+=c(v.style,h,e,v);break;case "AndroidSlider":v.style+="shape=mxgraph.android.progressScrubberFocused;dx="+h.BarPosition+";fillColor=#33b5e5;";v.style+=c(v.style,h,e,v);break;case "iOSSegmentedControl":hb=parseInt(h.Tabs);Ra=t;v.style+="strokeColor=none;fillColor=none;";
0<hb&&(Ra/=hb);ga=[];ia=[];for(l=0;l<hb;l++)ga[l]=new mxCell("",new mxGeometry(l*Ra,0,Ra,r),"strokeColor="+h.FillColor+";"),ga[l].vertex=!0,v.insert(ga[l]),ga[l].value=g(h["Tab_"+l]),ga[l].style+=m(h["Tab_"+l],y),ga[l].style=h.Selected==l?ga[l].style+M(h,e):ga[l].style+"fillColor=none;";v.style+=c(v.style,h,e,v);break;case "iOSSlider":v.style+="shape=mxgraph.ios7ui.slider;strokeColor="+h.FillColor+";fillColor=#ffffff;strokeWidth=2;barPos="+100*h.BarPosition+";";v.style+=c(v.style,h,e,v);break;case "iOSProgressBar":v=
new mxCell("",new mxGeometry(Math.round(pa),Math.round(na+.25*r),Math.round(t),Math.round(.5*r)),"html=1;overflow=block;whiteSpace=wrap;strokeColor=none;fillColor=#B5B5B5;");v.vertex=!0;Ic=new mxCell("",new mxGeometry(0,0,t*h.BarPosition,Math.round(.5*r)),"strokeColor=none;"+M(h,e));Ic.vertex=!0;v.insert(Ic);v.style+=c(v.style,h,e,v);break;case "iOSPageControls":v.style+="shape=mxgraph.ios7ui.pageControl;strokeColor=#D6D6D6;";v.style+=c(v.style,h,e,v);break;case "iOSStatusBar":v.style+="shape=mxgraph.ios7ui.appBar;strokeColor=#000000;";
var X=new mxCell(g(h.Text),new mxGeometry(.35*t,0,.3*t,r),"strokeColor=none;fillColor=none;");X.vertex=!0;v.insert(X);X.style+=m(h.Text,y);var Na=new mxCell(g(h.Carrier),new mxGeometry(.09*t,0,.2*t,r),"strokeColor=none;fillColor=none;");Na.vertex=!0;v.insert(Na);Na.style+=m(h.Carrier,y);v.style+=c(v.style,h,e,v);break;case "iOSSearchBar":v.value=g(h.Search);v.style+="strokeColor=none;";v.style+=c(v.style,h,e,v,y)+m(h.Search,y);var aa=new mxCell("",new mxGeometry(.3*t,.3*r,.4*r,.4*r),"shape=mxgraph.ios7.icons.looking_glass;strokeColor=#000000;fillColor=none;");
aa.vertex=!0;v.insert(aa);break;case "iOSNavBar":v.value=g(h.Title);v.style+="shape=partialRectangle;top=0;right=0;left=0;strokeColor=#979797;";+m(h.Title,y);v.style+=c(v.style,h,e,v,y);X=new mxCell(g(h.LeftText),new mxGeometry(.03*t,0,.3*t,r),"strokeColor=none;fillColor=none;");X.vertex=!0;v.insert(X);X.style+=m(h.LeftText,y);Na=new mxCell(g(h.RightText),new mxGeometry(.65*t,0,.3*t,r),"strokeColor=none;fillColor=none;");Na.vertex=!0;v.insert(Na);Na.style+=m(h.RightText,y);aa=new mxCell("",new mxGeometry(.02*
t,.2*r,.3*r,.5*r),"shape=mxgraph.ios7.misc.left;strokeColor=#007AFF;strokeWidth=2;");aa.vertex=!0;v.insert(aa);break;case "iOSTabs":hb=parseInt(h.Tabs);Ra=t;v.style+="shape=partialRectangle;right=0;left=0;bottom=0;strokeColor=#979797;";v.style+=c(v.style,h,e,v);0<hb&&(Ra/=hb);ga=[];ia=[];for(l=0;l<hb;l++)ga[l]=new mxCell("",new mxGeometry(l*Ra,0,Ra,r),"strokeColor=none;"),ga[l].vertex=!0,v.insert(ga[l]),ga[l].value=g(h["Tab_"+l]),ga[l].style+=y?"overflow=block;html=1;":a(h["Tab_"+l])+d(h["Tab_"+l])+
k(h["Tab_"+l])+w(h["Tab_"+l])+x(h["Tab_"+l])+z(h["Tab_"+l])+B(h["Tab_"+l])+A(h["Tab_"+l])+C(h["Tab_"+l]),ga[l].style+="verticalAlign=bottom;",ga[l].style=h.Selected==l?ga[l].style+"fillColor=#BBBBBB;":ga[l].style+"fillColor=none;";break;case "iOSDatePicker":var ib=new mxCell("",new mxGeometry(0,0,.5*t,.2*r),"strokeColor=none;fillColor=none;");ib.vertex=!0;v.insert(ib);ib.value=g(h.Option11);ib.style+=m(h.Option11,y);var jb=new mxCell("",new mxGeometry(.5*t,0,.15*t,.2*r),"strokeColor=none;fillColor=none;");
jb.vertex=!0;v.insert(jb);jb.value=g(h.Option21);jb.style+=m(h.Option21,y);var kb=new mxCell("",new mxGeometry(.65*t,0,.15*t,.2*r),"strokeColor=none;fillColor=none;");kb.vertex=!0;v.insert(kb);kb.value=g(h.Option31);kb.style+=m(h.Option31,y);var lb=new mxCell("",new mxGeometry(0,.2*r,.5*t,.2*r),"strokeColor=none;fillColor=none;");lb.vertex=!0;v.insert(lb);lb.value=g(h.Option12);lb.style+=m(h.Option12,y);var mb=new mxCell("",new mxGeometry(.5*t,.2*r,.15*t,.2*r),"strokeColor=none;fillColor=none;");
mb.vertex=!0;v.insert(mb);mb.value=g(h.Option22);mb.style+=m(h.Option22,y);var nb=new mxCell("",new mxGeometry(.65*t,.2*r,.15*t,.2*r),"strokeColor=none;fillColor=none;");nb.vertex=!0;v.insert(nb);nb.value=g(h.Option32);nb.style+=m(h.Option32,y);var za=new mxCell("",new mxGeometry(0,.4*r,.5*t,.2*r),"strokeColor=none;fillColor=none;");za.vertex=!0;v.insert(za);za.value=g(h.Option13);za.style+=m(h.Option13,y);var Aa=new mxCell("",new mxGeometry(.5*t,.4*r,.15*t,.2*r),"strokeColor=none;fillColor=none;");
Aa.vertex=!0;v.insert(Aa);Aa.value=g(h.Option23);Aa.style+=m(h.Option23,y);var ob=new mxCell("",new mxGeometry(.65*t,.4*r,.15*t,.2*r),"strokeColor=none;fillColor=none;");ob.vertex=!0;v.insert(ob);ob.value=g(h.Option33);ob.style+=m(h.Option33,y);var Ba=new mxCell("",new mxGeometry(.8*t,.4*r,.15*t,.2*r),"strokeColor=none;fillColor=none;");Ba.vertex=!0;v.insert(Ba);Ba.value=g(h.Option43);Ba.style+=m(h.Option43,y);var Ca=new mxCell("",new mxGeometry(0,.6*r,.5*t,.2*r),"strokeColor=none;fillColor=none;");
Ca.vertex=!0;v.insert(Ca);Ca.value=g(h.Option14);Ca.style+=m(h.Option14,y);var pb=new mxCell("",new mxGeometry(.5*t,.6*r,.15*t,.2*r),"strokeColor=none;fillColor=none;");pb.vertex=!0;v.insert(pb);pb.value=g(h.Option24);pb.style+=m(h.Option24,y);var qb=new mxCell("",new mxGeometry(.65*t,.6*r,.15*t,.2*r),"strokeColor=none;fillColor=none;");qb.vertex=!0;v.insert(qb);qb.value=g(h.Option34);qb.style+=m(h.Option34,y);var rb=new mxCell("",new mxGeometry(.8*t,.6*r,.15*t,.2*r),"strokeColor=none;fillColor=none;");
rb.vertex=!0;v.insert(rb);rb.value=g(h.Option44);rb.style+=m(h.Option44,y);var Da=new mxCell("",new mxGeometry(0,.8*r,.5*t,.2*r),"strokeColor=none;fillColor=none;");Da.vertex=!0;v.insert(Da);Da.value=g(h.Option15);Da.style+=m(h.Option15,y);var sb=new mxCell("",new mxGeometry(.5*t,.8*r,.15*t,.2*r),"strokeColor=none;fillColor=none;");sb.vertex=!0;v.insert(sb);sb.value=g(h.Option25);sb.style+=m(h.Option25,y);var tb=new mxCell("",new mxGeometry(.65*t,.8*r,.15*t,.2*r),"strokeColor=none;fillColor=none;");
tb.vertex=!0;v.insert(tb);tb.value=g(h.Option35);tb.style+=m(h.Option35,y);La=new mxCell("",new mxGeometry(0,.4*r-2,t,4),"shape=line;strokeColor=#888888;");La.vertex=!0;v.insert(La);Ma=new mxCell("",new mxGeometry(0,.6*r-2,t,4),"shape=line;strokeColor=#888888;");Ma.vertex=!0;v.insert(Ma);v.style+="strokeColor=none;";v.style+=c(v.style,h,e,v);break;case "iOSTimePicker":ib=new mxCell("",new mxGeometry(0,0,.25*t,.2*r),"strokeColor=none;fillColor=none;");ib.vertex=!0;v.insert(ib);ib.value=g(h.Option11);
ib.style+=m(h.Option11,y);jb=new mxCell("",new mxGeometry(.25*t,0,.3*t,.2*r),"strokeColor=none;fillColor=none;");jb.vertex=!0;v.insert(jb);jb.value=g(h.Option21);jb.style+=m(h.Option21,y);lb=new mxCell("",new mxGeometry(0,.2*r,.25*t,.2*r),"strokeColor=none;fillColor=none;");lb.vertex=!0;v.insert(lb);lb.value=g(h.Option12);lb.style+=m(h.Option12,y);mb=new mxCell("",new mxGeometry(.25*t,.2*r,.3*t,.2*r),"strokeColor=none;fillColor=none;");mb.vertex=!0;v.insert(mb);mb.value=g(h.Option22);mb.style+=m(h.Option22,
v.style+"shape=mxgraph.android.switch_on;fillColor=#666666;":v.style+"shape=mxgraph.android.switch_off;fillColor=#666666;":h.Checked?v.style+"shape=mxgraph.android.switch_on;fillColor=#E6E6E6;":v.style+"shape=mxgraph.android.switch_off;fillColor=#E6E6E6;";v.style+=c(v.style,h,e,v);break;case "AndroidSlider":v.style+="shape=mxgraph.android.progressScrubberFocused;dx="+h.BarPosition+";fillColor=#33b5e5;";v.style+=c(v.style,h,e,v);break;case "iOSSegmentedControl":gb=parseInt(h.Tabs);Qa=t;v.style+="strokeColor=none;fillColor=none;";
0<gb&&(Qa/=gb);ga=[];ia=[];for(l=0;l<gb;l++)ga[l]=new mxCell("",new mxGeometry(l*Qa,0,Qa,r),"strokeColor="+h.FillColor+";"),ga[l].vertex=!0,v.insert(ga[l]),ga[l].value=g(h["Tab_"+l]),ga[l].style+=m(h["Tab_"+l],y),ga[l].style=h.Selected==l?ga[l].style+K(h,e):ga[l].style+"fillColor=none;";v.style+=c(v.style,h,e,v);break;case "iOSSlider":v.style+="shape=mxgraph.ios7ui.slider;strokeColor="+h.FillColor+";fillColor=#ffffff;strokeWidth=2;barPos="+100*h.BarPosition+";";v.style+=c(v.style,h,e,v);break;case "iOSProgressBar":v=
new mxCell("",new mxGeometry(Math.round(qa),Math.round(oa+.25*r),Math.round(t),Math.round(.5*r)),"html=1;overflow=block;whiteSpace=wrap;strokeColor=none;fillColor=#B5B5B5;");v.vertex=!0;Ic=new mxCell("",new mxGeometry(0,0,t*h.BarPosition,Math.round(.5*r)),"strokeColor=none;"+K(h,e));Ic.vertex=!0;v.insert(Ic);v.style+=c(v.style,h,e,v);break;case "iOSPageControls":v.style+="shape=mxgraph.ios7ui.pageControl;strokeColor=#D6D6D6;";v.style+=c(v.style,h,e,v);break;case "iOSStatusBar":v.style+="shape=mxgraph.ios7ui.appBar;strokeColor=#000000;";
var X=new mxCell(g(h.Text),new mxGeometry(.35*t,0,.3*t,r),"strokeColor=none;fillColor=none;");X.vertex=!0;v.insert(X);X.style+=m(h.Text,y);var Ma=new mxCell(g(h.Carrier),new mxGeometry(.09*t,0,.2*t,r),"strokeColor=none;fillColor=none;");Ma.vertex=!0;v.insert(Ma);Ma.style+=m(h.Carrier,y);v.style+=c(v.style,h,e,v);break;case "iOSSearchBar":v.value=g(h.Search);v.style+="strokeColor=none;";v.style+=c(v.style,h,e,v,y)+m(h.Search,y);var aa=new mxCell("",new mxGeometry(.3*t,.3*r,.4*r,.4*r),"shape=mxgraph.ios7.icons.looking_glass;strokeColor=#000000;fillColor=none;");
aa.vertex=!0;v.insert(aa);break;case "iOSNavBar":v.value=g(h.Title);v.style+="shape=partialRectangle;top=0;right=0;left=0;strokeColor=#979797;";+m(h.Title,y);v.style+=c(v.style,h,e,v,y);X=new mxCell(g(h.LeftText),new mxGeometry(.03*t,0,.3*t,r),"strokeColor=none;fillColor=none;");X.vertex=!0;v.insert(X);X.style+=m(h.LeftText,y);Ma=new mxCell(g(h.RightText),new mxGeometry(.65*t,0,.3*t,r),"strokeColor=none;fillColor=none;");Ma.vertex=!0;v.insert(Ma);Ma.style+=m(h.RightText,y);aa=new mxCell("",new mxGeometry(.02*
t,.2*r,.3*r,.5*r),"shape=mxgraph.ios7.misc.left;strokeColor=#007AFF;strokeWidth=2;");aa.vertex=!0;v.insert(aa);break;case "iOSTabs":gb=parseInt(h.Tabs);Qa=t;v.style+="shape=partialRectangle;right=0;left=0;bottom=0;strokeColor=#979797;";v.style+=c(v.style,h,e,v);0<gb&&(Qa/=gb);ga=[];ia=[];for(l=0;l<gb;l++)ga[l]=new mxCell("",new mxGeometry(l*Qa,0,Qa,r),"strokeColor=none;"),ga[l].vertex=!0,v.insert(ga[l]),ga[l].value=g(h["Tab_"+l]),ga[l].style+=y?"overflow=block;html=1;fontSize=11;":a(h["Tab_"+l])+
d(h["Tab_"+l])+k(h["Tab_"+l])+w(h["Tab_"+l])+x(h["Tab_"+l])+z(h["Tab_"+l])+B(h["Tab_"+l])+A(h["Tab_"+l])+C(h["Tab_"+l]),ga[l].style+="verticalAlign=bottom;",ga[l].style=h.Selected==l?ga[l].style+"fillColor=#BBBBBB;":ga[l].style+"fillColor=none;";break;case "iOSDatePicker":var hb=new mxCell("",new mxGeometry(0,0,.5*t,.2*r),"strokeColor=none;fillColor=none;");hb.vertex=!0;v.insert(hb);hb.value=g(h.Option11);hb.style+=m(h.Option11,y);var ib=new mxCell("",new mxGeometry(.5*t,0,.15*t,.2*r),"strokeColor=none;fillColor=none;");
ib.vertex=!0;v.insert(ib);ib.value=g(h.Option21);ib.style+=m(h.Option21,y);var jb=new mxCell("",new mxGeometry(.65*t,0,.15*t,.2*r),"strokeColor=none;fillColor=none;");jb.vertex=!0;v.insert(jb);jb.value=g(h.Option31);jb.style+=m(h.Option31,y);var kb=new mxCell("",new mxGeometry(0,.2*r,.5*t,.2*r),"strokeColor=none;fillColor=none;");kb.vertex=!0;v.insert(kb);kb.value=g(h.Option12);kb.style+=m(h.Option12,y);var lb=new mxCell("",new mxGeometry(.5*t,.2*r,.15*t,.2*r),"strokeColor=none;fillColor=none;");
lb.vertex=!0;v.insert(lb);lb.value=g(h.Option22);lb.style+=m(h.Option22,y);var mb=new mxCell("",new mxGeometry(.65*t,.2*r,.15*t,.2*r),"strokeColor=none;fillColor=none;");mb.vertex=!0;v.insert(mb);mb.value=g(h.Option32);mb.style+=m(h.Option32,y);var za=new mxCell("",new mxGeometry(0,.4*r,.5*t,.2*r),"strokeColor=none;fillColor=none;");za.vertex=!0;v.insert(za);za.value=g(h.Option13);za.style+=m(h.Option13,y);var Aa=new mxCell("",new mxGeometry(.5*t,.4*r,.15*t,.2*r),"strokeColor=none;fillColor=none;");
Aa.vertex=!0;v.insert(Aa);Aa.value=g(h.Option23);Aa.style+=m(h.Option23,y);var nb=new mxCell("",new mxGeometry(.65*t,.4*r,.15*t,.2*r),"strokeColor=none;fillColor=none;");nb.vertex=!0;v.insert(nb);nb.value=g(h.Option33);nb.style+=m(h.Option33,y);var Ba=new mxCell("",new mxGeometry(.8*t,.4*r,.15*t,.2*r),"strokeColor=none;fillColor=none;");Ba.vertex=!0;v.insert(Ba);Ba.value=g(h.Option43);Ba.style+=m(h.Option43,y);var Ca=new mxCell("",new mxGeometry(0,.6*r,.5*t,.2*r),"strokeColor=none;fillColor=none;");
Ca.vertex=!0;v.insert(Ca);Ca.value=g(h.Option14);Ca.style+=m(h.Option14,y);var ob=new mxCell("",new mxGeometry(.5*t,.6*r,.15*t,.2*r),"strokeColor=none;fillColor=none;");ob.vertex=!0;v.insert(ob);ob.value=g(h.Option24);ob.style+=m(h.Option24,y);var pb=new mxCell("",new mxGeometry(.65*t,.6*r,.15*t,.2*r),"strokeColor=none;fillColor=none;");pb.vertex=!0;v.insert(pb);pb.value=g(h.Option34);pb.style+=m(h.Option34,y);var qb=new mxCell("",new mxGeometry(.8*t,.6*r,.15*t,.2*r),"strokeColor=none;fillColor=none;");
qb.vertex=!0;v.insert(qb);qb.value=g(h.Option44);qb.style+=m(h.Option44,y);var Da=new mxCell("",new mxGeometry(0,.8*r,.5*t,.2*r),"strokeColor=none;fillColor=none;");Da.vertex=!0;v.insert(Da);Da.value=g(h.Option15);Da.style+=m(h.Option15,y);var rb=new mxCell("",new mxGeometry(.5*t,.8*r,.15*t,.2*r),"strokeColor=none;fillColor=none;");rb.vertex=!0;v.insert(rb);rb.value=g(h.Option25);rb.style+=m(h.Option25,y);var sb=new mxCell("",new mxGeometry(.65*t,.8*r,.15*t,.2*r),"strokeColor=none;fillColor=none;");
sb.vertex=!0;v.insert(sb);sb.value=g(h.Option35);sb.style+=m(h.Option35,y);Ka=new mxCell("",new mxGeometry(0,.4*r-2,t,4),"shape=line;strokeColor=#888888;");Ka.vertex=!0;v.insert(Ka);La=new mxCell("",new mxGeometry(0,.6*r-2,t,4),"shape=line;strokeColor=#888888;");La.vertex=!0;v.insert(La);v.style+="strokeColor=none;";v.style+=c(v.style,h,e,v);break;case "iOSTimePicker":hb=new mxCell("",new mxGeometry(0,0,.25*t,.2*r),"strokeColor=none;fillColor=none;");hb.vertex=!0;v.insert(hb);hb.value=g(h.Option11);
hb.style+=m(h.Option11,y);ib=new mxCell("",new mxGeometry(.25*t,0,.3*t,.2*r),"strokeColor=none;fillColor=none;");ib.vertex=!0;v.insert(ib);ib.value=g(h.Option21);ib.style+=m(h.Option21,y);kb=new mxCell("",new mxGeometry(0,.2*r,.25*t,.2*r),"strokeColor=none;fillColor=none;");kb.vertex=!0;v.insert(kb);kb.value=g(h.Option12);kb.style+=m(h.Option12,y);lb=new mxCell("",new mxGeometry(.25*t,.2*r,.3*t,.2*r),"strokeColor=none;fillColor=none;");lb.vertex=!0;v.insert(lb);lb.value=g(h.Option22);lb.style+=m(h.Option22,
y);za=new mxCell("",new mxGeometry(0,.4*r,.25*t,.2*r),"strokeColor=none;fillColor=none;");za.vertex=!0;v.insert(za);za.value=g(h.Option13);za.style+=m(h.Option13,y);Aa=new mxCell("",new mxGeometry(.25*t,.4*r,.3*t,.2*r),"strokeColor=none;fillColor=none;");Aa.vertex=!0;v.insert(Aa);Aa.value=g(h.Option23);Aa.style+=m(h.Option23,y);Ba=new mxCell("",new mxGeometry(.7*t,.4*r,.15*t,.2*r),"strokeColor=none;fillColor=none;");Ba.vertex=!0;v.insert(Ba);Ba.value=g(h.Option33);Ba.style+=m(h.Option33,y);Ca=new mxCell("",
new mxGeometry(0,.6*r,.25*t,.2*r),"strokeColor=none;fillColor=none;");Ca.vertex=!0;v.insert(Ca);Ca.value=g(h.Option14);Ca.style+=m(h.Option14,y);pb=new mxCell("",new mxGeometry(.25*t,.6*r,.3*t,.2*r),"strokeColor=none;fillColor=none;");pb.vertex=!0;v.insert(pb);pb.value=g(h.Option24);pb.style+=m(h.Option24,y);rb=new mxCell("",new mxGeometry(.7*t,.6*r,.15*t,.2*r),"strokeColor=none;fillColor=none;");rb.vertex=!0;v.insert(rb);rb.value=g(h.Option34);rb.style+=m(h.Option34,y);Da=new mxCell("",new mxGeometry(0,
.8*r,.25*t,.2*r),"strokeColor=none;fillColor=none;");Da.vertex=!0;v.insert(Da);Da.value=g(h.Option15);Da.style+=m(h.Option15,y);sb=new mxCell("",new mxGeometry(.25*t,.8*r,.3*t,.2*r),"strokeColor=none;fillColor=none;");sb.vertex=!0;v.insert(sb);sb.value=g(h.Option25);sb.style+=m(h.Option25,y);La=new mxCell("",new mxGeometry(0,.4*r-2,t,4),"shape=line;strokeColor=#888888;");La.vertex=!0;v.insert(La);Ma=new mxCell("",new mxGeometry(0,.6*r-2,t,4),"shape=line;strokeColor=#888888;");Ma.vertex=!0;v.insert(Ma);
v.style+="strokeColor=none;";v.style+=c(v.style,h,e,v);break;case "iOSCountdownPicker":kb=new mxCell("",new mxGeometry(.45*t,0,.2*t,.2*r),"strokeColor=none;fillColor=none;");kb.vertex=!0;v.insert(kb);kb.value=g(h.Option31);kb.style+=m(h.Option31,y);nb=new mxCell("",new mxGeometry(.45*t,.2*r,.2*t,.2*r),"strokeColor=none;fillColor=none;");nb.vertex=!0;v.insert(nb);nb.value=g(h.Option32);nb.style+=m(h.Option32,y);za=new mxCell("",new mxGeometry(0,.4*r,.25*t,.2*r),"strokeColor=none;fillColor=none;");
za.vertex=!0;v.insert(za);za.value=g(h.Option13);za.style+=m(h.Option13,y);Aa=new mxCell("",new mxGeometry(.2*t,.4*r,.25*t,.2*r),"strokeColor=none;fillColor=none;");Aa.vertex=!0;v.insert(Aa);Aa.value=g(h.Option23);Aa.style+=m(h.Option23,y);ob=new mxCell("",new mxGeometry(.45*t,.4*r,.2*t,.2*r),"strokeColor=none;fillColor=none;");ob.vertex=!0;v.insert(ob);ob.value=g(h.Option33);ob.style+=m(h.Option33,y);Ba=new mxCell("",new mxGeometry(.6*t,.4*r,.2*t,.2*r),"strokeColor=none;fillColor=none;");Ba.vertex=
!0;v.insert(Ba);Ba.value=g(h.Option43);Ba.style+=m(h.Option43,y);Ca=new mxCell("",new mxGeometry(0,.6*r,.25*t,.2*r),"strokeColor=none;fillColor=none;");Ca.vertex=!0;v.insert(Ca);Ca.value=g(h.Option14);Ca.style+=m(h.Option14,y);qb=new mxCell("",new mxGeometry(.45*t,.6*r,.2*t,.2*r),"strokeColor=none;fillColor=none;");qb.vertex=!0;v.insert(qb);qb.value=g(h.Option34);qb.style+=m(h.Option34,y);Da=new mxCell("",new mxGeometry(0,.8*r,.25*t,.2*r),"strokeColor=none;fillColor=none;");Da.vertex=!0;v.insert(Da);
Da.value=g(h.Option15);Da.style+=m(h.Option15,y);tb=new mxCell("",new mxGeometry(.45*t,.8*r,.2*t,.2*r),"strokeColor=none;fillColor=none;");tb.vertex=!0;v.insert(tb);tb.value=g(h.Option35);tb.style+=m(h.Option35,y);La=new mxCell("",new mxGeometry(0,.4*r-2,t,4),"shape=line;strokeColor=#888888;");La.vertex=!0;v.insert(La);Ma=new mxCell("",new mxGeometry(0,.6*r-2,t,4),"shape=line;strokeColor=#888888;");Ma.vertex=!0;v.insert(Ma);v.style+="strokeColor=none;";v.style+=c(v.style,h,e,v);break;case "iOSBasicCell":v.value=
g(h.text);v.style+="shape=partialRectangle;left=0;top=0;right=0;fillColor=#ffffff;strokeColor=#C8C7CC;spacing=0;align=left;spacingLeft="+.6*h.SeparatorInset+";";v.style+=(y?"":a(h.text)+d(h.text)+k(h.text))+D(h.text);v.style+=c(v.style,h,e,v,y);switch(h.AccessoryIndicatorType){case "Disclosure":aa=new mxCell("",new mxGeometry(.91*t,.35*r,.15*r,.3*r),"shape=mxgraph.ios7.misc.right;strokeColor=#D2D2D6;");aa.vertex=!0;v.insert(aa);break;case "DetailDisclosure":aa=new mxCell("",new mxGeometry(.91*t,.35*
r,.15*r,.3*r),"shape=mxgraph.ios7.misc.right;strokeColor=#D2D2D6;");aa.vertex=!0;v.insert(aa);var oa=new mxCell("",new mxGeometry(.79*t,.25*r,.5*r,.5*r),"shape=mxgraph.ios7.icons.info;strokeColor=#007AFF;fillColor=#ffffff;");oa.vertex=!0;v.insert(oa);break;case "DetailIndicator":oa=new mxCell("",new mxGeometry(.87*t,.25*r,.5*r,.5*r),"shape=mxgraph.ios7.icons.info;strokeColor=#007AFF;fillColor=#ffffff;");oa.vertex=!0;v.insert(oa);break;case "CheckMark":aa=new mxCell("",new mxGeometry(.89*t,.37*r,.4*
r,.26*r),"shape=mxgraph.ios7.misc.check;strokeColor=#007AFF;strokeWidth=2;"),aa.vertex=!0,v.insert(aa)}break;case "iOSSubtitleCell":v.style+="shape=partialRectangle;left=0;top=0;right=0;fillColor=#ffffff;strokeColor=#C8C7CC;align=left;spacing=0;verticalAlign=top;spacingLeft="+.6*h.SeparatorInset+";";v.value=g(h.subtext);v.style+=y?"":a(h.subtext)+d(h.subtext)+k(h.subtext);v.style+=c(v.style,h,e,v,y);var ra=new mxCell("",new mxGeometry(0,.4*r,t,.6*r),"fillColor=none;strokeColor=none;spacing=0;align=left;verticalAlign=bottom;spacingLeft="+
.6*h.SeparatorInset+";");ra.vertex=!0;v.insert(ra);ra.value=g(h.text);ra.style+=y?"html=1;":a(h.text)+d(h.text)+k(h.text);switch(h.AccessoryIndicatorType){case "Disclosure":aa=new mxCell("",new mxGeometry(.91*t,.35*r,.15*r,.3*r),"shape=mxgraph.ios7.misc.right;strokeColor=#D2D2D6;");aa.vertex=!0;v.insert(aa);break;case "DetailDisclosure":aa=new mxCell("",new mxGeometry(.91*t,.35*r,.15*r,.3*r),"shape=mxgraph.ios7.misc.right;strokeColor=#D2D2D6;");aa.vertex=!0;v.insert(aa);oa=new mxCell("",new mxGeometry(.79*
t,.25*r,.5*r,.5*r),"shape=mxgraph.ios7.icons.info;strokeColor=#007AFF;fillColor=#ffffff;");oa.vertex=!0;v.insert(oa);break;case "DetailIndicator":oa=new mxCell("",new mxGeometry(.87*t,.25*r,.5*r,.5*r),"shape=mxgraph.ios7.icons.info;strokeColor=#007AFF;fillColor=#ffffff;");oa.vertex=!0;v.insert(oa);break;case "CheckMark":aa=new mxCell("",new mxGeometry(.89*t,.37*r,.4*r,.26*r),"shape=mxgraph.ios7.misc.check;strokeColor=#007AFF;strokeWidth=2;"),aa.vertex=!0,v.insert(aa)}break;case "iOSRightDetailCell":v.style+=
"shape=partialRectangle;left=0;top=0;right=0;fillColor=#ffffff;strokeColor=#C8C7CC;align=left;spacing=0;verticalAlign=middle;spacingLeft="+.6*h.SeparatorInset+";";v.value=g(h.subtext);v.style+=y?"":a(h.subtext)+d(h.subtext)+k(h.subtext);v.style+=c(v.style,h,e,v,y);ra=null;switch(h.AccessoryIndicatorType){case "Disclosure":aa=new mxCell("",new mxGeometry(.91*t,.35*r,.15*r,.3*r),"shape=mxgraph.ios7.misc.right;strokeColor=#D2D2D6;");aa.vertex=!0;v.insert(aa);ra=new mxCell("",new mxGeometry(.55*t,0,.3*
t,r),"fillColor=none;strokeColor=none;spacing=0;align=right;");break;case "DetailDisclosure":aa=new mxCell("",new mxGeometry(.91*t,.35*r,.15*r,.3*r),"shape=mxgraph.ios7.misc.right;strokeColor=#D2D2D6;");aa.vertex=!0;v.insert(aa);oa=new mxCell("",new mxGeometry(.79*t,.25*r,.5*r,.5*r),"shape=mxgraph.ios7.icons.info;strokeColor=#007AFF;fillColor=#ffffff;");oa.vertex=!0;v.insert(oa);ra=new mxCell("",new mxGeometry(.45*t,0,.3*t,r),"fillColor=none;strokeColor=none;spacing=0;align=right;");break;case "DetailIndicator":oa=
new mxCell("",new mxGeometry(.87*t,.25*r,.5*r,.5*r),"shape=mxgraph.ios7.icons.info;strokeColor=#007AFF;fillColor=#ffffff;");oa.vertex=!0;v.insert(oa);ra=new mxCell("",new mxGeometry(.52*t,0,.3*t,r),"fillColor=none;strokeColor=none;spacing=0;align=right;");break;case "CheckMark":aa=new mxCell("",new mxGeometry(.89*t,.37*r,.4*r,.26*r),"shape=mxgraph.ios7.misc.check;strokeColor=#007AFF;strokeWidth=2;");aa.vertex=!0;v.insert(aa);ra=new mxCell("",new mxGeometry(.55*t,0,.3*t,r),"fillColor=none;strokeColor=none;spacing=0;align=right;");
break;default:ra=new mxCell("",new mxGeometry(.65*t,0,.3*t,r),"fillColor=none;strokeColor=none;spacing=0;align=right;")}ra.vertex=!0;v.insert(ra);ra.value=g(h.text);ra.style+=y?"html=1;":a(h.text)+d(h.text)+k(h.text);break;case "iOSLeftDetailCell":v.style+="shape=partialRectangle;left=0;top=0;right=0;fillColor=#ffffff;strokeColor=#C8C7CC;";v.style+=c(v.style,h,e,v);var $a=new mxCell("",new mxGeometry(0,0,.25*t,r),"fillColor=none;strokeColor=none;spacing=0;align=right;verticalAlign=middle;spacingRight=3;");
$a.vertex=!0;v.insert($a);$a.value=g(h.subtext);$a.style+=y?"html=1;":a(h.subtext)+d(h.subtext)+k(h.subtext);ra=new mxCell("",new mxGeometry(.25*t,0,.5*t,r),"fillColor=none;strokeColor=none;spacing=0;align=left;verticalAlign=middle;spacingLeft=3;");ra.vertex=!0;v.insert(ra);ra.value=g(h.text);ra.style+=y?"html=1;":a(h.text)+d(h.text)+k(h.text);switch(h.AccessoryIndicatorType){case "Disclosure":aa=new mxCell("",new mxGeometry(.91*t,.35*r,.15*r,.3*r),"shape=mxgraph.ios7.misc.right;strokeColor=#D2D2D6;");
aa.vertex=!0;v.insert(aa);break;case "DetailDisclosure":aa=new mxCell("",new mxGeometry(.91*t,.35*r,.15*r,.3*r),"shape=mxgraph.ios7.misc.right;strokeColor=#D2D2D6;");aa.vertex=!0;v.insert(aa);oa=new mxCell("",new mxGeometry(.79*t,.25*r,.5*r,.5*r),"shape=mxgraph.ios7.icons.info;strokeColor=#007AFF;fillColor=#ffffff;");oa.vertex=!0;v.insert(oa);break;case "DetailIndicator":oa=new mxCell("",new mxGeometry(.87*t,.25*r,.5*r,.5*r),"shape=mxgraph.ios7.icons.info;strokeColor=#007AFF;fillColor=#ffffff;");
oa.vertex=!0;v.insert(oa);break;case "CheckMark":aa=new mxCell("",new mxGeometry(.89*t,.37*r,.4*r,.26*r),"shape=mxgraph.ios7.misc.check;strokeColor=#007AFF;strokeWidth=2;"),aa.vertex=!0,v.insert(aa)}break;case "iOSTableGroupedSectionBreak":v.style+="shape=partialRectangle;left=0;right=0;fillColor=#EFEFF4;strokeColor=#C8C7CC;";X=new mxCell("",new mxGeometry(0,0,t,.4*r),"fillColor=none;strokeColor=none;spacing=10;align=left;");X.vertex=!0;v.insert(X);X.value=g(h.text);X.style+=y?"html=1;":a(h.text)+
d(h.text)+k(h.text);Na=new mxCell("",new mxGeometry(0,.6*r,t,.4*r),"fillColor=none;strokeColor=none;spacing=10;align=left;");Na.vertex=!0;v.insert(Na);Na.value=g(h["bottom-text"]);Na.style+=y?"html=1;":a(h["bottom-text"])+d(h["bottom-text"])+k(h["bottom-text"]);break;case "iOSTablePlainHeaderFooter":v.style+="fillColor=#F7F7F7;strokeColor=none;align=left;spacingLeft=5;spacing=0;";v.value=g(h.text);v.style+=y?"":a(h.text)+d(h.text)+k(h.text);v.style+=c(v.style,h,e,v,y);break;case "SMPage":if(h.Group){v.style+=
"strokeColor=none;fillColor=none;";var q=new mxCell("",new mxGeometry(0,0,.9*t,.9*r),"part=1;");q.vertex=!0;v.insert(q);q.style+=E(h,e)+M(h,e)+O(h,e,q)+ca(h)+ea(h);var u=new mxCell("",new mxGeometry(.1*t,.1*r,.9*t,.9*r),"part=1;");u.vertex=!0;v.insert(u);u.value=g(h.Text);u.style+=E(h,e)+M(h,e)+O(h,e,u)+ca(h)+ea(h)+m(h,y);h.Future&&(q.style+="dashed=1;",u.style+="dashed=1;")}else h.Future&&(v.style+="dashed=1;"),v.value=g(h.Text),v.style+=E(h,e)+M(h,e)+O(h,e,v)+ca(h)+ea(h)+m(h,y);v.style+=c(v.style,
h,e,v,y);break;case "SMHome":case "SMPrint":case "SMSearch":case "SMSettings":case "SMSitemap":case "SMSuccess":case "SMVideo":case "SMAudio":case "SMCalendar":case "SMChart":case "SMCloud":case "SMDocument":case "SMForm":case "SMGame":case "SMUpload":q=null;switch(b.Class){case "SMHome":q=new mxCell("",new mxGeometry(.5*t-.4*r,.1*r,.8*r,.8*r),"part=1;shape=mxgraph.office.concepts.home;flipH=1;fillColor=#e6e6e6;opacity=50;strokeColor=none;");break;case "SMPrint":q=new mxCell("",new mxGeometry(.5*
t-.4*r,.19*r,.8*r,.62*r),"part=1;shape=mxgraph.office.devices.printer;fillColor=#e6e6e6;opacity=50;strokeColor=none;");break;case "SMSearch":q=new mxCell("",new mxGeometry(.5*t-.4*r,.1*r,.8*r,.8*r),"part=1;shape=mxgraph.office.concepts.search;flipH=1;fillColor=#e6e6e6;opacity=50;strokeColor=none;");break;case "SMSettings":q=new mxCell("",new mxGeometry(.5*t-.35*r,.15*r,.7*r,.7*r),"part=1;shape=mxgraph.mscae.enterprise.settings;fillColor=#e6e6e6;opacity=50;strokeColor=none;");break;case "SMSitemap":q=
new mxCell("",new mxGeometry(.5*t-.35*r,.2*r,.7*r,.6*r),"part=1;shape=mxgraph.office.sites.site_collection;fillColor=#e6e6e6;opacity=50;strokeColor=none;");break;case "SMSuccess":q=new mxCell("",new mxGeometry(.5*t-.3*r,.25*r,.6*r,.5*r),"part=1;shape=mxgraph.mscae.general.checkmark;fillColor=#e6e6e6;opacity=50;strokeColor=none;");break;case "SMVideo":q=new mxCell("",new mxGeometry(.5*t-.4*r,.2*r,.8*r,.6*r),"part=1;shape=mxgraph.office.concepts.video_play;fillColor=#e6e6e6;opacity=50;strokeColor=none;");
break;case "SMAudio":q=new mxCell("",new mxGeometry(.5*t-.3*r,.2*r,.6*r,.6*r),"part=1;shape=mxgraph.mscae.general.audio;fillColor=#e6e6e6;opacity=50;strokeColor=none;");break;case "SMCalendar":q=new mxCell("",new mxGeometry(.5*t-.4*r,.15*r,.8*r,.7*r),"part=1;shape=mxgraph.office.concepts.form;fillColor=#e6e6e6;opacity=50;strokeColor=none;");break;case "SMChart":var H=M(h,e),H=""==H?"#ffffff;":H.replace("fillColor=",""),q=new mxCell("",new mxGeometry(.5*t-.35*r,.15*r,.7*r,.7*r),"part=1;shape=mxgraph.ios7.icons.pie_chart;fillColor=#e6e6e6;fillOpacity=50;strokeWidth=4;strokeColor="+
new mxGeometry(0,.6*r,.25*t,.2*r),"strokeColor=none;fillColor=none;");Ca.vertex=!0;v.insert(Ca);Ca.value=g(h.Option14);Ca.style+=m(h.Option14,y);ob=new mxCell("",new mxGeometry(.25*t,.6*r,.3*t,.2*r),"strokeColor=none;fillColor=none;");ob.vertex=!0;v.insert(ob);ob.value=g(h.Option24);ob.style+=m(h.Option24,y);qb=new mxCell("",new mxGeometry(.7*t,.6*r,.15*t,.2*r),"strokeColor=none;fillColor=none;");qb.vertex=!0;v.insert(qb);qb.value=g(h.Option34);qb.style+=m(h.Option34,y);Da=new mxCell("",new mxGeometry(0,
.8*r,.25*t,.2*r),"strokeColor=none;fillColor=none;");Da.vertex=!0;v.insert(Da);Da.value=g(h.Option15);Da.style+=m(h.Option15,y);rb=new mxCell("",new mxGeometry(.25*t,.8*r,.3*t,.2*r),"strokeColor=none;fillColor=none;");rb.vertex=!0;v.insert(rb);rb.value=g(h.Option25);rb.style+=m(h.Option25,y);Ka=new mxCell("",new mxGeometry(0,.4*r-2,t,4),"shape=line;strokeColor=#888888;");Ka.vertex=!0;v.insert(Ka);La=new mxCell("",new mxGeometry(0,.6*r-2,t,4),"shape=line;strokeColor=#888888;");La.vertex=!0;v.insert(La);
v.style+="strokeColor=none;";v.style+=c(v.style,h,e,v);break;case "iOSCountdownPicker":jb=new mxCell("",new mxGeometry(.45*t,0,.2*t,.2*r),"strokeColor=none;fillColor=none;");jb.vertex=!0;v.insert(jb);jb.value=g(h.Option31);jb.style+=m(h.Option31,y);mb=new mxCell("",new mxGeometry(.45*t,.2*r,.2*t,.2*r),"strokeColor=none;fillColor=none;");mb.vertex=!0;v.insert(mb);mb.value=g(h.Option32);mb.style+=m(h.Option32,y);za=new mxCell("",new mxGeometry(0,.4*r,.25*t,.2*r),"strokeColor=none;fillColor=none;");
za.vertex=!0;v.insert(za);za.value=g(h.Option13);za.style+=m(h.Option13,y);Aa=new mxCell("",new mxGeometry(.2*t,.4*r,.25*t,.2*r),"strokeColor=none;fillColor=none;");Aa.vertex=!0;v.insert(Aa);Aa.value=g(h.Option23);Aa.style+=m(h.Option23,y);nb=new mxCell("",new mxGeometry(.45*t,.4*r,.2*t,.2*r),"strokeColor=none;fillColor=none;");nb.vertex=!0;v.insert(nb);nb.value=g(h.Option33);nb.style+=m(h.Option33,y);Ba=new mxCell("",new mxGeometry(.6*t,.4*r,.2*t,.2*r),"strokeColor=none;fillColor=none;");Ba.vertex=
!0;v.insert(Ba);Ba.value=g(h.Option43);Ba.style+=m(h.Option43,y);Ca=new mxCell("",new mxGeometry(0,.6*r,.25*t,.2*r),"strokeColor=none;fillColor=none;");Ca.vertex=!0;v.insert(Ca);Ca.value=g(h.Option14);Ca.style+=m(h.Option14,y);pb=new mxCell("",new mxGeometry(.45*t,.6*r,.2*t,.2*r),"strokeColor=none;fillColor=none;");pb.vertex=!0;v.insert(pb);pb.value=g(h.Option34);pb.style+=m(h.Option34,y);Da=new mxCell("",new mxGeometry(0,.8*r,.25*t,.2*r),"strokeColor=none;fillColor=none;");Da.vertex=!0;v.insert(Da);
Da.value=g(h.Option15);Da.style+=m(h.Option15,y);sb=new mxCell("",new mxGeometry(.45*t,.8*r,.2*t,.2*r),"strokeColor=none;fillColor=none;");sb.vertex=!0;v.insert(sb);sb.value=g(h.Option35);sb.style+=m(h.Option35,y);Ka=new mxCell("",new mxGeometry(0,.4*r-2,t,4),"shape=line;strokeColor=#888888;");Ka.vertex=!0;v.insert(Ka);La=new mxCell("",new mxGeometry(0,.6*r-2,t,4),"shape=line;strokeColor=#888888;");La.vertex=!0;v.insert(La);v.style+="strokeColor=none;";v.style+=c(v.style,h,e,v);break;case "iOSBasicCell":v.value=
g(h.text);v.style+="shape=partialRectangle;left=0;top=0;right=0;fillColor=#ffffff;strokeColor=#C8C7CC;spacing=0;align=left;spacingLeft="+.6*h.SeparatorInset+";";v.style+=(y?"fontSize=11;":a(h.text)+d(h.text)+k(h.text))+D(h.text);v.style+=c(v.style,h,e,v,y);switch(h.AccessoryIndicatorType){case "Disclosure":aa=new mxCell("",new mxGeometry(.91*t,.35*r,.15*r,.3*r),"shape=mxgraph.ios7.misc.right;strokeColor=#D2D2D6;");aa.vertex=!0;v.insert(aa);break;case "DetailDisclosure":aa=new mxCell("",new mxGeometry(.91*
t,.35*r,.15*r,.3*r),"shape=mxgraph.ios7.misc.right;strokeColor=#D2D2D6;");aa.vertex=!0;v.insert(aa);var pa=new mxCell("",new mxGeometry(.79*t,.25*r,.5*r,.5*r),"shape=mxgraph.ios7.icons.info;strokeColor=#007AFF;fillColor=#ffffff;");pa.vertex=!0;v.insert(pa);break;case "DetailIndicator":pa=new mxCell("",new mxGeometry(.87*t,.25*r,.5*r,.5*r),"shape=mxgraph.ios7.icons.info;strokeColor=#007AFF;fillColor=#ffffff;");pa.vertex=!0;v.insert(pa);break;case "CheckMark":aa=new mxCell("",new mxGeometry(.89*t,.37*
r,.4*r,.26*r),"shape=mxgraph.ios7.misc.check;strokeColor=#007AFF;strokeWidth=2;"),aa.vertex=!0,v.insert(aa)}break;case "iOSSubtitleCell":v.style+="shape=partialRectangle;left=0;top=0;right=0;fillColor=#ffffff;strokeColor=#C8C7CC;align=left;spacing=0;verticalAlign=top;spacingLeft="+.6*h.SeparatorInset+";";v.value=g(h.subtext);v.style+=y?"fontSize=11;":a(h.subtext)+d(h.subtext)+k(h.subtext);v.style+=c(v.style,h,e,v,y);var sa=new mxCell("",new mxGeometry(0,.4*r,t,.6*r),"fillColor=none;strokeColor=none;spacing=0;align=left;verticalAlign=bottom;spacingLeft="+
.6*h.SeparatorInset+";");sa.vertex=!0;v.insert(sa);sa.value=g(h.text);sa.style+=y?"html=1;fontSize=11;":a(h.text)+d(h.text)+k(h.text);switch(h.AccessoryIndicatorType){case "Disclosure":aa=new mxCell("",new mxGeometry(.91*t,.35*r,.15*r,.3*r),"shape=mxgraph.ios7.misc.right;strokeColor=#D2D2D6;");aa.vertex=!0;v.insert(aa);break;case "DetailDisclosure":aa=new mxCell("",new mxGeometry(.91*t,.35*r,.15*r,.3*r),"shape=mxgraph.ios7.misc.right;strokeColor=#D2D2D6;");aa.vertex=!0;v.insert(aa);pa=new mxCell("",
new mxGeometry(.79*t,.25*r,.5*r,.5*r),"shape=mxgraph.ios7.icons.info;strokeColor=#007AFF;fillColor=#ffffff;");pa.vertex=!0;v.insert(pa);break;case "DetailIndicator":pa=new mxCell("",new mxGeometry(.87*t,.25*r,.5*r,.5*r),"shape=mxgraph.ios7.icons.info;strokeColor=#007AFF;fillColor=#ffffff;");pa.vertex=!0;v.insert(pa);break;case "CheckMark":aa=new mxCell("",new mxGeometry(.89*t,.37*r,.4*r,.26*r),"shape=mxgraph.ios7.misc.check;strokeColor=#007AFF;strokeWidth=2;"),aa.vertex=!0,v.insert(aa)}break;case "iOSRightDetailCell":v.style+=
"shape=partialRectangle;left=0;top=0;right=0;fillColor=#ffffff;strokeColor=#C8C7CC;align=left;spacing=0;verticalAlign=middle;spacingLeft="+.6*h.SeparatorInset+";";v.value=g(h.subtext);v.style+=y?"fontSize=11;":a(h.subtext)+d(h.subtext)+k(h.subtext);v.style+=c(v.style,h,e,v,y);sa=null;switch(h.AccessoryIndicatorType){case "Disclosure":aa=new mxCell("",new mxGeometry(.91*t,.35*r,.15*r,.3*r),"shape=mxgraph.ios7.misc.right;strokeColor=#D2D2D6;");aa.vertex=!0;v.insert(aa);sa=new mxCell("",new mxGeometry(.55*
t,0,.3*t,r),"fillColor=none;strokeColor=none;spacing=0;align=right;");break;case "DetailDisclosure":aa=new mxCell("",new mxGeometry(.91*t,.35*r,.15*r,.3*r),"shape=mxgraph.ios7.misc.right;strokeColor=#D2D2D6;");aa.vertex=!0;v.insert(aa);pa=new mxCell("",new mxGeometry(.79*t,.25*r,.5*r,.5*r),"shape=mxgraph.ios7.icons.info;strokeColor=#007AFF;fillColor=#ffffff;");pa.vertex=!0;v.insert(pa);sa=new mxCell("",new mxGeometry(.45*t,0,.3*t,r),"fillColor=none;strokeColor=none;spacing=0;align=right;");break;
case "DetailIndicator":pa=new mxCell("",new mxGeometry(.87*t,.25*r,.5*r,.5*r),"shape=mxgraph.ios7.icons.info;strokeColor=#007AFF;fillColor=#ffffff;");pa.vertex=!0;v.insert(pa);sa=new mxCell("",new mxGeometry(.52*t,0,.3*t,r),"fillColor=none;strokeColor=none;spacing=0;align=right;");break;case "CheckMark":aa=new mxCell("",new mxGeometry(.89*t,.37*r,.4*r,.26*r),"shape=mxgraph.ios7.misc.check;strokeColor=#007AFF;strokeWidth=2;");aa.vertex=!0;v.insert(aa);sa=new mxCell("",new mxGeometry(.55*t,0,.3*t,r),
"fillColor=none;strokeColor=none;spacing=0;align=right;");break;default:sa=new mxCell("",new mxGeometry(.65*t,0,.3*t,r),"fillColor=none;strokeColor=none;spacing=0;align=right;")}sa.vertex=!0;v.insert(sa);sa.value=g(h.text);sa.style+=y?"html=1;fontSize=11;":a(h.text)+d(h.text)+k(h.text);break;case "iOSLeftDetailCell":v.style+="shape=partialRectangle;left=0;top=0;right=0;fillColor=#ffffff;strokeColor=#C8C7CC;";v.style+=c(v.style,h,e,v);var Za=new mxCell("",new mxGeometry(0,0,.25*t,r),"fillColor=none;strokeColor=none;spacing=0;align=right;verticalAlign=middle;spacingRight=3;");
Za.vertex=!0;v.insert(Za);Za.value=g(h.subtext);Za.style+=y?"html=1;fontSize=11;":a(h.subtext)+d(h.subtext)+k(h.subtext);sa=new mxCell("",new mxGeometry(.25*t,0,.5*t,r),"fillColor=none;strokeColor=none;spacing=0;align=left;verticalAlign=middle;spacingLeft=3;");sa.vertex=!0;v.insert(sa);sa.value=g(h.text);sa.style+=y?"html=1;fontSize=11;":a(h.text)+d(h.text)+k(h.text);switch(h.AccessoryIndicatorType){case "Disclosure":aa=new mxCell("",new mxGeometry(.91*t,.35*r,.15*r,.3*r),"shape=mxgraph.ios7.misc.right;strokeColor=#D2D2D6;");
aa.vertex=!0;v.insert(aa);break;case "DetailDisclosure":aa=new mxCell("",new mxGeometry(.91*t,.35*r,.15*r,.3*r),"shape=mxgraph.ios7.misc.right;strokeColor=#D2D2D6;");aa.vertex=!0;v.insert(aa);pa=new mxCell("",new mxGeometry(.79*t,.25*r,.5*r,.5*r),"shape=mxgraph.ios7.icons.info;strokeColor=#007AFF;fillColor=#ffffff;");pa.vertex=!0;v.insert(pa);break;case "DetailIndicator":pa=new mxCell("",new mxGeometry(.87*t,.25*r,.5*r,.5*r),"shape=mxgraph.ios7.icons.info;strokeColor=#007AFF;fillColor=#ffffff;");
pa.vertex=!0;v.insert(pa);break;case "CheckMark":aa=new mxCell("",new mxGeometry(.89*t,.37*r,.4*r,.26*r),"shape=mxgraph.ios7.misc.check;strokeColor=#007AFF;strokeWidth=2;"),aa.vertex=!0,v.insert(aa)}break;case "iOSTableGroupedSectionBreak":v.style+="shape=partialRectangle;left=0;right=0;fillColor=#EFEFF4;strokeColor=#C8C7CC;";X=new mxCell("",new mxGeometry(0,0,t,.4*r),"fillColor=none;strokeColor=none;spacing=10;align=left;");X.vertex=!0;v.insert(X);X.value=g(h.text);X.style+=y?"html=1;fontSize=11;":
a(h.text)+d(h.text)+k(h.text);Ma=new mxCell("",new mxGeometry(0,.6*r,t,.4*r),"fillColor=none;strokeColor=none;spacing=10;align=left;");Ma.vertex=!0;v.insert(Ma);Ma.value=g(h["bottom-text"]);Ma.style+=y?"html=1;fontSize=11;":a(h["bottom-text"])+d(h["bottom-text"])+k(h["bottom-text"]);break;case "iOSTablePlainHeaderFooter":v.style+="fillColor=#F7F7F7;strokeColor=none;align=left;spacingLeft=5;spacing=0;";v.value=g(h.text);v.style+=y?"fontSize=11;":a(h.text)+d(h.text)+k(h.text);v.style+=c(v.style,h,e,
v,y);break;case "SMPage":if(h.Group){v.style+="strokeColor=none;fillColor=none;";var q=new mxCell("",new mxGeometry(0,0,.9*t,.9*r),"part=1;");q.vertex=!0;v.insert(q);q.style+=E(h,e)+K(h,e)+O(h,e,q)+ca(h)+ea(h);var u=new mxCell("",new mxGeometry(.1*t,.1*r,.9*t,.9*r),"part=1;");u.vertex=!0;v.insert(u);u.value=g(h.Text);u.style+=E(h,e)+K(h,e)+O(h,e,u)+ca(h)+ea(h)+m(h,y);h.Future&&(q.style+="dashed=1;",u.style+="dashed=1;")}else h.Future&&(v.style+="dashed=1;"),v.value=g(h.Text),v.style+=E(h,e)+K(h,e)+
O(h,e,v)+ca(h)+ea(h)+m(h,y);v.style+=c(v.style,h,e,v,y);break;case "SMHome":case "SMPrint":case "SMSearch":case "SMSettings":case "SMSitemap":case "SMSuccess":case "SMVideo":case "SMAudio":case "SMCalendar":case "SMChart":case "SMCloud":case "SMDocument":case "SMForm":case "SMGame":case "SMUpload":q=null;switch(b.Class){case "SMHome":q=new mxCell("",new mxGeometry(.5*t-.4*r,.1*r,.8*r,.8*r),"part=1;shape=mxgraph.office.concepts.home;flipH=1;fillColor=#e6e6e6;opacity=50;strokeColor=none;");break;case "SMPrint":q=
new mxCell("",new mxGeometry(.5*t-.4*r,.19*r,.8*r,.62*r),"part=1;shape=mxgraph.office.devices.printer;fillColor=#e6e6e6;opacity=50;strokeColor=none;");break;case "SMSearch":q=new mxCell("",new mxGeometry(.5*t-.4*r,.1*r,.8*r,.8*r),"part=1;shape=mxgraph.office.concepts.search;flipH=1;fillColor=#e6e6e6;opacity=50;strokeColor=none;");break;case "SMSettings":q=new mxCell("",new mxGeometry(.5*t-.35*r,.15*r,.7*r,.7*r),"part=1;shape=mxgraph.mscae.enterprise.settings;fillColor=#e6e6e6;opacity=50;strokeColor=none;");
break;case "SMSitemap":q=new mxCell("",new mxGeometry(.5*t-.35*r,.2*r,.7*r,.6*r),"part=1;shape=mxgraph.office.sites.site_collection;fillColor=#e6e6e6;opacity=50;strokeColor=none;");break;case "SMSuccess":q=new mxCell("",new mxGeometry(.5*t-.3*r,.25*r,.6*r,.5*r),"part=1;shape=mxgraph.mscae.general.checkmark;fillColor=#e6e6e6;opacity=50;strokeColor=none;");break;case "SMVideo":q=new mxCell("",new mxGeometry(.5*t-.4*r,.2*r,.8*r,.6*r),"part=1;shape=mxgraph.office.concepts.video_play;fillColor=#e6e6e6;opacity=50;strokeColor=none;");
break;case "SMAudio":q=new mxCell("",new mxGeometry(.5*t-.3*r,.2*r,.6*r,.6*r),"part=1;shape=mxgraph.mscae.general.audio;fillColor=#e6e6e6;opacity=50;strokeColor=none;");break;case "SMCalendar":q=new mxCell("",new mxGeometry(.5*t-.4*r,.15*r,.8*r,.7*r),"part=1;shape=mxgraph.office.concepts.form;fillColor=#e6e6e6;opacity=50;strokeColor=none;");break;case "SMChart":var H=K(h,e),H=""==H?"#ffffff;":H.replace("fillColor=",""),q=new mxCell("",new mxGeometry(.5*t-.35*r,.15*r,.7*r,.7*r),"part=1;shape=mxgraph.ios7.icons.pie_chart;fillColor=#e6e6e6;fillOpacity=50;strokeWidth=4;strokeColor="+
H);break;case "SMCloud":q=new mxCell("",new mxGeometry(.5*t-.4*r,.27*r,.8*r,.46*r),"part=1;shape=mxgraph.networks.cloud;fillColor=#e6e6e6;opacity=50;strokeColor=none;");break;case "SMDocument":q=new mxCell("",new mxGeometry(.5*t-.25*r,.15*r,.5*r,.7*r),"part=1;shape=mxgraph.mscae.enterprise.document;fillColor=#e6e6e6;opacity=50;strokeColor=none;");break;case "SMForm":q=new mxCell("",new mxGeometry(.5*t-.4*r,.15*r,.8*r,.7*r),"part=1;shape=mxgraph.office.concepts.form;fillColor=#e6e6e6;opacity=50;strokeColor=none;");
break;case "SMGame":q=new mxCell("",new mxGeometry(.5*t-.4*r,.2*r,.8*r,.6*r),"part=1;shape=mxgraph.mscae.general.game_controller;fillColor=#e6e6e6;opacity=50;strokeColor=none;");break;case "SMUpload":q=new mxCell("",new mxGeometry(.5*t-.4*r,.2*r,.8*r,.6*r),"part=1;shape=mxgraph.mscae.enterprise.backup_online;fillColor=#e6e6e6;opacity=50;strokeColor=none;")}q.vertex=!0;v.insert(q);q.value=g(h.Text);q.style+=m(h,y);v.style+=c(v.style,h,e,v);break;case "UMLMultiplicityBlock":v.style+="strokeColor=none;fillColor=none;";
q=new mxCell("",new mxGeometry(.1*t,0,.9*t,.9*r),"part=1;");q.vertex=!0;v.insert(q);q.style+=c(q.style,h,e,q);u=new mxCell("",new mxGeometry(0,.1*r,.9*t,.9*r),"part=1;");u.vertex=!0;v.insert(u);u.value=g(h.Text);u.style+=m(h.Text,y);u.style+=c(u.style,h,e,u,y);break;case "UMLConstraintBlock":var Eb=new mxCell("",new mxGeometry(0,0,.25*r,r),"shape=curlyBracket;rounded=1;");Eb.vertex=!0;v.insert(Eb);var Fb=new mxCell("",new mxGeometry(t-.25*r,0,.25*r,r),"shape=curlyBracket;rounded=1;flipH=1;");Fb.vertex=
!0;v.insert(Fb);qa=new mxCell("",new mxGeometry(.25*r,0,t-.5*r,r),"strokeColor=none;fillColor=none;");qa.vertex=!0;qa.value=g(h);v.insert(qa);v.style="strokeColor=none;fillColor=none;";v.style+=c(v.style,h,e,v);Eb.style+=O(h,e,Eb);Fb.style+=O(h,e,Fb);qa.style+=d(h,qa);Eb.style+=c(Eb.style,h,e,Eb);Fb.style+=c(Fb.style,h,e,Fb);qa.style+=c(qa.style,h,e,qa,y);break;case "UMLTextBlock":v.value=g(h.Text);v.style+="strokeColor=none;"+m(h.Text,y);v.style+=c(v.style,h,e,v,y);break;case "UMLProvidedInterfaceBlock":case "UMLProvidedInterfaceBlockV2":var ub=
T(h,e,v);h.Rotatio=null;var ab=c(v.style,h,e,v,y);-1==ab.indexOf(mxConstants.STYLE_STROKEWIDTH)&&(ab=mxConstants.STYLE_STROKEWIDTH+"=1;"+ab);v.style="group;dropTarget=0;"+ub;var $c=.8*t,ze=t-$c,Yb=new mxCell("",new mxGeometry(.2,0,$c,r),"shape=ellipse;"+ab);Yb.vertex=!0;Yb.geometry.relative=!0;v.insert(Yb);ia=new mxCell("",new mxGeometry(0,.5,ze,1),"line;"+ab);ia.geometry.relative=!0;ia.vertex=!0;v.insert(ia);break;case "UMLComponentBoxBlock":case "UMLComponentBoxBlockV2":v.value=g(h);v.style="html=1;dropTarget=0;"+
c(v.style,h,e,v,y);var Oa=new mxCell("",new mxGeometry(1,0,15,15),"shape=component;jettyWidth=8;jettyHeight=4;");Oa.geometry.relative=!0;Oa.geometry.offset=new mxPoint(-20,5);Oa.vertex=!0;v.insert(Oa);break;case "UMLAssemblyConnectorBlock":case "UMLAssemblyConnectorBlockV2":ub=T(h,e,v);h.Rotatio=null;ab=c(v.style,h,e,v,y);-1==ab.indexOf(mxConstants.STYLE_STROKEWIDTH)&&(ab=mxConstants.STYLE_STROKEWIDTH+"=1;"+ab);v.style="group;dropTarget=0;"+ub;var Vd=.225*t,Wd=.1*t,$c=t-Vd-Wd,Yb=new mxCell("",new mxGeometry(.225,
0,$c,r),"shape=providedRequiredInterface;verticalLabelPosition=bottom;"+ab);Yb.vertex=!0;Yb.geometry.relative=!0;v.insert(Yb);La=new mxCell("",new mxGeometry(0,.5,Vd,1),"line;"+ab);La.geometry.relative=!0;La.vertex=!0;v.insert(La);Ma=new mxCell("",new mxGeometry(.9,.5,Wd,1),"line;"+ab);Ma.geometry.relative=!0;Ma.vertex=!0;v.insert(Ma);break;case "BPMNActivity":v.value=g(h.Text);switch(h.bpmnActivityType){case 1:v.style+=m(h.Text,y);break;case 2:v.style+="shape=ext;double=1;"+m(h.Text,y);break;case 3:v.style+=
!0;v.insert(Fb);ra=new mxCell("",new mxGeometry(.25*r,0,t-.5*r,r),"strokeColor=none;fillColor=none;");ra.vertex=!0;ra.value=g(h);v.insert(ra);v.style="strokeColor=none;fillColor=none;";v.style+=c(v.style,h,e,v);Eb.style+=O(h,e,Eb);Fb.style+=O(h,e,Fb);ra.style+=d(h,ra);Eb.style+=c(Eb.style,h,e,Eb);Fb.style+=c(Fb.style,h,e,Fb);ra.style+=c(ra.style,h,e,ra,y);break;case "UMLTextBlock":v.value=g(h.Text);v.style+="strokeColor=none;"+m(h.Text,y);v.style+=c(v.style,h,e,v,y);break;case "UMLProvidedInterfaceBlock":case "UMLProvidedInterfaceBlockV2":var tb=
T(h,e,v);h.Rotatio=null;var $a=c(v.style,h,e,v,y);-1==$a.indexOf(mxConstants.STYLE_STROKEWIDTH)&&($a=mxConstants.STYLE_STROKEWIDTH+"=1;"+$a);v.style="group;dropTarget=0;"+tb;var $c=.8*t,ze=t-$c,Yb=new mxCell("",new mxGeometry(.2,0,$c,r),"shape=ellipse;"+$a);Yb.vertex=!0;Yb.geometry.relative=!0;v.insert(Yb);ia=new mxCell("",new mxGeometry(0,.5,ze,1),"line;"+$a);ia.geometry.relative=!0;ia.vertex=!0;v.insert(ia);break;case "UMLComponentBoxBlock":case "UMLComponentBoxBlockV2":v.value=g(h);v.style="html=1;dropTarget=0;"+
c(v.style,h,e,v,y);var Na=new mxCell("",new mxGeometry(1,0,15,15),"shape=component;jettyWidth=8;jettyHeight=4;");Na.geometry.relative=!0;Na.geometry.offset=new mxPoint(-20,5);Na.vertex=!0;v.insert(Na);break;case "UMLAssemblyConnectorBlock":case "UMLAssemblyConnectorBlockV2":tb=T(h,e,v);h.Rotatio=null;$a=c(v.style,h,e,v,y);-1==$a.indexOf(mxConstants.STYLE_STROKEWIDTH)&&($a=mxConstants.STYLE_STROKEWIDTH+"=1;"+$a);v.style="group;dropTarget=0;"+tb;var Vd=.225*t,Wd=.1*t,$c=t-Vd-Wd,Yb=new mxCell("",new mxGeometry(.225,
0,$c,r),"shape=providedRequiredInterface;verticalLabelPosition=bottom;"+$a);Yb.vertex=!0;Yb.geometry.relative=!0;v.insert(Yb);Ka=new mxCell("",new mxGeometry(0,.5,Vd,1),"line;"+$a);Ka.geometry.relative=!0;Ka.vertex=!0;v.insert(Ka);La=new mxCell("",new mxGeometry(.9,.5,Wd,1),"line;"+$a);La.geometry.relative=!0;La.vertex=!0;v.insert(La);break;case "BPMNActivity":v.value=g(h.Text);switch(h.bpmnActivityType){case 1:v.style+=m(h.Text,y);break;case 2:v.style+="shape=ext;double=1;"+m(h.Text,y);break;case 3:v.style+=
"shape=ext;dashed=1;dashPattern=2 1;"+m(h.Text,y);break;case 4:v.style+="shape=ext;strokeWidth=2;"+m(h.Text,y)}if(0!=h.bpmnTaskType){switch(h.bpmnTaskType){case 1:q=new mxCell("",new mxGeometry(0,0,19,12),"shape=message;");q.geometry.offset=new mxPoint(4,7);break;case 2:q=new mxCell("",new mxGeometry(0,0,19,12),"shape=message;");q.geometry.offset=new mxPoint(4,7);break;case 3:q=new mxCell("",new mxGeometry(0,0,15,15),"shape=mxgraph.bpmn.user_task;");q.geometry.offset=new mxPoint(4,5);break;case 4:q=
new mxCell("",new mxGeometry(0,0,15,10),"shape=mxgraph.bpmn.manual_task;");q.geometry.offset=new mxPoint(4,7);break;case 5:q=new mxCell("",new mxGeometry(0,0,18,13),"shape=mxgraph.bpmn.business_rule_task;");q.geometry.offset=new mxPoint(4,7);break;case 6:q=new mxCell("",new mxGeometry(0,0,15,15),"shape=mxgraph.bpmn.service_task;");q.geometry.offset=new mxPoint(4,5);break;case 7:q=new mxCell("",new mxGeometry(0,0,15,15),"shape=mxgraph.bpmn.script_task;"),q.geometry.offset=new mxPoint(4,5)}if(1==h.bpmnTaskType){var Zb=
M(h,e),H=E(h,e),H=H.replace("strokeColor","fillColor"),Zb=Zb.replace("fillColor","strokeColor");""==H&&(H="fillColor=#000000;");""==Zb&&(Zb="strokeColor=#ffffff;");q.style+=Zb+H+"part=1;"}else q.style+=M(h,e)+E(h,e)+"part=1;";q.geometry.relative=!0;q.vertex=!0;v.insert(q)}var Kc=0;0!=h.bpmnActivityMarker1&&Kc++;0!=h.bpmnActivityMarker2&&Kc++;var Pa=0;1==Kc?Pa=-7.5:2==Kc&&(Pa=-19);if(0!=h.bpmnActivityMarker1){switch(h.bpmnActivityMarker1){case 1:q=new mxCell("",new mxGeometry(.5,1,15,15),"shape=plus;part=1;");
q.geometry.offset=new mxPoint(Pa,-20);q.style+=M(h,e)+E(h,e);break;case 2:q=new mxCell("",new mxGeometry(.5,1,15,15),"shape=mxgraph.bpmn.loop;part=1;");q.geometry.offset=new mxPoint(Pa,-20);q.style+=M(h,e)+E(h,e);break;case 3:q=new mxCell("",new mxGeometry(.5,1,15,15),"shape=parallelMarker;part=1;");q.geometry.offset=new mxPoint(Pa,-20);q.style+=M(h,e)+E(h,e);break;case 4:q=new mxCell("",new mxGeometry(.5,1,15,15),"shape=parallelMarker;direction=south;part=1;");q.geometry.offset=new mxPoint(Pa,-20);
q.style+=M(h,e)+E(h,e);break;case 5:q=new mxCell("",new mxGeometry(.5,1,15,10),"shape=mxgraph.bpmn.ad_hoc;strokeColor=none;flipH=1;part=1;");q.geometry.offset=new mxPoint(Pa,-17);H=E(h,e);H=H.replace("strokeColor","fillColor");""==H&&(H="fillColor=#000000;");q.style+=H;break;case 6:q=new mxCell("",new mxGeometry(.5,1,15,11),"shape=mxgraph.bpmn.compensation;part=1;"),q.geometry.offset=new mxPoint(Pa,-18),q.style+=M(h,e)+E(h,e)}q.geometry.relative=!0;q.vertex=!0;v.insert(q)}2==Kc&&(Pa=5);if(0!=h.bpmnActivityMarker2){switch(h.bpmnActivityMarker2){case 1:q=
new mxCell("",new mxGeometry(.5,1,15,15),"shape=plus;part=1;");q.geometry.offset=new mxPoint(Pa,-20);q.style+=M(h,e)+E(h,e);break;case 2:q=new mxCell("",new mxGeometry(.5,1,15,15),"shape=mxgraph.bpmn.loop;part=1;");q.geometry.offset=new mxPoint(Pa,-20);q.style+=M(h,e)+E(h,e);break;case 3:q=new mxCell("",new mxGeometry(.5,1,15,15),"shape=parallelMarker;part=1;");q.geometry.offset=new mxPoint(Pa,-20);q.style+=M(h,e)+E(h,e);break;case 4:q=new mxCell("",new mxGeometry(.5,1,15,15),"shape=parallelMarker;direction=south;part=1;");
q.geometry.offset=new mxPoint(Pa,-20);q.style+=M(h,e)+E(h,e);break;case 5:q=new mxCell("",new mxGeometry(.5,1,15,10),"shape=mxgraph.bpmn.ad_hoc;strokeColor=none;flipH=1;part=1;");q.geometry.offset=new mxPoint(Pa,-17);H=E(h,e);H=H.replace("strokeColor","fillColor");""==H&&(H="fillColor=#000000;");q.style+=H;break;case 6:q=new mxCell("",new mxGeometry(.5,1,15,11),"shape=mxgraph.bpmn.compensation;part=1;"),q.geometry.offset=new mxPoint(Pa,-18),q.style+=M(h,e)+E(h,e)}q.geometry.relative=!0;q.vertex=!0;
K(h,e),H=E(h,e),H=H.replace("strokeColor","fillColor"),Zb=Zb.replace("fillColor","strokeColor");""==H&&(H="fillColor=#000000;");""==Zb&&(Zb="strokeColor=#ffffff;");q.style+=Zb+H+"part=1;"}else q.style+=K(h,e)+E(h,e)+"part=1;";q.geometry.relative=!0;q.vertex=!0;v.insert(q)}var Kc=0;0!=h.bpmnActivityMarker1&&Kc++;0!=h.bpmnActivityMarker2&&Kc++;var Oa=0;1==Kc?Oa=-7.5:2==Kc&&(Oa=-19);if(0!=h.bpmnActivityMarker1){switch(h.bpmnActivityMarker1){case 1:q=new mxCell("",new mxGeometry(.5,1,15,15),"shape=plus;part=1;");
q.geometry.offset=new mxPoint(Oa,-20);q.style+=K(h,e)+E(h,e);break;case 2:q=new mxCell("",new mxGeometry(.5,1,15,15),"shape=mxgraph.bpmn.loop;part=1;");q.geometry.offset=new mxPoint(Oa,-20);q.style+=K(h,e)+E(h,e);break;case 3:q=new mxCell("",new mxGeometry(.5,1,15,15),"shape=parallelMarker;part=1;");q.geometry.offset=new mxPoint(Oa,-20);q.style+=K(h,e)+E(h,e);break;case 4:q=new mxCell("",new mxGeometry(.5,1,15,15),"shape=parallelMarker;direction=south;part=1;");q.geometry.offset=new mxPoint(Oa,-20);
q.style+=K(h,e)+E(h,e);break;case 5:q=new mxCell("",new mxGeometry(.5,1,15,10),"shape=mxgraph.bpmn.ad_hoc;strokeColor=none;flipH=1;part=1;");q.geometry.offset=new mxPoint(Oa,-17);H=E(h,e);H=H.replace("strokeColor","fillColor");""==H&&(H="fillColor=#000000;");q.style+=H;break;case 6:q=new mxCell("",new mxGeometry(.5,1,15,11),"shape=mxgraph.bpmn.compensation;part=1;"),q.geometry.offset=new mxPoint(Oa,-18),q.style+=K(h,e)+E(h,e)}q.geometry.relative=!0;q.vertex=!0;v.insert(q)}2==Kc&&(Oa=5);if(0!=h.bpmnActivityMarker2){switch(h.bpmnActivityMarker2){case 1:q=
new mxCell("",new mxGeometry(.5,1,15,15),"shape=plus;part=1;");q.geometry.offset=new mxPoint(Oa,-20);q.style+=K(h,e)+E(h,e);break;case 2:q=new mxCell("",new mxGeometry(.5,1,15,15),"shape=mxgraph.bpmn.loop;part=1;");q.geometry.offset=new mxPoint(Oa,-20);q.style+=K(h,e)+E(h,e);break;case 3:q=new mxCell("",new mxGeometry(.5,1,15,15),"shape=parallelMarker;part=1;");q.geometry.offset=new mxPoint(Oa,-20);q.style+=K(h,e)+E(h,e);break;case 4:q=new mxCell("",new mxGeometry(.5,1,15,15),"shape=parallelMarker;direction=south;part=1;");
q.geometry.offset=new mxPoint(Oa,-20);q.style+=K(h,e)+E(h,e);break;case 5:q=new mxCell("",new mxGeometry(.5,1,15,10),"shape=mxgraph.bpmn.ad_hoc;strokeColor=none;flipH=1;part=1;");q.geometry.offset=new mxPoint(Oa,-17);H=E(h,e);H=H.replace("strokeColor","fillColor");""==H&&(H="fillColor=#000000;");q.style+=H;break;case 6:q=new mxCell("",new mxGeometry(.5,1,15,11),"shape=mxgraph.bpmn.compensation;part=1;"),q.geometry.offset=new mxPoint(Oa,-18),q.style+=K(h,e)+E(h,e)}q.geometry.relative=!0;q.vertex=!0;
v.insert(q)}v.style+=c(v.style,h,e,v);break;case "BPMNEvent":v.style+="shape=mxgraph.bpmn.shape;verticalLabelPosition=bottom;verticalAlign=top;";v.value=g(h.Text);if(1==h.bpmnDashed)switch(h.bpmnEventGroup){case 0:v.style+="outline=eventNonint;";break;case 1:v.style+="outline=boundNonint;";break;case 2:v.style+="outline=end;"}else switch(h.bpmnEventGroup){case 0:v.style+="outline=standard;";break;case 1:v.style+="outline=throwing;";break;case 2:v.style+="outline=end;"}switch(h.bpmnEventType){case 1:v.style+=
"symbol=message;";break;case 2:v.style+="symbol=timer;";break;case 3:v.style+="symbol=escalation;";break;case 4:v.style+="symbol=conditional;";break;case 5:v.style+="symbol=link;";break;case 6:v.style+="symbol=error;";break;case 7:v.style+="symbol=cancel;";break;case 8:v.style+="symbol=compensation;";break;case 9:v.style+="symbol=signal;";break;case 10:v.style+="symbol=multiple;";break;case 11:v.style+="symbol=parallelMultiple;";break;case 12:v.style+="symbol=terminate;"}v.style+=c(v.style,h,e,v,
y);break;case "BPMNConversation":v.style+="shape=hexagon;perimeter=hexagonPerimeter2;";v.value=g(h.Text);v.style=0==h.bpmnConversationType?v.style+ea(h):v.style+"strokeWidth=2;";h.bpmnIsSubConversation&&(q=new mxCell("",new mxGeometry(.5,1,12,12),"shape=plus;part=1;"),q.geometry.offset=new mxPoint(-6,-17),q.style+=M(h,e)+E(h,e),q.geometry.relative=!0,q.vertex=!0,v.insert(q));v.style+=c(v.style,h,e,v,y);break;case "BPMNGateway":v.style+="shape=mxgraph.bpmn.shape;perimeter=rhombusPerimeter;background=gateway;verticalLabelPosition=bottom;verticalAlign=top;";
y);break;case "BPMNConversation":v.style+="shape=hexagon;perimeter=hexagonPerimeter2;";v.value=g(h.Text);v.style=0==h.bpmnConversationType?v.style+ea(h):v.style+"strokeWidth=2;";h.bpmnIsSubConversation&&(q=new mxCell("",new mxGeometry(.5,1,12,12),"shape=plus;part=1;"),q.geometry.offset=new mxPoint(-6,-17),q.style+=K(h,e)+E(h,e),q.geometry.relative=!0,q.vertex=!0,v.insert(q));v.style+=c(v.style,h,e,v,y);break;case "BPMNGateway":v.style+="shape=mxgraph.bpmn.shape;perimeter=rhombusPerimeter;background=gateway;verticalLabelPosition=bottom;verticalAlign=top;";
switch(h.bpmnGatewayType){case 0:v.style+="outline=none;symbol=general;";break;case 1:v.style+="outline=none;symbol=exclusiveGw;";break;case 2:v.style+="outline=catching;symbol=multiple;";break;case 3:v.style+="outline=none;symbol=parallelGw;";break;case 4:v.style+="outline=end;symbol=general;";break;case 5:v.style+="outline=standard;symbol=multiple;";break;case 6:v.style+="outline=none;symbol=complexGw;";break;case 7:v.style+="outline=standard;symbol=parallelMultiple;"}v.style+=c(v.style,h,e,v);
v.value=g(h.Text);v.style+=m(h,y);break;case "BPMNData":v.style+="shape=note;size=14;";switch(h.bpmnDataType){case 1:q=new mxCell("",new mxGeometry(.5,1,12,10),"shape=parallelMarker;part=1;");q.geometry.offset=new mxPoint(-6,-15);q.style+=M(h,e)+E(h,e);q.geometry.relative=!0;q.vertex=!0;v.insert(q);break;case 2:q=new mxCell("",new mxGeometry(0,0,12,10),"shape=singleArrow;part=1;arrowWidth=0.4;arrowSize=0.4;");q.geometry.offset=new mxPoint(3,3);q.style+=M(h,e)+E(h,e);q.geometry.relative=!0;q.vertex=
v.value=g(h.Text);v.style+=m(h,y);break;case "BPMNData":v.style+="shape=note;size=14;";switch(h.bpmnDataType){case 1:q=new mxCell("",new mxGeometry(.5,1,12,10),"shape=parallelMarker;part=1;");q.geometry.offset=new mxPoint(-6,-15);q.style+=K(h,e)+E(h,e);q.geometry.relative=!0;q.vertex=!0;v.insert(q);break;case 2:q=new mxCell("",new mxGeometry(0,0,12,10),"shape=singleArrow;part=1;arrowWidth=0.4;arrowSize=0.4;");q.geometry.offset=new mxPoint(3,3);q.style+=K(h,e)+E(h,e);q.geometry.relative=!0;q.vertex=
!0;v.insert(q);v.style+="verticalLabelPosition=bottom;verticalAlign=top;";X=new mxCell("",new mxGeometry(0,0,t,20),"strokeColor=none;fillColor=none;");X.geometry.offset=new mxPoint(0,14);X.geometry.relative=!0;X.vertex=!0;v.insert(X);X.value=g(h.Text);X.style+=m(h,y);break;case 3:q=new mxCell("",new mxGeometry(0,0,12,10),"shape=singleArrow;part=1;arrowWidth=0.4;arrowSize=0.4;"),q.geometry.offset=new mxPoint(3,3),q.style+=E(h,e),q.geometry.relative=!0,q.vertex=!0,v.insert(q),H=E(h,e),H=H.replace("strokeColor",
"fillColor"),""==H&&(H="fillColor=#000000;"),q.style+=H,X=new mxCell("",new mxGeometry(0,0,t,20),"strokeColor=none;fillColor=none;"),X.geometry.offset=new mxPoint(0,14),X.geometry.relative=!0,X.vertex=!0,v.insert(X),X.value=g(h.Text),X.style+=m(h,y)}v.style+=c(v.style,h,e,v);break;case "BPMNBlackPool":v.value=g(h.Text);v.style+=c(v.style,h,e,v,y);q=new mxCell("",new mxGeometry(0,0,t,r),"fillColor=#000000;strokeColor=none;opacity=30;");q.vertex=!0;v.insert(q);break;case "DFDExternalEntityBlock":v.style+=
"strokeColor=none;fillColor=none;";v.style+=c(v.style,h,e,v);q=new mxCell("",new mxGeometry(0,0,.95*t,.95*r),"part=1;");q.vertex=!0;v.insert(q);q.style+=c(q.style,h,e,q);u=new mxCell("",new mxGeometry(.05*t,.05*r,.95*t,.95*r),"part=1;");u.vertex=!0;v.insert(u);u.value=g(h.Text);u.style+=m(h.Text,y);u.style+=c(u.style,h,e,u,y);break;case "GSDFDDataStoreBlock":v.value=g(h.Text);v.style+="shape=partialRectangle;right=0;"+m(h.Text,y);v.style+=c(v.style,h,e,v,y);q=new mxCell("",new mxGeometry(0,0,.2*t,
r),"part=1;");q.vertex=!0;v.insert(q);q.value=g(h.Number);q.style+=m(h.Number,y);q.style+=c(q.style,h,e,q,y);break;case "DefaultTableBlock":try{for(var Vb=h.RowHeights.length,Wb=h.ColWidths.length,ad=[],Lc=[],l=0;l<Vb;l++)ad[l]=.6*h.RowHeights[l];for(V=0;V<Wb;V++)Lc[V]=.6*h.ColWidths[V];v.style="group;dropTarget=0;";var vd=h.BandedColor1,wd=h.BandedColor2,Ae=h.BandedRows,Xd=h.BandedCols,bd=h.HideH,Be=h.HideV,Yd=h.TextVAlign,Zd=h.FillColor,$d=h.StrokeStyle;delete h.StrokeStyle;for(var Ce=R(Zd,"fillOpacity"),
ae=h.LineColor,De=R(ae,"strokeOpacity"),na=0,Mc={},l=0;l<Vb;l++){pa=0;r=ad[l];for(V=0;V<Wb;V++){var Va=l+","+V;if(Mc[Va])pa+=Lc[V];else{for(var cd=h["CellFill_"+Va],xd=h["NoBand_"+Va],dd=h["CellSize_"+Va],vb=h["Cell_"+Va],be=h["Cell_"+Va+"_VAlign"],Ee=h["Cell_"+Va+"_TRotation"],Fe=h["CellBorderWidthH_"+Va],Ge=h["CellBorderColorH_"+Va],He=h["CellBorderStrokeStyleH_"+Va],Ie=h["CellBorderWidthV_"+Va],Je=h["CellBorderColorV_"+Va],Ke=h["CellBorderStrokeStyleV_"+Va],ce=bd?Je:Ge,de=R(ce,"strokeOpacity"),
ee=bd?Ie:Fe,fe=bd?Ke:He,cd=Ae&&!xd?0==l%2?vd:Xd&&!xd?0==V%2?vd:wd:wd:Xd&&!xd?0==V%2?vd:wd:cd,Le=R(cd,"fillOpacity")||Ce,t=Lc[V],ge=r,gc=t,bb=l+1;bb<l+dd.h;bb++)if(null!=ad[bb]){ge+=ad[bb];Mc[bb+","+V]=!0;for(var $b=V+1;$b<V+dd.w;$b++)Mc[$b+","+V]=!0}for(bb=V+1;bb<V+dd.w;bb++)if(null!=Lc[bb])for(gc+=Lc[bb],Mc[l+","+bb]=!0,$b=l+1;$b<l+dd.h;$b++)Mc[$b+","+bb]=!0;var P=new mxCell("",new mxGeometry(pa,na,gc,ge),"shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;"+(Be?"left=0;right=0;":"")+(bd?
"top=0;bottom=0;":"")+Fa(mxConstants.STYLE_FILLCOLOR,S(cd),S(Zd))+Fa(mxConstants.STYLE_STROKECOLOR,S(ce),S(ae))+(null!=ee?Fa(mxConstants.STYLE_STROKEWIDTH,Math.round(.6*parseFloat(ee)),"1"):"")+(de?de:De)+Le+"verticalAlign="+(be?be:Yd?Yd:"middle")+";"+ma({StrokeStyle:fe?fe:$d?$d:"solid"})+(Ee?"horizontal=0;":""));P.vertex=!0;P.value=g(vb);P.style+=c(P.style,h,e,P,y)+(y?"":a(vb)+d(vb)+k(vb)+w(vb,P)+x(vb)+z(vb)+B(vb)+A(vb))+C(vb)+D(vb);v.insert(P);pa+=t}}na+=r}}catch(Ub){}break;case "VSMDedicatedProcessBlock":case "VSMProductionControlBlock":v.style+=
ae=h.LineColor,De=R(ae,"strokeOpacity"),oa=0,Mc={},l=0;l<Vb;l++){qa=0;r=ad[l];for(V=0;V<Wb;V++){var Ua=l+","+V;if(Mc[Ua])qa+=Lc[V];else{for(var cd=h["CellFill_"+Ua],xd=h["NoBand_"+Ua],dd=h["CellSize_"+Ua],ub=h["Cell_"+Ua],be=h["Cell_"+Ua+"_VAlign"],Ee=h["Cell_"+Ua+"_TRotation"],Fe=h["CellBorderWidthH_"+Ua],Ge=h["CellBorderColorH_"+Ua],He=h["CellBorderStrokeStyleH_"+Ua],Ie=h["CellBorderWidthV_"+Ua],Je=h["CellBorderColorV_"+Ua],Ke=h["CellBorderStrokeStyleV_"+Ua],ce=bd?Je:Ge,de=R(ce,"strokeOpacity"),
ee=bd?Ie:Fe,fe=bd?Ke:He,cd=Ae&&!xd?0==l%2?vd:Xd&&!xd?0==V%2?vd:wd:wd:Xd&&!xd?0==V%2?vd:wd:cd,Le=R(cd,"fillOpacity")||Ce,t=Lc[V],ge=r,gc=t,ab=l+1;ab<l+dd.h;ab++)if(null!=ad[ab]){ge+=ad[ab];Mc[ab+","+V]=!0;for(var $b=V+1;$b<V+dd.w;$b++)Mc[$b+","+V]=!0}for(ab=V+1;ab<V+dd.w;ab++)if(null!=Lc[ab])for(gc+=Lc[ab],Mc[l+","+ab]=!0,$b=l+1;$b<l+dd.h;$b++)Mc[$b+","+ab]=!0;var P=new mxCell("",new mxGeometry(qa,oa,gc,ge),"shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;"+(Be?"left=0;right=0;":"")+(bd?
"top=0;bottom=0;":"")+Fa(mxConstants.STYLE_FILLCOLOR,S(cd),S(Zd))+Fa(mxConstants.STYLE_STROKECOLOR,S(ce),S(ae))+(null!=ee?Fa(mxConstants.STYLE_STROKEWIDTH,Math.round(.6*parseFloat(ee)),"1"):"")+(de?de:De)+Le+"verticalAlign="+(be?be:Yd?Yd:"middle")+";"+na({StrokeStyle:fe?fe:$d?$d:"solid"})+(Ee?"horizontal=0;":""));P.vertex=!0;P.value=g(ub);P.style+=c(P.style,h,e,P,y)+(y?"fontSize=11;":a(ub)+d(ub)+k(ub)+w(ub,P)+x(ub)+z(ub)+B(ub)+A(ub))+C(ub)+D(ub);v.insert(P);qa+=t}}oa+=r}}catch(Ub){}break;case "VSMDedicatedProcessBlock":case "VSMProductionControlBlock":v.style+=
"shape=mxgraph.lean_mapping.manufacturing_process;spacingTop=15;";"VSMDedicatedProcessBlock"==b.Class?v.value=g(h.Text):"VSMProductionControlBlock"==b.Class&&(v.value=g(h.Resources));v.style+=c(v.style,h,e,v,y);"VSMDedicatedProcessBlock"==b.Class&&(q=new mxCell("",new mxGeometry(0,1,11,9),"part=1;shape=mxgraph.lean_mapping.operator;"),q.geometry.relative=!0,q.geometry.offset=new mxPoint(4,-13),q.vertex=!0,v.insert(q),q.style+=c(q.style,h,e,q));X=new mxCell("",new mxGeometry(0,0,t,15),"strokeColor=none;fillColor=none;part=1;");
X.vertex=!0;v.insert(X);X.value=g(h.Title);X.style+=m(h.Title,y);break;case "VSMSharedProcessBlock":v.style+="shape=mxgraph.lean_mapping.manufacturing_process_shared;spacingTop=-5;verticalAlign=top;";v.value=g(h.Text);v.style+=c(v.style,h,e,v,y);X=new mxCell("",new mxGeometry(.1*t,.3*r,.8*t,.6*r),"part=1;");X.vertex=!0;v.insert(X);X.value=g(h.Resource);X.style+=m(h.Resource,y);X.style+=c(X.style,h,e,X,y);break;case "VSMWorkcellBlock":v.style+="shape=mxgraph.lean_mapping.work_cell;verticalAlign=top;spacingTop=-2;";
v.value=g(h.Text);v.style+=c(v.style,h,e,v,y);break;case "VSMSafetyBufferStockBlock":case "VSMDatacellBlock":v.style+="strokeColor=none;fillColor=none;";v.style+=c(v.style,h,e,v);var Ha=r,gb=parseInt(h.Cells),Q=c("part=1;",h,e,v);0<gb&&(Ha/=gb);I=[];ia=[];for(l=1;l<=gb;l++)I[l]=new mxCell("",new mxGeometry(0,(l-1)*Ha,t,Ha),Q),I[l].vertex=!0,v.insert(I[l]),I[l].value=g(h["cell_"+l]),I[l].style+=m(h["cell_"+l],y);break;case "VSMInventoryBlock":v.style+="shape=mxgraph.lean_mapping.inventory_box;verticalLabelPosition=bottom;verticalAlign=top;";
v.value=g(h.Text);v.style+=c(v.style,h,e,v,y);break;case "VSMSupermarketBlock":v.style+="strokeColor=none;";v.style+=c(v.style,h,e,v);Ha=r;gb=parseInt(h.Cells);Q=c("part=1;fillColor=none;",h,e,v);0<gb&&(Ha/=gb);I=[];$a=[];for(l=1;l<=gb;l++)I[l]=new mxCell("",new mxGeometry(.5*t,(l-1)*Ha,.5*t,Ha),"shape=partialRectangle;left=0;"+Q),I[l].vertex=!0,v.insert(I[l]),$a[l]=new mxCell("",new mxGeometry(0,(l-1)*Ha,t,Ha),"strokeColor=none;fillColor=none;part=1;"),$a[l].vertex=!0,v.insert($a[l]),$a[l].value=
g(h["cell_"+l]),$a[l].style+=m(h["cell_"+l],y);break;case "VSMFIFOLaneBlock":v.style+="shape=mxgraph.lean_mapping.fifo_sequence_flow;fontStyle=0;fontSize=18";v.style+=c(v.style,h,e,v);v.value="FIFO";break;case "VSMGoSeeProductionBlock":v.style+="shape=ellipse;perimeter=ellipsePerimeter;";v.value=g(h.Text);v.style+=c(v.style,h,e,v,y);q=new mxCell("",new mxGeometry(.17*t,.2*r,13,6),"shape=mxgraph.lean_mapping.go_see_production_scheduling;flipH=1;part=1;whiteSpace=wrap;html=1;");q.vertex=!0;v.insert(q);
v.value=g(h.Text);v.style+=c(v.style,h,e,v,y);break;case "VSMSafetyBufferStockBlock":case "VSMDatacellBlock":v.style+="strokeColor=none;fillColor=none;";v.style+=c(v.style,h,e,v);var Ga=r,fb=parseInt(h.Cells),Q=c("part=1;",h,e,v);0<fb&&(Ga/=fb);I=[];ia=[];for(l=1;l<=fb;l++)I[l]=new mxCell("",new mxGeometry(0,(l-1)*Ga,t,Ga),Q),I[l].vertex=!0,v.insert(I[l]),I[l].value=g(h["cell_"+l]),I[l].style+=m(h["cell_"+l],y);break;case "VSMInventoryBlock":v.style+="shape=mxgraph.lean_mapping.inventory_box;verticalLabelPosition=bottom;verticalAlign=top;";
v.value=g(h.Text);v.style+=c(v.style,h,e,v,y);break;case "VSMSupermarketBlock":v.style+="strokeColor=none;";v.style+=c(v.style,h,e,v);Ga=r;fb=parseInt(h.Cells);Q=c("part=1;fillColor=none;",h,e,v);0<fb&&(Ga/=fb);I=[];Za=[];for(l=1;l<=fb;l++)I[l]=new mxCell("",new mxGeometry(.5*t,(l-1)*Ga,.5*t,Ga),"shape=partialRectangle;left=0;"+Q),I[l].vertex=!0,v.insert(I[l]),Za[l]=new mxCell("",new mxGeometry(0,(l-1)*Ga,t,Ga),"strokeColor=none;fillColor=none;part=1;"),Za[l].vertex=!0,v.insert(Za[l]),Za[l].value=
g(h["cell_"+l]),Za[l].style+=m(h["cell_"+l],y);break;case "VSMFIFOLaneBlock":v.style+="shape=mxgraph.lean_mapping.fifo_sequence_flow;fontStyle=0;fontSize=18";v.style+=c(v.style,h,e,v);v.value="FIFO";break;case "VSMGoSeeProductionBlock":v.style+="shape=ellipse;perimeter=ellipsePerimeter;";v.value=g(h.Text);v.style+=c(v.style,h,e,v,y);q=new mxCell("",new mxGeometry(.17*t,.2*r,13,6),"shape=mxgraph.lean_mapping.go_see_production_scheduling;flipH=1;part=1;whiteSpace=wrap;html=1;");q.vertex=!0;v.insert(q);
q.style+=c(q.style,h,e,q);break;case "VSMProductionKanbanBatchBlock":v.style+="strokeColor=none;fillColor=none;";Q="shape=card;size=18;flipH=1;part=1;";q=new mxCell("",new mxGeometry(.1*t,0,.9*t,.8*r),"shape=mxgraph.lean_mapping.go_see_production_scheduling;flipH=1;part=1;"+Q);q.vertex=!0;v.insert(q);q.style+=c(q.style,h,e,q);u=new mxCell("",new mxGeometry(.05*t,.1*r,.9*t,.8*r),"shape=mxgraph.lean_mapping.go_see_production_scheduling;flipH=1;part=1;"+Q);u.vertex=!0;v.insert(u);u.style+=c(u.style,
h,e,u);var F=new mxCell("",new mxGeometry(0,.2*r,.9*t,.8*r),"shape=mxgraph.lean_mapping.go_see_production_scheduling;flipH=1;part=1;whiteSpace=wrap;html=1;spacing=2;"+Q);F.vertex=!0;v.insert(F);F.value=g(h.Text);F.style+=c(F.style,h,e,F,y);break;case "AWSRoundedRectangleContainerBlock2":v.style+="strokeColor=none;fillColor=none;";h.Spotfleet?(q=new mxCell("",new mxGeometry(0,0,t,r-20),"resizeWidth=1;resizeHeight=1;fillColor=none;align=center;verticalAlign=bottom;spacing=2;rounded=1;arcSize=10;"),
q.geometry.offset=new mxPoint(0,20),q.geometry.relative=!0,q.vertex=!0,v.insert(q),q.value=g(h.Title),q.style+=c(q.style,h,e,q,y),u=new mxCell("",new mxGeometry(0,0,35,40),"strokeColor=none;shape=mxgraph.aws3.spot_instance;fillColor=#f58536;"),u.geometry.relative=!0,u.geometry.offset=new mxPoint(30,0),u.vertex=!0,v.insert(u)):h.Beanstalk?(q=new mxCell("",new mxGeometry(0,0,t,r-20),"resizeWidth=1;resizeHeight=1;fillColor=none;align=center;verticalAlign=bottom;spacing=2;rounded=1;arcSize=10;"),q.geometry.offset=
@ -164,127 +165,127 @@ new mxPoint(0,20),q.geometry.relative=!0,q.vertex=!0,v.insert(q),q.value=g(h.Tit
v.insert(q),q.value=g(h.Title),q.style+=c(q.style,h,e,q,y),u=new mxCell("",new mxGeometry(0,0,60,40),"strokeColor=none;shape=mxgraph.aws3.cloud;fillColor=#F58534;"),u.geometry.relative=!0,u.geometry.offset=new mxPoint(30,0),u.vertex=!0,v.insert(u)):h.Corporate?(q=new mxCell("",new mxGeometry(0,0,t,r-20),"resizeWidth=1;resizeHeight=1;fillColor=none;align=center;verticalAlign=bottom;spacing=2;rounded=1;arcSize=10;"),q.geometry.offset=new mxPoint(0,20),q.geometry.relative=!0,q.vertex=!0,v.insert(q),
q.value=g(h.Title),q.style+=c(q.style,h,e,q,y),u=new mxCell("",new mxGeometry(0,0,25,40),"strokeColor=none;shape=mxgraph.aws3.corporate_data_center;fillColor=#7D7C7C;"),u.geometry.relative=!0,u.geometry.offset=new mxPoint(30,0),u.vertex=!0,v.insert(u)):(v.style="resizeWidth=1;resizeHeight=1;fillColor=none;align=center;verticalAlign=bottom;spacing=2;rounded=1;arcSize=10;",v.value=g(h.Title),v.style+=c(v.style,h,e,v,y));break;case "AWSElasticComputeCloudBlock2":v.style+="strokeColor=none;shape=mxgraph.aws3.ec2;verticalLabelPosition=bottom;align=center;verticalAlign=top;";
v.value=g(h.Title);v.style+=c(v.style,h,e,v,y);break;case "AWSRoute53Block2":v.style+="strokeColor=none;shape=mxgraph.aws3.route_53;verticalLabelPosition=bottom;align=center;verticalAlign=top;";v.value=g(h.Title);v.style+=c(v.style,h,e,v,y);break;case "AWSRDBSBlock2":v.style+="strokeColor=none;shape=mxgraph.aws3.rds;verticalLabelPosition=bottom;align=center;verticalAlign=top;";v.value=g(h.Title);v.style+=c(v.style,h,e,v,y);break;case "NET_RingNetwork":v.style+="strokeColor=none;fillColor=none;";P=
new mxCell("",new mxGeometry(.25*t,.25*r,.5*t,.5*r),"ellipse;html=1;strokeColor=#29AAE1;strokeWidth=2;");P.vertex=!0;v.insert(P);var da=[P];P.style+=M(h,e);var Y=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=none;rounded=0;endArrow=none;dashed=0;html=1;strokeColor=#29AAE1;strokeWidth=2;");Y.geometry.relative=!0;Y.edge=!0;wb(.5*t,0,Y,n,f,da,v,P);wb(.855*t,.145*r,Y,n,f,da,v,P);wb(t,.5*r,Y,n,f,da,v,P);wb(.855*t,.855*r,Y,n,f,da,v,P);wb(.5*t,r,Y,n,f,da,v,P);wb(.145*t,.855*r,Y,n,f,da,v,P);wb(0,.5*r,
Y,n,f,da,v,P);wb(.145*t,.145*r,Y,n,f,da,v,P);break;case "NET_Ethernet":v.style+="strokeColor=none;fillColor=none;";P=new mxCell("",new mxGeometry(0,.5*r-10,t,20),"shape=mxgraph.networks.bus;gradientColor=none;gradientDirection=north;fontColor=#ffffff;perimeter=backbonePerimeter;backboneSize=20;fillColor=#29AAE1;strokeColor=#29AAE1;");P.vertex=!0;v.insert(P);da=[P];Y=new mxCell("",new mxGeometry(0,0,0,0),"strokeColor=#29AAE1;edgeStyle=none;rounded=0;endArrow=none;html=1;strokeWidth=2;");Y.geometry.relative=
!0;Y.edge=!0;for(var da=[P],Nc=t/h.NumTopNodes,l=0;l<h.NumTopNodes;l++)wb(.5*Nc+l*Nc,0,Y,n,f,da,v,P);Nc=t/h.NumBottomNodes;for(l=0;l<h.NumBottomNodes;l++)wb(.5*Nc+l*Nc,r,Y,n,f,da,v,P);break;case "EE_OpAmp":v.style+="shape=mxgraph.electrical.abstract.operational_amp_1;";v.value=g(h.Title);v.style+=c(v.style,h,e,v,y);h.ToggleCharge&&(v.style+="flipV=1;");break;case "EIMessageChannelBlock":case "EIDatatypeChannelBlock":case "EIInvalidMessageChannelBlock":case "EIDeadLetterChannelBlock":case "EIGuaranteedDeliveryBlock":v.style+=
new mxCell("",new mxGeometry(.25*t,.25*r,.5*t,.5*r),"ellipse;html=1;strokeColor=#29AAE1;strokeWidth=2;");P.vertex=!0;v.insert(P);var da=[P];P.style+=K(h,e);var Y=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=none;rounded=0;endArrow=none;dashed=0;html=1;strokeColor=#29AAE1;strokeWidth=2;");Y.geometry.relative=!0;Y.edge=!0;vb(.5*t,0,Y,n,f,da,v,P);vb(.855*t,.145*r,Y,n,f,da,v,P);vb(t,.5*r,Y,n,f,da,v,P);vb(.855*t,.855*r,Y,n,f,da,v,P);vb(.5*t,r,Y,n,f,da,v,P);vb(.145*t,.855*r,Y,n,f,da,v,P);vb(0,.5*r,
Y,n,f,da,v,P);vb(.145*t,.145*r,Y,n,f,da,v,P);break;case "NET_Ethernet":v.style+="strokeColor=none;fillColor=none;";P=new mxCell("",new mxGeometry(0,.5*r-10,t,20),"shape=mxgraph.networks.bus;gradientColor=none;gradientDirection=north;fontColor=#ffffff;perimeter=backbonePerimeter;backboneSize=20;fillColor=#29AAE1;strokeColor=#29AAE1;");P.vertex=!0;v.insert(P);da=[P];Y=new mxCell("",new mxGeometry(0,0,0,0),"strokeColor=#29AAE1;edgeStyle=none;rounded=0;endArrow=none;html=1;strokeWidth=2;");Y.geometry.relative=
!0;Y.edge=!0;for(var da=[P],Nc=t/h.NumTopNodes,l=0;l<h.NumTopNodes;l++)vb(.5*Nc+l*Nc,0,Y,n,f,da,v,P);Nc=t/h.NumBottomNodes;for(l=0;l<h.NumBottomNodes;l++)vb(.5*Nc+l*Nc,r,Y,n,f,da,v,P);break;case "EE_OpAmp":v.style+="shape=mxgraph.electrical.abstract.operational_amp_1;";v.value=g(h.Title);v.style+=c(v.style,h,e,v,y);h.ToggleCharge&&(v.style+="flipV=1;");break;case "EIMessageChannelBlock":case "EIDatatypeChannelBlock":case "EIInvalidMessageChannelBlock":case "EIDeadLetterChannelBlock":case "EIGuaranteedDeliveryBlock":v.style+=
"verticalLabelPosition=bottom;verticalAlign=top;";v.value=g(h.Text);v.style+=c(v.style,h,e,v,y);"EIMessageChannelBlock"==b.Class?(q=new mxCell("",new mxGeometry(.5,.5,.9*t,20),"shape=mxgraph.eip.messageChannel;fillColor=#818181;part=1;"),q.geometry.offset=new mxPoint(.45*-t,0)):"EIDatatypeChannelBlock"==b.Class?(q=new mxCell("",new mxGeometry(.5,.5,.9*t,20),"shape=mxgraph.eip.dataChannel;fillColor=#818181;part=1;"),q.geometry.offset=new mxPoint(.45*-t,0)):"EIInvalidMessageChannelBlock"==b.Class?(q=
new mxCell("",new mxGeometry(.5,.5,.9*t,20),"shape=mxgraph.eip.invalidMessageChannel;fillColor=#818181;part=1;"),q.geometry.offset=new mxPoint(.45*-t,0)):"EIDeadLetterChannelBlock"==b.Class?(q=new mxCell("",new mxGeometry(.5,.5,.9*t,20),"shape=mxgraph.eip.deadLetterChannel;fillColor=#818181;part=1;"),q.geometry.offset=new mxPoint(.45*-t,0)):"EIGuaranteedDeliveryBlock"==b.Class&&(q=new mxCell("",new mxGeometry(.5,.5,20,27),"shape=cylinder;fillColor=#818181;part=1;"),q.geometry.offset=new mxPoint(-10,
-7));q.geometry.relative=!0;q.vertex=!0;v.insert(q);q.style+=c(q.style,h,e,q);Y=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=none;rounded=0;endArrow=block;dashed=0;html=1;strokeColor=#818181;strokeWidth=1;endFill=1;endSize=6;");Y.geometry.relative=!0;Y.edge=!0;ta(.15*t,.25*r,.85*t,.25*r,Y,n,f,da,v,P);break;case "EIChannelAdapterBlock":v.style+="verticalLabelPosition=bottom;verticalAlign=top;";v.value=g(h.Text);v.style+=c(v.style,h,e,v,y);q=new mxCell("",new mxGeometry(0,.07*r,.21*t,.86*r),"fillColor=#FFFF33;part=1;");
q.vertex=!0;v.insert(q);q.style+=c(q.style,h,e,q);u=new mxCell("",new mxGeometry(.26*t,.09*r,.2*t,.82*r),"shape=mxgraph.eip.channel_adapter;fillColor=#4CA3D9;part=1;");u.vertex=!0;v.insert(u);u.style+=c(u.style,h,e,u);F=new mxCell("",new mxGeometry(1,.5,.35*t,20),"shape=mxgraph.eip.messageChannel;fillColor=#818181;part=1;");F.geometry.relative=!0;F.geometry.offset=new mxPoint(.4*-t,-10);F.vertex=!0;v.insert(F);F.style+=c(F.style,h,e,F);K=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=1;exitY=0.5;entryX=0;entryY=0.5;endArrow=none;dashed=0;html=1;strokeWidth=1;endFill=1;endSize=2;");
K.geometry.relative=!0;K.edge=!0;q.insertEdge(K,!0);u.insertEdge(K,!1);K.style+=E(h,e);n.push(f.addCell(K,null,null,null,null));J=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=1;exitY=0.5;entryX=0;entryY=0.5;endArrow=block;startArrow=block;dashed=0;html=1;strokeColor=#818181;strokeWidth=1;endFill=1;endSize=2;startFill=1;startSize=2;");J.geometry.relative=!0;J.edge=!0;u.insertEdge(J,!0);F.insertEdge(J,!1);n.push(f.addCell(J,null,null,null,null));break;case "EIMessageBlock":case "EICommandMessageBlock":case "EIDocumentMessageBlock":case "EIEventMessageBlock":v.style+=
-7));q.geometry.relative=!0;q.vertex=!0;v.insert(q);q.style+=c(q.style,h,e,q);Y=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=none;rounded=0;endArrow=block;dashed=0;html=1;strokeColor=#818181;strokeWidth=1;endFill=1;endSize=6;");Y.geometry.relative=!0;Y.edge=!0;ua(.15*t,.25*r,.85*t,.25*r,Y,n,f,da,v,P);break;case "EIChannelAdapterBlock":v.style+="verticalLabelPosition=bottom;verticalAlign=top;";v.value=g(h.Text);v.style+=c(v.style,h,e,v,y);q=new mxCell("",new mxGeometry(0,.07*r,.21*t,.86*r),"fillColor=#FFFF33;part=1;");
q.vertex=!0;v.insert(q);q.style+=c(q.style,h,e,q);u=new mxCell("",new mxGeometry(.26*t,.09*r,.2*t,.82*r),"shape=mxgraph.eip.channel_adapter;fillColor=#4CA3D9;part=1;");u.vertex=!0;v.insert(u);u.style+=c(u.style,h,e,u);F=new mxCell("",new mxGeometry(1,.5,.35*t,20),"shape=mxgraph.eip.messageChannel;fillColor=#818181;part=1;");F.geometry.relative=!0;F.geometry.offset=new mxPoint(.4*-t,-10);F.vertex=!0;v.insert(F);F.style+=c(F.style,h,e,F);L=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=1;exitY=0.5;entryX=0;entryY=0.5;endArrow=none;dashed=0;html=1;strokeWidth=1;endFill=1;endSize=2;");
L.geometry.relative=!0;L.edge=!0;q.insertEdge(L,!0);u.insertEdge(L,!1);L.style+=E(h,e);n.push(f.addCell(L,null,null,null,null));J=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=1;exitY=0.5;entryX=0;entryY=0.5;endArrow=block;startArrow=block;dashed=0;html=1;strokeColor=#818181;strokeWidth=1;endFill=1;endSize=2;startFill=1;startSize=2;");J.geometry.relative=!0;J.edge=!0;u.insertEdge(J,!0);F.insertEdge(J,!1);n.push(f.addCell(J,null,null,null,null));break;case "EIMessageBlock":case "EICommandMessageBlock":case "EIDocumentMessageBlock":case "EIEventMessageBlock":v.style+=
"strokeColor=none;fillColor=none;verticalLabelPosition=bottom;verticalAlign=top;";v.value=g(h.Text);v.style+=c(v.style,h,e,v,y);q=new mxCell("",new mxGeometry(0,0,17,17),"ellipse;fillColor=#808080;part=1;");q.vertex=!0;v.insert(q);q.style+=c(q.style,h,e,q);for(var Oc=h.Messages,yd=(r-17)/Oc,u=[],Y=[],l=0;l<Oc;l++){var Pc=yd*(l+1)-3;u[l]=new mxCell("",new mxGeometry(t-20,Pc,20,20),"part=1;");u[l].vertex=!0;v.insert(u[l]);switch(b.Class){case "EIMessageBlock":u[l].value=g(h["message_"+(l+1)]);u.style+=
m(h["message_"+(l+1)],y);break;case "EICommandMessageBlock":u[l].value="C";u[l].style+="fontStyle=1;fontSize=11;";break;case "EIDocumentMessageBlock":u[l].value="D";u[l].style+="fontStyle=1;fontSize=11;";break;case "EIEventMessageBlock":u[l].value="E",u[l].style+="fontStyle=1;fontSize=11;"}u[l].style+=c(u[l].style,h,e,u[l]);Y[l]=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=0;exitY=0.5;endArrow=none;dashed=0;html=1;");Y[l].geometry.relative=!0;Y[l].edge=!0;q.insertEdge(Y[l],
!1);u[l].insertEdge(Y[l],!0);Y[l].style+=c(Y[l].style,h,e,Y[l]);var Nb=[];Nb.push(new mxPoint(pa+8.5,na+Pc+10));Y[l].geometry.points=Nb;n.push(f.addCell(Y[l],null,null,null,null))}break;case "EIMessageEndpointBlock":v.style+="verticalLabelPosition=bottom;verticalAlign=top;";v.value=g(h.Text);v.style+=c(v.style,h,e,v,y);q=new mxCell("",new mxGeometry(.45*t,.25*r,.3*t,.5*r),"part=1;fillColor=#ffffff");q.vertex=!0;v.insert(q);q.style+=c(q.style,h,e,q);Y=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=none;rounded=0;endArrow=block;dashed=0;html=1;strokeColor=#818181;strokeWidth=1;endFill=1;endSize=6;");
Y.geometry.relative=!0;Y.edge=!0;ta(0,.5*r,.4*t,.5*r,Y,n,f,da,v,P);break;case "EIPublishSubscribeChannelBlock":v.style+="verticalLabelPosition=bottom;verticalAlign=top;";v.value=g(h.Text);v.style+=c(v.style,h,e,v,y);var K=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=none;rounded=0;endArrow=block;dashed=0;html=1;strokeColor=#818181;strokeWidth=1;endFill=1;endSize=6;");K.geometry.relative=!0;K.edge=!0;ta(.05*t,.5*r,.85*t,.5*r,K,n,f,da,v,P);var J=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=elbowEdgeStyle;rounded=0;endArrow=block;dashed=0;html=1;strokeColor=#818181;strokeWidth=1;endFill=1;endSize=6;");
J.geometry.relative=!0;J.edge=!0;ta(.05*t,.5*r,.85*t,.15*r,J,n,f,da,v,P);var W=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=elbowEdgeStyle;rounded=0;endArrow=block;dashed=0;html=1;strokeColor=#818181;strokeWidth=1;endFill=1;endSize=6;");W.geometry.relative=!0;W.edge=!0;ta(.05*t,.5*r,.85*t,.85*r,W,n,f,da,v,P);break;case "EIMessageBusBlock":v.style+="verticalLabelPosition=bottom;verticalAlign=top;";v.value=g(h.Text);v.style+=c(v.style,h,e,v,y);K=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=none;rounded=0;endArrow=block;dashed=0;html=1;strokeWidth=1;endFill=1;endSize=4;startArrow=block;startFill=1;startSize=4;");
K.geometry.relative=!0;K.edge=!0;K.style+=E(h,e);ta(.05*t,.5*r,.95*t,.5*r,K,n,f,da,v,P);J=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=elbowEdgeStyle;rounded=0;endArrow=block;dashed=0;html=1;strokeWidth=1;endFill=1;endSize=4;startArrow=block;startFill=1;startSize=4;");J.geometry.relative=!0;J.edge=!0;J.style+=E(h,e);ta(.3*t,.1*r,.3*t,.5*r,J,n,f,da,v,P);W=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=elbowEdgeStyle;rounded=0;endArrow=block;dashed=0;html=1;strokeWidth=1;endFill=1;endSize=4;startArrow=block;startFill=1;startSize=4;");
W.geometry.relative=!0;W.edge=!0;W.style+=E(h,e);ta(.7*t,.1*r,.7*t,.5*r,W,n,f,da,v,P);var la=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=elbowEdgeStyle;rounded=0;endArrow=block;dashed=0;html=1;strokeWidth=1;endFill=1;endSize=4;startArrow=block;startFill=1;startSize=4;");la.geometry.relative=!0;la.edge=!0;la.style+=E(h,e);ta(.5*t,.5*r,.5*t,.9*r,la,n,f,da,v,P);break;case "EIRequestReplyBlock":v.style+="verticalLabelPosition=bottom;verticalAlign=top;";v.value=g(h.Text);v.style+=c(v.style,h,e,v,
y);q=new mxCell("",new mxGeometry(.2*t,.21*r,.16*t,.24*r),"part=1;fillColor=#ffffff;");q.vertex=!0;v.insert(q);q.style+=c(q.style,h,e,q);K=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=none;rounded=0;endArrow=block;dashed=0;html=1;strokeColor=#818181;strokeWidth=1;endFill=1;endSize=6;");K.geometry.relative=!0;K.edge=!0;ta(.45*t,.33*r,.8*t,.33*r,K,n,f,da,v,P);u=new mxCell("",new mxGeometry(.64*t,.55*r,.16*t,.24*r),"part=1;fillColor=#ffffff;");u.vertex=!0;v.insert(u);u.style+=c(u.style,h,e,u);J=
new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=none;rounded=0;endArrow=block;dashed=0;html=1;strokeColor=#818181;strokeWidth=1;endFill=1;endSize=6;");J.geometry.relative=!0;J.edge=!0;ta(.55*t,.67*r,.2*t,.67*r,J,n,f,da,v,P);break;case "EIReturnAddressBlock":v.style+="verticalLabelPosition=bottom;verticalAlign=top;";v.value=g(h.Text);v.style+=c(v.style,h,e,v,y);q=new mxCell("",new mxGeometry(.1*t,.15*r,.8*t,.7*r),"part=1;shape=mxgraph.eip.retAddr;fillColor=#FFE040;");q.vertex=!0;v.insert(q);q.style+=
c(q.style,h,e,q);break;case "EICorrelationIDBlock":v.style+="verticalLabelPosition=bottom;verticalAlign=top;";v.value=g(h.Text);v.style+=c(v.style,h,e,v,y);q=new mxCell("",new mxGeometry(.04*t,.06*r,.18*t,.28*r),"ellipse;fillColor=#808080;part=1;");q.vertex=!0;v.insert(q);q.style+=c(q.style,h,e,q);u=new mxCell("",new mxGeometry(.2*t,.56*r,.2*t,.32*r),"part=1;");u.vertex=!0;v.insert(u);u.value="A";u.style+="fontStyle=1;fontSize=11;";q.style+=c(q.style,h,e,q);K=new mxCell("",new mxGeometry(0,0,0,0),
"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=0;exitY=0.5;endArrow=none;dashed=0;html=1;part=1;");K.geometry.relative=!0;K.edge=!0;q.insertEdge(K,!1);u.insertEdge(K,!0);K.style+=c(K.style,h,e,K);Nb=[];Nb.push(new mxPoint(pa+.13*t,na+.72*r));K.geometry.points=Nb;n.push(f.addCell(K,null,null,null,null));F=new mxCell("",new mxGeometry(.6*t,.06*r,.18*t,.28*r),"ellipse;fillColor=#808080;part=1;");F.vertex=!0;v.insert(F);F.style+=E(h,e)+ea(h);F.style+=c(F.style,h,e,F);U=new mxCell("",new mxGeometry(.76*
t,.56*r,.2*t,.32*r),"part=1;");U.vertex=!0;v.insert(U);U.style+=E(h,e)+O(h,e,U)+ea(h)+ma(h);U.value="B";U.style+="fontStyle=1;fontSize=11;fillColor=#ffffff;";U.style+=c(U.style,h,e,U);J=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=0;exitY=0.5;endArrow=none;dashed=0;html=1;part=1;");J.geometry.relative=!0;J.edge=!0;F.insertEdge(J,!1);U.insertEdge(J,!0);J.style+=c(J.style,h,e,J);var he=[];he.push(new mxPoint(pa+.69*t,na+.72*r));J.geometry.points=he;n.push(f.addCell(J,
!1);u[l].insertEdge(Y[l],!0);Y[l].style+=c(Y[l].style,h,e,Y[l]);var Nb=[];Nb.push(new mxPoint(qa+8.5,oa+Pc+10));Y[l].geometry.points=Nb;n.push(f.addCell(Y[l],null,null,null,null))}break;case "EIMessageEndpointBlock":v.style+="verticalLabelPosition=bottom;verticalAlign=top;";v.value=g(h.Text);v.style+=c(v.style,h,e,v,y);q=new mxCell("",new mxGeometry(.45*t,.25*r,.3*t,.5*r),"part=1;fillColor=#ffffff");q.vertex=!0;v.insert(q);q.style+=c(q.style,h,e,q);Y=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=none;rounded=0;endArrow=block;dashed=0;html=1;strokeColor=#818181;strokeWidth=1;endFill=1;endSize=6;");
Y.geometry.relative=!0;Y.edge=!0;ua(0,.5*r,.4*t,.5*r,Y,n,f,da,v,P);break;case "EIPublishSubscribeChannelBlock":v.style+="verticalLabelPosition=bottom;verticalAlign=top;";v.value=g(h.Text);v.style+=c(v.style,h,e,v,y);var L=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=none;rounded=0;endArrow=block;dashed=0;html=1;strokeColor=#818181;strokeWidth=1;endFill=1;endSize=6;");L.geometry.relative=!0;L.edge=!0;ua(.05*t,.5*r,.85*t,.5*r,L,n,f,da,v,P);var J=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=elbowEdgeStyle;rounded=0;endArrow=block;dashed=0;html=1;strokeColor=#818181;strokeWidth=1;endFill=1;endSize=6;");
J.geometry.relative=!0;J.edge=!0;ua(.05*t,.5*r,.85*t,.15*r,J,n,f,da,v,P);var W=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=elbowEdgeStyle;rounded=0;endArrow=block;dashed=0;html=1;strokeColor=#818181;strokeWidth=1;endFill=1;endSize=6;");W.geometry.relative=!0;W.edge=!0;ua(.05*t,.5*r,.85*t,.85*r,W,n,f,da,v,P);break;case "EIMessageBusBlock":v.style+="verticalLabelPosition=bottom;verticalAlign=top;";v.value=g(h.Text);v.style+=c(v.style,h,e,v,y);L=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=none;rounded=0;endArrow=block;dashed=0;html=1;strokeWidth=1;endFill=1;endSize=4;startArrow=block;startFill=1;startSize=4;");
L.geometry.relative=!0;L.edge=!0;L.style+=E(h,e);ua(.05*t,.5*r,.95*t,.5*r,L,n,f,da,v,P);J=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=elbowEdgeStyle;rounded=0;endArrow=block;dashed=0;html=1;strokeWidth=1;endFill=1;endSize=4;startArrow=block;startFill=1;startSize=4;");J.geometry.relative=!0;J.edge=!0;J.style+=E(h,e);ua(.3*t,.1*r,.3*t,.5*r,J,n,f,da,v,P);W=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=elbowEdgeStyle;rounded=0;endArrow=block;dashed=0;html=1;strokeWidth=1;endFill=1;endSize=4;startArrow=block;startFill=1;startSize=4;");
W.geometry.relative=!0;W.edge=!0;W.style+=E(h,e);ua(.7*t,.1*r,.7*t,.5*r,W,n,f,da,v,P);var ma=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=elbowEdgeStyle;rounded=0;endArrow=block;dashed=0;html=1;strokeWidth=1;endFill=1;endSize=4;startArrow=block;startFill=1;startSize=4;");ma.geometry.relative=!0;ma.edge=!0;ma.style+=E(h,e);ua(.5*t,.5*r,.5*t,.9*r,ma,n,f,da,v,P);break;case "EIRequestReplyBlock":v.style+="verticalLabelPosition=bottom;verticalAlign=top;";v.value=g(h.Text);v.style+=c(v.style,h,e,v,
y);q=new mxCell("",new mxGeometry(.2*t,.21*r,.16*t,.24*r),"part=1;fillColor=#ffffff;");q.vertex=!0;v.insert(q);q.style+=c(q.style,h,e,q);L=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=none;rounded=0;endArrow=block;dashed=0;html=1;strokeColor=#818181;strokeWidth=1;endFill=1;endSize=6;");L.geometry.relative=!0;L.edge=!0;ua(.45*t,.33*r,.8*t,.33*r,L,n,f,da,v,P);u=new mxCell("",new mxGeometry(.64*t,.55*r,.16*t,.24*r),"part=1;fillColor=#ffffff;");u.vertex=!0;v.insert(u);u.style+=c(u.style,h,e,u);J=
new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=none;rounded=0;endArrow=block;dashed=0;html=1;strokeColor=#818181;strokeWidth=1;endFill=1;endSize=6;");J.geometry.relative=!0;J.edge=!0;ua(.55*t,.67*r,.2*t,.67*r,J,n,f,da,v,P);break;case "EIReturnAddressBlock":v.style+="verticalLabelPosition=bottom;verticalAlign=top;";v.value=g(h.Text);v.style+=c(v.style,h,e,v,y);q=new mxCell("",new mxGeometry(.1*t,.15*r,.8*t,.7*r),"part=1;shape=mxgraph.eip.retAddr;fillColor=#FFE040;");q.vertex=!0;v.insert(q);q.style+=
c(q.style,h,e,q);break;case "EICorrelationIDBlock":v.style+="verticalLabelPosition=bottom;verticalAlign=top;";v.value=g(h.Text);v.style+=c(v.style,h,e,v,y);q=new mxCell("",new mxGeometry(.04*t,.06*r,.18*t,.28*r),"ellipse;fillColor=#808080;part=1;");q.vertex=!0;v.insert(q);q.style+=c(q.style,h,e,q);u=new mxCell("",new mxGeometry(.2*t,.56*r,.2*t,.32*r),"part=1;");u.vertex=!0;v.insert(u);u.value="A";u.style+="fontStyle=1;fontSize=11;";q.style+=c(q.style,h,e,q);L=new mxCell("",new mxGeometry(0,0,0,0),
"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=0;exitY=0.5;endArrow=none;dashed=0;html=1;part=1;");L.geometry.relative=!0;L.edge=!0;q.insertEdge(L,!1);u.insertEdge(L,!0);L.style+=c(L.style,h,e,L);Nb=[];Nb.push(new mxPoint(qa+.13*t,oa+.72*r));L.geometry.points=Nb;n.push(f.addCell(L,null,null,null,null));F=new mxCell("",new mxGeometry(.6*t,.06*r,.18*t,.28*r),"ellipse;fillColor=#808080;part=1;");F.vertex=!0;v.insert(F);F.style+=E(h,e)+ea(h);F.style+=c(F.style,h,e,F);U=new mxCell("",new mxGeometry(.76*
t,.56*r,.2*t,.32*r),"part=1;");U.vertex=!0;v.insert(U);U.style+=E(h,e)+O(h,e,U)+ea(h)+na(h);U.value="B";U.style+="fontStyle=1;fontSize=11;fillColor=#ffffff;";U.style+=c(U.style,h,e,U);J=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=0;exitY=0.5;endArrow=none;dashed=0;html=1;part=1;");J.geometry.relative=!0;J.edge=!0;F.insertEdge(J,!1);U.insertEdge(J,!0);J.style+=c(J.style,h,e,J);var he=[];he.push(new mxPoint(qa+.69*t,oa+.72*r));J.geometry.points=he;n.push(f.addCell(J,
null,null,null,null));W=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;endArrow=block;endFill=1;endSize=6;part=1;");W.geometry.relative=!0;W.edge=!0;q.insertEdge(W,!1);F.insertEdge(W,!0);W.style+=c(W.style,h,e,W);n.push(f.addCell(W,null,null,null,null));break;case "EIMessageSequenceBlock":v.style+="verticalLabelPosition=bottom;verticalAlign=top;";v.value=g(h.Text);v.style+=c(v.style,h,e,v,y);q=new mxCell("1",new mxGeometry(.2*t,.4*r,.1*t,.19*r),"fontStyle=1;fillColor=#ffffff;fontSize=11;part=1;");
q.vertex=!0;v.insert(q);q.style+=c(q.style,h,e,q);u=new mxCell("2",new mxGeometry(.45*t,.4*r,.1*t,.19*r),"fontStyle=1;fillColor=#ffffff;fontSize=11;part=1;");u.vertex=!0;v.insert(u);u.style+=c(u.style,h,e,u);F=new mxCell("3",new mxGeometry(.7*t,.4*r,.1*t,.19*r),"fontStyle=1;fillColor=#ffffff;fontSize=11;part=1;");F.vertex=!0;v.insert(F);F.style+=c(F.style,h,e,F);K=new mxCell("",new mxGeometry(0,0,0,0),"curved=1;endArrow=block;html=1;endSize=3;part=1;");q.insertEdge(K,!1);u.insertEdge(K,!0);K.geometry.points=
[new mxPoint(pa+.375*t,na+.15*r)];K.geometry.relative=!0;K.edge=!0;K.style+=c(K.style,h,e,K);n.push(f.addCell(K,null,null,null,null));J=new mxCell("",new mxGeometry(0,0,0,0),"curved=1;endArrow=block;html=1;endSize=3;part=1;");u.insertEdge(J,!1);F.insertEdge(J,!0);J.geometry.points=[new mxPoint(pa+.675*t,na+.15*r)];J.geometry.relative=!0;J.edge=!0;J.style+=c(J.style,h,e,J);n.push(f.addCell(J,null,null,null,null));break;case "EIMessageExpirationBlock":v.style+="verticalLabelPosition=bottom;verticalAlign=top;";
q.vertex=!0;v.insert(q);q.style+=c(q.style,h,e,q);u=new mxCell("2",new mxGeometry(.45*t,.4*r,.1*t,.19*r),"fontStyle=1;fillColor=#ffffff;fontSize=11;part=1;");u.vertex=!0;v.insert(u);u.style+=c(u.style,h,e,u);F=new mxCell("3",new mxGeometry(.7*t,.4*r,.1*t,.19*r),"fontStyle=1;fillColor=#ffffff;fontSize=11;part=1;");F.vertex=!0;v.insert(F);F.style+=c(F.style,h,e,F);L=new mxCell("",new mxGeometry(0,0,0,0),"curved=1;endArrow=block;html=1;endSize=3;part=1;");q.insertEdge(L,!1);u.insertEdge(L,!0);L.geometry.points=
[new mxPoint(qa+.375*t,oa+.15*r)];L.geometry.relative=!0;L.edge=!0;L.style+=c(L.style,h,e,L);n.push(f.addCell(L,null,null,null,null));J=new mxCell("",new mxGeometry(0,0,0,0),"curved=1;endArrow=block;html=1;endSize=3;part=1;");u.insertEdge(J,!1);F.insertEdge(J,!0);J.geometry.points=[new mxPoint(qa+.675*t,oa+.15*r)];J.geometry.relative=!0;J.edge=!0;J.style+=c(J.style,h,e,J);n.push(f.addCell(J,null,null,null,null));break;case "EIMessageExpirationBlock":v.style+="verticalLabelPosition=bottom;verticalAlign=top;";
v.value=g(h.Text);v.style+=c(v.style,h,e,v,y);q=new mxCell("",new mxGeometry(.3*t,.2*r,.4*t,.6*r),"shape=mxgraph.ios7.icons.clock;fillColor=#ffffff;flipH=1;part=1;");q.vertex=!0;v.insert(q);q.style+=c(q.style,h,e,q);break;case "EIMessageBrokerBlock":v.style+="strokeColor=none;fillColor=none;verticalLabelPosition=bottom;verticalAlign=top;";v.value=g(h.Text);v.style+=c(v.style,h,e,v,y);q=new mxCell("",new mxGeometry(.38*t,.42*r,.24*t,.16*r),"part=1;fillColor=#aefe7d;");q.vertex=!0;v.insert(q);q.style+=
c(q.style,h,e,q);u=new mxCell("",new mxGeometry(.38*t,0,.24*t,.16*r),"part=1;");u.vertex=!0;v.insert(u);u.style+=c(u.style,h,e,u);F=new mxCell("",new mxGeometry(.76*t,.23*r,.24*t,.16*r),"");F.vertex=!0;v.insert(F);F.style=u.style;var U=new mxCell("",new mxGeometry(.76*t,.61*r,.24*t,.16*r),"");U.vertex=!0;v.insert(U);U.style=u.style;var ed=new mxCell("",new mxGeometry(.38*t,.84*r,.24*t,.16*r),"");ed.vertex=!0;v.insert(ed);ed.style=u.style;var fd=new mxCell("",new mxGeometry(0,.61*r,.24*t,.16*r),"");
fd.vertex=!0;v.insert(fd);fd.style=u.style;var gd=new mxCell("",new mxGeometry(0,.23*r,.24*t,.16*r),"");gd.vertex=!0;v.insert(gd);gd.style=u.style;K=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;part=1;");q.insertEdge(K,!1);u.insertEdge(K,!0);K.edge=!0;K.style+=c(K.style,h,e,K);n.push(f.addCell(K,null,null,null,null));J=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;part=1;");q.insertEdge(J,!1);F.insertEdge(J,!0);J.edge=!0;J.style+=c(J.style,h,e,J);n.push(f.addCell(J,null,null,null,null));
W=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;part=1;");q.insertEdge(W,!1);U.insertEdge(W,!0);W.edge=!0;W.style+=c(W.style,h,e,W);n.push(f.addCell(W,null,null,null,null));la=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;part=1;");q.insertEdge(la,!1);ed.insertEdge(la,!0);la.edge=!0;la.style+=c(la.style,h,e,la);n.push(f.addCell(la,null,null,null,null));var Ob=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;part=1;");q.insertEdge(Ob,!1);fd.insertEdge(Ob,!0);Ob.edge=!0;Ob.style+=
c(Ob.style,h,e,Ob);n.push(f.addCell(Ob,null,null,null,null));var Pb=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;part=1;");q.insertEdge(Pb,!1);gd.insertEdge(Pb,!0);Pb.edge=!0;Pb.style+=c(Pb.style,h,e,Pb);n.push(f.addCell(Pb,null,null,null,null));break;case "EIDurableSubscriberBlock":v.style+="verticalLabelPosition=bottom;verticalAlign=top;";v.value=g(h.Text);v.style+=c(v.style,h,e,v,y);K=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=elbowEdgeStyle;rounded=0;endArrow=block;endFill=1;endSize=6;");
K.geometry.relative=!0;K.edge=!0;ta(.05*t,.5*r,.6*t,.25*r,K,n,f,da,v,P);J=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=elbowEdgeStyle;rounded=0;endArrow=block;endFill=1;endSize=6;");J.geometry.relative=!0;J.edge=!0;ta(.05*t,.5*r,.6*t,.75*r,J,n,f,da,v,P);q=new mxCell("",new mxGeometry(.7*t,.1*r,.15*t,.32*r),"shape=mxgraph.eip.durable_subscriber;part=1;fillColor=#818181;");q.vertex=!0;v.insert(q);q.style+=c(q.style,h,e,q);break;case "EIControlBusBlock":v.style+="verticalLabelPosition=bottom;verticalAlign=top;";
fd.vertex=!0;v.insert(fd);fd.style=u.style;var gd=new mxCell("",new mxGeometry(0,.23*r,.24*t,.16*r),"");gd.vertex=!0;v.insert(gd);gd.style=u.style;L=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;part=1;");q.insertEdge(L,!1);u.insertEdge(L,!0);L.edge=!0;L.style+=c(L.style,h,e,L);n.push(f.addCell(L,null,null,null,null));J=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;part=1;");q.insertEdge(J,!1);F.insertEdge(J,!0);J.edge=!0;J.style+=c(J.style,h,e,J);n.push(f.addCell(J,null,null,null,null));
W=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;part=1;");q.insertEdge(W,!1);U.insertEdge(W,!0);W.edge=!0;W.style+=c(W.style,h,e,W);n.push(f.addCell(W,null,null,null,null));ma=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;part=1;");q.insertEdge(ma,!1);ed.insertEdge(ma,!0);ma.edge=!0;ma.style+=c(ma.style,h,e,ma);n.push(f.addCell(ma,null,null,null,null));var Ob=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;part=1;");q.insertEdge(Ob,!1);fd.insertEdge(Ob,!0);Ob.edge=!0;Ob.style+=
c(Ob.style,h,e,Ob);n.push(f.addCell(Ob,null,null,null,null));var Pb=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;part=1;");q.insertEdge(Pb,!1);gd.insertEdge(Pb,!0);Pb.edge=!0;Pb.style+=c(Pb.style,h,e,Pb);n.push(f.addCell(Pb,null,null,null,null));break;case "EIDurableSubscriberBlock":v.style+="verticalLabelPosition=bottom;verticalAlign=top;";v.value=g(h.Text);v.style+=c(v.style,h,e,v,y);L=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=elbowEdgeStyle;rounded=0;endArrow=block;endFill=1;endSize=6;");
L.geometry.relative=!0;L.edge=!0;ua(.05*t,.5*r,.6*t,.25*r,L,n,f,da,v,P);J=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=elbowEdgeStyle;rounded=0;endArrow=block;endFill=1;endSize=6;");J.geometry.relative=!0;J.edge=!0;ua(.05*t,.5*r,.6*t,.75*r,J,n,f,da,v,P);q=new mxCell("",new mxGeometry(.7*t,.1*r,.15*t,.32*r),"shape=mxgraph.eip.durable_subscriber;part=1;fillColor=#818181;");q.vertex=!0;v.insert(q);q.style+=c(q.style,h,e,q);break;case "EIControlBusBlock":v.style+="verticalLabelPosition=bottom;verticalAlign=top;";
v.value=g(h.Text);v.style+=c(v.style,h,e,v,y);q=new mxCell("",new mxGeometry(.25*t,.25*r,.5*t,.5*r),"shape=mxgraph.eip.control_bus;part=1;");q.vertex=!0;v.insert(q);q.style+=c(q.style,h,e,q);break;case "EIMessageHistoryBlock":v.style+="strokeColor=none;fillColor=none;verticalLabelPosition=bottom;verticalAlign=top;";v.value=g(h.Text);v.style+=c(v.style,h,e,v,y);q=new mxCell("",new mxGeometry(0,0,17,17),"ellipse;fillColor=#808080;part=1;");q.vertex=!0;v.insert(q);q.style+=c(q.style,h,e,q);F=new mxCell("",
new mxGeometry(t-45,30,30,20),"shape=mxgraph.mockup.misc.mail2;fillColor=#FFE040;part=1;");F.vertex=!0;v.insert(F);F.style+=c(F.style,h,e,F);W=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=0;exitY=0.5;endArrow=none;dashed=0;html=1;");W.geometry.relative=!0;W.edge=!0;q.insertEdge(W,!1);F.insertEdge(W,!0);W.style+=c(W.style,h,e,W);W.geometry.points=[new mxPoint(pa+8.5,na+40)];n.push(f.addCell(W,null,null,null,null));U=new mxCell("",new mxGeometry(t-45,r-20,20,
20),"part=1;");U.vertex=!0;v.insert(U);U.value=g(h.message_0);U.style+=m(h.message_0,y);U.style+=c(U.style,h,e,U,y);la=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=0;exitY=0.5;endArrow=none;dashed=0;html=1;");la.geometry.relative=!0;la.edge=!0;q.insertEdge(la,!1);U.insertEdge(la,!0);la.style+=c(la.style,h,e,la);la.geometry.points=[new mxPoint(pa+8.5,na+r-10)];n.push(f.addCell(la,null,null,null,null));Oc=h.HistoryMessages;yd=(r-75)/Oc;u=[];Y=[];for(l=0;l<Oc;l++)Pc=
yd*(l+1)+30,u[l]=new mxCell("",new mxGeometry(t-20,Pc,20,20),"part=1;"),u[l].vertex=!0,u[l].value=g(h["message_"+(l+1)]),u.style+=m(h["message_"+(l+1)],y),v.insert(u[l]),u[l].style+=c(u[l].style,h,e,u[l],y),Y[l]=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=0;exitY=0.5;endArrow=none;dashed=0;html=1;"),Y[l].geometry.relative=!0,Y[l].edge=!0,F.insertEdge(Y[l],!1),u[l].insertEdge(Y[l],!0),Y[l].style+=c(Y[l].style,h,e,Y[l]),Nb=[],Nb.push(new mxPoint(pa+t-30,na+Pc+
new mxGeometry(t-45,30,30,20),"shape=mxgraph.mockup.misc.mail2;fillColor=#FFE040;part=1;");F.vertex=!0;v.insert(F);F.style+=c(F.style,h,e,F);W=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=0;exitY=0.5;endArrow=none;dashed=0;html=1;");W.geometry.relative=!0;W.edge=!0;q.insertEdge(W,!1);F.insertEdge(W,!0);W.style+=c(W.style,h,e,W);W.geometry.points=[new mxPoint(qa+8.5,oa+40)];n.push(f.addCell(W,null,null,null,null));U=new mxCell("",new mxGeometry(t-45,r-20,20,
20),"part=1;");U.vertex=!0;v.insert(U);U.value=g(h.message_0);U.style+=m(h.message_0,y);U.style+=c(U.style,h,e,U,y);ma=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=0;exitY=0.5;endArrow=none;dashed=0;html=1;");ma.geometry.relative=!0;ma.edge=!0;q.insertEdge(ma,!1);U.insertEdge(ma,!0);ma.style+=c(ma.style,h,e,ma);ma.geometry.points=[new mxPoint(qa+8.5,oa+r-10)];n.push(f.addCell(ma,null,null,null,null));Oc=h.HistoryMessages;yd=(r-75)/Oc;u=[];Y=[];for(l=0;l<Oc;l++)Pc=
yd*(l+1)+30,u[l]=new mxCell("",new mxGeometry(t-20,Pc,20,20),"part=1;"),u[l].vertex=!0,u[l].value=g(h["message_"+(l+1)]),u.style+=m(h["message_"+(l+1)],y),v.insert(u[l]),u[l].style+=c(u[l].style,h,e,u[l],y),Y[l]=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=0;exitY=0.5;endArrow=none;dashed=0;html=1;"),Y[l].geometry.relative=!0,Y[l].edge=!0,F.insertEdge(Y[l],!1),u[l].insertEdge(Y[l],!0),Y[l].style+=c(Y[l].style,h,e,Y[l]),Nb=[],Nb.push(new mxPoint(qa+t-30,oa+Pc+
10)),Y[l].geometry.points=Nb,n.push(f.addCell(Y[l],null,null,null,null));break;case "fpDoor":v.style+="shape=mxgraph.floorplan.doorRight;";0>h.DoorAngle&&(v.style+="flipV=1;");v.style+=c(v.style,h,e,v);break;case "fpDoubleDoor":v.style+="shape=mxgraph.floorplan.doorDouble;";0<h.DoorAngle&&(v.style+="flipV=1;");v.style+=c(v.style,h,e,v);break;case "fpRestroomLights":v.style+="strokeColor=none;fillColor=none;";v.style+=c(v.style,h,e,v);q=new mxCell("",new mxGeometry(0,0,t,.25*r),"part=1;");q.vertex=
!0;v.insert(q);q.style+=c(q.style,h,e,q);for(var u=[],ie=.02*t,zd=(t-2*ie)/h.LightCount,je=.8*zd,l=0;l<h.LightCount;l++)u[l]=new mxCell("",new mxGeometry(ie+zd*l+(zd-je)/2,.25*r,je,.75*r),"ellipse;part=1;"),u[l].vertex=!0,v.insert(u[l]),u[l].style+=c(u[l].style,h,e,u[l]);break;case "fpRestroomSinks":v.style+="strokeColor=none;fillColor=none;";v.style+=c(v.style,h,e,v);for(var q=[],ke=t/h.SinkCount,l=0;l<h.SinkCount;l++)q[l]=new mxCell("",new mxGeometry(ke*l,0,ke,r),"part=1;shape=mxgraph.floorplan.sink_2;"),
q[l].vertex=!0,v.insert(q[l]),q[l].style+=c(q[l].style,h,e,q[l]);break;case "fpRestroomStalls":v.style+="strokeColor=none;fillColor=none;";var Qa=.1*t/h.StallCount,q=new mxCell("",new mxGeometry(0,0,Qa,r),"fillColor=#000000;part=1;");q.vertex=!0;v.insert(q);q.style+=c(q.style,h,e,q);for(var Wa=(t-Qa)/h.StallCount,Ad=[],Qc=[],Rc=[],Sc=[],H=E(h,e),H=""==H?"#000000;":H.replace("stokreColor=",""),hd="part=1;fillColor="+H,hd=hd+c(hd,h,e,v),Bd=c("",h,e,v),l=0;l<h.StallCount;l++)Ad[l]=new mxCell("",new mxGeometry((l+
1)*Wa,0,Qa,r),hd),Ad[l].vertex=!0,v.insert(Ad[l]),Rc[l]=new mxCell("",new mxGeometry(Qa+l*Wa+.05*(Wa-Qa),r-.92*(Wa-Qa),.9*(Wa-Qa),.92*(Wa-Qa)),"shape=mxgraph.floorplan.doorRight;flipV=1;part=1;"),Rc[l].vertex=!0,v.insert(Rc[l]),Rc[l].style+=Bd,Qc[l]=new mxCell("",new mxGeometry(Qa+l*Wa+.2*(Wa-Qa),0,.6*(Wa-Qa),.8*(Wa-Qa)),"shape=mxgraph.floorplan.toilet;part=1;"),Qc[l].vertex=!0,v.insert(Qc[l]),Qc[l].style+=Bd,Sc[l]=new mxCell("",new mxGeometry(Qa+l*Wa,.42*r,.15*(Wa-Qa),.12*(Wa-Qa)),"part=1;"),Sc[l].vertex=
!0,v.insert(Sc[l]),Sc[l].style+=Bd;break;case "PEOneToMany":v.style+="strokeColor=none;fillColor=none;";var cb="edgeStyle=none;endArrow=none;part=1;";cb.style+=c(cb.style,h,e,cb);var H=E(h,e),H=""==H?"#000000;":H.replace("strokeColor=",""),Qb="shape=triangle;part=1;fillColor="+H,Qb=Qb+c(Qb,h,e,v),K=new mxCell("",new mxGeometry(0,0,0,0),cb);K.geometry.relative=!0;K.edge=!0;ta(0,.5*r,.65*t,.5*r,K,n,f,da,v,P);for(var L=r/h.numLines,J=[],ac=[],l=0;l<h.numLines;l++)J[l]=new mxCell("",new mxGeometry(0,
0,0,0),cb),J[l].geometry.relative=!0,J[l].edge=!0,ta(.65*t,.5*r,.96*t,(l+.5)*L,J[l],n,f,da,v,P),ac[l]=new mxCell("",new mxGeometry(.95*t,(l+.2)*L,.05*t,.6*L),Qb),ac[l].vertex=!0,v.insert(ac[l]);break;case "PEMultilines":v.style+="strokeColor=none;fillColor=none;";cb="edgeStyle=none;endArrow=none;part=1;";cb.style+=c(cb.style,h,e,cb);H=E(h,e);H=""==H?"#000000;":H.replace("strokeColor=","");Qb="shape=triangle;part=1;fillColor="+H;Qb+=c(Qb,h,e,v);L=r/h.numLines;J=[];ac=[];for(l=0;l<h.numLines;l++)J[l]=
new mxCell("",new mxGeometry(0,0,0,0),cb),J[l].geometry.relative=!0,J[l].edge=!0,ta(0,(l+.5)*L,.96*t,(l+.5)*L,J[l],n,f,da,v,P),ac[l]=new mxCell("",new mxGeometry(.95*t,(l+.2)*L,.05*t,.6*L),Qb),ac[l].vertex=!0,v.insert(ac[l]);break;case "PEVesselBlock":v.style+="verticalLabelPosition=bottom;verticalAlign=top;";v.value=g(h.Text);switch(h.vesselType){case 1:v.style+="shape=mxgraph.pid.vessels.pressurized_vessel;";break;case 2:v.style+="shape=hexagon;perimeter=hexagonPerimeter2;size=0.10;direction=south;"}v.style+=
q[l].vertex=!0,v.insert(q[l]),q[l].style+=c(q[l].style,h,e,q[l]);break;case "fpRestroomStalls":v.style+="strokeColor=none;fillColor=none;";var Pa=.1*t/h.StallCount,q=new mxCell("",new mxGeometry(0,0,Pa,r),"fillColor=#000000;part=1;");q.vertex=!0;v.insert(q);q.style+=c(q.style,h,e,q);for(var Va=(t-Pa)/h.StallCount,Ad=[],Qc=[],Rc=[],Sc=[],H=E(h,e),H=""==H?"#000000;":H.replace("stokreColor=",""),hd="part=1;fillColor="+H,hd=hd+c(hd,h,e,v),Bd=c("",h,e,v),l=0;l<h.StallCount;l++)Ad[l]=new mxCell("",new mxGeometry((l+
1)*Va,0,Pa,r),hd),Ad[l].vertex=!0,v.insert(Ad[l]),Rc[l]=new mxCell("",new mxGeometry(Pa+l*Va+.05*(Va-Pa),r-.92*(Va-Pa),.9*(Va-Pa),.92*(Va-Pa)),"shape=mxgraph.floorplan.doorRight;flipV=1;part=1;"),Rc[l].vertex=!0,v.insert(Rc[l]),Rc[l].style+=Bd,Qc[l]=new mxCell("",new mxGeometry(Pa+l*Va+.2*(Va-Pa),0,.6*(Va-Pa),.8*(Va-Pa)),"shape=mxgraph.floorplan.toilet;part=1;"),Qc[l].vertex=!0,v.insert(Qc[l]),Qc[l].style+=Bd,Sc[l]=new mxCell("",new mxGeometry(Pa+l*Va,.42*r,.15*(Va-Pa),.12*(Va-Pa)),"part=1;"),Sc[l].vertex=
!0,v.insert(Sc[l]),Sc[l].style+=Bd;break;case "PEOneToMany":v.style+="strokeColor=none;fillColor=none;";var bb="edgeStyle=none;endArrow=none;part=1;";bb.style+=c(bb.style,h,e,bb);var H=E(h,e),H=""==H?"#000000;":H.replace("strokeColor=",""),Qb="shape=triangle;part=1;fillColor="+H,Qb=Qb+c(Qb,h,e,v),L=new mxCell("",new mxGeometry(0,0,0,0),bb);L.geometry.relative=!0;L.edge=!0;ua(0,.5*r,.65*t,.5*r,L,n,f,da,v,P);for(var M=r/h.numLines,J=[],ac=[],l=0;l<h.numLines;l++)J[l]=new mxCell("",new mxGeometry(0,
0,0,0),bb),J[l].geometry.relative=!0,J[l].edge=!0,ua(.65*t,.5*r,.96*t,(l+.5)*M,J[l],n,f,da,v,P),ac[l]=new mxCell("",new mxGeometry(.95*t,(l+.2)*M,.05*t,.6*M),Qb),ac[l].vertex=!0,v.insert(ac[l]);break;case "PEMultilines":v.style+="strokeColor=none;fillColor=none;";bb="edgeStyle=none;endArrow=none;part=1;";bb.style+=c(bb.style,h,e,bb);H=E(h,e);H=""==H?"#000000;":H.replace("strokeColor=","");Qb="shape=triangle;part=1;fillColor="+H;Qb+=c(Qb,h,e,v);M=r/h.numLines;J=[];ac=[];for(l=0;l<h.numLines;l++)J[l]=
new mxCell("",new mxGeometry(0,0,0,0),bb),J[l].geometry.relative=!0,J[l].edge=!0,ua(0,(l+.5)*M,.96*t,(l+.5)*M,J[l],n,f,da,v,P),ac[l]=new mxCell("",new mxGeometry(.95*t,(l+.2)*M,.05*t,.6*M),Qb),ac[l].vertex=!0,v.insert(ac[l]);break;case "PEVesselBlock":v.style+="verticalLabelPosition=bottom;verticalAlign=top;";v.value=g(h.Text);switch(h.vesselType){case 1:v.style+="shape=mxgraph.pid.vessels.pressurized_vessel;";break;case 2:v.style+="shape=hexagon;perimeter=hexagonPerimeter2;size=0.10;direction=south;"}v.style+=
c(v.style,h,e,v,y);break;case "PEClosedTankBlock":v.style+="verticalLabelPosition=bottom;verticalAlign=top;";v.value=g(h.Text);1==h.peakedRoof&&0==h.stumpType?v.style+="shape=mxgraph.pid.vessels.tank_(conical_roof);":1==h.stumpType&&(v.style+="shape=mxgraph.pid.vessels.tank_(boot);");v.style+=c(v.style,h,e,v,y);break;case "PEColumnBlock":v.style+="verticalLabelPosition=bottom;verticalAlign=top;";v.value=g(h.Text);v.style=0==h.columnType?v.style+"shape=mxgraph.pid.vessels.pressurized_vessel;":v.style+
"shape=mxgraph.pid.vessels.tank;";v.style+=c(v.style,h,e,v,y);break;case "PECompressorTurbineBlock":v.style+="strokeColor=none;fillColor=none;";v.value=g(h.Text);v.style+=c(v.style,h,e,v,y);q=new mxCell("",new mxGeometry(0,.2*r,t,.6*r),"part=1;shape=trapezoid;perimeter=trapezoidPerimeter;direction=south;");q.vertex=!0;v.insert(q);q.style+=Q;q.style+=c(q.style,h,e,q);Q="endSize=4;endArrow=block;endFill=1;";0==h.compressorType?(K=new mxCell("",new mxGeometry(0,0,0,0),""),K.geometry.relative=!0,K.edge=
!0,K.style+=Q,K.style+=c(K.style,h,e,K),ta(0,0,0,.2*r,K,n,f,da,v,P),J=new mxCell("",new mxGeometry(0,0,0,0),""),J.geometry.relative=!0,J.edge=!0,J.style+=Q,J.style+=c(J.style,h,e,J),ta(t,.67*r,t,r,J,n,f,da,v,P)):(q.style+="flipH=1;",K=new mxCell("",new mxGeometry(0,0,0,0),""),K.geometry.relative=!0,K.edge=!0,K.style+=Q,K.style+=c(K.style,h,e,K),ta(0,0,0,.33*r,K,n,f,da,v,P),J=new mxCell("",new mxGeometry(0,0,0,0),""),J.geometry.relative=!0,J.edge=!0,J.style+=Q,J.style+=c(J.style,h,e,J),ta(t,.8*r,t,
r,J,n,f,da,v,P));1==h.centerLineType&&(W=new mxCell("",new mxGeometry(0,0,0,0),""),W.geometry.relative=!0,W.edge=!0,W.style+=Q,W.style+=c(W.style,h,e,W),ta(.2*t,.5*r,.8*t,.5*r,W,n,f,da,v,P));break;case "PEMotorDrivenTurbineBlock":v.style+="shape=ellipse;perimeter=ellipsePerimeter;";v.value=g(h.Text);v.style+=c(v.style,h,e,v,y);q=new mxCell("",new mxGeometry(.2*t,.2*r,.6*t,.6*r),"part=1;shape=trapezoid;perimeter=trapezoidPerimeter;direction=south;");q.vertex=!0;v.insert(q);q.style+=c(q.style,h,e,q);
"shape=mxgraph.pid.vessels.tank;";v.style+=c(v.style,h,e,v,y);break;case "PECompressorTurbineBlock":v.style+="strokeColor=none;fillColor=none;";v.value=g(h.Text);v.style+=c(v.style,h,e,v,y);q=new mxCell("",new mxGeometry(0,.2*r,t,.6*r),"part=1;shape=trapezoid;perimeter=trapezoidPerimeter;direction=south;");q.vertex=!0;v.insert(q);q.style+=Q;q.style+=c(q.style,h,e,q);Q="endSize=4;endArrow=block;endFill=1;";0==h.compressorType?(L=new mxCell("",new mxGeometry(0,0,0,0),""),L.geometry.relative=!0,L.edge=
!0,L.style+=Q,L.style+=c(L.style,h,e,L),ua(0,0,0,.2*r,L,n,f,da,v,P),J=new mxCell("",new mxGeometry(0,0,0,0),""),J.geometry.relative=!0,J.edge=!0,J.style+=Q,J.style+=c(J.style,h,e,J),ua(t,.67*r,t,r,J,n,f,da,v,P)):(q.style+="flipH=1;",L=new mxCell("",new mxGeometry(0,0,0,0),""),L.geometry.relative=!0,L.edge=!0,L.style+=Q,L.style+=c(L.style,h,e,L),ua(0,0,0,.33*r,L,n,f,da,v,P),J=new mxCell("",new mxGeometry(0,0,0,0),""),J.geometry.relative=!0,J.edge=!0,J.style+=Q,J.style+=c(J.style,h,e,J),ua(t,.8*r,t,
r,J,n,f,da,v,P));1==h.centerLineType&&(W=new mxCell("",new mxGeometry(0,0,0,0),""),W.geometry.relative=!0,W.edge=!0,W.style+=Q,W.style+=c(W.style,h,e,W),ua(.2*t,.5*r,.8*t,.5*r,W,n,f,da,v,P));break;case "PEMotorDrivenTurbineBlock":v.style+="shape=ellipse;perimeter=ellipsePerimeter;";v.value=g(h.Text);v.style+=c(v.style,h,e,v,y);q=new mxCell("",new mxGeometry(.2*t,.2*r,.6*t,.6*r),"part=1;shape=trapezoid;perimeter=trapezoidPerimeter;direction=south;");q.vertex=!0;v.insert(q);q.style+=c(q.style,h,e,q);
break;case "PEIndicatorBlock":case "PEIndicator2Block":case "PESharedIndicatorBlock":case "PEComputerIndicatorBlock":case "PESharedIndicator2Block":case "PEProgrammableIndicatorBlock":switch(b.Class){case "PEIndicatorBlock":v.style+="shape=mxgraph.pid2inst.discInst;";break;case "PEIndicator2Block":v.style+="shape=mxgraph.pid2inst.indicator;indType=inst;";break;case "PESharedIndicatorBlock":v.style+="shape=mxgraph.pid2inst.sharedCont;";break;case "PEComputerIndicatorBlock":v.style+="shape=mxgraph.pid2inst.compFunc;";
break;case "PESharedIndicator2Block":v.style+="shape=mxgraph.pid2inst.indicator;indType=ctrl;";break;case "PEProgrammableIndicatorBlock":v.style+="shape=mxgraph.pid2inst.progLogCont;"}v.style+=c(v.style,h,e,v);"PEIndicator2Block"==b.Class||"PESharedIndicator2Block"==b.Class?(q=new mxCell("",new mxGeometry(0,0,t,.5*t),"part=1;strokeColor=none;fillColor=none;"),q.vertex=!0,v.insert(q),q.value=g(h.TopText),q.style+=m(h.TopText,y),q.style+=c(q.style,h,e,q,y),u=new mxCell("",new mxGeometry(0,.5*t,t,.5*
t),"part=1;strokeColor=none;fillColor=none;")):(q=new mxCell("",new mxGeometry(0,0,t,.5*r),"part=1;strokeColor=none;fillColor=none;"),q.vertex=!0,v.insert(q),q.value=g(h.TopText),q.style+=m(h.TopText,y),q.style+=c(q.style,h,e,q,y),u=new mxCell("",new mxGeometry(0,.5*r,t,.5*r),"part=1;strokeColor=none;fillColor=none;"));u.vertex=!0;v.insert(u);u.value=g(h.BotText);u.style+=m(h.BotText,y);u.style+=c(u.style,h,e,u,y);switch(h.instrumentLocation){case 0:v.style+="mounting=field;";break;case 1:v.style+=
"mounting=inaccessible;";break;case 2:v.style+="mounting=room;";break;case 3:v.style+="mounting=local;"}break;case "PEGateValveBlock":case "PEGlobeValveBlock":case "PEAngleValveBlock":case "PEAngleGlobeValveBlock":case "PEPoweredValveBlock":var Cd=!1;"PEPoweredValveBlock"==b.Class?1!=h.poweredHandOperated&&(Cd=!0):1!=h.handOperated&&(Cd=!0);if(Cd){var h=p(b).Properties,ja=h.BoundingBox,Me=ja.h;ja.h="PEAngleValveBlock"==b.Class||"PEAngleGlobeValveBlock"==b.Class?.7*ja.h:.6*ja.h;v=new mxCell("",new mxGeometry(Math.round(.6*
ja.x+Ib),Math.round(.6*(ja.y+Me-ja.h)+Jb),Math.round(.6*ja.w),Math.round(.6*ja.h)),"");v.vertex=!0;fc(v,b,f)}if("PEPoweredValveBlock"==b.Class)v.style+="shape=mxgraph.pid2valves.valve;verticalLabelPosition=bottom;verticalAlign=top;",v.style+=c(v.style,h,e,v),1==h.poweredHandOperated?(v.style+="valveType=gate;actuator=powered;",q=new mxCell("",new mxGeometry(.325*t,0,.35*t,.35*r),"part=1;strokeColor=none;fillColor=none;spacingTop=2;"),q.vertex=!0,v.insert(q),q.value=g(h.PoweredText),q.style+=(y?"":
"fontSize=6;"+d(h.PoweredText)+k(h.PoweredText)+w(h.PoweredText)+x(h.PoweredText)+z(h.PoweredText)+A(h.PoweredText)+C(h.PoweredText))+D(h.PoweredText),q.style+=c(q.style,h,e,q,y)):v.style+="valveType=gate;";else{v.style+="verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.pid2valves.valve;";v.value=g(h.Text);switch(b.Class){case "PEGateValveBlock":v.style+="valveType=gate;";break;case "PEGlobeValveBlock":v.style+="valveType=globe;";break;case "PEAngleValveBlock":v.style+="valveType=angle;";
"mounting=inaccessible;";break;case 2:v.style+="mounting=room;";break;case 3:v.style+="mounting=local;"}break;case "PEGateValveBlock":case "PEGlobeValveBlock":case "PEAngleValveBlock":case "PEAngleGlobeValveBlock":case "PEPoweredValveBlock":var Cd=!1;"PEPoweredValveBlock"==b.Class?1!=h.poweredHandOperated&&(Cd=!0):1!=h.handOperated&&(Cd=!0);if(Cd){var h=p(b).Properties,ka=h.BoundingBox,Me=ka.h;ka.h="PEAngleValveBlock"==b.Class||"PEAngleGlobeValveBlock"==b.Class?.7*ka.h:.6*ka.h;v=new mxCell("",new mxGeometry(Math.round(.6*
ka.x+Ib),Math.round(.6*(ka.y+Me-ka.h)+Jb),Math.round(.6*ka.w),Math.round(.6*ka.h)),"");v.vertex=!0;fc(v,b,f)}if("PEPoweredValveBlock"==b.Class)v.style+="shape=mxgraph.pid2valves.valve;verticalLabelPosition=bottom;verticalAlign=top;",v.style+=c(v.style,h,e,v),1==h.poweredHandOperated?(v.style+="valveType=gate;actuator=powered;",q=new mxCell("",new mxGeometry(.325*t,0,.35*t,.35*r),"part=1;strokeColor=none;fillColor=none;spacingTop=2;"),q.vertex=!0,v.insert(q),q.value=g(h.PoweredText),q.style+=(y?"":
d(h.PoweredText)+k(h.PoweredText)+w(h.PoweredText)+x(h.PoweredText)+z(h.PoweredText)+A(h.PoweredText)+C(h.PoweredText))+"fontSize=6;"+D(h.PoweredText),q.style+=c(q.style,h,e,q,y)):v.style+="valveType=gate;";else{v.style+="verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.pid2valves.valve;";v.value=g(h.Text);switch(b.Class){case "PEGateValveBlock":v.style+="valveType=gate;";break;case "PEGlobeValveBlock":v.style+="valveType=globe;";break;case "PEAngleValveBlock":v.style+="valveType=angle;";
break;case "PEAngleGlobeValveBlock":v.style+="valveType=angleGlobe;flipH=1;"}1==h.handOperated&&(v.style+="actuator=man;")}v.style+=c(v.style,h,e,v,y);break;case "UI2BrowserBlock":v.style+="shape=mxgraph.mockup.containers.browserWindow;mainText=;";1==h.vScroll&&(F=1==h.hScroll?new mxCell("",new mxGeometry(1,0,20,r-130),"part=1;shape=mxgraph.mockup.navigation.scrollBar;barPos=95;direction=north;resizeHeight=1;"):new mxCell("",new mxGeometry(1,0,20,r-110),"part=1;shape=mxgraph.mockup.navigation.scrollBar;barPos=95;direction=north;resizeHeight=1;"),
F.geometry.relative=!0,F.geometry.offset=new mxPoint(-20,110),F.vertex=!0,v.insert(F),v.style+="spacingRight=20;");1==h.hScroll&&(U=1==h.vScroll?new mxCell("",new mxGeometry(0,1,t-20,20),"part=1;shape=mxgraph.mockup.navigation.scrollBar;barPos=5;resizeWidth=1;"):new mxCell("",new mxGeometry(0,1,t,20),"part=1;shape=mxgraph.mockup.navigation.scrollBar;barPos=5;resizeWidth=1;"),U.geometry.relative=!0,U.geometry.offset=new mxPoint(0,-20),U.vertex=!0,v.insert(U));v.style+=c(v.style,h,e,v);break;case "UI2WindowBlock":v.value=
g(h.Title);v.style+="shape=mxgraph.mockup.containers.window;mainText=;align=center;verticalAlign=top;spacing=5;"+(y?"":a(h.Title)+d(h.Title)+k(h.Title));1==h.vScroll&&(F=1==h.hScroll?new mxCell("",new mxGeometry(1,0,20,r-50),"part=1;shape=mxgraph.mockup.navigation.scrollBar;barPos=95;direction=north;resizeHeight=1;"):new mxCell("",new mxGeometry(1,0,20,r-30),"part=1;shape=mxgraph.mockup.navigation.scrollBar;barPos=95;direction=north;resizeHeight=1;"),F.geometry.relative=!0,F.geometry.offset=new mxPoint(-20,
30),F.vertex=!0,v.insert(F),v.style+="spacingRight=20;");1==h.hScroll&&(U=1==h.vScroll?new mxCell("",new mxGeometry(0,1,t-20,20),"part=1;shape=mxgraph.mockup.navigation.scrollBar;barPos=5;resizeWidth=1;"):new mxCell("",new mxGeometry(0,1,t,20),"part=1;shape=mxgraph.mockup.navigation.scrollBar;barPos=5;resizeWidth=1;"),U.geometry.relative=!0,U.geometry.offset=new mxPoint(0,-20),U.vertex=!0,v.insert(U));v.style+=c(v.style,h,e,v,y);break;case "UI2DialogBlock":v.value=g(h.Text);v.style+=m(h.Text,y);q=
new mxCell("",new mxGeometry(0,0,t,30),"part=1;resizeHeight=0;");q.vertex=!0;v.insert(q);q.value=g(h.Title);q.style+=m(h.Title,y);q.style+=c(q.style,h,e,q,y);u=new mxCell("",new mxGeometry(1,.5,20,20),"ellipse;part=1;strokeColor=#008cff;resizable=0;fillColor=none;html=1;");u.geometry.relative=!0;u.geometry.offset=new mxPoint(-25,-10);u.vertex=!0;q.insert(u);1==h.vScroll&&(F=1==h.hScroll?new mxCell("",new mxGeometry(1,0,20,r-50),"part=1;shape=mxgraph.mockup.navigation.scrollBar;barPos=95;direction=north;resizeHeight=1;"):
g(h.Title);v.style+="shape=mxgraph.mockup.containers.window;mainText=;align=center;verticalAlign=top;spacing=5;"+(y?"fontSize=11;":a(h.Title)+d(h.Title)+k(h.Title));1==h.vScroll&&(F=1==h.hScroll?new mxCell("",new mxGeometry(1,0,20,r-50),"part=1;shape=mxgraph.mockup.navigation.scrollBar;barPos=95;direction=north;resizeHeight=1;"):new mxCell("",new mxGeometry(1,0,20,r-30),"part=1;shape=mxgraph.mockup.navigation.scrollBar;barPos=95;direction=north;resizeHeight=1;"),F.geometry.relative=!0,F.geometry.offset=
new mxPoint(-20,30),F.vertex=!0,v.insert(F),v.style+="spacingRight=20;");1==h.hScroll&&(U=1==h.vScroll?new mxCell("",new mxGeometry(0,1,t-20,20),"part=1;shape=mxgraph.mockup.navigation.scrollBar;barPos=5;resizeWidth=1;"):new mxCell("",new mxGeometry(0,1,t,20),"part=1;shape=mxgraph.mockup.navigation.scrollBar;barPos=5;resizeWidth=1;"),U.geometry.relative=!0,U.geometry.offset=new mxPoint(0,-20),U.vertex=!0,v.insert(U));v.style+=c(v.style,h,e,v,y);break;case "UI2DialogBlock":v.value=g(h.Text);v.style+=
m(h.Text,y);q=new mxCell("",new mxGeometry(0,0,t,30),"part=1;resizeHeight=0;");q.vertex=!0;v.insert(q);q.value=g(h.Title);q.style+=m(h.Title,y);q.style+=c(q.style,h,e,q,y);u=new mxCell("",new mxGeometry(1,.5,20,20),"ellipse;part=1;strokeColor=#008cff;resizable=0;fillColor=none;html=1;");u.geometry.relative=!0;u.geometry.offset=new mxPoint(-25,-10);u.vertex=!0;q.insert(u);1==h.vScroll&&(F=1==h.hScroll?new mxCell("",new mxGeometry(1,0,20,r-50),"part=1;shape=mxgraph.mockup.navigation.scrollBar;barPos=95;direction=north;resizeHeight=1;"):
new mxCell("",new mxGeometry(1,0,20,r-30),"part=1;shape=mxgraph.mockup.navigation.scrollBar;barPos=95;direction=north;resizeHeight=1;"),F.geometry.relative=!0,F.geometry.offset=new mxPoint(-20,30),F.vertex=!0,v.insert(F),v.style+="spacingRight=20;");1==h.hScroll&&(U=1==h.vScroll?new mxCell("",new mxGeometry(0,1,t-20,20),"part=1;shape=mxgraph.mockup.navigation.scrollBar;barPos=5;resizeWidth=1;"):new mxCell("",new mxGeometry(0,1,t,20),"part=1;shape=mxgraph.mockup.navigation.scrollBar;barPos=5;resizeWidth=1;"),
U.geometry.relative=!0,U.geometry.offset=new mxPoint(0,-20),U.vertex=!0,v.insert(U));v.style+=c(v.style,h,e,v);break;case "UI2AccordionBlock":q=[];L=25;for(l=0;l<=h.Panels-1;l++)q[l]=l<h.Selected-1?new mxCell("",new mxGeometry(0,l*L,t,L),"part=1;fillColor=#000000;fillOpacity=25;"):l==h.Selected-1?new mxCell("",new mxGeometry(0,l*L,t,L),"part=1;fillColor=none;"):new mxCell("",new mxGeometry(0,r-(h.Panels-h.Selected)*L+(l-h.Selected)*L,t,L),"part=1;fillColor=#000000;fillOpacity=25;"),q[l].vertex=!0,
v.insert(q[l]),q[l].value=g(h["Panel_"+(l+1)]),q[l].style+=m(h["Panel_"+(l+1)],y),0>q[l].style.indexOf(";align=")&&(q[l].style+="align=left;spacingLeft=5;");var ha=E(h,e),ha=ha.replace("strokeColor","fillColor2");""==ha&&(ha="fillColor2=#000000;");1==h.vScroll&&(u=1==h.hScroll?new mxCell("",new mxGeometry(1,0,20,r-h.Selected*L-20-(h.Panels-h.Selected)*L),"part=1;shape=mxgraph.mockup.navigation.scrollBar;barPos=95;direction=north;resizeHeight=1;"):new mxCell("",new mxGeometry(1,0,20,r-h.Selected*L-
(h.Panels-h.Selected)*L),"part=1;shape=mxgraph.mockup.navigation.scrollBar;barPos=95;direction=north;resizeHeight=1;"),u.geometry.relative=!0,u.geometry.offset=new mxPoint(-20,h.Selected*L),u.vertex=!0,v.insert(u),v.style+="spacingRight=20;",u.style+=ha,u.style+=c(u.style,h,e,u));1==h.hScroll&&(F=1==h.vScroll?new mxCell("",new mxGeometry(0,1,t-20,20),"part=1;shape=mxgraph.mockup.navigation.scrollBar;barPos=5;resizeWidth=1;"):new mxCell("",new mxGeometry(0,1,t,20),"part=1;shape=mxgraph.mockup.navigation.scrollBar;barPos=5;resizeWidth=1;"),
F.geometry.relative=!0,F.geometry.offset=new mxPoint(0,-20-(h.Panels-h.Selected)*L),F.vertex=!0,v.insert(F),F.style+=ha,F.style+=c(F.style,h,e,F));U=1==h.vScroll?new mxCell("",new mxGeometry(0,h.Selected*L,t-20,r-h.Selected*L-20-(h.Panels-h.Selected)*L),"part=1;fillColor=none;strokeColor=none;"):new mxCell("",new mxGeometry(0,h.Selected*L,t-20,r-h.Selected*L-(h.Panels-h.Selected)*L),"part=1;fillColor=none;strokeColor=none;");U.vertex=!0;v.insert(U);U.value=g(h.Content_1);U.style+=m(h.Content_1,y);
!y&&0>U.style.indexOf(";align=")&&(U.style+="align=left;spacingLeft=5;");v.style+=c(v.style,h,e,v);break;case "UI2TabBarContainerBlock":v.style+="strokeColor=none;fillColor=none;";var q=[],u=[],L=25,Sa=3,Z=(t+Sa)/(h.Tabs+1),ua=new mxCell("",new mxGeometry(0,L,t,r-L),"part=1;");ua.vertex=!0;v.insert(ua);ua.style+=c(ua.style,h,e,ua);for(l=0;l<=h.Tabs-1;l++)l==h.Selected-1?(u[l]=new mxCell("",new mxGeometry(10+l*Z,0,Z-Sa,L),""),u[l].vertex=!0,v.insert(u[l])):(q[l]=new mxCell("",new mxGeometry(10+l*Z,
0,Z-Sa,L),"strokeColor=none;"),q[l].vertex=!0,v.insert(q[l]),q[l].style+=q[l].style+=c(q[l].style,h,e,q[l]),u[l]=new mxCell("",new mxGeometry(0,0,Z-Sa,L),"fillColor=#000000;fillOpacity=25;"),u[l].vertex=!0,q[l].insert(u[l])),u[l].value=g(h["Tab_"+(l+1)]),u[l].style+=m(h["Tab_"+(l+1)],y),0>u[l].style.indexOf(";align=")&&(u[l].style+="align=left;spacingLeft=2;"),u[l].style+=c(u[l].style,h,e,u[l]);ha=E(h,e);ha=ha.replace("strokeColor","fillColor2");""==ha&&(ha="fillColor2=#000000;");1==h.vScroll&&(u=
1==h.hScroll?new mxCell("",new mxGeometry(1,0,20,r-20-L),"part=1;shape=mxgraph.mockup.navigation.scrollBar;barPos=95;direction=north;resizeHeight=1;"):new mxCell("",new mxGeometry(1,0,20,r-L),"part=1;shape=mxgraph.mockup.navigation.scrollBar;barPos=95;direction=north;resizeHeight=1;"),u.geometry.relative=!0,u.geometry.offset=new mxPoint(-20,L),u.vertex=!0,v.insert(u),v.style+="spacingRight=20;",u.style+=ha,u.style+=c(u.style,h,e,u));1==h.hScroll&&(F=1==h.vScroll?new mxCell("",new mxGeometry(0,1,t-
20,20),"part=1;shape=mxgraph.mockup.navigation.scrollBar;barPos=5;resizeWidth=1;"):new mxCell("",new mxGeometry(0,1,t,20),"part=1;shape=mxgraph.mockup.navigation.scrollBar;barPos=5;resizeWidth=1;"),F.geometry.relative=!0,F.geometry.offset=new mxPoint(0,-20),F.vertex=!0,v.insert(F),F.style+=ha,F.style+=c(F.style,h,e,F));break;case "UI2TabBar2ContainerBlock":v.style+="strokeColor=none;fillColor=none;";q=[];u=[];L=25;Sa=3;Z=(t+Sa)/h.Tabs;ua=new mxCell("",new mxGeometry(0,L,t,r-L),"part=1;");ua.vertex=
!0;v.insert(ua);ua.style+=c(ua.style,h,e,ua);for(l=0;l<=h.Tabs-1;l++)l==h.Selected-1?(u[l]=new mxCell("",new mxGeometry(l*Z,0,Z-Sa,L),""),u[l].vertex=!0,v.insert(u[l])):(q[l]=new mxCell("",new mxGeometry(l*Z,0,Z-Sa,L),"strokeColor=none;"),q[l].vertex=!0,v.insert(q[l]),q[l].style+=c(q[l].style,h,e,q[l]),u[l]=new mxCell("",new mxGeometry(0,0,Z-Sa,L),"fillColor=#000000;fillOpacity=25;"),u[l].vertex=!0,q[l].insert(u[l])),u[l].value=g(h["Tab_"+(l+1)]),u[l].style+=m(h["Tab_"+(l+1)],y),u[l].style+=c(u[l].style,
h,e,u[l],y),0>u[l].style.indexOf(";align=")&&(u[l].style+="align=left;spacingLeft=2;");ha=E(h,e);ha=ha.replace("strokeColor","fillColor2");""==ha&&(ha="fillColor2=#000000;");1==h.vScroll&&(u=1==h.hScroll?new mxCell("",new mxGeometry(1,0,20,r-20-L),"part=1;shape=mxgraph.mockup.navigation.scrollBar;barPos=95;direction=north;resizeHeight=1;"):new mxCell("",new mxGeometry(1,0,20,r-L),"part=1;shape=mxgraph.mockup.navigation.scrollBar;barPos=95;direction=north;resizeHeight=1;"),u.geometry.relative=!0,u.geometry.offset=
new mxPoint(-20,L),u.vertex=!0,v.insert(u),v.style+="spacingRight=20;",u.style+=ha,u.style+=c(u.style,h,e,u));1==h.hScroll&&(F=1==h.vScroll?new mxCell("",new mxGeometry(0,1,t-20,20),"part=1;shape=mxgraph.mockup.navigation.scrollBar;barPos=5;resizeWidth=1;"):new mxCell("",new mxGeometry(0,1,t,20),"part=1;shape=mxgraph.mockup.navigation.scrollBar;barPos=5;resizeWidth=1;"),F.geometry.relative=!0,F.geometry.offset=new mxPoint(0,-20),F.vertex=!0,v.insert(F),F.style+=ha,F.style+=c(F.style,h,e,F));break;
case "UI2VTabBarContainerBlock":v.style+="strokeColor=none;fillColor=none;";q=[];u=[];Sa=3;L=25+Sa;Z=80;Cb=10;ua=new mxCell("",new mxGeometry(Z,0,t-Z,r),"part=1;");ua.vertex=!0;v.insert(ua);ua.style+=c(ua.style,h,e,ua);for(l=0;l<=h.Tabs-1;l++)l==h.Selected-1?(u[l]=new mxCell("",new mxGeometry(0,Cb+l*L,Z,L-Sa),""),u[l].vertex=!0,v.insert(u[l]),u[l].value=g(h["Tab_"+(l+1)]),u[l].style+=m(h["Tab_"+(l+1)],y),u[l].style+=c(u[l].style,h,e,u[l],y)):(q[l]=new mxCell("",new mxGeometry(0,Cb+l*L,Z,L-Sa),"strokeColor=none;"),
q[l].vertex=!0,v.insert(q[l]),q[l].style+=c(q[l].style,h,e,q[l]),u[l]=new mxCell("",new mxGeometry(0,0,Z,L-Sa),"fillColor=#000000;fillOpacity=25;"),u[l].vertex=!0,q[l].insert(u[l]),u[l].value=g(h["Tab_"+(l+1)]),u[l].style+=m(h["Tab_"+(l+1)],y)),0>u[l].style.indexOf(";align=")&&(u[l].style+="align=left;spacingLeft=2;"),u[l].style+=c(u[l].style,h,e,u[l]);ha=E(h,e);ha=ha.replace("strokeColor","fillColor2");""==ha&&(ha="fillColor2=#000000;");1==h.vScroll&&(u=1==h.hScroll?new mxCell("",new mxGeometry(1,
U.geometry.relative=!0,U.geometry.offset=new mxPoint(0,-20),U.vertex=!0,v.insert(U));v.style+=c(v.style,h,e,v);break;case "UI2AccordionBlock":q=[];M=25;for(l=0;l<=h.Panels-1;l++)q[l]=l<h.Selected-1?new mxCell("",new mxGeometry(0,l*M,t,M),"part=1;fillColor=#000000;fillOpacity=25;"):l==h.Selected-1?new mxCell("",new mxGeometry(0,l*M,t,M),"part=1;fillColor=none;"):new mxCell("",new mxGeometry(0,r-(h.Panels-h.Selected)*M+(l-h.Selected)*M,t,M),"part=1;fillColor=#000000;fillOpacity=25;"),q[l].vertex=!0,
v.insert(q[l]),q[l].value=g(h["Panel_"+(l+1)]),q[l].style+=m(h["Panel_"+(l+1)],y),0>q[l].style.indexOf(";align=")&&(q[l].style+="align=left;spacingLeft=5;");var ha=E(h,e),ha=ha.replace("strokeColor","fillColor2");""==ha&&(ha="fillColor2=#000000;");1==h.vScroll&&(u=1==h.hScroll?new mxCell("",new mxGeometry(1,0,20,r-h.Selected*M-20-(h.Panels-h.Selected)*M),"part=1;shape=mxgraph.mockup.navigation.scrollBar;barPos=95;direction=north;resizeHeight=1;"):new mxCell("",new mxGeometry(1,0,20,r-h.Selected*M-
(h.Panels-h.Selected)*M),"part=1;shape=mxgraph.mockup.navigation.scrollBar;barPos=95;direction=north;resizeHeight=1;"),u.geometry.relative=!0,u.geometry.offset=new mxPoint(-20,h.Selected*M),u.vertex=!0,v.insert(u),v.style+="spacingRight=20;",u.style+=ha,u.style+=c(u.style,h,e,u));1==h.hScroll&&(F=1==h.vScroll?new mxCell("",new mxGeometry(0,1,t-20,20),"part=1;shape=mxgraph.mockup.navigation.scrollBar;barPos=5;resizeWidth=1;"):new mxCell("",new mxGeometry(0,1,t,20),"part=1;shape=mxgraph.mockup.navigation.scrollBar;barPos=5;resizeWidth=1;"),
F.geometry.relative=!0,F.geometry.offset=new mxPoint(0,-20-(h.Panels-h.Selected)*M),F.vertex=!0,v.insert(F),F.style+=ha,F.style+=c(F.style,h,e,F));U=1==h.vScroll?new mxCell("",new mxGeometry(0,h.Selected*M,t-20,r-h.Selected*M-20-(h.Panels-h.Selected)*M),"part=1;fillColor=none;strokeColor=none;"):new mxCell("",new mxGeometry(0,h.Selected*M,t-20,r-h.Selected*M-(h.Panels-h.Selected)*M),"part=1;fillColor=none;strokeColor=none;");U.vertex=!0;v.insert(U);U.value=g(h.Content_1);U.style+=m(h.Content_1,y);
!y&&0>U.style.indexOf(";align=")&&(U.style+="align=left;spacingLeft=5;");v.style+=c(v.style,h,e,v);break;case "UI2TabBarContainerBlock":v.style+="strokeColor=none;fillColor=none;";var q=[],u=[],M=25,Ra=3,Z=(t+Ra)/(h.Tabs+1),wa=new mxCell("",new mxGeometry(0,M,t,r-M),"part=1;");wa.vertex=!0;v.insert(wa);wa.style+=c(wa.style,h,e,wa);for(l=0;l<=h.Tabs-1;l++)l==h.Selected-1?(u[l]=new mxCell("",new mxGeometry(10+l*Z,0,Z-Ra,M),""),u[l].vertex=!0,v.insert(u[l])):(q[l]=new mxCell("",new mxGeometry(10+l*Z,
0,Z-Ra,M),"strokeColor=none;"),q[l].vertex=!0,v.insert(q[l]),q[l].style+=q[l].style+=c(q[l].style,h,e,q[l]),u[l]=new mxCell("",new mxGeometry(0,0,Z-Ra,M),"fillColor=#000000;fillOpacity=25;"),u[l].vertex=!0,q[l].insert(u[l])),u[l].value=g(h["Tab_"+(l+1)]),u[l].style+=m(h["Tab_"+(l+1)],y),0>u[l].style.indexOf(";align=")&&(u[l].style+="align=left;spacingLeft=2;"),u[l].style+=c(u[l].style,h,e,u[l]);ha=E(h,e);ha=ha.replace("strokeColor","fillColor2");""==ha&&(ha="fillColor2=#000000;");1==h.vScroll&&(u=
1==h.hScroll?new mxCell("",new mxGeometry(1,0,20,r-20-M),"part=1;shape=mxgraph.mockup.navigation.scrollBar;barPos=95;direction=north;resizeHeight=1;"):new mxCell("",new mxGeometry(1,0,20,r-M),"part=1;shape=mxgraph.mockup.navigation.scrollBar;barPos=95;direction=north;resizeHeight=1;"),u.geometry.relative=!0,u.geometry.offset=new mxPoint(-20,M),u.vertex=!0,v.insert(u),v.style+="spacingRight=20;",u.style+=ha,u.style+=c(u.style,h,e,u));1==h.hScroll&&(F=1==h.vScroll?new mxCell("",new mxGeometry(0,1,t-
20,20),"part=1;shape=mxgraph.mockup.navigation.scrollBar;barPos=5;resizeWidth=1;"):new mxCell("",new mxGeometry(0,1,t,20),"part=1;shape=mxgraph.mockup.navigation.scrollBar;barPos=5;resizeWidth=1;"),F.geometry.relative=!0,F.geometry.offset=new mxPoint(0,-20),F.vertex=!0,v.insert(F),F.style+=ha,F.style+=c(F.style,h,e,F));break;case "UI2TabBar2ContainerBlock":v.style+="strokeColor=none;fillColor=none;";q=[];u=[];M=25;Ra=3;Z=(t+Ra)/h.Tabs;wa=new mxCell("",new mxGeometry(0,M,t,r-M),"part=1;");wa.vertex=
!0;v.insert(wa);wa.style+=c(wa.style,h,e,wa);for(l=0;l<=h.Tabs-1;l++)l==h.Selected-1?(u[l]=new mxCell("",new mxGeometry(l*Z,0,Z-Ra,M),""),u[l].vertex=!0,v.insert(u[l])):(q[l]=new mxCell("",new mxGeometry(l*Z,0,Z-Ra,M),"strokeColor=none;"),q[l].vertex=!0,v.insert(q[l]),q[l].style+=c(q[l].style,h,e,q[l]),u[l]=new mxCell("",new mxGeometry(0,0,Z-Ra,M),"fillColor=#000000;fillOpacity=25;"),u[l].vertex=!0,q[l].insert(u[l])),u[l].value=g(h["Tab_"+(l+1)]),u[l].style+=m(h["Tab_"+(l+1)],y),u[l].style+=c(u[l].style,
h,e,u[l],y),0>u[l].style.indexOf(";align=")&&(u[l].style+="align=left;spacingLeft=2;");ha=E(h,e);ha=ha.replace("strokeColor","fillColor2");""==ha&&(ha="fillColor2=#000000;");1==h.vScroll&&(u=1==h.hScroll?new mxCell("",new mxGeometry(1,0,20,r-20-M),"part=1;shape=mxgraph.mockup.navigation.scrollBar;barPos=95;direction=north;resizeHeight=1;"):new mxCell("",new mxGeometry(1,0,20,r-M),"part=1;shape=mxgraph.mockup.navigation.scrollBar;barPos=95;direction=north;resizeHeight=1;"),u.geometry.relative=!0,u.geometry.offset=
new mxPoint(-20,M),u.vertex=!0,v.insert(u),v.style+="spacingRight=20;",u.style+=ha,u.style+=c(u.style,h,e,u));1==h.hScroll&&(F=1==h.vScroll?new mxCell("",new mxGeometry(0,1,t-20,20),"part=1;shape=mxgraph.mockup.navigation.scrollBar;barPos=5;resizeWidth=1;"):new mxCell("",new mxGeometry(0,1,t,20),"part=1;shape=mxgraph.mockup.navigation.scrollBar;barPos=5;resizeWidth=1;"),F.geometry.relative=!0,F.geometry.offset=new mxPoint(0,-20),F.vertex=!0,v.insert(F),F.style+=ha,F.style+=c(F.style,h,e,F));break;
case "UI2VTabBarContainerBlock":v.style+="strokeColor=none;fillColor=none;";q=[];u=[];Ra=3;M=25+Ra;Z=80;Cb=10;wa=new mxCell("",new mxGeometry(Z,0,t-Z,r),"part=1;");wa.vertex=!0;v.insert(wa);wa.style+=c(wa.style,h,e,wa);for(l=0;l<=h.Tabs-1;l++)l==h.Selected-1?(u[l]=new mxCell("",new mxGeometry(0,Cb+l*M,Z,M-Ra),""),u[l].vertex=!0,v.insert(u[l]),u[l].value=g(h["Tab_"+(l+1)]),u[l].style+=m(h["Tab_"+(l+1)],y),u[l].style+=c(u[l].style,h,e,u[l],y)):(q[l]=new mxCell("",new mxGeometry(0,Cb+l*M,Z,M-Ra),"strokeColor=none;"),
q[l].vertex=!0,v.insert(q[l]),q[l].style+=c(q[l].style,h,e,q[l]),u[l]=new mxCell("",new mxGeometry(0,0,Z,M-Ra),"fillColor=#000000;fillOpacity=25;"),u[l].vertex=!0,q[l].insert(u[l]),u[l].value=g(h["Tab_"+(l+1)]),u[l].style+=m(h["Tab_"+(l+1)],y)),0>u[l].style.indexOf(";align=")&&(u[l].style+="align=left;spacingLeft=2;"),u[l].style+=c(u[l].style,h,e,u[l]);ha=E(h,e);ha=ha.replace("strokeColor","fillColor2");""==ha&&(ha="fillColor2=#000000;");1==h.vScroll&&(u=1==h.hScroll?new mxCell("",new mxGeometry(1,
0,20,r-20),"part=1;shape=mxgraph.mockup.navigation.scrollBar;barPos=95;direction=north;resizeHeight=1;"):new mxCell("",new mxGeometry(1,0,20,r),"part=1;shape=mxgraph.mockup.navigation.scrollBar;barPos=95;direction=north;resizeHeight=1;"),u.geometry.relative=!0,u.geometry.offset=new mxPoint(-20,0),u.vertex=!0,v.insert(u),v.style+="spacingRight=20;",u.style+=ha,u.style+=c(u.style,h,e,u));1==h.hScroll&&(F=1==h.vScroll?new mxCell("",new mxGeometry(Z,1,t-20-Z,20),"part=1;shape=mxgraph.mockup.navigation.scrollBar;barPos=5;resizeWidth=1;"):
new mxCell("",new mxGeometry(Z,1,t-Z,20),"part=1;shape=mxgraph.mockup.navigation.scrollBar;barPos=5;resizeWidth=1;"),F.geometry.relative=!0,F.geometry.offset=new mxPoint(0,-20),F.vertex=!0,v.insert(F),F.style+=ha,F.style+=c(F.style,h,e,F));break;case "UI2CheckBoxBlock":v.style+="strokeColor=none;fillColor=none;";L=r/h.Options;q=[];u=[];for(l=0;l<h.Options;l++)q[l]=new mxCell("",new mxGeometry(0,l*L+.5*L-5,10,10),"labelPosition=right;part=1;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=3;"),
new mxCell("",new mxGeometry(Z,1,t-Z,20),"part=1;shape=mxgraph.mockup.navigation.scrollBar;barPos=5;resizeWidth=1;"),F.geometry.relative=!0,F.geometry.offset=new mxPoint(0,-20),F.vertex=!0,v.insert(F),F.style+=ha,F.style+=c(F.style,h,e,F));break;case "UI2CheckBoxBlock":v.style+="strokeColor=none;fillColor=none;";M=r/h.Options;q=[];u=[];for(l=0;l<h.Options;l++)q[l]=new mxCell("",new mxGeometry(0,l*M+.5*M-5,10,10),"labelPosition=right;part=1;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=3;"),
q[l].vertex=!0,v.insert(q[l]),q[l].value=g(h["Option_"+(l+1)]),q[l].style+=m(h["Option_"+(l+1)],y),q[l].style+=c(q[l].style,h,e,q[l],y),null!=h.Selected[l+1]&&1==h.Selected[l+1]&&(H=E(h,e),H=H.replace("strokeColor","fillColor"),""==H&&(H="fillColor=#000000;"),u[l]=new mxCell("",new mxGeometry(2,2,6,6),"shape=mxgraph.mscae.general.checkmark;part=1;"),u[l].vertex=!0,q[l].insert(u[l]),u[l].style+=H,u[l].style+=c(u[l].style,h,e,u[l]));break;case "UI2HorizontalCheckBoxBlock":v.style+="strokeColor=none;fillColor=none;";
Z=t/h.Options;q=[];u=[];for(l=0;l<h.Options;l++)q[l]=new mxCell("",new mxGeometry(l*Z,.5*r-5,10,10),"labelPosition=right;part=1;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=3;"),q[l].vertex=!0,v.insert(q[l]),q[l].value=g(h["Option_"+(l+1)]),q[l].style+=m(h["Option_"+(l+1)],y),q[l].style+=c(q[l].style,h,e,q[l],y),null!=h.Selected[l+1]&&1==h.Selected[l+1]&&(H=E(h,e),H=H.replace("strokeColor","fillColor"),""==H&&(H="fillColor=#000000;"),u[l]=new mxCell("",new mxGeometry(2,
2,6,6),"shape=mxgraph.mscae.general.checkmark;part=1;"),u[l].vertex=!0,q[l].insert(u[l]),u[l].style+=H,u[l].style+=c(u[l].style,h,e,u[l]));break;case "UI2RadioBlock":v.style+="strokeColor=none;fillColor=none;";L=r/h.Options;q=[];u=[];for(l=0;l<h.Options;l++)q[l]=new mxCell("",new mxGeometry(0,l*L+.5*L-5,10,10),"ellipse;labelPosition=right;part=1;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=3;"),q[l].vertex=!0,v.insert(q[l]),q[l].value=g(h["Option_"+(l+1)]),q[l].style+=
2,6,6),"shape=mxgraph.mscae.general.checkmark;part=1;"),u[l].vertex=!0,q[l].insert(u[l]),u[l].style+=H,u[l].style+=c(u[l].style,h,e,u[l]));break;case "UI2RadioBlock":v.style+="strokeColor=none;fillColor=none;";M=r/h.Options;q=[];u=[];for(l=0;l<h.Options;l++)q[l]=new mxCell("",new mxGeometry(0,l*M+.5*M-5,10,10),"ellipse;labelPosition=right;part=1;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=3;"),q[l].vertex=!0,v.insert(q[l]),q[l].value=g(h["Option_"+(l+1)]),q[l].style+=
m(h["Option_"+(l+1)],y),q[l].style+=c(q[l].style,h,e,q[l],y),null!=h.Selected&&h.Selected==l+1&&(H=E(h,e),H=H.replace("strokeColor","fillColor"),""==H&&(H="fillColor=#000000;"),u[l]=new mxCell("",new mxGeometry(2.5,2.5,5,5),"ellipse;"),u[l].vertex=!0,q[l].insert(u[l]),u[l].style+=H,u[l].style+=c(u[l].style,h,e,u[l]));break;case "UI2HorizontalRadioBlock":v.style+="strokeColor=none;fillColor=none;";Z=t/h.Options;q=[];u=[];for(l=0;l<h.Options;l++)q[l]=new mxCell("",new mxGeometry(l*Z,.5*r-5,10,10),"ellipse;labelPosition=right;part=1;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=3;"),
q[l].vertex=!0,v.insert(q[l]),q[l].value=g(h["Option_"+(l+1)]),q[l].style+=m(h["Option_"+(l+1)],y),q[l].style+=c(q[l].style,h,e,q[l],y),null!=h.Selected&&h.Selected==l+1&&(H=E(h,e),H=H.replace("strokeColor","fillColor"),""==H&&(H="fillColor=#000000;"),u[l]=new mxCell("",new mxGeometry(2,2,6,6),"ellipse;part=1;"),u[l].vertex=!0,q[l].insert(u[l]),u[l].style+=H,u[l].style+=c(u[l].style,h,e,u[l]));break;case "UI2HSliderBlock":case "UI2VSliderBlock":v.style+="shape=mxgraph.mockup.forms.horSlider;sliderStyle=basic;handleStyle=handle;";
"UI2VSliderBlock"==b.Class&&(v.style+="direction=south;");v.style+="sliderPos="+100*h.ScrollVal+";";v.style+=c(v.style,h,e,v);break;case "UI2DatePickerBlock":v.style+="strokeColor=none;fillColor=none;";q=new mxCell("",new mxGeometry(0,0,.6*t,r),"part=1;");q.vertex=!0;v.insert(q);q.value=g(h.Date);q.style+=m(h.Date,y);v.style+=c(v.style,h,e,v);H=E(h,e);H=H.replace("strokeColor","fillColor");""==H&&(H="fillColor=#000000;");u=new mxCell("",new mxGeometry(.75*t,0,.25*t,r),"part=1;shape=mxgraph.gmdl.calendar;");
u.vertex=!0;v.insert(u);u.style+=H;u.style+=c(u.style,h,e,u);break;case "UI2SearchBlock":v.style+="shape=mxgraph.mockup.forms.searchBox;mainText=;flipH=1;align=left;spacingLeft=26;"+a(h.Search)+d(h.Search)+k(h.Search);v.value=g(h.Search);v.style+=c(v.style,h,e,v,y);break;case "UI2NumericStepperBlock":H=E(h,e);H=H.replace("strokeColor","fillColor");""==H&&(H="fillColor=#000000;");v.style+="shape=mxgraph.mockup.forms.spinner;spinLayout=right;spinStyle=normal;adjStyle=triangle;mainText=;align=left;spacingLeft=8;"+
H+a(h.Number)+d(h.Number)+k(h.Number);v.value=g(h.Number);v.style+=c(v.style,h,e,v,y);break;case "UI2ButtonBarBlock":v.style+=c(v.style,h,e,v);q=[];u=[];Z=t/h.Buttons;for(l=0;l<=h.Buttons-1;l++)l==h.Selected-1?(u[l]=new mxCell("",new mxGeometry(l*Z,0,Z,r),""),u[l].vertex=!0,v.insert(u[l])):(q[l]=new mxCell("",new mxGeometry(l*Z,0,Z,r),"strokeColor=none;"),q[l].vertex=!0,v.insert(q[l]),q[l].style+=q[l].style+=c(q[l].style,h,e,q[l]),u[l]=new mxCell("",new mxGeometry(0,0,Z,r),"fillColor=#000000;fillOpacity=25;"),
u[l].vertex=!0,q[l].insert(u[l])),u[l].value=g(h["Button_"+(l+1)]),u[l].style+=m(h["Button_"+(l+1)],y),u[l].style+=c(u[l].style,h,e,u[l],y);break;case "UI2VerticalButtonBarBlock":v.style+=c(v.style,h,e,v);q=[];u=[];L=r/h.Buttons;for(l=0;l<=h.Buttons-1;l++)l==h.Selected-1?(u[l]=new mxCell("",new mxGeometry(0,l*L,t,L),""),u[l].vertex=!0,v.insert(u[l])):(q[l]=new mxCell("",new mxGeometry(0,l*L,t,L),"strokeColor=none;"),q[l].vertex=!0,v.insert(q[l]),q[l].style+=c(q[l].style,h,e,q[l]),u[l]=new mxCell("",
new mxGeometry(0,0,t,L),"fillColor=#000000;fillOpacity=25;"),u[l].vertex=!0,q[l].insert(u[l])),u[l].value=g(h["Button_"+(l+1)]),u[l].style+=m(h["Button_"+(l+1)],y),u[l].style+=c(u[l].style,h,e,u[l],y);break;case "UI2LinkBarBlock":v.style+="strokeColor=none;fillColor=none;";v.style+=c(v.style,h,e,v);q=[];u=[];Z=t/h.Links;for(l=0;l<h.Links;l++)0!=l?(u[l]=new mxCell("",new mxGeometry(l*Z,0,Z,r),"shape=partialRectangle;top=0;bottom=0;right=0;fillColor=none;"),u[l].style+=c(u[l].style,h,e,u[l])):u[l]=
u[l].vertex=!0,q[l].insert(u[l])),u[l].value=g(h["Button_"+(l+1)]),u[l].style+=m(h["Button_"+(l+1)],y),u[l].style+=c(u[l].style,h,e,u[l],y);break;case "UI2VerticalButtonBarBlock":v.style+=c(v.style,h,e,v);q=[];u=[];M=r/h.Buttons;for(l=0;l<=h.Buttons-1;l++)l==h.Selected-1?(u[l]=new mxCell("",new mxGeometry(0,l*M,t,M),""),u[l].vertex=!0,v.insert(u[l])):(q[l]=new mxCell("",new mxGeometry(0,l*M,t,M),"strokeColor=none;"),q[l].vertex=!0,v.insert(q[l]),q[l].style+=c(q[l].style,h,e,q[l]),u[l]=new mxCell("",
new mxGeometry(0,0,t,M),"fillColor=#000000;fillOpacity=25;"),u[l].vertex=!0,q[l].insert(u[l])),u[l].value=g(h["Button_"+(l+1)]),u[l].style+=m(h["Button_"+(l+1)],y),u[l].style+=c(u[l].style,h,e,u[l],y);break;case "UI2LinkBarBlock":v.style+="strokeColor=none;fillColor=none;";v.style+=c(v.style,h,e,v);q=[];u=[];Z=t/h.Links;for(l=0;l<h.Links;l++)0!=l?(u[l]=new mxCell("",new mxGeometry(l*Z,0,Z,r),"shape=partialRectangle;top=0;bottom=0;right=0;fillColor=none;"),u[l].style+=c(u[l].style,h,e,u[l])):u[l]=
new mxCell("",new mxGeometry(l*Z,0,Z,r),"fillColor=none;strokeColor=none;"),u[l].vertex=!0,v.insert(u[l]),u[l].value=g(h["Link_"+(l+1)]),u[l].style+=m(h["Link_"+(l+1)],y);break;case "UI2BreadCrumbsBlock":v.style+="strokeColor=none;fillColor=none;";v.style+=c(v.style,h,e,v);q=[];u=[];Z=t/h.Links;for(l=0;l<h.Links;l++)q[l]=new mxCell("",new mxGeometry(l*Z,0,Z,r),"fillColor=none;strokeColor=none;"),q[l].vertex=!0,v.insert(q[l]),q[l].value=g(h["Link_"+(l+1)]),q[l].style+=m(h["Link_"+(l+1)],y);for(l=1;l<
h.Links;l++)u[l]=new mxCell("",new mxGeometry(l/h.Links,.5,6,10),"shape=mxgraph.ios7.misc.right;"),u[l].geometry.relative=!0,u[l].geometry.offset=new mxPoint(-3,-5),u[l].vertex=!0,v.insert(u[l]);break;case "UI2MenuBarBlock":v.style+="strokeColor=none;";v.style+=c(v.style,h,e,v);q=[];Z=t/(h.Buttons+1);for(l=0;l<=h.Buttons-1;l++)q[l]=l!=h.Selected-1?new mxCell("",new mxGeometry(0,0,Z,r),"strokeColor=none;fillColor=none;resizeHeight=1;"):new mxCell("",new mxGeometry(0,0,Z,r),"fillColor=#000000;fillOpacity=25;strokeColor=none;resizeHeight=1;"),
q[l].geometry.relative=!0,q[l].geometry.offset=new mxPoint(l*Z,0),q[l].vertex=!0,v.insert(q[l]),q[l].value=g(h["MenuItem_"+(l+1)]),q[l].style+=m(h["MenuItem_"+(l+1)],y);break;case "UI2AtoZBlock":v.style+="fillColor=none;strokeColor=none;"+m(h.Text_0);v.value="0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z";break;case "UI2PaginationBlock":v.style+="fillColor=none;strokeColor=none;"+m(h.Text_prev);v.value=g(h.Text_prev)+" ";for(l=0;l<h.Links;l++)v.value+=g(h["Link_"+(l+1)])+" ";v.value+=g(h.Text_next);
break;case "UI2ContextMenuBlock":v.style+=c(v.style,h,e,v);for(var I=[],Oa=[],qc=[],L=r/h.Lines,Q=null,l=0;l<h.Lines;l++)null!=h["Item_"+(l+1)]&&(null==Q&&(Q=""+a(h["Item_"+(l+1)])+d(h["Item_"+(l+1)])+k(h["Item_"+(l+1)])),I[l]=new mxCell("",new mxGeometry(0,l*r/h.Lines,t,L),"strokeColor=none;fillColor=none;spacingLeft=20;align=left;html=1;"),I[l].vertex=!0,v.insert(I[l]),I[l].style+=Q,I[l].value=g(h["Item_"+(l+1)])),null!=h.Icons[l+1]&&null!=I[l]&&("dot"==h.Icons[l+1]?(Oa[l]=new mxCell("",new mxGeometry(0,
.5,8,8),"ellipse;strokeColor=none;"),Oa[l].geometry.offset=new mxPoint(6,-4)):"check"==h.Icons[l+1]&&(Oa[l]=new mxCell("",new mxGeometry(0,.5,7,8),"shape=mxgraph.mscae.general.checkmark;strokeColor=none;"),Oa[l].geometry.offset=new mxPoint(6.5,-4)),null!=Oa[l]&&(Oa[l].geometry.relative=!0,Oa[l].vertex=!0,I[l].insert(Oa[l]),H=E(h,e),H=H.replace("strokeColor","fillColor"),""==H&&(H="fillColor=#000000;"),Oa[l].style+=H)),null!=h["Shortcut_"+(l+1)]&&(null==Q&&(Q=""+a(h["Shortcut_"+(l+1)])+d(h["Shortcut_"+
(l+1)])+k(h["Shortcut_"+(l+1)])),qc[l]=new mxCell("",new mxGeometry(.6*t,l*r/h.Lines,.4*t,L),"strokeColor=none;fillColor=none;spacingRight=3;align=right;html=1;"),qc[l].vertex=!0,v.insert(qc[l]),qc[l].style+=Q,qc[l].value=g(h["Shortcut_"+(l+1)])),null!=h.Dividers[l+1]&&(I[l]=new mxCell("",new mxGeometry(.05*t,l*r/h.Lines,.9*t,L),"shape=line;strokeWidth=1;"),I[l].vertex=!0,v.insert(I[l]),I[l].style+=E(h,e));break;case "UI2ProgressBarBlock":v.style+="shape=mxgraph.mockup.misc.progressBar;fillColor2=#888888;barPos="+
break;case "UI2ContextMenuBlock":v.style+=c(v.style,h,e,v);for(var I=[],Na=[],qc=[],M=r/h.Lines,Q=null,l=0;l<h.Lines;l++)null!=h["Item_"+(l+1)]&&(null==Q&&(Q=""+a(h["Item_"+(l+1)])+d(h["Item_"+(l+1)])+k(h["Item_"+(l+1)])),I[l]=new mxCell("",new mxGeometry(0,l*r/h.Lines,t,M),"strokeColor=none;fillColor=none;spacingLeft=20;align=left;html=1;"),I[l].vertex=!0,v.insert(I[l]),I[l].style+=Q,I[l].value=g(h["Item_"+(l+1)])),null!=h.Icons[l+1]&&null!=I[l]&&("dot"==h.Icons[l+1]?(Na[l]=new mxCell("",new mxGeometry(0,
.5,8,8),"ellipse;strokeColor=none;"),Na[l].geometry.offset=new mxPoint(6,-4)):"check"==h.Icons[l+1]&&(Na[l]=new mxCell("",new mxGeometry(0,.5,7,8),"shape=mxgraph.mscae.general.checkmark;strokeColor=none;"),Na[l].geometry.offset=new mxPoint(6.5,-4)),null!=Na[l]&&(Na[l].geometry.relative=!0,Na[l].vertex=!0,I[l].insert(Na[l]),H=E(h,e),H=H.replace("strokeColor","fillColor"),""==H&&(H="fillColor=#000000;"),Na[l].style+=H)),null!=h["Shortcut_"+(l+1)]&&(null==Q&&(Q=""+a(h["Shortcut_"+(l+1)])+d(h["Shortcut_"+
(l+1)])+k(h["Shortcut_"+(l+1)])),qc[l]=new mxCell("",new mxGeometry(.6*t,l*r/h.Lines,.4*t,M),"strokeColor=none;fillColor=none;spacingRight=3;align=right;html=1;"),qc[l].vertex=!0,v.insert(qc[l]),qc[l].style+=Q,qc[l].value=g(h["Shortcut_"+(l+1)])),null!=h.Dividers[l+1]&&(I[l]=new mxCell("",new mxGeometry(.05*t,l*r/h.Lines,.9*t,M),"shape=line;strokeWidth=1;"),I[l].vertex=!0,v.insert(I[l]),I[l].style+=E(h,e));break;case "UI2ProgressBarBlock":v.style+="shape=mxgraph.mockup.misc.progressBar;fillColor2=#888888;barPos="+
100*h.ScrollVal+";";break;case "UI2TooltipSquareBlock":v.value=g(h.Tip);v.style+="html=1;shape=callout;flipV=1;base=13;size=7;position=0.5;position2=0.66;rounded=1;arcSize="+h.RoundCorners+";"+m(h.Tip,y);v.style+=c(v.style,h,e,v,y);break;case "UI2CalloutBlock":v.value=g(h.Txt);v.style+="shape=ellipse;perimeter=ellipsePerimeter;"+m(h.Txt,y);v.style+=c(v.style,h,e,v,y);break;case "UI2AlertBlock":v.value=g(h.Txt);v.style+=m(h.Txt,y);v.style+=c(v.style,h,e,v,y);q=new mxCell("",new mxGeometry(0,0,t,30),
"part=1;resizeHeight=0;");q.vertex=!0;v.insert(q);q.value=g(h.Title);q.style+=m(h.Title,y);q.style+=c(q.style,h,e,q,y);u=new mxCell("",new mxGeometry(1,.5,20,20),"ellipse;part=1;strokeColor=#008cff;resizable=0;fillColor=none;html=1;");u.geometry.relative=!0;u.geometry.offset=new mxPoint(-25,-10);u.vertex=!0;q.insert(u);for(var Ne=45*h.Buttons+(10*h.Buttons-1),F=[],l=0;l<h.Buttons;l++)F[l]=new mxCell("",new mxGeometry(.5,1,45,20),"part=1;html=1;"),F[l].geometry.relative=!0,F[l].geometry.offset=new mxPoint(.5*
-Ne+55*l,-40),F[l].vertex=!0,v.insert(F[l]),F[l].value=g(h["Button_"+(l+1)]),F[l].style+=m(h["Button_"+(l+1)],y),F[l].style+=c(F[l].style,h,e,F[l],y);break;case "UMLClassBlock":if(0==h.Simple){var Q=M(h,e),Ea=Math.round(.6*h.TitleHeight)||25,Q=Q.replace("fillColor","swimlaneFillColor");""==Q&&(Q="swimlaneFillColor=#ffffff;");v.value=g(h.Title);v.style+="swimlane;childLayout=stackLayout;horizontal=1;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=0;marginBottom=0;"+Q+"startSize="+
Ea+";"+m(h.Title,y);v.style+=c(v.style,h,e,v,y);for(var I=[],Dd=[],Ia=Ea/r,bc=Ea,l=0;l<=h.Attributes;l++){0<l&&(Dd[l]=new mxCell("",new mxGeometry(0,bc,40,8),"line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;"),bc+=8,Dd[l].vertex=!0,v.insert(Dd[l]));L=0;0==h.Attributes?L=l=1:l<h.Attributes?(L=h["Text"+(l+1)+"Percent"],Ia+=L):L=1-Ia;var Tc=Math.round((r-Ea)*L)+(h.ExtraHeightSet&&
-Ne+55*l,-40),F[l].vertex=!0,v.insert(F[l]),F[l].value=g(h["Button_"+(l+1)]),F[l].style+=m(h["Button_"+(l+1)],y),F[l].style+=c(F[l].style,h,e,F[l],y);break;case "UMLClassBlock":if(0==h.Simple){var Q=K(h,e),Ea=Math.round(.6*h.TitleHeight)||25,Q=Q.replace("fillColor","swimlaneFillColor");""==Q&&(Q="swimlaneFillColor=#ffffff;");v.value=g(h.Title);v.style+="swimlane;childLayout=stackLayout;horizontal=1;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=0;marginBottom=0;"+Q+"startSize="+
Ea+";"+m(h.Title,y);v.style+=c(v.style,h,e,v,y);for(var I=[],Dd=[],Ha=Ea/r,bc=Ea,l=0;l<=h.Attributes;l++){0<l&&(Dd[l]=new mxCell("",new mxGeometry(0,bc,40,8),"line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;"),bc+=8,Dd[l].vertex=!0,v.insert(Dd[l]));M=0;0==h.Attributes?M=l=1:l<h.Attributes?(M=h["Text"+(l+1)+"Percent"],Ha+=M):M=1-Ha;var Tc=Math.round((r-Ea)*M)+(h.ExtraHeightSet&&
1==l?.6*h.ExtraHeight:0);I[l]=new mxCell("",new mxGeometry(0,bc,t,Tc),"part=1;html=1;resizeHeight=0;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;");bc+=Tc;I[l].vertex=!0;v.insert(I[l]);I[l].style+=Q+O(h,e,I[l])+a(h["Text"+(l+1)])+d(h["Text"+(l+1)])+k(h["Text"+(l+1)]);I[l].value=g(h["Text"+(l+1)])}}else v.value=g(h.Title),v.style+=m(h.Title,y),v.style+=c(v.style,h,e,v,y);break;
case "ERDEntityBlock":Q=M(h,e);Ea=.6*h.Name_h;Q=Q.replace("fillColor","swimlaneFillColor");""==Q&&(Q="swimlaneFillColor=#ffffff;");v.value=g(h.Name);v.style+="swimlane;childLayout=stackLayout;horizontal=1;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=0;marginBottom=0;"+Q+"startSize="+Ea+";"+m(h.Name,y);v.style+=c(v.style,h,e,v,y);v.style=h.ShadedHeader?v.style+"fillColor=#e0e0e0;":v.style+M(h,e);I=[];Ia=Ea/r;bc=Ea;for(l=0;l<h.Fields;l++)L=0,Tc=.6*h["Field"+(l+1)+"_h"],
case "ERDEntityBlock":Q=K(h,e);Ea=.6*h.Name_h;Q=Q.replace("fillColor","swimlaneFillColor");""==Q&&(Q="swimlaneFillColor=#ffffff;");v.value=g(h.Name);v.style+="swimlane;childLayout=stackLayout;horizontal=1;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=0;marginBottom=0;"+Q+"startSize="+Ea+";"+m(h.Name,y);v.style+=c(v.style,h,e,v,y);v.style=h.ShadedHeader?v.style+"fillColor=#e0e0e0;":v.style+K(h,e);I=[];Ha=Ea/r;bc=Ea;for(l=0;l<h.Fields;l++)M=0,Tc=.6*h["Field"+(l+1)+"_h"],
I[l]=new mxCell("",new mxGeometry(0,bc,t,Tc),"part=1;resizeHeight=0;strokeColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;"),bc+=Tc,I[l].vertex=!0,v.insert(I[l]),I[l].style+=Q+a(h["Field"+(l+1)])+d(h["Field"+(l+1)])+k(h["Field"+(l+1)]),I[l].style=1==h.AltRows&&0!=l%2?I[l].style+"fillColor=#000000;opacity=5;":I[l].style+("fillColor=none;"+O(h,e,I[l])),I[l].value=g(h["Field"+(l+1)]);break;case "ERDEntityBlock2":Q=
M(h,e);Ea=.6*h.Name_h;Q=Q.replace("fillColor","swimlaneFillColor");""==Q&&(Q="swimlaneFillColor=#ffffff;");v.value=g(h.Name);v.style+="swimlane;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;"+Q+"startSize="+Ea+";"+m(h.Name,y);v.style=h.ShadedHeader?v.style+"fillColor=#e0e0e0;":v.style+M(h,e);v.style+=c(v.style,h,e,v,y);var I=[],ba=[],Ia=Ea,Ta=30;null!=h.Column1&&(Ta=.6*h.Column1);for(l=0;l<h.Fields;l++)L=0,ba[l]=new mxCell("",new mxGeometry(0,Ia,Ta,.6*h["Key"+(l+1)+"_h"]),
"strokeColor=none;part=1;resizeHeight=0;align=center;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;"),ba[l].vertex=!0,v.insert(ba[l]),ba[l].style+=Q+a(h["Key"+(l+1)])+d(h["Key"+(l+1)])+k(h["Key"+(l+1)]),ba[l].style=1==h.AltRows&&0!=l%2?ba[l].style+"fillColor=#000000;fillOpacity=5;":ba[l].style+("fillColor=none;"+O(h,e,ba[l])),ba[l].value=g(h["Key"+(l+1)]),I[l]=new mxCell("",new mxGeometry(Ta,Ia,t-Ta,.6*h["Field"+
K(h,e);Ea=.6*h.Name_h;Q=Q.replace("fillColor","swimlaneFillColor");""==Q&&(Q="swimlaneFillColor=#ffffff;");v.value=g(h.Name);v.style+="swimlane;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;"+Q+"startSize="+Ea+";"+m(h.Name,y);v.style=h.ShadedHeader?v.style+"fillColor=#e0e0e0;":v.style+K(h,e);v.style+=c(v.style,h,e,v,y);var I=[],ba=[],Ha=Ea,Sa=30;null!=h.Column1&&(Sa=.6*h.Column1);for(l=0;l<h.Fields;l++)M=0,ba[l]=new mxCell("",new mxGeometry(0,Ha,Sa,.6*h["Key"+(l+1)+"_h"]),
"strokeColor=none;part=1;resizeHeight=0;align=center;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;"),ba[l].vertex=!0,v.insert(ba[l]),ba[l].style+=Q+a(h["Key"+(l+1)])+d(h["Key"+(l+1)])+k(h["Key"+(l+1)]),ba[l].style=1==h.AltRows&&0!=l%2?ba[l].style+"fillColor=#000000;fillOpacity=5;":ba[l].style+("fillColor=none;"+O(h,e,ba[l])),ba[l].value=g(h["Key"+(l+1)]),I[l]=new mxCell("",new mxGeometry(Sa,Ha,t-Sa,.6*h["Field"+
(l+1)+"_h"]),"shape=partialRectangle;top=0;right=0;bottom=0;part=1;resizeHeight=0;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;"),I[l].vertex=!0,v.insert(I[l]),I[l].style+=Q+a(h["Field"+(l+1)])+d(h["Field"+(l+1)])+k(h["Field"+(l+1)]),v.style+=c(v.style,h,e,v),I[l].style=1==h.AltRows&&0!=l%2?I[l].style+"fillColor=#000000;fillOpacity=5;":I[l].style+("fillColor=none;"+O(h,e,I[l])),I[l].value=g(h["Field"+
(l+1)]),Ia+=.6*h["Key"+(l+1)+"_h"];break;case "ERDEntityBlock3":Q=M(h,e);Ea=.6*h.Name_h;Q=Q.replace("fillColor","swimlaneFillColor");""==Q&&(Q="swimlaneFillColor=#ffffff;");v.style+="swimlane;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;"+Q+"startSize="+Ea+";"+m(h.Name);v.style=h.ShadedHeader?v.style+"fillColor=#e0e0e0;":v.style+M(h,e);v.value=g(h.Name);v.style+=c(v.style,h,e,v,y);I=[];ba=[];Ia=Ea;Ta=30;null!=h.Column1&&(Ta=.6*h.Column1);for(l=0;l<h.Fields;l++)L=0,ba[l]=
new mxCell("",new mxGeometry(0,Ia,Ta,.6*h["Field"+(l+1)+"_h"]),"strokeColor=none;part=1;resizeHeight=0;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;"),ba[l].vertex=!0,v.insert(ba[l]),ba[l].style+=Q+a(h["Field"+(l+1)])+d(h["Field"+(l+1)])+k(h["Field"+(l+1)]),ba[l].style=1==h.AltRows&&0!=l%2?ba[l].style+"fillColor=#000000;fillOpacity=5;":ba[l].style+("fillColor=none;"+O(h,e,ba[l])),ba[l].value=g(h["Field"+(l+1)]),
ba[l].style+=c(ba[l].style,h,e,ba[l],y),I[l]=new mxCell("",new mxGeometry(Ta,Ia,t-Ta,.6*h["Type"+(l+1)+"_h"]),"shape=partialRectangle;top=0;right=0;bottom=0;part=1;resizeHeight=0;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;"),I[l].vertex=!0,v.insert(I[l]),I[l].style+=Q+a(h["Type"+(l+1)])+d(h["Type"+(l+1)])+k(h["Type"+(l+1)]),I[l].style=1==h.AltRows&&0!=l%2?I[l].style+"fillColor=#000000;fillOpacity=5;":I[l].style+
("fillColor=none;"+O(h,e,I[l])),I[l].value=g(h["Type"+(l+1)]),I[l].style+=c(I[l].style,h,e,I[l],y),Ia+=.6*h["Field"+(l+1)+"_h"];break;case "ERDEntityBlock4":Q=M(h,e);Ea=.6*h.Name_h;Q=Q.replace("fillColor","swimlaneFillColor");""==Q&&(Q="swimlaneFillColor=#ffffff;");v.style+="swimlane;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;"+Q+"startSize="+Ea+";"+m(h.Name);v.style=h.ShadedHeader?v.style+"fillColor=#e0e0e0;":v.style+M(h,e);v.value=g(h.Name);v.style+=c(v.style,h,e,
v,y);var I=[],ba=[],Ua=[],Ia=Ea,Ta=30,id=40;null!=h.Column1&&(Ta=.6*h.Column1);null!=h.Column2&&(id=.6*h.Column2);for(l=0;l<h.Fields;l++)L=0,ba[l]=new mxCell("",new mxGeometry(0,Ia,Ta,.6*h["Key"+(l+1)+"_h"]),"strokeColor=none;part=1;resizeHeight=0;align=center;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;"),ba[l].vertex=!0,v.insert(ba[l]),ba[l].style+=Q+a(h["Key"+(l+1)])+d(h["Key"+(l+1)])+k(h["Key"+(l+1)]),ba[l].style=
1==h.AltRows&&0!=l%2?ba[l].style+"fillColor=#000000;fillOpacity=5;":ba[l].style+("fillColor=none;"+O(h,e,ba[l])),ba[l].value=g(h["Key"+(l+1)]),ba[l].style+=c(ba[l].style,h,e,ba[l],y),I[l]=new mxCell("",new mxGeometry(Ta,Ia,t-Ta-id,.6*h["Field"+(l+1)+"_h"]),"shape=partialRectangle;top=0;right=0;bottom=0;part=1;resizeHeight=0;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;"),I[l].vertex=!0,v.insert(I[l]),I[l].style+=
Q+a(h["Field"+(l+1)])+d(h["Field"+(l+1)])+k(h["Field"+(l+1)]),I[l].style=1==h.AltRows&&0!=l%2?I[l].style+"fillColor=#000000;fillOpacity=5;":I[l].style+("fillColor=none;"+O(h,e,I[l])),I[l].value=g(h["Field"+(l+1)]),I[l].style+=c(I[l].style,h,e,I[l],y),Ua[l]=new mxCell("",new mxGeometry(t-id,Ia,id,.6*h["Type"+(l+1)+"_h"]),"shape=partialRectangle;top=0;right=0;bottom=0;part=1;resizeHeight=0;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;"),
Ua[l].vertex=!0,v.insert(Ua[l]),Ua[l].style+=Q+a(h["Type"+(l+1)])+d(h["Type"+(l+1)])+k(h["Type"+(l+1)]),Ua[l].style=1==h.AltRows&&0!=l%2?Ua[l].style+"fillColor=#000000;fillOpacity=5;":Ua[l].style+("fillColor=none;"+O(h,e,Ua[l])),Ua[l].value=g(h["Type"+(l+1)]),Ua[l].style+=c(Ua[l].style,h,e,Ua[l],y),Ia+=.6*h["Key"+(l+1)+"_h"];break;case "GCPServiceCardApplicationSystemBlock":fa("application_system",t,r,v,h,e);break;case "GCPServiceCardAuthorizationBlock":fa("internal_payment_authorization",t,r,v,h,
(l+1)]),Ha+=.6*h["Key"+(l+1)+"_h"];break;case "ERDEntityBlock3":Q=K(h,e);Ea=.6*h.Name_h;Q=Q.replace("fillColor","swimlaneFillColor");""==Q&&(Q="swimlaneFillColor=#ffffff;");v.style+="swimlane;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;"+Q+"startSize="+Ea+";"+m(h.Name);v.style=h.ShadedHeader?v.style+"fillColor=#e0e0e0;":v.style+K(h,e);v.value=g(h.Name);v.style+=c(v.style,h,e,v,y);I=[];ba=[];Ha=Ea;Sa=30;null!=h.Column1&&(Sa=.6*h.Column1);for(l=0;l<h.Fields;l++)M=0,ba[l]=
new mxCell("",new mxGeometry(0,Ha,Sa,.6*h["Field"+(l+1)+"_h"]),"strokeColor=none;part=1;resizeHeight=0;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;"),ba[l].vertex=!0,v.insert(ba[l]),ba[l].style+=Q+a(h["Field"+(l+1)])+d(h["Field"+(l+1)])+k(h["Field"+(l+1)]),ba[l].style=1==h.AltRows&&0!=l%2?ba[l].style+"fillColor=#000000;fillOpacity=5;":ba[l].style+("fillColor=none;"+O(h,e,ba[l])),ba[l].value=g(h["Field"+(l+1)]),
ba[l].style+=c(ba[l].style,h,e,ba[l],y),I[l]=new mxCell("",new mxGeometry(Sa,Ha,t-Sa,.6*h["Type"+(l+1)+"_h"]),"shape=partialRectangle;top=0;right=0;bottom=0;part=1;resizeHeight=0;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;"),I[l].vertex=!0,v.insert(I[l]),I[l].style+=Q+a(h["Type"+(l+1)])+d(h["Type"+(l+1)])+k(h["Type"+(l+1)]),I[l].style=1==h.AltRows&&0!=l%2?I[l].style+"fillColor=#000000;fillOpacity=5;":I[l].style+
("fillColor=none;"+O(h,e,I[l])),I[l].value=g(h["Type"+(l+1)]),I[l].style+=c(I[l].style,h,e,I[l],y),Ha+=.6*h["Field"+(l+1)+"_h"];break;case "ERDEntityBlock4":Q=K(h,e);Ea=.6*h.Name_h;Q=Q.replace("fillColor","swimlaneFillColor");""==Q&&(Q="swimlaneFillColor=#ffffff;");v.style+="swimlane;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;"+Q+"startSize="+Ea+";"+m(h.Name);v.style=h.ShadedHeader?v.style+"fillColor=#e0e0e0;":v.style+K(h,e);v.value=g(h.Name);v.style+=c(v.style,h,e,
v,y);var I=[],ba=[],Ta=[],Ha=Ea,Sa=30,id=40;null!=h.Column1&&(Sa=.6*h.Column1);null!=h.Column2&&(id=.6*h.Column2);for(l=0;l<h.Fields;l++)M=0,ba[l]=new mxCell("",new mxGeometry(0,Ha,Sa,.6*h["Key"+(l+1)+"_h"]),"strokeColor=none;part=1;resizeHeight=0;align=center;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;"),ba[l].vertex=!0,v.insert(ba[l]),ba[l].style+=Q+a(h["Key"+(l+1)])+d(h["Key"+(l+1)])+k(h["Key"+(l+1)]),ba[l].style=
1==h.AltRows&&0!=l%2?ba[l].style+"fillColor=#000000;fillOpacity=5;":ba[l].style+("fillColor=none;"+O(h,e,ba[l])),ba[l].value=g(h["Key"+(l+1)]),ba[l].style+=c(ba[l].style,h,e,ba[l],y),I[l]=new mxCell("",new mxGeometry(Sa,Ha,t-Sa-id,.6*h["Field"+(l+1)+"_h"]),"shape=partialRectangle;top=0;right=0;bottom=0;part=1;resizeHeight=0;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;"),I[l].vertex=!0,v.insert(I[l]),I[l].style+=
Q+a(h["Field"+(l+1)])+d(h["Field"+(l+1)])+k(h["Field"+(l+1)]),I[l].style=1==h.AltRows&&0!=l%2?I[l].style+"fillColor=#000000;fillOpacity=5;":I[l].style+("fillColor=none;"+O(h,e,I[l])),I[l].value=g(h["Field"+(l+1)]),I[l].style+=c(I[l].style,h,e,I[l],y),Ta[l]=new mxCell("",new mxGeometry(t-id,Ha,id,.6*h["Type"+(l+1)+"_h"]),"shape=partialRectangle;top=0;right=0;bottom=0;part=1;resizeHeight=0;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;"),
Ta[l].vertex=!0,v.insert(Ta[l]),Ta[l].style+=Q+a(h["Type"+(l+1)])+d(h["Type"+(l+1)])+k(h["Type"+(l+1)]),Ta[l].style=1==h.AltRows&&0!=l%2?Ta[l].style+"fillColor=#000000;fillOpacity=5;":Ta[l].style+("fillColor=none;"+O(h,e,Ta[l])),Ta[l].value=g(h["Type"+(l+1)]),Ta[l].style+=c(Ta[l].style,h,e,Ta[l],y),Ha+=.6*h["Key"+(l+1)+"_h"];break;case "GCPServiceCardApplicationSystemBlock":fa("application_system",t,r,v,h,e);break;case "GCPServiceCardAuthorizationBlock":fa("internal_payment_authorization",t,r,v,h,
e);break;case "GCPServiceCardBlankBlock":fa("blank",t,r,v,h,e);break;case "GCPServiceCardReallyBlankBlock":fa("blank",t,r,v,h,e);break;case "GCPServiceCardBucketBlock":fa("bucket",t,r,v,h,e);break;case "GCPServiceCardCDNInterconnectBlock":fa("google_network_edge_cache",t,r,v,h,e);break;case "GCPServiceCardCloudDNSBlock":fa("blank",t,r,v,h,e);break;case "GCPServiceCardClusterBlock":fa("cluster",t,r,v,h,e);break;case "GCPServiceCardDiskSnapshotBlock":fa("persistent_disk_snapshot",t,r,v,h,e);break;case "GCPServiceCardEdgePopBlock":fa("google_network_edge_cache",
t,r,v,h,e);break;case "GCPServiceCardFrontEndPlatformServicesBlock":fa("frontend_platform_services",t,r,v,h,e);break;case "GCPServiceCardGatewayBlock":fa("gateway",t,r,v,h,e);break;case "GCPServiceCardGoogleNetworkBlock":fa("google_network_edge_cache",t,r,v,h,e);break;case "GCPServiceCardImageServicesBlock":fa("image_services",t,r,v,h,e);break;case "GCPServiceCardLoadBalancerBlock":fa("network_load_balancer",t,r,v,h,e);break;case "GCPServiceCardLocalComputeBlock":fa("dedicated_game_server",t,r,v,
h,e);break;case "GCPServiceCardLocalStorageBlock":fa("persistent_disk_snapshot",t,r,v,h,e);break;case "GCPServiceCardLogsAPIBlock":fa("logs_api",t,r,v,h,e);break;case "GCPServiceCardMemcacheBlock":fa("memcache",t,r,v,h,e);break;case "GCPServiceCardNATBlock":fa("nat",t,r,v,h,e);break;case "GCPServiceCardPaymentFormBlock":fa("external_payment_form",t,r,v,h,e);break;case "GCPServiceCardPushNotificationsBlock":fa("push_notification_service",t,r,v,h,e);break;case "GCPServiceCardScheduledTasksBlock":fa("scheduled_tasks",
t,r,v,h,e);break;case "GCPServiceCardServiceDiscoveryBlock":fa("service_discovery",t,r,v,h,e);break;case "GCPServiceCardSquidProxyBlock":fa("squid_proxy",t,r,v,h,e);break;case "GCPServiceCardTaskQueuesBlock":fa("task_queues",t,r,v,h,e);break;case "GCPServiceCardVirtualFileSystemBlock":fa("virtual_file_system",t,r,v,h,e);break;case "GCPServiceCardVPNGatewayBlock":fa("gateway",t,r,v,h,e);break;case "GCPInputDatabase":ka("database",1,.9,t,r,v,h,e);break;case "GCPInputRecord":ka("record",1,.66,t,r,v,
h,e);break;case "GCPInputPayment":ka("payment",1,.8,t,r,v,h,e);break;case "GCPInputGateway":ka("gateway_icon",1,.44,t,r,v,h,e);break;case "GCPInputLocalCompute":ka("compute_engine_icon",1,.89,t,r,v,h,e);break;case "GCPInputBeacon":ka("beacon",.73,1,t,r,v,h,e);break;case "GCPInputStorage":ka("storage",1,.8,t,r,v,h,e);break;case "GCPInputList":ka("list",.89,1,t,r,v,h,e);break;case "GCPInputStream":ka("stream",1,.82,t,r,v,h,e);break;case "GCPInputMobileDevices":ka("mobile_devices",1,.73,t,r,v,h,e);break;
case "GCPInputCircuitBoard":ka("circuit_board",1,.9,t,r,v,h,e);break;case "GCPInputLive":ka("live",.74,1,t,r,v,h,e);break;case "GCPInputUsers":ka("users",1,.63,t,r,v,h,e);break;case "GCPInputLaptop":ka("laptop",1,.66,t,r,v,h,e);break;case "GCPInputApplication":ka("application",1,.8,t,r,v,h,e);break;case "GCPInputLightbulb":ka("lightbulb",.7,1,t,r,v,h,e);break;case "GCPInputGame":ka("game",1,.54,t,r,v,h,e);break;case "GCPInputDesktop":ka("desktop",1,.9,t,r,v,h,e);break;case "GCPInputDesktopAndMobile":ka("desktop_and_mobile",
1,.66,t,r,v,h,e);break;case "GCPInputWebcam":ka("webcam",.5,1,t,r,v,h,e);break;case "GCPInputSpeaker":ka("speaker",.7,1,t,r,v,h,e);break;case "GCPInputRetail":ka("retail",1,.89,t,r,v,h,e);break;case "GCPInputReport":ka("report",1,1,t,r,v,h,e);break;case "GCPInputPhone":ka("phone",.64,1,t,r,v,h,e);break;case "GCPInputBlank":ka("transparent",1,1,t,r,v,h,e);break;case "PresentationFrameBlock":0==h.ZOrder?v.style+="strokeColor=none;fillColor=none;":(v.style+=m(h.Text),v.value=g(h.Text),v.style+=c(v.style,
h,e,v,y));break;case "SVGPathBlock2":try{for(var Oe=h.LineWidth,Pe=h.LineColor,le=h.FillColor,me=h.DrawData.Data,jd='<svg viewBox="0 0 1 1" xmlns="http://www.w3.org/2000/svg">',l=0;l<me.length;l++){var xb=me[l],Qe=xb.a,Re=("prop"==xb.w||null==xb.w?Oe:xb.w)/Math.min(t,r)*.6,Zb="prop"==xb.s||null==xb.s?Pe:xb.s,H="prop"==xb.f||null==xb.f?le:xb.f;"object"==typeof H&&(H=Array.isArray(H.cs)?H.cs[0].c:le);jd+='<path d="'+Qe+'" fill="'+H+'" stroke="'+Zb+'" stroke-width="'+Re+'"/>'}jd+="</svg>";v.style="shape=image;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;aspect=fixed;imageAspect=0;image=data:image/svg+xml,"+
(window.btoa?btoa(jd):Base64.encode(jd,!0))+";"}catch(Ub){}break;case "BraceBlock":case "BraceBlockRotated":case "BracketBlock":case "BracketBlockRotated":var ne=0==Bb.indexOf("Bracket")?"size=0;arcSize=50;":"",oe=c(v.style,h,e,v,y),ub=T(h,e,v);v.style="group;"+ub;var Ed=Math.min(.14*(ub?t:r),100),Fd=new mxCell("",new mxGeometry(0,0,Ed,r),"shape=curlyBracket;rounded=1;"+ne+oe);Fd.vertex=!0;Fd.geometry.relative=!0;var Gd=new mxCell("",new mxGeometry(1-Ed/t,0,Ed,r),"shape=curlyBracket;rounded=1;flipH=1;"+
t,r,v,h,e);break;case "GCPServiceCardServiceDiscoveryBlock":fa("service_discovery",t,r,v,h,e);break;case "GCPServiceCardSquidProxyBlock":fa("squid_proxy",t,r,v,h,e);break;case "GCPServiceCardTaskQueuesBlock":fa("task_queues",t,r,v,h,e);break;case "GCPServiceCardVirtualFileSystemBlock":fa("virtual_file_system",t,r,v,h,e);break;case "GCPServiceCardVPNGatewayBlock":fa("gateway",t,r,v,h,e);break;case "GCPInputDatabase":la("database",1,.9,t,r,v,h,e);break;case "GCPInputRecord":la("record",1,.66,t,r,v,
h,e);break;case "GCPInputPayment":la("payment",1,.8,t,r,v,h,e);break;case "GCPInputGateway":la("gateway_icon",1,.44,t,r,v,h,e);break;case "GCPInputLocalCompute":la("compute_engine_icon",1,.89,t,r,v,h,e);break;case "GCPInputBeacon":la("beacon",.73,1,t,r,v,h,e);break;case "GCPInputStorage":la("storage",1,.8,t,r,v,h,e);break;case "GCPInputList":la("list",.89,1,t,r,v,h,e);break;case "GCPInputStream":la("stream",1,.82,t,r,v,h,e);break;case "GCPInputMobileDevices":la("mobile_devices",1,.73,t,r,v,h,e);break;
case "GCPInputCircuitBoard":la("circuit_board",1,.9,t,r,v,h,e);break;case "GCPInputLive":la("live",.74,1,t,r,v,h,e);break;case "GCPInputUsers":la("users",1,.63,t,r,v,h,e);break;case "GCPInputLaptop":la("laptop",1,.66,t,r,v,h,e);break;case "GCPInputApplication":la("application",1,.8,t,r,v,h,e);break;case "GCPInputLightbulb":la("lightbulb",.7,1,t,r,v,h,e);break;case "GCPInputGame":la("game",1,.54,t,r,v,h,e);break;case "GCPInputDesktop":la("desktop",1,.9,t,r,v,h,e);break;case "GCPInputDesktopAndMobile":la("desktop_and_mobile",
1,.66,t,r,v,h,e);break;case "GCPInputWebcam":la("webcam",.5,1,t,r,v,h,e);break;case "GCPInputSpeaker":la("speaker",.7,1,t,r,v,h,e);break;case "GCPInputRetail":la("retail",1,.89,t,r,v,h,e);break;case "GCPInputReport":la("report",1,1,t,r,v,h,e);break;case "GCPInputPhone":la("phone",.64,1,t,r,v,h,e);break;case "GCPInputBlank":la("transparent",1,1,t,r,v,h,e);break;case "PresentationFrameBlock":0==h.ZOrder?v.style+="strokeColor=none;fillColor=none;":(v.style+=m(h.Text),v.value=g(h.Text),v.style+=c(v.style,
h,e,v,y));break;case "SVGPathBlock2":try{for(var Oe=h.LineWidth,Pe=h.LineColor,le=h.FillColor,me=h.DrawData.Data,jd='<svg viewBox="0 0 1 1" xmlns="http://www.w3.org/2000/svg">',l=0;l<me.length;l++){var wb=me[l],Qe=wb.a,Re=("prop"==wb.w||null==wb.w?Oe:wb.w)/Math.min(t,r)*.6,Zb="prop"==wb.s||null==wb.s?Pe:wb.s,H="prop"==wb.f||null==wb.f?le:wb.f;"object"==typeof H&&(H=Array.isArray(H.cs)?H.cs[0].c:le);jd+='<path d="'+Qe+'" fill="'+H+'" stroke="'+Zb+'" stroke-width="'+Re+'"/>'}jd+="</svg>";v.style="shape=image;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;aspect=fixed;imageAspect=0;image=data:image/svg+xml,"+
(window.btoa?btoa(jd):Base64.encode(jd,!0))+";"}catch(Ub){}break;case "BraceBlock":case "BraceBlockRotated":case "BracketBlock":case "BracketBlockRotated":var ne=0==Ab.indexOf("Bracket")?"size=0;arcSize=50;":"",oe=c(v.style,h,e,v,y),tb=T(h,e,v);v.style="group;"+tb;var Ed=Math.min(.14*(tb?t:r),100),Fd=new mxCell("",new mxGeometry(0,0,Ed,r),"shape=curlyBracket;rounded=1;"+ne+oe);Fd.vertex=!0;Fd.geometry.relative=!0;var Gd=new mxCell("",new mxGeometry(1-Ed/t,0,Ed,r),"shape=curlyBracket;rounded=1;flipH=1;"+
ne+oe);Gd.vertex=!0;Gd.geometry.relative=!0;v.insert(Fd);v.insert(Gd);break;case "BPMNTextAnnotation":case "NoteBlock":h.InsetMargin=null;v.value=g(h.Text);v.style="group;spacingLeft=8;align=left;spacing=0;strokeColor=none;";v.style+=c(v.style,h,e,v,y);0>v.style.indexOf("verticalAlign")&&(v.style+="verticalAlign=middle;");var rc=new mxCell("",new mxGeometry(0,0,8,r),"shape=partialRectangle;right=0;fillColor=none;");rc.geometry.relative=!0;rc.vertex=!0;rc.style+=c(rc.style,h,e,v,y);v.insert(rc);break;
case "TimelineBlock":try{var Ja=new Date(h.StartDate),Se=new Date(h.FinishDate),Te={Sunday:0,Monday:1,Tuesday:2,Wednesday:3,Thursday:4,Friday:5,Saturday:6}[h.StartOfWeek],Hd=new Date(h.StartOfFiscalYear),yb,zb;switch(h.TimeUnit){case "second":yb=zb=1E3;break;case "minute":yb=zb=6E4;break;case "hour":yb=zb=36E5;break;case "day":yb=zb=864E5;break;case "week":var Ue=(7-Ja.getDay()+Te)%7;yb=(new Date(Ja.getFullYear(),Ja.getMonth(),Ja.getDate()+Ue)).getTime()-Ja.getTime();zb=6048E5;break;case "month":yb=
(new Date(Ja.getFullYear(),Ja.getMonth()+1,1)).getTime()-Ja.getTime();zb=2592E6;break;case "quarter":var pe=(12-Ja.getMonth()+Hd.getMonth())%3;yb=(new Date(Ja.getFullYear(),Ja.getMonth()+(0==pe&&Ja.getDate()>=Hd.getDate()?3:pe),Hd.getDate())).getTime()-Ja.getTime();zb=7776E6;break;case "year":yb=(new Date(Ja.getFullYear()+1,0,1)).getTime()-Ja.getTime(),zb=31536E6}var Id=Se.getTime()-Ja.getTime();console.log(yb/Id*t,zb/Id*t,Math.round((Id-yb)/zb))}catch(Ub){console.log(Ub)}break;case "FreehandBlock":try{ub=
T(h,e,v);v.style="group;"+ub;if(null!=h.Stencil){null==h.Stencil.id&&(h.Stencil.id="$$tmpId$$",Nd(h.Stencil.id,h.Stencil));for(var cc=LucidImporter.stencilsMap[h.Stencil.id],l=0;l<cc.stencils.length;l++){var db=cc.stencils[l],P=new mxCell("",new mxGeometry(0,0,t,r),"shape="+db.shapeStencil+";");"prop"==db.FillColor&&(db.FillColor=h.FillColor);null==db.FillColor&&(db.FillColor="#ffffff00");"prop"==db.LineColor&&(db.LineColor=h.LineColor);null==db.LineColor&&(db.LineColor="#ffffff00");"prop"==db.LineWidth&&
(db.LineWidth=h.LineWidth);P.style+=c(P.style,db,e,P,y);var H=h.FillColor,Ve=h.LineColor,We=h.LineWidth;h.FillColor=null;h.LineColor=null;h.LineWidth=null;P.style+=c(P.style,h,e,P,y);h.FillColor=H;h.LineColor=Ve;h.LineWidth=We;P.vertex=!0;P.geometry.relative=!0;v.insert(P)}for(var Gb=0,ub=h.Rotation;h["t"+Gb];){var qe=h["t"+Gb],re=g(qe);if(re){var Ka=new mxCell(re,new mxGeometry(0,0,t,r),"strokeColor=none;fillColor=none;overflow=visible;");h.Rotation=0;Ka.style+=c(Ka.style,qe,e,Ka,y);Ka.style+=c(Ka.style,
h,e,Ka,y);h.Rotation=ub;if(null!=cc.text&&null!=cc.text["t"+Gb]){var sa=cc.text["t"+Gb];sa.Rotation=ub+(sa.rotation?sa.rotation:0)+(h["t"+Gb+"_TRotation"]?h["t"+Gb+"_TRotation"]:0)+(h["t"+Gb+"_TAngle"]?h["t"+Gb+"_TAngle"]:0);Ka.style+=c(Ka.style,sa,e,Ka,y);var eb=Ka.geometry;sa.w&&(eb.width*=sa.w);sa.h&&(eb.height*=sa.h);sa.x&&(eb.x=sa.x/cc.w);sa.y&&(eb.y=sa.y/cc.h);sa.fw&&(eb.width*=.6*sa.fw/t);sa.fh&&(eb.height*=.6*sa.fh/r);sa.fx&&(eb.x=(0<sa.fx?1:0)+.6*sa.fx/t);sa.fy&&(eb.y=(0<sa.fy?1:0)+.6*sa.fy/
r)}Ka.vertex=!0;Ka.geometry.relative=!0;v.insert(Ka)}Gb++}}if(h.FillColor&&h.FillColor.url){var Uc=new mxCell("",new mxGeometry(0,0,t,r),"shape=image;html=1;");Uc.style+=ec({},{},h.FillColor.url);Uc.vertex=!0;Uc.geometry.relative=!0;v.insert(Uc)}}catch(Ub){console.log("Freehand error",Ub)}break;case "RightArrowBlock":var Jd=h.Head*r/t;v.style="shape=singleArrow;arrowWidth="+(1-2*h.Notch)+";arrowSize="+Jd;v.value=g(h);v.style+=c(v.style,h,e,v,y);break;case "DoubleArrowBlock":Jd=h.Head*r/t,v.style=
case "TimelineBlock":try{var Ia=new Date(h.StartDate),Se=new Date(h.FinishDate),Te={Sunday:0,Monday:1,Tuesday:2,Wednesday:3,Thursday:4,Friday:5,Saturday:6}[h.StartOfWeek],Hd=new Date(h.StartOfFiscalYear),xb,yb;switch(h.TimeUnit){case "second":xb=yb=1E3;break;case "minute":xb=yb=6E4;break;case "hour":xb=yb=36E5;break;case "day":xb=yb=864E5;break;case "week":var Ue=(7-Ia.getDay()+Te)%7;xb=(new Date(Ia.getFullYear(),Ia.getMonth(),Ia.getDate()+Ue)).getTime()-Ia.getTime();yb=6048E5;break;case "month":xb=
(new Date(Ia.getFullYear(),Ia.getMonth()+1,1)).getTime()-Ia.getTime();yb=2592E6;break;case "quarter":var pe=(12-Ia.getMonth()+Hd.getMonth())%3;xb=(new Date(Ia.getFullYear(),Ia.getMonth()+(0==pe&&Ia.getDate()>=Hd.getDate()?3:pe),Hd.getDate())).getTime()-Ia.getTime();yb=7776E6;break;case "year":xb=(new Date(Ia.getFullYear()+1,0,1)).getTime()-Ia.getTime(),yb=31536E6}var Id=Se.getTime()-Ia.getTime();console.log(xb/Id*t,yb/Id*t,Math.round((Id-xb)/yb))}catch(Ub){console.log(Ub)}break;case "FreehandBlock":try{tb=
T(h,e,v);v.style="group;"+tb;if(null!=h.Stencil){null==h.Stencil.id&&(h.Stencil.id="$$tmpId$$",Nd(h.Stencil.id,h.Stencil));for(var cc=LucidImporter.stencilsMap[h.Stencil.id],l=0;l<cc.stencils.length;l++){var cb=cc.stencils[l],P=new mxCell("",new mxGeometry(0,0,t,r),"shape="+cb.shapeStencil+";");"prop"==cb.FillColor&&(cb.FillColor=h.FillColor);null==cb.FillColor&&(cb.FillColor="#ffffff00");"prop"==cb.LineColor&&(cb.LineColor=h.LineColor);null==cb.LineColor&&(cb.LineColor="#ffffff00");"prop"==cb.LineWidth&&
(cb.LineWidth=h.LineWidth);P.style+=c(P.style,cb,e,P,y);var H=h.FillColor,Ve=h.LineColor,We=h.LineWidth;h.FillColor=null;h.LineColor=null;h.LineWidth=null;P.style+=c(P.style,h,e,P,y);h.FillColor=H;h.LineColor=Ve;h.LineWidth=We;P.vertex=!0;P.geometry.relative=!0;v.insert(P)}for(var Gb=0,tb=h.Rotation;h["t"+Gb];){var qe=h["t"+Gb],re=g(qe);if(re){var Ja=new mxCell(re,new mxGeometry(0,0,t,r),"strokeColor=none;fillColor=none;overflow=visible;");h.Rotation=0;Ja.style+=c(Ja.style,qe,e,Ja,y);Ja.style+=c(Ja.style,
h,e,Ja,y);h.Rotation=tb;if(null!=cc.text&&null!=cc.text["t"+Gb]){var ta=cc.text["t"+Gb];ta.Rotation=tb+(ta.rotation?ta.rotation:0)+(h["t"+Gb+"_TRotation"]?h["t"+Gb+"_TRotation"]:0)+(h["t"+Gb+"_TAngle"]?h["t"+Gb+"_TAngle"]:0);Ja.style+=c(Ja.style,ta,e,Ja,y);var db=Ja.geometry;ta.w&&(db.width*=ta.w);ta.h&&(db.height*=ta.h);ta.x&&(db.x=ta.x/cc.w);ta.y&&(db.y=ta.y/cc.h);ta.fw&&(db.width*=.6*ta.fw/t);ta.fh&&(db.height*=.6*ta.fh/r);ta.fx&&(db.x=(0<ta.fx?1:0)+.6*ta.fx/t);ta.fy&&(db.y=(0<ta.fy?1:0)+.6*ta.fy/
r)}Ja.vertex=!0;Ja.geometry.relative=!0;v.insert(Ja)}Gb++}}if(h.FillColor&&h.FillColor.url){var Uc=new mxCell("",new mxGeometry(0,0,t,r),"shape=image;html=1;");Uc.style+=ec({},{},h.FillColor.url);Uc.vertex=!0;Uc.geometry.relative=!0;v.insert(Uc)}}catch(Ub){console.log("Freehand error",Ub)}break;case "RightArrowBlock":var Jd=h.Head*r/t;v.style="shape=singleArrow;arrowWidth="+(1-2*h.Notch)+";arrowSize="+Jd;v.value=g(h);v.style+=c(v.style,h,e,v,y);break;case "DoubleArrowBlock":Jd=h.Head*r/t,v.style=
"shape=doubleArrow;arrowWidth="+(1-2*h.Notch)+";arrowSize="+Jd,v.value=g(h),v.style+=c(v.style,h,e,v,y)}v.style&&0>v.style.indexOf("html")&&(v.style+="html=1;");if(h.Title&&h.Text)try{var se=v.geometry,te=new mxCell(g(h.Title),new mxGeometry(0,se.height,se.width,10),"strokeColor=none;fillColor=none;");te.vertex=!0;v.insert(te);v.style+=m(h.Title,y)}catch(Ub){console.log(Ub)}Md(v,h);return v}function Md(a,b){if(b.Text_TRotation||b.TextRotation)try{var d=mxUtils.toDegree(b.Text_TRotation)+mxUtils.toDegree(b.TextRotation);
if(0!=d&&a.value){var k=a.geometry.width,n=a.geometry.height,c=k,f=n,w=0,e=0;if(-90==d||-270==d)var c=n,f=k,x=Math.abs(n-k)/2,w=x/k,e=-x/n;var d=d+mxUtils.toDegree(b.Rotation),m=a.style.split(";").filter(function(a){return 0>a.indexOf("fillColor=")&&0>a.indexOf("strokeColor=")&&0>a.indexOf("rotation=")}).join(";"),z=new mxCell(a.value,new mxGeometry(w,e,c,f),m+"fillColor=none;strokeColor=none;rotation="+d+";");a.value=null;z.geometry.relative=!0;z.vertex=!0;a.insert(z)}}catch(ve){console.log(ve)}}
var Ib=0,Jb=0,y=!1,md=["AEUSBBlock","AGSCutandpasteBlock","iOSDeviceiPadLandscape","iOSDeviceiPadProLandscape"],nd=["fpDoor"],Sb={None:"none;",Arrow:"block;endFill=1;","Hollow Arrow":"block;endFill=0;","Open Arrow":"open;","CFN ERD Zero Or More Arrow":"ERzeroToMany;startSize=10;","CFN ERD One Or More Arrow":"ERoneToMany;startSize=10;","CFN ERD Many Arrow":"ERmany;startSize=10;","CFN ERD Exactly One Arrow":"ERmandOne;startSize=10;","CFN ERD Zero Or One Arrow":"ERzeroToOne;startSize=10;","CFN ERD One Arrow":"ERone;startSize=16;",
@ -955,7 +956,7 @@ SMJobs:"shape=mxgraph.sitemap.jobs;strokeColor=#000000;fillColor=#E6E6E6",SMLuci
SMSlideshow:"shape=mxgraph.sitemap.slideshow;strokeColor=#000000;fillColor=#E6E6E6",SMUpload:"shape=mxgraph.sitemap.upload;strokeColor=#000000;fillColor=#E6E6E6",SVGPathBlock2:"mxCompositeShape",PresentationFrameBlock:"mxCompositeShape",MinimalTextBlock:"strokeColor=none;fillColor=none",FreehandBlock:"mxCompositeShape",ExtShapeLaptopBlock:"strokeColor=none;shape=mxgraph.citrix.laptop_2;verticalLabelPosition=bottom;verticalAlign=top",ExtShapeServerBlock:"strokeColor=none;shape=mxgraph.citrix.tower_server;verticalLabelPosition=bottom;verticalAlign=top",
ExtShapeCloudBlock:"strokeColor=none;shape=mxgraph.citrix.cloud;verticalLabelPosition=bottom;verticalAlign=top",ExtShapeUserBlock:"strokeColor=none;shape=mxgraph.aws3d.end_user;verticalLabelPosition=bottom;verticalAlign=top;fillColor=#073763",ExtShapeWorkstationLCDBlock:"strokeColor=none;shape=mxgraph.veeam.3d.workstation;verticalLabelPosition=bottom;verticalAlign=top"},od=RegExp("{{(date{.*}|[^%^{^}]+)}}","g");Tb.prototype.getSize=function(){return(this.nurbsValues.length/4|0)-1};Tb.prototype.getX=
function(a){return Math.round(100*this.nurbsValues[4*(a+1)])/100};Tb.prototype.getY=function(a){return Math.round(100*this.nurbsValues[4*(a+1)+1])/100};LucidImporter.importState=function(a,b){function d(a){if(a.Properties){for(var b in a.Properties)"Stencil-"==b.substr(0,8)&&Nd(b.substr(8),a.Properties[b]);LucidImporter.globalProps=a.Properties}for(var d in a.Pages)n.push(a.Pages[d]);n.sort(function(a,b){return a.Properties.Order<b.Properties.Order?-1:a.Properties.Order>b.Properties.Order?1:0})}LucidImporter.stencilsMap=
{};LucidImporter.imgSrcRepl=b;LucidImporter.stylePointsSet=new Set;LucidImporter.globalProps={};LucidImporter.hasUnknownShapes=!1;var k=['<?xml version="1.0" encoding="UTF-8"?>',"<mxfile>"],n=[];null!=a.state&&"1"==urlParams.dev&&null!=window.console&&console.log(JSON.stringify(JSON.parse(a.state),null,2));null!=a.state?d(JSON.parse(a.state)):null==a.Page&&null!=a.Pages?d(a):n.push(a);for(var c=qa(),f=new mxCodec,w=0;w<n.length;w++){k.push("<diagram");null!=n[w].Properties&&null!=n[w].Properties.Title&&
{};LucidImporter.imgSrcRepl=b;LucidImporter.stylePointsSet=new Set;LucidImporter.globalProps={};LucidImporter.hasUnknownShapes=!1;var k=['<?xml version="1.0" encoding="UTF-8"?>',"<mxfile>"],n=[];null!=a.state&&"1"==urlParams.dev&&null!=window.console&&console.log(JSON.stringify(JSON.parse(a.state),null,2));null!=a.state?d(JSON.parse(a.state)):null==a.Page&&null!=a.Pages?d(a):n.push(a);for(var c=ra(),f=new mxCodec,w=0;w<n.length;w++){k.push("<diagram");null!=n[w].Properties&&null!=n[w].Properties.Title&&
k.push(' name="'+mxUtils.htmlEntities(n[w].Properties.Title)+'"');k.push(' id="'+w+'"');Xc(c,n[w],!0);var e=f.encode(c.getModel());c.getModel().clear();k.push(">"+Graph.compress(mxUtils.getXml(e))+"</diagram>")}k.push("</mxfile>");LucidImporter.imgSrcRepl=null;return k.join("")}})();function VsdxExport(f){function g(a,b){var d={"[Content_Types].xml":"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><Types xmlns='http://schemas.openxmlformats.org/package/2006/content-types'><Default Extension='png' ContentType='image/png'/><Default Extension='jpg' ContentType='image/jpeg'/><Default Extension='jpeg' ContentType='image/jpeg'/><Default Extension='svg' ContentType='image/svg+xml'/><Default Extension='bmp' ContentType='image/bmp'/><Default Extension='gif' ContentType='image/gif'/><Default Extension='emf' ContentType='image/x-emf' /><Default Extension='rels' ContentType='application/vnd.openxmlformats-package.relationships+xml' /><Default Extension='xml' ContentType='application/xml' /><Override PartName='/docProps/app.xml' ContentType='application/vnd.openxmlformats-officedocument.extended-properties+xml' /><Override PartName='/docProps/core.xml' ContentType='application/vnd.openxmlformats-package.core-properties+xml' /><Override PartName='/docProps/custom.xml' ContentType='application/vnd.openxmlformats-officedocument.custom-properties+xml' /><Override PartName='/visio/document.xml' ContentType='application/vnd.ms-visio.drawing.main+xml' /><Override PartName='/visio/masters/masters.xml' ContentType='application/vnd.ms-visio.masters+xml' /><Override PartName='/visio/masters/master1.xml' ContentType='application/vnd.ms-visio.master+xml'/><Override PartName='/visio/pages/page1.xml' ContentType='application/vnd.ms-visio.page+xml' /><Override PartName='/visio/pages/pages.xml' ContentType='application/vnd.ms-visio.pages+xml' /><Override PartName='/visio/windows.xml' ContentType='application/vnd.ms-visio.windows+xml' /></Types>",
"_rels/.rels":"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><Relationships xmlns='http://schemas.openxmlformats.org/package/2006/relationships'><Relationship Id='rId1' Type='http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties' Target='docProps/core.xml' /><Relationship Id='rId2' Type='http://schemas.microsoft.com/visio/2010/relationships/document' Target='visio/document.xml' /><Relationship Id='rId3' Type='http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties' Target='docProps/custom.xml' /><Relationship Id='rId4' Type='http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties' Target='docProps/app.xml' /></Relationships>",
"docProps/app.xml":'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Properties xmlns=\'http://schemas.openxmlformats.org/officeDocument/2006/extended-properties\' xmlns:vt=\'http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes\'><Application>Microsoft Visio</Application><AppVersion>15.0000</AppVersion><Template /><Manager /><Company /><HyperlinkBase /></Properties>',"docProps/core.xml":"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><cp:coreProperties xmlns:cp='http://schemas.openxmlformats.org/package/2006/metadata/core-properties' xmlns:dc='http://purl.org/dc/elements/1.1/' xmlns:dcterms='http://purl.org/dc/terms/' xmlns:dcmitype='http://purl.org/dc/dcmitype/' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'><dc:title /><dc:subject /><dc:creator /><cp:keywords /><dc:description /><cp:category /><dc:language>en-US</dc:language></cp:coreProperties>",
@ -965,7 +966,7 @@ k.push(' name="'+mxUtils.htmlEntities(n[w].Properties.Title)+'"');k.push(' id="'
"visio/masters/master1.xml":"<?xml version='1.0' encoding='utf-8' ?><MasterContents xmlns='http://schemas.microsoft.com/office/visio/2012/main' xmlns:r='http://schemas.openxmlformats.org/officeDocument/2006/relationships' xml:space='preserve'><Shapes><Shape ID='5' OriginalID='0' Type='Shape' LineStyle='7' FillStyle='7' TextStyle='7'><Cell N='PinX' V='1.5' F='GUARD((BeginX+EndX)/2)'/><Cell N='PinY' V='1.5' F='GUARD((BeginY+EndY)/2)'/><Cell N='Width' V='1' F='GUARD(EndX-BeginX)'/><Cell N='Height' V='-1' F='GUARD(EndY-BeginY)'/><Cell N='LocPinX' V='0.5' F='GUARD(Width*0.5)'/><Cell N='LocPinY' V='-0.5' F='GUARD(Height*0.5)'/><Cell N='Angle' V='0' F='GUARD(0DA)'/><Cell N='FlipX' V='0' F='GUARD(FALSE)'/><Cell N='FlipY' V='0' F='GUARD(FALSE)'/><Cell N='ResizeMode' V='0'/><Cell N='BeginX' V='1'/><Cell N='BeginY' V='2'/><Cell N='EndX' V='2'/><Cell N='EndY' V='1'/><Cell N='TxtPinX' V='0' F='SETATREF(Controls.TextPosition)'/><Cell N='TxtPinY' V='-1' F='SETATREF(Controls.TextPosition.Y)'/><Cell N='TxtWidth' V='0.5555555555555556' F='MAX(TEXTWIDTH(TheText),5*Char.Size)'/><Cell N='TxtHeight' V='0.2444444444444444' F='TEXTHEIGHT(TheText,TxtWidth)'/><Cell N='TxtLocPinX' V='0.2777777777777778' F='TxtWidth*0.5'/><Cell N='TxtLocPinY' V='0.1222222222222222' F='TxtHeight*0.5'/><Cell N='TxtAngle' V='0'/><Cell N='LockHeight' V='1'/><Cell N='LockCalcWH' V='1'/><Cell N='HelpTopic' V='Vis_SE.chm!#20000'/><Cell N='Copyright' V='Copyright 2001 Microsoft Corporation. All rights reserved.'/><Cell N='NoAlignBox' V='1'/><Cell N='DynFeedback' V='2'/><Cell N='GlueType' V='2'/><Cell N='ObjType' V='2'/><Cell N='NoLiveDynamics' V='1'/><Cell N='ShapeSplittable' V='1'/><Cell N='LayerMember' V='0'/><Section N='Control'><Row N='TextPosition'><Cell N='X' V='0'/><Cell N='Y' V='-1'/><Cell N='XDyn' V='0' F='Controls.TextPosition'/><Cell N='YDyn' V='-1' F='Controls.TextPosition.Y'/><Cell N='XCon' V='5' F='IF(OR(STRSAME(SHAPETEXT(TheText),\"\"),HideText),5,0)'/><Cell N='YCon' V='0'/><Cell N='CanGlue' V='0'/><Cell N='Prompt' V='Reposition Text'/></Row></Section><Section N='Geometry' IX='0'><Cell N='NoFill' V='1'/><Cell N='NoLine' V='0'/><Cell N='NoShow' V='0'/><Cell N='NoSnap' V='0'/><Cell N='NoQuickDrag' V='0'/><Row T='MoveTo' IX='1'><Cell N='X' V='0'/><Cell N='Y' V='0'/></Row><Row T='LineTo' IX='2'><Cell N='X' V='0'/><Cell N='Y' V='-1'/></Row></Section></Shape></Shapes></MasterContents>"},
k;for(k in d)if(1<b&&k==E.CONTENT_TYPES_XML){for(var n=mxUtils.parseXml(d[k]),c=n.documentElement,f=c.children,w=null,e=0;e<f.length;e++){var x=f[e];"/visio/pages/page1.xml"==x.getAttribute(E.PART_NAME)&&(w=x)}for(e=2;e<=b;e++)f=w.cloneNode(),f.setAttribute(E.PART_NAME,"/visio/pages/page"+e+".xml"),c.appendChild(f);A(a,k,n,!0)}else a.file(k,d[k])}function p(a,b,d){return null!=a.createElementNS?a.createElementNS(b,d):a.createElement(d)}function e(a){var b=N[a];null==b&&(b=O++,N[a]=b);return b}function m(a){var b=
{};try{var d=a.getGraphBounds().clone(),k=a.view.scale,n=a.view.translate,c=Math.round(d.x/k)-n.x,f=Math.round(d.y/k)-n.y,w=a.pageFormat.width,e=a.pageFormat.height;0>c&&(c+=Math.ceil((n.x-d.x/k)/w)*w);0>f&&(f+=Math.ceil((n.y-d.y/k)/e)*e);var x=Math.max(1,Math.ceil((d.width/k+c)/w)),m=Math.max(1,Math.ceil((d.height/k+f)/e));b.gridEnabled=a.gridEnabled;b.gridSize=a.gridSize;b.guidesEnabled=a.graphHandler.guidesEnabled;b.pageVisible=a.pageVisible;b.pageScale=a.pageScale;b.pageWidth=a.pageFormat.width*
x;b.pageHeight=a.pageFormat.height*m;b.backgroundClr=a.background;b.mathEnabled=a.mathEnabled;b.shadowVisible=a.shadowVisible}catch(pa){}return b}function c(a,d,k,n){return b(a,d/E.CONVERSION_FACTOR,k,n)}function b(a,b,d,k){d=p(d,E.XMLNS,"Cell");d.setAttribute("N",a);d.setAttribute("V",b);k&&d.setAttribute("F",k);return d}function a(a,b,d,k,n){var f=p(n,E.XMLNS,"Row");f.setAttribute("T",a);f.setAttribute("IX",b);f.appendChild(c("X",d,n));f.appendChild(c("Y",k,n));return f}function d(a,d,k){var n=
x;b.pageHeight=a.pageFormat.height*m;b.backgroundClr=a.background;b.mathEnabled=a.mathEnabled;b.shadowVisible=a.shadowVisible}catch(qa){}return b}function c(a,d,k,n){return b(a,d/E.CONVERSION_FACTOR,k,n)}function b(a,b,d,k){d=p(d,E.XMLNS,"Cell");d.setAttribute("N",a);d.setAttribute("V",b);k&&d.setAttribute("F",k);return d}function a(a,b,d,k,n){var f=p(n,E.XMLNS,"Row");f.setAttribute("T",a);f.setAttribute("IX",b);f.appendChild(c("X",d,n));f.appendChild(c("Y",k,n));return f}function d(a,d,k){var n=
a.style[mxConstants.STYLE_FILLCOLOR];if(n&&"none"!=n){if(d.appendChild(b("FillForegnd",n,k)),(n=a.style[mxConstants.STYLE_GRADIENTCOLOR])&&"none"!=n){d.appendChild(b("FillBkgnd",n,k));var n=a.style[mxConstants.STYLE_GRADIENT_DIRECTION],f=28;if(n)switch(n){case mxConstants.DIRECTION_EAST:f=25;break;case mxConstants.DIRECTION_WEST:f=27;break;case mxConstants.DIRECTION_NORTH:f=30}d.appendChild(b("FillPattern",f,k))}}else d.appendChild(b("FillPattern",0,k));(n=a.style[mxConstants.STYLE_STROKECOLOR])&&
"none"!=n?d.appendChild(b("LineColor",n,k)):d.appendChild(b("LinePattern",0,k));(n=a.style[mxConstants.STYLE_STROKEWIDTH])&&d.appendChild(c("LineWeight",n,k));(f=a.style[mxConstants.STYLE_OPACITY])?n=f:(n=a.style[mxConstants.STYLE_FILL_OPACITY],f=a.style[mxConstants.STYLE_STROKE_OPACITY]);n&&d.appendChild(b("FillForegndTrans",1-parseInt(n)/100,k));f&&d.appendChild(b("LineColorTrans",1-parseInt(f)/100,k));if(1==a.style[mxConstants.STYLE_DASHED]){n=a.style[mxConstants.STYLE_DASH_PATTERN];f=9;if(n)switch(n){case "1 1":f=
10;break;case "1 2":f=3;break;case "1 4":f=17}d.appendChild(b("LinePattern",f,k))}1==a.style[mxConstants.STYLE_SHADOW]&&(d.appendChild(b("ShdwPattern",1,k)),d.appendChild(b("ShdwForegnd","#000000",k)),d.appendChild(b("ShdwForegndTrans",.6,k)),d.appendChild(b("ShapeShdwType",1,k)),d.appendChild(b("ShapeShdwOffsetX","0.02946278254943948",k)),d.appendChild(b("ShapeShdwOffsetY","-0.02946278254943948",k)),d.appendChild(b("ShapeShdwScaleFactor","1",k)),d.appendChild(b("ShapeShdwBlur","0.05555555555555555",
@ -986,7 +987,7 @@ f));O.appendChild(b("NameUniv",T[G].name,f));O.appendChild(b("ColorTrans","0",f)
n=p(k,E.RELS_XMLNS,"Relationships"),c=p(k,E.RELS_XMLNS,"Relationship");c.setAttribute("Type","http://schemas.microsoft.com/visio/2010/relationships/master");c.setAttribute("Id","rId1");c.setAttribute("Target","../masters/master1.xml");n.appendChild(c);var f=G.images;if(0<f.length)for(var w=0;w<f.length;w++)c=p(k,E.RELS_XMLNS,"Relationship"),c.setAttribute("Type",E.XMLNS_R+"/image"),c.setAttribute("Id","rId"+(w+2)),c.setAttribute("Target","../media/"+f[w]),n.appendChild(c);k.appendChild(n);A(a,d,k)}
var E=this,G=new mxVsdxCanvas2D,N={},O=1;this.exportCurrentDiagrams=function(){try{if(f.spinner.spin(document.body,mxResources.get("exporting"))){var a=function(a,b){var d=a.model.getChildCells(a.model.root);k[b]=[];for(var n=0;n<d.length;n++)d[n].visible&&k[b].push({name:d[n].value||"Background",visible:d[n].visible,locked:d[n].style&&0<=d[n].style.indexOf("locked=1")})},b=new JSZip;G.init(b);N={};O=1;var d={},k={},n={},c=null!=f.pages?f.pages.length:1;if(null!=f.pages){for(var w=f.editor.graph.getSelectionCells(),
x=f.currentPage,e=0;e<f.pages.length;e++){var z=f.pages[e];f.currentPage!=z&&f.selectPage(z,!0);var p=z.getName(),A=f.editor.graph,E=null;null!=A.themes&&"darkTheme"==A.defaultThemeName&&(E=A.stylesheet,A.stylesheet=A.getDefaultStylesheet(),A.refresh());try{var Fa=m(A);d[p]=B(A,Fa);a(A,p);D(b,e+1);n[p]=Fa}finally{null!=E&&(A.stylesheet=E,A.refresh())}}x!=f.currentPage&&f.selectPage(x,!0);f.editor.graph.setSelectionCells(w)}else A=f.editor.graph,Fa=m(A),p="Page1",d[p]=B(A,Fa),a(A,p),D(b,1),n[p]=Fa;
g(b,c);C(b,d,k,n);a=function(){b.generateAsync({type:"base64"}).then(function(a){f.spinner.stop();var b=f.getBaseFilename();f.saveData(b+".vsdx","vsdx",a,"application/vnd.visio2013",!0)})};0<G.filesLoading?G.onFilesLoaded=a:a()}return!0}catch(Bb){return console.log(Bb),f.spinner.stop(),!1}}}VsdxExport.prototype.CONVERSION_FACTOR=101.6;VsdxExport.prototype.PAGES_TYPE="http://schemas.microsoft.com/visio/2010/relationships/page";VsdxExport.prototype.RELS_XMLNS="http://schemas.openxmlformats.org/package/2006/relationships";
g(b,c);C(b,d,k,n);a=function(){b.generateAsync({type:"base64"}).then(function(a){f.spinner.stop();var b=f.getBaseFilename();f.saveData(b+".vsdx","vsdx",a,"application/vnd.visio2013",!0)})};0<G.filesLoading?G.onFilesLoaded=a:a()}return!0}catch(Ab){return console.log(Ab),f.spinner.stop(),!1}}}VsdxExport.prototype.CONVERSION_FACTOR=101.6;VsdxExport.prototype.PAGES_TYPE="http://schemas.microsoft.com/visio/2010/relationships/page";VsdxExport.prototype.RELS_XMLNS="http://schemas.openxmlformats.org/package/2006/relationships";
VsdxExport.prototype.XML_SPACE="preserve";VsdxExport.prototype.XMLNS_R="http://schemas.openxmlformats.org/officeDocument/2006/relationships";VsdxExport.prototype.XMLNS="http://schemas.microsoft.com/office/visio/2012/main";VsdxExport.prototype.VISIO_PAGES="visio/pages/";VsdxExport.prototype.PREFEX="com/mxgraph/io/vsdx/resources/export/";VsdxExport.prototype.VSDX_ENC="ISO-8859-1";VsdxExport.prototype.PART_NAME="PartName";VsdxExport.prototype.CONTENT_TYPES_XML="[Content_Types].xml";
VsdxExport.prototype.VISIO_PAGES_RELS="visio/pages/_rels/";
VsdxExport.prototype.ARROWS_MAP={"none|1":0,"none|0":0,"open|1":1,"open|0":1,"block|1":4,"block|0":14,"classic|1":5,"classic|0":17,"oval|1":10,"oval|0":20,"diamond|1":11,"diamond|0":22,"blockThin|1":2,"blockThin|0":15,"dash|1":23,"dash|0":23,"ERone|1":24,"ERone|0":24,"ERmandOne|1":25,"ERmandOne|0":25,"ERmany|1":27,"ERmany|0":27,"ERoneToMany|1":28,"ERoneToMany|0":28,"ERzeroToMany|1":29,"ERzeroToMany|0":29,"ERzeroToOne|1":30,"ERzeroToOne|0":30,"openAsync|1":9,"openAsync|0":9};function mxVsdxCanvas2D(){mxAbstractCanvas2D.call(this)}mxUtils.extend(mxVsdxCanvas2D,mxAbstractCanvas2D);mxVsdxCanvas2D.prototype.textEnabled=!0;mxVsdxCanvas2D.prototype.init=function(f){this.filesLoading=0;this.zip=f};mxVsdxCanvas2D.prototype.onFilesLoaded=function(){};mxVsdxCanvas2D.prototype.createElt=function(f){return null!=this.xmlDoc.createElementNS?this.xmlDoc.createElementNS(VsdxExport.prototype.XMLNS,f):this.xmlDoc.createElement(f)};
@ -1017,9 +1018,9 @@ n.appendChild(b)},R=function(a,b){b=b||{};for(var d=0;d<a.length;d++){var k=a[d]
(n?"\n":""))}else if(1==k.nodeType){var n=k.nodeName.toUpperCase(),f=k.childNodes.length,c=window.getComputedStyle(k,null),w="bold"==c.getPropertyValue("font-weight")||b.bold,x="italic"==c.getPropertyValue("font-style")||b.italic,e=0<=c.getPropertyValue("text-decoration").indexOf("underline")||b.underline,m=c.getPropertyValue("text-align"),g;g=c.getPropertyValue("color");g=(g=g.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i))&&4===g.length?"#"+("0"+parseInt(g[1],10).toString(16)).slice(-2)+
("0"+parseInt(g[2],10).toString(16)).slice(-2)+("0"+parseInt(g[3],10).toString(16)).slice(-2):"";c={bold:w,italic:x,underline:e,align:m,fontColor:g,fontSize:parseFloat(c.getPropertyValue("font-size")),fontFamily:c.getPropertyValue("font-family").replace(/"/g,""),blockElem:"block"==c.getPropertyValue("display")||"BR"==n||"LI"==n,OL:b.OL,LiIndex:b.LiIndex};"UL"==n?(w=z.createElt("Row"),w.setAttribute("IX",E),w.appendChild(z.createCellElem("HorzAlign","0")),w.appendChild(z.createCellElem("Bullet","1")),
A.appendChild(w),w=z.createElt("pp"),w.setAttribute("IX",E++),C.appendChild(w)):"OL"==n?c.OL=!0:"LI"==n&&(c.LiIndex=d+1);0<f?(R(k.childNodes,c),"UL"==n&&(w=z.createElt("Row"),w.setAttribute("IX",E),w.appendChild(z.createCellElem("Bullet","0")),A.appendChild(w),w=z.createElt("pp"),w.setAttribute("IX",E++),C.appendChild(w)),S(c,B,A,C,"")):S(c,B,A,C,(b.OL?b.LiIndex+". ":"")+k.textContent)}}};"html"==d&&mxClient.IS_SVG?(m=this.cellState.text.node.getElementsByTagName("div")[mxClient.NO_FO?0:1],null!=
m&&R(m.childNodes,{})):S({fontColor:z.cellState.style.fontColor,fontSize:z.cellState.style.fontSize,fontFamily:z.cellState.style.fontFamily},B,A,C,m);d=m=0;e=Math.max(e,N);p=Math.max(p,G);x=p/2;var M=e/2,ma=parseInt(mxUtils.getValue(this.cellState.style,"rotation","0")),ea=ma*Math.PI/180;switch(c){case "right":0!=ma?(f-=x*Math.cos(ea),g-=x*Math.sin(ea)):m=G/2;break;case "left":0!=ma?(f+=x*Math.cos(ea),g+=x*Math.sin(ea)):m=-G/2}switch(b){case "top":0!=ma?(f+=M*Math.sin(ea),g+=M*Math.cos(ea)):d=N/2;
break;case "bottom":0!=ma?(f-=M*Math.sin(ea),g-=M*Math.cos(ea)):d=-N/2}f=(f-n.x+k.dx)*k.scale;g=(n.height-g+n.y-k.dy)*k.scale;this.shape.appendChild(this.createCellElemScaled("TxtPinX",f));this.shape.appendChild(this.createCellElemScaled("TxtPinY",g));this.shape.appendChild(this.createCellElemScaled("TxtWidth",p));this.shape.appendChild(this.createCellElemScaled("TxtHeight",e));this.shape.appendChild(this.createCellElemScaled("TxtLocPinX",x+m));this.shape.appendChild(this.createCellElemScaled("TxtLocPinY",
M+d));w-=ma;0!=w&&this.shape.appendChild(this.createCellElem("TxtAngle",(360-w)*Math.PI/180));this.shape.appendChild(B);this.shape.appendChild(A);this.shape.appendChild(C)}};mxVsdxCanvas2D.prototype.rotate=function(f,g,p,e,m){0!=f&&(g=this.state,e+=g.dx,m+=g.dy,e*=g.scale,m*=g.scale,this.shape.appendChild(this.createCellElem("Angle",(360-f)*Math.PI/180)),g.rotation+=f,g.rotationCx=e,g.rotationCy=m)};
m&&R(m.childNodes,{})):S({fontColor:z.cellState.style.fontColor,fontSize:z.cellState.style.fontSize,fontFamily:z.cellState.style.fontFamily},B,A,C,m);d=m=0;e=Math.max(e,N);p=Math.max(p,G);x=p/2;var K=e/2,na=parseInt(mxUtils.getValue(this.cellState.style,"rotation","0")),ea=na*Math.PI/180;switch(c){case "right":0!=na?(f-=x*Math.cos(ea),g-=x*Math.sin(ea)):m=G/2;break;case "left":0!=na?(f+=x*Math.cos(ea),g+=x*Math.sin(ea)):m=-G/2}switch(b){case "top":0!=na?(f+=K*Math.sin(ea),g+=K*Math.cos(ea)):d=N/2;
break;case "bottom":0!=na?(f-=K*Math.sin(ea),g-=K*Math.cos(ea)):d=-N/2}f=(f-n.x+k.dx)*k.scale;g=(n.height-g+n.y-k.dy)*k.scale;this.shape.appendChild(this.createCellElemScaled("TxtPinX",f));this.shape.appendChild(this.createCellElemScaled("TxtPinY",g));this.shape.appendChild(this.createCellElemScaled("TxtWidth",p));this.shape.appendChild(this.createCellElemScaled("TxtHeight",e));this.shape.appendChild(this.createCellElemScaled("TxtLocPinX",x+m));this.shape.appendChild(this.createCellElemScaled("TxtLocPinY",
K+d));w-=na;0!=w&&this.shape.appendChild(this.createCellElem("TxtAngle",(360-w)*Math.PI/180));this.shape.appendChild(B);this.shape.appendChild(A);this.shape.appendChild(C)}};mxVsdxCanvas2D.prototype.rotate=function(f,g,p,e,m){0!=f&&(g=this.state,e+=g.dx,m+=g.dy,e*=g.scale,m*=g.scale,this.shape.appendChild(this.createCellElem("Angle",(360-f)*Math.PI/180)),g.rotation+=f,g.rotationCx=e,g.rotationCy=m)};
mxVsdxCanvas2D.prototype.stroke=function(){this.geoSec.appendChild(this.createCellElem("NoFill","1"));this.geoSec.appendChild(this.createCellElem("NoLine","0"))};mxVsdxCanvas2D.prototype.fill=function(){this.geoSec.appendChild(this.createCellElem("NoFill","0"));this.geoSec.appendChild(this.createCellElem("NoLine","1"))};mxVsdxCanvas2D.prototype.fillAndStroke=function(){this.geoSec.appendChild(this.createCellElem("NoFill","0"));this.geoSec.appendChild(this.createCellElem("NoLine","0"))};function BmpDecoder(f,g){this.pos=0;this.buffer=f;this.is_with_alpha=!!g;if(66!=this.buffer[0]&&77!=this.buffer[1])throw Error("Invalid BMP File");this.pos+=2;this.parseHeader();this.parseBGR()}
BmpDecoder.prototype.parseHeader=function(){var f=this.buffer;this.fileSize=f[this.pos+3]<<24|f[this.pos+2]<<16|f[this.pos+1]<<8|f[this.pos];this.pos+=4;this.reserved=f[this.pos+3]<<24|f[this.pos+2]<<16|f[this.pos+1]<<8|f[this.pos];this.pos+=4;this.offset=f[this.pos+3]<<24|f[this.pos+2]<<16|f[this.pos+1]<<8|f[this.pos];this.pos+=4;this.headerSize=f[this.pos+3]<<24|f[this.pos+2]<<16|f[this.pos+1]<<8|f[this.pos];this.pos+=4;this.width=f[this.pos+3]<<24|f[this.pos+2]<<16|f[this.pos+1]<<8|f[this.pos];
this.pos+=4;this.height=f[this.pos+3]<<24|f[this.pos+2]<<16|f[this.pos+1]<<8|f[this.pos];this.pos+=4;this.planes=f[this.pos+1]<<8|f[this.pos];this.pos+=2;this.bitPP=f[this.pos+1]<<8|f[this.pos];this.pos+=2;this.compress=f[this.pos+3]<<24|f[this.pos+2]<<16|f[this.pos+1]<<8|f[this.pos];this.pos+=4;this.rawSize=f[this.pos+3]<<24|f[this.pos+2]<<16|f[this.pos+1]<<8|f[this.pos];this.pos+=4;this.hr=f[this.pos+3]<<24|f[this.pos+2]<<16|f[this.pos+1]<<8|f[this.pos];this.pos+=4;this.vr=f[this.pos+3]<<24|f[this.pos+
@ -1039,7 +1040,7 @@ repl:"$1&amp;$2"}];e.prototype.decodeVsdx=function(c,b,a,d){var k=this,n={},w={}
function(b,d){var n=z[b].getValue(),c=p.createMxGraph();c.getModel().beginUpdate();p.importPage(n,c,c.getDefaultParent(),!0);p.scaleGraph(c,n.getPageScale()/n.getDrawingScale());c.getModel().endUpdate();p.postImportPage(n,c,function(){p.sanitiseGraph(c);a=a.concat(k.RESPONSE_DIAGRAM_START);a=a.concat(k.processPage(c,n));a=a.concat(k.RESPONSE_DIAGRAM_END);b<z.length-1?g(b+1,d):d()})},p=k;0<z.length?g(0,d):d()},m=0,g=0,p=function(){if(g==m)try{x()}catch(C){console.log(C),null!=d?d():b("")}};JSZip.loadAsync(c).then(function(a){0==
Object.keys(a.files).length?null!=d&&d():a.forEach(function(a,b){var d=b.name,c=d.toLowerCase(),f=c.length;c.indexOf(".xml")==f-4||c.indexOf(".rels")==f-5?(m++,b.async("string").then(function(a){if(0!==a.length){65279==a.charCodeAt(0)&&(a=a.substring(1));var b=e.parseXml(a);if(null==b)if(0===a.charCodeAt(1)&&0===a.charCodeAt(3)&&0===a.charCodeAt(5))b=e.parseXml(e.decodeUTF16LE(a));else{for(b=0;b<e.incorrectXMLReqExp.length;b++)e.incorrectXMLReqExp[b].regExp.test(a)&&(a=a.replace(e.incorrectXMLReqExp[b].regExp,
e.incorrectXMLReqExp[b].repl));b=e.parseXml(a)}null!=b&&(b.vsdxFileName=d,n[d]=b)}g++;p()})):0===c.indexOf(e.vsdxPlaceholder+"/media")&&(m++,function(a,b){var d=a.length-b.length,k=a.indexOf(b,d);return-1!==k&&k===d}(c,".emf")?JSZip.support.blob&&window.EMF_CONVERT_URL?b.async("blob").then(function(a){var b=new FormData;b.append("img",a,c);b.append("inputformat","emf");b.append("outputformat","png");var n=new XMLHttpRequest;n.open("POST",EMF_CONVERT_URL);n.responseType="blob";k.editorUi.addRemoteServiceSecurityCheck(n);
n.onreadystatechange=mxUtils.bind(this,function(){if(4==n.readyState)if(200<=n.status&&299>=n.status)try{var a=new FileReader;a.readAsDataURL(n.response);a.onloadend=function(){var b=a.result.indexOf(",")+1;w[d]=a.result.substr(b);g++;p()}}catch(M){console.log(M),g++,p()}else g++,p()});n.send(b)}):(g++,p()):function(a,b){var d=a.length-b.length,k=a.indexOf(b,d);return-1!==k&&k===d}(c,".bmp")?JSZip.support.uint8array&&b.async("uint8array").then(function(a){a=new BmpDecoder(a);var b=document.createElement("canvas");
n.onreadystatechange=mxUtils.bind(this,function(){if(4==n.readyState)if(200<=n.status&&299>=n.status)try{var a=new FileReader;a.readAsDataURL(n.response);a.onloadend=function(){var b=a.result.indexOf(",")+1;w[d]=a.result.substr(b);g++;p()}}catch(K){console.log(K),g++,p()}else g++,p()});n.send(b)}):(g++,p()):function(a,b){var d=a.length-b.length,k=a.indexOf(b,d);return-1!==k&&k===d}(c,".bmp")?JSZip.support.uint8array&&b.async("uint8array").then(function(a){a=new BmpDecoder(a);var b=document.createElement("canvas");
b.width=a.width;b.height=a.height;b.getContext("2d").putImageData(a.imageData,0,0);a=b.toDataURL("image/jpeg");w[d]=a.substr(23);g++;p()}):b.async("base64").then(function(a){w[d]=a;g++;p()}))})},function(a){null!=d&&d(a)})};e.prototype.createMxGraph=function(){var c=new Graph;c.setExtendParents(!1);c.setExtendParentsOnAdd(!1);c.setConstrainChildren(!1);c.setHtmlLabels(!0);c.getModel().maintainEdgeParent=!1;return c};e.prototype.processPage=function(c,b){var a=(new mxCodec).encode(c.getModel());a.setAttribute("style",
"default-style2");var a=mxUtils.getXml(a),d="";if(null!=b)var k=mxUtils.htmlEntities(b.getPageName())+(b.isBackground()?" (Background)":""),d=d+('<diagram name="'+k+'" id="'+k.replace(/\s/g,"_")+'">');return d+=Graph.compress(a)};e.prototype.scalePoint=function(c,b){null!=c&&(c.x*=b,c.y*=b);return c};e.prototype.scaleRect=function(c,b){null!=c&&(c.x*=b,c.y*=b,c.height*=b,c.width*=b);return c};e.prototype.importNodes=function(c,b,a,d){var k=a.lastIndexOf("/"),n=a,f=a;if(-1!==k&&(n=a.substring(0,k),
f=a.substring(k+1,a.length),a=function(a,b){return a[b]?a[b]:null}(d,n+"/_rels/"+f+".rels"),null!=a)){var e=a.getElementsByTagName("Relationship");a={};for(k=0;k<e.length;k++){var f=e.item(k),m=f.getAttribute("Id"),f=f.getAttribute("Target");a[m]=f}b=b.getElementsByTagName("Rel");for(k=0;k<b.length;k++)if(e=b.item(k),f=function(a,b){return a[b]?a[b]:null}(a,e.getAttribute("r:id")),f=n+"/"+f,null!=f&&(m=d[f]?d[f]:null,null!=m)){e=e.parentNode;for(m=m.firstChild;null!=m&&1!=m.nodeType;)m=m.nextSibling;
@ -1270,14 +1271,14 @@ function(a){this.quickStyleType=a};b.prototype.setQuickStyleVariation=function(a
f.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$(),c=Math.abs(g-c),e=Math.abs(m-e),c=e=.5*p+(c*c+e*e)/(8*p),D=Math.abs(e),e=Math.round(100*e/k*100)/100,c=Math.round(100*c/d*100)/100,g=Math.round(100*g/k*100)/100,m=Math.round(100*m/d*100)/100,p=Math.round(100*p)/100,e=Math.abs(e),c=Math.abs(c),d=0>p?"1":"0",p=D<Math.abs(p)?"1":"0";b.setLastX(g);b.setLastY(m);return'<arc rx="'+(new String(e)).toString()+'" ry="'+(new String(c)).toString()+'" x="'+(new String(g)).toString()+'" y="'+(new String(m)).toString()+
'" x-axis-rotation="0" large-arc-flag="'+p+'" sweep-flag="'+d+'"/>'}return""};return a}(f.mxgraph.io.vsdx.geometry.Row);e.ArcTo=c;c.__class="com.mxgraph.io.vsdx.geometry.ArcTo"})(e.geometry||(e.geometry={}))})(g.vsdx||(g.vsdx={}))})(g.io||(g.io={}))})(f.mxgraph||(f.mxgraph={}))})(com||(com={}));
(function(f){(function(g){(function(g){(function(e){(function(e){var c=function(b){function a(a){return b.call(this,a,null,null)||this}__extends(a,b);a.prototype.handle=function(a,b){return""};return a}(f.mxgraph.io.vsdx.geometry.Row);e.DelRow=c;c.__class="com.mxgraph.io.vsdx.geometry.DelRow"})(e.geometry||(e.geometry={}))})(g.vsdx||(g.vsdx={}))})(g.io||(g.io={}))})(f.mxgraph||(f.mxgraph={}))})(com||(com={}));
(function(f){(function(g){(function(g){(function(e){(function(e){var c=function(b){function a(a,c,f,e,g,m,p){a=b.call(this,a,c,f)||this;a.a=e;a.b=g;a.c=m;a.d=p;return a}__extends(a,b);a.prototype.handle=function(a,b){if(null!=this.x&&null!=this.y&&null!=this.a&&null!=this.b&&null!=this.c&&null!=this.d){var d=b.getHeight(),c=b.getWidth(),k=this.x*f.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$(),e=this.y*f.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$(),e=d-e,g=this.a*f.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$(),
(function(f){(function(g){(function(g){(function(e){(function(e){var c=function(b){function a(a,k,c,f,e,g,m){a=b.call(this,a,k,c)||this;a.a=f;a.b=e;a.c=g;a.d=m;return a}__extends(a,b);a.prototype.handle=function(a,b){if(null!=this.x&&null!=this.y&&null!=this.a&&null!=this.b&&null!=this.c&&null!=this.d){var d=b.getHeight(),c=b.getWidth(),k=this.x*f.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$(),e=this.y*f.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$(),e=d-e,g=this.a*f.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$(),
m=this.b*f.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$(),m=d-m,p=this.c*f.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$(),D=this.d*f.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$(),g=Math.abs(g-k),m=Math.abs(m-e),m=Math.sqrt(g*g+m*m),p=Math.abs(p-k),D=Math.abs(d-D-e),k=100*k/c,D=Math.round(100*Math.sqrt(p*p+D*D)/d/2*100)/100,c=Math.round(100*m/c/2*100)/100,p=Math.round(100*(k-2*c))/100,k=Math.round(100*(k+2*c))/100,d=Math.round(100*e/d*100)/100;return'<move x="'+(new String(p)).toString()+
'" y="'+(new String(d)).toString()+'"/><arc rx="'+(new String(c)).toString()+'" ry="'+(new String(D)).toString()+'" x="'+(new String(k)).toString()+'" y="'+(new String(d)).toString()+'" x-axis-rotation="0" large-arc-flag="1" sweep-flag="0"/><arc rx="'+(new String(c)).toString()+'" ry="'+(new String(D)).toString()+'" x="'+(new String(p)).toString()+'" y="'+(new String(d)).toString()+'" x-axis-rotation="0" large-arc-flag="1" sweep-flag="0"/>'}return""};return a}(f.mxgraph.io.vsdx.geometry.Row);e.Ellipse=
c;c.__class="com.mxgraph.io.vsdx.geometry.Ellipse"})(e.geometry||(e.geometry={}))})(g.vsdx||(g.vsdx={}))})(g.io||(g.io={}))})(f.mxgraph||(f.mxgraph={}))})(com||(com={}));
(function(f){(function(g){(function(g){(function(e){(function(e){var c=function(b){function a(a,c,f,e,g,m,p){a=b.call(this,a,c,f)||this;a.a=e;a.b=g;a.c=m;a.d=p;return a}__extends(a,b);a.prototype.handle=function(a,b){if(null!=this.x&&null!=this.y&&null!=this.a&&null!=this.b&&null!=this.c&&null!=this.d){var d=b.getHeight(),c=b.getWidth(),k=this.x*f.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$(),e=this.y*f.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$(),e=d-e,g=this.a*f.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$(),
m=this.b*f.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$(),p=this.c,D=this.d,k=100*k/c,e=100*e/d,E=b.getLastX()*c/100,G=b.getLastY()*d/100,N=k*c/100,O=e*d/100,T=d-m,ca=-p,p=Math.sqrt(E*E+G*G)*Math.cos(Math.atan2(G,E)-ca),m=Math.sqrt(E*E+G*G)*Math.sin(Math.atan2(G,E)-ca),S=Math.sqrt(N*N+O*O)*Math.cos(Math.atan2(O,N)-ca),R=Math.sqrt(N*N+O*O)*Math.sin(Math.atan2(O,N)-ca),M=Math.sqrt(g*g+T*T)*Math.cos(Math.atan2(T,g)-ca),ma=Math.sqrt(g*g+T*T)*Math.sin(Math.atan2(T,g)-ca),ea=((p-S)*(p+S)*(R-ma)-(S-
M)*(S+M)*(m-R)+D*D*(m-R)*(R-ma)*(m-ma))/(2*((p-S)*(R-ma)-(S-M)*(m-R))),ec=((p-S)*(S-M)*(p-M)/(D*D)+(S-M)*(m-R)*(m+R)-(p-S)*(R-ma)*(R+ma))/(2*((S-M)*(m-R)-(p-S)*(R-ma))),ja=p-ea,fc=m-ec,ja=Math.sqrt(ja*ja+fc*fc*D*D),D=ja/D,ca=180*ca/Math.PI,k=Math.round(100*k)/100,e=Math.round(100*e)/100,ja=Math.round(100*ja/c*100)/100,D=Math.round(100*D/d*100)/100,ca=Math.round(100*ca)/100,d=0<(N-E)*(T-G)-(O-G)*(g-E)?"0":"1",c="0";f.mxgraph.io.vsdx.mxVsdxUtils.isInsideTriangle(ea,ec,p,m,S,R,M,ma)&&this.isReflexAngle(ea,
ec,p,m,S,R,M,ma)&&(c="1");b.setLastX(k);b.setLastY(e);return'<arc rx="'+(new String(ja)).toString()+'" ry="'+(new String(D)).toString()+'" x="'+(new String(k)).toString()+'" y="'+(new String(e)).toString()+'" x-axis-rotation="'+(new String(ca)).toString()+'" large-arc-flag="'+c+'" sweep-flag="'+d+'"/>'}return""};a.prototype.isReflexAngle=function(a,b,c,f,e,g,m,p){c-=a;f-=b;g-=b;e=m-a;p-=b;b=a=0;c=180*(Math.atan2(f,c)-Math.atan2(b,a))/Math.PI;e=180*(Math.atan2(g,e)-Math.atan2(b,a))/Math.PI;a=180*(Math.atan2(p,
m=this.b*f.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$(),p=this.c,D=this.d,k=100*k/c,e=100*e/d,E=b.getLastX()*c/100,G=b.getLastY()*d/100,N=k*c/100,O=e*d/100,T=d-m,ca=-p,p=Math.sqrt(E*E+G*G)*Math.cos(Math.atan2(G,E)-ca),m=Math.sqrt(E*E+G*G)*Math.sin(Math.atan2(G,E)-ca),S=Math.sqrt(N*N+O*O)*Math.cos(Math.atan2(O,N)-ca),R=Math.sqrt(N*N+O*O)*Math.sin(Math.atan2(O,N)-ca),K=Math.sqrt(g*g+T*T)*Math.cos(Math.atan2(T,g)-ca),na=Math.sqrt(g*g+T*T)*Math.sin(Math.atan2(T,g)-ca),ea=((p-S)*(p+S)*(R-na)-(S-
K)*(S+K)*(m-R)+D*D*(m-R)*(R-na)*(m-na))/(2*((p-S)*(R-na)-(S-K)*(m-R))),ec=((p-S)*(S-K)*(p-K)/(D*D)+(S-K)*(m-R)*(m+R)-(p-S)*(R-na)*(R+na))/(2*((S-K)*(m-R)-(p-S)*(R-na))),ka=p-ea,fc=m-ec,ka=Math.sqrt(ka*ka+fc*fc*D*D),D=ka/D,ca=180*ca/Math.PI,k=Math.round(100*k)/100,e=Math.round(100*e)/100,ka=Math.round(100*ka/c*100)/100,D=Math.round(100*D/d*100)/100,ca=Math.round(100*ca)/100,d=0<(N-E)*(T-G)-(O-G)*(g-E)?"0":"1",c="0";f.mxgraph.io.vsdx.mxVsdxUtils.isInsideTriangle(ea,ec,p,m,S,R,K,na)&&this.isReflexAngle(ea,
ec,p,m,S,R,K,na)&&(c="1");b.setLastX(k);b.setLastY(e);return'<arc rx="'+(new String(ka)).toString()+'" ry="'+(new String(D)).toString()+'" x="'+(new String(k)).toString()+'" y="'+(new String(e)).toString()+'" x-axis-rotation="'+(new String(ca)).toString()+'" large-arc-flag="'+c+'" sweep-flag="'+d+'"/>'}return""};a.prototype.isReflexAngle=function(a,b,c,f,e,g,m,p){c-=a;f-=b;g-=b;e=m-a;p-=b;b=a=0;c=180*(Math.atan2(f,c)-Math.atan2(b,a))/Math.PI;e=180*(Math.atan2(g,e)-Math.atan2(b,a))/Math.PI;a=180*(Math.atan2(p,
m)-Math.atan2(b,a))/Math.PI;c=(c-a)%360;e=(e-a)%360;180<c?c-=360:-180>c&&(c+=360);180<e?e-=360:-180>e&&(e+=360);return(0<c&&0>e||0>c&&0<e)&&180<Math.abs(c-e)?!0:!1};return a}(f.mxgraph.io.vsdx.geometry.Row);e.EllipticalArcTo=c;c.__class="com.mxgraph.io.vsdx.geometry.EllipticalArcTo"})(e.geometry||(e.geometry={}))})(g.vsdx||(g.vsdx={}))})(g.io||(g.io={}))})(f.mxgraph||(f.mxgraph={}))})(com||(com={}));
(function(f){(function(g){(function(g){(function(e){(function(e){var c=function(b){function a(a,c,f,e,g){a=b.call(this,a,c,f)||this;a.a=e;a.b=g;return a}__extends(a,b);a.prototype.handle=function(a,b){return""};return a}(f.mxgraph.io.vsdx.geometry.Row);e.InfiniteLine=c;c.__class="com.mxgraph.io.vsdx.geometry.InfiniteLine"})(e.geometry||(e.geometry={}))})(g.vsdx||(g.vsdx={}))})(g.io||(g.io={}))})(f.mxgraph||(f.mxgraph={}))})(com||(com={}));
(function(f){(function(g){(function(g){(function(e){(function(e){var c=function(b){function a(a,c,f){return b.call(this,a,c,f)||this}__extends(a,b);a.prototype.handle=function(a,b){var d=a.x,c=a.y,k=b.getHeight(),e=b.getWidth();null!=this.x&&null!=this.y&&(d=this.x*f.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$(),c=this.y*f.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$());d=Math.round(100*d/e*100)/100;c=Math.round(100*(100-100*c/k))/100;a.x=d;a.y=c;b.setLastX(d);b.setLastY(c);return'<line x="'+
@ -1507,8 +1508,8 @@ com.mxgraph.io.vsdx.VsdxShape.arrowTypes_$LI$();com.mxgraph.io.vsdx.VsdxShape.ar
com.mxgraph.io.vsdx.mxVsdxTheme.colorIds_$LI$();com.mxgraph.io.vsdx.mxVsdxTheme.themesIds_$LI$();com.mxgraph.io.vsdx.mxVsdxTheme.__static_initialize();com.mxgraph.io.vsdx.mxVsdxConstants.MY_SET_$LI$();com.mxgraph.io.vsdx.mxVsdxConstants.SET_VALUES_$LI$();com.mxgraph.io.vsdx.mxPropertiesManager.defaultColors_$LI$();com.mxgraph.io.vsdx.mxPropertiesManager.__static_initialize();com.mxgraph.io.mxVsdxCodec.vsdxPlaceholder_$LI$();com.mxgraph.io.mxVsdxCodec.parsererrorNS_$LI$();
EditorUi.prototype.doImportVisio=function(f,g,p,e){e=e||f.name;null!=e&&/(\.vs(x|sx?))($|\?)/i.test(e)?(new com.mxgraph.io.mxVssxCodec(this)).decodeVssx(f,g,null,p):(new com.mxgraph.io.mxVsdxCodec(this)).decodeVsdx(f,g,null,p)};function mxGraphMlCodec(){this.cachedRefObj={}}mxGraphMlCodec.prototype.refRegexp=/^\{y\:GraphMLReference\s+(\d+)\}$/;mxGraphMlCodec.prototype.staticRegexp=/^\{x\:Static\s+(.+)\.(.+)\}$/;
mxGraphMlCodec.prototype.decode=function(f,g,p){try{var e=mxUtils.parseXml(f),m=this.getDirectChildNamedElements(e.documentElement,mxGraphMlConstants.GRAPH);this.initializeKeys(e.documentElement);f='<?xml version="1.0" encoding="UTF-8"?><mxfile>';for(e=0;e<m.length;e++){var c=m[e],b=this.createMxGraph(),a=b.getModel();a.beginUpdate();try{for(this.nodesMap={},this.edges=[],this.importGraph(c,b,b.getDefaultParent()),e=0;e<this.edges.length;e++)for(var d=this.edges[e],k=d.edges,n=d.parent,w=d.dx,x=d.dy,
z=0;z<k.length;z++)this.importEdge(k[z],b,n,w,x)}catch(ea){throw console.log(ea),ea;}finally{a.endUpdate()}a.beginUpdate();try{var B=b.getModel().cells,A;for(A in B){var C=B[A];if(C.edge&&0<C.getChildCount())for(e=0;e<C.getChildCount();e++){var D=C.children[e].geometry;if(D.adjustIt){var E=b.view.getState(C),G=E.absolutePoints,N=G[0],O=G[G.length-1],T=D.x,ca=D.y,w=O.x-N.x,x=O.y-N.y,S=N.x+T*w,R=N.y+T*x,M=Math.sqrt(w*w+x*x),w=w/M,x=x/M,S=S-ca*x,R=R+ca*w,ma=b.view.getRelativePoint(E,S,R);D.x=ma.x;D.y=
ma.y}}}}catch(ea){throw console.log(ea),ea;}finally{a.endUpdate()}f+=this.processPage(b,e+1)}g&&g(f+"</mxfile>")}catch(ea){p&&p(ea)}};
z=0;z<k.length;z++)this.importEdge(k[z],b,n,w,x)}catch(ea){throw console.log(ea),ea;}finally{a.endUpdate()}a.beginUpdate();try{var B=b.getModel().cells,A;for(A in B){var C=B[A];if(C.edge&&0<C.getChildCount())for(e=0;e<C.getChildCount();e++){var D=C.children[e].geometry;if(D.adjustIt){var E=b.view.getState(C),G=E.absolutePoints,N=G[0],O=G[G.length-1],T=D.x,ca=D.y,w=O.x-N.x,x=O.y-N.y,S=N.x+T*w,R=N.y+T*x,K=Math.sqrt(w*w+x*x),w=w/K,x=x/K,S=S-ca*x,R=R+ca*w,na=b.view.getRelativePoint(E,S,R);D.x=na.x;D.y=
na.y}}}}catch(ea){throw console.log(ea),ea;}finally{a.endUpdate()}f+=this.processPage(b,e+1)}g&&g(f+"</mxfile>")}catch(ea){p&&p(ea)}};
mxGraphMlCodec.prototype.initializeKeys=function(f){var g=this.getDirectChildNamedElements(f,mxGraphMlConstants.KEY);this.nodesKeys={};this.edgesKeys={};this.portsKeys={};this.sharedData={};this.nodesKeys[mxGraphMlConstants.NODE_GEOMETRY]={};this.nodesKeys[mxGraphMlConstants.USER_TAGS]={};this.nodesKeys[mxGraphMlConstants.NODE_STYLE]={};this.nodesKeys[mxGraphMlConstants.NODE_LABELS]={};this.nodesKeys[mxGraphMlConstants.NODE_GRAPHICS]={};this.edgesKeys[mxGraphMlConstants.EDGE_GEOMETRY]={};this.edgesKeys[mxGraphMlConstants.EDGE_STYLE]=
{};this.edgesKeys[mxGraphMlConstants.EDGE_LABELS]={};this.portsKeys[mxGraphMlConstants.PORT_LOCATION_PARAMETER]={};this.portsKeys[mxGraphMlConstants.PORT_STYLE]={};this.portsKeys[mxGraphMlConstants.PORT_VIEW_STATE]={};for(var p,e=0;e<g.length;e++){var m=this.dataElem2Obj(g[e]),c=m[mxGraphMlConstants.ID],b=m[mxGraphMlConstants.KEY_FOR],a=m[mxGraphMlConstants.KEY_NAME],d=m[mxGraphMlConstants.KEY_YTYPE];a==mxGraphMlConstants.SHARED_DATA&&(p=c);a=a?a:d;switch(b){case mxGraphMlConstants.NODE:this.nodesKeys[a]=
{key:c,keyObj:m};break;case mxGraphMlConstants.EDGE:this.edgesKeys[a]={key:c,keyObj:m};break;case mxGraphMlConstants.PORT:this.portsKeys[a]={key:c,keyObj:m};break;case mxGraphMlConstants.ALL:m={key:c,keyObj:m},this.nodesKeys[a]=m,this.edgesKeys[a]=m,this.portsKeys[a]=m}}f=this.getDirectChildNamedElements(f,mxGraphMlConstants.DATA);for(e=0;e<f.length;e++)if(f[e].getAttribute(mxGraphMlConstants.KEY)==p)for(b=this.getDirectChildNamedElements(f[e],mxGraphMlConstants.Y_SHARED_DATA),g=0;g<b.length;g++)for(a=

View file

@ -2,13 +2,14 @@
// Modified to allow "word-break: break-word" in styles. It is done by adding "break-word" which is at index 55 of J array J[55] to "cssLitGroup" of "word-break"
// Modified to support justify-content. Add possible values to J array below ["flex-start,flex-end,center,space-between,space-around,initial".split(",")], then in L map (the variable after J), add its definition ["justify-content":{cssPropBits:0,cssLitGroup:[J[81]],cssFns:[]}]
// Added support for flex-direction (next J index is 83)
// Added support for align-items (next J index is 84)
(function(){var c=void 0,n=!0,s=null,C=!1,J=["aliceblue,antiquewhite,aqua,aquamarine,azure,beige,bisque,black,blanchedalmond,blue,blueviolet,brown,burlywood,cadetblue,chartreuse,chocolate,coral,cornflowerblue,cornsilk,crimson,cyan,darkblue,darkcyan,darkgoldenrod,darkgray,darkgreen,darkkhaki,darkmagenta,darkolivegreen,darkorange,darkorchid,darkred,darksalmon,darkseagreen,darkslateblue,darkslategray,darkturquoise,darkviolet,deeppink,deepskyblue,dimgray,dodgerblue,firebrick,floralwhite,forestgreen,fuchsia,gainsboro,ghostwhite,gold,goldenrod,gray,green,greenyellow,honeydew,hotpink,indianred,indigo,ivory,khaki,lavender,lavenderblush,lawngreen,lemonchiffon,lightblue,lightcoral,lightcyan,lightgoldenrodyellow,lightgreen,lightgrey,lightpink,lightsalmon,lightseagreen,lightskyblue,lightslategray,lightsteelblue,lightyellow,lime,limegreen,linen,magenta,maroon,mediumaquamarine,mediumblue,mediumorchid,mediumpurple,mediumseagreen,mediumslateblue,mediumspringgreen,mediumturquoise,mediumvioletred,midnightblue,mintcream,mistyrose,moccasin,navajowhite,navy,oldlace,olive,olivedrab,orange,orangered,orchid,palegoldenrod,palegreen,paleturquoise,palevioletred,papayawhip,peachpuff,peru,pink,plum,powderblue,purple,red,rosybrown,royalblue,saddlebrown,salmon,sandybrown,seagreen,seashell,sienna,silver,skyblue,slateblue,slategray,snow,springgreen,steelblue,tan,teal,thistle,tomato,transparent,turquoise,violet,wheat,white,whitesmoke,yellow,yellowgreen".split(","),
"all-scroll,col-resize,crosshair,default,e-resize,hand,help,move,n-resize,ne-resize,no-drop,not-allowed,nw-resize,pointer,progress,row-resize,s-resize,se-resize,sw-resize,text,vertical-text,w-resize,wait".split(","),"armenian,decimal,decimal-leading-zero,disc,georgian,lower-alpha,lower-greek,lower-latin,lower-roman,square,upper-alpha,upper-latin,upper-roman".split(","),"100,200,300,400,500,600,700,800,900,bold,bolder,lighter".split(","),"block-level,inline-level,table-caption,table-cell,table-column,table-column-group,table-footer-group,table-header-group,table-row,table-row-group".split(","),
"condensed,expanded,extra-condensed,extra-expanded,narrower,semi-condensed,semi-expanded,ultra-condensed,ultra-expanded,wider".split(","),"inherit,inline,inline-block,inline-box,inline-flex,inline-grid,inline-list-item,inline-stack,inline-table,run-in".split(","),"behind,center-left,center-right,far-left,far-right,left-side,leftwards,right-side,rightwards".split(","),"large,larger,small,smaller,x-large,x-small,xx-large,xx-small".split(","),"dashed,dotted,double,groove,outset,ridge,solid".split(","),
"ease,ease-in,ease-in-out,ease-out,linear,step-end,step-start".split(","),"at,closest-corner,closest-side,ellipse,farthest-corner,farthest-side".split(","),"baseline,middle,sub,super,text-bottom,text-top".split(","),"caption,icon,menu,message-box,small-caption,status-bar".split(","),"fast,faster,slow,slower,x-fast,x-slow".split(","),["above","below","higher","level","lower"],["cursive","fantasy","monospace","sans-serif","serif"],["loud","silent","soft","x-loud","x-soft"],["no-repeat","repeat-x","repeat-y",
"round","space"],["blink","line-through","overline","underline"],["block","flex","grid","table"],["high","low","x-high","x-low"],["nowrap","pre","pre-line","pre-wrap"],["absolute","relative","static"],["alternate","alternate-reverse","reverse"],["border-box","content-box","padding-box"],["capitalize","lowercase","uppercase"],["child","female","male"],["=","opacity"],["backwards","forwards"],["bidi-override","embed"],["bottom","top"],["break-all","keep-all"],["clip","ellipsis"],["contain","cover"],
["continuous","digits"],["end","start"],["flat","preserve-3d"],["hide","show"],["horizontal","vertical"],["inside","outside"],["italic","oblique"],["left","right"],["ltr","rtl"],["no-content","no-display"],["paused","running"],["suppress","unrestricted"],["thick","thin"],[","],["/"],["all"],["always"],["auto"],["avoid"],["both"],["break-word"],["center"],["circle"],["code"],["collapse"],["contents"],["fixed"],["hidden"],["infinite"],["inset"],["invert"],["justify"],["list-item"],["local"],["medium"],
["mix"],["none"],["normal"],["once"],["repeat"],["scroll"],["separate"],["small-caps"],["spell-out"],["to"],["visible"], "flex-start,flex-end,center,space-between,space-around,initial".split(","), "row|row-reverse|column|column-reverse|initial".split("|")],L={animation:{cssPropBits:517,cssLitGroup:[J[10],J[24],J[29],J[45],J[48],J[54],J[63],J[71],J[72]],cssFns:["cubic-bezier()","steps()"]},"animation-delay":{cssPropBits:5,cssLitGroup:[J[48]],cssFns:[]},"animation-direction":{cssPropBits:0,cssLitGroup:[J[24],J[48],J[72]],cssFns:[]},"animation-duration":"animation-delay","animation-fill-mode":{cssPropBits:0,cssLitGroup:[J[29],J[48],
["mix"],["none"],["normal"],["once"],["repeat"],["scroll"],["separate"],["small-caps"],["spell-out"],["to"],["visible"], "flex-start,flex-end,center,space-between,space-around,initial".split(","), "row|row-reverse|column|column-reverse|initial".split("|"), "stretch|center|flex-start|flex-end|baseline|initial".split("|")],L={animation:{cssPropBits:517,cssLitGroup:[J[10],J[24],J[29],J[45],J[48],J[54],J[63],J[71],J[72]],cssFns:["cubic-bezier()","steps()"]},"animation-delay":{cssPropBits:5,cssLitGroup:[J[48]],cssFns:[]},"animation-direction":{cssPropBits:0,cssLitGroup:[J[24],J[48],J[72]],cssFns:[]},"animation-duration":"animation-delay","animation-fill-mode":{cssPropBits:0,cssLitGroup:[J[29],J[48],
J[54],J[71]],cssFns:[]},"animation-iteration-count":{cssPropBits:5,cssLitGroup:[J[48],J[63]],cssFns:[]},"animation-name":{cssPropBits:512,cssLitGroup:[J[48],J[71]],cssFns:[]},"animation-play-state":{cssPropBits:0,cssLitGroup:[J[45],J[48]],cssFns:[]},"animation-timing-function":{cssPropBits:0,cssLitGroup:[J[10],J[48]],cssFns:["cubic-bezier()","steps()"]},appearance:{cssPropBits:0,cssLitGroup:[J[71]],cssFns:[]},azimuth:{cssPropBits:5,cssLitGroup:[J[7],J[42],J[56]],cssFns:[]},"backface-visibility":{cssPropBits:0,
cssLitGroup:[J[59],J[62],J[80]],cssFns:[]},background:{cssPropBits:23,cssLitGroup:[J[0],J[18],J[25],J[31],J[34],J[42],J[48],J[49],J[52],J[56],J[61],J[68],J[71],J[74],J[75]],cssFns:"image(),linear-gradient(),radial-gradient(),repeating-linear-gradient(),repeating-radial-gradient(),rgb(),rgba()".split(",")},"background-attachment":{cssPropBits:0,cssLitGroup:[J[48],J[61],J[68],J[75]],cssFns:[]},"background-color":{cssPropBits:2,cssLitGroup:[J[0]],cssFns:["rgb()","rgba()"]},"background-image":{cssPropBits:16,
cssLitGroup:[J[48],J[71]],cssFns:["image()","linear-gradient()","radial-gradient()","repeating-linear-gradient()","repeating-radial-gradient()"]},"background-position":{cssPropBits:5,cssLitGroup:[J[31],J[42],J[48],J[56]],cssFns:[]},"background-repeat":{cssPropBits:0,cssLitGroup:[J[18],J[48],J[74]],cssFns:[]},"background-size":{cssPropBits:5,cssLitGroup:[J[34],J[48],J[52]],cssFns:[]},border:{cssPropBits:7,cssLitGroup:[J[0],J[9],J[47],J[62],J[64],J[69],J[71]],cssFns:["rgb()","rgba()"]},"border-bottom":"border",
@ -29,7 +30,7 @@ cssLitGroup:[J[46],J[71],J[72]],cssFns:[]},top:"bottom",transform:{cssPropBits:0
cssFns:[]},"white-space":{cssPropBits:0,cssLitGroup:[J[22],J[72]],cssFns:[]},width:"min-height","word-break":{cssPropBits:0,cssLitGroup:[J[32],J[72],J[55]],cssFns:[]},"word-spacing":"letter-spacing","word-wrap":"overflow-wrap","z-index":"bottom",zoom:"line-height","cubic-bezier()":"animation-delay","steps()":{cssPropBits:5,cssLitGroup:[J[36],J[48]],cssFns:[]},"image()":{cssPropBits:18,cssLitGroup:[J[0],J[48]],cssFns:["rgb()","rgba()"]},"linear-gradient()":{cssPropBits:7,cssLitGroup:[J[0],J[31],J[42],J[48],
J[79]],cssFns:["rgb()","rgba()"]},"radial-gradient()":{cssPropBits:7,cssLitGroup:[J[0],J[11],J[31],J[42],J[48],J[56],J[57]],cssFns:["rgb()","rgba()"]},"repeating-linear-gradient()":"linear-gradient()","repeating-radial-gradient()":"radial-gradient()","rgb()":{cssPropBits:1,cssLitGroup:[J[48]],cssFns:[]},"rgba()":"rgb()","rect()":{cssPropBits:5,cssLitGroup:[J[48],J[52]],cssFns:[]},"alpha()":{cssPropBits:1,cssLitGroup:[J[28]],cssFns:[]},"matrix()":"animation-delay","perspective()":"border-bottom-left-radius",
"rotate()":"border-bottom-left-radius","rotate3d()":"animation-delay","rotatex()":"border-bottom-left-radius","rotatey()":"border-bottom-left-radius","rotatez()":"border-bottom-left-radius","scale()":"animation-delay","scale3d()":"animation-delay","scalex()":"border-bottom-left-radius","scaley()":"border-bottom-left-radius","scalez()":"border-bottom-left-radius","skew()":"animation-delay","skewx()":"border-bottom-left-radius","skewy()":"border-bottom-left-radius","translate()":"animation-delay","translate3d()":"animation-delay",
"translatex()":"border-bottom-left-radius","translatey()":"border-bottom-left-radius","translatez()":"border-bottom-left-radius", "justify-content":{cssPropBits:0,cssLitGroup:[J[81]],cssFns:[]}, "flex-direction":{cssPropBits:0,cssLitGroup:[J[82]],cssFns:[]}},O;for(O in L)"string"===typeof L[O]&&Object.hasOwnProperty.call(L,O)&&(L[O]=L[L[O]]);"undefined"!==typeof window&&(window.cssSchema=L);var U,X;
"translatex()":"border-bottom-left-radius","translatey()":"border-bottom-left-radius","translatez()":"border-bottom-left-radius", "justify-content":{cssPropBits:0,cssLitGroup:[J[81]],cssFns:[]}, "flex-direction":{cssPropBits:0,cssLitGroup:[J[82]],cssFns:[]}, "align-items":{cssPropBits:0,cssLitGroup:[J[83]],cssFns:[]}},O;for(O in L)"string"===typeof L[O]&&Object.hasOwnProperty.call(L,O)&&(L[O]=L[L[O]]);"undefined"!==typeof window&&(window.cssSchema=L);var U,X;
(function(){function g(a){var f=parseInt(a.substring(1),16);return 65535<f?(f-=65536,String.fromCharCode(55296+(f>>10),56320+(f&1023))):f==f?String.fromCharCode(f):" ">a[1]?"":a[1]}function w(a,f){return'"'+a.replace(/[\u0000-\u001f\\\"<>]/g,f)+'"'}function M(a){return E[a]||(E[a]="\\"+a.charCodeAt(0).toString(16)+" ")}function x(a){return e[a]||(e[a]=("\u0010">a?"%0":"%")+a.charCodeAt(0).toString(16))}var E={"\\":"\\\\"},e={"\\":"%5c"},v=RegExp("\\uFEFF|U[+][0-9A-F?]{1,6}(?:-[0-9A-F]{1,6})?|url[(][\\t\\n\\f ]*(?:\"(?:'|[^'\"\\n\\f\\\\]|\\\\[\\s\\S])*\"|'(?:\"|[^'\"\\n\\f\\\\]|\\\\[\\s\\S])*'|(?:[\\t\\x21\\x23-\\x26\\x28-\\x5b\\x5d-\\x7e]|[\\u0080-\\ud7ff\\ue000-\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]|\\\\(?:[0-9a-fA-F]{1,6}[\\t\\n\\f ]?|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]))*)[\\t\\n\\f ]*[)]|(?!url[(])-?(?:[a-zA-Z_]|[\\u0080-\\ud7ff\\ue000-\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]|\\\\(?:[0-9a-fA-F]{1,6}[\\t\\n\\f ]?|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]))(?:[a-zA-Z0-9_-]|[\\u0080-\\ud7ff\\ue000-\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]|\\\\(?:[0-9a-fA-F]{1,6}[\\t\\n\\f ]?|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]))*[(]|(?:@?-?(?:[a-zA-Z_]|[\\u0080-\\ud7ff\\ue000-\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]|\\\\(?:[0-9a-fA-F]{1,6}[\\t\\n\\f ]?|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]))|#)(?:[a-zA-Z0-9_-]|[\\u0080-\\ud7ff\\ue000-\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]|\\\\(?:[0-9a-fA-F]{1,6}[\\t\\n\\f ]?|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]))*|\"(?:'|[^'\"\\n\\f\\\\]|\\\\[\\s\\S])*\"|'(?:\"|[^'\"\\n\\f\\\\]|\\\\[\\s\\S])*'|[-+]?(?:[0-9]+(?:[.][0-9]+)?|[.][0-9]+)(?:%|-?(?:[a-zA-Z_]|[\\u0080-\\ud7ff\\ue000-\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]|\\\\(?:[0-9a-fA-F]{1,6}[\\t\\n\\f ]?|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]))(?:[a-zA-Z0-9_-]|[\\u0080-\\ud7ff\\ue000-\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]|\\\\(?:[0-9a-fA-F]{1,6}[\\t\\n\\f ]?|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]))*)?|<\!--|--\>|[\\t\\n\\f ]+|/(?:[*][^*]*[*]+(?:[^/][^*]*[*]+)*/|/[^\\n\\f]*)|[~|^$*]=|[^\"'\\\\/]|/(?![/*])","gi"),
b=RegExp("\\\\(?:(?:[0-9a-fA-F]{1,6}[\\t\\n\\f ]?|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff])|[\\n\\f])","g"),a=RegExp("^url\\([\\t\\n\\f ]*[\"']?|[\"']?[\\t\\n\\f ]*\\)$","gi");X=function(a){return a.replace(b,g)};U=function(b){for(var b=(""+b).replace(/\r\n?/g,"\n").match(v)||[],f=0,h=" ",d=0,y=b.length;d<y;++d){var l=X(b[d]),V=l.length,g=l.charCodeAt(0),l=34==g||39==g?w(l.substring(1,V-1),M):47==g&&1<V||"\\"==l||"--\>"==l||"<\!--"==l||"\ufeff"==l||32>=g?" ":
/url\(/i.test(l)?"url("+w(l.replace(a,""),x)+")":l;if(h!=l||" "!=l)b[f++]=h=l}b.length=f;return b}})();"undefined"!==typeof window&&(window.lexCss=U,window.decodeCss=X);var Y=function(){function g(d){d=(""+d).match(k);return!d?s:new e(v(d[1]),v(d[2]),v(d[3]),v(d[4]),v(d[5]),v(d[6]),v(d[7]))}function w(d,a){return"string"==typeof d?encodeURI(d).replace(a,M):s}function M(d){d=d.charCodeAt(0);return"%"+"0123456789ABCDEF".charAt(d>>4&15)+"0123456789ABCDEF".charAt(d&15)}function x(d){if(d===s)return s;for(var d=d.replace(/(^|\/)\.(?:\/|$)/g,"$1").replace(/\/{2,}/g,"/"),a=b,h;(h=d.replace(a,"$1"))!=d;d=h);return d}function E(d,h){var b=d.T(),f=h.K();f?b.ga(h.j):f=h.X();

View file

@ -4,13 +4,15 @@ window.STENCIL_PATH=window.STENCIL_PATH||"https://viewer.diagrams.net/stencils";
// NOTE: Modified to support data URIs for images, ie. data:image/*
// Modified to allow "word-break: break-word" in styles. It is done by adding "break-word" which is at index 55 of J array J[55] to "cssLitGroup" of "word-break"
// Modified to support justify-content. Add possible values to J array below ["flex-start,flex-end,center,space-between,space-around,initial".split(",")], then in L map (the variable after J), add its definition ["justify-content":{cssPropBits:0,cssLitGroup:[J[81]],cssFns:[]}]
// Added support for flex-direction (next J index is 83)
// Added support for align-items (next J index is 84)
(function(){var c=void 0,n=!0,s=null,C=!1,J=["aliceblue,antiquewhite,aqua,aquamarine,azure,beige,bisque,black,blanchedalmond,blue,blueviolet,brown,burlywood,cadetblue,chartreuse,chocolate,coral,cornflowerblue,cornsilk,crimson,cyan,darkblue,darkcyan,darkgoldenrod,darkgray,darkgreen,darkkhaki,darkmagenta,darkolivegreen,darkorange,darkorchid,darkred,darksalmon,darkseagreen,darkslateblue,darkslategray,darkturquoise,darkviolet,deeppink,deepskyblue,dimgray,dodgerblue,firebrick,floralwhite,forestgreen,fuchsia,gainsboro,ghostwhite,gold,goldenrod,gray,green,greenyellow,honeydew,hotpink,indianred,indigo,ivory,khaki,lavender,lavenderblush,lawngreen,lemonchiffon,lightblue,lightcoral,lightcyan,lightgoldenrodyellow,lightgreen,lightgrey,lightpink,lightsalmon,lightseagreen,lightskyblue,lightslategray,lightsteelblue,lightyellow,lime,limegreen,linen,magenta,maroon,mediumaquamarine,mediumblue,mediumorchid,mediumpurple,mediumseagreen,mediumslateblue,mediumspringgreen,mediumturquoise,mediumvioletred,midnightblue,mintcream,mistyrose,moccasin,navajowhite,navy,oldlace,olive,olivedrab,orange,orangered,orchid,palegoldenrod,palegreen,paleturquoise,palevioletred,papayawhip,peachpuff,peru,pink,plum,powderblue,purple,red,rosybrown,royalblue,saddlebrown,salmon,sandybrown,seagreen,seashell,sienna,silver,skyblue,slateblue,slategray,snow,springgreen,steelblue,tan,teal,thistle,tomato,transparent,turquoise,violet,wheat,white,whitesmoke,yellow,yellowgreen".split(","),
"all-scroll,col-resize,crosshair,default,e-resize,hand,help,move,n-resize,ne-resize,no-drop,not-allowed,nw-resize,pointer,progress,row-resize,s-resize,se-resize,sw-resize,text,vertical-text,w-resize,wait".split(","),"armenian,decimal,decimal-leading-zero,disc,georgian,lower-alpha,lower-greek,lower-latin,lower-roman,square,upper-alpha,upper-latin,upper-roman".split(","),"100,200,300,400,500,600,700,800,900,bold,bolder,lighter".split(","),"block-level,inline-level,table-caption,table-cell,table-column,table-column-group,table-footer-group,table-header-group,table-row,table-row-group".split(","),
"condensed,expanded,extra-condensed,extra-expanded,narrower,semi-condensed,semi-expanded,ultra-condensed,ultra-expanded,wider".split(","),"inherit,inline,inline-block,inline-box,inline-flex,inline-grid,inline-list-item,inline-stack,inline-table,run-in".split(","),"behind,center-left,center-right,far-left,far-right,left-side,leftwards,right-side,rightwards".split(","),"large,larger,small,smaller,x-large,x-small,xx-large,xx-small".split(","),"dashed,dotted,double,groove,outset,ridge,solid".split(","),
"ease,ease-in,ease-in-out,ease-out,linear,step-end,step-start".split(","),"at,closest-corner,closest-side,ellipse,farthest-corner,farthest-side".split(","),"baseline,middle,sub,super,text-bottom,text-top".split(","),"caption,icon,menu,message-box,small-caption,status-bar".split(","),"fast,faster,slow,slower,x-fast,x-slow".split(","),["above","below","higher","level","lower"],["cursive","fantasy","monospace","sans-serif","serif"],["loud","silent","soft","x-loud","x-soft"],["no-repeat","repeat-x","repeat-y",
"round","space"],["blink","line-through","overline","underline"],["block","flex","grid","table"],["high","low","x-high","x-low"],["nowrap","pre","pre-line","pre-wrap"],["absolute","relative","static"],["alternate","alternate-reverse","reverse"],["border-box","content-box","padding-box"],["capitalize","lowercase","uppercase"],["child","female","male"],["=","opacity"],["backwards","forwards"],["bidi-override","embed"],["bottom","top"],["break-all","keep-all"],["clip","ellipsis"],["contain","cover"],
["continuous","digits"],["end","start"],["flat","preserve-3d"],["hide","show"],["horizontal","vertical"],["inside","outside"],["italic","oblique"],["left","right"],["ltr","rtl"],["no-content","no-display"],["paused","running"],["suppress","unrestricted"],["thick","thin"],[","],["/"],["all"],["always"],["auto"],["avoid"],["both"],["break-word"],["center"],["circle"],["code"],["collapse"],["contents"],["fixed"],["hidden"],["infinite"],["inset"],["invert"],["justify"],["list-item"],["local"],["medium"],
["mix"],["none"],["normal"],["once"],["repeat"],["scroll"],["separate"],["small-caps"],["spell-out"],["to"],["visible"], "flex-start,flex-end,center,space-between,space-around,initial".split(",")],L={animation:{cssPropBits:517,cssLitGroup:[J[10],J[24],J[29],J[45],J[48],J[54],J[63],J[71],J[72]],cssFns:["cubic-bezier()","steps()"]},"animation-delay":{cssPropBits:5,cssLitGroup:[J[48]],cssFns:[]},"animation-direction":{cssPropBits:0,cssLitGroup:[J[24],J[48],J[72]],cssFns:[]},"animation-duration":"animation-delay","animation-fill-mode":{cssPropBits:0,cssLitGroup:[J[29],J[48],
["mix"],["none"],["normal"],["once"],["repeat"],["scroll"],["separate"],["small-caps"],["spell-out"],["to"],["visible"], "flex-start,flex-end,center,space-between,space-around,initial".split(","), "row|row-reverse|column|column-reverse|initial".split("|"), "stretch|center|flex-start|flex-end|baseline|initial".split("|")],L={animation:{cssPropBits:517,cssLitGroup:[J[10],J[24],J[29],J[45],J[48],J[54],J[63],J[71],J[72]],cssFns:["cubic-bezier()","steps()"]},"animation-delay":{cssPropBits:5,cssLitGroup:[J[48]],cssFns:[]},"animation-direction":{cssPropBits:0,cssLitGroup:[J[24],J[48],J[72]],cssFns:[]},"animation-duration":"animation-delay","animation-fill-mode":{cssPropBits:0,cssLitGroup:[J[29],J[48],
J[54],J[71]],cssFns:[]},"animation-iteration-count":{cssPropBits:5,cssLitGroup:[J[48],J[63]],cssFns:[]},"animation-name":{cssPropBits:512,cssLitGroup:[J[48],J[71]],cssFns:[]},"animation-play-state":{cssPropBits:0,cssLitGroup:[J[45],J[48]],cssFns:[]},"animation-timing-function":{cssPropBits:0,cssLitGroup:[J[10],J[48]],cssFns:["cubic-bezier()","steps()"]},appearance:{cssPropBits:0,cssLitGroup:[J[71]],cssFns:[]},azimuth:{cssPropBits:5,cssLitGroup:[J[7],J[42],J[56]],cssFns:[]},"backface-visibility":{cssPropBits:0,
cssLitGroup:[J[59],J[62],J[80]],cssFns:[]},background:{cssPropBits:23,cssLitGroup:[J[0],J[18],J[25],J[31],J[34],J[42],J[48],J[49],J[52],J[56],J[61],J[68],J[71],J[74],J[75]],cssFns:"image(),linear-gradient(),radial-gradient(),repeating-linear-gradient(),repeating-radial-gradient(),rgb(),rgba()".split(",")},"background-attachment":{cssPropBits:0,cssLitGroup:[J[48],J[61],J[68],J[75]],cssFns:[]},"background-color":{cssPropBits:2,cssLitGroup:[J[0]],cssFns:["rgb()","rgba()"]},"background-image":{cssPropBits:16,
cssLitGroup:[J[48],J[71]],cssFns:["image()","linear-gradient()","radial-gradient()","repeating-linear-gradient()","repeating-radial-gradient()"]},"background-position":{cssPropBits:5,cssLitGroup:[J[31],J[42],J[48],J[56]],cssFns:[]},"background-repeat":{cssPropBits:0,cssLitGroup:[J[18],J[48],J[74]],cssFns:[]},"background-size":{cssPropBits:5,cssLitGroup:[J[34],J[48],J[52]],cssFns:[]},border:{cssPropBits:7,cssLitGroup:[J[0],J[9],J[47],J[62],J[64],J[69],J[71]],cssFns:["rgb()","rgba()"]},"border-bottom":"border",
@ -31,7 +33,7 @@ cssLitGroup:[J[46],J[71],J[72]],cssFns:[]},top:"bottom",transform:{cssPropBits:0
cssFns:[]},"white-space":{cssPropBits:0,cssLitGroup:[J[22],J[72]],cssFns:[]},width:"min-height","word-break":{cssPropBits:0,cssLitGroup:[J[32],J[72],J[55]],cssFns:[]},"word-spacing":"letter-spacing","word-wrap":"overflow-wrap","z-index":"bottom",zoom:"line-height","cubic-bezier()":"animation-delay","steps()":{cssPropBits:5,cssLitGroup:[J[36],J[48]],cssFns:[]},"image()":{cssPropBits:18,cssLitGroup:[J[0],J[48]],cssFns:["rgb()","rgba()"]},"linear-gradient()":{cssPropBits:7,cssLitGroup:[J[0],J[31],J[42],J[48],
J[79]],cssFns:["rgb()","rgba()"]},"radial-gradient()":{cssPropBits:7,cssLitGroup:[J[0],J[11],J[31],J[42],J[48],J[56],J[57]],cssFns:["rgb()","rgba()"]},"repeating-linear-gradient()":"linear-gradient()","repeating-radial-gradient()":"radial-gradient()","rgb()":{cssPropBits:1,cssLitGroup:[J[48]],cssFns:[]},"rgba()":"rgb()","rect()":{cssPropBits:5,cssLitGroup:[J[48],J[52]],cssFns:[]},"alpha()":{cssPropBits:1,cssLitGroup:[J[28]],cssFns:[]},"matrix()":"animation-delay","perspective()":"border-bottom-left-radius",
"rotate()":"border-bottom-left-radius","rotate3d()":"animation-delay","rotatex()":"border-bottom-left-radius","rotatey()":"border-bottom-left-radius","rotatez()":"border-bottom-left-radius","scale()":"animation-delay","scale3d()":"animation-delay","scalex()":"border-bottom-left-radius","scaley()":"border-bottom-left-radius","scalez()":"border-bottom-left-radius","skew()":"animation-delay","skewx()":"border-bottom-left-radius","skewy()":"border-bottom-left-radius","translate()":"animation-delay","translate3d()":"animation-delay",
"translatex()":"border-bottom-left-radius","translatey()":"border-bottom-left-radius","translatez()":"border-bottom-left-radius", "justify-content":{cssPropBits:0,cssLitGroup:[J[81]],cssFns:[]}},O;for(O in L)"string"===typeof L[O]&&Object.hasOwnProperty.call(L,O)&&(L[O]=L[L[O]]);"undefined"!==typeof window&&(window.cssSchema=L);var U,X;
"translatex()":"border-bottom-left-radius","translatey()":"border-bottom-left-radius","translatez()":"border-bottom-left-radius", "justify-content":{cssPropBits:0,cssLitGroup:[J[81]],cssFns:[]}, "flex-direction":{cssPropBits:0,cssLitGroup:[J[82]],cssFns:[]}, "align-items":{cssPropBits:0,cssLitGroup:[J[83]],cssFns:[]}},O;for(O in L)"string"===typeof L[O]&&Object.hasOwnProperty.call(L,O)&&(L[O]=L[L[O]]);"undefined"!==typeof window&&(window.cssSchema=L);var U,X;
(function(){function g(a){var f=parseInt(a.substring(1),16);return 65535<f?(f-=65536,String.fromCharCode(55296+(f>>10),56320+(f&1023))):f==f?String.fromCharCode(f):" ">a[1]?"":a[1]}function w(a,f){return'"'+a.replace(/[\u0000-\u001f\\\"<>]/g,f)+'"'}function M(a){return E[a]||(E[a]="\\"+a.charCodeAt(0).toString(16)+" ")}function x(a){return e[a]||(e[a]=("\u0010">a?"%0":"%")+a.charCodeAt(0).toString(16))}var E={"\\":"\\\\"},e={"\\":"%5c"},v=RegExp("\\uFEFF|U[+][0-9A-F?]{1,6}(?:-[0-9A-F]{1,6})?|url[(][\\t\\n\\f ]*(?:\"(?:'|[^'\"\\n\\f\\\\]|\\\\[\\s\\S])*\"|'(?:\"|[^'\"\\n\\f\\\\]|\\\\[\\s\\S])*'|(?:[\\t\\x21\\x23-\\x26\\x28-\\x5b\\x5d-\\x7e]|[\\u0080-\\ud7ff\\ue000-\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]|\\\\(?:[0-9a-fA-F]{1,6}[\\t\\n\\f ]?|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]))*)[\\t\\n\\f ]*[)]|(?!url[(])-?(?:[a-zA-Z_]|[\\u0080-\\ud7ff\\ue000-\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]|\\\\(?:[0-9a-fA-F]{1,6}[\\t\\n\\f ]?|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]))(?:[a-zA-Z0-9_-]|[\\u0080-\\ud7ff\\ue000-\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]|\\\\(?:[0-9a-fA-F]{1,6}[\\t\\n\\f ]?|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]))*[(]|(?:@?-?(?:[a-zA-Z_]|[\\u0080-\\ud7ff\\ue000-\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]|\\\\(?:[0-9a-fA-F]{1,6}[\\t\\n\\f ]?|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]))|#)(?:[a-zA-Z0-9_-]|[\\u0080-\\ud7ff\\ue000-\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]|\\\\(?:[0-9a-fA-F]{1,6}[\\t\\n\\f ]?|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]))*|\"(?:'|[^'\"\\n\\f\\\\]|\\\\[\\s\\S])*\"|'(?:\"|[^'\"\\n\\f\\\\]|\\\\[\\s\\S])*'|[-+]?(?:[0-9]+(?:[.][0-9]+)?|[.][0-9]+)(?:%|-?(?:[a-zA-Z_]|[\\u0080-\\ud7ff\\ue000-\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]|\\\\(?:[0-9a-fA-F]{1,6}[\\t\\n\\f ]?|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]))(?:[a-zA-Z0-9_-]|[\\u0080-\\ud7ff\\ue000-\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]|\\\\(?:[0-9a-fA-F]{1,6}[\\t\\n\\f ]?|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]))*)?|<\!--|--\>|[\\t\\n\\f ]+|/(?:[*][^*]*[*]+(?:[^/][^*]*[*]+)*/|/[^\\n\\f]*)|[~|^$*]=|[^\"'\\\\/]|/(?![/*])","gi"),
b=RegExp("\\\\(?:(?:[0-9a-fA-F]{1,6}[\\t\\n\\f ]?|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff])|[\\n\\f])","g"),a=RegExp("^url\\([\\t\\n\\f ]*[\"']?|[\"']?[\\t\\n\\f ]*\\)$","gi");X=function(a){return a.replace(b,g)};U=function(b){for(var b=(""+b).replace(/\r\n?/g,"\n").match(v)||[],f=0,h=" ",d=0,y=b.length;d<y;++d){var l=X(b[d]),V=l.length,g=l.charCodeAt(0),l=34==g||39==g?w(l.substring(1,V-1),M):47==g&&1<V||"\\"==l||"--\>"==l||"<\!--"==l||"\ufeff"==l||32>=g?" ":
/url\(/i.test(l)?"url("+w(l.replace(a,""),x)+")":l;if(h!=l||" "!=l)b[f++]=h=l}b.length=f;return b}})();"undefined"!==typeof window&&(window.lexCss=U,window.decodeCss=X);var Y=function(){function g(d){d=(""+d).match(k);return!d?s:new e(v(d[1]),v(d[2]),v(d[3]),v(d[4]),v(d[5]),v(d[6]),v(d[7]))}function w(d,a){return"string"==typeof d?encodeURI(d).replace(a,M):s}function M(d){d=d.charCodeAt(0);return"%"+"0123456789ABCDEF".charAt(d>>4&15)+"0123456789ABCDEF".charAt(d&15)}function x(d){if(d===s)return s;for(var d=d.replace(/(^|\/)\.(?:\/|$)/g,"$1").replace(/\/{2,}/g,"/"),a=b,h;(h=d.replace(a,"$1"))!=d;d=h);return d}function E(d,h){var b=d.T(),f=h.K();f?b.ga(h.j):f=h.X();

View file

@ -4,13 +4,15 @@ window.STENCIL_PATH=window.STENCIL_PATH||"https://viewer.diagrams.net/stencils";
// NOTE: Modified to support data URIs for images, ie. data:image/*
// Modified to allow "word-break: break-word" in styles. It is done by adding "break-word" which is at index 55 of J array J[55] to "cssLitGroup" of "word-break"
// Modified to support justify-content. Add possible values to J array below ["flex-start,flex-end,center,space-between,space-around,initial".split(",")], then in L map (the variable after J), add its definition ["justify-content":{cssPropBits:0,cssLitGroup:[J[81]],cssFns:[]}]
// Added support for flex-direction (next J index is 83)
// Added support for align-items (next J index is 84)
(function(){var c=void 0,n=!0,s=null,C=!1,J=["aliceblue,antiquewhite,aqua,aquamarine,azure,beige,bisque,black,blanchedalmond,blue,blueviolet,brown,burlywood,cadetblue,chartreuse,chocolate,coral,cornflowerblue,cornsilk,crimson,cyan,darkblue,darkcyan,darkgoldenrod,darkgray,darkgreen,darkkhaki,darkmagenta,darkolivegreen,darkorange,darkorchid,darkred,darksalmon,darkseagreen,darkslateblue,darkslategray,darkturquoise,darkviolet,deeppink,deepskyblue,dimgray,dodgerblue,firebrick,floralwhite,forestgreen,fuchsia,gainsboro,ghostwhite,gold,goldenrod,gray,green,greenyellow,honeydew,hotpink,indianred,indigo,ivory,khaki,lavender,lavenderblush,lawngreen,lemonchiffon,lightblue,lightcoral,lightcyan,lightgoldenrodyellow,lightgreen,lightgrey,lightpink,lightsalmon,lightseagreen,lightskyblue,lightslategray,lightsteelblue,lightyellow,lime,limegreen,linen,magenta,maroon,mediumaquamarine,mediumblue,mediumorchid,mediumpurple,mediumseagreen,mediumslateblue,mediumspringgreen,mediumturquoise,mediumvioletred,midnightblue,mintcream,mistyrose,moccasin,navajowhite,navy,oldlace,olive,olivedrab,orange,orangered,orchid,palegoldenrod,palegreen,paleturquoise,palevioletred,papayawhip,peachpuff,peru,pink,plum,powderblue,purple,red,rosybrown,royalblue,saddlebrown,salmon,sandybrown,seagreen,seashell,sienna,silver,skyblue,slateblue,slategray,snow,springgreen,steelblue,tan,teal,thistle,tomato,transparent,turquoise,violet,wheat,white,whitesmoke,yellow,yellowgreen".split(","),
"all-scroll,col-resize,crosshair,default,e-resize,hand,help,move,n-resize,ne-resize,no-drop,not-allowed,nw-resize,pointer,progress,row-resize,s-resize,se-resize,sw-resize,text,vertical-text,w-resize,wait".split(","),"armenian,decimal,decimal-leading-zero,disc,georgian,lower-alpha,lower-greek,lower-latin,lower-roman,square,upper-alpha,upper-latin,upper-roman".split(","),"100,200,300,400,500,600,700,800,900,bold,bolder,lighter".split(","),"block-level,inline-level,table-caption,table-cell,table-column,table-column-group,table-footer-group,table-header-group,table-row,table-row-group".split(","),
"condensed,expanded,extra-condensed,extra-expanded,narrower,semi-condensed,semi-expanded,ultra-condensed,ultra-expanded,wider".split(","),"inherit,inline,inline-block,inline-box,inline-flex,inline-grid,inline-list-item,inline-stack,inline-table,run-in".split(","),"behind,center-left,center-right,far-left,far-right,left-side,leftwards,right-side,rightwards".split(","),"large,larger,small,smaller,x-large,x-small,xx-large,xx-small".split(","),"dashed,dotted,double,groove,outset,ridge,solid".split(","),
"ease,ease-in,ease-in-out,ease-out,linear,step-end,step-start".split(","),"at,closest-corner,closest-side,ellipse,farthest-corner,farthest-side".split(","),"baseline,middle,sub,super,text-bottom,text-top".split(","),"caption,icon,menu,message-box,small-caption,status-bar".split(","),"fast,faster,slow,slower,x-fast,x-slow".split(","),["above","below","higher","level","lower"],["cursive","fantasy","monospace","sans-serif","serif"],["loud","silent","soft","x-loud","x-soft"],["no-repeat","repeat-x","repeat-y",
"round","space"],["blink","line-through","overline","underline"],["block","flex","grid","table"],["high","low","x-high","x-low"],["nowrap","pre","pre-line","pre-wrap"],["absolute","relative","static"],["alternate","alternate-reverse","reverse"],["border-box","content-box","padding-box"],["capitalize","lowercase","uppercase"],["child","female","male"],["=","opacity"],["backwards","forwards"],["bidi-override","embed"],["bottom","top"],["break-all","keep-all"],["clip","ellipsis"],["contain","cover"],
["continuous","digits"],["end","start"],["flat","preserve-3d"],["hide","show"],["horizontal","vertical"],["inside","outside"],["italic","oblique"],["left","right"],["ltr","rtl"],["no-content","no-display"],["paused","running"],["suppress","unrestricted"],["thick","thin"],[","],["/"],["all"],["always"],["auto"],["avoid"],["both"],["break-word"],["center"],["circle"],["code"],["collapse"],["contents"],["fixed"],["hidden"],["infinite"],["inset"],["invert"],["justify"],["list-item"],["local"],["medium"],
["mix"],["none"],["normal"],["once"],["repeat"],["scroll"],["separate"],["small-caps"],["spell-out"],["to"],["visible"], "flex-start,flex-end,center,space-between,space-around,initial".split(",")],L={animation:{cssPropBits:517,cssLitGroup:[J[10],J[24],J[29],J[45],J[48],J[54],J[63],J[71],J[72]],cssFns:["cubic-bezier()","steps()"]},"animation-delay":{cssPropBits:5,cssLitGroup:[J[48]],cssFns:[]},"animation-direction":{cssPropBits:0,cssLitGroup:[J[24],J[48],J[72]],cssFns:[]},"animation-duration":"animation-delay","animation-fill-mode":{cssPropBits:0,cssLitGroup:[J[29],J[48],
["mix"],["none"],["normal"],["once"],["repeat"],["scroll"],["separate"],["small-caps"],["spell-out"],["to"],["visible"], "flex-start,flex-end,center,space-between,space-around,initial".split(","), "row|row-reverse|column|column-reverse|initial".split("|"), "stretch|center|flex-start|flex-end|baseline|initial".split("|")],L={animation:{cssPropBits:517,cssLitGroup:[J[10],J[24],J[29],J[45],J[48],J[54],J[63],J[71],J[72]],cssFns:["cubic-bezier()","steps()"]},"animation-delay":{cssPropBits:5,cssLitGroup:[J[48]],cssFns:[]},"animation-direction":{cssPropBits:0,cssLitGroup:[J[24],J[48],J[72]],cssFns:[]},"animation-duration":"animation-delay","animation-fill-mode":{cssPropBits:0,cssLitGroup:[J[29],J[48],
J[54],J[71]],cssFns:[]},"animation-iteration-count":{cssPropBits:5,cssLitGroup:[J[48],J[63]],cssFns:[]},"animation-name":{cssPropBits:512,cssLitGroup:[J[48],J[71]],cssFns:[]},"animation-play-state":{cssPropBits:0,cssLitGroup:[J[45],J[48]],cssFns:[]},"animation-timing-function":{cssPropBits:0,cssLitGroup:[J[10],J[48]],cssFns:["cubic-bezier()","steps()"]},appearance:{cssPropBits:0,cssLitGroup:[J[71]],cssFns:[]},azimuth:{cssPropBits:5,cssLitGroup:[J[7],J[42],J[56]],cssFns:[]},"backface-visibility":{cssPropBits:0,
cssLitGroup:[J[59],J[62],J[80]],cssFns:[]},background:{cssPropBits:23,cssLitGroup:[J[0],J[18],J[25],J[31],J[34],J[42],J[48],J[49],J[52],J[56],J[61],J[68],J[71],J[74],J[75]],cssFns:"image(),linear-gradient(),radial-gradient(),repeating-linear-gradient(),repeating-radial-gradient(),rgb(),rgba()".split(",")},"background-attachment":{cssPropBits:0,cssLitGroup:[J[48],J[61],J[68],J[75]],cssFns:[]},"background-color":{cssPropBits:2,cssLitGroup:[J[0]],cssFns:["rgb()","rgba()"]},"background-image":{cssPropBits:16,
cssLitGroup:[J[48],J[71]],cssFns:["image()","linear-gradient()","radial-gradient()","repeating-linear-gradient()","repeating-radial-gradient()"]},"background-position":{cssPropBits:5,cssLitGroup:[J[31],J[42],J[48],J[56]],cssFns:[]},"background-repeat":{cssPropBits:0,cssLitGroup:[J[18],J[48],J[74]],cssFns:[]},"background-size":{cssPropBits:5,cssLitGroup:[J[34],J[48],J[52]],cssFns:[]},border:{cssPropBits:7,cssLitGroup:[J[0],J[9],J[47],J[62],J[64],J[69],J[71]],cssFns:["rgb()","rgba()"]},"border-bottom":"border",
@ -31,7 +33,7 @@ cssLitGroup:[J[46],J[71],J[72]],cssFns:[]},top:"bottom",transform:{cssPropBits:0
cssFns:[]},"white-space":{cssPropBits:0,cssLitGroup:[J[22],J[72]],cssFns:[]},width:"min-height","word-break":{cssPropBits:0,cssLitGroup:[J[32],J[72],J[55]],cssFns:[]},"word-spacing":"letter-spacing","word-wrap":"overflow-wrap","z-index":"bottom",zoom:"line-height","cubic-bezier()":"animation-delay","steps()":{cssPropBits:5,cssLitGroup:[J[36],J[48]],cssFns:[]},"image()":{cssPropBits:18,cssLitGroup:[J[0],J[48]],cssFns:["rgb()","rgba()"]},"linear-gradient()":{cssPropBits:7,cssLitGroup:[J[0],J[31],J[42],J[48],
J[79]],cssFns:["rgb()","rgba()"]},"radial-gradient()":{cssPropBits:7,cssLitGroup:[J[0],J[11],J[31],J[42],J[48],J[56],J[57]],cssFns:["rgb()","rgba()"]},"repeating-linear-gradient()":"linear-gradient()","repeating-radial-gradient()":"radial-gradient()","rgb()":{cssPropBits:1,cssLitGroup:[J[48]],cssFns:[]},"rgba()":"rgb()","rect()":{cssPropBits:5,cssLitGroup:[J[48],J[52]],cssFns:[]},"alpha()":{cssPropBits:1,cssLitGroup:[J[28]],cssFns:[]},"matrix()":"animation-delay","perspective()":"border-bottom-left-radius",
"rotate()":"border-bottom-left-radius","rotate3d()":"animation-delay","rotatex()":"border-bottom-left-radius","rotatey()":"border-bottom-left-radius","rotatez()":"border-bottom-left-radius","scale()":"animation-delay","scale3d()":"animation-delay","scalex()":"border-bottom-left-radius","scaley()":"border-bottom-left-radius","scalez()":"border-bottom-left-radius","skew()":"animation-delay","skewx()":"border-bottom-left-radius","skewy()":"border-bottom-left-radius","translate()":"animation-delay","translate3d()":"animation-delay",
"translatex()":"border-bottom-left-radius","translatey()":"border-bottom-left-radius","translatez()":"border-bottom-left-radius", "justify-content":{cssPropBits:0,cssLitGroup:[J[81]],cssFns:[]}},O;for(O in L)"string"===typeof L[O]&&Object.hasOwnProperty.call(L,O)&&(L[O]=L[L[O]]);"undefined"!==typeof window&&(window.cssSchema=L);var U,X;
"translatex()":"border-bottom-left-radius","translatey()":"border-bottom-left-radius","translatez()":"border-bottom-left-radius", "justify-content":{cssPropBits:0,cssLitGroup:[J[81]],cssFns:[]}, "flex-direction":{cssPropBits:0,cssLitGroup:[J[82]],cssFns:[]}, "align-items":{cssPropBits:0,cssLitGroup:[J[83]],cssFns:[]}},O;for(O in L)"string"===typeof L[O]&&Object.hasOwnProperty.call(L,O)&&(L[O]=L[L[O]]);"undefined"!==typeof window&&(window.cssSchema=L);var U,X;
(function(){function g(a){var f=parseInt(a.substring(1),16);return 65535<f?(f-=65536,String.fromCharCode(55296+(f>>10),56320+(f&1023))):f==f?String.fromCharCode(f):" ">a[1]?"":a[1]}function w(a,f){return'"'+a.replace(/[\u0000-\u001f\\\"<>]/g,f)+'"'}function M(a){return E[a]||(E[a]="\\"+a.charCodeAt(0).toString(16)+" ")}function x(a){return e[a]||(e[a]=("\u0010">a?"%0":"%")+a.charCodeAt(0).toString(16))}var E={"\\":"\\\\"},e={"\\":"%5c"},v=RegExp("\\uFEFF|U[+][0-9A-F?]{1,6}(?:-[0-9A-F]{1,6})?|url[(][\\t\\n\\f ]*(?:\"(?:'|[^'\"\\n\\f\\\\]|\\\\[\\s\\S])*\"|'(?:\"|[^'\"\\n\\f\\\\]|\\\\[\\s\\S])*'|(?:[\\t\\x21\\x23-\\x26\\x28-\\x5b\\x5d-\\x7e]|[\\u0080-\\ud7ff\\ue000-\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]|\\\\(?:[0-9a-fA-F]{1,6}[\\t\\n\\f ]?|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]))*)[\\t\\n\\f ]*[)]|(?!url[(])-?(?:[a-zA-Z_]|[\\u0080-\\ud7ff\\ue000-\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]|\\\\(?:[0-9a-fA-F]{1,6}[\\t\\n\\f ]?|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]))(?:[a-zA-Z0-9_-]|[\\u0080-\\ud7ff\\ue000-\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]|\\\\(?:[0-9a-fA-F]{1,6}[\\t\\n\\f ]?|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]))*[(]|(?:@?-?(?:[a-zA-Z_]|[\\u0080-\\ud7ff\\ue000-\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]|\\\\(?:[0-9a-fA-F]{1,6}[\\t\\n\\f ]?|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]))|#)(?:[a-zA-Z0-9_-]|[\\u0080-\\ud7ff\\ue000-\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]|\\\\(?:[0-9a-fA-F]{1,6}[\\t\\n\\f ]?|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]))*|\"(?:'|[^'\"\\n\\f\\\\]|\\\\[\\s\\S])*\"|'(?:\"|[^'\"\\n\\f\\\\]|\\\\[\\s\\S])*'|[-+]?(?:[0-9]+(?:[.][0-9]+)?|[.][0-9]+)(?:%|-?(?:[a-zA-Z_]|[\\u0080-\\ud7ff\\ue000-\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]|\\\\(?:[0-9a-fA-F]{1,6}[\\t\\n\\f ]?|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]))(?:[a-zA-Z0-9_-]|[\\u0080-\\ud7ff\\ue000-\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]|\\\\(?:[0-9a-fA-F]{1,6}[\\t\\n\\f ]?|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]))*)?|<\!--|--\>|[\\t\\n\\f ]+|/(?:[*][^*]*[*]+(?:[^/][^*]*[*]+)*/|/[^\\n\\f]*)|[~|^$*]=|[^\"'\\\\/]|/(?![/*])","gi"),
b=RegExp("\\\\(?:(?:[0-9a-fA-F]{1,6}[\\t\\n\\f ]?|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff])|[\\n\\f])","g"),a=RegExp("^url\\([\\t\\n\\f ]*[\"']?|[\"']?[\\t\\n\\f ]*\\)$","gi");X=function(a){return a.replace(b,g)};U=function(b){for(var b=(""+b).replace(/\r\n?/g,"\n").match(v)||[],f=0,h=" ",d=0,y=b.length;d<y;++d){var l=X(b[d]),V=l.length,g=l.charCodeAt(0),l=34==g||39==g?w(l.substring(1,V-1),M):47==g&&1<V||"\\"==l||"--\>"==l||"<\!--"==l||"\ufeff"==l||32>=g?" ":
/url\(/i.test(l)?"url("+w(l.replace(a,""),x)+")":l;if(h!=l||" "!=l)b[f++]=h=l}b.length=f;return b}})();"undefined"!==typeof window&&(window.lexCss=U,window.decodeCss=X);var Y=function(){function g(d){d=(""+d).match(k);return!d?s:new e(v(d[1]),v(d[2]),v(d[3]),v(d[4]),v(d[5]),v(d[6]),v(d[7]))}function w(d,a){return"string"==typeof d?encodeURI(d).replace(a,M):s}function M(d){d=d.charCodeAt(0);return"%"+"0123456789ABCDEF".charAt(d>>4&15)+"0123456789ABCDEF".charAt(d&15)}function x(d){if(d===s)return s;for(var d=d.replace(/(^|\/)\.(?:\/|$)/g,"$1").replace(/\/{2,}/g,"/"),a=b,h;(h=d.replace(a,"$1"))!=d;d=h);return d}function E(d,h){var b=d.T(),f=h.K();f?b.ga(h.j):f=h.X();

View file

@ -6,11 +6,11 @@ if (workbox)
workbox.precaching.precacheAndRoute([
{
"url": "js/app.min.js",
"revision": "ba949a7880b7f0f7dd49a3993e11459d"
"revision": "00e7d3bcbea2b3811e7253c2e9c7a7c0"
},
{
"url": "js/extensions.min.js",
"revision": "ebdcf852f629fdbc947e218b706bde69"
"revision": "00af9ac1f18b4323620b8bb9aaf405cd"
},
{
"url": "js/stencils.min.js",
@ -58,7 +58,7 @@ if (workbox)
},
{
"url": "js/viewer-static.min.js",
"revision": "21df05f85415f0010d687c0a8cd07658"
"revision": "c50a79694590279c568e710816bdf755"
},
{
"url": "connect/jira/editor-1-3-3.html",
@ -82,7 +82,7 @@ if (workbox)
},
{
"url": "connect/jira/editor.js",
"revision": "c3281d8afae94bad5b349c5ccb84501f"
"revision": "eb91265dea9def43886bd30e223b50d0"
},
{
"url": "connect/jira/fullscreen-viewer-init.js",