@logicflow/extension 0.7.13-alpha.0 → 1.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/index.js +0 -1
- package/es/index.d.ts +0 -1
- package/es/index.js +0 -1
- package/lib/AutoLayout.js +1 -1
- package/lib/BpmnAdapter.js +1 -1
- package/lib/BpmnElement.js +1 -1
- package/lib/ContextMenu.js +1 -1
- package/lib/Control.js +1 -1
- package/lib/CurvedEdge.js +1 -1
- package/lib/DndPanel.js +1 -1
- package/lib/FlowPath.js +1 -1
- package/lib/Group.js +1 -1
- package/lib/InsertNodeInPolyline.js +1 -1
- package/lib/Menu.js +1 -1
- package/lib/MiniMap.js +1 -1
- package/lib/NodeResize.js +1 -1
- package/lib/RectLabelNode.js +1 -1
- package/lib/SelectionSelect.js +1 -1
- package/lib/Snapshot.js +1 -1
- package/lib/TurboAdapter.js +1 -1
- package/package.json +3 -3
- package/types/index.d.ts +0 -1
- package/types/materials/node-selection/index.d.ts +0 -4
- package/CHANGELOG.md +0 -842
- package/LICENSE +0 -433
- package/cjs/materials/node-selection/index.js +0 -272
- package/es/materials/node-selection/index.d.ts +0 -33
- package/es/materials/node-selection/index.js +0 -269
- package/lib/NodeSelection.js +0 -10
package/lib/BpmnElement.js
CHANGED
|
@@ -1 +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=218)}([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(82))},function(t,e,r){var n=r(0),o=r(35),i=r(5),c=r(29),u=r(36),f=r(48),a=o("wks"),s=n.Symbol,l=f?s:s&&s.withoutSetter||c;t.exports=function(t){return i(a,t)&&(u||"string"==typeof a[t])||(u&&i(s,t)?a[t]=s[t]:a[t]=l("Symbol."+t)),a[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(18).f,i=r(9),c=r(13),u=r(33),f=r(57),a=r(60);t.exports=function(t,e){var r,s,l,p,y,v=t.target,h=t.global,d=t.stat;if(r=h?n:d?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(h?s:v+(d?".":"#")+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){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,r){var n=r(11),o={}.hasOwnProperty;t.exports=Object.hasOwn||function(t,e){return o.call(n(t),e)}},function(t,e,r){var n=r(7),o=r(49),i=r(8),c=r(22),u=Object.defineProperty;e.f=n?u:function(t,e,r){if(i(t),e=c(e),i(r),o)try{return u(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},function(t,e,r){var n=r(2);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e,r){var n=r(4);t.exports=function(t){if(!n(t))throw TypeError(String(t)+" is not an object");return t}},function(t,e,r){var n=r(7),o=r(6),i=r(15);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(42),o=r(27);t.exports=function(t){return n(o(t))}},function(t,e,r){var n=r(27);t.exports=function(t){return Object(n(t))}},function(t,e,r){var n=r(0),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?o(n[t]):n[t]&&n[t][e]}},function(t,e,r){var n=r(0),o=r(9),i=r(5),c=r(33),u=r(45),f=r(17),a=f.get,s=f.enforce,l=String(String).split("String");(t.exports=function(t,e,r,u){var f,a=!!u&&!!u.unsafe,p=!!u&&!!u.enumerable,y=!!u&&!!u.noTargetGet;"function"==typeof r&&("string"!=typeof e||i(r,"name")||o(r,"name",e),(f=s(r)).source||(f.source=l.join("string"==typeof e?e:""))),t!==n?(a?!y&&t[e]&&(p=!0):delete t[e],p?t[e]=r:o(t,e,r)):p?t[e]=r:c(e,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&a(this).source||u(this)}))},function(t,e,r){var n=r(34),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){t.exports={}},function(t,e,r){var n,o,i,c=r(86),u=r(0),f=r(4),a=r(9),s=r(5),l=r(32),p=r(25),y=r(16),v=u.WeakMap;if(c||l.state){var h=l.state||(l.state=new v),d=h.get,b=h.has,g=h.set;n=function(t,e){if(b.call(h,t))throw new TypeError("Object already initialized");return e.facade=t,g.call(h,t,e),e},o=function(t){return d.call(h,t)||{}},i=function(t){return b.call(h,t)}}else{var w=p("state");y[w]=!0,n=function(t,e){if(s(t,w))throw new TypeError("Object already initialized");return e.facade=t,a(t,w,e),e},o=function(t){return s(t,w)?t[w]:{}},i=function(t){return s(t,w)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!f(e)||(r=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}}},function(t,e,r){var n=r(7),o=r(51),i=r(15),c=r(10),u=r(22),f=r(5),a=r(49),s=Object.getOwnPropertyDescriptor;e.f=n?s:function(t,e){if(t=c(t),e=u(e),a)try{return s(t,e)}catch(t){}if(f(t,e))return i(!o.f.call(t,e),t[e])}},function(t,e,r){var n=r(12),o=r(48);t.exports=o?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return"function"==typeof e&&Object(t)instanceof e}},function(t,e,r){var n,o=r(8),i=r(83),c=r(37),u=r(16),f=r(93),a=r(52),s=r(25),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},h=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e;h="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.F=Object")),t.close(),t.F):v(n);for(var r=c.length;r--;)delete h.prototype[c[r]];return h()};u[l]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(p.prototype=o(t),r=new p,p.prototype=null,r[l]=t):r=h(),void 0===e?r:i(r,e)}},function(e,r){e.exports=t},function(t,e,r){var n=r(76),o=r(19);t.exports=function(t){var e=n(t,"string");return o(e)?e:String(e)}},function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,e){t.exports=!1},function(t,e,r){var n=r(35),o=r(29),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,e){t.exports={}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,r){var n=r(23);t.exports=Array.isArray||function(t){return"Array"==n(t)}},function(t,e){var r=0,n=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++r+n).toString(36)}},function(t,e,r){var n=r(53),o=r(37).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},function(t,e,r){var n=r(19);t.exports=function(t){if(n(t))throw TypeError("Cannot convert a Symbol value to a string");return String(t)}},function(t,e,r){var n=r(0),o=r(33),i=n["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,e,r){var n=r(0);t.exports=function(t,e){try{Object.defineProperty(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:r)(t)}},function(t,e,r){var n=r(24),o=r(32);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.17.2",mode:n?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(t,e,r){var n=r(38),o=r(2);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e,r){var n,o,i=r(0),c=r(67),u=i.process,f=i.Deno,a=u&&u.versions||f&&f.version,s=a&&a.v8;s?o=(n=s.split("."))[0]<4?1:n[0]+n[1]:c&&(!(n=c.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=c.match(/Chrome\/(\d+)/))&&(o=n[1]),t.exports=o&&+o},function(t,e,r){var n=r(6).f,o=r(5),i=r(1)("toStringTag");t.exports=function(t,e,r){t&&!o(t=r?t:t.prototype,i)&&n(t,i,{configurable:!0,value:e})}},function(t,e,r){var n=r(41),o=r(42),i=r(11),c=r(14),u=r(58),f=[].push,a=function(t){var e=1==t,r=2==t,a=3==t,s=4==t,l=6==t,p=7==t,y=5==t||l;return function(v,h,d,b){for(var g,w,m=i(v),O=o(m),x=n(h,d,3),j=c(O.length),S=0,P=b||u,E=e?P(v,j):r||p?P(v,0):void 0;j>S;S++)if((y||S in O)&&(w=x(g=O[S],S,m),t))if(e)E[S]=w;else if(w)switch(t){case 3:return!0;case 5:return g;case 6:return S;case 2:f.call(E,g)}else switch(t){case 4:return!1;case 7:f.call(E,g)}return l?-1:a||s?s:E}};t.exports={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6),filterReject:a(7)}},function(t,e,r){var n=r(44);t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 0:return function(){return t.call(e)};case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,r){var n=r(2),o=r(23),i="".split;t.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},function(t,e,r){var n={};n[r(1)("toStringTag")]="z",t.exports="[object z]"===String(n)},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,e,r){var n=r(32),o=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(t){return o.call(t)}),t.exports=n.inspectSource},function(t,e,r){var n=r(53),o=r(37);t.exports=Object.keys||function(t){return n(t,o)}},function(t,e,r){var n=r(5),o=r(11),i=r(25),c=r(89),u=i("IE_PROTO"),f=Object.prototype;t.exports=c?Object.getPrototypeOf:function(t){return t=o(t),n(t,u)?t[u]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?f:null}},function(t,e,r){var n=r(36);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e,r){var n=r(7),o=r(2),i=r(52);t.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,e,r){"use strict";var n=r(10),o=r(88),i=r(26),c=r(17),u=r(55),f=c.set,a=c.getterFor("Array Iterator");t.exports=u(Array,"Array",(function(t,e){f(this,{type:"Array Iterator",target:n(t),index:0,kind:e})}),(function(){var t=a(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(t,e,r){"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!n.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:n},function(t,e,r){var n=r(0),o=r(4),i=n.document,c=o(i)&&o(i.createElement);t.exports=function(t){return c?i.createElement(t):{}}},function(t,e,r){var n=r(5),o=r(10),i=r(68).indexOf,c=r(16);t.exports=function(t,e){var r,u=o(t),f=0,a=[];for(r in u)!n(c,r)&&n(u,r)&&a.push(r);for(;e.length>f;)n(u,r=e[f++])&&(~i(a,r)||a.push(r));return a}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,r){"use strict";var n=r(3),o=r(95),i=r(47),c=r(64),u=r(39),f=r(9),a=r(13),s=r(1),l=r(24),p=r(26),y=r(65),v=y.IteratorPrototype,h=y.BUGGY_SAFARI_ITERATORS,d=s("iterator"),b=function(){return this};t.exports=function(t,e,r,s,y,g,w){o(r,e,s);var m,O,x,j=function(t){if(t===y&&T)return T;if(!h&&t in E)return E[t];switch(t){case"keys":case"values":case"entries":return function(){return new r(this,t)}}return function(){return new r(this)}},S=e+" Iterator",P=!1,E=t.prototype,_=E[d]||E["@@iterator"]||y&&E[y],T=!h&&_||j(y),k="Array"==e&&E.entries||_;if(k&&(m=i(k.call(new t)),v!==Object.prototype&&m.next&&(l||i(m)===v||(c?c(m,v):"function"!=typeof m[d]&&f(m,d,b)),u(m,S,!0,!0),l&&(p[S]=b))),"values"==y&&_&&"values"!==_.name&&(P=!0,T=function(){return _.call(this)}),l&&!w||E[d]===T||f(E,d,T),p[e]=T,y)if(O={values:j("values"),keys:g?T:j("keys"),entries:j("entries")},w)for(x in O)(h||P||!(x in E))&&a(E,x,O[x]);else n({target:e,proto:!0,forced:h||P},O);return O}},function(t,e,r){"use strict";var n=r(22),o=r(6),i=r(15);t.exports=function(t,e,r){var c=n(e);c in t?o.f(t,c,i(0,r)):t[c]=r}},function(t,e,r){var n=r(5),o=r(73),i=r(18),c=r(6);t.exports=function(t,e){for(var r=o(e),u=c.f,f=i.f,a=0;a<r.length;a++){var s=r[a];n(t,s)||u(t,s,f(e,s))}}},function(t,e,r){var n=r(87);t.exports=function(t,e){return new(n(t))(0===e?0:e)}},function(t,e,r){var n=r(34),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},function(t,e,r){var n=r(2),o=/#|\.prototype\./,i=function(t,e){var r=u[c(t)];return r==a||r!=f&&("function"==typeof e?n(e):!!e)},c=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},u=i.data={},f=i.NATIVE="N",a=i.POLYFILL="P";t.exports=i},function(t,e,r){"use strict";var n=r(40).forEach,o=r(66)("forEach");t.exports=o?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(t,e,r){var n=r(2),o=r(1),i=r(38),c=o("species");t.exports=function(t){return i>=51||!n((function(){var e=[];return(e.constructor={})[c]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},function(t,e,r){var n=r(8),o=r(96);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),e=r instanceof Array}catch(t){}return function(r,i){return n(r),o(i),e?t.call(r,i):r.__proto__=i,r}}():void 0)},function(t,e,r){"use strict";var n,o,i,c=r(2),u=r(47),f=r(9),a=r(5),s=r(1),l=r(24),p=s("iterator"),y=!1;[].keys&&("next"in(i=[].keys())?(o=u(u(i)))!==Object.prototype&&(n=o):y=!0);var v=null==n||c((function(){var t={};return n[p].call(t)!==t}));v&&(n={}),l&&!v||a(n,p)||f(n,p,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:y}},function(t,e,r){"use strict";var n=r(2);t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){throw 1},1)}))}},function(t,e,r){var n=r(12);t.exports=n("navigator","userAgent")||""},function(t,e,r){var n=r(10),o=r(14),i=r(59),c=function(t){return function(e,r,c){var u,f=n(e),a=o(f.length),s=i(c,a);if(t&&r!=r){for(;a>s;)if((u=f[s++])!=u)return!0}else for(;a>s;s++)if((t||s in f)&&f[s]===r)return t||s||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},function(t,e,r){var n=r(43),o=r(13),i=r(97);n||o(Object.prototype,"toString",i,{unsafe:!0})},function(t,e,r){"use strict";var n=r(94).charAt,o=r(31),i=r(17),c=r(55),u=i.set,f=i.getterFor("String Iterator");c(String,"String",(function(t){u(this,{type:"String Iterator",string:o(t),index:0})}),(function(){var t,e=f(this),r=e.string,o=e.index;return o>=r.length?{value:void 0,done:!0}:(t=n(r,o),e.index+=t.length,{value:t,done:!1})}))},function(t,e,r){"use strict";var n=r(3),o=r(0),i=r(12),c=r(24),u=r(7),f=r(36),a=r(2),s=r(5),l=r(28),p=r(4),y=r(19),v=r(8),h=r(11),d=r(10),b=r(22),g=r(31),w=r(15),m=r(20),O=r(46),x=r(30),j=r(90),S=r(54),P=r(18),E=r(6),_=r(51),T=r(9),k=r(13),R=r(35),M=r(25),A=r(16),C=r(29),L=r(1),D=r(72),N=r(75),F=r(39),I=r(17),B=r(40).forEach,G=M("hidden"),V=L("toPrimitive"),W=I.set,K=I.getterFor("Symbol"),z=Object.prototype,q=o.Symbol,U=i("JSON","stringify"),H=P.f,Y=E.f,J=j.f,$=_.f,Q=R("symbols"),X=R("op-symbols"),Z=R("string-to-symbol-registry"),tt=R("symbol-to-string-registry"),et=R("wks"),rt=o.QObject,nt=!rt||!rt.prototype||!rt.prototype.findChild,ot=u&&a((function(){return 7!=m(Y({},"a",{get:function(){return Y(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=H(z,e);n&&delete z[e],Y(t,e,r),n&&t!==z&&Y(z,e,n)}:Y,it=function(t,e){var r=Q[t]=m(q.prototype);return W(r,{type:"Symbol",tag:t,description:e}),u||(r.description=e),r},ct=function(t,e,r){t===z&&ct(X,e,r),v(t);var n=b(e);return v(r),s(Q,n)?(r.enumerable?(s(t,G)&&t[G][n]&&(t[G][n]=!1),r=m(r,{enumerable:w(0,!1)})):(s(t,G)||Y(t,G,w(1,{})),t[G][n]=!0),ot(t,n,r)):Y(t,n,r)},ut=function(t,e){v(t);var r=d(e),n=O(r).concat(lt(r));return B(n,(function(e){u&&!ft.call(r,e)||ct(t,e,r[e])})),t},ft=function(t){var e=b(t),r=$.call(this,e);return!(this===z&&s(Q,e)&&!s(X,e))&&(!(r||!s(this,e)||!s(Q,e)||s(this,G)&&this[G][e])||r)},at=function(t,e){var r=d(t),n=b(e);if(r!==z||!s(Q,n)||s(X,n)){var o=H(r,n);return!o||!s(Q,n)||s(r,G)&&r[G][n]||(o.enumerable=!0),o}},st=function(t){var e=J(d(t)),r=[];return B(e,(function(t){s(Q,t)||s(A,t)||r.push(t)})),r},lt=function(t){var e=t===z,r=J(e?X:d(t)),n=[];return B(r,(function(t){!s(Q,t)||e&&!s(z,t)||n.push(Q[t])})),n};(f||(k((q=function(){if(this instanceof q)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?g(arguments[0]):void 0,e=C(t),r=function(t){this===z&&r.call(X,t),s(this,G)&&s(this[G],e)&&(this[G][e]=!1),ot(this,e,w(1,t))};return u&&nt&&ot(z,e,{configurable:!0,set:r}),it(e,t)}).prototype,"toString",(function(){return K(this).tag})),k(q,"withoutSetter",(function(t){return it(C(t),t)})),_.f=ft,E.f=ct,P.f=at,x.f=j.f=st,S.f=lt,D.f=function(t){return it(L(t),t)},u&&(Y(q.prototype,"description",{configurable:!0,get:function(){return K(this).description}}),c||k(z,"propertyIsEnumerable",ft,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!f,sham:!f},{Symbol:q}),B(O(et),(function(t){N(t)})),n({target:"Symbol",stat:!0,forced:!f},{for:function(t){var e=g(t);if(s(Z,e))return Z[e];var r=q(e);return Z[e]=r,tt[r]=e,r},keyFor:function(t){if(!y(t))throw TypeError(t+" is not a symbol");if(s(tt,t))return tt[t]},useSetter:function(){nt=!0},useSimple:function(){nt=!1}}),n({target:"Object",stat:!0,forced:!f,sham:!u},{create:function(t,e){return void 0===e?m(t):ut(m(t),e)},defineProperty:ct,defineProperties:ut,getOwnPropertyDescriptor:at}),n({target:"Object",stat:!0,forced:!f},{getOwnPropertyNames:st,getOwnPropertySymbols:lt}),n({target:"Object",stat:!0,forced:a((function(){S.f(1)}))},{getOwnPropertySymbols:function(t){return S.f(h(t))}}),U)&&n({target:"JSON",stat:!0,forced:!f||a((function(){var t=q();return"[null]"!=U([t])||"{}"!=U({a:t})||"{}"!=U(Object(t))}))},{stringify:function(t,e,r){for(var n,o=[t],i=1;arguments.length>i;)o.push(arguments[i++]);if(n=e,(p(e)||void 0!==t)&&!y(t))return l(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!y(e))return e}),o[1]=e,U.apply(null,o)}});q.prototype[V]||T(q.prototype,V,q.prototype.valueOf),F(q,"Symbol"),A[G]=!0},function(t,e,r){var n=r(1);e.f=n},function(t,e,r){var n=r(12),o=r(30),i=r(54),c=r(8);t.exports=n("Reflect","ownKeys")||function(t){var e=o.f(c(t)),r=i.f;return r?e.concat(r(t)):e}},function(t,e,r){var n=r(43),o=r(23),i=r(1)("toStringTag"),c="Arguments"==o(function(){return arguments}());t.exports=n?o:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),i))?r:c?o(e):"Object"==(n=o(e))&&"function"==typeof e.callee?"Arguments":n}},function(t,e,r){var n=r(102),o=r(5),i=r(72),c=r(6).f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});o(e,t)||c(e,t,{value:i.f(t)})}},function(t,e,r){var n=r(4),o=r(19),i=r(85),c=r(1)("toPrimitive");t.exports=function(t,e){if(!n(t)||o(t))return t;var r,u=t[c];if(void 0!==u){if(void 0===e&&(e="default"),r=u.call(t,e),!n(r)||o(r))return r;throw TypeError("Can't convert object to primitive value")}return void 0===e&&(e="number"),i(t,e)}},function(t,e,r){var n=r(0),o=r(62),i=r(50),c=r(9),u=r(1),f=u("iterator"),a=u("toStringTag"),s=i.values;for(var l in o){var p=n[l],y=p&&p.prototype;if(y){if(y[f]!==s)try{c(y,f,s)}catch(t){y[f]=s}if(y[a]||c(y,a,l),o[l])for(var v in i)if(y[v]!==i[v])try{c(y,v,i[v])}catch(t){y[v]=i[v]}}}},,function(t,e,r){var n=r(3),o=r(7);n({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:r(6).f})},function(t,e,r){"use strict";var n=r(3),o=r(7),i=r(0),c=r(5),u=r(4),f=r(6).f,a=r(57),s=i.Symbol;if(o&&"function"==typeof s&&(!("description"in s.prototype)||void 0!==s().description)){var l={},p=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof p?new s(t):void 0===t?s():s(t);return""===t&&(l[e]=!0),e};a(p,s);var y=p.prototype=s.prototype;y.constructor=p;var v=y.toString,h="Symbol(test)"==String(s("test")),d=/^Symbol\((.*)\)[^)]+$/;f(y,"description",{configurable:!0,get:function(){var t=u(this)?this.valueOf():this,e=v.call(t);if(c(l,t))return"";var r=h?e.slice(7,-1):e.replace(d,"$1");return""===r?void 0:r}}),n({global:!0,forced:!0},{Symbol:p})}},function(t,e,r){r(75)("iterator")},function(t,e){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,e,r){var n=r(7),o=r(6),i=r(8),c=r(46);t.exports=n?Object.defineProperties:function(t,e){i(t);for(var r,n=c(e),u=n.length,f=0;u>f;)o.f(t,r=n[f++],e[r]);return t}},,function(t,e,r){var n=r(4);t.exports=function(t,e){var r,o;if("string"===e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!n(o=r.call(t)))return o;if("string"!==e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,r){var n=r(0),o=r(45),i=n.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},function(t,e,r){var n=r(4),o=r(28),i=r(1)("species");t.exports=function(t){var e;return o(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!o(e.prototype)?n(e)&&null===(e=e[i])&&(e=void 0):e=void 0),void 0===e?Array:e}},function(t,e,r){var n=r(1),o=r(20),i=r(6),c=n("unscopables"),u=Array.prototype;null==u[c]&&i.f(u,c,{configurable:!0,value:o(null)}),t.exports=function(t){u[c][t]=!0}},function(t,e,r){var n=r(2);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,e,r){var n=r(10),o=r(30).f,i={}.toString,c="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return c&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return c.slice()}}(t):o(n(t))}},function(t,e,r){"use strict";var n=r(3),o=r(61);n({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(t,e,r){var n=r(0),o=r(62),i=r(61),c=r(9);for(var u in o){var f=n[u],a=f&&f.prototype;if(a&&a.forEach!==i)try{c(a,"forEach",i)}catch(t){a.forEach=i}}},function(t,e,r){var n=r(12);t.exports=n("document","documentElement")},function(t,e,r){var n=r(34),o=r(31),i=r(27),c=function(t){return function(e,r){var c,u,f=o(i(e)),a=n(r),s=f.length;return a<0||a>=s?t?"":void 0:(c=f.charCodeAt(a))<55296||c>56319||a+1===s||(u=f.charCodeAt(a+1))<56320||u>57343?t?f.charAt(a):c:t?f.slice(a,a+2):u-56320+(c-55296<<10)+65536}};t.exports={codeAt:c(!1),charAt:c(!0)}},function(t,e,r){"use strict";var n=r(65).IteratorPrototype,o=r(20),i=r(15),c=r(39),u=r(26),f=function(){return this};t.exports=function(t,e,r){var a=e+" Iterator";return t.prototype=o(n,{next:i(1,r)}),c(t,a,!1,!0),u[a]=f,t}},function(t,e,r){var n=r(4);t.exports=function(t){if(!n(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},function(t,e,r){"use strict";var n=r(43),o=r(74);t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},,,,,function(t,e,r){var n=r(0);t.exports=n},function(t,e,r){"use strict";var n=r(3),o=r(2),i=r(28),c=r(4),u=r(11),f=r(14),a=r(56),s=r(58),l=r(63),p=r(1),y=r(38),v=p("isConcatSpreadable"),h=y>=51||!o((function(){var t=[];return t[v]=!1,t.concat()[0]!==t})),d=l("concat"),b=function(t){if(!c(t))return!1;var e=t[v];return void 0!==e?!!e:i(t)};n({target:"Array",proto:!0,forced:!h||!d},{concat:function(t){var e,r,n,o,i,c=u(this),l=s(c,0),p=0;for(e=-1,n=arguments.length;e<n;e++)if(b(i=-1===e?c:arguments[e])){if(p+(o=f(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(r=0;r<o;r++,p++)r in i&&a(l,p,i[r])}else{if(p>=9007199254740991)throw TypeError("Maximum allowed index exceeded");a(l,p++,i)}return l.length=p,l}})},,,function(t,e,r){var n=r(3),o=r(2),i=r(10),c=r(18).f,u=r(7),f=o((function(){c(1)}));n({target:"Object",stat:!0,forced:!u||f,sham:!u},{getOwnPropertyDescriptor:function(t,e){return c(i(t),e)}})},,function(t,e,r){r(3)({target:"Object",stat:!0},{setPrototypeOf:r(64)})},function(t,e,r){var n=r(3),o=r(2),i=r(11),c=r(47),u=r(89);n({target:"Object",stat:!0,forced:o((function(){c(1)})),sham:!u},{getPrototypeOf:function(t){return c(i(t))}})},function(t,e,r){var n=r(3),o=r(12),i=r(44),c=r(8),u=r(4),f=r(20),a=r(126),s=r(2),l=o("Reflect","construct"),p=s((function(){function t(){}return!(l((function(){}),[],t)instanceof t)})),y=!s((function(){l((function(){}))})),v=p||y;n({target:"Reflect",stat:!0,forced:v,sham:v},{construct:function(t,e){i(t),c(e);var r=arguments.length<3?t:i(arguments[2]);if(y&&!p)return l(t,e,r);if(t==r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return n.push.apply(n,e),new(a.apply(t,n))}var o=r.prototype,s=f(u(o)?o:Object.prototype),v=Function.apply.call(t,s,e);return u(v)?v:s}})},function(t,e,r){r(3)({target:"Object",stat:!0,sham:!r(7)},{create:r(20)})},,,,,,,,,,,,,function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=new(r(140).a)([32,32,1]);function o(){return n.next()}},,function(t,e,r){"use strict";var n=r(44),o=r(4),i=[].slice,c={},u=function(t,e,r){if(!(e in c)){for(var n=[],o=0;o<e;o++)n[o]="a["+o+"]";c[e]=Function("C,a","return new C("+n.join(",")+")")}return c[e](t,r)};t.exports=Function.bind||function(t){var e=n(this),r=i.call(arguments,1),c=function(){var n=r.concat(i.call(arguments));return this instanceof c?u(e,n.length,n):e.apply(t,n)};return o(e.prototype)&&(c.prototype=e.prototype),c}},function(t,e,r){"use strict";r.d(e,"d",(function(){return n})),r.d(e,"a",(function(){return o})),r.d(e,"b",(function(){return i})),r.d(e,"c",(function(){return c})),r.d(e,"e",(function(){return u})),r.d(e,"f",(function(){return f}));var n={width:40,height:40},o={width:40,height:40},i={width:40,height:40},c={width:100,height:80},u={width:100,height:80},f={rect:{radius:5,stroke:"rgb(24, 125, 255)"},circle:{r:18,stroke:"rgb(24, 125, 255)"},polygon:{stroke:"rgb(24, 125, 255)"},polyline:{stroke:"rgb(24, 125, 255)",hoverStroke:"rgb(24, 125, 255)",selectedStroke:"rgb(24, 125, 255)"},edgeText:{background:{fill:"white",height:14,stroke:"transparent",radius:3}}}},,,function(t,e,r){var n=r(3),o=r(11),i=r(46);n({target:"Object",stat:!0,forced:r(2)((function(){i(1)}))},{keys:function(t){return i(o(t))}})},,function(t,e,r){"use strict";var n=r(3),o=r(40).filter;n({target:"Array",proto:!0,forced:!r(63)("filter")},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,r){var n=r(3),o=r(4),i=r(8),c=r(149),u=r(18),f=r(47);n({target:"Reflect",stat:!0},{get:function t(e,r){var n,a,s=arguments.length<3?e:arguments[2];return i(e)===s?e[r]:(n=u.f(e,r))?c(n)?n.value:void 0===n.get?void 0:n.get.call(s):o(a=f(e))?t(a,r,s):void 0}})},function(t,e,r){var n=r(3),o=r(7),i=r(73),c=r(10),u=r(18),f=r(56);n({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(t){for(var e,r,n=c(t),o=u.f,a=i(n),s={},l=0;a.length>l;)void 0!==(r=o(n,e=a[l++]))&&f(s,e,r);return s}})},function(t,e,r){var n=r(3),o=r(7);n({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:r(83)})},,,,function(t,e,r){var n=r(3),o=r(158),i=r(88);n({target:"Array",proto:!0},{fill:o}),i("fill")},function(t,e,r){"use strict";var n=function(t,e){return t(e={exports:{}},e.exports),e.exports}((function(t){var e=t.exports=function(t,r){if(r||(r=16),void 0===t&&(t=128),t<=0)return"0";for(var n=Math.log(Math.pow(2,t))/Math.log(r),o=2;n===1/0;o*=2)n=Math.log(Math.pow(2,t/o))/Math.log(r)*o;var i=n-Math.floor(n),c="";for(o=0;o<Math.floor(n);o++){c=Math.floor(Math.random()*r).toString(r)+c}if(i){var u=Math.pow(r,i);c=Math.floor(Math.random()*u).toString(r)+c}var f=parseInt(c,r);return f!==1/0&&f>=Math.pow(2,t)?e(t,r):c};e.rack=function(t,r,n){var o=function(o){var c=0;do{if(c++>10){if(!n)throw new Error("too many ID collisions, use more bits");t+=n}var u=e(t,r)}while(Object.hasOwnProperty.call(i,u));return i[u]=o,u},i=o.hats={};return o.get=function(t){return o.hats[t]},o.set=function(t,e){return o.hats[t]=e,o},o.bits=t||128,o.base=r||16,o}}));function o(t){if(!(this instanceof o))return new o(t);t=t||[128,36,1],this._seed=t.length?n.rack(t[0],t[1],t[2]):t}o.prototype.next=function(t){return this._seed(t||!0)},o.prototype.nextPrefixed=function(t,e){var r;do{r=t+this.next(!0)}while(this.assigned(r));return this.claim(r,e),r},o.prototype.claim=function(t,e){this._seed.set(t,e||!0)},o.prototype.assigned=function(t){return this._seed.get(t)||!1},o.prototype.unclaim=function(t){delete this._seed.hats[t]},o.prototype.clear=function(){var t,e=this._seed.hats;for(t in e)this.unclaim(t)},e.a=o},,,,,,,,,function(t,e,r){var n=r(5);t.exports=function(t){return void 0!==t&&(n(t,"value")||n(t,"writable"))}},,,,,,,,,function(t,e,r){"use strict";var n=r(11),o=r(59),i=r(14);t.exports=function(t){for(var e=n(this),r=i(e.length),c=arguments.length,u=o(c>1?arguments[1]:void 0,r),f=c>2?arguments[2]:void 0,a=void 0===f?r:o(f,r);a>u;)e[u++]=t;return e}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,r){"use strict";r.r(e),r.d(e,"BpmnElement",(function(){return Lt})),r.d(e,"StartEventModel",(function(){return b})),r.d(e,"StartEventView",(function(){return g})),r.d(e,"EndEventView",(function(){return A})),r.d(e,"EndEventModel",(function(){return M})),r.d(e,"ExclusiveGatewayView",(function(){return q})),r.d(e,"ExclusiveGatewayModel",(function(){return z})),r.d(e,"UserTaskView",(function(){return ot})),r.d(e,"UserTaskModel",(function(){return nt})),r.d(e,"ServiceTaskView",(function(){return bt})),r.d(e,"ServiceTaskModel",(function(){return dt})),r.d(e,"SequenceFlowView",(function(){return Tt})),r.d(e,"SequenceFlowModel",(function(){return _t}));r(79),r(108),r(109),r(110),r(111),r(133),r(106),r(130),r(71),r(132),r(91),r(92),r(134),r(135),r(80),r(69),r(81),r(50),r(70),r(77);var n=r(21),o=r(124);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e,r){return e&&f(t.prototype,e),r&&f(t,r),t}function s(t,e,r){return(s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=h(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}function p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function y(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=h(t);if(e){var o=h(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return v(this,r)}}function v(t,e){if(e&&("object"===i(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function h(t){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function d(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var b=function(t){l(r,t);var e=y(r);function r(t,n){return u(this,r),t.id||(t.id="Event_".concat(Object(o.a)())),t.text||(t.text=""),t.text&&"string"==typeof t.text&&(t.text={value:t.text,x:t.x,y:t.y+40}),e.call(this,t,n)}return a(r,[{key:"getConnectedTargetRules",value:function(){var t=s(h(r.prototype),"getConnectedTargetRules",this).call(this);return t.push({message:"起始节点不能作为连线的终点",validate:function(){return!1}}),t}}]),r}(n.CircleNodeModel);d(b,"extendKey","StartEventModel");var g=function(t){l(r,t);var e=y(r);function r(){return u(this,r),e.apply(this,arguments)}return a(r,[{key:"getAttributes",value:function(){return function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c(Object(r),!0).forEach((function(e){d(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},s(h(r.prototype),"getAttributes",this).call(this))}}]),r}(n.CircleNode);d(g,"extendKey","StartEventNode");var w={type:"bpmn:startEvent",view:g,model:b};r(139);function m(t){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function O(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function x(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function j(t,e,r){return e&&x(t.prototype,e),r&&x(t,r),t}function S(t,e,r){return(S="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=k(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function P(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&E(t,e)}function E(t,e){return(E=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function _(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=k(t);if(e){var o=k(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return T(this,r)}}function T(t,e){if(e&&("object"===m(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function k(t){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function R(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var M=function(t){P(r,t);var e=_(r);function r(t,n){return O(this,r),t.id||(t.id="Event_".concat(Object(o.a)())),t.text||(t.text=""),t.text&&"string"==typeof t.text&&(t.text={value:t.text,x:t.x,y:t.y+40}),e.call(this,t,n)}return j(r,[{key:"getConnectedSourceRules",value:function(){var t=S(k(r.prototype),"getConnectedSourceRules",this).call(this);return t.push({message:"结束节点不能作为连线的起点",validate:function(){return!1}}),t}}]),r}(n.CircleNodeModel);R(M,"extendKey","EndEventModel");var A=function(t){P(r,t);var e=_(r);function r(){return O(this,r),e.apply(this,arguments)}return j(r,[{key:"getAnchorStyle",value:function(){return{visibility:"hidden"}}},{key:"getShape",value:function(){var t=this.getAttributes(),e=t.x,o=t.y,i=t.fill,c=t.stroke,u=t.strokeWidth,f=t.r,a=S(k(r.prototype),"getShape",this).call(this);return Object(n.h)("g",{},a,Object(n.h)("circle",{cx:e,cy:o,fill:i,stroke:c,strokeWidth:u,r:f-5}))}}]),r}(n.CircleNode);R(A,"extendKey","EndEventView");var C={type:"bpmn:endEvent",view:A,model:M};r(103);function L(t){return(L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function D(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function N(t,e,r){return(N="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=W(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function F(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function I(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&B(t,e)}function B(t,e){return(B=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function G(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=W(t);if(e){var o=W(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return V(this,r)}}function V(t,e){if(e&&("object"===L(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function W(t){return(W=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function K(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var z=function(t){I(r,t);var e=G(r);function r(t,n){var i;return F(this,r),t.id||(t.id="Gateway_".concat(Object(o.a)())),t.text||(t.text=""),t.text&&"string"==typeof t.text&&(t.text={value:t.text,x:t.x,y:t.y+40}),(i=e.call(this,t,n)).points=[[25,0],[50,25],[25,50],[0,25]],i}return r}(n.PolygonNodeModel);K(z,"extendKey","ExclusiveGatewayModel");var q=function(t){I(c,t);var e,r,o,i=G(c);function c(){return F(this,c),i.apply(this,arguments)}return e=c,(r=[{key:"getShape",value:function(){var t=N(W(c.prototype),"getAttributes",this).call(this),e=t.x,r=t.y,o=t.fill,i=t.stroke,u=t.strokeWidth,f=t.width,a=t.height,s=t.points;return Object(n.h)("g",{transform:"matrix(1 0 0 1 ".concat(e-f/2," ").concat(r-a/2,")")},Object(n.h)("polygon",{fill:o,x:e,y:r,stroke:i,strokeWidth:u,points:s}),Object(n.h)("path",{fill:o,stroke:i,strokeWidth:u,d:"m 16,15 7.42857142857143,9.714285714285715 -7.42857142857143,9.714285714285715 3.428571428571429,0 5.714285714285715,-7.464228571428572 5.714285714285715,7.464228571428572 3.428571428571429,0 -7.42857142857143,-9.714285714285715 7.42857142857143,-9.714285714285715 -3.428571428571429,0 -5.714285714285715,7.464228571428572 -5.714285714285715,-7.464228571428572 -3.428571428571429,0 z"}))}}])&&D(e.prototype,r),o&&D(e,o),c}(n.PolygonNode);K(q,"extendKey","ExclusiveGatewayNode");var U={type:"bpmn:exclusiveGateway",view:q,model:z};function H(t){return(H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Y(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function J(t,e,r){return(J="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=et(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function $(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Q(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&X(t,e)}function X(t,e){return(X=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Z(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=et(t);if(e){var o=et(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return tt(this,r)}}function tt(t,e){if(e&&("object"===H(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function et(t){return(et=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function rt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var nt=function(t){Q(r,t);var e=Z(r);function r(t,n){return $(this,r),t.id||(t.id="Activity_".concat(Object(o.a)())),e.call(this,t,n)}return r}(n.RectNodeModel);rt(nt,"extendKey","UserTaskModel");var ot=function(t){Q(c,t);var e,r,o,i=Z(c);function c(){return $(this,c),i.apply(this,arguments)}return e=c,(r=[{key:"getLabelShape",value:function(){var t=J(et(c.prototype),"getAttributes",this).call(this),e=t.x,r=t.y,o=t.width,i=t.height,u=t.stroke;return Object(n.h)("svg",{x:e-o/2+5,y:r-i/2+5,width:25,height:25,viewBox:"0 0 1274 1024"},Object(n.h)("path",{fill:u,d:"M655.807326 287.35973m-223.989415 0a218.879 218.879 0 1 0 447.978829 0 218.879 218.879 0 1 0-447.978829 0ZM1039.955839 895.482975c-0.490184-212.177424-172.287821-384.030443-384.148513-384.030443-211.862739 0-383.660376 171.85302-384.15056 384.030443L1039.955839 895.482975z"}))}},{key:"getShape",value:function(){var t=J(et(c.prototype),"getAttributes",this).call(this),e=t.x,r=t.y,o=t.width,i=t.height,u=t.fill,f=t.stroke,a=t.strokeWidth,s=t.radius;return Object(n.h)("g",{},[Object(n.h)("rect",{x:e-o/2,y:r-i/2,rx:s,ry:s,fill:u,stroke:f,strokeWidth:a,width:o,height:i}),this.getLabelShape()])}}])&&Y(e.prototype,r),o&&Y(e,o),c}(n.RectNode);rt(ot,"extendKey","UserTaskNode");var it={type:"bpmn:userTask",view:ot,model:nt};function ct(t){return(ct="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ut(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function ft(t,e,r){return(ft="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=vt(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function at(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function st(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&<(t,e)}function lt(t,e){return(lt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function pt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=vt(t);if(e){var o=vt(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return yt(this,r)}}function yt(t,e){if(e&&("object"===ct(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function vt(t){return(vt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ht(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var dt=function(t){st(r,t);var e=pt(r);function r(t,n){return at(this,r),t.id||(t.id="Activity_".concat(Object(o.a)())),e.call(this,t,n)}return r}(n.RectNodeModel);ht(dt,"extendKey","ServiceTaskModel");var bt=function(t){st(c,t);var e,r,o,i=pt(c);function c(){return at(this,c),i.apply(this,arguments)}return e=c,(r=[{key:"getLabelShape",value:function(){var t=ft(vt(c.prototype),"getAttributes",this).call(this),e=t.x,r=t.y,o=t.width,i=t.height,u=t.stroke;return Object(n.h)("svg",{x:e-o/2+5,y:r-i/2+5,width:30,height:30,viewBox:"0 0 1274 1024"},Object(n.h)("path",{fill:u,d:"M882.527918 434.149934c-2.234901-5.303796-7.311523-8.853645-13.059434-9.138124l-61.390185-3.009544c-6.635117-20.973684-15.521508-41.175795-26.513864-60.282968l42.051745-47.743374c4.308119-4.889357 4.955872-12.004405 1.602498-17.59268-46.384423-77.30362-103.969956-101.422947-106.400309-102.410438-5.332449-2.170432-11.432377-1.090844-15.693424 2.77009L654.674467 240.664222c-17.004279-8.654101-35.092239-15.756869-53.995775-21.210068l-3.26537-66.490344c-0.280386-5.747911-3.833305-10.824533-9.134031-13.059434-1.683339-0.709151-30.193673-12.391215-76.866668-12.051477-46.672996-0.339738-75.18333 11.342326-76.866668 12.051477-5.300726 2.234901-8.853645 7.311523-9.134031 13.059434l-3.26537 66.490344c-18.903535 5.453199-36.991496 12.555967-53.995775 21.210068l-48.450479-43.922349c-4.261047-3.860934-10.360975-4.940522-15.693424-2.77009-2.430352 0.98749-60.015885 25.106818-106.400309 102.410438-3.353374 5.588275-2.705622 12.703323 1.602498 17.59268l42.051745 47.743374c-10.992355 19.107173-19.878746 39.309284-26.513864 60.282968l-61.390185 3.009544c-5.747911 0.284479-10.824533 3.834328-13.059434 9.138124-1.01512 2.415003-24.687262 60.190871-2.822278 147.651828 1.583055 6.324032 7.072069 10.893094 13.57518 11.308557 5.892197 0.37146 11.751648 0.523933 17.419741 0.667196 14.498202 0.372483 28.193109 0.723477 40.908712 4.63353 4.212952 1.294482 6.435573 8.270361 9.349949 18.763342 1.287319 4.640694 2.617617 9.43693 4.484128 14.010085 1.794879 4.393054 3.75758 8.570189 5.66093 12.607132 1.302669 2.765997 2.529613 5.380544 3.689019 8.018627 2.986007 6.803963 2.682086 9.773598 2.578732 10.349719-3.061732 3.672646-6.391571 7.238868-9.91379 11.015891-1.810229 1.943258-3.680832 3.949962-5.523807 5.980201l-22.560832 24.8909c-3.865028 4.261047-4.940522 10.365068-2.774183 15.693424 0.991584 2.426259 25.102724 60.011792 102.414531 106.400309 5.588275 3.353374 12.703323 2.701528 17.591657-1.603521l23.476691-20.682042c2.346441-2.061962 4.64888-4.336772 6.875594-6.534833 9.05319-8.93858 14.018272-12.95608 17.73185-11.576663 3.305279 1.222851 6.907317 3.166109 10.720156 5.228071 3.325745 1.794879 6.764054 3.650133 10.465352 5.288446 6.016017 2.662643 12.120039 4.688789 18.019399 6.65149 6.827499 2.266623 13.279445 4.409426 18.819624 7.275707 1.518586 0.782829 1.926886 0.994654 2.358721 7.830339 0.726547 11.496845 1.25048 23.276123 1.753947 34.672684 0.264013 5.900384 0.528026 11.803837 0.815575 17.700127 0.284479 5.743818 3.833305 10.82044 9.138124 13.05534 1.654686 0.698918 29.371958 12.063757 74.869175 12.063757 0.328481 0 3.65832 0 3.986801 0 45.497217 0 73.214489-11.364839 74.869175-12.063757 5.304819-2.234901 8.853645-7.311523 9.138124-13.05534 0.287549-5.89629 0.551562-11.799744 0.815575-17.700127 0.503467-11.396561 1.027399-23.175839 1.753947-34.672684 0.431835-6.835685 0.840134-7.04751 2.358721-7.830339 5.54018-2.866281 11.992125-5.009084 18.819624-7.275707 5.89936-1.962701 12.003382-3.988848 18.019399-6.65149 3.701299-1.638313 7.139607-3.493567 10.465352-5.288446 3.812839-2.061962 7.414877-4.00522 10.720156-5.228071 3.713578-1.379417 8.67866 2.638083 17.73185 11.576663 2.226714 2.198062 4.529153 4.472871 6.875594 6.534833l23.476691 20.682042c4.888334 4.305049 12.003382 4.956895 17.591657 1.603521 77.311807-46.388517 101.422947-103.97405 102.414531-106.400309 2.166339-5.328355 1.090844-11.432377-2.774183-15.693424l-22.560832-24.8909c-1.842974-2.030239-3.713578-4.036943-5.523807-5.980201-3.52222-3.777023-6.852058-7.343245-9.91379-11.015891-0.103354-0.576121-0.407276-3.545756 2.578732-10.349719 1.159406-2.638083 2.38635-5.252631 3.689019-8.018627 1.90335-4.036943 3.866051-8.214079 5.66093-12.607132 1.866511-4.573155 3.196809-9.369392 4.484128-14.010085 2.914376-10.492982 5.136997-17.46886 9.349949-18.763342 12.715603-3.910053 26.41051-4.261047 40.908712-4.63353 5.668093-0.143263 11.527544-0.295735 17.419741-0.667196 6.503111-0.415462 11.992125-4.984524 13.57518-11.308557C907.21518 494.340805 883.543038 436.564937 882.527918 434.149934zM643.49894 643.761929c-35.280528 35.280528-82.191954 54.711066-132.086317 54.711066s-96.806813-19.430538-132.086317-54.711066c-35.280528-35.279504-54.711066-82.191954-54.711066-132.086317 0-49.894364 19.430538-96.80272 54.711066-132.082224 35.283598-35.284621 82.191954-54.711066 132.086317-54.711066s96.80579 19.426445 132.086317 54.711066c35.279504 35.279504 54.711066 82.187861 54.711066 132.082224C698.210006 561.569976 678.782537 608.482425 643.49894 643.761929z"}))}},{key:"getShape",value:function(){var t=ft(vt(c.prototype),"getAttributes",this).call(this),e=t.x,r=t.y,o=t.width,i=t.height,u=t.fill,f=t.stroke,a=t.strokeWidth,s=t.radius;return Object(n.h)("g",{},[Object(n.h)("rect",{x:e-o/2,y:r-i/2,rx:s,ry:s,fill:u,stroke:f,strokeWidth:a,width:o,height:i}),this.getLabelShape()])}}])&&ut(e.prototype,r),o&&ut(e,o),c}(n.RectNode);ht(bt,"extendKey","ServiceTaskNode");var gt={type:"bpmn:serviceTask",view:bt,model:dt};function wt(t){return(wt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function mt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ot(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xt(t,e)}function xt(t,e){return(xt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function jt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=Pt(t);if(e){var o=Pt(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return St(this,r)}}function St(t,e){if(e&&("object"===wt(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function Pt(t){return(Pt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Et(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var _t=function(t){Ot(r,t);var e=jt(r);function r(t,n){return mt(this,r),t.id||(t.id="Flow_".concat(Object(o.a)())),e.call(this,t,n)}return r}(n.PolylineEdgeModel);Et(_t,"extendKey","SequenceFlowModel");var Tt=function(t){Ot(r,t);var e=jt(r);function r(){return mt(this,r),e.apply(this,arguments)}return r}(n.PolylineEdge);Et(Tt,"extendKey","SequenceFlowEdge");var kt={type:"bpmn:sequenceFlow",view:Tt,model:_t},Rt=r(127);var Mt,At,Ct,Lt=function t(e){var r=e.lf;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),r.setTheme(Rt.f),r.register(w),r.register(C),r.register(U),r.register(it),r.register(gt),r.options.customBpmnEdge||(r.register(kt),r.setDefaultEdgeType("bpmn:sequenceFlow"))};Ct="BpmnElement",(At="pluginName")in(Mt=Lt)?Object.defineProperty(Mt,At,{value:Ct,enumerable:!0,configurable:!0,writable:!0}):Mt[At]=Ct}])}));
|
|
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=203)}([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(83))},function(t,e,r){var n=r(0),o=r(35),i=r(5),c=r(29),u=r(36),f=r(47),a=o("wks"),s=n.Symbol,l=f?s:s&&s.withoutSetter||c;t.exports=function(t){return i(a,t)&&(u||"string"==typeof a[t])||(u&&i(s,t)?a[t]=s[t]:a[t]=l("Symbol."+t)),a[t]}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,r){var n=r(0),o=r(18).f,i=r(9),c=r(13),u=r(33),f=r(57),a=r(58);t.exports=function(t,e){var r,s,l,p,y,v=t.target,h=t.global,d=t.stat;if(r=h?n:d?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(h?s:v+(d?".":"#")+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(11),o={}.hasOwnProperty;t.exports=Object.hasOwn||function(t,e){return o.call(n(t),e)}},function(t,e,r){var n=r(7),o=r(48),i=r(8),c=r(21),u=Object.defineProperty;e.f=n?u:function(t,e,r){if(i(t),e=c(e),i(r),o)try{return u(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},function(t,e,r){var n=r(2);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e,r){var n=r(3);t.exports=function(t){if(!n(t))throw TypeError(String(t)+" is not an object");return t}},function(t,e,r){var n=r(7),o=r(6),i=r(15);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(41),o=r(27);t.exports=function(t){return n(o(t))}},function(t,e,r){var n=r(27);t.exports=function(t){return Object(n(t))}},function(t,e,r){var n=r(0),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?o(n[t]):n[t]&&n[t][e]}},function(t,e,r){var n=r(0),o=r(9),i=r(5),c=r(33),u=r(44),f=r(17),a=f.get,s=f.enforce,l=String(String).split("String");(t.exports=function(t,e,r,u){var f,a=!!u&&!!u.unsafe,p=!!u&&!!u.enumerable,y=!!u&&!!u.noTargetGet;"function"==typeof r&&("string"!=typeof e||i(r,"name")||o(r,"name",e),(f=s(r)).source||(f.source=l.join("string"==typeof e?e:""))),t!==n?(a?!y&&t[e]&&(p=!0):delete t[e],p?t[e]=r:o(t,e,r)):p?t[e]=r:c(e,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&a(this).source||u(this)}))},function(t,e,r){var n=r(34),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){t.exports={}},function(t,e,r){var n,o,i,c=r(85),u=r(0),f=r(3),a=r(9),s=r(5),l=r(32),p=r(26),y=r(16),v=u.WeakMap;if(c||l.state){var h=l.state||(l.state=new v),d=h.get,b=h.has,g=h.set;n=function(t,e){if(b.call(h,t))throw new TypeError("Object already initialized");return e.facade=t,g.call(h,t,e),e},o=function(t){return d.call(h,t)||{}},i=function(t){return b.call(h,t)}}else{var w=p("state");y[w]=!0,n=function(t,e){if(s(t,w))throw new TypeError("Object already initialized");return e.facade=t,a(t,w,e),e},o=function(t){return s(t,w)?t[w]:{}},i=function(t){return s(t,w)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!f(e)||(r=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}}},function(t,e,r){var n=r(7),o=r(50),i=r(15),c=r(10),u=r(21),f=r(5),a=r(48),s=Object.getOwnPropertyDescriptor;e.f=n?s:function(t,e){if(t=c(t),e=u(e),a)try{return s(t,e)}catch(t){}if(f(t,e))return i(!o.f.call(t,e),t[e])}},function(t,e,r){var n=r(12),o=r(47);t.exports=o?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return"function"==typeof e&&Object(t)instanceof e}},function(t,e,r){var n,o=r(8),i=r(82),c=r(37),u=r(16),f=r(92),a=r(51),s=r(26),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},h=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e;h="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.F=Object")),t.close(),t.F):v(n);for(var r=c.length;r--;)delete h.prototype[c[r]];return h()};u[l]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(p.prototype=o(t),r=new p,p.prototype=null,r[l]=t):r=h(),void 0===e?r:i(r,e)}},function(t,e,r){var n=r(76),o=r(19);t.exports=function(t){var e=n(t,"string");return o(e)?e:String(e)}},function(t,e){t.exports={}},function(e,r){e.exports=t},function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,e){t.exports=!1},function(t,e,r){var n=r(35),o=r(29),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,r){var n=r(24);t.exports=Array.isArray||function(t){return"Array"==n(t)}},function(t,e){var r=0,n=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++r+n).toString(36)}},function(t,e,r){var n=r(53),o=r(37).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},function(t,e,r){var n=r(19);t.exports=function(t){if(n(t))throw TypeError("Cannot convert a Symbol value to a string");return String(t)}},function(t,e,r){var n=r(0),o=r(33),i=n["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,e,r){var n=r(0);t.exports=function(t,e){try{Object.defineProperty(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:r)(t)}},function(t,e,r){var n=r(25),o=r(32);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.17.2",mode:n?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(t,e,r){var n=r(38),o=r(2);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e,r){var n,o,i=r(0),c=r(66),u=i.process,f=i.Deno,a=u&&u.versions||f&&f.version,s=a&&a.v8;s?o=(n=s.split("."))[0]<4?1:n[0]+n[1]:c&&(!(n=c.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=c.match(/Chrome\/(\d+)/))&&(o=n[1]),t.exports=o&&+o},function(t,e,r){var n=r(6).f,o=r(5),i=r(1)("toStringTag");t.exports=function(t,e,r){t&&!o(t=r?t:t.prototype,i)&&n(t,i,{configurable:!0,value:e})}},function(t,e,r){var n=r(45);t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 0:return function(){return t.call(e)};case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,r){var n=r(2),o=r(24),i="".split;t.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},function(t,e,r){var n=r(40),o=r(41),i=r(11),c=r(14),u=r(59),f=[].push,a=function(t){var e=1==t,r=2==t,a=3==t,s=4==t,l=6==t,p=7==t,y=5==t||l;return function(v,h,d,b){for(var g,w,m=i(v),O=o(m),x=n(h,d,3),j=c(O.length),S=0,P=b||u,E=e?P(v,j):r||p?P(v,0):void 0;j>S;S++)if((y||S in O)&&(w=x(g=O[S],S,m),t))if(e)E[S]=w;else if(w)switch(t){case 3:return!0;case 5:return g;case 6:return S;case 2:f.call(E,g)}else switch(t){case 4:return!1;case 7:f.call(E,g)}return l?-1:a||s?s:E}};t.exports={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6),filterReject:a(7)}},function(t,e,r){var n={};n[r(1)("toStringTag")]="z",t.exports="[object z]"===String(n)},function(t,e,r){var n=r(32),o=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(t){return o.call(t)}),t.exports=n.inspectSource},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,e,r){var n=r(53),o=r(37);t.exports=Object.keys||function(t){return n(t,o)}},function(t,e,r){var n=r(36);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e,r){var n=r(7),o=r(2),i=r(51);t.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,e,r){"use strict";var n=r(10),o=r(91),i=r(22),c=r(17),u=r(56),f=c.set,a=c.getterFor("Array Iterator");t.exports=u(Array,"Array",(function(t,e){f(this,{type:"Array Iterator",target:n(t),index:0,kind:e})}),(function(){var t=a(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(t,e,r){"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!n.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:n},function(t,e,r){var n=r(0),o=r(3),i=n.document,c=o(i)&&o(i.createElement);t.exports=function(t){return c?i.createElement(t):{}}},function(t,e,r){var n=r(5),o=r(11),i=r(26),c=r(87),u=i("IE_PROTO"),f=Object.prototype;t.exports=c?Object.getPrototypeOf:function(t){return t=o(t),n(t,u)?t[u]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?f:null}},function(t,e,r){var n=r(5),o=r(10),i=r(72).indexOf,c=r(16);t.exports=function(t,e){var r,u=o(t),f=0,a=[];for(r in u)!n(c,r)&&n(u,r)&&a.push(r);for(;e.length>f;)n(u,r=e[f++])&&(~i(a,r)||a.push(r));return a}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,r){"use strict";var n=r(21),o=r(6),i=r(15);t.exports=function(t,e,r){var c=n(e);c in t?o.f(t,c,i(0,r)):t[c]=r}},function(t,e,r){"use strict";var n=r(4),o=r(94),i=r(52),c=r(64),u=r(39),f=r(9),a=r(13),s=r(1),l=r(25),p=r(22),y=r(65),v=y.IteratorPrototype,h=y.BUGGY_SAFARI_ITERATORS,d=s("iterator"),b=function(){return this};t.exports=function(t,e,r,s,y,g,w){o(r,e,s);var m,O,x,j=function(t){if(t===y&&T)return T;if(!h&&t in E)return E[t];switch(t){case"keys":case"values":case"entries":return function(){return new r(this,t)}}return function(){return new r(this)}},S=e+" Iterator",P=!1,E=t.prototype,_=E[d]||E["@@iterator"]||y&&E[y],T=!h&&_||j(y),k="Array"==e&&E.entries||_;if(k&&(m=i(k.call(new t)),v!==Object.prototype&&m.next&&(l||i(m)===v||(c?c(m,v):"function"!=typeof m[d]&&f(m,d,b)),u(m,S,!0,!0),l&&(p[S]=b))),"values"==y&&_&&"values"!==_.name&&(P=!0,T=function(){return _.call(this)}),l&&!w||E[d]===T||f(E,d,T),p[e]=T,y)if(O={values:j("values"),keys:g?T:j("keys"),entries:j("entries")},w)for(x in O)(h||P||!(x in E))&&a(E,x,O[x]);else n({target:e,proto:!0,forced:h||P},O);return O}},function(t,e,r){var n=r(5),o=r(71),i=r(18),c=r(6);t.exports=function(t,e){for(var r=o(e),u=c.f,f=i.f,a=0;a<r.length;a++){var s=r[a];n(t,s)||u(t,s,f(e,s))}}},function(t,e,r){var n=r(2),o=/#|\.prototype\./,i=function(t,e){var r=u[c(t)];return r==a||r!=f&&("function"==typeof e?n(e):!!e)},c=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},u=i.data={},f=i.NATIVE="N",a=i.POLYFILL="P";t.exports=i},function(t,e,r){var n=r(86);t.exports=function(t,e){return new(n(t))(0===e?0:e)}},function(t,e,r){var n=r(34),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},function(t,e,r){"use strict";var n=r(42).forEach,o=r(67)("forEach");t.exports=o?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(t,e,r){var n=r(2),o=r(1),i=r(38),c=o("species");t.exports=function(t){return i>=51||!n((function(){var e=[];return(e.constructor={})[c]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},function(t,e,r){var n=r(8),o=r(95);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),e=r instanceof Array}catch(t){}return function(r,i){return n(r),o(i),e?t.call(r,i):r.__proto__=i,r}}():void 0)},function(t,e,r){"use strict";var n,o,i,c=r(2),u=r(52),f=r(9),a=r(5),s=r(1),l=r(25),p=s("iterator"),y=!1;[].keys&&("next"in(i=[].keys())?(o=u(u(i)))!==Object.prototype&&(n=o):y=!0);var v=null==n||c((function(){var t={};return n[p].call(t)!==t}));v&&(n={}),l&&!v||a(n,p)||f(n,p,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:y}},function(t,e,r){var n=r(12);t.exports=n("navigator","userAgent")||""},function(t,e,r){"use strict";var n=r(2);t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){throw 1},1)}))}},function(t,e,r){var n=r(43),o=r(13),i=r(100);n||o(Object.prototype,"toString",i,{unsafe:!0})},function(t,e,r){"use strict";var n=r(93).charAt,o=r(31),i=r(17),c=r(56),u=i.set,f=i.getterFor("String Iterator");c(String,"String",(function(t){u(this,{type:"String Iterator",string:o(t),index:0})}),(function(){var t,e=f(this),r=e.string,o=e.index;return o>=r.length?{value:void 0,done:!0}:(t=n(r,o),e.index+=t.length,{value:t,done:!1})}))},function(t,e,r){"use strict";var n=r(4),o=r(0),i=r(12),c=r(25),u=r(7),f=r(36),a=r(2),s=r(5),l=r(28),p=r(3),y=r(19),v=r(8),h=r(11),d=r(10),b=r(21),g=r(31),w=r(15),m=r(20),O=r(46),x=r(30),j=r(88),S=r(54),P=r(18),E=r(6),_=r(50),T=r(9),k=r(13),R=r(35),M=r(26),A=r(16),C=r(29),L=r(1),D=r(75),N=r(78),F=r(39),I=r(17),B=r(42).forEach,G=M("hidden"),V=L("toPrimitive"),W=I.set,K=I.getterFor("Symbol"),z=Object.prototype,q=o.Symbol,U=i("JSON","stringify"),H=P.f,Y=E.f,J=j.f,$=_.f,Q=R("symbols"),X=R("op-symbols"),Z=R("string-to-symbol-registry"),tt=R("symbol-to-string-registry"),et=R("wks"),rt=o.QObject,nt=!rt||!rt.prototype||!rt.prototype.findChild,ot=u&&a((function(){return 7!=m(Y({},"a",{get:function(){return Y(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=H(z,e);n&&delete z[e],Y(t,e,r),n&&t!==z&&Y(z,e,n)}:Y,it=function(t,e){var r=Q[t]=m(q.prototype);return W(r,{type:"Symbol",tag:t,description:e}),u||(r.description=e),r},ct=function(t,e,r){t===z&&ct(X,e,r),v(t);var n=b(e);return v(r),s(Q,n)?(r.enumerable?(s(t,G)&&t[G][n]&&(t[G][n]=!1),r=m(r,{enumerable:w(0,!1)})):(s(t,G)||Y(t,G,w(1,{})),t[G][n]=!0),ot(t,n,r)):Y(t,n,r)},ut=function(t,e){v(t);var r=d(e),n=O(r).concat(lt(r));return B(n,(function(e){u&&!ft.call(r,e)||ct(t,e,r[e])})),t},ft=function(t){var e=b(t),r=$.call(this,e);return!(this===z&&s(Q,e)&&!s(X,e))&&(!(r||!s(this,e)||!s(Q,e)||s(this,G)&&this[G][e])||r)},at=function(t,e){var r=d(t),n=b(e);if(r!==z||!s(Q,n)||s(X,n)){var o=H(r,n);return!o||!s(Q,n)||s(r,G)&&r[G][n]||(o.enumerable=!0),o}},st=function(t){var e=J(d(t)),r=[];return B(e,(function(t){s(Q,t)||s(A,t)||r.push(t)})),r},lt=function(t){var e=t===z,r=J(e?X:d(t)),n=[];return B(r,(function(t){!s(Q,t)||e&&!s(z,t)||n.push(Q[t])})),n};(f||(k((q=function(){if(this instanceof q)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?g(arguments[0]):void 0,e=C(t),r=function(t){this===z&&r.call(X,t),s(this,G)&&s(this[G],e)&&(this[G][e]=!1),ot(this,e,w(1,t))};return u&&nt&&ot(z,e,{configurable:!0,set:r}),it(e,t)}).prototype,"toString",(function(){return K(this).tag})),k(q,"withoutSetter",(function(t){return it(C(t),t)})),_.f=ft,E.f=ct,P.f=at,x.f=j.f=st,S.f=lt,D.f=function(t){return it(L(t),t)},u&&(Y(q.prototype,"description",{configurable:!0,get:function(){return K(this).description}}),c||k(z,"propertyIsEnumerable",ft,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!f,sham:!f},{Symbol:q}),B(O(et),(function(t){N(t)})),n({target:"Symbol",stat:!0,forced:!f},{for:function(t){var e=g(t);if(s(Z,e))return Z[e];var r=q(e);return Z[e]=r,tt[r]=e,r},keyFor:function(t){if(!y(t))throw TypeError(t+" is not a symbol");if(s(tt,t))return tt[t]},useSetter:function(){nt=!0},useSimple:function(){nt=!1}}),n({target:"Object",stat:!0,forced:!f,sham:!u},{create:function(t,e){return void 0===e?m(t):ut(m(t),e)},defineProperty:ct,defineProperties:ut,getOwnPropertyDescriptor:at}),n({target:"Object",stat:!0,forced:!f},{getOwnPropertyNames:st,getOwnPropertySymbols:lt}),n({target:"Object",stat:!0,forced:a((function(){S.f(1)}))},{getOwnPropertySymbols:function(t){return S.f(h(t))}}),U)&&n({target:"JSON",stat:!0,forced:!f||a((function(){var t=q();return"[null]"!=U([t])||"{}"!=U({a:t})||"{}"!=U(Object(t))}))},{stringify:function(t,e,r){for(var n,o=[t],i=1;arguments.length>i;)o.push(arguments[i++]);if(n=e,(p(e)||void 0!==t)&&!y(t))return l(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!y(e))return e}),o[1]=e,U.apply(null,o)}});q.prototype[V]||T(q.prototype,V,q.prototype.valueOf),F(q,"Symbol"),A[G]=!0},function(t,e,r){var n=r(12),o=r(30),i=r(54),c=r(8);t.exports=n("Reflect","ownKeys")||function(t){var e=o.f(c(t)),r=i.f;return r?e.concat(r(t)):e}},function(t,e,r){var n=r(10),o=r(14),i=r(60),c=function(t){return function(e,r,c){var u,f=n(e),a=o(f.length),s=i(c,a);if(t&&r!=r){for(;a>s;)if((u=f[s++])!=u)return!0}else for(;a>s;s++)if((t||s in f)&&f[s]===r)return t||s||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},,function(t,e,r){var n=r(43),o=r(24),i=r(1)("toStringTag"),c="Arguments"==o(function(){return arguments}());t.exports=n?o:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),i))?r:c?o(e):"Object"==(n=o(e))&&"function"==typeof e.callee?"Arguments":n}},function(t,e,r){var n=r(1);e.f=n},function(t,e,r){var n=r(3),o=r(19),i=r(84),c=r(1)("toPrimitive");t.exports=function(t,e){if(!n(t)||o(t))return t;var r,u=t[c];if(void 0!==u){if(void 0===e&&(e="default"),r=u.call(t,e),!n(r)||o(r))return r;throw TypeError("Can't convert object to primitive value")}return void 0===e&&(e="number"),i(t,e)}},function(t,e,r){var n=r(0),o=r(62),i=r(49),c=r(9),u=r(1),f=u("iterator"),a=u("toStringTag"),s=i.values;for(var l in o){var p=n[l],y=p&&p.prototype;if(y){if(y[f]!==s)try{c(y,f,s)}catch(t){y[f]=s}if(y[a]||c(y,a,l),o[l])for(var v in i)if(y[v]!==i[v])try{c(y,v,i[v])}catch(t){y[v]=i[v]}}}},function(t,e,r){var n=r(101),o=r(5),i=r(75),c=r(6).f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});o(e,t)||c(e,t,{value:i.f(t)})}},function(t,e,r){var n=r(4),o=r(7);n({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:r(6).f})},function(t,e,r){"use strict";var n=r(4),o=r(7),i=r(0),c=r(5),u=r(3),f=r(6).f,a=r(57),s=i.Symbol;if(o&&"function"==typeof s&&(!("description"in s.prototype)||void 0!==s().description)){var l={},p=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof p?new s(t):void 0===t?s():s(t);return""===t&&(l[e]=!0),e};a(p,s);var y=p.prototype=s.prototype;y.constructor=p;var v=y.toString,h="Symbol(test)"==String(s("test")),d=/^Symbol\((.*)\)[^)]+$/;f(y,"description",{configurable:!0,get:function(){var t=u(this)?this.valueOf():this,e=v.call(t);if(c(l,t))return"";var r=h?e.slice(7,-1):e.replace(d,"$1");return""===r?void 0:r}}),n({global:!0,forced:!0},{Symbol:p})}},function(t,e,r){r(78)("iterator")},function(t,e,r){var n=r(7),o=r(6),i=r(8),c=r(46);t.exports=n?Object.defineProperties:function(t,e){i(t);for(var r,n=c(e),u=n.length,f=0;u>f;)o.f(t,r=n[f++],e[r]);return t}},function(t,e){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,e,r){var n=r(3);t.exports=function(t,e){var r,o;if("string"===e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!n(o=r.call(t)))return o;if("string"!==e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,r){var n=r(0),o=r(44),i=n.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},function(t,e,r){var n=r(3),o=r(28),i=r(1)("species");t.exports=function(t){var e;return o(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!o(e.prototype)?n(e)&&null===(e=e[i])&&(e=void 0):e=void 0),void 0===e?Array:e}},function(t,e,r){var n=r(2);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,e,r){var n=r(10),o=r(30).f,i={}.toString,c="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return c&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return c.slice()}}(t):o(n(t))}},function(t,e,r){"use strict";var n=r(4),o=r(61);n({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(t,e,r){var n=r(0),o=r(62),i=r(61),c=r(9);for(var u in o){var f=n[u],a=f&&f.prototype;if(a&&a.forEach!==i)try{c(a,"forEach",i)}catch(t){a.forEach=i}}},function(t,e,r){var n=r(1),o=r(20),i=r(6),c=n("unscopables"),u=Array.prototype;null==u[c]&&i.f(u,c,{configurable:!0,value:o(null)}),t.exports=function(t){u[c][t]=!0}},function(t,e,r){var n=r(12);t.exports=n("document","documentElement")},function(t,e,r){var n=r(34),o=r(31),i=r(27),c=function(t){return function(e,r){var c,u,f=o(i(e)),a=n(r),s=f.length;return a<0||a>=s?t?"":void 0:(c=f.charCodeAt(a))<55296||c>56319||a+1===s||(u=f.charCodeAt(a+1))<56320||u>57343?t?f.charAt(a):c:t?f.slice(a,a+2):u-56320+(c-55296<<10)+65536}};t.exports={codeAt:c(!1),charAt:c(!0)}},function(t,e,r){"use strict";var n=r(65).IteratorPrototype,o=r(20),i=r(15),c=r(39),u=r(22),f=function(){return this};t.exports=function(t,e,r){var a=e+" Iterator";return t.prototype=o(n,{next:i(1,r)}),c(t,a,!1,!0),u[a]=f,t}},function(t,e,r){var n=r(3);t.exports=function(t){if(!n(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},,,,,function(t,e,r){"use strict";var n=r(43),o=r(74);t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},function(t,e,r){var n=r(0);t.exports=n},,,function(t,e,r){"use strict";var n=r(4),o=r(2),i=r(28),c=r(3),u=r(11),f=r(14),a=r(55),s=r(59),l=r(63),p=r(1),y=r(38),v=p("isConcatSpreadable"),h=y>=51||!o((function(){var t=[];return t[v]=!1,t.concat()[0]!==t})),d=l("concat"),b=function(t){if(!c(t))return!1;var e=t[v];return void 0!==e?!!e:i(t)};n({target:"Array",proto:!0,forced:!h||!d},{concat:function(t){var e,r,n,o,i,c=u(this),l=s(c,0),p=0;for(e=-1,n=arguments.length;e<n;e++)if(b(i=-1===e?c:arguments[e])){if(p+(o=f(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(r=0;r<o;r++,p++)r in i&&a(l,p,i[r])}else{if(p>=9007199254740991)throw TypeError("Maximum allowed index exceeded");a(l,p++,i)}return l.length=p,l}})},,function(t,e,r){var n=r(4),o=r(2),i=r(10),c=r(18).f,u=r(7),f=o((function(){c(1)}));n({target:"Object",stat:!0,forced:!u||f,sham:!u},{getOwnPropertyDescriptor:function(t,e){return c(i(t),e)}})},,,function(t,e,r){r(4)({target:"Object",stat:!0},{setPrototypeOf:r(64)})},function(t,e,r){var n=r(4),o=r(2),i=r(11),c=r(52),u=r(87);n({target:"Object",stat:!0,forced:o((function(){c(1)})),sham:!u},{getPrototypeOf:function(t){return c(i(t))}})},function(t,e,r){var n=r(4),o=r(12),i=r(45),c=r(8),u=r(3),f=r(20),a=r(131),s=r(2),l=o("Reflect","construct"),p=s((function(){function t(){}return!(l((function(){}),[],t)instanceof t)})),y=!s((function(){l((function(){}))})),v=p||y;n({target:"Reflect",stat:!0,forced:v,sham:v},{construct:function(t,e){i(t),c(e);var r=arguments.length<3?t:i(arguments[2]);if(y&&!p)return l(t,e,r);if(t==r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return n.push.apply(n,e),new(a.apply(t,n))}var o=r.prototype,s=f(u(o)?o:Object.prototype),v=Function.apply.call(t,s,e);return u(v)?v:s}})},function(t,e,r){r(4)({target:"Object",stat:!0,sham:!r(7)},{create:r(20)})},,,,,,,,,,function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=new(r(136).a)([32,32,1]);function o(){return n.next()}},function(t,e,r){"use strict";r.d(e,"d",(function(){return n})),r.d(e,"a",(function(){return o})),r.d(e,"b",(function(){return i})),r.d(e,"c",(function(){return c})),r.d(e,"e",(function(){return u})),r.d(e,"f",(function(){return f}));var n={width:40,height:40},o={width:40,height:40},i={width:40,height:40},c={width:100,height:80},u={width:100,height:80},f={rect:{radius:5,stroke:"rgb(24, 125, 255)"},circle:{r:18,stroke:"rgb(24, 125, 255)"},polygon:{stroke:"rgb(24, 125, 255)"},polyline:{stroke:"rgb(24, 125, 255)",hoverStroke:"rgb(24, 125, 255)",selectedStroke:"rgb(24, 125, 255)"},edgeText:{background:{fill:"white",height:14,stroke:"transparent",radius:3}}}},,,function(t,e,r){var n=r(4),o=r(11),i=r(46);n({target:"Object",stat:!0,forced:r(2)((function(){i(1)}))},{keys:function(t){return i(o(t))}})},,function(t,e,r){"use strict";var n=r(4),o=r(42).filter;n({target:"Array",proto:!0,forced:!r(63)("filter")},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,r){var n=r(4),o=r(7),i=r(71),c=r(10),u=r(18),f=r(55);n({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(t){for(var e,r,n=c(t),o=u.f,a=i(n),s={},l=0;a.length>l;)void 0!==(r=o(n,e=a[l++]))&&f(s,e,r);return s}})},function(t,e,r){var n=r(4),o=r(7);n({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:r(82)})},function(t,e,r){"use strict";var n=r(45),o=r(3),i=[].slice,c={},u=function(t,e,r){if(!(e in c)){for(var n=[],o=0;o<e;o++)n[o]="a["+o+"]";c[e]=Function("C,a","return new C("+n.join(",")+")")}return c[e](t,r)};t.exports=Function.bind||function(t){var e=n(this),r=i.call(arguments,1),c=function(){var n=r.concat(i.call(arguments));return this instanceof c?u(e,n.length,n):e.apply(t,n)};return o(e.prototype)&&(c.prototype=e.prototype),c}},function(t,e,r){var n=r(4),o=r(3),i=r(8),c=r(152),u=r(18),f=r(52);n({target:"Reflect",stat:!0},{get:function t(e,r){var n,a,s=arguments.length<3?e:arguments[2];return i(e)===s?e[r]:(n=u.f(e,r))?c(n)?n.value:void 0===n.get?void 0:n.get.call(s):o(a=f(e))?t(a,r,s):void 0}})},,,,function(t,e,r){"use strict";var n=function(t,e){return t(e={exports:{}},e.exports),e.exports}((function(t){var e=t.exports=function(t,r){if(r||(r=16),void 0===t&&(t=128),t<=0)return"0";for(var n=Math.log(Math.pow(2,t))/Math.log(r),o=2;n===1/0;o*=2)n=Math.log(Math.pow(2,t/o))/Math.log(r)*o;var i=n-Math.floor(n),c="";for(o=0;o<Math.floor(n);o++){c=Math.floor(Math.random()*r).toString(r)+c}if(i){var u=Math.pow(r,i);c=Math.floor(Math.random()*u).toString(r)+c}var f=parseInt(c,r);return f!==1/0&&f>=Math.pow(2,t)?e(t,r):c};e.rack=function(t,r,n){var o=function(o){var c=0;do{if(c++>10){if(!n)throw new Error("too many ID collisions, use more bits");t+=n}var u=e(t,r)}while(Object.hasOwnProperty.call(i,u));return i[u]=o,u},i=o.hats={};return o.get=function(t){return o.hats[t]},o.set=function(t,e){return o.hats[t]=e,o},o.bits=t||128,o.base=r||16,o}}));function o(t){if(!(this instanceof o))return new o(t);t=t||[128,36,1],this._seed=t.length?n.rack(t[0],t[1],t[2]):t}o.prototype.next=function(t){return this._seed(t||!0)},o.prototype.nextPrefixed=function(t,e){var r;do{r=t+this.next(!0)}while(this.assigned(r));return this.claim(r,e),r},o.prototype.claim=function(t,e){this._seed.set(t,e||!0)},o.prototype.assigned=function(t){return this._seed.get(t)||!1},o.prototype.unclaim=function(t){delete this._seed.hats[t]},o.prototype.clear=function(){var t,e=this._seed.hats;for(t in e)this.unclaim(t)},e.a=o},,,,,,,,,function(t,e,r){var n=r(4),o=r(160),i=r(91);n({target:"Array",proto:!0},{fill:o}),i("fill")},,,,,,,function(t,e,r){var n=r(5);t.exports=function(t){return void 0!==t&&(n(t,"value")||n(t,"writable"))}},,,,,,,,function(t,e,r){"use strict";var n=r(11),o=r(60),i=r(14);t.exports=function(t){for(var e=n(this),r=i(e.length),c=arguments.length,u=o(c>1?arguments[1]:void 0,r),f=c>2?arguments[2]:void 0,a=void 0===f?r:o(f,r);a>u;)e[u++]=t;return e}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,r){"use strict";r.r(e),r.d(e,"BpmnElement",(function(){return Lt})),r.d(e,"StartEventModel",(function(){return b})),r.d(e,"StartEventView",(function(){return g})),r.d(e,"EndEventView",(function(){return A})),r.d(e,"EndEventModel",(function(){return M})),r.d(e,"ExclusiveGatewayView",(function(){return q})),r.d(e,"ExclusiveGatewayModel",(function(){return z})),r.d(e,"UserTaskView",(function(){return ot})),r.d(e,"UserTaskModel",(function(){return nt})),r.d(e,"ServiceTaskView",(function(){return bt})),r.d(e,"ServiceTaskModel",(function(){return dt})),r.d(e,"SequenceFlowView",(function(){return Tt})),r.d(e,"SequenceFlowModel",(function(){return _t}));r(79),r(109),r(110),r(111),r(112),r(132),r(106),r(126),r(70),r(128),r(89),r(90),r(129),r(130),r(80),r(68),r(81),r(49),r(69),r(77);var n=r(23),o=r(122);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e,r){return e&&f(t.prototype,e),r&&f(t,r),t}function s(t,e,r){return(s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=h(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}function p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function y(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=h(t);if(e){var o=h(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return v(this,r)}}function v(t,e){if(e&&("object"===i(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function h(t){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function d(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var b=function(t){l(r,t);var e=y(r);function r(t,n){return u(this,r),t.id||(t.id="Event_".concat(Object(o.a)())),t.text||(t.text=""),t.text&&"string"==typeof t.text&&(t.text={value:t.text,x:t.x,y:t.y+40}),e.call(this,t,n)}return a(r,[{key:"getConnectedTargetRules",value:function(){var t=s(h(r.prototype),"getConnectedTargetRules",this).call(this);return t.push({message:"起始节点不能作为连线的终点",validate:function(){return!1}}),t}}]),r}(n.CircleNodeModel);d(b,"extendKey","StartEventModel");var g=function(t){l(r,t);var e=y(r);function r(){return u(this,r),e.apply(this,arguments)}return a(r,[{key:"getAttributes",value:function(){return function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c(Object(r),!0).forEach((function(e){d(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},s(h(r.prototype),"getAttributes",this).call(this))}}]),r}(n.CircleNode);d(g,"extendKey","StartEventNode");var w={type:"bpmn:startEvent",view:g,model:b};r(145);function m(t){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function O(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function x(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function j(t,e,r){return e&&x(t.prototype,e),r&&x(t,r),t}function S(t,e,r){return(S="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=k(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function P(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&E(t,e)}function E(t,e){return(E=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function _(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=k(t);if(e){var o=k(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return T(this,r)}}function T(t,e){if(e&&("object"===m(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function k(t){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function R(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var M=function(t){P(r,t);var e=_(r);function r(t,n){return O(this,r),t.id||(t.id="Event_".concat(Object(o.a)())),t.text||(t.text=""),t.text&&"string"==typeof t.text&&(t.text={value:t.text,x:t.x,y:t.y+40}),e.call(this,t,n)}return j(r,[{key:"getConnectedSourceRules",value:function(){var t=S(k(r.prototype),"getConnectedSourceRules",this).call(this);return t.push({message:"结束节点不能作为连线的起点",validate:function(){return!1}}),t}}]),r}(n.CircleNodeModel);R(M,"extendKey","EndEventModel");var A=function(t){P(r,t);var e=_(r);function r(){return O(this,r),e.apply(this,arguments)}return j(r,[{key:"getAnchorStyle",value:function(){return{visibility:"hidden"}}},{key:"getShape",value:function(){var t=this.getAttributes(),e=t.x,o=t.y,i=t.fill,c=t.stroke,u=t.strokeWidth,f=t.r,a=S(k(r.prototype),"getShape",this).call(this);return Object(n.h)("g",{},a,Object(n.h)("circle",{cx:e,cy:o,fill:i,stroke:c,strokeWidth:u,r:f-5}))}}]),r}(n.CircleNode);R(A,"extendKey","EndEventView");var C={type:"bpmn:endEvent",view:A,model:M};r(104);function L(t){return(L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function D(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function N(t,e,r){return(N="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=W(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function F(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function I(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&B(t,e)}function B(t,e){return(B=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function G(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=W(t);if(e){var o=W(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return V(this,r)}}function V(t,e){if(e&&("object"===L(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function W(t){return(W=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function K(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var z=function(t){I(r,t);var e=G(r);function r(t,n){var i;return F(this,r),t.id||(t.id="Gateway_".concat(Object(o.a)())),t.text||(t.text=""),t.text&&"string"==typeof t.text&&(t.text={value:t.text,x:t.x,y:t.y+40}),(i=e.call(this,t,n)).points=[[25,0],[50,25],[25,50],[0,25]],i}return r}(n.PolygonNodeModel);K(z,"extendKey","ExclusiveGatewayModel");var q=function(t){I(c,t);var e,r,o,i=G(c);function c(){return F(this,c),i.apply(this,arguments)}return e=c,(r=[{key:"getShape",value:function(){var t=N(W(c.prototype),"getAttributes",this).call(this),e=t.x,r=t.y,o=t.fill,i=t.stroke,u=t.strokeWidth,f=t.width,a=t.height,s=t.points;return Object(n.h)("g",{transform:"matrix(1 0 0 1 ".concat(e-f/2," ").concat(r-a/2,")")},Object(n.h)("polygon",{fill:o,x:e,y:r,stroke:i,strokeWidth:u,points:s}),Object(n.h)("path",{fill:o,stroke:i,strokeWidth:u,d:"m 16,15 7.42857142857143,9.714285714285715 -7.42857142857143,9.714285714285715 3.428571428571429,0 5.714285714285715,-7.464228571428572 5.714285714285715,7.464228571428572 3.428571428571429,0 -7.42857142857143,-9.714285714285715 7.42857142857143,-9.714285714285715 -3.428571428571429,0 -5.714285714285715,7.464228571428572 -5.714285714285715,-7.464228571428572 -3.428571428571429,0 z"}))}}])&&D(e.prototype,r),o&&D(e,o),c}(n.PolygonNode);K(q,"extendKey","ExclusiveGatewayNode");var U={type:"bpmn:exclusiveGateway",view:q,model:z};function H(t){return(H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Y(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function J(t,e,r){return(J="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=et(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function $(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Q(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&X(t,e)}function X(t,e){return(X=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Z(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=et(t);if(e){var o=et(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return tt(this,r)}}function tt(t,e){if(e&&("object"===H(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function et(t){return(et=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function rt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var nt=function(t){Q(r,t);var e=Z(r);function r(t,n){return $(this,r),t.id||(t.id="Activity_".concat(Object(o.a)())),e.call(this,t,n)}return r}(n.RectNodeModel);rt(nt,"extendKey","UserTaskModel");var ot=function(t){Q(c,t);var e,r,o,i=Z(c);function c(){return $(this,c),i.apply(this,arguments)}return e=c,(r=[{key:"getLabelShape",value:function(){var t=J(et(c.prototype),"getAttributes",this).call(this),e=t.x,r=t.y,o=t.width,i=t.height,u=t.stroke;return Object(n.h)("svg",{x:e-o/2+5,y:r-i/2+5,width:25,height:25,viewBox:"0 0 1274 1024"},Object(n.h)("path",{fill:u,d:"M655.807326 287.35973m-223.989415 0a218.879 218.879 0 1 0 447.978829 0 218.879 218.879 0 1 0-447.978829 0ZM1039.955839 895.482975c-0.490184-212.177424-172.287821-384.030443-384.148513-384.030443-211.862739 0-383.660376 171.85302-384.15056 384.030443L1039.955839 895.482975z"}))}},{key:"getShape",value:function(){var t=J(et(c.prototype),"getAttributes",this).call(this),e=t.x,r=t.y,o=t.width,i=t.height,u=t.fill,f=t.stroke,a=t.strokeWidth,s=t.radius;return Object(n.h)("g",{},[Object(n.h)("rect",{x:e-o/2,y:r-i/2,rx:s,ry:s,fill:u,stroke:f,strokeWidth:a,width:o,height:i}),this.getLabelShape()])}}])&&Y(e.prototype,r),o&&Y(e,o),c}(n.RectNode);rt(ot,"extendKey","UserTaskNode");var it={type:"bpmn:userTask",view:ot,model:nt};function ct(t){return(ct="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ut(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function ft(t,e,r){return(ft="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=vt(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function at(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function st(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&<(t,e)}function lt(t,e){return(lt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function pt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=vt(t);if(e){var o=vt(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return yt(this,r)}}function yt(t,e){if(e&&("object"===ct(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function vt(t){return(vt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ht(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var dt=function(t){st(r,t);var e=pt(r);function r(t,n){return at(this,r),t.id||(t.id="Activity_".concat(Object(o.a)())),e.call(this,t,n)}return r}(n.RectNodeModel);ht(dt,"extendKey","ServiceTaskModel");var bt=function(t){st(c,t);var e,r,o,i=pt(c);function c(){return at(this,c),i.apply(this,arguments)}return e=c,(r=[{key:"getLabelShape",value:function(){var t=ft(vt(c.prototype),"getAttributes",this).call(this),e=t.x,r=t.y,o=t.width,i=t.height,u=t.stroke;return Object(n.h)("svg",{x:e-o/2+5,y:r-i/2+5,width:30,height:30,viewBox:"0 0 1274 1024"},Object(n.h)("path",{fill:u,d:"M882.527918 434.149934c-2.234901-5.303796-7.311523-8.853645-13.059434-9.138124l-61.390185-3.009544c-6.635117-20.973684-15.521508-41.175795-26.513864-60.282968l42.051745-47.743374c4.308119-4.889357 4.955872-12.004405 1.602498-17.59268-46.384423-77.30362-103.969956-101.422947-106.400309-102.410438-5.332449-2.170432-11.432377-1.090844-15.693424 2.77009L654.674467 240.664222c-17.004279-8.654101-35.092239-15.756869-53.995775-21.210068l-3.26537-66.490344c-0.280386-5.747911-3.833305-10.824533-9.134031-13.059434-1.683339-0.709151-30.193673-12.391215-76.866668-12.051477-46.672996-0.339738-75.18333 11.342326-76.866668 12.051477-5.300726 2.234901-8.853645 7.311523-9.134031 13.059434l-3.26537 66.490344c-18.903535 5.453199-36.991496 12.555967-53.995775 21.210068l-48.450479-43.922349c-4.261047-3.860934-10.360975-4.940522-15.693424-2.77009-2.430352 0.98749-60.015885 25.106818-106.400309 102.410438-3.353374 5.588275-2.705622 12.703323 1.602498 17.59268l42.051745 47.743374c-10.992355 19.107173-19.878746 39.309284-26.513864 60.282968l-61.390185 3.009544c-5.747911 0.284479-10.824533 3.834328-13.059434 9.138124-1.01512 2.415003-24.687262 60.190871-2.822278 147.651828 1.583055 6.324032 7.072069 10.893094 13.57518 11.308557 5.892197 0.37146 11.751648 0.523933 17.419741 0.667196 14.498202 0.372483 28.193109 0.723477 40.908712 4.63353 4.212952 1.294482 6.435573 8.270361 9.349949 18.763342 1.287319 4.640694 2.617617 9.43693 4.484128 14.010085 1.794879 4.393054 3.75758 8.570189 5.66093 12.607132 1.302669 2.765997 2.529613 5.380544 3.689019 8.018627 2.986007 6.803963 2.682086 9.773598 2.578732 10.349719-3.061732 3.672646-6.391571 7.238868-9.91379 11.015891-1.810229 1.943258-3.680832 3.949962-5.523807 5.980201l-22.560832 24.8909c-3.865028 4.261047-4.940522 10.365068-2.774183 15.693424 0.991584 2.426259 25.102724 60.011792 102.414531 106.400309 5.588275 3.353374 12.703323 2.701528 17.591657-1.603521l23.476691-20.682042c2.346441-2.061962 4.64888-4.336772 6.875594-6.534833 9.05319-8.93858 14.018272-12.95608 17.73185-11.576663 3.305279 1.222851 6.907317 3.166109 10.720156 5.228071 3.325745 1.794879 6.764054 3.650133 10.465352 5.288446 6.016017 2.662643 12.120039 4.688789 18.019399 6.65149 6.827499 2.266623 13.279445 4.409426 18.819624 7.275707 1.518586 0.782829 1.926886 0.994654 2.358721 7.830339 0.726547 11.496845 1.25048 23.276123 1.753947 34.672684 0.264013 5.900384 0.528026 11.803837 0.815575 17.700127 0.284479 5.743818 3.833305 10.82044 9.138124 13.05534 1.654686 0.698918 29.371958 12.063757 74.869175 12.063757 0.328481 0 3.65832 0 3.986801 0 45.497217 0 73.214489-11.364839 74.869175-12.063757 5.304819-2.234901 8.853645-7.311523 9.138124-13.05534 0.287549-5.89629 0.551562-11.799744 0.815575-17.700127 0.503467-11.396561 1.027399-23.175839 1.753947-34.672684 0.431835-6.835685 0.840134-7.04751 2.358721-7.830339 5.54018-2.866281 11.992125-5.009084 18.819624-7.275707 5.89936-1.962701 12.003382-3.988848 18.019399-6.65149 3.701299-1.638313 7.139607-3.493567 10.465352-5.288446 3.812839-2.061962 7.414877-4.00522 10.720156-5.228071 3.713578-1.379417 8.67866 2.638083 17.73185 11.576663 2.226714 2.198062 4.529153 4.472871 6.875594 6.534833l23.476691 20.682042c4.888334 4.305049 12.003382 4.956895 17.591657 1.603521 77.311807-46.388517 101.422947-103.97405 102.414531-106.400309 2.166339-5.328355 1.090844-11.432377-2.774183-15.693424l-22.560832-24.8909c-1.842974-2.030239-3.713578-4.036943-5.523807-5.980201-3.52222-3.777023-6.852058-7.343245-9.91379-11.015891-0.103354-0.576121-0.407276-3.545756 2.578732-10.349719 1.159406-2.638083 2.38635-5.252631 3.689019-8.018627 1.90335-4.036943 3.866051-8.214079 5.66093-12.607132 1.866511-4.573155 3.196809-9.369392 4.484128-14.010085 2.914376-10.492982 5.136997-17.46886 9.349949-18.763342 12.715603-3.910053 26.41051-4.261047 40.908712-4.63353 5.668093-0.143263 11.527544-0.295735 17.419741-0.667196 6.503111-0.415462 11.992125-4.984524 13.57518-11.308557C907.21518 494.340805 883.543038 436.564937 882.527918 434.149934zM643.49894 643.761929c-35.280528 35.280528-82.191954 54.711066-132.086317 54.711066s-96.806813-19.430538-132.086317-54.711066c-35.280528-35.279504-54.711066-82.191954-54.711066-132.086317 0-49.894364 19.430538-96.80272 54.711066-132.082224 35.283598-35.284621 82.191954-54.711066 132.086317-54.711066s96.80579 19.426445 132.086317 54.711066c35.279504 35.279504 54.711066 82.187861 54.711066 132.082224C698.210006 561.569976 678.782537 608.482425 643.49894 643.761929z"}))}},{key:"getShape",value:function(){var t=ft(vt(c.prototype),"getAttributes",this).call(this),e=t.x,r=t.y,o=t.width,i=t.height,u=t.fill,f=t.stroke,a=t.strokeWidth,s=t.radius;return Object(n.h)("g",{},[Object(n.h)("rect",{x:e-o/2,y:r-i/2,rx:s,ry:s,fill:u,stroke:f,strokeWidth:a,width:o,height:i}),this.getLabelShape()])}}])&&ut(e.prototype,r),o&&ut(e,o),c}(n.RectNode);ht(bt,"extendKey","ServiceTaskNode");var gt={type:"bpmn:serviceTask",view:bt,model:dt};function wt(t){return(wt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function mt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ot(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xt(t,e)}function xt(t,e){return(xt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function jt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=Pt(t);if(e){var o=Pt(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return St(this,r)}}function St(t,e){if(e&&("object"===wt(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function Pt(t){return(Pt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Et(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var _t=function(t){Ot(r,t);var e=jt(r);function r(t,n){return mt(this,r),t.id||(t.id="Flow_".concat(Object(o.a)())),e.call(this,t,n)}return r}(n.PolylineEdgeModel);Et(_t,"extendKey","SequenceFlowModel");var Tt=function(t){Ot(r,t);var e=jt(r);function r(){return mt(this,r),e.apply(this,arguments)}return r}(n.PolylineEdge);Et(Tt,"extendKey","SequenceFlowEdge");var kt={type:"bpmn:sequenceFlow",view:Tt,model:_t},Rt=r(123);var Mt,At,Ct,Lt=function t(e){var r=e.lf;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),r.setTheme(Rt.f),r.register(w),r.register(C),r.register(U),r.register(it),r.register(gt),r.options.customBpmnEdge||(r.register(kt),r.setDefaultEdgeType("bpmn:sequenceFlow"))};Ct="BpmnElement",(At="pluginName")in(Mt=Lt)?Object.defineProperty(Mt,At,{value:Ct,enumerable:!0,configurable:!0,writable:!0}):Mt[At]=Ct}])}));
|
package/lib/ContextMenu.js
CHANGED
|
@@ -1 +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=190)}([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(82))},function(t,e,n){var r=n(0),o=n(35),i=n(5),u=n(29),c=n(36),a=n(48),f=o("wks"),s=r.Symbol,l=a?s:s&&s.withoutSetter||u;t.exports=function(t){return i(f,t)&&(c||"string"==typeof f[t])||(c&&i(s,t)?f[t]=s[t]:f[t]=l("Symbol."+t)),f[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(18).f,i=n(9),u=n(13),c=n(33),a=n(57),f=n(60);t.exports=function(t,e){var n,s,l,p,v,y=t.target,h=t.global,d=t.stat;if(n=h?r:d?r[y]||c(y,{}):(r[y]||{}).prototype)for(s in e){if(p=e[s],l=t.noTargetGet?(v=o(n,s))&&v.value:n[s],!f(h?s:y+(d?".":"#")+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,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(11),o={}.hasOwnProperty;t.exports=Object.hasOwn||function(t,e){return o.call(r(t),e)}},function(t,e,n){var r=n(7),o=n(49),i=n(8),u=n(22),c=Object.defineProperty;e.f=r?c:function(t,e,n){if(i(t),e=u(e),i(n),o)try{return c(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(2);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e,n){var r=n(4);t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},function(t,e,n){var r=n(7),o=n(6),i=n(15);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(42),o=n(27);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(27);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(0),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?o(r[t]):r[t]&&r[t][e]}},function(t,e,n){var r=n(0),o=n(9),i=n(5),u=n(33),c=n(45),a=n(17),f=a.get,s=a.enforce,l=String(String).split("String");(t.exports=function(t,e,n,c){var a,f=!!c&&!!c.unsafe,p=!!c&&!!c.enumerable,v=!!c&&!!c.noTargetGet;"function"==typeof n&&("string"!=typeof e||i(n,"name")||o(n,"name",e),(a=s(n)).source||(a.source=l.join("string"==typeof e?e:""))),t!==r?(f?!v&&t[e]&&(p=!0):delete t[e],p?t[e]=n:o(t,e,n)):p?t[e]=n:u(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&f(this).source||c(this)}))},function(t,e,n){var r=n(34),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){t.exports={}},function(t,e,n){var r,o,i,u=n(86),c=n(0),a=n(4),f=n(9),s=n(5),l=n(32),p=n(25),v=n(16),y=c.WeakMap;if(u||l.state){var h=l.state||(l.state=new y),d=h.get,g=h.has,m=h.set;r=function(t,e){if(g.call(h,t))throw new TypeError("Object already initialized");return e.facade=t,m.call(h,t,e),e},o=function(t){return d.call(h,t)||{}},i=function(t){return g.call(h,t)}}else{var x=p("state");v[x]=!0,r=function(t,e){if(s(t,x))throw new TypeError("Object already initialized");return e.facade=t,f(t,x,e),e},o=function(t){return s(t,x)?t[x]:{}},i=function(t){return s(t,x)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!a(e)||(n=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},function(t,e,n){var r=n(7),o=n(51),i=n(15),u=n(10),c=n(22),a=n(5),f=n(49),s=Object.getOwnPropertyDescriptor;e.f=r?s:function(t,e){if(t=u(t),e=c(e),f)try{return s(t,e)}catch(t){}if(a(t,e))return i(!o.f.call(t,e),t[e])}},function(t,e,n){var r=n(12),o=n(48);t.exports=o?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return"function"==typeof e&&Object(t)instanceof e}},function(t,e,n){var r,o=n(8),i=n(83),u=n(37),c=n(16),a=n(93),f=n(52),s=n(25),l=s("IE_PROTO"),p=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},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).open(),t.write(v("document.F=Object")),t.close(),t.F):y(r);for(var n=u.length;n--;)delete h.prototype[u[n]];return h()};c[l]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(p.prototype=o(t),n=new p,p.prototype=null,n[l]=t):n=h(),void 0===e?n:i(n,e)}},,function(t,e,n){var r=n(76),o=n(19);t.exports=function(t){var e=r(t,"string");return o(e)?e:String(e)}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=!1},function(t,e,n){var r=n(35),o=n(29),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,e){t.exports={}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(23);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+r).toString(36)}},function(t,e,n){var r=n(53),o=n(37).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){var r=n(19);t.exports=function(t){if(r(t))throw TypeError("Cannot convert a Symbol value to a string");return String(t)}},function(t,e,n){var r=n(0),o=n(33),i=r["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,e,n){var r=n(0);t.exports=function(t,e){try{Object.defineProperty(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(24),o=n(32);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.17.2",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){var r=n(38),o=n(2);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e,n){var r,o,i=n(0),u=n(67),c=i.process,a=i.Deno,f=c&&c.versions||a&&a.version,s=f&&f.v8;s?o=(r=s.split("."))[0]<4?1:r[0]+r[1]:u&&(!(r=u.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=u.match(/Chrome\/(\d+)/))&&(o=r[1]),t.exports=o&&+o},function(t,e,n){var r=n(6).f,o=n(5),i=n(1)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e,n){var r=n(41),o=n(42),i=n(11),u=n(14),c=n(58),a=[].push,f=function(t){var e=1==t,n=2==t,f=3==t,s=4==t,l=6==t,p=7==t,v=5==t||l;return function(y,h,d,g){for(var m,x,b=i(y),S=o(b),w=r(h,d,3),O=u(S.length),E=0,M=g||c,_=e?M(y,O):n||p?M(y,0):void 0;O>E;E++)if((v||E in S)&&(x=w(m=S[E],E,b),t))if(e)_[E]=x;else if(x)switch(t){case 3:return!0;case 5:return m;case 6:return E;case 2:a.call(_,m)}else switch(t){case 4:return!1;case 7:a.call(_,m)}return l?-1:f||s?s:_}};t.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}},function(t,e,n){var r=n(44);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var r=n(2),o=n(23),i="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},function(t,e,n){var r={};r[n(1)("toStringTag")]="z",t.exports="[object z]"===String(r)},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,e,n){var r=n(32),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return o.call(t)}),t.exports=r.inspectSource},function(t,e,n){var r=n(53),o=n(37);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(5),o=n(11),i=n(25),u=n(89),c=i("IE_PROTO"),a=Object.prototype;t.exports=u?Object.getPrototypeOf:function(t){return t=o(t),r(t,c)?t[c]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e,n){var r=n(36);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e,n){var r=n(7),o=n(2),i=n(52);t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){"use strict";var r=n(10),o=n(88),i=n(26),u=n(17),c=n(55),a=u.set,f=u.getterFor("Array Iterator");t.exports=c(Array,"Array",(function(t,e){a(this,{type:"Array Iterator",target:r(t),index:0,kind:e})}),(function(){var t=f(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(t,e,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:r},function(t,e,n){var r=n(0),o=n(4),i=r.document,u=o(i)&&o(i.createElement);t.exports=function(t){return u?i.createElement(t):{}}},function(t,e,n){var r=n(5),o=n(10),i=n(68).indexOf,u=n(16);t.exports=function(t,e){var n,c=o(t),a=0,f=[];for(n in c)!r(u,n)&&r(c,n)&&f.push(n);for(;e.length>a;)r(c,n=e[a++])&&(~i(f,n)||f.push(n));return f}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){"use strict";var r=n(3),o=n(95),i=n(47),u=n(64),c=n(39),a=n(9),f=n(13),s=n(1),l=n(24),p=n(26),v=n(65),y=v.IteratorPrototype,h=v.BUGGY_SAFARI_ITERATORS,d=s("iterator"),g=function(){return this};t.exports=function(t,e,n,s,v,m,x){o(n,e,s);var b,S,w,O=function(t){if(t===v&&T)return T;if(!h&&t in _)return _[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},E=e+" Iterator",M=!1,_=t.prototype,j=_[d]||_["@@iterator"]||v&&_[v],T=!h&&j||O(v),A="Array"==e&&_.entries||j;if(A&&(b=i(A.call(new t)),y!==Object.prototype&&b.next&&(l||i(b)===y||(u?u(b,y):"function"!=typeof b[d]&&a(b,d,g)),c(b,E,!0,!0),l&&(p[E]=g))),"values"==v&&j&&"values"!==j.name&&(M=!0,T=function(){return j.call(this)}),l&&!x||_[d]===T||a(_,d,T),p[e]=T,v)if(S={values:O("values"),keys:m?T:O("keys"),entries:O("entries")},x)for(w in S)(h||M||!(w in _))&&f(_,w,S[w]);else r({target:e,proto:!0,forced:h||M},S);return S}},function(t,e,n){"use strict";var r=n(22),o=n(6),i=n(15);t.exports=function(t,e,n){var u=r(e);u in t?o.f(t,u,i(0,n)):t[u]=n}},function(t,e,n){var r=n(5),o=n(73),i=n(18),u=n(6);t.exports=function(t,e){for(var n=o(e),c=u.f,a=i.f,f=0;f<n.length;f++){var s=n[f];r(t,s)||c(t,s,a(e,s))}}},function(t,e,n){var r=n(87);t.exports=function(t,e){return new(r(t))(0===e?0:e)}},function(t,e,n){var r=n(34),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},function(t,e,n){var r=n(2),o=/#|\.prototype\./,i=function(t,e){var n=c[u(t)];return n==f||n!=a&&("function"==typeof e?r(e):!!e)},u=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=i.data={},a=i.NATIVE="N",f=i.POLYFILL="P";t.exports=i},function(t,e,n){"use strict";var r=n(40).forEach,o=n(66)("forEach");t.exports=o?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(t,e,n){var r=n(2),o=n(1),i=n(38),u=o("species");t.exports=function(t){return i>=51||!r((function(){var e=[];return(e.constructor={})[u]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},function(t,e,n){var r=n(8),o=n(96);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(t){}return function(n,i){return r(n),o(i),e?t.call(n,i):n.__proto__=i,n}}():void 0)},function(t,e,n){"use strict";var r,o,i,u=n(2),c=n(47),a=n(9),f=n(5),s=n(1),l=n(24),p=s("iterator"),v=!1;[].keys&&("next"in(i=[].keys())?(o=c(c(i)))!==Object.prototype&&(r=o):v=!0);var y=null==r||u((function(){var t={};return r[p].call(t)!==t}));y&&(r={}),l&&!y||f(r,p)||a(r,p,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:v}},function(t,e,n){"use strict";var r=n(2);t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){throw 1},1)}))}},function(t,e,n){var r=n(12);t.exports=r("navigator","userAgent")||""},function(t,e,n){var r=n(10),o=n(14),i=n(59),u=function(t){return function(e,n,u){var c,a=r(e),f=o(a.length),s=i(u,f);if(t&&n!=n){for(;f>s;)if((c=a[s++])!=c)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===n)return t||s||0;return!t&&-1}};t.exports={includes:u(!0),indexOf:u(!1)}},function(t,e,n){var r=n(43),o=n(13),i=n(97);r||o(Object.prototype,"toString",i,{unsafe:!0})},function(t,e,n){"use strict";var r=n(94).charAt,o=n(31),i=n(17),u=n(55),c=i.set,a=i.getterFor("String Iterator");u(String,"String",(function(t){c(this,{type:"String Iterator",string:o(t),index:0})}),(function(){var t,e=a(this),n=e.string,o=e.index;return o>=n.length?{value:void 0,done:!0}:(t=r(n,o),e.index+=t.length,{value:t,done:!1})}))},function(t,e,n){"use strict";var r=n(3),o=n(0),i=n(12),u=n(24),c=n(7),a=n(36),f=n(2),s=n(5),l=n(28),p=n(4),v=n(19),y=n(8),h=n(11),d=n(10),g=n(22),m=n(31),x=n(15),b=n(20),S=n(46),w=n(30),O=n(90),E=n(54),M=n(18),_=n(6),j=n(51),T=n(9),A=n(13),I=n(35),N=n(25),P=n(16),k=n(29),C=n(1),D=n(72),L=n(75),F=n(39),R=n(17),G=n(40).forEach,z=N("hidden"),V=C("toPrimitive"),B=R.set,H=R.getterFor("Symbol"),U=Object.prototype,W=o.Symbol,X=i("JSON","stringify"),Y=M.f,$=_.f,K=O.f,q=j.f,J=I("symbols"),Q=I("op-symbols"),Z=I("string-to-symbol-registry"),tt=I("symbol-to-string-registry"),et=I("wks"),nt=o.QObject,rt=!nt||!nt.prototype||!nt.prototype.findChild,ot=c&&f((function(){return 7!=b($({},"a",{get:function(){return $(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=Y(U,e);r&&delete U[e],$(t,e,n),r&&t!==U&&$(U,e,r)}:$,it=function(t,e){var n=J[t]=b(W.prototype);return B(n,{type:"Symbol",tag:t,description:e}),c||(n.description=e),n},ut=function(t,e,n){t===U&&ut(Q,e,n),y(t);var r=g(e);return y(n),s(J,r)?(n.enumerable?(s(t,z)&&t[z][r]&&(t[z][r]=!1),n=b(n,{enumerable:x(0,!1)})):(s(t,z)||$(t,z,x(1,{})),t[z][r]=!0),ot(t,r,n)):$(t,r,n)},ct=function(t,e){y(t);var n=d(e),r=S(n).concat(lt(n));return G(r,(function(e){c&&!at.call(n,e)||ut(t,e,n[e])})),t},at=function(t){var e=g(t),n=q.call(this,e);return!(this===U&&s(J,e)&&!s(Q,e))&&(!(n||!s(this,e)||!s(J,e)||s(this,z)&&this[z][e])||n)},ft=function(t,e){var n=d(t),r=g(e);if(n!==U||!s(J,r)||s(Q,r)){var o=Y(n,r);return!o||!s(J,r)||s(n,z)&&n[z][r]||(o.enumerable=!0),o}},st=function(t){var e=K(d(t)),n=[];return G(e,(function(t){s(J,t)||s(P,t)||n.push(t)})),n},lt=function(t){var e=t===U,n=K(e?Q:d(t)),r=[];return G(n,(function(t){!s(J,t)||e&&!s(U,t)||r.push(J[t])})),r};(a||(A((W=function(){if(this instanceof W)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?m(arguments[0]):void 0,e=k(t),n=function(t){this===U&&n.call(Q,t),s(this,z)&&s(this[z],e)&&(this[z][e]=!1),ot(this,e,x(1,t))};return c&&rt&&ot(U,e,{configurable:!0,set:n}),it(e,t)}).prototype,"toString",(function(){return H(this).tag})),A(W,"withoutSetter",(function(t){return it(k(t),t)})),j.f=at,_.f=ut,M.f=ft,w.f=O.f=st,E.f=lt,D.f=function(t){return it(C(t),t)},c&&($(W.prototype,"description",{configurable:!0,get:function(){return H(this).description}}),u||A(U,"propertyIsEnumerable",at,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!a,sham:!a},{Symbol:W}),G(S(et),(function(t){L(t)})),r({target:"Symbol",stat:!0,forced:!a},{for:function(t){var e=m(t);if(s(Z,e))return Z[e];var n=W(e);return Z[e]=n,tt[n]=e,n},keyFor:function(t){if(!v(t))throw TypeError(t+" is not a symbol");if(s(tt,t))return tt[t]},useSetter:function(){rt=!0},useSimple:function(){rt=!1}}),r({target:"Object",stat:!0,forced:!a,sham:!c},{create:function(t,e){return void 0===e?b(t):ct(b(t),e)},defineProperty:ut,defineProperties:ct,getOwnPropertyDescriptor:ft}),r({target:"Object",stat:!0,forced:!a},{getOwnPropertyNames:st,getOwnPropertySymbols:lt}),r({target:"Object",stat:!0,forced:f((function(){E.f(1)}))},{getOwnPropertySymbols:function(t){return E.f(h(t))}}),X)&&r({target:"JSON",stat:!0,forced:!a||f((function(){var t=W();return"[null]"!=X([t])||"{}"!=X({a:t})||"{}"!=X(Object(t))}))},{stringify:function(t,e,n){for(var r,o=[t],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=e,(p(e)||void 0!==t)&&!v(t))return l(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!v(e))return e}),o[1]=e,X.apply(null,o)}});W.prototype[V]||T(W.prototype,V,W.prototype.valueOf),F(W,"Symbol"),P[z]=!0},function(t,e,n){var r=n(1);e.f=r},function(t,e,n){var r=n(12),o=n(30),i=n(54),u=n(8);t.exports=r("Reflect","ownKeys")||function(t){var e=o.f(u(t)),n=i.f;return n?e.concat(n(t)):e}},function(t,e,n){var r=n(43),o=n(23),i=n(1)("toStringTag"),u="Arguments"==o(function(){return arguments}());t.exports=r?o:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),i))?n:u?o(e):"Object"==(r=o(e))&&"function"==typeof e.callee?"Arguments":r}},function(t,e,n){var r=n(102),o=n(5),i=n(72),u=n(6).f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});o(e,t)||u(e,t,{value:i.f(t)})}},function(t,e,n){var r=n(4),o=n(19),i=n(85),u=n(1)("toPrimitive");t.exports=function(t,e){if(!r(t)||o(t))return t;var n,c=t[u];if(void 0!==c){if(void 0===e&&(e="default"),n=c.call(t,e),!r(n)||o(n))return n;throw TypeError("Can't convert object to primitive value")}return void 0===e&&(e="number"),i(t,e)}},function(t,e,n){var r=n(0),o=n(62),i=n(50),u=n(9),c=n(1),a=c("iterator"),f=c("toStringTag"),s=i.values;for(var l in o){var p=r[l],v=p&&p.prototype;if(v){if(v[a]!==s)try{u(v,a,s)}catch(t){v[a]=s}if(v[f]||u(v,f,l),o[l])for(var y in i)if(v[y]!==i[y])try{u(v,y,i[y])}catch(t){v[y]=i[y]}}}},function(t,e,n){var r=n(74),o=n(26),i=n(1)("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[r(t)]}},function(t,e,n){var r=n(3),o=n(7);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:n(6).f})},function(t,e,n){"use strict";var r=n(3),o=n(7),i=n(0),u=n(5),c=n(4),a=n(6).f,f=n(57),s=i.Symbol;if(o&&"function"==typeof s&&(!("description"in s.prototype)||void 0!==s().description)){var l={},p=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof p?new s(t):void 0===t?s():s(t);return""===t&&(l[e]=!0),e};f(p,s);var v=p.prototype=s.prototype;v.constructor=p;var y=v.toString,h="Symbol(test)"==String(s("test")),d=/^Symbol\((.*)\)[^)]+$/;a(v,"description",{configurable:!0,get:function(){var t=c(this)?this.valueOf():this,e=y.call(t);if(u(l,t))return"";var n=h?e.slice(7,-1):e.replace(d,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:p})}},function(t,e,n){n(75)("iterator")},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){var r=n(7),o=n(6),i=n(8),u=n(46);t.exports=r?Object.defineProperties:function(t,e){i(t);for(var n,r=u(e),c=r.length,a=0;c>a;)o.f(t,n=r[a++],e[n]);return t}},,function(t,e,n){var r=n(4);t.exports=function(t,e){var n,o;if("string"===e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if("string"!==e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var r=n(0),o=n(45),i=r.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},function(t,e,n){var r=n(4),o=n(28),i=n(1)("species");t.exports=function(t){var e;return o(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!o(e.prototype)?r(e)&&null===(e=e[i])&&(e=void 0):e=void 0),void 0===e?Array:e}},function(t,e,n){var r=n(1),o=n(20),i=n(6),u=r("unscopables"),c=Array.prototype;null==c[u]&&i.f(c,u,{configurable:!0,value:o(null)}),t.exports=function(t){c[u][t]=!0}},function(t,e,n){var r=n(2);t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,e,n){var r=n(10),o=n(30).f,i={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return u&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return u.slice()}}(t):o(r(t))}},function(t,e,n){"use strict";var r=n(3),o=n(61);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(t,e,n){var r=n(0),o=n(62),i=n(61),u=n(9);for(var c in o){var a=r[c],f=a&&a.prototype;if(f&&f.forEach!==i)try{u(f,"forEach",i)}catch(t){f.forEach=i}}},function(t,e,n){var r=n(12);t.exports=r("document","documentElement")},function(t,e,n){var r=n(34),o=n(31),i=n(27),u=function(t){return function(e,n){var u,c,a=o(i(e)),f=r(n),s=a.length;return f<0||f>=s?t?"":void 0:(u=a.charCodeAt(f))<55296||u>56319||f+1===s||(c=a.charCodeAt(f+1))<56320||c>57343?t?a.charAt(f):u:t?a.slice(f,f+2):c-56320+(u-55296<<10)+65536}};t.exports={codeAt:u(!1),charAt:u(!0)}},function(t,e,n){"use strict";var r=n(65).IteratorPrototype,o=n(20),i=n(15),u=n(39),c=n(26),a=function(){return this};t.exports=function(t,e,n){var f=e+" Iterator";return t.prototype=o(r,{next:i(1,n)}),u(t,f,!1,!0),c[f]=a,t}},function(t,e,n){var r=n(4);t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},function(t,e,n){"use strict";var r=n(43),o=n(74);t.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},function(t,e,n){var r=n(1),o=n(26),i=r("iterator"),u=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||u[i]===t)}},function(t,e,n){var r=n(8),o=n(78);t.exports=function(t,e){var n=arguments.length<2?o(t):e;if("function"!=typeof n)throw TypeError(String(t)+" is not iterable");return r(n.call(t))}},function(t,e,n){var r=n(8);t.exports=function(t,e,n){var o,i;r(t);try{if(void 0===(o=t.return)){if("throw"===e)throw n;return n}o=o.call(t)}catch(t){i=!0,o=t}if("throw"===e)throw n;if(i)throw o;return r(o),n}},function(t,e,n){var r=n(1)("iterator"),o=!1;try{var i=0,u={next:function(){return{done:!!i++}},return:function(){o=!0}};u[r]=function(){return this},Array.from(u,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},t(i)}catch(t){}return n}},function(t,e,n){var r=n(0);t.exports=r},function(t,e,n){"use strict";var r=n(3),o=n(2),i=n(28),u=n(4),c=n(11),a=n(14),f=n(56),s=n(58),l=n(63),p=n(1),v=n(38),y=p("isConcatSpreadable"),h=v>=51||!o((function(){var t=[];return t[y]=!1,t.concat()[0]!==t})),d=l("concat"),g=function(t){if(!u(t))return!1;var e=t[y];return void 0!==e?!!e:i(t)};r({target:"Array",proto:!0,forced:!h||!d},{concat:function(t){var e,n,r,o,i,u=c(this),l=s(u,0),p=0;for(e=-1,r=arguments.length;e<r;e++)if(g(i=-1===e?u:arguments[e])){if(p+(o=a(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<o;n++,p++)n in i&&f(l,p,i[n])}else{if(p>=9007199254740991)throw TypeError("Maximum allowed index exceeded");f(l,p++,i)}return l.length=p,l}})},function(t,e,n){var r=n(8),o=n(98),i=n(14),u=n(41),c=n(99),a=n(78),f=n(100),s=function(t,e){this.stopped=t,this.result=e};t.exports=function(t,e,n){var l,p,v,y,h,d,g,m=n&&n.that,x=!(!n||!n.AS_ENTRIES),b=!(!n||!n.IS_ITERATOR),S=!(!n||!n.INTERRUPTED),w=u(e,m,1+x+S),O=function(t){return l&&f(l,"normal",t),new s(!0,t)},E=function(t){return x?(r(t),S?w(t[0],t[1],O):w(t[0],t[1])):S?w(t,O):w(t)};if(b)l=t;else{if("function"!=typeof(p=a(t)))throw TypeError("Target is not iterable");if(o(p)){for(v=0,y=i(t.length);y>v;v++)if((h=E(t[v]))&&h instanceof s)return h;return new s(!1)}l=c(t,p)}for(d=l.next;!(g=d.call(l)).done;){try{h=E(g.value)}catch(t){f(l,"throw",t)}if("object"==typeof h&&h&&h instanceof s)return h}return new s(!1)}},function(t,e){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},,function(t,e,n){var r=n(3),o=n(16),i=n(4),u=n(5),c=n(6).f,a=n(30),f=n(90),s=n(29),l=n(129),p=!1,v=s("meta"),y=0,h=Object.isExtensible||function(){return!0},d=function(t){c(t,v,{value:{objectID:"O"+y++,weakData:{}}})},g=t.exports={enable:function(){g.enable=function(){},p=!0;var t=a.f,e=[].splice,n={};n[v]=1,t(n).length&&(a.f=function(n){for(var r=t(n),o=0,i=r.length;o<i;o++)if(r[o]===v){e.call(r,o,1);break}return r},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:f.f}))},fastKey:function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!u(t,v)){if(!h(t))return"F";if(!e)return"E";d(t)}return t[v].objectID},getWeakData:function(t,e){if(!u(t,v)){if(!h(t))return!0;if(!e)return!1;d(t)}return t[v].weakData},onFreeze:function(t){return l&&p&&h(t)&&!u(t,v)&&d(t),t}};o[v]=!0},,,,,function(t,e,n){var r=n(4),o=n(64);t.exports=function(t,e,n){var i,u;return o&&"function"==typeof(i=e.constructor)&&i!==n&&r(u=i.prototype)&&u!==n.prototype&&o(t,u),t}},function(t,e,n){var r=n(3),o=n(115);r({target:"Array",stat:!0,forced:!n(101)((function(t){Array.from(t)}))},{from:o})},,function(t,e,n){"use strict";var r=n(41),o=n(11),i=n(116),u=n(98),c=n(14),a=n(56),f=n(99),s=n(78);t.exports=function(t){var e,n,l,p,v,y,h=o(t),d="function"==typeof this?this:Array,g=arguments.length,m=g>1?arguments[1]:void 0,x=void 0!==m,b=s(h),S=0;if(x&&(m=r(m,g>2?arguments[2]:void 0,2)),null==b||d==Array&&u(b))for(n=new d(e=c(h.length));e>S;S++)y=x?m(h[S],S):h[S],a(n,S,y);else for(v=(p=f(h,b)).next,n=new d;!(l=v.call(p)).done;S++)y=x?i(p,m,[l.value,S],!0):l.value,a(n,S,y);return n.length=S,n}},function(t,e,n){var r=n(8),o=n(100);t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(e){o(t,"throw",e)}}},function(t,e,n){n(3)({target:"Array",stat:!0},{isArray:n(28)})},function(t,e,n){"use strict";var r=n(3),o=n(4),i=n(28),u=n(59),c=n(14),a=n(10),f=n(56),s=n(1),l=n(63)("slice"),p=s("species"),v=[].slice,y=Math.max;r({target:"Array",proto:!0,forced:!l},{slice:function(t,e){var n,r,s,l=a(this),h=c(l.length),d=u(t,h),g=u(void 0===e?h:e,h);if(i(l)&&("function"!=typeof(n=l.constructor)||n!==Array&&!i(n.prototype)?o(n)&&null===(n=n[p])&&(n=void 0):n=void 0,n===Array||void 0===n))return v.call(l,d,g);for(r=new(void 0===n?Array:n)(y(g-d,0)),s=0;d<g;d++,s++)d in l&&f(r,s,l[d]);return r.length=s,r}})},function(t,e,n){var r=n(7),o=n(6).f,i=Function.prototype,u=i.toString,c=/^\s*function ([^ (]*)/;r&&!("name"in i)&&o(i,"name",{configurable:!0,get:function(){try{return u.call(this).match(c)[1]}catch(t){return""}}})},function(t,e,n){"use strict";var r=n(3),o=n(0),i=n(60),u=n(13),c=n(107),a=n(104),f=n(105),s=n(4),l=n(2),p=n(101),v=n(39),y=n(112);t.exports=function(t,e,n){var h=-1!==t.indexOf("Map"),d=-1!==t.indexOf("Weak"),g=h?"set":"add",m=o[t],x=m&&m.prototype,b=m,S={},w=function(t){var e=x[t];u(x,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(d&&!s(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return d&&!s(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(d&&!s(t))&&e.call(this,0===t?0:t)}:function(t,n){return e.call(this,0===t?0:t,n),this})};if(i(t,"function"!=typeof m||!(d||x.forEach&&!l((function(){(new m).entries().next()})))))b=n.getConstructor(e,t,h,g),c.enable();else if(i(t,!0)){var O=new b,E=O[g](d?{}:-0,1)!=O,M=l((function(){O.has(1)})),_=p((function(t){new m(t)})),j=!d&&l((function(){for(var t=new m,e=5;e--;)t[g](e,e);return!t.has(-0)}));_||((b=e((function(e,n){f(e,b,t);var r=y(new m,e,b);return null!=n&&a(n,r[g],{that:r,AS_ENTRIES:h}),r}))).prototype=x,x.constructor=b),(M||j)&&(w("delete"),w("has"),h&&w("get")),(j||E)&&w(g),d&&x.clear&&delete x.clear}return S[t]=b,r({global:!0,forced:b!=m},S),v(b,t),d||n.setStrong(b,t,h),b}},function(t,e,n){"use strict";var r=n(6).f,o=n(20),i=n(122),u=n(41),c=n(105),a=n(104),f=n(55),s=n(123),l=n(7),p=n(107).fastKey,v=n(17),y=v.set,h=v.getterFor;t.exports={getConstructor:function(t,e,n,f){var s=t((function(t,r){c(t,s,e),y(t,{type:e,index:o(null),first:void 0,last:void 0,size:0}),l||(t.size=0),null!=r&&a(r,t[f],{that:t,AS_ENTRIES:n})})),v=h(e),d=function(t,e,n){var r,o,i=v(t),u=g(t,e);return u?u.value=n:(i.last=u={index:o=p(e,!0),key:e,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=u),r&&(r.next=u),l?i.size++:t.size++,"F"!==o&&(i.index[o]=u)),t},g=function(t,e){var n,r=v(t),o=p(e);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==e)return n};return i(s.prototype,{clear:function(){for(var t=v(this),e=t.index,n=t.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete e[n.index],n=n.next;t.first=t.last=void 0,l?t.size=0:this.size=0},delete:function(t){var e=v(this),n=g(this,t);if(n){var r=n.next,o=n.previous;delete e.index[n.index],n.removed=!0,o&&(o.next=r),r&&(r.previous=o),e.first==n&&(e.first=r),e.last==n&&(e.last=o),l?e.size--:this.size--}return!!n},forEach:function(t){for(var e,n=v(this),r=u(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:n.first;)for(r(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!g(this,t)}}),i(s.prototype,n?{get:function(t){var e=g(this,t);return e&&e.value},set:function(t,e){return d(this,0===t?0:t,e)}}:{add:function(t){return d(this,t=0===t?0:t,t)}}),l&&r(s.prototype,"size",{get:function(){return v(this).size}}),s},setStrong:function(t,e,n){var r=e+" Iterator",o=h(e),i=h(r);f(t,e,(function(t,e){y(this,{type:r,target:t,state:o(t),kind:e,last:void 0})}),(function(){for(var t=i(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==e?{value:n.key,done:!1}:"values"==e?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),s(e)}}},function(t,e,n){var r=n(13);t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},function(t,e,n){"use strict";var r=n(12),o=n(6),i=n(1),u=n(7),c=i("species");t.exports=function(t){var e=r(t),n=o.f;u&&e&&!e[c]&&n(e,c,{configurable:!0,get:function(){return this}})}},,,,,function(t,e,n){"use strict";var r=n(120),o=n(121);t.exports=r("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),o)},function(t,e,n){var r=n(2);t.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},,,,,,,,,,,,,function(t,e,n){"use strict";var r=n(7),o=n(0),i=n(60),u=n(13),c=n(5),a=n(23),f=n(112),s=n(19),l=n(76),p=n(2),v=n(20),y=n(30).f,h=n(18).f,d=n(6).f,g=n(143).trim,m=o.Number,x=m.prototype,b="Number"==a(v(x)),S=function(t){if(s(t))throw TypeError("Cannot convert a Symbol value to a number");var e,n,r,o,i,u,c,a,f=l(t,"number");if("string"==typeof f&&f.length>2)if(43===(e=(f=g(f)).charCodeAt(0))||45===e){if(88===(n=f.charCodeAt(2))||120===n)return NaN}else if(48===e){switch(f.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+f}for(u=(i=f.slice(2)).length,c=0;c<u;c++)if((a=i.charCodeAt(c))<48||a>o)return NaN;return parseInt(i,r)}return+f};if(i("Number",!m(" 0o1")||!m("0b1")||m("+0x1"))){for(var w,O=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof O&&(b?p((function(){x.valueOf.call(n)})):"Number"!=a(n))?f(new m(S(e)),n,O):S(e)},E=r?y(m):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),M=0;E.length>M;M++)c(m,w=E[M])&&!c(O,w)&&d(O,w,h(m,w));O.prototype=x,x.constructor=O,u(o,"Number",O)}},function(t,e,n){var r=n(27),o=n(31),i="["+n(144)+"]",u=RegExp("^"+i+i+"*"),c=RegExp(i+i+"*$"),a=function(t){return function(e){var n=o(r(e));return 1&t&&(n=n.replace(u,"")),2&t&&(n=n.replace(c,"")),n}};t.exports={start:a(1),end:a(2),trim:a(3)}},function(t,e){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){n(3)({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";n.r(e),n.d(e,"ContextMenu",(function(){return c}));n(50),n(128),n(69),n(70),n(77),n(191),n(142),n(167),n(91),n(92),n(103),n(79),n(117),n(71),n(80),n(81),n(118),n(119),n(113);function r(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var r,o,i=[],u=!0,c=!1;try{for(n=n.call(t);!(u=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);u=!0);}catch(t){c=!0,o=t}finally{try{u||null==n.return||n.return()}finally{if(c)throw o}}return i}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var c=function(){function t(e){var n=this,r=e.lf;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),u(this,"__menuDOM",void 0),u(this,"lf",void 0),u(this,"_activeData",void 0),u(this,"menuTypeMap",new Map),u(this,"container",void 0),u(this,"isShow",void 0),u(this,"listenDelete",(function(){n.hideMenu()})),this.lf=r,this.__menuDOM=document.createElement("div"),this.__menuDOM.className="lf-inner-context",this.menuTypeMap.set("menu-common",[]),this.lf.setContextMenuByType=function(t,e){n.menuTypeMap.set(t,e)},this.lf.setContextMenuItems=function(t){n.menuTypeMap.set("menu-common",t)},this.lf.showContextMenu=function(t){t&&t.id?(n._activeData=t,n.createContextMenu()):console.warn("请检查传入的参数")},this.lf.hideContextMenu=function(){n.hideMenu()}}var e,n,o;return e=t,(n=[{key:"render",value:function(t,e){var n=this;this.container=e,t.on("node:click",(function(t){var e=t.data;n._activeData=e,n.createContextMenu()})),t.on("edge:click",(function(t){var e=t.data;n._activeData=e,n.createContextMenu()})),t.on("blank:click",(function(){n.hideMenu()}))}},{key:"getContextMenuPosition",value:function(){var t=this._activeData,e=this.lf.graphModel.getElement(t.id);if(e){var n,r;if("edge"===e.BaseType){n=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER;var o=e.getData();n=Math.max(o.startPoint.x,n),r=Math.min(o.startPoint.y,r),n=Math.max(o.endPoint.x,n),r=Math.min(o.endPoint.y,r),o.pointsList&&o.pointsList.forEach((function(t){n=Math.max(t.x,n),r=Math.min(t.y,r)}))}return"node"===e.BaseType&&(n=t.x+e.width/2,r=t.y-e.height/2),this.lf.graphModel.transformMatrix.CanvasPointToHtmlPoint([n,r])}console.warn("找不到元素".concat(t.id))}},{key:"createContextMenu",value:function(){var t=this;if(!this.lf.options.isSilentMode){var e=this.menuTypeMap.get(this._activeData.type)||[];e=e.concat(this.menuTypeMap.get("menu-common"));var n=document.createDocumentFragment();e.forEach((function(e){var r=document.createElement("div");r.className="lf-context-item";var o=document.createElement("img");o.src=e.icon,o.className="lf-context-img",e.className&&(r.className="".concat(r.className," ").concat(e.className)),o.addEventListener("click",(function(){t.hideMenu(),e.callback?e.callback(t._activeData):t.addNode({sourceId:t._activeData.id,x:t._activeData.x,y:t._activeData.y,properties:e.properties,type:e.type})})),r.appendChild(o),n.appendChild(r)})),this.__menuDOM.innerHTML="",this.__menuDOM.appendChild(n),this.showMenu()}}},{key:"addNode",value:function(t,e){var n=void 0!==e;void 0===e&&(e=t.y);var r=this.lf.getNodeModel(t.sourceId),o=t.x-r.width+200,i=e-t.y/2-20,u=t.x+r.width+200,c=e+t.y/2+20;if(this.lf.getAreaElement([o,i],[u,c]).length)return e+=100,void this.addNode(t,e);var a,f,s=this.lf.addNode({type:t.type,x:t.x+200,y:e,properties:t.properties});n&&(a={x:t.x,y:t.y+r.height/2},f={x:s.x-s.width/2,y:s.y}),this.lf.createEdge({sourceNodeId:t.sourceId,targetNodeId:s.id,startPoint:a,endPoint:f})}},{key:"showMenu",value:function(){var t=r(this.getContextMenuPosition(),2),e=t[0],n=t[1];this.__menuDOM.style.display="flex",this.__menuDOM.style.top="".concat(n,"px"),this.__menuDOM.style.left="".concat(e+10,"px"),this.container.appendChild(this.__menuDOM),!this.isShow&&this.lf.on("node:delete,edge:delete,node:drag,graph:transform",this.listenDelete),this.isShow=!0}},{key:"hideMenu",value:function(){this.__menuDOM.innerHTML="",this.__menuDOM.style.display="none",this.isShow&&this.container.removeChild(this.__menuDOM),this.lf.off("node:delete,edge:delete,node:drag,graph:transform",this.listenDelete),this.isShow=!1}}])&&i(e.prototype,n),o&&i(e,o),t}();u(c,"pluginName","ContextMenu"),e.default=c},function(t,e,n){n(3)({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})}])}));
|
|
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=182)}([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(83))},function(t,e,n){var r=n(0),o=n(35),i=n(5),u=n(29),c=n(36),a=n(47),f=o("wks"),s=r.Symbol,l=a?s:s&&s.withoutSetter||u;t.exports=function(t){return i(f,t)&&(c||"string"==typeof f[t])||(c&&i(s,t)?f[t]=s[t]:f[t]=l("Symbol."+t)),f[t]}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(0),o=n(18).f,i=n(9),u=n(13),c=n(33),a=n(57),f=n(58);t.exports=function(t,e){var n,s,l,p,v,y=t.target,h=t.global,d=t.stat;if(n=h?r:d?r[y]||c(y,{}):(r[y]||{}).prototype)for(s in e){if(p=e[s],l=t.noTargetGet?(v=o(n,s))&&v.value:n[s],!f(h?s:y+(d?".":"#")+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,e,n){var r=n(11),o={}.hasOwnProperty;t.exports=Object.hasOwn||function(t,e){return o.call(r(t),e)}},function(t,e,n){var r=n(7),o=n(48),i=n(8),u=n(21),c=Object.defineProperty;e.f=r?c:function(t,e,n){if(i(t),e=u(e),i(n),o)try{return c(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(2);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e,n){var r=n(3);t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},function(t,e,n){var r=n(7),o=n(6),i=n(15);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(41),o=n(27);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(27);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(0),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?o(r[t]):r[t]&&r[t][e]}},function(t,e,n){var r=n(0),o=n(9),i=n(5),u=n(33),c=n(44),a=n(17),f=a.get,s=a.enforce,l=String(String).split("String");(t.exports=function(t,e,n,c){var a,f=!!c&&!!c.unsafe,p=!!c&&!!c.enumerable,v=!!c&&!!c.noTargetGet;"function"==typeof n&&("string"!=typeof e||i(n,"name")||o(n,"name",e),(a=s(n)).source||(a.source=l.join("string"==typeof e?e:""))),t!==r?(f?!v&&t[e]&&(p=!0):delete t[e],p?t[e]=n:o(t,e,n)):p?t[e]=n:u(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&f(this).source||c(this)}))},function(t,e,n){var r=n(34),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){t.exports={}},function(t,e,n){var r,o,i,u=n(85),c=n(0),a=n(3),f=n(9),s=n(5),l=n(32),p=n(26),v=n(16),y=c.WeakMap;if(u||l.state){var h=l.state||(l.state=new y),d=h.get,g=h.has,m=h.set;r=function(t,e){if(g.call(h,t))throw new TypeError("Object already initialized");return e.facade=t,m.call(h,t,e),e},o=function(t){return d.call(h,t)||{}},i=function(t){return g.call(h,t)}}else{var x=p("state");v[x]=!0,r=function(t,e){if(s(t,x))throw new TypeError("Object already initialized");return e.facade=t,f(t,x,e),e},o=function(t){return s(t,x)?t[x]:{}},i=function(t){return s(t,x)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!a(e)||(n=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},function(t,e,n){var r=n(7),o=n(50),i=n(15),u=n(10),c=n(21),a=n(5),f=n(48),s=Object.getOwnPropertyDescriptor;e.f=r?s:function(t,e){if(t=u(t),e=c(e),f)try{return s(t,e)}catch(t){}if(a(t,e))return i(!o.f.call(t,e),t[e])}},function(t,e,n){var r=n(12),o=n(47);t.exports=o?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return"function"==typeof e&&Object(t)instanceof e}},function(t,e,n){var r,o=n(8),i=n(82),u=n(37),c=n(16),a=n(92),f=n(51),s=n(26),l=s("IE_PROTO"),p=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},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).open(),t.write(v("document.F=Object")),t.close(),t.F):y(r);for(var n=u.length;n--;)delete h.prototype[u[n]];return h()};c[l]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(p.prototype=o(t),n=new p,p.prototype=null,n[l]=t):n=h(),void 0===e?n:i(n,e)}},function(t,e,n){var r=n(76),o=n(19);t.exports=function(t){var e=r(t,"string");return o(e)?e:String(e)}},function(t,e){t.exports={}},,function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=!1},function(t,e,n){var r=n(35),o=n(29),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(24);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+r).toString(36)}},function(t,e,n){var r=n(53),o=n(37).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){var r=n(19);t.exports=function(t){if(r(t))throw TypeError("Cannot convert a Symbol value to a string");return String(t)}},function(t,e,n){var r=n(0),o=n(33),i=r["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,e,n){var r=n(0);t.exports=function(t,e){try{Object.defineProperty(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(25),o=n(32);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.17.2",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){var r=n(38),o=n(2);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e,n){var r,o,i=n(0),u=n(66),c=i.process,a=i.Deno,f=c&&c.versions||a&&a.version,s=f&&f.v8;s?o=(r=s.split("."))[0]<4?1:r[0]+r[1]:u&&(!(r=u.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=u.match(/Chrome\/(\d+)/))&&(o=r[1]),t.exports=o&&+o},function(t,e,n){var r=n(6).f,o=n(5),i=n(1)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e,n){var r=n(45);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var r=n(2),o=n(24),i="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},function(t,e,n){var r=n(40),o=n(41),i=n(11),u=n(14),c=n(59),a=[].push,f=function(t){var e=1==t,n=2==t,f=3==t,s=4==t,l=6==t,p=7==t,v=5==t||l;return function(y,h,d,g){for(var m,x,b=i(y),S=o(b),w=r(h,d,3),O=u(S.length),E=0,M=g||c,_=e?M(y,O):n||p?M(y,0):void 0;O>E;E++)if((v||E in S)&&(x=w(m=S[E],E,b),t))if(e)_[E]=x;else if(x)switch(t){case 3:return!0;case 5:return m;case 6:return E;case 2:a.call(_,m)}else switch(t){case 4:return!1;case 7:a.call(_,m)}return l?-1:f||s?s:_}};t.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}},function(t,e,n){var r={};r[n(1)("toStringTag")]="z",t.exports="[object z]"===String(r)},function(t,e,n){var r=n(32),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return o.call(t)}),t.exports=r.inspectSource},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,e,n){var r=n(53),o=n(37);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(36);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e,n){var r=n(7),o=n(2),i=n(51);t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){"use strict";var r=n(10),o=n(91),i=n(22),u=n(17),c=n(56),a=u.set,f=u.getterFor("Array Iterator");t.exports=c(Array,"Array",(function(t,e){a(this,{type:"Array Iterator",target:r(t),index:0,kind:e})}),(function(){var t=f(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(t,e,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:r},function(t,e,n){var r=n(0),o=n(3),i=r.document,u=o(i)&&o(i.createElement);t.exports=function(t){return u?i.createElement(t):{}}},function(t,e,n){var r=n(5),o=n(11),i=n(26),u=n(87),c=i("IE_PROTO"),a=Object.prototype;t.exports=u?Object.getPrototypeOf:function(t){return t=o(t),r(t,c)?t[c]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e,n){var r=n(5),o=n(10),i=n(72).indexOf,u=n(16);t.exports=function(t,e){var n,c=o(t),a=0,f=[];for(n in c)!r(u,n)&&r(c,n)&&f.push(n);for(;e.length>a;)r(c,n=e[a++])&&(~i(f,n)||f.push(n));return f}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){"use strict";var r=n(21),o=n(6),i=n(15);t.exports=function(t,e,n){var u=r(e);u in t?o.f(t,u,i(0,n)):t[u]=n}},function(t,e,n){"use strict";var r=n(4),o=n(94),i=n(52),u=n(64),c=n(39),a=n(9),f=n(13),s=n(1),l=n(25),p=n(22),v=n(65),y=v.IteratorPrototype,h=v.BUGGY_SAFARI_ITERATORS,d=s("iterator"),g=function(){return this};t.exports=function(t,e,n,s,v,m,x){o(n,e,s);var b,S,w,O=function(t){if(t===v&&T)return T;if(!h&&t in _)return _[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},E=e+" Iterator",M=!1,_=t.prototype,j=_[d]||_["@@iterator"]||v&&_[v],T=!h&&j||O(v),A="Array"==e&&_.entries||j;if(A&&(b=i(A.call(new t)),y!==Object.prototype&&b.next&&(l||i(b)===y||(u?u(b,y):"function"!=typeof b[d]&&a(b,d,g)),c(b,E,!0,!0),l&&(p[E]=g))),"values"==v&&j&&"values"!==j.name&&(M=!0,T=function(){return j.call(this)}),l&&!x||_[d]===T||a(_,d,T),p[e]=T,v)if(S={values:O("values"),keys:m?T:O("keys"),entries:O("entries")},x)for(w in S)(h||M||!(w in _))&&f(_,w,S[w]);else r({target:e,proto:!0,forced:h||M},S);return S}},function(t,e,n){var r=n(5),o=n(71),i=n(18),u=n(6);t.exports=function(t,e){for(var n=o(e),c=u.f,a=i.f,f=0;f<n.length;f++){var s=n[f];r(t,s)||c(t,s,a(e,s))}}},function(t,e,n){var r=n(2),o=/#|\.prototype\./,i=function(t,e){var n=c[u(t)];return n==f||n!=a&&("function"==typeof e?r(e):!!e)},u=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=i.data={},a=i.NATIVE="N",f=i.POLYFILL="P";t.exports=i},function(t,e,n){var r=n(86);t.exports=function(t,e){return new(r(t))(0===e?0:e)}},function(t,e,n){var r=n(34),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},function(t,e,n){"use strict";var r=n(42).forEach,o=n(67)("forEach");t.exports=o?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(t,e,n){var r=n(2),o=n(1),i=n(38),u=o("species");t.exports=function(t){return i>=51||!r((function(){var e=[];return(e.constructor={})[u]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},function(t,e,n){var r=n(8),o=n(95);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(t){}return function(n,i){return r(n),o(i),e?t.call(n,i):n.__proto__=i,n}}():void 0)},function(t,e,n){"use strict";var r,o,i,u=n(2),c=n(52),a=n(9),f=n(5),s=n(1),l=n(25),p=s("iterator"),v=!1;[].keys&&("next"in(i=[].keys())?(o=c(c(i)))!==Object.prototype&&(r=o):v=!0);var y=null==r||u((function(){var t={};return r[p].call(t)!==t}));y&&(r={}),l&&!y||f(r,p)||a(r,p,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:v}},function(t,e,n){var r=n(12);t.exports=r("navigator","userAgent")||""},function(t,e,n){"use strict";var r=n(2);t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){throw 1},1)}))}},function(t,e,n){var r=n(43),o=n(13),i=n(100);r||o(Object.prototype,"toString",i,{unsafe:!0})},function(t,e,n){"use strict";var r=n(93).charAt,o=n(31),i=n(17),u=n(56),c=i.set,a=i.getterFor("String Iterator");u(String,"String",(function(t){c(this,{type:"String Iterator",string:o(t),index:0})}),(function(){var t,e=a(this),n=e.string,o=e.index;return o>=n.length?{value:void 0,done:!0}:(t=r(n,o),e.index+=t.length,{value:t,done:!1})}))},function(t,e,n){"use strict";var r=n(4),o=n(0),i=n(12),u=n(25),c=n(7),a=n(36),f=n(2),s=n(5),l=n(28),p=n(3),v=n(19),y=n(8),h=n(11),d=n(10),g=n(21),m=n(31),x=n(15),b=n(20),S=n(46),w=n(30),O=n(88),E=n(54),M=n(18),_=n(6),j=n(50),T=n(9),A=n(13),I=n(35),N=n(26),P=n(16),k=n(29),C=n(1),D=n(75),L=n(78),F=n(39),R=n(17),G=n(42).forEach,z=N("hidden"),V=C("toPrimitive"),B=R.set,H=R.getterFor("Symbol"),U=Object.prototype,W=o.Symbol,X=i("JSON","stringify"),Y=M.f,$=_.f,K=O.f,q=j.f,J=I("symbols"),Q=I("op-symbols"),Z=I("string-to-symbol-registry"),tt=I("symbol-to-string-registry"),et=I("wks"),nt=o.QObject,rt=!nt||!nt.prototype||!nt.prototype.findChild,ot=c&&f((function(){return 7!=b($({},"a",{get:function(){return $(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=Y(U,e);r&&delete U[e],$(t,e,n),r&&t!==U&&$(U,e,r)}:$,it=function(t,e){var n=J[t]=b(W.prototype);return B(n,{type:"Symbol",tag:t,description:e}),c||(n.description=e),n},ut=function(t,e,n){t===U&&ut(Q,e,n),y(t);var r=g(e);return y(n),s(J,r)?(n.enumerable?(s(t,z)&&t[z][r]&&(t[z][r]=!1),n=b(n,{enumerable:x(0,!1)})):(s(t,z)||$(t,z,x(1,{})),t[z][r]=!0),ot(t,r,n)):$(t,r,n)},ct=function(t,e){y(t);var n=d(e),r=S(n).concat(lt(n));return G(r,(function(e){c&&!at.call(n,e)||ut(t,e,n[e])})),t},at=function(t){var e=g(t),n=q.call(this,e);return!(this===U&&s(J,e)&&!s(Q,e))&&(!(n||!s(this,e)||!s(J,e)||s(this,z)&&this[z][e])||n)},ft=function(t,e){var n=d(t),r=g(e);if(n!==U||!s(J,r)||s(Q,r)){var o=Y(n,r);return!o||!s(J,r)||s(n,z)&&n[z][r]||(o.enumerable=!0),o}},st=function(t){var e=K(d(t)),n=[];return G(e,(function(t){s(J,t)||s(P,t)||n.push(t)})),n},lt=function(t){var e=t===U,n=K(e?Q:d(t)),r=[];return G(n,(function(t){!s(J,t)||e&&!s(U,t)||r.push(J[t])})),r};(a||(A((W=function(){if(this instanceof W)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?m(arguments[0]):void 0,e=k(t),n=function(t){this===U&&n.call(Q,t),s(this,z)&&s(this[z],e)&&(this[z][e]=!1),ot(this,e,x(1,t))};return c&&rt&&ot(U,e,{configurable:!0,set:n}),it(e,t)}).prototype,"toString",(function(){return H(this).tag})),A(W,"withoutSetter",(function(t){return it(k(t),t)})),j.f=at,_.f=ut,M.f=ft,w.f=O.f=st,E.f=lt,D.f=function(t){return it(C(t),t)},c&&($(W.prototype,"description",{configurable:!0,get:function(){return H(this).description}}),u||A(U,"propertyIsEnumerable",at,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!a,sham:!a},{Symbol:W}),G(S(et),(function(t){L(t)})),r({target:"Symbol",stat:!0,forced:!a},{for:function(t){var e=m(t);if(s(Z,e))return Z[e];var n=W(e);return Z[e]=n,tt[n]=e,n},keyFor:function(t){if(!v(t))throw TypeError(t+" is not a symbol");if(s(tt,t))return tt[t]},useSetter:function(){rt=!0},useSimple:function(){rt=!1}}),r({target:"Object",stat:!0,forced:!a,sham:!c},{create:function(t,e){return void 0===e?b(t):ct(b(t),e)},defineProperty:ut,defineProperties:ct,getOwnPropertyDescriptor:ft}),r({target:"Object",stat:!0,forced:!a},{getOwnPropertyNames:st,getOwnPropertySymbols:lt}),r({target:"Object",stat:!0,forced:f((function(){E.f(1)}))},{getOwnPropertySymbols:function(t){return E.f(h(t))}}),X)&&r({target:"JSON",stat:!0,forced:!a||f((function(){var t=W();return"[null]"!=X([t])||"{}"!=X({a:t})||"{}"!=X(Object(t))}))},{stringify:function(t,e,n){for(var r,o=[t],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=e,(p(e)||void 0!==t)&&!v(t))return l(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!v(e))return e}),o[1]=e,X.apply(null,o)}});W.prototype[V]||T(W.prototype,V,W.prototype.valueOf),F(W,"Symbol"),P[z]=!0},function(t,e,n){var r=n(12),o=n(30),i=n(54),u=n(8);t.exports=r("Reflect","ownKeys")||function(t){var e=o.f(u(t)),n=i.f;return n?e.concat(n(t)):e}},function(t,e,n){var r=n(10),o=n(14),i=n(60),u=function(t){return function(e,n,u){var c,a=r(e),f=o(a.length),s=i(u,f);if(t&&n!=n){for(;f>s;)if((c=a[s++])!=c)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===n)return t||s||0;return!t&&-1}};t.exports={includes:u(!0),indexOf:u(!1)}},function(t,e,n){var r=n(74),o=n(22),i=n(1)("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[r(t)]}},function(t,e,n){var r=n(43),o=n(24),i=n(1)("toStringTag"),u="Arguments"==o(function(){return arguments}());t.exports=r?o:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),i))?n:u?o(e):"Object"==(r=o(e))&&"function"==typeof e.callee?"Arguments":r}},function(t,e,n){var r=n(1);e.f=r},function(t,e,n){var r=n(3),o=n(19),i=n(84),u=n(1)("toPrimitive");t.exports=function(t,e){if(!r(t)||o(t))return t;var n,c=t[u];if(void 0!==c){if(void 0===e&&(e="default"),n=c.call(t,e),!r(n)||o(n))return n;throw TypeError("Can't convert object to primitive value")}return void 0===e&&(e="number"),i(t,e)}},function(t,e,n){var r=n(0),o=n(62),i=n(49),u=n(9),c=n(1),a=c("iterator"),f=c("toStringTag"),s=i.values;for(var l in o){var p=r[l],v=p&&p.prototype;if(v){if(v[a]!==s)try{u(v,a,s)}catch(t){v[a]=s}if(v[f]||u(v,f,l),o[l])for(var y in i)if(v[y]!==i[y])try{u(v,y,i[y])}catch(t){v[y]=i[y]}}}},function(t,e,n){var r=n(101),o=n(5),i=n(75),u=n(6).f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});o(e,t)||u(e,t,{value:i.f(t)})}},function(t,e,n){var r=n(4),o=n(7);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:n(6).f})},function(t,e,n){"use strict";var r=n(4),o=n(7),i=n(0),u=n(5),c=n(3),a=n(6).f,f=n(57),s=i.Symbol;if(o&&"function"==typeof s&&(!("description"in s.prototype)||void 0!==s().description)){var l={},p=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof p?new s(t):void 0===t?s():s(t);return""===t&&(l[e]=!0),e};f(p,s);var v=p.prototype=s.prototype;v.constructor=p;var y=v.toString,h="Symbol(test)"==String(s("test")),d=/^Symbol\((.*)\)[^)]+$/;a(v,"description",{configurable:!0,get:function(){var t=c(this)?this.valueOf():this,e=y.call(t);if(u(l,t))return"";var n=h?e.slice(7,-1):e.replace(d,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:p})}},function(t,e,n){n(78)("iterator")},function(t,e,n){var r=n(7),o=n(6),i=n(8),u=n(46);t.exports=r?Object.defineProperties:function(t,e){i(t);for(var n,r=u(e),c=r.length,a=0;c>a;)o.f(t,n=r[a++],e[n]);return t}},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){var r=n(3);t.exports=function(t,e){var n,o;if("string"===e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if("string"!==e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var r=n(0),o=n(44),i=r.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},function(t,e,n){var r=n(3),o=n(28),i=n(1)("species");t.exports=function(t){var e;return o(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!o(e.prototype)?r(e)&&null===(e=e[i])&&(e=void 0):e=void 0),void 0===e?Array:e}},function(t,e,n){var r=n(2);t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,e,n){var r=n(10),o=n(30).f,i={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return u&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return u.slice()}}(t):o(r(t))}},function(t,e,n){"use strict";var r=n(4),o=n(61);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(t,e,n){var r=n(0),o=n(62),i=n(61),u=n(9);for(var c in o){var a=r[c],f=a&&a.prototype;if(f&&f.forEach!==i)try{u(f,"forEach",i)}catch(t){f.forEach=i}}},function(t,e,n){var r=n(1),o=n(20),i=n(6),u=r("unscopables"),c=Array.prototype;null==c[u]&&i.f(c,u,{configurable:!0,value:o(null)}),t.exports=function(t){c[u][t]=!0}},function(t,e,n){var r=n(12);t.exports=r("document","documentElement")},function(t,e,n){var r=n(34),o=n(31),i=n(27),u=function(t){return function(e,n){var u,c,a=o(i(e)),f=r(n),s=a.length;return f<0||f>=s?t?"":void 0:(u=a.charCodeAt(f))<55296||u>56319||f+1===s||(c=a.charCodeAt(f+1))<56320||c>57343?t?a.charAt(f):u:t?a.slice(f,f+2):c-56320+(u-55296<<10)+65536}};t.exports={codeAt:u(!1),charAt:u(!0)}},function(t,e,n){"use strict";var r=n(65).IteratorPrototype,o=n(20),i=n(15),u=n(39),c=n(22),a=function(){return this};t.exports=function(t,e,n){var f=e+" Iterator";return t.prototype=o(r,{next:i(1,n)}),u(t,f,!1,!0),c[f]=a,t}},function(t,e,n){var r=n(3);t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},function(t,e,n){var r=n(1),o=n(22),i=r("iterator"),u=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||u[i]===t)}},function(t,e,n){var r=n(8),o=n(73);t.exports=function(t,e){var n=arguments.length<2?o(t):e;if("function"!=typeof n)throw TypeError(String(t)+" is not iterable");return r(n.call(t))}},function(t,e,n){var r=n(8);t.exports=function(t,e,n){var o,i;r(t);try{if(void 0===(o=t.return)){if("throw"===e)throw n;return n}o=o.call(t)}catch(t){i=!0,o=t}if("throw"===e)throw n;if(i)throw o;return r(o),n}},function(t,e,n){var r=n(1)("iterator"),o=!1;try{var i=0,u={next:function(){return{done:!!i++}},return:function(){o=!0}};u[r]=function(){return this},Array.from(u,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},t(i)}catch(t){}return n}},function(t,e,n){"use strict";var r=n(43),o=n(74);t.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},function(t,e,n){var r=n(0);t.exports=r},function(t,e,n){var r=n(8),o=n(96),i=n(14),u=n(40),c=n(97),a=n(73),f=n(98),s=function(t,e){this.stopped=t,this.result=e};t.exports=function(t,e,n){var l,p,v,y,h,d,g,m=n&&n.that,x=!(!n||!n.AS_ENTRIES),b=!(!n||!n.IS_ITERATOR),S=!(!n||!n.INTERRUPTED),w=u(e,m,1+x+S),O=function(t){return l&&f(l,"normal",t),new s(!0,t)},E=function(t){return x?(r(t),S?w(t[0],t[1],O):w(t[0],t[1])):S?w(t,O):w(t)};if(b)l=t;else{if("function"!=typeof(p=a(t)))throw TypeError("Target is not iterable");if(o(p)){for(v=0,y=i(t.length);y>v;v++)if((h=E(t[v]))&&h instanceof s)return h;return new s(!1)}l=c(t,p)}for(d=l.next;!(g=d.call(l)).done;){try{h=E(g.value)}catch(t){f(l,"throw",t)}if("object"==typeof h&&h&&h instanceof s)return h}return new s(!1)}},function(t,e){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},function(t,e,n){"use strict";var r=n(4),o=n(2),i=n(28),u=n(3),c=n(11),a=n(14),f=n(55),s=n(59),l=n(63),p=n(1),v=n(38),y=p("isConcatSpreadable"),h=v>=51||!o((function(){var t=[];return t[y]=!1,t.concat()[0]!==t})),d=l("concat"),g=function(t){if(!u(t))return!1;var e=t[y];return void 0!==e?!!e:i(t)};r({target:"Array",proto:!0,forced:!h||!d},{concat:function(t){var e,n,r,o,i,u=c(this),l=s(u,0),p=0;for(e=-1,r=arguments.length;e<r;e++)if(g(i=-1===e?u:arguments[e])){if(p+(o=a(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<o;n++,p++)n in i&&f(l,p,i[n])}else{if(p>=9007199254740991)throw TypeError("Maximum allowed index exceeded");f(l,p++,i)}return l.length=p,l}})},function(t,e,n){var r=n(4),o=n(16),i=n(3),u=n(5),c=n(6).f,a=n(30),f=n(88),s=n(29),l=n(125),p=!1,v=s("meta"),y=0,h=Object.isExtensible||function(){return!0},d=function(t){c(t,v,{value:{objectID:"O"+y++,weakData:{}}})},g=t.exports={enable:function(){g.enable=function(){},p=!0;var t=a.f,e=[].splice,n={};n[v]=1,t(n).length&&(a.f=function(n){for(var r=t(n),o=0,i=r.length;o<i;o++)if(r[o]===v){e.call(r,o,1);break}return r},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:f.f}))},fastKey:function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!u(t,v)){if(!h(t))return"F";if(!e)return"E";d(t)}return t[v].objectID},getWeakData:function(t,e){if(!u(t,v)){if(!h(t))return!0;if(!e)return!1;d(t)}return t[v].weakData},onFreeze:function(t){return l&&p&&h(t)&&!u(t,v)&&d(t),t}};o[v]=!0},,function(t,e,n){var r=n(3),o=n(64);t.exports=function(t,e,n){var i,u;return o&&"function"==typeof(i=e.constructor)&&i!==n&&r(u=i.prototype)&&u!==n.prototype&&o(t,u),t}},function(t,e,n){var r=n(4),o=n(113);r({target:"Array",stat:!0,forced:!n(99)((function(t){Array.from(t)}))},{from:o})},,,,,function(t,e,n){"use strict";var r=n(40),o=n(11),i=n(114),u=n(96),c=n(14),a=n(55),f=n(97),s=n(73);t.exports=function(t){var e,n,l,p,v,y,h=o(t),d="function"==typeof this?this:Array,g=arguments.length,m=g>1?arguments[1]:void 0,x=void 0!==m,b=s(h),S=0;if(x&&(m=r(m,g>2?arguments[2]:void 0,2)),null==b||d==Array&&u(b))for(n=new d(e=c(h.length));e>S;S++)y=x?m(h[S],S):h[S],a(n,S,y);else for(v=(p=f(h,b)).next,n=new d;!(l=v.call(p)).done;S++)y=x?i(p,m,[l.value,S],!0):l.value,a(n,S,y);return n.length=S,n}},function(t,e,n){var r=n(8),o=n(98);t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(e){o(t,"throw",e)}}},function(t,e,n){n(4)({target:"Array",stat:!0},{isArray:n(28)})},function(t,e,n){"use strict";var r=n(4),o=n(3),i=n(28),u=n(60),c=n(14),a=n(10),f=n(55),s=n(1),l=n(63)("slice"),p=s("species"),v=[].slice,y=Math.max;r({target:"Array",proto:!0,forced:!l},{slice:function(t,e){var n,r,s,l=a(this),h=c(l.length),d=u(t,h),g=u(void 0===e?h:e,h);if(i(l)&&("function"!=typeof(n=l.constructor)||n!==Array&&!i(n.prototype)?o(n)&&null===(n=n[p])&&(n=void 0):n=void 0,n===Array||void 0===n))return v.call(l,d,g);for(r=new(void 0===n?Array:n)(y(g-d,0)),s=0;d<g;d++,s++)d in l&&f(r,s,l[d]);return r.length=s,r}})},function(t,e,n){var r=n(7),o=n(6).f,i=Function.prototype,u=i.toString,c=/^\s*function ([^ (]*)/;r&&!("name"in i)&&o(i,"name",{configurable:!0,get:function(){try{return u.call(this).match(c)[1]}catch(t){return""}}})},function(t,e,n){"use strict";var r=n(4),o=n(0),i=n(58),u=n(13),c=n(105),a=n(102),f=n(103),s=n(3),l=n(2),p=n(99),v=n(39),y=n(107);t.exports=function(t,e,n){var h=-1!==t.indexOf("Map"),d=-1!==t.indexOf("Weak"),g=h?"set":"add",m=o[t],x=m&&m.prototype,b=m,S={},w=function(t){var e=x[t];u(x,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(d&&!s(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return d&&!s(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(d&&!s(t))&&e.call(this,0===t?0:t)}:function(t,n){return e.call(this,0===t?0:t,n),this})};if(i(t,"function"!=typeof m||!(d||x.forEach&&!l((function(){(new m).entries().next()})))))b=n.getConstructor(e,t,h,g),c.enable();else if(i(t,!0)){var O=new b,E=O[g](d?{}:-0,1)!=O,M=l((function(){O.has(1)})),_=p((function(t){new m(t)})),j=!d&&l((function(){for(var t=new m,e=5;e--;)t[g](e,e);return!t.has(-0)}));_||((b=e((function(e,n){f(e,b,t);var r=y(new m,e,b);return null!=n&&a(n,r[g],{that:r,AS_ENTRIES:h}),r}))).prototype=x,x.constructor=b),(M||j)&&(w("delete"),w("has"),h&&w("get")),(j||E)&&w(g),d&&x.clear&&delete x.clear}return S[t]=b,r({global:!0,forced:b!=m},S),v(b,t),d||n.setStrong(b,t,h),b}},function(t,e,n){"use strict";var r=n(6).f,o=n(20),i=n(120),u=n(40),c=n(103),a=n(102),f=n(56),s=n(121),l=n(7),p=n(105).fastKey,v=n(17),y=v.set,h=v.getterFor;t.exports={getConstructor:function(t,e,n,f){var s=t((function(t,r){c(t,s,e),y(t,{type:e,index:o(null),first:void 0,last:void 0,size:0}),l||(t.size=0),null!=r&&a(r,t[f],{that:t,AS_ENTRIES:n})})),v=h(e),d=function(t,e,n){var r,o,i=v(t),u=g(t,e);return u?u.value=n:(i.last=u={index:o=p(e,!0),key:e,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=u),r&&(r.next=u),l?i.size++:t.size++,"F"!==o&&(i.index[o]=u)),t},g=function(t,e){var n,r=v(t),o=p(e);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==e)return n};return i(s.prototype,{clear:function(){for(var t=v(this),e=t.index,n=t.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete e[n.index],n=n.next;t.first=t.last=void 0,l?t.size=0:this.size=0},delete:function(t){var e=v(this),n=g(this,t);if(n){var r=n.next,o=n.previous;delete e.index[n.index],n.removed=!0,o&&(o.next=r),r&&(r.previous=o),e.first==n&&(e.first=r),e.last==n&&(e.last=o),l?e.size--:this.size--}return!!n},forEach:function(t){for(var e,n=v(this),r=u(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:n.first;)for(r(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!g(this,t)}}),i(s.prototype,n?{get:function(t){var e=g(this,t);return e&&e.value},set:function(t,e){return d(this,0===t?0:t,e)}}:{add:function(t){return d(this,t=0===t?0:t,t)}}),l&&r(s.prototype,"size",{get:function(){return v(this).size}}),s},setStrong:function(t,e,n){var r=e+" Iterator",o=h(e),i=h(r);f(t,e,(function(t,e){y(this,{type:r,target:t,state:o(t),kind:e,last:void 0})}),(function(){for(var t=i(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==e?{value:n.key,done:!1}:"values"==e?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),s(e)}}},function(t,e,n){var r=n(13);t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},function(t,e,n){"use strict";var r=n(12),o=n(6),i=n(1),u=n(7),c=i("species");t.exports=function(t){var e=r(t),n=o.f;u&&e&&!e[c]&&n(e,c,{configurable:!0,get:function(){return this}})}},,,function(t,e,n){"use strict";var r=n(118),o=n(119);t.exports=r("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),o)},function(t,e,n){var r=n(2);t.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},,,,,,,,,,,,,function(t,e,n){"use strict";var r=n(7),o=n(0),i=n(58),u=n(13),c=n(5),a=n(24),f=n(107),s=n(19),l=n(76),p=n(2),v=n(20),y=n(30).f,h=n(18).f,d=n(6).f,g=n(139).trim,m=o.Number,x=m.prototype,b="Number"==a(v(x)),S=function(t){if(s(t))throw TypeError("Cannot convert a Symbol value to a number");var e,n,r,o,i,u,c,a,f=l(t,"number");if("string"==typeof f&&f.length>2)if(43===(e=(f=g(f)).charCodeAt(0))||45===e){if(88===(n=f.charCodeAt(2))||120===n)return NaN}else if(48===e){switch(f.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+f}for(u=(i=f.slice(2)).length,c=0;c<u;c++)if((a=i.charCodeAt(c))<48||a>o)return NaN;return parseInt(i,r)}return+f};if(i("Number",!m(" 0o1")||!m("0b1")||m("+0x1"))){for(var w,O=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof O&&(b?p((function(){x.valueOf.call(n)})):"Number"!=a(n))?f(new m(S(e)),n,O):S(e)},E=r?y(m):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),M=0;E.length>M;M++)c(m,w=E[M])&&!c(O,w)&&d(O,w,h(m,w));O.prototype=x,x.constructor=O,u(o,"Number",O)}},function(t,e,n){var r=n(27),o=n(31),i="["+n(140)+"]",u=RegExp("^"+i+i+"*"),c=RegExp(i+i+"*$"),a=function(t){return function(e){var n=o(r(e));return 1&t&&(n=n.replace(u,"")),2&t&&(n=n.replace(c,"")),n}};t.exports={start:a(1),end:a(2),trim:a(3)}},function(t,e){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},,,,,,,,,,,,,,,,,,,function(t,e,n){n(4)({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";n.r(e),n.d(e,"ContextMenu",(function(){return c}));n(49),n(124),n(68),n(69),n(77),n(183),n(138),n(159),n(89),n(90),n(104),n(79),n(115),n(70),n(80),n(81),n(116),n(117),n(108);function r(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var r,o,i=[],u=!0,c=!1;try{for(n=n.call(t);!(u=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);u=!0);}catch(t){c=!0,o=t}finally{try{u||null==n.return||n.return()}finally{if(c)throw o}}return i}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var c=function(){function t(e){var n=this,r=e.lf;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),u(this,"__menuDOM",void 0),u(this,"lf",void 0),u(this,"_activeData",void 0),u(this,"menuTypeMap",new Map),u(this,"container",void 0),u(this,"isShow",void 0),u(this,"listenDelete",(function(){n.hideMenu()})),this.lf=r,this.__menuDOM=document.createElement("div"),this.__menuDOM.className="lf-inner-context",this.menuTypeMap.set("menu-common",[]),this.lf.setContextMenuByType=function(t,e){n.menuTypeMap.set(t,e)},this.lf.setContextMenuItems=function(t){n.menuTypeMap.set("menu-common",t)},this.lf.showContextMenu=function(t){t&&t.id?(n._activeData=t,n.createContextMenu()):console.warn("请检查传入的参数")},this.lf.hideContextMenu=function(){n.hideMenu()}}var e,n,o;return e=t,(n=[{key:"render",value:function(t,e){var n=this;this.container=e,t.on("node:click",(function(t){var e=t.data;n._activeData=e,n.createContextMenu()})),t.on("edge:click",(function(t){var e=t.data;n._activeData=e,n.createContextMenu()})),t.on("blank:click",(function(){n.hideMenu()}))}},{key:"getContextMenuPosition",value:function(){var t=this._activeData,e=this.lf.graphModel.getElement(t.id);if(e){var n,r;if("edge"===e.BaseType){n=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER;var o=e.getData();n=Math.max(o.startPoint.x,n),r=Math.min(o.startPoint.y,r),n=Math.max(o.endPoint.x,n),r=Math.min(o.endPoint.y,r),o.pointsList&&o.pointsList.forEach((function(t){n=Math.max(t.x,n),r=Math.min(t.y,r)}))}return"node"===e.BaseType&&(n=t.x+e.width/2,r=t.y-e.height/2),this.lf.graphModel.transformMatrix.CanvasPointToHtmlPoint([n,r])}console.warn("找不到元素".concat(t.id))}},{key:"createContextMenu",value:function(){var t=this;if(!this.lf.options.isSilentMode){var e=this.menuTypeMap.get(this._activeData.type)||[];e=e.concat(this.menuTypeMap.get("menu-common"));var n=document.createDocumentFragment();e.forEach((function(e){var r=document.createElement("div");r.className="lf-context-item";var o=document.createElement("img");o.src=e.icon,o.className="lf-context-img",e.className&&(r.className="".concat(r.className," ").concat(e.className)),o.addEventListener("click",(function(){t.hideMenu(),e.callback?e.callback(t._activeData):t.addNode({sourceId:t._activeData.id,x:t._activeData.x,y:t._activeData.y,properties:e.properties,type:e.type})})),r.appendChild(o),n.appendChild(r)})),this.__menuDOM.innerHTML="",this.__menuDOM.appendChild(n),this.showMenu()}}},{key:"addNode",value:function(t,e){var n=void 0!==e;void 0===e&&(e=t.y);var r=this.lf.getNodeModel(t.sourceId),o=t.x-r.width+200,i=e-t.y/2-20,u=t.x+r.width+200,c=e+t.y/2+20;if(this.lf.getAreaElement([o,i],[u,c]).length)return e+=100,void this.addNode(t,e);var a,f,s=this.lf.addNode({type:t.type,x:t.x+200,y:e,properties:t.properties});n&&(a={x:t.x,y:t.y+r.height/2},f={x:s.x-s.width/2,y:s.y}),this.lf.createEdge({sourceNodeId:t.sourceId,targetNodeId:s.id,startPoint:a,endPoint:f})}},{key:"showMenu",value:function(){var t=r(this.getContextMenuPosition(),2),e=t[0],n=t[1];this.__menuDOM.style.display="flex",this.__menuDOM.style.top="".concat(n,"px"),this.__menuDOM.style.left="".concat(e+10,"px"),this.container.appendChild(this.__menuDOM),!this.isShow&&this.lf.on("node:delete,edge:delete,node:drag,graph:transform",this.listenDelete),this.isShow=!0}},{key:"hideMenu",value:function(){this.__menuDOM.innerHTML="",this.__menuDOM.style.display="none",this.isShow&&this.container.removeChild(this.__menuDOM),this.lf.off("node:delete,edge:delete,node:drag,graph:transform",this.listenDelete),this.isShow=!1}}])&&i(e.prototype,n),o&&i(e,o),t}();u(c,"pluginName","ContextMenu"),e.default=c},function(t,e,n){n(4)({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})}])}));
|
package/lib/Control.js
CHANGED
|
@@ -1 +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=192)}([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(82))},function(t,n,e){var r=e(0),o=e(35),i=e(5),c=e(29),u=e(36),f=e(48),a=o("wks"),l=r.Symbol,s=f?l:l&&l.withoutSetter||c;t.exports=function(t){return i(a,t)&&(u||"string"==typeof a[t])||(u&&i(l,t)?a[t]=l[t]:a[t]=s("Symbol."+t)),a[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(18).f,i=e(9),c=e(13),u=e(33),f=e(57),a=e(60);t.exports=function(t,n){var e,l,s,p,v,d=t.target,y=t.global,m=t.stat;if(e=y?r:m?r[d]||u(d,{}):(r[d]||{}).prototype)for(l in n){if(p=n[l],s=t.noTargetGet?(v=o(e,l))&&v.value:e[l],!a(y?l:d+(m?".":"#")+l,t.forced)&&void 0!==s){if(typeof p==typeof s)continue;f(p,s)}(t.sham||s&&s.sham)&&i(p,"sham",!0),c(e,l,p,t)}}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,e){var r=e(11),o={}.hasOwnProperty;t.exports=Object.hasOwn||function(t,n){return o.call(r(t),n)}},function(t,n,e){var r=e(7),o=e(49),i=e(8),c=e(22),u=Object.defineProperty;n.f=r?u:function(t,n,e){if(i(t),n=c(n),i(e),o)try{return u(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported");return"value"in e&&(t[n]=e.value),t}},function(t,n,e){var r=e(2);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,n,e){var r=e(4);t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},function(t,n,e){var r=e(7),o=e(6),i=e(15);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(42),o=e(27);t.exports=function(t){return r(o(t))}},function(t,n,e){var r=e(27);t.exports=function(t){return Object(r(t))}},function(t,n,e){var r=e(0),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,n){return arguments.length<2?o(r[t]):r[t]&&r[t][n]}},function(t,n,e){var r=e(0),o=e(9),i=e(5),c=e(33),u=e(45),f=e(17),a=f.get,l=f.enforce,s=String(String).split("String");(t.exports=function(t,n,e,u){var f,a=!!u&&!!u.unsafe,p=!!u&&!!u.enumerable,v=!!u&&!!u.noTargetGet;"function"==typeof e&&("string"!=typeof n||i(e,"name")||o(e,"name",n),(f=l(e)).source||(f.source=s.join("string"==typeof n?n:""))),t!==r?(a?!v&&t[n]&&(p=!0):delete t[n],p?t[n]=e:o(t,n,e)):p?t[n]=e:c(n,e)})(Function.prototype,"toString",(function(){return"function"==typeof this&&a(this).source||u(this)}))},function(t,n,e){var r=e(34),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n){t.exports={}},function(t,n,e){var r,o,i,c=e(86),u=e(0),f=e(4),a=e(9),l=e(5),s=e(32),p=e(25),v=e(16),d=u.WeakMap;if(c||s.state){var y=s.state||(s.state=new d),m=y.get,h=y.has,x=y.set;r=function(t,n){if(h.call(y,t))throw new TypeError("Object already initialized");return n.facade=t,x.call(y,t,n),n},o=function(t){return m.call(y,t)||{}},i=function(t){return h.call(y,t)}}else{var b=p("state");v[b]=!0,r=function(t,n){if(l(t,b))throw new TypeError("Object already initialized");return n.facade=t,a(t,b,n),n},o=function(t){return l(t,b)?t[b]:{}},i=function(t){return l(t,b)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(n){var e;if(!f(n)||(e=o(n)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return e}}}},function(t,n,e){var r=e(7),o=e(51),i=e(15),c=e(10),u=e(22),f=e(5),a=e(49),l=Object.getOwnPropertyDescriptor;n.f=r?l:function(t,n){if(t=c(t),n=u(n),a)try{return l(t,n)}catch(t){}if(f(t,n))return i(!o.f.call(t,n),t[n])}},function(t,n,e){var r=e(12),o=e(48);t.exports=o?function(t){return"symbol"==typeof t}:function(t){var n=r("Symbol");return"function"==typeof n&&Object(t)instanceof n}},function(t,n,e){var r,o=e(8),i=e(83),c=e(37),u=e(16),f=e(93),a=e(52),l=e(25),s=l("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]];return y()};u[s]=!0,t.exports=Object.create||function(t,n){var e;return null!==t?(p.prototype=o(t),e=new p,p.prototype=null,e[s]=t):e=y(),void 0===n?e:i(e,n)}},,function(t,n,e){var r=e(76),o=e(19);t.exports=function(t){var n=r(t,"string");return o(n)?n:String(n)}},function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,n){t.exports=!1},function(t,n,e){var r=e(35),o=e(29),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},,function(t,n){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,e){var r=e(23);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++e+r).toString(36)}},function(t,n,e){var r=e(53),o=e(37).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},,function(t,n,e){var r=e(0),o=e(33),i=r["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,n,e){var r=e(0);t.exports=function(t,n){try{Object.defineProperty(r,t,{value:n,configurable:!0,writable:!0})}catch(e){r[t]=n}return n}},function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},function(t,n,e){var r=e(24),o=e(32);(t.exports=function(t,n){return o[t]||(o[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.17.2",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(t,n,e){var r=e(38),o=e(2);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},function(t,n){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,n,e){var r,o,i=e(0),c=e(67),u=i.process,f=i.Deno,a=u&&u.versions||f&&f.version,l=a&&a.v8;l?o=(r=l.split("."))[0]<4?1:r[0]+r[1]:c&&(!(r=c.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=c.match(/Chrome\/(\d+)/))&&(o=r[1]),t.exports=o&&+o},,function(t,n,e){var r=e(41),o=e(42),i=e(11),c=e(14),u=e(58),f=[].push,a=function(t){var n=1==t,e=2==t,a=3==t,l=4==t,s=6==t,p=7==t,v=5==t||s;return function(d,y,m,h){for(var x,b,g=i(d),_=o(g),S=r(y,m,3),w=c(_.length),O=0,j=h||u,E=n?j(d,w):e||p?j(d,0):void 0;w>O;O++)if((v||O in _)&&(b=S(x=_[O],O,g),t))if(n)E[O]=b;else if(b)switch(t){case 3:return!0;case 5:return x;case 6:return O;case 2:f.call(E,x)}else switch(t){case 4:return!1;case 7:f.call(E,x)}return s?-1:a||l?l:E}};t.exports={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6),filterReject:a(7)}},function(t,n,e){var r=e(44);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 0:return function(){return t.call(n)};case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,o){return t.call(n,e,r,o)}}return function(){return t.apply(n,arguments)}}},function(t,n,e){var r=e(2),o=e(23),i="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},,function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,n,e){var r=e(32),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return o.call(t)}),t.exports=r.inspectSource},function(t,n,e){var r=e(53),o=e(37);t.exports=Object.keys||function(t){return r(t,o)}},,function(t,n,e){var r=e(36);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,n,e){var r=e(7),o=e(2),i=e(52);t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},,function(t,n,e){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);n.f=i?function(t){var n=o(this,t);return!!n&&n.enumerable}:r},function(t,n,e){var r=e(0),o=e(4),i=r.document,c=o(i)&&o(i.createElement);t.exports=function(t){return c?i.createElement(t):{}}},function(t,n,e){var r=e(5),o=e(10),i=e(68).indexOf,c=e(16);t.exports=function(t,n){var e,u=o(t),f=0,a=[];for(e in u)!r(c,e)&&r(u,e)&&a.push(e);for(;n.length>f;)r(u,e=n[f++])&&(~i(a,e)||a.push(e));return a}},function(t,n){n.f=Object.getOwnPropertySymbols},,function(t,n,e){"use strict";var r=e(22),o=e(6),i=e(15);t.exports=function(t,n,e){var c=r(n);c in t?o.f(t,c,i(0,e)):t[c]=e}},function(t,n,e){var r=e(5),o=e(73),i=e(18),c=e(6);t.exports=function(t,n){for(var e=o(n),u=c.f,f=i.f,a=0;a<e.length;a++){var l=e[a];r(t,l)||u(t,l,f(n,l))}}},function(t,n,e){var r=e(87);t.exports=function(t,n){return new(r(t))(0===n?0:n)}},function(t,n,e){var r=e(34),o=Math.max,i=Math.min;t.exports=function(t,n){var e=r(t);return e<0?o(e+n,0):i(e,n)}},function(t,n,e){var r=e(2),o=/#|\.prototype\./,i=function(t,n){var e=u[c(t)];return e==a||e!=f&&("function"==typeof n?r(n):!!n)},c=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},u=i.data={},f=i.NATIVE="N",a=i.POLYFILL="P";t.exports=i},function(t,n,e){"use strict";var r=e(40).forEach,o=e(66)("forEach");t.exports=o?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},function(t,n){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(t,n,e){var r=e(2),o=e(1),i=e(38),c=o("species");t.exports=function(t){return i>=51||!r((function(){var n=[];return(n.constructor={})[c]=function(){return{foo:1}},1!==n[t](Boolean).foo}))}},,,function(t,n,e){"use strict";var r=e(2);t.exports=function(t,n){var e=[][t];return!!e&&r((function(){e.call(null,n||function(){throw 1},1)}))}},function(t,n,e){var r=e(12);t.exports=r("navigator","userAgent")||""},function(t,n,e){var r=e(10),o=e(14),i=e(59),c=function(t){return function(n,e,c){var u,f=r(n),a=o(f.length),l=i(c,a);if(t&&e!=e){for(;a>l;)if((u=f[l++])!=u)return!0}else for(;a>l;l++)if((t||l in f)&&f[l]===e)return t||l||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},,,,,function(t,n,e){var r=e(12),o=e(30),i=e(54),c=e(8);t.exports=r("Reflect","ownKeys")||function(t){var n=o.f(c(t)),e=i.f;return e?n.concat(e(t)):n}},,,function(t,n,e){var r=e(4),o=e(19),i=e(85),c=e(1)("toPrimitive");t.exports=function(t,n){if(!r(t)||o(t))return t;var e,u=t[c];if(void 0!==u){if(void 0===n&&(n="default"),e=u.call(t,n),!r(e)||o(e))return e;throw TypeError("Can't convert object to primitive value")}return void 0===n&&(n="number"),i(t,n)}},,,,,,function(t,n){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch(t){"object"==typeof window&&(e=window)}t.exports=e},function(t,n,e){var r=e(7),o=e(6),i=e(8),c=e(46);t.exports=r?Object.defineProperties:function(t,n){i(t);for(var e,r=c(n),u=r.length,f=0;u>f;)o.f(t,e=r[f++],n[e]);return t}},,function(t,n,e){var r=e(4);t.exports=function(t,n){var e,o;if("string"===n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!r(o=e.call(t)))return o;if("string"!==n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n,e){var r=e(0),o=e(45),i=r.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},function(t,n,e){var r=e(4),o=e(28),i=e(1)("species");t.exports=function(t){var n;return o(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),void 0===n?Array:n}},function(t,n,e){var r=e(1),o=e(20),i=e(6),c=r("unscopables"),u=Array.prototype;null==u[c]&&i.f(u,c,{configurable:!0,value:o(null)}),t.exports=function(t){u[c][t]=!0}},,,function(t,n,e){"use strict";var r=e(3),o=e(61);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(t,n,e){var r=e(0),o=e(62),i=e(61),c=e(9);for(var u in o){var f=r[u],a=f&&f.prototype;if(a&&a.forEach!==i)try{c(a,"forEach",i)}catch(t){a.forEach=i}}},function(t,n,e){var r=e(12);t.exports=r("document","documentElement")},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,n,e){"use strict";var r=e(44),o=e(4),i=[].slice,c={},u=function(t,n,e){if(!(n in c)){for(var r=[],o=0;o<n;o++)r[o]="a["+o+"]";c[n]=Function("C,a","return new C("+r.join(",")+")")}return c[n](t,e)};t.exports=Function.bind||function(t){var n=r(this),e=i.call(arguments,1),c=function(){var r=e.concat(i.call(arguments));return this instanceof c?u(n,r.length,r):n.apply(t,r)};return o(n.prototype)&&(c.prototype=n.prototype),c}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,n,e){e(3)({target:"Function",proto:!0},{bind:e(126)})},,,,,,,,,,,,,,,,,,,,,,,,function(t,n,e){"use strict";e.r(n),e.d(n,"Control",(function(){return r}));e(193),e(194),e(91),e(92),e(168);var r={pluginName:"control",__lf:null,__controlItems:[{key:"zoom-out",iconClass:"lf-control-zoomOut",title:"缩小流程图",text:"缩小",onClick:function(){r.__lf.zoom(!1)}},{key:"zoom-in",iconClass:"lf-control-zoomIn",title:"放大流程图",text:"放大",onClick:function(){r.__lf.zoom(!0)}},{key:"reset",iconClass:"lf-control-fit",title:"恢复流程原有尺寸",text:"适应",onClick:function(){r.__lf.resetZoom()}},{key:"undo",iconClass:"lf-control-undo",title:"回到上一步",text:"上一步",onClick:function(){r.__lf.undo()}},{key:"redo",iconClass:"lf-control-redo",title:"移到下一步",text:"下一步",onClick:function(){r.__lf.redo()}}],addItem:function(t){r.__controlItems.push(t)},removeItem:function(t){var n=r.__controlItems.findIndex((function(n){return n.key===t}));return r.__controlItems.splice(n,1)[0]},install:function(){},render:function(t,n){r.__lf=t,r.__domContainer=n,r.__tool=this.__getControlTool(),n.appendChild(r.__tool)},destroy:function(){try{var t;null===(t=r.__domContainer)||void 0===t||t.removeChild(r.__tool)}catch(t){console.warn("unexpect destory error",t)}},__getControlTool:function(){var t="lf-control-item",n="lf-control-item disabled",e=document.createElement("div"),o=[];return e.className="lf-control",r.__controlItems.forEach((function(e){var i=document.createElement("div"),c=document.createElement("i"),u=document.createElement("span");switch(i.className=n,e.onClick&&(i.onclick=e.onClick.bind(null,r.__lf)),e.onMouseEnter&&(i.onmouseenter=e.onMouseEnter.bind(null,r.__lf)),e.onMouseLeave&&(i.onmouseleave=e.onMouseLeave.bind(null,r.__lf)),c.className=e.iconClass,u.className="lf-control-text",u.title=e.title,u.innerText=e.text,i.append(c,u),e.text){case"上一步":r.__lf.on("history:change",(function(e){var r=e.data.undoAble;i.className=r?t:n}));break;case"下一步":r.__lf.on("history:change",(function(e){var r=e.data.redoAble;i.className=r?t:n}));break;default:i.className=t}o.push(i)})),e.append.apply(e,o),e}};n.default=r},function(t,n,e){"use strict";var r=e(3),o=e(40).findIndex,i=e(88),c=!0;"findIndex"in[]&&Array(1).findIndex((function(){c=!1})),r({target:"Array",proto:!0,forced:c},{findIndex:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("findIndex")},function(t,n,e){"use strict";var r=e(3),o=e(59),i=e(34),c=e(14),u=e(11),f=e(58),a=e(56),l=e(63)("splice"),s=Math.max,p=Math.min;r({target:"Array",proto:!0,forced:!l},{splice:function(t,n){var e,r,l,v,d,y,m=u(this),h=c(m.length),x=o(t,h),b=arguments.length;if(0===b?e=r=0:1===b?(e=0,r=h-x):(e=b-2,r=p(s(i(n),0),h-x)),h+e-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(l=f(m,r),v=0;v<r;v++)(d=x+v)in m&&a(l,v,m[d]);if(l.length=r,e<r){for(v=x;v<h-r;v++)y=v+e,(d=v+r)in m?m[y]=m[d]:delete m[y];for(v=h;v>h-r+e;v--)delete m[v-1]}else if(e>r)for(v=h-r;v>x;v--)y=v+e-1,(d=v+r-1)in m?m[y]=m[d]:delete m[y];for(v=0;v<e;v++)m[v+x]=arguments[v+2];return m.length=h-r+e,l}})}])}));
|
|
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=184)}([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(83))},function(t,n,e){var r=e(0),o=e(35),i=e(5),c=e(29),u=e(36),f=e(47),a=o("wks"),l=r.Symbol,s=f?l:l&&l.withoutSetter||c;t.exports=function(t){return i(a,t)&&(u||"string"==typeof a[t])||(u&&i(l,t)?a[t]=l[t]:a[t]=s("Symbol."+t)),a[t]}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,e){var r=e(0),o=e(18).f,i=e(9),c=e(13),u=e(33),f=e(57),a=e(58);t.exports=function(t,n){var e,l,s,p,v,d=t.target,y=t.global,m=t.stat;if(e=y?r:m?r[d]||u(d,{}):(r[d]||{}).prototype)for(l in n){if(p=n[l],s=t.noTargetGet?(v=o(e,l))&&v.value:e[l],!a(y?l:d+(m?".":"#")+l,t.forced)&&void 0!==s){if(typeof p==typeof s)continue;f(p,s)}(t.sham||s&&s.sham)&&i(p,"sham",!0),c(e,l,p,t)}}},function(t,n,e){var r=e(11),o={}.hasOwnProperty;t.exports=Object.hasOwn||function(t,n){return o.call(r(t),n)}},function(t,n,e){var r=e(7),o=e(48),i=e(8),c=e(21),u=Object.defineProperty;n.f=r?u:function(t,n,e){if(i(t),n=c(n),i(e),o)try{return u(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported");return"value"in e&&(t[n]=e.value),t}},function(t,n,e){var r=e(2);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,n,e){var r=e(3);t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},function(t,n,e){var r=e(7),o=e(6),i=e(15);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(41),o=e(27);t.exports=function(t){return r(o(t))}},function(t,n,e){var r=e(27);t.exports=function(t){return Object(r(t))}},function(t,n,e){var r=e(0),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,n){return arguments.length<2?o(r[t]):r[t]&&r[t][n]}},function(t,n,e){var r=e(0),o=e(9),i=e(5),c=e(33),u=e(44),f=e(17),a=f.get,l=f.enforce,s=String(String).split("String");(t.exports=function(t,n,e,u){var f,a=!!u&&!!u.unsafe,p=!!u&&!!u.enumerable,v=!!u&&!!u.noTargetGet;"function"==typeof e&&("string"!=typeof n||i(e,"name")||o(e,"name",n),(f=l(e)).source||(f.source=s.join("string"==typeof n?n:""))),t!==r?(a?!v&&t[n]&&(p=!0):delete t[n],p?t[n]=e:o(t,n,e)):p?t[n]=e:c(n,e)})(Function.prototype,"toString",(function(){return"function"==typeof this&&a(this).source||u(this)}))},function(t,n,e){var r=e(34),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n){t.exports={}},function(t,n,e){var r,o,i,c=e(85),u=e(0),f=e(3),a=e(9),l=e(5),s=e(32),p=e(26),v=e(16),d=u.WeakMap;if(c||s.state){var y=s.state||(s.state=new d),m=y.get,h=y.has,x=y.set;r=function(t,n){if(h.call(y,t))throw new TypeError("Object already initialized");return n.facade=t,x.call(y,t,n),n},o=function(t){return m.call(y,t)||{}},i=function(t){return h.call(y,t)}}else{var b=p("state");v[b]=!0,r=function(t,n){if(l(t,b))throw new TypeError("Object already initialized");return n.facade=t,a(t,b,n),n},o=function(t){return l(t,b)?t[b]:{}},i=function(t){return l(t,b)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(n){var e;if(!f(n)||(e=o(n)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return e}}}},function(t,n,e){var r=e(7),o=e(50),i=e(15),c=e(10),u=e(21),f=e(5),a=e(48),l=Object.getOwnPropertyDescriptor;n.f=r?l:function(t,n){if(t=c(t),n=u(n),a)try{return l(t,n)}catch(t){}if(f(t,n))return i(!o.f.call(t,n),t[n])}},function(t,n,e){var r=e(12),o=e(47);t.exports=o?function(t){return"symbol"==typeof t}:function(t){var n=r("Symbol");return"function"==typeof n&&Object(t)instanceof n}},function(t,n,e){var r,o=e(8),i=e(82),c=e(37),u=e(16),f=e(92),a=e(51),l=e(26),s=l("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]];return y()};u[s]=!0,t.exports=Object.create||function(t,n){var e;return null!==t?(p.prototype=o(t),e=new p,p.prototype=null,e[s]=t):e=y(),void 0===n?e:i(e,n)}},function(t,n,e){var r=e(76),o=e(19);t.exports=function(t){var n=r(t,"string");return o(n)?n:String(n)}},,,function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,n){t.exports=!1},function(t,n,e){var r=e(35),o=e(29),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,n){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,e){var r=e(24);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++e+r).toString(36)}},function(t,n,e){var r=e(53),o=e(37).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},,function(t,n,e){var r=e(0),o=e(33),i=r["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,n,e){var r=e(0);t.exports=function(t,n){try{Object.defineProperty(r,t,{value:n,configurable:!0,writable:!0})}catch(e){r[t]=n}return n}},function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},function(t,n,e){var r=e(25),o=e(32);(t.exports=function(t,n){return o[t]||(o[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.17.2",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(t,n,e){var r=e(38),o=e(2);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},function(t,n){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,n,e){var r,o,i=e(0),c=e(66),u=i.process,f=i.Deno,a=u&&u.versions||f&&f.version,l=a&&a.v8;l?o=(r=l.split("."))[0]<4?1:r[0]+r[1]:c&&(!(r=c.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=c.match(/Chrome\/(\d+)/))&&(o=r[1]),t.exports=o&&+o},,function(t,n,e){var r=e(45);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 0:return function(){return t.call(n)};case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,o){return t.call(n,e,r,o)}}return function(){return t.apply(n,arguments)}}},function(t,n,e){var r=e(2),o=e(24),i="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},function(t,n,e){var r=e(40),o=e(41),i=e(11),c=e(14),u=e(59),f=[].push,a=function(t){var n=1==t,e=2==t,a=3==t,l=4==t,s=6==t,p=7==t,v=5==t||s;return function(d,y,m,h){for(var x,b,g=i(d),_=o(g),S=r(y,m,3),w=c(_.length),O=0,j=h||u,E=n?j(d,w):e||p?j(d,0):void 0;w>O;O++)if((v||O in _)&&(b=S(x=_[O],O,g),t))if(n)E[O]=b;else if(b)switch(t){case 3:return!0;case 5:return x;case 6:return O;case 2:f.call(E,x)}else switch(t){case 4:return!1;case 7:f.call(E,x)}return s?-1:a||l?l:E}};t.exports={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6),filterReject:a(7)}},,function(t,n,e){var r=e(32),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return o.call(t)}),t.exports=r.inspectSource},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,n,e){var r=e(53),o=e(37);t.exports=Object.keys||function(t){return r(t,o)}},function(t,n,e){var r=e(36);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,n,e){var r=e(7),o=e(2),i=e(51);t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},,function(t,n,e){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);n.f=i?function(t){var n=o(this,t);return!!n&&n.enumerable}:r},function(t,n,e){var r=e(0),o=e(3),i=r.document,c=o(i)&&o(i.createElement);t.exports=function(t){return c?i.createElement(t):{}}},,function(t,n,e){var r=e(5),o=e(10),i=e(72).indexOf,c=e(16);t.exports=function(t,n){var e,u=o(t),f=0,a=[];for(e in u)!r(c,e)&&r(u,e)&&a.push(e);for(;n.length>f;)r(u,e=n[f++])&&(~i(a,e)||a.push(e));return a}},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,e){"use strict";var r=e(21),o=e(6),i=e(15);t.exports=function(t,n,e){var c=r(n);c in t?o.f(t,c,i(0,e)):t[c]=e}},,function(t,n,e){var r=e(5),o=e(71),i=e(18),c=e(6);t.exports=function(t,n){for(var e=o(n),u=c.f,f=i.f,a=0;a<e.length;a++){var l=e[a];r(t,l)||u(t,l,f(n,l))}}},function(t,n,e){var r=e(2),o=/#|\.prototype\./,i=function(t,n){var e=u[c(t)];return e==a||e!=f&&("function"==typeof n?r(n):!!n)},c=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},u=i.data={},f=i.NATIVE="N",a=i.POLYFILL="P";t.exports=i},function(t,n,e){var r=e(86);t.exports=function(t,n){return new(r(t))(0===n?0:n)}},function(t,n,e){var r=e(34),o=Math.max,i=Math.min;t.exports=function(t,n){var e=r(t);return e<0?o(e+n,0):i(e,n)}},function(t,n,e){"use strict";var r=e(42).forEach,o=e(67)("forEach");t.exports=o?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},function(t,n){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(t,n,e){var r=e(2),o=e(1),i=e(38),c=o("species");t.exports=function(t){return i>=51||!r((function(){var n=[];return(n.constructor={})[c]=function(){return{foo:1}},1!==n[t](Boolean).foo}))}},,,function(t,n,e){var r=e(12);t.exports=r("navigator","userAgent")||""},function(t,n,e){"use strict";var r=e(2);t.exports=function(t,n){var e=[][t];return!!e&&r((function(){e.call(null,n||function(){throw 1},1)}))}},,,,function(t,n,e){var r=e(12),o=e(30),i=e(54),c=e(8);t.exports=r("Reflect","ownKeys")||function(t){var n=o.f(c(t)),e=i.f;return e?n.concat(e(t)):n}},function(t,n,e){var r=e(10),o=e(14),i=e(60),c=function(t){return function(n,e,c){var u,f=r(n),a=o(f.length),l=i(c,a);if(t&&e!=e){for(;a>l;)if((u=f[l++])!=u)return!0}else for(;a>l;l++)if((t||l in f)&&f[l]===e)return t||l||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},,,,function(t,n,e){var r=e(3),o=e(19),i=e(84),c=e(1)("toPrimitive");t.exports=function(t,n){if(!r(t)||o(t))return t;var e,u=t[c];if(void 0!==u){if(void 0===n&&(n="default"),e=u.call(t,n),!r(e)||o(e))return e;throw TypeError("Can't convert object to primitive value")}return void 0===n&&(n="number"),i(t,n)}},,,,,,function(t,n,e){var r=e(7),o=e(6),i=e(8),c=e(46);t.exports=r?Object.defineProperties:function(t,n){i(t);for(var e,r=c(n),u=r.length,f=0;u>f;)o.f(t,e=r[f++],n[e]);return t}},function(t,n){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch(t){"object"==typeof window&&(e=window)}t.exports=e},function(t,n,e){var r=e(3);t.exports=function(t,n){var e,o;if("string"===n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!r(o=e.call(t)))return o;if("string"!==n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n,e){var r=e(0),o=e(44),i=r.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},function(t,n,e){var r=e(3),o=e(28),i=e(1)("species");t.exports=function(t){var n;return o(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),void 0===n?Array:n}},,,function(t,n,e){"use strict";var r=e(4),o=e(61);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(t,n,e){var r=e(0),o=e(62),i=e(61),c=e(9);for(var u in o){var f=r[u],a=f&&f.prototype;if(a&&a.forEach!==i)try{c(a,"forEach",i)}catch(t){a.forEach=i}}},function(t,n,e){var r=e(1),o=e(20),i=e(6),c=r("unscopables"),u=Array.prototype;null==u[c]&&i.f(u,c,{configurable:!0,value:o(null)}),t.exports=function(t){u[c][t]=!0}},function(t,n,e){var r=e(12);t.exports=r("document","documentElement")},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,n,e){"use strict";var r=e(45),o=e(3),i=[].slice,c={},u=function(t,n,e){if(!(n in c)){for(var r=[],o=0;o<n;o++)r[o]="a["+o+"]";c[n]=Function("C,a","return new C("+r.join(",")+")")}return c[n](t,e)};t.exports=Function.bind||function(t){var n=r(this),e=i.call(arguments,1),c=function(){var r=e.concat(i.call(arguments));return this instanceof c?u(n,r.length,r):n.apply(t,r)};return o(n.prototype)&&(c.prototype=n.prototype),c}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,n,e){"use strict";e.r(n),e.d(n,"Control",(function(){return r}));e(185),e(186),e(89),e(90),e(187);var r={pluginName:"control",__lf:null,__controlItems:[{key:"zoom-out",iconClass:"lf-control-zoomOut",title:"缩小流程图",text:"缩小",onClick:function(){r.__lf.zoom(!1)}},{key:"zoom-in",iconClass:"lf-control-zoomIn",title:"放大流程图",text:"放大",onClick:function(){r.__lf.zoom(!0)}},{key:"reset",iconClass:"lf-control-fit",title:"恢复流程原有尺寸",text:"适应",onClick:function(){r.__lf.resetZoom()}},{key:"undo",iconClass:"lf-control-undo",title:"回到上一步",text:"上一步",onClick:function(){r.__lf.undo()}},{key:"redo",iconClass:"lf-control-redo",title:"移到下一步",text:"下一步",onClick:function(){r.__lf.redo()}}],addItem:function(t){r.__controlItems.push(t)},removeItem:function(t){var n=r.__controlItems.findIndex((function(n){return n.key===t}));return r.__controlItems.splice(n,1)[0]},install:function(){},render:function(t,n){r.__lf=t,r.__domContainer=n,r.__tool=this.__getControlTool(),n.appendChild(r.__tool)},destroy:function(){try{var t;null===(t=r.__domContainer)||void 0===t||t.removeChild(r.__tool)}catch(t){console.warn("unexpect destory error",t)}},__getControlTool:function(){var t="lf-control-item",n="lf-control-item disabled",e=document.createElement("div"),o=[];return e.className="lf-control",r.__controlItems.forEach((function(e){var i=document.createElement("div"),c=document.createElement("i"),u=document.createElement("span");switch(i.className=n,e.onClick&&(i.onclick=e.onClick.bind(null,r.__lf)),e.onMouseEnter&&(i.onmouseenter=e.onMouseEnter.bind(null,r.__lf)),e.onMouseLeave&&(i.onmouseleave=e.onMouseLeave.bind(null,r.__lf)),c.className=e.iconClass,u.className="lf-control-text",u.title=e.title,u.innerText=e.text,i.append(c,u),e.text){case"上一步":r.__lf.on("history:change",(function(e){var r=e.data.undoAble;i.className=r?t:n}));break;case"下一步":r.__lf.on("history:change",(function(e){var r=e.data.redoAble;i.className=r?t:n}));break;default:i.className=t}o.push(i)})),e.append.apply(e,o),e}};n.default=r},function(t,n,e){"use strict";var r=e(4),o=e(42).findIndex,i=e(91),c=!0;"findIndex"in[]&&Array(1).findIndex((function(){c=!1})),r({target:"Array",proto:!0,forced:c},{findIndex:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("findIndex")},function(t,n,e){"use strict";var r=e(4),o=e(60),i=e(34),c=e(14),u=e(11),f=e(59),a=e(55),l=e(63)("splice"),s=Math.max,p=Math.min;r({target:"Array",proto:!0,forced:!l},{splice:function(t,n){var e,r,l,v,d,y,m=u(this),h=c(m.length),x=o(t,h),b=arguments.length;if(0===b?e=r=0:1===b?(e=0,r=h-x):(e=b-2,r=p(s(i(n),0),h-x)),h+e-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(l=f(m,r),v=0;v<r;v++)(d=x+v)in m&&a(l,v,m[d]);if(l.length=r,e<r){for(v=x;v<h-r;v++)y=v+e,(d=v+r)in m?m[y]=m[d]:delete m[y];for(v=h;v>h-r+e;v--)delete m[v-1]}else if(e>r)for(v=h-r;v>x;v--)y=v+e-1,(d=v+r-1)in m?m[y]=m[d]:delete m[y];for(v=0;v<e;v++)m[v+x]=arguments[v+2];return m.length=h-r+e,l}})},function(t,n,e){e(4)({target:"Function",proto:!0},{bind:e(131)})}])}));
|