fl-web-component 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -0
- package/dist/demo.html +10 -0
- package/dist/fl-web-component.common.js +316 -0
- package/dist/fl-web-component.common.js.map +1 -0
- package/dist/fl-web-component.css +1 -0
- package/dist/fl-web-component.umd.js +326 -0
- package/dist/fl-web-component.umd.js.map +1 -0
- package/dist/fl-web-component.umd.min.js +2 -0
- package/dist/fl-web-component.umd.min.js.map +1 -0
- package/package.json +47 -0
- package/packages/components/button/index.vue +22 -0
- package/packages/components/model/api/index.js +429 -0
- package/packages/components/model/api/mock/detecttree.js +58 -0
- package/packages/components/model/api/mock/getmodel-line.js +79336 -0
- package/packages/components/model/api/mock/init.js +1 -0
- package/packages/components/model/api/mock/pbstree.js +835 -0
- package/packages/components/model/api/mock/topology.json +3238 -0
- package/packages/components/model/components/TextOverTooltip/index.vue +84 -0
- package/packages/components/model/components/annotation-toolbar.vue +425 -0
- package/packages/components/model/components/check-proofing-model.vue +42 -0
- package/packages/components/model/components/clipping-type.vue +51 -0
- package/packages/components/model/components/com-dialogWrapper/Readme.md +53 -0
- package/packages/components/model/components/com-dialogWrapper/index.vue +117 -0
- package/packages/components/model/components/detect-panel.vue +327 -0
- package/packages/components/model/components/detect-tree.vue +460 -0
- package/packages/components/model/components/firstPer-panel.vue +111 -0
- package/packages/components/model/components/header-button.vue +546 -0
- package/packages/components/model/components/imageViewer/index.vue +127 -0
- package/packages/components/model/components/import-model.vue +127 -0
- package/packages/components/model/components/location-panel.vue +95 -0
- package/packages/components/model/components/measure-type.vue +59 -0
- package/packages/components/model/components/pbs-tree.vue +502 -0
- package/packages/components/model/components/proof-config.vue +80 -0
- package/packages/components/model/components/proof-for-pc.vue +123 -0
- package/packages/components/model/components/proof-history.vue +318 -0
- package/packages/components/model/components/proof-panel-detail.vue +567 -0
- package/packages/components/model/components/proof-panel.vue +770 -0
- package/packages/components/model/components/proof-project-user.vue +482 -0
- package/packages/components/model/components/proof-publish.vue +130 -0
- package/packages/components/model/components/proof-role.vue +535 -0
- package/packages/components/model/components/props-panel.vue +249 -0
- package/packages/components/model/index.vue +3413 -0
- package/packages/components/model/readme.md +31 -0
- package/packages/components/model/utils/annotation-tool.js +340 -0
- package/packages/components/model/utils/cursor.js +18 -0
- package/packages/components/model/utils/detect-v1.js +341 -0
- package/packages/components/model/utils/index.js +48 -0
- package/packages/components/model/utils/threejs/measure-angle.js +258 -0
- package/packages/components/model/utils/threejs/measure-area.js +269 -0
- package/packages/components/model/utils/threejs/measure-distance.js +207 -0
- package/packages/components/model/utils/threejs/measure-volume.js +94 -0
- package/packages/index.js +24 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
适配步骤
|
|
2
|
+
1. 依赖库在 main.js 进行注册
|
|
3
|
+
// main.js
|
|
4
|
+
//依赖 QWebChannel 库,实现组件与 pc 间通信,需在 main.js 进行注册
|
|
5
|
+
import { QWebChannel } from "@/utils/qwebchannel";
|
|
6
|
+
// 注册 three.js 库
|
|
7
|
+
import * as THREE from 'three'
|
|
8
|
+
|
|
9
|
+
Vue.prototype.THREE = THREE
|
|
10
|
+
Vue.prototype.QWebChannel = QWebChannel
|
|
11
|
+
|
|
12
|
+
2. 项目所涉及的依赖库
|
|
13
|
+
"dependencies": {
|
|
14
|
+
"camera-controls": "^2.6.0",
|
|
15
|
+
"three": "^0.138.0",
|
|
16
|
+
"three.path": "^1.0.1",
|
|
17
|
+
"lodash": "^4.17.21",
|
|
18
|
+
"konva": "^9.3.14",
|
|
19
|
+
"html2canvas": "^1.4.1",
|
|
20
|
+
"element-ui": "^2.15.3",
|
|
21
|
+
"vue": "^2.5.2",
|
|
22
|
+
},
|
|
23
|
+
3. request.js
|
|
24
|
+
关于 xhr 请求的中间件拦截器
|
|
25
|
+
4. api/config.js 适配
|
|
26
|
+
关于本地开发和线上服务区分的标识
|
|
27
|
+
api\index.js
|
|
28
|
+
|
|
29
|
+
import config from "@/api/config";
|
|
30
|
+
5. 白名单
|
|
31
|
+
proof-for-pc.vue
|
|
@@ -0,0 +1,340 @@
|
|
|
1
|
+
import Konva from "konva";
|
|
2
|
+
const className = "annotation-shape";
|
|
3
|
+
var _that = null;
|
|
4
|
+
const AnnotationTool = function(stage, layer, type, strokeWidth = 1) {
|
|
5
|
+
this.stage = stage;
|
|
6
|
+
this.layer = layer;
|
|
7
|
+
this.type = type;
|
|
8
|
+
this.strokeWidth = strokeWidth;
|
|
9
|
+
this.list = [];
|
|
10
|
+
this.currentObj = null;
|
|
11
|
+
this.isDrawing = false;
|
|
12
|
+
this.startPoints = [];
|
|
13
|
+
this.annotationList = [];
|
|
14
|
+
this.linePoints = [];
|
|
15
|
+
this.isInput = false;
|
|
16
|
+
this.color = "#FF3B2F";
|
|
17
|
+
};
|
|
18
|
+
AnnotationTool.prototype = {
|
|
19
|
+
start() {
|
|
20
|
+
_that = this;
|
|
21
|
+
this.stage.on("mousedown", this.stageMouseDown, false);
|
|
22
|
+
this.stage.on("mousemove", this.stageMouseMove, false);
|
|
23
|
+
this.stage.on("mouseup", this.stageMouseUp, false);
|
|
24
|
+
},
|
|
25
|
+
updateType(val) {
|
|
26
|
+
const { type, strokeWidth } = val;
|
|
27
|
+
this.type = type;
|
|
28
|
+
this.strokeWidth = strokeWidth;
|
|
29
|
+
},
|
|
30
|
+
updateColor(color) {
|
|
31
|
+
this.color = color;
|
|
32
|
+
},
|
|
33
|
+
stageMouseDown(e) {
|
|
34
|
+
// _that.currentObj = null
|
|
35
|
+
if (e.attrs.name === "annotation-shape" || _that.isInput) return;
|
|
36
|
+
// 左键开始
|
|
37
|
+
const mousePos = _that.stage.getPointerPosition();
|
|
38
|
+
const x = (mousePos.x - _that.stage.getX()) / _that.stage.scaleX();
|
|
39
|
+
const y = (mousePos.y - _that.stage.getY()) / _that.stage.scaleY();
|
|
40
|
+
_that.startPoints.push(x);
|
|
41
|
+
_that.startPoints.push(y);
|
|
42
|
+
switch (_that.type) {
|
|
43
|
+
case "Rect":
|
|
44
|
+
const rect = new Konva.Rect({
|
|
45
|
+
type: _that.type,
|
|
46
|
+
name: className,
|
|
47
|
+
x: x,
|
|
48
|
+
y: y,
|
|
49
|
+
width: 0,
|
|
50
|
+
height: 0,
|
|
51
|
+
stroke: _that.color,
|
|
52
|
+
strokeWidth: _that.strokeWidth,
|
|
53
|
+
draggable: true
|
|
54
|
+
});
|
|
55
|
+
rect.on("mousedown", e => {
|
|
56
|
+
e.cancelBubble = true;
|
|
57
|
+
});
|
|
58
|
+
// rect.on('mouseup', (e) => {
|
|
59
|
+
// e.cancelBubble = true;
|
|
60
|
+
// })
|
|
61
|
+
rect.on("click", e => {
|
|
62
|
+
e.cancelBubble = true;
|
|
63
|
+
if (_that.type === "Rubber") {
|
|
64
|
+
_that.rubberRemove(rect._id);
|
|
65
|
+
rect.destroy();
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
_that.annotationList.push(rect);
|
|
69
|
+
_that.layer.add(rect);
|
|
70
|
+
_that.isDrawing = true;
|
|
71
|
+
break;
|
|
72
|
+
case "Circle":
|
|
73
|
+
const circle = new Konva.Circle({
|
|
74
|
+
type: _that.type,
|
|
75
|
+
name: className,
|
|
76
|
+
x: x,
|
|
77
|
+
y: y,
|
|
78
|
+
radius: 0,
|
|
79
|
+
stroke: _that.color,
|
|
80
|
+
strokeWidth: _that.strokeWidth,
|
|
81
|
+
draggable: true
|
|
82
|
+
});
|
|
83
|
+
// circle.on('mouseup', (e) => {
|
|
84
|
+
// e.cancelBubble = true;
|
|
85
|
+
// })
|
|
86
|
+
circle.on("mousedown", e => {
|
|
87
|
+
e.cancelBubble = true;
|
|
88
|
+
});
|
|
89
|
+
circle.on("click", e => {
|
|
90
|
+
e.cancelBubble = true;
|
|
91
|
+
if (_that.type === "Rubber") {
|
|
92
|
+
_that.rubberRemove(circle._id);
|
|
93
|
+
circle.destroy();
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
_that.annotationList.push(circle);
|
|
97
|
+
_that.layer.add(circle);
|
|
98
|
+
_that.isDrawing = true;
|
|
99
|
+
break;
|
|
100
|
+
case "Line":
|
|
101
|
+
_that.linePoints = _that.linePoints.concat(_that.startPoints);
|
|
102
|
+
const line = new Konva.Line({
|
|
103
|
+
name: className,
|
|
104
|
+
type: _that.type,
|
|
105
|
+
points: [x, y],
|
|
106
|
+
stroke: _that.color,
|
|
107
|
+
strokeWidth: _that.strokeWidth,
|
|
108
|
+
lineCap: "round",
|
|
109
|
+
lineJoin: "round",
|
|
110
|
+
draggable: true
|
|
111
|
+
});
|
|
112
|
+
// line.on('mouseup', (e) => {
|
|
113
|
+
// e.cancelBubble = true;
|
|
114
|
+
// })
|
|
115
|
+
line.on("mousedown", e => {
|
|
116
|
+
e.cancelBubble = true;
|
|
117
|
+
});
|
|
118
|
+
line.on("click", e => {
|
|
119
|
+
e.cancelBubble = true;
|
|
120
|
+
if (_that.type === "Rubber") {
|
|
121
|
+
_that.rubberRemove(line._id);
|
|
122
|
+
line.destroy();
|
|
123
|
+
}
|
|
124
|
+
});
|
|
125
|
+
_that.annotationList.push(line);
|
|
126
|
+
_that.layer.add(line);
|
|
127
|
+
_that.isDrawing = true;
|
|
128
|
+
break;
|
|
129
|
+
case "Text":
|
|
130
|
+
const textNode = new Konva.Text({
|
|
131
|
+
name: className,
|
|
132
|
+
type: _that.type,
|
|
133
|
+
x: x,
|
|
134
|
+
y: y,
|
|
135
|
+
width: 200,
|
|
136
|
+
text: "",
|
|
137
|
+
fontSize: 13 + (3 * _that.strokeWidth),
|
|
138
|
+
fill: _that.color,
|
|
139
|
+
draggable: true
|
|
140
|
+
});
|
|
141
|
+
// textNode.on('mouseup', (e) => {
|
|
142
|
+
// e.cancelBubble = true;
|
|
143
|
+
// })
|
|
144
|
+
textNode.on("mousedown", e => {
|
|
145
|
+
e.cancelBubble = true;
|
|
146
|
+
});
|
|
147
|
+
textNode.on("click", e => {
|
|
148
|
+
e.cancelBubble = true;
|
|
149
|
+
if (_that.type === "Rubber") {
|
|
150
|
+
_that.rubberRemove(textNode._id);
|
|
151
|
+
textNode.destroy();
|
|
152
|
+
}
|
|
153
|
+
});
|
|
154
|
+
_that.annotationList.push(textNode);
|
|
155
|
+
_that.layer.add(textNode);
|
|
156
|
+
_that.isDrawing = true;
|
|
157
|
+
textNode.on("dblclick", () => {
|
|
158
|
+
e.cancelBubble = true;
|
|
159
|
+
_that.isInput = true;
|
|
160
|
+
textNode.hide();
|
|
161
|
+
var textPosition = textNode.absolutePosition();
|
|
162
|
+
var stageBox = _that.stage.container().getBoundingClientRect();
|
|
163
|
+
var areaPosition = {
|
|
164
|
+
x: stageBox.left + textPosition.x,
|
|
165
|
+
y: stageBox.top + textPosition.y
|
|
166
|
+
};
|
|
167
|
+
var textarea = document.createElement("textarea");
|
|
168
|
+
document.body.appendChild(textarea);
|
|
169
|
+
textarea.value = textNode.text();
|
|
170
|
+
textarea.style.position = "absolute";
|
|
171
|
+
textarea.style.top = areaPosition.y + "px";
|
|
172
|
+
textarea.style.left = areaPosition.x + "px";
|
|
173
|
+
textarea.style.width =
|
|
174
|
+
textNode.width() - textNode.padding() * 2 + "px";
|
|
175
|
+
textarea.style.height =
|
|
176
|
+
textNode.height() - textNode.padding() * 2 + 5 + "px";
|
|
177
|
+
textarea.style.fontSize = "16px"; // textNode.fontSize() + 'px'
|
|
178
|
+
textarea.style.border = "1px solid " + _that.color;
|
|
179
|
+
textarea.style.padding = "5px";
|
|
180
|
+
textarea.style.margin = "0px";
|
|
181
|
+
textarea.style.overflow = "hidden";
|
|
182
|
+
textarea.style.background = "none";
|
|
183
|
+
textarea.style.outline = "none";
|
|
184
|
+
textarea.style.resize = "none";
|
|
185
|
+
textarea.style.lineHeight = textNode.lineHeight();
|
|
186
|
+
textarea.style.fontFamily = textNode.fontFamily();
|
|
187
|
+
textarea.style.transformOrigin = "left top";
|
|
188
|
+
textarea.style.textAlign = textNode.align();
|
|
189
|
+
textarea.style.color = textNode.fill();
|
|
190
|
+
var rotation = textNode.rotation();
|
|
191
|
+
var transform;
|
|
192
|
+
if (rotation) {
|
|
193
|
+
transform += "rotateZ(" + rotation + "deg)";
|
|
194
|
+
}
|
|
195
|
+
var px = 0;
|
|
196
|
+
var isFirefox =
|
|
197
|
+
navigator.userAgent.toLowerCase().indexOf("firefox") > -1;
|
|
198
|
+
if (isFirefox) {
|
|
199
|
+
px += 2 + Math.round(20 / 20); // textNode.fontSize()
|
|
200
|
+
}
|
|
201
|
+
transform += "translateY(-" + px + "px)";
|
|
202
|
+
textarea.style.transform = transform;
|
|
203
|
+
textarea.style.height = textarea.scrollHeight + 3 + "px";
|
|
204
|
+
textarea.focus();
|
|
205
|
+
function removeTextarea() {
|
|
206
|
+
textarea.parentNode.removeChild(textarea);
|
|
207
|
+
window.removeEventListener("click", handleOutsideClick);
|
|
208
|
+
textNode.show();
|
|
209
|
+
_that.layer.draw();
|
|
210
|
+
}
|
|
211
|
+
function setTextareaWidth(newWidth) {
|
|
212
|
+
if (!newWidth) {
|
|
213
|
+
// set width for placeholder
|
|
214
|
+
newWidth = textNode.placeholder.length * textNode.fontSize();
|
|
215
|
+
}
|
|
216
|
+
// some extra fixes on different browsers
|
|
217
|
+
var isSafari = /^((?!chrome|android).)*safari/i.test(
|
|
218
|
+
navigator.userAgent
|
|
219
|
+
);
|
|
220
|
+
var isFirefox =
|
|
221
|
+
navigator.userAgent.toLowerCase().indexOf("firefox") > -1;
|
|
222
|
+
if (isSafari || isFirefox) {
|
|
223
|
+
newWidth = Math.ceil(newWidth);
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
var isEdge =
|
|
227
|
+
document.documentMode || /Edge/.test(navigator.userAgent);
|
|
228
|
+
if (isEdge) {
|
|
229
|
+
newWidth += 1;
|
|
230
|
+
}
|
|
231
|
+
textarea.style.width = newWidth + "px";
|
|
232
|
+
}
|
|
233
|
+
textarea.addEventListener("keydown", function(e) {
|
|
234
|
+
if (e.code === 13 && !e.shiftKey) {
|
|
235
|
+
textNode.text(textarea.value);
|
|
236
|
+
removeTextarea();
|
|
237
|
+
}
|
|
238
|
+
// on esc do not set value back to node
|
|
239
|
+
if (e.code === 27) {
|
|
240
|
+
removeTextarea();
|
|
241
|
+
}
|
|
242
|
+
});
|
|
243
|
+
// textarea.addEventListener('keydown', function(e) {
|
|
244
|
+
// var scale = textNode.getAbsoluteScale().x
|
|
245
|
+
// setTextareaWidth(textNode.width() * scale)
|
|
246
|
+
// textarea.style.height = 'auto'
|
|
247
|
+
// textarea.style.height =
|
|
248
|
+
// textarea.scrollHeight + textNode.fontSize() + 'px'
|
|
249
|
+
// })
|
|
250
|
+
function handleOutsideClick(e) {
|
|
251
|
+
e.stopPropagation();
|
|
252
|
+
if (e.target !== textarea) {
|
|
253
|
+
textNode.text(textarea.value);
|
|
254
|
+
removeTextarea();
|
|
255
|
+
_that.isInput = false;
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
setTimeout(() => {
|
|
259
|
+
window.addEventListener("click", handleOutsideClick);
|
|
260
|
+
});
|
|
261
|
+
});
|
|
262
|
+
break;
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
stageMouseMove(e) {
|
|
266
|
+
if (_that.isDrawing) {
|
|
267
|
+
const mousePos = _that.stage.getPointerPosition();
|
|
268
|
+
const x = (mousePos.x - _that.stage.getX()) / _that.stage.scaleX();
|
|
269
|
+
const y = (mousePos.y - _that.stage.getY()) / _that.stage.scaleY();
|
|
270
|
+
const currentObj = _that.annotationList[_that.annotationList.length - 1];
|
|
271
|
+
switch (currentObj.className) {
|
|
272
|
+
case "Rect":
|
|
273
|
+
currentObj.setAttrs({
|
|
274
|
+
width: x - _that.startPoints[0],
|
|
275
|
+
height: y - _that.startPoints[1]
|
|
276
|
+
});
|
|
277
|
+
break;
|
|
278
|
+
case "Circle":
|
|
279
|
+
let radius = 0;
|
|
280
|
+
let width = x - _that.startPoints[0] < 0 ? 0 : x - _that.startPoints[0];
|
|
281
|
+
let height = y - _that.startPoints[1] < 0? 0 : y - _that.startPoints[1];
|
|
282
|
+
if (width === height) {
|
|
283
|
+
radius = width / 2;
|
|
284
|
+
} else {
|
|
285
|
+
radius = Math.max(width, height) / 2;
|
|
286
|
+
}
|
|
287
|
+
currentObj.setAttrs({
|
|
288
|
+
radius: radius
|
|
289
|
+
});
|
|
290
|
+
break;
|
|
291
|
+
case "Line":
|
|
292
|
+
_that.linePoints.push(x);
|
|
293
|
+
_that.linePoints.push(y);
|
|
294
|
+
const points = [].concat(_that.linePoints);
|
|
295
|
+
currentObj.setPoints(points);
|
|
296
|
+
break;
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
},
|
|
300
|
+
stageMouseUp(e) {
|
|
301
|
+
_that.isDrawing = false;
|
|
302
|
+
_that.startPoints.splice(0);
|
|
303
|
+
_that.linePoints.splice(0);
|
|
304
|
+
_that.isInput = false;
|
|
305
|
+
},
|
|
306
|
+
clear() {
|
|
307
|
+
this.annotationList.forEach(item => {
|
|
308
|
+
item.destroy();
|
|
309
|
+
});
|
|
310
|
+
this.annotationList.splice(0);
|
|
311
|
+
},
|
|
312
|
+
clearLayer() {
|
|
313
|
+
this.clear();
|
|
314
|
+
|
|
315
|
+
const items = this.stage.getLayers()[0].destroyChildren();
|
|
316
|
+
},
|
|
317
|
+
rubberRemove(id) {
|
|
318
|
+
const l = this.annotationList.length;
|
|
319
|
+
for (let index = 0; index < l; index++) {
|
|
320
|
+
if (id === this.annotationList[index]._id) {
|
|
321
|
+
this.annotationList.splice(index, 1);
|
|
322
|
+
break;
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
},
|
|
326
|
+
destroy() {
|
|
327
|
+
this.annotationList.forEach(item => {
|
|
328
|
+
item.off("mousedown");
|
|
329
|
+
// item.off('mouseup')
|
|
330
|
+
item.off("mousemove");
|
|
331
|
+
item.destroy();
|
|
332
|
+
});
|
|
333
|
+
this.stage.off("mousedown");
|
|
334
|
+
this.stage.off("mouseup");
|
|
335
|
+
this.stage.off("mousemove");
|
|
336
|
+
}
|
|
337
|
+
};
|
|
338
|
+
export default {
|
|
339
|
+
AnnotationTool
|
|
340
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* @Author: FYang
|
|
3
|
+
* @Date: 2023-05-25 10:55:15
|
|
4
|
+
* @LastEditTime: 2023-06-15 14:11:14
|
|
5
|
+
* @Description:
|
|
6
|
+
* @FilePath: \dmp-ui\src\views\system\drawing-display\components\cursor.js
|
|
7
|
+
*/
|
|
8
|
+
let cursors={
|
|
9
|
+
pen:'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAACd0lEQVRYR+2WT2gTQRTGv7eb9JLkmPoHvHkQLy2i94o0KMiyMxgRbwrmpigeFBUJFPHiRegpgiLiQZbMTFoR/4AX7UVQCD14EfGcQkGFiia7T0Yq1HWTbLeGgnSOszPv9/HNex9L2ORFm8zHloD/1gHyff8cEZ0EEAIIyuXybKPR6MZ7biQOCCEaAM6shRHRrFLq7MgF+L5/nIgexUHMHOXz+XIQBMt/CPuXY+h53m7Xdd8BKPWpO6m1bo9EQLVaHet2uwtEtL8P/HMul9sRBMG3kQjwff8WEV3sA2cAp7TW90fSA0KIwwCeAInBxsx8wRhzO0nchqdACDEeRVHbcZztCQA7gjWt9d1+vbYhAfV63Wm3208BTCcAekR0Win1YFCjb0iAEOIygJsJgB9EdEIppYdNWWYBUsoDzPwawFgMssLMwhjzfBjcfs8sQAjRBCBjkC9RFB1ttVqv0sBTC6hUKoVisSiZeS8RPVZKLQghbNTayP29lpn5iDHmTVp4KgGrVhsAO1cLv9RaH7LuSSlvMPN5AF8BVOIpl0bIwCeoVqvlXq+3CGDbmmI2VI5prZXdm5qaypVKpbH5+fmVNMB1BZGUcoaZr8UvMXPXcZx7RHSn2Wy+BWBFZVp9HajVavmlpaVPa6xPBBDRdaXUTCZ6vynwPK/kuu4lAFeHFWbmK8aYpCwYdvXX978ckFLuY2Zra9plm+9F2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RrvvPAumXC6Px3H8zZ17wcw3+wVYs86O4/hrq9U6n5XwoH1jjAUYB7DGzOf6BfgF4DiAZWa+NgiA1nqFiKYA/GbmE4MCrDDz9CEBfjLz7qvoXmke2L2CtPJlQRljMjVymVBExqIosi0297KNyfO87wObUGs9S0SvncATZr6TOzsA3/efikjFPeMgDMOkoe2TyWpEn12f7yilppvN5vs8EK4bLieNqFgsXqjX6+2+PGAPG2N8AE0XuK2UCrIgXPI3AE65OM3MrV7gmcPIGFMDMOcEbEt+LiK1bk8cNIzs+A7DcDGtapkA1WpVra6uPgAw3yVkm4w1ZjKObcP5t2zyiYmJ+4cex4mi1lorpWr2RaT+I6J1EZlLK/s+0DymSs5UKpXC1taWBjATx/FlpdTuJ1kcx5tKqY9EFBWLxVYvw/Vtwn7gBj2b6YFBhfPGDQGGFfgLW7AHMIfxtKYAAAAASUVORK5CYII=',
|
|
12
|
+
trangle:'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAl0lEQVRYR+2WsQ2DMBBF/w1BaLIIW/gKGJIU31uwCJUzhFGKVIAEjiUr0nd/95+f5DsbGh9rnA8ByIAMnBoIISQz62o805zzO8b4OOp1CuDuuUb4twfJw6wrACuApRBmAPD81P4C8CI5lQC4+wxgFIAMyIAM/L2B5qO4ZArvam7vgprrGEAi2d9ax1WufaGJvmQyIAPNDWzonXsh3WqxKQAAAABJRU5ErkJggg==',
|
|
13
|
+
eraser:'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAA1hJREFUWEfFl09oXUUUxr/vPkzARRFcumhdVGgV8t7MJBFaaC30z0YQMW1AUWyhXVWlYmm7aLWbtiQNFboqoqUFgy1VFBcuuhDRJu2bM0kIRsFkJS7ctC9dNLwQ7pGBtDxe3p9734t04G7uPef7fvfMzJl7iac82I2/c25nzPfe/9ypTscAxphxksOrxlfTNB2ZmpqaywvSEYAx5n2SX9aZV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