@logicflow/extension 1.0.0-alpha.0 → 1.0.0-alpha.6

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.
Files changed (82) hide show
  1. package/cjs/NodeResize/Control/Control.js +4 -4
  2. package/cjs/NodeResize/Control/ControlGroup.js +4 -3
  3. package/cjs/NodeResize/Node/DiamondResize.js +10 -8
  4. package/cjs/NodeResize/Node/EllipseResize.js +11 -9
  5. package/cjs/NodeResize/Node/RectResize.js +3 -15
  6. package/cjs/bpmn/events/EndEvent.js +19 -10
  7. package/cjs/bpmn/events/StartEvent.js +4 -16
  8. package/cjs/bpmn/gateways/ExclusiveGateway.js +16 -14
  9. package/cjs/bpmn/index.js +1 -1
  10. package/cjs/bpmn/tasks/ServiceTask.js +20 -17
  11. package/cjs/bpmn/tasks/UserTask.js +20 -16
  12. package/cjs/bpmn-adapter/index.js +1 -1
  13. package/cjs/components/context-menu/index.js +3 -3
  14. package/cjs/components/menu/index.js +6 -6
  15. package/cjs/components/mini-map/index.js +2 -2
  16. package/cjs/components/selection-select/index.js +1 -1
  17. package/cjs/index.js +1 -0
  18. package/cjs/insert-node-in-polyline/index.js +3 -3
  19. package/cjs/materials/curved-edge/index.js +2 -1
  20. package/cjs/materials/group/GroupNode.js +1 -5
  21. package/cjs/materials/group/index.js +4 -4
  22. package/cjs/tools/auto-layout/index.js +8 -8
  23. package/cjs/tools/snapshot/index.js +3 -3
  24. package/es/NodeResize/Control/Control.d.ts +1 -3
  25. package/es/NodeResize/Control/Control.js +4 -4
  26. package/es/NodeResize/Control/ControlGroup.d.ts +1 -8
  27. package/es/NodeResize/Control/ControlGroup.js +4 -3
  28. package/es/NodeResize/Node/DiamondResize.d.ts +2 -2
  29. package/es/NodeResize/Node/DiamondResize.js +10 -8
  30. package/es/NodeResize/Node/EllipseResize.d.ts +2 -2
  31. package/es/NodeResize/Node/EllipseResize.js +11 -9
  32. package/es/NodeResize/Node/RectResize.d.ts +1 -1
  33. package/es/NodeResize/Node/RectResize.js +3 -15
  34. package/es/bpmn/events/EndEvent.d.ts +1 -0
  35. package/es/bpmn/events/EndEvent.js +19 -10
  36. package/es/bpmn/events/StartEvent.d.ts +1 -25
  37. package/es/bpmn/events/StartEvent.js +4 -16
  38. package/es/bpmn/gateways/ExclusiveGateway.js +16 -14
  39. package/es/bpmn/index.js +1 -1
  40. package/es/bpmn/tasks/ServiceTask.js +20 -17
  41. package/es/bpmn/tasks/UserTask.js +20 -16
  42. package/es/bpmn-adapter/index.js +1 -1
  43. package/es/components/context-menu/index.js +3 -3
  44. package/es/components/menu/index.js +6 -6
  45. package/es/components/mini-map/index.js +2 -2
  46. package/es/components/selection-select/index.js +1 -1
  47. package/es/index.js +1 -0
  48. package/es/insert-node-in-polyline/index.js +3 -3
  49. package/es/materials/curved-edge/index.js +2 -1
  50. package/es/materials/group/GroupNode.d.ts +0 -12
  51. package/es/materials/group/GroupNode.js +1 -5
  52. package/es/materials/group/index.js +4 -4
  53. package/es/tools/auto-layout/index.d.ts +4 -4
  54. package/es/tools/auto-layout/index.js +8 -8
  55. package/es/tools/snapshot/index.js +3 -3
  56. package/lib/AutoLayout.js +1 -1
  57. package/lib/BpmnAdapter.js +1 -1
  58. package/lib/BpmnElement.js +1 -1
  59. package/lib/ContextMenu.js +1 -1
  60. package/lib/Control.js +1 -1
  61. package/lib/CurvedEdge.js +1 -1
  62. package/lib/DndPanel.js +1 -1
  63. package/lib/FlowPath.js +1 -1
  64. package/lib/Group.js +1 -1
  65. package/lib/InsertNodeInPolyline.js +1 -1
  66. package/lib/Menu.js +1 -1
  67. package/lib/MiniMap.js +1 -1
  68. package/lib/NodeResize.js +1 -1
  69. package/lib/RectLabelNode.js +1 -1
  70. package/lib/SelectionSelect.js +1 -1
  71. package/lib/Snapshot.js +1 -1
  72. package/lib/TurboAdapter.js +1 -1
  73. package/package.json +2 -2
  74. package/types/NodeResize/Control/Control.d.ts +1 -3
  75. package/types/NodeResize/Control/ControlGroup.d.ts +1 -8
  76. package/types/NodeResize/Node/DiamondResize.d.ts +2 -2
  77. package/types/NodeResize/Node/EllipseResize.d.ts +2 -2
  78. package/types/NodeResize/Node/RectResize.d.ts +1 -1
  79. package/types/bpmn/events/EndEvent.d.ts +1 -0
  80. package/types/bpmn/events/StartEvent.d.ts +1 -25
  81. package/types/materials/group/GroupNode.d.ts +0 -12
  82. package/types/tools/auto-layout/index.d.ts +4 -4
