UNPKG

@wcardinal/wcardinal-geditor

Version:

WebGL-based graphic editor, tester and viewer for supervisory systems

11 lines 113 kB
/*
 WinterCardinal Graphic Editor v1.4.0
 Copyright (C) TOSHIBA Coorporation
 SPDX-License-Identifier: Apache-2.0

 Material Design icons by Google
 Apache license version 2.0.
*/
!function(t,e){"use strict";var n=function(){function e(){this._button=t.DThemes.get("EShapeButton")}return e.prototype.getLabel=function(){return this._button.getName()},e}(),o=function(t,e){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},o(t,e)};function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}"function"==typeof SuppressedError&&SuppressedError;var i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getCheckIsToggleLabel=function(){return"Toggle"},e.prototype.getCheckIsGroupedLabel=function(){return"Grouped"},e.prototype.getCheckIsActiveLabel=function(){return"Active"},e}(n),a=function(){function t(){}return t.prototype.getName=function(){return"Button"},t.prototype.getLabel=function(){return"Label"},t}(),u=function(){function e(){this._buttonLayer=t.DThemes.get("EShapeButtonLayer")}return e.prototype.getLabel=function(){return this._buttonLayer.getName()},e}(),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(t.DThemes.getClass("DDialogLayered")),p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getButtonNewTitle=function(){return"Create New Column"},e.prototype.getButtonDeleteTitle=function(){return"Delete Selected Column"},e.prototype.getButtonBringForwardTitle=function(){return"Bring Selected Column Forward"},e.prototype.getButtonSendBackwardTitle=function(){return"Send Selected Column Backward"},e.prototype.getInputMarginLabel=function(){return"Margin"},e}(u),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getInputLabelLabel=function(){return"Label"},e.prototype.newInputLabel=function(){return"Label"},e.prototype.getInputWidthLabel=function(){return"Width"},e.prototype.getSelectLayerLabel=function(){return"Layer"},e.prototype.getCheckBringToFromLabel=function(){return"Bring to Front"},e.prototype.getCheckIsGroupedLabel=function(){return"Grouped"},e.prototype.getCheckIsActiveLabel=function(){return"Active"},e}(l),h=function(){function t(){}return t.prototype.getName=function(){return"Layer Button"},t.prototype.getLabel=function(){return"Label"},t}(),c=function(){function e(){this._chartLine=t.DThemes.get("EShapeChartLine")}return e.prototype.getLabel=function(){return this._chartLine.getName()},e}(),f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getCheckXAxisLabel=function(){return"X Axis"},e.prototype.getCheckXAxisMajorTickLabel=function(){return"Major Tick"},e.prototype.getCheckXAxisMinorTickLabel=function(){return"Minor Tick"},e.prototype.getCheckYAxisLabel=function(){return"Y Axis"},e.prototype.getCheckYAxisMajorTickLabel=function(){return"Major Tick"},e.prototype.getCheckYAxisMinorTickLabel=function(){return"Minor Tick"},e.prototype.getTextMajorTickCountLabel=function(){return"Major Tick Count"},e.prototype.getTextMinorTickCountLabel=function(){return"Minor Tick Count"},e.prototype.getTextPaddingLabel=function(){return"Padding"},e}(c),g=function(){function t(){}return t.prototype.getName=function(){return"Line Chart"},t.prototype.newPlotAreaLabel=function(){return"Title"},t.prototype.newXAxisLabel=function(){return"X Axis"},t.prototype.newYAxisLabel=function(){return"Y Axis"},t}(),d=function(){function e(){this._embeddedAcceptorEdge=t.DThemes.get("EShapeEmbeddedAcceptorEdge")}return e.prototype.getLabel=function(){return this._embeddedAcceptorEdge.getName()},e}(),T=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return r(n,e),n.prototype.toSelectSubtypeLabel=function(e){switch(e){case t.EShapeAcceptorEdgeType.HEAD:return"Head";case t.EShapeAcceptorEdgeType.TAIL:return"Tail";case t.EShapeAcceptorEdgeType.ALL:return"All"}},n.prototype.toSelectSideLabel=function(e){switch(e){case t.EShapeAcceptorEdgeSide.LEFT:return"Left";case t.EShapeAcceptorEdgeSide.TOP:return"Top";case t.EShapeAcceptorEdgeSide.RIGHT:return"Right";case t.EShapeAcceptorEdgeSide.BOTTOM:return"Bottom"}return""},n.prototype.getCheckIsVvisibleLabel=function(){return"Visible in Viewers"},n}(d),y=function(){function t(){}return t.prototype.getName=function(){return"Acceptor Edge"},t}(),E=function(){function t(){}return t.prototype.getName=function(){return"Input"},t.prototype.getLabel=function(){return"Text"},t}(),m=function(){function e(){this._table=t.DThemes.get("EShapeTable")}return e.prototype.getLabel=function(){return this._table.getName()},e}(),S=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(t.DThemes.getClass("DDialogLayered")),L=function(){function e(){}return e.ID=t.EShapeType.EXTENSION+100,e.HEADER_ID=t.EShapeType.EXTENSION+101,e.BODY_ID=t.EShapeType.EXTENSION+102,e}(),w=function(){function e(){}return e.toIndices=function(t){for(var e=[],n=0,o=t.length;n<o;++n)e.push(t[n].index);return e},e.toDepth=function(e){for(var n=0,o=e.parent;o instanceof t.EShapeBase;)n+=1,o=o.parent;return n},e.toSharedParent=function(e,n){if(this.toDepth(e)<this.toDepth(n)){for(var o=e.parent;o instanceof t.EShapeBase;){if(this.isParent(n,o))return o;o=o.parent}return o}for(var r=n.parent;r instanceof t.EShapeBase;){if(this.isParent(e,r))return r;r=r.parent}return r},e.toOfParent=function(e,n){for(var o=e.parent;o!==n&&o instanceof t.EShapeBase;)e=o,o=o.parent;return e},e.isParent=function(e,n){for(var o=e.parent;o instanceof t.EShapeBase;){if(o===n)return!0;o=o.parent}return!1},e.toSelected=function(e){for(var n=e;n instanceof t.EShapeBase;){if(n.selected)return n;n=n.parent}return null},e.findChildById=function(t,n,o){for(var r=t.children,i=0,a=r.length;i<a;++i){var u=r[i];if(u.id===n)return u;if(!0===o){var l=e.findChildById(u,n,o);if(null!=l)return l}}return null},e.findChildByType=function(t,n,o){for(var r=t.children,i=0,a=r.length;i<a;++i){var u=r[i];if(u.type===n)return u;if(!0===o){var l=e.findChildByType(u,n,o);if(null!=l)return l}}return null},e.findChild=function(t,n,o){for(var r=t.children,i=0,a=r.length;i<a;++i){var u=r[i];if(n(u))return u;if(!0===o){var l=e.findChild(u,n,o);if(null!=l)return l}}return null},e.findChildrenByType=function(t,n,o,r){r=r||[];for(var i=t.children,a=0,u=i.length;a<u;++a){var l=i[a];l.type===n&&r.push(l),!0===o&&e.findChildrenByType(l,n,o,r)}return r},e.findChildren=function(t,n,o,r){r=r||[];for(var i=t.children,a=0,u=i.length;a<u;++a){var l=i[a];n(l)&&r.push(l),!0===o&&e.findChildren(l,n,o,r)}return r},e.COMPARATOR_INDEX=function(t,e){return t.index-e.index},e}();!function(){function t(t){this.parent=t,this.type=0,this.indices=[],this.body=null}Object.defineProperty(t.prototype,"values",{get:function(){var t=this.indices,e=this.parent.data.values,n=this._values=this._values||[];if(null!=e){n.length=0;for(var o=0,r=t.length;o<r;++o){var i=t[o];0<=i&&i<e.length&&n.push(e[i])}}return n},enumerable:!1,configurable:!0}),t.prototype.size=function(){return this.indices.length},t.prototype.isEmpty=function(){return this.indices.length<=0},t.prototype.toggle=function(t){var e,n=this.indices,o=n.indexOf(t);o<0?(n.push(t),null!=(e=this.getBody())&&this.setRowActive(e,t,!0)):(n.splice(o,1),null!=(e=this.getBody())&&this.setRowActive(e,t,!1))},t.prototype.add=function(t){var e=this.indices;if(e.indexOf(t)<0){e.push(t);var n=this.getBody();null!=n&&this.setRowActive(n,t,!0)}},t.prototype.addTo=function(t){var e=this.indices,n=e[e.length-1];if(n<t)for(var o=this.getBody(),r=n+1;r<=t;++r)e.indexOf(r)<0&&(e.push(r),null!=o&&this.setRowActive(o,r,!0));else if(t<n)for(o=this.getBody(),r=n-1;t<=r;--r)e.indexOf(r)<0&&(e.push(r),null!=o&&this.setRowActive(o,r,!0))},t.prototype.remove=function(t){var e=this.indices,n=e.indexOf(t);if(0<=n){e.splice(n,1);var o=this.getBody();null!=o&&this.setRowActive(o,t,!1)}},t.prototype.clear=function(){var t=this.indices,e=this.getBody();if(null!=e)for(var n=0,o=t.length;n<o;++n)this.setRowActive(e,t[n],!1);t.length=0},t.prototype.clearAndAdd=function(t){var e=this.indices,n=this.getBody();if(null!=n){for(var o=0,r=e.length;o<r;++o){var i=e[o];i!==t&&this.setRowActive(n,i,!1)}this.setRowActive(n,t,!0)}e.length=0,e.push(t)},t.prototype.getBody=function(){var t=this.body;return null!=t?t:this.body=w.findChildByType(this.parent,L.BODY_ID)},t.prototype.getRow=function(t,e){var n=t.children;return 0<=e&&e<n.length?n[e]:null},t.prototype.setRowActive=function(t,e,n){var o=this.getRow(t,e);if(null!=o)for(var r=o.children,i=0,a=r.length;i<a;++i)r[i].state.isActive=n},t.prototype.serialize=function(t){return t.addResource("[".concat(this.type,"]"))},t.prototype.deserialize=function(t,e){var n=e.resources;if(0<=t&&t<n.length){var o=e.getExtension(t);null==o&&(o=JSON.parse(n[t]),e.setExtension(t,o));var r=o[0];this.type!==r&&(this.type=r)}}}();var b=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getButtonNewTitle=function(){return"Create New Column"},e.prototype.getButtonDeleteTitle=function(){return"Delete Selected Column"},e.prototype.getButtonBringForwardTitle=function(){return"Bring Selected Column Forward"},e.prototype.getButtonSendBackwardTitle=function(){return"Send Selected Column Backward"},e.prototype.getInputRowHeightLabel=function(){return"Row Height"},e.prototype.getSelectRowSelectionTypeLabel=function(){return"Row Selection Type"},e.prototype.toSelectRowSelectionTypeLabel=function(t){switch(t){case 0:return"None";case 1:return"Single";case 2:return"Multiple"}},e}(m),v=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return r(n,e),n.prototype.getSelectColumnValueTypeLabel=function(){return"Type"},n.prototype.toSelectColumnValueTypeLabel=function(t){return 1===t?"Number":"Text"},n.prototype.getInputLabelLabel=function(){return"Label"},n.prototype.newInputLabel=function(){return"Label"},n.prototype.getInputWidthLabel=function(){return"Width"},n.prototype.getInputGetterLabel=function(){return"Getter"},n.prototype.getInputSetterLabel=function(){return"Setter"},n.prototype.getInputFormatLabel=function(){return"Format"},n.prototype.getSelectTextAlignLabel=function(){return"Align"},n.prototype.toTextAlignLabel=function(e){switch(e){case t.EShapeTextAlignHorizontal.LEFT:return"Left";case t.EShapeTextAlignHorizontal.RIGHT:return"Right";default:return"Center"}},n}(S),A=function(){function t(){}return t.prototype.getName=function(){return"Table"},t.prototype.getHeaderName=function(){return"Table Header"},t.prototype.newHeaderLabel=function(){return"Label"},t.prototype.getBodyName=function(){return"Table Body"},t}(),D=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getWidth=function(){return this.getHeight()},e}(t.DThemes.getClass("DButtonAmbient")),B=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getImageTintColor=function(e){return e.inDisabled||!e.isActive?this.getColor(e):t.prototype.getImageTintColor.call(this,e)},e.prototype.getWidth=function(){return this.getHeight()},e}(t.DThemes.getClass("DButtonCheck")),C=new t.UtilSvgAtlasBuilder({width:1024,ratio:80/3,mipmap:e.MIPMAP_MODES.OFF});C.add("select",24,24,'<g transform="scale(0.667,0.667) translate(0, 960)" fill="#fff"><path d="M551-80 406-392 240-160v-720l560 440H516l144 309-109 51Z"/></g>'),C.add("camera",24,24,'<g transform="scale(26.667,26.667)"><path fill="#fff" d="M5.54 8.46L2 12l3.54 3.54 1.76-1.77L5.54 12l1.76-1.77zm6.46 10l-1.77-1.76-1.77 1.76L12 22l3.54-3.54-1.77-1.76zm6.46-10l-1.76 1.77L18.46 12l-1.76 1.77 1.76 1.77L22 12zm-10-2.92l1.77 1.76L12 5.54l1.77 1.76 1.77-1.76L12 2z"/></g>'),C.add("new",24,24,'<g transform="scale(26.667,26.667)"><path d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zM6 20V4h7v5h5v11H6z" fill="#fff" /></g>'),C.add("open",24,24,'<g transform="scale(26.667,26.667)"><path d="M9.17 6l2 2H20v10H4V6h5.17M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z" fill="#fff" /></g>'),C.add("save",24,24,'<g transform="scale(26.667,26.667)"><path d="M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7l-4-4zm2 16H5V5h11.17L19 7.83V19zm-7-7c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3zM6 6h9v4H6z" fill="#Fff" /></g>'),C.add("save_as",24,24,'<g transform="scale(26.667,26.667)"><path d="M5 21q-.825 0-1.413-.587Q3 19.825 3 19V5q0-.825.587-1.413Q4.175 3 5 3h12l4 4v5.4l-2 2V7.825L16.175 5H5v14h9.4l-2 2Zm7-3q1.25 0 2.125-.875T15 15q0-1.25-.875-2.125T12 12q-1.25 0-2.125.875T9 15q0 1.25.875 2.125T12 18Zm-6-8h9V6H6Zm9 13v-1.775l5-4.975 1.75 1.775L16.775 23Zm7.4-5.65-1.775-1.75.85-.85q.15-.15.362-.15.213 0 .363.15l1.05 1.05q.15.15.15.35 0 .2-.15.35ZM5 19V5v9.4Z" fill="#fff"/></g>'),C.add("upload",24,24,'<g transform="scale(26.667,26.667)"><path d="M19 12v7H5v-7H3v7c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7h-2z" fill="#fff" /><path d="M19 12m-6 .67l2.59-2.58L17 11.5l-5 5-5-5 1.41-1.41L11 12.67V3h2v9.67z" transform="translate(12,10) rotate(180) translate(-12,-10)" fill="#fff" /></g>'),C.add("download",24,24,'<g transform="scale(26.667,26.667)"><path d="M19 12v7H5v-7H3v7c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7h-2zm-6 .67l2.59-2.58L17 11.5l-5 5-5-5 1.41-1.41L11 12.67V3h2v9.67z" fill="#fff" /></g>'),C.add("undo",24,24,'<g transform="scale(26.667,26.667) translate(+12,+12) rotate(-45) translate(-12,-12)"><path d="M12,5V1L7,6l5,5V7c3.31,0,6,2.69,6,6s-2.69,6-6,6s-6-2.69-6-6H4c0,4.42,3.58,8,8,8s8-3.58,8-8S16.42,5,12,5z" fill="#fff"/></g>'),C.add("redo",24,24,'<g transform="scale(26.667,26.667) translate(+12,+12) rotate(45) scale(-1,1) translate(-12,-12)"><path d="M12,5V1L7,6l5,5V7c3.31,0,6,2.69,6,6s-2.69,6-6,6s-6-2.69-6-6H4c0,4.42,3.58,8,8,8s8-3.58,8-8S16.42,5,12,5z" fill="#fff"/></g>'),C.add("delete",24,24,'<g transform="scale(26.667,26.667)"><path d="M16 9v10H8V9h8m-1.5-6h-5l-1 1H5v2h14V4h-3.5l-1-1zM18 7H6v12c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7z" fill="#fff" /></g>'),C.add("editor_text",24,24,'<g transform="scale(0.667,0.667) translate(0, 960)" fill="#fff"><path d="M420-160v-520H200v-120h560v120H540v520H420Z"/></g>'),C.add("editor_action",24,24,'<g transform="scale(26.667,26.667)"><path d="M18 4H6v2l6.5 6L6 18v2h12v-3h-7l5-5-5-5h7V4z" fill="#fff" /></g>'),C.add("shape_rectangle",19.2,19.2,'<rect stroke="#fff" stroke-width="53.333" fill="none" x="48" y="48" width="416" height="416"></rect>'),C.add("shape_rectangle_rounded",19.2,19.2,'<rect stroke="#fff" stroke-width="53.333" fill="none" x="48" y="48" width="416" height="416" rx="125" ry="125"></rect>'),C.add("stroke_side_top",19.2,19.2,'<rect x="26.666" y="26.666" width="458.666" height="458.666" fill="#fff" fill-opacity="0.2" stroke="none"></rect><rect x="26.666" y="26.666" width="458.666" height="53.333" fill="#fff" stroke="none"></rect>'),C.add("stroke_side_right",19.2,19.2,'<rect x="26.666" y="26.666" width="458.666" height="458.666" fill="#fff" fill-opacity="0.2" stroke="none"></rect><rect x="432" y="26.666" width="53.333" height="458.666" fill="#fff" stroke="none"></rect>'),C.add("stroke_side_bottom",19.2,19.2,'<rect x="26.666" y="26.666" width="458.666" height="458.666" fill="#fff" fill-opacity="0.2" stroke="none"></rect><rect x="26.666" y="432" width="458.666" height="53.333" fill="#fff" stroke="none"></rect>'),C.add("stroke_side_left",19.2,19.2,'<rect x="26.666" y="26.666" width="458.666" height="458.666" fill="#fff" fill-opacity="0.2" stroke="none"></rect><rect x="26.666" y="26.666" width="53.333" height="458.666" fill="#fff" stroke="none"></rect>'),C.add("corner_top_left",16.8,19.2,'<path d="M16 464 v -208 a 208 208 0 0 1 208 -208 h 208 v 416 z" stroke="none" fill="#fff" fill-opacity="0.2"></path><path d="M16 464 v -208 a 208 208 0 0 1 208 -208 h 208" stroke="#fff" stroke-width="53.333" fill="none"></path>'),C.add("corner_top_right",16.8,19.2,'<path d="M16 48 h 208 a 208 208 0 0 1 208 208 v 208 h -416 z" stroke="none" fill="#fff" fill-opacity="0.2"></path><path d="M16 48 h 208 a 208 208 0 0 1 208 208 v 208" stroke="#fff" stroke-width="53.333" fill="none"></path>'),C.add("corner_bottom_left",16.8,19.2,'<path d="M16 48 v 208 a 208 208 0 0 0 208 208 h 208 v -416 z" stroke="none" fill="#fff" fill-opacity="0.2"></path><path d="M16 48 v 208 a 208 208 0 0 0 208 208 h 208" stroke="#fff" stroke-width="53.333" fill="none"></path>'),C.add("corner_bottom_right",16.8,19.2,'<path d="M16 464 h 208 a 208 208 0 0 0 208 -208 v -208 h -416 z" stroke="none" fill="#fff" fill-opacity="0.2"></path><path d="M16 464 h 208 a 208 208 0 0 0 208 -208 v -208" stroke="#fff" stroke-width="53.333" fill="none"></path>'),C.add("shape_circle",19.2,19.2,'<circle cx="256" cy="256" r="224" stroke-width="48" stroke="#fff" fill="none" />'),C.add("shape_semicircle",19.2,19.2,'<path d="M32 256 a196 196 0 0 1 448 0z" stroke-width="48" stroke="#fff" fill="none"></path><path d="M32 256 a196 196 0 0 0 448 0z" stroke-width="48" stroke="#fff" stroke-opacity="0.5" fill="none"></path>'),C.add("shape_line",19.2,19.2,'<rect fill="#fff" x="0" y="-13.333" width="640" height="53.333" transform="translate(26.666,56) rotate(40)" rx="26.666" ry="26.666"></rect>'),C.add("shape_line_connector",24,24,'<g transform="scale(26.667,26.667) translate(+12, +12) rotate(-40) translate(-12, -12)"><rect x="4" y="11" width="16" height="2" fill="#fff"></rect><circle cx="1" cy="12" r="2" stroke="#fff" stroke-width="2" fill="none"></circle><polygon points="20,10 20,14 24,12" stroke="#fff" stroke-width="2" fill="none" /></g>'),C.add("shape_elbow_connector",24,24,'<g transform="scale(26.667,26.667) translate(+12, +12) rotate(-40) translate(-12, -12)"><rect x="5" y="8" width="7" height="2" fill="#fff"></rect><rect x="11" y="8" width="2" height="8" fill="#fff"></rect><rect x="12" y="14" width="7" height="2" fill="#fff"></rect><circle cx="3" cy="9" r="2" stroke="#fff" stroke-width="2" fill="none"></circle><polygon points="19,13 19,17 23,15" stroke="#fff" stroke-width="2" fill="none" /></g>'),C.add("shape_triangle",19.2,19.2,'<path d="M 0 -1 L +1 +1 L -1 +1 Z" transform="translate(+256,+256) scale(229.333, 229.3335)" fill="none" stroke="#fff" stroke-width="0.23255651703741495"></path>'),C.add("shape_triangle_rounded",19.2,19.2,'<path d="M -0.2857142857142857 -0.7142857142857142 Q 0 -1.2857142857142856 0.2857142857142857, -0.7142857142857142 L +0.8571428571428571, 0.42857142857142855 Q 1.1428571428571428 1 0.5714285714285714, 1 L -0.5714285714285714, 1 Q -1.1428571428571428, 1 -0.8571428571428571, 0.42857142857142855 Z" transform="translate(+256,+256) scale(229.333, 229.3335)" fill="none" stroke="#fff" stroke-width="0.23255651703741495"></path>'),C.add("shape_group",24,24,'<g transform="scale(0.667,0.667) translate(0, 960)" fill="#fff"><path d="M80-160v-640h320l80 80h400v560H80Zm80-80h640v-400H447l-80-80H160v480Zm0 0v-480 480Zm400-80h80v-80h80v-80h-80v-80h-80v80h-80v80h80v80Z"/></g>'),C.add("shape_ungroup",24,24,'<g transform="scale(0.667,0.667) translate(0, 960)" fill="#fff"><path d="M80-160v-640h320l80 80h400v560H80Zm80-80h640v-400H447l-80-80H160v480Zm0 0v-480 480Zm320-160h240v-80h-240Z"/></g>'),C.add("editor_image",24,24,'<g transform="scale(0.667,0.667) translate(0, 960)" fill="#fff"><path d="M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm0-80h560v-560H200v560Zm40-80h480L570-480 450-320l-90-120-120 160Zm-40 80v-560 560Z"/></g>'),C.add("editor_coordinate",24,24,'<g transform="scale(0.667,0.667) translate(0, 960)" fill="#fff"><path d="M480-480q33 0 56.5-23.5T560-560q0-33-23.5-56.5T480-640q-33 0-56.5 23.5T400-560q0 33 23.5 56.5T480-480Zm0 294q122-112 181-203.5T720-552q0-109-69.5-178.5T480-800q-101 0-170.5 69.5T240-552q0 71 59 162.5T480-186Zm0 106Q319-217 239.5-334.5T160-552q0-150 96.5-239T480-880q127 0 223.5 89T800-552q0 100-79.5 217.5T480-80Zm0-480Z"/></g>'),C.add("editor_shape",24,24,'<g transform="scale(0.667,0.667) translate(0, 960)" fill="#fff"><path d="m260-520 220-360 220 360H260ZM700-80q-75 0-127.5-52.5T520-260q0-75 52.5-127.5T700-440q75 0 127.5 52.5T880-260q0 75-52.5 127.5T700-80Zm-580-20v-320h320v320H120Zm580-60q42 0 71-29t29-71q0-42-29-71t-71-29q-42 0-71 29t-29 71q0 42 29 71t71 29Zm-500-20h160v-160H200v160Zm202-420h156l-78-126-78 126Zm78 0ZM360-340Zm340 80Z"/></g>'),C.add("editor_data",24,24,'<g transform="scale(0.667,0.667) translate(0, 960)" fill="#fff"><path d="M480-120q-151 0-255.5-46.5T120-280v-400q0-66 105.5-113T480-840q149 0 254.5 47T840-680v400q0 67-104.5 113.5T480-120Zm0-479q89 0 179-25.5T760-679q-11-29-100.5-55T480-760q-91 0-178.5 25.5T200-679q14 30 101.5 55T480-599Zm0 199q42 0 81-4t74.5-11.5q35.5-7.5 67-18.5t57.5-25v-120q-26 14-57.5 25t-67 18.5Q600-528 561-524t-81 4q-42 0-82-4t-75.5-11.5Q287-543 256-554t-56-25v120q25 14 56 25t66.5 18.5Q358-408 398-404t82 4Zm0 200q46 0 93.5-7t87.5-18.5q40-11.5 67-26t32-29.5v-98q-26 14-57.5 25t-67 18.5Q600-328 561-324t-81 4q-42 0-82-4t-75.5-11.5Q287-343 256-354t-56-25v99q5 15 31.5 29t66.5 25.5q40 11.5 88 18.5t94 7Z"/></g>'),C.add("editor_data_mapping",24,24,'<g transform="scale(0.667,0.667) translate(0, 960)" fill="#fff"><path d="M220-80q-58 0-99-41t-41-99q0-58 41-99t99-41q18 0 35 4.5t32 12.5l153-153v-110q-44-13-72-49.5T340-740q0-58 41-99t99-41q58 0 99 41t41 99q0 48-28 84.5T520-606v110l154 153q15-8 31.5-12.5T740-360q58 0 99 41t41 99q0 58-41 99t-99 41q-58 0-99-41t-41-99q0-18 4.5-35t12.5-32L480-424 343-287q8 15 12.5 32t4.5 35q0 58-41 99t-99 41Zm520-80q25 0 42.5-17.5T800-220q0-25-17.5-42.5T740-280q-25 0-42.5 17.5T680-220q0 25 17.5 42.5T740-160ZM480-680q25 0 42.5-17.5T540-740q0-25-17.5-42.5T480-800q-25 0-42.5 17.5T420-740q0 25 17.5 42.5T480-680ZM220-160q25 0 42.5-17.5T280-220q0-25-17.5-42.5T220-280q-25 0-42.5 17.5T160-220q0 25 17.5 42.5T220-160Z"/></g>'),C.add("text_align_left",24,24,'<g transform="scale(0.667,0.667) translate(0, 960)" fill="#fff"><path d="M120-120v-80h720v80H120Zm0-160v-80h480v80H120Zm0-160v-80h720v80H120Zm0-160v-80h480v80H120Zm0-160v-80h720v80H120Z"/></g>'),C.add("text_align_center",24,24,'<g transform="scale(0.667,0.667) translate(0, 960)" fill="#fff"><path d="M120-120v-80h720v80H120Zm160-160v-80h400v80H280ZM120-440v-80h720v80H120Zm160-160v-80h400v80H280ZM120-760v-80h720v80H120Z"/></g>'),C.add("text_align_right",24,24,'<g transform="scale(0.667,0.667) translate(0, 960)" fill="#fff"><path d="M120-760v-80h720v80H120Zm240 160v-80h480v80H360ZM120-440v-80h720v80H120Zm240 160v-80h480v80H360ZM120-120v-80h720v80H120Z"/></g>'),C.add("text_align_outside_left",24,24,'<g transform="scale(0.667,0.667) translate(0, 960)" fill="#fff"><path d="M120-760v-80h720v80H120Zm240 160v-80h480v80H360ZM120-440v-80h720v80H120Zm240 160v-80h480v80H360ZM120-120v-80h720v80H120Z" transform="translate(-160,0)"/><rect x="800" y="-880" width="80" height="800"></rect></g>'),C.add("text_align_outside_right",24,24,'<g transform="scale(0.667,0.667) translate(0, 960)" fill="#fff"><path d="M120-120v-80h720v80H120Zm0-160v-80h480v80H120Zm0-160v-80h720v80H120Zm0-160v-80h480v80H120Zm0-160v-80h720v80H120Z" transform="translate(160,0)"/><rect x="80" y="-880" width="80" height="800"></rect></g>'),C.add("text_align_top",19.2,19.2,'<rect x="26.666" y="26.666" width="458.666" height="458.666" fill="none" stroke="#fff" stroke-width="53.333"></rect><rect x="106.666" y="106.666" width="298.666" height="53.333" fill="#fff" stroke="none"></rect>'),C.add("text_align_middle",19.2,19.2,'<rect x="26.666" y="26.666" width="458.666" height="458.666" fill="none" stroke="#fff" stroke-width="53.333"></rect><rect x="106.666" y="229.333" width="298.666" height="53.333" fill="#fff" stroke="none"></rect>'),C.add("text_align_bottom",19.2,19.2,'<rect x="26.666" y="26.666" width="458.666" height="458.666" fill="none" stroke="#fff" stroke-width="53.333"></rect><rect x="106.666" y="352" width="298.666" height="53.333" fill="#fff" stroke="none"></rect>'),C.add("text_align_outside_top",19.2,19.2,'<rect x="26.666" y="133.333" width="458.666" height="352" fill="none" stroke="#fff" stroke-width="53.333"></rect><rect x="0" y="0" width="512" height="53.333" fill="#fff" stroke="none"></rect>'),C.add("text_align_outside_bottom",19.2,19.2,'<rect x="26.666" y="26.666" width="458.666" height="352" fill="none" stroke="#fff" stroke-width="53.333"></rect><rect x="0" y="458.666" width="512" height="53.333" fill="#fff" stroke="none"></rect>'),C.add("text_direction_left_to_right",24,24,'<g transform="scale(26.667,26.667)"><path d="M12.75 3h-1.5L6.5 14h2.1l.9-2.2h5l.9 2.2h2.1L12.75 3zm-2.62 7L12 4.98 13.87 10h-3.74zm10.37 8l-3-3v2H5v2h12.5v2l3-3z" fill="#fff" /></g>'),C.add("text_direction_top_to_bottom",24,24,'<g transform="scale(26.667,26.667)"><path d="M21 12v-1.5L10 5.75v2.1l2.2.9v5l-2.2.9v2.1L21 12zm-7-2.62l5.02 1.87L14 13.12V9.38zM6 19.75l3-3H7V4.25H5v12.5H3l3 3z" fill="#fff" /></g>'),C.add("text_direction_bottom_to_top",24,24,'<g transform="scale(26.667,26.667)"><path d="M3 12v1.5l11 4.75v-2.1l-2.2-.9v-5l2.2-.9v-2.1L3 12zm7 2.62l-5.02-1.87L10 10.88v3.74zm8-10.37l-3 3h2v12.5h2V7.25h2l-3-3z" fill="#fff" /></g>'),C.add("text_direction_right_to_left",24,24,'<g transform="scale(26.667,26.667) translate(12,12) rotate(180) translate(-12,-12)"><path d="M12.75 3h-1.5L6.5 14h2.1l.9-2.2h5l.9 2.2h2.1L12.75 3zm-2.62 7L12 4.98 13.87 10h-3.74zm10.37 8l-3-3v2H5v2h12.5v2l3-3z" fill="#fff" /></g>'),C.add("editor_tree",24,24,'<g transform="scale(26.667,26.667)"><path d="M22,11V3h-7v3H9V3H2v8h7V8h2v10h4v3h7v-8h-7v3h-2V8h2v3H22z M7,9H4V5h3V9z M17,15h3v4h-3V15z M17,5h3v4h-3V5z" fill="#fff"/></g>'),C.add("editor_layer",24,24,'<g transform="scale(26.667,26.667)"><path d="M11.99 18.54l-7.37-5.73L3 14.07l9 7 9-7-1.63-1.27zM12 16l7.36-5.73L21 9l-9-7-9 7 1.63 1.27L12 16zm0-11.47L17.74 9 12 13.47 6.26 9 12 4.53z" fill="#fff" /></g>'),C.add("eye_slash",24,24,'<g transform="scale(0.667,0.667) translate(0, 960)" fill="#fff"><path d="m644-428-58-58q9-47-27-88t-93-32l-58-58q17-8 34.5-12t37.5-4q75 0 127.5 52.5T660-500q0 20-4 37.5T644-428Zm128 126-58-56q38-29 67.5-63.5T832-500q-50-101-143.5-160.5T480-720q-29 0-57 4t-55 12l-62-62q41-17 84-25.5t90-8.5q151 0 269 83.5T920-500q-23 59-60.5 109.5T772-302Zm20 246L624-222q-35 11-70.5 16.5T480-200q-151 0-269-83.5T40-500q21-53 53-98.5t73-81.5L56-792l56-56 736 736-56 56ZM222-624q-29 26-53 57t-41 67q50 101 143.5 160.5T480-280q20 0 39-2.5t39-5.5l-36-38q-11 3-21 4.5t-21 1.5q-75 0-127.5-52.5T300-500q0-11 1.5-21t4.5-21l-84-82Zm319 93Zm-151 75Z"/></g>'),C.add("eye",24,24,'<g transform="scale(0.667,0.667) translate(0, 960)" fill="#fff"><path d="M480-320q75 0 127.5-52.5T660-500q0-75-52.5-127.5T480-680q-75 0-127.5 52.5T300-500q0 75 52.5 127.5T480-320Zm0-72q-45 0-76.5-31.5T372-500q0-45 31.5-76.5T480-608q45 0 76.5 31.5T588-500q0 45-31.5 76.5T480-392Zm0 192q-146 0-266-81.5T40-500q54-137 174-218.5T480-800q146 0 266 81.5T920-500q-54 137-174 218.5T480-200Zm0-300Zm0 220q113 0 207.5-59.5T832-500q-50-101-144.5-160.5T480-720q-113 0-207.5 59.5T128-500q50 101 144.5 160.5T480-280Z"/></g>'),C.add("editor_coordinate_align_right",19.2,19.2,'<rect x="476.444" y="0" width="35.555" height="512" fill="#fff" stroke="none"></rect><rect x="192" y="80" width="186.666" height="122.666" fill="none" stroke="#fff" stroke-width="35.555"></rect><rect x="32" y="309.333" width="346.666" height="122.666" fill="none" stroke="#fff" stroke-width="35.555"></rect>'),C.add("editor_coordinate_align_left",19.2,19.2,'<rect x="0" y="0" width="35.555" height="512" fill="#fff" stroke="none"></rect><rect x="133.333" y="80" width="186.666" height="122.666" fill="none" stroke="#fff" stroke-width="35.555"></rect><rect x="133.333" y="309.333" width="346.666" height="122.666" fill="none" stroke="#fff" stroke-width="35.555"></rect>'),C.add("editor_coordinate_align_center",19.2,19.2,'<rect x="238.222" y="0" width="35.555" height="80" fill="#fff" stroke="none"></rect><rect x="238.222" y="202.666" width="35.555" height="106.666" fill="#fff" stroke="none"></rect><rect x="238.222" y="432" width="35.555" height="80" fill="#fff" stroke="none"></rect><rect x="162.666" y="80" width="186.666" height="122.666" fill="none" stroke="#fff" stroke-width="35.555"></rect><rect x="82.666" y="309.333" width="346.666" height="122.666" fill="none" stroke="#fff" stroke-width="35.555"></rect>'),C.add("editor_coordinate_distribute_horizontally",19.2,19.2,'<rect x="238.222" y="0" width="35.555" height="512" fill="#fff" stroke="none"></rect><rect y="162.666" x="26.666" height="186.666" width="122.666" fill="none" stroke="#fff" stroke-width="35.555"></rect><rect y="82.666" x="362.666" height="346.666" width="122.666" fill="none" stroke="#fff" stroke-width="35.555"></rect>'),C.add("editor_coordinate_align_bottom",19.2,19.2,'<rect y="476.444" x="0" height="35.555" width="512" fill="#fff" stroke="none"></rect><rect y="192" x="80" height="186.666" width="122.666" fill="none" stroke="#fff" stroke-width="35.555"></rect><rect y="32" x="309.333" height="346.666" width="122.666" fill="none" stroke="#fff" stroke-width="35.555"></rect>'),C.add("editor_coordinate_align_top",19.2,19.2,'<rect y="0" x="0" height="35.555" width="512" fill="#fff" stroke="none"></rect><rect y="133.333" x="80" height="186.666" width="122.666" fill="none" stroke="#fff" stroke-width="35.555"></rect><rect y="133.333" x="309.333" height="346.666" width="122.666" fill="none" stroke="#fff" stroke-width="35.555"></rect>'),C.add("editor_coordinate_align_middle",19.2,19.2,'<rect y="238.222" x="0" height="35.555" width="80" fill="#fff" stroke="none"></rect><rect y="229.333" x="202.666" height="35.555" width="106.666" fill="#fff" stroke="none"></rect><rect y="229.333" x="432" height="35.555" width="80" fill="#fff" stroke="none"></rect><rect y="162.666" x="80" height="186.666" width="122.666" fill="none" stroke="#fff" stroke-width="35.555"></rect><rect y="82.666" x="309.333" height="346.666" width="122.666" fill="none" stroke="#fff" stroke-width="35.555"></rect>'),C.add("editor_coordinate_distribute_vertically",19.2,19.2,'<rect y="238.222" x="0" height="35.555" width="512" fill="#fff" stroke="none"></rect><rect x="162.666" y="26.666" width="186.666" height="122.666" fill="none" stroke="#fff" stroke-width="35.555"></rect><rect x="82.666" y="362.666" width="346.666" height="122.666" fill="none" stroke="#fff" stroke-width="35.555"></rect>'),C.add("editor_coordinate_rotate_left",24,24,'<g transform="scale(26.667,26.667)"><path d="M11 22q-1.25-.125-2.4-.613Q7.45 20.9 6.4 20.1l1.4-1.45q.725.525 1.538.85.812.325 1.662.45Zm2 0v-2.05q2.6-.375 4.3-2.337Q19 15.65 19 13.05q0-2.925-2.038-4.962Q14.925 6.05 12 6.05h-.2l1.6 1.6-1.4 1.4-4-4 4-4 1.4 1.45-1.55 1.55H12q1.875 0 3.513.712 1.637.713 2.85 1.925 1.212 1.213 1.925 2.85Q21 11.175 21 13.05q0 3.425-2.275 5.963Q16.45 21.55 13 22Zm-8.05-3.35q-.8-1.05-1.287-2.2-.488-1.15-.613-2.4H5.1q.125.85.45 1.662.325.813.85 1.538Zm-1.9-6.6q.15-1.275.625-2.45.475-1.175 1.275-2.15l1.45 1.4q-.525.725-.85 1.537-.325.813-.45 1.663Z" fill="#fff" /></g>'),C.add("editor_coordinate_rotate_right",24,24,'<g transform="scale(26.667,26.667)"><path d="M13.05 22v-2.05q.85-.125 1.663-.45.812-.325 1.537-.85l1.4 1.45q-1.05.8-2.2 1.287-1.15.488-2.4.613Zm-2 0q-3.45-.45-5.725-2.987Q3.05 16.475 3.05 13.05q0-1.875.713-3.513.712-1.637 1.925-2.85Q6.9 5.475 8.538 4.762q1.637-.712 3.512-.712h.15L10.65 2.5l1.4-1.45 4 4-4 4-1.4-1.4 1.6-1.6h-.2q-2.925 0-4.962 2.038Q5.05 10.125 5.05 13.05q0 2.6 1.7 4.563 1.7 1.962 4.3 2.337Zm8.05-3.35-1.45-1.4q.525-.725.85-1.538.325-.812.45-1.662H21q-.125 1.25-.612 2.4-.488 1.15-1.288 2.2Zm1.9-6.6h-2.05q-.125-.85-.45-1.663-.325-.812-.85-1.537l1.45-1.4q.8.975 1.275 2.15.475 1.175.625 2.45Z" fill="#fff" /></g>'),C.add("editor_snap",24,24,'<g transform="scale(26.667,26.667)"><path d="M21 6H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm0 10H3V8h2v4h2V8h2v4h2V8h2v4h2V8h2v4h2V8h2v8z" fill="#fff" /></g>'),C.add("editor_canvas",24,24,'<g transform="translate(80,80) scale(0.75,0.75) scale(0.667,0.667) translate(0, -96)"><path d="m405.384 936-14.461-115.692q-19.154-5.769-41.423-18.154-22.269-12.385-37.885-26.538L204.923 821l-74.616-130 92.231-69.539q-1.769-10.846-2.923-22.346-1.154-11.5-1.154-22.346 0-10.077 1.154-21.192t2.923-25.038L130.307 461l74.616-128.462 105.923 44.616q17.923-14.923 38.769-26.923 20.846-12 40.539-18.539L405.384 216h149.232l14.461 116.461q23 8.077 40.654 18.539 17.654 10.461 36.346 26.154l109-44.616L829.693 461l-95.308 71.846q3.308 12.385 3.692 22.731.385 10.346.385 20.423 0 9.308-.769 19.654-.77 10.346-3.539 25.038L827.923 691l-74.615 130-107.231-46.154q-18.692 15.693-37.615 26.923-18.923 11.231-39.385 17.77L554.616 936H405.384Zm73.539-260q41.846 0 70.923-29.077 29.077-29.077 29.077-70.923 0-41.846-29.077-70.923Q520.769 476 478.923 476q-42.077 0-71.039 29.077-28.961 29.077-28.961 70.923 0 41.846 28.961 70.923Q436.846 676 478.923 676Zm0-40q-25 0-42.5-17.5t-17.5-42.5q0-25 17.5-42.5t42.5-17.5q25 0 42.5 17.5t17.5 42.5q0 25-17.5 42.5t-42.5 17.5ZM480 576Zm-40 320h78.231L533 787.692q30.231-8 54.423-21.961 24.192-13.962 49.269-38.269L736.462 770l39.769-68-87.539-65.769q5-17.077 6.616-31.423 1.615-14.346 1.615-28.808 0-15.231-1.615-28.808-1.616-13.577-6.616-29.884L777.769 450 738 382l-102.077 42.769q-18.154-19.923-47.731-37.346t-55.961-23.115L520 256h-79.769l-12.462 107.538q-30.231 6.462-55.577 20.808-25.346 14.346-50.423 39.423L222 382l-39.769 68L269 514.769q-5 13.462-7 29.231-2 15.769-2 32.769Q260 592 262 607q2 15 6.231 29.231l-86 65.769L222 770l99-42q23.538 23.769 48.885 38.115 25.346 14.347 57.115 22.347L440 896Z" fill="#fff" /></g>'),C.add("editor_canvas_legacy",24,24,'<g transform="scale(26.667,26.667)"><path d="M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z" fill="#fff" /></g>'),C.add("arrow_to_top",24,24,'<g transform="scale(26.667,26.667) translate(0,+1)"><rect x="4" y="4" width="16" height="2" fill="#fff" stroke="none"></rect><path d="M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z" fill="#fff" /></g>'),C.add("arrow_up",24,24,'<g transform="scale(26.667,26.667)"><path d="M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z" fill="#fff" /></g>'),C.add("arrow_down",24,24,'<g transform="scale(26.667,26.667)"><path d="M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z" fill="#fff" /></g>'),C.add("arrow_to_bottom",24,24,'<g transform="scale(26.667,26.667) translate(0,-1)"><rect x="4" y="18" width="16" height="2" fill="#fff" stroke="none"></rect><path d="M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z" fill="#fff" /></g>'),C.add("bold",24,24,'<g transform="scale(0.667,0.667) translate(0, 960)" fill="#fff"><path d="M272-200v-560h221q65 0 120 40t55 111q0 51-23 78.5T602-491q25 11 55.5 41t30.5 90q0 89-65 124.5T501-200H272Zm121-112h104q48 0 58.5-24.5T566-372q0-11-10.5-35.5T494-432H393v120Zm0-228h93q33 0 48-17t15-38q0-24-17-39t-44-15h-95v109Z"/></g>'),C.add("italic",24,24,'<g transform="scale(0.667,0.667) translate(0, 960)" fill="#fff"><path d="M200-200v-100h160l120-360H320v-100h400v100H580L460-300h140v100H200Z"/></g>'),C.add("view_reset",24,24,'<g transform="scale(0.667,0.667) translate(0, 960)" fill="#fff"><path d="M240-120v-120H120v-80h200v200h-80Zm400 0v-200h200v80H720v120h-80ZM120-640v-80h120v-120h80v200H120Zm520 0v-200h80v120h120v80H640Z"/></g>'),C.add("view_zoom_in",19.2,19.2,'<rect x="229.333" y="53.333" width="53.333" height="405.333" stroke="none" fill="#fff"></rect><rect y="229.333" x="53.333" height="53.333" width="405.333" stroke="none" fill="#fff"></rect>'),C.add("view_zoom_out",19.2,19.2,'<rect y="229.333" x="53.333" height="53.333" width="405.333" stroke="none" fill="#fff"></rect>'),C.add("view_fit",24,24,'<g transform="scale(0.667,0.667) translate(0, 960)" fill="#fff"><path d="M120-120v-200h80v120h120v80H120Zm520 0v-80h120v-120h80v200H640ZM120-640v-200h200v80H200v120h-80Zm640 0v-120H640v-80h200v200h-80Z"/></g>'),C.add("refresh",24,24,'<g transform="scale(26.667,26.667)"><path d="M19 8l-4 4h3c0 3.31-2.69 6-6 6-1.01 0-1.97-.25-2.8-.7l-1.46 1.46C8.97 19.54 10.43 20 12 20c4.42 0 8-3.58 8-8h3l-4-4zM6 12c0-3.31 2.69-6 6-6 1.01 0 1.97.25 2.8.7l1.46-1.46C15.03 4.46 13.57 4 12 4c-4.42 0-8 3.58-8 8H1l4 4 4-4H6z" fill="#fff" /></g>'),C.add("menu",24,24,'<g transform="scale(26.667,26.667)"><path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z" fill="#fff" /></g>'),C.add("go_down",24,24,'<g transform="scale(26.667,26.667)"><path d="M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z" fill="#fff" /></g>'),C.add("go_up",24,24,'<g transform="scale(26.667,26.667)"><path d="M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z" fill="#fff" /></g>'),C.add("home",24,24,'<g transform="scale(26.667,26.667)"><path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z" fill="#fff"/></g>'),C.add("account",24,24,'<g transform="scale(26.667,26.667)"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM7.07 18.28c.43-.9 3.05-1.78 4.93-1.78s4.51.88 4.93 1.78C15.57 19.36 13.86 20 12 20s-3.57-.64-4.93-1.72zm11.29-1.45c-1.43-1.74-4.9-2.33-6.36-2.33s-4.93.59-6.36 2.33C4.62 15.49 4 13.82 4 12c0-4.41 3.59-8 8-8s8 3.59 8 8c0 1.82-.62 3.49-1.64 4.83zM12 6c-1.94 0-3.5 1.56-3.5 3.5S10.06 13 12 13s3.5-1.56 3.5-3.5S13.94 6 12 6zm0 5c-.83 0-1.5-.67-1.5-1.5S11.17 8 12 8s1.5.67 1.5 1.5S12.83 11 12 11z" fill="#fff" /></g>'),C.add("component",24,24,'<g transform="scale(26.667,26.667)"><path d="M3 5v14h19V5H3zm2 2h15v4H5V7zm0 10v-4h4v4H5zm6 0v-4h9v4h-9z" fill="#fff" /></g>'),C.add("more",24,24,'<g transform="scale(26.667,26.667)"><path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z" fill="#fff" /></g>'),C.add("graphic_piece",24,24,'<g transform="scale(26.667,26.667)"><path d="M10.5 4.5c.28 0 .5.22.5.5v2h6v6h2c.28 0 .5.22.5.5s-.22.5-.5.5h-2v6h-2.12c-.68-1.75-2.39-3-4.38-3s-3.7 1.25-4.38 3H4v-2.12c1.75-.68 3-2.39 3-4.38 0-1.99-1.24-3.7-2.99-4.38L4 7h6V5c0-.28.22-.5.5-.5m0-2C9.12 2.5 8 3.62 8 5H4c-1.1 0-1.99.9-1.99 2v3.8h.29c1.49 0 2.7 1.21 2.7 2.7s-1.21 2.7-2.7 2.7H2V20c0 1.1.9 2 2 2h3.8v-.3c0-1.49 1.21-2.7 2.7-2.7s2.7 1.21 2.7 2.7v.3H17c1.1 0 2-.9 2-2v-4c1.38 0 2.5-1.12 2.5-2.5S20.38 11 19 11V7c0-1.1-.9-2-2-2h-4c0-1.38-1.12-2.5-2.5-2.5z" fill="#fff" /></g>'),C.add("close_mark",24,24,'<g transform="scale(13.333,13.333) translate(12,12)"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" fill="#fff" /></g>'),C.add("editor_chart",24,24,'<g transform="scale(26.667,26.667)"><path d="M3.5 18.49l6-6.01 4 4L22 6.92l-1.41-1.41-7.09 7.97-4-4L2 16.99z" fill="#fff" /></g>'),C.add("editor_font_size_decrease",24,24,'<g transform="translate(24, 24) scale(24,24)"><path d="M1 19 6.25 5h2.5L14 19h-2.4l-1.275-3.575h-5.65L3.4 19Zm4.4-5.6h4.2L7.55 7.6h-.1ZM15 13v-2h8v2Z" fill="#fff" /></g>'),C.add("editor_font_size_increase",24,24,'<g transform="translate(24, 24) scale(24,24)"><path d="M1 19 6.25 5h2.5L14 19h-2.4l-1.275-3.575h-5.65L3.4 19Zm4.4-5.6h4.2L7.55 7.6h-.1ZM18 16v-3h-3v-2h3V8h2v3h3v2h-3v3Z" fill="#fff" /></g>'),C.add("editor_validation",24,24,'<g transform="scale(26.667,26.667)"><path d="M12 22q-2.075 0-3.9-.788-1.825-.787-3.175-2.137-1.35-1.35-2.137-3.175Q2 14.075 2 12t.788-3.9q.787-1.825 2.137-3.175 1.35-1.35 3.175-2.138Q9.925 2 12 2q1.625 0 3.075.475 1.45.475 2.675 1.325L16.3 5.275q-.95-.6-2.025-.938Q13.2 4 12 4 8.675 4 6.338 6.337 4 8.675 4 12t2.338 5.663Q8.675 20 12 20q3.325 0 5.663-2.337Q20 15.325 20 12q0-.45-.05-.9t-.15-.875L21.425 8.6q.275.8.425 1.65.15.85.15 1.75 0 2.075-.788 3.9-.787 1.825-2.137 3.175-1.35 1.35-3.175 2.137Q14.075 22 12 22Zm-1.4-5.4-4.25-4.25 1.4-1.4 2.85 2.85 10-10.025 1.4 1.4Z" fill="#fff"/></g>'),C.add("editor_search",24,24,'<g transform="scale(26.667,26.667)"><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z" fill="#fff"/></g>'),C.add("lock_close",24,24,'<g transform="scale(26.667,26.667)"><path d="M6 22q-.825 0-1.412-.587Q4 20.825 4 20V10q0-.825.588-1.413Q5.175 8 6 8h1V6q0-2.075 1.463-3.538Q9.925 1 12 1t3.538 1.462Q17 3.925 17 6v2h1q.825 0 1.413.587Q20 9.175 20 10v10q0 .825-.587 1.413Q18.825 22 18 22Zm0-2h12V10H6v10Zm6-3q.825 0 1.413-.587Q14 15.825 14 15q0-.825-.587-1.413Q12.825 13 12 13q-.825 0-1.412.587Q10 14.175 10 15q0 .825.588 1.413Q11.175 17 12 17ZM9 8h6V6q0-1.25-.875-2.125T12 3q-1.25 0-2.125.875T9 6ZM6 20V10v10Z" fill="#fff"/></g>'),C.add("lock_open",24,24,'<g transform="scale(0.667,0.667) translate(0, 960)"><path d="M240-160h480v-400H240v400Zm240-120q33 0 56.5-23.5T560-360q0-33-23.5-56.5T480-440q-33 0-56.5 23.5T400-360q0 33 23.5 56.5T480-280ZM240-160v-400 400Zm0 80q-33 0-56.5-23.5T160-160v-400q0-33 23.5-56.5T240-640h280v-80q0-83 58.5-141.5T720-920q83 0 141.5 58.5T920-720h-80q0-50-35-85t-85-35q-50 0-85 35t-35 85v80h120q33 0 56.5 23.5T800-560v400q0 33-23.5 56.5T720-80H240Z" fill="#fff"/></g>'),C.add("action_keyword",24,24,'<g transform="scale(26.667,26.667)"><path d="M6.5 16q1.175 0 2.288.262 1.112.263 2.212.788V7.2q-1.025-.6-2.175-.9Q7.675 6 6.5 6q-.9 0-1.787.175Q3.825 6.35 3 6.7v9.9q.875-.3 1.738-.45Q5.6 16 6.5 16Zm6.5 1.05q1.1-.525 2.213-.788Q16.325 16 17.5 16q.9 0 1.763.15.862.15 1.737.45V6.7q-.825-.35-1.712-.525Q18.4 6 17.5 6q-1.175 0-2.325.3-1.15.3-2.175.9ZM12 20q-1.2-.95-2.6-1.475Q8 18 6.5 18q-1.05 0-2.062.275-1.013.275-1.938.775-.525.275-1.012-.025Q1 18.725 1 18.15V6.1q0-.275.138-.525.137-.25.412-.375 1.15-.6 2.4-.9Q5.2 4 6.5 4q1.45 0 2.838.375Q10.725 4.75 12 5.5q1.275-.75 2.663-1.125Q16.05 4 17.5 4q1.3 0 2.55.3 1.25.3 2.4.9.275.125.413.375.137.25.137.525v12.05q0 .575-.487.875-.488.3-1.013.025-.925-.5-1.938-.775Q18.55 18 17.5 18q-1.5 0-2.9.525T12 20Zm-5-8.35Z" fill="#fff" /></g>'),C.add("texture_gradient",24,24,'<g transform="scale(0.667,0.667) translate(0, 960)"><path d="M440-440v-80h80v80h-80Zm-80 80v-80h80v80h-80Zm160 0v-80h80v80h-80Zm80-80v-80h80v80h-80Zm-320 0v-80h80v80h-80Zm-80 320q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm80-80h80v-80h-80v80Zm160 0h80v-80h-80v80Zm320 0v-80 80Zm-560-80h80v-80h80v80h80v-80h80v80h80v-80h80v80h80v-80h-80v-80h80v-320H200v320h80v80h-80v80Zm0 80v-560 560Zm560-240v80-80ZM600-280v80h80v-80h-80Z" fill="#fff"/></g>'),C.add("texture_fit_to",24,24,'<g transform="scale(0.667,0.667) translate(0, 960)"><path d="M800-600v-120H680v-80h120q33 0 56.5 23.5T880-720v120h-80Zm-720 0v-120q0-33 23.5-56.5T160-800h120v80H160v120H80Zm600 440v-80h120v-120h80v120q0 33-23.5 56.5T800-160H680Zm-520 0q-33 0-56.5-23.5T80-240v-120h80v120h120v80H160Zm80-160v-320h480v320H240Zm80-80h320v-160H320v160Zm0 0v-160 160Z" fill="#fff"/></g>'),C.add("texture_clear",24,24,'<g transform="scale(0.667,0.667) translate(0, 960)"><path d="m840-234-80-80v-446H314l-80-80h526q33 0 56.5 23.5T840-760v526ZM792-56l-64-64H200q-33 0-56.5-23.5T120-200v-528l-64-64 56-56 736 736-56 56ZM240-280l120-160 90 120 33-44-283-283v447h447l-80-80H240Zm297-257ZM424-424Z" fill="#fff"/></g>'),C.add("stroke_expandable",24,24,'<g transform="scale(0.667,0.667) translate(0, 960)"><path d="M229-229q-29-29-29-71t29-71l360-360q29-29 71-29t71 29q29 29 29 71t-29 71L371-229q-29 29-71 29t-71-29Z" fill="#fff"/></g>'),C.add("stroke_shrinkable",24,24,'<g transform="scale(0.667,0.667) translate(0, 960)"><path d="M212-212q-11-11-11-28t11-28l480-480q11-12 27.5-12t28.5 12q11 11 11 28t-11 28L268-212q-11 11-28 11t-28-11Z" fill="#fff"/></g>'),C.add("stroke_scalable_dot_dash",24,24,'<g transform="scale(0.667,0.667) translate(0, 960)"><path d="M120-160v-80h80v80h-80Zm0-160v-80h200v80H120Zm0-160v-80h320v80H120Zm0-160v-160h720v160H120Zm160 480v-80h80v80h-80Zm100-160v-80h200v80H380Zm60 160v-80h80v80h-80Zm80-320v-80h320v80H520Zm80 320v-80h80v80h-80Zm40-160v-80h200v80H640Zm120 160v-80h80v80h-80Z" fill="#fff"/></g>'),C.add("line_closed",24,24,'<g transform="scale(0.667,0.667) translate(0, 960)"><path d="m360-120-57-56 64-64h-7q-117 0-198.5-81.5T80-520q0-117 81.5-198.5T360-800h240q117 0 198.5 81.5T880-520q0 117-81.5 198.5T600-240v-80q83 0 141.5-58.5T800-520q0-83-58.5-141.5T600-720H360q-83 0-141.5 58.5T160-520q0 83 58.5 141.5T360-320l16 8-72-72 56-56 160 160-160 160Z" fill="#fff"/></g>');var _=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getImageSource=function(t){return t.isActive?C.mappings.lock_close:C.mappings.lock_open},e}(B),I=function(e){function n(){var n=e.call(this)||this;return n._dialog=t.DThemes.get("DDialog"),n}return r(n,e),n.prototype.getX=function(){return 8},n.prototype.getY=function(){return 8},n.prototype.getWidth=function(){return"auto"},n.prototype.getHeight=function(){return"auto"},n.prototype.getMultiplicity=function(){return 2},n.prototype.getMargin=function(){return 5},n.prototype.getPaddingTop=function(){return 4},n.prototype.getPaddingRight=function(){return 4},n.prototype.getPaddingBottom=function(){return 4},n.prototype.getPaddingLeft=function(){return 4},n.prototype.getBackgroundColor=function(t){return this._dialog.getBackgroundColor(t)},n.prototype.getBorderColor=function(t){return this._dialog.getBorderColor(t)},n.prototype.getBorderAlign=function(){return 0},n.prototype.getShadow=function(){return this.newShadowWeak()},n}(t.DThemes.getClass("DLayoutVertical")),V=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.newKeyword=function(t,e,n){return{keyword:t,type:e,description:n}},e}(t.DThemes.getClass("DDialogLayered")),k=function(e){function n(){var n=e.call(this)||this;return n._editorCanvas=t.DThemes.get("EEditorCanvas"),n}return r(n,e),n.prototype.getInputNameLabel=function(){return this._editorCanvas.getInputNameLabel()},n.prototype.getInputLabelLabel=function(){return this._editorCanvas.getInputLabelLabel()},n.prototype.getInputWidthLabel=function(){return this._editorCanvas.getInputWidthLabel()},n.prototype.getInputHeightLabel=function(){return this._editorCanvas.getInputHeightLabel()},n.prototype.getSelectCategoryLabel=function(){return this._editorCanvas.getSelectCategoryLabel()},n.prototype.getInputSummaryLabel=function(){return this._editorCanvas.getInputSummaryLabel()},n.prototype.getInputDescriptionLabel=function(){return this._editorCanvas.getInputDescriptionLabel()},n.prototype.getInputBackgroundLabel=function(){return this._editorCanvas.getInputBackgroundLabel()},n}(t.DThemes.getClass("DDialogLayered")),O=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(t.DThemes.getClass("DDialogLayered")),R=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(t.DThemes.getClass("DDialogLayered")),M=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(t.DThemes.getClass("DDialogLayered")),H=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(t.DThemes.getClass("DDialogLayered")),q=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getWidth=function(){return this.getPaddingLeft()+210+30+this.getPaddingRight()},e.prototype.getHeight=function(){return"100%"},e.prototype.getPaddingTop=function(){return 8},e.prototype.getPaddingRight=function(){return 8},e.prototype.getPaddingBottom=function(){return 8},e.prototype.getPaddingLeft=function(){return 8},e.prototype.getBackgroundColor=function(){return null},e.prototype.getBorderColor=function(){return null},e}(t.DThemes.getClass("DLayoutVertical")),N=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(q),Z=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getWidth=function(){return 256},e.prototype.getHeight=function(){return"100%"},e.prototype.getPaddingTop=function(){return 0},e.prototype.getPaddingRight=function(){return 0},e.prototype.getPaddingBottom=function(){return 0},e.prototype.getPaddingLeft=function(){return 0},e.prototype.getBackgroundColor=function(){return null},e.prototype.getBorderColor=function(){return null},e}(t.DThemes.getClass("DPane")),x=function(e){function n(){var n=e.call(this)||this;return n._editorCanvas=t.DThemes.get("EEditorCanvas"),n}return r(n,e),n.prototype.getLabel=function(){return this._editorCanvas.getLabel()},n.prototype.getInputNameLabel=function(){return this._editorCanvas.getInputNameLabel()},n.prototype.getInputLabelLabel=function(){return this._editorCanvas.getInputLabelLabel()},n.prototype.getInputWidthLabel=function(){return this._editorCanvas.getInputWidthLabel()},n.prototype.getInputHeightLabel=function(){return this._editorCanvas.getInputHeightLabel()},n.prototype.getSelectCategoryLabel=function(){return this._editorCanvas.getSelectCategoryLabel()},n.prototype.getInputBackgroundLabel=function(){return this._editorCanvas.getInputBackgroundLabel()},n.prototype.getInputSummaryLabel=function(){return this._editorCanvas.getInputSummaryLabel()},n.prototype.getInputDescriptionLabel=function(){return this._editorCanvas.getInputDescriptionLabel()},n}(Z),F=function(e){function n(){var n=e.call(this)||this;return n._diagramEditorTheme=t.DThemes.get("DDiagramEditor"),n}return r(n,e),n.prototype.getDefaultLabel=function(){return""},n.prototype.getDefaultWidth=function(){return 500},n.prototype.getDefaultHeight=function(){return 500},n.prototype.getDefaultCategory=function(){return null},n.prototype.getDefaultSummary=function(){return""},n.prototype.getDefaultDescription=function(){return""},n.prototype.getDefaultBackgroundColor=function(){return this._diagramEditorTheme.getCanvasBackgroundColor()},n.prototype.getDefaultBackgroundAlpha=function(){return this._diagramEditorTheme.getCanvasBackgroundAlpha()},n.prototype.toCategoryId=function(e){if(null!=e){if(t.isString(e))return e;if(t.isNumber(e))return String(e);if("id"in e){var n=e.id;return t.isString(n)?n:String(n)}if("name"in e){var o=e.name;return t.isString(o)?o:String(o)}if("label"in e){var r=e.label;return t.isString(r)?r:String(r)}}return""},n.prototype.toCategoryLabel=function(e){return t.toLabel(e)},n.prototype.isCategoryWritable=function(){return!0},n}(t.DThemes.getClass("DBoard")),G=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(q),z=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(q),U=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(q),P=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(q),K=function(e){function n(){var n=e.call(this)||this;return n._dialog=t.DThemes.get("DDialog"),n}return r(n,e),n.prototype.getMargin=function(){return 0},n.prototype.getPaddingTop=function(){return 0},n.prototype.getPaddingRight=function(){return 0},n.prototype.getPaddingBottom=function(){return 0},n.prototype.getPaddingLeft=function(){return 0},n.prototype.getReverse=function(){return!1},n.prototype.getBackgroundColor=function(t){return this._dialog.getBackgroundColor(t)},n.prototype.getBorderColor=function(t){return this._dialog.getBorderColor(t)},n.prototype.getBorderAlign=function(){return 0},n.prototype.getShadow=function(){return this.newShadowWeak()},n}(t.DThemes.getClass("DLayoutHorizontal")),W=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getHeight=function(){return"auto"},e.prototype.getPaddingTop=function(){return 8},e.prototype.getPaddingRight=function(){return 8},e.prototype.getPaddingBottom=function(){return 8},e.prototype.getPaddingLeft=function(){return 8},e}(t.DThemes.getClass("DContent")),X=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(q),Y=function(e){function n(){var n=e.call(this)||this;return n._shapeType=t.DThemes.get("FShapeType"),n}return r(n,e),n.prototype.getButtonCircleTitle=function(){return this._shapeType.getLabel(t.EShapeType.CIRCLE)},n.prototype.getButtonSemicircleTitle=function(){return this._shapeType.getLabel(t.EShapeType.SEMICIRCLE)},n.prototype.getButtonRectangleTitle=function(){return this._shapeType.getLabel(t.EShapeType.RECTANGLE)},n.prototype.getButtonRectangleRoundedTitle=function(){return this._shapeType.getLabel(t.EShapeType.RECTANGLE_ROUNDED)},n.prototype.getButtonTriangleTitle=function(){return this._shapeType.getLabel(t.EShapeType.TRIANGLE)},n.prototype.getButtonTriangleRoundedTitle=function(){return this._shapeType.getLabel(t.EShapeType.TRIANGLE_ROUNDED)},n.prototype.getButtonLineTitle=function(){return this._shapeType.getLabel(t.EShapeType.LINE)},n.prototype.getButtonLineConnectorTitle=function(){return this._shapeType.getLabel(t.EShapeType.CONNECTOR_LINE)},n.prototype.getButtonElbowConnectorTitle=function(){return this._shapeType.getLabel(t.EShapeType.CONNECTOR_ELBOW)},n.prototype.getButtonImageTitle=function(){return"".concat(this._shapeType.getLabel(t.EShapeType.IMAGE),"...")},n.prototype.getButtonGraphicPieceTitle=function(){return"".concat(this._shapeType.getLabel(t.EShapeType.EMBEDDED),"...")},n.prototype.getButtonGroupShortcut=function(){return"Ctrl+G"},n.prototype.getButtonUngroupShortcut=function(){return"Ctrl+Shift+G"},n.prototype.getSelectLineHeadTypeLabel=function(t){return this.getSelectLineTailTypeLabel(t)},n.prototype.getInputLineHeadMarginLabel=function(){return this.getInputLineTailMarginLabel()},n}(Z),Q=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return r(n,e),n.prototype.getListTargetItemLabel=function(e){return e.type===t.ESnapperTargetValueType.VERTICAL?"X: ".concat(e.position):"Y: ".concat(e.position)},n}(q),j=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getInputTextHeight=function(){return 3*this.getLineHeight()},e}(Z),$=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getButtonBringToFrontShortcut=function(){return"Alt+Shift+F"},e.prototype.getButtonBringForwardShortcut=function(){return"Alt+Ctrl+F"},e.prototype.getButtonSendBackwardShortcut=function(){return"Alt+Ctrl+B"},e.prototype.getButtonSendToBackShortcut=function(){return"Alt+Shift+B"},e}(q),J=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(q),tt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getWidth=function(){return"auto"},e.prototype.getHeight=function(){return"100%"},e.prototype.getMargin=function(){return 5},e.prototype.getPaddingTop=function(){return 4},e.prototype.getPaddingRight=function(){return 4},e.prototype.getPaddingBottom=function(){return 4},e.prototype.getPaddingLeft=function(){return 4},e}(t.DThemes.getClass("DLayoutVertical")),et=function(){function e(){}return e.prototype.toLabel=function(e){var n=e.type;if(e instanceof t.EShapeActionValueSubtyped){var o,r=e.subtype;if(e instanceof t.EShapeActionValueOpetyped){if(null!=(o=this.toOpetypedLabel(n,r,e.opetype,e)))return o}else if(null!=(o=this.toSubtypedLabel(n,r,e)))return o}return this.toTypedLabel(n,e)},e.prototype.toTypedLabel=function(t,e){return"".concat(this.toTypeLabel(t),": ").concat(this.toConditionLabel(e.condition))},e.prototype.toSubtypedLabel=function(e,n,o){var r=this.toTypeLabel(e);switch(e){case t.EShapeActionValueType.SHOW_HIDE:return"".concat(r,": ").concat(this.toShowHideTypeLabel(n));case t.EShapeActionValueType.BLINK:return"".concat(r,": ").concat(this.toBlinkTypeLabel(n));case t.EShapeActionValueType.CHANGE_COLOR:case t.EShapeActionValueType.CHANGE_COLOR_LEGACY:return"".concat(r,": ").concat(this.toChangeColorTypeLabel(n));case t.EShapeActionValueType.CHANGE_TEXT:return"".concat(r,": ").concat(this.toChangeTextTypeLabel(n));case t.EShapeActionValueType.OPEN:return"".concat(r,": ").concat(this.toOpenTypeLabel(n));case t.EShapeActionValueType.GESTURE:return"".concat(r,": ").concat(this.toGestureTypeLabel(n));case t.EShapeActionValueType.MISC:return"".concat(r,": ").concat(this.toMiscTypeLabel(n))}return null},e.prototype.toOpetypedLabel=function(e,n,o,r){if(e===t.EShapeActionValueType.TRANSFORM){var i=this.toTransformTypeLabel(n);switch(n){case t.EShapeActionValueTransformType.ROTATE:return"".concat(i,": ").concat(this.toTransformRotateTypeLabel(o));case t.EShapeActionValueTransformType.MOVE:return"".concat(i,": ").concat(this.toTransformMoveTypeLabel(o));case t.EShapeActionValueTransformType.RESIZE:return"".concat(i,": ").concat(this.toTransformResizeTypeLabel(o))}}return null},e.prototype.toConditionLabel=function(t){return 20<t.length?t.substring(0,20)+"...":t},e.prototype.toChangeColorTypeLabel=function(e){if(e===t.EShapeActionValueChangeColorType.NONE)return this.toChangeColorTypeValueLabel(t.EShapeActionValueChangeColorType.NONE);var n="",o="";return e&t.EShapeActionValueChangeColorType.FILL&&(n+=o+this.toChangeColorTypeValueLabel(t.EShapeActionValueChangeColorType.FILL),o=", "),e&t.EShapeActionValueChangeColorType.STROKE&&(n+=o+this.toChangeColorTypeValueLabel(t.EShapeActionValueChangeColorType.STROKE),o=", "),e&t.EShapeActionValueChangeColorType.TEXT&&(n+=o+this.toChangeColorTypeValueLabel(t.EShapeActionValueChangeColorType.TEXT),o=", "),e&t.EShapeActionValueChangeColorType.TEXT_OUTLINE&&(n+=o+this.toChangeColorTypeValueLabel(t.EShapeActionValueChangeColorType.TEXT_OUTLINE)),n},e}(),nt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTitle=function(){return"Lock"},e}(_),ot=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getSelectActionLabel=function(){return"Action"},e.prototype.getButtonKeywordTitle=function(){return"Show / Hide Keyword List"},e.prototype.getInputOriginXLabel=function(){return"X Origin"},e.prototype.getInputOriginYLabel=function(){return"Y Origin"},e.prototype.getSelectWhenLabel=function(){return"When"},e.prototype.getSelectLayerLabel=function(){return"Layer"},e.prototype.getInputConditionLabel=function(){return"When"},e.prototype.getInputIntervalLabel=function(){return"Interval"},e.prototype.getInputIntervalUnitLabel=function(){return"ms"},e.prototype.getInputSizeLabel=function(){return"Size"},e.prototype.getInputAmountLabel=function(){return"Amount"},e.prototype.getInputValueLabel=function(){return"Value"},e.prototype.getInputInitializationLabel=function(){return"Init."},e.prototype.getCheckPointEventsLabel=function(){return"Pointer Event"},e.prototype.getInputTargetNameLabel=function(){return"Name"},e.prototype.getButtonColorLabel=function(){return"Color"},e.prototype.getInputTargetLabel=function(){return"Target"},e.prototype.getInputArgumentLabel=function(){return"Arg."},e.prototype.getInputColorCodeLabel=function(){return"RGB"},e.prototype.getInputAlphaCodeLabel=function(){return"Alpha"},e.prototype.getInputBrightnessLabel=function(){return"Brt."},e.prototype.getInputBlendLabel=function(){return"Bld. rate"},e.prototype.getInputInitialLabel=function(){return"Initial"},e.prototype.getInputStepLabel=function(){return"Step"},e.prototype.getInputMinLabel=function(){return"Min"},e.prototype.getInputMaxLabel=function(){return"Max"},e.prototype.getInputScaleLabel=function(){return"Scale"},e.prototype.getCheckBringToFrontLabel=function(){return"Bring to Front"},e.prototype.getCheckInNewWindowLabel=function(){return"In New Window"},e.prototype.newKeywords=function(){var t=[];return t.push(this.newKeyword("time","number","A current UNIX timestamp in milliseconds.")),t.push(this.newKeyword("isInitializing","boolean","True when a shape is initializing.")),t.push(this.newKeyword("isHovered","boolean","True when a shape is hovered.")),t.push(this.newKeyword("isActive","boolean","True when a shape is active.")),t.push(this.newKeyword("isActivated","boolean","True when a shape state be active.")),t.push(this.newKeyword("isDeactivated","boolean","True when a shape state be unactive.")),t.push(this.newKeyword("isPressed","boolean","True when a shape is pressed.")),t.push(this.newKeyword("isReadOnly","boolean","True if a shape is read-only.")),t.push(this.newKeyword("isEnabled","boolean","True if a shape is enabled.")),t.push(this.newKeyword("isDisabled","boolean","True if a shape is disabled.")),t.push(this.newKeyword("isActionable","boolean","True if a shape is actionable.")),t.push(this.newKeyword("isGesturing","boolean","True when a shape is being gestured.")),t.push(this.newKeyword("isFocused","boolean","True when a shape has a focuse.")),t.push(this.newKeyword("isFocusable","boolean","True if a shape is focusable.")),t.push(this.newKeyword("isUnfocusable","boolean","True if a shape is not focusable.")),t.push(this.newKeyword("isClicked","boolean","True when a shape is clicked.")),t.push(this.newKeyword("isDblClicked","boolean","True when a shape is double-clicked.")),t.push(this.newKeyword("isDown","boolean","True when a pointer or a key gets down on a shape.")),t.push(this.newKeyword("isUp","boolean","True when a pointer or a key gets up on a shape.")),t.push(this.newKeyword("isUpOutside","boolean","True when a pointer or a key gets up outside of a shape.")),t.push(this.newKeyword("isRightClicked","boolean","True when a secondary pointer is clicked on a shape.")),t.push(this.newKeyword("isRightDown","boolean","True when a secondary pointer gets down on a shape.")),t.push(this.newKeyword("isRightUp","boolean","True when a secondary pointer gets up on a shape.")),t.push(this.newKeyword("isRightUpOutside","boolean","True when a secondary pointer gets up outside of a shape.")),t.push(this.newKeyword("isRightPressed","boolean","True when a shape is pressed by a secondary pointer.")),t.push(this.newKeyword("id","string","A shape ID.")),t.push(this.newKeyword("type","number","A shape type.")),t.push(this.newKeyword("size.x","number","A shape width.")),t.push(this.newKeyword("size.y","number","A shape height.")),t.push(this.newKeyword("fill.enable","boolean","True if a fill of a shape is enabled.")),t.push(this.newKeyword("fill.color","number","A fill color of a shape.")),t.push(this.newKeyword("fill.alpha","number","A fill alpha of a shape.")),t.push(this.newKeyword("stroke.enable","boolean","True if a shape stroke is enabled.")),t.push(this.newKeyword("stroke.color","number","A stroke color of a shape.")),t.push(this.newKeyword("stroke.alpha","number","A stroke alpha of a shape.")),t.push(this.newKeyword("stroke.width","number","A stroke width of a shape.")),t.push(this.newKeyword("stroke.align","number","A stroke alignment of a shape.")),t.push(this.newKeyword("transform.position.x","number","A shape X position.")),t.push(this.newKeyword("transform.position.y","number","A shape Y position.")),t.push(this.newKeyword("transform.pivot.x","number","A X-coordinate pivot of a shape.")),t.push(this.newKeyword("transform.pivot.y","number","A Y-coordinate pivot of a shape.")),t.push(this.newKeyword("transform.rotation","number","A rotation of a shape.")),t.push(this.newKeyword("transform.skew.x","number","A X-coordinate skew of a shape.")),t.push(this.newKeyword("transform.skew.y","number","A Y-coordinate skew of a shape.")),t.push(this.newKeyword("transform.scale.x","number","A X-coordinate scale of a shape.")),t.push(this.newKeyword("transform.scale.y","number","A Y-coordinate scale of a shape.")),t.push(this.newKeyword("points.length","number","A point length of a shape.")),t.push(this.newKeyword("points.values","number[]","A point values of a shape.")),t.push(this.newKeyword("text.value","string","A text value of a shape.")),t.push(this.newKeyword("text.color","number","A text color of a shape.")),t.push(this.newKeyword("text.alpha","number","A text alpha of a shape.")),t.push(this.newKeyword("text.family","string","A font family of a shape.")),t.push(this.newKeyword("text.size","number","A font size of a shape.")),t.push(this.newKeyword("cursor","string","A cursor of a shape.")),t.push(this.newKeyword("shortcut","string | undefined","A shortcut key of a shape.")),t.push(this.newKeyword("title","string | undefined","A tooltip text of a shape.")),t.push(this.newKeyword("visible","boolean","True if a shape is visible.")),t.push(this.newKeyword("interactive","boolean","True if a shape is interactive.")),t.push(this.newKeyword("data.id","string","An ID of the first data.")),t.push(this.newKeyword("data.initial","string","An initial value expression of the first data.")),t.push(this.newKeyword("data.format","string","A formatter expression of the first data.")),t.push(this.newKeyword("data.capacity","number","A capacity of the first data.")),t.push(this.newKeyword("data.order","number","An data order of the first data. Zero: Ascending order. One: Descending order.")),t.push(this.newKeyword("data.value","unknown","A value of the first data.")),t.push(this.newKeyword("data.nvalue","number","A normalized value of the first data.")),t.push(this.newKeyword("data.time","number","An UNIX timestamp in milliseconds of the first data.")),t.push(this.newKeyword("data.values","unknown[]","Values of the first data.")),t.push(this.newKeyword("data.times","number[]","UNIX timestamps in milliseconds of the first data.")),t.push(this.newKeyword("data.range.from","number","A lower bound of the first data.")),t.push(this.newKeyword("data.range.to","number","An upper bound of the first data.")),t.push(this.newKeyword("data.get(n).id","string","An ID of the n-th data.")),t.push(this.newKeyword("data.get(n).initial","string","An initial value expression of the n-th data.")),t.push(this.newKeyword("data.get(n).format","string","A formatter expression of the n-th data.")),t.push(this.newKeyword("data.get(n).capacity","number","A capacity of the n-th data.")),t.push(this.newKeyword("data.get(n).order","number","An data order of the n-th data. Zero: Ascending order. One: Descending order.")),t.push(this.newKeyword("data.get(n).value","unknown","A value of the n-th data.")),t.push(this.newKeyword("data.get(n).nvalue","number","A normalized value of the n-th data.")),t.push(this.newKeyword("data.get(n).time","number","An UNIX timestamp in milliseconds of the n-th data.")),t.push(this.newKeyword("data.get(n).values","unknown[]","Values of the n-th data.")),t.push(this.newKeyword("data.get(n).times","number[]","UNIX timestamps in milliseconds of the n-th data.")),t.push(this.newKeyword("data.get(n).range.from","number","A lower bound of the n-th data.")),t.push(this.newKeyword("data.get(n).range.to","number","An upper bound of the n-th data.")),t.push(this.newKeyword("${alias}.id","string","An ID of the data the alias points to.")),t.push(this.newKeyword("${alias}.initial","string","An initial value expression of the data the alias points to.")),t.push(this.newKeyword("${alias}.format","string","A formatter expression of the data the alias points to.")),t.push(this.newKeyword("${alias}.capacity","number","A capacity of the data the alias points to.")),t.push(this.newKeyword("${alias}.order","number","An order of the data the alias points to. Zero: Ascending order. One: Descending order.")),t.push(this.newKeyword("${alias}.value","unknown","A value of the data the alias points to.")),t.push(this.newKeyword("${alias}.nvalue","number","A normalized value of the data the alias points to.")),t.push(this.newKeyword("${alias}.time","number","An UNIX timestamp in milliseconds of the data the alias points to.")),t.push(this.newKeyword("${alias}.values","unknown[]","Values of the data the alias points to.")),t.push(this.newKeyword("${alias}.times","number[]","UNIX timestamps in milliseconds of the data the alias points to.")),t.push(this.newKeyword("${alias}.range.from","number","A lower bound of the data the alias points to.")),t.push(this.newKeyword("${alias}.range.to","number","An upper bound of the data the alias points to.")),t},e}(V),rt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(k),it=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getInputSourceLabel=function(){return"From"},e.prototype.getInputDestinationLabel=function(){return"To"},e.prototype.getInputInitialLabel=function(){return"Initial"},e.prototype.getTableColumnDataIdLabel=function(){return"Data ID"},e.prototype.getTableColumnMappedToLabel=function(){return"Mapped To"},e}(O),at=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return r(n,e),n.prototype.getInputIdLabel=function(){return"ID"},n.prototype.getInputAsLabel=function(){return"As"},n.prototype.getSelectTypeLabel=function(){return"Type"},n.prototype.getSelectTypeValueLabel=function(e){switch(e){case t.EShapeDataValueType.BOOLEAN:return"Boolean";case t.EShapeDataValueType.BOOLEAN_ARRAY:return"Boolean Array";case t.EShapeDataValueType.NUMBER:return"Number";case t.EShapeDataValueType.NUMBER_ARRAY:return"Number Array";case t.EShapeDataValueType.STRING:return"String";case t.EShapeDataValueType.STRING_ARRAY:return"String Array";case t.EShapeDataValueType.OBJECT:return"Object";case t.EShapeDataValueType.OBJECT_ARRAY:return"Object Array";case t.EShapeDataValueType.TICKER:return"Ticker";default:var n=t.EShapeDataValueExtensions.get(e);return n?n.label:"Unknown"}},n.prototype.getSelectScopeLabel=function(){return"Scope"},n.prototype.getSelectScopeValueLabel=function(e){switch(e){case t.EShapeDataValueScope.PUBLIC:return"Public";case t.EShapeDataValueScope.PROTECTED:return"Protected";case t.EShapeDataValueScope.PRIVATE:return"Private"}},n.prototype.getInputInitialLabel=function(){return"Initial"},n.prototype.getInputIntervalLabel=function(){return"Interval"},n.prototype.getInputIntervalUnitLabel=function(){return"ms"},n.prototype.getInputFormatLabel=function(){return"Format"},n.prototype.getSelectRangeTypeLabel=function(){return"Range"},n.prototype.getSelectRangeTypeValueLabel=function(e){switch(e){case t.EShapeDataValueRangeType.FROM:return"Lower Limit";case t.EShapeDataValueRangeType.TO:return"Upper Limit";case t.EShapeDataValueRangeType.FROM_TO:return"Upper and Lower Limit";default:return"No Range"}},n.prototype.getInputRangeFromLabel=function(){return"Lower Limit"},n.prototype.getInputRangeToLabel=function(){return"Upper Limit"},n.prototype.getInputCapacityLabel=function(){return"Capacity"},n.prototype.getSelectOrderLabel=function(){return"Order"},n.prototype.getSelectOrderValueLabel=function(e){switch(e){case t.EShapeDataValueOrder.ASCENDING:return"Ascending Order";case t.EShapeDataValueOrder.DESCENDING:return"Descending Order"}},n}(R),ut=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return r(n,e),n.prototype.getInputNameLabel=function(){return"Name"},n.prototype.getInputPositionLabel=function(){return"Position"},n.prototype.getInputSizeLabel=function(){return"Size"},n.prototype.getTextBackgroundLabel=function(){return"Bckgrnd"},n.prototype.getCheckBackgroundLabel=function(){return"Enable"},n.prototype.getCheckVisibleLabel=function(){return"Visible"},n.prototype.getCheckInteractiveLabel=function(){return"Interactive"},n.prototype.getSelectGestureLabel=function(){return"Gesture"},n.prototype.getSelectGestureValueLabel=function(e){switch(e){case t.EShapeActionValueGestureOperationType.DRAG:return"Drag";case t.EShapeActionValueGestureOperationType.PINCH:return"Pinch"}return"Unknown"},n}(M),lt=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return r(n,e),n.prototype.getSelectDirectionLabel=function(){return"Dir."},n.prototype.getSelectDirectionValueLabel=function(e){switch(e){case t.ESnapperTargetValueType.VERTICAL:return"Vertical";case t.ESnapperTargetValueType.HORIZONTAL:return"Horizontal"}return"Unknown"},n.prototype.getInputPositionLabel=function(){return"Position"},n}(H),pt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getLabel=function(){return"Action"},e.prototype.getButtonNewTitle=function(){return"New Action"},e.prototype.getButtonDeleteTitle=function(){return"Delete Action"},e.prototype.getButtonBringForwardTitle=function(){return"Bring Selected Action Forward"},e.prototype.getButtonSendBackwardTitle=function(){return"Send Selected Action Backward"},e.prototype.getCheckInteractiveLabel=function(){return"Interactive"},e.prototype.getCheckFocusableLabel=function(){return"Focusable"},e.prototype.getInputShortcutLabel=function(){return"Shortcut"},e.prototype.getInputTitleLabel=function(){return"Tooltip"},e.prototype.getDropdownCursorLabel=function(){return"Cursor"},e.prototype.getCursors=function(){var t=new Map;return t.set("","Unset"),t.set("none","None"),t.set("default","Default"),t.set("context-menu","Context Menu"),t.set("help","Help"),t.set("pointer","Pointer"),t.set("progress","Progress"),t.set("wait","Wait"),t.set("cell","Cell"),t.set("crosshair","Crosshair"),t.set("text","Text"),t.set("vertical-text","Vertical Text"),t.set("alias","Alias"),t.set("copy","Copy"),t.set("move","Move"),t.set("no-drop","No Drop"),t.set("not-allowed","Not Allowed"),t.set("grab","Grab"),t.set("grabbing","Grabbing"),t.set("all-scroll","All Scroll"),t.set("col-resize","Column Resize"),t.set("row-resize","Row Resize"),t.set("n-resize","North Resize"),t.set("e-resize","East Resize"),t.set("s-resize","South Resize"),t.set("w-resize","West Resize"),t.set("ne-resize","North-East Resize"),t.set("nw-resize","North-West Resize"),t.set("se-resize","South-East Resize"),t.set("sw-resize","South-West Resize"),t.set("ew-resize","East-West Resize"),t.set("ns-resize","North-South Resize"),t.set("nesw-resize","NE-to-SW Resize"),t.set("nwse-resize","NW-to-SE Resize"),t.set("zoom-in","Zoom In"),t.set("zoom-out","Zoom Out"),t},e}(N),st=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(x),ht=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getLabel=function(){return"Canvas"},e.prototype.getDefaultName=function(){return"Untitled"},e.prototype.getInputNameLabel=function(){return"Name"},e.prototype.getInputLabelLabel=function(){return"Label"},e.prototype.getInputWidthLabel=function(){return"Width"},e.prototype.getInputHeightLabel=function(){return"Height"},e.prototype.getSelectCategoryLabel=function(){return"Ctgry"},e.prototype.getInputBackgroundLabel=function(){return"Bckgrd"},e.prototype.getInputSummaryLabel=function(){return"Smmry"},e.prototype.getInputDescriptionLabel=function(){return"Desc"},e}(F),ct=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getLabel=function(){return"Coordinate"},e.prototype.getInputIdLabel=function(){return"ID"},e.prototype.getInputPositionXLabel=function(){return"X"},e.prototype.getInputPositionYLabel=function(){return"Y"},e.prototype.getInputPositionLeftLabel=function(){return"Left"},e.prototype.getInputPositionTopLabel=function(){return"Top"},e.prototype.getInputSizeXLabel=function(){return"Width"},e.prototype.getInputSizeYLabel=function(){return"Height"},e.prototype.getInputRotationLabel=function(){return"Rotation"},e.prototype.getInputSkewLabel=function(){return"Skew"},e.prototype.getButtonAlignLeftTitle=function(){return"Align Left"},e.prototype.getButtonAlignCenterTitle=function(){return"Align Center"},e.prototype.getButtonAlignRightTitle=function(){return"Align Right"},e.prototype.getButtonAlignTopTitle=function(){return"Align Top"},e.prototype.getButtonAlignMiddleTitle=function(){return"Align Middle"},e.prototype.getButtonAlignBottomTitle=function(){return"Align Bottom"},e.prototype.getButtonDistributeHorizontallyTitle=function(){return"Distribute Horizontally"},e.prototype.getButtonDistributeVerticallyTitle=function(){return"Distribute Vertically"},e.prototype.getButtonRotateLeftTitle=function(){return"Rotate Left"},e.prototype.getButtonRotateRightTitle=function(){return"Rotate Right"},e}(G),ft=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getLabel=function(){return"Data Mapping"},e.prototype.getButtonNewTitle=function(){return"New Data Mapping"},e.prototype.getButtonDeleteTitle=function(){return"Delete Selected Data Mapping"},e.prototype.getButtonBringForwardTitle=function(){return"Bring Selected Data Mapping Forward"},e.prototype.getButtonSendBackwardTitle=function(){return"Send Selected Data Mapping Backward"},e}(z),gt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getLabel=function(){return"Data"},e.prototype.getButtonNewTitle=function(){return"New Data"},e.prototype.getButtonDeleteTitle=function(){return"Delete Selected Data"},e.prototype.getButtonBringForwardTitle=function(){return"Bring Selected Data Forward"},e.prototype.getButtonSendBackwardTitle=function(){return"Send Selected Data Backward"},e}(U),dt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getLabel=function(){return"Layer"},e.prototype.getButtonNewTitle=function(){return"New Layer"},e.prototype.getButtonDeleteTitle=function(){return"Delete Selected Layer"},e.prototype.getButtonBringForwardTitle=function(){return"Bring Selected Layer Forward"},e.prototype.getButtonSendBackwardTitle=function(){return"Send Selected Layer Backward"},e}(P),Tt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getLabel=function(){return"Search"},e.prototype.getInputIdLabel=function(){return"ID"},e.prototype.getSelectTypeLabel=function(){return"Type"},e.prototype.toTypeLabel=function(t){return-1===t?"Any":"Unknown"},e.prototype.getSelectStateLabel=function(){return"State"},e.prototype.toStateLabel=function(t){switch(t){case-1:return"Any";case 2:return"Fully Connected";case 1:return"Partially Connected";case 0:return"Not Connected"}return"Unknown"},e.prototype.getButtonExecuteTitle=function(){return"Execute"},e.prototype.getDialogErrorLabel=function(){return"No Shapes Found"},e}(X),yt=function(t,e){if(null!=t)return null!=e?"".concat(t," (").concat(e,")"):t},Et=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return r(n,e),n.prototype.getLabel=function(){return"Shape"},n.prototype.getTextChangeToLabel=function(){return"Change Shape To:"},n.prototype.getButtonGroupTitle=function(){return yt("Group Selected Shapes",this.getButtonGroupShortcut())},n.prototype.getButtonUngroupTitle=function(){return yt("Ungroup Selected Groups",this.getButtonUngroupShortcut())},n.prototype.getButtonFillLabel=function(){return"Fill"},n.prototype.getButtonStrokeLabel=function(){return"Stroke"},n.prototype.getInputStrokeWidthLabel=function(){return"Width"},n.prototype.getInputStrokeAlignLabel=function(){return"Align"},n.prototype.getButtonStrokeSideTopTitle=function(){return"Top"},n.prototype.getButtonStrokeSideRightTitle=function(){return"Right"},n.prototype.getButtonStrokeSideBottomTitle=function(){return"Bottom"},n.prototype.getButtonStrokeSideLeftTitle=function(){return"Left"},n.prototype.getButtonStrokeExpandableTitle=function(){return"Expandable"},n.prototype.getButtonStrokeShrinkableTitle=function(){return"Shrinkable"},n.prototype.getButtonStrokeScalableDotDashTitle=function(){return"Scalable Dot / Dash"},n.prototype.getTextCornerLabel=function(){return"Corner Radius"},n.prototype.getButtonCornerTopLeftTitle=function(){return"Top-Left Corner"},n.prototype.getButtonCornerTopRightTitle=function(){return"Top-Right Corner"},n.prototype.getButtonCornerBottomRightTitle=function(){return"Bottom-Right Corner"},n.prototype.getButtonCornerBottomLeftTitle=function(){return"Bottom-Left Corner"},n.prototype.getTextLineLabel=function(){return"Line"},n.prototype.getSelectLineStyleLabel=function(e){switch(e){case t.EShapeStrokeStyle.NONE:return"Solid";case t.EShapeStrokeStyle.NON_EXPANDING_WIDTH:return"Non Expanding";case t.EShapeStrokeStyle.NON_SHRINKING_WIDTH:return"Non Shrinking";case t.EShapeStrokeStyle.NON_SCALING_DOT_AND_DASH:return"Non-Scaling Dot/Dash";case t.EShapeStrokeStyle.DOTTED:return"Dotted";case t.EShapeStrokeStyle.DOTTED_DENSELY:return"Densely Dotted";case t.EShapeStrokeStyle.DOTTED_LOOSELY:return"Loosely Dotted";case t.EShapeStrokeStyle.DASHED:return"Dashed";case t.EShapeStrokeStyle.DASHED_DENSELY:return"Densely Dashed";case t.EShapeStrokeStyle.DASHED_LOOSELY:return"Loosely Dashed"}return"Unknown"},n.prototype.getSelectLineTypeLabel=function(e){switch(e){case t.EShapePointsStyle.NONE:return"Polyline";case t.EShapePointsStyle.CLOSED:return"Closed"}return"Unknown"},n.prototype.getButtonLineClosedTitle=function(){return"Closed"},n.prototype.getTextLineTailLabel=function(){return"Line Tail"},n.prototype.getSelectLineTailTypeLabel=function(e){switch(e){case t.EShapePointsMarkerType.NONE:return"No Marker";case t.EShapePointsMarkerType.CIRCLE:return"Circle";case t.EShapePointsMarkerType.TRIANGLE:return"Triangle";case t.EShapePointsMarkerType.RECTANGLE:return"Rectangle"}return"None"},n.prototype.getInputLineTailMarginLabel=function(){return"Margin"},n.prototype.getTextLineHeadLabel=function(){return"Line Head"},n.prototype.getButtonTextureImageTitle=function(){return"Apply Image as Texture..."},n.prototype.getButtonTextureGradientTitle=function(){return"Apply Gradient as Texture..."},n.prototype.getButtonTextureFitToTitle=function(){return"Fit to Texture"},n.prototype.getButtonTextureClearTitle=function(){return"Clear Texture"},n}(Y),mt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getLabel=function(){return"Snap"},e.prototype.getButtonTargetLabel=function(){return"Snap on Target"},e.prototype.getButtonTargetNewTitle=function(){return"New Snap Target"},e.prototype.getButtonTargetDeleteTitle=function(){return"Delete Selected Snap Target"},e.prototype.getButtonTargetBringForwardTitle=function(){return"Bring Selected Snap Target Forward"},e.prototype.getButtonTargetSendBackwardTitle=function(){return"Send Selected Snap Target Backward"},e.prototype.getButtonTargetEyeTitle=function(){return"Show / Hide Snap Targets"},e.prototype.getButtonGridLabel=function(){return"Snap on Grid"},e.prototype.getButtonGridEyeTitle=function(){return"Show / Hide Snap Grid"},e.prototype.getInputGridSizeLabel=function(){return"Size"},e}(Q),St=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getLabel=function(){return"Text"},e.prototype.getTextFontLabel=function(){return"Font"},e.prototype.getFontFamilies=function(){var t=new Map;return t.set("auto","Auto"),t.set('"Arial", "Helvetica Neue", "Helvetica", sans-serif',"Arial"),t.set('"Calibri", "Candara", "Segoe", "Segoe UI", "Optima", "Arial", sans-serif',"Calibri"),t.set('"Cambria", "Georgia", serif',"Cambria"),t.set('"Candara", "Calibri","Segoe", "Segoe UI", "Optima", "Arial", sans-serif',"Candara"),t.set('"Century Gothic", "CenturyGothic", "AppleGothic", sans-serif',"Century Gothic"),t.set('"Consolas", "monaco", monospace',"Consolas"),t.set('"Copperplate", "Copperplate Gothic Light", fantasy',"Copperplate"),t.set('"Courier New", "Courier", "Lucida Sans Typewriter", "Lucida Typewriter", monospace',"Courier New"),t.set('"Dejavu Sans", "Arial", "Verdana", sans-serif',"Dejavu Sans"),t.set('"Georgia", "Cambria", serif',"Georgia"),t.set('"Helvetica", "Helvetica Neue", "Arial", sans-serif',"Helvetica"),t.set('"Hiragino Kaku Gothic Std", "Hiragino Kaku Gothic Pro", "Hiragino Sans", sans-serif',"Hiragino Kaku Gothic"),t.set('"Hiragino Maru Gothic Pro", sans-serif',"Hiragino Maru Gothic"),t.set('"Hiragino Mincho Pro", serif',"Hiragino Mincho"),t.set('"Impact", "Charcoal", "Helvetica Inserat", "Bitstream Vera Sans Bold", "Arial Black", sans-serif',"Impact"),t.set('"MS Gothic", sans-serif',"MS Gothic"),t.set('"MS Mincho", serif',"MS Mincho"),t.set('"MS PGothic", sans-serif',"MS PGothic"),t.set('"MS PMincho", serif',"MS PMincho"),t.set('"Meiryo", sans-serif',"Meiryo"),t.set('"Meiryo UI", sans-serif',"Meiryo UI"),t.set('"Optima", "Segoe UI", "Segoe", "Candara", "Calibri", "Arial", sans-serif',"Optima"),t.set('"Roboto", system-ui',"Roboto"),t.set('"Segoe", "Candara", "Calibri","Segoe UI", "Optima", "Arial", sans-serif',"Segoe"),t.set('"Segoe UI", "Segoe", "Candara", "Calibri", "Optima", "Arial", sans-serif',"Segoe UI"),t.set('"Verdana", "Dejavu Sans", "Arial", sans-serif',"Verdana"),t.set('"YuGothic", "Hiragino Sans", sans-serif',"YuGothic"),t.set('"YuGothic UI", "Hiragino Sans", sans-serif',"YuGothic UI"),t.set('"YuMincho", serif',"YuMincho"),t},e.prototype.getButtonFontSizeIncreaseTitle=function(){return"Increase Font Size"},e.prototype.getButtonFontSizeDecreaseTitle=function(){return"Decrease Font Size"},e.prototype.getButtonFontItalicTitle=function(){return"Italic Font"},e.prototype.getButtonFontBoldTitle=function(){return"Bold Font"},e.prototype.getButtonOutlineLabel=function(){return"Text Outline"},e.prototype.getInputOutlineWidthLabel=function(){return"Width"},e.prototype.getTextAlignLabel=function(){return"Text Align"},e.prototype.getButtonAlignOutsideLeftTitle=function(){return"Align Outside Left"},e.prototype.getButtonAlignLeftTitle=function(){return"Align Left"},e.prototype.getButtonAlignCenterTitle=function(){return"Align Center"},e.prototype.getButtonAlignRightTitle=function(){return"Align Right"},e.prototype.getButtonAlignOutsideRightTitle=function(){return"Align Outside Right"},e.prototype.getButtonAlignOutsideTopTitle=function(){return"Align Outside Top"},e.prototype.getButtonAlignTopTitle=function(){return"Align Top"},e.prototype.getButtonAlignMiddleTitle=function(){return"Align Middle"},e.prototype.getButtonAlignBottomTitle=function(){return"Align Bottom"},e.prototype.getButtonAlignOutsideBottomTitle=function(){return"Align Outside Bottom"},e.prototype.getButtonDirectionLeftToRightTitle=function(){return"Left to Right"},e.prototype.getButtonDirectionTopToBottomTitle=function(){return"Top to Bottom"},e.prototype.getButtonDirectionBottomToTopTitle=function(){return"Bottom to Top"},e.prototype.getButtonDirectionRightToLeftTitle=function(){return"Right to Left"},e.prototype.getButtonClippingLabel=function(){return"Text Clipping"},e.prototype.getButtonFittingLabel=function(){return"Text Fitting"},e.prototype.getTextSpacingLabel=function(){return"Letter Spacing"},e.prototype.getTextPaddingLabel=function(){return"Text Padding"},e.prototype.getTextOffsetLabel=function(){return"Text Offset"},e}(j),Lt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getLabel=function(){return"Tree"},e.prototype.getButtonBringToFrontTitle=function(){return yt("Bring to Front",this.getButtonBringToFrontShortcut())},e.prototype.getButtonBringForwardTitle=function(){return yt("Bring Forward",this.getButtonBringForwardShortcut())},e.prototype.getButtonSendBackwardTitle=function(){return yt("Send Backward",this.getButtonSendBackwardShortcut())},e.prototype.getButtonSendToBackTitle=function(){return yt("Send to Back",this.getButtonSendToBackShortcut())},e}($),wt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getLabel=function(){return"Validation"},e.prototype.getButtonRevalidateTitle=function(){return"Revalidate"},e}(J),bt=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return r(n,e),n.prototype.toTypeLabel=function(e){switch(e){case t.EShapeActionValueType.SHOW_HIDE:return"Show / Hide";case t.EShapeActionValueType.BLINK:return"Blink";case t.EShapeActionValueType.TRANSFORM:return"Transform";case t.EShapeActionValueType.OPEN:return"Open";case t.EShapeActionValueType.CHANGE_COLOR:case t.EShapeActionValueType.CHANGE_COLOR_LEGACY:return"Change Color";case t.EShapeActionValueType.CHANGE_TEXT:return"Change Text";case t.EShapeActionValueType.CHANGE_CURSOR:return"Change Cursor";case t.EShapeActionValueType.EMIT_EVENT:return"Emit Event";case t.EShapeActionValueType.GESTURE:return"Gesture";case t.EShapeActionValueType.MISC:return"Misc.";default:return t.EShapeActionValueType.EXTENSION<=e?"Extension":"Unknown"}},n.prototype.toBlinkTypeLabel=function(e){switch(e){case t.EShapeActionValueBlinkType.VISIBILITY:return"Visibility";case t.EShapeActionValueBlinkType.BRIGHTEN:return"Brighten";case t.EShapeActionValueBlinkType.DARKEN:return"Darken";case t.EShapeActionValueBlinkType.OPACITY:return"Opacity";case t.EShapeActionValueBlinkType.COLOR_FILL:return"Fill";case t.EShapeActionValueBlinkType.COLOR_STROKE:return"Stroke"}},n.prototype.toShowHideTypeLabel=function(e){switch(e){case t.EShapeActionValueShowHideType.SHAPE_SHOW:return"Show";case t.EShapeActionValueShowHideType.SHAPE_HIDE:return"Hide";case t.EShapeActionValueShowHideType.SHAPE:return"Shape";case t.EShapeActionValueShowHideType.LAYER:return"Layer"}},n.prototype.toTransformTypeLabel=function(e){switch(e){case t.EShapeActionValueTransformType.RESIZE:return"Resize";case t.EShapeActionValueTransformType.MOVE:return"Move";case t.EShapeActionValueTransformType.ROTATE:return"Rotate"}},n.prototype.toTransformRotateTypeLabel=function(e){switch(e){case t.EShapeActionValueTransformRotateType.RELATIVE:return"Relative";case t.EShapeActionValueTransformRotateType.ABSOLUTE:return"Absolute"}},n.prototype.toTransformMoveTypeLabel=function(e){switch(e){case t.EShapeActionValueTransformMoveType.RELATIVE_X:return"Relative X";case t.EShapeActionValueTransformMoveType.RELATIVE_Y:return"Relative Y";case t.EShapeActionValueTransformMoveType.ABSOLUTE_X:return"Absolute X";case t.EShapeActionValueTransformMoveType.ABSOLUTE_Y:return"Absolute Y";case t.EShapeActionValueTransformMoveType.FORWARD_OR_BACKWARD:return"Forward / Backward";case t.EShapeActionValueTransformMoveType.LEFT_OR_RIGHT:return"Left / Right"}},n.prototype.toTransformResizeTypeLabel=function(e){switch(e){case t.EShapeActionValueTransformResizeType.ABSOLUTE_SIZE:return"Height & Width";case t.EShapeActionValueTransformResizeType.RELATIVE_SIZE:return"Height & Width (%)";case t.EShapeActionValueTransformResizeType.ABSOLUTE_HEIGHT:return"Height";case t.EShapeActionValueTransformResizeType.RELATIVE_HEIGHT:return"Height (%)";case t.EShapeActionValueTransformResizeType.ABSOLUTE_WIDTH:return"Width";case t.EShapeActionValueTransformResizeType.RELATIVE_WIDTH:return"Width (%)"}},n.prototype.toChangeColorTypeValueLabel=function(e){switch(e){case t.EShapeActionValueChangeColorType.NONE:return"None";case t.EShapeActionValueChangeColorType.FILL:return"Fill";case t.EShapeActionValueChangeColorType.STROKE:return"Stroke";case t.EShapeActionValueChangeColorType.TEXT:return"Text";case t.EShapeActionValueChangeColorType.TEXT_OUTLINE:return"Text Outline"}return"Unknown"},n.prototype.toChangeColorTargetLabel=function(e){switch(e){case t.EShapeActionValueChangeColorTarget.COLOR_AND_ALPHA:return"Color";case t.EShapeActionValueChangeColorTarget.COLOR:return"RGB";case t.EShapeActionValueChangeColorTarget.ALPHA:return"Alpha";case t.EShapeActionValueChangeColorTarget.CODE:return"Dynamic Color";case t.EShapeActionValueChangeColorTarget.BRIGHTNESS:return"Brightness"}},n.prototype.toChangeTextTypeLabel=function(e){switch(e){case t.EShapeActionValueChangeTextType.TEXT:return"Text";case t.EShapeActionValueChangeTextType.NUMBER:return"Number"}},n.prototype.toOpenTypeLabel=function(e){switch(e){case t.EShapeActionValueOpenType.DIAGRAM_LEGACY:return"Graphic";case t.EShapeActionValueOpenType.PAGE_LEGACY:return"Page (New Window)";case t.EShapeActionValueOpenType.PAGE_INPLACE_LEGACY:return"Page (In-place)";case t.EShapeActionValueOpenType.DIALOG_TEXT:return"Dialog (Text)";case t.EShapeActionValueOpenType.DIALOG_INTEGER:return"Dialog (Integer)";case t.EShapeActionValueOpenType.DIALOG_REAL:return"Dialog (Real)";case t.EShapeActionValueOpenType.DIALOG_BOOLEAN:return"Dialog (Boolean)";case t.EShapeActionValueOpenType.DIALOG_DATE:return"Dialog (Date)";case t.EShapeActionValueOpenType.DIALOG_TIME:return"Dialog (Time)";case t.EShapeActionValueOpenType.DIALOG_DATETIME:return"Dialog (Datetime)";case t.EShapeActionValueOpenType.DIAGRAM:return"Graphic";case t.EShapeActionValueOpenType.PAGE:return"Page";case t.EShapeActionValueOpenType.DIALOG:return"Dialog";default:if(t.EShapeActionValueOpenType.EXTENSION<=e){var n=t.EShapeActionOpenExtensions.get(e);return n?n.label:"Extension"}return"Unknown"}},n.prototype.toOpenDialogTypeLabel=function(e){switch(e){case t.EShapeActionValueOpenDialogType.TEXT:return"Text";case t.EShapeActionValueOpenDialogType.INTEGER:return"Integer";case t.EShapeActionValueOpenDialogType.REAL:return"Real";case t.EShapeActionValueOpenDialogType.BOOLEAN:return"Boolean";case t.EShapeActionValueOpenDialogType.DATE:return"Date";case t.EShapeActionValueOpenDialogType.TIME:return"Time";case t.EShapeActionValueOpenDialogType.DATETIME:return"Datetime";default:if(t.EShapeActionValueOpenDialogType.EXTENSION<=e){var n=t.EShapeActionOpenDialogExtensions.get(e);return n?n.label:"Extension"}return"Unknown"}},n.prototype.toGestureTypeLabel=function(e){switch(e){case t.EShapeActionValueGestureType.SHAPE:return"Shape";case t.EShapeActionValueGestureType.LAYER:return"Layer"}},n.prototype.toGestureOperationTypeLabel=function(e){switch(e){case t.EShapeActionValueGestureOperationType.DRAG:return"Drag";case t.EShapeActionValueGestureOperationType.PINCH:return"Pinch"}return"Unknown"},n.prototype.toMiscTypeLabel=function(e){switch(e){case t.EShapeActionValueMiscType.INPUT_TEXT:return"Input (Text)";case t.EShapeActionValueMiscType.INPUT_INTEGER:return"Input (Integer)";case t.EShapeActionValueMiscType.INPUT_REAL:return"Input (Real)";case t.EShapeActionValueMiscType.EMIT_EVENT:return this.toOnInputActionLabel(t.EShapeActionValueOnInputAction.EMIT_EVENT);case t.EShapeActionValueMiscType.WRITE_BOTH:return this.toOnInputActionLabel(t.EShapeActionValueOnInputAction.WRITE_BOTH);case t.EShapeActionValueMiscType.WRITE_LOCAL:return this.toOnInputActionLabel(t.EShapeActionValueOnInputAction.WRITE_LOCAL);case t.EShapeActionValueMiscType.WRITE_REMOTE:return this.toOnInputActionLabel(t.EShapeActionValueOnInputAction.WRITE_REMOTE);case t.EShapeActionValueMiscType.HTML_ELEMENT:return"HTML Element";case t.EShapeActionValueMiscType.HTML_ELEMENT_WITHOUT_POINTER_EVENTS:return"HTML Element (No Pointer Event)";case t.EShapeActionValueMiscType.SHOW_HIDE_LAYER:return"Show / Hide Layers";case t.EShapeActionValueMiscType.GESTURE_LAYER:return"Layer Gesture";case t.EShapeActionValueMiscType.GESTURE:return"Gesture";case t.EShapeActionValueMiscType.EXECUTE:return"Execute";default:if(t.EShapeActionValueMiscType.EXTENSION<=e){var n=t.EShapeActionMiscExtensions.get(e);return n?n.label:"Extension"}return"Unknown"}},n.prototype.toHtmlElementWhenLabel=function(e){switch(e){case t.UtilHtmlElementWhen.CLICKED:return"Clicked";case t.UtilHtmlElementWhen.DOUBLE_CLICKED:return"Double Clicked";case t.UtilHtmlElementWhen.FOCUSED:return"Focused";case t.UtilHtmlElementWhen.ALWAYS:return"Always"}return"Unknown"},n.prototype.toOnInputActionLabel=function(e){switch(e){case t.EShapeActionValueOnInputAction.EMIT_EVENT:return"Emit Event";case t.EShapeActionValueOnInputAction.WRITE_BOTH:return"Write (Both)";case t.EShapeActionValueOnInputAction.WRITE_LOCAL:return"Write (Local)";case t.EShapeActionValueOnInputAction.WRITE_REMOTE:return"Write (Remote)"}return"Unknown"},n}(et),vt=function(){function e(){this._shapeType=t.DThemes.get("FShapeType")}return e.prototype.getToolFileButtonTheme=function(){return"EButtonToolFile"},e.prototype.getToolFileButtonCreateShortcut=function(){return"Ctrl+M"},e.prototype.getToolFileButtonOpenShortcut=function(){return"Ctrl+O"},e.prototype.getToolFileButtonSaveShortcut=function(){return"Ctrl+S"},e.prototype.getToolFileButtonSaveAsShortcut=function(){return"Ctrl+Shift+S"},e.prototype.getToolFileButtonUploadShortcut=function(){return"Ctrl+U"},e.prototype.getToolFileButtonDownloadShortcut=function(){return"Ctrl+Shift+U"},e.prototype.getToolFileButtonUndoShortcut=function(){return"Ctrl+Z"},e.prototype.getToolFileButtonRedoShortcut=function(){return"Ctrl+Y"},e.prototype.getToolFileButtonDeleteShortcut=function(){return"Ctrl+E"},e.prototype.getToolShapeButtonTheme=function(){return"EButtonToolShape"},e.prototype.getToolShapeButtonCircleTitle=function(){return this._shapeType.getLabel(t.EShapeType.CIRCLE)},e.prototype.getToolShapeButtonSemicircleTitle=function(){return this._shapeType.getLabel(t.EShapeType.SEMICIRCLE)},e.prototype.getToolShapeButtonRectangleTitle=function(){return this._shapeType.getLabel(t.EShapeType.RECTANGLE)},e.prototype.getToolShapeButtonRectangleRoundedTitle=function(){return this._shapeType.getLabel(t.EShapeType.RECTANGLE_ROUNDED)},e.prototype.getToolShapeButtonTriangleTitle=function(){return this._shapeType.getLabel(t.EShapeType.TRIANGLE)},e.prototype.getToolShapeButtonTriangleRoundedTitle=function(){return this._shapeType.getLabel(t.EShapeType.TRIANGLE_ROUNDED)},e.prototype.getToolShapeButtonLineTitle=function(){return this._shapeType.getLabel(t.EShapeType.LINE)},e.prototype.getToolShapeButtonLineConnectorTitle=function(){return this._shapeType.getLabel(t.EShapeType.CONNECTOR_LINE)},e.prototype.getToolShapeButtonElbowConnectorTitle=function(){return this._shapeType.getLabel(t.EShapeType.CONNECTOR_ELBOW)},e.prototype.getToolShapeButtonImageTitle=function(){return"".concat(this._shapeType.getLabel(t.EShapeType.IMAGE),"...")},e.prototype.getToolShapeButtonGraphicPieceTitle=function(){return"".concat(this._shapeType.getLabel(t.EShapeType.EMBEDDED),"...")},e.prototype.getEditorButtonTheme=function(){return"EButtonEditor"},e.prototype.getEditorButtonCoordinateTitle=function(){return t.DThemes.get("EEditorCoordinate").getLabel()},e.prototype.getEditorButtonShapeTitle=function(){return t.DThemes.get("EEditorShape").getLabel()},e.prototype.getEditorButtonTextTitle=function(){return t.DThemes.get("EEditorText").getLabel()},e.prototype.getEditorButtonDataTitle=function(){return t.DThemes.get("EEditorData").getLabel()},e.prototype.getEditorButtonDataMappingTitle=function(){return t.DThemes.get("EEditorDataMapping").getLabel()},e.prototype.getEditorButtonActionTitle=function(){return t.DThemes.get("EEditorAction").getLabel()},e.prototype.getEditorButtonTreeTitle=function(){return t.DThemes.get("EEditorTree").getLabel()},e.prototype.getEditorButtonLayerTitle=function(){return t.DThemes.get("EEditorLayer").getLabel()},e.prototype.getEditorButtonSnapTitle=function(){return t.DThemes.get("EEditorSnap").getLabel()},e.prototype.getEditorButtonValidationTitle=function(){return t.DThemes.get("EEditorValidation").getLabel()},e.prototype.getEditorButtonSearchTitle=function(){return t.DThemes.get("EEditorSearch").getLabel()},e.prototype.getEditorButtonCanvasLegacyTitle=function(){return t.DThemes.get("EEditorCanvasLegacy").getLabel()},e.prototype.getViewButtonTheme=function(){return"EButtonView"},e.prototype.getViewButtonZoomOutShortcut=function(){return"Ctrl+Alt+Minus"},e.prototype.getViewButtonZoomInShortcut=function(){return"Ctrl+Alt+Plus"},e.prototype.getViewButtonZoomInShortcuts=function(){return["Ctrl+Alt+;","Ctrl+Alt+Shift+Plus"]},e.prototype.getViewButtonDragAndPinchShortcut=function(){return"Ctrl+Alt+D"},e.prototype.getViewButtonResetShortcut=function(){return"Ctrl+Alt+R"},e.prototype.getViewButtonFitShortcut=function(){return"Ctrl+Alt+F"},e.prototype.getIconBuilder=function(){return C},e.prototype.getMargin=function(){return 8},e}(),At=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getToolFileButtonCreateTitle=function(){return yt("New File...",this.getToolFileButtonCreateShortcut())},e.prototype.getToolFileButtonOpenTitle=function(){return yt("Open File...",this.getToolFileButtonOpenShortcut())},e.prototype.getToolFileButtonSaveTitle=function(){return yt("Save",this.getToolFileButtonSaveShortcut())},e.prototype.getToolFileButtonSaveAsTitle=function(){return yt("Save As...",this.getToolFileButtonSaveAsShortcut())},e.prototype.getToolFileButtonUploadTitle=function(){return yt("Upload from File...",this.getToolFileButtonUploadShortcut())},e.prototype.getToolFileButtonDownloadTitle=function(){return yt("Download",this.getToolFileButtonDownloadShortcut())},e.prototype.getToolFileButtonUndoTitle=function(){return yt("Undo",this.getToolFileButtonUndoShortcut())},e.prototype.getToolFileButtonRedoTitle=function(){return yt("Redo",this.getToolFileButtonRedoShortcut())},e.prototype.getToolFileButtonDeleteTitle=function(){return yt("Delete...",this.getToolFileButtonDeleteShortcut())},e.prototype.getToolShapeButtonSelectTitle=function(){return"Select tool"},e.prototype.getViewButtonZoomOutTitle=function(){return yt("Zoom Out",this.getViewButtonZoomOutShortcut())},e.prototype.getViewButtonZoomInTitle=function(){return yt("Zoom In",this.getViewButtonZoomInShortcut())},e.prototype.getViewButtonDragAndPinchTitle=function(){return yt("Drag and Pinch Viewport",this.getViewButtonDragAndPinchShortcut())},e.prototype.getViewButtonResetTitle=function(){return yt("Reset Viewport",this.getViewButtonResetShortcut())},e.prototype.getViewButtonFitTitle=function(){return yt("Fit Viewport to Screen",this.getViewButtonFitShortcut())},e}(vt),Dt=function(){function e(){this._editorTheme=t.DThemes.get("FGraphicEditor")}return e.prototype.getToolFileButtonGraphicTheme=function(){return"EButtonToolFileGraphic"},e.prototype.getToolFileButtonGraphicOpenShortcut=function(){return this._editorTheme.getToolFileButtonOpenShortcut()},e.prototype.getToolFileButtonTheme=function(){return this._editorTheme.getToolFileButtonTheme()},e.prototype.getToolFileButtonCreateTitle=function(){return this._editorTheme.getToolFileButtonCreateTitle()},e.prototype.getToolFileButtonCreateShortcut=function(){return this._editorTheme.getToolFileButtonCreateShortcut()},e.prototype.getToolFileButtonOpenShortcut=function(){return"Ctrl+Alt+O"},e.prototype.getToolFileButtonUploadTitle=function(){return this._editorTheme.getToolFileButtonUploadTitle()},e.prototype.getToolFileButtonUploadShortcut=function(){return this._editorTheme.getToolFileButtonUploadShortcut()},e.prototype.getToolFileButtonDownloadTitle=function(){return this._editorTheme.getToolFileButtonDownloadTitle()},e.prototype.getToolFileButtonDownloadShortcut=function(){return this._editorTheme.getToolFileButtonDownloadShortcut()},e.prototype.getToolFileButtonSaveTitle=function(){return this._editorTheme.getToolFileButtonSaveTitle()},e.prototype.getToolFileButtonSaveShortcut=function(){return this._editorTheme.getToolFileButtonSaveShortcut()},e.prototype.getToolFileButtonDeleteTitle=function(){return this._editorTheme.getToolFileButtonDeleteTitle()},e.prototype.getToolFileButtonDeleteShortcut=function(){return this._editorTheme.getToolFileButtonDeleteShortcut()},e.prototype.getViewButtonTheme=function(){return this._editorTheme.getViewButtonTheme()},e.prototype.getViewButtonZoomOutTitle=function(){return this._editorTheme.getViewButtonZoomOutTitle()},e.prototype.getViewButtonZoomOutShortcut=function(){return this._editorTheme.getViewButtonZoomOutShortcut()},e.prototype.getViewButtonZoomInTitle=function(){return this._editorTheme.getViewButtonZoomInTitle()},e.prototype.getViewButtonZoomInShortcut=function(){return this._editorTheme.getViewButtonZoomInShortcut()},e.prototype.getViewButtonZoomInShortcuts=function(){return this._editorTheme.getViewButtonZoomInShortcuts()},e.prototype.getViewButtonResetTitle=function(){return this._editorTheme.getViewButtonResetTitle()},e.prototype.getViewButtonResetShortcut=function(){return this._editorTheme.getViewButtonResetShortcut()},e.prototype.getViewButtonDragAndPinchTitle=function(){return this._editorTheme.getViewButtonDragAndPinchTitle()},e.prototype.getViewButtonDragAndPinchShortcut=function(){return this._editorTheme.getViewButtonDragAndPinchShortcut()},e.prototype.getViewButtonFitTitle=function(){return this._editorTheme.getViewButtonFitTitle()},e.prototype.getViewButtonFitShortcut=function(){return this._editorTheme.getViewButtonFitShortcut()},e.prototype.getIconBuilder=function(){return this._editorTheme.getIconBuilder()},e.prototype.getMargin=function(){return this._editorTheme.getMargin()},e}(),Bt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getToolFileButtonGraphicOpenTitle=function(){return yt("Open Graphic...",this.getToolFileButtonGraphicOpenShortcut())},e.prototype.getToolFileButtonOpenTitle=function(){return yt("Open Mapping...",this.getToolFileButtonOpenShortcut())},e.prototype.getInputNameLabel=function(){return"Name"},e.prototype.getTableColumnDataLabel=function(){return"Data"},e.prototype.getTableColumnValueLabel=function(){return"Value"},e.prototype.newDialogCreateTextValue=function(){return"Untitled"},e}(Dt),Ct=function(){function e(){this._editorTheme=t.DThemes.get("FGraphicEditor"),this._testerTheme=t.DThemes.get("FGraphicTester")}return e.prototype.getToolFileButtonGraphicTheme=function(){return this._testerTheme.getToolFileButtonGraphicTheme()},e.prototype.getToolFileButtonGraphicOpenTitle=function(){return this._testerTheme.getToolFileButtonGraphicOpenTitle()},e.prototype.getToolFileButtonGraphicOpenShortcut=function(){return this._testerTheme.getToolFileButtonGraphicOpenShortcut()},e.prototype.getViewButtonTheme=function(){return this._editorTheme.getViewButtonTheme()},e.prototype.getViewButtonZoomOutTitle=function(){return this._editorTheme.getViewButtonZoomOutTitle()},e.prototype.getViewButtonZoomOutShortcut=function(){return this._editorTheme.getViewButtonZoomOutShortcut()},e.prototype.getViewButtonZoomInTitle=function(){return this._editorTheme.getViewButtonZoomInTitle()},e.prototype.getViewButtonZoomInShortcut=function(){return this._editorTheme.getViewButtonZoomInShortcut()},e.prototype.getViewButtonZoomInShortcuts=function(){return this._editorTheme.getViewButtonZoomInShortcuts()},e.prototype.getViewButtonResetTitle=function(){return this._editorTheme.getViewButtonResetTitle()},e.prototype.getViewButtonResetShortcut=function(){return this._editorTheme.getViewButtonResetShortcut()},e.prototype.getViewButtonFitTitle=function(){return this._editorTheme.getViewButtonFitTitle()},e.prototype.getViewButtonFitShortcut=function(){return this._editorTheme.getViewButtonFitShortcut()},e.prototype.getIconBuilder=function(){return this._editorTheme.getIconBuilder()},e.prototype.getMargin=function(){return this._editorTheme.getMargin()},e}(),_t=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(Ct),It=function(){},Vt=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return r(n,e),n.prototype.getLabel=function(e){switch(e){case t.EShapeType.CIRCLE:return"Circle";case t.EShapeType.RECTANGLE:return"Rectangle";case t.EShapeType.RECTANGLE_ROUNDED:return"Rounded Rectangle";case t.EShapeType.TRIANGLE:return"Triangle";case t.EShapeType.TRIANGLE_ROUNDED:return"Rounded Triangle";case t.EShapeType.LINE:return"Line";case t.EShapeType.IMAGE:return"Image";case t.EShapeType.IMAGE_SDF:return"SDF Image";case t.EShapeType.GROUP:return"Group";case t.EShapeType.BAR:return"Bar";case t.EShapeType.LABEL:return"Label";case t.EShapeType.NULL:return"Null";case t.EShapeType.GROUP_SHADOWED:return"Group";case t.EShapeType.LINE_OF_CIRCLES:return"Circles";case t.EShapeType.LINE_OF_RECTANGLES:return"Rectangles";case t.EShapeType.LINE_OF_RECTANGLE_ROUNDEDS:return"Rounded Rectangles";case t.EShapeType.LINE_OF_TRIANGLES:return"Triangles";case t.EShapeType.LINE_OF_TRIANGLE_ROUNDEDS:return"Rounded Triangles";case t.EShapeType.EMBEDDED:return"Graphic Piece";case t.EShapeType.EMBEDDED_LAYER:return"Embedded Layer";case t.EShapeType.BUTTON:return"Button";case t.EShapeType.RECTANGLE_PIVOTED:return"Pivoted Rectangle";case t.EShapeType.CONNECTOR_LINE:return"Line Connector";case t.EShapeType.CONNECTOR_ELBOW:return"Elbow Connector";case t.EShapeType.SEMICIRCLE:return"Semicircle";case t.EShapeType.EMBEDDED_ACCEPTOR_EDGE:return"Acceptor Edge";default:if(t.EShapeType.EXTENSION<=e)return"Extension"}return"Unknown"},n}(It),kt=function(){t.DThemes.setClass("FShapeType",Vt),t.DThemes.setClass("EShapeActionValue",bt),t.DThemes.setClass("EButtonEditor",D),t.DThemes.setClass("EButtonEditorLock",nt),t.DThemes.setClass("EButtonEditorCheck",B),t.DThemes.setClass("EButtonToolLayout",I),t.DThemes.setClass("EButtonToolFileGraphic",D),t.DThemes.setClass("EButtonToolFile",D),t.DThemes.setClass("EButtonToolShape",D),t.DThemes.setClass("EButtonView",D),t.DThemes.setClass("EDialogAction",ot),t.DThemes.setClass("EDialogCanvas",rt),t.DThemes.setClass("EDialogDataMappingValue",it),t.DThemes.setClass("EDialogDataValue",at),t.DThemes.setClass("EDialogLayer",ut),t.DThemes.setClass("EDialogSnap",lt),t.DThemes.setClass("EEditorButtonLayout",tt),t.DThemes.setClass("EEditorAction",pt),t.DThemes.setClass("EEditorCanvasLegacy",st),t.DThemes.setClass("EEditorCanvas",ht),t.DThemes.setClass("EEditorCoordinate",ct),t.DThemes.setClass("EEditorDataMapping",ft),t.DThemes.setClass("EEditorData",gt),t.DThemes.setClass("EEditorLayer",dt),t.DThemes.setClass("EEditorLayout",K),t.DThemes.setClass("EEditorPaneContent",W),t.DThemes.setClass("EEditorPane",Z),t.DThemes.setClass("EEditorSearch",Tt),t.DThemes.setClass("EEditorShape",Et),t.DThemes.setClass("EEditorSnap",mt),t.DThemes.setClass("EEditorText",St),t.DThemes.setClass("EEditorTree",Lt),t.DThemes.setClass("EEditorValidation",wt),t.DThemes.setClass("EEditor",q),t.DThemes.setClass("FGraphicEditor",At),t.DThemes.setClass("FGraphicTester",Bt),t.DThemes.setClass("FGraphicViewer",_t),t.DThemes.setClass("EShapeButton",a),t.DThemes.setClass("EEditorShapeButton",i),t.DThemes.setClass("EShapeButtonLayer",h),t.DThemes.setClass("EDialogShapeButtonLayerValue",s),t.DThemes.setClass("EEditorShapeButtonLayer",p),t.DThemes.setClass("EShapeChartLine",g),t.DThemes.setClass("EEditorShapeChartLine",f),t.DThemes.setClass("EShapeEmbeddedAcceptorEdge",y),t.DThemes.setClass("EEditorShapeEmbeddedAcceptorEdge",T),t.DThemes.setClass("EShapeInput",E),t.DThemes.setClass("EShapeTable",A),t.DThemes.setClass("EDialogShapeTableColumn",v),t.DThemes.setClass("EEditorShapeTable",b)},Ot={__proto__:null,ESubthemeDefaultEditorShapeButton:n,ESubthemeDefaultEditorShapeButtonLayer:u,ESubthemeDefaultEditorShapeChartLine:c,ESubthemeDefaultEditorShapeEmbeddedAcceptorEdge:d,ESubthemeDefaultEditorShapeTable:m,ESubthemeDefaultEnUsEditorShapeButton:i,ESubthemeDefaultEnUsEditorShapeButtonLayer:p,ESubthemeDefaultEnUsEditorShapeChartLine:f,ESubthemeDefaultEnUsEditorShapeEmbeddedAcceptorEdge:T,ESubthemeDefaultEnUsEditorShapeTable:b,EThemeDefaultButtonAmbient:D,EThemeDefaultButtonCheck:B,EThemeDefaultButtonLock:_,EThemeDefaultButtonToolLayout:I,EThemeDefaultDialogAction:V,EThemeDefaultDialogCanvas:k,EThemeDefaultDialogDataMappingValue:O,EThemeDefaultDialogDataValue:R,EThemeDefaultDialogLayer:M,EThemeDefaultDialogShapeButtonLayerValue:l,EThemeDefaultDialogShapeTableColumn:S,EThemeDefaultDialogSnap:H,EThemeDefaultEditor:q,EThemeDefaultEditorAction:N,EThemeDefaultEditorButtonLayout:tt,EThemeDefaultEditorCanvas:F,EThemeDefaultEditorCanvasLegacy:x,EThemeDefaultEditorCoordinate:G,EThemeDefaultEditorData:U,EThemeDefaultEditorDataMapping:z,EThemeDefaultEditorLayer:P,EThemeDefaultEditorLayout:K,EThemeDefaultEditorPane:Z,EThemeDefaultEditorPaneContent:W,EThemeDefaultEditorSearch:X,EThemeDefaultEditorShape:Y,EThemeDefaultEditorSnap:Q,EThemeDefaultEditorText:j,EThemeDefaultEditorTree:$,EThemeDefaultEditorValidation:J,EThemeDefaultEnUsButtonLock:nt,EThemeDefaultEnUsDialogAction:ot,EThemeDefaultEnUsDialogCanvas:rt,EThemeDefaultEnUsDialogDataMappingValue:it,EThemeDefaultEnUsDialogDataValue:at,EThemeDefaultEnUsDialogLayer:ut,EThemeDefaultEnUsDialogShapeButtonLayerValue:s,EThemeDefaultEnUsDialogShapeTableColumn:v,EThemeDefaultEnUsDialogSnap:lt,EThemeDefaultEnUsEditorAction:pt,EThemeDefaultEnUsEditorCanvas:ht,EThemeDefaultEnUsEditorCanvasLegacy:st,EThemeDefaultEnUsEditorCoordinate:ct,EThemeDefaultEnUsEditorData:gt,EThemeDefaultEnUsEditorDataMapping:ft,EThemeDefaultEnUsEditorLayer:dt,EThemeDefaultEnUsEditorSearch:Tt,EThemeDefaultEnUsEditorShape:Et,EThemeDefaultEnUsEditorSnap:mt,EThemeDefaultEnUsEditorText:St,EThemeDefaultEnUsEditorTree:Lt,EThemeDefaultEnUsEditorValidation:wt,EThemeDefaultEnUsShapeActionValue:bt,EThemeDefaultEnUsShapeButton:a,EThemeDefaultEnUsShapeButtonLayer:h,EThemeDefaultEnUsShapeChartLine:g,EThemeDefaultEnUsShapeEmbeddedAcceptorEdge:y,EThemeDefaultEnUsShapeInput:E,EThemeDefaultEnUsShapeTable:A,EThemeDefaultShapeActionValue:et,FThemeDefaultEnUsGraphicEditor:At,FThemeDefaultEnUsGraphicTester:Bt,FThemeDefaultEnUsGraphicViewer:_t,FThemeDefaultEnUsShapeType:Vt,FThemeDefaultGraphicEditor:vt,FThemeDefaultGraphicTester:Dt,FThemeDefaultGraphicViewer:Ct,FThemeDefaultShapeType:It,iconBuilder:C,loadThemeDefaultEnUsAll:kt};kt();var Rt=window;Rt.wcardinal=Rt.wcardinal||{};var Mt=Rt.wcardinal.geditor=Rt.wcardinal.geditor||{},Ht=Ot;for(var qt in Ht)Mt[qt]=Ht[qt]}(wcardinal.ui,PIXI);
//# sourceMappingURL=wcardinal-geditor-theme-default-en-us.min.js.map