14.2.8 release

This commit is contained in:
David Benson [draw.io] 2021-01-29 14:59:22 +00:00
parent 26b6e552ed
commit defed229bb
76 changed files with 1262 additions and 750 deletions

View file

@ -1,3 +1,7 @@
29-JAN-2021: 14.2.8
- Adds data governance config
22-JAN-2021: 14.2.7
- Improves Lucidchart import

View file

@ -11,8 +11,6 @@ The source code in this repo is licensed under the Apache v2.
Development
-----------
Note: We cannot accept non-trivial PRs for legal reasons. We need to retain copyright over the entire codebase.
A development guide is being started on the GitHub project wiki. There is a [draw.io](http://stackoverflow.com/questions/tagged/draw.io) tag on Stack Overflow currently, please make sure any questions adhere to their guidelines for questions.
The [mxGraph documentation](https://jgraph.github.io/mxgraph/) provides a lot of the docs for the bottom part of the stack. There is an [mxgraph tag on SO](http://stackoverflow.com/questions/tagged/mxgraph).
@ -28,3 +26,19 @@ The full packaged .war of the client and servlets is built when the project is t
Supported Browsers
------------------
diagrams.net supports IE 11, Chrome 70+, Firefox 70+, Safari 11+, Opera 50+, Native Android browser 7x+, the default browser in the current and previous major iOS versions (e.g. 11.2.x and 10.3.x) and Edge 79+.
Open-source, not open-contribution
----------------------------------
[Similar to SQLite](https://www.sqlite.org/copyright.html), diagrams.net is open
source but closed to contributions.
The level of complexity of this project means that even simple changes
can break a _lot_ of other moving parts. The amount of testing required
is far more than it first seems. If we were to receive a PR, we'd have
to basically throw it away and write it how we want it to be implemented.
We are grateful for community involvement, bug reports, & feature requests. We do
not wish to come off as anything but welcoming, however, we've
made the decision to keep this project closed to contributions for
the long term viability of the project.

View file

@ -1 +1 @@
14.2.7
14.2.8

View file

@ -0,0 +1,76 @@
/**
* Copyright (c) 2011-2021, JGraph Ltd
*/
addEventListener('fetch', event => {
event.respondWith(handleRequest(event))
})
var regionMapping = {
us: {
viewer: 'https://viewer.diagrams.net',
export: 'https://convert.diagrams.net/node/export',
plant: 'https://plant-aws.diagrams.net',
vsd: 'https://convert.diagrams.net/VsdConverter/api/converter',
emf: 'https://convert.diagrams.net/emf2png/convertEMF',
cach: 'https://app.diagrams.net/cache',
save: 'https://app.diagrams.net/save',
import: 'https://app.diagrams.net/import',
proxy: 'https://app.diagrams.net/proxy'
},
eu: {
viewer: 'https://viewer.diagrams.net',
export: 'https://convert.diagrams.net/node/export',
plant: 'https://plant-aws.diagrams.net',
vsd: 'https://convert.diagrams.net/VsdConverter/api/converter',
emf: 'https://convert.diagrams.net/emf2png/convertEMF',
cach: 'https://app.diagrams.net/cache',
save: 'https://app.diagrams.net/save',
import: 'https://app.diagrams.net/import',
proxy: 'https://app.diagrams.net/proxy'
}
}
async function handleRequest(event)
{
let request = event.request;
let url = new URL(request.url);
let ref = request.headers.get('referer');
let path = url.pathname.split('-');
if (isAllowedDomain(ref) && regionMapping[path[2]] != null &&
regionMapping[path[2]][path[1]] != null)
{
try
{
let service = regionMapping[path[2]][path[1]];
return await fetch(service + url.search, request);
}
catch(e)
{
event.waitUntil(log('SEVERE', 'region request failed with error ' + e.message, url.pathname, ref));
return new Response('INTERNAL_SERVER_ERROR', { status: 500 });
}
}
else
{
event.waitUntil(log('SEVERE', 'region request from unknown host', url.pathname));
return new Response('HTTP_BAD_REQUEST', { status: 400 });
}
}
function isAllowedDomain(referer)
{
return referer != null &&
(new RegExp("https?://([a-z0-9,-]+[.])*draw[.]io/.*").test(referer.toLowerCase()) ||
new RegExp("https?://([a-z0-9,-]+[.])*diagrams[.]net/.*").test(referer.toLowerCase()));
}
function log(level, msg, url, ref)
{
return fetch('https://log.diagrams.net/images/1x1.png?src=REGION-WORKER&data=' + encodeURIComponent(level + ', ' + msg + ': url='
+ ((url != null) ? url : '[null]')
+ ', referer=' + ((ref != null) ? ref : '[null]')));
}

File diff suppressed because one or more lines are too long

View file

@ -1601,6 +1601,11 @@ App.prototype.init = function()
{
this.showDownloadDesktopBanner();
}
else if (urlParams['embed'] != '1' && this.getServiceName() == 'draw.io')
{
this.showNameConfBanner();
}
}));
}
@ -1827,6 +1832,17 @@ App.prototype.showNameChangeBanner = function()
}));
};
/**
* Shows a footer to download the desktop version once per session.
*/
App.prototype.showNameConfBanner = function()
{
this.showBanner('ConfFooter', 'Try draw.io for Confluence', mxUtils.bind(this, function()
{
this.openLink('https://marketplace.atlassian.com/apps/1210933/draw-io-diagrams-for-confluence');
}), true);
};
/**
* Shows a footer to download the desktop version once per session.
*/
@ -3550,19 +3566,6 @@ App.prototype.showSplash = function(force)
Editor.useLocalStorage = prev;
}
}), true);
if (!mxClient.IS_CHROMEAPP && !EditorUi.isElectronApp && !this.isOfflineApp() &&
!mxClient.IS_ANDROID && !mxClient.IS_IOS)
{
if (this.mode == App.MODE_DEVICE)
{
this.showDownloadDesktopBanner();
}
else if (urlParams['embed'] != '1' && this.getServiceName() == 'draw.io')
{
// this.showRatingBanner();
}
}
});
if (this.editor.isChromelessView())
@ -5466,8 +5469,6 @@ App.prototype.loadLibraries = function(libs, done)
{
var libDesc = decodeURIComponent(id.substring(1));
if (!this.isOffline())
{
try
{
libDesc = JSON.parse(libDesc);
@ -5497,7 +5498,6 @@ App.prototype.loadLibraries = function(libs, done)
onerror();
}
}
}
else if (service == 'S' && this.loadDesktopLib != null)
{
try

View file

@ -4051,7 +4051,7 @@
/**
* Creates a popup banner.
*/
EditorUi.prototype.showBanner = function(id, label, onclick)
EditorUi.prototype.showBanner = function(id, text, onclick, doNotShowAgainOnClose)
{
var result = false;
@ -4076,12 +4076,12 @@
var img = document.createElement('img');
img.setAttribute('src', Dialog.prototype.closeImage);
img.setAttribute('title', mxResources.get('close'));
img.setAttribute('title', mxResources.get((doNotShowAgainOnClose) ? 'doNotShowAgain' : 'close'));
img.setAttribute('border', '0');
img.style.cssText = 'position:absolute;right:10px;top:12px;filter:invert(1);padding:6px;margin:-6px;cursor:default;';
banner.appendChild(img);
mxUtils.write(banner, label);
mxUtils.write(banner, text);
document.body.appendChild(banner);
this.bannerShowing = true;
@ -4091,6 +4091,9 @@
chk.setAttribute('type', 'checkbox');
chk.setAttribute('id', 'geDoNotShowAgainCheckbox');
chk.style.marginRight = '6px';
if (!doNotShowAgainOnClose)
{
div.appendChild(chk);
var label = document.createElement('label');
@ -4099,6 +4102,7 @@
div.appendChild(label);
banner.style.paddingBottom = '30px';
banner.appendChild(div);
}
var onclose = mxUtils.bind(this, function()
{
@ -4107,7 +4111,7 @@
banner.parentNode.removeChild(banner);
this.bannerShowing = false;
if (chk.checked)
if (chk.checked || doNotShowAgainOnClose)
{
this['hideBanner' + id] = true;
@ -9301,7 +9305,7 @@
if (evt.dataTransfer.files.length > 0)
{
if (mxEvent.isControlDown(evt) || (mxClient.IS_MAC && mxEvent.isMetaDown(evt)))
if (mxEvent.isShiftDown(evt))
{
this.openFiles(evt.dataTransfer.files, true);
}
@ -9628,7 +9632,7 @@
window.setTimeout(mxUtils.bind(this, function()
{
if (restoreFocus && (keyCode == 224 /* FF */ || keyCode == 17 /* Control */ ||
keyCode == 91 /* Meta */))
keyCode == 91 /* MetaLeft */ || keyCode == 93 /* MetaRight */))
{
restoreFocus = false;
@ -14997,6 +15001,7 @@ var ConfirmDialog = function(editorUi, message, okFn, cancelFn, okLabel, cancelL
btns.style.marginTop = '10px';
var p2 = document.createElement('p');
p2.style.marginTop = '20px';
p2.style.marginBottom = '0px';
p2.appendChild(cb);
var span = document.createElement('span');
mxUtils.write(span, ' ' + mxResources.get('rememberThisSetting'));

View file

@ -20,7 +20,7 @@ mxUtils.extend(GitLabFile, GitHubFile);
*/
GitLabFile.prototype.share = function()
{
this.ui.editor.graph.openLink('https://gitlab.com/' +
this.ui.editor.graph.openLink(DRAWIO_GITLAB_URL + '/' +
encodeURIComponent(this.meta.org) + '/' +
encodeURIComponent(this.meta.repo) +'/-/project_members');
};

View file

@ -782,6 +782,54 @@
// Add help, link button
var value = localStorage.getItem('.configuration');
var buttons = [[mxResources.get('reset'), function(evt, input)
{
editorUi.confirm(mxResources.get('areYouSure'), function()
{
try
{
localStorage.removeItem('.configuration');
localStorage.removeItem('.drawio-config');
localStorage.removeItem('.mode');
editorUi.hideDialog();
editorUi.alert(mxResources.get('restartForChangeRequired'));
}
catch (e)
{
editorUi.handleError(e);
}
});
}]];
if (!EditorUi.isElectronApp)
{
buttons.push([mxResources.get('link'), function(evt, input)
{
if (input.value.length > 0)
{
try
{
var obj = JSON.parse(input.value);
var url = window.location.protocol + '//' + window.location.host +
'/' + editorUi.getSearch() + '#_CONFIG_' +
Graph.compress(JSON.stringify(obj));
var dlg = new EmbedDialog(editorUi, url);
editorUi.showDialog(dlg.container, 440, 240, true);
dlg.init();
}
catch (e)
{
editorUi.handleError(e);
}
}
else
{
editorUi.handleError({message: mxResources.get('invalidInput')});
}
}])
}
var dlg = new TextareaDialog(editorUi, mxResources.get('configuration') + ':',
(value != null) ? JSON.stringify(JSON.parse(value), null, 2) : '', function(newValue)
{
@ -810,48 +858,7 @@
}
}, null, null, null, null, null, true, null, null,
'https://www.diagrams.net/doc/faq/configure-diagram-editor',
(EditorUi.isElectronApp) ? null : [[mxResources.get('reset'), function(evt, input)
{
editorUi.confirm(mxResources.get('areYouSure'), function()
{
try
{
localStorage.removeItem('.configuration');
localStorage.removeItem('.drawio-config');
localStorage.removeItem('.mode');
editorUi.hideDialog();
editorUi.alert(mxResources.get('restartForChangeRequired'));
}
catch (e)
{
editorUi.handleError(e);
}
});
}], [mxResources.get('link'), function(evt, input)
{
if (input.value.length > 0)
{
try
{
var obj = JSON.parse(input.value);
var url = window.location.protocol + '//' + window.location.host +
'/' + editorUi.getSearch() + '#_CONFIG_' +
Graph.compress(JSON.stringify(obj));
var dlg = new EmbedDialog(editorUi, url);
editorUi.showDialog(dlg.container, 440, 240, true);
dlg.init();
}
catch (e)
{
editorUi.handleError(e);
}
}
else
{
editorUi.handleError({message: mxResources.get('invalidInput')});
}
}]]);
buttons);
dlg.textarea.style.width = '600px';
dlg.textarea.style.height = '380px';

View file

@ -904,6 +904,14 @@ var com;
graph.setLinkForCell(v1, 'data:page/id,' + lnkObj.pageLink);
}
// Add Shape properties
var props = shape.getProperties();
for (var i = 0; i < props.length; i++)
{
graph.setAttributeForCell(v1, props[i].key, props[i].val);
}
return v1;
}
else {
@ -10677,6 +10685,39 @@ var com;
return {extLink: extLink, pageLink: pageLink};
};
VsdxShape.prototype.getProperties = function ()
{
var props = [];
if (this.sections && this.sections['Property'])
{
var rows = com.mxgraph.io.vsdx.mxVsdxUtils.getDirectChildNamedElements(this.sections['Property'].elem, "Row");
for (var i = 0; i < rows.length; i++)
{
var row = rows[i];
var n = row.getAttribute("N");
var cells = com.mxgraph.io.vsdx.mxVsdxUtils.getDirectChildElements(row);
for (var j = 0; j < cells.length; j++)
{
var cell = cells[j];
var cn = cell.getAttribute("N");
if (cn == 'Value')
{
props.push({key: n, val: cell.getAttribute("V")});
break;
}
}
}
}
return props;
};
/**
* Analyzes the shape and returns a string with the style.
* @return {*} style read from the shape.

View file

@ -35,8 +35,8 @@ w.style+=c(k.Title,z));if(b.edge){b.style=null!=k.Rounding&&"diagonal"!=k.Shape?
null!=f&&null!=g){w=new mxPoint(Math.round(f.geometry.x+f.geometry.width*k.Endpoint1.LinkX),Math.round(f.geometry.y+f.geometry.height*k.Endpoint1.LinkY));B=new mxPoint(Math.round(g.geometry.x+g.geometry.width*k.Endpoint2.LinkX),Math.round(g.geometry.y+g.geometry.height*k.Endpoint2.LinkY));Tb=w.x==B.x?Math.abs(w.x-f.geometry.x)<f.geometry.width/2?-20:20:0;Ub=w.y==B.y?Math.abs(w.y-f.geometry.y)<f.geometry.height/2?-20:20:0;var S=new mxPoint(w.x+Tb,w.y+Ub),fa=new mxPoint(B.x+Tb,B.y+Ub);S.generated=!0;
fa.generated=!0;b.geometry.points=[S,fa];w=w.x==B.x}null!=f&&f.geometry.isRotated||(S=Mc(b,k.Endpoint1,!0,w));null!=f&&null!=S&&(null==f.stylePoints&&(f.stylePoints=[]),f.stylePoints.push(S),LucidImporter.stylePointsSet.add(f));null!=g&&g.geometry.isRotated||(fa=Mc(b,k.Endpoint2,!1,w));null!=g&&null!=fa&&(null==g.stylePoints&&(g.stylePoints=[]),g.stylePoints.push(fa),LucidImporter.stylePointsSet.add(g))}}}null!=d.id&&jb(b,"lucidchartObjectId",d.id,h)}function dc(b,d){var h=u(b),m=h.Properties,g=m.BoundingBox;
null==b.Class||"AWS"!==b.Class.substring(0,3)&&"Amazon"!==b.Class.substring(0,6)||b.Class.includes("AWS19")||(g.h-=20);v=new mxCell("",new mxGeometry(Math.round(.75*g.x+Tb),Math.round(.75*g.y+Ub),Math.round(.75*g.w),Math.round(.75*g.h)),"html=1;overflow=block;blockSpacing=1;whiteSpace=wrap;");v.vertex=!0;Lb(v,b,d);v.zOrder=m.ZOrder;null!=v&&0<=v.style.indexOf(";grIcon=")&&(g=new mxCell("",new mxGeometry(v.geometry.x,v.geometry.y,v.geometry.width,v.geometry.height),"html=1;overflow=block;blockSpacing=1;whiteSpace=wrap;"),
g.vertex=!0,g.style+=a(g.style,m,h,g),v.geometry.x=0,v.geometry.y=0,v.style+="part=1;",g.insert(v),v=g);re(v,m);return v}function rd(a,b,d,h){var g=new mxCell("",new mxGeometry(0,0,100,100),"html=1;jettySize=18;");g.geometry.relative=!0;g.edge=!0;Lb(g,a,b,d,h,!0);b=u(a).Properties;d=null!=b?b.TextAreas:a.TextAreas;if(null!=d){for(h=0;null!=d["t"+h];){var m=d["t"+h],g=kb(m,g,a);h++}for(h=0;null!=d["m"+h]||1>h;)m=d["m"+h],null!=m&&(g=kb(m,g,a)),h++;null!=d.Text&&(g=kb(d.Text,g,a));d=null!=b?b.TextAreas:
a.TextAreas;null!=d.Message&&(g=kb(d.Message,g,a))}return g}function kb(a,b,d){var m=2*(parseFloat(a.Location)-.5);isNaN(m)&&null!=a.Text&&null!=a.Text.Location&&(m=2*(parseFloat(a.Text.Location)-.5));var g=mxCell,c=e(a),m=new mxGeometry(isNaN(m)?0:m,0,0,0),f=Nc;if(z)a=Aa;else{var y="11",w="";if(null!=a&&null!=a.Value&&null!=a.Value.m){for(var w=k(a.Value.m),p=0;p<a.Value.m.length;p++)if("s"==a.Value.m[p].n)y=.75*parseFloat(a.Value.m[p].v);else if("c"==a.Value.m[p].n){var C=Y(a.Value.m[p].v);null!=
g.vertex=!0,g.style+=a(g.style,m,h,g),v.geometry.x=0,v.geometry.y=0,v.style+="part=1;",g.insert(v),v=g);re(v,m);return v}function rd(a,b,d,h){var m=new mxCell("",new mxGeometry(0,0,100,100),"html=1;jettySize=18;");m.geometry.relative=!0;m.edge=!0;Lb(m,a,b,d,h,!0);b=u(a).Properties;d=null!=b?b.TextAreas:a.TextAreas;if(null!=d){for(h=0;null!=d["t"+h];){var c=d["t"+h],m=kb(c,m,a);h++}for(h=0;null!=d["m"+h]||1>h;)c=d["m"+h],null!=c&&(m=kb(c,m,a)),h++;null!=d.Text&&(m=kb(d.Text,m,a));d=null!=b?b.TextAreas:
a.TextAreas;null!=d.Message&&(m=kb(d.Message,m,a))}return m}function kb(a,b,d){var m=2*(parseFloat(a.Location)-.5);isNaN(m)&&null!=a.Text&&null!=a.Text.Location&&(m=2*(parseFloat(a.Text.Location)-.5));var g=mxCell,c=e(a),m=new mxGeometry(isNaN(m)?0:m,0,0,0),f=Nc;if(z)a=Aa;else{var y="11",w="";if(null!=a&&null!=a.Value&&null!=a.Value.m){for(var w=k(a.Value.m),p=0;p<a.Value.m.length;p++)if("s"==a.Value.m[p].n)y=.75*parseFloat(a.Value.m[p].v);else if("c"==a.Value.m[p].n){var C=Y(a.Value.m[p].v);null!=
C&&(C=C.substring(0,7));w+="fontColor="+C+";"}w+=h(d);Aa=""}a=w+";fontSize="+y+";"}g=new g(c,m,f+a);g.geometry.relative=!0;g.vertex=!0;b.insert(g);return b}function $a(a,b,d,h){null!=b&&null!=h&&(b=h(b));return null!=b&&b!=d?a+"="+b+";":""}function Mc(a,b,d,h,m){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+=(h?"":(d?"exitX":"entryX")+"="+b.LinkX+";")+(m?"":(d?"exitY":"entryY")+"="+b.LinkY+";")+(d?"exitPerimeter":"entryPerimeter")+
"=0;",b.Inside))return"["+b.LinkX+","+b.LinkY+",0]"}function sd(a,b,d,h){try{var m=function(a,b){if(null!=a)if(Array.isArray(a))for(var d=0;d<a.length;d++)m(a[d],b);else d=b?.75:1,f=Math.min(f,a.x*d),y=Math.min(y,a.y*d),w=Math.max(w,(a.x+(a.width?a.width:0))*d),k=Math.max(k,(a.y+(a.height?a.height:0))*d)};null!=a.Action&&null!=a.Action.Properties&&(a=a.Action.Properties);var c=new mxCell("",new mxGeometry,"group;dropTarget=0;");c.vertex=!0;c.zOrder=a.ZOrder;var f=Infinity,y=Infinity,w=-Infinity,k=
-Infinity,p=a.Members,e=[],C;for(C in p){var n=b[C];null!=n?e.push(n):null!=h[C]&&(e.push(h[C]),d[C]=c)}e.sort(function(a,b){var d=a.zOrder,h=b.zOrder;return null!=d&&null!=h?d>h?1:d<h?-1:0:0});for(d=b=0;d<e.length;d++)if(n=e[d],n.vertex)m(n.geometry),n.parent=c,c.insert(n,b++);else{var u=null!=n.Action&&n.Action.Properties?n.Action.Properties:n;m(u.Endpoint1,!0);m(u.Endpoint2,!0);m(u.ElbowPoints,!0);m(u.ElbowControlPoints,!0);m(u.BezierJoints,!0);m(u.Joints,!0)}c.geometry.x=f;c.geometry.y=y;c.geometry.width=
@ -1103,31 +1103,32 @@ k.getValue(),h,p),null!=b&&function(a,b){null==a.entries&&(a.entries=[]);for(var
this.addUnconnectedEdge(a,function(a,b){null==a.entries&&(a.entries=[]);for(var d=0;d<a.entries.length;d++)if(null!=a.entries[d].key.equals&&a.entries[d].key.equals(b)||a.entries[d].key===b)return a.entries[d].value;return null}(this.parentsMap,b.getKey()),b.getValue(),p);d||this.sanitiseGraph(a);return p};e.prototype.postImportPage=function(c,a,b){try{var d=this,h=[],m=c.getShapes().entries||[];for(a=0;a<m.length;a++){var y=m[a].value||{};y.toBeCroppedImg&&h.push(y)}if(0<h.length){var w=function(a,
b){function m(){a<h.length-1?w(a+1,b):b()}var k=h[a],y=k.toBeCroppedImg,e=function(a,b){null==a.entries&&(a.entries=[]);for(var d=0;d<a.entries.length;d++)if(null!=a.entries[d].key.equals&&a.entries[d].key.equals(b)||a.entries[d].key===b)return a.entries[d].value;return null}(d.vertexMap,new f.mxgraph.io.vsdx.ShapePageId(c.Id,k.Id)),p=new Image;p.onload=function(){var a=y.iData,b=y.iType;try{var d=p.width/y.imgWidth,h=p.height/y.imgHeight,c=-y.imgOffsetX*d,f=(y.imgHeight-y.height+y.imgOffsetY)*h,
k=document.createElement("canvas");k.width=y.width*d;k.height=y.height*h;var w=k.getContext("2d");w.fillStyle="#FFFFFF";w.fillRect(0,0,k.width,k.height);w.drawImage(p,c,f,k.width,k.height,0,0,k.width,k.height);a=k.toDataURL("image/jpeg").substr(23);b="jpg"}catch(Z){console.log(Z)}e.style+=";image=data:image/"+b+","+a;m()};p.src="data:image/"+y.iType+";base64,"+y.iData;p.onerror=function(){e.style+=";image=data:image/"+y.iType+","+y.iData;m()}};w(0,b)}else b()}catch(k){console.log(k),b()}};e.prototype.addShape=
function(c,a,b,d,h){a.parentHeight=h;var m=f.mxgraph.io.vsdx.VsdxShape.getType(a.getShape());if(null!=m&&(function(a,b){return a&&a.equals?a.equals(b):a===b}(m,f.mxgraph.io.vsdx.mxVsdxConstants.TYPE_SHAPE)||function(a,b){return a&&a.equals?a.equals(b):a===b}(m,f.mxgraph.io.vsdx.mxVsdxConstants.TYPE_GROUP)||function(a,b){return a&&a.equals?a.equals(b):a===b}(m,f.mxgraph.io.vsdx.mxVsdxConstants.FOREIGN))){var y=a.getId();if(a.isVertex())return m=null,m=a.isGroup()?this.addGroup(c,a,b,d,h):this.addVertex(c,
a,b,d,h),function(a,b,d){null==a.entries&&(a.entries=[]);for(var h=0;h<a.entries.length;h++)if(null!=a.entries[h].key.equals&&a.entries[h].key.equals(b)||a.entries[h].key===b){a.entries[h].value=d;return}a.entries.push({key:b,value:d,getKey:function(){return this.key},getValue:function(){return this.value}})}(this.vertexShapeMap,new f.mxgraph.io.vsdx.ShapePageId(d,y),a),a=a.getHyperlink(),a.extLink?c.setLinkForCell(m,a.extLink):a.pageLink&&c.setLinkForCell(m,"data:page/id,"+a.pageLink),m;a.setShapeIndex(c.getModel().getChildCount(b));
(function(a,b,d){null==a.entries&&(a.entries=[]);for(var h=0;h<a.entries.length;h++)if(null!=a.entries[h].key.equals&&a.entries[h].key.equals(b)||a.entries[h].key===b){a.entries[h].value=d;return}a.entries.push({key:b,value:d,getKey:function(){return this.key},getValue:function(){return this.value}})})(this.edgeShapeMap,new f.mxgraph.io.vsdx.ShapePageId(d,y),a);(function(a,b,d){null==a.entries&&(a.entries=[]);for(var h=0;h<a.entries.length;h++)if(null!=a.entries[h].key.equals&&a.entries[h].key.equals(b)||
a.entries[h].key===b){a.entries[h].value=d;return}a.entries.push({key:b,value:d,getKey:function(){return this.key},getValue:function(){return this.value}})})(this.parentsMap,new f.mxgraph.io.vsdx.ShapePageId(d,y),b)}return null};e.prototype.addGroup=function(c,a,b,d,h){var m=a.getDimensions(),y=a.getMaster(),w=a.getStyleFromShape(),k=a.getGeomList();k.isNoFill()&&(w[mxConstants.STYLE_FILLCOLOR]="none",w[mxConstants.STYLE_GRADIENTCOLOR]="none");k.isNoLine()&&(w[mxConstants.STYLE_STROKECOLOR]="none");
w.html="1";w[mxConstants.STYLE_WHITE_SPACE]="wrap";var e=f.mxgraph.io.vsdx.mxVsdxUtils.getStyleString(w,"="),w=null,p=a.getChildShapes(),w=null!=p&&0<function(a){null==a.entries&&(a.entries=[]);return a.entries.length}(p),k=a.isDisplacedLabel()||a.isRotatedLabel()||w,w=a.getOriginPoint(h,!0);if(k)w=c.insertVertex(b,null,null,Math.floor(Math.round(100*w.x)/100),Math.floor(Math.round(100*w.y)/100),Math.floor(Math.round(100*m.x)/100),Math.floor(Math.round(100*m.y)/100),e);else var n=a.getTextLabel(),
w=c.insertVertex(b,null,n,Math.floor(Math.round(100*w.x)/100),Math.floor(Math.round(100*w.y)/100),Math.floor(Math.round(100*m.x)/100),Math.floor(Math.round(100*m.y)/100),e);for(b=function(a){var b=0;return{next:function(){return b<a.length?a[b++]:null},hasNext:function(){return b<a.length}}}(function(a){null==a.entries&&(a.entries=[]);return a.entries}(p));b.hasNext();)e=b.next().getValue(),p=e.getId(),e.isVertex()?(n=f.mxgraph.io.vsdx.VsdxShape.getType(e.getShape()),null!=n&&(function(a,b){return a&&
a.equals?a.equals(b):a===b}(n,f.mxgraph.io.vsdx.mxVsdxConstants.TYPE_SHAPE)||function(a,b){return a&&a.equals?a.equals(b):a===b}(n,f.mxgraph.io.vsdx.mxVsdxConstants.TYPE_GROUP)||function(a,b){return a&&a.equals?a.equals(b):a===b}(n,f.mxgraph.io.vsdx.mxVsdxConstants.FOREIGN))&&e.isVertex()&&(e.propagateRotation(a.getRotation()),e.isGroup()?this.addGroup(c,e,w,d,m.y):this.addVertex(c,e,w,d,m.y)),null==y&&function(a,b,d){null==a.entries&&(a.entries=[]);for(var h=0;h<a.entries.length;h++)if(null!=a.entries[h].key.equals&&
a.entries[h].key.equals(b)||a.entries[h].key===b){a.entries[h].value=d;return}a.entries.push({key:b,value:d,getKey:function(){return this.key},getValue:function(){return this.value}})}(this.vertexShapeMap,new f.mxgraph.io.vsdx.ShapePageId(d,p),e)):null==y?(function(a,b,d){null==a.entries&&(a.entries=[]);for(var h=0;h<a.entries.length;h++)if(null!=a.entries[h].key.equals&&a.entries[h].key.equals(b)||a.entries[h].key===b){a.entries[h].value=d;return}a.entries.push({key:b,value:d,getKey:function(){return this.key},
getValue:function(){return this.value}})}(this.edgeShapeMap,new f.mxgraph.io.vsdx.ShapePageId(d,p),e),function(a,b,d){null==a.entries&&(a.entries=[]);for(var h=0;h<a.entries.length;h++)if(null!=a.entries[h].key.equals&&a.entries[h].key.equals(b)||a.entries[h].key===b){a.entries[h].value=d;return}a.entries.push({key:b,value:d,getKey:function(){return this.key},getValue:function(){return this.value}})}(this.parentsMap,new f.mxgraph.io.vsdx.ShapePageId(d,p),w)):this.addUnconnectedEdge(c,w,e,h);k&&a.createLabelSubShape(c,
w);c=a.getRotation();if(0!==c)for(m=w.getGeometry(),h=m.width/2,m=m.height/2,y=0;y<w.getChildCount();y++)k=w.getChildAt(y),f.mxgraph.online.Utils.rotatedGeometry(k.getGeometry(),c,h,m);(function(a,b,d){null==a.entries&&(a.entries=[]);for(var h=0;h<a.entries.length;h++)if(null!=a.entries[h].key.equals&&a.entries[h].key.equals(b)||a.entries[h].key===b){a.entries[h].value=d;return}a.entries.push({key:b,value:d,getKey:function(){return this.key},getValue:function(){return this.value}})})(this.vertexMap,
new f.mxgraph.io.vsdx.ShapePageId(d,a.getId()),w);return w};e.rotatedEdgePoint=function(c,a,b,d){a=a*Math.PI/180;var h=Math.cos(a);a=Math.sin(a);var m=c.x-b,f=c.y-d;c.x=Math.round(m*h-f*a+b);c.y=Math.round(f*h+m*a+d)};e.prototype.addVertex=function(c,a,b,d,h){var m="",y=a.isDisplacedLabel()||a.isRotatedLabel();y||(m=a.getTextLabel());var w=a.getDimensions(),k=a.getStyleFromShape();k.html="1";var e=k.hasOwnProperty(mxConstants.STYLE_SHAPE)||k.hasOwnProperty("stencil");k.hasOwnProperty(mxConstants.STYLE_FILLCOLOR)&&
e||(k[mxConstants.STYLE_FILLCOLOR]="none");e||(k[mxConstants.STYLE_STROKECOLOR]="none");k.hasOwnProperty(mxConstants.STYLE_GRADIENTCOLOR)&&e||(k[mxConstants.STYLE_GRADIENTCOLOR]="none");k[mxConstants.STYLE_WHITE_SPACE]="wrap";h=a.getOriginPoint(h,!0);return e||null!=m?(k=f.mxgraph.io.vsdx.mxVsdxUtils.getStyleString(k,"="),e=null,e=y?c.insertVertex(b,null,null,Math.floor(Math.round(100*h.x)/100),Math.floor(Math.round(100*h.y)/100),Math.floor(Math.round(100*w.x)/100),Math.floor(Math.round(100*w.y)/
100),k):c.insertVertex(b,null,m,Math.floor(Math.round(100*h.x)/100),Math.floor(Math.round(100*h.y)/100),Math.floor(Math.round(100*w.x)/100),Math.floor(Math.round(100*w.y)/100),k),function(a,b,d){null==a.entries&&(a.entries=[]);for(var h=0;h<a.entries.length;h++)if(null!=a.entries[h].key.equals&&a.entries[h].key.equals(b)||a.entries[h].key===b){a.entries[h].value=d;return}a.entries.push({key:b,value:d,getKey:function(){return this.key},getValue:function(){return this.value}})}(this.vertexMap,new f.mxgraph.io.vsdx.ShapePageId(d,
a.getId()),e),a.setLabelOffset(e,k),y&&a.createLabelSubShape(c,e),e):null};e.calculateAbsolutePoint=function(c){for(var a=0,b=0;null!=c;){var d=c.geometry;null!=d&&(a+=d.x,b+=d.y);c=c.parent}return new mxPoint(a,b)};e.prototype.addConnectedEdge=function(c,a,b,d){var h=a.getFromSheet(),h=new f.mxgraph.io.vsdx.ShapePageId(b,h),m=function(a,b){null==a.entries&&(a.entries=[]);for(var d=0;d<a.entries.length;d++)if(null!=a.entries[d].key.equals&&a.entries[d].key.equals(b)||a.entries[d].key===b)return a.entries[d].value;
return null}(this.edgeShapeMap,h);if(null==m)return null;var y=function(a,b){null==a.entries&&(a.entries=[]);for(var d=0;d<a.entries.length;d++)if(null!=a.entries[d].key.equals&&a.entries[d].key.equals(b)||a.entries[d].key===b)return a.entries[d].value;return null}(this.parentsMap,new f.mxgraph.io.vsdx.ShapePageId(b,m.getId()));if(null!=y){var w=c.getModel().getGeometry(y);null!=w&&(d=w.height)}var k=m.getStartXY(d),p=m.getEndXY(d),w=m.getRoutingPoints(d,k,m.getRotation());this.rotateChildEdge(c.getModel(),
y,k,p,w);var n=null,u=a.getSourceToSheet(),u=null!=u?function(a,b){null==a.entries&&(a.entries=[]);for(var d=0;d<a.entries.length;d++)if(null!=a.entries[d].key.equals&&a.entries[d].key.equals(b)||a.entries[d].key===b)return a.entries[d].value;return null}(this.vertexMap,new f.mxgraph.io.vsdx.ShapePageId(b,u)):null,A=!0;if(null==u)u=c.insertVertex(y,null,null,Math.floor(Math.round(100*k.x)/100),Math.floor(Math.round(100*k.y)/100),0,0);else if(u.style&&-1==u.style.indexOf(";rotation="))var n=e.calculateAbsolutePoint(u),
E=e.calculateAbsolutePoint(y),H=u.geometry,n=new mxPoint((E.x+k.x-n.x)/H.width,(E.y+k.y-n.y)/H.height);else A=!1;k=null;a=a.getTargetToSheet();a=null!=a?function(a,b){null==a.entries&&(a.entries=[]);for(var d=0;d<a.entries.length;d++)if(null!=a.entries[d].key.equals&&a.entries[d].key.equals(b)||a.entries[d].key===b)return a.entries[d].value;return null}(this.vertexMap,new f.mxgraph.io.vsdx.ShapePageId(b,a)):null;E=!0;null==a?a=c.insertVertex(y,null,null,Math.floor(Math.round(100*p.x)/100),Math.floor(Math.round(100*
p.y)/100),0,0):a.style&&-1==a.style.indexOf(";rotation=")?(b=e.calculateAbsolutePoint(a),k=e.calculateAbsolutePoint(y),H=a.geometry,k=new mxPoint((k.x+p.x-b.x)/H.width,(k.y+p.y-b.y)/H.height)):E=!1;p=m.getStyleFromEdgeShape(d);H=m.getRotation();0!==H?(b=c.insertEdge(y,null,null,u,a,f.mxgraph.io.vsdx.mxVsdxUtils.getStyleString(p,"=")),A=m.createLabelSubShape(c,b),null!=A&&(A.setStyle(A.getStyle()+";rotation="+(60<H&&240>H?(H+180)%360:H)),A=A.getGeometry(),A.x=0,A.y=0,A.relative=!0,A.offset=new mxPoint(-A.width/
2,-A.height/2))):(b=c.insertEdge(y,null,m.getTextLabel(),u,a,f.mxgraph.io.vsdx.mxVsdxUtils.getStyleString(p,"=")),H=m.getLblEdgeOffset(c.getView(),w),b.getGeometry().offset=H,null!=n&&c.setConnectionConstraint(b,u,!0,new mxConnectionConstraint(n,!1)),A&&w.shift(),null!=k&&c.setConnectionConstraint(b,a,!1,new mxConnectionConstraint(k,!1)),E&&w.pop());A=c.getModel().getGeometry(b);if(u.parent!=a.parent&&null!=y&&1!=y.id&&1==u.parent.id){a=n=0;do k=y.geometry,null!=k&&(n+=k.x,a+=k.y),y=y.parent;while(null!=
y);b.parent=u.parent;for(y=0;y<w.length;y++)w[y].x+=n,w[y].y+=a}A.points=w;p.hasOwnProperty("curved")&&function(a,b){return a&&a.equals?a.equals(b):a===b}(function(a,b){return a[b]?a[b]:null}(p,"curved"),"1")&&(A=c.getModel().getGeometry(b),c=m.getControlPoints(d),A.points=c);return h};e.prototype.addUnconnectedEdge=function(c,a,b,d){if(null!=a){var h=c.getModel().getGeometry(a);null!=h&&(d=h.height)}var m=b.getStartXY(d),y=b.getEndXY(d),w=b.getStyleFromEdgeShape(d),k=b.getRoutingPoints(d,m,b.getRotation()),
e=b.getRotation();if(0!==e){0===b.getShapeIndex()?h=c.insertEdge(a,null,null,null,null,f.mxgraph.io.vsdx.mxVsdxUtils.getStyleString(w,"=")):(h=c.createEdge(a,null,null,null,null,f.mxgraph.io.vsdx.mxVsdxUtils.getStyleString(w,"=")),h=c.addEdge(h,a,null,null,b.getShapeIndex()));var p=b.createLabelSubShape(c,h);null!=p&&(p.setStyle(p.getStyle()+";rotation="+(60<e&&240>e?(e+180)%360:e)),e=p.getGeometry(),e.x=0,e.y=0,e.relative=!0,e.offset=new mxPoint(-e.width/2,-e.height/2))}else 0===b.getShapeIndex()?
h=c.insertEdge(a,null,b.getTextLabel(),null,null,f.mxgraph.io.vsdx.mxVsdxUtils.getStyleString(w,"=")):(h=c.createEdge(a,null,b.getTextLabel(),null,null,f.mxgraph.io.vsdx.mxVsdxUtils.getStyleString(w,"=")),h=c.addEdge(h,a,null,null,b.getShapeIndex())),e=b.getLblEdgeOffset(c.getView(),k),h.getGeometry().offset=e;this.rotateChildEdge(c.getModel(),a,m,y,k);a=c.getModel().getGeometry(h);k.pop();k.shift();a.points=k;a.setTerminalPoint(m,!0);a.setTerminalPoint(y,!1);w.hasOwnProperty("curved")&&function(a,
b){return a&&a.equals?a.equals(b):a===b}(function(a,b){return a[b]?a[b]:null}(w,"curved"),"1")&&(a=c.getModel().getGeometry(h),c=b.getControlPoints(d),a.points=c);return h};e.prototype.rotateChildEdge=function(c,a,b,d,h){if(null!=a){var m=c.getGeometry(a);c=c.getStyle(a);if(null!=m&&null!=c&&(a=c.indexOf("rotation="),-1<a))for(c=parseFloat(c.substring(a+9,c.indexOf(";",a))),a=m.width/2,m=m.height/2,e.rotatedEdgePoint(b,c,a,m),e.rotatedEdgePoint(d,c,a,m),b=0;b<h.length;b++)e.rotatedEdgePoint(h[b],
c,a,m)}};e.prototype.sanitiseGraph=function(c){var a=c.getModel().getRoot();this.sanitiseCell(c,a)};e.prototype.sanitiseCell=function(c,a){for(var b=c.getModel(),d=b.getChildCount(a),h=[],m=0;m<d;m++){var f=b.getChildAt(a,m);this.sanitiseCell(c,f)&&h.push(f)}for(m=0;m<h.length;m++)b.remove(h[m]);h=a.geometry;null!=h&&(0>h.height&&(h.height=Math.abs(h.height),h.y-=h.height,a.style+=";flipV=1;"),0>h.width&&(h.width=Math.abs(h.width),h.x-=h.width,a.style+=";flipH=1;"));0<d&&(d=b.getChildCount(a));h=
(new String(b.getValue(a))).toString();m=b.getStyle(a);return 0!==d||!b.isVertex(a)||null!=b.getValue(a)&&0!==h.length||null==m||-1==m.indexOf(mxConstants.STYLE_FILLCOLOR+"=none")||-1==m.indexOf(mxConstants.STYLE_STROKECOLOR+"=none")||-1!=m.indexOf("image=")?!1:!0};return e}();e.mxVsdxCodec=n;n.__class="com.mxgraph.io.mxVsdxCodec"})(n.io||(n.io={}))})(f.mxgraph||(f.mxgraph={}))})(com||(com={}));
function(c,a,b,d,h){a.parentHeight=h;var m=f.mxgraph.io.vsdx.VsdxShape.getType(a.getShape());if(null!=m&&(function(a,b){return a&&a.equals?a.equals(b):a===b}(m,f.mxgraph.io.vsdx.mxVsdxConstants.TYPE_SHAPE)||function(a,b){return a&&a.equals?a.equals(b):a===b}(m,f.mxgraph.io.vsdx.mxVsdxConstants.TYPE_GROUP)||function(a,b){return a&&a.equals?a.equals(b):a===b}(m,f.mxgraph.io.vsdx.mxVsdxConstants.FOREIGN))){var y=a.getId();if(a.isVertex()){m=null;m=a.isGroup()?this.addGroup(c,a,b,d,h):this.addVertex(c,
a,b,d,h);(function(a,b,d){null==a.entries&&(a.entries=[]);for(var h=0;h<a.entries.length;h++)if(null!=a.entries[h].key.equals&&a.entries[h].key.equals(b)||a.entries[h].key===b){a.entries[h].value=d;return}a.entries.push({key:b,value:d,getKey:function(){return this.key},getValue:function(){return this.value}})})(this.vertexShapeMap,new f.mxgraph.io.vsdx.ShapePageId(d,y),a);b=a.getHyperlink();b.extLink?c.setLinkForCell(m,b.extLink):b.pageLink&&c.setLinkForCell(m,"data:page/id,"+b.pageLink);a=a.getProperties();
for(b=0;b<a.length;b++)c.setAttributeForCell(m,a[b].key,a[b].val);return m}a.setShapeIndex(c.getModel().getChildCount(b));(function(a,b,d){null==a.entries&&(a.entries=[]);for(var h=0;h<a.entries.length;h++)if(null!=a.entries[h].key.equals&&a.entries[h].key.equals(b)||a.entries[h].key===b){a.entries[h].value=d;return}a.entries.push({key:b,value:d,getKey:function(){return this.key},getValue:function(){return this.value}})})(this.edgeShapeMap,new f.mxgraph.io.vsdx.ShapePageId(d,y),a);(function(a,b,d){null==
a.entries&&(a.entries=[]);for(var h=0;h<a.entries.length;h++)if(null!=a.entries[h].key.equals&&a.entries[h].key.equals(b)||a.entries[h].key===b){a.entries[h].value=d;return}a.entries.push({key:b,value:d,getKey:function(){return this.key},getValue:function(){return this.value}})})(this.parentsMap,new f.mxgraph.io.vsdx.ShapePageId(d,y),b)}return null};e.prototype.addGroup=function(c,a,b,d,h){var m=a.getDimensions(),y=a.getMaster(),w=a.getStyleFromShape(),k=a.getGeomList();k.isNoFill()&&(w[mxConstants.STYLE_FILLCOLOR]=
"none",w[mxConstants.STYLE_GRADIENTCOLOR]="none");k.isNoLine()&&(w[mxConstants.STYLE_STROKECOLOR]="none");w.html="1";w[mxConstants.STYLE_WHITE_SPACE]="wrap";var e=f.mxgraph.io.vsdx.mxVsdxUtils.getStyleString(w,"="),w=null,p=a.getChildShapes(),w=null!=p&&0<function(a){null==a.entries&&(a.entries=[]);return a.entries.length}(p),k=a.isDisplacedLabel()||a.isRotatedLabel()||w,w=a.getOriginPoint(h,!0);if(k)w=c.insertVertex(b,null,null,Math.floor(Math.round(100*w.x)/100),Math.floor(Math.round(100*w.y)/100),
Math.floor(Math.round(100*m.x)/100),Math.floor(Math.round(100*m.y)/100),e);else var n=a.getTextLabel(),w=c.insertVertex(b,null,n,Math.floor(Math.round(100*w.x)/100),Math.floor(Math.round(100*w.y)/100),Math.floor(Math.round(100*m.x)/100),Math.floor(Math.round(100*m.y)/100),e);for(b=function(a){var b=0;return{next:function(){return b<a.length?a[b++]:null},hasNext:function(){return b<a.length}}}(function(a){null==a.entries&&(a.entries=[]);return a.entries}(p));b.hasNext();)e=b.next().getValue(),p=e.getId(),
e.isVertex()?(n=f.mxgraph.io.vsdx.VsdxShape.getType(e.getShape()),null!=n&&(function(a,b){return a&&a.equals?a.equals(b):a===b}(n,f.mxgraph.io.vsdx.mxVsdxConstants.TYPE_SHAPE)||function(a,b){return a&&a.equals?a.equals(b):a===b}(n,f.mxgraph.io.vsdx.mxVsdxConstants.TYPE_GROUP)||function(a,b){return a&&a.equals?a.equals(b):a===b}(n,f.mxgraph.io.vsdx.mxVsdxConstants.FOREIGN))&&e.isVertex()&&(e.propagateRotation(a.getRotation()),e.isGroup()?this.addGroup(c,e,w,d,m.y):this.addVertex(c,e,w,d,m.y)),null==
y&&function(a,b,d){null==a.entries&&(a.entries=[]);for(var h=0;h<a.entries.length;h++)if(null!=a.entries[h].key.equals&&a.entries[h].key.equals(b)||a.entries[h].key===b){a.entries[h].value=d;return}a.entries.push({key:b,value:d,getKey:function(){return this.key},getValue:function(){return this.value}})}(this.vertexShapeMap,new f.mxgraph.io.vsdx.ShapePageId(d,p),e)):null==y?(function(a,b,d){null==a.entries&&(a.entries=[]);for(var h=0;h<a.entries.length;h++)if(null!=a.entries[h].key.equals&&a.entries[h].key.equals(b)||
a.entries[h].key===b){a.entries[h].value=d;return}a.entries.push({key:b,value:d,getKey:function(){return this.key},getValue:function(){return this.value}})}(this.edgeShapeMap,new f.mxgraph.io.vsdx.ShapePageId(d,p),e),function(a,b,d){null==a.entries&&(a.entries=[]);for(var h=0;h<a.entries.length;h++)if(null!=a.entries[h].key.equals&&a.entries[h].key.equals(b)||a.entries[h].key===b){a.entries[h].value=d;return}a.entries.push({key:b,value:d,getKey:function(){return this.key},getValue:function(){return this.value}})}(this.parentsMap,
new f.mxgraph.io.vsdx.ShapePageId(d,p),w)):this.addUnconnectedEdge(c,w,e,h);k&&a.createLabelSubShape(c,w);c=a.getRotation();if(0!==c)for(m=w.getGeometry(),h=m.width/2,m=m.height/2,y=0;y<w.getChildCount();y++)k=w.getChildAt(y),f.mxgraph.online.Utils.rotatedGeometry(k.getGeometry(),c,h,m);(function(a,b,d){null==a.entries&&(a.entries=[]);for(var h=0;h<a.entries.length;h++)if(null!=a.entries[h].key.equals&&a.entries[h].key.equals(b)||a.entries[h].key===b){a.entries[h].value=d;return}a.entries.push({key:b,
value:d,getKey:function(){return this.key},getValue:function(){return this.value}})})(this.vertexMap,new f.mxgraph.io.vsdx.ShapePageId(d,a.getId()),w);return w};e.rotatedEdgePoint=function(c,a,b,d){a=a*Math.PI/180;var h=Math.cos(a);a=Math.sin(a);var m=c.x-b,f=c.y-d;c.x=Math.round(m*h-f*a+b);c.y=Math.round(f*h+m*a+d)};e.prototype.addVertex=function(c,a,b,d,h){var m="",y=a.isDisplacedLabel()||a.isRotatedLabel();y||(m=a.getTextLabel());var w=a.getDimensions(),k=a.getStyleFromShape();k.html="1";var e=
k.hasOwnProperty(mxConstants.STYLE_SHAPE)||k.hasOwnProperty("stencil");k.hasOwnProperty(mxConstants.STYLE_FILLCOLOR)&&e||(k[mxConstants.STYLE_FILLCOLOR]="none");e||(k[mxConstants.STYLE_STROKECOLOR]="none");k.hasOwnProperty(mxConstants.STYLE_GRADIENTCOLOR)&&e||(k[mxConstants.STYLE_GRADIENTCOLOR]="none");k[mxConstants.STYLE_WHITE_SPACE]="wrap";h=a.getOriginPoint(h,!0);return e||null!=m?(k=f.mxgraph.io.vsdx.mxVsdxUtils.getStyleString(k,"="),e=null,e=y?c.insertVertex(b,null,null,Math.floor(Math.round(100*
h.x)/100),Math.floor(Math.round(100*h.y)/100),Math.floor(Math.round(100*w.x)/100),Math.floor(Math.round(100*w.y)/100),k):c.insertVertex(b,null,m,Math.floor(Math.round(100*h.x)/100),Math.floor(Math.round(100*h.y)/100),Math.floor(Math.round(100*w.x)/100),Math.floor(Math.round(100*w.y)/100),k),function(a,b,d){null==a.entries&&(a.entries=[]);for(var h=0;h<a.entries.length;h++)if(null!=a.entries[h].key.equals&&a.entries[h].key.equals(b)||a.entries[h].key===b){a.entries[h].value=d;return}a.entries.push({key:b,
value:d,getKey:function(){return this.key},getValue:function(){return this.value}})}(this.vertexMap,new f.mxgraph.io.vsdx.ShapePageId(d,a.getId()),e),a.setLabelOffset(e,k),y&&a.createLabelSubShape(c,e),e):null};e.calculateAbsolutePoint=function(c){for(var a=0,b=0;null!=c;){var d=c.geometry;null!=d&&(a+=d.x,b+=d.y);c=c.parent}return new mxPoint(a,b)};e.prototype.addConnectedEdge=function(c,a,b,d){var h=a.getFromSheet(),h=new f.mxgraph.io.vsdx.ShapePageId(b,h),m=function(a,b){null==a.entries&&(a.entries=
[]);for(var d=0;d<a.entries.length;d++)if(null!=a.entries[d].key.equals&&a.entries[d].key.equals(b)||a.entries[d].key===b)return a.entries[d].value;return null}(this.edgeShapeMap,h);if(null==m)return null;var y=function(a,b){null==a.entries&&(a.entries=[]);for(var d=0;d<a.entries.length;d++)if(null!=a.entries[d].key.equals&&a.entries[d].key.equals(b)||a.entries[d].key===b)return a.entries[d].value;return null}(this.parentsMap,new f.mxgraph.io.vsdx.ShapePageId(b,m.getId()));if(null!=y){var w=c.getModel().getGeometry(y);
null!=w&&(d=w.height)}var k=m.getStartXY(d),p=m.getEndXY(d),w=m.getRoutingPoints(d,k,m.getRotation());this.rotateChildEdge(c.getModel(),y,k,p,w);var n=null,u=a.getSourceToSheet(),u=null!=u?function(a,b){null==a.entries&&(a.entries=[]);for(var d=0;d<a.entries.length;d++)if(null!=a.entries[d].key.equals&&a.entries[d].key.equals(b)||a.entries[d].key===b)return a.entries[d].value;return null}(this.vertexMap,new f.mxgraph.io.vsdx.ShapePageId(b,u)):null,A=!0;if(null==u)u=c.insertVertex(y,null,null,Math.floor(Math.round(100*
k.x)/100),Math.floor(Math.round(100*k.y)/100),0,0);else if(u.style&&-1==u.style.indexOf(";rotation="))var n=e.calculateAbsolutePoint(u),E=e.calculateAbsolutePoint(y),H=u.geometry,n=new mxPoint((E.x+k.x-n.x)/H.width,(E.y+k.y-n.y)/H.height);else A=!1;k=null;a=a.getTargetToSheet();a=null!=a?function(a,b){null==a.entries&&(a.entries=[]);for(var d=0;d<a.entries.length;d++)if(null!=a.entries[d].key.equals&&a.entries[d].key.equals(b)||a.entries[d].key===b)return a.entries[d].value;return null}(this.vertexMap,
new f.mxgraph.io.vsdx.ShapePageId(b,a)):null;E=!0;null==a?a=c.insertVertex(y,null,null,Math.floor(Math.round(100*p.x)/100),Math.floor(Math.round(100*p.y)/100),0,0):a.style&&-1==a.style.indexOf(";rotation=")?(b=e.calculateAbsolutePoint(a),k=e.calculateAbsolutePoint(y),H=a.geometry,k=new mxPoint((k.x+p.x-b.x)/H.width,(k.y+p.y-b.y)/H.height)):E=!1;p=m.getStyleFromEdgeShape(d);H=m.getRotation();0!==H?(b=c.insertEdge(y,null,null,u,a,f.mxgraph.io.vsdx.mxVsdxUtils.getStyleString(p,"=")),A=m.createLabelSubShape(c,
b),null!=A&&(A.setStyle(A.getStyle()+";rotation="+(60<H&&240>H?(H+180)%360:H)),A=A.getGeometry(),A.x=0,A.y=0,A.relative=!0,A.offset=new mxPoint(-A.width/2,-A.height/2))):(b=c.insertEdge(y,null,m.getTextLabel(),u,a,f.mxgraph.io.vsdx.mxVsdxUtils.getStyleString(p,"=")),H=m.getLblEdgeOffset(c.getView(),w),b.getGeometry().offset=H,null!=n&&c.setConnectionConstraint(b,u,!0,new mxConnectionConstraint(n,!1)),A&&w.shift(),null!=k&&c.setConnectionConstraint(b,a,!1,new mxConnectionConstraint(k,!1)),E&&w.pop());
A=c.getModel().getGeometry(b);if(u.parent!=a.parent&&null!=y&&1!=y.id&&1==u.parent.id){a=n=0;do k=y.geometry,null!=k&&(n+=k.x,a+=k.y),y=y.parent;while(null!=y);b.parent=u.parent;for(y=0;y<w.length;y++)w[y].x+=n,w[y].y+=a}A.points=w;p.hasOwnProperty("curved")&&function(a,b){return a&&a.equals?a.equals(b):a===b}(function(a,b){return a[b]?a[b]:null}(p,"curved"),"1")&&(A=c.getModel().getGeometry(b),c=m.getControlPoints(d),A.points=c);return h};e.prototype.addUnconnectedEdge=function(c,a,b,d){if(null!=
a){var h=c.getModel().getGeometry(a);null!=h&&(d=h.height)}var m=b.getStartXY(d),y=b.getEndXY(d),w=b.getStyleFromEdgeShape(d),k=b.getRoutingPoints(d,m,b.getRotation()),e=b.getRotation();if(0!==e){0===b.getShapeIndex()?h=c.insertEdge(a,null,null,null,null,f.mxgraph.io.vsdx.mxVsdxUtils.getStyleString(w,"=")):(h=c.createEdge(a,null,null,null,null,f.mxgraph.io.vsdx.mxVsdxUtils.getStyleString(w,"=")),h=c.addEdge(h,a,null,null,b.getShapeIndex()));var p=b.createLabelSubShape(c,h);null!=p&&(p.setStyle(p.getStyle()+
";rotation="+(60<e&&240>e?(e+180)%360:e)),e=p.getGeometry(),e.x=0,e.y=0,e.relative=!0,e.offset=new mxPoint(-e.width/2,-e.height/2))}else 0===b.getShapeIndex()?h=c.insertEdge(a,null,b.getTextLabel(),null,null,f.mxgraph.io.vsdx.mxVsdxUtils.getStyleString(w,"=")):(h=c.createEdge(a,null,b.getTextLabel(),null,null,f.mxgraph.io.vsdx.mxVsdxUtils.getStyleString(w,"=")),h=c.addEdge(h,a,null,null,b.getShapeIndex())),e=b.getLblEdgeOffset(c.getView(),k),h.getGeometry().offset=e;this.rotateChildEdge(c.getModel(),
a,m,y,k);a=c.getModel().getGeometry(h);k.pop();k.shift();a.points=k;a.setTerminalPoint(m,!0);a.setTerminalPoint(y,!1);w.hasOwnProperty("curved")&&function(a,b){return a&&a.equals?a.equals(b):a===b}(function(a,b){return a[b]?a[b]:null}(w,"curved"),"1")&&(a=c.getModel().getGeometry(h),c=b.getControlPoints(d),a.points=c);return h};e.prototype.rotateChildEdge=function(c,a,b,d,h){if(null!=a){var m=c.getGeometry(a);c=c.getStyle(a);if(null!=m&&null!=c&&(a=c.indexOf("rotation="),-1<a))for(c=parseFloat(c.substring(a+
9,c.indexOf(";",a))),a=m.width/2,m=m.height/2,e.rotatedEdgePoint(b,c,a,m),e.rotatedEdgePoint(d,c,a,m),b=0;b<h.length;b++)e.rotatedEdgePoint(h[b],c,a,m)}};e.prototype.sanitiseGraph=function(c){var a=c.getModel().getRoot();this.sanitiseCell(c,a)};e.prototype.sanitiseCell=function(c,a){for(var b=c.getModel(),d=b.getChildCount(a),h=[],m=0;m<d;m++){var f=b.getChildAt(a,m);this.sanitiseCell(c,f)&&h.push(f)}for(m=0;m<h.length;m++)b.remove(h[m]);h=a.geometry;null!=h&&(0>h.height&&(h.height=Math.abs(h.height),
h.y-=h.height,a.style+=";flipV=1;"),0>h.width&&(h.width=Math.abs(h.width),h.x-=h.width,a.style+=";flipH=1;"));0<d&&(d=b.getChildCount(a));h=(new String(b.getValue(a))).toString();m=b.getStyle(a);return 0!==d||!b.isVertex(a)||null!=b.getValue(a)&&0!==h.length||null==m||-1==m.indexOf(mxConstants.STYLE_FILLCOLOR+"=none")||-1==m.indexOf(mxConstants.STYLE_STROKECOLOR+"=none")||-1!=m.indexOf("image=")?!1:!0};return e}();e.mxVsdxCodec=n;n.__class="com.mxgraph.io.mxVsdxCodec"})(n.io||(n.io={}))})(f.mxgraph||
(f.mxgraph={}))})(com||(com={}));
(function(f){(function(n){(function(e){var n=function(e){function c(a){var b=e.call(this)||this;b.RESPONSE_END="";b.RESPONSE_DIAGRAM_START="";b.RESPONSE_DIAGRAM_END="";b.RESPONSE_HEADER="";b.editorUi=a;return b}__extends(c,e);c.prototype.decodeVssx=function(a,b,d,h){var m=this,c="<mxlibrary>[";this.decodeVsdx(a,function(a){c=c.concat(a);var d=m.vsdxModel.getMasterShapes(),y=function(a){var b=0;return{next:function(){return b<a.length?a[b++]:null},hasNext:function(){return b<a.length}}}(function(a){var b=
[];null==a.entries&&(a.entries=[]);for(var d=0;d<a.entries.length;d++)b.push(a.entries[d].value);return b}(m.vsdxModel.getPages())).next();if(null!=d){var w={str:"",toString:function(){return this.str}},p=0===a.length?"":",",n=function(a){return Object.keys(a).map(function(b){return a[b]})}(d);a=function(a){a=n[a];var b=u.createMxGraph(),h=1;if(null!=a.pageSheet){var m=h=1,c=a.pageSheet.DrawingScale;null!=c&&(h=parseFloat(c.getAttribute("V"))||1);c=a.pageSheet.PageScale;null!=c&&(m=parseFloat(c.getAttribute("V"))||
1);h=m/h}m=!1;for(c=0;null!=a.firstLevelShapes&&c<a.firstLevelShapes.length;c++){var k=a.firstLevelShapes[c].getShape(),C=new f.mxgraph.io.vsdx.VsdxShape(y,k,!y.isEdge(k),d,null,u.vsdxModel),k=null;if(C.isVertex()){u.edgeShapeMap.entries=[];u.parentsMap.entries=[];for(var k=u.addShape(b,C,b.getDefaultParent(),0,1169),C=function(a){null==a.entries&&(a.entries=[]);return a.entries}(u.edgeShapeMap),D=0;D<C.length;D++){var B=C[D],A=function(a,b){null==a.entries&&(a.entries=[]);for(var d=0;d<a.entries.length;d++)if(null!=
@ -1261,7 +1262,7 @@ a||1!=a.nodeType)&&null!==a||"string"!==typeof b&&null!==b||void 0!==d)throw Err
a.length?a[b++]:null},hasNext:function(){return b<a.length}}}(function(a){return Object.keys(a).map(function(b){return a[b]})}(a)),m=function(a){var b=0;return{next:function(){return b<a.length?a[b++]:null},hasNext:function(){return b<a.length}}}(Object.keys(a));m.hasNext();){var c=m.next(),f=h.next();if(!function(a,b){return a&&a.equals?a.equals(b):a===b}(c,mxConstants.STYLE_SHAPE)||!function(a,b,d){void 0===d&&(d=0);return a.substr(d,b.length)===b}(a[c]?a[c]:null,"image")&&!function(a,b,d){void 0===
d&&(d=0);return a.substr(d,b.length)===b}(a[c]?a[c]:null,"rounded="))try{d=d+c+b}catch(k){console.error("mxVsdxUtils.getStyleString,"+k+",style.length="+d.length+",key.length="+c.length+",asig.length="+b.length)}d=d+f+";"}return d};c.surroundByTags=function(a,b){return"<"+b+">"+a+"</"+b+">"};c.htmlEntities=function(a){return a.replace(RegExp("&","g"),"&amp;").replace(RegExp('"',"g"),"&quot;").replace(RegExp("'","g"),"&prime;").replace(RegExp("<","g"),"&lt;").replace(RegExp(">","g"),"&gt;")};c.toInitialCapital=
function(a){a=a.split(" ");for(var b="",d=0;d<a.length;d++)var h=a[d],m=h.substring(0,1),h=h.substring(1),m=m.toUpperCase(),b=b+(m+h);return b.substring(0,b.length)};c.toSmallCaps=function(a,b){var d="",h=d;if(b&&b.equals?b.equals(h):b===h)d=a;else for(var h=a.split(""),m=0;m<h.length;m++){var c=h[m];(null==c.charCodeAt?c:c.charCodeAt(0))>=(null=="a".charCodeAt?"a":97)&&(null==c.charCodeAt?c:c.charCodeAt(0))<=(null=="z".charCodeAt?"z":122)?(c=(new String(c)).toString(),c=c.toUpperCase(),d+='<font style="font-size:'+
parseFloat(b)/1.28+'px">'+c+"</font>"):d+=c}return d};c.getStyleMap=function(a,b){for(var d={},h=a.split(";"),c=0;c<h.length;c++){var f=h[c],e=f.indexOf(b),k=f.substring(0,e),f=f.substring(e+1);d[k]=f}return d};c.isInsideTriangle=function(a,b,d,h,c,f,e,k){var m=(a-c)*(h-f)-(d-c)*(b-f);c=(a-e)*(f-k)-(c-e)*(b-k);a=(a-d)*(k-h)-(e-d)*(b-h);return!((0>m||0>c||0>a)&&(0<m||0<c||0<a))};return c}();p.screenCoordinatesPerCm=40;p.CENTIMETERS_PER_INCHES=2.54;e.mxVsdxUtils=p;p.__class="com.mxgraph.io.vsdx.mxVsdxUtils"})(e.vsdx||
parseFloat(b)/1.28+'px">'+c+"</font>"):d+=c}return d};c.getStyleMap=function(a,b){for(var d={},h=a.split(";"),m=0;m<h.length;m++){var c=h[m],f=c.indexOf(b),k=c.substring(0,f),c=c.substring(f+1);d[k]=c}return d};c.isInsideTriangle=function(a,b,d,h,c,f,e,k){var m=(a-c)*(h-f)-(d-c)*(b-f);c=(a-e)*(f-k)-(c-e)*(b-k);a=(a-d)*(k-h)-(e-d)*(b-h);return!((0>m||0>c||0>a)&&(0<m||0<c||0<a))};return c}();p.screenCoordinatesPerCm=40;p.CENTIMETERS_PER_INCHES=2.54;e.mxVsdxUtils=p;p.__class="com.mxgraph.io.vsdx.mxVsdxUtils"})(e.vsdx||
(e.vsdx={}))})(n.io||(n.io={}))})(f.mxgraph||(f.mxgraph={}))})(com||(com={}));
(function(f){(function(f){(function(f){(function(f){var e=function(){function c(a,b,d,h){this.paraIndex=this.fields=this.charIndices=this.values=null;this.values=[];this.values.push(a);this.charIndices=[];this.charIndices.push(b);this.fields=[];this.fields.push(h);this.paraIndex=d}c.prototype.addText=function(a,b,d){this.values.push(a);this.charIndices.push(b);this.fields.push(d)};c.prototype.getParagraphIndex=function(){return this.paraIndex};c.prototype.getValue=function(a){return this.values[a]};
c.prototype.numValues=function(){return this.values.length};c.prototype.getChar=function(a){return this.charIndices[a]};c.prototype.getField=function(a){return this.fields[a]};return c}();f.Paragraph=e;e.__class="com.mxgraph.io.vsdx.Paragraph"})(f.vsdx||(f.vsdx={}))})(f.io||(f.io={}))})(f.mxgraph||(f.mxgraph={}))})(com||(com={}));
@ -1381,10 +1382,10 @@ a)||function(a,b){return a&&a.equals?a.equals(b):a===b}(f.mxgraph.io.vsdx.mxVsdx
function(){var a="";(function(a,d){return a&&a.equals?a.equals(d):a===d})(this.getValue(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.LINE_PATTERN),"1"),"0")?a="none":(a=this.getColor(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.LINE_COLOR)),function(a,d){return a&&a.equals?a.equals(d):a===d}("Themed",a)&&(a=this.getTheme(),a=null!=a?(this.isVertex()?a.getLineColor$com_mxgraph_io_vsdx_theme_QuickStyleVals(this.getQuickStyleVals()):a.getConnLineColor(this.getQuickStyleVals())).toHexStr():
""));return a};c.prototype.getFillColor=function(){if(function(a,b){return a&&a.equals?a.equals(b):a===b}("1",this.getValue(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.FILL_GRADIENT_ENABLED),"0"))){var a=function(a,b){return a[b]?a[b]:null}(this.sections,"FillGradient");if(null!=a&&(a=this.getColor(a.getIndexedCell("0","GradientStopColor")),null!=a&&0!==a.length))return a}a=this.getColor(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.FILL_FOREGND));
(function(a,b){return a&&a.equals?a.equals(b):a===b})("Themed",a)&&(a=this.getTheme(),null!=a?(a=a.getFillColor$com_mxgraph_io_vsdx_theme_QuickStyleVals(this.getQuickStyleVals()),a=a.toHexStr()):a="#FFFFFF");var b=this.getValue(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.FILL_PATTERN),"0");return null!=b&&function(a,b){return a&&a.equals?a.equals(b):a===b}(b,"0")?"none":a};c.prototype.getColor=function(a){a=this.getValue(a,"");(function(a,d){return a&&a.equals?a.equals(d):
a===d})("Themed",a)||function(a,d,h){void 0===h&&(h=0);return a.substr(h,d.length)===d}(a,"#")||(a=this.pm.getColor(a));return a};c.prototype.getTextBkgndColor=function(a){a=this.getValue(a,"");return function(a,d,h){void 0===h&&(h=0);return a.substr(h,d.length)===d}(a,"#")?a:function(a,d){return a&&a.equals?a.equals(d):a===d}(a,"0")||function(a,d){return a&&a.equals?a.equals(d):a===d}(a,"255")||0===a.length?"none":this.pm.getColor((new String(parseInt(a)-1)).toString())};c.prototype.getLineWeight=
a===d})("Themed",a)||function(a,d,c){void 0===c&&(c=0);return a.substr(c,d.length)===d}(a,"#")||(a=this.pm.getColor(a));return a};c.prototype.getTextBkgndColor=function(a){a=this.getValue(a,"");return function(a,d,c){void 0===c&&(c=0);return a.substr(c,d.length)===d}(a,"#")?a:function(a,d){return a&&a.equals?a.equals(d):a===d}(a,"0")||function(a,d){return a&&a.equals?a.equals(d):a===d}(a,"255")||0===a.length?"none":this.pm.getColor((new String(parseInt(a)-1)).toString())};c.prototype.getLineWeight=
function(){return this.getScreenNumericalValue$org_w3c_dom_Element$double(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.LINE_WEIGHT),0)};c.prototype.getStrokeTransparency=function(){return this.getValueAsDouble(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.LINE_COLOR_TRANS),0)};c.prototype.getNameU=function(){return this.shape.getAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.NAME_U)||""};c.prototype.getName=function(){return this.shape.getAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.NAME)||
""};c.prototype.getUniqueID=function(){return this.shape.getAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.UNIQUE_ID)||""};c.prototype.getId=function(){return this.Id};c.prototype.getTextColor=function(a){a=this.getCellElement$java_lang_String$java_lang_String$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.COLOR,a,f.mxgraph.io.vsdx.mxVsdxConstants.CHARACTER);a=this.getValue(a,"#000000");(function(a,d){return a&&a.equals?a.equals(d):a===d})("Themed",a)?(a=this.getTheme(),a=null!=a?(this.isVertex()?
a.getFontColor$com_mxgraph_io_vsdx_theme_QuickStyleVals(this.getQuickStyleVals()):a.getConnFontColor(this.getQuickStyleVals())).toHexStr():"#000000"):function(a,d,h){void 0===h&&(h=0);return a.substr(h,d.length)===d}(a,"#")||(a=this.pm.getColor(a));return a};c.prototype.getTextTopMargin=function(){return this.getScreenNumericalValue$org_w3c_dom_Element$double(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.TOP_MARGIN),0)};c.prototype.getTextBottomMargin=function(){return this.getScreenNumericalValue$org_w3c_dom_Element$double(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.BOTTOM_MARGIN),
a.getFontColor$com_mxgraph_io_vsdx_theme_QuickStyleVals(this.getQuickStyleVals()):a.getConnFontColor(this.getQuickStyleVals())).toHexStr():"#000000"):function(a,d,c){void 0===c&&(c=0);return a.substr(c,d.length)===d}(a,"#")||(a=this.pm.getColor(a));return a};c.prototype.getTextTopMargin=function(){return this.getScreenNumericalValue$org_w3c_dom_Element$double(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.TOP_MARGIN),0)};c.prototype.getTextBottomMargin=function(){return this.getScreenNumericalValue$org_w3c_dom_Element$double(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.BOTTOM_MARGIN),
0)};c.prototype.getTextLeftMargin=function(){return this.getScreenNumericalValue$org_w3c_dom_Element$double(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.LEFT_MARGIN),0)};c.prototype.getTextRightMargin=function(){return this.getScreenNumericalValue$org_w3c_dom_Element$double(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.RIGHT_MARGIN),0)};c.prototype.getTextStyle=function(a){a=this.getCellElement$java_lang_String$java_lang_String$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.STYLE,
a,f.mxgraph.io.vsdx.mxVsdxConstants.CHARACTER);return this.getValue(a,"")};c.prototype.getTextFont=function(a){a=this.getCellElement$java_lang_String$java_lang_String$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.FONT,a,f.mxgraph.io.vsdx.mxVsdxConstants.CHARACTER);return this.getValue(a,"")};c.prototype.getTextPos=function(a){a=this.getCellElement$java_lang_String$java_lang_String$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.POS,a,f.mxgraph.io.vsdx.mxVsdxConstants.CHARACTER);return this.getValue(a,
"")};c.prototype.getTextStrike=function(a){a=this.getCellElement$java_lang_String$java_lang_String$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.STRIKETHRU,a,f.mxgraph.io.vsdx.mxVsdxConstants.CHARACTER);a=(a=this.getValue(a,""))&&a.equals?a.equals("1"):"1"===a;return a};c.prototype.getTextCase=function(a){a=this.getCellElement$java_lang_String$java_lang_String$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.CASE,a,f.mxgraph.io.vsdx.mxVsdxConstants.CHARACTER);return this.getValue(a,"")};c.prototype.getHorizontalAlign=
@ -1400,11 +1401,11 @@ c.lineDashPatterns_$LI$().push(a);a=[];a.push(c.SHORT_DASH);a.push(c.SHORT_SPACE
a.push(c.SHORT_DASH);a.push(c.SHORT_SPACE);a.push(c.SHORT_DASH);a.push(c.SHORT_SPACE);c.lineDashPatterns_$LI$().push(a);a=[];a.push(c.LONG_DASH);a.push(c.LONG_SPACE);c.lineDashPatterns_$LI$().push(a);a=[];a.push(c.DOT);a.push(c.LONG_SPACE);c.lineDashPatterns_$LI$().push(a);a=[];a.push(c.LONG_DASH);a.push(c.LONG_SPACE);a.push(c.DOT);a.push(c.LONG_SPACE);c.lineDashPatterns_$LI$().push(a);a=[];a.push(c.LONG_DASH);a.push(c.LONG_SPACE);a.push(c.DOT);a.push(c.LONG_SPACE);a.push(c.DOT);a.push(c.LONG_SPACE);
c.lineDashPatterns_$LI$().push(a);a=[];a.push(c.LONG_DASH);a.push(c.LONG_SPACE);a.push(c.LONG_DASH);a.push(c.LONG_SPACE);a.push(c.DOT);a.push(c.LONG_SPACE);c.lineDashPatterns_$LI$().push(a);a=[];a.push(c.XLONG_DASH);a.push(c.LONG_SPACE);a.push(c.DASH);a.push(c.LONG_SPACE);c.lineDashPatterns_$LI$().push(a);a=[];a.push(c.XLONG_DASH);a.push(c.LONG_SPACE);a.push(c.DASH);a.push(c.LONG_SPACE);a.push(c.DASH);a.push(c.LONG_SPACE);c.lineDashPatterns_$LI$().push(a);a=[];a.push(c.XSHORT_DASH);a.push(c.SHORT_SPACE);
c.lineDashPatterns_$LI$().push(a)};c.getLineDashPattern=function(a){return 0<=a&&23>=a?c.lineDashPatterns_$LI$()[a]:c.lineDashPatterns_$LI$()[0]};return c}();p.__static_initialized=!1;p.vsdxStyleDebug=!1;p.SPACE=4;p.SHORT_SPACE=2;p.LONG_SPACE=6;p.DOT=1;p.DASH=8;p.LONG_DASH=12;p.SHORT_DASH=4;p.XLONG_DASH=20;p.XSHORT_DASH=2;e.Style=p;p.__class="com.mxgraph.io.vsdx.Style"})(e.vsdx||(e.vsdx={}))})(n.io||(n.io={}))})(f.mxgraph||(f.mxgraph={}))})(com||(com={}));
(function(f){(function(n){(function(e){(function(e){(function(e){var c=function(a){function b(b,h,c){var d=a.call(this)||this;d.__com_mxgraph_io_vsdx_theme_HslClr_hue=b/360;d.__com_mxgraph_io_vsdx_theme_HslClr_sat=h/100;d.__com_mxgraph_io_vsdx_theme_HslClr_lum=c/100;d.color=(new f.mxgraph.io.vsdx.theme.HSLColor(b,h,c)).toRgb();return d}__extends(b,a);return b}(f.mxgraph.io.vsdx.theme.OoxmlColor);e.HslClr=c;c.__class="com.mxgraph.io.vsdx.theme.HslClr"})(e.theme||(e.theme={}))})(e.vsdx||(e.vsdx={}))})(n.io||
(function(f){(function(n){(function(e){(function(e){(function(e){var c=function(a){function b(b,c,m){var d=a.call(this)||this;d.__com_mxgraph_io_vsdx_theme_HslClr_hue=b/360;d.__com_mxgraph_io_vsdx_theme_HslClr_sat=c/100;d.__com_mxgraph_io_vsdx_theme_HslClr_lum=m/100;d.color=(new f.mxgraph.io.vsdx.theme.HSLColor(b,c,m)).toRgb();return d}__extends(b,a);return b}(f.mxgraph.io.vsdx.theme.OoxmlColor);e.HslClr=c;c.__class="com.mxgraph.io.vsdx.theme.HslClr"})(e.theme||(e.theme={}))})(e.vsdx||(e.vsdx={}))})(n.io||
(n.io={}))})(f.mxgraph||(f.mxgraph={}))})(com||(com={}));(function(f){(function(n){(function(e){(function(e){(function(e){var c=function(a){function b(b){var d=a.call(this)||this;d.val=b;d.color=new f.mxgraph.io.vsdx.theme.Color(255,255,255);return d}__extends(b,a);return b}(f.mxgraph.io.vsdx.theme.OoxmlColor);e.PrstClr=c;c.__class="com.mxgraph.io.vsdx.theme.PrstClr"})(e.theme||(e.theme={}))})(e.vsdx||(e.vsdx={}))})(n.io||(n.io={}))})(f.mxgraph||(f.mxgraph={}))})(com||(com={}));
(function(f){(function(n){(function(e){(function(e){(function(e){var c=function(a){function b(b){var d=a.call(this)||this;d.isDynamic=!0;d.val=b;return d}__extends(b,a);b.prototype.calcColor=function(b,c){var d;d=this.val;d="phClr".equals?"phClr".equals(d):"phClr"===d;d?this.color=c.getStyleColor(b):(this.color=c.getSchemeColor(this.val),this.isDynamic=!1);a.prototype.calcColor.call(this,b,c)};return b}(f.mxgraph.io.vsdx.theme.OoxmlColor);e.SchemeClr=c;c.__class="com.mxgraph.io.vsdx.theme.SchemeClr"})(e.theme||
(e.theme={}))})(e.vsdx||(e.vsdx={}))})(n.io||(n.io={}))})(f.mxgraph||(f.mxgraph={}))})(com||(com={}));
(function(f){(function(n){(function(e){(function(e){(function(e){var c=function(a){function b(b,c,e){var d=a.call(this)||this;d.r=0;d.g=0;d.b=0;d.r=b;d.g=c;d.b=e;d.color=new f.mxgraph.io.vsdx.theme.Color(b,c,e);return d}__extends(b,a);return b}(f.mxgraph.io.vsdx.theme.OoxmlColor);e.ScrgbClr=c;c.__class="com.mxgraph.io.vsdx.theme.ScrgbClr"})(e.theme||(e.theme={}))})(e.vsdx||(e.vsdx={}))})(n.io||(n.io={}))})(f.mxgraph||(f.mxgraph={}))})(com||(com={}));
(function(f){(function(n){(function(e){(function(e){(function(e){var c=function(a){function b(b,c,m){var d=a.call(this)||this;d.r=0;d.g=0;d.b=0;d.r=b;d.g=c;d.b=m;d.color=new f.mxgraph.io.vsdx.theme.Color(b,c,m);return d}__extends(b,a);return b}(f.mxgraph.io.vsdx.theme.OoxmlColor);e.ScrgbClr=c;c.__class="com.mxgraph.io.vsdx.theme.ScrgbClr"})(e.theme||(e.theme={}))})(e.vsdx||(e.vsdx={}))})(n.io||(n.io={}))})(f.mxgraph||(f.mxgraph={}))})(com||(com={}));
(function(f){(function(n){(function(e){(function(e){(function(e){var c=function(a){function b(b){var d=a.call(this)||this;d.hexVal=null;d.hexVal=b;d.color=f.mxgraph.io.vsdx.theme.Color.decodeColorHex(b);return d}__extends(b,a);return b}(f.mxgraph.io.vsdx.theme.OoxmlColor);e.SrgbClr=c;c.__class="com.mxgraph.io.vsdx.theme.SrgbClr"})(e.theme||(e.theme={}))})(e.vsdx||(e.vsdx={}))})(n.io||(n.io={}))})(f.mxgraph||(f.mxgraph={}))})(com||(com={}));
(function(f){(function(n){(function(e){(function(e){(function(e){var c=function(a){function b(b,c){var d=a.call(this)||this;d.lastClr=null;d.val=b;var h=d.lastClr=c;if(null==h)switch(b){case "windowText":h="000000";break;case "window":h="FFFFFF";break;default:h="FFFFFF"}d.color=f.mxgraph.io.vsdx.theme.Color.decodeColorHex(h);return d}__extends(b,a);return b}(f.mxgraph.io.vsdx.theme.OoxmlColor);e.SysClr=c;c.__class="com.mxgraph.io.vsdx.theme.SysClr"})(e.theme||(e.theme={}))})(e.vsdx||(e.vsdx={}))})(n.io||
(n.io={}))})(f.mxgraph||(f.mxgraph={}))})(com||(com={}));
@ -1482,63 +1483,64 @@ b){return a[b]?a[b]:null}(this.masterShape.fields,this.fld)),null!=u&&(c+=b.call
b}(a,"45 degree single")||function(a,b,c){void 0===c&&(c=0);return a.substr(c,b.length)===b}(a,"45 degree double")||function(a,b,c){void 0===c&&(c=0);return a.substr(c,b.length)===b}(a,"60 degree double")||function(a,b,c){void 0===c&&(c=0);return a.substr(c,b.length)===b}(a,"45 degree tail")||function(a,b,c){void 0===c&&(c=0);return a.substr(c,b.length)===b}(a,"60 degree tail")||function(a,b,c){void 0===c&&(c=0);return a.substr(c,b.length)===b}(a,"45 degree tail")||function(a,b,c){void 0===c&&(c=
0);return a.substr(c,b.length)===b}(a,"60 degree tail")||function(a,b,c){void 0===c&&(c=0);return a.substr(c,b.length)===b}(a,"Flexi-arrow 2")||function(a,b,c){void 0===c&&(c=0);return a.substr(c,b.length)===b}(a,"Flexi-arrow 1")||function(a,b,c){void 0===c&&(c=0);return a.substr(c,b.length)===b}(a,"Flexi-arrow 3")||function(a,b,c){void 0===c&&(c=0);return a.substr(c,b.length)===b}(a,"Double flexi-arrow")||function(a,b,c){void 0===c&&(c=0);return a.substr(c,b.length)===b}(a,"Fancy arrow")};a.prototype.isVertex=
function(){return this.vertex};a.prototype.getOriginPoint=function(a,d){var b=this.getPinX(),c=this.getPinY(),e=this.getLocPinY(),p=this.getLocPinX(),k=this.getScreenNumericalValue$org_w3c_dom_Element$double(this.getShapeNode(f.mxgraph.io.vsdx.mxVsdxConstants.WIDTH),0),n=this.getScreenNumericalValue$org_w3c_dom_Element$double(this.getShapeNode(f.mxgraph.io.vsdx.mxVsdxConstants.HEIGHT),0),b=b-p,c=a-(c+(n-e));return!d||e===n/2&&p===k/2||0===this.rotation?new mxPoint(b,c):(p=k/2-p,e-=n/2,n=Math.cos((360-
this.rotation)*Math.PI/180),k=Math.sin((360-this.rotation)*Math.PI/180),new mxPoint(b+p-(p*n-e*k),p*k+e*n+c-e))};a.prototype.getDimensions=function(){var a=this.getScreenNumericalValue$org_w3c_dom_Element$double(this.getShapeNode(f.mxgraph.io.vsdx.mxVsdxConstants.WIDTH),0),d=this.getScreenNumericalValue$org_w3c_dom_Element$double(this.getShapeNode(f.mxgraph.io.vsdx.mxVsdxConstants.HEIGHT),0);return new mxPoint(0===a&&0<d?1:a,0===d&&0<a?1:d)};a.prototype.getPinX=function(){return this.getScreenNumericalValue$org_w3c_dom_Element$double(this.getShapeNode(f.mxgraph.io.vsdx.mxVsdxConstants.PIN_X),
this.rotation)*Math.PI/180),k=Math.sin((360-this.rotation)*Math.PI/180),new mxPoint(b+p-(p*n-e*k),p*k+e*n+c-e))};a.prototype.getDimensions=function(){var a=this.getScreenNumericalValue$org_w3c_dom_Element$double(this.getShapeNode(f.mxgraph.io.vsdx.mxVsdxConstants.WIDTH),0),c=this.getScreenNumericalValue$org_w3c_dom_Element$double(this.getShapeNode(f.mxgraph.io.vsdx.mxVsdxConstants.HEIGHT),0);return new mxPoint(0===a&&0<c?1:a,0===c&&0<a?1:c)};a.prototype.getPinX=function(){return this.getScreenNumericalValue$org_w3c_dom_Element$double(this.getShapeNode(f.mxgraph.io.vsdx.mxVsdxConstants.PIN_X),
0)};a.prototype.getPinY=function(){return this.getScreenNumericalValue$org_w3c_dom_Element$double(this.getShapeNode(f.mxgraph.io.vsdx.mxVsdxConstants.PIN_Y),0)};a.prototype.getLocPinX=function(){return this.getScreenNumericalValue$org_w3c_dom_Element$double(this.getShapeNode(f.mxgraph.io.vsdx.mxVsdxConstants.LOC_PIN_X),0)};a.prototype.getLocPinY=function(){return this.getScreenNumericalValue$org_w3c_dom_Element$double(this.getShapeNode(f.mxgraph.io.vsdx.mxVsdxConstants.LOC_PIN_Y),0)};a.prototype.getOpacity=
function(a){this.isGroup();a=this.getValueAsDouble(this.getCellElement$java_lang_String(a),0);a=Math.max(100-100*a,0);return a=Math.min(a,100)};a.prototype.getGradient=function(){if(function(a,b){return a&&a.equals?a.equals(b):a===b}("1",this.getValue(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.FILL_GRADIENT_ENABLED),"0"))){var a=function(a,b){return a[b]?a[b]:null}(this.sections,"FillGradient");if(null!=a){var d=f.mxgraph.io.vsdx.mxVsdxUtils.getDirectChildNamedElements(a.elem,
"Row"),a=this.getColor(a.getIndexedCell(d[d.length-1].getAttribute("IX"),"GradientStopColor"));if(null!=a&&0!==a.length)return a}}a="";d=this.getValue(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.FILL_PATTERN),"0");25<=parseInt(d)?a=this.getColor(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.FILL_BKGND)):(d=this.getTheme(),null!=d&&(d=d.getFillGraientColor(this.getQuickStyleVals()),null!=d&&(a=d.toHexStr())));return a};a.prototype.getGradientDirection=
function(){var a="",d=this.getValue(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.FILL_PATTERN),"0");(function(a,b){return a&&a.equals?a.equals(b):a===b})(d,"25")?a=mxConstants.DIRECTION_EAST:function(a,b){return a&&a.equals?a.equals(b):a===b}(d,"27")?a=mxConstants.DIRECTION_WEST:function(a,b){return a&&a.equals?a.equals(b):a===b}(d,"28")?a=mxConstants.DIRECTION_SOUTH:function(a,b){return a&&a.equals?a.equals(b):a===b}(d,"30")&&(a=mxConstants.DIRECTION_NORTH);return a};a.prototype.calcRotation=
function(a){this.isGroup();a=this.getValueAsDouble(this.getCellElement$java_lang_String(a),0);a=Math.max(100-100*a,0);return a=Math.min(a,100)};a.prototype.getGradient=function(){if(function(a,b){return a&&a.equals?a.equals(b):a===b}("1",this.getValue(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.FILL_GRADIENT_ENABLED),"0"))){var a=function(a,b){return a[b]?a[b]:null}(this.sections,"FillGradient");if(null!=a){var c=f.mxgraph.io.vsdx.mxVsdxUtils.getDirectChildNamedElements(a.elem,
"Row"),a=this.getColor(a.getIndexedCell(c[c.length-1].getAttribute("IX"),"GradientStopColor"));if(null!=a&&0!==a.length)return a}}a="";c=this.getValue(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.FILL_PATTERN),"0");25<=parseInt(c)?a=this.getColor(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.FILL_BKGND)):(c=this.getTheme(),null!=c&&(c=c.getFillGraientColor(this.getQuickStyleVals()),null!=c&&(a=c.toHexStr())));return a};a.prototype.getGradientDirection=
function(){var a="",c=this.getValue(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.FILL_PATTERN),"0");(function(a,b){return a&&a.equals?a.equals(b):a===b})(c,"25")?a=mxConstants.DIRECTION_EAST:function(a,b){return a&&a.equals?a.equals(b):a===b}(c,"27")?a=mxConstants.DIRECTION_WEST:function(a,b){return a&&a.equals?a.equals(b):a===b}(c,"28")?a=mxConstants.DIRECTION_SOUTH:function(a,b){return a&&a.equals?a.equals(b):a===b}(c,"30")&&(a=mxConstants.DIRECTION_NORTH);return a};a.prototype.calcRotation=
function(){var a=parseFloat(this.getValue(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.ANGLE),"0")),a=180*a/Math.PI;return 360-a%360*100/100};a.prototype.propagateRotation=function(a){this.rotation+=a;this.rotation%=360;this.rotation=100*this.rotation/100};a.prototype.getTopSpacing=function(){return 100*(this.getTextTopMargin()/2-2.8)/100};a.prototype.getBottomSpacing=function(){return 100*(this.getTextBottomMargin()/2-2.8)/100};a.prototype.getLeftSpacing=function(){return 100*
(this.getTextLeftMargin()/2-2.8)/100};a.prototype.getRightSpacing=function(){return 100*(this.getTextRightMargin()/2-2.8)/100};a.prototype.getLabelRotation=function(){var a=!0,d=this.calcRotation(),c=parseFloat(this.getValue(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.TXT_ANGLE),"0")),c=180*c/Math.PI,c=c-d;45>Math.abs(c)||270<Math.abs(c)||(a=!1);return a};a.prototype.getHyperlink=function(){var a=this.getCellElement$java_lang_String$java_lang_String$java_lang_String("Address",
null,"Hyperlink"),a=this.getValue(a,""),d=this.getCellElement$java_lang_String$java_lang_String$java_lang_String("SubAddress",null,"Hyperlink"),d=this.getValue(d,"");return{extLink:a,pageLink:d}};a.prototype.getStyleFromShape=function(){this.styleMap[f.mxgraph.io.vsdx.mxVsdxConstants.VSDX_ID]=this.getId().toString();this.rotation=Math.round(this.rotation);0!==this.rotation&&(this.styleMap[mxConstants.STYLE_ROTATION]=""+this.rotation);var a=this.getFillColor();(function(a,b){return a&&a.equals?a.equals(b):
a===b})(a,"")?this.styleMap[mxConstants.STYLE_FILLCOLOR]="none":this.styleMap[mxConstants.STYLE_FILLCOLOR]=a;var d=this.getId();this.styleDebug("ID = "+d+" , Fill Color = "+a);a=this.getGradient();(function(a,b){return a&&a.equals?a.equals(b):a===b})(a,"")?this.styleMap[mxConstants.STYLE_GRADIENTCOLOR]="none":(this.styleMap[mxConstants.STYLE_GRADIENTCOLOR]=a,a=this.getGradientDirection(),function(a,b){return a&&a.equals?a.equals(b):a===b}(a,"")||function(a,b){return a&&a.equals?a.equals(b):a===b}(a,
mxConstants.DIRECTION_SOUTH)||(this.styleMap[mxConstants.STYLE_GRADIENT_DIRECTION]=a));a=this.getOpacity(f.mxgraph.io.vsdx.mxVsdxConstants.FILL_FOREGND_TRANS);100>a&&(this.styleMap[mxConstants.STYLE_FILL_OPACITY]=""+a);a=this.getOpacity(f.mxgraph.io.vsdx.mxVsdxConstants.LINE_COLOR_TRANS);100>a&&(this.styleMap[mxConstants.STYLE_STROKE_OPACITY]=""+a);a=this.getForm();a.hasOwnProperty(mxConstants.STYLE_SHAPE)&&function(a,b,c){void 0===c&&(c=0);return a.substr(c,b.length)===b}(function(a,b){return a[b]?
a[b]:null}(a,mxConstants.STYLE_SHAPE),"image;")&&(this.styleMap[mxConstants.STYLE_WHITE_SPACE]="wrap");for(var c in a)this.styleMap[c]=a[c];this.isDashed()&&(this.styleMap[mxConstants.STYLE_DASHED]="1",c=this.getDashPattern(),null!=c&&(this.styleMap[mxConstants.STYLE_DASH_PATTERN]=c));c=this.getStrokeColor();var e=this.getStrokeTransparency();this.styleDebug("ID = "+d+" , Color = "+c+" , stroke transparency = "+e);(function(a,b){return a&&a.equals?a.equals(b):a===b})(c,"")||1===e||(this.styleMap[mxConstants.STYLE_STROKECOLOR]=
c);d=Math.round(this.getLineWidth())|0;1!==d&&(this.styleMap[mxConstants.STYLE_STROKEWIDTH]=""+d);this.isShadow()&&(this.styleMap[mxConstants.STYLE_SHADOW]=f.mxgraph.io.vsdx.mxVsdxConstants.TRUE);d=Math.round(this.getTopSpacing())|0;0!==d&&(this.styleMap[mxConstants.STYLE_SPACING_TOP]=""+d);d=Math.round(this.getBottomSpacing())|0;0!==d&&(this.styleMap[mxConstants.STYLE_SPACING_BOTTOM]=""+d);d=Math.round(this.getLeftSpacing())|0;0!==d&&(this.styleMap[mxConstants.STYLE_SPACING_LEFT]=""+d);d=Math.round(this.getRightSpacing())|
0;0!==d&&(this.styleMap[mxConstants.STYLE_SPACING_RIGHT]=""+d);a=this.getDirection(a);a!==mxConstants.DIRECTION_EAST&&(this.styleMap[mxConstants.STYLE_DIRECTION]=a);a=this.getValue(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.FLIP_X),"0");d=this.getValue(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.FLIP_Y),"0");(function(a,b){return a&&a.equals?a.equals(b):a===b})("1",a)&&(this.styleMap[mxConstants.STYLE_FLIPH]="1");(function(a,b){return a&&a.equals?
a.equals(b):a===b})("1",d)&&(this.styleMap[mxConstants.STYLE_FLIPV]="1");this.resolveCommonStyles();return this.styleMap};a.prototype.getDashPattern=function(){var a=null,c=this.getValue(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.LINE_PATTERN),"0");(c&&c.equals?c.equals("Themed"):"Themed"===c)?(c=this.getTheme(),null!=c&&(a=this.isVertex()?c.getLineDashPattern$com_mxgraph_io_vsdx_theme_QuickStyleVals(this.getQuickStyleVals()):c.getConnLineDashPattern(this.getQuickStyleVals()))):
a=e.Style.getLineDashPattern(parseInt(c));if(null!=a&&0!=a.length){for(var c="",h=0;h<a.length;h++)c=c.concat(a[h].toFixed(2)+" ");return c.trim()}return null};a.prototype.isDashed=function(){var a=this.getValue(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.LINE_PATTERN),"0");if(function(a,b){return a&&a.equals?a.equals(b):a===b}(a,"Themed")){if(a=this.getTheme(),null!=a)return this.isVertex()?a.isLineDashed$com_mxgraph_io_vsdx_theme_QuickStyleVals(this.getQuickStyleVals()):
a.isConnLineDashed(this.getQuickStyleVals())}else if(!function(a,b){return a&&a.equals?a.equals(b):a===b}(a,"0")&&!function(a,b){return a&&a.equals?a.equals(b):a===b}(a,"1"))return!0;return!1};a.prototype.getLineWidth=function(){var a=this.getValue(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.LINE_WEIGHT),"1"),c=1;try{var e;e=a&&a.equals?a.equals("Themed"):"Themed"===a;if(e){var m=this.getTheme();null!=m&&(c=(this.isVertex()?m.getLineWidth$com_mxgraph_io_vsdx_theme_QuickStyleVals(this.getQuickStyleVals()):
m.getConnLineWidth(this.getQuickStyleVals()))/1E4)}else c=parseFloat(a),c=this.getScreenNumericalValue$double(c)}catch(y){}1>c&&(c*=2);return c};a.prototype.getStartArrowSize=function(){var b=this.getValue(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.BEGIN_ARROW_SIZE),"4");try{var c=4,e;e=b&&b.equals?b.equals("Themed"):"Themed"===b;if(e){var m=this.getTheme();null!=m&&(c=this.isVertex()?m.getStartSize(this.getQuickStyleVals()):m.getConnStartSize(this.getQuickStyleVals()))}else c=
parseFloat(b);return a.arrowSizes_$LI$()[c]}catch(y){}return 4};a.prototype.getFinalArrowSize=function(){var b=this.getValue(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.END_ARROW_SIZE),"4");try{var c=4,e;e=b&&b.equals?b.equals("Themed"):"Themed"===b;if(e){var m=this.getTheme();null!=m&&(c=this.isVertex()?m.getEndSize(this.getQuickStyleVals()):m.getConnEndSize(this.getQuickStyleVals()))}else c=parseFloat(b);return a.arrowSizes_$LI$()[c]}catch(y){}return 4};a.prototype.getRounding=
function(){var a=this.getValue(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.ROUNDING),"0"),c;c=a;c="Themed".equals?"Themed".equals(c):"Themed"===c;c&&(a="0");return parseFloat(a)};a.prototype.isShadow=function(){var a=this.getValue(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.SHDW_PATTERN),"0");return function(a,b){return a&&a.equals?a.equals(b):a===b}(a,"Themed")||function(a,b){return a&&a.equals?a.equals(b):a===b}(a,"0")?!1:!0};a.prototype.getEdgeStyle$java_util_Map=
function(a){var b={};(function(a,b){return a&&a.equals?a.equals(b):a===b})(function(a,b){return a[b]?a[b]:null}(a,mxConstants.STYLE_SHAPE),"mxgraph.lean_mapping.electronic_info_flow_edge")?b[mxConstants.STYLE_EDGE]=mxConstants.NONE:b[mxConstants.STYLE_EDGE]=mxConstants.EDGESTYLE_ELBOW;return b};a.prototype.getEdgeStyle=function(a){if(null!=a&&a instanceof Object||null===a)return this.getEdgeStyle$java_util_Map(a);if(void 0===a)return this.getEdgeStyle$();throw Error("invalid overload");};a.prototype.getMasterId=
function(){return this.shape.hasAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.MASTER)?this.shape.getAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.MASTER):null};a.prototype.getShapeMasterId=function(){return this.shape.hasAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.MASTER_SHAPE)?this.shape.getAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.MASTER_SHAPE):null};a.prototype.isGroup=function(){var a;a=(a=this.shape.getAttribute("Type"))&&a.equals?a.equals("Group"):"Group"===a;return a};a.getType=function(a){return a.getAttribute("Type")};
a.prototype.getMaster=function(){return this.master};a.prototype.getNameU=function(){var a=this.shape.getAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.NAME_U)||"",c;(c=null==a)||(c=(c=a)&&c.equals?c.equals(""):""===c);c&&null!=this.masterShape&&(a=this.masterShape.getNameU());return a};a.prototype.getName=function(){var a=this.shape.getAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.NAME),c;(c=null==a)||(c=(c=a)&&c.equals?c.equals(""):""===c);c&&null!=this.masterShape&&(a=this.masterShape.getName());return a};
a.prototype.getMasterName=function(){return this.shapeName};a.prototype.setLabelOffset=function(a,c){var b="",d="";this.shape.hasAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.NAME_U)&&(b=this.shape.getAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.NAME_U));null!=this.getMaster()&&null!=this.getMaster().getMasterElement()&&this.getMaster().getMasterElement().hasAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.NAME_U)&&(d=this.getMaster().getMasterElement().getAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.NAME_U));
if(function(a,b,c){void 0===c&&(c=0);return a.substr(c,b.length)===b}(b,"Organizational unit")||function(a,b,c){void 0===c&&(c=0);return a.substr(c,b.length)===b}(d,"Organizational unit")){var e=this.shape.getElementsByTagName(f.mxgraph.io.vsdx.mxVsdxConstants.CONTROL).item(0),b=null,b="0.0",d=null,d="-0.4";null!=e&&(b=e.getElementsByTagName(f.mxgraph.io.vsdx.mxVsdxConstants.X).item(0),b=b.hasAttribute("F")?b.getAttribute("F"):b.textContent,d=e.getElementsByTagName(f.mxgraph.io.vsdx.mxVsdxConstants.Y).item(0),
d=d.hasAttribute("F")?d.getAttribute("F"):d.textContent);e=a.getGeometry();b=b.split("Width/2+").join("");b=b.split("DL").join("");d=d.split("Height*").join("");(function(a,b){return a&&a.equals?a.equals(b):a===b})(b,"Inh")&&(b="0.0");(function(a,b){return a&&a.equals?a.equals(b):a===b})(d,"Inh")&&(d="-0.4");-1!=d.indexOf("txtHeight")&&(d="-0.4");for(var p=c.split(";"),k="",n=0;n<p.length;n++){var u=p[n],u=u.trim();(function(a,b,c){void 0===c&&(c=0);return a.substr(c,b.length)===b})(u,"tabHeight=")&&
(k=u.split("tabHeight=").join(""))}(function(a,b){return a&&a.equals?a.equals(b):a===b})(k,"")&&(k="20");p=parseFloat(k);b=parseFloat(b);d=parseFloat(d);k=e.height;b=.1*e.width+100*b;b=new mxPoint(b,k-k*d-p/2);a.getGeometry().offset=b}else if(function(a,b,c){void 0===c&&(c=0);return a.substr(c,b.length)===b}(b,"Domain 3D")||function(a,b,c){void 0===c&&(c=0);return a.substr(c,b.length)===b}(d,"Domain 3D")){e=this.shape.getElementsByTagName(f.mxgraph.io.vsdx.mxVsdxConstants.CONTROL).item(0);b=null;
b="0.0";d=null;d="-0.4";null!=e&&(b=e.getElementsByTagName(f.mxgraph.io.vsdx.mxVsdxConstants.X).item(0),b=b.getAttribute("F")||"",d=e.getElementsByTagName(f.mxgraph.io.vsdx.mxVsdxConstants.Y).item(0),d=d.getAttribute("F")||"");e=a.getGeometry();b=b.split("Width/2+").join("");b=b.split("DL").join("");d=d.split("Height*").join("");if(function(a,b){return a&&a.equals?a.equals(b):a===b}(b,"Inh")||function(a,b){return a&&a.equals?a.equals(b):a===b}(b,""))b="0.0";if(function(a,b){return a&&a.equals?a.equals(b):
a===b}(d,"Inh")||function(a,b){return a&&a.equals?a.equals(b):a===b}(d,""))d="-0.4";-1!=d.indexOf("txtHeight")&&(d="-0.4");b=parseFloat(b);d=parseFloat(d);k=e.height;b=.1*e.width+100*b;b=new mxPoint(b,k-k*d);a.getGeometry().offset=b}};a.prototype.getForm=function(){var b={};if(this.isVertex())try{var c=a.getType(this.getShape());this.styleDebug("shape type = "+c);if(null!=this.imageData||function(a,b){return a&&a.equals?a.equals(b):a===b}(f.mxgraph.io.vsdx.mxVsdxConstants.FOREIGN,c)&&null!=this.masterShape&&
null!=this.masterShape.imageData){var e=null!=this.imageData?this.imageData:this.masterShape.imageData;b.shape="image";b.aspect="fixed";var m=function(a,b){return a[b]?a[b]:null}(e,"iType"),p=function(a,b){return a[b]?a[b]:null}(e,"iData"),n=parseFloat(this.getValue(this.getCellElement$java_lang_String("ImgOffsetX"),"0")),k=parseFloat(this.getValue(this.getCellElement$java_lang_String("ImgOffsetY"),"0")),u=parseFloat(this.getValue(this.getCellElement$java_lang_String("ImgWidth"),"0")),B=parseFloat(this.getValue(this.getCellElement$java_lang_String("ImgHeight"),
"0")),D=parseFloat(this.getValue(this.getCellElement$java_lang_String("Width"),"0")),A=parseFloat(this.getValue(this.getCellElement$java_lang_String("Height"),"0"));0!=n||0!=k?this.toBeCroppedImg={imgOffsetX:n,imgOffsetY:k,imgWidth:u,imgHeight:B,width:D,height:A,iType:m,iData:p}:b.image="data:image/"+m+","+p;return b}var E=this.parseGeom();if(function(a,b){return a&&a.equals?a.equals(b):a===b}(E,""))return this.styleDebug("No geom found"),b;var H=Graph.compress(E);b[mxConstants.STYLE_SHAPE]="stencil("+
H+")"}catch(N){console.error(N.message,N)}else return this.getEdgeStyle();return b};a.prototype.isOff_page_reference=function(){var a=this.getNameU();return function(a,b){return a&&a.equals?a.equals(b):a===b}(a,"Off-page reference")||function(a,b){return a&&a.equals?a.equals(b):a===b}(a,"Lined/Shaded process")?!0:!1};a.prototype.isExternal_process=function(){var a;a=(a=this.shapeName)&&a.equals?a.equals("External process"):"External process"===a;return a};a.prototype.getDirection=function(a){a=mxResources.get("mxOffset"+
this.shapeName);if(null!=a&&!function(a,b){return a&&a.equals?a.equals(b):a===b}(a,"0")&&!function(a,b){return a&&a.equals?a.equals(b):a===b}(a,"")){if(function(a,b){return a&&a.equals?a.equals(b):a===b}(a,"1"))return mxConstants.DIRECTION_SOUTH;if(function(a,b){return a&&a.equals?a.equals(b):a===b}(a,"2"))return mxConstants.DIRECTION_WEST;if(function(a,b){return a&&a.equals?a.equals(b):a===b}(a,"3"))return mxConstants.DIRECTION_NORTH}return mxConstants.DIRECTION_EAST};a.prototype.isSubproces=function(){var a;
a=(a=this.shapeName)&&a.equals?a.equals("Subproces"):"Subproces"===a;return a};a.prototype.getEdgeStyle$=function(){return{edgeStyle:"none"}};a.prototype.getChildShapes=function(){return this.childShapes};a.prototype.setChildShapes=function(a){this.childShapes=a};a.prototype.isDisplacedLabel=function(){var a=this.getAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.TXT_PIN_X,"F",""),c=this.getAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.TXT_PIN_Y,"F",""),e=this.getAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.TXT_WIDTH,
"F",""),m=this.getAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.TXT_HEIGHT,"F","");if(null!=this.masterShape){if(""===a||function(a,b){return a&&a.equals?a.equals(b):a===b}(a.toLowerCase(),"inh"))a=this.masterShape.getAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.TXT_PIN_X,"F","");if(""===c||function(a,b){return a&&a.equals?a.equals(b):a===b}(c.toLowerCase(),"inh"))c=this.masterShape.getAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.TXT_PIN_Y,"F","");if(""===e||function(a,b){return a&&a.equals?a.equals(b):
a===b}(e.toLowerCase(),"inh"))e=this.masterShape.getAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.TXT_WIDTH,"F","");if(""===m||function(a,b){return a&&a.equals?a.equals(b):a===b}(m.toLowerCase(),"inh"))m=this.masterShape.getAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.TXT_HEIGHT,"F","")}return function(a,b){return a&&a.equals?a.equals(b):a===b}(a.toLowerCase(),"width*0.5")&&function(a,b){return a&&a.equals?a.equals(b):a===b}(c.toLowerCase(),"height*0.5")&&function(a,b){return a&&a.equals?a.equals(b):
a===b}(e.toLowerCase(),"width*1")&&function(a,b){return a&&a.equals?a.equals(b):a===b}(m.toLowerCase(),"height*1")||!(function(a,b,c){void 0===c&&(c=0);return a.substr(c,b.length)===b}(a.toLowerCase(),"width*")&&function(a,b,c){void 0===c&&(c=0);return a.substr(c,b.length)===b}(c.toLowerCase(),"height*")&&function(a,b,c){void 0===c&&(c=0);return a.substr(c,b.length)===b}(e.toLowerCase(),"width*")&&function(a,b,c){void 0===c&&(c=0);return a.substr(c,b.length)===b}(m.toLowerCase(),"height*")||function(a,
b,c){void 0===c&&(c=0);return a.substr(c,b.length)===b}(a.toLowerCase(),"controls.row_")||function(a,b,c){void 0===c&&(c=0);return a.substr(c,b.length)===b}(c.toLowerCase(),"controls.row_"))?!1:!0};a.prototype.isVerticalLabel=function(){var a=this.getAttribute("TextDirection","V","");a||null==this.masterShape||(a=this.masterShape.getAttribute("TextDirection","V",""));return"1"==a};a.prototype.isRotatedLabel=function(){if(this.isVerticalLabel())return!0;var a=this.getAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.TXT_ANGLE,
"V","");null!=this.masterShape&&function(a,b){return a&&a.equals?a.equals(b):a===b}(a,"")&&(a=this.masterShape.getAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.TXT_ANGLE,"V",""));return function(a,b){return a&&a.equals?a.equals(b):a===b}(a,"0")||function(a,b){return a&&a.equals?a.equals(b):a===b}(a,"0.0")||function(a,b){return a&&a.equals?a.equals(b):a===b}(a,"")?!1:!0};a.prototype.setRootShape=function(a){this.rootShape=a};a.prototype.getRootShape=function(){return this.rootShape};a.prototype.getStartXY=
function(a){var b=Math.floor(Math.round(100*this.getScreenNumericalValue$org_w3c_dom_Element$double(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.BEGIN_X),0))/100);a=Math.floor(Math.round(100*(a-this.getScreenNumericalValue$org_w3c_dom_Element$double(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.BEGIN_Y),0)))/100);return new mxPoint(b,a)};a.prototype.getEndXY=function(a){var b=Math.floor(Math.round(100*this.getScreenNumericalValue$org_w3c_dom_Element$double(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.END_X),
0))/100);a=Math.floor(Math.round(100*(a-this.getScreenNumericalValue$org_w3c_dom_Element$double(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.END_Y),0)))/100);return new mxPoint(b,a)};a.prototype.getRoutingPoints=function(a,c,e){return null!=this.geomList?this.geomList.getRoutingPoints(a,c,e):null};a.prototype.getControlPoints=function(a){var b=this.getStartXY(a);a=this.getEndXY(a);var c=[];if(null!=this.shape){var e=this.shape.getElementsByTagName(f.mxgraph.io.vsdx.mxVsdxConstants.GEOM);
if(0<e.length&&(e=e.item(0).getElementsByTagName(f.mxgraph.io.vsdx.mxVsdxConstants.NURBS_TO).item(0).getElementsByTagName("E").item(0),null!=e)){for(var e=e.getAttribute("F")||"",e=e.replace(RegExp("NURBS\\(","g"),""),e=e.replace(RegExp("\\)","g"),""),e=e.replace(RegExp(",","g")," "),e=e.replace(RegExp("\\s\\s","g")," "),e=e.split(" "),p=e.length,n=[];0<p--;)n.push(0);for(p=0;p<e.length;p++)n[p]=parseFloat(e[p]);for(p=2;p+4<e.length;p+=4){var k=new mxPoint,u=n[p+3];k.x=Math.floor(Math.round(100*(b.x+
Math.min(100,Math.abs(a.x-b.x))*n[p+2]))/100);k.y=Math.floor(Math.round(100*(b.y-100*u))/100);c.push(k)}return c}}return null};a.prototype.getStyleFromEdgeShape=function(b){this.styleMap[f.mxgraph.io.vsdx.mxVsdxConstants.VSDX_ID]=this.getId().toString();b=this.getForm();if(null!=b&&!function(a,b){return a&&a.equals?a.equals(b):a===b}(b,""))for(var c in b)this.styleMap[c]=b[c];this.isDashed()&&(this.styleMap[mxConstants.STYLE_DASHED]="1",c=this.getDashPattern(),null!=c&&(this.styleMap[mxConstants.STYLE_DASH_PATTERN]=
c));c=this.getEdgeMarker(!0);null!=c&&(function(a,b,c){void 0===c&&(c=0);return a.substr(c,b.length)===b}(c,a.ARROW_NO_FILL_MARKER)&&(c=c.substring(a.ARROW_NO_FILL_MARKER.length),this.styleMap[mxConstants.STYLE_STARTFILL]="0"),this.styleMap[mxConstants.STYLE_STARTARROW]=c);c=this.getEdgeMarker(!1);null!=c&&(function(a,b,c){void 0===c&&(c=0);return a.substr(c,b.length)===b}(c,a.ARROW_NO_FILL_MARKER)&&(c=c.substring(a.ARROW_NO_FILL_MARKER.length),this.styleMap[mxConstants.STYLE_ENDFILL]="0"),this.styleMap[mxConstants.STYLE_ENDARROW]=
c);c=Math.round(this.getStartArrowSize())|0;6!==c&&(this.styleMap[mxConstants.STYLE_STARTSIZE]=""+c);c=Math.round(this.getFinalArrowSize())|0;6!==c&&(this.styleMap[mxConstants.STYLE_ENDSIZE]=""+c);c=Math.round(this.getLineWidth())|0;1!==c&&(this.styleMap[mxConstants.STYLE_STROKEWIDTH]=""+c);c=this.getStrokeColor();(function(a,b){return a&&a.equals?a.equals(b):a===b})(c,"")||(this.styleMap[mxConstants.STYLE_STROKECOLOR]=c);this.isShadow()&&(this.styleMap[mxConstants.STYLE_SHADOW]=f.mxgraph.io.vsdx.mxVsdxConstants.TRUE);
this.isConnectorBigNameU(this.getNameU())&&(this.styleMap[mxConstants.STYLE_SHAPE]=mxConstants.SHAPE_ARROW,c=this.getFillColor(),function(a,b){return a&&a.equals?a.equals(b):a===b}(c,"")||(this.styleMap[mxConstants.STYLE_FILLCOLOR]=c));c=Math.round(this.getTopSpacing())|0;this.styleMap[mxConstants.STYLE_SPACING_TOP]=""+c;c=Math.round(this.getBottomSpacing())|0;this.styleMap[mxConstants.STYLE_SPACING_BOTTOM]=""+c;c=Math.round(this.getLeftSpacing())|0;this.styleMap[mxConstants.STYLE_SPACING_LEFT]=""+
c;c=Math.round(this.getRightSpacing())|0;this.styleMap[mxConstants.STYLE_SPACING_RIGHT]=""+c;c=this.getAlignVertical();this.styleMap[mxConstants.STYLE_VERTICAL_ALIGN]=c;this.styleMap.html="1";this.resolveCommonStyles();return this.styleMap};a.prototype.resolveCommonStyles=function(){var a=this.getTextBkgndColor(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.TEXT_BKGND)),c;c=a&&a.equals?a.equals(""):""===a;c||"1"!=this.getValue(this.getCellElement$java_lang_String("TextBkgndTrans"),
"0")&&(this.styleMap[mxConstants.STYLE_LABEL_BACKGROUNDCOLOR]=a);this.styleMap[mxConstants.STYLE_ROUNDED]=0<this.getRounding()?f.mxgraph.io.vsdx.mxVsdxConstants.TRUE:f.mxgraph.io.vsdx.mxVsdxConstants.FALSE;return this.styleMap};a.prototype.getEdgeMarker=function(b){var c=this.getValue(this.getCellElement$java_lang_String(b?f.mxgraph.io.vsdx.mxVsdxConstants.BEGIN_ARROW:f.mxgraph.io.vsdx.mxVsdxConstants.END_ARROW),"0"),e=0;try{if(function(a,b){return a&&a.equals?a.equals(b):a===b}(c,"Themed")){var m=
this.getTheme();null!=m&&(e=this.isVertex()?m.getEdgeMarker(b,this.getQuickStyleVals()):m.getConnEdgeMarker(b,this.getQuickStyleVals()))}else e=parseInt(c)}catch(y){}b=function(a,b){null==a.entries&&(a.entries=[]);for(var c=0;c<a.entries.length;c++)if(null!=a.entries[c].key.equals&&a.entries[c].key.equals(b)||a.entries[c].key===b)return a.entries[c].value;return null}(a.arrowTypes_$LI$(),e);0<e&&null==b&&(b=function(a,b){null==a.entries&&(a.entries=[]);for(var c=0;c<a.entries.length;c++)if(null!=
a.entries[c].key.equals&&a.entries[c].key.equals(b)||a.entries[c].key===b)return a.entries[c].value;return null}(a.arrowTypes_$LI$(),1));return b};a.prototype.getCellElement$java_lang_String=function(a){var b=c.prototype.getCellElement$java_lang_String.call(this,a);return null==b&&null!=this.masterShape?this.masterShape.getCellElement$java_lang_String(a):b};a.prototype.getCellElement$java_lang_String$java_lang_String$java_lang_String=function(a,d,e){var b=c.prototype.getCellElement$java_lang_String$java_lang_String$java_lang_String.call(this,
a,d,e);return null==b&&null!=this.masterShape?this.masterShape.getCellElement$java_lang_String$java_lang_String$java_lang_String(a,d,e):b};a.prototype.getCellElement=function(a,c,e){if("string"!==typeof a&&null!==a||"string"!==typeof c&&null!==c||"string"!==typeof e&&null!==e){if("string"!==typeof a&&null!==a||void 0!==c||void 0!==e)throw Error("invalid overload");return this.getCellElement$java_lang_String(a)}return this.getCellElement$java_lang_String$java_lang_String$java_lang_String(a,c,e)};a.prototype.createLabelSubShape=
function(a,c){var b=this.getScreenNumericalValue$org_w3c_dom_Element$double(this.getShapeNode(f.mxgraph.io.vsdx.mxVsdxConstants.TXT_WIDTH),this.getWidth()),d=this.getScreenNumericalValue$org_w3c_dom_Element$double(this.getShapeNode(f.mxgraph.io.vsdx.mxVsdxConstants.TXT_HEIGHT),this.getHeight()),e=this.getScreenNumericalValue$org_w3c_dom_Element$double(this.getShapeNode(f.mxgraph.io.vsdx.mxVsdxConstants.TXT_LOC_PIN_X),b/2),p=this.getScreenNumericalValue$org_w3c_dom_Element$double(this.getShapeNode(f.mxgraph.io.vsdx.mxVsdxConstants.TXT_LOC_PIN_Y),
d/2),k=this.getScreenNumericalValue$org_w3c_dom_Element$double(this.getShapeNode(f.mxgraph.io.vsdx.mxVsdxConstants.TXT_PIN_X),e),n=this.getScreenNumericalValue$org_w3c_dom_Element$double(this.getShapeNode(f.mxgraph.io.vsdx.mxVsdxConstants.TXT_PIN_Y),p),u=this.getValueAsDouble(this.getShapeNode(f.mxgraph.io.vsdx.mxVsdxConstants.TXT_ANGLE),0),D=this.getTextLabel();if(null!=D&&0!==D.length){var A=mxUtils.clone(this.getStyleMap())||{};A[mxConstants.STYLE_FILLCOLOR]=mxConstants.NONE;A[mxConstants.STYLE_STROKECOLOR]=
mxConstants.NONE;A[mxConstants.STYLE_GRADIENTCOLOR]=mxConstants.NONE;A.hasOwnProperty("align")||(A.align="center");A.hasOwnProperty("verticalAlign")||(A.verticalAlign="middle");A.hasOwnProperty("whiteSpace")||(A.whiteSpace="wrap");delete A.shape;delete A.image;this.isVerticalLabel()&&(u+=Math.PI+.01,A.horizontal="0");var E=this.getRotation();0!==u&&(u=360-180*u/Math.PI,u=Math.round((u+E)%360*100)/100,0!==u&&(A.rotation=""+u));A="text;"+f.mxgraph.io.vsdx.mxVsdxUtils.getStyleString(A,"=");p=c.getGeometry().height-
(n+d-p);e=k-e;0<E&&(k=new mxGeometry(e,p,b,d),e=c.getGeometry(),f.mxgraph.online.Utils.rotatedGeometry(k,E,e.width/2,e.height/2),e=k.x,p=k.y);return a.insertVertex(c,null,D,Math.round(100*e)/100,Math.round(100*p)/100,Math.round(100*b)/100,Math.round(100*d)/100,A+";html=1;")}return null};a.prototype.getLblEdgeOffset=function(a,c){if(null!=c&&1<c.length){var b=new mxCellState;b.absolutePoints=c;a.updateEdgeBounds(b);var b=a.getPoint(b),d=c[0],e=c[c.length-1],p=this.getScreenNumericalValue$org_w3c_dom_Element$double(this.getShapeNode(f.mxgraph.io.vsdx.mxVsdxConstants.TXT_WIDTH),
this.getWidth()),k=this.getScreenNumericalValue$org_w3c_dom_Element$double(this.getShapeNode(f.mxgraph.io.vsdx.mxVsdxConstants.TXT_HEIGHT),this.getHeight()),n=this.getScreenNumericalValue$org_w3c_dom_Element$double(this.getShapeNode(f.mxgraph.io.vsdx.mxVsdxConstants.TXT_LOC_PIN_X),0),u=this.getScreenNumericalValue$org_w3c_dom_Element$double(this.getShapeNode(f.mxgraph.io.vsdx.mxVsdxConstants.TXT_LOC_PIN_Y),0),D=this.getScreenNumericalValue$org_w3c_dom_Element$double(this.getShapeNode(f.mxgraph.io.vsdx.mxVsdxConstants.TXT_PIN_X),
0),A=this.getScreenNumericalValue$org_w3c_dom_Element$double(this.getShapeNode(f.mxgraph.io.vsdx.mxVsdxConstants.TXT_PIN_Y),0),e=(this.getHeight()-(d.y-e.y))/2+d.y-b.y-(A-u+k/2),b=D-n+p/2+(d.x-b.x);return 1E11<Math.abs(b)?null:new mxPoint(Math.floor(Math.round(100*b)/100),Math.floor(Math.round(100*e)/100))}return null};a.prototype.getShapeIndex=function(){return this.shapeIndex};a.prototype.setShapeIndex=function(a){this.shapeIndex=a};return a}(f.mxgraph.io.vsdx.Shape);p.__static_initialized=!1;p.ARROW_NO_FILL_MARKER=
"0";p.maxDp=2;p.USE_SHAPE_MATCH=!1;p.stencilTemplate='<shape h="htemplate" w="wtemplate" aspect="variable" strokewidth="inherit"><connections></connections><background></background><foreground></foreground></shape>';e.VsdxShape=p;p.__class="com.mxgraph.io.vsdx.VsdxShape"})(e.vsdx||(e.vsdx={}))})(n.io||(n.io={}))})(f.mxgraph||(f.mxgraph={}))})(com||(com={}));
(this.getTextLeftMargin()/2-2.8)/100};a.prototype.getRightSpacing=function(){return 100*(this.getTextRightMargin()/2-2.8)/100};a.prototype.getLabelRotation=function(){var a=!0,c=this.calcRotation(),e=parseFloat(this.getValue(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.TXT_ANGLE),"0")),e=180*e/Math.PI,e=e-c;45>Math.abs(e)||270<Math.abs(e)||(a=!1);return a};a.prototype.getHyperlink=function(){var a=this.getCellElement$java_lang_String$java_lang_String$java_lang_String("Address",
null,"Hyperlink"),a=this.getValue(a,""),c=this.getCellElement$java_lang_String$java_lang_String$java_lang_String("SubAddress",null,"Hyperlink"),c=this.getValue(c,"");return{extLink:a,pageLink:c}};a.prototype.getProperties=function(){var a=[];if(this.sections&&this.sections.Property)for(var c=f.mxgraph.io.vsdx.mxVsdxUtils.getDirectChildNamedElements(this.sections.Property.elem,"Row"),e=0;e<c.length;e++)for(var m=c[e],p=m.getAttribute("N"),m=f.mxgraph.io.vsdx.mxVsdxUtils.getDirectChildElements(m),n=
0;n<m.length;n++){var k=m[n];if("Value"==k.getAttribute("N")){a.push({key:p,val:k.getAttribute("V")});break}}return a};a.prototype.getStyleFromShape=function(){this.styleMap[f.mxgraph.io.vsdx.mxVsdxConstants.VSDX_ID]=this.getId().toString();this.rotation=Math.round(this.rotation);0!==this.rotation&&(this.styleMap[mxConstants.STYLE_ROTATION]=""+this.rotation);var a=this.getFillColor();(function(a,b){return a&&a.equals?a.equals(b):a===b})(a,"")?this.styleMap[mxConstants.STYLE_FILLCOLOR]="none":this.styleMap[mxConstants.STYLE_FILLCOLOR]=
a;var c=this.getId();this.styleDebug("ID = "+c+" , Fill Color = "+a);a=this.getGradient();(function(a,b){return a&&a.equals?a.equals(b):a===b})(a,"")?this.styleMap[mxConstants.STYLE_GRADIENTCOLOR]="none":(this.styleMap[mxConstants.STYLE_GRADIENTCOLOR]=a,a=this.getGradientDirection(),function(a,b){return a&&a.equals?a.equals(b):a===b}(a,"")||function(a,b){return a&&a.equals?a.equals(b):a===b}(a,mxConstants.DIRECTION_SOUTH)||(this.styleMap[mxConstants.STYLE_GRADIENT_DIRECTION]=a));a=this.getOpacity(f.mxgraph.io.vsdx.mxVsdxConstants.FILL_FOREGND_TRANS);
100>a&&(this.styleMap[mxConstants.STYLE_FILL_OPACITY]=""+a);a=this.getOpacity(f.mxgraph.io.vsdx.mxVsdxConstants.LINE_COLOR_TRANS);100>a&&(this.styleMap[mxConstants.STYLE_STROKE_OPACITY]=""+a);a=this.getForm();a.hasOwnProperty(mxConstants.STYLE_SHAPE)&&function(a,b,c){void 0===c&&(c=0);return a.substr(c,b.length)===b}(function(a,b){return a[b]?a[b]:null}(a,mxConstants.STYLE_SHAPE),"image;")&&(this.styleMap[mxConstants.STYLE_WHITE_SPACE]="wrap");for(var e in a)this.styleMap[e]=a[e];this.isDashed()&&
(this.styleMap[mxConstants.STYLE_DASHED]="1",e=this.getDashPattern(),null!=e&&(this.styleMap[mxConstants.STYLE_DASH_PATTERN]=e));e=this.getStrokeColor();var m=this.getStrokeTransparency();this.styleDebug("ID = "+c+" , Color = "+e+" , stroke transparency = "+m);(function(a,b){return a&&a.equals?a.equals(b):a===b})(e,"")||1===m||(this.styleMap[mxConstants.STYLE_STROKECOLOR]=e);c=Math.round(this.getLineWidth())|0;1!==c&&(this.styleMap[mxConstants.STYLE_STROKEWIDTH]=""+c);this.isShadow()&&(this.styleMap[mxConstants.STYLE_SHADOW]=
f.mxgraph.io.vsdx.mxVsdxConstants.TRUE);c=Math.round(this.getTopSpacing())|0;0!==c&&(this.styleMap[mxConstants.STYLE_SPACING_TOP]=""+c);c=Math.round(this.getBottomSpacing())|0;0!==c&&(this.styleMap[mxConstants.STYLE_SPACING_BOTTOM]=""+c);c=Math.round(this.getLeftSpacing())|0;0!==c&&(this.styleMap[mxConstants.STYLE_SPACING_LEFT]=""+c);c=Math.round(this.getRightSpacing())|0;0!==c&&(this.styleMap[mxConstants.STYLE_SPACING_RIGHT]=""+c);a=this.getDirection(a);a!==mxConstants.DIRECTION_EAST&&(this.styleMap[mxConstants.STYLE_DIRECTION]=
a);a=this.getValue(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.FLIP_X),"0");c=this.getValue(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.FLIP_Y),"0");(function(a,b){return a&&a.equals?a.equals(b):a===b})("1",a)&&(this.styleMap[mxConstants.STYLE_FLIPH]="1");(function(a,b){return a&&a.equals?a.equals(b):a===b})("1",c)&&(this.styleMap[mxConstants.STYLE_FLIPV]="1");this.resolveCommonStyles();return this.styleMap};a.prototype.getDashPattern=function(){var a=
null,c=this.getValue(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.LINE_PATTERN),"0");(c&&c.equals?c.equals("Themed"):"Themed"===c)?(c=this.getTheme(),null!=c&&(a=this.isVertex()?c.getLineDashPattern$com_mxgraph_io_vsdx_theme_QuickStyleVals(this.getQuickStyleVals()):c.getConnLineDashPattern(this.getQuickStyleVals()))):a=e.Style.getLineDashPattern(parseInt(c));if(null!=a&&0!=a.length){for(var c="",h=0;h<a.length;h++)c=c.concat(a[h].toFixed(2)+" ");return c.trim()}return null};
a.prototype.isDashed=function(){var a=this.getValue(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.LINE_PATTERN),"0");if(function(a,b){return a&&a.equals?a.equals(b):a===b}(a,"Themed")){if(a=this.getTheme(),null!=a)return this.isVertex()?a.isLineDashed$com_mxgraph_io_vsdx_theme_QuickStyleVals(this.getQuickStyleVals()):a.isConnLineDashed(this.getQuickStyleVals())}else if(!function(a,b){return a&&a.equals?a.equals(b):a===b}(a,"0")&&!function(a,b){return a&&a.equals?a.equals(b):
a===b}(a,"1"))return!0;return!1};a.prototype.getLineWidth=function(){var a=this.getValue(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.LINE_WEIGHT),"1"),c=1;try{var e;e=a&&a.equals?a.equals("Themed"):"Themed"===a;if(e){var m=this.getTheme();null!=m&&(c=(this.isVertex()?m.getLineWidth$com_mxgraph_io_vsdx_theme_QuickStyleVals(this.getQuickStyleVals()):m.getConnLineWidth(this.getQuickStyleVals()))/1E4)}else c=parseFloat(a),c=this.getScreenNumericalValue$double(c)}catch(y){}1>
c&&(c*=2);return c};a.prototype.getStartArrowSize=function(){var b=this.getValue(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.BEGIN_ARROW_SIZE),"4");try{var c=4,e;e=b&&b.equals?b.equals("Themed"):"Themed"===b;if(e){var m=this.getTheme();null!=m&&(c=this.isVertex()?m.getStartSize(this.getQuickStyleVals()):m.getConnStartSize(this.getQuickStyleVals()))}else c=parseFloat(b);return a.arrowSizes_$LI$()[c]}catch(y){}return 4};a.prototype.getFinalArrowSize=function(){var b=this.getValue(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.END_ARROW_SIZE),
"4");try{var c=4,e;e=b&&b.equals?b.equals("Themed"):"Themed"===b;if(e){var m=this.getTheme();null!=m&&(c=this.isVertex()?m.getEndSize(this.getQuickStyleVals()):m.getConnEndSize(this.getQuickStyleVals()))}else c=parseFloat(b);return a.arrowSizes_$LI$()[c]}catch(y){}return 4};a.prototype.getRounding=function(){var a=this.getValue(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.ROUNDING),"0"),c;c=a;c="Themed".equals?"Themed".equals(c):"Themed"===c;c&&(a="0");return parseFloat(a)};
a.prototype.isShadow=function(){var a=this.getValue(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.SHDW_PATTERN),"0");return function(a,b){return a&&a.equals?a.equals(b):a===b}(a,"Themed")||function(a,b){return a&&a.equals?a.equals(b):a===b}(a,"0")?!1:!0};a.prototype.getEdgeStyle$java_util_Map=function(a){var b={};(function(a,b){return a&&a.equals?a.equals(b):a===b})(function(a,b){return a[b]?a[b]:null}(a,mxConstants.STYLE_SHAPE),"mxgraph.lean_mapping.electronic_info_flow_edge")?
b[mxConstants.STYLE_EDGE]=mxConstants.NONE:b[mxConstants.STYLE_EDGE]=mxConstants.EDGESTYLE_ELBOW;return b};a.prototype.getEdgeStyle=function(a){if(null!=a&&a instanceof Object||null===a)return this.getEdgeStyle$java_util_Map(a);if(void 0===a)return this.getEdgeStyle$();throw Error("invalid overload");};a.prototype.getMasterId=function(){return this.shape.hasAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.MASTER)?this.shape.getAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.MASTER):null};a.prototype.getShapeMasterId=
function(){return this.shape.hasAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.MASTER_SHAPE)?this.shape.getAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.MASTER_SHAPE):null};a.prototype.isGroup=function(){var a;a=(a=this.shape.getAttribute("Type"))&&a.equals?a.equals("Group"):"Group"===a;return a};a.getType=function(a){return a.getAttribute("Type")};a.prototype.getMaster=function(){return this.master};a.prototype.getNameU=function(){var a=this.shape.getAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.NAME_U)||
"",c;(c=null==a)||(c=(c=a)&&c.equals?c.equals(""):""===c);c&&null!=this.masterShape&&(a=this.masterShape.getNameU());return a};a.prototype.getName=function(){var a=this.shape.getAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.NAME),c;(c=null==a)||(c=(c=a)&&c.equals?c.equals(""):""===c);c&&null!=this.masterShape&&(a=this.masterShape.getName());return a};a.prototype.getMasterName=function(){return this.shapeName};a.prototype.setLabelOffset=function(a,c){var b="",d="";this.shape.hasAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.NAME_U)&&
(b=this.shape.getAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.NAME_U));null!=this.getMaster()&&null!=this.getMaster().getMasterElement()&&this.getMaster().getMasterElement().hasAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.NAME_U)&&(d=this.getMaster().getMasterElement().getAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.NAME_U));if(function(a,b,c){void 0===c&&(c=0);return a.substr(c,b.length)===b}(b,"Organizational unit")||function(a,b,c){void 0===c&&(c=0);return a.substr(c,b.length)===b}(d,"Organizational unit")){var e=
this.shape.getElementsByTagName(f.mxgraph.io.vsdx.mxVsdxConstants.CONTROL).item(0),b=null,b="0.0",d=null,d="-0.4";null!=e&&(b=e.getElementsByTagName(f.mxgraph.io.vsdx.mxVsdxConstants.X).item(0),b=b.hasAttribute("F")?b.getAttribute("F"):b.textContent,d=e.getElementsByTagName(f.mxgraph.io.vsdx.mxVsdxConstants.Y).item(0),d=d.hasAttribute("F")?d.getAttribute("F"):d.textContent);e=a.getGeometry();b=b.split("Width/2+").join("");b=b.split("DL").join("");d=d.split("Height*").join("");(function(a,b){return a&&
a.equals?a.equals(b):a===b})(b,"Inh")&&(b="0.0");(function(a,b){return a&&a.equals?a.equals(b):a===b})(d,"Inh")&&(d="-0.4");-1!=d.indexOf("txtHeight")&&(d="-0.4");for(var p=c.split(";"),k="",n=0;n<p.length;n++){var u=p[n],u=u.trim();(function(a,b,c){void 0===c&&(c=0);return a.substr(c,b.length)===b})(u,"tabHeight=")&&(k=u.split("tabHeight=").join(""))}(function(a,b){return a&&a.equals?a.equals(b):a===b})(k,"")&&(k="20");p=parseFloat(k);b=parseFloat(b);d=parseFloat(d);k=e.height;b=.1*e.width+100*b;
b=new mxPoint(b,k-k*d-p/2);a.getGeometry().offset=b}else if(function(a,b,c){void 0===c&&(c=0);return a.substr(c,b.length)===b}(b,"Domain 3D")||function(a,b,c){void 0===c&&(c=0);return a.substr(c,b.length)===b}(d,"Domain 3D")){e=this.shape.getElementsByTagName(f.mxgraph.io.vsdx.mxVsdxConstants.CONTROL).item(0);b=null;b="0.0";d=null;d="-0.4";null!=e&&(b=e.getElementsByTagName(f.mxgraph.io.vsdx.mxVsdxConstants.X).item(0),b=b.getAttribute("F")||"",d=e.getElementsByTagName(f.mxgraph.io.vsdx.mxVsdxConstants.Y).item(0),
d=d.getAttribute("F")||"");e=a.getGeometry();b=b.split("Width/2+").join("");b=b.split("DL").join("");d=d.split("Height*").join("");if(function(a,b){return a&&a.equals?a.equals(b):a===b}(b,"Inh")||function(a,b){return a&&a.equals?a.equals(b):a===b}(b,""))b="0.0";if(function(a,b){return a&&a.equals?a.equals(b):a===b}(d,"Inh")||function(a,b){return a&&a.equals?a.equals(b):a===b}(d,""))d="-0.4";-1!=d.indexOf("txtHeight")&&(d="-0.4");b=parseFloat(b);d=parseFloat(d);k=e.height;b=.1*e.width+100*b;b=new mxPoint(b,
k-k*d);a.getGeometry().offset=b}};a.prototype.getForm=function(){var b={};if(this.isVertex())try{var c=a.getType(this.getShape());this.styleDebug("shape type = "+c);if(null!=this.imageData||function(a,b){return a&&a.equals?a.equals(b):a===b}(f.mxgraph.io.vsdx.mxVsdxConstants.FOREIGN,c)&&null!=this.masterShape&&null!=this.masterShape.imageData){var e=null!=this.imageData?this.imageData:this.masterShape.imageData;b.shape="image";b.aspect="fixed";var m=function(a,b){return a[b]?a[b]:null}(e,"iType"),
p=function(a,b){return a[b]?a[b]:null}(e,"iData"),n=parseFloat(this.getValue(this.getCellElement$java_lang_String("ImgOffsetX"),"0")),k=parseFloat(this.getValue(this.getCellElement$java_lang_String("ImgOffsetY"),"0")),u=parseFloat(this.getValue(this.getCellElement$java_lang_String("ImgWidth"),"0")),B=parseFloat(this.getValue(this.getCellElement$java_lang_String("ImgHeight"),"0")),D=parseFloat(this.getValue(this.getCellElement$java_lang_String("Width"),"0")),A=parseFloat(this.getValue(this.getCellElement$java_lang_String("Height"),
"0"));0!=n||0!=k?this.toBeCroppedImg={imgOffsetX:n,imgOffsetY:k,imgWidth:u,imgHeight:B,width:D,height:A,iType:m,iData:p}:b.image="data:image/"+m+","+p;return b}var E=this.parseGeom();if(function(a,b){return a&&a.equals?a.equals(b):a===b}(E,""))return this.styleDebug("No geom found"),b;var H=Graph.compress(E);b[mxConstants.STYLE_SHAPE]="stencil("+H+")"}catch(N){console.error(N.message,N)}else return this.getEdgeStyle();return b};a.prototype.isOff_page_reference=function(){var a=this.getNameU();return function(a,
b){return a&&a.equals?a.equals(b):a===b}(a,"Off-page reference")||function(a,b){return a&&a.equals?a.equals(b):a===b}(a,"Lined/Shaded process")?!0:!1};a.prototype.isExternal_process=function(){var a;a=(a=this.shapeName)&&a.equals?a.equals("External process"):"External process"===a;return a};a.prototype.getDirection=function(a){a=mxResources.get("mxOffset"+this.shapeName);if(null!=a&&!function(a,b){return a&&a.equals?a.equals(b):a===b}(a,"0")&&!function(a,b){return a&&a.equals?a.equals(b):a===b}(a,
"")){if(function(a,b){return a&&a.equals?a.equals(b):a===b}(a,"1"))return mxConstants.DIRECTION_SOUTH;if(function(a,b){return a&&a.equals?a.equals(b):a===b}(a,"2"))return mxConstants.DIRECTION_WEST;if(function(a,b){return a&&a.equals?a.equals(b):a===b}(a,"3"))return mxConstants.DIRECTION_NORTH}return mxConstants.DIRECTION_EAST};a.prototype.isSubproces=function(){var a;a=(a=this.shapeName)&&a.equals?a.equals("Subproces"):"Subproces"===a;return a};a.prototype.getEdgeStyle$=function(){return{edgeStyle:"none"}};
a.prototype.getChildShapes=function(){return this.childShapes};a.prototype.setChildShapes=function(a){this.childShapes=a};a.prototype.isDisplacedLabel=function(){var a=this.getAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.TXT_PIN_X,"F",""),c=this.getAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.TXT_PIN_Y,"F",""),e=this.getAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.TXT_WIDTH,"F",""),m=this.getAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.TXT_HEIGHT,"F","");if(null!=this.masterShape){if(""===a||function(a,
b){return a&&a.equals?a.equals(b):a===b}(a.toLowerCase(),"inh"))a=this.masterShape.getAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.TXT_PIN_X,"F","");if(""===c||function(a,b){return a&&a.equals?a.equals(b):a===b}(c.toLowerCase(),"inh"))c=this.masterShape.getAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.TXT_PIN_Y,"F","");if(""===e||function(a,b){return a&&a.equals?a.equals(b):a===b}(e.toLowerCase(),"inh"))e=this.masterShape.getAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.TXT_WIDTH,"F","");if(""===m||function(a,
b){return a&&a.equals?a.equals(b):a===b}(m.toLowerCase(),"inh"))m=this.masterShape.getAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.TXT_HEIGHT,"F","")}return function(a,b){return a&&a.equals?a.equals(b):a===b}(a.toLowerCase(),"width*0.5")&&function(a,b){return a&&a.equals?a.equals(b):a===b}(c.toLowerCase(),"height*0.5")&&function(a,b){return a&&a.equals?a.equals(b):a===b}(e.toLowerCase(),"width*1")&&function(a,b){return a&&a.equals?a.equals(b):a===b}(m.toLowerCase(),"height*1")||!(function(a,b,c){void 0===
c&&(c=0);return a.substr(c,b.length)===b}(a.toLowerCase(),"width*")&&function(a,b,c){void 0===c&&(c=0);return a.substr(c,b.length)===b}(c.toLowerCase(),"height*")&&function(a,b,c){void 0===c&&(c=0);return a.substr(c,b.length)===b}(e.toLowerCase(),"width*")&&function(a,b,c){void 0===c&&(c=0);return a.substr(c,b.length)===b}(m.toLowerCase(),"height*")||function(a,b,c){void 0===c&&(c=0);return a.substr(c,b.length)===b}(a.toLowerCase(),"controls.row_")||function(a,b,c){void 0===c&&(c=0);return a.substr(c,
b.length)===b}(c.toLowerCase(),"controls.row_"))?!1:!0};a.prototype.isVerticalLabel=function(){var a=this.getAttribute("TextDirection","V","");a||null==this.masterShape||(a=this.masterShape.getAttribute("TextDirection","V",""));return"1"==a};a.prototype.isRotatedLabel=function(){if(this.isVerticalLabel())return!0;var a=this.getAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.TXT_ANGLE,"V","");null!=this.masterShape&&function(a,b){return a&&a.equals?a.equals(b):a===b}(a,"")&&(a=this.masterShape.getAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.TXT_ANGLE,
"V",""));return function(a,b){return a&&a.equals?a.equals(b):a===b}(a,"0")||function(a,b){return a&&a.equals?a.equals(b):a===b}(a,"0.0")||function(a,b){return a&&a.equals?a.equals(b):a===b}(a,"")?!1:!0};a.prototype.setRootShape=function(a){this.rootShape=a};a.prototype.getRootShape=function(){return this.rootShape};a.prototype.getStartXY=function(a){var b=Math.floor(Math.round(100*this.getScreenNumericalValue$org_w3c_dom_Element$double(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.BEGIN_X),
0))/100);a=Math.floor(Math.round(100*(a-this.getScreenNumericalValue$org_w3c_dom_Element$double(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.BEGIN_Y),0)))/100);return new mxPoint(b,a)};a.prototype.getEndXY=function(a){var b=Math.floor(Math.round(100*this.getScreenNumericalValue$org_w3c_dom_Element$double(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.END_X),0))/100);a=Math.floor(Math.round(100*(a-this.getScreenNumericalValue$org_w3c_dom_Element$double(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.END_Y),
0)))/100);return new mxPoint(b,a)};a.prototype.getRoutingPoints=function(a,c,e){return null!=this.geomList?this.geomList.getRoutingPoints(a,c,e):null};a.prototype.getControlPoints=function(a){var b=this.getStartXY(a);a=this.getEndXY(a);var c=[];if(null!=this.shape){var e=this.shape.getElementsByTagName(f.mxgraph.io.vsdx.mxVsdxConstants.GEOM);if(0<e.length&&(e=e.item(0).getElementsByTagName(f.mxgraph.io.vsdx.mxVsdxConstants.NURBS_TO).item(0).getElementsByTagName("E").item(0),null!=e)){for(var e=e.getAttribute("F")||
"",e=e.replace(RegExp("NURBS\\(","g"),""),e=e.replace(RegExp("\\)","g"),""),e=e.replace(RegExp(",","g")," "),e=e.replace(RegExp("\\s\\s","g")," "),e=e.split(" "),p=e.length,n=[];0<p--;)n.push(0);for(p=0;p<e.length;p++)n[p]=parseFloat(e[p]);for(p=2;p+4<e.length;p+=4){var k=new mxPoint,u=n[p+3];k.x=Math.floor(Math.round(100*(b.x+Math.min(100,Math.abs(a.x-b.x))*n[p+2]))/100);k.y=Math.floor(Math.round(100*(b.y-100*u))/100);c.push(k)}return c}}return null};a.prototype.getStyleFromEdgeShape=function(b){this.styleMap[f.mxgraph.io.vsdx.mxVsdxConstants.VSDX_ID]=
this.getId().toString();b=this.getForm();if(null!=b&&!function(a,b){return a&&a.equals?a.equals(b):a===b}(b,""))for(var c in b)this.styleMap[c]=b[c];this.isDashed()&&(this.styleMap[mxConstants.STYLE_DASHED]="1",c=this.getDashPattern(),null!=c&&(this.styleMap[mxConstants.STYLE_DASH_PATTERN]=c));c=this.getEdgeMarker(!0);null!=c&&(function(a,b,c){void 0===c&&(c=0);return a.substr(c,b.length)===b}(c,a.ARROW_NO_FILL_MARKER)&&(c=c.substring(a.ARROW_NO_FILL_MARKER.length),this.styleMap[mxConstants.STYLE_STARTFILL]=
"0"),this.styleMap[mxConstants.STYLE_STARTARROW]=c);c=this.getEdgeMarker(!1);null!=c&&(function(a,b,c){void 0===c&&(c=0);return a.substr(c,b.length)===b}(c,a.ARROW_NO_FILL_MARKER)&&(c=c.substring(a.ARROW_NO_FILL_MARKER.length),this.styleMap[mxConstants.STYLE_ENDFILL]="0"),this.styleMap[mxConstants.STYLE_ENDARROW]=c);c=Math.round(this.getStartArrowSize())|0;6!==c&&(this.styleMap[mxConstants.STYLE_STARTSIZE]=""+c);c=Math.round(this.getFinalArrowSize())|0;6!==c&&(this.styleMap[mxConstants.STYLE_ENDSIZE]=
""+c);c=Math.round(this.getLineWidth())|0;1!==c&&(this.styleMap[mxConstants.STYLE_STROKEWIDTH]=""+c);c=this.getStrokeColor();(function(a,b){return a&&a.equals?a.equals(b):a===b})(c,"")||(this.styleMap[mxConstants.STYLE_STROKECOLOR]=c);this.isShadow()&&(this.styleMap[mxConstants.STYLE_SHADOW]=f.mxgraph.io.vsdx.mxVsdxConstants.TRUE);this.isConnectorBigNameU(this.getNameU())&&(this.styleMap[mxConstants.STYLE_SHAPE]=mxConstants.SHAPE_ARROW,c=this.getFillColor(),function(a,b){return a&&a.equals?a.equals(b):
a===b}(c,"")||(this.styleMap[mxConstants.STYLE_FILLCOLOR]=c));c=Math.round(this.getTopSpacing())|0;this.styleMap[mxConstants.STYLE_SPACING_TOP]=""+c;c=Math.round(this.getBottomSpacing())|0;this.styleMap[mxConstants.STYLE_SPACING_BOTTOM]=""+c;c=Math.round(this.getLeftSpacing())|0;this.styleMap[mxConstants.STYLE_SPACING_LEFT]=""+c;c=Math.round(this.getRightSpacing())|0;this.styleMap[mxConstants.STYLE_SPACING_RIGHT]=""+c;c=this.getAlignVertical();this.styleMap[mxConstants.STYLE_VERTICAL_ALIGN]=c;this.styleMap.html=
"1";this.resolveCommonStyles();return this.styleMap};a.prototype.resolveCommonStyles=function(){var a=this.getTextBkgndColor(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.TEXT_BKGND)),c;c=a&&a.equals?a.equals(""):""===a;c||"1"!=this.getValue(this.getCellElement$java_lang_String("TextBkgndTrans"),"0")&&(this.styleMap[mxConstants.STYLE_LABEL_BACKGROUNDCOLOR]=a);this.styleMap[mxConstants.STYLE_ROUNDED]=0<this.getRounding()?f.mxgraph.io.vsdx.mxVsdxConstants.TRUE:f.mxgraph.io.vsdx.mxVsdxConstants.FALSE;
return this.styleMap};a.prototype.getEdgeMarker=function(b){var c=this.getValue(this.getCellElement$java_lang_String(b?f.mxgraph.io.vsdx.mxVsdxConstants.BEGIN_ARROW:f.mxgraph.io.vsdx.mxVsdxConstants.END_ARROW),"0"),e=0;try{if(function(a,b){return a&&a.equals?a.equals(b):a===b}(c,"Themed")){var m=this.getTheme();null!=m&&(e=this.isVertex()?m.getEdgeMarker(b,this.getQuickStyleVals()):m.getConnEdgeMarker(b,this.getQuickStyleVals()))}else e=parseInt(c)}catch(y){}b=function(a,b){null==a.entries&&(a.entries=
[]);for(var c=0;c<a.entries.length;c++)if(null!=a.entries[c].key.equals&&a.entries[c].key.equals(b)||a.entries[c].key===b)return a.entries[c].value;return null}(a.arrowTypes_$LI$(),e);0<e&&null==b&&(b=function(a,b){null==a.entries&&(a.entries=[]);for(var c=0;c<a.entries.length;c++)if(null!=a.entries[c].key.equals&&a.entries[c].key.equals(b)||a.entries[c].key===b)return a.entries[c].value;return null}(a.arrowTypes_$LI$(),1));return b};a.prototype.getCellElement$java_lang_String=function(a){var b=c.prototype.getCellElement$java_lang_String.call(this,
a);return null==b&&null!=this.masterShape?this.masterShape.getCellElement$java_lang_String(a):b};a.prototype.getCellElement$java_lang_String$java_lang_String$java_lang_String=function(a,d,e){var b=c.prototype.getCellElement$java_lang_String$java_lang_String$java_lang_String.call(this,a,d,e);return null==b&&null!=this.masterShape?this.masterShape.getCellElement$java_lang_String$java_lang_String$java_lang_String(a,d,e):b};a.prototype.getCellElement=function(a,c,e){if("string"!==typeof a&&null!==a||
"string"!==typeof c&&null!==c||"string"!==typeof e&&null!==e){if("string"!==typeof a&&null!==a||void 0!==c||void 0!==e)throw Error("invalid overload");return this.getCellElement$java_lang_String(a)}return this.getCellElement$java_lang_String$java_lang_String$java_lang_String(a,c,e)};a.prototype.createLabelSubShape=function(a,c){var b=this.getScreenNumericalValue$org_w3c_dom_Element$double(this.getShapeNode(f.mxgraph.io.vsdx.mxVsdxConstants.TXT_WIDTH),this.getWidth()),d=this.getScreenNumericalValue$org_w3c_dom_Element$double(this.getShapeNode(f.mxgraph.io.vsdx.mxVsdxConstants.TXT_HEIGHT),
this.getHeight()),e=this.getScreenNumericalValue$org_w3c_dom_Element$double(this.getShapeNode(f.mxgraph.io.vsdx.mxVsdxConstants.TXT_LOC_PIN_X),b/2),p=this.getScreenNumericalValue$org_w3c_dom_Element$double(this.getShapeNode(f.mxgraph.io.vsdx.mxVsdxConstants.TXT_LOC_PIN_Y),d/2),k=this.getScreenNumericalValue$org_w3c_dom_Element$double(this.getShapeNode(f.mxgraph.io.vsdx.mxVsdxConstants.TXT_PIN_X),e),n=this.getScreenNumericalValue$org_w3c_dom_Element$double(this.getShapeNode(f.mxgraph.io.vsdx.mxVsdxConstants.TXT_PIN_Y),
p),u=this.getValueAsDouble(this.getShapeNode(f.mxgraph.io.vsdx.mxVsdxConstants.TXT_ANGLE),0),D=this.getTextLabel();if(null!=D&&0!==D.length){var A=mxUtils.clone(this.getStyleMap())||{};A[mxConstants.STYLE_FILLCOLOR]=mxConstants.NONE;A[mxConstants.STYLE_STROKECOLOR]=mxConstants.NONE;A[mxConstants.STYLE_GRADIENTCOLOR]=mxConstants.NONE;A.hasOwnProperty("align")||(A.align="center");A.hasOwnProperty("verticalAlign")||(A.verticalAlign="middle");A.hasOwnProperty("whiteSpace")||(A.whiteSpace="wrap");delete A.shape;
delete A.image;this.isVerticalLabel()&&(u+=Math.PI+.01,A.horizontal="0");var E=this.getRotation();0!==u&&(u=360-180*u/Math.PI,u=Math.round((u+E)%360*100)/100,0!==u&&(A.rotation=""+u));A="text;"+f.mxgraph.io.vsdx.mxVsdxUtils.getStyleString(A,"=");p=c.getGeometry().height-(n+d-p);e=k-e;0<E&&(k=new mxGeometry(e,p,b,d),e=c.getGeometry(),f.mxgraph.online.Utils.rotatedGeometry(k,E,e.width/2,e.height/2),e=k.x,p=k.y);return a.insertVertex(c,null,D,Math.round(100*e)/100,Math.round(100*p)/100,Math.round(100*
b)/100,Math.round(100*d)/100,A+";html=1;")}return null};a.prototype.getLblEdgeOffset=function(a,c){if(null!=c&&1<c.length){var b=new mxCellState;b.absolutePoints=c;a.updateEdgeBounds(b);var b=a.getPoint(b),d=c[0],e=c[c.length-1],p=this.getScreenNumericalValue$org_w3c_dom_Element$double(this.getShapeNode(f.mxgraph.io.vsdx.mxVsdxConstants.TXT_WIDTH),this.getWidth()),k=this.getScreenNumericalValue$org_w3c_dom_Element$double(this.getShapeNode(f.mxgraph.io.vsdx.mxVsdxConstants.TXT_HEIGHT),this.getHeight()),
n=this.getScreenNumericalValue$org_w3c_dom_Element$double(this.getShapeNode(f.mxgraph.io.vsdx.mxVsdxConstants.TXT_LOC_PIN_X),0),u=this.getScreenNumericalValue$org_w3c_dom_Element$double(this.getShapeNode(f.mxgraph.io.vsdx.mxVsdxConstants.TXT_LOC_PIN_Y),0),D=this.getScreenNumericalValue$org_w3c_dom_Element$double(this.getShapeNode(f.mxgraph.io.vsdx.mxVsdxConstants.TXT_PIN_X),0),A=this.getScreenNumericalValue$org_w3c_dom_Element$double(this.getShapeNode(f.mxgraph.io.vsdx.mxVsdxConstants.TXT_PIN_Y),
0),e=(this.getHeight()-(d.y-e.y))/2+d.y-b.y-(A-u+k/2),b=D-n+p/2+(d.x-b.x);return 1E11<Math.abs(b)?null:new mxPoint(Math.floor(Math.round(100*b)/100),Math.floor(Math.round(100*e)/100))}return null};a.prototype.getShapeIndex=function(){return this.shapeIndex};a.prototype.setShapeIndex=function(a){this.shapeIndex=a};return a}(f.mxgraph.io.vsdx.Shape);p.__static_initialized=!1;p.ARROW_NO_FILL_MARKER="0";p.maxDp=2;p.USE_SHAPE_MATCH=!1;p.stencilTemplate='<shape h="htemplate" w="wtemplate" aspect="variable" strokewidth="inherit"><connections></connections><background></background><foreground></foreground></shape>';
e.VsdxShape=p;p.__class="com.mxgraph.io.vsdx.VsdxShape"})(e.vsdx||(e.vsdx={}))})(n.io||(n.io={}))})(f.mxgraph||(f.mxgraph={}))})(com||(com={}));
(function(f){(function(n){(function(e){var n=function(){function e(){}e.__static_initialize=function(){e.__static_initialized||(e.__static_initialized=!0,e.__static_initializer_0())};e.CA_$LI$=function(){e.__static_initialize();null==e.CA&&(e.CA="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""));return e.CA};e.IA_$LI$=function(){e.__static_initialize();if(null==e.IA){for(var c=256,a=[];0<c--;)a.push(0);e.IA=a}return e.IA};e.__static_initializer_0=function(){for(var c=e.IA_$LI$(),
a=0;a<c.length;a++)c[a]=-1;c=0;for(a=e.CA_$LI$().length;c<a;c++)e.IA_$LI$()[e.CA_$LI$()[c].charCodeAt(0)]=c;e.IA_$LI$()[61]=0};e.encodeToChar=function(c,a,b){var d=null!=c?c.length-a:0;if(0===d)return[];for(var f=3*(d/3|0),m=((d-1)/3|0)+1<<2,m=m+(b?((m-1)/76|0)<<1:0),n=Array(m),p=a,k=0,u=0;p<f+a;){var B=(c[p++]&255)<<16|(c[p++]&255)<<8|c[p++]&255;n[k++]=e.CA_$LI$()[B>>>18&63];n[k++]=e.CA_$LI$()[B>>>12&63];n[k++]=e.CA_$LI$()[B>>>6&63];n[k++]=e.CA_$LI$()[B&63];b&&19===++u&&k<m-2&&(n[k++]="\r",n[k++]=
"\n",u=0)}b=d-f;0<b&&(B=(c[f+a]&255)<<10|(2===b?(c[d+a-1]&255)<<2:0),n[m-4]=e.CA_$LI$()[B>>12],n[m-3]=e.CA_$LI$()[B>>>6&63],n[m-2]=2===b?e.CA_$LI$()[B&63]:"=",n[m-1]="=");return n};e.decode$char_A=function(c){var a=null!=c?c.length:0;if(0===a)return[];for(var b=0,d=0;d<a;d++)0>e.IA_$LI$()[c[d].charCodeAt(0)]&&b++;if(0!==(a-b)%4)return null;for(var f=0,d=a;1<d&&0>=e.IA_$LI$()[c[--d].charCodeAt(0)];)61==function(a){return null==a.charCodeAt?a:a.charCodeAt(0)}(c[d])&&f++;for(var a=(6*(a-b)>>3)-f,b=function(a){for(var b=

View file

@ -1015,7 +1015,7 @@ BaseFormatPanel.prototype.createOption = function(label, isCheckedFn, setChecked
/**
* The string 'null' means use null in values.
*/
BaseFormatPanel.prototype.createCellOption = function(label, key, defaultValue, enabledValue, disabledValue, fn, action, stopEditing)
BaseFormatPanel.prototype.createCellOption = function(label, key, defaultValue, enabledValue, disabledValue, fn, action, stopEditing, cells)
{
enabledValue = (enabledValue != null) ? ((enabledValue == 'null') ? null : enabledValue) : '1';
disabledValue = (disabledValue != null) ? ((disabledValue == 'null') ? null : disabledValue) : '0';
@ -1026,8 +1026,8 @@ BaseFormatPanel.prototype.createCellOption = function(label, key, defaultValue,
return this.createOption(label, function()
{
// Seems to be null sometimes, not sure why...
var state = graph.view.getState(graph.getSelectionCell());
var state = graph.view.getState((cells != null && cells.length > 0) ?
cells[0] : graph.getSelectionCell());
if (state != null)
{
@ -1051,16 +1051,17 @@ BaseFormatPanel.prototype.createCellOption = function(label, key, defaultValue,
graph.getModel().beginUpdate();
try
{
var temp = (cells != null) ? cells : graph.getSelectionCells();
var value = (checked) ? enabledValue : disabledValue;
graph.setCellStyles(key, value, graph.getSelectionCells());
graph.setCellStyles(key, value, temp);
if (fn != null)
{
fn(graph.getSelectionCells(), value);
fn(temp, value);
}
ui.fireEvent(new mxEventObject('styleChanged', 'keys', [key],
'values', [value], 'cells', graph.getSelectionCells()));
ui.fireEvent(new mxEventObject('styleChanged', 'keys',
[key], 'values', [value], 'cells', temp));
}
finally
{
@ -1074,7 +1075,8 @@ BaseFormatPanel.prototype.createCellOption = function(label, key, defaultValue,
this.listener = function()
{
// Seems to be null sometimes, not sure why...
var state = graph.view.getState(graph.getSelectionCell());
var state = graph.view.getState((cells != null && cells.length > 0) ?
cells[0] : graph.getSelectionCell());
if (state != null)
{
@ -3417,11 +3419,22 @@ TextFormatPanel.prototype.addFont = function(container)
extraPanel.style.paddingBottom = '4px';
// LATER: Fix toggle using '' instead of 'null'
var wwOpt = this.createCellOption(mxResources.get('wordWrap'), mxConstants.STYLE_WHITE_SPACE, null, 'wrap', 'null', null, null, true);
var wwCells = graph.filterSelectionCells(function(cell)
{
var state = graph.view.getState(cell);
return state == null ||
ui.format.isAutoSizeState(state) ||
graph.getModel().isEdge(cell) ||
!graph.isCellResizable(cell);
});
var wwOpt = this.createCellOption(mxResources.get('wordWrap'), mxConstants.STYLE_WHITE_SPACE,
null, 'wrap', 'null', null, null, true, wwCells);
wwOpt.style.fontWeight = 'bold';
// Word wrap in edge labels only supported via labelWidth style
if (!ss.containsLabel && !ss.autoSize && ss.edges.length == 0)
if (wwCells.length > 0)
{
extraPanel.appendChild(wwOpt);
}

View file

@ -2125,6 +2125,31 @@ Graph.prototype.init = function(container)
return cell;
};
/**
* Returns the selection cells where the given function returns false.
*/
Graph.prototype.filterSelectionCells = function(ignoreFn)
{
var cells = this.getSelectionCells();
if (ignoreFn != null)
{
var temp = [];
for (var i = 0; i < cells.length; i++)
{
if (!ignoreFn(cells[i]))
{
temp.push(cells[i]);
}
}
cells = temp;
}
return cells;
};
/**
* Function: repaint
*

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,4 +1,4 @@
var mxClient={VERSION:"14.2.7",IS_IE:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("MSIE"),IS_IE6:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("MSIE 6"),IS_IE11:null!=navigator.userAgent&&!!navigator.userAgent.match(/Trident\/7\./),IS_EDGE:null!=navigator.userAgent&&!!navigator.userAgent.match(/Edge\//),IS_QUIRKS:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("MSIE")&&(null==document.documentMode||5==document.documentMode),IS_EM:"spellcheck"in document.createElement("textarea")&&
var mxClient={VERSION:"14.2.8",IS_IE:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("MSIE"),IS_IE6:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("MSIE 6"),IS_IE11:null!=navigator.userAgent&&!!navigator.userAgent.match(/Trident\/7\./),IS_EDGE:null!=navigator.userAgent&&!!navigator.userAgent.match(/Edge\//),IS_QUIRKS:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("MSIE")&&(null==document.documentMode||5==document.documentMode),IS_EM:"spellcheck"in document.createElement("textarea")&&
8==document.documentMode,VML_PREFIX:"v",OFFICE_PREFIX:"o",IS_NS:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Mozilla/")&&0>navigator.userAgent.indexOf("MSIE")&&0>navigator.userAgent.indexOf("Edge/"),IS_OP:null!=navigator.userAgent&&(0<=navigator.userAgent.indexOf("Opera/")||0<=navigator.userAgent.indexOf("OPR/")),IS_OT:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Presto/")&&0>navigator.userAgent.indexOf("Presto/2.4.")&&0>navigator.userAgent.indexOf("Presto/2.3.")&&0>navigator.userAgent.indexOf("Presto/2.2.")&&
0>navigator.userAgent.indexOf("Presto/2.1.")&&0>navigator.userAgent.indexOf("Presto/2.0.")&&0>navigator.userAgent.indexOf("Presto/1."),IS_SF:/Apple Computer, Inc/.test(navigator.vendor),IS_ANDROID:0<=navigator.appVersion.indexOf("Android"),IS_IOS:/iP(hone|od|ad)/.test(navigator.platform),IS_GC:/Google Inc/.test(navigator.vendor),IS_CHROMEAPP:null!=window.chrome&&null!=chrome.app&&null!=chrome.app.runtime,IS_FF:"undefined"!==typeof InstallTrigger,IS_MT:0<=navigator.userAgent.indexOf("Firefox/")&&0>
navigator.userAgent.indexOf("Firefox/1.")&&0>navigator.userAgent.indexOf("Firefox/2.")||0<=navigator.userAgent.indexOf("Iceweasel/")&&0>navigator.userAgent.indexOf("Iceweasel/1.")&&0>navigator.userAgent.indexOf("Iceweasel/2.")||0<=navigator.userAgent.indexOf("SeaMonkey/")&&0>navigator.userAgent.indexOf("SeaMonkey/1.")||0<=navigator.userAgent.indexOf("Iceape/")&&0>navigator.userAgent.indexOf("Iceape/1."),IS_VML:"MICROSOFT INTERNET EXPLORER"==navigator.appName.toUpperCase(),IS_SVG:"MICROSOFT INTERNET EXPLORER"!=

View file

@ -3,6 +3,40 @@
*/
Draw.loadPlugin(function(ui)
{
// Handle data governess by modifying external services URLs
var allowedRegions = {
eu: 1,
us: 1
};
if (allowedRegions[urlParams['dataGov']])
{
var region = urlParams['dataGov'];
var urls = {
'DRAWIO_LIGHTBOX_URL': 'viewer',
'EXPORT_URL': 'export',
'PLANT_URL': 'plant',
'VSD_CONVERT_URL': 'vsd',
'EMF_CONVERT_URL': 'emf',
'REALTIME_URL': 'cach',
'SAVE_URL': 'save',
'OPEN_URL': 'import',
'PROXY_URL': 'proxy'
};
for (var key in urls)
{
var val = window[key];
if (val)
{
window[key] = '/region-' + urls[key] + '-' + region;
}
}
EditorUi.cacheUrl = window.REALTIME_URL;
}
// Extracts macro data from JSON protocol
var macroData = {};

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=Hautaketan ez da diagramarik aurkitu
officeNoDiagramsInDoc=Dokumentuan ez da diagramarik aurkitu
officeNotSupported=Funtzionalitate hau ez da onartzen ostatuko aplikazioan
someImagesFailed={1}/ {2}tik huts egin dute
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=officeNoDiagramsSelected
officeNoDiagramsInDoc=officeNoDiagramsInDoc
officeNotSupported=officeNotSupported
someImagesFailed=someImagesFailed
importingNoUsedDiagrams=importingNoUsedDiagrams
importingDrafts=importingDrafts
processingDrafts=processingDrafts
updatingDrafts=updatingDrafts
updateDrafts=updateDrafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -1117,3 +1117,8 @@ officeNoDiagramsSelected=No diagrams found in the selection
officeNoDiagramsInDoc=No diagrams found in the document
officeNotSupported=This feature is not supported in this host application
someImagesFailed={1} out of {2} failed due to the following errors
importingNoUsedDiagrams=Importing {1} Diagrams not used in pages
importingDrafts=Importing {1} Diagrams in drafts
processingDrafts=Processing drafts
updatingDrafts=Updating drafts
updateDrafts=Update Drafts

View file

@ -6,11 +6,11 @@ if (workbox)
workbox.precaching.precacheAndRoute([
{
"url": "js/app.min.js",
"revision": "7c56d13fc638a0b5a058aeb3d5b8be93"
"revision": "176f01df98ca976b86f52ac455f1ca69"
},
{
"url": "js/extensions.min.js",
"revision": "5442eb276cf492e2908c7753f2ab9d35"
"revision": "45d38084f4fa0a9dae672100ab822afa"
},
{
"url": "js/stencils.min.js",
@ -58,7 +58,7 @@ if (workbox)
},
{
"url": "js/viewer-static.min.js",
"revision": "970560dfb606f4d79a77780c719efc8b"
"revision": "65df329c7ed0bb8323cf77051e422bc9"
},
{
"url": "connect/jira/editor-1-3-3.html",
@ -102,11 +102,11 @@ if (workbox)
},
{
"url": "plugins/cConf-1-4-8.js",
"revision": "af11c975889afc094500e326f737e7b5"
"revision": "e1b2eb0a04d171920f795b8f4416db26"
},
{
"url": "connect/confluence/connectUtils-1-4-8.js",
"revision": "264382652fe65fde4f87e89788c1fc0d"
"revision": "4b5bd65474e55d4039795d7482b097fb"
},
{
"url": "connect/new_common/cac.js",
@ -178,231 +178,231 @@ if (workbox)
},
{
"url": "resources/dia.txt",
"revision": "386be79b74aef5d8f0b668deeaea656c"
"revision": "e0175311bb693b739bc99d63deb7b360"
},
{
"url": "resources/dia_am.txt",
"revision": "2b5464d2f4e6e4a569acb5ecd9b8440c"
"revision": "9353ed59550573638ec68a582730e8b9"
},
{
"url": "resources/dia_ar.txt",
"revision": "69c8f83c3949da7875c6e8700953d417"
"revision": "ae7f29c1bf75315ee36ac64352f394ce"
},
{
"url": "resources/dia_bg.txt",
"revision": "e9e5efef2d071e29ce3818c8fa21f55d"
"revision": "e838aeae6492f1c80c45a354401d51a1"
},
{
"url": "resources/dia_bn.txt",
"revision": "85432e2267738a8b68939c56dea07fd7"
"revision": "a968688e374257e428bbf0eb2066d819"
},
{
"url": "resources/dia_bs.txt",
"revision": "8ca0f69fa75de2ddc7072de492530c97"
"revision": "e70ffce566a81ddbe9af142d98f57502"
},
{
"url": "resources/dia_ca.txt",
"revision": "dae561ae5bd3446da462caea8eada434"
"revision": "8e7c2ea41a33c4e26f3d1fc96cd60222"
},
{
"url": "resources/dia_cs.txt",
"revision": "a7857661e314b0dec2b43fb303113c62"
"revision": "b29464a189505bcb2a1138c793da1fe6"
},
{
"url": "resources/dia_da.txt",
"revision": "22bcc130aecf20467dd8ef1b649ab5a0"
"revision": "1e055903a7ea972924b66bf5b07b0113"
},
{
"url": "resources/dia_de.txt",
"revision": "22bfa35b4b1e95ab6a7e2572b0e9e65e"
"revision": "a701645ee31d93bd67b023346bcfe0a4"
},
{
"url": "resources/dia_el.txt",
"revision": "cdd2f507bf6d8c1c3dc3e504459c70f0"
"revision": "21d75ea4bbc189f87057198cb037e2c2"
},
{
"url": "resources/dia_eo.txt",
"revision": "feab7c944440bfb2845b55bc07c63d62"
"revision": "846c69462fee665bd77d530b6e50bde2"
},
{
"url": "resources/dia_es.txt",
"revision": "c134de673ab4b3fbd20d5ccea03ff9da"
"revision": "d23006154ccfcfee8bf5f310cb38a3f8"
},
{
"url": "resources/dia_et.txt",
"revision": "56a735c7e6cf1d046b9ebade95ef7eb0"
"revision": "b2788465887f31ca97750fe2d020cfd4"
},
{
"url": "resources/dia_eu.txt",
"revision": "ad9682a81090bf770b48a3295683a343"
"revision": "e121fa181a48a700382242a47cbf310a"
},
{
"url": "resources/dia_fa.txt",
"revision": "53a45d5703acb5a9b6a38510815d4bc1"
"revision": "2ab3d2234a0eb8c310f030b2f4ea1065"
},
{
"url": "resources/dia_fi.txt",
"revision": "c5e87468c0e998c5de9a67dd3213436e"
"revision": "5e5e5d967c83be7271729d7c6ffd0a74"
},
{
"url": "resources/dia_fil.txt",
"revision": "5f1d9402cbfbc06d050960fcc6301eaa"
"revision": "9ccc54c1947cd19e4a9a4a3ca90c186f"
},
{
"url": "resources/dia_fr.txt",
"revision": "756ae86d14a23788294c09b972cfa675"
"revision": "b0c1d93696b79c8814100ef245fd81e9"
},
{
"url": "resources/dia_gl.txt",
"revision": "c5d9816438bb82c38d2595ac7e40b095"
"revision": "f4f9896fdda1164c2848e45e6acd5e2e"
},
{
"url": "resources/dia_gu.txt",
"revision": "34db49ee4ab0dcb7bb9c6c043e0d18c1"
"revision": "67aff8a3b63bb9109ef43af987e4b76a"
},
{
"url": "resources/dia_he.txt",
"revision": "9e265c5e4d3a7d42a584e206c0c2cca2"
"revision": "964f909fe0a71ab4ec5d9d2a7b20bb91"
},
{
"url": "resources/dia_hi.txt",
"revision": "51717c8a95eace9f611bd3fc70122e16"
"revision": "738f32b2c4e22f990476a55d2254df21"
},
{
"url": "resources/dia_hr.txt",
"revision": "0711003ea6f35aae2c638de277cacbab"
"revision": "3e7308102e6ff9f62240d4cebcb3afe3"
},
{
"url": "resources/dia_hu.txt",
"revision": "3ef99d23795d761fa6cbfef74659da81"
"revision": "3cf1f983e44ef3408775df31ffcee1e8"
},
{
"url": "resources/dia_id.txt",
"revision": "fa63591be0cf614dc6b047eb5ccb0133"
"revision": "7e9e13c9d60a348123722a6f4630616a"
},
{
"url": "resources/dia_it.txt",
"revision": "21e0351dd3f6f3b25883ec5b1ad2eb50"
"revision": "b3dac9c74ff5ac24ecbaee45dc48902a"
},
{
"url": "resources/dia_ja.txt",
"revision": "43c0e434736a436a0e3974de8d09b80e"
"revision": "7dd6b8acb2171541cb49ec87fe501780"
},
{
"url": "resources/dia_kn.txt",
"revision": "f13dcd95b4986924e0418ee695154e5f"
"revision": "471d8633b37d452715961777c6144f5c"
},
{
"url": "resources/dia_ko.txt",
"revision": "313ff96c434821506a266f94d1b85311"
"revision": "65bb0f2cf66c0bcdfa7481f628b74980"
},
{
"url": "resources/dia_lt.txt",
"revision": "7849bcc2585c4e798989eef30ae7f2f4"
"revision": "9e6e26f8a4761e5563d49813f8c838f7"
},
{
"url": "resources/dia_lv.txt",
"revision": "417492d0580eb7bc1aabfbeb34106c4c"
"revision": "08691334abcf40a27fec31d3b79634ed"
},
{
"url": "resources/dia_ml.txt",
"revision": "77bde58c0f6cd3f91d6f82383f1591ad"
"revision": "f5907a0ec8807ec1de67d5f57e7496d7"
},
{
"url": "resources/dia_mr.txt",
"revision": "bf28066880270b6f35771dfc7d4fc1f5"
"revision": "ce165e37d8cec836dcae5cb03e46843c"
},
{
"url": "resources/dia_ms.txt",
"revision": "51a15d119e1f4f7be10436419ecf78dc"
"revision": "f6ad04579aaf7bf1cd1f70efdf8a9c88"
},
{
"url": "resources/dia_my.txt",
"revision": "386be79b74aef5d8f0b668deeaea656c"
"revision": "e0175311bb693b739bc99d63deb7b360"
},
{
"url": "resources/dia_nl.txt",
"revision": "4f79af72ba5f88b9c9f8ddc57aaa49a4"
"revision": "e9f117eecea40078ec3f8612fab6090d"
},
{
"url": "resources/dia_no.txt",
"revision": "3a4331b4198b7c17854373c598a01619"
"revision": "96c92bef390786cd32b6ca1b4510716e"
},
{
"url": "resources/dia_pl.txt",
"revision": "c859bf4e295e3def8dc80f304e7aa47d"
"revision": "0d48ee7e1394639b32988d8dd3c0514b"
},
{
"url": "resources/dia_pt-br.txt",
"revision": "8ff8f948182572637f9104b2ef566038"
"revision": "cb2a3e2d5e6fa2791995ea46863d1bbc"
},
{
"url": "resources/dia_pt.txt",
"revision": "a25ac3afe6ca5c9d1c02e1c40375b2ca"
"revision": "c4febac4c9297849cc592968ef5f9828"
},
{
"url": "resources/dia_ro.txt",
"revision": "75755bc36dea57a75cb37f04559a41af"
"revision": "46eb6401f7d345c3be0a8c8bcce6c1f4"
},
{
"url": "resources/dia_ru.txt",
"revision": "9a0a2ee6b1cacf31aa068f79bb0385b2"
"revision": "d561af21bf76c2e6a42a18f5ef939f13"
},
{
"url": "resources/dia_si.txt",
"revision": "386be79b74aef5d8f0b668deeaea656c"
"revision": "e0175311bb693b739bc99d63deb7b360"
},
{
"url": "resources/dia_sk.txt",
"revision": "c153193c1875eb1636d4d21e2b2af417"
"revision": "fb2c9a13676e5bdf6c55a8a5eb70d428"
},
{
"url": "resources/dia_sl.txt",
"revision": "5c7747a91cad6b2f0d5ef4759e1f0e77"
"revision": "86abe9ccf10298f660a5c8a2d7b194b8"
},
{
"url": "resources/dia_sr.txt",
"revision": "6a6e0183da4dc609a2121df60419826d"
"revision": "ea4f9186846264b07546f31fef5127bf"
},
{
"url": "resources/dia_sv.txt",
"revision": "f9abd6fbf843fc5725e8d4fef532bd54"
"revision": "64f9d5c4264d6ff4926a37f7077ab4f8"
},
{
"url": "resources/dia_sw.txt",
"revision": "2e3b422b24a3d0e3c67ae46431cce485"
"revision": "1032e0eb9c1bd745b8e232e8d7134d61"
},
{
"url": "resources/dia_ta.txt",
"revision": "b0d218bfe8e7c1750ddb9630d3029d44"
"revision": "07723ab2d850e03a572c85a0199957e4"
},
{
"url": "resources/dia_te.txt",
"revision": "4efc90b2045e67ccedaf1f946a5cc135"
"revision": "c50b0cea0a1006086c7c00a774d45ca9"
},
{
"url": "resources/dia_th.txt",
"revision": "ae3739e23eb90ed930a137190532e956"
"revision": "093bff7ccc70e5452af08226d9f9c814"
},
{
"url": "resources/dia_tr.txt",
"revision": "0ed8aa6a2c1fb0912ea6a4ab66c8d6e8"
"revision": "4303d7b045bae83222ab97df97b6f925"
},
{
"url": "resources/dia_uk.txt",
"revision": "97bf2f2060ccaf7e99baa24777a94c64"
"revision": "cf5ba20187d494ce343294a3b1f10ce9"
},
{
"url": "resources/dia_vi.txt",
"revision": "3581e18fd23a04dddb4517946e02f897"
"revision": "3eedba14f9cfbb9b999f9fba55bae623"
},
{
"url": "resources/dia_zh-tw.txt",
"revision": "f4fe2ca9aaf3c3a000092b1393c6bedc"
"revision": "296db4f5277d9ae507910dcd9d4524f0"
},
{
"url": "resources/dia_zh.txt",
"revision": "19df0d82085d51cd0b6af99b206e35d4"
"revision": "114b46f7836b00bb6483df5639e66137"
},
{
"url": "favicon.ico",