Lines Matching +full:lpx +full:- +full:g
6 /* Generated from Java with JSweet 2.0.0-rc1 - http://www.jsweet.org */
22 this.RESPONSE_HEADER = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><mxfile>";
159 regExp: /\&(?!amp;|lt;|gt;|quot;|#)/g,
223 if (index121 < array122.length - 1)
251 //console.log("File processed in " + (dateAfter - dateBefore) + "ms");
269 … //console.log(processedFiles + " File extracted in " + (dateAfter - dateBefore) + "ms");
304 //console.log(" (loaded in " + (dateAfter - dateBefore) + "ms)");
311 … if (name.indexOf('.xml') == nameLen - 4 || name.indexOf('.rels') == nameLen - 5) //xml files
317 //UTF-8 BOM causes exception while parsing, so remove it
318 //TODO is the text encoding will be correct or string must be re-read as UTF-8?
344 … //TODO add any other non-standard encoding that may be needed
361 …tring) { var pos = str.length - searchString.length; var lastIndex = str.indexOf(searchString, pos…
423 …tring) { var pos = str.length - searchString.length; var lastIndex = str.indexOf(searchString, pos…
447 …tring) { var pos = str.length - searchString.length; var lastIndex = str.indexOf(searchString, pos…
503 node.setAttribute("style", "default-style2");
511 … output += '<diagram name="' + pageName_1 + '" id="' + pageName_1.replace(/\s/g, '_') + '">';
561 if (lastSlash !== -1) {
615 * In .vdx, the Y-coordinate grows upward from the bottom of the page.<br/>
617 * this formula: mxGraph_Y_Coord = PageHeight - VSDX_Y_Coord.
777 if (index < toCropImgs.length - 1)
808 var offsetX = (-imgInfo.imgOffsetX) * scaleX;
809 … var offsetY = (imgInfo.imgHeight - imgInfo.height + imgInfo.imgOffsetY) * scaleY;
855 * This method doesn't import sub-shapes of 'shape'.
947 * The sub-shapes of a complex shape are processed like part of the shape.
1075 var x = pt.x - cx;
1076 var y = pt.y - cy;
1077 var x1 = x * cos - y * sin;
1234 else if (source.style && source.style.indexOf(';rotation=') == -1)
1240 (absBeginXY.x + beginXY.x - absOriginFrom.x)
1242 (absBeginXY.y + beginXY.y - absOriginFrom.y)
1265 else if (target.style && target.style.indexOf(';rotation=') == -1)
1271 (absEndXY.x + endXY.x - absOriginTo.x)
1273 (absEndXY.y + endXY.y - absOriginTo.y)
1294 geo.offset = (new mxPoint(-geo.width / 2, -geo.height / 2));
1410 geo.offset = (new mxPoint(-geo.width / 2, -geo.height / 2));
1453 if (pos > -1) {
1497 //Check for -ve width/height cells and correct it
1505 geo.y -= geo.height;
1512 geo.x -= geo.width;
1523 …_FILLCOLOR + "=none") != -1) && (style.indexOf(mxConstants.STYLE_STROKECOLOR + "=none") != -1) && …
1765 geo.x -= minX;
1766 geo.y -= minY;
1783 return {width: maxX - minX, height: maxY - minY}
1788 p.x = (p.x - srcP.x);
1789 p.y = (p.y - srcP.y);
1966 parentObj = pRows[index - 1];
2220 … * See https://msdn.microsoft.com/en-us/library/office/ff768299%28v=office.14%29.aspx
2237 this.sourceToPart = -1;
2245 this.targetToPart = -1;
2249 … this.fromSheet = (fromSheet != null && !(fromSheet.length === 0)) ? parseFloat(fromSheet) : -1;
2262 … this.sourceToSheet = (toSheet != null && !(toSheet.length === 0)) ? parseFloat(toSheet) : -1;
2271 … this.targetToSheet = (toSheet != null && !(toSheet.length === 0)) ? parseFloat(toSheet) : -1;
2275 … this.sourceToSheet = (toSheet != null && !(toSheet.length === 0)) ? parseFloat(toSheet) : -1;
2279 … this.targetToSheet = (toSheet != null && !(toSheet.length === 0)) ? parseFloat(toSheet) : -1;
2286 …ar toPart = (toPartString != null && !(toPartString.length === 0)) ? parseFloat(toPartString) : -1;
2629 /* set */ (this.rows[row.getIndex() - 1] = row);
2711 return r1i - r2i;
2804 var x1 = pt.x * cos - pt.y * sin;
2840 … rotation = (function (x) { return x * Math.PI / 180; })(360 - rotation);
2843 … x = (p.x - offsetX) * com.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$();
2845 … y = ((p.y - offsetY) * com.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$()) * -1;
2864 var lastGeoStyle = -1;
2878 //https://stackoverflow.com/questions/56275231/do-all-svg-paths-have-to-start-with-a-move
2904 if (lastGeoStyle === -1) {
2967 return g1.getIndex() - g2.getIndex();
3025 …tring) { var pos = str.length - searchString.length; var lastIndex = str.indexOf(searchString, pos…
3193 * files are held to enable round-tripping
3625 …var previousConnect = (fromSheet != null && fromSheet > -1) ? (function (m, k) { if (m.entries == …
3669 …tring) { var pos = str.length - searchString.length; var lastIndex = str.indexOf(searchString, pos…
3671 …tring) { var pos = str.length - searchString.length; var lastIndex = str.indexOf(searchString, pos…
3684 if (index !== -1) {
3725 //Some files has non-existing master sub-shapes
3900 /*private*/ this.themeIndex = -1;
4449 clrIndex = styleColor - 200;
4452 clrIndex = styleColor - 100;
4480 … fillStyle = this.fillStyles[quickStyleVals.getQuickStyleFillMatrix() - 1];
4488 var index = quickStyleVals.getQuickStyleFillMatrix() - 100;
4489 … fillStyle = this.fillStyles[this.variantFillIdx[this.themeVariant][index] - 1];
4511 …e https://visualsignals.typepad.co.uk/vislog/2013/05/visio-2013-themes-in-the-shapesheet-part-2.ht…
4520 if (Math.abs(bkgHSLClr.getLum() - fillHSLClr.getLum()) >= 0.1666)
4528 …else if (Math.abs(bkgHSLClr.getLum() - lineHSLClr.getLum()) > Math.abs(bkgHSLClr.getLum() - fillHS…
4555 lineStyle = lineStyles[quickStyleLineMatrix - 1];
4561 var index = quickStyleLineMatrix - 100;
4563 … lineStyle = this.lineStyles[this.variantLineIdx[this.themeVariant][index] - 1];
4610 …e https://visualsignals.typepad.co.uk/vislog/2013/05/visio-2013-themes-in-the-shapesheet-part-2.ht…
4618 if (Math.abs(bkgHSLClr.getLum() - lineHSLClr.getLum()) >= 0.1666)
4626 …else if (Math.abs(bkgHSLClr.getLum() - fillHSLClr.getLum()) > Math.abs(bkgHSLClr.getLum() - lineHS…
4737 … fontColor = fontColors[quickStyleVals.getQuickStyleFontMatrix() - 1];
4745 var index = quickStyleVals.getQuickStyleFontMatrix() - 100;
4750 … fontColor = fontColors[this.variantFontIdx[this.themeVariant][index] - 1];
4763 …e https://visualsignals.typepad.co.uk/vislog/2013/05/visio-2013-themes-in-the-shapesheet-part-2.ht…
4773 if (Math.abs(bkgHSLClr.getLum() - txtHSLClr.getLum()) >= 0.1666)
4783 var lineDiff = Math.abs(bkgHSLClr.getLum() - lineHSLClr.getLum());
4784 var fillDiff = Math.abs(bkgHSLClr.getLum() - fillHSLClr.getLum());
4785 var txtDiff = Math.abs(bkgHSLClr.getLum() - txtHSLClr.getLum());
5009 * Converts the ampersand, quote, prime, less-than and greater-than
5017 …g'), "&").replace(new RegExp("\"", 'g'), """).replace(new RegExp("\'", 'g'), "′").r…
5061 … ret += "<font style=\"font-size:" + parseFloat(size) / 1.28 + "px\">" + s + "</font>";
5097 return (p1x - p3x) * (p2y - p3y) - (p2x - p3x) * (p1y - p3y);
5316 Color.NONE = new Color(-1, -1, -1); return Color.NONE; };
5338 var g = this.getGreen() / 255.0;
5340 var max = Math.max(r, Math.max(g, b));
5341 var min = Math.min(r, Math.min(g, b));
5349 var d = max - min;
5350 s = l > 0.5 ? d / (2 - max - min) : d / (max + min);
5352 h = (g - b) / d + (g < b ? 6 : 0);
5354 else if (max === g) {
5355 h = (b - r) / d + 2;
5358 h = (r - g) / d + 4;
5366 var g = this.getGreen() / 255.0;
5368 var max = Math.max(r, Math.max(g, b));
5369 var min = Math.min(r, Math.min(g, b));
5373 var d = max - min;
5380 h = (g - b) / d + (g < b ? 6 : 0);
5382 else if (max === g) {
5383 h = (b - r) / d + 2;
5386 h = (r - g) / d + 4;
5399 var g = this.green.toString(16);
5400 g = g.length == 1 ? '0' + g : g;
5404 return "#" + r + g + b;
5481 …oxmlColor(com.mxgraph.io.vsdx.mxVsdxUtils.getDirectFirstChildElement(/* get */ gs[gs.length - 1]));
5549 t -= 1;
5551 return p + (q - p) * 6 * t;
5555 return p + (q - p) * (2 / 3.0 - t) * 6;
5560 var g;
5566 r = g = b = l;
5569 var q = l < 0.5 ? l * (1 + s) : l + s - l * s;
5570 var p = 2 * l - q;
5572 g = this.hue2rgb(p, q, h);
5573 b = this.hue2rgb(p, q, h - 1 / 3.0);
5575 … return new com.mxgraph.io.vsdx.theme.Color(((r * 255) | 0), ((g * 255) | 0), ((b * 255) | 0));
5632 var f = h - i;
5633 var p = this.v * (1 - s);
5634 var q = this.v * (1 - f * s);
5635 var t = this.v * (1 - (1 - f) * s);
5641 var g = gArr[mod];
5643 … return new com.mxgraph.io.vsdx.theme.Color(((r * 255) | 0), ((g * 255) | 0), ((b * 255) | 0));
6145 return this.getColor$int$com_mxgraph_io_vsdx_mxVsdxTheme(-1, theme);
6285 …t(element.getAttribute("r")), /* parseInt */ parseInt(element.getAttribute("g")), /* parseInt */ p…
6521 var x = pt.x - c.x;
6522 var y = pt.y - c.y;
6523 var x1 = x * cos - y * sin;
6538 var x = geo.getCenterX() - cx;
6539 var y = geo.getCenterY() - cy;
6540 var x1 = x * cos - y * sin;
6542 geo.x = (Math.round(x1 + cx - geo.width / 2));
6543 geo.y = (Math.round(y1 + cy - geo.height / 2));
6550 Utils.CHARSET_FOR_URL_ENCODING = "ISO-8859-1";
6586 y = h - y;
6588 var dx = Math.abs(x - x0);
6589 var dy = Math.abs(y - y0);
6608 … + "\" y=\"" + new String(y).toString() + "\" x-axis-rotation=\"0\" large-arc-flag=\"" + laf + "\"…
6684 y = h - y;
6687 b = h - b;
6690 d = h - d;
6691 var dx1 = Math.abs(a - x);
6692 var dy1 = Math.abs(b - y);
6694 var dx2 = Math.abs(c - x);
6695 var dy2 = Math.abs(d - y);
6703 var newX1 = Math.round((newX - 2 * newW) * 100.0) / 100.0;
6706 …-axis-rotation=\"0\" large-arc-flag=\"1\" sweep-flag=\"0\"/><arc rx=\"" + new String(newW).toStrin…
6750 y = h - y;
6762 var y3 = h - b;
6763 var ang = -c;
6764 … var p1x = Math.sqrt(x1 * x1 + y1 * y1) * Math.cos(Math.atan2(y1, x1) - ang);
6765 … var p1y = Math.sqrt(x1 * x1 + y1 * y1) * Math.sin(Math.atan2(y1, x1) - ang);
6766 … var p2x = Math.sqrt(x2 * x2 + y2 * y2) * Math.cos(Math.atan2(y2, x2) - ang);
6767 … var p2y = Math.sqrt(x2 * x2 + y2 * y2) * Math.sin(Math.atan2(y2, x2) - ang);
6768 … var p3x = Math.sqrt(x3 * x3 + y3 * y3) * Math.cos(Math.atan2(y3, x3) - ang);
6769 … var p3y = Math.sqrt(x3 * x3 + y3 * y3) * Math.sin(Math.atan2(y3, x3) - ang);
6770 …- p2x) * (p1x + p2x) * (p2y - p3y) - (p2x - p3x) * (p2x + p3x) * (p1y - p2y) + d * d * (p1y - p2y)…
6771 …- p2x) * (p2x - p3x) * (p1x - p3x) / (d * d) + (p2x - p3x) * (p1y - p2y) * (p1y + p2y) - (p1x - p2…
6776 var dx = p1x - p0x;
6777 var dy = p1y - p0y;
6788 var sweep = (x2 - x1) * (y3 - y1) - (y2 - y1) * (x3 - x1);
6797 …ew String(y).toString() + "\" x-axis-rotation=\"" + new String(rot).toString() + "\" large-arc-fla…
6813 x1 = x1 - x0;
6814 y1 = y1 - y0;
6815 x2 = x2 - x0;
6816 y2 = y2 - y0;
6817 x2 = x3 - x0;
6818 y3 = y3 - y0;
6821 …var aStart = (function (x) { return x * 180 / Math.PI; })(Math.atan2(y1, x1) - Math.atan2(y0, x0));
6822 … var aEnd = (function (x) { return x * 180 / Math.PI; })(Math.atan2(y2, x2) - Math.atan2(y0, x0));
6823 … var aCP = (function (x) { return x * 180 / Math.PI; })(Math.atan2(y3, x3) - Math.atan2(y0, x0));
6824 aStart = (aStart - aCP) % 360;
6825 aEnd = (aEnd - aCP) % 360;
6827 aStart = aStart - 360;
6829 else if (aStart < -180) {
6833 aEnd = aEnd - 360;
6835 else if (aEnd < -180) {
6839 if (Math.abs(aStart - aEnd) > 180) {
6920 y = 100 - y;
6969 y = 100 - y;
7031 y = 100 - y;
7045 for (var i = 0; i < nurbsize - 1; i = i + 3) {
7048 if (i < nurbsize - 2) {
7092 … /* add */ (this.nurbsValues.push(100 - parseFloat(/* get */ n[i]) * 100.0));
7114 … var k = Math.round(this.getKnot((this.getSize() - 2)) * 10.0) / 10.0;
7115 … var k1 = Math.round(this.getKnot((this.getSize() - 1)) * 10.0) / 10.0;
7126 return (((this.nurbsValues.length / 4 | 0)) - 1);
7153 * @return {number} the i-th X coordinate
7160 * @return {number} the i-th Y coordinate
7167 * @return {number} the i-th knot
7174 * @return {number} the i-th weight
7221 y = 100 - y;
7224 …A.replace(new RegExp("\\s", 'g'), "").toLowerCase().replace(new RegExp("polyline\\(", 'g'), "").re…
7247 currY = 100 - currY;
7299 var y = 100 - this.y * 100;
7301 var y1 = 100 - this.b * 100.0;
7303 var y2 = 100 - this.d * 100.0;
7350 y = 100 - this.y * 100;
7394 y = 100 - this.y * 100;
7441 var y = 100 - this.y * 100;
7443 var y1 = 100 - this.b * 100.0;
7491 y = 100 - y;
7545 y = 100 - y;
7595 this.Id = (Id != null && !(Id.length === 0)) ? parseFloat(Id) : -1;
7598 this.Id = -1;
7957 … else if (form.indexOf("THEMEVAL()") != -1 && (function (o1, o2) { if (o1 && o1.equals) {
8128 …—for example, RGB(255,127,255)+1. The value of a custom color is its RGB color, and RGB(r, g, b)+1,
8153 … return this.pm.getColor(/* valueOf */ new String(/* parseInt */ parseInt(color) - 1).toString());
8721 function ScrgbClr(r, g, b) { argument
8724 _this.g = 0;
8727 _this.g = g;
8729 _this.color = new com.mxgraph.io.vsdx.theme.Color(r, g, b);
8896 _this.lastKnot = -1;
9109 …tring) { var pos = str.length - searchString.length; var lastIndex = str.indexOf(searchString, pos…
9121 …tring) { var pos = str.length - searchString.length; var lastIndex = str.indexOf(searchString, pos…
9240 … format = format.replace(/am\/pm/g, 'tt').replace(/m/g, '@').replace(/M/g, 'm').replace(/@/g, 'M');
9243 …ototype.formatDate(date, /* replaceAll */ 'UTC:' + format.replace(new RegExp("\\{|\\}", 'g'), ""));
9341 … ul = '<ul style="margin: 0;list-style-type: ' + (bullet == '4'? 'square' : 'disc') + '">';
9358 /* put */ (styleMap["margin-left"] = this.getIndentLeft(this.pp));
9359 /* put */ (styleMap["margin-right"] = this.getIndentRight(this.pp));
9360 /* put */ (styleMap["margin-top"] = this.getSpBefore(this.pp) + "px");
9361 /* put */ (styleMap["margin-bottom"] = this.getSpAfter(this.pp) + "px");
9362 /* put */ (styleMap["text-indent"] = this.getIndentFirst(this.pp));
9377 var size = "font-size:" + (parseFloat(this.getTextSize(this.cp))) + "px;";
9378 var font = "font-family:" + this.getTextFont(this.cp) + ";";
9380 … var space = "letter-spacing:" + (parseFloat(this.getLetterSpace(this.cp)) / 0.71) + "px;";
9381 var lineHeight = "line-height:" + this.getSpcLine(this.pp);
9428 * default style-sheet.
9455 * default style-sheet.
9481 * default style-sheet.
9496 if (text.indexOf(">") != -1) {
9666 var tmp = 1.0 - parseFloat(trans);
9734 Shape.VSDX_START_TIME = new Date('1899-12-30T00:00:00Z').getTime();
9814 if (index !== -1) {
9826 var themeIndex = page.getCellIntValue("ThemeIndex", -100);
9827 if (themeIndex === -100) {
10351 if (!entries[entries.length - 1])
10361 …ext = text.replace(new RegExp('\n', 'g'), '<br/>').replace(new RegExp(com.mxgraph.io.vsdx.Shape.UN…
10400 … //TODO closing li is wrongly placed after font (and other tags (e.g, b, i))
10454 //TODO closing li is wrongly placed after font (and other tags (e.g, b, i))
10497 })(nameU, "Flexi-arrow 2") || (function (str, searchString, position) {
10500 })(nameU, "Flexi-arrow 1") || (function (str, searchString, position) {
10503 })(nameU, "Flexi-arrow 3") || (function (str, searchString, position) {
10506 })(nameU, "Double flexi-arrow") || (function (str, searchString, position) {
10529 var lpx = this.getLocPinX();
10532 var x = px - lpx;
10533 var y = parentHeight - ((py) + (h - lpy));
10534 if (rotation && (lpy !== h / 2 || lpx !== w / 2)) {
10536 var vecX = w / 2 - lpx;
10537 var vecY = lpy - h / 2;
10538 … cos = Math.cos(/* toRadians */ (function (x) { return x * Math.PI / 180; })(360 - this.rotation));
10539 … sin = Math.sin(/* toRadians */ (function (x) { return x * Math.PI / 180; })(360 - this.rotation));
10540 … return new mxPoint(x + vecX - (vecX * cos - vecY * sin), (vecX * sin + vecY * cos) + y - vecY);
10597 opacity = 100 - opacity * 100;
10619 …olor = this.getColor(fillGradient.getIndexedCell(/* get */ rows[rows.length - 1].getAttribute("IX"…
10691 return 360 - rotation;
10709 topMargin = (topMargin / 2 - 2.8) * 100 / 100;
10719 bottomMargin = (bottomMargin / 2 - 2.8) * 100 / 100;
10729 leftMargin = (leftMargin / 2 - 2.8) * 100 / 100;
10739 rightMargin = (rightMargin / 2 - 2.8) * 100 / 100;
10752 angle = angle - rotation;
11286 var yS = "-0.4";
11321 yS = "-0.4";
11323 if (yS.indexOf("txtHeight") != -1) {
11324 yS = "-0.4";
11352 var yFinal = h - h * y - tH / 2;
11367 var yS = "-0.4";
11402 yS = "-0.4";
11404 if (yS.indexOf("txtHeight") != -1) {
11405 yS = "-0.4";
11411 var yFinal = h - h * y;
11519 … } })(name, "Off-page reference") || (function (o1, o2) { if (o1 && o1.equals) {
11588 * Checks if a shape may to be imported like a Sub-process.
11591 * Sub-process.
11764 …var startY = Math.floor(Math.round((parentHeight - this.getScreenNumericalValue$org_w3c_dom_Elemen…
11774 …var endY = Math.floor(Math.round((parentHeight - this.getScreenNumericalValue$org_w3c_dom_Element$…
11807 f = f.replace(new RegExp("NURBS\\(", 'g'), "");
11808 f = f.replace(new RegExp("\\)", 'g'), "");
11809 f = f.replace(new RegExp(",", 'g'), " ");
11810 f = f.replace(new RegExp("\\s\\s", 'g'), " ");
11812 var pointsRaw = (function (s) { var a = []; while (s-- > 0)
11822 var width = Math.abs(endXY.x - startXY.x);
11828 … currPoint.y = (Math.floor(Math.round((startXY.y - heightFixed * rawY) * 100) / 100));
12033 * @return {mxCell} label sub-shape
12066 … var labRot = 360 - (function (x) { return x * 180 / Math.PI; })(txtAngleV);
12073 var y = parent.getGeometry().height - (txtPinYV + txtHV - txtLocPinYV);
12074 var x = txtPinXV - txtLocPinXV;
12100 var pe = points[points.length - 1];
12107 …var y = (this.getHeight() - (p0.y - pe.y)) / 2 + p0.y - mxOffset.y - (txtPinYV - txtLocPinYV + txt…
12108 var x = txtPinXV - txtLocPinXV + txtWV / 2 + (p0.x - mxOffset.x);
12110 … // <Cell N='TxtPinX' V='-1.651384506429589E199' F='SETATREF(Controls.TextPosition)'/>
12131 * Number of d.p. to round non-integers to
12153 … * on small arrays (10 - 1000 bytes) and 2-3 times as fast on larger arrays (10000 - 1000000 bytes)
12164 …* as large as algorithms that create a temporary array. (E.g. Jakarta Commons Codec). It is unknown
12214 * Date: 2004-aug-02
12229 mxBase64.IA = (function (s) { var a = []; while (s-- > 0)
12234 a[i] = v; })(mxBase64.IA_$LI$(), -1);
12248 var sLen = sArr != null ? sArr.length - start : 0;
12252 var cCnt = (((sLen - 1) / 3 | 0) + 1) << 2;
12253 var dLen = cCnt + (lineSep ? ((cCnt - 1) / 76 | 0) << 1 : 0);
12261 if (lineSep && ++cc === 19 && d < dLen - 2) {
12268 var left = sLen - eLen;
12270 … i = ((sArr[eLen + start] & 255) << 10) | (left === 2 ? ((sArr[sLen + start - 1] & 255) << 2) : 0);
12271 dArr[dLen - 4] = mxBase64.CA_$LI$()[i >> 12];
12272 dArr[dLen - 3] = mxBase64.CA_$LI$()[(i >>> 6) & 63];
12273 dArr[dLen - 2] = left === 2 ? mxBase64.CA_$LI$()[i & 63] : '=';
12274 dArr[dLen - 1] = '=';
12287 if ((sLen - sepCnt) % 4 !== 0)
12290 for (var i = sLen; i > 1 && mxBase64.IA_$LI$()[(sArr[--i]).charCodeAt(0)] <= 0;)
12294 var len = ((sLen - sepCnt) * 6 >> 3) - pad;
12295 var dArr = (function (s) { var a = []; while (s-- > 0)
12302 i |= c << (18 - j * 6);
12304 j--;
12342 var eIx = sLen - 1;
12346 eIx--;
12347 …nction (c) { return c.charCodeAt == null ? c : c.charCodeAt(0); })(sArr[eIx - 1]) == '='.charCodeA…
12348 var cCnt = eIx - sIx + 1;
12350 var len = ((cCnt - sepCnt) * 6 >> 3) - pad;
12351 var dArr = (function (s) { var a = []; while (s-- > 0)
12367 for (var j = 0; sIx <= eIx - pad; j++)
12368 i |= mxBase64.IA_$LI$()[(sArr[sIx++]).charCodeAt(0)] << (18 - j * 6);
12369 for (var r = 16; d < len; r -= 8)
12410 var cCnt = (((sLen - 1) / 3 | 0) + 1) << 2;
12411 var dLen = cCnt + (lineSep ? ((cCnt - 1) / 76 | 0) << 1 : 0);
12412 var dArr = (function (s) { var a = []; while (s-- > 0)
12420 if (lineSep && ++cc === 19 && d < dLen - 2) {
12427 var left = sLen - eLen;
12429 … var i = ((sArr[eLen] & 255) << 10) | (left === 2 ? ((sArr[sLen - 1] & 255) << 2) : 0);
12430 dArr[dLen - 4] = (mxBase64.CA_$LI$()[i >> 12]).charCodeAt(0);
12431 dArr[dLen - 3] = (mxBase64.CA_$LI$()[(i >>> 6) & 63]).charCodeAt(0);
12432 … dArr[dLen - 2] = left === 2 ? (mxBase64.CA_$LI$()[i & 63]).charCodeAt(0) : ('=').charCodeAt(0);
12433 dArr[dLen - 1] = ('=').charCodeAt(0);
12444 if ((sLen - sepCnt) % 4 !== 0)
12447 for (var i = sLen; i > 1 && mxBase64.IA_$LI$()[sArr[--i] & 255] <= 0;)
12451 var len = ((sLen - sepCnt) * 6 >> 3) - pad;
12452 var dArr = (function (s) { var a = []; while (s-- > 0)
12459 i |= c << (18 - j * 6);
12461 j--;
12479 var eIx = sLen - 1;
12483 eIx--;
12484 … var pad = sArr[eIx] == '='.charCodeAt(0) ? (sArr[eIx - 1] == '='.charCodeAt(0) ? 2 : 1) : 0;
12485 var cCnt = eIx - sIx + 1;
12487 var len = ((cCnt - sepCnt) * 6 >> 3) - pad;
12488 var dArr = (function (s) { var a = []; while (s-- > 0)
12504 for (var j = 0; sIx <= eIx - pad; j++)
12505 i |= mxBase64.IA_$LI$()[sArr[sIx++]] << (18 - j * 6);
12506 for (var r = 16; d < len; r -= 8)
12531 if ((sLen - sepCnt) % 4 !== 0)
12534 … for (var i = sLen; i > 1 && mxBase64.IA_$LI$()[(str.charAt(--i)).charCodeAt(0)] <= 0;)
12538 var len = ((sLen - sepCnt) * 6 >> 3) - pad;
12539 var dArr = (function (s) { var a = []; while (s-- > 0)
12546 i |= c << (18 - j * 6);
12548 j--;
12566 var eIx = sLen - 1;
12570 eIx--;
12571 …on (c) { return c.charCodeAt == null ? c : c.charCodeAt(0); })(s.charAt(eIx - 1)) == '='.charCodeA…
12572 var cCnt = eIx - sIx + 1;
12574 var len = ((cCnt - sepCnt) * 6 >> 3) - pad;
12575 var dArr = (function (s) { var a = []; while (s-- > 0)
12591 for (var j = 0; sIx <= eIx - pad; j++)
12592 … i |= mxBase64.IA_$LI$()[(s.charAt(sIx++)).charCodeAt(0)] << (18 - j * 6);
12593 for (var r = 16; d < len; r -= 8)