更新logicflow包

This commit is contained in:
Jam committed 2022-11-28 14:55:01 +08:00
1 parent e78ebb747d
commit 2583575725
113 files changed
+41211 -588

No files matched your search

@@ -23,6 +23,22 @@ var __assign = (this && this.__assign) || function () {
};
return __assign.apply(this, arguments);
};
var __read = (this && this.__read) || function (o, n) {
var m = typeof Symbol === "function" && o[Symbol.iterator];
if (!m) return o;
var i = m.call(o), r, ar = [], e;
try {
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
}
catch (error) { e = { error: error }; }
finally {
try {
if (r && !r.done && (m = i["return"])) m.call(i);
}
finally { if (e) throw e.error; }
}
return ar;
};
Object.defineProperty(exports, "__esModule", { value: true });
var preact_1 = require("preact");
var core_1 = require("@logicflow/core");
@@ -43,8 +59,64 @@ var Control = /** @class */ (function (_super) {
};
// 计算control拖动后,节点的宽高
_this.getResize = function (_a) {
var index = _a.index, deltaX = _a.deltaX, deltaY = _a.deltaY, width = _a.width, height = _a.height, _b = _a.pct, pct = _b === void 0 ? 1 : _b;
var resize = { width: width, height: height };
var index = _a.index, deltaX = _a.deltaX, deltaY = _a.deltaY, width = _a.width, height = _a.height, PCTResizeInfo = _a.PCTResizeInfo, _b = _a.pct, pct = _b === void 0 ? 1 : _b;
var resize = { width: width, height: height, deltaX: deltaX, deltaY: deltaY };
if (PCTResizeInfo) {
var sensitivity = 4; // 越低越灵敏
var deltaScale = 0;
var combineDleta = 0;
switch (index) {
case 0:
combineDleta = (deltaX * -1 - deltaY) / sensitivity;
break;
case 1:
combineDleta = (deltaX - deltaY) / sensitivity;
break;
case 2:
combineDleta = (deltaX + deltaY) / sensitivity;
break;
case 3:
combineDleta = (deltaX * -1 + deltaY) / sensitivity;
break;
default:
break;
}
if (combineDleta !== 0) {
deltaScale = Math.round((combineDleta / PCTResizeInfo.ResizeBasis.basisHeight)
* 100000) / 1000;
}
PCTResizeInfo.ResizePCT.widthPCT = Math.max(Math.min(PCTResizeInfo.ResizePCT.widthPCT + deltaScale, PCTResizeInfo.ScaleLimit.maxScaleLimit), PCTResizeInfo.ScaleLimit.minScaleLimit);
PCTResizeInfo.ResizePCT.hightPCT = Math.max(Math.min(PCTResizeInfo.ResizePCT.hightPCT + deltaScale, PCTResizeInfo.ScaleLimit.maxScaleLimit), PCTResizeInfo.ScaleLimit.minScaleLimit);
var spcWidth = Math.round((PCTResizeInfo.ResizePCT.widthPCT
* PCTResizeInfo.ResizeBasis.basisWidth) / 100);
var spcHeight = Math.round((PCTResizeInfo.ResizePCT.hightPCT
* PCTResizeInfo.ResizeBasis.basisHeight) / 100);
switch (index) {
case 0:
deltaX = width - spcWidth;
deltaY = height - spcHeight;
break;
case 1:
deltaX = spcWidth - width;
deltaY = height - spcHeight;
break;
case 2:
deltaX = spcWidth - width;
deltaY = spcHeight - height;
break;
case 3:
deltaX = width - spcWidth;
deltaY = spcHeight - height;
break;
default:
break;
}
resize.width = spcWidth;
resize.height = spcHeight;
resize.deltaX = deltaX / pct;
resize.deltaY = deltaY / pct;
return resize;
}
switch (index) {
case 0:
resize.width = width - deltaX * pct;
@@ -55,7 +127,7 @@ var Control = /** @class */ (function (_super) {
resize.height = height - deltaY * pct;
break;
case 2:
resize.width = width + deltaX;
resize.width = width + deltaX * pct;
resize.height = height + deltaY * pct;
break;
case 3:
@@ -70,7 +142,7 @@ var Control = /** @class */ (function (_super) {
// 矩形更新
_this.updateRect = function (_a) {
var deltaX = _a.deltaX, deltaY = _a.deltaY;
var _b = _this.nodeModel, id = _b.id, x = _b.x, y = _b.y, width = _b.width, height = _b.height, radius = _b.radius;
var _b = _this.nodeModel, id = _b.id, x = _b.x, y = _b.y, width = _b.width, height = _b.height, radius = _b.radius, PCTResizeInfo = _b.PCTResizeInfo;
// 更新中心点位置,更新文案位置
var index = _this.index;
var size = _this.getResize({
@@ -79,6 +151,7 @@ var Control = /** @class */ (function (_super) {
deltaY: deltaY,
width: width,
height: height,
PCTResizeInfo: PCTResizeInfo,
pct: 1,
});
// 限制放大缩小的最大最小范围
@@ -91,7 +164,7 @@ var Control = /** @class */ (function (_super) {
_this.dragHandler.cancelDrag();
return;
}
_this.updatePosition({ deltaX: deltaX, deltaY: deltaY });
_this.updatePosition({ deltaX: size.deltaX, deltaY: size.deltaY });
// 更新宽高
_this.nodeModel.width = size.width;
_this.nodeModel.height = size.height;
@@ -138,7 +211,7 @@ var Control = /** @class */ (function (_super) {
// 椭圆更新
_this.updateEllipse = function (_a) {
var deltaX = _a.deltaX, deltaY = _a.deltaY;
var _b = _this.nodeModel, id = _b.id, rx = _b.rx, ry = _b.ry, x = _b.x, y = _b.y;
var _b = _this.nodeModel, id = _b.id, rx = _b.rx, ry = _b.ry, x = _b.x, y = _b.y, PCTResizeInfo = _b.PCTResizeInfo;
var index = _this.index;
var width = rx;
var height = ry;
@@ -148,6 +221,7 @@ var Control = /** @class */ (function (_super) {
deltaY: deltaY,
width: width,
height: height,
PCTResizeInfo: PCTResizeInfo,
pct: 1 / 2,
});
// 限制放大缩小的最大最小范围
@@ -160,12 +234,12 @@ var Control = /** @class */ (function (_super) {
return;
}
// 更新中心点位置,更新文案位置
_this.updatePosition({ deltaX: deltaX, deltaY: deltaY });
_this.updatePosition({ deltaX: size.deltaX, deltaY: size.deltaY });
// 更新rx ry,宽高为计算属性自动更新
// @ts-ignore
_this.nodeModel.rx = _this.nodeModel.rx + deltaX / 2;
_this.nodeModel.rx = size.width;
// @ts-ignore
_this.nodeModel.ry = _this.nodeModel.ry + deltaY / 2;
_this.nodeModel.ry = size.height;
_this.nodeModel.setProperties({
nodeSize: {
rx: size.width,
@@ -202,7 +276,7 @@ var Control = /** @class */ (function (_super) {
// 菱形更新
_this.updateDiamond = function (_a) {
var deltaX = _a.deltaX, deltaY = _a.deltaY;
var _b = _this.nodeModel, id = _b.id, rx = _b.rx, ry = _b.ry, x = _b.x, y = _b.y;
var _b = _this.nodeModel, id = _b.id, rx = _b.rx, ry = _b.ry, x = _b.x, y = _b.y, PCTResizeInfo = _b.PCTResizeInfo;
var index = _this.index;
var width = rx;
var height = ry;
@@ -212,6 +286,7 @@ var Control = /** @class */ (function (_super) {
deltaY: deltaY,
width: width,
height: height,
PCTResizeInfo: PCTResizeInfo,
pct: 1 / 2,
});
// 限制放大缩小的最大最小范围
@@ -224,12 +299,12 @@ var Control = /** @class */ (function (_super) {
return;
}
// 更新中心点位置,更新文案位置
_this.updatePosition({ deltaX: deltaX, deltaY: deltaY });
_this.updatePosition({ deltaX: size.deltaX, deltaY: size.deltaY });
// 更新rx ry,宽高为计算属性自动更新
// @ts-ignore
_this.nodeModel.rx = _this.nodeModel.rx + deltaX / 2;
_this.nodeModel.rx = size.width;
// @ts-ignore
_this.nodeModel.ry = _this.nodeModel.ry + deltaY / 2;
_this.nodeModel.ry = size.height;
_this.nodeModel.setProperties({
nodeSize: {
rx: size.width,
@@ -271,8 +346,11 @@ var Control = /** @class */ (function (_super) {
_this.graphModel.eventCenter.emit('node:resize', { oldNodeSize: oldNodeSize, newNodeSize: newNodeSize });
};
_this.onDraging = function (_a) {
var _b;
var deltaX = _a.deltaX, deltaY = _a.deltaY;
var transformModel = _this.graphModel.transformModel;
var modelType = _this.nodeModel.modelType;
_b = __read(transformModel.fixDeltaXY(deltaX, deltaY), 2), deltaX = _b[0], deltaY = _b[1];
// html和矩形的计算方式是一样的,共用一个方法
if (modelType === Util_1.ModelType.RECT_NODE || modelType === Util_1.ModelType.HTML_NODE) {
_this.updateRect({ deltaX: deltaX, deltaY: deltaY });
@@ -285,23 +363,32 @@ var Control = /** @class */ (function (_super) {
_this.updateDiamond({ deltaX: deltaX, deltaY: deltaY });
}
};
/**
* 由于将拖拽放大缩小改成丝滑模式,这个时候需要在拖拽结束的时候,将节点的位置更新到grid上.
*/
_this.onDragEnd = function () {
var _a = _this.graphModel.gridSize, gridSize = _a === void 0 ? 1 : _a;
var x = gridSize * Math.round(_this.nodeModel.x / gridSize);
var y = gridSize * Math.round(_this.nodeModel.y / gridSize);
_this.nodeModel.moveTo(x, y);
};
_this.index = props.index;
_this.nodeModel = props.model;
_this.graphModel = props.graphModel;
var gridSize = _this.graphModel.gridSize;
// 为保证对齐线功能正常使用,step默认是网格grid的两倍,
// 没有网格设置,默认为2,保证坐标是整数
var step = 2;
if (gridSize > 1) {
step = 2 * gridSize;
}
if (_this.nodeModel.gridSize) {
step = 2 * _this.nodeModel.gridSize;
}
// let step = 2;
// if (gridSize > 1) {
// step = 2 * gridSize;
// }
// if (this.nodeModel.gridSize) {
// step = 2 * this.nodeModel.gridSize;
// }
_this.state = {};
_this.dragHandler = new StepDrag({
onDraging: _this.onDraging,
step: step,
onDragEnd: _this.onDragEnd,
step: 1,
});
return _this;
}
@@ -48,6 +48,9 @@ var DiamondResizeModel = /** @class */ (function (_super) {
};
DiamondResizeModel.prototype.getOutlineStyle = function () {
var style = _super.prototype.getOutlineStyle.call(this);
var isSilentMode = this.graphModel.editConfigModel.isSilentMode;
if (isSilentMode)
return style;
style.stroke = 'none';
if (style.hover) {
style.hover.stroke = 'none';
@@ -69,6 +72,22 @@ var DiamondResizeModel = /** @class */ (function (_super) {
stroke: '#000000',
};
};
// 该方法需要在重设宽高和最大、最小限制后被调用,不建议在 initNodeData() 方法中使用
DiamondResizeModel.prototype.enableProportionResize = function (turnOn) {
if (turnOn === void 0) { turnOn = true; }
if (turnOn) {
var ResizePCT = { widthPCT: 100, hightPCT: 100 };
var ResizeBasis = { basisWidth: this.rx, basisHeight: this.ry };
var ScaleLimit = {
maxScaleLimit: Math.min((this.maxWidth / (this.rx * 2)) * 100, (this.maxHeight / (this.ry * 2)) * 100),
minScaleLimit: Math.max((this.minWidth / (this.rx * 2)) * 100, (this.minHeight / (this.ry * 2)) * 100),
};
this.PCTResizeInfo = { ResizePCT: ResizePCT, ResizeBasis: ResizeBasis, ScaleLimit: ScaleLimit };
}
else {
delete this.PCTResizeInfo;
}
};
return DiamondResizeModel;
}(core_1.DiamondNodeModel));
var DiamondResizeView = /** @class */ (function (_super) {
@@ -89,10 +108,10 @@ var DiamondResizeView = /** @class */ (function (_super) {
core_1.h(Polygon_1.default, __assign({}, style, { points: points }))));
};
DiamondResizeView.prototype.getShape = function () {
var isSelected = this.props.model.isSelected;
var _a = this.props, isSelected = _a.model.isSelected, isSilentMode = _a.graphModel.editConfigModel.isSilentMode;
return (core_1.h("g", null,
this.getResizeShape(),
isSelected ? this.getControlGroup() : ''));
isSelected && !isSilentMode ? this.getControlGroup() : ''));
};
return DiamondResizeView;
}(core_1.DiamondNode));
@@ -35,6 +35,9 @@ var EllipseResizeModel = /** @class */ (function (_super) {
};
EllipseResizeModel.prototype.getOutlineStyle = function () {
var style = _super.prototype.getOutlineStyle.call(this);
var isSilentMode = this.graphModel.editConfigModel.isSilentMode;
if (isSilentMode)
return style;
style.stroke = 'none';
if (style.hover) {
style.hover.stroke = 'none';
@@ -56,6 +59,22 @@ var EllipseResizeModel = /** @class */ (function (_super) {
stroke: '#000000',
};
};
// 该方法需要在重设宽高和最大、最小限制后被调用,不建议在 initNodeData() 方法中使用
EllipseResizeModel.prototype.enableProportionResize = function (turnOn) {
if (turnOn === void 0) { turnOn = true; }
if (turnOn) {
var ResizePCT = { widthPCT: 100, hightPCT: 100 };
var ResizeBasis = { basisWidth: this.rx, basisHeight: this.ry };
var ScaleLimit = {
maxScaleLimit: Math.min((this.maxWidth / (this.rx * 2)) * 100, (this.maxHeight / (this.ry * 2)) * 100),
minScaleLimit: Math.max((this.minWidth / (this.rx * 2)) * 100, (this.minHeight / (this.ry * 2)) * 100),
};
this.PCTResizeInfo = { ResizePCT: ResizePCT, ResizeBasis: ResizeBasis, ScaleLimit: ScaleLimit };
}
else {
delete this.PCTResizeInfo;
}
};
return EllipseResizeModel;
}(core_1.EllipseNodeModel));
var EllipseResizeView = /** @class */ (function (_super) {
@@ -72,10 +91,10 @@ var EllipseResizeView = /** @class */ (function (_super) {
return _super.prototype.getShape.call(this);
};
EllipseResizeView.prototype.getShape = function () {
var model = this.props.model;
var _a = this.props, model = _a.model, isSilentMode = _a.graphModel.editConfigModel.isSilentMode;
return (core_1.h("g", null,
this.getResizeShape(),
model.isSelected ? this.getControlGroup() : ''));
model.isSelected && !isSilentMode ? this.getControlGroup() : ''));
};
return EllipseResizeView;
}(core_1.EllipseNode));
@@ -35,6 +35,9 @@ var HtmlResizeModel = /** @class */ (function (_super) {
};
HtmlResizeModel.prototype.getOutlineStyle = function () {
var style = _super.prototype.getOutlineStyle.call(this);
var isSilentMode = this.graphModel.editConfigModel.isSilentMode;
if (isSilentMode)
return style;
style.stroke = 'none';
if (style.hover) {
style.hover.stroke = 'none';
@@ -56,6 +59,22 @@ var HtmlResizeModel = /** @class */ (function (_super) {
stroke: '#000000',
};
};
// 该方法需要在重设宽高和最大、最小限制后被调用,不建议在 initNodeData() 方法中使用
HtmlResizeModel.prototype.enableProportionResize = function (turnOn) {
if (turnOn === void 0) { turnOn = true; }
if (turnOn) {
var ResizePCT = { widthPCT: 100, hightPCT: 100 };
var ResizeBasis = { basisWidth: this.width, basisHeight: this.height };
var ScaleLimit = {
maxScaleLimit: Math.min((this.maxWidth / this.width) * 100, (this.maxHeight / this.height) * 100),
minScaleLimit: Math.max((this.minWidth / this.width) * 100, (this.minHeight / this.height) * 100),
};
this.PCTResizeInfo = { ResizePCT: ResizePCT, ResizeBasis: ResizeBasis, ScaleLimit: ScaleLimit };
}
else {
delete this.PCTResizeInfo;
}
};
return HtmlResizeModel;
}(core_1.HtmlNodeModel));
var HtmlResizeView = /** @class */ (function (_super) {
@@ -72,10 +91,10 @@ var HtmlResizeView = /** @class */ (function (_super) {
return _super.prototype.getShape.call(this);
};
HtmlResizeView.prototype.getShape = function () {
var isSelected = this.props.model.isSelected;
var _a = this.props, isSelected = _a.model.isSelected, isSilentMode = _a.graphModel.editConfigModel.isSilentMode;
return (core_1.h("g", null,
this.getResizeShape(),
isSelected ? this.getControlGroup() : ''));
isSelected && !isSilentMode ? this.getControlGroup() : ''));
};
return HtmlResizeView;
}(core_1.HtmlNode));
@@ -35,6 +35,9 @@ var RectResizeModel = /** @class */ (function (_super) {
};
RectResizeModel.prototype.getOutlineStyle = function () {
var style = _super.prototype.getOutlineStyle.call(this);
var isSilentMode = this.graphModel.editConfigModel.isSilentMode;
if (isSilentMode)
return style;
style.stroke = 'none';
if (style.hover) {
style.hover.stroke = 'none';
@@ -60,6 +63,22 @@ var RectResizeModel = /** @class */ (function (_super) {
RectResizeModel.prototype.resize = function (deltaX, deltaY) {
console.log(deltaX, deltaY);
};
// 该方法需要在重设宽高和最大、最小限制后被调用,不建议在 initNodeData() 方法中使用
RectResizeModel.prototype.enableProportionResize = function (turnOn) {
if (turnOn === void 0) { turnOn = true; }
if (turnOn) {
var ResizePCT = { widthPCT: 100, hightPCT: 100 };
var ResizeBasis = { basisWidth: this.width, basisHeight: this.height };
var ScaleLimit = {
maxScaleLimit: Math.min((this.maxWidth / this.width) * 100, (this.maxHeight / this.height) * 100),
minScaleLimit: Math.max((this.minWidth / this.width) * 100, (this.minHeight / this.height) * 100),
};
this.PCTResizeInfo = { ResizePCT: ResizePCT, ResizeBasis: ResizeBasis, ScaleLimit: ScaleLimit };
}
else {
delete this.PCTResizeInfo;
}
};
return RectResizeModel;
}(core_1.RectNodeModel));
var RectResizeView = /** @class */ (function (_super) {
@@ -76,10 +95,10 @@ var RectResizeView = /** @class */ (function (_super) {
return _super.prototype.getShape.call(this);
};
RectResizeView.prototype.getShape = function () {
var isSelected = this.props.model.isSelected;
var _a = this.props, isSelected = _a.model.isSelected, isSilentMode = _a.graphModel.editConfigModel.isSilentMode;
return (core_1.h("g", null,
this.getResizeShape(),
isSelected ? this.getControlGroup() : ''));
isSelected && !isSilentMode ? this.getControlGroup() : ''));
};
return RectResizeView;
}(core_1.RectNode));
@@ -0,0 +1,187 @@
"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
var __read = (this && this.__read) || function (o, n) {
var m = typeof Symbol === "function" && o[Symbol.iterator];
if (!m) return o;
var i = m.call(o), r, ar = [], e;
try {
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
}
catch (error) { e = { error: error }; }
finally {
try {
if (r && !r.done && (m = i["return"])) m.call(i);
}
finally { if (e) throw e.error; }
}
return ar;
};
var __spread = (this && this.__spread) || function () {
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));
return ar;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.Highlight = void 0;
// 后续并入FlowPath
var getPath = function (id, lf) {
var el = lf.getModelById(id);
return getNodePath(el.BaseType === 'node' ? el : el.targetNode, lf);
};
// dfs + 动态规划
// todo 算法优化
var getNodePath = function (node, lf) {
var incomingPaths = [];
var outgoingPaths = [];
var getIncomingPaths = function (curNode, path, prevNode) {
if (prevNode === void 0) { prevNode = null; }
if (prevNode) {
// * 上个节点和当前节点中间边
path.unshift.apply(path, __spread(lf
.getEdgeModels({
sourceNodeId: curNode.id,
targetNodeId: prevNode.id,
})
.map(function (item) { return item.id; })));
}
// * 路径中存在节点,则不再继续查找,说明出现环情况
if (path.includes(curNode.id)) {
incomingPaths.push(path);
return;
}
// * 路径中当前加入节点
path.unshift(curNode.id);
if (!curNode.incoming.nodes.length) {
incomingPaths.push(path);
return;
}
// * 往下找
curNode.incoming.nodes.forEach(function (nextNode) {
getIncomingPaths(nextNode, path.slice(), curNode);
});
};
// * 同上逻辑
var getOutgoingPaths = function (curNode, path, prevNode) {
if (prevNode === void 0) { prevNode = null; }
if (prevNode) {
path.push.apply(path, __spread(lf
.getEdgeModels({
sourceNodeId: prevNode.id,
targetNodeId: curNode.id,
})
.map(function (item) { return item.id; })));
}
if (path.includes(curNode.id)) {
outgoingPaths.push(path);
return;
}
path.push(curNode.id);
if (!curNode.outgoing.nodes.length) {
outgoingPaths.push(path);
return;
}
curNode.outgoing.nodes.forEach(function (nextNode) {
getOutgoingPaths(nextNode, path.slice(), curNode);
});
};
getIncomingPaths(node, []);
getOutgoingPaths(node, []);
return __spread(new Set(__spread(incomingPaths.flat(), outgoingPaths.flat())));
};
var Highlight = /** @class */ (function () {
function Highlight(_a) {
var lf = _a.lf;
this.mode = 'path';
this.manual = false;
this.tempStyles = {};
this.lf = lf;
}
Highlight.prototype.setMode = function (mode) {
this.mode = mode;
};
Highlight.prototype.setManual = function (manual) {
this.manual = manual;
};
Highlight.prototype.highlightSingle = function (id) {
var model = this.lf.getModelById(id);
if (model.BaseType === 'node') {
// 高亮节点
model.updateStyles(this.tempStyles[id]);
}
else if (model.BaseType === 'edge') {
// 高亮边及对应的节点
model.updateStyles(this.tempStyles[id]);
model.sourceNode.updateStyles(this.tempStyles[model.sourceNode.id]);
model.targetNode.updateStyles(this.tempStyles[model.targetNode.id]);
}
};
Highlight.prototype.highlightPath = function (id) {
var _this = this;
var path = getPath(id, this.lf);
path.forEach(function (_id) {
// 高亮路径上所有的边和节点
_this.lf.getModelById(_id).updateStyles(_this.tempStyles[_id]);
});
};
Highlight.prototype.highlight = function (id, mode) {
var _this = this;
if (mode === void 0) { mode = this.mode; }
if (this.manual)
return;
if (Object.keys(this.tempStyles).length) {
this.restoreHighlight();
}
Object.values(this.lf.graphModel.modelsMap).forEach(function (item) {
// 所有节点样式都进行备份
// eslint-disable-next-line operator-linebreak
var oStyle = item.BaseType === 'node' ? item.getNodeStyle() : item.getEdgeStyle();
_this.tempStyles[item.id] = __assign({}, oStyle);
// 所有节点都设置透明度为0.1
item.setStyles({ opacity: 0.1 });
});
var modeTrigger = {
single: this.highlightSingle.bind(this),
path: this.highlightPath.bind(this),
};
modeTrigger[mode](id);
};
Highlight.prototype.restoreHighlight = function () {
var _this = this;
// 恢复所有节点的样式
if (!Object.keys(this.tempStyles).length)
return;
Object.values(this.lf.graphModel.modelsMap).forEach(function (item) {
var _a;
var oStyle = (_a = _this.tempStyles[item.id]) !== null && _a !== void 0 ? _a : {};
item.updateStyles(__assign({}, oStyle));
});
this.tempStyles = {};
};
Highlight.prototype.render = function (lf, domContainer) {
var _this = this;
this.lf.on('node:mouseenter', function (_a) {
var data = _a.data;
return _this.highlight(data.id);
});
this.lf.on('edge:mouseenter', function (_a) {
var data = _a.data;
return _this.highlight(data.id);
});
this.lf.on('node:mouseleave', this.restoreHighlight.bind(this));
this.lf.on('edge:mouseleave', this.restoreHighlight.bind(this));
this.lf.on('history:change', this.restoreHighlight.bind(this));
};
Highlight.prototype.destroy = function () { };
Highlight.pluginName = 'highlight';
return Highlight;
}());
exports.Highlight = Highlight;
@@ -64,12 +64,17 @@ var MiniMap = /** @class */ (function () {
y: e.y,
};
};
this.__drag = function (e) {
this.moveViewport = function (top, left) {
var viewStyle = _this.__viewport.style;
_this.__viewPortTop += e.y - _this.__startPosition.y;
_this.__viewPortLeft += e.x - _this.__startPosition.x;
_this.__viewPortTop = top;
_this.__viewPortLeft = left;
viewStyle.top = _this.__viewPortTop + "px";
viewStyle.left = _this.__viewPortLeft + "px";
};
this.__drag = function (e) {
var top = _this.__viewPortTop + e.y - _this.__startPosition.y;
var left = _this.__viewPortLeft + e.x - _this.__startPosition.x;
_this.moveViewport(top, left);
_this.__startPosition = {
x: e.x,
y: e.y,
@@ -88,6 +93,21 @@ var MiniMap = /** @class */ (function () {
this.__drop = function () {
document.removeEventListener('mousemove', _this.__drag);
document.removeEventListener('mouseup', _this.__drop);
var top = _this.__viewPortTop;
var left = _this.__viewPortLeft;
if (_this.__viewPortLeft > _this.__width) {
left = _this.__width - _this.__viewPortWidth;
}
if (_this.__viewPortTop > _this.__height) {
top = _this.__height - _this.__viewPortHeight;
}
if (_this.__viewPortLeft < -_this.__width) {
left = 0;
}
if (_this.__viewPortTop < -_this.__height) {
top = 0;
}
_this.moveViewport(top, left);
};
this.__lf = lf;
this.__miniMapWidth = lf.graphModel.width;
@@ -103,6 +123,11 @@ var MiniMap = /** @class */ (function () {
_this.__setView();
}
});
this.__lf.on('blank:drop', function () {
if (_this.__isShow) {
_this.__setView();
}
});
};
MiniMap.prototype.init = function (option) {
this.__disabledPlugins = this.__disabledPlugins.concat(option.disabledPlugins || []);
@@ -306,7 +331,7 @@ var MiniMap = /** @class */ (function () {
var graphRatio = (this.__lf.graphModel.width / this.__lf.graphModel.height);
var realViewPortHeight = realViewPortWidth / graphRatio;
this.__viewPortTop = TRANSLATE_Y > 0 ? 0 : -TRANSLATE_Y * scale;
this.__viewPortLeft = -TRANSLATE_X * scale;
this.__viewPortLeft = TRANSLATE_X > 0 ? 0 : -TRANSLATE_X * scale;
this.__viewPortWidth = realViewPortWidth;
this.__viewPortHeight = realViewPortHeight;
viewStyle.top = this.__viewPortTop + "px";
@@ -6,7 +6,7 @@ var SelectionSelect = /** @class */ (function () {
var _this = this;
var lf = _a.lf;
this.__disabled = false;
this.isDefalutStopMoveGraph = false;
this.isDefaultStopMoveGraph = false;
this.isWholeNode = true;
this.isWholeEdge = true;
this.__draw = function (ev) {
@@ -34,6 +34,7 @@ var SelectionSelect = /** @class */ (function () {
this.__drawOff = function () {
document.removeEventListener('mousemove', _this.__draw);
document.removeEventListener('mouseup', _this.__drawOff);
_this.wrapper.oncontextmenu = null;
_this.__domContainer.removeChild(_this.wrapper);
var _a = _this.startPoint, x = _a.x, y = _a.y;
var _b = _this.endPoint, x1 = _b.x, y1 = _b.y;
@@ -43,16 +44,20 @@ var SelectionSelect = /** @class */ (function () {
}
var lt = [Math.min(x, x1), Math.min(y, y1)];
var rt = [Math.max(x, x1), Math.max(y, y1)];
var elements = _this.lf.getAreaElement(lt, rt, _this.isWholeEdge, _this.isWholeNode);
var elements = _this.lf.graphModel.getAreaElement(lt, rt, _this.isWholeEdge, _this.isWholeNode, true);
var group = _this.lf.graphModel.group;
elements.forEach(function (element) {
_this.lf.selectElementById(element.id, true);
// 如果节点属于分组,则不不选中节点
if (!group || !group.getNodeGroup(element.id)) {
_this.lf.selectElementById(element.id, true);
}
});
_this.lf.emit('selection:selected', elements);
};
this.lf = lf;
// 初始化isDefalutStopMoveGraph取值
// 初始化isDefaultStopMoveGraph取值
var stopMoveGraph = lf.getEditConfig().stopMoveGraph;
this.isDefalutStopMoveGraph = stopMoveGraph;
this.isDefaultStopMoveGraph = stopMoveGraph;
lf.openSelectionSelect = function () {
_this.openSelectionSelect();
};
@@ -75,6 +80,9 @@ var SelectionSelect = /** @class */ (function () {
_this.endPoint = { x: x, y: y };
var wrapper = document.createElement('div');
wrapper.className = 'lf-selection-select';
wrapper.oncontextmenu = function prevent(ev) {
ev.preventDefault();
};
wrapper.style.top = _this.startPoint.y + "px";
wrapper.style.left = _this.startPoint.x + "px";
domContainer.appendChild(wrapper);
@@ -100,7 +108,7 @@ var SelectionSelect = /** @class */ (function () {
SelectionSelect.prototype.openSelectionSelect = function () {
var stopMoveGraph = this.lf.getEditConfig().stopMoveGraph;
if (!stopMoveGraph) {
this.isDefalutStopMoveGraph = false;
this.isDefaultStopMoveGraph = false;
this.lf.updateEditConfig({
stopMoveGraph: true,
});
@@ -111,7 +119,7 @@ var SelectionSelect = /** @class */ (function () {
* 关闭选区
*/
SelectionSelect.prototype.closeSelectionSelect = function () {
if (!this.isDefalutStopMoveGraph) {
if (!this.isDefaultStopMoveGraph) {
this.lf.updateEditConfig({
stopMoveGraph: false,
});
@@ -29,3 +29,4 @@ __exportStar(require("./tools/flow-path"), exports);
__exportStar(require("./tools/auto-layout"), exports);
__exportStar(require("./bpmn-adapter/xml2json"), exports);
__exportStar(require("./bpmn-adapter/json2xml"), exports);
__exportStar(require("./components/highlight"), exports);
@@ -12,6 +12,17 @@ var __extends = (this && this.__extends) || (function () {
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
var __read = (this && this.__read) || function (o, n) {
var m = typeof Symbol === "function" && o[Symbol.iterator];
if (!m) return o;
@@ -29,17 +40,36 @@ var __read = (this && this.__read) || function (o, n) {
return ar;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.CurvedEdge = void 0;
exports.CurvedEdgeModel = exports.CurvedEdge = void 0;
var core_1 = require("@logicflow/core");
var CurvedEdgeView = /** @class */ (function (_super) {
__extends(CurvedEdgeView, _super);
function CurvedEdgeView() {
var CurvedEdge = /** @class */ (function (_super) {
__extends(CurvedEdge, _super);
function CurvedEdge() {
return _super !== null && _super.apply(this, arguments) || this;
}
CurvedEdgeView.prototype.getEdge = function () {
var _a = this.props.model.getEdgeStyle(), strokeWidth = _a.strokeWidth, stroke = _a.stroke, strokeDashArray = _a.strokeDashArray;
var points = this.props.model.points;
var points2 = points.split(' ').map(function (p) { return p.split(',').map(function (a) { return Number(a); }); });
CurvedEdge.prototype.pointFilter = function (points) {
var allPoints = points;
var i = 1;
while (i < allPoints.length - 1) {
var _a = __read(allPoints[i - 1], 2), x = _a[0], y = _a[1];
var _b = __read(allPoints[i], 2), x1 = _b[0], y1 = _b[1];
var _c = __read(allPoints[i + 1], 2), x2 = _c[0], y2 = _c[1];
if ((x === x1 && x1 === x2)
|| (y === y1 && y1 === y2)) {
allPoints.splice(i, 1);
}
else {
i++;
}
}
return allPoints;
};
CurvedEdge.prototype.getEdge = function () {
var model = this.props.model;
var points = model.points, isAnimation = model.isAnimation, arrowConfig = model.arrowConfig, _a = model.radius, radius = _a === void 0 ? 5 : _a;
var style = model.getEdgeStyle();
var animationStyle = model.getEdgeAnimationStyle();
var points2 = this.pointFilter(points.split(' ').map(function (p) { return p.split(',').map(function (a) { return Number(a); }); }));
var _b = __read(points2[0], 2), startX = _b[0], startY = _b[1];
var d = "M" + startX + " " + startY;
// 1) 如果一个点不为开始和结束,则在这个点的前后增加弧度开始和结束点。
@@ -47,43 +77,36 @@ var CurvedEdgeView = /** @class */ (function (_super) {
// 如果x相同则前一个点的x也不变,
// y为(这个点的y 大于前一个点的y, 则 为 这个点的y - 5;小于前一个点的y, 则为这个点的y+5)
// 同理,判断这个点与后一个点的x,y是否相同,如果x相同,则y进行加减,如果y相同,则x进行加减
// todo: 好丑,看看怎么优化下
var space = 5;
for (var i = 1; i < points2.length - 1; i++) {
var _c = __read(points2[i - 1], 2), preX = _c[0], preY = _c[1];
var _d = __read(points2[i], 2), currentX = _d[0], currentY = _d[1];
var _e = __read(points2[i + 1], 2), nextX = _e[0], nextY = _e[1];
if (currentX === preX && currentY !== preY) {
var y = currentY > preY ? currentY - space : currentY + space;
var y = currentY > preY ? currentY - radius : currentY + radius;
d = d + " L " + currentX + " " + y;
}
if (currentY === preY && currentX !== preX) {
var x = currentX > preX ? currentX - space : currentX + space;
var x = currentX > preX ? currentX - radius : currentX + radius;
d = d + " L " + x + " " + currentY;
}
d = d + " Q " + currentX + " " + currentY;
if (currentX === nextX && currentY !== nextY) {
var y = currentY > nextY ? currentY - space : currentY + space;
var y = currentY > nextY ? currentY - radius : currentY + radius;
d = d + " " + currentX + " " + y;
}
if (currentY === nextY && currentX !== nextX) {
var x = currentX > nextX ? currentX - space : currentX + space;
var x = currentX > nextX ? currentX - radius : currentX + radius;
d = d + " " + x + " " + currentY;
}
}
var _f = __read(points2[points2.length - 1], 2), endX = _f[0], endY = _f[1];
d = d + " L " + endX + " " + endY;
return core_1.h('path', {
d: d,
strokeWidth: strokeWidth,
stroke: stroke,
fill: 'none',
strokeDashArray: strokeDashArray,
});
var attrs = __assign(__assign(__assign({ d: d, style: isAnimation ? animationStyle : {} }, style), arrowConfig), { fill: 'none' });
return core_1.h('path', __assign({ d: d }, attrs));
};
CurvedEdgeView.extendKey = 'curvedEdge';
return CurvedEdgeView;
return CurvedEdge;
}(core_1.PolylineEdge));
exports.CurvedEdge = CurvedEdge;
var CurvedEdgeModel = /** @class */ (function (_super) {
__extends(CurvedEdgeModel, _super);
function CurvedEdgeModel() {
@@ -91,20 +114,4 @@ var CurvedEdgeModel = /** @class */ (function (_super) {
}
return CurvedEdgeModel;
}(core_1.PolylineEdgeModel));
var CurvedEdge = {
pluginName: 'curved-edge',
curvedSpace: 5,
init: function (_a) {
var curvedSpace = _a.curvedSpace;
CurvedEdge.curvedSpace = curvedSpace;
},
install: function (lf) {
lf.register({
type: 'curved-edge',
view: CurvedEdgeView,
model: CurvedEdgeModel,
});
},
};
exports.CurvedEdge = CurvedEdge;
exports.default = CurvedEdge;
exports.CurvedEdgeModel = CurvedEdgeModel;
@@ -48,6 +48,7 @@ var core_1 = require("@logicflow/core");
var NodeResize_1 = require("../../NodeResize");
var defaultWidth = 500;
var defaultHeight = 300;
var DEFAULT_BOTTOM_Z_INDEX = -10000;
var GroupNodeModel = /** @class */ (function (_super) {
__extends(GroupNodeModel, _super);
function GroupNodeModel() {
@@ -70,8 +71,7 @@ var GroupNodeModel = /** @class */ (function (_super) {
this.height = defaultHeight;
this.foldedWidth = 80;
this.foldedHeight = 60;
// todo: 参考bpmn.js, 分组和未加入分组的节点重合时,未加入分组的节点在分组之下。方便标识。
this.zIndex = -1;
this.zIndex = DEFAULT_BOTTOM_Z_INDEX;
this.radius = 0;
this.text.editable = false;
this.text.draggable = false;
@@ -222,7 +222,7 @@ var GroupNodeModel = /** @class */ (function (_super) {
var model = this.graphModel.addEdge(edgeData);
model.virtual = true;
// 强制不保存group连线数据
model.getData = function () { return null; };
// model.getData = () => null;
model.text.editable = false;
model.isFoldedEdge = true;
};
@@ -276,6 +276,7 @@ var GroupNodeModel = /** @class */ (function (_super) {
GroupNodeModel.prototype.getHistoryData = function () {
var data = _super.prototype.getData.call(this);
data.children = __spread(this.children);
data.isGroup = true;
var properties = data.properties;
delete properties.groupAddable;
if (properties.isFolded) { // 如果分组被折叠
@@ -284,6 +285,18 @@ var GroupNodeModel = /** @class */ (function (_super) {
}
return data;
};
/**
* 是否允许此节点添加到此分组中
*/
GroupNodeModel.prototype.isAllowAppendIn = function (nodeData) {
return true;
};
/**
* 当groupA被添加到groupB中时,将groupB及groupB所属的group的zIndex减1
*/
GroupNodeModel.prototype.toBack = function () {
this.zIndex--;
};
return GroupNodeModel;
}(NodeResize_1.RectResize.model));
var GroupNode = /** @class */ (function (_super) {
@@ -295,7 +308,7 @@ var GroupNode = /** @class */ (function (_super) {
var _a = this.props.model, resizable = _a.resizable, properties = _a.properties;
return resizable && !properties.isFolded ? _super.prototype.getControlGroup.call(this) : null;
};
GroupNode.prototype.getAddedableShape = function () {
GroupNode.prototype.getAddableShape = function () {
var _a = this.props.model, width = _a.width, height = _a.height, x = _a.x, y = _a.y, radius = _a.radius, properties = _a.properties;
if (!properties.groupAddable)
return null;
@@ -341,7 +354,7 @@ var GroupNode = /** @class */ (function (_super) {
};
GroupNode.prototype.getResizeShape = function () {
return core_1.h('g', {}, [
this.getAddedableShape(),
this.getAddableShape(),
_super.prototype.getResizeShape.call(this),
this.getFoldIcon(),
]);
@@ -1,32 +1,15 @@
"use strict";
var __read = (this && this.__read) || function (o, n) {
var m = typeof Symbol === "function" && o[Symbol.iterator];
if (!m) return o;
var i = m.call(o), r, ar = [], e;
try {
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
}
catch (error) { e = { error: error }; }
finally {
try {
if (r && !r.done && (m = i["return"])) m.call(i);
}
finally { if (e) throw e.error; }
}
return ar;
};
var __spread = (this && this.__spread) || function () {
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));
return ar;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.GroupNode = exports.Group = void 0;
var GroupNode_1 = require("./GroupNode");
exports.GroupNode = GroupNode_1.default;
var DEFAULT_TOP_Z_INDEX = -1000;
var DEFAULT_BOTTOM_Z_INDEX = -10000;
var Group = /** @class */ (function () {
function Group(_a) {
var _this = this;
var lf = _a.lf;
this.topGroupZIndex = DEFAULT_BOTTOM_Z_INDEX;
this.nodeGroupMap = new Map();
this.graphRendered = function (data) {
// 如果节点
@@ -40,7 +23,7 @@ var Group = /** @class */ (function () {
});
}
};
this.appendNodeToGrop = function (_a) {
this.appendNodeToGroup = function (_a) {
var data = _a.data;
// 如果这个节点之前已经在group中了,则将其从之前的group中移除
var preGroupId = _this.nodeGroupMap.get(data.id);
@@ -51,24 +34,39 @@ var Group = /** @class */ (function () {
preGroup.setAllowAppendChild(false);
}
// 然后再判断这个节点是否在某个group中,如果在,则将其添加到对应的group中
var bounds = _this.lf.getNodeModelById(data.id).getBounds();
var group = _this.getGroup(bounds);
var nodeModel = _this.lf.getNodeModelById(data.id);
var bounds = nodeModel.getBounds();
var group = _this.getGroup(bounds, data);
if (!group)
return;
if (data.id !== group.id) {
group.addChild(data.id);
_this.nodeGroupMap.set(data.id, group.id);
group.setAllowAppendChild(false);
var isAllowAppendIn = group.isAllowAppendIn(data);
if (!isAllowAppendIn) {
_this.lf.emit('group:not-allowed', {
group: group.getData(),
node: data,
});
return;
}
else if (data.children && data.children.length > 0) {
// 表示当前添加的节点是一个新增的group
group.addChild(data.id);
_this.nodeGroupMap.set(data.id, group.id);
group.setAllowAppendChild(false);
// 如果这个节点是分组,那么将其子节点也记录下来
if (nodeModel.isGroup) {
data.children.forEach(function (nodeId) {
_this.nodeGroupMap.set(nodeId, data.id);
});
_this.nodeSelected({ data: data });
}
};
this.deleteGroupChild = function (_a) {
var data = _a.data;
// 如果删除的是分组节点,则同时删除分组的子节点
if (data.children) {
data.children.forEach(function (nodeId) {
_this.nodeGroupMap.delete(nodeId);
_this.lf.deleteNode(nodeId);
});
}
var groupId = _this.nodeGroupMap.get(data.id);
if (groupId) {
var group = _this.lf.getNodeModelById(groupId);
@@ -79,25 +77,66 @@ var Group = /** @class */ (function () {
this.setActiveGroup = function (_a) {
var data = _a.data;
var nodeModel = _this.lf.getNodeModelById(data.id);
if (nodeModel.isGroup)
return;
var bounds = nodeModel.getBounds();
var newGroup = _this.getGroup(bounds);
if (newGroup || newGroup !== _this.activeGroup) {
if (_this.activeGroup) {
_this.activeGroup.setAllowAppendChild(false);
}
if (newGroup) {
_this.activeGroup = newGroup;
_this.activeGroup.setAllowAppendChild(true);
var newGroup = _this.getGroup(bounds, data);
if (_this.activeGroup) {
_this.activeGroup.setAllowAppendChild(false);
}
if (!newGroup || (nodeModel.isGroup && newGroup.id === data.id))
return;
var isAllowAppendIn = newGroup.isAllowAppendIn(data);
if (!isAllowAppendIn) {
return;
}
_this.activeGroup = newGroup;
_this.activeGroup.setAllowAppendChild(true);
};
/**
* 1. 分组节点默认在普通节点下面。
* 2. 分组节点被选中后,会将分组节点以及其内部的其他分组节点放到其余分组节点的上面。
* 3. 分组节点取消选中后,不会将分组节点重置为原来的高度。
* 4. 由于LogicFlow核心目标是支持用户手动绘制流程图,所以不考虑一张流程图超过1000个分组节点的情况。
*/
this.nodeSelected = function (_a) {
var data = _a.data;
var nodeModel = _this.lf.getNodeModelById(data.id);
_this.toFrontGroup(nodeModel);
// 重置所有的group zIndex,防止group节点zIndex增长为正。
if (_this.topGroupZIndex > DEFAULT_TOP_Z_INDEX) {
_this.topGroupZIndex = DEFAULT_BOTTOM_Z_INDEX;
var allGroups = _this.lf.graphModel.nodes
.filter(function (node) { return node.isGroup; })
.sort(function (a, b) { return a.zIndex - b.zIndex; });
var preZIndex = 0;
for (var i = 0; i < allGroups.length; i++) {
var group = allGroups[i];
if (group.zIndex !== preZIndex) {
_this.topGroupZIndex++;
preZIndex = group.zIndex;
}
group.setZIndex(_this.topGroupZIndex);
}
}
};
this.toFrontGroup = function (model) {
if (!model || !model.isGroup) {
return;
}
_this.topGroupZIndex++;
model.setZIndex(_this.topGroupZIndex);
if (model.children) {
model.children.forEach(function (nodeId) {
var node = _this.lf.getNodeModelById(nodeId);
_this.toFrontGroup(node);
});
}
};
lf.register(GroupNode_1.default);
this.lf = lf;
lf.graphModel.addNodeMoveRules(function (model, deltaX, deltaY) {
if (model.isGroup) { // 如果移动的是分组,那么分组的子节点也跟着移动。
lf.graphModel.moveNodes(__spread(model.children), deltaX, deltaY, true);
var nodeIds = _this.getNodeAllChild(model);
lf.graphModel.moveNodes(nodeIds, deltaX, deltaY, true);
return true;
}
var groupModel = lf.getNodeModelById(_this.nodeGroupMap.get(model.id));
@@ -114,24 +153,47 @@ var Group = /** @class */ (function () {
return true;
});
lf.graphModel.group = this;
lf.on('node:add', this.appendNodeToGrop);
lf.on('node:add,node:drop', this.appendNodeToGroup);
lf.on('node:delete', this.deleteGroupChild);
lf.on('node:drop', this.appendNodeToGrop);
lf.on('node:dnd-drag', this.setActiveGroup);
lf.on('node:drag', this.setActiveGroup);
lf.on('node:dnd-drag,node:drag', this.setActiveGroup);
lf.on('node:click', this.nodeSelected);
lf.on('graph:rendered', this.graphRendered);
}
/**
* 获取自定位置其所属分组
* 获取一个节点内部所有的子节点,包裹分组的子节点
*/
Group.prototype.getGroup = function (bounds) {
Group.prototype.getNodeAllChild = function (model) {
var _this = this;
var nodeIds = [];
if (model.children) {
model.children.forEach(function (nodeId) {
nodeIds.push(nodeId);
var nodeModel = _this.lf.getNodeModelById(nodeId);
if (nodeModel.isGroup) {
nodeIds = nodeIds.concat(_this.getNodeAllChild(nodeModel));
}
});
}
return nodeIds;
};
/**
* 获取自定位置其所属分组
* 当分组重合时,优先返回最上层的分组
*/
Group.prototype.getGroup = function (bounds, nodeData) {
var nodes = this.lf.graphModel.nodes;
for (var i = 0; i < nodes.length; i++) {
var model = nodes[i];
if (model.isGroup && model.isInRange(bounds)) {
return model;
var groups = nodes.filter(function (node) { return node.isGroup && node.isInRange(bounds) && node.id !== nodeData.id; });
if (groups.length === 0)
return;
if (groups.length === 1)
return groups[0];
var topGroup = groups[groups.length - 1];
for (var i = groups.length - 2; i >= 0; i--) {
if (groups[i].zIndex > topGroup.zIndex) {
topGroup = groups[i];
}
}
return topGroup;
};
/**
* 获取某个节点所属的groupModel
@@ -4,37 +4,27 @@
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.Snapshot = void 0;
var Snapshot = {
pluginName: 'snapshot',
install: function (lf) {
var Snapshot = /** @class */ (function () {
function Snapshot(_a) {
var _this = this;
var lf = _a.lf;
this.lf = lf;
this.customCssRules = '';
this.useGlobalRules = true;
/* 下载快照 */
lf.getSnapshot = function (fileName, backgroundColor) {
_this.offsetX = Number.MAX_SAFE_INTEGER;
_this.offsetY = Number.MAX_SAFE_INTEGER;
_this.fileName = fileName || "logic-flow." + Date.now() + ".png";
var svgRootElement = _this.getSvgRootElement(lf);
_this.downloadSvg(svgRootElement, _this.fileName, backgroundColor);
_this.getSnapshot(fileName, backgroundColor);
};
/* 获取Blob对象,用户图片上传 */
lf.getSnapshotBlob = function (backgroundColor) {
_this.offsetX = Number.MAX_SAFE_INTEGER;
_this.offsetY = Number.MAX_SAFE_INTEGER;
var svgRootElement = _this.getSvgRootElement(lf);
return _this.getBlob(svgRootElement, backgroundColor);
};
lf.getSnapshotBlob = function (backgroundColor) { return _this.getSnapshotBlob(backgroundColor); };
/* 获取Base64对象,用户图片上传 */
lf.getSnapshotBase64 = function (backgroundColor) {
_this.offsetX = Number.MAX_SAFE_INTEGER;
_this.offsetY = Number.MAX_SAFE_INTEGER;
var svgRootElement = _this.getSvgRootElement(lf);
return _this.getBase64(svgRootElement, backgroundColor);
};
},
lf.getSnapshotBase64 = function (backgroundColor) { return _this.getSnapshotBase64(backgroundColor); };
}
/* 获取svgRoot对象 */
getSvgRootElement: function (lf) {
Snapshot.prototype.getSvgRootElement = function (lf) {
var _this = this;
this.offsetX = Number.MAX_SAFE_INTEGER;
this.offsetY = Number.MAX_SAFE_INTEGER;
lf.graphModel.nodes.forEach(function (item) {
var x = item.x, width = item.width, y = item.y, height = item.height;
var offsetX = x - width / 2;
@@ -61,8 +51,8 @@ var Snapshot = {
});
var svgRootElement = lf.container.querySelector('.lf-canvas-overlay');
return svgRootElement;
},
triggerDownload: function (imgURI) {
};
Snapshot.prototype.triggerDownload = function (imgURI) {
var evt = new MouseEvent('click', {
view: window,
bubbles: false,
@@ -73,8 +63,8 @@ var Snapshot = {
a.setAttribute('href', imgURI);
a.setAttribute('target', '_blank');
a.dispatchEvent(evt);
},
removeAnchor: function (element) {
};
Snapshot.prototype.removeAnchor = function (element) {
var childNodes = element.childNodes;
var childLength = element.childNodes && element.childNodes.length;
for (var i = 0; i < childLength; i++) {
@@ -86,20 +76,22 @@ var Snapshot = {
i--;
}
}
},
};
/* 下载图片 */
downloadSvg: function (svg, fileName, backgroundColor) {
Snapshot.prototype.getSnapshot = function (fileName, backgroundColor) {
var _this = this;
this.fileName = fileName || "logic-flow." + Date.now() + ".png";
var svg = this.getSvgRootElement(this.lf);
this.getCanvasData(svg, backgroundColor).then(function (canvas) {
var imgURI = canvas
.toDataURL('image/png')
var imgURI = canvas.toDataURL('image/png')
.replace('image/png', 'image/octet-stream');
_this.triggerDownload(imgURI, fileName);
_this.triggerDownload(imgURI);
});
},
};
/* 获取base64对象 */
getBase64: function (svg, backgroundColor) {
Snapshot.prototype.getSnapshotBase64 = function (backgroundColor) {
var _this = this;
var svg = this.getSvgRootElement(this.lf);
return new Promise(function (resolve) {
_this.getCanvasData(svg, backgroundColor).then(function (canvas) {
var base64 = canvas.toDataURL('image/png');
@@ -107,10 +99,11 @@ var Snapshot = {
resolve({ data: base64, width: canvas.width, height: canvas.height });
});
});
},
};
/* 获取Blob对象 */
getBlob: function (svg, backgroundColor) {
Snapshot.prototype.getSnapshotBlob = function (backgroundColor) {
var _this = this;
var svg = this.getSvgRootElement(this.lf);
return new Promise(function (resolve) {
_this.getCanvasData(svg, backgroundColor).then(function (canvas) {
canvas.toBlob(function (blob) {
@@ -119,20 +112,25 @@ var Snapshot = {
}, 'image/png');
});
});
},
getClassRules: function () {
};
Snapshot.prototype.getClassRules = function () {
var rules = '';
var styleSheets = document.styleSheets;
for (var i = 0; i < styleSheets.length; i++) {
var sheet = styleSheets[i];
for (var j = 0; j < sheet.cssRules.length; j++) {
rules += sheet.cssRules[j].cssText;
if (this.useGlobalRules) {
var styleSheets = document.styleSheets;
for (var i = 0; i < styleSheets.length; i++) {
var sheet = styleSheets[i];
for (var j = 0; j < sheet.cssRules.length; j++) {
rules += sheet.cssRules[j].cssText;
}
}
}
if (this.customCssRules) {
rules += this.customCssRules;
}
return rules;
},
};
// 获取图片生成中中间产物canvas对象,用户转换为其他需要的格式
getCanvasData: function (svg, backgroundColor) {
Snapshot.prototype.getCanvasData = function (svg, backgroundColor) {
var _this = this;
var copy = svg.cloneNode(true);
var graph = copy.lastChild;
@@ -166,7 +164,7 @@ var Snapshot = {
真实dom存在缩放影响其宽高数值
在得到真实宽高后除以缩放比例即可得到正常宽高
*/
var base = document.getElementsByClassName('lf-base')[0];
var base = this.lf.graphModel.rootEl.querySelector('.lf-base');
var bbox = base.getBoundingClientRect();
var graphModel = this.lf.graphModel;
var transformModel = graphModel.transformModel;
@@ -204,12 +202,15 @@ var Snapshot = {
因为svg中存在dom存放在foreignObject元素中
SVG图形转成img对象
todo: 会导致一些清晰度问题这个需要再解决
fixme: XMLSerializer的中的css background url不会下载图片
*/
var svg2Img = "data:image/svg+xml;charset=utf-8," + new XMLSerializer().serializeToString(copy);
var imgSrc = svg2Img.replace(/\n/g, '').replace(/\t/g, '').replace(/#/g, '%23');
img.src = imgSrc;
});
},
};
};
Snapshot.pluginName = 'snapshot';
return Snapshot;
}());
exports.Snapshot = Snapshot;
exports.default = Snapshot;
@@ -10,17 +10,39 @@ var __assign = (this && this.__assign) || function () {
};
return __assign.apply(this, arguments);
};
var __read = (this && this.__read) || function (o, n) {
var m = typeof Symbol === "function" && o[Symbol.iterator];
if (!m) return o;
var i = m.call(o), r, ar = [], e;
try {
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
}
catch (error) { e = { error: error }; }
finally {
try {
if (r && !r.done && (m = i["return"])) m.call(i);
}
finally { if (e) throw e.error; }
}
return ar;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.TurboAdapter = exports.toLogicflowData = exports.toTurboData = void 0;
var TurboType;
(function (TurboType) {
TurboType[TurboType["SEQUENCE_FLOW"] = 1] = "SEQUENCE_FLOW";
TurboType[TurboType["START_EVENT"] = 2] = "START_EVENT";
TurboType[TurboType["END_EVENT"] = 3] = "END_EVENT";
TurboType[TurboType["USER_TASK"] = 4] = "USER_TASK";
exports.toLogicflowData = exports.toTurboData = void 0;
var TurboType = {
SEQUENCE_FLOW: 1,
START_EVENT: 2,
END_EVENT: 3,
USER_TASK: 4,
// SERVICE_TASK = 5, 暂不支持
TurboType[TurboType["EXCLUSIVE_GATEWAY"] = 6] = "EXCLUSIVE_GATEWAY";
})(TurboType || (TurboType = {}));
EXCLUSIVE_GATEWAY: 6,
};
var TurboTypeMap = {
1: 'bpmn:sequenceFlow',
2: 'bpmn:startEvent',
3: 'bpmn:endEvent',
4: 'bpmn:userTask',
6: 'bpmn:exclusiveGateway',
};
// 转换Turbo识别的类型
function getTurboType(type) {
switch (type) {
@@ -50,11 +72,11 @@ function convertNodeToTurboElement(node) {
type: getTurboType(node.type),
properties: __assign(__assign({}, properties), { name: (text && text.value) || '', x: x,
y: y,
text: text, logicFlowType: type }),
text: text }),
key: id,
};
}
// 将LogicFlow中的Eedg数据转换为Turbo元素数据
// 将LogicFlow中的Edge数据转换为Turbo元素数据
function convertEdgeToTurboElement(edge) {
var id = edge.id, type = edge.type, sourceNodeId = edge.sourceNodeId, targetNodeId = edge.targetNodeId, startPoint = edge.startPoint, endPoint = edge.endPoint, pointsList = edge.pointsList, _a = edge.text, text = _a === void 0 ? '' : _a, properties = edge.properties;
return {
@@ -62,10 +84,7 @@ function convertEdgeToTurboElement(edge) {
outgoing: [targetNodeId],
type: getTurboType(type),
dockers: [],
properties: __assign(__assign({}, properties), { name: (text && text.value) || '', text: text,
startPoint: startPoint,
endPoint: endPoint,
pointsList: pointsList, logicFlowType: type }),
properties: __assign(__assign({}, properties), { name: (text && text.value) || '', text: text, startPoint: JSON.stringify(startPoint), endPoint: JSON.stringify(endPoint), pointsList: JSON.stringify(pointsList) }),
key: id,
};
}
@@ -91,23 +110,29 @@ function toTurboData(data) {
return turboData;
}
exports.toTurboData = toTurboData;
// 将Turbo元素数据转换为LogicFlow中的Eedg数据
// 将Turbo元素数据转换为LogicFlow中的Edge数据
function convertFlowElementToEdge(element) {
var incoming = element.incoming, outgoing = element.outgoing, properties = element.properties, key = element.key;
var text = properties.text, startPoint = properties.startPoint, endPoint = properties.endPoint, pointsList = properties.pointsList, logicFlowType = properties.logicFlowType;
var incoming = element.incoming, outgoing = element.outgoing, properties = element.properties, key = element.key, type = element.type;
var text = properties.text, name = properties.name, startPoint = properties.startPoint, endPoint = properties.endPoint, pointsList = properties.pointsList;
var edge = {
id: key,
type: logicFlowType,
type: TurboTypeMap[type],
sourceNodeId: incoming[0],
targetNodeId: outgoing[0],
text: text,
startPoint: startPoint,
endPoint: endPoint,
pointsList: pointsList,
text: text || name,
properties: {},
};
if (startPoint) {
edge.startPoint = JSON.parse(startPoint);
}
if (endPoint) {
edge.endPoint = JSON.parse(endPoint);
}
if (pointsList) {
edge.pointsList = JSON.parse(pointsList);
}
// 这种转换方式,在自定义属性中不能与excludeProperties中的属性重名,否则将在转换过程中丢失
var excludeProperties = ['startPoint', 'endPoint', 'pointsList', 'text', 'logicFlowType'];
var excludeProperties = ['startPoint', 'endPoint', 'pointsList', 'text'];
Object.keys(element.properties).forEach(function (property) {
if (excludeProperties.indexOf(property) === -1) {
edge.properties[property] = element.properties[property];
@@ -117,18 +142,24 @@ function convertFlowElementToEdge(element) {
}
// 将Turbo元素数据转换为LogicFlow中的Node数据
function convertFlowElementToNode(element) {
var properties = element.properties, key = element.key;
var x = properties.x, y = properties.y, text = properties.text, logicFlowType = properties.logicFlowType;
var properties = element.properties, key = element.key, type = element.type, bounds = element.bounds;
var x = properties.x, y = properties.y;
var text = properties.text;
if (x === undefined) {
var _a = __read(bounds, 2), _b = _a[0], x1 = _b.x, y1 = _b.y, _c = _a[1], x2 = _c.x, y2 = _c.y;
x = (x1 + x2) / 2;
y = (y1 + y2) / 2;
}
var node = {
id: key,
type: logicFlowType,
type: TurboTypeMap[type],
x: x,
y: y,
text: text,
properties: {},
};
// 这种转换方式,在自定义属性中不能与excludeProperties中的属性重名,否则将在转换过程中丢失
var excludeProperties = ['x', 'y', 'text', 'logicFlowType'];
var excludeProperties = ['x', 'y', 'text'];
Object.keys(element.properties).forEach(function (property) {
if (excludeProperties.indexOf(property) === -1) {
node.properties[property] = element.properties[property];
@@ -156,26 +187,23 @@ function toLogicflowData(data) {
return lfData;
}
exports.toLogicflowData = toLogicflowData;
var TurboAdapter = {
pluginName: 'turboAdapter',
install: function (lf) {
var TurboAdapter = /** @class */ (function () {
function TurboAdapter(_a) {
var lf = _a.lf;
lf.adapterIn = this.adapterIn;
lf.adapterOut = this.adapterOut;
},
shapeConfigMap: new Map(),
setCustomShape: function (key, val) {
this.shapeConfigMap.set(key, val);
},
adapterOut: function (logicflowData) {
}
TurboAdapter.prototype.adapterOut = function (logicflowData) {
if (logicflowData) {
return toTurboData(logicflowData);
}
},
adapterIn: function (turboData) {
};
TurboAdapter.prototype.adapterIn = function (turboData) {
if (turboData) {
return toLogicflowData(turboData);
}
},
};
exports.TurboAdapter = TurboAdapter;
};
TurboAdapter.pluginName = 'turboAdapter';
return TurboAdapter;
}());
exports.default = TurboAdapter;
@@ -22,16 +22,19 @@ declare class Control extends Component<IProps> {
deltaX: any;
deltaY: any;
}) => void;
getResize: ({ index, deltaX, deltaY, width, height, pct }: {
getResize: ({ index, deltaX, deltaY, width, height, PCTResizeInfo, pct }: {
index: any;
deltaX: any;
deltaY: any;
width: any;
height: any;
PCTResizeInfo: any;
pct?: number;
}) => {
width: any;
height: any;
deltaX: any;
deltaY: any;
};
updateRect: ({ deltaX, deltaY }: {
deltaX: any;
@@ -53,6 +56,10 @@ declare class Control extends Component<IProps> {
deltaX: any;
deltaY: any;
}) => void;
/**
* 由于将拖拽放大缩小改成丝滑模式,这个时候需要在拖拽结束的时候,将节点的位置更新到grid上.
*/
onDragEnd: () => void;
render(): h.JSX.Element;
}
export default Control;
@@ -22,6 +22,22 @@ var __assign = (this && this.__assign) || function () {
};
return __assign.apply(this, arguments);
};
var __read = (this && this.__read) || function (o, n) {
var m = typeof Symbol === "function" && o[Symbol.iterator];
if (!m) return o;
var i = m.call(o), r, ar = [], e;
try {
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
}
catch (error) { e = { error: error }; }
finally {
try {
if (r && !r.done && (m = i["return"])) m.call(i);
}
finally { if (e) throw e.error; }
}
return ar;
};
import { h, Component } from 'preact';
import { LogicFlowUtil } from '@logicflow/core';
import Rect from '../BasicShape/Rect';
@@ -41,8 +57,64 @@ var Control = /** @class */ (function (_super) {
};
// 计算control拖动后,节点的宽高
_this.getResize = function (_a) {
var index = _a.index, deltaX = _a.deltaX, deltaY = _a.deltaY, width = _a.width, height = _a.height, _b = _a.pct, pct = _b === void 0 ? 1 : _b;
var resize = { width: width, height: height };
var index = _a.index, deltaX = _a.deltaX, deltaY = _a.deltaY, width = _a.width, height = _a.height, PCTResizeInfo = _a.PCTResizeInfo, _b = _a.pct, pct = _b === void 0 ? 1 : _b;
var resize = { width: width, height: height, deltaX: deltaX, deltaY: deltaY };
if (PCTResizeInfo) {
var sensitivity = 4; // 越低越灵敏
var deltaScale = 0;
var combineDleta = 0;
switch (index) {
case 0:
combineDleta = (deltaX * -1 - deltaY) / sensitivity;
break;
case 1:
combineDleta = (deltaX - deltaY) / sensitivity;
break;
case 2:
combineDleta = (deltaX + deltaY) / sensitivity;
break;
case 3:
combineDleta = (deltaX * -1 + deltaY) / sensitivity;
break;
default:
break;
}
if (combineDleta !== 0) {
deltaScale = Math.round((combineDleta / PCTResizeInfo.ResizeBasis.basisHeight)
* 100000) / 1000;
}
PCTResizeInfo.ResizePCT.widthPCT = Math.max(Math.min(PCTResizeInfo.ResizePCT.widthPCT + deltaScale, PCTResizeInfo.ScaleLimit.maxScaleLimit), PCTResizeInfo.ScaleLimit.minScaleLimit);
PCTResizeInfo.ResizePCT.hightPCT = Math.max(Math.min(PCTResizeInfo.ResizePCT.hightPCT + deltaScale, PCTResizeInfo.ScaleLimit.maxScaleLimit), PCTResizeInfo.ScaleLimit.minScaleLimit);
var spcWidth = Math.round((PCTResizeInfo.ResizePCT.widthPCT
* PCTResizeInfo.ResizeBasis.basisWidth) / 100);
var spcHeight = Math.round((PCTResizeInfo.ResizePCT.hightPCT
* PCTResizeInfo.ResizeBasis.basisHeight) / 100);
switch (index) {
case 0:
deltaX = width - spcWidth;
deltaY = height - spcHeight;
break;
case 1:
deltaX = spcWidth - width;
deltaY = height - spcHeight;
break;
case 2:
deltaX = spcWidth - width;
deltaY = spcHeight - height;
break;
case 3:
deltaX = width - spcWidth;
deltaY = spcHeight - height;
break;
default:
break;
}
resize.width = spcWidth;
resize.height = spcHeight;
resize.deltaX = deltaX / pct;
resize.deltaY = deltaY / pct;
return resize;
}
switch (index) {
case 0:
resize.width = width - deltaX * pct;
@@ -53,7 +125,7 @@ var Control = /** @class */ (function (_super) {
resize.height = height - deltaY * pct;
break;
case 2:
resize.width = width + deltaX;
resize.width = width + deltaX * pct;
resize.height = height + deltaY * pct;
break;
case 3:
@@ -68,7 +140,7 @@ var Control = /** @class */ (function (_super) {
// 矩形更新
_this.updateRect = function (_a) {
var deltaX = _a.deltaX, deltaY = _a.deltaY;
var _b = _this.nodeModel, id = _b.id, x = _b.x, y = _b.y, width = _b.width, height = _b.height, radius = _b.radius;
var _b = _this.nodeModel, id = _b.id, x = _b.x, y = _b.y, width = _b.width, height = _b.height, radius = _b.radius, PCTResizeInfo = _b.PCTResizeInfo;
// 更新中心点位置,更新文案位置
var index = _this.index;
var size = _this.getResize({
@@ -77,6 +149,7 @@ var Control = /** @class */ (function (_super) {
deltaY: deltaY,
width: width,
height: height,
PCTResizeInfo: PCTResizeInfo,
pct: 1,
});
// 限制放大缩小的最大最小范围
@@ -89,7 +162,7 @@ var Control = /** @class */ (function (_super) {
_this.dragHandler.cancelDrag();
return;
}
_this.updatePosition({ deltaX: deltaX, deltaY: deltaY });
_this.updatePosition({ deltaX: size.deltaX, deltaY: size.deltaY });
// 更新宽高
_this.nodeModel.width = size.width;
_this.nodeModel.height = size.height;
@@ -136,7 +209,7 @@ var Control = /** @class */ (function (_super) {
// 椭圆更新
_this.updateEllipse = function (_a) {
var deltaX = _a.deltaX, deltaY = _a.deltaY;
var _b = _this.nodeModel, id = _b.id, rx = _b.rx, ry = _b.ry, x = _b.x, y = _b.y;
var _b = _this.nodeModel, id = _b.id, rx = _b.rx, ry = _b.ry, x = _b.x, y = _b.y, PCTResizeInfo = _b.PCTResizeInfo;
var index = _this.index;
var width = rx;
var height = ry;
@@ -146,6 +219,7 @@ var Control = /** @class */ (function (_super) {
deltaY: deltaY,
width: width,
height: height,
PCTResizeInfo: PCTResizeInfo,
pct: 1 / 2,
});
// 限制放大缩小的最大最小范围
@@ -158,12 +232,12 @@ var Control = /** @class */ (function (_super) {
return;
}
// 更新中心点位置,更新文案位置
_this.updatePosition({ deltaX: deltaX, deltaY: deltaY });
_this.updatePosition({ deltaX: size.deltaX, deltaY: size.deltaY });
// 更新rx ry,宽高为计算属性自动更新
// @ts-ignore
_this.nodeModel.rx = _this.nodeModel.rx + deltaX / 2;
_this.nodeModel.rx = size.width;
// @ts-ignore
_this.nodeModel.ry = _this.nodeModel.ry + deltaY / 2;
_this.nodeModel.ry = size.height;
_this.nodeModel.setProperties({
nodeSize: {
rx: size.width,
@@ -200,7 +274,7 @@ var Control = /** @class */ (function (_super) {
// 菱形更新
_this.updateDiamond = function (_a) {
var deltaX = _a.deltaX, deltaY = _a.deltaY;
var _b = _this.nodeModel, id = _b.id, rx = _b.rx, ry = _b.ry, x = _b.x, y = _b.y;
var _b = _this.nodeModel, id = _b.id, rx = _b.rx, ry = _b.ry, x = _b.x, y = _b.y, PCTResizeInfo = _b.PCTResizeInfo;
var index = _this.index;
var width = rx;
var height = ry;
@@ -210,6 +284,7 @@ var Control = /** @class */ (function (_super) {
deltaY: deltaY,
width: width,
height: height,
PCTResizeInfo: PCTResizeInfo,
pct: 1 / 2,
});
// 限制放大缩小的最大最小范围
@@ -222,12 +297,12 @@ var Control = /** @class */ (function (_super) {
return;
}
// 更新中心点位置,更新文案位置
_this.updatePosition({ deltaX: deltaX, deltaY: deltaY });
_this.updatePosition({ deltaX: size.deltaX, deltaY: size.deltaY });
// 更新rx ry,宽高为计算属性自动更新
// @ts-ignore
_this.nodeModel.rx = _this.nodeModel.rx + deltaX / 2;
_this.nodeModel.rx = size.width;
// @ts-ignore
_this.nodeModel.ry = _this.nodeModel.ry + deltaY / 2;
_this.nodeModel.ry = size.height;
_this.nodeModel.setProperties({
nodeSize: {
rx: size.width,
@@ -269,8 +344,11 @@ var Control = /** @class */ (function (_super) {
_this.graphModel.eventCenter.emit('node:resize', { oldNodeSize: oldNodeSize, newNodeSize: newNodeSize });
};
_this.onDraging = function (_a) {
var _b;
var deltaX = _a.deltaX, deltaY = _a.deltaY;
var transformModel = _this.graphModel.transformModel;
var modelType = _this.nodeModel.modelType;
_b = __read(transformModel.fixDeltaXY(deltaX, deltaY), 2), deltaX = _b[0], deltaY = _b[1];
// html和矩形的计算方式是一样的,共用一个方法
if (modelType === ModelType.RECT_NODE || modelType === ModelType.HTML_NODE) {
_this.updateRect({ deltaX: deltaX, deltaY: deltaY });
@@ -283,23 +361,32 @@ var Control = /** @class */ (function (_super) {
_this.updateDiamond({ deltaX: deltaX, deltaY: deltaY });
}
};
/**
* 由于将拖拽放大缩小改成丝滑模式,这个时候需要在拖拽结束的时候,将节点的位置更新到grid上.
*/
_this.onDragEnd = function () {
var _a = _this.graphModel.gridSize, gridSize = _a === void 0 ? 1 : _a;
var x = gridSize * Math.round(_this.nodeModel.x / gridSize);
var y = gridSize * Math.round(_this.nodeModel.y / gridSize);
_this.nodeModel.moveTo(x, y);
};
_this.index = props.index;
_this.nodeModel = props.model;
_this.graphModel = props.graphModel;
var gridSize = _this.graphModel.gridSize;
// 为保证对齐线功能正常使用,step默认是网格grid的两倍,
// 没有网格设置,默认为2,保证坐标是整数
var step = 2;
if (gridSize > 1) {
step = 2 * gridSize;
}
if (_this.nodeModel.gridSize) {
step = 2 * _this.nodeModel.gridSize;
}
// let step = 2;
// if (gridSize > 1) {
// step = 2 * gridSize;
// }
// if (this.nodeModel.gridSize) {
// step = 2 * this.nodeModel.gridSize;
// }
_this.state = {};
_this.dragHandler = new StepDrag({
onDraging: _this.onDraging,
step: step,
onDragEnd: _this.onDragEnd,
step: 1,
});
return _this;
}
@@ -1,5 +1,6 @@
import { h, DiamondNode, DiamondNodeModel } from '@logicflow/core';
declare class DiamondResizeModel extends DiamondNodeModel {
private PCTResizeInfo;
constructor(data: any, graphModel: any);
initNodeData(data: any): void;
getOutlineStyle(): import("@logicflow/core/types/constant/DefaultTheme").OutlineTheme;
@@ -14,6 +15,7 @@ declare class DiamondResizeModel extends DiamondNodeModel {
fill: string;
stroke: string;
};
enableProportionResize(turnOn?: boolean): void;
}
declare class DiamondResizeView extends DiamondNode {
getControlGroup(): h.JSX.Element;
@@ -46,6 +46,9 @@ var DiamondResizeModel = /** @class */ (function (_super) {
};
DiamondResizeModel.prototype.getOutlineStyle = function () {
var style = _super.prototype.getOutlineStyle.call(this);
var isSilentMode = this.graphModel.editConfigModel.isSilentMode;
if (isSilentMode)
return style;
style.stroke = 'none';
if (style.hover) {
style.hover.stroke = 'none';
@@ -67,6 +70,22 @@ var DiamondResizeModel = /** @class */ (function (_super) {
stroke: '#000000',
};
};
// 该方法需要在重设宽高和最大、最小限制后被调用,不建议在 initNodeData() 方法中使用
DiamondResizeModel.prototype.enableProportionResize = function (turnOn) {
if (turnOn === void 0) { turnOn = true; }
if (turnOn) {
var ResizePCT = { widthPCT: 100, hightPCT: 100 };
var ResizeBasis = { basisWidth: this.rx, basisHeight: this.ry };
var ScaleLimit = {
maxScaleLimit: Math.min((this.maxWidth / (this.rx * 2)) * 100, (this.maxHeight / (this.ry * 2)) * 100),
minScaleLimit: Math.max((this.minWidth / (this.rx * 2)) * 100, (this.minHeight / (this.ry * 2)) * 100),
};
this.PCTResizeInfo = { ResizePCT: ResizePCT, ResizeBasis: ResizeBasis, ScaleLimit: ScaleLimit };
}
else {
delete this.PCTResizeInfo;
}
};
return DiamondResizeModel;
}(DiamondNodeModel));
var DiamondResizeView = /** @class */ (function (_super) {
@@ -87,10 +106,10 @@ var DiamondResizeView = /** @class */ (function (_super) {
h(Polygon, __assign({}, style, { points: points }))));
};
DiamondResizeView.prototype.getShape = function () {
var isSelected = this.props.model.isSelected;
var _a = this.props, isSelected = _a.model.isSelected, isSilentMode = _a.graphModel.editConfigModel.isSilentMode;
return (h("g", null,
this.getResizeShape(),
isSelected ? this.getControlGroup() : ''));
isSelected && !isSilentMode ? this.getControlGroup() : ''));
};
return DiamondResizeView;
}(DiamondNode));
@@ -1,5 +1,6 @@
import { h, EllipseNode, EllipseNodeModel } from '@logicflow/core';
declare class EllipseResizeModel extends EllipseNodeModel {
private PCTResizeInfo;
constructor(data: any, graphModel: any);
initNodeData(data: any): void;
getOutlineStyle(): import("@logicflow/core/types/constant/DefaultTheme").OutlineTheme;
@@ -14,6 +15,7 @@ declare class EllipseResizeModel extends EllipseNodeModel {
fill: string;
stroke: string;
};
enableProportionResize(turnOn?: boolean): void;
}
declare class EllipseResizeView extends EllipseNode {
getControlGroup(): h.JSX.Element;
@@ -33,6 +33,9 @@ var EllipseResizeModel = /** @class */ (function (_super) {
};
EllipseResizeModel.prototype.getOutlineStyle = function () {
var style = _super.prototype.getOutlineStyle.call(this);
var isSilentMode = this.graphModel.editConfigModel.isSilentMode;
if (isSilentMode)
return style;
style.stroke = 'none';
if (style.hover) {
style.hover.stroke = 'none';
@@ -54,6 +57,22 @@ var EllipseResizeModel = /** @class */ (function (_super) {
stroke: '#000000',
};
};
// 该方法需要在重设宽高和最大、最小限制后被调用,不建议在 initNodeData() 方法中使用
EllipseResizeModel.prototype.enableProportionResize = function (turnOn) {
if (turnOn === void 0) { turnOn = true; }
if (turnOn) {
var ResizePCT = { widthPCT: 100, hightPCT: 100 };
var ResizeBasis = { basisWidth: this.rx, basisHeight: this.ry };
var ScaleLimit = {
maxScaleLimit: Math.min((this.maxWidth / (this.rx * 2)) * 100, (this.maxHeight / (this.ry * 2)) * 100),
minScaleLimit: Math.max((this.minWidth / (this.rx * 2)) * 100, (this.minHeight / (this.ry * 2)) * 100),
};
this.PCTResizeInfo = { ResizePCT: ResizePCT, ResizeBasis: ResizeBasis, ScaleLimit: ScaleLimit };
}
else {
delete this.PCTResizeInfo;
}
};
return EllipseResizeModel;
}(EllipseNodeModel));
var EllipseResizeView = /** @class */ (function (_super) {
@@ -70,10 +89,10 @@ var EllipseResizeView = /** @class */ (function (_super) {
return _super.prototype.getShape.call(this);
};
EllipseResizeView.prototype.getShape = function () {
var model = this.props.model;
var _a = this.props, model = _a.model, isSilentMode = _a.graphModel.editConfigModel.isSilentMode;
return (h("g", null,
this.getResizeShape(),
model.isSelected ? this.getControlGroup() : ''));
model.isSelected && !isSilentMode ? this.getControlGroup() : ''));
};
return EllipseResizeView;
}(EllipseNode));
@@ -1,5 +1,6 @@
import { h, HtmlNode, HtmlNodeModel } from '@logicflow/core';
declare class HtmlResizeModel extends HtmlNodeModel {
private PCTResizeInfo;
constructor(data: any, graphModel: any);
initNodeData(data: any): void;
getOutlineStyle(): import("@logicflow/core/types/constant/DefaultTheme").OutlineTheme;
@@ -14,6 +15,7 @@ declare class HtmlResizeModel extends HtmlNodeModel {
fill: string;
stroke: string;
};
enableProportionResize(turnOn?: boolean): void;
}
declare class HtmlResizeView extends HtmlNode {
getControlGroup(): h.JSX.Element;
@@ -33,6 +33,9 @@ var HtmlResizeModel = /** @class */ (function (_super) {
};
HtmlResizeModel.prototype.getOutlineStyle = function () {
var style = _super.prototype.getOutlineStyle.call(this);
var isSilentMode = this.graphModel.editConfigModel.isSilentMode;
if (isSilentMode)
return style;
style.stroke = 'none';
if (style.hover) {
style.hover.stroke = 'none';
@@ -54,6 +57,22 @@ var HtmlResizeModel = /** @class */ (function (_super) {
stroke: '#000000',
};
};
// 该方法需要在重设宽高和最大、最小限制后被调用,不建议在 initNodeData() 方法中使用
HtmlResizeModel.prototype.enableProportionResize = function (turnOn) {
if (turnOn === void 0) { turnOn = true; }
if (turnOn) {
var ResizePCT = { widthPCT: 100, hightPCT: 100 };
var ResizeBasis = { basisWidth: this.width, basisHeight: this.height };
var ScaleLimit = {
maxScaleLimit: Math.min((this.maxWidth / this.width) * 100, (this.maxHeight / this.height) * 100),
minScaleLimit: Math.max((this.minWidth / this.width) * 100, (this.minHeight / this.height) * 100),
};
this.PCTResizeInfo = { ResizePCT: ResizePCT, ResizeBasis: ResizeBasis, ScaleLimit: ScaleLimit };
}
else {
delete this.PCTResizeInfo;
}
};
return HtmlResizeModel;
}(HtmlNodeModel));
var HtmlResizeView = /** @class */ (function (_super) {
@@ -70,10 +89,10 @@ var HtmlResizeView = /** @class */ (function (_super) {
return _super.prototype.getShape.call(this);
};
HtmlResizeView.prototype.getShape = function () {
var isSelected = this.props.model.isSelected;
var _a = this.props, isSelected = _a.model.isSelected, isSilentMode = _a.graphModel.editConfigModel.isSilentMode;
return (h("g", null,
this.getResizeShape(),
isSelected ? this.getControlGroup() : ''));
isSelected && !isSilentMode ? this.getControlGroup() : ''));
};
return HtmlResizeView;
}(HtmlNode));
@@ -1,5 +1,6 @@
import { h, RectNode, RectNodeModel } from '@logicflow/core';
declare class RectResizeModel extends RectNodeModel {
private PCTResizeInfo;
constructor(data: any, graphModel: any);
initNodeData(data: any): void;
getOutlineStyle(): import("@logicflow/core/types/constant/DefaultTheme").OutlineTheme;
@@ -16,6 +17,7 @@ declare class RectResizeModel extends RectNodeModel {
stroke: string;
};
resize(deltaX: any, deltaY: any): void;
enableProportionResize(turnOn?: boolean): void;
}
declare class RectResizeView extends RectNode {
getControlGroup(): h.JSX.Element;
@@ -33,6 +33,9 @@ var RectResizeModel = /** @class */ (function (_super) {
};
RectResizeModel.prototype.getOutlineStyle = function () {
var style = _super.prototype.getOutlineStyle.call(this);
var isSilentMode = this.graphModel.editConfigModel.isSilentMode;
if (isSilentMode)
return style;
style.stroke = 'none';
if (style.hover) {
style.hover.stroke = 'none';
@@ -58,6 +61,22 @@ var RectResizeModel = /** @class */ (function (_super) {
RectResizeModel.prototype.resize = function (deltaX, deltaY) {
console.log(deltaX, deltaY);
};
// 该方法需要在重设宽高和最大、最小限制后被调用,不建议在 initNodeData() 方法中使用
RectResizeModel.prototype.enableProportionResize = function (turnOn) {
if (turnOn === void 0) { turnOn = true; }
if (turnOn) {
var ResizePCT = { widthPCT: 100, hightPCT: 100 };
var ResizeBasis = { basisWidth: this.width, basisHeight: this.height };
var ScaleLimit = {
maxScaleLimit: Math.min((this.maxWidth / this.width) * 100, (this.maxHeight / this.height) * 100),
minScaleLimit: Math.max((this.minWidth / this.width) * 100, (this.minHeight / this.height) * 100),
};
this.PCTResizeInfo = { ResizePCT: ResizePCT, ResizeBasis: ResizeBasis, ScaleLimit: ScaleLimit };
}
else {
delete this.PCTResizeInfo;
}
};
return RectResizeModel;
}(RectNodeModel));
var RectResizeView = /** @class */ (function (_super) {
@@ -74,10 +93,10 @@ var RectResizeView = /** @class */ (function (_super) {
return _super.prototype.getShape.call(this);
};
RectResizeView.prototype.getShape = function () {
var isSelected = this.props.model.isSelected;
var _a = this.props, isSelected = _a.model.isSelected, isSilentMode = _a.graphModel.editConfigModel.isSilentMode;
return (h("g", null,
this.getResizeShape(),
isSelected ? this.getControlGroup() : ''));
isSelected && !isSilentMode ? this.getControlGroup() : ''));
};
return RectResizeView;
}(RectNode));
@@ -0,0 +1,21 @@
import LogicFlow from '@logicflow/core';
declare type IMode = 'single' | 'path';
declare class Highlight {
lf: LogicFlow;
static pluginName: string;
mode: IMode;
manual: boolean;
tempStyles: {};
constructor({ lf }: {
lf: any;
});
setMode(mode: IMode): void;
setManual(manual: boolean): void;
private highlightSingle;
private highlightPath;
highlight(id: string, mode?: IMode): void;
restoreHighlight(): void;
render(lf: any, domContainer: any): void;
destroy(): void;
}
export { Highlight };
@@ -0,0 +1,184 @@
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
var __read = (this && this.__read) || function (o, n) {
var m = typeof Symbol === "function" && o[Symbol.iterator];
if (!m) return o;
var i = m.call(o), r, ar = [], e;
try {
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
}
catch (error) { e = { error: error }; }
finally {
try {
if (r && !r.done && (m = i["return"])) m.call(i);
}
finally { if (e) throw e.error; }
}
return ar;
};
var __spread = (this && this.__spread) || function () {
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));
return ar;
};
// 后续并入FlowPath
var getPath = function (id, lf) {
var el = lf.getModelById(id);
return getNodePath(el.BaseType === 'node' ? el : el.targetNode, lf);
};
// dfs + 动态规划
// todo 算法优化
var getNodePath = function (node, lf) {
var incomingPaths = [];
var outgoingPaths = [];
var getIncomingPaths = function (curNode, path, prevNode) {
if (prevNode === void 0) { prevNode = null; }
if (prevNode) {
// * 上个节点和当前节点中间边
path.unshift.apply(path, __spread(lf
.getEdgeModels({
sourceNodeId: curNode.id,
targetNodeId: prevNode.id,
})
.map(function (item) { return item.id; })));
}
// * 路径中存在节点,则不再继续查找,说明出现环情况
if (path.includes(curNode.id)) {
incomingPaths.push(path);
return;
}
// * 路径中当前加入节点
path.unshift(curNode.id);
if (!curNode.incoming.nodes.length) {
incomingPaths.push(path);
return;
}
// * 往下找
curNode.incoming.nodes.forEach(function (nextNode) {
getIncomingPaths(nextNode, path.slice(), curNode);
});
};
// * 同上逻辑
var getOutgoingPaths = function (curNode, path, prevNode) {
if (prevNode === void 0) { prevNode = null; }
if (prevNode) {
path.push.apply(path, __spread(lf
.getEdgeModels({
sourceNodeId: prevNode.id,
targetNodeId: curNode.id,
})
.map(function (item) { return item.id; })));
}
if (path.includes(curNode.id)) {
outgoingPaths.push(path);
return;
}
path.push(curNode.id);
if (!curNode.outgoing.nodes.length) {
outgoingPaths.push(path);
return;
}
curNode.outgoing.nodes.forEach(function (nextNode) {
getOutgoingPaths(nextNode, path.slice(), curNode);
});
};
getIncomingPaths(node, []);
getOutgoingPaths(node, []);
return __spread(new Set(__spread(incomingPaths.flat(), outgoingPaths.flat())));
};
var Highlight = /** @class */ (function () {
function Highlight(_a) {
var lf = _a.lf;
this.mode = 'path';
this.manual = false;
this.tempStyles = {};
this.lf = lf;
}
Highlight.prototype.setMode = function (mode) {
this.mode = mode;
};
Highlight.prototype.setManual = function (manual) {
this.manual = manual;
};
Highlight.prototype.highlightSingle = function (id) {
var model = this.lf.getModelById(id);
if (model.BaseType === 'node') {
// 高亮节点
model.updateStyles(this.tempStyles[id]);
}
else if (model.BaseType === 'edge') {
// 高亮边及对应的节点
model.updateStyles(this.tempStyles[id]);
model.sourceNode.updateStyles(this.tempStyles[model.sourceNode.id]);
model.targetNode.updateStyles(this.tempStyles[model.targetNode.id]);
}
};
Highlight.prototype.highlightPath = function (id) {
var _this = this;
var path = getPath(id, this.lf);
path.forEach(function (_id) {
// 高亮路径上所有的边和节点
_this.lf.getModelById(_id).updateStyles(_this.tempStyles[_id]);
});
};
Highlight.prototype.highlight = function (id, mode) {
var _this = this;
if (mode === void 0) { mode = this.mode; }
if (this.manual)
return;
if (Object.keys(this.tempStyles).length) {
this.restoreHighlight();
}
Object.values(this.lf.graphModel.modelsMap).forEach(function (item) {
// 所有节点样式都进行备份
// eslint-disable-next-line operator-linebreak
var oStyle = item.BaseType === 'node' ? item.getNodeStyle() : item.getEdgeStyle();
_this.tempStyles[item.id] = __assign({}, oStyle);
// 所有节点都设置透明度为0.1
item.setStyles({ opacity: 0.1 });
});
var modeTrigger = {
single: this.highlightSingle.bind(this),
path: this.highlightPath.bind(this),
};
modeTrigger[mode](id);
};
Highlight.prototype.restoreHighlight = function () {
var _this = this;
// 恢复所有节点的样式
if (!Object.keys(this.tempStyles).length)
return;
Object.values(this.lf.graphModel.modelsMap).forEach(function (item) {
var _a;
var oStyle = (_a = _this.tempStyles[item.id]) !== null && _a !== void 0 ? _a : {};
item.updateStyles(__assign({}, oStyle));
});
this.tempStyles = {};
};
Highlight.prototype.render = function (lf, domContainer) {
var _this = this;
this.lf.on('node:mouseenter', function (_a) {
var data = _a.data;
return _this.highlight(data.id);
});
this.lf.on('edge:mouseenter', function (_a) {
var data = _a.data;
return _this.highlight(data.id);
});
this.lf.on('node:mouseleave', this.restoreHighlight.bind(this));
this.lf.on('edge:mouseleave', this.restoreHighlight.bind(this));
this.lf.on('history:change', this.restoreHighlight.bind(this));
};
Highlight.prototype.destroy = function () { };
Highlight.pluginName = 'highlight';
return Highlight;
}());
export { Highlight };
@@ -68,6 +68,7 @@ declare class MiniMap {
}): void;
__createViewPort(): void;
__startDrag: (e: any) => void;
moveViewport: (top: any, left: any) => void;
__drag: (e: any) => void;
__drop: () => void;
}
@@ -61,12 +61,17 @@ var MiniMap = /** @class */ (function () {
y: e.y,
};
};
this.__drag = function (e) {
this.moveViewport = function (top, left) {
var viewStyle = _this.__viewport.style;
_this.__viewPortTop += e.y - _this.__startPosition.y;
_this.__viewPortLeft += e.x - _this.__startPosition.x;
_this.__viewPortTop = top;
_this.__viewPortLeft = left;
viewStyle.top = _this.__viewPortTop + "px";
viewStyle.left = _this.__viewPortLeft + "px";
};
this.__drag = function (e) {
var top = _this.__viewPortTop + e.y - _this.__startPosition.y;
var left = _this.__viewPortLeft + e.x - _this.__startPosition.x;
_this.moveViewport(top, left);
_this.__startPosition = {
x: e.x,
y: e.y,
@@ -85,6 +90,21 @@ var MiniMap = /** @class */ (function () {
this.__drop = function () {
document.removeEventListener('mousemove', _this.__drag);
document.removeEventListener('mouseup', _this.__drop);
var top = _this.__viewPortTop;
var left = _this.__viewPortLeft;
if (_this.__viewPortLeft > _this.__width) {
left = _this.__width - _this.__viewPortWidth;
}
if (_this.__viewPortTop > _this.__height) {
top = _this.__height - _this.__viewPortHeight;
}
if (_this.__viewPortLeft < -_this.__width) {
left = 0;
}
if (_this.__viewPortTop < -_this.__height) {
top = 0;
}
_this.moveViewport(top, left);
};
this.__lf = lf;
this.__miniMapWidth = lf.graphModel.width;
@@ -100,6 +120,11 @@ var MiniMap = /** @class */ (function () {
_this.__setView();
}
});
this.__lf.on('blank:drop', function () {
if (_this.__isShow) {
_this.__setView();
}
});
};
MiniMap.prototype.init = function (option) {
this.__disabledPlugins = this.__disabledPlugins.concat(option.disabledPlugins || []);
@@ -303,7 +328,7 @@ var MiniMap = /** @class */ (function () {
var graphRatio = (this.__lf.graphModel.width / this.__lf.graphModel.height);
var realViewPortHeight = realViewPortWidth / graphRatio;
this.__viewPortTop = TRANSLATE_Y > 0 ? 0 : -TRANSLATE_Y * scale;
this.__viewPortLeft = -TRANSLATE_X * scale;
this.__viewPortLeft = TRANSLATE_X > 0 ? 0 : -TRANSLATE_X * scale;
this.__viewPortWidth = realViewPortWidth;
this.__viewPortHeight = realViewPortHeight;
viewStyle.top = this.__viewPortTop + "px";
@@ -12,7 +12,7 @@ declare class SelectionSelect {
y: number;
};
__disabled: boolean;
isDefalutStopMoveGraph: boolean;
isDefaultStopMoveGraph: boolean;
isWholeNode: boolean;
isWholeEdge: boolean;
static pluginName: string;
@@ -3,7 +3,7 @@ var SelectionSelect = /** @class */ (function () {
var _this = this;
var lf = _a.lf;
this.__disabled = false;
this.isDefalutStopMoveGraph = false;
this.isDefaultStopMoveGraph = false;
this.isWholeNode = true;
this.isWholeEdge = true;
this.__draw = function (ev) {
@@ -31,6 +31,7 @@ var SelectionSelect = /** @class */ (function () {
this.__drawOff = function () {
document.removeEventListener('mousemove', _this.__draw);
document.removeEventListener('mouseup', _this.__drawOff);
_this.wrapper.oncontextmenu = null;
_this.__domContainer.removeChild(_this.wrapper);
var _a = _this.startPoint, x = _a.x, y = _a.y;
var _b = _this.endPoint, x1 = _b.x, y1 = _b.y;
@@ -40,16 +41,20 @@ var SelectionSelect = /** @class */ (function () {
}
var lt = [Math.min(x, x1), Math.min(y, y1)];
var rt = [Math.max(x, x1), Math.max(y, y1)];
var elements = _this.lf.getAreaElement(lt, rt, _this.isWholeEdge, _this.isWholeNode);
var elements = _this.lf.graphModel.getAreaElement(lt, rt, _this.isWholeEdge, _this.isWholeNode, true);
var group = _this.lf.graphModel.group;
elements.forEach(function (element) {
_this.lf.selectElementById(element.id, true);
// 如果节点属于分组,则不不选中节点
if (!group || !group.getNodeGroup(element.id)) {
_this.lf.selectElementById(element.id, true);
}
});
_this.lf.emit('selection:selected', elements);
};
this.lf = lf;
// 初始化isDefalutStopMoveGraph取值
// 初始化isDefaultStopMoveGraph取值
var stopMoveGraph = lf.getEditConfig().stopMoveGraph;
this.isDefalutStopMoveGraph = stopMoveGraph;
this.isDefaultStopMoveGraph = stopMoveGraph;
lf.openSelectionSelect = function () {
_this.openSelectionSelect();
};
@@ -72,6 +77,9 @@ var SelectionSelect = /** @class */ (function () {
_this.endPoint = { x: x, y: y };
var wrapper = document.createElement('div');
wrapper.className = 'lf-selection-select';
wrapper.oncontextmenu = function prevent(ev) {
ev.preventDefault();
};
wrapper.style.top = _this.startPoint.y + "px";
wrapper.style.left = _this.startPoint.x + "px";
domContainer.appendChild(wrapper);
@@ -97,7 +105,7 @@ var SelectionSelect = /** @class */ (function () {
SelectionSelect.prototype.openSelectionSelect = function () {
var stopMoveGraph = this.lf.getEditConfig().stopMoveGraph;
if (!stopMoveGraph) {
this.isDefalutStopMoveGraph = false;
this.isDefaultStopMoveGraph = false;
this.lf.updateEditConfig({
stopMoveGraph: true,
});
@@ -108,7 +116,7 @@ var SelectionSelect = /** @class */ (function () {
* 关闭选区
*/
SelectionSelect.prototype.closeSelectionSelect = function () {
if (!this.isDefalutStopMoveGraph) {
if (!this.isDefaultStopMoveGraph) {
this.lf.updateEditConfig({
stopMoveGraph: false,
});
+1
View File
@@ -16,3 +16,4 @@ export * from './tools/flow-path';
export * from './tools/auto-layout';
export * from './bpmn-adapter/xml2json';
export * from './bpmn-adapter/json2xml';
export * from './components/highlight';
@@ -17,3 +17,4 @@ export * from './tools/flow-path';
export * from './tools/auto-layout';
export * from './bpmn-adapter/xml2json';
export * from './bpmn-adapter/json2xml';
export * from './components/highlight';
@@ -1,7 +1,8 @@
import { Extension } from '@logicflow/core';
interface CurvedEdgePlugin extends Extension {
[x: string]: any;
import { PolylineEdge, PolylineEdgeModel } from '@logicflow/core';
declare class CurvedEdge extends PolylineEdge {
pointFilter(points: any): any;
getEdge(): import("preact").VNode<any>;
}
declare const CurvedEdge: CurvedEdgePlugin;
export default CurvedEdge;
export { CurvedEdge, };
declare class CurvedEdgeModel extends PolylineEdgeModel {
}
export { CurvedEdge, CurvedEdgeModel, };
@@ -11,6 +11,17 @@ var __extends = (this && this.__extends) || (function () {
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
var __read = (this && this.__read) || function (o, n) {
var m = typeof Symbol === "function" && o[Symbol.iterator];
if (!m) return o;
@@ -28,15 +39,34 @@ var __read = (this && this.__read) || function (o, n) {
return ar;
};
import { PolylineEdge, PolylineEdgeModel, h } from '@logicflow/core';
var CurvedEdgeView = /** @class */ (function (_super) {
__extends(CurvedEdgeView, _super);
function CurvedEdgeView() {
var CurvedEdge = /** @class */ (function (_super) {
__extends(CurvedEdge, _super);
function CurvedEdge() {
return _super !== null && _super.apply(this, arguments) || this;
}
CurvedEdgeView.prototype.getEdge = function () {
var _a = this.props.model.getEdgeStyle(), strokeWidth = _a.strokeWidth, stroke = _a.stroke, strokeDashArray = _a.strokeDashArray;
var points = this.props.model.points;
var points2 = points.split(' ').map(function (p) { return p.split(',').map(function (a) { return Number(a); }); });
CurvedEdge.prototype.pointFilter = function (points) {
var allPoints = points;
var i = 1;
while (i < allPoints.length - 1) {
var _a = __read(allPoints[i - 1], 2), x = _a[0], y = _a[1];
var _b = __read(allPoints[i], 2), x1 = _b[0], y1 = _b[1];
var _c = __read(allPoints[i + 1], 2), x2 = _c[0], y2 = _c[1];
if ((x === x1 && x1 === x2)
|| (y === y1 && y1 === y2)) {
allPoints.splice(i, 1);
}
else {
i++;
}
}
return allPoints;
};
CurvedEdge.prototype.getEdge = function () {
var model = this.props.model;
var points = model.points, isAnimation = model.isAnimation, arrowConfig = model.arrowConfig, _a = model.radius, radius = _a === void 0 ? 5 : _a;
var style = model.getEdgeStyle();
var animationStyle = model.getEdgeAnimationStyle();
var points2 = this.pointFilter(points.split(' ').map(function (p) { return p.split(',').map(function (a) { return Number(a); }); }));
var _b = __read(points2[0], 2), startX = _b[0], startY = _b[1];
var d = "M" + startX + " " + startY;
// 1) 如果一个点不为开始和结束,则在这个点的前后增加弧度开始和结束点。
@@ -44,42 +74,34 @@ var CurvedEdgeView = /** @class */ (function (_super) {
// 如果x相同则前一个点的x也不变,
// y为(这个点的y 大于前一个点的y, 则 为 这个点的y - 5;小于前一个点的y, 则为这个点的y+5)
// 同理,判断这个点与后一个点的x,y是否相同,如果x相同,则y进行加减,如果y相同,则x进行加减
// todo: 好丑,看看怎么优化下
var space = 5;
for (var i = 1; i < points2.length - 1; i++) {
var _c = __read(points2[i - 1], 2), preX = _c[0], preY = _c[1];
var _d = __read(points2[i], 2), currentX = _d[0], currentY = _d[1];
var _e = __read(points2[i + 1], 2), nextX = _e[0], nextY = _e[1];
if (currentX === preX && currentY !== preY) {
var y = currentY > preY ? currentY - space : currentY + space;
var y = currentY > preY ? currentY - radius : currentY + radius;
d = d + " L " + currentX + " " + y;
}
if (currentY === preY && currentX !== preX) {
var x = currentX > preX ? currentX - space : currentX + space;
var x = currentX > preX ? currentX - radius : currentX + radius;
d = d + " L " + x + " " + currentY;
}
d = d + " Q " + currentX + " " + currentY;
if (currentX === nextX && currentY !== nextY) {
var y = currentY > nextY ? currentY - space : currentY + space;
var y = currentY > nextY ? currentY - radius : currentY + radius;
d = d + " " + currentX + " " + y;
}
if (currentY === nextY && currentX !== nextX) {
var x = currentX > nextX ? currentX - space : currentX + space;
var x = currentX > nextX ? currentX - radius : currentX + radius;
d = d + " " + x + " " + currentY;
}
}
var _f = __read(points2[points2.length - 1], 2), endX = _f[0], endY = _f[1];
d = d + " L " + endX + " " + endY;
return h('path', {
d: d,
strokeWidth: strokeWidth,
stroke: stroke,
fill: 'none',
strokeDashArray: strokeDashArray,
});
var attrs = __assign(__assign(__assign({ d: d, style: isAnimation ? animationStyle : {} }, style), arrowConfig), { fill: 'none' });
return h('path', __assign({ d: d }, attrs));
};
CurvedEdgeView.extendKey = 'curvedEdge';
return CurvedEdgeView;
return CurvedEdge;
}(PolylineEdge));
var CurvedEdgeModel = /** @class */ (function (_super) {
__extends(CurvedEdgeModel, _super);
@@ -88,20 +110,6 @@ var CurvedEdgeModel = /** @class */ (function (_super) {
}
return CurvedEdgeModel;
}(PolylineEdgeModel));
var CurvedEdge = {
pluginName: 'curved-edge',
curvedSpace: 5,
init: function (_a) {
var curvedSpace = _a.curvedSpace;
CurvedEdge.curvedSpace = curvedSpace;
},
install: function (lf) {
lf.register({
type: 'curved-edge',
view: CurvedEdgeView,
model: CurvedEdgeModel,
});
},
};
export default CurvedEdge;
export { CurvedEdge, };
export { CurvedEdge,
// CurvedEdgeView,
CurvedEdgeModel, };
@@ -98,10 +98,18 @@ declare class GroupNodeModel extends RectResize.model {
};
getData(): import("@logicflow/core").NodeData;
getHistoryData(): import("@logicflow/core").NodeData;
/**
* 是否允许此节点添加到此分组中
*/
isAllowAppendIn(nodeData: any): boolean;
/**
* 当groupA被添加到groupB中时,将groupB及groupB所属的group的zIndex减1
*/
toBack(): void;
}
declare class GroupNode extends RectResize.view {
getControlGroup(): h.JSX.Element;
getAddedableShape(): import("preact").VNode<any>;
getAddableShape(): import("preact").VNode<any>;
getFoldIcon(): import("preact").VNode<any>;
getResizeShape(): import("preact").VNode<any>;
}
@@ -46,6 +46,7 @@ import { h } from '@logicflow/core';
import { RectResize } from '../../NodeResize';
var defaultWidth = 500;
var defaultHeight = 300;
var DEFAULT_BOTTOM_Z_INDEX = -10000;
var GroupNodeModel = /** @class */ (function (_super) {
__extends(GroupNodeModel, _super);
function GroupNodeModel() {
@@ -68,8 +69,7 @@ var GroupNodeModel = /** @class */ (function (_super) {
this.height = defaultHeight;
this.foldedWidth = 80;
this.foldedHeight = 60;
// todo: 参考bpmn.js, 分组和未加入分组的节点重合时,未加入分组的节点在分组之下。方便标识。
this.zIndex = -1;
this.zIndex = DEFAULT_BOTTOM_Z_INDEX;
this.radius = 0;
this.text.editable = false;
this.text.draggable = false;
@@ -220,7 +220,7 @@ var GroupNodeModel = /** @class */ (function (_super) {
var model = this.graphModel.addEdge(edgeData);
model.virtual = true;
// 强制不保存group连线数据
model.getData = function () { return null; };
// model.getData = () => null;
model.text.editable = false;
model.isFoldedEdge = true;
};
@@ -274,6 +274,7 @@ var GroupNodeModel = /** @class */ (function (_super) {
GroupNodeModel.prototype.getHistoryData = function () {
var data = _super.prototype.getData.call(this);
data.children = __spread(this.children);
data.isGroup = true;
var properties = data.properties;
delete properties.groupAddable;
if (properties.isFolded) { // 如果分组被折叠
@@ -282,6 +283,18 @@ var GroupNodeModel = /** @class */ (function (_super) {
}
return data;
};
/**
* 是否允许此节点添加到此分组中
*/
GroupNodeModel.prototype.isAllowAppendIn = function (nodeData) {
return true;
};
/**
* 当groupA被添加到groupB中时,将groupB及groupB所属的group的zIndex减1
*/
GroupNodeModel.prototype.toBack = function () {
this.zIndex--;
};
return GroupNodeModel;
}(RectResize.model));
var GroupNode = /** @class */ (function (_super) {
@@ -293,7 +306,7 @@ var GroupNode = /** @class */ (function (_super) {
var _a = this.props.model, resizable = _a.resizable, properties = _a.properties;
return resizable && !properties.isFolded ? _super.prototype.getControlGroup.call(this) : null;
};
GroupNode.prototype.getAddedableShape = function () {
GroupNode.prototype.getAddableShape = function () {
var _a = this.props.model, width = _a.width, height = _a.height, x = _a.x, y = _a.y, radius = _a.radius, properties = _a.properties;
if (!properties.groupAddable)
return null;
@@ -339,7 +352,7 @@ var GroupNode = /** @class */ (function (_super) {
};
GroupNode.prototype.getResizeShape = function () {
return h('g', {}, [
this.getAddedableShape(),
this.getAddableShape(),
_super.prototype.getResizeShape.call(this),
this.getFoldIcon(),
]);
@@ -11,13 +11,18 @@ declare type Bounds = {
declare class Group {
static pluginName: string;
lf: LogicFlow;
topGroupZIndex: number;
activeGroup: any;
nodeGroupMap: Map<BaseNodeId, GroupId>;
constructor({ lf }: {
lf: any;
});
/**
* 获取一个节点内部所有的子节点,包裹分组的子节点
*/
getNodeAllChild(model: any): any[];
graphRendered: (data: any) => void;
appendNodeToGrop: ({ data }: {
appendNodeToGroup: ({ data }: {
data: any;
}) => void;
deleteGroupChild: ({ data }: {
@@ -27,9 +32,20 @@ declare class Group {
data: any;
}) => void;
/**
* 获取自定位置其所属分组
* 1. 分组节点默认在普通节点下面。
* 2. 分组节点被选中后,会将分组节点以及其内部的其他分组节点放到其余分组节点的上面。
* 3. 分组节点取消选中后,不会将分组节点重置为原来的高度。
* 4. 由于LogicFlow核心目标是支持用户手动绘制流程图,所以不考虑一张流程图超过1000个分组节点的情况。
*/
getGroup(bounds: Bounds): BaseNodeModel | undefined;
nodeSelected: ({ data }: {
data: any;
}) => void;
toFrontGroup: (model: any) => void;
/**
* 获取自定位置其所属分组
* 当分组重合时,优先返回最上层的分组
*/
getGroup(bounds: Bounds, nodeData: BaseNodeModel): BaseNodeModel | undefined;
/**
* 获取某个节点所属的groupModel
*/
@@ -1,28 +1,11 @@
var __read = (this && this.__read) || function (o, n) {
var m = typeof Symbol === "function" && o[Symbol.iterator];
if (!m) return o;
var i = m.call(o), r, ar = [], e;
try {
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
}
catch (error) { e = { error: error }; }
finally {
try {
if (r && !r.done && (m = i["return"])) m.call(i);
}
finally { if (e) throw e.error; }
}
return ar;
};
var __spread = (this && this.__spread) || function () {
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));
return ar;
};
import GroupNode from './GroupNode';
var DEFAULT_TOP_Z_INDEX = -1000;
var DEFAULT_BOTTOM_Z_INDEX = -10000;
var Group = /** @class */ (function () {
function Group(_a) {
var _this = this;
var lf = _a.lf;
this.topGroupZIndex = DEFAULT_BOTTOM_Z_INDEX;
this.nodeGroupMap = new Map();
this.graphRendered = function (data) {
// 如果节点
@@ -36,7 +19,7 @@ var Group = /** @class */ (function () {
});
}
};
this.appendNodeToGrop = function (_a) {
this.appendNodeToGroup = function (_a) {
var data = _a.data;
// 如果这个节点之前已经在group中了,则将其从之前的group中移除
var preGroupId = _this.nodeGroupMap.get(data.id);
@@ -47,24 +30,39 @@ var Group = /** @class */ (function () {
preGroup.setAllowAppendChild(false);
}
// 然后再判断这个节点是否在某个group中,如果在,则将其添加到对应的group中
var bounds = _this.lf.getNodeModelById(data.id).getBounds();
var group = _this.getGroup(bounds);
var nodeModel = _this.lf.getNodeModelById(data.id);
var bounds = nodeModel.getBounds();
var group = _this.getGroup(bounds, data);
if (!group)
return;
if (data.id !== group.id) {
group.addChild(data.id);
_this.nodeGroupMap.set(data.id, group.id);
group.setAllowAppendChild(false);
var isAllowAppendIn = group.isAllowAppendIn(data);
if (!isAllowAppendIn) {
_this.lf.emit('group:not-allowed', {
group: group.getData(),
node: data,
});
return;
}
else if (data.children && data.children.length > 0) {
// 表示当前添加的节点是一个新增的group
group.addChild(data.id);
_this.nodeGroupMap.set(data.id, group.id);
group.setAllowAppendChild(false);
// 如果这个节点是分组,那么将其子节点也记录下来
if (nodeModel.isGroup) {
data.children.forEach(function (nodeId) {
_this.nodeGroupMap.set(nodeId, data.id);
});
_this.nodeSelected({ data: data });
}
};
this.deleteGroupChild = function (_a) {
var data = _a.data;
// 如果删除的是分组节点,则同时删除分组的子节点
if (data.children) {
data.children.forEach(function (nodeId) {
_this.nodeGroupMap.delete(nodeId);
_this.lf.deleteNode(nodeId);
});
}
var groupId = _this.nodeGroupMap.get(data.id);
if (groupId) {
var group = _this.lf.getNodeModelById(groupId);
@@ -75,25 +73,66 @@ var Group = /** @class */ (function () {
this.setActiveGroup = function (_a) {
var data = _a.data;
var nodeModel = _this.lf.getNodeModelById(data.id);
if (nodeModel.isGroup)
return;
var bounds = nodeModel.getBounds();
var newGroup = _this.getGroup(bounds);
if (newGroup || newGroup !== _this.activeGroup) {
if (_this.activeGroup) {
_this.activeGroup.setAllowAppendChild(false);
}
if (newGroup) {
_this.activeGroup = newGroup;
_this.activeGroup.setAllowAppendChild(true);
var newGroup = _this.getGroup(bounds, data);
if (_this.activeGroup) {
_this.activeGroup.setAllowAppendChild(false);
}
if (!newGroup || (nodeModel.isGroup && newGroup.id === data.id))
return;
var isAllowAppendIn = newGroup.isAllowAppendIn(data);
if (!isAllowAppendIn) {
return;
}
_this.activeGroup = newGroup;
_this.activeGroup.setAllowAppendChild(true);
};
/**
* 1. 分组节点默认在普通节点下面。
* 2. 分组节点被选中后,会将分组节点以及其内部的其他分组节点放到其余分组节点的上面。
* 3. 分组节点取消选中后,不会将分组节点重置为原来的高度。
* 4. 由于LogicFlow核心目标是支持用户手动绘制流程图,所以不考虑一张流程图超过1000个分组节点的情况。
*/
this.nodeSelected = function (_a) {
var data = _a.data;
var nodeModel = _this.lf.getNodeModelById(data.id);
_this.toFrontGroup(nodeModel);
// 重置所有的group zIndex,防止group节点zIndex增长为正。
if (_this.topGroupZIndex > DEFAULT_TOP_Z_INDEX) {
_this.topGroupZIndex = DEFAULT_BOTTOM_Z_INDEX;
var allGroups = _this.lf.graphModel.nodes
.filter(function (node) { return node.isGroup; })
.sort(function (a, b) { return a.zIndex - b.zIndex; });
var preZIndex = 0;
for (var i = 0; i < allGroups.length; i++) {
var group = allGroups[i];
if (group.zIndex !== preZIndex) {
_this.topGroupZIndex++;
preZIndex = group.zIndex;
}
group.setZIndex(_this.topGroupZIndex);
}
}
};
this.toFrontGroup = function (model) {
if (!model || !model.isGroup) {
return;
}
_this.topGroupZIndex++;
model.setZIndex(_this.topGroupZIndex);
if (model.children) {
model.children.forEach(function (nodeId) {
var node = _this.lf.getNodeModelById(nodeId);
_this.toFrontGroup(node);
});
}
};
lf.register(GroupNode);
this.lf = lf;
lf.graphModel.addNodeMoveRules(function (model, deltaX, deltaY) {
if (model.isGroup) { // 如果移动的是分组,那么分组的子节点也跟着移动。
lf.graphModel.moveNodes(__spread(model.children), deltaX, deltaY, true);
var nodeIds = _this.getNodeAllChild(model);
lf.graphModel.moveNodes(nodeIds, deltaX, deltaY, true);
return true;
}
var groupModel = lf.getNodeModelById(_this.nodeGroupMap.get(model.id));
@@ -110,24 +149,47 @@ var Group = /** @class */ (function () {
return true;
});
lf.graphModel.group = this;
lf.on('node:add', this.appendNodeToGrop);
lf.on('node:add,node:drop', this.appendNodeToGroup);
lf.on('node:delete', this.deleteGroupChild);
lf.on('node:drop', this.appendNodeToGrop);
lf.on('node:dnd-drag', this.setActiveGroup);
lf.on('node:drag', this.setActiveGroup);
lf.on('node:dnd-drag,node:drag', this.setActiveGroup);
lf.on('node:click', this.nodeSelected);
lf.on('graph:rendered', this.graphRendered);
}
/**
* 获取自定位置其所属分组
* 获取一个节点内部所有的子节点,包裹分组的子节点
*/
Group.prototype.getGroup = function (bounds) {
Group.prototype.getNodeAllChild = function (model) {
var _this = this;
var nodeIds = [];
if (model.children) {
model.children.forEach(function (nodeId) {
nodeIds.push(nodeId);
var nodeModel = _this.lf.getNodeModelById(nodeId);
if (nodeModel.isGroup) {
nodeIds = nodeIds.concat(_this.getNodeAllChild(nodeModel));
}
});
}
return nodeIds;
};
/**
* 获取自定位置其所属分组
* 当分组重合时,优先返回最上层的分组
*/
Group.prototype.getGroup = function (bounds, nodeData) {
var nodes = this.lf.graphModel.nodes;
for (var i = 0; i < nodes.length; i++) {
var model = nodes[i];
if (model.isGroup && model.isInRange(bounds)) {
return model;
var groups = nodes.filter(function (node) { return node.isGroup && node.isInRange(bounds) && node.id !== nodeData.id; });
if (groups.length === 0)
return;
if (groups.length === 1)
return groups[0];
var topGroup = groups[groups.length - 1];
for (var i = groups.length - 2; i >= 0; i--) {
if (groups[i].zIndex > topGroup.zIndex) {
topGroup = groups[i];
}
}
return topGroup;
};
/**
* 获取某个节点所属的groupModel
+15 -7
View File
@@ -1,17 +1,25 @@
/**
* 快照插件,生成视图
*/
declare const Snapshot: {
pluginName: string;
install(lf: any): void;
declare class Snapshot {
static pluginName: string;
lf: any;
offsetX: number;
offsetY: number;
fileName: string;
customCssRules: string;
useGlobalRules: boolean;
constructor({ lf }: {
lf: any;
});
getSvgRootElement(lf: any): any;
triggerDownload(imgURI: string): void;
removeAnchor(element: any): void;
downloadSvg(svg: SVGGraphicsElement, fileName: string, backgroundColor: string): void;
getBase64(svg: SVGGraphicsElement, backgroundColor: string): Promise<unknown>;
getBlob(svg: SVGGraphicsElement, backgroundColor: string): Promise<unknown>;
getSnapshot(fileName: string, backgroundColor: string): void;
getSnapshotBase64(backgroundColor: string): Promise<unknown>;
getSnapshotBlob(backgroundColor: string): Promise<unknown>;
getClassRules(): string;
getCanvasData(svg: SVGGraphicsElement, backgroundColor: string): Promise<unknown>;
};
}
export default Snapshot;
export { Snapshot, };
@@ -1,37 +1,27 @@
/**
* 快照插件,生成视图
*/
var Snapshot = {
pluginName: 'snapshot',
install: function (lf) {
var Snapshot = /** @class */ (function () {
function Snapshot(_a) {
var _this = this;
var lf = _a.lf;
this.lf = lf;
this.customCssRules = '';
this.useGlobalRules = true;
/* 下载快照 */
lf.getSnapshot = function (fileName, backgroundColor) {
_this.offsetX = Number.MAX_SAFE_INTEGER;
_this.offsetY = Number.MAX_SAFE_INTEGER;
_this.fileName = fileName || "logic-flow." + Date.now() + ".png";
var svgRootElement = _this.getSvgRootElement(lf);
_this.downloadSvg(svgRootElement, _this.fileName, backgroundColor);
_this.getSnapshot(fileName, backgroundColor);
};
/* 获取Blob对象,用户图片上传 */
lf.getSnapshotBlob = function (backgroundColor) {
_this.offsetX = Number.MAX_SAFE_INTEGER;
_this.offsetY = Number.MAX_SAFE_INTEGER;
var svgRootElement = _this.getSvgRootElement(lf);
return _this.getBlob(svgRootElement, backgroundColor);
};
lf.getSnapshotBlob = function (backgroundColor) { return _this.getSnapshotBlob(backgroundColor); };
/* 获取Base64对象,用户图片上传 */
lf.getSnapshotBase64 = function (backgroundColor) {
_this.offsetX = Number.MAX_SAFE_INTEGER;
_this.offsetY = Number.MAX_SAFE_INTEGER;
var svgRootElement = _this.getSvgRootElement(lf);
return _this.getBase64(svgRootElement, backgroundColor);
};
},
lf.getSnapshotBase64 = function (backgroundColor) { return _this.getSnapshotBase64(backgroundColor); };
}
/* 获取svgRoot对象 */
getSvgRootElement: function (lf) {
Snapshot.prototype.getSvgRootElement = function (lf) {
var _this = this;
this.offsetX = Number.MAX_SAFE_INTEGER;
this.offsetY = Number.MAX_SAFE_INTEGER;
lf.graphModel.nodes.forEach(function (item) {
var x = item.x, width = item.width, y = item.y, height = item.height;
var offsetX = x - width / 2;
@@ -58,8 +48,8 @@ var Snapshot = {
});
var svgRootElement = lf.container.querySelector('.lf-canvas-overlay');
return svgRootElement;
},
triggerDownload: function (imgURI) {
};
Snapshot.prototype.triggerDownload = function (imgURI) {
var evt = new MouseEvent('click', {
view: window,
bubbles: false,
@@ -70,8 +60,8 @@ var Snapshot = {
a.setAttribute('href', imgURI);
a.setAttribute('target', '_blank');
a.dispatchEvent(evt);
},
removeAnchor: function (element) {
};
Snapshot.prototype.removeAnchor = function (element) {
var childNodes = element.childNodes;
var childLength = element.childNodes && element.childNodes.length;
for (var i = 0; i < childLength; i++) {
@@ -83,20 +73,22 @@ var Snapshot = {
i--;
}
}
},
};
/* 下载图片 */
downloadSvg: function (svg, fileName, backgroundColor) {
Snapshot.prototype.getSnapshot = function (fileName, backgroundColor) {
var _this = this;
this.fileName = fileName || "logic-flow." + Date.now() + ".png";
var svg = this.getSvgRootElement(this.lf);
this.getCanvasData(svg, backgroundColor).then(function (canvas) {
var imgURI = canvas
.toDataURL('image/png')
var imgURI = canvas.toDataURL('image/png')
.replace('image/png', 'image/octet-stream');
_this.triggerDownload(imgURI, fileName);
_this.triggerDownload(imgURI);
});
},
};
/* 获取base64对象 */
getBase64: function (svg, backgroundColor) {
Snapshot.prototype.getSnapshotBase64 = function (backgroundColor) {
var _this = this;
var svg = this.getSvgRootElement(this.lf);
return new Promise(function (resolve) {
_this.getCanvasData(svg, backgroundColor).then(function (canvas) {
var base64 = canvas.toDataURL('image/png');
@@ -104,10 +96,11 @@ var Snapshot = {
resolve({ data: base64, width: canvas.width, height: canvas.height });
});
});
},
};
/* 获取Blob对象 */
getBlob: function (svg, backgroundColor) {
Snapshot.prototype.getSnapshotBlob = function (backgroundColor) {
var _this = this;
var svg = this.getSvgRootElement(this.lf);
return new Promise(function (resolve) {
_this.getCanvasData(svg, backgroundColor).then(function (canvas) {
canvas.toBlob(function (blob) {
@@ -116,20 +109,25 @@ var Snapshot = {
}, 'image/png');
});
});
},
getClassRules: function () {
};
Snapshot.prototype.getClassRules = function () {
var rules = '';
var styleSheets = document.styleSheets;
for (var i = 0; i < styleSheets.length; i++) {
var sheet = styleSheets[i];
for (var j = 0; j < sheet.cssRules.length; j++) {
rules += sheet.cssRules[j].cssText;
if (this.useGlobalRules) {
var styleSheets = document.styleSheets;
for (var i = 0; i < styleSheets.length; i++) {
var sheet = styleSheets[i];
for (var j = 0; j < sheet.cssRules.length; j++) {
rules += sheet.cssRules[j].cssText;
}
}
}
if (this.customCssRules) {
rules += this.customCssRules;
}
return rules;
},
};
// 获取图片生成中中间产物canvas对象,用户转换为其他需要的格式
getCanvasData: function (svg, backgroundColor) {
Snapshot.prototype.getCanvasData = function (svg, backgroundColor) {
var _this = this;
var copy = svg.cloneNode(true);
var graph = copy.lastChild;
@@ -163,7 +161,7 @@ var Snapshot = {
真实dom存在缩放影响其宽高数值
在得到真实宽高后除以缩放比例即可得到正常宽高
*/
var base = document.getElementsByClassName('lf-base')[0];
var base = this.lf.graphModel.rootEl.querySelector('.lf-base');
var bbox = base.getBoundingClientRect();
var graphModel = this.lf.graphModel;
var transformModel = graphModel.transformModel;
@@ -201,12 +199,15 @@ var Snapshot = {
因为svg中存在dom存放在foreignObject元素中
SVG图形转成img对象
todo: 会导致一些清晰度问题这个需要再解决
fixme: XMLSerializer的中的css background url不会下载图片
*/
var svg2Img = "data:image/svg+xml;charset=utf-8," + new XMLSerializer().serializeToString(copy);
var imgSrc = svg2Img.replace(/\n/g, '').replace(/\t/g, '').replace(/#/g, '%23');
img.src = imgSrc;
});
},
};
};
Snapshot.pluginName = 'snapshot';
return Snapshot;
}());
export default Snapshot;
export { Snapshot, };
+6 -7
View File
@@ -5,11 +5,11 @@ export declare function toLogicflowData(data: any): {
nodes: any[];
edges: any[];
};
declare const TurboAdapter: {
pluginName: string;
install(lf: any): void;
shapeConfigMap: Map<any, any>;
setCustomShape(key: any, val: any): void;
declare class TurboAdapter {
static pluginName: string;
constructor({ lf }: {
lf: any;
});
adapterOut(logicflowData: any): {
flowElementList: any[];
};
@@ -17,6 +17,5 @@ declare const TurboAdapter: {
nodes: any[];
edges: any[];
};
};
export { TurboAdapter };
}
export default TurboAdapter;
@@ -9,15 +9,37 @@ var __assign = (this && this.__assign) || function () {
};
return __assign.apply(this, arguments);
};
var TurboType;
(function (TurboType) {
TurboType[TurboType["SEQUENCE_FLOW"] = 1] = "SEQUENCE_FLOW";
TurboType[TurboType["START_EVENT"] = 2] = "START_EVENT";
TurboType[TurboType["END_EVENT"] = 3] = "END_EVENT";
TurboType[TurboType["USER_TASK"] = 4] = "USER_TASK";
var __read = (this && this.__read) || function (o, n) {
var m = typeof Symbol === "function" && o[Symbol.iterator];
if (!m) return o;
var i = m.call(o), r, ar = [], e;
try {
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
}
catch (error) { e = { error: error }; }
finally {
try {
if (r && !r.done && (m = i["return"])) m.call(i);
}
finally { if (e) throw e.error; }
}
return ar;
};
var TurboType = {
SEQUENCE_FLOW: 1,
START_EVENT: 2,
END_EVENT: 3,
USER_TASK: 4,
// SERVICE_TASK = 5, 暂不支持
TurboType[TurboType["EXCLUSIVE_GATEWAY"] = 6] = "EXCLUSIVE_GATEWAY";
})(TurboType || (TurboType = {}));
EXCLUSIVE_GATEWAY: 6,
};
var TurboTypeMap = {
1: 'bpmn:sequenceFlow',
2: 'bpmn:startEvent',
3: 'bpmn:endEvent',
4: 'bpmn:userTask',
6: 'bpmn:exclusiveGateway',
};
// 转换Turbo识别的类型
function getTurboType(type) {
switch (type) {
@@ -47,11 +69,11 @@ function convertNodeToTurboElement(node) {
type: getTurboType(node.type),
properties: __assign(__assign({}, properties), { name: (text && text.value) || '', x: x,
y: y,
text: text, logicFlowType: type }),
text: text }),
key: id,
};
}
// 将LogicFlow中的Eedg数据转换为Turbo元素数据
// 将LogicFlow中的Edge数据转换为Turbo元素数据
function convertEdgeToTurboElement(edge) {
var id = edge.id, type = edge.type, sourceNodeId = edge.sourceNodeId, targetNodeId = edge.targetNodeId, startPoint = edge.startPoint, endPoint = edge.endPoint, pointsList = edge.pointsList, _a = edge.text, text = _a === void 0 ? '' : _a, properties = edge.properties;
return {
@@ -59,10 +81,7 @@ function convertEdgeToTurboElement(edge) {
outgoing: [targetNodeId],
type: getTurboType(type),
dockers: [],
properties: __assign(__assign({}, properties), { name: (text && text.value) || '', text: text,
startPoint: startPoint,
endPoint: endPoint,
pointsList: pointsList, logicFlowType: type }),
properties: __assign(__assign({}, properties), { name: (text && text.value) || '', text: text, startPoint: JSON.stringify(startPoint), endPoint: JSON.stringify(endPoint), pointsList: JSON.stringify(pointsList) }),
key: id,
};
}
@@ -87,23 +106,29 @@ export function toTurboData(data) {
});
return turboData;
}
// 将Turbo元素数据转换为LogicFlow中的Eedg数据
// 将Turbo元素数据转换为LogicFlow中的Edge数据
function convertFlowElementToEdge(element) {
var incoming = element.incoming, outgoing = element.outgoing, properties = element.properties, key = element.key;
var text = properties.text, startPoint = properties.startPoint, endPoint = properties.endPoint, pointsList = properties.pointsList, logicFlowType = properties.logicFlowType;
var incoming = element.incoming, outgoing = element.outgoing, properties = element.properties, key = element.key, type = element.type;
var text = properties.text, name = properties.name, startPoint = properties.startPoint, endPoint = properties.endPoint, pointsList = properties.pointsList;
var edge = {
id: key,
type: logicFlowType,
type: TurboTypeMap[type],
sourceNodeId: incoming[0],
targetNodeId: outgoing[0],
text: text,
startPoint: startPoint,
endPoint: endPoint,
pointsList: pointsList,
text: text || name,
properties: {},
};
if (startPoint) {
edge.startPoint = JSON.parse(startPoint);
}
if (endPoint) {
edge.endPoint = JSON.parse(endPoint);
}
if (pointsList) {
edge.pointsList = JSON.parse(pointsList);
}
// 这种转换方式,在自定义属性中不能与excludeProperties中的属性重名,否则将在转换过程中丢失
var excludeProperties = ['startPoint', 'endPoint', 'pointsList', 'text', 'logicFlowType'];
var excludeProperties = ['startPoint', 'endPoint', 'pointsList', 'text'];
Object.keys(element.properties).forEach(function (property) {
if (excludeProperties.indexOf(property) === -1) {
edge.properties[property] = element.properties[property];
@@ -113,18 +138,24 @@ function convertFlowElementToEdge(element) {
}
// 将Turbo元素数据转换为LogicFlow中的Node数据
function convertFlowElementToNode(element) {
var properties = element.properties, key = element.key;
var x = properties.x, y = properties.y, text = properties.text, logicFlowType = properties.logicFlowType;
var properties = element.properties, key = element.key, type = element.type, bounds = element.bounds;
var x = properties.x, y = properties.y;
var text = properties.text;
if (x === undefined) {
var _a = __read(bounds, 2), _b = _a[0], x1 = _b.x, y1 = _b.y, _c = _a[1], x2 = _c.x, y2 = _c.y;
x = (x1 + x2) / 2;
y = (y1 + y2) / 2;
}
var node = {
id: key,
type: logicFlowType,
type: TurboTypeMap[type],
x: x,
y: y,
text: text,
properties: {},
};
// 这种转换方式,在自定义属性中不能与excludeProperties中的属性重名,否则将在转换过程中丢失
var excludeProperties = ['x', 'y', 'text', 'logicFlowType'];
var excludeProperties = ['x', 'y', 'text'];
Object.keys(element.properties).forEach(function (property) {
if (excludeProperties.indexOf(property) === -1) {
node.properties[property] = element.properties[property];
@@ -151,26 +182,23 @@ export function toLogicflowData(data) {
});
return lfData;
}
var TurboAdapter = {
pluginName: 'turboAdapter',
install: function (lf) {
var TurboAdapter = /** @class */ (function () {
function TurboAdapter(_a) {
var lf = _a.lf;
lf.adapterIn = this.adapterIn;
lf.adapterOut = this.adapterOut;
},
shapeConfigMap: new Map(),
setCustomShape: function (key, val) {
this.shapeConfigMap.set(key, val);
},
adapterOut: function (logicflowData) {
}
TurboAdapter.prototype.adapterOut = function (logicflowData) {
if (logicflowData) {
return toTurboData(logicflowData);
}
},
adapterIn: function (turboData) {
};
TurboAdapter.prototype.adapterIn = function (turboData) {
if (turboData) {
return toLogicflowData(turboData);
}
},
};
export { TurboAdapter };
};
TurboAdapter.pluginName = 'turboAdapter';
return TurboAdapter;
}());
export default TurboAdapter;
@@ -1 +1 @@
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var r=e();for(var n in r)("object"==typeof exports?exports:t)[n]=r[n]}}(window,(function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=220)}([function(t,e,r){(function(e){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,r(95))},function(t,e){var r=Function.prototype,n=r.bind,o=r.call,i=n&&n.bind(o);t.exports=n?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},function(t,e){t.exports=function(t){return"function"==typeof t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,r){var n=r(0),o=r(33),i=r(5),u=r(34),c=r(45),f=r(62),a=o("wks"),s=n.Symbol,p=s&&s.for,l=f?s:s&&s.withoutSetter||u;t.exports=function(t){if(!i(a,t)||!c&&"string"!=typeof a[t]){var e="Symbol."+t;c&&i(s,t)?a[t]=s[t]:a[t]=f&&p?p(e):l(e)}return a[t]}},function(t,e,r){var n=r(1),o=r(15),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},function(t,e,r){var n=r(0),o=r(25).f,i=r(16),u=r(14),c=r(42),f=r(68),a=r(71);t.exports=function(t,e){var r,s,p,l,v,y=t.target,d=t.global,h=t.stat;if(r=d?n:h?n[y]||c(y,{}):(n[y]||{}).prototype)for(s in e){if(l=e[s],p=t.noTargetGet?(v=o(r,s))&&v.value:r[s],!a(d?s:y+(h?".":"#")+s,t.forced)&&void 0!==p){if(typeof l==typeof p)continue;f(l,p)}(t.sham||p&&p.sham)&&i(l,"sham",!0),u(r,s,l,t)}}},function(t,e,r){var n=r(3);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e,r){var n=r(0),o=r(7),i=r(63),u=r(10),c=r(26),f=n.TypeError,a=Object.defineProperty;e.f=o?a:function(t,e,r){if(u(t),e=c(e),u(r),i)try{return a(t,e,r)}catch(t){}if("get"in r||"set"in r)throw f("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},function(t,e,r){var n=r(2);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},function(t,e,r){var n=r(0),o=r(9),i=n.String,u=n.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not an object")}},function(t,e){var r=Function.prototype.call;t.exports=r.bind?r.bind(r):function(){return r.apply(r,arguments)}},function(t,e,r){var n=r(49),o=r(31);t.exports=function(t){return n(o(t))}},function(t,e,r){var n=r(0),o=r(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?i(n[t]):n[t]&&n[t][e]}},function(t,e,r){var n=r(0),o=r(2),i=r(5),u=r(16),c=r(42),f=r(38),a=r(22),s=r(53).CONFIGURABLE,p=a.get,l=a.enforce,v=String(String).split("String");(t.exports=function(t,e,r,f){var a,p=!!f&&!!f.unsafe,y=!!f&&!!f.enumerable,d=!!f&&!!f.noTargetGet,h=f&&void 0!==f.name?f.name:e;o(r)&&("Symbol("===String(h).slice(0,7)&&(h="["+String(h).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(r,"name")||s&&r.name!==h)&&u(r,"name",h),(a=l(r)).source||(a.source=v.join("string"==typeof h?h:""))),t!==n?(p?!d&&t[e]&&(y=!0):delete t[e],y?t[e]=r:u(t,e,r)):y?t[e]=r:c(e,r)})(Function.prototype,"toString",(function(){return o(this)&&p(this).source||f(this)}))},function(t,e,r){var n=r(0),o=r(31),i=n.Object;t.exports=function(t){return i(o(t))}},function(t,e,r){var n=r(7),o=r(8),i=r(21);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},function(t,e,r){var n=r(83);t.exports=function(t){return n(t.length)}},,function(t,e,r){var n,o=r(10),i=r(93),u=r(46),c=r(24),f=r(106),a=r(44),s=r(29),p=s("IE_PROTO"),l=function(){},v=function(t){return"<script>"+t+"<\/script>"},y=function(t){t.write(v("")),t.close();var e=t.parentWindow.Object;return t=null,e},d=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e;d="undefined"!=typeof document?document.domain&&n?y(n):((e=a("iframe")).style.display="none",f.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):y(n);for(var r=u.length;r--;)delete d.prototype[u[r]Line truncated
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var r=e();for(var n in r)("object"==typeof exports?exports:t)[n]=r[n]}}(window,(function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=220)}([function(t,e,r){(function(e){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,r(97))},function(t,e){var r=Function.prototype,n=r.bind,o=r.call,i=n&&n.bind(o);t.exports=n?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},function(t,e){t.exports=function(t){return"function"==typeof t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,r){var n=r(0),o=r(34),i=r(6),u=r(36),c=r(46),f=r(62),a=o("wks"),s=n.Symbol,p=s&&s.for,l=f?s:s&&s.withoutSetter||u;t.exports=function(t){if(!i(a,t)||!c&&"string"!=typeof a[t]){var e="Symbol."+t;c&&i(s,t)?a[t]=s[t]:a[t]=f&&p?p(e):l(e)}return a[t]}},function(t,e,r){var n=r(0),o=r(25).f,i=r(16),u=r(15),c=r(42),f=r(68),a=r(73);t.exports=function(t,e){var r,s,p,l,v,y=t.target,d=t.global,h=t.stat;if(r=d?n:h?n[y]||c(y,{}):(n[y]||{}).prototype)for(s in e){if(l=e[s],p=t.noTargetGet?(v=o(r,s))&&v.value:r[s],!a(d?s:y+(h?".":"#")+s,t.forced)&&void 0!==p){if(typeof l==typeof p)continue;f(l,p)}(t.sham||p&&p.sham)&&i(l,"sham",!0),u(r,s,l,t)}}},function(t,e,r){var n=r(1),o=r(14),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},function(t,e,r){var n=r(3);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e,r){var n=r(0),o=r(7),i=r(63),u=r(10),c=r(27),f=n.TypeError,a=Object.defineProperty;e.f=o?a:function(t,e,r){if(u(t),e=c(e),u(r),i)try{return a(t,e,r)}catch(t){}if("get"in r||"set"in r)throw f("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},function(t,e,r){var n=r(2);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},function(t,e,r){var n=r(0),o=r(9),i=n.String,u=n.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not an object")}},function(t,e){var r=Function.prototype.call;t.exports=r.bind?r.bind(r):function(){return r.apply(r,arguments)}},function(t,e,r){var n=r(55),o=r(33);t.exports=function(t){return n(o(t))}},function(t,e,r){var n=r(0),o=r(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?i(n[t]):n[t]&&n[t][e]}},function(t,e,r){var n=r(0),o=r(33),i=n.Object;t.exports=function(t){return i(o(t))}},function(t,e,r){var n=r(0),o=r(2),i=r(6),u=r(16),c=r(42),f=r(39),a=r(22),s=r(53).CONFIGURABLE,p=a.get,l=a.enforce,v=String(String).split("String");(t.exports=function(t,e,r,f){var a,p=!!f&&!!f.unsafe,y=!!f&&!!f.enumerable,d=!!f&&!!f.noTargetGet,h=f&&void 0!==f.name?f.name:e;o(r)&&("Symbol("===String(h).slice(0,7)&&(h="["+String(h).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(r,"name")||s&&r.name!==h)&&u(r,"name",h),(a=l(r)).source||(a.source=v.join("string"==typeof h?h:""))),t!==n?(p?!d&&t[e]&&(y=!0):delete t[e],y?t[e]=r:u(t,e,r)):y?t[e]=r:c(e,r)})(Function.prototype,"toString",(function(){return o(this)&&p(this).source||f(this)}))},function(t,e,r){var n=r(7),o=r(8),i=r(21);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},function(t,e,r){var n=r(89);t.exports=function(t){return n(t.length)}},function(t,e,r){var n,o=r(10),i=r(94),u=r(47),c=r(24),f=r(106),a=r(44),s=r(30),p=s("IE_PROTO"),l=function(){},v=function(t){return"<script>"+t+"<\/script>"},y=function(t){t.write(v("")),t.close();var e=t.parentWindow.Object;return t=null,e},d=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e;d="undefined"!=typeof document?document.domain&&n?y(n):((e=a("iframe")).style.display="none",f.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):y(n);for(var r=u.length;r--;)delete d.prototype[u[r]]Line truncated
@@ -1 +1 @@
!function(t,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r();else if("function"==typeof define&&define.amd)define([],r);else{var n=r();for(var e in n)("object"==typeof exports?exports:t)[e]=n[e]}}(window,(function(){return function(t){var r={};function n(e){if(r[e])return r[e].exports;var o=r[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=r,n.d=function(t,r,e){n.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:e})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,r){if(1&r&&(t=n(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(n.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var o in t)n.d(e,o,function(r){return t[r]}.bind(null,o));return e},n.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(r,"a",r),r},n.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},n.p="",n(n.s=224)}([function(t,r,n){(function(r){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r&&r)||function(){return this}()||Function("return this")()}).call(this,n(95))},function(t,r){var n=Function.prototype,e=n.bind,o=n.call,i=e&&e.bind(o);t.exports=e?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},function(t,r){t.exports=function(t){return"function"==typeof t}},function(t,r){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,r,n){var e=n(0),o=n(33),i=n(5),u=n(34),a=n(45),c=n(62),f=o("wks"),s=e.Symbol,p=s&&s.for,l=c?s:s&&s.withoutSetter||u;t.exports=function(t){if(!i(f,t)||!a&&"string"!=typeof f[t]){var r="Symbol."+t;a&&i(s,t)?f[t]=s[t]:f[t]=c&&p?p(r):l(r)}return f[t]}},function(t,r,n){var e=n(1),o=n(15),i=e({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,r){return i(o(t),r)}},function(t,r,n){var e=n(0),o=n(25).f,i=n(16),u=n(14),a=n(42),c=n(68),f=n(71);t.exports=function(t,r){var n,s,p,l,v,d=t.target,h=t.global,y=t.stat;if(n=h?e:y?e[d]||a(d,{}):(e[d]||{}).prototype)for(s in r){if(l=r[s],p=t.noTargetGet?(v=o(n,s))&&v.value:n[s],!f(h?s:d+(y?".":"#")+s,t.forced)&&void 0!==p){if(typeof l==typeof p)continue;c(l,p)}(t.sham||p&&p.sham)&&i(l,"sham",!0),u(n,s,l,t)}}},function(t,r,n){var e=n(3);t.exports=!e((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,r,n){var e=n(0),o=n(7),i=n(63),u=n(10),a=n(26),c=e.TypeError,f=Object.defineProperty;r.f=o?f:function(t,r,n){if(u(t),r=a(r),u(n),i)try{return f(t,r,n)}catch(t){}if("get"in n||"set"in n)throw c("Accessors not supported");return"value"in n&&(t[r]=n.value),t}},function(t,r,n){var e=n(2);t.exports=function(t){return"object"==typeof t?null!==t:e(t)}},function(t,r,n){var e=n(0),o=n(9),i=e.String,u=e.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not an object")}},function(t,r){var n=Function.prototype.call;t.exports=n.bind?n.bind(n):function(){return n.apply(n,arguments)}},function(t,r,n){var e=n(49),o=n(31);t.exports=function(t){return e(o(t))}},function(t,r,n){var e=n(0),o=n(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,r){return arguments.length<2?i(e[t]):e[t]&&e[t][r]}},function(t,r,n){var e=n(0),o=n(2),i=n(5),u=n(16),a=n(42),c=n(38),f=n(22),s=n(53).CONFIGURABLE,p=f.get,l=f.enforce,v=String(String).split("String");(t.exports=function(t,r,n,c){var f,p=!!c&&!!c.unsafe,d=!!c&&!!c.enumerable,h=!!c&&!!c.noTargetGet,y=c&&void 0!==c.name?c.name:r;o(n)&&("Symbol("===String(y).slice(0,7)&&(y="["+String(y).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(n,"name")||s&&n.name!==y)&&u(n,"name",y),(f=l(n)).source||(f.source=v.join("string"==typeof y?y:""))),t!==e?(p?!h&&t[r]&&(d=!0):delete t[r],d?t[r]=n:u(t,r,n)):d?t[r]=n:a(r,n)})(Function.prototype,"toString",(function(){return o(this)&&p(this).source||c(this)}))},function(t,r,n){var e=n(0),o=n(31),i=e.Object;t.exports=function(t){return i(o(t))}},function(t,r,n){var e=n(7),o=n(8),i=n(21);t.exports=e?function(t,r,n){return o.f(t,r,i(1,n))}:function(t,r,n){return t[r]=n,t}},function(t,r,n){var e=n(83);t.exports=function(t){return e(t.length)}},,function(t,r,n){var e,o=n(10),i=n(93),u=n(46),a=n(24),c=n(106),f=n(44),s=n(29),p=s("IE_PROTO"),l=function(){},v=function(t){return"<script>"+t+"<\/script>"},d=function(t){t.write(v("")),t.close();var r=t.parentWindow.Object;return t=null,r},h=function(){try{e=new ActiveXObject("htmlfile")}catch(t){}var t,r;h="undefined"!=typeof document?document.domain&&e?d(e):((r=f("iframe")).style.display="none",c.appendChild(r),r.src=String("javascript:"),(t=r.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):d(e);for(var n=u.length;n--;)delete h.prototype[u[n]Line truncated
!function(t,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r();else if("function"==typeof define&&define.amd)define([],r);else{var n=r();for(var e in n)("object"==typeof exports?exports:t)[e]=n[e]}}(window,(function(){return function(t){var r={};function n(e){if(r[e])return r[e].exports;var o=r[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=r,n.d=function(t,r,e){n.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:e})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,r){if(1&r&&(t=n(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(n.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var o in t)n.d(e,o,function(r){return t[r]}.bind(null,o));return e},n.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(r,"a",r),r},n.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},n.p="",n(n.s=233)}([function(t,r,n){(function(r){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r&&r)||function(){return this}()||Function("return this")()}).call(this,n(97))},function(t,r){var n=Function.prototype,e=n.bind,o=n.call,i=e&&e.bind(o);t.exports=e?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},function(t,r){t.exports=function(t){return"function"==typeof t}},function(t,r){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,r,n){var e=n(0),o=n(34),i=n(6),u=n(36),a=n(46),c=n(62),f=o("wks"),s=e.Symbol,p=s&&s.for,l=c?s:s&&s.withoutSetter||u;t.exports=function(t){if(!i(f,t)||!a&&"string"!=typeof f[t]){var r="Symbol."+t;a&&i(s,t)?f[t]=s[t]:f[t]=c&&p?p(r):l(r)}return f[t]}},function(t,r,n){var e=n(0),o=n(25).f,i=n(16),u=n(15),a=n(42),c=n(68),f=n(73);t.exports=function(t,r){var n,s,p,l,v,d=t.target,h=t.global,y=t.stat;if(n=h?e:y?e[d]||a(d,{}):(e[d]||{}).prototype)for(s in r){if(l=r[s],p=t.noTargetGet?(v=o(n,s))&&v.value:n[s],!f(h?s:d+(y?".":"#")+s,t.forced)&&void 0!==p){if(typeof l==typeof p)continue;c(l,p)}(t.sham||p&&p.sham)&&i(l,"sham",!0),u(n,s,l,t)}}},function(t,r,n){var e=n(1),o=n(14),i=e({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,r){return i(o(t),r)}},function(t,r,n){var e=n(3);t.exports=!e((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,r,n){var e=n(0),o=n(7),i=n(63),u=n(10),a=n(27),c=e.TypeError,f=Object.defineProperty;r.f=o?f:function(t,r,n){if(u(t),r=a(r),u(n),i)try{return f(t,r,n)}catch(t){}if("get"in n||"set"in n)throw c("Accessors not supported");return"value"in n&&(t[r]=n.value),t}},function(t,r,n){var e=n(2);t.exports=function(t){return"object"==typeof t?null!==t:e(t)}},function(t,r,n){var e=n(0),o=n(9),i=e.String,u=e.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not an object")}},function(t,r){var n=Function.prototype.call;t.exports=n.bind?n.bind(n):function(){return n.apply(n,arguments)}},function(t,r,n){var e=n(55),o=n(33);t.exports=function(t){return e(o(t))}},function(t,r,n){var e=n(0),o=n(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,r){return arguments.length<2?i(e[t]):e[t]&&e[t][r]}},function(t,r,n){var e=n(0),o=n(33),i=e.Object;t.exports=function(t){return i(o(t))}},function(t,r,n){var e=n(0),o=n(2),i=n(6),u=n(16),a=n(42),c=n(39),f=n(22),s=n(53).CONFIGURABLE,p=f.get,l=f.enforce,v=String(String).split("String");(t.exports=function(t,r,n,c){var f,p=!!c&&!!c.unsafe,d=!!c&&!!c.enumerable,h=!!c&&!!c.noTargetGet,y=c&&void 0!==c.name?c.name:r;o(n)&&("Symbol("===String(y).slice(0,7)&&(y="["+String(y).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(n,"name")||s&&n.name!==y)&&u(n,"name",y),(f=l(n)).source||(f.source=v.join("string"==typeof y?y:""))),t!==e?(p?!h&&t[r]&&(d=!0):delete t[r],d?t[r]=n:u(t,r,n)):d?t[r]=n:a(r,n)})(Function.prototype,"toString",(function(){return o(this)&&p(this).source||c(this)}))},function(t,r,n){var e=n(7),o=n(8),i=n(21);t.exports=e?function(t,r,n){return o.f(t,r,i(1,n))}:function(t,r,n){return t[r]=n,t}},function(t,r,n){var e=n(89);t.exports=function(t){return e(t.length)}},function(t,r,n){var e,o=n(10),i=n(94),u=n(47),a=n(24),c=n(106),f=n(44),s=n(30),p=s("IE_PROTO"),l=function(){},v=function(t){return"<script>"+t+"<\/script>"},d=function(t){t.write(v("")),t.close();var r=t.parentWindow.Object;return t=null,r},h=function(){try{e=new ActiveXObject("htmlfile")}catch(t){}var t,r;h="undefined"!=typeof document?document.domain&&e?d(e):((r=f("iframe")).style.display="none",c.appendChild(r),r.src=String("javascript:"),(t=r.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):d(e);for(var n=u.length;n--;)delete h.prototype[u[n]]Line truncated
@@ -1 +1 @@
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e(require("window"));else if("function"==typeof define&&define.amd)define(["window"],e);else{var r="object"==typeof exports?e(require("window")):e(t.window);for(var n in r)("object"==typeof exports?exports:t)[n]=r[n]}}(window,(function(t){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=223)}([function(t,e,r){(function(e){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,r(95))},function(t,e){var r=Function.prototype,n=r.bind,o=r.call,i=n&&n.bind(o);t.exports=n?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},function(t,e){t.exports=function(t){return"function"==typeof t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,r){var n=r(0),o=r(33),i=r(5),c=r(34),u=r(45),f=r(62),a=o("wks"),s=n.Symbol,l=s&&s.for,p=f?s:s&&s.withoutSetter||c;t.exports=function(t){if(!i(a,t)||!u&&"string"!=typeof a[t]){var e="Symbol."+t;u&&i(s,t)?a[t]=s[t]:a[t]=f&&l?l(e):p(e)}return a[t]}},function(t,e,r){var n=r(1),o=r(15),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},function(t,e,r){var n=r(0),o=r(25).f,i=r(16),c=r(14),u=r(42),f=r(68),a=r(71);t.exports=function(t,e){var r,s,l,p,y,v=t.target,b=t.global,h=t.stat;if(r=b?n:h?n[v]||u(v,{}):(n[v]||{}).prototype)for(s in e){if(p=e[s],l=t.noTargetGet?(y=o(r,s))&&y.value:r[s],!a(b?s:v+(h?".":"#")+s,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;f(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),c(r,s,p,t)}}},function(t,e,r){var n=r(3);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e,r){var n=r(0),o=r(7),i=r(63),c=r(10),u=r(26),f=n.TypeError,a=Object.defineProperty;e.f=o?a:function(t,e,r){if(c(t),e=u(e),c(r),i)try{return a(t,e,r)}catch(t){}if("get"in r||"set"in r)throw f("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},function(t,e,r){var n=r(2);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},function(t,e,r){var n=r(0),o=r(9),i=n.String,c=n.TypeError;t.exports=function(t){if(o(t))return t;throw c(i(t)+" is not an object")}},function(t,e){var r=Function.prototype.call;t.exports=r.bind?r.bind(r):function(){return r.apply(r,arguments)}},function(t,e,r){var n=r(49),o=r(31);t.exports=function(t){return n(o(t))}},function(t,e,r){var n=r(0),o=r(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?i(n[t]):n[t]&&n[t][e]}},function(t,e,r){var n=r(0),o=r(2),i=r(5),c=r(16),u=r(42),f=r(38),a=r(22),s=r(53).CONFIGURABLE,l=a.get,p=a.enforce,y=String(String).split("String");(t.exports=function(t,e,r,f){var a,l=!!f&&!!f.unsafe,v=!!f&&!!f.enumerable,b=!!f&&!!f.noTargetGet,h=f&&void 0!==f.name?f.name:e;o(r)&&("Symbol("===String(h).slice(0,7)&&(h="["+String(h).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(r,"name")||s&&r.name!==h)&&c(r,"name",h),(a=p(r)).source||(a.source=y.join("string"==typeof h?h:""))),t!==n?(l?!b&&t[e]&&(v=!0):delete t[e],v?t[e]=r:c(t,e,r)):v?t[e]=r:u(e,r)})(Function.prototype,"toString",(function(){return o(this)&&l(this).source||f(this)}))},function(t,e,r){var n=r(0),o=r(31),i=n.Object;t.exports=function(t){return i(o(t))}},function(t,e,r){var n=r(7),o=r(8),i=r(21);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},function(t,e,r){var n=r(83);t.exports=function(t){return n(t.length)}},function(e,r){e.exports=t},function(t,e,r){var n,o=r(10),i=r(93),c=r(46),u=r(24),f=r(106),a=r(44),s=r(29),l=s("IE_PROTO"),p=function(){},y=function(t){return"<script>"+t+"<\/script>"},v=function(t){t.write(y("")),t.close();var e=t.parentWindow.Object;return t=null,e},b=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e;b="undefined"!=typeof document?document.domain&&n?v(n):((e=a("iframe")).style.display="none",f.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).Line truncated
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e(require("window"));else if("function"==typeof define&&define.amd)define(["window"],e);else{var r="object"==typeof exports?e(require("window")):e(t.window);for(var n in r)("object"==typeof exports?exports:t)[n]=r[n]}}(window,(function(t){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=232)}([function(t,e,r){(function(e){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,r(97))},function(t,e){var r=Function.prototype,n=r.bind,o=r.call,i=n&&n.bind(o);t.exports=n?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},function(t,e){t.exports=function(t){return"function"==typeof t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,r){var n=r(0),o=r(34),i=r(6),c=r(36),u=r(46),f=r(62),a=o("wks"),s=n.Symbol,l=s&&s.for,p=f?s:s&&s.withoutSetter||c;t.exports=function(t){if(!i(a,t)||!u&&"string"!=typeof a[t]){var e="Symbol."+t;u&&i(s,t)?a[t]=s[t]:a[t]=f&&l?l(e):p(e)}return a[t]}},function(t,e,r){var n=r(0),o=r(25).f,i=r(16),c=r(15),u=r(42),f=r(68),a=r(73);t.exports=function(t,e){var r,s,l,p,y,v=t.target,b=t.global,h=t.stat;if(r=b?n:h?n[v]||u(v,{}):(n[v]||{}).prototype)for(s in e){if(p=e[s],l=t.noTargetGet?(y=o(r,s))&&y.value:r[s],!a(b?s:v+(h?".":"#")+s,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;f(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),c(r,s,p,t)}}},function(t,e,r){var n=r(1),o=r(14),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},function(t,e,r){var n=r(3);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e,r){var n=r(0),o=r(7),i=r(63),c=r(10),u=r(27),f=n.TypeError,a=Object.defineProperty;e.f=o?a:function(t,e,r){if(c(t),e=u(e),c(r),i)try{return a(t,e,r)}catch(t){}if("get"in r||"set"in r)throw f("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},function(t,e,r){var n=r(2);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},function(t,e,r){var n=r(0),o=r(9),i=n.String,c=n.TypeError;t.exports=function(t){if(o(t))return t;throw c(i(t)+" is not an object")}},function(t,e){var r=Function.prototype.call;t.exports=r.bind?r.bind(r):function(){return r.apply(r,arguments)}},function(t,e,r){var n=r(55),o=r(33);t.exports=function(t){return n(o(t))}},function(t,e,r){var n=r(0),o=r(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?i(n[t]):n[t]&&n[t][e]}},function(t,e,r){var n=r(0),o=r(33),i=n.Object;t.exports=function(t){return i(o(t))}},function(t,e,r){var n=r(0),o=r(2),i=r(6),c=r(16),u=r(42),f=r(39),a=r(22),s=r(53).CONFIGURABLE,l=a.get,p=a.enforce,y=String(String).split("String");(t.exports=function(t,e,r,f){var a,l=!!f&&!!f.unsafe,v=!!f&&!!f.enumerable,b=!!f&&!!f.noTargetGet,h=f&&void 0!==f.name?f.name:e;o(r)&&("Symbol("===String(h).slice(0,7)&&(h="["+String(h).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(r,"name")||s&&r.name!==h)&&c(r,"name",h),(a=p(r)).source||(a.source=y.join("string"==typeof h?h:""))),t!==n?(l?!b&&t[e]&&(v=!0):delete t[e],v?t[e]=r:c(t,e,r)):v?t[e]=r:u(e,r)})(Function.prototype,"toString",(function(){return o(this)&&l(this).source||f(this)}))},function(t,e,r){var n=r(7),o=r(8),i=r(21);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},function(t,e,r){var n=r(89);t.exports=function(t){return n(t.length)}},function(t,e,r){var n,o=r(10),i=r(94),c=r(47),u=r(24),f=r(106),a=r(44),s=r(30),l=s("IE_PROTO"),p=function(){},y=function(t){return"<script>"+t+"<\/script>"},v=function(t){t.write(y("")),t.close();var e=t.parentWindow.Object;return t=null,e},b=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e;b="undefined"!=typeof document?document.domain&&n?v(n):((e=a("iframe")).style.display="none",f.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(y("document.Line truncated
@@ -1 +1 @@
!function(t,n){if("object"==typeof exports&&"object"==typeof module)module.exports=n();else if("function"==typeof define&&define.amd)define([],n);else{var e=n();for(var r in e)("object"==typeof exports?exports:t)[r]=e[r]}}(window,(function(){return function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=202)}([function(t,n,e){(function(n){var e=function(t){return t&&t.Math==Math&&t};t.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof n&&n)||function(){return this}()||Function("return this")()}).call(this,e(95))},function(t,n){var e=Function.prototype,r=e.bind,o=e.call,i=r&&r.bind(o);t.exports=r?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},function(t,n){t.exports=function(t){return"function"==typeof t}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,e){var r=e(0),o=e(33),i=e(5),u=e(34),a=e(45),c=e(62),f=o("wks"),s=r.Symbol,l=s&&s.for,p=c?s:s&&s.withoutSetter||u;t.exports=function(t){if(!i(f,t)||!a&&"string"!=typeof f[t]){var n="Symbol."+t;a&&i(s,t)?f[t]=s[t]:f[t]=c&&l?l(n):p(n)}return f[t]}},function(t,n,e){var r=e(1),o=e(15),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,n){return i(o(t),n)}},function(t,n,e){var r=e(0),o=e(25).f,i=e(16),u=e(14),a=e(42),c=e(68),f=e(71);t.exports=function(t,n){var e,s,l,p,v,d=t.target,y=t.global,h=t.stat;if(e=y?r:h?r[d]||a(d,{}):(r[d]||{}).prototype)for(s in n){if(p=n[s],l=t.noTargetGet?(v=o(e,s))&&v.value:e[s],!f(y?s:d+(h?".":"#")+s,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;c(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),u(e,s,p,t)}}},function(t,n,e){var r=e(3);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,n,e){var r=e(0),o=e(7),i=e(63),u=e(10),a=e(26),c=r.TypeError,f=Object.defineProperty;n.f=o?f:function(t,n,e){if(u(t),n=a(n),u(e),i)try{return f(t,n,e)}catch(t){}if("get"in e||"set"in e)throw c("Accessors not supported");return"value"in e&&(t[n]=e.value),t}},function(t,n,e){var r=e(2);t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},function(t,n,e){var r=e(0),o=e(9),i=r.String,u=r.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not an object")}},function(t,n){var e=Function.prototype.call;t.exports=e.bind?e.bind(e):function(){return e.apply(e,arguments)}},function(t,n,e){var r=e(49),o=e(31);t.exports=function(t){return r(o(t))}},function(t,n,e){var r=e(0),o=e(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,n){return arguments.length<2?i(r[t]):r[t]&&r[t][n]}},function(t,n,e){var r=e(0),o=e(2),i=e(5),u=e(16),a=e(42),c=e(38),f=e(22),s=e(53).CONFIGURABLE,l=f.get,p=f.enforce,v=String(String).split("String");(t.exports=function(t,n,e,c){var f,l=!!c&&!!c.unsafe,d=!!c&&!!c.enumerable,y=!!c&&!!c.noTargetGet,h=c&&void 0!==c.name?c.name:n;o(e)&&("Symbol("===String(h).slice(0,7)&&(h="["+String(h).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(e,"name")||s&&e.name!==h)&&u(e,"name",h),(f=p(e)).source||(f.source=v.join("string"==typeof h?h:""))),t!==r?(l?!y&&t[n]&&(d=!0):delete t[n],d?t[n]=e:u(t,n,e)):d?t[n]=e:a(n,e)})(Function.prototype,"toString",(function(){return o(this)&&l(this).source||c(this)}))},function(t,n,e){var r=e(0),o=e(31),i=r.Object;t.exports=function(t){return i(o(t))}},function(t,n,e){var r=e(7),o=e(8),i=e(21);t.exports=r?function(t,n,e){return o.f(t,n,i(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n,e){var r=e(83);t.exports=function(t){return r(t.length)}},,function(t,n,e){var r,o=e(10),i=e(93),u=e(46),a=e(24),c=e(106),f=e(44),s=e(29),l=s("IE_PROTO"),p=function(){},v=function(t){return"<script>"+t+"<\/script>"},d=function(t){t.write(v("")),t.close();var n=t.parentWindow.Object;return t=null,n},y=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}var t,n;y="undefined"!=typeof document?document.domain&&r?d(r):((n=f("iframe")).style.display="none",c.appendChild(n),n.src=String("javascript:"),(t=n.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):d(r);for(var e=u.length;e--;)delete y.prototype[u[e]Line truncated
!function(t,n){if("object"==typeof exports&&"object"==typeof module)module.exports=n();else if("function"==typeof define&&define.amd)define([],n);else{var e=n();for(var r in e)("object"==typeof exports?exports:t)[r]=e[r]}}(window,(function(){return function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=209)}([function(t,n,e){(function(n){var e=function(t){return t&&t.Math==Math&&t};t.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof n&&n)||function(){return this}()||Function("return this")()}).call(this,e(97))},function(t,n){var e=Function.prototype,r=e.bind,o=e.call,i=r&&r.bind(o);t.exports=r?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},function(t,n){t.exports=function(t){return"function"==typeof t}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,e){var r=e(0),o=e(34),i=e(6),u=e(36),a=e(46),c=e(62),f=o("wks"),s=r.Symbol,l=s&&s.for,p=c?s:s&&s.withoutSetter||u;t.exports=function(t){if(!i(f,t)||!a&&"string"!=typeof f[t]){var n="Symbol."+t;a&&i(s,t)?f[t]=s[t]:f[t]=c&&l?l(n):p(n)}return f[t]}},function(t,n,e){var r=e(0),o=e(25).f,i=e(16),u=e(15),a=e(42),c=e(68),f=e(73);t.exports=function(t,n){var e,s,l,p,v,d=t.target,y=t.global,h=t.stat;if(e=y?r:h?r[d]||a(d,{}):(r[d]||{}).prototype)for(s in n){if(p=n[s],l=t.noTargetGet?(v=o(e,s))&&v.value:e[s],!f(y?s:d+(h?".":"#")+s,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;c(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),u(e,s,p,t)}}},function(t,n,e){var r=e(1),o=e(14),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,n){return i(o(t),n)}},function(t,n,e){var r=e(3);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,n,e){var r=e(0),o=e(7),i=e(63),u=e(10),a=e(27),c=r.TypeError,f=Object.defineProperty;n.f=o?f:function(t,n,e){if(u(t),n=a(n),u(e),i)try{return f(t,n,e)}catch(t){}if("get"in e||"set"in e)throw c("Accessors not supported");return"value"in e&&(t[n]=e.value),t}},function(t,n,e){var r=e(2);t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},function(t,n,e){var r=e(0),o=e(9),i=r.String,u=r.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not an object")}},function(t,n){var e=Function.prototype.call;t.exports=e.bind?e.bind(e):function(){return e.apply(e,arguments)}},function(t,n,e){var r=e(55),o=e(33);t.exports=function(t){return r(o(t))}},function(t,n,e){var r=e(0),o=e(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,n){return arguments.length<2?i(r[t]):r[t]&&r[t][n]}},function(t,n,e){var r=e(0),o=e(33),i=r.Object;t.exports=function(t){return i(o(t))}},function(t,n,e){var r=e(0),o=e(2),i=e(6),u=e(16),a=e(42),c=e(39),f=e(22),s=e(53).CONFIGURABLE,l=f.get,p=f.enforce,v=String(String).split("String");(t.exports=function(t,n,e,c){var f,l=!!c&&!!c.unsafe,d=!!c&&!!c.enumerable,y=!!c&&!!c.noTargetGet,h=c&&void 0!==c.name?c.name:n;o(e)&&("Symbol("===String(h).slice(0,7)&&(h="["+String(h).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(e,"name")||s&&e.name!==h)&&u(e,"name",h),(f=p(e)).source||(f.source=v.join("string"==typeof h?h:""))),t!==r?(l?!y&&t[n]&&(d=!0):delete t[n],d?t[n]=e:u(t,n,e)):d?t[n]=e:a(n,e)})(Function.prototype,"toString",(function(){return o(this)&&l(this).source||c(this)}))},function(t,n,e){var r=e(7),o=e(8),i=e(21);t.exports=r?function(t,n,e){return o.f(t,n,i(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n,e){var r=e(89);t.exports=function(t){return r(t.length)}},function(t,n,e){var r,o=e(10),i=e(94),u=e(47),a=e(24),c=e(106),f=e(44),s=e(30),l=s("IE_PROTO"),p=function(){},v=function(t){return"<script>"+t+"<\/script>"},d=function(t){t.write(v("")),t.close();var n=t.parentWindow.Object;return t=null,n},y=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}var t,n;y="undefined"!=typeof document?document.domain&&r?d(r):((n=f("iframe")).style.display="none",c.appendChild(n),n.src=String("javascript:"),(t=n.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):d(r);for(var e=u.length;e--;)delete y.prototype[u[e]]Line truncated
@@ -1 +1 @@
!function(t,n){if("object"==typeof exports&&"object"==typeof module)module.exports=n();else if("function"==typeof define&&define.amd)define([],n);else{var e=n();for(var r in e)("object"==typeof exports?exports:t)[r]=e[r]}}(window,(function(){return function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=204)}([function(t,n,e){(function(n){var e=function(t){return t&&t.Math==Math&&t};t.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof n&&n)||function(){return this}()||Function("return this")()}).call(this,e(95))},function(t,n){var e=Function.prototype,r=e.bind,o=e.call,i=r&&r.bind(o);t.exports=r?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},function(t,n){t.exports=function(t){return"function"==typeof t}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,e){var r=e(0),o=e(33),i=e(5),c=e(34),u=e(45),f=e(62),a=o("wks"),s=r.Symbol,l=s&&s.for,p=f?s:s&&s.withoutSetter||c;t.exports=function(t){if(!i(a,t)||!u&&"string"!=typeof a[t]){var n="Symbol."+t;u&&i(s,t)?a[t]=s[t]:a[t]=f&&l?l(n):p(n)}return a[t]}},function(t,n,e){var r=e(1),o=e(15),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,n){return i(o(t),n)}},function(t,n,e){var r=e(0),o=e(25).f,i=e(16),c=e(14),u=e(42),f=e(68),a=e(71);t.exports=function(t,n){var e,s,l,p,v,d=t.target,y=t.global,h=t.stat;if(e=y?r:h?r[d]||u(d,{}):(r[d]||{}).prototype)for(s in n){if(p=n[s],l=t.noTargetGet?(v=o(e,s))&&v.value:e[s],!a(y?s:d+(h?".":"#")+s,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;f(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),c(e,s,p,t)}}},function(t,n,e){var r=e(3);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,n,e){var r=e(0),o=e(7),i=e(63),c=e(10),u=e(26),f=r.TypeError,a=Object.defineProperty;n.f=o?a:function(t,n,e){if(c(t),n=u(n),c(e),i)try{return a(t,n,e)}catch(t){}if("get"in e||"set"in e)throw f("Accessors not supported");return"value"in e&&(t[n]=e.value),t}},function(t,n,e){var r=e(2);t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},function(t,n,e){var r=e(0),o=e(9),i=r.String,c=r.TypeError;t.exports=function(t){if(o(t))return t;throw c(i(t)+" is not an object")}},function(t,n){var e=Function.prototype.call;t.exports=e.bind?e.bind(e):function(){return e.apply(e,arguments)}},function(t,n,e){var r=e(49),o=e(31);t.exports=function(t){return r(o(t))}},function(t,n,e){var r=e(0),o=e(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,n){return arguments.length<2?i(r[t]):r[t]&&r[t][n]}},function(t,n,e){var r=e(0),o=e(2),i=e(5),c=e(16),u=e(42),f=e(38),a=e(22),s=e(53).CONFIGURABLE,l=a.get,p=a.enforce,v=String(String).split("String");(t.exports=function(t,n,e,f){var a,l=!!f&&!!f.unsafe,d=!!f&&!!f.enumerable,y=!!f&&!!f.noTargetGet,h=f&&void 0!==f.name?f.name:n;o(e)&&("Symbol("===String(h).slice(0,7)&&(h="["+String(h).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(e,"name")||s&&e.name!==h)&&c(e,"name",h),(a=p(e)).source||(a.source=v.join("string"==typeof h?h:""))),t!==r?(l?!y&&t[n]&&(d=!0):delete t[n],d?t[n]=e:c(t,n,e)):d?t[n]=e:u(n,e)})(Function.prototype,"toString",(function(){return o(this)&&l(this).source||f(this)}))},function(t,n,e){var r=e(0),o=e(31),i=r.Object;t.exports=function(t){return i(o(t))}},function(t,n,e){var r=e(7),o=e(8),i=e(21);t.exports=r?function(t,n,e){return o.f(t,n,i(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n,e){var r=e(83);t.exports=function(t){return r(t.length)}},,function(t,n,e){var r,o=e(10),i=e(93),c=e(46),u=e(24),f=e(106),a=e(44),s=e(29),l=s("IE_PROTO"),p=function(){},v=function(t){return"<script>"+t+"<\/script>"},d=function(t){t.write(v("")),t.close();var n=t.parentWindow.Object;return t=null,n},y=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}var t,n;y="undefined"!=typeof document?document.domain&&r?d(r):((n=a("iframe")).style.display="none",f.appendChild(n),n.src=String("javascript:"),(t=n.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):d(r);for(var e=c.length;e--;)delete y.prototype[c[e]Line truncated
!function(t,n){if("object"==typeof exports&&"object"==typeof module)module.exports=n();else if("function"==typeof define&&define.amd)define([],n);else{var e=n();for(var r in e)("object"==typeof exports?exports:t)[r]=e[r]}}(window,(function(){return function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=211)}([function(t,n,e){(function(n){var e=function(t){return t&&t.Math==Math&&t};t.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof n&&n)||function(){return this}()||Function("return this")()}).call(this,e(97))},function(t,n){var e=Function.prototype,r=e.bind,o=e.call,i=r&&r.bind(o);t.exports=r?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},function(t,n){t.exports=function(t){return"function"==typeof t}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,e){var r=e(0),o=e(34),i=e(6),c=e(36),u=e(46),f=e(62),a=o("wks"),s=r.Symbol,l=s&&s.for,p=f?s:s&&s.withoutSetter||c;t.exports=function(t){if(!i(a,t)||!u&&"string"!=typeof a[t]){var n="Symbol."+t;u&&i(s,t)?a[t]=s[t]:a[t]=f&&l?l(n):p(n)}return a[t]}},function(t,n,e){var r=e(0),o=e(25).f,i=e(16),c=e(15),u=e(42),f=e(68),a=e(73);t.exports=function(t,n){var e,s,l,p,v,d=t.target,y=t.global,h=t.stat;if(e=y?r:h?r[d]||u(d,{}):(r[d]||{}).prototype)for(s in n){if(p=n[s],l=t.noTargetGet?(v=o(e,s))&&v.value:e[s],!a(y?s:d+(h?".":"#")+s,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;f(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),c(e,s,p,t)}}},function(t,n,e){var r=e(1),o=e(14),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,n){return i(o(t),n)}},function(t,n,e){var r=e(3);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,n,e){var r=e(0),o=e(7),i=e(63),c=e(10),u=e(27),f=r.TypeError,a=Object.defineProperty;n.f=o?a:function(t,n,e){if(c(t),n=u(n),c(e),i)try{return a(t,n,e)}catch(t){}if("get"in e||"set"in e)throw f("Accessors not supported");return"value"in e&&(t[n]=e.value),t}},function(t,n,e){var r=e(2);t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},function(t,n,e){var r=e(0),o=e(9),i=r.String,c=r.TypeError;t.exports=function(t){if(o(t))return t;throw c(i(t)+" is not an object")}},function(t,n){var e=Function.prototype.call;t.exports=e.bind?e.bind(e):function(){return e.apply(e,arguments)}},function(t,n,e){var r=e(55),o=e(33);t.exports=function(t){return r(o(t))}},function(t,n,e){var r=e(0),o=e(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,n){return arguments.length<2?i(r[t]):r[t]&&r[t][n]}},function(t,n,e){var r=e(0),o=e(33),i=r.Object;t.exports=function(t){return i(o(t))}},function(t,n,e){var r=e(0),o=e(2),i=e(6),c=e(16),u=e(42),f=e(39),a=e(22),s=e(53).CONFIGURABLE,l=a.get,p=a.enforce,v=String(String).split("String");(t.exports=function(t,n,e,f){var a,l=!!f&&!!f.unsafe,d=!!f&&!!f.enumerable,y=!!f&&!!f.noTargetGet,h=f&&void 0!==f.name?f.name:n;o(e)&&("Symbol("===String(h).slice(0,7)&&(h="["+String(h).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(e,"name")||s&&e.name!==h)&&c(e,"name",h),(a=p(e)).source||(a.source=v.join("string"==typeof h?h:""))),t!==r?(l?!y&&t[n]&&(d=!0):delete t[n],d?t[n]=e:c(t,n,e)):d?t[n]=e:u(n,e)})(Function.prototype,"toString",(function(){return o(this)&&l(this).source||f(this)}))},function(t,n,e){var r=e(7),o=e(8),i=e(21);t.exports=r?function(t,n,e){return o.f(t,n,i(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n,e){var r=e(89);t.exports=function(t){return r(t.length)}},function(t,n,e){var r,o=e(10),i=e(94),c=e(47),u=e(24),f=e(106),a=e(44),s=e(30),l=s("IE_PROTO"),p=function(){},v=function(t){return"<script>"+t+"<\/script>"},d=function(t){t.write(v("")),t.close();var n=t.parentWindow.Object;return t=null,n},y=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}var t,n;y="undefined"!=typeof document?document.domain&&r?d(r):((n=a("iframe")).style.display="none",f.appendChild(n),n.src=String("javascript:"),(t=n.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):d(r);for(var e=c.length;e--;)delete y.prototype[c[e]]Line truncated
@@ -1 +1 @@
!function(t,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("window"));else if("function"==typeof define&&define.amd)define(["window"],r);else{var n="object"==typeof exports?r(require("window")):r(t.window);for(var e in n)("object"==typeof exports?exports:t)[e]=n[e]}}(window,(function(t){return function(t){var r={};function n(e){if(r[e])return r[e].exports;var o=r[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=r,n.d=function(t,r,e){n.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:e})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,r){if(1&r&&(t=n(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(n.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var o in t)n.d(e,o,function(r){return t[r]}.bind(null,o));return e},n.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(r,"a",r),r},n.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},n.p="",n(n.s=211)}([function(t,r,n){(function(r){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r&&r)||function(){return this}()||Function("return this")()}).call(this,n(95))},function(t,r){var n=Function.prototype,e=n.bind,o=n.call,i=e&&e.bind(o);t.exports=e?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},function(t,r){t.exports=function(t){return"function"==typeof t}},function(t,r){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,r,n){var e=n(0),o=n(33),i=n(5),u=n(34),c=n(45),a=n(62),f=o("wks"),s=e.Symbol,l=s&&s.for,p=a?s:s&&s.withoutSetter||u;t.exports=function(t){if(!i(f,t)||!c&&"string"!=typeof f[t]){var r="Symbol."+t;c&&i(s,t)?f[t]=s[t]:f[t]=a&&l?l(r):p(r)}return f[t]}},function(t,r,n){var e=n(1),o=n(15),i=e({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,r){return i(o(t),r)}},function(t,r,n){var e=n(0),o=n(25).f,i=n(16),u=n(14),c=n(42),a=n(68),f=n(71);t.exports=function(t,r){var n,s,l,p,v,y=t.target,d=t.global,g=t.stat;if(n=d?e:g?e[y]||c(y,{}):(e[y]||{}).prototype)for(s in r){if(p=r[s],l=t.noTargetGet?(v=o(n,s))&&v.value:n[s],!f(d?s:y+(g?".":"#")+s,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;a(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),u(n,s,p,t)}}},function(t,r,n){var e=n(3);t.exports=!e((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,r,n){var e=n(0),o=n(7),i=n(63),u=n(10),c=n(26),a=e.TypeError,f=Object.defineProperty;r.f=o?f:function(t,r,n){if(u(t),r=c(r),u(n),i)try{return f(t,r,n)}catch(t){}if("get"in n||"set"in n)throw a("Accessors not supported");return"value"in n&&(t[r]=n.value),t}},function(t,r,n){var e=n(2);t.exports=function(t){return"object"==typeof t?null!==t:e(t)}},function(t,r,n){var e=n(0),o=n(9),i=e.String,u=e.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not an object")}},function(t,r){var n=Function.prototype.call;t.exports=n.bind?n.bind(n):function(){return n.apply(n,arguments)}},function(t,r,n){var e=n(49),o=n(31);t.exports=function(t){return e(o(t))}},function(t,r,n){var e=n(0),o=n(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,r){return arguments.length<2?i(e[t]):e[t]&&e[t][r]}},function(t,r,n){var e=n(0),o=n(2),i=n(5),u=n(16),c=n(42),a=n(38),f=n(22),s=n(53).CONFIGURABLE,l=f.get,p=f.enforce,v=String(String).split("String");(t.exports=function(t,r,n,a){var f,l=!!a&&!!a.unsafe,y=!!a&&!!a.enumerable,d=!!a&&!!a.noTargetGet,g=a&&void 0!==a.name?a.name:r;o(n)&&("Symbol("===String(g).slice(0,7)&&(g="["+String(g).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(n,"name")||s&&n.name!==g)&&u(n,"name",g),(f=p(n)).source||(f.source=v.join("string"==typeof g?g:""))),t!==e?(l?!d&&t[r]&&(y=!0):delete t[r],y?t[r]=n:u(t,r,n)):y?t[r]=n:c(r,n)})(Function.prototype,"toString",(function(){return o(this)&&l(this).source||a(this)}))},function(t,r,n){var e=n(0),o=n(31),i=e.Object;t.exports=function(t){return i(o(t))}},function(t,r,n){var e=n(7),o=n(8),i=n(21);t.exports=e?function(t,r,n){return o.f(t,r,i(1,n))}:function(t,r,n){return t[r]=n,t}},function(t,r,n){var e=n(83);t.exports=function(t){return e(t.length)}},function(r,n){r.exports=t},function(t,r,n){var e,o=n(10),i=n(93),u=n(46),c=n(24),a=n(106),f=n(44),s=n(29),l=s("IE_PROTO"),p=function(){},v=function(t){return"<script>"+t+"<\/script>"},y=function(t){t.write(v("")),t.close();var r=t.parentWindow.Object;return t=null,r},d=function(){try{e=new ActiveXObject("htmlfile")}catch(t){}var t,r;d="undefined"!=typeof document?document.domain&&e?y(e):((r=f("iframe")).style.display="none",a.appendChild(r),r.src=String("javascript:"),(t=r.contentWindow.document).Line truncated
!function(t,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("window"));else if("function"==typeof define&&define.amd)define(["window"],r);else{var n="object"==typeof exports?r(require("window")):r(t.window);for(var e in n)("object"==typeof exports?exports:t)[e]=n[e]}}(window,(function(t){return function(t){var r={};function n(e){if(r[e])return r[e].exports;var o=r[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=r,n.d=function(t,r,e){n.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:e})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,r){if(1&r&&(t=n(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(n.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var o in t)n.d(e,o,function(r){return t[r]}.bind(null,o));return e},n.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(r,"a",r),r},n.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},n.p="",n(n.s=216)}([function(t,r,n){(function(r){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r&&r)||function(){return this}()||Function("return this")()}).call(this,n(97))},function(t,r){var n=Function.prototype,e=n.bind,o=n.call,i=e&&e.bind(o);t.exports=e?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},function(t,r){t.exports=function(t){return"function"==typeof t}},function(t,r){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,r,n){var e=n(0),o=n(34),i=n(6),u=n(36),c=n(46),a=n(62),f=o("wks"),s=e.Symbol,l=s&&s.for,p=a?s:s&&s.withoutSetter||u;t.exports=function(t){if(!i(f,t)||!c&&"string"!=typeof f[t]){var r="Symbol."+t;c&&i(s,t)?f[t]=s[t]:f[t]=a&&l?l(r):p(r)}return f[t]}},function(t,r,n){var e=n(0),o=n(25).f,i=n(16),u=n(15),c=n(42),a=n(68),f=n(73);t.exports=function(t,r){var n,s,l,p,v,y=t.target,d=t.global,g=t.stat;if(n=d?e:g?e[y]||c(y,{}):(e[y]||{}).prototype)for(s in r){if(p=r[s],l=t.noTargetGet?(v=o(n,s))&&v.value:n[s],!f(d?s:y+(g?".":"#")+s,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;a(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),u(n,s,p,t)}}},function(t,r,n){var e=n(1),o=n(14),i=e({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,r){return i(o(t),r)}},function(t,r,n){var e=n(3);t.exports=!e((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,r,n){var e=n(0),o=n(7),i=n(63),u=n(10),c=n(27),a=e.TypeError,f=Object.defineProperty;r.f=o?f:function(t,r,n){if(u(t),r=c(r),u(n),i)try{return f(t,r,n)}catch(t){}if("get"in n||"set"in n)throw a("Accessors not supported");return"value"in n&&(t[r]=n.value),t}},function(t,r,n){var e=n(2);t.exports=function(t){return"object"==typeof t?null!==t:e(t)}},function(t,r,n){var e=n(0),o=n(9),i=e.String,u=e.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not an object")}},function(t,r){var n=Function.prototype.call;t.exports=n.bind?n.bind(n):function(){return n.apply(n,arguments)}},function(t,r,n){var e=n(55),o=n(33);t.exports=function(t){return e(o(t))}},function(t,r,n){var e=n(0),o=n(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,r){return arguments.length<2?i(e[t]):e[t]&&e[t][r]}},function(t,r,n){var e=n(0),o=n(33),i=e.Object;t.exports=function(t){return i(o(t))}},function(t,r,n){var e=n(0),o=n(2),i=n(6),u=n(16),c=n(42),a=n(39),f=n(22),s=n(53).CONFIGURABLE,l=f.get,p=f.enforce,v=String(String).split("String");(t.exports=function(t,r,n,a){var f,l=!!a&&!!a.unsafe,y=!!a&&!!a.enumerable,d=!!a&&!!a.noTargetGet,g=a&&void 0!==a.name?a.name:r;o(n)&&("Symbol("===String(g).slice(0,7)&&(g="["+String(g).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(n,"name")||s&&n.name!==g)&&u(n,"name",g),(f=p(n)).source||(f.source=v.join("string"==typeof g?g:""))),t!==e?(l?!d&&t[r]&&(y=!0):delete t[r],y?t[r]=n:u(t,r,n)):y?t[r]=n:c(r,n)})(Function.prototype,"toString",(function(){return o(this)&&l(this).source||a(this)}))},function(t,r,n){var e=n(7),o=n(8),i=n(21);t.exports=e?function(t,r,n){return o.f(t,r,i(1,n))}:function(t,r,n){return t[r]=n,t}},function(t,r,n){var e=n(89);t.exports=function(t){return e(t.length)}},function(t,r,n){var e,o=n(10),i=n(94),u=n(47),c=n(24),a=n(106),f=n(44),s=n(30),l=s("IE_PROTO"),p=function(){},v=function(t){return"<script>"+t+"<\/script>"},y=function(t){t.write(v("")),t.close();var r=t.parentWindow.Object;return t=null,r},d=function(){try{e=new ActiveXObject("htmlfile")}catch(t){}var t,r;d="undefined"!=typeof document?document.domain&&e?y(e):((r=f("iframe")).style.display="none",a.appendChild(r),r.src=String("javascript:"),(t=r.contentWindow.document).open(),t.write(v("document.Line truncated
@@ -1 +1 @@
!function(t,n){if("object"==typeof exports&&"object"==typeof module)module.exports=n();else if("function"==typeof define&&define.amd)define([],n);else{var r=n();for(var e in r)("object"==typeof exports?exports:t)[e]=r[e]}}(window,(function(){return function(t){var n={};function r(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)r.d(e,o,function(n){return t[n]}.bind(null,o));return e},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="",r(r.s=209)}([function(t,n,r){(function(n){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n&&n)||function(){return this}()||Function("return this")()}).call(this,r(95))},function(t,n){var r=Function.prototype,e=r.bind,o=r.call,i=e&&e.bind(o);t.exports=e?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},function(t,n){t.exports=function(t){return"function"==typeof t}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,r){var e=r(0),o=r(33),i=r(5),u=r(34),c=r(45),a=r(62),f=o("wks"),s=e.Symbol,l=s&&s.for,p=a?s:s&&s.withoutSetter||u;t.exports=function(t){if(!i(f,t)||!c&&"string"!=typeof f[t]){var n="Symbol."+t;c&&i(s,t)?f[t]=s[t]:f[t]=a&&l?l(n):p(n)}return f[t]}},function(t,n,r){var e=r(1),o=r(15),i=e({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,n){return i(o(t),n)}},function(t,n,r){var e=r(0),o=r(25).f,i=r(16),u=r(14),c=r(42),a=r(68),f=r(71);t.exports=function(t,n){var r,s,l,p,v,d=t.target,y=t.global,h=t.stat;if(r=y?e:h?e[d]||c(d,{}):(e[d]||{}).prototype)for(s in n){if(p=n[s],l=t.noTargetGet?(v=o(r,s))&&v.value:r[s],!f(y?s:d+(h?".":"#")+s,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;a(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),u(r,s,p,t)}}},function(t,n,r){var e=r(3);t.exports=!e((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,n,r){var e=r(0),o=r(7),i=r(63),u=r(10),c=r(26),a=e.TypeError,f=Object.defineProperty;n.f=o?f:function(t,n,r){if(u(t),n=c(n),u(r),i)try{return f(t,n,r)}catch(t){}if("get"in r||"set"in r)throw a("Accessors not supported");return"value"in r&&(t[n]=r.value),t}},function(t,n,r){var e=r(2);t.exports=function(t){return"object"==typeof t?null!==t:e(t)}},function(t,n,r){var e=r(0),o=r(9),i=e.String,u=e.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not an object")}},function(t,n){var r=Function.prototype.call;t.exports=r.bind?r.bind(r):function(){return r.apply(r,arguments)}},function(t,n,r){var e=r(49),o=r(31);t.exports=function(t){return e(o(t))}},function(t,n,r){var e=r(0),o=r(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,n){return arguments.length<2?i(e[t]):e[t]&&e[t][n]}},function(t,n,r){var e=r(0),o=r(2),i=r(5),u=r(16),c=r(42),a=r(38),f=r(22),s=r(53).CONFIGURABLE,l=f.get,p=f.enforce,v=String(String).split("String");(t.exports=function(t,n,r,a){var f,l=!!a&&!!a.unsafe,d=!!a&&!!a.enumerable,y=!!a&&!!a.noTargetGet,h=a&&void 0!==a.name?a.name:n;o(r)&&("Symbol("===String(h).slice(0,7)&&(h="["+String(h).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(r,"name")||s&&r.name!==h)&&u(r,"name",h),(f=p(r)).source||(f.source=v.join("string"==typeof h?h:""))),t!==e?(l?!y&&t[n]&&(d=!0):delete t[n],d?t[n]=r:u(t,n,r)):d?t[n]=r:c(n,r)})(Function.prototype,"toString",(function(){return o(this)&&l(this).source||a(this)}))},function(t,n,r){var e=r(0),o=r(31),i=e.Object;t.exports=function(t){return i(o(t))}},function(t,n,r){var e=r(7),o=r(8),i=r(21);t.exports=e?function(t,n,r){return o.f(t,n,i(1,r))}:function(t,n,r){return t[n]=r,t}},function(t,n,r){var e=r(83);t.exports=function(t){return e(t.length)}},,,function(t,n,r){var e=r(1),o=e({}.toString),i=e("".slice);t.exports=function(t){return i(o(t),8,-1)}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,r){var e,o,i,u=r(97),c=r(0),a=r(1),f=r(9),s=r(16),l=r(5),p=r(41),v=r(29),d=r(24),y=c.TypeError,h=c.WeakMap;if(u||p.state){var m=p.state||(p.state=new h),b=a(m.get),x=a(m.has),g=a(m.set);e=function(t,n){if(x(m,t))throw new y("Object already initialized");return n.facade=t,g(m,t,n),n},o=function(t){return b(m,t)||{}},i=function(t){return x(m,t)}}else{var Line truncated
!function(t,n){if("object"==typeof exports&&"object"==typeof module)module.exports=n();else if("function"==typeof define&&define.amd)define([],n);else{var r=n();for(var e in r)("object"==typeof exports?exports:t)[e]=r[e]}}(window,(function(){return function(t){var n={};function r(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)r.d(e,o,function(n){return t[n]}.bind(null,o));return e},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="",r(r.s=214)}([function(t,n,r){(function(n){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n&&n)||function(){return this}()||Function("return this")()}).call(this,r(97))},function(t,n){var r=Function.prototype,e=r.bind,o=r.call,i=e&&e.bind(o);t.exports=e?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},function(t,n){t.exports=function(t){return"function"==typeof t}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,r){var e=r(0),o=r(34),i=r(6),u=r(36),c=r(46),a=r(62),f=o("wks"),s=e.Symbol,l=s&&s.for,p=a?s:s&&s.withoutSetter||u;t.exports=function(t){if(!i(f,t)||!c&&"string"!=typeof f[t]){var n="Symbol."+t;c&&i(s,t)?f[t]=s[t]:f[t]=a&&l?l(n):p(n)}return f[t]}},function(t,n,r){var e=r(0),o=r(25).f,i=r(16),u=r(15),c=r(42),a=r(68),f=r(73);t.exports=function(t,n){var r,s,l,p,v,d=t.target,y=t.global,h=t.stat;if(r=y?e:h?e[d]||c(d,{}):(e[d]||{}).prototype)for(s in n){if(p=n[s],l=t.noTargetGet?(v=o(r,s))&&v.value:r[s],!f(y?s:d+(h?".":"#")+s,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;a(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),u(r,s,p,t)}}},function(t,n,r){var e=r(1),o=r(14),i=e({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,n){return i(o(t),n)}},function(t,n,r){var e=r(3);t.exports=!e((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,n,r){var e=r(0),o=r(7),i=r(63),u=r(10),c=r(27),a=e.TypeError,f=Object.defineProperty;n.f=o?f:function(t,n,r){if(u(t),n=c(n),u(r),i)try{return f(t,n,r)}catch(t){}if("get"in r||"set"in r)throw a("Accessors not supported");return"value"in r&&(t[n]=r.value),t}},function(t,n,r){var e=r(2);t.exports=function(t){return"object"==typeof t?null!==t:e(t)}},function(t,n,r){var e=r(0),o=r(9),i=e.String,u=e.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not an object")}},function(t,n){var r=Function.prototype.call;t.exports=r.bind?r.bind(r):function(){return r.apply(r,arguments)}},function(t,n,r){var e=r(55),o=r(33);t.exports=function(t){return e(o(t))}},function(t,n,r){var e=r(0),o=r(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,n){return arguments.length<2?i(e[t]):e[t]&&e[t][n]}},function(t,n,r){var e=r(0),o=r(33),i=e.Object;t.exports=function(t){return i(o(t))}},function(t,n,r){var e=r(0),o=r(2),i=r(6),u=r(16),c=r(42),a=r(39),f=r(22),s=r(53).CONFIGURABLE,l=f.get,p=f.enforce,v=String(String).split("String");(t.exports=function(t,n,r,a){var f,l=!!a&&!!a.unsafe,d=!!a&&!!a.enumerable,y=!!a&&!!a.noTargetGet,h=a&&void 0!==a.name?a.name:n;o(r)&&("Symbol("===String(h).slice(0,7)&&(h="["+String(h).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(r,"name")||s&&r.name!==h)&&u(r,"name",h),(f=p(r)).source||(f.source=v.join("string"==typeof h?h:""))),t!==e?(l?!y&&t[n]&&(d=!0):delete t[n],d?t[n]=r:u(t,n,r)):d?t[n]=r:c(n,r)})(Function.prototype,"toString",(function(){return o(this)&&l(this).source||a(this)}))},function(t,n,r){var e=r(7),o=r(8),i=r(21);t.exports=e?function(t,n,r){return o.f(t,n,i(1,r))}:function(t,n,r){return t[n]=r,t}},function(t,n,r){var e=r(89);t.exports=function(t){return e(t.length)}},,function(t,n,r){var e=r(1),o=e({}.toString),i=e("".slice);t.exports=function(t){return i(o(t),8,-1)}},,function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,r){var e,o,i,u=r(99),c=r(0),a=r(1),f=r(9),s=r(16),l=r(6),p=r(41),v=r(30),d=r(24),y=c.TypeError,h=c.WeakMap;if(u||p.state){var m=p.state||(p.state=new h),b=a(m.get),x=a(m.has),g=a(m.set);e=function(t,n){if(x(m,t))throw new y("Object already initialized");return n.facade=t,g(m,t,n),n},o=function(t){return b(m,t)||{}},i=function(t){return x(m,t)}}else{var Line truncated
@@ -1 +1 @@
!function(t,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r();else if("function"==typeof define&&define.amd)define([],r);else{var n=r();for(var e in n)("object"==typeof exports?exports:t)[e]=n[e]}}(window,(function(){return function(t){var r={};function n(e){if(r[e])return r[e].exports;var o=r[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=r,n.d=function(t,r,e){n.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:e})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,r){if(1&r&&(t=n(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(n.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var o in t)n.d(e,o,function(r){return t[r]}.bind(null,o));return e},n.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(r,"a",r),r},n.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},n.p="",n(n.s=214)}([function(t,r,n){(function(r){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r&&r)||function(){return this}()||Function("return this")()}).call(this,n(95))},function(t,r){var n=Function.prototype,e=n.bind,o=n.call,i=e&&e.bind(o);t.exports=e?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},function(t,r){t.exports=function(t){return"function"==typeof t}},function(t,r){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,r,n){var e=n(0),o=n(33),i=n(5),u=n(34),a=n(45),c=n(62),f=o("wks"),s=e.Symbol,l=s&&s.for,p=c?s:s&&s.withoutSetter||u;t.exports=function(t){if(!i(f,t)||!a&&"string"!=typeof f[t]){var r="Symbol."+t;a&&i(s,t)?f[t]=s[t]:f[t]=c&&l?l(r):p(r)}return f[t]}},function(t,r,n){var e=n(1),o=n(15),i=e({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,r){return i(o(t),r)}},function(t,r,n){var e=n(0),o=n(25).f,i=n(16),u=n(14),a=n(42),c=n(68),f=n(71);t.exports=function(t,r){var n,s,l,p,v,h=t.target,d=t.global,y=t.stat;if(n=d?e:y?e[h]||a(h,{}):(e[h]||{}).prototype)for(s in r){if(p=r[s],l=t.noTargetGet?(v=o(n,s))&&v.value:n[s],!f(d?s:h+(y?".":"#")+s,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;c(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),u(n,s,p,t)}}},function(t,r,n){var e=n(3);t.exports=!e((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,r,n){var e=n(0),o=n(7),i=n(63),u=n(10),a=n(26),c=e.TypeError,f=Object.defineProperty;r.f=o?f:function(t,r,n){if(u(t),r=a(r),u(n),i)try{return f(t,r,n)}catch(t){}if("get"in n||"set"in n)throw c("Accessors not supported");return"value"in n&&(t[r]=n.value),t}},function(t,r,n){var e=n(2);t.exports=function(t){return"object"==typeof t?null!==t:e(t)}},function(t,r,n){var e=n(0),o=n(9),i=e.String,u=e.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not an object")}},function(t,r){var n=Function.prototype.call;t.exports=n.bind?n.bind(n):function(){return n.apply(n,arguments)}},function(t,r,n){var e=n(49),o=n(31);t.exports=function(t){return e(o(t))}},function(t,r,n){var e=n(0),o=n(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,r){return arguments.length<2?i(e[t]):e[t]&&e[t][r]}},function(t,r,n){var e=n(0),o=n(2),i=n(5),u=n(16),a=n(42),c=n(38),f=n(22),s=n(53).CONFIGURABLE,l=f.get,p=f.enforce,v=String(String).split("String");(t.exports=function(t,r,n,c){var f,l=!!c&&!!c.unsafe,h=!!c&&!!c.enumerable,d=!!c&&!!c.noTargetGet,y=c&&void 0!==c.name?c.name:r;o(n)&&("Symbol("===String(y).slice(0,7)&&(y="["+String(y).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(n,"name")||s&&n.name!==y)&&u(n,"name",y),(f=p(n)).source||(f.source=v.join("string"==typeof y?y:""))),t!==e?(l?!d&&t[r]&&(h=!0):delete t[r],h?t[r]=n:u(t,r,n)):h?t[r]=n:a(r,n)})(Function.prototype,"toString",(function(){return o(this)&&l(this).source||c(this)}))},function(t,r,n){var e=n(0),o=n(31),i=e.Object;t.exports=function(t){return i(o(t))}},function(t,r,n){var e=n(7),o=n(8),i=n(21);t.exports=e?function(t,r,n){return o.f(t,r,i(1,n))}:function(t,r,n){return t[r]=n,t}},function(t,r,n){var e=n(83);t.exports=function(t){return e(t.length)}},,function(t,r,n){var e,o=n(10),i=n(93),u=n(46),a=n(24),c=n(106),f=n(44),s=n(29),l=s("IE_PROTO"),p=function(){},v=function(t){return"<script>"+t+"<\/script>"},h=function(t){t.write(v("")),t.close();var r=t.parentWindow.Object;return t=null,r},d=function(){try{e=new ActiveXObject("htmlfile")}catch(t){}var t,r;d="undefined"!=typeof document?document.domain&&e?h(e):((r=f("iframe")).style.display="none",c.appendChild(r),r.src=String("javascript:"),(t=r.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):h(e);for(var n=u.length;n--;)delete d.prototype[u[n]Line truncated
!function(t,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r();else if("function"==typeof define&&define.amd)define([],r);else{var n=r();for(var e in n)("object"==typeof exports?exports:t)[e]=n[e]}}(window,(function(){return function(t){var r={};function n(e){if(r[e])return r[e].exports;var o=r[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=r,n.d=function(t,r,e){n.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:e})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,r){if(1&r&&(t=n(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(n.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var o in t)n.d(e,o,function(r){return t[r]}.bind(null,o));return e},n.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(r,"a",r),r},n.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},n.p="",n(n.s=219)}([function(t,r,n){(function(r){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r&&r)||function(){return this}()||Function("return this")()}).call(this,n(97))},function(t,r){var n=Function.prototype,e=n.bind,o=n.call,i=e&&e.bind(o);t.exports=e?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},function(t,r){t.exports=function(t){return"function"==typeof t}},function(t,r){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,r,n){var e=n(0),o=n(34),i=n(6),u=n(36),a=n(46),c=n(62),f=o("wks"),s=e.Symbol,l=s&&s.for,p=c?s:s&&s.withoutSetter||u;t.exports=function(t){if(!i(f,t)||!a&&"string"!=typeof f[t]){var r="Symbol."+t;a&&i(s,t)?f[t]=s[t]:f[t]=c&&l?l(r):p(r)}return f[t]}},function(t,r,n){var e=n(0),o=n(25).f,i=n(16),u=n(15),a=n(42),c=n(68),f=n(73);t.exports=function(t,r){var n,s,l,p,v,h=t.target,d=t.global,y=t.stat;if(n=d?e:y?e[h]||a(h,{}):(e[h]||{}).prototype)for(s in r){if(p=r[s],l=t.noTargetGet?(v=o(n,s))&&v.value:n[s],!f(d?s:h+(y?".":"#")+s,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;c(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),u(n,s,p,t)}}},function(t,r,n){var e=n(1),o=n(14),i=e({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,r){return i(o(t),r)}},function(t,r,n){var e=n(3);t.exports=!e((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,r,n){var e=n(0),o=n(7),i=n(63),u=n(10),a=n(27),c=e.TypeError,f=Object.defineProperty;r.f=o?f:function(t,r,n){if(u(t),r=a(r),u(n),i)try{return f(t,r,n)}catch(t){}if("get"in n||"set"in n)throw c("Accessors not supported");return"value"in n&&(t[r]=n.value),t}},function(t,r,n){var e=n(2);t.exports=function(t){return"object"==typeof t?null!==t:e(t)}},function(t,r,n){var e=n(0),o=n(9),i=e.String,u=e.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not an object")}},function(t,r){var n=Function.prototype.call;t.exports=n.bind?n.bind(n):function(){return n.apply(n,arguments)}},function(t,r,n){var e=n(55),o=n(33);t.exports=function(t){return e(o(t))}},function(t,r,n){var e=n(0),o=n(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,r){return arguments.length<2?i(e[t]):e[t]&&e[t][r]}},function(t,r,n){var e=n(0),o=n(33),i=e.Object;t.exports=function(t){return i(o(t))}},function(t,r,n){var e=n(0),o=n(2),i=n(6),u=n(16),a=n(42),c=n(39),f=n(22),s=n(53).CONFIGURABLE,l=f.get,p=f.enforce,v=String(String).split("String");(t.exports=function(t,r,n,c){var f,l=!!c&&!!c.unsafe,h=!!c&&!!c.enumerable,d=!!c&&!!c.noTargetGet,y=c&&void 0!==c.name?c.name:r;o(n)&&("Symbol("===String(y).slice(0,7)&&(y="["+String(y).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(n,"name")||s&&n.name!==y)&&u(n,"name",y),(f=p(n)).source||(f.source=v.join("string"==typeof y?y:""))),t!==e?(l?!d&&t[r]&&(h=!0):delete t[r],h?t[r]=n:u(t,r,n)):h?t[r]=n:a(r,n)})(Function.prototype,"toString",(function(){return o(this)&&l(this).source||c(this)}))},function(t,r,n){var e=n(7),o=n(8),i=n(21);t.exports=e?function(t,r,n){return o.f(t,r,i(1,n))}:function(t,r,n){return t[r]=n,t}},function(t,r,n){var e=n(89);t.exports=function(t){return e(t.length)}},function(t,r,n){var e,o=n(10),i=n(94),u=n(47),a=n(24),c=n(106),f=n(44),s=n(30),l=s("IE_PROTO"),p=function(){},v=function(t){return"<script>"+t+"<\/script>"},h=function(t){t.write(v("")),t.close();var r=t.parentWindow.Object;return t=null,r},d=function(){try{e=new ActiveXObject("htmlfile")}catch(t){}var t,r;d="undefined"!=typeof document?document.domain&&e?h(e):((r=f("iframe")).style.display="none",c.appendChild(r),r.src=String("javascript:"),(t=r.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):h(e);for(var n=u.length;n--;)delete d.prototype[u[n]]Line truncated
+1 -1
View File
@@ -1 +1 @@
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e(require("window"));else if("function"==typeof define&&define.amd)define(["window"],e);else{var r="object"==typeof exports?e(require("window")):e(t.window);for(var n in r)("object"==typeof exports?exports:t)[n]=r[n]}}(window,(function(t){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=226)}([function(t,e,r){(function(e){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,r(95))},function(t,e){var r=Function.prototype,n=r.bind,o=r.call,i=n&&n.bind(o);t.exports=n?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},function(t,e){t.exports=function(t){return"function"==typeof t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,r){var n=r(0),o=r(33),i=r(5),u=r(34),c=r(45),a=r(62),f=o("wks"),l=n.Symbol,s=l&&l.for,p=a?l:l&&l.withoutSetter||u;t.exports=function(t){if(!i(f,t)||!c&&"string"!=typeof f[t]){var e="Symbol."+t;c&&i(l,t)?f[t]=l[t]:f[t]=a&&s?s(e):p(e)}return f[t]}},function(t,e,r){var n=r(1),o=r(15),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},function(t,e,r){var n=r(0),o=r(25).f,i=r(16),u=r(14),c=r(42),a=r(68),f=r(71);t.exports=function(t,e){var r,l,s,p,d,h=t.target,y=t.global,v=t.stat;if(r=y?n:v?n[h]||c(h,{}):(n[h]||{}).prototype)for(l in e){if(p=e[l],s=t.noTargetGet?(d=o(r,l))&&d.value:r[l],!f(y?l:h+(v?".":"#")+l,t.forced)&&void 0!==s){if(typeof p==typeof s)continue;a(p,s)}(t.sham||s&&s.sham)&&i(p,"sham",!0),u(r,l,p,t)}}},function(t,e,r){var n=r(3);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e,r){var n=r(0),o=r(7),i=r(63),u=r(10),c=r(26),a=n.TypeError,f=Object.defineProperty;e.f=o?f:function(t,e,r){if(u(t),e=c(e),u(r),i)try{return f(t,e,r)}catch(t){}if("get"in r||"set"in r)throw a("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},function(t,e,r){var n=r(2);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},function(t,e,r){var n=r(0),o=r(9),i=n.String,u=n.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not an object")}},function(t,e){var r=Function.prototype.call;t.exports=r.bind?r.bind(r):function(){return r.apply(r,arguments)}},function(t,e,r){var n=r(49),o=r(31);t.exports=function(t){return n(o(t))}},function(t,e,r){var n=r(0),o=r(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?i(n[t]):n[t]&&n[t][e]}},function(t,e,r){var n=r(0),o=r(2),i=r(5),u=r(16),c=r(42),a=r(38),f=r(22),l=r(53).CONFIGURABLE,s=f.get,p=f.enforce,d=String(String).split("String");(t.exports=function(t,e,r,a){var f,s=!!a&&!!a.unsafe,h=!!a&&!!a.enumerable,y=!!a&&!!a.noTargetGet,v=a&&void 0!==a.name?a.name:e;o(r)&&("Symbol("===String(v).slice(0,7)&&(v="["+String(v).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(r,"name")||l&&r.name!==v)&&u(r,"name",v),(f=p(r)).source||(f.source=d.join("string"==typeof v?v:""))),t!==n?(s?!y&&t[e]&&(h=!0):delete t[e],h?t[e]=r:u(t,e,r)):h?t[e]=r:c(e,r)})(Function.prototype,"toString",(function(){return o(this)&&s(this).source||a(this)}))},function(t,e,r){var n=r(0),o=r(31),i=n.Object;t.exports=function(t){return i(o(t))}},function(t,e,r){var n=r(7),o=r(8),i=r(21);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},function(t,e,r){var n=r(83);t.exports=function(t){return n(t.length)}},function(e,r){e.exports=t},function(t,e,r){var n,o=r(10),i=r(93),u=r(46),c=r(24),a=r(106),f=r(44),l=r(29),s=l("IE_PROTO"),p=function(){},d=function(t){return"<script>"+t+"<\/script>"},h=function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e},y=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e;y="undefined"!=typeof document?document.domain&&n?h(n):((e=f("iframe")).style.display="none",a.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).Line truncated
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e(require("window"));else if("function"==typeof define&&define.amd)define(["window"],e);else{var n="object"==typeof exports?e(require("window")):e(t.window);for(var r in n)("object"==typeof exports?exports:t)[r]=n[r]}}(window,(function(t){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=235)}([function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n(97))},function(t,e){var n=Function.prototype,r=n.bind,o=n.call,i=r&&r.bind(o);t.exports=r?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},function(t,e){t.exports=function(t){return"function"==typeof t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(0),o=n(34),i=n(6),u=n(36),a=n(46),c=n(62),s=o("wks"),l=r.Symbol,f=l&&l.for,d=c?l:l&&l.withoutSetter||u;t.exports=function(t){if(!i(s,t)||!a&&"string"!=typeof s[t]){var e="Symbol."+t;a&&i(l,t)?s[t]=l[t]:s[t]=c&&f?f(e):d(e)}return s[t]}},function(t,e,n){var r=n(0),o=n(25).f,i=n(16),u=n(15),a=n(42),c=n(68),s=n(73);t.exports=function(t,e){var n,l,f,d,p,h=t.target,y=t.global,v=t.stat;if(n=y?r:v?r[h]||a(h,{}):(r[h]||{}).prototype)for(l in e){if(d=e[l],f=t.noTargetGet?(p=o(n,l))&&p.value:n[l],!s(y?l:h+(v?".":"#")+l,t.forced)&&void 0!==f){if(typeof d==typeof f)continue;c(d,f)}(t.sham||f&&f.sham)&&i(d,"sham",!0),u(n,l,d,t)}}},function(t,e,n){var r=n(1),o=n(14),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},function(t,e,n){var r=n(3);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e,n){var r=n(0),o=n(7),i=n(63),u=n(10),a=n(27),c=r.TypeError,s=Object.defineProperty;e.f=o?s:function(t,e,n){if(u(t),e=a(e),u(n),i)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw c("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(2);t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},function(t,e,n){var r=n(0),o=n(9),i=r.String,u=r.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not an object")}},function(t,e){var n=Function.prototype.call;t.exports=n.bind?n.bind(n):function(){return n.apply(n,arguments)}},function(t,e,n){var r=n(55),o=n(33);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(0),o=n(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t]):r[t]&&r[t][e]}},function(t,e,n){var r=n(0),o=n(33),i=r.Object;t.exports=function(t){return i(o(t))}},function(t,e,n){var r=n(0),o=n(2),i=n(6),u=n(16),a=n(42),c=n(39),s=n(22),l=n(53).CONFIGURABLE,f=s.get,d=s.enforce,p=String(String).split("String");(t.exports=function(t,e,n,c){var s,f=!!c&&!!c.unsafe,h=!!c&&!!c.enumerable,y=!!c&&!!c.noTargetGet,v=c&&void 0!==c.name?c.name:e;o(n)&&("Symbol("===String(v).slice(0,7)&&(v="["+String(v).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(n,"name")||l&&n.name!==v)&&u(n,"name",v),(s=d(n)).source||(s.source=p.join("string"==typeof v?v:""))),t!==r?(f?!y&&t[e]&&(h=!0):delete t[e],h?t[e]=n:u(t,e,n)):h?t[e]=n:a(e,n)})(Function.prototype,"toString",(function(){return o(this)&&f(this).source||c(this)}))},function(t,e,n){var r=n(7),o=n(8),i=n(21);t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(89);t.exports=function(t){return r(t.length)}},function(t,e,n){var r,o=n(10),i=n(94),u=n(47),a=n(24),c=n(106),s=n(44),l=n(30),f=l("IE_PROTO"),d=function(){},p=function(t){return"<script>"+t+"<\/script>"},h=function(t){t.write(p("")),t.close();var e=t.parentWindow.Object;return t=null,e},y=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}var t,e;y="undefined"!=typeof document?document.domain&&r?h(r):((e=s("iframe")).style.display="none",c.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(p("document.Line truncated
@@ -0,0 +1 @@
!function(t,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r();else if("function"==typeof define&&define.amd)define([],r);else{var n=r();for(var e in n)("object"==typeof exports?exports:t)[e]=n[e]}}(window,(function(){return function(t){var r={};function n(e){if(r[e])return r[e].exports;var o=r[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=r,n.d=function(t,r,e){n.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:e})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,r){if(1&r&&(t=n(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(n.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var o in t)n.d(e,o,function(r){return t[r]}.bind(null,o));return e},n.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(r,"a",r),r},n.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},n.p="",n(n.s=223)}([function(t,r,n){(function(r){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r&&r)||function(){return this}()||Function("return this")()}).call(this,n(97))},function(t,r){var n=Function.prototype,e=n.bind,o=n.call,i=e&&e.bind(o);t.exports=e?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},function(t,r){t.exports=function(t){return"function"==typeof t}},function(t,r){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,r,n){var e=n(0),o=n(34),i=n(6),u=n(36),c=n(46),a=n(62),f=o("wks"),s=e.Symbol,l=s&&s.for,p=a?s:s&&s.withoutSetter||u;t.exports=function(t){if(!i(f,t)||!c&&"string"!=typeof f[t]){var r="Symbol."+t;c&&i(s,t)?f[t]=s[t]:f[t]=a&&l?l(r):p(r)}return f[t]}},function(t,r,n){var e=n(0),o=n(25).f,i=n(16),u=n(15),c=n(42),a=n(68),f=n(73);t.exports=function(t,r){var n,s,l,p,v,d=t.target,h=t.global,y=t.stat;if(n=h?e:y?e[d]||c(d,{}):(e[d]||{}).prototype)for(s in r){if(p=r[s],l=t.noTargetGet?(v=o(n,s))&&v.value:n[s],!f(h?s:d+(y?".":"#")+s,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;a(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),u(n,s,p,t)}}},function(t,r,n){var e=n(1),o=n(14),i=e({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,r){return i(o(t),r)}},function(t,r,n){var e=n(3);t.exports=!e((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,r,n){var e=n(0),o=n(7),i=n(63),u=n(10),c=n(27),a=e.TypeError,f=Object.defineProperty;r.f=o?f:function(t,r,n){if(u(t),r=c(r),u(n),i)try{return f(t,r,n)}catch(t){}if("get"in n||"set"in n)throw a("Accessors not supported");return"value"in n&&(t[r]=n.value),t}},function(t,r,n){var e=n(2);t.exports=function(t){return"object"==typeof t?null!==t:e(t)}},function(t,r,n){var e=n(0),o=n(9),i=e.String,u=e.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not an object")}},function(t,r){var n=Function.prototype.call;t.exports=n.bind?n.bind(n):function(){return n.apply(n,arguments)}},function(t,r,n){var e=n(55),o=n(33);t.exports=function(t){return e(o(t))}},function(t,r,n){var e=n(0),o=n(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,r){return arguments.length<2?i(e[t]):e[t]&&e[t][r]}},function(t,r,n){var e=n(0),o=n(33),i=e.Object;t.exports=function(t){return i(o(t))}},function(t,r,n){var e=n(0),o=n(2),i=n(6),u=n(16),c=n(42),a=n(39),f=n(22),s=n(53).CONFIGURABLE,l=f.get,p=f.enforce,v=String(String).split("String");(t.exports=function(t,r,n,a){var f,l=!!a&&!!a.unsafe,d=!!a&&!!a.enumerable,h=!!a&&!!a.noTargetGet,y=a&&void 0!==a.name?a.name:r;o(n)&&("Symbol("===String(y).slice(0,7)&&(y="["+String(y).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(n,"name")||s&&n.name!==y)&&u(n,"name",y),(f=p(n)).source||(f.source=v.join("string"==typeof y?y:""))),t!==e?(l?!h&&t[r]&&(d=!0):delete t[r],d?t[r]=n:u(t,r,n)):d?t[r]=n:c(r,n)})(Function.prototype,"toString",(function(){return o(this)&&l(this).source||a(this)}))},function(t,r,n){var e=n(7),o=n(8),i=n(21);t.exports=e?function(t,r,n){return o.f(t,r,i(1,n))}:function(t,r,n){return t[r]=n,t}},function(t,r,n){var e=n(89);t.exports=function(t){return e(t.length)}},function(t,r,n){var e,o=n(10),i=n(94),u=n(47),c=n(24),a=n(106),f=n(44),s=n(30),l=s("IE_PROTO"),p=function(){},v=function(t){return"<script>"+t+"<\/script>"},d=function(t){t.write(v("")),t.close();var r=t.parentWindow.Object;return t=null,r},h=function(){try{e=new ActiveXObject("htmlfile")}catch(t){}var t,r;h="undefined"!=typeof document?document.domain&&e?d(e):((r=f("iframe")).style.display="none",a.appendChild(r),r.src=String("javascript:"),(t=r.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):d(e);for(var n=u.length;n--;)delete h.prototype[u[n]]Line truncated
@@ -1 +1 @@
!function(t,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r();else if("function"==typeof define&&define.amd)define([],r);else{var n=r();for(var e in n)("object"==typeof exports?exports:t)[e]=n[e]}}(window,(function(){return function(t){var r={};function n(e){if(r[e])return r[e].exports;var o=r[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=r,n.d=function(t,r,e){n.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:e})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,r){if(1&r&&(t=n(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(n.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var o in t)n.d(e,o,function(r){return t[r]}.bind(null,o));return e},n.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(r,"a",r),r},n.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},n.p="",n(n.s=227)}([function(t,r,n){(function(r){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r&&r)||function(){return this}()||Function("return this")()}).call(this,n(95))},function(t,r){var n=Function.prototype,e=n.bind,o=n.call,i=e&&e.bind(o);t.exports=e?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},function(t,r){t.exports=function(t){return"function"==typeof t}},function(t,r){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,r,n){var e=n(0),o=n(33),i=n(5),u=n(34),c=n(45),a=n(62),f=o("wks"),s=e.Symbol,l=s&&s.for,p=a?s:s&&s.withoutSetter||u;t.exports=function(t){if(!i(f,t)||!c&&"string"!=typeof f[t]){var r="Symbol."+t;c&&i(s,t)?f[t]=s[t]:f[t]=a&&l?l(r):p(r)}return f[t]}},function(t,r,n){var e=n(1),o=n(15),i=e({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,r){return i(o(t),r)}},function(t,r,n){var e=n(0),o=n(25).f,i=n(16),u=n(14),c=n(42),a=n(68),f=n(71);t.exports=function(t,r){var n,s,l,p,v,d=t.target,y=t.global,h=t.stat;if(n=y?e:h?e[d]||c(d,{}):(e[d]||{}).prototype)for(s in r){if(p=r[s],l=t.noTargetGet?(v=o(n,s))&&v.value:n[s],!f(y?s:d+(h?".":"#")+s,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;a(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),u(n,s,p,t)}}},function(t,r,n){var e=n(3);t.exports=!e((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,r,n){var e=n(0),o=n(7),i=n(63),u=n(10),c=n(26),a=e.TypeError,f=Object.defineProperty;r.f=o?f:function(t,r,n){if(u(t),r=c(r),u(n),i)try{return f(t,r,n)}catch(t){}if("get"in n||"set"in n)throw a("Accessors not supported");return"value"in n&&(t[r]=n.value),t}},function(t,r,n){var e=n(2);t.exports=function(t){return"object"==typeof t?null!==t:e(t)}},function(t,r,n){var e=n(0),o=n(9),i=e.String,u=e.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not an object")}},function(t,r){var n=Function.prototype.call;t.exports=n.bind?n.bind(n):function(){return n.apply(n,arguments)}},function(t,r,n){var e=n(49),o=n(31);t.exports=function(t){return e(o(t))}},function(t,r,n){var e=n(0),o=n(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,r){return arguments.length<2?i(e[t]):e[t]&&e[t][r]}},function(t,r,n){var e=n(0),o=n(2),i=n(5),u=n(16),c=n(42),a=n(38),f=n(22),s=n(53).CONFIGURABLE,l=f.get,p=f.enforce,v=String(String).split("String");(t.exports=function(t,r,n,a){var f,l=!!a&&!!a.unsafe,d=!!a&&!!a.enumerable,y=!!a&&!!a.noTargetGet,h=a&&void 0!==a.name?a.name:r;o(n)&&("Symbol("===String(h).slice(0,7)&&(h="["+String(h).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(n,"name")||s&&n.name!==h)&&u(n,"name",h),(f=p(n)).source||(f.source=v.join("string"==typeof h?h:""))),t!==e?(l?!y&&t[r]&&(d=!0):delete t[r],d?t[r]=n:u(t,r,n)):d?t[r]=n:c(r,n)})(Function.prototype,"toString",(function(){return o(this)&&l(this).source||a(this)}))},function(t,r,n){var e=n(0),o=n(31),i=e.Object;t.exports=function(t){return i(o(t))}},function(t,r,n){var e=n(7),o=n(8),i=n(21);t.exports=e?function(t,r,n){return o.f(t,r,i(1,n))}:function(t,r,n){return t[r]=n,t}},function(t,r,n){var e=n(83);t.exports=function(t){return e(t.length)}},,function(t,r,n){var e,o=n(10),i=n(93),u=n(46),c=n(24),a=n(106),f=n(44),s=n(29),l=s("IE_PROTO"),p=function(){},v=function(t){return"<script>"+t+"<\/script>"},d=function(t){t.write(v("")),t.close();var r=t.parentWindow.Object;return t=null,r},y=function(){try{e=new ActiveXObject("htmlfile")}catch(t){}var t,r;y="undefined"!=typeof document?document.domain&&e?d(e):((r=f("iframe")).style.display="none",a.appendChild(r),r.src=String("javascript:"),(t=r.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):d(e);for(var n=u.length;n--;)delete y.prototype[u[n]Line truncated
!function(t,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r();else if("function"==typeof define&&define.amd)define([],r);else{var n=r();for(var e in n)("object"==typeof exports?exports:t)[e]=n[e]}}(window,(function(){return function(t){var r={};function n(e){if(r[e])return r[e].exports;var o=r[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=r,n.d=function(t,r,e){n.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:e})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,r){if(1&r&&(t=n(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(n.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var o in t)n.d(e,o,function(r){return t[r]}.bind(null,o));return e},n.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(r,"a",r),r},n.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},n.p="",n(n.s=236)}([function(t,r,n){(function(r){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r&&r)||function(){return this}()||Function("return this")()}).call(this,n(97))},function(t,r){var n=Function.prototype,e=n.bind,o=n.call,i=e&&e.bind(o);t.exports=e?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},function(t,r){t.exports=function(t){return"function"==typeof t}},function(t,r){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,r,n){var e=n(0),o=n(34),i=n(6),u=n(36),c=n(46),a=n(62),f=o("wks"),s=e.Symbol,l=s&&s.for,p=a?s:s&&s.withoutSetter||u;t.exports=function(t){if(!i(f,t)||!c&&"string"!=typeof f[t]){var r="Symbol."+t;c&&i(s,t)?f[t]=s[t]:f[t]=a&&l?l(r):p(r)}return f[t]}},function(t,r,n){var e=n(0),o=n(25).f,i=n(16),u=n(15),c=n(42),a=n(68),f=n(73);t.exports=function(t,r){var n,s,l,p,v,d=t.target,y=t.global,h=t.stat;if(n=y?e:h?e[d]||c(d,{}):(e[d]||{}).prototype)for(s in r){if(p=r[s],l=t.noTargetGet?(v=o(n,s))&&v.value:n[s],!f(y?s:d+(h?".":"#")+s,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;a(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),u(n,s,p,t)}}},function(t,r,n){var e=n(1),o=n(14),i=e({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,r){return i(o(t),r)}},function(t,r,n){var e=n(3);t.exports=!e((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,r,n){var e=n(0),o=n(7),i=n(63),u=n(10),c=n(27),a=e.TypeError,f=Object.defineProperty;r.f=o?f:function(t,r,n){if(u(t),r=c(r),u(n),i)try{return f(t,r,n)}catch(t){}if("get"in n||"set"in n)throw a("Accessors not supported");return"value"in n&&(t[r]=n.value),t}},function(t,r,n){var e=n(2);t.exports=function(t){return"object"==typeof t?null!==t:e(t)}},function(t,r,n){var e=n(0),o=n(9),i=e.String,u=e.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not an object")}},function(t,r){var n=Function.prototype.call;t.exports=n.bind?n.bind(n):function(){return n.apply(n,arguments)}},function(t,r,n){var e=n(55),o=n(33);t.exports=function(t){return e(o(t))}},function(t,r,n){var e=n(0),o=n(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,r){return arguments.length<2?i(e[t]):e[t]&&e[t][r]}},function(t,r,n){var e=n(0),o=n(33),i=e.Object;t.exports=function(t){return i(o(t))}},function(t,r,n){var e=n(0),o=n(2),i=n(6),u=n(16),c=n(42),a=n(39),f=n(22),s=n(53).CONFIGURABLE,l=f.get,p=f.enforce,v=String(String).split("String");(t.exports=function(t,r,n,a){var f,l=!!a&&!!a.unsafe,d=!!a&&!!a.enumerable,y=!!a&&!!a.noTargetGet,h=a&&void 0!==a.name?a.name:r;o(n)&&("Symbol("===String(h).slice(0,7)&&(h="["+String(h).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(n,"name")||s&&n.name!==h)&&u(n,"name",h),(f=p(n)).source||(f.source=v.join("string"==typeof h?h:""))),t!==e?(l?!y&&t[r]&&(d=!0):delete t[r],d?t[r]=n:u(t,r,n)):d?t[r]=n:c(r,n)})(Function.prototype,"toString",(function(){return o(this)&&l(this).source||a(this)}))},function(t,r,n){var e=n(7),o=n(8),i=n(21);t.exports=e?function(t,r,n){return o.f(t,r,i(1,n))}:function(t,r,n){return t[r]=n,t}},function(t,r,n){var e=n(89);t.exports=function(t){return e(t.length)}},function(t,r,n){var e,o=n(10),i=n(94),u=n(47),c=n(24),a=n(106),f=n(44),s=n(30),l=s("IE_PROTO"),p=function(){},v=function(t){return"<script>"+t+"<\/script>"},d=function(t){t.write(v("")),t.close();var r=t.parentWindow.Object;return t=null,r},y=function(){try{e=new ActiveXObject("htmlfile")}catch(t){}var t,r;y="undefined"!=typeof document?document.domain&&e?d(e):((r=f("iframe")).style.display="none",a.appendChild(r),r.src=String("javascript:"),(t=r.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):d(e);for(var n=u.length;n--;)delete y.prototype[u[n]]Line truncated
+1 -1
View File
@@ -1 +1 @@
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n=e();for(var r in n)("object"==typeof exports?exports:t)[r]=n[r]}}(window,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=208)}([function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n(95))},function(t,e){var n=Function.prototype,r=n.bind,o=n.call,i=r&&r.bind(o);t.exports=r?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},function(t,e){t.exports=function(t){return"function"==typeof t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(0),o=n(33),i=n(5),u=n(34),a=n(45),c=n(62),f=o("wks"),s=r.Symbol,l=s&&s.for,p=c?s:s&&s.withoutSetter||u;t.exports=function(t){if(!i(f,t)||!a&&"string"!=typeof f[t]){var e="Symbol."+t;a&&i(s,t)?f[t]=s[t]:f[t]=c&&l?l(e):p(e)}return f[t]}},function(t,e,n){var r=n(1),o=n(15),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},function(t,e,n){var r=n(0),o=n(25).f,i=n(16),u=n(14),a=n(42),c=n(68),f=n(71);t.exports=function(t,e){var n,s,l,p,v,d=t.target,y=t.global,h=t.stat;if(n=y?r:h?r[d]||a(d,{}):(r[d]||{}).prototype)for(s in e){if(p=e[s],l=t.noTargetGet?(v=o(n,s))&&v.value:n[s],!f(y?s:d+(h?".":"#")+s,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;c(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),u(n,s,p,t)}}},function(t,e,n){var r=n(3);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e,n){var r=n(0),o=n(7),i=n(63),u=n(10),a=n(26),c=r.TypeError,f=Object.defineProperty;e.f=o?f:function(t,e,n){if(u(t),e=a(e),u(n),i)try{return f(t,e,n)}catch(t){}if("get"in n||"set"in n)throw c("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(2);t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},function(t,e,n){var r=n(0),o=n(9),i=r.String,u=r.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not an object")}},function(t,e){var n=Function.prototype.call;t.exports=n.bind?n.bind(n):function(){return n.apply(n,arguments)}},function(t,e,n){var r=n(49),o=n(31);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(0),o=n(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t]):r[t]&&r[t][e]}},function(t,e,n){var r=n(0),o=n(2),i=n(5),u=n(16),a=n(42),c=n(38),f=n(22),s=n(53).CONFIGURABLE,l=f.get,p=f.enforce,v=String(String).split("String");(t.exports=function(t,e,n,c){var f,l=!!c&&!!c.unsafe,d=!!c&&!!c.enumerable,y=!!c&&!!c.noTargetGet,h=c&&void 0!==c.name?c.name:e;o(n)&&("Symbol("===String(h).slice(0,7)&&(h="["+String(h).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(n,"name")||s&&n.name!==h)&&u(n,"name",h),(f=p(n)).source||(f.source=v.join("string"==typeof h?h:""))),t!==r?(l?!y&&t[e]&&(d=!0):delete t[e],d?t[e]=n:u(t,e,n)):d?t[e]=n:a(e,n)})(Function.prototype,"toString",(function(){return o(this)&&l(this).source||c(this)}))},function(t,e,n){var r=n(0),o=n(31),i=r.Object;t.exports=function(t){return i(o(t))}},function(t,e,n){var r=n(7),o=n(8),i=n(21);t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(83);t.exports=function(t){return r(t.length)}},,function(t,e,n){var r,o=n(10),i=n(93),u=n(46),a=n(24),c=n(106),f=n(44),s=n(29),l=s("IE_PROTO"),p=function(){},v=function(t){return"<script>"+t+"<\/script>"},d=function(t){t.write(v("")),t.close();var e=t.parentWindow.Object;return t=null,e},y=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}var t,e;y="undefined"!=typeof document?document.domain&&r?d(r):((e=f("iframe")).style.display="none",c.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):d(r);for(var n=u.length;n--;)delete y.prototype[u[n]Line truncated
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n=e();for(var r in n)("object"==typeof exports?exports:t)[r]=n[r]}}(window,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=213)}([function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n(97))},function(t,e){var n=Function.prototype,r=n.bind,o=n.call,i=r&&r.bind(o);t.exports=r?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},function(t,e){t.exports=function(t){return"function"==typeof t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(0),o=n(34),i=n(6),u=n(36),a=n(46),c=n(62),f=o("wks"),s=r.Symbol,l=s&&s.for,p=c?s:s&&s.withoutSetter||u;t.exports=function(t){if(!i(f,t)||!a&&"string"!=typeof f[t]){var e="Symbol."+t;a&&i(s,t)?f[t]=s[t]:f[t]=c&&l?l(e):p(e)}return f[t]}},function(t,e,n){var r=n(0),o=n(25).f,i=n(16),u=n(15),a=n(42),c=n(68),f=n(73);t.exports=function(t,e){var n,s,l,p,v,d=t.target,y=t.global,h=t.stat;if(n=y?r:h?r[d]||a(d,{}):(r[d]||{}).prototype)for(s in e){if(p=e[s],l=t.noTargetGet?(v=o(n,s))&&v.value:n[s],!f(y?s:d+(h?".":"#")+s,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;c(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),u(n,s,p,t)}}},function(t,e,n){var r=n(1),o=n(14),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},function(t,e,n){var r=n(3);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e,n){var r=n(0),o=n(7),i=n(63),u=n(10),a=n(27),c=r.TypeError,f=Object.defineProperty;e.f=o?f:function(t,e,n){if(u(t),e=a(e),u(n),i)try{return f(t,e,n)}catch(t){}if("get"in n||"set"in n)throw c("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(2);t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},function(t,e,n){var r=n(0),o=n(9),i=r.String,u=r.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not an object")}},function(t,e){var n=Function.prototype.call;t.exports=n.bind?n.bind(n):function(){return n.apply(n,arguments)}},function(t,e,n){var r=n(55),o=n(33);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(0),o=n(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t]):r[t]&&r[t][e]}},function(t,e,n){var r=n(0),o=n(33),i=r.Object;t.exports=function(t){return i(o(t))}},function(t,e,n){var r=n(0),o=n(2),i=n(6),u=n(16),a=n(42),c=n(39),f=n(22),s=n(53).CONFIGURABLE,l=f.get,p=f.enforce,v=String(String).split("String");(t.exports=function(t,e,n,c){var f,l=!!c&&!!c.unsafe,d=!!c&&!!c.enumerable,y=!!c&&!!c.noTargetGet,h=c&&void 0!==c.name?c.name:e;o(n)&&("Symbol("===String(h).slice(0,7)&&(h="["+String(h).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(n,"name")||s&&n.name!==h)&&u(n,"name",h),(f=p(n)).source||(f.source=v.join("string"==typeof h?h:""))),t!==r?(l?!y&&t[e]&&(d=!0):delete t[e],d?t[e]=n:u(t,e,n)):d?t[e]=n:a(e,n)})(Function.prototype,"toString",(function(){return o(this)&&l(this).source||c(this)}))},function(t,e,n){var r=n(7),o=n(8),i=n(21);t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(89);t.exports=function(t){return r(t.length)}},function(t,e,n){var r,o=n(10),i=n(94),u=n(47),a=n(24),c=n(106),f=n(44),s=n(30),l=s("IE_PROTO"),p=function(){},v=function(t){return"<script>"+t+"<\/script>"},d=function(t){t.write(v("")),t.close();var e=t.parentWindow.Object;return t=null,e},y=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}var t,e;y="undefined"!=typeof document?document.domain&&r?d(r):((e=f("iframe")).style.display="none",c.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):d(r);for(var n=u.length;n--;)delete y.prototype[u[n]]Line truncated
@@ -1 +1 @@
!function(t,n){if("object"==typeof exports&&"object"==typeof module)module.exports=n();else if("function"==typeof define&&define.amd)define([],n);else{var r=n();for(var e in r)("object"==typeof exports?exports:t)[e]=r[e]}}(window,(function(){return function(t){var n={};function r(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)r.d(e,o,function(n){return t[n]}.bind(null,o));return e},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="",r(r.s=210)}([function(t,n,r){(function(n){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n&&n)||function(){return this}()||Function("return this")()}).call(this,r(95))},function(t,n){var r=Function.prototype,e=r.bind,o=r.call,i=e&&e.bind(o);t.exports=e?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},function(t,n){t.exports=function(t){return"function"==typeof t}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,r){var e=r(0),o=r(33),i=r(5),a=r(34),u=r(45),c=r(62),s=o("wks"),f=e.Symbol,l=f&&f.for,p=c?f:f&&f.withoutSetter||a;t.exports=function(t){if(!i(s,t)||!u&&"string"!=typeof s[t]){var n="Symbol."+t;u&&i(f,t)?s[t]=f[t]:s[t]=c&&l?l(n):p(n)}return s[t]}},function(t,n,r){var e=r(1),o=r(15),i=e({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,n){return i(o(t),n)}},function(t,n,r){var e=r(0),o=r(25).f,i=r(16),a=r(14),u=r(42),c=r(68),s=r(71);t.exports=function(t,n){var r,f,l,p,v,h=t.target,d=t.global,y=t.stat;if(r=d?e:y?e[h]||u(h,{}):(e[h]||{}).prototype)for(f in n){if(p=n[f],l=t.noTargetGet?(v=o(r,f))&&v.value:r[f],!s(d?f:h+(y?".":"#")+f,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;c(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),a(r,f,p,t)}}},function(t,n,r){var e=r(3);t.exports=!e((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,n,r){var e=r(0),o=r(7),i=r(63),a=r(10),u=r(26),c=e.TypeError,s=Object.defineProperty;n.f=o?s:function(t,n,r){if(a(t),n=u(n),a(r),i)try{return s(t,n,r)}catch(t){}if("get"in r||"set"in r)throw c("Accessors not supported");return"value"in r&&(t[n]=r.value),t}},function(t,n,r){var e=r(2);t.exports=function(t){return"object"==typeof t?null!==t:e(t)}},function(t,n,r){var e=r(0),o=r(9),i=e.String,a=e.TypeError;t.exports=function(t){if(o(t))return t;throw a(i(t)+" is not an object")}},function(t,n){var r=Function.prototype.call;t.exports=r.bind?r.bind(r):function(){return r.apply(r,arguments)}},function(t,n,r){var e=r(49),o=r(31);t.exports=function(t){return e(o(t))}},function(t,n,r){var e=r(0),o=r(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,n){return arguments.length<2?i(e[t]):e[t]&&e[t][n]}},function(t,n,r){var e=r(0),o=r(2),i=r(5),a=r(16),u=r(42),c=r(38),s=r(22),f=r(53).CONFIGURABLE,l=s.get,p=s.enforce,v=String(String).split("String");(t.exports=function(t,n,r,c){var s,l=!!c&&!!c.unsafe,h=!!c&&!!c.enumerable,d=!!c&&!!c.noTargetGet,y=c&&void 0!==c.name?c.name:n;o(r)&&("Symbol("===String(y).slice(0,7)&&(y="["+String(y).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(r,"name")||f&&r.name!==y)&&a(r,"name",y),(s=p(r)).source||(s.source=v.join("string"==typeof y?y:""))),t!==e?(l?!d&&t[n]&&(h=!0):delete t[n],h?t[n]=r:a(t,n,r)):h?t[n]=r:u(n,r)})(Function.prototype,"toString",(function(){return o(this)&&l(this).source||c(this)}))},function(t,n,r){var e=r(0),o=r(31),i=e.Object;t.exports=function(t){return i(o(t))}},function(t,n,r){var e=r(7),o=r(8),i=r(21);t.exports=e?function(t,n,r){return o.f(t,n,i(1,r))}:function(t,n,r){return t[n]=r,t}},function(t,n,r){var e=r(83);t.exports=function(t){return e(t.length)}},,function(t,n,r){var e,o=r(10),i=r(93),a=r(46),u=r(24),c=r(106),s=r(44),f=r(29),l=f("IE_PROTO"),p=function(){},v=function(t){return"<script>"+t+"<\/script>"},h=function(t){t.write(v("")),t.close();var n=t.parentWindow.Object;return t=null,n},d=function(){try{e=new ActiveXObject("htmlfile")}catch(t){}var t,n;d="undefined"!=typeof document?document.domain&&e?h(e):((n=s("iframe")).style.display="none",c.appendChild(n),n.src=String("javascript:"),(t=n.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):h(e);for(var r=a.length;r--;)delete d.prototype[a[r]Line truncated
!function(t,n){if("object"==typeof exports&&"object"==typeof module)module.exports=n();else if("function"==typeof define&&define.amd)define([],n);else{var r=n();for(var e in r)("object"==typeof exports?exports:t)[e]=r[e]}}(window,(function(){return function(t){var n={};function r(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)r.d(e,o,function(n){return t[n]}.bind(null,o));return e},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="",r(r.s=215)}([function(t,n,r){(function(n){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n&&n)||function(){return this}()||Function("return this")()}).call(this,r(97))},function(t,n){var r=Function.prototype,e=r.bind,o=r.call,i=e&&e.bind(o);t.exports=e?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},function(t,n){t.exports=function(t){return"function"==typeof t}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,r){var e=r(0),o=r(34),i=r(6),a=r(36),u=r(46),c=r(62),s=o("wks"),f=e.Symbol,l=f&&f.for,p=c?f:f&&f.withoutSetter||a;t.exports=function(t){if(!i(s,t)||!u&&"string"!=typeof s[t]){var n="Symbol."+t;u&&i(f,t)?s[t]=f[t]:s[t]=c&&l?l(n):p(n)}return s[t]}},function(t,n,r){var e=r(0),o=r(25).f,i=r(16),a=r(15),u=r(42),c=r(68),s=r(73);t.exports=function(t,n){var r,f,l,p,v,h=t.target,d=t.global,_=t.stat;if(r=d?e:_?e[h]||u(h,{}):(e[h]||{}).prototype)for(f in n){if(p=n[f],l=t.noTargetGet?(v=o(r,f))&&v.value:r[f],!s(d?f:h+(_?".":"#")+f,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;c(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),a(r,f,p,t)}}},function(t,n,r){var e=r(1),o=r(14),i=e({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,n){return i(o(t),n)}},function(t,n,r){var e=r(3);t.exports=!e((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,n,r){var e=r(0),o=r(7),i=r(63),a=r(10),u=r(27),c=e.TypeError,s=Object.defineProperty;n.f=o?s:function(t,n,r){if(a(t),n=u(n),a(r),i)try{return s(t,n,r)}catch(t){}if("get"in r||"set"in r)throw c("Accessors not supported");return"value"in r&&(t[n]=r.value),t}},function(t,n,r){var e=r(2);t.exports=function(t){return"object"==typeof t?null!==t:e(t)}},function(t,n,r){var e=r(0),o=r(9),i=e.String,a=e.TypeError;t.exports=function(t){if(o(t))return t;throw a(i(t)+" is not an object")}},function(t,n){var r=Function.prototype.call;t.exports=r.bind?r.bind(r):function(){return r.apply(r,arguments)}},function(t,n,r){var e=r(55),o=r(33);t.exports=function(t){return e(o(t))}},function(t,n,r){var e=r(0),o=r(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,n){return arguments.length<2?i(e[t]):e[t]&&e[t][n]}},function(t,n,r){var e=r(0),o=r(33),i=e.Object;t.exports=function(t){return i(o(t))}},function(t,n,r){var e=r(0),o=r(2),i=r(6),a=r(16),u=r(42),c=r(39),s=r(22),f=r(53).CONFIGURABLE,l=s.get,p=s.enforce,v=String(String).split("String");(t.exports=function(t,n,r,c){var s,l=!!c&&!!c.unsafe,h=!!c&&!!c.enumerable,d=!!c&&!!c.noTargetGet,_=c&&void 0!==c.name?c.name:n;o(r)&&("Symbol("===String(_).slice(0,7)&&(_="["+String(_).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(r,"name")||f&&r.name!==_)&&a(r,"name",_),(s=p(r)).source||(s.source=v.join("string"==typeof _?_:""))),t!==e?(l?!d&&t[n]&&(h=!0):delete t[n],h?t[n]=r:a(t,n,r)):h?t[n]=r:u(n,r)})(Function.prototype,"toString",(function(){return o(this)&&l(this).source||c(this)}))},function(t,n,r){var e=r(7),o=r(8),i=r(21);t.exports=e?function(t,n,r){return o.f(t,n,i(1,r))}:function(t,n,r){return t[n]=r,t}},function(t,n,r){var e=r(89);t.exports=function(t){return e(t.length)}},function(t,n,r){var e,o=r(10),i=r(94),a=r(47),u=r(24),c=r(106),s=r(44),f=r(30),l=f("IE_PROTO"),p=function(){},v=function(t){return"<script>"+t+"<\/script>"},h=function(t){t.write(v("")),t.close();var n=t.parentWindow.Object;return t=null,n},d=function(){try{e=new ActiveXObject("htmlfile")}catch(t){}var t,n;d="undefined"!=typeof document?document.domain&&e?h(e):((n=s("iframe")).style.display="none",c.appendChild(n),n.src=String("javascript:"),(t=n.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):h(e);for(var r=a.length;r--;)delete d.prototype[a[r]]Line truncated
@@ -1 +1 @@
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e(require("window"));else if("function"==typeof define&&define.amd)define(["window"],e);else{var n="object"==typeof exports?e(require("window")):e(t.window);for(var r in n)("object"==typeof exports?exports:t)[r]=n[r]}}(window,(function(t){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=173)}([function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n(95))},function(t,e){var n=Function.prototype,r=n.bind,o=n.call,i=r&&r.bind(o);t.exports=r?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},function(t,e){t.exports=function(t){return"function"==typeof t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(0),o=n(33),i=n(5),u=n(34),c=n(45),a=n(62),f=o("wks"),l=r.Symbol,s=l&&l.for,p=a?l:l&&l.withoutSetter||u;t.exports=function(t){if(!i(f,t)||!c&&"string"!=typeof f[t]){var e="Symbol."+t;c&&i(l,t)?f[t]=l[t]:f[t]=a&&s?s(e):p(e)}return f[t]}},function(t,e,n){var r=n(1),o=n(15),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},function(t,e,n){var r=n(0),o=n(25).f,i=n(16),u=n(14),c=n(42),a=n(68),f=n(71);t.exports=function(t,e){var n,l,s,p,d,y=t.target,h=t.global,v=t.stat;if(n=h?r:v?r[y]||c(y,{}):(r[y]||{}).prototype)for(l in e){if(p=e[l],s=t.noTargetGet?(d=o(n,l))&&d.value:n[l],!f(h?l:y+(v?".":"#")+l,t.forced)&&void 0!==s){if(typeof p==typeof s)continue;a(p,s)}(t.sham||s&&s.sham)&&i(p,"sham",!0),u(n,l,p,t)}}},function(t,e,n){var r=n(3);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e,n){var r=n(0),o=n(7),i=n(63),u=n(10),c=n(26),a=r.TypeError,f=Object.defineProperty;e.f=o?f:function(t,e,n){if(u(t),e=c(e),u(n),i)try{return f(t,e,n)}catch(t){}if("get"in n||"set"in n)throw a("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(2);t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},function(t,e,n){var r=n(0),o=n(9),i=r.String,u=r.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not an object")}},function(t,e){var n=Function.prototype.call;t.exports=n.bind?n.bind(n):function(){return n.apply(n,arguments)}},function(t,e,n){var r=n(49),o=n(31);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(0),o=n(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t]):r[t]&&r[t][e]}},function(t,e,n){var r=n(0),o=n(2),i=n(5),u=n(16),c=n(42),a=n(38),f=n(22),l=n(53).CONFIGURABLE,s=f.get,p=f.enforce,d=String(String).split("String");(t.exports=function(t,e,n,a){var f,s=!!a&&!!a.unsafe,y=!!a&&!!a.enumerable,h=!!a&&!!a.noTargetGet,v=a&&void 0!==a.name?a.name:e;o(n)&&("Symbol("===String(v).slice(0,7)&&(v="["+String(v).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(n,"name")||l&&n.name!==v)&&u(n,"name",v),(f=p(n)).source||(f.source=d.join("string"==typeof v?v:""))),t!==r?(s?!h&&t[e]&&(y=!0):delete t[e],y?t[e]=n:u(t,e,n)):y?t[e]=n:c(e,n)})(Function.prototype,"toString",(function(){return o(this)&&s(this).source||a(this)}))},function(t,e,n){var r=n(0),o=n(31),i=r.Object;t.exports=function(t){return i(o(t))}},function(t,e,n){var r=n(7),o=n(8),i=n(21);t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(83);t.exports=function(t){return r(t.length)}},function(e,n){e.exports=t},function(t,e,n){var r,o=n(10),i=n(93),u=n(46),c=n(24),a=n(106),f=n(44),l=n(29),s=l("IE_PROTO"),p=function(){},d=function(t){return"<script>"+t+"<\/script>"},y=function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e},h=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}var t,e;h="undefined"!=typeof document?document.domain&&r?y(r):((e=f("iframe")).style.display="none",a.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).Line truncated
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e(require("window"));else if("function"==typeof define&&define.amd)define(["window"],e);else{var n="object"==typeof exports?e(require("window")):e(t.window);for(var r in n)("object"==typeof exports?exports:t)[r]=n[r]}}(window,(function(t){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=175)}([function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n(97))},function(t,e){var n=Function.prototype,r=n.bind,o=n.call,i=r&&r.bind(o);t.exports=r?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},function(t,e){t.exports=function(t){return"function"==typeof t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(0),o=n(34),i=n(6),u=n(36),c=n(46),a=n(62),f=o("wks"),l=r.Symbol,s=l&&l.for,p=a?l:l&&l.withoutSetter||u;t.exports=function(t){if(!i(f,t)||!c&&"string"!=typeof f[t]){var e="Symbol."+t;c&&i(l,t)?f[t]=l[t]:f[t]=a&&s?s(e):p(e)}return f[t]}},function(t,e,n){var r=n(0),o=n(25).f,i=n(16),u=n(15),c=n(42),a=n(68),f=n(73);t.exports=function(t,e){var n,l,s,p,h,d=t.target,y=t.global,v=t.stat;if(n=y?r:v?r[d]||c(d,{}):(r[d]||{}).prototype)for(l in e){if(p=e[l],s=t.noTargetGet?(h=o(n,l))&&h.value:n[l],!f(y?l:d+(v?".":"#")+l,t.forced)&&void 0!==s){if(typeof p==typeof s)continue;a(p,s)}(t.sham||s&&s.sham)&&i(p,"sham",!0),u(n,l,p,t)}}},function(t,e,n){var r=n(1),o=n(14),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},function(t,e,n){var r=n(3);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e,n){var r=n(0),o=n(7),i=n(63),u=n(10),c=n(27),a=r.TypeError,f=Object.defineProperty;e.f=o?f:function(t,e,n){if(u(t),e=c(e),u(n),i)try{return f(t,e,n)}catch(t){}if("get"in n||"set"in n)throw a("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(2);t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},function(t,e,n){var r=n(0),o=n(9),i=r.String,u=r.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not an object")}},function(t,e){var n=Function.prototype.call;t.exports=n.bind?n.bind(n):function(){return n.apply(n,arguments)}},function(t,e,n){var r=n(55),o=n(33);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(0),o=n(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t]):r[t]&&r[t][e]}},function(t,e,n){var r=n(0),o=n(33),i=r.Object;t.exports=function(t){return i(o(t))}},function(t,e,n){var r=n(0),o=n(2),i=n(6),u=n(16),c=n(42),a=n(39),f=n(22),l=n(53).CONFIGURABLE,s=f.get,p=f.enforce,h=String(String).split("String");(t.exports=function(t,e,n,a){var f,s=!!a&&!!a.unsafe,d=!!a&&!!a.enumerable,y=!!a&&!!a.noTargetGet,v=a&&void 0!==a.name?a.name:e;o(n)&&("Symbol("===String(v).slice(0,7)&&(v="["+String(v).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(n,"name")||l&&n.name!==v)&&u(n,"name",v),(f=p(n)).source||(f.source=h.join("string"==typeof v?v:""))),t!==r?(s?!y&&t[e]&&(d=!0):delete t[e],d?t[e]=n:u(t,e,n)):d?t[e]=n:c(e,n)})(Function.prototype,"toString",(function(){return o(this)&&s(this).source||a(this)}))},function(t,e,n){var r=n(7),o=n(8),i=n(21);t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(89);t.exports=function(t){return r(t.length)}},function(t,e,n){var r,o=n(10),i=n(94),u=n(47),c=n(24),a=n(106),f=n(44),l=n(30),s=l("IE_PROTO"),p=function(){},h=function(t){return"<script>"+t+"<\/script>"},d=function(t){t.write(h("")),t.close();var e=t.parentWindow.Object;return t=null,e},y=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}var t,e;y="undefined"!=typeof document?document.domain&&r?d(r):((e=f("iframe")).style.display="none",a.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(h("document.Line truncated
@@ -1 +1 @@
!function(t,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("window"));else if("function"==typeof define&&define.amd)define(["window"],r);else{var n="object"==typeof exports?r(require("window")):r(t.window);for(var e in n)("object"==typeof exports?exports:t)[e]=n[e]}}(window,(function(t){return function(t){var r={};function n(e){if(r[e])return r[e].exports;var o=r[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=r,n.d=function(t,r,e){n.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:e})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,r){if(1&r&&(t=n(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(n.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var o in t)n.d(e,o,function(r){return t[r]}.bind(null,o));return e},n.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(r,"a",r),r},n.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},n.p="",n(n.s=225)}([function(t,r,n){(function(r){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r&&r)||function(){return this}()||Function("return this")()}).call(this,n(95))},function(t,r){var n=Function.prototype,e=n.bind,o=n.call,i=e&&e.bind(o);t.exports=e?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},function(t,r){t.exports=function(t){return"function"==typeof t}},function(t,r){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,r,n){var e=n(0),o=n(33),i=n(5),u=n(34),c=n(45),f=n(62),a=o("wks"),s=e.Symbol,p=s&&s.for,l=f?s:s&&s.withoutSetter||u;t.exports=function(t){if(!i(a,t)||!c&&"string"!=typeof a[t]){var r="Symbol."+t;c&&i(s,t)?a[t]=s[t]:a[t]=f&&p?p(r):l(r)}return a[t]}},function(t,r,n){var e=n(1),o=n(15),i=e({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,r){return i(o(t),r)}},function(t,r,n){var e=n(0),o=n(25).f,i=n(16),u=n(14),c=n(42),f=n(68),a=n(71);t.exports=function(t,r){var n,s,p,l,v,y=t.target,b=t.global,d=t.stat;if(n=b?e:d?e[y]||c(y,{}):(e[y]||{}).prototype)for(s in r){if(l=r[s],p=t.noTargetGet?(v=o(n,s))&&v.value:n[s],!a(b?s:y+(d?".":"#")+s,t.forced)&&void 0!==p){if(typeof l==typeof p)continue;f(l,p)}(t.sham||p&&p.sham)&&i(l,"sham",!0),u(n,s,l,t)}}},function(t,r,n){var e=n(3);t.exports=!e((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,r,n){var e=n(0),o=n(7),i=n(63),u=n(10),c=n(26),f=e.TypeError,a=Object.defineProperty;r.f=o?a:function(t,r,n){if(u(t),r=c(r),u(n),i)try{return a(t,r,n)}catch(t){}if("get"in n||"set"in n)throw f("Accessors not supported");return"value"in n&&(t[r]=n.value),t}},function(t,r,n){var e=n(2);t.exports=function(t){return"object"==typeof t?null!==t:e(t)}},function(t,r,n){var e=n(0),o=n(9),i=e.String,u=e.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not an object")}},function(t,r){var n=Function.prototype.call;t.exports=n.bind?n.bind(n):function(){return n.apply(n,arguments)}},function(t,r,n){var e=n(49),o=n(31);t.exports=function(t){return e(o(t))}},function(t,r,n){var e=n(0),o=n(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,r){return arguments.length<2?i(e[t]):e[t]&&e[t][r]}},function(t,r,n){var e=n(0),o=n(2),i=n(5),u=n(16),c=n(42),f=n(38),a=n(22),s=n(53).CONFIGURABLE,p=a.get,l=a.enforce,v=String(String).split("String");(t.exports=function(t,r,n,f){var a,p=!!f&&!!f.unsafe,y=!!f&&!!f.enumerable,b=!!f&&!!f.noTargetGet,d=f&&void 0!==f.name?f.name:r;o(n)&&("Symbol("===String(d).slice(0,7)&&(d="["+String(d).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(n,"name")||s&&n.name!==d)&&u(n,"name",d),(a=l(n)).source||(a.source=v.join("string"==typeof d?d:""))),t!==e?(p?!b&&t[r]&&(y=!0):delete t[r],y?t[r]=n:u(t,r,n)):y?t[r]=n:c(r,n)})(Function.prototype,"toString",(function(){return o(this)&&p(this).source||f(this)}))},function(t,r,n){var e=n(0),o=n(31),i=e.Object;t.exports=function(t){return i(o(t))}},function(t,r,n){var e=n(7),o=n(8),i=n(21);t.exports=e?function(t,r,n){return o.f(t,r,i(1,n))}:function(t,r,n){return t[r]=n,t}},function(t,r,n){var e=n(83);t.exports=function(t){return e(t.length)}},function(r,n){r.exports=t},function(t,r,n){var e,o=n(10),i=n(93),u=n(46),c=n(24),f=n(106),a=n(44),s=n(29),p=s("IE_PROTO"),l=function(){},v=function(t){return"<script>"+t+"<\/script>"},y=function(t){t.write(v("")),t.close();var r=t.parentWindow.Object;return t=null,r},b=function(){try{e=new ActiveXObject("htmlfile")}catch(t){}var t,r;b="undefined"!=typeof document?document.domain&&e?y(e):((r=a("iframe")).style.display="none",f.appendChild(r),r.src=String("javascript:"),(t=r.contentWindow.document).Line truncated
!function(t,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("window"));else if("function"==typeof define&&define.amd)define(["window"],r);else{var n="object"==typeof exports?r(require("window")):r(t.window);for(var e in n)("object"==typeof exports?exports:t)[e]=n[e]}}(window,(function(t){return function(t){var r={};function n(e){if(r[e])return r[e].exports;var o=r[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=r,n.d=function(t,r,e){n.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:e})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,r){if(1&r&&(t=n(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(n.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var o in t)n.d(e,o,function(r){return t[r]}.bind(null,o));return e},n.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(r,"a",r),r},n.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},n.p="",n(n.s=234)}([function(t,r,n){(function(r){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r&&r)||function(){return this}()||Function("return this")()}).call(this,n(97))},function(t,r){var n=Function.prototype,e=n.bind,o=n.call,i=e&&e.bind(o);t.exports=e?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},function(t,r){t.exports=function(t){return"function"==typeof t}},function(t,r){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,r,n){var e=n(0),o=n(34),i=n(6),u=n(36),c=n(46),f=n(62),a=o("wks"),s=e.Symbol,p=s&&s.for,l=f?s:s&&s.withoutSetter||u;t.exports=function(t){if(!i(a,t)||!c&&"string"!=typeof a[t]){var r="Symbol."+t;c&&i(s,t)?a[t]=s[t]:a[t]=f&&p?p(r):l(r)}return a[t]}},function(t,r,n){var e=n(0),o=n(25).f,i=n(16),u=n(15),c=n(42),f=n(68),a=n(73);t.exports=function(t,r){var n,s,p,l,v,y=t.target,b=t.global,d=t.stat;if(n=b?e:d?e[y]||c(y,{}):(e[y]||{}).prototype)for(s in r){if(l=r[s],p=t.noTargetGet?(v=o(n,s))&&v.value:n[s],!a(b?s:y+(d?".":"#")+s,t.forced)&&void 0!==p){if(typeof l==typeof p)continue;f(l,p)}(t.sham||p&&p.sham)&&i(l,"sham",!0),u(n,s,l,t)}}},function(t,r,n){var e=n(1),o=n(14),i=e({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,r){return i(o(t),r)}},function(t,r,n){var e=n(3);t.exports=!e((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,r,n){var e=n(0),o=n(7),i=n(63),u=n(10),c=n(27),f=e.TypeError,a=Object.defineProperty;r.f=o?a:function(t,r,n){if(u(t),r=c(r),u(n),i)try{return a(t,r,n)}catch(t){}if("get"in n||"set"in n)throw f("Accessors not supported");return"value"in n&&(t[r]=n.value),t}},function(t,r,n){var e=n(2);t.exports=function(t){return"object"==typeof t?null!==t:e(t)}},function(t,r,n){var e=n(0),o=n(9),i=e.String,u=e.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not an object")}},function(t,r){var n=Function.prototype.call;t.exports=n.bind?n.bind(n):function(){return n.apply(n,arguments)}},function(t,r,n){var e=n(55),o=n(33);t.exports=function(t){return e(o(t))}},function(t,r,n){var e=n(0),o=n(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,r){return arguments.length<2?i(e[t]):e[t]&&e[t][r]}},function(t,r,n){var e=n(0),o=n(33),i=e.Object;t.exports=function(t){return i(o(t))}},function(t,r,n){var e=n(0),o=n(2),i=n(6),u=n(16),c=n(42),f=n(39),a=n(22),s=n(53).CONFIGURABLE,p=a.get,l=a.enforce,v=String(String).split("String");(t.exports=function(t,r,n,f){var a,p=!!f&&!!f.unsafe,y=!!f&&!!f.enumerable,b=!!f&&!!f.noTargetGet,d=f&&void 0!==f.name?f.name:r;o(n)&&("Symbol("===String(d).slice(0,7)&&(d="["+String(d).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(n,"name")||s&&n.name!==d)&&u(n,"name",d),(a=l(n)).source||(a.source=v.join("string"==typeof d?d:""))),t!==e?(p?!b&&t[r]&&(y=!0):delete t[r],y?t[r]=n:u(t,r,n)):y?t[r]=n:c(r,n)})(Function.prototype,"toString",(function(){return o(this)&&p(this).source||f(this)}))},function(t,r,n){var e=n(7),o=n(8),i=n(21);t.exports=e?function(t,r,n){return o.f(t,r,i(1,n))}:function(t,r,n){return t[r]=n,t}},function(t,r,n){var e=n(89);t.exports=function(t){return e(t.length)}},function(t,r,n){var e,o=n(10),i=n(94),u=n(47),c=n(24),f=n(106),a=n(44),s=n(30),p=s("IE_PROTO"),l=function(){},v=function(t){return"<script>"+t+"<\/script>"},y=function(t){t.write(v("")),t.close();var r=t.parentWindow.Object;return t=null,r},b=function(){try{e=new ActiveXObject("htmlfile")}catch(t){}var t,r;b="undefined"!=typeof document?document.domain&&e?y(e):((r=a("iframe")).style.display="none",f.appendChild(r),r.src=String("javascript:"),(t=r.contentWindow.document).open(),t.write(v("document.Line truncated
@@ -1 +1 @@
!function(t,n){if("object"==typeof exports&&"object"==typeof module)module.exports=n();else if("function"==typeof define&&define.amd)define([],n);else{var e=n();for(var r in e)("object"==typeof exports?exports:t)[r]=e[r]}}(window,(function(){return function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=213)}([function(t,n,e){(function(n){var e=function(t){return t&&t.Math==Math&&t};t.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof n&&n)||function(){return this}()||Function("return this")()}).call(this,e(95))},function(t,n){var e=Function.prototype,r=e.bind,o=e.call,i=r&&r.bind(o);t.exports=r?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},function(t,n){t.exports=function(t){return"function"==typeof t}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,e){var r=e(0),o=e(33),i=e(5),c=e(34),u=e(45),a=e(62),f=o("wks"),s=r.Symbol,l=s&&s.for,p=a?s:s&&s.withoutSetter||c;t.exports=function(t){if(!i(f,t)||!u&&"string"!=typeof f[t]){var n="Symbol."+t;u&&i(s,t)?f[t]=s[t]:f[t]=a&&l?l(n):p(n)}return f[t]}},function(t,n,e){var r=e(1),o=e(15),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,n){return i(o(t),n)}},function(t,n,e){var r=e(0),o=e(25).f,i=e(16),c=e(14),u=e(42),a=e(68),f=e(71);t.exports=function(t,n){var e,s,l,p,v,d=t.target,y=t.global,h=t.stat;if(e=y?r:h?r[d]||u(d,{}):(r[d]||{}).prototype)for(s in n){if(p=n[s],l=t.noTargetGet?(v=o(e,s))&&v.value:e[s],!f(y?s:d+(h?".":"#")+s,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;a(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),c(e,s,p,t)}}},function(t,n,e){var r=e(3);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,n,e){var r=e(0),o=e(7),i=e(63),c=e(10),u=e(26),a=r.TypeError,f=Object.defineProperty;n.f=o?f:function(t,n,e){if(c(t),n=u(n),c(e),i)try{return f(t,n,e)}catch(t){}if("get"in e||"set"in e)throw a("Accessors not supported");return"value"in e&&(t[n]=e.value),t}},function(t,n,e){var r=e(2);t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},function(t,n,e){var r=e(0),o=e(9),i=r.String,c=r.TypeError;t.exports=function(t){if(o(t))return t;throw c(i(t)+" is not an object")}},function(t,n){var e=Function.prototype.call;t.exports=e.bind?e.bind(e):function(){return e.apply(e,arguments)}},function(t,n,e){var r=e(49),o=e(31);t.exports=function(t){return r(o(t))}},function(t,n,e){var r=e(0),o=e(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,n){return arguments.length<2?i(r[t]):r[t]&&r[t][n]}},function(t,n,e){var r=e(0),o=e(2),i=e(5),c=e(16),u=e(42),a=e(38),f=e(22),s=e(53).CONFIGURABLE,l=f.get,p=f.enforce,v=String(String).split("String");(t.exports=function(t,n,e,a){var f,l=!!a&&!!a.unsafe,d=!!a&&!!a.enumerable,y=!!a&&!!a.noTargetGet,h=a&&void 0!==a.name?a.name:n;o(e)&&("Symbol("===String(h).slice(0,7)&&(h="["+String(h).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(e,"name")||s&&e.name!==h)&&c(e,"name",h),(f=p(e)).source||(f.source=v.join("string"==typeof h?h:""))),t!==r?(l?!y&&t[n]&&(d=!0):delete t[n],d?t[n]=e:c(t,n,e)):d?t[n]=e:u(n,e)})(Function.prototype,"toString",(function(){return o(this)&&l(this).source||a(this)}))},function(t,n,e){var r=e(0),o=e(31),i=r.Object;t.exports=function(t){return i(o(t))}},function(t,n,e){var r=e(7),o=e(8),i=e(21);t.exports=r?function(t,n,e){return o.f(t,n,i(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n,e){var r=e(83);t.exports=function(t){return r(t.length)}},,,function(t,n,e){var r=e(1),o=r({}.toString),i=r("".slice);t.exports=function(t){return i(o(t),8,-1)}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,e){var r,o,i,c=e(97),u=e(0),a=e(1),f=e(9),s=e(16),l=e(5),p=e(41),v=e(29),d=e(24),y=u.TypeError,h=u.WeakMap;if(c||p.state){var m=p.state||(p.state=new h),b=a(m.get),x=a(m.has),g=a(m.set);r=function(t,n){if(x(m,t))throw new y("Object already initialized");return n.facade=t,g(m,t,n),n},o=function(t){return b(m,t)||{}},i=function(t){return x(m,t)}}else{var Line truncated
!function(t,n){if("object"==typeof exports&&"object"==typeof module)module.exports=n();else if("function"==typeof define&&define.amd)define([],n);else{var e=n();for(var r in e)("object"==typeof exports?exports:t)[r]=e[r]}}(window,(function(){return function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=218)}([function(t,n,e){(function(n){var e=function(t){return t&&t.Math==Math&&t};t.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof n&&n)||function(){return this}()||Function("return this")()}).call(this,e(97))},function(t,n){var e=Function.prototype,r=e.bind,o=e.call,i=r&&r.bind(o);t.exports=r?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},function(t,n){t.exports=function(t){return"function"==typeof t}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,e){var r=e(0),o=e(34),i=e(6),c=e(36),u=e(46),a=e(62),f=o("wks"),s=r.Symbol,l=s&&s.for,p=a?s:s&&s.withoutSetter||c;t.exports=function(t){if(!i(f,t)||!u&&"string"!=typeof f[t]){var n="Symbol."+t;u&&i(s,t)?f[t]=s[t]:f[t]=a&&l?l(n):p(n)}return f[t]}},function(t,n,e){var r=e(0),o=e(25).f,i=e(16),c=e(15),u=e(42),a=e(68),f=e(73);t.exports=function(t,n){var e,s,l,p,v,d=t.target,h=t.global,y=t.stat;if(e=h?r:y?r[d]||u(d,{}):(r[d]||{}).prototype)for(s in n){if(p=n[s],l=t.noTargetGet?(v=o(e,s))&&v.value:e[s],!f(h?s:d+(y?".":"#")+s,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;a(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),c(e,s,p,t)}}},function(t,n,e){var r=e(1),o=e(14),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,n){return i(o(t),n)}},function(t,n,e){var r=e(3);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,n,e){var r=e(0),o=e(7),i=e(63),c=e(10),u=e(27),a=r.TypeError,f=Object.defineProperty;n.f=o?f:function(t,n,e){if(c(t),n=u(n),c(e),i)try{return f(t,n,e)}catch(t){}if("get"in e||"set"in e)throw a("Accessors not supported");return"value"in e&&(t[n]=e.value),t}},function(t,n,e){var r=e(2);t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},function(t,n,e){var r=e(0),o=e(9),i=r.String,c=r.TypeError;t.exports=function(t){if(o(t))return t;throw c(i(t)+" is not an object")}},function(t,n){var e=Function.prototype.call;t.exports=e.bind?e.bind(e):function(){return e.apply(e,arguments)}},function(t,n,e){var r=e(55),o=e(33);t.exports=function(t){return r(o(t))}},function(t,n,e){var r=e(0),o=e(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,n){return arguments.length<2?i(r[t]):r[t]&&r[t][n]}},function(t,n,e){var r=e(0),o=e(33),i=r.Object;t.exports=function(t){return i(o(t))}},function(t,n,e){var r=e(0),o=e(2),i=e(6),c=e(16),u=e(42),a=e(39),f=e(22),s=e(53).CONFIGURABLE,l=f.get,p=f.enforce,v=String(String).split("String");(t.exports=function(t,n,e,a){var f,l=!!a&&!!a.unsafe,d=!!a&&!!a.enumerable,h=!!a&&!!a.noTargetGet,y=a&&void 0!==a.name?a.name:n;o(e)&&("Symbol("===String(y).slice(0,7)&&(y="["+String(y).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(e,"name")||s&&e.name!==y)&&c(e,"name",y),(f=p(e)).source||(f.source=v.join("string"==typeof y?y:""))),t!==r?(l?!h&&t[n]&&(d=!0):delete t[n],d?t[n]=e:c(t,n,e)):d?t[n]=e:u(n,e)})(Function.prototype,"toString",(function(){return o(this)&&l(this).source||a(this)}))},function(t,n,e){var r=e(7),o=e(8),i=e(21);t.exports=r?function(t,n,e){return o.f(t,n,i(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n,e){var r=e(89);t.exports=function(t){return r(t.length)}},,function(t,n,e){var r=e(1),o=r({}.toString),i=r("".slice);t.exports=function(t){return i(o(t),8,-1)}},,function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,e){var r,o,i,c=e(99),u=e(0),a=e(1),f=e(9),s=e(16),l=e(6),p=e(41),v=e(30),d=e(24),h=u.TypeError,y=u.WeakMap;if(c||p.state){var m=p.state||(p.state=new y),b=a(m.get),g=a(m.has),x=a(m.set);r=function(t,n){if(g(m,t))throw new h("Object already initialized");return n.facade=t,x(m,t,n),n},o=function(t){return b(m,t)||{}},i=function(t){return g(m,t)}}else{var Line truncated
@@ -1 +1 @@
!function(t,n){if("object"==typeof exports&&"object"==typeof module)module.exports=n();else if("function"==typeof define&&define.amd)define([],n);else{var e=n();for(var r in e)("object"==typeof exports?exports:t)[r]=e[r]}}(window,(function(){return function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=191)}([function(t,n,e){(function(n){var e=function(t){return t&&t.Math==Math&&t};t.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof n&&n)||function(){return this}()||Function("return this")()}).call(this,e(95))},function(t,n){var e=Function.prototype,r=e.bind,o=e.call,i=r&&r.bind(o);t.exports=r?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},function(t,n){t.exports=function(t){return"function"==typeof t}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,e){var r=e(0),o=e(33),i=e(5),c=e(34),u=e(45),a=e(62),f=o("wks"),s=r.Symbol,l=s&&s.for,p=a?s:s&&s.withoutSetter||c;t.exports=function(t){if(!i(f,t)||!u&&"string"!=typeof f[t]){var n="Symbol."+t;u&&i(s,t)?f[t]=s[t]:f[t]=a&&l?l(n):p(n)}return f[t]}},function(t,n,e){var r=e(1),o=e(15),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,n){return i(o(t),n)}},function(t,n,e){var r=e(0),o=e(25).f,i=e(16),c=e(14),u=e(42),a=e(68),f=e(71);t.exports=function(t,n){var e,s,l,p,v,d=t.target,h=t.global,g=t.stat;if(e=h?r:g?r[d]||u(d,{}):(r[d]||{}).prototype)for(s in n){if(p=n[s],l=t.noTargetGet?(v=o(e,s))&&v.value:e[s],!f(h?s:d+(g?".":"#")+s,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;a(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),c(e,s,p,t)}}},function(t,n,e){var r=e(3);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,n,e){var r=e(0),o=e(7),i=e(63),c=e(10),u=e(26),a=r.TypeError,f=Object.defineProperty;n.f=o?f:function(t,n,e){if(c(t),n=u(n),c(e),i)try{return f(t,n,e)}catch(t){}if("get"in e||"set"in e)throw a("Accessors not supported");return"value"in e&&(t[n]=e.value),t}},function(t,n,e){var r=e(2);t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},function(t,n,e){var r=e(0),o=e(9),i=r.String,c=r.TypeError;t.exports=function(t){if(o(t))return t;throw c(i(t)+" is not an object")}},function(t,n){var e=Function.prototype.call;t.exports=e.bind?e.bind(e):function(){return e.apply(e,arguments)}},function(t,n,e){var r=e(49),o=e(31);t.exports=function(t){return r(o(t))}},function(t,n,e){var r=e(0),o=e(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,n){return arguments.length<2?i(r[t]):r[t]&&r[t][n]}},function(t,n,e){var r=e(0),o=e(2),i=e(5),c=e(16),u=e(42),a=e(38),f=e(22),s=e(53).CONFIGURABLE,l=f.get,p=f.enforce,v=String(String).split("String");(t.exports=function(t,n,e,a){var f,l=!!a&&!!a.unsafe,d=!!a&&!!a.enumerable,h=!!a&&!!a.noTargetGet,g=a&&void 0!==a.name?a.name:n;o(e)&&("Symbol("===String(g).slice(0,7)&&(g="["+String(g).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(e,"name")||s&&e.name!==g)&&c(e,"name",g),(f=p(e)).source||(f.source=v.join("string"==typeof g?g:""))),t!==r?(l?!h&&t[n]&&(d=!0):delete t[n],d?t[n]=e:c(t,n,e)):d?t[n]=e:u(n,e)})(Function.prototype,"toString",(function(){return o(this)&&l(this).source||a(this)}))},function(t,n,e){var r=e(0),o=e(31),i=r.Object;t.exports=function(t){return i(o(t))}},function(t,n,e){var r=e(7),o=e(8),i=e(21);t.exports=r?function(t,n,e){return o.f(t,n,i(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n,e){var r=e(83);t.exports=function(t){return r(t.length)}},,function(t,n,e){var r,o=e(10),i=e(93),c=e(46),u=e(24),a=e(106),f=e(44),s=e(29),l=s("IE_PROTO"),p=function(){},v=function(t){return"<script>"+t+"<\/script>"},d=function(t){t.write(v("")),t.close();var n=t.parentWindow.Object;return t=null,n},h=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}var t,n;h="undefined"!=typeof document?document.domain&&r?d(r):((n=f("iframe")).style.display="none",a.appendChild(n),n.src=String("javascript:"),(t=n.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):d(r);for(var e=c.length;e--;)delete h.prototype[c[e]Line truncated
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n=e();for(var r in n)("object"==typeof exports?exports:t)[r]=n[r]}}(window,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=198)}([function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n(97))},function(t,e){var n=Function.prototype,r=n.bind,o=n.call,i=r&&r.bind(o);t.exports=r?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},function(t,e){t.exports=function(t){return"function"==typeof t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(0),o=n(34),i=n(6),c=n(36),u=n(46),a=n(62),f=o("wks"),s=r.Symbol,l=s&&s.for,p=a?s:s&&s.withoutSetter||c;t.exports=function(t){if(!i(f,t)||!u&&"string"!=typeof f[t]){var e="Symbol."+t;u&&i(s,t)?f[t]=s[t]:f[t]=a&&l?l(e):p(e)}return f[t]}},function(t,e,n){var r=n(0),o=n(25).f,i=n(16),c=n(15),u=n(42),a=n(68),f=n(73);t.exports=function(t,e){var n,s,l,p,v,h=t.target,d=t.global,g=t.stat;if(n=d?r:g?r[h]||u(h,{}):(r[h]||{}).prototype)for(s in e){if(p=e[s],l=t.noTargetGet?(v=o(n,s))&&v.value:n[s],!f(d?s:h+(g?".":"#")+s,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;a(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),c(n,s,p,t)}}},function(t,e,n){var r=n(1),o=n(14),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},function(t,e,n){var r=n(3);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e,n){var r=n(0),o=n(7),i=n(63),c=n(10),u=n(27),a=r.TypeError,f=Object.defineProperty;e.f=o?f:function(t,e,n){if(c(t),e=u(e),c(n),i)try{return f(t,e,n)}catch(t){}if("get"in n||"set"in n)throw a("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(2);t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},function(t,e,n){var r=n(0),o=n(9),i=r.String,c=r.TypeError;t.exports=function(t){if(o(t))return t;throw c(i(t)+" is not an object")}},function(t,e){var n=Function.prototype.call;t.exports=n.bind?n.bind(n):function(){return n.apply(n,arguments)}},function(t,e,n){var r=n(55),o=n(33);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(0),o=n(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t]):r[t]&&r[t][e]}},function(t,e,n){var r=n(0),o=n(33),i=r.Object;t.exports=function(t){return i(o(t))}},function(t,e,n){var r=n(0),o=n(2),i=n(6),c=n(16),u=n(42),a=n(39),f=n(22),s=n(53).CONFIGURABLE,l=f.get,p=f.enforce,v=String(String).split("String");(t.exports=function(t,e,n,a){var f,l=!!a&&!!a.unsafe,h=!!a&&!!a.enumerable,d=!!a&&!!a.noTargetGet,g=a&&void 0!==a.name?a.name:e;o(n)&&("Symbol("===String(g).slice(0,7)&&(g="["+String(g).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(n,"name")||s&&n.name!==g)&&c(n,"name",g),(f=p(n)).source||(f.source=v.join("string"==typeof g?g:""))),t!==r?(l?!d&&t[e]&&(h=!0):delete t[e],h?t[e]=n:c(t,e,n)):h?t[e]=n:u(e,n)})(Function.prototype,"toString",(function(){return o(this)&&l(this).source||a(this)}))},function(t,e,n){var r=n(7),o=n(8),i=n(21);t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(89);t.exports=function(t){return r(t.length)}},function(t,e,n){var r,o=n(10),i=n(94),c=n(47),u=n(24),a=n(106),f=n(44),s=n(30),l=s("IE_PROTO"),p=function(){},v=function(t){return"<script>"+t+"<\/script>"},h=function(t){t.write(v("")),t.close();var e=t.parentWindow.Object;return t=null,e},d=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}var t,e;d="undefined"!=typeof document?document.domain&&r?h(r):((e=f("iframe")).style.display="none",a.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):h(r);for(var n=c.length;n--;)delete d.prototype[c[n]]Line truncated
@@ -1 +1 @@
!function(t,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r();else if("function"==typeof define&&define.amd)define([],r);else{var n=r();for(var e in n)("object"==typeof exports?exports:t)[e]=n[e]}}(window,(function(){return function(t){var r={};function n(e){if(r[e])return r[e].exports;var o=r[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=r,n.d=function(t,r,e){n.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:e})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,r){if(1&r&&(t=n(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(n.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var o in t)n.d(e,o,function(r){return t[r]}.bind(null,o));return e},n.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(r,"a",r),r},n.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},n.p="",n(n.s=190)}([function(t,r,n){(function(r){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r&&r)||function(){return this}()||Function("return this")()}).call(this,n(95))},function(t,r){var n=Function.prototype,e=n.bind,o=n.call,i=e&&e.bind(o);t.exports=e?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},function(t,r){t.exports=function(t){return"function"==typeof t}},function(t,r){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,r,n){var e=n(0),o=n(33),i=n(5),u=n(34),c=n(45),f=n(62),a=o("wks"),s=e.Symbol,p=s&&s.for,l=f?s:s&&s.withoutSetter||u;t.exports=function(t){if(!i(a,t)||!c&&"string"!=typeof a[t]){var r="Symbol."+t;c&&i(s,t)?a[t]=s[t]:a[t]=f&&p?p(r):l(r)}return a[t]}},function(t,r,n){var e=n(1),o=n(15),i=e({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,r){return i(o(t),r)}},function(t,r,n){var e=n(0),o=n(25).f,i=n(16),u=n(14),c=n(42),f=n(68),a=n(71);t.exports=function(t,r){var n,s,p,l,v,y=t.target,d=t.global,h=t.stat;if(n=d?e:h?e[y]||c(y,{}):(e[y]||{}).prototype)for(s in r){if(l=r[s],p=t.noTargetGet?(v=o(n,s))&&v.value:n[s],!a(d?s:y+(h?".":"#")+s,t.forced)&&void 0!==p){if(typeof l==typeof p)continue;f(l,p)}(t.sham||p&&p.sham)&&i(l,"sham",!0),u(n,s,l,t)}}},function(t,r,n){var e=n(3);t.exports=!e((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,r,n){var e=n(0),o=n(7),i=n(63),u=n(10),c=n(26),f=e.TypeError,a=Object.defineProperty;r.f=o?a:function(t,r,n){if(u(t),r=c(r),u(n),i)try{return a(t,r,n)}catch(t){}if("get"in n||"set"in n)throw f("Accessors not supported");return"value"in n&&(t[r]=n.value),t}},function(t,r,n){var e=n(2);t.exports=function(t){return"object"==typeof t?null!==t:e(t)}},function(t,r,n){var e=n(0),o=n(9),i=e.String,u=e.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not an object")}},function(t,r){var n=Function.prototype.call;t.exports=n.bind?n.bind(n):function(){return n.apply(n,arguments)}},function(t,r,n){var e=n(49),o=n(31);t.exports=function(t){return e(o(t))}},function(t,r,n){var e=n(0),o=n(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,r){return arguments.length<2?i(e[t]):e[t]&&e[t][r]}},function(t,r,n){var e=n(0),o=n(2),i=n(5),u=n(16),c=n(42),f=n(38),a=n(22),s=n(53).CONFIGURABLE,p=a.get,l=a.enforce,v=String(String).split("String");(t.exports=function(t,r,n,f){var a,p=!!f&&!!f.unsafe,y=!!f&&!!f.enumerable,d=!!f&&!!f.noTargetGet,h=f&&void 0!==f.name?f.name:r;o(n)&&("Symbol("===String(h).slice(0,7)&&(h="["+String(h).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(n,"name")||s&&n.name!==h)&&u(n,"name",h),(a=l(n)).source||(a.source=v.join("string"==typeof h?h:""))),t!==e?(p?!d&&t[r]&&(y=!0):delete t[r],y?t[r]=n:u(t,r,n)):y?t[r]=n:c(r,n)})(Function.prototype,"toString",(function(){return o(this)&&p(this).source||f(this)}))},function(t,r,n){var e=n(0),o=n(31),i=e.Object;t.exports=function(t){return i(o(t))}},function(t,r,n){var e=n(7),o=n(8),i=n(21);t.exports=e?function(t,r,n){return o.f(t,r,i(1,n))}:function(t,r,n){return t[r]=n,t}},function(t,r,n){var e=n(83);t.exports=function(t){return e(t.length)}},,function(t,r,n){var e,o=n(10),i=n(93),u=n(46),c=n(24),f=n(106),a=n(44),s=n(29),p=s("IE_PROTO"),l=function(){},v=function(t){return"<script>"+t+"<\/script>"},y=function(t){t.write(v("")),t.close();var r=t.parentWindow.Object;return t=null,r},d=function(){try{e=new ActiveXObject("htmlfile")}catch(t){}var t,r;d="undefined"!=typeof document?document.domain&&e?y(e):((r=a("iframe")).style.display="none",f.appendChild(r),r.src=String("javascript:"),(t=r.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):y(e);for(var n=u.length;n--;)delete d.prototype[u[n]Line truncated
!function(t,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r();else if("function"==typeof define&&define.amd)define([],r);else{var n=r();for(var e in n)("object"==typeof exports?exports:t)[e]=n[e]}}(window,(function(){return function(t){var r={};function n(e){if(r[e])return r[e].exports;var o=r[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=r,n.d=function(t,r,e){n.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:e})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,r){if(1&r&&(t=n(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(n.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var o in t)n.d(e,o,function(r){return t[r]}.bind(null,o));return e},n.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(r,"a",r),r},n.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},n.p="",n(n.s=197)}([function(t,r,n){(function(r){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r&&r)||function(){return this}()||Function("return this")()}).call(this,n(97))},function(t,r){var n=Function.prototype,e=n.bind,o=n.call,i=e&&e.bind(o);t.exports=e?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},function(t,r){t.exports=function(t){return"function"==typeof t}},function(t,r){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,r,n){var e=n(0),o=n(34),i=n(6),u=n(36),c=n(46),a=n(62),f=o("wks"),s=e.Symbol,p=s&&s.for,l=a?s:s&&s.withoutSetter||u;t.exports=function(t){if(!i(f,t)||!c&&"string"!=typeof f[t]){var r="Symbol."+t;c&&i(s,t)?f[t]=s[t]:f[t]=a&&p?p(r):l(r)}return f[t]}},function(t,r,n){var e=n(0),o=n(25).f,i=n(16),u=n(15),c=n(42),a=n(68),f=n(73);t.exports=function(t,r){var n,s,p,l,v,y=t.target,d=t.global,h=t.stat;if(n=d?e:h?e[y]||c(y,{}):(e[y]||{}).prototype)for(s in r){if(l=r[s],p=t.noTargetGet?(v=o(n,s))&&v.value:n[s],!f(d?s:y+(h?".":"#")+s,t.forced)&&void 0!==p){if(typeof l==typeof p)continue;a(l,p)}(t.sham||p&&p.sham)&&i(l,"sham",!0),u(n,s,l,t)}}},function(t,r,n){var e=n(1),o=n(14),i=e({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,r){return i(o(t),r)}},function(t,r,n){var e=n(3);t.exports=!e((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,r,n){var e=n(0),o=n(7),i=n(63),u=n(10),c=n(27),a=e.TypeError,f=Object.defineProperty;r.f=o?f:function(t,r,n){if(u(t),r=c(r),u(n),i)try{return f(t,r,n)}catch(t){}if("get"in n||"set"in n)throw a("Accessors not supported");return"value"in n&&(t[r]=n.value),t}},function(t,r,n){var e=n(2);t.exports=function(t){return"object"==typeof t?null!==t:e(t)}},function(t,r,n){var e=n(0),o=n(9),i=e.String,u=e.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not an object")}},function(t,r){var n=Function.prototype.call;t.exports=n.bind?n.bind(n):function(){return n.apply(n,arguments)}},function(t,r,n){var e=n(55),o=n(33);t.exports=function(t){return e(o(t))}},function(t,r,n){var e=n(0),o=n(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,r){return arguments.length<2?i(e[t]):e[t]&&e[t][r]}},function(t,r,n){var e=n(0),o=n(33),i=e.Object;t.exports=function(t){return i(o(t))}},function(t,r,n){var e=n(0),o=n(2),i=n(6),u=n(16),c=n(42),a=n(39),f=n(22),s=n(53).CONFIGURABLE,p=f.get,l=f.enforce,v=String(String).split("String");(t.exports=function(t,r,n,a){var f,p=!!a&&!!a.unsafe,y=!!a&&!!a.enumerable,d=!!a&&!!a.noTargetGet,h=a&&void 0!==a.name?a.name:r;o(n)&&("Symbol("===String(h).slice(0,7)&&(h="["+String(h).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(n,"name")||s&&n.name!==h)&&u(n,"name",h),(f=l(n)).source||(f.source=v.join("string"==typeof h?h:""))),t!==e?(p?!d&&t[r]&&(y=!0):delete t[r],y?t[r]=n:u(t,r,n)):y?t[r]=n:c(r,n)})(Function.prototype,"toString",(function(){return o(this)&&p(this).source||a(this)}))},function(t,r,n){var e=n(7),o=n(8),i=n(21);t.exports=e?function(t,r,n){return o.f(t,r,i(1,n))}:function(t,r,n){return t[r]=n,t}},function(t,r,n){var e=n(89);t.exports=function(t){return e(t.length)}},function(t,r,n){var e,o=n(10),i=n(94),u=n(47),c=n(24),a=n(106),f=n(44),s=n(30),p=s("IE_PROTO"),l=function(){},v=function(t){return"<script>"+t+"<\/script>"},y=function(t){t.write(v("")),t.close();var r=t.parentWindow.Object;return t=null,r},d=function(){try{e=new ActiveXObject("htmlfile")}catch(t){}var t,r;d="undefined"!=typeof document?document.domain&&e?y(e):((r=f("iframe")).style.display="none",a.appendChild(r),r.src=String("javascript:"),(t=r.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):y(e);for(var n=u.length;n--;)delete d.prototype[u[n]]Line truncated
@@ -1 +1 @@
!function(t,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r();else if("function"==typeof define&&define.amd)define([],r);else{var n=r();for(var e in n)("object"==typeof exports?exports:t)[e]=n[e]}}(window,(function(){return function(t){var r={};function n(e){if(r[e])return r[e].exports;var o=r[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=r,n.d=function(t,r,e){n.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:e})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,r){if(1&r&&(t=n(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(n.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var o in t)n.d(e,o,function(r){return t[r]}.bind(null,o));return e},n.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(r,"a",r),r},n.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},n.p="",n(n.s=175)}([function(t,r,n){(function(r){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r&&r)||function(){return this}()||Function("return this")()}).call(this,n(95))},function(t,r){var n=Function.prototype,e=n.bind,o=n.call,i=e&&e.bind(o);t.exports=e?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},function(t,r){t.exports=function(t){return"function"==typeof t}},function(t,r){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,r,n){var e=n(0),o=n(33),i=n(5),u=n(34),c=n(45),f=n(62),a=o("wks"),s=e.Symbol,p=s&&s.for,l=f?s:s&&s.withoutSetter||u;t.exports=function(t){if(!i(a,t)||!c&&"string"!=typeof a[t]){var r="Symbol."+t;c&&i(s,t)?a[t]=s[t]:a[t]=f&&p?p(r):l(r)}return a[t]}},function(t,r,n){var e=n(1),o=n(15),i=e({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,r){return i(o(t),r)}},function(t,r,n){var e=n(0),o=n(25).f,i=n(16),u=n(14),c=n(42),f=n(68),a=n(71);t.exports=function(t,r){var n,s,p,l,v,y=t.target,d=t.global,g=t.stat;if(n=d?e:g?e[y]||c(y,{}):(e[y]||{}).prototype)for(s in r){if(l=r[s],p=t.noTargetGet?(v=o(n,s))&&v.value:n[s],!a(d?s:y+(g?".":"#")+s,t.forced)&&void 0!==p){if(typeof l==typeof p)continue;f(l,p)}(t.sham||p&&p.sham)&&i(l,"sham",!0),u(n,s,l,t)}}},function(t,r,n){var e=n(3);t.exports=!e((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,r,n){var e=n(0),o=n(7),i=n(63),u=n(10),c=n(26),f=e.TypeError,a=Object.defineProperty;r.f=o?a:function(t,r,n){if(u(t),r=c(r),u(n),i)try{return a(t,r,n)}catch(t){}if("get"in n||"set"in n)throw f("Accessors not supported");return"value"in n&&(t[r]=n.value),t}},function(t,r,n){var e=n(2);t.exports=function(t){return"object"==typeof t?null!==t:e(t)}},function(t,r,n){var e=n(0),o=n(9),i=e.String,u=e.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not an object")}},function(t,r){var n=Function.prototype.call;t.exports=n.bind?n.bind(n):function(){return n.apply(n,arguments)}},function(t,r,n){var e=n(49),o=n(31);t.exports=function(t){return e(o(t))}},function(t,r,n){var e=n(0),o=n(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,r){return arguments.length<2?i(e[t]):e[t]&&e[t][r]}},function(t,r,n){var e=n(0),o=n(2),i=n(5),u=n(16),c=n(42),f=n(38),a=n(22),s=n(53).CONFIGURABLE,p=a.get,l=a.enforce,v=String(String).split("String");(t.exports=function(t,r,n,f){var a,p=!!f&&!!f.unsafe,y=!!f&&!!f.enumerable,d=!!f&&!!f.noTargetGet,g=f&&void 0!==f.name?f.name:r;o(n)&&("Symbol("===String(g).slice(0,7)&&(g="["+String(g).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(n,"name")||s&&n.name!==g)&&u(n,"name",g),(a=l(n)).source||(a.source=v.join("string"==typeof g?g:""))),t!==e?(p?!d&&t[r]&&(y=!0):delete t[r],y?t[r]=n:u(t,r,n)):y?t[r]=n:c(r,n)})(Function.prototype,"toString",(function(){return o(this)&&p(this).source||f(this)}))},function(t,r,n){var e=n(0),o=n(31),i=e.Object;t.exports=function(t){return i(o(t))}},function(t,r,n){var e=n(7),o=n(8),i=n(21);t.exports=e?function(t,r,n){return o.f(t,r,i(1,n))}:function(t,r,n){return t[r]=n,t}},function(t,r,n){var e=n(83);t.exports=function(t){return e(t.length)}},,function(t,r,n){var e,o=n(10),i=n(93),u=n(46),c=n(24),f=n(106),a=n(44),s=n(29),p=s("IE_PROTO"),l=function(){},v=function(t){return"<script>"+t+"<\/script>"},y=function(t){t.write(v("")),t.close();var r=t.parentWindow.Object;return t=null,r},d=function(){try{e=new ActiveXObject("htmlfile")}catch(t){}var t,r;d="undefined"!=typeof document?document.domain&&e?y(e):((r=a("iframe")).style.display="none",f.appendChild(r),r.src=String("javascript:"),(t=r.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):y(e);for(var n=u.length;n--;)delete d.prototype[u[n]Line truncated
!function(t,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r();else if("function"==typeof define&&define.amd)define([],r);else{var n=r();for(var e in n)("object"==typeof exports?exports:t)[e]=n[e]}}(window,(function(){return function(t){var r={};function n(e){if(r[e])return r[e].exports;var o=r[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=r,n.d=function(t,r,e){n.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:e})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,r){if(1&r&&(t=n(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(n.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var o in t)n.d(e,o,function(r){return t[r]}.bind(null,o));return e},n.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(r,"a",r),r},n.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},n.p="",n(n.s=177)}([function(t,r,n){(function(r){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r&&r)||function(){return this}()||Function("return this")()}).call(this,n(97))},function(t,r){var n=Function.prototype,e=n.bind,o=n.call,i=e&&e.bind(o);t.exports=e?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},function(t,r){t.exports=function(t){return"function"==typeof t}},function(t,r){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,r,n){var e=n(0),o=n(34),i=n(6),u=n(36),c=n(46),f=n(62),a=o("wks"),s=e.Symbol,p=s&&s.for,l=f?s:s&&s.withoutSetter||u;t.exports=function(t){if(!i(a,t)||!c&&"string"!=typeof a[t]){var r="Symbol."+t;c&&i(s,t)?a[t]=s[t]:a[t]=f&&p?p(r):l(r)}return a[t]}},function(t,r,n){var e=n(0),o=n(25).f,i=n(16),u=n(15),c=n(42),f=n(68),a=n(73);t.exports=function(t,r){var n,s,p,l,v,y=t.target,d=t.global,g=t.stat;if(n=d?e:g?e[y]||c(y,{}):(e[y]||{}).prototype)for(s in r){if(l=r[s],p=t.noTargetGet?(v=o(n,s))&&v.value:n[s],!a(d?s:y+(g?".":"#")+s,t.forced)&&void 0!==p){if(typeof l==typeof p)continue;f(l,p)}(t.sham||p&&p.sham)&&i(l,"sham",!0),u(n,s,l,t)}}},function(t,r,n){var e=n(1),o=n(14),i=e({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,r){return i(o(t),r)}},function(t,r,n){var e=n(3);t.exports=!e((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,r,n){var e=n(0),o=n(7),i=n(63),u=n(10),c=n(27),f=e.TypeError,a=Object.defineProperty;r.f=o?a:function(t,r,n){if(u(t),r=c(r),u(n),i)try{return a(t,r,n)}catch(t){}if("get"in n||"set"in n)throw f("Accessors not supported");return"value"in n&&(t[r]=n.value),t}},function(t,r,n){var e=n(2);t.exports=function(t){return"object"==typeof t?null!==t:e(t)}},function(t,r,n){var e=n(0),o=n(9),i=e.String,u=e.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not an object")}},function(t,r){var n=Function.prototype.call;t.exports=n.bind?n.bind(n):function(){return n.apply(n,arguments)}},function(t,r,n){var e=n(55),o=n(33);t.exports=function(t){return e(o(t))}},function(t,r,n){var e=n(0),o=n(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,r){return arguments.length<2?i(e[t]):e[t]&&e[t][r]}},function(t,r,n){var e=n(0),o=n(33),i=e.Object;t.exports=function(t){return i(o(t))}},function(t,r,n){var e=n(0),o=n(2),i=n(6),u=n(16),c=n(42),f=n(39),a=n(22),s=n(53).CONFIGURABLE,p=a.get,l=a.enforce,v=String(String).split("String");(t.exports=function(t,r,n,f){var a,p=!!f&&!!f.unsafe,y=!!f&&!!f.enumerable,d=!!f&&!!f.noTargetGet,g=f&&void 0!==f.name?f.name:r;o(n)&&("Symbol("===String(g).slice(0,7)&&(g="["+String(g).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(n,"name")||s&&n.name!==g)&&u(n,"name",g),(a=l(n)).source||(a.source=v.join("string"==typeof g?g:""))),t!==e?(p?!d&&t[r]&&(y=!0):delete t[r],y?t[r]=n:u(t,r,n)):y?t[r]=n:c(r,n)})(Function.prototype,"toString",(function(){return o(this)&&p(this).source||f(this)}))},function(t,r,n){var e=n(7),o=n(8),i=n(21);t.exports=e?function(t,r,n){return o.f(t,r,i(1,n))}:function(t,r,n){return t[r]=n,t}},function(t,r,n){var e=n(89);t.exports=function(t){return e(t.length)}},function(t,r,n){var e,o=n(10),i=n(94),u=n(47),c=n(24),f=n(106),a=n(44),s=n(30),p=s("IE_PROTO"),l=function(){},v=function(t){return"<script>"+t+"<\/script>"},y=function(t){t.write(v("")),t.close();var r=t.parentWindow.Object;return t=null,r},d=function(){try{e=new ActiveXObject("htmlfile")}catch(t){}var t,r;d="undefined"!=typeof document?document.domain&&e?y(e):((r=a("iframe")).style.display="none",f.appendChild(r),r.src=String("javascript:"),(t=r.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):y(e);for(var n=u.length;n--;)delete d.prototype[u[n]]Line truncated
@@ -1 +1 @@
!function(t,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r();else if("function"==typeof define&&define.amd)define([],r);else{var e=r();for(var n in e)("object"==typeof exports?exports:t)[n]=e[n]}}(window,(function(){return function(t){var r={};function e(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:n})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,r){if(1&r&&(t=e(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var o in t)e.d(n,o,function(r){return t[r]}.bind(null,o));return n},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},e.p="",e(e.s=176)}([function(t,r,e){(function(r){var e=function(t){return t&&t.Math==Math&&t};t.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof r&&r)||function(){return this}()||Function("return this")()}).call(this,e(95))},function(t,r){var e=Function.prototype,n=e.bind,o=e.call,i=n&&n.bind(o);t.exports=n?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},function(t,r){t.exports=function(t){return"function"==typeof t}},function(t,r){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,r,e){var n=e(0),o=e(33),i=e(5),u=e(34),c=e(45),a=e(62),f=o("wks"),s=n.Symbol,l=s&&s.for,p=a?s:s&&s.withoutSetter||u;t.exports=function(t){if(!i(f,t)||!c&&"string"!=typeof f[t]){var r="Symbol."+t;c&&i(s,t)?f[t]=s[t]:f[t]=a&&l?l(r):p(r)}return f[t]}},function(t,r,e){var n=e(1),o=e(15),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,r){return i(o(t),r)}},function(t,r,e){var n=e(0),o=e(25).f,i=e(16),u=e(14),c=e(42),a=e(68),f=e(71);t.exports=function(t,r){var e,s,l,p,v,d=t.target,y=t.global,h=t.stat;if(e=y?n:h?n[d]||c(d,{}):(n[d]||{}).prototype)for(s in r){if(p=r[s],l=t.noTargetGet?(v=o(e,s))&&v.value:e[s],!f(y?s:d+(h?".":"#")+s,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;a(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),u(e,s,p,t)}}},function(t,r,e){var n=e(3);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,r,e){var n=e(0),o=e(7),i=e(63),u=e(10),c=e(26),a=n.TypeError,f=Object.defineProperty;r.f=o?f:function(t,r,e){if(u(t),r=c(r),u(e),i)try{return f(t,r,e)}catch(t){}if("get"in e||"set"in e)throw a("Accessors not supported");return"value"in e&&(t[r]=e.value),t}},function(t,r,e){var n=e(2);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},function(t,r,e){var n=e(0),o=e(9),i=n.String,u=n.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not an object")}},function(t,r){var e=Function.prototype.call;t.exports=e.bind?e.bind(e):function(){return e.apply(e,arguments)}},function(t,r,e){var n=e(49),o=e(31);t.exports=function(t){return n(o(t))}},function(t,r,e){var n=e(0),o=e(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,r){return arguments.length<2?i(n[t]):n[t]&&n[t][r]}},function(t,r,e){var n=e(0),o=e(2),i=e(5),u=e(16),c=e(42),a=e(38),f=e(22),s=e(53).CONFIGURABLE,l=f.get,p=f.enforce,v=String(String).split("String");(t.exports=function(t,r,e,a){var f,l=!!a&&!!a.unsafe,d=!!a&&!!a.enumerable,y=!!a&&!!a.noTargetGet,h=a&&void 0!==a.name?a.name:r;o(e)&&("Symbol("===String(h).slice(0,7)&&(h="["+String(h).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(e,"name")||s&&e.name!==h)&&u(e,"name",h),(f=p(e)).source||(f.source=v.join("string"==typeof h?h:""))),t!==n?(l?!y&&t[r]&&(d=!0):delete t[r],d?t[r]=e:u(t,r,e)):d?t[r]=e:c(r,e)})(Function.prototype,"toString",(function(){return o(this)&&l(this).source||a(this)}))},function(t,r,e){var n=e(0),o=e(31),i=n.Object;t.exports=function(t){return i(o(t))}},function(t,r,e){var n=e(7),o=e(8),i=e(21);t.exports=n?function(t,r,e){return o.f(t,r,i(1,e))}:function(t,r,e){return t[r]=e,t}},function(t,r,e){var n=e(83);t.exports=function(t){return n(t.length)}},,function(t,r,e){var n,o=e(10),i=e(93),u=e(46),c=e(24),a=e(106),f=e(44),s=e(29),l=s("IE_PROTO"),p=function(){},v=function(t){return"<script>"+t+"<\/script>"},d=function(t){t.write(v("")),t.close();var r=t.parentWindow.Object;return t=null,r},y=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,r;y="undefined"!=typeof document?document.domain&&n?d(n):((r=f("iframe")).style.display="none",a.appendChild(r),r.src=String("javascript:"),(t=r.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):d(n);for(var e=u.length;e--;)delete y.prototype[u[e]Line truncated
!function(t,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r();else if("function"==typeof define&&define.amd)define([],r);else{var e=r();for(var n in e)("object"==typeof exports?exports:t)[n]=e[n]}}(window,(function(){return function(t){var r={};function e(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:n})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,r){if(1&r&&(t=e(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var o in t)e.d(n,o,function(r){return t[r]}.bind(null,o));return n},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},e.p="",e(e.s=178)}([function(t,r,e){(function(r){var e=function(t){return t&&t.Math==Math&&t};t.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof r&&r)||function(){return this}()||Function("return this")()}).call(this,e(97))},function(t,r){var e=Function.prototype,n=e.bind,o=e.call,i=n&&n.bind(o);t.exports=n?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},function(t,r){t.exports=function(t){return"function"==typeof t}},function(t,r){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,r,e){var n=e(0),o=e(34),i=e(6),u=e(36),c=e(46),a=e(62),f=o("wks"),s=n.Symbol,l=s&&s.for,p=a?s:s&&s.withoutSetter||u;t.exports=function(t){if(!i(f,t)||!c&&"string"!=typeof f[t]){var r="Symbol."+t;c&&i(s,t)?f[t]=s[t]:f[t]=a&&l?l(r):p(r)}return f[t]}},function(t,r,e){var n=e(0),o=e(25).f,i=e(16),u=e(15),c=e(42),a=e(68),f=e(73);t.exports=function(t,r){var e,s,l,p,v,d=t.target,y=t.global,h=t.stat;if(e=y?n:h?n[d]||c(d,{}):(n[d]||{}).prototype)for(s in r){if(p=r[s],l=t.noTargetGet?(v=o(e,s))&&v.value:e[s],!f(y?s:d+(h?".":"#")+s,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;a(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),u(e,s,p,t)}}},function(t,r,e){var n=e(1),o=e(14),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,r){return i(o(t),r)}},function(t,r,e){var n=e(3);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,r,e){var n=e(0),o=e(7),i=e(63),u=e(10),c=e(27),a=n.TypeError,f=Object.defineProperty;r.f=o?f:function(t,r,e){if(u(t),r=c(r),u(e),i)try{return f(t,r,e)}catch(t){}if("get"in e||"set"in e)throw a("Accessors not supported");return"value"in e&&(t[r]=e.value),t}},function(t,r,e){var n=e(2);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},function(t,r,e){var n=e(0),o=e(9),i=n.String,u=n.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not an object")}},function(t,r){var e=Function.prototype.call;t.exports=e.bind?e.bind(e):function(){return e.apply(e,arguments)}},function(t,r,e){var n=e(55),o=e(33);t.exports=function(t){return n(o(t))}},function(t,r,e){var n=e(0),o=e(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,r){return arguments.length<2?i(n[t]):n[t]&&n[t][r]}},function(t,r,e){var n=e(0),o=e(33),i=n.Object;t.exports=function(t){return i(o(t))}},function(t,r,e){var n=e(0),o=e(2),i=e(6),u=e(16),c=e(42),a=e(39),f=e(22),s=e(53).CONFIGURABLE,l=f.get,p=f.enforce,v=String(String).split("String");(t.exports=function(t,r,e,a){var f,l=!!a&&!!a.unsafe,d=!!a&&!!a.enumerable,y=!!a&&!!a.noTargetGet,h=a&&void 0!==a.name?a.name:r;o(e)&&("Symbol("===String(h).slice(0,7)&&(h="["+String(h).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(e,"name")||s&&e.name!==h)&&u(e,"name",h),(f=p(e)).source||(f.source=v.join("string"==typeof h?h:""))),t!==n?(l?!y&&t[r]&&(d=!0):delete t[r],d?t[r]=e:u(t,r,e)):d?t[r]=e:c(r,e)})(Function.prototype,"toString",(function(){return o(this)&&l(this).source||a(this)}))},function(t,r,e){var n=e(7),o=e(8),i=e(21);t.exports=n?function(t,r,e){return o.f(t,r,i(1,e))}:function(t,r,e){return t[r]=e,t}},function(t,r,e){var n=e(89);t.exports=function(t){return n(t.length)}},function(t,r,e){var n,o=e(10),i=e(94),u=e(47),c=e(24),a=e(106),f=e(44),s=e(30),l=s("IE_PROTO"),p=function(){},v=function(t){return"<script>"+t+"<\/script>"},d=function(t){t.write(v("")),t.close();var r=t.parentWindow.Object;return t=null,r},y=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,r;y="undefined"!=typeof document?document.domain&&n?d(n):((r=f("iframe")).style.display="none",a.appendChild(r),r.src=String("javascript:"),(t=r.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):d(n);for(var e=u.length;e--;)delete y.prototype[u[e]]Line truncated
+4 -4
View File
@@ -1,6 +1,6 @@
{
"name": "@logicflow/extension",
"version": "1.1.12",
"version": "1.1.31",
"description": "LogicFlow extension",
"main": "cjs/index.js",
"module": "es/index.js",
@@ -15,12 +15,12 @@
"scripts": {
"dev": "cross-env NODE_ENV=development webpack-dev-server --client-log-level warning --config scripts/webpack.config.dev.js",
"test": "echo \"Error: no test specified\" && exit 1",
"style": "echo ./cjs ./es ./lib | xargs -n 1 cp -v -r ./src/style",
"copy": "node ./scripts/copy.js",
"types": "tsc -d --declarationDir ./types --outDir temp && rimraf -R temp",
"build:esm": "tsc --module esnext --target es5 --outDir ./es -d",
"build:cjs": "tsc --module commonjs --target es5 --outDir ./cjs",
"build:umd": "cross-env NODE_ENV=production webpack --config scripts/webpack.config.build.js",
"build": "rimraf ./es ./cjs ./lib && npm run build:esm & npm run build:cjs & npm run build:umd && npm run style",
"build": "rimraf ./es ./cjs ./lib && npm run build:esm & npm run build:cjs & npm run build:umd && npm run copy",
"publish-lib": "npm run build && npm publish"
},
"author": "",
@@ -32,7 +32,7 @@
"readme.md"
],
"dependencies": {
"@logicflow/core": "^1.1.12",
"@logicflow/core": "^1.1.31",
"ids": "^1.0.0",
"preact": "^10.4.8"
},
@@ -1,2 +0,0 @@
import { h } from '@logicflow/core';
export default function Ellipse(props: any): h.JSX.Element;
@@ -22,16 +22,19 @@ declare class Control extends Component<IProps> {
deltaX: any;
deltaY: any;
}) => void;
getResize: ({ index, deltaX, deltaY, width, height, pct }: {
getResize: ({ index, deltaX, deltaY, width, height, PCTResizeInfo, pct }: {
index: any;
deltaX: any;
deltaY: any;
width: any;
height: any;
PCTResizeInfo: any;
pct?: number;
}) => {
width: any;
height: any;
deltaX: any;
deltaY: any;
};
updateRect: ({ deltaX, deltaY }: {
deltaX: any;
@@ -53,6 +56,10 @@ declare class Control extends Component<IProps> {
deltaX: any;
deltaY: any;
}) => void;
/**
* 由于将拖拽放大缩小改成丝滑模式,这个时候需要在拖拽结束的时候,将节点的位置更新到grid上.
*/
onDragEnd: () => void;
render(): h.JSX.Element;
}
export default Control;
@@ -1,5 +1,6 @@
import { h, DiamondNode, DiamondNodeModel } from '@logicflow/core';
declare class DiamondResizeModel extends DiamondNodeModel {
private PCTResizeInfo;
constructor(data: any, graphModel: any);
initNodeData(data: any): void;
getOutlineStyle(): import("@logicflow/core/types/constant/DefaultTheme").OutlineTheme;
@@ -14,6 +15,7 @@ declare class DiamondResizeModel extends DiamondNodeModel {
fill: string;
stroke: string;
};
enableProportionResize(turnOn?: boolean): void;
}
declare class DiamondResizeView extends DiamondNode {
getControlGroup(): h.JSX.Element;
@@ -1,5 +1,6 @@
import { h, EllipseNode, EllipseNodeModel } from '@logicflow/core';
declare class EllipseResizeModel extends EllipseNodeModel {
private PCTResizeInfo;
constructor(data: any, graphModel: any);
initNodeData(data: any): void;
getOutlineStyle(): import("@logicflow/core/types/constant/DefaultTheme").OutlineTheme;
@@ -14,6 +15,7 @@ declare class EllipseResizeModel extends EllipseNodeModel {
fill: string;
stroke: string;
};
enableProportionResize(turnOn?: boolean): void;
}
declare class EllipseResizeView extends EllipseNode {
getControlGroup(): h.JSX.Element;
@@ -1,5 +1,6 @@
import { h, HtmlNode, HtmlNodeModel } from '@logicflow/core';
declare class HtmlResizeModel extends HtmlNodeModel {
private PCTResizeInfo;
constructor(data: any, graphModel: any);
initNodeData(data: any): void;
getOutlineStyle(): import("@logicflow/core/types/constant/DefaultTheme").OutlineTheme;
@@ -14,6 +15,7 @@ declare class HtmlResizeModel extends HtmlNodeModel {
fill: string;
stroke: string;
};
enableProportionResize(turnOn?: boolean): void;
}
declare class HtmlResizeView extends HtmlNode {
getControlGroup(): h.JSX.Element;
@@ -1,5 +1,6 @@
import { h, RectNode, RectNodeModel } from '@logicflow/core';
declare class RectResizeModel extends RectNodeModel {
private PCTResizeInfo;
constructor(data: any, graphModel: any);
initNodeData(data: any): void;
getOutlineStyle(): import("@logicflow/core/types/constant/DefaultTheme").OutlineTheme;
@@ -16,6 +17,7 @@ declare class RectResizeModel extends RectNodeModel {
stroke: string;
};
resize(deltaX: any, deltaY: any): void;
enableProportionResize(turnOn?: boolean): void;
}
declare class RectResizeView extends RectNode {
getControlGroup(): h.JSX.Element;
@@ -0,0 +1,21 @@
import LogicFlow from '@logicflow/core';
declare type IMode = 'single' | 'path';
declare class Highlight {
lf: LogicFlow;
static pluginName: string;
mode: IMode;
manual: boolean;
tempStyles: {};
constructor({ lf }: {
lf: any;
});
setMode(mode: IMode): void;
setManual(manual: boolean): void;
private highlightSingle;
private highlightPath;
highlight(id: string, mode?: IMode): void;
restoreHighlight(): void;
render(lf: any, domContainer: any): void;
destroy(): void;
}
export { Highlight };
@@ -68,6 +68,7 @@ declare class MiniMap {
}): void;
__createViewPort(): void;
__startDrag: (e: any) => void;
moveViewport: (top: any, left: any) => void;
__drag: (e: any) => void;
__drop: () => void;
}
@@ -12,7 +12,7 @@ declare class SelectionSelect {
y: number;
};
__disabled: boolean;
isDefalutStopMoveGraph: boolean;
isDefaultStopMoveGraph: boolean;
isWholeNode: boolean;
isWholeEdge: boolean;
static pluginName: string;
View File
Whitespace-only changes.
@@ -1,28 +0,0 @@
declare class GroupShrink {
static pluginName: string;
group: any;
lf: any;
shrinkWidth: number;
shrinkHeight: number;
constructor({ lf }: {
lf: any;
});
/**
* 收缩
*/
startShrink(group: any): void;
/**
* 展开
*/
startExpand(group: any): void;
/**
* 获取分组内的节点上的所有边,以及计算新的分组节点需要连接的边,之后删除原来的边
*/
private getGroupEdges;
/**
* 获取分组内的节点和左上角节点,获取到有效信息后,删除节点
*/
private getGroupNodes;
private getGraphDataWithGroup;
}
export { GroupShrink, };
+1
View File
@@ -16,3 +16,4 @@ export * from './tools/flow-path';
export * from './tools/auto-layout';
export * from './bpmn-adapter/xml2json';
export * from './bpmn-adapter/json2xml';
export * from './components/highlight';
@@ -0,0 +1,19 @@
declare const en: {
文本: string;
开始: string;
缩小流程图: string;
缩小: string;
放大流程图: string;
放大: string;
恢复流程原有尺寸: string;
适应: string;
回到上一步: string;
上一步: string;
移到下一步: string;
下一步: string;
删除: string;
编辑文本: string;
复制: string;
};
export default en;
export { en };
@@ -0,0 +1,9 @@
import { Locale } from '../locale';
declare class EnLocale extends Locale {
static pluginName: string;
constructor({ LogicFlow }: {
LogicFlow: any;
});
}
export default EnLocale;
export { EnLocale };
@@ -0,0 +1,6 @@
export declare class Locale {
constructor(LogicFlow?: any, map?: Object);
replaceTranslator(LogicFlow: any, map: Object): void;
setDefault(LogicFlow: any): void;
static defaultTranslator: (text: string) => string;
}
@@ -1,7 +1,8 @@
import { Extension } from '@logicflow/core';
interface CurvedEdgePlugin extends Extension {
[x: string]: any;
import { PolylineEdge, PolylineEdgeModel } from '@logicflow/core';
declare class CurvedEdge extends PolylineEdge {
pointFilter(points: any): any;
getEdge(): import("preact").VNode<any>;
}
declare const CurvedEdge: CurvedEdgePlugin;
export default CurvedEdge;
export { CurvedEdge, };
declare class CurvedEdgeModel extends PolylineEdgeModel {
}
export { CurvedEdge, CurvedEdgeModel, };
@@ -98,10 +98,18 @@ declare class GroupNodeModel extends RectResize.model {
};
getData(): import("@logicflow/core").NodeData;
getHistoryData(): import("@logicflow/core").NodeData;
/**
* 是否允许此节点添加到此分组中
*/
isAllowAppendIn(nodeData: any): boolean;
/**
* 当groupA被添加到groupB中时,将groupB及groupB所属的group的zIndex减1
*/
toBack(): void;
}
declare class GroupNode extends RectResize.view {
getControlGroup(): h.JSX.Element;
getAddedableShape(): import("preact").VNode<any>;
getAddableShape(): import("preact").VNode<any>;
getFoldIcon(): import("preact").VNode<any>;
getResizeShape(): import("preact").VNode<any>;
}
@@ -11,13 +11,18 @@ declare type Bounds = {
declare class Group {
static pluginName: string;
lf: LogicFlow;
topGroupZIndex: number;
activeGroup: any;
nodeGroupMap: Map<BaseNodeId, GroupId>;
constructor({ lf }: {
lf: any;
});
/**
* 获取一个节点内部所有的子节点,包裹分组的子节点
*/
getNodeAllChild(model: any): any[];
graphRendered: (data: any) => void;
appendNodeToGrop: ({ data }: {
appendNodeToGroup: ({ data }: {
data: any;
}) => void;
deleteGroupChild: ({ data }: {
@@ -27,9 +32,20 @@ declare class Group {
data: any;
}) => void;
/**
* 获取自定位置其所属分组
* 1. 分组节点默认在普通节点下面。
* 2. 分组节点被选中后,会将分组节点以及其内部的其他分组节点放到其余分组节点的上面。
* 3. 分组节点取消选中后,不会将分组节点重置为原来的高度。
* 4. 由于LogicFlow核心目标是支持用户手动绘制流程图,所以不考虑一张流程图超过1000个分组节点的情况。
*/
getGroup(bounds: Bounds): BaseNodeModel | undefined;
nodeSelected: ({ data }: {
data: any;
}) => void;
toFrontGroup: (model: any) => void;
/**
* 获取自定位置其所属分组
* 当分组重合时,优先返回最上层的分组
*/
getGroup(bounds: Bounds, nodeData: BaseNodeModel): BaseNodeModel | undefined;
/**
* 获取某个节点所属的groupModel
*/
@@ -1,17 +1,25 @@
/**
* 快照插件,生成视图
*/
declare const Snapshot: {
pluginName: string;
install(lf: any): void;
declare class Snapshot {
static pluginName: string;
lf: any;
offsetX: number;
offsetY: number;
fileName: string;
customCssRules: string;
useGlobalRules: boolean;
constructor({ lf }: {
lf: any;
});
getSvgRootElement(lf: any): any;
triggerDownload(imgURI: string): void;
removeAnchor(element: any): void;
downloadSvg(svg: SVGGraphicsElement, fileName: string, backgroundColor: string): void;
getBase64(svg: SVGGraphicsElement, backgroundColor: string): Promise<unknown>;
getBlob(svg: SVGGraphicsElement, backgroundColor: string): Promise<unknown>;
getSnapshot(fileName: string, backgroundColor: string): void;
getSnapshotBase64(backgroundColor: string): Promise<unknown>;
getSnapshotBlob(backgroundColor: string): Promise<unknown>;
getClassRules(): string;
getCanvasData(svg: SVGGraphicsElement, backgroundColor: string): Promise<unknown>;
};
}
export default Snapshot;
export { Snapshot, };
@@ -5,11 +5,11 @@ export declare function toLogicflowData(data: any): {
nodes: any[];
edges: any[];
};
declare const TurboAdapter: {
pluginName: string;
install(lf: any): void;
shapeConfigMap: Map<any, any>;
setCustomShape(key: any, val: any): void;
declare class TurboAdapter {
static pluginName: string;
constructor({ lf }: {
lf: any;
});
adapterOut(logicflowData: any): {
flowElementList: any[];
};
@@ -17,6 +17,5 @@ declare const TurboAdapter: {
nodes: any[];
edges: any[];
};
};
export { TurboAdapter };
}
export default TurboAdapter;