@@ -1 +1 @@
1
- !function(t,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("window"));else if("function"==typeof define&&define.amd)define(["window"],r);else{var n="object"==typeof exports?r(require("window")):r(t.window);for(var e in n)("object"==typeof exports?exports:t)[e]=n[e]}}(window,(function(t){return function(t){var r={};function n(e){if(r[e])return r[e].exports;var o=r[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=r,n.d=function(t,r,e){n.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:e})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,r){if(1&r&&(t=n(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(n.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var o in t)n.d(e,o,function(r){return t[r]}.bind(null,o));return e},n.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(r,"a",r),r},n.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},n.p="",n(n.s=205)}([function(t,r,n){(function(r){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r&&r)||function(){return this}()||Function("return this")()}).call(this,n(83))},function(t,r,n){var e=n(0),o=n(35),i=n(5),c=n(29),u=n(36),f=n(47),a=o("wks"),s=e.Symbol,p=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]=p("Symbol."+t)),a[t]}},function(t,r){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,r){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,r,n){var e=n(0),o=n(18).f,i=n(9),c=n(13),u=n(33),f=n(57),a=n(58);t.exports=function(t,r){var n,s,p,l,y,v=t.target,h=t.global,b=t.stat;if(n=h?e:b?e[v]||u(v,{}):(e[v]||{}).prototype)for(s in r){if(l=r[s],p=t.noTargetGet?(y=o(n,s))&&y.value:n[s],!a(h?s:v+(b?".":"#")+s,t.forced)&&void 0!==p){if(typeof l==typeof p)continue;f(l,p)}(t.sham||p&&p.sham)&&i(l,"sham",!0),c(n,s,l,t)}}},function(t,r,n){var e=n(11),o={}.hasOwnProperty;t.exports=Object.hasOwn||function(t,r){return o.call(e(t),r)}},function(t,r,n){var e=n(7),o=n(48),i=n(8),c=n(21),u=Object.defineProperty;r.f=e?u:function(t,r,n){if(i(t),r=c(r),i(n),o)try{return u(t,r,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[r]=n.value),t}},function(t,r,n){var e=n(2);t.exports=!e((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,r,n){var e=n(3);t.exports=function(t){if(!e(t))throw TypeError(String(t)+" is not an object");return t}},function(t,r,n){var e=n(7),o=n(6),i=n(15);t.exports=e?function(t,r,n){return o.f(t,r,i(1,n))}:function(t,r,n){return t[r]=n,t}},function(t,r,n){var e=n(41),o=n(27);t.exports=function(t){return e(o(t))}},function(t,r,n){var e=n(27);t.exports=function(t){return Object(e(t))}},function(t,r,n){var e=n(0),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,r){return arguments.length<2?o(e[t]):e[t]&&e[t][r]}},function(t,r,n){var e=n(0),o=n(9),i=n(5),c=n(33),u=n(44),f=n(17),a=f.get,s=f.enforce,p=String(String).split("String");(t.exports=function(t,r,n,u){var f,a=!!u&&!!u.unsafe,l=!!u&&!!u.enumerable,y=!!u&&!!u.noTargetGet;"function"==typeof n&&("string"!=typeof r||i(n,"name")||o(n,"name",r),(f=s(n)).source||(f.source=p.join("string"==typeof r?r:""))),t!==e?(a?!y&&t[r]&&(l=!0):delete t[r],l?t[r]=n:o(t,r,n)):l?t[r]=n:c(r,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&a(this).source||u(this)}))},function(t,r,n){var e=n(34),o=Math.min;t.exports=function(t){return t>0?o(e(t),9007199254740991):0}},function(t,r){t.exports=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}}},function(t,r){t.exports={}},function(t,r,n){var e,o,i,c=n(85),u=n(0),f=n(3),a=n(9),s=n(5),p=n(32),l=n(26),y=n(16),v=u.WeakMap;if(c||p.state){var h=p.state||(p.state=new v),b=h.get,d=h.has,g=h.set;e=function(t,r){if(d.call(h,t))throw new TypeError("Object already initialized");return r.facade=t,g.call(h,t,r),r},o=function(t){return b.call(h,t)||{}},i=function(t){return d.call(h,t)}}else{var m=l("state");y[m]=!0,e=function(t,r){if(s(t,m))throw new TypeError("Object already initialized");return r.facade=t,a(t,m,r),r},o=function(t){return s(t,m)?t[m]:{}},i=function(t){return s(t,m)}}t.exports={set:e,get:o,has:i,enforce:function(t){return i(t)?o(t):e(t,{})},getterFor:function(t){return function(r){var n;if(!f(r)||(n=o(r)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},function(t,r,n){var e=n(7),o=n(50),i=n(15),c=n(10),u=n(21),f=n(5),a=n(48),s=Object.getOwnPropertyDescriptor;r.f=e?s:function(t,r){if(t=c(t),r=u(r),a)try{return s(t,r)}catch(t){}if(f(t,r))return i(!o.f.call(t,r),t[r])}},function(t,r,n){var e=n(12),o=n(47);t.exports=o?function(t){return"symbol"==typeof t}:function(t){var r=e("Symbol");return"function"==typeof r&&Object(t)instanceof r}},function(t,r,n){var e,o=n(8),i=n(82),c=n(37),u=n(16),f=n(92),a=n(51),s=n(26),p=s("IE_PROTO"),l=function(){},y=function(t){return"<script>"+t+"<\/script>"},v=function(t){t.write(y("")),t.close();var r=t.parentWindow.Object;return t=null,r},h=function(){try{e=new ActiveXObject("htmlfile")}catch(t){}var t,r;h="undefined"!=typeof document?document.domain&&e?v(e):((r=a("iframe")).style.display="none",f.appendChild(r),r.src=String("javascript:"),(t=r.contentWindow.document).open(),t.write(y("document.F=Object")),t.close(),t.F):v(e);for(var n=c.length;n--;)delete h.prototype[c[n]];return h()};u[p]=!0,t.exports=Object.create||function(t,r){var n;return null!==t?(l.prototype=o(t),n=new l,l.prototype=null,n[p]=t):n=h(),void 0===r?n:i(n,r)}},function(t,r,n){var e=n(76),o=n(19);t.exports=function(t){var r=e(t,"string");return o(r)?r:String(r)}},function(t,r){t.exports={}},function(r,n){r.exports=t},function(t,r){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,r){t.exports=!1},function(t,r,n){var e=n(35),o=n(29),i=e("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,r){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,r,n){var e=n(24);t.exports=Array.isArray||function(t){return"Array"==e(t)}},function(t,r){var n=0,e=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+e).toString(36)}},function(t,r,n){var e=n(53),o=n(37).concat("length","prototype");r.f=Object.getOwnPropertyNames||function(t){return e(t,o)}},function(t,r,n){var e=n(19);t.exports=function(t){if(e(t))throw TypeError("Cannot convert a Symbol value to a string");return String(t)}},function(t,r,n){var e=n(0),o=n(33),i=e["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,r,n){var e=n(0);t.exports=function(t,r){try{Object.defineProperty(e,t,{value:r,configurable:!0,writable:!0})}catch(n){e[t]=r}return r}},function(t,r){var n=Math.ceil,e=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?e:n)(t)}},function(t,r,n){var e=n(25),o=n(32);(t.exports=function(t,r){return o[t]||(o[t]=void 0!==r?r:{})})("versions",[]).push({version:"3.17.2",mode:e?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(t,r,n){var e=n(38),o=n(2);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&e&&e<41}))},function(t,r){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,r,n){var e,o,i=n(0),c=n(66),u=i.process,f=i.Deno,a=u&&u.versions||f&&f.version,s=a&&a.v8;s?o=(e=s.split("."))[0]<4?1:e[0]+e[1]:c&&(!(e=c.match(/Edge\/(\d+)/))||e[1]>=74)&&(e=c.match(/Chrome\/(\d+)/))&&(o=e[1]),t.exports=o&&+o},function(t,r,n){var e=n(6).f,o=n(5),i=n(1)("toStringTag");t.exports=function(t,r,n){t&&!o(t=n?t:t.prototype,i)&&e(t,i,{configurable:!0,value:r})}},function(t,r,n){var e=n(45);t.exports=function(t,r,n){if(e(t),void 0===r)return t;switch(n){case 0:return function(){return t.call(r)};case 1:return function(n){return t.call(r,n)};case 2:return function(n,e){return t.call(r,n,e)};case 3:return function(n,e,o){return t.call(r,n,e,o)}}return function(){return t.apply(r,arguments)}}},function(t,r,n){var e=n(2),o=n(24),i="".split;t.exports=e((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},function(t,r,n){var e=n(40),o=n(41),i=n(11),c=n(14),u=n(59),f=[].push,a=function(t){var r=1==t,n=2==t,a=3==t,s=4==t,p=6==t,l=7==t,y=5==t||p;return function(v,h,b,d){for(var g,m,O=i(v),x=o(O),w=e(h,b,3),S=c(x.length),j=0,P=d||u,T=r?P(v,S):n||l?P(v,0):void 0;S>j;j++)if((y||j in x)&&(m=w(g=x[j],j,O),t))if(r)T[j]=m;else if(m)switch(t){case 3:return!0;case 5:return g;case 6:return j;case 2:f.call(T,g)}else switch(t){case 4:return!1;case 7:f.call(T,g)}return p?-1:a||s?s:T}};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,r,n){var e={};e[n(1)("toStringTag")]="z",t.exports="[object z]"===String(e)},function(t,r,n){var e=n(32),o=Function.toString;"function"!=typeof e.inspectSource&&(e.inspectSource=function(t){return o.call(t)}),t.exports=e.inspectSource},function(t,r){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,r,n){var e=n(53),o=n(37);t.exports=Object.keys||function(t){return e(t,o)}},function(t,r,n){var e=n(36);t.exports=e&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,r,n){var e=n(7),o=n(2),i=n(51);t.exports=!e&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,r,n){"use strict";var e=n(10),o=n(91),i=n(22),c=n(17),u=n(56),f=c.set,a=c.getterFor("Array Iterator");t.exports=u(Array,"Array",(function(t,r){f(this,{type:"Array Iterator",target:e(t),index:0,kind:r})}),(function(){var t=a(this),r=t.target,n=t.kind,e=t.index++;return!r||e>=r.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:e,done:!1}:"values"==n?{value:r[e],done:!1}:{value:[e,r[e]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(t,r,n){"use strict";var e={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!e.call({1:2},1);r.f=i?function(t){var r=o(this,t);return!!r&&r.enumerable}:e},function(t,r,n){var e=n(0),o=n(3),i=e.document,c=o(i)&&o(i.createElement);t.exports=function(t){return c?i.createElement(t):{}}},function(t,r,n){var e=n(5),o=n(11),i=n(26),c=n(87),u=i("IE_PROTO"),f=Object.prototype;t.exports=c?Object.getPrototypeOf:function(t){return t=o(t),e(t,u)?t[u]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?f:null}},function(t,r,n){var e=n(5),o=n(10),i=n(72).indexOf,c=n(16);t.exports=function(t,r){var n,u=o(t),f=0,a=[];for(n in u)!e(c,n)&&e(u,n)&&a.push(n);for(;r.length>f;)e(u,n=r[f++])&&(~i(a,n)||a.push(n));return a}},function(t,r){r.f=Object.getOwnPropertySymbols},function(t,r,n){"use strict";var e=n(21),o=n(6),i=n(15);t.exports=function(t,r,n){var c=e(r);c in t?o.f(t,c,i(0,n)):t[c]=n}},function(t,r,n){"use strict";var e=n(4),o=n(94),i=n(52),c=n(64),u=n(39),f=n(9),a=n(13),s=n(1),p=n(25),l=n(22),y=n(65),v=y.IteratorPrototype,h=y.BUGGY_SAFARI_ITERATORS,b=s("iterator"),d=function(){return this};t.exports=function(t,r,n,s,y,g,m){o(n,r,s);var O,x,w,S=function(t){if(t===y&&_)return _;if(!h&&t in T)return T[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},j=r+" Iterator",P=!1,T=t.prototype,E=T[b]||T["@@iterator"]||y&&T[y],_=!h&&E||S(y),A="Array"==r&&T.entries||E;if(A&&(O=i(A.call(new t)),v!==Object.prototype&&O.next&&(p||i(O)===v||(c?c(O,v):"function"!=typeof O[b]&&f(O,b,d)),u(O,j,!0,!0),p&&(l[j]=d))),"values"==y&&E&&"values"!==E.name&&(P=!0,_=function(){return E.call(this)}),p&&!m||T[b]===_||f(T,b,_),l[r]=_,y)if(x={values:S("values"),keys:g?_:S("keys"),entries:S("entries")},m)for(w in x)(h||P||!(w in T))&&a(T,w,x[w]);else e({target:r,proto:!0,forced:h||P},x);return x}},function(t,r,n){var e=n(5),o=n(71),i=n(18),c=n(6);t.exports=function(t,r){for(var n=o(r),u=c.f,f=i.f,a=0;a<n.length;a++){var s=n[a];e(t,s)||u(t,s,f(r,s))}}},function(t,r,n){var e=n(2),o=/#|\.prototype\./,i=function(t,r){var n=u[c(t)];return n==a||n!=f&&("function"==typeof r?e(r):!!r)},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,r,n){var e=n(86);t.exports=function(t,r){return new(e(t))(0===r?0:r)}},function(t,r,n){var e=n(34),o=Math.max,i=Math.min;t.exports=function(t,r){var n=e(t);return n<0?o(n+r,0):i(n,r)}},function(t,r,n){"use strict";var e=n(42).forEach,o=n(67)("forEach");t.exports=o?[].forEach:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}},function(t,r){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,r,n){var e=n(2),o=n(1),i=n(38),c=o("species");t.exports=function(t){return i>=51||!e((function(){var r=[];return(r.constructor={})[c]=function(){return{foo:1}},1!==r[t](Boolean).foo}))}},function(t,r,n){var e=n(8),o=n(95);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,r=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),r=n instanceof Array}catch(t){}return function(n,i){return e(n),o(i),r?t.call(n,i):n.__proto__=i,n}}():void 0)},function(t,r,n){"use strict";var e,o,i,c=n(2),u=n(52),f=n(9),a=n(5),s=n(1),p=n(25),l=s("iterator"),y=!1;[].keys&&("next"in(i=[].keys())?(o=u(u(i)))!==Object.prototype&&(e=o):y=!0);var v=null==e||c((function(){var t={};return e[l].call(t)!==t}));v&&(e={}),p&&!v||a(e,l)||f(e,l,(function(){return this})),t.exports={IteratorPrototype:e,BUGGY_SAFARI_ITERATORS:y}},function(t,r,n){var e=n(12);t.exports=e("navigator","userAgent")||""},function(t,r,n){"use strict";var e=n(2);t.exports=function(t,r){var n=[][t];return!!n&&e((function(){n.call(null,r||function(){throw 1},1)}))}},function(t,r,n){var e=n(43),o=n(13),i=n(100);e||o(Object.prototype,"toString",i,{unsafe:!0})},function(t,r,n){"use strict";var e=n(93).charAt,o=n(31),i=n(17),c=n(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,r=f(this),n=r.string,o=r.index;return o>=n.length?{value:void 0,done:!0}:(t=e(n,o),r.index+=t.length,{value:t,done:!1})}))},function(t,r,n){"use strict";var e=n(4),o=n(0),i=n(12),c=n(25),u=n(7),f=n(36),a=n(2),s=n(5),p=n(28),l=n(3),y=n(19),v=n(8),h=n(11),b=n(10),d=n(21),g=n(31),m=n(15),O=n(20),x=n(46),w=n(30),S=n(88),j=n(54),P=n(18),T=n(6),E=n(50),_=n(9),A=n(13),L=n(35),k=n(26),F=n(16),M=n(29),R=n(1),I=n(75),C=n(78),N=n(39),D=n(17),G=n(42).forEach,z=k("hidden"),V=R("toPrimitive"),B=D.set,W=D.getterFor("Symbol"),q=Object.prototype,H=o.Symbol,U=i("JSON","stringify"),Y=P.f,J=T.f,$=S.f,K=E.f,Q=L("symbols"),X=L("op-symbols"),Z=L("string-to-symbol-registry"),tt=L("symbol-to-string-registry"),rt=L("wks"),nt=o.QObject,et=!nt||!nt.prototype||!nt.prototype.findChild,ot=u&&a((function(){return 7!=O(J({},"a",{get:function(){return J(this,"a",{value:7}).a}})).a}))?function(t,r,n){var e=Y(q,r);e&&delete q[r],J(t,r,n),e&&t!==q&&J(q,r,e)}:J,it=function(t,r){var n=Q[t]=O(H.prototype);return B(n,{type:"Symbol",tag:t,description:r}),u||(n.description=r),n},ct=function(t,r,n){t===q&&ct(X,r,n),v(t);var e=d(r);return v(n),s(Q,e)?(n.enumerable?(s(t,z)&&t[z][e]&&(t[z][e]=!1),n=O(n,{enumerable:m(0,!1)})):(s(t,z)||J(t,z,m(1,{})),t[z][e]=!0),ot(t,e,n)):J(t,e,n)},ut=function(t,r){v(t);var n=b(r),e=x(n).concat(pt(n));return G(e,(function(r){u&&!ft.call(n,r)||ct(t,r,n[r])})),t},ft=function(t){var r=d(t),n=K.call(this,r);return!(this===q&&s(Q,r)&&!s(X,r))&&(!(n||!s(this,r)||!s(Q,r)||s(this,z)&&this[z][r])||n)},at=function(t,r){var n=b(t),e=d(r);if(n!==q||!s(Q,e)||s(X,e)){var o=Y(n,e);return!o||!s(Q,e)||s(n,z)&&n[z][e]||(o.enumerable=!0),o}},st=function(t){var r=$(b(t)),n=[];return G(r,(function(t){s(Q,t)||s(F,t)||n.push(t)})),n},pt=function(t){var r=t===q,n=$(r?X:b(t)),e=[];return G(n,(function(t){!s(Q,t)||r&&!s(q,t)||e.push(Q[t])})),e};(f||(A((H=function(){if(this instanceof H)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?g(arguments[0]):void 0,r=M(t),n=function(t){this===q&&n.call(X,t),s(this,z)&&s(this[z],r)&&(this[z][r]=!1),ot(this,r,m(1,t))};return u&&et&&ot(q,r,{configurable:!0,set:n}),it(r,t)}).prototype,"toString",(function(){return W(this).tag})),A(H,"withoutSetter",(function(t){return it(M(t),t)})),E.f=ft,T.f=ct,P.f=at,w.f=S.f=st,j.f=pt,I.f=function(t){return it(R(t),t)},u&&(J(H.prototype,"description",{configurable:!0,get:function(){return W(this).description}}),c||A(q,"propertyIsEnumerable",ft,{unsafe:!0}))),e({global:!0,wrap:!0,forced:!f,sham:!f},{Symbol:H}),G(x(rt),(function(t){C(t)})),e({target:"Symbol",stat:!0,forced:!f},{for:function(t){var r=g(t);if(s(Z,r))return Z[r];var n=H(r);return Z[r]=n,tt[n]=r,n},keyFor:function(t){if(!y(t))throw TypeError(t+" is not a symbol");if(s(tt,t))return tt[t]},useSetter:function(){et=!0},useSimple:function(){et=!1}}),e({target:"Object",stat:!0,forced:!f,sham:!u},{create:function(t,r){return void 0===r?O(t):ut(O(t),r)},defineProperty:ct,defineProperties:ut,getOwnPropertyDescriptor:at}),e({target:"Object",stat:!0,forced:!f},{getOwnPropertyNames:st,getOwnPropertySymbols:pt}),e({target:"Object",stat:!0,forced:a((function(){j.f(1)}))},{getOwnPropertySymbols:function(t){return j.f(h(t))}}),U)&&e({target:"JSON",stat:!0,forced:!f||a((function(){var t=H();return"[null]"!=U([t])||"{}"!=U({a:t})||"{}"!=U(Object(t))}))},{stringify:function(t,r,n){for(var e,o=[t],i=1;arguments.length>i;)o.push(arguments[i++]);if(e=r,(l(r)||void 0!==t)&&!y(t))return p(r)||(r=function(t,r){if("function"==typeof e&&(r=e.call(this,t,r)),!y(r))return r}),o[1]=r,U.apply(null,o)}});H.prototype[V]||_(H.prototype,V,H.prototype.valueOf),N(H,"Symbol"),F[z]=!0},function(t,r,n){var e=n(12),o=n(30),i=n(54),c=n(8);t.exports=e("Reflect","ownKeys")||function(t){var r=o.f(c(t)),n=i.f;return n?r.concat(n(t)):r}},function(t,r,n){var e=n(10),o=n(14),i=n(60),c=function(t){return function(r,n,c){var u,f=e(r),a=o(f.length),s=i(c,a);if(t&&n!=n){for(;a>s;)if((u=f[s++])!=u)return!0}else for(;a>s;s++)if((t||s in f)&&f[s]===n)return t||s||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},,function(t,r,n){var e=n(43),o=n(24),i=n(1)("toStringTag"),c="Arguments"==o(function(){return arguments}());t.exports=e?o:function(t){var r,n,e;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,r){try{return t[r]}catch(t){}}(r=Object(t),i))?n:c?o(r):"Object"==(e=o(r))&&"function"==typeof r.callee?"Arguments":e}},function(t,r,n){var e=n(1);r.f=e},function(t,r,n){var e=n(3),o=n(19),i=n(84),c=n(1)("toPrimitive");t.exports=function(t,r){if(!e(t)||o(t))return t;var n,u=t[c];if(void 0!==u){if(void 0===r&&(r="default"),n=u.call(t,r),!e(n)||o(n))return n;throw TypeError("Can't convert object to primitive value")}return void 0===r&&(r="number"),i(t,r)}},function(t,r,n){var e=n(0),o=n(62),i=n(49),c=n(9),u=n(1),f=u("iterator"),a=u("toStringTag"),s=i.values;for(var p in o){var l=e[p],y=l&&l.prototype;if(y){if(y[f]!==s)try{c(y,f,s)}catch(t){y[f]=s}if(y[a]||c(y,a,p),o[p])for(var v in i)if(y[v]!==i[v])try{c(y,v,i[v])}catch(t){y[v]=i[v]}}}},function(t,r,n){var e=n(101),o=n(5),i=n(75),c=n(6).f;t.exports=function(t){var r=e.Symbol||(e.Symbol={});o(r,t)||c(r,t,{value:i.f(t)})}},function(t,r,n){var e=n(4),o=n(7);e({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:n(6).f})},function(t,r,n){"use strict";var e=n(4),o=n(7),i=n(0),c=n(5),u=n(3),f=n(6).f,a=n(57),s=i.Symbol;if(o&&"function"==typeof s&&(!("description"in s.prototype)||void 0!==s().description)){var p={},l=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),r=this instanceof l?new s(t):void 0===t?s():s(t);return""===t&&(p[r]=!0),r};a(l,s);var y=l.prototype=s.prototype;y.constructor=l;var v=y.toString,h="Symbol(test)"==String(s("test")),b=/^Symbol\((.*)\)[^)]+$/;f(y,"description",{configurable:!0,get:function(){var t=u(this)?this.valueOf():this,r=v.call(t);if(c(p,t))return"";var n=h?r.slice(7,-1):r.replace(b,"$1");return""===n?void 0:n}}),e({global:!0,forced:!0},{Symbol:l})}},function(t,r,n){n(78)("iterator")},function(t,r,n){var e=n(7),o=n(6),i=n(8),c=n(46);t.exports=e?Object.defineProperties:function(t,r){i(t);for(var n,e=c(r),u=e.length,f=0;u>f;)o.f(t,n=e[f++],r[n]);return t}},function(t,r){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,r,n){var e=n(3);t.exports=function(t,r){var n,o;if("string"===r&&"function"==typeof(n=t.toString)&&!e(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!e(o=n.call(t)))return o;if("string"!==r&&"function"==typeof(n=t.toString)&&!e(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,r,n){var e=n(0),o=n(44),i=e.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},function(t,r,n){var e=n(3),o=n(28),i=n(1)("species");t.exports=function(t){var r;return o(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!o(r.prototype)?e(r)&&null===(r=r[i])&&(r=void 0):r=void 0),void 0===r?Array:r}},function(t,r,n){var e=n(2);t.exports=!e((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,r,n){var e=n(10),o=n(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(e(t))}},function(t,r,n){"use strict";var e=n(4),o=n(61);e({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(t,r,n){var e=n(0),o=n(62),i=n(61),c=n(9);for(var u in o){var f=e[u],a=f&&f.prototype;if(a&&a.forEach!==i)try{c(a,"forEach",i)}catch(t){a.forEach=i}}},function(t,r,n){var e=n(1),o=n(20),i=n(6),c=e("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,r,n){var e=n(12);t.exports=e("document","documentElement")},function(t,r,n){var e=n(34),o=n(31),i=n(27),c=function(t){return function(r,n){var c,u,f=o(i(r)),a=e(n),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,r,n){"use strict";var e=n(65).IteratorPrototype,o=n(20),i=n(15),c=n(39),u=n(22),f=function(){return this};t.exports=function(t,r,n){var a=r+" Iterator";return t.prototype=o(e,{next:i(1,n)}),c(t,a,!1,!0),u[a]=f,t}},function(t,r,n){var e=n(3);t.exports=function(t){if(!e(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},,,,,function(t,r,n){"use strict";var e=n(43),o=n(74);t.exports=e?{}.toString:function(){return"[object "+o(this)+"]"}},function(t,r,n){var e=n(0);t.exports=e},,,,,function(t,r,n){var e=n(4),o=n(2),i=n(10),c=n(18).f,u=n(7),f=o((function(){c(1)}));e({target:"Object",stat:!0,forced:!u||f,sham:!u},{getOwnPropertyDescriptor:function(t,r){return c(i(t),r)}})},,,function(t,r,n){n(4)({target:"Object",stat:!0},{setPrototypeOf:n(64)})},function(t,r,n){var e=n(4),o=n(2),i=n(11),c=n(52),u=n(87);e({target:"Object",stat:!0,forced:o((function(){c(1)})),sham:!u},{getPrototypeOf:function(t){return c(i(t))}})},function(t,r,n){var e=n(4),o=n(12),i=n(45),c=n(8),u=n(3),f=n(20),a=n(131),s=n(2),p=o("Reflect","construct"),l=s((function(){function t(){}return!(p((function(){}),[],t)instanceof t)})),y=!s((function(){p((function(){}))})),v=l||y;e({target:"Reflect",stat:!0,forced:v,sham:v},{construct:function(t,r){i(t),c(r);var n=arguments.length<3?t:i(arguments[2]);if(y&&!l)return p(t,r,n);if(t==n){switch(r.length){case 0:return new t;case 1:return new t(r[0]);case 2:return new t(r[0],r[1]);case 3:return new t(r[0],r[1],r[2]);case 4:return new t(r[0],r[1],r[2],r[3])}var e=[null];return e.push.apply(e,r),new(a.apply(t,e))}var o=n.prototype,s=f(u(o)?o:Object.prototype),v=Function.apply.call(t,s,r);return u(v)?v:s}})},function(t,r,n){n(4)({target:"Object",stat:!0,sham:!n(7)},{create:n(20)})},,,,,,,,,,,,,,function(t,r,n){var e=n(4),o=n(11),i=n(46);e({target:"Object",stat:!0,forced:n(2)((function(){i(1)}))},{keys:function(t){return i(o(t))}})},,function(t,r,n){"use strict";var e=n(4),o=n(42).filter;e({target:"Array",proto:!0,forced:!n(63)("filter")},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,r,n){var e=n(4),o=n(7),i=n(71),c=n(10),u=n(18),f=n(55);e({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(t){for(var r,n,e=c(t),o=u.f,a=i(e),s={},p=0;a.length>p;)void 0!==(n=o(e,r=a[p++]))&&f(s,r,n);return s}})},function(t,r,n){var e=n(4),o=n(7);e({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:n(82)})},function(t,r,n){"use strict";var e=n(45),o=n(3),i=[].slice,c={},u=function(t,r,n){if(!(r in c)){for(var e=[],o=0;o<r;o++)e[o]="a["+o+"]";c[r]=Function("C,a","return new C("+e.join(",")+")")}return c[r](t,n)};t.exports=Function.bind||function(t){var r=e(this),n=i.call(arguments,1),c=function(){var e=n.concat(i.call(arguments));return this instanceof c?u(r,e.length,e):r.apply(t,e)};return o(r.prototype)&&(c.prototype=r.prototype),c}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,r,n){"use strict";n.r(r),n.d(r,"RectLabelNode",(function(){return h}));var e=n(23);n(109),n(110),n(111),n(112),n(79),n(126),n(70),n(128),n(106),n(89),n(90),n(129),n(130),n(80),n(68),n(81),n(49),n(69),n(77);function o(t){return(o="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 i(t,r){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);r&&(e=e.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),n.push.apply(n,e)}return n}function c(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?i(Object(n),!0).forEach((function(r){u(t,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))}))}return t}function u(t,r,n){return r in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t}function f(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}function a(t,r){for(var n=0;n<r.length;n++){var e=r[n];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(t,e.key,e)}}function s(t,r){return(s=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t})(t,r)}function p(t){var r=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 n,e=y(t);if(r){var o=y(this).constructor;n=Reflect.construct(e,arguments,o)}else n=e.apply(this,arguments);return l(this,n)}}function l(t,r){if(r&&("object"===o(r)||"function"==typeof r))return r;if(void 0!==r)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 y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var v=function(t){!function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),r&&s(t,r)}(u,t);var r,n,o,i=p(u);function u(){return f(this,u),i.apply(this,arguments)}return r=u,(n=[{key:"getLabelShape",value:function(){var t=this.getAttributes(),r=this.getProperties(),n=t.x,o=t.y,i=t.width,c=t.height;return Object(e.h)("text",{x:n-i/2+5,y:o-c/2+16,fontSize:12,fill:"blue"},r.moreText)}},{key:"getShape",value:function(){var t=this.getAttributes(),r=t.x,n=t.y,o=t.width,i=t.height;return Object(e.h)("g",{},[Object(e.h)("rect",c(c({},t),{},{fill:"#FFFFFF",x:r-o/2,y:n-i/2})),this.getLabelShape()])}}])&&a(r.prototype,n),o&&a(r,o),u}(e.RectNode),h={pluginName:"rect-label-node",install:function(t){t.register({type:"rect-label",model:e.RectNodeModel,view:v})}};r.default=h}])}));
1
+ !function(t,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("window"));else if("function"==typeof define&&define.amd)define(["window"],r);else{var n="object"==typeof exports?r(require("window")):r(t.window);for(var e in n)("object"==typeof exports?exports:t)[e]=n[e]}}(window,(function(t){return function(t){var r={};function n(e){if(r[e])return r[e].exports;var o=r[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=r,n.d=function(t,r,e){n.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:e})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,r){if(1&r&&(t=n(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(n.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var o in t)n.d(e,o,function(r){return t[r]}.bind(null,o));return e},n.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(r,"a",r),r},n.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},n.p="",n(n.s=205)}([function(t,r,n){(function(r){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r&&r)||function(){return this}()||Function("return this")()}).call(this,n(85))},function(t,r,n){var e=n(0),o=n(35),i=n(5),c=n(29),u=n(36),f=n(47),a=o("wks"),s=e.Symbol,p=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]=p("Symbol."+t)),a[t]}},function(t,r){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,r){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,r,n){var e=n(0),o=n(18).f,i=n(9),c=n(13),u=n(33),f=n(57),a=n(58);t.exports=function(t,r){var n,s,p,l,y,v=t.target,h=t.global,b=t.stat;if(n=h?e:b?e[v]||u(v,{}):(e[v]||{}).prototype)for(s in r){if(l=r[s],p=t.noTargetGet?(y=o(n,s))&&y.value:n[s],!a(h?s:v+(b?".":"#")+s,t.forced)&&void 0!==p){if(typeof l==typeof p)continue;f(l,p)}(t.sham||p&&p.sham)&&i(l,"sham",!0),c(n,s,l,t)}}},function(t,r,n){var e=n(11),o={}.hasOwnProperty;t.exports=Object.hasOwn||function(t,r){return o.call(e(t),r)}},function(t,r,n){var e=n(7),o=n(48),i=n(8),c=n(21),u=Object.defineProperty;r.f=e?u:function(t,r,n){if(i(t),r=c(r),i(n),o)try{return u(t,r,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[r]=n.value),t}},function(t,r,n){var e=n(2);t.exports=!e((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,r,n){var e=n(3);t.exports=function(t){if(!e(t))throw TypeError(String(t)+" is not an object");return t}},function(t,r,n){var e=n(7),o=n(6),i=n(15);t.exports=e?function(t,r,n){return o.f(t,r,i(1,n))}:function(t,r,n){return t[r]=n,t}},function(t,r,n){var e=n(41),o=n(27);t.exports=function(t){return e(o(t))}},function(t,r,n){var e=n(27);t.exports=function(t){return Object(e(t))}},function(t,r,n){var e=n(0),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,r){return arguments.length<2?o(e[t]):e[t]&&e[t][r]}},function(t,r,n){var e=n(0),o=n(9),i=n(5),c=n(33),u=n(44),f=n(17),a=f.get,s=f.enforce,p=String(String).split("String");(t.exports=function(t,r,n,u){var f,a=!!u&&!!u.unsafe,l=!!u&&!!u.enumerable,y=!!u&&!!u.noTargetGet;"function"==typeof n&&("string"!=typeof r||i(n,"name")||o(n,"name",r),(f=s(n)).source||(f.source=p.join("string"==typeof r?r:""))),t!==e?(a?!y&&t[r]&&(l=!0):delete t[r],l?t[r]=n:o(t,r,n)):l?t[r]=n:c(r,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&a(this).source||u(this)}))},function(t,r,n){var e=n(34),o=Math.min;t.exports=function(t){return t>0?o(e(t),9007199254740991):0}},function(t,r){t.exports=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}}},function(t,r){t.exports={}},function(t,r,n){var e,o,i,c=n(87),u=n(0),f=n(3),a=n(9),s=n(5),p=n(32),l=n(26),y=n(16),v=u.WeakMap;if(c||p.state){var h=p.state||(p.state=new v),b=h.get,d=h.has,g=h.set;e=function(t,r){if(d.call(h,t))throw new TypeError("Object already initialized");return r.facade=t,g.call(h,t,r),r},o=function(t){return b.call(h,t)||{}},i=function(t){return d.call(h,t)}}else{var m=l("state");y[m]=!0,e=function(t,r){if(s(t,m))throw new TypeError("Object already initialized");return r.facade=t,a(t,m,r),r},o=function(t){return s(t,m)?t[m]:{}},i=function(t){return s(t,m)}}t.exports={set:e,get:o,has:i,enforce:function(t){return i(t)?o(t):e(t,{})},getterFor:function(t){return function(r){var n;if(!f(r)||(n=o(r)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},function(t,r,n){var e=n(7),o=n(50),i=n(15),c=n(10),u=n(21),f=n(5),a=n(48),s=Object.getOwnPropertyDescriptor;r.f=e?s:function(t,r){if(t=c(t),r=u(r),a)try{return s(t,r)}catch(t){}if(f(t,r))return i(!o.f.call(t,r),t[r])}},function(t,r,n){var e=n(12),o=n(47);t.exports=o?function(t){return"symbol"==typeof t}:function(t){var r=e("Symbol");return"function"==typeof r&&Object(t)instanceof r}},function(t,r,n){var e,o=n(8),i=n(84),c=n(37),u=n(16),f=n(91),a=n(51),s=n(26),p=s("IE_PROTO"),l=function(){},y=function(t){return"<script>"+t+"<\/script>"},v=function(t){t.write(y("")),t.close();var r=t.parentWindow.Object;return t=null,r},h=function(){try{e=new ActiveXObject("htmlfile")}catch(t){}var t,r;h="undefined"!=typeof document?document.domain&&e?v(e):((r=a("iframe")).style.display="none",f.appendChild(r),r.src=String("javascript:"),(t=r.contentWindow.document).open(),t.write(y("document.F=Object")),t.close(),t.F):v(e);for(var n=c.length;n--;)delete h.prototype[c[n]];return h()};u[p]=!0,t.exports=Object.create||function(t,r){var n;return null!==t?(l.prototype=o(t),n=new l,l.prototype=null,n[p]=t):n=h(),void 0===r?n:i(n,r)}},function(t,r,n){var e=n(76),o=n(19);t.exports=function(t){var r=e(t,"string");return o(r)?r:String(r)}},function(t,r){t.exports={}},function(r,n){r.exports=t},function(t,r){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,r){t.exports=!1},function(t,r,n){var e=n(35),o=n(29),i=e("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,r){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,r,n){var e=n(24);t.exports=Array.isArray||function(t){return"Array"==e(t)}},function(t,r){var n=0,e=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+e).toString(36)}},function(t,r,n){var e=n(53),o=n(37).concat("length","prototype");r.f=Object.getOwnPropertyNames||function(t){return e(t,o)}},function(t,r,n){var e=n(19);t.exports=function(t){if(e(t))throw TypeError("Cannot convert a Symbol value to a string");return String(t)}},function(t,r,n){var e=n(0),o=n(33),i=e["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,r,n){var e=n(0);t.exports=function(t,r){try{Object.defineProperty(e,t,{value:r,configurable:!0,writable:!0})}catch(n){e[t]=r}return r}},function(t,r){var n=Math.ceil,e=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?e:n)(t)}},function(t,r,n){var e=n(25),o=n(32);(t.exports=function(t,r){return o[t]||(o[t]=void 0!==r?r:{})})("versions",[]).push({version:"3.17.2",mode:e?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(t,r,n){var e=n(38),o=n(2);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&e&&e<41}))},function(t,r){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,r,n){var e,o,i=n(0),c=n(66),u=i.process,f=i.Deno,a=u&&u.versions||f&&f.version,s=a&&a.v8;s?o=(e=s.split("."))[0]<4?1:e[0]+e[1]:c&&(!(e=c.match(/Edge\/(\d+)/))||e[1]>=74)&&(e=c.match(/Chrome\/(\d+)/))&&(o=e[1]),t.exports=o&&+o},function(t,r,n){var e=n(6).f,o=n(5),i=n(1)("toStringTag");t.exports=function(t,r,n){t&&!o(t=n?t:t.prototype,i)&&e(t,i,{configurable:!0,value:r})}},function(t,r,n){var e=n(45);t.exports=function(t,r,n){if(e(t),void 0===r)return t;switch(n){case 0:return function(){return t.call(r)};case 1:return function(n){return t.call(r,n)};case 2:return function(n,e){return t.call(r,n,e)};case 3:return function(n,e,o){return t.call(r,n,e,o)}}return function(){return t.apply(r,arguments)}}},function(t,r,n){var e=n(2),o=n(24),i="".split;t.exports=e((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},function(t,r,n){var e=n(40),o=n(41),i=n(11),c=n(14),u=n(59),f=[].push,a=function(t){var r=1==t,n=2==t,a=3==t,s=4==t,p=6==t,l=7==t,y=5==t||p;return function(v,h,b,d){for(var g,m,O=i(v),x=o(O),S=e(h,b,3),w=c(x.length),j=0,P=d||u,T=r?P(v,w):n||l?P(v,0):void 0;w>j;j++)if((y||j in x)&&(m=S(g=x[j],j,O),t))if(r)T[j]=m;else if(m)switch(t){case 3:return!0;case 5:return g;case 6:return j;case 2:f.call(T,g)}else switch(t){case 4:return!1;case 7:f.call(T,g)}return p?-1:a||s?s:T}};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,r,n){var e={};e[n(1)("toStringTag")]="z",t.exports="[object z]"===String(e)},function(t,r,n){var e=n(32),o=Function.toString;"function"!=typeof e.inspectSource&&(e.inspectSource=function(t){return o.call(t)}),t.exports=e.inspectSource},function(t,r){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,r,n){var e=n(53),o=n(37);t.exports=Object.keys||function(t){return e(t,o)}},function(t,r,n){var e=n(36);t.exports=e&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,r,n){var e=n(7),o=n(2),i=n(51);t.exports=!e&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,r,n){"use strict";var e=n(10),o=n(93),i=n(22),c=n(17),u=n(56),f=c.set,a=c.getterFor("Array Iterator");t.exports=u(Array,"Array",(function(t,r){f(this,{type:"Array Iterator",target:e(t),index:0,kind:r})}),(function(){var t=a(this),r=t.target,n=t.kind,e=t.index++;return!r||e>=r.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:e,done:!1}:"values"==n?{value:r[e],done:!1}:{value:[e,r[e]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(t,r,n){"use strict";var e={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!e.call({1:2},1);r.f=i?function(t){var r=o(this,t);return!!r&&r.enumerable}:e},function(t,r,n){var e=n(0),o=n(3),i=e.document,c=o(i)&&o(i.createElement);t.exports=function(t){return c?i.createElement(t):{}}},function(t,r,n){var e=n(5),o=n(11),i=n(26),c=n(89),u=i("IE_PROTO"),f=Object.prototype;t.exports=c?Object.getPrototypeOf:function(t){return t=o(t),e(t,u)?t[u]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?f:null}},function(t,r,n){var e=n(5),o=n(10),i=n(72).indexOf,c=n(16);t.exports=function(t,r){var n,u=o(t),f=0,a=[];for(n in u)!e(c,n)&&e(u,n)&&a.push(n);for(;r.length>f;)e(u,n=r[f++])&&(~i(a,n)||a.push(n));return a}},function(t,r){r.f=Object.getOwnPropertySymbols},function(t,r,n){"use strict";var e=n(21),o=n(6),i=n(15);t.exports=function(t,r,n){var c=e(r);c in t?o.f(t,c,i(0,n)):t[c]=n}},function(t,r,n){"use strict";var e=n(4),o=n(94),i=n(52),c=n(64),u=n(39),f=n(9),a=n(13),s=n(1),p=n(25),l=n(22),y=n(65),v=y.IteratorPrototype,h=y.BUGGY_SAFARI_ITERATORS,b=s("iterator"),d=function(){return this};t.exports=function(t,r,n,s,y,g,m){o(n,r,s);var O,x,S,w=function(t){if(t===y&&_)return _;if(!h&&t in T)return T[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},j=r+" Iterator",P=!1,T=t.prototype,E=T[b]||T["@@iterator"]||y&&T[y],_=!h&&E||w(y),A="Array"==r&&T.entries||E;if(A&&(O=i(A.call(new t)),v!==Object.prototype&&O.next&&(p||i(O)===v||(c?c(O,v):"function"!=typeof O[b]&&f(O,b,d)),u(O,j,!0,!0),p&&(l[j]=d))),"values"==y&&E&&"values"!==E.name&&(P=!0,_=function(){return E.call(this)}),p&&!m||T[b]===_||f(T,b,_),l[r]=_,y)if(x={values:w("values"),keys:g?_:w("keys"),entries:w("entries")},m)for(S in x)(h||P||!(S in T))&&a(T,S,x[S]);else e({target:r,proto:!0,forced:h||P},x);return x}},function(t,r,n){var e=n(5),o=n(71),i=n(18),c=n(6);t.exports=function(t,r){for(var n=o(r),u=c.f,f=i.f,a=0;a<n.length;a++){var s=n[a];e(t,s)||u(t,s,f(r,s))}}},function(t,r,n){var e=n(2),o=/#|\.prototype\./,i=function(t,r){var n=u[c(t)];return n==a||n!=f&&("function"==typeof r?e(r):!!r)},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,r,n){var e=n(88);t.exports=function(t,r){return new(e(t))(0===r?0:r)}},function(t,r,n){"use strict";var e=n(42).forEach,o=n(67)("forEach");t.exports=o?[].forEach:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}},function(t,r){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,r,n){var e=n(34),o=Math.max,i=Math.min;t.exports=function(t,r){var n=e(t);return n<0?o(n+r,0):i(n,r)}},function(t,r,n){var e=n(2),o=n(1),i=n(38),c=o("species");t.exports=function(t){return i>=51||!e((function(){var r=[];return(r.constructor={})[c]=function(){return{foo:1}},1!==r[t](Boolean).foo}))}},function(t,r,n){var e=n(8),o=n(95);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,r=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),r=n instanceof Array}catch(t){}return function(n,i){return e(n),o(i),r?t.call(n,i):n.__proto__=i,n}}():void 0)},function(t,r,n){"use strict";var e,o,i,c=n(2),u=n(52),f=n(9),a=n(5),s=n(1),p=n(25),l=s("iterator"),y=!1;[].keys&&("next"in(i=[].keys())?(o=u(u(i)))!==Object.prototype&&(e=o):y=!0);var v=null==e||c((function(){var t={};return e[l].call(t)!==t}));v&&(e={}),p&&!v||a(e,l)||f(e,l,(function(){return this})),t.exports={IteratorPrototype:e,BUGGY_SAFARI_ITERATORS:y}},function(t,r,n){var e=n(12);t.exports=e("navigator","userAgent")||""},function(t,r,n){"use strict";var e=n(2);t.exports=function(t,r){var n=[][t];return!!n&&e((function(){n.call(null,r||function(){throw 1},1)}))}},function(t,r,n){var e=n(43),o=n(13),i=n(100);e||o(Object.prototype,"toString",i,{unsafe:!0})},function(t,r,n){"use strict";var e=n(92).charAt,o=n(31),i=n(17),c=n(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,r=f(this),n=r.string,o=r.index;return o>=n.length?{value:void 0,done:!0}:(t=e(n,o),r.index+=t.length,{value:t,done:!1})}))},function(t,r,n){"use strict";var e=n(4),o=n(0),i=n(12),c=n(25),u=n(7),f=n(36),a=n(2),s=n(5),p=n(28),l=n(3),y=n(19),v=n(8),h=n(11),b=n(10),d=n(21),g=n(31),m=n(15),O=n(20),x=n(46),S=n(30),w=n(90),j=n(54),P=n(18),T=n(6),E=n(50),_=n(9),A=n(13),L=n(35),k=n(26),F=n(16),M=n(29),R=n(1),I=n(75),C=n(78),N=n(39),D=n(17),G=n(42).forEach,z=k("hidden"),V=R("toPrimitive"),B=D.set,W=D.getterFor("Symbol"),q=Object.prototype,H=o.Symbol,U=i("JSON","stringify"),Y=P.f,J=T.f,$=w.f,K=E.f,Q=L("symbols"),X=L("op-symbols"),Z=L("string-to-symbol-registry"),tt=L("symbol-to-string-registry"),rt=L("wks"),nt=o.QObject,et=!nt||!nt.prototype||!nt.prototype.findChild,ot=u&&a((function(){return 7!=O(J({},"a",{get:function(){return J(this,"a",{value:7}).a}})).a}))?function(t,r,n){var e=Y(q,r);e&&delete q[r],J(t,r,n),e&&t!==q&&J(q,r,e)}:J,it=function(t,r){var n=Q[t]=O(H.prototype);return B(n,{type:"Symbol",tag:t,description:r}),u||(n.description=r),n},ct=function(t,r,n){t===q&&ct(X,r,n),v(t);var e=d(r);return v(n),s(Q,e)?(n.enumerable?(s(t,z)&&t[z][e]&&(t[z][e]=!1),n=O(n,{enumerable:m(0,!1)})):(s(t,z)||J(t,z,m(1,{})),t[z][e]=!0),ot(t,e,n)):J(t,e,n)},ut=function(t,r){v(t);var n=b(r),e=x(n).concat(pt(n));return G(e,(function(r){u&&!ft.call(n,r)||ct(t,r,n[r])})),t},ft=function(t){var r=d(t),n=K.call(this,r);return!(this===q&&s(Q,r)&&!s(X,r))&&(!(n||!s(this,r)||!s(Q,r)||s(this,z)&&this[z][r])||n)},at=function(t,r){var n=b(t),e=d(r);if(n!==q||!s(Q,e)||s(X,e)){var o=Y(n,e);return!o||!s(Q,e)||s(n,z)&&n[z][e]||(o.enumerable=!0),o}},st=function(t){var r=$(b(t)),n=[];return G(r,(function(t){s(Q,t)||s(F,t)||n.push(t)})),n},pt=function(t){var r=t===q,n=$(r?X:b(t)),e=[];return G(n,(function(t){!s(Q,t)||r&&!s(q,t)||e.push(Q[t])})),e};(f||(A((H=function(){if(this instanceof H)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?g(arguments[0]):void 0,r=M(t),n=function(t){this===q&&n.call(X,t),s(this,z)&&s(this[z],r)&&(this[z][r]=!1),ot(this,r,m(1,t))};return u&&et&&ot(q,r,{configurable:!0,set:n}),it(r,t)}).prototype,"toString",(function(){return W(this).tag})),A(H,"withoutSetter",(function(t){return it(M(t),t)})),E.f=ft,T.f=ct,P.f=at,S.f=w.f=st,j.f=pt,I.f=function(t){return it(R(t),t)},u&&(J(H.prototype,"description",{configurable:!0,get:function(){return W(this).description}}),c||A(q,"propertyIsEnumerable",ft,{unsafe:!0}))),e({global:!0,wrap:!0,forced:!f,sham:!f},{Symbol:H}),G(x(rt),(function(t){C(t)})),e({target:"Symbol",stat:!0,forced:!f},{for:function(t){var r=g(t);if(s(Z,r))return Z[r];var n=H(r);return Z[r]=n,tt[n]=r,n},keyFor:function(t){if(!y(t))throw TypeError(t+" is not a symbol");if(s(tt,t))return tt[t]},useSetter:function(){et=!0},useSimple:function(){et=!1}}),e({target:"Object",stat:!0,forced:!f,sham:!u},{create:function(t,r){return void 0===r?O(t):ut(O(t),r)},defineProperty:ct,defineProperties:ut,getOwnPropertyDescriptor:at}),e({target:"Object",stat:!0,forced:!f},{getOwnPropertyNames:st,getOwnPropertySymbols:pt}),e({target:"Object",stat:!0,forced:a((function(){j.f(1)}))},{getOwnPropertySymbols:function(t){return j.f(h(t))}}),U)&&e({target:"JSON",stat:!0,forced:!f||a((function(){var t=H();return"[null]"!=U([t])||"{}"!=U({a:t})||"{}"!=U(Object(t))}))},{stringify:function(t,r,n){for(var e,o=[t],i=1;arguments.length>i;)o.push(arguments[i++]);if(e=r,(l(r)||void 0!==t)&&!y(t))return p(r)||(r=function(t,r){if("function"==typeof e&&(r=e.call(this,t,r)),!y(r))return r}),o[1]=r,U.apply(null,o)}});H.prototype[V]||_(H.prototype,V,H.prototype.valueOf),N(H,"Symbol"),F[z]=!0},function(t,r,n){var e=n(12),o=n(30),i=n(54),c=n(8);t.exports=e("Reflect","ownKeys")||function(t){var r=o.f(c(t)),n=i.f;return n?r.concat(n(t)):r}},function(t,r,n){var e=n(10),o=n(14),i=n(62),c=function(t){return function(r,n,c){var u,f=e(r),a=o(f.length),s=i(c,a);if(t&&n!=n){for(;a>s;)if((u=f[s++])!=u)return!0}else for(;a>s;s++)if((t||s in f)&&f[s]===n)return t||s||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},,function(t,r,n){var e=n(43),o=n(24),i=n(1)("toStringTag"),c="Arguments"==o(function(){return arguments}());t.exports=e?o:function(t){var r,n,e;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,r){try{return t[r]}catch(t){}}(r=Object(t),i))?n:c?o(r):"Object"==(e=o(r))&&"function"==typeof r.callee?"Arguments":e}},function(t,r,n){var e=n(1);r.f=e},function(t,r,n){var e=n(3),o=n(19),i=n(86),c=n(1)("toPrimitive");t.exports=function(t,r){if(!e(t)||o(t))return t;var n,u=t[c];if(void 0!==u){if(void 0===r&&(r="default"),n=u.call(t,r),!e(n)||o(n))return n;throw TypeError("Can't convert object to primitive value")}return void 0===r&&(r="number"),i(t,r)}},function(t,r,n){var e=n(0),o=n(61),i=n(49),c=n(9),u=n(1),f=u("iterator"),a=u("toStringTag"),s=i.values;for(var p in o){var l=e[p],y=l&&l.prototype;if(y){if(y[f]!==s)try{c(y,f,s)}catch(t){y[f]=s}if(y[a]||c(y,a,p),o[p])for(var v in i)if(y[v]!==i[v])try{c(y,v,i[v])}catch(t){y[v]=i[v]}}}},function(t,r,n){var e=n(101),o=n(5),i=n(75),c=n(6).f;t.exports=function(t){var r=e.Symbol||(e.Symbol={});o(r,t)||c(r,t,{value:i.f(t)})}},function(t,r,n){var e=n(4),o=n(7);e({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:n(6).f})},function(t,r,n){"use strict";var e=n(4),o=n(7),i=n(0),c=n(5),u=n(3),f=n(6).f,a=n(57),s=i.Symbol;if(o&&"function"==typeof s&&(!("description"in s.prototype)||void 0!==s().description)){var p={},l=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),r=this instanceof l?new s(t):void 0===t?s():s(t);return""===t&&(p[r]=!0),r};a(l,s);var y=l.prototype=s.prototype;y.constructor=l;var v=y.toString,h="Symbol(test)"==String(s("test")),b=/^Symbol\((.*)\)[^)]+$/;f(y,"description",{configurable:!0,get:function(){var t=u(this)?this.valueOf():this,r=v.call(t);if(c(p,t))return"";var n=h?r.slice(7,-1):r.replace(b,"$1");return""===n?void 0:n}}),e({global:!0,forced:!0},{Symbol:l})}},function(t,r,n){n(78)("iterator")},function(t,r,n){"use strict";var e=n(4),o=n(60);e({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(t,r,n){var e=n(0),o=n(61),i=n(60),c=n(9);for(var u in o){var f=e[u],a=f&&f.prototype;if(a&&a.forEach!==i)try{c(a,"forEach",i)}catch(t){a.forEach=i}}},function(t,r,n){var e=n(7),o=n(6),i=n(8),c=n(46);t.exports=e?Object.defineProperties:function(t,r){i(t);for(var n,e=c(r),u=e.length,f=0;u>f;)o.f(t,n=e[f++],r[n]);return t}},function(t,r){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,r,n){var e=n(3);t.exports=function(t,r){var n,o;if("string"===r&&"function"==typeof(n=t.toString)&&!e(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!e(o=n.call(t)))return o;if("string"!==r&&"function"==typeof(n=t.toString)&&!e(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,r,n){var e=n(0),o=n(44),i=e.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},function(t,r,n){var e=n(3),o=n(28),i=n(1)("species");t.exports=function(t){var r;return o(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!o(r.prototype)?e(r)&&null===(r=r[i])&&(r=void 0):r=void 0),void 0===r?Array:r}},function(t,r,n){var e=n(2);t.exports=!e((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,r,n){var e=n(10),o=n(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(e(t))}},function(t,r,n){var e=n(12);t.exports=e("document","documentElement")},function(t,r,n){var e=n(34),o=n(31),i=n(27),c=function(t){return function(r,n){var c,u,f=o(i(r)),a=e(n),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,r,n){var e=n(1),o=n(20),i=n(6),c=e("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,r,n){"use strict";var e=n(65).IteratorPrototype,o=n(20),i=n(15),c=n(39),u=n(22),f=function(){return this};t.exports=function(t,r,n){var a=r+" Iterator";return t.prototype=o(e,{next:i(1,n)}),c(t,a,!1,!0),u[a]=f,t}},function(t,r,n){var e=n(3);t.exports=function(t){if(!e(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},,,,,function(t,r,n){"use strict";var e=n(43),o=n(74);t.exports=e?{}.toString:function(){return"[object "+o(this)+"]"}},function(t,r,n){var e=n(0);t.exports=e},,,,,,,function(t,r,n){var e=n(4),o=n(2),i=n(10),c=n(18).f,u=n(7),f=o((function(){c(1)}));e({target:"Object",stat:!0,forced:!u||f,sham:!u},{getOwnPropertyDescriptor:function(t,r){return c(i(t),r)}})},function(t,r,n){n(4)({target:"Object",stat:!0},{setPrototypeOf:n(64)})},function(t,r,n){var e=n(4),o=n(2),i=n(11),c=n(52),u=n(89);e({target:"Object",stat:!0,forced:o((function(){c(1)})),sham:!u},{getPrototypeOf:function(t){return c(i(t))}})},function(t,r,n){var e=n(4),o=n(12),i=n(45),c=n(8),u=n(3),f=n(20),a=n(131),s=n(2),p=o("Reflect","construct"),l=s((function(){function t(){}return!(p((function(){}),[],t)instanceof t)})),y=!s((function(){p((function(){}))})),v=l||y;e({target:"Reflect",stat:!0,forced:v,sham:v},{construct:function(t,r){i(t),c(r);var n=arguments.length<3?t:i(arguments[2]);if(y&&!l)return p(t,r,n);if(t==n){switch(r.length){case 0:return new t;case 1:return new t(r[0]);case 2:return new t(r[0],r[1]);case 3:return new t(r[0],r[1],r[2]);case 4:return new t(r[0],r[1],r[2],r[3])}var e=[null];return e.push.apply(e,r),new(a.apply(t,e))}var o=n.prototype,s=f(u(o)?o:Object.prototype),v=Function.apply.call(t,s,r);return u(v)?v:s}})},function(t,r,n){n(4)({target:"Object",stat:!0,sham:!n(7)},{create:n(20)})},,,,function(t,r,n){var e=n(4),o=n(11),i=n(46);e({target:"Object",stat:!0,forced:n(2)((function(){i(1)}))},{keys:function(t){return i(o(t))}})},,,,,,,,function(t,r,n){"use strict";var e=n(4),o=n(42).filter;e({target:"Array",proto:!0,forced:!n(63)("filter")},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,r,n){var e=n(4),o=n(7),i=n(71),c=n(10),u=n(18),f=n(55);e({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(t){for(var r,n,e=c(t),o=u.f,a=i(e),s={},p=0;a.length>p;)void 0!==(n=o(e,r=a[p++]))&&f(s,r,n);return s}})},function(t,r,n){var e=n(4),o=n(7);e({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:n(84)})},,,,,function(t,r,n){"use strict";var e=n(45),o=n(3),i=[].slice,c={},u=function(t,r,n){if(!(r in c)){for(var e=[],o=0;o<r;o++)e[o]="a["+o+"]";c[r]=Function("C,a","return new C("+e.join(",")+")")}return c[r](t,n)};t.exports=Function.bind||function(t){var r=e(this),n=i.call(arguments,1),c=function(){var e=n.concat(i.call(arguments));return this instanceof c?u(r,e.length,e):r.apply(t,e)};return o(r.prototype)&&(c.prototype=r.prototype),c}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,r,n){"use strict";n.r(r),n.d(r,"RectLabelNode",(function(){return h}));var e=n(23);n(109),n(110),n(111),n(112),n(79),n(116),n(70),n(124),n(108),n(82),n(83),n(125),n(126),n(80),n(68),n(81),n(49),n(69),n(77);function o(t){return(o="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 i(t,r){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);r&&(e=e.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),n.push.apply(n,e)}return n}function c(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?i(Object(n),!0).forEach((function(r){u(t,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))}))}return t}function u(t,r,n){return r in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t}function f(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}function a(t,r){for(var n=0;n<r.length;n++){var e=r[n];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(t,e.key,e)}}function s(t,r){return(s=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t})(t,r)}function p(t){var r=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 n,e=y(t);if(r){var o=y(this).constructor;n=Reflect.construct(e,arguments,o)}else n=e.apply(this,arguments);return l(this,n)}}function l(t,r){if(r&&("object"===o(r)||"function"==typeof r))return r;if(void 0!==r)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 y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var v=function(t){!function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),r&&s(t,r)}(u,t);var r,n,o,i=p(u);function u(){return f(this,u),i.apply(this,arguments)}return r=u,(n=[{key:"getLabelShape",value:function(){var t=this.props.model,r=t.x,n=t.y,o=t.width,i=t.height,c=t.properties;return Object(e.h)("text",{x:r-o/2+5,y:n-i/2+16,fontSize:12,fill:"blue"},c.moreText)}},{key:"getShape",value:function(){var t=this.props.model,r=t.x,n=t.y,o=t.width,i=t.height,u=this.props.model.getNodeStyle();return Object(e.h)("g",{},[Object(e.h)("rect",c(c({},u),{},{fill:"#FFFFFF",x:r-o/2,y:n-i/2})),this.getLabelShape()])}}])&&a(r.prototype,n),o&&a(r,o),u}(e.RectNode),h={pluginName:"rect-label-node",install:function(t){t.register({type:"rect-label",model:e.RectNodeModel,view:v})}};r.default=h}])}));
@@ -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(83))},function(t,n,e){var r=e(0),o=e(35),i=e(5),c=e(29),u=e(36),a=e(47),f=o("wks"),s=r.Symbol,l=a?s:s&&s.withoutSetter||c;t.exports=function(t){return i(f,t)&&(u||"string"==typeof f[t])||(u&&i(s,t)?f[t]=s[t]:f[t]=l("Symbol."+t)),f[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),a=e(57),f=e(58);t.exports=function(t,n){var e,s,l,p,v,d=t.target,y=t.global,h=t.stat;if(e=y?r:h?r[d]||u(d,{}):(r[d]||{}).prototype)for(s in n){if(p=n[s],l=t.noTargetGet?(v=o(e,s))&&v.value:e[s],!f(y?s:d+(h?".":"#")+s,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;a(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),c(e,s,p,t)}}},function(t,n,e){var r=e(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),a=e(17),f=a.get,s=a.enforce,l=String(String).split("String");(t.exports=function(t,n,e,u){var a,f=!!u&&!!u.unsafe,p=!!u&&!!u.enumerable,v=!!u&&!!u.noTargetGet;"function"==typeof e&&("string"!=typeof n||i(e,"name")||o(e,"name",n),(a=s(e)).source||(a.source=l.join("string"==typeof n?n:""))),t!==r?(f?!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&&f(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),a=e(3),f=e(9),s=e(5),l=e(32),p=e(26),v=e(16),d=u.WeakMap;if(c||l.state){var y=l.state||(l.state=new d),h=y.get,m=y.has,b=y.set;r=function(t,n){if(m.call(y,t))throw new TypeError("Object already initialized");return n.facade=t,b.call(y,t,n),n},o=function(t){return h.call(y,t)||{}},i=function(t){return m.call(y,t)}}else{var x=p("state");v[x]=!0,r=function(t,n){if(s(t,x))throw new TypeError("Object already initialized");return n.facade=t,f(t,x,n),n},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(n){var e;if(!a(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),a=e(5),f=e(48),s=Object.getOwnPropertyDescriptor;n.f=r?s:function(t,n){if(t=c(t),n=u(n),f)try{return s(t,n)}catch(t){}if(a(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=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,a=i.Deno,f=u&&u.versions||a&&a.version,s=f&&f.v8;s?o=(r=s.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),a=[].push,f=function(t){var n=1==t,e=2==t,f=3==t,s=4==t,l=6==t,p=7==t,v=5==t||l;return function(d,y,h,m){for(var b,x,g=i(d),S=o(g),w=r(y,h,3),O=c(S.length),j=0,P=m||u,_=n?P(d,O):e||p?P(d,0):void 0;O>j;j++)if((v||j in S)&&(x=w(b=S[j],j,g),t))if(n)_[j]=x;else if(x)switch(t){case 3:return!0;case 5:return b;case 6:return j;case 2:a.call(_,b)}else switch(t){case 4:return!1;case 7:a.call(_,b)}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,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(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),a=0,f=[];for(e in u)!r(c,e)&&r(u,e)&&f.push(e);for(;n.length>a;)r(u,e=n[a++])&&(~i(f,e)||f.push(e));return f}},function(t,n){n.f=Object.getOwnPropertySymbols},,,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,a=i.f,f=0;f<e.length;f++){var s=e[f];r(t,s)||u(t,s,a(n,s))}}},function(t,n,e){var r=e(2),o=/#|\.prototype\./,i=function(t,n){var e=u[c(t)];return e==f||e!=a&&("function"==typeof n?r(n):!!n)},c=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},u=i.data={},a=i.NATIVE="N",f=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(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,a=r(n),f=o(a.length),s=i(c,f);if(t&&e!=e){for(;f>s;)if((u=a[s++])!=u)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===e)return t||s||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(4),o=e(7);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:e(6).f})},,,,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 a=r[u],f=a&&a.prototype;if(f&&f.forEach!==i)try{c(f,"forEach",i)}catch(t){f.forEach=i}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,n,e){"use strict";e.r(n),e.d(n,"SelectionSelect",(function(){return i}));e(89),e(90),e(79);function r(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function o(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var i=function(){function t(n){var e=this,r=n.lf;!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t),o(this,"__domContainer",void 0),o(this,"wrapper",void 0),o(this,"lf",void 0),o(this,"startPoint",void 0),o(this,"endPoint",void 0),o(this,"__disabled",!1),o(this,"isDefalutStopMoveGraph",!1),o(this,"__draw",(function(t){var n=e.lf.getPointByClient(t.clientX,t.clientY).domOverlayPosition,r=n.x,o=n.y;e.endPoint={x:r,y:o};var i=e.startPoint,c=i.x,u=i.y,a=e.wrapper.style,f=c,s=u,l=r-c,p=o-u;r<c&&(f=r,l=c-r),o<u&&(s=o,p=u-o),a.left="".concat(f,"px"),a.top="".concat(s,"px"),a.width="".concat(l,"px"),a.height="".concat(p,"px")})),o(this,"__drawOff",(function(){document.removeEventListener("mousemove",e.__draw),document.removeEventListener("mouseup",e.__drawOff),e.__domContainer.removeChild(e.wrapper);var t=e.startPoint,n=t.x,r=t.y,o=e.endPoint,i=o.x,c=o.y,u=[Math.min(n,i),Math.min(r,c)],a=[Math.max(n,i),Math.max(r,c)],f=e.lf.getAreaElement(u,a);f.forEach((function(t){e.lf.select(t.id,!0)})),e.lf.emit("selection:selected",f)})),this.lf=r;var i=r.getEditConfig().stopMoveGraph;this.isDefalutStopMoveGraph=i,r.openSelectionSelect=function(){i||(e.isDefalutStopMoveGraph=!1,r.updateEditConfig({stopMoveGraph:!0})),e.open()},r.closeSelectionSelect=function(){e.isDefalutStopMoveGraph||r.updateEditConfig({stopMoveGraph:!1}),e.close()}}var n,e,i;return n=t,(e=[{key:"render",value:function(t,n){var e=this;this.__domContainer=n,t.on("blank:mousedown",(function(r){var o=r.e;if(t.getEditConfig().stopMoveGraph&&!e.__disabled){var i=t.getPointByClient(o.clientX,o.clientY).domOverlayPosition,c=i.x,u=i.y;e.startPoint={x:c,y:u},e.endPoint={x:c,y:u};var a=document.createElement("div");a.className="lf-selection-select",a.style.top="".concat(e.startPoint.y,"px"),a.style.left="".concat(e.startPoint.x,"px"),n.appendChild(a),e.wrapper=a,document.addEventListener("mousemove",e.__draw),document.addEventListener("mouseup",e.__drawOff)}}))}},{key:"open",value:function(){this.__disabled=!1}},{key:"close",value:function(){this.__disabled=!0}}])&&r(n.prototype,e),i&&r(n,i),t}();o(i,"pluginName","selection-select")}])}));
1
+ !function(t,n){if("object"==typeof exports&&"object"==typeof module)module.exports=n();else if("function"==typeof define&&define.amd)define([],n);else{var e=n();for(var r in e)("object"==typeof exports?exports:t)[r]=e[r]}}(window,(function(){return function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=191)}([function(t,n,e){(function(n){var e=function(t){return t&&t.Math==Math&&t};t.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof n&&n)||function(){return this}()||Function("return this")()}).call(this,e(85))},function(t,n,e){var r=e(0),o=e(35),i=e(5),c=e(29),u=e(36),a=e(47),f=o("wks"),s=r.Symbol,l=a?s:s&&s.withoutSetter||c;t.exports=function(t){return i(f,t)&&(u||"string"==typeof f[t])||(u&&i(s,t)?f[t]=s[t]:f[t]=l("Symbol."+t)),f[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),a=e(57),f=e(58);t.exports=function(t,n){var e,s,l,p,v,y=t.target,d=t.global,h=t.stat;if(e=d?r:h?r[y]||u(y,{}):(r[y]||{}).prototype)for(s in n){if(p=n[s],l=t.noTargetGet?(v=o(e,s))&&v.value:e[s],!f(d?s:y+(h?".":"#")+s,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;a(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),c(e,s,p,t)}}},function(t,n,e){var r=e(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),a=e(17),f=a.get,s=a.enforce,l=String(String).split("String");(t.exports=function(t,n,e,u){var a,f=!!u&&!!u.unsafe,p=!!u&&!!u.enumerable,v=!!u&&!!u.noTargetGet;"function"==typeof e&&("string"!=typeof n||i(e,"name")||o(e,"name",n),(a=s(e)).source||(a.source=l.join("string"==typeof n?n:""))),t!==r?(f?!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&&f(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(87),u=e(0),a=e(3),f=e(9),s=e(5),l=e(32),p=e(26),v=e(16),y=u.WeakMap;if(c||l.state){var d=l.state||(l.state=new y),h=d.get,m=d.has,b=d.set;r=function(t,n){if(m.call(d,t))throw new TypeError("Object already initialized");return n.facade=t,b.call(d,t,n),n},o=function(t){return h.call(d,t)||{}},i=function(t){return m.call(d,t)}}else{var x=p("state");v[x]=!0,r=function(t,n){if(s(t,x))throw new TypeError("Object already initialized");return n.facade=t,f(t,x,n),n},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(n){var e;if(!a(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),a=e(5),f=e(48),s=Object.getOwnPropertyDescriptor;n.f=r?s:function(t,n){if(t=c(t),n=u(n),f)try{return s(t,n)}catch(t){}if(a(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=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,a=i.Deno,f=u&&u.versions||a&&a.version,s=f&&f.v8;s?o=(r=s.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),a=[].push,f=function(t){var n=1==t,e=2==t,f=3==t,s=4==t,l=6==t,p=7==t,v=5==t||l;return function(y,d,h,m){for(var b,x,g=i(y),S=o(g),w=r(d,h,3),O=c(S.length),j=0,P=m||u,_=n?P(y,O):e||p?P(y,0):void 0;O>j;j++)if((v||j in S)&&(x=w(b=S[j],j,g),t))if(n)_[j]=x;else if(x)switch(t){case 3:return!0;case 5:return b;case 6:return j;case 2:a.call(_,b)}else switch(t){case 4:return!1;case 7:a.call(_,b)}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,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(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),a=0,f=[];for(e in u)!r(c,e)&&r(u,e)&&f.push(e);for(;n.length>a;)r(u,e=n[a++])&&(~i(f,e)||f.push(e));return f}},function(t,n){n.f=Object.getOwnPropertySymbols},,,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,a=i.f,f=0;f<e.length;f++){var s=e[f];r(t,s)||u(t,s,a(n,s))}}},function(t,n,e){var r=e(2),o=/#|\.prototype\./,i=function(t,n){var e=u[c(t)];return e==f||e!=a&&("function"==typeof n?r(n):!!n)},c=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},u=i.data={},a=i.NATIVE="N",f=i.POLYFILL="P";t.exports=i},function(t,n,e){var r=e(88);t.exports=function(t,n){return new(r(t))(0===n?0: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(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(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(62),c=function(t){return function(n,e,c){var u,a=r(n),f=o(a.length),s=i(c,f);if(t&&e!=e){for(;f>s;)if((u=a[s++])!=u)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===e)return t||s||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(86),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(4),o=e(7);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:e(6).f})},,,function(t,n,e){"use strict";var r=e(4),o=e(60);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(t,n,e){var r=e(0),o=e(61),i=e(60),c=e(9);for(var u in o){var a=r[u],f=a&&a.prototype;if(f&&f.forEach!==i)try{c(f,"forEach",i)}catch(t){f.forEach=i}}},,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";e.r(n),e.d(n,"SelectionSelect",(function(){return i}));e(82),e(83),e(79);function r(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function o(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var i=function(){function t(n){var e=this,r=n.lf;!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t),o(this,"__disabled",!1),o(this,"isDefalutStopMoveGraph",!1),o(this,"__draw",(function(t){var n=e.lf.getPointByClient(t.clientX,t.clientY).domOverlayPosition,r=n.x,o=n.y;e.endPoint={x:r,y:o};var i=e.startPoint,c=i.x,u=i.y,a=e.wrapper.style,f=c,s=u,l=r-c,p=o-u;r<c&&(f=r,l=c-r),o<u&&(s=o,p=u-o),a.left="".concat(f,"px"),a.top="".concat(s,"px"),a.width="".concat(l,"px"),a.height="".concat(p,"px")})),o(this,"__drawOff",(function(){document.removeEventListener("mousemove",e.__draw),document.removeEventListener("mouseup",e.__drawOff),e.__domContainer.removeChild(e.wrapper);var t=e.startPoint,n=t.x,r=t.y,o=e.endPoint,i=o.x,c=o.y,u=[Math.min(n,i),Math.min(r,c)],a=[Math.max(n,i),Math.max(r,c)],f=e.lf.getAreaElement(u,a);f.forEach((function(t){e.lf.selectElementById(t.id,!0)})),e.lf.emit("selection:selected",f)})),this.lf=r;var i=r.getEditConfig().stopMoveGraph;this.isDefalutStopMoveGraph=i,r.openSelectionSelect=function(){i||(e.isDefalutStopMoveGraph=!1,r.updateEditConfig({stopMoveGraph:!0})),e.open()},r.closeSelectionSelect=function(){e.isDefalutStopMoveGraph||r.updateEditConfig({stopMoveGraph:!1}),e.close()}}var n,e,i;return n=t,(e=[{key:"render",value:function(t,n){var e=this;this.__domContainer=n,t.on("blank:mousedown",(function(r){var o=r.e;if(t.getEditConfig().stopMoveGraph&&!e.__disabled){var i=t.getPointByClient(o.clientX,o.clientY).domOverlayPosition,c=i.x,u=i.y;e.startPoint={x:c,y:u},e.endPoint={x:c,y:u};var a=document.createElement("div");a.className="lf-selection-select",a.style.top="".concat(e.startPoint.y,"px"),a.style.left="".concat(e.startPoint.x,"px"),n.appendChild(a),e.wrapper=a,document.addEventListener("mousemove",e.__draw),document.addEventListener("mouseup",e.__drawOff)}}))}},{key:"open",value:function(){this.__disabled=!1}},{key:"close",value:function(){this.__disabled=!0}}])&&r(n.prototype,e),i&&r(n,i),t}();o(i,"pluginName","selection-select")}])}));
package/lib/Snapshot.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=171)}([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),c=n(29),a=n(36),u=n(47),f=o("wks"),s=r.Symbol,l=u?s:s&&s.withoutSetter||c;t.exports=function(t){return i(f,t)&&(a||"string"==typeof f[t])||(a&&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),c=n(13),a=n(33),u=n(57),f=n(58);t.exports=function(t,e){var n,s,l,p,v,h=t.target,d=t.global,g=t.stat;if(n=d?r:g?r[h]||a(h,{}):(r[h]||{}).prototype)for(s in e){if(p=e[s],l=t.noTargetGet?(v=o(n,s))&&v.value:n[s],!f(d?s:h+(g?".":"#")+s,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;u(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),c(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),c=n(21),a=Object.defineProperty;e.f=r?a:function(t,e,n){if(i(t),e=c(e),i(n),o)try{return a(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),c=n(33),a=n(44),u=n(17),f=u.get,s=u.enforce,l=String(String).split("String");(t.exports=function(t,e,n,a){var u,f=!!a&&!!a.unsafe,p=!!a&&!!a.enumerable,v=!!a&&!!a.noTargetGet;"function"==typeof n&&("string"!=typeof e||i(n,"name")||o(n,"name",e),(u=s(n)).source||(u.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:c(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&f(this).source||a(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,c=n(85),a=n(0),u=n(3),f=n(9),s=n(5),l=n(32),p=n(26),v=n(16),h=a.WeakMap;if(c||l.state){var d=l.state||(l.state=new h),g=d.get,y=d.has,x=d.set;r=function(t,e){if(y.call(d,t))throw new TypeError("Object already initialized");return e.facade=t,x.call(d,t,e),e},o=function(t){return g.call(d,t)||{}},i=function(t){return y.call(d,t)}}else{var m=p("state");v[m]=!0,r=function(t,e){if(s(t,m))throw new TypeError("Object already initialized");return e.facade=t,f(t,m,e),e},o=function(t){return s(t,m)?t[m]:{}},i=function(t){return s(t,m)}}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(!u(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),c=n(10),a=n(21),u=n(5),f=n(48),s=Object.getOwnPropertyDescriptor;e.f=r?s:function(t,e){if(t=c(t),e=a(e),f)try{return s(t,e)}catch(t){}if(u(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),c=n(37),a=n(16),u=n(92),f=n(51),s=n(26),l=s("IE_PROTO"),p=function(){},v=function(t){return"<script>"+t+"<\/script>"},h=function(t){t.write(v("")),t.close();var e=t.parentWindow.Object;return t=null,e},d=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}var t,e;d="undefined"!=typeof document?document.domain&&r?h(r):((e=f("iframe")).style.display="none",u.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):h(r);for(var n=c.length;n--;)delete d.prototype[c[n]];return d()};a[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=d(),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),c=n(66),a=i.process,u=i.Deno,f=a&&a.versions||u&&u.version,s=f&&f.v8;s?o=(r=s.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,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),c=n(14),a=n(59),u=[].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(h,d,g,y){for(var x,m,b=i(h),w=o(b),S=r(d,g,3),E=c(w.length),O=0,j=y||a,T=e?j(h,E):n||p?j(h,0):void 0;E>O;O++)if((v||O in w)&&(m=S(x=w[O],O,b),t))if(e)T[O]=m;else if(m)switch(t){case 3:return!0;case 5:return x;case 6:return O;case 2:u.call(T,x)}else switch(t){case 4:return!1;case 7:u.call(T,x)}return l?-1:f||s?s:T}};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={}.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,c=o(i)&&o(i.createElement);t.exports=function(t){return c?i.createElement(t):{}}},function(t,e,n){var r=n(5),o=n(11),i=n(26),c=n(87),a=i("IE_PROTO"),u=Object.prototype;t.exports=c?Object.getPrototypeOf:function(t){return t=o(t),r(t,a)?t[a]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,e,n){var r=n(5),o=n(10),i=n(72).indexOf,c=n(16);t.exports=function(t,e){var n,a=o(t),u=0,f=[];for(n in a)!r(c,n)&&r(a,n)&&f.push(n);for(;e.length>u;)r(a,n=e[u++])&&(~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 c=r(e);c in t?o.f(t,c,i(0,n)):t[c]=n}},function(t,e,n){"use strict";var r=n(4),o=n(94),i=n(52),c=n(64),a=n(39),u=n(9),f=n(13),s=n(1),l=n(25),p=n(22),v=n(65),h=v.IteratorPrototype,d=v.BUGGY_SAFARI_ITERATORS,g=s("iterator"),y=function(){return this};t.exports=function(t,e,n,s,v,x,m){o(n,e,s);var b,w,S,E=function(t){if(t===v&&I)return I;if(!d&&t in T)return T[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},O=e+" Iterator",j=!1,T=t.prototype,A=T[g]||T["@@iterator"]||v&&T[v],I=!d&&A||E(v),N="Array"==e&&T.entries||A;if(N&&(b=i(N.call(new t)),h!==Object.prototype&&b.next&&(l||i(b)===h||(c?c(b,h):"function"!=typeof b[g]&&u(b,g,y)),a(b,O,!0,!0),l&&(p[O]=y))),"values"==v&&A&&"values"!==A.name&&(j=!0,I=function(){return A.call(this)}),l&&!m||T[g]===I||u(T,g,I),p[e]=I,v)if(w={values:E("values"),keys:x?I:E("keys"),entries:E("entries")},m)for(S in w)(d||j||!(S in T))&&f(T,S,w[S]);else r({target:e,proto:!0,forced:d||j},w);return w}},function(t,e,n){var r=n(5),o=n(71),i=n(18),c=n(6);t.exports=function(t,e){for(var n=o(e),a=c.f,u=i.f,f=0;f<n.length;f++){var s=n[f];r(t,s)||a(t,s,u(e,s))}}},function(t,e,n){var r=n(2),o=/#|\.prototype\./,i=function(t,e){var n=a[c(t)];return n==f||n!=u&&("function"==typeof e?r(e):!!e)},c=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},a=i.data={},u=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),c=o("species");t.exports=function(t){return i>=51||!r((function(){var e=[];return(e.constructor={})[c]=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,c=n(2),a=n(52),u=n(9),f=n(5),s=n(1),l=n(25),p=s("iterator"),v=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(r=o):v=!0);var h=null==r||c((function(){var t={};return r[p].call(t)!==t}));h&&(r={}),l&&!h||f(r,p)||u(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),c=n(56),a=i.set,u=i.getterFor("String Iterator");c(String,"String",(function(t){a(this,{type:"String Iterator",string:o(t),index:0})}),(function(){var t,e=u(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){var r=n(12),o=n(30),i=n(54),c=n(8);t.exports=r("Reflect","ownKeys")||function(t){var e=o.f(c(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),c=function(t){return function(e,n,c){var a,u=r(e),f=o(u.length),s=i(c,f);if(t&&n!=n){for(;f>s;)if((a=u[s++])!=a)return!0}else for(;f>s;s++)if((t||s in u)&&u[s]===n)return t||s||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!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"),c="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:c?o(e):"Object"==(r=o(e))&&"function"==typeof e.callee?"Arguments":r}},,function(t,e,n){var r=n(3),o=n(19),i=n(84),c=n(1)("toPrimitive");t.exports=function(t,e){if(!r(t)||o(t))return t;var n,a=t[c];if(void 0!==a){if(void 0===e&&(e="default"),n=a.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(7),o=n(6),i=n(8),c=n(46);t.exports=r?Object.defineProperties:function(t,e){i(t);for(var n,r=c(e),a=r.length,u=0;a>u;)o.f(t,n=r[u++],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){"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),c=n(9);for(var a in o){var u=r[a],f=u&&u.prototype;if(f&&f.forEach!==i)try{c(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),c=function(t){return function(e,n){var c,a,u=o(i(e)),f=r(n),s=u.length;return f<0||f>=s?t?"":void 0:(c=u.charCodeAt(f))<55296||c>56319||f+1===s||(a=u.charCodeAt(f+1))<56320||a>57343?t?u.charAt(f):c:t?u.slice(f,f+2):a-56320+(c-55296<<10)+65536}};t.exports={codeAt:c(!1),charAt:c(!0)}},function(t,e,n){"use strict";var r=n(65).IteratorPrototype,o=n(20),i=n(15),c=n(39),a=n(22),u=function(){return this};t.exports=function(t,e,n){var f=e+" Iterator";return t.prototype=o(r,{next:i(1,n)}),c(t,f,!1,!0),a[f]=u,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"),c=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||c[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,c={next:function(){return{done:!!i++}},return:function(){o=!0}};c[r]=function(){return this},Array.from(c,(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(8),o=n(96),i=n(14),c=n(40),a=n(97),u=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,h,d,g,y,x=n&&n.that,m=!(!n||!n.AS_ENTRIES),b=!(!n||!n.IS_ITERATOR),w=!(!n||!n.INTERRUPTED),S=c(e,x,1+m+w),E=function(t){return l&&f(l,"normal",t),new s(!0,t)},O=function(t){return m?(r(t),w?S(t[0],t[1],E):S(t[0],t[1])):w?S(t,E):S(t)};if(b)l=t;else{if("function"!=typeof(p=u(t)))throw TypeError("Target is not iterable");if(o(p)){for(v=0,h=i(t.length);h>v;v++)if((d=O(t[v]))&&d instanceof s)return d;return new s(!1)}l=a(t,p)}for(g=l.next;!(y=g.call(l)).done;){try{d=O(y.value)}catch(t){f(l,"throw",t)}if("object"==typeof d&&d&&d instanceof s)return d}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),c=n(3),a=n(11),u=n(14),f=n(55),s=n(59),l=n(63),p=n(1),v=n(38),h=p("isConcatSpreadable"),d=v>=51||!o((function(){var t=[];return t[h]=!1,t.concat()[0]!==t})),g=l("concat"),y=function(t){if(!c(t))return!1;var e=t[h];return void 0!==e?!!e:i(t)};r({target:"Array",proto:!0,forced:!d||!g},{concat:function(t){var e,n,r,o,i,c=a(this),l=s(c,0),p=0;for(e=-1,r=arguments.length;e<r;e++)if(y(i=-1===e?c:arguments[e])){if(p+(o=u(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(3),o=n(64);t.exports=function(t,e,n){var i,c;return o&&"function"==typeof(i=e.constructor)&&i!==n&&r(c=i.prototype)&&c!==n.prototype&&o(t,c),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),c=n(96),a=n(14),u=n(55),f=n(97),s=n(73);t.exports=function(t){var e,n,l,p,v,h,d=o(t),g="function"==typeof this?this:Array,y=arguments.length,x=y>1?arguments[1]:void 0,m=void 0!==x,b=s(d),w=0;if(m&&(x=r(x,y>2?arguments[2]:void 0,2)),null==b||g==Array&&c(b))for(n=new g(e=a(d.length));e>w;w++)h=m?x(d[w],w):d[w],u(n,w,h);else for(v=(p=f(d,b)).next,n=new g;!(l=v.call(p)).done;w++)h=m?i(p,x,[l.value,w],!0):l.value,u(n,w,h);return n.length=w,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){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),c=n(7),a=i("species");t.exports=function(t){var e=r(t),n=o.f;c&&e&&!e[a]&&n(e,a,{configurable:!0,get:function(){return this}})}},,,,,,function(t,e,n){"use strict";var r,o,i=n(31),c=n(146),a=n(141),u=n(35),f=n(20),s=n(17).get,l=n(147),p=n(148),v=RegExp.prototype.exec,h=u("native-string-replace",String.prototype.replace),d=v,g=(r=/a/,o=/b*/g,v.call(r,"a"),v.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),y=a.UNSUPPORTED_Y||a.BROKEN_CARET,x=void 0!==/()??/.exec("")[1];(g||x||y||l||p)&&(d=function(t){var e,n,r,o,a,u,l,p=this,m=s(p),b=i(t),w=m.raw;if(w)return w.lastIndex=p.lastIndex,e=d.call(w,b),p.lastIndex=w.lastIndex,e;var S=m.groups,E=y&&p.sticky,O=c.call(p),j=p.source,T=0,A=b;if(E&&(-1===(O=O.replace("y","")).indexOf("g")&&(O+="g"),A=b.slice(p.lastIndex),p.lastIndex>0&&(!p.multiline||p.multiline&&"\n"!==b.charAt(p.lastIndex-1))&&(j="(?: "+j+")",A=" "+A,T++),n=new RegExp("^(?:"+j+")",O)),x&&(n=new RegExp("^"+j+"$(?!\\s)",O)),g&&(r=p.lastIndex),o=v.call(E?n:p,A),E?o?(o.input=o.input.slice(T),o[0]=o[0].slice(T),o.index=p.lastIndex,p.lastIndex+=o[0].length):p.lastIndex=0:g&&o&&(p.lastIndex=p.global?o.index+o[0].length:r),x&&o&&o.length>1&&h.call(o[0],n,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(o[a]=void 0)})),o&&S)for(o.groups=u=f(null),a=0;a<S.length;a++)u[(l=S[a])[0]]=o[l[1]];return o}),t.exports=d},,,,,,function(t,e,n){"use strict";var r=n(4),o=n(72).indexOf,i=n(67),c=[].indexOf,a=!!c&&1/[1].indexOf(1,-0)<0,u=i("indexOf");r({target:"Array",proto:!0,forced:a||!u},{indexOf:function(t){return a?c.apply(this,arguments)||0:o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var r=n(4),o=n(127);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},,,,function(t,e,n){"use strict";var r=n(7),o=n(0),i=n(58),c=n(13),a=n(5),u=n(24),f=n(107),s=n(19),l=n(76),p=n(2),v=n(20),h=n(30).f,d=n(18).f,g=n(6).f,y=n(139).trim,x=o.Number,m=x.prototype,b="Number"==u(v(m)),w=function(t){if(s(t))throw TypeError("Cannot convert a Symbol value to a number");var e,n,r,o,i,c,a,u,f=l(t,"number");if("string"==typeof f&&f.length>2)if(43===(e=(f=y(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(c=(i=f.slice(2)).length,a=0;a<c;a++)if((u=i.charCodeAt(a))<48||u>o)return NaN;return parseInt(i,r)}return+f};if(i("Number",!x(" 0o1")||!x("0b1")||x("+0x1"))){for(var S,E=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof E&&(b?p((function(){m.valueOf.call(n)})):"Number"!=u(n))?f(new x(w(e)),n,E):w(e)},O=r?h(x):"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(","),j=0;O.length>j;j++)a(x,S=O[j])&&!a(E,S)&&g(E,S,d(x,S));E.prototype=m,m.constructor=E,c(o,"Number",E)}},function(t,e,n){var r=n(27),o=n(31),i="["+n(140)+"]",c=RegExp("^"+i+i+"*"),a=RegExp(i+i+"*$"),u=function(t){return function(e){var n=o(r(e));return 1&t&&(n=n.replace(c,"")),2&t&&(n=n.replace(a,"")),n}};t.exports={start:u(1),end:u(2),trim:u(3)}},function(t,e){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},function(t,e,n){var r=n(2),o=n(0).RegExp;e.UNSUPPORTED_Y=r((function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=r((function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},function(t,e,n){"use strict";n(134);var r=n(13),o=n(127),i=n(2),c=n(1),a=n(9),u=c("species"),f=RegExp.prototype;t.exports=function(t,e,n,s){var l=c(t),p=!i((function(){var e={};return e[l]=function(){return 7},7!=""[t](e)})),v=p&&!i((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[u]=function(){return n},n.flags="",n[l]=/./[l]),n.exec=function(){return e=!0,null},n[l](""),!e}));if(!p||!v||n){var h=/./[l],d=e(l,""[t],(function(t,e,n,r,i){var c=e.exec;return c===o||c===f.exec?p&&!i?{done:!0,value:h.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}));r(String.prototype,t,d[0]),r(f,l,d[1])}s&&a(f[l],"sham",!0)}},function(t,e,n){"use strict";var r=n(93).charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},function(t,e,n){var r=n(24),o=n(127);t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var i=n.call(t,e);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(t))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},,function(t,e,n){"use strict";var r=n(8);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){var r=n(2),o=n(0).RegExp;t.exports=r((function(){var t=o(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},function(t,e,n){var r=n(2),o=n(0).RegExp;t.exports=r((function(){var t=o("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},function(t,e,n){var r=n(8),o=n(45),i=n(1)("species");t.exports=function(t,e){var n,c=r(t).constructor;return void 0===c||null==(n=r(c)[i])?e:o(n)}},,function(t,e,n){var r=n(24),o=n(0);t.exports="process"==r(o.process)},,,,,function(t,e,n){var r=n(13),o=Date.prototype,i=o.toString,c=o.getTime;"Invalid Date"!=String(new Date(NaN))&&r(o,"toString",(function(){var t=c.call(this);return t==t?i.call(this):"Invalid Date"}))},function(t,e,n){"use strict";var r=n(142),o=n(2),i=n(8),c=n(34),a=n(14),u=n(31),f=n(27),s=n(143),l=n(158),p=n(144),v=n(1)("replace"),h=Math.max,d=Math.min,g="$0"==="a".replace(/./,"$0"),y=!!/./[v]&&""===/./[v]("a","$0");r("replace",(function(t,e,n){var r=y?"$":"$0";return[function(t,n){var r=f(this),o=null==t?void 0:t[v];return void 0!==o?o.call(t,r,n):e.call(u(r),t,n)},function(t,o){var f=i(this),v=u(t);if("string"==typeof o&&-1===o.indexOf(r)&&-1===o.indexOf("$<")){var g=n(e,f,v,o);if(g.done)return g.value}var y="function"==typeof o;y||(o=u(o));var x=f.global;if(x){var m=f.unicode;f.lastIndex=0}for(var b=[];;){var w=p(f,v);if(null===w)break;if(b.push(w),!x)break;""===u(w[0])&&(f.lastIndex=s(v,a(f.lastIndex),m))}for(var S,E="",O=0,j=0;j<b.length;j++){w=b[j];for(var T=u(w[0]),A=h(d(c(w.index),v.length),0),I=[],N=1;N<w.length;N++)I.push(void 0===(S=w[N])?S:String(S));var _=w.groups;if(y){var P=[T].concat(I,A,v);void 0!==_&&P.push(_);var R=u(o.apply(void 0,P))}else R=l(T,v,A,I,_,o);A>=O&&(E+=v.slice(O,A)+R,O=A+T.length)}return E+v.slice(O)}]}),!!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!g||y)},function(t,e,n){var r=n(11),o=Math.floor,i="".replace,c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,a=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,u,f,s){var l=n+t.length,p=u.length,v=a;return void 0!==f&&(f=r(f),v=c),i.call(s,v,(function(r,i){var c;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,n);case"'":return e.slice(l);case"<":c=f[i.slice(1,-1)];break;default:var a=+i;if(0===a)return r;if(a>p){var s=o(a/10);return 0===s?r:s<=p?void 0===u[s-1]?i.charAt(1):u[s-1]+i.charAt(1):r}c=u[a-1]}return void 0===c?"":c}))}},function(t,e,n){n(4)({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},,,function(t,e,n){var r,o,i,c,a=n(0),u=n(2),f=n(40),s=n(92),l=n(51),p=n(163),v=n(151),h=a.setImmediate,d=a.clearImmediate,g=a.process,y=a.MessageChannel,x=a.Dispatch,m=0,b={};try{r=a.location}catch(t){}var w=function(t){if(b.hasOwnProperty(t)){var e=b[t];delete b[t],e()}},S=function(t){return function(){w(t)}},E=function(t){w(t.data)},O=function(t){a.postMessage(String(t),r.protocol+"//"+r.host)};h&&d||(h=function(t){for(var e=[],n=arguments.length,r=1;n>r;)e.push(arguments[r++]);return b[++m]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},o(m),m},d=function(t){delete b[t]},v?o=function(t){g.nextTick(S(t))}:x&&x.now?o=function(t){x.now(S(t))}:y&&!p?(c=(i=new y).port2,i.port1.onmessage=E,o=f(c.postMessage,c,1)):a.addEventListener&&"function"==typeof postMessage&&!a.importScripts&&r&&"file:"!==r.protocol&&!u(O)?(o=O,a.addEventListener("message",E,!1)):o="onreadystatechange"in l("script")?function(t){s.appendChild(l("script")).onreadystatechange=function(){s.removeChild(this),w(t)}}:function(t){setTimeout(S(t),0)}),t.exports={set:h,clear:d}},function(t,e,n){var r=n(66);t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},function(t,e,n){"use strict";var r=n(45),o=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)};t.exports.f=function(t){return new o(t)}},,,,,,,function(t,e,n){"use strict";n.r(e),n.d(e,"Snapshot",(function(){return r}));n(159),n(138),n(172),n(156),n(89),n(90),n(108),n(69),n(133),n(134),n(157),n(68),n(173),n(104);var r={pluginName:"snapshot",install:function(t){var e=this;this.lf=t,this.offsetX=Number.MAX_SAFE_INTEGER,this.offsetY=Number.MAX_SAFE_INTEGER,t.getSnapshot=function(n,r){e.fileName=n||"logic-flow.".concat(Date.now(),".png");var o=e.getSvgRootElement(t);e.downloadSvg(o,e.fileName,r)},t.getSnapshotBlob=function(n){var r=e.getSvgRootElement(t);return e.getBlob(r,n)},t.getSnapshotBase64=function(n){var r=e.getSvgRootElement(t);return e.getBase64(r,n)}},getSvgRootElement:function(t){var e=this;return t.graphModel.nodes.forEach((function(t){var n=t.x-t.width/2,r=t.y-t.height/2;n<e.offsetX&&(e.offsetX=n-5),r<e.offsetY&&(e.offsetY=r-5)})),t.graphModel.edges.forEach((function(t){t.pointsList&&t.pointsList.forEach((function(t){var n=t.x,r=t.y;n<e.offsetX&&(e.offsetX=n-5),r<e.offsetY&&(e.offsetY=r-5)}))})),t.container.querySelector("svg")},triggerDownload:function(t){var e=new MouseEvent("click",{view:window,bubbles:!1,cancelable:!0}),n=document.createElement("a");n.setAttribute("download",this.fileName),n.setAttribute("href",t),n.setAttribute("target","_blank"),n.dispatchEvent(e)},removeAnchor:function(t){for(var e=t.childNodes,n=t.childNodes&&t.childNodes.length,r=0;r<n;r++){var o=e[r];(o.classList&&Array.from(o.classList)||[]).indexOf("lf-anchor")>-1&&(t.removeChild(t.childNodes[r]),n--,r--)}},downloadSvg:function(t,e,n){var r=this;this.getCanvasData(t,n).then((function(t){var n=t.toDataURL("image/png").replace("image/png","image/octet-stream");r.triggerDownload(n,e)}))},getBase64:function(t,e){var n=this;return new Promise((function(r){n.getCanvasData(t,e).then((function(t){var e=t.toDataURL("image/png");r({data:e,width:t.width,height:t.height})}))}))},getBlob:function(t,e){var n=this;return new Promise((function(r){n.getCanvasData(t,e).then((function(t){t.toBlob((function(e){r({data:e,width:t.width,height:t.height})}),"image/png")}))}))},getCanvasData:function(t,e){var n=this,r=t.cloneNode(!0),o=r.lastChild,i=o.childNodes&&o.childNodes.length;if(i)for(var c=0;c<i;c++){var a=o.childNodes[c],u=a.classList&&Array.from(a.classList);if(u&&u.indexOf("lf-base")<0)o.removeChild(o.childNodes[c]),i--,c--;else{var f=o.childNodes[c];f&&f.childNodes.forEach((function(t){var e=t;n.removeAnchor(e.firstChild)}))}}r.lastChild.style.transform="matrix(1, 0, 0, 1, ".concat(10-this.offsetX,", ").concat(10-this.offsetY,")");var s=window.devicePixelRatio||1,l=document.createElement("canvas"),p=document.getElementsByClassName("lf-base")[0].getBoundingClientRect(),v=this.lf.graphModel.transformMatrix,h=v.SCALE_X,d=v.SCALE_Y,g=Math.ceil(p.width/h),y=Math.ceil(p.height/d);l.style.width="".concat(g,"px"),l.style.height="".concat(y,"px"),l.width=g*s+80,l.height=y*s+80;var x=l.getContext("2d");x.scale(s,s),e?(x.fillStyle=e,x.fillRect(0,0,g*s+80,y*s+80)):x.clearRect(0,0,g,y);var m=new Image;return new Promise((function(t){m.onload=function(){x.drawImage(m,0,0),t(l)};var e="data:image/svg+xml;charset=utf-8,".concat((new XMLSerializer).serializeToString(r)).replace(/\n/g,"").replace(/\t/g,"").replace(/#/g,"%23");m.src=e}))}};e.default=r},function(t,e,n){n(4)({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},function(t,e,n){"use strict";var r,o,i,c,a=n(4),u=n(25),f=n(0),s=n(12),l=n(174),p=n(13),v=n(120),h=n(64),d=n(39),g=n(121),y=n(3),x=n(45),m=n(103),b=n(44),w=n(102),S=n(99),E=n(149),O=n(162).set,j=n(175),T=n(178),A=n(179),I=n(164),N=n(180),_=n(17),P=n(58),R=n(1),M=n(181),L=n(151),C=n(38),k=R("species"),D="Promise",F=_.get,G=_.set,B=_.getterFor(D),$=l&&l.prototype,X=l,Y=$,U=f.TypeError,V=f.document,z=f.process,H=I.f,W=H,q=!!(V&&V.createEvent&&f.dispatchEvent),K="function"==typeof PromiseRejectionEvent,J=!1,Q=P(D,(function(){var t=b(X),e=t!==String(X);if(!e&&66===C)return!0;if(u&&!Y.finally)return!0;if(C>=51&&/native code/.test(t))return!1;var n=new X((function(t){t(1)})),r=function(t){t((function(){}),(function(){}))};return(n.constructor={})[k]=r,!(J=n.then((function(){}))instanceof r)||!e&&M&&!K})),Z=Q||!S((function(t){X.all(t).catch((function(){}))})),tt=function(t){var e;return!(!y(t)||"function"!=typeof(e=t.then))&&e},et=function(t,e){if(!t.notified){t.notified=!0;var n=t.reactions;j((function(){for(var r=t.value,o=1==t.state,i=0;n.length>i;){var c,a,u,f=n[i++],s=o?f.ok:f.fail,l=f.resolve,p=f.reject,v=f.domain;try{s?(o||(2===t.rejection&&it(t),t.rejection=1),!0===s?c=r:(v&&v.enter(),c=s(r),v&&(v.exit(),u=!0)),c===f.promise?p(U("Promise-chain cycle")):(a=tt(c))?a.call(c,l,p):l(c)):p(r)}catch(t){v&&!u&&v.exit(),p(t)}}t.reactions=[],t.notified=!1,e&&!t.rejection&&rt(t)}))}},nt=function(t,e,n){var r,o;q?((r=V.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),f.dispatchEvent(r)):r={promise:e,reason:n},!K&&(o=f["on"+t])?o(r):"unhandledrejection"===t&&A("Unhandled promise rejection",n)},rt=function(t){O.call(f,(function(){var e,n=t.facade,r=t.value;if(ot(t)&&(e=N((function(){L?z.emit("unhandledRejection",r,n):nt("unhandledrejection",n,r)})),t.rejection=L||ot(t)?2:1,e.error))throw e.value}))},ot=function(t){return 1!==t.rejection&&!t.parent},it=function(t){O.call(f,(function(){var e=t.facade;L?z.emit("rejectionHandled",e):nt("rejectionhandled",e,t.value)}))},ct=function(t,e,n){return function(r){t(e,r,n)}},at=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,et(t,!0))},ut=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw U("Promise can't be resolved itself");var r=tt(e);r?j((function(){var n={done:!1};try{r.call(e,ct(ut,n,t),ct(at,n,t))}catch(e){at(n,e,t)}})):(t.value=e,t.state=1,et(t,!1))}catch(e){at({done:!1},e,t)}}};if(Q&&(Y=(X=function(t){m(this,X,D),x(t),r.call(this);var e=F(this);try{t(ct(ut,e),ct(at,e))}catch(t){at(e,t)}}).prototype,(r=function(t){G(this,{type:D,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=v(Y,{then:function(t,e){var n=B(this),r=H(E(this,X));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=L?z.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&et(n,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r,e=F(t);this.promise=t,this.resolve=ct(ut,e),this.reject=ct(at,e)},I.f=H=function(t){return t===X||t===i?new o(t):W(t)},!u&&"function"==typeof l&&$!==Object.prototype)){c=$.then,J||(p($,"then",(function(t,e){var n=this;return new X((function(t,e){c.call(n,t,e)})).then(t,e)}),{unsafe:!0}),p($,"catch",Y.catch,{unsafe:!0}));try{delete $.constructor}catch(t){}h&&h($,Y)}a({global:!0,wrap:!0,forced:Q},{Promise:X}),d(X,D,!1,!0),g(D),i=s(D),a({target:D,stat:!0,forced:Q},{reject:function(t){var e=H(this);return e.reject.call(void 0,t),e.promise}}),a({target:D,stat:!0,forced:u||Q},{resolve:function(t){return T(u&&this===i?X:this,t)}}),a({target:D,stat:!0,forced:Z},{all:function(t){var e=this,n=H(e),r=n.resolve,o=n.reject,i=N((function(){var n=x(e.resolve),i=[],c=0,a=1;w(t,(function(t){var u=c++,f=!1;i.push(void 0),a++,n.call(e,t).then((function(t){f||(f=!0,i[u]=t,--a||r(i))}),o)})),--a||r(i)}));return i.error&&o(i.value),n.promise},race:function(t){var e=this,n=H(e),r=n.reject,o=N((function(){var o=x(e.resolve);w(t,(function(t){o.call(e,t).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}})},function(t,e,n){var r=n(0);t.exports=r.Promise},function(t,e,n){var r,o,i,c,a,u,f,s,l=n(0),p=n(18).f,v=n(162).set,h=n(163),d=n(176),g=n(177),y=n(151),x=l.MutationObserver||l.WebKitMutationObserver,m=l.document,b=l.process,w=l.Promise,S=p(l,"queueMicrotask"),E=S&&S.value;E||(r=function(){var t,e;for(y&&(t=b.domain)&&t.exit();o;){e=o.fn,o=o.next;try{e()}catch(t){throw o?c():i=void 0,t}}i=void 0,t&&t.enter()},h||y||g||!x||!m?!d&&w&&w.resolve?((f=w.resolve(void 0)).constructor=w,s=f.then,c=function(){s.call(f,r)}):c=y?function(){b.nextTick(r)}:function(){v.call(l,r)}:(a=!0,u=m.createTextNode(""),new x(r).observe(u,{characterData:!0}),c=function(){u.data=a=!a})),t.exports=E||function(t){var e={fn:t,next:void 0};i&&(i.next=e),o||(o=e,c()),i=e}},function(t,e,n){var r=n(66),o=n(0);t.exports=/ipad|iphone|ipod/i.test(r)&&void 0!==o.Pebble},function(t,e,n){var r=n(66);t.exports=/web0s(?!.*chrome)/i.test(r)},function(t,e,n){var r=n(8),o=n(3),i=n(164);t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){var r=n(0);t.exports=function(t,e){var n=r.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}},function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},function(t,e){t.exports="object"==typeof window}])}));
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=170)}([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(85))},function(t,e,n){var r=n(0),o=n(35),i=n(5),c=n(29),a=n(36),u=n(47),f=o("wks"),s=r.Symbol,l=u?s:s&&s.withoutSetter||c;t.exports=function(t){return i(f,t)&&(a||"string"==typeof f[t])||(a&&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),c=n(13),a=n(33),u=n(57),f=n(58);t.exports=function(t,e){var n,s,l,p,v,h=t.target,d=t.global,g=t.stat;if(n=d?r:g?r[h]||a(h,{}):(r[h]||{}).prototype)for(s in e){if(p=e[s],l=t.noTargetGet?(v=o(n,s))&&v.value:n[s],!f(d?s:h+(g?".":"#")+s,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;u(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),c(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),c=n(21),a=Object.defineProperty;e.f=r?a:function(t,e,n){if(i(t),e=c(e),i(n),o)try{return a(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),c=n(33),a=n(44),u=n(17),f=u.get,s=u.enforce,l=String(String).split("String");(t.exports=function(t,e,n,a){var u,f=!!a&&!!a.unsafe,p=!!a&&!!a.enumerable,v=!!a&&!!a.noTargetGet;"function"==typeof n&&("string"!=typeof e||i(n,"name")||o(n,"name",e),(u=s(n)).source||(u.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:c(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&f(this).source||a(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,c=n(87),a=n(0),u=n(3),f=n(9),s=n(5),l=n(32),p=n(26),v=n(16),h=a.WeakMap;if(c||l.state){var d=l.state||(l.state=new h),g=d.get,y=d.has,x=d.set;r=function(t,e){if(y.call(d,t))throw new TypeError("Object already initialized");return e.facade=t,x.call(d,t,e),e},o=function(t){return g.call(d,t)||{}},i=function(t){return y.call(d,t)}}else{var m=p("state");v[m]=!0,r=function(t,e){if(s(t,m))throw new TypeError("Object already initialized");return e.facade=t,f(t,m,e),e},o=function(t){return s(t,m)?t[m]:{}},i=function(t){return s(t,m)}}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(!u(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),c=n(10),a=n(21),u=n(5),f=n(48),s=Object.getOwnPropertyDescriptor;e.f=r?s:function(t,e){if(t=c(t),e=a(e),f)try{return s(t,e)}catch(t){}if(u(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(84),c=n(37),a=n(16),u=n(91),f=n(51),s=n(26),l=s("IE_PROTO"),p=function(){},v=function(t){return"<script>"+t+"<\/script>"},h=function(t){t.write(v("")),t.close();var e=t.parentWindow.Object;return t=null,e},d=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}var t,e;d="undefined"!=typeof document?document.domain&&r?h(r):((e=f("iframe")).style.display="none",u.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):h(r);for(var n=c.length;n--;)delete d.prototype[c[n]];return d()};a[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=d(),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),c=n(66),a=i.process,u=i.Deno,f=a&&a.versions||u&&u.version,s=f&&f.v8;s?o=(r=s.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,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),c=n(14),a=n(59),u=[].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(h,d,g,y){for(var x,m,b=i(h),w=o(b),S=r(d,g,3),E=c(w.length),O=0,j=y||a,T=e?j(h,E):n||p?j(h,0):void 0;E>O;O++)if((v||O in w)&&(m=S(x=w[O],O,b),t))if(e)T[O]=m;else if(m)switch(t){case 3:return!0;case 5:return x;case 6:return O;case 2:u.call(T,x)}else switch(t){case 4:return!1;case 7:u.call(T,x)}return l?-1:f||s?s:T}};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={}.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,c=o(i)&&o(i.createElement);t.exports=function(t){return c?i.createElement(t):{}}},function(t,e,n){var r=n(5),o=n(11),i=n(26),c=n(89),a=i("IE_PROTO"),u=Object.prototype;t.exports=c?Object.getPrototypeOf:function(t){return t=o(t),r(t,a)?t[a]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,e,n){var r=n(5),o=n(10),i=n(72).indexOf,c=n(16);t.exports=function(t,e){var n,a=o(t),u=0,f=[];for(n in a)!r(c,n)&&r(a,n)&&f.push(n);for(;e.length>u;)r(a,n=e[u++])&&(~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 c=r(e);c in t?o.f(t,c,i(0,n)):t[c]=n}},function(t,e,n){"use strict";var r=n(4),o=n(94),i=n(52),c=n(64),a=n(39),u=n(9),f=n(13),s=n(1),l=n(25),p=n(22),v=n(65),h=v.IteratorPrototype,d=v.BUGGY_SAFARI_ITERATORS,g=s("iterator"),y=function(){return this};t.exports=function(t,e,n,s,v,x,m){o(n,e,s);var b,w,S,E=function(t){if(t===v&&I)return I;if(!d&&t in T)return T[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},O=e+" Iterator",j=!1,T=t.prototype,A=T[g]||T["@@iterator"]||v&&T[v],I=!d&&A||E(v),N="Array"==e&&T.entries||A;if(N&&(b=i(N.call(new t)),h!==Object.prototype&&b.next&&(l||i(b)===h||(c?c(b,h):"function"!=typeof b[g]&&u(b,g,y)),a(b,O,!0,!0),l&&(p[O]=y))),"values"==v&&A&&"values"!==A.name&&(j=!0,I=function(){return A.call(this)}),l&&!m||T[g]===I||u(T,g,I),p[e]=I,v)if(w={values:E("values"),keys:x?I:E("keys"),entries:E("entries")},m)for(S in w)(d||j||!(S in T))&&f(T,S,w[S]);else r({target:e,proto:!0,forced:d||j},w);return w}},function(t,e,n){var r=n(5),o=n(71),i=n(18),c=n(6);t.exports=function(t,e){for(var n=o(e),a=c.f,u=i.f,f=0;f<n.length;f++){var s=n[f];r(t,s)||a(t,s,u(e,s))}}},function(t,e,n){var r=n(2),o=/#|\.prototype\./,i=function(t,e){var n=a[c(t)];return n==f||n!=u&&("function"==typeof e?r(e):!!e)},c=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},a=i.data={},u=i.NATIVE="N",f=i.POLYFILL="P";t.exports=i},function(t,e,n){var r=n(88);t.exports=function(t,e){return new(r(t))(0===e?0: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(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=n(1),i=n(38),c=o("species");t.exports=function(t){return i>=51||!r((function(){var e=[];return(e.constructor={})[c]=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,c=n(2),a=n(52),u=n(9),f=n(5),s=n(1),l=n(25),p=s("iterator"),v=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(r=o):v=!0);var h=null==r||c((function(){var t={};return r[p].call(t)!==t}));h&&(r={}),l&&!h||f(r,p)||u(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(92).charAt,o=n(31),i=n(17),c=n(56),a=i.set,u=i.getterFor("String Iterator");c(String,"String",(function(t){a(this,{type:"String Iterator",string:o(t),index:0})}),(function(){var t,e=u(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){var r=n(12),o=n(30),i=n(54),c=n(8);t.exports=r("Reflect","ownKeys")||function(t){var e=o.f(c(t)),n=i.f;return n?e.concat(n(t)):e}},function(t,e,n){var r=n(10),o=n(14),i=n(62),c=function(t){return function(e,n,c){var a,u=r(e),f=o(u.length),s=i(c,f);if(t&&n!=n){for(;f>s;)if((a=u[s++])!=a)return!0}else for(;f>s;s++)if((t||s in u)&&u[s]===n)return t||s||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!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"),c="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:c?o(e):"Object"==(r=o(e))&&"function"==typeof e.callee?"Arguments":r}},,function(t,e,n){var r=n(3),o=n(19),i=n(86),c=n(1)("toPrimitive");t.exports=function(t,e){if(!r(t)||o(t))return t;var n,a=t[c];if(void 0!==a){if(void 0===e&&(e="default"),n=a.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){"use strict";var r=n(4),o=n(60);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(t,e,n){var r=n(0),o=n(61),i=n(60),c=n(9);for(var a in o){var u=r[a],f=u&&u.prototype;if(f&&f.forEach!==i)try{c(f,"forEach",i)}catch(t){f.forEach=i}}},function(t,e,n){var r=n(7),o=n(6),i=n(8),c=n(46);t.exports=r?Object.defineProperties:function(t,e){i(t);for(var n,r=c(e),a=r.length,u=0;a>u;)o.f(t,n=r[u++],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(12);t.exports=r("document","documentElement")},function(t,e,n){var r=n(34),o=n(31),i=n(27),c=function(t){return function(e,n){var c,a,u=o(i(e)),f=r(n),s=u.length;return f<0||f>=s?t?"":void 0:(c=u.charCodeAt(f))<55296||c>56319||f+1===s||(a=u.charCodeAt(f+1))<56320||a>57343?t?u.charAt(f):c:t?u.slice(f,f+2):a-56320+(c-55296<<10)+65536}};t.exports={codeAt:c(!1),charAt:c(!0)}},,function(t,e,n){"use strict";var r=n(65).IteratorPrototype,o=n(20),i=n(15),c=n(39),a=n(22),u=function(){return this};t.exports=function(t,e,n){var f=e+" Iterator";return t.prototype=o(r,{next:i(1,n)}),c(t,f,!1,!0),a[f]=u,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"),c=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||c[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,c={next:function(){return{done:!!i++}},return:function(){o=!0}};c[r]=function(){return this},Array.from(c,(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(8),o=n(96),i=n(14),c=n(40),a=n(97),u=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,h,d,g,y,x=n&&n.that,m=!(!n||!n.AS_ENTRIES),b=!(!n||!n.IS_ITERATOR),w=!(!n||!n.INTERRUPTED),S=c(e,x,1+m+w),E=function(t){return l&&f(l,"normal",t),new s(!0,t)},O=function(t){return m?(r(t),w?S(t[0],t[1],E):S(t[0],t[1])):w?S(t,E):S(t)};if(b)l=t;else{if("function"!=typeof(p=u(t)))throw TypeError("Target is not iterable");if(o(p)){for(v=0,h=i(t.length);h>v;v++)if((d=O(t[v]))&&d instanceof s)return d;return new s(!1)}l=a(t,p)}for(g=l.next;!(y=g.call(l)).done;){try{d=O(y.value)}catch(t){f(l,"throw",t)}if("object"==typeof d&&d&&d instanceof s)return d}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),c=n(3),a=n(11),u=n(14),f=n(55),s=n(59),l=n(63),p=n(1),v=n(38),h=p("isConcatSpreadable"),d=v>=51||!o((function(){var t=[];return t[h]=!1,t.concat()[0]!==t})),g=l("concat"),y=function(t){if(!c(t))return!1;var e=t[h];return void 0!==e?!!e:i(t)};r({target:"Array",proto:!0,forced:!d||!g},{concat:function(t){var e,n,r,o,i,c=a(this),l=s(c,0),p=0;for(e=-1,r=arguments.length;e<r;e++)if(y(i=-1===e?c:arguments[e])){if(p+(o=u(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(3),o=n(64);t.exports=function(t,e,n){var i,c;return o&&"function"==typeof(i=e.constructor)&&i!==n&&r(c=i.prototype)&&c!==n.prototype&&o(t,c),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),c=n(96),a=n(14),u=n(55),f=n(97),s=n(73);t.exports=function(t){var e,n,l,p,v,h,d=o(t),g="function"==typeof this?this:Array,y=arguments.length,x=y>1?arguments[1]:void 0,m=void 0!==x,b=s(d),w=0;if(m&&(x=r(x,y>2?arguments[2]:void 0,2)),null==b||g==Array&&c(b))for(n=new g(e=a(d.length));e>w;w++)h=m?x(d[w],w):d[w],u(n,w,h);else for(v=(p=f(d,b)).next,n=new g;!(l=v.call(p)).done;w++)h=m?i(p,x,[l.value,w],!0):l.value,u(n,w,h);return n.length=w,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){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),c=n(7),a=i("species");t.exports=function(t){var e=r(t),n=o.f;c&&e&&!e[a]&&n(e,a,{configurable:!0,get:function(){return this}})}},,,,,,,,function(t,e,n){"use strict";var r,o,i=n(31),c=n(144),a=n(139),u=n(35),f=n(20),s=n(17).get,l=n(146),p=n(147),v=RegExp.prototype.exec,h=u("native-string-replace",String.prototype.replace),d=v,g=(r=/a/,o=/b*/g,v.call(r,"a"),v.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),y=a.UNSUPPORTED_Y||a.BROKEN_CARET,x=void 0!==/()??/.exec("")[1];(g||x||y||l||p)&&(d=function(t){var e,n,r,o,a,u,l,p=this,m=s(p),b=i(t),w=m.raw;if(w)return w.lastIndex=p.lastIndex,e=d.call(w,b),p.lastIndex=w.lastIndex,e;var S=m.groups,E=y&&p.sticky,O=c.call(p),j=p.source,T=0,A=b;if(E&&(-1===(O=O.replace("y","")).indexOf("g")&&(O+="g"),A=b.slice(p.lastIndex),p.lastIndex>0&&(!p.multiline||p.multiline&&"\n"!==b.charAt(p.lastIndex-1))&&(j="(?: "+j+")",A=" "+A,T++),n=new RegExp("^(?:"+j+")",O)),x&&(n=new RegExp("^"+j+"$(?!\\s)",O)),g&&(r=p.lastIndex),o=v.call(E?n:p,A),E?o?(o.input=o.input.slice(T),o[0]=o[0].slice(T),o.index=p.lastIndex,p.lastIndex+=o[0].length):p.lastIndex=0:g&&o&&(p.lastIndex=p.global?o.index+o[0].length:r),x&&o&&o.length>1&&h.call(o[0],n,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(o[a]=void 0)})),o&&S)for(o.groups=u=f(null),a=0;a<S.length;a++)u[(l=S[a])[0]]=o[l[1]];return o}),t.exports=d},,function(t,e,n){"use strict";var r=n(4),o=n(72).indexOf,i=n(67),c=[].indexOf,a=!!c&&1/[1].indexOf(1,-0)<0,u=i("indexOf");r({target:"Array",proto:!0,forced:a||!u},{indexOf:function(t){return a?c.apply(this,arguments)||0:o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var r=n(4),o=n(130);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},,,function(t,e,n){"use strict";var r=n(7),o=n(0),i=n(58),c=n(13),a=n(5),u=n(24),f=n(106),s=n(19),l=n(76),p=n(2),v=n(20),h=n(30).f,d=n(18).f,g=n(6).f,y=n(137).trim,x=o.Number,m=x.prototype,b="Number"==u(v(m)),w=function(t){if(s(t))throw TypeError("Cannot convert a Symbol value to a number");var e,n,r,o,i,c,a,u,f=l(t,"number");if("string"==typeof f&&f.length>2)if(43===(e=(f=y(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(c=(i=f.slice(2)).length,a=0;a<c;a++)if((u=i.charCodeAt(a))<48||u>o)return NaN;return parseInt(i,r)}return+f};if(i("Number",!x(" 0o1")||!x("0b1")||x("+0x1"))){for(var S,E=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof E&&(b?p((function(){m.valueOf.call(n)})):"Number"!=u(n))?f(new x(w(e)),n,E):w(e)},O=r?h(x):"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(","),j=0;O.length>j;j++)a(x,S=O[j])&&!a(E,S)&&g(E,S,d(x,S));E.prototype=m,m.constructor=E,c(o,"Number",E)}},function(t,e,n){var r=n(27),o=n(31),i="["+n(138)+"]",c=RegExp("^"+i+i+"*"),a=RegExp(i+i+"*$"),u=function(t){return function(e){var n=o(r(e));return 1&t&&(n=n.replace(c,"")),2&t&&(n=n.replace(a,"")),n}};t.exports={start:u(1),end:u(2),trim:u(3)}},function(t,e){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},function(t,e,n){var r=n(2),o=n(0).RegExp;e.UNSUPPORTED_Y=r((function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=r((function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},function(t,e,n){"use strict";n(133);var r=n(13),o=n(130),i=n(2),c=n(1),a=n(9),u=c("species"),f=RegExp.prototype;t.exports=function(t,e,n,s){var l=c(t),p=!i((function(){var e={};return e[l]=function(){return 7},7!=""[t](e)})),v=p&&!i((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[u]=function(){return n},n.flags="",n[l]=/./[l]),n.exec=function(){return e=!0,null},n[l](""),!e}));if(!p||!v||n){var h=/./[l],d=e(l,""[t],(function(t,e,n,r,i){var c=e.exec;return c===o||c===f.exec?p&&!i?{done:!0,value:h.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}));r(String.prototype,t,d[0]),r(f,l,d[1])}s&&a(f[l],"sham",!0)}},function(t,e,n){"use strict";var r=n(92).charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},function(t,e,n){var r=n(24),o=n(130);t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var i=n.call(t,e);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(t))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},,function(t,e,n){"use strict";var r=n(8);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},,function(t,e,n){var r=n(2),o=n(0).RegExp;t.exports=r((function(){var t=o(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},function(t,e,n){var r=n(2),o=n(0).RegExp;t.exports=r((function(){var t=o("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},function(t,e,n){var r=n(8),o=n(45),i=n(1)("species");t.exports=function(t,e){var n,c=r(t).constructor;return void 0===c||null==(n=r(c)[i])?e:o(n)}},,function(t,e,n){var r=n(24),o=n(0);t.exports="process"==r(o.process)},,,,,function(t,e,n){var r=n(13),o=Date.prototype,i=o.toString,c=o.getTime;"Invalid Date"!=String(new Date(NaN))&&r(o,"toString",(function(){var t=c.call(this);return t==t?i.call(this):"Invalid Date"}))},function(t,e,n){"use strict";var r=n(140),o=n(2),i=n(8),c=n(34),a=n(14),u=n(31),f=n(27),s=n(141),l=n(157),p=n(142),v=n(1)("replace"),h=Math.max,d=Math.min,g="$0"==="a".replace(/./,"$0"),y=!!/./[v]&&""===/./[v]("a","$0");r("replace",(function(t,e,n){var r=y?"$":"$0";return[function(t,n){var r=f(this),o=null==t?void 0:t[v];return void 0!==o?o.call(t,r,n):e.call(u(r),t,n)},function(t,o){var f=i(this),v=u(t);if("string"==typeof o&&-1===o.indexOf(r)&&-1===o.indexOf("$<")){var g=n(e,f,v,o);if(g.done)return g.value}var y="function"==typeof o;y||(o=u(o));var x=f.global;if(x){var m=f.unicode;f.lastIndex=0}for(var b=[];;){var w=p(f,v);if(null===w)break;if(b.push(w),!x)break;""===u(w[0])&&(f.lastIndex=s(v,a(f.lastIndex),m))}for(var S,E="",O=0,j=0;j<b.length;j++){w=b[j];for(var T=u(w[0]),A=h(d(c(w.index),v.length),0),I=[],N=1;N<w.length;N++)I.push(void 0===(S=w[N])?S:String(S));var _=w.groups;if(y){var P=[T].concat(I,A,v);void 0!==_&&P.push(_);var R=u(o.apply(void 0,P))}else R=l(T,v,A,I,_,o);A>=O&&(E+=v.slice(O,A)+R,O=A+T.length)}return E+v.slice(O)}]}),!!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!g||y)},function(t,e,n){var r=n(11),o=Math.floor,i="".replace,c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,a=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,u,f,s){var l=n+t.length,p=u.length,v=a;return void 0!==f&&(f=r(f),v=c),i.call(s,v,(function(r,i){var c;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,n);case"'":return e.slice(l);case"<":c=f[i.slice(1,-1)];break;default:var a=+i;if(0===a)return r;if(a>p){var s=o(a/10);return 0===s?r:s<=p?void 0===u[s-1]?i.charAt(1):u[s-1]+i.charAt(1):r}c=u[a-1]}return void 0===c?"":c}))}},function(t,e,n){n(4)({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},,function(t,e,n){var r,o,i,c,a=n(0),u=n(2),f=n(40),s=n(91),l=n(51),p=n(161),v=n(150),h=a.setImmediate,d=a.clearImmediate,g=a.process,y=a.MessageChannel,x=a.Dispatch,m=0,b={};try{r=a.location}catch(t){}var w=function(t){if(b.hasOwnProperty(t)){var e=b[t];delete b[t],e()}},S=function(t){return function(){w(t)}},E=function(t){w(t.data)},O=function(t){a.postMessage(String(t),r.protocol+"//"+r.host)};h&&d||(h=function(t){for(var e=[],n=arguments.length,r=1;n>r;)e.push(arguments[r++]);return b[++m]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},o(m),m},d=function(t){delete b[t]},v?o=function(t){g.nextTick(S(t))}:x&&x.now?o=function(t){x.now(S(t))}:y&&!p?(c=(i=new y).port2,i.port1.onmessage=E,o=f(c.postMessage,c,1)):a.addEventListener&&"function"==typeof postMessage&&!a.importScripts&&r&&"file:"!==r.protocol&&!u(O)?(o=O,a.addEventListener("message",E,!1)):o="onreadystatechange"in l("script")?function(t){s.appendChild(l("script")).onreadystatechange=function(){s.removeChild(this),w(t)}}:function(t){setTimeout(S(t),0)}),t.exports={set:h,clear:d}},function(t,e,n){var r=n(66);t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},function(t,e,n){"use strict";var r=n(45),o=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)};t.exports.f=function(t){return new o(t)}},,,,,,,,function(t,e,n){"use strict";n.r(e),n.d(e,"Snapshot",(function(){return r}));n(158),n(136),n(171),n(155),n(82),n(83),n(107),n(69),n(132),n(133),n(156),n(68),n(172),n(104);var r={pluginName:"snapshot",install:function(t){var e=this;this.lf=t,this.offsetX=Number.MAX_SAFE_INTEGER,this.offsetY=Number.MAX_SAFE_INTEGER,t.getSnapshot=function(n,r){e.fileName=n||"logic-flow.".concat(Date.now(),".png");var o=e.getSvgRootElement(t);e.downloadSvg(o,e.fileName,r)},t.getSnapshotBlob=function(n){var r=e.getSvgRootElement(t);return e.getBlob(r,n)},t.getSnapshotBase64=function(n){var r=e.getSvgRootElement(t);return e.getBase64(r,n)}},getSvgRootElement:function(t){var e=this;return t.graphModel.nodes.forEach((function(t){var n=t.x-t.width/2,r=t.y-t.height/2;n<e.offsetX&&(e.offsetX=n-5),r<e.offsetY&&(e.offsetY=r-5)})),t.graphModel.edges.forEach((function(t){t.pointsList&&t.pointsList.forEach((function(t){var n=t.x,r=t.y;n<e.offsetX&&(e.offsetX=n-5),r<e.offsetY&&(e.offsetY=r-5)}))})),t.container.querySelector("svg")},triggerDownload:function(t){var e=new MouseEvent("click",{view:window,bubbles:!1,cancelable:!0}),n=document.createElement("a");n.setAttribute("download",this.fileName),n.setAttribute("href",t),n.setAttribute("target","_blank"),n.dispatchEvent(e)},removeAnchor:function(t){for(var e=t.childNodes,n=t.childNodes&&t.childNodes.length,r=0;r<n;r++){var o=e[r];(o.classList&&Array.from(o.classList)||[]).indexOf("lf-anchor")>-1&&(t.removeChild(t.childNodes[r]),n--,r--)}},downloadSvg:function(t,e,n){var r=this;this.getCanvasData(t,n).then((function(t){var n=t.toDataURL("image/png").replace("image/png","image/octet-stream");r.triggerDownload(n,e)}))},getBase64:function(t,e){var n=this;return new Promise((function(r){n.getCanvasData(t,e).then((function(t){var e=t.toDataURL("image/png");r({data:e,width:t.width,height:t.height})}))}))},getBlob:function(t,e){var n=this;return new Promise((function(r){n.getCanvasData(t,e).then((function(t){t.toBlob((function(e){r({data:e,width:t.width,height:t.height})}),"image/png")}))}))},getCanvasData:function(t,e){var n=this,r=t.cloneNode(!0),o=r.lastChild,i=o.childNodes&&o.childNodes.length;if(i)for(var c=0;c<i;c++){var a=o.childNodes[c],u=a.classList&&Array.from(a.classList);if(u&&u.indexOf("lf-base")<0)o.removeChild(o.childNodes[c]),i--,c--;else{var f=o.childNodes[c];f&&f.childNodes.forEach((function(t){var e=t;n.removeAnchor(e.firstChild)}))}}r.lastChild.style.transform="matrix(1, 0, 0, 1, ".concat(10-this.offsetX,", ").concat(10-this.offsetY,")");var s=window.devicePixelRatio||1,l=document.createElement("canvas"),p=document.getElementsByClassName("lf-base")[0].getBoundingClientRect(),v=this.lf.graphModel.transformModel,h=v.SCALE_X,d=v.SCALE_Y,g=Math.ceil(p.width/h),y=Math.ceil(p.height/d);l.style.width="".concat(g,"px"),l.style.height="".concat(y,"px"),l.width=g*s+80,l.height=y*s+80;var x=l.getContext("2d");x.scale(s,s),e?(x.fillStyle=e,x.fillRect(0,0,g*s+80,y*s+80)):x.clearRect(0,0,g,y);var m=new Image;return new Promise((function(t){m.onload=function(){x.drawImage(m,0,0),t(l)};var e="data:image/svg+xml;charset=utf-8,".concat((new XMLSerializer).serializeToString(r)).replace(/\n/g,"").replace(/\t/g,"").replace(/#/g,"%23");m.src=e}))}};e.default=r},function(t,e,n){n(4)({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},function(t,e,n){"use strict";var r,o,i,c,a=n(4),u=n(25),f=n(0),s=n(12),l=n(173),p=n(13),v=n(121),h=n(64),d=n(39),g=n(122),y=n(3),x=n(45),m=n(103),b=n(44),w=n(102),S=n(99),E=n(148),O=n(160).set,j=n(174),T=n(177),A=n(178),I=n(162),N=n(179),_=n(17),P=n(58),R=n(1),M=n(180),L=n(150),C=n(38),k=R("species"),D="Promise",F=_.get,G=_.set,B=_.getterFor(D),$=l&&l.prototype,X=l,Y=$,U=f.TypeError,V=f.document,z=f.process,H=I.f,W=H,q=!!(V&&V.createEvent&&f.dispatchEvent),K="function"==typeof PromiseRejectionEvent,J=!1,Q=P(D,(function(){var t=b(X),e=t!==String(X);if(!e&&66===C)return!0;if(u&&!Y.finally)return!0;if(C>=51&&/native code/.test(t))return!1;var n=new X((function(t){t(1)})),r=function(t){t((function(){}),(function(){}))};return(n.constructor={})[k]=r,!(J=n.then((function(){}))instanceof r)||!e&&M&&!K})),Z=Q||!S((function(t){X.all(t).catch((function(){}))})),tt=function(t){var e;return!(!y(t)||"function"!=typeof(e=t.then))&&e},et=function(t,e){if(!t.notified){t.notified=!0;var n=t.reactions;j((function(){for(var r=t.value,o=1==t.state,i=0;n.length>i;){var c,a,u,f=n[i++],s=o?f.ok:f.fail,l=f.resolve,p=f.reject,v=f.domain;try{s?(o||(2===t.rejection&&it(t),t.rejection=1),!0===s?c=r:(v&&v.enter(),c=s(r),v&&(v.exit(),u=!0)),c===f.promise?p(U("Promise-chain cycle")):(a=tt(c))?a.call(c,l,p):l(c)):p(r)}catch(t){v&&!u&&v.exit(),p(t)}}t.reactions=[],t.notified=!1,e&&!t.rejection&&rt(t)}))}},nt=function(t,e,n){var r,o;q?((r=V.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),f.dispatchEvent(r)):r={promise:e,reason:n},!K&&(o=f["on"+t])?o(r):"unhandledrejection"===t&&A("Unhandled promise rejection",n)},rt=function(t){O.call(f,(function(){var e,n=t.facade,r=t.value;if(ot(t)&&(e=N((function(){L?z.emit("unhandledRejection",r,n):nt("unhandledrejection",n,r)})),t.rejection=L||ot(t)?2:1,e.error))throw e.value}))},ot=function(t){return 1!==t.rejection&&!t.parent},it=function(t){O.call(f,(function(){var e=t.facade;L?z.emit("rejectionHandled",e):nt("rejectionhandled",e,t.value)}))},ct=function(t,e,n){return function(r){t(e,r,n)}},at=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,et(t,!0))},ut=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw U("Promise can't be resolved itself");var r=tt(e);r?j((function(){var n={done:!1};try{r.call(e,ct(ut,n,t),ct(at,n,t))}catch(e){at(n,e,t)}})):(t.value=e,t.state=1,et(t,!1))}catch(e){at({done:!1},e,t)}}};if(Q&&(Y=(X=function(t){m(this,X,D),x(t),r.call(this);var e=F(this);try{t(ct(ut,e),ct(at,e))}catch(t){at(e,t)}}).prototype,(r=function(t){G(this,{type:D,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=v(Y,{then:function(t,e){var n=B(this),r=H(E(this,X));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=L?z.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&et(n,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r,e=F(t);this.promise=t,this.resolve=ct(ut,e),this.reject=ct(at,e)},I.f=H=function(t){return t===X||t===i?new o(t):W(t)},!u&&"function"==typeof l&&$!==Object.prototype)){c=$.then,J||(p($,"then",(function(t,e){var n=this;return new X((function(t,e){c.call(n,t,e)})).then(t,e)}),{unsafe:!0}),p($,"catch",Y.catch,{unsafe:!0}));try{delete $.constructor}catch(t){}h&&h($,Y)}a({global:!0,wrap:!0,forced:Q},{Promise:X}),d(X,D,!1,!0),g(D),i=s(D),a({target:D,stat:!0,forced:Q},{reject:function(t){var e=H(this);return e.reject.call(void 0,t),e.promise}}),a({target:D,stat:!0,forced:u||Q},{resolve:function(t){return T(u&&this===i?X:this,t)}}),a({target:D,stat:!0,forced:Z},{all:function(t){var e=this,n=H(e),r=n.resolve,o=n.reject,i=N((function(){var n=x(e.resolve),i=[],c=0,a=1;w(t,(function(t){var u=c++,f=!1;i.push(void 0),a++,n.call(e,t).then((function(t){f||(f=!0,i[u]=t,--a||r(i))}),o)})),--a||r(i)}));return i.error&&o(i.value),n.promise},race:function(t){var e=this,n=H(e),r=n.reject,o=N((function(){var o=x(e.resolve);w(t,(function(t){o.call(e,t).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}})},function(t,e,n){var r=n(0);t.exports=r.Promise},function(t,e,n){var r,o,i,c,a,u,f,s,l=n(0),p=n(18).f,v=n(160).set,h=n(161),d=n(175),g=n(176),y=n(150),x=l.MutationObserver||l.WebKitMutationObserver,m=l.document,b=l.process,w=l.Promise,S=p(l,"queueMicrotask"),E=S&&S.value;E||(r=function(){var t,e;for(y&&(t=b.domain)&&t.exit();o;){e=o.fn,o=o.next;try{e()}catch(t){throw o?c():i=void 0,t}}i=void 0,t&&t.enter()},h||y||g||!x||!m?!d&&w&&w.resolve?((f=w.resolve(void 0)).constructor=w,s=f.then,c=function(){s.call(f,r)}):c=y?function(){b.nextTick(r)}:function(){v.call(l,r)}:(a=!0,u=m.createTextNode(""),new x(r).observe(u,{characterData:!0}),c=function(){u.data=a=!a})),t.exports=E||function(t){var e={fn:t,next:void 0};i&&(i.next=e),o||(o=e,c()),i=e}},function(t,e,n){var r=n(66),o=n(0);t.exports=/ipad|iphone|ipod/i.test(r)&&void 0!==o.Pebble},function(t,e,n){var r=n(66);t.exports=/web0s(?!.*chrome)/i.test(r)},function(t,e,n){var r=n(8),o=n(3),i=n(162);t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){var r=n(0);t.exports=function(t,e){var n=r.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}},function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},function(t,e){t.exports="object"==typeof window}])}));