@logicflow/extension 0.7.13-alpha.0 → 1.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/index.js +0 -1
- package/es/index.d.ts +0 -1
- package/es/index.js +0 -1
- package/lib/AutoLayout.js +1 -1
- package/lib/BpmnAdapter.js +1 -1
- package/lib/BpmnElement.js +1 -1
- package/lib/ContextMenu.js +1 -1
- package/lib/Control.js +1 -1
- package/lib/CurvedEdge.js +1 -1
- package/lib/DndPanel.js +1 -1
- package/lib/FlowPath.js +1 -1
- package/lib/Group.js +1 -1
- package/lib/InsertNodeInPolyline.js +1 -1
- package/lib/Menu.js +1 -1
- package/lib/MiniMap.js +1 -1
- package/lib/NodeResize.js +1 -1
- package/lib/RectLabelNode.js +1 -1
- package/lib/SelectionSelect.js +1 -1
- package/lib/Snapshot.js +1 -1
- package/lib/TurboAdapter.js +1 -1
- package/package.json +3 -3
- package/types/index.d.ts +0 -1
- package/types/materials/node-selection/index.d.ts +0 -4
- package/CHANGELOG.md +0 -842
- package/LICENSE +0 -433
- package/cjs/materials/node-selection/index.js +0 -272
- package/es/materials/node-selection/index.d.ts +0 -33
- package/es/materials/node-selection/index.js +0 -269
- package/lib/NodeSelection.js +0 -10
package/lib/TurboAdapter.js
CHANGED
|
@@ -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=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}])}));
|
|
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}])}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@logicflow/extension",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0-alpha.0",
|
|
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.
|
|
35
|
+
"@logicflow/core": "^1.0.0-alpha.0",
|
|
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": "
|
|
87
|
+
"gitHead": "ab8cc6126e9dfa5c4fb18037538a374d3a0b0521"
|
|
88
88
|
}
|
package/types/index.d.ts
CHANGED