@logicflow/extension 0.7.10 → 0.7.13-alpha.1

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 (45) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/cjs/components/dnd-panel/index.js +5 -0
  3. package/cjs/index.js +1 -0
  4. package/cjs/materials/node-selection/index.js +272 -0
  5. package/es/bpmn/events/StartEvent.d.ts +8 -11
  6. package/es/components/dnd-panel/index.d.ts +1 -0
  7. package/es/components/dnd-panel/index.js +5 -0
  8. package/es/index.d.ts +1 -0
  9. package/es/index.js +1 -0
  10. package/es/materials/group/GroupNode.d.ts +5 -5
  11. package/es/materials/node-selection/index.d.ts +33 -0
  12. package/es/materials/node-selection/index.js +269 -0
  13. package/lib/AutoLayout.js +1 -1
  14. package/lib/BpmnAdapter.js +1 -1
  15. package/lib/BpmnElement.js +1 -1
  16. package/lib/ContextMenu.js +1 -1
  17. package/lib/Control.js +1 -1
  18. package/lib/CurvedEdge.js +1 -1
  19. package/lib/DndPanel.js +1 -1
  20. package/lib/FlowPath.js +1 -1
  21. package/lib/Group.js +1 -1
  22. package/lib/InsertNodeInPolyline.js +1 -1
  23. package/lib/Menu.js +1 -1
  24. package/lib/MiniMap.js +1 -1
  25. package/lib/NodeResize.js +1 -1
  26. package/lib/NodeSelection.js +10 -0
  27. package/lib/RectLabelNode.js +1 -1
  28. package/lib/SelectionSelect.js +1 -1
  29. package/lib/Snapshot.js +1 -1
  30. package/lib/TurboAdapter.js +1 -1
  31. package/package.json +3 -3
  32. package/types/bpmn/events/StartEvent.d.ts +8 -11
  33. package/types/components/dnd-panel/index.d.ts +1 -0
  34. package/types/index.d.ts +1 -0
  35. package/types/materials/group/GroupNode.d.ts +5 -5
  36. package/types/materials/node-selection/index.d.ts +33 -0
  37. package/types/mindmap/fakerRoot.d.ts +0 -13
  38. package/types/mindmap/index.d.ts +0 -40
  39. package/types/mindmap/markContent.d.ts +0 -17
  40. package/types/mindmap/markContentOption.d.ts +0 -17
  41. package/types/mindmap/markEntity.d.ts +0 -17
  42. package/types/mindmap/markRoot.d.ts +0 -17
  43. package/types/mindmap/mindNode.d.ts +0 -16
  44. package/types/mindmap/rootNode.d.ts +0 -17
  45. package/types/mindmap/theme.d.ts +0 -10
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=179)}([function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n(82))},function(t,e,n){var r=n(0),o=n(35),i=n(5),c=n(29),a=n(36),u=n(48),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,n){var r=n(0),o=n(18).f,i=n(9),c=n(13),a=n(33),u=n(57),f=n(60);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){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(11),o={}.hasOwnProperty;t.exports=Object.hasOwn||function(t,e){return o.call(r(t),e)}},function(t,e,n){var r=n(7),o=n(49),i=n(8),c=n(22),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(4);t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},function(t,e,n){var r=n(7),o=n(6),i=n(15);t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(42),o=n(27);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(27);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(0),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?o(r[t]):r[t]&&r[t][e]}},function(t,e,n){var r=n(0),o=n(9),i=n(5),c=n(33),a=n(45),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(86),a=n(0),u=n(4),f=n(9),s=n(5),l=n(32),p=n(25),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(51),i=n(15),c=n(10),a=n(22),u=n(5),f=n(49),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(48);t.exports=o?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return"function"==typeof e&&Object(t)instanceof e}},function(t,e,n){var r,o=n(8),i=n(83),c=n(37),a=n(16),u=n(93),f=n(52),s=n(25),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){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=!1},function(t,e,n){var r=n(35),o=n(29),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,e){t.exports={}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(23);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+r).toString(36)}},function(t,e,n){var r=n(53),o=n(37).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){var r=n(19);t.exports=function(t){if(r(t))throw TypeError("Cannot convert a Symbol value to a string");return String(t)}},function(t,e,n){var r=n(0),o=n(33),i=r["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,e,n){var r=n(0);t.exports=function(t,e){try{Object.defineProperty(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(24),o=n(32);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.17.2",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){var r=n(38),o=n(2);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e,n){var r,o,i=n(0),c=n(67),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(41),o=n(42),i=n(11),c=n(14),a=n(58),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=n(44);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var r=n(2),o=n(23),i="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},function(t,e,n){var r={};r[n(1)("toStringTag")]="z",t.exports="[object z]"===String(r)},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,e,n){var r=n(32),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return o.call(t)}),t.exports=r.inspectSource},function(t,e,n){var r=n(53),o=n(37);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(5),o=n(11),i=n(25),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(36);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e,n){var r=n(7),o=n(2),i=n(52);t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},,function(t,e,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:r},function(t,e,n){var r=n(0),o=n(4),i=r.document,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(10),i=n(68).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(3),o=n(95),i=n(47),c=n(64),a=n(39),u=n(9),f=n(13),s=n(1),l=n(24),p=n(26),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){"use strict";var r=n(22),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){var r=n(5),o=n(73),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(87);t.exports=function(t,e){return new(r(t))(0===e?0:e)}},function(t,e,n){var r=n(34),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},function(t,e,n){var r=n(2),o=/#|\.prototype\./,i=function(t,e){var n=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){"use strict";var r=n(40).forEach,o=n(66)("forEach");t.exports=o?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(t,e,n){var r=n(2),o=n(1),i=n(38),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(96);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(t){}return function(n,i){return r(n),o(i),e?t.call(n,i):n.__proto__=i,n}}():void 0)},function(t,e,n){"use strict";var r,o,i,c=n(2),a=n(47),u=n(9),f=n(5),s=n(1),l=n(24),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){"use strict";var r=n(2);t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){throw 1},1)}))}},function(t,e,n){var r=n(12);t.exports=r("navigator","userAgent")||""},function(t,e,n){var r=n(10),o=n(14),i=n(59),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(43),o=n(13),i=n(97);r||o(Object.prototype,"toString",i,{unsafe:!0})},function(t,e,n){"use strict";var r=n(94).charAt,o=n(31),i=n(17),c=n(55),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(43),o=n(23),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(4),o=n(19),i=n(85),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(74),o=n(26),i=n(1)("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[r(t)]}},,,,function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){var r=n(7),o=n(6),i=n(8),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,n){var r=n(4);t.exports=function(t,e){var n,o;if("string"===e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if("string"!==e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var r=n(0),o=n(45),i=r.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},function(t,e,n){var r=n(4),o=n(28),i=n(1)("species");t.exports=function(t){var e;return o(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!o(e.prototype)?r(e)&&null===(e=e[i])&&(e=void 0):e=void 0),void 0===e?Array:e}},,function(t,e,n){var r=n(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(3),o=n(61);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(t,e,n){var r=n(0),o=n(62),i=n(61),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(26),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(4);t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},function(t,e,n){"use strict";var r=n(43),o=n(74);t.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},function(t,e,n){var r=n(1),o=n(26),i=r("iterator"),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(78);t.exports=function(t,e){var n=arguments.length<2?o(t):e;if("function"!=typeof n)throw TypeError(String(t)+" is not iterable");return r(n.call(t))}},function(t,e,n){var r=n(8);t.exports=function(t,e,n){var o,i;r(t);try{if(void 0===(o=t.return)){if("throw"===e)throw n;return n}o=o.call(t)}catch(t){i=!0,o=t}if("throw"===e)throw n;if(i)throw o;return r(o),n}},function(t,e,n){var r=n(1)("iterator"),o=!1;try{var i=0,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(3),o=n(2),i=n(28),c=n(4),a=n(11),u=n(14),f=n(56),s=n(58),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(8),o=n(98),i=n(14),c=n(41),a=n(99),u=n(78),f=n(100),s=function(t,e){this.stopped=t,this.result=e};t.exports=function(t,e,n){var l,p,v,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){var r=n(4),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(3),o=n(115);r({target:"Array",stat:!0,forced:!n(101)((function(t){Array.from(t)}))},{from:o})},,function(t,e,n){"use strict";var r=n(41),o=n(11),i=n(116),c=n(98),a=n(14),u=n(56),f=n(99),s=n(78);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(100);t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(e){o(t,"throw",e)}}},,,,,,function(t,e,n){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(150),a=n(145),u=n(35),f=n(20),s=n(17).get,l=n(152),p=n(153),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(3),o=n(68).indexOf,i=n(66),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(3),o=n(131);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(60),c=n(13),a=n(5),u=n(23),f=n(112),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(143).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(144)+"]",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(138);var r=n(13),o=n(131),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(94).charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},function(t,e,n){var r=n(23),o=n(131);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(44),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(23),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(146),o=n(2),i=n(8),c=n(34),a=n(14),u=n(31),f=n(27),s=n(147),l=n(166),p=n(148),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(3)({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(41),s=n(93),l=n(52),p=n(172),v=n(157),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(67);t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},function(t,e,n){"use strict";var r=n(44),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(167),n(142),n(180),n(164),n(91),n(92),n(113),n(70),n(137),n(138),n(165),n(69),n(181),n(103);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(3)({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},function(t,e,n){"use strict";var r,o,i,c,a=n(3),u=n(24),f=n(0),s=n(12),l=n(182),p=n(13),v=n(122),h=n(64),d=n(39),g=n(123),y=n(4),x=n(44),m=n(105),b=n(45),w=n(104),S=n(101),E=n(155),O=n(171).set,j=n(183),T=n(186),A=n(187),I=n(173),N=n(188),_=n(17),P=n(60),R=n(1),M=n(189),L=n(157),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(171).set,h=n(172),d=n(184),g=n(185),y=n(157),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(67),o=n(0);t.exports=/ipad|iphone|ipod/i.test(r)&&void 0!==o.Pebble},function(t,e,n){var r=n(67);t.exports=/web0s(?!.*chrome)/i.test(r)},function(t,e,n){var r=n(8),o=n(4),i=n(173);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 +1 @@
1
- !function(t,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r();else if("function"==typeof define&&define.amd)define([],r);else{var n=r();for(var e in n)("object"==typeof exports?exports:t)[e]=n[e]}}(window,(function(){return function(t){var r={};function n(e){if(r[e])return r[e].exports;var o=r[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=r,n.d=function(t,r,e){n.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:e})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,r){if(1&r&&(t=n(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(n.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var o in t)n.d(e,o,function(r){return t[r]}.bind(null,o));return e},n.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(r,"a",r),r},n.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},n.p="",n(n.s=170)}([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),u=n(29),c=n(36),f=n(47),a=o("wks"),s=e.Symbol,p=f?s:s&&s.withoutSetter||u;t.exports=function(t){return i(a,t)&&(c||"string"==typeof a[t])||(c&&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),u=n(13),c=n(33),f=n(57),a=n(58);t.exports=function(t,r){var n,s,p,l,v,y=t.target,d=t.global,h=t.stat;if(n=d?e:h?e[y]||c(y,{}):(e[y]||{}).prototype)for(s in r){if(l=r[s],p=t.noTargetGet?(v=o(n,s))&&v.value:n[s],!a(d?s:y+(h?".":"#")+s,t.forced)&&void 0!==p){if(typeof l==typeof p)continue;f(l,p)}(t.sham||p&&p.sham)&&i(l,"sham",!0),u(n,s,l,t)}}},function(t,r,n){var e=n(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),u=n(21),c=Object.defineProperty;r.f=e?c:function(t,r,n){if(i(t),r=u(r),i(n),o)try{return c(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),u=n(33),c=n(44),f=n(17),a=f.get,s=f.enforce,p=String(String).split("String");(t.exports=function(t,r,n,c){var f,a=!!c&&!!c.unsafe,l=!!c&&!!c.enumerable,v=!!c&&!!c.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?!v&&t[r]&&(l=!0):delete t[r],l?t[r]=n:o(t,r,n)):l?t[r]=n:u(r,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&a(this).source||c(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,u=n(85),c=n(0),f=n(3),a=n(9),s=n(5),p=n(32),l=n(26),v=n(16),y=c.WeakMap;if(u||p.state){var d=p.state||(p.state=new y),h=d.get,g=d.has,b=d.set;e=function(t,r){if(g.call(d,t))throw new TypeError("Object already initialized");return r.facade=t,b.call(d,t,r),r},o=function(t){return h.call(d,t)||{}},i=function(t){return g.call(d,t)}}else{var x=l("state");v[x]=!0,e=function(t,r){if(s(t,x))throw new TypeError("Object already initialized");return r.facade=t,a(t,x,r),r},o=function(t){return s(t,x)?t[x]:{}},i=function(t){return s(t,x)}}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),u=n(10),c=n(21),f=n(5),a=n(48),s=Object.getOwnPropertyDescriptor;r.f=e?s:function(t,r){if(t=u(t),r=c(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),u=n(37),c=n(16),f=n(92),a=n(51),s=n(26),p=s("IE_PROTO"),l=function(){},v=function(t){return"<script>"+t+"<\/script>"},y=function(t){t.write(v("")),t.close();var r=t.parentWindow.Object;return t=null,r},d=function(){try{e=new ActiveXObject("htmlfile")}catch(t){}var t,r;d="undefined"!=typeof document?document.domain&&e?y(e):((r=a("iframe")).style.display="none",f.appendChild(r),r.src=String("javascript:"),(t=r.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):y(e);for(var n=u.length;n--;)delete d.prototype[u[n]];return d()};c[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=d(),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(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),u=n(66),c=i.process,f=i.Deno,a=c&&c.versions||f&&f.version,s=a&&a.v8;s?o=(e=s.split("."))[0]<4?1:e[0]+e[1]:u&&(!(e=u.match(/Edge\/(\d+)/))||e[1]>=74)&&(e=u.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),u=n(14),c=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,v=5==t||p;return function(y,d,h,g){for(var b,x,m=i(y),O=o(m),S=e(d,h,3),w=u(O.length),E=0,j=g||c,T=r?j(y,w):n||l?j(y,0):void 0;w>E;E++)if((v||E in O)&&(x=S(b=O[E],E,m),t))if(r)T[E]=x;else if(x)switch(t){case 3:return!0;case 5:return b;case 6:return E;case 2:f.call(T,b)}else switch(t){case 4:return!1;case 7:f.call(T,b)}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),u=n(17),c=n(56),f=u.set,a=u.getterFor("Array Iterator");t.exports=c(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,u=o(i)&&o(i.createElement);t.exports=function(t){return u?i.createElement(t):{}}},function(t,r,n){var e=n(5),o=n(11),i=n(26),u=n(87),c=i("IE_PROTO"),f=Object.prototype;t.exports=u?Object.getPrototypeOf:function(t){return t=o(t),e(t,c)?t[c]:"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,u=n(16);t.exports=function(t,r){var n,c=o(t),f=0,a=[];for(n in c)!e(u,n)&&e(c,n)&&a.push(n);for(;r.length>f;)e(c,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 u=e(r);u in t?o.f(t,u,i(0,n)):t[u]=n}},function(t,r,n){"use strict";var e=n(4),o=n(94),i=n(52),u=n(64),c=n(39),f=n(9),a=n(13),s=n(1),p=n(25),l=n(22),v=n(65),y=v.IteratorPrototype,d=v.BUGGY_SAFARI_ITERATORS,h=s("iterator"),g=function(){return this};t.exports=function(t,r,n,s,v,b,x){o(n,r,s);var m,O,S,w=function(t){if(t===v&&A)return A;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)}},E=r+" Iterator",j=!1,T=t.prototype,P=T[h]||T["@@iterator"]||v&&T[v],A=!d&&P||w(v),_="Array"==r&&T.entries||P;if(_&&(m=i(_.call(new t)),y!==Object.prototype&&m.next&&(p||i(m)===y||(u?u(m,y):"function"!=typeof m[h]&&f(m,h,g)),c(m,E,!0,!0),p&&(l[E]=g))),"values"==v&&P&&"values"!==P.name&&(j=!0,A=function(){return P.call(this)}),p&&!x||T[h]===A||f(T,h,A),l[r]=A,v)if(O={values:w("values"),keys:b?A:w("keys"),entries:w("entries")},x)for(S in O)(d||j||!(S in T))&&a(T,S,O[S]);else e({target:r,proto:!0,forced:d||j},O);return O}},function(t,r,n){var e=n(5),o=n(71),i=n(18),u=n(6);t.exports=function(t,r){for(var n=o(r),c=u.f,f=i.f,a=0;a<n.length;a++){var s=n[a];e(t,s)||c(t,s,f(r,s))}}},function(t,r,n){var e=n(2),o=/#|\.prototype\./,i=function(t,r){var n=c[u(t)];return n==a||n!=f&&("function"==typeof r?e(r):!!r)},u=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=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),u=o("species");t.exports=function(t){return i>=51||!e((function(){var r=[];return(r.constructor={})[u]=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,u=n(2),c=n(52),f=n(9),a=n(5),s=n(1),p=n(25),l=s("iterator"),v=!1;[].keys&&("next"in(i=[].keys())?(o=c(c(i)))!==Object.prototype&&(e=o):v=!0);var y=null==e||u((function(){var t={};return e[l].call(t)!==t}));y&&(e={}),p&&!y||a(e,l)||f(e,l,(function(){return this})),t.exports={IteratorPrototype:e,BUGGY_SAFARI_ITERATORS:v}},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),u=n(56),c=i.set,f=i.getterFor("String Iterator");u(String,"String",(function(t){c(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),u=n(25),c=n(7),f=n(36),a=n(2),s=n(5),p=n(28),l=n(3),v=n(19),y=n(8),d=n(11),h=n(10),g=n(21),b=n(31),x=n(15),m=n(20),O=n(46),S=n(30),w=n(88),E=n(54),j=n(18),T=n(6),P=n(50),A=n(9),_=n(13),L=n(35),k=n(26),I=n(16),N=n(29),F=n(1),C=n(75),M=n(78),D=n(39),R=n(17),z=n(42).forEach,V=k("hidden"),G=F("toPrimitive"),U=R.set,W=R.getterFor("Symbol"),K=Object.prototype,Y=o.Symbol,Q=i("JSON","stringify"),B=j.f,H=T.f,X=w.f,q=P.f,J=L("symbols"),Z=L("op-symbols"),$=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=c&&a((function(){return 7!=m(H({},"a",{get:function(){return H(this,"a",{value:7}).a}})).a}))?function(t,r,n){var e=B(K,r);e&&delete K[r],H(t,r,n),e&&t!==K&&H(K,r,e)}:H,it=function(t,r){var n=J[t]=m(Y.prototype);return U(n,{type:"Symbol",tag:t,description:r}),c||(n.description=r),n},ut=function(t,r,n){t===K&&ut(Z,r,n),y(t);var e=g(r);return y(n),s(J,e)?(n.enumerable?(s(t,V)&&t[V][e]&&(t[V][e]=!1),n=m(n,{enumerable:x(0,!1)})):(s(t,V)||H(t,V,x(1,{})),t[V][e]=!0),ot(t,e,n)):H(t,e,n)},ct=function(t,r){y(t);var n=h(r),e=O(n).concat(pt(n));return z(e,(function(r){c&&!ft.call(n,r)||ut(t,r,n[r])})),t},ft=function(t){var r=g(t),n=q.call(this,r);return!(this===K&&s(J,r)&&!s(Z,r))&&(!(n||!s(this,r)||!s(J,r)||s(this,V)&&this[V][r])||n)},at=function(t,r){var n=h(t),e=g(r);if(n!==K||!s(J,e)||s(Z,e)){var o=B(n,e);return!o||!s(J,e)||s(n,V)&&n[V][e]||(o.enumerable=!0),o}},st=function(t){var r=X(h(t)),n=[];return z(r,(function(t){s(J,t)||s(I,t)||n.push(t)})),n},pt=function(t){var r=t===K,n=X(r?Z:h(t)),e=[];return z(n,(function(t){!s(J,t)||r&&!s(K,t)||e.push(J[t])})),e};(f||(_((Y=function(){if(this instanceof Y)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?b(arguments[0]):void 0,r=N(t),n=function(t){this===K&&n.call(Z,t),s(this,V)&&s(this[V],r)&&(this[V][r]=!1),ot(this,r,x(1,t))};return c&&et&&ot(K,r,{configurable:!0,set:n}),it(r,t)}).prototype,"toString",(function(){return W(this).tag})),_(Y,"withoutSetter",(function(t){return it(N(t),t)})),P.f=ft,T.f=ut,j.f=at,S.f=w.f=st,E.f=pt,C.f=function(t){return it(F(t),t)},c&&(H(Y.prototype,"description",{configurable:!0,get:function(){return W(this).description}}),u||_(K,"propertyIsEnumerable",ft,{unsafe:!0}))),e({global:!0,wrap:!0,forced:!f,sham:!f},{Symbol:Y}),z(O(rt),(function(t){M(t)})),e({target:"Symbol",stat:!0,forced:!f},{for:function(t){var r=b(t);if(s($,r))return $[r];var n=Y(r);return $[r]=n,tt[n]=r,n},keyFor:function(t){if(!v(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:!c},{create:function(t,r){return void 0===r?m(t):ct(m(t),r)},defineProperty:ut,defineProperties:ct,getOwnPropertyDescriptor:at}),e({target:"Object",stat:!0,forced:!f},{getOwnPropertyNames:st,getOwnPropertySymbols:pt}),e({target:"Object",stat:!0,forced:a((function(){E.f(1)}))},{getOwnPropertySymbols:function(t){return E.f(d(t))}}),Q)&&e({target:"JSON",stat:!0,forced:!f||a((function(){var t=Y();return"[null]"!=Q([t])||"{}"!=Q({a:t})||"{}"!=Q(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)&&!v(t))return p(r)||(r=function(t,r){if("function"==typeof e&&(r=e.call(this,t,r)),!v(r))return r}),o[1]=r,Q.apply(null,o)}});Y.prototype[G]||A(Y.prototype,G,Y.prototype.valueOf),D(Y,"Symbol"),I[V]=!0},function(t,r,n){var e=n(12),o=n(30),i=n(54),u=n(8);t.exports=e("Reflect","ownKeys")||function(t){var r=o.f(u(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),u=function(t){return function(r,n,u){var c,f=e(r),a=o(f.length),s=i(u,a);if(t&&n!=n){for(;a>s;)if((c=f[s++])!=c)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:u(!0),indexOf:u(!1)}},function(t,r,n){var e=n(74),o=n(22),i=n(1)("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[e(t)]}},function(t,r,n){var e=n(43),o=n(24),i=n(1)("toStringTag"),u="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:u?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),u=n(1)("toPrimitive");t.exports=function(t,r){if(!e(t)||o(t))return t;var n,c=t[u];if(void 0!==c){if(void 0===r&&(r="default"),n=c.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),u=n(9),c=n(1),f=c("iterator"),a=c("toStringTag"),s=i.values;for(var p in o){var l=e[p],v=l&&l.prototype;if(v){if(v[f]!==s)try{u(v,f,s)}catch(t){v[f]=s}if(v[a]||u(v,a,p),o[p])for(var y in i)if(v[y]!==i[y])try{u(v,y,i[y])}catch(t){v[y]=i[y]}}}},function(t,r,n){var e=n(101),o=n(5),i=n(75),u=n(6).f;t.exports=function(t){var r=e.Symbol||(e.Symbol={});o(r,t)||u(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){var e=n(7),o=n(6),i=n(8),u=n(46);t.exports=e?Object.defineProperties:function(t,r){i(t);for(var n,e=u(r),c=e.length,f=0;c>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,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return u&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return u.slice()}}(t):o(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),u=n(9);for(var c in o){var f=e[c],a=f&&f.prototype;if(a&&a.forEach!==i)try{u(a,"forEach",i)}catch(t){a.forEach=i}}},function(t,r,n){var e=n(1),o=n(20),i=n(6),u=e("unscopables"),c=Array.prototype;null==c[u]&&i.f(c,u,{configurable:!0,value:o(null)}),t.exports=function(t){c[u][t]=!0}},function(t,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),u=function(t){return function(r,n){var u,c,f=o(i(r)),a=e(n),s=f.length;return a<0||a>=s?t?"":void 0:(u=f.charCodeAt(a))<55296||u>56319||a+1===s||(c=f.charCodeAt(a+1))<56320||c>57343?t?f.charAt(a):u:t?f.slice(a,a+2):c-56320+(u-55296<<10)+65536}};t.exports={codeAt:u(!1),charAt:u(!0)}},function(t,r,n){"use strict";var e=n(65).IteratorPrototype,o=n(20),i=n(15),u=n(39),c=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)}),u(t,a,!1,!0),c[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){var e=n(1),o=n(22),i=e("iterator"),u=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||u[i]===t)}},function(t,r,n){var e=n(8),o=n(73);t.exports=function(t,r){var n=arguments.length<2?o(t):r;if("function"!=typeof n)throw TypeError(String(t)+" is not iterable");return e(n.call(t))}},function(t,r,n){var e=n(8);t.exports=function(t,r,n){var o,i;e(t);try{if(void 0===(o=t.return)){if("throw"===r)throw n;return n}o=o.call(t)}catch(t){i=!0,o=t}if("throw"===r)throw n;if(i)throw o;return e(o),n}},function(t,r,n){var e=n(1)("iterator"),o=!1;try{var i=0,u={next:function(){return{done:!!i++}},return:function(){o=!0}};u[e]=function(){return this},Array.from(u,(function(){throw 2}))}catch(t){}t.exports=function(t,r){if(!r&&!o)return!1;var n=!1;try{var i={};i[e]=function(){return{next:function(){return{done:n=!0}}}},t(i)}catch(t){}return n}},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(8),o=n(96),i=n(14),u=n(40),c=n(97),f=n(73),a=n(98),s=function(t,r){this.stopped=t,this.result=r};t.exports=function(t,r,n){var p,l,v,y,d,h,g,b=n&&n.that,x=!(!n||!n.AS_ENTRIES),m=!(!n||!n.IS_ITERATOR),O=!(!n||!n.INTERRUPTED),S=u(r,b,1+x+O),w=function(t){return p&&a(p,"normal",t),new s(!0,t)},E=function(t){return x?(e(t),O?S(t[0],t[1],w):S(t[0],t[1])):O?S(t,w):S(t)};if(m)p=t;else{if("function"!=typeof(l=f(t)))throw TypeError("Target is not iterable");if(o(l)){for(v=0,y=i(t.length);y>v;v++)if((d=E(t[v]))&&d instanceof s)return d;return new s(!1)}p=c(t,l)}for(h=p.next;!(g=h.call(p)).done;){try{d=E(g.value)}catch(t){a(p,"throw",t)}if("object"==typeof d&&d&&d instanceof s)return d}return new s(!1)}},function(t,r){t.exports=function(t,r,n){if(!(t instanceof r))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},,function(t,r,n){var e=n(4),o=n(16),i=n(3),u=n(5),c=n(6).f,f=n(30),a=n(88),s=n(29),p=n(125),l=!1,v=s("meta"),y=0,d=Object.isExtensible||function(){return!0},h=function(t){c(t,v,{value:{objectID:"O"+y++,weakData:{}}})},g=t.exports={enable:function(){g.enable=function(){},l=!0;var t=f.f,r=[].splice,n={};n[v]=1,t(n).length&&(f.f=function(n){for(var e=t(n),o=0,i=e.length;o<i;o++)if(e[o]===v){r.call(e,o,1);break}return e},e({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:a.f}))},fastKey:function(t,r){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!u(t,v)){if(!d(t))return"F";if(!r)return"E";h(t)}return t[v].objectID},getWeakData:function(t,r){if(!u(t,v)){if(!d(t))return!0;if(!r)return!1;h(t)}return t[v].weakData},onFreeze:function(t){return p&&l&&d(t)&&!u(t,v)&&h(t),t}};o[v]=!0},function(t,r,n){var e=n(4),o=n(2),i=n(10),u=n(18).f,c=n(7),f=o((function(){u(1)}));e({target:"Object",stat:!0,forced:!c||f,sham:!c},{getOwnPropertyDescriptor:function(t,r){return u(i(t),r)}})},function(t,r,n){var e=n(3),o=n(64);t.exports=function(t,r,n){var i,u;return o&&"function"==typeof(i=r.constructor)&&i!==n&&e(u=i.prototype)&&u!==n.prototype&&o(t,u),t}},,,,,,,,,,,function(t,r,n){"use strict";var e=n(4),o=n(0),i=n(58),u=n(13),c=n(105),f=n(102),a=n(103),s=n(3),p=n(2),l=n(99),v=n(39),y=n(107);t.exports=function(t,r,n){var d=-1!==t.indexOf("Map"),h=-1!==t.indexOf("Weak"),g=d?"set":"add",b=o[t],x=b&&b.prototype,m=b,O={},S=function(t){var r=x[t];u(x,t,"add"==t?function(t){return r.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(h&&!s(t))&&r.call(this,0===t?0:t)}:"get"==t?function(t){return h&&!s(t)?void 0:r.call(this,0===t?0:t)}:"has"==t?function(t){return!(h&&!s(t))&&r.call(this,0===t?0:t)}:function(t,n){return r.call(this,0===t?0:t,n),this})};if(i(t,"function"!=typeof b||!(h||x.forEach&&!p((function(){(new b).entries().next()})))))m=n.getConstructor(r,t,d,g),c.enable();else if(i(t,!0)){var w=new m,E=w[g](h?{}:-0,1)!=w,j=p((function(){w.has(1)})),T=l((function(t){new b(t)})),P=!h&&p((function(){for(var t=new b,r=5;r--;)t[g](r,r);return!t.has(-0)}));T||((m=r((function(r,n){a(r,m,t);var e=y(new b,r,m);return null!=n&&f(n,e[g],{that:e,AS_ENTRIES:d}),e}))).prototype=x,x.constructor=m),(j||P)&&(S("delete"),S("has"),d&&S("get")),(P||E)&&S(g),h&&x.clear&&delete x.clear}return O[t]=m,e({global:!0,forced:m!=b},O),v(m,t),h||n.setStrong(m,t,d),m}},function(t,r,n){"use strict";var e=n(6).f,o=n(20),i=n(120),u=n(40),c=n(103),f=n(102),a=n(56),s=n(121),p=n(7),l=n(105).fastKey,v=n(17),y=v.set,d=v.getterFor;t.exports={getConstructor:function(t,r,n,a){var s=t((function(t,e){c(t,s,r),y(t,{type:r,index:o(null),first:void 0,last:void 0,size:0}),p||(t.size=0),null!=e&&f(e,t[a],{that:t,AS_ENTRIES:n})})),v=d(r),h=function(t,r,n){var e,o,i=v(t),u=g(t,r);return u?u.value=n:(i.last=u={index:o=l(r,!0),key:r,value:n,previous:e=i.last,next:void 0,removed:!1},i.first||(i.first=u),e&&(e.next=u),p?i.size++:t.size++,"F"!==o&&(i.index[o]=u)),t},g=function(t,r){var n,e=v(t),o=l(r);if("F"!==o)return e.index[o];for(n=e.first;n;n=n.next)if(n.key==r)return n};return i(s.prototype,{clear:function(){for(var t=v(this),r=t.index,n=t.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete r[n.index],n=n.next;t.first=t.last=void 0,p?t.size=0:this.size=0},delete:function(t){var r=v(this),n=g(this,t);if(n){var e=n.next,o=n.previous;delete r.index[n.index],n.removed=!0,o&&(o.next=e),e&&(e.previous=o),r.first==n&&(r.first=e),r.last==n&&(r.last=o),p?r.size--:this.size--}return!!n},forEach:function(t){for(var r,n=v(this),e=u(t,arguments.length>1?arguments[1]:void 0,3);r=r?r.next:n.first;)for(e(r.value,r.key,this);r&&r.removed;)r=r.previous},has:function(t){return!!g(this,t)}}),i(s.prototype,n?{get:function(t){var r=g(this,t);return r&&r.value},set:function(t,r){return h(this,0===t?0:t,r)}}:{add:function(t){return h(this,t=0===t?0:t,t)}}),p&&e(s.prototype,"size",{get:function(){return v(this).size}}),s},setStrong:function(t,r,n){var e=r+" Iterator",o=d(r),i=d(e);a(t,r,(function(t,r){y(this,{type:e,target:t,state:o(t),kind:r,last:void 0})}),(function(){for(var t=i(this),r=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==r?{value:n.key,done:!1}:"values"==r?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),s(r)}}},function(t,r,n){var e=n(13);t.exports=function(t,r,n){for(var o in r)e(t,o,r[o],n);return t}},function(t,r,n){"use strict";var e=n(12),o=n(6),i=n(1),u=n(7),c=i("species");t.exports=function(t){var r=e(t),n=o.f;u&&r&&!r[c]&&n(r,c,{configurable:!0,get:function(){return this}})}},,,function(t,r,n){"use strict";var e=n(118),o=n(119);t.exports=e("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),o)},function(t,r,n){var e=n(2);t.exports=!e((function(){return Object.isExtensible(Object.preventExtensions({}))}))},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),u=n(10),c=n(18),f=n(55);e({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(t){for(var r,n,e=u(t),o=c.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(4),o=n(72).indexOf,i=n(67),u=[].indexOf,c=!!u&&1/[1].indexOf(1,-0)<0,f=i("indexOf");e({target:"Array",proto:!0,forced:c||!f},{indexOf:function(t){return c?u.apply(this,arguments)||0:o(this,t,arguments.length>1?arguments[1]:void 0)}})},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,r,n){"use strict";n.r(r),n.d(r,"toTurboData",(function(){return f})),n.d(r,"toLogicflowData",(function(){return a})),n.d(r,"TurboAdapter",(function(){return s}));var e;n(49),n(124),n(68),n(69),n(77),n(89),n(90),n(126),n(133),n(79),n(70),n(128),n(106),n(129),n(130);function o(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 i(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?o(Object(n),!0).forEach((function(r){u(t,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(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 c(t){switch(t){case"bpmn:sequenceFlow":return e.SEQUENCE_FLOW;case"bpmn:startEvent":return e.START_EVENT;case"bpmn:endEvent":return e.END_EVENT;case"bpmn:userTask":return e.USER_TASK;case"bpmn:exclusiveGateway":return e.EXCLUSIVE_GATEWAY;default:return t}}function f(t){var r=new Map,n={flowElementList:[]};return t.nodes.forEach((function(t){var e=function(t){var r=t.id,n=t.type,e=t.x,o=t.y,u=t.text,f=void 0===u?"":u,a=t.properties;return{incoming:[],outgoing:[],dockers:[],type:c(t.type),properties:i(i({},a),{},{name:f&&f.value||"",x:e,y:o,text:f,logicFlowType:n}),key:r}}(t);n.flowElementList.push(e),r.set(t.id,e)})),t.edges.forEach((function(t){var e=function(t){var r=t.id,n=t.type,e=t.sourceNodeId,o=t.targetNodeId,u=t.startPoint,f=t.endPoint,a=t.pointsList,s=t.text,p=void 0===s?"":s,l=t.properties;return{incoming:[e],outgoing:[o],type:c(n),dockers:[],properties:i(i({},l),{},{name:p&&p.value||"",text:p,startPoint:u,endPoint:f,pointsList:a,logicFlowType:n}),key:r}}(t);r.get(t.sourceNodeId).outgoing.push(e.key),r.get(t.targetNodeId).incoming.push(e.key),n.flowElementList.push(e)})),n}function a(t){var r={nodes:[],edges:[]},n=t.flowElementList;return n&&n.length>0&&n.forEach((function(t){if(t.type===e.SEQUENCE_FLOW){var n=function(t){var r=t.incoming,n=t.outgoing,e=t.properties,o=t.key,i=e.text,u=e.startPoint,c=e.endPoint,f=e.pointsList,a={id:o,type:e.logicFlowType,sourceNodeId:r[0],targetNodeId:n[0],text:i,startPoint:u,endPoint:c,pointsList:f,properties:{}},s=["startPoint","endPoint","pointsList","text","logicFlowType"];return Object.keys(t.properties).forEach((function(r){-1===s.indexOf(r)&&(a.properties[r]=t.properties[r])})),a}(t);r.edges.push(n)}else{var o=function(t){var r=t.properties,n=t.key,e=r.x,o=r.y,i=r.text,u={id:n,type:r.logicFlowType,x:e,y:o,text:i,properties:{}},c=["x","y","text","logicFlowType"];return Object.keys(t.properties).forEach((function(r){-1===c.indexOf(r)&&(u.properties[r]=t.properties[r])})),u}(t);r.nodes.push(o)}})),r}!function(t){t[t.SEQUENCE_FLOW=1]="SEQUENCE_FLOW",t[t.START_EVENT=2]="START_EVENT",t[t.END_EVENT=3]="END_EVENT",t[t.USER_TASK=4]="USER_TASK",t[t.EXCLUSIVE_GATEWAY=6]="EXCLUSIVE_GATEWAY"}(e||(e={}));var s={pluginName:"TurboAdapter",install:function(t){t.adapterIn=this.adapterIn,t.adapterOut=this.adapterOut},shapeConfigMap:new Map,setCustomShape:function(t,r){this.shapeConfigMap.set(t,r)},adapterOut:function(t){if(t)return f(t)},adapterIn:function(t){if(t)return a(t)}};r.default=s}])}));
1
+ !function(t,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r();else if("function"==typeof define&&define.amd)define([],r);else{var n=r();for(var e in n)("object"==typeof exports?exports:t)[e]=n[e]}}(window,(function(){return function(t){var r={};function n(e){if(r[e])return r[e].exports;var o=r[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=r,n.d=function(t,r,e){n.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:e})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,r){if(1&r&&(t=n(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(n.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var o in t)n.d(e,o,function(r){return t[r]}.bind(null,o));return e},n.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(r,"a",r),r},n.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},n.p="",n(n.s=178)}([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(82))},function(t,r,n){var e=n(0),o=n(35),i=n(5),u=n(29),c=n(36),f=n(48),a=o("wks"),s=e.Symbol,p=f?s:s&&s.withoutSetter||u;t.exports=function(t){return i(a,t)&&(c||"string"==typeof a[t])||(c&&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,n){var e=n(0),o=n(18).f,i=n(9),u=n(13),c=n(33),f=n(57),a=n(60);t.exports=function(t,r){var n,s,p,l,v,y=t.target,d=t.global,h=t.stat;if(n=d?e:h?e[y]||c(y,{}):(e[y]||{}).prototype)for(s in r){if(l=r[s],p=t.noTargetGet?(v=o(n,s))&&v.value:n[s],!a(d?s:y+(h?".":"#")+s,t.forced)&&void 0!==p){if(typeof l==typeof p)continue;f(l,p)}(t.sham||p&&p.sham)&&i(l,"sham",!0),u(n,s,l,t)}}},function(t,r){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof 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(49),i=n(8),u=n(22),c=Object.defineProperty;r.f=e?c:function(t,r,n){if(i(t),r=u(r),i(n),o)try{return c(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(4);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(42),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),u=n(33),c=n(45),f=n(17),a=f.get,s=f.enforce,p=String(String).split("String");(t.exports=function(t,r,n,c){var f,a=!!c&&!!c.unsafe,l=!!c&&!!c.enumerable,v=!!c&&!!c.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?!v&&t[r]&&(l=!0):delete t[r],l?t[r]=n:o(t,r,n)):l?t[r]=n:u(r,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&a(this).source||c(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,u=n(86),c=n(0),f=n(4),a=n(9),s=n(5),p=n(32),l=n(25),v=n(16),y=c.WeakMap;if(u||p.state){var d=p.state||(p.state=new y),h=d.get,g=d.has,b=d.set;e=function(t,r){if(g.call(d,t))throw new TypeError("Object already initialized");return r.facade=t,b.call(d,t,r),r},o=function(t){return h.call(d,t)||{}},i=function(t){return g.call(d,t)}}else{var x=l("state");v[x]=!0,e=function(t,r){if(s(t,x))throw new TypeError("Object already initialized");return r.facade=t,a(t,x,r),r},o=function(t){return s(t,x)?t[x]:{}},i=function(t){return s(t,x)}}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(51),i=n(15),u=n(10),c=n(22),f=n(5),a=n(49),s=Object.getOwnPropertyDescriptor;r.f=e?s:function(t,r){if(t=u(t),r=c(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(48);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(83),u=n(37),c=n(16),f=n(93),a=n(52),s=n(25),p=s("IE_PROTO"),l=function(){},v=function(t){return"<script>"+t+"<\/script>"},y=function(t){t.write(v("")),t.close();var r=t.parentWindow.Object;return t=null,r},d=function(){try{e=new ActiveXObject("htmlfile")}catch(t){}var t,r;d="undefined"!=typeof document?document.domain&&e?y(e):((r=a("iframe")).style.display="none",f.appendChild(r),r.src=String("javascript:"),(t=r.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):y(e);for(var n=u.length;n--;)delete d.prototype[u[n]];return d()};c[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=d(),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){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,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(23);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(24),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),u=n(67),c=i.process,f=i.Deno,a=c&&c.versions||f&&f.version,s=a&&a.v8;s?o=(e=s.split("."))[0]<4?1:e[0]+e[1]:u&&(!(e=u.match(/Edge\/(\d+)/))||e[1]>=74)&&(e=u.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(41),o=n(42),i=n(11),u=n(14),c=n(58),f=[].push,a=function(t){var r=1==t,n=2==t,a=3==t,s=4==t,p=6==t,l=7==t,v=5==t||p;return function(y,d,h,g){for(var b,x,m=i(y),O=o(m),S=e(d,h,3),w=u(O.length),E=0,j=g||c,T=r?j(y,w):n||l?j(y,0):void 0;w>E;E++)if((v||E in O)&&(x=S(b=O[E],E,m),t))if(r)T[E]=x;else if(x)switch(t){case 3:return!0;case 5:return b;case 6:return E;case 2:f.call(T,b)}else switch(t){case 4:return!1;case 7:f.call(T,b)}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=n(44);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(23),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={};e[n(1)("toStringTag")]="z",t.exports="[object z]"===String(e)},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(32),o=Function.toString;"function"!=typeof e.inspectSource&&(e.inspectSource=function(t){return o.call(t)}),t.exports=e.inspectSource},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(5),o=n(11),i=n(25),u=n(89),c=i("IE_PROTO"),f=Object.prototype;t.exports=u?Object.getPrototypeOf:function(t){return t=o(t),e(t,c)?t[c]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?f:null}},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(52);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(88),i=n(26),u=n(17),c=n(55),f=u.set,a=u.getterFor("Array Iterator");t.exports=c(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(4),i=e.document,u=o(i)&&o(i.createElement);t.exports=function(t){return u?i.createElement(t):{}}},function(t,r,n){var e=n(5),o=n(10),i=n(68).indexOf,u=n(16);t.exports=function(t,r){var n,c=o(t),f=0,a=[];for(n in c)!e(u,n)&&e(c,n)&&a.push(n);for(;r.length>f;)e(c,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(3),o=n(95),i=n(47),u=n(64),c=n(39),f=n(9),a=n(13),s=n(1),p=n(24),l=n(26),v=n(65),y=v.IteratorPrototype,d=v.BUGGY_SAFARI_ITERATORS,h=s("iterator"),g=function(){return this};t.exports=function(t,r,n,s,v,b,x){o(n,r,s);var m,O,S,w=function(t){if(t===v&&A)return A;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)}},E=r+" Iterator",j=!1,T=t.prototype,P=T[h]||T["@@iterator"]||v&&T[v],A=!d&&P||w(v),_="Array"==r&&T.entries||P;if(_&&(m=i(_.call(new t)),y!==Object.prototype&&m.next&&(p||i(m)===y||(u?u(m,y):"function"!=typeof m[h]&&f(m,h,g)),c(m,E,!0,!0),p&&(l[E]=g))),"values"==v&&P&&"values"!==P.name&&(j=!0,A=function(){return P.call(this)}),p&&!x||T[h]===A||f(T,h,A),l[r]=A,v)if(O={values:w("values"),keys:b?A:w("keys"),entries:w("entries")},x)for(S in O)(d||j||!(S in T))&&a(T,S,O[S]);else e({target:r,proto:!0,forced:d||j},O);return O}},function(t,r,n){"use strict";var e=n(22),o=n(6),i=n(15);t.exports=function(t,r,n){var u=e(r);u in t?o.f(t,u,i(0,n)):t[u]=n}},function(t,r,n){var e=n(5),o=n(73),i=n(18),u=n(6);t.exports=function(t,r){for(var n=o(r),c=u.f,f=i.f,a=0;a<n.length;a++){var s=n[a];e(t,s)||c(t,s,f(r,s))}}},function(t,r,n){var e=n(87);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){var e=n(2),o=/#|\.prototype\./,i=function(t,r){var n=c[u(t)];return n==a||n!=f&&("function"==typeof r?e(r):!!r)},u=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=i.data={},f=i.NATIVE="N",a=i.POLYFILL="P";t.exports=i},function(t,r,n){"use strict";var e=n(40).forEach,o=n(66)("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),u=o("species");t.exports=function(t){return i>=51||!e((function(){var r=[];return(r.constructor={})[u]=function(){return{foo:1}},1!==r[t](Boolean).foo}))}},function(t,r,n){var e=n(8),o=n(96);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,u=n(2),c=n(47),f=n(9),a=n(5),s=n(1),p=n(24),l=s("iterator"),v=!1;[].keys&&("next"in(i=[].keys())?(o=c(c(i)))!==Object.prototype&&(e=o):v=!0);var y=null==e||u((function(){var t={};return e[l].call(t)!==t}));y&&(e={}),p&&!y||a(e,l)||f(e,l,(function(){return this})),t.exports={IteratorPrototype:e,BUGGY_SAFARI_ITERATORS:v}},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(12);t.exports=e("navigator","userAgent")||""},function(t,r,n){var e=n(10),o=n(14),i=n(59),u=function(t){return function(r,n,u){var c,f=e(r),a=o(f.length),s=i(u,a);if(t&&n!=n){for(;a>s;)if((c=f[s++])!=c)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:u(!0),indexOf:u(!1)}},function(t,r,n){var e=n(43),o=n(13),i=n(97);e||o(Object.prototype,"toString",i,{unsafe:!0})},function(t,r,n){"use strict";var e=n(94).charAt,o=n(31),i=n(17),u=n(55),c=i.set,f=i.getterFor("String Iterator");u(String,"String",(function(t){c(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(3),o=n(0),i=n(12),u=n(24),c=n(7),f=n(36),a=n(2),s=n(5),p=n(28),l=n(4),v=n(19),y=n(8),d=n(11),h=n(10),g=n(22),b=n(31),x=n(15),m=n(20),O=n(46),S=n(30),w=n(90),E=n(54),j=n(18),T=n(6),P=n(51),A=n(9),_=n(13),L=n(35),k=n(25),I=n(16),N=n(29),F=n(1),C=n(72),M=n(75),D=n(39),R=n(17),z=n(40).forEach,V=k("hidden"),G=F("toPrimitive"),U=R.set,W=R.getterFor("Symbol"),K=Object.prototype,Y=o.Symbol,Q=i("JSON","stringify"),B=j.f,H=T.f,X=w.f,q=P.f,J=L("symbols"),Z=L("op-symbols"),$=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=c&&a((function(){return 7!=m(H({},"a",{get:function(){return H(this,"a",{value:7}).a}})).a}))?function(t,r,n){var e=B(K,r);e&&delete K[r],H(t,r,n),e&&t!==K&&H(K,r,e)}:H,it=function(t,r){var n=J[t]=m(Y.prototype);return U(n,{type:"Symbol",tag:t,description:r}),c||(n.description=r),n},ut=function(t,r,n){t===K&&ut(Z,r,n),y(t);var e=g(r);return y(n),s(J,e)?(n.enumerable?(s(t,V)&&t[V][e]&&(t[V][e]=!1),n=m(n,{enumerable:x(0,!1)})):(s(t,V)||H(t,V,x(1,{})),t[V][e]=!0),ot(t,e,n)):H(t,e,n)},ct=function(t,r){y(t);var n=h(r),e=O(n).concat(pt(n));return z(e,(function(r){c&&!ft.call(n,r)||ut(t,r,n[r])})),t},ft=function(t){var r=g(t),n=q.call(this,r);return!(this===K&&s(J,r)&&!s(Z,r))&&(!(n||!s(this,r)||!s(J,r)||s(this,V)&&this[V][r])||n)},at=function(t,r){var n=h(t),e=g(r);if(n!==K||!s(J,e)||s(Z,e)){var o=B(n,e);return!o||!s(J,e)||s(n,V)&&n[V][e]||(o.enumerable=!0),o}},st=function(t){var r=X(h(t)),n=[];return z(r,(function(t){s(J,t)||s(I,t)||n.push(t)})),n},pt=function(t){var r=t===K,n=X(r?Z:h(t)),e=[];return z(n,(function(t){!s(J,t)||r&&!s(K,t)||e.push(J[t])})),e};(f||(_((Y=function(){if(this instanceof Y)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?b(arguments[0]):void 0,r=N(t),n=function(t){this===K&&n.call(Z,t),s(this,V)&&s(this[V],r)&&(this[V][r]=!1),ot(this,r,x(1,t))};return c&&et&&ot(K,r,{configurable:!0,set:n}),it(r,t)}).prototype,"toString",(function(){return W(this).tag})),_(Y,"withoutSetter",(function(t){return it(N(t),t)})),P.f=ft,T.f=ut,j.f=at,S.f=w.f=st,E.f=pt,C.f=function(t){return it(F(t),t)},c&&(H(Y.prototype,"description",{configurable:!0,get:function(){return W(this).description}}),u||_(K,"propertyIsEnumerable",ft,{unsafe:!0}))),e({global:!0,wrap:!0,forced:!f,sham:!f},{Symbol:Y}),z(O(rt),(function(t){M(t)})),e({target:"Symbol",stat:!0,forced:!f},{for:function(t){var r=b(t);if(s($,r))return $[r];var n=Y(r);return $[r]=n,tt[n]=r,n},keyFor:function(t){if(!v(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:!c},{create:function(t,r){return void 0===r?m(t):ct(m(t),r)},defineProperty:ut,defineProperties:ct,getOwnPropertyDescriptor:at}),e({target:"Object",stat:!0,forced:!f},{getOwnPropertyNames:st,getOwnPropertySymbols:pt}),e({target:"Object",stat:!0,forced:a((function(){E.f(1)}))},{getOwnPropertySymbols:function(t){return E.f(d(t))}}),Q)&&e({target:"JSON",stat:!0,forced:!f||a((function(){var t=Y();return"[null]"!=Q([t])||"{}"!=Q({a:t})||"{}"!=Q(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)&&!v(t))return p(r)||(r=function(t,r){if("function"==typeof e&&(r=e.call(this,t,r)),!v(r))return r}),o[1]=r,Q.apply(null,o)}});Y.prototype[G]||A(Y.prototype,G,Y.prototype.valueOf),D(Y,"Symbol"),I[V]=!0},function(t,r,n){var e=n(1);r.f=e},function(t,r,n){var e=n(12),o=n(30),i=n(54),u=n(8);t.exports=e("Reflect","ownKeys")||function(t){var r=o.f(u(t)),n=i.f;return n?r.concat(n(t)):r}},function(t,r,n){var e=n(43),o=n(23),i=n(1)("toStringTag"),u="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:u?o(r):"Object"==(e=o(r))&&"function"==typeof r.callee?"Arguments":e}},function(t,r,n){var e=n(102),o=n(5),i=n(72),u=n(6).f;t.exports=function(t){var r=e.Symbol||(e.Symbol={});o(r,t)||u(r,t,{value:i.f(t)})}},function(t,r,n){var e=n(4),o=n(19),i=n(85),u=n(1)("toPrimitive");t.exports=function(t,r){if(!e(t)||o(t))return t;var n,c=t[u];if(void 0!==c){if(void 0===r&&(r="default"),n=c.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(50),u=n(9),c=n(1),f=c("iterator"),a=c("toStringTag"),s=i.values;for(var p in o){var l=e[p],v=l&&l.prototype;if(v){if(v[f]!==s)try{u(v,f,s)}catch(t){v[f]=s}if(v[a]||u(v,a,p),o[p])for(var y in i)if(v[y]!==i[y])try{u(v,y,i[y])}catch(t){v[y]=i[y]}}}},function(t,r,n){var e=n(74),o=n(26),i=n(1)("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[e(t)]}},function(t,r,n){var e=n(3),o=n(7);e({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:n(6).f})},,,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(7),o=n(6),i=n(8),u=n(46);t.exports=e?Object.defineProperties:function(t,r){i(t);for(var n,e=u(r),c=e.length,f=0;c>f;)o.f(t,n=e[f++],r[n]);return t}},,function(t,r,n){var e=n(4);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(45),i=e.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},function(t,r,n){var e=n(4),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(1),o=n(20),i=n(6),u=e("unscopables"),c=Array.prototype;null==c[u]&&i.f(c,u,{configurable:!0,value:o(null)}),t.exports=function(t){c[u][t]=!0}},function(t,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,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return u&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return u.slice()}}(t):o(e(t))}},function(t,r,n){"use strict";var e=n(3),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),u=n(9);for(var c in o){var f=e[c],a=f&&f.prototype;if(a&&a.forEach!==i)try{u(a,"forEach",i)}catch(t){a.forEach=i}}},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),u=function(t){return function(r,n){var u,c,f=o(i(r)),a=e(n),s=f.length;return a<0||a>=s?t?"":void 0:(u=f.charCodeAt(a))<55296||u>56319||a+1===s||(c=f.charCodeAt(a+1))<56320||c>57343?t?f.charAt(a):u:t?f.slice(a,a+2):c-56320+(u-55296<<10)+65536}};t.exports={codeAt:u(!1),charAt:u(!0)}},function(t,r,n){"use strict";var e=n(65).IteratorPrototype,o=n(20),i=n(15),u=n(39),c=n(26),f=function(){return this};t.exports=function(t,r,n){var a=r+" Iterator";return t.prototype=o(e,{next:i(1,n)}),u(t,a,!1,!0),c[a]=f,t}},function(t,r,n){var e=n(4);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(1),o=n(26),i=e("iterator"),u=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||u[i]===t)}},function(t,r,n){var e=n(8),o=n(78);t.exports=function(t,r){var n=arguments.length<2?o(t):r;if("function"!=typeof n)throw TypeError(String(t)+" is not iterable");return e(n.call(t))}},function(t,r,n){var e=n(8);t.exports=function(t,r,n){var o,i;e(t);try{if(void 0===(o=t.return)){if("throw"===r)throw n;return n}o=o.call(t)}catch(t){i=!0,o=t}if("throw"===r)throw n;if(i)throw o;return e(o),n}},function(t,r,n){var e=n(1)("iterator"),o=!1;try{var i=0,u={next:function(){return{done:!!i++}},return:function(){o=!0}};u[e]=function(){return this},Array.from(u,(function(){throw 2}))}catch(t){}t.exports=function(t,r){if(!r&&!o)return!1;var n=!1;try{var i={};i[e]=function(){return{next:function(){return{done:n=!0}}}},t(i)}catch(t){}return n}},function(t,r,n){var e=n(0);t.exports=e},,function(t,r,n){var e=n(8),o=n(98),i=n(14),u=n(41),c=n(99),f=n(78),a=n(100),s=function(t,r){this.stopped=t,this.result=r};t.exports=function(t,r,n){var p,l,v,y,d,h,g,b=n&&n.that,x=!(!n||!n.AS_ENTRIES),m=!(!n||!n.IS_ITERATOR),O=!(!n||!n.INTERRUPTED),S=u(r,b,1+x+O),w=function(t){return p&&a(p,"normal",t),new s(!0,t)},E=function(t){return x?(e(t),O?S(t[0],t[1],w):S(t[0],t[1])):O?S(t,w):S(t)};if(m)p=t;else{if("function"!=typeof(l=f(t)))throw TypeError("Target is not iterable");if(o(l)){for(v=0,y=i(t.length);y>v;v++)if((d=E(t[v]))&&d instanceof s)return d;return new s(!1)}p=c(t,l)}for(h=p.next;!(g=h.call(p)).done;){try{d=E(g.value)}catch(t){a(p,"throw",t)}if("object"==typeof d&&d&&d instanceof s)return d}return new s(!1)}},function(t,r){t.exports=function(t,r,n){if(!(t instanceof r))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},function(t,r,n){var e=n(3),o=n(2),i=n(10),u=n(18).f,c=n(7),f=o((function(){u(1)}));e({target:"Object",stat:!0,forced:!c||f,sham:!c},{getOwnPropertyDescriptor:function(t,r){return u(i(t),r)}})},function(t,r,n){var e=n(3),o=n(16),i=n(4),u=n(5),c=n(6).f,f=n(30),a=n(90),s=n(29),p=n(129),l=!1,v=s("meta"),y=0,d=Object.isExtensible||function(){return!0},h=function(t){c(t,v,{value:{objectID:"O"+y++,weakData:{}}})},g=t.exports={enable:function(){g.enable=function(){},l=!0;var t=f.f,r=[].splice,n={};n[v]=1,t(n).length&&(f.f=function(n){for(var e=t(n),o=0,i=e.length;o<i;o++)if(e[o]===v){r.call(e,o,1);break}return e},e({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:a.f}))},fastKey:function(t,r){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!u(t,v)){if(!d(t))return"F";if(!r)return"E";h(t)}return t[v].objectID},getWeakData:function(t,r){if(!u(t,v)){if(!d(t))return!0;if(!r)return!1;h(t)}return t[v].weakData},onFreeze:function(t){return p&&l&&d(t)&&!u(t,v)&&h(t),t}};o[v]=!0},,,,,function(t,r,n){var e=n(4),o=n(64);t.exports=function(t,r,n){var i,u;return o&&"function"==typeof(i=r.constructor)&&i!==n&&e(u=i.prototype)&&u!==n.prototype&&o(t,u),t}},,,,,,,,function(t,r,n){"use strict";var e=n(3),o=n(0),i=n(60),u=n(13),c=n(107),f=n(104),a=n(105),s=n(4),p=n(2),l=n(101),v=n(39),y=n(112);t.exports=function(t,r,n){var d=-1!==t.indexOf("Map"),h=-1!==t.indexOf("Weak"),g=d?"set":"add",b=o[t],x=b&&b.prototype,m=b,O={},S=function(t){var r=x[t];u(x,t,"add"==t?function(t){return r.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(h&&!s(t))&&r.call(this,0===t?0:t)}:"get"==t?function(t){return h&&!s(t)?void 0:r.call(this,0===t?0:t)}:"has"==t?function(t){return!(h&&!s(t))&&r.call(this,0===t?0:t)}:function(t,n){return r.call(this,0===t?0:t,n),this})};if(i(t,"function"!=typeof b||!(h||x.forEach&&!p((function(){(new b).entries().next()})))))m=n.getConstructor(r,t,d,g),c.enable();else if(i(t,!0)){var w=new m,E=w[g](h?{}:-0,1)!=w,j=p((function(){w.has(1)})),T=l((function(t){new b(t)})),P=!h&&p((function(){for(var t=new b,r=5;r--;)t[g](r,r);return!t.has(-0)}));T||((m=r((function(r,n){a(r,m,t);var e=y(new b,r,m);return null!=n&&f(n,e[g],{that:e,AS_ENTRIES:d}),e}))).prototype=x,x.constructor=m),(j||P)&&(S("delete"),S("has"),d&&S("get")),(P||E)&&S(g),h&&x.clear&&delete x.clear}return O[t]=m,e({global:!0,forced:m!=b},O),v(m,t),h||n.setStrong(m,t,d),m}},function(t,r,n){"use strict";var e=n(6).f,o=n(20),i=n(122),u=n(41),c=n(105),f=n(104),a=n(55),s=n(123),p=n(7),l=n(107).fastKey,v=n(17),y=v.set,d=v.getterFor;t.exports={getConstructor:function(t,r,n,a){var s=t((function(t,e){c(t,s,r),y(t,{type:r,index:o(null),first:void 0,last:void 0,size:0}),p||(t.size=0),null!=e&&f(e,t[a],{that:t,AS_ENTRIES:n})})),v=d(r),h=function(t,r,n){var e,o,i=v(t),u=g(t,r);return u?u.value=n:(i.last=u={index:o=l(r,!0),key:r,value:n,previous:e=i.last,next:void 0,removed:!1},i.first||(i.first=u),e&&(e.next=u),p?i.size++:t.size++,"F"!==o&&(i.index[o]=u)),t},g=function(t,r){var n,e=v(t),o=l(r);if("F"!==o)return e.index[o];for(n=e.first;n;n=n.next)if(n.key==r)return n};return i(s.prototype,{clear:function(){for(var t=v(this),r=t.index,n=t.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete r[n.index],n=n.next;t.first=t.last=void 0,p?t.size=0:this.size=0},delete:function(t){var r=v(this),n=g(this,t);if(n){var e=n.next,o=n.previous;delete r.index[n.index],n.removed=!0,o&&(o.next=e),e&&(e.previous=o),r.first==n&&(r.first=e),r.last==n&&(r.last=o),p?r.size--:this.size--}return!!n},forEach:function(t){for(var r,n=v(this),e=u(t,arguments.length>1?arguments[1]:void 0,3);r=r?r.next:n.first;)for(e(r.value,r.key,this);r&&r.removed;)r=r.previous},has:function(t){return!!g(this,t)}}),i(s.prototype,n?{get:function(t){var r=g(this,t);return r&&r.value},set:function(t,r){return h(this,0===t?0:t,r)}}:{add:function(t){return h(this,t=0===t?0:t,t)}}),p&&e(s.prototype,"size",{get:function(){return v(this).size}}),s},setStrong:function(t,r,n){var e=r+" Iterator",o=d(r),i=d(e);a(t,r,(function(t,r){y(this,{type:e,target:t,state:o(t),kind:r,last:void 0})}),(function(){for(var t=i(this),r=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==r?{value:n.key,done:!1}:"values"==r?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),s(r)}}},function(t,r,n){var e=n(13);t.exports=function(t,r,n){for(var o in r)e(t,o,r[o],n);return t}},function(t,r,n){"use strict";var e=n(12),o=n(6),i=n(1),u=n(7),c=i("species");t.exports=function(t){var r=e(t),n=o.f;u&&r&&!r[c]&&n(r,c,{configurable:!0,get:function(){return this}})}},,,,,function(t,r,n){"use strict";var e=n(120),o=n(121);t.exports=e("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),o)},function(t,r,n){var e=n(2);t.exports=!e((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(t,r,n){var e=n(3),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(3),o=n(40).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(3),o=n(7),i=n(73),u=n(10),c=n(18),f=n(56);e({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(t){for(var r,n,e=u(t),o=c.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(3),o=n(7);e({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:n(83)})},,function(t,r,n){"use strict";var e=n(3),o=n(68).indexOf,i=n(66),u=[].indexOf,c=!!u&&1/[1].indexOf(1,-0)<0,f=i("indexOf");e({target:"Array",proto:!0,forced:c||!f},{indexOf:function(t){return c?u.apply(this,arguments)||0:o(this,t,arguments.length>1?arguments[1]:void 0)}})},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,r,n){"use strict";n.r(r),n.d(r,"toTurboData",(function(){return f})),n.d(r,"toLogicflowData",(function(){return a})),n.d(r,"TurboAdapter",(function(){return s}));var e;n(50),n(128),n(69),n(70),n(77),n(91),n(92),n(130),n(137),n(79),n(71),n(132),n(106),n(134),n(135);function o(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 i(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?o(Object(n),!0).forEach((function(r){u(t,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(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 c(t){switch(t){case"bpmn:sequenceFlow":return e.SEQUENCE_FLOW;case"bpmn:startEvent":return e.START_EVENT;case"bpmn:endEvent":return e.END_EVENT;case"bpmn:userTask":return e.USER_TASK;case"bpmn:exclusiveGateway":return e.EXCLUSIVE_GATEWAY;default:return t}}function f(t){var r=new Map,n={flowElementList:[]};return t.nodes.forEach((function(t){var e=function(t){var r=t.id,n=t.type,e=t.x,o=t.y,u=t.text,f=void 0===u?"":u,a=t.properties;return{incoming:[],outgoing:[],dockers:[],type:c(t.type),properties:i(i({},a),{},{name:f&&f.value||"",x:e,y:o,text:f,logicFlowType:n}),key:r}}(t);n.flowElementList.push(e),r.set(t.id,e)})),t.edges.forEach((function(t){var e=function(t){var r=t.id,n=t.type,e=t.sourceNodeId,o=t.targetNodeId,u=t.startPoint,f=t.endPoint,a=t.pointsList,s=t.text,p=void 0===s?"":s,l=t.properties;return{incoming:[e],outgoing:[o],type:c(n),dockers:[],properties:i(i({},l),{},{name:p&&p.value||"",text:p,startPoint:u,endPoint:f,pointsList:a,logicFlowType:n}),key:r}}(t);r.get(t.sourceNodeId).outgoing.push(e.key),r.get(t.targetNodeId).incoming.push(e.key),n.flowElementList.push(e)})),n}function a(t){var r={nodes:[],edges:[]},n=t.flowElementList;return n&&n.length>0&&n.forEach((function(t){if(t.type===e.SEQUENCE_FLOW){var n=function(t){var r=t.incoming,n=t.outgoing,e=t.properties,o=t.key,i=e.text,u=e.startPoint,c=e.endPoint,f=e.pointsList,a={id:o,type:e.logicFlowType,sourceNodeId:r[0],targetNodeId:n[0],text:i,startPoint:u,endPoint:c,pointsList:f,properties:{}},s=["startPoint","endPoint","pointsList","text","logicFlowType"];return Object.keys(t.properties).forEach((function(r){-1===s.indexOf(r)&&(a.properties[r]=t.properties[r])})),a}(t);r.edges.push(n)}else{var o=function(t){var r=t.properties,n=t.key,e=r.x,o=r.y,i=r.text,u={id:n,type:r.logicFlowType,x:e,y:o,text:i,properties:{}},c=["x","y","text","logicFlowType"];return Object.keys(t.properties).forEach((function(r){-1===c.indexOf(r)&&(u.properties[r]=t.properties[r])})),u}(t);r.nodes.push(o)}})),r}!function(t){t[t.SEQUENCE_FLOW=1]="SEQUENCE_FLOW",t[t.START_EVENT=2]="START_EVENT",t[t.END_EVENT=3]="END_EVENT",t[t.USER_TASK=4]="USER_TASK",t[t.EXCLUSIVE_GATEWAY=6]="EXCLUSIVE_GATEWAY"}(e||(e={}));var s={pluginName:"TurboAdapter",install:function(t){t.adapterIn=this.adapterIn,t.adapterOut=this.adapterOut},shapeConfigMap:new Map,setCustomShape:function(t,r){this.shapeConfigMap.set(t,r)},adapterOut:function(t){if(t)return f(t)},adapterIn:function(t){if(t)return a(t)}};r.default=s}])}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@logicflow/extension",
3
- "version": "0.7.10",
3
+ "version": "0.7.13-alpha.1",
4
4
  "description": "LogicFlow extension",
5
5
  "main": "cjs/index.js",
6
6
  "module": "es/index.js",
@@ -32,7 +32,7 @@
32
32
  "readme.md"
33
33
  ],
34
34
  "dependencies": {
35
- "@logicflow/core": "^0.7.10",
35
+ "@logicflow/core": "^0.7.13-alpha.1",
36
36
  "ids": "^1.0.0",
37
37
  "preact": "^10.4.8"
38
38
  },
@@ -84,5 +84,5 @@
84
84
  "webpack-cli": "^3.3.11",
85
85
  "webpack-dev-server": "^3.10.3"
86
86
  },
87
- "gitHead": "1bf496671aaff600bab516ad35f82ddde44e8d25"
87
+ "gitHead": "39cb5d0f216a7bd00eacb09712347df8c3795f7b"
88
88
  }
@@ -11,27 +11,24 @@ declare class StartEventView extends CircleNode {
11
11
  width: number;
12
12
  height: number;
13
13
  fill: string;
14
- fillOpacity: number;
15
- strokeWidth: number;
14
+ fillOpacity?: number;
15
+ strokeWidth?: number;
16
16
  stroke: string;
17
- strokeOpacity: number;
18
- opacity: number;
19
- outlineColor: string;
17
+ strokeOpacity?: number;
18
+ opacity?: number;
19
+ outlineColor?: string;
20
20
  id: string;
21
- properties: {
22
- [x: string]: any;
23
- };
21
+ properties: Record<string, any>;
24
22
  type: string;
25
23
  x: number;
26
24
  y: number;
27
25
  isSelected: boolean;
28
26
  isHovered: boolean;
29
27
  text: {
30
- value: string;
28
+ [key: string]: any;
31
29
  x: number;
32
30
  y: number;
33
- draggable: boolean;
34
- editable: boolean;
31
+ value: string;
35
32
  };
36
33
  };
37
34
  }
@@ -12,6 +12,7 @@ declare class DndPanel {
12
12
  shapeList: ShapeItem[];
13
13
  panelEl: HTMLDivElement;
14
14
  static pluginName: string;
15
+ domContainer: HTMLElement;
15
16
  constructor({ lf }: {
16
17
  lf: any;
17
18
  });
package/types/index.d.ts CHANGED
@@ -14,3 +14,4 @@ export * from './materials/group';
14
14
  export * from './NodeResize';
15
15
  export * from './tools/flow-path';
16
16
  export * from './tools/auto-layout';
17
+ export * from './materials/node-selection';
@@ -29,12 +29,12 @@ declare class GroupNode extends RectNode {
29
29
  width: number;
30
30
  height: number;
31
31
  fill: string;
32
- fillOpacity: number;
33
- strokeWidth: number;
32
+ fillOpacity?: number;
33
+ strokeWidth?: number;
34
34
  stroke: string;
35
- strokeOpacity: number;
36
- opacity: number;
37
- outlineColor: string;
35
+ strokeOpacity?: number;
36
+ opacity?: number;
37
+ outlineColor?: string;
38
38
  };
39
39
  }
40
40
  declare const _default: {
@@ -0,0 +1,33 @@
1
+ declare class NodeSelection {
2
+ static pluginName: string;
3
+ lf: any;
4
+ selectNodes: any[];
5
+ currentClickNode: any;
6
+ d: number;
7
+ constructor({ lf }: {
8
+ lf: any;
9
+ });
10
+ /**
11
+ * 获取所选node的id数组
12
+ */
13
+ get selectNodesIds(): any[];
14
+ /**
15
+ * 新建node-selection节点
16
+ */
17
+ addNodeSelection(): void;
18
+ /**
19
+ * 删除node-selection节点
20
+ */
21
+ deleteNodeSelection(): void;
22
+ /**
23
+ * 更新node-selection节点
24
+ */
25
+ updateNodeSelection(): void;
26
+ /**
27
+ * 获取所属的node-selection
28
+ */
29
+ getNodeSelection(): any;
30
+ render(lf: any): void;
31
+ }
32
+ export default NodeSelection;
33
+ export { NodeSelection, };
@@ -1,13 +0,0 @@
1
- import { BaseNode, RectNodeModel } from '@logicflow/core';
2
- declare class MarkRootModel extends RectNodeModel {
3
- static extendKey: string;
4
- }
5
- declare class MarkRootView extends BaseNode {
6
- getShape(): string;
7
- }
8
- declare const MarkRoot: {
9
- type: string;
10
- view: typeof MarkRootView;
11
- model: typeof MarkRootModel;
12
- };
13
- export default MarkRoot;
@@ -1,40 +0,0 @@
1
- export declare const ROOT_NODE = "mark:root";
2
- export declare const FAKER_NODE = "faker:root";
3
- declare class MindMap {
4
- static pluginName: string;
5
- lf: any;
6
- constructor({ lf }: {
7
- lf: any;
8
- });
9
- setContextMenu(): void;
10
- private addChild;
11
- private removeNode;
12
- private getGraphTreeData;
13
- private renderTree;
14
- private graphToTree;
15
- /**
16
- * 将树这种数据格式转换为图
17
- */
18
- private treeToGraph;
19
- /**
20
- * 由于树这种数据格式本身是没有坐标的
21
- * 需要使用一些算法来将树转换为有坐标的树
22
- */
23
- layoutTree(tree: any): any;
24
- /**
25
- * 遍历树的每一项,已传入的回调方法重新构建一个新的树
26
- */
27
- dfsTree(tree: any, callback: any): any;
28
- /**
29
- * 将传入的数据转换为logicflow格式的数据
30
- */
31
- adapterIn: (trees: any) => {
32
- nodes: any[];
33
- edges: any[];
34
- };
35
- /**
36
- * 将logicflow格式的数据转换为mindmap需要的数据
37
- */
38
- adapterOut: (graphData: any) => any;
39
- }
40
- export { MindMap, };
@@ -1,17 +0,0 @@
1
- import { RectNode, RectNodeModel } from '@logicflow/core';
2
- declare class MarkContentModel extends RectNodeModel {
3
- static extendKey: string;
4
- constructor(data: any, graphModel: any);
5
- setAttributes(): void;
6
- }
7
- declare class MarkContentView extends RectNode {
8
- static extendKey: string;
9
- getLabelShape(): import("preact").VNode<any>;
10
- getShape(): import("preact").VNode<any>;
11
- }
12
- declare const MarkContent: {
13
- type: string;
14
- view: typeof MarkContentView;
15
- model: typeof MarkContentModel;
16
- };
17
- export default MarkContent;
@@ -1,17 +0,0 @@
1
- import { RectNode, RectNodeModel } from '@logicflow/core';
2
- declare class MarkContentOptionModel extends RectNodeModel {
3
- static extendKey: string;
4
- constructor(data: any, graphModel: any);
5
- setAttributes(): void;
6
- }
7
- declare class MarkContentOptionView extends RectNode {
8
- static extendKey: string;
9
- getLabelShape(): import("preact").VNode<any>;
10
- getShape(): import("preact").VNode<any>;
11
- }
12
- declare const MarkContentOption: {
13
- type: string;
14
- view: typeof MarkContentOptionView;
15
- model: typeof MarkContentOptionModel;
16
- };
17
- export default MarkContentOption;